From 02d7401d79e18c98b60dfebf9e99ed446e9dabc3 Mon Sep 17 00:00:00 2001 From: zefau Date: Thu, 12 Sep 2024 21:28:04 +0000 Subject: [PATCH] v3.2.0-rc.1 --- io-package.json | 8 +- lib/jarvis.server.instance.js | 2 +- package-lock.json | 14 +- package.json | 5 +- www/jarvis/index.html | 2 +- www/jarvis/js/app.hash.json | 2 +- .../{index-8e6349ca.js => index-1599f158.js} | 144 +++++++++--------- www/js/app.hash.json | 2 +- 8 files changed, 88 insertions(+), 91 deletions(-) rename www/jarvis/js/{index-8e6349ca.js => index-1599f158.js} (90%) diff --git a/io-package.json b/io-package.json index 2fec7d28..bb972223 100644 --- a/io-package.json +++ b/io-package.json @@ -1,7 +1,7 @@ { "common": { "name": "jarvis", - "version": "3.2.0-beta.75", + "version": "3.2.0-rc.1", "titleLang": { "en": "jarvis - just another remarkable vis", "uk": "jarvis - just another remarkable vis", @@ -332,8 +332,8 @@ } ], "custom": { - "version": "3.2.0-beta.75", - "ts": "1726093786", - "date": "2024-09-11" + "version": "3.2.0-rc.1", + "ts": "1726176480", + "date": "2024-09-12" } } diff --git a/lib/jarvis.server.instance.js b/lib/jarvis.server.instance.js index 7bb5954e..d3710911 100644 --- a/lib/jarvis.server.instance.js +++ b/lib/jarvis.server.instance.js @@ -1 +1 @@ -const{WebSocketServer}=require("ws");const crypto=require("crypto");const fs=require("fs");const ip=require("ip");const os=require("os");const p=require("path");const url=require("node:url");const mimeTypes=require("./mimeTypes.json");const JarvisProxy=require("./jarvis.proxy");module.exports={getCookie(e){if(!e){return null}const t=e.split(";");const s=t.find(e=>e.trim().startsWith("connect.sid="));return s?s.replace("connect.sid=","").trim():null},startProxy(){const r=new JarvisProxy(this.adapter);r.init();r.on("connection",(e,t)=>{const s=this.connectClient(e,t);r.mapClient(t.remoteId,s.id);this.listenClient(s)});r.on("message",(e,t)=>{this.clients[e]&&this.clients[e]._class.message(t)});r.on("close",e=>{this.clients[e]&&this.clients[e]._class.disconnect()})},startServer(){this.server={ip:ip.address(),host:os.hostname()};this.adapter.log.debug("Connection: ioBroker host detected with "+this.server.host+" (IP: "+this.server.ip+").");const o={};const e=(e,r)=>{let i=decodeURI(e.url);if(e.url.indexOf("/jarvis-socket")!==-1){r.writeHead(301);r.end();return}i=!i.startsWith("/jarvis")&&!i.startsWith("/user")?"/jarvis"+i:i;i=i==="/jarvis"||i==="/jarvis/"?"/jarvis/index.html":i;if(o[i]!==undefined){r.writeHead(200,{"Cache-Control":"public, max-age=30758400000","Content-Type":o[i].mimeType});r.end(o[i].buffer)}else{const t=p.normalize(process.cwd()+"/www"+i);const s=t.substr(t.lastIndexOf("/")+1);const n=t.substr(t.lastIndexOf("."));fs.readFile(t,(e,t)=>{const s=mimeTypes[n]||null;if(e||!s){this.adapter.log.warn(i+": "+(e&&e.message||e||"No Mime Type"));r.writeHead(404);r.end(e&&e.message||e||"No Mime Type")}else{if(!i.startsWith("/user")){o[i]={buffer:t,mimeType:s}}r.writeHead(200,{"Cache-Control":"public, max-age=30758400000","Content-Type":s});r.end(t)}})}};if(this.options.socketSecure&&this.options.certificates!==null){const r={...this.options.certificates,allowHTTP1:true};server=require("http2").createSecureServer(r,e);this.adapter.log.debug("Connection: Using secure HTTPS-Server")}else{server=require("http").createServer(e);this.adapter.log.debug("Connection: Using non-secure HTTP-Server")}let t=this.adapter.config.hostWhitelist?this.adapter.config.hostWhitelist.replace(/, /g,",").split(","):[];t=t.concat(["localhost","127.0.0.1",this.server.ip,this.server.host]);this.adapter.log.debug("Connection: Using options: "+JSON.stringify(this.options.connection||{}));this.wss=null;try{this.wss=new WebSocketServer({server:server})}catch(e){this.adapter.log.error(e&&e.message||e)}this.wss.on("error",e=>{this.adapter.log.error("WebSocket Error: "+(e&&e.message)||e);this.adapter.log.debug(e)});this.wss.on("connection",(e,t)=>{const r={clientId:null,instanceId:null,userAgent:null};if(t.url){const i=url.parse(decodeURI(t.url));i&&i.query&&i.query.split("&").forEach(e=>{const[t,s]=e.split("=");r[t]=decodeURIComponent(s)})}e.id=r.instanceId||t.headers["sec-websocket-key"]||crypto.randomUUID();e.lastSeen=Date.now();const s={clientId:r.clientId,instanceId:r.instanceId,userAgent:r.userAgent||t.headers["user-agent"],remoteAddress:t.connection.remoteAddress};try{const n=this.connectClient(e,s);n.cookie=this.getCookie(t.headers.cookie);this.listenClient(n);e.on("pong",()=>{e.lastSeen=Date.now()})}catch(e){this.adapter.log.warn(e.message)}});server.listen(this.options.port,()=>{this.adapter.log.info("Connection: WebSocket opened on port "+server.address().port+(this.options.certificates!==null?" using https":" using http")+"...")});const s=setInterval(()=>{this.wss.clients.forEach(e=>{const t=Date.now()-60*1e3;if(e.lastSeen{this.adapter.log.debug("Connection: closed.")});return this}}; \ No newline at end of file +const{WebSocketServer}=require("ws");const crypto=require("crypto");const fs=require("fs");const ip=require("ip");const os=require("os");const p=require("path");const url=require("node:url");const mimeTypes=require("./mimeTypes.json");const JarvisProxy=require("./jarvis.proxy");module.exports={getCookie(e){if(!e){return null}const t=e.split(";");const s=t.find(e=>e.trim().startsWith("connect.sid="));return s?s.replace("connect.sid=","").trim():null},startProxy(){const r=new JarvisProxy(this.adapter);r.init();r.on("connection",(e,t)=>{const s=this.connectClient(e,t);r.mapClient(t.remoteId,s.id);this.listenClient(s)});r.on("message",(e,t)=>{this.clients[e]&&this.clients[e]._class.message(t)});r.on("close",e=>{this.clients[e]&&this.clients[e]._class.disconnect()})},startServer(){this.server={ip:ip.address(),host:os.hostname()};this.adapter.log.debug("Connection: ioBroker host detected with "+this.server.host+" (IP: "+this.server.ip+").");const o={};const e=(e,r)=>{let n=decodeURI(e.url);if(e.url.indexOf("/jarvis-socket")!==-1){r.writeHead(301);r.end();return}n=!n.startsWith("/jarvis")&&!n.startsWith("/user")?"/jarvis"+n:n;n=n==="/jarvis"||n==="/jarvis/"?"/jarvis/index.html":n;if(o[n]!==undefined){r.writeHead(200,{"Cache-Control":"public, max-age=30758400000","Content-Type":o[n].mimeType});r.end(o[n].buffer)}else{const t=p.normalize(process.cwd()+"/www"+n);const s=t.substr(t.lastIndexOf("/")+1);const i=t.substr(t.lastIndexOf("."));fs.readFile(t,(e,t)=>{const s=mimeTypes[i]||null;if(e||!s){this.adapter.log.warn(n+": "+(e&&e.message||e||"No Mime Type"));r.writeHead(404);r.end(e&&e.message||e||"No Mime Type")}else{if(!n.startsWith("/user")){o[n]={buffer:t,mimeType:s};r.writeHead(200,{"Cache-Control":"public, max-age=30758400000","Content-Type":s})}else{r.writeHead(200,{"Cache-Control":"public, no-cache","Content-Type":s})}r.end(t)}})}};if(this.options.socketSecure&&this.options.certificates!==null){const r={...this.options.certificates,allowHTTP1:true};server=require("http2").createSecureServer(r,e);this.adapter.log.debug("Connection: Using secure HTTPS-Server")}else{server=require("http").createServer(e);this.adapter.log.debug("Connection: Using non-secure HTTP-Server")}let t=this.adapter.config.hostWhitelist?this.adapter.config.hostWhitelist.replace(/, /g,",").split(","):[];t=t.concat(["localhost","127.0.0.1",this.server.ip,this.server.host]);this.adapter.log.debug("Connection: Using options: "+JSON.stringify(this.options.connection||{}));this.wss=null;try{this.wss=new WebSocketServer({server:server})}catch(e){this.adapter.log.error(e&&e.message||e)}this.wss.on("error",e=>{this.adapter.log.error("WebSocket Error: "+(e&&e.message)||e);this.adapter.log.debug(e)});this.wss.on("connection",(e,t)=>{const r={clientId:null,instanceId:null,userAgent:null};if(t.url){const n=url.parse(decodeURI(t.url));n&&n.query&&n.query.split("&").forEach(e=>{const[t,s]=e.split("=");r[t]=decodeURIComponent(s)})}e.id=r.instanceId||t.headers["sec-websocket-key"]||crypto.randomUUID();e.lastSeen=Date.now();const s={clientId:r.clientId,instanceId:r.instanceId,userAgent:r.userAgent||t.headers["user-agent"],remoteAddress:t.connection.remoteAddress};try{const i=this.connectClient(e,s);i.cookie=this.getCookie(t.headers.cookie);this.listenClient(i);e.on("pong",()=>{e.lastSeen=Date.now()})}catch(e){this.adapter.log.warn(e.message)}});server.listen(this.options.port,()=>{this.adapter.log.info("Connection: WebSocket opened on port "+server.address().port+(this.options.certificates!==null?" using https":" using http")+"...")});const s=setInterval(()=>{this.wss.clients.forEach(e=>{const t=Date.now()-60*1e3;if(e.lastSeen{this.adapter.log.debug("Connection: closed.")});return this}}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5597bb2e..58023ff8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,11 +29,10 @@ "mocha": "^10.0.0" }, "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9.3.1", "yarn": ">= 1.21.1" - }, - "version": "3.2.0-beta.75" + } }, "node_modules/@electron/asar": { "version": "3.2.13", @@ -2251,9 +2250,9 @@ } }, "node_modules/path-to-regexp": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", - "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true, "license": "MIT" }, @@ -3049,6 +3048,5 @@ "url": "https://github.com/sponsors/sindresorhus" } } - }, - "version": "3.2.0-beta.75" + } } diff --git a/package.json b/package.json index b96e59f2..878ddba8 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "lib": "lib" }, "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9.3.1", "yarn": ">= 1.21.1" }, @@ -77,6 +77,5 @@ "test:package": "mocha test/package --exit", "test:unit": "mocha test/unit --exit", "translate": "gulp translateAndUpdateWordsJS" - }, - "version": "3.2.0-beta.75" + } } diff --git a/www/jarvis/index.html b/www/jarvis/index.html index 0b9fc575..1ebeb777 100644 --- a/www/jarvis/index.html +++ b/www/jarvis/index.html @@ -5,6 +5,6 @@ }, configurable: true }); - } + }
\ No newline at end of file diff --git a/www/jarvis/js/app.hash.json b/www/jarvis/js/app.hash.json index 04affe6a..6a101a59 100644 --- a/www/jarvis/js/app.hash.json +++ b/www/jarvis/js/app.hash.json @@ -1 +1 @@ -{"index-8e6349ca.js":"RGROaVP1bbv/Vw4DzfjniJjyWugSsThJRZPlUo35IhabPR1GjCpIBZ6ZK9Ags53xfjyFCib58dSyHZjUbJEqUhgnO1FjnHbqkls10cqCXNHzCFu2bluPp6EkFVqBfPW087fpYBnHakEfkSIMj1XJZqlfebAKU49GuC+DYTHADpUldbfnUM1Q38dlEidw0TblzrYs5YIEbdOsBKUqlJs6mk8kcBjpxnOyE3cgFM4oRbk2WPJfc9mSelRxbCQ5cz43OE2cV1zNB8hW/AOckcAhqFQFyo4A0xGxZd+MZydADR8MIxDB5EyrQwHiibxiJ7eHn9eTTv9jx2Mwdy3FtYZr+g==","../../jarvis.min.js":"ZVl18thO/3iiI+rtLg6awXBBxeU+zbv0I4vnUddCDbJVlABfN8c/Cxl52ajXU7uv9/dqgh7mJKtnFQq/DW2j75hgrtILhbeQZzR4nRXLRjimsycg8wFY7pasGf8ip9pyT5tDGVmS6ng7MqHf42tc+HzGQQ+QcHhv6KtpPO2Hc0fztYRVEVDKxWvhsMJwvQwHkBvSZsa3lYBFdsle0sD9oPVcNX8xeKmNWx486dACEO7LEPMod08qOhBrDVyInLPbUE86Dk40/1nI1a+Ph7d5eTzOa+PEn6Ee3Qbz+Q/Y1foMbpJ959pXMOR+awplL124GWGjdmCbyPcXTxyibBMIpQ==","../../lib/jarvis.client.js":"F1805BGilRxIjgY/y6wHzlXP9bsVU5FvyzyssItTo5DWTCuw49qhDy5Bv5eZ0+ICCRRxtD+EFJ4ds6svdhKjdw8s5m/pp0DFMQXNjPpY3nY5IqTILeK6BBESarEUujyqcpDUxKAPwJ5iiAW715K3+oMrPgx8dUAwFl62edrkJviwkTZrsAsqKAnuh+rsh2Hwf2s65xZCqxk0IpMxNITByAhPwEC9m39aqQYCzQ2jbJG6ZXx9xJDf7mWFUblK4r1+ZEGzVFiwLAJ6O+y5os5ZG+/7s9ljMgJBfP4PfkFHt+gL9bJNSDyI5q1UDEQOZnYPINaDQZx8cuIynBwp3gDhSw==","../../lib/jarvis.converter.js":"QkwbS3EZUfsXbKOLWDcOgugaFa+56y4QZ0Q82z4RtNw25QCS80FRJ4Yxe7FqMFhYEdEiy1988U38O8gDJDn6IWdPpcYVQ2GmF0HuYBnGJecQBJT7tlKdbSiVxzghOHV1S+KPPodycBihTu0cA1o6/u7scORaY6v0X4chxFUV/q0DQwahSvBTDMW1ZQ/Pu5O3it9LudB35E24oeCZqF2uLeC2Z8mB6YZkRR784arEZbWrT8JFOweLP1ZgIKmbbVdG4PFlCpJ03ngBu4+lYZmfqdf/3uMNREcanpQL4wiaP4jC6iSYRyKSsmYnaulaRrRoTo6P7V+xax8Ez1GILaSR7A==","../../lib/jarvis.converter.v3.js":"Zf37uuVygVWBKyXZ99zmvd9uaMYvV6PsXfZqrphyEj6zXxRLZ9sZECHj5jtW4bPuC66Oxb43tors+VXvZTGFy03mx9Bh1nWI+KH4zBWNdtxbB/hJ2/OIFY7vkfoE7UabQk8op7ZD6JCEInCe13efIBp1mH3kaR3r++z1/SQZjFm79MPhkW212jLdnIMkW719PnA8BpO/7H8WdSDY0UWOdHrfF9vrys/PUePelewZw3iZpgyASOPwnDOeG1iEY5qd6Wdb6S3ZASVpgPfNyDw4r/Y0/K0NyD+zmS2lMnNwM+QJWU5QzKhLbApnbDxOOr08ARzsJeCbBafAAPKMQRGaew==","../../lib/jarvis.proxy.js":"ZBpYe74KGYx3fL9RteU71kCCaa1x+4wUCGGgNh73JawtLuGYrualNfqfZ5K+LnaChjCsrz7Pga8BD/2hoU1bNVh80jswKcKHrR+omDq77VueRyGGfVeVReEe4DpmxeACumS7Nj+3whMNkFb3JF3kmkwFQNsIFWPcMxN2Jzya1RNAPordZ0N054jq7bVeUsB/qTExYyiYYCB1tUkLYpV1PFLGsX2tp25qnQx1HPaQV3ef4bHKDFggf6oAJhQYfgdcRPQdobqZZcIqVy2GLR9HHbvJsgI4D6hbOZFXKJLReyzMl2H6pfBIDOLHdJLp8g7Ifbk8qNMQ9Lcdm2zLkiJD1w==","../../lib/jarvis.server.adapters.js":"K93+5CubSr5+tty/gxDWaiKotgRSFdkKWqnRb9U5iiZIpFSh0ez+3vurSrX+R9EYIN70ilcQ0sO25rut1uxuJ39B+2OYKbTnnc3NtEXGpkY73n0TxjvjiH9IvZivNwUtBIUYhrSltnbSdc/pTMG2cjdGzoNryNis+8c8+WLhUX5eA0GUXYHbaVAhDRb7qCJme3QybLA5EBrfwbYpMcDO0iK/MfMFONIoBpb37FWSquZRge/39mswwmgg1K0r7gX91aLiPvZsp6S2E2H1QwNS6IhQtUzj4x6wBoRM/OGZTO5v/fjNc5Eug/0t/wDm5OF1UqGaXOjpTh9tFLZc+y4uZA==","../../lib/jarvis.server.backup.js":"GJmjyZZU3pq6Uxpu49IssgG1mSpVo8rME7U9CDW7NWXFH+YAP9K7dHgS/DVNHqGXT8f7OaK93IiRS/vHmZ5YZIo4PWU6clp+nGmkGU4s5LwlIZBv3Bg3AjmRM0BLFnBAwmRWYJ7B30azb21nN7KTQHDU3Ctdt8p5iKT7ie3RFy7+W3zJdlcmVQiR4GAW/CX4SeICisWPO9tT93ck9E2ixlaipI6XFH4/Lb35HsNLrtPBFy6j69kNppTFqBTbBx2ioVC4G8c/38Bp0NtuqFxYND1gbf1ihe/8MQSLHxDasYA5sjoYQgGAJfdXFIBx99S4kKtUjr9w/2gZ4ltdlA8PFQ==","../../lib/jarvis.server.calendars.js":"VIh9/MRdQuRpqe2hYSWU/DrJ19RXfbYB08EHoJNUO9I42s2/YQLOF0xXTz8BBfrxo32Kh9qoqfIBKGK3P/jGnY6UQly5ZpJ5btJRDv8Q/ILpd1iVw5pKz43fhYS59iiD/MsH5PpTIjFxzqQusgW4XtXnbXEAsMc9LGOIz7+yrSMG/PHcD3BSzjVPa58TPnYFChlMVvWRQavKfa463RKz9BLp0wruNJkaXhHbgsqttfBu9lh4kRhz1aHKA8sAiJeifb5gHoJcTU0b4q4Q95MNAr/i4aOLoqtvl7MXdTtUAc4NoWIERpJ9loaYSXMXGxVzRdIelTGfYlNk3qukb9IDeQ==","../../lib/jarvis.server.client.js":"aWemIe+TqomGwC52dq3xhJuv+hA9H+3oGNBi555BiDsjcA6X77CahO8fPF0+hJB5jpnkcZ+ys58HOW+EXAccn/xsIXdVD3sJgpO0IcB/bnmf1FwiCQcFkQsIRXLxT0VL6s4NlOfDDOJ3qpSiUhDsvQLFVJAHMstQX6BTPhaQ38xO2Esp0AJPHRry/LY30Kie897tpEb403HXadZKv0mb/aHdEIlO62vYxWYhc/cG8aMKnDMm8ilRy1Hhw65BO2SSwa1vt0WzhKvHmxIVPLo3umIy3mGsH1y2Ak4dkXEJOs5YLNVWCSAT2fI5ChXJg7n1WCyFH0gQUXM6UQuLat0WdA==","../../lib/jarvis.server.cloud.js":"S4wlfqwl72EWiy4BftS5D0CxB7f6N6+VgqxqjF/NaqHfRgG9Te5Kd1rtuwWxKgI0KbBrW4RwgMV8ClafPZFUCrebKjKpgulTGc5SuTm3XPO84kV+Qmr29kqh/0/43obEti4tvclqZSGv/WKY0AkbXnR1TiPahngx3IDfwobHRJyaqRVjX8hwSYeLRwqRMK/n8uYdUZT/ouG+9R5LBx0lgvLFC6xjZyLmX0DrHBn1q/RQGv/74U92Upu/ekRjL8MztokkmxqgIgkYz35Vcxh8SnRbQ+0bxsVlM6CDUbOMAyL47b515SXfpaKbOvvPCeZWKfOqLeNJFZyQfHVcNBWEVA==","../../lib/jarvis.server.getter.js":"TdMEzWkr2H/XQH9gQT+fdYmYlc4rTi03NVC+dcYB5Kw5zkHoo0pFPFe/MEqKGHl53PFVCHfDGDT2Oy7P38F0MMgD+N+GokUePWwWVeBQ1vaYEYwY9UJ879KYGAxpJcILJA5N3y7WeBl24TEuY6MbBcl3BkoNU8Tm4oZJXbG/tEGwdL3svwPVVVO8uD321XXbvGbNL3BcUwqHsPrazZe6hpQP+WctZuUjdJS68FzB8eBcpdHydWuoviWO1ybQTkwXtc/c72MQ8904iZxXcplcOBwW3ubSJfPzQFph04hfZdWGqK1HmFJh4usxSUslvzRrrytvlfjS13sZ+eHfj75LMg==","../../lib/jarvis.server.history.js":"KYz8gT2kXHPj+yzpyHzmzQVC99uuVg+Tqo9fohGhsz/wgW2u1Hlm6pclxGxM4PJzvUvSLybDm4RKkAz4hzcg8RewAP9HSb7GvQduA3T4Qx82d4VG2pe7zmEnCOHFg+EDoyEItyWIZat2sXizwr4Lhd7vN4WslZsuKhujl00/YEqcflBBLPFGyPC5cEAK/Y1GGh5tmMRwFKug1M5EmQqUsU1vfHZ8ERhEl/tblnZwEouFvoFKJn1039XEG/JgP7scOZ5P0ckuqAKqdwy0/Gv0SoBk1U+dQeZqWn4qS4OG7EcTgiTcT3rrVFDoZyebT4nebTluxgywLytp0hkkgHuX6g==","../../lib/jarvis.server.instance.js":"WA8Z6LylC46+HW5Jh1A8i/MM4GLl4X4WotQph/6+4aqD9OKXmiUKNolx4YSJVIi9endChLBHxBZZC0CC//VoK8IeQb5DlGWnekRlufX9BmmT1sruOX44g589Y70KNhPbEk/nlulfk+X3Kixt7u5dZ6G41LjASaWqBHgh5OhuimEwwulzv7fOxW6yJwDh2cw2P/sS1HMwy8SRx13T6Sd3C9oLSBLfrgqJBRJ0559SVuKTbervc+drSbyyKTZ7l1CL47GDBOCDTHsyGGWMtdqh7D32wWd9Fvn0X9vp0eoo+Eg33CeGfwq/c8DNU4LD9ZpeGNSqtNZp13AnslenpyfAvA==","../../lib/jarvis.server.js":"TNGK8a7uTN7f68ymNPLuLAnMfK47nzkqbMQaXz3bVVMGML4CzHYBa/JL7ByjhczD/So1ys28zI+vdyGarZXQxYCkS2ATodtBdaubmREKIIQGoToCTdchydXySXNe4G62FIahskUHtoPoxS/m4HzSJ3OFzUu6CuQPcsu4jd6ditF8gLb9/EbtbHFCSJ4eKojPAVV/MV4y56L3XZpzXI7zHmytTVUikpX8elsAEtcBicKw5w0QJ/BHRsN1EQGKR4ifqth+O3cJXZyNP9uQqJMN7RUQAKtjWG7tD93E9Es7N3HP5uUNUBwTwpcsj/Bz98eS+mhovlq4uPe9aCvb/GYOrA==","../../lib/jarvis.server.pro.js":"AoO0KS5S5pbyPi78zvfRHuLe3PTrUcq+GkX2bZDzim9hFAoBcpF6trEjGMr2JiDcY713r6RsAzehjDzZYlXvDjGKdXxcPaIqKwc8ZAObhP7QSXgBDCHQhwklfOVLb/ue9m9SMZd6WSVZnuKfP8gaZrZkdmcByYErkxlQhKaxpxy4pXMb6Jhsib8tNzifJ3xQf2R/8WAzGsMTdCitxLOlRrCBoaQ1/6PiPpCilHqFl5dXrWGKBJZbCVuutoHORJXAb+QEbO+ftb1p7g4F+FgYqnJghUYf9CldfWDByuiTweL09uTIukaXREloqKhdak2YZote5rk+/yxPSaeokcRK2w==","../../lib/jarvis.server.setter.js":"JCXX7Cjq18ZZnHZ0p6VnPE+ENBlvMlTJ1CsSNuR7Rriwf5zLWIj5QPXFLfzym3SVZgledgeUiB09wG5M+R6BU+wL77F02xQlPaIbtW/L4S4d8HaY2qnTm1KiyOMU95RRKBaKFtVn8MxlRpmaa3cgXS7pKh/J+keeqq5iE8elZ4jEfWeYGej9loGz8+oI8ZjxAE4rrgeeO6ESI0id5npzzX2+KTUOEKdWV0jwEdeUHXdn1ohGPf1zVWI0I+1gF3PNIgh/KJj+dqZCIToD8iNVYk3GeNmtJLqx3RgZ8un915ANgzRgQP8qYzZaXVVsXRonK/zOKQtaxXibFltDxRYTVQ==","../../lib/jarvis.server.states.js":"XXbfFTzSkfrfIrrTBXC3MUba5pRE6XpYYIhH2YuwMJyYfDE+GE3179MIHkOqBAiQOxtdBUvshXNGUAEwnpWtetMZsVJTWoJsdt7paNEONB6cvS96Kn1DF3KYw4EcCnNKHROJWl9aDtrZETrkIFhxySuNaoz/mVz9L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6JCEInCe13efIBp1mH3kaR3r++z1/SQZjFm79MPhkW212jLdnIMkW719PnA8BpO/7H8WdSDY0UWOdHrfF9vrys/PUePelewZw3iZpgyASOPwnDOeG1iEY5qd6Wdb6S3ZASVpgPfNyDw4r/Y0/K0NyD+zmS2lMnNwM+QJWU5QzKhLbApnbDxOOr08ARzsJeCbBafAAPKMQRGaew==","../../lib/jarvis.proxy.js":"ZBpYe74KGYx3fL9RteU71kCCaa1x+4wUCGGgNh73JawtLuGYrualNfqfZ5K+LnaChjCsrz7Pga8BD/2hoU1bNVh80jswKcKHrR+omDq77VueRyGGfVeVReEe4DpmxeACumS7Nj+3whMNkFb3JF3kmkwFQNsIFWPcMxN2Jzya1RNAPordZ0N054jq7bVeUsB/qTExYyiYYCB1tUkLYpV1PFLGsX2tp25qnQx1HPaQV3ef4bHKDFggf6oAJhQYfgdcRPQdobqZZcIqVy2GLR9HHbvJsgI4D6hbOZFXKJLReyzMl2H6pfBIDOLHdJLp8g7Ifbk8qNMQ9Lcdm2zLkiJD1w==","../../lib/jarvis.server.adapters.js":"K93+5CubSr5+tty/gxDWaiKotgRSFdkKWqnRb9U5iiZIpFSh0ez+3vurSrX+R9EYIN70ilcQ0sO25rut1uxuJ39B+2OYKbTnnc3NtEXGpkY73n0TxjvjiH9IvZivNwUtBIUYhrSltnbSdc/pTMG2cjdGzoNryNis+8c8+WLhUX5eA0GUXYHbaVAhDRb7qCJme3QybLA5EBrfwbYpMcDO0iK/MfMFONIoBpb37FWSquZRge/39mswwmgg1K0r7gX91aLiPvZsp6S2E2H1QwNS6IhQtUzj4x6wBoRM/OGZTO5v/fjNc5Eug/0t/wDm5OF1UqGaXOjpTh9tFLZc+y4uZA==","../../lib/jarvis.server.backup.js":"GJmjyZZU3pq6Uxpu49IssgG1mSpVo8rME7U9CDW7NWXFH+YAP9K7dHgS/DVNHqGXT8f7OaK93IiRS/vHmZ5YZIo4PWU6clp+nGmkGU4s5LwlIZBv3Bg3AjmRM0BLFnBAwmRWYJ7B30azb21nN7KTQHDU3Ctdt8p5iKT7ie3RFy7+W3zJdlcmVQiR4GAW/CX4SeICisWPO9tT93ck9E2ixlaipI6XFH4/Lb35HsNLrtPBFy6j69kNppTFqBTbBx2ioVC4G8c/38Bp0NtuqFxYND1gbf1ihe/8MQSLHxDasYA5sjoYQgGAJfdXFIBx99S4kKtUjr9w/2gZ4ltdlA8PFQ==","../../lib/jarvis.server.calendars.js":"VIh9/MRdQuRpqe2hYSWU/DrJ19RXfbYB08EHoJNUO9I42s2/YQLOF0xXTz8BBfrxo32Kh9qoqfIBKGK3P/jGnY6UQly5ZpJ5btJRDv8Q/ILpd1iVw5pKz43fhYS59iiD/MsH5PpTIjFxzqQusgW4XtXnbXEAsMc9LGOIz7+yrSMG/PHcD3BSzjVPa58TPnYFChlMVvWRQavKfa463RKz9BLp0wruNJkaXhHbgsqttfBu9lh4kRhz1aHKA8sAiJeifb5gHoJcTU0b4q4Q95MNAr/i4aOLoqtvl7MXdTtUAc4NoWIERpJ9loaYSXMXGxVzRdIelTGfYlNk3qukb9IDeQ==","../../lib/jarvis.server.client.js":"aWemIe+TqomGwC52dq3xhJuv+hA9H+3oGNBi555BiDsjcA6X77CahO8fPF0+hJB5jpnkcZ+ys58HOW+EXAccn/xsIXdVD3sJgpO0IcB/bnmf1FwiCQcFkQsIRXLxT0VL6s4NlOfDDOJ3qpSiUhDsvQLFVJAHMstQX6BTPhaQ38xO2Esp0AJPHRry/LY30Kie897tpEb403HXadZKv0mb/aHdEIlO62vYxWYhc/cG8aMKnDMm8ilRy1Hhw65BO2SSwa1vt0WzhKvHmxIVPLo3umIy3mGsH1y2Ak4dkXEJOs5YLNVWCSAT2fI5ChXJg7n1WCyFH0gQUXM6UQuLat0WdA==","../../lib/jarvis.server.cloud.js":"S4wlfqwl72EWiy4BftS5D0CxB7f6N6+VgqxqjF/NaqHfRgG9Te5Kd1rtuwWxKgI0KbBrW4RwgMV8ClafPZFUCrebKjKpgulTGc5SuTm3XPO84kV+Qmr29kqh/0/43obEti4tvclqZSGv/WKY0AkbXnR1TiPahngx3IDfwobHRJyaqRVjX8hwSYeLRwqRMK/n8uYdUZT/ouG+9R5LBx0lgvLFC6xjZyLmX0DrHBn1q/RQGv/74U92Upu/ekRjL8MztokkmxqgIgkYz35Vcxh8SnRbQ+0bxsVlM6CDUbOMAyL47b515SXfpaKbOvvPCeZWKfOqLeNJFZyQfHVcNBWEVA==","../../lib/jarvis.server.getter.js":"TdMEzWkr2H/XQH9gQT+fdYmYlc4rTi03NVC+dcYB5Kw5zkHoo0pFPFe/MEqKGHl53PFVCHfDGDT2Oy7P38F0MMgD+N+GokUePWwWVeBQ1vaYEYwY9UJ879KYGAxpJcILJA5N3y7WeBl24TEuY6MbBcl3BkoNU8Tm4oZJXbG/tEGwdL3svwPVVVO8uD321XXbvGbNL3BcUwqHsPrazZe6hpQP+WctZuUjdJS68FzB8eBcpdHydWuoviWO1ybQTkwXtc/c72MQ8904iZxXcplcOBwW3ubSJfPzQFph04hfZdWGqK1HmFJh4usxSUslvzRrrytvlfjS13sZ+eHfj75LMg==","../../lib/jarvis.server.history.js":"KYz8gT2kXHPj+yzpyHzmzQVC99uuVg+Tqo9fohGhsz/wgW2u1Hlm6pclxGxM4PJzvUvSLybDm4RKkAz4hzcg8RewAP9HSb7GvQduA3T4Qx82d4VG2pe7zmEnCOHFg+EDoyEItyWIZat2sXizwr4Lhd7vN4WslZsuKhujl00/YEqcflBBLPFGyPC5cEAK/Y1GGh5tmMRwFKug1M5EmQqUsU1vfHZ8ERhEl/tblnZwEouFvoFKJn1039XEG/JgP7scOZ5P0ckuqAKqdwy0/Gv0SoBk1U+dQeZqWn4qS4OG7EcTgiTcT3rrVFDoZyebT4nebTluxgywLytp0hkkgHuX6g==","../../lib/jarvis.server.instance.js":"EeWIWFUN/iQ8YVoCxxz5Kpk3ftn56meVDj26DyZIv9apSlOU0JBa1f6F5FCGd8i4G9BAQvuYFdiDDAu59s0ndGVt+pri0smCoj1s05tPEa+Po4P2PSar6tQ3IQQyuQjYhIulDXwVuBpm9ddKXnjen4IHQU5McaGWPTn6Oxp3X2Ojr5vHZ4NfZvNAoU6jq35L7wZeNMBEun4dTgo6jebuYk5iHqABfxwNdL8O/zpTvbZUeAMt+t+zIr9TyYdwwipgnP/iaU9xvxNqAbHWaiC1yqR5ZZ1zGu5JM/ApUpofxk6gb4bXMLe9VootT0SaCDSHrM0SWZcgjIBmdFUZP1ULsw==","../../lib/jarvis.server.js":"TNGK8a7uTN7f68ymNPLuLAnMfK47nzkqbMQaXz3bVVMGML4CzHYBa/JL7ByjhczD/So1ys28zI+vdyGarZXQxYCkS2ATodtBdaubmREKIIQGoToCTdchydXySXNe4G62FIahskUHtoPoxS/m4HzSJ3OFzUu6CuQPcsu4jd6ditF8gLb9/EbtbHFCSJ4eKojPAVV/MV4y56L3XZpzXI7zHmytTVUikpX8elsAEtcBicKw5w0QJ/BHRsN1EQGKR4ifqth+O3cJXZyNP9uQqJMN7RUQAKtjWG7tD93E9Es7N3HP5uUNUBwTwpcsj/Bz98eS+mhovlq4uPe9aCvb/GYOrA==","../../lib/jarvis.server.pro.js":"AoO0KS5S5pbyPi78zvfRHuLe3PTrUcq+GkX2bZDzim9hFAoBcpF6trEjGMr2JiDcY713r6RsAzehjDzZYlXvDjGKdXxcPaIqKwc8ZAObhP7QSXgBDCHQhwklfOVLb/ue9m9SMZd6WSVZnuKfP8gaZrZkdmcByYErkxlQhKaxpxy4pXMb6Jhsib8tNzifJ3xQf2R/8WAzGsMTdCitxLOlRrCBoaQ1/6PiPpCilHqFl5dXrWGKBJZbCVuutoHORJXAb+QEbO+ftb1p7g4F+FgYqnJghUYf9CldfWDByuiTweL09uTIukaXREloqKhdak2YZote5rk+/yxPSaeokcRK2w==","../../lib/jarvis.server.setter.js":"JCXX7Cjq18ZZnHZ0p6VnPE+ENBlvMlTJ1CsSNuR7Rriwf5zLWIj5QPXFLfzym3SVZgledgeUiB09wG5M+R6BU+wL77F02xQlPaIbtW/L4S4d8HaY2qnTm1KiyOMU95RRKBaKFtVn8MxlRpmaa3cgXS7pKh/J+keeqq5iE8elZ4jEfWeYGej9loGz8+oI8ZjxAE4rrgeeO6ESI0id5npzzX2+KTUOEKdWV0jwEdeUHXdn1ohGPf1zVWI0I+1gF3PNIgh/KJj+dqZCIToD8iNVYk3GeNmtJLqx3RgZ8un915ANgzRgQP8qYzZaXVVsXRonK/zOKQtaxXibFltDxRYTVQ==","../../lib/jarvis.server.states.js":"XXbfFTzSkfrfIrrTBXC3MUba5pRE6XpYYIhH2YuwMJyYfDE+GE3179MIHkOqBAiQOxtdBUvshXNGUAEwnpWtetMZsVJTWoJsdt7paNEONB6cvS96Kn1DF3KYw4EcCnNKHROJWl9aDtrZETrkIFhxySuNaoz/mVz9LRuEwmypsFHkKiNCH32BsXQ8Lrje/ZI42c3fj+xmPbS0aT4W9VAmru6AtBi/fOrog2hQ70MwRiC3IlbHkfvDYEUFCWvxgz44kWaKuNOBR56YeaSH1qF3y2hTCh2ue/hUR7/gJ/diJppDlhrhlBsMTQDiBR6T9oG8/mMSSuSMzIg7Sc4ChHXfdQ==","app.hash.json":"HYQiEH7J5OwlakOfwXl8IiWUFCtzD0hlnJGw8/6uUJr/w0tWul0S0lfiG/iB52GkEG1ltEVcl22Kyl1PR45kYvvRalOqANFrBONa0aGHMb5j9WPwcrB3T/wPh+bjxKfEpV1nvQdWDMzYSKbncg3DCGL0u9Ds6v+DNZG9iO6xMWbo8D0ysHJTEzMe1qWwDEsTKURStbZw3C35tc7ZktMo1Wddu8dHi5TCPsj+JinkRUjQTNHHyz1GlMbhy93dg4lWva/aT9CwIUIIr8/cH2qdZF4IqJGDH7LV2wHxehC2UHvAFU1ED60BesOn7iBxqK4hPN1R75+CM4wmOqJfD73fAA=="} \ No newline at end of file diff --git a/www/jarvis/js/index-8e6349ca.js b/www/jarvis/js/index-1599f158.js similarity index 90% rename from www/jarvis/js/index-8e6349ca.js rename to www/jarvis/js/index-1599f158.js index 872ef4b2..d9c4698c 100644 --- a/www/jarvis/js/index-8e6349ca.js +++ b/www/jarvis/js/index-1599f158.js @@ -13,20 +13,20 @@ var yo=Object.defineProperty;var Ao=(t,r,o)=>r in t?yo(t,r,{enumerable:!0,config **/const stack=[];let isWarning=!1;function warn$1$1(t,...r){if(isWarning)return;isWarning=!0,pauseTracking();const o=stack.length?stack[stack.length-1].component:null,a=o&&o.appContext.config.warnHandler,u=getComponentTrace();if(a)callWithErrorHandling(a,o,11,[t+r.map(d=>{var g,v;return(v=(g=d.toString)==null?void 0:g.call(d))!=null?v:JSON.stringify(d)}).join(""),o&&o.proxy,u.map(({vnode:d})=>`at <${formatComponentName(o,d.type)}>`).join(` `),u]);else{const d=[`[Vue warn]: ${t}`,...r];u.length&&d.push(` `,...formatTrace(u)),console.warn(...d)}resetTracking(),isWarning=!1}function getComponentTrace(){let t=stack[stack.length-1];if(!t)return[];const r=[];for(;t;){const o=r[0];o&&o.vnode===t?o.recurseCount++:r.push({vnode:t,recurseCount:0});const a=t.component&&t.component.parent;t=a&&a.vnode}return r}function formatTrace(t){const r=[];return t.forEach((o,a)=>{r.push(...a===0?[]:[` -`],...formatTraceEntry(o))}),r}function formatTraceEntry({vnode:t,recurseCount:r}){const o=r>0?`... (${r} recursive calls)`:"",a=t.component?t.component.parent==null:!1,u=` at <${formatComponentName(t.component,t.type,a)}`,d=">"+o;return t.props?[u,...formatProps(t.props),d]:[u+d]}function formatProps(t){const r=[],o=Object.keys(t);return o.slice(0,3).forEach(a=>{r.push(...formatProp(a,t[a]))}),o.length>3&&r.push(" ..."),r}function formatProp(t,r,o){return isString$7(r)?(r=JSON.stringify(r),o?r:[`${t}=${r}`]):typeof r=="number"||typeof r=="boolean"||r==null?o?r:[`${t}=${r}`]:isRef(r)?(r=formatProp(t,toRaw(r.value),!0),o?r:[`${t}=Ref<`,r,">"]):isFunction$8(r)?[`${t}=fn${r.name?`<${r.name}>`:""}`]:(r=toRaw(r),o?r:[`${t}=`,r])}function callWithErrorHandling(t,r,o,a){try{return a?t(...a):t()}catch(u){handleError(u,r,o)}}function callWithAsyncErrorHandling(t,r,o,a){if(isFunction$8(t)){const u=callWithErrorHandling(t,r,o,a);return u&&isPromise$1(u)&&u.catch(d=>{handleError(d,r,o)}),u}if(isArray$i(t)){const u=[];for(let d=0;d>>1,u=queue$1[a],d=getId$2(u);d=getId$2(o)?queue$1.push(t):queue$1.splice(findInsertionIndex$1(r),0,t),t.flags|=1,queueFlush()}}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(t){isArray$i(t)?pendingPostFlushCbs.push(...t):activePostFlushCbs&&t.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,t):t.flags&1||(pendingPostFlushCbs.push(t),t.flags|=1),queueFlush()}function flushPreFlushCbs(t,r,o=isFlushing?flushIndex+1:0){for(;ogetId$2(o)-getId$2(a));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...r);return}for(activePostFlushCbs=r,postFlushIndex=0;postFlushIndext.id==null?t.flags&2?-1:1/0:t.id;function flushJobs(t){isFlushPending=!1,isFlushing=!0;const r=NOOP;try{for(flushIndex=0;flushIndex{a._d&&setBlockTracking(-1);const d=setCurrentRenderingInstance(r);let g;try{g=t(...u)}finally{setCurrentRenderingInstance(d),a._d&&setBlockTracking(1)}return g};return a._n=!0,a._c=!0,a._d=!0,a}function withDirectives(t,r){if(currentRenderingInstance===null)return t;const o=getComponentPublicInstance(currentRenderingInstance),a=t.dirs||(t.dirs=[]);for(let u=0;ut.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTeleportDeferred=t=>t&&(t.defer||t.defer===""),isTargetSVG=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,isTargetMathML=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,resolveTarget=(t,r)=>{const o=t&&t.to;return isString$7(o)?r?r(o):null:o},TeleportImpl={name:"Teleport",__isTeleport:!0,process(t,r,o,a,u,d,g,v,y,A){const{mc:b,pc:_,pbc:w,o:{insert:S,querySelector:C,createText:T,createComment:I}}=A,E=isTeleportDisabled(r.props);let{shapeFlag:F,children:O,dynamicChildren:D}=r;if(t==null){const x=r.el=T(""),P=r.anchor=T("");S(x,o,a),S(P,o,a);const G=(N,V)=>{F&16&&b(O,N,V,u,d,g,v,y)},M=()=>{const N=r.target=resolveTarget(r.props,C),V=prepareAnchor(N,r,T,S);N&&(g!=="svg"&&isTargetSVG(N)?g="svg":g!=="mathml"&&isTargetMathML(N)&&(g="mathml"),E||(G(N,V),updateCssVars(r)))};E&&(G(o,P),updateCssVars(r)),isTeleportDeferred(r.props)?queuePostRenderEffect(M,d):M()}else{r.el=t.el,r.targetStart=t.targetStart;const x=r.anchor=t.anchor,P=r.target=t.target,G=r.targetAnchor=t.targetAnchor,M=isTeleportDisabled(t.props),N=M?o:P,V=M?x:G;if(g==="svg"||isTargetSVG(P)?g="svg":(g==="mathml"||isTargetMathML(P))&&(g="mathml"),D?(w(t.dynamicChildren,D,N,u,d,g,v),traverseStaticChildren(t,r,!0)):y||_(t,r,N,V,u,d,g,v,!1),E)M?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):moveTeleport(r,o,x,A,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const Y=r.target=resolveTarget(r.props,C);Y&&moveTeleport(r,Y,null,A,0)}else M&&moveTeleport(r,P,G,A,1);updateCssVars(r)}},remove(t,r,o,{um:a,o:{remove:u}},d){const{shapeFlag:g,children:v,anchor:y,targetStart:A,targetAnchor:b,target:_,props:w}=t;if(_&&(u(A),u(b)),d&&u(y),g&16){const S=d||!isTeleportDisabled(w);for(let C=0;C{t.isMounted=!0}),onBeforeUnmount(()=>{t.isUnmounting=!0}),t}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=t=>{const r=t.subTree;return r.component?recursiveGetSubtree(r.component):r},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(t,{slots:r}){const o=getCurrentInstance(),a=useTransitionState();return()=>{const u=r.default&&getTransitionRawChildren(r.default(),!0);if(!u||!u.length)return;const d=findNonCommentChild(u),g=toRaw(t),{mode:v}=g;if(a.isLeaving)return emptyPlaceholder(d);const y=getInnerChild$1(d);if(!y)return emptyPlaceholder(d);let A=resolveTransitionHooks(y,g,a,o,w=>A=w);y.type!==Comment&&setTransitionHooks(y,A);const b=o.subTree,_=b&&getInnerChild$1(b);if(_&&_.type!==Comment&&!isSameVNodeType(y,_)&&recursiveGetSubtree(o).type!==Comment){const w=resolveTransitionHooks(_,g,a,o);if(setTransitionHooks(_,w),v==="out-in"&&y.type!==Comment)return a.isLeaving=!0,w.afterLeave=()=>{a.isLeaving=!1,o.job.flags&8||o.update(),delete w.afterLeave},emptyPlaceholder(d);v==="in-out"&&y.type!==Comment&&(w.delayLeave=(S,C,T)=>{const I=getLeavingNodesForType(a,_);I[String(_.key)]=_,S[leaveCbKey]=()=>{C(),S[leaveCbKey]=void 0,delete A.delayedLeave},A.delayedLeave=T})}return d}}};function findNonCommentChild(t){let r=t[0];if(t.length>1){for(const o of t)if(o.type!==Comment){r=o;break}}return r}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:o}=t;let a=o.get(r.type);return a||(a=Object.create(null),o.set(r.type,a)),a}function resolveTransitionHooks(t,r,o,a,u){const{appear:d,mode:g,persisted:v=!1,onBeforeEnter:y,onEnter:A,onAfterEnter:b,onEnterCancelled:_,onBeforeLeave:w,onLeave:S,onAfterLeave:C,onLeaveCancelled:T,onBeforeAppear:I,onAppear:E,onAfterAppear:F,onAppearCancelled:O}=r,D=String(t.key),x=getLeavingNodesForType(o,t),P=(N,V)=>{N&&callWithAsyncErrorHandling(N,a,9,V)},G=(N,V)=>{const Y=V[1];P(N,V),isArray$i(N)?N.every(H=>H.length<=1)&&Y():N.length<=1&&Y()},M={mode:g,persisted:v,beforeEnter(N){let V=y;if(!o.isMounted)if(d)V=I||y;else return;N[leaveCbKey]&&N[leaveCbKey](!0);const Y=x[D];Y&&isSameVNodeType(t,Y)&&Y.el[leaveCbKey]&&Y.el[leaveCbKey](),P(V,[N])},enter(N){let V=A,Y=b,H=_;if(!o.isMounted)if(d)V=E||A,Y=F||b,H=O||_;else return;let B=!1;const z=N[enterCbKey$1]=U=>{B||(B=!0,U?P(H,[N]):P(Y,[N]),M.delayedLeave&&M.delayedLeave(),N[enterCbKey$1]=void 0)};V?G(V,[N,z]):z()},leave(N,V){const Y=String(t.key);if(N[enterCbKey$1]&&N[enterCbKey$1](!0),o.isUnmounting)return V();P(w,[N]);let H=!1;const B=N[leaveCbKey]=z=>{H||(H=!0,V(),z?P(T,[N]):P(C,[N]),N[leaveCbKey]=void 0,x[Y]===t&&delete x[Y])};x[Y]=t,S?G(S,[N,B]):B()},clone(N){const V=resolveTransitionHooks(N,r,o,a,u);return u&&u(V),V}};return M}function emptyPlaceholder(t){if(isKeepAlive(t))return t=cloneVNode(t),t.children=null,t}function getInnerChild$1(t){if(!isKeepAlive(t))return isTeleport(t.type)&&t.children?findNonCommentChild(t.children):t;const{shapeFlag:r,children:o}=t;if(o){if(r&16)return o[0];if(r&32&&isFunction$8(o.default))return o.default()}}function setTransitionHooks(t,r){t.shapeFlag&6&&t.component?(t.transition=r,setTransitionHooks(t.component.subTree,r)):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function getTransitionRawChildren(t,r=!1,o){let a=[],u=0;for(let d=0;d1)for(let d=0;dextend$3({name:t.name},r,{setup:t}))():t}function markAsyncBoundary(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function setRef(t,r,o,a,u=!1){if(isArray$i(t)){t.forEach((C,T)=>setRef(C,r&&(isArray$i(r)?r[T]:r),o,a,u));return}if(isAsyncWrapper(a)&&!u)return;const d=a.shapeFlag&4?getComponentPublicInstance(a.component):a.el,g=u?null:d,{i:v,r:y}=t,A=r&&r.r,b=v.refs===EMPTY_OBJ$1?v.refs={}:v.refs,_=v.setupState,w=toRaw(_),S=_===EMPTY_OBJ$1?()=>!1:C=>hasOwn$c(w,C);if(A!=null&&A!==y&&(isString$7(A)?(b[A]=null,S(A)&&(_[A]=null)):isRef(A)&&(A.value=null)),isFunction$8(y))callWithErrorHandling(y,v,12,[g,b]);else{const C=isString$7(y),T=isRef(y);if(C||T){const I=()=>{if(t.f){const E=C?S(y)?_[y]:b[y]:y.value;u?isArray$i(E)&&remove$1(E,d):isArray$i(E)?E.includes(d)||E.push(d):C?(b[y]=[d],S(y)&&(_[y]=b[y])):(y.value=[d],t.k&&(b[t.k]=y.value))}else C?(b[y]=g,S(y)&&(_[y]=g)):T&&(y.value=g,t.k&&(b[t.k]=g))};g?(I.id=-1,queuePostRenderEffect(I,o)):I()}}}const isComment=t=>t.nodeType===8;function forEachElement(t,r){if(isComment(t)&&t.data==="["){let o=1,a=t.nextSibling;for(;a;){if(a.nodeType===1)r(a);else if(isComment(a))if(a.data==="]"){if(--o===0)break}else a.data==="["&&o++;a=a.nextSibling}}else r(t)}const isAsyncWrapper=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(t){isFunction$8(t)&&(t={loader:t});const{loader:r,loadingComponent:o,errorComponent:a,delay:u=200,hydrate:d,timeout:g,suspensible:v=!0,onError:y}=t;let A=null,b,_=0;const w=()=>(_++,A=null,S()),S=()=>{let C;return A||(C=A=r().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),y)return new Promise((I,E)=>{y(T,()=>I(w()),()=>E(T),_+1)});throw T}).then(T=>C!==A&&A?A:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),b=T,T)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:S,__asyncHydrate(C,T,I){const E=d?()=>{const F=d(I,O=>forEachElement(C,O));F&&(T.bum||(T.bum=[])).push(F)}:I;b?E():S().then(()=>!T.isUnmounted&&E())},get __asyncResolved(){return b},setup(){const C=currentInstance;if(markAsyncBoundary(C),b)return()=>createInnerComp(b,C);const T=O=>{A=null,handleError(O,C,13,!a)};if(v&&C.suspense||isInSSRComponentSetup)return S().then(O=>()=>createInnerComp(O,C)).catch(O=>(T(O),()=>a?createVNode$1(a,{error:O}):null));const I=ref(!1),E=ref(),F=ref(!!u);return u&&setTimeout(()=>{F.value=!1},u),g!=null&&setTimeout(()=>{if(!I.value&&!E.value){const O=new Error(`Async component timed out after ${g}ms.`);T(O),E.value=O}},g),S().then(()=>{I.value=!0,C.parent&&isKeepAlive(C.parent.vnode)&&queueJob(C.parent.update)}).catch(O=>{T(O),E.value=O}),()=>{if(I.value&&b)return createInnerComp(b,C);if(E.value&&a)return createVNode$1(a,{error:E.value});if(o&&!F.value)return createVNode$1(o)}}})}function createInnerComp(t,r){const{ref:o,props:a,children:u,ce:d}=r.vnode,g=createVNode$1(t,a,u);return g.ref=o,g.ce=d,delete r.vnode.ce,g}const isKeepAlive=t=>t.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const o=getCurrentInstance(),a=o.ctx;if(!a.renderer)return()=>{const F=r.default&&r.default();return F&&F.length===1?F[0]:F};const u=new Map,d=new Set;let g=null;const v=o.suspense,{renderer:{p:y,m:A,um:b,o:{createElement:_}}}=a,w=_("div");a.activate=(F,O,D,x,P)=>{const G=F.component;A(F,O,D,0,v),y(G.vnode,F,O,D,G,v,x,F.slotScopeIds,P),queuePostRenderEffect(()=>{G.isDeactivated=!1,G.a&&invokeArrayFns(G.a);const M=F.props&&F.props.onVnodeMounted;M&&invokeVNodeHook(M,G.parent,F)},v)},a.deactivate=F=>{const O=F.component;invalidateMount(O.m),invalidateMount(O.a),A(F,w,null,1,v),queuePostRenderEffect(()=>{O.da&&invokeArrayFns(O.da);const D=F.props&&F.props.onVnodeUnmounted;D&&invokeVNodeHook(D,O.parent,F),O.isDeactivated=!0},v)};function S(F){resetShapeFlag(F),b(F,o,v,!0)}function C(F){u.forEach((O,D)=>{const x=getComponentName(O.type);x&&!F(x)&&T(D)})}function T(F){const O=u.get(F);O&&(!g||!isSameVNodeType(O,g))?S(O):g&&resetShapeFlag(g),u.delete(F),d.delete(F)}watch(()=>[t.include,t.exclude],([F,O])=>{F&&C(D=>matches$1(F,D)),O&&C(D=>!matches$1(O,D))},{flush:"post",deep:!0});let I=null;const E=()=>{I!=null&&(isSuspense(o.subTree.type)?queuePostRenderEffect(()=>{u.set(I,getInnerChild(o.subTree))},o.subTree.suspense):u.set(I,getInnerChild(o.subTree)))};return onMounted(E),onUpdated(E),onBeforeUnmount(()=>{u.forEach(F=>{const{subTree:O,suspense:D}=o,x=getInnerChild(O);if(F.type===x.type&&F.key===x.key){resetShapeFlag(x);const P=x.component.da;P&&queuePostRenderEffect(P,D);return}S(F)})}),()=>{if(I=null,!r.default)return g=null;const F=r.default(),O=F[0];if(F.length>1)return g=null,F;if(!isVNode$1(O)||!(O.shapeFlag&4)&&!(O.shapeFlag&128))return g=null,O;let D=getInnerChild(O);if(D.type===Comment)return g=null,D;const x=D.type,P=getComponentName(isAsyncWrapper(D)?D.type.__asyncResolved||{}:x),{include:G,exclude:M,max:N}=t;if(G&&(!P||!matches$1(G,P))||M&&P&&matches$1(M,P))return D.shapeFlag&=-257,g=D,O;const V=D.key==null?x:D.key,Y=u.get(V);return D.el&&(D=cloneVNode(D),O.shapeFlag&128&&(O.ssContent=D)),I=V,Y?(D.el=Y.el,D.component=Y.component,D.transition&&setTransitionHooks(D,D.transition),D.shapeFlag|=512,d.delete(V),d.add(V)):(d.add(V),N&&d.size>parseInt(N,10)&&T(d.values().next().value)),D.shapeFlag|=256,g=D,isSuspense(O.type)?O:D}}},KeepAlive=KeepAliveImpl;function matches$1(t,r){return isArray$i(t)?t.some(o=>matches$1(o,r)):isString$7(t)?t.split(",").includes(r):isRegExp$5(t)?(t.lastIndex=0,t.test(r)):!1}function onActivated(t,r){registerKeepAliveHook(t,"a",r)}function onDeactivated(t,r){registerKeepAliveHook(t,"da",r)}function registerKeepAliveHook(t,r,o=currentInstance){const a=t.__wdc||(t.__wdc=()=>{let u=o;for(;u;){if(u.isDeactivated)return;u=u.parent}return t()});if(injectHook(r,a,o),o){let u=o.parent;for(;u&&u.parent;)isKeepAlive(u.parent.vnode)&&injectToKeepAliveRoot(a,r,o,u),u=u.parent}}function injectToKeepAliveRoot(t,r,o,a){const u=injectHook(r,t,a,!0);onUnmounted(()=>{remove$1(a[r],u)},o)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,o=currentInstance,a=!1){if(o){const u=o[t]||(o[t]=[]),d=r.__weh||(r.__weh=(...g)=>{pauseTracking();const v=setCurrentInstance(o),y=callWithAsyncErrorHandling(r,o,t,g);return v(),resetTracking(),y});return a?u.unshift(d):u.push(d),d}}const createHook=t=>(r,o=currentInstance)=>{(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...a)=>r(...a),o)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(t,r=currentInstance){injectHook("ec",t,r)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(t,r){return resolveAsset(COMPONENTS,t,!0,r)||t}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(t){return isString$7(t)?resolveAsset(COMPONENTS,t,!1)||t:t||NULL_DYNAMIC_COMPONENT}function resolveDirective(t){return resolveAsset(DIRECTIVES,t)}function resolveAsset(t,r,o=!0,a=!1){const u=currentRenderingInstance||currentInstance;if(u){const d=u.type;if(t===COMPONENTS){const v=getComponentName(d,!1);if(v&&(v===r||v===camelize(r)||v===capitalize$3(camelize(r))))return d}const g=resolve$1(u[t]||d[t],r)||resolve$1(u.appContext[t],r);return!g&&a?d:g}}function resolve$1(t,r){return t&&(t[r]||t[camelize(r)]||t[capitalize$3(camelize(r))])}function renderList(t,r,o,a){let u;const d=o&&o[a],g=isArray$i(t);if(g||isString$7(t)){const v=g&&isReactive(t);let y=!1;v&&(y=!isShallow(t),t=shallowReadArray(t)),u=new Array(t.length);for(let A=0,b=t.length;Ar(v,y,void 0,d&&d[y]));else{const v=Object.keys(t);u=new Array(v.length);for(let y=0,A=v.length;y{const d=a.fn(...u);return d&&(d.key=a.key),d}:a.fn)}return t}function renderSlot(t,r,o={},a,u){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return r!=="default"&&(o.name=r),openBlock(),createBlock(Fragment,null,[createVNode$1("slot",o,a&&a())],64);let d=t[r];d&&d._c&&(d._d=!1),openBlock();const g=d&&ensureValidVNode(d(o)),v=createBlock(Fragment,{key:(o.key||g&&g.key||`_${r}`)+(!g&&a?"_fb":"")},g||(a?a():[]),g&&t._===1?64:-2);return!u&&v.scopeId&&(v.slotScopeIds=[v.scopeId+"-s"]),d&&d._c&&(d._d=!0),v}function ensureValidVNode(t){return t.some(r=>isVNode$1(r)?!(r.type===Comment||r.type===Fragment&&!ensureValidVNode(r.children)):!0)?t:null}function toHandlers(t,r){const o={};for(const a in t)o[r&&/[A-Z]/.test(a)?`on:${a}`:toHandlerKey(a)]=t[a];return o}const getPublicInstance=t=>t?isStatefulComponent(t)?getComponentPublicInstance(t):getPublicInstance(t.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>getPublicInstance(t.parent),$root:t=>getPublicInstance(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>resolveMergedOptions(t),$forceUpdate:t=>t.f||(t.f=()=>{queueJob(t.update)}),$nextTick:t=>t.n||(t.n=nextTick.bind(t.proxy)),$watch:t=>instanceWatch.bind(t)}),hasSetupBinding=(t,r)=>t!==EMPTY_OBJ$1&&!t.__isScriptSetup&&hasOwn$c(t,r),PublicInstanceProxyHandlers={get({_:t},r){if(r==="__v_skip")return!0;const{ctx:o,setupState:a,data:u,props:d,accessCache:g,type:v,appContext:y}=t;let A;if(r[0]!=="$"){const S=g[r];if(S!==void 0)switch(S){case 1:return a[r];case 2:return u[r];case 4:return o[r];case 3:return d[r]}else{if(hasSetupBinding(a,r))return g[r]=1,a[r];if(u!==EMPTY_OBJ$1&&hasOwn$c(u,r))return g[r]=2,u[r];if((A=t.propsOptions[0])&&hasOwn$c(A,r))return g[r]=3,d[r];if(o!==EMPTY_OBJ$1&&hasOwn$c(o,r))return g[r]=4,o[r];shouldCacheAccess&&(g[r]=0)}}const b=publicPropertiesMap[r];let _,w;if(b)return r==="$attrs"&&track(t.attrs,"get",""),b(t);if((_=v.__cssModules)&&(_=_[r]))return _;if(o!==EMPTY_OBJ$1&&hasOwn$c(o,r))return g[r]=4,o[r];if(w=y.config.globalProperties,hasOwn$c(w,r))return w[r]},set({_:t},r,o){const{data:a,setupState:u,ctx:d}=t;return hasSetupBinding(u,r)?(u[r]=o,!0):a!==EMPTY_OBJ$1&&hasOwn$c(a,r)?(a[r]=o,!0):hasOwn$c(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(d[r]=o,!0)},has({_:{data:t,setupState:r,accessCache:o,ctx:a,appContext:u,propsOptions:d}},g){let v;return!!o[g]||t!==EMPTY_OBJ$1&&hasOwn$c(t,g)||hasSetupBinding(r,g)||(v=d[0])&&hasOwn$c(v,g)||hasOwn$c(a,g)||hasOwn$c(publicPropertiesMap,g)||hasOwn$c(u.config.globalProperties,g)},defineProperty(t,r,o){return o.get!=null?t._.accessCache[r]=0:hasOwn$c(o,"value")&&this.set(t,r,o.value,null),Reflect.defineProperty(t,r,o)}};function normalizePropsOrEmits(t){return isArray$i(t)?t.reduce((r,o)=>(r[o]=null,r),{}):t}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),o=t.proxy,a=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:u,computed:d,methods:g,watch:v,provide:y,inject:A,created:b,beforeMount:_,mounted:w,beforeUpdate:S,updated:C,activated:T,deactivated:I,beforeDestroy:E,beforeUnmount:F,destroyed:O,unmounted:D,render:x,renderTracked:P,renderTriggered:G,errorCaptured:M,serverPrefetch:N,expose:V,inheritAttrs:Y,components:H,directives:B,filters:z}=r;if(A&&resolveInjections(A,a,null),g)for(const X in g){const J=g[X];isFunction$8(J)&&(a[X]=J.bind(o))}if(u){const X=u.call(o,o);isObject$p(X)&&(t.data=reactive(X))}if(shouldCacheAccess=!0,d)for(const X in d){const J=d[X],ne=isFunction$8(J)?J.bind(o,o):isFunction$8(J.get)?J.get.bind(o,o):NOOP,te=!isFunction$8(J)&&isFunction$8(J.set)?J.set.bind(o):NOOP,ce=computed({get:ne,set:te});Object.defineProperty(a,X,{enumerable:!0,configurable:!0,get:()=>ce.value,set:se=>ce.value=se})}if(v)for(const X in v)createWatcher(v[X],a,o,X);if(y){const X=isFunction$8(y)?y.call(o):y;Reflect.ownKeys(X).forEach(J=>{provide(J,X[J])})}b&&callHook$1(b,t,"c");function Q(X,J){isArray$i(J)?J.forEach(ne=>X(ne.bind(o))):J&&X(J.bind(o))}if(Q(onBeforeMount,_),Q(onMounted,w),Q(onBeforeUpdate,S),Q(onUpdated,C),Q(onActivated,T),Q(onDeactivated,I),Q(onErrorCaptured,M),Q(onRenderTracked,P),Q(onRenderTriggered,G),Q(onBeforeUnmount,F),Q(onUnmounted,D),Q(onServerPrefetch,N),isArray$i(V))if(V.length){const X=t.exposed||(t.exposed={});V.forEach(J=>{Object.defineProperty(X,J,{get:()=>o[J],set:ne=>o[J]=ne})})}else t.exposed||(t.exposed={});x&&t.render===NOOP&&(t.render=x),Y!=null&&(t.inheritAttrs=Y),H&&(t.components=H),B&&(t.directives=B),N&&markAsyncBoundary(t)}function resolveInjections(t,r,o=NOOP){isArray$i(t)&&(t=normalizeInject(t));for(const a in t){const u=t[a];let d;isObject$p(u)?"default"in u?d=inject(u.from||a,u.default,!0):d=inject(u.from||a):d=inject(u),isRef(d)?Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>d.value,set:g=>d.value=g}):r[a]=d}}function callHook$1(t,r,o){callWithAsyncErrorHandling(isArray$i(t)?t.map(a=>a.bind(r.proxy)):t.bind(r.proxy),r,o)}function createWatcher(t,r,o,a){let u=a.includes(".")?createPathGetter(o,a):()=>o[a];if(isString$7(t)){const d=r[t];isFunction$8(d)&&watch(u,d)}else if(isFunction$8(t))watch(u,t.bind(o));else if(isObject$p(t))if(isArray$i(t))t.forEach(d=>createWatcher(d,r,o,a));else{const d=isFunction$8(t.handler)?t.handler.bind(o):r[t.handler];isFunction$8(d)&&watch(u,d,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:o,extends:a}=r,{mixins:u,optionsCache:d,config:{optionMergeStrategies:g}}=t.appContext,v=d.get(r);let y;return v?y=v:!u.length&&!o&&!a?y=r:(y={},u.length&&u.forEach(A=>mergeOptions$1(y,A,g,!0)),mergeOptions$1(y,r,g)),isObject$p(r)&&d.set(r,y),y}function mergeOptions$1(t,r,o,a=!1){const{mixins:u,extends:d}=r;d&&mergeOptions$1(t,d,o,!0),u&&u.forEach(g=>mergeOptions$1(t,g,o,!0));for(const g in r)if(!(a&&g==="expose")){const v=internalOptionMergeStrats[g]||o&&o[g];t[g]=v?v(t[g],r[g]):r[g]}return t}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(t,r){return r?t?function(){return extend$3(isFunction$8(t)?t.call(this,this):t,isFunction$8(r)?r.call(this,this):r)}:r:t}function mergeInject(t,r){return mergeObjectOptions(normalizeInject(t),normalizeInject(r))}function normalizeInject(t){if(isArray$i(t)){const r={};for(let o=0;o1)return o&&isFunction$8(r)?r.call(a&&a.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=t=>Object.getPrototypeOf(t)===internalObjectProto;function initProps$1(t,r,o,a=!1){const u={},d=createInternalObject();t.propsDefaults=Object.create(null),setFullProps(t,r,u,d);for(const g in t.propsOptions[0])g in u||(u[g]=void 0);o?t.props=a?u:shallowReactive(u):t.type.props?t.props=u:t.props=d,t.attrs=d}function updateProps$2(t,r,o,a){const{props:u,attrs:d,vnode:{patchFlag:g}}=t,v=toRaw(u),[y]=t.propsOptions;let A=!1;if((a||g>0)&&!(g&16)){if(g&8){const b=t.vnode.dynamicProps;for(let _=0;_{y=!0;const[w,S]=normalizePropsOptions(_,r,!0);extend$3(g,w),S&&v.push(...S)};!o&&r.mixins.length&&r.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!d&&!y)return isObject$p(t)&&a.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$i(d))for(let b=0;bt[0]==="_"||t==="$stable",normalizeSlotValue=t=>isArray$i(t)?t.map(normalizeVNode):[normalizeVNode(t)],normalizeSlot$1=(t,r,o)=>{if(r._n)return r;const a=withCtx((...u)=>normalizeSlotValue(r(...u)),o);return a._c=!1,a},normalizeObjectSlots=(t,r,o)=>{const a=t._ctx;for(const u in t){if(isInternalKey(u))continue;const d=t[u];if(isFunction$8(d))r[u]=normalizeSlot$1(u,d,a);else if(d!=null){const g=normalizeSlotValue(d);r[u]=()=>g}}},normalizeVNodeSlots=(t,r)=>{const o=normalizeSlotValue(r);t.slots.default=()=>o},assignSlots=(t,r,o)=>{for(const a in r)(o||a!=="_")&&(t[a]=r[a])},initSlots=(t,r,o)=>{const a=t.slots=createInternalObject();if(t.vnode.shapeFlag&32){const u=r._;u?(assignSlots(a,r,o),o&&def$1(a,"_",u,!0)):normalizeObjectSlots(r,a)}else r&&normalizeVNodeSlots(t,r)},updateSlots=(t,r,o)=>{const{vnode:a,slots:u}=t;let d=!0,g=EMPTY_OBJ$1;if(a.shapeFlag&32){const v=r._;v?o&&v===1?d=!1:assignSlots(u,r,o):(d=!r.$stable,normalizeObjectSlots(r,u)),g=r}else r&&(normalizeVNodeSlots(t,r),g={default:1});if(d)for(const v in u)!isInternalKey(v)&&g[v]==null&&delete u[v]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function baseCreateRenderer(t,r){const o=getGlobalThis$2();o.__VUE__=!0;const{insert:a,remove:u,patchProp:d,createElement:g,createText:v,createComment:y,setText:A,setElementText:b,parentNode:_,nextSibling:w,setScopeId:S=NOOP,insertStaticContent:C}=t,T=(Ce,Ae,Ee,le=null,re=null,ue=null,be=void 0,ie=null,oe=!!Ae.dynamicChildren)=>{if(Ce===Ae)return;Ce&&!isSameVNodeType(Ce,Ae)&&(le=pe(Ce),se(Ce,re,ue,!0),Ce=null),Ae.patchFlag===-2&&(oe=!1,Ae.dynamicChildren=null);const{type:me,ref:Se,shapeFlag:xe}=Ae;switch(me){case Text:I(Ce,Ae,Ee,le);break;case Comment:E(Ce,Ae,Ee,le);break;case Static:Ce==null&&F(Ae,Ee,le,be);break;case Fragment:H(Ce,Ae,Ee,le,re,ue,be,ie,oe);break;default:xe&1?x(Ce,Ae,Ee,le,re,ue,be,ie,oe):xe&6?B(Ce,Ae,Ee,le,re,ue,be,ie,oe):(xe&64||xe&128)&&me.process(Ce,Ae,Ee,le,re,ue,be,ie,oe,we)}Se!=null&&re&&setRef(Se,Ce&&Ce.ref,ue,Ae||Ce,!Ae)},I=(Ce,Ae,Ee,le)=>{if(Ce==null)a(Ae.el=v(Ae.children),Ee,le);else{const re=Ae.el=Ce.el;Ae.children!==Ce.children&&A(re,Ae.children)}},E=(Ce,Ae,Ee,le)=>{Ce==null?a(Ae.el=y(Ae.children||""),Ee,le):Ae.el=Ce.el},F=(Ce,Ae,Ee,le)=>{[Ce.el,Ce.anchor]=C(Ce.children,Ae,Ee,le,Ce.el,Ce.anchor)},O=({el:Ce,anchor:Ae},Ee,le)=>{let re;for(;Ce&&Ce!==Ae;)re=w(Ce),a(Ce,Ee,le),Ce=re;a(Ae,Ee,le)},D=({el:Ce,anchor:Ae})=>{let Ee;for(;Ce&&Ce!==Ae;)Ee=w(Ce),u(Ce),Ce=Ee;u(Ae)},x=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ae.type==="svg"?be="svg":Ae.type==="math"&&(be="mathml"),Ce==null?P(Ae,Ee,le,re,ue,be,ie,oe):N(Ce,Ae,re,ue,be,ie,oe)},P=(Ce,Ae,Ee,le,re,ue,be,ie)=>{let oe,me;const{props:Se,shapeFlag:xe,transition:De,dirs:Pe}=Ce;if(oe=Ce.el=g(Ce.type,ue,Se&&Se.is,Se),xe&8?b(oe,Ce.children):xe&16&&M(Ce.children,oe,null,le,re,resolveChildrenNamespace(Ce,ue),be,ie),Pe&&invokeDirectiveHook(Ce,null,le,"created"),G(oe,Ce,Ce.scopeId,be,le),Se){for(const ot in Se)ot!=="value"&&!isReservedProp(ot)&&d(oe,ot,null,Se[ot],ue,le);"value"in Se&&d(oe,"value",null,Se.value,ue),(me=Se.onVnodeBeforeMount)&&invokeVNodeHook(me,le,Ce)}Pe&&invokeDirectiveHook(Ce,null,le,"beforeMount");const Be=needTransition(re,De);Be&&De.beforeEnter(oe),a(oe,Ae,Ee),((me=Se&&Se.onVnodeMounted)||Be||Pe)&&queuePostRenderEffect(()=>{me&&invokeVNodeHook(me,le,Ce),Be&&De.enter(oe),Pe&&invokeDirectiveHook(Ce,null,le,"mounted")},re)},G=(Ce,Ae,Ee,le,re)=>{if(Ee&&S(Ce,Ee),le)for(let ue=0;ue{for(let me=oe;me{const ie=Ae.el=Ce.el;let{patchFlag:oe,dynamicChildren:me,dirs:Se}=Ae;oe|=Ce.patchFlag&16;const xe=Ce.props||EMPTY_OBJ$1,De=Ae.props||EMPTY_OBJ$1;let Pe;if(Ee&&toggleRecurse(Ee,!1),(Pe=De.onVnodeBeforeUpdate)&&invokeVNodeHook(Pe,Ee,Ae,Ce),Se&&invokeDirectiveHook(Ae,Ce,Ee,"beforeUpdate"),Ee&&toggleRecurse(Ee,!0),(xe.innerHTML&&De.innerHTML==null||xe.textContent&&De.textContent==null)&&b(ie,""),me?V(Ce.dynamicChildren,me,ie,Ee,le,resolveChildrenNamespace(Ae,re),ue):be||J(Ce,Ae,ie,null,Ee,le,resolveChildrenNamespace(Ae,re),ue,!1),oe>0){if(oe&16)Y(ie,xe,De,Ee,re);else if(oe&2&&xe.class!==De.class&&d(ie,"class",null,De.class,re),oe&4&&d(ie,"style",xe.style,De.style,re),oe&8){const Be=Ae.dynamicProps;for(let ot=0;ot{Pe&&invokeVNodeHook(Pe,Ee,Ae,Ce),Se&&invokeDirectiveHook(Ae,Ce,Ee,"updated")},le)},V=(Ce,Ae,Ee,le,re,ue,be)=>{for(let ie=0;ie{if(Ae!==Ee){if(Ae!==EMPTY_OBJ$1)for(const ue in Ae)!isReservedProp(ue)&&!(ue in Ee)&&d(Ce,ue,Ae[ue],null,re,le);for(const ue in Ee){if(isReservedProp(ue))continue;const be=Ee[ue],ie=Ae[ue];be!==ie&&ue!=="value"&&d(Ce,ue,ie,be,re,le)}"value"in Ee&&d(Ce,"value",Ae.value,Ee.value,re)}},H=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{const me=Ae.el=Ce?Ce.el:v(""),Se=Ae.anchor=Ce?Ce.anchor:v("");let{patchFlag:xe,dynamicChildren:De,slotScopeIds:Pe}=Ae;Pe&&(ie=ie?ie.concat(Pe):Pe),Ce==null?(a(me,Ee,le),a(Se,Ee,le),M(Ae.children||[],Ee,Se,re,ue,be,ie,oe)):xe>0&&xe&64&&De&&Ce.dynamicChildren?(V(Ce.dynamicChildren,De,Ee,re,ue,be,ie),(Ae.key!=null||re&&Ae===re.subTree)&&traverseStaticChildren(Ce,Ae,!0)):J(Ce,Ae,Ee,Se,re,ue,be,ie,oe)},B=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ae.slotScopeIds=ie,Ce==null?Ae.shapeFlag&512?re.ctx.activate(Ae,Ee,le,be,oe):z(Ae,Ee,le,re,ue,be,oe):U(Ce,Ae,oe)},z=(Ce,Ae,Ee,le,re,ue,be)=>{const ie=Ce.component=createComponentInstance(Ce,le,re);if(isKeepAlive(Ce)&&(ie.ctx.renderer=we),setupComponent(ie,!1,be),ie.asyncDep){if(re&&re.registerDep(ie,Q,be),!Ce.el){const oe=ie.subTree=createVNode$1(Comment);E(null,oe,Ae,Ee)}}else Q(ie,Ce,Ae,Ee,re,ue,be)},U=(Ce,Ae,Ee)=>{const le=Ae.component=Ce.component;if(shouldUpdateComponent(Ce,Ae,Ee))if(le.asyncDep&&!le.asyncResolved){X(le,Ae,Ee);return}else le.next=Ae,le.update();else Ae.el=Ce.el,le.vnode=Ae},Q=(Ce,Ae,Ee,le,re,ue,be)=>{const ie=()=>{if(Ce.isMounted){let{next:xe,bu:De,u:Pe,parent:Be,vnode:ot}=Ce;{const ke=locateNonHydratedAsyncRoot(Ce);if(ke){xe&&(xe.el=ot.el,X(Ce,xe,be)),ke.asyncDep.then(()=>{Ce.isUnmounted||ie()});return}}let ct=xe,_t;toggleRecurse(Ce,!1),xe?(xe.el=ot.el,X(Ce,xe,be)):xe=ot,De&&invokeArrayFns(De),(_t=xe.props&&xe.props.onVnodeBeforeUpdate)&&invokeVNodeHook(_t,Be,xe,ot),toggleRecurse(Ce,!0);const He=renderComponentRoot(Ce),Ve=Ce.subTree;Ce.subTree=He,T(Ve,He,_(Ve.el),pe(Ve),Ce,re,ue),xe.el=He.el,ct===null&&updateHOCHostEl(Ce,He.el),Pe&&queuePostRenderEffect(Pe,re),(_t=xe.props&&xe.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(_t,Be,xe,ot),re)}else{let xe;const{el:De,props:Pe}=Ae,{bm:Be,m:ot,parent:ct,root:_t,type:He}=Ce,Ve=isAsyncWrapper(Ae);if(toggleRecurse(Ce,!1),Be&&invokeArrayFns(Be),!Ve&&(xe=Pe&&Pe.onVnodeBeforeMount)&&invokeVNodeHook(xe,ct,Ae),toggleRecurse(Ce,!0),De&&Te){const ke=()=>{Ce.subTree=renderComponentRoot(Ce),Te(De,Ce.subTree,Ce,re,null)};Ve&&He.__asyncHydrate?He.__asyncHydrate(De,Ce,ke):ke()}else{_t.ce&&_t.ce._injectChildStyle(He);const ke=Ce.subTree=renderComponentRoot(Ce);T(null,ke,Ee,le,Ce,re,ue),Ae.el=ke.el}if(ot&&queuePostRenderEffect(ot,re),!Ve&&(xe=Pe&&Pe.onVnodeMounted)){const ke=Ae;queuePostRenderEffect(()=>invokeVNodeHook(xe,ct,ke),re)}(Ae.shapeFlag&256||ct&&isAsyncWrapper(ct.vnode)&&ct.vnode.shapeFlag&256)&&Ce.a&&queuePostRenderEffect(Ce.a,re),Ce.isMounted=!0,Ae=Ee=le=null}};Ce.scope.on();const oe=Ce.effect=new ReactiveEffect(ie);Ce.scope.off();const me=Ce.update=oe.run.bind(oe),Se=Ce.job=oe.runIfDirty.bind(oe);Se.i=Ce,Se.id=Ce.uid,oe.scheduler=()=>queueJob(Se),toggleRecurse(Ce,!0),me()},X=(Ce,Ae,Ee)=>{Ae.component=Ce;const le=Ce.vnode.props;Ce.vnode=Ae,Ce.next=null,updateProps$2(Ce,Ae.props,le,Ee),updateSlots(Ce,Ae.children,Ee),pauseTracking(),flushPreFlushCbs(Ce),resetTracking()},J=(Ce,Ae,Ee,le,re,ue,be,ie,oe=!1)=>{const me=Ce&&Ce.children,Se=Ce?Ce.shapeFlag:0,xe=Ae.children,{patchFlag:De,shapeFlag:Pe}=Ae;if(De>0){if(De&128){te(me,xe,Ee,le,re,ue,be,ie,oe);return}else if(De&256){ne(me,xe,Ee,le,re,ue,be,ie,oe);return}}Pe&8?(Se&16&&ee(me,re,ue),xe!==me&&b(Ee,xe)):Se&16?Pe&16?te(me,xe,Ee,le,re,ue,be,ie,oe):ee(me,re,ue,!0):(Se&8&&b(Ee,""),Pe&16&&M(xe,Ee,le,re,ue,be,ie,oe))},ne=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ce=Ce||EMPTY_ARR,Ae=Ae||EMPTY_ARR;const me=Ce.length,Se=Ae.length,xe=Math.min(me,Se);let De;for(De=0;DeSe?ee(Ce,re,ue,!0,!1,xe):M(Ae,Ee,le,re,ue,be,ie,oe,xe)},te=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{let me=0;const Se=Ae.length;let xe=Ce.length-1,De=Se-1;for(;me<=xe&&me<=De;){const Pe=Ce[me],Be=Ae[me]=oe?cloneIfMounted(Ae[me]):normalizeVNode(Ae[me]);if(isSameVNodeType(Pe,Be))T(Pe,Be,Ee,null,re,ue,be,ie,oe);else break;me++}for(;me<=xe&&me<=De;){const Pe=Ce[xe],Be=Ae[De]=oe?cloneIfMounted(Ae[De]):normalizeVNode(Ae[De]);if(isSameVNodeType(Pe,Be))T(Pe,Be,Ee,null,re,ue,be,ie,oe);else break;xe--,De--}if(me>xe){if(me<=De){const Pe=De+1,Be=PeDe)for(;me<=xe;)se(Ce[me],re,ue,!0),me++;else{const Pe=me,Be=me,ot=new Map;for(me=Be;me<=De;me++){const Ct=Ae[me]=oe?cloneIfMounted(Ae[me]):normalizeVNode(Ae[me]);Ct.key!=null&&ot.set(Ct.key,me)}let ct,_t=0;const He=De-Be+1;let Ve=!1,ke=0;const Qe=new Array(He);for(me=0;me=He){se(Ct,re,ue,!0);continue}let Xe;if(Ct.key!=null)Xe=ot.get(Ct.key);else for(ct=Be;ct<=De;ct++)if(Qe[ct-Be]===0&&isSameVNodeType(Ct,Ae[ct])){Xe=ct;break}Xe===void 0?se(Ct,re,ue,!0):(Qe[Xe-Be]=me+1,Xe>=ke?ke=Xe:Ve=!0,T(Ct,Ae[Xe],Ee,null,re,ue,be,ie,oe),_t++)}const yt=Ve?getSequence(Qe):EMPTY_ARR;for(ct=yt.length-1,me=He-1;me>=0;me--){const Ct=Be+me,Xe=Ae[Ct],dt=Ct+1{const{el:ue,type:be,transition:ie,children:oe,shapeFlag:me}=Ce;if(me&6){ce(Ce.component.subTree,Ae,Ee,le);return}if(me&128){Ce.suspense.move(Ae,Ee,le);return}if(me&64){be.move(Ce,Ae,Ee,we);return}if(be===Fragment){a(ue,Ae,Ee);for(let xe=0;xeie.enter(ue),re);else{const{leave:xe,delayLeave:De,afterLeave:Pe}=ie,Be=()=>a(ue,Ae,Ee),ot=()=>{xe(ue,()=>{Be(),Pe&&Pe()})};De?De(ue,Be,ot):ot()}else a(ue,Ae,Ee)},se=(Ce,Ae,Ee,le=!1,re=!1)=>{const{type:ue,props:be,ref:ie,children:oe,dynamicChildren:me,shapeFlag:Se,patchFlag:xe,dirs:De,cacheIndex:Pe}=Ce;if(xe===-2&&(re=!1),ie!=null&&setRef(ie,null,Ee,Ce,!0),Pe!=null&&(Ae.renderCache[Pe]=void 0),Se&256){Ae.ctx.deactivate(Ce);return}const Be=Se&1&&De,ot=!isAsyncWrapper(Ce);let ct;if(ot&&(ct=be&&be.onVnodeBeforeUnmount)&&invokeVNodeHook(ct,Ae,Ce),Se&6)ye(Ce.component,Ee,le);else{if(Se&128){Ce.suspense.unmount(Ee,le);return}Be&&invokeDirectiveHook(Ce,null,Ae,"beforeUnmount"),Se&64?Ce.type.remove(Ce,Ae,Ee,we,le):me&&!me.hasOnce&&(ue!==Fragment||xe>0&&xe&64)?ee(me,Ae,Ee,!1,!0):(ue===Fragment&&xe&384||!re&&Se&16)&&ee(oe,Ae,Ee),le&&ge(Ce)}(ot&&(ct=be&&be.onVnodeUnmounted)||Be)&&queuePostRenderEffect(()=>{ct&&invokeVNodeHook(ct,Ae,Ce),Be&&invokeDirectiveHook(Ce,null,Ae,"unmounted")},Ee)},ge=Ce=>{const{type:Ae,el:Ee,anchor:le,transition:re}=Ce;if(Ae===Fragment){he(Ee,le);return}if(Ae===Static){D(Ce);return}const ue=()=>{u(Ee),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(Ce.shapeFlag&1&&re&&!re.persisted){const{leave:be,delayLeave:ie}=re,oe=()=>be(Ee,ue);ie?ie(Ce.el,ue,oe):oe()}else ue()},he=(Ce,Ae)=>{let Ee;for(;Ce!==Ae;)Ee=w(Ce),u(Ce),Ce=Ee;u(Ae)},ye=(Ce,Ae,Ee)=>{const{bum:le,scope:re,job:ue,subTree:be,um:ie,m:oe,a:me}=Ce;invalidateMount(oe),invalidateMount(me),le&&invokeArrayFns(le),re.stop(),ue&&(ue.flags|=8,se(be,Ce,Ae,Ee)),ie&&queuePostRenderEffect(ie,Ae),queuePostRenderEffect(()=>{Ce.isUnmounted=!0},Ae),Ae&&Ae.pendingBranch&&!Ae.isUnmounted&&Ce.asyncDep&&!Ce.asyncResolved&&Ce.suspenseId===Ae.pendingId&&(Ae.deps--,Ae.deps===0&&Ae.resolve())},ee=(Ce,Ae,Ee,le=!1,re=!1,ue=0)=>{for(let be=ue;be{if(Ce.shapeFlag&6)return pe(Ce.component.subTree);if(Ce.shapeFlag&128)return Ce.suspense.next();const Ae=w(Ce.anchor||Ce.el),Ee=Ae&&Ae[TeleportEndKey];return Ee?w(Ee):Ae};let ae=!1;const ve=(Ce,Ae,Ee)=>{Ce==null?Ae._vnode&&se(Ae._vnode,null,null,!0):T(Ae._vnode||null,Ce,Ae,null,null,null,Ee),Ae._vnode=Ce,ae||(ae=!0,flushPreFlushCbs(),flushPostFlushCbs(),ae=!1)},we={p:T,um:se,m:ce,r:ge,mt:z,mc:M,pc:J,pbc:V,n:pe,o:t};let _e,Te;return r&&([_e,Te]=r(we)),{render:ve,hydrate:_e,createApp:createAppAPI(ve,_e)}}function resolveChildrenNamespace({type:t,props:r},o){return o==="svg"&&t==="foreignObject"||o==="mathml"&&t==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:o}function toggleRecurse({effect:t,job:r},o){o?(t.flags|=32,r.flags|=4):(t.flags&=-33,r.flags&=-5)}function needTransition(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function traverseStaticChildren(t,r,o=!1){const a=t.children,u=r.children;if(isArray$i(a)&&isArray$i(u))for(let d=0;d>1,t[o[v]]0&&(r[a]=o[d-1]),o[d]=a)}}for(d=o.length,g=o[d-1];d-- >0;)o[d]=g,g=r[g];return o}function locateNonHydratedAsyncRoot(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:locateNonHydratedAsyncRoot(r)}function invalidateMount(t){if(t)for(let r=0;rinject(ssrContextKey);function watchEffect(t,r){return doWatch(t,null,r)}function watch(t,r,o){return doWatch(t,r,o)}function doWatch(t,r,o=EMPTY_OBJ$1){const{immediate:a,deep:u,flush:d,once:g}=o,v=extend$3({},o);let y;if(isInSSRComponentSetup)if(d==="sync"){const w=useSSRContext();y=w.__watcherHandles||(w.__watcherHandles=[])}else if(!r||a)v.once=!0;else return{stop:NOOP,resume:NOOP,pause:NOOP};const A=currentInstance;v.call=(w,S,C)=>callWithAsyncErrorHandling(w,A,S,C);let b=!1;d==="post"?v.scheduler=w=>{queuePostRenderEffect(w,A&&A.suspense)}:d!=="sync"&&(b=!0,v.scheduler=(w,S)=>{S?w():queueJob(w)}),v.augmentJob=w=>{r&&(w.flags|=4),b&&(w.flags|=2,A&&(w.id=A.uid,w.i=A))};const _=watch$1(t,r,v);return y&&y.push(_),_}function instanceWatch(t,r,o){const a=this.proxy,u=isString$7(t)?t.includes(".")?createPathGetter(a,t):()=>a[t]:t.bind(a,a);let d;isFunction$8(r)?d=r:(d=r.handler,o=r);const g=setCurrentInstance(this),v=doWatch(u,d.bind(a),o);return g(),v}function createPathGetter(t,r){const o=r.split(".");return()=>{let a=t;for(let u=0;ur==="modelValue"||r==="model-value"?t.modelModifiers:t[`${r}Modifiers`]||t[`${camelize(r)}Modifiers`]||t[`${hyphenate(r)}Modifiers`];function emit(t,r,...o){if(t.isUnmounted)return;const a=t.vnode.props||EMPTY_OBJ$1;let u=o;const d=r.startsWith("update:"),g=d&&getModelModifiers(a,r.slice(7));g&&(g.trim&&(u=o.map(b=>isString$7(b)?b.trim():b)),g.number&&(u=o.map(looseToNumber)));let v,y=a[v=toHandlerKey(r)]||a[v=toHandlerKey(camelize(r))];!y&&d&&(y=a[v=toHandlerKey(hyphenate(r))]),y&&callWithAsyncErrorHandling(y,t,6,u);const A=a[v+"Once"];if(A){if(!t.emitted)t.emitted={};else if(t.emitted[v])return;t.emitted[v]=!0,callWithAsyncErrorHandling(A,t,6,u)}}function normalizeEmitsOptions(t,r,o=!1){const a=r.emitsCache,u=a.get(t);if(u!==void 0)return u;const d=t.emits;let g={},v=!1;if(!isFunction$8(t)){const y=A=>{const b=normalizeEmitsOptions(A,r,!0);b&&(v=!0,extend$3(g,b))};!o&&r.mixins.length&&r.mixins.forEach(y),t.extends&&y(t.extends),t.mixins&&t.mixins.forEach(y)}return!d&&!v?(isObject$p(t)&&a.set(t,null),null):(isArray$i(d)?d.forEach(y=>g[y]=null):extend$3(g,d),isObject$p(t)&&a.set(t,g),g)}function isEmitListener(t,r){return!t||!isOn$1(r)?!1:(r=r.slice(2).replace(/Once$/,""),hasOwn$c(t,r[0].toLowerCase()+r.slice(1))||hasOwn$c(t,hyphenate(r))||hasOwn$c(t,r))}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:o,proxy:a,withProxy:u,propsOptions:[d],slots:g,attrs:v,emit:y,render:A,renderCache:b,props:_,data:w,setupState:S,ctx:C,inheritAttrs:T}=t,I=setCurrentRenderingInstance(t);let E,F;try{if(o.shapeFlag&4){const D=u||a,x=D;E=normalizeVNode(A.call(x,D,b,_,S,w,C)),F=v}else{const D=r;E=normalizeVNode(D.length>1?D(_,{attrs:v,slots:g,emit:y}):D(_,null)),F=r.props?v:getFunctionalFallthrough(v)}}catch(D){blockStack.length=0,handleError(D,t,1),E=createVNode$1(Comment)}let O=E;if(F&&T!==!1){const D=Object.keys(F),{shapeFlag:x}=O;D.length&&x&7&&(d&&D.some(isModelListener)&&(F=filterModelListeners(F,d)),O=cloneVNode(O,F,!1,!0))}return o.dirs&&(O=cloneVNode(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(o.dirs):o.dirs),o.transition&&setTransitionHooks(O,o.transition),E=O,setCurrentRenderingInstance(I),E}const getFunctionalFallthrough=t=>{let r;for(const o in t)(o==="class"||o==="style"||isOn$1(o))&&((r||(r={}))[o]=t[o]);return r},filterModelListeners=(t,r)=>{const o={};for(const a in t)(!isModelListener(a)||!(a.slice(9)in r))&&(o[a]=t[a]);return o};function shouldUpdateComponent(t,r,o){const{props:a,children:u,component:d}=t,{props:g,children:v,patchFlag:y}=r,A=d.emitsOptions;if(r.dirs||r.transition)return!0;if(o&&y>=0){if(y&1024)return!0;if(y&16)return a?hasPropsChanged(a,g,A):!!g;if(y&8){const b=r.dynamicProps;for(let _=0;_t.__isSuspense;function queueEffectWithSuspense(t,r){r&&r.pendingBranch?isArray$i(t)?r.effects.push(...t):r.effects.push(t):queuePostFlushCb(t)}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(t=!1){blockStack.push(currentBlock=t?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(t){isBlockTreeEnabled+=t,t<0&¤tBlock&&(currentBlock.hasOnce=!0)}function setupBlock(t){return t.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),t}function createElementBlock(t,r,o,a,u,d){return setupBlock(createBaseVNode(t,r,o,a,u,d,!0))}function createBlock(t,r,o,a,u){return setupBlock(createVNode$1(t,r,o,a,u,!0))}function isVNode$1(t){return t?t.__v_isVNode===!0:!1}function isSameVNodeType(t,r){return t.type===r.type&&t.key===r.key}const normalizeKey=({key:t})=>t!=null?t:null,normalizeRef=({ref:t,ref_key:r,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?isString$7(t)||isRef(t)||isFunction$8(t)?{i:currentRenderingInstance,r:t,k:r,f:!!o}:t:null);function createBaseVNode(t,r=null,o=null,a=0,u=null,d=t===Fragment?0:1,g=!1,v=!1){const y={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:d,patchFlag:a,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return v?(normalizeChildren(y,o),d&128&&t.normalize(y)):o&&(y.shapeFlag|=isString$7(o)?8:16),isBlockTreeEnabled>0&&!g&¤tBlock&&(y.patchFlag>0||d&6)&&y.patchFlag!==32&¤tBlock.push(y),y}const createVNode$1=_createVNode;function _createVNode(t,r=null,o=null,a=0,u=null,d=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode$1(t)){const v=cloneVNode(t,r,!0);return o&&normalizeChildren(v,o),isBlockTreeEnabled>0&&!d&¤tBlock&&(v.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=v:currentBlock.push(v)),v.patchFlag=-2,v}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:v,style:y}=r;v&&!isString$7(v)&&(r.class=normalizeClass(v)),isObject$p(y)&&(isProxy(y)&&!isArray$i(y)&&(y=extend$3({},y)),r.style=normalizeStyle$1(y))}const g=isString$7(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$p(t)?4:isFunction$8(t)?2:0;return createBaseVNode(t,r,o,a,u,g,d,!0)}function guardReactiveProps(t){return t?isProxy(t)||isInternalObject(t)?extend$3({},t):t:null}function cloneVNode(t,r,o=!1,a=!1){const{props:u,ref:d,patchFlag:g,children:v,transition:y}=t,A=r?mergeProps(u||{},r):u,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:A,key:A&&normalizeKey(A),ref:r&&r.ref?o&&d?isArray$i(d)?d.concat(normalizeRef(r)):[d,normalizeRef(r)]:normalizeRef(r):d,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:v,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?g===-1?16:g|16:g,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:y,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&cloneVNode(t.ssContent),ssFallback:t.ssFallback&&cloneVNode(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return y&&a&&setTransitionHooks(b,y.clone(b)),b}function createTextVNode(t=" ",r=0){return createVNode$1(Text,null,t,r)}function createCommentVNode(t="",r=!1){return r?(openBlock(),createBlock(Comment,null,t)):createVNode$1(Comment,null,t)}function normalizeVNode(t){return t==null||typeof t=="boolean"?createVNode$1(Comment):isArray$i(t)?createVNode$1(Fragment,null,t.slice()):typeof t=="object"?cloneIfMounted(t):createVNode$1(Text,null,String(t))}function cloneIfMounted(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:cloneVNode(t)}function normalizeChildren(t,r){let o=0;const{shapeFlag:a}=t;if(r==null)r=null;else if(isArray$i(r))o=16;else if(typeof r=="object")if(a&65){const u=r.default;u&&(u._c&&(u._d=!1),normalizeChildren(t,u()),u._c&&(u._d=!0));return}else{o=32;const u=r._;!u&&!isInternalObject(r)?r._ctx=currentRenderingInstance:u===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$8(r)?(r={default:r,_ctx:currentRenderingInstance},o=32):(r=String(r),a&64?(o=16,r=[createTextVNode(r)]):o=8);t.children=r,t.shapeFlag|=o}function mergeProps(...t){const r={};for(let o=0;ocurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const t=getGlobalThis$2(),r=(o,a)=>{let u;return(u=t[o])||(u=t[o]=[]),u.push(a),d=>{u.length>1?u.forEach(g=>g(d)):u[0](d)}};internalSetCurrentInstance=r("__VUE_INSTANCE_SETTERS__",o=>currentInstance=o),setInSSRSetupState=r("__VUE_SSR_SETTERS__",o=>isInSSRComponentSetup=o)}const setCurrentInstance=t=>{const r=currentInstance;return internalSetCurrentInstance(t),t.scope.on(),()=>{t.scope.off(),internalSetCurrentInstance(r)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(t){return t.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(t,r=!1,o=!1){r&&setInSSRSetupState(r);const{props:a,children:u}=t.vnode,d=isStatefulComponent(t);initProps$1(t,a,d,r),initSlots(t,u,o);const g=d?setupStatefulComponent(t,r):void 0;return r&&setInSSRSetupState(!1),g}function setupStatefulComponent(t,r){const o=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,PublicInstanceProxyHandlers);const{setup:a}=o;if(a){const u=t.setupContext=a.length>1?createSetupContext(t):null,d=setCurrentInstance(t);pauseTracking();const g=callWithErrorHandling(a,t,0,[t.props,u]);if(resetTracking(),d(),isPromise$1(g)){if(isAsyncWrapper(t)||markAsyncBoundary(t),g.then(unsetCurrentInstance,unsetCurrentInstance),r)return g.then(v=>{handleSetupResult(t,v,r)}).catch(v=>{handleError(v,t,0)});t.asyncDep=g}else handleSetupResult(t,g,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,o){isFunction$8(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$p(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,o)}let compile$1;function finishComponentSetup(t,r,o){const a=t.type;if(!t.render){if(!r&&compile$1&&!a.render){const u=a.template||resolveMergedOptions(t).template;if(u){const{isCustomElement:d,compilerOptions:g}=t.appContext.config,{delimiters:v,compilerOptions:y}=a,A=extend$3(extend$3({isCustomElement:d,delimiters:v},g),y);a.render=compile$1(u,A)}}t.render=a.render||NOOP}{const u=setCurrentInstance(t);pauseTracking();try{applyOptions(t)}finally{resetTracking(),u()}}}const attrsProxyHandlers={get(t,r){return track(t,"get",""),t[r]}};function createSetupContext(t){const r=o=>{t.exposed=o||{}};return{attrs:new Proxy(t.attrs,attrsProxyHandlers),slots:t.slots,emit:t.emit,expose:r}}function getComponentPublicInstance(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(proxyRefs(markRaw(t.exposed)),{get(r,o){if(o in r)return r[o];if(o in publicPropertiesMap)return publicPropertiesMap[o](t)},has(r,o){return o in r||o in publicPropertiesMap}})):t.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=t=>t.replace(classifyRE,r=>r.toUpperCase()).replace(/[-_]/g,"");function getComponentName(t,r=!0){return isFunction$8(t)?t.displayName||t.name:t.name||r&&t.__name}function formatComponentName(t,r,o=!1){let a=getComponentName(r);if(!a&&r.__file){const u=r.__file.match(/([^/\\]+)\.\w+$/);u&&(a=u[1])}if(!a&&t&&t.parent){const u=d=>{for(const g in d)if(d[g]===r)return g};a=u(t.components||t.parent.type.components)||u(t.appContext.components)}return a?classify(a):o?"App":"Anonymous"}function isClassComponent(t){return isFunction$8(t)&&"__vccOpts"in t}const computed=(t,r)=>computed$1(t,r,isInSSRComponentSetup);function h(t,r,o){const a=arguments.length;return a===2?isObject$p(r)&&!isArray$i(r)?isVNode$1(r)?createVNode$1(t,null,[r]):createVNode$1(t,r):createVNode$1(t,null,r):(a>3?o=Array.prototype.slice.call(arguments,2):a===3&&isVNode$1(o)&&(o=[o]),createVNode$1(t,r,o))}const version$3="3.5.4";/** +`],...formatTraceEntry(o))}),r}function formatTraceEntry({vnode:t,recurseCount:r}){const o=r>0?`... (${r} recursive calls)`:"",a=t.component?t.component.parent==null:!1,u=` at <${formatComponentName(t.component,t.type,a)}`,d=">"+o;return t.props?[u,...formatProps(t.props),d]:[u+d]}function formatProps(t){const r=[],o=Object.keys(t);return o.slice(0,3).forEach(a=>{r.push(...formatProp(a,t[a]))}),o.length>3&&r.push(" ..."),r}function formatProp(t,r,o){return isString$7(r)?(r=JSON.stringify(r),o?r:[`${t}=${r}`]):typeof r=="number"||typeof r=="boolean"||r==null?o?r:[`${t}=${r}`]:isRef(r)?(r=formatProp(t,toRaw(r.value),!0),o?r:[`${t}=Ref<`,r,">"]):isFunction$8(r)?[`${t}=fn${r.name?`<${r.name}>`:""}`]:(r=toRaw(r),o?r:[`${t}=`,r])}function callWithErrorHandling(t,r,o,a){try{return a?t(...a):t()}catch(u){handleError(u,r,o)}}function callWithAsyncErrorHandling(t,r,o,a){if(isFunction$8(t)){const u=callWithErrorHandling(t,r,o,a);return u&&isPromise$1(u)&&u.catch(d=>{handleError(d,r,o)}),u}if(isArray$i(t)){const u=[];for(let d=0;d>>1,u=queue$1[a],d=getId$2(u);d=getId$2(o)?queue$1.push(t):queue$1.splice(findInsertionIndex$1(r),0,t),t.flags|=1,queueFlush()}}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(t){isArray$i(t)?pendingPostFlushCbs.push(...t):activePostFlushCbs&&t.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,t):t.flags&1||(pendingPostFlushCbs.push(t),t.flags|=1),queueFlush()}function flushPreFlushCbs(t,r,o=isFlushing?flushIndex+1:0){for(;ogetId$2(o)-getId$2(a));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...r);return}for(activePostFlushCbs=r,postFlushIndex=0;postFlushIndext.id==null?t.flags&2?-1:1/0:t.id;function flushJobs(t){isFlushPending=!1,isFlushing=!0;const r=NOOP;try{for(flushIndex=0;flushIndex{a._d&&setBlockTracking(-1);const d=setCurrentRenderingInstance(r);let g;try{g=t(...u)}finally{setCurrentRenderingInstance(d),a._d&&setBlockTracking(1)}return g};return a._n=!0,a._c=!0,a._d=!0,a}function withDirectives(t,r){if(currentRenderingInstance===null)return t;const o=getComponentPublicInstance(currentRenderingInstance),a=t.dirs||(t.dirs=[]);for(let u=0;ut.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTeleportDeferred=t=>t&&(t.defer||t.defer===""),isTargetSVG=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,isTargetMathML=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,resolveTarget=(t,r)=>{const o=t&&t.to;return isString$7(o)?r?r(o):null:o},TeleportImpl={name:"Teleport",__isTeleport:!0,process(t,r,o,a,u,d,g,v,y,A){const{mc:b,pc:_,pbc:w,o:{insert:S,querySelector:C,createText:T,createComment:I}}=A,E=isTeleportDisabled(r.props);let{shapeFlag:F,children:O,dynamicChildren:D}=r;if(t==null){const x=r.el=T(""),P=r.anchor=T("");S(x,o,a),S(P,o,a);const G=(N,V)=>{F&16&&b(O,N,V,u,d,g,v,y)},M=()=>{const N=r.target=resolveTarget(r.props,C),V=prepareAnchor(N,r,T,S);N&&(g!=="svg"&&isTargetSVG(N)?g="svg":g!=="mathml"&&isTargetMathML(N)&&(g="mathml"),E||(G(N,V),updateCssVars(r)))};E&&(G(o,P),updateCssVars(r)),isTeleportDeferred(r.props)?queuePostRenderEffect(M,d):M()}else{r.el=t.el,r.targetStart=t.targetStart;const x=r.anchor=t.anchor,P=r.target=t.target,G=r.targetAnchor=t.targetAnchor,M=isTeleportDisabled(t.props),N=M?o:P,V=M?x:G;if(g==="svg"||isTargetSVG(P)?g="svg":(g==="mathml"||isTargetMathML(P))&&(g="mathml"),D?(w(t.dynamicChildren,D,N,u,d,g,v),traverseStaticChildren(t,r,!0)):y||_(t,r,N,V,u,d,g,v,!1),E)M?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):moveTeleport(r,o,x,A,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const Z=r.target=resolveTarget(r.props,C);Z&&moveTeleport(r,Z,null,A,0)}else M&&moveTeleport(r,P,G,A,1);updateCssVars(r)}},remove(t,r,o,{um:a,o:{remove:u}},d){const{shapeFlag:g,children:v,anchor:y,targetStart:A,targetAnchor:b,target:_,props:w}=t;if(_&&(u(A),u(b)),d&&u(y),g&16){const S=d||!isTeleportDisabled(w);for(let C=0;C{t.isMounted=!0}),onBeforeUnmount(()=>{t.isUnmounting=!0}),t}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=t=>{const r=t.subTree;return r.component?recursiveGetSubtree(r.component):r},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(t,{slots:r}){const o=getCurrentInstance(),a=useTransitionState();return()=>{const u=r.default&&getTransitionRawChildren(r.default(),!0);if(!u||!u.length)return;const d=findNonCommentChild(u),g=toRaw(t),{mode:v}=g;if(a.isLeaving)return emptyPlaceholder(d);const y=getInnerChild$1(d);if(!y)return emptyPlaceholder(d);let A=resolveTransitionHooks(y,g,a,o,w=>A=w);y.type!==Comment&&setTransitionHooks(y,A);const b=o.subTree,_=b&&getInnerChild$1(b);if(_&&_.type!==Comment&&!isSameVNodeType(y,_)&&recursiveGetSubtree(o).type!==Comment){const w=resolveTransitionHooks(_,g,a,o);if(setTransitionHooks(_,w),v==="out-in"&&y.type!==Comment)return a.isLeaving=!0,w.afterLeave=()=>{a.isLeaving=!1,o.job.flags&8||o.update(),delete w.afterLeave},emptyPlaceholder(d);v==="in-out"&&y.type!==Comment&&(w.delayLeave=(S,C,T)=>{const I=getLeavingNodesForType(a,_);I[String(_.key)]=_,S[leaveCbKey]=()=>{C(),S[leaveCbKey]=void 0,delete A.delayedLeave},A.delayedLeave=T})}return d}}};function findNonCommentChild(t){let r=t[0];if(t.length>1){for(const o of t)if(o.type!==Comment){r=o;break}}return r}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:o}=t;let a=o.get(r.type);return a||(a=Object.create(null),o.set(r.type,a)),a}function resolveTransitionHooks(t,r,o,a,u){const{appear:d,mode:g,persisted:v=!1,onBeforeEnter:y,onEnter:A,onAfterEnter:b,onEnterCancelled:_,onBeforeLeave:w,onLeave:S,onAfterLeave:C,onLeaveCancelled:T,onBeforeAppear:I,onAppear:E,onAfterAppear:F,onAppearCancelled:O}=r,D=String(t.key),x=getLeavingNodesForType(o,t),P=(N,V)=>{N&&callWithAsyncErrorHandling(N,a,9,V)},G=(N,V)=>{const Z=V[1];P(N,V),isArray$i(N)?N.every(H=>H.length<=1)&&Z():N.length<=1&&Z()},M={mode:g,persisted:v,beforeEnter(N){let V=y;if(!o.isMounted)if(d)V=I||y;else return;N[leaveCbKey]&&N[leaveCbKey](!0);const Z=x[D];Z&&isSameVNodeType(t,Z)&&Z.el[leaveCbKey]&&Z.el[leaveCbKey](),P(V,[N])},enter(N){let V=A,Z=b,H=_;if(!o.isMounted)if(d)V=E||A,Z=F||b,H=O||_;else return;let B=!1;const z=N[enterCbKey$1]=U=>{B||(B=!0,U?P(H,[N]):P(Z,[N]),M.delayedLeave&&M.delayedLeave(),N[enterCbKey$1]=void 0)};V?G(V,[N,z]):z()},leave(N,V){const Z=String(t.key);if(N[enterCbKey$1]&&N[enterCbKey$1](!0),o.isUnmounting)return V();P(w,[N]);let H=!1;const B=N[leaveCbKey]=z=>{H||(H=!0,V(),z?P(T,[N]):P(C,[N]),N[leaveCbKey]=void 0,x[Z]===t&&delete x[Z])};x[Z]=t,S?G(S,[N,B]):B()},clone(N){const V=resolveTransitionHooks(N,r,o,a,u);return u&&u(V),V}};return M}function emptyPlaceholder(t){if(isKeepAlive(t))return t=cloneVNode(t),t.children=null,t}function getInnerChild$1(t){if(!isKeepAlive(t))return isTeleport(t.type)&&t.children?findNonCommentChild(t.children):t;const{shapeFlag:r,children:o}=t;if(o){if(r&16)return o[0];if(r&32&&isFunction$8(o.default))return o.default()}}function setTransitionHooks(t,r){t.shapeFlag&6&&t.component?(t.transition=r,setTransitionHooks(t.component.subTree,r)):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function getTransitionRawChildren(t,r=!1,o){let a=[],u=0;for(let d=0;d1)for(let d=0;dextend$3({name:t.name},r,{setup:t}))():t}function markAsyncBoundary(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function setRef(t,r,o,a,u=!1){if(isArray$i(t)){t.forEach((C,T)=>setRef(C,r&&(isArray$i(r)?r[T]:r),o,a,u));return}if(isAsyncWrapper(a)&&!u)return;const d=a.shapeFlag&4?getComponentPublicInstance(a.component):a.el,g=u?null:d,{i:v,r:y}=t,A=r&&r.r,b=v.refs===EMPTY_OBJ$1?v.refs={}:v.refs,_=v.setupState,w=toRaw(_),S=_===EMPTY_OBJ$1?()=>!1:C=>hasOwn$c(w,C);if(A!=null&&A!==y&&(isString$7(A)?(b[A]=null,S(A)&&(_[A]=null)):isRef(A)&&(A.value=null)),isFunction$8(y))callWithErrorHandling(y,v,12,[g,b]);else{const C=isString$7(y),T=isRef(y);if(C||T){const I=()=>{if(t.f){const E=C?S(y)?_[y]:b[y]:y.value;u?isArray$i(E)&&remove$1(E,d):isArray$i(E)?E.includes(d)||E.push(d):C?(b[y]=[d],S(y)&&(_[y]=b[y])):(y.value=[d],t.k&&(b[t.k]=y.value))}else C?(b[y]=g,S(y)&&(_[y]=g)):T&&(y.value=g,t.k&&(b[t.k]=g))};g?(I.id=-1,queuePostRenderEffect(I,o)):I()}}}const isComment=t=>t.nodeType===8;function forEachElement(t,r){if(isComment(t)&&t.data==="["){let o=1,a=t.nextSibling;for(;a;){if(a.nodeType===1)r(a);else if(isComment(a))if(a.data==="]"){if(--o===0)break}else a.data==="["&&o++;a=a.nextSibling}}else r(t)}const isAsyncWrapper=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(t){isFunction$8(t)&&(t={loader:t});const{loader:r,loadingComponent:o,errorComponent:a,delay:u=200,hydrate:d,timeout:g,suspensible:v=!0,onError:y}=t;let A=null,b,_=0;const w=()=>(_++,A=null,S()),S=()=>{let C;return A||(C=A=r().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),y)return new Promise((I,E)=>{y(T,()=>I(w()),()=>E(T),_+1)});throw T}).then(T=>C!==A&&A?A:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),b=T,T)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:S,__asyncHydrate(C,T,I){const E=d?()=>{const F=d(I,O=>forEachElement(C,O));F&&(T.bum||(T.bum=[])).push(F)}:I;b?E():S().then(()=>!T.isUnmounted&&E())},get __asyncResolved(){return b},setup(){const C=currentInstance;if(markAsyncBoundary(C),b)return()=>createInnerComp(b,C);const T=O=>{A=null,handleError(O,C,13,!a)};if(v&&C.suspense||isInSSRComponentSetup)return S().then(O=>()=>createInnerComp(O,C)).catch(O=>(T(O),()=>a?createVNode$1(a,{error:O}):null));const I=ref(!1),E=ref(),F=ref(!!u);return u&&setTimeout(()=>{F.value=!1},u),g!=null&&setTimeout(()=>{if(!I.value&&!E.value){const O=new Error(`Async component timed out after ${g}ms.`);T(O),E.value=O}},g),S().then(()=>{I.value=!0,C.parent&&isKeepAlive(C.parent.vnode)&&queueJob(C.parent.update)}).catch(O=>{T(O),E.value=O}),()=>{if(I.value&&b)return createInnerComp(b,C);if(E.value&&a)return createVNode$1(a,{error:E.value});if(o&&!F.value)return createVNode$1(o)}}})}function createInnerComp(t,r){const{ref:o,props:a,children:u,ce:d}=r.vnode,g=createVNode$1(t,a,u);return g.ref=o,g.ce=d,delete r.vnode.ce,g}const isKeepAlive=t=>t.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const o=getCurrentInstance(),a=o.ctx;if(!a.renderer)return()=>{const F=r.default&&r.default();return F&&F.length===1?F[0]:F};const u=new Map,d=new Set;let g=null;const v=o.suspense,{renderer:{p:y,m:A,um:b,o:{createElement:_}}}=a,w=_("div");a.activate=(F,O,D,x,P)=>{const G=F.component;A(F,O,D,0,v),y(G.vnode,F,O,D,G,v,x,F.slotScopeIds,P),queuePostRenderEffect(()=>{G.isDeactivated=!1,G.a&&invokeArrayFns(G.a);const M=F.props&&F.props.onVnodeMounted;M&&invokeVNodeHook(M,G.parent,F)},v)},a.deactivate=F=>{const O=F.component;invalidateMount(O.m),invalidateMount(O.a),A(F,w,null,1,v),queuePostRenderEffect(()=>{O.da&&invokeArrayFns(O.da);const D=F.props&&F.props.onVnodeUnmounted;D&&invokeVNodeHook(D,O.parent,F),O.isDeactivated=!0},v)};function S(F){resetShapeFlag(F),b(F,o,v,!0)}function C(F){u.forEach((O,D)=>{const x=getComponentName(O.type);x&&!F(x)&&T(D)})}function T(F){const O=u.get(F);O&&(!g||!isSameVNodeType(O,g))?S(O):g&&resetShapeFlag(g),u.delete(F),d.delete(F)}watch(()=>[t.include,t.exclude],([F,O])=>{F&&C(D=>matches$1(F,D)),O&&C(D=>!matches$1(O,D))},{flush:"post",deep:!0});let I=null;const E=()=>{I!=null&&(isSuspense(o.subTree.type)?queuePostRenderEffect(()=>{u.set(I,getInnerChild(o.subTree))},o.subTree.suspense):u.set(I,getInnerChild(o.subTree)))};return onMounted(E),onUpdated(E),onBeforeUnmount(()=>{u.forEach(F=>{const{subTree:O,suspense:D}=o,x=getInnerChild(O);if(F.type===x.type&&F.key===x.key){resetShapeFlag(x);const P=x.component.da;P&&queuePostRenderEffect(P,D);return}S(F)})}),()=>{if(I=null,!r.default)return g=null;const F=r.default(),O=F[0];if(F.length>1)return g=null,F;if(!isVNode$1(O)||!(O.shapeFlag&4)&&!(O.shapeFlag&128))return g=null,O;let D=getInnerChild(O);if(D.type===Comment)return g=null,D;const x=D.type,P=getComponentName(isAsyncWrapper(D)?D.type.__asyncResolved||{}:x),{include:G,exclude:M,max:N}=t;if(G&&(!P||!matches$1(G,P))||M&&P&&matches$1(M,P))return D.shapeFlag&=-257,g=D,O;const V=D.key==null?x:D.key,Z=u.get(V);return D.el&&(D=cloneVNode(D),O.shapeFlag&128&&(O.ssContent=D)),I=V,Z?(D.el=Z.el,D.component=Z.component,D.transition&&setTransitionHooks(D,D.transition),D.shapeFlag|=512,d.delete(V),d.add(V)):(d.add(V),N&&d.size>parseInt(N,10)&&T(d.values().next().value)),D.shapeFlag|=256,g=D,isSuspense(O.type)?O:D}}},KeepAlive=KeepAliveImpl;function matches$1(t,r){return isArray$i(t)?t.some(o=>matches$1(o,r)):isString$7(t)?t.split(",").includes(r):isRegExp$5(t)?(t.lastIndex=0,t.test(r)):!1}function onActivated(t,r){registerKeepAliveHook(t,"a",r)}function onDeactivated(t,r){registerKeepAliveHook(t,"da",r)}function registerKeepAliveHook(t,r,o=currentInstance){const a=t.__wdc||(t.__wdc=()=>{let u=o;for(;u;){if(u.isDeactivated)return;u=u.parent}return t()});if(injectHook(r,a,o),o){let u=o.parent;for(;u&&u.parent;)isKeepAlive(u.parent.vnode)&&injectToKeepAliveRoot(a,r,o,u),u=u.parent}}function injectToKeepAliveRoot(t,r,o,a){const u=injectHook(r,t,a,!0);onUnmounted(()=>{remove$1(a[r],u)},o)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,o=currentInstance,a=!1){if(o){const u=o[t]||(o[t]=[]),d=r.__weh||(r.__weh=(...g)=>{pauseTracking();const v=setCurrentInstance(o),y=callWithAsyncErrorHandling(r,o,t,g);return v(),resetTracking(),y});return a?u.unshift(d):u.push(d),d}}const createHook=t=>(r,o=currentInstance)=>{(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...a)=>r(...a),o)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(t,r=currentInstance){injectHook("ec",t,r)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(t,r){return resolveAsset(COMPONENTS,t,!0,r)||t}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(t){return isString$7(t)?resolveAsset(COMPONENTS,t,!1)||t:t||NULL_DYNAMIC_COMPONENT}function resolveDirective(t){return resolveAsset(DIRECTIVES,t)}function resolveAsset(t,r,o=!0,a=!1){const u=currentRenderingInstance||currentInstance;if(u){const d=u.type;if(t===COMPONENTS){const v=getComponentName(d,!1);if(v&&(v===r||v===camelize(r)||v===capitalize$3(camelize(r))))return d}const g=resolve$1(u[t]||d[t],r)||resolve$1(u.appContext[t],r);return!g&&a?d:g}}function resolve$1(t,r){return t&&(t[r]||t[camelize(r)]||t[capitalize$3(camelize(r))])}function renderList(t,r,o,a){let u;const d=o&&o[a],g=isArray$i(t);if(g||isString$7(t)){const v=g&&isReactive(t);let y=!1;v&&(y=!isShallow(t),t=shallowReadArray(t)),u=new Array(t.length);for(let A=0,b=t.length;Ar(v,y,void 0,d&&d[y]));else{const v=Object.keys(t);u=new Array(v.length);for(let y=0,A=v.length;y{const d=a.fn(...u);return d&&(d.key=a.key),d}:a.fn)}return t}function renderSlot(t,r,o={},a,u){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return r!=="default"&&(o.name=r),openBlock(),createBlock(Fragment,null,[createVNode$1("slot",o,a&&a())],64);let d=t[r];d&&d._c&&(d._d=!1),openBlock();const g=d&&ensureValidVNode(d(o)),v=createBlock(Fragment,{key:(o.key||g&&g.key||`_${r}`)+(!g&&a?"_fb":"")},g||(a?a():[]),g&&t._===1?64:-2);return!u&&v.scopeId&&(v.slotScopeIds=[v.scopeId+"-s"]),d&&d._c&&(d._d=!0),v}function ensureValidVNode(t){return t.some(r=>isVNode$1(r)?!(r.type===Comment||r.type===Fragment&&!ensureValidVNode(r.children)):!0)?t:null}function toHandlers(t,r){const o={};for(const a in t)o[r&&/[A-Z]/.test(a)?`on:${a}`:toHandlerKey(a)]=t[a];return o}const getPublicInstance=t=>t?isStatefulComponent(t)?getComponentPublicInstance(t):getPublicInstance(t.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>getPublicInstance(t.parent),$root:t=>getPublicInstance(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>resolveMergedOptions(t),$forceUpdate:t=>t.f||(t.f=()=>{queueJob(t.update)}),$nextTick:t=>t.n||(t.n=nextTick.bind(t.proxy)),$watch:t=>instanceWatch.bind(t)}),hasSetupBinding=(t,r)=>t!==EMPTY_OBJ$1&&!t.__isScriptSetup&&hasOwn$c(t,r),PublicInstanceProxyHandlers={get({_:t},r){if(r==="__v_skip")return!0;const{ctx:o,setupState:a,data:u,props:d,accessCache:g,type:v,appContext:y}=t;let A;if(r[0]!=="$"){const S=g[r];if(S!==void 0)switch(S){case 1:return a[r];case 2:return u[r];case 4:return o[r];case 3:return d[r]}else{if(hasSetupBinding(a,r))return g[r]=1,a[r];if(u!==EMPTY_OBJ$1&&hasOwn$c(u,r))return g[r]=2,u[r];if((A=t.propsOptions[0])&&hasOwn$c(A,r))return g[r]=3,d[r];if(o!==EMPTY_OBJ$1&&hasOwn$c(o,r))return g[r]=4,o[r];shouldCacheAccess&&(g[r]=0)}}const b=publicPropertiesMap[r];let _,w;if(b)return r==="$attrs"&&track(t.attrs,"get",""),b(t);if((_=v.__cssModules)&&(_=_[r]))return _;if(o!==EMPTY_OBJ$1&&hasOwn$c(o,r))return g[r]=4,o[r];if(w=y.config.globalProperties,hasOwn$c(w,r))return w[r]},set({_:t},r,o){const{data:a,setupState:u,ctx:d}=t;return hasSetupBinding(u,r)?(u[r]=o,!0):a!==EMPTY_OBJ$1&&hasOwn$c(a,r)?(a[r]=o,!0):hasOwn$c(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(d[r]=o,!0)},has({_:{data:t,setupState:r,accessCache:o,ctx:a,appContext:u,propsOptions:d}},g){let v;return!!o[g]||t!==EMPTY_OBJ$1&&hasOwn$c(t,g)||hasSetupBinding(r,g)||(v=d[0])&&hasOwn$c(v,g)||hasOwn$c(a,g)||hasOwn$c(publicPropertiesMap,g)||hasOwn$c(u.config.globalProperties,g)},defineProperty(t,r,o){return o.get!=null?t._.accessCache[r]=0:hasOwn$c(o,"value")&&this.set(t,r,o.value,null),Reflect.defineProperty(t,r,o)}};function normalizePropsOrEmits(t){return isArray$i(t)?t.reduce((r,o)=>(r[o]=null,r),{}):t}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),o=t.proxy,a=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:u,computed:d,methods:g,watch:v,provide:y,inject:A,created:b,beforeMount:_,mounted:w,beforeUpdate:S,updated:C,activated:T,deactivated:I,beforeDestroy:E,beforeUnmount:F,destroyed:O,unmounted:D,render:x,renderTracked:P,renderTriggered:G,errorCaptured:M,serverPrefetch:N,expose:V,inheritAttrs:Z,components:H,directives:B,filters:z}=r;if(A&&resolveInjections(A,a,null),g)for(const X in g){const J=g[X];isFunction$8(J)&&(a[X]=J.bind(o))}if(u){const X=u.call(o,o);isObject$p(X)&&(t.data=reactive(X))}if(shouldCacheAccess=!0,d)for(const X in d){const J=d[X],ne=isFunction$8(J)?J.bind(o,o):isFunction$8(J.get)?J.get.bind(o,o):NOOP,te=!isFunction$8(J)&&isFunction$8(J.set)?J.set.bind(o):NOOP,ce=computed({get:ne,set:te});Object.defineProperty(a,X,{enumerable:!0,configurable:!0,get:()=>ce.value,set:se=>ce.value=se})}if(v)for(const X in v)createWatcher(v[X],a,o,X);if(y){const X=isFunction$8(y)?y.call(o):y;Reflect.ownKeys(X).forEach(J=>{provide(J,X[J])})}b&&callHook$1(b,t,"c");function Q(X,J){isArray$i(J)?J.forEach(ne=>X(ne.bind(o))):J&&X(J.bind(o))}if(Q(onBeforeMount,_),Q(onMounted,w),Q(onBeforeUpdate,S),Q(onUpdated,C),Q(onActivated,T),Q(onDeactivated,I),Q(onErrorCaptured,M),Q(onRenderTracked,P),Q(onRenderTriggered,G),Q(onBeforeUnmount,F),Q(onUnmounted,D),Q(onServerPrefetch,N),isArray$i(V))if(V.length){const X=t.exposed||(t.exposed={});V.forEach(J=>{Object.defineProperty(X,J,{get:()=>o[J],set:ne=>o[J]=ne})})}else t.exposed||(t.exposed={});x&&t.render===NOOP&&(t.render=x),Z!=null&&(t.inheritAttrs=Z),H&&(t.components=H),B&&(t.directives=B),N&&markAsyncBoundary(t)}function resolveInjections(t,r,o=NOOP){isArray$i(t)&&(t=normalizeInject(t));for(const a in t){const u=t[a];let d;isObject$p(u)?"default"in u?d=inject(u.from||a,u.default,!0):d=inject(u.from||a):d=inject(u),isRef(d)?Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>d.value,set:g=>d.value=g}):r[a]=d}}function callHook$1(t,r,o){callWithAsyncErrorHandling(isArray$i(t)?t.map(a=>a.bind(r.proxy)):t.bind(r.proxy),r,o)}function createWatcher(t,r,o,a){let u=a.includes(".")?createPathGetter(o,a):()=>o[a];if(isString$7(t)){const d=r[t];isFunction$8(d)&&watch(u,d)}else if(isFunction$8(t))watch(u,t.bind(o));else if(isObject$p(t))if(isArray$i(t))t.forEach(d=>createWatcher(d,r,o,a));else{const d=isFunction$8(t.handler)?t.handler.bind(o):r[t.handler];isFunction$8(d)&&watch(u,d,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:o,extends:a}=r,{mixins:u,optionsCache:d,config:{optionMergeStrategies:g}}=t.appContext,v=d.get(r);let y;return v?y=v:!u.length&&!o&&!a?y=r:(y={},u.length&&u.forEach(A=>mergeOptions$1(y,A,g,!0)),mergeOptions$1(y,r,g)),isObject$p(r)&&d.set(r,y),y}function mergeOptions$1(t,r,o,a=!1){const{mixins:u,extends:d}=r;d&&mergeOptions$1(t,d,o,!0),u&&u.forEach(g=>mergeOptions$1(t,g,o,!0));for(const g in r)if(!(a&&g==="expose")){const v=internalOptionMergeStrats[g]||o&&o[g];t[g]=v?v(t[g],r[g]):r[g]}return t}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(t,r){return r?t?function(){return extend$3(isFunction$8(t)?t.call(this,this):t,isFunction$8(r)?r.call(this,this):r)}:r:t}function mergeInject(t,r){return mergeObjectOptions(normalizeInject(t),normalizeInject(r))}function normalizeInject(t){if(isArray$i(t)){const r={};for(let o=0;o1)return o&&isFunction$8(r)?r.call(a&&a.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=t=>Object.getPrototypeOf(t)===internalObjectProto;function initProps$1(t,r,o,a=!1){const u={},d=createInternalObject();t.propsDefaults=Object.create(null),setFullProps(t,r,u,d);for(const g in t.propsOptions[0])g in u||(u[g]=void 0);o?t.props=a?u:shallowReactive(u):t.type.props?t.props=u:t.props=d,t.attrs=d}function updateProps$2(t,r,o,a){const{props:u,attrs:d,vnode:{patchFlag:g}}=t,v=toRaw(u),[y]=t.propsOptions;let A=!1;if((a||g>0)&&!(g&16)){if(g&8){const b=t.vnode.dynamicProps;for(let _=0;_{y=!0;const[w,S]=normalizePropsOptions(_,r,!0);extend$3(g,w),S&&v.push(...S)};!o&&r.mixins.length&&r.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!d&&!y)return isObject$p(t)&&a.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$i(d))for(let b=0;bt[0]==="_"||t==="$stable",normalizeSlotValue=t=>isArray$i(t)?t.map(normalizeVNode):[normalizeVNode(t)],normalizeSlot$1=(t,r,o)=>{if(r._n)return r;const a=withCtx((...u)=>normalizeSlotValue(r(...u)),o);return a._c=!1,a},normalizeObjectSlots=(t,r,o)=>{const a=t._ctx;for(const u in t){if(isInternalKey(u))continue;const d=t[u];if(isFunction$8(d))r[u]=normalizeSlot$1(u,d,a);else if(d!=null){const g=normalizeSlotValue(d);r[u]=()=>g}}},normalizeVNodeSlots=(t,r)=>{const o=normalizeSlotValue(r);t.slots.default=()=>o},assignSlots=(t,r,o)=>{for(const a in r)(o||a!=="_")&&(t[a]=r[a])},initSlots=(t,r,o)=>{const a=t.slots=createInternalObject();if(t.vnode.shapeFlag&32){const u=r._;u?(assignSlots(a,r,o),o&&def$1(a,"_",u,!0)):normalizeObjectSlots(r,a)}else r&&normalizeVNodeSlots(t,r)},updateSlots=(t,r,o)=>{const{vnode:a,slots:u}=t;let d=!0,g=EMPTY_OBJ$1;if(a.shapeFlag&32){const v=r._;v?o&&v===1?d=!1:assignSlots(u,r,o):(d=!r.$stable,normalizeObjectSlots(r,u)),g=r}else r&&(normalizeVNodeSlots(t,r),g={default:1});if(d)for(const v in u)!isInternalKey(v)&&g[v]==null&&delete u[v]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function baseCreateRenderer(t,r){const o=getGlobalThis$2();o.__VUE__=!0;const{insert:a,remove:u,patchProp:d,createElement:g,createText:v,createComment:y,setText:A,setElementText:b,parentNode:_,nextSibling:w,setScopeId:S=NOOP,insertStaticContent:C}=t,T=(Ce,Ae,Ee,le=null,re=null,ue=null,be=void 0,ie=null,oe=!!Ae.dynamicChildren)=>{if(Ce===Ae)return;Ce&&!isSameVNodeType(Ce,Ae)&&(le=pe(Ce),se(Ce,re,ue,!0),Ce=null),Ae.patchFlag===-2&&(oe=!1,Ae.dynamicChildren=null);const{type:me,ref:Se,shapeFlag:xe}=Ae;switch(me){case Text:I(Ce,Ae,Ee,le);break;case Comment:E(Ce,Ae,Ee,le);break;case Static:Ce==null&&F(Ae,Ee,le,be);break;case Fragment:H(Ce,Ae,Ee,le,re,ue,be,ie,oe);break;default:xe&1?x(Ce,Ae,Ee,le,re,ue,be,ie,oe):xe&6?B(Ce,Ae,Ee,le,re,ue,be,ie,oe):(xe&64||xe&128)&&me.process(Ce,Ae,Ee,le,re,ue,be,ie,oe,we)}Se!=null&&re&&setRef(Se,Ce&&Ce.ref,ue,Ae||Ce,!Ae)},I=(Ce,Ae,Ee,le)=>{if(Ce==null)a(Ae.el=v(Ae.children),Ee,le);else{const re=Ae.el=Ce.el;Ae.children!==Ce.children&&A(re,Ae.children)}},E=(Ce,Ae,Ee,le)=>{Ce==null?a(Ae.el=y(Ae.children||""),Ee,le):Ae.el=Ce.el},F=(Ce,Ae,Ee,le)=>{[Ce.el,Ce.anchor]=C(Ce.children,Ae,Ee,le,Ce.el,Ce.anchor)},O=({el:Ce,anchor:Ae},Ee,le)=>{let re;for(;Ce&&Ce!==Ae;)re=w(Ce),a(Ce,Ee,le),Ce=re;a(Ae,Ee,le)},D=({el:Ce,anchor:Ae})=>{let Ee;for(;Ce&&Ce!==Ae;)Ee=w(Ce),u(Ce),Ce=Ee;u(Ae)},x=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ae.type==="svg"?be="svg":Ae.type==="math"&&(be="mathml"),Ce==null?P(Ae,Ee,le,re,ue,be,ie,oe):N(Ce,Ae,re,ue,be,ie,oe)},P=(Ce,Ae,Ee,le,re,ue,be,ie)=>{let oe,me;const{props:Se,shapeFlag:xe,transition:De,dirs:Pe}=Ce;if(oe=Ce.el=g(Ce.type,ue,Se&&Se.is,Se),xe&8?b(oe,Ce.children):xe&16&&M(Ce.children,oe,null,le,re,resolveChildrenNamespace(Ce,ue),be,ie),Pe&&invokeDirectiveHook(Ce,null,le,"created"),G(oe,Ce,Ce.scopeId,be,le),Se){for(const ot in Se)ot!=="value"&&!isReservedProp(ot)&&d(oe,ot,null,Se[ot],ue,le);"value"in Se&&d(oe,"value",null,Se.value,ue),(me=Se.onVnodeBeforeMount)&&invokeVNodeHook(me,le,Ce)}Pe&&invokeDirectiveHook(Ce,null,le,"beforeMount");const Be=needTransition(re,De);Be&&De.beforeEnter(oe),a(oe,Ae,Ee),((me=Se&&Se.onVnodeMounted)||Be||Pe)&&queuePostRenderEffect(()=>{me&&invokeVNodeHook(me,le,Ce),Be&&De.enter(oe),Pe&&invokeDirectiveHook(Ce,null,le,"mounted")},re)},G=(Ce,Ae,Ee,le,re)=>{if(Ee&&S(Ce,Ee),le)for(let ue=0;ue{for(let me=oe;me{const ie=Ae.el=Ce.el;let{patchFlag:oe,dynamicChildren:me,dirs:Se}=Ae;oe|=Ce.patchFlag&16;const xe=Ce.props||EMPTY_OBJ$1,De=Ae.props||EMPTY_OBJ$1;let Pe;if(Ee&&toggleRecurse(Ee,!1),(Pe=De.onVnodeBeforeUpdate)&&invokeVNodeHook(Pe,Ee,Ae,Ce),Se&&invokeDirectiveHook(Ae,Ce,Ee,"beforeUpdate"),Ee&&toggleRecurse(Ee,!0),(xe.innerHTML&&De.innerHTML==null||xe.textContent&&De.textContent==null)&&b(ie,""),me?V(Ce.dynamicChildren,me,ie,Ee,le,resolveChildrenNamespace(Ae,re),ue):be||J(Ce,Ae,ie,null,Ee,le,resolveChildrenNamespace(Ae,re),ue,!1),oe>0){if(oe&16)Z(ie,xe,De,Ee,re);else if(oe&2&&xe.class!==De.class&&d(ie,"class",null,De.class,re),oe&4&&d(ie,"style",xe.style,De.style,re),oe&8){const Be=Ae.dynamicProps;for(let ot=0;ot{Pe&&invokeVNodeHook(Pe,Ee,Ae,Ce),Se&&invokeDirectiveHook(Ae,Ce,Ee,"updated")},le)},V=(Ce,Ae,Ee,le,re,ue,be)=>{for(let ie=0;ie{if(Ae!==Ee){if(Ae!==EMPTY_OBJ$1)for(const ue in Ae)!isReservedProp(ue)&&!(ue in Ee)&&d(Ce,ue,Ae[ue],null,re,le);for(const ue in Ee){if(isReservedProp(ue))continue;const be=Ee[ue],ie=Ae[ue];be!==ie&&ue!=="value"&&d(Ce,ue,ie,be,re,le)}"value"in Ee&&d(Ce,"value",Ae.value,Ee.value,re)}},H=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{const me=Ae.el=Ce?Ce.el:v(""),Se=Ae.anchor=Ce?Ce.anchor:v("");let{patchFlag:xe,dynamicChildren:De,slotScopeIds:Pe}=Ae;Pe&&(ie=ie?ie.concat(Pe):Pe),Ce==null?(a(me,Ee,le),a(Se,Ee,le),M(Ae.children||[],Ee,Se,re,ue,be,ie,oe)):xe>0&&xe&64&&De&&Ce.dynamicChildren?(V(Ce.dynamicChildren,De,Ee,re,ue,be,ie),(Ae.key!=null||re&&Ae===re.subTree)&&traverseStaticChildren(Ce,Ae,!0)):J(Ce,Ae,Ee,Se,re,ue,be,ie,oe)},B=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ae.slotScopeIds=ie,Ce==null?Ae.shapeFlag&512?re.ctx.activate(Ae,Ee,le,be,oe):z(Ae,Ee,le,re,ue,be,oe):U(Ce,Ae,oe)},z=(Ce,Ae,Ee,le,re,ue,be)=>{const ie=Ce.component=createComponentInstance(Ce,le,re);if(isKeepAlive(Ce)&&(ie.ctx.renderer=we),setupComponent(ie,!1,be),ie.asyncDep){if(re&&re.registerDep(ie,Q,be),!Ce.el){const oe=ie.subTree=createVNode$1(Comment);E(null,oe,Ae,Ee)}}else Q(ie,Ce,Ae,Ee,re,ue,be)},U=(Ce,Ae,Ee)=>{const le=Ae.component=Ce.component;if(shouldUpdateComponent(Ce,Ae,Ee))if(le.asyncDep&&!le.asyncResolved){X(le,Ae,Ee);return}else le.next=Ae,le.update();else Ae.el=Ce.el,le.vnode=Ae},Q=(Ce,Ae,Ee,le,re,ue,be)=>{const ie=()=>{if(Ce.isMounted){let{next:xe,bu:De,u:Pe,parent:Be,vnode:ot}=Ce;{const ke=locateNonHydratedAsyncRoot(Ce);if(ke){xe&&(xe.el=ot.el,X(Ce,xe,be)),ke.asyncDep.then(()=>{Ce.isUnmounted||ie()});return}}let ct=xe,_t;toggleRecurse(Ce,!1),xe?(xe.el=ot.el,X(Ce,xe,be)):xe=ot,De&&invokeArrayFns(De),(_t=xe.props&&xe.props.onVnodeBeforeUpdate)&&invokeVNodeHook(_t,Be,xe,ot),toggleRecurse(Ce,!0);const He=renderComponentRoot(Ce),Ve=Ce.subTree;Ce.subTree=He,T(Ve,He,_(Ve.el),pe(Ve),Ce,re,ue),xe.el=He.el,ct===null&&updateHOCHostEl(Ce,He.el),Pe&&queuePostRenderEffect(Pe,re),(_t=xe.props&&xe.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(_t,Be,xe,ot),re)}else{let xe;const{el:De,props:Pe}=Ae,{bm:Be,m:ot,parent:ct,root:_t,type:He}=Ce,Ve=isAsyncWrapper(Ae);if(toggleRecurse(Ce,!1),Be&&invokeArrayFns(Be),!Ve&&(xe=Pe&&Pe.onVnodeBeforeMount)&&invokeVNodeHook(xe,ct,Ae),toggleRecurse(Ce,!0),De&&Te){const ke=()=>{Ce.subTree=renderComponentRoot(Ce),Te(De,Ce.subTree,Ce,re,null)};Ve&&He.__asyncHydrate?He.__asyncHydrate(De,Ce,ke):ke()}else{_t.ce&&_t.ce._injectChildStyle(He);const ke=Ce.subTree=renderComponentRoot(Ce);T(null,ke,Ee,le,Ce,re,ue),Ae.el=ke.el}if(ot&&queuePostRenderEffect(ot,re),!Ve&&(xe=Pe&&Pe.onVnodeMounted)){const ke=Ae;queuePostRenderEffect(()=>invokeVNodeHook(xe,ct,ke),re)}(Ae.shapeFlag&256||ct&&isAsyncWrapper(ct.vnode)&&ct.vnode.shapeFlag&256)&&Ce.a&&queuePostRenderEffect(Ce.a,re),Ce.isMounted=!0,Ae=Ee=le=null}};Ce.scope.on();const oe=Ce.effect=new ReactiveEffect(ie);Ce.scope.off();const me=Ce.update=oe.run.bind(oe),Se=Ce.job=oe.runIfDirty.bind(oe);Se.i=Ce,Se.id=Ce.uid,oe.scheduler=()=>queueJob(Se),toggleRecurse(Ce,!0),me()},X=(Ce,Ae,Ee)=>{Ae.component=Ce;const le=Ce.vnode.props;Ce.vnode=Ae,Ce.next=null,updateProps$2(Ce,Ae.props,le,Ee),updateSlots(Ce,Ae.children,Ee),pauseTracking(),flushPreFlushCbs(Ce),resetTracking()},J=(Ce,Ae,Ee,le,re,ue,be,ie,oe=!1)=>{const me=Ce&&Ce.children,Se=Ce?Ce.shapeFlag:0,xe=Ae.children,{patchFlag:De,shapeFlag:Pe}=Ae;if(De>0){if(De&128){te(me,xe,Ee,le,re,ue,be,ie,oe);return}else if(De&256){ne(me,xe,Ee,le,re,ue,be,ie,oe);return}}Pe&8?(Se&16&&ee(me,re,ue),xe!==me&&b(Ee,xe)):Se&16?Pe&16?te(me,xe,Ee,le,re,ue,be,ie,oe):ee(me,re,ue,!0):(Se&8&&b(Ee,""),Pe&16&&M(xe,Ee,le,re,ue,be,ie,oe))},ne=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{Ce=Ce||EMPTY_ARR,Ae=Ae||EMPTY_ARR;const me=Ce.length,Se=Ae.length,xe=Math.min(me,Se);let De;for(De=0;DeSe?ee(Ce,re,ue,!0,!1,xe):M(Ae,Ee,le,re,ue,be,ie,oe,xe)},te=(Ce,Ae,Ee,le,re,ue,be,ie,oe)=>{let me=0;const Se=Ae.length;let xe=Ce.length-1,De=Se-1;for(;me<=xe&&me<=De;){const Pe=Ce[me],Be=Ae[me]=oe?cloneIfMounted(Ae[me]):normalizeVNode(Ae[me]);if(isSameVNodeType(Pe,Be))T(Pe,Be,Ee,null,re,ue,be,ie,oe);else break;me++}for(;me<=xe&&me<=De;){const Pe=Ce[xe],Be=Ae[De]=oe?cloneIfMounted(Ae[De]):normalizeVNode(Ae[De]);if(isSameVNodeType(Pe,Be))T(Pe,Be,Ee,null,re,ue,be,ie,oe);else break;xe--,De--}if(me>xe){if(me<=De){const Pe=De+1,Be=PeDe)for(;me<=xe;)se(Ce[me],re,ue,!0),me++;else{const Pe=me,Be=me,ot=new Map;for(me=Be;me<=De;me++){const Ct=Ae[me]=oe?cloneIfMounted(Ae[me]):normalizeVNode(Ae[me]);Ct.key!=null&&ot.set(Ct.key,me)}let ct,_t=0;const He=De-Be+1;let Ve=!1,ke=0;const Qe=new Array(He);for(me=0;me=He){se(Ct,re,ue,!0);continue}let Xe;if(Ct.key!=null)Xe=ot.get(Ct.key);else for(ct=Be;ct<=De;ct++)if(Qe[ct-Be]===0&&isSameVNodeType(Ct,Ae[ct])){Xe=ct;break}Xe===void 0?se(Ct,re,ue,!0):(Qe[Xe-Be]=me+1,Xe>=ke?ke=Xe:Ve=!0,T(Ct,Ae[Xe],Ee,null,re,ue,be,ie,oe),_t++)}const yt=Ve?getSequence(Qe):EMPTY_ARR;for(ct=yt.length-1,me=He-1;me>=0;me--){const Ct=Be+me,Xe=Ae[Ct],dt=Ct+1{const{el:ue,type:be,transition:ie,children:oe,shapeFlag:me}=Ce;if(me&6){ce(Ce.component.subTree,Ae,Ee,le);return}if(me&128){Ce.suspense.move(Ae,Ee,le);return}if(me&64){be.move(Ce,Ae,Ee,we);return}if(be===Fragment){a(ue,Ae,Ee);for(let xe=0;xeie.enter(ue),re);else{const{leave:xe,delayLeave:De,afterLeave:Pe}=ie,Be=()=>a(ue,Ae,Ee),ot=()=>{xe(ue,()=>{Be(),Pe&&Pe()})};De?De(ue,Be,ot):ot()}else a(ue,Ae,Ee)},se=(Ce,Ae,Ee,le=!1,re=!1)=>{const{type:ue,props:be,ref:ie,children:oe,dynamicChildren:me,shapeFlag:Se,patchFlag:xe,dirs:De,cacheIndex:Pe}=Ce;if(xe===-2&&(re=!1),ie!=null&&setRef(ie,null,Ee,Ce,!0),Pe!=null&&(Ae.renderCache[Pe]=void 0),Se&256){Ae.ctx.deactivate(Ce);return}const Be=Se&1&&De,ot=!isAsyncWrapper(Ce);let ct;if(ot&&(ct=be&&be.onVnodeBeforeUnmount)&&invokeVNodeHook(ct,Ae,Ce),Se&6)ye(Ce.component,Ee,le);else{if(Se&128){Ce.suspense.unmount(Ee,le);return}Be&&invokeDirectiveHook(Ce,null,Ae,"beforeUnmount"),Se&64?Ce.type.remove(Ce,Ae,Ee,we,le):me&&!me.hasOnce&&(ue!==Fragment||xe>0&&xe&64)?ee(me,Ae,Ee,!1,!0):(ue===Fragment&&xe&384||!re&&Se&16)&&ee(oe,Ae,Ee),le&&ge(Ce)}(ot&&(ct=be&&be.onVnodeUnmounted)||Be)&&queuePostRenderEffect(()=>{ct&&invokeVNodeHook(ct,Ae,Ce),Be&&invokeDirectiveHook(Ce,null,Ae,"unmounted")},Ee)},ge=Ce=>{const{type:Ae,el:Ee,anchor:le,transition:re}=Ce;if(Ae===Fragment){he(Ee,le);return}if(Ae===Static){D(Ce);return}const ue=()=>{u(Ee),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(Ce.shapeFlag&1&&re&&!re.persisted){const{leave:be,delayLeave:ie}=re,oe=()=>be(Ee,ue);ie?ie(Ce.el,ue,oe):oe()}else ue()},he=(Ce,Ae)=>{let Ee;for(;Ce!==Ae;)Ee=w(Ce),u(Ce),Ce=Ee;u(Ae)},ye=(Ce,Ae,Ee)=>{const{bum:le,scope:re,job:ue,subTree:be,um:ie,m:oe,a:me}=Ce;invalidateMount(oe),invalidateMount(me),le&&invokeArrayFns(le),re.stop(),ue&&(ue.flags|=8,se(be,Ce,Ae,Ee)),ie&&queuePostRenderEffect(ie,Ae),queuePostRenderEffect(()=>{Ce.isUnmounted=!0},Ae),Ae&&Ae.pendingBranch&&!Ae.isUnmounted&&Ce.asyncDep&&!Ce.asyncResolved&&Ce.suspenseId===Ae.pendingId&&(Ae.deps--,Ae.deps===0&&Ae.resolve())},ee=(Ce,Ae,Ee,le=!1,re=!1,ue=0)=>{for(let be=ue;be{if(Ce.shapeFlag&6)return pe(Ce.component.subTree);if(Ce.shapeFlag&128)return Ce.suspense.next();const Ae=w(Ce.anchor||Ce.el),Ee=Ae&&Ae[TeleportEndKey];return Ee?w(Ee):Ae};let ae=!1;const ve=(Ce,Ae,Ee)=>{Ce==null?Ae._vnode&&se(Ae._vnode,null,null,!0):T(Ae._vnode||null,Ce,Ae,null,null,null,Ee),Ae._vnode=Ce,ae||(ae=!0,flushPreFlushCbs(),flushPostFlushCbs(),ae=!1)},we={p:T,um:se,m:ce,r:ge,mt:z,mc:M,pc:J,pbc:V,n:pe,o:t};let _e,Te;return r&&([_e,Te]=r(we)),{render:ve,hydrate:_e,createApp:createAppAPI(ve,_e)}}function resolveChildrenNamespace({type:t,props:r},o){return o==="svg"&&t==="foreignObject"||o==="mathml"&&t==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:o}function toggleRecurse({effect:t,job:r},o){o?(t.flags|=32,r.flags|=4):(t.flags&=-33,r.flags&=-5)}function needTransition(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function traverseStaticChildren(t,r,o=!1){const a=t.children,u=r.children;if(isArray$i(a)&&isArray$i(u))for(let d=0;d>1,t[o[v]]0&&(r[a]=o[d-1]),o[d]=a)}}for(d=o.length,g=o[d-1];d-- >0;)o[d]=g,g=r[g];return o}function locateNonHydratedAsyncRoot(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:locateNonHydratedAsyncRoot(r)}function invalidateMount(t){if(t)for(let r=0;rinject(ssrContextKey);function watchEffect(t,r){return doWatch(t,null,r)}function watch(t,r,o){return doWatch(t,r,o)}function doWatch(t,r,o=EMPTY_OBJ$1){const{immediate:a,deep:u,flush:d,once:g}=o,v=extend$3({},o);let y;if(isInSSRComponentSetup)if(d==="sync"){const w=useSSRContext();y=w.__watcherHandles||(w.__watcherHandles=[])}else if(!r||a)v.once=!0;else return{stop:NOOP,resume:NOOP,pause:NOOP};const A=currentInstance;v.call=(w,S,C)=>callWithAsyncErrorHandling(w,A,S,C);let b=!1;d==="post"?v.scheduler=w=>{queuePostRenderEffect(w,A&&A.suspense)}:d!=="sync"&&(b=!0,v.scheduler=(w,S)=>{S?w():queueJob(w)}),v.augmentJob=w=>{r&&(w.flags|=4),b&&(w.flags|=2,A&&(w.id=A.uid,w.i=A))};const _=watch$1(t,r,v);return y&&y.push(_),_}function instanceWatch(t,r,o){const a=this.proxy,u=isString$7(t)?t.includes(".")?createPathGetter(a,t):()=>a[t]:t.bind(a,a);let d;isFunction$8(r)?d=r:(d=r.handler,o=r);const g=setCurrentInstance(this),v=doWatch(u,d.bind(a),o);return g(),v}function createPathGetter(t,r){const o=r.split(".");return()=>{let a=t;for(let u=0;ur==="modelValue"||r==="model-value"?t.modelModifiers:t[`${r}Modifiers`]||t[`${camelize(r)}Modifiers`]||t[`${hyphenate(r)}Modifiers`];function emit(t,r,...o){if(t.isUnmounted)return;const a=t.vnode.props||EMPTY_OBJ$1;let u=o;const d=r.startsWith("update:"),g=d&&getModelModifiers(a,r.slice(7));g&&(g.trim&&(u=o.map(b=>isString$7(b)?b.trim():b)),g.number&&(u=o.map(looseToNumber)));let v,y=a[v=toHandlerKey(r)]||a[v=toHandlerKey(camelize(r))];!y&&d&&(y=a[v=toHandlerKey(hyphenate(r))]),y&&callWithAsyncErrorHandling(y,t,6,u);const A=a[v+"Once"];if(A){if(!t.emitted)t.emitted={};else if(t.emitted[v])return;t.emitted[v]=!0,callWithAsyncErrorHandling(A,t,6,u)}}function normalizeEmitsOptions(t,r,o=!1){const a=r.emitsCache,u=a.get(t);if(u!==void 0)return u;const d=t.emits;let g={},v=!1;if(!isFunction$8(t)){const y=A=>{const b=normalizeEmitsOptions(A,r,!0);b&&(v=!0,extend$3(g,b))};!o&&r.mixins.length&&r.mixins.forEach(y),t.extends&&y(t.extends),t.mixins&&t.mixins.forEach(y)}return!d&&!v?(isObject$p(t)&&a.set(t,null),null):(isArray$i(d)?d.forEach(y=>g[y]=null):extend$3(g,d),isObject$p(t)&&a.set(t,g),g)}function isEmitListener(t,r){return!t||!isOn$1(r)?!1:(r=r.slice(2).replace(/Once$/,""),hasOwn$c(t,r[0].toLowerCase()+r.slice(1))||hasOwn$c(t,hyphenate(r))||hasOwn$c(t,r))}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:o,proxy:a,withProxy:u,propsOptions:[d],slots:g,attrs:v,emit:y,render:A,renderCache:b,props:_,data:w,setupState:S,ctx:C,inheritAttrs:T}=t,I=setCurrentRenderingInstance(t);let E,F;try{if(o.shapeFlag&4){const D=u||a,x=D;E=normalizeVNode(A.call(x,D,b,_,S,w,C)),F=v}else{const D=r;E=normalizeVNode(D.length>1?D(_,{attrs:v,slots:g,emit:y}):D(_,null)),F=r.props?v:getFunctionalFallthrough(v)}}catch(D){blockStack.length=0,handleError(D,t,1),E=createVNode$1(Comment)}let O=E;if(F&&T!==!1){const D=Object.keys(F),{shapeFlag:x}=O;D.length&&x&7&&(d&&D.some(isModelListener)&&(F=filterModelListeners(F,d)),O=cloneVNode(O,F,!1,!0))}return o.dirs&&(O=cloneVNode(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(o.dirs):o.dirs),o.transition&&setTransitionHooks(O,o.transition),E=O,setCurrentRenderingInstance(I),E}const getFunctionalFallthrough=t=>{let r;for(const o in t)(o==="class"||o==="style"||isOn$1(o))&&((r||(r={}))[o]=t[o]);return r},filterModelListeners=(t,r)=>{const o={};for(const a in t)(!isModelListener(a)||!(a.slice(9)in r))&&(o[a]=t[a]);return o};function shouldUpdateComponent(t,r,o){const{props:a,children:u,component:d}=t,{props:g,children:v,patchFlag:y}=r,A=d.emitsOptions;if(r.dirs||r.transition)return!0;if(o&&y>=0){if(y&1024)return!0;if(y&16)return a?hasPropsChanged(a,g,A):!!g;if(y&8){const b=r.dynamicProps;for(let _=0;_t.__isSuspense;function queueEffectWithSuspense(t,r){r&&r.pendingBranch?isArray$i(t)?r.effects.push(...t):r.effects.push(t):queuePostFlushCb(t)}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(t=!1){blockStack.push(currentBlock=t?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(t){isBlockTreeEnabled+=t,t<0&¤tBlock&&(currentBlock.hasOnce=!0)}function setupBlock(t){return t.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),t}function createElementBlock(t,r,o,a,u,d){return setupBlock(createBaseVNode(t,r,o,a,u,d,!0))}function createBlock(t,r,o,a,u){return setupBlock(createVNode$1(t,r,o,a,u,!0))}function isVNode$1(t){return t?t.__v_isVNode===!0:!1}function isSameVNodeType(t,r){return t.type===r.type&&t.key===r.key}const normalizeKey=({key:t})=>t!=null?t:null,normalizeRef=({ref:t,ref_key:r,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?isString$7(t)||isRef(t)||isFunction$8(t)?{i:currentRenderingInstance,r:t,k:r,f:!!o}:t:null);function createBaseVNode(t,r=null,o=null,a=0,u=null,d=t===Fragment?0:1,g=!1,v=!1){const y={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:d,patchFlag:a,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return v?(normalizeChildren(y,o),d&128&&t.normalize(y)):o&&(y.shapeFlag|=isString$7(o)?8:16),isBlockTreeEnabled>0&&!g&¤tBlock&&(y.patchFlag>0||d&6)&&y.patchFlag!==32&¤tBlock.push(y),y}const createVNode$1=_createVNode;function _createVNode(t,r=null,o=null,a=0,u=null,d=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode$1(t)){const v=cloneVNode(t,r,!0);return o&&normalizeChildren(v,o),isBlockTreeEnabled>0&&!d&¤tBlock&&(v.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=v:currentBlock.push(v)),v.patchFlag=-2,v}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:v,style:y}=r;v&&!isString$7(v)&&(r.class=normalizeClass(v)),isObject$p(y)&&(isProxy(y)&&!isArray$i(y)&&(y=extend$3({},y)),r.style=normalizeStyle$1(y))}const g=isString$7(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$p(t)?4:isFunction$8(t)?2:0;return createBaseVNode(t,r,o,a,u,g,d,!0)}function guardReactiveProps(t){return t?isProxy(t)||isInternalObject(t)?extend$3({},t):t:null}function cloneVNode(t,r,o=!1,a=!1){const{props:u,ref:d,patchFlag:g,children:v,transition:y}=t,A=r?mergeProps(u||{},r):u,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:A,key:A&&normalizeKey(A),ref:r&&r.ref?o&&d?isArray$i(d)?d.concat(normalizeRef(r)):[d,normalizeRef(r)]:normalizeRef(r):d,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:v,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?g===-1?16:g|16:g,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:y,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&cloneVNode(t.ssContent),ssFallback:t.ssFallback&&cloneVNode(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return y&&a&&setTransitionHooks(b,y.clone(b)),b}function createTextVNode(t=" ",r=0){return createVNode$1(Text,null,t,r)}function createCommentVNode(t="",r=!1){return r?(openBlock(),createBlock(Comment,null,t)):createVNode$1(Comment,null,t)}function normalizeVNode(t){return t==null||typeof t=="boolean"?createVNode$1(Comment):isArray$i(t)?createVNode$1(Fragment,null,t.slice()):typeof t=="object"?cloneIfMounted(t):createVNode$1(Text,null,String(t))}function cloneIfMounted(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:cloneVNode(t)}function normalizeChildren(t,r){let o=0;const{shapeFlag:a}=t;if(r==null)r=null;else if(isArray$i(r))o=16;else if(typeof r=="object")if(a&65){const u=r.default;u&&(u._c&&(u._d=!1),normalizeChildren(t,u()),u._c&&(u._d=!0));return}else{o=32;const u=r._;!u&&!isInternalObject(r)?r._ctx=currentRenderingInstance:u===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$8(r)?(r={default:r,_ctx:currentRenderingInstance},o=32):(r=String(r),a&64?(o=16,r=[createTextVNode(r)]):o=8);t.children=r,t.shapeFlag|=o}function mergeProps(...t){const r={};for(let o=0;ocurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const t=getGlobalThis$2(),r=(o,a)=>{let u;return(u=t[o])||(u=t[o]=[]),u.push(a),d=>{u.length>1?u.forEach(g=>g(d)):u[0](d)}};internalSetCurrentInstance=r("__VUE_INSTANCE_SETTERS__",o=>currentInstance=o),setInSSRSetupState=r("__VUE_SSR_SETTERS__",o=>isInSSRComponentSetup=o)}const setCurrentInstance=t=>{const r=currentInstance;return internalSetCurrentInstance(t),t.scope.on(),()=>{t.scope.off(),internalSetCurrentInstance(r)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(t){return t.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(t,r=!1,o=!1){r&&setInSSRSetupState(r);const{props:a,children:u}=t.vnode,d=isStatefulComponent(t);initProps$1(t,a,d,r),initSlots(t,u,o);const g=d?setupStatefulComponent(t,r):void 0;return r&&setInSSRSetupState(!1),g}function setupStatefulComponent(t,r){const o=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,PublicInstanceProxyHandlers);const{setup:a}=o;if(a){const u=t.setupContext=a.length>1?createSetupContext(t):null,d=setCurrentInstance(t);pauseTracking();const g=callWithErrorHandling(a,t,0,[t.props,u]);if(resetTracking(),d(),isPromise$1(g)){if(isAsyncWrapper(t)||markAsyncBoundary(t),g.then(unsetCurrentInstance,unsetCurrentInstance),r)return g.then(v=>{handleSetupResult(t,v,r)}).catch(v=>{handleError(v,t,0)});t.asyncDep=g}else handleSetupResult(t,g,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,o){isFunction$8(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$p(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,o)}let compile$1;function finishComponentSetup(t,r,o){const a=t.type;if(!t.render){if(!r&&compile$1&&!a.render){const u=a.template||resolveMergedOptions(t).template;if(u){const{isCustomElement:d,compilerOptions:g}=t.appContext.config,{delimiters:v,compilerOptions:y}=a,A=extend$3(extend$3({isCustomElement:d,delimiters:v},g),y);a.render=compile$1(u,A)}}t.render=a.render||NOOP}{const u=setCurrentInstance(t);pauseTracking();try{applyOptions(t)}finally{resetTracking(),u()}}}const attrsProxyHandlers={get(t,r){return track(t,"get",""),t[r]}};function createSetupContext(t){const r=o=>{t.exposed=o||{}};return{attrs:new Proxy(t.attrs,attrsProxyHandlers),slots:t.slots,emit:t.emit,expose:r}}function getComponentPublicInstance(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(proxyRefs(markRaw(t.exposed)),{get(r,o){if(o in r)return r[o];if(o in publicPropertiesMap)return publicPropertiesMap[o](t)},has(r,o){return o in r||o in publicPropertiesMap}})):t.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=t=>t.replace(classifyRE,r=>r.toUpperCase()).replace(/[-_]/g,"");function getComponentName(t,r=!0){return isFunction$8(t)?t.displayName||t.name:t.name||r&&t.__name}function formatComponentName(t,r,o=!1){let a=getComponentName(r);if(!a&&r.__file){const u=r.__file.match(/([^/\\]+)\.\w+$/);u&&(a=u[1])}if(!a&&t&&t.parent){const u=d=>{for(const g in d)if(d[g]===r)return g};a=u(t.components||t.parent.type.components)||u(t.appContext.components)}return a?classify(a):o?"App":"Anonymous"}function isClassComponent(t){return isFunction$8(t)&&"__vccOpts"in t}const computed=(t,r)=>computed$1(t,r,isInSSRComponentSetup);function h(t,r,o){const a=arguments.length;return a===2?isObject$p(r)&&!isArray$i(r)?isVNode$1(r)?createVNode$1(t,null,[r]):createVNode$1(t,r):createVNode$1(t,null,r):(a>3?o=Array.prototype.slice.call(arguments,2):a===3&&isVNode$1(o)&&(o=[o]),createVNode$1(t,r,o))}const version$3="3.5.4";/** * @vue/runtime-dom v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let policy;const tt=typeof window!="undefined"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:t=>t})}catch(t){}const unsafeToTrustedHTML=policy?t=>policy.createHTML(t):t=>t,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document!="undefined"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(t,r,o)=>{r.insertBefore(t,o||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,o,a)=>{const u=r==="svg"?doc.createElementNS(svgNS,t):r==="mathml"?doc.createElementNS(mathmlNS,t):o?doc.createElement(t,{is:o}):doc.createElement(t);return t==="select"&&a&&a.multiple!=null&&u.setAttribute("multiple",a.multiple),u},createText:t=>doc.createTextNode(t),createComment:t=>doc.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>doc.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,o,a,u,d){const g=o?o.previousSibling:r.lastChild;if(u&&(u===d||u.nextSibling))for(;r.insertBefore(u.cloneNode(!0),o),!(u===d||!(u=u.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(a==="svg"?`${t}`:a==="mathml"?`${t}`:t);const v=templateContainer.content;if(a==="svg"||a==="mathml"){const y=v.firstChild;for(;y.firstChild;)v.appendChild(y.firstChild);v.removeChild(y)}r.insertBefore(v,o)}return[g?g.nextSibling:r.firstChild,o?o.previousSibling:r.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName="Transition",t.props=TransitionPropsValidators,t),Transition=decorate$1((t,{slots:r})=>h(BaseTransition,resolveTransitionProps(t),r)),callHook=(t,r=[])=>{isArray$i(t)?t.forEach(o=>o(...r)):t&&t(...r)},hasExplicitCallback=t=>t?isArray$i(t)?t.some(r=>r.length>1):t.length>1:!1;function resolveTransitionProps(t){const r={};for(const H in t)H in DOMTransitionPropsValidators||(r[H]=t[H]);if(t.css===!1)return r;const{name:o="v",type:a,duration:u,enterFromClass:d=`${o}-enter-from`,enterActiveClass:g=`${o}-enter-active`,enterToClass:v=`${o}-enter-to`,appearFromClass:y=d,appearActiveClass:A=g,appearToClass:b=v,leaveFromClass:_=`${o}-leave-from`,leaveActiveClass:w=`${o}-leave-active`,leaveToClass:S=`${o}-leave-to`}=t,C=normalizeDuration(u),T=C&&C[0],I=C&&C[1],{onBeforeEnter:E,onEnter:F,onEnterCancelled:O,onLeave:D,onLeaveCancelled:x,onBeforeAppear:P=E,onAppear:G=F,onAppearCancelled:M=O}=r,N=(H,B,z)=>{removeTransitionClass(H,B?b:v),removeTransitionClass(H,B?A:g),z&&z()},V=(H,B)=>{H._isLeaving=!1,removeTransitionClass(H,_),removeTransitionClass(H,S),removeTransitionClass(H,w),B&&B()},Y=H=>(B,z)=>{const U=H?G:F,Q=()=>N(B,H,z);callHook(U,[B,Q]),nextFrame(()=>{removeTransitionClass(B,H?y:d),addTransitionClass(B,H?b:v),hasExplicitCallback(U)||whenTransitionEnds(B,a,T,Q)})};return extend$3(r,{onBeforeEnter(H){callHook(E,[H]),addTransitionClass(H,d),addTransitionClass(H,g)},onBeforeAppear(H){callHook(P,[H]),addTransitionClass(H,y),addTransitionClass(H,A)},onEnter:Y(!1),onAppear:Y(!0),onLeave(H,B){H._isLeaving=!0;const z=()=>V(H,B);addTransitionClass(H,_),addTransitionClass(H,w),forceReflow(),nextFrame(()=>{!H._isLeaving||(removeTransitionClass(H,_),addTransitionClass(H,S),hasExplicitCallback(D)||whenTransitionEnds(H,a,I,z))}),callHook(D,[H,z])},onEnterCancelled(H){N(H,!1),callHook(O,[H])},onAppearCancelled(H){N(H,!0),callHook(M,[H])},onLeaveCancelled(H){V(H),callHook(x,[H])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$p(t))return[NumberOf(t.enter),NumberOf(t.leave)];{const r=NumberOf(t);return[r,r]}}function NumberOf(t){return toNumber(t)}function addTransitionClass(t,r){r.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[vtcKey]||(t[vtcKey]=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(a=>a&&t.classList.remove(a));const o=t[vtcKey];o&&(o.delete(r),o.size||(t[vtcKey]=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,o,a){const u=t._endId=++endId,d=()=>{u===t._endId&&a()};if(o)return setTimeout(d,o);const{type:g,timeout:v,propCount:y}=getTransitionInfo(t,r);if(!g)return a();const A=g+"end";let b=0;const _=()=>{t.removeEventListener(A,w),d()},w=S=>{S.target===t&&++b>=y&&_()};setTimeout(()=>{b(o[C]||"").split(", "),u=a(`${TRANSITION}Delay`),d=a(`${TRANSITION}Duration`),g=getTimeout(u,d),v=a(`${ANIMATION}Delay`),y=a(`${ANIMATION}Duration`),A=getTimeout(v,y);let b=null,_=0,w=0;r===TRANSITION?g>0&&(b=TRANSITION,_=g,w=d.length):r===ANIMATION?A>0&&(b=ANIMATION,_=A,w=y.length):(_=Math.max(g,A),b=_>0?g>A?TRANSITION:ANIMATION:null,w=b?b===TRANSITION?d.length:y.length:0);const S=b===TRANSITION&&/\b(transform|all)(,|$)/.test(a(`${TRANSITION}Property`).toString());return{type:b,timeout:_,propCount:w,hasTransform:S}}function getTimeout(t,r){for(;t.lengthtoMs(o)+toMs(t[a])))}function toMs(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(t,r,o){const a=t[vtcKey];a&&(r=(r?[r,...a]:[...a]).join(" ")),r==null?t.removeAttribute("class"):o?t.setAttribute("class",r):t.className=r}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(t,{value:r},{transition:o}){t[vShowOriginalDisplay]=t.style.display==="none"?"":t.style.display,o&&r?o.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:o}){o&&r&&o.enter(t)},updated(t,{value:r,oldValue:o},{transition:a}){!r!=!o&&(a?r?(a.beforeEnter(t),setDisplay(t,!0),a.enter(t)):a.leave(t,()=>{setDisplay(t,!1)}):setDisplay(t,r))},beforeUnmount(t,{value:r}){setDisplay(t,r)}};function setDisplay(t,r){t.style.display=r?t[vShowOriginalDisplay]:"none",t[vShowHidden]=!r}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(t,r,o){const a=t.style,u=isString$7(o);let d=!1;if(o&&!u){if(r)if(isString$7(r))for(const g of r.split(";")){const v=g.slice(0,g.indexOf(":")).trim();o[v]==null&&setStyle(a,v,"")}else for(const g in r)o[g]==null&&setStyle(a,g,"");for(const g in o)g==="display"&&(d=!0),setStyle(a,g,o[g])}else if(u){if(r!==o){const g=a[CSS_VAR_TEXT];g&&(o+=";"+g),a.cssText=o,d=displayRE.test(o)}}else r&&t.removeAttribute("style");vShowOriginalDisplay in t&&(t[vShowOriginalDisplay]=d?a.display:"",t[vShowHidden]&&(a.display="none"))}const importantRE=/\s*!important$/;function setStyle(t,r,o){if(isArray$i(o))o.forEach(a=>setStyle(t,r,a));else if(o==null&&(o=""),r.startsWith("--"))t.setProperty(r,o);else{const a=autoPrefix(t,r);importantRE.test(o)?t.setProperty(hyphenate(a),o.replace(importantRE,""),"important"):t[a]=o}}const prefixes$1=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const o=prefixCache[r];if(o)return o;let a=camelize(r);if(a!=="filter"&&a in t)return prefixCache[r]=a;a=capitalize$3(a);for(let u=0;ucachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(t,r){const o=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=o.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(a,o.value),r,5,[a])};return o.value=t,o.attached=getNow(),o}function patchStopImmediatePropagation(t,r){if(isArray$i(r)){const o=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{o.call(t),t._stopped=!0},r.map(a=>u=>!u._stopped&&a&&a(u))}else return r}const isNativeOn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,patchProp=(t,r,o,a,u,d)=>{const g=u==="svg";r==="class"?patchClass(t,a,g):r==="style"?patchStyle(t,o,a):isOn$1(r)?isModelListener(r)||patchEvent(t,r,o,a,d):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,a,g))?(patchDOMProp(t,r,a),!t.tagName.includes("-")&&(r==="value"||r==="checked"||r==="selected")&&patchAttr(t,r,a,g,d,r!=="value")):(r==="true-value"?t._trueValue=a:r==="false-value"&&(t._falseValue=a),patchAttr(t,r,a,g))};function shouldSetAsProp(t,r,o,a){if(a)return!!(r==="innerHTML"||r==="textContent"||r in t&&isNativeOn(r)&&isFunction$8(o));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const u=t.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return isNativeOn(r)&&isString$7(o)?!1:!!(r in t||t._isVueCE&&(/[A-Z]/.test(r)||!isString$7(o)))}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=t=>(delete t.props.mode,t),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$3({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(t,{slots:r}){const o=getCurrentInstance(),a=useTransitionState();let u,d;return onUpdated(()=>{if(!u.length)return;const g=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(u[0].el,o.vnode.el,g))return;u.forEach(callPendingCbs),u.forEach(recordPosition);const v=u.filter(applyTranslation);forceReflow(),v.forEach(y=>{const A=y.el,b=A.style;addTransitionClass(A,g),b.transform=b.webkitTransform=b.transitionDuration="";const _=A[moveCbKey]=w=>{w&&w.target!==A||(!w||/transform$/.test(w.propertyName))&&(A.removeEventListener("transitionend",_),A[moveCbKey]=null,removeTransitionClass(A,g))};A.addEventListener("transitionend",_)})}),()=>{const g=toRaw(t),v=resolveTransitionProps(g);let y=g.tag||Fragment;if(u=[],d)for(let A=0;A{v.split(/\s+/).forEach(y=>y&&a.classList.remove(y))}),o.split(/\s+/).forEach(v=>v&&a.classList.add(v)),a.style.display="none";const d=r.nodeType===1?r:r.parentNode;d.appendChild(a);const{hasTransform:g}=getTransitionInfo(a);return d.removeChild(a),g}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>systemModifiers.some(o=>t[`${o}Key`]&&!r.includes(o))},withModifiers=(t,r)=>{const o=t._withMods||(t._withMods={}),a=r.join(".");return o[a]||(o[a]=(u,...d)=>{for(let g=0;g{const o=t._withKeys||(t._withKeys={}),a=r.join(".");return o[a]||(o[a]=u=>{if(!("key"in u))return;const d=hyphenate(u.key);if(r.some(g=>g===d||keyNames[g]===d))return t(u)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp=(...t)=>{const r=ensureRenderer().createApp(...t),{mount:o}=r;return r.mount=a=>{const u=normalizeContainer(a);if(!u)return;const d=r._component;!isFunction$8(d)&&!d.render&&!d.template&&(d.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const g=o(u,!1,resolveRootNamespace(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),g},r};function resolveRootNamespace(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function normalizeContainer(t){return isString$7(t)?document.querySelector(t):t}var mdiV7="",robotoFont="",fadeIn="",fadeOut="",quasar="",app$1="",index$c="";function injectProp(t,r,o,a){return Object.defineProperty(t,r,{get:o,set:a,enumerable:!0}),t}function injectMultipleProps(t,r){for(const o in r)injectProp(t,o,r[o]);return t}const isRuntimeSsrPreHydration=ref(!1);let preHydrationBrowser;function getMatch(t,r){const o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome|crios)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(firefox|fxios)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:r[0]||""}}function getPlatformMatch(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const hasTouch="ontouchstart"in window||window.navigator.maxTouchPoints>0;function getPlatform(t){const r=t.toLowerCase(),o=getPlatformMatch(r),a=getMatch(r,o),u={};a.browser&&(u[a.browser]=!0,u.version=a.version,u.versionNumber=parseInt(a.version,10)),a.platform&&(u[a.platform]=!0);const d=u.android||u.ios||u.bb||u.blackberry||u.ipad||u.iphone||u.ipod||u.kindle||u.playbook||u.silk||u["windows phone"];if(d===!0||r.indexOf("mobile")!==-1?u.mobile=!0:u.desktop=!0,u["windows phone"]&&(u.winphone=!0,delete u["windows phone"]),u.edga||u.edgios||u.edg?(u.edge=!0,a.browser="edge"):u.crios?(u.chrome=!0,a.browser="chrome"):u.fxios&&(u.firefox=!0,a.browser="firefox"),(u.ipod||u.ipad||u.iphone)&&(u.ios=!0),u.vivaldi&&(a.browser="vivaldi",u.vivaldi=!0),(u.chrome||u.opr||u.safari||u.vivaldi||u.mobile===!0&&u.ios!==!0&&d!==!0)&&(u.webkit=!0),u.opr&&(a.browser="opera",u.opera=!0),u.safari&&(u.blackberry||u.bb?(a.browser="blackberry",u.blackberry=!0):u.playbook?(a.browser="playbook",u.playbook=!0):u.android?(a.browser="android",u.android=!0):u.kindle?(a.browser="kindle",u.kindle=!0):u.silk&&(a.browser="silk",u.silk=!0)),u.name=a.browser,u.platform=a.platform,r.indexOf("electron")!==-1)u.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)u.bex=!0;else{if(window.Capacitor!==void 0?(u.capacitor=!0,u.nativeMobile=!0,u.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(u.cordova=!0,u.nativeMobile=!0,u.nativeMobileWrapper="cordova"),isRuntimeSsrPreHydration.value===!0&&(preHydrationBrowser={is:{...u}}),hasTouch===!0&&u.mac===!0&&(u.desktop===!0&&u.safari===!0||u.nativeMobile===!0&&u.android!==!0&&u.ios!==!0&&u.ipad!==!0)){delete u.mac,delete u.desktop;const g=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(u,{mobile:!0,ios:!0,platform:g,[g]:!0})}u.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete u.desktop,u.mobile=!0)}return u}const userAgent$3=navigator.userAgent||navigator.vendor||window.opera,ssrClient={has:{touch:!1,webStorage:!1},within:{iframe:!1}},client={userAgent:userAgent$3,is:getPlatform(userAgent$3),has:{touch:hasTouch},within:{iframe:window.self!==window.top}},Platform={install(t){const{$q:r}=t;isRuntimeSsrPreHydration.value===!0?(t.onSSRHydrated.push(()=>{Object.assign(r.platform,client),isRuntimeSsrPreHydration.value=!1}),r.platform=reactive(this)):r.platform=this}};{let t;injectProp(client.has,"webStorage",()=>{if(t!==void 0)return t;try{if(window.localStorage)return t=!0,!0}catch(r){}return t=!1,!1}),Object.assign(Platform,client),isRuntimeSsrPreHydration.value===!0&&(Object.assign(Platform,preHydrationBrowser,ssrClient),preHydrationBrowser=null)}function createComponent(t){return markRaw(defineComponent(t))}function createDirective(t){return markRaw(t)}const createReactivePlugin=(t,r)=>{const o=reactive(t);for(const a in t)injectProp(r,a,()=>o[a],u=>{o[a]=u});return r},listenOpts$1={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const t=Object.defineProperty({},"passive",{get(){Object.assign(listenOpts$1,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,t),window.removeEventListener("qtest",null,t)}catch(t){}function noop$6(){}function leftClick(t){return t.button===0}function position$1(t){return t.touches&&t.touches[0]?t=t.touches[0]:t.changedTouches&&t.changedTouches[0]?t=t.changedTouches[0]:t.targetTouches&&t.targetTouches[0]&&(t=t.targetTouches[0]),{top:t.clientY,left:t.clientX}}function getEventPath$1(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();const r=[];let o=t.target;for(;o;){if(r.push(o),o.tagName==="HTML")return r.push(document),r.push(window),r;o=o.parentElement}}function stop$1(t){t.stopPropagation()}function prevent(t){t.cancelable!==!1&&t.preventDefault()}function stopAndPrevent$1(t){t.cancelable!==!1&&t.preventDefault(),t.stopPropagation()}function preventDraggable(t,r){if(t===void 0||r===!0&&t.__dragPrevented===!0)return;const o=r===!0?a=>{a.__dragPrevented=!0,a.addEventListener("dragstart",prevent,listenOpts$1.notPassiveCapture)}:a=>{delete a.__dragPrevented,a.removeEventListener("dragstart",prevent,listenOpts$1.notPassiveCapture)};t.querySelectorAll("a, img").forEach(o)}function addEvt(t,r,o){const a=`__q_${r}_evt`;t[a]=t[a]!==void 0?t[a].concat(o):o,o.forEach(u=>{u[0].addEventListener(u[1],t[u[2]],listenOpts$1[u[3]])})}function cleanEvt(t,r){const o=`__q_${r}_evt`;t[o]!==void 0&&(t[o].forEach(a=>{a[0].removeEventListener(a[1],t[a[2]],listenOpts$1[a[3]])}),t[o]=void 0)}function debounce$1(t,r=250,o){let a=null;function u(){const d=arguments,g=()=>{a=null,o!==!0&&t.apply(this,d)};a!==null?clearTimeout(a):o===!0&&t.apply(this,d),a=setTimeout(g,r)}return u.cancel=()=>{a!==null&&clearTimeout(a)},u}const SIZE_LIST=["sm","md","lg","xl"],{passive:passive$2}=listenOpts$1;var Screen=createReactivePlugin({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:noop$6,setDebounce:noop$6,install({$q:t,onSSRHydrated:r}){if(t.screen=this,this.__installed===!0){t.config.screen!==void 0&&(t.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:o}=window,a=o||window,u=document.scrollingElement||document.documentElement,d=o===void 0||client.is.mobile===!0?()=>[Math.max(window.innerWidth,u.clientWidth),Math.max(window.innerHeight,u.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-u.clientWidth,o.height*o.scale+window.innerHeight-u.clientHeight],g=t.config.screen!==void 0&&t.config.screen.bodyClasses===!0;this.__update=_=>{const[w,S]=d();if(S!==this.height&&(this.height=S),w!==this.width)this.width=w;else if(_!==!0)return;let C=this.sizes;this.gt.xs=w>=C.sm,this.gt.sm=w>=C.md,this.gt.md=w>=C.lg,this.gt.lg=w>=C.xl,this.lt.sm=w{SIZE_LIST.forEach(w=>{_[w]!==void 0&&(y[w]=_[w])})},this.setDebounce=_=>{A=_};const b=()=>{const _=getComputedStyle(document.body);_.getPropertyValue("--q-size-sm")&&SIZE_LIST.forEach(w=>{this.sizes[w]=parseInt(_.getPropertyValue(`--q-size-${w}`),10)}),this.setSizes=w=>{SIZE_LIST.forEach(S=>{w[S]&&(this.sizes[S]=w[S])}),this.__update(!0)},this.setDebounce=w=>{v!==void 0&&a.removeEventListener("resize",v,passive$2),v=w>0?debounce$1(this.__update,w):this.__update,a.addEventListener("resize",v,passive$2)},this.setDebounce(A),Object.keys(y).length!==0?(this.setSizes(y),y=void 0):this.__update(),g===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};isRuntimeSsrPreHydration.value===!0?r.push(b):b()}});const Plugin$3=createReactivePlugin({isActive:!1,mode:!1},{__media:void 0,set(t){Plugin$3.mode=t,t==="auto"?(Plugin$3.__media===void 0&&(Plugin$3.__media=window.matchMedia("(prefers-color-scheme: dark)"),Plugin$3.__updateMedia=()=>{Plugin$3.set("auto")},Plugin$3.__media.addListener(Plugin$3.__updateMedia)),t=Plugin$3.__media.matches):Plugin$3.__media!==void 0&&(Plugin$3.__media.removeListener(Plugin$3.__updateMedia),Plugin$3.__media=void 0),Plugin$3.isActive=t===!0,document.body.classList.remove(`body--${t===!0?"light":"dark"}`),document.body.classList.add(`body--${t===!0?"dark":"light"}`)},toggle(){Plugin$3.set(Plugin$3.isActive===!1)},install({$q:t,ssrContext:r}){const{dark:o}=t.config;t.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}});function setCssVar(t,r,o=document.body){if(typeof t!="string")throw new TypeError("Expected a string as propName");if(typeof r!="string")throw new TypeError("Expected a string as value");if(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${t}`,r)}let lastKeyCompositionStatus=!1;function onKeyDownComposition(t){lastKeyCompositionStatus=t.isComposing===!0}function shouldIgnoreKey(t){return lastKeyCompositionStatus===!0||t!==Object(t)||t.isComposing===!0||t.qKeyEvent===!0}function isKeyCode(t,r){return shouldIgnoreKey(t)===!0?!1:[].concat(r).includes(t.keyCode)}function getMobilePlatform(t){if(t.ios===!0)return"ios";if(t.android===!0)return"android"}function getBodyClasses({is:t,has:r,within:o},a){const u=[t.desktop===!0?"desktop":"mobile",`${r.touch===!1?"no-":""}touch`];if(t.mobile===!0){const d=getMobilePlatform(t);d!==void 0&&u.push("platform-"+d)}if(t.nativeMobile===!0){const d=t.nativeMobileWrapper;u.push(d),u.push("native-mobile"),t.ios===!0&&(a[d]===void 0||a[d].iosStatusBarPadding!==!1)&&u.push("q-ios-padding")}else t.electron===!0?u.push("electron"):t.bex===!0&&u.push("bex");return o.iframe===!0&&u.push("within-iframe"),u}function applyClientSsrCorrections(){const{is:t}=client,r=document.body.className,o=new Set(r.replace(/ {2}/g," ").split(" "));if(t.nativeMobile!==!0&&t.electron!==!0&&t.bex!==!0){if(t.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(t.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");const u=getMobilePlatform(t);u!==void 0&&o.add(`platform-${u}`)}}client.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),client.within.iframe===!0&&o.add("within-iframe");const a=Array.from(o).join(" ");r!==a&&(document.body.className=a)}function setColors(t){for(const r in t)setCssVar(r,t[r])}var Body={install(t){if(this.__installed!==!0){if(isRuntimeSsrPreHydration.value===!0)applyClientSsrCorrections();else{const{$q:r}=t;r.config.brand!==void 0&&setColors(r.config.brand);const o=getBodyClasses(client,r.config);document.body.classList.add.apply(document.body.classList,o)}client.is.ios===!0&&document.body.addEventListener("touchstart",noop$6),window.addEventListener("keydown",onKeyDownComposition,!0)}}};const getTrue=()=>!0;function filterInvalidPath(t){return typeof t=="string"&&t!==""&&t!=="/"&&t!=="#/"}function normalizeExitPath(t){return t.startsWith("#")===!0&&(t=t.substring(1)),t.startsWith("/")===!1&&(t="/"+t),t.endsWith("/")===!0&&(t=t.substring(0,t.length-1)),"#"+t}function getShouldExitFn(t){if(t.backButtonExit===!1)return()=>!1;if(t.backButtonExit==="*")return getTrue;const r=["#/"];return Array.isArray(t.backButtonExit)===!0&&r.push(...t.backButtonExit.filter(filterInvalidPath).map(normalizeExitPath)),()=>r.includes(window.location.hash)}var History={__history:[],add:noop$6,remove:noop$6,install({$q:t}){if(this.__installed===!0)return;const{cordova:r,capacitor:o}=client.is;if(r!==!0&&o!==!0)return;const a=t.config[r===!0?"cordova":"capacitor"];if(a!==void 0&&a.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=g=>{g.condition===void 0&&(g.condition=getTrue),this.__history.push(g)},this.remove=g=>{const v=this.__history.indexOf(g);v>=0&&this.__history.splice(v,1)};const u=getShouldExitFn(Object.assign({backButtonExit:!0},a)),d=()=>{if(this.__history.length){const g=this.__history[this.__history.length-1];g.condition()===!0&&(this.__history.pop(),g.handler())}else u()===!0?navigator.app.exitApp():window.history.back()};r===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",d,!1)}):window.Capacitor.Plugins.App.addListener("backButton",d)}},defaultLang={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:t=>t?`Expand "${t}"`:"Expand",collapse:t=>t?`Collapse "${t}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:t=>t===1?"1 record selected.":(t===0?"No":t)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(t,r,o)=>t+"-"+r+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function getLocale$1(){const t=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof t=="string")return t.split(/[-_]/).map((r,o)=>o===0?r.toLowerCase():o>1||r.length<4?r.toUpperCase():r[0].toUpperCase()+r.slice(1).toLowerCase()).join("-")}const Plugin$2=createReactivePlugin({__qLang:{}},{getLocale:getLocale$1,set(t=defaultLang,r){const o={...t,rtl:t.rtl===!0,getLocale:getLocale$1};{if(o.set=Plugin$2.set,Plugin$2.__langConfig===void 0||Plugin$2.__langConfig.noHtmlAttrs!==!0){const a=document.documentElement;a.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),a.setAttribute("lang",o.isoName)}Object.assign(Plugin$2.__qLang,o)}},install({$q:t,lang:r,ssrContext:o}){t.lang=Plugin$2.__qLang,Plugin$2.__langConfig=t.config.lang,this.__installed===!0?r!==void 0&&this.set(r):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(a){return Reflect.ownKeys(a).filter(u=>u!=="set"&&u!=="getLocale")}}),this.set(r||defaultLang))}});var materialIcons={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const Plugin$1=createReactivePlugin({iconMapFn:null,__qIconSet:{}},{set(t,r){const o={...t};o.set=Plugin$1.set,Object.assign(Plugin$1.__qIconSet,o)},install({$q:t,iconSet:r,ssrContext:o}){t.config.iconMapFn!==void 0&&(this.iconMapFn=t.config.iconMapFn),t.iconSet=this.__qIconSet,injectProp(t,"iconMapFn",()=>this.iconMapFn,a=>{this.iconMapFn=a}),this.__installed===!0?r!==void 0&&this.set(r):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(a){return Reflect.ownKeys(a).filter(u=>u!=="set")}}),this.set(r||materialIcons))}}),quasarKey="_q_",layoutKey="_q_l_",pageContainerKey="_q_pc_",formKey="_q_fo_",tabsKey="_q_tabs_";function emptyRenderFn(){}const globalConfig={};let globalConfigIsFrozen=!1;function freezeGlobalConfig(){globalConfigIsFrozen=!0}function isDeepEqual(t,r){if(t===r)return!0;if(t!==null&&r!==null&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;let o,a;if(t.constructor===Array){if(o=t.length,o!==r.length)return!1;for(a=o;a--!==0;)if(isDeepEqual(t[a],r[a])!==!0)return!1;return!0}if(t.constructor===Map){if(t.size!==r.size)return!1;let d=t.entries();for(a=d.next();a.done!==!0;){if(r.has(a.value[0])!==!0)return!1;a=d.next()}for(d=t.entries(),a=d.next();a.done!==!0;){if(isDeepEqual(a.value[1],r.get(a.value[0]))!==!0)return!1;a=d.next()}return!0}if(t.constructor===Set){if(t.size!==r.size)return!1;const d=t.entries();for(a=d.next();a.done!==!0;){if(r.has(a.value[0])!==!0)return!1;a=d.next()}return!0}if(t.buffer!=null&&t.buffer.constructor===ArrayBuffer){if(o=t.length,o!==r.length)return!1;for(a=o;a--!==0;)if(t[a]!==r[a])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();const u=Object.keys(t).filter(d=>t[d]!==void 0);if(o=u.length,o!==Object.keys(r).filter(d=>r[d]!==void 0).length)return!1;for(a=o;a--!==0;){const d=u[a];if(isDeepEqual(t[d],r[d])!==!0)return!1}return!0}return t!==t&&r!==r}function isObject$o(t){return t!==null&&typeof t=="object"&&Array.isArray(t)!==!0}function isDate$6(t){return Object.prototype.toString.call(t)==="[object Date]"}function isNumber$6(t){return typeof t=="number"&&isFinite(t)}const autoInstalledPlugins=[Platform,Body,Plugin$3,Screen,History,Plugin$2,Plugin$1];function createChildApp(t,r){const o=createApp(t);o.config.globalProperties=r.config.globalProperties;const{reload:a,...u}=r._context;return Object.assign(o._context,u),o}function installPlugins(t,r){r.forEach(o=>{o.install(t),o.__installed=!0})}function prepareApp(t,r,o){t.config.globalProperties.$q=o.$q,t.provide(quasarKey,o.$q),installPlugins(o,autoInstalledPlugins),r.components!==void 0&&Object.values(r.components).forEach(a=>{isObject$o(a)===!0&&a.name!==void 0&&t.component(a.name,a)}),r.directives!==void 0&&Object.values(r.directives).forEach(a=>{isObject$o(a)===!0&&a.name!==void 0&&t.directive(a.name,a)}),r.plugins!==void 0&&installPlugins(o,Object.values(r.plugins).filter(a=>typeof a.install=="function"&&autoInstalledPlugins.includes(a)===!1)),isRuntimeSsrPreHydration.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(a=>{a()}),o.$q.onSSRHydrated=()=>{}})}var installQuasar=function(t,r={}){const o={version:"2.16.11"};globalConfigIsFrozen===!1?(r.config!==void 0&&Object.assign(globalConfig,r.config),o.config={...globalConfig},freezeGlobalConfig()):o.config=r.config||{},prepareApp(t,r,{parentApp:t,$q:o,lang:r.lang,iconSet:r.iconSet,onSSRHydrated:[]})},Quasar={name:"Quasar",version:"2.16.11",install:installQuasar,lang:Plugin$2,iconSet:Plugin$1};const useSizeDefaults={xs:18,sm:24,md:32,lg:38,xl:46},useSizeProps={size:String};function useSize(t,r=useSizeDefaults){return computed(()=>t.size!==void 0?{fontSize:t.size in r?`${r[t.size]}px`:t.size}:null)}const useSpinnerProps={size:{type:[String,Number],default:"1em"},color:String};function useSpinner(t){return{cSize:computed(()=>t.size in useSizeDefaults?`${useSizeDefaults[t.size]}px`:t.size),classes:computed(()=>"q-spinner"+(t.color?` text-${t.color}`:""))}}var QSpinner=createComponent({name:"QSpinner",props:{...useSpinnerProps,thickness:{type:Number,default:5}},setup(t){const{cSize:r,classes:o}=useSpinner(t);return()=>h("svg",{class:o.value+" q-spinner-mat",width:r.value,height:r.value,viewBox:"25 25 50 50"},[h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t.thickness,"stroke-miterlimit":"10"})])}});const useDarkProps={dark:{type:Boolean,default:null}};function useDark(t,r){return computed(()=>t.dark===null?r.dark.isActive:t.dark)}const useTransitionProps={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function useTransition(t,r=()=>{},o=()=>{}){return{transitionProps:computed(()=>{const a=`q-transition--${t.transitionShow||r()}`,u=`q-transition--${t.transitionHide||o()}`;return{appear:!0,enterFromClass:`${a}-enter-from`,enterActiveClass:`${a}-enter-active`,enterToClass:`${a}-enter-to`,leaveFromClass:`${u}-leave-from`,leaveActiveClass:`${u}-leave-active`,leaveToClass:`${u}-leave-to`}}),transitionStyle:computed(()=>`--q-transition-duration: ${t.transitionDuration}ms`)}}var QInnerLoading=createComponent({name:"QInnerLoading",props:{...useDarkProps,...useTransitionProps,showing:Boolean,color:String,size:{type:[String,Number],default:"42px"},label:String,labelClass:String,labelStyle:[String,Array,Object]},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),{transitionProps:u,transitionStyle:d}=useTransition(t),g=computed(()=>"q-inner-loading q--avoid-card-border absolute-full column flex-center"+(a.value===!0?" q-inner-loading--dark":"")),v=computed(()=>"q-inner-loading__label"+(t.labelClass!==void 0?` ${t.labelClass}`:""));function y(){const b=[h(QSpinner,{size:t.size,color:t.color})];return t.label!==void 0&&b.push(h("div",{class:v.value,style:t.labelStyle},[t.label])),b}function A(){return t.showing===!0?h("div",{class:g.value,style:d.value},r.default!==void 0?r.default():y()):null}return()=>h(Transition,u.value,A)}});function css$2(t,r){const o=t.style;for(const a in r)o[a]=r[a]}function getElement(t){if(t==null)return;if(typeof t=="string")try{return document.querySelector(t)||void 0}catch(o){return}const r=unref(t);if(r)return r.$el||r}function childHasFocus(t,r){if(t==null||t.contains(r)===!0)return!0;for(let o=t.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(r))return!0;return!1}const scrollTargetProp=[Element,String],scrollTargets=[null,document,document.body,document.scrollingElement,document.documentElement];function getScrollTarget(t,r){let o=getElement(r);if(o===void 0){if(t==null)return window;o=t.closest(".scroll,.scroll-y,.overflow-auto")}return scrollTargets.includes(o)?window:o}function getVerticalScrollPosition$1(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function getHorizontalScrollPosition$1(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}let size$1;function getScrollbarWidth(){if(size$1!==void 0)return size$1;const t=document.createElement("p"),r=document.createElement("div");css$2(t,{width:"100%",height:"200px"}),css$2(r,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),r.appendChild(t),document.body.appendChild(r);const o=t.offsetWidth;r.style.overflow="scroll";let a=t.offsetWidth;return o===a&&(a=r.clientWidth),r.remove(),size$1=o-a,size$1}function hasScrollbar$1(t,r=!0){return!t||t.nodeType!==Node.ELEMENT_NODE?!1:r?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"]))}const{passive:passive$1}=listenOpts$1,axisValues=["both","horizontal","vertical"];var QScrollObserver=createComponent({name:"QScrollObserver",props:{axis:{type:String,validator:t=>axisValues.includes(t),default:"vertical"},debounce:[String,Number],scrollTarget:scrollTargetProp},emits:["scroll"],setup(t,{emit:r}){const o={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let a=null,u,d;watch(()=>t.scrollTarget,()=>{y(),v()});function g(){a!==null&&a();const _=Math.max(0,getVerticalScrollPosition$1(u)),w=getHorizontalScrollPosition$1(u),S={top:_-o.position.top,left:w-o.position.left};if(t.axis==="vertical"&&S.top===0||t.axis==="horizontal"&&S.left===0)return;const C=Math.abs(S.top)>=Math.abs(S.left)?S.top<0?"up":"down":S.left<0?"left":"right";o.position={top:_,left:w},o.directionChanged=o.direction!==C,o.delta=S,o.directionChanged===!0&&(o.direction=C,o.inflectionPoint=o.position),r("scroll",{...o})}function v(){u=getScrollTarget(d,t.scrollTarget),u.addEventListener("scroll",A,passive$1),A(!0)}function y(){u!==void 0&&(u.removeEventListener("scroll",A,passive$1),u=void 0)}function A(_){if(_===!0||t.debounce===0||t.debounce==="0")g();else if(a===null){const[w,S]=t.debounce?[setTimeout(g,t.debounce),clearTimeout]:[requestAnimationFrame(g),cancelAnimationFrame];a=()=>{S(w),a=null}}}const{proxy:b}=getCurrentInstance();return watch(()=>b.$q.lang.rtl,g),onMounted(()=>{d=b.$el.parentNode,v()}),onBeforeUnmount(()=>{a!==null&&a(),y()}),Object.assign(b,{trigger:A,getPosition:()=>o}),noop$6}});function useHydration(){const t=ref(!isRuntimeSsrPreHydration.value);return t.value===!1&&onMounted(()=>{t.value=!0}),{isHydrated:t}}const hasObserver=typeof ResizeObserver!="undefined",resizeProps=hasObserver===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var QResizeObserver=createComponent({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(t,{emit:r}){let o=null,a,u={width:-1,height:-1};function d(b){b===!0||t.debounce===0||t.debounce==="0"?g():o===null&&(o=setTimeout(g,t.debounce))}function g(){if(o!==null&&(clearTimeout(o),o=null),a){const{offsetWidth:b,offsetHeight:_}=a;(b!==u.width||_!==u.height)&&(u={width:b,height:_},r("resize",u))}}const{proxy:v}=getCurrentInstance();if(v.trigger=d,hasObserver===!0){let b;const _=w=>{a=v.$el.parentNode,a?(b=new ResizeObserver(d),b.observe(a),g()):w!==!0&&nextTick(()=>{_(!0)})};return onMounted(()=>{_()}),onBeforeUnmount(()=>{o!==null&&clearTimeout(o),b!==void 0&&(b.disconnect!==void 0?b.disconnect():a&&b.unobserve(a))}),noop$6}else{let w=function(){o!==null&&(clearTimeout(o),o=null),_!==void 0&&(_.removeEventListener!==void 0&&_.removeEventListener("resize",d,listenOpts$1.passive),_=void 0)},S=function(){w(),a&&a.contentDocument&&(_=a.contentDocument.defaultView,_.addEventListener("resize",d,listenOpts$1.passive),g())};var y=w,A=S;const{isHydrated:b}=useHydration();let _;return onMounted(()=>{nextTick(()=>{a=v.$el,a&&S()})}),onBeforeUnmount(w),()=>{if(b.value===!0)return h("object",{class:"q--avoid-card-border",style:resizeProps.style,tabindex:-1,type:"text/html",data:resizeProps.url,"aria-hidden":"true",onLoad:S})}}}});function hSlot(t,r){return t!==void 0&&t()||r}function hUniqueSlot(t,r){if(t!==void 0){const o=t();if(o!=null)return o.slice()}return r}function hMergeSlot(t,r){return t!==void 0?r.concat(t()):r}function hMergeSlotSafely(t,r){return t===void 0?r:r!==void 0?r.concat(t()):t()}function hDir(t,r,o,a,u,d){r.key=a+u;const g=h(t,r,o);return u===!0?withDirectives(g,d()):g}var QLayout=createComponent({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:t=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=ref(null),d=ref(a.screen.height),g=ref(t.container===!0?0:a.screen.width),v=ref({position:0,direction:"down",inflectionPoint:0}),y=ref(0),A=ref(isRuntimeSsrPreHydration.value===!0?0:getScrollbarWidth()),b=computed(()=>"q-layout q-layout--"+(t.container===!0?"containerized":"standard")),_=computed(()=>t.container===!1?{minHeight:a.screen.height+"px"}:null),w=computed(()=>A.value!==0?{[a.lang.rtl===!0?"left":"right"]:`${A.value}px`}:null),S=computed(()=>A.value!==0?{[a.lang.rtl===!0?"right":"left"]:0,[a.lang.rtl===!0?"left":"right"]:`-${A.value}px`,width:`calc(100% + ${A.value}px)`}:null);function C(G){if(t.container===!0||document.qScrollPrevented!==!0){const M={position:G.position.top,direction:G.direction,directionChanged:G.directionChanged,inflectionPoint:G.inflectionPoint.top,delta:G.delta.top};v.value=M,t.onScroll!==void 0&&o("scroll",M)}}function T(G){const{height:M,width:N}=G;let V=!1;d.value!==M&&(V=!0,d.value=M,t.onScrollHeight!==void 0&&o("scrollHeight",M),E()),g.value!==N&&(V=!0,g.value=N),V===!0&&t.onResize!==void 0&&o("resize",G)}function I({height:G}){y.value!==G&&(y.value=G,E())}function E(){if(t.container===!0){const G=d.value>y.value?getScrollbarWidth():0;A.value!==G&&(A.value=G)}}let F=null;const O={instances:{},view:computed(()=>t.view),isContainer:computed(()=>t.container),rootRef:u,height:d,containerHeight:y,scrollbarWidth:A,totalWidth:computed(()=>g.value+A.value),rows:computed(()=>{const G=t.view.toLowerCase().split(" ");return{top:G[0].split(""),middle:G[1].split(""),bottom:G[2].split("")}}),header:reactive({size:0,offset:0,space:!1}),right:reactive({size:300,offset:0,space:!1}),footer:reactive({size:0,offset:0,space:!1}),left:reactive({size:300,offset:0,space:!1}),scroll:v,animate(){F!==null?clearTimeout(F):document.body.classList.add("q-body--layout-animate"),F=setTimeout(()=>{F=null,document.body.classList.remove("q-body--layout-animate")},155)},update(G,M,N){O[G][M]=N}};if(provide(layoutKey,O),getScrollbarWidth()>0){let N=function(){G=null,M.classList.remove("hide-scrollbar")},V=function(){if(G===null){if(M.scrollHeight>a.screen.height)return;M.classList.add("hide-scrollbar")}else clearTimeout(G);G=setTimeout(N,300)},Y=function(H){G!==null&&H==="remove"&&(clearTimeout(G),N()),window[`${H}EventListener`]("resize",V)};var D=N,x=V,P=Y;let G=null;const M=document.body;watch(()=>t.container!==!0?"add":"remove",Y),t.container!==!0&&Y("add"),onUnmounted(()=>{Y("remove")})}return()=>{const G=hMergeSlot(r.default,[h(QScrollObserver,{onScroll:C}),h(QResizeObserver,{onResize:T})]),M=h("div",{class:b.value,style:_.value,ref:t.container===!0?void 0:u,tabindex:-1},G);return t.container===!0?h("div",{class:"q-layout-container overflow-hidden",ref:u},[h(QResizeObserver,{onResize:I}),h("div",{class:"absolute-full",style:w.value},[h("div",{class:"scroll",style:S.value},[M])])]):M}}});/*! +**/let policy;const tt=typeof window!="undefined"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:t=>t})}catch(t){}const unsafeToTrustedHTML=policy?t=>policy.createHTML(t):t=>t,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document!="undefined"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(t,r,o)=>{r.insertBefore(t,o||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,o,a)=>{const u=r==="svg"?doc.createElementNS(svgNS,t):r==="mathml"?doc.createElementNS(mathmlNS,t):o?doc.createElement(t,{is:o}):doc.createElement(t);return t==="select"&&a&&a.multiple!=null&&u.setAttribute("multiple",a.multiple),u},createText:t=>doc.createTextNode(t),createComment:t=>doc.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>doc.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,o,a,u,d){const g=o?o.previousSibling:r.lastChild;if(u&&(u===d||u.nextSibling))for(;r.insertBefore(u.cloneNode(!0),o),!(u===d||!(u=u.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(a==="svg"?`${t}`:a==="mathml"?`${t}`:t);const v=templateContainer.content;if(a==="svg"||a==="mathml"){const y=v.firstChild;for(;y.firstChild;)v.appendChild(y.firstChild);v.removeChild(y)}r.insertBefore(v,o)}return[g?g.nextSibling:r.firstChild,o?o.previousSibling:r.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName="Transition",t.props=TransitionPropsValidators,t),Transition=decorate$1((t,{slots:r})=>h(BaseTransition,resolveTransitionProps(t),r)),callHook=(t,r=[])=>{isArray$i(t)?t.forEach(o=>o(...r)):t&&t(...r)},hasExplicitCallback=t=>t?isArray$i(t)?t.some(r=>r.length>1):t.length>1:!1;function resolveTransitionProps(t){const r={};for(const H in t)H in DOMTransitionPropsValidators||(r[H]=t[H]);if(t.css===!1)return r;const{name:o="v",type:a,duration:u,enterFromClass:d=`${o}-enter-from`,enterActiveClass:g=`${o}-enter-active`,enterToClass:v=`${o}-enter-to`,appearFromClass:y=d,appearActiveClass:A=g,appearToClass:b=v,leaveFromClass:_=`${o}-leave-from`,leaveActiveClass:w=`${o}-leave-active`,leaveToClass:S=`${o}-leave-to`}=t,C=normalizeDuration(u),T=C&&C[0],I=C&&C[1],{onBeforeEnter:E,onEnter:F,onEnterCancelled:O,onLeave:D,onLeaveCancelled:x,onBeforeAppear:P=E,onAppear:G=F,onAppearCancelled:M=O}=r,N=(H,B,z)=>{removeTransitionClass(H,B?b:v),removeTransitionClass(H,B?A:g),z&&z()},V=(H,B)=>{H._isLeaving=!1,removeTransitionClass(H,_),removeTransitionClass(H,S),removeTransitionClass(H,w),B&&B()},Z=H=>(B,z)=>{const U=H?G:F,Q=()=>N(B,H,z);callHook(U,[B,Q]),nextFrame(()=>{removeTransitionClass(B,H?y:d),addTransitionClass(B,H?b:v),hasExplicitCallback(U)||whenTransitionEnds(B,a,T,Q)})};return extend$3(r,{onBeforeEnter(H){callHook(E,[H]),addTransitionClass(H,d),addTransitionClass(H,g)},onBeforeAppear(H){callHook(P,[H]),addTransitionClass(H,y),addTransitionClass(H,A)},onEnter:Z(!1),onAppear:Z(!0),onLeave(H,B){H._isLeaving=!0;const z=()=>V(H,B);addTransitionClass(H,_),addTransitionClass(H,w),forceReflow(),nextFrame(()=>{!H._isLeaving||(removeTransitionClass(H,_),addTransitionClass(H,S),hasExplicitCallback(D)||whenTransitionEnds(H,a,I,z))}),callHook(D,[H,z])},onEnterCancelled(H){N(H,!1),callHook(O,[H])},onAppearCancelled(H){N(H,!0),callHook(M,[H])},onLeaveCancelled(H){V(H),callHook(x,[H])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$p(t))return[NumberOf(t.enter),NumberOf(t.leave)];{const r=NumberOf(t);return[r,r]}}function NumberOf(t){return toNumber(t)}function addTransitionClass(t,r){r.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[vtcKey]||(t[vtcKey]=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(a=>a&&t.classList.remove(a));const o=t[vtcKey];o&&(o.delete(r),o.size||(t[vtcKey]=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,o,a){const u=t._endId=++endId,d=()=>{u===t._endId&&a()};if(o)return setTimeout(d,o);const{type:g,timeout:v,propCount:y}=getTransitionInfo(t,r);if(!g)return a();const A=g+"end";let b=0;const _=()=>{t.removeEventListener(A,w),d()},w=S=>{S.target===t&&++b>=y&&_()};setTimeout(()=>{b(o[C]||"").split(", "),u=a(`${TRANSITION}Delay`),d=a(`${TRANSITION}Duration`),g=getTimeout(u,d),v=a(`${ANIMATION}Delay`),y=a(`${ANIMATION}Duration`),A=getTimeout(v,y);let b=null,_=0,w=0;r===TRANSITION?g>0&&(b=TRANSITION,_=g,w=d.length):r===ANIMATION?A>0&&(b=ANIMATION,_=A,w=y.length):(_=Math.max(g,A),b=_>0?g>A?TRANSITION:ANIMATION:null,w=b?b===TRANSITION?d.length:y.length:0);const S=b===TRANSITION&&/\b(transform|all)(,|$)/.test(a(`${TRANSITION}Property`).toString());return{type:b,timeout:_,propCount:w,hasTransform:S}}function getTimeout(t,r){for(;t.lengthtoMs(o)+toMs(t[a])))}function toMs(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(t,r,o){const a=t[vtcKey];a&&(r=(r?[r,...a]:[...a]).join(" ")),r==null?t.removeAttribute("class"):o?t.setAttribute("class",r):t.className=r}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(t,{value:r},{transition:o}){t[vShowOriginalDisplay]=t.style.display==="none"?"":t.style.display,o&&r?o.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:o}){o&&r&&o.enter(t)},updated(t,{value:r,oldValue:o},{transition:a}){!r!=!o&&(a?r?(a.beforeEnter(t),setDisplay(t,!0),a.enter(t)):a.leave(t,()=>{setDisplay(t,!1)}):setDisplay(t,r))},beforeUnmount(t,{value:r}){setDisplay(t,r)}};function setDisplay(t,r){t.style.display=r?t[vShowOriginalDisplay]:"none",t[vShowHidden]=!r}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(t,r,o){const a=t.style,u=isString$7(o);let d=!1;if(o&&!u){if(r)if(isString$7(r))for(const g of r.split(";")){const v=g.slice(0,g.indexOf(":")).trim();o[v]==null&&setStyle(a,v,"")}else for(const g in r)o[g]==null&&setStyle(a,g,"");for(const g in o)g==="display"&&(d=!0),setStyle(a,g,o[g])}else if(u){if(r!==o){const g=a[CSS_VAR_TEXT];g&&(o+=";"+g),a.cssText=o,d=displayRE.test(o)}}else r&&t.removeAttribute("style");vShowOriginalDisplay in t&&(t[vShowOriginalDisplay]=d?a.display:"",t[vShowHidden]&&(a.display="none"))}const importantRE=/\s*!important$/;function setStyle(t,r,o){if(isArray$i(o))o.forEach(a=>setStyle(t,r,a));else if(o==null&&(o=""),r.startsWith("--"))t.setProperty(r,o);else{const a=autoPrefix(t,r);importantRE.test(o)?t.setProperty(hyphenate(a),o.replace(importantRE,""),"important"):t[a]=o}}const prefixes$1=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const o=prefixCache[r];if(o)return o;let a=camelize(r);if(a!=="filter"&&a in t)return prefixCache[r]=a;a=capitalize$3(a);for(let u=0;ucachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(t,r){const o=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=o.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(a,o.value),r,5,[a])};return o.value=t,o.attached=getNow(),o}function patchStopImmediatePropagation(t,r){if(isArray$i(r)){const o=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{o.call(t),t._stopped=!0},r.map(a=>u=>!u._stopped&&a&&a(u))}else return r}const isNativeOn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,patchProp=(t,r,o,a,u,d)=>{const g=u==="svg";r==="class"?patchClass(t,a,g):r==="style"?patchStyle(t,o,a):isOn$1(r)?isModelListener(r)||patchEvent(t,r,o,a,d):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,a,g))?(patchDOMProp(t,r,a),!t.tagName.includes("-")&&(r==="value"||r==="checked"||r==="selected")&&patchAttr(t,r,a,g,d,r!=="value")):(r==="true-value"?t._trueValue=a:r==="false-value"&&(t._falseValue=a),patchAttr(t,r,a,g))};function shouldSetAsProp(t,r,o,a){if(a)return!!(r==="innerHTML"||r==="textContent"||r in t&&isNativeOn(r)&&isFunction$8(o));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const u=t.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return isNativeOn(r)&&isString$7(o)?!1:!!(r in t||t._isVueCE&&(/[A-Z]/.test(r)||!isString$7(o)))}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=t=>(delete t.props.mode,t),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$3({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(t,{slots:r}){const o=getCurrentInstance(),a=useTransitionState();let u,d;return onUpdated(()=>{if(!u.length)return;const g=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(u[0].el,o.vnode.el,g))return;u.forEach(callPendingCbs),u.forEach(recordPosition);const v=u.filter(applyTranslation);forceReflow(),v.forEach(y=>{const A=y.el,b=A.style;addTransitionClass(A,g),b.transform=b.webkitTransform=b.transitionDuration="";const _=A[moveCbKey]=w=>{w&&w.target!==A||(!w||/transform$/.test(w.propertyName))&&(A.removeEventListener("transitionend",_),A[moveCbKey]=null,removeTransitionClass(A,g))};A.addEventListener("transitionend",_)})}),()=>{const g=toRaw(t),v=resolveTransitionProps(g);let y=g.tag||Fragment;if(u=[],d)for(let A=0;A{v.split(/\s+/).forEach(y=>y&&a.classList.remove(y))}),o.split(/\s+/).forEach(v=>v&&a.classList.add(v)),a.style.display="none";const d=r.nodeType===1?r:r.parentNode;d.appendChild(a);const{hasTransform:g}=getTransitionInfo(a);return d.removeChild(a),g}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>systemModifiers.some(o=>t[`${o}Key`]&&!r.includes(o))},withModifiers=(t,r)=>{const o=t._withMods||(t._withMods={}),a=r.join(".");return o[a]||(o[a]=(u,...d)=>{for(let g=0;g{const o=t._withKeys||(t._withKeys={}),a=r.join(".");return o[a]||(o[a]=u=>{if(!("key"in u))return;const d=hyphenate(u.key);if(r.some(g=>g===d||keyNames[g]===d))return t(u)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp=(...t)=>{const r=ensureRenderer().createApp(...t),{mount:o}=r;return r.mount=a=>{const u=normalizeContainer(a);if(!u)return;const d=r._component;!isFunction$8(d)&&!d.render&&!d.template&&(d.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const g=o(u,!1,resolveRootNamespace(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),g},r};function resolveRootNamespace(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function normalizeContainer(t){return isString$7(t)?document.querySelector(t):t}var mdiV7="",robotoFont="",fadeIn="",fadeOut="",quasar="",app$1="",index$c="";function injectProp(t,r,o,a){return Object.defineProperty(t,r,{get:o,set:a,enumerable:!0}),t}function injectMultipleProps(t,r){for(const o in r)injectProp(t,o,r[o]);return t}const isRuntimeSsrPreHydration=ref(!1);let preHydrationBrowser;function getMatch(t,r){const o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome|crios)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(firefox|fxios)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:r[0]||""}}function getPlatformMatch(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const hasTouch="ontouchstart"in window||window.navigator.maxTouchPoints>0;function getPlatform(t){const r=t.toLowerCase(),o=getPlatformMatch(r),a=getMatch(r,o),u={};a.browser&&(u[a.browser]=!0,u.version=a.version,u.versionNumber=parseInt(a.version,10)),a.platform&&(u[a.platform]=!0);const d=u.android||u.ios||u.bb||u.blackberry||u.ipad||u.iphone||u.ipod||u.kindle||u.playbook||u.silk||u["windows phone"];if(d===!0||r.indexOf("mobile")!==-1?u.mobile=!0:u.desktop=!0,u["windows phone"]&&(u.winphone=!0,delete u["windows phone"]),u.edga||u.edgios||u.edg?(u.edge=!0,a.browser="edge"):u.crios?(u.chrome=!0,a.browser="chrome"):u.fxios&&(u.firefox=!0,a.browser="firefox"),(u.ipod||u.ipad||u.iphone)&&(u.ios=!0),u.vivaldi&&(a.browser="vivaldi",u.vivaldi=!0),(u.chrome||u.opr||u.safari||u.vivaldi||u.mobile===!0&&u.ios!==!0&&d!==!0)&&(u.webkit=!0),u.opr&&(a.browser="opera",u.opera=!0),u.safari&&(u.blackberry||u.bb?(a.browser="blackberry",u.blackberry=!0):u.playbook?(a.browser="playbook",u.playbook=!0):u.android?(a.browser="android",u.android=!0):u.kindle?(a.browser="kindle",u.kindle=!0):u.silk&&(a.browser="silk",u.silk=!0)),u.name=a.browser,u.platform=a.platform,r.indexOf("electron")!==-1)u.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)u.bex=!0;else{if(window.Capacitor!==void 0?(u.capacitor=!0,u.nativeMobile=!0,u.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(u.cordova=!0,u.nativeMobile=!0,u.nativeMobileWrapper="cordova"),isRuntimeSsrPreHydration.value===!0&&(preHydrationBrowser={is:{...u}}),hasTouch===!0&&u.mac===!0&&(u.desktop===!0&&u.safari===!0||u.nativeMobile===!0&&u.android!==!0&&u.ios!==!0&&u.ipad!==!0)){delete u.mac,delete u.desktop;const g=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(u,{mobile:!0,ios:!0,platform:g,[g]:!0})}u.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete u.desktop,u.mobile=!0)}return u}const userAgent$3=navigator.userAgent||navigator.vendor||window.opera,ssrClient={has:{touch:!1,webStorage:!1},within:{iframe:!1}},client={userAgent:userAgent$3,is:getPlatform(userAgent$3),has:{touch:hasTouch},within:{iframe:window.self!==window.top}},Platform={install(t){const{$q:r}=t;isRuntimeSsrPreHydration.value===!0?(t.onSSRHydrated.push(()=>{Object.assign(r.platform,client),isRuntimeSsrPreHydration.value=!1}),r.platform=reactive(this)):r.platform=this}};{let t;injectProp(client.has,"webStorage",()=>{if(t!==void 0)return t;try{if(window.localStorage)return t=!0,!0}catch(r){}return t=!1,!1}),Object.assign(Platform,client),isRuntimeSsrPreHydration.value===!0&&(Object.assign(Platform,preHydrationBrowser,ssrClient),preHydrationBrowser=null)}function createComponent(t){return markRaw(defineComponent(t))}function createDirective(t){return markRaw(t)}const createReactivePlugin=(t,r)=>{const o=reactive(t);for(const a in t)injectProp(r,a,()=>o[a],u=>{o[a]=u});return r},listenOpts$1={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const t=Object.defineProperty({},"passive",{get(){Object.assign(listenOpts$1,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,t),window.removeEventListener("qtest",null,t)}catch(t){}function noop$6(){}function leftClick(t){return t.button===0}function position$1(t){return t.touches&&t.touches[0]?t=t.touches[0]:t.changedTouches&&t.changedTouches[0]?t=t.changedTouches[0]:t.targetTouches&&t.targetTouches[0]&&(t=t.targetTouches[0]),{top:t.clientY,left:t.clientX}}function getEventPath$1(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();const r=[];let o=t.target;for(;o;){if(r.push(o),o.tagName==="HTML")return r.push(document),r.push(window),r;o=o.parentElement}}function stop$1(t){t.stopPropagation()}function prevent(t){t.cancelable!==!1&&t.preventDefault()}function stopAndPrevent$1(t){t.cancelable!==!1&&t.preventDefault(),t.stopPropagation()}function preventDraggable(t,r){if(t===void 0||r===!0&&t.__dragPrevented===!0)return;const o=r===!0?a=>{a.__dragPrevented=!0,a.addEventListener("dragstart",prevent,listenOpts$1.notPassiveCapture)}:a=>{delete a.__dragPrevented,a.removeEventListener("dragstart",prevent,listenOpts$1.notPassiveCapture)};t.querySelectorAll("a, img").forEach(o)}function addEvt(t,r,o){const a=`__q_${r}_evt`;t[a]=t[a]!==void 0?t[a].concat(o):o,o.forEach(u=>{u[0].addEventListener(u[1],t[u[2]],listenOpts$1[u[3]])})}function cleanEvt(t,r){const o=`__q_${r}_evt`;t[o]!==void 0&&(t[o].forEach(a=>{a[0].removeEventListener(a[1],t[a[2]],listenOpts$1[a[3]])}),t[o]=void 0)}function debounce$1(t,r=250,o){let a=null;function u(){const d=arguments,g=()=>{a=null,o!==!0&&t.apply(this,d)};a!==null?clearTimeout(a):o===!0&&t.apply(this,d),a=setTimeout(g,r)}return u.cancel=()=>{a!==null&&clearTimeout(a)},u}const SIZE_LIST=["sm","md","lg","xl"],{passive:passive$2}=listenOpts$1;var Screen=createReactivePlugin({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:noop$6,setDebounce:noop$6,install({$q:t,onSSRHydrated:r}){if(t.screen=this,this.__installed===!0){t.config.screen!==void 0&&(t.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:o}=window,a=o||window,u=document.scrollingElement||document.documentElement,d=o===void 0||client.is.mobile===!0?()=>[Math.max(window.innerWidth,u.clientWidth),Math.max(window.innerHeight,u.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-u.clientWidth,o.height*o.scale+window.innerHeight-u.clientHeight],g=t.config.screen!==void 0&&t.config.screen.bodyClasses===!0;this.__update=_=>{const[w,S]=d();if(S!==this.height&&(this.height=S),w!==this.width)this.width=w;else if(_!==!0)return;let C=this.sizes;this.gt.xs=w>=C.sm,this.gt.sm=w>=C.md,this.gt.md=w>=C.lg,this.gt.lg=w>=C.xl,this.lt.sm=w{SIZE_LIST.forEach(w=>{_[w]!==void 0&&(y[w]=_[w])})},this.setDebounce=_=>{A=_};const b=()=>{const _=getComputedStyle(document.body);_.getPropertyValue("--q-size-sm")&&SIZE_LIST.forEach(w=>{this.sizes[w]=parseInt(_.getPropertyValue(`--q-size-${w}`),10)}),this.setSizes=w=>{SIZE_LIST.forEach(S=>{w[S]&&(this.sizes[S]=w[S])}),this.__update(!0)},this.setDebounce=w=>{v!==void 0&&a.removeEventListener("resize",v,passive$2),v=w>0?debounce$1(this.__update,w):this.__update,a.addEventListener("resize",v,passive$2)},this.setDebounce(A),Object.keys(y).length!==0?(this.setSizes(y),y=void 0):this.__update(),g===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};isRuntimeSsrPreHydration.value===!0?r.push(b):b()}});const Plugin$3=createReactivePlugin({isActive:!1,mode:!1},{__media:void 0,set(t){Plugin$3.mode=t,t==="auto"?(Plugin$3.__media===void 0&&(Plugin$3.__media=window.matchMedia("(prefers-color-scheme: dark)"),Plugin$3.__updateMedia=()=>{Plugin$3.set("auto")},Plugin$3.__media.addListener(Plugin$3.__updateMedia)),t=Plugin$3.__media.matches):Plugin$3.__media!==void 0&&(Plugin$3.__media.removeListener(Plugin$3.__updateMedia),Plugin$3.__media=void 0),Plugin$3.isActive=t===!0,document.body.classList.remove(`body--${t===!0?"light":"dark"}`),document.body.classList.add(`body--${t===!0?"dark":"light"}`)},toggle(){Plugin$3.set(Plugin$3.isActive===!1)},install({$q:t,ssrContext:r}){const{dark:o}=t.config;t.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}});function setCssVar(t,r,o=document.body){if(typeof t!="string")throw new TypeError("Expected a string as propName");if(typeof r!="string")throw new TypeError("Expected a string as value");if(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${t}`,r)}let lastKeyCompositionStatus=!1;function onKeyDownComposition(t){lastKeyCompositionStatus=t.isComposing===!0}function shouldIgnoreKey(t){return lastKeyCompositionStatus===!0||t!==Object(t)||t.isComposing===!0||t.qKeyEvent===!0}function isKeyCode(t,r){return shouldIgnoreKey(t)===!0?!1:[].concat(r).includes(t.keyCode)}function getMobilePlatform(t){if(t.ios===!0)return"ios";if(t.android===!0)return"android"}function getBodyClasses({is:t,has:r,within:o},a){const u=[t.desktop===!0?"desktop":"mobile",`${r.touch===!1?"no-":""}touch`];if(t.mobile===!0){const d=getMobilePlatform(t);d!==void 0&&u.push("platform-"+d)}if(t.nativeMobile===!0){const d=t.nativeMobileWrapper;u.push(d),u.push("native-mobile"),t.ios===!0&&(a[d]===void 0||a[d].iosStatusBarPadding!==!1)&&u.push("q-ios-padding")}else t.electron===!0?u.push("electron"):t.bex===!0&&u.push("bex");return o.iframe===!0&&u.push("within-iframe"),u}function applyClientSsrCorrections(){const{is:t}=client,r=document.body.className,o=new Set(r.replace(/ {2}/g," ").split(" "));if(t.nativeMobile!==!0&&t.electron!==!0&&t.bex!==!0){if(t.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(t.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");const u=getMobilePlatform(t);u!==void 0&&o.add(`platform-${u}`)}}client.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),client.within.iframe===!0&&o.add("within-iframe");const a=Array.from(o).join(" ");r!==a&&(document.body.className=a)}function setColors(t){for(const r in t)setCssVar(r,t[r])}var Body={install(t){if(this.__installed!==!0){if(isRuntimeSsrPreHydration.value===!0)applyClientSsrCorrections();else{const{$q:r}=t;r.config.brand!==void 0&&setColors(r.config.brand);const o=getBodyClasses(client,r.config);document.body.classList.add.apply(document.body.classList,o)}client.is.ios===!0&&document.body.addEventListener("touchstart",noop$6),window.addEventListener("keydown",onKeyDownComposition,!0)}}};const getTrue=()=>!0;function filterInvalidPath(t){return typeof t=="string"&&t!==""&&t!=="/"&&t!=="#/"}function normalizeExitPath(t){return t.startsWith("#")===!0&&(t=t.substring(1)),t.startsWith("/")===!1&&(t="/"+t),t.endsWith("/")===!0&&(t=t.substring(0,t.length-1)),"#"+t}function getShouldExitFn(t){if(t.backButtonExit===!1)return()=>!1;if(t.backButtonExit==="*")return getTrue;const r=["#/"];return Array.isArray(t.backButtonExit)===!0&&r.push(...t.backButtonExit.filter(filterInvalidPath).map(normalizeExitPath)),()=>r.includes(window.location.hash)}var History={__history:[],add:noop$6,remove:noop$6,install({$q:t}){if(this.__installed===!0)return;const{cordova:r,capacitor:o}=client.is;if(r!==!0&&o!==!0)return;const a=t.config[r===!0?"cordova":"capacitor"];if(a!==void 0&&a.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=g=>{g.condition===void 0&&(g.condition=getTrue),this.__history.push(g)},this.remove=g=>{const v=this.__history.indexOf(g);v>=0&&this.__history.splice(v,1)};const u=getShouldExitFn(Object.assign({backButtonExit:!0},a)),d=()=>{if(this.__history.length){const g=this.__history[this.__history.length-1];g.condition()===!0&&(this.__history.pop(),g.handler())}else u()===!0?navigator.app.exitApp():window.history.back()};r===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",d,!1)}):window.Capacitor.Plugins.App.addListener("backButton",d)}},defaultLang={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:t=>t?`Expand "${t}"`:"Expand",collapse:t=>t?`Collapse "${t}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:t=>t===1?"1 record selected.":(t===0?"No":t)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(t,r,o)=>t+"-"+r+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function getLocale$1(){const t=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof t=="string")return t.split(/[-_]/).map((r,o)=>o===0?r.toLowerCase():o>1||r.length<4?r.toUpperCase():r[0].toUpperCase()+r.slice(1).toLowerCase()).join("-")}const Plugin$2=createReactivePlugin({__qLang:{}},{getLocale:getLocale$1,set(t=defaultLang,r){const o={...t,rtl:t.rtl===!0,getLocale:getLocale$1};{if(o.set=Plugin$2.set,Plugin$2.__langConfig===void 0||Plugin$2.__langConfig.noHtmlAttrs!==!0){const a=document.documentElement;a.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),a.setAttribute("lang",o.isoName)}Object.assign(Plugin$2.__qLang,o)}},install({$q:t,lang:r,ssrContext:o}){t.lang=Plugin$2.__qLang,Plugin$2.__langConfig=t.config.lang,this.__installed===!0?r!==void 0&&this.set(r):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(a){return Reflect.ownKeys(a).filter(u=>u!=="set"&&u!=="getLocale")}}),this.set(r||defaultLang))}});var materialIcons={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const Plugin$1=createReactivePlugin({iconMapFn:null,__qIconSet:{}},{set(t,r){const o={...t};o.set=Plugin$1.set,Object.assign(Plugin$1.__qIconSet,o)},install({$q:t,iconSet:r,ssrContext:o}){t.config.iconMapFn!==void 0&&(this.iconMapFn=t.config.iconMapFn),t.iconSet=this.__qIconSet,injectProp(t,"iconMapFn",()=>this.iconMapFn,a=>{this.iconMapFn=a}),this.__installed===!0?r!==void 0&&this.set(r):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(a){return Reflect.ownKeys(a).filter(u=>u!=="set")}}),this.set(r||materialIcons))}}),quasarKey="_q_",layoutKey="_q_l_",pageContainerKey="_q_pc_",formKey="_q_fo_",tabsKey="_q_tabs_";function emptyRenderFn(){}const globalConfig={};let globalConfigIsFrozen=!1;function freezeGlobalConfig(){globalConfigIsFrozen=!0}function isDeepEqual(t,r){if(t===r)return!0;if(t!==null&&r!==null&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;let o,a;if(t.constructor===Array){if(o=t.length,o!==r.length)return!1;for(a=o;a--!==0;)if(isDeepEqual(t[a],r[a])!==!0)return!1;return!0}if(t.constructor===Map){if(t.size!==r.size)return!1;let d=t.entries();for(a=d.next();a.done!==!0;){if(r.has(a.value[0])!==!0)return!1;a=d.next()}for(d=t.entries(),a=d.next();a.done!==!0;){if(isDeepEqual(a.value[1],r.get(a.value[0]))!==!0)return!1;a=d.next()}return!0}if(t.constructor===Set){if(t.size!==r.size)return!1;const d=t.entries();for(a=d.next();a.done!==!0;){if(r.has(a.value[0])!==!0)return!1;a=d.next()}return!0}if(t.buffer!=null&&t.buffer.constructor===ArrayBuffer){if(o=t.length,o!==r.length)return!1;for(a=o;a--!==0;)if(t[a]!==r[a])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();const u=Object.keys(t).filter(d=>t[d]!==void 0);if(o=u.length,o!==Object.keys(r).filter(d=>r[d]!==void 0).length)return!1;for(a=o;a--!==0;){const d=u[a];if(isDeepEqual(t[d],r[d])!==!0)return!1}return!0}return t!==t&&r!==r}function isObject$o(t){return t!==null&&typeof t=="object"&&Array.isArray(t)!==!0}function isDate$6(t){return Object.prototype.toString.call(t)==="[object Date]"}function isNumber$6(t){return typeof t=="number"&&isFinite(t)}const autoInstalledPlugins=[Platform,Body,Plugin$3,Screen,History,Plugin$2,Plugin$1];function createChildApp(t,r){const o=createApp(t);o.config.globalProperties=r.config.globalProperties;const{reload:a,...u}=r._context;return Object.assign(o._context,u),o}function installPlugins(t,r){r.forEach(o=>{o.install(t),o.__installed=!0})}function prepareApp(t,r,o){t.config.globalProperties.$q=o.$q,t.provide(quasarKey,o.$q),installPlugins(o,autoInstalledPlugins),r.components!==void 0&&Object.values(r.components).forEach(a=>{isObject$o(a)===!0&&a.name!==void 0&&t.component(a.name,a)}),r.directives!==void 0&&Object.values(r.directives).forEach(a=>{isObject$o(a)===!0&&a.name!==void 0&&t.directive(a.name,a)}),r.plugins!==void 0&&installPlugins(o,Object.values(r.plugins).filter(a=>typeof a.install=="function"&&autoInstalledPlugins.includes(a)===!1)),isRuntimeSsrPreHydration.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(a=>{a()}),o.$q.onSSRHydrated=()=>{}})}var installQuasar=function(t,r={}){const o={version:"2.16.11"};globalConfigIsFrozen===!1?(r.config!==void 0&&Object.assign(globalConfig,r.config),o.config={...globalConfig},freezeGlobalConfig()):o.config=r.config||{},prepareApp(t,r,{parentApp:t,$q:o,lang:r.lang,iconSet:r.iconSet,onSSRHydrated:[]})},Quasar={name:"Quasar",version:"2.16.11",install:installQuasar,lang:Plugin$2,iconSet:Plugin$1};const useSizeDefaults={xs:18,sm:24,md:32,lg:38,xl:46},useSizeProps={size:String};function useSize(t,r=useSizeDefaults){return computed(()=>t.size!==void 0?{fontSize:t.size in r?`${r[t.size]}px`:t.size}:null)}const useSpinnerProps={size:{type:[String,Number],default:"1em"},color:String};function useSpinner(t){return{cSize:computed(()=>t.size in useSizeDefaults?`${useSizeDefaults[t.size]}px`:t.size),classes:computed(()=>"q-spinner"+(t.color?` text-${t.color}`:""))}}var QSpinner=createComponent({name:"QSpinner",props:{...useSpinnerProps,thickness:{type:Number,default:5}},setup(t){const{cSize:r,classes:o}=useSpinner(t);return()=>h("svg",{class:o.value+" q-spinner-mat",width:r.value,height:r.value,viewBox:"25 25 50 50"},[h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t.thickness,"stroke-miterlimit":"10"})])}});const useDarkProps={dark:{type:Boolean,default:null}};function useDark(t,r){return computed(()=>t.dark===null?r.dark.isActive:t.dark)}const useTransitionProps={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function useTransition(t,r=()=>{},o=()=>{}){return{transitionProps:computed(()=>{const a=`q-transition--${t.transitionShow||r()}`,u=`q-transition--${t.transitionHide||o()}`;return{appear:!0,enterFromClass:`${a}-enter-from`,enterActiveClass:`${a}-enter-active`,enterToClass:`${a}-enter-to`,leaveFromClass:`${u}-leave-from`,leaveActiveClass:`${u}-leave-active`,leaveToClass:`${u}-leave-to`}}),transitionStyle:computed(()=>`--q-transition-duration: ${t.transitionDuration}ms`)}}var QInnerLoading=createComponent({name:"QInnerLoading",props:{...useDarkProps,...useTransitionProps,showing:Boolean,color:String,size:{type:[String,Number],default:"42px"},label:String,labelClass:String,labelStyle:[String,Array,Object]},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),{transitionProps:u,transitionStyle:d}=useTransition(t),g=computed(()=>"q-inner-loading q--avoid-card-border absolute-full column flex-center"+(a.value===!0?" q-inner-loading--dark":"")),v=computed(()=>"q-inner-loading__label"+(t.labelClass!==void 0?` ${t.labelClass}`:""));function y(){const b=[h(QSpinner,{size:t.size,color:t.color})];return t.label!==void 0&&b.push(h("div",{class:v.value,style:t.labelStyle},[t.label])),b}function A(){return t.showing===!0?h("div",{class:g.value,style:d.value},r.default!==void 0?r.default():y()):null}return()=>h(Transition,u.value,A)}});function css$2(t,r){const o=t.style;for(const a in r)o[a]=r[a]}function getElement(t){if(t==null)return;if(typeof t=="string")try{return document.querySelector(t)||void 0}catch(o){return}const r=unref(t);if(r)return r.$el||r}function childHasFocus(t,r){if(t==null||t.contains(r)===!0)return!0;for(let o=t.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(r))return!0;return!1}const scrollTargetProp=[Element,String],scrollTargets=[null,document,document.body,document.scrollingElement,document.documentElement];function getScrollTarget(t,r){let o=getElement(r);if(o===void 0){if(t==null)return window;o=t.closest(".scroll,.scroll-y,.overflow-auto")}return scrollTargets.includes(o)?window:o}function getVerticalScrollPosition$1(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function getHorizontalScrollPosition$1(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}let size$1;function getScrollbarWidth(){if(size$1!==void 0)return size$1;const t=document.createElement("p"),r=document.createElement("div");css$2(t,{width:"100%",height:"200px"}),css$2(r,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),r.appendChild(t),document.body.appendChild(r);const o=t.offsetWidth;r.style.overflow="scroll";let a=t.offsetWidth;return o===a&&(a=r.clientWidth),r.remove(),size$1=o-a,size$1}function hasScrollbar$1(t,r=!0){return!t||t.nodeType!==Node.ELEMENT_NODE?!1:r?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"]))}const{passive:passive$1}=listenOpts$1,axisValues=["both","horizontal","vertical"];var QScrollObserver=createComponent({name:"QScrollObserver",props:{axis:{type:String,validator:t=>axisValues.includes(t),default:"vertical"},debounce:[String,Number],scrollTarget:scrollTargetProp},emits:["scroll"],setup(t,{emit:r}){const o={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let a=null,u,d;watch(()=>t.scrollTarget,()=>{y(),v()});function g(){a!==null&&a();const _=Math.max(0,getVerticalScrollPosition$1(u)),w=getHorizontalScrollPosition$1(u),S={top:_-o.position.top,left:w-o.position.left};if(t.axis==="vertical"&&S.top===0||t.axis==="horizontal"&&S.left===0)return;const C=Math.abs(S.top)>=Math.abs(S.left)?S.top<0?"up":"down":S.left<0?"left":"right";o.position={top:_,left:w},o.directionChanged=o.direction!==C,o.delta=S,o.directionChanged===!0&&(o.direction=C,o.inflectionPoint=o.position),r("scroll",{...o})}function v(){u=getScrollTarget(d,t.scrollTarget),u.addEventListener("scroll",A,passive$1),A(!0)}function y(){u!==void 0&&(u.removeEventListener("scroll",A,passive$1),u=void 0)}function A(_){if(_===!0||t.debounce===0||t.debounce==="0")g();else if(a===null){const[w,S]=t.debounce?[setTimeout(g,t.debounce),clearTimeout]:[requestAnimationFrame(g),cancelAnimationFrame];a=()=>{S(w),a=null}}}const{proxy:b}=getCurrentInstance();return watch(()=>b.$q.lang.rtl,g),onMounted(()=>{d=b.$el.parentNode,v()}),onBeforeUnmount(()=>{a!==null&&a(),y()}),Object.assign(b,{trigger:A,getPosition:()=>o}),noop$6}});function useHydration(){const t=ref(!isRuntimeSsrPreHydration.value);return t.value===!1&&onMounted(()=>{t.value=!0}),{isHydrated:t}}const hasObserver=typeof ResizeObserver!="undefined",resizeProps=hasObserver===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var QResizeObserver=createComponent({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(t,{emit:r}){let o=null,a,u={width:-1,height:-1};function d(b){b===!0||t.debounce===0||t.debounce==="0"?g():o===null&&(o=setTimeout(g,t.debounce))}function g(){if(o!==null&&(clearTimeout(o),o=null),a){const{offsetWidth:b,offsetHeight:_}=a;(b!==u.width||_!==u.height)&&(u={width:b,height:_},r("resize",u))}}const{proxy:v}=getCurrentInstance();if(v.trigger=d,hasObserver===!0){let b;const _=w=>{a=v.$el.parentNode,a?(b=new ResizeObserver(d),b.observe(a),g()):w!==!0&&nextTick(()=>{_(!0)})};return onMounted(()=>{_()}),onBeforeUnmount(()=>{o!==null&&clearTimeout(o),b!==void 0&&(b.disconnect!==void 0?b.disconnect():a&&b.unobserve(a))}),noop$6}else{let w=function(){o!==null&&(clearTimeout(o),o=null),_!==void 0&&(_.removeEventListener!==void 0&&_.removeEventListener("resize",d,listenOpts$1.passive),_=void 0)},S=function(){w(),a&&a.contentDocument&&(_=a.contentDocument.defaultView,_.addEventListener("resize",d,listenOpts$1.passive),g())};var y=w,A=S;const{isHydrated:b}=useHydration();let _;return onMounted(()=>{nextTick(()=>{a=v.$el,a&&S()})}),onBeforeUnmount(w),()=>{if(b.value===!0)return h("object",{class:"q--avoid-card-border",style:resizeProps.style,tabindex:-1,type:"text/html",data:resizeProps.url,"aria-hidden":"true",onLoad:S})}}}});function hSlot(t,r){return t!==void 0&&t()||r}function hUniqueSlot(t,r){if(t!==void 0){const o=t();if(o!=null)return o.slice()}return r}function hMergeSlot(t,r){return t!==void 0?r.concat(t()):r}function hMergeSlotSafely(t,r){return t===void 0?r:r!==void 0?r.concat(t()):t()}function hDir(t,r,o,a,u,d){r.key=a+u;const g=h(t,r,o);return u===!0?withDirectives(g,d()):g}var QLayout=createComponent({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:t=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=ref(null),d=ref(a.screen.height),g=ref(t.container===!0?0:a.screen.width),v=ref({position:0,direction:"down",inflectionPoint:0}),y=ref(0),A=ref(isRuntimeSsrPreHydration.value===!0?0:getScrollbarWidth()),b=computed(()=>"q-layout q-layout--"+(t.container===!0?"containerized":"standard")),_=computed(()=>t.container===!1?{minHeight:a.screen.height+"px"}:null),w=computed(()=>A.value!==0?{[a.lang.rtl===!0?"left":"right"]:`${A.value}px`}:null),S=computed(()=>A.value!==0?{[a.lang.rtl===!0?"right":"left"]:0,[a.lang.rtl===!0?"left":"right"]:`-${A.value}px`,width:`calc(100% + ${A.value}px)`}:null);function C(G){if(t.container===!0||document.qScrollPrevented!==!0){const M={position:G.position.top,direction:G.direction,directionChanged:G.directionChanged,inflectionPoint:G.inflectionPoint.top,delta:G.delta.top};v.value=M,t.onScroll!==void 0&&o("scroll",M)}}function T(G){const{height:M,width:N}=G;let V=!1;d.value!==M&&(V=!0,d.value=M,t.onScrollHeight!==void 0&&o("scrollHeight",M),E()),g.value!==N&&(V=!0,g.value=N),V===!0&&t.onResize!==void 0&&o("resize",G)}function I({height:G}){y.value!==G&&(y.value=G,E())}function E(){if(t.container===!0){const G=d.value>y.value?getScrollbarWidth():0;A.value!==G&&(A.value=G)}}let F=null;const O={instances:{},view:computed(()=>t.view),isContainer:computed(()=>t.container),rootRef:u,height:d,containerHeight:y,scrollbarWidth:A,totalWidth:computed(()=>g.value+A.value),rows:computed(()=>{const G=t.view.toLowerCase().split(" ");return{top:G[0].split(""),middle:G[1].split(""),bottom:G[2].split("")}}),header:reactive({size:0,offset:0,space:!1}),right:reactive({size:300,offset:0,space:!1}),footer:reactive({size:0,offset:0,space:!1}),left:reactive({size:300,offset:0,space:!1}),scroll:v,animate(){F!==null?clearTimeout(F):document.body.classList.add("q-body--layout-animate"),F=setTimeout(()=>{F=null,document.body.classList.remove("q-body--layout-animate")},155)},update(G,M,N){O[G][M]=N}};if(provide(layoutKey,O),getScrollbarWidth()>0){let N=function(){G=null,M.classList.remove("hide-scrollbar")},V=function(){if(G===null){if(M.scrollHeight>a.screen.height)return;M.classList.add("hide-scrollbar")}else clearTimeout(G);G=setTimeout(N,300)},Z=function(H){G!==null&&H==="remove"&&(clearTimeout(G),N()),window[`${H}EventListener`]("resize",V)};var x=N,P=V,D=Z;let G=null;const M=document.body;watch(()=>t.container!==!0?"add":"remove",Z),t.container!==!0&&Z("add"),onUnmounted(()=>{Z("remove")})}return()=>{const G=hMergeSlot(r.default,[h(QScrollObserver,{onScroll:C}),h(QResizeObserver,{onResize:T})]),M=h("div",{class:b.value,style:_.value,ref:t.container===!0?void 0:u,tabindex:-1},G);return t.container===!0?h("div",{class:"q-layout-container overflow-hidden",ref:u},[h(QResizeObserver,{onResize:I}),h("div",{class:"absolute-full",style:w.value},[h("div",{class:"scroll",style:S.value},[M])])]):M}}});/*! * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const isBrowser=typeof document!="undefined";function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function isESModule(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&isRouteComponent(t.default)}const assign$4=Object.assign;function applyToParams(t,r){const o={};for(const a in r){const u=r[a];o[a]=isArray$h(u)?u.map(t):t(u)}return o}const noop$5=()=>{},isArray$h=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(t){return encodeURI(""+t).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(t){return commonEncode(t).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(t){return commonEncode(t).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(t){return encodeQueryValue(t).replace(EQUAL_RE,"%3D")}function encodePath(t){return commonEncode(t).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(t){return t==null?"":encodePath(t).replace(SLASH_RE,"%2F")}function decode$3(t){try{return decodeURIComponent(""+t)}catch(r){}return""+t}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,o="/"){let a,u={},d="",g="";const v=r.indexOf("#");let y=r.indexOf("?");return v=0&&(y=-1),y>-1&&(a=r.slice(0,y),d=r.slice(y+1,v>-1?v:r.length),u=t(d)),v>-1&&(a=a||r.slice(0,v),g=r.slice(v,r.length)),a=resolveRelativePath(a!=null?a:r,o),{fullPath:a+(d&&"?")+d+g,path:a,query:u,hash:decode$3(g)}}function stringifyURL(t,r){const o=r.query?t(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,o){const a=r.matched.length-1,u=o.matched.length-1;return a>-1&&a===u&&isSameRouteRecord$1(r.matched[a],o.matched[u])&&isSameRouteLocationParams$1(r.params,o.params)&&t(r.query)===t(o.query)&&r.hash===o.hash}function isSameRouteRecord$1(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function isSameRouteLocationParams$1(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const o in t)if(!isSameRouteLocationParamsValue$1(t[o],r[o]))return!1;return!0}function isSameRouteLocationParamsValue$1(t,r){return isArray$h(t)?isEquivalentArray$1(t,r):isArray$h(r)?isEquivalentArray$1(r,t):t===r}function isEquivalentArray$1(t,r){return isArray$h(r)?t.length===r.length&&t.every((o,a)=>o===r[a]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const o=r.split("/"),a=t.split("/"),u=a[a.length-1];(u===".."||u===".")&&a.push("");let d=o.length-1,g,v;for(g=0;g1&&d--;else break;return o.slice(0,d).join("/")+"/"+a.slice(g).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var NavigationType;(function(t){t.pop="pop",t.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(t){t.back="back",t.forward="forward",t.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(t){if(!t)if(isBrowser){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),removeTrailingSlash(t)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(t,r){return t.replace(BEFORE_HASH_RE,"#")+r}function getElementPosition(t,r){const o=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:r.behavior,left:a.left-o.left-(r.left||0),top:a.top-o.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(t){let r;if("el"in t){const o=t.el,a=typeof o=="string"&&o.startsWith("#"),u=typeof o=="string"?a?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!u)return;r=getElementPosition(u,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function getScrollKey(t,r){return(history.state?history.state.position-r:-1)+t}const scrollPositions=new Map;function saveScrollPosition(t,r){scrollPositions.set(t,r)}function getSavedScrollPosition(t){const r=scrollPositions.get(t);return scrollPositions.delete(t),r}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(t,r){const{pathname:o,search:a,hash:u}=r,d=t.indexOf("#");if(d>-1){let v=u.includes(t.slice(d))?t.slice(d).length:1,y=u.slice(v);return y[0]!=="/"&&(y="/"+y),stripBase(y,"")}return stripBase(o,t)+a+u}function useHistoryListeners(t,r,o,a){let u=[],d=[],g=null;const v=({state:w})=>{const S=createCurrentLocation(t,location),C=o.value,T=r.value;let I=0;if(w){if(o.value=S,r.value=w,g&&g===C){g=null;return}I=T?w.position-T.position:0}else a(S);u.forEach(E=>{E(o.value,C,{delta:I,type:NavigationType.pop,direction:I?I>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function y(){g=o.value}function A(w){u.push(w);const S=()=>{const C=u.indexOf(w);C>-1&&u.splice(C,1)};return d.push(S),S}function b(){const{history:w}=window;!w.state||w.replaceState(assign$4({},w.state,{scroll:computeScrollPosition()}),"")}function _(){for(const w of d)w();d=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",b)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",b,{passive:!0}),{pauseListeners:y,listen:A,destroy:_}}function buildState(t,r,o,a=!1,u=!1){return{back:t,current:r,forward:o,replaced:a,position:window.history.length,scroll:u?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:o}=window,a={value:createCurrentLocation(t,o)},u={value:r.state};u.value||d(a.value,{back:null,current:a.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function d(y,A,b){const _=t.indexOf("#"),w=_>-1?(o.host&&document.querySelector("base")?t:t.slice(_))+y:createBaseLocation()+t+y;try{r[b?"replaceState":"pushState"](A,"",w),u.value=A}catch(S){console.error(S),o[b?"replace":"assign"](w)}}function g(y,A){const b=assign$4({},r.state,buildState(u.value.back,y,u.value.forward,!0),A,{position:u.value.position});d(y,b,!0),a.value=y}function v(y,A){const b=assign$4({},u.value,r.state,{forward:y,scroll:computeScrollPosition()});d(b.current,b,!0);const _=assign$4({},buildState(a.value,y,null),{position:b.position+1},A);d(y,_,!1),a.value=y}return{location:a,state:u,push:v,replace:g}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),o=useHistoryListeners(t,r.state,r.location,r.replace);function a(d,g=!0){g||o.pauseListeners(),history.go(d)}const u=assign$4({location:"",base:t,go:a,createHref:createHref.bind(null,t)},r,o);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>r.state.value}),u}function createWebHashHistory(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),createWebHistory(t)}function isRouteLocation(t){return typeof t=="string"||t&&typeof t=="object"}function isRouteName(t){return typeof t=="string"||typeof t=="symbol"}const NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(t,r){return assign$4(new Error,{type:t,[NavigationFailureSymbol]:!0},r)}function isNavigationFailure(t,r){return t instanceof Error&&NavigationFailureSymbol in t&&(r==null||!!(t.type&r))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(t,r){const o=assign$4({},BASE_PATH_PARSER_OPTIONS,r),a=[];let u=o.start?"^":"";const d=[];for(const A of t){const b=A.length?[]:[90];o.strict&&!A.length&&(u+="/");for(let _=0;_r.length?r.length===1&&r[0]===40+40?1:-1:0}function comparePathParserScore(t,r){let o=0;const a=t.score,u=r.score;for(;o0&&r[r.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(t){if(!t)return[[]];if(t==="/")return[[ROOT_TOKEN]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(S){throw new Error(`ERR (${o})/"${A}": ${S}`)}let o=0,a=o;const u=[];let d;function g(){d&&u.push(d),d=[]}let v=0,y,A="",b="";function _(){!A||(o===0?d.push({type:0,value:A}):o===1||o===2||o===3?(d.length>1&&(y==="*"||y==="+")&&r(`A repeatable param (${A}) must be alone in its segment. eg: '/:ids+.`),d.push({type:1,value:A,regexp:b,repeatable:y==="*"||y==="+",optional:y==="*"||y==="?"})):r("Invalid state to consume buffer"),A="")}function w(){A+=y}for(;v{g(O)}:noop$5}function g(_){if(isRouteName(_)){const w=a.get(_);w&&(a.delete(_),o.splice(o.indexOf(w),1),w.children.forEach(g),w.alias.forEach(g))}else{const w=o.indexOf(_);w>-1&&(o.splice(w,1),_.record.name&&a.delete(_.record.name),_.children.forEach(g),_.alias.forEach(g))}}function v(){return o}function y(_){const w=findInsertionIndex(_,o);o.splice(w,0,_),_.record.name&&!isAliasRecord(_)&&a.set(_.record.name,_)}function A(_,w){let S,C={},T,I;if("name"in _&&_.name){if(S=a.get(_.name),!S)throw createRouterError(1,{location:_});I=S.record.name,C=assign$4(paramsFromLocation(w.params,S.keys.filter(O=>!O.optional).concat(S.parent?S.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),_.params&¶msFromLocation(_.params,S.keys.map(O=>O.name))),T=S.stringify(C)}else if(_.path!=null)T=_.path,S=o.find(O=>O.re.test(T)),S&&(C=S.parse(T),I=S.record.name);else{if(S=w.name?a.get(w.name):o.find(O=>O.re.test(w.path)),!S)throw createRouterError(1,{location:_,currentLocation:w});I=S.record.name,C=assign$4({},w.params,_.params),T=S.stringify(C)}const E=[];let F=S;for(;F;)E.unshift(F.record),F=F.parent;return{name:I,path:T,params:C,matched:E,meta:mergeMetaFields(E)}}t.forEach(_=>d(_));function b(){o.length=0,a.clear()}return{addRoute:d,resolve:A,removeRoute:g,clearRoutes:b,getRoutes:v,getRecordMatcher:u}}function paramsFromLocation(t,r){const o={};for(const a of r)a in t&&(o[a]=t[a]);return o}function normalizeRouteRecord(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:normalizeRecordProps(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function normalizeRecordProps(t){const r={},o=t.props||!1;if("component"in t)r.default=o;else for(const a in t.components)r[a]=typeof o=="object"?o[a]:o;return r}function isAliasRecord(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mergeMetaFields(t){return t.reduce((r,o)=>assign$4(r,o.meta),{})}function mergeOptions(t,r){const o={};for(const a in t)o[a]=a in r?r[a]:t[a];return o}function findInsertionIndex(t,r){let o=0,a=r.length;for(;o!==a;){const d=o+a>>1;comparePathParserScore(t,r[d])<0?a=d:o=d+1}const u=getInsertionAncestor(t);return u&&(a=r.lastIndexOf(u,a-1)),a}function getInsertionAncestor(t){let r=t;for(;r=r.parent;)if(isMatchable(r)&&comparePathParserScore(t,r)===0)return r}function isMatchable({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function parseQuery(t){const r={};if(t===""||t==="?")return r;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let u=0;ud&&encodeQueryValue(d)):[a&&encodeQueryValue(a)]).forEach(d=>{d!==void 0&&(r+=(r.length?"&":"")+o,d!=null&&(r+="="+d))})}return r}function normalizeQuery(t){const r={};for(const o in t){const a=t[o];a!==void 0&&(r[o]=isArray$h(a)?a.map(u=>u==null?null:""+u):a==null?a:""+a)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(a){return t.push(a),()=>{const u=t.indexOf(a);u>-1&&t.splice(u,1)}}function o(){t=[]}return{add:r,list:()=>t.slice(),reset:o}}function guardToPromiseFn(t,r,o,a,u,d=g=>g()){const g=a&&(a.enterCallbacks[u]=a.enterCallbacks[u]||[]);return()=>new Promise((v,y)=>{const A=w=>{w===!1?y(createRouterError(4,{from:o,to:r})):w instanceof Error?y(w):isRouteLocation(w)?y(createRouterError(2,{from:r,to:w})):(g&&a.enterCallbacks[u]===g&&typeof w=="function"&&g.push(w),v())},b=d(()=>t.call(a&&a.instances[u],r,o,A));let _=Promise.resolve(b);t.length<3&&(_=_.then(A)),_.catch(w=>y(w))})}function extractComponentsGuards(t,r,o,a,u=d=>d()){const d=[];for(const g of t)for(const v in g.components){let y=g.components[v];if(!(r!=="beforeRouteEnter"&&!g.instances[v]))if(isRouteComponent(y)){const b=(y.__vccOpts||y)[r];b&&d.push(guardToPromiseFn(b,o,a,g,v,u))}else{let A=y();d.push(()=>A.then(b=>{if(!b)throw new Error(`Couldn't resolve component "${v}" at "${g.path}"`);const _=isESModule(b)?b.default:b;g.mods[v]=b,g.components[v]=_;const S=(_.__vccOpts||_)[r];return S&&guardToPromiseFn(S,o,a,g,v,u)()}))}}return d}function useLink(t){const r=inject(routerKey),o=inject(routeLocationKey),a=computed(()=>{const y=unref(t.to);return r.resolve(y)}),u=computed(()=>{const{matched:y}=a.value,{length:A}=y,b=y[A-1],_=o.matched;if(!b||!_.length)return-1;const w=_.findIndex(isSameRouteRecord$1.bind(null,b));if(w>-1)return w;const S=getOriginalPath$1(y[A-2]);return A>1&&getOriginalPath$1(b)===S&&_[_.length-1].path!==S?_.findIndex(isSameRouteRecord$1.bind(null,y[A-2])):w}),d=computed(()=>u.value>-1&&includesParams$1(o.params,a.value.params)),g=computed(()=>u.value>-1&&u.value===o.matched.length-1&&isSameRouteLocationParams$1(o.params,a.value.params));function v(y={}){return guardEvent(y)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$5):Promise.resolve()}return{route:a,href:computed(()=>a.value.href),isActive:d,isExactActive:g,navigate:v}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(t,{slots:r}){const o=reactive(useLink(t)),{options:a}=inject(routerKey),u=computed(()=>({[getLinkClass(t.activeClass,a.linkActiveClass,"router-link-active")]:o.isActive,[getLinkClass(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const d=r.default&&r.default(o);return t.custom?d:h("a",{"aria-current":o.isExactActive?t.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:u.value},d)}}}),RouterLink=RouterLinkImpl;function guardEvent(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function includesParams$1(t,r){for(const o in r){const a=r[o],u=t[o];if(typeof a=="string"){if(a!==u)return!1}else if(!isArray$h(u)||u.length!==a.length||a.some((d,g)=>d!==u[g]))return!1}return!0}function getOriginalPath$1(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,o)=>t!=null?t:r!=null?r:o,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:o}){const a=inject(routerViewLocationKey),u=computed(()=>t.route||a.value),d=inject(viewDepthKey,0),g=computed(()=>{let A=unref(d);const{matched:b}=u.value;let _;for(;(_=b[A])&&!_.components;)A++;return A}),v=computed(()=>u.value.matched[g.value]);provide(viewDepthKey,computed(()=>g.value+1)),provide(matchedRouteKey,v),provide(routerViewLocationKey,u);const y=ref();return watch(()=>[y.value,v.value,t.name],([A,b,_],[w,S,C])=>{b&&(b.instances[_]=A,S&&S!==b&&A&&A===w&&(b.leaveGuards.size||(b.leaveGuards=S.leaveGuards),b.updateGuards.size||(b.updateGuards=S.updateGuards))),A&&b&&(!S||!isSameRouteRecord$1(b,S)||!w)&&(b.enterCallbacks[_]||[]).forEach(T=>T(A))},{flush:"post"}),()=>{const A=u.value,b=t.name,_=v.value,w=_&&_.components[b];if(!w)return normalizeSlot(o.default,{Component:w,route:A});const S=_.props[b],C=S?S===!0?A.params:typeof S=="function"?S(A):S:null,I=h(w,assign$4({},C,r,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(_.instances[b]=null)},ref:y}));return normalizeSlot(o.default,{Component:I,route:A})||I}}});function normalizeSlot(t,r){if(!t)return null;const o=t(r);return o.length===1?o[0]:o}const RouterView=RouterViewImpl;function createRouter$1(t){const r=createRouterMatcher(t.routes,t),o=t.parseQuery||parseQuery,a=t.stringifyQuery||stringifyQuery,u=t.history,d=useCallbacks(),g=useCallbacks(),v=useCallbacks(),y=shallowRef(START_LOCATION_NORMALIZED);let A=START_LOCATION_NORMALIZED;isBrowser&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=applyToParams.bind(null,pe=>""+pe),_=applyToParams.bind(null,encodeParam),w=applyToParams.bind(null,decode$3);function S(pe,ae){let ve,we;return isRouteName(pe)?(ve=r.getRecordMatcher(pe),we=ae):we=pe,r.addRoute(we,ve)}function C(pe){const ae=r.getRecordMatcher(pe);ae&&r.removeRoute(ae)}function T(){return r.getRoutes().map(pe=>pe.record)}function I(pe){return!!r.getRecordMatcher(pe)}function E(pe,ae){if(ae=assign$4({},ae||y.value),typeof pe=="string"){const Ae=parseURL(o,pe,ae.path),Ee=r.resolve({path:Ae.path},ae),le=u.createHref(Ae.fullPath);return assign$4(Ae,Ee,{params:w(Ee.params),hash:decode$3(Ae.hash),redirectedFrom:void 0,href:le})}let ve;if(pe.path!=null)ve=assign$4({},pe,{path:parseURL(o,pe.path,ae.path).path});else{const Ae=assign$4({},pe.params);for(const Ee in Ae)Ae[Ee]==null&&delete Ae[Ee];ve=assign$4({},pe,{params:_(Ae)}),ae.params=_(ae.params)}const we=r.resolve(ve,ae),_e=pe.hash||"";we.params=b(w(we.params));const Te=stringifyURL(a,assign$4({},pe,{hash:encodeHash(_e),path:we.path})),Ce=u.createHref(Te);return assign$4({fullPath:Te,hash:_e,query:a===stringifyQuery?normalizeQuery(pe.query):pe.query||{}},we,{redirectedFrom:void 0,href:Ce})}function F(pe){return typeof pe=="string"?parseURL(o,pe,y.value.path):assign$4({},pe)}function O(pe,ae){if(A!==pe)return createRouterError(8,{from:ae,to:pe})}function D(pe){return G(pe)}function x(pe){return D(assign$4(F(pe),{replace:!0}))}function P(pe){const ae=pe.matched[pe.matched.length-1];if(ae&&ae.redirect){const{redirect:ve}=ae;let we=typeof ve=="function"?ve(pe):ve;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=F(we):{path:we},we.params={}),assign$4({query:pe.query,hash:pe.hash,params:we.path!=null?{}:pe.params},we)}}function G(pe,ae){const ve=A=E(pe),we=y.value,_e=pe.state,Te=pe.force,Ce=pe.replace===!0,Ae=P(ve);if(Ae)return G(assign$4(F(Ae),{state:typeof Ae=="object"?assign$4({},_e,Ae.state):_e,force:Te,replace:Ce}),ae||ve);const Ee=ve;Ee.redirectedFrom=ae;let le;return!Te&&isSameRouteLocation(a,we,ve)&&(le=createRouterError(16,{to:Ee,from:we}),ce(we,we,!0,!1)),(le?Promise.resolve(le):V(Ee,we)).catch(re=>isNavigationFailure(re)?isNavigationFailure(re,2)?re:te(re):J(re,Ee,we)).then(re=>{if(re){if(isNavigationFailure(re,2))return G(assign$4({replace:Ce},F(re.to),{state:typeof re.to=="object"?assign$4({},_e,re.to.state):_e,force:Te}),ae||Ee)}else re=H(Ee,we,!0,Ce,_e);return Y(Ee,we,re),re})}function M(pe,ae){const ve=O(pe,ae);return ve?Promise.reject(ve):Promise.resolve()}function N(pe){const ae=he.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(pe):pe()}function V(pe,ae){let ve;const[we,_e,Te]=extractChangingRecords(pe,ae);ve=extractComponentsGuards(we.reverse(),"beforeRouteLeave",pe,ae);for(const Ae of we)Ae.leaveGuards.forEach(Ee=>{ve.push(guardToPromiseFn(Ee,pe,ae))});const Ce=M.bind(null,pe,ae);return ve.push(Ce),ee(ve).then(()=>{ve=[];for(const Ae of d.list())ve.push(guardToPromiseFn(Ae,pe,ae));return ve.push(Ce),ee(ve)}).then(()=>{ve=extractComponentsGuards(_e,"beforeRouteUpdate",pe,ae);for(const Ae of _e)Ae.updateGuards.forEach(Ee=>{ve.push(guardToPromiseFn(Ee,pe,ae))});return ve.push(Ce),ee(ve)}).then(()=>{ve=[];for(const Ae of Te)if(Ae.beforeEnter)if(isArray$h(Ae.beforeEnter))for(const Ee of Ae.beforeEnter)ve.push(guardToPromiseFn(Ee,pe,ae));else ve.push(guardToPromiseFn(Ae.beforeEnter,pe,ae));return ve.push(Ce),ee(ve)}).then(()=>(pe.matched.forEach(Ae=>Ae.enterCallbacks={}),ve=extractComponentsGuards(Te,"beforeRouteEnter",pe,ae,N),ve.push(Ce),ee(ve))).then(()=>{ve=[];for(const Ae of g.list())ve.push(guardToPromiseFn(Ae,pe,ae));return ve.push(Ce),ee(ve)}).catch(Ae=>isNavigationFailure(Ae,8)?Ae:Promise.reject(Ae))}function Y(pe,ae,ve){v.list().forEach(we=>N(()=>we(pe,ae,ve)))}function H(pe,ae,ve,we,_e){const Te=O(pe,ae);if(Te)return Te;const Ce=ae===START_LOCATION_NORMALIZED,Ae=isBrowser?history.state:{};ve&&(we||Ce?u.replace(pe.fullPath,assign$4({scroll:Ce&&Ae&&Ae.scroll},_e)):u.push(pe.fullPath,_e)),y.value=pe,ce(pe,ae,ve,Ce),te()}let B;function z(){B||(B=u.listen((pe,ae,ve)=>{if(!ye.listening)return;const we=E(pe),_e=P(we);if(_e){G(assign$4(_e,{replace:!0}),we).catch(noop$5);return}A=we;const Te=y.value;isBrowser&&saveScrollPosition(getScrollKey(Te.fullPath,ve.delta),computeScrollPosition()),V(we,Te).catch(Ce=>isNavigationFailure(Ce,12)?Ce:isNavigationFailure(Ce,2)?(G(Ce.to,we).then(Ae=>{isNavigationFailure(Ae,20)&&!ve.delta&&ve.type===NavigationType.pop&&u.go(-1,!1)}).catch(noop$5),Promise.reject()):(ve.delta&&u.go(-ve.delta,!1),J(Ce,we,Te))).then(Ce=>{Ce=Ce||H(we,Te,!1),Ce&&(ve.delta&&!isNavigationFailure(Ce,8)?u.go(-ve.delta,!1):ve.type===NavigationType.pop&&isNavigationFailure(Ce,20)&&u.go(-1,!1)),Y(we,Te,Ce)}).catch(noop$5)}))}let U=useCallbacks(),Q=useCallbacks(),X;function J(pe,ae,ve){te(pe);const we=Q.list();return we.length?we.forEach(_e=>_e(pe,ae,ve)):console.error(pe),Promise.reject(pe)}function ne(){return X&&y.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((pe,ae)=>{U.add([pe,ae])})}function te(pe){return X||(X=!pe,z(),U.list().forEach(([ae,ve])=>pe?ve(pe):ae()),U.reset()),pe}function ce(pe,ae,ve,we){const{scrollBehavior:_e}=t;if(!isBrowser||!_e)return Promise.resolve();const Te=!ve&&getSavedScrollPosition(getScrollKey(pe.fullPath,0))||(we||!ve)&&history.state&&history.state.scroll||null;return nextTick().then(()=>_e(pe,ae,Te)).then(Ce=>Ce&&scrollToPosition(Ce)).catch(Ce=>J(Ce,pe,ae))}const se=pe=>u.go(pe);let ge;const he=new Set,ye={currentRoute:y,listening:!0,addRoute:S,removeRoute:C,clearRoutes:r.clearRoutes,hasRoute:I,getRoutes:T,resolve:E,options:t,push:D,replace:x,go:se,back:()=>se(-1),forward:()=>se(1),beforeEach:d.add,beforeResolve:g.add,afterEach:v.add,onError:Q.add,isReady:ne,install(pe){const ae=this;pe.component("RouterLink",RouterLink),pe.component("RouterView",RouterView),pe.config.globalProperties.$router=ae,Object.defineProperty(pe.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(y)}),isBrowser&&!ge&&y.value===START_LOCATION_NORMALIZED&&(ge=!0,D(u.location).catch(_e=>{}));const ve={};for(const _e in START_LOCATION_NORMALIZED)Object.defineProperty(ve,_e,{get:()=>y.value[_e],enumerable:!0});pe.provide(routerKey,ae),pe.provide(routeLocationKey,shallowReactive(ve)),pe.provide(routerViewLocationKey,y);const we=pe.unmount;he.add(pe),pe.unmount=function(){he.delete(pe),he.size<1&&(A=START_LOCATION_NORMALIZED,B&&B(),B=null,y.value=START_LOCATION_NORMALIZED,ge=!1,X=!1),we()}}};function ee(pe){return pe.reduce((ae,ve)=>ae.then(()=>N(ve)),Promise.resolve())}return ye}function extractChangingRecords(t,r){const o=[],a=[],u=[],d=Math.max(r.matched.length,t.matched.length);for(let g=0;gisSameRouteRecord$1(A,v))?a.push(v):o.push(v));const y=t.matched[g];y&&(r.matched.find(A=>isSameRouteRecord$1(A,y))||u.push(y))}return[o,a,u]}function useRouter(){return inject(routerKey)}function useRoute(t){return inject(routeLocationKey)}function useQuasar(){return inject(quasarKey)}function bind$2(t,r){return function(){return t.apply(r,arguments)}}const{toString:toString$8}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(t=>r=>{const o=toString$8.call(r);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=t=>(t=t.toLowerCase(),r=>kindOf(r)===t),typeOfTest=t=>r=>typeof r===t,{isArray:isArray$g}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer$4(t){return t!==null&&!isUndefined$1(t)&&t.constructor!==null&&!isUndefined$1(t.constructor)&&isFunction$7(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(t){let r;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&isArrayBuffer(t.buffer),r}const isString$6=typeOfTest("string"),isFunction$7=typeOfTest("function"),isNumber$5=typeOfTest("number"),isObject$n=t=>t!==null&&typeof t=="object",isBoolean$3=t=>t===!0||t===!1,isPlainObject$5=t=>{if(kindOf(t)!=="object")return!1;const r=getPrototypeOf$1(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},isDate$5=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=t=>isObject$n(t)&&isFunction$7(t.pipe),isFormData=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||isFunction$7(t.append)&&((r=kindOf(t))==="formdata"||r==="object"&&isFunction$7(t.toString)&&t.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$3=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(t,r,{allOwnKeys:o=!1}={}){if(t===null||typeof t=="undefined")return;let a,u;if(typeof t!="object"&&(t=[t]),isArray$g(t))for(a=0,u=t.length;a0;)if(u=o[a],r===u.toLowerCase())return u;return null}const _global=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),isContextDefined=t=>!isUndefined$1(t)&&t!==_global;function merge$2(){const{caseless:t}=isContextDefined(this)&&this||{},r={},o=(a,u)=>{const d=t&&findKey$1(r,u)||u;isPlainObject$5(r[d])&&isPlainObject$5(a)?r[d]=merge$2(r[d],a):isPlainObject$5(a)?r[d]=merge$2({},a):isArray$g(a)?r[d]=a.slice():r[d]=a};for(let a=0,u=arguments.length;a(forEach(r,(u,d)=>{o&&isFunction$7(u)?t[d]=bind$2(u,o):t[d]=u},{allOwnKeys:a}),t),stripBOM=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits$9=(t,r,o,a)=>{t.prototype=Object.create(r.prototype,a),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),o&&Object.assign(t.prototype,o)},toFlatObject=(t,r,o,a)=>{let u,d,g;const v={};if(r=r||{},t==null)return r;do{for(u=Object.getOwnPropertyNames(t),d=u.length;d-- >0;)g=u[d],(!a||a(g,t,r))&&!v[g]&&(r[g]=t[g],v[g]=!0);t=o!==!1&&getPrototypeOf$1(t)}while(t&&(!o||o(t,r))&&t!==Object.prototype);return r},endsWith=(t,r,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=r.length;const a=t.indexOf(r,o);return a!==-1&&a===o},toArray=t=>{if(!t)return null;if(isArray$g(t))return t;let r=t.length;if(!isNumber$5(r))return null;const o=new Array(r);for(;r-- >0;)o[r]=t[r];return o},isTypedArray$5=(t=>r=>t&&r instanceof t)(typeof Uint8Array!="undefined"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(t,r)=>{const a=(t&&t[Symbol.iterator]).call(t);let u;for(;(u=a.next())&&!u.done;){const d=u.value;r.call(t,d[0],d[1])}},matchAll=(t,r)=>{let o;const a=[];for(;(o=t.exec(r))!==null;)a.push(o);return a},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,a,u){return a.toUpperCase()+u}),hasOwnProperty$h=(({hasOwnProperty:t})=>(r,o)=>t.call(r,o))(Object.prototype),isRegExp$4=kindOfTest("RegExp"),reduceDescriptors=(t,r)=>{const o=Object.getOwnPropertyDescriptors(t),a={};forEach(o,(u,d)=>{let g;(g=r(u,d,t))!==!1&&(a[d]=g||u)}),Object.defineProperties(t,a)},freezeMethods=t=>{reduceDescriptors(t,(r,o)=>{if(isFunction$7(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const a=t[o];if(!!isFunction$7(a)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},toObjectSet=(t,r)=>{const o={},a=u=>{u.forEach(d=>{o[d]=!0})};return isArray$g(t)?a(t):a(String(t).split(r)),o},noop$4=()=>{},toFiniteNumber=(t,r)=>t!=null&&Number.isFinite(t=+t)?t:r,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(t=16,r=ALPHABET.ALPHA_DIGIT)=>{let o="";const{length:a}=r;for(;t--;)o+=r[Math.random()*a|0];return o};function isSpecCompliantForm(t){return!!(t&&isFunction$7(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const toJSONObject=t=>{const r=new Array(10),o=(a,u)=>{if(isObject$n(a)){if(r.indexOf(a)>=0)return;if(!("toJSON"in a)){r[u]=a;const d=isArray$g(a)?[]:{};return forEach(a,(g,v)=>{const y=o(g,u+1);!isUndefined$1(y)&&(d[v]=y)}),r[u]=void 0,d}}return a};return o(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$n(t)||isFunction$7(t))&&isFunction$7(t.then)&&isFunction$7(t.catch),_setImmediate=((t,r)=>t?setImmediate:r?((o,a)=>(_global.addEventListener("message",({source:u,data:d})=>{u===_global&&d===o&&a.length&&a.shift()()},!1),u=>{a.push(u),_global.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",isFunction$7(_global.postMessage)),asap=typeof queueMicrotask!="undefined"?queueMicrotask.bind(_global):typeof process!="undefined"&&process.nextTick||_setImmediate;var utils$1={isArray:isArray$g,isArrayBuffer,isBuffer:isBuffer$4,isFormData,isArrayBufferView,isString:isString$6,isNumber:isNumber$5,isBoolean:isBoolean$3,isObject:isObject$n,isPlainObject:isPlainObject$5,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate:isDate$5,isFile,isBlob,isRegExp:isRegExp$4,isFunction:isFunction$7,isStream,isURLSearchParams,isTypedArray:isTypedArray$5,isFileList,forEach,merge:merge$2,extend:extend$2,trim:trim$3,stripBOM,inherits:inherits$9,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$h,hasOwnProp:hasOwnProperty$h,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$4,toFiniteNumber,findKey:findKey$1,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(t,r,o,a,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),o&&(this.config=o),a&&(this.request=a),u&&(this.response=u,this.status=u.status?u.status:null)}utils$1.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors$1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{descriptors$1[t]={value:t}});Object.defineProperties(AxiosError,descriptors$1);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(t,r,o,a,u,d)=>{const g=Object.create(prototype$1);return utils$1.toFlatObject(t,g,function(y){return y!==Error.prototype},v=>v!=="isAxiosError"),AxiosError.call(g,t.message,r,o,a,u),g.cause=t,g.name=t.name,d&&Object.assign(g,d),g};var httpAdapter=null;function isVisitable(t){return utils$1.isPlainObject(t)||utils$1.isArray(t)}function removeBrackets(t){return utils$1.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,r,o){return t?t.concat(r).map(function(u,d){return u=removeBrackets(u),!o&&d?"["+u+"]":u}).join(o?".":""):r}function isFlatArray(t){return utils$1.isArray(t)&&!t.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(r){return/^is[A-Z]/.test(r)});function toFormData(t,r,o){if(!utils$1.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,o=utils$1.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,I){return!utils$1.isUndefined(I[T])});const a=o.metaTokens,u=o.visitor||b,d=o.dots,g=o.indexes,y=(o.Blob||typeof Blob!="undefined"&&Blob)&&utils$1.isSpecCompliantForm(r);if(!utils$1.isFunction(u))throw new TypeError("visitor must be a function");function A(C){if(C===null)return"";if(utils$1.isDate(C))return C.toISOString();if(!y&&utils$1.isBlob(C))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(C)||utils$1.isTypedArray(C)?y&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function b(C,T,I){let E=C;if(C&&!I&&typeof C=="object"){if(utils$1.endsWith(T,"{}"))T=a?T:T.slice(0,-2),C=JSON.stringify(C);else if(utils$1.isArray(C)&&isFlatArray(C)||(utils$1.isFileList(C)||utils$1.endsWith(T,"[]"))&&(E=utils$1.toArray(C)))return T=removeBrackets(T),E.forEach(function(O,D){!(utils$1.isUndefined(O)||O===null)&&r.append(g===!0?renderKey([T],D,d):g===null?T:T+"[]",A(O))}),!1}return isVisitable(C)?!0:(r.append(renderKey(I,T,d),A(C)),!1)}const _=[],w=Object.assign(predicates,{defaultVisitor:b,convertValue:A,isVisitable});function S(C,T){if(!utils$1.isUndefined(C)){if(_.indexOf(C)!==-1)throw Error("Circular reference detected in "+T.join("."));_.push(C),utils$1.forEach(C,function(E,F){(!(utils$1.isUndefined(E)||E===null)&&u.call(r,E,utils$1.isString(F)?F.trim():F,T,w))===!0&&S(E,T?T.concat(F):[F])}),_.pop()}}if(!utils$1.isObject(t))throw new TypeError("data must be an object");return S(t),r}function encode$2(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(a){return r[a]})}function AxiosURLSearchParams(t,r){this._pairs=[],t&&toFormData(t,this,r)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(r,o){this._pairs.push([r,o])};prototype.toString=function(r){const o=r?function(a){return r.call(this,a,encode$2)}:encode$2;return this._pairs.map(function(u){return o(u[0])+"="+o(u[1])},"").join("&")};function encode$1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,r,o){if(!r)return t;const a=o&&o.encode||encode$1,u=o&&o.serialize;let d;if(u?d=u(r,o):d=utils$1.isURLSearchParams(r)?r.toString():new AxiosURLSearchParams(r,o).toString(a),d){const g=t.indexOf("#");g!==-1&&(t=t.slice(0,g)),t+=(t.indexOf("?")===-1?"?":"&")+d}return t}class InterceptorManager{constructor(){this.handlers=[]}use(r,o,a){return this.handlers.push({fulfilled:r,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){utils$1.forEach(this.handlers,function(a){a!==null&&r(a)})}}var InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams!="undefined"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData!="undefined"?FormData:null,Blob$1=typeof Blob!="undefined"?Blob:null,platform$3={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]};const hasBrowserEnv=typeof window!="undefined"&&typeof document!="undefined",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),origin=hasBrowserEnv&&window.location.href||"http://localhost";var utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserWebWorkerEnv,hasStandardBrowserEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform$2={...utils,...platform$3};function toURLEncodedForm(t,r){return toFormData(t,new platform$2.classes.URLSearchParams,Object.assign({visitor:function(o,a,u,d){return platform$2.isNode&&utils$1.isBuffer(o)?(this.append(a,o.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},r))}function parsePropPath(t){return utils$1.matchAll(/\w+|\[(\w*)]/g,t).map(r=>r[0]==="[]"?"":r[1]||r[0])}function arrayToObject(t){const r={},o=Object.keys(t);let a;const u=o.length;let d;for(a=0;a=o.length;return g=!g&&utils$1.isArray(u)?u.length:g,y?(utils$1.hasOwnProp(u,g)?u[g]=[u[g],a]:u[g]=a,!v):((!u[g]||!utils$1.isObject(u[g]))&&(u[g]=[]),r(o,a,u[g],d)&&utils$1.isArray(u[g])&&(u[g]=arrayToObject(u[g])),!v)}if(utils$1.isFormData(t)&&utils$1.isFunction(t.entries)){const o={};return utils$1.forEachEntry(t,(a,u)=>{r(parsePropPath(a),u,o,0)}),o}return null}function stringifySafely(t,r,o){if(utils$1.isString(t))try{return(r||JSON.parse)(t),utils$1.trim(t)}catch(a){if(a.name!=="SyntaxError")throw a}return(o||JSON.stringify)(t)}const defaults$4={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(r,o){const a=o.getContentType()||"",u=a.indexOf("application/json")>-1,d=utils$1.isObject(r);if(d&&utils$1.isHTMLForm(r)&&(r=new FormData(r)),utils$1.isFormData(r))return u?JSON.stringify(formDataToJSON(r)):r;if(utils$1.isArrayBuffer(r)||utils$1.isBuffer(r)||utils$1.isStream(r)||utils$1.isFile(r)||utils$1.isBlob(r)||utils$1.isReadableStream(r))return r;if(utils$1.isArrayBufferView(r))return r.buffer;if(utils$1.isURLSearchParams(r))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let v;if(d){if(a.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(r,this.formSerializer).toString();if((v=utils$1.isFileList(r))||a.indexOf("multipart/form-data")>-1){const y=this.env&&this.env.FormData;return toFormData(v?{"files[]":r}:r,y&&new y,this.formSerializer)}}return d||u?(o.setContentType("application/json",!1),stringifySafely(r)):r}],transformResponse:[function(r){const o=this.transitional||defaults$4.transitional,a=o&&o.forcedJSONParsing,u=this.responseType==="json";if(utils$1.isResponse(r)||utils$1.isReadableStream(r))return r;if(r&&utils$1.isString(r)&&(a&&!this.responseType||u)){const g=!(o&&o.silentJSONParsing)&&u;try{return JSON.parse(r)}catch(v){if(g)throw v.name==="SyntaxError"?AxiosError.from(v,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):v}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$2.classes.FormData,Blob:platform$2.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],t=>{defaults$4.headers[t]={}});var defaults$5=defaults$4;const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var parseHeaders=t=>{const r={};let o,a,u;return t&&t.split(` + */const isBrowser=typeof document!="undefined";function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function isESModule(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&isRouteComponent(t.default)}const assign$4=Object.assign;function applyToParams(t,r){const o={};for(const a in r){const u=r[a];o[a]=isArray$h(u)?u.map(t):t(u)}return o}const noop$5=()=>{},isArray$h=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(t){return encodeURI(""+t).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(t){return commonEncode(t).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(t){return commonEncode(t).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(t){return encodeQueryValue(t).replace(EQUAL_RE,"%3D")}function encodePath(t){return commonEncode(t).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(t){return t==null?"":encodePath(t).replace(SLASH_RE,"%2F")}function decode$3(t){try{return decodeURIComponent(""+t)}catch(r){}return""+t}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,o="/"){let a,u={},d="",g="";const v=r.indexOf("#");let y=r.indexOf("?");return v=0&&(y=-1),y>-1&&(a=r.slice(0,y),d=r.slice(y+1,v>-1?v:r.length),u=t(d)),v>-1&&(a=a||r.slice(0,v),g=r.slice(v,r.length)),a=resolveRelativePath(a!=null?a:r,o),{fullPath:a+(d&&"?")+d+g,path:a,query:u,hash:decode$3(g)}}function stringifyURL(t,r){const o=r.query?t(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,o){const a=r.matched.length-1,u=o.matched.length-1;return a>-1&&a===u&&isSameRouteRecord$1(r.matched[a],o.matched[u])&&isSameRouteLocationParams$1(r.params,o.params)&&t(r.query)===t(o.query)&&r.hash===o.hash}function isSameRouteRecord$1(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function isSameRouteLocationParams$1(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const o in t)if(!isSameRouteLocationParamsValue$1(t[o],r[o]))return!1;return!0}function isSameRouteLocationParamsValue$1(t,r){return isArray$h(t)?isEquivalentArray$1(t,r):isArray$h(r)?isEquivalentArray$1(r,t):t===r}function isEquivalentArray$1(t,r){return isArray$h(r)?t.length===r.length&&t.every((o,a)=>o===r[a]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const o=r.split("/"),a=t.split("/"),u=a[a.length-1];(u===".."||u===".")&&a.push("");let d=o.length-1,g,v;for(g=0;g1&&d--;else break;return o.slice(0,d).join("/")+"/"+a.slice(g).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var NavigationType;(function(t){t.pop="pop",t.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(t){t.back="back",t.forward="forward",t.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(t){if(!t)if(isBrowser){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),removeTrailingSlash(t)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(t,r){return t.replace(BEFORE_HASH_RE,"#")+r}function getElementPosition(t,r){const o=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:r.behavior,left:a.left-o.left-(r.left||0),top:a.top-o.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(t){let r;if("el"in t){const o=t.el,a=typeof o=="string"&&o.startsWith("#"),u=typeof o=="string"?a?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!u)return;r=getElementPosition(u,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function getScrollKey(t,r){return(history.state?history.state.position-r:-1)+t}const scrollPositions=new Map;function saveScrollPosition(t,r){scrollPositions.set(t,r)}function getSavedScrollPosition(t){const r=scrollPositions.get(t);return scrollPositions.delete(t),r}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(t,r){const{pathname:o,search:a,hash:u}=r,d=t.indexOf("#");if(d>-1){let v=u.includes(t.slice(d))?t.slice(d).length:1,y=u.slice(v);return y[0]!=="/"&&(y="/"+y),stripBase(y,"")}return stripBase(o,t)+a+u}function useHistoryListeners(t,r,o,a){let u=[],d=[],g=null;const v=({state:w})=>{const S=createCurrentLocation(t,location),C=o.value,T=r.value;let I=0;if(w){if(o.value=S,r.value=w,g&&g===C){g=null;return}I=T?w.position-T.position:0}else a(S);u.forEach(E=>{E(o.value,C,{delta:I,type:NavigationType.pop,direction:I?I>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function y(){g=o.value}function A(w){u.push(w);const S=()=>{const C=u.indexOf(w);C>-1&&u.splice(C,1)};return d.push(S),S}function b(){const{history:w}=window;!w.state||w.replaceState(assign$4({},w.state,{scroll:computeScrollPosition()}),"")}function _(){for(const w of d)w();d=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",b)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",b,{passive:!0}),{pauseListeners:y,listen:A,destroy:_}}function buildState(t,r,o,a=!1,u=!1){return{back:t,current:r,forward:o,replaced:a,position:window.history.length,scroll:u?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:o}=window,a={value:createCurrentLocation(t,o)},u={value:r.state};u.value||d(a.value,{back:null,current:a.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function d(y,A,b){const _=t.indexOf("#"),w=_>-1?(o.host&&document.querySelector("base")?t:t.slice(_))+y:createBaseLocation()+t+y;try{r[b?"replaceState":"pushState"](A,"",w),u.value=A}catch(S){console.error(S),o[b?"replace":"assign"](w)}}function g(y,A){const b=assign$4({},r.state,buildState(u.value.back,y,u.value.forward,!0),A,{position:u.value.position});d(y,b,!0),a.value=y}function v(y,A){const b=assign$4({},u.value,r.state,{forward:y,scroll:computeScrollPosition()});d(b.current,b,!0);const _=assign$4({},buildState(a.value,y,null),{position:b.position+1},A);d(y,_,!1),a.value=y}return{location:a,state:u,push:v,replace:g}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),o=useHistoryListeners(t,r.state,r.location,r.replace);function a(d,g=!0){g||o.pauseListeners(),history.go(d)}const u=assign$4({location:"",base:t,go:a,createHref:createHref.bind(null,t)},r,o);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>r.state.value}),u}function createWebHashHistory(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),createWebHistory(t)}function isRouteLocation(t){return typeof t=="string"||t&&typeof t=="object"}function isRouteName(t){return typeof t=="string"||typeof t=="symbol"}const NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(t,r){return assign$4(new Error,{type:t,[NavigationFailureSymbol]:!0},r)}function isNavigationFailure(t,r){return t instanceof Error&&NavigationFailureSymbol in t&&(r==null||!!(t.type&r))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(t,r){const o=assign$4({},BASE_PATH_PARSER_OPTIONS,r),a=[];let u=o.start?"^":"";const d=[];for(const A of t){const b=A.length?[]:[90];o.strict&&!A.length&&(u+="/");for(let _=0;_r.length?r.length===1&&r[0]===40+40?1:-1:0}function comparePathParserScore(t,r){let o=0;const a=t.score,u=r.score;for(;o0&&r[r.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(t){if(!t)return[[]];if(t==="/")return[[ROOT_TOKEN]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(S){throw new Error(`ERR (${o})/"${A}": ${S}`)}let o=0,a=o;const u=[];let d;function g(){d&&u.push(d),d=[]}let v=0,y,A="",b="";function _(){!A||(o===0?d.push({type:0,value:A}):o===1||o===2||o===3?(d.length>1&&(y==="*"||y==="+")&&r(`A repeatable param (${A}) must be alone in its segment. eg: '/:ids+.`),d.push({type:1,value:A,regexp:b,repeatable:y==="*"||y==="+",optional:y==="*"||y==="?"})):r("Invalid state to consume buffer"),A="")}function w(){A+=y}for(;v{g(O)}:noop$5}function g(_){if(isRouteName(_)){const w=a.get(_);w&&(a.delete(_),o.splice(o.indexOf(w),1),w.children.forEach(g),w.alias.forEach(g))}else{const w=o.indexOf(_);w>-1&&(o.splice(w,1),_.record.name&&a.delete(_.record.name),_.children.forEach(g),_.alias.forEach(g))}}function v(){return o}function y(_){const w=findInsertionIndex(_,o);o.splice(w,0,_),_.record.name&&!isAliasRecord(_)&&a.set(_.record.name,_)}function A(_,w){let S,C={},T,I;if("name"in _&&_.name){if(S=a.get(_.name),!S)throw createRouterError(1,{location:_});I=S.record.name,C=assign$4(paramsFromLocation(w.params,S.keys.filter(O=>!O.optional).concat(S.parent?S.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),_.params&¶msFromLocation(_.params,S.keys.map(O=>O.name))),T=S.stringify(C)}else if(_.path!=null)T=_.path,S=o.find(O=>O.re.test(T)),S&&(C=S.parse(T),I=S.record.name);else{if(S=w.name?a.get(w.name):o.find(O=>O.re.test(w.path)),!S)throw createRouterError(1,{location:_,currentLocation:w});I=S.record.name,C=assign$4({},w.params,_.params),T=S.stringify(C)}const E=[];let F=S;for(;F;)E.unshift(F.record),F=F.parent;return{name:I,path:T,params:C,matched:E,meta:mergeMetaFields(E)}}t.forEach(_=>d(_));function b(){o.length=0,a.clear()}return{addRoute:d,resolve:A,removeRoute:g,clearRoutes:b,getRoutes:v,getRecordMatcher:u}}function paramsFromLocation(t,r){const o={};for(const a of r)a in t&&(o[a]=t[a]);return o}function normalizeRouteRecord(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:normalizeRecordProps(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function normalizeRecordProps(t){const r={},o=t.props||!1;if("component"in t)r.default=o;else for(const a in t.components)r[a]=typeof o=="object"?o[a]:o;return r}function isAliasRecord(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mergeMetaFields(t){return t.reduce((r,o)=>assign$4(r,o.meta),{})}function mergeOptions(t,r){const o={};for(const a in t)o[a]=a in r?r[a]:t[a];return o}function findInsertionIndex(t,r){let o=0,a=r.length;for(;o!==a;){const d=o+a>>1;comparePathParserScore(t,r[d])<0?a=d:o=d+1}const u=getInsertionAncestor(t);return u&&(a=r.lastIndexOf(u,a-1)),a}function getInsertionAncestor(t){let r=t;for(;r=r.parent;)if(isMatchable(r)&&comparePathParserScore(t,r)===0)return r}function isMatchable({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function parseQuery(t){const r={};if(t===""||t==="?")return r;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let u=0;ud&&encodeQueryValue(d)):[a&&encodeQueryValue(a)]).forEach(d=>{d!==void 0&&(r+=(r.length?"&":"")+o,d!=null&&(r+="="+d))})}return r}function normalizeQuery(t){const r={};for(const o in t){const a=t[o];a!==void 0&&(r[o]=isArray$h(a)?a.map(u=>u==null?null:""+u):a==null?a:""+a)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(a){return t.push(a),()=>{const u=t.indexOf(a);u>-1&&t.splice(u,1)}}function o(){t=[]}return{add:r,list:()=>t.slice(),reset:o}}function guardToPromiseFn(t,r,o,a,u,d=g=>g()){const g=a&&(a.enterCallbacks[u]=a.enterCallbacks[u]||[]);return()=>new Promise((v,y)=>{const A=w=>{w===!1?y(createRouterError(4,{from:o,to:r})):w instanceof Error?y(w):isRouteLocation(w)?y(createRouterError(2,{from:r,to:w})):(g&&a.enterCallbacks[u]===g&&typeof w=="function"&&g.push(w),v())},b=d(()=>t.call(a&&a.instances[u],r,o,A));let _=Promise.resolve(b);t.length<3&&(_=_.then(A)),_.catch(w=>y(w))})}function extractComponentsGuards(t,r,o,a,u=d=>d()){const d=[];for(const g of t)for(const v in g.components){let y=g.components[v];if(!(r!=="beforeRouteEnter"&&!g.instances[v]))if(isRouteComponent(y)){const b=(y.__vccOpts||y)[r];b&&d.push(guardToPromiseFn(b,o,a,g,v,u))}else{let A=y();d.push(()=>A.then(b=>{if(!b)throw new Error(`Couldn't resolve component "${v}" at "${g.path}"`);const _=isESModule(b)?b.default:b;g.mods[v]=b,g.components[v]=_;const S=(_.__vccOpts||_)[r];return S&&guardToPromiseFn(S,o,a,g,v,u)()}))}}return d}function useLink(t){const r=inject(routerKey),o=inject(routeLocationKey),a=computed(()=>{const y=unref(t.to);return r.resolve(y)}),u=computed(()=>{const{matched:y}=a.value,{length:A}=y,b=y[A-1],_=o.matched;if(!b||!_.length)return-1;const w=_.findIndex(isSameRouteRecord$1.bind(null,b));if(w>-1)return w;const S=getOriginalPath$1(y[A-2]);return A>1&&getOriginalPath$1(b)===S&&_[_.length-1].path!==S?_.findIndex(isSameRouteRecord$1.bind(null,y[A-2])):w}),d=computed(()=>u.value>-1&&includesParams$1(o.params,a.value.params)),g=computed(()=>u.value>-1&&u.value===o.matched.length-1&&isSameRouteLocationParams$1(o.params,a.value.params));function v(y={}){return guardEvent(y)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$5):Promise.resolve()}return{route:a,href:computed(()=>a.value.href),isActive:d,isExactActive:g,navigate:v}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(t,{slots:r}){const o=reactive(useLink(t)),{options:a}=inject(routerKey),u=computed(()=>({[getLinkClass(t.activeClass,a.linkActiveClass,"router-link-active")]:o.isActive,[getLinkClass(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const d=r.default&&r.default(o);return t.custom?d:h("a",{"aria-current":o.isExactActive?t.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:u.value},d)}}}),RouterLink=RouterLinkImpl;function guardEvent(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function includesParams$1(t,r){for(const o in r){const a=r[o],u=t[o];if(typeof a=="string"){if(a!==u)return!1}else if(!isArray$h(u)||u.length!==a.length||a.some((d,g)=>d!==u[g]))return!1}return!0}function getOriginalPath$1(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,o)=>t!=null?t:r!=null?r:o,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:o}){const a=inject(routerViewLocationKey),u=computed(()=>t.route||a.value),d=inject(viewDepthKey,0),g=computed(()=>{let A=unref(d);const{matched:b}=u.value;let _;for(;(_=b[A])&&!_.components;)A++;return A}),v=computed(()=>u.value.matched[g.value]);provide(viewDepthKey,computed(()=>g.value+1)),provide(matchedRouteKey,v),provide(routerViewLocationKey,u);const y=ref();return watch(()=>[y.value,v.value,t.name],([A,b,_],[w,S,C])=>{b&&(b.instances[_]=A,S&&S!==b&&A&&A===w&&(b.leaveGuards.size||(b.leaveGuards=S.leaveGuards),b.updateGuards.size||(b.updateGuards=S.updateGuards))),A&&b&&(!S||!isSameRouteRecord$1(b,S)||!w)&&(b.enterCallbacks[_]||[]).forEach(T=>T(A))},{flush:"post"}),()=>{const A=u.value,b=t.name,_=v.value,w=_&&_.components[b];if(!w)return normalizeSlot(o.default,{Component:w,route:A});const S=_.props[b],C=S?S===!0?A.params:typeof S=="function"?S(A):S:null,I=h(w,assign$4({},C,r,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(_.instances[b]=null)},ref:y}));return normalizeSlot(o.default,{Component:I,route:A})||I}}});function normalizeSlot(t,r){if(!t)return null;const o=t(r);return o.length===1?o[0]:o}const RouterView=RouterViewImpl;function createRouter$1(t){const r=createRouterMatcher(t.routes,t),o=t.parseQuery||parseQuery,a=t.stringifyQuery||stringifyQuery,u=t.history,d=useCallbacks(),g=useCallbacks(),v=useCallbacks(),y=shallowRef(START_LOCATION_NORMALIZED);let A=START_LOCATION_NORMALIZED;isBrowser&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=applyToParams.bind(null,pe=>""+pe),_=applyToParams.bind(null,encodeParam),w=applyToParams.bind(null,decode$3);function S(pe,ae){let ve,we;return isRouteName(pe)?(ve=r.getRecordMatcher(pe),we=ae):we=pe,r.addRoute(we,ve)}function C(pe){const ae=r.getRecordMatcher(pe);ae&&r.removeRoute(ae)}function T(){return r.getRoutes().map(pe=>pe.record)}function I(pe){return!!r.getRecordMatcher(pe)}function E(pe,ae){if(ae=assign$4({},ae||y.value),typeof pe=="string"){const Ae=parseURL(o,pe,ae.path),Ee=r.resolve({path:Ae.path},ae),le=u.createHref(Ae.fullPath);return assign$4(Ae,Ee,{params:w(Ee.params),hash:decode$3(Ae.hash),redirectedFrom:void 0,href:le})}let ve;if(pe.path!=null)ve=assign$4({},pe,{path:parseURL(o,pe.path,ae.path).path});else{const Ae=assign$4({},pe.params);for(const Ee in Ae)Ae[Ee]==null&&delete Ae[Ee];ve=assign$4({},pe,{params:_(Ae)}),ae.params=_(ae.params)}const we=r.resolve(ve,ae),_e=pe.hash||"";we.params=b(w(we.params));const Te=stringifyURL(a,assign$4({},pe,{hash:encodeHash(_e),path:we.path})),Ce=u.createHref(Te);return assign$4({fullPath:Te,hash:_e,query:a===stringifyQuery?normalizeQuery(pe.query):pe.query||{}},we,{redirectedFrom:void 0,href:Ce})}function F(pe){return typeof pe=="string"?parseURL(o,pe,y.value.path):assign$4({},pe)}function O(pe,ae){if(A!==pe)return createRouterError(8,{from:ae,to:pe})}function D(pe){return G(pe)}function x(pe){return D(assign$4(F(pe),{replace:!0}))}function P(pe){const ae=pe.matched[pe.matched.length-1];if(ae&&ae.redirect){const{redirect:ve}=ae;let we=typeof ve=="function"?ve(pe):ve;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=F(we):{path:we},we.params={}),assign$4({query:pe.query,hash:pe.hash,params:we.path!=null?{}:pe.params},we)}}function G(pe,ae){const ve=A=E(pe),we=y.value,_e=pe.state,Te=pe.force,Ce=pe.replace===!0,Ae=P(ve);if(Ae)return G(assign$4(F(Ae),{state:typeof Ae=="object"?assign$4({},_e,Ae.state):_e,force:Te,replace:Ce}),ae||ve);const Ee=ve;Ee.redirectedFrom=ae;let le;return!Te&&isSameRouteLocation(a,we,ve)&&(le=createRouterError(16,{to:Ee,from:we}),ce(we,we,!0,!1)),(le?Promise.resolve(le):V(Ee,we)).catch(re=>isNavigationFailure(re)?isNavigationFailure(re,2)?re:te(re):J(re,Ee,we)).then(re=>{if(re){if(isNavigationFailure(re,2))return G(assign$4({replace:Ce},F(re.to),{state:typeof re.to=="object"?assign$4({},_e,re.to.state):_e,force:Te}),ae||Ee)}else re=H(Ee,we,!0,Ce,_e);return Z(Ee,we,re),re})}function M(pe,ae){const ve=O(pe,ae);return ve?Promise.reject(ve):Promise.resolve()}function N(pe){const ae=he.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(pe):pe()}function V(pe,ae){let ve;const[we,_e,Te]=extractChangingRecords(pe,ae);ve=extractComponentsGuards(we.reverse(),"beforeRouteLeave",pe,ae);for(const Ae of we)Ae.leaveGuards.forEach(Ee=>{ve.push(guardToPromiseFn(Ee,pe,ae))});const Ce=M.bind(null,pe,ae);return ve.push(Ce),ee(ve).then(()=>{ve=[];for(const Ae of d.list())ve.push(guardToPromiseFn(Ae,pe,ae));return ve.push(Ce),ee(ve)}).then(()=>{ve=extractComponentsGuards(_e,"beforeRouteUpdate",pe,ae);for(const Ae of _e)Ae.updateGuards.forEach(Ee=>{ve.push(guardToPromiseFn(Ee,pe,ae))});return ve.push(Ce),ee(ve)}).then(()=>{ve=[];for(const Ae of Te)if(Ae.beforeEnter)if(isArray$h(Ae.beforeEnter))for(const Ee of Ae.beforeEnter)ve.push(guardToPromiseFn(Ee,pe,ae));else ve.push(guardToPromiseFn(Ae.beforeEnter,pe,ae));return ve.push(Ce),ee(ve)}).then(()=>(pe.matched.forEach(Ae=>Ae.enterCallbacks={}),ve=extractComponentsGuards(Te,"beforeRouteEnter",pe,ae,N),ve.push(Ce),ee(ve))).then(()=>{ve=[];for(const Ae of g.list())ve.push(guardToPromiseFn(Ae,pe,ae));return ve.push(Ce),ee(ve)}).catch(Ae=>isNavigationFailure(Ae,8)?Ae:Promise.reject(Ae))}function Z(pe,ae,ve){v.list().forEach(we=>N(()=>we(pe,ae,ve)))}function H(pe,ae,ve,we,_e){const Te=O(pe,ae);if(Te)return Te;const Ce=ae===START_LOCATION_NORMALIZED,Ae=isBrowser?history.state:{};ve&&(we||Ce?u.replace(pe.fullPath,assign$4({scroll:Ce&&Ae&&Ae.scroll},_e)):u.push(pe.fullPath,_e)),y.value=pe,ce(pe,ae,ve,Ce),te()}let B;function z(){B||(B=u.listen((pe,ae,ve)=>{if(!ye.listening)return;const we=E(pe),_e=P(we);if(_e){G(assign$4(_e,{replace:!0}),we).catch(noop$5);return}A=we;const Te=y.value;isBrowser&&saveScrollPosition(getScrollKey(Te.fullPath,ve.delta),computeScrollPosition()),V(we,Te).catch(Ce=>isNavigationFailure(Ce,12)?Ce:isNavigationFailure(Ce,2)?(G(Ce.to,we).then(Ae=>{isNavigationFailure(Ae,20)&&!ve.delta&&ve.type===NavigationType.pop&&u.go(-1,!1)}).catch(noop$5),Promise.reject()):(ve.delta&&u.go(-ve.delta,!1),J(Ce,we,Te))).then(Ce=>{Ce=Ce||H(we,Te,!1),Ce&&(ve.delta&&!isNavigationFailure(Ce,8)?u.go(-ve.delta,!1):ve.type===NavigationType.pop&&isNavigationFailure(Ce,20)&&u.go(-1,!1)),Z(we,Te,Ce)}).catch(noop$5)}))}let U=useCallbacks(),Q=useCallbacks(),X;function J(pe,ae,ve){te(pe);const we=Q.list();return we.length?we.forEach(_e=>_e(pe,ae,ve)):console.error(pe),Promise.reject(pe)}function ne(){return X&&y.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((pe,ae)=>{U.add([pe,ae])})}function te(pe){return X||(X=!pe,z(),U.list().forEach(([ae,ve])=>pe?ve(pe):ae()),U.reset()),pe}function ce(pe,ae,ve,we){const{scrollBehavior:_e}=t;if(!isBrowser||!_e)return Promise.resolve();const Te=!ve&&getSavedScrollPosition(getScrollKey(pe.fullPath,0))||(we||!ve)&&history.state&&history.state.scroll||null;return nextTick().then(()=>_e(pe,ae,Te)).then(Ce=>Ce&&scrollToPosition(Ce)).catch(Ce=>J(Ce,pe,ae))}const se=pe=>u.go(pe);let ge;const he=new Set,ye={currentRoute:y,listening:!0,addRoute:S,removeRoute:C,clearRoutes:r.clearRoutes,hasRoute:I,getRoutes:T,resolve:E,options:t,push:D,replace:x,go:se,back:()=>se(-1),forward:()=>se(1),beforeEach:d.add,beforeResolve:g.add,afterEach:v.add,onError:Q.add,isReady:ne,install(pe){const ae=this;pe.component("RouterLink",RouterLink),pe.component("RouterView",RouterView),pe.config.globalProperties.$router=ae,Object.defineProperty(pe.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(y)}),isBrowser&&!ge&&y.value===START_LOCATION_NORMALIZED&&(ge=!0,D(u.location).catch(_e=>{}));const ve={};for(const _e in START_LOCATION_NORMALIZED)Object.defineProperty(ve,_e,{get:()=>y.value[_e],enumerable:!0});pe.provide(routerKey,ae),pe.provide(routeLocationKey,shallowReactive(ve)),pe.provide(routerViewLocationKey,y);const we=pe.unmount;he.add(pe),pe.unmount=function(){he.delete(pe),he.size<1&&(A=START_LOCATION_NORMALIZED,B&&B(),B=null,y.value=START_LOCATION_NORMALIZED,ge=!1,X=!1),we()}}};function ee(pe){return pe.reduce((ae,ve)=>ae.then(()=>N(ve)),Promise.resolve())}return ye}function extractChangingRecords(t,r){const o=[],a=[],u=[],d=Math.max(r.matched.length,t.matched.length);for(let g=0;gisSameRouteRecord$1(A,v))?a.push(v):o.push(v));const y=t.matched[g];y&&(r.matched.find(A=>isSameRouteRecord$1(A,y))||u.push(y))}return[o,a,u]}function useRouter(){return inject(routerKey)}function useRoute(t){return inject(routeLocationKey)}function useQuasar(){return inject(quasarKey)}function bind$2(t,r){return function(){return t.apply(r,arguments)}}const{toString:toString$8}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(t=>r=>{const o=toString$8.call(r);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=t=>(t=t.toLowerCase(),r=>kindOf(r)===t),typeOfTest=t=>r=>typeof r===t,{isArray:isArray$g}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer$4(t){return t!==null&&!isUndefined$1(t)&&t.constructor!==null&&!isUndefined$1(t.constructor)&&isFunction$7(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(t){let r;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&isArrayBuffer(t.buffer),r}const isString$6=typeOfTest("string"),isFunction$7=typeOfTest("function"),isNumber$5=typeOfTest("number"),isObject$n=t=>t!==null&&typeof t=="object",isBoolean$3=t=>t===!0||t===!1,isPlainObject$5=t=>{if(kindOf(t)!=="object")return!1;const r=getPrototypeOf$1(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},isDate$5=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=t=>isObject$n(t)&&isFunction$7(t.pipe),isFormData=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||isFunction$7(t.append)&&((r=kindOf(t))==="formdata"||r==="object"&&isFunction$7(t.toString)&&t.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$3=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(t,r,{allOwnKeys:o=!1}={}){if(t===null||typeof t=="undefined")return;let a,u;if(typeof t!="object"&&(t=[t]),isArray$g(t))for(a=0,u=t.length;a0;)if(u=o[a],r===u.toLowerCase())return u;return null}const _global=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),isContextDefined=t=>!isUndefined$1(t)&&t!==_global;function merge$2(){const{caseless:t}=isContextDefined(this)&&this||{},r={},o=(a,u)=>{const d=t&&findKey$1(r,u)||u;isPlainObject$5(r[d])&&isPlainObject$5(a)?r[d]=merge$2(r[d],a):isPlainObject$5(a)?r[d]=merge$2({},a):isArray$g(a)?r[d]=a.slice():r[d]=a};for(let a=0,u=arguments.length;a(forEach(r,(u,d)=>{o&&isFunction$7(u)?t[d]=bind$2(u,o):t[d]=u},{allOwnKeys:a}),t),stripBOM=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits$9=(t,r,o,a)=>{t.prototype=Object.create(r.prototype,a),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),o&&Object.assign(t.prototype,o)},toFlatObject=(t,r,o,a)=>{let u,d,g;const v={};if(r=r||{},t==null)return r;do{for(u=Object.getOwnPropertyNames(t),d=u.length;d-- >0;)g=u[d],(!a||a(g,t,r))&&!v[g]&&(r[g]=t[g],v[g]=!0);t=o!==!1&&getPrototypeOf$1(t)}while(t&&(!o||o(t,r))&&t!==Object.prototype);return r},endsWith=(t,r,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=r.length;const a=t.indexOf(r,o);return a!==-1&&a===o},toArray=t=>{if(!t)return null;if(isArray$g(t))return t;let r=t.length;if(!isNumber$5(r))return null;const o=new Array(r);for(;r-- >0;)o[r]=t[r];return o},isTypedArray$5=(t=>r=>t&&r instanceof t)(typeof Uint8Array!="undefined"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(t,r)=>{const a=(t&&t[Symbol.iterator]).call(t);let u;for(;(u=a.next())&&!u.done;){const d=u.value;r.call(t,d[0],d[1])}},matchAll=(t,r)=>{let o;const a=[];for(;(o=t.exec(r))!==null;)a.push(o);return a},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,a,u){return a.toUpperCase()+u}),hasOwnProperty$h=(({hasOwnProperty:t})=>(r,o)=>t.call(r,o))(Object.prototype),isRegExp$4=kindOfTest("RegExp"),reduceDescriptors=(t,r)=>{const o=Object.getOwnPropertyDescriptors(t),a={};forEach(o,(u,d)=>{let g;(g=r(u,d,t))!==!1&&(a[d]=g||u)}),Object.defineProperties(t,a)},freezeMethods=t=>{reduceDescriptors(t,(r,o)=>{if(isFunction$7(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const a=t[o];if(!!isFunction$7(a)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},toObjectSet=(t,r)=>{const o={},a=u=>{u.forEach(d=>{o[d]=!0})};return isArray$g(t)?a(t):a(String(t).split(r)),o},noop$4=()=>{},toFiniteNumber=(t,r)=>t!=null&&Number.isFinite(t=+t)?t:r,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(t=16,r=ALPHABET.ALPHA_DIGIT)=>{let o="";const{length:a}=r;for(;t--;)o+=r[Math.random()*a|0];return o};function isSpecCompliantForm(t){return!!(t&&isFunction$7(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const toJSONObject=t=>{const r=new Array(10),o=(a,u)=>{if(isObject$n(a)){if(r.indexOf(a)>=0)return;if(!("toJSON"in a)){r[u]=a;const d=isArray$g(a)?[]:{};return forEach(a,(g,v)=>{const y=o(g,u+1);!isUndefined$1(y)&&(d[v]=y)}),r[u]=void 0,d}}return a};return o(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$n(t)||isFunction$7(t))&&isFunction$7(t.then)&&isFunction$7(t.catch),_setImmediate=((t,r)=>t?setImmediate:r?((o,a)=>(_global.addEventListener("message",({source:u,data:d})=>{u===_global&&d===o&&a.length&&a.shift()()},!1),u=>{a.push(u),_global.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",isFunction$7(_global.postMessage)),asap=typeof queueMicrotask!="undefined"?queueMicrotask.bind(_global):typeof process!="undefined"&&process.nextTick||_setImmediate;var utils$1={isArray:isArray$g,isArrayBuffer,isBuffer:isBuffer$4,isFormData,isArrayBufferView,isString:isString$6,isNumber:isNumber$5,isBoolean:isBoolean$3,isObject:isObject$n,isPlainObject:isPlainObject$5,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate:isDate$5,isFile,isBlob,isRegExp:isRegExp$4,isFunction:isFunction$7,isStream,isURLSearchParams,isTypedArray:isTypedArray$5,isFileList,forEach,merge:merge$2,extend:extend$2,trim:trim$3,stripBOM,inherits:inherits$9,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$h,hasOwnProp:hasOwnProperty$h,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$4,toFiniteNumber,findKey:findKey$1,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(t,r,o,a,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),o&&(this.config=o),a&&(this.request=a),u&&(this.response=u,this.status=u.status?u.status:null)}utils$1.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors$1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{descriptors$1[t]={value:t}});Object.defineProperties(AxiosError,descriptors$1);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(t,r,o,a,u,d)=>{const g=Object.create(prototype$1);return utils$1.toFlatObject(t,g,function(y){return y!==Error.prototype},v=>v!=="isAxiosError"),AxiosError.call(g,t.message,r,o,a,u),g.cause=t,g.name=t.name,d&&Object.assign(g,d),g};var httpAdapter=null;function isVisitable(t){return utils$1.isPlainObject(t)||utils$1.isArray(t)}function removeBrackets(t){return utils$1.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,r,o){return t?t.concat(r).map(function(u,d){return u=removeBrackets(u),!o&&d?"["+u+"]":u}).join(o?".":""):r}function isFlatArray(t){return utils$1.isArray(t)&&!t.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(r){return/^is[A-Z]/.test(r)});function toFormData(t,r,o){if(!utils$1.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,o=utils$1.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,I){return!utils$1.isUndefined(I[T])});const a=o.metaTokens,u=o.visitor||b,d=o.dots,g=o.indexes,y=(o.Blob||typeof Blob!="undefined"&&Blob)&&utils$1.isSpecCompliantForm(r);if(!utils$1.isFunction(u))throw new TypeError("visitor must be a function");function A(C){if(C===null)return"";if(utils$1.isDate(C))return C.toISOString();if(!y&&utils$1.isBlob(C))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(C)||utils$1.isTypedArray(C)?y&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function b(C,T,I){let E=C;if(C&&!I&&typeof C=="object"){if(utils$1.endsWith(T,"{}"))T=a?T:T.slice(0,-2),C=JSON.stringify(C);else if(utils$1.isArray(C)&&isFlatArray(C)||(utils$1.isFileList(C)||utils$1.endsWith(T,"[]"))&&(E=utils$1.toArray(C)))return T=removeBrackets(T),E.forEach(function(O,D){!(utils$1.isUndefined(O)||O===null)&&r.append(g===!0?renderKey([T],D,d):g===null?T:T+"[]",A(O))}),!1}return isVisitable(C)?!0:(r.append(renderKey(I,T,d),A(C)),!1)}const _=[],w=Object.assign(predicates,{defaultVisitor:b,convertValue:A,isVisitable});function S(C,T){if(!utils$1.isUndefined(C)){if(_.indexOf(C)!==-1)throw Error("Circular reference detected in "+T.join("."));_.push(C),utils$1.forEach(C,function(E,F){(!(utils$1.isUndefined(E)||E===null)&&u.call(r,E,utils$1.isString(F)?F.trim():F,T,w))===!0&&S(E,T?T.concat(F):[F])}),_.pop()}}if(!utils$1.isObject(t))throw new TypeError("data must be an object");return S(t),r}function encode$2(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(a){return r[a]})}function AxiosURLSearchParams(t,r){this._pairs=[],t&&toFormData(t,this,r)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(r,o){this._pairs.push([r,o])};prototype.toString=function(r){const o=r?function(a){return r.call(this,a,encode$2)}:encode$2;return this._pairs.map(function(u){return o(u[0])+"="+o(u[1])},"").join("&")};function encode$1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,r,o){if(!r)return t;const a=o&&o.encode||encode$1,u=o&&o.serialize;let d;if(u?d=u(r,o):d=utils$1.isURLSearchParams(r)?r.toString():new AxiosURLSearchParams(r,o).toString(a),d){const g=t.indexOf("#");g!==-1&&(t=t.slice(0,g)),t+=(t.indexOf("?")===-1?"?":"&")+d}return t}class InterceptorManager{constructor(){this.handlers=[]}use(r,o,a){return this.handlers.push({fulfilled:r,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){utils$1.forEach(this.handlers,function(a){a!==null&&r(a)})}}var InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams!="undefined"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData!="undefined"?FormData:null,Blob$1=typeof Blob!="undefined"?Blob:null,platform$3={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]};const hasBrowserEnv=typeof window!="undefined"&&typeof document!="undefined",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),origin=hasBrowserEnv&&window.location.href||"http://localhost";var utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserWebWorkerEnv,hasStandardBrowserEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform$2={...utils,...platform$3};function toURLEncodedForm(t,r){return toFormData(t,new platform$2.classes.URLSearchParams,Object.assign({visitor:function(o,a,u,d){return platform$2.isNode&&utils$1.isBuffer(o)?(this.append(a,o.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},r))}function parsePropPath(t){return utils$1.matchAll(/\w+|\[(\w*)]/g,t).map(r=>r[0]==="[]"?"":r[1]||r[0])}function arrayToObject(t){const r={},o=Object.keys(t);let a;const u=o.length;let d;for(a=0;a=o.length;return g=!g&&utils$1.isArray(u)?u.length:g,y?(utils$1.hasOwnProp(u,g)?u[g]=[u[g],a]:u[g]=a,!v):((!u[g]||!utils$1.isObject(u[g]))&&(u[g]=[]),r(o,a,u[g],d)&&utils$1.isArray(u[g])&&(u[g]=arrayToObject(u[g])),!v)}if(utils$1.isFormData(t)&&utils$1.isFunction(t.entries)){const o={};return utils$1.forEachEntry(t,(a,u)=>{r(parsePropPath(a),u,o,0)}),o}return null}function stringifySafely(t,r,o){if(utils$1.isString(t))try{return(r||JSON.parse)(t),utils$1.trim(t)}catch(a){if(a.name!=="SyntaxError")throw a}return(o||JSON.stringify)(t)}const defaults$4={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(r,o){const a=o.getContentType()||"",u=a.indexOf("application/json")>-1,d=utils$1.isObject(r);if(d&&utils$1.isHTMLForm(r)&&(r=new FormData(r)),utils$1.isFormData(r))return u?JSON.stringify(formDataToJSON(r)):r;if(utils$1.isArrayBuffer(r)||utils$1.isBuffer(r)||utils$1.isStream(r)||utils$1.isFile(r)||utils$1.isBlob(r)||utils$1.isReadableStream(r))return r;if(utils$1.isArrayBufferView(r))return r.buffer;if(utils$1.isURLSearchParams(r))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let v;if(d){if(a.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(r,this.formSerializer).toString();if((v=utils$1.isFileList(r))||a.indexOf("multipart/form-data")>-1){const y=this.env&&this.env.FormData;return toFormData(v?{"files[]":r}:r,y&&new y,this.formSerializer)}}return d||u?(o.setContentType("application/json",!1),stringifySafely(r)):r}],transformResponse:[function(r){const o=this.transitional||defaults$4.transitional,a=o&&o.forcedJSONParsing,u=this.responseType==="json";if(utils$1.isResponse(r)||utils$1.isReadableStream(r))return r;if(r&&utils$1.isString(r)&&(a&&!this.responseType||u)){const g=!(o&&o.silentJSONParsing)&&u;try{return JSON.parse(r)}catch(v){if(g)throw v.name==="SyntaxError"?AxiosError.from(v,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):v}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$2.classes.FormData,Blob:platform$2.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],t=>{defaults$4.headers[t]={}});var defaults$5=defaults$4;const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var parseHeaders=t=>{const r={};let o,a,u;return t&&t.split(` `).forEach(function(g){u=g.indexOf(":"),o=g.substring(0,u).trim().toLowerCase(),a=g.substring(u+1).trim(),!(!o||r[o]&&ignoreDuplicateOf[o])&&(o==="set-cookie"?r[o]?r[o].push(a):r[o]=[a]:r[o]=r[o]?r[o]+", "+a:a)}),r};const $internals=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return t===!1||t==null?t:utils$1.isArray(t)?t.map(normalizeValue):String(t)}function parseTokens(t){const r=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=o.exec(t);)r[a[1]]=a[2];return r}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,r,o,a,u){if(utils$1.isFunction(a))return a.call(this,r,o);if(u&&(r=o),!!utils$1.isString(r)){if(utils$1.isString(a))return r.indexOf(a)!==-1;if(utils$1.isRegExp(a))return a.test(r)}}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,o,a)=>o.toUpperCase()+a)}function buildAccessors(t,r){const o=utils$1.toCamelCase(" "+r);["get","set","has"].forEach(a=>{Object.defineProperty(t,a+o,{value:function(u,d,g){return this[a].call(this,r,u,d,g)},configurable:!0})})}class AxiosHeaders{constructor(r){r&&this.set(r)}set(r,o,a){const u=this;function d(v,y,A){const b=normalizeHeader(y);if(!b)throw new Error("header name must be a non-empty string");const _=utils$1.findKey(u,b);(!_||u[_]===void 0||A===!0||A===void 0&&u[_]!==!1)&&(u[_||y]=normalizeValue(v))}const g=(v,y)=>utils$1.forEach(v,(A,b)=>d(A,b,y));if(utils$1.isPlainObject(r)||r instanceof this.constructor)g(r,o);else if(utils$1.isString(r)&&(r=r.trim())&&!isValidHeaderName(r))g(parseHeaders(r),o);else if(utils$1.isHeaders(r))for(const[v,y]of r.entries())d(y,v,a);else r!=null&&d(o,r,a);return this}get(r,o){if(r=normalizeHeader(r),r){const a=utils$1.findKey(this,r);if(a){const u=this[a];if(!o)return u;if(o===!0)return parseTokens(u);if(utils$1.isFunction(o))return o.call(this,u,a);if(utils$1.isRegExp(o))return o.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,o){if(r=normalizeHeader(r),r){const a=utils$1.findKey(this,r);return!!(a&&this[a]!==void 0&&(!o||matchHeaderValue(this,this[a],a,o)))}return!1}delete(r,o){const a=this;let u=!1;function d(g){if(g=normalizeHeader(g),g){const v=utils$1.findKey(a,g);v&&(!o||matchHeaderValue(a,a[v],v,o))&&(delete a[v],u=!0)}}return utils$1.isArray(r)?r.forEach(d):d(r),u}clear(r){const o=Object.keys(this);let a=o.length,u=!1;for(;a--;){const d=o[a];(!r||matchHeaderValue(this,this[d],d,r,!0))&&(delete this[d],u=!0)}return u}normalize(r){const o=this,a={};return utils$1.forEach(this,(u,d)=>{const g=utils$1.findKey(a,d);if(g){o[g]=normalizeValue(u),delete o[d];return}const v=r?formatHeader(d):String(d).trim();v!==d&&delete o[d],o[v]=normalizeValue(u),a[v]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const o=Object.create(null);return utils$1.forEach(this,(a,u)=>{a!=null&&a!==!1&&(o[u]=r&&utils$1.isArray(a)?a.join(", "):a)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,o])=>r+": "+o).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...o){const a=new this(r);return o.forEach(u=>a.set(u)),a}static accessor(r){const a=(this[$internals]=this[$internals]={accessors:{}}).accessors,u=this.prototype;function d(g){const v=normalizeHeader(g);a[v]||(buildAccessors(u,g),a[v]=!0)}return utils$1.isArray(r)?r.forEach(d):d(r),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:t},r)=>{let o=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(a){this[o]=a}}});utils$1.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;function transformData(t,r){const o=this||defaults$5,a=r||o,u=AxiosHeaders$1.from(a.headers);let d=a.data;return utils$1.forEach(t,function(v){d=v.call(o,d,u.normalize(),r?r.status:void 0)}),u.normalize(),d}function isCancel(t){return!!(t&&t.__CANCEL__)}function CanceledError(t,r,o){AxiosError.call(this,t==null?"canceled":t,AxiosError.ERR_CANCELED,r,o),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(t,r,o){const a=o.config.validateStatus;!o.status||!a||a(o.status)?t(o):r(new AxiosError("Request failed with status code "+o.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function parseProtocol(t){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}function speedometer(t,r){t=t||10;const o=new Array(t),a=new Array(t);let u=0,d=0,g;return r=r!==void 0?r:1e3,function(y){const A=Date.now(),b=a[d];g||(g=A),o[u]=y,a[u]=A;let _=d,w=0;for(;_!==u;)w+=o[_++],_=_%t;if(u=(u+1)%t,u===d&&(d=(d+1)%t),A-g{o=b,u=null,d&&(clearTimeout(d),d=null),t.apply(null,A)};return[(...A)=>{const b=Date.now(),_=b-o;_>=a?g(A,b):(u=A,d||(d=setTimeout(()=>{d=null,g(u)},a-_)))},()=>u&&g(u)]}const progressEventReducer=(t,r,o=3)=>{let a=0;const u=speedometer(50,250);return throttle$3(d=>{const g=d.loaded,v=d.lengthComputable?d.total:void 0,y=g-a,A=u(y),b=g<=v;a=g;const _={loaded:g,total:v,progress:v?g/v:void 0,bytes:y,rate:A||void 0,estimated:A&&v&&b?(v-g)/A:void 0,event:d,lengthComputable:v!=null,[r?"download":"upload"]:!0};t(_)},o)},progressEventDecorator=(t,r)=>{const o=t!=null;return[a=>r[0]({lengthComputable:o,total:t,loaded:a}),r[1]]},asyncDecorator=t=>(...r)=>utils$1.asap(()=>t(...r));var isURLSameOrigin=platform$2.hasStandardBrowserEnv?function(){const r=platform$2.navigator&&/(msie|trident)/i.test(platform$2.navigator.userAgent),o=document.createElement("a");let a;function u(d){let g=d;return r&&(o.setAttribute("href",g),g=o.href),o.setAttribute("href",g),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return a=u(window.location.href),function(g){const v=utils$1.isString(g)?u(g):g;return v.protocol===a.protocol&&v.host===a.host}}():function(){return function(){return!0}}(),cookies=platform$2.hasStandardBrowserEnv?{write(t,r,o,a,u,d){const g=[t+"="+encodeURIComponent(r)];utils$1.isNumber(o)&&g.push("expires="+new Date(o).toGMTString()),utils$1.isString(a)&&g.push("path="+a),utils$1.isString(u)&&g.push("domain="+u),d===!0&&g.push("secure"),document.cookie=g.join("; ")},read(t){const r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function combineURLs(t,r){return r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t}function buildFullPath(t,r){return t&&!isAbsoluteURL(r)?combineURLs(t,r):r}const headersToObject=t=>t instanceof AxiosHeaders$1?{...t}:t;function mergeConfig(t,r){r=r||{};const o={};function a(A,b,_){return utils$1.isPlainObject(A)&&utils$1.isPlainObject(b)?utils$1.merge.call({caseless:_},A,b):utils$1.isPlainObject(b)?utils$1.merge({},b):utils$1.isArray(b)?b.slice():b}function u(A,b,_){if(utils$1.isUndefined(b)){if(!utils$1.isUndefined(A))return a(void 0,A,_)}else return a(A,b,_)}function d(A,b){if(!utils$1.isUndefined(b))return a(void 0,b)}function g(A,b){if(utils$1.isUndefined(b)){if(!utils$1.isUndefined(A))return a(void 0,A)}else return a(void 0,b)}function v(A,b,_){if(_ in r)return a(A,b);if(_ in t)return a(void 0,A)}const y={url:d,method:d,data:d,baseURL:g,transformRequest:g,transformResponse:g,paramsSerializer:g,timeout:g,timeoutMessage:g,withCredentials:g,withXSRFToken:g,adapter:g,responseType:g,xsrfCookieName:g,xsrfHeaderName:g,onUploadProgress:g,onDownloadProgress:g,decompress:g,maxContentLength:g,maxBodyLength:g,beforeRedirect:g,transport:g,httpAgent:g,httpsAgent:g,cancelToken:g,socketPath:g,responseEncoding:g,validateStatus:v,headers:(A,b)=>u(headersToObject(A),headersToObject(b),!0)};return utils$1.forEach(Object.keys(Object.assign({},t,r)),function(b){const _=y[b]||u,w=_(t[b],r[b],b);utils$1.isUndefined(w)&&_!==v||(o[b]=w)}),o}var resolveConfig$1=t=>{const r=mergeConfig({},t);let{data:o,withXSRFToken:a,xsrfHeaderName:u,xsrfCookieName:d,headers:g,auth:v}=r;r.headers=g=AxiosHeaders$1.from(g),r.url=buildURL(buildFullPath(r.baseURL,r.url),t.params,t.paramsSerializer),v&&g.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let y;if(utils$1.isFormData(o)){if(platform$2.hasStandardBrowserEnv||platform$2.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if((y=g.getContentType())!==!1){const[A,...b]=y?y.split(";").map(_=>_.trim()).filter(Boolean):[];g.setContentType([A||"multipart/form-data",...b].join("; "))}}if(platform$2.hasStandardBrowserEnv&&(a&&utils$1.isFunction(a)&&(a=a(r)),a||a!==!1&&isURLSameOrigin(r.url))){const A=u&&d&&cookies.read(d);A&&g.set(u,A)}return r};const isXHRAdapterSupported=typeof XMLHttpRequest!="undefined";var xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise(function(o,a){const u=resolveConfig$1(t);let d=u.data;const g=AxiosHeaders$1.from(u.headers).normalize();let{responseType:v,onUploadProgress:y,onDownloadProgress:A}=u,b,_,w,S,C;function T(){S&&S(),C&&C(),u.cancelToken&&u.cancelToken.unsubscribe(b),u.signal&&u.signal.removeEventListener("abort",b)}let I=new XMLHttpRequest;I.open(u.method.toUpperCase(),u.url,!0),I.timeout=u.timeout;function E(){if(!I)return;const O=AxiosHeaders$1.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),x={data:!v||v==="text"||v==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:O,config:t,request:I};settle(function(G){o(G),T()},function(G){a(G),T()},x),I=null}"onloadend"in I?I.onloadend=E:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(E)},I.onabort=function(){!I||(a(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,I)),I=null)},I.onerror=function(){a(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,I)),I=null},I.ontimeout=function(){let D=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const x=u.transitional||transitionalDefaults;u.timeoutErrorMessage&&(D=u.timeoutErrorMessage),a(new AxiosError(D,x.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,I)),I=null},d===void 0&&g.setContentType(null),"setRequestHeader"in I&&utils$1.forEach(g.toJSON(),function(D,x){I.setRequestHeader(x,D)}),utils$1.isUndefined(u.withCredentials)||(I.withCredentials=!!u.withCredentials),v&&v!=="json"&&(I.responseType=u.responseType),A&&([w,C]=progressEventReducer(A,!0),I.addEventListener("progress",w)),y&&I.upload&&([_,S]=progressEventReducer(y),I.upload.addEventListener("progress",_),I.upload.addEventListener("loadend",S)),(u.cancelToken||u.signal)&&(b=O=>{!I||(a(!O||O.type?new CanceledError(null,t,I):O),I.abort(),I=null)},u.cancelToken&&u.cancelToken.subscribe(b),u.signal&&(u.signal.aborted?b():u.signal.addEventListener("abort",b)));const F=parseProtocol(u.url);if(F&&platform$2.protocols.indexOf(F)===-1){a(new AxiosError("Unsupported protocol "+F+":",AxiosError.ERR_BAD_REQUEST,t));return}I.send(d||null)})};const composeSignals=(t,r)=>{const{length:o}=t=t?t.filter(Boolean):[];if(r||o){let a=new AbortController,u;const d=function(A){if(!u){u=!0,v();const b=A instanceof Error?A:this.reason;a.abort(b instanceof AxiosError?b:new CanceledError(b instanceof Error?b.message:b))}};let g=r&&setTimeout(()=>{g=null,d(new AxiosError(`timeout ${r} of ms exceeded`,AxiosError.ETIMEDOUT))},r);const v=()=>{t&&(g&&clearTimeout(g),g=null,t.forEach(A=>{A.unsubscribe?A.unsubscribe(d):A.removeEventListener("abort",d)}),t=null)};t.forEach(A=>A.addEventListener("abort",d));const{signal:y}=a;return y.unsubscribe=()=>utils$1.asap(v),y}};var composeSignals$1=composeSignals;const streamChunk=function*(t,r){let o=t.byteLength;if(!r||o{const u=readBytes(t,r);let d=0,g,v=y=>{g||(g=!0,a&&a(y))};return new ReadableStream({async pull(y){try{const{done:A,value:b}=await u.next();if(A){v(),y.close();return}let _=b.byteLength;if(o){let w=d+=_;o(w)}y.enqueue(new Uint8Array(b))}catch(A){throw v(A),A}},cancel(y){return v(y),u.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(t=>r=>t.encode(r))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),test$1=(t,...r)=>{try{return!!t(...r)}catch(o){return!1}},supportsRequestStream=isReadableStreamSupported&&test$1(()=>{let t=!1;const r=new Request(platform$2.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!r}),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&test$1(()=>utils$1.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(t=>t.body)};isFetchSupported&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(r=>{!resolvers[r]&&(resolvers[r]=utils$1.isFunction(t[r])?o=>o[r]():(o,a)=>{throw new AxiosError(`Response type '${r}' is not supported`,AxiosError.ERR_NOT_SUPPORT,a)})})})(new Response);const getBodyLength=async t=>{if(t==null)return 0;if(utils$1.isBlob(t))return t.size;if(utils$1.isSpecCompliantForm(t))return(await new Request(platform$2.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(t)||utils$1.isArrayBuffer(t))return t.byteLength;if(utils$1.isURLSearchParams(t)&&(t=t+""),utils$1.isString(t))return(await encodeText(t)).byteLength},resolveBodyLength=async(t,r)=>{const o=utils$1.toFiniteNumber(t.getContentLength());return o==null?getBodyLength(r):o};var fetchAdapter=isFetchSupported&&(async t=>{let{url:r,method:o,data:a,signal:u,cancelToken:d,timeout:g,onDownloadProgress:v,onUploadProgress:y,responseType:A,headers:b,withCredentials:_="same-origin",fetchOptions:w}=resolveConfig$1(t);A=A?(A+"").toLowerCase():"text";let S=composeSignals$1([u,d&&d.toAbortSignal()],g),C;const T=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let I;try{if(y&&supportsRequestStream&&o!=="get"&&o!=="head"&&(I=await resolveBodyLength(b,a))!==0){let x=new Request(r,{method:"POST",body:a,duplex:"half"}),P;if(utils$1.isFormData(a)&&(P=x.headers.get("content-type"))&&b.setContentType(P),x.body){const[G,M]=progressEventDecorator(I,progressEventReducer(asyncDecorator(y)));a=trackStream(x.body,DEFAULT_CHUNK_SIZE,G,M)}}utils$1.isString(_)||(_=_?"include":"omit");const E="credentials"in Request.prototype;C=new Request(r,{...w,signal:S,method:o.toUpperCase(),headers:b.normalize().toJSON(),body:a,duplex:"half",credentials:E?_:void 0});let F=await fetch(C);const O=supportsResponseStream&&(A==="stream"||A==="response");if(supportsResponseStream&&(v||O&&T)){const x={};["status","statusText","headers"].forEach(N=>{x[N]=F[N]});const P=utils$1.toFiniteNumber(F.headers.get("content-length")),[G,M]=v&&progressEventDecorator(P,progressEventReducer(asyncDecorator(v),!0))||[];F=new Response(trackStream(F.body,DEFAULT_CHUNK_SIZE,G,()=>{M&&M(),T&&T()}),x)}A=A||"text";let D=await resolvers[utils$1.findKey(resolvers,A)||"text"](F,t);return!O&&T&&T(),await new Promise((x,P)=>{settle(x,P,{data:D,headers:AxiosHeaders$1.from(F.headers),status:F.status,statusText:F.statusText,config:t,request:C})})}catch(E){throw T&&T(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,C),{cause:E.cause||E}):AxiosError.from(E,E&&E.code,t,C)}});const knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch(o){}Object.defineProperty(t,"adapterName",{value:r})}});const renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils$1.isFunction(t)||t===null||t===!1;var adapters$1={getAdapter:t=>{t=utils$1.isArray(t)?t:[t];const{length:r}=t;let o,a;const u={};for(let d=0;d`adapter ${v} `+(y===!1?"is not supported by the environment":"is not available in the build"));let g=r?d.length>1?`since : `+d.map(renderReason).join(` `):" "+renderReason(d[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+g,"ERR_NOT_SUPPORT")}return a},adapters:knownAdapters};function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CanceledError(null,t)}function dispatchRequest(t){return throwIfCancellationRequested(t),t.headers=AxiosHeaders$1.from(t.headers),t.data=transformData.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),adapters$1.getAdapter(t.adapter||defaults$5.adapter)(t).then(function(a){return throwIfCancellationRequested(t),a.data=transformData.call(t,t.transformResponse,a),a.headers=AxiosHeaders$1.from(a.headers),a},function(a){return isCancel(a)||(throwIfCancellationRequested(t),a&&a.response&&(a.response.data=transformData.call(t,t.transformResponse,a.response),a.response.headers=AxiosHeaders$1.from(a.response.headers))),Promise.reject(a)})}const VERSION$3="1.7.7",validators$1={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{validators$1[t]=function(a){return typeof a===t||"a"+(r<1?"n ":" ")+t}});const deprecatedWarnings={};validators$1.transitional=function(r,o,a){function u(d,g){return"[Axios v"+VERSION$3+"] Transitional option '"+d+"'"+g+(a?". "+a:"")}return(d,g,v)=>{if(r===!1)throw new AxiosError(u(g," has been removed"+(o?" in "+o:"")),AxiosError.ERR_DEPRECATED);return o&&!deprecatedWarnings[g]&&(deprecatedWarnings[g]=!0,console.warn(u(g," has been deprecated since v"+o+" and will be removed in the near future"))),r?r(d,g,v):!0}};function assertOptions(t,r,o){if(typeof t!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const a=Object.keys(t);let u=a.length;for(;u-- >0;){const d=a[u],g=r[d];if(g){const v=t[d],y=v===void 0||g(v,d,t);if(y!==!0)throw new AxiosError("option "+d+" must be "+y,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new AxiosError("Unknown option "+d,AxiosError.ERR_BAD_OPTION)}}var validator={assertOptions,validators:validators$1};const validators=validator.validators;class Axios{constructor(r){this.defaults=r,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}async request(r,o){try{return await this._request(r,o)}catch(a){if(a instanceof Error){let u;Error.captureStackTrace?Error.captureStackTrace(u={}):u=new Error;const d=u.stack?u.stack.replace(/^.+\n/,""):"";try{a.stack?d&&!String(a.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(a.stack+=` -`+d):a.stack=d}catch(g){}}throw a}}_request(r,o){typeof r=="string"?(o=o||{},o.url=r):o=r||{},o=mergeConfig(this.defaults,o);const{transitional:a,paramsSerializer:u,headers:d}=o;a!==void 0&&validator.assertOptions(a,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),u!=null&&(utils$1.isFunction(u)?o.paramsSerializer={serialize:u}:validator.assertOptions(u,{encode:validators.function,serialize:validators.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let g=d&&utils$1.merge(d.common,d[o.method]);d&&utils$1.forEach(["delete","get","head","post","put","patch","common"],C=>{delete d[C]}),o.headers=AxiosHeaders$1.concat(g,d);const v=[];let y=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(o)===!1||(y=y&&T.synchronous,v.unshift(T.fulfilled,T.rejected))});const A=[];this.interceptors.response.forEach(function(T){A.push(T.fulfilled,T.rejected)});let b,_=0,w;if(!y){const C=[dispatchRequest.bind(this),void 0];for(C.unshift.apply(C,v),C.push.apply(C,A),w=C.length,b=Promise.resolve(o);_{if(!a._listeners)return;let d=a._listeners.length;for(;d-- >0;)a._listeners[d](u);a._listeners=null}),this.promise.then=u=>{let d;const g=new Promise(v=>{a.subscribe(v),d=v}).then(u);return g.cancel=function(){a.unsubscribe(d)},g},r(function(d,g,v){a.reason||(a.reason=new CanceledError(d,g,v),o(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const r=new AbortController,o=a=>{r.abort(a)};return this.subscribe(o),r.signal.unsubscribe=()=>this.unsubscribe(o),r.signal}static source(){let r;return{token:new CancelToken(function(u){r=u}),cancel:r}}}var CancelToken$1=CancelToken;function spread(t){return function(o){return t.apply(null,o)}}function isAxiosError(t){return utils$1.isObject(t)&&t.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([t,r])=>{HttpStatusCode[r]=t});var HttpStatusCode$1=HttpStatusCode;function createInstance(t){const r=new Axios$1(t),o=bind$2(Axios$1.prototype.request,r);return utils$1.extend(o,Axios$1.prototype,r,{allOwnKeys:!0}),utils$1.extend(o,r,null,{allOwnKeys:!0}),o.create=function(u){return createInstance(mergeConfig(t,u))},o}const axios=createInstance(defaults$5);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION$3;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(r){return Promise.all(r)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=t=>formDataToJSON(utils$1.isHTMLForm(t)?new FormData(t):t);axios.getAdapter=adapters$1.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;var axios$1=axios;/*! Capacitor: https://capacitorjs.com/ - MIT License */const createCapacitorPlatforms=t=>{const r=new Map;r.set("web",{name:"web"});const o=t.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:r},a=(d,g)=>{o.platforms.set(d,g)},u=d=>{o.platforms.has(d)&&(o.currentPlatform=o.platforms.get(d))};return o.addPlatform=a,o.setPlatform=u,o},initPlatforms=t=>t.CapacitorPlatforms=createCapacitorPlatforms(t),CapacitorPlatforms=initPlatforms(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});CapacitorPlatforms.addPlatform;CapacitorPlatforms.setPlatform;var ExceptionCode;(function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"})(ExceptionCode||(ExceptionCode={}));class CapacitorException extends Error{constructor(r,o,a){super(r),this.message=r,this.code=o,this.data=a}}const getPlatformId=t=>{var r,o;return t!=null&&t.androidBridge?"android":!((o=(r=t==null?void 0:t.webkit)===null||r===void 0?void 0:r.messageHandlers)===null||o===void 0)&&o.bridge?"ios":"web"},createCapacitor=t=>{var r,o,a,u,d;const g=t.CapacitorCustomPlatform||null,v=t.Capacitor||{},y=v.Plugins=v.Plugins||{},A=t.CapacitorPlatforms,b=()=>g!==null?g.name:getPlatformId(t),_=((r=A==null?void 0:A.currentPlatform)===null||r===void 0?void 0:r.getPlatform)||b,w=()=>_()!=="web",S=((o=A==null?void 0:A.currentPlatform)===null||o===void 0?void 0:o.isNativePlatform)||w,C=G=>{const M=D.get(G);return!!(M!=null&&M.platforms.has(_())||E(G))},T=((a=A==null?void 0:A.currentPlatform)===null||a===void 0?void 0:a.isPluginAvailable)||C,I=G=>{var M;return(M=v.PluginHeaders)===null||M===void 0?void 0:M.find(N=>N.name===G)},E=((u=A==null?void 0:A.currentPlatform)===null||u===void 0?void 0:u.getPluginHeader)||I,F=G=>t.console.error(G),O=(G,M,N)=>Promise.reject(`${N} does not have an implementation of "${M}".`),D=new Map,x=(G,M={})=>{const N=D.get(G);if(N)return console.warn(`Capacitor plugin "${G}" already registered. Cannot register plugins twice.`),N.proxy;const V=_(),Y=E(G);let H;const B=async()=>(!H&&V in M?H=typeof M[V]=="function"?H=await M[V]():H=M[V]:g!==null&&!H&&"web"in M&&(H=typeof M.web=="function"?H=await M.web():H=M.web),H),z=(te,ce)=>{var se,ge;if(Y){const he=Y==null?void 0:Y.methods.find(ye=>ce===ye.name);if(he)return he.rtype==="promise"?ye=>v.nativePromise(G,ce.toString(),ye):(ye,ee)=>v.nativeCallback(G,ce.toString(),ye,ee);if(te)return(se=te[ce])===null||se===void 0?void 0:se.bind(te)}else{if(te)return(ge=te[ce])===null||ge===void 0?void 0:ge.bind(te);throw new CapacitorException(`"${G}" plugin is not implemented on ${V}`,ExceptionCode.Unimplemented)}},U=te=>{let ce;const se=(...ge)=>{const he=B().then(ye=>{const ee=z(ye,te);if(ee){const pe=ee(...ge);return ce=pe==null?void 0:pe.remove,pe}else throw new CapacitorException(`"${G}.${te}()" is not implemented on ${V}`,ExceptionCode.Unimplemented)});return te==="addListener"&&(he.remove=async()=>ce()),he};return se.toString=()=>`${te.toString()}() { [capacitor code] }`,Object.defineProperty(se,"name",{value:te,writable:!1,configurable:!1}),se},Q=U("addListener"),X=U("removeListener"),J=(te,ce)=>{const se=Q({eventName:te},ce),ge=async()=>{const ye=await se;X({eventName:te,callbackId:ye},ce)},he=new Promise(ye=>se.then(()=>ye({remove:ge})));return he.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await ge()},he},ne=new Proxy({},{get(te,ce){switch(ce){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Y?J:Q;case"removeListener":return X;default:return U(ce)}}});return y[G]=ne,D.set(G,{name:G,proxy:ne,platforms:new Set([...Object.keys(M),...Y?[V]:[]])}),ne},P=((d=A==null?void 0:A.currentPlatform)===null||d===void 0?void 0:d.registerPlugin)||x;return v.convertFileSrc||(v.convertFileSrc=G=>G),v.getPlatform=_,v.handleError=F,v.isNativePlatform=S,v.isPluginAvailable=T,v.pluginMethodNoop=O,v.registerPlugin=P,v.Exception=CapacitorException,v.DEBUG=!!v.DEBUG,v.isLoggingEnabled=!!v.isLoggingEnabled,v.platform=v.getPlatform(),v.isNative=v.isNativePlatform(),v},initCapacitorGlobal=t=>t.Capacitor=createCapacitor(t),Capacitor=initCapacitorGlobal(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),registerPlugin=Capacitor.registerPlugin;Capacitor.Plugins;class WebPlugin{constructor(r){this.listeners={},this.retainedEventArguments={},this.windowListeners={},r&&(console.warn(`Capacitor WebPlugin "${r.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=r)}addListener(r,o){let a=!1;this.listeners[r]||(this.listeners[r]=[],a=!0),this.listeners[r].push(o);const d=this.windowListeners[r];d&&!d.registered&&this.addWindowListener(d),a&&this.sendRetainedArgumentsForEvent(r);const g=async()=>this.removeListener(r,o);return Promise.resolve({remove:g})}async removeAllListeners(){this.listeners={};for(const r in this.windowListeners)this.removeWindowListener(this.windowListeners[r]);this.windowListeners={}}notifyListeners(r,o,a){const u=this.listeners[r];if(!u){if(a){let d=this.retainedEventArguments[r];d||(d=[]),d.push(o),this.retainedEventArguments[r]=d}return}u.forEach(d=>d(o))}hasListeners(r){return!!this.listeners[r].length}registerWindowListener(r,o){this.windowListeners[o]={registered:!1,windowEventName:r,pluginEventName:o,handler:a=>{this.notifyListeners(o,a)}}}unimplemented(r="not implemented"){return new Capacitor.Exception(r,ExceptionCode.Unimplemented)}unavailable(r="not available"){return new Capacitor.Exception(r,ExceptionCode.Unavailable)}async removeListener(r,o){const a=this.listeners[r];if(!a)return;const u=a.indexOf(o);this.listeners[r].splice(u,1),this.listeners[r].length||this.removeWindowListener(this.windowListeners[r])}addWindowListener(r){window.addEventListener(r.windowEventName,r.handler),r.registered=!0}removeWindowListener(r){!r||(window.removeEventListener(r.windowEventName,r.handler),r.registered=!1)}sendRetainedArgumentsForEvent(r){const o=this.retainedEventArguments[r];!o||(delete this.retainedEventArguments[r],o.forEach(a=>{this.notifyListeners(r,a)}))}}const encode=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),decode$2=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class CapacitorCookiesPluginWeb extends WebPlugin{async getCookies(){const r=document.cookie,o={};return r.split(";").forEach(a=>{if(a.length<=0)return;let[u,d]=a.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");u=decode$2(u).trim(),d=decode$2(d).trim(),o[u]=d}),o}async setCookie(r){try{const o=encode(r.key),a=encode(r.value),u=`; expires=${(r.expires||"").replace("expires=","")}`,d=(r.path||"/").replace("path=",""),g=r.url!=null&&r.url.length>0?`domain=${r.url}`:"";document.cookie=`${o}=${a||""}${u}; path=${d}; ${g};`}catch(o){return Promise.reject(o)}}async deleteCookie(r){try{document.cookie=`${r.key}=; Max-Age=0`}catch(o){return Promise.reject(o)}}async clearCookies(){try{const r=document.cookie.split(";")||[];for(const o of r)document.cookie=o.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(r){return Promise.reject(r)}}async clearAllCookies(){try{await this.clearCookies()}catch(r){return Promise.reject(r)}}}registerPlugin("CapacitorCookies",{web:()=>new CapacitorCookiesPluginWeb});const readBlobAsBase64=async t=>new Promise((r,o)=>{const a=new FileReader;a.onload=()=>{const u=a.result;r(u.indexOf(",")>=0?u.split(",")[1]:u)},a.onerror=u=>o(u),a.readAsDataURL(t)}),normalizeHttpHeaders=(t={})=>{const r=Object.keys(t);return Object.keys(t).map(u=>u.toLocaleLowerCase()).reduce((u,d,g)=>(u[d]=t[r[g]],u),{})},buildUrlParams=(t,r=!0)=>t?Object.entries(t).reduce((a,u)=>{const[d,g]=u;let v,y;return Array.isArray(g)?(y="",g.forEach(A=>{v=r?encodeURIComponent(A):A,y+=`${d}=${v}&`}),y.slice(0,-1)):(v=r?encodeURIComponent(g):g,y=`${d}=${v}`),`${a}&${y}`},"").substr(1):null,buildRequestInit=(t,r={})=>{const o=Object.assign({method:t.method||"GET",headers:t.headers},r),u=normalizeHttpHeaders(t.headers)["content-type"]||"";if(typeof t.data=="string")o.body=t.data;else if(u.includes("application/x-www-form-urlencoded")){const d=new URLSearchParams;for(const[g,v]of Object.entries(t.data||{}))d.set(g,v);o.body=d.toString()}else if(u.includes("multipart/form-data")||t.data instanceof FormData){const d=new FormData;if(t.data instanceof FormData)t.data.forEach((v,y)=>{d.append(y,v)});else for(const v of Object.keys(t.data))d.append(v,t.data[v]);o.body=d;const g=new Headers(o.headers);g.delete("content-type"),o.headers=g}else(u.includes("application/json")||typeof t.data=="object")&&(o.body=JSON.stringify(t.data));return o};class CapacitorHttpPluginWeb extends WebPlugin{async request(r){const o=buildRequestInit(r,r.webFetchExtra),a=buildUrlParams(r.params,r.shouldEncodeUrlParams),u=a?`${r.url}?${a}`:r.url,d=await fetch(u,o),g=d.headers.get("content-type")||"";let{responseType:v="text"}=d.ok?r:{};g.includes("application/json")&&(v="json");let y,A;switch(v){case"arraybuffer":case"blob":A=await d.blob(),y=await readBlobAsBase64(A);break;case"json":y=await d.json();break;case"document":case"text":default:y=await d.text()}const b={};return d.headers.forEach((_,w)=>{b[w]=_}),{data:y,headers:b,status:d.status,url:d.url}}async get(r){return this.request(Object.assign(Object.assign({},r),{method:"GET"}))}async post(r){return this.request(Object.assign(Object.assign({},r),{method:"POST"}))}async put(r){return this.request(Object.assign(Object.assign({},r),{method:"PUT"}))}async patch(r){return this.request(Object.assign(Object.assign({},r),{method:"PATCH"}))}async delete(r){return this.request(Object.assign(Object.assign({},r),{method:"DELETE"}))}}registerPlugin("CapacitorHttp",{web:()=>new CapacitorHttpPluginWeb});const Browser$2=registerPlugin("Browser",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web$2}),void 0).then(t=>new t.BrowserWeb)}),SplashScreen=registerPlugin("SplashScreen",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web$1}),void 0).then(t=>new t.SplashScreenWeb)});var Style;(function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"})(Style||(Style={}));var Animation$2;(function(t){t.None="NONE",t.Slide="SLIDE",t.Fade="FADE"})(Animation$2||(Animation$2={}));const StatusBar=registerPlugin("StatusBar");Promise.allSettled=Promise.allSettled||(t=>Promise.all(t.map(r=>r.then(o=>({status:"fulfilled",value:o})).catch(o=>({status:"rejected",reason:o})))));Object.fromEntries=Object.fromEntries||(t=>[...t].reduce((r,[o,a])=>(r[o]=a,r),{}));/** +`+d):a.stack=d}catch(g){}}throw a}}_request(r,o){typeof r=="string"?(o=o||{},o.url=r):o=r||{},o=mergeConfig(this.defaults,o);const{transitional:a,paramsSerializer:u,headers:d}=o;a!==void 0&&validator.assertOptions(a,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),u!=null&&(utils$1.isFunction(u)?o.paramsSerializer={serialize:u}:validator.assertOptions(u,{encode:validators.function,serialize:validators.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let g=d&&utils$1.merge(d.common,d[o.method]);d&&utils$1.forEach(["delete","get","head","post","put","patch","common"],C=>{delete d[C]}),o.headers=AxiosHeaders$1.concat(g,d);const v=[];let y=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(o)===!1||(y=y&&T.synchronous,v.unshift(T.fulfilled,T.rejected))});const A=[];this.interceptors.response.forEach(function(T){A.push(T.fulfilled,T.rejected)});let b,_=0,w;if(!y){const C=[dispatchRequest.bind(this),void 0];for(C.unshift.apply(C,v),C.push.apply(C,A),w=C.length,b=Promise.resolve(o);_{if(!a._listeners)return;let d=a._listeners.length;for(;d-- >0;)a._listeners[d](u);a._listeners=null}),this.promise.then=u=>{let d;const g=new Promise(v=>{a.subscribe(v),d=v}).then(u);return g.cancel=function(){a.unsubscribe(d)},g},r(function(d,g,v){a.reason||(a.reason=new CanceledError(d,g,v),o(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const r=new AbortController,o=a=>{r.abort(a)};return this.subscribe(o),r.signal.unsubscribe=()=>this.unsubscribe(o),r.signal}static source(){let r;return{token:new CancelToken(function(u){r=u}),cancel:r}}}var CancelToken$1=CancelToken;function spread(t){return function(o){return t.apply(null,o)}}function isAxiosError(t){return utils$1.isObject(t)&&t.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([t,r])=>{HttpStatusCode[r]=t});var HttpStatusCode$1=HttpStatusCode;function createInstance(t){const r=new Axios$1(t),o=bind$2(Axios$1.prototype.request,r);return utils$1.extend(o,Axios$1.prototype,r,{allOwnKeys:!0}),utils$1.extend(o,r,null,{allOwnKeys:!0}),o.create=function(u){return createInstance(mergeConfig(t,u))},o}const axios=createInstance(defaults$5);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION$3;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(r){return Promise.all(r)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=t=>formDataToJSON(utils$1.isHTMLForm(t)?new FormData(t):t);axios.getAdapter=adapters$1.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;var axios$1=axios;/*! Capacitor: https://capacitorjs.com/ - MIT License */const createCapacitorPlatforms=t=>{const r=new Map;r.set("web",{name:"web"});const o=t.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:r},a=(d,g)=>{o.platforms.set(d,g)},u=d=>{o.platforms.has(d)&&(o.currentPlatform=o.platforms.get(d))};return o.addPlatform=a,o.setPlatform=u,o},initPlatforms=t=>t.CapacitorPlatforms=createCapacitorPlatforms(t),CapacitorPlatforms=initPlatforms(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});CapacitorPlatforms.addPlatform;CapacitorPlatforms.setPlatform;var ExceptionCode;(function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"})(ExceptionCode||(ExceptionCode={}));class CapacitorException extends Error{constructor(r,o,a){super(r),this.message=r,this.code=o,this.data=a}}const getPlatformId=t=>{var r,o;return t!=null&&t.androidBridge?"android":!((o=(r=t==null?void 0:t.webkit)===null||r===void 0?void 0:r.messageHandlers)===null||o===void 0)&&o.bridge?"ios":"web"},createCapacitor=t=>{var r,o,a,u,d;const g=t.CapacitorCustomPlatform||null,v=t.Capacitor||{},y=v.Plugins=v.Plugins||{},A=t.CapacitorPlatforms,b=()=>g!==null?g.name:getPlatformId(t),_=((r=A==null?void 0:A.currentPlatform)===null||r===void 0?void 0:r.getPlatform)||b,w=()=>_()!=="web",S=((o=A==null?void 0:A.currentPlatform)===null||o===void 0?void 0:o.isNativePlatform)||w,C=G=>{const M=D.get(G);return!!(M!=null&&M.platforms.has(_())||E(G))},T=((a=A==null?void 0:A.currentPlatform)===null||a===void 0?void 0:a.isPluginAvailable)||C,I=G=>{var M;return(M=v.PluginHeaders)===null||M===void 0?void 0:M.find(N=>N.name===G)},E=((u=A==null?void 0:A.currentPlatform)===null||u===void 0?void 0:u.getPluginHeader)||I,F=G=>t.console.error(G),O=(G,M,N)=>Promise.reject(`${N} does not have an implementation of "${M}".`),D=new Map,x=(G,M={})=>{const N=D.get(G);if(N)return console.warn(`Capacitor plugin "${G}" already registered. Cannot register plugins twice.`),N.proxy;const V=_(),Z=E(G);let H;const B=async()=>(!H&&V in M?H=typeof M[V]=="function"?H=await M[V]():H=M[V]:g!==null&&!H&&"web"in M&&(H=typeof M.web=="function"?H=await M.web():H=M.web),H),z=(te,ce)=>{var se,ge;if(Z){const he=Z==null?void 0:Z.methods.find(ye=>ce===ye.name);if(he)return he.rtype==="promise"?ye=>v.nativePromise(G,ce.toString(),ye):(ye,ee)=>v.nativeCallback(G,ce.toString(),ye,ee);if(te)return(se=te[ce])===null||se===void 0?void 0:se.bind(te)}else{if(te)return(ge=te[ce])===null||ge===void 0?void 0:ge.bind(te);throw new CapacitorException(`"${G}" plugin is not implemented on ${V}`,ExceptionCode.Unimplemented)}},U=te=>{let ce;const se=(...ge)=>{const he=B().then(ye=>{const ee=z(ye,te);if(ee){const pe=ee(...ge);return ce=pe==null?void 0:pe.remove,pe}else throw new CapacitorException(`"${G}.${te}()" is not implemented on ${V}`,ExceptionCode.Unimplemented)});return te==="addListener"&&(he.remove=async()=>ce()),he};return se.toString=()=>`${te.toString()}() { [capacitor code] }`,Object.defineProperty(se,"name",{value:te,writable:!1,configurable:!1}),se},Q=U("addListener"),X=U("removeListener"),J=(te,ce)=>{const se=Q({eventName:te},ce),ge=async()=>{const ye=await se;X({eventName:te,callbackId:ye},ce)},he=new Promise(ye=>se.then(()=>ye({remove:ge})));return he.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await ge()},he},ne=new Proxy({},{get(te,ce){switch(ce){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Z?J:Q;case"removeListener":return X;default:return U(ce)}}});return y[G]=ne,D.set(G,{name:G,proxy:ne,platforms:new Set([...Object.keys(M),...Z?[V]:[]])}),ne},P=((d=A==null?void 0:A.currentPlatform)===null||d===void 0?void 0:d.registerPlugin)||x;return v.convertFileSrc||(v.convertFileSrc=G=>G),v.getPlatform=_,v.handleError=F,v.isNativePlatform=S,v.isPluginAvailable=T,v.pluginMethodNoop=O,v.registerPlugin=P,v.Exception=CapacitorException,v.DEBUG=!!v.DEBUG,v.isLoggingEnabled=!!v.isLoggingEnabled,v.platform=v.getPlatform(),v.isNative=v.isNativePlatform(),v},initCapacitorGlobal=t=>t.Capacitor=createCapacitor(t),Capacitor=initCapacitorGlobal(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),registerPlugin=Capacitor.registerPlugin;Capacitor.Plugins;class WebPlugin{constructor(r){this.listeners={},this.retainedEventArguments={},this.windowListeners={},r&&(console.warn(`Capacitor WebPlugin "${r.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=r)}addListener(r,o){let a=!1;this.listeners[r]||(this.listeners[r]=[],a=!0),this.listeners[r].push(o);const d=this.windowListeners[r];d&&!d.registered&&this.addWindowListener(d),a&&this.sendRetainedArgumentsForEvent(r);const g=async()=>this.removeListener(r,o);return Promise.resolve({remove:g})}async removeAllListeners(){this.listeners={};for(const r in this.windowListeners)this.removeWindowListener(this.windowListeners[r]);this.windowListeners={}}notifyListeners(r,o,a){const u=this.listeners[r];if(!u){if(a){let d=this.retainedEventArguments[r];d||(d=[]),d.push(o),this.retainedEventArguments[r]=d}return}u.forEach(d=>d(o))}hasListeners(r){return!!this.listeners[r].length}registerWindowListener(r,o){this.windowListeners[o]={registered:!1,windowEventName:r,pluginEventName:o,handler:a=>{this.notifyListeners(o,a)}}}unimplemented(r="not implemented"){return new Capacitor.Exception(r,ExceptionCode.Unimplemented)}unavailable(r="not available"){return new Capacitor.Exception(r,ExceptionCode.Unavailable)}async removeListener(r,o){const a=this.listeners[r];if(!a)return;const u=a.indexOf(o);this.listeners[r].splice(u,1),this.listeners[r].length||this.removeWindowListener(this.windowListeners[r])}addWindowListener(r){window.addEventListener(r.windowEventName,r.handler),r.registered=!0}removeWindowListener(r){!r||(window.removeEventListener(r.windowEventName,r.handler),r.registered=!1)}sendRetainedArgumentsForEvent(r){const o=this.retainedEventArguments[r];!o||(delete this.retainedEventArguments[r],o.forEach(a=>{this.notifyListeners(r,a)}))}}const encode=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),decode$2=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class CapacitorCookiesPluginWeb extends WebPlugin{async getCookies(){const r=document.cookie,o={};return r.split(";").forEach(a=>{if(a.length<=0)return;let[u,d]=a.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");u=decode$2(u).trim(),d=decode$2(d).trim(),o[u]=d}),o}async setCookie(r){try{const o=encode(r.key),a=encode(r.value),u=`; expires=${(r.expires||"").replace("expires=","")}`,d=(r.path||"/").replace("path=",""),g=r.url!=null&&r.url.length>0?`domain=${r.url}`:"";document.cookie=`${o}=${a||""}${u}; path=${d}; ${g};`}catch(o){return Promise.reject(o)}}async deleteCookie(r){try{document.cookie=`${r.key}=; Max-Age=0`}catch(o){return Promise.reject(o)}}async clearCookies(){try{const r=document.cookie.split(";")||[];for(const o of r)document.cookie=o.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(r){return Promise.reject(r)}}async clearAllCookies(){try{await this.clearCookies()}catch(r){return Promise.reject(r)}}}registerPlugin("CapacitorCookies",{web:()=>new CapacitorCookiesPluginWeb});const readBlobAsBase64=async t=>new Promise((r,o)=>{const a=new FileReader;a.onload=()=>{const u=a.result;r(u.indexOf(",")>=0?u.split(",")[1]:u)},a.onerror=u=>o(u),a.readAsDataURL(t)}),normalizeHttpHeaders=(t={})=>{const r=Object.keys(t);return Object.keys(t).map(u=>u.toLocaleLowerCase()).reduce((u,d,g)=>(u[d]=t[r[g]],u),{})},buildUrlParams=(t,r=!0)=>t?Object.entries(t).reduce((a,u)=>{const[d,g]=u;let v,y;return Array.isArray(g)?(y="",g.forEach(A=>{v=r?encodeURIComponent(A):A,y+=`${d}=${v}&`}),y.slice(0,-1)):(v=r?encodeURIComponent(g):g,y=`${d}=${v}`),`${a}&${y}`},"").substr(1):null,buildRequestInit=(t,r={})=>{const o=Object.assign({method:t.method||"GET",headers:t.headers},r),u=normalizeHttpHeaders(t.headers)["content-type"]||"";if(typeof t.data=="string")o.body=t.data;else if(u.includes("application/x-www-form-urlencoded")){const d=new URLSearchParams;for(const[g,v]of Object.entries(t.data||{}))d.set(g,v);o.body=d.toString()}else if(u.includes("multipart/form-data")||t.data instanceof FormData){const d=new FormData;if(t.data instanceof FormData)t.data.forEach((v,y)=>{d.append(y,v)});else for(const v of Object.keys(t.data))d.append(v,t.data[v]);o.body=d;const g=new Headers(o.headers);g.delete("content-type"),o.headers=g}else(u.includes("application/json")||typeof t.data=="object")&&(o.body=JSON.stringify(t.data));return o};class CapacitorHttpPluginWeb extends WebPlugin{async request(r){const o=buildRequestInit(r,r.webFetchExtra),a=buildUrlParams(r.params,r.shouldEncodeUrlParams),u=a?`${r.url}?${a}`:r.url,d=await fetch(u,o),g=d.headers.get("content-type")||"";let{responseType:v="text"}=d.ok?r:{};g.includes("application/json")&&(v="json");let y,A;switch(v){case"arraybuffer":case"blob":A=await d.blob(),y=await readBlobAsBase64(A);break;case"json":y=await d.json();break;case"document":case"text":default:y=await d.text()}const b={};return d.headers.forEach((_,w)=>{b[w]=_}),{data:y,headers:b,status:d.status,url:d.url}}async get(r){return this.request(Object.assign(Object.assign({},r),{method:"GET"}))}async post(r){return this.request(Object.assign(Object.assign({},r),{method:"POST"}))}async put(r){return this.request(Object.assign(Object.assign({},r),{method:"PUT"}))}async patch(r){return this.request(Object.assign(Object.assign({},r),{method:"PATCH"}))}async delete(r){return this.request(Object.assign(Object.assign({},r),{method:"DELETE"}))}}registerPlugin("CapacitorHttp",{web:()=>new CapacitorHttpPluginWeb});const Browser$2=registerPlugin("Browser",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web$2}),void 0).then(t=>new t.BrowserWeb)}),SplashScreen=registerPlugin("SplashScreen",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web$1}),void 0).then(t=>new t.SplashScreenWeb)});var Style;(function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"})(Style||(Style={}));var Animation$2;(function(t){t.None="NONE",t.Slide="SLIDE",t.Fade="FADE"})(Animation$2||(Animation$2={}));const StatusBar=registerPlugin("StatusBar");Promise.allSettled=Promise.allSettled||(t=>Promise.all(t.map(r=>r.then(o=>({status:"fulfilled",value:o})).catch(o=>({status:"rejected",reason:o})))));Object.fromEntries=Object.fromEntries||(t=>[...t].reduce((r,[o,a])=>(r[o]=a,r),{}));/** * (c) Iconify * * For the full copyright and license information, please view the license.txt or license.gpl.txt @@ -36,11 +36,11 @@ var yo=Object.defineProperty;var Ao=(t,r,o)=>r in t?yo(t,r,{enumerable:!0,config * * @license MIT * @version 3.0.0 -*/var Iconify=function(t){var r=Object.freeze({left:0,top:0,width:16,height:16}),o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze(Object.assign({},r,o)),u=Object.freeze(Object.assign({},a,{body:"",hidden:!1}));function d(je,Ze){var qe=function(pt,Dt){var xt={};!pt.hFlip!=!Dt.hFlip&&(xt.hFlip=!0),!pt.vFlip!=!Dt.vFlip&&(xt.vFlip=!0);var Et=((pt.rotate||0)+(Dt.rotate||0))%4;return Et&&(xt.rotate=Et),xt}(je,Ze);for(var ut in u)ut in o?ut in je&&!(ut in qe)&&(qe[ut]=o[ut]):ut in Ze?qe[ut]=Ze[ut]:ut in je&&(qe[ut]=je[ut]);return qe}function g(je,Ze,qe){var ut=je.icons,pt=je.aliases||{},Dt={};function xt(Et){Dt=d(ut[Et]||pt[Et],Dt)}return xt(Ze),qe.forEach(xt),d(je,Dt)}function v(je,Ze){var qe=[];if(typeof je!="object"||typeof je.icons!="object")return qe;je.not_found instanceof Array&&je.not_found.forEach(function(xt){Ze(xt,null),qe.push(xt)});var ut=function(xt,Et){var wt=xt.icons,Pt=xt.aliases||{},Tt=Object.create(null);return(Et||Object.keys(wt).concat(Object.keys(Pt))).forEach(function Gt($t){if(wt[$t])return Tt[$t]=[];if(!($t in Tt)){Tt[$t]=null;var Nt=Pt[$t]&&Pt[$t].parent,Vt=Nt&&Gt(Nt);Vt&&(Tt[$t]=[Nt].concat(Vt))}return Tt[$t]}),Tt}(je);for(var pt in ut){var Dt=ut[pt];Dt&&(Ze(pt,g(je,pt,Dt)),qe.push(pt))}return qe}var y=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=function(je,Ze,qe,ut){ut===void 0&&(ut="");var pt=je.split(":");if(je.slice(0,1)==="@"){if(pt.length<2||pt.length>3)return null;ut=pt.shift().slice(1)}if(pt.length>3||!pt.length)return null;if(pt.length>1){var Dt=pt.pop(),xt=pt.pop(),Et={provider:pt.length>0?pt[0]:ut,prefix:xt,name:Dt};return Ze&&!b(Et)?null:Et}var wt=pt[0],Pt=wt.split("-");if(Pt.length>1){var Tt={provider:ut,prefix:Pt.shift(),name:Pt.join("-")};return Ze&&!b(Tt)?null:Tt}if(qe&&ut===""){var Gt={provider:ut,prefix:"",name:wt};return Ze&&!b(Gt,qe)?null:Gt}return null},b=function(je,Ze){return!!je&&!(je.provider!==""&&!je.provider.match(y)||!(Ze&&je.prefix===""||je.prefix.match(y))||!je.name.match(y))},_=Object.assign({},{provider:"",aliases:{},not_found:{}},r);function w(je,Ze){for(var qe in Ze)if(qe in je&&typeof je[qe]!=typeof Ze[qe])return!1;return!0}function S(je){if(typeof je!="object"||je===null)return null;var Ze=je;if(typeof Ze.prefix!="string"||!je.icons||typeof je.icons!="object"||!w(je,_))return null;var qe=Ze.icons;for(var ut in qe){var pt=qe[ut];if(!ut.match(y)||typeof pt.body!="string"||!w(pt,u))return null}var Dt=Ze.aliases||{};for(var xt in Dt){var Et=Dt[xt],wt=Et.parent;if(!xt.match(y)||typeof wt!="string"||!qe[wt]&&!Dt[wt]||!w(Et,u))return null}return Ze}var C=Object.create(null);function T(je,Ze){var qe=C[je]||(C[je]=Object.create(null));return qe[Ze]||(qe[Ze]=function(ut,pt){return{provider:ut,prefix:pt,icons:Object.create(null),missing:new Set}}(je,Ze))}function I(je,Ze){return S(Ze)?v(Ze,function(qe,ut){ut?je.icons[qe]=ut:je.missing.add(qe)}):[]}function E(je,Ze){var qe=[];return(typeof je=="string"?[je]:Object.keys(C)).forEach(function(ut){(typeof ut=="string"&&typeof Ze=="string"?[Ze]:Object.keys(C[ut]||{})).forEach(function(pt){var Dt=T(ut,pt);qe=qe.concat(Object.keys(Dt.icons).map(function(xt){return(ut!==""?"@"+ut+":":"")+pt+":"+xt}))})}),qe}var F=!1;function O(je){var Ze=typeof je=="string"?A(je,!0,F):je;if(Ze){var qe=T(Ze.provider,Ze.prefix),ut=Ze.name;return qe.icons[ut]||(qe.missing.has(ut)?null:void 0)}}function D(je,Ze){var qe=A(je,!0,F);return!!qe&&function(ut,pt,Dt){try{if(typeof Dt.body=="string")return ut.icons[pt]=Object.assign({},Dt),!0}catch(xt){}return!1}(T(qe.provider,qe.prefix),qe.name,Ze)}function x(je,Ze){if(typeof je!="object")return!1;typeof Ze!="string"&&(Ze=je.provider||"");var qe=je.prefix;return!!b({provider:Ze,prefix:qe,name:"a"})&&!!I(T(Ze,qe),je)}function P(je){return!!O(je)}function G(je){var Ze=O(je);return Ze?Object.assign({},a,Ze):null}var M=Object.freeze({width:null,height:null}),N=Object.freeze(Object.assign({},M,o)),V=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Y=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function H(je,Ze,qe){if(Ze===1)return je;if(qe=qe||100,typeof je=="number")return Math.ceil(je*Ze*qe)/qe;if(typeof je!="string")return je;var ut=je.split(V);if(ut===null||!ut.length)return je;for(var pt=[],Dt=ut.shift(),xt=Y.test(Dt);;){if(xt){var Et=parseFloat(Dt);isNaN(Et)?pt.push(Dt):pt.push(Math.ceil(Et*Ze*qe)/qe)}else pt.push(Dt);if((Dt=ut.shift())===void 0)return pt.join("");xt=!xt}}function B(je,Ze){var qe=Object.assign({},a,je),ut=Object.assign({},N,Ze),pt={left:qe.left,top:qe.top,width:qe.width,height:qe.height},Dt=qe.body;[qe,ut].forEach(function($t){var Nt,Vt=[],Ut=$t.hFlip,gn=$t.vFlip,pn=$t.rotate;switch(Ut?gn?pn+=2:(Vt.push("translate("+(pt.width+pt.left).toString()+" "+(0-pt.top).toString()+")"),Vt.push("scale(-1 1)"),pt.top=pt.left=0):gn&&(Vt.push("translate("+(0-pt.left).toString()+" "+(pt.height+pt.top).toString()+")"),Vt.push("scale(1 -1)"),pt.top=pt.left=0),pn<0&&(pn-=4*Math.floor(pn/4)),pn%=4){case 1:Nt=pt.height/2+pt.top,Vt.unshift("rotate(90 "+Nt.toString()+" "+Nt.toString()+")");break;case 2:Vt.unshift("rotate(180 "+(pt.width/2+pt.left).toString()+" "+(pt.height/2+pt.top).toString()+")");break;case 3:Nt=pt.width/2+pt.left,Vt.unshift("rotate(-90 "+Nt.toString()+" "+Nt.toString()+")")}pn%2==1&&(pt.left!==pt.top&&(Nt=pt.left,pt.left=pt.top,pt.top=Nt),pt.width!==pt.height&&(Nt=pt.width,pt.width=pt.height,pt.height=Nt)),Vt.length&&(Dt=''+Dt+"")});var xt,Et,wt=ut.width,Pt=ut.height,Tt=pt.width,Gt=pt.height;return wt===null?xt=H(Et=Pt===null?"1em":Pt==="auto"?Gt:Pt,Tt/Gt):(xt=wt==="auto"?Tt:wt,Et=Pt===null?H(xt,Gt/Tt):Pt==="auto"?Gt:Pt),{attributes:{width:xt.toString(),height:Et.toString(),viewBox:pt.left.toString()+" "+pt.top.toString()+" "+Tt.toString()+" "+Gt.toString()},body:Dt}}var z=/\sid="(\S+)"/g,U="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),Q=0;function X(je,Ze){Ze===void 0&&(Ze=U);for(var qe,ut=[];qe=z.exec(je);)ut.push(qe[1]);return ut.length&&ut.forEach(function(pt){var Dt=typeof Ze=="function"?Ze(pt):Ze+(Q++).toString(),xt=pt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");je=je.replace(new RegExp('([#;"])('+xt+')([")]|\\.[a-z])',"g"),"$1"+Dt+"$3")}),je}var J={local:!0,session:!0},ne={local:new Set,session:new Set},te=!1,ce="iconify2",se="iconify",ge="iconify-count",he="iconify-version",ye=36e5;function ee(je,Ze){try{return je.getItem(Ze)}catch(qe){}}function pe(je,Ze,qe){try{return je.setItem(Ze,qe),!0}catch(ut){}}function ae(je,Ze){try{je.removeItem(Ze)}catch(qe){}}function ve(je,Ze){return pe(je,ge,Ze.toString())}function we(je){return parseInt(ee(je,ge))||0}var _e=typeof window=="undefined"?{}:window;function Te(je){var Ze=je+"Storage";try{if(_e&&_e[Ze]&&typeof _e[Ze].length=="number")return _e[Ze]}catch(qe){}J[je]=!1}function Ce(je,Ze){var qe=Te(je);if(qe){var ut=ee(qe,he);if(ut!==ce){if(ut)for(var pt=we(qe),Dt=0;Dtxt&&typeof Nt.provider=="string"&&typeof Nt.data=="object"&&typeof Nt.data.prefix=="string"&&Ze(Nt,Tt))return!0}catch(Vt){}ae(qe,Gt)}},wt=we(qe),Pt=wt-1;Pt>=0;Pt--)Et(Pt)||(Pt===wt-1?(wt--,ve(qe,wt)):ne[je].add(Pt))}}function Ae(){if(!te)for(var je in te=!0,J)Ce(je,function(Ze){var qe=Ze.data,ut=T(Ze.provider,qe.prefix);if(!I(ut,qe).length)return!1;var pt=qe.lastModified||-1;return ut.lastModifiedCached=ut.lastModifiedCached?Math.min(ut.lastModifiedCached,pt):pt,!0})}function Ee(je,Ze){switch(je){case"local":case"session":J[je]=Ze;break;case"all":for(var qe in J)J[qe]=Ze}}var le=Object.create(null);function re(je,Ze){le[je]=Ze}function ue(je){return le[je]||le[""]}function be(je){var Ze;if(typeof je.resources=="string")Ze=[je.resources];else if(!((Ze=je.resources)instanceof Array&&Ze.length))return null;return{resources:Ze,path:je.path||"/",maxURL:je.maxURL||500,rotate:je.rotate||750,timeout:je.timeout||5e3,random:je.random===!0,index:je.index||0,dataAfterTimeout:je.dataAfterTimeout!==!1}}for(var ie=Object.create(null),oe=["https://api.simplesvg.com","https://api.unisvg.com"],me=[];oe.length>0;)oe.length===1||Math.random()>.5?me.push(oe.shift()):me.push(oe.pop());function Se(je,Ze){var qe=be(Ze);return qe!==null&&(ie[je]=qe,!0)}function xe(je){return ie[je]}ie[""]=be({resources:["https://api.iconify.design"].concat(me)});var De=function(){var je;try{if(typeof(je=fetch)=="function")return je}catch(Ze){}}(),Pe={prepare:function(je,Ze,qe){var ut=[],pt=function(wt,Pt){var Tt,Gt=xe(wt);if(!Gt)return 0;if(Gt.maxURL){var $t=0;Gt.resources.forEach(function(Vt){var Ut=Vt;$t=Math.max($t,Ut.length)});var Nt=Pt+".json?icons=";Tt=Gt.maxURL-$t-Gt.path.length-Nt.length}else Tt=0;return Tt}(je,Ze),Dt="icons",xt={type:Dt,provider:je,prefix:Ze,icons:[]},Et=0;return qe.forEach(function(wt,Pt){(Et+=wt.length+1)>=pt&&Pt>0&&(ut.push(xt),xt={type:Dt,provider:je,prefix:Ze,icons:[]},Et=wt.length),xt.icons.push(wt)}),ut.push(xt),ut},send:function(je,Ze,qe){if(De){var ut=function(wt){if(typeof wt=="string"){var Pt=xe(wt);if(Pt)return Pt.path}return"/"}(Ze.provider);switch(Ze.type){case"icons":var pt=Ze.prefix,Dt=Ze.icons.join(",");ut+=pt+".json?"+new URLSearchParams({icons:Dt}).toString();break;case"custom":var xt=Ze.uri;ut+=xt.slice(0,1)==="/"?xt.slice(1):xt;break;default:return void qe("abort",400)}var Et=503;De(je+ut).then(function(wt){var Pt=wt.status;if(Pt===200)return Et=501,wt.json();setTimeout(function(){qe(function(Tt){return Tt===404}(Pt)?"abort":"next",Pt)})}).then(function(wt){setTimeout(typeof wt=="object"&&wt!==null?function(){qe("success",wt)}:function(){qe("next",Et)})}).catch(function(){qe("next",Et)})}else qe("abort",424)}};function Be(je,Ze){je.forEach(function(qe){var ut=qe.loaderCallbacks;ut&&(qe.loaderCallbacks=ut.filter(function(pt){return pt.id!==Ze}))})}var ot=0,ct={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function _t(je,Ze,qe,ut){var pt,Dt=je.resources.length,xt=je.random?Math.floor(Math.random()*Dt):je.index;if(je.random){var Et=je.resources.slice(0);for(pt=[];Et.length>1;){var wt=Math.floor(Math.random()*Et.length);pt.push(Et[wt]),Et=Et.slice(0,wt).concat(Et.slice(wt+1))}pt=pt.concat(Et)}else pt=je.resources.slice(xt).concat(je.resources.slice(0,xt));var Pt,Tt=Date.now(),Gt="pending",$t=0,Nt=null,Vt=[],Ut=[];function gn(){Nt&&(clearTimeout(Nt),Nt=null)}function pn(){Gt==="pending"&&(Gt="aborted"),gn(),Vt.forEach(function(vn){vn.status==="pending"&&(vn.status="aborted")}),Vt=[]}function sn(vn,bn){bn&&(Ut=[]),typeof vn=="function"&&Ut.push(vn)}function yn(){Gt="failed",Ut.forEach(function(vn){vn(void 0,Pt)})}function Rn(){Vt.forEach(function(vn){vn.status==="pending"&&(vn.status="aborted")}),Vt=[]}function kn(){if(Gt==="pending"){gn();var vn=pt.shift();if(vn===void 0)return Vt.length?void(Nt=setTimeout(function(){gn(),Gt==="pending"&&(Rn(),yn())},je.timeout)):void yn();var bn={status:"pending",resource:vn,callback:function(ri,gi){(function(oi,tn,qn){var In=tn!=="success";switch(Vt=Vt.filter(function(si){return si!==oi}),Gt){case"pending":break;case"failed":if(In||!je.dataAfterTimeout)return;break;default:return}if(tn==="abort")return Pt=qn,void yn();if(In)return Pt=qn,void(Vt.length||(pt.length?kn():yn()));if(gn(),Rn(),!je.random){var Gn=je.resources.indexOf(oi.resource);Gn!==-1&&Gn!==je.index&&(je.index=Gn)}Gt="completed",Ut.forEach(function(si){si(qn)})})(bn,ri,gi)}};Vt.push(bn),$t++,Nt=setTimeout(kn,je.rotate),qe(vn,Ze,bn.callback)}}return typeof ut=="function"&&Ut.push(ut),setTimeout(kn),function(){return{startTime:Tt,payload:Ze,status:Gt,queriesSent:$t,queriesPending:Vt.length,subscribe:sn,abort:pn}}}function He(je){var Ze=Object.assign({},ct,je),qe=[];function ut(){qe=qe.filter(function(Dt){return Dt().status==="pending"})}var pt={query:function(Dt,xt,Et){var wt=_t(Ze,Dt,xt,function(Pt,Tt){ut(),Et&&Et(Pt,Tt)});return qe.push(wt),wt},find:function(Dt){return qe.find(function(xt){return Dt(xt)})||null},setIndex:function(Dt){Ze.index=Dt},getIndex:function(){return Ze.index},cleanup:ut};return pt}function Ve(){}var ke=Object.create(null);function Qe(je,Ze,qe){var ut,pt;if(typeof je=="string"){var Dt=ue(je);if(!Dt)return qe(void 0,424),Ve;pt=Dt.send;var xt=function(Pt){if(!ke[Pt]){var Tt=xe(Pt);if(!Tt)return;var Gt={config:Tt,redundancy:He(Tt)};ke[Pt]=Gt}return ke[Pt]}(je);xt&&(ut=xt.redundancy)}else{var Et=be(je);if(Et){ut=He(Et);var wt=ue(je.resources?je.resources[0]:"");wt&&(pt=wt.send)}}return ut&&pt?ut.query(Ze,pt,qe)().abort:(qe(void 0,424),Ve)}function yt(je,Ze){function qe(ut){var pt;if(J[ut]&&(pt=Te(ut))){var Dt,xt=ne[ut];if(xt.size)xt.delete(Dt=Array.from(xt).shift());else if(!ve(pt,(Dt=we(pt))+1))return;var Et={cached:Math.floor(Date.now()/ye),provider:je.provider,data:Ze};return pe(pt,se+Dt.toString(),JSON.stringify(Et))}}te||Ae(),Ze.lastModified&&!function(ut,pt){var Dt=ut.lastModifiedCached;if(Dt&&Dt>=pt)return Dt===pt;if(ut.lastModifiedCached=pt,Dt)for(var xt in J)Ce(xt,function(Et){var wt=Et.data;return Et.provider!==ut.provider||wt.prefix!==ut.prefix||wt.lastModified===pt});return!0}(je,Ze.lastModified)||Object.keys(Ze.icons).length&&(Ze.not_found&&delete(Ze=Object.assign({},Ze)).not_found,qe("local")||qe("session"))}function Ct(){}function Xe(je){je.iconsLoaderFlag||(je.iconsLoaderFlag=!0,setTimeout(function(){je.iconsLoaderFlag=!1,function(Ze){Ze.pendingCallbacksFlag||(Ze.pendingCallbacksFlag=!0,setTimeout(function(){Ze.pendingCallbacksFlag=!1;var qe=Ze.loaderCallbacks?Ze.loaderCallbacks.slice(0):[];if(qe.length){var ut=!1,pt=Ze.provider,Dt=Ze.prefix;qe.forEach(function(xt){var Et=xt.icons,wt=Et.pending.length;Et.pending=Et.pending.filter(function(Pt){if(Pt.prefix!==Dt)return!0;var Tt=Pt.name;if(Ze.icons[Tt])Et.loaded.push({provider:pt,prefix:Dt,name:Tt});else{if(!Ze.missing.has(Tt))return ut=!0,!0;Et.missing.push({provider:pt,prefix:Dt,name:Tt})}return!1}),Et.pending.length!==wt&&(ut||Be([Ze],xt.id),xt.callback(Et.loaded.slice(0),Et.missing.slice(0),Et.pending.slice(0),xt.abort))})}}))}(je)}))}var dt=function(je,Ze){var qe=function(Pt,Tt,Gt){Tt===void 0&&(Tt=!0),Gt===void 0&&(Gt=!1);var $t=[];return Pt.forEach(function(Nt){var Vt=typeof Nt=="string"?A(Nt,Tt,Gt):Nt;Vt&&$t.push(Vt)}),$t}(je,!0,F),ut=function(Pt){var Tt={loaded:[],missing:[],pending:[]},Gt=Object.create(null);Pt.sort(function(Nt,Vt){return Nt.provider!==Vt.provider?Nt.provider.localeCompare(Vt.provider):Nt.prefix!==Vt.prefix?Nt.prefix.localeCompare(Vt.prefix):Nt.name.localeCompare(Vt.name)});var $t={provider:"",prefix:"",name:""};return Pt.forEach(function(Nt){if($t.name!==Nt.name||$t.prefix!==Nt.prefix||$t.provider!==Nt.provider){$t=Nt;var Vt=Nt.provider,Ut=Nt.prefix,gn=Nt.name,pn=Gt[Vt]||(Gt[Vt]=Object.create(null)),sn=pn[Ut]||(pn[Ut]=T(Vt,Ut)),yn={provider:Vt,prefix:Ut,name:gn};(gn in sn.icons?Tt.loaded:Ut===""||sn.missing.has(gn)?Tt.missing:Tt.pending).push(yn)}}),Tt}(qe);if(!ut.pending.length){var pt=!0;return Ze&&setTimeout(function(){pt&&Ze(ut.loaded,ut.missing,ut.pending,Ct)}),function(){pt=!1}}var Dt,xt,Et=Object.create(null),wt=[];return ut.pending.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix;if(Gt!==xt||Tt!==Dt){Dt=Tt,xt=Gt,wt.push(T(Tt,Gt));var $t=Et[Tt]||(Et[Tt]=Object.create(null));$t[Gt]||($t[Gt]=[])}}),ut.pending.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix,$t=Pt.name,Nt=T(Tt,Gt),Vt=Nt.pendingIcons||(Nt.pendingIcons=new Set);Vt.has($t)||(Vt.add($t),Et[Tt][Gt].push($t))}),wt.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix;Et[Tt][Gt].length&&function($t,Nt){$t.iconsToLoad?$t.iconsToLoad=$t.iconsToLoad.concat(Nt).sort():$t.iconsToLoad=Nt,$t.iconsQueueFlag||($t.iconsQueueFlag=!0,setTimeout(function(){$t.iconsQueueFlag=!1;var Vt,Ut=$t.provider,gn=$t.prefix,pn=$t.iconsToLoad;delete $t.iconsToLoad,pn&&(Vt=ue(Ut))&&Vt.prepare(Ut,gn,pn).forEach(function(sn){Qe(Ut,sn,function(yn,Rn){if(typeof yn!="object"){if(Rn!==404)return;sn.icons.forEach(function(bn){$t.missing.add(bn)})}else try{var kn=I($t,yn);if(!kn.length)return;var vn=$t.pendingIcons;vn&&kn.forEach(function(bn){vn.delete(bn)}),yt($t,yn)}catch(bn){console.error(bn)}Xe($t)})})}))}(Pt,Et[Tt][Gt])}),Ze?function(Pt,Tt,Gt){var $t=ot++,Nt=Be.bind(null,Gt,$t);if(!Tt.pending.length)return Nt;var Vt={id:$t,icons:Tt,callback:Pt,abort:Nt};return Gt.forEach(function(Ut){(Ut.loaderCallbacks||(Ut.loaderCallbacks=[])).push(Vt)}),Nt}(Ze,ut,wt):Ct},Re=function(je){return new Promise(function(Ze,qe){var ut=typeof je=="string"?A(je):je;dt([ut||je],function(pt){if(pt.length&&ut){var Dt=O(ut);if(Dt)return void Ze(Object.assign({},a,Dt))}qe(je)})})};function Ye(je,Ze){var qe=Object.assign({},je);for(var ut in Ze){var pt=Ze[ut],Dt=typeof pt;ut in M?(pt===null||pt&&(Dt==="string"||Dt==="number"))&&(qe[ut]=pt):Dt===typeof qe[ut]&&(qe[ut]=ut==="rotate"?pt%4:pt)}return qe}var at=Object.assign({},N,{inline:!1}),mt="iconify-inline",St="iconifyData"+Date.now(),Rt=[];function Oe(je){for(var Ze=0;Ze0||pt.type==="attributes"&&pt.target[St]!==void 0)return void(qe.paused||bt(je))}}}function Fe(je,Ze){je.observer.instance.observe(Ze,At)}function it(je){var Ze=je.observer;if(!Ze||!Ze.instance){var qe=typeof je.node=="function"?je.node():je.node;qe&&window&&(Ze||(Ze={paused:0},je.observer=Ze),Ze.instance=new window.MutationObserver(Le.bind(null,je)),Fe(je,qe),Ze.paused||bt(je))}}function It(){Je().forEach(it)}function Ne(je){if(je.observer){var Ze=je.observer;Ze.pendingScan&&(clearTimeout(Ze.pendingScan),delete Ze.pendingScan),Ze.instance&&(Ze.instance.disconnect(),delete Ze.instance)}}function Ge(je){var Ze=st!==null;st!==je&&(st=je,Ze&&Je().forEach(Ne)),Ze?It():function(qe){var ut=document;ut.readyState&&ut.readyState!=="loading"?qe():ut.addEventListener("DOMContentLoaded",qe)}(It)}function ze(je){(je?[je]:Je()).forEach(function(Ze){if(Ze.observer){var qe=Ze.observer;qe.paused++,!(qe.paused>1)&&qe.instance&&qe.instance.disconnect()}else Ze.observer={paused:1}})}function et(je){if(je){var Ze=Oe(je);Ze&&ze(Ze)}else ze()}function nt(je){(je?[je]:Je()).forEach(function(Ze){if(Ze.observer){var qe=Ze.observer;if(qe.paused&&(qe.paused--,!qe.paused)){var ut=typeof Ze.node=="function"?Ze.node():Ze.node;if(!ut)return;qe.instance?Fe(Ze,ut):it(Ze)}}else it(Ze)})}function Bt(je){if(je){var Ze=Oe(je);Ze&&nt(Ze)}else nt()}function Wt(je,Ze){Ze===void 0&&(Ze=!1);var qe=We(je,Ze);return it(qe),qe}function jt(je){var Ze=Oe(je);Ze&&(Ne(Ze),function(qe){Rt=Rt.filter(function(ut){return qe!==ut&&qe!==(typeof ut.node=="function"?ut.node():ut.node)})}(je))}var qt=/[\s,]+/,dn=["width","height"],Qt=["inline","hFlip","vFlip"];function an(je){var Ze=je.getAttribute("data-icon"),qe=typeof Ze=="string"&&A(Ze,!0);if(!qe)return null;var ut=Object.assign({},at,{inline:je.classList&&je.classList.contains(mt)});dn.forEach(function(Et){var wt=je.getAttribute("data-"+Et);wt&&(ut[Et]=wt)});var pt=je.getAttribute("data-rotate");typeof pt=="string"&&(ut.rotate=function(Et,wt){wt===void 0&&(wt=0);var Pt=Et.replace(/^-?[0-9.]*/,"");function Tt(Vt){for(;Vt<0;)Vt+=4;return Vt%4}if(Pt===""){var Gt=parseInt(Et);return isNaN(Gt)?0:Tt(Gt)}if(Pt!==Et){var $t=0;switch(Pt){case"%":$t=25;break;case"deg":$t=90}if($t){var Nt=parseFloat(Et.slice(0,Et.length-Pt.length));return isNaN(Nt)?0:(Nt/=$t)%1==0?Tt(Nt):0}}return wt}(pt));var Dt=je.getAttribute("data-flip");typeof Dt=="string"&&function(Et,wt){wt.split(qt).forEach(function(Pt){switch(Pt.trim()){case"horizontal":Et.hFlip=!0;break;case"vertical":Et.vFlip=!0}})}(ut,Dt),Qt.forEach(function(Et){var wt="data-"+Et,Pt=function(Tt,Gt){return Tt===Gt||Tt==="true"||Tt!==""&&Tt!=="false"&&null}(je.getAttribute(wt),wt);typeof Pt=="boolean"&&(ut[Et]=Pt)});var xt=je.getAttribute("data-mode");return{name:Ze,icon:qe,customisations:ut,mode:xt}}function ln(je,Ze){var qe=je.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(var ut in Ze)qe+=" "+ut+'="'+Ze[ut]+'"';return'"+je+""}function Ht(je){var Ze=new Set(["iconify"]);return["provider","prefix"].forEach(function(qe){je[qe]&&Ze.add("iconify--"+je[qe])}),Ze}function Ue(je,Ze,qe,ut){var pt=je.classList;if(ut){var Dt=ut.classList;Array.from(Dt).forEach(function(Et){pt.add(Et)})}var xt=[];return Ze.forEach(function(Et){pt.contains(Et)?qe.has(Et)&&xt.push(Et):(pt.add(Et),xt.push(Et))}),qe.forEach(function(Et){Ze.has(Et)||pt.remove(Et)}),xt}function kt(je,Ze,qe){var ut=je.style;(qe||[]).forEach(function(xt){ut.removeProperty(xt)});var pt=[];for(var Dt in Ze)ut.getPropertyValue(Dt)||(pt.push(Dt),ut.setProperty(Dt,Ze[Dt]));return pt}function Ot(je,Ze,qe){var ut;try{ut=document.createElement("span")}catch(gn){return je}var pt=Ze.customisations,Dt=B(qe,pt),xt=je[St],Et=ln(X(Dt.body),Object.assign({},{"aria-hidden":"true",role:"img"},Dt.attributes));ut.innerHTML=Et;for(var wt=ut.childNodes[0],Pt=je.attributes,Tt=0;Tt/g,"%3E").replace(/\s+/g," ")+'")'),tn=Object.assign({},{"--svg":oi,width:wn(vn.width),height:wn(vn.height)},Ft,yn?Jt:Xt),qn;Rn.inline&&(tn["vertical-align"]="-0.125em");var In=kt(gn,tn,bn&&bn.addedStyles),Gn=Object.assign({},pn,{status:"loaded",addedClasses:gi,addedStyles:In});gn[St]=Gn}(Gt,$t,Object.assign({},a,Nt),Ut)}Ot(Gt,$t,Nt)}});var pt=function(xt){var Et=qe[xt],wt=function(Tt){var Gt=Et[Tt];dt(Array.from(Gt).map(function($t){return{provider:xt,prefix:Tt,name:$t}}),un)};for(var Pt in Et)wt(Pt)};for(var Dt in qe)pt(Dt)}function xn(je,Ze,qe){qe===void 0&&(qe=!1);var ut=O(je);if(!ut)return null;var pt=A(je),Dt=Ye(at,Ze||{}),xt=Ot(document.createElement("span"),{name:je,icon:pt,customisations:Dt},ut);return qe?xt.outerHTML:xt}function On(){return"3.0.0"}function Vn(je,Ze){return xn(je,Ze,!1)}function Yt(je,Ze){return xn(je,Ze,!0)}function hn(je,Ze){var qe=O(je);return qe?B(qe,Ye(at,Ze||{})):null}function Ln(je){je?function(Ze){var qe=Oe(Ze);qe?Mn(qe):Mn({node:Ze,temporary:!0},!0)}(je):Mn()}if(typeof document!="undefined"&&typeof window!="undefined"){(function(){if(document.documentElement)return We(document.documentElement);Rt.push({node:function(){return document.documentElement}})})();var ni=window;if(ni.IconifyPreload!==void 0){var Sn=ni.IconifyPreload,_i="Invalid IconifyPreload syntax.";typeof Sn=="object"&&Sn!==null&&(Sn instanceof Array?Sn:[Sn]).forEach(function(je){try{(typeof je!="object"||je===null||je instanceof Array||typeof je.icons!="object"||typeof je.prefix!="string"||!x(je))&&console.error(_i)}catch(Ze){console.error(_i)}})}setTimeout(function(){Ge(Mn),Mn()})}function ii(je,Ze){Ee(je,Ze!==!1)}function jn(je){Ee(je,!0)}if(re("",Pe),typeof document!="undefined"&&typeof window!="undefined"){Ae();var An=window;if(An.IconifyProviders!==void 0){var $n=An.IconifyProviders;if(typeof $n=="object"&&$n!==null)for(var Hn in $n){var Jn="IconifyProviders["+Hn+"] is invalid.";try{var Xn=$n[Hn];if(typeof Xn!="object"||!Xn||Xn.resources===void 0)continue;Se(Hn,Xn)||console.error(Jn)}catch(je){console.error(Jn)}}}}var Kn={getAPIConfig:xe,setAPIModule:re,sendAPIQuery:Qe,setFetch:function(je){De=je},getFetch:function(){return De},listAPIProviders:function(){return Object.keys(ie)}},pi={_api:Kn,addAPIProvider:Se,loadIcons:dt,loadIcon:Re,iconExists:P,getIcon:G,listIcons:E,addIcon:D,addCollection:x,replaceIDs:X,calculateSize:H,buildIcon:B,getVersion:On,renderSVG:Vn,renderHTML:Yt,renderIcon:hn,scan:Ln,observe:Wt,stopObserving:jt,pauseObserver:et,resumeObserver:Bt,enableCache:ii,disableCache:jn};return t._api=Kn,t.addAPIProvider=Se,t.addCollection=x,t.addIcon=D,t.buildIcon=B,t.calculateSize=H,t.default=pi,t.disableCache=jn,t.enableCache=ii,t.getIcon=G,t.getVersion=On,t.iconExists=P,t.listIcons=E,t.loadIcon=Re,t.loadIcons=dt,t.observe=Wt,t.pauseObserver=et,t.renderHTML=Yt,t.renderIcon=hn,t.renderSVG=Vn,t.replaceIDs=X,t.resumeObserver=Bt,t.scan=Ln,t.stopObserving=jt,Object.defineProperty(t,"__esModule",{value:!0}),t}({});if(typeof exports=="object")try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(t){}try{self.Iconify===void 0&&(self.Iconify=Iconify)}catch(t){}const ls=window.localStorage;class Cache$1{static get getMaxStorage(){return 51e5-1}static get getNamespace(){return Cache$1._ns||""}static setNamespace(r){return Cache$1._ns=r,Cache$1}static clear(){return ls.clear(),Cache$1}static remove(r){return Cache$1._cache&&Cache$1._cache[Cache$1.getNamespace+r]&&delete Cache$1._cache[Cache$1.getNamespace+r],ls.removeItem(Cache$1.getNamespace+r),Cache$1}static get(r,o=null,a={}){typeof a=="string"&&(a={ns:a}),a.ns=a.ns!==void 0?a.ns:Cache$1.getNamespace;let u=Cache$1._cache&&Cache$1._cache[a.ns+r];return u==null&&(u=JSON.parse(ls.getItem(a.ns+r))),u!=null?u:o}static merge(r,o,a={}){const u=Cache$1.get(r,null,a);return Array.isArray(o)?Cache$1.set(r,[...u,...o],a):typeof o=="object"?Cache$1.set(r,{...u,...o},a):(console.error("Cache","Value to merge neither Array nor Object!"),Cache$1)}static set(r,o,a={}){if(typeof a=="string"?a={ns:a}:typeof a=="boolean"&&(a={persist:a}),a.ns=a.ns!==void 0?a.ns:Cache$1.getNamespace,a.persist=a.persist!==void 0?a.persist:!0,r===void 0||o===void 0)return!1;if(typeof r=="object"&&(a.persist=o!==void 0?o:a.persist,Object.keys(r).forEach(u=>Cache$1.set(u,r[u],a))),Cache$1._cache=Cache$1._cache||{},Cache$1._cache[a.ns+r]=o,a.persist)try{const u=JSON.stringify(o);ls.setItem(a.ns+r,u)}catch(u){}return Cache$1}}const SslSkip=registerPlugin("SslSkip",{});var REGEX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function validate(t){return typeof t=="string"&®EX.test(t)}function parse$q(t){if(!validate(t))throw TypeError("Invalid UUID");var r,o=new Uint8Array(16);return o[0]=(r=parseInt(t.slice(0,8),16))>>>24,o[1]=r>>>16&255,o[2]=r>>>8&255,o[3]=r&255,o[4]=(r=parseInt(t.slice(9,13),16))>>>8,o[5]=r&255,o[6]=(r=parseInt(t.slice(14,18),16))>>>8,o[7]=r&255,o[8]=(r=parseInt(t.slice(19,23),16))>>>8,o[9]=r&255,o[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,o[11]=r/4294967296&255,o[12]=r>>>24&255,o[13]=r>>>16&255,o[14]=r>>>8&255,o[15]=r&255,o}var byteToHex=[];for(var i$2=0;i$2<256;++i$2)byteToHex.push((i$2+256).toString(16).slice(1));function unsafeStringify(t,r=0){return(byteToHex[t[r+0]]+byteToHex[t[r+1]]+byteToHex[t[r+2]]+byteToHex[t[r+3]]+"-"+byteToHex[t[r+4]]+byteToHex[t[r+5]]+"-"+byteToHex[t[r+6]]+byteToHex[t[r+7]]+"-"+byteToHex[t[r+8]]+byteToHex[t[r+9]]+"-"+byteToHex[t[r+10]]+byteToHex[t[r+11]]+byteToHex[t[r+12]]+byteToHex[t[r+13]]+byteToHex[t[r+14]]+byteToHex[t[r+15]]).toLowerCase()}var getRandomValues,rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}function stringToBytes(t){t=unescape(encodeURIComponent(t));for(var r=[],o=0;o>>32-r}function sha1$1(t){var r=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var a=unescape(encodeURIComponent(t));t=[];for(var u=0;u>>0;O=F,F=E,E=ROTL(I,30)>>>0,I=T,T=P}o[0]=o[0]+T>>>0,o[1]=o[1]+I>>>0,o[2]=o[2]+E>>>0,o[3]=o[3]+F>>>0,o[4]=o[4]+O>>>0}return[o[0]>>24&255,o[0]>>16&255,o[0]>>8&255,o[0]&255,o[1]>>24&255,o[1]>>16&255,o[1]>>8&255,o[1]&255,o[2]>>24&255,o[2]>>16&255,o[2]>>8&255,o[2]&255,o[3]>>24&255,o[3]>>16&255,o[3]>>8&255,o[3]&255,o[4]>>24&255,o[4]>>16&255,o[4]>>8&255,o[4]&255]}var v5=v35("v5",80,sha1$1),uuidv5=v5,isVue2=!1;/*! +*/var Iconify=function(t){var r=Object.freeze({left:0,top:0,width:16,height:16}),o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze(Object.assign({},r,o)),u=Object.freeze(Object.assign({},a,{body:"",hidden:!1}));function d(je,Ze){var qe=function(pt,Dt){var xt={};!pt.hFlip!=!Dt.hFlip&&(xt.hFlip=!0),!pt.vFlip!=!Dt.vFlip&&(xt.vFlip=!0);var Et=((pt.rotate||0)+(Dt.rotate||0))%4;return Et&&(xt.rotate=Et),xt}(je,Ze);for(var ut in u)ut in o?ut in je&&!(ut in qe)&&(qe[ut]=o[ut]):ut in Ze?qe[ut]=Ze[ut]:ut in je&&(qe[ut]=je[ut]);return qe}function g(je,Ze,qe){var ut=je.icons,pt=je.aliases||{},Dt={};function xt(Et){Dt=d(ut[Et]||pt[Et],Dt)}return xt(Ze),qe.forEach(xt),d(je,Dt)}function v(je,Ze){var qe=[];if(typeof je!="object"||typeof je.icons!="object")return qe;je.not_found instanceof Array&&je.not_found.forEach(function(xt){Ze(xt,null),qe.push(xt)});var ut=function(xt,Et){var wt=xt.icons,Pt=xt.aliases||{},Tt=Object.create(null);return(Et||Object.keys(wt).concat(Object.keys(Pt))).forEach(function Gt($t){if(wt[$t])return Tt[$t]=[];if(!($t in Tt)){Tt[$t]=null;var Nt=Pt[$t]&&Pt[$t].parent,Vt=Nt&&Gt(Nt);Vt&&(Tt[$t]=[Nt].concat(Vt))}return Tt[$t]}),Tt}(je);for(var pt in ut){var Dt=ut[pt];Dt&&(Ze(pt,g(je,pt,Dt)),qe.push(pt))}return qe}var y=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=function(je,Ze,qe,ut){ut===void 0&&(ut="");var pt=je.split(":");if(je.slice(0,1)==="@"){if(pt.length<2||pt.length>3)return null;ut=pt.shift().slice(1)}if(pt.length>3||!pt.length)return null;if(pt.length>1){var Dt=pt.pop(),xt=pt.pop(),Et={provider:pt.length>0?pt[0]:ut,prefix:xt,name:Dt};return Ze&&!b(Et)?null:Et}var wt=pt[0],Pt=wt.split("-");if(Pt.length>1){var Tt={provider:ut,prefix:Pt.shift(),name:Pt.join("-")};return Ze&&!b(Tt)?null:Tt}if(qe&&ut===""){var Gt={provider:ut,prefix:"",name:wt};return Ze&&!b(Gt,qe)?null:Gt}return null},b=function(je,Ze){return!!je&&!(je.provider!==""&&!je.provider.match(y)||!(Ze&&je.prefix===""||je.prefix.match(y))||!je.name.match(y))},_=Object.assign({},{provider:"",aliases:{},not_found:{}},r);function w(je,Ze){for(var qe in Ze)if(qe in je&&typeof je[qe]!=typeof Ze[qe])return!1;return!0}function S(je){if(typeof je!="object"||je===null)return null;var Ze=je;if(typeof Ze.prefix!="string"||!je.icons||typeof je.icons!="object"||!w(je,_))return null;var qe=Ze.icons;for(var ut in qe){var pt=qe[ut];if(!ut.match(y)||typeof pt.body!="string"||!w(pt,u))return null}var Dt=Ze.aliases||{};for(var xt in Dt){var Et=Dt[xt],wt=Et.parent;if(!xt.match(y)||typeof wt!="string"||!qe[wt]&&!Dt[wt]||!w(Et,u))return null}return Ze}var C=Object.create(null);function T(je,Ze){var qe=C[je]||(C[je]=Object.create(null));return qe[Ze]||(qe[Ze]=function(ut,pt){return{provider:ut,prefix:pt,icons:Object.create(null),missing:new Set}}(je,Ze))}function I(je,Ze){return S(Ze)?v(Ze,function(qe,ut){ut?je.icons[qe]=ut:je.missing.add(qe)}):[]}function E(je,Ze){var qe=[];return(typeof je=="string"?[je]:Object.keys(C)).forEach(function(ut){(typeof ut=="string"&&typeof Ze=="string"?[Ze]:Object.keys(C[ut]||{})).forEach(function(pt){var Dt=T(ut,pt);qe=qe.concat(Object.keys(Dt.icons).map(function(xt){return(ut!==""?"@"+ut+":":"")+pt+":"+xt}))})}),qe}var F=!1;function O(je){var Ze=typeof je=="string"?A(je,!0,F):je;if(Ze){var qe=T(Ze.provider,Ze.prefix),ut=Ze.name;return qe.icons[ut]||(qe.missing.has(ut)?null:void 0)}}function D(je,Ze){var qe=A(je,!0,F);return!!qe&&function(ut,pt,Dt){try{if(typeof Dt.body=="string")return ut.icons[pt]=Object.assign({},Dt),!0}catch(xt){}return!1}(T(qe.provider,qe.prefix),qe.name,Ze)}function x(je,Ze){if(typeof je!="object")return!1;typeof Ze!="string"&&(Ze=je.provider||"");var qe=je.prefix;return!!b({provider:Ze,prefix:qe,name:"a"})&&!!I(T(Ze,qe),je)}function P(je){return!!O(je)}function G(je){var Ze=O(je);return Ze?Object.assign({},a,Ze):null}var M=Object.freeze({width:null,height:null}),N=Object.freeze(Object.assign({},M,o)),V=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Z=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function H(je,Ze,qe){if(Ze===1)return je;if(qe=qe||100,typeof je=="number")return Math.ceil(je*Ze*qe)/qe;if(typeof je!="string")return je;var ut=je.split(V);if(ut===null||!ut.length)return je;for(var pt=[],Dt=ut.shift(),xt=Z.test(Dt);;){if(xt){var Et=parseFloat(Dt);isNaN(Et)?pt.push(Dt):pt.push(Math.ceil(Et*Ze*qe)/qe)}else pt.push(Dt);if((Dt=ut.shift())===void 0)return pt.join("");xt=!xt}}function B(je,Ze){var qe=Object.assign({},a,je),ut=Object.assign({},N,Ze),pt={left:qe.left,top:qe.top,width:qe.width,height:qe.height},Dt=qe.body;[qe,ut].forEach(function($t){var Nt,Vt=[],Ut=$t.hFlip,gn=$t.vFlip,pn=$t.rotate;switch(Ut?gn?pn+=2:(Vt.push("translate("+(pt.width+pt.left).toString()+" "+(0-pt.top).toString()+")"),Vt.push("scale(-1 1)"),pt.top=pt.left=0):gn&&(Vt.push("translate("+(0-pt.left).toString()+" "+(pt.height+pt.top).toString()+")"),Vt.push("scale(1 -1)"),pt.top=pt.left=0),pn<0&&(pn-=4*Math.floor(pn/4)),pn%=4){case 1:Nt=pt.height/2+pt.top,Vt.unshift("rotate(90 "+Nt.toString()+" "+Nt.toString()+")");break;case 2:Vt.unshift("rotate(180 "+(pt.width/2+pt.left).toString()+" "+(pt.height/2+pt.top).toString()+")");break;case 3:Nt=pt.width/2+pt.left,Vt.unshift("rotate(-90 "+Nt.toString()+" "+Nt.toString()+")")}pn%2==1&&(pt.left!==pt.top&&(Nt=pt.left,pt.left=pt.top,pt.top=Nt),pt.width!==pt.height&&(Nt=pt.width,pt.width=pt.height,pt.height=Nt)),Vt.length&&(Dt=''+Dt+"")});var xt,Et,wt=ut.width,Pt=ut.height,Tt=pt.width,Gt=pt.height;return wt===null?xt=H(Et=Pt===null?"1em":Pt==="auto"?Gt:Pt,Tt/Gt):(xt=wt==="auto"?Tt:wt,Et=Pt===null?H(xt,Gt/Tt):Pt==="auto"?Gt:Pt),{attributes:{width:xt.toString(),height:Et.toString(),viewBox:pt.left.toString()+" "+pt.top.toString()+" "+Tt.toString()+" "+Gt.toString()},body:Dt}}var z=/\sid="(\S+)"/g,U="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),Q=0;function X(je,Ze){Ze===void 0&&(Ze=U);for(var qe,ut=[];qe=z.exec(je);)ut.push(qe[1]);return ut.length&&ut.forEach(function(pt){var Dt=typeof Ze=="function"?Ze(pt):Ze+(Q++).toString(),xt=pt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");je=je.replace(new RegExp('([#;"])('+xt+')([")]|\\.[a-z])',"g"),"$1"+Dt+"$3")}),je}var J={local:!0,session:!0},ne={local:new Set,session:new Set},te=!1,ce="iconify2",se="iconify",ge="iconify-count",he="iconify-version",ye=36e5;function ee(je,Ze){try{return je.getItem(Ze)}catch(qe){}}function pe(je,Ze,qe){try{return je.setItem(Ze,qe),!0}catch(ut){}}function ae(je,Ze){try{je.removeItem(Ze)}catch(qe){}}function ve(je,Ze){return pe(je,ge,Ze.toString())}function we(je){return parseInt(ee(je,ge))||0}var _e=typeof window=="undefined"?{}:window;function Te(je){var Ze=je+"Storage";try{if(_e&&_e[Ze]&&typeof _e[Ze].length=="number")return _e[Ze]}catch(qe){}J[je]=!1}function Ce(je,Ze){var qe=Te(je);if(qe){var ut=ee(qe,he);if(ut!==ce){if(ut)for(var pt=we(qe),Dt=0;Dtxt&&typeof Nt.provider=="string"&&typeof Nt.data=="object"&&typeof Nt.data.prefix=="string"&&Ze(Nt,Tt))return!0}catch(Vt){}ae(qe,Gt)}},wt=we(qe),Pt=wt-1;Pt>=0;Pt--)Et(Pt)||(Pt===wt-1?(wt--,ve(qe,wt)):ne[je].add(Pt))}}function Ae(){if(!te)for(var je in te=!0,J)Ce(je,function(Ze){var qe=Ze.data,ut=T(Ze.provider,qe.prefix);if(!I(ut,qe).length)return!1;var pt=qe.lastModified||-1;return ut.lastModifiedCached=ut.lastModifiedCached?Math.min(ut.lastModifiedCached,pt):pt,!0})}function Ee(je,Ze){switch(je){case"local":case"session":J[je]=Ze;break;case"all":for(var qe in J)J[qe]=Ze}}var le=Object.create(null);function re(je,Ze){le[je]=Ze}function ue(je){return le[je]||le[""]}function be(je){var Ze;if(typeof je.resources=="string")Ze=[je.resources];else if(!((Ze=je.resources)instanceof Array&&Ze.length))return null;return{resources:Ze,path:je.path||"/",maxURL:je.maxURL||500,rotate:je.rotate||750,timeout:je.timeout||5e3,random:je.random===!0,index:je.index||0,dataAfterTimeout:je.dataAfterTimeout!==!1}}for(var ie=Object.create(null),oe=["https://api.simplesvg.com","https://api.unisvg.com"],me=[];oe.length>0;)oe.length===1||Math.random()>.5?me.push(oe.shift()):me.push(oe.pop());function Se(je,Ze){var qe=be(Ze);return qe!==null&&(ie[je]=qe,!0)}function xe(je){return ie[je]}ie[""]=be({resources:["https://api.iconify.design"].concat(me)});var De=function(){var je;try{if(typeof(je=fetch)=="function")return je}catch(Ze){}}(),Pe={prepare:function(je,Ze,qe){var ut=[],pt=function(wt,Pt){var Tt,Gt=xe(wt);if(!Gt)return 0;if(Gt.maxURL){var $t=0;Gt.resources.forEach(function(Vt){var Ut=Vt;$t=Math.max($t,Ut.length)});var Nt=Pt+".json?icons=";Tt=Gt.maxURL-$t-Gt.path.length-Nt.length}else Tt=0;return Tt}(je,Ze),Dt="icons",xt={type:Dt,provider:je,prefix:Ze,icons:[]},Et=0;return qe.forEach(function(wt,Pt){(Et+=wt.length+1)>=pt&&Pt>0&&(ut.push(xt),xt={type:Dt,provider:je,prefix:Ze,icons:[]},Et=wt.length),xt.icons.push(wt)}),ut.push(xt),ut},send:function(je,Ze,qe){if(De){var ut=function(wt){if(typeof wt=="string"){var Pt=xe(wt);if(Pt)return Pt.path}return"/"}(Ze.provider);switch(Ze.type){case"icons":var pt=Ze.prefix,Dt=Ze.icons.join(",");ut+=pt+".json?"+new URLSearchParams({icons:Dt}).toString();break;case"custom":var xt=Ze.uri;ut+=xt.slice(0,1)==="/"?xt.slice(1):xt;break;default:return void qe("abort",400)}var Et=503;De(je+ut).then(function(wt){var Pt=wt.status;if(Pt===200)return Et=501,wt.json();setTimeout(function(){qe(function(Tt){return Tt===404}(Pt)?"abort":"next",Pt)})}).then(function(wt){setTimeout(typeof wt=="object"&&wt!==null?function(){qe("success",wt)}:function(){qe("next",Et)})}).catch(function(){qe("next",Et)})}else qe("abort",424)}};function Be(je,Ze){je.forEach(function(qe){var ut=qe.loaderCallbacks;ut&&(qe.loaderCallbacks=ut.filter(function(pt){return pt.id!==Ze}))})}var ot=0,ct={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function _t(je,Ze,qe,ut){var pt,Dt=je.resources.length,xt=je.random?Math.floor(Math.random()*Dt):je.index;if(je.random){var Et=je.resources.slice(0);for(pt=[];Et.length>1;){var wt=Math.floor(Math.random()*Et.length);pt.push(Et[wt]),Et=Et.slice(0,wt).concat(Et.slice(wt+1))}pt=pt.concat(Et)}else pt=je.resources.slice(xt).concat(je.resources.slice(0,xt));var Pt,Tt=Date.now(),Gt="pending",$t=0,Nt=null,Vt=[],Ut=[];function gn(){Nt&&(clearTimeout(Nt),Nt=null)}function pn(){Gt==="pending"&&(Gt="aborted"),gn(),Vt.forEach(function(vn){vn.status==="pending"&&(vn.status="aborted")}),Vt=[]}function sn(vn,bn){bn&&(Ut=[]),typeof vn=="function"&&Ut.push(vn)}function yn(){Gt="failed",Ut.forEach(function(vn){vn(void 0,Pt)})}function Rn(){Vt.forEach(function(vn){vn.status==="pending"&&(vn.status="aborted")}),Vt=[]}function kn(){if(Gt==="pending"){gn();var vn=pt.shift();if(vn===void 0)return Vt.length?void(Nt=setTimeout(function(){gn(),Gt==="pending"&&(Rn(),yn())},je.timeout)):void yn();var bn={status:"pending",resource:vn,callback:function(ri,gi){(function(oi,tn,qn){var In=tn!=="success";switch(Vt=Vt.filter(function(si){return si!==oi}),Gt){case"pending":break;case"failed":if(In||!je.dataAfterTimeout)return;break;default:return}if(tn==="abort")return Pt=qn,void yn();if(In)return Pt=qn,void(Vt.length||(pt.length?kn():yn()));if(gn(),Rn(),!je.random){var Gn=je.resources.indexOf(oi.resource);Gn!==-1&&Gn!==je.index&&(je.index=Gn)}Gt="completed",Ut.forEach(function(si){si(qn)})})(bn,ri,gi)}};Vt.push(bn),$t++,Nt=setTimeout(kn,je.rotate),qe(vn,Ze,bn.callback)}}return typeof ut=="function"&&Ut.push(ut),setTimeout(kn),function(){return{startTime:Tt,payload:Ze,status:Gt,queriesSent:$t,queriesPending:Vt.length,subscribe:sn,abort:pn}}}function He(je){var Ze=Object.assign({},ct,je),qe=[];function ut(){qe=qe.filter(function(Dt){return Dt().status==="pending"})}var pt={query:function(Dt,xt,Et){var wt=_t(Ze,Dt,xt,function(Pt,Tt){ut(),Et&&Et(Pt,Tt)});return qe.push(wt),wt},find:function(Dt){return qe.find(function(xt){return Dt(xt)})||null},setIndex:function(Dt){Ze.index=Dt},getIndex:function(){return Ze.index},cleanup:ut};return pt}function Ve(){}var ke=Object.create(null);function Qe(je,Ze,qe){var ut,pt;if(typeof je=="string"){var Dt=ue(je);if(!Dt)return qe(void 0,424),Ve;pt=Dt.send;var xt=function(Pt){if(!ke[Pt]){var Tt=xe(Pt);if(!Tt)return;var Gt={config:Tt,redundancy:He(Tt)};ke[Pt]=Gt}return ke[Pt]}(je);xt&&(ut=xt.redundancy)}else{var Et=be(je);if(Et){ut=He(Et);var wt=ue(je.resources?je.resources[0]:"");wt&&(pt=wt.send)}}return ut&&pt?ut.query(Ze,pt,qe)().abort:(qe(void 0,424),Ve)}function yt(je,Ze){function qe(ut){var pt;if(J[ut]&&(pt=Te(ut))){var Dt,xt=ne[ut];if(xt.size)xt.delete(Dt=Array.from(xt).shift());else if(!ve(pt,(Dt=we(pt))+1))return;var Et={cached:Math.floor(Date.now()/ye),provider:je.provider,data:Ze};return pe(pt,se+Dt.toString(),JSON.stringify(Et))}}te||Ae(),Ze.lastModified&&!function(ut,pt){var Dt=ut.lastModifiedCached;if(Dt&&Dt>=pt)return Dt===pt;if(ut.lastModifiedCached=pt,Dt)for(var xt in J)Ce(xt,function(Et){var wt=Et.data;return Et.provider!==ut.provider||wt.prefix!==ut.prefix||wt.lastModified===pt});return!0}(je,Ze.lastModified)||Object.keys(Ze.icons).length&&(Ze.not_found&&delete(Ze=Object.assign({},Ze)).not_found,qe("local")||qe("session"))}function Ct(){}function Xe(je){je.iconsLoaderFlag||(je.iconsLoaderFlag=!0,setTimeout(function(){je.iconsLoaderFlag=!1,function(Ze){Ze.pendingCallbacksFlag||(Ze.pendingCallbacksFlag=!0,setTimeout(function(){Ze.pendingCallbacksFlag=!1;var qe=Ze.loaderCallbacks?Ze.loaderCallbacks.slice(0):[];if(qe.length){var ut=!1,pt=Ze.provider,Dt=Ze.prefix;qe.forEach(function(xt){var Et=xt.icons,wt=Et.pending.length;Et.pending=Et.pending.filter(function(Pt){if(Pt.prefix!==Dt)return!0;var Tt=Pt.name;if(Ze.icons[Tt])Et.loaded.push({provider:pt,prefix:Dt,name:Tt});else{if(!Ze.missing.has(Tt))return ut=!0,!0;Et.missing.push({provider:pt,prefix:Dt,name:Tt})}return!1}),Et.pending.length!==wt&&(ut||Be([Ze],xt.id),xt.callback(Et.loaded.slice(0),Et.missing.slice(0),Et.pending.slice(0),xt.abort))})}}))}(je)}))}var dt=function(je,Ze){var qe=function(Pt,Tt,Gt){Tt===void 0&&(Tt=!0),Gt===void 0&&(Gt=!1);var $t=[];return Pt.forEach(function(Nt){var Vt=typeof Nt=="string"?A(Nt,Tt,Gt):Nt;Vt&&$t.push(Vt)}),$t}(je,!0,F),ut=function(Pt){var Tt={loaded:[],missing:[],pending:[]},Gt=Object.create(null);Pt.sort(function(Nt,Vt){return Nt.provider!==Vt.provider?Nt.provider.localeCompare(Vt.provider):Nt.prefix!==Vt.prefix?Nt.prefix.localeCompare(Vt.prefix):Nt.name.localeCompare(Vt.name)});var $t={provider:"",prefix:"",name:""};return Pt.forEach(function(Nt){if($t.name!==Nt.name||$t.prefix!==Nt.prefix||$t.provider!==Nt.provider){$t=Nt;var Vt=Nt.provider,Ut=Nt.prefix,gn=Nt.name,pn=Gt[Vt]||(Gt[Vt]=Object.create(null)),sn=pn[Ut]||(pn[Ut]=T(Vt,Ut)),yn={provider:Vt,prefix:Ut,name:gn};(gn in sn.icons?Tt.loaded:Ut===""||sn.missing.has(gn)?Tt.missing:Tt.pending).push(yn)}}),Tt}(qe);if(!ut.pending.length){var pt=!0;return Ze&&setTimeout(function(){pt&&Ze(ut.loaded,ut.missing,ut.pending,Ct)}),function(){pt=!1}}var Dt,xt,Et=Object.create(null),wt=[];return ut.pending.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix;if(Gt!==xt||Tt!==Dt){Dt=Tt,xt=Gt,wt.push(T(Tt,Gt));var $t=Et[Tt]||(Et[Tt]=Object.create(null));$t[Gt]||($t[Gt]=[])}}),ut.pending.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix,$t=Pt.name,Nt=T(Tt,Gt),Vt=Nt.pendingIcons||(Nt.pendingIcons=new Set);Vt.has($t)||(Vt.add($t),Et[Tt][Gt].push($t))}),wt.forEach(function(Pt){var Tt=Pt.provider,Gt=Pt.prefix;Et[Tt][Gt].length&&function($t,Nt){$t.iconsToLoad?$t.iconsToLoad=$t.iconsToLoad.concat(Nt).sort():$t.iconsToLoad=Nt,$t.iconsQueueFlag||($t.iconsQueueFlag=!0,setTimeout(function(){$t.iconsQueueFlag=!1;var Vt,Ut=$t.provider,gn=$t.prefix,pn=$t.iconsToLoad;delete $t.iconsToLoad,pn&&(Vt=ue(Ut))&&Vt.prepare(Ut,gn,pn).forEach(function(sn){Qe(Ut,sn,function(yn,Rn){if(typeof yn!="object"){if(Rn!==404)return;sn.icons.forEach(function(bn){$t.missing.add(bn)})}else try{var kn=I($t,yn);if(!kn.length)return;var vn=$t.pendingIcons;vn&&kn.forEach(function(bn){vn.delete(bn)}),yt($t,yn)}catch(bn){console.error(bn)}Xe($t)})})}))}(Pt,Et[Tt][Gt])}),Ze?function(Pt,Tt,Gt){var $t=ot++,Nt=Be.bind(null,Gt,$t);if(!Tt.pending.length)return Nt;var Vt={id:$t,icons:Tt,callback:Pt,abort:Nt};return Gt.forEach(function(Ut){(Ut.loaderCallbacks||(Ut.loaderCallbacks=[])).push(Vt)}),Nt}(Ze,ut,wt):Ct},Re=function(je){return new Promise(function(Ze,qe){var ut=typeof je=="string"?A(je):je;dt([ut||je],function(pt){if(pt.length&&ut){var Dt=O(ut);if(Dt)return void Ze(Object.assign({},a,Dt))}qe(je)})})};function Ye(je,Ze){var qe=Object.assign({},je);for(var ut in Ze){var pt=Ze[ut],Dt=typeof pt;ut in M?(pt===null||pt&&(Dt==="string"||Dt==="number"))&&(qe[ut]=pt):Dt===typeof qe[ut]&&(qe[ut]=ut==="rotate"?pt%4:pt)}return qe}var at=Object.assign({},N,{inline:!1}),mt="iconify-inline",St="iconifyData"+Date.now(),Rt=[];function Oe(je){for(var Ze=0;Ze0||pt.type==="attributes"&&pt.target[St]!==void 0)return void(qe.paused||bt(je))}}}function Fe(je,Ze){je.observer.instance.observe(Ze,At)}function it(je){var Ze=je.observer;if(!Ze||!Ze.instance){var qe=typeof je.node=="function"?je.node():je.node;qe&&window&&(Ze||(Ze={paused:0},je.observer=Ze),Ze.instance=new window.MutationObserver(Le.bind(null,je)),Fe(je,qe),Ze.paused||bt(je))}}function It(){Je().forEach(it)}function Ne(je){if(je.observer){var Ze=je.observer;Ze.pendingScan&&(clearTimeout(Ze.pendingScan),delete Ze.pendingScan),Ze.instance&&(Ze.instance.disconnect(),delete Ze.instance)}}function Ge(je){var Ze=st!==null;st!==je&&(st=je,Ze&&Je().forEach(Ne)),Ze?It():function(qe){var ut=document;ut.readyState&&ut.readyState!=="loading"?qe():ut.addEventListener("DOMContentLoaded",qe)}(It)}function ze(je){(je?[je]:Je()).forEach(function(Ze){if(Ze.observer){var qe=Ze.observer;qe.paused++,!(qe.paused>1)&&qe.instance&&qe.instance.disconnect()}else Ze.observer={paused:1}})}function et(je){if(je){var Ze=Oe(je);Ze&&ze(Ze)}else ze()}function nt(je){(je?[je]:Je()).forEach(function(Ze){if(Ze.observer){var qe=Ze.observer;if(qe.paused&&(qe.paused--,!qe.paused)){var ut=typeof Ze.node=="function"?Ze.node():Ze.node;if(!ut)return;qe.instance?Fe(Ze,ut):it(Ze)}}else it(Ze)})}function Bt(je){if(je){var Ze=Oe(je);Ze&&nt(Ze)}else nt()}function Wt(je,Ze){Ze===void 0&&(Ze=!1);var qe=We(je,Ze);return it(qe),qe}function jt(je){var Ze=Oe(je);Ze&&(Ne(Ze),function(qe){Rt=Rt.filter(function(ut){return qe!==ut&&qe!==(typeof ut.node=="function"?ut.node():ut.node)})}(je))}var qt=/[\s,]+/,dn=["width","height"],Qt=["inline","hFlip","vFlip"];function an(je){var Ze=je.getAttribute("data-icon"),qe=typeof Ze=="string"&&A(Ze,!0);if(!qe)return null;var ut=Object.assign({},at,{inline:je.classList&&je.classList.contains(mt)});dn.forEach(function(Et){var wt=je.getAttribute("data-"+Et);wt&&(ut[Et]=wt)});var pt=je.getAttribute("data-rotate");typeof pt=="string"&&(ut.rotate=function(Et,wt){wt===void 0&&(wt=0);var Pt=Et.replace(/^-?[0-9.]*/,"");function Tt(Vt){for(;Vt<0;)Vt+=4;return Vt%4}if(Pt===""){var Gt=parseInt(Et);return isNaN(Gt)?0:Tt(Gt)}if(Pt!==Et){var $t=0;switch(Pt){case"%":$t=25;break;case"deg":$t=90}if($t){var Nt=parseFloat(Et.slice(0,Et.length-Pt.length));return isNaN(Nt)?0:(Nt/=$t)%1==0?Tt(Nt):0}}return wt}(pt));var Dt=je.getAttribute("data-flip");typeof Dt=="string"&&function(Et,wt){wt.split(qt).forEach(function(Pt){switch(Pt.trim()){case"horizontal":Et.hFlip=!0;break;case"vertical":Et.vFlip=!0}})}(ut,Dt),Qt.forEach(function(Et){var wt="data-"+Et,Pt=function(Tt,Gt){return Tt===Gt||Tt==="true"||Tt!==""&&Tt!=="false"&&null}(je.getAttribute(wt),wt);typeof Pt=="boolean"&&(ut[Et]=Pt)});var xt=je.getAttribute("data-mode");return{name:Ze,icon:qe,customisations:ut,mode:xt}}function ln(je,Ze){var qe=je.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(var ut in Ze)qe+=" "+ut+'="'+Ze[ut]+'"';return'"+je+""}function Ht(je){var Ze=new Set(["iconify"]);return["provider","prefix"].forEach(function(qe){je[qe]&&Ze.add("iconify--"+je[qe])}),Ze}function Ue(je,Ze,qe,ut){var pt=je.classList;if(ut){var Dt=ut.classList;Array.from(Dt).forEach(function(Et){pt.add(Et)})}var xt=[];return Ze.forEach(function(Et){pt.contains(Et)?qe.has(Et)&&xt.push(Et):(pt.add(Et),xt.push(Et))}),qe.forEach(function(Et){Ze.has(Et)||pt.remove(Et)}),xt}function kt(je,Ze,qe){var ut=je.style;(qe||[]).forEach(function(xt){ut.removeProperty(xt)});var pt=[];for(var Dt in Ze)ut.getPropertyValue(Dt)||(pt.push(Dt),ut.setProperty(Dt,Ze[Dt]));return pt}function Ot(je,Ze,qe){var ut;try{ut=document.createElement("span")}catch(gn){return je}var pt=Ze.customisations,Dt=B(qe,pt),xt=je[St],Et=ln(X(Dt.body),Object.assign({},{"aria-hidden":"true",role:"img"},Dt.attributes));ut.innerHTML=Et;for(var wt=ut.childNodes[0],Pt=je.attributes,Tt=0;Tt/g,"%3E").replace(/\s+/g," ")+'")'),tn=Object.assign({},{"--svg":oi,width:wn(vn.width),height:wn(vn.height)},Ft,yn?Jt:Xt),qn;Rn.inline&&(tn["vertical-align"]="-0.125em");var In=kt(gn,tn,bn&&bn.addedStyles),Gn=Object.assign({},pn,{status:"loaded",addedClasses:gi,addedStyles:In});gn[St]=Gn}(Gt,$t,Object.assign({},a,Nt),Ut)}Ot(Gt,$t,Nt)}});var pt=function(xt){var Et=qe[xt],wt=function(Tt){var Gt=Et[Tt];dt(Array.from(Gt).map(function($t){return{provider:xt,prefix:Tt,name:$t}}),un)};for(var Pt in Et)wt(Pt)};for(var Dt in qe)pt(Dt)}function xn(je,Ze,qe){qe===void 0&&(qe=!1);var ut=O(je);if(!ut)return null;var pt=A(je),Dt=Ye(at,Ze||{}),xt=Ot(document.createElement("span"),{name:je,icon:pt,customisations:Dt},ut);return qe?xt.outerHTML:xt}function On(){return"3.0.0"}function Vn(je,Ze){return xn(je,Ze,!1)}function Yt(je,Ze){return xn(je,Ze,!0)}function hn(je,Ze){var qe=O(je);return qe?B(qe,Ye(at,Ze||{})):null}function Ln(je){je?function(Ze){var qe=Oe(Ze);qe?Mn(qe):Mn({node:Ze,temporary:!0},!0)}(je):Mn()}if(typeof document!="undefined"&&typeof window!="undefined"){(function(){if(document.documentElement)return We(document.documentElement);Rt.push({node:function(){return document.documentElement}})})();var ni=window;if(ni.IconifyPreload!==void 0){var Sn=ni.IconifyPreload,_i="Invalid IconifyPreload syntax.";typeof Sn=="object"&&Sn!==null&&(Sn instanceof Array?Sn:[Sn]).forEach(function(je){try{(typeof je!="object"||je===null||je instanceof Array||typeof je.icons!="object"||typeof je.prefix!="string"||!x(je))&&console.error(_i)}catch(Ze){console.error(_i)}})}setTimeout(function(){Ge(Mn),Mn()})}function ii(je,Ze){Ee(je,Ze!==!1)}function jn(je){Ee(je,!0)}if(re("",Pe),typeof document!="undefined"&&typeof window!="undefined"){Ae();var An=window;if(An.IconifyProviders!==void 0){var $n=An.IconifyProviders;if(typeof $n=="object"&&$n!==null)for(var Hn in $n){var Jn="IconifyProviders["+Hn+"] is invalid.";try{var Xn=$n[Hn];if(typeof Xn!="object"||!Xn||Xn.resources===void 0)continue;Se(Hn,Xn)||console.error(Jn)}catch(je){console.error(Jn)}}}}var Kn={getAPIConfig:xe,setAPIModule:re,sendAPIQuery:Qe,setFetch:function(je){De=je},getFetch:function(){return De},listAPIProviders:function(){return Object.keys(ie)}},pi={_api:Kn,addAPIProvider:Se,loadIcons:dt,loadIcon:Re,iconExists:P,getIcon:G,listIcons:E,addIcon:D,addCollection:x,replaceIDs:X,calculateSize:H,buildIcon:B,getVersion:On,renderSVG:Vn,renderHTML:Yt,renderIcon:hn,scan:Ln,observe:Wt,stopObserving:jt,pauseObserver:et,resumeObserver:Bt,enableCache:ii,disableCache:jn};return t._api=Kn,t.addAPIProvider=Se,t.addCollection=x,t.addIcon=D,t.buildIcon=B,t.calculateSize=H,t.default=pi,t.disableCache=jn,t.enableCache=ii,t.getIcon=G,t.getVersion=On,t.iconExists=P,t.listIcons=E,t.loadIcon=Re,t.loadIcons=dt,t.observe=Wt,t.pauseObserver=et,t.renderHTML=Yt,t.renderIcon=hn,t.renderSVG=Vn,t.replaceIDs=X,t.resumeObserver=Bt,t.scan=Ln,t.stopObserving=jt,Object.defineProperty(t,"__esModule",{value:!0}),t}({});if(typeof exports=="object")try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(t){}try{self.Iconify===void 0&&(self.Iconify=Iconify)}catch(t){}const ls=window.localStorage;class Cache$1{static get getMaxStorage(){return 51e5-1}static get getNamespace(){return Cache$1._ns||""}static setNamespace(r){return Cache$1._ns=r,Cache$1}static clear(){return ls.clear(),Cache$1}static remove(r){return Cache$1._cache&&Cache$1._cache[Cache$1.getNamespace+r]&&delete Cache$1._cache[Cache$1.getNamespace+r],ls.removeItem(Cache$1.getNamespace+r),Cache$1}static get(r,o=null,a={}){typeof a=="string"&&(a={ns:a}),a.ns=a.ns!==void 0?a.ns:Cache$1.getNamespace;let u=Cache$1._cache&&Cache$1._cache[a.ns+r];return u==null&&(u=JSON.parse(ls.getItem(a.ns+r))),u!=null?u:o}static merge(r,o,a={}){const u=Cache$1.get(r,null,a);return Array.isArray(o)?Cache$1.set(r,[...u,...o],a):typeof o=="object"?Cache$1.set(r,{...u,...o},a):(console.error("Cache","Value to merge neither Array nor Object!"),Cache$1)}static set(r,o,a={}){if(typeof a=="string"?a={ns:a}:typeof a=="boolean"&&(a={persist:a}),a.ns=a.ns!==void 0?a.ns:Cache$1.getNamespace,a.persist=a.persist!==void 0?a.persist:!0,r===void 0||o===void 0)return!1;if(typeof r=="object"&&(a.persist=o!==void 0?o:a.persist,Object.keys(r).forEach(u=>Cache$1.set(u,r[u],a))),Cache$1._cache=Cache$1._cache||{},Cache$1._cache[a.ns+r]=o,a.persist)try{const u=JSON.stringify(o);ls.setItem(a.ns+r,u)}catch(u){}return Cache$1}}const SslSkip=registerPlugin("SslSkip",{});var REGEX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function validate(t){return typeof t=="string"&®EX.test(t)}function parse$q(t){if(!validate(t))throw TypeError("Invalid UUID");var r,o=new Uint8Array(16);return o[0]=(r=parseInt(t.slice(0,8),16))>>>24,o[1]=r>>>16&255,o[2]=r>>>8&255,o[3]=r&255,o[4]=(r=parseInt(t.slice(9,13),16))>>>8,o[5]=r&255,o[6]=(r=parseInt(t.slice(14,18),16))>>>8,o[7]=r&255,o[8]=(r=parseInt(t.slice(19,23),16))>>>8,o[9]=r&255,o[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,o[11]=r/4294967296&255,o[12]=r>>>24&255,o[13]=r>>>16&255,o[14]=r>>>8&255,o[15]=r&255,o}var byteToHex=[];for(var i$2=0;i$2<256;++i$2)byteToHex.push((i$2+256).toString(16).slice(1));function unsafeStringify(t,r=0){return(byteToHex[t[r+0]]+byteToHex[t[r+1]]+byteToHex[t[r+2]]+byteToHex[t[r+3]]+"-"+byteToHex[t[r+4]]+byteToHex[t[r+5]]+"-"+byteToHex[t[r+6]]+byteToHex[t[r+7]]+"-"+byteToHex[t[r+8]]+byteToHex[t[r+9]]+"-"+byteToHex[t[r+10]]+byteToHex[t[r+11]]+byteToHex[t[r+12]]+byteToHex[t[r+13]]+byteToHex[t[r+14]]+byteToHex[t[r+15]]).toLowerCase()}var getRandomValues,rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}function stringToBytes(t){t=unescape(encodeURIComponent(t));for(var r=[],o=0;o>>32-r}function sha1$1(t){var r=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var a=unescape(encodeURIComponent(t));t=[];for(var u=0;u>>0;O=F,F=E,E=ROTL(I,30)>>>0,I=T,T=P}o[0]=o[0]+T>>>0,o[1]=o[1]+I>>>0,o[2]=o[2]+E>>>0,o[3]=o[3]+F>>>0,o[4]=o[4]+O>>>0}return[o[0]>>24&255,o[0]>>16&255,o[0]>>8&255,o[0]&255,o[1]>>24&255,o[1]>>16&255,o[1]>>8&255,o[1]&255,o[2]>>24&255,o[2]>>16&255,o[2]>>8&255,o[2]&255,o[3]>>24&255,o[3]>>16&255,o[3]>>8&255,o[3]&255,o[4]>>24&255,o[4]>>16&255,o[4]>>8&255,o[4]&255]}var v5=v35("v5",80,sha1$1),uuidv5=v5,isVue2=!1;/*! * pinia v2.2.2 * (c) 2024 Eduardo San Martin Morote * @license MIT - */let activePinia;const setActivePinia=t=>activePinia=t,piniaSymbol=Symbol();function isPlainObject$4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var MutationType;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const t=effectScope(!0),r=t.run(()=>ref({}));let o=[],a=[];const u=markRaw({install(d){setActivePinia(u),u._a=d,d.provide(piniaSymbol,u),d.config.globalProperties.$pinia=u,a.forEach(g=>o.push(g)),a=[]},use(d){return!this._a&&!isVue2?a.push(d):o.push(d),this},_p:o,_a:null,_e:t,_s:new Map,state:r});return u}const noop$3=()=>{};function addSubscription(t,r,o,a=noop$3){t.push(r);const u=()=>{const d=t.indexOf(r);d>-1&&(t.splice(d,1),a())};return!o&&getCurrentScope()&&onScopeDispose(u),u}function triggerSubscriptions(t,...r){t.slice().forEach(o=>{o(...r)})}const fallbackRunWithContext=t=>t(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(t,r){t instanceof Map&&r instanceof Map?r.forEach((o,a)=>t.set(a,o)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o],u=t[o];isPlainObject$4(u)&&isPlainObject$4(a)&&t.hasOwnProperty(o)&&!isRef(a)&&!isReactive(a)?t[o]=mergeReactiveObjects(u,a):t[o]=a}return t}const skipHydrateSymbol=Symbol();function shouldHydrate(t){return!isPlainObject$4(t)||!t.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$3}=Object;function isComputed(t){return!!(isRef(t)&&t.effect)}function createOptionsStore(t,r,o,a){const{state:u,actions:d,getters:g}=r,v=o.state.value[t];let y;function A(){v||(o.state.value[t]=u?u():{});const b=toRefs(o.state.value[t]);return assign$3(b,d,Object.keys(g||{}).reduce((_,w)=>(_[w]=markRaw(computed(()=>{setActivePinia(o);const S=o._s.get(t);return g[w].call(S,S)})),_),{}))}return y=createSetupStore(t,A,r,o,a,!0),y}function createSetupStore(t,r,o={},a,u,d){let g;const v=assign$3({actions:{}},o),y={deep:!0};let A,b,_=[],w=[],S;const C=a.state.value[t];!d&&!C&&(a.state.value[t]={}),ref({});let T;function I(M){let N;A=b=!1,typeof M=="function"?(M(a.state.value[t]),N={type:MutationType.patchFunction,storeId:t,events:S}):(mergeReactiveObjects(a.state.value[t],M),N={type:MutationType.patchObject,payload:M,storeId:t,events:S});const V=T=Symbol();nextTick().then(()=>{T===V&&(A=!0)}),b=!0,triggerSubscriptions(_,N,a.state.value[t])}const E=d?function(){const{state:N}=o,V=N?N():{};this.$patch(Y=>{assign$3(Y,V)})}:noop$3;function F(){g.stop(),_=[],w=[],a._s.delete(t)}const O=(M,N="")=>{if(ACTION_MARKER in M)return M[ACTION_NAME]=N,M;const V=function(){setActivePinia(a);const Y=Array.from(arguments),H=[],B=[];function z(X){H.push(X)}function U(X){B.push(X)}triggerSubscriptions(w,{args:Y,name:V[ACTION_NAME],store:x,after:z,onError:U});let Q;try{Q=M.apply(this&&this.$id===t?this:x,Y)}catch(X){throw triggerSubscriptions(B,X),X}return Q instanceof Promise?Q.then(X=>(triggerSubscriptions(H,X),X)).catch(X=>(triggerSubscriptions(B,X),Promise.reject(X))):(triggerSubscriptions(H,Q),Q)};return V[ACTION_MARKER]=!0,V[ACTION_NAME]=N,V},D={_p:a,$id:t,$onAction:addSubscription.bind(null,w),$patch:I,$reset:E,$subscribe(M,N={}){const V=addSubscription(_,M,N.detached,()=>Y()),Y=g.run(()=>watch(()=>a.state.value[t],H=>{(N.flush==="sync"?b:A)&&M({storeId:t,type:MutationType.direct,events:S},H)},assign$3({},y,N)));return V},$dispose:F},x=reactive(D);a._s.set(t,x);const G=(a._a&&a._a.runWithContext||fallbackRunWithContext)(()=>a._e.run(()=>(g=effectScope()).run(()=>r({action:O}))));for(const M in G){const N=G[M];if(isRef(N)&&!isComputed(N)||isReactive(N))d||(C&&shouldHydrate(N)&&(isRef(N)?N.value=C[M]:mergeReactiveObjects(N,C[M])),a.state.value[t][M]=N);else if(typeof N=="function"){const V=O(N,M);G[M]=V,v.actions[M]=N}}return assign$3(x,G),assign$3(toRaw(x),G),Object.defineProperty(x,"$state",{get:()=>a.state.value[t],set:M=>{I(N=>{assign$3(N,M)})}}),a._p.forEach(M=>{assign$3(x,g.run(()=>M({store:x,app:a._a,pinia:a,options:v})))}),C&&d&&o.hydrate&&o.hydrate(x.$state,C),A=!0,b=!0,x}function defineStore(t,r,o){let a,u;const d=typeof r=="function";typeof t=="string"?(a=t,u=d?o:r):(u=t,a=t.id);function g(v,y){const A=hasInjectionContext();return v=v||(A?inject(piniaSymbol,null):null),v&&setActivePinia(v),v=activePinia,v._s.has(a)||(d?createSetupStore(a,r,u,v):createOptionsStore(a,u,v)),v._s.get(a)}return g.$id=a,g}const defaultViewBox="0 0 24 24",sameFn=t=>t,ionFn=t=>`ionicons ${t}`,libMap={"mdi-":t=>`mdi ${t}`,"icon-":sameFn,"bt-":t=>`bt ${t}`,"eva-":t=>`eva ${t}`,"ion-md":ionFn,"ion-ios":ionFn,"ion-logo":ionFn,"iconfont ":sameFn,"ti-":t=>`themify-icon ${t}`,"bi-":t=>`bootstrap-icons ${t}`},matMap={o_:"-outlined",r_:"-round",s_:"-sharp"},symMap={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},libRE=new RegExp("^("+Object.keys(libMap).join("|")+")"),matRE=new RegExp("^("+Object.keys(matMap).join("|")+")"),symRE=new RegExp("^("+Object.keys(symMap).join("|")+")"),mRE=/^[Mm]\s?[-+]?\.?\d/,imgRE=/^img:/,svgUseRE=/^svguse:/,ionRE=/^ion-/,faRE=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var QIcon=createComponent({name:"QIcon",props:{...useSizeProps,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=useSize(t),u=computed(()=>"q-icon"+(t.left===!0?" on-left":"")+(t.right===!0?" on-right":"")+(t.color!==void 0?` text-${t.color}`:"")),d=computed(()=>{let g,v=t.name;if(v==="none"||!v)return{none:!0};if(o.iconMapFn!==null){const b=o.iconMapFn(v);if(b!==void 0)if(b.icon!==void 0){if(v=b.icon,v==="none"||!v)return{none:!0}}else return{attrs:b,cls:b.cls,content:b.content!==void 0?b.content:" "}}if(mRE.test(v)===!0){const[b,_=defaultViewBox]=v.split("|");return{svg:!0,viewBox:_,nodes:b.split("&&").map(w=>{const[S,C,T]=w.split("@@");return h("path",{style:C,d:S,transform:T})})}}if(imgRE.test(v)===!0)return{img:!0,src:v.substring(4)};if(svgUseRE.test(v)===!0){const[b,_=defaultViewBox]=v.split("|");return{svguse:!0,src:b.substring(7),viewBox:_}}let y=" ";const A=v.match(libRE);if(A!==null)g=libMap[A[1]](v);else if(faRE.test(v)===!0)g=v;else if(ionRE.test(v)===!0)g=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${v.substring(3)}`;else if(symRE.test(v)===!0){g="notranslate material-symbols";const b=v.match(symRE);b!==null&&(v=v.substring(6),g+=symMap[b[1]]),y=v}else{g="notranslate material-icons";const b=v.match(matRE);b!==null&&(v=v.substring(2),g+=matMap[b[1]]),y=v}return{cls:g,content:y}});return()=>{let g={class:u.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?h(t.tag,g,hSlot(r.default)):d.value.img===!0?h(t.tag,g,hMergeSlot(r.default,[h("img",{src:d.value.src})])):d.value.svg===!0?h(t.tag,g,hMergeSlot(r.default,[h("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?h(t.tag,g,hMergeSlot(r.default,[h("svg",{viewBox:d.value.viewBox},[h("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(g.class+=" "+d.value.cls,g={...d.value.attrs||{},...g}),h(t.tag,g,hMergeSlot(r.default,[d.value.content])))}}}),QAvatar=createComponent({name:"QAvatar",props:{...useSizeProps,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(t,{slots:r}){const o=useSize(t),a=computed(()=>"q-avatar"+(t.color?` bg-${t.color}`:"")+(t.textColor?` text-${t.textColor} q-chip--colored`:"")+(t.square===!0?" q-avatar--square":t.rounded===!0?" rounded-borders":"")),u=computed(()=>t.fontSize?{fontSize:t.fontSize}:null);return()=>{const d=t.icon!==void 0?[h(QIcon,{name:t.icon})]:void 0;return h("div",{class:a.value,style:o.value},[h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:u.value},hMergeSlotSafely(r.default,d))])}}});function throttle$2(t,r=250){let o=!1,a;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},r),a=t.apply(this,arguments)),a}}function showRipple(t,r,o,a){o.modifiers.stop===!0&&stop$1(t);const u=o.modifiers.color;let d=o.modifiers.center;d=d===!0||a===!0;const g=document.createElement("span"),v=document.createElement("span"),y=position$1(t),{left:A,top:b,width:_,height:w}=r.getBoundingClientRect(),S=Math.sqrt(_*_+w*w),C=S/2,T=`${(_-S)/2}px`,I=d?T:`${y.left-A-C}px`,E=`${(w-S)/2}px`,F=d?E:`${y.top-b-C}px`;v.className="q-ripple__inner",css$2(v,{height:`${S}px`,width:`${S}px`,transform:`translate3d(${I},${F},0) scale3d(.2,.2,1)`,opacity:0}),g.className=`q-ripple${u?" text-"+u:""}`,g.setAttribute("dir","ltr"),g.appendChild(v),r.appendChild(g);const O=()=>{g.remove(),clearTimeout(D)};o.abort.push(O);let D=setTimeout(()=>{v.classList.add("q-ripple__inner--enter"),v.style.transform=`translate3d(${T},${E},0) scale3d(1,1,1)`,v.style.opacity=.2,D=setTimeout(()=>{v.classList.remove("q-ripple__inner--enter"),v.classList.add("q-ripple__inner--leave"),v.style.opacity=0,D=setTimeout(()=>{g.remove(),o.abort.splice(o.abort.indexOf(O),1)},275)},250)},50)}function updateModifiers(t,{modifiers:r,value:o,arg:a}){const u=Object.assign({},t.cfg.ripple,r,o);t.modifiers={early:u.early===!0,stop:u.stop===!0,center:u.center===!0,color:u.color||a,keyCodes:[].concat(u.keyCodes||13)}}var Ripple=createDirective({name:"ripple",beforeMount(t,r){const o=r.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const a={cfg:o,enabled:r.value!==!1,modifiers:{},abort:[],start(u){a.enabled===!0&&u.qSkipRipple!==!0&&u.type===(a.modifiers.early===!0?"pointerdown":"click")&&showRipple(u,t,a,u.qKeyEvent===!0)},keystart:throttle$2(u=>{a.enabled===!0&&u.qSkipRipple!==!0&&isKeyCode(u,a.modifiers.keyCodes)===!0&&u.type===`key${a.modifiers.early===!0?"down":"up"}`&&showRipple(u,t,a,!0)},300)};updateModifiers(a,r),t.__qripple=a,addEvt(a,"main",[[t,"pointerdown","start","passive"],[t,"click","start","passive"],[t,"keydown","keystart","passive"],[t,"keyup","keystart","passive"]])},updated(t,r){if(r.oldValue!==r.value){const o=t.__qripple;o!==void 0&&(o.enabled=r.value!==!1,o.enabled===!0&&Object(r.value)===r.value&&updateModifiers(o,r))}},beforeUnmount(t){const r=t.__qripple;r!==void 0&&(r.abort.forEach(o=>{o()}),cleanEvt(r,"main"),delete t._qripple)}});const alignMap={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},alignValues$2=Object.keys(alignMap),useAlignProps={align:{type:String,validator:t=>alignValues$2.includes(t)}};function useAlign(t){return computed(()=>{const r=t.align===void 0?t.vertical===!0?"stretch":"left":t.align;return`${t.vertical===!0?"items":"justify"}-${alignMap[r]}`})}function getParentProxy(t){if(Object(t.$parent)===t.$parent)return t.$parent;let{parent:r}=t.$;for(;Object(r)===r;){if(Object(r.proxy)===r.proxy)return r.proxy;r=r.parent}}function fillNormalizedVNodes(t,r){typeof r.type=="symbol"?Array.isArray(r.children)===!0&&r.children.forEach(o=>{fillNormalizedVNodes(t,o)}):t.add(r)}function getNormalizedVNodes(t){const r=new Set;return t.forEach(o=>{fillNormalizedVNodes(r,o)}),Array.from(r)}function vmHasRouter(t){return t.appContext.config.globalProperties.$router!==void 0}function vmIsDestroyed(t){return t.isUnmounted===!0||t.isDeactivated===!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}function isSameRouteRecord(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function includesParams(t,r){for(const o in r){const a=r[o],u=t[o];if(typeof a=="string"){if(a!==u)return!1}else if(Array.isArray(u)===!1||u.length!==a.length||a.some((d,g)=>d!==u[g]))return!1}return!0}function isEquivalentArray(t,r){return Array.isArray(r)===!0?t.length===r.length&&t.every((o,a)=>o===r[a]):t.length===1&&t[0]===r}function isSameRouteLocationParamsValue(t,r){return Array.isArray(t)===!0?isEquivalentArray(t,r):Array.isArray(r)===!0?isEquivalentArray(r,t):t===r}function isSameRouteLocationParams(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const o in t)if(isSameRouteLocationParamsValue(t[o],r[o])===!1)return!1;return!0}const useRouterLinkNonMatchingProps={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},useRouterLinkProps={...useRouterLinkNonMatchingProps,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function useRouterLink({fallbackTag:t,useDisableForRouterLinkProps:r=!0}={}){const o=getCurrentInstance(),{props:a,proxy:u,emit:d}=o,g=vmHasRouter(o),v=computed(()=>a.disable!==!0&&a.href!==void 0),y=computed(r===!0?()=>g===!0&&a.disable!==!0&&v.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!=="":()=>g===!0&&v.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),A=computed(()=>y.value===!0?F(a.to):null),b=computed(()=>A.value!==null),_=computed(()=>v.value===!0||b.value===!0),w=computed(()=>a.type==="a"||_.value===!0?"a":a.tag||t||"div"),S=computed(()=>v.value===!0?{href:a.href,target:a.target}:b.value===!0?{href:A.value.href,target:a.target}:{}),C=computed(()=>{if(b.value===!1)return-1;const{matched:x}=A.value,{length:P}=x,G=x[P-1];if(G===void 0)return-1;const M=u.$route.matched;if(M.length===0)return-1;const N=M.findIndex(isSameRouteRecord.bind(null,G));if(N!==-1)return N;const V=getOriginalPath(x[P-2]);return P>1&&getOriginalPath(G)===V&&M[M.length-1].path!==V?M.findIndex(isSameRouteRecord.bind(null,x[P-2])):N}),T=computed(()=>b.value===!0&&C.value!==-1&&includesParams(u.$route.params,A.value.params)),I=computed(()=>T.value===!0&&C.value===u.$route.matched.length-1&&isSameRouteLocationParams(u.$route.params,A.value.params)),E=computed(()=>b.value===!0?I.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":T.value===!0?` ${a.activeClass}`:"":"");function F(x){try{return u.$router.resolve(x)}catch(P){}return null}function O(x,{returnRouterError:P,to:G=a.to,replace:M=a.replace}={}){if(a.disable===!0)return x.preventDefault(),Promise.resolve(!1);if(x.metaKey||x.altKey||x.ctrlKey||x.shiftKey||x.button!==void 0&&x.button!==0||a.target==="_blank")return Promise.resolve(!1);x.preventDefault();const N=u.$router[M===!0?"replace":"push"](G);return P===!0?N:N.then(()=>{}).catch(()=>{})}function D(x){if(b.value===!0){const P=G=>O(x,G);d("click",x,P),x.defaultPrevented!==!0&&P()}else d("click",x)}return{hasRouterLink:b,hasHrefLink:v,hasLink:_,linkTag:w,resolvedLink:A,linkIsActive:T,linkIsExactActive:I,linkClass:E,linkAttrs:S,getLink:F,navigateToRouterLink:O,navigateOnClick:D}}const btnPadding={none:0,xs:4,sm:8,md:16,lg:24,xl:32},defaultSizes$2={xs:8,sm:10,md:14,lg:20,xl:24},formTypes=["button","submit","reset"],mediaTypeRE=/[^\s]\/[^\s]/,btnDesignOptions=["flat","outline","push","unelevated"];function getBtnDesign(t,r){return t.flat===!0?"flat":t.outline===!0?"outline":t.push===!0?"push":t.unelevated===!0?"unelevated":r}function getBtnDesignAttr(t){const r=getBtnDesign(t);return r!==void 0?{[r]:!0}:{}}const nonRoundBtnProps={...useSizeProps,...useRouterLinkNonMatchingProps,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...btnDesignOptions.reduce((t,r)=>(t[r]=Boolean)&&t,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...useAlignProps.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},useBtnProps={...nonRoundBtnProps,round:Boolean};function useBtn(t){const r=useSize(t,defaultSizes$2),o=useAlign(t),{hasRouterLink:a,hasLink:u,linkTag:d,linkAttrs:g,navigateOnClick:v}=useRouterLink({fallbackTag:"button"}),y=computed(()=>{const I=t.fab===!1&&t.fabMini===!1?r.value:{};return t.padding!==void 0?Object.assign({},I,{padding:t.padding.split(/\s+/).map(E=>E in btnPadding?btnPadding[E]+"px":E).join(" "),minWidth:"0",minHeight:"0"}):I}),A=computed(()=>t.rounded===!0||t.fab===!0||t.fabMini===!0),b=computed(()=>t.disable!==!0&&t.loading!==!0),_=computed(()=>b.value===!0?t.tabindex||0:-1),w=computed(()=>getBtnDesign(t,"standard")),S=computed(()=>{const I={tabindex:_.value};return u.value===!0?Object.assign(I,g.value):formTypes.includes(t.type)===!0&&(I.type=t.type),d.value==="a"?(t.disable===!0?I["aria-disabled"]="true":I.href===void 0&&(I.role="button"),a.value!==!0&&mediaTypeRE.test(t.type)===!0&&(I.type=t.type)):t.disable===!0&&(I.disabled="",I["aria-disabled"]="true"),t.loading===!0&&t.percentage!==void 0&&Object.assign(I,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t.percentage}),I}),C=computed(()=>{let I;t.color!==void 0?t.flat===!0||t.outline===!0?I=`text-${t.textColor||t.color}`:I=`bg-${t.color} text-${t.textColor||"white"}`:t.textColor&&(I=`text-${t.textColor}`);const E=t.round===!0?"round":`rectangle${A.value===!0?" q-btn--rounded":t.square===!0?" q-btn--square":""}`;return`q-btn--${w.value} q-btn--${E}`+(I!==void 0?" "+I:"")+(b.value===!0?" q-btn--actionable q-focusable q-hoverable":t.disable===!0?" disabled":"")+(t.fab===!0?" q-btn--fab":t.fabMini===!0?" q-btn--fab-mini":"")+(t.noCaps===!0?" q-btn--no-uppercase":"")+(t.dense===!0?" q-btn--dense":"")+(t.stretch===!0?" no-border-radius self-stretch":"")+(t.glossy===!0?" glossy":"")+(t.square?" q-btn--square":"")}),T=computed(()=>o.value+(t.stack===!0?" column":" row")+(t.noWrap===!0?" no-wrap text-no-wrap":"")+(t.loading===!0?" q-btn__content--hidden":""));return{classes:C,style:y,innerClasses:T,attributes:S,hasLink:u,linkTag:d,navigateOnClick:v,isActionable:b}}const{passiveCapture}=listenOpts$1;let touchTarget=null,keyboardTarget=null,mouseTarget=null;var QBtn=createComponent({name:"QBtn",props:{...useBtnProps,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{classes:u,style:d,innerClasses:g,attributes:v,hasLink:y,linkTag:A,navigateOnClick:b,isActionable:_}=useBtn(t),w=ref(null),S=ref(null);let C=null,T,I=null;const E=computed(()=>t.label!==void 0&&t.label!==null&&t.label!==""),F=computed(()=>t.disable===!0||t.ripple===!1?!1:{keyCodes:y.value===!0?[13,32]:[13],...t.ripple===!0?{}:t.ripple}),O=computed(()=>({center:t.round})),D=computed(()=>{const z=Math.max(0,Math.min(100,t.percentage));return z>0?{transition:"transform 0.6s",transform:`translateX(${z-100}%)`}:{}}),x=computed(()=>{if(t.loading===!0)return{onMousedown:B,onTouchstart:B,onClick:B,onKeydown:B,onKeyup:B};if(_.value===!0){const z={onClick:G,onKeydown:M,onMousedown:V};if(a.$q.platform.has.touch===!0){const U=t.onTouchstart!==void 0?"":"Passive";z[`onTouchstart${U}`]=N}return z}return{onClick:stopAndPrevent$1}}),P=computed(()=>({ref:w,class:"q-btn q-btn-item non-selectable no-outline "+u.value,style:d.value,...v.value,...x.value}));function G(z){if(w.value!==null){if(z!==void 0){if(z.defaultPrevented===!0)return;const U=document.activeElement;if(t.type==="submit"&&U!==document.body&&w.value.contains(U)===!1&&U.contains(w.value)===!1){w.value.focus();const Q=()=>{document.removeEventListener("keydown",stopAndPrevent$1,!0),document.removeEventListener("keyup",Q,passiveCapture),w.value!==null&&w.value.removeEventListener("blur",Q,passiveCapture)};document.addEventListener("keydown",stopAndPrevent$1,!0),document.addEventListener("keyup",Q,passiveCapture),w.value.addEventListener("blur",Q,passiveCapture)}}b(z)}}function M(z){w.value!==null&&(o("keydown",z),isKeyCode(z,[13,32])===!0&&keyboardTarget!==w.value&&(keyboardTarget!==null&&H(),z.defaultPrevented!==!0&&(w.value.focus(),keyboardTarget=w.value,w.value.classList.add("q-btn--active"),document.addEventListener("keyup",Y,!0),w.value.addEventListener("blur",Y,passiveCapture)),stopAndPrevent$1(z)))}function N(z){w.value!==null&&(o("touchstart",z),z.defaultPrevented!==!0&&(touchTarget!==w.value&&(touchTarget!==null&&H(),touchTarget=w.value,C=z.target,C.addEventListener("touchcancel",Y,passiveCapture),C.addEventListener("touchend",Y,passiveCapture)),T=!0,I!==null&&clearTimeout(I),I=setTimeout(()=>{I=null,T=!1},200)))}function V(z){w.value!==null&&(z.qSkipRipple=T===!0,o("mousedown",z),z.defaultPrevented!==!0&&mouseTarget!==w.value&&(mouseTarget!==null&&H(),mouseTarget=w.value,w.value.classList.add("q-btn--active"),document.addEventListener("mouseup",Y,passiveCapture)))}function Y(z){if(w.value!==null&&!(z!==void 0&&z.type==="blur"&&document.activeElement===w.value)){if(z!==void 0&&z.type==="keyup"){if(keyboardTarget===w.value&&isKeyCode(z,[13,32])===!0){const U=new MouseEvent("click",z);U.qKeyEvent=!0,z.defaultPrevented===!0&&prevent(U),z.cancelBubble===!0&&stop$1(U),w.value.dispatchEvent(U),stopAndPrevent$1(z),z.qKeyEvent=!0}o("keyup",z)}H()}}function H(z){const U=S.value;z!==!0&&(touchTarget===w.value||mouseTarget===w.value)&&U!==null&&U!==document.activeElement&&(U.setAttribute("tabindex",-1),U.focus()),touchTarget===w.value&&(C!==null&&(C.removeEventListener("touchcancel",Y,passiveCapture),C.removeEventListener("touchend",Y,passiveCapture)),touchTarget=C=null),mouseTarget===w.value&&(document.removeEventListener("mouseup",Y,passiveCapture),mouseTarget=null),keyboardTarget===w.value&&(document.removeEventListener("keyup",Y,!0),w.value!==null&&w.value.removeEventListener("blur",Y,passiveCapture),keyboardTarget=null),w.value!==null&&w.value.classList.remove("q-btn--active")}function B(z){stopAndPrevent$1(z),z.qSkipRipple=!0}return onBeforeUnmount(()=>{H(!0)}),Object.assign(a,{click:z=>{_.value===!0&&G(z)}}),()=>{let z=[];t.icon!==void 0&&z.push(h(QIcon,{name:t.icon,left:t.stack!==!0&&E.value===!0,role:"img"})),E.value===!0&&z.push(h("span",{class:"block"},[t.label])),z=hMergeSlot(r.default,z),t.iconRight!==void 0&&t.round===!1&&z.push(h(QIcon,{name:t.iconRight,right:t.stack!==!0&&E.value===!0,role:"img"}));const U=[h("span",{class:"q-focus-helper",ref:S})];return t.loading===!0&&t.percentage!==void 0&&U.push(h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(t.darkPercentage===!0?" q-btn__progress--dark":"")},[h("span",{class:"q-btn__progress-indicator fit block",style:D.value})])),U.push(h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+g.value},z)),t.loading!==null&&U.push(h(Transition,{name:"q-transition--fade"},()=>t.loading===!0?[h("span",{key:"loading",class:"absolute-full flex flex-center"},r.loading!==void 0?r.loading():[h(QSpinner)])]:null)),withDirectives(h(A.value,P.value,U),[[Ripple,F.value,void 0,O.value]])}}});const nodesList=[],portalTypeList=[];let portalIndex=1,target=document.body;function createGlobalNode(t,r){const o=document.createElement("div");if(o.id=r!==void 0?`q-portal--${r}--${portalIndex++}`:t,globalConfig.globalNodes!==void 0){const a=globalConfig.globalNodes.class;a!==void 0&&(o.className=a)}return target.appendChild(o),nodesList.push(o),portalTypeList.push(r),o}function removeGlobalNode(t){const r=nodesList.indexOf(t);nodesList.splice(r,1),portalTypeList.splice(r,1),t.remove()}function changeGlobalNodesTarget(t){if(t===target)return;if(target=t,target===document.body||portalTypeList.reduce((o,a)=>a==="dialog"?o+1:o,0)<2){nodesList.forEach(o=>{o.contains(target)===!1&&target.appendChild(o)});return}const r=portalTypeList.lastIndexOf("dialog");for(let o=0;ot.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function addNotification(t,r,o){if(!t)return logError$1("parameter required");let a;const u={textColor:"white"};if(t.ignoreDefaults!==!0&&Object.assign(u,defaults$3),isObject$o(t)===!1&&(u.type&&Object.assign(u,notifTypes[u.type]),t={message:t}),Object.assign(u,notifTypes[t.type||u.type],t),typeof u.icon=="function"&&(u.icon=u.icon(r)),u.spinner?(u.spinner===!0&&(u.spinner=QSpinner),u.spinner=markRaw(u.spinner)):u.spinner=!1,u.meta={hasMedia:Boolean(u.spinner!==!1||u.icon||u.avatar),hasText:hasContent(u.message)||hasContent(u.caption)},u.position){if(positionList.includes(u.position)===!1)return logError$1("wrong position",t)}else u.position="bottom";if(invalidTimeoutValues.includes(u.timeout)===!0)u.timeout=5e3;else{const y=Number(u.timeout);if(isNaN(y)||y<0)return logError$1("wrong timeout",t);u.timeout=Number.isFinite(y)?y:0}u.timeout===0?u.progress=!1:u.progress===!0&&(u.meta.progressClass="q-notification__progress"+(u.progressClass?` ${u.progressClass}`:""),u.meta.progressStyle={animationDuration:`${u.timeout+1e3}ms`});const d=(Array.isArray(t.actions)===!0?t.actions:[]).concat(t.ignoreDefaults!==!0&&Array.isArray(defaults$3.actions)===!0?defaults$3.actions:[]).concat(notifTypes[t.type]!==void 0&&Array.isArray(notifTypes[t.type].actions)===!0?notifTypes[t.type].actions:[]),{closeBtn:g}=u;if(g&&d.push({label:typeof g=="string"?g:r.lang.label.close}),u.actions=d.map(({handler:y,noDismiss:A,...b})=>({flat:!0,...b,onClick:typeof y=="function"?()=>{y(),A!==!0&&v()}:()=>{v()}})),u.multiLine===void 0&&(u.multiLine=u.actions.length>1),Object.assign(u.meta,{class:`q-notification row items-stretch q-notification--${u.multiLine===!0?"multi-line":"standard"}`+(u.color!==void 0?` bg-${u.color}`:"")+(u.textColor!==void 0?` text-${u.textColor}`:"")+(u.classes!==void 0?` ${u.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(u.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(u.multiLine===!0?"":" col"),leftClass:u.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...u.attrs}}),u.group===!1?(u.group=void 0,u.meta.group=void 0):((u.group===void 0||u.group===!0)&&(u.group=[u.message,u.caption,u.multiline].concat(u.actions.map(y=>`${y.label}*${y.icon}`)).join("|")),u.meta.group=u.group+"|"+u.position),u.actions.length===0?u.actions=void 0:u.meta.actionsClass="q-notification__actions row items-center "+(u.multiLine===!0?"justify-end":"col-auto")+(u.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),u.meta.uid=o.notif.meta.uid;const y=notificationsList[u.position].value.indexOf(o.notif);notificationsList[u.position].value[y]=u}else{const y=groups[u.meta.group];if(y===void 0){if(u.meta.uid=uid$5++,u.meta.badge=1,["left","right","center"].indexOf(u.position)!==-1)notificationsList[u.position].value.splice(Math.floor(notificationsList[u.position].value.length/2),0,u);else{const A=u.position.indexOf("top")!==-1?"unshift":"push";notificationsList[u.position].value[A](u)}u.group!==void 0&&(groups[u.meta.group]=u)}else{if(y.meta.timer&&(clearTimeout(y.meta.timer),y.meta.timer=void 0),u.badgePosition!==void 0){if(badgePositions.includes(u.badgePosition)===!1)return logError$1("wrong badgePosition",t)}else u.badgePosition=`top-${u.position.indexOf("left")!==-1?"right":"left"}`;u.meta.uid=y.meta.uid,u.meta.badge=y.meta.badge+1,u.meta.badgeClass=`q-notification__badge q-notification__badge--${u.badgePosition}`+(u.badgeColor!==void 0?` bg-${u.badgeColor}`:"")+(u.badgeTextColor!==void 0?` text-${u.badgeTextColor}`:"")+(u.badgeClass?` ${u.badgeClass}`:"");const A=notificationsList[u.position].value.indexOf(y);notificationsList[u.position].value[A]=groups[u.meta.group]=u}}const v=()=>{removeNotification(u),a=void 0};if(u.timeout>0&&(u.meta.timer=setTimeout(()=>{u.meta.timer=void 0,v()},u.timeout+1e3)),u.group!==void 0)return y=>{y!==void 0?logError$1("trying to update a grouped one which is forbidden",t):v()};if(a={dismiss:v,config:t,notif:u},o!==void 0){Object.assign(o,a);return}return y=>{if(a!==void 0)if(y===void 0)a.dismiss();else{const A=Object.assign({},a.config,y,{group:!1,position:u.position});addNotification(A,r,a)}}}function removeNotification(t){t.meta.timer&&(clearTimeout(t.meta.timer),t.meta.timer=void 0);const r=notificationsList[t.position].value.indexOf(t);if(r!==-1){t.group!==void 0&&delete groups[t.meta.group];const o=notifRefs[""+t.meta.uid];if(o){const{width:a,height:u}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=a,o.style.height=u}notificationsList[t.position].value.splice(r,1),typeof t.onDismiss=="function"&&t.onDismiss()}}function hasContent(t){return t!=null&&emptyRE.test(t)!==!0}function logError$1(t,r){return console.error(`Notify: ${t}`,r),!1}function getComponent(){return createComponent({name:"QNotifications",devtools:{hide:!0},setup(){return()=>h("div",{class:"q-notifications"},positionList.map(t=>h(TransitionGroup,{key:t,class:positionClass$1[t],tag:"div",name:`q-notification--${t}`},()=>notificationsList[t].value.map(r=>{const o=r.meta,a=[];if(o.hasMedia===!0&&(r.spinner!==!1?a.push(h(r.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:r.spinnerColor,size:r.spinnerSize})):r.icon?a.push(h(QIcon,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:r.icon,color:r.iconColor,size:r.iconSize,role:"img"})):r.avatar&&a.push(h(QAvatar,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>h("img",{src:r.avatar,"aria-hidden":"true"})))),o.hasText===!0){let d;const g={class:"q-notification__message col"};if(r.html===!0)g.innerHTML=r.caption?`
${r.message}
${r.caption}
`:r.message;else{const v=[r.message];d=r.caption?[h("div",v),h("div",{class:"q-notification__caption"},[r.caption])]:v}a.push(h("div",g,d))}const u=[h("div",{class:o.contentClass},a)];return r.progress===!0&&u.push(h("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),r.actions!==void 0&&u.push(h("div",{class:o.actionsClass},r.actions.map(d=>h(QBtn,d)))),o.badge>1&&u.push(h("div",{key:`${o.uid}|${o.badge}`,class:r.meta.badgeClass,style:r.badgeStyle},[o.badge])),h("div",{ref:d=>{notifRefs[""+o.uid]=d},key:o.uid,class:o.class,...o.attrs},[h("div",{class:o.wrapperClass},u)])}))))}})}var Notify={setDefaults(t){isObject$o(t)===!0&&Object.assign(defaults$3,t)},registerType(t,r){isObject$o(r)===!0&&(notifTypes[t]=r)},install({$q:t,parentApp:r}){if(t.notify=this.create=o=>addNotification(o,t),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,t.config.notify!==void 0&&this.setDefaults(t.config.notify),this.__installed!==!0){positionList.forEach(a=>{notificationsList[a]=ref([]);const u=["left","center","right"].includes(a)===!0?"center":a.indexOf("top")!==-1?"top":"bottom",d=a.indexOf("left")!==-1?"start":a.indexOf("right")!==-1?"end":"center",g=["left","right"].includes(a)?`items-${a==="left"?"start":"end"} justify-center`:a==="center"?"flex-center":`items-${d}`;positionClass$1[a]=`q-notifications__list q-notifications__list--${u} fixed column no-wrap ${g}`});const o=createGlobalNode("q-notify");createChildApp(getComponent(),r).mount(o)}}},ButtonAction$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAAAqCAYAAABobhO3AAAD6UlEQVR4nO2cwUrjQBjH+xo5+wC9FvoAPsH2BXyDRXISPPRS6sHSmz148LotPXgT40EoeNAWgpSAtVq2iLFiSksqSpf/HtwJk8lkkjTVlvX7QcA0E/PNN79MZlKdDAhCQYb9MJ7N0ew4ODh/wt7JI23fbDs4f0Kz42A8mwcFGc/mqJ7ZuBy4gQLE92A8m6PVm6J6ZvscyABAs+PgcuCuLDhifWj1pmh2HG8/AwDVMxuv739WFhSxPoxncxycP3n7GQDYO3lcWUDE+sH7QIIQAUgQQgkJQighQQglJAihhAQhlJAghBIShFCydEF2jx9gWJN0URFrw9IF0XQTu8cP6aIi1obUgry4c+yf2t4+L8jVwMVh6zl1kPW2A003UW87gWOabqJi2L7PLu5caLoZKFuo9aHpprdt14eBMkPn3VemUOtLrynGwmJMGrv4uXh9cRs678iVLOXxpHlRkUqQF3eOfNnCxs41bkdvXmBMkK2je2i6mVqSQq2P7fowtLH4xADyRBRq/cD5uZLlk4Sdxzea7LwkgkTFLhOHwWTh68biFhtf9rvj5CWKVIL8/PUbmm7iivvzAPER86PW9wmUFD5JsmRpuolcyfI1gCwRssYQy8kSz657ceevYxxB4sT+mYLEyUsUqQTRdBNbR/eBz3hBbkdvqcYlFcP27vJCrR9IDGs8vhFliciVLORKVuh1ZCKEEVeQOLF/piBx8hLFwoIY1gSabqIhVFAmQ75sYbN6kygwRq5keRWst51AI7MEVAzbOxaWCNXYgp0jNoYM1RghaeyLCiK7Nl+nJHlRkVoQcUorE2SzerOQICohZPu5koV624lMBDvOD1STChLVg8SN/bN7EFY+Tl5kLCwIe3TwM5gwNnauA4+iOIizDtWdAsDXpcZJBF9+2Y+YuLF/hSBJ88KTagySLXaRLXaVZQ5bzwvNZMKSI97pYqMWan2vC2bI7mYGfz6bccjK8A0ZJUiS2L9CEFY3MS9xSCVI419SwnqHq4GLjZ1r5Mvhg8MwKoYtnRoC/gSJieDfI4jniI3PP5+B8GlunLEDL0iS2L9KkLC8RJH6RRnrIbLFLvZPbRjWBI22470DyZctvLjJ/31ClbyKYXsVlT0W+OM8Yrcva0R+fBJWJkqQJLGLGy9x0kEqf90keVGxlFftjbaDbLEbCHbr6H4hOYj1YanfxdyO3mBYE/qy7j+Cvu4nlJAghBIShFBCghBKSBBCCQlCKCFBCCUkCKGEBCGUkCCEkoAgtMIQwfhYYWjk7XtrlLV605UFRawP0jXK2CqHrd6UVjn8pihXOWQFPtZJHa18zU7aVrFO6ki6Tupf2kbDYBdQ3rAAAAAASUVORK5CYII=",__glob_5_0=Object.freeze(Object.defineProperty({__proto__:null,default:ButtonAction$3},Symbol.toStringTag,{value:"Module"})),ButtonGroupAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQYAAAAkCAYAAABrJpS1AAAHP0lEQVR4Xu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cw6p0gc9PJzcjZcKJq11igxoOr8EpVZB2br03F1m3l2kecbt5glLbV2fjJtdyVbMfejt3FioFSdX7v245ZwyGJ2MLemBCpGDbXfC8AMAQlh6+7ujDzSHQ7PGNqVcKsZ+YdawhJWbGe2I5CSjCHbQWL9GYGwIcDEEDaPs72MgAYCTAwaILEIIxA2BJgYwuZxtpcR0ECAiUEDJBZhBMKGABND2DzO9jICGgjYxDCprhEO9fVr3MIijAAjkOsI2MSwwvoV5yc/PZDr9rJ9jAAjoIGATQwoi+Twxrao+JFUvhgBRiB8CJRaP3R8W+1p8C8TTuO8dy4srQAAAABJRU5ErkJggg==",__glob_5_1=Object.freeze(Object.defineProperty({__proto__:null,default:ButtonGroupAction$1},Symbol.toStringTag,{value:"Module"})),CheckboxAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291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hvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplOGZiZTM1My05YjU3LTg1NDktYTUzZC1mNGEyOTczMjg5MDAiIHN0RXZ0OndoZW49IjIwMjAtMDktMjVUMjI6NTU6NTArMDI6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5ls+OJAAAA9ElEQVRIx2P8//8/A20A46jRw9ToK89+zDny5vH7X8To5+dk9tDmCzMWJMpo9fqrn3/8I8mB/aEy4SaChI2WKr9Mqt/dtfjmx8vTxGgLRe51GUpUMzrUWDDVRiR45l1g6FHTaKC5E8NkgIye3S/79ryimtFwc1eeeV+4+gnVAgTTXJKNBhphpcQN14zHXNKM5uNgOlmhAcwOyEbgMpdkV2tLcqxJV4KbjsdccsIabvqxu1+tlLlxmUtmNMJNx2Mu+SkEYvqOq59wmUtR4pMRZH3y/jf9MjqdjIanHwJGu0y4fe35D5KMXpOmBElCo9XuqNHEAwBtu+zFxaW35AAAAABJRU5ErkJggg==",__glob_5_2=Object.freeze(Object.defineProperty({__proto__:null,default:CheckboxAction$1},Symbol.toStringTag,{value:"Module"})),DatePickerAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABAklEQVRYR2P8DwQMQwAwjjqUyrE0GqJUDlCG0RAdDVFqhwC1zRsZaXTfzc8MMfMeMOjJcDLsyFXBGYjEqsMXCxSFKLEOIFYd1R1avOYJw/LT78lOhkoibAyLEhUZQDSxgOQQPffoG4PP1LvEmo9TnY0KD8OqVEWizSHZobBoJNoGHAoJpWt0baMOJRTidAtRUi2COZzcEoDsqB91KI40M7JDFFsRBksqgyqNjjqUUJmHLE9M1I2GKLVDFJ95xMQINv3Dt3gaMs08ULQMiYYzKemZmmpJTqPUtJwUs0YdSkpoEaN2NESJCSVS1IyGKCmhRYza0RAlJpRIUTMaoqSEFjFqAZUEi5K0I7LfAAAAAElFTkSuQmCC",__glob_5_3=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerAction$1},Symbol.toStringTag,{value:"Module"})),DatePickerBody___Copy="/jarvis/assets/DatePickerBody - Copy.e34edde7.png",__glob_5_4=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerBody___Copy},Symbol.toStringTag,{value:"Module"})),DatePickerBody$3="/jarvis/assets/DatePickerBody.9cda2681.png",__glob_5_5=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerBody$3},Symbol.toStringTag,{value:"Module"})),DropdownAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAAAtCAYAAACK5cSoAAAC10lEQVR4nO2cS66DIBSG725cBkthFe0W2Ep3QNKxAwfMGTUmJG6hYdD0v4NqFUTqsw85X8Lg1gMe+ISiN/UPxO75+3QCxPaQ5AToSbbWQmsNpRTyPKfyQ0UpBa01rLXDkq21KIoCVVX1Aonvx1oLYwyKonD8OZK11qiq6u3JEetijIHW+vm3I7koCtxut7cnRayLtRZKqeffjuQ8z9+eELENXZckeaeQ5AQgyQlAkhOAJCcASU4AkpwAJDkBSHICbCq5FAxZlnUKh/SDJEeWMYgy2AIEy5Bxr1YpwJx2M2RMoPTr+TFe6Tfr5xvKq2l7KOemWwP9/QAbSZbgvYFvB9EZ3KmSJQ8Kig/qIx82aKUR59Wvz+XWq2MZAxs6X11v15Il7wt2jnU7P1Gy5IGZ/TgSERmXHMu3WTXaUzY5cfDAxfY4zsA527Hk3qB4SBmYLWMlDyzfL4lIfpUv/IugzSF4wZUCjAlIsWfJkk/r3MSZ3H5vThnAiOQx+ToxnZwCdUvBwERZ5zkux+v1ivP5/LLM/f/+6pKndA7ArI1Xf4MU+74FYpJH5evk2M1Jekv2Y6kW5fRxUErheDzicDgEy+l0wv1+H9may09K7h2P7oaB7SR7+Un+XNYnjwOGRS8RDPzIch2fpU1ofVs1dVO2ZLlGLbMWK3l7jjmSgb7opYKBT2y8/OOlAJsxA4PRg7vkbTZebv4SvNOPuZKBVvQagoFvuIXqfa918C+AF0Lm3V7NvYVqPqjbZsxpY4lkALhcLqsIBr7hYcjzc3821214wY+LJDDzF60IMx6G+PfuXtxSyWuy6WPNpvPRx5pt8PgdcyB2cCY+Koxa9ic91uw9hXNjk5FMfAckOQFIcgKQ5AQgyQlAkhOAJCcASU4AkpwAJDkBBiXTj9D3QfRH6FprGGPenhSxLtHXSTQvhjHG0IthfpBRL4ZpAukVT79ZRr3iidgnJDkB/gFZ5V9xAhrFTgAAAABJRU5ErkJggg==",__glob_5_6=Object.freeze(Object.defineProperty({__proto__:null,default:DropdownAction$1},Symbol.toStringTag,{value:"Module"})),IconButtonAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dH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+9d+AShYuxB9pKoyn5tu/XlNyubhgQHCdEoqsprq8B6/+y7+bf/4grp37ffLjr3lVmBx12VFKMZOHnKXIX5/nyrX3p/21ssWfvP+/cRy17e+MWR5ipmyomrbMAJfq/ceJMh7DhD2fWKfW9f/Pjz5cffrz/+fv7xY8e+RxblZxnCT7ttfP0Rt35GvNXuzzkbHhVtef/5O7OAHLs0FzMwxXz89vveo28MHBwBPlJTA8WkcGtmJFij3771dtm5D/uufz3x8s8vBgZZcQ47TQEvA4EoDS78GhmJbCx8+/Dj5sd/wMQows+qKMBKjBbG0XbIqNF4AQAuBSqJKIsJDgAAAABJRU5ErkJggg==",__glob_5_7=Object.freeze(Object.defineProperty({__proto__:null,default:IconButtonAction$1},Symbol.toStringTag,{value:"Module"})),IconState$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGnSURBVFhH7ZYxbsIwFEBzAzgCJ4AbwA24QY4AN8gNuEAlJCaWZmLqgDq1S8vQqQudulVI3Zgy9Yn/sVDi+DuoSls1TxaKP6mf/W1/mhQ/RCdujU7cGp04nu37NnvKaNpvyPXi7DlLbhKa9hvyF8SH42H3sdNOjXj/udcni1gxysF60F/1nbsqXr4u6c4f59oPEiVmrShFM3uYSbAk5p3eqicRvpJggCjx9G4qIy5eFhryrZg8D2+HErzcFC+2mGsjY6X3qYZOVMWAT4KTzURDNdhifDIWydTQCa8Y2AuJhw+aLZZRSsuFOjE+ifOChnwYYlYpo1zurlAnBjll7hh6McRug3nQ0JmAeLwZE+dT+z5+qxhk9PCGlYj5E1ssV3OUj7Rvkb/lIuZBQz5ssUtpNdteJM+cL+3XYItdLaRqlq5yFTdLc2tsMUj1p5HwQC10VnbHnGKUGNJz/WLd/NdRqkpsJzVSXiA9ZqGGWDG4BUnjVxKZ80ljrTFWaCAGzpecnWpjoczMzLCjmVggz1RQks8kaPjCN8fLNeJvoRO3Ridujf8mLoovUh8En0RV/EIAAAAASUVORK5CYII=",__glob_5_8=Object.freeze(Object.defineProperty({__proto__:null,default:IconState$1},Symbol.toStringTag,{value:"Module"})),InputAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAAeCAIAAACUvmYIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIwLTA5LTI2VDEwOjI2OjE2KzAyOjAwIiB4bXA6TWV0YWRhdGFEYXRl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abReQn5Hi7WJMNkSsSs+LgYN/TxNzklCIBhUEWaImwAN28BTUu4TgqNio+b5Sj/Nu/aUyYTtKVbt52J2HttNb9s2YZTAMDE9TodakNnvYv+lCKh/8ZXmelPSlCt2kBROqXKKSx2TfRkUPUPDGEAuLK/X4M/86Hv61VosZ8kJYVStfnZOyzkPHIAMwCuVtDdQ9asiGXplUq1FgBU/cpBDQEAQBGDfXK9QgUjE3fMqNmXFF0UPEVz54mXn68GtZ26LGHvvGNxn3a6s3SK/2js2NVFWphHEQOK3pzP0/pCzK8X9K1es+19JsCmjd+nrX9/dvOcsci9u22L9x1CAbj+IejG7FWnpmd+cmK7OGbNzHkhIaMqH9QIlp4PZMKx2MVlTikHE0KtZ26/FLhwwaHgcyv8R1j/ZfOX23ft2TLR5rc7RV72HoV1N9VVVreotFqKRkOAwoZ0XO/AqUFCtexxL4vv6UwTP261GDXGyQxIrby6ttNJMMbO/Ie8pAZ6nlRV1PWq1ATQUQQMuiHUwSs8IpjTXt+M8YSj7Zrr6wxWrqMdOWDQNdbUoY4CV3sUM+DdNTXNDAeTx5fSsx6vv3gyxAY6mkruFdVruT5hk7yhr4FyDnLBOpoUNPZg3e2qVgf/GR/42z3LC1zdUXSzqG2I7j72gz/42gAAGDBJcUGllj8zcrwZJa+8UVjeonMJCooYJ6QNKSru/5szLkRoawYAzQ1lDd286e+7d8rKiis7vUM/9LVFhrfn/x+gupsxXTT1i0vizorvdqWEzfvqJk79XkH+b95NMenV48eL20g94RAUumT+LC78XkGMb9HGeymjU6NTI+/k/pQkSalUiuM4ihp1v9nZimF8Pt/GxuYXnVIUJZfLdTodjUYz+noTtFotl8t90anx3B9+/gvEggiZ0cWaJgAAAABJRU5ErkJggg==",__glob_5_9=Object.freeze(Object.defineProperty({__proto__:null,default:InputAction$1},Symbol.toStringTag,{value:"Module"})),LastChangeBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG0AAAAOCAYAAAAlmJKiAAAEZElEQVRYR+1XSyitURRe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PycFSa2iM+idHyHHGVosKU0ENbX10dxcXGqr5ipTPqXuIGooKqqihX9GaTZU5oRUz1Hm6RJVXp4eCiQ5DtpqABtY2ND9SV7Yysu7Onpyb0EiS8uLqq+gmfx8fGqj4idin/D1np6eix6JgBGb4JaEa+/v1/1Cf2yiB8WFqaGK2s9T3IUS5Qeh1YBIvU8YWWRkZEcF3sXFhYsBhEze8TZ+F1oaCi7AsQwOTlp0dMODw+poqKC00RMKE16mllMNfIbp0a5pL3p0dZ/DeP0qE9FkrjR3nAxozL0CjTGw9Tq4uLCRaFPkPasWbdQWKJYro+PD/dW6Zt6njJgyPSKic84PVojTZ8ecZ7RtmV6RG7G4c6m0qxVouP774nAP/lz/T2h+DlZOUj7OVypTH8BJEFoBM4FibQAAAAASUVORK5CYII=",__glob_5_10=Object.freeze(Object.defineProperty({__proto__:null,default:LastChangeBody$1},Symbol.toStringTag,{value:"Module"})),LevelBody$4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAAcCAIAAABppSN0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAZNSURBVGhD7Zjbb9tUHMd9d+w4sZN0XZPe0y5jm0ZHNQQDtGlDDGk3DR5A/BlICCQmnpCAF1545RFeBhKXIbaJyy5UdFu3sSa9JW26pmubNs21sR3b8Y2z1ZuYEmedeJksf/IQn/P95ehnf3N+Ob/ApmlCLs4Fsd5dHIprsMNxDXY4rsEOxzXY4bgGOxzXYIfj9sHPIoYJ3S0ouaraxmADbSSGwpbw9LgGP4v8PS98+MPKUkkN+7Ezx8KnhlhLeHosg5Nr8ucX1iTV2JxtBQy/1Een80pR0KyZlsS2e+qamSkq1rgl+/u8BUHLFLYUfHwve2VOEGXdGrfkQJSZyysFXrXGLYluI8GWmc9vKY2hbhrc4MyqZI1b8sYu/817tYr4hEe3VFYXS/XN611hz5ljHZvXLRBloztI7OuirPFDLIN1AxLrW3pSAAyBdfCxre18FIZ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JkYhpkr4n/F0CDI5sbwdb34PjCIoYEMbe/z+gOQSq/vLTueGj7/SHWdSEDczDELbBUk2k2wcPPkdOywxmQghOgawsrQEtnzh78U7i1s06BMMoeEE40XwrAPS6Mbwv5mcYVeQRDAVr+ynblU2MOnj46OkTLybSWcxENJRkbRcG0dr8uhZpC9EBFtdNGPeg9jlD5QWx57VBlpDBY0RBw4pg9jmHBvYPyKlLYzPtHIfi4HnAfk/zwoDhBE3eX8eDU6B5Jz1g8KDe4J5H9R8Bv3d1vvbz+dETJw9Yc61AOyJdsVjn+PWRpNDZSTUvjIC5RFxHsamxq0Wdqa6Myf4oi9jeP2jPM8lbKbnj0PB+eXEMoUmO81taA9i25z/79IO3Th5/5fCbN349PxpfG4hut7QGKC6QuHr5n4n0kVNHx6/9fXvV12d/btj7wtDdZPLKX9MHXx7mc+MbdDRkn7OhG1w44mMYODTk5RMagbfIGQoMRIRkToGGXj4ydfm3GxPLOwfDltSAKpZXTTzSETn53tvx0dGRlBnr4CytAcrLYBi+a3fvZHwaItqiISWRuO0Pdz3K222THE7zE4SLY3ANdjiuwQ7HNdjhuAY7HNdgRwNB/wJZ7cm+RQ+62gAAAABJRU5ErkJggg==",__glob_5_11=Object.freeze(Object.defineProperty({__proto__:null,default:LevelBody$4},Symbol.toStringTag,{value:"Module"})),State$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAIAAADRv8uKAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVEhL7ZbfT9NAAMfb2mO02mWrq8HBsgQHSohRZJkzmhiMvqAx8cEX/0LiC0gWVDQYwR8xkYQwI0MYXTBzP5CuXEfX7do7WVc2DS/2pT7Yz8tdvnfXz931rilNCKH+BYxTeo4v9gxf7Bm+2DPcfTKtFixsy9CwaMAPXUhEePYoLG5mQTRxTuCO6iaqbuWNxEgMnCJaZbdQqiFM+oNSYjjW9+ca3a049/b5Wn7PIriSX1tY+HBgz/n7xnoZNjrTN1vlLxsFZGKtLL98/b5Yx3RT3c5905Dd/BvuxNLF1P3pu8nJ5O3UBFuX5Z9OfgICYUmjB2+lJydu3Hn4YEoMOA1d3InPRiV5/eNiZi6zsqqjFjKc/AR0RIqF8O787NzqVsmiGNrJe7gQo9rms5nZHQVHhkZTl0c4cDyWYLN7UFrIsstAOP7oyeP06MBe9s3T+ZWDJrbjHi7E+4ViA0jXp25euzomcABj51n9AFcUo6Ouft1p2CEhmNDc8JX0vekkq/5Q1E7co30s/xJpMMrlPi+/eBURGKMGTcrZv/j4pdzyUqYSF7CuAZ5vZ6SU//Quq0YlQd+v9p2PhUOn7b49XF0nrKsKbCDCsMEz3GG9zoUGhEB7p6Gq6E2LYblQmIWqJYpBgg5rqmZiimZAUBT57ns5xv/18Qxf7Bm+2DP+NzFF/QKbBOIv/M2tzAAAAABJRU5ErkJggg==",__glob_5_12=Object.freeze(Object.defineProperty({__proto__:null,default:State$3},Symbol.toStringTag,{value:"Module"})),SwitchAction$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAnCAYAAAB66tStAAADMUlEQVRoge3aS08TURgGYP4GP0BXuiJsDUEW/gJj4oqVC5PGFSZeiERrAZEq7gwJpFGDiVwadUCSWjeDQkSmw9hCKaYOU3R6IZly65y5vK6mDkRDOxcq47zJt+mqfXLynfOd0yb4cS1Njf4CXo6P62J8XBfj47oYH9fF+LguxpO4uq5D13VomnagjM+PK57BNYOqqgpFUUAIOVCKokBV1WOD9gSugaooCmRZxvNPBQTGeHSE02juYtHcxaIjnEZgjMdrpgRZlqEoShXZrZx4XF3XoaoqCCGILhXRGkpVQf9WraEUoktFEEKgqqprwCca14CtVCq4OblxJOrhujUloFKpuAb8T+DuEw10Zhujc0U8mP1ZU/W/+4G+6Rzuv/mOC49W6oY16sYE7xpww3GXc3sYei/WjFqFndlEL7WBzpG0ZVijJhfzIIQ43oMbiruc26sL1YzbOy3gXnQdp7s527itoRR2dnagKIo3cPeJVveKNapvZhOhtzwuP121DWvUxGcRsixD0zTHfmPDcOnMtuVV2zedQzD6DW0Pjz4Z1FpXX2Sxu7vraO9tGG49m9efWsLdyTTO9nx1DPf84CokSXK0NTQM1wqs0RJ6qQ30jDu3ao3a2tqqbmxO5MTi3nnlPG6xWPQG7uhHa23BjHumx/5Jwaj2wVXv4Frd0Mxt4Vy/c7hXIhnvtAWrRzHzhnbxCeMYbuTDunc2NMDaEGE+il0fncep2/ZXb0swiUwm452jmBEr468xRHS/5HDp8bxt3OHZFETRQ0OEOdWLmxo3OfP42zUyh/beL5Zhrz1bwdramrfGXzsxLscJISiVSkgkEghEknXDBiJJJBIJlEol713c2In5LlcURTAMg6GpRbQEj0ZuCSYxNLUIhmEgiqJ3rxztxAxcKBTAcRzi8TjC4wvoHE6ibeD3oNE2kELncBLh8QXE43FwHIdCoeD9y3I7MT/zSJIEnufBsixomkYsFgNFUaAoCrFYDDRNg2VZ8DwPSZL8Z55acviBslwuI5/PQxAEZLNZZLNZCIKAfD6PcrnsP1DWG/9p/Zji/ynkP4iP62J8XBfj47oYH9fF+Lgu5hcLggLTZHoINwAAAABJRU5ErkJggg==",__glob_5_13=Object.freeze(Object.defineProperty({__proto__:null,default:SwitchAction$3},Symbol.toStringTag,{value:"Module"})),TimePickerAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAACK0lEQVRYR2P8DwQMQwAwjjqUyrE0GqJUDlCG0RAdDVFqhwC1zRtNo6MhSkkIvP/2l2Hh8bcMO659Yrjz6ifDt1//wMYpibAxaEhwMESZCTE4qfNSYgXl5WjDlucMS06+gzsOl2v0ZDgZ2vylGIzkuMhyMNmZCRSKvlPvMNx78wtssZcOHxDzMzgCQ06Qixksdu7RN4ZDt78wLACG9qvPf8BirUDHJloJk+xYshyK7EgxXhaGvlAZvFELUt+y7TnD8tPvyXYsWQ4tXvMEbCkoDW7OVoGHIKFgmn/sLUP1xmcMXGxMDLvyVcH6iQUkOxQU1TbdN8Hmb8lWxkhz+25+ZoiZ94BhSZIC1lAOm32f4cidL+CkMidWnlh3kp6ZUhY/ZNh25RNDmq0IQ4OPJIZFhBwKSgam7TfAme9IqTrRoUpyiKrUXsVrCSGHgnwG82yZmzhDgbMYUaFKkkNh0Q7KQBdqNLFaQIxDYWmVlOgnyaEwR4DKxB25KmQ7lBhz0A2nmUNtVHgYZkbLYS0RaO5QYqIeFBIT9r5imHLgNThQchxEMdIhzaMeZDGhzASLMlDuLl37BFxCgMrLJj8peHFF88yEnGNxFU/oaQsUzUWrnzAkWAqDQ5ZuxROhAh9bDgM5Dlb/063ABzlkSFShIIcOmUYJumNB/EHZzENOh4O+4Yzs2CHRFSGqRUEFRSRVoVSwj2wjRh1KdtDh0DgaoqMhSu0QoLZ5o2mU2iEKAPVL95LPfsL/AAAAAElFTkSuQmCC",__glob_5_14=Object.freeze(Object.defineProperty({__proto__:null,default:TimePickerAction$1},Symbol.toStringTag,{value:"Module"})),TimePickerBody$3="/jarvis/assets/TimePickerBody.206dcd2f.png",__glob_5_15=Object.freeze(Object.defineProperty({__proto__:null,default:TimePickerBody$3},Symbol.toStringTag,{value:"Module"})),BlindLevelAction$2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAgCAYAAADe16AYAAACqElEQVR4nO2bwWoaQRjHfY19iwRCcsoz1FNzSC49lEIfYJ9AYqg3DxYbEii9FryGgB4E6SUg7EET2MQYYTFadWB1S8bRfw/LplqpVXbGcZj5w3dZwfnx8XNGdvdLAAAJGArVAfLlDjLX7a2uYrGoRH3M/5Deq2WVL3dQqA5AAgYASJCAIVt6xk1z9HpxW5O5bstGWDnbzkoChorrI1t6BgkYEoXqADfNkWyulbLtzZ2NKqwV10ehOkAiW3rGLzqRzbNSVGkuoA4rCRjy5Q4SqgAD6jQXUI/ViCAoqrEaEQRFNVYjgqCoxmpEEBTVWI0IgqIaq1Yi1Ov1tUom6yajnQjr3iaWybrJCBOh1ado9Sn37zUiiIkQETxCsXdax95pHR7hK4NOItx3X/Am56I3/Pfzn96QIZlz8dh7ibUWdxEiCSzbgWU73GXQSYRkzoVlOzjM3KHjjxc+7/hjHGbuYNkOkp/vY63FVQSPUOynQwmOLxo4vmjAsh3sp/nJoJMIrT7FbqoGy3ZwcHY7J4NHKA7ObmHZDnZTtdjHMDcRZneCk8sGKJuCsimOzh+47gw6iQAsyuAROtdrHhJErLFF+FuC8cyDTMqmOLlscJNBNxEA4KlPsTMjQ9TrnVQNT5z+kHMR4e2X8Ff//ltzToIo4wnw7usjLNvB0flDrLV0FAGY3xl47gRRuIjwc8iQvmqDLXmlgU2A9FUbvVG8N6B0FQH4IwNvCQBzQ0kpEYDwmOB1HMzGiKCYCKKinQie561VMlk3Ge1E2GRUYzUiCIpqrEYEQVGN1YggKKqxGhEERTVWM+AiKKqwhgMu3XDkreL6snlWiirNBdRhfR15i4ZgK65vhmA5ZttZF4Zgo4vhWHxX+rj2svrw6fvadwdllexe/a/y5e7cWPxv80HE6oK6uMAAAAAASUVORK5CYII=",__glob_5_16=Object.freeze(Object.defineProperty({__proto__:null,default:BlindLevelAction$2},Symbol.toStringTag,{value:"Module"})),LightColorAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAhCAYAAAAh3nDkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGRSURBVFhH7ZaxTsJAHMZ9DZ+C0a1P4FvwBg6GdDEMRBIS0olRNwcHN7ZuuEFi4gUCQiRq1IAElERCguSz4F85y/3vrijp0l/yLe31++V6ba87iJFEHguJ3I7XF/jlFg5yAk7mGruHX9nPNZC96KL2PKWBdtjJZyNUzuvYI5kuTrGNymBGF+oxy4cPyGfVIjYZgXz1jQp49PLJE7yo4p8IeOKditRo5COUvVBh4RY34w9g3MNJQXPsO5kGyn2qU8DKp9UmUnJRkLQ/orNAz6+zx+SkTh/BPYaMfICz498ly0Sd+TJN+GOqDaGW97tIr5VsHk9Qbwi1/Kq1ujiY2d3izZkFd0M5MynMWHlpZJRyee1MayqHG7ux3LymUpixXoOKQ5hv+19z1IGYU2+ILT9w+g+NWs69apEi4F4OqU8NI1d/ZKziCqRLHavNhZUrP69MPGG3i4XRyAMsN5ZU6R7mPWwdvXyB1ZbaRo2GR8EsX2D4mdjezGXoN8otrH6jnGLwHk/ofESiyf+ZRB4LiTwGgE+HYFBe7T7hHwAAAABJRU5ErkJggg==",__glob_5_17=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorAction$1},Symbol.toStringTag,{value:"Module"})),LightColorBody$3="/jarvis/assets/LightColorBody.e91ee812.png",__glob_5_18=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorBody$3},Symbol.toStringTag,{value:"Module"})),LightColorState$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAjCAIAAACVTvQzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAATeSURBVEhL7ZV9TBNnHMfvWlrkHS0wUIQ5XuRdBSdkcWNRmHOQhTgNmy6ZLAJZtmXJnHPZMBDnDDqt0T/QqUHrptSJ002KKDgi40VBRXlvoaXY46Wlte9H7653t+e4UySpQJb4z8Lnn/u9Pc/37ve8HEzTNPSS4XHPl8m8xtz5jxqU06FGDJwzGy/cV1aNfOePJyIiRALvuK8+38TnwhyoeWj/yfZ9u3KAfauy7J7SOo70xGR9twip7jc4kf77mV+Uvb8ygC2GgIZLzINdxcdqaZo6VVpkpKhHdZVnJecem0kKM0h/lUik0u8PXuFKARR6YNduq5NiTNy4e2cxyZgcM/VK3VF7VHzAK2WzvaumesR77eoI8eHyP345Ers+NzM+2E5yZYCxrmav9I+9+TCw5S03V+Xm8xiTYyaNV5Myt+e+rejsNhgQUZAPSvp8lrdhaJwfGSD0C13iMTUL9ff1hpw3oxiTdshudm5MCpmMc8yy5n5L0pK9VCo6UVUnGxgY0Ois76SJSk9XXqq4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q36rvEYuXLMpPS4sHBBqNkxkrE9jpwLMn8G58//QgKB/Af1YrLbYrth+AAAAAElFTkSuQmCC",__glob_5_19=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorState$1},Symbol.toStringTag,{value:"Module"})),LightHueAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAhCAYAAAAh3nDkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGRSURBVFhH7ZaxTsJAHMZ9DZ+C0a1P4FvwBg6GdDEMRBIS0olRNwcHN7ZuuEFi4gUCQiRq1IAElERCguSz4F85y/3vrijp0l/yLe31++V6ba87iJFEHguJ3I7XF/jlFg5yAk7mGruHX9nPNZC96KL2PKWBdtjJZyNUzuvYI5kuTrGNymBGF+oxy4cPyGfVIjYZgXz1jQp49PLJE7yo4p8IeOKditRo5COUvVBh4RY34w9g3MNJQXPsO5kGyn2qU8DKp9UmUnJRkLQ/orNAz6+zx+SkTh/BPYaMfICz498ly0Sd+TJN+GOqDaGW97tIr5VsHk9Qbwi1/Kq1ujiY2d3izZkFd0M5MynMWHlpZJRyee1MayqHG7ux3LymUpixXoOKQ5hv+19z1IGYU2+ILT9w+g+NWs69apEi4F4OqU8NI1d/ZKziCqRLHavNhZUrP69MPGG3i4XRyAMsN5ZU6R7mPWwdvXyB1ZbaRo2GR8EsX2D4mdjezGXoN8otrH6jnGLwHk/ofESiyf+ZRB4LiTwGgE+HYFBe7T7hHwAAAABJRU5ErkJggg==",__glob_5_20=Object.freeze(Object.defineProperty({__proto__:null,default:LightHueAction$1},Symbol.toStringTag,{value:"Module"})),LightHueBody$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAATCAIAAACY85GhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJDSURBVGhD7VnNitRAEK7+zcysLIu6Fy8Ksl78wYMvsPgCHn0JEYS97oKPoHj25mv4BOJNQVTEi+xFD7NJdpJ0tzXppCc/M84kpxj6o6j56qO7q4cakuoeYowBj/GCFp8eI4Uv8MjhCzxy9HwH4yw3keSw3GNo6FxgHK+USnMgZ4yJHJT6h8EQQczJC/j2CQIACUtfJa3QSMiYiVjAHp6Kq/dwvlZJcv5GmPeTfUKnBMdoDpcAi5a1xYaCYdISNfBV+trOdtjuWq7YanXM53g1rOrbOM1WOSYlcSFmrYptxYqOU0hrq+/Eq2I9vHtEjACYAsxy70gjLImeQEgJefxW3H5qfyBLmCT6fjybfZAHQGagJESw3WKAsCToG9wSNLX81ps31ENPebE6ekcaYRedJcultxrm3isJ+ga3BC3/9dUT1EhXPe72XFUakulNcetJEVsQya89WyRgdCF4DAamY4ENZOIQGD5UaiDiKM3A35gMEN0KjL2yic9Nhi/KGtTlZ99HDxNY4A6VYRRo9DP+8g4LXUjI1MXFr1dS4HmpUDyGAkKJeXkGX8su2prjLVELiI36ndLgwfP9G4/w+Jssoj8/Xk/5x4PrXOwVXXSjmbOk6nch1pdd9IYNrQ//OR67aJfAmuNrxXZYH++6aJvDkarfhVhPIWsmWMMb4ebx9+90PgfjITiO4/l8Hoah1joIgis5pJT+umOA6HOThXXNctiLDs45el/dYaL/34Vuoi/tkNG/wB7/BfwF8sjhCzxqAPwFlMKIthY4sxIAAAAASUVORK5CYII=",__glob_5_21=Object.freeze(Object.defineProperty({__proto__:null,default:LightHueBody$3},Symbol.toStringTag,{value:"Module"})),SaturationSliderBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAAATCAYAAAAtQbmFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAVzSURBVGhD7ZrZS11HHMd/1yVucde6NEJEFCIuaEXBl9IHFWwr1KciFB/8E/pa+mbTh1CRPrfuxbjXgKIRDURbLWqsUaxV3KJGjBoX3L33Nt+fZy6Tc+/VnONbnQ8M81vm/DLnOL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/BExULAHxsAxw9LSEt/61NXVcafPz885KcyAJMCtSGNjI/X19dHBwQH30QwYZI8ePaKZmRkKDQ2lqqoqzWOc/v5+ysjIoFevXlF8fDxVV1drHuNUVFTw3h63I7glqa+v1zzGKS4u5glkamqKbwQfP36seYyDCXFoaIgTArGQaGZBsuOWEjEQC2PMKPj74TlMRLiVQhJAx1jjZMCLBwcHc8HhxCy4akxPT2cZiRAWFsYzlRkwOJAQuAvGwSskJIQTwgw4MKNfmFHQR7wn7qrNUF5ezgdUJD3eD/HMkpWVxZcDg4OD/H43ibW3t0dv377llRnvhz6aBbHEITwoKMhxsDcDDuD4/oiJWDchMTGRkx1jFAdgM2P1/v37/Cwm7piYGL7uBThIczJg1sRsKe6obwL+IcTAYH727Bk9ePBA8xgDGYzZ5Pnz53wrNTIywjHNgCRoaGig7Oxsns0xYPAhzFBZWUklJSVUVFRE3d3dlJKSonmMg98qsCIXFBRQa2srpaamah7jIMb8/Dzl5eXxqoDVwSyYhPLz8/lvh+0SVi+zxMXF8YSIb19TU8MTgFkwkAsLCyk3N5f7lZOTo3mMgThifELGb1jom/ov3AqFhro/VSg0VDIoFBoqGRQKhug/L91Z+uDzpAMAAAAASUVORK5CYII=",__glob_5_22=Object.freeze(Object.defineProperty({__proto__:null,default:SaturationSliderBody$1},Symbol.toStringTag,{value:"Module"})),WhiteSliderBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAANCAYAAAAuTWUdAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJiSURBVGhD7Vc9b9NQFD3PSdy0iFQtqirBhBhYGBgYWPgDLIztyta/gITEhMTPgBVYkBADAzsCxIDEBAMVtFKlqipKnKQ4Nve8+FnXrtNkqOrB70gn99xz73OivA/bJhXAw6MmBFn08KgFfgF61Aq/ABuIv6MJPv+K8PvoX+bUB/8M2CBwpl9+OcLjN3uIThIEgcH2nTU8fXAVYdtkXRcLM/r0Lu2/fobkpA+06AgZeTZqVtXOu8/5Oq/yZ/WQ9rpt+VjKGEqe6UJU/qI9NroaY4gEbUxkYi3FjYXUceYx19r1Wi/rL9fzXHsSE50LT40RrWPBE46OY3x9f4iYicL12z3gxkreb4+khELxrHxWzUWi5K12Ajy6lcLsb11Jk8HhdOLcxDpdzhfRVTWuB0at59X0+Cp9Vk0WBkxXxLKQUWhEO68QWXO59kTraJnV81pX/s9OPtkkb2o2as9pqTnNyMnWua3LBOk+R16X60b7+ZgKL9fKG/wcYvg9ElXEpNdG/+6q7eN3cKHbhUISTpOsubru07n2dX/JW9/9iKC1timZRxNgWjNus9y0NWDj8jJMfLCbDj+8QDIeTE8R/sZyrPLOu8fpRXrn9fAftbfhjpAx0wWvlBvVa3WFf8rryEYOphtbdjQjTzVqF11N5/aUYa51qVY5Xnl63KLXHkUJnr/aw3HEEVPIYyC2729i5Vo3789PLUei7M3zeSGny3VhLwzw8GboX0Kahm9/hnjydh8/DsZYv9TCzr0NbMmLiOHmrQF+ATYQPBHHsbw+yfHXmXVbviD4BehRK+wTk4dHPQD+A86mjUXjJGn3AAAAAElFTkSuQmCC",__glob_5_23=Object.freeze(Object.defineProperty({__proto__:null,default:WhiteSliderBody$1},Symbol.toStringTag,{value:"Module"})),BlindLevelAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAgCAYAAADe16AYAAACqElEQVR4nO2bwWoaQRjHfY19iwRCcsoz1FNzSC49lEIfYJ9AYqg3DxYbEii9FryGgB4E6SUg7EET2MQYYTFadWB1S8bRfw/LplqpVXbGcZj5w3dZwfnx8XNGdvdLAAAJGArVAfLlDjLX7a2uYrGoRH3M/5Deq2WVL3dQqA5AAgYASJCAIVt6xk1z9HpxW5O5bstGWDnbzkoChorrI1t6BgkYEoXqADfNkWyulbLtzZ2NKqwV10ehOkAiW3rGLzqRzbNSVGkuoA4rCRjy5Q4SqgAD6jQXUI/ViCAoqrEaEQRFNVYjgqCoxmpEEBTVWI0IgqIaq1Yi1Ov1tUom6yajnQjr3iaWybrJCBOh1ado9Sn37zUiiIkQETxCsXdax95pHR7hK4NOItx3X/Am56I3/Pfzn96QIZlz8dh7ibUWdxEiCSzbgWU73GXQSYRkzoVlOzjM3KHjjxc+7/hjHGbuYNkOkp/vY63FVQSPUOynQwmOLxo4vmjAsh3sp/nJoJMIrT7FbqoGy3ZwcHY7J4NHKA7ObmHZDnZTtdjHMDcRZneCk8sGKJuCsimOzh+47gw6iQAsyuAROtdrHhJErLFF+FuC8cyDTMqmOLlscJNBNxEA4KlPsTMjQ9TrnVQNT5z+kHMR4e2X8Ff//ltzToIo4wnw7usjLNvB0flDrLV0FAGY3xl47gRRuIjwc8iQvmqDLXmlgU2A9FUbvVG8N6B0FQH4IwNvCQBzQ0kpEYDwmOB1HMzGiKCYCKKinQie561VMlk3Ge1E2GRUYzUiCIpqrEYEQVGN1YggKKqxGhEERTVWM+AiKKqwhgMu3XDkreL6snlWiirNBdRhfR15i4ZgK65vhmA5ZttZF4Zgo4vhWHxX+rj2svrw6fvadwdllexe/a/y5e7cWPxv80HE6oK6uMAAAAAASUVORK5CYII=",__glob_5_24=Object.freeze(Object.defineProperty({__proto__:null,default:BlindLevelAction$1},Symbol.toStringTag,{value:"Module"}));const actions$1={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};actions$1.defaultMerge;function defaultMetaDataUpdater(t,r){return r}function defaultFilterValues(t,r){return t.filter(o=>o!==void 0)}var ObjectType;(function(t){t[t.NOT=0]="NOT",t[t.RECORD=1]="RECORD",t[t.ARRAY=2]="ARRAY",t[t.SET=3]="SET",t[t.MAP=4]="MAP",t[t.OTHER=5]="OTHER"})(ObjectType||(ObjectType={}));function getObjectType(t){return typeof t!="object"||t===null?0:Array.isArray(t)?2:isRecord(t)?1:t instanceof Set?3:t instanceof Map?4:5}function getKeys(t){const r=new Set;for(const o of t)for(const a of[...Object.keys(o),...Object.getOwnPropertySymbols(o)])r.add(a);return r}function objectHasProperty(t,r){return typeof t=="object"&&Object.prototype.propertyIsEnumerable.call(t,r)}function getIterableOfIterables(t){return{*[Symbol.iterator](){for(const r of t)for(const o of r)yield o}}}const validRecordToStringValues=new Set(["[object Object]","[object Module]"]);function isRecord(t){if(!validRecordToStringValues.has(Object.prototype.toString.call(t)))return!1;const{constructor:r}=t;if(r===void 0)return!0;const o=r.prototype;return!(o===null||typeof o!="object"||!validRecordToStringValues.has(Object.prototype.toString.call(o))||!o.hasOwnProperty("isPrototypeOf"))}function mergeRecords$1(t,r,o){const a={};for(const u of getKeys(t)){const d=[];for(const y of t)objectHasProperty(y,u)&&d.push(y[u]);if(d.length===0)continue;const g=r.metaDataUpdater(o,{key:u,parents:t}),v=mergeUnknowns(d,r,g);v!==actions$1.skip&&(u==="__proto__"?Object.defineProperty(a,u,{value:v,configurable:!0,enumerable:!0,writable:!0}):a[u]=v)}return a}function mergeArrays$1(t){return t.flat()}function mergeSets$1(t){return new Set(getIterableOfIterables(t))}function mergeMaps$1(t){return new Map(getIterableOfIterables(t))}function mergeOthers$1(t){return t.at(-1)}const mergeFunctions={mergeRecords:mergeRecords$1,mergeArrays:mergeArrays$1,mergeSets:mergeSets$1,mergeMaps:mergeMaps$1,mergeOthers:mergeOthers$1};function deepmerge(...t){return deepmergeCustom({})(...t)}function deepmergeCustom(t,r){const o=getUtils(t,a);function a(...u){return mergeUnknowns(u,o,r)}return a}function getUtils(t,r){var o,a,u;return{defaultMergeFunctions:mergeFunctions,mergeFunctions:{...mergeFunctions,...Object.fromEntries(Object.entries(t).filter(([d,g])=>Object.hasOwn(mergeFunctions,d)).map(([d,g])=>g===!1?[d,mergeFunctions.mergeOthers]:[d,g]))},metaDataUpdater:(o=t.metaDataUpdater)!=null?o:defaultMetaDataUpdater,deepmerge:r,useImplicitDefaultMerging:(a=t.enableImplicitDefaultMerging)!=null?a:!1,filterValues:t.filterValues===!1?void 0:(u=t.filterValues)!=null?u:defaultFilterValues,actions:actions$1}}function mergeUnknowns(t,r,o){var d,g;const a=(g=(d=r.filterValues)==null?void 0:d.call(r,t,o))!=null?g:t;if(a.length===0)return;if(a.length===1)return mergeOthers(a,r,o);const u=getObjectType(a[0]);if(u!==0&&u!==5){for(let v=1;v {'{}'} ], disablePadding [ true | false ], width, style, headerStyle, classes, visible [ true | false ]","config#JsonTable#thead#placeholder":`[{'{ "field": "originale Spalten-ID (muss eindeutig sein)", "label": "eigener Spaltenbezeichner", "align": "[ left | center | right ]", "sortable": "[ true | false ]", "format": val => {}, "mask": "dd.MM.yyyy HH:mm", "classes": "eigeneCssKlasse" }'}]`,"config#JsonTable#object#label":"Objekt-Modus","config#JsonTable#object#description":`Quelldaten liegen als Objekt {'{ "key": "value", ... }'} und nicht als Liste / Array vor`,"config#JsonTable#sortable#label":"Sortierung","config#JsonTable#sortable#description":"M\xF6glichkeit zur Sortierung (de)aktivieren","config#JsonTable#sortColumn#label":"Spalte (Sortierung)","config#JsonTable#sortColumn#description":"Spalte f\xFCr die initiale Sortierung ","config#JsonTable#sortDirection#label":"Sortierrichtung","config#JsonTable#sortDirection#description":"Sortierrichtung (aus = aufsteigend, an = absteigend)","config#JsonTable#rowsPerPage#label":"Datens\xE4tze je Seite","config#JsonTable#rowsPerPage#description":"Anzahl der Datens\xE4tze je Seite (0 = alle)","config#JsonTable#max#label":"Max. Eintr\xE4ge","config#JsonTable#max#description":"maximale Eintr\xE4ge die gezeigt werden sollen (0 = aus)","config#JsonTable#dense#label":"Kompakte Ansicht","config#JsonTable#dense#description":"Aktiviere kompakte Ansicht f\xFCr die Zeilen","config#JsonTable#hideFilter#label":"Suchleiste verstecken","config#JsonTable#hideColumnsSelector#label":"Spaltenauswahl verstecken","config#JsonTable#hideFullscreenButton#label":"Vollbild-Button verstecken"},__glob_8_99=Object.freeze(Object.defineProperty({__proto__:null,default:de$m},Symbol.toStringTag,{value:"Module"})),en$l={"JsonTable#description":"Displays a table based on a JSON structure.","config#JsonTable#thead#label":"Columns","config#JsonTable#thead#description":"Configuration of the displayed columns with the options: label, align [ left | center | right ], sortable [ true | false ], noWrap [ true | false ], format [ val => {'{}'} ], disablePadding [ true | false ], width, classes, visible [ true | false ]","config#JsonTable#thead#placeholder":`[{'{ "field": "Field ID (must be unique)", "label": "custom label", "align": "[ left | center | right ]", "sortable": "[ true | false ]", "format": val => {}, "mask": "dd.MM.yyyy HH:mm", "classes": "ownCssClass" }'}]`,"config#JsonTable#object#label":"Object-Mode","config#JsonTable#object#description":`Source data is object-formatted {'{ "key": "value", ... }'} (not a list / array)`,"config#JsonTable#sortable#label":"Sortation","config#JsonTable#sortable#description":"Enable / disable sortation","config#JsonTable#sortColumn#label":"Column (Sortation)","config#JsonTable#sortColumn#description":"Column for initial sortation","config#JsonTable#sortDirection#label":"Sort Direction","config#JsonTable#sortDirection#description":"Direction of sortation (off for ascending, on for descending)","config#JsonTable#rowsPerPage#label":"Rows per page","config#JsonTable#rowsPerPage#description":"Amount of rows per page (0 = all)","config#JsonTable#max#label":"Max. entries","config#JsonTable#max#description":"Maximum entries to show (0 = off)","config#JsonTable#dense#label":"Dense","config#JsonTable#dense#description":"Activate smaller / densed rows","config#JsonTable#hideTopBar#label":"Hide search bar","config#JsonTable#hideColumnsSelector#label":"Hide column select","config#JsonTable#hideFullscreenButton#label":"Hide fullscreen button"},__glob_8_100=Object.freeze(Object.defineProperty({__proto__:null,default:en$l},Symbol.toStringTag,{value:"Module"})),ru$m={"JsonTable#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 JSON","config#JsonTable#thead#label":"\u041A\u043E\u043B\u043E\u043D\u043A\u0438","config#JsonTable#thead#description":"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0441 \u043E\u043F\u0446\u0438\u044F\u043C\u0438","config#JsonTable#thead#placeholder":'[{ "\u043F\u043E\u043B\u0435"',"config#JsonTable#object#label":"\u041E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C","config#JsonTable#object#description":"\u0418\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u0430 { '\u043A\u043B\u044E\u0447","config#JsonTable#sortable#label":"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430","config#JsonTable#sortable#description":"\u0420\u0430\u0445\u0440\u0435\u0448\u0438\u0442\u044C / \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443","config#JsonTable#sortColumn#label":"\u041A\u043E\u043B\u043E\u043D\u043A\u0430 (\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430)","config#JsonTable#sortColumn#description":"\u041A\u043E\u043B\u043E\u043D\u043A\u0430 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0439 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438","config#JsonTable#sortDirection#label":"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438","config#JsonTable#sortDirection#description":"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 (\u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E - \u043F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E - \u043F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E)","config#JsonTable#rowsPerPage#label":"\u0421\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435","config#JsonTable#rowsPerPage#description":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 (0 - \u0432\u0441\u0435)","config#JsonTable#max#label":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445","config#JsonTable#max#description":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F (0 - \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E)","config#JsonTable#dense#label":"\u0421\u0436\u0430\u0442\u043E","config#JsonTable#dense#description":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0436\u0430\u0442\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0441\u0442\u0440\u043E\u043A","config#JsonTable#hideFilter#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u043F\u043E\u0438\u0441\u043A\u0430","config#JsonTable#hideColumnsSelector#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0441\u0442\u043E\u043B\u0431\u0446\u0430","config#JsonTable#hideFullscreenButton#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u043D\u043E\u043F\u043A\u0443 \u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D"},__glob_8_101=Object.freeze(Object.defineProperty({__proto__:null,default:ru$m},Symbol.toStringTag,{value:"Module"})),de$l={"Map#description":"Zeigt eine Karte von OpenStreetMap und visualisiert darauf Datenpunkte mit Koordinaten.","config#Map#rotation#label":"Rotation","config#Map#defaultZoom#label":"Zoom","config#Map#defaultPosition#label":"initiale Koordinaten auf der Karte","config#Map#defaultPosition#description":"Latitude und Longitude mit Komma separiert (z. B. 53.550383, 9.992376)","config#Map#followDevice#label":"Ger\xE4t folgen","config#Map#followDevice#description":"Folgt dem ausgew\xE4hlten Ger\xE4t, wenn sich die Koordinaten ver\xE4ndern","config#Map#tooltipDirection#label":"Richtung in die der Tooltip \xF6ffnet","config#Map#tooltipDirection#description":"m\xF6gliche Werte: dynamisch erkennen, zentriert, oben, links, rechts or unten","config#Map#tooltipDirection#selection#auto":"dynamisch erkennen","config#Map#tooltipDirection#selection#center":"zentriert","config#Map#tooltipDirection#selection#top":"oben","config#Map#tooltipDirection#selection#left":"links","config#Map#tooltipDirection#selection#right":"rechts","config#Map#tooltipDirection#selection#bottom":"unten","config#Map#tooltipPermanent#label":"Permanenter Tooltip","config#Map#tooltipPermanent#description":"Angabe ob der Tooltip permanent ist (true) oder nur beim r\xFCberfahren mit der Maus gezeigt wird (false)","config#Map#height#label":"H\xF6he der Karte","config#Map#height#description":"H\xF6he der Karte in Pixeln (wird im Vollbildmodus ignoriert)","Jump to":"springen zu"},__glob_8_102=Object.freeze(Object.defineProperty({__proto__:null,default:de$l},Symbol.toStringTag,{value:"Module"})),en$k={"Map#description":"Displays a OpenStreetMap and visualizes states with coordinates on it.","config#Map#rotation#label":"Rotation","config#Map#defaultZoom#label":"Zoom","config#Map#defaultPosition#label":"initial Map Coordinates","config#Map#defaultPosition#description":"Separate latitude and longitude via comma (e.g. 53.550383, 9.992376)","config#Map#followDevice#label":"Follow Device","config#Map#followDevice#description":"Follows the device when the coordinates change","config#Map#tooltipDirection#label":"Direction tooltip will open","config#Map#tooltipDirection#description":"possible directions to open: detect dynamically, center, top, left, right or bottom","config#Map#tooltipDirection#selection#auto":"detect dynamically","config#Map#tooltipDirection#selection#center":"center","config#Map#tooltipDirection#selection#top":"top","config#Map#tooltipDirection#selection#left":"left","config#Map#tooltipDirection#selection#right":"right","config#Map#tooltipDirection#selection#bottom":"bottom","config#Map#tooltipPermanent#label":"permanent tooltip","config#Map#tooltipPermanent#description":"Option to keep tooltip permanently open (true) or only open on mouse-over (false)","config#Map#height#label":"Height of the Map","config#Map#height#description":"Height of the Map in Pixels (will be ignored in fullscreen mode)"},__glob_8_103=Object.freeze(Object.defineProperty({__proto__:null,default:en$k},Symbol.toStringTag,{value:"Module"})),ru$l={"Map#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043A\u0430\u0440\u0442\u0443 OpenStreetMap \u0438 \u043E\u0431\u044A\u0435\u043A\u0442\u044B \u043D\u0430 \u043D\u0435\u0439 \u043F\u043E \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u0430\u043C","config#Map#rotation#label":"","config#Map#defaultZoom#label":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0441\u0448\u0442\u0430\u0431 \u043A\u0430\u0440\u0442\u044B","config#Map#defaultPosition#label":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B","config#Map#defaultPosition#description":"\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435 \u0448\u0438\u0440\u043E\u0442\u0443 \u0438 \u0434\u043E\u043B\u0433\u043E\u0442\u0443 \u0437\u0430\u043F\u044F\u0442\u043E\u0439 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440: 53.550383, 9.992376)","config#Map#followDevice#label":"","config#Map#followDevice#description":"","config#Map#tooltipDirection#label":"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F tooltip \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F","config#Map#tooltipDirection#description":"\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F","config#Map#tooltipDirection#selection#auto":"\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438","config#Map#tooltipDirection#selection#center":"\u0446\u0435\u043D\u0442\u0435\u0440","config#Map#tooltipDirection#selection#top":"\u0432\u0435\u0440\u0445","config#Map#tooltipDirection#selection#left":"\u043B\u0435\u0432\u043E","config#Map#tooltipDirection#selection#right":"\u043F\u0440\u0430\u0432\u043E","config#Map#tooltipDirection#selection#bottom":"\u043D\u0438\u0437","config#Map#tooltipPermanent#label":"\u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u044B\u0439 tooltip","config#Map#tooltipPermanent#description":"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C tooltip \u0432\u0441\u0435\u0433\u0434\u0430 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C (true) \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0438 \u043C\u044B\u0448\u043A\u0438","config#Map#height#label":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043A\u0430\u0440\u0442\u044B","config#Map#height#description":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043A\u0430\u0440\u0442\u044B \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u0430\u0445 (\u0431\u0443\u0434\u0435\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435)","Jump to":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A"},__glob_8_104=Object.freeze(Object.defineProperty({__proto__:null,default:ru$l},Symbol.toStringTag,{value:"Module"})),de$k={"MediaControl#description":"Zeigt ein Multimedia-Player an (z. B. Spotify).","config#MediaControl#adapter#label":"Musik Adapter","config#MediaControl#player#label":"Player ID","config#MediaControl#player#info":"Identifier des Abspielger\xE4ts (nur Alexa2 und Plex)","config#MediaControl#coverMode#label":"Cover Modus","config#MediaControl#coverMode#info":"Zeigt das gesamte Cover (true) oder nutzt die gesamte Breite (was das Cover abschneidet) (false)","config#MediaControl#coverHeight#label":"Cover H\xF6he","config#MediaControl#coverUrl#label":"Cover Prefix URL","config#MediaControl#coverUrl#info":"Notwendige vorangestellte URL, um das Cover-Bild zu laden (nur Plex)","repeat off":"Wiederholung ist aus","repeat item":"Element wird wiederholt","repeat all":"alles wird wiederholt","shuffle is off":"zuf\xE4llige Wiedergabe ist aus","shuffle is on":"zuf\xE4llige Wiedergabe ist an"},__glob_8_105=Object.freeze(Object.defineProperty({__proto__:null,default:de$k},Symbol.toStringTag,{value:"Module"})),en$j={"MediaControl#description":"Displays a multimedia player (e.g. Spotify).","config#MediaControl#adapter#label":"Music Adapter","config#MediaControl#player#label":"Player ID","config#MediaControl#player#info":"Identifier of the Player (only Alexa2 and Plex)","config#MediaControl#coverMode#label":"Cover Mode","config#MediaControl#coverMode#info":"Whether to display the full cover (true) or take the full width (which cuts the picture) (false)","config#MediaControl#coverHeight#label":"Cover Height","config#MediaControl#coverUrl#label":"Cover Prefix URL","config#MediaControl#coverUrl#info":"Required prepended URL to retrieve the cover picture (only Plex)"},__glob_8_106=Object.freeze(Object.defineProperty({__proto__:null,default:en$j},Symbol.toStringTag,{value:"Module"})),ru$k={"MediaControl#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, Spotify)","config#MediaControl#adapter#label":"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0434\u0430\u043F\u0442\u0435\u0440","config#MediaControl#player#label":"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044F","config#MediaControl#player#info":"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044F (\u0442\u043E\u043B\u044C\u043A\u043E Alexa2 \u0438 Plex)","config#MediaControl#coverMode#label":"\u0420\u0435\u0436\u0438\u043C \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverMode#info":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0441\u044E \u043E\u0431\u043B\u043E\u0436\u043A\u0443 (true) \u0438\u043B\u0438 \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435 (\u0441 \u043E\u0431\u0440\u0435\u0437\u043A\u043E\u0439 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F) (false)","config#MediaControl#coverHeight#label":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverUrl#label":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441 URL \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverUrl#info":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 URL \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u043B\u043E\u0436\u043A\u0438 (\u0442\u043E\u043B\u044C\u043A\u043E Plex)","repeat off":"\u043F\u043E\u0432\u0442\u043E\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D","repeat item":"\u043F\u043E\u0432\u0442\u043E\u0440 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","repeat all":"\u043F\u043E\u0432\u0442\u043E\u0440 \u0432\u0441\u0435\u0433\u043E","shuffle is off":"\u043F\u0435\u0440\u0435\u043C\u0435\u0448\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E","shuffle is on":"\u043F\u0435\u0440\u0435\u043C\u0435\u0448\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E"},__glob_8_107=Object.freeze(Object.defineProperty({__proto__:null,default:ru$k},Symbol.toStringTag,{value:"Module"})),de$j={"ScriptStatus#description":"Zeigt alle Skripte mit dem jeweiligen Status an.","config#ScriptStatus#switch#label":"Schalten erlauben","config#ScriptStatus#switch#description":"Das An- bzw. Abschalten von Skripten erlauben","config#ScriptStatus#expanded#label":"Ordner aufklappen","config#ScriptStatus#expanded#description":"Alle Ordner standardm\xE4\xDFig aufklappen","config#ScriptStatus#list#label":"Liste angezeigter Skripte","config#ScriptStatus#list#description":"Liste der Skripte, die angezeigt werden (leere Liste zeigt alle Skripte)","config#ScriptStatus#list#values":"Namen der Skripte mit Komma separiert","config#ScriptStatus#blacklist#label":"Liste nicht angezeigter Skripte","config#ScriptStatus#blacklist#description":"Zeigt alle Skripte, au\xDFer die hier angegebenen","config#ScriptStatus#blacklist#values":"Namen der Skripte mit Komma separiert"},__glob_8_108=Object.freeze(Object.defineProperty({__proto__:null,default:de$j},Symbol.toStringTag,{value:"Module"})),en$i={"ScriptStatus#description":"Displays a list of all scripts including their status","config#ScriptStatus#switch#label":"Enable Switch","config#ScriptStatus#switch#description":"Allow to switch scripts on / off","config#ScriptStatus#expanded#label":"Expand Tree","config#ScriptStatus#expanded#description":"Expand all folders by default","config#ScriptStatus#list#label":'List of Script"s',"config#ScriptStatus#list#description":"List of script to show (empty shows all scripts)","config#ScriptStatus#list#values":"Script names separated by comma","config#ScriptStatus#blacklist#label":'List of Script"s to hide',"config#ScriptStatus#blacklist#description":"Shows all scripts except the ones listed here","config#ScriptStatus#blacklist#values":"Script names separated by comma"},__glob_8_109=Object.freeze(Object.defineProperty({__proto__:null,default:en$i},Symbol.toStringTag,{value:"Module"})),ru$j={"ScriptStatus#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0438 \u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432","config#ScriptStatus#switch#label":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C","config#ScriptStatus#switch#description":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C / \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442\u044B","config#ScriptStatus#expanded#label":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0434\u0435\u0440\u0435\u0432\u043E","config#ScriptStatus#expanded#description":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u043F\u0430\u043F\u043A\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","config#ScriptStatus#list#label":"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432","config#ScriptStatus#list#description":"\u0421\u043F\u0438\u0441\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 (\u0435\u0441\u043B\u0438 \u043F\u0443\u0441\u0442\u043E\u0439 - \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432\u0441\u0435)","config#ScriptStatus#list#values":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F \u0437\u0430\u043F\u044F\u0442\u043E\u0439","config#ScriptStatus#blacklist#label":"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u044B\u0442\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432","config#ScriptStatus#blacklist#description":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u044B \u0437\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u043D\u044B\u0445 \u0437\u0434\u0435\u0441\u044C","config#ScriptStatus#blacklist#values":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F \u0437\u0430\u043F\u044F\u0442\u043E\u0439"},__glob_8_110=Object.freeze(Object.defineProperty({__proto__:null,default:ru$j},Symbol.toStringTag,{value:"Module"})),de$i={"StateHTML#description":"Zeigt dynamische HTML Inhalte von Datenpunkten an.","Incorrect HTML provided to StateHTML module":"Fehlerhafter HTML Code im StateHTML Modul"},__glob_8_111=Object.freeze(Object.defineProperty({__proto__:null,default:de$i},Symbol.toStringTag,{value:"Module"})),en$h={"StateHTML#description":"Displays dynamic HTML contents from states."},__glob_8_112=Object.freeze(Object.defineProperty({__proto__:null,default:en$h},Symbol.toStringTag,{value:"Module"})),ru$i={"StateHTML#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E HTML \u0438\u0437 \u0441\u0442\u0430\u0442\u0443\u0441\u0430","Incorrect HTML provided to StateHTML module":"\u041C\u043E\u0434\u0443\u043B\u044E StateHTML \u043F\u0435\u0440\u0435\u0434\u0430\u043D \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 HTML"},__glob_8_113=Object.freeze(Object.defineProperty({__proto__:null,default:ru$i},Symbol.toStringTag,{value:"Module"})),de$h={"StateList#description":"Zeigt eine Liste von States an.","config#StateList#dense#label":"Kompakte Ansicht","config#StateList#dense#description":"Aktiviere kompakte Ansicht f\xFCr die Zeilen","config#StateList#horizontal#label":"Horizontale Ansicht","config#StateList#horizontal#description":"Zeigt die StateList horizontal an","config#StateList#stacked#label":"Informationen \xFCbereinander angeordnet","config#StateList#stacked#description":"Zeigt die Informationen \xFCbereinander angeordnet (statt in Reihe nebeneinander)","config#StateList#filter#label":"Eintr\xE4ge filtern","config#StateList#filter#description":'Eintr\xE4ge mittels Callback-Funktion filtern, z.B. zeigt "(value, val) => val === true" alle Ger\xE4te mit dem Datenpunkt-Wert true.',"Device Label":"Ger\xE4te Label","Body State Key":"Body Datenpunkt","no body element":"kein Body Element","Body Element":"Body Element","Show states":"Zeige Datenpunkt Status","Show an action element":"Zeige Trigger Element","Secondary States Keys":"sekund\xE4re Datenpunkte","Action State Key":"Trigger Datenpunkt","no action element":"kein Trigger Element","Action Element":"Trigger Element","Group Actions":"Gruppen Aktion","Actions Element":"Element Aktion","Use in group trigger":"in Gruppenaktion verwenden","Button On":"Button An","Button Off":"Button Aus","Device Name":"Ger\xE4te-Name","Device Options":"Ger\xE4te-Optionen",ascending:"aufsteigend",descending:"absteigend","Incorrect device assigned to widget using StateList module":"Nicht vorhandenes Ger\xE4t einem Widget mit dem Modul StateList zugewiesen"},__glob_8_114=Object.freeze(Object.defineProperty({__proto__:null,default:de$h},Symbol.toStringTag,{value:"Module"})),en$g={"StateList#description":"Displays a list of states.","config#StateList#dense#label":"Dense","config#StateList#dense#description":"Activate smaller / densed rows","config#StateList#horizontal#label":"Horizontal","config#StateList#horizontal#description":"Displays the StateList horizontally","config#StateList#stacked#label":"Stacked","config#StateList#stacked#description":"Displays the information stacked (instead of row-based)","config#StateList#filter#label":"Filter List Item","config#StateList#filter#description":'Filter by using a callback function, e.g. "(value, val) => val === true" shows all devices which state is true.'},__glob_8_115=Object.freeze(Object.defineProperty({__proto__:null,default:en$g},Symbol.toStringTag,{value:"Module"})),ru$h={"StateList#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0439","config#StateList#dense#label":"\u0421\u0436\u0430\u0442\u043E","config#StateList#dense#description":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0436\u0430\u0442\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0441\u0442\u0440\u043E\u043A","config#StateList#horizontal#label":"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0439","config#StateList#horizontal#description":"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0441\u043F\u0438\u0441\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0439","config#StateList#stacked#label":"\u041F\u0430\u0447\u043A\u0430","config#StateList#stacked#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u0430\u0447\u043A\u043E\u0439 (\u0432 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0441\u0442\u0440\u043E\u043A)","config#StateList#filter#label":"\u0424\u0438\u043B\u044C\u0442\u0440 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430","config#StateList#filter#description":'\u0424\u0438\u043B\u044C\u0442\u0440 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C callback \u0444\u0443\u043D\u043A\u0446\u0438\u0438, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "(value, val) => val === true" \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C true',"Device Label":"\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430","Body State Key":"Body State Key","no body element":"\u043D\u0435\u0442 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","Body Element":"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Show states":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F","Show an action element":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Secondary States Keys":"Secondary States Keys","Action State Key":"Action State Key","no action element":"\u043D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","Action Element":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Group Actions":"\u0413\u0440\u0443\u043F\u043F\u043E\u0432\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F","Actions Element":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Use in group trigger":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0433\u0440\u0443\u043F\u043F\u043E\u0432\u043E\u043C \u0442\u0440\u0438\u0433\u0435\u0440\u0435","Button On":"\u041A\u043D\u043E\u043F\u043A\u0430 \u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C","Button Off":"\u041A\u043D\u043E\u043F\u043A\u0430 \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C","Device Name":"Device Name","Device Options":"Device Options",ascending:"ascending",descending:"descending","Incorrect device assigned to widget using StateList module":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u043E \u0432\u0438\u0434\u0436\u0435\u0442\u0443 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u043E\u0434\u0443\u043B\u044F StateList"},__glob_8_116=Object.freeze(Object.defineProperty({__proto__:null,default:ru$h},Symbol.toStringTag,{value:"Module"})),de$g={"Weather#description":"Zeigt die Wetter-Vorschau an (basierend auf www.daswetter.com).","config#Weather#apikey#label":"API Schl\xFCssel (affiliate_id) von daswetter.com","config#Weather#localid#label":"Ort (localid) von daswetter.com","config#Weather#forecastSunRain#label":"Zeige Sonne/Regen-Vorschau","config#Weather#forecastTemperature#label":"Zeige Temperatur-Vorschau","config#Weather#forecastWind#label":"Zeige Wind-Vorschau","config#Weather#iconSetWeather#label":"Icon Set Wetter","config#Weather#iconSetWind#label":"Icon Set Wind","config#Weather#display#label":"Anzeigevariante","config#Weather#display#options#both":"\xDCbersicht und Vorschau","config#Weather#display#options#overview":"nur \xDCbersicht","config#Weather#display#options#preview":"nur Vorschau","Weather Forecast":"Wettervorhersage",today:"Heute",tomorrow:"Morgen",TDY:"Heute",TMRW:"Morgen",Weather:"Wetter",Rain:"Regen",Wind:"Wind",Pressure:"Luftdruck",Snowline:"Schnellfallgrenze","Feels like":"Gef\xFChlt","WindDirection#N":"Norden","WindDirection#NE":"Nordost","WindDirection#NW":"Nordwest","WindDirection#S":"S\xFCden","WindDirection#SE":"S\xFCdost","WindDirection#SW":"S\xFCdwest","WindDirection#W":"Westen","WindDirection#E":"Osten"},__glob_8_117=Object.freeze(Object.defineProperty({__proto__:null,default:de$g},Symbol.toStringTag,{value:"Module"})),en$f={"Weather#description":"Displays the weather forecast (based on www.daswetter.com).","config#Weather#apikey#label":"Your API key (affiliate_id) for www.daswetter.com","config#Weather#localid#label":"The location (localid) for which the weather shall be shown","config#Weather#forecastSunRain#label":"Display Sun / Rain Forecast","config#Weather#forecastTemperature#label":"Display Temperature Forecast","config#Weather#forecastWind#label":"Display Wind Forecast","config#Weather#iconSetWeather#label":"Icon Set Weather","config#Weather#iconSetWind#label":"Icon Set Wind","config#Weather#display#label":"Display variant","config#Weather#display#options#both":"Overview and preview","config#Weather#display#options#overview":"only Overview","config#Weather#display#options#preview":"only Preview","WindDirection#N":"North","WindDirection#NE":"Northeast","WindDirection#NW":"Northwest","WindDirection#S":"South","WindDirection#SE":"Southeast","WindDirection#SW":"Southwest","WindDirection#W":"West","WindDirection#E":"East"},__glob_8_118=Object.freeze(Object.defineProperty({__proto__:null,default:en$f},Symbol.toStringTag,{value:"Module"})),ru$g={"Weather#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E\u0433\u043E\u0434\u044B (\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0434\u0430\u043D\u043D\u044B\u0435 \u0441 www.daswetter.com)","config#Weather#apikey#label":"\u0412\u0430\u0448 API key (affiliate_id) \u043D\u0430 www.daswetter.com","config#Weather#localid#label":"\u041C\u0435\u0441\u0442\u043E (localid), \u0434\u043B\u044F \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u043E\u0433\u043E\u0434\u0443","config#Weather#forecastSunRain#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E \u0441\u043E\u043B\u043D\u0446\u0443/\u0434\u043E\u0436\u0434\u044E","config#Weather#forecastTemperature#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u044B","config#Weather#forecastWind#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u0432\u0435\u0442\u0440\u0430","config#Weather#iconSetWeather#label":"\u041F\u0430\u043A\u0435\u0442 \u0438\u043A\u043E\u043D\u043E\u043A \u0434\u043B\u044F \u043F\u043E\u0433\u043E\u0434\u044B","config#Weather#iconSetWind#label":"\u041F\u0430\u043A\u0435\u0442 \u0438\u043A\u043E\u043D\u043E\u043A \u0434\u043B\u044F \u0432\u0435\u0442\u0440\u0430","config#Weather#display#label":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B","config#Weather#display#options#both":"\u041E\u0431\u0437\u043E\u0440 \u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440","config#Weather#display#options#overview":"\u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0431\u0437\u043E\u0440","config#Weather#display#options#preview":"\u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440","Weather Forecast":"\u041F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E\u0433\u043E\u0434\u044B",today:"\u0441\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0437\u0430\u0432\u0442\u0440\u0430",TDY:"\u0421\u0415\u0413",TMRW:"\u0417\u0410\u0412\u0422",Weather:"\u041F\u043E\u0433\u043E\u0434\u0430",Rain:"\u0414\u043E\u0436\u0434\u044C",Wind:"\u0412\u0435\u0442\u0435\u0440",Pressure:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",Snowline:"\u0421\u043D\u0435\u0433\u043E\u0432\u0430\u044F \u043B\u0438\u043D\u0438\u044F","Feels like":"\u0427\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044F \u043A\u0430\u043A","WindDirection#N":"\u0421\u0435\u0432\u0435\u0440","WindDirection#NE":"\u0421\u0435\u0432\u0435\u0440\u043E-\u0432\u043E\u0441\u0442\u043E\u043A","WindDirection#NW":"\u0421\u0435\u0432\u0435\u0440\u043E-\u0437\u0430\u043F\u0430\u0434","WindDirection#S":"\u042E\u0433","WindDirection#SE":"\u042E\u0433\u043E-\u0432\u043E\u0441\u0442\u043E\u043A","WindDirection#SW":"\u042E\u0433\u043E-\u0437\u0430\u043F\u0430\u0434","WindDirection#W":"\u0417\u0430\u043F\u0430\u0434","WindDirection#E":"\u0412\u043E\u0441\u0442\u043E\u043A"},__glob_8_119=Object.freeze(Object.defineProperty({__proto__:null,default:ru$g},Symbol.toStringTag,{value:"Module"})),de$f={"iFrame#description":"Zeigt Inhalte anderer Seiten in einem iFrame an.","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"Sandbox aktiv","config#iFrame#sandbox#info":"Aktiviert bestimmte Sicherheitseinstellungen f\xFCr das iFrame","config#iFrame#sandboxOptions#label":"Sandbox Optionen","config#iFrame#keepalive#label":"Aufrechterhalten","config#iFrame#keepalive#info":"H\xE4lt das iFrame im Hintergrund ge\xF6ffnet, wenn der Tab / die Registerkarte nicht aktiv ist (true). Andernfalls wird das iFrame neu aufgebaut (false).","config#iFrame#interaction#label":"Interaktion erlauben","config#iFrame#interaction#info":"Interaktion mit den Inhalten des iFrames erlauben","config#iFrame#refresh#label":"Aktualisierungsintervall","config#iFrame#refresh#info":"Intervall (in Sekunden) nach dem das iFrame aktualisiert wird. Der Wert 0 deaktiviert die Aktualisierung (empfohlen bei statischen Inhalten)."},__glob_8_120=Object.freeze(Object.defineProperty({__proto__:null,default:de$f},Symbol.toStringTag,{value:"Module"})),en$e={"iFrame#description":"Displays contents from another website as iFrame.","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"Enable Sandbox","config#iFrame#sandbox#info":"The sandbox attribute enables an extra set of restrictions for the content in the iframe","config#iFrame#sandboxOptions#label":"Sandbox options","config#iFrame#keepalive#label":"Keep Alive","config#iFrame#keepalive#info":"Whether to keep iFrame opened in the background when the tab is not active (true). Otherwise the iFrame will be re-rendered (false).","config#iFrame#interaction#label":"Allow Interaction","config#iFrame#interaction#info":"Allow Interaction with the iFrame","config#iFrame#refresh#label":"Refresh Interval","config#iFrame#refresh#info":"Interval (in seconds) the iFrame will be refreshed. The value 0 turns this off (recommended with static contents)."},__glob_8_121=Object.freeze(Object.defineProperty({__proto__:null,default:en$e},Symbol.toStringTag,{value:"Module"})),ru$f={"iFrame#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u0441\u0430\u0439\u0442\u0430 \u043A\u0430\u043A iFrame","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u0443","config#iFrame#sandbox#info":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044B \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u044B \u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0442 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043D\u0430\u0431\u043E\u0440 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430 \u0444\u0440\u0435\u0439\u043C\u0430","config#iFrame#sandboxOptions#label":"\u041E\u043F\u0446\u0438\u0438 \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u044B","config#iFrame#keepalive#label":"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435","config#iFrame#keepalive#info":"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u0444\u0440\u0435\u0439\u043C \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C \u0432 \u0444\u043E\u043D\u0435 \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u0430\u0434\u043A\u0430 \u043D\u0435 \u0430\u043A\u0442\u0438\u0432\u043D\u0430 (true). \u0412 \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u0444\u0440\u0435\u0439\u043C \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D (false).","config#iFrame#interaction#label":"","config#iFrame#interaction#info":"","config#iFrame#refresh#label":"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F","config#iFrame#refresh#info":"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u0444\u0440\u0435\u0439\u043C\u0430 \u0432 \u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 0 \u043E\u0442\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 (\u0440\u0435\u043A\u0443\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430"},__glob_8_122=Object.freeze(Object.defineProperty({__proto__:null,default:ru$f},Symbol.toStringTag,{value:"Module"})),de$e={on:"an",off:"aus",Save:"speichern",Exit:"zur\xFCck",Apply:"\xFCbernehmen",Cancel:"abbrechen",Connections:"Verbindungen","Connection Details":"Verbindungseinstellungen","Recent Connections":"letzte Verbindungen","Please specifify jarvis-socket port (not web port)":"Bitte den jarvis-socket-Port (nicht Web-Port) angeben","Secure Connection":"Sichere Verbindung","Trust Unsecure Certs":"Vertraue unsicheren Zertifikaten",Connect:"verbinden","Invalid JSON format":"Falsches JSON Format",Configuration:"Konfiguration","Expert mode":"Expertenmodus",Devices:"Ger\xE4te",Settings:"Einstellungen",Layout:"Layout",Help:"Hilfe","JSON Editor":"JSON Editor"},__glob_8_123=Object.freeze(Object.defineProperty({__proto__:null,default:de$e},Symbol.toStringTag,{value:"Module"})),en$d={},__glob_8_124=Object.freeze(Object.defineProperty({__proto__:null,default:en$d},Symbol.toStringTag,{value:"Module"})),ru$e={on:"on",off:"off",Save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",Exit:"\u0412\u044B\u0445\u043E\u0434",Apply:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C",Cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",Connections:"","Connection Details":"","Recent Connections":"","Please specifify jarvis-socket port (not web port)":"","Secure Connection":"","Trust Unsecure Certs":"",Connect:"","Invalid JSON format":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 JSON",Configuration:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F","Expert mode":"\u042D\u043A\u0441\u043F\u0435\u0440\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",Devices:"\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430",Settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",Layout:"\u041C\u0430\u043A\u0435\u0442","JSON Editor":"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 JSON"},__glob_8_125=Object.freeze(Object.defineProperty({__proto__:null,default:ru$e},Symbol.toStringTag,{value:"Module"})),de$d={Notifications:"Benachrichtigungen","hide archived notifications":"verstecke archivierte Benachrichtigungen","show archived notifications":"zeige archivierte Benachrichtigungen",Delete:"l\xF6schen",Archive:"archivieren","Mark as Read":"als gelesen markieren","Mark as Unread":"als ungelesen markieren","Restore from Archive":"aus dem Archiv wiederherstellen"},__glob_8_126=Object.freeze(Object.defineProperty({__proto__:null,default:de$d},Symbol.toStringTag,{value:"Module"})),en$c={},__glob_8_127=Object.freeze(Object.defineProperty({__proto__:null,default:en$c},Symbol.toStringTag,{value:"Module"})),ru$d={Notifications:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F","hide archived notifications":"\u0441\u043A\u0440\u044B\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F","show archived notifications":"\u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F"},__glob_8_128=Object.freeze(Object.defineProperty({__proto__:null,default:ru$d},Symbol.toStringTag,{value:"Module"})),de$c={"#ConfigurationPage.title":"Willkommen in der Konfiguration","#ConfigurationPage.content":`Die Konfiguration besteht aus drei Teilen: + */let activePinia;const setActivePinia=t=>activePinia=t,piniaSymbol=Symbol();function isPlainObject$4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var MutationType;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const t=effectScope(!0),r=t.run(()=>ref({}));let o=[],a=[];const u=markRaw({install(d){setActivePinia(u),u._a=d,d.provide(piniaSymbol,u),d.config.globalProperties.$pinia=u,a.forEach(g=>o.push(g)),a=[]},use(d){return!this._a&&!isVue2?a.push(d):o.push(d),this},_p:o,_a:null,_e:t,_s:new Map,state:r});return u}const noop$3=()=>{};function addSubscription(t,r,o,a=noop$3){t.push(r);const u=()=>{const d=t.indexOf(r);d>-1&&(t.splice(d,1),a())};return!o&&getCurrentScope()&&onScopeDispose(u),u}function triggerSubscriptions(t,...r){t.slice().forEach(o=>{o(...r)})}const fallbackRunWithContext=t=>t(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(t,r){t instanceof Map&&r instanceof Map?r.forEach((o,a)=>t.set(a,o)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o],u=t[o];isPlainObject$4(u)&&isPlainObject$4(a)&&t.hasOwnProperty(o)&&!isRef(a)&&!isReactive(a)?t[o]=mergeReactiveObjects(u,a):t[o]=a}return t}const skipHydrateSymbol=Symbol();function shouldHydrate(t){return!isPlainObject$4(t)||!t.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$3}=Object;function isComputed(t){return!!(isRef(t)&&t.effect)}function createOptionsStore(t,r,o,a){const{state:u,actions:d,getters:g}=r,v=o.state.value[t];let y;function A(){v||(o.state.value[t]=u?u():{});const b=toRefs(o.state.value[t]);return assign$3(b,d,Object.keys(g||{}).reduce((_,w)=>(_[w]=markRaw(computed(()=>{setActivePinia(o);const S=o._s.get(t);return g[w].call(S,S)})),_),{}))}return y=createSetupStore(t,A,r,o,a,!0),y}function createSetupStore(t,r,o={},a,u,d){let g;const v=assign$3({actions:{}},o),y={deep:!0};let A,b,_=[],w=[],S;const C=a.state.value[t];!d&&!C&&(a.state.value[t]={}),ref({});let T;function I(M){let N;A=b=!1,typeof M=="function"?(M(a.state.value[t]),N={type:MutationType.patchFunction,storeId:t,events:S}):(mergeReactiveObjects(a.state.value[t],M),N={type:MutationType.patchObject,payload:M,storeId:t,events:S});const V=T=Symbol();nextTick().then(()=>{T===V&&(A=!0)}),b=!0,triggerSubscriptions(_,N,a.state.value[t])}const E=d?function(){const{state:N}=o,V=N?N():{};this.$patch(Z=>{assign$3(Z,V)})}:noop$3;function F(){g.stop(),_=[],w=[],a._s.delete(t)}const O=(M,N="")=>{if(ACTION_MARKER in M)return M[ACTION_NAME]=N,M;const V=function(){setActivePinia(a);const Z=Array.from(arguments),H=[],B=[];function z(X){H.push(X)}function U(X){B.push(X)}triggerSubscriptions(w,{args:Z,name:V[ACTION_NAME],store:x,after:z,onError:U});let Q;try{Q=M.apply(this&&this.$id===t?this:x,Z)}catch(X){throw triggerSubscriptions(B,X),X}return Q instanceof Promise?Q.then(X=>(triggerSubscriptions(H,X),X)).catch(X=>(triggerSubscriptions(B,X),Promise.reject(X))):(triggerSubscriptions(H,Q),Q)};return V[ACTION_MARKER]=!0,V[ACTION_NAME]=N,V},D={_p:a,$id:t,$onAction:addSubscription.bind(null,w),$patch:I,$reset:E,$subscribe(M,N={}){const V=addSubscription(_,M,N.detached,()=>Z()),Z=g.run(()=>watch(()=>a.state.value[t],H=>{(N.flush==="sync"?b:A)&&M({storeId:t,type:MutationType.direct,events:S},H)},assign$3({},y,N)));return V},$dispose:F},x=reactive(D);a._s.set(t,x);const G=(a._a&&a._a.runWithContext||fallbackRunWithContext)(()=>a._e.run(()=>(g=effectScope()).run(()=>r({action:O}))));for(const M in G){const N=G[M];if(isRef(N)&&!isComputed(N)||isReactive(N))d||(C&&shouldHydrate(N)&&(isRef(N)?N.value=C[M]:mergeReactiveObjects(N,C[M])),a.state.value[t][M]=N);else if(typeof N=="function"){const V=O(N,M);G[M]=V,v.actions[M]=N}}return assign$3(x,G),assign$3(toRaw(x),G),Object.defineProperty(x,"$state",{get:()=>a.state.value[t],set:M=>{I(N=>{assign$3(N,M)})}}),a._p.forEach(M=>{assign$3(x,g.run(()=>M({store:x,app:a._a,pinia:a,options:v})))}),C&&d&&o.hydrate&&o.hydrate(x.$state,C),A=!0,b=!0,x}function defineStore(t,r,o){let a,u;const d=typeof r=="function";typeof t=="string"?(a=t,u=d?o:r):(u=t,a=t.id);function g(v,y){const A=hasInjectionContext();return v=v||(A?inject(piniaSymbol,null):null),v&&setActivePinia(v),v=activePinia,v._s.has(a)||(d?createSetupStore(a,r,u,v):createOptionsStore(a,u,v)),v._s.get(a)}return g.$id=a,g}const defaultViewBox="0 0 24 24",sameFn=t=>t,ionFn=t=>`ionicons ${t}`,libMap={"mdi-":t=>`mdi ${t}`,"icon-":sameFn,"bt-":t=>`bt ${t}`,"eva-":t=>`eva ${t}`,"ion-md":ionFn,"ion-ios":ionFn,"ion-logo":ionFn,"iconfont ":sameFn,"ti-":t=>`themify-icon ${t}`,"bi-":t=>`bootstrap-icons ${t}`},matMap={o_:"-outlined",r_:"-round",s_:"-sharp"},symMap={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},libRE=new RegExp("^("+Object.keys(libMap).join("|")+")"),matRE=new RegExp("^("+Object.keys(matMap).join("|")+")"),symRE=new RegExp("^("+Object.keys(symMap).join("|")+")"),mRE=/^[Mm]\s?[-+]?\.?\d/,imgRE=/^img:/,svgUseRE=/^svguse:/,ionRE=/^ion-/,faRE=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var QIcon=createComponent({name:"QIcon",props:{...useSizeProps,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=useSize(t),u=computed(()=>"q-icon"+(t.left===!0?" on-left":"")+(t.right===!0?" on-right":"")+(t.color!==void 0?` text-${t.color}`:"")),d=computed(()=>{let g,v=t.name;if(v==="none"||!v)return{none:!0};if(o.iconMapFn!==null){const b=o.iconMapFn(v);if(b!==void 0)if(b.icon!==void 0){if(v=b.icon,v==="none"||!v)return{none:!0}}else return{attrs:b,cls:b.cls,content:b.content!==void 0?b.content:" "}}if(mRE.test(v)===!0){const[b,_=defaultViewBox]=v.split("|");return{svg:!0,viewBox:_,nodes:b.split("&&").map(w=>{const[S,C,T]=w.split("@@");return h("path",{style:C,d:S,transform:T})})}}if(imgRE.test(v)===!0)return{img:!0,src:v.substring(4)};if(svgUseRE.test(v)===!0){const[b,_=defaultViewBox]=v.split("|");return{svguse:!0,src:b.substring(7),viewBox:_}}let y=" ";const A=v.match(libRE);if(A!==null)g=libMap[A[1]](v);else if(faRE.test(v)===!0)g=v;else if(ionRE.test(v)===!0)g=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${v.substring(3)}`;else if(symRE.test(v)===!0){g="notranslate material-symbols";const b=v.match(symRE);b!==null&&(v=v.substring(6),g+=symMap[b[1]]),y=v}else{g="notranslate material-icons";const b=v.match(matRE);b!==null&&(v=v.substring(2),g+=matMap[b[1]]),y=v}return{cls:g,content:y}});return()=>{let g={class:u.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?h(t.tag,g,hSlot(r.default)):d.value.img===!0?h(t.tag,g,hMergeSlot(r.default,[h("img",{src:d.value.src})])):d.value.svg===!0?h(t.tag,g,hMergeSlot(r.default,[h("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?h(t.tag,g,hMergeSlot(r.default,[h("svg",{viewBox:d.value.viewBox},[h("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(g.class+=" "+d.value.cls,g={...d.value.attrs||{},...g}),h(t.tag,g,hMergeSlot(r.default,[d.value.content])))}}}),QAvatar=createComponent({name:"QAvatar",props:{...useSizeProps,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(t,{slots:r}){const o=useSize(t),a=computed(()=>"q-avatar"+(t.color?` bg-${t.color}`:"")+(t.textColor?` text-${t.textColor} q-chip--colored`:"")+(t.square===!0?" q-avatar--square":t.rounded===!0?" rounded-borders":"")),u=computed(()=>t.fontSize?{fontSize:t.fontSize}:null);return()=>{const d=t.icon!==void 0?[h(QIcon,{name:t.icon})]:void 0;return h("div",{class:a.value,style:o.value},[h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:u.value},hMergeSlotSafely(r.default,d))])}}});function throttle$2(t,r=250){let o=!1,a;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},r),a=t.apply(this,arguments)),a}}function showRipple(t,r,o,a){o.modifiers.stop===!0&&stop$1(t);const u=o.modifiers.color;let d=o.modifiers.center;d=d===!0||a===!0;const g=document.createElement("span"),v=document.createElement("span"),y=position$1(t),{left:A,top:b,width:_,height:w}=r.getBoundingClientRect(),S=Math.sqrt(_*_+w*w),C=S/2,T=`${(_-S)/2}px`,I=d?T:`${y.left-A-C}px`,E=`${(w-S)/2}px`,F=d?E:`${y.top-b-C}px`;v.className="q-ripple__inner",css$2(v,{height:`${S}px`,width:`${S}px`,transform:`translate3d(${I},${F},0) scale3d(.2,.2,1)`,opacity:0}),g.className=`q-ripple${u?" text-"+u:""}`,g.setAttribute("dir","ltr"),g.appendChild(v),r.appendChild(g);const O=()=>{g.remove(),clearTimeout(D)};o.abort.push(O);let D=setTimeout(()=>{v.classList.add("q-ripple__inner--enter"),v.style.transform=`translate3d(${T},${E},0) scale3d(1,1,1)`,v.style.opacity=.2,D=setTimeout(()=>{v.classList.remove("q-ripple__inner--enter"),v.classList.add("q-ripple__inner--leave"),v.style.opacity=0,D=setTimeout(()=>{g.remove(),o.abort.splice(o.abort.indexOf(O),1)},275)},250)},50)}function updateModifiers(t,{modifiers:r,value:o,arg:a}){const u=Object.assign({},t.cfg.ripple,r,o);t.modifiers={early:u.early===!0,stop:u.stop===!0,center:u.center===!0,color:u.color||a,keyCodes:[].concat(u.keyCodes||13)}}var Ripple=createDirective({name:"ripple",beforeMount(t,r){const o=r.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const a={cfg:o,enabled:r.value!==!1,modifiers:{},abort:[],start(u){a.enabled===!0&&u.qSkipRipple!==!0&&u.type===(a.modifiers.early===!0?"pointerdown":"click")&&showRipple(u,t,a,u.qKeyEvent===!0)},keystart:throttle$2(u=>{a.enabled===!0&&u.qSkipRipple!==!0&&isKeyCode(u,a.modifiers.keyCodes)===!0&&u.type===`key${a.modifiers.early===!0?"down":"up"}`&&showRipple(u,t,a,!0)},300)};updateModifiers(a,r),t.__qripple=a,addEvt(a,"main",[[t,"pointerdown","start","passive"],[t,"click","start","passive"],[t,"keydown","keystart","passive"],[t,"keyup","keystart","passive"]])},updated(t,r){if(r.oldValue!==r.value){const o=t.__qripple;o!==void 0&&(o.enabled=r.value!==!1,o.enabled===!0&&Object(r.value)===r.value&&updateModifiers(o,r))}},beforeUnmount(t){const r=t.__qripple;r!==void 0&&(r.abort.forEach(o=>{o()}),cleanEvt(r,"main"),delete t._qripple)}});const alignMap={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},alignValues$2=Object.keys(alignMap),useAlignProps={align:{type:String,validator:t=>alignValues$2.includes(t)}};function useAlign(t){return computed(()=>{const r=t.align===void 0?t.vertical===!0?"stretch":"left":t.align;return`${t.vertical===!0?"items":"justify"}-${alignMap[r]}`})}function getParentProxy(t){if(Object(t.$parent)===t.$parent)return t.$parent;let{parent:r}=t.$;for(;Object(r)===r;){if(Object(r.proxy)===r.proxy)return r.proxy;r=r.parent}}function fillNormalizedVNodes(t,r){typeof r.type=="symbol"?Array.isArray(r.children)===!0&&r.children.forEach(o=>{fillNormalizedVNodes(t,o)}):t.add(r)}function getNormalizedVNodes(t){const r=new Set;return t.forEach(o=>{fillNormalizedVNodes(r,o)}),Array.from(r)}function vmHasRouter(t){return t.appContext.config.globalProperties.$router!==void 0}function vmIsDestroyed(t){return t.isUnmounted===!0||t.isDeactivated===!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}function isSameRouteRecord(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function includesParams(t,r){for(const o in r){const a=r[o],u=t[o];if(typeof a=="string"){if(a!==u)return!1}else if(Array.isArray(u)===!1||u.length!==a.length||a.some((d,g)=>d!==u[g]))return!1}return!0}function isEquivalentArray(t,r){return Array.isArray(r)===!0?t.length===r.length&&t.every((o,a)=>o===r[a]):t.length===1&&t[0]===r}function isSameRouteLocationParamsValue(t,r){return Array.isArray(t)===!0?isEquivalentArray(t,r):Array.isArray(r)===!0?isEquivalentArray(r,t):t===r}function isSameRouteLocationParams(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const o in t)if(isSameRouteLocationParamsValue(t[o],r[o])===!1)return!1;return!0}const useRouterLinkNonMatchingProps={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},useRouterLinkProps={...useRouterLinkNonMatchingProps,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function useRouterLink({fallbackTag:t,useDisableForRouterLinkProps:r=!0}={}){const o=getCurrentInstance(),{props:a,proxy:u,emit:d}=o,g=vmHasRouter(o),v=computed(()=>a.disable!==!0&&a.href!==void 0),y=computed(r===!0?()=>g===!0&&a.disable!==!0&&v.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!=="":()=>g===!0&&v.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),A=computed(()=>y.value===!0?F(a.to):null),b=computed(()=>A.value!==null),_=computed(()=>v.value===!0||b.value===!0),w=computed(()=>a.type==="a"||_.value===!0?"a":a.tag||t||"div"),S=computed(()=>v.value===!0?{href:a.href,target:a.target}:b.value===!0?{href:A.value.href,target:a.target}:{}),C=computed(()=>{if(b.value===!1)return-1;const{matched:x}=A.value,{length:P}=x,G=x[P-1];if(G===void 0)return-1;const M=u.$route.matched;if(M.length===0)return-1;const N=M.findIndex(isSameRouteRecord.bind(null,G));if(N!==-1)return N;const V=getOriginalPath(x[P-2]);return P>1&&getOriginalPath(G)===V&&M[M.length-1].path!==V?M.findIndex(isSameRouteRecord.bind(null,x[P-2])):N}),T=computed(()=>b.value===!0&&C.value!==-1&&includesParams(u.$route.params,A.value.params)),I=computed(()=>T.value===!0&&C.value===u.$route.matched.length-1&&isSameRouteLocationParams(u.$route.params,A.value.params)),E=computed(()=>b.value===!0?I.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":T.value===!0?` ${a.activeClass}`:"":"");function F(x){try{return u.$router.resolve(x)}catch(P){}return null}function O(x,{returnRouterError:P,to:G=a.to,replace:M=a.replace}={}){if(a.disable===!0)return x.preventDefault(),Promise.resolve(!1);if(x.metaKey||x.altKey||x.ctrlKey||x.shiftKey||x.button!==void 0&&x.button!==0||a.target==="_blank")return Promise.resolve(!1);x.preventDefault();const N=u.$router[M===!0?"replace":"push"](G);return P===!0?N:N.then(()=>{}).catch(()=>{})}function D(x){if(b.value===!0){const P=G=>O(x,G);d("click",x,P),x.defaultPrevented!==!0&&P()}else d("click",x)}return{hasRouterLink:b,hasHrefLink:v,hasLink:_,linkTag:w,resolvedLink:A,linkIsActive:T,linkIsExactActive:I,linkClass:E,linkAttrs:S,getLink:F,navigateToRouterLink:O,navigateOnClick:D}}const btnPadding={none:0,xs:4,sm:8,md:16,lg:24,xl:32},defaultSizes$2={xs:8,sm:10,md:14,lg:20,xl:24},formTypes=["button","submit","reset"],mediaTypeRE=/[^\s]\/[^\s]/,btnDesignOptions=["flat","outline","push","unelevated"];function getBtnDesign(t,r){return t.flat===!0?"flat":t.outline===!0?"outline":t.push===!0?"push":t.unelevated===!0?"unelevated":r}function getBtnDesignAttr(t){const r=getBtnDesign(t);return r!==void 0?{[r]:!0}:{}}const nonRoundBtnProps={...useSizeProps,...useRouterLinkNonMatchingProps,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...btnDesignOptions.reduce((t,r)=>(t[r]=Boolean)&&t,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...useAlignProps.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},useBtnProps={...nonRoundBtnProps,round:Boolean};function useBtn(t){const r=useSize(t,defaultSizes$2),o=useAlign(t),{hasRouterLink:a,hasLink:u,linkTag:d,linkAttrs:g,navigateOnClick:v}=useRouterLink({fallbackTag:"button"}),y=computed(()=>{const I=t.fab===!1&&t.fabMini===!1?r.value:{};return t.padding!==void 0?Object.assign({},I,{padding:t.padding.split(/\s+/).map(E=>E in btnPadding?btnPadding[E]+"px":E).join(" "),minWidth:"0",minHeight:"0"}):I}),A=computed(()=>t.rounded===!0||t.fab===!0||t.fabMini===!0),b=computed(()=>t.disable!==!0&&t.loading!==!0),_=computed(()=>b.value===!0?t.tabindex||0:-1),w=computed(()=>getBtnDesign(t,"standard")),S=computed(()=>{const I={tabindex:_.value};return u.value===!0?Object.assign(I,g.value):formTypes.includes(t.type)===!0&&(I.type=t.type),d.value==="a"?(t.disable===!0?I["aria-disabled"]="true":I.href===void 0&&(I.role="button"),a.value!==!0&&mediaTypeRE.test(t.type)===!0&&(I.type=t.type)):t.disable===!0&&(I.disabled="",I["aria-disabled"]="true"),t.loading===!0&&t.percentage!==void 0&&Object.assign(I,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t.percentage}),I}),C=computed(()=>{let I;t.color!==void 0?t.flat===!0||t.outline===!0?I=`text-${t.textColor||t.color}`:I=`bg-${t.color} text-${t.textColor||"white"}`:t.textColor&&(I=`text-${t.textColor}`);const E=t.round===!0?"round":`rectangle${A.value===!0?" q-btn--rounded":t.square===!0?" q-btn--square":""}`;return`q-btn--${w.value} q-btn--${E}`+(I!==void 0?" "+I:"")+(b.value===!0?" q-btn--actionable q-focusable q-hoverable":t.disable===!0?" disabled":"")+(t.fab===!0?" q-btn--fab":t.fabMini===!0?" q-btn--fab-mini":"")+(t.noCaps===!0?" q-btn--no-uppercase":"")+(t.dense===!0?" q-btn--dense":"")+(t.stretch===!0?" no-border-radius self-stretch":"")+(t.glossy===!0?" glossy":"")+(t.square?" q-btn--square":"")}),T=computed(()=>o.value+(t.stack===!0?" column":" row")+(t.noWrap===!0?" no-wrap text-no-wrap":"")+(t.loading===!0?" q-btn__content--hidden":""));return{classes:C,style:y,innerClasses:T,attributes:S,hasLink:u,linkTag:d,navigateOnClick:v,isActionable:b}}const{passiveCapture}=listenOpts$1;let touchTarget=null,keyboardTarget=null,mouseTarget=null;var QBtn=createComponent({name:"QBtn",props:{...useBtnProps,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{classes:u,style:d,innerClasses:g,attributes:v,hasLink:y,linkTag:A,navigateOnClick:b,isActionable:_}=useBtn(t),w=ref(null),S=ref(null);let C=null,T,I=null;const E=computed(()=>t.label!==void 0&&t.label!==null&&t.label!==""),F=computed(()=>t.disable===!0||t.ripple===!1?!1:{keyCodes:y.value===!0?[13,32]:[13],...t.ripple===!0?{}:t.ripple}),O=computed(()=>({center:t.round})),D=computed(()=>{const z=Math.max(0,Math.min(100,t.percentage));return z>0?{transition:"transform 0.6s",transform:`translateX(${z-100}%)`}:{}}),x=computed(()=>{if(t.loading===!0)return{onMousedown:B,onTouchstart:B,onClick:B,onKeydown:B,onKeyup:B};if(_.value===!0){const z={onClick:G,onKeydown:M,onMousedown:V};if(a.$q.platform.has.touch===!0){const U=t.onTouchstart!==void 0?"":"Passive";z[`onTouchstart${U}`]=N}return z}return{onClick:stopAndPrevent$1}}),P=computed(()=>({ref:w,class:"q-btn q-btn-item non-selectable no-outline "+u.value,style:d.value,...v.value,...x.value}));function G(z){if(w.value!==null){if(z!==void 0){if(z.defaultPrevented===!0)return;const U=document.activeElement;if(t.type==="submit"&&U!==document.body&&w.value.contains(U)===!1&&U.contains(w.value)===!1){w.value.focus();const Q=()=>{document.removeEventListener("keydown",stopAndPrevent$1,!0),document.removeEventListener("keyup",Q,passiveCapture),w.value!==null&&w.value.removeEventListener("blur",Q,passiveCapture)};document.addEventListener("keydown",stopAndPrevent$1,!0),document.addEventListener("keyup",Q,passiveCapture),w.value.addEventListener("blur",Q,passiveCapture)}}b(z)}}function M(z){w.value!==null&&(o("keydown",z),isKeyCode(z,[13,32])===!0&&keyboardTarget!==w.value&&(keyboardTarget!==null&&H(),z.defaultPrevented!==!0&&(w.value.focus(),keyboardTarget=w.value,w.value.classList.add("q-btn--active"),document.addEventListener("keyup",Z,!0),w.value.addEventListener("blur",Z,passiveCapture)),stopAndPrevent$1(z)))}function N(z){w.value!==null&&(o("touchstart",z),z.defaultPrevented!==!0&&(touchTarget!==w.value&&(touchTarget!==null&&H(),touchTarget=w.value,C=z.target,C.addEventListener("touchcancel",Z,passiveCapture),C.addEventListener("touchend",Z,passiveCapture)),T=!0,I!==null&&clearTimeout(I),I=setTimeout(()=>{I=null,T=!1},200)))}function V(z){w.value!==null&&(z.qSkipRipple=T===!0,o("mousedown",z),z.defaultPrevented!==!0&&mouseTarget!==w.value&&(mouseTarget!==null&&H(),mouseTarget=w.value,w.value.classList.add("q-btn--active"),document.addEventListener("mouseup",Z,passiveCapture)))}function Z(z){if(w.value!==null&&!(z!==void 0&&z.type==="blur"&&document.activeElement===w.value)){if(z!==void 0&&z.type==="keyup"){if(keyboardTarget===w.value&&isKeyCode(z,[13,32])===!0){const U=new MouseEvent("click",z);U.qKeyEvent=!0,z.defaultPrevented===!0&&prevent(U),z.cancelBubble===!0&&stop$1(U),w.value.dispatchEvent(U),stopAndPrevent$1(z),z.qKeyEvent=!0}o("keyup",z)}H()}}function H(z){const U=S.value;z!==!0&&(touchTarget===w.value||mouseTarget===w.value)&&U!==null&&U!==document.activeElement&&(U.setAttribute("tabindex",-1),U.focus()),touchTarget===w.value&&(C!==null&&(C.removeEventListener("touchcancel",Z,passiveCapture),C.removeEventListener("touchend",Z,passiveCapture)),touchTarget=C=null),mouseTarget===w.value&&(document.removeEventListener("mouseup",Z,passiveCapture),mouseTarget=null),keyboardTarget===w.value&&(document.removeEventListener("keyup",Z,!0),w.value!==null&&w.value.removeEventListener("blur",Z,passiveCapture),keyboardTarget=null),w.value!==null&&w.value.classList.remove("q-btn--active")}function B(z){stopAndPrevent$1(z),z.qSkipRipple=!0}return onBeforeUnmount(()=>{H(!0)}),Object.assign(a,{click:z=>{_.value===!0&&G(z)}}),()=>{let z=[];t.icon!==void 0&&z.push(h(QIcon,{name:t.icon,left:t.stack!==!0&&E.value===!0,role:"img"})),E.value===!0&&z.push(h("span",{class:"block"},[t.label])),z=hMergeSlot(r.default,z),t.iconRight!==void 0&&t.round===!1&&z.push(h(QIcon,{name:t.iconRight,right:t.stack!==!0&&E.value===!0,role:"img"}));const U=[h("span",{class:"q-focus-helper",ref:S})];return t.loading===!0&&t.percentage!==void 0&&U.push(h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(t.darkPercentage===!0?" q-btn__progress--dark":"")},[h("span",{class:"q-btn__progress-indicator fit block",style:D.value})])),U.push(h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+g.value},z)),t.loading!==null&&U.push(h(Transition,{name:"q-transition--fade"},()=>t.loading===!0?[h("span",{key:"loading",class:"absolute-full flex flex-center"},r.loading!==void 0?r.loading():[h(QSpinner)])]:null)),withDirectives(h(A.value,P.value,U),[[Ripple,F.value,void 0,O.value]])}}});const nodesList=[],portalTypeList=[];let portalIndex=1,target=document.body;function createGlobalNode(t,r){const o=document.createElement("div");if(o.id=r!==void 0?`q-portal--${r}--${portalIndex++}`:t,globalConfig.globalNodes!==void 0){const a=globalConfig.globalNodes.class;a!==void 0&&(o.className=a)}return target.appendChild(o),nodesList.push(o),portalTypeList.push(r),o}function removeGlobalNode(t){const r=nodesList.indexOf(t);nodesList.splice(r,1),portalTypeList.splice(r,1),t.remove()}function changeGlobalNodesTarget(t){if(t===target)return;if(target=t,target===document.body||portalTypeList.reduce((o,a)=>a==="dialog"?o+1:o,0)<2){nodesList.forEach(o=>{o.contains(target)===!1&&target.appendChild(o)});return}const r=portalTypeList.lastIndexOf("dialog");for(let o=0;ot.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function addNotification(t,r,o){if(!t)return logError$1("parameter required");let a;const u={textColor:"white"};if(t.ignoreDefaults!==!0&&Object.assign(u,defaults$3),isObject$o(t)===!1&&(u.type&&Object.assign(u,notifTypes[u.type]),t={message:t}),Object.assign(u,notifTypes[t.type||u.type],t),typeof u.icon=="function"&&(u.icon=u.icon(r)),u.spinner?(u.spinner===!0&&(u.spinner=QSpinner),u.spinner=markRaw(u.spinner)):u.spinner=!1,u.meta={hasMedia:Boolean(u.spinner!==!1||u.icon||u.avatar),hasText:hasContent(u.message)||hasContent(u.caption)},u.position){if(positionList.includes(u.position)===!1)return logError$1("wrong position",t)}else u.position="bottom";if(invalidTimeoutValues.includes(u.timeout)===!0)u.timeout=5e3;else{const y=Number(u.timeout);if(isNaN(y)||y<0)return logError$1("wrong timeout",t);u.timeout=Number.isFinite(y)?y:0}u.timeout===0?u.progress=!1:u.progress===!0&&(u.meta.progressClass="q-notification__progress"+(u.progressClass?` ${u.progressClass}`:""),u.meta.progressStyle={animationDuration:`${u.timeout+1e3}ms`});const d=(Array.isArray(t.actions)===!0?t.actions:[]).concat(t.ignoreDefaults!==!0&&Array.isArray(defaults$3.actions)===!0?defaults$3.actions:[]).concat(notifTypes[t.type]!==void 0&&Array.isArray(notifTypes[t.type].actions)===!0?notifTypes[t.type].actions:[]),{closeBtn:g}=u;if(g&&d.push({label:typeof g=="string"?g:r.lang.label.close}),u.actions=d.map(({handler:y,noDismiss:A,...b})=>({flat:!0,...b,onClick:typeof y=="function"?()=>{y(),A!==!0&&v()}:()=>{v()}})),u.multiLine===void 0&&(u.multiLine=u.actions.length>1),Object.assign(u.meta,{class:`q-notification row items-stretch q-notification--${u.multiLine===!0?"multi-line":"standard"}`+(u.color!==void 0?` bg-${u.color}`:"")+(u.textColor!==void 0?` text-${u.textColor}`:"")+(u.classes!==void 0?` ${u.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(u.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(u.multiLine===!0?"":" col"),leftClass:u.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...u.attrs}}),u.group===!1?(u.group=void 0,u.meta.group=void 0):((u.group===void 0||u.group===!0)&&(u.group=[u.message,u.caption,u.multiline].concat(u.actions.map(y=>`${y.label}*${y.icon}`)).join("|")),u.meta.group=u.group+"|"+u.position),u.actions.length===0?u.actions=void 0:u.meta.actionsClass="q-notification__actions row items-center "+(u.multiLine===!0?"justify-end":"col-auto")+(u.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),u.meta.uid=o.notif.meta.uid;const y=notificationsList[u.position].value.indexOf(o.notif);notificationsList[u.position].value[y]=u}else{const y=groups[u.meta.group];if(y===void 0){if(u.meta.uid=uid$5++,u.meta.badge=1,["left","right","center"].indexOf(u.position)!==-1)notificationsList[u.position].value.splice(Math.floor(notificationsList[u.position].value.length/2),0,u);else{const A=u.position.indexOf("top")!==-1?"unshift":"push";notificationsList[u.position].value[A](u)}u.group!==void 0&&(groups[u.meta.group]=u)}else{if(y.meta.timer&&(clearTimeout(y.meta.timer),y.meta.timer=void 0),u.badgePosition!==void 0){if(badgePositions.includes(u.badgePosition)===!1)return logError$1("wrong badgePosition",t)}else u.badgePosition=`top-${u.position.indexOf("left")!==-1?"right":"left"}`;u.meta.uid=y.meta.uid,u.meta.badge=y.meta.badge+1,u.meta.badgeClass=`q-notification__badge q-notification__badge--${u.badgePosition}`+(u.badgeColor!==void 0?` bg-${u.badgeColor}`:"")+(u.badgeTextColor!==void 0?` text-${u.badgeTextColor}`:"")+(u.badgeClass?` ${u.badgeClass}`:"");const A=notificationsList[u.position].value.indexOf(y);notificationsList[u.position].value[A]=groups[u.meta.group]=u}}const v=()=>{removeNotification(u),a=void 0};if(u.timeout>0&&(u.meta.timer=setTimeout(()=>{u.meta.timer=void 0,v()},u.timeout+1e3)),u.group!==void 0)return y=>{y!==void 0?logError$1("trying to update a grouped one which is forbidden",t):v()};if(a={dismiss:v,config:t,notif:u},o!==void 0){Object.assign(o,a);return}return y=>{if(a!==void 0)if(y===void 0)a.dismiss();else{const A=Object.assign({},a.config,y,{group:!1,position:u.position});addNotification(A,r,a)}}}function removeNotification(t){t.meta.timer&&(clearTimeout(t.meta.timer),t.meta.timer=void 0);const r=notificationsList[t.position].value.indexOf(t);if(r!==-1){t.group!==void 0&&delete groups[t.meta.group];const o=notifRefs[""+t.meta.uid];if(o){const{width:a,height:u}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=a,o.style.height=u}notificationsList[t.position].value.splice(r,1),typeof t.onDismiss=="function"&&t.onDismiss()}}function hasContent(t){return t!=null&&emptyRE.test(t)!==!0}function logError$1(t,r){return console.error(`Notify: ${t}`,r),!1}function getComponent(){return createComponent({name:"QNotifications",devtools:{hide:!0},setup(){return()=>h("div",{class:"q-notifications"},positionList.map(t=>h(TransitionGroup,{key:t,class:positionClass$1[t],tag:"div",name:`q-notification--${t}`},()=>notificationsList[t].value.map(r=>{const o=r.meta,a=[];if(o.hasMedia===!0&&(r.spinner!==!1?a.push(h(r.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:r.spinnerColor,size:r.spinnerSize})):r.icon?a.push(h(QIcon,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:r.icon,color:r.iconColor,size:r.iconSize,role:"img"})):r.avatar&&a.push(h(QAvatar,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>h("img",{src:r.avatar,"aria-hidden":"true"})))),o.hasText===!0){let d;const g={class:"q-notification__message col"};if(r.html===!0)g.innerHTML=r.caption?`
${r.message}
${r.caption}
`:r.message;else{const v=[r.message];d=r.caption?[h("div",v),h("div",{class:"q-notification__caption"},[r.caption])]:v}a.push(h("div",g,d))}const u=[h("div",{class:o.contentClass},a)];return r.progress===!0&&u.push(h("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),r.actions!==void 0&&u.push(h("div",{class:o.actionsClass},r.actions.map(d=>h(QBtn,d)))),o.badge>1&&u.push(h("div",{key:`${o.uid}|${o.badge}`,class:r.meta.badgeClass,style:r.badgeStyle},[o.badge])),h("div",{ref:d=>{notifRefs[""+o.uid]=d},key:o.uid,class:o.class,...o.attrs},[h("div",{class:o.wrapperClass},u)])}))))}})}var Notify={setDefaults(t){isObject$o(t)===!0&&Object.assign(defaults$3,t)},registerType(t,r){isObject$o(r)===!0&&(notifTypes[t]=r)},install({$q:t,parentApp:r}){if(t.notify=this.create=o=>addNotification(o,t),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,t.config.notify!==void 0&&this.setDefaults(t.config.notify),this.__installed!==!0){positionList.forEach(a=>{notificationsList[a]=ref([]);const u=["left","center","right"].includes(a)===!0?"center":a.indexOf("top")!==-1?"top":"bottom",d=a.indexOf("left")!==-1?"start":a.indexOf("right")!==-1?"end":"center",g=["left","right"].includes(a)?`items-${a==="left"?"start":"end"} justify-center`:a==="center"?"flex-center":`items-${d}`;positionClass$1[a]=`q-notifications__list q-notifications__list--${u} fixed column no-wrap ${g}`});const o=createGlobalNode("q-notify");createChildApp(getComponent(),r).mount(o)}}},ButtonAction$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAAAqCAYAAABobhO3AAAD6UlEQVR4nO2cwUrjQBjH+xo5+wC9FvoAPsH2BXyDRXISPPRS6sHSmz148LotPXgT40EoeNAWgpSAtVq2iLFiSksqSpf/HtwJk8lkkjTVlvX7QcA0E/PNN79MZlKdDAhCQYb9MJ7N0ew4ODh/wt7JI23fbDs4f0Kz42A8mwcFGc/mqJ7ZuBy4gQLE92A8m6PVm6J6ZvscyABAs+PgcuCuLDhifWj1pmh2HG8/AwDVMxuv739WFhSxPoxncxycP3n7GQDYO3lcWUDE+sH7QIIQAUgQQgkJQighQQglJAihhAQhlJAghBIShFCydEF2jx9gWJN0URFrw9IF0XQTu8cP6aIi1obUgry4c+yf2t4+L8jVwMVh6zl1kPW2A003UW87gWOabqJi2L7PLu5caLoZKFuo9aHpprdt14eBMkPn3VemUOtLrynGwmJMGrv4uXh9cRs678iVLOXxpHlRkUqQF3eOfNnCxs41bkdvXmBMkK2je2i6mVqSQq2P7fowtLH4xADyRBRq/cD5uZLlk4Sdxzea7LwkgkTFLhOHwWTh68biFhtf9rvj5CWKVIL8/PUbmm7iivvzAPER86PW9wmUFD5JsmRpuolcyfI1gCwRssYQy8kSz657ceevYxxB4sT+mYLEyUsUqQTRdBNbR/eBz3hBbkdvqcYlFcP27vJCrR9IDGs8vhFliciVLORKVuh1ZCKEEVeQOLF/piBx8hLFwoIY1gSabqIhVFAmQ75sYbN6kygwRq5keRWst51AI7MEVAzbOxaWCNXYgp0jNoYM1RghaeyLCiK7Nl+nJHlRkVoQcUorE2SzerOQICohZPu5koV624lMBDvOD1STChLVg8SN/bN7EFY+Tl5kLCwIe3TwM5gwNnauA4+iOIizDtWdAsDXpcZJBF9+2Y+YuLF/hSBJ88KTagySLXaRLXaVZQ5bzwvNZMKSI97pYqMWan2vC2bI7mYGfz6bccjK8A0ZJUiS2L9CEFY3MS9xSCVI419SwnqHq4GLjZ1r5Mvhg8MwKoYtnRoC/gSJieDfI4jniI3PP5+B8GlunLEDL0iS2L9KkLC8RJH6RRnrIbLFLvZPbRjWBI22470DyZctvLjJ/31ClbyKYXsVlT0W+OM8Yrcva0R+fBJWJkqQJLGLGy9x0kEqf90keVGxlFftjbaDbLEbCHbr6H4hOYj1YanfxdyO3mBYE/qy7j+Cvu4nlJAghBIShFBCghBKSBBCCQlCKCFBCCUkCKGEBCGUkCCEkoAgtMIQwfhYYWjk7XtrlLV605UFRawP0jXK2CqHrd6UVjn8pihXOWQFPtZJHa18zU7aVrFO6ki6Tupf2kbDYBdQ3rAAAAAASUVORK5CYII=",__glob_5_0=Object.freeze(Object.defineProperty({__proto__:null,default:ButtonAction$3},Symbol.toStringTag,{value:"Module"})),ButtonGroupAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQYAAAAkCAYAAABrJpS1AAAHP0lEQVR4Xu1ca2wVVRCeKg9bKrTUBnJ5WYuF2GK0GKwmjfhDRSVKFEx8IUKi8RH5oUajxAYDRCKa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dX7v245ZwyGJ2MLemBCpGDbXfC8AMAQlh6+7ujDzSHQ7PGNqVcKsZ+YdawhJWbGe2I5CSjCHbQWL9GYGwIcDEEDaPs72MgAYCTAwaILEIIxA2BJgYwuZxtpcR0ECAiUEDJBZhBMKGABND2DzO9jICGgjYxDCprhEO9fVr3MIijAAjkOsI2MSwwvoV5yc/PZDr9rJ9jAAjoIGATQwoi+Twxrao+JFUvhgBRiB8CJRaP3R8W+1p8C8TTuO8dy4srQAAAABJRU5ErkJggg==",__glob_5_1=Object.freeze(Object.defineProperty({__proto__:null,default:ButtonGroupAction$1},Symbol.toStringTag,{value:"Module"})),CheckboxAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuM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SJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplOGZiZTM1My05YjU3LTg1NDktYTUzZC1mNGEyOTczMjg5MDAiIHN0RXZ0OndoZW49IjIwMjAtMDktMjVUMjI6NTU6NTArMDI6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5ls+OJAAAA9ElEQVRIx2P8//8/A20A46jRw9ToK89+zDny5vH7X8To5+dk9tDmCzMWJMpo9fqrn3/8I8mB/aEy4SaChI2WKr9Mqt/dtfjmx8vTxGgLRe51GUpUMzrUWDDVRiR45l1g6FHTaKC5E8NkgIye3S/79ryimtFwc1eeeV+4+gnVAgTTXJKNBhphpcQN14zHXNKM5uNgOlmhAcwOyEbgMpdkV2tLcqxJV4KbjsdccsIabvqxu1+tlLlxmUtmNMJNx2Mu+SkEYvqOq59wmUtR4pMRZH3y/jf9MjqdjIanHwJGu0y4fe35D5KMXpOmBElCo9XuqNHEAwBtu+zFxaW35AAAAABJRU5ErkJggg==",__glob_5_2=Object.freeze(Object.defineProperty({__proto__:null,default:CheckboxAction$1},Symbol.toStringTag,{value:"Module"})),DatePickerAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABAklEQVRYR2P8DwQMQwAwjjqUyrE0GqJUDlCG0RAdDVFqhwC1zRsZaXTfzc8MMfMeMOjJcDLsyFXBGYjEqsMXCxSFKLEOIFYd1R1avOYJw/LT78lOhkoibAyLEhUZQDSxgOQQPffoG4PP1LvEmo9TnY0KD8OqVEWizSHZobBoJNoGHAoJpWt0baMOJRTidAtRUi2COZzcEoDsqB91KI40M7JDFFsRBksqgyqNjjqUUJmHLE9M1I2GKLVDFJ95xMQINv3Dt3gaMs08ULQMiYYzKemZmmpJTqPUtJwUs0YdSkpoEaN2NESJCSVS1IyGKCmhRYza0RAlJpRIUTMaoqSEFjFqAZUEi5K0I7LfAAAAAElFTkSuQmCC",__glob_5_3=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerAction$1},Symbol.toStringTag,{value:"Module"})),DatePickerBody___Copy="/jarvis/assets/DatePickerBody - Copy.e34edde7.png",__glob_5_4=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerBody___Copy},Symbol.toStringTag,{value:"Module"})),DatePickerBody$3="/jarvis/assets/DatePickerBody.9cda2681.png",__glob_5_5=Object.freeze(Object.defineProperty({__proto__:null,default:DatePickerBody$3},Symbol.toStringTag,{value:"Module"})),DropdownAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAAAtCAYAAACK5cSoAAAC10lEQVR4nO2cS66DIBSG725cBkthFe0W2Ep3QNKxAwfMGTUmJG6hYdD0v4NqFUTqsw85X8Lg1gMe+ISiN/UPxO75+3QCxPaQ5AToSbbWQmsNpRTyPKfyQ0UpBa01rLXDkq21KIoCVVX1Aonvx1oLYwyKonD8OZK11qiq6u3JEetijIHW+vm3I7koCtxut7cnRayLtRZKqeffjuQ8z9+eELENXZckeaeQ5AQgyQlAkhOAJCcASU4AkpwAJDkBSHICbCq5FAxZlnUKh/SDJEeWMYgy2AIEy5Bxr1YpwJx2M2RMoPTr+TFe6Tfr5xvKq2l7KOemWwP9/QAbSZbgvYFvB9EZ3KmSJQ8Kig/qIx82aKUR59Wvz+XWq2MZAxs6X11v15Il7wt2jnU7P1Gy5IGZ/TgSERmXHMu3WTXaUzY5cfDAxfY4zsA527Hk3qB4SBmYLWMlDyzfL4lIfpUv/IugzSF4wZUCjAlIsWfJkk/r3MSZ3H5vThnAiOQx+ToxnZwCdUvBwERZ5zkux+v1ivP5/LLM/f/+6pKndA7ArI1Xf4MU+74FYpJH5evk2M1Jekv2Y6kW5fRxUErheDzicDgEy+l0wv1+H9may09K7h2P7oaB7SR7+Un+XNYnjwOGRS8RDPzIch2fpU1ofVs1dVO2ZLlGLbMWK3l7jjmSgb7opYKBT2y8/OOlAJsxA4PRg7vkbTZebv4SvNOPuZKBVvQagoFvuIXqfa918C+AF0Lm3V7NvYVqPqjbZsxpY4lkALhcLqsIBr7hYcjzc3821214wY+LJDDzF60IMx6G+PfuXtxSyWuy6WPNpvPRx5pt8PgdcyB2cCY+Koxa9ic91uw9hXNjk5FMfAckOQFIcgKQ5AQgyQlAkhOAJCcASU4AkpwAJDkBBiXTj9D3QfRH6FprGGPenhSxLtHXSTQvhjHG0IthfpBRL4ZpAukVT79ZRr3iidgnJDkB/gFZ5V9xAhrFTgAAAABJRU5ErkJggg==",__glob_5_6=Object.freeze(Object.defineProperty({__proto__:null,default:DropdownAction$1},Symbol.toStringTag,{value:"Module"})),IconButtonAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYW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KMZOHnKXIX5/nyrX3p/21ssWfvP+/cRy17e+MWR5ipmyomrbMAJfq/ceJMh7DhD2fWKfW9f/Pjz5cffrz/+fv7xY8e+RxblZxnCT7ttfP0Rt35GvNXuzzkbHhVtef/5O7OAHLs0FzMwxXz89vveo28MHBwBPlJTA8WkcGtmJFij3771dtm5D/uufz3x8s8vBgZZcQ47TQEvA4EoDS78GhmJbCx8+/Dj5sd/wMQows+qKMBKjBbG0XbIqNF4AQAuBSqJKIsJDgAAAABJRU5ErkJggg==",__glob_5_7=Object.freeze(Object.defineProperty({__proto__:null,default:IconButtonAction$1},Symbol.toStringTag,{value:"Module"})),IconState$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGnSURBVFhH7ZYxbsIwFEBzAzgCJ4AbwA24QY4AN8gNuEAlJCaWZmLqgDq1S8vQqQudulVI3Zgy9Yn/sVDi+DuoSls1TxaKP6mf/W1/mhQ/RCdujU7cGp04nu37NnvKaNpvyPXi7DlLbhKa9hvyF8SH42H3sdNOjXj/udcni1gxysF60F/1nbsqXr4u6c4f59oPEiVmrShFM3uYSbAk5p3eqicRvpJggCjx9G4qIy5eFhryrZg8D2+HErzcFC+2mGsjY6X3qYZOVMWAT4KTzURDNdhifDIWydTQCa8Y2AuJhw+aLZZRSsuFOjE+ifOChnwYYlYpo1zurlAnBjll7hh6McRug3nQ0JmAeLwZE+dT+z5+qxhk9PCGlYj5E1ssV3OUj7Rvkb/lIuZBQz5ssUtpNdteJM+cL+3XYItdLaRqlq5yFTdLc2tsMUj1p5HwQC10VnbHnGKUGNJz/WLd/NdRqkpsJzVSXiA9ZqGGWDG4BUnjVxKZ80ljrTFWaCAGzpecnWpjoczMzLCjmVggz1RQks8kaPjCN8fLNeJvoRO3Ridujf8mLoovUh8En0RV/EIAAAAASUVORK5CYII=",__glob_5_8=Object.freeze(Object.defineProperty({__proto__:null,default:IconState$1},Symbol.toStringTag,{value:"Module"})),InputAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAAeCAIAAACUvmYIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF+mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIwLTA5LTI2VDEwOjI2OjE2KzAyOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIwLTA5LTI2VDEwOjI2OjE2KzAyOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAy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YTtKVbt52J2HttNb9s2YZTAMDE9TodakNnvYv+lCKh/8ZXmelPSlCt2kBROqXKKSx2TfRkUPUPDGEAuLK/X4M/86Hv61VosZ8kJYVStfnZOyzkPHIAMwCuVtDdQ9asiGXplUq1FgBU/cpBDQEAQBGDfXK9QgUjE3fMqNmXFF0UPEVz54mXn68GtZ26LGHvvGNxn3a6s3SK/2js2NVFWphHEQOK3pzP0/pCzK8X9K1es+19JsCmjd+nrX9/dvOcsci9u22L9x1CAbj+IejG7FWnpmd+cmK7OGbNzHkhIaMqH9QIlp4PZMKx2MVlTikHE0KtZ26/FLhwwaHgcyv8R1j/ZfOX23ft2TLR5rc7RV72HoV1N9VVVreotFqKRkOAwoZ0XO/AqUFCtexxL4vv6UwTP261GDXGyQxIrby6ttNJMMbO/Ie8pAZ6nlRV1PWq1ATQUQQMuiHUwSs8IpjTXt+M8YSj7Zrr6wxWrqMdOWDQNdbUoY4CV3sUM+DdNTXNDAeTx5fSsx6vv3gyxAY6mkruFdVruT5hk7yhr4FyDnLBOpoUNPZg3e2qVgf/GR/42z3LC1zdUXSzqG2I7j72gz/42gAAGDBJcUGllj8zcrwZJa+8UVjeonMJCooYJ6QNKSru/5szLkRoawYAzQ1lDd286e+7d8rKiis7vUM/9LVFhrfn/x+gupsxXTT1i0vizorvdqWEzfvqJk79XkH+b95NMenV48eL20g94RAUumT+LC78XkGMb9HGeymjU6NTI+/k/pQkSalUiuM4ihp1v9nZimF8Pt/GxuYXnVIUJZfLdTodjUYz+noTtFotl8t90anx3B9+/gvEggiZ0cWaJgAAAABJRU5ErkJggg==",__glob_5_9=Object.freeze(Object.defineProperty({__proto__:null,default:InputAction$1},Symbol.toStringTag,{value:"Module"})),LastChangeBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG0AAAAOCAYAAAAlmJKiAAAEZElEQVRYR+1XSyitURReRh4DQimKASUxUB4xoBigSPKIIomkiJJEilKUSFJESUqYeYQ8ihgglEQJKZTniDAgI/d+q9buP9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VXp4eCiQ5DtpqABtY2ND9SV7Yysu7Onpyb0EiS8uLqq+gmfx8fGqj4idin/D1np6eix6JgBGb4JaEa+/v1/1Cf2yiB8WFqaGK2s9T3IUS5Qeh1YBIvU8YWWRkZEcF3sXFhYsBhEze8TZ+F1oaCi7AsQwOTlp0dMODw+poqKC00RMKE16mllMNfIbp0a5pL3p0dZ/DeP0qE9FkrjR3nAxozL0CjTGw9Tq4uLCRaFPkPasWbdQWKJYro+PD/dW6Zt6njJgyPSKic84PVojTZ8ecZ7RtmV6RG7G4c6m0qxVouP774nAP/lz/T2h+DlZOUj7OVypTH8BJEFoBM4FibQAAAAASUVORK5CYII=",__glob_5_10=Object.freeze(Object.defineProperty({__proto__:null,default:LastChangeBody$1},Symbol.toStringTag,{value:"Module"})),LevelBody$4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAAcCAIAAABppSN0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAZNSURBVGhD7Zjbb9tUHMd9d+w4sZN0XZPe0y5jm0ZHNQQDtGlDDGk3DR5A/BlICCQmnpCAF1545RFeBhKXIbaJyy5UdFu3sSa9JW26pmubNs21sR3b8Y2z1ZuYEmedeJksf/IQn/P95ehnf3N+Ob/ApmlCLs4Fsd5dHIprsMNxDXY4rsEOxzXY4bgGOxzXYIfj9sHPIoYJ3S0ouaraxmADbSSGwpbw9LgGP4v8PS98+MPKUkkN+7Ezx8KnhlhLeHosg5Nr8ucX1iTV2JxtBQy/1Een80pR0KyZlsS2e+qamSkq1rgl+/u8BUHLFLYUfHwve2VOEGXdGrfkQJSZyysFXrXGLYluI8GWmc9vKY2hbhrc4MyqZI1b8sYu/817tYr4hEe3VFYXS/XN611hz5ljHZvXLRBloztI7OuirPFDLIN1AxLrW3pSAAyBdfCxre18FIZBoLG1aLAyiAQFaisQKFIHeW+Np8oZgWFgMIi3xi1BERgyTX1rK+MooulPvr8v/8h9PVLcv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wcPPkdOywxmQghOgawsrQEtnzh78U7i1s06BMMoeEE40XwrAPS6Mbwv5mcYVeQRDAVr+ynblU2MOnj46OkTLybSWcxENJRkbRcG0dr8uhZpC9EBFtdNGPeg9jlD5QWx57VBlpDBY0RBw4pg9jmHBvYPyKlLYzPtHIfi4HnAfk/zwoDhBE3eX8eDU6B5Jz1g8KDe4J5H9R8Bv3d1vvbz+dETJw9Yc61AOyJdsVjn+PWRpNDZSTUvjIC5RFxHsamxq0Wdqa6Myf4oi9jeP2jPM8lbKbnj0PB+eXEMoUmO81taA9i25z/79IO3Th5/5fCbN349PxpfG4hut7QGKC6QuHr5n4n0kVNHx6/9fXvV12d/btj7wtDdZPLKX9MHXx7mc+MbdDRkn7OhG1w44mMYODTk5RMagbfIGQoMRIRkToGGXj4ydfm3GxPLOwfDltSAKpZXTTzSETn53tvx0dGRlBnr4CytAcrLYBi+a3fvZHwaItqiISWRuO0Pdz3K222THE7zE4SLY3ANdjiuwQ7HNdjhuAY7HNdgRwNB/wJZ7cm+RQ+62gAAAABJRU5ErkJggg==",__glob_5_11=Object.freeze(Object.defineProperty({__proto__:null,default:LevelBody$4},Symbol.toStringTag,{value:"Module"})),State$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAIAAADRv8uKAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVEhL7ZbfT9NAAMfb2mO02mWrq8HBsgQHSohRZJkzmhiMvqAx8cEX/0LiC0gWVDQYwR8xkYQwI0MYXTBzP5CuXEfX7do7WVc2DS/2pT7Yz8tdvnfXz931rilNCKH+BYxTeo4v9gxf7Bm+2DPcfTKtFixsy9CwaMAPXUhEePYoLG5mQTRxTuCO6iaqbuWNxEgMnCJaZbdQqiFM+oNSYjjW9+ca3a049/b5Wn7PIriSX1tY+HBgz/n7xnoZNjrTN1vlLxsFZGKtLL98/b5Yx3RT3c5905Dd/BvuxNLF1P3pu8nJ5O3UBFuX5Z9OfgICYUmjB2+lJydu3Hn4YEoMOA1d3InPRiV5/eNiZi6zsqqjFjKc/AR0RIqF8O787NzqVsmiGNrJe7gQo9rms5nZHQVHhkZTl0c4cDyWYLN7UFrIsstAOP7oyeP06MBe9s3T+ZWDJrbjHi7E+4ViA0jXp25euzomcABj51n9AFcUo6Ouft1p2CEhmNDc8JX0vekkq/5Q1E7co30s/xJpMMrlPi+/eBURGKMGTcrZv/j4pdzyUqYSF7CuAZ5vZ6SU//Quq0YlQd+v9p2PhUOn7b49XF0nrKsKbCDCsMEz3GG9zoUGhEB7p6Gq6E2LYblQmIWqJYpBgg5rqmZiimZAUBT57ns5xv/18Qxf7Bm+2DP+NzFF/QKbBOIv/M2tzAAAAABJRU5ErkJggg==",__glob_5_12=Object.freeze(Object.defineProperty({__proto__:null,default:State$3},Symbol.toStringTag,{value:"Module"})),SwitchAction$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAnCAYAAAB66tStAAADMUlEQVRoge3aS08TURgGYP4GP0BXuiJsDUEW/gJj4oqVC5PGFSZeiERrAZEq7gwJpFGDiVwadUCSWjeDQkSmw9hCKaYOU3R6IZly65y5vK6mDkRDOxcq47zJt+mqfXLynfOd0yb4cS1Njf4CXo6P62J8XBfj47oYH9fF+LguxpO4uq5D13VomnagjM+PK57BNYOqqgpFUUAIOVCKokBV1WOD9gSugaooCmRZxvNPBQTGeHSE02juYtHcxaIjnEZgjMdrpgRZlqEoShXZrZx4XF3XoaoqCCGILhXRGkpVQf9WraEUoktFEEKgqqprwCca14CtVCq4OblxJOrhujUloFKpuAb8T+DuEw10Zhujc0U8mP1ZU/W/+4G+6Rzuv/mOC49W6oY16sYE7xpww3GXc3sYei/WjFqFndlEL7WBzpG0ZVijJhfzIIQ43oMbiruc26sL1YzbOy3gXnQdp7s527itoRR2dnagKIo3cPeJVveKNapvZhOhtzwuP121DWvUxGcRsixD0zTHfmPDcOnMtuVV2zedQzD6DW0Pjz4Z1FpXX2Sxu7vraO9tGG49m9efWsLdyTTO9nx1DPf84CokSXK0NTQM1wqs0RJ6qQ30jDu3ao3a2tqqbmxO5MTi3nnlPG6xWPQG7uhHa23BjHumx/5Jwaj2wVXv4Frd0Mxt4Vy/c7hXIhnvtAWrRzHzhnbxCeMYbuTDunc2NMDaEGE+il0fncep2/ZXb0swiUwm452jmBEr468xRHS/5HDp8bxt3OHZFETRQ0OEOdWLmxo3OfP42zUyh/beL5Zhrz1bwdramrfGXzsxLscJISiVSkgkEghEknXDBiJJJBIJlEol713c2In5LlcURTAMg6GpRbQEj0ZuCSYxNLUIhmEgiqJ3rxztxAxcKBTAcRzi8TjC4wvoHE6ibeD3oNE2kELncBLh8QXE43FwHIdCoeD9y3I7MT/zSJIEnufBsixomkYsFgNFUaAoCrFYDDRNg2VZ8DwPSZL8Z55acviBslwuI5/PQxAEZLNZZLNZCIKAfD6PcrnsP1DWG/9p/Zji/ynkP4iP62J8XBfj47oYH9fF+Lgu5hcLggLTZHoINwAAAABJRU5ErkJggg==",__glob_5_13=Object.freeze(Object.defineProperty({__proto__:null,default:SwitchAction$3},Symbol.toStringTag,{value:"Module"})),TimePickerAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAACK0lEQVRYR2P8DwQMQwAwjjqUyrE0GqJUDlCG0RAdDVFqhwC1zRtNo6MhSkkIvP/2l2Hh8bcMO659Yrjz6ifDt1//wMYpibAxaEhwMESZCTE4qfNSYgXl5WjDlucMS06+gzsOl2v0ZDgZ2vylGIzkuMhyMNmZCRSKvlPvMNx78wtssZcOHxDzMzgCQ06Qixksdu7RN4ZDt78wLACG9qvPf8BirUDHJloJk+xYshyK7EgxXhaGvlAZvFELUt+y7TnD8tPvyXYsWQ4tXvMEbCkoDW7OVoGHIKFgmn/sLUP1xmcMXGxMDLvyVcH6iQUkOxQU1TbdN8Hmb8lWxkhz+25+ZoiZ94BhSZIC1lAOm32f4cidL+CkMidWnlh3kp6ZUhY/ZNh25RNDmq0IQ4OPJIZFhBwKSgam7TfAme9IqTrRoUpyiKrUXsVrCSGHgnwG82yZmzhDgbMYUaFKkkNh0Q7KQBdqNLFaQIxDYWmVlOgnyaEwR4DKxB25KmQ7lBhz0A2nmUNtVHgYZkbLYS0RaO5QYqIeFBIT9r5imHLgNThQchxEMdIhzaMeZDGhzASLMlDuLl37BFxCgMrLJj8peHFF88yEnGNxFU/oaQsUzUWrnzAkWAqDQ5ZuxROhAh9bDgM5Dlb/063ABzlkSFShIIcOmUYJumNB/EHZzENOh4O+4Yzs2CHRFSGqRUEFRSRVoVSwj2wjRh1KdtDh0DgaoqMhSu0QoLZ5o2mU2iEKAPVL95LPfsL/AAAAAElFTkSuQmCC",__glob_5_14=Object.freeze(Object.defineProperty({__proto__:null,default:TimePickerAction$1},Symbol.toStringTag,{value:"Module"})),TimePickerBody$3="/jarvis/assets/TimePickerBody.206dcd2f.png",__glob_5_15=Object.freeze(Object.defineProperty({__proto__:null,default:TimePickerBody$3},Symbol.toStringTag,{value:"Module"})),BlindLevelAction$2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAgCAYAAADe16AYAAACqElEQVR4nO2bwWoaQRjHfY19iwRCcsoz1FNzSC49lEIfYJ9AYqg3DxYbEii9FryGgB4E6SUg7EET2MQYYTFadWB1S8bRfw/LplqpVXbGcZj5w3dZwfnx8XNGdvdLAAAJGArVAfLlDjLX7a2uYrGoRH3M/5Deq2WVL3dQqA5AAgYASJCAIVt6xk1z9HpxW5O5bstGWDnbzkoChorrI1t6BgkYEoXqADfNkWyulbLtzZ2NKqwV10ehOkAiW3rGLzqRzbNSVGkuoA4rCRjy5Q4SqgAD6jQXUI/ViCAoqrEaEQRFNVYjgqCoxmpEEBTVWI0IgqIaq1Yi1Ov1tUom6yajnQjr3iaWybrJCBOh1ado9Sn37zUiiIkQETxCsXdax95pHR7hK4NOItx3X/Am56I3/Pfzn96QIZlz8dh7ibUWdxEiCSzbgWU73GXQSYRkzoVlOzjM3KHjjxc+7/hjHGbuYNkOkp/vY63FVQSPUOynQwmOLxo4vmjAsh3sp/nJoJMIrT7FbqoGy3ZwcHY7J4NHKA7ObmHZDnZTtdjHMDcRZneCk8sGKJuCsimOzh+47gw6iQAsyuAROtdrHhJErLFF+FuC8cyDTMqmOLlscJNBNxEA4KlPsTMjQ9TrnVQNT5z+kHMR4e2X8Ff//ltzToIo4wnw7usjLNvB0flDrLV0FAGY3xl47gRRuIjwc8iQvmqDLXmlgU2A9FUbvVG8N6B0FQH4IwNvCQBzQ0kpEYDwmOB1HMzGiKCYCKKinQie561VMlk3Ge1E2GRUYzUiCIpqrEYEQVGN1YggKKqxGhEERTVWM+AiKKqwhgMu3XDkreL6snlWiirNBdRhfR15i4ZgK65vhmA5ZttZF4Zgo4vhWHxX+rj2svrw6fvadwdllexe/a/y5e7cWPxv80HE6oK6uMAAAAAASUVORK5CYII=",__glob_5_16=Object.freeze(Object.defineProperty({__proto__:null,default:BlindLevelAction$2},Symbol.toStringTag,{value:"Module"})),LightColorAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAhCAYAAAAh3nDkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGRSURBVFhH7ZaxTsJAHMZ9DZ+C0a1P4FvwBg6GdDEMRBIS0olRNwcHN7ZuuEFi4gUCQiRq1IAElERCguSz4F85y/3vrijp0l/yLe31++V6ba87iJFEHguJ3I7XF/jlFg5yAk7mGruHX9nPNZC96KL2PKWBdtjJZyNUzuvYI5kuTrGNymBGF+oxy4cPyGfVIjYZgXz1jQp49PLJE7yo4p8IeOKditRo5COUvVBh4RY34w9g3MNJQXPsO5kGyn2qU8DKp9UmUnJRkLQ/orNAz6+zx+SkTh/BPYaMfICz498ly0Sd+TJN+GOqDaGW97tIr5VsHk9Qbwi1/Kq1ujiY2d3izZkFd0M5MynMWHlpZJRyee1MayqHG7ux3LymUpixXoOKQ5hv+19z1IGYU2+ILT9w+g+NWs69apEi4F4OqU8NI1d/ZKziCqRLHavNhZUrP69MPGG3i4XRyAMsN5ZU6R7mPWwdvXyB1ZbaRo2GR8EsX2D4mdjezGXoN8otrH6jnGLwHk/ofESiyf+ZRB4LiTwGgE+HYFBe7T7hHwAAAABJRU5ErkJggg==",__glob_5_17=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorAction$1},Symbol.toStringTag,{value:"Module"})),LightColorBody$3="/jarvis/assets/LightColorBody.e91ee812.png",__glob_5_18=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorBody$3},Symbol.toStringTag,{value:"Module"})),LightColorState$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAjCAIAAACVTvQzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAATeSURBVEhL7ZV9TBNnHMfvWlrkHS0wUIQ5XuRdBSdkcWNRmHOQhTgNmy6ZLAJZtmXJnHPZMBDnDDqt0T/QqUHrptSJ002KKDgi40VBRXlvoaXY46Wlte9H7653t+e4UySpQJb4z8Lnn/u9Pc/37ve8HEzTNPSS4XHPl8m8xtz5jxqU06FGDJwzGy/cV1aNfOePJyIiRALvuK8+38TnwhyoeWj/yfZ9u3KAfauy7J7SOo70xGR9twip7jc4kf77mV+Uvb8ygC2GgIZLzINdxcdqaZo6VVpkpKhHdZVnJecem0kKM0h/lUik0u8PXuFKARR6YNduq5NiTNy4e2cxyZgcM/VK3VF7VHzAK2WzvaumesR77eoI8eHyP345Ers+NzM+2E5yZYCxrmav9I+9+TCw5S03V+Xm8xiTYyaNV5Myt+e+rejsNhgQUZAPSvp8lrdhaJwfGSD0C13iMTUL9ff1hpw3oxiTdshudm5MCpmMc8yy5n5L0pK9VCo6UVUnGxgY0Ois76SJSk9XXqq4ann6HTT6pM/mHejjDmzMoDV6Rnu7T5t2hruEpmiIB3MFoM/gyePxQYAkKRgGXwHznnaEougp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C",__glob_5_19=Object.freeze(Object.defineProperty({__proto__:null,default:LightColorState$1},Symbol.toStringTag,{value:"Module"})),LightHueAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAhCAYAAAAh3nDkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGRSURBVFhH7ZaxTsJAHMZ9DZ+C0a1P4FvwBg6GdDEMRBIS0olRNwcHN7ZuuEFi4gUCQiRq1IAElERCguSz4F85y/3vrijp0l/yLe31++V6ba87iJFEHguJ3I7XF/jlFg5yAk7mGruHX9nPNZC96KL2PKWBdtjJZyNUzuvYI5kuTrGNymBGF+oxy4cPyGfVIjYZgXz1jQp49PLJE7yo4p8IeOKditRo5COUvVBh4RY34w9g3MNJQXPsO5kGyn2qU8DKp9UmUnJRkLQ/orNAz6+zx+SkTh/BPYaMfICz498ly0Sd+TJN+GOqDaGW97tIr5VsHk9Qbwi1/Kq1ujiY2d3izZkFd0M5MynMWHlpZJRyee1MayqHG7ux3LymUpixXoOKQ5hv+19z1IGYU2+ILT9w+g+NWs69apEi4F4OqU8NI1d/ZKziCqRLHavNhZUrP69MPGG3i4XRyAMsN5ZU6R7mPWwdvXyB1ZbaRo2GR8EsX2D4mdjezGXoN8otrH6jnGLwHk/ofESiyf+ZRB4LiTwGgE+HYFBe7T7hHwAAAABJRU5ErkJggg==",__glob_5_20=Object.freeze(Object.defineProperty({__proto__:null,default:LightHueAction$1},Symbol.toStringTag,{value:"Module"})),LightHueBody$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAATCAIAAACY85GhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJDSURBVGhD7VnNitRAEK7+zcysLIu6Fy8Ksl78wYMvsPgCHn0JEYS97oKPoHj25mv4BOJNQVTEi+xFD7NJdpJ0tzXppCc/M84kpxj6o6j56qO7q4cakuoeYowBj/GCFp8eI4Uv8MjhCzxy9HwH4yw3keSw3GNo6FxgHK+USnMgZ4yJHJT6h8EQQczJC/j2CQIACUtfJa3QSMiYiVjAHp6Kq/dwvlZJcv5GmPeTfUKnBMdoDpcAi5a1xYaCYdISNfBV+trOdtjuWq7YanXM53g1rOrbOM1WOSYlcSFmrYptxYqOU0hrq+/Eq2I9vHtEjACYAsxy70gjLImeQEgJefxW3H5qfyBLmCT6fjybfZAHQGagJESw3WKAsCToG9wSNLX81ps31ENPebE6ekcaYRedJcultxrm3isJ+ga3BC3/9dUT1EhXPe72XFUakulNcetJEVsQya89WyRgdCF4DAamY4ENZOIQGD5UaiDiKM3A35gMEN0KjL2yic9Nhi/KGtTlZ99HDxNY4A6VYRRo9DP+8g4LXUjI1MXFr1dS4HmpUDyGAkKJeXkGX8su2prjLVELiI36ndLgwfP9G4/w+Jssoj8/Xk/5x4PrXOwVXXSjmbOk6nch1pdd9IYNrQ//OR67aJfAmuNrxXZYH++6aJvDkarfhVhPIWsmWMMb4ebx9+90PgfjITiO4/l8Hoah1joIgis5pJT+umOA6HOThXXNctiLDs45el/dYaL/34Vuoi/tkNG/wB7/BfwF8sjhCzxqAPwFlMKIthY4sxIAAAAASUVORK5CYII=",__glob_5_21=Object.freeze(Object.defineProperty({__proto__:null,default:LightHueBody$3},Symbol.toStringTag,{value:"Module"})),SaturationSliderBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAAATCAYAAAAtQbmFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAVzSURBVGhD7ZrZS11HHMd/1yVucde6NEJEFCIuaEXBl9IHFWwr1KciFB/8E/pa+mbTh1CRPrfuxbjXgKIRDURbLWqsUaxV3KJGjBoX3L33Nt+fZy6Tc+/VnONbnQ8M81vm/DLnOL/Zbiz2d5BCoSAPrVYobj0qGRQKDUcy7J9YaffYSmrTpLitWE7ObfaH3RvU/vcuWW1Enyb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2lqqoqzWOc/v5+ysjIoFevXlF8fDxVV1drHuNUVFTw3h63I7glqa+v1zzGKS4u5glkamqKbwQfP36seYyDCXFoaIgTArGQaGZBsuOWEjEQC2PMKPj74TlMRLiVQhJAx1jjZMCLBwcHc8HhxCy4akxPT2cZiRAWFsYzlRkwOJAQuAvGwSskJIQTwgw4MKNfmFHQR7wn7qrNUF5ezgdUJD3eD/HMkpWVxZcDg4OD/H43ibW3t0dv377llRnvhz6aBbHEITwoKMhxsDcDDuD4/oiJWDchMTGRkx1jFAdgM2P1/v37/Cwm7piYGL7uBThIczJg1sRsKe6obwL+IcTAYH727Bk9ePBA8xgDGYzZ5Pnz53wrNTIywjHNgCRoaGig7Oxsns0xYPAhzFBZWUklJSVUVFRE3d3dlJKSonmMg98qsCIXFBRQa2srpaamah7jIMb8/Dzl5eXxqoDVwSyYhPLz8/lvh+0SVi+zxMXF8YSIb19TU8MTgFkwkAsLCyk3N5f7lZOTo3mMgThifELGb1jom/ov3AqFhro/VSg0VDIoFBoqGRQKhug/L91Z+uDzpAMAAAAASUVORK5CYII=",__glob_5_22=Object.freeze(Object.defineProperty({__proto__:null,default:SaturationSliderBody$1},Symbol.toStringTag,{value:"Module"})),WhiteSliderBody$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAANCAYAAAAuTWUdAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJiSURBVGhD7Vc9b9NQFD3PSdy0iFQtqirBhBhYGBgYWPgDLIztyta/gITEhMTPgBVYkBADAzsCxIDEBAMVtFKlqipKnKQ4Nve8+FnXrtNkqOrB70gn99xz73OivA/bJhXAw6MmBFn08KgFfgF61Aq/ABuIv6MJPv+K8PvoX+bUB/8M2CBwpl9+OcLjN3uIThIEgcH2nTU8fXAVYdtkXRcLM/r0Lu2/fobkpA+06AgZeTZqVtXOu8/5Oq/yZ/WQ9rpt+VjKGEqe6UJU/qI9NroaY4gEbUxkYi3FjYXUceYx19r1Wi/rL9fzXHsSE50LT40RrWPBE46OY3x9f4iYicL12z3gxkreb4+khELxrHxWzUWi5K12Ajy6lcLsb11Jk8HhdOLcxDpdzhfRVTWuB0at59X0+Cp9Vk0WBkxXxLKQUWhEO68QWXO59kTraJnV81pX/s9OPtkkb2o2as9pqTnNyMnWua3LBOk+R16X60b7+ZgKL9fKG/wcYvg9ElXEpNdG/+6q7eN3cKHbhUISTpOsubru07n2dX/JW9/9iKC1timZRxNgWjNus9y0NWDj8jJMfLCbDj+8QDIeTE8R/sZyrPLOu8fpRXrn9fAftbfhjpAx0wWvlBvVa3WFf8rryEYOphtbdjQjTzVqF11N5/aUYa51qVY5Xnl63KLXHkUJnr/aw3HEEVPIYyC2729i5Vo3789PLUei7M3zeSGny3VhLwzw8GboX0Kahm9/hnjydh8/DsZYv9TCzr0NbMmLiOHmrQF+ATYQPBHHsbw+yfHXmXVbviD4BehRK+wTk4dHPQD+A86mjUXjJGn3AAAAAElFTkSuQmCC",__glob_5_23=Object.freeze(Object.defineProperty({__proto__:null,default:WhiteSliderBody$1},Symbol.toStringTag,{value:"Module"})),BlindLevelAction$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAgCAYAAADe16AYAAACqElEQVR4nO2bwWoaQRjHfY19iwRCcsoz1FNzSC49lEIfYJ9AYqg3DxYbEii9FryGgB4E6SUg7EET2MQYYTFadWB1S8bRfw/LplqpVXbGcZj5w3dZwfnx8XNGdvdLAAAJGArVAfLlDjLX7a2uYrGoRH3M/5Deq2WVL3dQqA5AAgYASJCAIVt6xk1z9HpxW5O5bstGWDnbzkoChorrI1t6BgkYEoXqADfNkWyulbLtzZ2NKqwV10ehOkAiW3rGLzqRzbNSVGkuoA4rCRjy5Q4SqgAD6jQXUI/ViCAoqrEaEQRFNVYjgqCoxmpEEBTVWI0IgqIaq1Yi1Ov1tUom6yajnQjr3iaWybrJCBOh1ado9Sn37zUiiIkQETxCsXdax95pHR7hK4NOItx3X/Am56I3/Pfzn96QIZlz8dh7ibUWdxEiCSzbgWU73GXQSYRkzoVlOzjM3KHjjxc+7/hjHGbuYNkOkp/vY63FVQSPUOynQwmOLxo4vmjAsh3sp/nJoJMIrT7FbqoGy3ZwcHY7J4NHKA7ObmHZDnZTtdjHMDcRZneCk8sGKJuCsimOzh+47gw6iQAsyuAROtdrHhJErLFF+FuC8cyDTMqmOLlscJNBNxEA4KlPsTMjQ9TrnVQNT5z+kHMR4e2X8Ff//ltzToIo4wnw7usjLNvB0flDrLV0FAGY3xl47gRRuIjwc8iQvmqDLXmlgU2A9FUbvVG8N6B0FQH4IwNvCQBzQ0kpEYDwmOB1HMzGiKCYCKKinQie561VMlk3Ge1E2GRUYzUiCIpqrEYEQVGN1YggKKqxGhEERTVWM+AiKKqwhgMu3XDkreL6snlWiirNBdRhfR15i4ZgK65vhmA5ZttZF4Zgo4vhWHxX+rj2svrw6fvadwdllexe/a/y5e7cWPxv80HE6oK6uMAAAAAASUVORK5CYII=",__glob_5_24=Object.freeze(Object.defineProperty({__proto__:null,default:BlindLevelAction$1},Symbol.toStringTag,{value:"Module"}));const actions$1={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};actions$1.defaultMerge;function defaultMetaDataUpdater(t,r){return r}function defaultFilterValues(t,r){return t.filter(o=>o!==void 0)}var ObjectType;(function(t){t[t.NOT=0]="NOT",t[t.RECORD=1]="RECORD",t[t.ARRAY=2]="ARRAY",t[t.SET=3]="SET",t[t.MAP=4]="MAP",t[t.OTHER=5]="OTHER"})(ObjectType||(ObjectType={}));function getObjectType(t){return typeof t!="object"||t===null?0:Array.isArray(t)?2:isRecord(t)?1:t instanceof Set?3:t instanceof Map?4:5}function getKeys(t){const r=new Set;for(const o of t)for(const a of[...Object.keys(o),...Object.getOwnPropertySymbols(o)])r.add(a);return r}function objectHasProperty(t,r){return typeof t=="object"&&Object.prototype.propertyIsEnumerable.call(t,r)}function getIterableOfIterables(t){return{*[Symbol.iterator](){for(const r of t)for(const o of r)yield o}}}const validRecordToStringValues=new Set(["[object Object]","[object Module]"]);function isRecord(t){if(!validRecordToStringValues.has(Object.prototype.toString.call(t)))return!1;const{constructor:r}=t;if(r===void 0)return!0;const o=r.prototype;return!(o===null||typeof o!="object"||!validRecordToStringValues.has(Object.prototype.toString.call(o))||!o.hasOwnProperty("isPrototypeOf"))}function mergeRecords$1(t,r,o){const a={};for(const u of getKeys(t)){const d=[];for(const y of t)objectHasProperty(y,u)&&d.push(y[u]);if(d.length===0)continue;const g=r.metaDataUpdater(o,{key:u,parents:t}),v=mergeUnknowns(d,r,g);v!==actions$1.skip&&(u==="__proto__"?Object.defineProperty(a,u,{value:v,configurable:!0,enumerable:!0,writable:!0}):a[u]=v)}return a}function mergeArrays$1(t){return t.flat()}function mergeSets$1(t){return new Set(getIterableOfIterables(t))}function mergeMaps$1(t){return new Map(getIterableOfIterables(t))}function mergeOthers$1(t){return t.at(-1)}const mergeFunctions={mergeRecords:mergeRecords$1,mergeArrays:mergeArrays$1,mergeSets:mergeSets$1,mergeMaps:mergeMaps$1,mergeOthers:mergeOthers$1};function deepmerge(...t){return deepmergeCustom({})(...t)}function deepmergeCustom(t,r){const o=getUtils(t,a);function a(...u){return mergeUnknowns(u,o,r)}return a}function getUtils(t,r){var o,a,u;return{defaultMergeFunctions:mergeFunctions,mergeFunctions:{...mergeFunctions,...Object.fromEntries(Object.entries(t).filter(([d,g])=>Object.hasOwn(mergeFunctions,d)).map(([d,g])=>g===!1?[d,mergeFunctions.mergeOthers]:[d,g]))},metaDataUpdater:(o=t.metaDataUpdater)!=null?o:defaultMetaDataUpdater,deepmerge:r,useImplicitDefaultMerging:(a=t.enableImplicitDefaultMerging)!=null?a:!1,filterValues:t.filterValues===!1?void 0:(u=t.filterValues)!=null?u:defaultFilterValues,actions:actions$1}}function mergeUnknowns(t,r,o){var d,g;const a=(g=(d=r.filterValues)==null?void 0:d.call(r,t,o))!=null?g:t;if(a.length===0)return;if(a.length===1)return mergeOthers(a,r,o);const u=getObjectType(a[0]);if(u!==0&&u!==5){for(let v=1;v {'{}'} ], disablePadding [ true | false ], width, style, headerStyle, classes, visible [ true | false ]","config#JsonTable#thead#placeholder":`[{'{ "field": "originale Spalten-ID (muss eindeutig sein)", "label": "eigener Spaltenbezeichner", "align": "[ left | center | right ]", "sortable": "[ true | false ]", "format": val => {}, "mask": "dd.MM.yyyy HH:mm", "classes": "eigeneCssKlasse" }'}]`,"config#JsonTable#object#label":"Objekt-Modus","config#JsonTable#object#description":`Quelldaten liegen als Objekt {'{ "key": "value", ... }'} und nicht als Liste / Array vor`,"config#JsonTable#sortable#label":"Sortierung","config#JsonTable#sortable#description":"M\xF6glichkeit zur Sortierung (de)aktivieren","config#JsonTable#sortColumn#label":"Spalte (Sortierung)","config#JsonTable#sortColumn#description":"Spalte f\xFCr die initiale Sortierung ","config#JsonTable#sortDirection#label":"Sortierrichtung","config#JsonTable#sortDirection#description":"Sortierrichtung (aus = aufsteigend, an = absteigend)","config#JsonTable#rowsPerPage#label":"Datens\xE4tze je Seite","config#JsonTable#rowsPerPage#description":"Anzahl der Datens\xE4tze je Seite (0 = alle)","config#JsonTable#max#label":"Max. Eintr\xE4ge","config#JsonTable#max#description":"maximale Eintr\xE4ge die gezeigt werden sollen (0 = aus)","config#JsonTable#dense#label":"Kompakte Ansicht","config#JsonTable#dense#description":"Aktiviere kompakte Ansicht f\xFCr die Zeilen","config#JsonTable#hideFilter#label":"Suchleiste verstecken","config#JsonTable#hideColumnsSelector#label":"Spaltenauswahl verstecken","config#JsonTable#hideFullscreenButton#label":"Vollbild-Button verstecken"},__glob_8_99=Object.freeze(Object.defineProperty({__proto__:null,default:de$m},Symbol.toStringTag,{value:"Module"})),en$l={"JsonTable#description":"Displays a table based on a JSON structure.","config#JsonTable#thead#label":"Columns","config#JsonTable#thead#description":"Configuration of the displayed columns with the options: label, align [ left | center | right ], sortable [ true | false ], noWrap [ true | false ], format [ val => {'{}'} ], disablePadding [ true | false ], width, classes, visible [ true | false ]","config#JsonTable#thead#placeholder":`[{'{ "field": "Field ID (must be unique)", "label": "custom label", "align": "[ left | center | right ]", "sortable": "[ true | false ]", "format": val => {}, "mask": "dd.MM.yyyy HH:mm", "classes": "ownCssClass" }'}]`,"config#JsonTable#object#label":"Object-Mode","config#JsonTable#object#description":`Source data is object-formatted {'{ "key": "value", ... }'} (not a list / array)`,"config#JsonTable#sortable#label":"Sortation","config#JsonTable#sortable#description":"Enable / disable sortation","config#JsonTable#sortColumn#label":"Column (Sortation)","config#JsonTable#sortColumn#description":"Column for initial sortation","config#JsonTable#sortDirection#label":"Sort Direction","config#JsonTable#sortDirection#description":"Direction of sortation (off for ascending, on for descending)","config#JsonTable#rowsPerPage#label":"Rows per page","config#JsonTable#rowsPerPage#description":"Amount of rows per page (0 = all)","config#JsonTable#max#label":"Max. entries","config#JsonTable#max#description":"Maximum entries to show (0 = off)","config#JsonTable#dense#label":"Dense","config#JsonTable#dense#description":"Activate smaller / densed rows","config#JsonTable#hideTopBar#label":"Hide search bar","config#JsonTable#hideColumnsSelector#label":"Hide column select","config#JsonTable#hideFullscreenButton#label":"Hide fullscreen button"},__glob_8_100=Object.freeze(Object.defineProperty({__proto__:null,default:en$l},Symbol.toStringTag,{value:"Module"})),ru$m={"JsonTable#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 JSON","config#JsonTable#thead#label":"\u041A\u043E\u043B\u043E\u043D\u043A\u0438","config#JsonTable#thead#description":"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0441 \u043E\u043F\u0446\u0438\u044F\u043C\u0438","config#JsonTable#thead#placeholder":'[{ "\u043F\u043E\u043B\u0435"',"config#JsonTable#object#label":"\u041E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C","config#JsonTable#object#description":"\u0418\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u0430 { '\u043A\u043B\u044E\u0447","config#JsonTable#sortable#label":"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430","config#JsonTable#sortable#description":"\u0420\u0430\u0445\u0440\u0435\u0448\u0438\u0442\u044C / \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443","config#JsonTable#sortColumn#label":"\u041A\u043E\u043B\u043E\u043D\u043A\u0430 (\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430)","config#JsonTable#sortColumn#description":"\u041A\u043E\u043B\u043E\u043D\u043A\u0430 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0439 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438","config#JsonTable#sortDirection#label":"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438","config#JsonTable#sortDirection#description":"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 (\u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E - \u043F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E - \u043F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E)","config#JsonTable#rowsPerPage#label":"\u0421\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435","config#JsonTable#rowsPerPage#description":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 (0 - \u0432\u0441\u0435)","config#JsonTable#max#label":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445","config#JsonTable#max#description":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F (0 - \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E)","config#JsonTable#dense#label":"\u0421\u0436\u0430\u0442\u043E","config#JsonTable#dense#description":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0436\u0430\u0442\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0441\u0442\u0440\u043E\u043A","config#JsonTable#hideFilter#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u043F\u043E\u0438\u0441\u043A\u0430","config#JsonTable#hideColumnsSelector#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0441\u0442\u043E\u043B\u0431\u0446\u0430","config#JsonTable#hideFullscreenButton#label":"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u043D\u043E\u043F\u043A\u0443 \u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D"},__glob_8_101=Object.freeze(Object.defineProperty({__proto__:null,default:ru$m},Symbol.toStringTag,{value:"Module"})),de$l={"Map#description":"Zeigt eine Karte von OpenStreetMap und visualisiert darauf Datenpunkte mit Koordinaten.","config#Map#rotation#label":"Rotation","config#Map#defaultZoom#label":"Zoom","config#Map#defaultPosition#label":"initiale Koordinaten auf der Karte","config#Map#defaultPosition#description":"Latitude und Longitude mit Komma separiert (z. B. 53.550383, 9.992376)","config#Map#followDevice#label":"Ger\xE4t folgen","config#Map#followDevice#description":"Folgt dem ausgew\xE4hlten Ger\xE4t, wenn sich die Koordinaten ver\xE4ndern","config#Map#tooltipDirection#label":"Richtung in die der Tooltip \xF6ffnet","config#Map#tooltipDirection#description":"m\xF6gliche Werte: dynamisch erkennen, zentriert, oben, links, rechts or unten","config#Map#tooltipDirection#selection#auto":"dynamisch erkennen","config#Map#tooltipDirection#selection#center":"zentriert","config#Map#tooltipDirection#selection#top":"oben","config#Map#tooltipDirection#selection#left":"links","config#Map#tooltipDirection#selection#right":"rechts","config#Map#tooltipDirection#selection#bottom":"unten","config#Map#tooltipPermanent#label":"Permanenter Tooltip","config#Map#tooltipPermanent#description":"Angabe ob der Tooltip permanent ist (true) oder nur beim r\xFCberfahren mit der Maus gezeigt wird (false)","config#Map#height#label":"H\xF6he der Karte","config#Map#height#description":"H\xF6he der Karte in Pixeln (wird im Vollbildmodus ignoriert)","Jump to":"springen zu"},__glob_8_102=Object.freeze(Object.defineProperty({__proto__:null,default:de$l},Symbol.toStringTag,{value:"Module"})),en$k={"Map#description":"Displays a OpenStreetMap and visualizes states with coordinates on it.","config#Map#rotation#label":"Rotation","config#Map#defaultZoom#label":"Zoom","config#Map#defaultPosition#label":"initial Map Coordinates","config#Map#defaultPosition#description":"Separate latitude and longitude via comma (e.g. 53.550383, 9.992376)","config#Map#followDevice#label":"Follow Device","config#Map#followDevice#description":"Follows the device when the coordinates change","config#Map#tooltipDirection#label":"Direction tooltip will open","config#Map#tooltipDirection#description":"possible directions to open: detect dynamically, center, top, left, right or bottom","config#Map#tooltipDirection#selection#auto":"detect dynamically","config#Map#tooltipDirection#selection#center":"center","config#Map#tooltipDirection#selection#top":"top","config#Map#tooltipDirection#selection#left":"left","config#Map#tooltipDirection#selection#right":"right","config#Map#tooltipDirection#selection#bottom":"bottom","config#Map#tooltipPermanent#label":"permanent tooltip","config#Map#tooltipPermanent#description":"Option to keep tooltip permanently open (true) or only open on mouse-over (false)","config#Map#height#label":"Height of the Map","config#Map#height#description":"Height of the Map in Pixels (will be ignored in fullscreen mode)"},__glob_8_103=Object.freeze(Object.defineProperty({__proto__:null,default:en$k},Symbol.toStringTag,{value:"Module"})),ru$l={"Map#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043A\u0430\u0440\u0442\u0443 OpenStreetMap \u0438 \u043E\u0431\u044A\u0435\u043A\u0442\u044B \u043D\u0430 \u043D\u0435\u0439 \u043F\u043E \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u0430\u043C","config#Map#rotation#label":"","config#Map#defaultZoom#label":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0441\u0448\u0442\u0430\u0431 \u043A\u0430\u0440\u0442\u044B","config#Map#defaultPosition#label":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B","config#Map#defaultPosition#description":"\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435 \u0448\u0438\u0440\u043E\u0442\u0443 \u0438 \u0434\u043E\u043B\u0433\u043E\u0442\u0443 \u0437\u0430\u043F\u044F\u0442\u043E\u0439 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440: 53.550383, 9.992376)","config#Map#followDevice#label":"","config#Map#followDevice#description":"","config#Map#tooltipDirection#label":"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F tooltip \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F","config#Map#tooltipDirection#description":"\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F","config#Map#tooltipDirection#selection#auto":"\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438","config#Map#tooltipDirection#selection#center":"\u0446\u0435\u043D\u0442\u0435\u0440","config#Map#tooltipDirection#selection#top":"\u0432\u0435\u0440\u0445","config#Map#tooltipDirection#selection#left":"\u043B\u0435\u0432\u043E","config#Map#tooltipDirection#selection#right":"\u043F\u0440\u0430\u0432\u043E","config#Map#tooltipDirection#selection#bottom":"\u043D\u0438\u0437","config#Map#tooltipPermanent#label":"\u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u044B\u0439 tooltip","config#Map#tooltipPermanent#description":"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C tooltip \u0432\u0441\u0435\u0433\u0434\u0430 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C (true) \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0438 \u043C\u044B\u0448\u043A\u0438","config#Map#height#label":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043A\u0430\u0440\u0442\u044B","config#Map#height#description":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043A\u0430\u0440\u0442\u044B \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u0430\u0445 (\u0431\u0443\u0434\u0435\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435)","Jump to":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A"},__glob_8_104=Object.freeze(Object.defineProperty({__proto__:null,default:ru$l},Symbol.toStringTag,{value:"Module"})),de$k={"MediaControl#description":"Zeigt ein Multimedia-Player an (z. B. Spotify).","config#MediaControl#adapter#label":"Musik Adapter","config#MediaControl#player#label":"Player ID","config#MediaControl#player#info":"Identifier des Abspielger\xE4ts (nur Alexa2 und Plex)","config#MediaControl#coverMode#label":"Cover Modus","config#MediaControl#coverMode#info":"Zeigt das gesamte Cover (true) oder nutzt die gesamte Breite (was das Cover abschneidet) (false)","config#MediaControl#coverHeight#label":"Cover H\xF6he","config#MediaControl#coverUrl#label":"Cover Prefix URL","config#MediaControl#coverUrl#info":"Notwendige vorangestellte URL, um das Cover-Bild zu laden (nur Plex)","repeat off":"Wiederholung ist aus","repeat item":"Element wird wiederholt","repeat all":"alles wird wiederholt","shuffle is off":"zuf\xE4llige Wiedergabe ist aus","shuffle is on":"zuf\xE4llige Wiedergabe ist an"},__glob_8_105=Object.freeze(Object.defineProperty({__proto__:null,default:de$k},Symbol.toStringTag,{value:"Module"})),en$j={"MediaControl#description":"Displays a multimedia player (e.g. Spotify).","config#MediaControl#adapter#label":"Music Adapter","config#MediaControl#player#label":"Player ID","config#MediaControl#player#info":"Identifier of the Player (only Alexa2 and Plex)","config#MediaControl#coverMode#label":"Cover Mode","config#MediaControl#coverMode#info":"Whether to display the full cover (true) or take the full width (which cuts the picture) (false)","config#MediaControl#coverHeight#label":"Cover Height","config#MediaControl#coverUrl#label":"Cover Prefix URL","config#MediaControl#coverUrl#info":"Required prepended URL to retrieve the cover picture (only Plex)"},__glob_8_106=Object.freeze(Object.defineProperty({__proto__:null,default:en$j},Symbol.toStringTag,{value:"Module"})),ru$k={"MediaControl#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, Spotify)","config#MediaControl#adapter#label":"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0434\u0430\u043F\u0442\u0435\u0440","config#MediaControl#player#label":"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044F","config#MediaControl#player#info":"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044F (\u0442\u043E\u043B\u044C\u043A\u043E Alexa2 \u0438 Plex)","config#MediaControl#coverMode#label":"\u0420\u0435\u0436\u0438\u043C \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverMode#info":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0441\u044E \u043E\u0431\u043B\u043E\u0436\u043A\u0443 (true) \u0438\u043B\u0438 \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435 (\u0441 \u043E\u0431\u0440\u0435\u0437\u043A\u043E\u0439 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F) (false)","config#MediaControl#coverHeight#label":"\u0412\u044B\u0441\u043E\u0442\u0430 \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverUrl#label":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441 URL \u043E\u0431\u043B\u043E\u0436\u043A\u0438","config#MediaControl#coverUrl#info":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 URL \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u043B\u043E\u0436\u043A\u0438 (\u0442\u043E\u043B\u044C\u043A\u043E Plex)","repeat off":"\u043F\u043E\u0432\u0442\u043E\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D","repeat item":"\u043F\u043E\u0432\u0442\u043E\u0440 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","repeat all":"\u043F\u043E\u0432\u0442\u043E\u0440 \u0432\u0441\u0435\u0433\u043E","shuffle is off":"\u043F\u0435\u0440\u0435\u043C\u0435\u0448\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E","shuffle is on":"\u043F\u0435\u0440\u0435\u043C\u0435\u0448\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E"},__glob_8_107=Object.freeze(Object.defineProperty({__proto__:null,default:ru$k},Symbol.toStringTag,{value:"Module"})),de$j={"ScriptStatus#description":"Zeigt alle Skripte mit dem jeweiligen Status an.","config#ScriptStatus#switch#label":"Schalten erlauben","config#ScriptStatus#switch#description":"Das An- bzw. Abschalten von Skripten erlauben","config#ScriptStatus#expanded#label":"Ordner aufklappen","config#ScriptStatus#expanded#description":"Alle Ordner standardm\xE4\xDFig aufklappen","config#ScriptStatus#list#label":"Liste angezeigter Skripte","config#ScriptStatus#list#description":"Liste der Skripte, die angezeigt werden (leere Liste zeigt alle Skripte)","config#ScriptStatus#list#values":"Namen der Skripte mit Komma separiert","config#ScriptStatus#blacklist#label":"Liste nicht angezeigter Skripte","config#ScriptStatus#blacklist#description":"Zeigt alle Skripte, au\xDFer die hier angegebenen","config#ScriptStatus#blacklist#values":"Namen der Skripte mit Komma separiert"},__glob_8_108=Object.freeze(Object.defineProperty({__proto__:null,default:de$j},Symbol.toStringTag,{value:"Module"})),en$i={"ScriptStatus#description":"Displays a list of all scripts including their status","config#ScriptStatus#switch#label":"Enable Switch","config#ScriptStatus#switch#description":"Allow to switch scripts on / off","config#ScriptStatus#expanded#label":"Expand Tree","config#ScriptStatus#expanded#description":"Expand all folders by default","config#ScriptStatus#list#label":'List of Script"s',"config#ScriptStatus#list#description":"List of script to show (empty shows all scripts)","config#ScriptStatus#list#values":"Script names separated by comma","config#ScriptStatus#blacklist#label":'List of Script"s to hide',"config#ScriptStatus#blacklist#description":"Shows all scripts except the ones listed here","config#ScriptStatus#blacklist#values":"Script names separated by comma"},__glob_8_109=Object.freeze(Object.defineProperty({__proto__:null,default:en$i},Symbol.toStringTag,{value:"Module"})),ru$j={"ScriptStatus#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0438 \u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432","config#ScriptStatus#switch#label":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C","config#ScriptStatus#switch#description":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C / \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442\u044B","config#ScriptStatus#expanded#label":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0434\u0435\u0440\u0435\u0432\u043E","config#ScriptStatus#expanded#description":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u043F\u0430\u043F\u043A\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","config#ScriptStatus#list#label":"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432","config#ScriptStatus#list#description":"\u0421\u043F\u0438\u0441\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 (\u0435\u0441\u043B\u0438 \u043F\u0443\u0441\u0442\u043E\u0439 - \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432\u0441\u0435)","config#ScriptStatus#list#values":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F \u0437\u0430\u043F\u044F\u0442\u043E\u0439","config#ScriptStatus#blacklist#label":"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u043A\u0440\u044B\u0442\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432","config#ScriptStatus#blacklist#description":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u044B \u0437\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u043D\u044B\u0445 \u0437\u0434\u0435\u0441\u044C","config#ScriptStatus#blacklist#values":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F \u0437\u0430\u043F\u044F\u0442\u043E\u0439"},__glob_8_110=Object.freeze(Object.defineProperty({__proto__:null,default:ru$j},Symbol.toStringTag,{value:"Module"})),de$i={"StateHTML#description":"Zeigt dynamische HTML Inhalte von Datenpunkten an.","Incorrect HTML provided to StateHTML module":"Fehlerhafter HTML Code im StateHTML Modul"},__glob_8_111=Object.freeze(Object.defineProperty({__proto__:null,default:de$i},Symbol.toStringTag,{value:"Module"})),en$h={"StateHTML#description":"Displays dynamic HTML contents from states."},__glob_8_112=Object.freeze(Object.defineProperty({__proto__:null,default:en$h},Symbol.toStringTag,{value:"Module"})),ru$i={"StateHTML#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E HTML \u0438\u0437 \u0441\u0442\u0430\u0442\u0443\u0441\u0430","Incorrect HTML provided to StateHTML module":"\u041C\u043E\u0434\u0443\u043B\u044E StateHTML \u043F\u0435\u0440\u0435\u0434\u0430\u043D \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 HTML"},__glob_8_113=Object.freeze(Object.defineProperty({__proto__:null,default:ru$i},Symbol.toStringTag,{value:"Module"})),de$h={"StateList#description":"Zeigt eine Liste von States an.","config#StateList#dense#label":"Kompakte Ansicht","config#StateList#dense#description":"Aktiviere kompakte Ansicht f\xFCr die Zeilen","config#StateList#horizontal#label":"Horizontale Ansicht","config#StateList#horizontal#description":"Zeigt die StateList horizontal an","config#StateList#stacked#label":"Informationen \xFCbereinander angeordnet","config#StateList#stacked#description":"Zeigt die Informationen \xFCbereinander angeordnet (statt in Reihe nebeneinander)","config#StateList#filter#label":"Eintr\xE4ge filtern","config#StateList#filter#description":'Eintr\xE4ge mittels Callback-Funktion filtern, z.B. zeigt "(value, val) => val === true" alle Ger\xE4te mit dem Datenpunkt-Wert true.',"Device Label":"Ger\xE4te Label","Body State Key":"Body Datenpunkt","no body element":"kein Body Element","Body Element":"Body Element","Show states":"Zeige Datenpunkt Status","Show an action element":"Zeige Trigger Element","Secondary States Keys":"sekund\xE4re Datenpunkte","Action State Key":"Trigger Datenpunkt","no action element":"kein Trigger Element","Action Element":"Trigger Element","Group Actions":"Gruppen Aktion","Actions Element":"Element Aktion","Use in group trigger":"in Gruppenaktion verwenden","Button On":"Button An","Button Off":"Button Aus","Device Name":"Ger\xE4te-Name","Device Options":"Ger\xE4te-Optionen",ascending:"aufsteigend",descending:"absteigend","Incorrect device assigned to widget using StateList module":"Nicht vorhandenes Ger\xE4t einem Widget mit dem Modul StateList zugewiesen"},__glob_8_114=Object.freeze(Object.defineProperty({__proto__:null,default:de$h},Symbol.toStringTag,{value:"Module"})),en$g={"StateList#description":"Displays a list of states.","config#StateList#dense#label":"Dense","config#StateList#dense#description":"Activate smaller / densed rows","config#StateList#horizontal#label":"Horizontal","config#StateList#horizontal#description":"Displays the StateList horizontally","config#StateList#stacked#label":"Stacked","config#StateList#stacked#description":"Displays the information stacked (instead of row-based)","config#StateList#filter#label":"Filter List Item","config#StateList#filter#description":'Filter by using a callback function, e.g. "(value, val) => val === true" shows all devices which state is true.'},__glob_8_115=Object.freeze(Object.defineProperty({__proto__:null,default:en$g},Symbol.toStringTag,{value:"Module"})),ru$h={"StateList#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0439","config#StateList#dense#label":"\u0421\u0436\u0430\u0442\u043E","config#StateList#dense#description":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0436\u0430\u0442\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0441\u0442\u0440\u043E\u043A","config#StateList#horizontal#label":"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0439","config#StateList#horizontal#description":"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0441\u043F\u0438\u0441\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0439","config#StateList#stacked#label":"\u041F\u0430\u0447\u043A\u0430","config#StateList#stacked#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u0430\u0447\u043A\u043E\u0439 (\u0432 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0441\u0442\u0440\u043E\u043A)","config#StateList#filter#label":"\u0424\u0438\u043B\u044C\u0442\u0440 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430","config#StateList#filter#description":'\u0424\u0438\u043B\u044C\u0442\u0440 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C callback \u0444\u0443\u043D\u043A\u0446\u0438\u0438, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "(value, val) => val === true" \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C true',"Device Label":"\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430","Body State Key":"Body State Key","no body element":"\u043D\u0435\u0442 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","Body Element":"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Show states":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F","Show an action element":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Secondary States Keys":"Secondary States Keys","Action State Key":"Action State Key","no action element":"\u043D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430","Action Element":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Group Actions":"\u0413\u0440\u0443\u043F\u043F\u043E\u0432\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F","Actions Element":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","Use in group trigger":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0433\u0440\u0443\u043F\u043F\u043E\u0432\u043E\u043C \u0442\u0440\u0438\u0433\u0435\u0440\u0435","Button On":"\u041A\u043D\u043E\u043F\u043A\u0430 \u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C","Button Off":"\u041A\u043D\u043E\u043F\u043A\u0430 \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C","Device Name":"Device Name","Device Options":"Device Options",ascending:"ascending",descending:"descending","Incorrect device assigned to widget using StateList module":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u043E \u0432\u0438\u0434\u0436\u0435\u0442\u0443 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u043E\u0434\u0443\u043B\u044F StateList"},__glob_8_116=Object.freeze(Object.defineProperty({__proto__:null,default:ru$h},Symbol.toStringTag,{value:"Module"})),de$g={"Weather#description":"Zeigt die Wetter-Vorschau an (basierend auf www.daswetter.com).","config#Weather#apikey#label":"API Schl\xFCssel (affiliate_id) von daswetter.com","config#Weather#localid#label":"Ort (localid) von daswetter.com","config#Weather#forecastSunRain#label":"Zeige Sonne/Regen-Vorschau","config#Weather#forecastTemperature#label":"Zeige Temperatur-Vorschau","config#Weather#forecastWind#label":"Zeige Wind-Vorschau","config#Weather#iconSetWeather#label":"Icon Set Wetter","config#Weather#iconSetWind#label":"Icon Set Wind","config#Weather#display#label":"Anzeigevariante","config#Weather#display#options#both":"\xDCbersicht und Vorschau","config#Weather#display#options#overview":"nur \xDCbersicht","config#Weather#display#options#preview":"nur Vorschau","Weather Forecast":"Wettervorhersage",today:"Heute",tomorrow:"Morgen",TDY:"Heute",TMRW:"Morgen",Weather:"Wetter",Rain:"Regen",Wind:"Wind",Pressure:"Luftdruck",Snowline:"Schnellfallgrenze","Feels like":"Gef\xFChlt","WindDirection#N":"Norden","WindDirection#NE":"Nordost","WindDirection#NW":"Nordwest","WindDirection#S":"S\xFCden","WindDirection#SE":"S\xFCdost","WindDirection#SW":"S\xFCdwest","WindDirection#W":"Westen","WindDirection#E":"Osten"},__glob_8_117=Object.freeze(Object.defineProperty({__proto__:null,default:de$g},Symbol.toStringTag,{value:"Module"})),en$f={"Weather#description":"Displays the weather forecast (based on www.daswetter.com).","config#Weather#apikey#label":"Your API key (affiliate_id) for www.daswetter.com","config#Weather#localid#label":"The location (localid) for which the weather shall be shown","config#Weather#forecastSunRain#label":"Display Sun / Rain Forecast","config#Weather#forecastTemperature#label":"Display Temperature Forecast","config#Weather#forecastWind#label":"Display Wind Forecast","config#Weather#iconSetWeather#label":"Icon Set Weather","config#Weather#iconSetWind#label":"Icon Set Wind","config#Weather#display#label":"Display variant","config#Weather#display#options#both":"Overview and preview","config#Weather#display#options#overview":"only Overview","config#Weather#display#options#preview":"only Preview","WindDirection#N":"North","WindDirection#NE":"Northeast","WindDirection#NW":"Northwest","WindDirection#S":"South","WindDirection#SE":"Southeast","WindDirection#SW":"Southwest","WindDirection#W":"West","WindDirection#E":"East"},__glob_8_118=Object.freeze(Object.defineProperty({__proto__:null,default:en$f},Symbol.toStringTag,{value:"Module"})),ru$g={"Weather#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E\u0433\u043E\u0434\u044B (\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0434\u0430\u043D\u043D\u044B\u0435 \u0441 www.daswetter.com)","config#Weather#apikey#label":"\u0412\u0430\u0448 API key (affiliate_id) \u043D\u0430 www.daswetter.com","config#Weather#localid#label":"\u041C\u0435\u0441\u0442\u043E (localid), \u0434\u043B\u044F \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u043E\u0433\u043E\u0434\u0443","config#Weather#forecastSunRain#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E \u0441\u043E\u043B\u043D\u0446\u0443/\u0434\u043E\u0436\u0434\u044E","config#Weather#forecastTemperature#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u044B","config#Weather#forecastWind#label":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0433\u043D\u043E\u0437 \u0432\u0435\u0442\u0440\u0430","config#Weather#iconSetWeather#label":"\u041F\u0430\u043A\u0435\u0442 \u0438\u043A\u043E\u043D\u043E\u043A \u0434\u043B\u044F \u043F\u043E\u0433\u043E\u0434\u044B","config#Weather#iconSetWind#label":"\u041F\u0430\u043A\u0435\u0442 \u0438\u043A\u043E\u043D\u043E\u043A \u0434\u043B\u044F \u0432\u0435\u0442\u0440\u0430","config#Weather#display#label":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B","config#Weather#display#options#both":"\u041E\u0431\u0437\u043E\u0440 \u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440","config#Weather#display#options#overview":"\u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0431\u0437\u043E\u0440","config#Weather#display#options#preview":"\u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440","Weather Forecast":"\u041F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E\u0433\u043E\u0434\u044B",today:"\u0441\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0437\u0430\u0432\u0442\u0440\u0430",TDY:"\u0421\u0415\u0413",TMRW:"\u0417\u0410\u0412\u0422",Weather:"\u041F\u043E\u0433\u043E\u0434\u0430",Rain:"\u0414\u043E\u0436\u0434\u044C",Wind:"\u0412\u0435\u0442\u0435\u0440",Pressure:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",Snowline:"\u0421\u043D\u0435\u0433\u043E\u0432\u0430\u044F \u043B\u0438\u043D\u0438\u044F","Feels like":"\u0427\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044F \u043A\u0430\u043A","WindDirection#N":"\u0421\u0435\u0432\u0435\u0440","WindDirection#NE":"\u0421\u0435\u0432\u0435\u0440\u043E-\u0432\u043E\u0441\u0442\u043E\u043A","WindDirection#NW":"\u0421\u0435\u0432\u0435\u0440\u043E-\u0437\u0430\u043F\u0430\u0434","WindDirection#S":"\u042E\u0433","WindDirection#SE":"\u042E\u0433\u043E-\u0432\u043E\u0441\u0442\u043E\u043A","WindDirection#SW":"\u042E\u0433\u043E-\u0437\u0430\u043F\u0430\u0434","WindDirection#W":"\u0417\u0430\u043F\u0430\u0434","WindDirection#E":"\u0412\u043E\u0441\u0442\u043E\u043A"},__glob_8_119=Object.freeze(Object.defineProperty({__proto__:null,default:ru$g},Symbol.toStringTag,{value:"Module"})),de$f={"iFrame#description":"Zeigt Inhalte anderer Seiten in einem iFrame an.","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"Sandbox aktiv","config#iFrame#sandbox#info":"Aktiviert bestimmte Sicherheitseinstellungen f\xFCr das iFrame","config#iFrame#sandboxOptions#label":"Sandbox Optionen","config#iFrame#keepalive#label":"Aufrechterhalten","config#iFrame#keepalive#info":"H\xE4lt das iFrame im Hintergrund ge\xF6ffnet, wenn der Tab / die Registerkarte nicht aktiv ist (true). Andernfalls wird das iFrame neu aufgebaut (false).","config#iFrame#interaction#label":"Interaktion erlauben","config#iFrame#interaction#info":"Interaktion mit den Inhalten des iFrames erlauben","config#iFrame#refresh#label":"Aktualisierungsintervall","config#iFrame#refresh#info":"Intervall (in Sekunden) nach dem das iFrame aktualisiert wird. Der Wert 0 deaktiviert die Aktualisierung (empfohlen bei statischen Inhalten)."},__glob_8_120=Object.freeze(Object.defineProperty({__proto__:null,default:de$f},Symbol.toStringTag,{value:"Module"})),en$e={"iFrame#description":"Displays contents from another website as iFrame.","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"Enable Sandbox","config#iFrame#sandbox#info":"The sandbox attribute enables an extra set of restrictions for the content in the iframe","config#iFrame#sandboxOptions#label":"Sandbox options","config#iFrame#keepalive#label":"Keep Alive","config#iFrame#keepalive#info":"Whether to keep iFrame opened in the background when the tab is not active (true). Otherwise the iFrame will be re-rendered (false).","config#iFrame#interaction#label":"Allow Interaction","config#iFrame#interaction#info":"Allow Interaction with the iFrame","config#iFrame#refresh#label":"Refresh Interval","config#iFrame#refresh#info":"Interval (in seconds) the iFrame will be refreshed. The value 0 turns this off (recommended with static contents)."},__glob_8_121=Object.freeze(Object.defineProperty({__proto__:null,default:en$e},Symbol.toStringTag,{value:"Module"})),ru$f={"iFrame#description":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u0441\u0430\u0439\u0442\u0430 \u043A\u0430\u043A iFrame","config#iFrame#url#label":"URL","config#iFrame#sandbox#label":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u0443","config#iFrame#sandbox#info":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044B \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u044B \u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0442 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043D\u0430\u0431\u043E\u0440 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430 \u0444\u0440\u0435\u0439\u043C\u0430","config#iFrame#sandboxOptions#label":"\u041E\u043F\u0446\u0438\u0438 \u043F\u0435\u0441\u043E\u0447\u043D\u0438\u0446\u044B","config#iFrame#keepalive#label":"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435","config#iFrame#keepalive#info":"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u0444\u0440\u0435\u0439\u043C \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C \u0432 \u0444\u043E\u043D\u0435 \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u0430\u0434\u043A\u0430 \u043D\u0435 \u0430\u043A\u0442\u0438\u0432\u043D\u0430 (true). \u0412 \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u0444\u0440\u0435\u0439\u043C \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D (false).","config#iFrame#interaction#label":"","config#iFrame#interaction#info":"","config#iFrame#refresh#label":"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F","config#iFrame#refresh#info":"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u0444\u0440\u0435\u0439\u043C\u0430 \u0432 \u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 0 \u043E\u0442\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 (\u0440\u0435\u043A\u0443\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430"},__glob_8_122=Object.freeze(Object.defineProperty({__proto__:null,default:ru$f},Symbol.toStringTag,{value:"Module"})),de$e={on:"an",off:"aus",Save:"speichern",Exit:"zur\xFCck",Apply:"\xFCbernehmen",Cancel:"abbrechen",Connections:"Verbindungen","Connection Details":"Verbindungseinstellungen","Recent Connections":"letzte Verbindungen","Please specifify jarvis-socket port (not web port)":"Bitte den jarvis-socket-Port (nicht Web-Port) angeben","Secure Connection":"Sichere Verbindung","Trust Unsecure Certs":"Vertraue unsicheren Zertifikaten",Connect:"verbinden","Invalid JSON format":"Falsches JSON Format",Configuration:"Konfiguration","Expert mode":"Expertenmodus",Devices:"Ger\xE4te",Settings:"Einstellungen",Layout:"Layout",Help:"Hilfe","JSON Editor":"JSON Editor"},__glob_8_123=Object.freeze(Object.defineProperty({__proto__:null,default:de$e},Symbol.toStringTag,{value:"Module"})),en$d={},__glob_8_124=Object.freeze(Object.defineProperty({__proto__:null,default:en$d},Symbol.toStringTag,{value:"Module"})),ru$e={on:"on",off:"off",Save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",Exit:"\u0412\u044B\u0445\u043E\u0434",Apply:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C",Cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",Connections:"","Connection Details":"","Recent Connections":"","Please specifify jarvis-socket port (not web port)":"","Secure Connection":"","Trust Unsecure Certs":"",Connect:"","Invalid JSON format":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 JSON",Configuration:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F","Expert mode":"\u042D\u043A\u0441\u043F\u0435\u0440\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",Devices:"\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430",Settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",Layout:"\u041C\u0430\u043A\u0435\u0442","JSON Editor":"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 JSON"},__glob_8_125=Object.freeze(Object.defineProperty({__proto__:null,default:ru$e},Symbol.toStringTag,{value:"Module"})),de$d={Notifications:"Benachrichtigungen","hide archived notifications":"verstecke archivierte Benachrichtigungen","show archived notifications":"zeige archivierte Benachrichtigungen",Delete:"l\xF6schen",Archive:"archivieren","Mark as Read":"als gelesen markieren","Mark as Unread":"als ungelesen markieren","Restore from Archive":"aus dem Archiv wiederherstellen",activate:"aktivieren",close:"schlie\xDFen"},__glob_8_126=Object.freeze(Object.defineProperty({__proto__:null,default:de$d},Symbol.toStringTag,{value:"Module"})),en$c={},__glob_8_127=Object.freeze(Object.defineProperty({__proto__:null,default:en$c},Symbol.toStringTag,{value:"Module"})),ru$d={Notifications:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F","hide archived notifications":"\u0441\u043A\u0440\u044B\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F","show archived notifications":"\u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F"},__glob_8_128=Object.freeze(Object.defineProperty({__proto__:null,default:ru$d},Symbol.toStringTag,{value:"Module"})),de$c={"#ConfigurationPage.title":"Willkommen in der Konfiguration","#ConfigurationPage.content":`Die Konfiguration besteht aus drei Teilen: 1. Der Ger\xE4te-Konfiguration zur Verwaltung deiner Ger\xE4te inkl. deren Datenpunkte. Au\xDFerdem werden die Ger\xE4te-Details (das Popup) \xFCber die Ger\xE4te-Konfiguration eingestellt. @@ -88,30 +88,30 @@ Your first jarvis may be generated automatically based on your ioBroker devices * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function createPosition(t,r,o){return{line:t,column:r,offset:o}}function createLocation(t,r,o){const a={start:t,end:r};return o!=null&&(a.source=o),a}const RE_ARGS=/\{([0-9a-zA-Z]+)\}/g;function format$5(t,...r){return r.length===1&&isObject$k(r[0])&&(r=r[0]),(!r||!r.hasOwnProperty)&&(r={}),t.replace(RE_ARGS,(o,a)=>r.hasOwnProperty(a)?r[a]:"")}const assign=Object.assign,isString$3=t=>typeof t=="string",isObject$k=t=>t!==null&&typeof t=="object";function join$1(t,r=""){return t.reduce((o,a,u)=>u===0?o+a:o+r+a,"")}const CompileWarnCodes={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},warnMessages={[CompileWarnCodes.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function createCompileWarn(t,r,...o){const a=format$5(warnMessages[t]||"",...o||[]),u={message:String(a),code:t};return r&&(u.location=r),u}const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},errorMessages={[CompileErrorCodes.EXPECTED_TOKEN]:"Expected token: '{0}'",[CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[CompileErrorCodes.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[CompileErrorCodes.EMPTY_PLACEHOLDER]:"Empty placeholder",[CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[CompileErrorCodes.INVALID_LINKED_FORMAT]:"Invalid linked format",[CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function createCompileError(t,r,o={}){const{domain:a,messages:u,args:d}=o,g=format$5((u||errorMessages)[t]||"",...d||[]),v=new SyntaxError(String(g));return v.code=t,r&&(v.location=r),v.domain=a,v}function defaultOnError(t){throw t}const CHAR_SP=" ",CHAR_CR="\r",CHAR_LF=` -`,CHAR_LS=String.fromCharCode(8232),CHAR_PS=String.fromCharCode(8233);function createScanner(t){const r=t;let o=0,a=1,u=1,d=0;const g=G=>r[G]===CHAR_CR&&r[G+1]===CHAR_LF,v=G=>r[G]===CHAR_LF,y=G=>r[G]===CHAR_PS,A=G=>r[G]===CHAR_LS,b=G=>g(G)||v(G)||y(G)||A(G),_=()=>o,w=()=>a,S=()=>u,C=()=>d,T=G=>g(G)||y(G)||A(G)?CHAR_LF:r[G],I=()=>T(o),E=()=>T(o+d);function F(){return d=0,b(o)&&(a++,u=0),g(o)&&o++,o++,u++,r[o]}function O(){return g(o+d)&&d++,d++,r[o+d]}function D(){o=0,a=1,u=1,d=0}function x(G=0){d=G}function P(){const G=o+d;for(;G!==o;)F();d=0}return{index:_,line:w,column:S,peekOffset:C,charAt:T,currentChar:I,currentPeek:E,next:F,peek:O,reset:D,resetPeek:x,skipToPeek:P}}const EOF=void 0,DOT=".",LITERAL_DELIMITER="'",ERROR_DOMAIN$3="tokenizer";function createTokenizer(t,r={}){const o=r.location!==!1,a=createScanner(t),u=()=>a.index(),d=()=>createPosition(a.line(),a.column(),a.index()),g=d(),v=u(),y={currentType:14,offset:v,startLoc:g,endLoc:g,lastType:14,lastOffset:v,lastStartLoc:g,lastEndLoc:g,braceNest:0,inLinked:!1,text:""},A=()=>y,{onError:b}=r;function _(ie,oe,me,...Se){const xe=A();if(oe.column+=me,oe.offset+=me,b){const De=o?createLocation(xe.startLoc,oe):null,Pe=createCompileError(ie,De,{domain:ERROR_DOMAIN$3,args:Se});b(Pe)}}function w(ie,oe,me){ie.endLoc=d(),ie.currentType=oe;const Se={type:oe};return o&&(Se.loc=createLocation(ie.startLoc,ie.endLoc)),me!=null&&(Se.value=me),Se}const S=ie=>w(ie,14);function C(ie,oe){return ie.currentChar()===oe?(ie.next(),oe):(_(CompileErrorCodes.EXPECTED_TOKEN,d(),0,oe),"")}function T(ie){let oe="";for(;ie.currentPeek()===CHAR_SP||ie.currentPeek()===CHAR_LF;)oe+=ie.currentPeek(),ie.peek();return oe}function I(ie){const oe=T(ie);return ie.skipToPeek(),oe}function E(ie){if(ie===EOF)return!1;const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe===95}function F(ie){if(ie===EOF)return!1;const oe=ie.charCodeAt(0);return oe>=48&&oe<=57}function O(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=E(ie.currentPeek());return ie.resetPeek(),Se}function D(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=ie.currentPeek()==="-"?ie.peek():ie.currentPeek(),xe=F(Se);return ie.resetPeek(),xe}function x(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=ie.currentPeek()===LITERAL_DELIMITER;return ie.resetPeek(),Se}function P(ie,oe){const{currentType:me}=oe;if(me!==8)return!1;T(ie);const Se=ie.currentPeek()===".";return ie.resetPeek(),Se}function G(ie,oe){const{currentType:me}=oe;if(me!==9)return!1;T(ie);const Se=E(ie.currentPeek());return ie.resetPeek(),Se}function M(ie,oe){const{currentType:me}=oe;if(!(me===8||me===12))return!1;T(ie);const Se=ie.currentPeek()===":";return ie.resetPeek(),Se}function N(ie,oe){const{currentType:me}=oe;if(me!==10)return!1;const Se=()=>{const De=ie.currentPeek();return De==="{"?E(ie.peek()):De==="@"||De==="%"||De==="|"||De===":"||De==="."||De===CHAR_SP||!De?!1:De===CHAR_LF?(ie.peek(),Se()):H(ie,!1)},xe=Se();return ie.resetPeek(),xe}function V(ie){T(ie);const oe=ie.currentPeek()==="|";return ie.resetPeek(),oe}function Y(ie){const oe=T(ie),me=ie.currentPeek()==="%"&&ie.peek()==="{";return ie.resetPeek(),{isModulo:me,hasSpace:oe.length>0}}function H(ie,oe=!0){const me=(xe=!1,De="",Pe=!1)=>{const Be=ie.currentPeek();return Be==="{"?De==="%"?!1:xe:Be==="@"||!Be?De==="%"?!0:xe:Be==="%"?(ie.peek(),me(xe,"%",!0)):Be==="|"?De==="%"||Pe?!0:!(De===CHAR_SP||De===CHAR_LF):Be===CHAR_SP?(ie.peek(),me(!0,CHAR_SP,Pe)):Be===CHAR_LF?(ie.peek(),me(!0,CHAR_LF,Pe)):!0},Se=me();return oe&&ie.resetPeek(),Se}function B(ie,oe){const me=ie.currentChar();return me===EOF?EOF:oe(me)?(ie.next(),me):null}function z(ie){const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36}function U(ie){return B(ie,z)}function Q(ie){const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36||oe===45}function X(ie){return B(ie,Q)}function J(ie){const oe=ie.charCodeAt(0);return oe>=48&&oe<=57}function ne(ie){return B(ie,J)}function te(ie){const oe=ie.charCodeAt(0);return oe>=48&&oe<=57||oe>=65&&oe<=70||oe>=97&&oe<=102}function ce(ie){return B(ie,te)}function se(ie){let oe="",me="";for(;oe=ne(ie);)me+=oe;return me}function ge(ie){I(ie);const oe=ie.currentChar();return oe!=="%"&&_(CompileErrorCodes.EXPECTED_TOKEN,d(),0,oe),ie.next(),"%"}function he(ie){let oe="";for(;;){const me=ie.currentChar();if(me==="{"||me==="}"||me==="@"||me==="|"||!me)break;if(me==="%")if(H(ie))oe+=me,ie.next();else break;else if(me===CHAR_SP||me===CHAR_LF)if(H(ie))oe+=me,ie.next();else{if(V(ie))break;oe+=me,ie.next()}else oe+=me,ie.next()}return oe}function ye(ie){I(ie);let oe="",me="";for(;oe=X(ie);)me+=oe;return ie.currentChar()===EOF&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me}function ee(ie){I(ie);let oe="";return ie.currentChar()==="-"?(ie.next(),oe+=`-${se(ie)}`):oe+=se(ie),ie.currentChar()===EOF&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),oe}function pe(ie){return ie!==LITERAL_DELIMITER&&ie!==CHAR_LF}function ae(ie){I(ie),C(ie,"'");let oe="",me="";for(;oe=B(ie,pe);)oe==="\\"?me+=ve(ie):me+=oe;const Se=ie.currentChar();return Se===CHAR_LF||Se===EOF?(_(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,d(),0),Se===CHAR_LF&&(ie.next(),C(ie,"'")),me):(C(ie,"'"),me)}function ve(ie){const oe=ie.currentChar();switch(oe){case"\\":case"'":return ie.next(),`\\${oe}`;case"u":return we(ie,oe,4);case"U":return we(ie,oe,6);default:return _(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,d(),0,oe),""}}function we(ie,oe,me){C(ie,oe);let Se="";for(let xe=0;xe{const Se=ie.currentChar();return Se==="{"||Se==="%"||Se==="@"||Se==="|"||Se==="("||Se===")"||!Se||Se===CHAR_SP?me:(me+=Se,ie.next(),oe(me))};return oe("")}function Ee(ie){I(ie);const oe=C(ie,"|");return I(ie),oe}function le(ie,oe){let me=null;switch(ie.currentChar()){case"{":return oe.braceNest>=1&&_(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,d(),0),ie.next(),me=w(oe,2,"{"),I(ie),oe.braceNest++,me;case"}":return oe.braceNest>0&&oe.currentType===2&&_(CompileErrorCodes.EMPTY_PLACEHOLDER,d(),0),ie.next(),me=w(oe,3,"}"),oe.braceNest--,oe.braceNest>0&&I(ie),oe.inLinked&&oe.braceNest===0&&(oe.inLinked=!1),me;case"@":return oe.braceNest>0&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me=re(ie,oe)||S(oe),oe.braceNest=0,me;default:{let xe=!0,De=!0,Pe=!0;if(V(ie))return oe.braceNest>0&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,me;if(oe.braceNest>0&&(oe.currentType===5||oe.currentType===6||oe.currentType===7))return _(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),oe.braceNest=0,ue(ie,oe);if(xe=O(ie,oe))return me=w(oe,5,ye(ie)),I(ie),me;if(De=D(ie,oe))return me=w(oe,6,ee(ie)),I(ie),me;if(Pe=x(ie,oe))return me=w(oe,7,ae(ie)),I(ie),me;if(!xe&&!De&&!Pe)return me=w(oe,13,Te(ie)),_(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,d(),0,me.value),I(ie),me;break}}return me}function re(ie,oe){const{currentType:me}=oe;let Se=null;const xe=ie.currentChar();switch((me===8||me===9||me===12||me===10)&&(xe===CHAR_LF||xe===CHAR_SP)&&_(CompileErrorCodes.INVALID_LINKED_FORMAT,d(),0),xe){case"@":return ie.next(),Se=w(oe,8,"@"),oe.inLinked=!0,Se;case".":return I(ie),ie.next(),w(oe,9,".");case":":return I(ie),ie.next(),w(oe,10,":");default:return V(ie)?(Se=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,Se):P(ie,oe)||M(ie,oe)?(I(ie),re(ie,oe)):G(ie,oe)?(I(ie),w(oe,12,Ce(ie))):N(ie,oe)?(I(ie),xe==="{"?le(ie,oe)||Se:w(oe,11,Ae(ie))):(me===8&&_(CompileErrorCodes.INVALID_LINKED_FORMAT,d(),0),oe.braceNest=0,oe.inLinked=!1,ue(ie,oe))}}function ue(ie,oe){let me={type:14};if(oe.braceNest>0)return le(ie,oe)||S(oe);if(oe.inLinked)return re(ie,oe)||S(oe);switch(ie.currentChar()){case"{":return le(ie,oe)||S(oe);case"}":return _(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,d(),0),ie.next(),w(oe,3,"}");case"@":return re(ie,oe)||S(oe);default:{if(V(ie))return me=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,me;const{isModulo:xe,hasSpace:De}=Y(ie);if(xe)return De?w(oe,0,he(ie)):w(oe,4,ge(ie));if(H(ie))return w(oe,0,he(ie));break}}return me}function be(){const{currentType:ie,offset:oe,startLoc:me,endLoc:Se}=y;return y.lastType=ie,y.lastOffset=oe,y.lastStartLoc=me,y.lastEndLoc=Se,y.offset=u(),y.startLoc=d(),a.currentChar()===EOF?w(y,14):ue(a,y)}return{nextToken:be,currentOffset:u,currentPosition:d,context:A}}const ERROR_DOMAIN$2="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(t,r,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(r||o,16);return a<=55295||a>=57344?String.fromCodePoint(a):"\uFFFD"}}}function createParser(t={}){const r=t.location!==!1,{onError:o,onWarn:a}=t;function u(O,D,x,P,...G){const M=O.currentPosition();if(M.offset+=P,M.column+=P,o){const N=r?createLocation(x,M):null,V=createCompileError(D,N,{domain:ERROR_DOMAIN$2,args:G});o(V)}}function d(O,D,x,P,...G){const M=O.currentPosition();if(M.offset+=P,M.column+=P,a){const N=r?createLocation(x,M):null;a(createCompileWarn(D,N,G))}}function g(O,D,x){const P={type:O};return r&&(P.start=D,P.end=D,P.loc={start:x,end:x}),P}function v(O,D,x,P){P&&(O.type=P),r&&(O.end=D,O.loc&&(O.loc.end=x))}function y(O,D){const x=O.context(),P=g(3,x.offset,x.startLoc);return P.value=D,v(P,O.currentOffset(),O.currentPosition()),P}function A(O,D){const x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(5,P,G);return M.index=parseInt(D,10),O.nextToken(),v(M,O.currentOffset(),O.currentPosition()),M}function b(O,D,x){const P=O.context(),{lastOffset:G,lastStartLoc:M}=P,N=g(4,G,M);return N.key=D,x===!0&&(N.modulo=!0),O.nextToken(),v(N,O.currentOffset(),O.currentPosition()),N}function _(O,D){const x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(9,P,G);return M.value=D.replace(KNOWN_ESCAPES,fromEscapeSequence),O.nextToken(),v(M,O.currentOffset(),O.currentPosition()),M}function w(O){const D=O.nextToken(),x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(8,P,G);return D.type!==12?(u(O,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",v(M,P,G),{nextConsumeToken:D,node:M}):(D.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,getTokenCaption(D)),M.value=D.value||"",v(M,O.currentOffset(),O.currentPosition()),{node:M})}function S(O,D){const x=O.context(),P=g(7,x.offset,x.startLoc);return P.value=D,v(P,O.currentOffset(),O.currentPosition()),P}function C(O){const D=O.context(),x=g(6,D.offset,D.startLoc);let P=O.nextToken();if(P.type===9){const G=w(O);x.modifier=G.node,P=G.nextConsumeToken||O.nextToken()}switch(P.type!==10&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),P=O.nextToken(),P.type===2&&(P=O.nextToken()),P.type){case 11:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=S(O,P.value||"");break;case 5:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=b(O,P.value||"");break;case 6:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=A(O,P.value||"");break;case 7:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=_(O,P.value||"");break;default:{u(O,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,D.lastStartLoc,0);const G=O.context(),M=g(7,G.offset,G.startLoc);return M.value="",v(M,G.offset,G.startLoc),x.key=M,v(x,G.offset,G.startLoc),{nextConsumeToken:P,node:x}}}return v(x,O.currentOffset(),O.currentPosition()),{node:x}}function T(O){const D=O.context(),x=D.currentType===1?O.currentOffset():D.offset,P=D.currentType===1?D.endLoc:D.startLoc,G=g(2,x,P);G.items=[];let M=null,N=null;do{const H=M||O.nextToken();switch(M=null,H.type){case 0:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(y(O,H.value||""));break;case 6:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(A(O,H.value||""));break;case 4:N=!0;break;case 5:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(b(O,H.value||"",!!N)),N&&(d(O,CompileWarnCodes.USE_MODULO_SYNTAX,D.lastStartLoc,0,getTokenCaption(H)),N=null);break;case 7:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(_(O,H.value||""));break;case 8:{const B=C(O);G.items.push(B.node),M=B.nextConsumeToken||null;break}}}while(D.currentType!==14&&D.currentType!==1);const V=D.currentType===1?D.lastOffset:O.currentOffset(),Y=D.currentType===1?D.lastEndLoc:O.currentPosition();return v(G,V,Y),G}function I(O,D,x,P){const G=O.context();let M=P.items.length===0;const N=g(1,D,x);N.cases=[],N.cases.push(P);do{const V=T(O);M||(M=V.items.length===0),N.cases.push(V)}while(G.currentType!==14);return M&&u(O,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),v(N,O.currentOffset(),O.currentPosition()),N}function E(O){const D=O.context(),{offset:x,startLoc:P}=D,G=T(O);return D.currentType===14?G:I(O,x,P,G)}function F(O){const D=createTokenizer(O,assign({},t)),x=D.context(),P=g(0,x.offset,x.startLoc);return r&&P.loc&&(P.loc.source=O),P.body=E(D),t.onCacheKey&&(P.cacheKey=t.onCacheKey(O)),x.currentType!==14&&u(D,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,O[x.offset]||""),v(P,D.currentOffset(),D.currentPosition()),P}return{parse:F}}function getTokenCaption(t){if(t.type===14)return"EOF";const r=(t.value||"").replace(/\r?\n/gu,"\\n");return r.length>10?r.slice(0,9)+"\u2026":r}function createTransformer(t,r={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:d=>(o.helpers.add(d),d)}}function traverseNodes(t,r){for(let o=0;ooptimizeMessageNode(o)),t}function optimizeMessageNode(t){if(t.items.length===1){const r=t.items[0];(r.type===3||r.type===9)&&(t.static=r.value,delete r.value)}else{const r=[];for(let o=0;ov;function A(I,E){v.code+=I}function b(I,E=!0){const F=E?u:"";A(d?F+" ".repeat(I):F)}function _(I=!0){const E=++v.indentLevel;I&&b(E)}function w(I=!0){const E=--v.indentLevel;I&&b(E)}function S(){b(v.indentLevel)}return{context:y,push:A,indent:_,deindent:w,newline:S,helper:I=>`_${I}`,needIndent:()=>v.needIndent}}function generateLinkedNode(t,r){const{helper:o}=t;t.push(`${o("linked")}(`),generateNode(t,r.key),r.modifier?(t.push(", "),generateNode(t,r.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function generateMessageNode(t,r){const{helper:o,needIndent:a}=t;t.push(`${o("normalize")}([`),t.indent(a());const u=r.items.length;for(let d=0;d1){t.push(`${o("plural")}([`),t.indent(a());const u=r.cases.length;for(let d=0;d{const o=isString$3(r.mode)?r.mode:"normal",a=isString$3(r.filename)?r.filename:"message.intl",u=!!r.sourceMap,d=r.breakLineCode!=null?r.breakLineCode:o==="arrow"?";":` +`,CHAR_LS=String.fromCharCode(8232),CHAR_PS=String.fromCharCode(8233);function createScanner(t){const r=t;let o=0,a=1,u=1,d=0;const g=G=>r[G]===CHAR_CR&&r[G+1]===CHAR_LF,v=G=>r[G]===CHAR_LF,y=G=>r[G]===CHAR_PS,A=G=>r[G]===CHAR_LS,b=G=>g(G)||v(G)||y(G)||A(G),_=()=>o,w=()=>a,S=()=>u,C=()=>d,T=G=>g(G)||y(G)||A(G)?CHAR_LF:r[G],I=()=>T(o),E=()=>T(o+d);function F(){return d=0,b(o)&&(a++,u=0),g(o)&&o++,o++,u++,r[o]}function O(){return g(o+d)&&d++,d++,r[o+d]}function D(){o=0,a=1,u=1,d=0}function x(G=0){d=G}function P(){const G=o+d;for(;G!==o;)F();d=0}return{index:_,line:w,column:S,peekOffset:C,charAt:T,currentChar:I,currentPeek:E,next:F,peek:O,reset:D,resetPeek:x,skipToPeek:P}}const EOF=void 0,DOT=".",LITERAL_DELIMITER="'",ERROR_DOMAIN$3="tokenizer";function createTokenizer(t,r={}){const o=r.location!==!1,a=createScanner(t),u=()=>a.index(),d=()=>createPosition(a.line(),a.column(),a.index()),g=d(),v=u(),y={currentType:14,offset:v,startLoc:g,endLoc:g,lastType:14,lastOffset:v,lastStartLoc:g,lastEndLoc:g,braceNest:0,inLinked:!1,text:""},A=()=>y,{onError:b}=r;function _(ie,oe,me,...Se){const xe=A();if(oe.column+=me,oe.offset+=me,b){const De=o?createLocation(xe.startLoc,oe):null,Pe=createCompileError(ie,De,{domain:ERROR_DOMAIN$3,args:Se});b(Pe)}}function w(ie,oe,me){ie.endLoc=d(),ie.currentType=oe;const Se={type:oe};return o&&(Se.loc=createLocation(ie.startLoc,ie.endLoc)),me!=null&&(Se.value=me),Se}const S=ie=>w(ie,14);function C(ie,oe){return ie.currentChar()===oe?(ie.next(),oe):(_(CompileErrorCodes.EXPECTED_TOKEN,d(),0,oe),"")}function T(ie){let oe="";for(;ie.currentPeek()===CHAR_SP||ie.currentPeek()===CHAR_LF;)oe+=ie.currentPeek(),ie.peek();return oe}function I(ie){const oe=T(ie);return ie.skipToPeek(),oe}function E(ie){if(ie===EOF)return!1;const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe===95}function F(ie){if(ie===EOF)return!1;const oe=ie.charCodeAt(0);return oe>=48&&oe<=57}function O(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=E(ie.currentPeek());return ie.resetPeek(),Se}function D(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=ie.currentPeek()==="-"?ie.peek():ie.currentPeek(),xe=F(Se);return ie.resetPeek(),xe}function x(ie,oe){const{currentType:me}=oe;if(me!==2)return!1;T(ie);const Se=ie.currentPeek()===LITERAL_DELIMITER;return ie.resetPeek(),Se}function P(ie,oe){const{currentType:me}=oe;if(me!==8)return!1;T(ie);const Se=ie.currentPeek()===".";return ie.resetPeek(),Se}function G(ie,oe){const{currentType:me}=oe;if(me!==9)return!1;T(ie);const Se=E(ie.currentPeek());return ie.resetPeek(),Se}function M(ie,oe){const{currentType:me}=oe;if(!(me===8||me===12))return!1;T(ie);const Se=ie.currentPeek()===":";return ie.resetPeek(),Se}function N(ie,oe){const{currentType:me}=oe;if(me!==10)return!1;const Se=()=>{const De=ie.currentPeek();return De==="{"?E(ie.peek()):De==="@"||De==="%"||De==="|"||De===":"||De==="."||De===CHAR_SP||!De?!1:De===CHAR_LF?(ie.peek(),Se()):H(ie,!1)},xe=Se();return ie.resetPeek(),xe}function V(ie){T(ie);const oe=ie.currentPeek()==="|";return ie.resetPeek(),oe}function Z(ie){const oe=T(ie),me=ie.currentPeek()==="%"&&ie.peek()==="{";return ie.resetPeek(),{isModulo:me,hasSpace:oe.length>0}}function H(ie,oe=!0){const me=(xe=!1,De="",Pe=!1)=>{const Be=ie.currentPeek();return Be==="{"?De==="%"?!1:xe:Be==="@"||!Be?De==="%"?!0:xe:Be==="%"?(ie.peek(),me(xe,"%",!0)):Be==="|"?De==="%"||Pe?!0:!(De===CHAR_SP||De===CHAR_LF):Be===CHAR_SP?(ie.peek(),me(!0,CHAR_SP,Pe)):Be===CHAR_LF?(ie.peek(),me(!0,CHAR_LF,Pe)):!0},Se=me();return oe&&ie.resetPeek(),Se}function B(ie,oe){const me=ie.currentChar();return me===EOF?EOF:oe(me)?(ie.next(),me):null}function z(ie){const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36}function U(ie){return B(ie,z)}function Q(ie){const oe=ie.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36||oe===45}function X(ie){return B(ie,Q)}function J(ie){const oe=ie.charCodeAt(0);return oe>=48&&oe<=57}function ne(ie){return B(ie,J)}function te(ie){const oe=ie.charCodeAt(0);return oe>=48&&oe<=57||oe>=65&&oe<=70||oe>=97&&oe<=102}function ce(ie){return B(ie,te)}function se(ie){let oe="",me="";for(;oe=ne(ie);)me+=oe;return me}function ge(ie){I(ie);const oe=ie.currentChar();return oe!=="%"&&_(CompileErrorCodes.EXPECTED_TOKEN,d(),0,oe),ie.next(),"%"}function he(ie){let oe="";for(;;){const me=ie.currentChar();if(me==="{"||me==="}"||me==="@"||me==="|"||!me)break;if(me==="%")if(H(ie))oe+=me,ie.next();else break;else if(me===CHAR_SP||me===CHAR_LF)if(H(ie))oe+=me,ie.next();else{if(V(ie))break;oe+=me,ie.next()}else oe+=me,ie.next()}return oe}function ye(ie){I(ie);let oe="",me="";for(;oe=X(ie);)me+=oe;return ie.currentChar()===EOF&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me}function ee(ie){I(ie);let oe="";return ie.currentChar()==="-"?(ie.next(),oe+=`-${se(ie)}`):oe+=se(ie),ie.currentChar()===EOF&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),oe}function pe(ie){return ie!==LITERAL_DELIMITER&&ie!==CHAR_LF}function ae(ie){I(ie),C(ie,"'");let oe="",me="";for(;oe=B(ie,pe);)oe==="\\"?me+=ve(ie):me+=oe;const Se=ie.currentChar();return Se===CHAR_LF||Se===EOF?(_(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,d(),0),Se===CHAR_LF&&(ie.next(),C(ie,"'")),me):(C(ie,"'"),me)}function ve(ie){const oe=ie.currentChar();switch(oe){case"\\":case"'":return ie.next(),`\\${oe}`;case"u":return we(ie,oe,4);case"U":return we(ie,oe,6);default:return _(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,d(),0,oe),""}}function we(ie,oe,me){C(ie,oe);let Se="";for(let xe=0;xe{const Se=ie.currentChar();return Se==="{"||Se==="%"||Se==="@"||Se==="|"||Se==="("||Se===")"||!Se||Se===CHAR_SP?me:(me+=Se,ie.next(),oe(me))};return oe("")}function Ee(ie){I(ie);const oe=C(ie,"|");return I(ie),oe}function le(ie,oe){let me=null;switch(ie.currentChar()){case"{":return oe.braceNest>=1&&_(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,d(),0),ie.next(),me=w(oe,2,"{"),I(ie),oe.braceNest++,me;case"}":return oe.braceNest>0&&oe.currentType===2&&_(CompileErrorCodes.EMPTY_PLACEHOLDER,d(),0),ie.next(),me=w(oe,3,"}"),oe.braceNest--,oe.braceNest>0&&I(ie),oe.inLinked&&oe.braceNest===0&&(oe.inLinked=!1),me;case"@":return oe.braceNest>0&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me=re(ie,oe)||S(oe),oe.braceNest=0,me;default:{let xe=!0,De=!0,Pe=!0;if(V(ie))return oe.braceNest>0&&_(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),me=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,me;if(oe.braceNest>0&&(oe.currentType===5||oe.currentType===6||oe.currentType===7))return _(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,d(),0),oe.braceNest=0,ue(ie,oe);if(xe=O(ie,oe))return me=w(oe,5,ye(ie)),I(ie),me;if(De=D(ie,oe))return me=w(oe,6,ee(ie)),I(ie),me;if(Pe=x(ie,oe))return me=w(oe,7,ae(ie)),I(ie),me;if(!xe&&!De&&!Pe)return me=w(oe,13,Te(ie)),_(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,d(),0,me.value),I(ie),me;break}}return me}function re(ie,oe){const{currentType:me}=oe;let Se=null;const xe=ie.currentChar();switch((me===8||me===9||me===12||me===10)&&(xe===CHAR_LF||xe===CHAR_SP)&&_(CompileErrorCodes.INVALID_LINKED_FORMAT,d(),0),xe){case"@":return ie.next(),Se=w(oe,8,"@"),oe.inLinked=!0,Se;case".":return I(ie),ie.next(),w(oe,9,".");case":":return I(ie),ie.next(),w(oe,10,":");default:return V(ie)?(Se=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,Se):P(ie,oe)||M(ie,oe)?(I(ie),re(ie,oe)):G(ie,oe)?(I(ie),w(oe,12,Ce(ie))):N(ie,oe)?(I(ie),xe==="{"?le(ie,oe)||Se:w(oe,11,Ae(ie))):(me===8&&_(CompileErrorCodes.INVALID_LINKED_FORMAT,d(),0),oe.braceNest=0,oe.inLinked=!1,ue(ie,oe))}}function ue(ie,oe){let me={type:14};if(oe.braceNest>0)return le(ie,oe)||S(oe);if(oe.inLinked)return re(ie,oe)||S(oe);switch(ie.currentChar()){case"{":return le(ie,oe)||S(oe);case"}":return _(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,d(),0),ie.next(),w(oe,3,"}");case"@":return re(ie,oe)||S(oe);default:{if(V(ie))return me=w(oe,1,Ee(ie)),oe.braceNest=0,oe.inLinked=!1,me;const{isModulo:xe,hasSpace:De}=Z(ie);if(xe)return De?w(oe,0,he(ie)):w(oe,4,ge(ie));if(H(ie))return w(oe,0,he(ie));break}}return me}function be(){const{currentType:ie,offset:oe,startLoc:me,endLoc:Se}=y;return y.lastType=ie,y.lastOffset=oe,y.lastStartLoc=me,y.lastEndLoc=Se,y.offset=u(),y.startLoc=d(),a.currentChar()===EOF?w(y,14):ue(a,y)}return{nextToken:be,currentOffset:u,currentPosition:d,context:A}}const ERROR_DOMAIN$2="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(t,r,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(r||o,16);return a<=55295||a>=57344?String.fromCodePoint(a):"\uFFFD"}}}function createParser(t={}){const r=t.location!==!1,{onError:o,onWarn:a}=t;function u(O,D,x,P,...G){const M=O.currentPosition();if(M.offset+=P,M.column+=P,o){const N=r?createLocation(x,M):null,V=createCompileError(D,N,{domain:ERROR_DOMAIN$2,args:G});o(V)}}function d(O,D,x,P,...G){const M=O.currentPosition();if(M.offset+=P,M.column+=P,a){const N=r?createLocation(x,M):null;a(createCompileWarn(D,N,G))}}function g(O,D,x){const P={type:O};return r&&(P.start=D,P.end=D,P.loc={start:x,end:x}),P}function v(O,D,x,P){P&&(O.type=P),r&&(O.end=D,O.loc&&(O.loc.end=x))}function y(O,D){const x=O.context(),P=g(3,x.offset,x.startLoc);return P.value=D,v(P,O.currentOffset(),O.currentPosition()),P}function A(O,D){const x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(5,P,G);return M.index=parseInt(D,10),O.nextToken(),v(M,O.currentOffset(),O.currentPosition()),M}function b(O,D,x){const P=O.context(),{lastOffset:G,lastStartLoc:M}=P,N=g(4,G,M);return N.key=D,x===!0&&(N.modulo=!0),O.nextToken(),v(N,O.currentOffset(),O.currentPosition()),N}function _(O,D){const x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(9,P,G);return M.value=D.replace(KNOWN_ESCAPES,fromEscapeSequence),O.nextToken(),v(M,O.currentOffset(),O.currentPosition()),M}function w(O){const D=O.nextToken(),x=O.context(),{lastOffset:P,lastStartLoc:G}=x,M=g(8,P,G);return D.type!==12?(u(O,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",v(M,P,G),{nextConsumeToken:D,node:M}):(D.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,getTokenCaption(D)),M.value=D.value||"",v(M,O.currentOffset(),O.currentPosition()),{node:M})}function S(O,D){const x=O.context(),P=g(7,x.offset,x.startLoc);return P.value=D,v(P,O.currentOffset(),O.currentPosition()),P}function C(O){const D=O.context(),x=g(6,D.offset,D.startLoc);let P=O.nextToken();if(P.type===9){const G=w(O);x.modifier=G.node,P=G.nextConsumeToken||O.nextToken()}switch(P.type!==10&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),P=O.nextToken(),P.type===2&&(P=O.nextToken()),P.type){case 11:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=S(O,P.value||"");break;case 5:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=b(O,P.value||"");break;case 6:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=A(O,P.value||"");break;case 7:P.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(P)),x.key=_(O,P.value||"");break;default:{u(O,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,D.lastStartLoc,0);const G=O.context(),M=g(7,G.offset,G.startLoc);return M.value="",v(M,G.offset,G.startLoc),x.key=M,v(x,G.offset,G.startLoc),{nextConsumeToken:P,node:x}}}return v(x,O.currentOffset(),O.currentPosition()),{node:x}}function T(O){const D=O.context(),x=D.currentType===1?O.currentOffset():D.offset,P=D.currentType===1?D.endLoc:D.startLoc,G=g(2,x,P);G.items=[];let M=null,N=null;do{const H=M||O.nextToken();switch(M=null,H.type){case 0:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(y(O,H.value||""));break;case 6:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(A(O,H.value||""));break;case 4:N=!0;break;case 5:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(b(O,H.value||"",!!N)),N&&(d(O,CompileWarnCodes.USE_MODULO_SYNTAX,D.lastStartLoc,0,getTokenCaption(H)),N=null);break;case 7:H.value==null&&u(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,getTokenCaption(H)),G.items.push(_(O,H.value||""));break;case 8:{const B=C(O);G.items.push(B.node),M=B.nextConsumeToken||null;break}}}while(D.currentType!==14&&D.currentType!==1);const V=D.currentType===1?D.lastOffset:O.currentOffset(),Z=D.currentType===1?D.lastEndLoc:O.currentPosition();return v(G,V,Z),G}function I(O,D,x,P){const G=O.context();let M=P.items.length===0;const N=g(1,D,x);N.cases=[],N.cases.push(P);do{const V=T(O);M||(M=V.items.length===0),N.cases.push(V)}while(G.currentType!==14);return M&&u(O,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),v(N,O.currentOffset(),O.currentPosition()),N}function E(O){const D=O.context(),{offset:x,startLoc:P}=D,G=T(O);return D.currentType===14?G:I(O,x,P,G)}function F(O){const D=createTokenizer(O,assign({},t)),x=D.context(),P=g(0,x.offset,x.startLoc);return r&&P.loc&&(P.loc.source=O),P.body=E(D),t.onCacheKey&&(P.cacheKey=t.onCacheKey(O)),x.currentType!==14&&u(D,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,O[x.offset]||""),v(P,D.currentOffset(),D.currentPosition()),P}return{parse:F}}function getTokenCaption(t){if(t.type===14)return"EOF";const r=(t.value||"").replace(/\r?\n/gu,"\\n");return r.length>10?r.slice(0,9)+"\u2026":r}function createTransformer(t,r={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:d=>(o.helpers.add(d),d)}}function traverseNodes(t,r){for(let o=0;ooptimizeMessageNode(o)),t}function optimizeMessageNode(t){if(t.items.length===1){const r=t.items[0];(r.type===3||r.type===9)&&(t.static=r.value,delete r.value)}else{const r=[];for(let o=0;ov;function A(I,E){v.code+=I}function b(I,E=!0){const F=E?u:"";A(d?F+" ".repeat(I):F)}function _(I=!0){const E=++v.indentLevel;I&&b(E)}function w(I=!0){const E=--v.indentLevel;I&&b(E)}function S(){b(v.indentLevel)}return{context:y,push:A,indent:_,deindent:w,newline:S,helper:I=>`_${I}`,needIndent:()=>v.needIndent}}function generateLinkedNode(t,r){const{helper:o}=t;t.push(`${o("linked")}(`),generateNode(t,r.key),r.modifier?(t.push(", "),generateNode(t,r.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function generateMessageNode(t,r){const{helper:o,needIndent:a}=t;t.push(`${o("normalize")}([`),t.indent(a());const u=r.items.length;for(let d=0;d1){t.push(`${o("plural")}([`),t.indent(a());const u=r.cases.length;for(let d=0;d{const o=isString$3(r.mode)?r.mode:"normal",a=isString$3(r.filename)?r.filename:"message.intl",u=!!r.sourceMap,d=r.breakLineCode!=null?r.breakLineCode:o==="arrow"?";":` `,g=r.needIndent?r.needIndent:o!=="arrow",v=t.helpers||[],y=createCodeGenerator(t,{mode:o,filename:a,sourceMap:u,breakLineCode:d,needIndent:g});y.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),y.indent(g),v.length>0&&(y.push(`const { ${join$1(v.map(_=>`${_}: _${_}`),", ")} } = ctx`),y.newline()),y.push("return "),generateNode(y,t),y.deindent(g),y.push("}"),delete t.helpers;const{code:A,map:b}=y.context();return{ast:t,code:A,map:b?b.toJSON():void 0}};function baseCompile$1(t,r={}){const o=assign({},r),a=!!o.jit,u=!!o.minify,d=o.optimize==null?!0:o.optimize,v=createParser(o).parse(t);return a?(d&&optimize(v),u&&minify(v),{ast:v,code:""}):(transform(v,o),generate(v,o))}/*! * core-base v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function initFeatureFlags$1(){typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],["["]:[4],o:[7]};pathStateMachine[1]={w:[1],["."]:[2],["["]:[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],[0]:[3,0]};pathStateMachine[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};pathStateMachine[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};pathStateMachine[5]={["'"]:[4,0],o:8,l:[5,0]};pathStateMachine[6]={['"']:[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(t){return literalValueRE.test(t)}function stripQuotes(t){const r=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return r===o&&(r===34||r===39)?t.slice(1,-1):t}function getPathCharType(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(t){const r=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:isLiteral(r)?stripQuotes(r):"*"+r}function parse$p(t){const r=[];let o=-1,a=0,u=0,d,g,v,y,A,b,_;const w=[];w[0]=()=>{g===void 0?g=v:g+=v},w[1]=()=>{g!==void 0&&(r.push(g),g=void 0)},w[2]=()=>{w[0](),u++},w[3]=()=>{if(u>0)u--,a=4,w[0]();else{if(u=0,g===void 0||(g=formatSubPath(g),g===!1))return!1;w[1]()}};function S(){const C=t[o+1];if(a===5&&C==="'"||a===6&&C==='"')return o++,v="\\"+C,w[0](),!0}for(;a!==null;)if(o++,d=t[o],!(d==="\\"&&S())){if(y=getPathCharType(d),_=pathStateMachine[a],A=_[y]||_.l||8,A===8||(a=A[0],A[1]!==void 0&&(b=w[A[1]],b&&(v=d,b()===!1))))return;if(a===7)return r}}const cache=new Map;function resolveWithKeyValue(t,r){return isObject$l(t)?t[r]:null}function resolveValue(t,r){if(!isObject$l(t))return null;let o=cache.get(r);if(o||(o=parse$p(r),o&&cache.set(r,o)),!o)return null;const a=o.length;let u=t,d=0;for(;dt,DEFAULT_MESSAGE=t=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=t=>t.length===0?"":join$2(t),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(t,r){return t=Math.abs(t),r===2?t?t>1?1:0:1:t?Math.min(t,2):0}function getPluralIndex(t){const r=isNumber$3(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(isNumber$3(t.named.count)||isNumber$3(t.named.n))?isNumber$3(t.named.count)?t.named.count:isNumber$3(t.named.n)?t.named.n:r:r}function normalizeNamed(t,r){r.count||(r.count=t),r.n||(r.n=t)}function createMessageContext(t={}){const r=t.locale,o=getPluralIndex(t),a=isObject$l(t.pluralRules)&&isString$4(r)&&isFunction$5(t.pluralRules[r])?t.pluralRules[r]:pluralDefault,u=isObject$l(t.pluralRules)&&isString$4(r)&&isFunction$5(t.pluralRules[r])?pluralDefault:void 0,d=E=>E[a(o,E.length,u)],g=t.list||[],v=E=>g[E],y=t.named||{};isNumber$3(t.pluralIndex)&&normalizeNamed(o,y);const A=E=>y[E];function b(E){const F=isFunction$5(t.messages)?t.messages(E):isObject$l(t.messages)?t.messages[E]:!1;return F||(t.parent?t.parent.message(E):DEFAULT_MESSAGE)}const _=E=>t.modifiers?t.modifiers[E]:DEFAULT_MODIFIER,w=isPlainObject$2(t.processor)&&isFunction$5(t.processor.normalize)?t.processor.normalize:DEFAULT_NORMALIZE,S=isPlainObject$2(t.processor)&&isFunction$5(t.processor.interpolate)?t.processor.interpolate:DEFAULT_INTERPOLATE,C=isPlainObject$2(t.processor)&&isString$4(t.processor.type)?t.processor.type:DEFAULT_MESSAGE_DATA_TYPE,I={list:v,named:A,plural:d,linked:(E,...F)=>{const[O,D]=F;let x="text",P="";F.length===1?isObject$l(O)?(P=O.modifier||P,x=O.type||x):isString$4(O)&&(P=O||P):F.length===2&&(isString$4(O)&&(P=O||P),isString$4(D)&&(x=D||x));const G=b(E)(I),M=x==="vnode"&&isArray$e(G)&&P?G[0]:G;return P?_(P)(M,x):M},message:b,type:C,interpolate:S,normalize:w,values:assign$1({},g,y)};return I}const code$1$1=CompileWarnCodes.__EXTEND_POINT__,inc$1$1=incrementer(code$1$1),CoreWarnCodes={NOT_FOUND_KEY:code$1$1,FALLBACK_TO_TRANSLATE:inc$1$1(),CANNOT_FORMAT_NUMBER:inc$1$1(),FALLBACK_TO_NUMBER_FORMAT:inc$1$1(),CANNOT_FORMAT_DATE:inc$1$1(),FALLBACK_TO_DATE_FORMAT:inc$1$1(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:inc$1$1(),__EXTEND_POINT__:inc$1$1()},code$3=CompileErrorCodes.__EXTEND_POINT__,inc$2=incrementer(code$3),CoreErrorCodes={INVALID_ARGUMENT:code$3,INVALID_DATE_ARGUMENT:inc$2(),INVALID_ISO_DATE_ARGUMENT:inc$2(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$2(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:inc$2(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:inc$2(),NOT_SUPPORT_LOCALE_TYPE:inc$2(),__EXTEND_POINT__:inc$2()};function createCoreError(t){return createCompileError(t,null,void 0)}function getLocale(t,r){return r.locale!=null?resolveLocale(r.locale):resolveLocale(t.locale)}let _resolveLocale;function resolveLocale(t){if(isString$4(t))return t;if(isFunction$5(t)){if(t.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(t.constructor.name==="Function"){const r=t();if(isPromise(r))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=r}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(t,r,o){return[...new Set([o,...isArray$e(r)?r:isObject$l(r)?Object.keys(r):isString$4(r)?[r]:[o]])]}function fallbackWithLocaleChain(t,r,o){const a=isString$4(o)?o:DEFAULT_LOCALE$1,u=t;u.__localeChainCache||(u.__localeChainCache=new Map);let d=u.__localeChainCache.get(a);if(!d){d=[];let g=[o];for(;isArray$e(g);)g=appendBlockToChain(d,g,r);const v=isArray$e(r)||!isPlainObject$2(r)?r:r.default?r.default:null;g=isString$4(v)?[v]:v,isArray$e(g)&&appendBlockToChain(d,g,!1),u.__localeChainCache.set(a,d)}return d}function appendBlockToChain(t,r,o){let a=!0;for(let u=0;u`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(t,r)=>r==="text"&&isString$4(t)?t.toUpperCase():r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,r)=>r==="text"&&isString$4(t)?t.toLowerCase():r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,r)=>r==="text"&&isString$4(t)?capitalize$2(t):r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?capitalize$2(t.children):t}}let _compiler;function registerMessageCompiler(t){_compiler=t}let _resolver;function registerMessageResolver(t){_resolver=t}let _fallbacker;function registerLocaleFallbacker(t){_fallbacker=t}const setAdditionalMeta=t=>{};let _fallbackContext=null;const setFallbackContext=t=>{_fallbackContext=t},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(t={}){const r=isFunction$5(t.onWarn)?t.onWarn:warn$1,o=isString$4(t.version)?t.version:VERSION$2,a=isString$4(t.locale)||isFunction$5(t.locale)?t.locale:DEFAULT_LOCALE$1,u=isFunction$5(a)?DEFAULT_LOCALE$1:a,d=isArray$e(t.fallbackLocale)||isPlainObject$2(t.fallbackLocale)||isString$4(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:u,g=isPlainObject$2(t.messages)?t.messages:{[u]:{}},v=isPlainObject$2(t.datetimeFormats)?t.datetimeFormats:{[u]:{}},y=isPlainObject$2(t.numberFormats)?t.numberFormats:{[u]:{}},A=assign$1({},t.modifiers||{},getDefaultLinkedModifiers()),b=t.pluralRules||{},_=isFunction$5(t.missing)?t.missing:null,w=isBoolean$1(t.missingWarn)||isRegExp$2(t.missingWarn)?t.missingWarn:!0,S=isBoolean$1(t.fallbackWarn)||isRegExp$2(t.fallbackWarn)?t.fallbackWarn:!0,C=!!t.fallbackFormat,T=!!t.unresolving,I=isFunction$5(t.postTranslation)?t.postTranslation:null,E=isPlainObject$2(t.processor)?t.processor:null,F=isBoolean$1(t.warnHtmlMessage)?t.warnHtmlMessage:!0,O=!!t.escapeParameter,D=isFunction$5(t.messageCompiler)?t.messageCompiler:_compiler,x=isFunction$5(t.messageResolver)?t.messageResolver:_resolver||resolveWithKeyValue,P=isFunction$5(t.localeFallbacker)?t.localeFallbacker:_fallbacker||fallbackWithSimple,G=isObject$l(t.fallbackContext)?t.fallbackContext:void 0,M=t,N=isObject$l(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,V=isObject$l(M.__numberFormatters)?M.__numberFormatters:new Map,Y=isObject$l(M.__meta)?M.__meta:{};_cid++;const H={version:o,cid:_cid,locale:a,fallbackLocale:d,messages:g,modifiers:A,pluralRules:b,missing:_,missingWarn:w,fallbackWarn:S,fallbackFormat:C,unresolving:T,postTranslation:I,processor:E,warnHtmlMessage:F,escapeParameter:O,messageCompiler:D,messageResolver:x,localeFallbacker:P,fallbackContext:G,onWarn:r,__meta:Y};return H.datetimeFormats=v,H.numberFormats=y,H.__datetimeFormatters=N,H.__numberFormatters=V,H}function handleMissing(t,r,o,a,u){const{missing:d,onWarn:g}=t;if(d!==null){const v=d(t,o,r,u);return isString$4(v)?v:r}else return r}function updateFallbackLocale(t,r,o){const a=t;a.__localeChainCache=new Map,t.localeFallbacker(t,o,r)}function isAlmostSameLocale(t,r){return t===r?!1:t.split("-")[0]===r.split("-")[0]}function isImplicitFallback(t,r){const o=r.indexOf(t);if(o===-1)return!1;for(let a=o+1;aformatParts(o,t)}function formatParts(t,r){const o=r.b||r.body;if((o.t||o.type)===1){const a=o,u=a.c||a.cases;return t.plural(u.reduce((d,g)=>[...d,formatMessageParts(t,g)],[]))}else return formatMessageParts(t,o)}function formatMessageParts(t,r){const o=r.s||r.static;if(o)return t.type==="text"?o:t.normalize([o]);{const a=(r.i||r.items).reduce((u,d)=>[...u,formatMessagePart(t,d)],[]);return t.normalize(a)}}function formatMessagePart(t,r){const o=r.t||r.type;switch(o){case 3:{const a=r;return a.v||a.value}case 9:{const a=r;return a.v||a.value}case 4:{const a=r;return t.interpolate(t.named(a.k||a.key))}case 5:{const a=r;return t.interpolate(t.list(a.i!=null?a.i:a.index))}case 6:{const a=r,u=a.m||a.modifier;return t.linked(formatMessagePart(t,a.k||a.key),u?formatMessagePart(t,u):void 0,t.type)}case 7:{const a=r;return a.v||a.value}case 8:{const a=r;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${o}`)}}const defaultOnCacheKey=t=>t;let compileCache=Object.create(null);const isMessageAST=t=>isObject$l(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function baseCompile(t,r={}){let o=!1;const a=r.onError||defaultOnError;return r.onError=u=>{o=!0,a(u)},{...baseCompile$1(t,r),detectError:o}}const compileToFunction=(t,r)=>{if(!isString$4(t))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE);{isBoolean$1(r.warnHtmlMessage)&&r.warnHtmlMessage;const a=(r.onCacheKey||defaultOnCacheKey)(t),u=compileCache[a];if(u)return u;const{code:d,detectError:g}=baseCompile(t,r),v=new Function(`return ${d}`)();return g?v:compileCache[a]=v}};function compile(t,r){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString$4(t)){isBoolean$1(r.warnHtmlMessage)&&r.warnHtmlMessage;const a=(r.onCacheKey||defaultOnCacheKey)(t),u=compileCache[a];if(u)return u;const{ast:d,detectError:g}=baseCompile(t,{...r,location:!1,jit:!0}),v=format$4(d);return g?v:compileCache[a]=v}else{const o=t.cacheKey;if(o){const a=compileCache[o];return a||(compileCache[o]=format$4(t))}else return format$4(t)}}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=t=>isFunction$5(t);function translate$1(t,...r){const{fallbackFormat:o,postTranslation:a,unresolving:u,messageCompiler:d,fallbackLocale:g,messages:v}=t,[y,A]=parseTranslateArgs(...r),b=isBoolean$1(A.missingWarn)?A.missingWarn:t.missingWarn,_=isBoolean$1(A.fallbackWarn)?A.fallbackWarn:t.fallbackWarn,w=isBoolean$1(A.escapeParameter)?A.escapeParameter:t.escapeParameter,S=!!A.resolvedMessage,C=isString$4(A.default)||isBoolean$1(A.default)?isBoolean$1(A.default)?d?y:()=>y:A.default:o?d?y:()=>y:"",T=o||C!=="",I=getLocale(t,A);w&&escapeParams(A);let[E,F,O]=S?[y,I,v[I]||{}]:resolveMessageFormat(t,y,I,g,_,b),D=E,x=y;if(!S&&!(isString$4(D)||isMessageAST(D)||isMessageFunction(D))&&T&&(D=C,x=D),!S&&(!(isString$4(D)||isMessageAST(D)||isMessageFunction(D))||!isString$4(F)))return u?NOT_REOSLVED:y;let P=!1;const G=()=>{P=!0},M=isMessageFunction(D)?D:compileMessageFormat(t,y,F,D,x,G);if(P)return D;const N=getMessageContextOptions(t,F,O,A),V=createMessageContext(N),Y=evaluateMessage(t,M,V);return a?a(Y,y):Y}function escapeParams(t){isArray$e(t.list)?t.list=t.list.map(r=>isString$4(r)?escapeHtml(r):r):isObject$l(t.named)&&Object.keys(t.named).forEach(r=>{isString$4(t.named[r])&&(t.named[r]=escapeHtml(t.named[r]))})}function resolveMessageFormat(t,r,o,a,u,d){const{messages:g,onWarn:v,messageResolver:y,localeFallbacker:A}=t,b=A(t,a,o);let _={},w,S=null;const C="translate";for(let T=0;Ta;return A.locale=o,A.key=r,A}const y=g(a,getCompileContext(t,o,u,a,v,d));return y.locale=o,y.key=r,y.source=a,y}function evaluateMessage(t,r,o){return r(o)}function parseTranslateArgs(...t){const[r,o,a]=t,u={};if(!isString$4(r)&&!isNumber$3(r)&&!isMessageFunction(r)&&!isMessageAST(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const d=isNumber$3(r)?String(r):(isMessageFunction(r),r);return isNumber$3(o)?u.plural=o:isString$4(o)?u.default=o:isPlainObject$2(o)&&!isEmptyObject(o)?u.named=o:isArray$e(o)&&(u.list=o),isNumber$3(a)?u.plural=a:isString$4(a)?u.default=a:isPlainObject$2(a)&&assign$1(u,a),[d,u]}function getCompileContext(t,r,o,a,u,d){return{locale:r,key:o,warnHtmlMessage:u,onError:g=>{throw d&&d(g),g},onCacheKey:g=>generateFormatCacheKey(r,o,g)}}function getMessageContextOptions(t,r,o,a){const{modifiers:u,pluralRules:d,messageResolver:g,fallbackLocale:v,fallbackWarn:y,missingWarn:A,fallbackContext:b}=t,w={locale:r,modifiers:u,pluralRules:d,messages:S=>{let C=g(o,S);if(C==null&&b){const[,,T]=resolveMessageFormat(b,S,r,v,y,A);C=g(T,S)}if(isString$4(C)||isMessageAST(C)){let T=!1;const E=compileMessageFormat(t,S,r,C,S,()=>{T=!0});return T?NOOP_MESSAGE_FUNCTION:E}else return isMessageFunction(C)?C:NOOP_MESSAGE_FUNCTION}};return t.processor&&(w.processor=t.processor),a.list&&(w.list=a.list),a.named&&(w.named=a.named),isNumber$3(a.plural)&&(w.pluralIndex=a.plural),w}function datetime(t,...r){const{datetimeFormats:o,unresolving:a,fallbackLocale:u,onWarn:d,localeFallbacker:g}=t,{__datetimeFormatters:v}=t,[y,A,b,_]=parseDateTimeArgs(...r),w=isBoolean$1(b.missingWarn)?b.missingWarn:t.missingWarn;isBoolean$1(b.fallbackWarn)?b.fallbackWarn:t.fallbackWarn;const S=!!b.part,C=getLocale(t,b),T=g(t,u,C);if(!isString$4(y)||y==="")return new Intl.DateTimeFormat(C,_).format(A);let I={},E,F=null;const O="datetime format";for(let P=0;P{DATETIME_FORMAT_OPTIONS_KEYS.includes(y)?g[y]=o[y]:d[y]=o[y]}),isString$4(a)?d.locale=a:isPlainObject$2(a)&&(g=a),isPlainObject$2(u)&&(g=u),[d.key||"",v,d,g]}function clearDateTimeFormat(t,r,o){const a=t;for(const u in o){const d=`${r}__${u}`;!a.__datetimeFormatters.has(d)||a.__datetimeFormatters.delete(d)}}function number(t,...r){const{numberFormats:o,unresolving:a,fallbackLocale:u,onWarn:d,localeFallbacker:g}=t,{__numberFormatters:v}=t,[y,A,b,_]=parseNumberArgs(...r),w=isBoolean$1(b.missingWarn)?b.missingWarn:t.missingWarn;isBoolean$1(b.fallbackWarn)?b.fallbackWarn:t.fallbackWarn;const S=!!b.part,C=getLocale(t,b),T=g(t,u,C);if(!isString$4(y)||y==="")return new Intl.NumberFormat(C,_).format(A);let I={},E,F=null;const O="number format";for(let P=0;P{NUMBER_FORMAT_OPTIONS_KEYS.includes(y)?g[y]=o[y]:d[y]=o[y]}),isString$4(a)?d.locale=a:isPlainObject$2(a)&&(g=a),isPlainObject$2(u)&&(g=u),[d.key||"",v,d,g]}function clearNumberFormat(t,r,o){const a=t;for(const u in o){const d=`${r}__${u}`;!a.__numberFormatters.has(d)||a.__numberFormatters.delete(d)}}initFeatureFlags$1();/*! + */function initFeatureFlags$1(){typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],["["]:[4],o:[7]};pathStateMachine[1]={w:[1],["."]:[2],["["]:[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],[0]:[3,0]};pathStateMachine[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};pathStateMachine[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};pathStateMachine[5]={["'"]:[4,0],o:8,l:[5,0]};pathStateMachine[6]={['"']:[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(t){return literalValueRE.test(t)}function stripQuotes(t){const r=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return r===o&&(r===34||r===39)?t.slice(1,-1):t}function getPathCharType(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(t){const r=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:isLiteral(r)?stripQuotes(r):"*"+r}function parse$p(t){const r=[];let o=-1,a=0,u=0,d,g,v,y,A,b,_;const w=[];w[0]=()=>{g===void 0?g=v:g+=v},w[1]=()=>{g!==void 0&&(r.push(g),g=void 0)},w[2]=()=>{w[0](),u++},w[3]=()=>{if(u>0)u--,a=4,w[0]();else{if(u=0,g===void 0||(g=formatSubPath(g),g===!1))return!1;w[1]()}};function S(){const C=t[o+1];if(a===5&&C==="'"||a===6&&C==='"')return o++,v="\\"+C,w[0](),!0}for(;a!==null;)if(o++,d=t[o],!(d==="\\"&&S())){if(y=getPathCharType(d),_=pathStateMachine[a],A=_[y]||_.l||8,A===8||(a=A[0],A[1]!==void 0&&(b=w[A[1]],b&&(v=d,b()===!1))))return;if(a===7)return r}}const cache=new Map;function resolveWithKeyValue(t,r){return isObject$l(t)?t[r]:null}function resolveValue(t,r){if(!isObject$l(t))return null;let o=cache.get(r);if(o||(o=parse$p(r),o&&cache.set(r,o)),!o)return null;const a=o.length;let u=t,d=0;for(;dt,DEFAULT_MESSAGE=t=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=t=>t.length===0?"":join$2(t),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(t,r){return t=Math.abs(t),r===2?t?t>1?1:0:1:t?Math.min(t,2):0}function getPluralIndex(t){const r=isNumber$3(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(isNumber$3(t.named.count)||isNumber$3(t.named.n))?isNumber$3(t.named.count)?t.named.count:isNumber$3(t.named.n)?t.named.n:r:r}function normalizeNamed(t,r){r.count||(r.count=t),r.n||(r.n=t)}function createMessageContext(t={}){const r=t.locale,o=getPluralIndex(t),a=isObject$l(t.pluralRules)&&isString$4(r)&&isFunction$5(t.pluralRules[r])?t.pluralRules[r]:pluralDefault,u=isObject$l(t.pluralRules)&&isString$4(r)&&isFunction$5(t.pluralRules[r])?pluralDefault:void 0,d=E=>E[a(o,E.length,u)],g=t.list||[],v=E=>g[E],y=t.named||{};isNumber$3(t.pluralIndex)&&normalizeNamed(o,y);const A=E=>y[E];function b(E){const F=isFunction$5(t.messages)?t.messages(E):isObject$l(t.messages)?t.messages[E]:!1;return F||(t.parent?t.parent.message(E):DEFAULT_MESSAGE)}const _=E=>t.modifiers?t.modifiers[E]:DEFAULT_MODIFIER,w=isPlainObject$2(t.processor)&&isFunction$5(t.processor.normalize)?t.processor.normalize:DEFAULT_NORMALIZE,S=isPlainObject$2(t.processor)&&isFunction$5(t.processor.interpolate)?t.processor.interpolate:DEFAULT_INTERPOLATE,C=isPlainObject$2(t.processor)&&isString$4(t.processor.type)?t.processor.type:DEFAULT_MESSAGE_DATA_TYPE,I={list:v,named:A,plural:d,linked:(E,...F)=>{const[O,D]=F;let x="text",P="";F.length===1?isObject$l(O)?(P=O.modifier||P,x=O.type||x):isString$4(O)&&(P=O||P):F.length===2&&(isString$4(O)&&(P=O||P),isString$4(D)&&(x=D||x));const G=b(E)(I),M=x==="vnode"&&isArray$e(G)&&P?G[0]:G;return P?_(P)(M,x):M},message:b,type:C,interpolate:S,normalize:w,values:assign$1({},g,y)};return I}const code$1$1=CompileWarnCodes.__EXTEND_POINT__,inc$1$1=incrementer(code$1$1),CoreWarnCodes={NOT_FOUND_KEY:code$1$1,FALLBACK_TO_TRANSLATE:inc$1$1(),CANNOT_FORMAT_NUMBER:inc$1$1(),FALLBACK_TO_NUMBER_FORMAT:inc$1$1(),CANNOT_FORMAT_DATE:inc$1$1(),FALLBACK_TO_DATE_FORMAT:inc$1$1(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:inc$1$1(),__EXTEND_POINT__:inc$1$1()},code$3=CompileErrorCodes.__EXTEND_POINT__,inc$2=incrementer(code$3),CoreErrorCodes={INVALID_ARGUMENT:code$3,INVALID_DATE_ARGUMENT:inc$2(),INVALID_ISO_DATE_ARGUMENT:inc$2(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$2(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:inc$2(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:inc$2(),NOT_SUPPORT_LOCALE_TYPE:inc$2(),__EXTEND_POINT__:inc$2()};function createCoreError(t){return createCompileError(t,null,void 0)}function getLocale(t,r){return r.locale!=null?resolveLocale(r.locale):resolveLocale(t.locale)}let _resolveLocale;function resolveLocale(t){if(isString$4(t))return t;if(isFunction$5(t)){if(t.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(t.constructor.name==="Function"){const r=t();if(isPromise(r))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=r}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(t,r,o){return[...new Set([o,...isArray$e(r)?r:isObject$l(r)?Object.keys(r):isString$4(r)?[r]:[o]])]}function fallbackWithLocaleChain(t,r,o){const a=isString$4(o)?o:DEFAULT_LOCALE$1,u=t;u.__localeChainCache||(u.__localeChainCache=new Map);let d=u.__localeChainCache.get(a);if(!d){d=[];let g=[o];for(;isArray$e(g);)g=appendBlockToChain(d,g,r);const v=isArray$e(r)||!isPlainObject$2(r)?r:r.default?r.default:null;g=isString$4(v)?[v]:v,isArray$e(g)&&appendBlockToChain(d,g,!1),u.__localeChainCache.set(a,d)}return d}function appendBlockToChain(t,r,o){let a=!0;for(let u=0;u`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(t,r)=>r==="text"&&isString$4(t)?t.toUpperCase():r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,r)=>r==="text"&&isString$4(t)?t.toLowerCase():r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,r)=>r==="text"&&isString$4(t)?capitalize$2(t):r==="vnode"&&isObject$l(t)&&"__v_isVNode"in t?capitalize$2(t.children):t}}let _compiler;function registerMessageCompiler(t){_compiler=t}let _resolver;function registerMessageResolver(t){_resolver=t}let _fallbacker;function registerLocaleFallbacker(t){_fallbacker=t}const setAdditionalMeta=t=>{};let _fallbackContext=null;const setFallbackContext=t=>{_fallbackContext=t},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(t={}){const r=isFunction$5(t.onWarn)?t.onWarn:warn$1,o=isString$4(t.version)?t.version:VERSION$2,a=isString$4(t.locale)||isFunction$5(t.locale)?t.locale:DEFAULT_LOCALE$1,u=isFunction$5(a)?DEFAULT_LOCALE$1:a,d=isArray$e(t.fallbackLocale)||isPlainObject$2(t.fallbackLocale)||isString$4(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:u,g=isPlainObject$2(t.messages)?t.messages:{[u]:{}},v=isPlainObject$2(t.datetimeFormats)?t.datetimeFormats:{[u]:{}},y=isPlainObject$2(t.numberFormats)?t.numberFormats:{[u]:{}},A=assign$1({},t.modifiers||{},getDefaultLinkedModifiers()),b=t.pluralRules||{},_=isFunction$5(t.missing)?t.missing:null,w=isBoolean$1(t.missingWarn)||isRegExp$2(t.missingWarn)?t.missingWarn:!0,S=isBoolean$1(t.fallbackWarn)||isRegExp$2(t.fallbackWarn)?t.fallbackWarn:!0,C=!!t.fallbackFormat,T=!!t.unresolving,I=isFunction$5(t.postTranslation)?t.postTranslation:null,E=isPlainObject$2(t.processor)?t.processor:null,F=isBoolean$1(t.warnHtmlMessage)?t.warnHtmlMessage:!0,O=!!t.escapeParameter,D=isFunction$5(t.messageCompiler)?t.messageCompiler:_compiler,x=isFunction$5(t.messageResolver)?t.messageResolver:_resolver||resolveWithKeyValue,P=isFunction$5(t.localeFallbacker)?t.localeFallbacker:_fallbacker||fallbackWithSimple,G=isObject$l(t.fallbackContext)?t.fallbackContext:void 0,M=t,N=isObject$l(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,V=isObject$l(M.__numberFormatters)?M.__numberFormatters:new Map,Z=isObject$l(M.__meta)?M.__meta:{};_cid++;const H={version:o,cid:_cid,locale:a,fallbackLocale:d,messages:g,modifiers:A,pluralRules:b,missing:_,missingWarn:w,fallbackWarn:S,fallbackFormat:C,unresolving:T,postTranslation:I,processor:E,warnHtmlMessage:F,escapeParameter:O,messageCompiler:D,messageResolver:x,localeFallbacker:P,fallbackContext:G,onWarn:r,__meta:Z};return H.datetimeFormats=v,H.numberFormats=y,H.__datetimeFormatters=N,H.__numberFormatters=V,H}function handleMissing(t,r,o,a,u){const{missing:d,onWarn:g}=t;if(d!==null){const v=d(t,o,r,u);return isString$4(v)?v:r}else return r}function updateFallbackLocale(t,r,o){const a=t;a.__localeChainCache=new Map,t.localeFallbacker(t,o,r)}function isAlmostSameLocale(t,r){return t===r?!1:t.split("-")[0]===r.split("-")[0]}function isImplicitFallback(t,r){const o=r.indexOf(t);if(o===-1)return!1;for(let a=o+1;aformatParts(o,t)}function formatParts(t,r){const o=r.b||r.body;if((o.t||o.type)===1){const a=o,u=a.c||a.cases;return t.plural(u.reduce((d,g)=>[...d,formatMessageParts(t,g)],[]))}else return formatMessageParts(t,o)}function formatMessageParts(t,r){const o=r.s||r.static;if(o)return t.type==="text"?o:t.normalize([o]);{const a=(r.i||r.items).reduce((u,d)=>[...u,formatMessagePart(t,d)],[]);return t.normalize(a)}}function formatMessagePart(t,r){const o=r.t||r.type;switch(o){case 3:{const a=r;return a.v||a.value}case 9:{const a=r;return a.v||a.value}case 4:{const a=r;return t.interpolate(t.named(a.k||a.key))}case 5:{const a=r;return t.interpolate(t.list(a.i!=null?a.i:a.index))}case 6:{const a=r,u=a.m||a.modifier;return t.linked(formatMessagePart(t,a.k||a.key),u?formatMessagePart(t,u):void 0,t.type)}case 7:{const a=r;return a.v||a.value}case 8:{const a=r;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${o}`)}}const defaultOnCacheKey=t=>t;let compileCache=Object.create(null);const isMessageAST=t=>isObject$l(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function baseCompile(t,r={}){let o=!1;const a=r.onError||defaultOnError;return r.onError=u=>{o=!0,a(u)},{...baseCompile$1(t,r),detectError:o}}const compileToFunction=(t,r)=>{if(!isString$4(t))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE);{isBoolean$1(r.warnHtmlMessage)&&r.warnHtmlMessage;const a=(r.onCacheKey||defaultOnCacheKey)(t),u=compileCache[a];if(u)return u;const{code:d,detectError:g}=baseCompile(t,r),v=new Function(`return ${d}`)();return g?v:compileCache[a]=v}};function compile(t,r){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString$4(t)){isBoolean$1(r.warnHtmlMessage)&&r.warnHtmlMessage;const a=(r.onCacheKey||defaultOnCacheKey)(t),u=compileCache[a];if(u)return u;const{ast:d,detectError:g}=baseCompile(t,{...r,location:!1,jit:!0}),v=format$4(d);return g?v:compileCache[a]=v}else{const o=t.cacheKey;if(o){const a=compileCache[o];return a||(compileCache[o]=format$4(t))}else return format$4(t)}}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=t=>isFunction$5(t);function translate$1(t,...r){const{fallbackFormat:o,postTranslation:a,unresolving:u,messageCompiler:d,fallbackLocale:g,messages:v}=t,[y,A]=parseTranslateArgs(...r),b=isBoolean$1(A.missingWarn)?A.missingWarn:t.missingWarn,_=isBoolean$1(A.fallbackWarn)?A.fallbackWarn:t.fallbackWarn,w=isBoolean$1(A.escapeParameter)?A.escapeParameter:t.escapeParameter,S=!!A.resolvedMessage,C=isString$4(A.default)||isBoolean$1(A.default)?isBoolean$1(A.default)?d?y:()=>y:A.default:o?d?y:()=>y:"",T=o||C!=="",I=getLocale(t,A);w&&escapeParams(A);let[E,F,O]=S?[y,I,v[I]||{}]:resolveMessageFormat(t,y,I,g,_,b),D=E,x=y;if(!S&&!(isString$4(D)||isMessageAST(D)||isMessageFunction(D))&&T&&(D=C,x=D),!S&&(!(isString$4(D)||isMessageAST(D)||isMessageFunction(D))||!isString$4(F)))return u?NOT_REOSLVED:y;let P=!1;const G=()=>{P=!0},M=isMessageFunction(D)?D:compileMessageFormat(t,y,F,D,x,G);if(P)return D;const N=getMessageContextOptions(t,F,O,A),V=createMessageContext(N),Z=evaluateMessage(t,M,V);return a?a(Z,y):Z}function escapeParams(t){isArray$e(t.list)?t.list=t.list.map(r=>isString$4(r)?escapeHtml(r):r):isObject$l(t.named)&&Object.keys(t.named).forEach(r=>{isString$4(t.named[r])&&(t.named[r]=escapeHtml(t.named[r]))})}function resolveMessageFormat(t,r,o,a,u,d){const{messages:g,onWarn:v,messageResolver:y,localeFallbacker:A}=t,b=A(t,a,o);let _={},w,S=null;const C="translate";for(let T=0;Ta;return A.locale=o,A.key=r,A}const y=g(a,getCompileContext(t,o,u,a,v,d));return y.locale=o,y.key=r,y.source=a,y}function evaluateMessage(t,r,o){return r(o)}function parseTranslateArgs(...t){const[r,o,a]=t,u={};if(!isString$4(r)&&!isNumber$3(r)&&!isMessageFunction(r)&&!isMessageAST(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const d=isNumber$3(r)?String(r):(isMessageFunction(r),r);return isNumber$3(o)?u.plural=o:isString$4(o)?u.default=o:isPlainObject$2(o)&&!isEmptyObject(o)?u.named=o:isArray$e(o)&&(u.list=o),isNumber$3(a)?u.plural=a:isString$4(a)?u.default=a:isPlainObject$2(a)&&assign$1(u,a),[d,u]}function getCompileContext(t,r,o,a,u,d){return{locale:r,key:o,warnHtmlMessage:u,onError:g=>{throw d&&d(g),g},onCacheKey:g=>generateFormatCacheKey(r,o,g)}}function getMessageContextOptions(t,r,o,a){const{modifiers:u,pluralRules:d,messageResolver:g,fallbackLocale:v,fallbackWarn:y,missingWarn:A,fallbackContext:b}=t,w={locale:r,modifiers:u,pluralRules:d,messages:S=>{let C=g(o,S);if(C==null&&b){const[,,T]=resolveMessageFormat(b,S,r,v,y,A);C=g(T,S)}if(isString$4(C)||isMessageAST(C)){let T=!1;const E=compileMessageFormat(t,S,r,C,S,()=>{T=!0});return T?NOOP_MESSAGE_FUNCTION:E}else return isMessageFunction(C)?C:NOOP_MESSAGE_FUNCTION}};return t.processor&&(w.processor=t.processor),a.list&&(w.list=a.list),a.named&&(w.named=a.named),isNumber$3(a.plural)&&(w.pluralIndex=a.plural),w}function datetime(t,...r){const{datetimeFormats:o,unresolving:a,fallbackLocale:u,onWarn:d,localeFallbacker:g}=t,{__datetimeFormatters:v}=t,[y,A,b,_]=parseDateTimeArgs(...r),w=isBoolean$1(b.missingWarn)?b.missingWarn:t.missingWarn;isBoolean$1(b.fallbackWarn)?b.fallbackWarn:t.fallbackWarn;const S=!!b.part,C=getLocale(t,b),T=g(t,u,C);if(!isString$4(y)||y==="")return new Intl.DateTimeFormat(C,_).format(A);let I={},E,F=null;const O="datetime format";for(let P=0;P{DATETIME_FORMAT_OPTIONS_KEYS.includes(y)?g[y]=o[y]:d[y]=o[y]}),isString$4(a)?d.locale=a:isPlainObject$2(a)&&(g=a),isPlainObject$2(u)&&(g=u),[d.key||"",v,d,g]}function clearDateTimeFormat(t,r,o){const a=t;for(const u in o){const d=`${r}__${u}`;!a.__datetimeFormatters.has(d)||a.__datetimeFormatters.delete(d)}}function number(t,...r){const{numberFormats:o,unresolving:a,fallbackLocale:u,onWarn:d,localeFallbacker:g}=t,{__numberFormatters:v}=t,[y,A,b,_]=parseNumberArgs(...r),w=isBoolean$1(b.missingWarn)?b.missingWarn:t.missingWarn;isBoolean$1(b.fallbackWarn)?b.fallbackWarn:t.fallbackWarn;const S=!!b.part,C=getLocale(t,b),T=g(t,u,C);if(!isString$4(y)||y==="")return new Intl.NumberFormat(C,_).format(A);let I={},E,F=null;const O="number format";for(let P=0;P{NUMBER_FORMAT_OPTIONS_KEYS.includes(y)?g[y]=o[y]:d[y]=o[y]}),isString$4(a)?d.locale=a:isPlainObject$2(a)&&(g=a),isPlainObject$2(u)&&(g=u),[d.key||"",v,d,g]}function clearNumberFormat(t,r,o){const a=t;for(const u in o){const d=`${r}__${u}`;!a.__numberFormatters.has(d)||a.__numberFormatters.delete(d)}}initFeatureFlags$1();/*! * vue-i18n v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const VERSION$1="9.14.0";function initFeatureFlags(){typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis$1().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis$1().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const code$1=CoreWarnCodes.__EXTEND_POINT__,inc$1=incrementer$1(code$1);inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1();const code$2=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer$1(code$2),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code$2,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(t,...r){return createCompileError(t,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(t){if(!isObject$m(t))return t;for(const r in t)if(!!hasOwn$b(t,r))if(!r.includes("."))isObject$m(t[r])&&handleFlatJson(t[r]);else{const o=r.split("."),a=o.length-1;let u=t,d=!1;for(let g=0;g{if("locale"in v&&"resource"in v){const{locale:y,resource:A}=v;y?(g[y]=g[y]||{},deepCopy(A,g[y])):deepCopy(A,g)}else isString$5(v)&&deepCopy(JSON.parse(v),g)}),u==null&&d)for(const v in g)hasOwn$b(g,v)&&handleFlatJson(g[v]);return g}function getComponentOptions(t){return t.type}function adjustI18nResources(t,r,o){let a=isObject$m(r.messages)?r.messages:{};"__i18nGlobal"in o&&(a=getLocaleMessages(t.locale.value,{messages:a,__i18n:o.__i18nGlobal}));const u=Object.keys(a);u.length&&u.forEach(d=>{t.mergeLocaleMessage(d,a[d])});{if(isObject$m(r.datetimeFormats)){const d=Object.keys(r.datetimeFormats);d.length&&d.forEach(g=>{t.mergeDateTimeFormat(g,r.datetimeFormats[g])})}if(isObject$m(r.numberFormats)){const d=Object.keys(r.numberFormats);d.length&&d.forEach(g=>{t.mergeNumberFormat(g,r.numberFormats[g])})}}}function createTextNode$1(t){return createVNode$1(Text,null,t,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(t){return(r,o,a,u)=>t(o,a,getCurrentInstance()||void 0,u)}const getMetaInfo=()=>{const t=getCurrentInstance();let r=null;return t&&(r=getComponentOptions(t)[DEVTOOLS_META])?{[DEVTOOLS_META]:r}:null};function createComposer(t={},r){const{__root:o,__injectWithOption:a}=t,u=o===void 0,d=t.flatJson,g=inBrowser?ref:shallowRef,v=!!t.translateExistCompatible;let y=isBoolean$2(t.inheritLocale)?t.inheritLocale:!0;const A=g(o&&y?o.locale.value:isString$5(t.locale)?t.locale:DEFAULT_LOCALE$1),b=g(o&&y?o.fallbackLocale.value:isString$5(t.fallbackLocale)||isArray$f(t.fallbackLocale)||isPlainObject$3(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:A.value),_=g(getLocaleMessages(A.value,t)),w=g(isPlainObject$3(t.datetimeFormats)?t.datetimeFormats:{[A.value]:{}}),S=g(isPlainObject$3(t.numberFormats)?t.numberFormats:{[A.value]:{}});let C=o?o.missingWarn:isBoolean$2(t.missingWarn)||isRegExp$3(t.missingWarn)?t.missingWarn:!0,T=o?o.fallbackWarn:isBoolean$2(t.fallbackWarn)||isRegExp$3(t.fallbackWarn)?t.fallbackWarn:!0,I=o?o.fallbackRoot:isBoolean$2(t.fallbackRoot)?t.fallbackRoot:!0,E=!!t.fallbackFormat,F=isFunction$6(t.missing)?t.missing:null,O=isFunction$6(t.missing)?defineCoreMissingHandler(t.missing):null,D=isFunction$6(t.postTranslation)?t.postTranslation:null,x=o?o.warnHtmlMessage:isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,P=!!t.escapeParameter;const G=o?o.modifiers:isPlainObject$3(t.modifiers)?t.modifiers:{};let M=t.pluralRules||o&&o.pluralRules,N;N=(()=>{u&&setFallbackContext(null);const Pe={version:VERSION$1,locale:A.value,fallbackLocale:b.value,messages:_.value,modifiers:G,pluralRules:M,missing:O===null?void 0:O,missingWarn:C,fallbackWarn:T,fallbackFormat:E,unresolving:!0,postTranslation:D===null?void 0:D,warnHtmlMessage:x,escapeParameter:P,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};Pe.datetimeFormats=w.value,Pe.numberFormats=S.value,Pe.__datetimeFormatters=isPlainObject$3(N)?N.__datetimeFormatters:void 0,Pe.__numberFormatters=isPlainObject$3(N)?N.__numberFormatters:void 0;const Be=createCoreContext(Pe);return u&&setFallbackContext(Be),Be})(),updateFallbackLocale(N,A.value,b.value);function Y(){return[A.value,b.value,_.value,w.value,S.value]}const H=computed({get:()=>A.value,set:Pe=>{A.value=Pe,N.locale=A.value}}),B=computed({get:()=>b.value,set:Pe=>{b.value=Pe,N.fallbackLocale=b.value,updateFallbackLocale(N,A.value,Pe)}}),z=computed(()=>_.value),U=computed(()=>w.value),Q=computed(()=>S.value);function X(){return isFunction$6(D)?D:null}function J(Pe){D=Pe,N.postTranslation=Pe}function ne(){return F}function te(Pe){Pe!==null&&(O=defineCoreMissingHandler(Pe)),F=Pe,N.missing=O}const ce=(Pe,Be,ot,ct,_t,He)=>{Y();let Ve;try{u||(N.fallbackContext=o?getFallbackContext():void 0),Ve=Pe(N)}finally{u||(N.fallbackContext=void 0)}if(ot!=="translate exists"&&isNumber$4(Ve)&&Ve===NOT_REOSLVED||ot==="translate exists"&&!Ve){const[ke,Qe]=Be();return o&&I?ct(o):_t(ke)}else{if(He(Ve))return Ve;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function se(...Pe){return ce(Be=>Reflect.apply(translate$1,null,[Be,...Pe]),()=>parseTranslateArgs(...Pe),"translate",Be=>Reflect.apply(Be.t,Be,[...Pe]),Be=>Be,Be=>isString$5(Be))}function ge(...Pe){const[Be,ot,ct]=Pe;if(ct&&!isObject$m(ct))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return se(Be,ot,assign$2({resolvedMessage:!0},ct||{}))}function he(...Pe){return ce(Be=>Reflect.apply(datetime,null,[Be,...Pe]),()=>parseDateTimeArgs(...Pe),"datetime format",Be=>Reflect.apply(Be.d,Be,[...Pe]),()=>MISSING_RESOLVE_VALUE,Be=>isString$5(Be))}function ye(...Pe){return ce(Be=>Reflect.apply(number,null,[Be,...Pe]),()=>parseNumberArgs(...Pe),"number format",Be=>Reflect.apply(Be.n,Be,[...Pe]),()=>MISSING_RESOLVE_VALUE,Be=>isString$5(Be))}function ee(Pe){return Pe.map(Be=>isString$5(Be)||isNumber$4(Be)||isBoolean$2(Be)?createTextNode$1(String(Be)):Be)}const ae={normalize:ee,interpolate:Pe=>Pe,type:"vnode"};function ve(...Pe){return ce(Be=>{let ot;const ct=Be;try{ct.processor=ae,ot=Reflect.apply(translate$1,null,[ct,...Pe])}finally{ct.processor=null}return ot},()=>parseTranslateArgs(...Pe),"translate",Be=>Be[TranslateVNodeSymbol](...Pe),Be=>[createTextNode$1(Be)],Be=>isArray$f(Be))}function we(...Pe){return ce(Be=>Reflect.apply(number,null,[Be,...Pe]),()=>parseNumberArgs(...Pe),"number format",Be=>Be[NumberPartsSymbol](...Pe),NOOP_RETURN_ARRAY,Be=>isString$5(Be)||isArray$f(Be))}function _e(...Pe){return ce(Be=>Reflect.apply(datetime,null,[Be,...Pe]),()=>parseDateTimeArgs(...Pe),"datetime format",Be=>Be[DatetimePartsSymbol](...Pe),NOOP_RETURN_ARRAY,Be=>isString$5(Be)||isArray$f(Be))}function Te(Pe){M=Pe,N.pluralRules=M}function Ce(Pe,Be){return ce(()=>{if(!Pe)return!1;const ot=isString$5(Be)?Be:A.value,ct=le(ot),_t=N.messageResolver(ct,Pe);return v?_t!=null:isMessageAST(_t)||isMessageFunction(_t)||isString$5(_t)},()=>[Pe],"translate exists",ot=>Reflect.apply(ot.te,ot,[Pe,Be]),NOOP_RETURN_FALSE,ot=>isBoolean$2(ot))}function Ae(Pe){let Be=null;const ot=fallbackWithLocaleChain(N,b.value,A.value);for(let ct=0;ct{y&&(A.value=Pe,N.locale=Pe,updateFallbackLocale(N,A.value,b.value))}),watch(o.fallbackLocale,Pe=>{y&&(b.value=Pe,N.fallbackLocale=Pe,updateFallbackLocale(N,A.value,b.value))}));const De={id:composerID,locale:H,fallbackLocale:B,get inheritLocale(){return y},set inheritLocale(Pe){y=Pe,Pe&&o&&(A.value=o.locale.value,b.value=o.fallbackLocale.value,updateFallbackLocale(N,A.value,b.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:z,get modifiers(){return G},get pluralRules(){return M||{}},get isGlobal(){return u},get missingWarn(){return C},set missingWarn(Pe){C=Pe,N.missingWarn=C},get fallbackWarn(){return T},set fallbackWarn(Pe){T=Pe,N.fallbackWarn=T},get fallbackRoot(){return I},set fallbackRoot(Pe){I=Pe},get fallbackFormat(){return E},set fallbackFormat(Pe){E=Pe,N.fallbackFormat=E},get warnHtmlMessage(){return x},set warnHtmlMessage(Pe){x=Pe,N.warnHtmlMessage=Pe},get escapeParameter(){return P},set escapeParameter(Pe){P=Pe,N.escapeParameter=Pe},t:se,getLocaleMessage:le,setLocaleMessage:re,mergeLocaleMessage:ue,getPostTranslationHandler:X,setPostTranslationHandler:J,getMissingHandler:ne,setMissingHandler:te,[SetPluralRulesSymbol]:Te};return De.datetimeFormats=U,De.numberFormats=Q,De.rt=ge,De.te=Ce,De.tm=Ee,De.d=he,De.n=ye,De.getDateTimeFormat=be,De.setDateTimeFormat=ie,De.mergeDateTimeFormat=oe,De.getNumberFormat=me,De.setNumberFormat=Se,De.mergeNumberFormat=xe,De[InejctWithOptionSymbol]=a,De[TranslateVNodeSymbol]=ve,De[DatetimePartsSymbol]=_e,De[NumberPartsSymbol]=we,De}function convertComposerOptions(t){const r=isString$5(t.locale)?t.locale:DEFAULT_LOCALE$1,o=isString$5(t.fallbackLocale)||isArray$f(t.fallbackLocale)||isPlainObject$3(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,a=isFunction$6(t.missing)?t.missing:void 0,u=isBoolean$2(t.silentTranslationWarn)||isRegExp$3(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,d=isBoolean$2(t.silentFallbackWarn)||isRegExp$3(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,g=isBoolean$2(t.fallbackRoot)?t.fallbackRoot:!0,v=!!t.formatFallbackMessages,y=isPlainObject$3(t.modifiers)?t.modifiers:{},A=t.pluralizationRules,b=isFunction$6(t.postTranslation)?t.postTranslation:void 0,_=isString$5(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,w=!!t.escapeParameterHtml,S=isBoolean$2(t.sync)?t.sync:!0;let C=t.messages;if(isPlainObject$3(t.sharedMessages)){const P=t.sharedMessages;C=Object.keys(P).reduce((M,N)=>{const V=M[N]||(M[N]={});return assign$2(V,P[N]),M},C||{})}const{__i18n:T,__root:I,__injectWithOption:E}=t,F=t.datetimeFormats,O=t.numberFormats,D=t.flatJson,x=t.translateExistCompatible;return{locale:r,fallbackLocale:o,messages:C,flatJson:D,datetimeFormats:F,numberFormats:O,missing:a,missingWarn:u,fallbackWarn:d,fallbackRoot:g,fallbackFormat:v,modifiers:y,pluralRules:A,postTranslation:b,warnHtmlMessage:_,escapeParameter:w,messageResolver:t.messageResolver,inheritLocale:S,translateExistCompatible:x,__i18n:T,__root:I,__injectWithOption:E}}function createVueI18n(t={},r){{const o=createComposer(convertComposerOptions(t)),{__extender:a}=t,u={id:o.id,get locale(){return o.locale.value},set locale(d){o.locale.value=d},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(d){o.fallbackLocale.value=d},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(d){},get missing(){return o.getMissingHandler()},set missing(d){o.setMissingHandler(d)},get silentTranslationWarn(){return isBoolean$2(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(d){o.missingWarn=isBoolean$2(d)?!d:d},get silentFallbackWarn(){return isBoolean$2(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(d){o.fallbackWarn=isBoolean$2(d)?!d:d},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(d){o.fallbackFormat=d},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(d){o.setPostTranslationHandler(d)},get sync(){return o.inheritLocale},set sync(d){o.inheritLocale=d},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(d){o.warnHtmlMessage=d!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(d){o.escapeParameter=d},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(d){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...d){const[g,v,y]=d,A={};let b=null,_=null;if(!isString$5(g))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const w=g;return isString$5(v)?A.locale=v:isArray$f(v)?b=v:isPlainObject$3(v)&&(_=v),isArray$f(y)?b=y:isPlainObject$3(y)&&(_=y),Reflect.apply(o.t,o,[w,b||_||{},A])},rt(...d){return Reflect.apply(o.rt,o,[...d])},tc(...d){const[g,v,y]=d,A={plural:1};let b=null,_=null;if(!isString$5(g))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const w=g;return isString$5(v)?A.locale=v:isNumber$4(v)?A.plural=v:isArray$f(v)?b=v:isPlainObject$3(v)&&(_=v),isString$5(y)?A.locale=y:isArray$f(y)?b=y:isPlainObject$3(y)&&(_=y),Reflect.apply(o.t,o,[w,b||_||{},A])},te(d,g){return o.te(d,g)},tm(d){return o.tm(d)},getLocaleMessage(d){return o.getLocaleMessage(d)},setLocaleMessage(d,g){o.setLocaleMessage(d,g)},mergeLocaleMessage(d,g){o.mergeLocaleMessage(d,g)},d(...d){return Reflect.apply(o.d,o,[...d])},getDateTimeFormat(d){return o.getDateTimeFormat(d)},setDateTimeFormat(d,g){o.setDateTimeFormat(d,g)},mergeDateTimeFormat(d,g){o.mergeDateTimeFormat(d,g)},n(...d){return Reflect.apply(o.n,o,[...d])},getNumberFormat(d){return o.getNumberFormat(d)},setNumberFormat(d,g){o.setNumberFormat(d,g)},mergeNumberFormat(d,g){o.mergeNumberFormat(d,g)},getChoiceIndex(d,g){return-1}};return u.__extender=a,u}}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:t},r){return r.length===1&&r[0]==="default"?(t.default?t.default():[]).reduce((a,u)=>[...a,...u.type===Fragment?u.children:[u]],[]):r.reduce((o,a)=>{const u=t[a];return u&&(o[a]=u()),o},{})}function getFragmentableTag(t){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign$2({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>isNumber$4(t)||!isNaN(t)}},baseFormatProps),setup(t,r){const{slots:o,attrs:a}=r,u=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return()=>{const d=Object.keys(o).filter(_=>_!=="_"),g={};t.locale&&(g.locale=t.locale),t.plural!==void 0&&(g.plural=isString$5(t.plural)?+t.plural:t.plural);const v=getInterpolateArg(r,d),y=u[TranslateVNodeSymbol](t.keypath,v,g),A=assign$2({},a),b=isString$5(t.tag)||isObject$m(t.tag)?t.tag:getFragmentableTag();return h(b,A,y)}}}),Translation=TranslationImpl;function isVNode(t){return isArray$f(t)&&!isString$5(t[0])}function renderFormatter(t,r,o,a){const{slots:u,attrs:d}=r;return()=>{const g={part:!0};let v={};t.locale&&(g.locale=t.locale),isString$5(t.format)?g.key=t.format:isObject$m(t.format)&&(isString$5(t.format.key)&&(g.key=t.format.key),v=Object.keys(t.format).reduce((w,S)=>o.includes(S)?assign$2({},w,{[S]:t.format[S]}):w,{}));const y=a(t.value,g,v);let A=[g.key];isArray$f(y)?A=y.map((w,S)=>{const C=u[w.type],T=C?C({[w.type]:w.value,index:S,parts:y}):[w.value];return isVNode(T)&&(T[0].key=`${w.type}-${S}`),T}):isString$5(y)&&(A=[y]);const b=assign$2({},d),_=isString$5(t.tag)||isObject$m(t.tag)?t.tag:getFragmentableTag();return h(_,b,A)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign$2({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const o=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return renderFormatter(t,r,NUMBER_FORMAT_OPTIONS_KEYS,(...a)=>o[NumberPartsSymbol](...a))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign$2({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const o=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return renderFormatter(t,r,DATETIME_FORMAT_OPTIONS_KEYS,(...a)=>o[DatetimePartsSymbol](...a))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$2(t,r){const o=t;if(t.mode==="composition")return o.__getInstance(r)||t.global;{const a=o.__getInstance(r);return a!=null?a.__composer:t.global.__composer}}function vTDirective(t){const r=g=>{const{instance:v,modifiers:y,value:A}=g;if(!v||!v.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const b=getComposer$2(t,v.$),_=parseValue$1(A);return[Reflect.apply(b.t,b,[...makeParams(_)]),b]};return{created:(g,v)=>{const[y,A]=r(v);inBrowser&&t.global===A&&(g.__i18nWatcher=watch(A.locale,()=>{v.instance&&v.instance.$forceUpdate()})),g.__composer=A,g.textContent=y},unmounted:g=>{inBrowser&&g.__i18nWatcher&&(g.__i18nWatcher(),g.__i18nWatcher=void 0,delete g.__i18nWatcher),g.__composer&&(g.__composer=void 0,delete g.__composer)},beforeUpdate:(g,{value:v})=>{if(g.__composer){const y=g.__composer,A=parseValue$1(v);g.textContent=Reflect.apply(y.t,y,[...makeParams(A)])}},getSSRProps:g=>{const[v]=r(g);return{textContent:v}}}}function parseValue$1(t){if(isString$5(t))return{path:t};if(isPlainObject$3(t)){if(!("path"in t))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return t}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(t){const{path:r,locale:o,args:a,choice:u,plural:d}=t,g={},v=a||{};return isString$5(o)&&(g.locale=o),isNumber$4(u)&&(g.plural=u),isNumber$4(d)&&(g.plural=d),[r,v,g]}function apply$5(t,r,...o){const a=isPlainObject$3(o[0])?o[0]:{},u=!!a.useI18nComponentName;(isBoolean$2(a.globalInstall)?a.globalInstall:!0)&&([u?"i18n":Translation.name,"I18nT"].forEach(g=>t.component(g,Translation)),[NumberFormat.name,"I18nN"].forEach(g=>t.component(g,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(g=>t.component(g,DatetimeFormat))),t.directive("t",vTDirective(r))}function defineMixin(t,r,o){return{beforeCreate(){const a=getCurrentInstance();if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=this.$options;if(u.i18n){const d=u.i18n;if(u.__i18n&&(d.__i18n=u.__i18n),d.__root=r,this===this.$root)this.$i18n=mergeToGlobal(t,d);else{d.__injectWithOption=!0,d.__extender=o.__vueI18nExtend,this.$i18n=createVueI18n(d);const g=this.$i18n;g.__extender&&(g.__disposer=g.__extender(this.$i18n))}}else if(u.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(t,u);else{this.$i18n=createVueI18n({__i18n:u.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:r});const d=this.$i18n;d.__extender&&(d.__disposer=d.__extender(this.$i18n))}else this.$i18n=t;u.__i18nGlobal&&adjustI18nResources(r,u,u),this.$t=(...d)=>this.$i18n.t(...d),this.$rt=(...d)=>this.$i18n.rt(...d),this.$tc=(...d)=>this.$i18n.tc(...d),this.$te=(d,g)=>this.$i18n.te(d,g),this.$d=(...d)=>this.$i18n.d(...d),this.$n=(...d)=>this.$i18n.n(...d),this.$tm=d=>this.$i18n.tm(d),o.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const a=getCurrentInstance();if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,u.__disposer&&(u.__disposer(),delete u.__disposer,delete u.__extender),o.__deleteInstance(a),delete this.$i18n}}}function mergeToGlobal(t,r){t.locale=r.locale||t.locale,t.fallbackLocale=r.fallbackLocale||t.fallbackLocale,t.missing=r.missing||t.missing,t.silentTranslationWarn=r.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=r.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=r.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=r.postTranslation||t.postTranslation,t.warnHtmlInMessage=r.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=r.escapeParameterHtml||t.escapeParameterHtml,t.sync=r.sync||t.sync,t.__composer[SetPluralRulesSymbol](r.pluralizationRules||t.pluralizationRules);const o=getLocaleMessages(t.locale,{messages:r.messages,__i18n:r.__i18n});return Object.keys(o).forEach(a=>t.mergeLocaleMessage(a,o[a])),r.datetimeFormats&&Object.keys(r.datetimeFormats).forEach(a=>t.mergeDateTimeFormat(a,r.datetimeFormats[a])),r.numberFormats&&Object.keys(r.numberFormats).forEach(a=>t.mergeNumberFormat(a,r.numberFormats[a])),t}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(t={},r){const o=isBoolean$2(t.legacy)?t.legacy:!0,a=isBoolean$2(t.globalInjection)?t.globalInjection:!0,u=o?!!t.allowComposition:!0,d=new Map,[g,v]=createGlobal(t,o),y=makeSymbol("");function A(w){return d.get(w)||null}function b(w,S){d.set(w,S)}function _(w){d.delete(w)}{const w={get mode(){return o?"legacy":"composition"},get allowComposition(){return u},async install(S,...C){if(S.__VUE_I18N_SYMBOL__=y,S.provide(S.__VUE_I18N_SYMBOL__,w),isPlainObject$3(C[0])){const E=C[0];w.__composerExtend=E.__composerExtend,w.__vueI18nExtend=E.__vueI18nExtend}let T=null;!o&&a&&(T=injectGlobalFields(S,w.global)),apply$5(S,w,...C),o&&S.mixin(defineMixin(v,v.__composer,w));const I=S.unmount;S.unmount=()=>{T&&T(),w.dispose(),I()}},get global(){return v},dispose(){g.stop()},__instances:d,__getInstance:A,__setInstance:b,__deleteInstance:_};return w}}function useI18n(t={}){const r=getCurrentInstance();if(r==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!r.isCE&&r.appContext.app!=null&&!r.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const o=getI18nInstance(r),a=getGlobalComposer(o),u=getComponentOptions(r),d=getScope(t,u);if(o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);return useI18nForLegacy(r,d,a,t)}if(d==="global")return adjustI18nResources(a,t,u),a;if(d==="parent"){let y=getComposer(o,r,t.__useComponent);return y==null&&(y=a),y}const g=o;let v=g.__getInstance(r);if(v==null){const y=assign$2({},t);"__i18n"in u&&(y.__i18n=u.__i18n),a&&(y.__root=a),v=createComposer(y),g.__composerExtend&&(v[DisposeSymbol]=g.__composerExtend(v)),setupLifeCycle(g,r,v),g.__setInstance(r,v)}return v}function createGlobal(t,r,o){const a=effectScope();{const u=r?a.run(()=>createVueI18n(t)):a.run(()=>createComposer(t));if(u==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[a,u]}}function getI18nInstance(t){{const r=inject(t.isCE?I18nInjectionKey:t.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw createI18nError(t.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return r}}function getScope(t,r){return isEmptyObject$1(t)?"__i18n"in r?"local":"global":t.useScope?t.useScope:"local"}function getGlobalComposer(t){return t.mode==="composition"?t.global:t.global.__composer}function getComposer(t,r,o=!1){let a=null;const u=r.root;let d=getParentComponentInstance(r,o);for(;d!=null;){const g=t;if(t.mode==="composition")a=g.__getInstance(d);else{const v=g.__getInstance(d);v!=null&&(a=v.__composer,o&&a&&!a[InejctWithOptionSymbol]&&(a=null))}if(a!=null||u===d)break;d=d.parent}return a}function getParentComponentInstance(t,r=!1){return t==null?null:r&&t.vnode.ctx||t.parent}function setupLifeCycle(t,r,o){onMounted(()=>{},r),onUnmounted(()=>{const a=o;t.__deleteInstance(r);const u=a[DisposeSymbol];u&&(u(),delete a[DisposeSymbol])},r)}function useI18nForLegacy(t,r,o,a={}){const u=r==="local",d=shallowRef(null);if(u&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw createI18nError(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const g=isBoolean$2(a.inheritLocale)?a.inheritLocale:!isString$5(a.locale),v=ref(!u||g?o.locale.value:isString$5(a.locale)?a.locale:DEFAULT_LOCALE$1),y=ref(!u||g?o.fallbackLocale.value:isString$5(a.fallbackLocale)||isArray$f(a.fallbackLocale)||isPlainObject$3(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:v.value),A=ref(getLocaleMessages(v.value,a)),b=ref(isPlainObject$3(a.datetimeFormats)?a.datetimeFormats:{[v.value]:{}}),_=ref(isPlainObject$3(a.numberFormats)?a.numberFormats:{[v.value]:{}}),w=u?o.missingWarn:isBoolean$2(a.missingWarn)||isRegExp$3(a.missingWarn)?a.missingWarn:!0,S=u?o.fallbackWarn:isBoolean$2(a.fallbackWarn)||isRegExp$3(a.fallbackWarn)?a.fallbackWarn:!0,C=u?o.fallbackRoot:isBoolean$2(a.fallbackRoot)?a.fallbackRoot:!0,T=!!a.fallbackFormat,I=isFunction$6(a.missing)?a.missing:null,E=isFunction$6(a.postTranslation)?a.postTranslation:null,F=u?o.warnHtmlMessage:isBoolean$2(a.warnHtmlMessage)?a.warnHtmlMessage:!0,O=!!a.escapeParameter,D=u?o.modifiers:isPlainObject$3(a.modifiers)?a.modifiers:{},x=a.pluralRules||u&&o.pluralRules;function P(){return[v.value,y.value,A.value,b.value,_.value]}const G=computed({get:()=>d.value?d.value.locale.value:v.value,set:Ae=>{d.value&&(d.value.locale.value=Ae),v.value=Ae}}),M=computed({get:()=>d.value?d.value.fallbackLocale.value:y.value,set:Ae=>{d.value&&(d.value.fallbackLocale.value=Ae),y.value=Ae}}),N=computed(()=>d.value?d.value.messages.value:A.value),V=computed(()=>b.value),Y=computed(()=>_.value);function H(){return d.value?d.value.getPostTranslationHandler():E}function B(Ae){d.value&&d.value.setPostTranslationHandler(Ae)}function z(){return d.value?d.value.getMissingHandler():I}function U(Ae){d.value&&d.value.setMissingHandler(Ae)}function Q(Ae){return P(),Ae()}function X(...Ae){return d.value?Q(()=>Reflect.apply(d.value.t,null,[...Ae])):Q(()=>"")}function J(...Ae){return d.value?Reflect.apply(d.value.rt,null,[...Ae]):""}function ne(...Ae){return d.value?Q(()=>Reflect.apply(d.value.d,null,[...Ae])):Q(()=>"")}function te(...Ae){return d.value?Q(()=>Reflect.apply(d.value.n,null,[...Ae])):Q(()=>"")}function ce(Ae){return d.value?d.value.tm(Ae):{}}function se(Ae,Ee){return d.value?d.value.te(Ae,Ee):!1}function ge(Ae){return d.value?d.value.getLocaleMessage(Ae):{}}function he(Ae,Ee){d.value&&(d.value.setLocaleMessage(Ae,Ee),A.value[Ae]=Ee)}function ye(Ae,Ee){d.value&&d.value.mergeLocaleMessage(Ae,Ee)}function ee(Ae){return d.value?d.value.getDateTimeFormat(Ae):{}}function pe(Ae,Ee){d.value&&(d.value.setDateTimeFormat(Ae,Ee),b.value[Ae]=Ee)}function ae(Ae,Ee){d.value&&d.value.mergeDateTimeFormat(Ae,Ee)}function ve(Ae){return d.value?d.value.getNumberFormat(Ae):{}}function we(Ae,Ee){d.value&&(d.value.setNumberFormat(Ae,Ee),_.value[Ae]=Ee)}function _e(Ae,Ee){d.value&&d.value.mergeNumberFormat(Ae,Ee)}const Te={get id(){return d.value?d.value.id:-1},locale:G,fallbackLocale:M,messages:N,datetimeFormats:V,numberFormats:Y,get inheritLocale(){return d.value?d.value.inheritLocale:g},set inheritLocale(Ae){d.value&&(d.value.inheritLocale=Ae)},get availableLocales(){return d.value?d.value.availableLocales:Object.keys(A.value)},get modifiers(){return d.value?d.value.modifiers:D},get pluralRules(){return d.value?d.value.pluralRules:x},get isGlobal(){return d.value?d.value.isGlobal:!1},get missingWarn(){return d.value?d.value.missingWarn:w},set missingWarn(Ae){d.value&&(d.value.missingWarn=Ae)},get fallbackWarn(){return d.value?d.value.fallbackWarn:S},set fallbackWarn(Ae){d.value&&(d.value.missingWarn=Ae)},get fallbackRoot(){return d.value?d.value.fallbackRoot:C},set fallbackRoot(Ae){d.value&&(d.value.fallbackRoot=Ae)},get fallbackFormat(){return d.value?d.value.fallbackFormat:T},set fallbackFormat(Ae){d.value&&(d.value.fallbackFormat=Ae)},get warnHtmlMessage(){return d.value?d.value.warnHtmlMessage:F},set warnHtmlMessage(Ae){d.value&&(d.value.warnHtmlMessage=Ae)},get escapeParameter(){return d.value?d.value.escapeParameter:O},set escapeParameter(Ae){d.value&&(d.value.escapeParameter=Ae)},t:X,getPostTranslationHandler:H,setPostTranslationHandler:B,getMissingHandler:z,setMissingHandler:U,rt:J,d:ne,n:te,tm:ce,te:se,getLocaleMessage:ge,setLocaleMessage:he,mergeLocaleMessage:ye,getDateTimeFormat:ee,setDateTimeFormat:pe,mergeDateTimeFormat:ae,getNumberFormat:ve,setNumberFormat:we,mergeNumberFormat:_e};function Ce(Ae){Ae.locale.value=v.value,Ae.fallbackLocale.value=y.value,Object.keys(A.value).forEach(Ee=>{Ae.mergeLocaleMessage(Ee,A.value[Ee])}),Object.keys(b.value).forEach(Ee=>{Ae.mergeDateTimeFormat(Ee,b.value[Ee])}),Object.keys(_.value).forEach(Ee=>{Ae.mergeNumberFormat(Ee,_.value[Ee])}),Ae.escapeParameter=O,Ae.fallbackFormat=T,Ae.fallbackRoot=C,Ae.fallbackWarn=S,Ae.missingWarn=w,Ae.warnHtmlMessage=F}return onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const Ae=d.value=t.proxy.$i18n.__composer;r==="global"?(v.value=Ae.locale.value,y.value=Ae.fallbackLocale.value,A.value=Ae.messages.value,b.value=Ae.datetimeFormats.value,_.value=Ae.numberFormats.value):u&&Ce(Ae)}),Te}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(t,r){const o=Object.create(null);return globalExportProps.forEach(u=>{const d=Object.getOwnPropertyDescriptor(r,u);if(!d)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const g=isRef(d.value)?{get(){return d.value.value},set(v){d.value.value=v}}:{get(){return d.get&&d.get()}};Object.defineProperty(o,u,g)}),t.config.globalProperties.$i18n=o,globalExportMethods.forEach(u=>{const d=Object.getOwnPropertyDescriptor(r,u);if(!d||!d.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${u}`,d)}),()=>{delete t.config.globalProperties.$i18n,globalExportMethods.forEach(u=>{delete t.config.globalProperties[`$${u}`]})}}initFeatureFlags();__INTLIFY_JIT_COMPILATION__?registerMessageCompiler(compile):registerMessageCompiler(compileToFunction);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);var quasarLangDe={isoName:"de",nativeName:"Deutsch",label:{clear:"Leeren",ok:"Ok",cancel:"Abbrechen",close:"Schlie\xDFen",set:"Setzen",select:"Ausw\xE4hlen",reset:"Zur\xFCcksetzen",remove:"L\xF6schen",update:"Aktualisieren",create:"Erstellen",search:"Suche",filter:"Filter",refresh:"Aktualisieren",expand:t=>t?`Erweitern Sie "${t}"`:"Erweitern",collapse:t=>t?`"${t}" minimieren`:"Zusammenbruch"},date:{days:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),daysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan_Feb_M\xE4rz_Apr_Mai_Jun_Jul_Aug_Sep_Okt_Nov_Dez".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"Tage"},table:{noData:"Keine Daten vorhanden.",noResults:"Keine Eintr\xE4ge gefunden",loading:"Lade...",selectedRecords:t=>t>1?t+" ausgew\xE4hlte Zeilen":(t===0?"Keine":"1")+" ausgew\xE4hlt.",recordsPerPage:"Zeilen pro Seite",allRows:"Alle",pagination:(t,r,o)=>t+"-"+r+" von "+o,columns:"Spalten"},editor:{url:"URL",bold:"Fett",italic:"Kursiv",strikethrough:"Durchgestrichen",underline:"Unterstrichen",unorderedList:"Ungeordnete Liste",orderedList:"Geordnete Liste",subscript:"tiefgestellt",superscript:"hochgestellt",hyperlink:"Link",toggleFullscreen:"Vollbild umschalten",quote:"Zitat",left:"linksb\xFCndig",center:"zentriert",right:"rechtsb\xFCndig",justify:"Ausrichten",print:"Drucken",outdent:"ausr\xFCcken",indent:"einr\xFCcken",removeFormat:"Entferne Formatierung",formatting:"Formatiere",fontSize:"Schriftgr\xF6\xDFe",align:"Ausrichten",hr:"Horizontale Linie einf\xFCgen",undo:"R\xFCckg\xE4nging",redo:"Wiederherstellen",heading1:"\xDCberschrift 1",heading2:"\xDCberschrift 2",heading3:"\xDCberschrift 3",heading4:"\xDCberschrift 4",heading5:"\xDCberschrift 5",heading6:"\xDCberschrift 6",paragraph:"Absatz",code:"Code",size1:"Sehr klein",size2:"klein",size3:"Normal",size4:"Gro\xDF",size5:"Gr\xF6\xDFer",size6:"Sehr gro\xDF",size7:"Maximum",defaultFont:"Standard Schrift",viewSource:"Quelltext anzeigen"},tree:{noNodes:"Keine Knoten verf\xFCgbar",noResults:"Keine passenden Knoten gefunden"}};function plurals(t,r){return r[t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2]}var quasarLangRu={isoName:"ru",nativeName:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439",label:{clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",ok:"OK",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",reset:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",update:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",create:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C",search:"\u041F\u043E\u0438\u0441\u043A",filter:"\u0424\u0438\u043B\u044C\u0442\u0440",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",expand:t=>t?`\u0420\u0430\u0441\u0448\u0438\u0440\u044C\u0442\u0435 "${t}"`:"\u0420\u0430\u0441\u0448\u0438\u0440\u044F\u0442\u044C",collapse:t=>t?`\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C "${t}"`:"\u041A\u0440\u0430\u0445"},date:{days:"\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0412\u0442\u043E\u0440\u043D\u0438\u043A_\u0421\u0440\u0435\u0434\u0430_\u0427\u0435\u0442\u0432\u0435\u0440\u0433_\u041F\u044F\u0442\u043D\u0438\u0446\u0430_\u0421\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),daysShort:"\u0412\u0441_\u041F\u043D_\u0412\u0442_\u0421\u0440_\u0427\u0442_\u041F\u0442_\u0421\u0431".split("_"),months:"\u042F\u043D\u0432\u0430\u0440\u044C_\u0424\u0435\u0432\u0440\u0430\u043B\u044C_\u041C\u0430\u0440\u0442_\u0410\u043F\u0440\u0435\u043B\u044C_\u041C\u0430\u0439_\u0418\u044E\u043D\u044C_\u0418\u044E\u043B\u044C_\u0410\u0432\u0433\u0443\u0441\u0442_\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u041E\u043A\u0442\u044F\u0431\u0440\u044C_\u041D\u043E\u044F\u0431\u0440\u044C_\u0414\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),monthsShort:"\u042F\u043D\u0432_\u0424\u0435\u0432_\u041C\u0430\u0440_\u0410\u043F\u0440_\u041C\u0430\u0439_\u0418\u044E\u043D_\u0418\u044E\u043B_\u0410\u0432\u0433_\u0421\u0435\u043D_\u041E\u043A\u0442_\u041D\u043E\u044F_\u0414\u0435\u043A".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"\u0434\u043D\u0435\u0439"},table:{noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",noResults:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",selectedRecords:t=>t>0?t+" "+plurals(t,["\u0441\u0442\u0440\u043E\u043A\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u0430","\u0441\u0442\u0440\u043E\u043A\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u044B","\u0441\u0442\u0440\u043E\u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043E"])+".":"\u041D\u0438 \u043E\u0434\u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0430 \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430.",recordsPerPage:"\u0421\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435:",allRows:"\u0412\u0441\u0435",pagination:(t,r,o)=>t+"-"+r+" \u0438\u0437 "+o,columns:"\u041A\u043E\u043B\u043E\u043D\u043A\u0438"},editor:{url:"URL",bold:"\u041F\u043E\u043B\u0443\u0436\u0438\u0440\u043D\u044B\u0439",italic:"\u041A\u0443\u0440\u0441\u0438\u0432",strikethrough:"\u0417\u0430\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",underline:"\u041F\u043E\u0434\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",unorderedList:"\u041C\u0430\u0440\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",orderedList:"\u041D\u0443\u043C\u0435\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",subscript:"\u041F\u043E\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439",superscript:"\u041D\u0430\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439",hyperlink:"\u0413\u0438\u043F\u0435\u0440\u0441\u0441\u044B\u043B\u043A\u0430",toggleFullscreen:"\u041F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",quote:"\u0426\u0438\u0442\u0430\u0442\u0430",left:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",center:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u0446\u0435\u043D\u0442\u0440\u0443",right:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",justify:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435",print:"\u041F\u0435\u0447\u0430\u0442\u044C",outdent:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",indent:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",removeFormat:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",formatting:"\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",fontSize:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435",hr:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0438\u043D\u0438\u044E",undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",heading1:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 1",heading2:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 2",heading3:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 3",heading4:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 4",heading5:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 5",heading6:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 6",paragraph:"\u041F\u0430\u0440\u0430\u0433\u0440\u0430\u0444",code:"\u041A\u043E\u0434",size1:"\u041E\u0447\u0435\u043D\u044C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439",size2:"\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439",size3:"\u041D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u044B\u0439",size4:"\u0421\u0440\u0435\u0434\u043D\u0438\u0439",size5:"\u0411\u043E\u043B\u044C\u0448\u043E\u0439",size6:"\u041E\u0447\u0435\u043D\u044C \u0431\u043E\u043B\u044C\u0448\u043E\u0439",size7:"\u041E\u0433\u0440\u043E\u043C\u043D\u044B\u0439",defaultFont:"\u0428\u0440\u0438\u0444\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",viewSource:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u043A\u043E\u0434"},tree:{noNodes:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0443\u0437\u043B\u043E\u0432",noResults:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E"}};const formatDistanceLocale$2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},formatDistance$3=(t,r,o)=>{let a;const u=formatDistanceLocale$2[t];return typeof u=="string"?a=u:r===1?a=u.one:a=u.other.replace("{{count}}",r.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+a:a+" ago":a};function buildFormatLongFn(t){return(r={})=>{const o=r.width?String(r.width):t.defaultWidth;return t.formats[o]||t.formats[t.defaultWidth]}}const dateFormats$2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},timeFormats$2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats$2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong$2={date:buildFormatLongFn({formats:dateFormats$2,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$2,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$2,defaultWidth:"full"})},formatRelativeLocale$2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},formatRelative$3=(t,r,o,a)=>formatRelativeLocale$2[t];function buildLocalizeFn(t){return(r,o)=>{const a=o!=null&&o.context?String(o.context):"standalone";let u;if(a==="formatting"&&t.formattingValues){const g=t.defaultFormattingWidth||t.defaultWidth,v=o!=null&&o.width?String(o.width):g;u=t.formattingValues[v]||t.formattingValues[g]}else{const g=t.defaultWidth,v=o!=null&&o.width?String(o.width):t.defaultWidth;u=t.values[v]||t.values[g]}const d=t.argumentCallback?t.argumentCallback(r):r;return u[d]}}const eraValues$2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},quarterValues$2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},monthValues$2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dayValues$2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},formattingDayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ordinalNumber$2=(t,r)=>{const o=Number(t),a=o%100;if(a>20||a<10)switch(a%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},localize$2={ordinalNumber:ordinalNumber$2,era:buildLocalizeFn({values:eraValues$2,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues$2,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$2,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$2,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$2,defaultFormattingWidth:"wide"})};function buildMatchFn(t){return(r,o={})=>{const a=o.width,u=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],d=r.match(u);if(!d)return null;const g=d[0],v=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],y=Array.isArray(v)?findIndex(v,_=>_.test(g)):findKey(v,_=>_.test(g));let A;A=t.valueCallback?t.valueCallback(y):y,A=o.valueCallback?o.valueCallback(A):A;const b=r.slice(g.length);return{value:A,rest:b}}}function findKey(t,r){for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&r(t[o]))return o}function findIndex(t,r){for(let o=0;o{const a=r.match(t.matchPattern);if(!a)return null;const u=a[0],d=r.match(t.parsePattern);if(!d)return null;let g=t.valueCallback?t.valueCallback(d[0]):d[0];g=o.valueCallback?o.valueCallback(g):g;const v=r.slice(u.length);return{value:g,rest:v}}}const matchOrdinalNumberPattern$2=/^(\d+)(th|st|nd|rd)?/i,parseOrdinalNumberPattern$2=/\d+/i,matchEraPatterns$2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},parseEraPatterns$2={any:[/^b/i,/^(a|c)/i]},matchQuarterPatterns$2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},parseQuarterPatterns$2={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},parseMonthPatterns$2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns$2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},parseDayPatterns$2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},matchDayPeriodPatterns$2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},parseDayPeriodPatterns$2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},match$4={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$2,parsePattern:parseOrdinalNumberPattern$2,valueCallback:t=>parseInt(t,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$2,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$2,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$2,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$2,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$2,defaultParseWidth:"any"})},enUS={code:"en-US",formatDistance:formatDistance$3,formatLong:formatLong$2,formatRelative:formatRelative$3,localize:localize$2,match:match$4,options:{weekStartsOn:0,firstWeekContainsDate:1}};var dateLangEn=enUS;const formatDistanceLocale$1={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},formatDistance$2=(t,r,o)=>{let a;const u=o!=null&&o.addSuffix?formatDistanceLocale$1[t].withPreposition:formatDistanceLocale$1[t].standalone;return typeof u=="string"?a=u:r===1?a=u.one:a=u.other.replace("{{count}}",String(r)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+a:"vor "+a:a},dateFormats$1={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},timeFormats$1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dateTimeFormats$1={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},formatLong$1={date:buildFormatLongFn({formats:dateFormats$1,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$1,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$1,defaultWidth:"full"})},formatRelativeLocale$1={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},formatRelative$2=(t,r,o,a)=>formatRelativeLocale$1[t],eraValues$1={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},quarterValues$1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},monthValues$1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},formattingMonthValues$1={narrow:monthValues$1.narrow,abbreviated:["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:monthValues$1.wide},dayValues$1={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},dayPeriodValues$1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},formattingDayPeriodValues$1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},ordinalNumber$1=t=>Number(t)+".",localize$1={ordinalNumber:ordinalNumber$1,era:buildLocalizeFn({values:eraValues$1,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$1,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues$1,formattingValues:formattingMonthValues$1,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$1,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$1,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$1,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern$1=/^(\d+)(\.)?/i,parseOrdinalNumberPattern$1=/\d+/i,matchEraPatterns$1={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},parseEraPatterns$1={any:[/^v/i,/^n/i]},matchQuarterPatterns$1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},parseQuarterPatterns$1={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$1={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},parseMonthPatterns$1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns$1={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},parseDayPatterns$1={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},matchDayPeriodPatterns$1={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},parseDayPeriodPatterns$1={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},match$3={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$1,parsePattern:parseOrdinalNumberPattern$1,valueCallback:t=>parseInt(t)}),era:buildMatchFn({matchPatterns:matchEraPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$1,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$1,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$1,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$1,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPeriodPatterns$1,defaultParseWidth:"any"})},de={code:"de",formatDistance:formatDistance$2,formatLong:formatLong$1,formatRelative:formatRelative$2,localize:localize$1,match:match$3,options:{weekStartsOn:1,firstWeekContainsDate:4}};var dateLangDe=de;function declension(t,r){if(t.one!==void 0&&r===1)return t.one;const o=r%10,a=r%100;return o===1&&a!==11?t.singularNominative.replace("{{count}}",String(r)):o>=2&&o<=4&&(a<10||a>20)?t.singularGenitive.replace("{{count}}",String(r)):t.pluralGenitive.replace("{{count}}",String(r))}function buildLocalizeTokenFn(t){return(r,o)=>o!=null&&o.addSuffix?o.comparison&&o.comparison>0?t.future?declension(t.future,r):"\u0447\u0435\u0440\u0435\u0437 "+declension(t.regular,r):t.past?declension(t.past,r):declension(t.regular,r)+" \u043D\u0430\u0437\u0430\u0434":declension(t.regular,r)}const formatDistanceLocale={lessThanXSeconds:buildLocalizeTokenFn({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:(t,r)=>r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B",lessThanXMinutes:buildLocalizeTokenFn({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u043C\u0438\u043D\u0443\u0442\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),xMinutes:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442"},past:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),aboutXHours:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043E\u0432"}}),xHours:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043E\u0432"}}),xDays:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043D\u044F",pluralGenitive:"{{count}} \u0434\u043D\u0435\u0439"}}),aboutXWeeks:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044E",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),xWeeks:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044F",singularGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),aboutXMonths:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),xMonths:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),aboutXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),xYears:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0433\u043E\u0434",singularGenitive:"{{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"{{count}} \u043B\u0435\u0442"}}),overXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),almostXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}})},formatDistance$1=(t,r,o)=>formatDistanceLocale[t](r,o),dateFormats={full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},timeFormats={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},dateTimeFormats={any:"{{date}}, {{time}}"},formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"any"})};function toDate$2(t){const r=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&r==="[object Date]"?new t.constructor(+t):typeof t=="number"||r==="[object Number]"||typeof t=="string"||r==="[object String]"?new Date(t):new Date(NaN)}let defaultOptions$1={};function getDefaultOptions$2(){return defaultOptions$1}function startOfWeek$2(t,r){var v,y,A,b,_,w,S,C;const o=getDefaultOptions$2(),a=(C=(S=(b=(A=r==null?void 0:r.weekStartsOn)!=null?A:(y=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:y.weekStartsOn)!=null?b:o.weekStartsOn)!=null?S:(w=(_=o.locale)==null?void 0:_.options)==null?void 0:w.weekStartsOn)!=null?C:0,u=toDate$2(t),d=u.getDay(),g=(d{const a=t.getDay();return isSameWeek(t,r,o)?thisWeek(a):lastWeek(a)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:(t,r,o)=>{const a=t.getDay();return isSameWeek(t,r,o)?thisWeek(a):nextWeek(a)},other:"P"},formatRelative$1=(t,r,o,a)=>{const u=formatRelativeLocale[t];return typeof u=="function"?u(r,o,a):u},eraValues={narrow:["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],abbreviated:["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],wide:["\u0434\u043E \u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B","\u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B"]},quarterValues={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},monthValues={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]},formattingMonthValues={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]},dayValues={narrow:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043A","\u043F\u043D\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"]},dayPeriodValues={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043D\u043E\u0447\u044C"}},formattingDayPeriodValues={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043D\u043E\u0447\u0438"}},ordinalNumber=(t,r)=>{const o=Number(t),a=r==null?void 0:r.unit;let u;return a==="date"?u="-\u0435":a==="week"||a==="minute"||a==="second"?u="-\u044F":u="-\u0439",o+u},localize={ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide",formattingValues:formattingMonthValues,defaultFormattingWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"any",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parseOrdinalNumberPattern=/\d+/i,matchEraPatterns={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},parseEraPatterns={any:[/^д/i,/^н/i]},matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},parseMonthPatterns={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},matchDayPatterns={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},parseDayPatterns={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},matchDayPeriodPatterns={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},parseDayPeriodPatterns={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},match$2={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:t=>parseInt(t,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})},ru={code:"ru",formatDistance:formatDistance$1,formatLong,formatRelative:formatRelative$1,localize,match:match$2,options:{weekStartsOn:1,firstWeekContainsDate:1}};var dateLangRu=ru;const langPackQuasar={en:defaultLang,de:quasarLangDe,ru:quasarLangRu},langPackDate={en:dateLangEn,de:dateLangDe,ru:dateLangRu},locale=(navigator.language||navigator.userLanguage||"en-US").substr(0,2),i18n=createI18n({legacy:!1,globalInjection:!0,locale,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1});var i18n$1=({app:t})=>{t.use(i18n);const r={"../pages/i18n/de.js":__glob_8_0,"../pages/i18n/en.js":__glob_8_1,"../pages/i18n/ru.js":__glob_8_2,"../functions/_defaults/i18n/de.js":__glob_8_3,"../functions/_defaults/i18n/en.js":__glob_8_4,"../functions/_defaults/i18n/ru.js":__glob_8_5,"../functions/blind/i18n/de.js":__glob_8_6,"../functions/blind/i18n/en.js":__glob_8_7,"../functions/blind/i18n/ru.js":__glob_8_8,"../functions/door/i18n/de.js":__glob_8_9,"../functions/door/i18n/en.js":__glob_8_10,"../functions/door/i18n/ru.js":__glob_8_11,"../functions/fan/i18n/de.js":__glob_8_12,"../functions/fan/i18n/en.js":__glob_8_13,"../functions/fan/i18n/ru.js":__glob_8_14,"../functions/heating/i18n/de.js":__glob_8_15,"../functions/heating/i18n/en.js":__glob_8_16,"../functions/heating/i18n/ru.js":__glob_8_17,"../functions/household/i18n/de.js":__glob_8_18,"../functions/household/i18n/en.js":__glob_8_19,"../functions/household/i18n/ru.js":__glob_8_20,"../functions/light/i18n/de.js":__glob_8_21,"../functions/light/i18n/en.js":__glob_8_22,"../functions/light/i18n/ru.js":__glob_8_23,"../functions/location/i18n/de.js":__glob_8_24,"../functions/location/i18n/en.js":__glob_8_25,"../functions/location/i18n/ru.js":__glob_8_26,"../functions/motion/i18n/de.js":__glob_8_27,"../functions/motion/i18n/en.js":__glob_8_28,"../functions/motion/i18n/ru.js":__glob_8_29,"../functions/mower/i18n/de.js":__glob_8_30,"../functions/mower/i18n/en.js":__glob_8_31,"../functions/mower/i18n/ru.js":__glob_8_32,"../functions/scenes/i18n/de.js":__glob_8_33,"../functions/scenes/i18n/en.js":__glob_8_34,"../functions/scenes/i18n/ru.js":__glob_8_35,"../functions/sensor/i18n/de.js":__glob_8_36,"../functions/sensor/i18n/en.js":__glob_8_37,"../functions/sensor/i18n/ru.js":__glob_8_38,"../functions/server/i18n/de.js":__glob_8_39,"../functions/server/i18n/en.js":__glob_8_40,"../functions/server/i18n/ru.js":__glob_8_41,"../functions/smoke/i18n/de.js":__glob_8_42,"../functions/smoke/i18n/en.js":__glob_8_43,"../functions/smoke/i18n/ru.js":__glob_8_44,"../functions/socket/i18n/de.js":__glob_8_45,"../functions/socket/i18n/en.js":__glob_8_46,"../functions/socket/i18n/ru.js":__glob_8_47,"../functions/speaker/i18n/de.js":__glob_8_48,"../functions/speaker/i18n/en.js":__glob_8_49,"../functions/speaker/i18n/ru.js":__glob_8_50,"../functions/switch/i18n/de.js":__glob_8_51,"../functions/switch/i18n/en.js":__glob_8_52,"../functions/switch/i18n/ru.js":__glob_8_53,"../functions/tv/i18n/de.js":__glob_8_54,"../functions/tv/i18n/en.js":__glob_8_55,"../functions/tv/i18n/ru.js":__glob_8_56,"../functions/user/i18n/de.js":__glob_8_57,"../functions/user/i18n/en.js":__glob_8_58,"../functions/user/i18n/ru.js":__glob_8_59,"../functions/vacuum/i18n/de.js":__glob_8_60,"../functions/vacuum/i18n/en.js":__glob_8_61,"../functions/vacuum/i18n/ru.js":__glob_8_62,"../functions/weather-station/i18n/de.js":__glob_8_63,"../functions/weather-station/i18n/en.js":__glob_8_64,"../functions/weather-station/i18n/ru.js":__glob_8_65,"../functions/window/i18n/de.js":__glob_8_66,"../functions/window/i18n/en.js":__glob_8_67,"../functions/window/i18n/ru.js":__glob_8_68,"../functions/window-electrical/i18n/de.js":__glob_8_69,"../functions/window-electrical/i18n/en.js":__glob_8_70,"../functions/window-electrical/i18n/ru.js":__glob_8_71,"../modules/AdapterLogs/i18n/de.js":__glob_8_72,"../modules/AdapterLogs/i18n/en.js":__glob_8_73,"../modules/AdapterLogs/i18n/ru.js":__glob_8_74,"../modules/AdapterStatus/i18n/de.js":__glob_8_75,"../modules/AdapterStatus/i18n/en.js":__glob_8_76,"../modules/AdapterStatus/i18n/ru.js":__glob_8_77,"../modules/Calendar/i18n/de.js":__glob_8_78,"../modules/Calendar/i18n/en.js":__glob_8_79,"../modules/Calendar/i18n/ru.js":__glob_8_80,"../modules/Chart/i18n/de.js":__glob_8_81,"../modules/Chart/i18n/en.js":__glob_8_82,"../modules/Chart/i18n/ru.js":__glob_8_83,"../modules/DateTime/i18n/de.js":__glob_8_84,"../modules/DateTime/i18n/en.js":__glob_8_85,"../modules/DateTime/i18n/ru.js":__glob_8_86,"../modules/DisplayImage/i18n/de.js":__glob_8_87,"../modules/DisplayImage/i18n/en.js":__glob_8_88,"../modules/DisplayImage/i18n/ru.js":__glob_8_89,"../modules/HistoryGraph/i18n/de.js":__glob_8_90,"../modules/HistoryGraph/i18n/en.js":__glob_8_91,"../modules/HistoryGraph/i18n/ru.js":__glob_8_92,"../modules/HomeKitTile/i18n/de.js":__glob_8_93,"../modules/HomeKitTile/i18n/en.js":__glob_8_94,"../modules/HomeKitTile/i18n/ru.js":__glob_8_95,"../modules/HtmlTable/i18n/de.js":__glob_8_96,"../modules/HtmlTable/i18n/en.js":__glob_8_97,"../modules/HtmlTable/i18n/ru.js":__glob_8_98,"../modules/JsonTable/i18n/de.js":__glob_8_99,"../modules/JsonTable/i18n/en.js":__glob_8_100,"../modules/JsonTable/i18n/ru.js":__glob_8_101,"../modules/Map/i18n/de.js":__glob_8_102,"../modules/Map/i18n/en.js":__glob_8_103,"../modules/Map/i18n/ru.js":__glob_8_104,"../modules/MediaControl/i18n/de.js":__glob_8_105,"../modules/MediaControl/i18n/en.js":__glob_8_106,"../modules/MediaControl/i18n/ru.js":__glob_8_107,"../modules/ScriptStatus/i18n/de.js":__glob_8_108,"../modules/ScriptStatus/i18n/en.js":__glob_8_109,"../modules/ScriptStatus/i18n/ru.js":__glob_8_110,"../modules/StateHTML/i18n/de.js":__glob_8_111,"../modules/StateHTML/i18n/en.js":__glob_8_112,"../modules/StateHTML/i18n/ru.js":__glob_8_113,"../modules/StateList/i18n/de.js":__glob_8_114,"../modules/StateList/i18n/en.js":__glob_8_115,"../modules/StateList/i18n/ru.js":__glob_8_116,"../modules/Weather/i18n/de.js":__glob_8_117,"../modules/Weather/i18n/en.js":__glob_8_118,"../modules/Weather/i18n/ru.js":__glob_8_119,"../modules/iFrame/i18n/de.js":__glob_8_120,"../modules/iFrame/i18n/en.js":__glob_8_121,"../modules/iFrame/i18n/ru.js":__glob_8_122,"../pages/Configuration/i18n/de.js":__glob_8_123,"../pages/Configuration/i18n/en.js":__glob_8_124,"../pages/Configuration/i18n/ru.js":__glob_8_125,"../pages/Notifications/i18n/de.js":__glob_8_126,"../pages/Notifications/i18n/en.js":__glob_8_127,"../pages/Notifications/i18n/ru.js":__glob_8_128,"../config/tours/configuration/i18n/de.js":__glob_8_129,"../config/tours/configuration/i18n/en.js":__glob_8_130,"../config/tours/configuration/i18n/ru.js":__glob_8_131,"../config/tours/interface/i18n/de.js":__glob_8_132,"../config/tours/interface/i18n/en.js":__glob_8_133,"../config/tours/interface/i18n/ru.js":__glob_8_134,"../config/tours/introduction/i18n/de.js":__glob_8_135,"../config/tours/introduction/i18n/en.js":__glob_8_136,"../config/tours/introduction/i18n/ru.js":__glob_8_137,"../pages/Configuration/DevicesPage/i18n/de.js":__glob_8_138,"../pages/Configuration/DevicesPage/i18n/en.js":__glob_8_139,"../pages/Configuration/DevicesPage/i18n/ru.js":__glob_8_140,"../pages/Configuration/HelpPage/i18n/de.js":__glob_8_141,"../pages/Configuration/HelpPage/i18n/en.js":__glob_8_142,"../pages/Configuration/HelpPage/i18n/ru.js":__glob_8_143,"../pages/Configuration/LayoutsPage/i18n/de.js":__glob_8_144,"../pages/Configuration/LayoutsPage/i18n/en.js":__glob_8_145,"../pages/Configuration/LayoutsPage/i18n/ru.js":__glob_8_146,"../pages/Configuration/ScriptsPage/i18n/de.js":__glob_8_147,"../pages/Configuration/ScriptsPage/i18n/en.js":__glob_8_148,"../pages/Configuration/ScriptsPage/i18n/ru.js":__glob_8_149,"../pages/Configuration/SettingsPage/i18n/de.js":__glob_8_150,"../pages/Configuration/SettingsPage/i18n/en.js":__glob_8_151,"../pages/Configuration/SettingsPage/i18n/ru.js":__glob_8_152,"../pages/Configuration/WidgetsPage/i18n/de.js":__glob_8_153,"../pages/Configuration/WidgetsPage/i18n/en.js":__glob_8_154,"../pages/Configuration/WidgetsPage/i18n/ru.js":__glob_8_155,"../pages/Configuration/DevicesPage/DevicePage/i18n/de.js":__glob_8_156,"../pages/Configuration/DevicesPage/DevicePage/i18n/en.js":__glob_8_157,"../pages/Configuration/DevicesPage/DevicePage/i18n/ru.js":__glob_8_158,"../pages/Configuration/DevicesPage/DevicesPage/i18n/de.js":__glob_8_159,"../pages/Configuration/DevicesPage/DevicesPage/i18n/en.js":__glob_8_160,"../pages/Configuration/DevicesPage/DevicesPage/i18n/ru.js":__glob_8_161,"../pages/Configuration/DevicesPage/ImportDevices/i18n/de.js":__glob_8_162,"../pages/Configuration/DevicesPage/ImportDevices/i18n/en.js":__glob_8_163,"../pages/Configuration/DevicesPage/ImportDevices/i18n/ru.js":__glob_8_164};for(const o in r){const a=o.substr(o.lastIndexOf("/")+1).replace(".js","");try{i18n.global.mergeLocaleMessage(a,r[o].default)}catch(u){console.warn(a,u)}}};function getDateLocale$1(){const t=i18n.global.locale.value||i18n.global.locale;return langPackDate[t.substr(0,2)]||langPackDate.en}var i18n$2=Object.freeze(Object.defineProperty({__proto__:null,langPackQuasar,langPackDate,i18n,locale,default:i18n$1,getDateLocale:getDateLocale$1},Symbol.toStringTag,{value:"Module"})),_export_sfc$1=(t,r)=>{const o=t.__vccOpts||t;for(const[a,u]of r)o[a]=u;return o};const _sfc_main$1D=defineComponent({name:"IconState",props:{componentId:{type:String,default:"IconState"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$n),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},deviceProperties(){return{on:"true",off:"false",...this.state&&this.state.properties||{}}},icon(){return this.stateVal!==null&&this.componentOptions[this.stateVal.toString()===this.deviceProperties.on?"iconTurnOn":"iconTurnOff"]},stateStyle(){return this.state&&this.state.stateStyle||{}},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.deviceProperties.off}}}),OPTIONS$n={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},iconTurnOn:{label:i18n.global.t("config#componentOptions#IconState#iconTurnOn#label"),value:"mdi-power",type:"icon"},iconTurnOff:{label:i18n.global.t("config#componentOptions#IconState#iconTurnOff#label"),value:"mdi-power-off",type:"icon"}},_hoisted_1$19={style:{"margin-left":"8px"}};function _sfc_render$1D(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$19,[createVNode$1(g,{"vertical-align":"middle",name:t.icon,style:normalizeStyle$1(t.stateStyle)},null,8,["name","style"])])}var IconState=_export_sfc$1(_sfc_main$1D,[["render",_sfc_render$1D]]),QItemLabel=createComponent({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(t,{slots:r}){const o=computed(()=>parseInt(t.lines,10)),a=computed(()=>"q-item__label"+(t.overline===!0?" q-item__label--overline text-overline":"")+(t.caption===!0?" q-item__label--caption text-caption":"")+(t.header===!0?" q-item__label--header":"")+(o.value===1?" ellipsis":"")),u=computed(()=>t.lines!==void 0&&o.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.value}:null);return()=>h("div",{style:u.value,class:a.value},hSlot(r.default))}});const useIoBroker=defineStore("ioBroker",{state:()=>({users:[],groups:[],meta:{},rooms:{},history:{},cloud:[],instances:{},instanceList:{}}),getters:{roomList(t){const r={};return Object.values(t.rooms).forEach(o=>{o.members.forEach(a=>{r[a]=r[a]||[],r[a].push(o.name)})}),r},enabledIoT(t){return(t.instanceList&&t.instanceList.val||[]).some(o=>o.startsWith("iot."))},enabledHistory(t){return(t.instanceList&&t.instanceList.val||[]).some(o=>o.startsWith("history.")||o.startsWith("sql.")||o.startsWith("influx."))},isHistory(t){return r=>{if(r===null)return!1;r=Array.isArray(r)?r:[r];const o=Object.keys(t.history);return o.length===0?!1:r.some(a=>o.includes(a.state||a))}},isCloud(t){return r=>r===null?!1:(r=Array.isArray(r)?r:[r],t.cloud.length===0?!1:r.some(o=>{const a=o.action&&!Array.isArray(o.action)?[o.action]:o.action||[];return a.length>0&&a.every(u=>t.cloud.includes(u))||t.cloud.includes(o.state||o)}))},getHistoryInstances(t){return(t.instanceList&&t.instanceList.val||[]).filter(o=>["history","sql","influxdb"].includes(o.substr(0,o.indexOf(".")))).map(o=>({label:o,value:o}))}},actions:{join(t,r){this[t]={...this[t]||{},...r}},set(t,r){typeof t!="string"&&r===void 0&&(r=Object.values(t)[0],t=Object.keys(t)[0]),this[t]=r}}});function encryptAllPasswords(t,r){return new Promise((o,a)=>{let u=Promise.resolve();for(const d in t){const g=t[d];typeof g=="object"?u=encryptAllPasswords(g,r).then(v=>(t[d]=v,!0)):(d==="pass"||d==="password")&&(u=encrypt(g,r).then(v=>(t[d]=v,!0)).catch(()=>{throw t[d]=null,new Error("Error encrypting "+d)}))}u.then(()=>o(t)).catch(()=>a(t))})}function verify(t,r,o,a="RSA-SHA512"){return new Promise((u,d)=>{Connection.getConnection.send("verify",[t,r,o,a],({err:v,verification:y})=>{if(v)return console.error(v),d(v);u(y)})})}function encrypt(t,r){return new Promise((o,a)=>{Connection.getConnection.send("encrypt",[t,r],({err:d,encrypted:g})=>{if(d)return console.error(t,r,g,d.message),a(d);o(g)})})}function decrypt(t,r){return new Promise((o,a)=>{Connection.getConnection.send("decrypt",[t,r],({err:d,decrypted:g})=>{if(d)return console.error(t,g,d.message),a(d);o(g)})})}var Encryption={verify,encrypt,decrypt};const _CONFIGURATION={LATEST_VERSIONS:{devices:3.2,layout:3,widgets:3.1,scripts:3.2,css:3.2},IS_DEV:()=>!1,UUID:"bfceea54-998e-4f30-adf0-d0ff894e4a54",ENCRYPTION_KEY:"KutTGsNQ8HCX$hrT9Ua5beRSs2BLVeQq",PUBLIC_KEY:["-----BEGIN PUBLIC KEY-----","MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB3DHXL321K/qm0H7pac0pZ","4hIBVgqOU3k6d8ti/gWRqrIvtC4BjFaZ5EtHD/tgPtb2eQKZFhxg/ZjQ7pgkWiqq","hs022REErUUtVFZDdovJkxQYkpqKYwjprjUMkEBna4hrugqpTfzTTOQShGULYEBB","gw9NFGff/NxTiOt4yyXFOkMJf7t8AYRWAoVpFYp5X+bI5mKEo8AzWZyKQY6n13Wx","ZWLUK9f8+ZEPgKU0LFiqMwEDwBO4af5Wqo8wdbnbWP7Ejo5qcrfOgEdGKXq9egza","ZuQy5K/b+mhtcDqtIVK1aAuGU/mBjjwCl0nft7PYMBd6pbq4c2rWCa4GRViC1reh","AgMBAAE=","-----END PUBLIC KEY-----"].join(`\r + */const VERSION$1="9.14.0";function initFeatureFlags(){typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis$1().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis$1().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const code$1=CoreWarnCodes.__EXTEND_POINT__,inc$1=incrementer$1(code$1);inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1();const code$2=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer$1(code$2),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code$2,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(t,...r){return createCompileError(t,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(t){if(!isObject$m(t))return t;for(const r in t)if(!!hasOwn$b(t,r))if(!r.includes("."))isObject$m(t[r])&&handleFlatJson(t[r]);else{const o=r.split("."),a=o.length-1;let u=t,d=!1;for(let g=0;g{if("locale"in v&&"resource"in v){const{locale:y,resource:A}=v;y?(g[y]=g[y]||{},deepCopy(A,g[y])):deepCopy(A,g)}else isString$5(v)&&deepCopy(JSON.parse(v),g)}),u==null&&d)for(const v in g)hasOwn$b(g,v)&&handleFlatJson(g[v]);return g}function getComponentOptions(t){return t.type}function adjustI18nResources(t,r,o){let a=isObject$m(r.messages)?r.messages:{};"__i18nGlobal"in o&&(a=getLocaleMessages(t.locale.value,{messages:a,__i18n:o.__i18nGlobal}));const u=Object.keys(a);u.length&&u.forEach(d=>{t.mergeLocaleMessage(d,a[d])});{if(isObject$m(r.datetimeFormats)){const d=Object.keys(r.datetimeFormats);d.length&&d.forEach(g=>{t.mergeDateTimeFormat(g,r.datetimeFormats[g])})}if(isObject$m(r.numberFormats)){const d=Object.keys(r.numberFormats);d.length&&d.forEach(g=>{t.mergeNumberFormat(g,r.numberFormats[g])})}}}function createTextNode$1(t){return createVNode$1(Text,null,t,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(t){return(r,o,a,u)=>t(o,a,getCurrentInstance()||void 0,u)}const getMetaInfo=()=>{const t=getCurrentInstance();let r=null;return t&&(r=getComponentOptions(t)[DEVTOOLS_META])?{[DEVTOOLS_META]:r}:null};function createComposer(t={},r){const{__root:o,__injectWithOption:a}=t,u=o===void 0,d=t.flatJson,g=inBrowser?ref:shallowRef,v=!!t.translateExistCompatible;let y=isBoolean$2(t.inheritLocale)?t.inheritLocale:!0;const A=g(o&&y?o.locale.value:isString$5(t.locale)?t.locale:DEFAULT_LOCALE$1),b=g(o&&y?o.fallbackLocale.value:isString$5(t.fallbackLocale)||isArray$f(t.fallbackLocale)||isPlainObject$3(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:A.value),_=g(getLocaleMessages(A.value,t)),w=g(isPlainObject$3(t.datetimeFormats)?t.datetimeFormats:{[A.value]:{}}),S=g(isPlainObject$3(t.numberFormats)?t.numberFormats:{[A.value]:{}});let C=o?o.missingWarn:isBoolean$2(t.missingWarn)||isRegExp$3(t.missingWarn)?t.missingWarn:!0,T=o?o.fallbackWarn:isBoolean$2(t.fallbackWarn)||isRegExp$3(t.fallbackWarn)?t.fallbackWarn:!0,I=o?o.fallbackRoot:isBoolean$2(t.fallbackRoot)?t.fallbackRoot:!0,E=!!t.fallbackFormat,F=isFunction$6(t.missing)?t.missing:null,O=isFunction$6(t.missing)?defineCoreMissingHandler(t.missing):null,D=isFunction$6(t.postTranslation)?t.postTranslation:null,x=o?o.warnHtmlMessage:isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,P=!!t.escapeParameter;const G=o?o.modifiers:isPlainObject$3(t.modifiers)?t.modifiers:{};let M=t.pluralRules||o&&o.pluralRules,N;N=(()=>{u&&setFallbackContext(null);const Pe={version:VERSION$1,locale:A.value,fallbackLocale:b.value,messages:_.value,modifiers:G,pluralRules:M,missing:O===null?void 0:O,missingWarn:C,fallbackWarn:T,fallbackFormat:E,unresolving:!0,postTranslation:D===null?void 0:D,warnHtmlMessage:x,escapeParameter:P,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};Pe.datetimeFormats=w.value,Pe.numberFormats=S.value,Pe.__datetimeFormatters=isPlainObject$3(N)?N.__datetimeFormatters:void 0,Pe.__numberFormatters=isPlainObject$3(N)?N.__numberFormatters:void 0;const Be=createCoreContext(Pe);return u&&setFallbackContext(Be),Be})(),updateFallbackLocale(N,A.value,b.value);function Z(){return[A.value,b.value,_.value,w.value,S.value]}const H=computed({get:()=>A.value,set:Pe=>{A.value=Pe,N.locale=A.value}}),B=computed({get:()=>b.value,set:Pe=>{b.value=Pe,N.fallbackLocale=b.value,updateFallbackLocale(N,A.value,Pe)}}),z=computed(()=>_.value),U=computed(()=>w.value),Q=computed(()=>S.value);function X(){return isFunction$6(D)?D:null}function J(Pe){D=Pe,N.postTranslation=Pe}function ne(){return F}function te(Pe){Pe!==null&&(O=defineCoreMissingHandler(Pe)),F=Pe,N.missing=O}const ce=(Pe,Be,ot,ct,_t,He)=>{Z();let Ve;try{u||(N.fallbackContext=o?getFallbackContext():void 0),Ve=Pe(N)}finally{u||(N.fallbackContext=void 0)}if(ot!=="translate exists"&&isNumber$4(Ve)&&Ve===NOT_REOSLVED||ot==="translate exists"&&!Ve){const[ke,Qe]=Be();return o&&I?ct(o):_t(ke)}else{if(He(Ve))return Ve;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function se(...Pe){return ce(Be=>Reflect.apply(translate$1,null,[Be,...Pe]),()=>parseTranslateArgs(...Pe),"translate",Be=>Reflect.apply(Be.t,Be,[...Pe]),Be=>Be,Be=>isString$5(Be))}function ge(...Pe){const[Be,ot,ct]=Pe;if(ct&&!isObject$m(ct))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return se(Be,ot,assign$2({resolvedMessage:!0},ct||{}))}function he(...Pe){return ce(Be=>Reflect.apply(datetime,null,[Be,...Pe]),()=>parseDateTimeArgs(...Pe),"datetime format",Be=>Reflect.apply(Be.d,Be,[...Pe]),()=>MISSING_RESOLVE_VALUE,Be=>isString$5(Be))}function ye(...Pe){return ce(Be=>Reflect.apply(number,null,[Be,...Pe]),()=>parseNumberArgs(...Pe),"number format",Be=>Reflect.apply(Be.n,Be,[...Pe]),()=>MISSING_RESOLVE_VALUE,Be=>isString$5(Be))}function ee(Pe){return Pe.map(Be=>isString$5(Be)||isNumber$4(Be)||isBoolean$2(Be)?createTextNode$1(String(Be)):Be)}const ae={normalize:ee,interpolate:Pe=>Pe,type:"vnode"};function ve(...Pe){return ce(Be=>{let ot;const ct=Be;try{ct.processor=ae,ot=Reflect.apply(translate$1,null,[ct,...Pe])}finally{ct.processor=null}return ot},()=>parseTranslateArgs(...Pe),"translate",Be=>Be[TranslateVNodeSymbol](...Pe),Be=>[createTextNode$1(Be)],Be=>isArray$f(Be))}function we(...Pe){return ce(Be=>Reflect.apply(number,null,[Be,...Pe]),()=>parseNumberArgs(...Pe),"number format",Be=>Be[NumberPartsSymbol](...Pe),NOOP_RETURN_ARRAY,Be=>isString$5(Be)||isArray$f(Be))}function _e(...Pe){return ce(Be=>Reflect.apply(datetime,null,[Be,...Pe]),()=>parseDateTimeArgs(...Pe),"datetime format",Be=>Be[DatetimePartsSymbol](...Pe),NOOP_RETURN_ARRAY,Be=>isString$5(Be)||isArray$f(Be))}function Te(Pe){M=Pe,N.pluralRules=M}function Ce(Pe,Be){return ce(()=>{if(!Pe)return!1;const ot=isString$5(Be)?Be:A.value,ct=le(ot),_t=N.messageResolver(ct,Pe);return v?_t!=null:isMessageAST(_t)||isMessageFunction(_t)||isString$5(_t)},()=>[Pe],"translate exists",ot=>Reflect.apply(ot.te,ot,[Pe,Be]),NOOP_RETURN_FALSE,ot=>isBoolean$2(ot))}function Ae(Pe){let Be=null;const ot=fallbackWithLocaleChain(N,b.value,A.value);for(let ct=0;ct{y&&(A.value=Pe,N.locale=Pe,updateFallbackLocale(N,A.value,b.value))}),watch(o.fallbackLocale,Pe=>{y&&(b.value=Pe,N.fallbackLocale=Pe,updateFallbackLocale(N,A.value,b.value))}));const De={id:composerID,locale:H,fallbackLocale:B,get inheritLocale(){return y},set inheritLocale(Pe){y=Pe,Pe&&o&&(A.value=o.locale.value,b.value=o.fallbackLocale.value,updateFallbackLocale(N,A.value,b.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:z,get modifiers(){return G},get pluralRules(){return M||{}},get isGlobal(){return u},get missingWarn(){return C},set missingWarn(Pe){C=Pe,N.missingWarn=C},get fallbackWarn(){return T},set fallbackWarn(Pe){T=Pe,N.fallbackWarn=T},get fallbackRoot(){return I},set fallbackRoot(Pe){I=Pe},get fallbackFormat(){return E},set fallbackFormat(Pe){E=Pe,N.fallbackFormat=E},get warnHtmlMessage(){return x},set warnHtmlMessage(Pe){x=Pe,N.warnHtmlMessage=Pe},get escapeParameter(){return P},set escapeParameter(Pe){P=Pe,N.escapeParameter=Pe},t:se,getLocaleMessage:le,setLocaleMessage:re,mergeLocaleMessage:ue,getPostTranslationHandler:X,setPostTranslationHandler:J,getMissingHandler:ne,setMissingHandler:te,[SetPluralRulesSymbol]:Te};return De.datetimeFormats=U,De.numberFormats=Q,De.rt=ge,De.te=Ce,De.tm=Ee,De.d=he,De.n=ye,De.getDateTimeFormat=be,De.setDateTimeFormat=ie,De.mergeDateTimeFormat=oe,De.getNumberFormat=me,De.setNumberFormat=Se,De.mergeNumberFormat=xe,De[InejctWithOptionSymbol]=a,De[TranslateVNodeSymbol]=ve,De[DatetimePartsSymbol]=_e,De[NumberPartsSymbol]=we,De}function convertComposerOptions(t){const r=isString$5(t.locale)?t.locale:DEFAULT_LOCALE$1,o=isString$5(t.fallbackLocale)||isArray$f(t.fallbackLocale)||isPlainObject$3(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,a=isFunction$6(t.missing)?t.missing:void 0,u=isBoolean$2(t.silentTranslationWarn)||isRegExp$3(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,d=isBoolean$2(t.silentFallbackWarn)||isRegExp$3(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,g=isBoolean$2(t.fallbackRoot)?t.fallbackRoot:!0,v=!!t.formatFallbackMessages,y=isPlainObject$3(t.modifiers)?t.modifiers:{},A=t.pluralizationRules,b=isFunction$6(t.postTranslation)?t.postTranslation:void 0,_=isString$5(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,w=!!t.escapeParameterHtml,S=isBoolean$2(t.sync)?t.sync:!0;let C=t.messages;if(isPlainObject$3(t.sharedMessages)){const P=t.sharedMessages;C=Object.keys(P).reduce((M,N)=>{const V=M[N]||(M[N]={});return assign$2(V,P[N]),M},C||{})}const{__i18n:T,__root:I,__injectWithOption:E}=t,F=t.datetimeFormats,O=t.numberFormats,D=t.flatJson,x=t.translateExistCompatible;return{locale:r,fallbackLocale:o,messages:C,flatJson:D,datetimeFormats:F,numberFormats:O,missing:a,missingWarn:u,fallbackWarn:d,fallbackRoot:g,fallbackFormat:v,modifiers:y,pluralRules:A,postTranslation:b,warnHtmlMessage:_,escapeParameter:w,messageResolver:t.messageResolver,inheritLocale:S,translateExistCompatible:x,__i18n:T,__root:I,__injectWithOption:E}}function createVueI18n(t={},r){{const o=createComposer(convertComposerOptions(t)),{__extender:a}=t,u={id:o.id,get locale(){return o.locale.value},set locale(d){o.locale.value=d},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(d){o.fallbackLocale.value=d},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(d){},get missing(){return o.getMissingHandler()},set missing(d){o.setMissingHandler(d)},get silentTranslationWarn(){return isBoolean$2(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(d){o.missingWarn=isBoolean$2(d)?!d:d},get silentFallbackWarn(){return isBoolean$2(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(d){o.fallbackWarn=isBoolean$2(d)?!d:d},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(d){o.fallbackFormat=d},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(d){o.setPostTranslationHandler(d)},get sync(){return o.inheritLocale},set sync(d){o.inheritLocale=d},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(d){o.warnHtmlMessage=d!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(d){o.escapeParameter=d},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(d){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...d){const[g,v,y]=d,A={};let b=null,_=null;if(!isString$5(g))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const w=g;return isString$5(v)?A.locale=v:isArray$f(v)?b=v:isPlainObject$3(v)&&(_=v),isArray$f(y)?b=y:isPlainObject$3(y)&&(_=y),Reflect.apply(o.t,o,[w,b||_||{},A])},rt(...d){return Reflect.apply(o.rt,o,[...d])},tc(...d){const[g,v,y]=d,A={plural:1};let b=null,_=null;if(!isString$5(g))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const w=g;return isString$5(v)?A.locale=v:isNumber$4(v)?A.plural=v:isArray$f(v)?b=v:isPlainObject$3(v)&&(_=v),isString$5(y)?A.locale=y:isArray$f(y)?b=y:isPlainObject$3(y)&&(_=y),Reflect.apply(o.t,o,[w,b||_||{},A])},te(d,g){return o.te(d,g)},tm(d){return o.tm(d)},getLocaleMessage(d){return o.getLocaleMessage(d)},setLocaleMessage(d,g){o.setLocaleMessage(d,g)},mergeLocaleMessage(d,g){o.mergeLocaleMessage(d,g)},d(...d){return Reflect.apply(o.d,o,[...d])},getDateTimeFormat(d){return o.getDateTimeFormat(d)},setDateTimeFormat(d,g){o.setDateTimeFormat(d,g)},mergeDateTimeFormat(d,g){o.mergeDateTimeFormat(d,g)},n(...d){return Reflect.apply(o.n,o,[...d])},getNumberFormat(d){return o.getNumberFormat(d)},setNumberFormat(d,g){o.setNumberFormat(d,g)},mergeNumberFormat(d,g){o.mergeNumberFormat(d,g)},getChoiceIndex(d,g){return-1}};return u.__extender=a,u}}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:t},r){return r.length===1&&r[0]==="default"?(t.default?t.default():[]).reduce((a,u)=>[...a,...u.type===Fragment?u.children:[u]],[]):r.reduce((o,a)=>{const u=t[a];return u&&(o[a]=u()),o},{})}function getFragmentableTag(t){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign$2({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>isNumber$4(t)||!isNaN(t)}},baseFormatProps),setup(t,r){const{slots:o,attrs:a}=r,u=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return()=>{const d=Object.keys(o).filter(_=>_!=="_"),g={};t.locale&&(g.locale=t.locale),t.plural!==void 0&&(g.plural=isString$5(t.plural)?+t.plural:t.plural);const v=getInterpolateArg(r,d),y=u[TranslateVNodeSymbol](t.keypath,v,g),A=assign$2({},a),b=isString$5(t.tag)||isObject$m(t.tag)?t.tag:getFragmentableTag();return h(b,A,y)}}}),Translation=TranslationImpl;function isVNode(t){return isArray$f(t)&&!isString$5(t[0])}function renderFormatter(t,r,o,a){const{slots:u,attrs:d}=r;return()=>{const g={part:!0};let v={};t.locale&&(g.locale=t.locale),isString$5(t.format)?g.key=t.format:isObject$m(t.format)&&(isString$5(t.format.key)&&(g.key=t.format.key),v=Object.keys(t.format).reduce((w,S)=>o.includes(S)?assign$2({},w,{[S]:t.format[S]}):w,{}));const y=a(t.value,g,v);let A=[g.key];isArray$f(y)?A=y.map((w,S)=>{const C=u[w.type],T=C?C({[w.type]:w.value,index:S,parts:y}):[w.value];return isVNode(T)&&(T[0].key=`${w.type}-${S}`),T}):isString$5(y)&&(A=[y]);const b=assign$2({},d),_=isString$5(t.tag)||isObject$m(t.tag)?t.tag:getFragmentableTag();return h(_,b,A)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign$2({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const o=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return renderFormatter(t,r,NUMBER_FORMAT_OPTIONS_KEYS,(...a)=>o[NumberPartsSymbol](...a))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign$2({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const o=t.i18n||useI18n({useScope:t.scope,__useComponent:!0});return renderFormatter(t,r,DATETIME_FORMAT_OPTIONS_KEYS,(...a)=>o[DatetimePartsSymbol](...a))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$2(t,r){const o=t;if(t.mode==="composition")return o.__getInstance(r)||t.global;{const a=o.__getInstance(r);return a!=null?a.__composer:t.global.__composer}}function vTDirective(t){const r=g=>{const{instance:v,modifiers:y,value:A}=g;if(!v||!v.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const b=getComposer$2(t,v.$),_=parseValue$1(A);return[Reflect.apply(b.t,b,[...makeParams(_)]),b]};return{created:(g,v)=>{const[y,A]=r(v);inBrowser&&t.global===A&&(g.__i18nWatcher=watch(A.locale,()=>{v.instance&&v.instance.$forceUpdate()})),g.__composer=A,g.textContent=y},unmounted:g=>{inBrowser&&g.__i18nWatcher&&(g.__i18nWatcher(),g.__i18nWatcher=void 0,delete g.__i18nWatcher),g.__composer&&(g.__composer=void 0,delete g.__composer)},beforeUpdate:(g,{value:v})=>{if(g.__composer){const y=g.__composer,A=parseValue$1(v);g.textContent=Reflect.apply(y.t,y,[...makeParams(A)])}},getSSRProps:g=>{const[v]=r(g);return{textContent:v}}}}function parseValue$1(t){if(isString$5(t))return{path:t};if(isPlainObject$3(t)){if(!("path"in t))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return t}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(t){const{path:r,locale:o,args:a,choice:u,plural:d}=t,g={},v=a||{};return isString$5(o)&&(g.locale=o),isNumber$4(u)&&(g.plural=u),isNumber$4(d)&&(g.plural=d),[r,v,g]}function apply$5(t,r,...o){const a=isPlainObject$3(o[0])?o[0]:{},u=!!a.useI18nComponentName;(isBoolean$2(a.globalInstall)?a.globalInstall:!0)&&([u?"i18n":Translation.name,"I18nT"].forEach(g=>t.component(g,Translation)),[NumberFormat.name,"I18nN"].forEach(g=>t.component(g,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(g=>t.component(g,DatetimeFormat))),t.directive("t",vTDirective(r))}function defineMixin(t,r,o){return{beforeCreate(){const a=getCurrentInstance();if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=this.$options;if(u.i18n){const d=u.i18n;if(u.__i18n&&(d.__i18n=u.__i18n),d.__root=r,this===this.$root)this.$i18n=mergeToGlobal(t,d);else{d.__injectWithOption=!0,d.__extender=o.__vueI18nExtend,this.$i18n=createVueI18n(d);const g=this.$i18n;g.__extender&&(g.__disposer=g.__extender(this.$i18n))}}else if(u.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(t,u);else{this.$i18n=createVueI18n({__i18n:u.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:r});const d=this.$i18n;d.__extender&&(d.__disposer=d.__extender(this.$i18n))}else this.$i18n=t;u.__i18nGlobal&&adjustI18nResources(r,u,u),this.$t=(...d)=>this.$i18n.t(...d),this.$rt=(...d)=>this.$i18n.rt(...d),this.$tc=(...d)=>this.$i18n.tc(...d),this.$te=(d,g)=>this.$i18n.te(d,g),this.$d=(...d)=>this.$i18n.d(...d),this.$n=(...d)=>this.$i18n.n(...d),this.$tm=d=>this.$i18n.tm(d),o.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const a=getCurrentInstance();if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,u.__disposer&&(u.__disposer(),delete u.__disposer,delete u.__extender),o.__deleteInstance(a),delete this.$i18n}}}function mergeToGlobal(t,r){t.locale=r.locale||t.locale,t.fallbackLocale=r.fallbackLocale||t.fallbackLocale,t.missing=r.missing||t.missing,t.silentTranslationWarn=r.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=r.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=r.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=r.postTranslation||t.postTranslation,t.warnHtmlInMessage=r.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=r.escapeParameterHtml||t.escapeParameterHtml,t.sync=r.sync||t.sync,t.__composer[SetPluralRulesSymbol](r.pluralizationRules||t.pluralizationRules);const o=getLocaleMessages(t.locale,{messages:r.messages,__i18n:r.__i18n});return Object.keys(o).forEach(a=>t.mergeLocaleMessage(a,o[a])),r.datetimeFormats&&Object.keys(r.datetimeFormats).forEach(a=>t.mergeDateTimeFormat(a,r.datetimeFormats[a])),r.numberFormats&&Object.keys(r.numberFormats).forEach(a=>t.mergeNumberFormat(a,r.numberFormats[a])),t}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(t={},r){const o=isBoolean$2(t.legacy)?t.legacy:!0,a=isBoolean$2(t.globalInjection)?t.globalInjection:!0,u=o?!!t.allowComposition:!0,d=new Map,[g,v]=createGlobal(t,o),y=makeSymbol("");function A(w){return d.get(w)||null}function b(w,S){d.set(w,S)}function _(w){d.delete(w)}{const w={get mode(){return o?"legacy":"composition"},get allowComposition(){return u},async install(S,...C){if(S.__VUE_I18N_SYMBOL__=y,S.provide(S.__VUE_I18N_SYMBOL__,w),isPlainObject$3(C[0])){const E=C[0];w.__composerExtend=E.__composerExtend,w.__vueI18nExtend=E.__vueI18nExtend}let T=null;!o&&a&&(T=injectGlobalFields(S,w.global)),apply$5(S,w,...C),o&&S.mixin(defineMixin(v,v.__composer,w));const I=S.unmount;S.unmount=()=>{T&&T(),w.dispose(),I()}},get global(){return v},dispose(){g.stop()},__instances:d,__getInstance:A,__setInstance:b,__deleteInstance:_};return w}}function useI18n(t={}){const r=getCurrentInstance();if(r==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!r.isCE&&r.appContext.app!=null&&!r.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const o=getI18nInstance(r),a=getGlobalComposer(o),u=getComponentOptions(r),d=getScope(t,u);if(o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);return useI18nForLegacy(r,d,a,t)}if(d==="global")return adjustI18nResources(a,t,u),a;if(d==="parent"){let y=getComposer(o,r,t.__useComponent);return y==null&&(y=a),y}const g=o;let v=g.__getInstance(r);if(v==null){const y=assign$2({},t);"__i18n"in u&&(y.__i18n=u.__i18n),a&&(y.__root=a),v=createComposer(y),g.__composerExtend&&(v[DisposeSymbol]=g.__composerExtend(v)),setupLifeCycle(g,r,v),g.__setInstance(r,v)}return v}function createGlobal(t,r,o){const a=effectScope();{const u=r?a.run(()=>createVueI18n(t)):a.run(()=>createComposer(t));if(u==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[a,u]}}function getI18nInstance(t){{const r=inject(t.isCE?I18nInjectionKey:t.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw createI18nError(t.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return r}}function getScope(t,r){return isEmptyObject$1(t)?"__i18n"in r?"local":"global":t.useScope?t.useScope:"local"}function getGlobalComposer(t){return t.mode==="composition"?t.global:t.global.__composer}function getComposer(t,r,o=!1){let a=null;const u=r.root;let d=getParentComponentInstance(r,o);for(;d!=null;){const g=t;if(t.mode==="composition")a=g.__getInstance(d);else{const v=g.__getInstance(d);v!=null&&(a=v.__composer,o&&a&&!a[InejctWithOptionSymbol]&&(a=null))}if(a!=null||u===d)break;d=d.parent}return a}function getParentComponentInstance(t,r=!1){return t==null?null:r&&t.vnode.ctx||t.parent}function setupLifeCycle(t,r,o){onMounted(()=>{},r),onUnmounted(()=>{const a=o;t.__deleteInstance(r);const u=a[DisposeSymbol];u&&(u(),delete a[DisposeSymbol])},r)}function useI18nForLegacy(t,r,o,a={}){const u=r==="local",d=shallowRef(null);if(u&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw createI18nError(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const g=isBoolean$2(a.inheritLocale)?a.inheritLocale:!isString$5(a.locale),v=ref(!u||g?o.locale.value:isString$5(a.locale)?a.locale:DEFAULT_LOCALE$1),y=ref(!u||g?o.fallbackLocale.value:isString$5(a.fallbackLocale)||isArray$f(a.fallbackLocale)||isPlainObject$3(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:v.value),A=ref(getLocaleMessages(v.value,a)),b=ref(isPlainObject$3(a.datetimeFormats)?a.datetimeFormats:{[v.value]:{}}),_=ref(isPlainObject$3(a.numberFormats)?a.numberFormats:{[v.value]:{}}),w=u?o.missingWarn:isBoolean$2(a.missingWarn)||isRegExp$3(a.missingWarn)?a.missingWarn:!0,S=u?o.fallbackWarn:isBoolean$2(a.fallbackWarn)||isRegExp$3(a.fallbackWarn)?a.fallbackWarn:!0,C=u?o.fallbackRoot:isBoolean$2(a.fallbackRoot)?a.fallbackRoot:!0,T=!!a.fallbackFormat,I=isFunction$6(a.missing)?a.missing:null,E=isFunction$6(a.postTranslation)?a.postTranslation:null,F=u?o.warnHtmlMessage:isBoolean$2(a.warnHtmlMessage)?a.warnHtmlMessage:!0,O=!!a.escapeParameter,D=u?o.modifiers:isPlainObject$3(a.modifiers)?a.modifiers:{},x=a.pluralRules||u&&o.pluralRules;function P(){return[v.value,y.value,A.value,b.value,_.value]}const G=computed({get:()=>d.value?d.value.locale.value:v.value,set:Ae=>{d.value&&(d.value.locale.value=Ae),v.value=Ae}}),M=computed({get:()=>d.value?d.value.fallbackLocale.value:y.value,set:Ae=>{d.value&&(d.value.fallbackLocale.value=Ae),y.value=Ae}}),N=computed(()=>d.value?d.value.messages.value:A.value),V=computed(()=>b.value),Z=computed(()=>_.value);function H(){return d.value?d.value.getPostTranslationHandler():E}function B(Ae){d.value&&d.value.setPostTranslationHandler(Ae)}function z(){return d.value?d.value.getMissingHandler():I}function U(Ae){d.value&&d.value.setMissingHandler(Ae)}function Q(Ae){return P(),Ae()}function X(...Ae){return d.value?Q(()=>Reflect.apply(d.value.t,null,[...Ae])):Q(()=>"")}function J(...Ae){return d.value?Reflect.apply(d.value.rt,null,[...Ae]):""}function ne(...Ae){return d.value?Q(()=>Reflect.apply(d.value.d,null,[...Ae])):Q(()=>"")}function te(...Ae){return d.value?Q(()=>Reflect.apply(d.value.n,null,[...Ae])):Q(()=>"")}function ce(Ae){return d.value?d.value.tm(Ae):{}}function se(Ae,Ee){return d.value?d.value.te(Ae,Ee):!1}function ge(Ae){return d.value?d.value.getLocaleMessage(Ae):{}}function he(Ae,Ee){d.value&&(d.value.setLocaleMessage(Ae,Ee),A.value[Ae]=Ee)}function ye(Ae,Ee){d.value&&d.value.mergeLocaleMessage(Ae,Ee)}function ee(Ae){return d.value?d.value.getDateTimeFormat(Ae):{}}function pe(Ae,Ee){d.value&&(d.value.setDateTimeFormat(Ae,Ee),b.value[Ae]=Ee)}function ae(Ae,Ee){d.value&&d.value.mergeDateTimeFormat(Ae,Ee)}function ve(Ae){return d.value?d.value.getNumberFormat(Ae):{}}function we(Ae,Ee){d.value&&(d.value.setNumberFormat(Ae,Ee),_.value[Ae]=Ee)}function _e(Ae,Ee){d.value&&d.value.mergeNumberFormat(Ae,Ee)}const Te={get id(){return d.value?d.value.id:-1},locale:G,fallbackLocale:M,messages:N,datetimeFormats:V,numberFormats:Z,get inheritLocale(){return d.value?d.value.inheritLocale:g},set inheritLocale(Ae){d.value&&(d.value.inheritLocale=Ae)},get availableLocales(){return d.value?d.value.availableLocales:Object.keys(A.value)},get modifiers(){return d.value?d.value.modifiers:D},get pluralRules(){return d.value?d.value.pluralRules:x},get isGlobal(){return d.value?d.value.isGlobal:!1},get missingWarn(){return d.value?d.value.missingWarn:w},set missingWarn(Ae){d.value&&(d.value.missingWarn=Ae)},get fallbackWarn(){return d.value?d.value.fallbackWarn:S},set fallbackWarn(Ae){d.value&&(d.value.missingWarn=Ae)},get fallbackRoot(){return d.value?d.value.fallbackRoot:C},set fallbackRoot(Ae){d.value&&(d.value.fallbackRoot=Ae)},get fallbackFormat(){return d.value?d.value.fallbackFormat:T},set fallbackFormat(Ae){d.value&&(d.value.fallbackFormat=Ae)},get warnHtmlMessage(){return d.value?d.value.warnHtmlMessage:F},set warnHtmlMessage(Ae){d.value&&(d.value.warnHtmlMessage=Ae)},get escapeParameter(){return d.value?d.value.escapeParameter:O},set escapeParameter(Ae){d.value&&(d.value.escapeParameter=Ae)},t:X,getPostTranslationHandler:H,setPostTranslationHandler:B,getMissingHandler:z,setMissingHandler:U,rt:J,d:ne,n:te,tm:ce,te:se,getLocaleMessage:ge,setLocaleMessage:he,mergeLocaleMessage:ye,getDateTimeFormat:ee,setDateTimeFormat:pe,mergeDateTimeFormat:ae,getNumberFormat:ve,setNumberFormat:we,mergeNumberFormat:_e};function Ce(Ae){Ae.locale.value=v.value,Ae.fallbackLocale.value=y.value,Object.keys(A.value).forEach(Ee=>{Ae.mergeLocaleMessage(Ee,A.value[Ee])}),Object.keys(b.value).forEach(Ee=>{Ae.mergeDateTimeFormat(Ee,b.value[Ee])}),Object.keys(_.value).forEach(Ee=>{Ae.mergeNumberFormat(Ee,_.value[Ee])}),Ae.escapeParameter=O,Ae.fallbackFormat=T,Ae.fallbackRoot=C,Ae.fallbackWarn=S,Ae.missingWarn=w,Ae.warnHtmlMessage=F}return onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const Ae=d.value=t.proxy.$i18n.__composer;r==="global"?(v.value=Ae.locale.value,y.value=Ae.fallbackLocale.value,A.value=Ae.messages.value,b.value=Ae.datetimeFormats.value,_.value=Ae.numberFormats.value):u&&Ce(Ae)}),Te}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(t,r){const o=Object.create(null);return globalExportProps.forEach(u=>{const d=Object.getOwnPropertyDescriptor(r,u);if(!d)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const g=isRef(d.value)?{get(){return d.value.value},set(v){d.value.value=v}}:{get(){return d.get&&d.get()}};Object.defineProperty(o,u,g)}),t.config.globalProperties.$i18n=o,globalExportMethods.forEach(u=>{const d=Object.getOwnPropertyDescriptor(r,u);if(!d||!d.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${u}`,d)}),()=>{delete t.config.globalProperties.$i18n,globalExportMethods.forEach(u=>{delete t.config.globalProperties[`$${u}`]})}}initFeatureFlags();__INTLIFY_JIT_COMPILATION__?registerMessageCompiler(compile):registerMessageCompiler(compileToFunction);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);var quasarLangDe={isoName:"de",nativeName:"Deutsch",label:{clear:"Leeren",ok:"Ok",cancel:"Abbrechen",close:"Schlie\xDFen",set:"Setzen",select:"Ausw\xE4hlen",reset:"Zur\xFCcksetzen",remove:"L\xF6schen",update:"Aktualisieren",create:"Erstellen",search:"Suche",filter:"Filter",refresh:"Aktualisieren",expand:t=>t?`Erweitern Sie "${t}"`:"Erweitern",collapse:t=>t?`"${t}" minimieren`:"Zusammenbruch"},date:{days:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),daysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan_Feb_M\xE4rz_Apr_Mai_Jun_Jul_Aug_Sep_Okt_Nov_Dez".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"Tage"},table:{noData:"Keine Daten vorhanden.",noResults:"Keine Eintr\xE4ge gefunden",loading:"Lade...",selectedRecords:t=>t>1?t+" ausgew\xE4hlte Zeilen":(t===0?"Keine":"1")+" ausgew\xE4hlt.",recordsPerPage:"Zeilen pro Seite",allRows:"Alle",pagination:(t,r,o)=>t+"-"+r+" von "+o,columns:"Spalten"},editor:{url:"URL",bold:"Fett",italic:"Kursiv",strikethrough:"Durchgestrichen",underline:"Unterstrichen",unorderedList:"Ungeordnete Liste",orderedList:"Geordnete Liste",subscript:"tiefgestellt",superscript:"hochgestellt",hyperlink:"Link",toggleFullscreen:"Vollbild umschalten",quote:"Zitat",left:"linksb\xFCndig",center:"zentriert",right:"rechtsb\xFCndig",justify:"Ausrichten",print:"Drucken",outdent:"ausr\xFCcken",indent:"einr\xFCcken",removeFormat:"Entferne Formatierung",formatting:"Formatiere",fontSize:"Schriftgr\xF6\xDFe",align:"Ausrichten",hr:"Horizontale Linie einf\xFCgen",undo:"R\xFCckg\xE4nging",redo:"Wiederherstellen",heading1:"\xDCberschrift 1",heading2:"\xDCberschrift 2",heading3:"\xDCberschrift 3",heading4:"\xDCberschrift 4",heading5:"\xDCberschrift 5",heading6:"\xDCberschrift 6",paragraph:"Absatz",code:"Code",size1:"Sehr klein",size2:"klein",size3:"Normal",size4:"Gro\xDF",size5:"Gr\xF6\xDFer",size6:"Sehr gro\xDF",size7:"Maximum",defaultFont:"Standard Schrift",viewSource:"Quelltext anzeigen"},tree:{noNodes:"Keine Knoten verf\xFCgbar",noResults:"Keine passenden Knoten gefunden"}};function plurals(t,r){return r[t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2]}var quasarLangRu={isoName:"ru",nativeName:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439",label:{clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",ok:"OK",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",reset:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",update:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",create:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C",search:"\u041F\u043E\u0438\u0441\u043A",filter:"\u0424\u0438\u043B\u044C\u0442\u0440",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",expand:t=>t?`\u0420\u0430\u0441\u0448\u0438\u0440\u044C\u0442\u0435 "${t}"`:"\u0420\u0430\u0441\u0448\u0438\u0440\u044F\u0442\u044C",collapse:t=>t?`\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C "${t}"`:"\u041A\u0440\u0430\u0445"},date:{days:"\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0412\u0442\u043E\u0440\u043D\u0438\u043A_\u0421\u0440\u0435\u0434\u0430_\u0427\u0435\u0442\u0432\u0435\u0440\u0433_\u041F\u044F\u0442\u043D\u0438\u0446\u0430_\u0421\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),daysShort:"\u0412\u0441_\u041F\u043D_\u0412\u0442_\u0421\u0440_\u0427\u0442_\u041F\u0442_\u0421\u0431".split("_"),months:"\u042F\u043D\u0432\u0430\u0440\u044C_\u0424\u0435\u0432\u0440\u0430\u043B\u044C_\u041C\u0430\u0440\u0442_\u0410\u043F\u0440\u0435\u043B\u044C_\u041C\u0430\u0439_\u0418\u044E\u043D\u044C_\u0418\u044E\u043B\u044C_\u0410\u0432\u0433\u0443\u0441\u0442_\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u041E\u043A\u0442\u044F\u0431\u0440\u044C_\u041D\u043E\u044F\u0431\u0440\u044C_\u0414\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),monthsShort:"\u042F\u043D\u0432_\u0424\u0435\u0432_\u041C\u0430\u0440_\u0410\u043F\u0440_\u041C\u0430\u0439_\u0418\u044E\u043D_\u0418\u044E\u043B_\u0410\u0432\u0433_\u0421\u0435\u043D_\u041E\u043A\u0442_\u041D\u043E\u044F_\u0414\u0435\u043A".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"\u0434\u043D\u0435\u0439"},table:{noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",noResults:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",selectedRecords:t=>t>0?t+" "+plurals(t,["\u0441\u0442\u0440\u043E\u043A\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u0430","\u0441\u0442\u0440\u043E\u043A\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u044B","\u0441\u0442\u0440\u043E\u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043E"])+".":"\u041D\u0438 \u043E\u0434\u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0430 \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430.",recordsPerPage:"\u0421\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435:",allRows:"\u0412\u0441\u0435",pagination:(t,r,o)=>t+"-"+r+" \u0438\u0437 "+o,columns:"\u041A\u043E\u043B\u043E\u043D\u043A\u0438"},editor:{url:"URL",bold:"\u041F\u043E\u043B\u0443\u0436\u0438\u0440\u043D\u044B\u0439",italic:"\u041A\u0443\u0440\u0441\u0438\u0432",strikethrough:"\u0417\u0430\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",underline:"\u041F\u043E\u0434\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",unorderedList:"\u041C\u0430\u0440\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",orderedList:"\u041D\u0443\u043C\u0435\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",subscript:"\u041F\u043E\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439",superscript:"\u041D\u0430\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439",hyperlink:"\u0413\u0438\u043F\u0435\u0440\u0441\u0441\u044B\u043B\u043A\u0430",toggleFullscreen:"\u041F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",quote:"\u0426\u0438\u0442\u0430\u0442\u0430",left:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",center:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u0446\u0435\u043D\u0442\u0440\u0443",right:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",justify:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435",print:"\u041F\u0435\u0447\u0430\u0442\u044C",outdent:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",indent:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",removeFormat:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",formatting:"\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",fontSize:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435",hr:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0438\u043D\u0438\u044E",undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",heading1:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 1",heading2:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 2",heading3:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 3",heading4:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 4",heading5:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 5",heading6:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 6",paragraph:"\u041F\u0430\u0440\u0430\u0433\u0440\u0430\u0444",code:"\u041A\u043E\u0434",size1:"\u041E\u0447\u0435\u043D\u044C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439",size2:"\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439",size3:"\u041D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u044B\u0439",size4:"\u0421\u0440\u0435\u0434\u043D\u0438\u0439",size5:"\u0411\u043E\u043B\u044C\u0448\u043E\u0439",size6:"\u041E\u0447\u0435\u043D\u044C \u0431\u043E\u043B\u044C\u0448\u043E\u0439",size7:"\u041E\u0433\u0440\u043E\u043C\u043D\u044B\u0439",defaultFont:"\u0428\u0440\u0438\u0444\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",viewSource:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u043A\u043E\u0434"},tree:{noNodes:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0443\u0437\u043B\u043E\u0432",noResults:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E"}};const formatDistanceLocale$2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},formatDistance$3=(t,r,o)=>{let a;const u=formatDistanceLocale$2[t];return typeof u=="string"?a=u:r===1?a=u.one:a=u.other.replace("{{count}}",r.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+a:a+" ago":a};function buildFormatLongFn(t){return(r={})=>{const o=r.width?String(r.width):t.defaultWidth;return t.formats[o]||t.formats[t.defaultWidth]}}const dateFormats$2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},timeFormats$2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats$2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong$2={date:buildFormatLongFn({formats:dateFormats$2,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$2,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$2,defaultWidth:"full"})},formatRelativeLocale$2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},formatRelative$3=(t,r,o,a)=>formatRelativeLocale$2[t];function buildLocalizeFn(t){return(r,o)=>{const a=o!=null&&o.context?String(o.context):"standalone";let u;if(a==="formatting"&&t.formattingValues){const g=t.defaultFormattingWidth||t.defaultWidth,v=o!=null&&o.width?String(o.width):g;u=t.formattingValues[v]||t.formattingValues[g]}else{const g=t.defaultWidth,v=o!=null&&o.width?String(o.width):t.defaultWidth;u=t.values[v]||t.values[g]}const d=t.argumentCallback?t.argumentCallback(r):r;return u[d]}}const eraValues$2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},quarterValues$2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},monthValues$2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dayValues$2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},formattingDayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ordinalNumber$2=(t,r)=>{const o=Number(t),a=o%100;if(a>20||a<10)switch(a%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},localize$2={ordinalNumber:ordinalNumber$2,era:buildLocalizeFn({values:eraValues$2,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues$2,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$2,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$2,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$2,defaultFormattingWidth:"wide"})};function buildMatchFn(t){return(r,o={})=>{const a=o.width,u=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],d=r.match(u);if(!d)return null;const g=d[0],v=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],y=Array.isArray(v)?findIndex(v,_=>_.test(g)):findKey(v,_=>_.test(g));let A;A=t.valueCallback?t.valueCallback(y):y,A=o.valueCallback?o.valueCallback(A):A;const b=r.slice(g.length);return{value:A,rest:b}}}function findKey(t,r){for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&r(t[o]))return o}function findIndex(t,r){for(let o=0;o{const a=r.match(t.matchPattern);if(!a)return null;const u=a[0],d=r.match(t.parsePattern);if(!d)return null;let g=t.valueCallback?t.valueCallback(d[0]):d[0];g=o.valueCallback?o.valueCallback(g):g;const v=r.slice(u.length);return{value:g,rest:v}}}const matchOrdinalNumberPattern$2=/^(\d+)(th|st|nd|rd)?/i,parseOrdinalNumberPattern$2=/\d+/i,matchEraPatterns$2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},parseEraPatterns$2={any:[/^b/i,/^(a|c)/i]},matchQuarterPatterns$2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},parseQuarterPatterns$2={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},parseMonthPatterns$2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns$2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},parseDayPatterns$2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},matchDayPeriodPatterns$2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},parseDayPeriodPatterns$2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},match$4={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$2,parsePattern:parseOrdinalNumberPattern$2,valueCallback:t=>parseInt(t,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$2,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$2,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$2,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$2,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$2,defaultParseWidth:"any"})},enUS={code:"en-US",formatDistance:formatDistance$3,formatLong:formatLong$2,formatRelative:formatRelative$3,localize:localize$2,match:match$4,options:{weekStartsOn:0,firstWeekContainsDate:1}};var dateLangEn=enUS;const formatDistanceLocale$1={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},formatDistance$2=(t,r,o)=>{let a;const u=o!=null&&o.addSuffix?formatDistanceLocale$1[t].withPreposition:formatDistanceLocale$1[t].standalone;return typeof u=="string"?a=u:r===1?a=u.one:a=u.other.replace("{{count}}",String(r)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+a:"vor "+a:a},dateFormats$1={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},timeFormats$1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dateTimeFormats$1={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},formatLong$1={date:buildFormatLongFn({formats:dateFormats$1,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$1,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$1,defaultWidth:"full"})},formatRelativeLocale$1={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},formatRelative$2=(t,r,o,a)=>formatRelativeLocale$1[t],eraValues$1={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},quarterValues$1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},monthValues$1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},formattingMonthValues$1={narrow:monthValues$1.narrow,abbreviated:["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:monthValues$1.wide},dayValues$1={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},dayPeriodValues$1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},formattingDayPeriodValues$1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},ordinalNumber$1=t=>Number(t)+".",localize$1={ordinalNumber:ordinalNumber$1,era:buildLocalizeFn({values:eraValues$1,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$1,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues$1,formattingValues:formattingMonthValues$1,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$1,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$1,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$1,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern$1=/^(\d+)(\.)?/i,parseOrdinalNumberPattern$1=/\d+/i,matchEraPatterns$1={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},parseEraPatterns$1={any:[/^v/i,/^n/i]},matchQuarterPatterns$1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},parseQuarterPatterns$1={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$1={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},parseMonthPatterns$1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns$1={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},parseDayPatterns$1={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},matchDayPeriodPatterns$1={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},parseDayPeriodPatterns$1={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},match$3={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$1,parsePattern:parseOrdinalNumberPattern$1,valueCallback:t=>parseInt(t)}),era:buildMatchFn({matchPatterns:matchEraPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$1,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$1,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$1,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$1,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPeriodPatterns$1,defaultParseWidth:"any"})},de={code:"de",formatDistance:formatDistance$2,formatLong:formatLong$1,formatRelative:formatRelative$2,localize:localize$1,match:match$3,options:{weekStartsOn:1,firstWeekContainsDate:4}};var dateLangDe=de;function declension(t,r){if(t.one!==void 0&&r===1)return t.one;const o=r%10,a=r%100;return o===1&&a!==11?t.singularNominative.replace("{{count}}",String(r)):o>=2&&o<=4&&(a<10||a>20)?t.singularGenitive.replace("{{count}}",String(r)):t.pluralGenitive.replace("{{count}}",String(r))}function buildLocalizeTokenFn(t){return(r,o)=>o!=null&&o.addSuffix?o.comparison&&o.comparison>0?t.future?declension(t.future,r):"\u0447\u0435\u0440\u0435\u0437 "+declension(t.regular,r):t.past?declension(t.past,r):declension(t.regular,r)+" \u043D\u0430\u0437\u0430\u0434":declension(t.regular,r)}const formatDistanceLocale={lessThanXSeconds:buildLocalizeTokenFn({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:(t,r)=>r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B",lessThanXMinutes:buildLocalizeTokenFn({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u043C\u0438\u043D\u0443\u0442\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),xMinutes:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442"},past:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),aboutXHours:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043E\u0432"}}),xHours:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043E\u0432"}}),xDays:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043D\u044F",pluralGenitive:"{{count}} \u0434\u043D\u0435\u0439"}}),aboutXWeeks:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044E",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),xWeeks:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044F",singularGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),aboutXMonths:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),xMonths:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),aboutXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),xYears:buildLocalizeTokenFn({regular:{singularNominative:"{{count}} \u0433\u043E\u0434",singularGenitive:"{{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"{{count}} \u043B\u0435\u0442"}}),overXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),almostXYears:buildLocalizeTokenFn({regular:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}})},formatDistance$1=(t,r,o)=>formatDistanceLocale[t](r,o),dateFormats={full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},timeFormats={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},dateTimeFormats={any:"{{date}}, {{time}}"},formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"any"})};function toDate$2(t){const r=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&r==="[object Date]"?new t.constructor(+t):typeof t=="number"||r==="[object Number]"||typeof t=="string"||r==="[object String]"?new Date(t):new Date(NaN)}let defaultOptions$1={};function getDefaultOptions$2(){return defaultOptions$1}function startOfWeek$2(t,r){var v,y,A,b,_,w,S,C;const o=getDefaultOptions$2(),a=(C=(S=(b=(A=r==null?void 0:r.weekStartsOn)!=null?A:(y=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:y.weekStartsOn)!=null?b:o.weekStartsOn)!=null?S:(w=(_=o.locale)==null?void 0:_.options)==null?void 0:w.weekStartsOn)!=null?C:0,u=toDate$2(t),d=u.getDay(),g=(d{const a=t.getDay();return isSameWeek(t,r,o)?thisWeek(a):lastWeek(a)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:(t,r,o)=>{const a=t.getDay();return isSameWeek(t,r,o)?thisWeek(a):nextWeek(a)},other:"P"},formatRelative$1=(t,r,o,a)=>{const u=formatRelativeLocale[t];return typeof u=="function"?u(r,o,a):u},eraValues={narrow:["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],abbreviated:["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],wide:["\u0434\u043E \u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B","\u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B"]},quarterValues={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},monthValues={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]},formattingMonthValues={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]},dayValues={narrow:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043A","\u043F\u043D\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"]},dayPeriodValues={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043D\u043E\u0447\u044C"}},formattingDayPeriodValues={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043D\u043E\u0447\u0438"}},ordinalNumber=(t,r)=>{const o=Number(t),a=r==null?void 0:r.unit;let u;return a==="date"?u="-\u0435":a==="week"||a==="minute"||a==="second"?u="-\u044F":u="-\u0439",o+u},localize={ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:t=>t-1}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide",formattingValues:formattingMonthValues,defaultFormattingWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"any",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parseOrdinalNumberPattern=/\d+/i,matchEraPatterns={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},parseEraPatterns={any:[/^д/i,/^н/i]},matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},parseMonthPatterns={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},matchDayPatterns={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},parseDayPatterns={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},matchDayPeriodPatterns={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},parseDayPeriodPatterns={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},match$2={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:t=>parseInt(t,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:t=>t+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})},ru={code:"ru",formatDistance:formatDistance$1,formatLong,formatRelative:formatRelative$1,localize,match:match$2,options:{weekStartsOn:1,firstWeekContainsDate:1}};var dateLangRu=ru;const langPackQuasar={en:defaultLang,de:quasarLangDe,ru:quasarLangRu},langPackDate={en:dateLangEn,de:dateLangDe,ru:dateLangRu},locale=(navigator.language||navigator.userLanguage||"en-US").substr(0,2),i18n=createI18n({legacy:!1,globalInjection:!0,locale,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1});var i18n$1=({app:t})=>{t.use(i18n);const r={"../pages/i18n/de.js":__glob_8_0,"../pages/i18n/en.js":__glob_8_1,"../pages/i18n/ru.js":__glob_8_2,"../functions/_defaults/i18n/de.js":__glob_8_3,"../functions/_defaults/i18n/en.js":__glob_8_4,"../functions/_defaults/i18n/ru.js":__glob_8_5,"../functions/blind/i18n/de.js":__glob_8_6,"../functions/blind/i18n/en.js":__glob_8_7,"../functions/blind/i18n/ru.js":__glob_8_8,"../functions/door/i18n/de.js":__glob_8_9,"../functions/door/i18n/en.js":__glob_8_10,"../functions/door/i18n/ru.js":__glob_8_11,"../functions/fan/i18n/de.js":__glob_8_12,"../functions/fan/i18n/en.js":__glob_8_13,"../functions/fan/i18n/ru.js":__glob_8_14,"../functions/heating/i18n/de.js":__glob_8_15,"../functions/heating/i18n/en.js":__glob_8_16,"../functions/heating/i18n/ru.js":__glob_8_17,"../functions/household/i18n/de.js":__glob_8_18,"../functions/household/i18n/en.js":__glob_8_19,"../functions/household/i18n/ru.js":__glob_8_20,"../functions/light/i18n/de.js":__glob_8_21,"../functions/light/i18n/en.js":__glob_8_22,"../functions/light/i18n/ru.js":__glob_8_23,"../functions/location/i18n/de.js":__glob_8_24,"../functions/location/i18n/en.js":__glob_8_25,"../functions/location/i18n/ru.js":__glob_8_26,"../functions/motion/i18n/de.js":__glob_8_27,"../functions/motion/i18n/en.js":__glob_8_28,"../functions/motion/i18n/ru.js":__glob_8_29,"../functions/mower/i18n/de.js":__glob_8_30,"../functions/mower/i18n/en.js":__glob_8_31,"../functions/mower/i18n/ru.js":__glob_8_32,"../functions/scenes/i18n/de.js":__glob_8_33,"../functions/scenes/i18n/en.js":__glob_8_34,"../functions/scenes/i18n/ru.js":__glob_8_35,"../functions/sensor/i18n/de.js":__glob_8_36,"../functions/sensor/i18n/en.js":__glob_8_37,"../functions/sensor/i18n/ru.js":__glob_8_38,"../functions/server/i18n/de.js":__glob_8_39,"../functions/server/i18n/en.js":__glob_8_40,"../functions/server/i18n/ru.js":__glob_8_41,"../functions/smoke/i18n/de.js":__glob_8_42,"../functions/smoke/i18n/en.js":__glob_8_43,"../functions/smoke/i18n/ru.js":__glob_8_44,"../functions/socket/i18n/de.js":__glob_8_45,"../functions/socket/i18n/en.js":__glob_8_46,"../functions/socket/i18n/ru.js":__glob_8_47,"../functions/speaker/i18n/de.js":__glob_8_48,"../functions/speaker/i18n/en.js":__glob_8_49,"../functions/speaker/i18n/ru.js":__glob_8_50,"../functions/switch/i18n/de.js":__glob_8_51,"../functions/switch/i18n/en.js":__glob_8_52,"../functions/switch/i18n/ru.js":__glob_8_53,"../functions/tv/i18n/de.js":__glob_8_54,"../functions/tv/i18n/en.js":__glob_8_55,"../functions/tv/i18n/ru.js":__glob_8_56,"../functions/user/i18n/de.js":__glob_8_57,"../functions/user/i18n/en.js":__glob_8_58,"../functions/user/i18n/ru.js":__glob_8_59,"../functions/vacuum/i18n/de.js":__glob_8_60,"../functions/vacuum/i18n/en.js":__glob_8_61,"../functions/vacuum/i18n/ru.js":__glob_8_62,"../functions/weather-station/i18n/de.js":__glob_8_63,"../functions/weather-station/i18n/en.js":__glob_8_64,"../functions/weather-station/i18n/ru.js":__glob_8_65,"../functions/window/i18n/de.js":__glob_8_66,"../functions/window/i18n/en.js":__glob_8_67,"../functions/window/i18n/ru.js":__glob_8_68,"../functions/window-electrical/i18n/de.js":__glob_8_69,"../functions/window-electrical/i18n/en.js":__glob_8_70,"../functions/window-electrical/i18n/ru.js":__glob_8_71,"../modules/AdapterLogs/i18n/de.js":__glob_8_72,"../modules/AdapterLogs/i18n/en.js":__glob_8_73,"../modules/AdapterLogs/i18n/ru.js":__glob_8_74,"../modules/AdapterStatus/i18n/de.js":__glob_8_75,"../modules/AdapterStatus/i18n/en.js":__glob_8_76,"../modules/AdapterStatus/i18n/ru.js":__glob_8_77,"../modules/Calendar/i18n/de.js":__glob_8_78,"../modules/Calendar/i18n/en.js":__glob_8_79,"../modules/Calendar/i18n/ru.js":__glob_8_80,"../modules/Chart/i18n/de.js":__glob_8_81,"../modules/Chart/i18n/en.js":__glob_8_82,"../modules/Chart/i18n/ru.js":__glob_8_83,"../modules/DateTime/i18n/de.js":__glob_8_84,"../modules/DateTime/i18n/en.js":__glob_8_85,"../modules/DateTime/i18n/ru.js":__glob_8_86,"../modules/DisplayImage/i18n/de.js":__glob_8_87,"../modules/DisplayImage/i18n/en.js":__glob_8_88,"../modules/DisplayImage/i18n/ru.js":__glob_8_89,"../modules/HistoryGraph/i18n/de.js":__glob_8_90,"../modules/HistoryGraph/i18n/en.js":__glob_8_91,"../modules/HistoryGraph/i18n/ru.js":__glob_8_92,"../modules/HomeKitTile/i18n/de.js":__glob_8_93,"../modules/HomeKitTile/i18n/en.js":__glob_8_94,"../modules/HomeKitTile/i18n/ru.js":__glob_8_95,"../modules/HtmlTable/i18n/de.js":__glob_8_96,"../modules/HtmlTable/i18n/en.js":__glob_8_97,"../modules/HtmlTable/i18n/ru.js":__glob_8_98,"../modules/JsonTable/i18n/de.js":__glob_8_99,"../modules/JsonTable/i18n/en.js":__glob_8_100,"../modules/JsonTable/i18n/ru.js":__glob_8_101,"../modules/Map/i18n/de.js":__glob_8_102,"../modules/Map/i18n/en.js":__glob_8_103,"../modules/Map/i18n/ru.js":__glob_8_104,"../modules/MediaControl/i18n/de.js":__glob_8_105,"../modules/MediaControl/i18n/en.js":__glob_8_106,"../modules/MediaControl/i18n/ru.js":__glob_8_107,"../modules/ScriptStatus/i18n/de.js":__glob_8_108,"../modules/ScriptStatus/i18n/en.js":__glob_8_109,"../modules/ScriptStatus/i18n/ru.js":__glob_8_110,"../modules/StateHTML/i18n/de.js":__glob_8_111,"../modules/StateHTML/i18n/en.js":__glob_8_112,"../modules/StateHTML/i18n/ru.js":__glob_8_113,"../modules/StateList/i18n/de.js":__glob_8_114,"../modules/StateList/i18n/en.js":__glob_8_115,"../modules/StateList/i18n/ru.js":__glob_8_116,"../modules/Weather/i18n/de.js":__glob_8_117,"../modules/Weather/i18n/en.js":__glob_8_118,"../modules/Weather/i18n/ru.js":__glob_8_119,"../modules/iFrame/i18n/de.js":__glob_8_120,"../modules/iFrame/i18n/en.js":__glob_8_121,"../modules/iFrame/i18n/ru.js":__glob_8_122,"../pages/Configuration/i18n/de.js":__glob_8_123,"../pages/Configuration/i18n/en.js":__glob_8_124,"../pages/Configuration/i18n/ru.js":__glob_8_125,"../pages/Notifications/i18n/de.js":__glob_8_126,"../pages/Notifications/i18n/en.js":__glob_8_127,"../pages/Notifications/i18n/ru.js":__glob_8_128,"../config/tours/configuration/i18n/de.js":__glob_8_129,"../config/tours/configuration/i18n/en.js":__glob_8_130,"../config/tours/configuration/i18n/ru.js":__glob_8_131,"../config/tours/interface/i18n/de.js":__glob_8_132,"../config/tours/interface/i18n/en.js":__glob_8_133,"../config/tours/interface/i18n/ru.js":__glob_8_134,"../config/tours/introduction/i18n/de.js":__glob_8_135,"../config/tours/introduction/i18n/en.js":__glob_8_136,"../config/tours/introduction/i18n/ru.js":__glob_8_137,"../pages/Configuration/DevicesPage/i18n/de.js":__glob_8_138,"../pages/Configuration/DevicesPage/i18n/en.js":__glob_8_139,"../pages/Configuration/DevicesPage/i18n/ru.js":__glob_8_140,"../pages/Configuration/HelpPage/i18n/de.js":__glob_8_141,"../pages/Configuration/HelpPage/i18n/en.js":__glob_8_142,"../pages/Configuration/HelpPage/i18n/ru.js":__glob_8_143,"../pages/Configuration/LayoutsPage/i18n/de.js":__glob_8_144,"../pages/Configuration/LayoutsPage/i18n/en.js":__glob_8_145,"../pages/Configuration/LayoutsPage/i18n/ru.js":__glob_8_146,"../pages/Configuration/ScriptsPage/i18n/de.js":__glob_8_147,"../pages/Configuration/ScriptsPage/i18n/en.js":__glob_8_148,"../pages/Configuration/ScriptsPage/i18n/ru.js":__glob_8_149,"../pages/Configuration/SettingsPage/i18n/de.js":__glob_8_150,"../pages/Configuration/SettingsPage/i18n/en.js":__glob_8_151,"../pages/Configuration/SettingsPage/i18n/ru.js":__glob_8_152,"../pages/Configuration/WidgetsPage/i18n/de.js":__glob_8_153,"../pages/Configuration/WidgetsPage/i18n/en.js":__glob_8_154,"../pages/Configuration/WidgetsPage/i18n/ru.js":__glob_8_155,"../pages/Configuration/DevicesPage/DevicePage/i18n/de.js":__glob_8_156,"../pages/Configuration/DevicesPage/DevicePage/i18n/en.js":__glob_8_157,"../pages/Configuration/DevicesPage/DevicePage/i18n/ru.js":__glob_8_158,"../pages/Configuration/DevicesPage/DevicesPage/i18n/de.js":__glob_8_159,"../pages/Configuration/DevicesPage/DevicesPage/i18n/en.js":__glob_8_160,"../pages/Configuration/DevicesPage/DevicesPage/i18n/ru.js":__glob_8_161,"../pages/Configuration/DevicesPage/ImportDevices/i18n/de.js":__glob_8_162,"../pages/Configuration/DevicesPage/ImportDevices/i18n/en.js":__glob_8_163,"../pages/Configuration/DevicesPage/ImportDevices/i18n/ru.js":__glob_8_164};for(const o in r){const a=o.substr(o.lastIndexOf("/")+1).replace(".js","");try{i18n.global.mergeLocaleMessage(a,r[o].default)}catch(u){console.warn(a,u)}}};function getDateLocale$1(){const t=i18n.global.locale.value||i18n.global.locale;return langPackDate[t.substr(0,2)]||langPackDate.en}var i18n$2=Object.freeze(Object.defineProperty({__proto__:null,langPackQuasar,langPackDate,i18n,locale,default:i18n$1,getDateLocale:getDateLocale$1},Symbol.toStringTag,{value:"Module"})),_export_sfc$1=(t,r)=>{const o=t.__vccOpts||t;for(const[a,u]of r)o[a]=u;return o};const _sfc_main$1D=defineComponent({name:"IconState",props:{componentId:{type:String,default:"IconState"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$n),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},deviceProperties(){return{on:"true",off:"false",...this.state&&this.state.properties||{}}},icon(){return this.stateVal!==null&&this.componentOptions[this.stateVal.toString()===this.deviceProperties.on?"iconTurnOn":"iconTurnOff"]},stateStyle(){return this.state&&this.state.stateStyle||{}},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.deviceProperties.off}}}),OPTIONS$n={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},iconTurnOn:{label:i18n.global.t("config#componentOptions#IconState#iconTurnOn#label"),value:"mdi-power",type:"icon"},iconTurnOff:{label:i18n.global.t("config#componentOptions#IconState#iconTurnOff#label"),value:"mdi-power-off",type:"icon"}},_hoisted_1$19={style:{"margin-left":"8px"}};function _sfc_render$1D(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$19,[createVNode$1(g,{"vertical-align":"middle",name:t.icon,style:normalizeStyle$1(t.stateStyle)},null,8,["name","style"])])}var IconState=_export_sfc$1(_sfc_main$1D,[["render",_sfc_render$1D]]),QItemLabel=createComponent({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(t,{slots:r}){const o=computed(()=>parseInt(t.lines,10)),a=computed(()=>"q-item__label"+(t.overline===!0?" q-item__label--overline text-overline":"")+(t.caption===!0?" q-item__label--caption text-caption":"")+(t.header===!0?" q-item__label--header":"")+(o.value===1?" ellipsis":"")),u=computed(()=>t.lines!==void 0&&o.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.value}:null);return()=>h("div",{style:u.value,class:a.value},hSlot(r.default))}});const useIoBroker=defineStore("ioBroker",{state:()=>({users:[],groups:[],meta:{},rooms:{},history:{},cloud:[],instances:{},instanceList:{}}),getters:{roomList(t){const r={};return Object.values(t.rooms).forEach(o=>{o.members.forEach(a=>{r[a]=r[a]||[],r[a].push(o.name)})}),r},enabledIoT(t){return(t.instanceList&&t.instanceList.val||[]).some(o=>o.startsWith("iot."))},enabledHistory(t){return(t.instanceList&&t.instanceList.val||[]).some(o=>o.startsWith("history.")||o.startsWith("sql.")||o.startsWith("influx."))},isHistory(t){return r=>{if(r===null)return!1;r=Array.isArray(r)?r:[r];const o=Object.keys(t.history);return o.length===0?!1:r.some(a=>o.includes(a.state||a))}},isCloud(t){return r=>r===null?!1:(r=Array.isArray(r)?r:[r],t.cloud.length===0?!1:r.some(o=>{const a=o.action&&!Array.isArray(o.action)?[o.action]:o.action||[];return a.length>0&&a.every(u=>t.cloud.includes(u))||t.cloud.includes(o.state||o)}))},getHistoryInstances(t){return(t.instanceList&&t.instanceList.val||[]).filter(o=>["history","sql","influxdb"].includes(o.substr(0,o.indexOf(".")))).map(o=>({label:o,value:o}))}},actions:{join(t,r){this[t]={...this[t]||{},...r}},set(t,r){typeof t!="string"&&r===void 0&&(r=Object.values(t)[0],t=Object.keys(t)[0]),this[t]=r}}});function encryptAllPasswords(t,r){return new Promise((o,a)=>{let u=Promise.resolve();for(const d in t){const g=t[d];typeof g=="object"?u=encryptAllPasswords(g,r).then(v=>(t[d]=v,!0)):(d==="pass"||d==="password")&&(u=encrypt(g,r).then(v=>(t[d]=v,!0)).catch(()=>{throw t[d]=null,new Error("Error encrypting "+d)}))}u.then(()=>o(t)).catch(()=>a(t))})}function verify(t,r,o,a="RSA-SHA512"){return new Promise((u,d)=>{Connection.getConnection.send("verify",[t,r,o,a],({err:v,verification:y})=>{if(v)return console.error(v),d(v);u(y)})})}function encrypt(t,r){return new Promise((o,a)=>{Connection.getConnection.send("encrypt",[t,r],({err:d,encrypted:g})=>{if(d)return console.error(t,r,g,d.message),a(d);o(g)})})}function decrypt(t,r){return new Promise((o,a)=>{Connection.getConnection.send("decrypt",[t,r],({err:d,decrypted:g})=>{if(d)return console.error(t,g,d.message),a(d);o(g)})})}var Encryption={verify,encrypt,decrypt};const _CONFIGURATION={LATEST_VERSIONS:{devices:3.2,layout:3,widgets:3.1,scripts:3.2,css:3.2},IS_DEV:()=>!1,UUID:"bfceea54-998e-4f30-adf0-d0ff894e4a54",ENCRYPTION_KEY:"KutTGsNQ8HCX$hrT9Ua5beRSs2BLVeQq",PUBLIC_KEY:["-----BEGIN PUBLIC KEY-----","MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB3DHXL321K/qm0H7pac0pZ","4hIBVgqOU3k6d8ti/gWRqrIvtC4BjFaZ5EtHD/tgPtb2eQKZFhxg/ZjQ7pgkWiqq","hs022REErUUtVFZDdovJkxQYkpqKYwjprjUMkEBna4hrugqpTfzTTOQShGULYEBB","gw9NFGff/NxTiOt4yyXFOkMJf7t8AYRWAoVpFYp5X+bI5mKEo8AzWZyKQY6n13Wx","ZWLUK9f8+ZEPgKU0LFiqMwEDwBO4af5Wqo8wdbnbWP7Ejo5qcrfOgEdGKXq9egza","ZuQy5K/b+mhtcDqtIVK1aAuGU/mBjjwCl0nft7PYMBd6pbq4c2rWCa4GRViC1reh","AgMBAAE=","-----END PUBLIC KEY-----"].join(`\r `),DEFAULT_MODULE:"StateList",ADAPTER_INSTANCE:()=>{const t=Connection.getConnection;return"jarvis.{instance}.".replace("{instance}",t.instance)},NODE_PRO:()=>get$4("ADAPTER_INSTANCE")+"info.pro",NODE_STYLES:()=>get$4("ADAPTER_INSTANCE")+"css",NODE_SCRIPTS:()=>get$4("ADAPTER_INSTANCE")+"scripts",NODE_WIDGETS:()=>get$4("ADAPTER_INSTANCE")+"widgets",NODE_LAYOUT:()=>get$4("ADAPTER_INSTANCE")+"layout",NODE_SETTINGS:()=>get$4("ADAPTER_INSTANCE")+"settings",NODE_DEVICES:()=>get$4("ADAPTER_INSTANCE")+"devices",NODE_NOTIFICATIONS:()=>get$4("ADAPTER_INSTANCE")+"notifications",DEFAULT_ADAPTERIMPORT:["deconz","hm-rpc","hmip","hue","hue-extended","shelly","zigbee","zwave2"],SUPPORTED_LANGUAGES:[{value:"de-DE",label:"Deutsch"},{value:"en-GB",label:"English"},{value:"ru-RU",label:"Russkiy / P\u0443\u0441\u0441\u043A\u0438\u0439"}]};function get$4(t){return typeof _CONFIGURATION[t]=="function"?_CONFIGURATION[t]():_CONFIGURATION[t]}var config$n={_CONFIGURATION,get:get$4};function stripHtml(t){return t.replace(/(<([^>]+)>)/gi,"")}function getIcon(t="",r=null){if(t=t||"",t=t.toString().trim(),!t)return r===null?"":{name:"",attributes:{},classes:[]};const o=Cache$1.get("icons.mdi"),a=Cache$1.get("icons.mdi.alias");t=o&&a&&!o.includes(t)&&a[t]||t;const u={},d=[];if(t.indexOf(" ")>-1){const g=t.split(" ");t=g.shift(),g.forEach(v=>{v==="blink"?u.blink=!0:v==="spin"?u.spin=!0:v==="rotate"?u.rotate=v.substr(v.lastIndexOf("-")+1):v==="flip"?u.flip=v.substr(v.lastIndexOf("-")+1):d.push(v)})}return t&&t.indexOf("data:image/")>-1&&t.startsWith("img:")===!1?t="img:"+t:t&&t.startsWith("mdi-")?t=t.replace("mdi-","mdi:"):t&&t.indexOf(":")===-1&&(t="mdi:"+t),!Pro.isPro()&&!t.startsWith("mdi:")&&!t.startsWith("img:")&&(Pro.warn("Icons: Only Material Design Icons are available to Non-Pro."),t="mdi-professional-hexagon"),r===null?t:{name:t,attributes:u,classes:d}}const icon$n=getIcon;function sortArrayOfObjects(t,r){return t.sort(function(o,a){var u=o[r],d=a[r];return ud?1:0})}function sortObjectByKey(t,r=null,o=!1){const a={};return r?Object.values(t).sort(o===!1?(u,d)=>u[r].toLowerCase().localeCompare(d[r].toLowerCase()):(u,d)=>u[r].localeCompare(d[r])).forEach(u=>{a[u.key]=t[u.key]}):Object.keys(t).sort(o===!1&&((u,d)=>u.toLowerCase().localeCompare(d.toLowerCase()))).forEach(u=>{a[u]=t[u]}),a}function sortObjectByValue(t){return Object.entries(t).sort(([,r],[,o])=>r===o?0:r>o?1:-1).reduce((r,[o,a])=>({...r,[o]:a}),{})}function allSettled(t){const r=t.map(o=>Promise.resolve(o).then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a})));return Promise.all(r)}function ucFirst(t){return t?(t=t.toString(),t.charAt(0).toUpperCase()+t.toLowerCase().slice(1)):""}function zero(t,r=2){return("0"+t).substr(-r)}function hash$3(t="",r=0){t=t==null?"":t,t=t&&typeof t!="string"?JSON.stringify(t):t;let o=3735928559^r,a=1103547991^r;for(let u=0,d;u>>16,2246822507)^Math.imul(a^a>>>13,3266489909),a=Math.imul(a^a>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),4294967296*(2097151&a)+(o>>>0)}function random(t=0,r=99){return Math.floor(Math.random()*(r-t+1)+t)}var commonjsGlobal$1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function getDefaultExportFromCjs$1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(o){var a=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:function(){return t[o]}})}),r}var sha_js={exports:{}},inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(r,o){if(o){r.super_=o;var a=function(){};a.prototype=o.prototype,r.prototype=new a,r.prototype.constructor=r}};var safeBuffer={exports:{}},buffer={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array!="undefined"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$1=0,len$1=code.length;i$10)throw new Error("Invalid string. Length must be a multiple of 4");var o=t.indexOf("=");o===-1&&(o=r);var a=o===r?0:4-o%4;return[o,a]}function byteLength(t){var r=getLens(t),o=r[0],a=r[1];return(o+a)*3/4-a}function _byteLength(t,r,o){return(r+o)*3/4-o}function toByteArray(t){var r,o=getLens(t),a=o[0],u=o[1],d=new Arr(_byteLength(t,a,u)),g=0,v=u>0?a-4:a,y;for(y=0;y>16&255,d[g++]=r>>8&255,d[g++]=r&255;return u===2&&(r=revLookup[t.charCodeAt(y)]<<2|revLookup[t.charCodeAt(y+1)]>>4,d[g++]=r&255),u===1&&(r=revLookup[t.charCodeAt(y)]<<10|revLookup[t.charCodeAt(y+1)]<<4|revLookup[t.charCodeAt(y+2)]>>2,d[g++]=r>>8&255,d[g++]=r&255),d}function tripletToBase64(t){return lookup[t>>18&63]+lookup[t>>12&63]+lookup[t>>6&63]+lookup[t&63]}function encodeChunk(t,r,o){for(var a,u=[],d=r;dv?v:g+d));return a===1?(r=t[o-1],u.push(lookup[r>>2]+lookup[r<<4&63]+"==")):a===2&&(r=(t[o-2]<<8)+t[o-1],u.push(lookup[r>>10]+lookup[r>>4&63]+lookup[r<<2&63]+"=")),u.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(t,r,o,a,u){var d,g,v=u*8-a-1,y=(1<>1,b=-7,_=o?u-1:0,w=o?-1:1,S=t[r+_];for(_+=w,d=S&(1<<-b)-1,S>>=-b,b+=v;b>0;d=d*256+t[r+_],_+=w,b-=8);for(g=d&(1<<-b)-1,d>>=-b,b+=a;b>0;g=g*256+t[r+_],_+=w,b-=8);if(d===0)d=1-A;else{if(d===y)return g?NaN:(S?-1:1)*(1/0);g=g+Math.pow(2,a),d=d-A}return(S?-1:1)*g*Math.pow(2,d-a)};ieee754.write=function(t,r,o,a,u,d){var g,v,y,A=d*8-u-1,b=(1<>1,w=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=a?0:d-1,C=a?1:-1,T=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(v=isNaN(r)?1:0,g=b):(g=Math.floor(Math.log(r)/Math.LN2),r*(y=Math.pow(2,-g))<1&&(g--,y*=2),g+_>=1?r+=w/y:r+=w*Math.pow(2,1-_),r*y>=2&&(g++,y/=2),g+_>=b?(v=0,g=b):g+_>=1?(v=(r*y-1)*Math.pow(2,u),g=g+_):(v=r*Math.pow(2,_-1)*Math.pow(2,u),g=0));u>=8;t[o+S]=v&255,S+=C,v/=256,u-=8);for(g=g<0;t[o+S]=g&255,S+=C,g/=256,A-=8);t[o+S-C]|=T*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(t){var r=base64Js,o=ieee754,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=v,t.SlowBuffer=F,t.INSPECT_MAX_BYTES=50;var u=2147483647;t.kMaxLength=u,v.TYPED_ARRAY_SUPPORT=d(),!v.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&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 d(){try{var le=new Uint8Array(1),re={foo:function(){return 42}};return Object.setPrototypeOf(re,Uint8Array.prototype),Object.setPrototypeOf(le,re),le.foo()===42}catch(ue){return!1}}Object.defineProperty(v.prototype,"parent",{enumerable:!0,get:function(){if(!!v.isBuffer(this))return this.buffer}}),Object.defineProperty(v.prototype,"offset",{enumerable:!0,get:function(){if(!!v.isBuffer(this))return this.byteOffset}});function g(le){if(le>u)throw new RangeError('The value "'+le+'" is invalid for option "size"');var re=new Uint8Array(le);return Object.setPrototypeOf(re,v.prototype),re}function v(le,re,ue){if(typeof le=="number"){if(typeof re=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(le)}return y(le,re,ue)}v.poolSize=8192;function y(le,re,ue){if(typeof le=="string")return w(le,re);if(ArrayBuffer.isView(le))return C(le);if(le==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le);if(Ce(le,ArrayBuffer)||le&&Ce(le.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ce(le,SharedArrayBuffer)||le&&Ce(le.buffer,SharedArrayBuffer)))return T(le,re,ue);if(typeof le=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var be=le.valueOf&&le.valueOf();if(be!=null&&be!==le)return v.from(be,re,ue);var ie=I(le);if(ie)return ie;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof le[Symbol.toPrimitive]=="function")return v.from(le[Symbol.toPrimitive]("string"),re,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le)}v.from=function(le,re,ue){return y(le,re,ue)},Object.setPrototypeOf(v.prototype,Uint8Array.prototype),Object.setPrototypeOf(v,Uint8Array);function A(le){if(typeof le!="number")throw new TypeError('"size" argument must be of type number');if(le<0)throw new RangeError('The value "'+le+'" is invalid for option "size"')}function b(le,re,ue){return A(le),le<=0?g(le):re!==void 0?typeof ue=="string"?g(le).fill(re,ue):g(le).fill(re):g(le)}v.alloc=function(le,re,ue){return b(le,re,ue)};function _(le){return A(le),g(le<0?0:E(le)|0)}v.allocUnsafe=function(le){return _(le)},v.allocUnsafeSlow=function(le){return _(le)};function w(le,re){if((typeof re!="string"||re==="")&&(re="utf8"),!v.isEncoding(re))throw new TypeError("Unknown encoding: "+re);var ue=O(le,re)|0,be=g(ue),ie=be.write(le,re);return ie!==ue&&(be=be.slice(0,ie)),be}function S(le){for(var re=le.length<0?0:E(le.length)|0,ue=g(re),be=0;be=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return le|0}function F(le){return+le!=le&&(le=0),v.alloc(+le)}v.isBuffer=function(re){return re!=null&&re._isBuffer===!0&&re!==v.prototype},v.compare=function(re,ue){if(Ce(re,Uint8Array)&&(re=v.from(re,re.offset,re.byteLength)),Ce(ue,Uint8Array)&&(ue=v.from(ue,ue.offset,ue.byteLength)),!v.isBuffer(re)||!v.isBuffer(ue))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(re===ue)return 0;for(var be=re.length,ie=ue.length,oe=0,me=Math.min(be,ie);oeie.length?v.from(me).copy(ie,oe):Uint8Array.prototype.set.call(ie,me,oe);else if(v.isBuffer(me))me.copy(ie,oe);else throw new TypeError('"list" argument must be an Array of Buffers');oe+=me.length}return ie};function O(le,re){if(v.isBuffer(le))return le.length;if(ArrayBuffer.isView(le)||Ce(le,ArrayBuffer))return le.byteLength;if(typeof le!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof le);var ue=le.length,be=arguments.length>2&&arguments[2]===!0;if(!be&&ue===0)return 0;for(var ie=!1;;)switch(re){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return ae(le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue*2;case"hex":return ue>>>1;case"base64":return _e(le).length;default:if(ie)return be?-1:ae(le).length;re=(""+re).toLowerCase(),ie=!0}}v.byteLength=O;function D(le,re,ue){var be=!1;if((re===void 0||re<0)&&(re=0),re>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,re>>>=0,ue<=re))return"";for(le||(le="utf8");;)switch(le){case"hex":return ne(this,re,ue);case"utf8":case"utf-8":return z(this,re,ue);case"ascii":return X(this,re,ue);case"latin1":case"binary":return J(this,re,ue);case"base64":return B(this,re,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,re,ue);default:if(be)throw new TypeError("Unknown encoding: "+le);le=(le+"").toLowerCase(),be=!0}}v.prototype._isBuffer=!0;function x(le,re,ue){var be=le[re];le[re]=le[ue],le[ue]=be}v.prototype.swap16=function(){var re=this.length;if(re%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ue=0;ueue&&(re+=" ... "),""},a&&(v.prototype[a]=v.prototype.inspect),v.prototype.compare=function(re,ue,be,ie,oe){if(Ce(re,Uint8Array)&&(re=v.from(re,re.offset,re.byteLength)),!v.isBuffer(re))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof re);if(ue===void 0&&(ue=0),be===void 0&&(be=re?re.length:0),ie===void 0&&(ie=0),oe===void 0&&(oe=this.length),ue<0||be>re.length||ie<0||oe>this.length)throw new RangeError("out of range index");if(ie>=oe&&ue>=be)return 0;if(ie>=oe)return-1;if(ue>=be)return 1;if(ue>>>=0,be>>>=0,ie>>>=0,oe>>>=0,this===re)return 0;for(var me=oe-ie,Se=be-ue,xe=Math.min(me,Se),De=this.slice(ie,oe),Pe=re.slice(ue,be),Be=0;Be2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,Ae(ue)&&(ue=ie?0:le.length-1),ue<0&&(ue=le.length+ue),ue>=le.length){if(ie)return-1;ue=le.length-1}else if(ue<0)if(ie)ue=0;else return-1;if(typeof re=="string"&&(re=v.from(re,be)),v.isBuffer(re))return re.length===0?-1:G(le,re,ue,be,ie);if(typeof re=="number")return re=re&255,typeof Uint8Array.prototype.indexOf=="function"?ie?Uint8Array.prototype.indexOf.call(le,re,ue):Uint8Array.prototype.lastIndexOf.call(le,re,ue):G(le,[re],ue,be,ie);throw new TypeError("val must be string, number or Buffer")}function G(le,re,ue,be,ie){var oe=1,me=le.length,Se=re.length;if(be!==void 0&&(be=String(be).toLowerCase(),be==="ucs2"||be==="ucs-2"||be==="utf16le"||be==="utf-16le")){if(le.length<2||re.length<2)return-1;oe=2,me/=2,Se/=2,ue/=2}function xe(ct,_t){return oe===1?ct[_t]:ct.readUInt16BE(_t*oe)}var De;if(ie){var Pe=-1;for(De=ue;Deme&&(ue=me-Se),De=ue;De>=0;De--){for(var Be=!0,ot=0;otie&&(be=ie)):be=ie;var oe=re.length;be>oe/2&&(be=oe/2);for(var me=0;me>>0,isFinite(be)?(be=be>>>0,ie===void 0&&(ie="utf8")):(ie=be,be=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-ue;if((be===void 0||be>oe)&&(be=oe),re.length>0&&(be<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");ie||(ie="utf8");for(var me=!1;;)switch(ie){case"hex":return M(this,re,ue,be);case"utf8":case"utf-8":return N(this,re,ue,be);case"ascii":case"latin1":case"binary":return V(this,re,ue,be);case"base64":return Y(this,re,ue,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,re,ue,be);default:if(me)throw new TypeError("Unknown encoding: "+ie);ie=(""+ie).toLowerCase(),me=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(le,re,ue){return re===0&&ue===le.length?r.fromByteArray(le):r.fromByteArray(le.slice(re,ue))}function z(le,re,ue){ue=Math.min(le.length,ue);for(var be=[],ie=re;ie239?4:oe>223?3:oe>191?2:1;if(ie+Se<=ue){var xe,De,Pe,Be;switch(Se){case 1:oe<128&&(me=oe);break;case 2:xe=le[ie+1],(xe&192)===128&&(Be=(oe&31)<<6|xe&63,Be>127&&(me=Be));break;case 3:xe=le[ie+1],De=le[ie+2],(xe&192)===128&&(De&192)===128&&(Be=(oe&15)<<12|(xe&63)<<6|De&63,Be>2047&&(Be<55296||Be>57343)&&(me=Be));break;case 4:xe=le[ie+1],De=le[ie+2],Pe=le[ie+3],(xe&192)===128&&(De&192)===128&&(Pe&192)===128&&(Be=(oe&15)<<18|(xe&63)<<12|(De&63)<<6|Pe&63,Be>65535&&Be<1114112&&(me=Be))}}me===null?(me=65533,Se=1):me>65535&&(me-=65536,be.push(me>>>10&1023|55296),me=56320|me&1023),be.push(me),ie+=Se}return Q(be)}var U=4096;function Q(le){var re=le.length;if(re<=U)return String.fromCharCode.apply(String,le);for(var ue="",be=0;bebe)&&(ue=be);for(var ie="",oe=re;oebe&&(re=be),ue<0?(ue+=be,ue<0&&(ue=0)):ue>be&&(ue=be),ueue)throw new RangeError("Trying to access beyond buffer length")}v.prototype.readUintLE=v.prototype.readUIntLE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re],oe=1,me=0;++me>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re+--ue],oe=1;ue>0&&(oe*=256);)ie+=this[re+--ue]*oe;return ie},v.prototype.readUint8=v.prototype.readUInt8=function(re,ue){return re=re>>>0,ue||ce(re,1,this.length),this[re]},v.prototype.readUint16LE=v.prototype.readUInt16LE=function(re,ue){return re=re>>>0,ue||ce(re,2,this.length),this[re]|this[re+1]<<8},v.prototype.readUint16BE=v.prototype.readUInt16BE=function(re,ue){return re=re>>>0,ue||ce(re,2,this.length),this[re]<<8|this[re+1]},v.prototype.readUint32LE=v.prototype.readUInt32LE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),(this[re]|this[re+1]<<8|this[re+2]<<16)+this[re+3]*16777216},v.prototype.readUint32BE=v.prototype.readUInt32BE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]*16777216+(this[re+1]<<16|this[re+2]<<8|this[re+3])},v.prototype.readIntLE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re],oe=1,me=0;++me=oe&&(ie-=Math.pow(2,8*ue)),ie},v.prototype.readIntBE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=ue,oe=1,me=this[re+--ie];ie>0&&(oe*=256);)me+=this[re+--ie]*oe;return oe*=128,me>=oe&&(me-=Math.pow(2,8*ue)),me},v.prototype.readInt8=function(re,ue){return re=re>>>0,ue||ce(re,1,this.length),this[re]&128?(255-this[re]+1)*-1:this[re]},v.prototype.readInt16LE=function(re,ue){re=re>>>0,ue||ce(re,2,this.length);var be=this[re]|this[re+1]<<8;return be&32768?be|4294901760:be},v.prototype.readInt16BE=function(re,ue){re=re>>>0,ue||ce(re,2,this.length);var be=this[re+1]|this[re]<<8;return be&32768?be|4294901760:be},v.prototype.readInt32LE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]|this[re+1]<<8|this[re+2]<<16|this[re+3]<<24},v.prototype.readInt32BE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]<<24|this[re+1]<<16|this[re+2]<<8|this[re+3]},v.prototype.readFloatLE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),o.read(this,re,!0,23,4)},v.prototype.readFloatBE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),o.read(this,re,!1,23,4)},v.prototype.readDoubleLE=function(re,ue){return re=re>>>0,ue||ce(re,8,this.length),o.read(this,re,!0,52,8)},v.prototype.readDoubleBE=function(re,ue){return re=re>>>0,ue||ce(re,8,this.length),o.read(this,re,!1,52,8)};function se(le,re,ue,be,ie,oe){if(!v.isBuffer(le))throw new TypeError('"buffer" argument must be a Buffer instance');if(re>ie||rele.length)throw new RangeError("Index out of range")}v.prototype.writeUintLE=v.prototype.writeUIntLE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,be=be>>>0,!ie){var oe=Math.pow(2,8*be)-1;se(this,re,ue,be,oe,0)}var me=1,Se=0;for(this[ue]=re&255;++Se>>0,be=be>>>0,!ie){var oe=Math.pow(2,8*be)-1;se(this,re,ue,be,oe,0)}var me=be-1,Se=1;for(this[ue+me]=re&255;--me>=0&&(Se*=256);)this[ue+me]=re/Se&255;return ue+be},v.prototype.writeUint8=v.prototype.writeUInt8=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,1,255,0),this[ue]=re&255,ue+1},v.prototype.writeUint16LE=v.prototype.writeUInt16LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,65535,0),this[ue]=re&255,this[ue+1]=re>>>8,ue+2},v.prototype.writeUint16BE=v.prototype.writeUInt16BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,65535,0),this[ue]=re>>>8,this[ue+1]=re&255,ue+2},v.prototype.writeUint32LE=v.prototype.writeUInt32LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,4294967295,0),this[ue+3]=re>>>24,this[ue+2]=re>>>16,this[ue+1]=re>>>8,this[ue]=re&255,ue+4},v.prototype.writeUint32BE=v.prototype.writeUInt32BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,4294967295,0),this[ue]=re>>>24,this[ue+1]=re>>>16,this[ue+2]=re>>>8,this[ue+3]=re&255,ue+4},v.prototype.writeIntLE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,!ie){var oe=Math.pow(2,8*be-1);se(this,re,ue,be,oe-1,-oe)}var me=0,Se=1,xe=0;for(this[ue]=re&255;++me>0)-xe&255;return ue+be},v.prototype.writeIntBE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,!ie){var oe=Math.pow(2,8*be-1);se(this,re,ue,be,oe-1,-oe)}var me=be-1,Se=1,xe=0;for(this[ue+me]=re&255;--me>=0&&(Se*=256);)re<0&&xe===0&&this[ue+me+1]!==0&&(xe=1),this[ue+me]=(re/Se>>0)-xe&255;return ue+be},v.prototype.writeInt8=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,1,127,-128),re<0&&(re=255+re+1),this[ue]=re&255,ue+1},v.prototype.writeInt16LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,32767,-32768),this[ue]=re&255,this[ue+1]=re>>>8,ue+2},v.prototype.writeInt16BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,32767,-32768),this[ue]=re>>>8,this[ue+1]=re&255,ue+2},v.prototype.writeInt32LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,2147483647,-2147483648),this[ue]=re&255,this[ue+1]=re>>>8,this[ue+2]=re>>>16,this[ue+3]=re>>>24,ue+4},v.prototype.writeInt32BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,2147483647,-2147483648),re<0&&(re=4294967295+re+1),this[ue]=re>>>24,this[ue+1]=re>>>16,this[ue+2]=re>>>8,this[ue+3]=re&255,ue+4};function ge(le,re,ue,be,ie,oe){if(ue+be>le.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function he(le,re,ue,be,ie){return re=+re,ue=ue>>>0,ie||ge(le,re,ue,4),o.write(le,re,ue,be,23,4),ue+4}v.prototype.writeFloatLE=function(re,ue,be){return he(this,re,ue,!0,be)},v.prototype.writeFloatBE=function(re,ue,be){return he(this,re,ue,!1,be)};function ye(le,re,ue,be,ie){return re=+re,ue=ue>>>0,ie||ge(le,re,ue,8),o.write(le,re,ue,be,52,8),ue+8}v.prototype.writeDoubleLE=function(re,ue,be){return ye(this,re,ue,!0,be)},v.prototype.writeDoubleBE=function(re,ue,be){return ye(this,re,ue,!1,be)},v.prototype.copy=function(re,ue,be,ie){if(!v.isBuffer(re))throw new TypeError("argument should be a Buffer");if(be||(be=0),!ie&&ie!==0&&(ie=this.length),ue>=re.length&&(ue=re.length),ue||(ue=0),ie>0&&ie=this.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("sourceEnd out of bounds");ie>this.length&&(ie=this.length),re.length-ue>>0,be=be===void 0?this.length:be>>>0,re||(re=0);var me;if(typeof re=="number")for(me=ue;me55295&&ue<57344){if(!ie){if(ue>56319){(re-=3)>-1&&oe.push(239,191,189);continue}else if(me+1===be){(re-=3)>-1&&oe.push(239,191,189);continue}ie=ue;continue}if(ue<56320){(re-=3)>-1&&oe.push(239,191,189),ie=ue;continue}ue=(ie-55296<<10|ue-56320)+65536}else ie&&(re-=3)>-1&&oe.push(239,191,189);if(ie=null,ue<128){if((re-=1)<0)break;oe.push(ue)}else if(ue<2048){if((re-=2)<0)break;oe.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((re-=3)<0)break;oe.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((re-=4)<0)break;oe.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error("Invalid code point")}return oe}function ve(le){for(var re=[],ue=0;ue>8,ie=ue%256,oe.push(ie),oe.push(be);return oe}function _e(le){return r.toByteArray(pe(le))}function Te(le,re,ue,be){for(var ie=0;ie=re.length||ie>=le.length);++ie)re[ie+ue]=le[ie];return ie}function Ce(le,re){return le instanceof re||le!=null&&le.constructor!=null&&le.constructor.name!=null&&le.constructor.name===re.name}function Ae(le){return le!==le}var Ee=function(){for(var le="0123456789abcdef",re=new Array(256),ue=0;ue<16;++ue)for(var be=ue*16,ie=0;ie<16;++ie)re[be+ie]=le[ue]+le[ie];return re}()})(buffer);/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(t,r){var o=buffer,a=o.Buffer;function u(g,v){for(var y in g)v[y]=g[y]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=o:(u(o,r),r.Buffer=d);function d(g,v,y){return a(g,v,y)}d.prototype=Object.create(a.prototype),u(a,d),d.from=function(g,v,y){if(typeof g=="number")throw new TypeError("Argument must not be a number");return a(g,v,y)},d.alloc=function(g,v,y){if(typeof g!="number")throw new TypeError("Argument must be a number");var A=a(g);return v!==void 0?typeof y=="string"?A.fill(v,y):A.fill(v):A.fill(0),A},d.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return a(g)},d.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(g)}})(safeBuffer,safeBuffer.exports);var Buffer$7=safeBuffer.exports.Buffer;function Hash$8(t,r){this._block=Buffer$7.alloc(t),this._finalSize=r,this._blockSize=t,this._len=0}Hash$8.prototype.update=function(t,r){typeof t=="string"&&(r=r||"utf8",t=Buffer$7.from(t,r));for(var o=this._block,a=this._blockSize,u=t.length,d=this._len,g=0;g=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=this._len*8;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var a=(o&4294967295)>>>0,u=(o-a)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var d=this._hash();return t?d.toString(t):d};Hash$8.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var hash$2=Hash$8,inherits$8=inherits_browser.exports,Hash$7=hash$2,Buffer$6=safeBuffer.exports.Buffer,K$3=[1518500249,1859775393,-1894007588,-899497514],W$5=new Array(80);function Sha(){this.init(),this._w=W$5,Hash$7.call(this,64,56)}inherits$8(Sha,Hash$7);Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl5$1(t){return t<<5|t>>>27}function rotl30$1(t){return t<<30|t>>>2}function ft$1(t,r,o,a){return t===0?r&o|~r&a:t===2?r&o|r&a|o&a:r^o^a}Sha.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=0;v<16;++v)r[v]=t.readInt32BE(v*4);for(;v<80;++v)r[v]=r[v-3]^r[v-8]^r[v-14]^r[v-16];for(var y=0;y<80;++y){var A=~~(y/20),b=rotl5$1(o)+ft$1(A,a,u,d)+g+r[y]+K$3[A]|0;g=d,d=u,u=rotl30$1(a),a=o,o=b}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0};Sha.prototype._hash=function(){var t=Buffer$6.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha=Sha,inherits$7=inherits_browser.exports,Hash$6=hash$2,Buffer$5=safeBuffer.exports.Buffer,K$2=[1518500249,1859775393,-1894007588,-899497514],W$4=new Array(80);function Sha1(){this.init(),this._w=W$4,Hash$6.call(this,64,56)}inherits$7(Sha1,Hash$6);Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl1(t){return t<<1|t>>>31}function rotl5(t){return t<<5|t>>>27}function rotl30(t){return t<<30|t>>>2}function ft(t,r,o,a){return t===0?r&o|~r&a:t===2?r&o|r&a|o&a:r^o^a}Sha1.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=0;v<16;++v)r[v]=t.readInt32BE(v*4);for(;v<80;++v)r[v]=rotl1(r[v-3]^r[v-8]^r[v-14]^r[v-16]);for(var y=0;y<80;++y){var A=~~(y/20),b=rotl5(o)+ft(A,a,u,d)+g+r[y]+K$2[A]|0;g=d,d=u,u=rotl30(a),a=o,o=b}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0};Sha1.prototype._hash=function(){var t=Buffer$5.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha1=Sha1,inherits$6=inherits_browser.exports,Hash$5=hash$2,Buffer$4=safeBuffer.exports.Buffer,K$1=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W$3=new Array(64);function Sha256$1(){this.init(),this._w=W$3,Hash$5.call(this,64,56)}inherits$6(Sha256$1,Hash$5);Sha256$1.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ch(t,r,o){return o^t&(r^o)}function maj$1(t,r,o){return t&r|o&(t|r)}function sigma0$1(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function sigma1$1(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function gamma0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function gamma1(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}Sha256$1.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=this._f|0,y=this._g|0,A=this._h|0,b=0;b<16;++b)r[b]=t.readInt32BE(b*4);for(;b<64;++b)r[b]=gamma1(r[b-2])+r[b-7]+gamma0(r[b-15])+r[b-16]|0;for(var _=0;_<64;++_){var w=A+sigma1$1(g)+ch(g,v,y)+K$1[_]+r[_]|0,S=sigma0$1(o)+maj$1(o,a,u)|0;A=y,y=v,v=g,g=d+w|0,d=u,u=a,a=o,o=w+S|0}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0,this._f=v+this._f|0,this._g=y+this._g|0,this._h=A+this._h|0};Sha256$1.prototype._hash=function(){var t=Buffer$4.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};var sha256=Sha256$1,inherits$5=inherits_browser.exports,Sha256=sha256,Hash$4=hash$2,Buffer$3=safeBuffer.exports.Buffer,W$2=new Array(64);function Sha224(){this.init(),this._w=W$2,Hash$4.call(this,64,56)}inherits$5(Sha224,Sha256);Sha224.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};Sha224.prototype._hash=function(){var t=Buffer$3.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};var sha224=Sha224,inherits$4=inherits_browser.exports,Hash$3=hash$2,Buffer$2=safeBuffer.exports.Buffer,K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W$1=new Array(160);function Sha512(){this.init(),this._w=W$1,Hash$3.call(this,128,112)}inherits$4(Sha512,Hash$3);Sha512.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function Ch(t,r,o){return o^t&(r^o)}function maj(t,r,o){return t&r|o&(t|r)}function sigma0(t,r){return(t>>>28|r<<4)^(r>>>2|t<<30)^(r>>>7|t<<25)}function sigma1(t,r){return(t>>>14|r<<18)^(t>>>18|r<<14)^(r>>>9|t<<23)}function Gamma0(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^t>>>7}function Gamma0l(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^(t>>>7|r<<25)}function Gamma1(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^t>>>6}function Gamma1l(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^(t>>>6|r<<26)}function getCarry(t,r){return t>>>0>>0?1:0}Sha512.prototype._update=function(t){for(var r=this._w,o=this._ah|0,a=this._bh|0,u=this._ch|0,d=this._dh|0,g=this._eh|0,v=this._fh|0,y=this._gh|0,A=this._hh|0,b=this._al|0,_=this._bl|0,w=this._cl|0,S=this._dl|0,C=this._el|0,T=this._fl|0,I=this._gl|0,E=this._hl|0,F=0;F<32;F+=2)r[F]=t.readInt32BE(F*4),r[F+1]=t.readInt32BE(F*4+4);for(;F<160;F+=2){var O=r[F-30],D=r[F-15*2+1],x=Gamma0(O,D),P=Gamma0l(D,O);O=r[F-2*2],D=r[F-2*2+1];var G=Gamma1(O,D),M=Gamma1l(D,O),N=r[F-7*2],V=r[F-7*2+1],Y=r[F-16*2],H=r[F-16*2+1],B=P+V|0,z=x+N+getCarry(B,P)|0;B=B+M|0,z=z+G+getCarry(B,M)|0,B=B+H|0,z=z+Y+getCarry(B,H)|0,r[F]=z,r[F+1]=B}for(var U=0;U<160;U+=2){z=r[U],B=r[U+1];var Q=maj(o,a,u),X=maj(b,_,w),J=sigma0(o,b),ne=sigma0(b,o),te=sigma1(g,C),ce=sigma1(C,g),se=K[U],ge=K[U+1],he=Ch(g,v,y),ye=Ch(C,T,I),ee=E+ce|0,pe=A+te+getCarry(ee,E)|0;ee=ee+ye|0,pe=pe+he+getCarry(ee,ye)|0,ee=ee+ge|0,pe=pe+se+getCarry(ee,ge)|0,ee=ee+B|0,pe=pe+z+getCarry(ee,B)|0;var ae=ne+X|0,ve=J+Q+getCarry(ae,ne)|0;A=y,E=I,y=v,I=T,v=g,T=C,C=S+ee|0,g=d+pe+getCarry(C,S)|0,d=u,S=w,u=a,w=_,a=o,_=b,b=ee+ae|0,o=pe+ve+getCarry(b,ee)|0}this._al=this._al+b|0,this._bl=this._bl+_|0,this._cl=this._cl+w|0,this._dl=this._dl+S|0,this._el=this._el+C|0,this._fl=this._fl+T|0,this._gl=this._gl+I|0,this._hl=this._hl+E|0,this._ah=this._ah+o+getCarry(this._al,b)|0,this._bh=this._bh+a+getCarry(this._bl,_)|0,this._ch=this._ch+u+getCarry(this._cl,w)|0,this._dh=this._dh+d+getCarry(this._dl,S)|0,this._eh=this._eh+g+getCarry(this._el,C)|0,this._fh=this._fh+v+getCarry(this._fl,T)|0,this._gh=this._gh+y+getCarry(this._gl,I)|0,this._hh=this._hh+A+getCarry(this._hl,E)|0};Sha512.prototype._hash=function(){var t=Buffer$2.allocUnsafe(64);function r(o,a,u){t.writeInt32BE(o,u),t.writeInt32BE(a,u+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),r(this._gh,this._gl,48),r(this._hh,this._hl,56),t};var sha512=Sha512,inherits$3=inherits_browser.exports,SHA512=sha512,Hash$2=hash$2,Buffer$1=safeBuffer.exports.Buffer,W=new Array(160);function Sha384(){this.init(),this._w=W,Hash$2.call(this,128,112)}inherits$3(Sha384,SHA512);Sha384.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};Sha384.prototype._hash=function(){var t=Buffer$1.allocUnsafe(48);function r(o,a,u){t.writeInt32BE(o,u),t.writeInt32BE(a,u+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),t};var sha384=Sha384,exports$1=sha_js.exports=function(r){r=r.toLowerCase();var o=exports$1[r];if(!o)throw new Error(r+" is not supported (we accept pull requests)");return new o};exports$1.sha=sha;exports$1.sha1=sha1;exports$1.sha224=sha224;exports$1.sha256=sha256;exports$1.sha384=sha384;exports$1.sha512=sha512;var shajs=sha_js.exports;class Http{static get SERVER_URL(){return"https://www.zefau.net/jarvis/"}static token(){const r=random(1e3,9999),o=Date.now();return{token:shajs("sha256").update(o+"-"+r+"-"+config$n.get("UUID")).digest("hex"),random:r,ts:o}}static post(r,o){const a=Http.token();return axios$1.post(Http.SERVER_URL+r+".php",{...o,...a}).then(u=>u.body||u.data)}}class Pro{static getLicence(){return Pro._licence}static isPro(){return useJarvis().pro}static verify(r={}){const o=r.signature&&r.signature.replace(/ /g,""),a={...r};delete a.signature,delete a.ioBrokerId;const u=[Encryption.verify(a,o,config$n.get("PUBLIC_KEY")),Encryption.verify(a+"-invalid",o,config$n.get("PUBLIC_KEY")),Encryption.verify("eebf0d1f-8e21-48dc-94db-5bf6b03b1246","ZV02Z/6QDM/oedcYrR4LXrmSITrqzPqr+p15Yd0jaB/1TOW6ZGa8YRjTw79Tg0tqIhHDInL2gS1e9A6FxQtK0nqT0uTj3wODijEXcWJC2fwaNESgO/KM1z+bgZ/uLCyNvFauXPWsl/iKRrEt5+NEcwVg03b2hzCCvu25Y5xHFt8KRBHjhVV0rlydGA1iXqoVh/jDOLsaJKWvkFNbsUBFIFRw6Ok3n6VSvTj7uEf4nPq9jVrZM4R2PxEKAqQMEsQ1Rk9+0ltUrjcPiVN9kx4BrGLzdbaJjZy2DI2g4k3uTkp79CZffZls9ALbmt1taK7qQ1xovnMaAOdDCxZT7ZEuZw==",config$n.get("PUBLIC_KEY"))];return Promise.allSettled(u).then(d=>({verification:d[0].status==="fulfilled"&&d[0].value===!0&&d[1].status==="fulfilled"&&d[1].value===!1&&d[2].status==="fulfilled"&&d[2].value===!0,licence:{...r,signature:o}}))}static warn(r){Cache$1.get("settings",{}).hideProNotification!==!0&&(!Pro.warnings||!Pro.warnings[r])&&(Pro.warnings=Pro.warnings||{},Pro.warnings[r]=!0,Pro.notify(r,"mdi-alert","warning"))}static notify(r,o,a){const u={message:r||"Pro-Feature not enabled due to invalid licence.",icon:o||"mdi-star-remove-outline",type:a||"negative"};Notify.create(u)}static getSystemId(r){return uuidv5(JSON.stringify(r),config$n.get("UUID"))}static validate(r,o,a){console.debug("Pro","Using "+o,a);const d=Cache$1.get("settings",{}).hideProNotification,g={message:"Pro-Features not enabled due to invalid licence.",icon:"mdi-star-remove-outline",type:"negative"};if(r){if(r&&typeof r=="string")try{r=r.replace(/(?:\r\n|\r|\n)/g," ").replace(/\\ /g,"\\$& "),r=JSON.parse(r)}catch(v){return console.error("COULD NOT PARSE PRO LICENCE!",v),Notify.create(g),Promise.reject(new Error("COULD NOT PARSE PRO LICENCE!"))}}else return Promise.reject(new Error("No licence given"));return Pro.verify(r).then(({verification:v,licence:y})=>{if(y.expires=y.expires?parseInt(y.expires)*1e3:0,v===!0&&y.subscriber&&y.expiresPro.setToken(A),null,y.subscriptionId,99),v===!0&&y.subscriber&&y.expires>Date.now()-24*60*60*1e3){const A=y.subscriber.name?y.subscriber.name.given_name+" "+y.subscriber.name.surname:"";console.log("Pro","Valid Pro User: "+A),d===!1&&!Pro.notified&&(Pro.notified=!0,Notify.create({message:(A?"Welcome "+A+"! ":"")+"You are Pro!",icon:"mdi-star-check",type:"positive"})),Pro._licence=y,useJarvis().set({pro:!0})}else console.error("INVALID LICENCE!",v,y.expires>Date.now(),o,y),Cache$1.remove("pro"),Notify.create(g);return Pro.isPro})}static setToken(r,o,a={}){return new Promise((u,d)=>{if(r)return u(r);o&&Pro.pollForToken(u,d,o)}).then(u=>{Cache$1.set("pro",{...u,ioBrokerId:a});const d=Connection.getConnection,g=useIoBroker();return(g.instanceList&&g.instanceList.val||["jarvis.0"]).forEach(y=>{y.startsWith("jarvis.")&&d.setState(config$n.get("NODE_PRO").replace(config$n.get("ADAPTER_INSTANCE"),y+"."),JSON.stringify({...u,ioBrokerId:a}),!0).catch(A=>console.warn("Pro",A&&A.message||A))}),u})}static pollForToken(r,o,a,u=0){return Http.post("user/invoice",{action:"getTokenBySubscriptionId",subscriptionId:a}).then(d=>{if(d)r(d);else{if(u=u+1,u>5)return o&&o("too many attempts");setTimeout(()=>{Pro.pollForToken(r,o,a,u)},30*1e3)}}).catch(d=>{console.error("Pro",d&&d.message||d),o&&o(d)})}}var State_vue_vue_type_style_index_0_lang="";const _sfc_main$1C=defineComponent({name:"State",props:{componentId:{type:String,default:"State"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(t){const r=useIoBroker(),o=deepmerge(Functions.getDefaults(OPTIONS$m),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>t.deviceConfig&&t.deviceConfig.useColor!==!1&&t.state&&t.state.stateStyle||{}),u=computed(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";return d&&r.meta.isFloatComma?d.toString().replace(/^(-)?(\d+)\.(\d+)$/,"$1$2,$3"):d});return{sValue:u,sStyle:a,isHTML:computed(()=>u.value&&typeof u.value=="string"&&u.value.indexOf("<")!==-1&&u.value.indexOf(">")!==-1),isPro:Pro.isPro()}}}),OPTIONS$m={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"value"}},_hoisted_1$18=["innerHTML"],_hoisted_2$U={key:0,class:"jarvis-State-Label"},_hoisted_3$E={key:1,class:"jarvis-Device-Label"},_hoisted_4$u={class:"jarvis-State-Value"};function _sfc_render$1C(t,r,o,a,u,d){return withDirectives((openBlock(),createElementBlock("div",{key:t.device.key,class:normalizeClass("jarvis-"+t.componentId),style:{margin:"auto"}},[t.isHTML&&t.isPro?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(t.sStyle),innerHTML:t.sValue},null,12,_hoisted_1$18)):(openBlock(),createBlock(QItemLabel,{key:1,class:"text-wrap",style:normalizeStyle$1(t.sStyle)},{default:withCtx(()=>[t.deviceConfig.useLabel?(openBlock(),createElementBlock("span",_hoisted_2$U,toDisplayString$1(t.state.label),1)):createCommentVNode("",!0),t.deviceConfig.useDeviceLabel?(openBlock(),createElementBlock("span",_hoisted_3$E,toDisplayString$1(t.device.label||t.device.name),1)):createCommentVNode("",!0),createBaseVNode("span",_hoisted_4$u,toDisplayString$1(t.sValue)+toDisplayString$1(t.state&&t.state.unit?" "+t.state.unit:"")+toDisplayString$1(t.deviceConfig.separator?",\xA0":""),1)]),_:1},8,["style"]))],2)),[[vShow,t.deviceConfig.hideEmpty!==!0||t.deviceConfig.hideEmpty===!0&&t.sValue]])}var State$1=_export_sfc$1(_sfc_main$1C,[["render",_sfc_render$1C]]),State$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$m,default:State$1},Symbol.toStringTag,{value:"Module"})),SecondaryStates_vue_vue_type_style_index_0_lang="";const _sfc_main$1B=defineComponent({name:"SecondaryStates",props:{device:{type:Object,default:()=>({})},deviceConfig:{type:Object,default:()=>({})},alignment:{type:String,default:""}},setup(t){const r=useI18n(),o=useQuasar(),a=ref(!1),u=ref(null),d=reactive({}),g=_=>_!=null&&_!=="",v=(_,w,S,C)=>{if(a.value=!0,_)return u.value=_.message||_,console.warn("SecondaryStates",u.value),u.value;d[S]={...C}},y=computed(()=>o.dark.isActive),A=computed(()=>Object.keys(d).filter(_=>g(d[_].value)));let b=[];return t.device&&t.deviceConfig&&Array.isArray(t.deviceConfig.secondaryStatesKeys)&&t.deviceConfig.secondaryStatesKeys.length>0?t.deviceConfig.secondaryStatesKeys.forEach(_=>{d[_]={value:void 0},b=b.concat(Devices.listen(t.device.id,_,v))}):t.device||(u.value=r.t("Device {deviceId} not found").replace("{deviceId}",t.device.id),console.warn("SecondaryStates",u.value),a.value=!0),onBeforeUnmount(()=>Devices.unlisten(b)),{FUNCTIONS_COMPONENTS:Functions.Components,secondaryStates:d,secondaryStatesKeysFiltered:A,isDark:y}}});function _sfc_render$1B(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:normalizeClass(["secondaryStatesKeys wrap",t.alignment])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.secondaryStatesKeysFiltered,(g,v)=>(openBlock(),createElementBlock("div",{key:t.device.id+"-"+g,class:normalizeClass([{"q-list--dark":t.isDark},"secondaryStatesKey jarvis-secondaryStatesKey"])},[(openBlock(),createBlock(resolveDynamicComponent(t.FUNCTIONS_COMPONENTS._defaults.components.State),{class:"q-item__label q-item__label--caption text-caption",device:t.device,"device-config":{...t.deviceConfig.secondaryStatesConfig,separator:t.secondaryStatesKeysFiltered.length-1!==v},"state-key":g,state:t.secondaryStates[g]||{}},null,8,["device","device-config","state-key","state"]))],2))),128))],2)}var SecondaryStates=_export_sfc$1(_sfc_main$1B,[["render",_sfc_render$1B]]);const _sfc_main$1A=defineComponent({name:"DeviceLabel",props:{device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},isPopup:{type:Boolean,default:!1}},computed:{label(){return this.deviceConfig.label||this.state&&this.state.label||this.isPopup&&this.stateKey||this.device&&(this.device.label||this.device.name)}}});function _sfc_render$1A(t,r,o,a,u,d){return openBlock(),createBlock(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.label),1)]),_:1})}var Title=_export_sfc$1(_sfc_main$1A,[["render",_sfc_render$1A]]);function constructFrom(t,r){return t instanceof Date?new t.constructor(r):new Date(r)}function addDays$1(t,r){const o=toDate$2(t);return isNaN(r)?constructFrom(t,NaN):(r&&o.setDate(o.getDate()+r),o)}const millisecondsInWeek=6048e5,millisecondsInDay=864e5,millisecondsInMinute=6e4,millisecondsInHour=36e5,millisecondsInSecond=1e3,minutesInYear=525600,minutesInMonth=43200,minutesInDay=1440;function startOfISOWeek$1(t){return startOfWeek$2(t,{weekStartsOn:1})}function getISOWeekYear$1(t){const r=toDate$2(t),o=r.getFullYear(),a=constructFrom(t,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);const u=startOfISOWeek$1(a),d=constructFrom(t,0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);const g=startOfISOWeek$1(d);return r.getTime()>=u.getTime()?o+1:r.getTime()>=g.getTime()?o:o-1}function startOfDay(t){const r=toDate$2(t);return r.setHours(0,0,0,0),r}function getTimezoneOffsetInMilliseconds$3(t){const r=toDate$2(t),o=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return o.setUTCFullYear(r.getFullYear()),+t-+o}function differenceInCalendarDays(t,r){const o=startOfDay(t),a=startOfDay(r),u=+o-getTimezoneOffsetInMilliseconds$3(o),d=+a-getTimezoneOffsetInMilliseconds$3(a);return Math.round((u-d)/millisecondsInDay)}function startOfISOWeekYear$1(t){const r=getISOWeekYear$1(t),o=constructFrom(t,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),startOfISOWeek$1(o)}function compareAsc(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getTime()-a.getTime();return u<0?-1:u>0?1:u}function compareDesc(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getTime()-a.getTime();return u>0?-1:u<0?1:u}function constructNow(t){return constructFrom(t,Date.now())}function isDate$3(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function isValid$1(t){if(!isDate$3(t)&&typeof t!="number")return!1;const r=toDate$2(t);return!isNaN(Number(r))}function differenceInCalendarMonths(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getFullYear()-a.getFullYear(),d=o.getMonth()-a.getMonth();return u*12+d}function differenceInDays(t,r){const o=toDate$2(t),a=toDate$2(r),u=compareLocalAsc(o,a),d=Math.abs(differenceInCalendarDays(o,a));o.setDate(o.getDate()-u*d);const g=Number(compareLocalAsc(o,a)===-u),v=u*(d-g);return v===0?0:v}function compareLocalAsc(t,r){const o=t.getFullYear()-r.getFullYear()||t.getMonth()-r.getMonth()||t.getDate()-r.getDate()||t.getHours()-r.getHours()||t.getMinutes()-r.getMinutes()||t.getSeconds()-r.getSeconds()||t.getMilliseconds()-r.getMilliseconds();return o<0?-1:o>0?1:o}function getRoundingMethod(t){return r=>{const a=(t?Math[t]:Math.trunc)(r);return a===0?0:a}}function differenceInMilliseconds(t,r){return+toDate$2(t)-+toDate$2(r)}function endOfDay(t){const r=toDate$2(t);return r.setHours(23,59,59,999),r}function endOfMonth(t){const r=toDate$2(t),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(23,59,59,999),r}function isLastDayOfMonth(t){const r=toDate$2(t);return+endOfDay(r)==+endOfMonth(r)}function differenceInMonths(t,r){const o=toDate$2(t),a=toDate$2(r),u=compareAsc(o,a),d=Math.abs(differenceInCalendarMonths(o,a));let g;if(d<1)g=0;else{o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-u*d);let v=compareAsc(o,a)===-u;isLastDayOfMonth(toDate$2(t))&&d===1&&compareAsc(t,a)===1&&(v=!1),g=u*(d-Number(v))}return g===0?0:g}function differenceInSeconds(t,r,o){const a=differenceInMilliseconds(t,r)/1e3;return getRoundingMethod(o==null?void 0:o.roundingMethod)(a)}function startOfYear(t){const r=toDate$2(t),o=constructFrom(t,0);return o.setFullYear(r.getFullYear(),0,1),o.setHours(0,0,0,0),o}function getDayOfYear$2(t){const r=toDate$2(t);return differenceInCalendarDays(r,startOfYear(r))+1}function getISOWeek$1(t){const r=toDate$2(t),o=+startOfISOWeek$1(r)-+startOfISOWeekYear$1(r);return Math.round(o/millisecondsInWeek)+1}function getWeekYear$1(t,r){var b,_,w,S,C,T,I,E;const o=toDate$2(t),a=o.getFullYear(),u=getDefaultOptions$2(),d=(E=(I=(S=(w=r==null?void 0:r.firstWeekContainsDate)!=null?w:(_=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:_.firstWeekContainsDate)!=null?S:u.firstWeekContainsDate)!=null?I:(T=(C=u.locale)==null?void 0:C.options)==null?void 0:T.firstWeekContainsDate)!=null?E:1,g=constructFrom(t,0);g.setFullYear(a+1,0,d),g.setHours(0,0,0,0);const v=startOfWeek$2(g,r),y=constructFrom(t,0);y.setFullYear(a,0,d),y.setHours(0,0,0,0);const A=startOfWeek$2(y,r);return o.getTime()>=v.getTime()?a+1:o.getTime()>=A.getTime()?a:a-1}function startOfWeekYear$1(t,r){var v,y,A,b,_,w,S,C;const o=getDefaultOptions$2(),a=(C=(S=(b=(A=r==null?void 0:r.firstWeekContainsDate)!=null?A:(y=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:y.firstWeekContainsDate)!=null?b:o.firstWeekContainsDate)!=null?S:(w=(_=o.locale)==null?void 0:_.options)==null?void 0:w.firstWeekContainsDate)!=null?C:1,u=getWeekYear$1(t,r),d=constructFrom(t,0);return d.setFullYear(u,0,a),d.setHours(0,0,0,0),startOfWeek$2(d,r)}function getWeek$2(t,r){const o=toDate$2(t),a=+startOfWeek$2(o,r)-+startOfWeekYear$1(o,r);return Math.round(a/millisecondsInWeek)+1}function addLeadingZeros(t,r){const o=t<0?"-":"",a=Math.abs(t).toString().padStart(r,"0");return o+a}const lightFormatters={y(t,r){const o=t.getFullYear(),a=o>0?o:1-o;return addLeadingZeros(r==="yy"?a%100:a,r.length)},M(t,r){const o=t.getMonth();return r==="M"?String(o+1):addLeadingZeros(o+1,2)},d(t,r){return addLeadingZeros(t.getDate(),r.length)},a(t,r){const o=t.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return o.toUpperCase();case"aaa":return o;case"aaaaa":return o[0];case"aaaa":default:return o==="am"?"a.m.":"p.m."}},h(t,r){return addLeadingZeros(t.getHours()%12||12,r.length)},H(t,r){return addLeadingZeros(t.getHours(),r.length)},m(t,r){return addLeadingZeros(t.getMinutes(),r.length)},s(t,r){return addLeadingZeros(t.getSeconds(),r.length)},S(t,r){const o=r.length,a=t.getMilliseconds(),u=Math.trunc(a*Math.pow(10,o-3));return addLeadingZeros(u,r.length)}},dayPeriodEnum={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},formatters={G:function(t,r,o){const a=t.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return o.era(a,{width:"abbreviated"});case"GGGGG":return o.era(a,{width:"narrow"});case"GGGG":default:return o.era(a,{width:"wide"})}},y:function(t,r,o){if(r==="yo"){const a=t.getFullYear(),u=a>0?a:1-a;return o.ordinalNumber(u,{unit:"year"})}return lightFormatters.y(t,r)},Y:function(t,r,o,a){const u=getWeekYear$1(t,a),d=u>0?u:1-u;if(r==="YY"){const g=d%100;return addLeadingZeros(g,2)}return r==="Yo"?o.ordinalNumber(d,{unit:"year"}):addLeadingZeros(d,r.length)},R:function(t,r){const o=getISOWeekYear$1(t);return addLeadingZeros(o,r.length)},u:function(t,r){const o=t.getFullYear();return addLeadingZeros(o,r.length)},Q:function(t,r,o){const a=Math.ceil((t.getMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return addLeadingZeros(a,2);case"Qo":return o.ordinalNumber(a,{unit:"quarter"});case"QQQ":return o.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,o){const a=Math.ceil((t.getMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return addLeadingZeros(a,2);case"qo":return o.ordinalNumber(a,{unit:"quarter"});case"qqq":return o.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,o){const a=t.getMonth();switch(r){case"M":case"MM":return lightFormatters.M(t,r);case"Mo":return o.ordinalNumber(a+1,{unit:"month"});case"MMM":return o.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,o){const a=t.getMonth();switch(r){case"L":return String(a+1);case"LL":return addLeadingZeros(a+1,2);case"Lo":return o.ordinalNumber(a+1,{unit:"month"});case"LLL":return o.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,o,a){const u=getWeek$2(t,a);return r==="wo"?o.ordinalNumber(u,{unit:"week"}):addLeadingZeros(u,r.length)},I:function(t,r,o){const a=getISOWeek$1(t);return r==="Io"?o.ordinalNumber(a,{unit:"week"}):addLeadingZeros(a,r.length)},d:function(t,r,o){return r==="do"?o.ordinalNumber(t.getDate(),{unit:"date"}):lightFormatters.d(t,r)},D:function(t,r,o){const a=getDayOfYear$2(t);return r==="Do"?o.ordinalNumber(a,{unit:"dayOfYear"}):addLeadingZeros(a,r.length)},E:function(t,r,o){const a=t.getDay();switch(r){case"E":case"EE":case"EEE":return o.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(a,{width:"short",context:"formatting"});case"EEEE":default:return o.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,o,a){const u=t.getDay(),d=(u-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(d);case"ee":return addLeadingZeros(d,2);case"eo":return o.ordinalNumber(d,{unit:"day"});case"eee":return o.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(u,{width:"short",context:"formatting"});case"eeee":default:return o.day(u,{width:"wide",context:"formatting"})}},c:function(t,r,o,a){const u=t.getDay(),d=(u-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(d);case"cc":return addLeadingZeros(d,r.length);case"co":return o.ordinalNumber(d,{unit:"day"});case"ccc":return o.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(u,{width:"narrow",context:"standalone"});case"cccccc":return o.day(u,{width:"short",context:"standalone"});case"cccc":default:return o.day(u,{width:"wide",context:"standalone"})}},i:function(t,r,o){const a=t.getDay(),u=a===0?7:a;switch(r){case"i":return String(u);case"ii":return addLeadingZeros(u,r.length);case"io":return o.ordinalNumber(u,{unit:"day"});case"iii":return o.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(a,{width:"short",context:"formatting"});case"iiii":default:return o.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,o){const u=t.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,r,o){const a=t.getHours();let u;switch(a===12?u=dayPeriodEnum.noon:a===0?u=dayPeriodEnum.midnight:u=a/12>=1?"pm":"am",r){case"b":case"bb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,r,o){const a=t.getHours();let u;switch(a>=17?u=dayPeriodEnum.evening:a>=12?u=dayPeriodEnum.afternoon:a>=4?u=dayPeriodEnum.morning:u=dayPeriodEnum.night,r){case"B":case"BB":case"BBB":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,r,o){if(r==="ho"){let a=t.getHours()%12;return a===0&&(a=12),o.ordinalNumber(a,{unit:"hour"})}return lightFormatters.h(t,r)},H:function(t,r,o){return r==="Ho"?o.ordinalNumber(t.getHours(),{unit:"hour"}):lightFormatters.H(t,r)},K:function(t,r,o){const a=t.getHours()%12;return r==="Ko"?o.ordinalNumber(a,{unit:"hour"}):addLeadingZeros(a,r.length)},k:function(t,r,o){let a=t.getHours();return a===0&&(a=24),r==="ko"?o.ordinalNumber(a,{unit:"hour"}):addLeadingZeros(a,r.length)},m:function(t,r,o){return r==="mo"?o.ordinalNumber(t.getMinutes(),{unit:"minute"}):lightFormatters.m(t,r)},s:function(t,r,o){return r==="so"?o.ordinalNumber(t.getSeconds(),{unit:"second"}):lightFormatters.s(t,r)},S:function(t,r){return lightFormatters.S(t,r)},X:function(t,r,o){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return formatTimezoneWithOptionalMinutes(a);case"XXXX":case"XX":return formatTimezone$1(a);case"XXXXX":case"XXX":default:return formatTimezone$1(a,":")}},x:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"x":return formatTimezoneWithOptionalMinutes(a);case"xxxx":case"xx":return formatTimezone$1(a);case"xxxxx":case"xxx":default:return formatTimezone$1(a,":")}},O:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(a,":");case"OOOO":default:return"GMT"+formatTimezone$1(a,":")}},z:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(a,":");case"zzzz":default:return"GMT"+formatTimezone$1(a,":")}},t:function(t,r,o){const a=Math.trunc(t.getTime()/1e3);return addLeadingZeros(a,r.length)},T:function(t,r,o){const a=t.getTime();return addLeadingZeros(a,r.length)}};function formatTimezoneShort(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=Math.trunc(a/60),d=a%60;return d===0?o+String(u):o+String(u)+r+addLeadingZeros(d,2)}function formatTimezoneWithOptionalMinutes(t,r){return t%60===0?(t>0?"-":"+")+addLeadingZeros(Math.abs(t)/60,2):formatTimezone$1(t,r)}function formatTimezone$1(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=addLeadingZeros(Math.trunc(a/60),2),d=addLeadingZeros(a%60,2);return o+u+r+d}const dateLongFormatter=(t,r)=>{switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},timeLongFormatter=(t,r)=>{switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},dateTimeLongFormatter=(t,r)=>{const o=t.match(/(P+)(p+)?/)||[],a=o[1],u=o[2];if(!u)return dateLongFormatter(t,r);let d;switch(a){case"P":d=r.dateTime({width:"short"});break;case"PP":d=r.dateTime({width:"medium"});break;case"PPP":d=r.dateTime({width:"long"});break;case"PPPP":default:d=r.dateTime({width:"full"});break}return d.replace("{{date}}",dateLongFormatter(a,r)).replace("{{time}}",timeLongFormatter(u,r))},longFormatters={p:timeLongFormatter,P:dateTimeLongFormatter},dayOfYearTokenRE=/^D+$/,weekYearTokenRE=/^Y+$/,throwTokens=["D","DD","YY","YYYY"];function isProtectedDayOfYearToken(t){return dayOfYearTokenRE.test(t)}function isProtectedWeekYearToken(t){return weekYearTokenRE.test(t)}function warnOrThrowProtectedError(t,r,o){const a=message(t,r,o);if(console.warn(a),throwTokens.includes(t))throw new RangeError(a)}function message(t,r,o){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${r}\`) for formatting ${a} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const formattingTokensRegExp$1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp$1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp$1=/^'([^]*?)'?$/,doubleQuoteRegExp$1=/''/g,unescapedLatinCharacterRegExp$1=/[a-zA-Z]/;function format$3(t,r,o){var b,_,w,S,C,T,I,E,F,O,D,x,P,G,M,N,V,Y;const a=getDefaultOptions$2(),u=(_=(b=o==null?void 0:o.locale)!=null?b:a.locale)!=null?_:enUS,d=(O=(F=(T=(C=o==null?void 0:o.firstWeekContainsDate)!=null?C:(S=(w=o==null?void 0:o.locale)==null?void 0:w.options)==null?void 0:S.firstWeekContainsDate)!=null?T:a.firstWeekContainsDate)!=null?F:(E=(I=a.locale)==null?void 0:I.options)==null?void 0:E.firstWeekContainsDate)!=null?O:1,g=(Y=(V=(G=(P=o==null?void 0:o.weekStartsOn)!=null?P:(x=(D=o==null?void 0:o.locale)==null?void 0:D.options)==null?void 0:x.weekStartsOn)!=null?G:a.weekStartsOn)!=null?V:(N=(M=a.locale)==null?void 0:M.options)==null?void 0:N.weekStartsOn)!=null?Y:0,v=toDate$2(t);if(!isValid$1(v))throw new RangeError("Invalid time value");let y=r.match(longFormattingTokensRegExp$1).map(H=>{const B=H[0];if(B==="p"||B==="P"){const z=longFormatters[B];return z(H,u.formatLong)}return H}).join("").match(formattingTokensRegExp$1).map(H=>{if(H==="''")return{isToken:!1,value:"'"};const B=H[0];if(B==="'")return{isToken:!1,value:cleanEscapedString$1(H)};if(formatters[B])return{isToken:!0,value:H};if(B.match(unescapedLatinCharacterRegExp$1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");return{isToken:!1,value:H}});u.localize.preprocessor&&(y=u.localize.preprocessor(v,y));const A={firstWeekContainsDate:d,weekStartsOn:g,locale:u};return y.map(H=>{if(!H.isToken)return H.value;const B=H.value;(!(o!=null&&o.useAdditionalWeekYearTokens)&&isProtectedWeekYearToken(B)||!(o!=null&&o.useAdditionalDayOfYearTokens)&&isProtectedDayOfYearToken(B))&&warnOrThrowProtectedError(B,r,String(t));const z=formatters[B[0]];return z(v,B,u.localize,A)}).join("")}function cleanEscapedString$1(t){const r=t.match(escapedStringRegExp$1);return r?r[1].replace(doubleQuoteRegExp$1,"'"):t}function formatDistance(t,r,o){var C,T;const a=getDefaultOptions$2(),u=(T=(C=o==null?void 0:o.locale)!=null?C:a.locale)!=null?T:enUS,d=2520,g=compareAsc(t,r);if(isNaN(g))throw new RangeError("Invalid time value");const v=Object.assign({},o,{addSuffix:o==null?void 0:o.addSuffix,comparison:g});let y,A;g>0?(y=toDate$2(r),A=toDate$2(t)):(y=toDate$2(t),A=toDate$2(r));const b=differenceInSeconds(A,y),_=(getTimezoneOffsetInMilliseconds$3(A)-getTimezoneOffsetInMilliseconds$3(y))/1e3,w=Math.round((b-_)/60);let S;if(w<2)return o!=null&&o.includeSeconds?b<5?u.formatDistance("lessThanXSeconds",5,v):b<10?u.formatDistance("lessThanXSeconds",10,v):b<20?u.formatDistance("lessThanXSeconds",20,v):b<40?u.formatDistance("halfAMinute",0,v):b<60?u.formatDistance("lessThanXMinutes",1,v):u.formatDistance("xMinutes",1,v):w===0?u.formatDistance("lessThanXMinutes",1,v):u.formatDistance("xMinutes",w,v);if(w<45)return u.formatDistance("xMinutes",w,v);if(w<90)return u.formatDistance("aboutXHours",1,v);if(w0?(v=toDate$2(r),y=toDate$2(t)):(v=toDate$2(t),y=toDate$2(r));const A=getRoundingMethod((F=o==null?void 0:o.roundingMethod)!=null?F:"round"),b=y.getTime()-v.getTime(),_=b/millisecondsInMinute,w=getTimezoneOffsetInMilliseconds$3(y)-getTimezoneOffsetInMilliseconds$3(v),S=(b-w)/millisecondsInMinute,C=o==null?void 0:o.unit;let T;if(C?T=C:_<1?T="second":_<60?T="minute":_0,a=o?r:1-r;let u;if(a<=50)u=t||100;else{const d=a+50,g=Math.trunc(d/100)*100,v=t>=d%100;u=t+g-(v?100:0)}return o?u:1-u}function isLeapYearIndex$2(t){return t%400===0||t%4===0&&t%100!==0}class YearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(o,a,u){const d=g=>({year:g,isTwoDigitYear:a==="yy"});switch(a){case"y":return mapValue(parseNDigits(4,o),d);case"yo":return mapValue(u.ordinalNumber(o,{unit:"year"}),d);default:return mapValue(parseNDigits(a.length,o),d)}}validate(o,a){return a.isTwoDigitYear||a.year>0}set(o,a,u){const d=o.getFullYear();if(u.isTwoDigitYear){const v=normalizeTwoDigitYear(u.year,d);return o.setFullYear(v,0,1),o.setHours(0,0,0,0),o}const g=!("era"in a)||a.era===1?u.year:1-u.year;return o.setFullYear(g,0,1),o.setHours(0,0,0,0),o}}class LocalWeekYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(o,a,u){const d=g=>({year:g,isTwoDigitYear:a==="YY"});switch(a){case"Y":return mapValue(parseNDigits(4,o),d);case"Yo":return mapValue(u.ordinalNumber(o,{unit:"year"}),d);default:return mapValue(parseNDigits(a.length,o),d)}}validate(o,a){return a.isTwoDigitYear||a.year>0}set(o,a,u,d){const g=getWeekYear$1(o,d);if(u.isTwoDigitYear){const y=normalizeTwoDigitYear(u.year,g);return o.setFullYear(y,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),startOfWeek$2(o,d)}const v=!("era"in a)||a.era===1?u.year:1-u.year;return o.setFullYear(v,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),startOfWeek$2(o,d)}}class ISOWeekYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(o,a){return parseNDigitsSigned(a==="R"?4:a.length,o)}set(o,a,u){const d=constructFrom(o,0);return d.setFullYear(u,0,4),d.setHours(0,0,0,0),startOfISOWeek$1(d)}}class ExtendedYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(o,a){return parseNDigitsSigned(a==="u"?4:a.length,o)}set(o,a,u){return o.setFullYear(u,0,1),o.setHours(0,0,0,0),o}}class QuarterParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",120);Lt(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"Q":case"QQ":return parseNDigits(a.length,o);case"Qo":return u.ordinalNumber(o,{unit:"quarter"});case"QQQ":return u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(o,{width:"wide",context:"formatting"})||u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=1&&a<=4}set(o,a,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class StandAloneQuarterParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",120);Lt(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"q":case"qq":return parseNDigits(a.length,o);case"qo":return u.ordinalNumber(o,{unit:"quarter"});case"qqq":return u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(o,{width:"wide",context:"standalone"})||u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=1&&a<=4}set(o,a,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class MonthParser extends Parser{constructor(){super(...arguments);Lt(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);Lt(this,"priority",110)}parse(o,a,u){const d=g=>g-1;switch(a){case"M":return mapValue(parseNumericPattern(numericPatterns.month,o),d);case"MM":return mapValue(parseNDigits(2,o),d);case"Mo":return mapValue(u.ordinalNumber(o,{unit:"month"}),d);case"MMM":return u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(o,{width:"wide",context:"formatting"})||u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}class StandAloneMonthParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",110);Lt(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(o,a,u){const d=g=>g-1;switch(a){case"L":return mapValue(parseNumericPattern(numericPatterns.month,o),d);case"LL":return mapValue(parseNDigits(2,o),d);case"Lo":return mapValue(u.ordinalNumber(o,{unit:"month"}),d);case"LLL":return u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(o,{width:"wide",context:"standalone"})||u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}function setWeek(t,r,o){const a=toDate$2(t),u=getWeek$2(a,o)-r;return a.setDate(a.getDate()-u*7),a}class LocalWeekParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",100);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(o,a,u){switch(a){case"w":return parseNumericPattern(numericPatterns.week,o);case"wo":return u.ordinalNumber(o,{unit:"week"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=53}set(o,a,u,d){return startOfWeek$2(setWeek(o,u,d),d)}}function setISOWeek(t,r){const o=toDate$2(t),a=getISOWeek$1(o)-r;return o.setDate(o.getDate()-a*7),o}class ISOWeekParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",100);Lt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(o,a,u){switch(a){case"I":return parseNumericPattern(numericPatterns.week,o);case"Io":return u.ordinalNumber(o,{unit:"week"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=53}set(o,a,u){return startOfISOWeek$1(setISOWeek(o,u))}}const DAYS_IN_MONTH$1=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR$1=[31,29,31,30,31,30,31,31,30,31,30,31];class DateParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"subPriority",1);Lt(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"d":return parseNumericPattern(numericPatterns.date,o);case"do":return u.ordinalNumber(o,{unit:"date"});default:return parseNDigits(a.length,o)}}validate(o,a){const u=o.getFullYear(),d=isLeapYearIndex$2(u),g=o.getMonth();return d?a>=1&&a<=DAYS_IN_MONTH_LEAP_YEAR$1[g]:a>=1&&a<=DAYS_IN_MONTH$1[g]}set(o,a,u){return o.setDate(u),o.setHours(0,0,0,0),o}}class DayOfYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"subpriority",1);Lt(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(o,a,u){switch(a){case"D":case"DD":return parseNumericPattern(numericPatterns.dayOfYear,o);case"Do":return u.ordinalNumber(o,{unit:"date"});default:return parseNDigits(a.length,o)}}validate(o,a){const u=o.getFullYear();return isLeapYearIndex$2(u)?a>=1&&a<=366:a>=1&&a<=365}set(o,a,u){return o.setMonth(0,u),o.setHours(0,0,0,0),o}}function setDay(t,r,o){var _,w,S,C,T,I,E,F;const a=getDefaultOptions$2(),u=(F=(E=(C=(S=o==null?void 0:o.weekStartsOn)!=null?S:(w=(_=o==null?void 0:o.locale)==null?void 0:_.options)==null?void 0:w.weekStartsOn)!=null?C:a.weekStartsOn)!=null?E:(I=(T=a.locale)==null?void 0:T.options)==null?void 0:I.weekStartsOn)!=null?F:0,d=toDate$2(t),g=d.getDay(),y=(r%7+7)%7,A=7-u,b=r<0||r>6?r-(g+A)%7:(y+A)%7-(g+A)%7;return addDays$1(d,b)}class DayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"E":case"EE":case"EEE":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}class LocalDayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(o,a,u,d){const g=v=>{const y=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+y};switch(a){case"e":case"ee":return mapValue(parseNDigits(a.length,o),g);case"eo":return mapValue(u.ordinalNumber(o,{unit:"day"}),g);case"eee":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeeee":return u.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}class StandAloneLocalDayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(o,a,u,d){const g=v=>{const y=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+y};switch(a){case"c":case"cc":return mapValue(parseNDigits(a.length,o),g);case"co":return mapValue(u.ordinalNumber(o,{unit:"day"}),g);case"ccc":return u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"ccccc":return u.day(o,{width:"narrow",context:"standalone"});case"cccccc":return u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(o,{width:"wide",context:"standalone"})||u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}function setISODay(t,r){const o=toDate$2(t),a=getISODay(o),u=r-a;return addDays$1(o,u)}class ISODayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(o,a,u){const d=g=>g===0?7:g;switch(a){case"i":case"ii":return parseNDigits(a.length,o);case"io":return u.ordinalNumber(o,{unit:"day"});case"iii":return mapValue(u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiii":return mapValue(u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiiii":return mapValue(u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiii":default:return mapValue(u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d)}}validate(o,a){return a>=1&&a<=7}set(o,a,u){return o=setISODay(o,u),o.setHours(0,0,0,0),o}}class AMPMParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(o,a,u){switch(a){case"a":case"aa":case"aaa":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class AMPMMidnightParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(o,a,u){switch(a){case"b":case"bb":case"bbb":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class DayPeriodParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["a","b","t","T"])}parse(o,a,u){switch(a){case"B":case"BB":case"BBB":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class Hour1to12Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["H","K","k","t","T"])}parse(o,a,u){switch(a){case"h":return parseNumericPattern(numericPatterns.hour12h,o);case"ho":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=12}set(o,a,u){const d=o.getHours()>=12;return d&&u<12?o.setHours(u+12,0,0,0):!d&&u===12?o.setHours(0,0,0,0):o.setHours(u,0,0,0),o}}class Hour0to23Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(o,a,u){switch(a){case"H":return parseNumericPattern(numericPatterns.hour23h,o);case"Ho":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=23}set(o,a,u){return o.setHours(u,0,0,0),o}}class Hour0To11Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["h","H","k","t","T"])}parse(o,a,u){switch(a){case"K":return parseNumericPattern(numericPatterns.hour11h,o);case"Ko":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.getHours()>=12&&u<12?o.setHours(u+12,0,0,0):o.setHours(u,0,0,0),o}}class Hour1To24Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(o,a,u){switch(a){case"k":return parseNumericPattern(numericPatterns.hour24h,o);case"ko":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=24}set(o,a,u){const d=u<=24?u%24:u;return o.setHours(d,0,0,0),o}}class MinuteParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",60);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a,u){switch(a){case"m":return parseNumericPattern(numericPatterns.minute,o);case"mo":return u.ordinalNumber(o,{unit:"minute"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=59}set(o,a,u){return o.setMinutes(u,0,0),o}}class SecondParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",50);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a,u){switch(a){case"s":return parseNumericPattern(numericPatterns.second,o);case"so":return u.ordinalNumber(o,{unit:"second"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=59}set(o,a,u){return o.setSeconds(u,0),o}}class FractionOfSecondParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",30);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a){const u=d=>Math.trunc(d*Math.pow(10,-a.length+3));return mapValue(parseNDigits(a.length,o),u)}set(o,a,u){return o.setMilliseconds(u),o}}class ISOTimezoneWithZParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",10);Lt(this,"incompatibleTokens",["t","T","x"])}parse(o,a){switch(a){case"X":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,o);case"XX":return parseTimezonePattern(timezonePatterns.basic,o);case"XXXX":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,o);case"XXXXX":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,o);case"XXX":default:return parseTimezonePattern(timezonePatterns.extended,o)}}set(o,a,u){return a.timestampIsSet?o:constructFrom(o,o.getTime()-getTimezoneOffsetInMilliseconds$3(o)-u)}}class ISOTimezoneParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",10);Lt(this,"incompatibleTokens",["t","T","X"])}parse(o,a){switch(a){case"x":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,o);case"xx":return parseTimezonePattern(timezonePatterns.basic,o);case"xxxx":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,o);case"xxxxx":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,o);case"xxx":default:return parseTimezonePattern(timezonePatterns.extended,o)}}set(o,a,u){return a.timestampIsSet?o:constructFrom(o,o.getTime()-getTimezoneOffsetInMilliseconds$3(o)-u)}}class TimestampSecondsParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",40);Lt(this,"incompatibleTokens","*")}parse(o){return parseAnyDigitsSigned(o)}set(o,a,u){return[constructFrom(o,u*1e3),{timestampIsSet:!0}]}}class TimestampMillisecondsParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",20);Lt(this,"incompatibleTokens","*")}parse(o){return parseAnyDigitsSigned(o)}set(o,a,u){return[constructFrom(o,u),{timestampIsSet:!0}]}}const parsers={G:new EraParser,y:new YearParser,Y:new LocalWeekYearParser,R:new ISOWeekYearParser,u:new ExtendedYearParser,Q:new QuarterParser,q:new StandAloneQuarterParser,M:new MonthParser,L:new StandAloneMonthParser,w:new LocalWeekParser,I:new ISOWeekParser,d:new DateParser,D:new DayOfYearParser,E:new DayParser,e:new LocalDayParser,c:new StandAloneLocalDayParser,i:new ISODayParser,a:new AMPMParser,b:new AMPMMidnightParser,B:new DayPeriodParser,h:new Hour1to12Parser,H:new Hour0to23Parser,K:new Hour0To11Parser,k:new Hour1To24Parser,m:new MinuteParser,s:new SecondParser,S:new FractionOfSecondParser,X:new ISOTimezoneWithZParser,x:new ISOTimezoneParser,t:new TimestampSecondsParser,T:new TimestampMillisecondsParser},formattingTokensRegExp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp=/^'([^]*?)'?$/,doubleQuoteRegExp=/''/g,notWhitespaceRegExp=/\S/,unescapedLatinCharacterRegExp=/[a-zA-Z]/;function parse$o(t,r,o,a){var T,I,E,F,O,D,x,P,G,M,N,V,Y,H,B,z,U,Q;const u=getDefaultOptions$1(),d=(I=(T=a==null?void 0:a.locale)!=null?T:u.locale)!=null?I:enUS,g=(M=(G=(D=(O=a==null?void 0:a.firstWeekContainsDate)!=null?O:(F=(E=a==null?void 0:a.locale)==null?void 0:E.options)==null?void 0:F.firstWeekContainsDate)!=null?D:u.firstWeekContainsDate)!=null?G:(P=(x=u.locale)==null?void 0:x.options)==null?void 0:P.firstWeekContainsDate)!=null?M:1,v=(Q=(U=(H=(Y=a==null?void 0:a.weekStartsOn)!=null?Y:(V=(N=a==null?void 0:a.locale)==null?void 0:N.options)==null?void 0:V.weekStartsOn)!=null?H:u.weekStartsOn)!=null?U:(z=(B=u.locale)==null?void 0:B.options)==null?void 0:z.weekStartsOn)!=null?Q:0;if(r==="")return t===""?toDate$2(o):constructFrom(o,NaN);const y={firstWeekContainsDate:g,weekStartsOn:v,locale:d},A=[new DateToSystemTimezoneSetter],b=r.match(longFormattingTokensRegExp).map(X=>{const J=X[0];if(J in longFormatters){const ne=longFormatters[J];return ne(X,d.formatLong)}return X}).join("").match(formattingTokensRegExp),_=[];for(let X of b){!(a!=null&&a.useAdditionalWeekYearTokens)&&isProtectedWeekYearToken(X)&&warnOrThrowProtectedError(X,r,t),!(a!=null&&a.useAdditionalDayOfYearTokens)&&isProtectedDayOfYearToken(X)&&warnOrThrowProtectedError(X,r,t);const J=X[0],ne=parsers[J];if(ne){const{incompatibleTokens:te}=ne;if(Array.isArray(te)){const se=_.find(ge=>te.includes(ge.token)||ge.token===J);if(se)throw new RangeError(`The format string mustn't contain \`${se.fullToken}\` and \`${X}\` at the same time`)}else if(ne.incompatibleTokens==="*"&&_.length>0)throw new RangeError(`The format string mustn't contain \`${X}\` and any other token at the same time`);_.push({token:J,fullToken:X});const ce=ne.run(t,X,d.match,y);if(!ce)return constructFrom(o,NaN);A.push(ce.setter),t=ce.rest}else{if(J.match(unescapedLatinCharacterRegExp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");if(X==="''"?X="'":J==="'"&&(X=cleanEscapedString(X)),t.indexOf(X)===0)t=t.slice(X.length);else return constructFrom(o,NaN)}}if(t.length>0&¬WhitespaceRegExp.test(t))return constructFrom(o,NaN);const w=A.map(X=>X.priority).sort((X,J)=>J-X).filter((X,J,ne)=>ne.indexOf(X)===J).map(X=>A.filter(J=>J.priority===X).sort((J,ne)=>ne.subPriority-J.subPriority)).map(X=>X[0]);let S=toDate$2(o);if(isNaN(S.getTime()))return constructFrom(o,NaN);const C={};for(const X of w){if(!X.validate(S,y))return constructFrom(o,NaN);const J=X.set(S,C,y);Array.isArray(J)?(S=J[0],Object.assign(C,J[1])):S=J}return constructFrom(o,S)}function cleanEscapedString(t){return t.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp,"'")}function subDays(t,r){return addDays$1(t,-r)}function parseISO(t,r){var y;const o=(y=r==null?void 0:r.additionalDigits)!=null?y:2,a=splitDateString$1(t);let u;if(a.date){const A=parseYear$1(a.date,o);u=parseDate$3(A.restDateString,A.year)}if(!u||isNaN(u.getTime()))return new Date(NaN);const d=u.getTime();let g=0,v;if(a.time&&(g=parseTime$1(a.time),isNaN(g)))return new Date(NaN);if(a.timezone){if(v=parseTimezone(a.timezone),isNaN(v))return new Date(NaN)}else{const A=new Date(d+g),b=new Date(0);return b.setFullYear(A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()),b.setHours(A.getUTCHours(),A.getUTCMinutes(),A.getUTCSeconds(),A.getUTCMilliseconds()),b}return new Date(d+g+v)}const patterns$2={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString$1(t){const r={},o=t.split(patterns$2.dateTimeDelimiter);let a;if(o.length>2)return r;if(/:/.test(o[0])?a=o[0]:(r.date=o[0],a=o[1],patterns$2.timeZoneDelimiter.test(r.date)&&(r.date=t.split(patterns$2.timeZoneDelimiter)[0],a=t.substr(r.date.length,t.length))),a){const u=patterns$2.timezone.exec(a);u?(r.time=a.replace(u[1],""),r.timezone=u[1]):r.time=a}return r}function parseYear$1(t,r){const o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),a=t.match(o);if(!a)return{year:NaN,restDateString:""};const u=a[1]?parseInt(a[1]):null,d=a[2]?parseInt(a[2]):null;return{year:d===null?u:d*100,restDateString:t.slice((a[1]||a[2]).length)}}function parseDate$3(t,r){if(r===null)return new Date(NaN);const o=t.match(dateRegex);if(!o)return new Date(NaN);const a=!!o[4],u=parseDateUnit(o[1]),d=parseDateUnit(o[2])-1,g=parseDateUnit(o[3]),v=parseDateUnit(o[4]),y=parseDateUnit(o[5])-1;if(a)return validateWeekDate$1(r,v,y)?dayOfISOWeekYear$1(r,v,y):new Date(NaN);{const A=new Date(0);return!validateDate$1(r,d,g)||!validateDayOfYearDate$1(r,u)?new Date(NaN):(A.setUTCFullYear(r,d,Math.max(u,g)),A)}}function parseDateUnit(t){return t?parseInt(t):1}function parseTime$1(t){const r=t.match(timeRegex);if(!r)return NaN;const o=parseTimeUnit(r[1]),a=parseTimeUnit(r[2]),u=parseTimeUnit(r[3]);return validateTime$1(o,a,u)?o*millisecondsInHour+a*millisecondsInMinute+u*1e3:NaN}function parseTimeUnit(t){return t&&parseFloat(t.replace(",","."))||0}function parseTimezone(t){if(t==="Z")return 0;const r=t.match(timezoneRegex);if(!r)return 0;const o=r[1]==="+"?-1:1,a=parseInt(r[2]),u=r[3]&&parseInt(r[3])||0;return validateTimezone$1(a,u)?o*(a*millisecondsInHour+u*millisecondsInMinute):NaN}function dayOfISOWeekYear$1(t,r,o){const a=new Date(0);a.setUTCFullYear(t,0,4);const u=a.getUTCDay()||7,d=(r-1)*7+o+1-u;return a.setUTCDate(a.getUTCDate()+d),a}const daysInMonths$1=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex$1(t){return t%400===0||t%4===0&&t%100!==0}function validateDate$1(t,r,o){return r>=0&&r<=11&&o>=1&&o<=(daysInMonths$1[r]||(isLeapYearIndex$1(t)?29:28))}function validateDayOfYearDate$1(t,r){return r>=1&&r<=(isLeapYearIndex$1(t)?366:365)}function validateWeekDate$1(t,r,o){return r>=1&&r<=53&&o>=0&&o<=6}function validateTime$1(t,r,o){return t===24?r===0&&o===0:o>=0&&o<60&&r>=0&&r<60&&t>=0&&t<25}function validateTimezone$1(t,r){return r>=0&&r<=59}function secondsToHoursMinutesSeconds(t,r=!1){if(t===void 0)return"";if(t.toString().indexOf(":")>-1)return t;if(t=parseInt(t),r=r||t>3600,Number.isNaN(t))return r?"00:00:00":"00:00";const o="0"+Math.floor(t/3600),a="0"+Math.floor(t/60),u="0"+t%60;return r?[o.substr(-2),a.substr(-2),u.substr(-2)].join(":"):[a.substr(-2),u.substr(-2)].join(":")}function addLeadingZero(t=0,r=2){return("0"+t).substr(-r)}function format$2(t,r="dd.MM.yyyy"){try{return t=typeof t=="string"&&t.length===10?parseInt(t)*1e3:t,t=typeof t=="string"&&t.length===13?parseInt(t):t,t!==void 0?format$3(typeof t=="number"?t:typeof t=="string"?parseISO(t):new Date(t.getTime()),r,{locale:getDateLocale$1(),weekStartsOn:1}):""}catch(o){return console.warn(o&&o.message||o,t,r),t}}function relativeToNow(t){return formatRelative(t-10*1e3,Date.now(),{locale:getDateLocale$1(),includeSeconds:!0,addSuffix:!0})}function distanceToNow(t){return formatDistanceToNow(t-10*1e3,{locale:getDateLocale$1(),includeSeconds:!0,addSuffix:!0})}function distanceToNowStrict(t){return formatDistanceToNowStrict(t-10*1e3,{locale:getDateLocale$1(),addSuffix:!0})}function getWeek$1(t=new Date){return getWeek$2(t,{locale:getDateLocale$1(),weekStartsOn:1})}window.date=format$2;window.jDate=format$2;const _sfc_main$1z=defineComponent({name:"LastChangeBody",props:{componentId:{type:String,default:"LastChangeBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(t){const r=useQuasar(),o=deepmerge(Functions.getDefaults(OPTIONS$l),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>t.state[o.time]||0);let u=null,d=ref(5);const g=()=>{u&&clearTimeout(u),y();let A=1;d.value<60?A=5:d.value<3600?A=60:d.value<86400?A=60*60:d.value>=86400&&(A=6*60*60),u=setTimeout(()=>{d.value=d.value+A,g()},A*1e3)},v=ref(),y=()=>{const A=a.value;try{o.timeFormat.toLowerCase()==="distancetonow"?v.value=distanceToNow(A):o.timeFormat.toLowerCase()==="distancetonowstrict"?v.value=distanceToNowStrict(A):o.timeFormat.toLowerCase()==="relativetonow"?v.value=relativeToNow(A):v.value=format$2(A,o.timeFormat)}catch(b){console.warn("LastChangeBody",b.message),v.value=b.message}};return watch(a,()=>{y(),d.value=5,g()}),onMounted(()=>g()),onUnmounted(()=>u&&clearTimeout(u)),{isDark:computed(()=>r.dark.isActive),LastChange:a,LastChangeBody:v}}}),OPTIONS$l={time:{label:i18n.global.t("config#componentOptions#LastChangeBody#time#label"),info:i18n.global.t("config#componentOptions#LastChangeBody#time#info"),type:"Select",options:[{value:"lc",label:"Last Change"},{value:"ts",label:"Last Update"}],value:"lc"},timeFormat:{label:i18n.global.t("config#componentOptions#LastChangeBody#timeFormat#label"),info:i18n.global.t("config#componentOptions#LastChangeBody#timeFormat#info"),link:"https://date-fns.org/v3.6.0/docs/formatDistanceToNow",value:"",placeholder:({settings:t})=>t&&t.LastChangeBody||"DistanceToNow"}},_hoisted_1$17={class:"q-item__label q-item__label--caption text-caption"};function _sfc_render$1z(t,r,o,a,u,d){return withDirectives((openBlock(),createBlock(QItemLabel,{class:normalizeClass({"q-list--dark":t.isDark}),caption:""},{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$17,toDisplayString$1(t.LastChangeBody),1)]),_:1},8,["class"])),[[vShow,t.LastChange>0]])}var LastChangeBody=_export_sfc$1(_sfc_main$1z,[["render",_sfc_render$1z]]);const useFormProps={name:String};function useFormAttrs(t){return computed(()=>({type:"hidden",name:t.name,value:t.modelValue}))}function useFormInject(t={}){return(r,o,a)=>{r[o](h("input",{class:"hidden"+(a||""),...t.value}))}}function useFormInputNameAttr(t){return computed(()=>t.name||t.for)}const modifiersAll={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},directionList=Object.keys(modifiersAll);modifiersAll.all=!0;function getModifierDirections(t){const r={};for(const o of directionList)t[o]===!0&&(r[o]=!0);return Object.keys(r).length===0?modifiersAll:(r.horizontal===!0?r.left=r.right=!0:r.left===!0&&r.right===!0&&(r.horizontal=!0),r.vertical===!0?r.up=r.down=!0:r.up===!0&&r.down===!0&&(r.vertical=!0),r.horizontal===!0&&r.vertical===!0&&(r.all=!0),r)}const avoidNodeNamesList=["INPUT","TEXTAREA"];function shouldStart(t,r){return r.event===void 0&&t.target!==void 0&&t.target.draggable!==!0&&typeof r.handler=="function"&&avoidNodeNamesList.includes(t.target.nodeName.toUpperCase())===!1&&(t.qClonedBy===void 0||t.qClonedBy.indexOf(r.uid)===-1)}function clearSelection(){if(window.getSelection!==void 0){const t=window.getSelection();t.empty!==void 0?t.empty():t.removeAllRanges!==void 0&&(t.removeAllRanges(),Platform.is.mobile!==!0&&t.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}function getChanges(t,r,o){const a=position$1(t);let u,d=a.left-r.event.x,g=a.top-r.event.y,v=Math.abs(d),y=Math.abs(g);const A=r.direction;A.horizontal===!0&&A.vertical!==!0?u=d<0?"left":"right":A.horizontal!==!0&&A.vertical===!0?u=g<0?"up":"down":A.up===!0&&g<0?(u="up",v>y&&(A.left===!0&&d<0?u="left":A.right===!0&&d>0&&(u="right"))):A.down===!0&&g>0?(u="down",v>y&&(A.left===!0&&d<0?u="left":A.right===!0&&d>0&&(u="right"))):A.left===!0&&d<0?(u="left",v0&&(u="down"))):A.right===!0&&d>0&&(u="right",v0&&(u="down")));let b=!1;if(u===void 0&&o===!1){if(r.event.isFirst===!0||r.event.lastDir===void 0)return{};u=r.event.lastDir,b=!0,u==="left"||u==="right"?(a.left-=d,v=0,d=0):(a.top-=g,y=0,g=0)}return{synthetic:b,payload:{evt:t,touch:r.event.mouse!==!0,mouse:r.event.mouse===!0,position:a,direction:u,isFirst:r.event.isFirst,isFinal:o===!0,duration:Date.now()-r.event.time,distance:{x:v,y},offset:{x:d,y:g},delta:{x:a.left-r.event.lastX,y:a.top-r.event.lastY}}}}let uid$4=0;var TouchPan=createDirective({name:"touch-pan",beforeMount(t,{value:r,modifiers:o}){if(o.mouse!==!0&&client.has.touch!==!0)return;function a(d,g){o.mouse===!0&&g===!0?stopAndPrevent$1(d):(o.stop===!0&&stop$1(d),o.prevent===!0&&prevent(d))}const u={uid:"qvtp_"+uid$4++,handler:r,modifiers:o,direction:getModifierDirections(o),noop:noop$6,mouseStart(d){shouldStart(d,u)&&leftClick(d)&&(addEvt(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(d,!0))},touchStart(d){if(shouldStart(d,u)){const g=d.target;addEvt(u,"temp",[[g,"touchmove","move","notPassiveCapture"],[g,"touchcancel","end","passiveCapture"],[g,"touchend","end","passiveCapture"]]),u.start(d)}},start(d,g){if(client.is.firefox===!0&&preventDraggable(t,!0),u.lastEvt=d,g===!0||o.stop===!0){if(u.direction.all!==!0&&(g!==!0||u.modifiers.mouseAllDir!==!0&&u.modifiers.mousealldir!==!0)){const A=d.type.indexOf("mouse")!==-1?new MouseEvent(d.type,d):new TouchEvent(d.type,d);d.defaultPrevented===!0&&prevent(A),d.cancelBubble===!0&&stop$1(A),Object.assign(A,{qKeyEvent:d.qKeyEvent,qClickOutside:d.qClickOutside,qAnchorHandled:d.qAnchorHandled,qClonedBy:d.qClonedBy===void 0?[u.uid]:d.qClonedBy.concat(u.uid)}),u.initialEvent={target:d.target,event:A}}stop$1(d)}const{left:v,top:y}=position$1(d);u.event={x:v,y,time:Date.now(),mouse:g===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:v,lastY:y}},move(d){if(u.event===void 0)return;const g=position$1(d),v=g.left-u.event.x,y=g.top-u.event.y;if(v===0&&y===0)return;u.lastEvt=d;const A=u.event.mouse===!0,b=()=>{a(d,A);let S;o.preserveCursor!==!0&&o.preservecursor!==!0&&(S=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),A===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),clearSelection(),u.styleCleanup=C=>{if(u.styleCleanup=void 0,S!==void 0&&(document.documentElement.style.cursor=S),document.body.classList.remove("non-selectable"),A===!0){const T=()=>{document.body.classList.remove("no-pointer-events--children")};C!==void 0?setTimeout(()=>{T(),C()},50):T()}else C!==void 0&&C()}};if(u.event.detected===!0){u.event.isFirst!==!0&&a(d,u.event.mouse);const{payload:S,synthetic:C}=getChanges(d,u,!1);S!==void 0&&(u.handler(S)===!1?u.end(d):(u.styleCleanup===void 0&&u.event.isFirst===!0&&b(),u.event.lastX=S.position.left,u.event.lastY=S.position.top,u.event.lastDir=C===!0?void 0:S.direction,u.event.isFirst=!1));return}if(u.direction.all===!0||A===!0&&(u.modifiers.mouseAllDir===!0||u.modifiers.mousealldir===!0)){b(),u.event.detected=!0,u.move(d);return}const _=Math.abs(v),w=Math.abs(y);_!==w&&(u.direction.horizontal===!0&&_>w||u.direction.vertical===!0&&_0||u.direction.left===!0&&_>w&&v<0||u.direction.right===!0&&_>w&&v>0?(u.event.detected=!0,u.move(d)):u.end(d,!0))},end(d,g){if(u.event!==void 0){if(cleanEvt(u,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),g===!0)u.styleCleanup!==void 0&&u.styleCleanup(),u.event.detected!==!0&&u.initialEvent!==void 0&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(u.event.detected===!0){u.event.isFirst===!0&&u.handler(getChanges(d===void 0?u.lastEvt:d,u).payload);const{payload:v}=getChanges(d===void 0?u.lastEvt:d,u,!0),y=()=>{u.handler(v)};u.styleCleanup!==void 0?u.styleCleanup(y):y()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(t.__qtouchpan=u,o.mouse===!0){const d=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";addEvt(u,"main",[[t,"mousedown","mouseStart",`passive${d}`]])}client.has.touch===!0&&addEvt(u,"main",[[t,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[t,"touchmove","noop","notPassiveCapture"]])},updated(t,r){const o=t.__qtouchpan;o!==void 0&&(r.oldValue!==r.value&&(typeof value!="function"&&o.end(),o.handler=r.value),o.direction=getModifierDirections(r.modifiers))},beforeUnmount(t){const r=t.__qtouchpan;r!==void 0&&(r.event!==void 0&&r.end(),cleanEvt(r,"main"),cleanEvt(r,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),r.styleCleanup!==void 0&&r.styleCleanup(),delete t.__qtouchpan)}});const units=["B","KB","MB","GB","TB","PB"];function humanStorageSize(t,r=1){let o=0;for(;parseInt(t,10)>=1024&&o=r?a:new Array(r-a.length+1).join(o)+a}var format$1={humanStorageSize,capitalize:capitalize$1,between,normalizeToInterval,pad:pad$2};const markerPrefixClass="q-slider__marker-labels",defaultMarkerConvertFn=t=>({value:t}),defaultMarkerLabelRenderFn=({marker:t})=>h("div",{key:t.value,style:t.style,class:t.classes},t.label),keyCodes=[34,37,40,33,39,38],useSliderProps={...useDarkProps,...useFormProps,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:t=>t>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},useSliderEmits=["pan","update:modelValue","change"];function useSlider({updateValue:t,updatePosition:r,getDragging:o,formAttrs:a}){const{props:u,emit:d,slots:g,proxy:{$q:v}}=getCurrentInstance(),y=useDark(u,v),A=useFormInject(a),b=ref(!1),_=ref(!1),w=ref(!1),S=ref(!1),C=computed(()=>u.vertical===!0?"--v":"--h"),T=computed(()=>"-"+(u.switchLabelSide===!0?"switched":"standard")),I=computed(()=>u.vertical===!0?u.reverse===!0:u.reverse!==(v.lang.rtl===!0)),E=computed(()=>isNaN(u.innerMin)===!0||u.innerMinisNaN(u.innerMax)===!0||u.innerMax>u.max?u.max:u.innerMax),O=computed(()=>u.disable!==!0&&u.readonly!==!0&&E.value{if(u.step===0)return Qe=>Qe;const ke=(String(u.step).trim().split(".")[1]||"").length;return Qe=>parseFloat(Qe.toFixed(ke))}),x=computed(()=>u.step===0?1:u.step),P=computed(()=>O.value===!0?u.tabindex||0:-1),G=computed(()=>u.max-u.min),M=computed(()=>F.value-E.value),N=computed(()=>_e(E.value)),V=computed(()=>_e(F.value)),Y=computed(()=>u.vertical===!0?I.value===!0?"bottom":"top":I.value===!0?"right":"left"),H=computed(()=>u.vertical===!0?"height":"width"),B=computed(()=>u.vertical===!0?"width":"height"),z=computed(()=>u.vertical===!0?"vertical":"horizontal"),U=computed(()=>{const ke={role:"slider","aria-valuemin":E.value,"aria-valuemax":F.value,"aria-orientation":z.value,"data-step":u.step};return u.disable===!0?ke["aria-disabled"]="true":u.readonly===!0&&(ke["aria-readonly"]="true"),ke}),Q=computed(()=>`q-slider q-slider${C.value} q-slider--${b.value===!0?"":"in"}active inline no-wrap `+(u.vertical===!0?"row":"column")+(u.disable===!0?" disabled":" q-slider--enabled"+(O.value===!0?" q-slider--editable":""))+(w.value==="both"?" q-slider--focus":"")+(u.label||u.labelAlways===!0?" q-slider--label":"")+(u.labelAlways===!0?" q-slider--label-always":"")+(y.value===!0?" q-slider--dark":"")+(u.dense===!0?" q-slider--dense q-slider--dense"+C.value:""));function X(ke){const Qe="q-slider__"+ke;return`${Qe} ${Qe}${C.value} ${Qe}${C.value}${T.value}`}function J(ke){const Qe="q-slider__"+ke;return`${Qe} ${Qe}${C.value}`}const ne=computed(()=>{const ke=u.selectionColor||u.color;return"q-slider__selection absolute"+(ke!==void 0?` text-${ke}`:"")}),te=computed(()=>J("markers")+" absolute overflow-hidden"),ce=computed(()=>J("track-container")),se=computed(()=>X("pin")),ge=computed(()=>X("label")),he=computed(()=>X("text-container")),ye=computed(()=>X("marker-labels-container")+(u.markerLabelsClass!==void 0?` ${u.markerLabelsClass}`:"")),ee=computed(()=>"q-slider__track relative-position no-outline"+(u.trackColor!==void 0?` bg-${u.trackColor}`:"")),pe=computed(()=>{const ke={[B.value]:u.trackSize};return u.trackImg!==void 0&&(ke.backgroundImage=`url(${u.trackImg}) !important`),ke}),ae=computed(()=>"q-slider__inner absolute"+(u.innerTrackColor!==void 0?` bg-${u.innerTrackColor}`:"")),ve=computed(()=>{const ke=V.value-N.value,Qe={[Y.value]:`${100*N.value}%`,[H.value]:ke===0?"2px":`${100*ke}%`};return u.innerTrackImg!==void 0&&(Qe.backgroundImage=`url(${u.innerTrackImg}) !important`),Qe});function we(ke){const{min:Qe,max:yt,step:Ct}=u;let Xe=Qe+ke*(yt-Qe);if(Ct>0){const dt=(Xe-E.value)%Ct;Xe+=(Math.abs(dt)>=Ct/2?(dt<0?-1:1)*Ct:0)-dt}return Xe=D.value(Xe),between(Xe,E.value,F.value)}function _e(ke){return G.value===0?0:(ke-u.min)/G.value}function Te(ke,Qe){const yt=position$1(ke),Ct=u.vertical===!0?between((yt.top-Qe.top)/Qe.height,0,1):between((yt.left-Qe.left)/Qe.width,0,1);return between(I.value===!0?1-Ct:Ct,N.value,V.value)}const Ce=computed(()=>isNumber$6(u.markers)===!0?u.markers:x.value),Ae=computed(()=>{const ke=[],Qe=Ce.value,yt=u.max;let Ct=u.min;do ke.push(Ct),Ct+=Qe;while(Ct{const ke=` ${markerPrefixClass}${C.value}-`;return markerPrefixClass+`${ke}${u.switchMarkerLabelsSide===!0?"switched":"standard"}${ke}${I.value===!0?"rtl":"ltr"}`}),le=computed(()=>u.markerLabels===!1?null:be(u.markerLabels).map((ke,Qe)=>({index:Qe,value:ke.value,label:ke.label||ke.value,classes:Ee.value+(ke.classes!==void 0?" "+ke.classes:""),style:{...ie(ke.value),...ke.style||{}}}))),re=computed(()=>({markerList:le.value,markerMap:oe.value,classes:Ee.value,getStyle:ie})),ue=computed(()=>{const ke=M.value===0?"2px":100*Ce.value/M.value;return{...ve.value,backgroundSize:u.vertical===!0?`2px ${ke}%`:`${ke}% 2px`}});function be(ke){if(ke===!1)return null;if(ke===!0)return Ae.value.map(defaultMarkerConvertFn);if(typeof ke=="function")return Ae.value.map(yt=>{const Ct=ke(yt);return isObject$o(Ct)===!0?{...Ct,value:yt}:{value:yt,label:Ct}});const Qe=({value:yt})=>yt>=u.min&&yt<=u.max;return Array.isArray(ke)===!0?ke.map(yt=>isObject$o(yt)===!0?yt:{value:yt}).filter(Qe):Object.keys(ke).map(yt=>{const Ct=ke[yt],Xe=Number(yt);return isObject$o(Ct)===!0?{...Ct,value:Xe}:{value:Xe,label:Ct}}).filter(Qe)}function ie(ke){return{[Y.value]:`${100*(ke-u.min)/G.value}%`}}const oe=computed(()=>{if(u.markerLabels===!1)return null;const ke={};return le.value.forEach(Qe=>{ke[Qe.value]=Qe}),ke});function me(){if(g["marker-label-group"]!==void 0)return g["marker-label-group"](re.value);const ke=g["marker-label"]||defaultMarkerLabelRenderFn;return le.value.map(Qe=>ke({marker:Qe,...re.value}))}const Se=computed(()=>[[TouchPan,xe,void 0,{[z.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function xe(ke){ke.isFinal===!0?(S.value!==void 0&&(r(ke.evt),ke.touch===!0&&t(!0),S.value=void 0,d("pan","end")),b.value=!1,w.value=!1):ke.isFirst===!0?(S.value=o(ke.evt),r(ke.evt),t(),b.value=!0,d("pan","start")):(r(ke.evt),t())}function De(){w.value=!1}function Pe(ke){r(ke,o(ke)),t(),_.value=!0,b.value=!0,document.addEventListener("mouseup",Be,!0)}function Be(){_.value=!1,b.value=!1,t(!0),De(),document.removeEventListener("mouseup",Be,!0)}function ot(ke){r(ke,o(ke)),t(!0)}function ct(ke){keyCodes.includes(ke.keyCode)&&t(!0)}function _t(ke){if(u.vertical===!0)return null;const Qe=v.lang.rtl!==u.reverse?1-ke:ke;return{transform:`translateX(calc(${2*Qe-1} * ${u.thumbSize} / 2 + ${50-100*Qe}%))`}}function He(ke){const Qe=computed(()=>_.value===!1&&(w.value===ke.focusValue||w.value==="both")?" q-slider--focus":""),yt=computed(()=>`q-slider__thumb q-slider__thumb${C.value} q-slider__thumb${C.value}-${I.value===!0?"rtl":"ltr"} absolute non-selectable`+Qe.value+(ke.thumbColor.value!==void 0?` text-${ke.thumbColor.value}`:"")),Ct=computed(()=>({width:u.thumbSize,height:u.thumbSize,[Y.value]:`${100*ke.ratio.value}%`,zIndex:w.value===ke.focusValue?2:void 0})),Xe=computed(()=>ke.labelColor.value!==void 0?` text-${ke.labelColor.value}`:""),dt=computed(()=>_t(ke.ratio.value)),Re=computed(()=>"q-slider__text"+(ke.labelTextColor.value!==void 0?` text-${ke.labelTextColor.value}`:""));return()=>{const Ye=[h("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[h("path",{d:u.thumbPath})]),h("div",{class:"q-slider__focus-ring fit"})];return(u.label===!0||u.labelAlways===!0)&&(Ye.push(h("div",{class:se.value+" absolute fit no-pointer-events"+Xe.value},[h("div",{class:ge.value,style:{minWidth:u.thumbSize}},[h("div",{class:he.value,style:dt.value},[h("span",{class:Re.value},ke.label.value)])])])),u.name!==void 0&&u.disable!==!0&&A(Ye,"push")),h("div",{class:yt.value,style:Ct.value,...ke.getNodeData()},Ye)}}function Ve(ke,Qe,yt,Ct){const Xe=[];u.innerTrackColor!=="transparent"&&Xe.push(h("div",{key:"inner",class:ae.value,style:ve.value})),u.selectionColor!=="transparent"&&Xe.push(h("div",{key:"selection",class:ne.value,style:ke.value})),u.markers!==!1&&Xe.push(h("div",{key:"marker",class:te.value,style:ue.value})),Ct(Xe);const dt=[hDir("div",{key:"trackC",class:ce.value,tabindex:Qe.value,...yt.value},[h("div",{class:ee.value,style:pe.value},Xe)],"slide",O.value,()=>Se.value)];if(u.markerLabels!==!1){const Re=u.switchMarkerLabelsSide===!0?"unshift":"push";dt[Re](h("div",{key:"markerL",class:ye.value},me()))}return dt}return onBeforeUnmount(()=>{document.removeEventListener("mouseup",Be,!0)}),{state:{active:b,focus:w,preventFocus:_,dragging:S,editable:O,classes:Q,tabindex:P,attributes:U,roundValueFn:D,keyStep:x,trackLen:G,innerMin:E,innerMinRatio:N,innerMax:F,innerMaxRatio:V,positionProp:Y,sizeProp:H,isReversed:I},methods:{onActivate:Pe,onMobileClick:ot,onBlur:De,onKeyup:ct,getContent:Ve,getThumbRenderFn:He,convertRatioToModel:we,convertModelToRatio:_e,getDraggingRatio:Te}}}const getNodeData=()=>({});var QSlider=createComponent({name:"QSlider",props:{...useSliderProps,modelValue:{required:!0,default:null,validator:t=>typeof t=="number"||t===null},labelValue:[String,Number]},emits:useSliderEmits,setup(t,{emit:r}){const{proxy:{$q:o}}=getCurrentInstance(),{state:a,methods:u}=useSlider({updateValue:C,updatePosition:I,getDragging:T,formAttrs:useFormAttrs(t)}),d=ref(null),g=ref(0),v=ref(0);function y(){v.value=t.modelValue===null?a.innerMin.value:between(t.modelValue,a.innerMin.value,a.innerMax.value)}watch(()=>`${t.modelValue}|${a.innerMin.value}|${a.innerMax.value}`,y),y();const A=computed(()=>u.convertModelToRatio(v.value)),b=computed(()=>a.active.value===!0?g.value:A.value),_=computed(()=>{const O={[a.positionProp.value]:`${100*a.innerMinRatio.value}%`,[a.sizeProp.value]:`${100*(b.value-a.innerMinRatio.value)}%`};return t.selectionImg!==void 0&&(O.backgroundImage=`url(${t.selectionImg}) !important`),O}),w=u.getThumbRenderFn({focusValue:!0,getNodeData,ratio:b,label:computed(()=>t.labelValue!==void 0?t.labelValue:v.value),thumbColor:computed(()=>t.thumbColor||t.color),labelColor:computed(()=>t.labelColor),labelTextColor:computed(()=>t.labelTextColor)}),S=computed(()=>a.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:u.onMobileClick}:{onMousedown:u.onActivate,onFocus:E,onBlur:u.onBlur,onKeydown:F,onKeyup:u.onKeyup});function C(O){v.value!==t.modelValue&&r("update:modelValue",v.value),O===!0&&r("change",v.value)}function T(){return d.value.getBoundingClientRect()}function I(O,D=a.dragging.value){const x=u.getDraggingRatio(O,D);v.value=u.convertRatioToModel(x),g.value=t.snap!==!0||t.step===0?x:u.convertModelToRatio(v.value)}function E(){a.focus.value=!0}function F(O){if(!keyCodes.includes(O.keyCode))return;stopAndPrevent$1(O);const D=([34,33].includes(O.keyCode)?10:1)*a.keyStep.value,x=([34,37,40].includes(O.keyCode)?-1:1)*(a.isReversed.value===!0?-1:1)*(t.vertical===!0?-1:1)*D;v.value=between(a.roundValueFn.value(v.value+x),a.innerMin.value,a.innerMax.value),C()}return()=>{const O=u.getContent(_,a.tabindex,S,D=>{D.push(w())});return h("div",{ref:d,class:a.classes.value+(t.modelValue===null?" q-slider--no-value":""),...a.attributes.value,"aria-valuenow":t.modelValue},O)}}}),LevelBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1y=defineComponent({name:"LevelBody",props:{componentId:{type:String,default:"LevelBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],data(){return{LevelBodyMarkerLabels:{}}},computed:{isMobile(){return this.$q.platform.is.mobile},componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$k),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.config&&this.state.config.properties||{}}},LevelBodyMinMax(){const{min:t,max:r}={min:0,max:100,...this.state&&this.state.properties||{}};return{min:Math.min(t,r),max:Math.max(t,r)}},LevelBodyStep(){return parseFloat(this.componentOptions.step)||1},LevelBodyMarkerSteps(){return parseInt(this.componentOptions.markStep)||10},LevelBodyMarkers(){return this.componentOptions.showMarkersSteps?(this.LevelBodyMinMax.max-this.LevelBodyMinMax.min)/this.LevelBodyMarkerSteps:0},unit(){return this.state.unit||""},stateVal(){if(!this.state)return null;const t=this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null&&parseFloat(this.state[this.componentOptions.val]).toString().length===this.state[this.componentOptions.val].toString().length?parseFloat(this.state[this.componentOptions.val]):this.state.val;return t==null||typeof t!="number"?null:t}},watch:{LevelBodyMarkers:{immediate:!0,handler(){if(!this.componentOptions.showMarkersSteps){this.LevelBodyMarkerLabels={};return}if(Pro.isPro()&&this.componentOptions.markers)try{const fn=eval(this.componentOptions.markers);if(typeof fn!="function")throw new Error("No valid function");this.LevelBodyMarkerLabels=t=>fn(t.toString().indexOf(".")!==-1?t.toFixed(1):t,this.unit)||t.toFixed(1);return}catch(t){this.error=t.message,console.error(t.message||t)}else!Pro.isPro()&&this.componentOptions.markers&&Pro.warn("LevelBody: Callback for Marker Labels is only available to Pro!");const LevelBodyMarkerLabels={};for(let t=0;t<=this.LevelBodyMarkerSteps;t++){let r=t*this.LevelBodyMarkers+this.LevelBodyMinMax.min;r=r.toString().indexOf(".")!==-1?r.toFixed(1):r,(!this.isMobile||this.isMobile&&t%2===0)&&(LevelBodyMarkerLabels[r]=r+this.unit)}this.LevelBodyMarkerLabels=LevelBodyMarkerLabels}}},methods:{setDevice(t){this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions)}}}),OPTIONS$k={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},readonly:{label:i18n.global.t("config#componentOptions#LevelBody#readonly#label"),info:i18n.global.t("config#componentOptions#LevelBody#readonly#info"),type:"Switch",value:!1},unit:{label:i18n.global.t("config#componentOptions#LevelBody#unit#label"),info:i18n.global.t("config#componentOptions#LevelBody#unit#info"),type:"Switch",value:!1},step:{label:i18n.global.t("config#componentOptions#LevelBody#step#label"),info:i18n.global.t("config#componentOptions#LevelBody#step#info"),type:"Number",value:1},showMarkersSteps:{label:i18n.global.t("config#componentOptions#LevelBody#showMarkersSteps#label"),info:i18n.global.t("config#componentOptions#LevelBody#showMarkersSteps#info"),type:"Switch",value:!0},markStep:{label:i18n.global.t("config#componentOptions#LevelBody#markStep#label"),info:i18n.global.t("config#componentOptions#LevelBody#markStep#info"),type:"Number",value:10},markers:{label:i18n.global.t("config#componentOptions#LevelBody#markers#label"),info:i18n.global.t("config#componentOptions#LevelBody#markers#info"),placeholder:"(marker, unit) => marker"},markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:5},thumbSize:{label:i18n.global.t("config#componentOptions#LevelBody#thumbSize#label"),type:"Number",value:20}};function _sfc_render$1y(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{margin:"0 8px 1px 8px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QSlider,mergeProps({"model-value":t.stateVal,snap:"",label:""},t.LevelBodyMinMax,{step:t.LevelBodyStep,markers:t.LevelBodyMarkers,"marker-labels":t.LevelBodyMarkerLabels,"marker-labels-class":t.componentOptions.showMarkersSteps?"markersLabels nowrap":"hidden","track-size":(t.isMobile?1.2:1)*t.componentOptions.markerHeight+"px","thumb-size":(t.isMobile?1.2:1)*t.componentOptions.thumbSize+"px",readonly:t.componentOptions.readonly,onChange:t.setDevice}),null,16,["model-value","step","markers","marker-labels","marker-labels-class","track-size","thumb-size","readonly","onChange"])])}var LevelBody$2=_export_sfc$1(_sfc_main$1y,[["render",_sfc_render$1y]]),LevelBody$3=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$k,default:LevelBody$2},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1x=defineComponent({name:"CustomTextBody",props:{componentId:{type:String,default:"CustomTextBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$j),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},CustomTextBodyText(){return this.componentOptions.text}}}),OPTIONS$j={text:{label:i18n.global.t("config#componentOptions#CustomTextBody#text#label"),value:""}};function _sfc_render$1x(t,r,o,a,u,d){return openBlock(),createBlock(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.CustomTextBodyText),1)]),_:1})}var CustomTextBody=_export_sfc$1(_sfc_main$1x,[["render",_sfc_render$1x]]);function useRenderCache(){let t=Object.create(null);return{getCache:(r,o)=>t[r]===void 0?t[r]=typeof o=="function"?o():o:t[r],setCache(r,o){t[r]=o},hasCache(r){return Object.hasOwnProperty.call(t,r)},clearCache(r){r!==void 0?delete t[r]:t=Object.create(null)}}}const breaks=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function toJalaali(t,r,o){return Object.prototype.toString.call(t)==="[object Date]"&&(o=t.getDate(),r=t.getMonth()+1,t=t.getFullYear()),d2j(g2d(t,r,o))}function toGregorian(t,r,o){return d2g(j2d(t,r,o))}function isLeapJalaaliYear(t){return jalCalLeap(t)===0}function jalaaliMonthLength(t,r){return r<=6?31:r<=11||isLeapJalaaliYear(t)?30:29}function jalCalLeap(t){const r=breaks.length;let o=breaks[0],a,u,d,g,v;if(t=breaks[r-1])throw new Error("Invalid Jalaali year "+t);for(v=1;v=breaks[o-1])throw new Error("Invalid Jalaali year "+t);for(b=1;b=0){if(d<=185)return u=1+div(d,31),a=mod$1(d,31)+1,{jy:o,jm:u,jd:a};d-=186}else o-=1,d+=179,g.leap===1&&(d+=1);return u=7+div(d,30),a=mod$1(d,30)+1,{jy:o,jm:u,jd:a}}function g2d(t,r,o){let a=div((t+div(r-8,6)+100100)*1461,4)+div(153*mod$1(r+9,12)+2,5)+o-34840408;return a=a-div(div(t+100100+div(r-8,6),100)*3,4)+752,a}function d2g(t){let r=4*t+139361631;r=r+div(div(4*t+183187720,146097)*3,4)*4-3908;const o=div(mod$1(r,1461),4)*5+308,a=div(mod$1(o,153),5)+1,u=mod$1(div(o,153),12)+1;return{gy:div(r,1461)-100100+div(8-u,6),gm:u,gd:a}}function div(t,r){return~~(t/r)}function mod$1(t,r){return t-~~(t/r)*r}const calendars=["gregorian","persian"],useDatetimeProps={mask:{type:String},locale:Object,calendar:{type:String,validator:t=>calendars.includes(t),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},useDatetimeEmits=["update:modelValue"];function getDayHash(t){return t.year+"/"+pad$2(t.month)+"/"+pad$2(t.day)}function useDatetime(t,r){const o=computed(()=>t.disable!==!0&&t.readonly!==!0),a=computed(()=>o.value===!0?0:-1),u=computed(()=>{const v=[];return t.color!==void 0&&v.push(`bg-${t.color}`),t.textColor!==void 0&&v.push(`text-${t.textColor}`),v.join(" ")});function d(){return t.locale!==void 0?{...r.lang.date,...t.locale}:r.lang.date}function g(v){const y=new Date,A=v===!0?null:0;if(t.calendar==="persian"){const b=toJalaali(y);return{year:b.jy,month:b.jm,day:b.jd}}return{year:y.getFullYear(),month:y.getMonth()+1,day:y.getDate(),hour:A,minute:A,second:A,millisecond:A}}return{editable:o,tabindex:a,headerClass:u,getLocale:d,getCurrentDate:g}}const MILLISECONDS_IN_DAY=864e5,MILLISECONDS_IN_HOUR$2=36e5,MILLISECONDS_IN_MINUTE$2=6e4,defaultMask="YYYY-MM-DDTHH:mm:ss.SSSZ",token$2=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,reverseToken=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,regexStore={};function getRegexData(t,r){const o="("+r.days.join("|")+")",a=t+o;if(regexStore[a]!==void 0)return regexStore[a];const u="("+r.daysShort.join("|")+")",d="("+r.months.join("|")+")",g="("+r.monthsShort.join("|")+")",v={};let y=0;const A=t.replace(reverseToken,_=>{switch(y++,_){case"YY":return v.YY=y,"(-?\\d{1,2})";case"YYYY":return v.YYYY=y,"(-?\\d{1,4})";case"M":return v.M=y,"(\\d{1,2})";case"Mo":return v.M=y++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return v.M=y,"(\\d{2})";case"MMM":return v.MMM=y,g;case"MMMM":return v.MMMM=y,d;case"D":return v.D=y,"(\\d{1,2})";case"Do":return v.D=y++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return v.D=y,"(\\d{2})";case"H":return v.H=y,"(\\d{1,2})";case"HH":return v.H=y,"(\\d{2})";case"h":return v.h=y,"(\\d{1,2})";case"hh":return v.h=y,"(\\d{2})";case"m":return v.m=y,"(\\d{1,2})";case"mm":return v.m=y,"(\\d{2})";case"s":return v.s=y,"(\\d{1,2})";case"ss":return v.s=y,"(\\d{2})";case"S":return v.S=y,"(\\d{1})";case"SS":return v.S=y,"(\\d{2})";case"SSS":return v.S=y,"(\\d{3})";case"A":return v.A=y,"(AM|PM)";case"a":return v.a=y,"(am|pm)";case"aa":return v.aa=y,"(a\\.m\\.|p\\.m\\.)";case"ddd":return u;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"do":return y++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return y++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return y++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return v.Z=y,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return v.ZZ=y,"(Z|[+-]\\d{2}\\d{2})";case"X":return v.X=y,"(-?\\d+)";case"x":return v.x=y,"(-?\\d{4,})";default:return y--,_[0]==="["&&(_=_.substring(1,_.length-1)),_.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),b={map:v,regex:new RegExp("^"+A)};return regexStore[a]=b,b}function getDateLocale(t,r){return t!==void 0?t:r!==void 0?r.date:defaultLang.date}function formatTimezone(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=Math.floor(a/60),d=a%60;return o+pad$2(u)+r+pad$2(d)}function applyYearMonthDayChange(t,r,o){let a=t.getFullYear(),u=t.getMonth();const d=t.getDate();return r.year!==void 0&&(a+=o*r.year,delete r.year),r.month!==void 0&&(u+=o*r.month,delete r.month),t.setDate(1),t.setMonth(2),t.setFullYear(a),t.setMonth(u),t.setDate(Math.min(d,daysInMonth$1(t))),r.date!==void 0&&(t.setDate(t.getDate()+o*r.date),delete r.date),t}function applyYearMonthDay(t,r,o){const a=r.year!==void 0?r.year:t[`get${o}FullYear`](),u=r.month!==void 0?r.month-1:t[`get${o}Month`](),d=new Date(a,u+1,0).getDate(),g=Math.min(d,r.date!==void 0?r.date:t[`get${o}Date`]());return t[`set${o}Date`](1),t[`set${o}Month`](2),t[`set${o}FullYear`](a),t[`set${o}Month`](u),t[`set${o}Date`](g),delete r.year,delete r.month,delete r.date,t}function getChange(t,r,o){const a=normalizeMod(r),u=new Date(t),d=a.year!==void 0||a.month!==void 0||a.date!==void 0?applyYearMonthDayChange(u,a,o):u;for(const g in a){const v=capitalize$1(g);d[`set${v}`](d[`get${v}`]()+o*a[g])}return d}function normalizeMod(t){const r={...t};return t.years!==void 0&&(r.year=t.years,delete r.years),t.months!==void 0&&(r.month=t.months,delete r.months),t.days!==void 0&&(r.date=t.days,delete r.days),t.day!==void 0&&(r.date=t.day,delete r.day),t.hour!==void 0&&(r.hours=t.hour,delete r.hour),t.minute!==void 0&&(r.minutes=t.minute,delete r.minute),t.second!==void 0&&(r.seconds=t.second,delete r.second),t.millisecond!==void 0&&(r.milliseconds=t.millisecond,delete r.millisecond),r}function adjustDate(t,r,o){const a=normalizeMod(r),u=o===!0?"UTC":"",d=new Date(t),g=a.year!==void 0||a.month!==void 0||a.date!==void 0?applyYearMonthDay(d,a,u):d;for(const v in a){const y=v.charAt(0).toUpperCase()+v.slice(1);g[`set${u}${y}`](a[v])}return g}function extractDate(t,r,o){const a=__splitDate(t,r,o),u=new Date(a.year,a.month===null?null:a.month-1,a.day===null?1:a.day,a.hour,a.minute,a.second,a.millisecond),d=u.getTimezoneOffset();return a.timezoneOffset===null||a.timezoneOffset===d?u:getChange(u,{minutes:a.timezoneOffset-d},1)}function __splitDate(t,r,o,a,u){const d={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(u!==void 0&&Object.assign(d,u),t==null||t===""||typeof t!="string")return d;r===void 0&&(r=defaultMask);const g=getDateLocale(o,Plugin$2.props),v=g.months,y=g.monthsShort,{regex:A,map:b}=getRegexData(r,g),_=t.match(A);if(_===null)return d;let w="";if(b.X!==void 0||b.x!==void 0){const S=parseInt(_[b.X!==void 0?b.X:b.x],10);if(isNaN(S)===!0||S<0)return d;const C=new Date(S*(b.X!==void 0?1e3:1));d.year=C.getFullYear(),d.month=C.getMonth()+1,d.day=C.getDate(),d.hour=C.getHours(),d.minute=C.getMinutes(),d.second=C.getSeconds(),d.millisecond=C.getMilliseconds()}else{if(b.YYYY!==void 0)d.year=parseInt(_[b.YYYY],10);else if(b.YY!==void 0){const S=parseInt(_[b.YY],10);d.year=S<0?S:2e3+S}if(b.M!==void 0){if(d.month=parseInt(_[b.M],10),d.month<1||d.month>12)return d}else b.MMM!==void 0?d.month=y.indexOf(_[b.MMM])+1:b.MMMM!==void 0&&(d.month=v.indexOf(_[b.MMMM])+1);if(b.D!==void 0){if(d.day=parseInt(_[b.D],10),d.year===null||d.month===null||d.day<1)return d;const S=a!=="persian"?new Date(d.year,d.month,0).getDate():jalaaliMonthLength(d.year,d.month);if(d.day>S)return d}b.H!==void 0?d.hour=parseInt(_[b.H],10)%24:b.h!==void 0&&(d.hour=parseInt(_[b.h],10)%12,(b.A&&_[b.A]==="PM"||b.a&&_[b.a]==="pm"||b.aa&&_[b.aa]==="p.m.")&&(d.hour+=12),d.hour=d.hour%24),b.m!==void 0&&(d.minute=parseInt(_[b.m],10)%60),b.s!==void 0&&(d.second=parseInt(_[b.s],10)%60),b.S!==void 0&&(d.millisecond=parseInt(_[b.S],10)*10**(3-_[b.S].length)),(b.Z!==void 0||b.ZZ!==void 0)&&(w=b.Z!==void 0?_[b.Z].replace(":",""):_[b.ZZ],d.timezoneOffset=(w[0]==="+"?-1:1)*(60*w.slice(1,3)+1*w.slice(3,5)))}return d.dateHash=pad$2(d.year,6)+"/"+pad$2(d.month)+"/"+pad$2(d.day),d.timeHash=pad$2(d.hour)+":"+pad$2(d.minute)+":"+pad$2(d.second)+w,d}function isValid(t){return typeof t=="number"?!0:isNaN(Date.parse(t))===!1}function buildDate(t,r){return adjustDate(new Date,t,r)}function getDayOfWeek(t){const r=new Date(t).getDay();return r===0?7:r}function getWeekOfYear(t){const r=new Date(t.getFullYear(),t.getMonth(),t.getDate());r.setDate(r.getDate()-(r.getDay()+6)%7+3);const o=new Date(r.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);const a=r.getTimezoneOffset()-o.getTimezoneOffset();r.setHours(r.getHours()-a);const u=(r-o)/(MILLISECONDS_IN_DAY*7);return 1+Math.floor(u)}function getDayIdentifier(t){return t.getFullYear()*1e4+t.getMonth()*100+t.getDate()}function getDateIdentifier(t,r){const o=new Date(t);return r===!0?getDayIdentifier(o):o.getTime()}function isBetweenDates(t,r,o,a={}){const u=getDateIdentifier(r,a.onlyDate),d=getDateIdentifier(o,a.onlyDate),g=getDateIdentifier(t,a.onlyDate);return(g>u||a.inclusiveFrom===!0&&g===u)&&(g{r=Math.max(r,new Date(o))}),r}function getMinDate(t){let r=new Date(t);return Array.prototype.slice.call(arguments,1).forEach(o=>{r=Math.min(r,new Date(o))}),r}function getDiff(t,r,o){return(t.getTime()-t.getTimezoneOffset()*MILLISECONDS_IN_MINUTE$2-(r.getTime()-r.getTimezoneOffset()*MILLISECONDS_IN_MINUTE$2))/o}function getDateDiff(t,r,o="days"){const a=new Date(t),u=new Date(r);switch(o){case"years":case"year":return a.getFullYear()-u.getFullYear();case"months":case"month":return(a.getFullYear()-u.getFullYear())*12+a.getMonth()-u.getMonth();case"days":case"day":case"date":return getDiff(startOfDate(a,"day"),startOfDate(u,"day"),MILLISECONDS_IN_DAY);case"hours":case"hour":return getDiff(startOfDate(a,"hour"),startOfDate(u,"hour"),MILLISECONDS_IN_HOUR$2);case"minutes":case"minute":return getDiff(startOfDate(a,"minute"),startOfDate(u,"minute"),MILLISECONDS_IN_MINUTE$2);case"seconds":case"second":return getDiff(startOfDate(a,"second"),startOfDate(u,"second"),1e3)}}function getDayOfYear$1(t){return getDateDiff(t,startOfDate(t,"year"),"days")+1}function inferDateFormat(t){return isDate$6(t)===!0?"date":typeof t=="number"?"number":"string"}function getDateBetween(t,r,o){const a=new Date(t);if(r){const u=new Date(r);if(au)return u}return a}function isSameDate(t,r,o){const a=new Date(t),u=new Date(r);if(o===void 0)return a.getTime()===u.getTime();switch(o){case"second":case"seconds":if(a.getSeconds()!==u.getSeconds())return!1;case"minute":case"minutes":if(a.getMinutes()!==u.getMinutes())return!1;case"hour":case"hours":if(a.getHours()!==u.getHours())return!1;case"day":case"days":case"date":if(a.getDate()!==u.getDate())return!1;case"month":case"months":if(a.getMonth()!==u.getMonth())return!1;case"year":case"years":if(a.getFullYear()!==u.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function daysInMonth$1(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function getOrdinal(t){if(t>=11&&t<=13)return`${t}th`;switch(t%10){case 1:return`${t}st`;case 2:return`${t}nd`;case 3:return`${t}rd`}return`${t}th`}const formatter={YY(t,r,o){const a=this.YYYY(t,r,o)%100;return a>=0?pad$2(a):"-"+pad$2(Math.abs(a))},YYYY(t,r,o){return o!=null?o:t.getFullYear()},M(t){return t.getMonth()+1},Mo(t){return getOrdinal(t.getMonth()+1)},MM(t){return pad$2(t.getMonth()+1)},MMM(t,r){return r.monthsShort[t.getMonth()]},MMMM(t,r){return r.months[t.getMonth()]},Q(t){return Math.ceil((t.getMonth()+1)/3)},Qo(t){return getOrdinal(this.Q(t))},D(t){return t.getDate()},Do(t){return getOrdinal(t.getDate())},DD(t){return pad$2(t.getDate())},DDD(t){return getDayOfYear$1(t)},DDDo(t){return getOrdinal(getDayOfYear$1(t))},DDDD(t){return pad$2(getDayOfYear$1(t),3)},d(t){return t.getDay()},do(t){return getOrdinal(t.getDay())},dd(t,r){return r.days[t.getDay()].slice(0,2)},ddd(t,r){return r.daysShort[t.getDay()]},dddd(t,r){return r.days[t.getDay()]},E(t){return t.getDay()||7},w(t){return getWeekOfYear(t)},wo(t){return getOrdinal(getWeekOfYear(t))},ww(t){return pad$2(getWeekOfYear(t))},H(t){return t.getHours()},HH(t){return pad$2(t.getHours())},h(t){const r=t.getHours();return r===0?12:r>12?r%12:r},hh(t){return pad$2(this.h(t))},m(t){return t.getMinutes()},mm(t){return pad$2(t.getMinutes())},s(t){return t.getSeconds()},ss(t){return pad$2(t.getSeconds())},S(t){return Math.floor(t.getMilliseconds()/100)},SS(t){return pad$2(Math.floor(t.getMilliseconds()/10))},SSS(t){return pad$2(t.getMilliseconds(),3)},A(t){return t.getHours()<12?"AM":"PM"},a(t){return t.getHours()<12?"am":"pm"},aa(t){return t.getHours()<12?"a.m.":"p.m."},Z(t,r,o,a){const u=a==null?t.getTimezoneOffset():a;return formatTimezone(u,":")},ZZ(t,r,o,a){const u=a==null?t.getTimezoneOffset():a;return formatTimezone(u)},X(t){return Math.floor(t.getTime()/1e3)},x(t){return t.getTime()}};function formatDate$1(t,r,o,a,u){if(t!==0&&!t||t===1/0||t===-1/0)return;const d=new Date(t);if(isNaN(d))return;r===void 0&&(r=defaultMask);const g=getDateLocale(o,Plugin$2.props);return r.replace(token$2,(v,y)=>v in formatter?formatter[v](d,g,a,u):y===void 0?v:y.split("\\]").join("]"))}function clone$7(t){return isDate$6(t)===!0?new Date(t.getTime()):t}var date$1={isValid,extractDate,buildDate,getDayOfWeek,getWeekOfYear,isBetweenDates,addToDate,subtractFromDate,adjustDate,startOfDate,endOfDate,getMaxDate,getMinDate,getDateDiff,getDayOfYear:getDayOfYear$1,inferDateFormat,getDateBetween,isSameDate,daysInMonth:daysInMonth$1,formatDate:formatDate$1,clone:clone$7};const yearsInterval=20,views=["Calendar","Years","Months"],viewIsValid=t=>views.includes(t),yearMonthValidator=t=>/^-?[\d]+\/[0-1]\d$/.test(t),lineStr=" \u2014 ";function getMonthHash(t){return t.year+"/"+pad$2(t.month)}var QDate=createComponent({name:"QDate",props:{...useDatetimeProps,...useFormProps,...useDarkProps,modelValue:{required:!0,validator:t=>typeof t=="string"||Array.isArray(t)===!0||Object(t)===t||t===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...useDatetimeProps.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:yearMonthValidator},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:yearMonthValidator},navigationMaxYearMonth:{type:String,validator:yearMonthValidator},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:viewIsValid}},emits:[...useDatetimeEmits,"rangeStart","rangeEnd","navigation"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=useDark(t,u),{getCache:g}=useRenderCache(),{tabindex:v,headerClass:y,getLocale:A,getCurrentDate:b}=useDatetime(t,u);let _;const w=useFormAttrs(t),S=useFormInject(w),C=ref(null),T=ref(ot()),I=ref(A()),E=computed(()=>ot()),F=computed(()=>A()),O=computed(()=>b()),D=ref(_t(T.value,I.value)),x=ref(t.defaultView),P=computed(()=>u.lang.rtl===!0?"right":"left"),G=ref(P.value),M=ref(P.value),N=D.value.year,V=ref(N-N%yearsInterval-(N<0?yearsInterval:0)),Y=ref(null),H=computed(()=>{const Le=t.landscape===!0?"landscape":"portrait";return`q-date q-date--${Le} q-date--${Le}-${t.minimal===!0?"minimal":"standard"}`+(d.value===!0?" q-date--dark q-dark":"")+(t.bordered===!0?" q-date--bordered":"")+(t.square===!0?" q-date--square no-border-radius":"")+(t.flat===!0?" q-date--flat no-shadow":"")+(t.disable===!0?" disabled":t.readonly===!0?" q-date--readonly":"")}),B=computed(()=>t.color||"primary"),z=computed(()=>t.textColor||"white"),U=computed(()=>t.emitImmediately===!0&&t.multiple!==!0&&t.range!==!0),Q=computed(()=>Array.isArray(t.modelValue)===!0?t.modelValue:t.modelValue!==null&&t.modelValue!==void 0?[t.modelValue]:[]),X=computed(()=>Q.value.filter(Le=>typeof Le=="string").map(Le=>ct(Le,T.value,I.value)).filter(Le=>Le.dateHash!==null&&Le.day!==null&&Le.month!==null&&Le.year!==null)),J=computed(()=>{const Le=Fe=>ct(Fe,T.value,I.value);return Q.value.filter(Fe=>isObject$o(Fe)===!0&&Fe.from!==void 0&&Fe.to!==void 0).map(Fe=>({from:Le(Fe.from),to:Le(Fe.to)})).filter(Fe=>Fe.from.dateHash!==null&&Fe.to.dateHash!==null&&Fe.from.dateHasht.calendar!=="persian"?Le=>new Date(Le.year,Le.month-1,Le.day):Le=>{const Fe=toGregorian(Le.year,Le.month,Le.day);return new Date(Fe.gy,Fe.gm-1,Fe.gd)}),te=computed(()=>t.calendar==="persian"?getDayHash:(Le,Fe,it)=>formatDate$1(new Date(Le.year,Le.month-1,Le.day,Le.hour,Le.minute,Le.second,Le.millisecond),Fe===void 0?T.value:Fe,it===void 0?I.value:it,Le.year,Le.timezoneOffset)),ce=computed(()=>X.value.length+J.value.reduce((Le,Fe)=>Le+1+getDateDiff(ne.value(Fe.to),ne.value(Fe.from)),0)),se=computed(()=>{if(t.title!==void 0&&t.title!==null&&t.title.length!==0)return t.title;if(Y.value!==null){const it=Y.value.init,It=ne.value(it);return I.value.daysShort[It.getDay()]+", "+I.value.monthsShort[it.month-1]+" "+it.day+lineStr+"?"}if(ce.value===0)return lineStr;if(ce.value>1)return`${ce.value} ${I.value.pluralDay}`;const Le=X.value[0],Fe=ne.value(Le);return isNaN(Fe.valueOf())===!0?lineStr:I.value.headerTitle!==void 0?I.value.headerTitle(Fe,Le):I.value.daysShort[Fe.getDay()]+", "+I.value.monthsShort[Le.month-1]+" "+Le.day}),ge=computed(()=>X.value.concat(J.value.map(Fe=>Fe.from)).sort((Fe,it)=>Fe.year-it.year||Fe.month-it.month)[0]),he=computed(()=>X.value.concat(J.value.map(Fe=>Fe.to)).sort((Fe,it)=>it.year-Fe.year||it.month-Fe.month)[0]),ye=computed(()=>{if(t.subtitle!==void 0&&t.subtitle!==null&&t.subtitle.length!==0)return t.subtitle;if(ce.value===0)return lineStr;if(ce.value>1){const Le=ge.value,Fe=he.value,it=I.value.monthsShort;return it[Le.month-1]+(Le.year!==Fe.year?" "+Le.year+lineStr+it[Fe.month-1]+" ":Le.month!==Fe.month?lineStr+it[Fe.month-1]:"")+" "+Fe.year}return X.value[0].year}),ee=computed(()=>{const Le=[u.iconSet.datetime.arrowLeft,u.iconSet.datetime.arrowRight];return u.lang.rtl===!0?Le.reverse():Le}),pe=computed(()=>t.firstDayOfWeek!==void 0?Number(t.firstDayOfWeek):I.value.firstDayOfWeek),ae=computed(()=>{const Le=I.value.daysShort,Fe=pe.value;return Fe>0?Le.slice(Fe,7).concat(Le.slice(0,Fe)):Le}),ve=computed(()=>{const Le=D.value;return t.calendar!=="persian"?new Date(Le.year,Le.month,0).getDate():jalaaliMonthLength(Le.year,Le.month)}),we=computed(()=>typeof t.eventColor=="function"?t.eventColor:()=>t.eventColor),_e=computed(()=>{if(t.navigationMinYearMonth===void 0)return null;const Le=t.navigationMinYearMonth.split("/");return{year:parseInt(Le[0],10),month:parseInt(Le[1],10)}}),Te=computed(()=>{if(t.navigationMaxYearMonth===void 0)return null;const Le=t.navigationMaxYearMonth.split("/");return{year:parseInt(Le[0],10),month:parseInt(Le[1],10)}}),Ce=computed(()=>{const Le={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return _e.value!==null&&_e.value.year>=D.value.year&&(Le.year.prev=!1,_e.value.year===D.value.year&&_e.value.month>=D.value.month&&(Le.month.prev=!1)),Te.value!==null&&Te.value.year<=D.value.year&&(Le.year.next=!1,Te.value.year===D.value.year&&Te.value.month<=D.value.month&&(Le.month.next=!1)),Le}),Ae=computed(()=>{const Le={};return X.value.forEach(Fe=>{const it=getMonthHash(Fe);Le[it]===void 0&&(Le[it]=[]),Le[it].push(Fe.day)}),Le}),Ee=computed(()=>{const Le={};return J.value.forEach(Fe=>{const it=getMonthHash(Fe.from),It=getMonthHash(Fe.to);if(Le[it]===void 0&&(Le[it]=[]),Le[it].push({from:Fe.from.day,to:it===It?Fe.to.day:void 0,range:Fe}),it12&&(et.year++,et.month=1)}}),Le}),le=computed(()=>{if(Y.value===null)return;const{init:Le,initHash:Fe,final:it,finalHash:It}=Y.value,[Ne,Ge]=Fe<=It?[Le,it]:[it,Le],ze=getMonthHash(Ne),et=getMonthHash(Ge);if(ze!==re.value&&et!==re.value)return;const nt={};return ze===re.value?(nt.from=Ne.day,nt.includeFrom=!0):nt.from=1,et===re.value?(nt.to=Ge.day,nt.includeTo=!0):nt.to=ve.value,nt}),re=computed(()=>getMonthHash(D.value)),ue=computed(()=>{const Le={};if(t.options===void 0){for(let it=1;it<=ve.value;it++)Le[it]=!0;return Le}const Fe=typeof t.options=="function"?t.options:it=>t.options.includes(it);for(let it=1;it<=ve.value;it++){const It=re.value+"/"+pad$2(it);Le[it]=Fe(It)}return Le}),be=computed(()=>{const Le={};if(t.events===void 0)for(let Fe=1;Fe<=ve.value;Fe++)Le[Fe]=!1;else{const Fe=typeof t.events=="function"?t.events:it=>t.events.includes(it);for(let it=1;it<=ve.value;it++){const It=re.value+"/"+pad$2(it);Le[it]=Fe(It)===!0&&we.value(It)}}return Le}),ie=computed(()=>{let Le,Fe;const{year:it,month:It}=D.value;if(t.calendar!=="persian")Le=new Date(it,It-1,1),Fe=new Date(it,It-1,0).getDate();else{const Ne=toGregorian(it,It,1);Le=new Date(Ne.gy,Ne.gm-1,Ne.gd);let Ge=It-1,ze=it;Ge===0&&(Ge=12,ze--),Fe=jalaaliMonthLength(ze,Ge)}return{days:Le.getDay()-pe.value-1,endDay:Fe}}),oe=computed(()=>{const Le=[],{days:Fe,endDay:it}=ie.value,It=Fe<0?Fe+7:Fe;if(It<6)for(let ze=it-It;ze<=it;ze++)Le.push({i:ze,fill:!0});const Ne=Le.length;for(let ze=1;ze<=ve.value;ze++){const et={i:ze,event:be.value[ze],classes:[]};ue.value[ze]===!0&&(et.in=!0,et.flat=!0),Le.push(et)}if(Ae.value[re.value]!==void 0&&Ae.value[re.value].forEach(ze=>{const et=Ne+ze-1;Object.assign(Le[et],{selected:!0,unelevated:!0,flat:!1,color:B.value,textColor:z.value})}),Ee.value[re.value]!==void 0&&Ee.value[re.value].forEach(ze=>{if(ze.from!==void 0){const et=Ne+ze.from-1,nt=Ne+(ze.to||ve.value)-1;for(let Bt=et;Bt<=nt;Bt++)Object.assign(Le[Bt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value});Object.assign(Le[et],{rangeFrom:!0,flat:!1}),ze.to!==void 0&&Object.assign(Le[nt],{rangeTo:!0,flat:!1})}else if(ze.to!==void 0){const et=Ne+ze.to-1;for(let nt=Ne;nt<=et;nt++)Object.assign(Le[nt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value});Object.assign(Le[et],{flat:!1,rangeTo:!0})}else{const et=Ne+ve.value-1;for(let nt=Ne;nt<=et;nt++)Object.assign(Le[nt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value})}}),le.value!==void 0){const ze=Ne+le.value.from-1,et=Ne+le.value.to-1;for(let nt=ze;nt<=et;nt++)Le[nt].color=B.value,Le[nt].editRange=!0;le.value.includeFrom===!0&&(Le[ze].editRangeFrom=!0),le.value.includeTo===!0&&(Le[et].editRangeTo=!0)}D.value.year===O.value.year&&D.value.month===O.value.month&&(Le[Ne+O.value.day-1].today=!0);const Ge=Le.length%7;if(Ge>0){const ze=7-Ge;for(let et=1;et<=ze;et++)Le.push({i:et,fill:!0})}return Le.forEach(ze=>{let et="q-date__calendar-item ";ze.fill===!0?et+="q-date__calendar-item--fill":(et+=`q-date__calendar-item--${ze.in===!0?"in":"out"}`,ze.range!==void 0&&(et+=` q-date__range${ze.rangeTo===!0?"-to":ze.rangeFrom===!0?"-from":""}`),ze.editRange===!0&&(et+=` q-date__edit-range${ze.editRangeFrom===!0?"-from":""}${ze.editRangeTo===!0?"-to":""}`),(ze.range!==void 0||ze.editRange===!0)&&(et+=` text-${ze.color}`)),ze.classes=et}),Le}),me=computed(()=>t.disable===!0?{"aria-disabled":"true"}:{});watch(()=>t.modelValue,Le=>{if(_===Le)_=0;else{const Fe=_t(T.value,I.value);dt(Fe.year,Fe.month,Fe)}}),watch(x,()=>{C.value!==null&&a.$el.contains(document.activeElement)===!0&&C.value.focus()}),watch(()=>D.value.year+"|"+D.value.month,()=>{o("navigation",{year:D.value.year,month:D.value.month})}),watch(E,Le=>{Oe(Le,I.value,"mask"),T.value=Le}),watch(F,Le=>{Oe(T.value,Le,"locale"),I.value=Le});function Se(){const{year:Le,month:Fe,day:it}=O.value,It={...D.value,year:Le,month:Fe,day:it},Ne=Ae.value[getMonthHash(It)];(Ne===void 0||Ne.includes(It.day)===!1)&&St(It),Pe(It.year,It.month)}function xe(Le){viewIsValid(Le)===!0&&(x.value=Le)}function De(Le,Fe){["month","year"].includes(Le)&&(Le==="month"?Ve:ke)(Fe===!0?-1:1)}function Pe(Le,Fe){x.value="Calendar",dt(Le,Fe)}function Be(Le,Fe){if(t.range===!1||!Le){Y.value=null;return}const it=Object.assign({...D.value},Le),It=Fe!==void 0?Object.assign({...D.value},Fe):it;Y.value={init:it,initHash:getDayHash(it),final:It,finalHash:getDayHash(It)},Pe(it.year,it.month)}function ot(){return t.calendar==="persian"?"YYYY/MM/DD":t.mask}function ct(Le,Fe,it){return __splitDate(Le,Fe,it,t.calendar,{hour:0,minute:0,second:0,millisecond:0})}function _t(Le,Fe){const it=Array.isArray(t.modelValue)===!0?t.modelValue:t.modelValue?[t.modelValue]:[];if(it.length===0)return He();const It=it[it.length-1],Ne=ct(It.from!==void 0?It.from:It,Le,Fe);return Ne.dateHash===null?He():Ne}function He(){let Le,Fe;if(t.defaultYearMonth!==void 0){const it=t.defaultYearMonth.split("/");Le=parseInt(it[0],10),Fe=parseInt(it[1],10)}else{const it=O.value!==void 0?O.value:b();Le=it.year,Fe=it.month}return{year:Le,month:Fe,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:Le+"/"+pad$2(Fe)+"/01"}}function Ve(Le){let Fe=D.value.year,it=Number(D.value.month)+Le;it===13?(it=1,Fe++):it===0&&(it=12,Fe--),dt(Fe,it),U.value===!0&&Ye("month")}function ke(Le){const Fe=Number(D.value.year)+Le;dt(Fe,D.value.month),U.value===!0&&Ye("year")}function Qe(Le){dt(Le,D.value.month),x.value=t.defaultView==="Years"?"Months":"Calendar",U.value===!0&&Ye("year")}function yt(Le){dt(D.value.year,Le),x.value="Calendar",U.value===!0&&Ye("month")}function Ct(Le,Fe){const it=Ae.value[Fe];(it!==void 0&&it.includes(Le.day)===!0?Rt:St)(Le)}function Xe(Le){return{year:Le.year,month:Le.month,day:Le.day}}function dt(Le,Fe,it){if(_e.value!==null&&Le<=_e.value.year&&((Fe<_e.value.month||Le<_e.value.year)&&(Fe=_e.value.month),Le=_e.value.year),Te.value!==null&&Le>=Te.value.year&&((Fe>Te.value.month||Le>Te.value.year)&&(Fe=Te.value.month),Le=Te.value.year),it!==void 0){const{hour:Ne,minute:Ge,second:ze,millisecond:et,timezoneOffset:nt,timeHash:Bt}=it;Object.assign(D.value,{hour:Ne,minute:Ge,second:ze,millisecond:et,timezoneOffset:nt,timeHash:Bt})}const It=Le+"/"+pad$2(Fe)+"/01";It!==D.value.dateHash&&(G.value=D.value.dateHash{V.value=Le-Le%yearsInterval-(Le<0?yearsInterval:0),Object.assign(D.value,{year:Le,month:Fe,day:1,dateHash:It})}))}function Re(Le,Fe,it){const It=Le!==null&&Le.length===1&&t.multiple===!1?Le[0]:Le;_=It;const{reason:Ne,details:Ge}=at(Fe,it);o("update:modelValue",It,Ne,Ge)}function Ye(Le){const Fe=X.value[0]!==void 0&&X.value[0].dateHash!==null?{...X.value[0]}:{...D.value};nextTick(()=>{Fe.year=D.value.year,Fe.month=D.value.month;const it=t.calendar!=="persian"?new Date(Fe.year,Fe.month,0).getDate():jalaaliMonthLength(Fe.year,Fe.month);Fe.day=Math.min(Math.max(1,Fe.day),it);const It=mt(Fe);_=It;const{details:Ne}=at("",Fe);o("update:modelValue",It,Le,Ne)})}function at(Le,Fe){return Fe.from!==void 0?{reason:`${Le}-range`,details:{...Xe(Fe.target),from:Xe(Fe.from),to:Xe(Fe.to)}}:{reason:`${Le}-day`,details:Xe(Fe)}}function mt(Le,Fe,it){return Le.from!==void 0?{from:te.value(Le.from,Fe,it),to:te.value(Le.to,Fe,it)}:te.value(Le,Fe,it)}function St(Le){let Fe;if(t.multiple===!0)if(Le.from!==void 0){const it=getDayHash(Le.from),It=getDayHash(Le.to),Ne=X.value.filter(ze=>ze.dateHashIt),Ge=J.value.filter(({from:ze,to:et})=>et.dateHashIt);Fe=Ne.concat(Ge).concat(Le).map(ze=>mt(ze))}else{const it=Q.value.slice();it.push(mt(Le)),Fe=it}else Fe=mt(Le);Re(Fe,"add",Le)}function Rt(Le){if(t.noUnset===!0)return;let Fe=null;if(t.multiple===!0&&Array.isArray(t.modelValue)===!0){const it=mt(Le);Le.from!==void 0?Fe=t.modelValue.filter(It=>It.from!==void 0?It.from!==it.from&&It.to!==it.to:!0):Fe=t.modelValue.filter(It=>It!==it),Fe.length===0&&(Fe=null)}Re(Fe,"remove",Le)}function Oe(Le,Fe,it){const It=X.value.concat(J.value).map(Ne=>mt(Ne,Le,Fe)).filter(Ne=>Ne.from!==void 0?Ne.from.dateHash!==null&&Ne.to.dateHash!==null:Ne.dateHash!==null);o("update:modelValue",(t.multiple===!0?It:It[0])||null,it)}function We(){if(t.minimal!==!0)return h("div",{class:"q-date__header "+y.value},[h("div",{class:"relative-position"},[h(Transition,{name:"q-transition--fade"},()=>h("div",{key:"h-yr-"+ye.value,class:"q-date__header-subtitle q-date__header-link "+(x.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vY",{onClick(){x.value="Years"},onKeyup(Le){Le.keyCode===13&&(x.value="Years")}})},[ye.value]))]),h("div",{class:"q-date__header-title relative-position flex no-wrap"},[h("div",{class:"relative-position col"},[h(Transition,{name:"q-transition--fade"},()=>h("div",{key:"h-sub"+se.value,class:"q-date__header-title-label q-date__header-link "+(x.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vC",{onClick(){x.value="Calendar"},onKeyup(Le){Le.keyCode===13&&(x.value="Calendar")}})},[se.value]))]),t.todayBtn===!0?h(QBtn,{class:"q-date__header-today self-start",icon:u.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:v.value,onClick:Se}):null])])}function Je({label:Le,type:Fe,key:it,dir:It,goTo:Ne,boundaries:Ge,cls:ze}){return[h("div",{class:"row items-center q-date__arrow"},[h(QBtn,{round:!0,dense:!0,size:"sm",flat:!0,icon:ee.value[0],tabindex:v.value,disable:Ge.prev===!1,...g("go-#"+Fe,{onClick(){Ne(-1)}})})]),h("div",{class:"relative-position overflow-hidden flex flex-center"+ze},[h(Transition,{name:"q-transition--jump-"+It},()=>h("div",{key:it},[h(QBtn,{flat:!0,dense:!0,noCaps:!0,label:Le,tabindex:v.value,...g("view#"+Fe,{onClick:()=>{x.value=Fe}})})]))]),h("div",{class:"row items-center q-date__arrow"},[h(QBtn,{round:!0,dense:!0,size:"sm",flat:!0,icon:ee.value[1],tabindex:v.value,disable:Ge.next===!1,...g("go+#"+Fe,{onClick(){Ne(1)}})})])]}const st={Calendar:()=>[h("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[h("div",{class:"q-date__navigation row items-center no-wrap"},Je({label:I.value.months[D.value.month-1],type:"Months",key:D.value.month,dir:G.value,goTo:Ve,boundaries:Ce.value.month,cls:" col"}).concat(Je({label:D.value.year,type:"Years",key:D.value.year,dir:M.value,goTo:ke,boundaries:Ce.value.year,cls:""}))),h("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(Le=>h("div",{class:"q-date__calendar-item"},[h("div",Le)]))),h("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[h(Transition,{name:"q-transition--slide-"+G.value},()=>h("div",{key:re.value,class:"q-date__calendar-days fit"},oe.value.map(Le=>h("div",{class:Le.classes},[Le.in===!0?h(QBtn,{class:Le.today===!0?"q-date__today":"",dense:!0,flat:Le.flat,unelevated:Le.unelevated,color:Le.color,textColor:Le.textColor,label:Le.i,tabindex:v.value,...g("day#"+Le.i,{onClick:()=>{At(Le.i)},onMouseover:()=>{bt(Le.i)}})},Le.event!==!1?()=>h("div",{class:"q-date__event bg-"+Le.event}):null):h("div",""+Le.i)]))))])])],Months(){const Le=D.value.year===O.value.year,Fe=It=>_e.value!==null&&D.value.year===_e.value.year&&_e.value.month>It||Te.value!==null&&D.value.year===Te.value.year&&Te.value.month{const Ge=D.value.month===Ne+1;return h("div",{class:"q-date__months-item flex flex-center"},[h(QBtn,{class:Le===!0&&O.value.month===Ne+1?"q-date__today":null,flat:Ge!==!0,label:It,unelevated:Ge,color:Ge===!0?B.value:null,textColor:Ge===!0?z.value:null,tabindex:v.value,disable:Fe(Ne+1),...g("month#"+Ne,{onClick:()=>{yt(Ne+1)}})})])});return t.yearsInMonthView===!0&&it.unshift(h("div",{class:"row no-wrap full-width"},[Je({label:D.value.year,type:"Years",key:D.value.year,dir:M.value,goTo:ke,boundaries:Ce.value.year,cls:" col"})])),h("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},it)},Years(){const Le=V.value,Fe=Le+yearsInterval,it=[],It=Ne=>_e.value!==null&&_e.value.year>Ne||Te.value!==null&&Te.value.year{Qe(Ne)}})})]))}return h("div",{class:"q-date__view q-date__years flex flex-center"},[h("div",{class:"col-auto"},[h(QBtn,{round:!0,dense:!0,flat:!0,icon:ee.value[0],tabindex:v.value,disable:It(Le),...g("y-",{onClick:()=>{V.value-=yearsInterval}})})]),h("div",{class:"q-date__years-content col self-stretch row items-center"},it),h("div",{class:"col-auto"},[h(QBtn,{round:!0,dense:!0,flat:!0,icon:ee.value[1],tabindex:v.value,disable:It(Fe),...g("y+",{onClick:()=>{V.value+=yearsInterval}})})])])}};function At(Le){const Fe={...D.value,day:Le};if(t.range===!1){Ct(Fe,re.value);return}if(Y.value===null){const it=oe.value.find(Ne=>Ne.fill!==!0&&Ne.i===Le);if(t.noUnset!==!0&&it.range!==void 0){Rt({target:Fe,from:it.range.from,to:it.range.to});return}if(it.selected===!0){Rt(Fe);return}const It=getDayHash(Fe);Y.value={init:Fe,initHash:It,final:Fe,finalHash:It},o("rangeStart",Xe(Fe))}else{const it=Y.value.initHash,It=getDayHash(Fe),Ne=it<=It?{from:Y.value.init,to:Fe}:{from:Fe,to:Y.value.init};Y.value=null,St(it===It?Fe:{target:Fe,...Ne}),o("rangeEnd",{from:Xe(Ne.from),to:Xe(Ne.to)})}}function bt(Le){if(Y.value!==null){const Fe={...D.value,day:Le};Object.assign(Y.value,{final:Fe,finalHash:getDayHash(Fe)})}}return Object.assign(a,{setToday:Se,setView:xe,offsetCalendar:De,setCalendarTo:Pe,setEditingRange:Be}),()=>{const Le=[h("div",{class:"q-date__content col relative-position"},[h(Transition,{name:"q-transition--fade"},st[x.value])])],Fe=hSlot(r.default);return Fe!==void 0&&Le.push(h("div",{class:"q-date__actions"},Fe)),t.name!==void 0&&t.disable!==!0&&S(Le,"push"),h("div",{class:H.value,...me.value},[We(),h("div",{ref:C,class:"q-date__main col column",tabindex:-1},Le)])}}}),DatePickerBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1w=defineComponent({name:"DatePickerBody",props:{componentId:{type:String,default:"DatePickerBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$i),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";a.value=d}),{componentOptions:o,date:a,onChange:(d,g,v)=>{const y=new Date(v.year,v.month-1,v.day);d=format$2(y,o.mask),r("setDevice",t.device.id,t.stateKey,d,o.ack),v.value=d}}}}),OPTIONS$i={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},mask:{label:i18n.global.t("config#componentOptions#TimePicker#mask#label"),info:i18n.global.t("config#componentOptions#TimePicker#mask#info"),value:"dd.MM.yyyy"},minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!0},todayButton:{label:i18n.global.t("config#componentOptions#DatePicker#today-btn#label"),info:i18n.global.t("config#componentOptions#DatePicker#today-btn#info"),type:"Switch",value:!1,conditions:{minimal:!1}}};function _sfc_render$1w(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QDate,{"model-value":t.date,mask:t.componentOptions.mask.toUpperCase(),"today-btn":t.componentOptions.todayButton,minimal:t.componentOptions.minimal,color:"primary",bordered:"",flat:"",style:{"z-index":"1"},"onUpdate:modelValue":t.onChange},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["model-value","mask","today-btn","minimal","onUpdate:modelValue"])])}var DatePickerBody$1=_export_sfc$1(_sfc_main$1w,[["render",_sfc_render$1w]]),DatePickerBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$i,default:DatePickerBody$1},Symbol.toStringTag,{value:"Module"}));function getViewByModel(t,r){if(t.hour!==null){if(t.minute===null)return"minute";if(r===!0&&t.second===null)return"second"}return"hour"}function getCurrentTime(){const t=new Date;return{hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}}var QTime=createComponent({name:"QTime",props:{...useDarkProps,...useFormProps,...useDatetimeProps,modelValue:{required:!0,validator:t=>typeof t=="string"||t===null},mask:{...useDatetimeProps.mask,default:null},format24h:{type:Boolean,default:null},defaultDate:{type:String,validator:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t)},options:Function,hourOptions:Array,minuteOptions:Array,secondOptions:Array,withSeconds:Boolean,nowBtn:Boolean},emits:useDatetimeEmits,setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{$q:u}=a.proxy,d=useDark(t,u),{tabindex:g,headerClass:v,getLocale:y,getCurrentDate:A}=useDatetime(t,u),b=useFormAttrs(t),_=useFormInject(b);let w,S;const C=ref(null),T=computed(()=>ye()),I=computed(()=>y()),E=computed(()=>ee()),F=__splitDate(t.modelValue,T.value,I.value,t.calendar,E.value),O=ref(getViewByModel(F)),D=ref(F),x=ref(F.hour===null||F.hour<12),P=computed(()=>`q-time q-time--${t.landscape===!0?"landscape":"portrait"}`+(d.value===!0?" q-time--dark q-dark":"")+(t.disable===!0?" disabled":t.readonly===!0?" q-time--readonly":"")+(t.bordered===!0?" q-time--bordered":"")+(t.square===!0?" q-time--square no-border-radius":"")+(t.flat===!0?" q-time--flat no-shadow":"")),G=computed(()=>{const He=D.value;return{hour:He.hour===null?"--":M.value===!0?pad$2(He.hour):String(x.value===!0?He.hour===0?12:He.hour:He.hour>12?He.hour-12:He.hour),minute:He.minute===null?"--":pad$2(He.minute),second:He.second===null?"--":pad$2(He.second)}}),M=computed(()=>t.format24h!==null?t.format24h:u.lang.date.format24h),N=computed(()=>{const He=O.value==="hour",Ve=He===!0?12:60,ke=D.value[O.value];let yt=`rotate(${Math.round(ke*(360/Ve))-180}deg) translateX(-50%)`;return He===!0&&M.value===!0&&D.value.hour>=12&&(yt+=" scale(.7)"),{transform:yt}}),V=computed(()=>D.value.hour!==null),Y=computed(()=>V.value===!0&&D.value.minute!==null),H=computed(()=>t.hourOptions!==void 0?He=>t.hourOptions.includes(He):t.options!==void 0?He=>t.options(He,null,null):null),B=computed(()=>t.minuteOptions!==void 0?He=>t.minuteOptions.includes(He):t.options!==void 0?He=>t.options(D.value.hour,He,null):null),z=computed(()=>t.secondOptions!==void 0?He=>t.secondOptions.includes(He):t.options!==void 0?He=>t.options(D.value.hour,D.value.minute,He):null),U=computed(()=>{if(H.value===null)return null;const He=se(0,11,H.value),Ve=se(12,11,H.value);return{am:He,pm:Ve,values:He.values.concat(Ve.values)}}),Q=computed(()=>B.value!==null?se(0,59,B.value):null),X=computed(()=>z.value!==null?se(0,59,z.value):null),J=computed(()=>{switch(O.value){case"hour":return U.value;case"minute":return Q.value;case"second":return X.value}}),ne=computed(()=>{let He,Ve,ke=0,Qe=1;const yt=J.value!==null?J.value.values:void 0;O.value==="hour"?M.value===!0?(He=0,Ve=23):(He=0,Ve=11,x.value===!1&&(ke=12)):(He=0,Ve=55,Qe=5);const Ct=[];for(let Xe=He,dt=He;Xe<=Ve;Xe+=Qe,dt++){const Re=Xe+ke,Ye=yt!==void 0&&yt.includes(Re)===!1,at=O.value==="hour"&&Xe===0?M.value===!0?"00":"12":Xe;Ct.push({val:Re,index:dt,disable:Ye,label:at})}return Ct}),te=computed(()=>[[TouchPan,ve,void 0,{stop:!0,prevent:!0,mouse:!0}]]);watch(()=>t.modelValue,He=>{const Ve=__splitDate(He,T.value,I.value,t.calendar,E.value);(Ve.dateHash!==D.value.dateHash||Ve.timeHash!==D.value.timeHash)&&(D.value=Ve,Ve.hour===null?O.value="hour":x.value=Ve.hour<12)}),watch([T,I],()=>{nextTick(()=>{ot()})});function ce(){const He={...A(),...getCurrentTime()};ot(He),Object.assign(D.value,He),O.value="hour"}function se(He,Ve,ke){const Qe=Array.apply(null,{length:Ve+1}).map((yt,Ct)=>{const Xe=Ct+He;return{index:Xe,val:ke(Xe)===!0}}).filter(yt=>yt.val===!0).map(yt=>yt.index);return{min:Qe[0],max:Qe[Qe.length-1],values:Qe,threshold:Ve+1}}function ge(He,Ve,ke){const Qe=Math.abs(He-Ve);return Math.min(Qe,ke-Qe)}function he(He,{min:Ve,max:ke,values:Qe,threshold:yt}){if(He===Ve)return Ve;if(Heke)return ge(He,Ve,yt)<=ge(He,ke,yt)?Ve:ke;const Ct=Qe.findIndex(Re=>He<=Re),Xe=Qe[Ct-1],dt=Qe[Ct];return He-Xe<=dt-He?Xe:dt}function ye(){return t.calendar!=="persian"&&t.mask!==null?t.mask:`HH:mm${t.withSeconds===!0?":ss":""}`}function ee(){if(typeof t.defaultDate!="string"){const He=A(!0);return He.dateHash=getDayHash(He),He}return __splitDate(t.defaultDate,"YYYY/MM/DD",void 0,t.calendar)}function pe(){return vmIsDestroyed(a)===!0||J.value!==null&&(J.value.values.length===0||O.value==="hour"&&M.value!==!0&&U.value[x.value===!0?"am":"pm"].values.length===0)}function ae(){const He=C.value,{top:Ve,left:ke,width:Qe}=He.getBoundingClientRect(),yt=Qe/2;return{top:Ve+yt,left:ke+yt,dist:yt*.7}}function ve(He){if(pe()!==!0){if(He.isFirst===!0){w=ae(),S=_e(He.evt,w);return}S=_e(He.evt,w,S),He.isFinal===!0&&(w=!1,S=null,we())}}function we(){O.value==="hour"?O.value="minute":t.withSeconds&&O.value==="minute"&&(O.value="second")}function _e(He,Ve,ke){const Qe=position$1(He),yt=Math.abs(Qe.top-Ve.top),Ct=Math.sqrt(Math.pow(Math.abs(Qe.top-Ve.top),2)+Math.pow(Math.abs(Qe.left-Ve.left),2));let Xe,dt=Math.asin(yt/Ct)*(180/Math.PI);if(Qe.top=Ve.dist:U.value.am.values.length!==0;Xe=he(Xe+(Re===!0?0:12),U.value[Re===!0?"am":"pm"])}else Xe=Math.round(Xe),M.value===!0?Cth("div",{key:"clock"+O.value,class:"q-time__container-parent absolute-full"},[h("div",{ref:C,class:"q-time__container-child fit overflow-hidden"},[withDirectives(h("div",{class:"q-time__clock cursor-pointer non-selectable",onClick:Ee,onMousedown:le},[h("div",{class:"q-time__clock-circle fit"},[h("div",{class:"q-time__clock-pointer"+(D.value[O.value]===null?" hidden":t.color!==void 0?` text-${t.color}`:""),style:N.value}),ne.value.map(Ve=>h("div",{class:`q-time__clock-position row flex-center q-time__clock-pos-${Ve.index}`+(Ve.val===He?" q-time__clock-position--active "+v.value:Ve.disable===!0?" q-time__clock-position--disable":"")},[h("span",Ve.label)]))])]),te.value)])])),t.nowBtn===!0?h(QBtn,{class:"q-time__now-button absolute",icon:u.iconSet.datetime.now,unelevated:!0,size:"sm",round:!0,color:t.color,textColor:t.textColor,tabindex:g.value,onClick:ce}):null])}return a.proxy.setNow=ce,()=>{const He=[_t()],Ve=hSlot(r.default);return Ve!==void 0&&He.push(h("div",{class:"q-time__actions"},Ve)),t.name!==void 0&&t.disable!==!0&&_(He,"push"),h("div",{class:P.value,tabindex:-1},[ct(),h("div",{class:"q-time__main col overflow-auto"},He)])}}}),TimePickerBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1v=defineComponent({name:"TimePickerBody",props:{componentId:{type:String,default:"TimePickerBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$h),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"",[g,v,y]=d.toString().split(":");a.value=addLeadingZero(g)+":"+addLeadingZero(v)+(o.withSeconds?":"+addLeadingZero(y||0):""),o.mask=(o.mask+":ss").substr(0,o.withSeconds?8:5)}),{componentOptions:o,time:a,onChange:(d,g)=>{const v=new Date(g.year,g.month-1,g.day,g.hour,g.minute,g.second);d=format$2(v,o.mask),r("setDevice",t.device.id,t.stateKey,d,o.ack),a.value=d}}}}),OPTIONS$h={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},mask:{label:i18n.global.t("config#componentOptions#TimePicker#mask#label"),info:i18n.global.t("config#componentOptions#TimePicker#mask#info"),value:"HH:mm"},minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!0},nowButton:{label:i18n.global.t("config#componentOptions#TimePicker#nowButton#label"),info:i18n.global.t("config#componentOptions#TimePicker#nowButton#info"),type:"Switch",value:!0},format24h:{label:i18n.global.t("config#componentOptions#TimePicker#format24h#label"),info:i18n.global.t("config#componentOptions#TimePicker#format24h#info"),type:"Switch",value:!0},withSeconds:{label:i18n.global.t("config#componentOptions#TimePicker#withSeconds#label"),info:i18n.global.t("config#componentOptions#TimePicker#withSeconds#info"),type:"Switch",value:!1}};function _sfc_render$1v(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QTime,{"model-value":t.time,mask:t.componentOptions.mask,"now-btn":t.componentOptions.nowButton,format24h:t.componentOptions.format24h,"with-seconds":t.componentOptions.withSeconds,class:normalizeClass({minimal:t.componentOptions.minimal}),flat:"",style:{"z-index":"1"},"onUpdate:modelValue":t.onChange},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["model-value","mask","now-btn","format24h","with-seconds","class","onUpdate:modelValue"])])}var TimePickerBody$1=_export_sfc$1(_sfc_main$1v,[["render",_sfc_render$1v]]),TimePickerBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$h,default:TimePickerBody$1},Symbol.toStringTag,{value:"Module"}));function useRefocusTarget(t,r){const o=ref(null),a=computed(()=>t.disable===!0?null:h("span",{ref:o,class:"no-outline",tabindex:-1}));function u(d){const g=r.value;d!==void 0&&d.type.indexOf("key")===0?g!==null&&document.activeElement!==g&&g.contains(document.activeElement)===!0&&g.focus():o.value!==null&&(d===void 0||g!==null&&g.contains(d.target)===!0)&&o.value.focus()}return{refocusTargetEl:a,refocusTarget:u}}var optionSizes={xs:30,sm:35,md:40,lg:50,xl:60};const useCheckboxProps={...useDarkProps,...useSizeProps,...useFormProps,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:t=>t==="tf"||t==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},useCheckboxEmits=["update:modelValue"];function useCheckbox(t,r){const{props:o,slots:a,emit:u,proxy:d}=getCurrentInstance(),{$q:g}=d,v=useDark(o,g),y=ref(null),{refocusTargetEl:A,refocusTarget:b}=useRefocusTarget(o,y),_=useSize(o,optionSizes),w=computed(()=>o.val!==void 0&&Array.isArray(o.modelValue)),S=computed(()=>{const H=toRaw(o.val);return w.value===!0?o.modelValue.findIndex(B=>toRaw(B)===H):-1}),C=computed(()=>w.value===!0?S.value!==-1:toRaw(o.modelValue)===toRaw(o.trueValue)),T=computed(()=>w.value===!0?S.value===-1:toRaw(o.modelValue)===toRaw(o.falseValue)),I=computed(()=>C.value===!1&&T.value===!1),E=computed(()=>o.disable===!0?-1:o.tabindex||0),F=computed(()=>`q-${t} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(v.value===!0?` q-${t}--dark`:"")+(o.dense===!0?` q-${t}--dense`:"")+(o.leftLabel===!0?" reverse":"")),O=computed(()=>{const H=C.value===!0?"truthy":T.value===!0?"falsy":"indet",B=o.color!==void 0&&(o.keepColor===!0||(t==="toggle"?C.value===!0:T.value!==!0))?` text-${o.color}`:"";return`q-${t}__inner relative-position non-selectable q-${t}__inner--${H}${B}`}),D=computed(()=>{const H={type:"checkbox"};return o.name!==void 0&&Object.assign(H,{".checked":C.value,"^checked":C.value===!0?"checked":void 0,name:o.name,value:w.value===!0?o.val:o.trueValue}),H}),x=useFormInject(D),P=computed(()=>{const H={tabindex:E.value,role:t==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":I.value===!0?"mixed":C.value===!0?"true":"false"};return o.disable===!0&&(H["aria-disabled"]="true"),H});function G(H){H!==void 0&&(stopAndPrevent$1(H),b(H)),o.disable!==!0&&u("update:modelValue",M(),H)}function M(){if(w.value===!0){if(C.value===!0){const H=o.modelValue.slice();return H.splice(S.value,1),H}return o.modelValue.concat([o.val])}if(C.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(T.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function N(H){(H.keyCode===13||H.keyCode===32)&&stopAndPrevent$1(H)}function V(H){(H.keyCode===13||H.keyCode===32)&&G(H)}const Y=r(C,I);return Object.assign(d,{toggle:G}),()=>{const H=Y();o.disable!==!0&&x(H,"unshift",` q-${t}__native absolute q-ma-none q-pa-none`);const B=[h("div",{class:O.value,style:_.value,"aria-hidden":"true"},H)];A.value!==null&&B.push(A.value);const z=o.label!==void 0?hMergeSlot(a.default,[o.label]):hSlot(a.default);return z!==void 0&&B.push(h("div",{class:`q-${t}__label q-anchor--skip`},z)),h("div",{ref:y,class:F.value,...P.value,onClick:G,onKeydown:N,onKeyup:V},B)}}var QToggle=createComponent({name:"QToggle",props:{...useCheckboxProps,icon:String,iconColor:String},emits:useCheckboxEmits,setup(t){function r(o,a){const u=computed(()=>(o.value===!0?t.checkedIcon:a.value===!0?t.indeterminateIcon:t.uncheckedIcon)||t.icon),d=computed(()=>o.value===!0?t.iconColor:null);return()=>[h("div",{class:"q-toggle__track"}),h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},u.value!==void 0?[h(QIcon,{name:u.value,color:d.value})]:void 0)]}return useCheckbox("toggle",r)}});const createBgNode=()=>h("div",{key:"svg",class:"q-checkbox__bg absolute"},[h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var QCheckbox=createComponent({name:"QCheckbox",props:useCheckboxProps,emits:useCheckboxEmits,setup(t){const r=createBgNode();function o(a,u){const d=computed(()=>(a.value===!0?t.checkedIcon:u.value===!0?t.indeterminateIcon:t.uncheckedIcon)||null);return()=>d.value!==null?[h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[h(QIcon,{class:"q-checkbox__icon",name:d.value})])]:[r]}return useCheckbox("checkbox",o)}});const SwitchAction$2=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return SwitchAction$1}),void 0),suspensible:!1}),_sfc_main$1u=defineComponent({name:"CheckboxAction",components:{SwitchAction:SwitchAction$2}}),OPTIONS$g={val:{label:"config#componentOptions#_all#val#label",info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},colorOn:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},colorOff:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"grey"}};function _sfc_render$1u(t,r,o,a,u,d){const g=resolveComponent("switch-action");return openBlock(),createBlock(g,mergeProps({"component-id":"CheckboxAction"},t.$attrs,{checkbox:""}),null,16)}var CheckboxAction=_export_sfc$1(_sfc_main$1u,[["render",_sfc_render$1u]]),SwitchAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1t=defineComponent({name:"SwitchAction",props:{componentId:{type:String,default:"SwitchAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},checkbox:{type:Boolean,default:!1}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$f),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.config&&this.state.config.properties||{}}},val(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.stateProperties.off},isNumber(){return typeof this.val=="boolean"?!1:typeof this.val=="number"?!0:!Number.isNaN(parseFloat(this.val))&&this.val.toString().length===parseFloat(this.val).toString().length},stateVal(){if(this.stateKey==="group")return this.state.val;let t=this.val;if(this.isNumber){const r=parseFloat(this.stateProperties.off)||0;t=parseFloat(t)!==r}else t=t.toString()===this.stateProperties.on.toString();return t}},methods:{set(t){this.state&&this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions)}}}),OPTIONS$f={...OPTIONS$g,iconOn:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#icon#info"),value:"",type:"icon"},iconOff:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#icon#info"),value:"",type:"icon"}},_hoisted_1$16={key:0},_hoisted_2$T={key:1};function _sfc_render$1t(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[t.checkbox===!1?(openBlock(),createElementBlock("div",_hoisted_1$16,[createVNode$1(QToggle,{class:"jarvis-SwitchAction","model-value":t.stateVal,color:t.stateVal===!0?t.componentOptions.colorOn:t.componentOptions.colorOff,"checked-icon":t.componentOptions.iconOn,"unchecked-icon":t.componentOptions.iconOff,dense:"","keep-color":"","onUpdate:modelValue":t.set},null,8,["model-value","color","checked-icon","unchecked-icon","onUpdate:modelValue"])])):(openBlock(),createElementBlock("div",_hoisted_2$T,[createVNode$1(QCheckbox,{class:"jarvis-CheckboxAction","model-value":t.stateVal,color:t.stateVal===!0?t.componentOptions.colorOn:t.componentOptions.colorOff,dense:"","keep-color":"","onUpdate:modelValue":t.set},null,8,["model-value","color","onUpdate:modelValue"])]))])}var SwitchAction=_export_sfc$1(_sfc_main$1t,[["render",_sfc_render$1t]]),SwitchAction$1=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$f,default:SwitchAction},Symbol.toStringTag,{value:"Module"}));let buf,bufIdx=0;const hexBytes=new Array(256);for(let t=0;t<256;t++)hexBytes[t]=(t+256).toString(16).substring(1);const randomBytes=(()=>{const t=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(t!==void 0){if(t.randomBytes!==void 0)return t.randomBytes;if(t.getRandomValues!==void 0)return r=>{const o=new Uint8Array(r);return t.getRandomValues(o),o}}return r=>{const o=[];for(let a=r;a>0;a--)o.push(Math.floor(Math.random()*256));return o}})(),BUFFER_SIZE=4096;function uid$3(){(buf===void 0||bufIdx+16>BUFFER_SIZE)&&(bufIdx=0,buf=randomBytes(BUFFER_SIZE));const t=Array.prototype.slice.call(buf,bufIdx,bufIdx+=16);return t[6]=t[6]&15|64,t[8]=t[8]&63|128,hexBytes[t[0]]+hexBytes[t[1]]+hexBytes[t[2]]+hexBytes[t[3]]+"-"+hexBytes[t[4]]+hexBytes[t[5]]+"-"+hexBytes[t[6]]+hexBytes[t[7]]+"-"+hexBytes[t[8]]+hexBytes[t[9]]+"-"+hexBytes[t[10]]+hexBytes[t[11]]+hexBytes[t[12]]+hexBytes[t[13]]+hexBytes[t[14]]+hexBytes[t[15]]}function parseValue(t){return t==null?null:t}function getId$1(t,r){return t==null?r===!0?`f_${uid$3()}`:null:t}function useId({getValue:t,required:r=!0}={}){if(isRuntimeSsrPreHydration.value===!0){const o=ref(t!==void 0?parseValue(t()):null);return r===!0&&o.value===null&&onMounted(()=>{o.value=`f_${uid$3()}`}),t!==void 0&&watch(t,a=>{o.value=getId$1(a,r)}),o}return t!==void 0?computed(()=>getId$1(t(),r)):ref(`f_${uid$3()}`)}const listenerRE=/^on[A-Z]/;function useSplitAttrs(){const{attrs:t,vnode:r}=getCurrentInstance(),o={listeners:ref({}),attributes:ref({})};function a(){const u={},d={};for(const g in t)g!=="class"&&g!=="style"&&listenerRE.test(g)===!1&&(u[g]=t[g]);for(const g in r.props)listenerRE.test(g)===!0&&(d[g]=r.props[g]);o.attributes.value=u,o.listeners.value=d}return onBeforeUpdate(a),a(),o}function useFormChild({validate:t,resetValidation:r,requiresQForm:o}){const a=inject(formKey,!1);if(a!==!1){const{props:u,proxy:d}=getCurrentInstance();Object.assign(d,{validate:t,resetValidation:r}),watch(()=>u.disable,g=>{g===!0?(typeof r=="function"&&r(),a.unbindComponent(d)):a.bindComponent(d)}),onMounted(()=>{u.disable!==!0&&a.bindComponent(d)}),onBeforeUnmount(()=>{u.disable!==!0&&a.unbindComponent(d)})}else o===!0&&console.error("Parent QForm not found on useFormChild()!")}const hex=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,hexa=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,hexOrHexa=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,rgb=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,rgba=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,testPattern={date:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t),time:t=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(t),fulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(t),timeOrFulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(t),email:t=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t),hexColor:t=>hex.test(t),hexaColor:t=>hexa.test(t),hexOrHexaColor:t=>hexOrHexa.test(t),rgbColor:t=>rgb.test(t),rgbaColor:t=>rgba.test(t),rgbOrRgbaColor:t=>rgb.test(t)||rgba.test(t),hexOrRgbColor:t=>hex.test(t)||rgb.test(t),hexaOrRgbaColor:t=>hexa.test(t)||rgba.test(t),anyColor:t=>hexOrHexa.test(t)||rgb.test(t)||rgba.test(t)},lazyRulesValues=[!0,!1,"ondemand"],useValidateProps={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:t=>lazyRulesValues.includes(t)}};function useValidate(t,r){const{props:o,proxy:a}=getCurrentInstance(),u=ref(!1),d=ref(null),g=ref(!1);useFormChild({validate:T,resetValidation:C});let v=0,y;const A=computed(()=>o.rules!==void 0&&o.rules!==null&&o.rules.length!==0),b=computed(()=>o.disable!==!0&&A.value===!0&&r.value===!1),_=computed(()=>o.error===!0||u.value===!0),w=computed(()=>typeof o.errorMessage=="string"&&o.errorMessage.length!==0?o.errorMessage:d.value);watch(()=>o.modelValue,()=>{g.value=!0,b.value===!0&&o.lazyRules===!1&&I()});function S(){o.lazyRules!=="ondemand"&&b.value===!0&&g.value===!0&&I()}watch(()=>o.reactiveRules,E=>{E===!0?y===void 0&&(y=watch(()=>o.rules,S,{immediate:!0,deep:!0})):y!==void 0&&(y(),y=void 0)},{immediate:!0}),watch(()=>o.lazyRules,S),watch(t,E=>{E===!0?g.value=!0:b.value===!0&&o.lazyRules!=="ondemand"&&I()});function C(){v++,r.value=!1,g.value=!1,u.value=!1,d.value=null,I.cancel()}function T(E=o.modelValue){if(o.disable===!0||A.value===!1)return!0;const F=++v,O=r.value!==!0?()=>{g.value=!0}:()=>{},D=(P,G)=>{P===!0&&O(),u.value=P,d.value=G||null,r.value=!1},x=[];for(let P=0;P{if(P===void 0||Array.isArray(P)===!1||P.length===0)return F===v&&D(!1),!0;const G=P.find(M=>M===!1||typeof M=="string");return F===v&&D(G!==void 0,G),G===void 0},P=>(F===v&&(console.error(P),D(!0)),!1)))}const I=debounce$1(T,0);return onBeforeUnmount(()=>{y!==void 0&&y(),I.cancel()}),Object.assign(a,{resetValidation:C,validate:T}),injectProp(a,"hasError",()=>_.value),{isDirtyModel:g,hasRules:A,hasError:_,errorMessage:w,validate:T,resetValidation:C}}let queue=[],waitFlags=[];function clearFlag(t){waitFlags=waitFlags.filter(r=>r!==t)}function addFocusWaitFlag(t){clearFlag(t),waitFlags.push(t)}function removeFocusWaitFlag(t){clearFlag(t),waitFlags.length===0&&queue.length!==0&&(queue[queue.length-1](),queue=[])}function addFocusFn(t){waitFlags.length===0?t():queue.push(t)}function removeFocusFn(t){queue=queue.filter(r=>r!==t)}function fieldValueIsFilled(t){return t!=null&&(""+t).length!==0}const useNonInputFieldProps={...useDarkProps,...useValidateProps,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},useFieldProps={...useNonInputFieldProps,maxlength:[Number,String]},useFieldEmits=["update:modelValue","clear","focus","blur"];function useFieldState({requiredForAttr:t=!0,tagProp:r,changeEvent:o=!1}={}){const{props:a,proxy:u}=getCurrentInstance(),d=useDark(a,u.$q),g=useId({required:t,getValue:()=>a.for});return{requiredForAttr:t,changeEvent:o,tag:r===!0?computed(()=>a.tag):{value:"label"},isDark:d,editable:computed(()=>a.disable!==!0&&a.readonly!==!0),innerLoading:ref(!1),focused:ref(!1),hasPopupOpen:!1,splitAttrs:useSplitAttrs(),targetUid:g,rootRef:ref(null),targetRef:ref(null),controlRef:ref(null)}}function useField(t){const{props:r,emit:o,slots:a,attrs:u,proxy:d}=getCurrentInstance(),{$q:g}=d;let v=null;t.hasValue===void 0&&(t.hasValue=computed(()=>fieldValueIsFilled(r.modelValue))),t.emitValue===void 0&&(t.emitValue=J=>{o("update:modelValue",J)}),t.controlEvents===void 0&&(t.controlEvents={onFocusin:N,onFocusout:V}),Object.assign(t,{clearValue:Y,onControlFocusin:N,onControlFocusout:V,focus:G}),t.computedCounter===void 0&&(t.computedCounter=computed(()=>{if(r.counter!==!1){const J=typeof r.modelValue=="string"||typeof r.modelValue=="number"?(""+r.modelValue).length:Array.isArray(r.modelValue)===!0?r.modelValue.length:0,ne=r.maxlength!==void 0?r.maxlength:r.maxValues;return J+(ne!==void 0?" / "+ne:"")}}));const{isDirtyModel:y,hasRules:A,hasError:b,errorMessage:_,resetValidation:w}=useValidate(t.focused,t.innerLoading),S=t.floatingLabel!==void 0?computed(()=>r.stackLabel===!0||t.focused.value===!0||t.floatingLabel.value===!0):computed(()=>r.stackLabel===!0||t.focused.value===!0||t.hasValue.value===!0),C=computed(()=>r.bottomSlots===!0||r.hint!==void 0||A.value===!0||r.counter===!0||r.error!==null),T=computed(()=>r.filled===!0?"filled":r.outlined===!0?"outlined":r.borderless===!0?"borderless":r.standout?"standout":"standard"),I=computed(()=>`q-field row no-wrap items-start q-field--${T.value}`+(t.fieldClass!==void 0?` ${t.fieldClass.value}`:"")+(r.rounded===!0?" q-field--rounded":"")+(r.square===!0?" q-field--square":"")+(S.value===!0?" q-field--float":"")+(F.value===!0?" q-field--labeled":"")+(r.dense===!0?" q-field--dense":"")+(r.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(t.isDark.value===!0?" q-field--dark":"")+(t.getControl===void 0?" q-field--auto-height":"")+(t.focused.value===!0?" q-field--focused":"")+(b.value===!0?" q-field--error":"")+(b.value===!0||t.focused.value===!0?" q-field--highlighted":"")+(r.hideBottomSpace!==!0&&C.value===!0?" q-field--with-bottom":"")+(r.disable===!0?" q-field--disabled":r.readonly===!0?" q-field--readonly":"")),E=computed(()=>"q-field__control relative-position row no-wrap"+(r.bgColor!==void 0?` bg-${r.bgColor}`:"")+(b.value===!0?" text-negative":typeof r.standout=="string"&&r.standout.length!==0&&t.focused.value===!0?` ${r.standout}`:r.color!==void 0?` text-${r.color}`:"")),F=computed(()=>r.labelSlot===!0||r.label!==void 0),O=computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(r.labelColor!==void 0&&b.value!==!0?` text-${r.labelColor}`:"")),D=computed(()=>({id:t.targetUid.value,editable:t.editable.value,focused:t.focused.value,floatingLabel:S.value,modelValue:r.modelValue,emitValue:t.emitValue})),x=computed(()=>{const J={};return t.targetUid.value&&(J.for=t.targetUid.value),r.disable===!0&&(J["aria-disabled"]="true"),J});function P(){const J=document.activeElement;let ne=t.targetRef!==void 0&&t.targetRef.value;ne&&(J===null||J.id!==t.targetUid.value)&&(ne.hasAttribute("tabindex")===!0||(ne=ne.querySelector("[tabindex]")),ne&&ne!==J&&ne.focus({preventScroll:!0}))}function G(){addFocusFn(P)}function M(){removeFocusFn(P);const J=document.activeElement;J!==null&&t.rootRef.value.contains(J)&&J.blur()}function N(J){v!==null&&(clearTimeout(v),v=null),t.editable.value===!0&&t.focused.value===!1&&(t.focused.value=!0,o("focus",J))}function V(J,ne){v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,!(document.hasFocus()===!0&&(t.hasPopupOpen===!0||t.controlRef===void 0||t.controlRef.value===null||t.controlRef.value.contains(document.activeElement)!==!1))&&(t.focused.value===!0&&(t.focused.value=!1,o("blur",J)),ne!==void 0&&ne())})}function Y(J){stopAndPrevent$1(J),g.platform.is.mobile!==!0?(t.targetRef!==void 0&&t.targetRef.value||t.rootRef.value).focus():t.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),r.type==="file"&&(t.inputRef.value.value=null),o("update:modelValue",null),t.changeEvent===!0&&o("change",null),o("clear",r.modelValue),nextTick(()=>{const ne=y.value;w(),y.value=ne})}function H(J){[13,32].includes(J.keyCode)&&Y(J)}function B(){const J=[];return a.prepend!==void 0&&J.push(h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:prevent},a.prepend())),J.push(h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},z())),b.value===!0&&r.noErrorIcon===!1&&J.push(Q("error",[h(QIcon,{name:g.iconSet.field.error,color:"negative"})])),r.loading===!0||t.innerLoading.value===!0?J.push(Q("inner-loading-append",a.loading!==void 0?a.loading():[h(QSpinner,{color:r.color})])):r.clearable===!0&&t.hasValue.value===!0&&t.editable.value===!0&&J.push(Q("inner-clearable-append",[h(QIcon,{class:"q-field__focusable-action",name:r.clearIcon||g.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":g.lang.label.clear,onKeyup:H,onClick:Y})])),a.append!==void 0&&J.push(h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:prevent},a.append())),t.getInnerAppend!==void 0&&J.push(Q("inner-append",t.getInnerAppend())),t.getControlChild!==void 0&&J.push(t.getControlChild()),J}function z(){const J=[];return r.prefix!==void 0&&r.prefix!==null&&J.push(h("div",{class:"q-field__prefix no-pointer-events row items-center"},r.prefix)),t.getShadowControl!==void 0&&t.hasShadow.value===!0&&J.push(t.getShadowControl()),t.getControl!==void 0?J.push(t.getControl()):a.rawControl!==void 0?J.push(a.rawControl()):a.control!==void 0&&J.push(h("div",{ref:t.targetRef,class:"q-field__native row",tabindex:-1,...t.splitAttrs.attributes.value,"data-autofocus":r.autofocus===!0||void 0},a.control(D.value))),F.value===!0&&J.push(h("div",{class:O.value},hSlot(a.label,r.label))),r.suffix!==void 0&&r.suffix!==null&&J.push(h("div",{class:"q-field__suffix no-pointer-events row items-center"},r.suffix)),J.concat(hSlot(a.default))}function U(){let J,ne;b.value===!0?_.value!==null?(J=[h("div",{role:"alert"},_.value)],ne=`q--slot-error-${_.value}`):(J=hSlot(a.error),ne="q--slot-error"):(r.hideHint!==!0||t.focused.value===!0)&&(r.hint!==void 0?(J=[h("div",r.hint)],ne=`q--slot-hint-${r.hint}`):(J=hSlot(a.hint),ne="q--slot-hint"));const te=r.counter===!0||a.counter!==void 0;if(r.hideBottomSpace===!0&&te===!1&&J===void 0)return;const ce=h("div",{key:ne,class:"q-field__messages col"},J);return h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(r.hideBottomSpace!==!0?"animated":"stale"),onClick:prevent},[r.hideBottomSpace===!0?ce:h(Transition,{name:"q-transition--field-message"},()=>ce),te===!0?h("div",{class:"q-field__counter"},a.counter!==void 0?a.counter():t.computedCounter.value):null])}function Q(J,ne){return ne===null?null:h("div",{key:J,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ne)}let X=!1;return onDeactivated(()=>{X=!0}),onActivated(()=>{X===!0&&r.autofocus===!0&&d.focus()}),r.autofocus===!0&&onMounted(()=>{d.focus()}),onBeforeUnmount(()=>{v!==null&&clearTimeout(v)}),Object.assign(d,{focus:G,blur:M}),function(){const ne=t.getControl===void 0&&a.control===void 0?{...t.splitAttrs.attributes.value,"data-autofocus":r.autofocus===!0||void 0,...x.value}:x.value;return h(t.tag.value,{ref:t.rootRef,class:[I.value,u.class],style:u.style,...ne},[a.before!==void 0?h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:prevent},a.before()):null,h("div",{class:"q-field__inner relative-position col self-stretch"},[h("div",{ref:t.controlRef,class:E.value,tabindex:-1,...t.controlEvents},B()),C.value===!0?U():null]),a.after!==void 0?h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:prevent},a.after()):null])}}const NAMED_MASKS={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},TOKENS={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},KEYS=Object.keys(TOKENS);KEYS.forEach(t=>{TOKENS[t].regex=new RegExp(TOKENS[t].pattern)});const tokenRegexMask=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+KEYS.join("")+"])|(.)","g"),escRegex=/[.*+?^${}()|[\]\\]/g,MARKER=String.fromCharCode(1),useMaskProps={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function useMask(t,r,o,a){let u,d,g,v,y,A;const b=ref(null),_=ref(S());function w(){return t.autogrow===!0||["textarea","text","search","url","tel","password"].includes(t.type)}watch(()=>t.type+t.autogrow,T),watch(()=>t.mask,N=>{if(N!==void 0)I(_.value,!0);else{const V=G(_.value);T(),t.modelValue!==V&&r("update:modelValue",V)}}),watch(()=>t.fillMask+t.reverseFillMask,()=>{b.value===!0&&I(_.value,!0)}),watch(()=>t.unmaskedValue,()=>{b.value===!0&&I(_.value)});function S(){if(T(),b.value===!0){const N=x(G(t.modelValue));return t.fillMask!==!1?M(N):N}return t.modelValue}function C(N){if(N0;B--)V+=MARKER;Y=Y.slice(0,H)+V+Y.slice(H)}return Y}function T(){if(b.value=t.mask!==void 0&&t.mask.length!==0&&w(),b.value===!1){v=void 0,u="",d="";return}const N=NAMED_MASKS[t.mask]===void 0?t.mask:NAMED_MASKS[t.mask],V=typeof t.fillMask=="string"&&t.fillMask.length!==0?t.fillMask.slice(0,1):"_",Y=V.replace(escRegex,"\\$&"),H=[],B=[],z=[];let U=t.reverseFillMask===!0,Q="",X="";N.replace(tokenRegexMask,(ce,se,ge,he,ye)=>{if(he!==void 0){const ee=TOKENS[he];z.push(ee),X=ee.negate,U===!0&&(B.push("(?:"+X+"+)?("+ee.pattern+"+)?(?:"+X+"+)?("+ee.pattern+"+)?"),U=!1),B.push("(?:"+X+"+)?("+ee.pattern+")?")}else if(ge!==void 0)Q="\\"+(ge==="\\"?"":ge),z.push(ge),H.push("([^"+Q+"]+)?"+Q+"?");else{const ee=se!==void 0?se:ye;Q=ee==="\\"?"\\\\\\\\":ee.replace(escRegex,"\\\\$&"),z.push(ee),H.push("([^"+Q+"]+)?"+Q+"?")}});const J=new RegExp("^"+H.join("")+"("+(Q===""?".":"[^"+Q+"]")+"+)?"+(Q===""?"":"["+Q+"]*")+"$"),ne=B.length-1,te=B.map((ce,se)=>se===0&&t.reverseFillMask===!0?new RegExp("^"+Y+"*"+ce):se===ne?new RegExp("^"+ce+"("+(X===""?".":X)+"+)?"+(t.reverseFillMask===!0?"$":Y+"*")):new RegExp("^"+ce));g=z,v=ce=>{const se=J.exec(t.reverseFillMask===!0?ce:ce.slice(0,z.length+1));se!==null&&(ce=se.slice(1).join(""));const ge=[],he=te.length;for(let ye=0,ee=ce;yetypeof ce=="string"?ce:MARKER).join(""),d=u.split(MARKER).join(V)}function I(N,V,Y){const H=a.value,B=H.selectionEnd,z=H.value.length-B,U=G(N);V===!0&&T();const Q=x(U),X=t.fillMask!==!1?M(Q):Q,J=_.value!==X;H.value!==X&&(H.value=X),J===!0&&(_.value=X),document.activeElement===H&&nextTick(()=>{if(X===d){const te=t.reverseFillMask===!0?d.length:0;H.setSelectionRange(te,te,"forward");return}if(Y==="insertFromPaste"&&t.reverseFillMask!==!0){const te=H.selectionEnd;let ce=B-1;for(let se=y;se<=ce&&seQ.length?1:0:Math.max(0,X.length-(X===d?0:Math.min(Q.length,z)+1))+1:B;H.setSelectionRange(te,te,"forward");return}if(t.reverseFillMask===!0)if(J===!0){const te=Math.max(0,X.length-(X===d?0:Math.min(Q.length,z+1)));te===1&&B===1?H.setSelectionRange(te,te,"forward"):F.rightReverse(H,te)}else{const te=X.length-z;H.setSelectionRange(te,te,"backward")}else if(J===!0){const te=Math.max(0,u.indexOf(MARKER),Math.min(Q.length,B)-1);F.right(H,te)}else{const te=B-1;F.right(H,te)}});const ne=t.unmaskedValue===!0?G(X):X;String(t.modelValue)!==ne&&(t.modelValue!==null||ne!=="")&&o(ne,!0)}function E(N,V,Y){const H=x(G(N.value));V=Math.max(0,u.indexOf(MARKER),Math.min(H.length,V)),y=V,N.setSelectionRange(V,Y,"forward")}const F={left(N,V){const Y=u.slice(V-1).indexOf(MARKER)===-1;let H=Math.max(0,V-1);for(;H>=0;H--)if(u[H]===MARKER){V=H,Y===!0&&V++;break}if(H<0&&u[V]!==void 0&&u[V]!==MARKER)return F.right(N,0);V>=0&&N.setSelectionRange(V,V,"backward")},right(N,V){const Y=N.value.length;let H=Math.min(Y,V+1);for(;H<=Y;H++)if(u[H]===MARKER){V=H;break}else u[H-1]===MARKER&&(V=H);if(H>Y&&u[V-1]!==void 0&&u[V-1]!==MARKER)return F.left(N,Y);N.setSelectionRange(V,V,"forward")},leftReverse(N,V){const Y=C(N.value.length);let H=Math.max(0,V-1);for(;H>=0;H--)if(Y[H-1]===MARKER){V=H;break}else if(Y[H]===MARKER&&(V=H,H===0))break;if(H<0&&Y[V]!==void 0&&Y[V]!==MARKER)return F.rightReverse(N,0);V>=0&&N.setSelectionRange(V,V,"backward")},rightReverse(N,V){const Y=N.value.length,H=C(Y),B=H.slice(0,V+1).indexOf(MARKER)===-1;let z=Math.min(Y,V+1);for(;z<=Y;z++)if(H[z-1]===MARKER){V=z,V>0&&B===!0&&V--;break}if(z>Y&&H[V-1]!==void 0&&H[V-1]!==MARKER)return F.leftReverse(N,Y);N.setSelectionRange(V,V,"forward")}};function O(N){r("click",N),A=void 0}function D(N){if(r("keydown",N),shouldIgnoreKey(N)===!0||N.altKey===!0)return;const V=a.value,Y=V.selectionStart,H=V.selectionEnd;if(N.shiftKey||(A=void 0),N.keyCode===37||N.keyCode===39){N.shiftKey&&A===void 0&&(A=V.selectionDirection==="forward"?Y:H);const B=F[(N.keyCode===39?"right":"left")+(t.reverseFillMask===!0?"Reverse":"")];if(N.preventDefault(),B(V,A===Y?H:Y),N.shiftKey){const z=V.selectionStart;V.setSelectionRange(Math.min(A,z),Math.max(A,z),"forward")}}else N.keyCode===8&&t.reverseFillMask!==!0&&Y===H?(F.left(V,Y),V.setSelectionRange(V.selectionStart,H,"backward")):N.keyCode===46&&t.reverseFillMask===!0&&Y===H&&(F.rightReverse(V,H),V.setSelectionRange(Y,V.selectionEnd,"forward"))}function x(N){if(N==null||N==="")return"";if(t.reverseFillMask===!0)return P(N);const V=g;let Y=0,H="";for(let B=0;B=0&&H!==-1;z--){const U=V[z];let Q=N[H];if(typeof U=="string")B=U+B,Q===U&&H--;else if(Q!==void 0&&U.regex.test(Q))do B=(U.transform!==void 0?U.transform(Q):Q)+B,H--,Q=N[H];while(Y===z&&Q!==void 0&&U.regex.test(Q));else return B}return B}function G(N){return typeof N!="string"||v===void 0?typeof N=="number"?v(""+N):N:v(N)}function M(N){return d.length-N.length<=0?N:t.reverseFillMask===!0&&N.length!==0?d.slice(0,-N.length)+N:N+d.slice(N.length)}return{innerValue:_,hasMask:b,moveCursorForPaste:E,updateMaskValue:I,onMaskedKeydown:D,onMaskedClick:O}}function useFileFormDomProps(t,r){function o(){const a=t.modelValue;try{const u="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(a)===a&&("length"in a?Array.from(a):[a]).forEach(d=>{u.items.add(d)}),{files:u.files}}catch(u){return{files:void 0}}}return computed(r===!0?()=>{if(t.type==="file")return o()}:o)}function useKeyComposition(t){return function(o){if(o.type==="compositionend"||o.type==="change"){if(o.target.qComposing!==!0)return;o.target.qComposing=!1,t(o)}else o.type==="compositionstart"&&(o.target.qComposing=!0)}}var QInput=createComponent({name:"QInput",inheritAttrs:!1,props:{...useFieldProps,...useMaskProps,...useFormProps,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...useFieldEmits,"paste","change","keydown","click","animationend"],setup(t,{emit:r,attrs:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d={};let g=NaN,v,y,A=null,b;const _=ref(null),w=useFormInputNameAttr(t),{innerValue:S,hasMask:C,moveCursorForPaste:T,updateMaskValue:I,onMaskedKeydown:E,onMaskedClick:F}=useMask(t,r,Q,_),O=useFileFormDomProps(t,!0),D=computed(()=>fieldValueIsFilled(S.value)),x=useKeyComposition(z),P=useFieldState({changeEvent:!0}),G=computed(()=>t.type==="textarea"||t.autogrow===!0),M=computed(()=>G.value===!0||["text","search","url","tel","password"].includes(t.type)),N=computed(()=>{const se={...P.splitAttrs.listeners.value,onInput:z,onPaste:B,onChange:J,onBlur:ne,onFocus:stop$1};return se.onCompositionstart=se.onCompositionupdate=se.onCompositionend=x,C.value===!0&&(se.onKeydown=E,se.onClick=F),t.autogrow===!0&&(se.onAnimationend=U),se}),V=computed(()=>{const se={tabindex:0,"data-autofocus":t.autofocus===!0||void 0,rows:t.type==="textarea"?6:void 0,"aria-label":t.label,name:w.value,...P.splitAttrs.attributes.value,id:P.targetUid.value,maxlength:t.maxlength,disabled:t.disable===!0,readonly:t.readonly===!0};return G.value===!1&&(se.type=t.type),t.autogrow===!0&&(se.rows=1),se});watch(()=>t.type,()=>{_.value&&(_.value.value=t.modelValue)}),watch(()=>t.modelValue,se=>{if(C.value===!0){if(y===!0&&(y=!1,String(se)===g))return;I(se)}else S.value!==se&&(S.value=se,t.type==="number"&&d.hasOwnProperty("value")===!0&&(v===!0?v=!1:delete d.value));t.autogrow===!0&&nextTick(X)}),watch(()=>t.autogrow,se=>{se===!0?nextTick(X):_.value!==null&&o.rows>0&&(_.value.style.height="auto")}),watch(()=>t.dense,()=>{t.autogrow===!0&&nextTick(X)});function Y(){addFocusFn(()=>{const se=document.activeElement;_.value!==null&&_.value!==se&&(se===null||se.id!==P.targetUid.value)&&_.value.focus({preventScroll:!0})})}function H(){_.value!==null&&_.value.select()}function B(se){if(C.value===!0&&t.reverseFillMask!==!0){const ge=se.target;T(ge,ge.selectionStart,ge.selectionEnd)}r("paste",se)}function z(se){if(!se||!se.target)return;if(t.type==="file"){r("update:modelValue",se.target.files);return}const ge=se.target.value;if(se.target.qComposing===!0){d.value=ge;return}if(C.value===!0)I(ge,!1,se.inputType);else if(Q(ge),M.value===!0&&se.target===document.activeElement){const{selectionStart:he,selectionEnd:ye}=se.target;he!==void 0&&ye!==void 0&&nextTick(()=>{se.target===document.activeElement&&ge.indexOf(se.target.value)===0&&se.target.setSelectionRange(he,ye)})}t.autogrow===!0&&X()}function U(se){r("animationend",se),X()}function Q(se,ge){b=()=>{A=null,t.type!=="number"&&d.hasOwnProperty("value")===!0&&delete d.value,t.modelValue!==se&&g!==se&&(g=se,ge===!0&&(y=!0),r("update:modelValue",se),nextTick(()=>{g===se&&(g=NaN)})),b=void 0},t.type==="number"&&(v=!0,d.value=se),t.debounce!==void 0?(A!==null&&clearTimeout(A),d.value=se,A=setTimeout(b,t.debounce)):b()}function X(){requestAnimationFrame(()=>{const se=_.value;if(se!==null){const ge=se.parentNode.style,{scrollTop:he}=se,{overflowY:ye,maxHeight:ee}=u.platform.is.firefox===!0?{}:window.getComputedStyle(se),pe=ye!==void 0&&ye!=="scroll";pe===!0&&(se.style.overflowY="hidden"),ge.marginBottom=se.scrollHeight-1+"px",se.style.height="1px",se.style.height=se.scrollHeight+"px",pe===!0&&(se.style.overflowY=parseInt(ee,10){_.value!==null&&(_.value.value=S.value!==void 0?S.value:"")})}function te(){return d.hasOwnProperty("value")===!0?d.value:S.value!==void 0?S.value:""}onBeforeUnmount(()=>{ne()}),onMounted(()=>{t.autogrow===!0&&X()}),Object.assign(P,{innerValue:S,fieldClass:computed(()=>`q-${G.value===!0?"textarea":"input"}`+(t.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:computed(()=>t.type!=="file"&&typeof t.shadowText=="string"&&t.shadowText.length!==0),inputRef:_,emitValue:Q,hasValue:D,floatingLabel:computed(()=>D.value===!0&&(t.type!=="number"||isNaN(S.value)===!1)||fieldValueIsFilled(t.displayValue)),getControl:()=>h(G.value===!0?"textarea":"input",{ref:_,class:["q-field__native q-placeholder",t.inputClass],style:t.inputStyle,...V.value,...N.value,...t.type!=="file"?{value:te()}:O.value}),getShadowControl:()=>h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(G.value===!0?"":" text-no-wrap")},[h("span",{class:"invisible"},te()),h("span",t.shadowText)])});const ce=useField(P);return Object.assign(a,{focus:Y,select:H,getNativeElement:()=>_.value}),injectProp(a,"nativeEl",()=>_.value),ce}}),InputAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1s=defineComponent({name:"InputAction",props:{componentId:{type:String,default:"InputAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$e),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},inputStyle(){return{"overflow-x":"hidden",padding:"0 0 2px 0","line-height":"19px","min-width":"40px","max-width":"200px","min-height":"19px","max-height":"50px",width:this.stateVal?(this.stateVal.toString().length+2)*8+"px":"40px"}},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:""}},methods:{set(t){this.state&&(t.target===void 0&&this.componentOptions.setInstantly||t.target!==void 0&&!this.componentOptions.setInstantly)&&this.$emit("setDevice",this.device.id,this.stateKey,t.target?t.target.value:t,this.componentOptions)}}}),OPTIONS$e={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},cast:{label:i18n.global.t("config#componentOptions#_all#cast#label"),info:i18n.global.t("config#componentOptions#_all#cast#info"),type:"Select",options:[{value:"auto",label:i18n.global.t("config#componentOptions#_all#cast#options#auto")},{value:"string",label:i18n.global.t("config#componentOptions#_all#cast#options#string")},{value:"number",label:i18n.global.t("config#componentOptions#_all#cast#options#number")}],value:"auto"},setInstantly:{label:i18n.global.t("config#componentOptions#InputAction#setInstantly#label"),info:i18n.global.t("config#componentOptions#InputAction#setInstantly#info"),type:"Switch",value:!1}};function _sfc_render$1s(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{"margin-left":"8px"},onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"])),onDblclick:r[3]||(r[3]=withModifiers(()=>{},["stop"]))},[createVNode$1(QInput,{dense:"","input-class":"InputAction","input-style":t.inputStyle,suffix:t.state&&t.state.unit,type:t.stateVal.toString().length>35?"textarea":"search",autogrow:t.stateVal.toString().length>35,debounce:250,"model-value":t.stateVal,"onUpdate:modelValue":t.set,onKeyup:withKeys(withModifiers(t.set,["stop"]),["enter"]),onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onDblclick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},null,8,["input-style","suffix","type","autogrow","model-value","onUpdate:modelValue","onKeyup"])],32)}var InputAction=_export_sfc$1(_sfc_main$1s,[["render",_sfc_render$1s]]);const ButtonAction$2=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return ButtonAction$1}),void 0),suspensible:!1}),_sfc_main$1r=defineComponent({name:"IconButtonAction",components:{ButtonAction:ButtonAction$2}}),OPTIONS$d={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},pushButton:{label:i18n.global.t("config#componentOptions#IconButtonAction#pushButton#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#pushButton#info"),type:"Switch",value:!1},pushImpulse:{label:i18n.global.t("config#componentOptions#IconButtonAction#pushImpulse#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#pushImpulse#info"),type:"Number",value:500},flat:{label:i18n.global.t("config#componentOptions#IconButtonAction#flat#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#flat#info"),type:"Switch",value:!0},iconTurnOn:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOn#label"),value:"mdi-power",type:"icon"},iconTurnOff:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOff#label"),value:"mdi-power-off",type:"icon"},showState:{label:i18n.global.t("config#componentOptions#IconButtonAction#showState#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#showState#info"),type:"Switch",value:!1},colorOn:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},colorOff:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},buttonSize:{label:i18n.global.t("config#componentOptions#IconButtonAction#buttonSize#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#buttonSize#info"),type:"Select",value:"md",options:[{label:i18n.global.t("extra small"),value:"xs"},{label:i18n.global.t("small"),value:"sm"},{label:i18n.global.t("medium"),value:"md"},{label:i18n.global.t("large"),value:"lg"},{label:i18n.global.t("extra large"),value:"xl"}]}};function _sfc_render$1r(t,r,o,a,u,d){const g=resolveComponent("button-action");return openBlock(),createBlock(g,mergeProps({"component-id":"IconButtonAction"},t.$attrs,{"icon-only":""}),null,16)}var IconButtonAction=_export_sfc$1(_sfc_main$1r,[["render",_sfc_render$1r]]),ButtonAction_vue_vue_type_style_index_0_lang="";const State=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return State$2}),void 0),suspensible:!1}),_sfc_main$1q=defineComponent({name:"ButtonAction",components:{State},props:{componentId:{type:String,default:"ButtonAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$c),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.properties||{}}},ButtonActionLabel(){return this.iconOnly?null:this.componentOptions[this.isOn?"labelTurnOn":"labelTurnOff"]},ButtonActionIcon(){return icon$n(this.componentOptions[this.isOn?"iconTurnOn":"iconTurnOff"])},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.stateProperties.off},isOn(){return this.stateVal!==void 0&&this.stateVal.toString()===this.stateProperties.on.toString()},height(){return{sm:18,md:24,lg:32,xl:38}[this.componentOptions.buttonSize]}},methods:{set(t){let r=this.isOn?this.stateProperties.setOff:this.stateProperties.setOn;r=typeof r=="string"&&(r==="true"||r==="false")?r==="true":r;let o=this.isOn?this.stateProperties.off:this.stateProperties.on;o=typeof o=="string"&&(o==="true"||o==="false")?o==="true":o;const a=this.stateProperties.initial!==void 0?this.stateProperties.initial:this.stateVal;this.$emit("setDevice",this.device.id,this.stateKey,r!==void 0?r:o,this.componentOptions.ack),this.componentOptions.pushButton&&setTimeout(()=>{this.$emit("setDevice",this.device.id,this.stateKey,a,this.componentOptions.ack)},this.componentOptions.pushImpulse)}}}),OPTIONS$c={...OPTIONS$d,labelTurnOn:{label:i18n.global.t("config#componentOptions#ButtonAction#labelTurnOn#label"),value:i18n.global.t("turn off")},labelTurnOff:{label:i18n.global.t("config#componentOptions#ButtonAction#labelTurnOff#label"),value:i18n.global.t("turn on")}};function _sfc_render$1q(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("State");return openBlock(),createElementBlock("div",{class:"jarvis-ButtonAction-Container",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[t.componentOptions.showState!==!0||t.componentOptions.showState===!0&&!t.isOn?(openBlock(),createBlock(g,{key:0,type:"button",flat:t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.ButtonActionLabel,icon:t.ButtonActionIcon,size:t.componentOptions.buttonSize,class:normalizeClass(["jarvis-ButtonAction",t.isOn?"isOn":"isOff"]),style:normalizeStyle$1({height:t.height+"px"}),dense:"",onClick:withModifiers(t.set,["stop"])},null,8,["flat","color","round","label","icon","size","class","style","onClick"])):(openBlock(),createBlock(v,normalizeProps(mergeProps({key:1},t.$props)),null,16))])}var ButtonAction=_export_sfc$1(_sfc_main$1q,[["render",_sfc_render$1q]]),ButtonAction$1=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$c,default:ButtonAction},Symbol.toStringTag,{value:"Module"})),QBtnGroup=createComponent({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(t,{slots:r}){const o=computed(()=>{const a=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(u=>t[u]===!0).map(u=>`q-btn-group--${u}`).join(" ");return`q-btn-group row no-wrap${a.length!==0?" "+a:""}`+(t.spread===!0?" q-btn-group--spread":" inline")});return()=>h("div",{class:o.value},hSlot(r.default))}}),ButtonGroupAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1p=defineComponent({name:"ButtonGroupAction",props:{componentId:{type:String,default:"ButtonGroupAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$b),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>({on:"true",off:"false",...t.state&&t.state.properties||{}})),u=ref(t.state&&t.state[o.val]!==void 0?t.state[o.val]:a.value.off),d=computed(()=>u.value!==void 0&&u.value!==null&&u.value.toString()===a.value.on.toString());return{componentOptions:o,sProperties:a,sValue:u,isOn:d,setDevice:v=>{let y;v===void 0&&(y=d.value?a.value.setOff:a.value.setOn,y=typeof y=="string"&&(y==="true"||y==="false")?y==="true":y,v=d.value?a.value.off:a.value.on,v=typeof v=="string"&&(v==="true"||v==="false")?v==="true":v),u.value=y!==void 0?y:v,r("setDevice",t.device.id,t.stateKey,v,o.ack)}}}}),OPTIONS$b={...OPTIONS$c,useDisplay:(t,r)=>r.id==="groupElement"?void 0:{label:i18n.global.t("config#componentOptions#ButtonAction#useDisplay#label"),info:i18n.global.t("config#componentOptions#ButtonAction#useDisplay#info"),type:"Switch",value:!1},pushButton:void 0,showState:void 0};function _sfc_render$1p(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",{key:t.device.revision,onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"]))},[createVNode$1(QBtnGroup,{dense:"",flat:!t.componentOptions.flat,class:"jarvis-ButtonGroupAction"},{default:withCtx(()=>[t.componentOptions.useDisplay?t.componentOptions.useDisplay&&t.state.config?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(t.state.config.display,(v,y)=>(openBlock(),createBlock(g,{key:v,type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:v.indexOf("#")!==-1?t.$t(v):v,size:t.componentOptions.buttonSize,class:normalizeClass(["jarvis-ButtonGroupAction-"+v,t.isOn?"isOn":"isOff"]),style:normalizeStyle$1({height:t.height+"px"}),dense:"",onClick:withModifiers(A=>t.setDevice(y),["stop"])},null,8,["flat","color","round","label","size","class","style","onClick"]))),128)):createCommentVNode("",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(g,{type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.componentOptions.labelTurnOff.indexOf("#")!==-1?t.$t(t.componentOptions.labelTurnOff):t.componentOptions.labelTurnOff,icon:t.componentOptions.iconTurnOff,size:t.componentOptions.buttonSize,onClick:r[0]||(r[0]=v=>t.setDevice(!1))},null,8,["flat","color","round","label","icon","size"]),createVNode$1(g,{type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.componentOptions.labelTurnOn.indexOf("#")!==-1?t.$t(t.componentOptions.labelTurnOn):t.componentOptions.labelTurnOn,icon:t.componentOptions.iconTurnOn,size:t.componentOptions.buttonSize,onClick:r[1]||(r[1]=v=>t.setDevice(!0))},null,8,["flat","color","round","label","icon","size"])],64))]),_:1},8,["flat"])])}var ButtonGroupAction=_export_sfc$1(_sfc_main$1p,[["render",_sfc_render$1p]]),QField=createComponent({name:"QField",inheritAttrs:!1,props:{...useFieldProps,tag:{type:String,default:"label"}},emits:useFieldEmits,setup(){return useField(useFieldState({tagProp:!0}))}});const defaultSizes$1={xs:8,sm:10,md:14,lg:20,xl:24};var QChip=createComponent({name:"QChip",props:{...useDarkProps,...useSizeProps,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),d=useSize(t,defaultSizes$1),g=computed(()=>t.selected===!0||t.icon!==void 0),v=computed(()=>t.selected===!0?t.iconSelected||a.iconSet.chip.selected:t.icon),y=computed(()=>t.iconRemove||a.iconSet.chip.remove),A=computed(()=>t.disable===!1&&(t.clickable===!0||t.selected!==null)),b=computed(()=>{const I=t.outline===!0&&t.color||t.textColor;return"q-chip row inline no-wrap items-center"+(t.outline===!1&&t.color!==void 0?` bg-${t.color}`:"")+(I?` text-${I} q-chip--colored`:"")+(t.disable===!0?" disabled":"")+(t.dense===!0?" q-chip--dense":"")+(t.outline===!0?" q-chip--outline":"")+(t.selected===!0?" q-chip--selected":"")+(A.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(t.square===!0?" q-chip--square":"")+(u.value===!0?" q-chip--dark q-dark":"")}),_=computed(()=>{const I=t.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:t.tabindex||0},E={...I,role:"button","aria-hidden":"false","aria-label":t.removeAriaLabel||a.lang.label.remove};return{chip:I,remove:E}});function w(I){I.keyCode===13&&S(I)}function S(I){t.disable||(o("update:selected",!t.selected),o("click",I))}function C(I){(I.keyCode===void 0||I.keyCode===13)&&(stopAndPrevent$1(I),t.disable===!1&&(o("update:modelValue",!1),o("remove")))}function T(){const I=[];A.value===!0&&I.push(h("div",{class:"q-focus-helper"})),g.value===!0&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const E=t.label!==void 0?[h("div",{class:"ellipsis"},[t.label])]:void 0;return I.push(h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},hMergeSlotSafely(r.default,E))),t.iconRight&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--right",name:t.iconRight})),t.removable===!0&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:y.value,..._.value.remove,onClick:C,onKeyup:C})),I}return()=>{if(t.modelValue===!1)return;const I={class:b.value,style:d.value};return A.value===!0&&Object.assign(I,_.value.chip,{onClick:S,onKeyup:w}),hDir("div",I,T(),"ripple",t.ripple!==!1&&t.disable!==!0,()=>[[Ripple,t.ripple]])}}}),QItem=createComponent({name:"QItem",props:{...useDarkProps,...useRouterLinkProps,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),{hasLink:d,linkAttrs:g,linkClass:v,linkTag:y,navigateOnClick:A}=useRouterLink(),b=ref(null),_=ref(null),w=computed(()=>t.clickable===!0||d.value===!0||t.tag==="label"),S=computed(()=>t.disable!==!0&&w.value===!0),C=computed(()=>"q-item q-item-type row no-wrap"+(t.dense===!0?" q-item--dense":"")+(u.value===!0?" q-item--dark":"")+(d.value===!0&&t.active===null?v.value:t.active===!0?` q-item--active${t.activeClass!==void 0?` ${t.activeClass}`:""}`:"")+(t.disable===!0?" disabled":"")+(S.value===!0?" q-item--clickable q-link cursor-pointer "+(t.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(t.focused===!0?" q-manual-focusable--focused":""):"")),T=computed(()=>{if(t.insetLevel===void 0)return null;const O=a.lang.rtl===!0?"Right":"Left";return{["padding"+O]:16+t.insetLevel*56+"px"}});function I(O){S.value===!0&&(_.value!==null&&(O.qKeyEvent!==!0&&document.activeElement===b.value?_.value.focus():document.activeElement===_.value&&b.value.focus()),A(O))}function E(O){if(S.value===!0&&isKeyCode(O,[13,32])===!0){stopAndPrevent$1(O),O.qKeyEvent=!0;const D=new MouseEvent("click",O);D.qKeyEvent=!0,b.value.dispatchEvent(D)}o("keyup",O)}function F(){const O=hUniqueSlot(r.default,[]);return S.value===!0&&O.unshift(h("div",{class:"q-focus-helper",tabindex:-1,ref:_})),O}return()=>{const O={ref:b,class:C.value,style:T.value,role:"listitem",onClick:I,onKeyup:E};return S.value===!0?(O.tabindex=t.tabindex||"0",Object.assign(O,g.value)):w.value===!0&&(O["aria-disabled"]="true"),h(y.value,O,F())}}}),QItemSection=createComponent({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(t,{slots:r}){const o=computed(()=>`q-item__section column q-item__section--${t.avatar===!0||t.side===!0||t.thumbnail===!0?"side":"main"}`+(t.top===!0?" q-item__section--top justify-start":" justify-center")+(t.avatar===!0?" q-item__section--avatar":"")+(t.thumbnail===!0?" q-item__section--thumbnail":"")+(t.noWrap===!0?" q-item__section--nowrap":""));return()=>h("div",{class:o.value},hSlot(r.default))}});const useAnchorStaticProps={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},useAnchorProps={...useAnchorStaticProps,contextMenu:Boolean};function useAnchor({showing:t,avoidEmit:r,configureAnchorEl:o}){const{props:a,proxy:u,emit:d}=getCurrentInstance(),g=ref(null);let v=null;function y(S){return g.value===null?!1:S===void 0||S.touches===void 0||S.touches.length<=1}const A={};o===void 0&&(Object.assign(A,{hide(S){u.hide(S)},toggle(S){u.toggle(S),S.qAnchorHandled=!0},toggleKey(S){isKeyCode(S,13)===!0&&A.toggle(S)},contextClick(S){u.hide(S),prevent(S),nextTick(()=>{u.show(S),S.qAnchorHandled=!0})},prevent,mobileTouch(S){if(A.mobileCleanup(S),y(S)!==!0)return;u.hide(S),g.value.classList.add("non-selectable");const C=S.target;addEvt(A,"anchor",[[C,"touchmove","mobileCleanup","passive"],[C,"touchend","mobileCleanup","passive"],[C,"touchcancel","mobileCleanup","passive"],[g.value,"contextmenu","prevent","notPassive"]]),v=setTimeout(()=>{v=null,u.show(S),S.qAnchorHandled=!0},300)},mobileCleanup(S){g.value.classList.remove("non-selectable"),v!==null&&(clearTimeout(v),v=null),t.value===!0&&S!==void 0&&clearSelection()}}),o=function(S=a.contextMenu){if(a.noParentEvent===!0||g.value===null)return;let C;S===!0?u.$q.platform.is.mobile===!0?C=[[g.value,"touchstart","mobileTouch","passive"]]:C=[[g.value,"mousedown","hide","passive"],[g.value,"contextmenu","contextClick","notPassive"]]:C=[[g.value,"click","toggle","passive"],[g.value,"keyup","toggleKey","passive"]],addEvt(A,"anchor",C)});function b(){cleanEvt(A,"anchor")}function _(S){for(g.value=S;g.value.classList.contains("q-anchor--skip");)g.value=g.value.parentNode;o()}function w(){if(a.target===!1||a.target===""||u.$el.parentNode===null)g.value=null;else if(a.target===!0)_(u.$el.parentNode);else{let S=a.target;if(typeof a.target=="string")try{S=document.querySelector(a.target)}catch(C){S=void 0}S!=null?(g.value=S.$el||S,o()):(g.value=null,console.error(`Anchor: target "${a.target}" not found`))}}return watch(()=>a.contextMenu,S=>{g.value!==null&&(b(),o(S))}),watch(()=>a.target,()=>{g.value!==null&&b(),w()}),watch(()=>a.noParentEvent,S=>{g.value!==null&&(S===!0?b():o())}),onMounted(()=>{w(),r!==!0&&a.modelValue===!0&&g.value===null&&d("update:modelValue",!1)}),onBeforeUnmount(()=>{v!==null&&clearTimeout(v),b()}),{anchorEl:g,canShow:y,anchorEvents:A}}function useScrollTarget(t,r){const o=ref(null);let a;function u(v,y){const A=`${y!==void 0?"add":"remove"}EventListener`,b=y!==void 0?y:a;v!==window&&v[A]("scroll",b,listenOpts$1.passive),window[A]("scroll",b,listenOpts$1.passive),a=y}function d(){o.value!==null&&(u(o.value),o.value=null)}const g=watch(()=>t.noParentEvent,()=>{o.value!==null&&(d(),r())});return onBeforeUnmount(g),{localScrollTarget:o,unconfigureScrollTarget:d,changeScrollEvent:u}}const useModelToggleProps={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},useModelToggleEmits=["beforeShow","show","beforeHide","hide"];function useModelToggle({showing:t,canShow:r,hideOnRouteChange:o,handleShow:a,handleHide:u,processOnMount:d}){const g=getCurrentInstance(),{props:v,emit:y,proxy:A}=g;let b;function _(F){t.value===!0?C(F):w(F)}function w(F){if(v.disable===!0||F!==void 0&&F.qAnchorHandled===!0||r!==void 0&&r(F)!==!0)return;const O=v["onUpdate:modelValue"]!==void 0;O===!0&&(y("update:modelValue",!0),b=F,nextTick(()=>{b===F&&(b=void 0)})),(v.modelValue===null||O===!1)&&S(F)}function S(F){t.value!==!0&&(t.value=!0,y("beforeShow",F),a!==void 0?a(F):y("show",F))}function C(F){if(v.disable===!0)return;const O=v["onUpdate:modelValue"]!==void 0;O===!0&&(y("update:modelValue",!1),b=F,nextTick(()=>{b===F&&(b=void 0)})),(v.modelValue===null||O===!1)&&T(F)}function T(F){t.value!==!1&&(t.value=!1,y("beforeHide",F),u!==void 0?u(F):y("hide",F))}function I(F){v.disable===!0&&F===!0?v["onUpdate:modelValue"]!==void 0&&y("update:modelValue",!1):F===!0!==t.value&&(F===!0?S:T)(b)}watch(()=>v.modelValue,I),o!==void 0&&vmHasRouter(g)===!0&&watch(()=>A.$route.fullPath,()=>{o.value===!0&&t.value===!0&&C()}),d===!0&&onMounted(()=>{I(v.modelValue)});const E={show:w,hide:C,toggle:_};return Object.assign(A,E),E}const portalProxyList=[];function getPortalProxy(t){return portalProxyList.find(r=>r.contentEl!==null&&r.contentEl.contains(t))}function closePortalMenus(t,r){do{if(t.$options.name==="QMenu"){if(t.hide(r),t.$props.separateClosePopup===!0)return getParentProxy(t)}else if(t.__qPortal===!0){const o=getParentProxy(t);return o!==void 0&&o.$options.name==="QPopupProxy"?(t.hide(r),o):t}t=getParentProxy(t)}while(t!=null)}function closePortals(t,r,o){for(;o!==0&&t!==void 0&&t!==null;){if(t.__qPortal===!0){if(o--,t.$options.name==="QMenu"){t=closePortalMenus(t,r);continue}t.hide(r)}t=getParentProxy(t)}}const QPortal=createComponent({name:"QPortal",setup(t,{slots:r}){return()=>r.default()}});function isOnGlobalDialog(t){for(t=t.parent;t!=null;){if(t.type.name==="QGlobalDialog")return!0;if(t.type.name==="QDialog"||t.type.name==="QMenu")return!1;t=t.parent}return!1}function usePortal(t,r,o,a){const u=ref(!1),d=ref(!1);let g=null;const v={},y=a==="dialog"&&isOnGlobalDialog(t);function A(_){if(_===!0){removeFocusWaitFlag(v),d.value=!0;return}d.value=!1,u.value===!1&&(y===!1&&g===null&&(g=createGlobalNode(!1,a)),u.value=!0,portalProxyList.push(t.proxy),addFocusWaitFlag(v))}function b(_){if(d.value=!1,_!==!0)return;removeFocusWaitFlag(v),u.value=!1;const w=portalProxyList.indexOf(t.proxy);w!==-1&&portalProxyList.splice(w,1),g!==null&&(removeGlobalNode(g),g=null)}return onUnmounted(()=>{b(!0)}),t.proxy.__qPortal=!0,injectProp(t.proxy,"contentEl",()=>r.value),{showPortal:A,hidePortal:b,portalIsActive:u,portalIsAccessible:d,renderPortal:()=>y===!0?o():u.value===!0?[h(Teleport,{to:g},h(QPortal,o))]:void 0}}function useTick(){let t;const r=getCurrentInstance();function o(){t=void 0}return onDeactivated(o),onBeforeUnmount(o),{removeTick:o,registerTick(a){t=a,nextTick(()=>{t===a&&(vmIsDestroyed(r)===!1&&t(),t=void 0)})}}}function useTimeout(){let t=null;const r=getCurrentInstance();function o(){t!==null&&(clearTimeout(t),t=null)}return onDeactivated(o),onBeforeUnmount(o),{removeTimeout:o,registerTimeout(a,u){o(),vmIsDestroyed(r)===!1&&(t=setTimeout(()=>{t=null,a()},u))}}}const handlers$3=[];let escDown;function onKeydown(t){escDown=t.keyCode===27}function onBlur(){escDown===!0&&(escDown=!1)}function onKeyup(t){escDown===!0&&(escDown=!1,isKeyCode(t,27)===!0&&handlers$3[handlers$3.length-1](t))}function update(t){window[t]("keydown",onKeydown),window[t]("blur",onBlur),window[t]("keyup",onKeyup),escDown=!1}function addEscapeKey(t){client.is.desktop===!0&&(handlers$3.push(t),handlers$3.length===1&&update("addEventListener"))}function removeEscapeKey(t){const r=handlers$3.indexOf(t);r!==-1&&(handlers$3.splice(r,1),handlers$3.length===0&&update("removeEventListener"))}const handlers$2=[];function trigger$2(t){handlers$2[handlers$2.length-1](t)}function addFocusout(t){client.is.desktop===!0&&(handlers$2.push(t),handlers$2.length===1&&document.body.addEventListener("focusin",trigger$2))}function removeFocusout(t){const r=handlers$2.indexOf(t);r!==-1&&(handlers$2.splice(r,1),handlers$2.length===0&&document.body.removeEventListener("focusin",trigger$2))}const{notPassiveCapture}=listenOpts$1,registeredList=[];function globalHandler(t){const r=t.target;if(r===void 0||r.nodeType===8||r.classList.contains("no-pointer-events")===!0)return;let o=portalProxyList.length-1;for(;o>=0;){const a=portalProxyList[o].$;if(a.type.name==="QTooltip"){o--;continue}if(a.type.name!=="QDialog")break;if(a.props.seamless!==!0)return;o--}for(let a=registeredList.length-1;a>=0;a--){const u=registeredList[a];if((u.anchorEl.value===null||u.anchorEl.value.contains(r)===!1)&&(r===document.body||u.innerRef.value!==null&&u.innerRef.value.contains(r)===!1))t.qClickOutside=!0,u.onClickOutside(t);else return}}function addClickOutside(t){registeredList.push(t),registeredList.length===1&&(document.addEventListener("mousedown",globalHandler,notPassiveCapture),document.addEventListener("touchstart",globalHandler,notPassiveCapture))}function removeClickOutside(t){const r=registeredList.findIndex(o=>o===t);r!==-1&&(registeredList.splice(r,1),registeredList.length===0&&(document.removeEventListener("mousedown",globalHandler,notPassiveCapture),document.removeEventListener("touchstart",globalHandler,notPassiveCapture)))}let vpLeft,vpTop;function validatePosition(t){const r=t.split(" ");return r.length!==2?!1:["top","center","bottom"].includes(r[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(r[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function validateOffset(t){return t?!(t.length!==2||typeof t[0]!="number"||typeof t[1]!="number"):!0}const horizontalPos={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(t=>{horizontalPos[`${t}#ltr`]=t,horizontalPos[`${t}#rtl`]=t});function parsePosition$1(t,r){const o=t.split(" ");return{vertical:o[0],horizontal:horizontalPos[`${o[1]}#${r===!0?"rtl":"ltr"}`]}}function getAnchorProps(t,r){let{top:o,left:a,right:u,bottom:d,width:g,height:v}=t.getBoundingClientRect();return r!==void 0&&(o-=r[1],a-=r[0],d+=r[1],u+=r[0],g+=r[0],v+=r[1]),{top:o,bottom:d,height:v,left:a,right:u,width:g,middle:a+(u-a)/2,center:o+(d-o)/2}}function getAbsoluteAnchorProps(t,r,o){let{top:a,left:u}=t.getBoundingClientRect();return a+=r.top,u+=r.left,o!==void 0&&(a+=o[1],u+=o[0]),{top:a,bottom:a+1,height:1,left:u,right:u+1,width:1,middle:u,center:a}}function getTargetProps(t,r){return{top:0,center:r/2,bottom:r,left:0,middle:t/2,right:t}}function getTopLeftProps(t,r,o,a){return{top:t[o.vertical]-r[a.vertical],left:t[o.horizontal]-r[a.horizontal]}}function setPosition(t,r=0){if(t.targetEl===null||t.anchorEl===null||r>5)return;if(t.targetEl.offsetHeight===0||t.targetEl.offsetWidth===0){setTimeout(()=>{setPosition(t,r+1)},10);return}const{targetEl:o,offset:a,anchorEl:u,anchorOrigin:d,selfOrigin:g,absoluteOffset:v,fit:y,cover:A,maxHeight:b,maxWidth:_}=t;if(client.is.ios===!0&&window.visualViewport!==void 0){const P=document.body.style,{offsetLeft:G,offsetTop:M}=window.visualViewport;G!==vpLeft&&(P.setProperty("--q-pe-left",G+"px"),vpLeft=G),M!==vpTop&&(P.setProperty("--q-pe-top",M+"px"),vpTop=M)}const{scrollLeft:w,scrollTop:S}=o,C=v===void 0?getAnchorProps(u,A===!0?[0,0]:a):getAbsoluteAnchorProps(u,v,a);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:_||"100vw",maxHeight:b||"100vh",visibility:"visible"});const{offsetWidth:T,offsetHeight:I}=o,{elWidth:E,elHeight:F}=y===!0||A===!0?{elWidth:Math.max(C.width,T),elHeight:A===!0?Math.max(C.height,I):I}:{elWidth:T,elHeight:I};let O={maxWidth:_,maxHeight:b};(y===!0||A===!0)&&(O.minWidth=C.width+"px",A===!0&&(O.minHeight=C.height+"px")),Object.assign(o.style,O);const D=getTargetProps(E,F);let x=getTopLeftProps(C,D,d,g);if(v===void 0||a===void 0)applyBoundaries(x,C,D,d,g);else{const{top:P,left:G}=x;applyBoundaries(x,C,D,d,g);let M=!1;if(x.top!==P){M=!0;const N=2*a[1];C.center=C.top-=N,C.bottom-=N+2}if(x.left!==G){M=!0;const N=2*a[0];C.middle=C.left-=N,C.right-=N+2}M===!0&&(x=getTopLeftProps(C,D,d,g),applyBoundaries(x,C,D,d,g))}O={top:x.top+"px",left:x.left+"px"},x.maxHeight!==void 0&&(O.maxHeight=x.maxHeight+"px",C.height>x.maxHeight&&(O.minHeight=O.maxHeight)),x.maxWidth!==void 0&&(O.maxWidth=x.maxWidth+"px",C.width>x.maxWidth&&(O.minWidth=O.maxWidth)),Object.assign(o.style,O),o.scrollTop!==S&&(o.scrollTop=S),o.scrollLeft!==w&&(o.scrollLeft=w)}function applyBoundaries(t,r,o,a,u){const d=o.bottom,g=o.right,v=getScrollbarWidth(),y=window.innerHeight-v,A=document.body.clientWidth;if(t.top<0||t.top+d>y)if(u.vertical==="center")t.top=r[a.vertical]>y/2?Math.max(0,y-d):0,t.maxHeight=Math.min(d,y);else if(r[a.vertical]>y/2){const b=Math.min(y,a.vertical==="center"?r.center:a.vertical===u.vertical?r.bottom:r.top);t.maxHeight=Math.min(d,b),t.top=Math.max(0,b-d)}else t.top=Math.max(0,a.vertical==="center"?r.center:a.vertical===u.vertical?r.top:r.bottom),t.maxHeight=Math.min(d,y-t.top);if(t.left<0||t.left+g>A)if(t.maxWidth=Math.min(g,A),u.horizontal==="middle")t.left=r[a.horizontal]>A/2?Math.max(0,A-g):0;else if(r[a.horizontal]>A/2){const b=Math.min(A,a.horizontal==="middle"?r.middle:a.horizontal===u.horizontal?r.right:r.left);t.maxWidth=Math.min(g,b),t.left=Math.max(0,b-t.maxWidth)}else t.left=Math.max(0,a.horizontal==="middle"?r.middle:a.horizontal===u.horizontal?r.left:r.right),t.maxWidth=Math.min(g,A-t.left)}var QMenu=createComponent({name:"QMenu",inheritAttrs:!1,props:{...useAnchorProps,...useModelToggleProps,...useDarkProps,...useTransitionProps,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:validatePosition},self:{type:String,validator:validatePosition},offset:{type:Array,validator:validateOffset},scrollTarget:scrollTargetProp,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...useModelToggleEmits,"click","escapeKey"],setup(t,{slots:r,emit:o,attrs:a}){let u=null,d,g,v;const y=getCurrentInstance(),{proxy:A}=y,{$q:b}=A,_=ref(null),w=ref(!1),S=computed(()=>t.persistent!==!0&&t.noRouteDismiss!==!0),C=useDark(t,b),{registerTick:T,removeTick:I}=useTick(),{registerTimeout:E}=useTimeout(),{transitionProps:F,transitionStyle:O}=useTransition(t),{localScrollTarget:D,changeScrollEvent:x,unconfigureScrollTarget:P}=useScrollTarget(t,ge),{anchorEl:G,canShow:M}=useAnchor({showing:w}),{hide:N}=useModelToggle({showing:w,canShow:M,handleShow:te,handleHide:ce,hideOnRouteChange:S,processOnMount:!0}),{showPortal:V,hidePortal:Y,renderPortal:H}=usePortal(y,_,ae,"menu"),B={anchorEl:G,innerRef:_,onClickOutside(ve){if(t.persistent!==!0&&w.value===!0)return N(ve),(ve.type==="touchstart"||ve.target.classList.contains("q-dialog__backdrop"))&&stopAndPrevent$1(ve),!0}},z=computed(()=>parsePosition$1(t.anchor||(t.cover===!0?"center middle":"bottom start"),b.lang.rtl)),U=computed(()=>t.cover===!0?z.value:parsePosition$1(t.self||"top start",b.lang.rtl)),Q=computed(()=>(t.square===!0?" q-menu--square":"")+(C.value===!0?" q-menu--dark q-dark":"")),X=computed(()=>t.autoClose===!0?{onClick:he}:{}),J=computed(()=>w.value===!0&&t.persistent!==!0);watch(J,ve=>{ve===!0?(addEscapeKey(ee),addClickOutside(B)):(removeEscapeKey(ee),removeClickOutside(B))});function ne(){addFocusFn(()=>{let ve=_.value;ve&&ve.contains(document.activeElement)!==!0&&(ve=ve.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ve.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ve.querySelector("[autofocus], [data-autofocus]")||ve,ve.focus({preventScroll:!0}))})}function te(ve){if(u=t.noRefocus===!1?document.activeElement:null,addFocusout(ye),V(),ge(),d=void 0,ve!==void 0&&(t.touchPosition||t.contextMenu)){const we=position$1(ve);if(we.left!==void 0){const{top:_e,left:Te}=G.value.getBoundingClientRect();d={left:we.left-Te,top:we.top-_e}}}g===void 0&&(g=watch(()=>b.screen.width+"|"+b.screen.height+"|"+t.self+"|"+t.anchor+"|"+b.lang.rtl,pe)),t.noFocus!==!0&&document.activeElement.blur(),T(()=>{pe(),t.noFocus!==!0&&ne()}),E(()=>{b.platform.is.ios===!0&&(v=t.autoClose,_.value.click()),pe(),V(!0),o("show",ve)},t.transitionDuration)}function ce(ve){I(),Y(),se(!0),u!==null&&(ve===void 0||ve.qClickOutside!==!0)&&(((ve&&ve.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),E(()=>{Y(!0),o("hide",ve)},t.transitionDuration)}function se(ve){d=void 0,g!==void 0&&(g(),g=void 0),(ve===!0||w.value===!0)&&(removeFocusout(ye),P(),removeClickOutside(B),removeEscapeKey(ee)),ve!==!0&&(u=null)}function ge(){(G.value!==null||t.scrollTarget!==void 0)&&(D.value=getScrollTarget(G.value,t.scrollTarget),x(D.value,pe))}function he(ve){v!==!0?(closePortalMenus(A,ve),o("click",ve)):v=!1}function ye(ve){J.value===!0&&t.noFocus!==!0&&childHasFocus(_.value,ve.target)!==!0&&ne()}function ee(ve){o("escapeKey"),N(ve)}function pe(){setPosition({targetEl:_.value,offset:t.offset,anchorEl:G.value,anchorOrigin:z.value,selfOrigin:U.value,absoluteOffset:d,fit:t.fit,cover:t.cover,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function ae(){return h(Transition,F.value,()=>w.value===!0?h("div",{role:"menu",...a,ref:_,tabindex:-1,class:["q-menu q-position-engine scroll"+Q.value,a.class],style:[a.style,O.value],...X.value},hSlot(r.default)):null)}return onBeforeUnmount(se),Object.assign(A,{focus:ne,updatePosition:pe}),H}});function useHistory(t,r,o){let a;function u(){a!==void 0&&(History.remove(a),a=void 0)}return onBeforeUnmount(()=>{t.value===!0&&u()}),{removeFromHistory:u,addToHistory(){a={condition:()=>o.value===!0,handler:r},History.add(a)}}}let registered$2=0,scrollPositionX$1,scrollPositionY$1,maxScrollTop$1,vpPendingUpdate$1=!1,bodyLeft$1,bodyTop$1,href,closeTimer$1=null;function onWheel$1(t){shouldPreventScroll$1(t)&&stopAndPrevent$1(t)}function shouldPreventScroll$1(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;const r=getEventPath$1(t),o=t.shiftKey&&!t.deltaX,a=!o&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),u=o||a?t.deltaY:t.deltaX;for(let d=0;d0&&g.scrollTop+g.clientHeight===g.scrollHeight:u<0&&g.scrollLeft===0?!0:u>0&&g.scrollLeft+g.clientWidth===g.scrollWidth}return!0}function onAppleScroll$1(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function onAppleResize$1(t){vpPendingUpdate$1!==!0&&(vpPendingUpdate$1=!0,requestAnimationFrame(()=>{vpPendingUpdate$1=!1;const{height:r}=t.target,{clientHeight:o,scrollTop:a}=document.scrollingElement;(maxScrollTop$1===void 0||r!==window.innerHeight)&&(maxScrollTop$1=o-r,document.scrollingElement.scrollTop=a),a>maxScrollTop$1&&(document.scrollingElement.scrollTop-=Math.ceil((a-maxScrollTop$1)/8))}))}function apply$4(t){const r=document.body,o=window.visualViewport!==void 0;if(t==="add"){const{overflowY:a,overflowX:u}=window.getComputedStyle(r);scrollPositionX$1=getHorizontalScrollPosition$1(window),scrollPositionY$1=getVerticalScrollPosition$1(window),bodyLeft$1=r.style.left,bodyTop$1=r.style.top,href=window.location.href,r.style.left=`-${scrollPositionX$1}px`,r.style.top=`-${scrollPositionY$1}px`,u!=="hidden"&&(u==="scroll"||r.scrollWidth>window.innerWidth)&&r.classList.add("q-body--force-scrollbar-x"),a!=="hidden"&&(a==="scroll"||r.scrollHeight>window.innerHeight)&&r.classList.add("q-body--force-scrollbar-y"),r.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,client.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",onAppleResize$1,listenOpts$1.passiveCapture),window.visualViewport.addEventListener("scroll",onAppleResize$1,listenOpts$1.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",onAppleScroll$1,listenOpts$1.passiveCapture))}client.is.desktop===!0&&client.is.mac===!0&&window[`${t}EventListener`]("wheel",onWheel$1,listenOpts$1.notPassive),t==="remove"&&(client.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",onAppleResize$1,listenOpts$1.passiveCapture),window.visualViewport.removeEventListener("scroll",onAppleResize$1,listenOpts$1.passiveCapture)):window.removeEventListener("scroll",onAppleScroll$1,listenOpts$1.passiveCapture)),r.classList.remove("q-body--prevent-scroll"),r.classList.remove("q-body--force-scrollbar-x"),r.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,r.style.left=bodyLeft$1,r.style.top=bodyTop$1,window.location.href===href&&window.scrollTo(scrollPositionX$1,scrollPositionY$1),maxScrollTop$1=void 0)}function preventScroll$1(t){let r="add";if(t===!0){if(registered$2++,closeTimer$1!==null){clearTimeout(closeTimer$1),closeTimer$1=null;return}if(registered$2>1)return}else{if(registered$2===0||(registered$2--,registered$2>0))return;if(r="remove",client.is.ios===!0&&client.is.nativeMobile===!0){closeTimer$1!==null&&clearTimeout(closeTimer$1),closeTimer$1=setTimeout(()=>{apply$4(r),closeTimer$1=null},100);return}}apply$4(r)}function usePreventScroll(){let t;return{preventBodyScroll(r){r!==t&&(t!==void 0||r===!0)&&(t=r,preventScroll$1(r))}}}let maximizedModals=0;const positionClass={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},defaultTransitions={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var QDialog=createComponent({name:"QDialog",inheritAttrs:!1,props:{...useModelToggleProps,...useTransitionProps,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:t=>["standard","top","bottom","left","right"].includes(t)}},emits:[...useModelToggleEmits,"shake","click","escapeKey"],setup(t,{slots:r,emit:o,attrs:a}){const u=getCurrentInstance(),d=ref(null),g=ref(!1),v=ref(!1);let y=null,A=null,b,_;const w=computed(()=>t.persistent!==!0&&t.noRouteDismiss!==!0&&t.seamless!==!0),{preventBodyScroll:S}=usePreventScroll(),{registerTimeout:C}=useTimeout(),{registerTick:T,removeTick:I}=useTick(),{transitionProps:E,transitionStyle:F}=useTransition(t,()=>defaultTransitions[t.position][0],()=>defaultTransitions[t.position][1]),O=computed(()=>F.value+(t.backdropFilter!==void 0?`;backdrop-filter:${t.backdropFilter};-webkit-backdrop-filter:${t.backdropFilter}`:"")),{showPortal:D,hidePortal:x,portalIsAccessible:P,renderPortal:G}=usePortal(u,d,ye,"dialog"),{hide:M}=useModelToggle({showing:g,hideOnRouteChange:w,handleShow:U,handleHide:Q,processOnMount:!0}),{addToHistory:N,removeFromHistory:V}=useHistory(g,M,w),Y=computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${t.maximized===!0?"maximized":"minimized"} q-dialog__inner--${t.position} ${positionClass[t.position]}`+(v.value===!0?" q-dialog__inner--animating":"")+(t.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(t.fullHeight===!0?" q-dialog__inner--fullheight":"")+(t.square===!0?" q-dialog__inner--square":"")),H=computed(()=>g.value===!0&&t.seamless!==!0),B=computed(()=>t.autoClose===!0?{onClick:se}:{}),z=computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${H.value===!0?"modal":"seamless"}`,a.class]);watch(()=>t.maximized,ee=>{g.value===!0&&ce(ee)}),watch(H,ee=>{S(ee),ee===!0?(addFocusout(he),addEscapeKey(ne)):(removeFocusout(he),removeEscapeKey(ne))});function U(ee){N(),A=t.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,ce(t.maximized),D(),v.value=!0,t.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),T(X)):I(),C(()=>{if(u.proxy.$q.platform.is.ios===!0){if(t.seamless!==!0&&document.activeElement){const{top:pe,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:ve}=window,we=window.visualViewport!==void 0?window.visualViewport.height:ve;pe>0&&ae>we/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-we,ae>=ve?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-we/2))),document.activeElement.scrollIntoView()}_=!0,d.value.click(),_=!1}D(!0),v.value=!1,o("show",ee)},t.transitionDuration)}function Q(ee){I(),V(),te(!0),v.value=!0,x(),A!==null&&(((ee&&ee.type.indexOf("key")===0?A.closest('[tabindex]:not([tabindex^="-"])'):void 0)||A).focus(),A=null),C(()=>{x(!0),v.value=!1,o("hide",ee)},t.transitionDuration)}function X(ee){addFocusFn(()=>{let pe=d.value;if(pe!==null){if(ee!==void 0){const ae=pe.querySelector(ee);if(ae!==null){ae.focus({preventScroll:!0});return}}pe.contains(document.activeElement)!==!0&&(pe=pe.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||pe.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||pe.querySelector("[autofocus], [data-autofocus]")||pe,pe.focus({preventScroll:!0}))}})}function J(ee){ee&&typeof ee.focus=="function"?ee.focus({preventScroll:!0}):X(),o("shake");const pe=d.value;pe!==null&&(pe.classList.remove("q-animate--scale"),pe.classList.add("q-animate--scale"),y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,d.value!==null&&(pe.classList.remove("q-animate--scale"),X())},170))}function ne(){t.seamless!==!0&&(t.persistent===!0||t.noEscDismiss===!0?t.maximized!==!0&&t.noShake!==!0&&J():(o("escapeKey"),M()))}function te(ee){y!==null&&(clearTimeout(y),y=null),(ee===!0||g.value===!0)&&(ce(!1),t.seamless!==!0&&(S(!1),removeFocusout(he),removeEscapeKey(ne))),ee!==!0&&(A=null)}function ce(ee){ee===!0?b!==!0&&(maximizedModals<1&&document.body.classList.add("q-body--dialog"),maximizedModals++,b=!0):b===!0&&(maximizedModals<2&&document.body.classList.remove("q-body--dialog"),maximizedModals--,b=!1)}function se(ee){_!==!0&&(M(ee),o("click",ee))}function ge(ee){t.persistent!==!0&&t.noBackdropDismiss!==!0?M(ee):t.noShake!==!0&&J()}function he(ee){t.allowFocusOutside!==!0&&P.value===!0&&childHasFocus(d.value,ee.target)!==!0&&X('[tabindex]:not([tabindex="-1"])')}Object.assign(u.proxy,{focus:X,shake:J,__updateRefocusTarget(ee){A=ee||null}}),onBeforeUnmount(te);function ye(){return h("div",{role:"dialog","aria-modal":H.value===!0?"true":"false",...a,class:z.value},[h(Transition,{name:"q-transition--fade",appear:!0},()=>H.value===!0?h("div",{class:"q-dialog__backdrop fixed-full",style:O.value,"aria-hidden":"true",tabindex:-1,onClick:ge}):null),h(Transition,E.value,()=>g.value===!0?h("div",{ref:d,class:Y.value,style:F.value,tabindex:-1,...B.value},hSlot(r.default)):null)])}return G}});let rtlHasScrollBug=!1;{const t=document.createElement("div");t.setAttribute("dir","rtl"),Object.assign(t.style,{width:"1px",height:"1px",overflow:"auto"});const r=document.createElement("div");Object.assign(r.style,{width:"1000px",height:"1px"}),document.body.appendChild(t),t.appendChild(r),t.scrollLeft=-1e3,rtlHasScrollBug=t.scrollLeft>=0,t.remove()}const aggBucketSize=1e3,scrollToEdges=["start","center","end","start-force","center-force","end-force"],filterProto=Array.prototype.filter,setOverflowAnchor=window.getComputedStyle(document.body).overflowAnchor===void 0?noop$6:function(t,r){t!==null&&(t._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(t._qOverflowAnimationFrame),t._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(t===null)return;t._qOverflowAnimationFrame=void 0;const o=t.children||[];filterProto.call(o,u=>u.dataset&&u.dataset.qVsAnchor!==void 0).forEach(u=>{delete u.dataset.qVsAnchor});const a=o[r];a&&a.dataset&&(a.dataset.qVsAnchor="")}))};function sumFn(t,r){return t+r}function getScrollDetails(t,r,o,a,u,d,g,v){const y=t===window?document.scrollingElement||document.documentElement:t,A=u===!0?"offsetWidth":"offsetHeight",b={scrollStart:0,scrollViewSize:-g-v,scrollMaxSize:0,offsetStart:-g,offsetEnd:-v};if(u===!0?(t===window?(b.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,b.scrollViewSize+=document.documentElement.clientWidth):(b.scrollStart=y.scrollLeft,b.scrollViewSize+=y.clientWidth),b.scrollMaxSize=y.scrollWidth,d===!0&&(b.scrollStart=(rtlHasScrollBug===!0?b.scrollMaxSize-b.scrollViewSize:0)-b.scrollStart)):(t===window?(b.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,b.scrollViewSize+=document.documentElement.clientHeight):(b.scrollStart=y.scrollTop,b.scrollViewSize+=y.clientHeight),b.scrollMaxSize=y.scrollHeight),o!==null)for(let _=o.previousElementSibling;_!==null;_=_.previousElementSibling)_.classList.contains("q-virtual-scroll--skip")===!1&&(b.offsetStart+=_[A]);if(a!==null)for(let _=a.nextElementSibling;_!==null;_=_.nextElementSibling)_.classList.contains("q-virtual-scroll--skip")===!1&&(b.offsetEnd+=_[A]);if(r!==t){const _=y.getBoundingClientRect(),w=r.getBoundingClientRect();u===!0?(b.offsetStart+=w.left-_.left,b.offsetEnd-=w.width):(b.offsetStart+=w.top-_.top,b.offsetEnd-=w.height),t!==window&&(b.offsetStart+=b.scrollStart),b.offsetEnd+=b.scrollMaxSize-b.offsetStart}return b}function setScroll(t,r,o,a){r==="end"&&(r=(t===window?document.body:t)[o===!0?"scrollWidth":"scrollHeight"]),t===window?o===!0?(a===!0&&(r=(rtlHasScrollBug===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-r),window.scrollTo(r,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r):o===!0?(a===!0&&(r=(rtlHasScrollBug===!0?t.scrollWidth-t.offsetWidth:0)-r),t.scrollLeft=r):t.scrollTop=r}function sumSize(t,r,o,a){if(o>=a)return 0;const u=r.length,d=Math.floor(o/aggBucketSize),g=Math.floor((a-1)/aggBucketSize)+1;let v=t.slice(d,g).reduce(sumFn,0);return o%aggBucketSize!==0&&(v-=r.slice(d*aggBucketSize,o).reduce(sumFn,0)),a%aggBucketSize!==0&&a!==u&&(v-=r.slice(a,g*aggBucketSize).reduce(sumFn,0)),v}const commonVirtScrollProps={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},commonVirtScrollPropsList=Object.keys(commonVirtScrollProps),useVirtualScrollProps={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...commonVirtScrollProps};function useVirtualScroll({virtualScrollLength:t,getVirtualScrollTarget:r,getVirtualScrollEl:o,virtualScrollItemSizeComputed:a}){const u=getCurrentInstance(),{props:d,emit:g,proxy:v}=u,{$q:y}=v;let A,b,_,w=[],S;const C=ref(0),T=ref(0),I=ref({}),E=ref(null),F=ref(null),O=ref(null),D=ref({from:0,to:0}),x=computed(()=>d.tableColspan!==void 0?d.tableColspan:100);a===void 0&&(a=computed(()=>d.virtualScrollItemSize));const P=computed(()=>a.value+";"+d.virtualScrollHorizontal),G=computed(()=>P.value+";"+d.virtualScrollSliceRatioBefore+";"+d.virtualScrollSliceRatioAfter);watch(G,()=>{Q()}),watch(P,M);function M(){U(b,!0)}function N(ce){U(ce===void 0?b:ce)}function V(ce,se){const ge=r();if(ge==null||ge.nodeType===8)return;const he=getScrollDetails(ge,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd);_!==he.scrollViewSize&&Q(he.scrollViewSize),H(ge,he,Math.min(t.value-1,Math.max(0,parseInt(ce,10)||0)),0,scrollToEdges.indexOf(se)!==-1?se:b!==-1&&ce>b?"end":"start")}function Y(){const ce=r();if(ce==null||ce.nodeType===8)return;const se=getScrollDetails(ce,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd),ge=t.value-1,he=se.scrollMaxSize-se.offsetStart-se.offsetEnd-T.value;if(A===se.scrollStart)return;if(se.scrollMaxSize<=0){H(ce,se,0,0);return}_!==se.scrollViewSize&&Q(se.scrollViewSize),B(D.value.from);const ye=Math.floor(se.scrollMaxSize-Math.max(se.scrollViewSize,se.offsetEnd)-Math.min(S[ge],se.scrollViewSize/2));if(ye>0&&Math.ceil(se.scrollStart)>=ye){H(ce,se,ge,se.scrollMaxSize-se.offsetEnd-w.reduce(sumFn,0));return}let ee=0,pe=se.scrollStart-se.offsetStart,ae=pe;if(pe<=he&&pe+se.scrollViewSize>=C.value)pe-=C.value,ee=D.value.from,ae=pe;else for(let ve=0;pe>=w[ve]&&ee0&&ee-se.scrollViewSize?(ee++,ae=pe):ae=S[ee]+pe;H(ce,se,ee,ae)}function H(ce,se,ge,he,ye){const ee=typeof ye=="string"&&ye.indexOf("-force")!==-1,pe=ee===!0?ye.replace("-force",""):ye,ae=pe!==void 0?pe:"start";let ve=Math.max(0,ge-I.value[ae]),we=ve+I.value.total;we>t.value&&(we=t.value,ve=Math.max(0,we-I.value.total)),A=se.scrollStart;const _e=ve!==D.value.from||we!==D.value.to;if(_e===!1&&pe===void 0){J(ge);return}const{activeElement:Te}=document,Ce=O.value;_e===!0&&Ce!==null&&Ce!==Te&&Ce.contains(Te)===!0&&(Ce.addEventListener("focusout",z),setTimeout(()=>{Ce!==null&&Ce.removeEventListener("focusout",z)})),setOverflowAnchor(Ce,ge-ve);const Ae=pe!==void 0?S.slice(ve,ge).reduce(sumFn,0):0;if(_e===!0){const Ee=we>=D.value.from&&ve<=D.value.to?D.value.to:we;D.value={from:ve,to:Ee},C.value=sumSize(w,S,0,ve),T.value=sumSize(w,S,we,t.value),requestAnimationFrame(()=>{D.value.to!==we&&A===se.scrollStart&&(D.value={from:D.value.from,to:we},T.value=sumSize(w,S,we,t.value))})}requestAnimationFrame(()=>{if(A!==se.scrollStart)return;_e===!0&&B(ve);const Ee=S.slice(ve,ge).reduce(sumFn,0),le=Ee+se.offsetStart+C.value,re=le+S[ge];let ue=le+he;if(pe!==void 0){const be=Ee-Ae,ie=se.scrollStart+be;ue=ee!==!0&&ieve.classList&&ve.classList.contains("q-virtual-scroll--skip")===!1),he=ge.length,ye=d.virtualScrollHorizontal===!0?ve=>ve.getBoundingClientRect().width:ve=>ve.offsetHeight;let ee=ce,pe,ae;for(let ve=0;ve=he;ee--)S[ee]=ge;const ye=Math.floor((t.value-1)/aggBucketSize);w=[];for(let ee=0;ee<=ye;ee++){let pe=0;const ae=Math.min((ee+1)*aggBucketSize,t.value);for(let ve=ee*aggBucketSize;ve=0?(B(D.value.from),nextTick(()=>{V(ce)})):ne()}function Q(ce){if(ce===void 0&&typeof window!="undefined"){const pe=r();pe!=null&&pe.nodeType!==8&&(ce=getScrollDetails(pe,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd).scrollViewSize)}_=ce;const se=parseFloat(d.virtualScrollSliceRatioBefore)||0,ge=parseFloat(d.virtualScrollSliceRatioAfter)||0,he=1+se+ge,ye=ce===void 0||ce<=0?1:Math.ceil(ce/a.value),ee=Math.max(1,ye,Math.ceil((d.virtualScrollSliceSize>0?d.virtualScrollSliceSize:10)/he));I.value={total:Math.ceil(ee*he),start:Math.ceil(ee*se),center:Math.ceil(ee*(.5+se)),end:Math.ceil(ee*(1+se)),view:ye}}function X(ce,se){const ge=d.virtualScrollHorizontal===!0?"width":"height",he={["--q-virtual-scroll-item-"+ge]:a.value+"px"};return[ce==="tbody"?h(ce,{class:"q-virtual-scroll__padding",key:"before",ref:E},[h("tr",[h("td",{style:{[ge]:`${C.value}px`,...he},colspan:x.value})])]):h(ce,{class:"q-virtual-scroll__padding",key:"before",ref:E,style:{[ge]:`${C.value}px`,...he}}),h(ce,{class:"q-virtual-scroll__content",key:"content",ref:O,tabindex:-1},se.flat()),ce==="tbody"?h(ce,{class:"q-virtual-scroll__padding",key:"after",ref:F},[h("tr",[h("td",{style:{[ge]:`${T.value}px`,...he},colspan:x.value})])]):h(ce,{class:"q-virtual-scroll__padding",key:"after",ref:F,style:{[ge]:`${T.value}px`,...he}})]}function J(ce){b!==ce&&(d.onVirtualScroll!==void 0&&g("virtualScroll",{index:ce,from:D.value.from,to:D.value.to-1,direction:ce{Q()});let te=!1;return onDeactivated(()=>{te=!0}),onActivated(()=>{if(te!==!0)return;const ce=r();A!==void 0&&ce!==void 0&&ce!==null&&ce.nodeType!==8?setScroll(ce,A,d.virtualScrollHorizontal,y.lang.rtl):V(b)}),onBeforeUnmount(()=>{ne.cancel()}),Object.assign(v,{scrollTo:V,reset:M,refresh:N}),{virtualScrollSliceRange:D,virtualScrollSliceSizeComputed:I,setVirtualScrollSize:Q,onVirtualScrollEvt:ne,localResetVirtualScroll:U,padVirtualScroll:X,scrollTo:V,reset:M,refresh:N}}const validateNewValueMode=t=>["add","add-unique","toggle"].includes(t),reEscapeList=".*+?^${}()|[]\\",fieldPropsList=Object.keys(useFieldProps);var QSelect=createComponent({name:"QSelect",inheritAttrs:!1,props:{...useVirtualScrollProps,...useFormProps,...useFieldProps,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:validateNewValueMode},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:t=>["default","menu","dialog"].includes(t),default:"default"},virtualScrollItemSize:useVirtualScrollProps.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...useFieldEmits,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=ref(!1),g=ref(!1),v=ref(-1),y=ref(""),A=ref(!1),b=ref(!1);let _=null,w=null,S,C,T,I=null,E,F,O,D;const x=ref(null),P=ref(null),G=ref(null),M=ref(null),N=ref(null),V=useFormInputNameAttr(t),Y=useKeyComposition(We),H=computed(()=>Array.isArray(t.options)?t.options.length:0),B=computed(()=>t.virtualScrollItemSize===void 0?t.optionsDense===!0?24:48:t.virtualScrollItemSize),{virtualScrollSliceRange:z,virtualScrollSliceSizeComputed:U,localResetVirtualScroll:Q,padVirtualScroll:X,onVirtualScrollEvt:J,scrollTo:ne,setVirtualScrollSize:te}=useVirtualScroll({virtualScrollLength:H,getVirtualScrollTarget:mt,getVirtualScrollEl:at,virtualScrollItemSizeComputed:B}),ce=useFieldState(),se=computed(()=>{const Ue=t.mapOptions===!0&&t.multiple!==!0,kt=t.modelValue!==void 0&&(t.modelValue!==null||Ue===!0)?t.multiple===!0&&Array.isArray(t.modelValue)?t.modelValue:[t.modelValue]:[];if(t.mapOptions===!0&&Array.isArray(t.options)===!0){const Ot=t.mapOptions===!0&&S!==void 0?S:[],Ft=kt.map(Jt=>ke(Jt,Ot));return t.modelValue===null&&Ue===!0?Ft.filter(Jt=>Jt!==null):Ft}return kt}),ge=computed(()=>{const Ue={};return fieldPropsList.forEach(kt=>{const Ot=t[kt];Ot!==void 0&&(Ue[kt]=Ot)}),Ue}),he=computed(()=>t.optionsDark===null?ce.isDark.value:t.optionsDark),ye=computed(()=>fieldValueIsFilled(se.value)),ee=computed(()=>{let Ue="q-field__input q-placeholder col";return t.hideSelected===!0||se.value.length===0?[Ue,t.inputClass]:(Ue+=" q-field__input--padding",t.inputClass===void 0?Ue:[Ue,t.inputClass])}),pe=computed(()=>(t.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(t.popupContentClass?" "+t.popupContentClass:"")),ae=computed(()=>H.value===0),ve=computed(()=>se.value.map(Ue=>me.value(Ue)).join(", ")),we=computed(()=>t.displayValue!==void 0?t.displayValue:ve.value),_e=computed(()=>t.optionsHtml===!0?()=>!0:Ue=>Ue!=null&&Ue.html===!0),Te=computed(()=>t.displayValueHtml===!0||t.displayValue===void 0&&(t.optionsHtml===!0||se.value.some(_e.value))),Ce=computed(()=>ce.focused.value===!0?t.tabindex:-1),Ae=computed(()=>{const Ue={tabindex:t.tabindex,role:"combobox","aria-label":t.label,"aria-readonly":t.readonly===!0?"true":"false","aria-autocomplete":t.useInput===!0?"list":"none","aria-expanded":d.value===!0?"true":"false","aria-controls":`${ce.targetUid.value}_lb`};return v.value>=0&&(Ue["aria-activedescendant"]=`${ce.targetUid.value}_${v.value}`),Ue}),Ee=computed(()=>({id:`${ce.targetUid.value}_lb`,role:"listbox","aria-multiselectable":t.multiple===!0?"true":"false"})),le=computed(()=>se.value.map((Ue,kt)=>({index:kt,opt:Ue,html:_e.value(Ue),selected:!0,removeAtIndex:ot,toggleOption:_t,tabindex:Ce.value}))),re=computed(()=>{if(H.value===0)return[];const{from:Ue,to:kt}=z.value;return t.options.slice(Ue,kt).map((Ot,Ft)=>{const Jt=Se.value(Ot)===!0,Xt=yt(Ot)===!0,cn=Ue+Ft,rn={clickable:!0,active:Xt,activeClass:ie.value,manualFocus:!0,focused:!1,disable:Jt,tabindex:-1,dense:t.optionsDense,dark:he.value,role:"option","aria-selected":Xt===!0?"true":"false",id:`${ce.targetUid.value}_${cn}`,onClick:()=>{_t(Ot)}};return Jt!==!0&&(v.value===cn&&(rn.focused=!0),u.platform.is.desktop===!0&&(rn.onMousemove=()=>{d.value===!0&&He(cn)})),{index:cn,opt:Ot,html:_e.value(Ot),label:me.value(Ot),selected:rn.active,focused:rn.focused,toggleOption:_t,setOptionIndex:He,itemProps:rn}})}),ue=computed(()=>t.dropdownIcon!==void 0?t.dropdownIcon:u.iconSet.arrow.dropdown),be=computed(()=>t.optionsCover===!1&&t.outlined!==!0&&t.standout!==!0&&t.borderless!==!0&&t.rounded!==!0),ie=computed(()=>t.optionsSelectedClass!==void 0?t.optionsSelectedClass:t.color!==void 0?`text-${t.color}`:""),oe=computed(()=>Qe(t.optionValue,"value")),me=computed(()=>Qe(t.optionLabel,"label")),Se=computed(()=>Qe(t.optionDisable,"disable")),xe=computed(()=>se.value.map(Ue=>oe.value(Ue))),De=computed(()=>{const Ue={onInput:We,onChange:Y,onKeydown:Ye,onKeyup:dt,onKeypress:Re,onFocus:Ct,onClick(kt){C===!0&&stop$1(kt)}};return Ue.onCompositionstart=Ue.onCompositionupdate=Ue.onCompositionend=Y,Ue});watch(se,Ue=>{S=Ue,t.useInput===!0&&t.fillInput===!0&&t.multiple!==!0&&ce.innerLoading.value!==!0&&(g.value!==!0&&d.value!==!0||ye.value!==!0)&&(T!==!0&&jt(),(g.value===!0||d.value===!0)&&At(""))},{immediate:!0}),watch(()=>t.fillInput,jt),watch(d,qt),watch(H,dn);function Pe(Ue){return t.emitValue===!0?oe.value(Ue):Ue}function Be(Ue){if(Ue!==-1&&Ue=t.maxValues)return;const Ft=t.modelValue.slice();o("add",{index:Ft.length,value:Ot}),Ft.push(Ot),o("update:modelValue",Ft)}function _t(Ue,kt){if(ce.editable.value!==!0||Ue===void 0||Se.value(Ue)===!0)return;const Ot=oe.value(Ue);if(t.multiple!==!0){kt!==!0&&(st(t.fillInput===!0?me.value(Ue):"",!0,!0),Wt()),P.value!==null&&P.value.focus(),(se.value.length===0||isDeepEqual(oe.value(se.value[0]),Ot)!==!0)&&o("update:modelValue",t.emitValue===!0?Ot:Ue);return}if((C!==!0||A.value===!0)&&ce.focus(),Ct(),se.value.length===0){const Xt=t.emitValue===!0?Ot:Ue;o("add",{index:0,value:Xt}),o("update:modelValue",t.multiple===!0?[Xt]:Xt);return}const Ft=t.modelValue.slice(),Jt=xe.value.findIndex(Xt=>isDeepEqual(Xt,Ot));if(Jt!==-1)o("remove",{index:Jt,value:Ft.splice(Jt,1)[0]});else{if(t.maxValues!==void 0&&Ft.length>=t.maxValues)return;const Xt=t.emitValue===!0?Ot:Ue;o("add",{index:Ft.length,value:Xt}),Ft.push(Xt)}o("update:modelValue",Ft)}function He(Ue){if(u.platform.is.desktop!==!0)return;const kt=Ue!==-1&&Ue=0?me.value(t.options[Ot]):E,!0))}}function ke(Ue,kt){const Ot=Ft=>isDeepEqual(oe.value(Ft),Ue);return t.options.find(Ot)||kt.find(Ot)||Ue}function Qe(Ue,kt){const Ot=Ue!==void 0?Ue:kt;return typeof Ot=="function"?Ot:Ft=>Ft!==null&&typeof Ft=="object"&&Ot in Ft?Ft[Ot]:Ft}function yt(Ue){const kt=oe.value(Ue);return xe.value.find(Ot=>isDeepEqual(Ot,kt))!==void 0}function Ct(Ue){t.useInput===!0&&P.value!==null&&(Ue===void 0||P.value===Ue.target&&Ue.target.value===ve.value)&&P.value.select()}function Xe(Ue){isKeyCode(Ue,27)===!0&&d.value===!0&&(stop$1(Ue),Wt(),jt()),o("keyup",Ue)}function dt(Ue){const{value:kt}=Ue.target;if(Ue.keyCode!==void 0){Xe(Ue);return}if(Ue.target.value="",_!==null&&(clearTimeout(_),_=null),w!==null&&(clearTimeout(w),w=null),jt(),typeof kt=="string"&&kt.length!==0){const Ot=kt.toLocaleLowerCase(),Ft=Xt=>{const cn=t.options.find(rn=>Xt.value(rn).toLocaleLowerCase()===Ot);return cn===void 0?!1:(se.value.indexOf(cn)===-1?_t(cn):Wt(),!0)},Jt=Xt=>{Ft(oe)!==!0&&(Ft(me)===!0||Xt===!0||At(kt,!0,()=>Jt(!0)))};Jt()}else ce.clearValue(Ue)}function Re(Ue){o("keypress",Ue)}function Ye(Ue){if(o("keydown",Ue),shouldIgnoreKey(Ue)===!0)return;const kt=y.value.length!==0&&(t.newValueMode!==void 0||t.onNewValue!==void 0),Ot=Ue.shiftKey!==!0&&t.multiple!==!0&&(v.value!==-1||kt===!0);if(Ue.keyCode===27){prevent(Ue);return}if(Ue.keyCode===9&&Ot===!1){nt();return}if(Ue.target===void 0||Ue.target.id!==ce.targetUid.value||ce.editable.value!==!0)return;if(Ue.keyCode===40&&ce.innerLoading.value!==!0&&d.value===!1){stopAndPrevent$1(Ue),Bt();return}if(Ue.keyCode===8&&(t.useChips===!0||t.clearable===!0)&&t.hideSelected!==!0&&y.value.length===0){t.multiple===!0&&Array.isArray(t.modelValue)===!0?Be(t.modelValue.length-1):t.multiple!==!0&&t.modelValue!==null&&o("update:modelValue",null);return}(Ue.keyCode===35||Ue.keyCode===36)&&(typeof y.value!="string"||y.value.length===0)&&(stopAndPrevent$1(Ue),v.value=-1,Ve(Ue.keyCode===36?1:-1,t.multiple)),(Ue.keyCode===33||Ue.keyCode===34)&&U.value!==void 0&&(stopAndPrevent$1(Ue),v.value=Math.max(-1,Math.min(H.value,v.value+(Ue.keyCode===33?-1:1)*U.value.view)),Ve(Ue.keyCode===33?1:-1,t.multiple)),(Ue.keyCode===38||Ue.keyCode===40)&&(stopAndPrevent$1(Ue),Ve(Ue.keyCode===38?-1:1,t.multiple));const Ft=H.value;if((O===void 0||D0&&t.useInput!==!0&&Ue.key!==void 0&&Ue.key.length===1&&Ue.altKey===!1&&Ue.ctrlKey===!1&&Ue.metaKey===!1&&(Ue.keyCode!==32||O.length!==0)){d.value!==!0&&Bt(Ue);const Jt=Ue.key.toLocaleLowerCase(),Xt=O.length===1&&O[0]===Jt;D=Date.now()+1500,Xt===!1&&(stopAndPrevent$1(Ue),O+=Jt);const cn=new RegExp("^"+O.split("").map(mn=>reEscapeList.indexOf(mn)!==-1?"\\"+mn:mn).join(".*"),"i");let rn=v.value;if(Xt===!0||rn<0||cn.test(me.value(t.options[rn]))!==!0)do rn=normalizeToInterval(rn+1,-1,Ft-1);while(rn!==v.value&&(Se.value(t.options[rn])===!0||cn.test(me.value(t.options[rn]))!==!0));v.value!==rn&&nextTick(()=>{He(rn),ne(rn),rn>=0&&t.useInput===!0&&t.fillInput===!0&&Je(me.value(t.options[rn]),!0)});return}if(!(Ue.keyCode!==13&&(Ue.keyCode!==32||t.useInput===!0||O!=="")&&(Ue.keyCode!==9||Ot===!1))){if(Ue.keyCode!==9&&stopAndPrevent$1(Ue),v.value!==-1&&v.value{if(cn){if(validateNewValueMode(cn)!==!0)return}else cn=t.newValueMode;if(st("",t.multiple!==!0,!0),Xt==null)return;(cn==="toggle"?_t:ct)(Xt,cn==="add-unique"),t.multiple!==!0&&(P.value!==null&&P.value.focus(),Wt())};if(t.onNewValue!==void 0?o("newValue",y.value,Jt):Jt(y.value),t.multiple!==!0)return}d.value===!0?nt():ce.innerLoading.value!==!0&&Bt()}}function at(){return C===!0?N.value:G.value!==null&&G.value.contentEl!==null?G.value.contentEl:void 0}function mt(){return at()}function St(){return t.hideSelected===!0?[]:r["selected-item"]!==void 0?le.value.map(Ue=>r["selected-item"](Ue)).slice():r.selected!==void 0?[].concat(r.selected()):t.useChips===!0?le.value.map((Ue,kt)=>h(QChip,{key:"option-"+kt,removable:ce.editable.value===!0&&Se.value(Ue.opt)!==!0,dense:!0,textColor:t.color,tabindex:Ce.value,onRemove(){Ue.removeAtIndex(kt)}},()=>h("span",{class:"ellipsis",[Ue.html===!0?"innerHTML":"textContent"]:me.value(Ue.opt)}))):[h("span",{[Te.value===!0?"innerHTML":"textContent"]:we.value})]}function Rt(){if(ae.value===!0)return r["no-option"]!==void 0?r["no-option"]({inputValue:y.value}):void 0;const Ue=r.option!==void 0?r.option:Ot=>h(QItem,{key:Ot.index,...Ot.itemProps},()=>h(QItemSection,()=>h(QItemLabel,()=>h("span",{[Ot.html===!0?"innerHTML":"textContent"]:Ot.label}))));let kt=X("div",re.value.map(Ue));return r["before-options"]!==void 0&&(kt=r["before-options"]().concat(kt)),hMergeSlot(r["after-options"],kt)}function Oe(Ue,kt){const Ot=kt===!0?{...Ae.value,...ce.splitAttrs.attributes.value}:void 0,Ft={ref:kt===!0?P:void 0,key:"i_t",class:ee.value,style:t.inputStyle,value:y.value!==void 0?y.value:"",type:"search",...Ot,id:kt===!0?ce.targetUid.value:void 0,maxlength:t.maxlength,autocomplete:t.autocomplete,"data-autofocus":Ue===!0||t.autofocus===!0||void 0,disabled:t.disable===!0,readonly:t.readonly===!0,...De.value};return Ue!==!0&&C===!0&&(Array.isArray(Ft.class)===!0?Ft.class=[...Ft.class,"no-pointer-events"]:Ft.class+=" no-pointer-events"),h("input",Ft)}function We(Ue){_!==null&&(clearTimeout(_),_=null),w!==null&&(clearTimeout(w),w=null),!(Ue&&Ue.target&&Ue.target.qComposing===!0)&&(Je(Ue.target.value||""),T=!0,E=y.value,ce.focused.value!==!0&&(C!==!0||A.value===!0)&&ce.focus(),t.onFilter!==void 0&&(_=setTimeout(()=>{_=null,At(y.value)},t.inputDebounce)))}function Je(Ue,kt){y.value!==Ue&&(y.value=Ue,kt===!0||t.inputDebounce===0||t.inputDebounce==="0"?o("inputValue",Ue):w=setTimeout(()=>{w=null,o("inputValue",Ue)},t.inputDebounce))}function st(Ue,kt,Ot){T=Ot!==!0,t.useInput===!0&&(Je(Ue,!0),(kt===!0||Ot!==!0)&&(E=Ue),kt!==!0&&At(Ue))}function At(Ue,kt,Ot){if(t.onFilter===void 0||kt!==!0&&ce.focused.value!==!0)return;ce.innerLoading.value===!0?o("filterAbort"):(ce.innerLoading.value=!0,b.value=!0),Ue!==""&&t.multiple!==!0&&se.value.length!==0&&T!==!0&&Ue===me.value(se.value[0])&&(Ue="");const Ft=setTimeout(()=>{d.value===!0&&(d.value=!1)},10);I!==null&&clearTimeout(I),I=Ft,o("filter",Ue,(Jt,Xt)=>{(kt===!0||ce.focused.value===!0)&&I===Ft&&(clearTimeout(I),typeof Jt=="function"&&Jt(),b.value=!1,nextTick(()=>{ce.innerLoading.value=!1,ce.editable.value===!0&&(kt===!0?d.value===!0&&Wt():d.value===!0?qt(!0):d.value=!0),typeof Xt=="function"&&nextTick(()=>{Xt(a)}),typeof Ot=="function"&&nextTick(()=>{Ot(a)})}))},()=>{ce.focused.value===!0&&I===Ft&&(clearTimeout(I),ce.innerLoading.value=!1,b.value=!1),d.value===!0&&(d.value=!1)})}function bt(){return h(QMenu,{ref:G,class:pe.value,style:t.popupContentStyle,modelValue:d.value,fit:t.menuShrink!==!0,cover:t.optionsCover===!0&&ae.value!==!0&&t.useInput!==!0,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,dark:he.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:t.popupNoRouteDismiss,square:be.value,transitionShow:t.transitionShow,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,separateClosePopup:!0,...Ee.value,onScrollPassive:J,onBeforeShow:an,onBeforeHide:Le,onShow:Fe},Rt)}function Le(Ue){ln(Ue),nt()}function Fe(){te()}function it(Ue){stop$1(Ue),P.value!==null&&P.value.focus(),A.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function It(Ue){stop$1(Ue),nextTick(()=>{A.value=!1})}function Ne(){const Ue=[h(QField,{class:`col-auto ${ce.fieldClass.value}`,...ge.value,for:ce.targetUid.value,dark:he.value,square:!0,loading:b.value,itemAligned:!1,filled:!0,stackLabel:y.value.length!==0,...ce.splitAttrs.listeners.value,onFocus:it,onBlur:It},{...r,rawControl:()=>ce.getControl(!0),before:void 0,after:void 0})];return d.value===!0&&Ue.push(h("div",{ref:N,class:pe.value+" scroll",style:t.popupContentStyle,...Ee.value,onClick:prevent,onScrollPassive:J},Rt())),h(QDialog,{ref:M,modelValue:g.value,position:t.useInput===!0?"top":void 0,transitionShow:F,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,noRouteDismiss:t.popupNoRouteDismiss,onBeforeShow:an,onBeforeHide:Ge,onHide:ze,onShow:et},()=>h("div",{class:"q-select__dialog"+(he.value===!0?" q-select__dialog--dark q-dark":"")+(A.value===!0?" q-select__dialog--focused":"")},Ue))}function Ge(Ue){ln(Ue),M.value!==null&&M.value.__updateRefocusTarget(ce.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),ce.focused.value=!1}function ze(Ue){Wt(),ce.focused.value===!1&&o("blur",Ue),jt()}function et(){const Ue=document.activeElement;(Ue===null||Ue.id!==ce.targetUid.value)&&P.value!==null&&P.value!==Ue&&P.value.focus(),te()}function nt(){g.value!==!0&&(v.value=-1,d.value===!0&&(d.value=!1),ce.focused.value===!1&&(I!==null&&(clearTimeout(I),I=null),ce.innerLoading.value===!0&&(o("filterAbort"),ce.innerLoading.value=!1,b.value=!1)))}function Bt(Ue){ce.editable.value===!0&&(C===!0?(ce.onControlFocusin(Ue),g.value=!0,nextTick(()=>{ce.focus()})):ce.focus(),t.onFilter!==void 0?At(y.value):(ae.value!==!0||r["no-option"]!==void 0)&&(d.value=!0))}function Wt(){g.value=!1,nt()}function jt(){t.useInput===!0&&st(t.multiple!==!0&&t.fillInput===!0&&se.value.length!==0&&me.value(se.value[0])||"",!0,!0)}function qt(Ue){let kt=-1;if(Ue===!0){if(se.value.length!==0){const Ot=oe.value(se.value[0]);kt=t.options.findIndex(Ft=>isDeepEqual(oe.value(Ft),Ot))}Q(kt)}He(kt)}function dn(Ue,kt){d.value===!0&&ce.innerLoading.value===!1&&(Q(-1,!0),nextTick(()=>{d.value===!0&&ce.innerLoading.value===!1&&(Ue>kt?Q():qt(!0))}))}function Qt(){g.value===!1&&G.value!==null&&G.value.updatePosition()}function an(Ue){Ue!==void 0&&stop$1(Ue),o("popupShow",Ue),ce.hasPopupOpen=!0,ce.onControlFocusin(Ue)}function ln(Ue){Ue!==void 0&&stop$1(Ue),o("popupHide",Ue),ce.hasPopupOpen=!1,ce.onControlFocusout(Ue)}function Ht(){C=u.platform.is.mobile!==!0&&t.behavior!=="dialog"?!1:t.behavior!=="menu"&&(t.useInput===!0?r["no-option"]!==void 0||t.onFilter!==void 0||ae.value===!1:!0),F=u.platform.is.ios===!0&&C===!0&&t.useInput===!0?"fade":t.transitionShow}return onBeforeUpdate(Ht),onUpdated(Qt),Ht(),onBeforeUnmount(()=>{_!==null&&clearTimeout(_),w!==null&&clearTimeout(w)}),Object.assign(a,{showPopup:Bt,hidePopup:Wt,removeAtIndex:Be,add:ct,toggleOption:_t,getOptionIndex:()=>v.value,setOptionIndex:He,moveOptionSelection:Ve,filter:At,updateMenuPosition:Qt,updateInputValue:st,isOptionSelected:yt,getEmittingOptionValue:Pe,isOptionDisabled:(...Ue)=>Se.value.apply(null,Ue)===!0,getOptionValue:(...Ue)=>oe.value.apply(null,Ue),getOptionLabel:(...Ue)=>me.value.apply(null,Ue)}),Object.assign(ce,{innerValue:se,fieldClass:computed(()=>`q-select q-field--auto-height q-select--with${t.useInput!==!0?"out":""}-input q-select--with${t.useChips!==!0?"out":""}-chips q-select--${t.multiple===!0?"multiple":"single"}`),inputRef:x,targetRef:P,hasValue:ye,showPopup:Bt,floatingLabel:computed(()=>t.hideSelected!==!0&&ye.value===!0||typeof y.value=="number"||y.value.length!==0||fieldValueIsFilled(t.displayValue)),getControlChild:()=>{if(ce.editable.value!==!1&&(g.value===!0||ae.value!==!0||r["no-option"]!==void 0))return C===!0?Ne():bt();ce.hasPopupOpen===!0&&(ce.hasPopupOpen=!1)},controlEvents:{onFocusin(Ue){ce.onControlFocusin(Ue)},onFocusout(Ue){ce.onControlFocusout(Ue,()=>{jt(),nt()})},onClick(Ue){if(prevent(Ue),C!==!0&&d.value===!0){nt(),P.value!==null&&P.value.focus();return}Bt(Ue)}},getControl:Ue=>{const kt=St(),Ot=Ue===!0||g.value!==!0||C!==!0;if(t.useInput===!0)kt.push(Oe(Ue,Ot));else if(ce.editable.value===!0){const Jt=Ot===!0?Ae.value:void 0;kt.push(h("input",{ref:Ot===!0?P:void 0,key:"d_t",class:"q-select__focus-target",id:Ot===!0?ce.targetUid.value:void 0,value:we.value,readonly:!0,"data-autofocus":Ue===!0||t.autofocus===!0||void 0,...Jt,onKeydown:Ye,onKeyup:Xe,onKeypress:Re})),Ot===!0&&typeof t.autocomplete=="string"&&t.autocomplete.length!==0&&kt.push(h("input",{class:"q-select__autocomplete-input",autocomplete:t.autocomplete,tabindex:-1,onKeyup:dt}))}if(V.value!==void 0&&t.disable!==!0&&xe.value.length!==0){const Jt=xe.value.map(Xt=>h("option",{value:Xt,selected:!0}));kt.push(h("select",{class:"hidden",name:V.value,multiple:t.multiple},Jt))}const Ft=t.useInput===!0||Ot!==!0?void 0:ce.splitAttrs.attributes.value;return h("div",{class:"q-field__native row items-center",...Ft,...ce.splitAttrs.listeners.value},kt)},getInnerAppend:()=>t.loading!==!0&&b.value!==!0&&t.hideDropdownIcon!==!0?[h(QIcon,{class:"q-select__dropdown-icon"+(d.value===!0?" rotate-180":""),name:ue.value})]:null}),useField(ce)}});const _sfc_main$1o=defineComponent({name:"DropdownAction",props:{componentId:{type:String,default:"DropdownAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(){const{t}=useI18n();return{t}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$a),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},options(){const t=this.state.config.display._sort,r=this.state.config.display._order;let o=this.state&&this.state.config.display?Object.keys(this.state.config.display):[];if(o=o.filter(a=>a!=="_sort"&&a!=="_order"),!t||!Array.isArray(t))o=o.map((a,u)=>{const d=parseInt(a);return{sort:t==="key"?a:t==="value"?this.state.config.display[a]:Number.isNaN(d)?a:d,value:a,label:this.state.config.display[a].indexOf("#")!==-1?this.t(this.state.config.display[a]):this.state.config.display[a]}});else{const a=o;o=t.map((u,d)=>{u=u-1;const g=a[u];return{sort:d,value:g,label:this.state.config.display[g]}})}return o=o.sort((a,u)=>a.sort===u.sort?0:r==="down"?a.sort>u.sort?-1:1:a.sort>u.sort?1:-1),o},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?{label:this.state.config.display[this.state.val],value:this.state[this.componentOptions.val]}:null}},methods:{set(t){this.state&&this.$emit("setDevice",this.device.id,this.stateKey,t.value,this.componentOptions)}}}),OPTIONS$a={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1}},_hoisted_1$15={key:0};function _sfc_render$1o(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{"margin-left":"8px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[!t.state.config||!t.state.config.display||Object.keys(t.state.config.display).length===0?(openBlock(),createElementBlock("div",_hoisted_1$15,toDisplayString$1(t.$t("Display attribute of state %s must be defined").replace("%s",t.stateKey))+"! ",1)):(openBlock(),createBlock(QSelect,{key:1,style:{"min-width":"100px","margin-top":"-14px"},"model-value":t.stateVal,options:t.options,"virtual-scroll-slice-size":"999",label:"",dense:"","onUpdate:modelValue":t.set},null,8,["model-value","options","onUpdate:modelValue"]))])}var DropdownAction=_export_sfc$1(_sfc_main$1o,[["render",_sfc_render$1o]]),QSpace=createComponent({name:"QSpace",setup(){const t=h("div",{class:"q-space"});return()=>t}}),QPopupProxy=createComponent({name:"QPopupProxy",props:{...useAnchorProps,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(t,{slots:r,emit:o,attrs:a}){const{proxy:u}=getCurrentInstance(),{$q:d}=u,g=ref(!1),v=ref(null),y=computed(()=>parseInt(t.breakpoint,10)),{canShow:A}=useAnchor({showing:g});function b(){return d.screen.width_.value==="menu"?{maxHeight:"99vh"}:{});watch(()=>b(),T=>{g.value!==!0&&(_.value=T)});function S(T){g.value=!0,o("show",T)}function C(T){g.value=!1,_.value=b(),o("hide",T)}return Object.assign(u,{show(T){A(T)===!0&&v.value.show(T)},hide(T){v.value.hide(T)},toggle(T){v.value.toggle(T)}}),injectProp(u,"currentComponent",()=>({type:_.value,ref:v.value})),()=>{const T={ref:v,...w.value,...a,onShow:S,onHide:C};let I;return _.value==="dialog"?I=QDialog:(I=QMenu,Object.assign(T,{target:t.target,contextMenu:t.contextMenu,noParentEvent:!0,separateClosePopup:!0})),h(I,T,r.default)}}});function getDepth(t){if(t===!1)return 0;if(t===!0||t===void 0)return 1;const r=parseInt(t,10);return isNaN(r)?0:r}var ClosePopup=createDirective({name:"close-popup",beforeMount(t,{value:r}){const o={depth:getDepth(r),handler(a){o.depth!==0&&setTimeout(()=>{const u=getPortalProxy(t);u!==void 0&&closePortals(u,a,o.depth)})},handlerKey(a){isKeyCode(a,13)===!0&&o.handler(a)}};t.__qclosepopup=o,t.addEventListener("click",o.handler),t.addEventListener("keyup",o.handlerKey)},updated(t,{value:r,oldValue:o}){r!==o&&(t.__qclosepopup.depth=getDepth(r))},beforeUnmount(t){const r=t.__qclosepopup;t.removeEventListener("click",r.handler),t.removeEventListener("keyup",r.handlerKey),delete t.__qclosepopup}});const DatePickerBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return DatePickerBody$2}),void 0),suspensible:!1}),_sfc_main$1n=defineComponent({name:"DatePickerAction",components:{DatePickerBody},props:{componentId:{type:String,default:"DatePickerAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$9),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const u=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";a.value=u}),{componentOptions:o,date:a,setDevice(u,d,g){a.value=g,r("setDevice",u,d,g,o.ack)}}}}),OPTIONS$9={...OPTIONS$i},_hoisted_1$14={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$S={style:{margin:"8px 0 0 16px"}};function _sfc_render$1n(t,r,o,a,u,d){const g=resolveComponent("DatePickerBody");return openBlock(),createBlock(QBtn,{icon:"mdi-calendar",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{"device-config":{DatePickerActionConfig:{[t.stateKey]:t.componentOptions}},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$14,[createBaseVNode("div",_hoisted_2$S,toDisplayString$1(t.date),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["device-config","onSetDevice"])]),_:1})]),_:1})}var DatePickerAction=_export_sfc$1(_sfc_main$1n,[["render",_sfc_render$1n]]),TimePickerAction_vue_vue_type_style_index_0_lang="";const TimePickerBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return TimePickerBody$2}),void 0),suspensible:!1}),_sfc_main$1m=defineComponent({name:"TimePickerAction",components:{TimePickerBody},props:{componentId:{type:String,default:"TimePickerAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$8),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const u=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"",[d,g,v]=u.toString().split(":");a.value=addLeadingZero(d)+":"+addLeadingZero(g)+(o.withSeconds?":"+addLeadingZero(v||0):"")}),{componentOptions:o,time:a,setDevice(u,d,g){a.value=g,r("setDevice",u,d,g,o.ack)}}}}),OPTIONS$8={...OPTIONS$h,minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!1,disable:!0}},_hoisted_1$13={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$R={style:{"padding-left":"16px"}};function _sfc_render$1m(t,r,o,a,u,d){const g=resolveComponent("TimePickerBody");return openBlock(),createBlock(QBtn,{icon:"mdi-clock-outline",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{"device-config":{TimePickerActionConfig:{[t.stateKey]:t.componentOptions}},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$13,[createBaseVNode("div",_hoisted_2$R,toDisplayString$1(t.time),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{dense:"",label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["device-config","onSetDevice"])]),_:1})]),_:1})}var TimePickerAction=_export_sfc$1(_sfc_main$1m,[["render",_sfc_render$1m]]),components$q={_options:{IconState:OPTIONS$n,LastChangeBody:OPTIONS$l,LevelBody:OPTIONS$k,CustomTextBody:OPTIONS$j,DatePickerBody:OPTIONS$i,TimePickerBody:OPTIONS$h,SwitchAction:OPTIONS$f,CheckboxAction:OPTIONS$g,InputAction:OPTIONS$e,ButtonAction:OPTIONS$c,ButtonGroupAction:OPTIONS$b,IconButtonAction:OPTIONS$d,DropdownAction:OPTIONS$a,DatePickerAction:OPTIONS$9,TimePickerAction:OPTIONS$8},components:{State:State$1,SecondaryStates,Title},body:{LastChangeBody,LevelBody:LevelBody$2,CustomTextBody,DatePickerBody:DatePickerBody$1,TimePickerBody:TimePickerBody$1},action:{IconState,SwitchAction,CheckboxAction,InputAction,ButtonAction,ButtonGroupAction,IconButtonAction,DropdownAction,DatePickerAction,TimePickerAction}},__glob_4_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:components$q},Symbol.toStringTag,{value:"Module"})),alias="Alias Devices";const namespace$r="alias",deviceObjectType$m="channel";function parse$n(t,r){return new Promise((o,a)=>{const u=t.objects[t.root];if(!u||!u.common)return a(new Error("Alias structure incorrect. Could not load role from %state"));const d={name:u.common.name[locale]||u.common.name||"",function:"other",room:getRoom(t),states:{unreach:".UNREACH",lowBattery:".LOWBAT"}},g=u&&u.common?u.common.role:"";["light"].indexOf(g)>-1?(d.function="light",d.states={power:{state:".SET",action:".SET"},...d.states}):["dimmer"].indexOf(g)>-1?(d.function="light",d.states={level:{state:".ACTUAL",action:".SET"},...d.states}):["rgbSingle","ct","hue"].indexOf(g)>-1?(d.function="light",d.states={power:{state:".ON",action:".ON"},level:{state:".DIMMER",action:".DIMMER"},colorTemperature:{state:".TEMPERATURE",action:".TEMPERATURE"},hue:{state:".HUE",action:".HUE"},rgb:{state:".RGB",action:".RGB"},...d.states}):["blind"].indexOf(g)>-1?(d.function="blind",d.states={level:{state:".SET",action:".SET"},activity:{state:".WORKING",action:".STOP"},...d.states}):["window"].indexOf(g)>-1?(d.function="window",d.states={open:{state:".ACTUAL"},...d.states}):["door"].indexOf(g)>-1?(d.function="door",d.states={open:{state:".ACTUAL"},...d.states}):["temperature","thermostat"].indexOf(g)>-1&&(d.function="heating",d.states={temperature:{state:".ACTUAL"},setTemperature:{state:".SET",action:".SET"},humidity:{state:".HUMIDITY",action:".HUMIDITY"},boost:{state:".BOOST",action:".BOOST"},...d.states}),t.list.forEach(v=>{d.states={...d.states,[v.substring(v.lastIndexOf(".")+1)]:v.replace(t.root,"")}}),d.states=validateStates(d.states,t),o(d)})}var __glob_4_0=Object.freeze(Object.defineProperty({__proto__:null,default:alias,namespace:namespace$r,deviceObjectType:deviceObjectType$m,parse:parse$n},Symbol.toStringTag,{value:"Module"})),ble="Bluetooth (ble)";const namespace$q="ble";function parse$m(t,r){return parseDefault(t)}var __glob_4_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:ble,namespace:namespace$q,parse:parse$m},Symbol.toStringTag,{value:"Module"})),daswetter="Das Wetter";const namespace$p="daswetter";function root$e(t,r){const o=Connection.getConnection;return new Promise((a,u)=>{o.getObject("system.adapter.daswetter.0").then(d=>{const g=d&&d.native&&(d.native.Days5Forecast||d.native.Days7Forecast||d.native.HourlyForecast||d.native.HourlyForecastJSON);if(g){const v=g.substr(g.indexOf("?")+1).split("&"),y={};v.forEach(A=>{const[b,_]=A.split("=");y[b]=_}),Cache$1.set("daswetter",y)}}).catch(()=>{}).finally(()=>{u()})})}var __glob_4_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:daswetter,namespace:namespace$p,root:root$e},Symbol.toStringTag,{value:"Module"})),deconz="Deconz";const namespace$o="deconz",deviceObjectType$l="device",devicePattern$6="(((Lights|Groups|Sensors)+\\.\\d*)|((lights|groups|sensors)+\\.\\w*\\d*))";function parse$l(t,r){return parseDefault(t)}var __glob_4_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:deconz,namespace:namespace$o,deviceObjectType:deviceObjectType$l,devicePattern:devicePattern$6,parse:parse$l},Symbol.toStringTag,{value:"Module"})),rfdc_1=rfdc;function copyBuffer(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function rfdc(t){if(t=t||{},t.circles)return rfdcCircles(t);const r=new Map;if(r.set(Date,g=>new Date(g)),r.set(Map,(g,v)=>new Map(a(Array.from(g),v))),r.set(Set,(g,v)=>new Set(a(Array.from(g),v))),t.constructorHandlers)for(const g of t.constructorHandlers)r.set(g[0],g[1]);let o=null;return t.proto?d:u;function a(g,v){const y=Object.keys(g),A=new Array(y.length);for(let b=0;bnew Date(y)),a.set(Map,(y,A)=>new Map(d(Array.from(y),A))),a.set(Set,(y,A)=>new Set(d(Array.from(y),A))),t.constructorHandlers)for(const y of t.constructorHandlers)a.set(y[0],y[1]);let u=null;return t.proto?v:g;function d(y,A){const b=Object.keys(y),_=new Array(b.length);for(let w=0;w{const a=t.objects[t.root];let u={name:a.common.name,function:"other",room:getRoom(t)};if(a.native){u={...u,states:{config:".0.CONFIG_PENDING",unreach:".0.UNREACH",lowBattery:[".0.LOWBAT",".0.LOW_BAT"],lowBatteryAlarm:".0.LOWBAT_ALARM",connectivity:".0.RSSI_PEER",firmware:".0.UPDATE_PENDING"}};const d={},g={};let v=-1,y=-1;const A=a.native.TYPE.toLowerCase();for(const b in STATE_MAPPING$b)if(d[b]=d[b]||Object.keys(STATE_MAPPING$b[b]),g[b]=g[b]||d[b].map(_=>_.toLowerCase().replace("hmip-","").replace("hmipw-","").replace("hm-","")),v=g[b].indexOf(A.replace("hmipw-","").replace("hmip-","").replace("hm-","")),y=g[b].indexOf(A.replace("hmipw-","").replace("hmip-","").replace("hm-","")),v!==-1||y!==-1){u.function=b,u.states={...u.states,...detectStates(_default(STATE_MAPPING$b[b][d[b][v!==-1?v:y]]),t)};break}t.root.indexOf(".CUX")>-1&&(u.states={...u.states,..._default(STATE_MAPPING$b.CUxD["HM-LC-Sw1PBU-FM"])}),u.states=validateStates(u.states,t),v===-1&&y===-1&&(u.states={})}o(u)})}var __glob_4_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:hmRpc,namespace:namespace$n,deviceObjectType:deviceObjectType$k,BlindLevelActivity:BlindLevelActivity$1,parse:parse$k},Symbol.toStringTag,{value:"Module"})),hmip="HomeMatic IP via Access Point";const namespace$m="hmip",deviceObjectType$j="device",devicePattern$5="devices\\.(.*)",STATE_MAPPING$a={heating:{"HmIP-STH":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"}},"HmIP-eTRV-B":{temperature:{state:".channels.1.valveActualTemperature"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"},valvePosition:{state:".channels.1.valvePosition"},valveState:{state:".channels.1.valveState"}},"HmIP-eTRV-2":{temperature:{state:".channels.1.valveActualTemperature"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"}},"HmIP-WTH-2":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"},vapor:{state:".channels.1.vaporAmount"}}},blind:{"HmIP-BBL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel"},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop"}},"HmIP-BROLL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel",actionElement:"BlindLevelAction",BlindLevelActionConfig:{step:"0,1"},properties:{min:"1",max:"0"},icon:{default:"window-shutter-open","<0.2":"window-shutter-open",">=0.8":"window-shutter"},bodyElement:"LevelBody",showState:!1},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop",actionElement:"IconButtonAction"}},"HmIP-FROLL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel",actionElement:"BlindLevelAction",BlindLevelActionConfig:{step:"0,1"},properties:{min:"1",max:"0"},icon:{default:"window-shutter-open","<0.2":"window-shutter-open",">=0.8":"window-shutter"},bodyElement:"LevelBody",showState:!1},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop",actionElement:"IconButtonAction"}}},window:{"HmIP-SWDO":{open:{state:".channels.1.windowOpen"}},"HmIP-SWDO-I":{open:{state:".channels.1.windowOpen"}},"HmIP-SRH":{open:{state:".channels.1.windowOpen"},state:{state:".channels.1.windowState",display:{CLOSED:"window#open#closed",TILTED:"window#open#tilted",OPEN:"window#open#opened"}}}},socket:{"HmIP-PS":{power:{state:".channels.1.on",action:".channels.1.on"}}},motion:{"HmIP-SMI":{motion:{state:".channels.1.motionDetected"},illumination:{state:".channels.1.illumination"}}},"weather-station":{"HmIP-STHO":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},vapor:{state:".channels.1.vaporAmount"},display:{state:".channels.1.display"}},"HmIP-STHO-A":{temperature:{state:".1.ACTUAL_TEMPERATURE"},humidity:{state:".1.HUMIDITY"}},"HmIP-SWO-B":{humidity:{state:".1.HUMIDITY"},wind:{state:".1.WIND_SPEED"},temperature:{state:".1.ACTUAL_TEMPERATURE"},illumination:{state:".1.ILLUMINATION"},sunshineduration:{state:".1.SUNSHINEDURATION"}}}};function parse$j(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"other",room:getRoom(t),states:{unreach:{state:".channels.0.unreach"},lowBattery:{state:".channels.0.lowBat"},firmware:{state:".channels.info.firmwareVersion"}}},u=t.states[t.root+".info.modelType"]||null;let d=-1;if(u&&u.val){const g={},v={},y=u.val.toLowerCase();for(const A in STATE_MAPPING$a)if(g[A]=g[A]||Object.keys(STATE_MAPPING$a[A]),v[A]=v[A]||g[A].map(b=>b.toLowerCase()),d=v[A].indexOf(y),d>-1){a.function=A,a.states={...a.states,..._default(STATE_MAPPING$a[A][g[A][d]])};break}a.states=validateStates(a.states,t)}d===-1?parseDefault(t,r,a).then(o):o(a)})}var __glob_4_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:hmip,namespace:namespace$m,deviceObjectType:deviceObjectType$j,devicePattern:devicePattern$5,parse:parse$j},Symbol.toStringTag,{value:"Module"})),hueExtended="hue-extended";const namespace$l="hue-extended",deviceObjectType$i="channel",devicePattern$4="(lights|groups|sensors)+\\.(\\d{3}\\-[^.]+)$|([^.]+\\-\\d{3})$",STATE_MAPPING$9={light:{power:{state:".action.on",action:".action.on"},level:{state:".action.level",action:".action.level"},colorTemperature:{state:".action.colorTemperature",action:".action.colorTemperature"},hue:{state:".action.hue",action:".action.hue"},hex:{state:".action.hex",action:".action.hex"}}};function parse$i(t,r){return new Promise((o,a)=>{let u={};u.name=t.states[t.root+".name"]&&t.states[t.root+".name"].val||t.root.substr(t.root.lastIndexOf(".")+1),u.states={},t.root.indexOf(".groups.")>-1||t.root.indexOf(".lights.")>-1?(u={...u,function:"light",room:getRoom(t),states:{..._default(STATE_MAPPING$9.light),reachability:".state.reachable"}},u.states=validateStates(u.states,t),o(u)):t.root.indexOf(".sensors.")>-1?(t.list.forEach(d=>{if(d.indexOf(".config.")>-1||d.indexOf(".state.")>-1||d.indexOf(".action.")>-1){const g=d.substr(d.lastIndexOf(".")+1);u.states[g]=detectStateElements(d,t)}}),u=detectFunction(u),o(u)):o({})})}var __glob_4_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:hueExtended,namespace:namespace$l,deviceObjectType:deviceObjectType$i,devicePattern:devicePattern$4,parse:parse$i},Symbol.toStringTag,{value:"Module"})),hue="hue";const namespace$k="hue",deviceObjectType$h="channel",STATE_MAPPING$8={light:{power:{state:".on",action:".on"},level:{state:".level",action:".level"},colorTemperature:{state:".ct",action:".ct"},hue:{state:".hue",action:".hue"},reachability:{state:".reachable"}}};function parse$h(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"light",room:getRoom(t),states:_default(STATE_MAPPING$8.light)};a.states=validateStates(a.states,t),a.states.level!==void 0||a.states.colorTemperature!==void 0||a.states.hue!==void 0?parseDefault(t).then(o):o(a)})}var __glob_4_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:hue,namespace:namespace$k,deviceObjectType:deviceObjectType$h,parse:parse$h},Symbol.toStringTag,{value:"Module"})),innogySmarthome="innogy / Livisi SmartHome";const namespace$j="innogy-smarthome";function parse$g(t,r){return parseDefault(t)}var __glob_4_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:innogySmarthome,namespace:namespace$j,parse:parse$g},Symbol.toStringTag,{value:"Module"})),knx="knx";const namespace$i="knx",deviceObjectType$g="state";function root$d(t,r){return new Promise(o=>{const a=[];for(const u in t){const d=t[u];if(u.indexOf(".info.connection")>-1)continue;const g=u.replace("knx.","").substr(2).replace(/\./g," - ").replace(/_/g," ");let v={id:d.common.name.toLowerCase().replace(/ /g,"")+"_"+uuidv5(u,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:g,function:"other",room:getRoom(deviceStructure),states:{[d.native.address]:detectStateElements(u,{objects:t})}};v=detectFunction(v),a.push(v)}o(a)})}var __glob_4_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:knx,namespace:namespace$i,deviceObjectType:deviceObjectType$g,root:root$d},Symbol.toStringTag,{value:"Module"})),lifx="Lifx";const namespace$h="lifx",deviceObjectType$f="channel";function parse$f(t,r){return parseDefault(t)}var __glob_4_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:lifx,namespace:namespace$h,deviceObjectType:deviceObjectType$f,parse:parse$f},Symbol.toStringTag,{value:"Module"})),linkeddevices="Linked Devices";const namespace$g="linkeddevices";function parse$e(t,r){return parseDefault(t)}var __glob_4_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:linkeddevices,namespace:namespace$g,parse:parse$e},Symbol.toStringTag,{value:"Module"})),mihomeVacuum="mihome-vacuum";const namespace$f="mihome-vacuum",deviceObjectType$e="state",STATE_MAPPING$7={consumableFilter:{state:".consumable.filter",action:".consumable.filter_reset",actionElement:"IconButtonAction"},consumableBrushMain:{state:".consumable.main_brush",action:".consumable.main_brush_reset",actionElement:"IconButtonAction"},consumableBrushSide:{state:".consumable.side_brush",action:".consumable.side_brush_reset",actionElement:"IconButtonAction"},consumableSensors:{state:".consumable.sensors",action:".consumable.sensors_reset",actionElement:"IconButtonAction"},consumableFilterWater:{state:".consumable.water_filter",action:".consumable.water_filter_reset",actionElement:"IconButtonAction"},controlSoundVolume:{state:".control.sound_volume",action:".control.sound_volume",actionElement:"InputAction"},controlModeCarpet:{action:".control.carpet_mode",actionElement:"IconButtonAction"},controlFind:{action:".control.find",actionElement:"IconButtonAction"},controlHome:{action:".control.home",actionElement:"IconButtonAction"},controlPause:{action:".control.pause",actionElement:"IconButtonAction"},cleanRoomResume:{action:".control.resumeRoomClean",actionElement:"IconButtonAction"},cleanZoneResume:{action:".control.resumeZoneClean",actionElement:"IconButtonAction"},cleanSpot:{action:".control.spotclean",actionElement:"IconButtonAction"},cleanZone:{action:".control.zoneClean",actionElement:"InputAction"},clean:{action:".control.clean",actionElement:"IconButtonAction"},controlFan:{state:".control.fan_power",action:".control.fan_power",display:{101:"QUIET",102:"BALANCED",103:"TURBO",104:"MAXIMUM",105:"MOP",106:"CUSTOM"}},historyTableJson:{state:".history.allTableJSON"},cleanedTotalArea:{state:".history.total_area"},cleanedTotalCleanups:{state:".history.total_cleanups"},cleanedTotalTime:{state:".history.total_time"},cleanedMissionArea:{state:".info.cleanedarea"},cleanedMissionTime:{state:".info.cleanedtime"},battery:{state:".info.battery"},doNotDisturb:{state:".info.dnd"},error:{state:".info.error"},timer:{state:".info.nextTimer"},state:{state:".info.state"},waterBox:{state:".info.water_box"},map:{state:".cleanmap.map64",action:".cleanmap.loadMap"},cleanQueue:{state:".info.queue",action:".control.clearQueue"},firmware:{state:".deviceInfo.fw_ver"},mac:{state:".deviceInfo.mac"},model:{state:".deviceInfo.model"},wifi_signal:{state:".deviceInfo.wifi_signal"}};function root$c(t,r){return new Promise(o=>{const a=Connection.getConnection,u=Object.keys(t),d=[];for(let g=0;g<99&&u.indexOf(namespace$f+"."+g+".deviceInfo.model")!==-1;g++)d.push(new Promise((v,y)=>{a.getState(namespace$f+"."+g+".deviceInfo.model").then(A=>{const b={id:(A&&A.val.toLowerCase().replace(/ /g,""))+"_"+uuidv5(namespace$f+"."+g,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:A&&A.val,function:"vacuum",room:getRoom(deviceStructure),states:_default(STATE_MAPPING$7)},_=u.filter(S=>S.startsWith(namespace$f+"."+g+".rooms")&&(S.endsWith("roomClean")||S.endsWith("state"))),w={};_.forEach(S=>{const[C]=S.replace(namespace$f+"."+g+".rooms.","").split(".");w[C]={...w[C]||{},[S.indexOf(".state")>-1?"state":"action"]:S.replace(namespace$f+"."+g,"")}}),b.states={...b.states,...w},b.states=validateStates(b.states,{objects:t,list:u,root:namespace$f+"."+g}),v(b)}).catch(A=>{console.error(A),y(A)})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})}var __glob_4_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:mihomeVacuum,namespace:namespace$f,deviceObjectType:deviceObjectType$e,root:root$c},Symbol.toStringTag,{value:"Module"})),mihome="mihome";const namespace$e="mihome",deviceObjectType$d="channel",devicePattern$3="devices\\.(.*)_(.*)";function parse$d(t,r){return parseDefault(t)}var __glob_4_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:mihome,namespace:namespace$e,deviceObjectType:deviceObjectType$d,devicePattern:devicePattern$3,parse:parse$d},Symbol.toStringTag,{value:"Module"})),mqtt="MQTT";const namespace$d="mqtt",deviceObjectType$c="folder",devicePattern$2="((?!info).)*",STATE_MAPPING$6={light:{dimmer:{state:".Dimmer",action:".Dimmer"},ct:{state:".CT",action:".CT",properties:{min:153,max:500}},hue:{state:".Hue",action:".Hue"},sat:{state:".Saturation",action:".Saturation"}},other:{version:[".Version",".INFO.Version"],reachability:".alive",ip:".INFO.IPAddress",signal:".Wifi_Signal",dataReceived:".RfReceived_Data",power:{state:".POWER",action:".POWER"},powerCurrent:{state:".ENERGY_Current",unit:" A"},powerMeter:{state:".ENERGY_Power",unit:" W"},powerConsumption:{state:".ENERGY_Total",unit:" kWh"},powerConsumptionToday:{state:".ENERGY_Today",unit:" kWh"},powerConsumptionYesterday:{state:".ENERGY_Yesterday",unit:" kWh"},power1:{state:".POWER1",action:".POWER1"},power2:{state:".POWER2",action:".POWER2"},power3:{state:".POWER3",action:".POWER3"},power4:{state:".POWER4",action:".POWER4"},power5:{state:".POWER5",action:".POWER5"},power6:{state:".POWER6",action:".POWER6"},power7:{state:".POWER7",action:".POWER7"},power8:{state:".POWER8",action:".POWER8"},power9:{state:".POWER9",action:".POWER9"}}};function parse$c(t,r){return new Promise(o=>{const a=t.objects[t.root]||{};let u={name:a.common&&a.common.name||a._id||"Unknown MQTT Device Name",function:"other",room:getRoom(t),states:{..._default(STATE_MAPPING$6.other),..._default(STATE_MAPPING$6.light)}};u.states=validateStates(u.states,t),u.states.power===void 0&&u.states.dimmer===void 0?parseDefault(t,r,u).then(o):(u=detectFunction(u),o(u))})}var __glob_4_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:mqtt,namespace:namespace$d,deviceObjectType:deviceObjectType$c,devicePattern:devicePattern$2,parse:parse$c},Symbol.toStringTag,{value:"Module"})),nukiExtended="nuki-extended";const namespace$c="nuki-extended",deviceObjectType$b="channel",devicePattern$1="(openers|smartlocks)+\\.([^.]+\\w+)",STATE_MAPPING$5={openers:{door:{state:".state.doorState"},ring:{state:".state.ringState"},ringUpdate:{state:".state.ringStateUpdate"},state:{state:".state.lockState",display:{0:"UNTRAINED",1:"ONLINE",3:"RING_TO_OPEN",5:"OPEN",7:"OPENING",253:"BOOT_RUN",255:"UNDEFINED"}},lowbattery:{state:".state.batteryCritical"},ACTIONS:{action:"._ACTION",display:{0:"NO_ACTION",1:"ACTIVE RTO",2:"DEACTIVATE RTO",3:"ELECTRIC STRIKE ACTUATION",4:"ACTIVATE CM",5:"DEACTIVATE CM"},actionElement:"DropdownAction"},ACTIVATE_CM:{action:"._ACTION.ACTIVATE_CM",actionElement:"IconButtonAction"},ACTIVE_RTO:{action:"._ACTION.ACTIVE_RTO",actionElement:"IconButtonAction"},DEACTIVATE_CM:{action:"._ACTION.DEACTIVATE_CM",actionElement:"IconButtonAction"},DEACTIVATE_RTO:{action:"._ACTION.DEACTIVATE_RTO",actionElement:"IconButtonAction"},ELECTRIC_STRIKE_ACTUATION:{action:"._ACTION.ELECTRIC_STRIKE_ACTUATION",actionElement:"IconButtonAction"}},smartlocks:{door:{state:".state.closed"},doorState:{state:".state.doorState",display:{0:"UNAVAILABLE",1:"DEACTIVATED",2:"DOOR_CLOSED",3:"DOOR_OPENED",4:"DOOR_STATE_UNKNOWN",5:"CALIBRATING"}},lock:{state:".state.locked"},lockState:{state:".state.lockState",display:{0:"UNCALIBRATED",1:"LOCKED",2:"UNLOCKING",3:"UNLOCKED",4:"LOCKING",5:"UNLATCHED",6:"UNLOCKED_LOCK_N_GO",7:"UNLATCHING",254:"MOTOR_BLOCKED",255:"UNDEFINED"}},lockUpdate:{state:".state.lastStateUpdate"},lowbattery:{state:".state.batteryCritical"},ACTIONS:{action:"._ACTION",display:{0:"NO_ACTION",1:"UNLOCK",2:"LOCK",3:"UNLATCH",4:"LOCK_N_GO",5:"LOCK_N_GO_WITH_UNLATCH"},actionElement:"DropdownAction"},LOCK:{action:"._ACTION.LOCK",actionElement:"IconButtonAction"},LOCK_N_GO:{action:"._ACTION.LOCK_N_GO",actionElement:"IconButtonAction"},LOCK_N_GO_WITH_UNLATCH:{action:"._ACTION.LOCK_N_GO_WITH_UNLATCH",actionElement:"IconButtonAction"},UNLATCH:{action:"._ACTION.UNLATCH",actionElement:"IconButtonAction"},UNLOCK:{action:"._ACTION.UNLOCK",actionElement:"IconButtonAction"}}};function parse$b(t,r){return new Promise((o,a)=>{const u=t.states[t.root+".type"];if(u){const d=t.states[t.root+".name"],g={name:d&&d.val||t.root,function:"door",room:getRoom(t),states:_default(STATE_MAPPING$5[u.val===0?"smartlocks":"openers"])};return g.states=validateStates(g.states,t),o(g)}return a(new Error("Nuki has no type"))})}var __glob_4_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:nukiExtended,namespace:namespace$c,deviceObjectType:deviceObjectType$b,devicePattern:devicePattern$1,parse:parse$b},Symbol.toStringTag,{value:"Module"})),roborock="roborock";const namespace$b="roborock",STATE_MAPPING$4={cleaningInfoTotalTime:{state:".cleaningInfo.0"},cleaningInfoTotalArea:{state:".cleaningInfo.1"},cleaningInfoCycles:{state:".cleaningInfo.2"},cleaningInfoRecords:{state:".cleaningInfo.3"},cleaningInfoJson:{state:".cleaningInfo.JSON"},commandAppCharge:{state:".commands.app_charge",action:".commands.app_charge",actionElement:"IconButtonAction"},commandAppGoToTarget:{state:".commands.app_goto_target",action:".commands.app_goto_target",actionElement:"InputAction"},commandAppPause:{state:".commands.app_pause",action:".commands.app_pause",actionElement:"IconButtonAction"},commandAppSegmentClean:{state:".commands.app_segment_clean",action:".commands.app_segment_clean",actionElement:"IconButtonAction"},commandAppSpot:{state:".commands.app_spot",action:".commands.app_spot",actionElement:"IconButtonAction"},commandAppStart:{state:".commands.app_start",action:".commands.app_start",actionElement:"IconButtonAction"},commandAppStop:{state:".commands.app_stop",action:".commands.app_stop",actionElement:"IconButtonAction"},commandAppZonedClean:{state:".commands.app_zoned_clean",action:".commands.app_zoned_clean",actionElement:"InputAction"},commandFindMe:{state:".commands.find_me",action:".commands.find_me",actionElement:"IconButtonAction"},commandResumeSegmentClean:{state:".commands.resume_segment_clean",action:".commands.resume_segment_clean",actionElement:"IconButtonAction"},commandResumeZonedClean:{state:".commands.resume_zoned_clean",action:".commands.resume_zoned_clean",actionElement:"IconButtonAction"},commandStopZonedClean:{state:".commands.stop_zoned_clean",action:".commands.stop_zoned_clean",actionElement:"IconButtonAction"},commandSetCustomMode:{state:".commands.set_custom_mode",action:".commands.set_custom_mode",actionElement:"DropdownAction",display:{101:"Quiet",102:"Balanced",103:"Turbo",104:"Max",105:"Off"}},commandSetMopMode:{state:".commands.set_mop_mode",action:".commands.set_mop_mode",actionElement:"DropdownAction",display:{300:"Standard",301:"Deep",303:"Deep+"}},consumableDustCollectionWorkTimes:{state:".consumables.dust_collection_work_times",action:".reset_consumables.dust_collection_work_times",actionElement:"IconButtonAction"},consumableFilterElementWorkTime:{state:".consumables.filter_element_work_time",action:".reset_consumables.filter_element_work_time",actionElement:"IconButtonAction"},consumableFilterLife:{state:".consumables.filter_life"},consumableFilterWorkTime:{state:".consumables.filter_work_time",action:".reset_consumables.filter_work_time",actionElement:"IconButtonAction"},consumableMainBrushLife:{state:".consumables.main_brush_life"},consumableMainBrushWorkTime:{state:".consumables.main_brush_work_time",action:".reset_consumables.main_brush_work_time",actionElement:"IconButtonAction"},consumableSideBrushLife:{state:".consumables.side_brush_life"},consumableSideBrushWorkTime:{state:".consumables.side_brush_work_time",action:".reset_consumables.side_brush_work_time",actionElement:"IconButtonAction"},consumableSensorDirtyTime:{state:".consumables.sensor_dirty_time",action:".reset_consumables.sensor_dirty_time",actionElement:"IconButtonAction"},deviceInfoActiveTime:{state:".deviceInfo.activeTime"},deviceInfoFirmwareUpdate:{state:".deviceInfo.f"},deviceInfoFirmwareVersion:{state:".deviceInfo.fv"},deviceInfoName:{state:".deviceInfo.name"},deviceInfoOnline:{state:".deviceInfo.online"},deviceStatusAdbumper:{state:".deviceStatus.adbumper_status"},deviceStatusDockError:{state:".deviceStatus.dock_error_status"},deviceStatusDustCollectionAuto:{state:".deviceStatus.auto_dust_collection"},deviceStatusDustCollectionStatus:{state:".deviceStatus.dust_collection_status"},deviceStatusBattery:{state:".deviceStatus.battery",unit:"%"},deviceStatusCarpetMode:{state:".deviceStatus.carpet_mode"},deviceStatusCleanArea:{state:".deviceStatus.clean_area",unit:" m\xB2"},deviceStatusCleanTime:{state:".deviceStatus.clean_time",unit:" min"},deviceStatusDebugMode:{state:".deviceStatus.debug_mode"},deviceStatusDnD:{state:".deviceStatus.dnd_enabled"},deviceStatusDockType:{state:".deviceStatus.dock_type"},deviceStatusErrorCode:{state:".deviceStatus.error_code",display:{0:"No error",1:"Laser sensor fault",2:"Collision sensor fault",3:"Wheel floating",4:"Cliff sensor fault",5:"Main brush blocked",6:"Side brush blocked",7:"Wheel blocked",8:"Device stuck",9:"Dust bin missing",10:"Filter blocked",11:"Magnetic field detected",12:"Low battery",13:"Charging problem",14:"Battery failure",15:"Wall sensor fault",16:"Uneven surface",17:"Side brush failure",18:"Suction fan failure",19:"Unpowered charging station",20:"Unknown Error",21:"Laser pressure sensor problem",22:"Charge sensor problem",23:"Dock problem",24:"No-go zone or invisible wall detected",254:"Bin full",255:"Internal error","-1":"Unknown Error"}},deviceStatusFanPower:{state:".deviceStatus.fan_power",display:{101:"Quiet",102:"Balanced",103:"Turbo",104:"Max",105:"Off"}},deviceStatusInCleaning:{state:".deviceStatus.in_cleaning"},deviceStatusInFreshTime:{state:".deviceStatus.in_fresh_state"},deviceStatusInReturning:{state:".deviceStatus.in_returning"},deviceStatusIsExploring:{state:".deviceStatus.is_exploring"},deviceStatusIsLocating:{state:".deviceStatus.is_locating"},deviceStatusLabStatus:{state:".deviceStatus.lab_status"},deviceStatusLockStatus:{state:".deviceStatus.lock_status"},deviceStatusMapPresent:{state:".deviceStatus.map_present"},deviceStatusMapStatus:{state:".deviceStatus.map_status"},deviceStatusMopForbbiden:{state:".deviceStatus.mop_forbidden_enable"},deviceStatusMopMode:{state:".deviceStatus.mop_mode"},deviceStatusState:{state:".deviceStatus.state",display:{0:"Unknown",1:"Initiating",2:"Sleeping",3:"Idle",4:"Remote Control",5:"Cleaning",6:"Returning Dock",7:"Manual Mode",8:"Charging",9:"Charging Error",10:"Paused",11:"Spot Cleaning",12:"In Error",13:"Shutting Down",14:"Updating",15:"Docking",16:"Go To",17:"Zone Clean",18:"Room Clean",22:"Empying dust container",23:"Washing the mop",26:"Going to wash the mop",28:"In call",29:"Mapping",100:"Fully Charged"}},deviceStatusBoxCarriage:{state:".deviceStatus.water_box_carriage_status"},deviceStatusBoxMode:{state:".deviceStatus.water_box_mode"},deviceStatusBoxStatus:{state:".deviceStatus.water_box_status"},deviceStatusWaterShortage:{state:".deviceStatus.water_shortage_status"},map:{state:".map.mapBase64"}};function parse$a(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"vacuum",room:getRoom(t),states:_default(STATE_MAPPING$4)};a.states=validateStates(a.states,t),o(a)})}var __glob_4_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:roborock,namespace:namespace$b,parse:parse$a},Symbol.toStringTag,{value:"Module"})),rpi2="rpi2";const namespace$a="rpi2",deviceObjectType$a="state";function root$b(t,r){return new Promise(o=>{const a=Object.values(t).map(d=>d.id),u={};for(let d=0;d<99&&a.indexOf(namespace$a+"."+d+".cpu.load1")!==-1;d++)u[namespace$a+"."+d]=u[namespace$a+"."+d]||{id:(namespace$a+"."+d).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$a+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$a+"."+d,function:"server",room:getRoom(deviceStructure),states:{}},a.forEach(g=>{const v=g.replace(namespace$a+"."+d+".","").replace(/\./g,"-");u[namespace$a+"."+d].states[v]={state:g}});o(Object.values(u))})}var __glob_4_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:rpi2,namespace:namespace$a,deviceObjectType:deviceObjectType$a,root:root$b},Symbol.toStringTag,{value:"Module"})),shelly="Shelly";const namespace$9="shelly",deviceObjectType$9="device",BlindLevelActivity={open:!0,close:!0,stop:!1},STATE_MAPPING$3={socket:{power:{state:".Relay0.Switch",action:".Relay0.Switch",actionElement:"SwitchAction"},powerCounter:{state:".Relay0.Energy",unit:" Wh"},powerMeter:{state:".Relay0.Power",unit:" W"}},blind:{level:{state:".Shutter.Position",action:".Shutter.Position"},activity:{state:".Shutter.state"},stop:{action:".Shutter.Pause"}},light:{power:[{state:".lights.Switch",action:".lights.Switch",actionElement:"SwitchAction"},{state:".white0.Switch",action:".white0.Switch",actionElement:"SwitchAction"}],powerCh1:{state:".white1.Switch",action:".white1.Switch",actionElement:"SwitchAction"},powerCh2:{state:".white2.Switch",action:".white2.Switch",actionElement:"SwitchAction"},powerCh3:{state:".white3.Switch",action:".white3.Switch",actionElement:"SwitchAction"},colorTemperature:{state:".lights.white",action:".lights.white",actionElement:"LevelBody",properties:{min:0,max:100}},level:[{state:".lights.brightness",action:".lights.brightness"},{state:".white0.brightness",action:".white0.brightness"}],levelCh1:{state:".white1.brightness",action:".white1.brightness"},levelCh2:{state:".white2.brightness",action:".white2.brightness"},levelCh3:{state:".white3.brightness",action:".white3.brightness"},hex:{state:".lights.rgbw",action:".lights.rgbw"},hue:{state:".lights.hue",action:".lights.hue"},powerMeter:[{state:".Relay0.Power",unit:" W"},{state:".lights.Power",unit:" W"},{state:".white0.Power",unit:" W"},{state:".Emeter0.Power",unit:" W"}],powerMeterCh1:[{state:".Relay1.Power",unit:" W"},{state:".white1.Power",unit:" W"},{state:".Emeter1.Power",unit:" W"}],powerMeterCh2:[{state:".Relay2.Power",unit:" W"},{state:".white2.Power",unit:" W"},{state:".Emeter2.Power",unit:" W"}],powerMeterCh3:[{state:".Relay3.Power",unit:" W"},{state:".white3.Power",unit:" W"}],powerCounter:[{state:".Relay0.Energy",unit:" Wh"},{state:".lights.Energy",unit:" Wh"},{state:".white0.Energy",unit:" Wh"},{state:".Emeter0.Total",unit:" Wh"}],powerCounterCh1:[{state:".Relay1.Energy",unit:" Wh"},{state:".white1.Energy",unit:" Wh"},{state:".Emeter1.Total",unit:" Wh"}],powerCounterCh2:[{state:".Relay2.Energy",unit:" Wh"},{state:".white2.Energy",unit:" Wh"},{state:".Emeter2.Total",unit:" Wh"}],powerCounterCh3:[{state:".Relay3.Energy",unit:" Wh"},{state:".white3.Energy",unit:" Wh"}],powerCurrent:{state:".Emeter0.Current",unit:" A"},powerCurrentCh1:{state:".Emeter1.Current",unit:" A"},powerCurrentCh2:{state:".Emeter2.Current",unit:" A"},powerVoltage:{state:".Emeter0.Voltage",unit:" V"},powerVoltageCh1:{state:".Emeter1.Voltage",unit:" V"},powerVoltageCh2:{state:".Emeter2.Voltage",unit:" V"},powerCounterReturned:{state:".Emeter0.Total_Returned",unit:" Wh"},powerCounterReturnedCh1:{state:".Emeter1.Total_Returned",unit:" Wh"},powerCounterReturnedCh2:{state:".Emeter2.Total_Returned",unit:" Wh"},powerTotalCurrent:{state:".Total.Current",unit:" A"},powerTotalConsumed:{state:".Total.ConsumedPower",unit:" Wh"},powerTotalInstant:{state:".Total.InstantPower",unit:" W"},powerTotalVoltage:{state:".Total.Voltage",unit:" V"},powerTotalVoltageMean:{state:".Total.VoltageMean",unit:" V"}},switch:{input:{state:".Relay0.Input"},inputCh2:{state:".Relay1.Input"},inputCh3:{state:".Relay2.Input"},event:{state:".Relay0.Event"},eventCh2:{state:".Relay1.Event"},eventCh3:{state:".Relay2.Event"},eventCount:{state:".Relay0.EventCount"},eventCountCh2:{state:".Relay1.EventCount"},eventCountCh3:{state:".Relay2.EventCount"}},sensor:{battery:[{state:".sensor.battery"},{state:".bat.value"}],humidity:{state:".hum.value"},flood:{state:".sensor.flood"},door:{state:".sensor.door"},illumination:{state:".sensor.lux"},tilt:{state:".sensor.tilt"},vibration:{state:".sensor.vibration"},temperature:[{state:".sensor.temperatureC"},{state:".tmp.temperatureC"}]}},buttonType={momentary:"momentary",toggle:"toggle",edge:"edge",detached:"detached",action:"action",cycle:"cycle",momentary_on_release:"momentary_on_release"},inputMode={momentary:"momentary",follow:"follow",flip:"flip",detached:"detached"},initialState={on:"on",off:"off",restore_last:"restore_last",match_input:"match_input"};function parse$9(t,r){return new Promise(o=>{let u={name:t.states[t.root+".name"]&&t.states[t.root+".name"].val||t.objects[t.root].common.name,function:"socket",room:getRoom(t),states:{..._default(STATE_MAPPING$3.socket),firmware:{state:".firmware",action:".firmwareupdate",actionElement:"IconButtonAction"},ip:".hostname",temperature:".temperatureC",version:".version",reachability:".online",cloudEnabled:".Cloud.enabled",apEnabled:".WiFi.apEnabled",buttonTypeRelay0:{state:".Relay0.ButtonType",action:".Relay0.ButtonType",actionElement:"DropdownAction",display:buttonType},buttonTypeRelay1:{state:".Relay1.ButtonType",action:".Relay1.ButtonType",actionElement:"DropdownAction",display:buttonType},initialStateRelay0:{state:".Relay0.InitialState",action:".Relay0.InitialState",actionElement:"DropdownAction",display:initialState},initialStateRelay1:{state:".Relay1.InitialState",action:".Relay1.InitialState",actionElement:"DropdownAction",display:initialState},inputModeRelay0:{state:".Relay0.InputMode",action:".Relay0.InputMode",actionElement:"DropdownAction",display:inputMode},inputModeRelay1:{state:".Relay1.InputMode",action:".Relay1.InputMode",actionElement:"DropdownAction",display:inputMode}}};t.root.indexOf("SHSW-1")>-1||t.root.indexOf("SHSW-L")>-1||t.root.indexOf("SHSW-PM")>-1||t.root.indexOf("SHPLG")>-1||t.root.indexOf("SHPLG2")>-1?u.states={...u.states}:t.root.indexOf("SHIX3-")>-1?u.states={..._default(STATE_MAPPING$3.switch),...u.states}:t.root.indexOf("SHSW-2")>-1?t.states[t.root+".Sys.deviceMode"]&&t.states[t.root+".Sys.deviceMode"].val==="roller"||t.states[t.root+".mode"]&&t.states[t.root+".mode"].val==="roller"?(delete u.states.power,delete u.states.buttonTypeRelay0,delete u.states.buttonTypeRelay1,delete u.states.initialStaateRelay0,delete u.states.initialStaateRelay1,delete u.states.inputModeRelay0,delete u.states.inputModeRelay1,u.function="blind",u.states={..._default(STATE_MAPPING$3.blind),...u.states,buttonType:{state:".Shutter.ButtonType",action:".Shutter.ButtonType",actionElement:"DropdownAction",display:buttonType}}):u.states={...u.states,Relay0:{state:".Relay0.Switch",action:".Relay0.Switch",actionElement:"SwitchAction"},Relay1:{state:".Relay1.Switch",action:".Relay1.Switch",actionElement:"SwitchAction"}}:t.root.indexOf("SHDM-")>-1||t.root.indexOf("SHRGBW")>-1||t.root.indexOf("SHBDUO")>-1?(u.function="light",u.states={...u.states,..._default(STATE_MAPPING$3.light)}):(t.root.indexOf("SHWT-")>-1||t.root.indexOf("SHDW-")>-1||t.root.indexOf("SHHT-")>-1)&&(u.function=t.root.indexOf("SHDW-")>-1?"door":"sensor",u.states={...u.states,..._default(STATE_MAPPING$3.sensor)}),u.states=validateStates(u.states,t),u=detectFunction(u),o(u)})}var __glob_4_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:shelly,namespace:namespace$9,deviceObjectType:deviceObjectType$9,BlindLevelActivity,parse:parse$9},Symbol.toStringTag,{value:"Module"})),sonoff="Sonoff";const namespace$8="sonoff",deviceObjectType$8="channel",devicePattern="((?!info).)*";var __glob_4_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:sonoff,namespace:namespace$8,deviceObjectType:deviceObjectType$8,devicePattern,parse:parse$c},Symbol.toStringTag,{value:"Module"})),tr064="tr-064";const namespace$7="tr-064",deviceObjectType$7="state",STATE_MAPPING$2={calllists:{allCount:{state:".all.count"},allHTML:{state:".all.html"},allJson:{state:".all.json"},inboundCount:{state:".inbound.count"},inboundHTML:{state:".inbound.html"},inboundJson:{state:".inbound.json"},missedCount:{state:".missed.count"},missedHTML:{state:".missed.html"},missedJson:{state:".missed.json"},outboundCount:{state:".outbound.count"},outboundHTML:{state:".outbound.html"},outboundJson:{state:".outbound.json"}},phonebook:{image:{state:".image"},name:{state:".name"},number:{state:".number"}},states:{ab:{state:".ab"},ip:{state:".externalIP"},ipv6:{state:".externalIPv6"},reboot:{action:".reboot",actionElement:"IconButtonAction"},reconnect:{action:".reconnectInternet",actionElement:"IconButtonAction"},wlan24:{state:".wlan24"},wlan50:{state:".wlan50"}}};function root$a(t,r){return new Promise(o=>{const a=Object.keys(t),u={};for(let d=0;d<99&&a.indexOf(namespace$7+"."+d+".states.externalIP")!==-1;d++){for(const g in STATE_MAPPING$2){u[g+"."+d]=u[g+"."+d]||{id:(namespace$7+"."+d+"-"+g).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$7+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$7+"."+d+" "+g,function:"other",room:"",states:{}};for(const v in STATE_MAPPING$2[g]){const y=_default(STATE_MAPPING$2[g][v]);(a.indexOf(namespace$7+"."+d+"."+g+y.state)>-1||a.indexOf(namespace$7+"."+d+"."+g+y.action)>-1)&&(y.state=y.state&&"."+g+y.state,y.action=y.action&&"."+g+y.action,u[g+"."+d].states[v]=y,u[g+"."+d].room=getRoom(namespace$7+"."+d+"."+g+y.state))}}for(const g of a)if(g.indexOf(namespace$7+"."+d+".devices.")>-1){let v=g.replace(namespace$7+"."+d+".devices.","");v=v.substr(0,v.indexOf("."));const y=v.toLowerCase().replace(/ /g,""),A=g.substr(g.lastIndexOf(".")+1);v&&A!=="lastActive-ts"&&A!=="lastInactive-ts"&&(u[y+"."+d]=u[y+"."+d]||{id:y+"_"+uuidv5(namespace$7+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:v,function:"other",states:{}},u[y+"."+d].states={...u[y+"."+d].states,[A]:g.replace(namespace$7+"."+d,"")})}}for(const d in u){const[,g]=d.split(".");u[d].states=validateStates(u[d].states,{objects:t,list:a,root:namespace$7+"."+g})}o(Object.values(u))})}var __glob_4_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:tr064,namespace:namespace$7,deviceObjectType:deviceObjectType$7,root:root$a},Symbol.toStringTag,{value:"Module"})),unifi="UniFi";const namespace$6="unifi",deviceObjectType$6="state",STATE_MAPPING$1={health:{"lan.lan_ip":{state:".lan.lan_ip"},"lan.num_guest":{state:".lan.num_guest"},"lan.num_iot":{state:".lan.num_iot"},"lan.num_user":{state:".lan.num_user"},"lan.rx_bytes":{state:".lan.rx_bytes-r"},"lan.status":{state:".lan.status"},"lan.subsystem":{state:".lan.subsystem"},"lan.tx_bytes":{state:".lan.tx_bytes-r"},"vpn.status":{state:".vpn.status"},"vpn.subsystem":{state:".vpn.subsystem"},"wan.wan_ip":{state:".wan.wan_ip"},"wan.rx_bytes":{state:".wan.rx_bytes-r"},"wan.status":{state:".wan.status"},"wan.subsystem":{state:".wan.subsystem"},"wan.tx_bytes":{state:".wan.tx_bytes-r"},"wlan.num_guest":{state:".wlan.num_guest"},"wlan.num_iot":{state:".wlan.num_iot"},"wlan.num_user":{state:".wlan.num_user"},"wlan.rx_bytes":{state:".wlan.rx_bytes-r"},"wlan.status":{state:".wlan.status"},"wlan.subsystem":{state:".wlan.subsystem"},"wlan.tx_bytes":{state:".wlan.tx_bytes-r"},"www.latency":{state:".www.latency"},"www.rx_bytes":{state:".www.rx_bytes-r"},"www.status":{state:".www.status"},"www.subsystem":{state:".www.subsystem"},"www.tx_bytes":{state:".www.tx_bytes-r"},"www.uptime":{state:".www.uptime"},"www.xput_down":{state:".www.xput_down"},"www.xput_up":{state:".www.xput_up"},"www.speedtest.lastrun":{state:".www.speedtest.lastrun"},"www.speedtest.ping":{state:".www.speedtest.ping"},"www.speedtest.status":{state:".www.speedtest.status"}},sysinfo:{update_available:{state:".update_available"},version:{state:".version"}}};function root$9(t,r){return new Promise(o=>{const a=Object.keys(t),u={};for(let d=0;d<99&&a.indexOf(namespace$6+"."+d+".info.connection")!==-1;d++){u[namespace$6+"."+d]=u[namespace$6+"."+d]||{id:(namespace$6+"."+d).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$6+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$6+"."+d,function:"other",room:getRoom(deviceStructure),states:{}};for(const g in STATE_MAPPING$1)for(const v in STATE_MAPPING$1[g]){const y=_default(STATE_MAPPING$1[g][v]);a.indexOf(namespace$6+"."+d+".default."+g+y.state)>-1&&(y.state=".default."+g+y.state,u[namespace$6+"."+d].states[g+"-"+v]=y)}for(const g of a)["devices","clients"].forEach(v=>{if(g.indexOf(namespace$6+"."+d+".default."+v+".")>-1){const y=g.replace(namespace$6+"."+d+".default."+v+".","");let A=y.substr(0,y.indexOf("."));const b=t[namespace$6+"."+d+".default."+v+"."+A];A=b&&b.common&&b.common.name||A;const _=A.toLowerCase().replace(/ /g,""),w=y.substr(y.indexOf(".")+1);A&&(u[_+"."+d]=u[_+"."+d]||{id:_+"_"+uuidv5(namespace$6+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:A,function:"other",states:{}},u[_+"."+d].states={...u[_+"."+d].states,[w]:g.replace(namespace$6+"."+d,"")})}})}for(const d in u){const[,g]=d.split(".");u[d].states=validateStates(u[d].states,{objects:t,list:a,root:namespace$6+"."+g})}o(Object.values(u))})}var __glob_4_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:unifi,namespace:namespace$6,deviceObjectType:deviceObjectType$6,root:root$9},Symbol.toStringTag,{value:"Module"})),wifilight="Wifilight";const namespace$5="wifilight",deviceObjectType$5="device";function parse$8(t,r){return parseDefault(t)}var __glob_4_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wifilight,namespace:namespace$5,deviceObjectType:deviceObjectType$5,parse:parse$8},Symbol.toStringTag,{value:"Module"})),wolf="WOLF (ISM8i)";const namespace$4="wolf",deviceObjectType$4="channel";function parse$7(t,r){return parseDefault(t)}var __glob_4_23=Object.freeze(Object.defineProperty({__proto__:null,default:wolf,namespace:namespace$4,deviceObjectType:deviceObjectType$4,parse:parse$7},Symbol.toStringTag,{value:"Module"})),yeelight2="Yeelight 2";const namespace$3="yeelight-2",deviceObjectType$3="device";function parse$6(t,r){return parseDefault(t)}var __glob_4_24=Object.freeze(Object.defineProperty({__proto__:null,default:yeelight2,namespace:namespace$3,deviceObjectType:deviceObjectType$3,parse:parse$6},Symbol.toStringTag,{value:"Module"})),zigbee="Zigbee";const namespace$2="zigbee",deviceObjectType$2="device";function parse$5(t,r){return parseDefault(t)}var __glob_4_25=Object.freeze(Object.defineProperty({__proto__:null,default:zigbee,namespace:namespace$2,deviceObjectType:deviceObjectType$2,parse:parse$5},Symbol.toStringTag,{value:"Module"})),zigbee2mqtt="Zigbee2MQTT";const namespace$1="zigbee2mqtt",deviceObjectType$1="device";function parse$4(t,r){return parseDefault(t)}var __glob_4_26=Object.freeze(Object.defineProperty({__proto__:null,default:zigbee2mqtt,namespace:namespace$1,deviceObjectType:deviceObjectType$1,parse:parse$4},Symbol.toStringTag,{value:"Module"})),zwave2="Z-Wave 2";const namespace="zwave2",deviceObjectType="device",STATE_MAPPING={thermostat:{valve:{state:".Multilevel_Switch.currentValue",unit:"%",icon:"rotate-right"},mode:{state:".Thermostat_Mode.mode",action:".Thermostat_Mode.mode",icon:{0:"radiator-off",1:"radiator",11:"radiator-disabled",15:"radiator"}},setTemperatureEnergySave:{state:".Thermostat_Setpoint.setpoint_energySaveHeating",action:".Thermostat_Setpoint.setpoint_energySaveHeating",unit:"\xB0C",icon:"radiator-disabled"},temperature:{state:".Multilevel_Sensor.airTemperature"},setTemperature:{state:".Thermostat_Setpoint.setpoint_heating",action:".Thermostat_Setpoint.setpoint_heating"}}};function parse$3(t,r){return new Promise(o=>{const a=t.objects[t.root],u={name:a.common.name,function:"other",room:getRoom(t),states:{reachability:".alive",battery:".Battery.level",firmware:".Version.firmwareVersions"}};if(a.native.type&&a.native.type.generic&&STATE_MAPPING[a.native.type.generic.toLowerCase()]!==void 0){const d={thermostat:"heating"};u.function=d[a.native.type.generic.toLowerCase()],u.states={...u.states,..._default(STATE_MAPPING[a.native.type.generic.toLowerCase()])},u.states=validateStates(u.states,t),o(u)}else parseDefault(t,r,u).then(o)})}var __glob_4_27=Object.freeze(Object.defineProperty({__proto__:null,default:zwave2,namespace,deviceObjectType,parse:parse$3},Symbol.toStringTag,{value:"Module"}));const adapterList={"./adapters/alias.js":__glob_4_0,"./adapters/ble.js":__glob_4_1$1,"./adapters/daswetter.js":__glob_4_2$1,"./adapters/deconz.js":__glob_4_3$1,"./adapters/hm-rpc.js":__glob_4_4$1,"./adapters/hmip.js":__glob_4_5$1,"./adapters/hue-extended.js":__glob_4_6$1,"./adapters/hue.js":__glob_4_7$1,"./adapters/innogy-smarthome.js":__glob_4_8$1,"./adapters/knx.js":__glob_4_9$1,"./adapters/lifx.js":__glob_4_10$1,"./adapters/linkeddevices.js":__glob_4_11$1,"./adapters/mihome-vacuum.js":__glob_4_12$1,"./adapters/mihome.js":__glob_4_13$1,"./adapters/mqtt.js":__glob_4_14$1,"./adapters/nuki-extended.js":__glob_4_15$1,"./adapters/roborock.js":__glob_4_16$1,"./adapters/rpi2.js":__glob_4_17$1,"./adapters/shelly.js":__glob_4_18$1,"./adapters/sonoff.js":__glob_4_19$1,"./adapters/tr-064.js":__glob_4_20$1,"./adapters/unifi.js":__glob_4_21$1,"./adapters/wifilight.js":__glob_4_22$1,"./adapters/wolf.js":__glob_4_23,"./adapters/yeelight-2.js":__glob_4_24,"./adapters/zigbee.js":__glob_4_25,"./adapters/zigbee2mqtt.js":__glob_4_26,"./adapters/zwave2.js":__glob_4_27},adapters={};for(const t in adapterList)adapters[t.substr(t.lastIndexOf("/")+1).replace(".js","")]=adapterList[t];function detectFunction(t){try{t.function=_detectFunction([{label:t.name,points:5}].concat(Object.keys(t.states||{})),t)}catch(r){console.error(r)}return t}function _detectFunction(t,r){const o={};for(const a of Object.keys(Functions.Configurations)){const u=(i18n.global.t("keywords#"+a)+","+i18n.global.t("keywords#"+a,"de")+","+i18n.global.t("keywords#"+a,"en")).replace(/, /g,",").split(",");o[a]=0,t.forEach(d=>{d={label:d.label||d,points:d.points||3},d.label=d.label[locale]||d.label.en||d.label,d.label&&typeof d.label=="string"&&u.forEach((g,v)=>{g&&d.label.toLowerCase().indexOf(g.toLowerCase())!==-1&&(o[a]+=d.points+u.length-v)})}),o[a]===0&&delete o[a]}return Object.keys(o).length>0?Object.keys(sortObjectByValue(o)).pop():"other"}function detectStateElements(t,r){const o=typeof t!="string"?t:{state:t},a=r.objects[o.action||o.state];if(o.label=a&&a.common&&a.common.name||"",a&&a.common&&a.common.write!==!1){const u=a.common.role||"";o.action=o.action||o.state,o.actionElement||(u.indexOf("switch")>-1?o.actionElement="SwitchAction":u.indexOf("button")>-1?o.actionElement="IconButtonAction":a.common.states!==void 0&&a.common.states!==null?(o.actionElement="DropdownAction",o.display=a.common.states):a.common.type==="boolean"||a.common.min===!0||a.common.min===!1?o.actionElement="SwitchAction":o.actionElement="InputAction"),o.state&&(o.state.indexOf(".rgb")>-1||o.state.indexOf(".hex")>-1||o.state.indexOf(".hsv")>-1)?(o.bodyElement="LightColorBody",o.actionElement=""):o.state&&o.state.indexOf(".hue")>-1?(o.bodyElement="LightHueBody",o.actionElement=""):(o.state&&(o.state.indexOf(".level")>-1||o.state.indexOf(".bri")>-1||o.state.indexOf(".dimmer")>-1)||o.state&&(o.state.indexOf(".ct")>-1||o.state.indexOf(".colorTemp")>-1))&&(o.bodyElement="LevelBody",o.actionElement="")}return o}function getRoom(t){const r=useIoBroker();return r.roomList[t.root]!==void 0&&r.roomList[t.root].length>0?r.roomList[t.root][0]:""}const BLACKLIST=["r","g","b","w"];function parseDefault(t,r,o={}){const a=t.objects[t.root]||{};return o={name:a.common&&a.common.name||a._id||"Unknown Device Name",function:a.role||"other",room:getRoom(t),states:{},...o},new Promise(u=>{t.list.forEach(d=>{const g=d.substr(d.lastIndexOf(".")+1);BLACKLIST.indexOf(g)===-1&&(o.states[g]=detectStateElements(d,t))}),o.states!==null&&(o=detectFunction(o)),o.states=validateStates(o.states,t),u(o)})}function detectStates(t,r){return Object.keys(t).forEach(o=>{const a=Array.isArray(t[o])?t[o]:[t[o]];for(let u of a)if(u=u&&typeof u=="string"?{state:u}:u,u.state&&u.state.indexOf("{n}")!==-1){let d=1;for(;r.list.includes(r.root+""+u.state.replace(/{n}/g,d));)t[o.replace(/{n}/g,d)]={...u,state:u.state.replace(/{n}/g,d),action:u.action&&u.action.replace(/{n}/g,d)},t[o.replace(/{n}/g,d)].action===void 0&&delete t[o.replace(/{n}/g,d)].action,d++}}),t}function validateStates(t,r){return Object.keys(t).forEach(o=>{const a=Array.isArray(t[o])?t[o]:[t[o]];for(let u of a){u=typeof u=="string"?{state:u}:u;const d=u.state&&u.state.replace(r.root,""),g=u.action&&u.action.replace(r.root,"");if(d&&r.list.indexOf(r.root+d)>-1||g&&r.list.indexOf(r.root+g)>-1){d&&r.list.indexOf(r.root+d)>-1&&(u.state=r.root+d),g&&r.list.indexOf(r.root+g)>-1&&(u.action=r.root+g),t[o]=detectStateElements(u,r);break}else delete t[o]}}),Object.keys(t).length===0?{}:t}var BlindLevelAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1l=defineComponent({name:"BlindLevelAction",props:{componentId:{type:String,default:"BlindLevelAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],data(){return{stateVal:null,loaded:!1,error:!1}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$7),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},deviceProperties(){const{min:t,max:r,stop:o}={min:0,max:100,active:!0,stop:!0,...this.state&&this.state.properties||{}};return{up:r,down:t,stop:o}},showStopButton(){return this.componentOptions.stopAction&&this.device&&this.device.states&&this.device.states[this.componentOptions.stopAction]&&(this.device.states[this.componentOptions.stopAction].state||this.device.states[this.componentOptions.stopAction].action)}},watch:{componentOptions:{immediate:!0,deep:!0,handler:function(t){this.device&&this.device.id!=="group"?t.activityState&&t.activityState!==this.stateKey&&(this.subscriptionKeys=Devices.listen(this.device.id,t.activityState,this.gotActivityState)):this.device||(this.error="BlindLevelAction: "+this.$i18n.global.t("Device {deviceId} not found").replace("{deviceId}",this.device.id),console.warn(this.error),this.loaded=!0)}}},beforeUnmount(){this.subscriptionKeys&&Devices.unlisten(this.subscriptionKeys)},methods:{gotActivityState(t,r,o,a){if(this.loaded=!0,t||!a||!a.id&&!a.state){console.warn("BlindLevelAction","Incorrect State given",a,t),this.error=t&&t.message||"Incorrect State given";return}this.stateVal=a[this.componentOptions.val];try{const u=a.id||a.state,d=u.substr(0,u.indexOf("."));if(this.componentOptions.active!==void 0)this.stateVal=this.stateVal==this.componentOptions.active;else if(d!=="0_userdata"&&adapters[d]){const v=adapters[d].BlindLevelActivity;this.stateVal=v&&v[a.val]!==void 0?v[a.val]:a[this.componentOptions.val]}}catch(u){console.debug("BlindLevelAction",u.message,u)}},up(){this.$emit("setDevice",this.device.id,this.stateKey,this.deviceProperties.up,this.componentOptions.ack)},stop(){this.$emit("setDevice",this.device.id,this.componentOptions.stopAction,this.deviceProperties.stop,this.componentOptions.ack)},down(){this.$emit("setDevice",this.device.id,this.stateKey,this.deviceProperties.down,this.componentOptions.ack)}}}),OPTIONS$7={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},activityState:{label:i18n.global.t("config#componentOptions#BlindLevelAction#activityState#label"),info:i18n.global.t("config#componentOptions#BlindLevelAction#activityState#info"),type:"Select",options:t=>Object.keys(t.device&&t.device.states||{}).filter(r=>r!==t.stateKey).map(r=>({value:r,label:r})),value:"activity"},stopAction:{label:i18n.global.t("config#componentOptions#BlindLevelAction#stopAction#label"),info:i18n.global.t("config#componentOptions#BlindLevelAction#stopAction#info"),type:"Select",options:t=>Object.keys(t.device&&t.device.states||{}).filter(r=>r!==t.stateKey).map(r=>({value:r,label:r})),value:"stop"}};function _sfc_render$1l(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{key:t.device.revision,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QBtnGroup,{outline:"",class:"BlindLevelAction q-pl-sm"},{default:withCtx(()=>[createVNode$1(QBtn,{size:"sm",outline:"",color:"primary",icon:"mdi-chevron-up",onClick:t.up},null,8,["onClick"]),t.showStopButton?(openBlock(),createBlock(QBtn,{key:0,size:"sm",outline:"",color:t.stateVal!==!0?"grey":"negative",disabled:t.stateVal===!1,icon:"mdi-stop",onClick:t.stop},null,8,["color","disabled","onClick"])):createCommentVNode("",!0),createVNode$1(QBtn,{size:"sm",outline:"",color:"primary",icon:"mdi-chevron-down",onClick:t.down},null,8,["onClick"])]),_:1})])}var BlindLevelAction=_export_sfc$1(_sfc_main$1l,[["render",_sfc_render$1l]]),components$p={_options:{BlindLevelAction:OPTIONS$7},body:{},action:{BlindLevelAction}},__glob_4_1=Object.freeze(Object.defineProperty({__proto__:null,default:components$p},Symbol.toStringTag,{value:"Module"})),components$o={_options:{},body:{},action:{}},__glob_4_2=Object.freeze(Object.defineProperty({__proto__:null,default:components$o},Symbol.toStringTag,{value:"Module"})),components$n={_options:{},body:{},action:{}},__glob_4_3=Object.freeze(Object.defineProperty({__proto__:null,default:components$n},Symbol.toStringTag,{value:"Module"})),components$m={_options:{},body:{},action:{}},__glob_4_4=Object.freeze(Object.defineProperty({__proto__:null,default:components$m},Symbol.toStringTag,{value:"Module"})),components$l={_options:{},body:{},action:{}},__glob_4_5=Object.freeze(Object.defineProperty({__proto__:null,default:components$l},Symbol.toStringTag,{value:"Module"}));function getIndicatorClass(t,r,o){const a=o===!0?["left","right"]:["top","bottom"];return`absolute-${r===!0?a[0]:a[1]}${t?` text-${t}`:""}`}const alignValues$1=["left","center","right","justify"];var QTabs=createComponent({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:t=>alignValues$1.includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,{registerTick:d}=useTick(),{registerTick:g}=useTick(),{registerTick:v}=useTick(),{registerTimeout:y,removeTimeout:A}=useTimeout(),{registerTimeout:b,removeTimeout:_}=useTimeout(),w=ref(null),S=ref(null),C=ref(t.modelValue),T=ref(!1),I=ref(!0),E=ref(!1),F=ref(!1),O=[],D=ref(0),x=ref(!1);let P=null,G=null,M;const N=computed(()=>({activeClass:t.activeClass,activeColor:t.activeColor,activeBgColor:t.activeBgColor,indicatorClass:getIndicatorClass(t.indicatorColor,t.switchIndicator,t.vertical),narrowIndicator:t.narrowIndicator,inlineLabel:t.inlineLabel,noCaps:t.noCaps})),V=computed(()=>{const oe=D.value,me=C.value;for(let Se=0;Se`q-tabs__content--align-${T.value===!0?"left":F.value===!0?"justify":t.align}`),H=computed(()=>`q-tabs row no-wrap items-center q-tabs--${T.value===!0?"":"not-"}scrollable q-tabs--${t.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${t.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${t.mobileArrows===!0?"":"out"}-arrows`+(t.dense===!0?" q-tabs--dense":"")+(t.shrink===!0?" col-shrink":"")+(t.stretch===!0?" self-stretch":"")),B=computed(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+Y.value+(t.contentClass!==void 0?` ${t.contentClass}`:"")),z=computed(()=>t.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),U=computed(()=>t.vertical!==!0&&u.lang.rtl===!0),Q=computed(()=>rtlHasScrollBug===!1&&U.value===!0);watch(U,se),watch(()=>t.modelValue,oe=>{X({name:oe,setCurrent:!0,skipEmit:!0})}),watch(()=>t.outsideArrows,J);function X({name:oe,setCurrent:me,skipEmit:Se}){C.value!==oe&&(Se!==!0&&t["onUpdate:modelValue"]!==void 0&&o("update:modelValue",oe),(me===!0||t["onUpdate:modelValue"]===void 0)&&(te(C.value,oe),C.value=oe))}function J(){d(()=>{ne({width:w.value.offsetWidth,height:w.value.offsetHeight})})}function ne(oe){if(z.value===void 0||S.value===null)return;const me=oe[z.value.container],Se=Math.min(S.value[z.value.scroll],Array.prototype.reduce.call(S.value.children,(De,Pe)=>De+(Pe[z.value.content]||0),0)),xe=me>0&&Se>me;T.value=xe,xe===!0&&g(se),F.value=meDe.name.value===oe):null,xe=me!=null&&me!==""?O.find(De=>De.name.value===me):null;if(Se&&xe){const De=Se.tabIndicatorRef.value,Pe=xe.tabIndicatorRef.value;P!==null&&(clearTimeout(P),P=null),De.style.transition="none",De.style.transform="none",Pe.style.transition="none",Pe.style.transform="none";const Be=De.getBoundingClientRect(),ot=Pe.getBoundingClientRect();Pe.style.transform=t.vertical===!0?`translate3d(0,${Be.top-ot.top}px,0) scale3d(1,${ot.height?Be.height/ot.height:1},1)`:`translate3d(${Be.left-ot.left}px,0,0) scale3d(${ot.width?Be.width/ot.width:1},1,1)`,v(()=>{P=setTimeout(()=>{P=null,Pe.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",Pe.style.transform="none"},70)})}xe&&T.value===!0&&ce(xe.rootRef.value)}function ce(oe){const{left:me,width:Se,top:xe,height:De}=S.value.getBoundingClientRect(),Pe=oe.getBoundingClientRect();let Be=t.vertical===!0?Pe.top-xe:Pe.left-me;if(Be<0){S.value[t.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Be),se();return}Be+=t.vertical===!0?Pe.height-De:Pe.width-Se,Be>0&&(S.value[t.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Be),se())}function se(){const oe=S.value;if(oe===null)return;const me=oe.getBoundingClientRect(),Se=t.vertical===!0?oe.scrollTop:Math.abs(oe.scrollLeft);U.value===!0?(I.value=Math.ceil(Se+me.width)0):(I.value=Se>0,E.value=t.vertical===!0?Math.ceil(Se+me.height){ve(oe)===!0&&ee()},5)}function he(){ge(Q.value===!0?Number.MAX_SAFE_INTEGER:0)}function ye(){ge(Q.value===!0?0:Number.MAX_SAFE_INTEGER)}function ee(){G!==null&&(clearInterval(G),G=null)}function pe(oe,me){const Se=Array.prototype.filter.call(S.value.children,ot=>ot===me||ot.matches&&ot.matches(".q-tab.q-focusable")===!0),xe=Se.length;if(xe===0)return;if(oe===36)return ce(Se[0]),Se[0].focus(),!0;if(oe===35)return ce(Se[xe-1]),Se[xe-1].focus(),!0;const De=oe===(t.vertical===!0?38:37),Pe=oe===(t.vertical===!0?40:39),Be=De===!0?-1:Pe===!0?1:void 0;if(Be!==void 0){const ot=U.value===!0?-1:1,ct=Se.indexOf(me)+Be*ot;return ct>=0&&ctQ.value===!0?{get:oe=>Math.abs(oe.scrollLeft),set:(oe,me)=>{oe.scrollLeft=-me}}:t.vertical===!0?{get:oe=>oe.scrollTop,set:(oe,me)=>{oe.scrollTop=me}}:{get:oe=>oe.scrollLeft,set:(oe,me)=>{oe.scrollLeft=me}});function ve(oe){const me=S.value,{get:Se,set:xe}=ae.value;let De=!1,Pe=Se(me);const Be=oe=oe)&&(De=!0,Pe=oe),xe(me,Pe),se(),De}function we(oe,me){for(const Se in oe)if(oe[Se]!==me[Se])return!1;return!0}function _e(){let oe=null,me={matchedLen:0,queryDiff:9999,hrefLen:0};const Se=O.filter(Be=>Be.routeData!==void 0&&Be.routeData.hasRouterLink.value===!0),{hash:xe,query:De}=a.$route,Pe=Object.keys(De).length;for(const Be of Se){const ot=Be.routeData.exact.value===!0;if(Be.routeData[ot===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;const{hash:ct,query:_t,matched:He,href:Ve}=Be.routeData.resolvedLink.value,ke=Object.keys(_t).length;if(ot===!0){if(ct!==xe||ke!==Pe||we(De,_t)===!1)continue;oe=Be.name.value;break}if(ct!==""&&ct!==xe||ke!==0&&we(_t,De)===!1)continue;const Qe={matchedLen:He.length,queryDiff:Pe-ke,hrefLen:Ve.length-ct.length};if(Qe.matchedLen>me.matchedLen){oe=Be.name.value,me=Qe;continue}else if(Qe.matchedLen!==me.matchedLen)continue;if(Qe.queryDiffme.hrefLen&&(oe=Be.name.value,me=Qe)}oe===null&&O.some(Be=>Be.routeData===void 0&&Be.name.value===C.value)===!0||X({name:oe,setCurrent:!0})}function Te(oe){if(A(),x.value!==!0&&w.value!==null&&oe.target&&typeof oe.target.closest=="function"){const me=oe.target.closest(".q-tab");me&&w.value.contains(me)===!0&&(x.value=!0,T.value===!0&&ce(me))}}function Ce(){y(()=>{x.value=!1},30)}function Ae(){ue.avoidRouteWatcher===!1?b(_e):_()}function Ee(){if(M===void 0){const oe=watch(()=>a.$route.fullPath,Ae);M=()=>{oe(),M=void 0}}}function le(oe){O.push(oe),D.value++,J(),oe.routeData===void 0||a.$route===void 0?b(()=>{if(T.value===!0){const me=C.value,Se=me!=null&&me!==""?O.find(xe=>xe.name.value===me):null;Se&&ce(Se.rootRef.value)}}):(Ee(),oe.routeData.hasRouterLink.value===!0&&Ae())}function re(oe){O.splice(O.indexOf(oe),1),D.value--,J(),M!==void 0&&oe.routeData!==void 0&&(O.every(me=>me.routeData===void 0)===!0&&M(),Ae())}const ue={currentModel:C,tabProps:N,hasFocus:x,hasActiveTab:V,registerTab:le,unregisterTab:re,verifyRouteModel:Ae,updateModel:X,onKbdNavigate:pe,avoidRouteWatcher:!1};provide(tabsKey,ue);function be(){P!==null&&clearTimeout(P),ee(),M!==void 0&&M()}let ie;return onBeforeUnmount(be),onDeactivated(()=>{ie=M!==void 0,be()}),onActivated(()=>{ie===!0&&Ee(),J()}),()=>h("div",{ref:w,class:H.value,role:"tablist",onFocusin:Te,onFocusout:Ce},[h(QResizeObserver,{onResize:ne}),h("div",{ref:S,class:B.value,onScroll:se},hSlot(r.default)),h(QIcon,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(I.value===!0?"":" q-tabs__arrow--faded"),name:t.leftIcon||u.iconSet.tabs[t.vertical===!0?"up":"left"],onMousedownPassive:he,onTouchstartPassive:he,onMouseupPassive:ee,onMouseleavePassive:ee,onTouchendPassive:ee}),h(QIcon,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(E.value===!0?"":" q-tabs__arrow--faded"),name:t.rightIcon||u.iconSet.tabs[t.vertical===!0?"down":"right"],onMousedownPassive:ye,onTouchstartPassive:ye,onMouseupPassive:ee,onMouseleavePassive:ee,onTouchendPassive:ee})])}});let id$1=0;const useTabEmits=["click","keydown"],useTabProps={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${id$1++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function useTab(t,r,o,a){const u=inject(tabsKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QTab/QRouteTab component needs to be child of QTabs"),emptyRenderFn;const{proxy:d}=getCurrentInstance(),g=ref(null),v=ref(null),y=ref(null),A=computed(()=>t.disable===!0||t.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},t.ripple===!0?{}:t.ripple)),b=computed(()=>u.currentModel.value===t.name),_=computed(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(b.value===!0?" q-tab--active"+(u.tabProps.value.activeClass?" "+u.tabProps.value.activeClass:"")+(u.tabProps.value.activeColor?` text-${u.tabProps.value.activeColor}`:"")+(u.tabProps.value.activeBgColor?` bg-${u.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(t.icon&&t.label&&u.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(t.noCaps===!0||u.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(t.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(a!==void 0?a.linkClass.value:"")),w=computed(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(u.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(t.contentClass!==void 0?` ${t.contentClass}`:"")),S=computed(()=>t.disable===!0||u.hasFocus.value===!0||b.value===!1&&u.hasActiveTab.value===!0?-1:t.tabindex||0);function C(O,D){if(D!==!0&&g.value!==null&&g.value.focus(),t.disable===!0){a!==void 0&&a.hasRouterLink.value===!0&&stopAndPrevent$1(O);return}if(a===void 0){u.updateModel({name:t.name}),o("click",O);return}if(a.hasRouterLink.value===!0){const x=(P={})=>{let G;const M=P.to===void 0||isDeepEqual(P.to,t.to)===!0?u.avoidRouteWatcher=uid$3():null;return a.navigateToRouterLink(O,{...P,returnRouterError:!0}).catch(N=>{G=N}).then(N=>{if(M===u.avoidRouteWatcher&&(u.avoidRouteWatcher=!1,G===void 0&&(N===void 0||N.message!==void 0&&N.message.startsWith("Avoided redundant navigation")===!0)&&u.updateModel({name:t.name})),P.returnRouterError===!0)return G!==void 0?Promise.reject(G):N})};o("click",O,x),O.defaultPrevented!==!0&&x();return}o("click",O)}function T(O){isKeyCode(O,[13,32])?C(O,!0):shouldIgnoreKey(O)!==!0&&O.keyCode>=35&&O.keyCode<=40&&O.altKey!==!0&&O.metaKey!==!0&&u.onKbdNavigate(O.keyCode,d.$el)===!0&&stopAndPrevent$1(O),o("keydown",O)}function I(){const O=u.tabProps.value.narrowIndicator,D=[],x=h("div",{ref:y,class:["q-tab__indicator",u.tabProps.value.indicatorClass]});t.icon!==void 0&&D.push(h(QIcon,{class:"q-tab__icon",name:t.icon})),t.label!==void 0&&D.push(h("div",{class:"q-tab__label"},t.label)),t.alert!==!1&&D.push(t.alertIcon!==void 0?h(QIcon,{class:"q-tab__alert-icon",color:t.alert!==!0?t.alert:void 0,name:t.alertIcon}):h("div",{class:"q-tab__alert"+(t.alert!==!0?` text-${t.alert}`:"")})),O===!0&&D.push(x);const P=[h("div",{class:"q-focus-helper",tabindex:-1,ref:g}),h("div",{class:w.value},hMergeSlot(r.default,D))];return O===!1&&P.push(x),P}const E={name:computed(()=>t.name),rootRef:v,tabIndicatorRef:y,routeData:a};onBeforeUnmount(()=>{u.unregisterTab(E)}),onMounted(()=>{u.registerTab(E)});function F(O,D){const x={ref:v,class:_.value,tabindex:S.value,role:"tab","aria-selected":b.value===!0?"true":"false","aria-disabled":t.disable===!0?"true":void 0,onClick:C,onKeydown:T,...D};return withDirectives(h(O,x,I()),[[Ripple,A.value]])}return{renderTab:F,$tabs:u}}var QTab=createComponent({name:"QTab",props:useTabProps,emits:useTabEmits,setup(t,{slots:r,emit:o}){const{renderTab:a}=useTab(t,r,o);return()=>a("div")}});function parseArg(t){const r=[.06,6,50];return typeof t=="string"&&t.length&&t.split(":").forEach((o,a)=>{const u=parseFloat(o);u&&(r[a]=u)}),r}var TouchSwipe=createDirective({name:"touch-swipe",beforeMount(t,{value:r,arg:o,modifiers:a}){if(a.mouse!==!0&&client.has.touch!==!0)return;const u=a.mouseCapture===!0?"Capture":"",d={handler:r,sensitivity:parseArg(o),direction:getModifierDirections(a),noop:noop$6,mouseStart(g){shouldStart(g,d)&&leftClick(g)&&(addEvt(d,"temp",[[document,"mousemove","move",`notPassive${u}`],[document,"mouseup","end","notPassiveCapture"]]),d.start(g,!0))},touchStart(g){if(shouldStart(g,d)){const v=g.target;addEvt(d,"temp",[[v,"touchmove","move","notPassiveCapture"],[v,"touchcancel","end","notPassiveCapture"],[v,"touchend","end","notPassiveCapture"]]),d.start(g)}},start(g,v){client.is.firefox===!0&&preventDraggable(t,!0);const y=position$1(g);d.event={x:y.left,y:y.top,time:Date.now(),mouse:v===!0,dir:!1}},move(g){if(d.event===void 0)return;if(d.event.dir!==!1){stopAndPrevent$1(g);return}const v=Date.now()-d.event.time;if(v===0)return;const y=position$1(g),A=y.left-d.event.x,b=Math.abs(A),_=y.top-d.event.y,w=Math.abs(_);if(d.event.mouse!==!0){if(bd.sensitivity[0]&&(d.event.dir=_<0?"up":"down"),d.direction.horizontal===!0&&b>w&&w<100&&S>d.sensitivity[0]&&(d.event.dir=A<0?"left":"right"),d.direction.up===!0&&bd.sensitivity[0]&&(d.event.dir="up"),d.direction.down===!0&&b0&&b<100&&C>d.sensitivity[0]&&(d.event.dir="down"),d.direction.left===!0&&b>w&&A<0&&w<100&&S>d.sensitivity[0]&&(d.event.dir="left"),d.direction.right===!0&&b>w&&A>0&&w<100&&S>d.sensitivity[0]&&(d.event.dir="right"),d.event.dir!==!1?(stopAndPrevent$1(g),d.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),clearSelection(),d.styleCleanup=T=>{d.styleCleanup=void 0,document.body.classList.remove("non-selectable");const I=()=>{document.body.classList.remove("no-pointer-events--children")};T===!0?setTimeout(I,50):I()}),d.handler({evt:g,touch:d.event.mouse!==!0,mouse:d.event.mouse,direction:d.event.dir,duration:v,distance:{x:b,y:w}})):d.end(g)},end(g){d.event!==void 0&&(cleanEvt(d,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),d.styleCleanup!==void 0&&d.styleCleanup(!0),g!==void 0&&d.event.dir!==!1&&stopAndPrevent$1(g),d.event=void 0)}};if(t.__qtouchswipe=d,a.mouse===!0){const g=a.mouseCapture===!0||a.mousecapture===!0?"Capture":"";addEvt(d,"main",[[t,"mousedown","mouseStart",`passive${g}`]])}client.has.touch===!0&&addEvt(d,"main",[[t,"touchstart","touchStart",`passive${a.capture===!0?"Capture":""}`],[t,"touchmove","noop","notPassiveCapture"]])},updated(t,r){const o=t.__qtouchswipe;o!==void 0&&(r.oldValue!==r.value&&(typeof r.value!="function"&&o.end(),o.handler=r.value),o.direction=getModifierDirections(r.modifiers))},beforeUnmount(t){const r=t.__qtouchswipe;r!==void 0&&(cleanEvt(r,"main"),cleanEvt(r,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),r.styleCleanup!==void 0&&r.styleCleanup(),delete t.__qtouchswipe)}});const usePanelChildProps={name:{required:!0},disable:Boolean},PanelWrapper={setup(t,{slots:r}){return()=>h("div",{class:"q-panel scroll",role:"tabpanel"},hSlot(r.default))}},usePanelProps={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},usePanelEmits=["update:modelValue","beforeTransition","transition"];function usePanel(){const{props:t,emit:r,proxy:o}=getCurrentInstance(),{getCache:a}=useRenderCache();let u,d;const g=ref(null),v=ref(null);function y(B){const z=t.vertical===!0?"up":"left";G((o.$q.lang.rtl===!0?-1:1)*(B.direction===z?1:-1))}const A=computed(()=>[[TouchSwipe,y,void 0,{horizontal:t.vertical!==!0,vertical:t.vertical,mouse:!0}]]),b=computed(()=>t.transitionPrev||`slide-${t.vertical===!0?"down":"right"}`),_=computed(()=>t.transitionNext||`slide-${t.vertical===!0?"up":"left"}`),w=computed(()=>`--q-transition-duration: ${t.transitionDuration}ms`),S=computed(()=>typeof t.modelValue=="string"||typeof t.modelValue=="number"?t.modelValue:String(t.modelValue)),C=computed(()=>({include:t.keepAliveInclude,exclude:t.keepAliveExclude,max:t.keepAliveMax})),T=computed(()=>t.keepAliveInclude!==void 0||t.keepAliveExclude!==void 0);watch(()=>t.modelValue,(B,z)=>{const U=O(B)===!0?D(B):-1;d!==!0&&P(U===-1?0:U{r("transition",B,z)}))});function I(){G(1)}function E(){G(-1)}function F(B){r("update:modelValue",B)}function O(B){return B!=null&&B!==""}function D(B){return u.findIndex(z=>z.props.name===B&&z.props.disable!==""&&z.props.disable!==!0)}function x(){return u.filter(B=>B.props.disable!==""&&B.props.disable!==!0)}function P(B){const z=B!==0&&t.animated===!0&&g.value!==-1?"q-transition--"+(B===-1?b.value:_.value):null;v.value!==z&&(v.value=z)}function G(B,z=g.value){let U=z+B;for(;U!==-1&&U{d=!1});return}U+=B}t.infinite===!0&&u.length!==0&&z!==-1&&z!==u.length&&G(B,B===-1?u.length:-1)}function M(){const B=D(t.modelValue);return g.value!==B&&(g.value=B),!0}function N(){const B=O(t.modelValue)===!0&&M()&&u[g.value];return t.keepAlive===!0?[h(KeepAlive,C.value,[h(T.value===!0?a(S.value,()=>({...PanelWrapper,name:S.value})):PanelWrapper,{key:S.value,style:w.value},()=>B)])]:[h("div",{class:"q-panel scroll",style:w.value,key:S.value,role:"tabpanel"},[B])]}function V(){if(u.length!==0)return t.animated===!0?[h(Transition,{name:v.value},N)]:N()}function Y(B){return u=getNormalizedVNodes(hSlot(B.default,[])).filter(z=>z.props!==null&&z.props.slot===void 0&&O(z.props.name)===!0),u.length}function H(){return u}return Object.assign(o,{next:I,previous:E,goTo:F}),{panelIndex:g,panelDirectives:A,updatePanelsList:Y,updatePanelIndex:M,getPanelContent:V,getEnabledPanels:x,getPanels:H,isValidPanelName:O,keepAliveProps:C,needsUniqueKeepAliveWrapper:T,goToPanelByOffset:G,goToPanel:F,nextPanel:I,previousPanel:E}}var QTabPanels=createComponent({name:"QTabPanels",props:{...usePanelProps,...useDarkProps},emits:usePanelEmits,setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),{updatePanelsList:u,getPanelContent:d,panelDirectives:g}=usePanel(),v=computed(()=>"q-tab-panels q-panel-parent"+(a.value===!0?" q-tab-panels--dark q-dark":""));return()=>(u(r),hDir("div",{class:v.value},d(),"pan",t.swipeable,()=>g.value))}}),QTabPanel=createComponent({name:"QTabPanel",props:usePanelChildProps,setup(t,{slots:r}){return()=>h("div",{class:"q-tab-panel",role:"tabpanel"},hSlot(r.default))}});const reRGBA=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function rgbToHex$1({r:t,g:r,b:o,a}){const u=a!==void 0;if(t=Math.round(t),r=Math.round(r),o=Math.round(o),t>255||r>255||o>255||u&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=u?(Math.round(255*a/100)|1<<8).toString(16).slice(1):"","#"+(o|r<<8|t<<16|1<<24).toString(16).slice(1)+a}function rgbToString({r:t,g:r,b:o,a}){return`rgb${a!==void 0?"a":""}(${t},${r},${o}${a!==void 0?","+a/100:""})`}function hexToRgb$1(t){if(typeof t!="string")throw new TypeError("Expected a string");t=t.replace(/^#/,""),t.length===3?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t.length===4&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);const r=parseInt(t,16);return t.length>6?{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:Math.round((r&255)/2.55)}:{r:r>>16,g:r>>8&255,b:r&255}}function hsvToRgb$1({h:t,s:r,v:o,a}){let u,d,g;r=r/100,o=o/100,t=t/360;const v=Math.floor(t*6),y=t*6-v,A=o*(1-r),b=o*(1-y*r),_=o*(1-(1-y)*r);switch(v%6){case 0:u=o,d=_,g=A;break;case 1:u=b,d=o,g=A;break;case 2:u=A,d=o,g=_;break;case 3:u=A,d=b,g=o;break;case 4:u=_,d=A,g=o;break;case 5:u=o,d=A,g=b;break}return{r:Math.round(u*255),g:Math.round(d*255),b:Math.round(g*255),a}}function rgbToHsv$1({r:t,g:r,b:o,a}){const u=Math.max(t,r,o),d=Math.min(t,r,o),g=u-d,v=u===0?0:g/u,y=u/255;let A;switch(u){case d:A=0;break;case t:A=r-o+g*(r1)throw new TypeError("Expected offset to be between -1 and 1");const{r:o,g:a,b:u,a:d}=textToRgb$1(t),g=d!==void 0?d/100:0;return rgbToHex$1({r:o,g:a,b:u,a:Math.round(Math.min(1,Math.max(0,g+r))*100)})}function getPaletteColor$1(t){if(typeof t!="string")throw new TypeError("Expected a string as color");const r=document.createElement("div");r.className=`text-${t} invisible fixed no-pointer-events`,document.body.appendChild(r);const o=getComputedStyle(r).getPropertyValue("color");return r.remove(),rgbToHex$1(textToRgb$1(o))}var colors={rgbToHex:rgbToHex$1,hexToRgb:hexToRgb$1,hsvToRgb:hsvToRgb$1,rgbToHsv:rgbToHsv$1,textToRgb:textToRgb$1,lighten,luminosity,brightness,blend,changeAlpha:changeAlpha$1,getPaletteColor:getPaletteColor$1};const palette=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],thumbPath="M5 5 h10 v10 h-10 v-10 z",alphaTrackImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==";var QColor=createComponent({name:"QColor",props:{...useDarkProps,...useFormProps,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:t=>["spectrum","tune","palette"].includes(t)},formatModel:{type:String,default:"auto",validator:t=>["auto","hex","rgb","hexa","rgba"].includes(t)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),{$q:a}=o,u=useDark(t,a),{getCache:d}=useRenderCache(),g=ref(null),v=ref(null),y=computed(()=>t.formatModel==="auto"?null:t.formatModel.indexOf("hex")!==-1),A=computed(()=>t.formatModel==="auto"?null:t.formatModel.indexOf("a")!==-1),b=ref(t.formatModel==="auto"?t.modelValue===void 0||t.modelValue===null||t.modelValue===""||t.modelValue.startsWith("#")?"hex":"rgb":t.formatModel.startsWith("hex")?"hex":"rgb"),_=ref(t.defaultView),w=ref(H(t.modelValue||t.defaultValue)),S=computed(()=>t.disable!==!0&&t.readonly!==!0),C=computed(()=>t.modelValue===void 0||t.modelValue===null||t.modelValue===""||t.modelValue.startsWith("#")),T=computed(()=>y.value!==null?y.value:C.value),I=computed(()=>({type:"hidden",name:t.name,value:w.value[T.value===!0?"hex":"rgb"]})),E=useFormInject(I),F=computed(()=>A.value!==null?A.value:w.value.a!==void 0),O=computed(()=>({backgroundColor:w.value.rgb||"#000"})),D=computed(()=>`q-color-picker__header-content q-color-picker__header-content--${(w.value.a!==void 0&&w.value.a<65?!0:luminosity(w.value)>.4)?"light":"dark"}`),x=computed(()=>({background:`hsl(${w.value.h},100%,50%)`})),P=computed(()=>({top:`${100-w.value.v}%`,[a.lang.rtl===!0?"right":"left"]:`${w.value.s}%`})),G=computed(()=>t.palette!==void 0&&t.palette.length!==0?t.palette:palette),M=computed(()=>"q-color-picker"+(t.bordered===!0?" q-color-picker--bordered":"")+(t.square===!0?" q-color-picker--square no-border-radius":"")+(t.flat===!0?" q-color-picker--flat no-shadow":"")+(t.disable===!0?" disabled":"")+(u.value===!0?" q-color-picker--dark q-dark":"")),N=computed(()=>t.disable===!0?{"aria-disabled":"true"}:{}),V=computed(()=>[[TouchPan,ne,void 0,{prevent:!0,stop:!0,mouse:!0}]]);watch(()=>t.modelValue,Te=>{const Ce=H(Te||t.defaultValue);Ce.hex!==w.value.hex&&(w.value=Ce)}),watch(()=>t.defaultValue,Te=>{if(!t.modelValue&&Te){const Ce=H(Te);Ce.hex!==w.value.hex&&(w.value=Ce)}});function Y(Te,Ce){w.value.hex=rgbToHex$1(Te),w.value.rgb=rgbToString(Te),w.value.r=Te.r,w.value.g=Te.g,w.value.b=Te.b,w.value.a=Te.a;const Ae=w.value[T.value===!0?"hex":"rgb"];r("update:modelValue",Ae),Ce===!0&&r("change",Ae)}function H(Te){const Ce=A.value!==void 0?A.value:t.formatModel==="auto"?null:t.formatModel.indexOf("a")!==-1;if(typeof Te!="string"||Te.length===0||testPattern.anyColor(Te.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:Ce===!0?100:void 0,hex:void 0,rgb:void 0};const Ae=textToRgb$1(Te);return Ce===!0&&Ae.a===void 0&&(Ae.a=100),Ae.hex=rgbToHex$1(Ae),Ae.rgb=rgbToString(Ae),Object.assign(Ae,rgbToHsv$1(Ae))}function B(Te,Ce,Ae){const Ee=g.value;if(Ee===null)return;const le=Ee.clientWidth,re=Ee.clientHeight,ue=Ee.getBoundingClientRect();let be=Math.min(le,Math.max(0,Te-ue.left));a.lang.rtl===!0&&(be=le-be);const ie=Math.min(re,Math.max(0,Ce-ue.top)),oe=Math.round(100*be/le),me=Math.round(100*Math.max(0,Math.min(1,-(ie/re)+1))),Se=hsvToRgb$1({h:w.value.h,s:oe,v:me,a:F.value===!0?w.value.a:void 0});w.value.s=oe,w.value.v=me,Y(Se,Ae)}function z(Te,Ce){const Ae=Math.round(Te),Ee=hsvToRgb$1({h:Ae,s:w.value.s,v:w.value.v,a:F.value===!0?w.value.a:void 0});w.value.h=Ae,Y(Ee,Ce)}function U(Te){z(Te,!0)}function Q(Te,Ce,Ae,Ee,le){if(Ee!==void 0&&stop$1(Ee),!/^[0-9]+$/.test(Te)){le===!0&&o.$forceUpdate();return}const re=Math.floor(Number(Te));if(re<0||re>Ae){le===!0&&o.$forceUpdate();return}const ue={r:Ce==="r"?re:w.value.r,g:Ce==="g"?re:w.value.g,b:Ce==="b"?re:w.value.b,a:F.value===!0?Ce==="a"?re:w.value.a:void 0};if(Ce!=="a"){const be=rgbToHsv$1(ue);w.value.h=be.h,w.value.s=be.s,w.value.v=be.v}if(Y(ue,le),Ee!==void 0&&le!==!0&&Ee.target.selectionEnd!==void 0){const be=Ee.target.selectionEnd;nextTick(()=>{Ee.target.setSelectionRange(be,be)})}}function X(Te,Ce){let Ae;const Ee=Te.target.value;if(stop$1(Te),b.value==="hex"){if(Ee.length!==(F.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(Ee))return!0;Ae=hexToRgb$1(Ee)}else{let re;if(Ee.endsWith(")"))if(F.value!==!0&&Ee.startsWith("rgb(")){if(re=Ee.substring(4,Ee.length-1).split(",").map(ue=>parseInt(ue,10)),re.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(Ee))return!0}else if(F.value===!0&&Ee.startsWith("rgba(")){if(re=Ee.substring(5,Ee.length-1).split(","),re.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(Ee))return!0;for(let be=0;be<3;be++){const ie=parseInt(re[be],10);if(ie<0||ie>255)return!0;re[be]=ie}const ue=parseFloat(re[3]);if(ue<0||ue>1)return!0;re[3]=ue}else return!0;else return!0;if(re[0]<0||re[0]>255||re[1]<0||re[1]>255||re[2]<0||re[2]>255||F.value===!0&&(re[3]<0||re[3]>1))return!0;Ae={r:re[0],g:re[1],b:re[2],a:F.value===!0?re[3]*100:void 0}}const le=rgbToHsv$1(Ae);if(w.value.h=le.h,w.value.s=le.s,w.value.v=le.v,Y(Ae,Ce),Ce!==!0){const re=Te.target.selectionEnd;nextTick(()=>{Te.target.setSelectionRange(re,re)})}}function J(Te){const Ce=H(Te),Ae={r:Ce.r,g:Ce.g,b:Ce.b,a:Ce.a};Ae.a===void 0&&(Ae.a=w.value.a),w.value.h=Ce.h,w.value.s=Ce.s,w.value.v=Ce.v,Y(Ae,!0)}function ne(Te){Te.isFinal?B(Te.position.left,Te.position.top,!0):te(Te)}const te=throttle$2(Te=>{B(Te.position.left,Te.position.top)},20);function ce(Te){B(Te.pageX-window.pageXOffset,Te.pageY-window.pageYOffset,!0)}function se(Te){B(Te.pageX-window.pageXOffset,Te.pageY-window.pageYOffset)}function ge(Te){v.value!==null&&(v.value.$el.style.opacity=Te?1:0)}function he(Te){b.value=Te}function ye(){const Te=[];return t.noHeaderTabs!==!0&&Te.push(h(QTabs,{class:"q-color-picker__header-tabs",modelValue:b.value,dense:!0,align:"justify","onUpdate:modelValue":he},()=>[h(QTab,{label:"HEX"+(F.value===!0?"A":""),name:"hex",ripple:!1}),h(QTab,{label:"RGB"+(F.value===!0?"A":""),name:"rgb",ripple:!1})])),Te.push(h("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[h("input",{class:"fit",value:w.value[b.value],...S.value!==!0?{readonly:!0}:{},...d("topIn",{onInput:Ce=>{ge(X(Ce)===!0)},onChange:stop$1,onBlur:Ce=>{X(Ce,!0)===!0&&o.$forceUpdate(),ge(!1)}})}),h(QIcon,{ref:v,class:"q-color-picker__error-icon absolute no-pointer-events",name:a.iconSet.type.negative})])),h("div",{class:"q-color-picker__header relative-position overflow-hidden"},[h("div",{class:"q-color-picker__header-bg absolute-full"}),h("div",{class:D.value,style:O.value},Te)])}function ee(){return h(QTabPanels,{modelValue:_.value,animated:!0},()=>[h(QTabPanel,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},ve),h(QTabPanel,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},we),h(QTabPanel,{class:"q-color-picker__palette-tab",name:"palette"},_e)])}function pe(Te){_.value=Te}function ae(){return h("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[h(QTabs,{class:"absolute-full",modelValue:_.value,dense:!0,align:"justify","onUpdate:modelValue":pe},()=>[h(QTab,{icon:a.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),h(QTab,{icon:a.iconSet.colorPicker.tune,name:"tune",ripple:!1}),h(QTab,{icon:a.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function ve(){const Te={ref:g,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(S.value!==!0?" readonly":""),style:x.value,...S.value===!0?{onClick:ce,onMousedown:se}:{}},Ce=[h("div",{style:{paddingBottom:"100%"}}),h("div",{class:"q-color-picker__spectrum-white absolute-full"}),h("div",{class:"q-color-picker__spectrum-black absolute-full"}),h("div",{class:"absolute",style:P.value},[w.value.hex!==void 0?h("div",{class:"q-color-picker__spectrum-circle"}):null])],Ae=[h(QSlider,{class:"q-color-picker__hue non-selectable",modelValue:w.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:S.value!==!0,thumbPath,"onUpdate:modelValue":z,onChange:U})];return F.value===!0&&Ae.push(h(QSlider,{class:"q-color-picker__alpha non-selectable",modelValue:w.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:alphaTrackImg,readonly:S.value!==!0,hideSelection:!0,thumbPath,...d("alphaSlide",{"onUpdate:modelValue":Ee=>Q(Ee,"a",100),onChange:Ee=>Q(Ee,"a",100,void 0,!0)})})),[hDir("div",Te,Ce,"spec",S.value,()=>V.value),h("div",{class:"q-color-picker__sliders"},Ae)]}function we(){return[h("div",{class:"row items-center no-wrap"},[h("div","R"),h(QSlider,{modelValue:w.value.r,min:0,max:255,color:"red",dark:u.value,readonly:S.value!==!0,...d("rSlide",{"onUpdate:modelValue":Te=>Q(Te,"r",255),onChange:Te=>Q(Te,"r",255,void 0,!0)})}),h("input",{value:w.value.r,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("rIn",{onInput:Te=>Q(Te.target.value,"r",255,Te),onBlur:Te=>Q(Te.target.value,"r",255,Te,!0)})})]),h("div",{class:"row items-center no-wrap"},[h("div","G"),h(QSlider,{modelValue:w.value.g,min:0,max:255,color:"green",dark:u.value,readonly:S.value!==!0,...d("gSlide",{"onUpdate:modelValue":Te=>Q(Te,"g",255),onChange:Te=>Q(Te,"g",255,void 0,!0)})}),h("input",{value:w.value.g,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("gIn",{onInput:Te=>Q(Te.target.value,"g",255,Te),onBlur:Te=>Q(Te.target.value,"g",255,Te,!0)})})]),h("div",{class:"row items-center no-wrap"},[h("div","B"),h(QSlider,{modelValue:w.value.b,min:0,max:255,color:"blue",readonly:S.value!==!0,dark:u.value,...d("bSlide",{"onUpdate:modelValue":Te=>Q(Te,"b",255),onChange:Te=>Q(Te,"b",255,void 0,!0)})}),h("input",{value:w.value.b,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("bIn",{onInput:Te=>Q(Te.target.value,"b",255,Te),onBlur:Te=>Q(Te.target.value,"b",255,Te,!0)})})]),F.value===!0?h("div",{class:"row items-center no-wrap"},[h("div","A"),h(QSlider,{modelValue:w.value.a,color:"grey",readonly:S.value!==!0,dark:u.value,...d("aSlide",{"onUpdate:modelValue":Te=>Q(Te,"a",100),onChange:Te=>Q(Te,"a",100,void 0,!0)})}),h("input",{value:w.value.a,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("aIn",{onInput:Te=>Q(Te.target.value,"a",100,Te),onBlur:Te=>Q(Te.target.value,"a",100,Te,!0)})})]):null]}function _e(){const Te=Ce=>h("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:Ce},...S.value===!0?d("palette#"+Ce,{onClick:()=>{J(Ce)}}):{}});return[h("div",{class:"row items-center q-color-picker__palette-rows"+(S.value===!0?" q-color-picker__palette-rows--editable":"")},G.value.map(Te))]}return()=>{const Te=[ee()];return t.name!==void 0&&t.disable!==!0&&E(Te,"push"),t.noHeader!==!0&&Te.unshift(ye()),t.noFooter!==!0&&Te.push(ae()),h("div",{class:M.value,...N.value},Te)}}});const{hsvToRgb,rgbToHex,hexToRgb,rgbToHsv}=colors;function detectColor(t,r=null){return t&&typeof t=="string"&&t.indexOf(",")===-1&&(t.length===6||t.length===7&&t.startsWith("#"))?t.startsWith("#")?"#hex":"hex":t&&typeof t=="string"&&t.indexOf(",")===-1&&(t.length===8||t.length===9&&t.startsWith("#"))?t.startsWith("#")?"#hexa":"hexa":t&&typeof t=="string"&&t.indexOf(",")===-1&&t.length<=3||typeof t=="number"&&t<=360?"hue":t&&typeof t=="object"&&(t.r&&t.g&&t.b||t.red&&t.green&&t.blue)?"rgb":(t&&!Array.isArray(t)&&typeof t=="string"&&(t=t.split(",")),t&&Array.isArray(t)&&t[0]>255?"hsv":t&&Array.isArray(t)&&t[0]>=0&&t[0]<=255&&t[1]>=0&&t[1]<=255&&t[2]>=0&&t[2]<=255?"rgb":null)}function convertColor(t,r){if(r=r||"hex",!t)return;const o=detectColor(t);let a=t?t.toString():null;if(o==="hue")a=rgbToHex(hsvToRgb({h:t,s:100,v:100}));else if(o==="rgb")if(typeof t=="object"&&(t.r&&t.g&&t.b||t.red&&t.green&&t.blue))a=rgbToHex({r:t.r||t.red,g:t.g||t.green,b:t.b||t.blue});else{const u=Array.isArray(t)?a:a.split(",");a=rgbToHex({r:u[0],g:u[1],b:u[2]})}else if(o==="hsv"){const u=Array.isArray(t)?a:a.split(",");a=rgbToHex(hsvToRgb({h:u[0],s:u[1],v:u[2]}))}if(a&&r==="hex")return a.replace("#","");if(a&&(r==="#hex"||r==="#hexa"))return"#"+a.replace("#","");if(a&&r==="hue")return parseFloat(rgbToHsv(hexToRgb(a)).h);if(a&&r==="hsv"){const u=rgbToHsv(hexToRgb(a));return[u.h,u.s,u.v].join(",")}else if(a&&(r==="rgb"||r==="rgb-hsv")){const u=hexToRgb(a);return[u.r,u.g,u.b].join(",")}else console.warn("Could not convert "+t+" to target "+r+"!")}var LightColorBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1k=defineComponent({name:"LightColorBody",props:{componentId:{type:String,default:"LightColorBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$6),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},stateVal(){return convertColor(this.state[this.componentOptions.val],"#hex")}},methods:{setColor(t){t=convertColor(t,this.colorMode),Devices.set(this.device.id,this.stateKey,t,this.componentOptions.ack)}}}),OPTIONS$6={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1}};function _sfc_render$1k(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},[createVNode$1(QColor,{modelValue:t.stateVal,"onUpdate:modelValue":r[0]||(r[0]=g=>t.stateVal=g),"no-header":"",class:"LightColorBody","format-model":"hex",onChange:t.setColor},null,8,["modelValue","onChange"]),renderSlot(t.$slots,"default")])}var LightColorBody$1=_export_sfc$1(_sfc_main$1k,[["render",_sfc_render$1k]]),LightColorBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$6,default:LightColorBody$1},Symbol.toStringTag,{value:"Module"})),LightHueBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1j=defineComponent({name:"LightHueBody",props:{componentId:{type:String,default:"LightHueBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$5),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},stateVal(){let t=this.state[this.componentOptions.val]||0;return t=this.colorMode!=="hue"?t:parseFloat(t/(this.componentOptions.max-this.componentOptions.min)*360+this.componentOptions.min),convertColor(t,"#hex")}},methods:{setColor(t){t=convertColor(t,this.colorMode),t=this.colorMode!=="hue"?t:parseFloat(t/360*(this.componentOptions.max-this.componentOptions.min)+this.componentOptions.min),this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions.ack)}}}),OPTIONS$5={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},min:{label:i18n.global.t("config#componentOptions#LightHueBody#min#label"),type:"Number",value:0},max:{label:i18n.global.t("config#componentOptions#LightHueBody#max#label"),type:"Number",value:360}};function _sfc_render$1j(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{margin:"-4px -4px -4px -16px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QColor,{"model-value":t.stateVal,"no-header":"","no-footer":"",class:"LightHueBody","default-value":"#ff0000",style:{"max-width":"inherit"},"format-model":"hex",onChange:t.setColor},null,8,["model-value","onChange"]),renderSlot(t.$slots,"default")])}var LightHueBody$1=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$1j]]),LightHueBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$5,default:LightHueBody$1},Symbol.toStringTag,{value:"Module"})),WhiteSliderBody_vue_vue_type_style_index_0_lang="";const LevelBody$1=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LevelBody$3}),void 0),suspensible:!1}),_sfc_main$1i=defineComponent({name:"WhiteSliderBody",components:{LevelBody:LevelBody$1},props:{componentId:{type:String,default:"WhiteSliderBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$4),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=(...u)=>r("setDevice",...u);return{dConfig:deepmerge({WhiteSliderBodyConfig:{[t.stateKey]:o}},t.deviceConfig),componentOptions:o,setDevice:a}}}),OPTIONS$4={...OPTIONS$k,markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:8},invert:{label:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#label"),info:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#info"),type:"Switch",value:!1}};function _sfc_render$1i(t,r,o,a,u,d){const g=resolveComponent("LevelBody");return openBlock(),createBlock(g,mergeProps({...t.$props,...t.$attrs},{"device-config":t.dConfig,class:["jarvis-white-slider",{invert:t.componentOptions.invert}],onSetDevice:t.setDevice}),null,16,["device-config","class","onSetDevice"])}var WhiteSliderBody=_export_sfc$1(_sfc_main$1i,[["render",_sfc_render$1i]]),SaturationSliderBody_vue_vue_type_style_index_0_lang="";const LevelBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LevelBody$3}),void 0),suspensible:!1}),_sfc_main$1h=defineComponent({name:"SaturationSliderBody",components:{LevelBody},props:{componentId:{type:String,default:"SaturationSliderBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$3),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=(...u)=>r("setDevice",...u);return{dConfig:deepmerge({SaturationSliderBodyConfig:{[t.stateKey]:o}},t.deviceConfig),componentOptions:o,setDevice:a}}}),OPTIONS$3={...OPTIONS$k,markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:8},invert:{label:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#label"),info:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#info"),type:"Switch",value:!1}};function _sfc_render$1h(t,r,o,a,u,d){const g=resolveComponent("LevelBody");return openBlock(),createBlock(g,mergeProps({...t.$props,...t.$attrs},{"device-config":t.dConfig,class:["jarvis-saturation-slider",{invert:t.componentOptions.invert}],onSetDevice:t.setDevice}),null,16,["device-config","class","onSetDevice"])}var SaturationSliderBody=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$1h]]);const LightColorBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LightColorBody$2}),void 0),suspensible:!1}),_sfc_main$1g=defineComponent({name:"LightColorAction",components:{LightColorBody},props:{componentId:{type:String,default:"LightColorAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["set"],setup(t){const r=deepmerge(Functions.getDefaults(OPTIONS$2),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),o=ref(t.state&&t.state[r.val]!==void 0?t.state[r.val]:"");return{color:o,onSet(a){o.value=a}}}}),OPTIONS$2={...OPTIONS$6},_hoisted_1$12={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$Q={style:{"padding-left":"16px"}};function _sfc_render$1g(t,r,o,a,u,d){const g=resolveComponent("LightColorBody");return openBlock(),createBlock(QBtn,{icon:"mdi-palette",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale",style:{width:"200px"},class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{onSet:t.onSet}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$12,[createBaseVNode("div",_hoisted_2$Q,toDisplayString$1(t.color),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["onSet"])]),_:1})]),_:1})}var LightColorAction=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$1g]]);const _sfc_main$1f=defineComponent({name:"LightColorState",components:{State:State$1},props:{componentId:{type:String,default:"LightColorState"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(){return{i18n:useI18n()}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$1),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},LightColorState(){const t=this.colorMode==="rgb"?this.isRGB(this.state[this.componentOptions.val]):this.colorMode==="hsv"?this.isHSV(this.state[this.componentOptions.val]):this.state[this.componentOptions.val],r=convertColor(t,"#hex");return{...this.device.states[this.stateKey]||{},stateStyle:this.componentOptions.useStateStyle?this.state.stateStyle:{color:r},val:t,value:t,unit:this.colorMode==="hue"?" \xB0":""}}},methods:{isRGB(t){const[r,o,a]=t&&typeof t=="string"?t.split(","):t&&Array.isArray(t)?t:["?","?","?"];return[this.i18n.t("Red")+": "+r,this.i18n.t("Green")+": "+o,this.i18n.t("Blue")+": "+a].join("
")},isHSV(t){const[r,o,a]=t&&typeof t=="string"?t.split(","):t&&Array.isArray(t)?t:["?","?","?"];return[this.i18n.t("Hue")+": "+r,this.i18n.t("Saturation")+": "+o,this.i18n.t("Brightness")+": "+a].join("
")}}}),OPTIONS$1={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},useStateStyle:{label:i18n.global.t("config#componentOptions#LightColorState#useStateStyle#label"),info:i18n.global.t("config#componentOptions#LightColorState#useStateStyle#info"),type:"Switch",value:!0},icon:{label:i18n.global.t("config#componentOptions#LightColorState#icon#label")},iconOnly:{label:i18n.global.t("config#componentOptions#LightColorState#iconOnly#label"),info:i18n.global.t("config#componentOptions#LightColorState#iconOnly#info"),type:"Switch",value:!1}};function _sfc_render$1f(t,r,o,a,u,d){const g=resolveComponent("State"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",{class:"row",style:normalizeStyle$1(t.LightColorState.stateStyle)},[t.componentOptions.iconOnly!==!0?(openBlock(),createBlock(g,{key:0,"component-id":"LightColorState",device:t.device,"device-config":t.deviceConfig,"state-key":t.stateKey,state:t.LightColorState},null,8,["device","device-config","state-key","state"])):createCommentVNode("",!0),t.componentOptions.icon?(openBlock(),createBlock(v,{key:1,name:t.componentOptions.icon,class:"q-ml-xs"},null,8,["name"])):createCommentVNode("",!0)],4)}var LightColorState=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$1f]]);const LightHueBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LightHueBody$2}),void 0),suspensible:!1}),_sfc_main$1e=defineComponent({name:"LightHueAction",components:{LightHueBody},props:{componentId:{type:String,default:"LightHueAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref(t.state&&t.state[o.val]!==void 0?t.state[o.val]:"");return watchEffect(()=>{a.value=t.state&&t.state[o.val]!==void 0?t.state[o.val]:""}),{color:a,setDevice(u,d,g,v){a.value=g,r("setDevice",u,d,g,v)}}}}),OPTIONS={...OPTIONS$5},_hoisted_1$11={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$P={style:{"padding-left":"16px"}};function _sfc_render$1e(t,r,o,a,u,d){const g=resolveComponent("LightHueBody");return openBlock(),createBlock(QBtn,{icon:"mdi-palette",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale",class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{style:{"min-width":"300px"},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$11,[createBaseVNode("div",_hoisted_2$P,toDisplayString$1(t.color),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["onSetDevice"])]),_:1})]),_:1})}var LightHueAction=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$1e]]),components$k={_options:{LightColorAction:OPTIONS$2,LightColorBody:OPTIONS$6,LightColorState:OPTIONS$1,LightHueAction:OPTIONS,LightHueBody:OPTIONS$5,SaturationSliderBody:OPTIONS$3,WhiteSliderBody:OPTIONS$4},body:{LightColorBody:LightColorBody$1,LightHueBody:LightHueBody$1,WhiteSliderBody,SaturationSliderBody},action:{LightColorAction,LightColorState,LightHueAction}},__glob_4_6=Object.freeze(Object.defineProperty({__proto__:null,default:components$k},Symbol.toStringTag,{value:"Module"})),components$j={_options:{},body:{},action:{}},__glob_4_7=Object.freeze(Object.defineProperty({__proto__:null,default:components$j},Symbol.toStringTag,{value:"Module"})),components$i={_options:{},body:{},action:{}},__glob_4_8=Object.freeze(Object.defineProperty({__proto__:null,default:components$i},Symbol.toStringTag,{value:"Module"})),components$h={_options:{},body:{},action:{}},__glob_4_9=Object.freeze(Object.defineProperty({__proto__:null,default:components$h},Symbol.toStringTag,{value:"Module"})),components$g={_options:{},body:{},action:{}},__glob_4_10=Object.freeze(Object.defineProperty({__proto__:null,default:components$g},Symbol.toStringTag,{value:"Module"})),components$f={_options:{},body:{},action:{}},__glob_4_11=Object.freeze(Object.defineProperty({__proto__:null,default:components$f},Symbol.toStringTag,{value:"Module"})),components$e={_options:{},body:{},action:{}},__glob_4_12=Object.freeze(Object.defineProperty({__proto__:null,default:components$e},Symbol.toStringTag,{value:"Module"})),components$d={_options:{},body:{},action:{}},__glob_4_13=Object.freeze(Object.defineProperty({__proto__:null,default:components$d},Symbol.toStringTag,{value:"Module"})),components$c={_options:{},body:{},action:{}},__glob_4_14=Object.freeze(Object.defineProperty({__proto__:null,default:components$c},Symbol.toStringTag,{value:"Module"})),components$b={_options:{},body:{},action:{}},__glob_4_15=Object.freeze(Object.defineProperty({__proto__:null,default:components$b},Symbol.toStringTag,{value:"Module"})),components$a={_options:{},body:{},action:{}},__glob_4_16=Object.freeze(Object.defineProperty({__proto__:null,default:components$a},Symbol.toStringTag,{value:"Module"})),components$9={_options:{},body:{},action:{}},__glob_4_17=Object.freeze(Object.defineProperty({__proto__:null,default:components$9},Symbol.toStringTag,{value:"Module"})),components$8={_options:{},body:{},action:{}},__glob_4_18=Object.freeze(Object.defineProperty({__proto__:null,default:components$8},Symbol.toStringTag,{value:"Module"})),components$7={_options:{},body:{},action:{}},__glob_4_19=Object.freeze(Object.defineProperty({__proto__:null,default:components$7},Symbol.toStringTag,{value:"Module"})),components$6={_options:{},body:{},action:{}},__glob_4_20=Object.freeze(Object.defineProperty({__proto__:null,default:components$6},Symbol.toStringTag,{value:"Module"})),components$5={_options:{},body:{},action:{}},__glob_4_21=Object.freeze(Object.defineProperty({__proto__:null,default:components$5},Symbol.toStringTag,{value:"Module"})),components$4={_options:{BlindLevelAction:OPTIONS$7},body:{},action:{BlindLevelAction}},__glob_4_22=Object.freeze(Object.defineProperty({__proto__:null,default:components$4},Symbol.toStringTag,{value:"Module"}));const icon$m="home-circle-outline",config$m={_any:{display:{false:"defaults#off",true:"defaults#on"},stateStyle:{true:{color:"#090",fontWeight:"bold"}}},battery:{unit:" %",icon:{">80":"battery-high","<=80":"battery-medium","<=30":"battery-low","<=10":"battery-outline blink","<=5":"battery-alert-variant-outline blink"},iconStyle:{"<=10":{color:"#900"}}},firmware:{display:{true:"defaults#firmware#true",false:"defaults#firmware#false"},icon:{true:"mdi-cog-refresh",false:"mdi-cog-outline"}},frost:{icon:{default:"mdi-snowflake"}},humidity:{unit:" %",icon:"water-percent"},illuminance:{unit:" lux"},level:{unit:" %"},lowbattery:{icon:{true:"battery-alert-variant-outline",false:"battery-high"},display:{true:"defaults#low",false:"defaults#full"},stateStyle:{true:{color:"#900",fontWeight:"bold"},false:{color:"#999"}}},position:{icon:"map-marker"},power:{icon:"power"},config:{icon:{default:"mdi-cog"}},connectivity:{icon:{default:"mdi-wifi-arrow-left-right"}},available:{icon:{true:"lan-connect",false:"lan-disconnect"},display:{true:"defaults#reachable",false:"defaults#notreachable"},stateStyle:{true:{color:"#090"},false:{color:"#900",fontWeight:"bold"}}},reachability:{icon:{true:"lan-connect",false:"lan-disconnect"},display:{true:"defaults#reachable",false:"defaults#notreachable"},stateStyle:{true:{color:"#090"},false:{color:"#900",fontWeight:"bold"}}},rssi:{icon:{default:"mdi-antenna"}},temperature:{unit:" \xB0C",icon:"thermometer"},trigger:{icon:"power"},unreach:{icon:{true:"lan-disconnect",false:"lan-connect"},display:{true:"defaults#notreachable",false:"defaults#reachable"},stateStyle:{true:{color:"#900",fontWeight:"bold"},false:{color:"#090"}}},wind:{unit:" km/h",icon:"weather-windy"}};var __glob_3_1=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$m,config:config$m},Symbol.toStringTag,{value:"Module"}));const icon$l="window-shutter",config$l={_any:{},level:{bodyElement:"LevelBody",actionElement:"BlindLevelAction",value:t=>typeof t=="number"?Math.round(t):t,unit:" %",icon:{default:"window-shutter-open",">90":"window-shutter-open","<=90":"window-shutter"}},level2:{ignore:!0,bodyElement:"LevelBody",actionElement:"BlindLevelAction",value:t=>typeof t=="number"?Math.round(t):t,unit:" %",icon:{default:"window-shutter-open",">90":"window-shutter-open","<=90":"window-shutter"}},activity:{bodyElement:null,actionElement:null,icon:{true:"pan-vertical",false:"dots-vertical"},display:{true:"blind#activity#true",false:"blind#activity#false"}},stop:{bodyElement:null,actionElement:"IconButtonAction",icon:{default:"mdi-stop-circle"}}};var __glob_3_2=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$l,config:config$l},Symbol.toStringTag,{value:"Module"}));const icon$k="door",config$k={_any:{},open:{bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"door-closed",true:"door-open"},display:{0:"door#open#closed",1:"door#open#opened",false:"door#open#closed",true:"door#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},opened:{bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"door-closed",true:"door-open"},display:{0:"door#open#closed",1:"door#open#opened",false:"door#open#closed",true:"door#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},lock:{bodyElement:null,actionElement:null}};var __glob_3_3=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$k,config:config$k},Symbol.toStringTag,{value:"Module"}));const icon$j="fan",config$j={_any:{},power:{bodyElement:null,actionElement:null,icon:{true:"fan",false:"fan-off"}}};var __glob_3_4=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$j,config:config$j},Symbol.toStringTag,{value:"Module"}));const icon$i="thermometer",config$i={_any:{},temperature:{bodyElement:null,actionElement:null,unit:" \xB0C",icon:"thermometer"},setTemperature:{bodyElement:"LevelBody",actionElement:null,properties:{min:0,max:35},unit:" \xB0C",icon:"thermometer-chevron-up"},humidity:{bodyElement:null,actionElement:null,unit:" %"},boost:{bodyElement:null,actionElement:"IconButtonAction",icon:"radiator"},boostTime:{bodyElement:null,actionElement:null,unit:"min.",icon:"clock-outline"},boostState:{},frost:{},windowState:{},partyMode:{},modeAuto:{bodyElement:null,actionElement:"IconButtonAction",icon:"brightness-auto"},modeManu:{},modeCurrent:{},modeLowering:{},modeControl:{icon:"list-status"},valve:{unit:"%",icon:"valve"},valvePosition:{},valveState:{}};var __glob_3_5=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$i,config:config$i},Symbol.toStringTag,{value:"Module"}));const icon$h="washing-machine",config$h={_any:{},power:{bodyElement:null,actionElement:"SwitchAction"},consumption:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}},meter:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}}};var __glob_3_6=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$h,config:config$h},Symbol.toStringTag,{value:"Module"}));const icon$g="lightbulb-on",config$g={_any:{},on:{ignore:!0,substitute:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},power:{bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},state:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},Relay0:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},Relay1:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},dimmer:{ignore:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},brightness:{ignore:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},level:{substitute:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},ct:{substitute:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},colortemp:{ignore:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},colortemperature:{ignore:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},hue:{bodyElement:"LightHueBody",actionElement:"LightColorState",icon:{default:"palette"},unit:" \xB0"},rgb:{bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}},hsv:{substitute:!0,bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}},hex:{bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}}};var __glob_3_7=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$g,config:config$g},Symbol.toStringTag,{value:"Module"}));const icon$f="map-marker",config$f={_any:{},position:{bodyElement:null,actionElement:null,icon:"map-marker"},presence:{bodyElement:null,actionElement:null,icon:{true:"map-marker-radius",false:"map-marker-remove-outline"},display:{true:"location#presence#true",false:"location#presence#false"}},users:{bodyElement:null,actionElement:null,icon:{"":"account-group-outline",default:"account-group"},display:{"":"location#users#empty"}}};var __glob_3_8=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$f,config:config$f},Symbol.toStringTag,{value:"Module"}));const icon$e="motion-sensor",config$e={_any:{},motion:{bodyElement:null,actionElement:null,icon:{true:"motion-sensor",false:"motion-sensor-off"}},presence:{bodyElement:null,actionElement:null,icon:{true:"motion-sensor",false:"motion-sensor-off"}}};var __glob_3_9=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$e,config:config$e},Symbol.toStringTag,{value:"Module"}));const icon$d="robot-mower",config$d={_any:{}};var __glob_3_10=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$d,config:config$d},Symbol.toStringTag,{value:"Module"}));const icon$c="auto-fix",config$c={};var __glob_3_11=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$c,config:config$c},Symbol.toStringTag,{value:"Module"}));const icon$b="mdi-thermometer",config$b={_any:{},temperature:{unit:" \xB0C",icon:"mdi-thermometer"},humidity:{unit:" %"},battery:{unit:" %",icon:{">80":"battery-high","<=80":"battery-medium","<=30":"battery-low","<=10":"battery-outline blink","<=5":"battery-alert-variant-outline blink"},iconStyle:{"<=10":{color:"#900"}}},illumination:{unit:" lux",icon:"mdi-brightness-7"},pressure:{unit:" hPa",icon:"mdi-air-purifier"}};var __glob_3_12=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$b,config:config$b},Symbol.toStringTag,{value:"Module"}));const icon$a="server-network",config$a={_any:{},power:{icon:{true:"server-network",false:"server-network-off"}}};var __glob_3_13=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$a,config:config$a},Symbol.toStringTag,{value:"Module"}));const icon$9="mdi-smoke-detector",config$9={_any:{},alarm:{bodyElement:null,actionElement:null,icon:{true:"mdi-alarm-light",false:"mdi-alarm-light-outline",0:"mdi-alarm-light-outline",1:"mdi-alarm-light",2:"mdi-alarm-light",3:"mdi-alarm-light"}}};var __glob_3_14=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$9,config:config$9},Symbol.toStringTag,{value:"Module"}));const icon$8="power-socket-eu",config$8={_any:{},power:{bodyElement:null,actionElement:"SwitchAction"},consumption:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}},meter:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}}};var __glob_3_15=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$8,config:config$8},Symbol.toStringTag,{value:"Module"}));const icon$7="speaker",config$7={_any:{}};var __glob_3_16=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$7,config:config$7},Symbol.toStringTag,{value:"Module"}));const icon$6="light-switch",config$6={power:{bodyElement:null,actionElement:"SwitchAction"}};var __glob_3_17=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$6,config:config$6},Symbol.toStringTag,{value:"Module"}));const icon$5="television",config$5={_any:{},power:{icon:{true:"television-clean",false:"television-off"}}};var __glob_3_18=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$5,config:config$5},Symbol.toStringTag,{value:"Module"}));const icon$4="account",config$4={_any:{},position:{icon:"map-marker"},location:{icon:"account"},battery:{}};var __glob_3_19=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$4,config:config$4},Symbol.toStringTag,{value:"Module"}));const icon$3="robot-vacuum",config$3={_any:{}};var __glob_3_20=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$3,config:config$3},Symbol.toStringTag,{value:"Module"}));const icon$2="weather-partly-snowy-rainy",config$2={_any:{},humidity:{},wind:{},temperature:{},rain:{icon:"mdi-weather-pouring"},illumination:{icon:"mdi-brightness-7"},sunshineduration:{icon:"mdi-weather-sunny"}};var __glob_3_21=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$2,config:config$2},Symbol.toStringTag,{value:"Module"}));const open={bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"window-closed-variant",true:"window-open-variant"},display:{0:"window#open#closed",1:"window#open#opened",2:"window#open#opened",false:"window#open#closed",true:"window#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},icon$1="window-closed-variant",config$1={_any:{},open,opened:{ignore:!0,...open},window:{ignore:!0,...open}};var __glob_3_22=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$1,config:config$1},Symbol.toStringTag,{value:"Module"}));const icon="window-closed",config={...config$1,...config$l};var __glob_3_23=Object.freeze(Object.defineProperty({__proto__:null,icon,config},Symbol.toStringTag,{value:"Module"}));const FunctionsList=["defaults","blind","door","fan","heating","household","light","location","motion","mower","scenes","sensor","server","smoke","socket","speaker","switch","tv","user","vacuum","weather-station","window","window-electrical"];class Functions{static get List(){return FunctionsList}static load(){if(Functions._loaded)return Promise.resolve();const r={"./_defaults/index.js":__glob_3_1,"./blind/index.js":__glob_3_2,"./door/index.js":__glob_3_3,"./fan/index.js":__glob_3_4,"./heating/index.js":__glob_3_5,"./household/index.js":__glob_3_6,"./light/index.js":__glob_3_7,"./location/index.js":__glob_3_8,"./motion/index.js":__glob_3_9,"./mower/index.js":__glob_3_10,"./scenes/index.js":__glob_3_11,"./sensor/index.js":__glob_3_12,"./server/index.js":__glob_3_13,"./smoke/index.js":__glob_3_14,"./socket/index.js":__glob_3_15,"./speaker/index.js":__glob_3_16,"./switch/index.js":__glob_3_17,"./tv/index.js":__glob_3_18,"./user/index.js":__glob_3_19,"./vacuum/index.js":__glob_3_20,"./weather-station/index.js":__glob_3_21,"./window/index.js":__glob_3_22,"./window-electrical/index.js":__glob_3_23},o={"./_defaults/components.js":__glob_4_0$1,"./blind/components.js":__glob_4_1,"./door/components.js":__glob_4_2,"./fan/components.js":__glob_4_3,"./heating/components.js":__glob_4_4,"./household/components.js":__glob_4_5,"./light/components.js":__glob_4_6,"./location/components.js":__glob_4_7,"./motion/components.js":__glob_4_8,"./mower/components.js":__glob_4_9,"./scenes/components.js":__glob_4_10,"./sensor/components.js":__glob_4_11,"./server/components.js":__glob_4_12,"./smoke/components.js":__glob_4_13,"./socket/components.js":__glob_4_14,"./speaker/components.js":__glob_4_15,"./switch/components.js":__glob_4_16,"./tv/components.js":__glob_4_17,"./user/components.js":__glob_4_18,"./vacuum/components.js":__glob_4_19,"./weather-station/components.js":__glob_4_20,"./window/components.js":__glob_4_21,"./window-electrical/components.js":__glob_4_22},a={"./_defaults/components/ButtonAction.png":__glob_5_0,"./_defaults/components/ButtonGroupAction.png":__glob_5_1,"./_defaults/components/CheckboxAction.png":__glob_5_2,"./_defaults/components/DatePickerAction.png":__glob_5_3,"./_defaults/components/DatePickerBody - Copy.png":__glob_5_4,"./_defaults/components/DatePickerBody.png":__glob_5_5,"./_defaults/components/DropdownAction.png":__glob_5_6,"./_defaults/components/IconButtonAction.png":__glob_5_7,"./_defaults/components/IconState.png":__glob_5_8,"./_defaults/components/InputAction.png":__glob_5_9,"./_defaults/components/LastChangeBody.png":__glob_5_10,"./_defaults/components/LevelBody.png":__glob_5_11,"./_defaults/components/State.png":__glob_5_12,"./_defaults/components/SwitchAction.png":__glob_5_13,"./_defaults/components/TimePickerAction.png":__glob_5_14,"./_defaults/components/TimePickerBody.png":__glob_5_15,"./blind/components/BlindLevelAction.png":__glob_5_16,"./light/components/LightColorAction.png":__glob_5_17,"./light/components/LightColorBody.png":__glob_5_18,"./light/components/LightColorState.png":__glob_5_19,"./light/components/LightHueAction.png":__glob_5_20,"./light/components/LightHueBody.png":__glob_5_21,"./light/components/SaturationSliderBody.png":__glob_5_22,"./light/components/WhiteSliderBody.png":__glob_5_23,"./window-electrical/components/BlindLevelAction.png":__glob_5_24};Functions.Screenshots={};for(const d in a){const g=d.substr(2,d.indexOf("/",2)-2),v=d.substr(d.lastIndexOf("/")+1).replace(".png","");Functions.Screenshots[g]=Functions.Screenshots[g]||{},Functions.Screenshots[g][v]=a[d].default}const u=FunctionsList.map(async d=>{d=d==="defaults"?"_"+d:d;try{const g="./"+d+"/index.js",v=r[g];Functions.Configurations=Functions.Configurations||{},Functions.Configurations[d]=v.config||{},Functions.Icons=Functions.Icons||{},Functions.Icons[d]=v.icon||null;try{const y="./"+d+"/components.js",A=o[y];Functions.Components=Functions.Components||{},Functions.Components._all=Functions.Components._all||{},Functions.Components._defaults=Functions.Components._defaults||{},Functions.Components[d]=Functions.Components[d]||{_options:{},components:{},body:{},action:{}},Functions.ComponentsOptions={...Functions.ComponentsOptions||{},...A.default._options};const b=A.default;Functions.Components._defaults.components={...Functions.Components._defaults.components||{},...b.components},Functions.Components._all.action={...Functions.Components._all.action,...b.action},Functions.Components[d].body={...Functions.Components[d].body,...b.body},Functions.Components[d].action={...Functions.Components[d].action,...b.action},Functions.ComponentsList=Functions.ComponentsList||{},Functions.ComponentsList.bodyElements=Functions.ComponentsList.bodyElements||{},Functions.ComponentsList.bodyElements[d]=[...Functions.ComponentsList.bodyElements&&Functions.ComponentsList.bodyElements._defaults||[],...Functions.ComponentsList.bodyElements[d]||[],...Object.keys(Functions.Components[d].body)].sort(),Functions.ComponentsList.actionElements=Functions.ComponentsList.actionElements||{},Functions.ComponentsList.actionElements[d]=[...Functions.ComponentsList.actionElements&&Functions.ComponentsList.actionElements._defaults||[],...Functions.ComponentsList.actionElements[d]||[],...Object.keys(Functions.Components[d].action)].sort()}catch(y){y.message.indexOf("Cannot find module")===-1&&console.debug(y)}}catch(g){g.message.indexOf("Cannot find module")===-1&&console.debug(g)}return!0});return Promise.allSettled(u).then(()=>(Functions.ComponentsListAsOptions={},["bodyElements","actionElements"].forEach(d=>{Functions.ComponentsListAsOptions[d]={},Functions.ComponentsListAsOptions[d]._all=[];for(const g in Functions.ComponentsList[d])Functions.ComponentsListAsOptions[d][g]=Functions.ComponentsList[d][g].map(v=>({value:v,label:v,img:Functions.Screenshots[g]&&Functions.Screenshots[g][v]||Functions.Screenshots._defaults[v]})),Functions.ComponentsListAsOptions[d]._all=Functions.ComponentsListAsOptions[d]._all.concat(Functions.ComponentsListAsOptions[d][g]);Functions.ComponentsListAsOptions[d]._all=[...new Map(Functions.ComponentsListAsOptions[d]._all.map(g=>[g.value,g])).values()]}),Functions._loaded=!0,!0))}static getDefaults(r){const o=useJarvis(),a=useIoBroker(),u=Cache$1.get("settings",{}),d={};return Object.keys(r).forEach(g=>{r[g]&&r[g].value?d[g]=typeof r[g].value=="function"?r[g].value({jarvis:o,iobroker:a,settings:u}):r[g].value:r[g]&&r[g].placeholder&&(d[g]=typeof r[g].placeholder=="function"?r[g].placeholder({jarvis:o,iobroker:a,settings:u}):r[g].placeholder)}),d}}class States{static get _BindingRegExp(){return RegExp("\\{(?:val|value|[a-zA-Z0-9-:_]+\\.[a-zA-Z0-9-:_.]+)\\}","gi")}static get _OperatorList(){return["<=",">=","!=","<>","<",">","="]}static _removeOperators(r){return States._OperatorList.forEach(o=>{r=r.replace(o,"")}),parseFloat(r)||r}static _getOperator(r){return States._OperatorList.find(o=>r.indexOf(o)>-1)||""}static getStateVal(r){return States._states&&States._states[r.toLowerCase()]}static setStateVal(r,o){States._states=States._states||{},States._states[r.toLowerCase()]=o}static getStateId(r){if(!r)return[];let o=r.state;return o=o||(r.action&&Array.isArray(r.action)?r.action[0]:r.action),o?[o]:[]}static getBindingStateIds(r){const o=Cache$1.get("warnBinding");let a=[];if(r=r||{},r={config:r.config||_default(r),...r},Pro.isPro()||!Pro.isPro()&&!o)for(const u in r.config){const d=r.config[u];if(!(!["label","unit","bodyStyle","stateStyle","display","icon","iconStyle","state","title","bodySelectedStyle","iconSelectedStyle"].includes(u)||typeof d!="object"))for(const g in d){const v=d[g];if((typeof g!="string"||g.indexOf("{")===-1||g.indexOf("}")===-1)&&(typeof v!="string"||v.indexOf("{")===-1||v.indexOf("}")===-1))continue;const y=(g.match(States._BindingRegExp)||[]).concat(typeof v=="string"&&v.match(States._BindingRegExp)||[]);if(Pro.isPro()&&y&&y.length!==0){const A=y.map(b=>b.trim().substr(1,b.trim().length-2).trim()).filter(b=>b!=="val"&&b!=="value");a=a.concat(A)}else!Pro.isPro()&&y&&y.length!==0&&(console.warn("States-0799b3aa","Bindings is only available to Pro!",r,y),Cache$1.set("warnBinding",!0),Pro.warn("Bindings is only available to Pro!"))}}return a}static subscribe(r,o,a){let u=[];typeof o=="function"&&(a=o,o={}),u=u.concat(States.getStateId(r)),o.isState=u.length>0;const d=States.getBindingStateIds(r);return u=u.concat(d),o.isBinding=d.length>0,u=[...new Set([...u])],u.length!==0?Connection.getConnection.subscribeStates(u,({err:y,stateId:A,state:b},_)=>(o.isBinding===!0&&(States.setStateVal(A,b?b.val:null),a(y,r,o)),a(y,b,o))):[]}static hasBinding(r=""){return r=typeof r=="object"?JSON.stringify(r):r.toString(),r&&(r.toLowerCase().indexOf("{val}")!==-1||r.toLowerCase().indexOf("{value}")!==-1||States._BindingRegExp.test(r.toLowerCase()))}static replaceBinding(r,{state:o,device:a}){let u=r&&typeof r!="string"?JSON.stringify(r):r;const d=u.match(States._BindingRegExp)||[];for(let v of d)if(v=v.toLowerCase().trim(),v.indexOf("{val}")!==-1)u=u.replace(/'?{val}'?/g,o.val==="true"||o.val==="false"||typeof o.val=="boolean"?o.val==="true"||o.val===!0:"|'"+o.val+"'|");else if(v.indexOf("{value}")!==-1)u=u.replace(/'?{value}'?/g,o.value==="true"||o.value==="false"||typeof o.value=="boolean"?o.value==="true"||o.value===!0:"|'"+o.value+"'|");else if(o.state&&v==="{"+o.state.toLowerCase()+"}")u=u.replace(RegExp("'?{"+o.state+"}'?","gi"),o.value==="true"||o.value==="false"||typeof o.value=="boolean"?o.value==="true"||o.value===!0:"|'"+o.value+"'|");else if(RegExp(/.+\.\d{1,2}\..+/gi).test(v)){const y=States.getStateVal(v.substr(1,v.length-2)),A=typeof y=="number"?y:"|'"+y+"'|";u=y!==void 0?u.replace(RegExp("'?"+v+"'?","i"),y==="true"||y==="false"||typeof y=="boolean"?y==="true"||y===!0:A):v}else{if(v.indexOf(":")!==-1&&v.indexOf("function")===-1&&v.indexOf("=>")===-1)return r;if(v.indexOf(":")===-1){const y=v.substr(1,v.length-2);u=u.replace(RegExp("'?"+v+"'?"),y==="true"||y==="false"||typeof y=="boolean"?y==="true"||y===!0:y)}}u=u.replace(/([^=<>!])=([^=<>!])/g,"$1==$2"),u=u.replace(/\n/g," "),u=u.trim();const g=RegExp(".+?\\(.*?\\).*?","g");if(!u.startsWith("{")&&!u.endsWith("}")&&(g.test(u)||u.indexOf("<")!==-1||u.indexOf(">")!==-1||u.indexOf("!=")!==-1||u.indexOf("=")!==-1)){u=u.replace(/\'\|/g,"'").replace(/\|\'/g,"'");try{return new Function("return "+u)()}catch(v){const y=a.id+":"+o.stateKey;States._notified=States._notified||{},States._notified[y]||(States._notified[y]=!0,console.warn("States-a51989c6",'Incorrect callback function ("'+u+'") supplied to device "'+a.name+'" (state-key '+o.stateKey+")!",g,g.test(u),u.indexOf("<")!==-1,u.indexOf(">")!==-1,u.indexOf("!=")!==-1,u.indexOf("=")!==-1,v),Notify.create({type:"warning",icon:"mdi-alert",message:"Incorrect callback function ("+u+") supplied to "+a.name+" ("+o.stateKey+")!",caption:v&&v.message||typeof v=="string"&&v||""}))}}return u=u.replace(/\'\|/g,"").replace(/\|\'/g,""),u}static resolveAttributes(r,o,a,u,d=null){if(o&&typeof o=="object"){o=_default(o);let g=Object.keys(o);if(g=o._sort==="none"||g.join("").indexOf("{")!==-1?g:g.sort((v,y)=>(v=States._removeOperators(v),y=States._removeOperators(y),v===y?0:v>y?1:-1)),delete o._sort,g.toString().indexOf("{")!==-1||g.toString().indexOf("<")!==-1||g.toString().indexOf(">")!==-1||g.toString().indexOf("!=")!==-1||g.toString().indexOf("=")!==-1){let v=!0;for(const y of g){const A=parseFloat(a.val)||a.val,b=States.hasBinding(y);if(y==="default")continue;if(y.indexOf("{")!==-1){if(States.replaceBinding(y,{state:a,device:u})===!0){a[r]=o[y],v=!1;break}continue}const _=States._getOperator(y),w=y.substr(0,y.indexOf(_));let S=_?parseFloat(b?States.getStateVal(w):w):A;S=Number.isNaN(S)||S===void 0?A:S;const C=y.substr(y.indexOf(_)+_.length);let T=_?parseFloat(b?States.getStateVal(C):C):y;if(T=Number.isNaN(T)||T===void 0?A:T,S=S==="true"||S==="false"?S==="true":S,T=T==="true"||T==="false"?T==="true":T,(_==="!="||_==="<>")&&S!=T){a[r]=o[y],v=!1;break}else if(_==="<="&&S<=T){a[r]=o[y],v=!1;break}else if(_==="<"&&S="&&S>=T){a[r]=o[y],v=!1;break}else if(_===">"&&S>T){a[r]=o[y],v=!1;break}else if((_===""||_==="=")&&S==T){a[r]=o[y],v=!1;break}}v&&(a[r]=o.default!==void 0?o.default:d)}else{const v=!a.val||r==="properties"?a.val:Object.keys(o).find(A=>A.toString().toLowerCase()===a.val.toString().toLowerCase());let y=!1;if(["bodyStyle","stateStyle","iconStyle"].includes(r)&&o){const A=Object.values(o);y=A&&A[0]&&typeof A[0]=="object"}a[r]=v!==void 0&&o[v]!==void 0?o[v]:o.default!==void 0?o.default:o&&["bodyStyle","stateStyle","iconStyle"].includes(r)&&y===!1||o&&["properties"].includes(r)?o:void 0}}else r!=="value"&&o&&typeof o=="function"?a[r]=o(a.val,a.stateKey,u):r!=="value"&&o&&typeof o=="string"&&(a[r]=o);return a}}class Devices{static destroy(){Devices._devices=null,Devices._states={},Devices._history={}}static get(r){return Devices.getDevice(r)}static getDevice(r){if(r==null||!Devices._devices||!Devices._devices[r])return null;const o=Devices._devices[r];return o.function=o.function==="other"?"_defaults":o.function,o.options={suppressPopup:!1,...o.options||{}},o}static getDevices(r={}){const o=Object.keys(r),a=[];for(const u in Devices._devices){const d=Devices.getDevice(u);o.every(v=>{const y=r[v];return y==null?!0:d[v]===void 0||d[v]===null?!1:Array.isArray(y)||y.condition==="all"?(y.val||y).every(_=>_.startsWith("<>")?!d[v].includes(_.replace("<>","")):d[v].includes(_)):y.condition==="any"?y.val.some(_=>_.startsWith("<>")?!d[v].includes(_.replace("<>","")):d[v].includes(_)):y.startsWith("<>")?d[v]!==y.replace("<>",""):d[v]===y})&&a.push(d)}return a}static init(r){Devices._devices=_default(r),Connection.getConnection.refreshSubscribedStates()}static prepareDeviceState(r,o,a){const u=Devices.get(r);a==null&&(a={val:null}),a.key=o,delete a.key,a.stateKey=o,a.revision=a.revision||v4(),a.value=a.val,a.configFunctionDefaults={...Functions.Configurations._defaults&&Functions.Configurations._defaults._any||{},...Functions.Configurations._defaults&&Functions.Configurations._defaults[o]||{}},a.configDeviceDefaults={...Functions.Configurations[u.function.toLowerCase()]&&Functions.Configurations[u.function.toLowerCase()]._any||{},...Functions.Configurations[u.function.toLowerCase()]&&Functions.Configurations[u.function.toLowerCase()][o]||{}},a.configUser=u.states[o]?_default(u.states[o]):{},a.config={...a.configFunctionDefaults,...a.configDeviceDefaults};for(const d in u.states[o])a.config[d]=a.configUser[d]||a.config[d];if(a.value!==void 0&&a.value!==null&&a.value!==""&&a.config.value)try{const d=new Function("return "+a.config.value)();a.value=d(a.value,u.states[o],u.states,u)}catch(d){console.warn("Devices-875c87ea","Incorrect callback function ("+a.config.value+") supplied to "+u.name+" ("+o+")!",d),a.value=a.val}if(a.value!==void 0&&a.value!==null&&a.value!==""&&Pro.isPro()&&u.states[o]&&u.states[o].properties&&u.states[o].properties.value)try{const d=new Function("return "+u.states[o].properties.value)();a.value=d(a.value,u.states[o],u.states,u)}catch(d){console.warn("Devices-875c87eb","Incorrect callback function ("+u.states[o].properties.value+") supplied to "+u.name+" ("+o+")!",d),a.value=a.val}else!Pro.isPro()&&u.states[o]&&u.states[o].properties&&u.states[o].properties.value&&Pro.warn("Device ("+u.name+'): Callback for "value" only available in Pro.');try{for(const d in a.config){const g=a.config[d];a=States.resolveAttributes(d,g,a,u),d!=="properties"&&States.hasBinding(a[d])&&(a[d]=States.replaceBinding(a[d],{state:a,device:u}))}}catch(d){console.warn("Devices-jEk6S8dX","Error resolving bindings for device "+u.name+" ("+u.id+"): "+d.message)}if(!a.configUser.icon&&u.icon&&(a.icon=u.icon),a.icon||(a.icon=Functions.Icons[u.function]||Functions.Icons._defaults),a.value=a.value===void 0?a.val:a.value,a.value=a.value===void 0?"":a.value,a.display!==void 0&&a.display!==null)try{a.value=(a.display!==""?i18n.global.t(a.display):a.display).toString()}catch(d){console.warn("Devices-yDv926aP","Error translating name for device "+u.name+" ("+u.id+" with state key "+a.stateKey+') using "'+a.display+'": '+d.message)}return a}static refreshDeviceState(r,o,a){Devices.updateDeviceState(r,o,null,null,{val:null,...a||{}})}static broadcast(r,o,a,u){const d=r+":"+o,g=Devices.get(r);if(!g)return console.warn("Devices-dcfeada3","Device with ID "+r+" not found!"),!1;Devices._listener[d].callbacks.forEach(v=>{v.cb&&v.cb(a,g,o,Object.freeze(Devices.prepareDeviceState(r,o,_default(u))))})}static updateDeviceBinding(r,o,a=null,u={},d={}){const g=r+":"+o,{state:v}=Devices._listener[g]||{};Devices.broadcast(r,o,a,v)}static updateDeviceState(r,o,a=null,u={},d={}){const g=r+":"+o;Devices._listener[g].state=u,Devices.broadcast(r,o,a,u)}static listen(r,o,a){if(r&&o&&a){const u=r+":"+o,d=Devices.get(r),g=d&&d.states&&d.states[o],v=g&&(g.state||g.action),y=v4();if(Devices._listener=Devices._listener||{},!Devices._listener[u])Devices._listener[u]={deviceId:r,stateKey:o,state:null,callbacks:[{subscriptionKey:y,cb:a}]},States.subscribe(g,(A,b,_)=>{b&&!b.id&&_.isBinding&&Devices.updateDeviceBinding(r,o,A,b,_),(!b||b&&b.id&&v.toLowerCase()===b.id.toLowerCase())&&Devices.updateDeviceState(r,o,A,b,_)});else if(Devices._listener[u].callbacks.push({subscriptionKey:y,cb:a}),Devices._listener[u].state){const{state:A}=Devices._listener[u]||{};a(null,d,o,Devices.prepareDeviceState(r,o,_default(A)))}else v?Connection.getConnection.getState(v,({err:b,state:_})=>{a(b,d,o,Devices.prepareDeviceState(r,o,_))}):a(null,d,o,null);return u+":"+y}return console.warn("Devices-a9b3ff4f","Invalid details for listener",r,o,a),[]}static unlisten(r=[]){r=Array.isArray(r)?r:[r],r.forEach(o=>{const[a,u,d]=o.split(":");Devices._listener[a+":"+u]&&(Devices._listener[a+":"+u].callbacks=Devices._listener[a+":"+u].callbacks.filter(g=>g.subscriptionKey!==d))})}static history(r,o,a,u){if(r&&o){let d=Devices.get(r);const g=d&&d.states&&d.states[o],v=g&&g.state;if(v){g.stateKey=o;const y=hash$3(v+":"+JSON.stringify(a));if(Devices._history=Devices._history||{},Devices._history[y])return u(null,Devices._history[y],g,d),y;a={ack:!0,ignoreNull:!0,aggregate:"none",...a,instance:a.instance||"history.0"};const A=({err:_,history:w,...S})=>{d=Devices.get(r);const C=Devices.prepareDeviceState(d.id,o,_default(g||{}));if(_)return console.debug("Devices-b917b213",_),u(_,{history:null,subscriptionKey:y},C,d),_;if(S.noUpdate&&!w&&Devices._history[y]!==void 0)return u(_,Devices._history[y],C,d),null;w=w||[],Devices._history[y]={history:w,subscriptionKey:y,cb:u},u(null,{history:w,subscriptionKey:y},C,d)};return Connection.getConnection.subscribeHistory(y,v,a,A),y}else u&&u(new Error('History subscription invalid (no state given for state key "'+o+'" in device "'+r+'"'),{},g,d)}else console.warn("Devices-a9b3ff4f","Invalid details for listener",r,o);return null}static unsubscribe(r,o,a,u){const d=Devices.get(o),g=d&&d.states&&d.states[a]&&d.states[a].state;r&&g&&Connection.getConnection.unsubscribe(u,r,g,({err:y})=>{y&&y.message&&console.warn("Devices-147cd06a","Unsubscribe failed",u,g,r,y.message)})}static set(r,o,a,u){const d=Devices.get(r);if(typeof u!="object"&&(u={ack:u}),d){if(d&&(!d.states||!d.states[o]))return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' has no state key "'+o+'"!'),Promise.reject();if(d&&d.states&&d.states[o]&&!d.states[o].action&&!d.states[o].state)return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' with state key "'+o+'" has neither action nor state id!'),Promise.reject()}else return console.warn("Devices-752f6dcd",'No valid device with id "'+r+'" found!'),Promise.reject();let g=!d.states[o].action||Array.isArray(d.states[o].action)?d.states[o].action:[d.states[o].action];if(g=g||[d.states[o].state],!g)return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' with state key "'+o+'" has no state ids!'),Promise.reject();!Pro.isPro()&&g.length>1&&(g=[g[0]],console.warn("Multiple triggers only available to Pro!"));const v=d.id+":"+o;let y=Devices._listener[v]&&Devices._listener[v].state;const A=Array.isArray(d.states[o].action)?d.states[o].action[0]:d.states[o].action;y&&(!A||A===d.states[o].state)&&Devices.updateDeviceState(r,o,null,{...y,ts:Date.now(),lc:Date.now(),val:a});const b=Connection.getConnection,_=g.map((w,S)=>(S=S+1,d.states[o].properties&&d.states[o].properties.trigger&&d.states[o].properties.trigger[S]!==void 0?a=d.states[o].properties.trigger[S][a]:a=Devices.convertSetVal(a,o,{on:"true",off:"false",...d.states[o].properties||{}},u),new Promise((C,T)=>{b.setState(w,a,u.ack!==void 0?u.ack:!1).then(()=>C()).catch(I=>{console.warn("Devices-954571f6","Could not set state",a,w,r,o,I.message,I),Array.isArray(d.states[o].action)?d.states[o].action[0]:d.states[o].action,y&&(Devices.updateDeviceState(r,o,null,{...y}),Notify.create({message:'Could not set state "'+w+'"!',caption:'Error: "'+I.message+'"',type:"negative"})),T(I)})})));return Promise.allSettled(_)}static convertSetVal(r,o=null,a={},u={}){const d=v=>{try{return new Function("return "+v)()}catch(y){return v}};if(r=(typeof r=="boolean"?!1:typeof r=="number"?!0:!Number.isNaN(parseFloat(r))&&r.toString().length===parseFloat(r).toString().length)?parseFloat(r):r,r===!0&&a&&a.setOn!==void 0){const v=d(a.setOn);r=Pro.isPro()&&typeof v=="function"?v(r,a):v}else if(r===!1&&a&&a.setOff!==void 0){const v=d(a.setOff);r=Pro.isPro()&&typeof v=="function"?v(r,a):v}else(r===!0&&a&&a.on!==void 0||r===!1&&a.off!==void 0)&&(r=r===!0?a.on:a.off);if(!(a.min&&["true","false"].includes(a.min.toString())||a.max&&["true","false"].includes(a.max.toString()))&&(o==="dimmer"||o==="level")&&r!==void 0&&(r.toString()==="true"||r.toString()==="false")&&(r=r.toString()==="true"?parseInt(a.level)||100:0),r=typeof r=="string"&&(r==="true"||r==="false")?r==="true":r,!u.cast||u.cast==="auto"||u.cast==="number"){const v=Number.isNaN(parseInt(r))?null:parseInt(r);r=typeof r=="string"&&v!==null&&v.toString().length===r.length?v:r}else u.cast==="string"&&(r=r.toString());return r}}const useJarvis=defineStore("jarvis",{state:()=>({connection:!1,pro:!1,watch:{devices:null,layout:null,settings:null,styles:null,scripts:null,widgets:null},authentication:{page:null,configuration:null},headerVisible:!0,drawerSidebar:!1,drawerNotifications:!1,selectedPageId:null,selectedTabId:null,selectedTabReady:!1,selectedDeviceId:null}),getters:{drawerMiniMode(t){const r=Cache$1.get("settings",{});return t.watch.settings&&Screen.width>Screen.sizes.md&&r.drawerMiniMode!==void 0?r.drawerMiniMode:!1},getSelectedPageId(){return this.getSelectedPage.id||null},getSelectedPage(){const t=Cache$1.get("layout",[]);let r=null;if(this.selectedTabId!==null){for(const o of t)if((o.tabs||[]).find(d=>d.id===this.selectedTabId)){r=o;break}}return this.selectedTabId===null&&!r&&(r=t.find(o=>o.type==="page")),r||{}},getDevicesCount(){return Object.keys(Devices._devices).length},getPages(){return Cache$1.get("layout",[]).filter(r=>!r.type||r.type==="page").map(r=>({...r,color:"primary",label:r.title||""}))},getPagesWithTabs(){const t=[];return Cache$1.get("layout",[]).forEach(o=>{o.tabs=o.tabs||[],o.tabs.forEach(a=>{t.push({...a,value:a.id,label:o.title+" - "+a.title})})}),t},getTabs(){return t=>t.tabs.map(r=>({...r,color:"primary",label:r.title||""}))},getWidgets(t){const r=Cache$1.get("widgets",{});return o=>o.map(a=>{const u=a.items[0];return a={...a,...r[u]},{...a,label:a.label||a.title||a.module||"",color:"primary"}})},getSelectedTabId(){return this.getSelectedTab.id||null},getSelectedTab(){const t=Cache$1.get("layout",[]);let r=null;if(this.selectedTabId!==null){for(const o of t)if(r=(o.tabs||[]).find(u=>u.id===this.selectedTabId),r)break}return this.selectedTabId===null&&!r&&(r=this.getSelectedPage.tabs&&this.getSelectedPage.tabs[0]),r||{}},selectedDevice(t){return Devices.get(t.selectedDeviceId)||{}}},actions:{set(t,r){const o=typeof t!="string"?t:{[t]:r};let a="";for(let u in o){const d=o[u];[a,u]=u.indexOf(".")>-1?u.split("."):[null,u],a===null&&this[u]!==void 0&&d!==void 0?this[u]!==d&&(this[u]=d):this[a]&&this[a][u]!==void 0&&d!==void 0?this[a][u]!==d&&(this[a][u]=d):console.error("UNKNOWN STATE",a,this[a],u,this[a]&&this[a][u],this[u],d)}}}}),routes=[{name:"Login",path:"/login",components:{login:()=>__vitePreload(()=>Promise.resolve().then(function(){return Login$1}),void 0)},meta:{authenticationType:""}},{name:"Configuration",path:"/configuration",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$b}),void 0),children:[{name:"ConfigurationLogin",path:"login",components:{login:()=>__vitePreload(()=>Promise.resolve().then(function(){return Login$1}),void 0)},meta:{authenticationType:"configuration",redirect:"Configuration"}},{name:"ConnectionsPage",path:"connections",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return ConnectionsPage$1}),void 0)},{name:"DevicesPage",path:"devices",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$9}),void 0)},{name:"WidgetsPage",path:"widgets",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$8}),void 0)},{name:"LayoutPage",path:"layout",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$7}),void 0)},{name:"SettingsPage",path:"settings",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$6}),void 0)},{name:"StylesPage",path:"styles",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$5}),void 0)},{name:"ScriptsPage",path:"scripts",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$4}),void 0)},{name:"AccountPage",path:"account",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$3}),void 0)},{name:"HelpPage",path:"help",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$2}),void 0)}]},{name:"Home",path:"/:tabId([^/&]+)?/:params?",components:{default:()=>__vitePreload(()=>Promise.resolve().then(function(){return Jarvis$1}),void 0),sidebar:()=>__vitePreload(()=>Promise.resolve().then(function(){return Sidebar$1}),void 0),notifications:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$1}),void 0)}}];var createRouter=function(){return createRouter$1({scrollBehavior:()=>({left:0,top:0}),routes,history:createWebHashHistory("/jarvis/")})};function getCssVar(t,r=document.body){if(typeof t!="string")throw new TypeError("Expected a string as propName");if(!(r instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(r).getPropertyValue(`--q-${t}`).trim()||null}var Config=[{id:"pageSettings",label:"Page Settings",icon:"mdi-book-cog-outline",settings:[{id:"language",label:"Language settings for jarvis",type:"Select",options:config$n.get("SUPPORTED_LANGUAGES"),value:useI18n.locale,validate:t=>config$n.get("SUPPORTED_LANGUAGES").find(r=>r.value.indexOf(t)!==-1)},{id:"pageFavicon",label:"Browser favicon",info:"(Browser favicon info)",value:""},{id:"pageTitle",label:"Browser title",placeholder:"jarvis - just another remarkable vis",value:"jarvis - just another remarkable vis"},{id:"pageHome",label:"Homepage",type:"Select",options:(t,{jarvis:r})=>r.getPagesWithTabs},{id:"pageHomeReturn",label:"Return to Homepage",info:"(Return to Homepage info)",type:"Number",value:0},{id:"hideProNotification",label:"Hide Pro Notification",type:"Switch",value:!1},{id:"quickJumper",label:"Quick Jumper",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"reload",label:"Nightly Reload",type:"Switch",value:!0}]},{id:"tabSettings",label:"Sidebar & Tabs Settings",icon:"mdi-tab-unselected",settings:[{id:"drawerMiniMode",label:"Drawer Mini mode",type:"Switch",value:!0},{id:"drawerShowMenuButton",label:"Show Button to toggle Drawer",type:"Switch",value:!0},{id:"drawerShowSettings",label:"Show Settings Button in Drawer",type:"Switch",value:!0},{type:"Placeholder",columns:6},{id:"tabsCollapse",label:"Collapse Tabs",info:"(Collapse Tabs info)",type:"Switch",value:!1},{id:"tabsDense",label:"Dense Tabs",type:"Switch",value:!1},{id:"tabsBottom",label:"Tabs on bottom of page",type:"Switch",value:!1},{id:"tabsSwipe",label:"Tab Swipe",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"tabsSwipeAnimation",label:"Tab Swipe Animation",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"tabsShow",label:"Tab-Bar Scroll Behaviour",type:"Select",options:[{value:"always",label:"Show always",translate:!0},{value:"hide",label:"Hide when scrolling",translate:!0}],value:"hide"},{id:"defaultBoxIcon",label:"Default widget-box icon",type:"icon",placeholder:"home"}]},{id:"themeSettings",label:"Theme Settings",icon:"mdi-brush",settings:[{columns:2,id:"themeDarkMode",label:"Dark Mode",type:"Select",options:[{value:"auto",label:"use system-setting",translate:!0},{value:"off",label:"off",translate:!0},{value:"on",label:"on",translate:!0}],value:"auto",validate:t=>t===void 0?"auto":typeof t=="boolan"?t===!0?"on":"off":t},{id:"brandPrimary",label:"Primary theme color",info:"(Primary theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#1976d2",placeholder:"blue-8",type:"color"},{id:"brandSecondary",label:"Secondary theme color",info:"(Secondary theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#26a69a",placeholder:"teal-5",type:"color"},{id:"brandAccent",label:"Accent theme color",info:"(accent theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#9c27b0",placeholder:"purple-6",type:"color"},{columns:4,type:"Placeholder"},{columns:2,id:"scrollbars",label:"Scrollbars",type:"Select",options:[{value:"always",label:"show always",translate:!0},{value:"desktop",label:"hide on desktop and below",translate:!0},{value:"mobile",label:"hide on mobile devices",translate:!0}],value:"always"},{columns:1,id:"breakpoint-sm",label:"Breakpoint (small, sm)",value:Screen.sizes.sm,type:"Number"},{columns:1,id:"breakpoint-md",label:"Breakpoint (medium, md)",value:Screen.sizes.md,type:"Number"}]},{id:"globalSettings",label:"Global Settings",icon:"mdi-earth",settings:[{id:"LastChangeBody",label:"Timeformat LastChangeBody",info:"(Timeformat LastChangeBody info)",link:"https://date-fns.org/v2.22.1/docs/format",placeholder:"DistanceToNow"},{id:"stylesEnabled",label:"Styles enabled",type:"Switch",value:!0},{id:"scriptsEnabled",label:"Scripts enabled",type:"Switch",value:!0}]}];const defaultSettings={};Config.forEach(t=>{t.settings.forEach(r=>{defaultSettings[r.id]=r.value!==void 0?r.value:r.placeholder})});var defaultSettings$1={tourIntroduction:!1,tourInterface:!0,tourConfiguration:!1,configExpertMode:!1,configTab:null,configDevicesFilter:null,configDevicesFilterSelections:null,configDevicesPagination:null,configDevicesGroupBy:null,configWidgetsPagination:null,...defaultSettings};class ioBroker{static _convertStructure(r){const o={};let a={};return r.forEach(u=>{u.status==="fulfilled"&&u.value&&(u.value.type==="devices"||u.value.type==="channels"||u.value.type==="folder"||u.value.type==="objects")?u.value.retrieved.forEach(d=>{o[d.id]=d.value}):u.status==="fulfilled"&&u.value&&u.value.type==="states"&&(a=u.value.retrieved)}),[a,o]}static getDefaultModuleHeight(r,o=[]){let a=8,u=!0;if(r.module==="AdapterStatus")u=!1;else if(r.module==="Calendar")a=10,u=!1;else if(r.module==="DateTime")a=3;else if(r.module==="StateHTML"||r.module==="iFrame"||r.module==="Weather")a=9;else if(r.module==="StateListHorizontal"||r.module==="HomeKitTile")a=2;else if(r.module==="StateList"){const d=o.filter(g=>g.type==="divider").length;a=Math.ceil(((r.hideTitle!==!0?48:0)+d*1+(o.length-d)*48)/50),a=a||100}return{height:a,scaleToFitContents:u}}static getUsers(){const r=Connection.getConnection;return new Promise((o,a)=>{r.getObjectView("system","user",null,({err:u,objects:d})=>{if(u||!d)return a(u);o(d)})})}static getUserGroups(){const r=Connection.getConnection;return new Promise((o,a)=>{r.getObjectView("system","group",null,({err:u,objects:d})=>{if(u||!d)return a(u);o(d)})})}static importDevices(r=Object.keys(adapters)){const o=Connection.getConnection;console.debug("ioBroker-53de87a5","Start importing devices..");const a=[];return r=Array.isArray(r)?r:[r],r.forEach(u=>{a.push(new Promise((d,g)=>{try{const v=adapters[u];console.debug("ioBroker-569d31bd","Request devices from adapter "+u+"..."),o.getObjectView("system",v.deviceObjectType||"device",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(y=>{if(console.debug("ioBroker-8e7a802b","Retrieved results from adapter "+u+"."),v.root){let A=Promise.resolve([]);v.deviceObjectType!=="device"&&(A=new Promise(b=>{o.getObjectView("system","device",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(b)})),v.deviceObjectType!=="folder"&&(A=new Promise(b=>{o.getObjectView("system","folder",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(b)})),A.then(b=>{const[,_]=ioBroker._convertStructure([{status:"fulfilled",value:{type:"objects",retrieved:[...y,...b||{}]}}]);v.root(_,v).then(w=>{console.debug("ioBroker-879bfd43","Parsed devices from "+u+": "+w.length+".");const S=w.map(C=>(C.tags=C.tags||[],C.tags.push(v.namespace),{status:"fulfilled",value:{...C,attributes:{_created:Date.now(),imported:!0}}}));d(S)}).catch(()=>d([]))}).catch(b=>{console.warn("ioBroker-9b782f48",b.message)})}else ioBroker.parseDevices(y).then(A=>{console.debug("ioBroker-aea6eac0","Parsed devices from "+u+": "+A.length+"."),d(A)}).catch(A=>g(A))}).catch(y=>{const A=i18n.global.t("Could not load any adapter devices, channels or states.");console.warn("ioBroker-9595cbe3",A+"!","error",!0,y.stack),g(new Error(A))})}catch(v){const y=i18n.global.t("Adapter structure not defined for adapter %adapter").replace(/%adapter/g,u);console.warn("ioBroker-610766e7",y+"!","error",!0,v.stack),g(new Error(y))}}))}),new Promise(u=>{allSettled(a).then(d=>{let g=[];d.forEach(v=>v.value&&(g=g.concat(v.value))),u(g)})})}static importEnums(r="functions",o=[]){const a=Connection.getConnection,u=[];return new Promise((d,g)=>{a.getObjectView("system","enum").then(v=>{v.forEach(y=>{if(y.id.indexOf("enum.functions.control_center")===-1&&y.id.indexOf("enum."+r)>-1&&y.value&&y.value.common&&y.value.common.members&&Array.isArray(y.value.common.members)&&y.value.common.members.length>0){const A=[];y.value.common.members.forEach(b=>{const _=b.substr(0,b.indexOf("."));o.indexOf(_)>-1&&A.push({id:b})}),u.push(ioBroker.parseDevices(A,{function:y.id.indexOf("enum.functions.")>-1?y.id.replace("enum.functions.",""):null}))}}),allSettled(u).then(y=>{let A=[];y.forEach(b=>{A=A.concat(b.value)}),d(A)})}).catch(v=>{const y=i18n.global.t("Enums could not be retrieved");console.warn("ioBroker-76a5c25f",y+"!","error",!0,v.stack),g(new Error(y))})})}static parseDevices(r,o={}){const a=i18n.global.locale.value||i18n.global.locale||locale,u=Connection.getConnection,d=[];for(const g of r){const v=g.id,y=v.substr(0,v.indexOf(".")),A=adapters[y],b={id:uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39"),name:"unknown device (state "+v+")",function:o.function||"unknown",floor:"",room:"",tags:[y],states:{},options:{},attributes:{_created:Date.now(),imported:!0}};A.devicePattern&&RegExp("^"+A.namespace+"\\.\\d\\."+A.devicePattern+"$").test(v)===!1||d.push(new Promise((_,w)=>{allSettled([new Promise(S=>u.getObjectView("system","device",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"devices"}))),new Promise(S=>u.getObjectView("system","channel",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"channels"}))),new Promise(S=>u.getObjectView("system","folder",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"folder"}))),new Promise(S=>u.getObjectView("system","state",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"objects"}))),new Promise(S=>u.getStates(v+".*").then(C=>S({retrieved:C,type:"states"})))]).then(S=>{const[C,T]=ioBroker._convertStructure(S),I={root:v,list:Object.keys(C),states:C,objects:T};A.parse(I,o).then(E=>{E.name=E.name&&(E.name[a.substr(0,2)]||E.name),_({...b,...E,id:E.name?E.name.toLowerCase().replace(/ /g,"")+"_"+uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5):uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39")})}).catch(E=>{const F=i18n.global.t(E.message).replace("%state",v)+"!";console.warn("ioBroker-aa2a87f4",A.default+": "+F,"warn",!0,E.stack),w({...b,attributes:{_created:Date.now(),...b.attributes,note:F}})})}).catch(S=>{const C=i18n.global.t("Could not retrieve state %state").replace("%state",v);console.warn("ioBroker-e677b45a",C+"!","error",!0,S.stack),w(new Error(C))})}))}return allSettled(d)}static subscribe(r){const o=Connection.getConnection,a=useJarvis();return new Promise((u,d)=>{o.subscribeState(config$n.get("NODE_"+r.toUpperCase()),({err:g,state:v})=>{if(g||!v||v.val===void 0)return d(g||"No State received");try{v.val=typeof v.val=="string"?JSON.parse(v.val):v.val;let{version:y,signature:A,[r]:b}=v.val;y||(b=v.val);const _=Cache$1.get("signatures",{});if(r==="devices"&&b&&(!Cache$1.get(r)||!A||_[r]&&_[r]!==A)?Devices.init(b):r==="settings"&&b&&(!Cache$1.get(r)||!A||_[r]&&_[r]!==A)?ioBroker.applySettings(b):r==="layout"&&(!b||Array.isArray(b)&&b.length===0)&&(A=Date.now(),b=[{id:"2bbbe067-7506-4fac-8a1f-bfbf9f48a9e7",type:"page",icon:"mdi-view-dashboard-variant",title:"Overview",tabs:[{icon:"mdi-desktop-mac-dashboard",title:"Dashboard",id:"674d30a6-83d8-4876-9135-55791d7dfec9",widgetsDesktop:[],widgetsSmartphone:[]}]}]),_[r]&&A&&_[r]===A)console.debug(r,"Received payload, but signature is unchanged. Do nothing.");else{console.debug(r,"Received payload and signature has CHANGED!"),A&&Cache$1.merge("signatures",{[r]:A}),Cache$1.set(r,b);const w=Cache$1.get("scripts.reload");if(r==="scripts"&&A&&(!w||w!==A))return console.warn(r,"Update for Scripts, which requires a reload of the page!",w,A),Cache$1.set("scripts.reload",A),window.location.replace(window.location.href.replace(/[&?]reload=true/gi,"")),window.location.reload(),!1;a.set("watch."+r,Date.now())}return u({key:r,val:b})}catch(y){return console.error(r,"Received payload with error: "+y.message),d(y)}})})}static applySettings(r){console.debug("Apply settings..."),Config.forEach(u=>{u.settings.forEach(d=>{defaultSettings$1[d.id]=d.value!==void 0?d.value:""})});const o=Connection.getConnection,a={...defaultSettings$1,...r};for(const u in a){let d=a[u];try{if(Cache$1.get("hasNightlyReload")!==o.socket.id&&(Cache$1.set("hasNightlyReload",o.socket.id),o.on("#time",v=>{const y=new Date(v);y.getHours()===3&&y.getMinutes()===0&&y.getSeconds()===0&&window.location.reload()})),u.startsWith("breakpoint-")){const v=u.substr(-2);Screen.setSizes({[v]:parseInt(a[u])})}if(u==="themeDarkMode"&&(Cache$1.set("themeDarkMode",d),window.darkMode&&window.darkMode.set(d),d==="auto"&&window.matchMedia&&(d=window.matchMedia("(prefers-color-scheme: dark)").matches?"on":"off",window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",v=>Plugin$3.set(v.matches))),Plugin$3.set(d==="on")),u.startsWith("brand")){const v=u.replace("brand","").toLowerCase();setCssVar(v,d);const y=document.getElementById("theme-color");y&&y.setAttribute("content",getCssVar(Plugin$3.isActive?"dark":"primary"))}if(u==="pageTitle"&&(document.title=d||document.title),u==="language"){const v=d||locale;i18n.global.locale.value=v,Quasar.lang.set(langPackQuasar[v.substr(0,2)])}if(u==="pageFavicon"&&d&&typeof d=="string"&&d.trim().substr(0,5)==="data:"){const v=d.substr(0,d.indexOf(";")).replace("data:image/",""),y=document.getElementsByClassName("favicon");for(const A of y)A.href=d.trim(),A.type="image/"+v.trim()}}catch(g){console.error(g)}}}static subscribeAdapterInstances(){const r=Connection.getConnection,o=useIoBroker();r.subscribeSpecial("AdapterInstances",a=>{const u=Object.keys(a).sort();u&&Array.isArray(u)&&(o.set("instances",{val:a,ts:Date.now()}),o.set("instanceList",{val:u,ts:Date.now()}))})}}var events$1={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function t(r,o,a){return Function.prototype.apply.call(r,o,a)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:ReflectOwnKeys=function(r){return Object.getOwnPropertyNames(r)};function ProcessEmitWarning(t){console&&console.warn&&console.warn(t)}var NumberIsNaN=Number.isNaN||function t(r){return r!==r};function EventEmitter(){EventEmitter.init.call(this)}events$1.exports=EventEmitter;events$1.exports.once=once;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(t){if(typeof t!="number"||t<0||NumberIsNaN(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");defaultMaxListeners=t}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function t(r){if(typeof r!="number"||r<0||NumberIsNaN(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this};function _getMaxListeners(t){return t._maxListeners===void 0?EventEmitter.defaultMaxListeners:t._maxListeners}EventEmitter.prototype.getMaxListeners=function t(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function t(r){for(var o=[],a=1;a0&&(g=o[0]),g instanceof Error)throw g;var v=new Error("Unhandled error."+(g?" ("+g.message+")":""));throw v.context=g,v}var y=d[r];if(y===void 0)return!1;if(typeof y=="function")ReflectApply(y,this,o);else for(var A=y.length,b=arrayClone(y,A),a=0;a0&&g.length>u&&!g.warned){g.warned=!0;var v=new Error("Possible EventEmitter memory leak detected. "+g.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");v.name="MaxListenersExceededWarning",v.emitter=t,v.type=r,v.count=g.length,ProcessEmitWarning(v)}return t}EventEmitter.prototype.addListener=function t(r,o){return _addListener(this,r,o,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function t(r,o){return _addListener(this,r,o,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(t,r,o){var a={fired:!1,wrapFn:void 0,target:t,type:r,listener:o},u=onceWrapper.bind(a);return u.listener=o,a.wrapFn=u,u}EventEmitter.prototype.once=function t(r,o){return checkListener(o),this.on(r,_onceWrap(this,r,o)),this};EventEmitter.prototype.prependOnceListener=function t(r,o){return checkListener(o),this.prependListener(r,_onceWrap(this,r,o)),this};EventEmitter.prototype.removeListener=function t(r,o){var a,u,d,g,v;if(checkListener(o),u=this._events,u===void 0)return this;if(a=u[r],a===void 0)return this;if(a===o||a.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete u[r],u.removeListener&&this.emit("removeListener",r,a.listener||o));else if(typeof a!="function"){for(d=-1,g=a.length-1;g>=0;g--)if(a[g]===o||a[g].listener===o){v=a[g].listener,d=g;break}if(d<0)return this;d===0?a.shift():spliceOne(a,d),a.length===1&&(u[r]=a[0]),u.removeListener!==void 0&&this.emit("removeListener",r,v||o)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function t(r){var o,a,u;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[r]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[r]),this;if(arguments.length===0){var d=Object.keys(a),g;for(u=0;u=0;u--)this.removeListener(r,o[u]);return this};function _listeners(t,r,o){var a=t._events;if(a===void 0)return[];var u=a[r];return u===void 0?[]:typeof u=="function"?o?[u.listener||u]:[u]:o?unwrapListeners(u):arrayClone(u,u.length)}EventEmitter.prototype.listeners=function t(r){return _listeners(this,r,!0)};EventEmitter.prototype.rawListeners=function t(r){return _listeners(this,r,!1)};EventEmitter.listenerCount=function(t,r){return typeof t.listenerCount=="function"?t.listenerCount(r):listenerCount.call(t,r)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(t){var r=this._events;if(r!==void 0){var o=r[t];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}EventEmitter.prototype.eventNames=function t(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(t,r){for(var o=new Array(r),a=0;a{console.warn("Socket","MESSAGE TIMEOUT: ",d,g);const v=new Error("MESSAGE TIMEOUT ("+d+"): "+JSON.stringify(g));this.emittedMessages[d]&&this.processIncomingMessage(d,{error:v,err:v})},u.timeout*1e3))),{messageId:d,messages:JSON.stringify(g).match(/.{1,100000}/g)}}processIncomingMessage(r,o,a){if(o&&o.err==="_isNull"&&(o.err=null),a==="stateChange"||a==="subscribeState"){const u=Object.values(this.stateSubscriptions[o.stateId]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d(o,a))}else if(a==="History"){const u=Object.values(this.historySubscriptions[o.subscriptionKey]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d.cb(o))}else if(a==="Calendar"){const u=Object.values(this.calendarSubscriptions[o.subscriptionKey]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d.cb(o))}else if(a&&["Log","AdapterUpdates","AdapterInstances","ScriptStatuses","CloudDevices","HistoryDevices"].includes(a.replace("subscribe","")))a=a.replace("subscribe",""),this.specialSubscriptions[a]&&this.specialSubscriptions[a].forEach(u=>u(o,a));else if(this.emittedMessages[r]&&this.emittedMessages[r].callback&&typeof this.emittedMessages[r].callback=="function")clearTimeout(this.timeoutMessages[r]),delete this.timeoutMessages[r],this.emittedMessages[r].callback(o,a),(!a||!a.toLowerCase().startsWith("subscribe"))&&delete this.emittedMessages[r];else if(this.timeoutMessages[r]!==void 0)console.warn("Socket","MESSAGE RECEIVED FOR TIMEOUT: ",r,a,o,this.emittedMessages),clearTimeout(this.timeoutMessages[r]);else if(a&&!this.emittedMessages[r]&&!this.timeoutMessages[r])if(a==="#version"){const u=Cache$1.get("versionComparison"),d="3.2.0-beta.75";if(u!==d&&d&&o&&d!==o){console.error("Reload due to version mismatch: "+d+" (App) vs. "+o+" (Server)"),Notify.create({icon:"mdi-alert",type:"negative",message:"Reload due to version mismatch: "+d+" (App) vs. "+o+" (Server)"});const g=Cache$1.get("connection",{},{ns:""});Cache$1.clear(),Cache$1.set("inconsistent",!0),Cache$1.set("connection",g,{ns:""}),Cache$1.set("versionComparison",d),setTimeout(()=>window.location.reload(),3e3)}this.emit(a,o)}else a==="#client"?(this.client=o,this.emit("clientId",this.client.id)):a==="#instance"?this.instance=o:a==="#reload"?location.reload():a==="#disconnect"?(console.error("CLIENT HAS BEEN DISCONNECTED BY SERVER!"),window.location.href=window.location.href+(window.location.href.indexOf("?")?"&":"?")+"disconnect=true",this.disconnect()):this.emit(a,o);else console.warn("Socket","UNKNOWN MESSAGE REVEIVED: ",r,o,this.emittedMessages)}setHistory(r,o,a){if(a){const u=Object.keys(o);this.send("getObject",r,({err:d,object:g})=>{g=g||{},g.common=g.common||{},g.common.custom=g.common.custom||{},Object.keys(g.common.custom).forEach(v=>{g.common.custom[v].enabled=!1}),u.forEach(v=>{g.common.custom[v]=g.common.custom[v]||o[v],g.common.custom[v].enabled=!0}),this.send("setObject",[r,g],a)})}else return new Promise((u,d)=>this.setHistory(r,o,({err:g})=>g?d(g):u()))}authenticate(r="",o){if(o)this.send("authenticate",[r],o);else return new Promise((a,u)=>this.authenticate(r,({err:d,...g})=>(d&&(d={...d,...g}),d?u(d):a(g))))}setCloud(r,o,a){if(a)this.send("getObject",r,({err:u,object:d})=>{o.action==="add"?d.common.smartName={[i18n.global.locale.value.substr(0,2)]:o.name.join(","),smartType:o.function.toUpperCase()}:d.common.smartName=null,this.send("setObject",[r,d],a)});else return new Promise((u,d)=>this.setCloud(r,o,({err:g})=>g?d(g):u()))}setObject(r,o,a){if(a)this.send("setObject",[r,o],a);else return new Promise((u,d)=>this.setObject(r,o,({err:g})=>g?d(g):u()))}getObject(r,o){if(o)this.send("getObject",r,o);else return new Promise((a,u)=>this.getObject(r,({err:d,object:g})=>d?u(d):a(g)))}getObjects(r,o){if(o)this.send("getObjects",r,o);else return new Promise((a,u)=>this.getObjects(r,({err:d,objects:g})=>d?u(d):a(g)))}getObjectView(r,o,a,u){if(typeof a=="function"&&(u=a,a=void 0),u)this.send("getObjectView",[r,o,a],u);else return new Promise((d,g)=>this.getObjectView(r,o,a,({err:v,objects:y})=>v?g(v):d(y)))}getState(r,o){if(o)this.send("getState",r,o);else return new Promise((a,u)=>this.getState(r,({err:d,state:g})=>d?u(d):a(g)))}getStates(r,o){if(o)this.send("getStates",r,o);else return new Promise((a,u)=>this.getStates(r,({err:d,states:g})=>d?u(d):a(g)))}setAdapter(r,o,a){if(a)this.send("setAdapter",[r,o],a);else return new Promise((u,d)=>this.setAdapter(r,o,({err:g,state:v})=>g?d(g):u(v)))}setScript(r,o,a){if(a)this.send("setScript",[r,o],a);else return new Promise((u,d)=>this.setScript(r,o,({err:g,state:v})=>g?d(g):u(v)))}log(r,o="info"){this.send("log",[o,r])}getRooms(r){if(r)this.send("getRooms",null,r);else return new Promise((o,a)=>this.getRooms(({err:u,rooms:d})=>u?a(u):o(d)))}readFile(r,o){if(o)this.send("readFile",[r],o);else return new Promise((a,u)=>this.readFile(r,({err:d,data:g})=>d?u(d):a(g)))}setState(r,o,a,u){if(typeof a=="function"&&(u=a,a=!0),u)this.send("setState",[r,o,a],u);else return new Promise((d,g)=>this.setState(r,o,a,({err:v})=>v?g(v):d()))}getSpecial(r,o,a){if(a)this.send("getSpecial",[r,o],a);else return new Promise((u,d)=>this.getSpecial(r,o,({err:g,...v})=>g?d(g):u(...v)))}unsubscribeSpecial(r,o){if(this.specialSubscriptions[r]&&this.specialSubscriptions[r].indexOf(o)!==-1){const a=this.specialSubscriptions[r].findIndex(u=>u===o);delete this.specialSubscriptions[r].splice(a,1)}}subscribeSpecial(r,o,a){typeof o=="function"&&(a=o,o={}),(!this.specialSubscriptions[r]||this.specialSubscriptions[r].indexOf(a)===-1)&&(this.specialSubscriptions[r]=this.specialSubscriptions[r]||[],this.specialSubscriptions[r].push(a)),this.send("subscribe"+r,o)}subscribeCalendar(r,o,a,u){this.calendarSubscriptions[r]=this.calendarSubscriptions[r]||[],this.calendarSubscriptions[r].push({cb:u,subscriptionKey:r,calendar:o,options:a}),this.send("subscribeCalendar",[r,o,a],u)}subscribeHistory(r,o,a,u){this.historySubscriptions[r]=this.historySubscriptions[r]||[],this.historySubscriptions[r].push({cb:u,subscriptionKey:r,stateId:o,options:a}),this.send("subscribeHistory",[r,o,a],u)}subscribeState(r,o){if(!r)return o({err:new Error("No state given for subscription!")}),!1;r=r.replace(/{clientId}/g,this.clientId),this.stateSubscriptions[r]=this.stateSubscriptions[r]||{};const a=v4();return this.stateSubscriptions[r][a]=o,this.delayStateRequests[r]&&clearTimeout(this.delayStateRequests[r]),this.delayStateRequests[r]=setTimeout(()=>this.send("subscribeState",r),50),r+":"+a}subscribeStates(r,o){return r=Array.isArray(r)?r:[r],r.map(a=>this.subscribeState(a,o))}unsubscribeStates(r){this.stateSubscriptions&&r&&Array.isArray(r)&&r.forEach(o=>{const[a,u]=o.split(":");this.stateSubscriptions[a]&&this.stateSubscriptions[a][u]&&delete this.stateSubscriptions[a][u]})}refreshSubscribedStates(r=null){for(const o in this.stateSubscriptions)o.startsWith("jarvis.")||Object.values(this.stateSubscriptions[o]).forEach(a=>{this.send("getState",o,a)})}unsubscribe(r,o,a,u){this.send("unsubscribe",[r,o,a],u),this.historySubscriptions[o]&&delete this.historySubscriptions[o]}reset(){this.stateSubscriptions={},this.historySubscriptions={}}}class ws extends Socket{constructor(r){super(),this.bufferEnabled=!1,this.buffer=[],this.errorCodes={1e3:"Normal closure, meaning that the purpose for which the connection was established has been fulfilled.",1001:'An endpoint is "going away", such as a server going down or a browser having navigated away from a page.',1002:"An endpoint is terminating the connection due to a protocol error.",1003:"An endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).",1004:"Reserved. The specific meaning might be defined in the future.",1005:"No status code was actually present.",1006:"The connection was closed abnormally, e.g., without sending or receiving a Close control frame.",1007:"An endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [https://www.rfc-editor.org/rfc/rfc3629] data within a text message).",1008:'An endpoint is terminating the connection because it has received a message that "violates its policy". This reason is given either if there is no other sutible reason, or if there is a need to hide specific details about the policy.',1009:"An endpoint is terminating the connection because it has received a message that is too big for it to process.",1010:"An endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.",1011:"A server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.",1015:"The connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."}}connect(r,o={}){const a=useJarvis();let u=null;return this.disconnected===!0?Promise.reject(new Error('Connection to "'+r+'" got disconnected on purpose, thus connection canceled!')):(r=r.replace("http","ws"),new Promise((d,g)=>{u=setTimeout(()=>g(new Error('Connection to "'+r+'" not established due to timeout!')),5*1e3);const v=[];this.client&&v.push("clientId="+encodeURIComponent(this.client.id)),this.client&&v.push("instanceId="+encodeURIComponent(this.client.instanceId)),v.push("userAgent="+encodeURIComponent(Platform.userAgent)),this.socket=new WebSocket(r+"?"+v.join("&")),this.socket.id=v4(),this.socket.onopen=()=>(u&&clearTimeout(u),console.log("Socket","Connected to "+r+"."),this.url=r,a.set("connection","connected"),this.socket.send(JSON.stringify({event:"authenticate",payload:{role:"client",serverId:"iobrokerid"}})),console.log("Socket","Listen for messages.."),this.listener(),this.pinger(),window.Socket=this,d({socket:this,url:r})),this.socket.onerror=y=>{console.warn("Socket","Connecting to {url} errored!".replace("{url}",r)),window.Socket=null,a.set("connection",!1),g(y)},this.socket.onclose=y=>{console.debug("Socket","Connection to "+r+" closed."),window.Socket=null,a.set("connection",!1),this.url&&!this.tryToReconnect&&this.disconnected!==!0&&this.reconnect()}}))}pinger(){this.pingTimer=setTimeout(()=>this.pinger(),60*1e3),this.send("ping")}reconnect(r=1){const o=useJarvis();return this.disconnected!==!0&&this.tryToReconnect!==!0?(o.set("connection","reconnect"),this.tryToReconnect=!0,console.log("Socket","Attempt to reconnect to "+this.url+" ("+r+")..."),this.connect(this.url,{}).then(({socket:a,url:u})=>(o.set("connection","established"),a.authenticate().then(()=>({socket:a,url:u})).catch(d=>{throw this.tryToReconnect=!1,o.set("authentication.page",d.authenticationMethod),createRouter.push({name:"Login"}).catch(g=>console.error(g)),d}))).then(({socket:a,url:u})=>{o.set("connection","connected"),this.tryToReconnect=!1,this.reloads++,this.emittedMessages={},this.timeoutMessages={},console.info("Socket","Re-Subscribe to states",this.stateSubscriptions);for(const d in this.stateSubscriptions)Object.values(this.stateSubscriptions[d]).forEach(g=>g&&this.subscribeState(d,g));console.info("Socket","Re-Subscribe to history",this.historySubscriptions);for(const d in this.historySubscriptions)this.historySubscriptions[d].forEach(g=>g&&this.subscribeHistory(d,g.stateId,g.options,g.cb));return console.info("Socket","Re-Subscribe to adapter instances"),ioBroker.subscribeAdapterInstances(),{socket:a,url:u}}).catch(a=>{a.authenticationMethod===void 0&&(r++,setTimeout(()=>{this.tryToReconnect=!1,this.reconnect(r)},5e3))})):Promise.reject("Already reconnecting!")}disconnect(){this.disconnected=!0,this.socket&&this.socket.close(),this.socket=null,this.pingTimer&&clearTimeout(this.pingTimer),this.client=null,this.buffer=[]}listener(){const r={};this.socket.onmessage=o=>{try{const a=JSON.parse(o.data),{messageId:u,action:d,index:g,length:v,chunk:y}=a;if(r[u]=r[u]||{},r[u][g]=y,Object.keys(r[u]).length===v){const A=JSON.parse(Object.values(r[u]).join(""));this.processIncomingMessage(u,A,d),delete r[u]}}catch(a){console.warn("Socket",a.message,a)}}}send(...r){const{messageId:o,messages:a}=this.prepareMessageChunks(...r);if(this.socket&&this.socket.readyState===1){this.bufferEnabled&&this.buffer.length>0&&(console.debug("Socket reconnected, "+this.buffer.length+" buffered messages will be send..."),this.buffer.forEach(d=>{const g=a.length;d.messages.forEach((v,y)=>{this.socket.send(JSON.stringify({event:"message",messageId:d.messageId,index:y,length:g,chunk:v}))})}),this.buffer=[]);const u=a.length;a.forEach((d,g)=>{this.socket.send(JSON.stringify({event:"message",messageId:o,index:g,length:u,chunk:d}))})}else this.bufferEnabled&&console.debug("Socket not connected. Message buffered...",a)}}class Connection{static connect(r=null,o={}){return r=r||Connection._url||window.location.origin,Connection._connection&&Connection._connection.socket&&Connection._connection.socket.readyState===1?(console.log("Connection","Connection still established.",Connection._connection.url),Promise.resolve({socket:Connection._connection,url:Connection._url})):(o&&(o.secure||o.socketSecure)&&(o.allowUntrusted||o.secureTrustUnsecureCerts)&&SslSkip&&SslSkip.setAllowUntrusted&&SslSkip.setAllowUntrusted({allowUntrusted:o.allowUntrusted||o.secureTrustUnsecureCerts}).catch(u=>{u.message.indexOf("is not implemented on web")===-1&&console.error(u.message)}),new ws().connect(r,o).then(u=>{Connection._url=u.url,Connection._connection=u.socket;const d=Cache$1.get("recentConnections",[],{ns:""});return d.find(g=>g.socketUrl===u.url)||(d.push({...o,socketUrl:u.url}),Cache$1.set("recentConnections",d,{ns:""})),u}))}static get getConnection(){return Connection._connection||null}}const app=createApp({});app.config.errorHandler=(t,r,o)=>{console.error("Global",t&&t.message||t)};window.console=config$n.get("IS_DEV")?window.console:function(t){(!window.console||!t)&&(t={});const r=o=>{if(typeof o!="object")return o;const a=[];return JSON.stringify(o,(u,d)=>{if(d!==null&&typeof d=="object"){if(a.indexOf(d)!==-1)return;a.push(d)}return d})};return{log:function(){this.handleLog([...arguments],"logs"),t.log&&t.log.apply(t,arguments)},warn:function(){this.handleLog([...arguments],"warn"),t.warn&&t.warn.apply(t,arguments)},error:function(){this.handleLog([...arguments],"error"),t.error&&t.error.apply(t,arguments)},info:function(){this.handleLog([...arguments],"info"),t.info&&t.info.apply(t,arguments)},debug:function(){this.handleLog([...arguments],"debug"),t.debug&&t.debug.apply(t,arguments)},handleLog:function(o,a){o=o.map(d=>(d=d instanceof Error?d.message:d,d=Array.isArray(d)?d.join(", "):d,d=typeof d=="object"?r(d):d,d));const u=Connection.getConnection;u&&u.send("log",[a,o],()=>{})}}}(window.console);const useNotifications=defineStore("notifications",{state:()=>({all:[],new:null}),getters:{getAll(t){return t.all},getNew(t){return t.new},getUnread(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return(!o.state||o.state==="unread")&&(!a||a.includes(r.client.id))})},getActive(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return o.state!=="archived"&&(!a||a.includes(r.client.id))}).reverse()},getArchived(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return o.state==="archived"&&(!a||a.includes(r.client.id))}).reverse()}},actions:{setAll(t){const r=!t.notifications||!Array.isArray(t.notifications)?[]:t.notifications.map(o=>({...o,id:o.id||v4()}));JSON.stringify(r)!==JSON.stringify(this.all)&&(this.all=r)},setNew(t){this.new={ts:Date.now(),...t||{}}},set(t){const r=this.all.findIndex(o=>o.id===t.notificationId);r>-1&&(this.all.splice(r,1,{...this.all[r],...t.props}),this.save({notifications:this.all}))},del(t){const r=this.all.findIndex(o=>o.id===t.notificationId);r>-1&&(this.all.splice(r,1),this.save({notifications:this.all}))},save(t){Connection.getConnection.setState(config$n.get("NODE_NOTIFICATIONS"),JSON.stringify(t.notifications),!1).catch(o=>console.warn("Notifications",o.message||o))},subscribe(){if(!Pro.isPro())return Promise.reject("Notifications is only available to Pro!");const t=Connection.getConnection;return t.on("notification",r=>{r=Array.isArray(r)?r:[r],this.setNew({notifications:r})}),t.subscribeState(config$n.get("NODE_NOTIFICATIONS"),({err:r,state:o})=>{let a=[];if(!r&&o&&o.val)try{a=JSON.parse(o.val),this.setAll({notifications:a}),this.new&&this.new.notifications&&this.new.notifications.forEach(u=>{const d=a.find(g=>g.id===u.id);d&&u.state!==d.state&&this.setNew(null)})}catch(u){console.warn(u)}}),Promise.resolve()}}});var check=function(t){return t&&t.Math===Math&&t},globalThis_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||check(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$f=function(t){try{return!!t()}catch(r){return!0}},fails$e=fails$f,descriptors=!fails$e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),fails$d=fails$f,functionBindNative=!fails$d(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,call$8=Function.prototype.call,functionCall=NATIVE_BIND$1?call$8.bind(call$8):function(){return call$8.apply(call$8,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function t(r){var o=getOwnPropertyDescriptor$1(this,r);return!!o&&o.enumerable}:$propertyIsEnumerable;var createPropertyDescriptor$3=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}},NATIVE_BIND=functionBindNative,FunctionPrototype$1=Function.prototype,call$7=FunctionPrototype$1.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype$1.bind.bind(call$7,call$7),functionUncurryThis=NATIVE_BIND?uncurryThisWithBind:function(t){return function(){return call$7.apply(t,arguments)}},uncurryThis$d=functionUncurryThis,toString$7=uncurryThis$d({}.toString),stringSlice$3=uncurryThis$d("".slice),classofRaw$2=function(t){return stringSlice$3(toString$7(t),8,-1)},uncurryThis$c=functionUncurryThis,fails$c=fails$f,classof$6=classofRaw$2,$Object$4=Object,split$1=uncurryThis$c("".split),indexedObject=fails$c(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(t){return classof$6(t)==="String"?split$1(t,""):$Object$4(t)}:$Object$4,isNullOrUndefined$4=function(t){return t==null},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$8=TypeError,requireObjectCoercible$4=function(t){if(isNullOrUndefined$3(t))throw new $TypeError$8("Can't call method on "+t);return t},IndexedObject=indexedObject,requireObjectCoercible$3=requireObjectCoercible$4,toIndexedObject$4=function(t){return IndexedObject(requireObjectCoercible$3(t))},documentAll=typeof document=="object"&&document.all,isCallable$f=typeof documentAll=="undefined"&&documentAll!==void 0?function(t){return typeof t=="function"||t===documentAll}:function(t){return typeof t=="function"},isCallable$e=isCallable$f,isObject$j=function(t){return typeof t=="object"?t!==null:isCallable$e(t)},globalThis$e=globalThis_1,isCallable$d=isCallable$f,aFunction=function(t){return isCallable$d(t)?t:void 0},getBuiltIn$4=function(t,r){return arguments.length<2?aFunction(globalThis$e[t]):globalThis$e[t]&&globalThis$e[t][r]},uncurryThis$b=functionUncurryThis,objectIsPrototypeOf=uncurryThis$b({}.isPrototypeOf),globalThis$d=globalThis_1,navigator$1=globalThis$d.navigator,userAgent$2=navigator$1&&navigator$1.userAgent,environmentUserAgent=userAgent$2?String(userAgent$2):"",globalThis$c=globalThis_1,userAgent$1=environmentUserAgent,process$1=globalThis$c.process,Deno=globalThis$c.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,match$1,version$2;v8&&(match$1=v8.split("."),version$2=match$1[0]>0&&match$1[0]<4?1:+(match$1[0]+match$1[1]));!version$2&&userAgent$1&&(match$1=userAgent$1.match(/Edge\/(\d+)/),(!match$1||match$1[1]>=74)&&(match$1=userAgent$1.match(/Chrome\/(\d+)/),match$1&&(version$2=+match$1[1])));var environmentV8Version=version$2,V8_VERSION=environmentV8Version,fails$b=fails$f,globalThis$b=globalThis_1,$String$4=globalThis$b.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$b(function(){var t=Symbol("symbol detection");return!$String$4(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",getBuiltIn$3=getBuiltIn$4,isCallable$c=isCallable$f,isPrototypeOf$1=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$6=USE_SYMBOL_AS_UID$1?function(t){return typeof t=="symbol"}:function(t){var r=getBuiltIn$3("Symbol");return isCallable$c(r)&&isPrototypeOf$1(r.prototype,$Object$3(t))},$String$3=String,tryToString$2=function(t){try{return $String$3(t)}catch(r){return"Object"}},isCallable$b=isCallable$f,tryToString$1=tryToString$2,$TypeError$7=TypeError,aCallable$1=function(t){if(isCallable$b(t))return t;throw new $TypeError$7(tryToString$1(t)+" is not a function")},aCallable=aCallable$1,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$2=function(t,r){var o=t[r];return isNullOrUndefined$2(o)?void 0:aCallable(o)},call$6=functionCall,isCallable$a=isCallable$f,isObject$i=isObject$j,$TypeError$6=TypeError,ordinaryToPrimitive$1=function(t,r){var o,a;if(r==="string"&&isCallable$a(o=t.toString)&&!isObject$i(a=call$6(o,t))||isCallable$a(o=t.valueOf)&&!isObject$i(a=call$6(o,t))||r!=="string"&&isCallable$a(o=t.toString)&&!isObject$i(a=call$6(o,t)))return a;throw new $TypeError$6("Can't convert object to primitive value")},sharedStore={exports:{}},isPure=!1,globalThis$a=globalThis_1,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$5(globalThis$a,t,{value:r,configurable:!0,writable:!0})}catch(o){globalThis$a[t]=r}return r},globalThis$9=globalThis_1,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=sharedStore.exports=globalThis$9[SHARED]||defineGlobalProperty$2(SHARED,{});(store$3.versions||(store$3.versions=[])).push({version:"3.38.1",mode:"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var store$2=sharedStore.exports,shared$4=function(t,r){return store$2[t]||(store$2[t]=r||{})},requireObjectCoercible$2=requireObjectCoercible$4,$Object$2=Object,toObject$2=function(t){return $Object$2(requireObjectCoercible$2(t))},uncurryThis$a=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty$f=uncurryThis$a({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function t(r,o){return hasOwnProperty$f(toObject$1(r),o)},uncurryThis$9=functionUncurryThis,id=0,postfix=Math.random(),toString$6=uncurryThis$9(1 .toString),uid$2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+toString$6(++id+postfix,36)},globalThis$8=globalThis_1,shared$3=shared$4,hasOwn$a=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$6=globalThis$8.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$6.for||Symbol$6:Symbol$6&&Symbol$6.withoutSetter||uid$1,wellKnownSymbol$8=function(t){return hasOwn$a(WellKnownSymbolsStore,t)||(WellKnownSymbolsStore[t]=NATIVE_SYMBOL&&hasOwn$a(Symbol$6,t)?Symbol$6[t]:createWellKnownSymbol("Symbol."+t)),WellKnownSymbolsStore[t]},call$5=functionCall,isObject$h=isObject$j,isSymbol$5=isSymbol$6,getMethod$1=getMethod$2,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$7=wellKnownSymbol$8,$TypeError$5=TypeError,TO_PRIMITIVE=wellKnownSymbol$7("toPrimitive"),toPrimitive$1=function(t,r){if(!isObject$h(t)||isSymbol$5(t))return t;var o=getMethod$1(t,TO_PRIMITIVE),a;if(o){if(r===void 0&&(r="default"),a=call$5(o,t,r),!isObject$h(a)||isSymbol$5(a))return a;throw new $TypeError$5("Can't convert object to primitive value")}return r===void 0&&(r="number"),ordinaryToPrimitive(t,r)},toPrimitive=toPrimitive$1,isSymbol$4=isSymbol$6,toPropertyKey$2=function(t){var r=toPrimitive(t,"string");return isSymbol$4(r)?r:r+""},globalThis$7=globalThis_1,isObject$g=isObject$j,document$1=globalThis$7.document,EXISTS$1=isObject$g(document$1)&&isObject$g(document$1.createElement),documentCreateElement$1=function(t){return EXISTS$1?document$1.createElement(t):{}},DESCRIPTORS$7=descriptors,fails$a=fails$f,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$7&&!fails$a(function(){return Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a!==7}),DESCRIPTORS$6=descriptors,call$4=functionCall,propertyIsEnumerableModule=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$3=toIndexedObject$4,toPropertyKey$1=toPropertyKey$2,hasOwn$9=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function t(r,o){if(r=toIndexedObject$3(r),o=toPropertyKey$1(o),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(r,o)}catch(a){}if(hasOwn$9(r,o))return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule.f,r,o),r[o])};var objectDefineProperty={},DESCRIPTORS$5=descriptors,fails$9=fails$f,v8PrototypeDefineBug=DESCRIPTORS$5&&fails$9(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),isObject$f=isObject$j,$String$2=String,$TypeError$4=TypeError,anObject$8=function(t){if(isObject$f(t))return t;throw new $TypeError$4($String$2(t)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$3=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG$1?function t(r,o,a){if(anObject$7(r),o=toPropertyKey(o),anObject$7(a),typeof r=="function"&&o==="prototype"&&"value"in a&&WRITABLE in a&&!a[WRITABLE]){var u=$getOwnPropertyDescriptor(r,o);u&&u[WRITABLE]&&(r[o]=a.value,a={configurable:CONFIGURABLE$1 in a?a[CONFIGURABLE$1]:u[CONFIGURABLE$1],enumerable:ENUMERABLE in a?a[ENUMERABLE]:u[ENUMERABLE],writable:!1})}return $defineProperty(r,o,a)}:$defineProperty:function t(r,o,a){if(anObject$7(r),o=toPropertyKey(o),anObject$7(a),IE8_DOM_DEFINE)try{return $defineProperty(r,o,a)}catch(u){}if("get"in a||"set"in a)throw new $TypeError$3("Accessors not supported");return"value"in a&&(r[o]=a.value),r};var DESCRIPTORS$3=descriptors,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$2=DESCRIPTORS$3?function(t,r,o){return definePropertyModule$3.f(t,r,createPropertyDescriptor$1(1,o))}:function(t,r,o){return t[r]=o,t},makeBuiltIn$2={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$8=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$8(FunctionPrototype,"name"),PROPER=EXISTS&&function t(){}.name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||DESCRIPTORS$2&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS,PROPER,CONFIGURABLE},uncurryThis$8=functionUncurryThis,isCallable$9=isCallable$f,store$1=sharedStore.exports,functionToString=uncurryThis$8(Function.toString);isCallable$9(store$1.inspectSource)||(store$1.inspectSource=function(t){return functionToString(t)});var inspectSource$2=store$1.inspectSource,globalThis$6=globalThis_1,isCallable$8=isCallable$f,WeakMap$5=globalThis$6.WeakMap,weakMapBasicDetection=isCallable$8(WeakMap$5)&&/native code/.test(String(WeakMap$5)),shared$2=shared$4,uid=uid$2,keys$5=shared$2("keys"),sharedKey$3=function(t){return keys$5[t]||(keys$5[t]=uid(t))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,globalThis$5=globalThis_1,isObject$e=isObject$j,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$7=hasOwnProperty_1,shared$1=sharedStore.exports,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=globalThis$5.TypeError,WeakMap$4=globalThis$5.WeakMap,set$2,get$3,has$5,enforce=function(t){return has$5(t)?get$3(t):set$2(t,{})},getterFor=function(t){return function(r){var o;if(!isObject$e(r)||(o=get$3(r)).type!==t)throw new TypeError$1("Incompatible receiver, "+t+" required");return o}};if(NATIVE_WEAK_MAP||shared$1.state){var store=shared$1.state||(shared$1.state=new WeakMap$4);store.get=store.get,store.has=store.has,store.set=store.set,set$2=function(t,r){if(store.has(t))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return r.facade=t,store.set(t,r),r},get$3=function(t){return store.get(t)||{}},has$5=function(t){return store.has(t)}}else{var STATE=sharedKey$2("state");hiddenKeys$3[STATE]=!0,set$2=function(t,r){if(hasOwn$7(t,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return r.facade=t,createNonEnumerableProperty$1(t,STATE,r),r},get$3=function(t){return hasOwn$7(t,STATE)?t[STATE]:{}},has$5=function(t){return hasOwn$7(t,STATE)}}var internalState={set:set$2,get:get$3,has:has$5,enforce,getterFor},uncurryThis$7=functionUncurryThis,fails$8=fails$f,isCallable$7=isCallable$f,hasOwn$6=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$1=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$2=InternalStateModule$1.get,$String$1=String,defineProperty$4=Object.defineProperty,stringSlice$2=uncurryThis$7("".slice),replace$1=uncurryThis$7("".replace),join=uncurryThis$7([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$8(function(){return defineProperty$4(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(t,r,o){stringSlice$2($String$1(r),0,7)==="Symbol("&&(r="["+replace$1($String$1(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(r="get "+r),o&&o.setter&&(r="set "+r),(!hasOwn$6(t,"name")||CONFIGURABLE_FUNCTION_NAME&&t.name!==r)&&(DESCRIPTORS$1?defineProperty$4(t,"name",{value:r,configurable:!0}):t.name=r),CONFIGURABLE_LENGTH&&o&&hasOwn$6(o,"arity")&&t.length!==o.arity&&defineProperty$4(t,"length",{value:o.arity});try{o&&hasOwn$6(o,"constructor")&&o.constructor?DESCRIPTORS$1&&defineProperty$4(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(u){}var a=enforceInternalState(t);return hasOwn$6(a,"source")||(a.source=join(TEMPLATE,typeof r=="string"?r:"")),t};Function.prototype.toString=makeBuiltIn$1(function t(){return isCallable$7(this)&&getInternalState$2(this).source||inspectSource$1(this)},"toString");var isCallable$6=isCallable$f,definePropertyModule$2=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(t,r,o,a){a||(a={});var u=a.enumerable,d=a.name!==void 0?a.name:r;if(isCallable$6(o)&&makeBuiltIn(o,d,a),a.global)u?t[r]=o:defineGlobalProperty$1(r,o);else{try{a.unsafe?t[r]&&(u=!0):delete t[r]}catch(g){}u?t[r]=o:definePropertyModule$2.f(t,r,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function t(r){var o=+r;return(o>0?floor:ceil)(o)},trunc=mathTrunc,toIntegerOrInfinity$3=function(t){var r=+t;return r!==r||r===0?0:trunc(r)},toIntegerOrInfinity$2=toIntegerOrInfinity$3,max$4=Math.max,min$5=Math.min,toAbsoluteIndex$1=function(t,r){var o=toIntegerOrInfinity$2(t);return o<0?max$4(o+r,0):min$5(o,r)},toIntegerOrInfinity$1=toIntegerOrInfinity$3,min$4=Math.min,toLength$2=function(t){var r=toIntegerOrInfinity$1(t);return r>0?min$4(r,9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$1=function(t){return toLength$1(t.length)},toIndexedObject$2=toIndexedObject$4,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod$1=function(t){return function(r,o,a){var u=toIndexedObject$2(r),d=lengthOfArrayLike(u);if(d===0)return!t&&-1;var g=toAbsoluteIndex(a,d),v;if(t&&o!==o){for(;d>g;)if(v=u[g++],v!==v)return!0}else for(;d>g;g++)if((t||g in u)&&u[g]===o)return t||g||0;return!t&&-1}},arrayIncludes={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},uncurryThis$6=functionUncurryThis,hasOwn$5=hasOwnProperty_1,toIndexedObject$1=toIndexedObject$4,indexOf$3=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$1=uncurryThis$6([].push),objectKeysInternal=function(t,r){var o=toIndexedObject$1(t),a=0,u=[],d;for(d in o)!hasOwn$5(hiddenKeys$2,d)&&hasOwn$5(o,d)&&push$1(u,d);for(;r.length>a;)hasOwn$5(o,d=r[a++])&&(~indexOf$3(u,d)||push$1(u,d));return u},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$2.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function t(r){return internalObjectKeys$1(r,hiddenKeys$1)};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var getBuiltIn$2=getBuiltIn$4,uncurryThis$5=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat=uncurryThis$5([].concat),ownKeys$2=getBuiltIn$2("Reflect","ownKeys")||function t(r){var o=getOwnPropertyNamesModule.f(anObject$6(r)),a=getOwnPropertySymbolsModule.f;return a?concat(o,a(r)):o},hasOwn$4=hasOwnProperty_1,ownKeys$1=ownKeys$2,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(t,r,o){for(var a=ownKeys$1(r),u=definePropertyModule$1.f,d=getOwnPropertyDescriptorModule.f,g=0;gg;)definePropertyModule.f(r,v=u[g++],a[v]);return r};var getBuiltIn$1=getBuiltIn$4,html$2=getBuiltIn$1("document","documentElement"),anObject$4=anObject$8,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$1("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return LT+SCRIPT+GT+t+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(t){t.write(scriptTag("")),t.close();var r=t.parentWindow.Object;return t=null,r},NullProtoObjectViaIFrame=function(){var t=documentCreateElement("iframe"),r="java"+SCRIPT+":",o;return t.style.display="none",html$1.appendChild(t),t.src=String(r),o=t.contentWindow.document,o.open(),o.write(scriptTag("document.F=Object")),o.close(),o.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(r){}NullProtoObject=typeof document!="undefined"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var t=enumBugKeys.length;t--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[t]];return NullProtoObject()};hiddenKeys[IE_PROTO$1]=!0;var objectCreate$1=Object.create||function t(r,o){var a;return r!==null?(EmptyConstructor[PROTOTYPE]=anObject$4(r),a=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,a[IE_PROTO$1]=r):a=NullProtoObject(),o===void 0?a:definePropertiesModule.f(a,o)},fails$6=fails$f,correctPrototypeGetter=!fails$6(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),hasOwn$3=hasOwnProperty_1,isCallable$4=isCallable$f,toObject=toObject$2,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey("IE_PROTO"),$Object$1=Object,ObjectPrototype=$Object$1.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object$1.getPrototypeOf:function(t){var r=toObject(t);if(hasOwn$3(r,IE_PROTO))return r[IE_PROTO];var o=r.constructor;return isCallable$4(o)&&r instanceof o?o.prototype:r instanceof $Object$1?ObjectPrototype:null},fails$5=fails$f,isCallable$3=isCallable$f,isObject$d=isObject$j,getPrototypeOf=objectGetPrototypeOf,defineBuiltIn$1=defineBuiltIn$3,wellKnownSymbol$6=wellKnownSymbol$8,ITERATOR=wellKnownSymbol$6("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$d(IteratorPrototype$1)||fails$5(function(){var t={};return IteratorPrototype$1[ITERATOR].call(t)!==t});NEW_ITERATOR_PROTOTYPE&&(IteratorPrototype$1={});isCallable$3(IteratorPrototype$1[ITERATOR])||defineBuiltIn$1(IteratorPrototype$1,ITERATOR,function(){return this});var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS},defineProperty$3=objectDefineProperty.f,hasOwn$2=hasOwnProperty_1,wellKnownSymbol$5=wellKnownSymbol$8,TO_STRING_TAG$2=wellKnownSymbol$5("toStringTag"),setToStringTag$1=function(t,r,o){t&&!o&&(t=t.prototype),t&&!hasOwn$2(t,TO_STRING_TAG$2)&&defineProperty$3(t,TO_STRING_TAG$2,{configurable:!0,value:r})},IteratorPrototype=iteratorsCore.IteratorPrototype,create$4=objectCreate$1,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag=setToStringTag$1,iteratorCreateConstructor=function(t,r,o,a){var u=r+" Iterator";return t.prototype=create$4(IteratorPrototype,{next:createPropertyDescriptor(+!a,o)}),setToStringTag(t,u,!1),t},createIterResultObject$1=function(t,r){return{value:t,done:r}},wellKnownSymbol$4=wellKnownSymbol$8,TO_STRING_TAG$1=wellKnownSymbol$4("toStringTag"),test={};test[TO_STRING_TAG$1]="z";var toStringTagSupport=String(test)==="[object z]",TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$2=isCallable$f,classofRaw=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$8,TO_STRING_TAG=wellKnownSymbol$3("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(t,r){try{return t[r]}catch(o){}},classof$5=TO_STRING_TAG_SUPPORT?classofRaw:function(t){var r,o,a;return t===void 0?"Undefined":t===null?"Null":typeof(o=tryGet(r=$Object(t),TO_STRING_TAG))=="string"?o:CORRECT_ARGUMENTS?classofRaw(r):(a=classofRaw(r))==="Object"&&isCallable$2(r.callee)?"Arguments":a},classof$4=classof$5,$String=String,toString$5=function(t){if(classof$4(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(t)},isObject$c=isObject$j,classof$3=classofRaw$2,wellKnownSymbol$2=wellKnownSymbol$8,MATCH=wellKnownSymbol$2("match"),isRegexp=function(t){var r;return isObject$c(t)&&((r=t[MATCH])!==void 0?!!r:classof$3(t)==="RegExp")},anObject$3=anObject$8,regexpFlags$1=function(){var t=anObject$3(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},call$3=functionCall,hasOwn$1=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$1=RegExp.prototype,regexpGetFlags=function(t){var r=t.flags;return r===void 0&&!("flags"in RegExpPrototype$1)&&!hasOwn$1(t,"flags")&&isPrototypeOf(RegExpPrototype$1,t)?call$3(regExpFlags,t):r},uncurryThis$3=functionUncurryThis,fails$4=fails$f,isCallable$1=isCallable$f,classof$2=classof$5,getBuiltIn=getBuiltIn$4,inspectSource=inspectSource$2,noop$2=function(){},construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop$2),isConstructorModern=function t(r){if(!isCallable$1(r))return!1;try{return construct(noop$2,[],r),!0}catch(o){return!1}},isConstructorLegacy=function t(r){if(!isCallable$1(r))return!1;switch(classof$2(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(r))}catch(o){return!0}};isConstructorLegacy.sham=!0;var isConstructor$1=!construct||fails$4(function(){var t;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){t=!0})||t})?isConstructorLegacy:isConstructorModern,isConstructor=isConstructor$1,tryToString=tryToString$2,$TypeError$2=TypeError,aConstructor$1=function(t){if(isConstructor(t))return t;throw new $TypeError$2(tryToString(t)+" is not a constructor")},anObject$2=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$1=wellKnownSymbol$8,SPECIES=wellKnownSymbol$1("species"),speciesConstructor$1=function(t,r){var o=anObject$2(t).constructor,a;return o===void 0||isNullOrUndefined$1(a=anObject$2(o)[SPECIES])?r:aConstructor(a)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity=toIntegerOrInfinity$3,toString$4=toString$5,requireObjectCoercible$1=requireObjectCoercible$4,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$1=uncurryThis$2("".slice),createMethod=function(t){return function(r,o){var a=toString$4(requireObjectCoercible$1(r)),u=toIntegerOrInfinity(o),d=a.length,g,v;return u<0||u>=d?t?"":void 0:(g=charCodeAt(a,u),g<55296||g>56319||u+1===d||(v=charCodeAt(a,u+1))<56320||v>57343?t?charAt$2(a,u):g:t?stringSlice$1(a,u,u+2):(g-55296<<10)+(v-56320)+65536)}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(t,r,o){return r+(o?charAt$1(t,r).length:1)},fails$3=fails$f,globalThis$3=globalThis_1,$RegExp$2=globalThis$3.RegExp,UNSUPPORTED_Y$1=fails$3(function(){var t=$RegExp$2("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$3(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$3(function(){var t=$RegExp$2("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),regexpStickyHelpers={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$2=fails$f,globalThis$2=globalThis_1,$RegExp$1=globalThis$2.RegExp,regexpUnsupportedDotAll=fails$2(function(){var t=$RegExp$1(".","s");return!(t.dotAll&&t.test(` + */(function(t){var r=base64Js,o=ieee754,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=v,t.SlowBuffer=F,t.INSPECT_MAX_BYTES=50;var u=2147483647;t.kMaxLength=u,v.TYPED_ARRAY_SUPPORT=d(),!v.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&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 d(){try{var le=new Uint8Array(1),re={foo:function(){return 42}};return Object.setPrototypeOf(re,Uint8Array.prototype),Object.setPrototypeOf(le,re),le.foo()===42}catch(ue){return!1}}Object.defineProperty(v.prototype,"parent",{enumerable:!0,get:function(){if(!!v.isBuffer(this))return this.buffer}}),Object.defineProperty(v.prototype,"offset",{enumerable:!0,get:function(){if(!!v.isBuffer(this))return this.byteOffset}});function g(le){if(le>u)throw new RangeError('The value "'+le+'" is invalid for option "size"');var re=new Uint8Array(le);return Object.setPrototypeOf(re,v.prototype),re}function v(le,re,ue){if(typeof le=="number"){if(typeof re=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(le)}return y(le,re,ue)}v.poolSize=8192;function y(le,re,ue){if(typeof le=="string")return w(le,re);if(ArrayBuffer.isView(le))return C(le);if(le==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le);if(Ce(le,ArrayBuffer)||le&&Ce(le.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ce(le,SharedArrayBuffer)||le&&Ce(le.buffer,SharedArrayBuffer)))return T(le,re,ue);if(typeof le=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var be=le.valueOf&&le.valueOf();if(be!=null&&be!==le)return v.from(be,re,ue);var ie=I(le);if(ie)return ie;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof le[Symbol.toPrimitive]=="function")return v.from(le[Symbol.toPrimitive]("string"),re,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le)}v.from=function(le,re,ue){return y(le,re,ue)},Object.setPrototypeOf(v.prototype,Uint8Array.prototype),Object.setPrototypeOf(v,Uint8Array);function A(le){if(typeof le!="number")throw new TypeError('"size" argument must be of type number');if(le<0)throw new RangeError('The value "'+le+'" is invalid for option "size"')}function b(le,re,ue){return A(le),le<=0?g(le):re!==void 0?typeof ue=="string"?g(le).fill(re,ue):g(le).fill(re):g(le)}v.alloc=function(le,re,ue){return b(le,re,ue)};function _(le){return A(le),g(le<0?0:E(le)|0)}v.allocUnsafe=function(le){return _(le)},v.allocUnsafeSlow=function(le){return _(le)};function w(le,re){if((typeof re!="string"||re==="")&&(re="utf8"),!v.isEncoding(re))throw new TypeError("Unknown encoding: "+re);var ue=O(le,re)|0,be=g(ue),ie=be.write(le,re);return ie!==ue&&(be=be.slice(0,ie)),be}function S(le){for(var re=le.length<0?0:E(le.length)|0,ue=g(re),be=0;be=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return le|0}function F(le){return+le!=le&&(le=0),v.alloc(+le)}v.isBuffer=function(re){return re!=null&&re._isBuffer===!0&&re!==v.prototype},v.compare=function(re,ue){if(Ce(re,Uint8Array)&&(re=v.from(re,re.offset,re.byteLength)),Ce(ue,Uint8Array)&&(ue=v.from(ue,ue.offset,ue.byteLength)),!v.isBuffer(re)||!v.isBuffer(ue))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(re===ue)return 0;for(var be=re.length,ie=ue.length,oe=0,me=Math.min(be,ie);oeie.length?v.from(me).copy(ie,oe):Uint8Array.prototype.set.call(ie,me,oe);else if(v.isBuffer(me))me.copy(ie,oe);else throw new TypeError('"list" argument must be an Array of Buffers');oe+=me.length}return ie};function O(le,re){if(v.isBuffer(le))return le.length;if(ArrayBuffer.isView(le)||Ce(le,ArrayBuffer))return le.byteLength;if(typeof le!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof le);var ue=le.length,be=arguments.length>2&&arguments[2]===!0;if(!be&&ue===0)return 0;for(var ie=!1;;)switch(re){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return ae(le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue*2;case"hex":return ue>>>1;case"base64":return _e(le).length;default:if(ie)return be?-1:ae(le).length;re=(""+re).toLowerCase(),ie=!0}}v.byteLength=O;function D(le,re,ue){var be=!1;if((re===void 0||re<0)&&(re=0),re>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,re>>>=0,ue<=re))return"";for(le||(le="utf8");;)switch(le){case"hex":return ne(this,re,ue);case"utf8":case"utf-8":return z(this,re,ue);case"ascii":return X(this,re,ue);case"latin1":case"binary":return J(this,re,ue);case"base64":return B(this,re,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,re,ue);default:if(be)throw new TypeError("Unknown encoding: "+le);le=(le+"").toLowerCase(),be=!0}}v.prototype._isBuffer=!0;function x(le,re,ue){var be=le[re];le[re]=le[ue],le[ue]=be}v.prototype.swap16=function(){var re=this.length;if(re%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ue=0;ueue&&(re+=" ... "),""},a&&(v.prototype[a]=v.prototype.inspect),v.prototype.compare=function(re,ue,be,ie,oe){if(Ce(re,Uint8Array)&&(re=v.from(re,re.offset,re.byteLength)),!v.isBuffer(re))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof re);if(ue===void 0&&(ue=0),be===void 0&&(be=re?re.length:0),ie===void 0&&(ie=0),oe===void 0&&(oe=this.length),ue<0||be>re.length||ie<0||oe>this.length)throw new RangeError("out of range index");if(ie>=oe&&ue>=be)return 0;if(ie>=oe)return-1;if(ue>=be)return 1;if(ue>>>=0,be>>>=0,ie>>>=0,oe>>>=0,this===re)return 0;for(var me=oe-ie,Se=be-ue,xe=Math.min(me,Se),De=this.slice(ie,oe),Pe=re.slice(ue,be),Be=0;Be2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,Ae(ue)&&(ue=ie?0:le.length-1),ue<0&&(ue=le.length+ue),ue>=le.length){if(ie)return-1;ue=le.length-1}else if(ue<0)if(ie)ue=0;else return-1;if(typeof re=="string"&&(re=v.from(re,be)),v.isBuffer(re))return re.length===0?-1:G(le,re,ue,be,ie);if(typeof re=="number")return re=re&255,typeof Uint8Array.prototype.indexOf=="function"?ie?Uint8Array.prototype.indexOf.call(le,re,ue):Uint8Array.prototype.lastIndexOf.call(le,re,ue):G(le,[re],ue,be,ie);throw new TypeError("val must be string, number or Buffer")}function G(le,re,ue,be,ie){var oe=1,me=le.length,Se=re.length;if(be!==void 0&&(be=String(be).toLowerCase(),be==="ucs2"||be==="ucs-2"||be==="utf16le"||be==="utf-16le")){if(le.length<2||re.length<2)return-1;oe=2,me/=2,Se/=2,ue/=2}function xe(ct,_t){return oe===1?ct[_t]:ct.readUInt16BE(_t*oe)}var De;if(ie){var Pe=-1;for(De=ue;Deme&&(ue=me-Se),De=ue;De>=0;De--){for(var Be=!0,ot=0;otie&&(be=ie)):be=ie;var oe=re.length;be>oe/2&&(be=oe/2);for(var me=0;me>>0,isFinite(be)?(be=be>>>0,ie===void 0&&(ie="utf8")):(ie=be,be=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-ue;if((be===void 0||be>oe)&&(be=oe),re.length>0&&(be<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");ie||(ie="utf8");for(var me=!1;;)switch(ie){case"hex":return M(this,re,ue,be);case"utf8":case"utf-8":return N(this,re,ue,be);case"ascii":case"latin1":case"binary":return V(this,re,ue,be);case"base64":return Z(this,re,ue,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,re,ue,be);default:if(me)throw new TypeError("Unknown encoding: "+ie);ie=(""+ie).toLowerCase(),me=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(le,re,ue){return re===0&&ue===le.length?r.fromByteArray(le):r.fromByteArray(le.slice(re,ue))}function z(le,re,ue){ue=Math.min(le.length,ue);for(var be=[],ie=re;ie239?4:oe>223?3:oe>191?2:1;if(ie+Se<=ue){var xe,De,Pe,Be;switch(Se){case 1:oe<128&&(me=oe);break;case 2:xe=le[ie+1],(xe&192)===128&&(Be=(oe&31)<<6|xe&63,Be>127&&(me=Be));break;case 3:xe=le[ie+1],De=le[ie+2],(xe&192)===128&&(De&192)===128&&(Be=(oe&15)<<12|(xe&63)<<6|De&63,Be>2047&&(Be<55296||Be>57343)&&(me=Be));break;case 4:xe=le[ie+1],De=le[ie+2],Pe=le[ie+3],(xe&192)===128&&(De&192)===128&&(Pe&192)===128&&(Be=(oe&15)<<18|(xe&63)<<12|(De&63)<<6|Pe&63,Be>65535&&Be<1114112&&(me=Be))}}me===null?(me=65533,Se=1):me>65535&&(me-=65536,be.push(me>>>10&1023|55296),me=56320|me&1023),be.push(me),ie+=Se}return Q(be)}var U=4096;function Q(le){var re=le.length;if(re<=U)return String.fromCharCode.apply(String,le);for(var ue="",be=0;bebe)&&(ue=be);for(var ie="",oe=re;oebe&&(re=be),ue<0?(ue+=be,ue<0&&(ue=0)):ue>be&&(ue=be),ueue)throw new RangeError("Trying to access beyond buffer length")}v.prototype.readUintLE=v.prototype.readUIntLE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re],oe=1,me=0;++me>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re+--ue],oe=1;ue>0&&(oe*=256);)ie+=this[re+--ue]*oe;return ie},v.prototype.readUint8=v.prototype.readUInt8=function(re,ue){return re=re>>>0,ue||ce(re,1,this.length),this[re]},v.prototype.readUint16LE=v.prototype.readUInt16LE=function(re,ue){return re=re>>>0,ue||ce(re,2,this.length),this[re]|this[re+1]<<8},v.prototype.readUint16BE=v.prototype.readUInt16BE=function(re,ue){return re=re>>>0,ue||ce(re,2,this.length),this[re]<<8|this[re+1]},v.prototype.readUint32LE=v.prototype.readUInt32LE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),(this[re]|this[re+1]<<8|this[re+2]<<16)+this[re+3]*16777216},v.prototype.readUint32BE=v.prototype.readUInt32BE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]*16777216+(this[re+1]<<16|this[re+2]<<8|this[re+3])},v.prototype.readIntLE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=this[re],oe=1,me=0;++me=oe&&(ie-=Math.pow(2,8*ue)),ie},v.prototype.readIntBE=function(re,ue,be){re=re>>>0,ue=ue>>>0,be||ce(re,ue,this.length);for(var ie=ue,oe=1,me=this[re+--ie];ie>0&&(oe*=256);)me+=this[re+--ie]*oe;return oe*=128,me>=oe&&(me-=Math.pow(2,8*ue)),me},v.prototype.readInt8=function(re,ue){return re=re>>>0,ue||ce(re,1,this.length),this[re]&128?(255-this[re]+1)*-1:this[re]},v.prototype.readInt16LE=function(re,ue){re=re>>>0,ue||ce(re,2,this.length);var be=this[re]|this[re+1]<<8;return be&32768?be|4294901760:be},v.prototype.readInt16BE=function(re,ue){re=re>>>0,ue||ce(re,2,this.length);var be=this[re+1]|this[re]<<8;return be&32768?be|4294901760:be},v.prototype.readInt32LE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]|this[re+1]<<8|this[re+2]<<16|this[re+3]<<24},v.prototype.readInt32BE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),this[re]<<24|this[re+1]<<16|this[re+2]<<8|this[re+3]},v.prototype.readFloatLE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),o.read(this,re,!0,23,4)},v.prototype.readFloatBE=function(re,ue){return re=re>>>0,ue||ce(re,4,this.length),o.read(this,re,!1,23,4)},v.prototype.readDoubleLE=function(re,ue){return re=re>>>0,ue||ce(re,8,this.length),o.read(this,re,!0,52,8)},v.prototype.readDoubleBE=function(re,ue){return re=re>>>0,ue||ce(re,8,this.length),o.read(this,re,!1,52,8)};function se(le,re,ue,be,ie,oe){if(!v.isBuffer(le))throw new TypeError('"buffer" argument must be a Buffer instance');if(re>ie||rele.length)throw new RangeError("Index out of range")}v.prototype.writeUintLE=v.prototype.writeUIntLE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,be=be>>>0,!ie){var oe=Math.pow(2,8*be)-1;se(this,re,ue,be,oe,0)}var me=1,Se=0;for(this[ue]=re&255;++Se>>0,be=be>>>0,!ie){var oe=Math.pow(2,8*be)-1;se(this,re,ue,be,oe,0)}var me=be-1,Se=1;for(this[ue+me]=re&255;--me>=0&&(Se*=256);)this[ue+me]=re/Se&255;return ue+be},v.prototype.writeUint8=v.prototype.writeUInt8=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,1,255,0),this[ue]=re&255,ue+1},v.prototype.writeUint16LE=v.prototype.writeUInt16LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,65535,0),this[ue]=re&255,this[ue+1]=re>>>8,ue+2},v.prototype.writeUint16BE=v.prototype.writeUInt16BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,65535,0),this[ue]=re>>>8,this[ue+1]=re&255,ue+2},v.prototype.writeUint32LE=v.prototype.writeUInt32LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,4294967295,0),this[ue+3]=re>>>24,this[ue+2]=re>>>16,this[ue+1]=re>>>8,this[ue]=re&255,ue+4},v.prototype.writeUint32BE=v.prototype.writeUInt32BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,4294967295,0),this[ue]=re>>>24,this[ue+1]=re>>>16,this[ue+2]=re>>>8,this[ue+3]=re&255,ue+4},v.prototype.writeIntLE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,!ie){var oe=Math.pow(2,8*be-1);se(this,re,ue,be,oe-1,-oe)}var me=0,Se=1,xe=0;for(this[ue]=re&255;++me>0)-xe&255;return ue+be},v.prototype.writeIntBE=function(re,ue,be,ie){if(re=+re,ue=ue>>>0,!ie){var oe=Math.pow(2,8*be-1);se(this,re,ue,be,oe-1,-oe)}var me=be-1,Se=1,xe=0;for(this[ue+me]=re&255;--me>=0&&(Se*=256);)re<0&&xe===0&&this[ue+me+1]!==0&&(xe=1),this[ue+me]=(re/Se>>0)-xe&255;return ue+be},v.prototype.writeInt8=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,1,127,-128),re<0&&(re=255+re+1),this[ue]=re&255,ue+1},v.prototype.writeInt16LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,32767,-32768),this[ue]=re&255,this[ue+1]=re>>>8,ue+2},v.prototype.writeInt16BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,2,32767,-32768),this[ue]=re>>>8,this[ue+1]=re&255,ue+2},v.prototype.writeInt32LE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,2147483647,-2147483648),this[ue]=re&255,this[ue+1]=re>>>8,this[ue+2]=re>>>16,this[ue+3]=re>>>24,ue+4},v.prototype.writeInt32BE=function(re,ue,be){return re=+re,ue=ue>>>0,be||se(this,re,ue,4,2147483647,-2147483648),re<0&&(re=4294967295+re+1),this[ue]=re>>>24,this[ue+1]=re>>>16,this[ue+2]=re>>>8,this[ue+3]=re&255,ue+4};function ge(le,re,ue,be,ie,oe){if(ue+be>le.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function he(le,re,ue,be,ie){return re=+re,ue=ue>>>0,ie||ge(le,re,ue,4),o.write(le,re,ue,be,23,4),ue+4}v.prototype.writeFloatLE=function(re,ue,be){return he(this,re,ue,!0,be)},v.prototype.writeFloatBE=function(re,ue,be){return he(this,re,ue,!1,be)};function ye(le,re,ue,be,ie){return re=+re,ue=ue>>>0,ie||ge(le,re,ue,8),o.write(le,re,ue,be,52,8),ue+8}v.prototype.writeDoubleLE=function(re,ue,be){return ye(this,re,ue,!0,be)},v.prototype.writeDoubleBE=function(re,ue,be){return ye(this,re,ue,!1,be)},v.prototype.copy=function(re,ue,be,ie){if(!v.isBuffer(re))throw new TypeError("argument should be a Buffer");if(be||(be=0),!ie&&ie!==0&&(ie=this.length),ue>=re.length&&(ue=re.length),ue||(ue=0),ie>0&&ie=this.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("sourceEnd out of bounds");ie>this.length&&(ie=this.length),re.length-ue>>0,be=be===void 0?this.length:be>>>0,re||(re=0);var me;if(typeof re=="number")for(me=ue;me55295&&ue<57344){if(!ie){if(ue>56319){(re-=3)>-1&&oe.push(239,191,189);continue}else if(me+1===be){(re-=3)>-1&&oe.push(239,191,189);continue}ie=ue;continue}if(ue<56320){(re-=3)>-1&&oe.push(239,191,189),ie=ue;continue}ue=(ie-55296<<10|ue-56320)+65536}else ie&&(re-=3)>-1&&oe.push(239,191,189);if(ie=null,ue<128){if((re-=1)<0)break;oe.push(ue)}else if(ue<2048){if((re-=2)<0)break;oe.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((re-=3)<0)break;oe.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((re-=4)<0)break;oe.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error("Invalid code point")}return oe}function ve(le){for(var re=[],ue=0;ue>8,ie=ue%256,oe.push(ie),oe.push(be);return oe}function _e(le){return r.toByteArray(pe(le))}function Te(le,re,ue,be){for(var ie=0;ie=re.length||ie>=le.length);++ie)re[ie+ue]=le[ie];return ie}function Ce(le,re){return le instanceof re||le!=null&&le.constructor!=null&&le.constructor.name!=null&&le.constructor.name===re.name}function Ae(le){return le!==le}var Ee=function(){for(var le="0123456789abcdef",re=new Array(256),ue=0;ue<16;++ue)for(var be=ue*16,ie=0;ie<16;++ie)re[be+ie]=le[ue]+le[ie];return re}()})(buffer);/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(t,r){var o=buffer,a=o.Buffer;function u(g,v){for(var y in g)v[y]=g[y]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=o:(u(o,r),r.Buffer=d);function d(g,v,y){return a(g,v,y)}d.prototype=Object.create(a.prototype),u(a,d),d.from=function(g,v,y){if(typeof g=="number")throw new TypeError("Argument must not be a number");return a(g,v,y)},d.alloc=function(g,v,y){if(typeof g!="number")throw new TypeError("Argument must be a number");var A=a(g);return v!==void 0?typeof y=="string"?A.fill(v,y):A.fill(v):A.fill(0),A},d.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return a(g)},d.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(g)}})(safeBuffer,safeBuffer.exports);var Buffer$7=safeBuffer.exports.Buffer;function Hash$8(t,r){this._block=Buffer$7.alloc(t),this._finalSize=r,this._blockSize=t,this._len=0}Hash$8.prototype.update=function(t,r){typeof t=="string"&&(r=r||"utf8",t=Buffer$7.from(t,r));for(var o=this._block,a=this._blockSize,u=t.length,d=this._len,g=0;g=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=this._len*8;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var a=(o&4294967295)>>>0,u=(o-a)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var d=this._hash();return t?d.toString(t):d};Hash$8.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var hash$2=Hash$8,inherits$8=inherits_browser.exports,Hash$7=hash$2,Buffer$6=safeBuffer.exports.Buffer,K$3=[1518500249,1859775393,-1894007588,-899497514],W$5=new Array(80);function Sha(){this.init(),this._w=W$5,Hash$7.call(this,64,56)}inherits$8(Sha,Hash$7);Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl5$1(t){return t<<5|t>>>27}function rotl30$1(t){return t<<30|t>>>2}function ft$1(t,r,o,a){return t===0?r&o|~r&a:t===2?r&o|r&a|o&a:r^o^a}Sha.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=0;v<16;++v)r[v]=t.readInt32BE(v*4);for(;v<80;++v)r[v]=r[v-3]^r[v-8]^r[v-14]^r[v-16];for(var y=0;y<80;++y){var A=~~(y/20),b=rotl5$1(o)+ft$1(A,a,u,d)+g+r[y]+K$3[A]|0;g=d,d=u,u=rotl30$1(a),a=o,o=b}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0};Sha.prototype._hash=function(){var t=Buffer$6.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha=Sha,inherits$7=inherits_browser.exports,Hash$6=hash$2,Buffer$5=safeBuffer.exports.Buffer,K$2=[1518500249,1859775393,-1894007588,-899497514],W$4=new Array(80);function Sha1(){this.init(),this._w=W$4,Hash$6.call(this,64,56)}inherits$7(Sha1,Hash$6);Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl1(t){return t<<1|t>>>31}function rotl5(t){return t<<5|t>>>27}function rotl30(t){return t<<30|t>>>2}function ft(t,r,o,a){return t===0?r&o|~r&a:t===2?r&o|r&a|o&a:r^o^a}Sha1.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=0;v<16;++v)r[v]=t.readInt32BE(v*4);for(;v<80;++v)r[v]=rotl1(r[v-3]^r[v-8]^r[v-14]^r[v-16]);for(var y=0;y<80;++y){var A=~~(y/20),b=rotl5(o)+ft(A,a,u,d)+g+r[y]+K$2[A]|0;g=d,d=u,u=rotl30(a),a=o,o=b}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0};Sha1.prototype._hash=function(){var t=Buffer$5.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha1=Sha1,inherits$6=inherits_browser.exports,Hash$5=hash$2,Buffer$4=safeBuffer.exports.Buffer,K$1=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W$3=new Array(64);function Sha256$1(){this.init(),this._w=W$3,Hash$5.call(this,64,56)}inherits$6(Sha256$1,Hash$5);Sha256$1.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ch(t,r,o){return o^t&(r^o)}function maj$1(t,r,o){return t&r|o&(t|r)}function sigma0$1(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function sigma1$1(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function gamma0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function gamma1(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}Sha256$1.prototype._update=function(t){for(var r=this._w,o=this._a|0,a=this._b|0,u=this._c|0,d=this._d|0,g=this._e|0,v=this._f|0,y=this._g|0,A=this._h|0,b=0;b<16;++b)r[b]=t.readInt32BE(b*4);for(;b<64;++b)r[b]=gamma1(r[b-2])+r[b-7]+gamma0(r[b-15])+r[b-16]|0;for(var _=0;_<64;++_){var w=A+sigma1$1(g)+ch(g,v,y)+K$1[_]+r[_]|0,S=sigma0$1(o)+maj$1(o,a,u)|0;A=y,y=v,v=g,g=d+w|0,d=u,u=a,a=o,o=w+S|0}this._a=o+this._a|0,this._b=a+this._b|0,this._c=u+this._c|0,this._d=d+this._d|0,this._e=g+this._e|0,this._f=v+this._f|0,this._g=y+this._g|0,this._h=A+this._h|0};Sha256$1.prototype._hash=function(){var t=Buffer$4.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};var sha256=Sha256$1,inherits$5=inherits_browser.exports,Sha256=sha256,Hash$4=hash$2,Buffer$3=safeBuffer.exports.Buffer,W$2=new Array(64);function Sha224(){this.init(),this._w=W$2,Hash$4.call(this,64,56)}inherits$5(Sha224,Sha256);Sha224.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};Sha224.prototype._hash=function(){var t=Buffer$3.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};var sha224=Sha224,inherits$4=inherits_browser.exports,Hash$3=hash$2,Buffer$2=safeBuffer.exports.Buffer,K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W$1=new Array(160);function Sha512(){this.init(),this._w=W$1,Hash$3.call(this,128,112)}inherits$4(Sha512,Hash$3);Sha512.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function Ch(t,r,o){return o^t&(r^o)}function maj(t,r,o){return t&r|o&(t|r)}function sigma0(t,r){return(t>>>28|r<<4)^(r>>>2|t<<30)^(r>>>7|t<<25)}function sigma1(t,r){return(t>>>14|r<<18)^(t>>>18|r<<14)^(r>>>9|t<<23)}function Gamma0(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^t>>>7}function Gamma0l(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^(t>>>7|r<<25)}function Gamma1(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^t>>>6}function Gamma1l(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^(t>>>6|r<<26)}function getCarry(t,r){return t>>>0>>0?1:0}Sha512.prototype._update=function(t){for(var r=this._w,o=this._ah|0,a=this._bh|0,u=this._ch|0,d=this._dh|0,g=this._eh|0,v=this._fh|0,y=this._gh|0,A=this._hh|0,b=this._al|0,_=this._bl|0,w=this._cl|0,S=this._dl|0,C=this._el|0,T=this._fl|0,I=this._gl|0,E=this._hl|0,F=0;F<32;F+=2)r[F]=t.readInt32BE(F*4),r[F+1]=t.readInt32BE(F*4+4);for(;F<160;F+=2){var O=r[F-30],D=r[F-15*2+1],x=Gamma0(O,D),P=Gamma0l(D,O);O=r[F-2*2],D=r[F-2*2+1];var G=Gamma1(O,D),M=Gamma1l(D,O),N=r[F-7*2],V=r[F-7*2+1],Z=r[F-16*2],H=r[F-16*2+1],B=P+V|0,z=x+N+getCarry(B,P)|0;B=B+M|0,z=z+G+getCarry(B,M)|0,B=B+H|0,z=z+Z+getCarry(B,H)|0,r[F]=z,r[F+1]=B}for(var U=0;U<160;U+=2){z=r[U],B=r[U+1];var Q=maj(o,a,u),X=maj(b,_,w),J=sigma0(o,b),ne=sigma0(b,o),te=sigma1(g,C),ce=sigma1(C,g),se=K[U],ge=K[U+1],he=Ch(g,v,y),ye=Ch(C,T,I),ee=E+ce|0,pe=A+te+getCarry(ee,E)|0;ee=ee+ye|0,pe=pe+he+getCarry(ee,ye)|0,ee=ee+ge|0,pe=pe+se+getCarry(ee,ge)|0,ee=ee+B|0,pe=pe+z+getCarry(ee,B)|0;var ae=ne+X|0,ve=J+Q+getCarry(ae,ne)|0;A=y,E=I,y=v,I=T,v=g,T=C,C=S+ee|0,g=d+pe+getCarry(C,S)|0,d=u,S=w,u=a,w=_,a=o,_=b,b=ee+ae|0,o=pe+ve+getCarry(b,ee)|0}this._al=this._al+b|0,this._bl=this._bl+_|0,this._cl=this._cl+w|0,this._dl=this._dl+S|0,this._el=this._el+C|0,this._fl=this._fl+T|0,this._gl=this._gl+I|0,this._hl=this._hl+E|0,this._ah=this._ah+o+getCarry(this._al,b)|0,this._bh=this._bh+a+getCarry(this._bl,_)|0,this._ch=this._ch+u+getCarry(this._cl,w)|0,this._dh=this._dh+d+getCarry(this._dl,S)|0,this._eh=this._eh+g+getCarry(this._el,C)|0,this._fh=this._fh+v+getCarry(this._fl,T)|0,this._gh=this._gh+y+getCarry(this._gl,I)|0,this._hh=this._hh+A+getCarry(this._hl,E)|0};Sha512.prototype._hash=function(){var t=Buffer$2.allocUnsafe(64);function r(o,a,u){t.writeInt32BE(o,u),t.writeInt32BE(a,u+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),r(this._gh,this._gl,48),r(this._hh,this._hl,56),t};var sha512=Sha512,inherits$3=inherits_browser.exports,SHA512=sha512,Hash$2=hash$2,Buffer$1=safeBuffer.exports.Buffer,W=new Array(160);function Sha384(){this.init(),this._w=W,Hash$2.call(this,128,112)}inherits$3(Sha384,SHA512);Sha384.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};Sha384.prototype._hash=function(){var t=Buffer$1.allocUnsafe(48);function r(o,a,u){t.writeInt32BE(o,u),t.writeInt32BE(a,u+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),t};var sha384=Sha384,exports$1=sha_js.exports=function(r){r=r.toLowerCase();var o=exports$1[r];if(!o)throw new Error(r+" is not supported (we accept pull requests)");return new o};exports$1.sha=sha;exports$1.sha1=sha1;exports$1.sha224=sha224;exports$1.sha256=sha256;exports$1.sha384=sha384;exports$1.sha512=sha512;var shajs=sha_js.exports;class Http{static get SERVER_URL(){return"https://www.zefau.net/jarvis/"}static token(){const r=random(1e3,9999),o=Date.now();return{token:shajs("sha256").update(o+"-"+r+"-"+config$n.get("UUID")).digest("hex"),random:r,ts:o}}static post(r,o){const a=Http.token();return axios$1.post(Http.SERVER_URL+r+".php",{...o,...a}).then(u=>u.body||u.data)}}class Pro{static getLicence(){return Pro._licence}static isPro(){return useJarvis().pro}static verify(r={}){const o=r.signature&&r.signature.replace(/ /g,""),a={...r};delete a.signature,delete a.ioBrokerId;const u=[Encryption.verify(a,o,config$n.get("PUBLIC_KEY")),Encryption.verify(a+"-invalid",o,config$n.get("PUBLIC_KEY")),Encryption.verify("eebf0d1f-8e21-48dc-94db-5bf6b03b1246","ZV02Z/6QDM/oedcYrR4LXrmSITrqzPqr+p15Yd0jaB/1TOW6ZGa8YRjTw79Tg0tqIhHDInL2gS1e9A6FxQtK0nqT0uTj3wODijEXcWJC2fwaNESgO/KM1z+bgZ/uLCyNvFauXPWsl/iKRrEt5+NEcwVg03b2hzCCvu25Y5xHFt8KRBHjhVV0rlydGA1iXqoVh/jDOLsaJKWvkFNbsUBFIFRw6Ok3n6VSvTj7uEf4nPq9jVrZM4R2PxEKAqQMEsQ1Rk9+0ltUrjcPiVN9kx4BrGLzdbaJjZy2DI2g4k3uTkp79CZffZls9ALbmt1taK7qQ1xovnMaAOdDCxZT7ZEuZw==",config$n.get("PUBLIC_KEY"))];return Promise.allSettled(u).then(d=>({verification:d[0].status==="fulfilled"&&d[0].value===!0&&d[1].status==="fulfilled"&&d[1].value===!1&&d[2].status==="fulfilled"&&d[2].value===!0,licence:{...r,signature:o}}))}static warn(r){Cache$1.get("settings",{}).hideProNotification!==!0&&(!Pro.warnings||!Pro.warnings[r])&&(Pro.warnings=Pro.warnings||{},Pro.warnings[r]=!0,Pro.notify(r,"mdi-alert","warning"))}static notify(r,o,a){const u={message:r||"Pro-Feature not enabled due to invalid licence.",icon:o||"mdi-star-remove-outline",type:a||"negative"};Notify.create(u)}static getSystemId(r){return uuidv5(JSON.stringify(r),config$n.get("UUID"))}static validate(r,o,a){console.debug("Pro","Using "+o,a);const d=Cache$1.get("settings",{}).hideProNotification,g={message:"Pro-Features not enabled due to invalid licence.",icon:"mdi-star-remove-outline",type:"negative"};if(r){if(r&&typeof r=="string")try{r=r.replace(/(?:\r\n|\r|\n)/g," ").replace(/\\ /g,"\\$& "),r=JSON.parse(r)}catch(v){return console.error("COULD NOT PARSE PRO LICENCE!",v),Notify.create(g),Promise.reject(new Error("COULD NOT PARSE PRO LICENCE!"))}}else return Promise.reject(new Error("No licence given"));return Pro.verify(r).then(({verification:v,licence:y})=>{if(y.expires=y.expires?parseInt(y.expires)*1e3:0,v===!0&&y.subscriber&&y.expiresPro.setToken(A),null,y.subscriptionId,99),v===!0&&y.subscriber&&y.expires>Date.now()-24*60*60*1e3){const A=y.subscriber.name?y.subscriber.name.given_name+" "+y.subscriber.name.surname:"";console.log("Pro","Valid Pro User: "+A),d===!1&&!Pro.notified&&(Pro.notified=!0,Notify.create({message:(A?"Welcome "+A+"! ":"")+"You are Pro!",icon:"mdi-star-check",type:"positive"})),Pro._licence=y,useJarvis().set({pro:!0})}else console.error("INVALID LICENCE!",v,y.expires>Date.now(),o,y),Cache$1.remove("pro"),Notify.create(g);return Pro.isPro})}static setToken(r,o,a={}){return new Promise((u,d)=>{if(r)return u(r);o&&Pro.pollForToken(u,d,o)}).then(u=>{Cache$1.set("pro",{...u,ioBrokerId:a});const d=Connection.getConnection,g=useIoBroker();return(g.instanceList&&g.instanceList.val||["jarvis.0"]).forEach(y=>{y.startsWith("jarvis.")&&d.setState(config$n.get("NODE_PRO").replace(config$n.get("ADAPTER_INSTANCE"),y+"."),JSON.stringify({...u,ioBrokerId:a}),!0).catch(A=>console.warn("Pro",A&&A.message||A))}),u})}static pollForToken(r,o,a,u=0){return Http.post("user/invoice",{action:"getTokenBySubscriptionId",subscriptionId:a}).then(d=>{if(d)r(d);else{if(u=u+1,u>5)return o&&o("too many attempts");setTimeout(()=>{Pro.pollForToken(r,o,a,u)},30*1e3)}}).catch(d=>{console.error("Pro",d&&d.message||d),o&&o(d)})}}var State_vue_vue_type_style_index_0_lang="";const _sfc_main$1C=defineComponent({name:"State",props:{componentId:{type:String,default:"State"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(t){const r=useIoBroker(),o=deepmerge(Functions.getDefaults(OPTIONS$m),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>t.deviceConfig&&t.deviceConfig.useColor!==!1&&t.state&&t.state.stateStyle||{}),u=computed(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";return d&&r.meta.isFloatComma?d.toString().replace(/^(-)?(\d+)\.(\d+)$/,"$1$2,$3"):d});return{sValue:u,sStyle:a,isHTML:computed(()=>u.value&&typeof u.value=="string"&&u.value.indexOf("<")!==-1&&u.value.indexOf(">")!==-1),isPro:Pro.isPro()}}}),OPTIONS$m={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"value"}},_hoisted_1$18=["innerHTML"],_hoisted_2$U={key:0,class:"jarvis-State-Label"},_hoisted_3$E={key:1,class:"jarvis-Device-Label"},_hoisted_4$u={class:"jarvis-State-Value"};function _sfc_render$1C(t,r,o,a,u,d){return withDirectives((openBlock(),createElementBlock("div",{key:t.device.key,class:normalizeClass("jarvis-"+t.componentId),style:{margin:"auto"}},[t.isHTML&&t.isPro?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(t.sStyle),innerHTML:t.sValue},null,12,_hoisted_1$18)):(openBlock(),createBlock(QItemLabel,{key:1,class:"text-wrap",style:normalizeStyle$1(t.sStyle)},{default:withCtx(()=>[t.deviceConfig.useLabel?(openBlock(),createElementBlock("span",_hoisted_2$U,toDisplayString$1(t.state.label),1)):createCommentVNode("",!0),t.deviceConfig.useDeviceLabel?(openBlock(),createElementBlock("span",_hoisted_3$E,toDisplayString$1(t.device.label||t.device.name),1)):createCommentVNode("",!0),createBaseVNode("span",_hoisted_4$u,toDisplayString$1(t.sValue)+toDisplayString$1(t.state&&t.state.unit?" "+t.state.unit:"")+toDisplayString$1(t.deviceConfig.separator?",\xA0":""),1)]),_:1},8,["style"]))],2)),[[vShow,t.deviceConfig.hideEmpty!==!0||t.deviceConfig.hideEmpty===!0&&t.sValue]])}var State$1=_export_sfc$1(_sfc_main$1C,[["render",_sfc_render$1C]]),State$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$m,default:State$1},Symbol.toStringTag,{value:"Module"})),SecondaryStates_vue_vue_type_style_index_0_lang="";const _sfc_main$1B=defineComponent({name:"SecondaryStates",props:{device:{type:Object,default:()=>({})},deviceConfig:{type:Object,default:()=>({})},alignment:{type:String,default:""}},setup(t){const r=useI18n(),o=useQuasar(),a=ref(!1),u=ref(null),d=reactive({}),g=_=>_!=null&&_!=="",v=(_,w,S,C)=>{if(a.value=!0,_)return u.value=_.message||_,console.warn("SecondaryStates",u.value),u.value;d[S]={...C}},y=computed(()=>o.dark.isActive),A=computed(()=>Object.keys(d).filter(_=>g(d[_].value)));let b=[];return t.device&&t.deviceConfig&&Array.isArray(t.deviceConfig.secondaryStatesKeys)&&t.deviceConfig.secondaryStatesKeys.length>0?t.deviceConfig.secondaryStatesKeys.forEach(_=>{d[_]={value:void 0},b=b.concat(Devices.listen(t.device.id,_,v))}):t.device||(u.value=r.t("Device {deviceId} not found").replace("{deviceId}",t.device.id),console.warn("SecondaryStates",u.value),a.value=!0),onBeforeUnmount(()=>Devices.unlisten(b)),{FUNCTIONS_COMPONENTS:Functions.Components,secondaryStates:d,secondaryStatesKeysFiltered:A,isDark:y}}});function _sfc_render$1B(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:normalizeClass(["secondaryStatesKeys wrap",t.alignment])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.secondaryStatesKeysFiltered,(g,v)=>(openBlock(),createElementBlock("div",{key:t.device.id+"-"+g,class:normalizeClass([{"q-list--dark":t.isDark},"secondaryStatesKey jarvis-secondaryStatesKey"])},[(openBlock(),createBlock(resolveDynamicComponent(t.FUNCTIONS_COMPONENTS._defaults.components.State),{class:"q-item__label q-item__label--caption text-caption",device:t.device,"device-config":{...t.deviceConfig.secondaryStatesConfig,separator:t.secondaryStatesKeysFiltered.length-1!==v},"state-key":g,state:t.secondaryStates[g]||{}},null,8,["device","device-config","state-key","state"]))],2))),128))],2)}var SecondaryStates=_export_sfc$1(_sfc_main$1B,[["render",_sfc_render$1B]]);const _sfc_main$1A=defineComponent({name:"DeviceLabel",props:{device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},isPopup:{type:Boolean,default:!1}},computed:{label(){return this.deviceConfig.label||this.state&&this.state.label||this.isPopup&&this.stateKey||this.device&&(this.device.label||this.device.name)}}});function _sfc_render$1A(t,r,o,a,u,d){return openBlock(),createBlock(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.label),1)]),_:1})}var Title=_export_sfc$1(_sfc_main$1A,[["render",_sfc_render$1A]]);function constructFrom(t,r){return t instanceof Date?new t.constructor(r):new Date(r)}function addDays$1(t,r){const o=toDate$2(t);return isNaN(r)?constructFrom(t,NaN):(r&&o.setDate(o.getDate()+r),o)}const millisecondsInWeek=6048e5,millisecondsInDay=864e5,millisecondsInMinute=6e4,millisecondsInHour=36e5,millisecondsInSecond=1e3,minutesInYear=525600,minutesInMonth=43200,minutesInDay=1440;function startOfISOWeek$1(t){return startOfWeek$2(t,{weekStartsOn:1})}function getISOWeekYear$1(t){const r=toDate$2(t),o=r.getFullYear(),a=constructFrom(t,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);const u=startOfISOWeek$1(a),d=constructFrom(t,0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);const g=startOfISOWeek$1(d);return r.getTime()>=u.getTime()?o+1:r.getTime()>=g.getTime()?o:o-1}function startOfDay(t){const r=toDate$2(t);return r.setHours(0,0,0,0),r}function getTimezoneOffsetInMilliseconds$3(t){const r=toDate$2(t),o=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return o.setUTCFullYear(r.getFullYear()),+t-+o}function differenceInCalendarDays(t,r){const o=startOfDay(t),a=startOfDay(r),u=+o-getTimezoneOffsetInMilliseconds$3(o),d=+a-getTimezoneOffsetInMilliseconds$3(a);return Math.round((u-d)/millisecondsInDay)}function startOfISOWeekYear$1(t){const r=getISOWeekYear$1(t),o=constructFrom(t,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),startOfISOWeek$1(o)}function compareAsc(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getTime()-a.getTime();return u<0?-1:u>0?1:u}function compareDesc(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getTime()-a.getTime();return u>0?-1:u<0?1:u}function constructNow(t){return constructFrom(t,Date.now())}function isDate$3(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function isValid$1(t){if(!isDate$3(t)&&typeof t!="number")return!1;const r=toDate$2(t);return!isNaN(Number(r))}function differenceInCalendarMonths(t,r){const o=toDate$2(t),a=toDate$2(r),u=o.getFullYear()-a.getFullYear(),d=o.getMonth()-a.getMonth();return u*12+d}function differenceInDays(t,r){const o=toDate$2(t),a=toDate$2(r),u=compareLocalAsc(o,a),d=Math.abs(differenceInCalendarDays(o,a));o.setDate(o.getDate()-u*d);const g=Number(compareLocalAsc(o,a)===-u),v=u*(d-g);return v===0?0:v}function compareLocalAsc(t,r){const o=t.getFullYear()-r.getFullYear()||t.getMonth()-r.getMonth()||t.getDate()-r.getDate()||t.getHours()-r.getHours()||t.getMinutes()-r.getMinutes()||t.getSeconds()-r.getSeconds()||t.getMilliseconds()-r.getMilliseconds();return o<0?-1:o>0?1:o}function getRoundingMethod(t){return r=>{const a=(t?Math[t]:Math.trunc)(r);return a===0?0:a}}function differenceInMilliseconds(t,r){return+toDate$2(t)-+toDate$2(r)}function endOfDay(t){const r=toDate$2(t);return r.setHours(23,59,59,999),r}function endOfMonth(t){const r=toDate$2(t),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(23,59,59,999),r}function isLastDayOfMonth(t){const r=toDate$2(t);return+endOfDay(r)==+endOfMonth(r)}function differenceInMonths(t,r){const o=toDate$2(t),a=toDate$2(r),u=compareAsc(o,a),d=Math.abs(differenceInCalendarMonths(o,a));let g;if(d<1)g=0;else{o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-u*d);let v=compareAsc(o,a)===-u;isLastDayOfMonth(toDate$2(t))&&d===1&&compareAsc(t,a)===1&&(v=!1),g=u*(d-Number(v))}return g===0?0:g}function differenceInSeconds(t,r,o){const a=differenceInMilliseconds(t,r)/1e3;return getRoundingMethod(o==null?void 0:o.roundingMethod)(a)}function startOfYear(t){const r=toDate$2(t),o=constructFrom(t,0);return o.setFullYear(r.getFullYear(),0,1),o.setHours(0,0,0,0),o}function getDayOfYear$2(t){const r=toDate$2(t);return differenceInCalendarDays(r,startOfYear(r))+1}function getISOWeek$1(t){const r=toDate$2(t),o=+startOfISOWeek$1(r)-+startOfISOWeekYear$1(r);return Math.round(o/millisecondsInWeek)+1}function getWeekYear$1(t,r){var b,_,w,S,C,T,I,E;const o=toDate$2(t),a=o.getFullYear(),u=getDefaultOptions$2(),d=(E=(I=(S=(w=r==null?void 0:r.firstWeekContainsDate)!=null?w:(_=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:_.firstWeekContainsDate)!=null?S:u.firstWeekContainsDate)!=null?I:(T=(C=u.locale)==null?void 0:C.options)==null?void 0:T.firstWeekContainsDate)!=null?E:1,g=constructFrom(t,0);g.setFullYear(a+1,0,d),g.setHours(0,0,0,0);const v=startOfWeek$2(g,r),y=constructFrom(t,0);y.setFullYear(a,0,d),y.setHours(0,0,0,0);const A=startOfWeek$2(y,r);return o.getTime()>=v.getTime()?a+1:o.getTime()>=A.getTime()?a:a-1}function startOfWeekYear$1(t,r){var v,y,A,b,_,w,S,C;const o=getDefaultOptions$2(),a=(C=(S=(b=(A=r==null?void 0:r.firstWeekContainsDate)!=null?A:(y=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:y.firstWeekContainsDate)!=null?b:o.firstWeekContainsDate)!=null?S:(w=(_=o.locale)==null?void 0:_.options)==null?void 0:w.firstWeekContainsDate)!=null?C:1,u=getWeekYear$1(t,r),d=constructFrom(t,0);return d.setFullYear(u,0,a),d.setHours(0,0,0,0),startOfWeek$2(d,r)}function getWeek$2(t,r){const o=toDate$2(t),a=+startOfWeek$2(o,r)-+startOfWeekYear$1(o,r);return Math.round(a/millisecondsInWeek)+1}function addLeadingZeros(t,r){const o=t<0?"-":"",a=Math.abs(t).toString().padStart(r,"0");return o+a}const lightFormatters={y(t,r){const o=t.getFullYear(),a=o>0?o:1-o;return addLeadingZeros(r==="yy"?a%100:a,r.length)},M(t,r){const o=t.getMonth();return r==="M"?String(o+1):addLeadingZeros(o+1,2)},d(t,r){return addLeadingZeros(t.getDate(),r.length)},a(t,r){const o=t.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return o.toUpperCase();case"aaa":return o;case"aaaaa":return o[0];case"aaaa":default:return o==="am"?"a.m.":"p.m."}},h(t,r){return addLeadingZeros(t.getHours()%12||12,r.length)},H(t,r){return addLeadingZeros(t.getHours(),r.length)},m(t,r){return addLeadingZeros(t.getMinutes(),r.length)},s(t,r){return addLeadingZeros(t.getSeconds(),r.length)},S(t,r){const o=r.length,a=t.getMilliseconds(),u=Math.trunc(a*Math.pow(10,o-3));return addLeadingZeros(u,r.length)}},dayPeriodEnum={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},formatters={G:function(t,r,o){const a=t.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return o.era(a,{width:"abbreviated"});case"GGGGG":return o.era(a,{width:"narrow"});case"GGGG":default:return o.era(a,{width:"wide"})}},y:function(t,r,o){if(r==="yo"){const a=t.getFullYear(),u=a>0?a:1-a;return o.ordinalNumber(u,{unit:"year"})}return lightFormatters.y(t,r)},Y:function(t,r,o,a){const u=getWeekYear$1(t,a),d=u>0?u:1-u;if(r==="YY"){const g=d%100;return addLeadingZeros(g,2)}return r==="Yo"?o.ordinalNumber(d,{unit:"year"}):addLeadingZeros(d,r.length)},R:function(t,r){const o=getISOWeekYear$1(t);return addLeadingZeros(o,r.length)},u:function(t,r){const o=t.getFullYear();return addLeadingZeros(o,r.length)},Q:function(t,r,o){const a=Math.ceil((t.getMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return addLeadingZeros(a,2);case"Qo":return o.ordinalNumber(a,{unit:"quarter"});case"QQQ":return o.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,o){const a=Math.ceil((t.getMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return addLeadingZeros(a,2);case"qo":return o.ordinalNumber(a,{unit:"quarter"});case"qqq":return o.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,o){const a=t.getMonth();switch(r){case"M":case"MM":return lightFormatters.M(t,r);case"Mo":return o.ordinalNumber(a+1,{unit:"month"});case"MMM":return o.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,o){const a=t.getMonth();switch(r){case"L":return String(a+1);case"LL":return addLeadingZeros(a+1,2);case"Lo":return o.ordinalNumber(a+1,{unit:"month"});case"LLL":return o.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,o,a){const u=getWeek$2(t,a);return r==="wo"?o.ordinalNumber(u,{unit:"week"}):addLeadingZeros(u,r.length)},I:function(t,r,o){const a=getISOWeek$1(t);return r==="Io"?o.ordinalNumber(a,{unit:"week"}):addLeadingZeros(a,r.length)},d:function(t,r,o){return r==="do"?o.ordinalNumber(t.getDate(),{unit:"date"}):lightFormatters.d(t,r)},D:function(t,r,o){const a=getDayOfYear$2(t);return r==="Do"?o.ordinalNumber(a,{unit:"dayOfYear"}):addLeadingZeros(a,r.length)},E:function(t,r,o){const a=t.getDay();switch(r){case"E":case"EE":case"EEE":return o.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(a,{width:"short",context:"formatting"});case"EEEE":default:return o.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,o,a){const u=t.getDay(),d=(u-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(d);case"ee":return addLeadingZeros(d,2);case"eo":return o.ordinalNumber(d,{unit:"day"});case"eee":return o.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(u,{width:"short",context:"formatting"});case"eeee":default:return o.day(u,{width:"wide",context:"formatting"})}},c:function(t,r,o,a){const u=t.getDay(),d=(u-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(d);case"cc":return addLeadingZeros(d,r.length);case"co":return o.ordinalNumber(d,{unit:"day"});case"ccc":return o.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(u,{width:"narrow",context:"standalone"});case"cccccc":return o.day(u,{width:"short",context:"standalone"});case"cccc":default:return o.day(u,{width:"wide",context:"standalone"})}},i:function(t,r,o){const a=t.getDay(),u=a===0?7:a;switch(r){case"i":return String(u);case"ii":return addLeadingZeros(u,r.length);case"io":return o.ordinalNumber(u,{unit:"day"});case"iii":return o.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(a,{width:"short",context:"formatting"});case"iiii":default:return o.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,o){const u=t.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,r,o){const a=t.getHours();let u;switch(a===12?u=dayPeriodEnum.noon:a===0?u=dayPeriodEnum.midnight:u=a/12>=1?"pm":"am",r){case"b":case"bb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,r,o){const a=t.getHours();let u;switch(a>=17?u=dayPeriodEnum.evening:a>=12?u=dayPeriodEnum.afternoon:a>=4?u=dayPeriodEnum.morning:u=dayPeriodEnum.night,r){case"B":case"BB":case"BBB":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,r,o){if(r==="ho"){let a=t.getHours()%12;return a===0&&(a=12),o.ordinalNumber(a,{unit:"hour"})}return lightFormatters.h(t,r)},H:function(t,r,o){return r==="Ho"?o.ordinalNumber(t.getHours(),{unit:"hour"}):lightFormatters.H(t,r)},K:function(t,r,o){const a=t.getHours()%12;return r==="Ko"?o.ordinalNumber(a,{unit:"hour"}):addLeadingZeros(a,r.length)},k:function(t,r,o){let a=t.getHours();return a===0&&(a=24),r==="ko"?o.ordinalNumber(a,{unit:"hour"}):addLeadingZeros(a,r.length)},m:function(t,r,o){return r==="mo"?o.ordinalNumber(t.getMinutes(),{unit:"minute"}):lightFormatters.m(t,r)},s:function(t,r,o){return r==="so"?o.ordinalNumber(t.getSeconds(),{unit:"second"}):lightFormatters.s(t,r)},S:function(t,r){return lightFormatters.S(t,r)},X:function(t,r,o){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return formatTimezoneWithOptionalMinutes(a);case"XXXX":case"XX":return formatTimezone$1(a);case"XXXXX":case"XXX":default:return formatTimezone$1(a,":")}},x:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"x":return formatTimezoneWithOptionalMinutes(a);case"xxxx":case"xx":return formatTimezone$1(a);case"xxxxx":case"xxx":default:return formatTimezone$1(a,":")}},O:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(a,":");case"OOOO":default:return"GMT"+formatTimezone$1(a,":")}},z:function(t,r,o){const a=t.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(a,":");case"zzzz":default:return"GMT"+formatTimezone$1(a,":")}},t:function(t,r,o){const a=Math.trunc(t.getTime()/1e3);return addLeadingZeros(a,r.length)},T:function(t,r,o){const a=t.getTime();return addLeadingZeros(a,r.length)}};function formatTimezoneShort(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=Math.trunc(a/60),d=a%60;return d===0?o+String(u):o+String(u)+r+addLeadingZeros(d,2)}function formatTimezoneWithOptionalMinutes(t,r){return t%60===0?(t>0?"-":"+")+addLeadingZeros(Math.abs(t)/60,2):formatTimezone$1(t,r)}function formatTimezone$1(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=addLeadingZeros(Math.trunc(a/60),2),d=addLeadingZeros(a%60,2);return o+u+r+d}const dateLongFormatter=(t,r)=>{switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},timeLongFormatter=(t,r)=>{switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},dateTimeLongFormatter=(t,r)=>{const o=t.match(/(P+)(p+)?/)||[],a=o[1],u=o[2];if(!u)return dateLongFormatter(t,r);let d;switch(a){case"P":d=r.dateTime({width:"short"});break;case"PP":d=r.dateTime({width:"medium"});break;case"PPP":d=r.dateTime({width:"long"});break;case"PPPP":default:d=r.dateTime({width:"full"});break}return d.replace("{{date}}",dateLongFormatter(a,r)).replace("{{time}}",timeLongFormatter(u,r))},longFormatters={p:timeLongFormatter,P:dateTimeLongFormatter},dayOfYearTokenRE=/^D+$/,weekYearTokenRE=/^Y+$/,throwTokens=["D","DD","YY","YYYY"];function isProtectedDayOfYearToken(t){return dayOfYearTokenRE.test(t)}function isProtectedWeekYearToken(t){return weekYearTokenRE.test(t)}function warnOrThrowProtectedError(t,r,o){const a=message(t,r,o);if(console.warn(a),throwTokens.includes(t))throw new RangeError(a)}function message(t,r,o){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${r}\`) for formatting ${a} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const formattingTokensRegExp$1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp$1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp$1=/^'([^]*?)'?$/,doubleQuoteRegExp$1=/''/g,unescapedLatinCharacterRegExp$1=/[a-zA-Z]/;function format$3(t,r,o){var b,_,w,S,C,T,I,E,F,O,D,x,P,G,M,N,V,Z;const a=getDefaultOptions$2(),u=(_=(b=o==null?void 0:o.locale)!=null?b:a.locale)!=null?_:enUS,d=(O=(F=(T=(C=o==null?void 0:o.firstWeekContainsDate)!=null?C:(S=(w=o==null?void 0:o.locale)==null?void 0:w.options)==null?void 0:S.firstWeekContainsDate)!=null?T:a.firstWeekContainsDate)!=null?F:(E=(I=a.locale)==null?void 0:I.options)==null?void 0:E.firstWeekContainsDate)!=null?O:1,g=(Z=(V=(G=(P=o==null?void 0:o.weekStartsOn)!=null?P:(x=(D=o==null?void 0:o.locale)==null?void 0:D.options)==null?void 0:x.weekStartsOn)!=null?G:a.weekStartsOn)!=null?V:(N=(M=a.locale)==null?void 0:M.options)==null?void 0:N.weekStartsOn)!=null?Z:0,v=toDate$2(t);if(!isValid$1(v))throw new RangeError("Invalid time value");let y=r.match(longFormattingTokensRegExp$1).map(H=>{const B=H[0];if(B==="p"||B==="P"){const z=longFormatters[B];return z(H,u.formatLong)}return H}).join("").match(formattingTokensRegExp$1).map(H=>{if(H==="''")return{isToken:!1,value:"'"};const B=H[0];if(B==="'")return{isToken:!1,value:cleanEscapedString$1(H)};if(formatters[B])return{isToken:!0,value:H};if(B.match(unescapedLatinCharacterRegExp$1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");return{isToken:!1,value:H}});u.localize.preprocessor&&(y=u.localize.preprocessor(v,y));const A={firstWeekContainsDate:d,weekStartsOn:g,locale:u};return y.map(H=>{if(!H.isToken)return H.value;const B=H.value;(!(o!=null&&o.useAdditionalWeekYearTokens)&&isProtectedWeekYearToken(B)||!(o!=null&&o.useAdditionalDayOfYearTokens)&&isProtectedDayOfYearToken(B))&&warnOrThrowProtectedError(B,r,String(t));const z=formatters[B[0]];return z(v,B,u.localize,A)}).join("")}function cleanEscapedString$1(t){const r=t.match(escapedStringRegExp$1);return r?r[1].replace(doubleQuoteRegExp$1,"'"):t}function formatDistance(t,r,o){var C,T;const a=getDefaultOptions$2(),u=(T=(C=o==null?void 0:o.locale)!=null?C:a.locale)!=null?T:enUS,d=2520,g=compareAsc(t,r);if(isNaN(g))throw new RangeError("Invalid time value");const v=Object.assign({},o,{addSuffix:o==null?void 0:o.addSuffix,comparison:g});let y,A;g>0?(y=toDate$2(r),A=toDate$2(t)):(y=toDate$2(t),A=toDate$2(r));const b=differenceInSeconds(A,y),_=(getTimezoneOffsetInMilliseconds$3(A)-getTimezoneOffsetInMilliseconds$3(y))/1e3,w=Math.round((b-_)/60);let S;if(w<2)return o!=null&&o.includeSeconds?b<5?u.formatDistance("lessThanXSeconds",5,v):b<10?u.formatDistance("lessThanXSeconds",10,v):b<20?u.formatDistance("lessThanXSeconds",20,v):b<40?u.formatDistance("halfAMinute",0,v):b<60?u.formatDistance("lessThanXMinutes",1,v):u.formatDistance("xMinutes",1,v):w===0?u.formatDistance("lessThanXMinutes",1,v):u.formatDistance("xMinutes",w,v);if(w<45)return u.formatDistance("xMinutes",w,v);if(w<90)return u.formatDistance("aboutXHours",1,v);if(w0?(v=toDate$2(r),y=toDate$2(t)):(v=toDate$2(t),y=toDate$2(r));const A=getRoundingMethod((F=o==null?void 0:o.roundingMethod)!=null?F:"round"),b=y.getTime()-v.getTime(),_=b/millisecondsInMinute,w=getTimezoneOffsetInMilliseconds$3(y)-getTimezoneOffsetInMilliseconds$3(v),S=(b-w)/millisecondsInMinute,C=o==null?void 0:o.unit;let T;if(C?T=C:_<1?T="second":_<60?T="minute":_0,a=o?r:1-r;let u;if(a<=50)u=t||100;else{const d=a+50,g=Math.trunc(d/100)*100,v=t>=d%100;u=t+g-(v?100:0)}return o?u:1-u}function isLeapYearIndex$2(t){return t%400===0||t%4===0&&t%100!==0}class YearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(o,a,u){const d=g=>({year:g,isTwoDigitYear:a==="yy"});switch(a){case"y":return mapValue(parseNDigits(4,o),d);case"yo":return mapValue(u.ordinalNumber(o,{unit:"year"}),d);default:return mapValue(parseNDigits(a.length,o),d)}}validate(o,a){return a.isTwoDigitYear||a.year>0}set(o,a,u){const d=o.getFullYear();if(u.isTwoDigitYear){const v=normalizeTwoDigitYear(u.year,d);return o.setFullYear(v,0,1),o.setHours(0,0,0,0),o}const g=!("era"in a)||a.era===1?u.year:1-u.year;return o.setFullYear(g,0,1),o.setHours(0,0,0,0),o}}class LocalWeekYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(o,a,u){const d=g=>({year:g,isTwoDigitYear:a==="YY"});switch(a){case"Y":return mapValue(parseNDigits(4,o),d);case"Yo":return mapValue(u.ordinalNumber(o,{unit:"year"}),d);default:return mapValue(parseNDigits(a.length,o),d)}}validate(o,a){return a.isTwoDigitYear||a.year>0}set(o,a,u,d){const g=getWeekYear$1(o,d);if(u.isTwoDigitYear){const y=normalizeTwoDigitYear(u.year,g);return o.setFullYear(y,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),startOfWeek$2(o,d)}const v=!("era"in a)||a.era===1?u.year:1-u.year;return o.setFullYear(v,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),startOfWeek$2(o,d)}}class ISOWeekYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(o,a){return parseNDigitsSigned(a==="R"?4:a.length,o)}set(o,a,u){const d=constructFrom(o,0);return d.setFullYear(u,0,4),d.setHours(0,0,0,0),startOfISOWeek$1(d)}}class ExtendedYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",130);Lt(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(o,a){return parseNDigitsSigned(a==="u"?4:a.length,o)}set(o,a,u){return o.setFullYear(u,0,1),o.setHours(0,0,0,0),o}}class QuarterParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",120);Lt(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"Q":case"QQ":return parseNDigits(a.length,o);case"Qo":return u.ordinalNumber(o,{unit:"quarter"});case"QQQ":return u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(o,{width:"wide",context:"formatting"})||u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=1&&a<=4}set(o,a,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class StandAloneQuarterParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",120);Lt(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"q":case"qq":return parseNDigits(a.length,o);case"qo":return u.ordinalNumber(o,{unit:"quarter"});case"qqq":return u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(o,{width:"wide",context:"standalone"})||u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=1&&a<=4}set(o,a,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class MonthParser extends Parser{constructor(){super(...arguments);Lt(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);Lt(this,"priority",110)}parse(o,a,u){const d=g=>g-1;switch(a){case"M":return mapValue(parseNumericPattern(numericPatterns.month,o),d);case"MM":return mapValue(parseNDigits(2,o),d);case"Mo":return mapValue(u.ordinalNumber(o,{unit:"month"}),d);case"MMM":return u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(o,{width:"wide",context:"formatting"})||u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}class StandAloneMonthParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",110);Lt(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(o,a,u){const d=g=>g-1;switch(a){case"L":return mapValue(parseNumericPattern(numericPatterns.month,o),d);case"LL":return mapValue(parseNDigits(2,o),d);case"Lo":return mapValue(u.ordinalNumber(o,{unit:"month"}),d);case"LLL":return u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(o,{width:"wide",context:"standalone"})||u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}function setWeek(t,r,o){const a=toDate$2(t),u=getWeek$2(a,o)-r;return a.setDate(a.getDate()-u*7),a}class LocalWeekParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",100);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(o,a,u){switch(a){case"w":return parseNumericPattern(numericPatterns.week,o);case"wo":return u.ordinalNumber(o,{unit:"week"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=53}set(o,a,u,d){return startOfWeek$2(setWeek(o,u,d),d)}}function setISOWeek(t,r){const o=toDate$2(t),a=getISOWeek$1(o)-r;return o.setDate(o.getDate()-a*7),o}class ISOWeekParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",100);Lt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(o,a,u){switch(a){case"I":return parseNumericPattern(numericPatterns.week,o);case"Io":return u.ordinalNumber(o,{unit:"week"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=53}set(o,a,u){return startOfISOWeek$1(setISOWeek(o,u))}}const DAYS_IN_MONTH$1=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR$1=[31,29,31,30,31,30,31,31,30,31,30,31];class DateParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"subPriority",1);Lt(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"d":return parseNumericPattern(numericPatterns.date,o);case"do":return u.ordinalNumber(o,{unit:"date"});default:return parseNDigits(a.length,o)}}validate(o,a){const u=o.getFullYear(),d=isLeapYearIndex$2(u),g=o.getMonth();return d?a>=1&&a<=DAYS_IN_MONTH_LEAP_YEAR$1[g]:a>=1&&a<=DAYS_IN_MONTH$1[g]}set(o,a,u){return o.setDate(u),o.setHours(0,0,0,0),o}}class DayOfYearParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"subpriority",1);Lt(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(o,a,u){switch(a){case"D":case"DD":return parseNumericPattern(numericPatterns.dayOfYear,o);case"Do":return u.ordinalNumber(o,{unit:"date"});default:return parseNDigits(a.length,o)}}validate(o,a){const u=o.getFullYear();return isLeapYearIndex$2(u)?a>=1&&a<=366:a>=1&&a<=365}set(o,a,u){return o.setMonth(0,u),o.setHours(0,0,0,0),o}}function setDay(t,r,o){var _,w,S,C,T,I,E,F;const a=getDefaultOptions$2(),u=(F=(E=(C=(S=o==null?void 0:o.weekStartsOn)!=null?S:(w=(_=o==null?void 0:o.locale)==null?void 0:_.options)==null?void 0:w.weekStartsOn)!=null?C:a.weekStartsOn)!=null?E:(I=(T=a.locale)==null?void 0:T.options)==null?void 0:I.weekStartsOn)!=null?F:0,d=toDate$2(t),g=d.getDay(),y=(r%7+7)%7,A=7-u,b=r<0||r>6?r-(g+A)%7:(y+A)%7-(g+A)%7;return addDays$1(d,b)}class DayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(o,a,u){switch(a){case"E":case"EE":case"EEE":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}class LocalDayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(o,a,u,d){const g=v=>{const y=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+y};switch(a){case"e":case"ee":return mapValue(parseNDigits(a.length,o),g);case"eo":return mapValue(u.ordinalNumber(o,{unit:"day"}),g);case"eee":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeeee":return u.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}class StandAloneLocalDayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(o,a,u,d){const g=v=>{const y=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+y};switch(a){case"c":case"cc":return mapValue(parseNDigits(a.length,o),g);case"co":return mapValue(u.ordinalNumber(o,{unit:"day"}),g);case"ccc":return u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"ccccc":return u.day(o,{width:"narrow",context:"standalone"});case"cccccc":return u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(o,{width:"wide",context:"standalone"})||u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"})}}validate(o,a){return a>=0&&a<=6}set(o,a,u,d){return o=setDay(o,u,d),o.setHours(0,0,0,0),o}}function setISODay(t,r){const o=toDate$2(t),a=getISODay(o),u=r-a;return addDays$1(o,u)}class ISODayParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",90);Lt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(o,a,u){const d=g=>g===0?7:g;switch(a){case"i":case"ii":return parseNDigits(a.length,o);case"io":return u.ordinalNumber(o,{unit:"day"});case"iii":return mapValue(u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiii":return mapValue(u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiiii":return mapValue(u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiii":default:return mapValue(u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d)}}validate(o,a){return a>=1&&a<=7}set(o,a,u){return o=setISODay(o,u),o.setHours(0,0,0,0),o}}class AMPMParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(o,a,u){switch(a){case"a":case"aa":case"aaa":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class AMPMMidnightParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(o,a,u){switch(a){case"b":case"bb":case"bbb":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class DayPeriodParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",80);Lt(this,"incompatibleTokens",["a","b","t","T"])}parse(o,a,u){switch(a){case"B":case"BB":case"BBB":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,a,u){return o.setHours(dayPeriodEnumToHours(u),0,0,0),o}}class Hour1to12Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["H","K","k","t","T"])}parse(o,a,u){switch(a){case"h":return parseNumericPattern(numericPatterns.hour12h,o);case"ho":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=12}set(o,a,u){const d=o.getHours()>=12;return d&&u<12?o.setHours(u+12,0,0,0):!d&&u===12?o.setHours(0,0,0,0):o.setHours(u,0,0,0),o}}class Hour0to23Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(o,a,u){switch(a){case"H":return parseNumericPattern(numericPatterns.hour23h,o);case"Ho":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=23}set(o,a,u){return o.setHours(u,0,0,0),o}}class Hour0To11Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["h","H","k","t","T"])}parse(o,a,u){switch(a){case"K":return parseNumericPattern(numericPatterns.hour11h,o);case"Ko":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=11}set(o,a,u){return o.getHours()>=12&&u<12?o.setHours(u+12,0,0,0):o.setHours(u,0,0,0),o}}class Hour1To24Parser extends Parser{constructor(){super(...arguments);Lt(this,"priority",70);Lt(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(o,a,u){switch(a){case"k":return parseNumericPattern(numericPatterns.hour24h,o);case"ko":return u.ordinalNumber(o,{unit:"hour"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=1&&a<=24}set(o,a,u){const d=u<=24?u%24:u;return o.setHours(d,0,0,0),o}}class MinuteParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",60);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a,u){switch(a){case"m":return parseNumericPattern(numericPatterns.minute,o);case"mo":return u.ordinalNumber(o,{unit:"minute"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=59}set(o,a,u){return o.setMinutes(u,0,0),o}}class SecondParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",50);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a,u){switch(a){case"s":return parseNumericPattern(numericPatterns.second,o);case"so":return u.ordinalNumber(o,{unit:"second"});default:return parseNDigits(a.length,o)}}validate(o,a){return a>=0&&a<=59}set(o,a,u){return o.setSeconds(u,0),o}}class FractionOfSecondParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",30);Lt(this,"incompatibleTokens",["t","T"])}parse(o,a){const u=d=>Math.trunc(d*Math.pow(10,-a.length+3));return mapValue(parseNDigits(a.length,o),u)}set(o,a,u){return o.setMilliseconds(u),o}}class ISOTimezoneWithZParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",10);Lt(this,"incompatibleTokens",["t","T","x"])}parse(o,a){switch(a){case"X":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,o);case"XX":return parseTimezonePattern(timezonePatterns.basic,o);case"XXXX":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,o);case"XXXXX":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,o);case"XXX":default:return parseTimezonePattern(timezonePatterns.extended,o)}}set(o,a,u){return a.timestampIsSet?o:constructFrom(o,o.getTime()-getTimezoneOffsetInMilliseconds$3(o)-u)}}class ISOTimezoneParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",10);Lt(this,"incompatibleTokens",["t","T","X"])}parse(o,a){switch(a){case"x":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,o);case"xx":return parseTimezonePattern(timezonePatterns.basic,o);case"xxxx":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,o);case"xxxxx":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,o);case"xxx":default:return parseTimezonePattern(timezonePatterns.extended,o)}}set(o,a,u){return a.timestampIsSet?o:constructFrom(o,o.getTime()-getTimezoneOffsetInMilliseconds$3(o)-u)}}class TimestampSecondsParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",40);Lt(this,"incompatibleTokens","*")}parse(o){return parseAnyDigitsSigned(o)}set(o,a,u){return[constructFrom(o,u*1e3),{timestampIsSet:!0}]}}class TimestampMillisecondsParser extends Parser{constructor(){super(...arguments);Lt(this,"priority",20);Lt(this,"incompatibleTokens","*")}parse(o){return parseAnyDigitsSigned(o)}set(o,a,u){return[constructFrom(o,u),{timestampIsSet:!0}]}}const parsers={G:new EraParser,y:new YearParser,Y:new LocalWeekYearParser,R:new ISOWeekYearParser,u:new ExtendedYearParser,Q:new QuarterParser,q:new StandAloneQuarterParser,M:new MonthParser,L:new StandAloneMonthParser,w:new LocalWeekParser,I:new ISOWeekParser,d:new DateParser,D:new DayOfYearParser,E:new DayParser,e:new LocalDayParser,c:new StandAloneLocalDayParser,i:new ISODayParser,a:new AMPMParser,b:new AMPMMidnightParser,B:new DayPeriodParser,h:new Hour1to12Parser,H:new Hour0to23Parser,K:new Hour0To11Parser,k:new Hour1To24Parser,m:new MinuteParser,s:new SecondParser,S:new FractionOfSecondParser,X:new ISOTimezoneWithZParser,x:new ISOTimezoneParser,t:new TimestampSecondsParser,T:new TimestampMillisecondsParser},formattingTokensRegExp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp=/^'([^]*?)'?$/,doubleQuoteRegExp=/''/g,notWhitespaceRegExp=/\S/,unescapedLatinCharacterRegExp=/[a-zA-Z]/;function parse$o(t,r,o,a){var T,I,E,F,O,D,x,P,G,M,N,V,Z,H,B,z,U,Q;const u=getDefaultOptions$1(),d=(I=(T=a==null?void 0:a.locale)!=null?T:u.locale)!=null?I:enUS,g=(M=(G=(D=(O=a==null?void 0:a.firstWeekContainsDate)!=null?O:(F=(E=a==null?void 0:a.locale)==null?void 0:E.options)==null?void 0:F.firstWeekContainsDate)!=null?D:u.firstWeekContainsDate)!=null?G:(P=(x=u.locale)==null?void 0:x.options)==null?void 0:P.firstWeekContainsDate)!=null?M:1,v=(Q=(U=(H=(Z=a==null?void 0:a.weekStartsOn)!=null?Z:(V=(N=a==null?void 0:a.locale)==null?void 0:N.options)==null?void 0:V.weekStartsOn)!=null?H:u.weekStartsOn)!=null?U:(z=(B=u.locale)==null?void 0:B.options)==null?void 0:z.weekStartsOn)!=null?Q:0;if(r==="")return t===""?toDate$2(o):constructFrom(o,NaN);const y={firstWeekContainsDate:g,weekStartsOn:v,locale:d},A=[new DateToSystemTimezoneSetter],b=r.match(longFormattingTokensRegExp).map(X=>{const J=X[0];if(J in longFormatters){const ne=longFormatters[J];return ne(X,d.formatLong)}return X}).join("").match(formattingTokensRegExp),_=[];for(let X of b){!(a!=null&&a.useAdditionalWeekYearTokens)&&isProtectedWeekYearToken(X)&&warnOrThrowProtectedError(X,r,t),!(a!=null&&a.useAdditionalDayOfYearTokens)&&isProtectedDayOfYearToken(X)&&warnOrThrowProtectedError(X,r,t);const J=X[0],ne=parsers[J];if(ne){const{incompatibleTokens:te}=ne;if(Array.isArray(te)){const se=_.find(ge=>te.includes(ge.token)||ge.token===J);if(se)throw new RangeError(`The format string mustn't contain \`${se.fullToken}\` and \`${X}\` at the same time`)}else if(ne.incompatibleTokens==="*"&&_.length>0)throw new RangeError(`The format string mustn't contain \`${X}\` and any other token at the same time`);_.push({token:J,fullToken:X});const ce=ne.run(t,X,d.match,y);if(!ce)return constructFrom(o,NaN);A.push(ce.setter),t=ce.rest}else{if(J.match(unescapedLatinCharacterRegExp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");if(X==="''"?X="'":J==="'"&&(X=cleanEscapedString(X)),t.indexOf(X)===0)t=t.slice(X.length);else return constructFrom(o,NaN)}}if(t.length>0&¬WhitespaceRegExp.test(t))return constructFrom(o,NaN);const w=A.map(X=>X.priority).sort((X,J)=>J-X).filter((X,J,ne)=>ne.indexOf(X)===J).map(X=>A.filter(J=>J.priority===X).sort((J,ne)=>ne.subPriority-J.subPriority)).map(X=>X[0]);let S=toDate$2(o);if(isNaN(S.getTime()))return constructFrom(o,NaN);const C={};for(const X of w){if(!X.validate(S,y))return constructFrom(o,NaN);const J=X.set(S,C,y);Array.isArray(J)?(S=J[0],Object.assign(C,J[1])):S=J}return constructFrom(o,S)}function cleanEscapedString(t){return t.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp,"'")}function subDays(t,r){return addDays$1(t,-r)}function parseISO(t,r){var y;const o=(y=r==null?void 0:r.additionalDigits)!=null?y:2,a=splitDateString$1(t);let u;if(a.date){const A=parseYear$1(a.date,o);u=parseDate$3(A.restDateString,A.year)}if(!u||isNaN(u.getTime()))return new Date(NaN);const d=u.getTime();let g=0,v;if(a.time&&(g=parseTime$1(a.time),isNaN(g)))return new Date(NaN);if(a.timezone){if(v=parseTimezone(a.timezone),isNaN(v))return new Date(NaN)}else{const A=new Date(d+g),b=new Date(0);return b.setFullYear(A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()),b.setHours(A.getUTCHours(),A.getUTCMinutes(),A.getUTCSeconds(),A.getUTCMilliseconds()),b}return new Date(d+g+v)}const patterns$2={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString$1(t){const r={},o=t.split(patterns$2.dateTimeDelimiter);let a;if(o.length>2)return r;if(/:/.test(o[0])?a=o[0]:(r.date=o[0],a=o[1],patterns$2.timeZoneDelimiter.test(r.date)&&(r.date=t.split(patterns$2.timeZoneDelimiter)[0],a=t.substr(r.date.length,t.length))),a){const u=patterns$2.timezone.exec(a);u?(r.time=a.replace(u[1],""),r.timezone=u[1]):r.time=a}return r}function parseYear$1(t,r){const o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),a=t.match(o);if(!a)return{year:NaN,restDateString:""};const u=a[1]?parseInt(a[1]):null,d=a[2]?parseInt(a[2]):null;return{year:d===null?u:d*100,restDateString:t.slice((a[1]||a[2]).length)}}function parseDate$3(t,r){if(r===null)return new Date(NaN);const o=t.match(dateRegex);if(!o)return new Date(NaN);const a=!!o[4],u=parseDateUnit(o[1]),d=parseDateUnit(o[2])-1,g=parseDateUnit(o[3]),v=parseDateUnit(o[4]),y=parseDateUnit(o[5])-1;if(a)return validateWeekDate$1(r,v,y)?dayOfISOWeekYear$1(r,v,y):new Date(NaN);{const A=new Date(0);return!validateDate$1(r,d,g)||!validateDayOfYearDate$1(r,u)?new Date(NaN):(A.setUTCFullYear(r,d,Math.max(u,g)),A)}}function parseDateUnit(t){return t?parseInt(t):1}function parseTime$1(t){const r=t.match(timeRegex);if(!r)return NaN;const o=parseTimeUnit(r[1]),a=parseTimeUnit(r[2]),u=parseTimeUnit(r[3]);return validateTime$1(o,a,u)?o*millisecondsInHour+a*millisecondsInMinute+u*1e3:NaN}function parseTimeUnit(t){return t&&parseFloat(t.replace(",","."))||0}function parseTimezone(t){if(t==="Z")return 0;const r=t.match(timezoneRegex);if(!r)return 0;const o=r[1]==="+"?-1:1,a=parseInt(r[2]),u=r[3]&&parseInt(r[3])||0;return validateTimezone$1(a,u)?o*(a*millisecondsInHour+u*millisecondsInMinute):NaN}function dayOfISOWeekYear$1(t,r,o){const a=new Date(0);a.setUTCFullYear(t,0,4);const u=a.getUTCDay()||7,d=(r-1)*7+o+1-u;return a.setUTCDate(a.getUTCDate()+d),a}const daysInMonths$1=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex$1(t){return t%400===0||t%4===0&&t%100!==0}function validateDate$1(t,r,o){return r>=0&&r<=11&&o>=1&&o<=(daysInMonths$1[r]||(isLeapYearIndex$1(t)?29:28))}function validateDayOfYearDate$1(t,r){return r>=1&&r<=(isLeapYearIndex$1(t)?366:365)}function validateWeekDate$1(t,r,o){return r>=1&&r<=53&&o>=0&&o<=6}function validateTime$1(t,r,o){return t===24?r===0&&o===0:o>=0&&o<60&&r>=0&&r<60&&t>=0&&t<25}function validateTimezone$1(t,r){return r>=0&&r<=59}function secondsToHoursMinutesSeconds(t,r=!1){if(t===void 0)return"";if(t.toString().indexOf(":")>-1)return t;if(t=parseInt(t),r=r||t>3600,Number.isNaN(t))return r?"00:00:00":"00:00";const o="0"+Math.floor(t/3600),a="0"+Math.floor(t/60),u="0"+t%60;return r?[o.substr(-2),a.substr(-2),u.substr(-2)].join(":"):[a.substr(-2),u.substr(-2)].join(":")}function addLeadingZero(t=0,r=2){return("0"+t).substr(-r)}function format$2(t,r="dd.MM.yyyy"){try{return t=typeof t=="string"&&t.length===10?parseInt(t)*1e3:t,t=typeof t=="string"&&t.length===13?parseInt(t):t,t!==void 0?format$3(typeof t=="number"?t:typeof t=="string"?parseISO(t):new Date(t.getTime()),r,{locale:getDateLocale$1(),weekStartsOn:1}):""}catch(o){return console.warn(o&&o.message||o,t,r),t}}function relativeToNow(t){return formatRelative(t-10*1e3,Date.now(),{locale:getDateLocale$1(),includeSeconds:!0,addSuffix:!0})}function distanceToNow(t){return formatDistanceToNow(t-10*1e3,{locale:getDateLocale$1(),includeSeconds:!0,addSuffix:!0})}function distanceToNowStrict(t){return formatDistanceToNowStrict(t-10*1e3,{locale:getDateLocale$1(),addSuffix:!0})}function getWeek$1(t=new Date){return getWeek$2(t,{locale:getDateLocale$1(),weekStartsOn:1})}window.date=format$2;window.jDate=format$2;const _sfc_main$1z=defineComponent({name:"LastChangeBody",props:{componentId:{type:String,default:"LastChangeBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(t){const r=useQuasar(),o=deepmerge(Functions.getDefaults(OPTIONS$l),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>t.state[o.time]||0);let u=null,d=ref(5);const g=()=>{u&&clearTimeout(u),y();let A=1;d.value<60?A=5:d.value<3600?A=60:d.value<86400?A=60*60:d.value>=86400&&(A=6*60*60),u=setTimeout(()=>{d.value=d.value+A,g()},A*1e3)},v=ref(),y=()=>{const A=a.value;try{o.timeFormat.toLowerCase()==="distancetonow"?v.value=distanceToNow(A):o.timeFormat.toLowerCase()==="distancetonowstrict"?v.value=distanceToNowStrict(A):o.timeFormat.toLowerCase()==="relativetonow"?v.value=relativeToNow(A):v.value=format$2(A,o.timeFormat)}catch(b){console.warn("LastChangeBody",b.message),v.value=b.message}};return watch(a,()=>{y(),d.value=5,g()}),onMounted(()=>g()),onUnmounted(()=>u&&clearTimeout(u)),{isDark:computed(()=>r.dark.isActive),LastChange:a,LastChangeBody:v}}}),OPTIONS$l={time:{label:i18n.global.t("config#componentOptions#LastChangeBody#time#label"),info:i18n.global.t("config#componentOptions#LastChangeBody#time#info"),type:"Select",options:[{value:"lc",label:"Last Change"},{value:"ts",label:"Last Update"}],value:"lc"},timeFormat:{label:i18n.global.t("config#componentOptions#LastChangeBody#timeFormat#label"),info:i18n.global.t("config#componentOptions#LastChangeBody#timeFormat#info"),link:"https://date-fns.org/v3.6.0/docs/formatDistanceToNow",value:"",placeholder:({settings:t})=>t&&t.LastChangeBody||"DistanceToNow"}},_hoisted_1$17={class:"q-item__label q-item__label--caption text-caption"};function _sfc_render$1z(t,r,o,a,u,d){return withDirectives((openBlock(),createBlock(QItemLabel,{class:normalizeClass({"q-list--dark":t.isDark}),caption:""},{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$17,toDisplayString$1(t.LastChangeBody),1)]),_:1},8,["class"])),[[vShow,t.LastChange>0]])}var LastChangeBody=_export_sfc$1(_sfc_main$1z,[["render",_sfc_render$1z]]);const useFormProps={name:String};function useFormAttrs(t){return computed(()=>({type:"hidden",name:t.name,value:t.modelValue}))}function useFormInject(t={}){return(r,o,a)=>{r[o](h("input",{class:"hidden"+(a||""),...t.value}))}}function useFormInputNameAttr(t){return computed(()=>t.name||t.for)}const modifiersAll={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},directionList=Object.keys(modifiersAll);modifiersAll.all=!0;function getModifierDirections(t){const r={};for(const o of directionList)t[o]===!0&&(r[o]=!0);return Object.keys(r).length===0?modifiersAll:(r.horizontal===!0?r.left=r.right=!0:r.left===!0&&r.right===!0&&(r.horizontal=!0),r.vertical===!0?r.up=r.down=!0:r.up===!0&&r.down===!0&&(r.vertical=!0),r.horizontal===!0&&r.vertical===!0&&(r.all=!0),r)}const avoidNodeNamesList=["INPUT","TEXTAREA"];function shouldStart(t,r){return r.event===void 0&&t.target!==void 0&&t.target.draggable!==!0&&typeof r.handler=="function"&&avoidNodeNamesList.includes(t.target.nodeName.toUpperCase())===!1&&(t.qClonedBy===void 0||t.qClonedBy.indexOf(r.uid)===-1)}function clearSelection(){if(window.getSelection!==void 0){const t=window.getSelection();t.empty!==void 0?t.empty():t.removeAllRanges!==void 0&&(t.removeAllRanges(),Platform.is.mobile!==!0&&t.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}function getChanges(t,r,o){const a=position$1(t);let u,d=a.left-r.event.x,g=a.top-r.event.y,v=Math.abs(d),y=Math.abs(g);const A=r.direction;A.horizontal===!0&&A.vertical!==!0?u=d<0?"left":"right":A.horizontal!==!0&&A.vertical===!0?u=g<0?"up":"down":A.up===!0&&g<0?(u="up",v>y&&(A.left===!0&&d<0?u="left":A.right===!0&&d>0&&(u="right"))):A.down===!0&&g>0?(u="down",v>y&&(A.left===!0&&d<0?u="left":A.right===!0&&d>0&&(u="right"))):A.left===!0&&d<0?(u="left",v0&&(u="down"))):A.right===!0&&d>0&&(u="right",v0&&(u="down")));let b=!1;if(u===void 0&&o===!1){if(r.event.isFirst===!0||r.event.lastDir===void 0)return{};u=r.event.lastDir,b=!0,u==="left"||u==="right"?(a.left-=d,v=0,d=0):(a.top-=g,y=0,g=0)}return{synthetic:b,payload:{evt:t,touch:r.event.mouse!==!0,mouse:r.event.mouse===!0,position:a,direction:u,isFirst:r.event.isFirst,isFinal:o===!0,duration:Date.now()-r.event.time,distance:{x:v,y},offset:{x:d,y:g},delta:{x:a.left-r.event.lastX,y:a.top-r.event.lastY}}}}let uid$4=0;var TouchPan=createDirective({name:"touch-pan",beforeMount(t,{value:r,modifiers:o}){if(o.mouse!==!0&&client.has.touch!==!0)return;function a(d,g){o.mouse===!0&&g===!0?stopAndPrevent$1(d):(o.stop===!0&&stop$1(d),o.prevent===!0&&prevent(d))}const u={uid:"qvtp_"+uid$4++,handler:r,modifiers:o,direction:getModifierDirections(o),noop:noop$6,mouseStart(d){shouldStart(d,u)&&leftClick(d)&&(addEvt(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(d,!0))},touchStart(d){if(shouldStart(d,u)){const g=d.target;addEvt(u,"temp",[[g,"touchmove","move","notPassiveCapture"],[g,"touchcancel","end","passiveCapture"],[g,"touchend","end","passiveCapture"]]),u.start(d)}},start(d,g){if(client.is.firefox===!0&&preventDraggable(t,!0),u.lastEvt=d,g===!0||o.stop===!0){if(u.direction.all!==!0&&(g!==!0||u.modifiers.mouseAllDir!==!0&&u.modifiers.mousealldir!==!0)){const A=d.type.indexOf("mouse")!==-1?new MouseEvent(d.type,d):new TouchEvent(d.type,d);d.defaultPrevented===!0&&prevent(A),d.cancelBubble===!0&&stop$1(A),Object.assign(A,{qKeyEvent:d.qKeyEvent,qClickOutside:d.qClickOutside,qAnchorHandled:d.qAnchorHandled,qClonedBy:d.qClonedBy===void 0?[u.uid]:d.qClonedBy.concat(u.uid)}),u.initialEvent={target:d.target,event:A}}stop$1(d)}const{left:v,top:y}=position$1(d);u.event={x:v,y,time:Date.now(),mouse:g===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:v,lastY:y}},move(d){if(u.event===void 0)return;const g=position$1(d),v=g.left-u.event.x,y=g.top-u.event.y;if(v===0&&y===0)return;u.lastEvt=d;const A=u.event.mouse===!0,b=()=>{a(d,A);let S;o.preserveCursor!==!0&&o.preservecursor!==!0&&(S=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),A===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),clearSelection(),u.styleCleanup=C=>{if(u.styleCleanup=void 0,S!==void 0&&(document.documentElement.style.cursor=S),document.body.classList.remove("non-selectable"),A===!0){const T=()=>{document.body.classList.remove("no-pointer-events--children")};C!==void 0?setTimeout(()=>{T(),C()},50):T()}else C!==void 0&&C()}};if(u.event.detected===!0){u.event.isFirst!==!0&&a(d,u.event.mouse);const{payload:S,synthetic:C}=getChanges(d,u,!1);S!==void 0&&(u.handler(S)===!1?u.end(d):(u.styleCleanup===void 0&&u.event.isFirst===!0&&b(),u.event.lastX=S.position.left,u.event.lastY=S.position.top,u.event.lastDir=C===!0?void 0:S.direction,u.event.isFirst=!1));return}if(u.direction.all===!0||A===!0&&(u.modifiers.mouseAllDir===!0||u.modifiers.mousealldir===!0)){b(),u.event.detected=!0,u.move(d);return}const _=Math.abs(v),w=Math.abs(y);_!==w&&(u.direction.horizontal===!0&&_>w||u.direction.vertical===!0&&_0||u.direction.left===!0&&_>w&&v<0||u.direction.right===!0&&_>w&&v>0?(u.event.detected=!0,u.move(d)):u.end(d,!0))},end(d,g){if(u.event!==void 0){if(cleanEvt(u,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),g===!0)u.styleCleanup!==void 0&&u.styleCleanup(),u.event.detected!==!0&&u.initialEvent!==void 0&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(u.event.detected===!0){u.event.isFirst===!0&&u.handler(getChanges(d===void 0?u.lastEvt:d,u).payload);const{payload:v}=getChanges(d===void 0?u.lastEvt:d,u,!0),y=()=>{u.handler(v)};u.styleCleanup!==void 0?u.styleCleanup(y):y()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(t.__qtouchpan=u,o.mouse===!0){const d=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";addEvt(u,"main",[[t,"mousedown","mouseStart",`passive${d}`]])}client.has.touch===!0&&addEvt(u,"main",[[t,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[t,"touchmove","noop","notPassiveCapture"]])},updated(t,r){const o=t.__qtouchpan;o!==void 0&&(r.oldValue!==r.value&&(typeof value!="function"&&o.end(),o.handler=r.value),o.direction=getModifierDirections(r.modifiers))},beforeUnmount(t){const r=t.__qtouchpan;r!==void 0&&(r.event!==void 0&&r.end(),cleanEvt(r,"main"),cleanEvt(r,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),r.styleCleanup!==void 0&&r.styleCleanup(),delete t.__qtouchpan)}});const units=["B","KB","MB","GB","TB","PB"];function humanStorageSize(t,r=1){let o=0;for(;parseInt(t,10)>=1024&&o=r?a:new Array(r-a.length+1).join(o)+a}var format$1={humanStorageSize,capitalize:capitalize$1,between,normalizeToInterval,pad:pad$2};const markerPrefixClass="q-slider__marker-labels",defaultMarkerConvertFn=t=>({value:t}),defaultMarkerLabelRenderFn=({marker:t})=>h("div",{key:t.value,style:t.style,class:t.classes},t.label),keyCodes=[34,37,40,33,39,38],useSliderProps={...useDarkProps,...useFormProps,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:t=>t>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},useSliderEmits=["pan","update:modelValue","change"];function useSlider({updateValue:t,updatePosition:r,getDragging:o,formAttrs:a}){const{props:u,emit:d,slots:g,proxy:{$q:v}}=getCurrentInstance(),y=useDark(u,v),A=useFormInject(a),b=ref(!1),_=ref(!1),w=ref(!1),S=ref(!1),C=computed(()=>u.vertical===!0?"--v":"--h"),T=computed(()=>"-"+(u.switchLabelSide===!0?"switched":"standard")),I=computed(()=>u.vertical===!0?u.reverse===!0:u.reverse!==(v.lang.rtl===!0)),E=computed(()=>isNaN(u.innerMin)===!0||u.innerMinisNaN(u.innerMax)===!0||u.innerMax>u.max?u.max:u.innerMax),O=computed(()=>u.disable!==!0&&u.readonly!==!0&&E.value{if(u.step===0)return Qe=>Qe;const ke=(String(u.step).trim().split(".")[1]||"").length;return Qe=>parseFloat(Qe.toFixed(ke))}),x=computed(()=>u.step===0?1:u.step),P=computed(()=>O.value===!0?u.tabindex||0:-1),G=computed(()=>u.max-u.min),M=computed(()=>F.value-E.value),N=computed(()=>_e(E.value)),V=computed(()=>_e(F.value)),Z=computed(()=>u.vertical===!0?I.value===!0?"bottom":"top":I.value===!0?"right":"left"),H=computed(()=>u.vertical===!0?"height":"width"),B=computed(()=>u.vertical===!0?"width":"height"),z=computed(()=>u.vertical===!0?"vertical":"horizontal"),U=computed(()=>{const ke={role:"slider","aria-valuemin":E.value,"aria-valuemax":F.value,"aria-orientation":z.value,"data-step":u.step};return u.disable===!0?ke["aria-disabled"]="true":u.readonly===!0&&(ke["aria-readonly"]="true"),ke}),Q=computed(()=>`q-slider q-slider${C.value} q-slider--${b.value===!0?"":"in"}active inline no-wrap `+(u.vertical===!0?"row":"column")+(u.disable===!0?" disabled":" q-slider--enabled"+(O.value===!0?" q-slider--editable":""))+(w.value==="both"?" q-slider--focus":"")+(u.label||u.labelAlways===!0?" q-slider--label":"")+(u.labelAlways===!0?" q-slider--label-always":"")+(y.value===!0?" q-slider--dark":"")+(u.dense===!0?" q-slider--dense q-slider--dense"+C.value:""));function X(ke){const Qe="q-slider__"+ke;return`${Qe} ${Qe}${C.value} ${Qe}${C.value}${T.value}`}function J(ke){const Qe="q-slider__"+ke;return`${Qe} ${Qe}${C.value}`}const ne=computed(()=>{const ke=u.selectionColor||u.color;return"q-slider__selection absolute"+(ke!==void 0?` text-${ke}`:"")}),te=computed(()=>J("markers")+" absolute overflow-hidden"),ce=computed(()=>J("track-container")),se=computed(()=>X("pin")),ge=computed(()=>X("label")),he=computed(()=>X("text-container")),ye=computed(()=>X("marker-labels-container")+(u.markerLabelsClass!==void 0?` ${u.markerLabelsClass}`:"")),ee=computed(()=>"q-slider__track relative-position no-outline"+(u.trackColor!==void 0?` bg-${u.trackColor}`:"")),pe=computed(()=>{const ke={[B.value]:u.trackSize};return u.trackImg!==void 0&&(ke.backgroundImage=`url(${u.trackImg}) !important`),ke}),ae=computed(()=>"q-slider__inner absolute"+(u.innerTrackColor!==void 0?` bg-${u.innerTrackColor}`:"")),ve=computed(()=>{const ke=V.value-N.value,Qe={[Z.value]:`${100*N.value}%`,[H.value]:ke===0?"2px":`${100*ke}%`};return u.innerTrackImg!==void 0&&(Qe.backgroundImage=`url(${u.innerTrackImg}) !important`),Qe});function we(ke){const{min:Qe,max:yt,step:Ct}=u;let Xe=Qe+ke*(yt-Qe);if(Ct>0){const dt=(Xe-E.value)%Ct;Xe+=(Math.abs(dt)>=Ct/2?(dt<0?-1:1)*Ct:0)-dt}return Xe=D.value(Xe),between(Xe,E.value,F.value)}function _e(ke){return G.value===0?0:(ke-u.min)/G.value}function Te(ke,Qe){const yt=position$1(ke),Ct=u.vertical===!0?between((yt.top-Qe.top)/Qe.height,0,1):between((yt.left-Qe.left)/Qe.width,0,1);return between(I.value===!0?1-Ct:Ct,N.value,V.value)}const Ce=computed(()=>isNumber$6(u.markers)===!0?u.markers:x.value),Ae=computed(()=>{const ke=[],Qe=Ce.value,yt=u.max;let Ct=u.min;do ke.push(Ct),Ct+=Qe;while(Ct{const ke=` ${markerPrefixClass}${C.value}-`;return markerPrefixClass+`${ke}${u.switchMarkerLabelsSide===!0?"switched":"standard"}${ke}${I.value===!0?"rtl":"ltr"}`}),le=computed(()=>u.markerLabels===!1?null:be(u.markerLabels).map((ke,Qe)=>({index:Qe,value:ke.value,label:ke.label||ke.value,classes:Ee.value+(ke.classes!==void 0?" "+ke.classes:""),style:{...ie(ke.value),...ke.style||{}}}))),re=computed(()=>({markerList:le.value,markerMap:oe.value,classes:Ee.value,getStyle:ie})),ue=computed(()=>{const ke=M.value===0?"2px":100*Ce.value/M.value;return{...ve.value,backgroundSize:u.vertical===!0?`2px ${ke}%`:`${ke}% 2px`}});function be(ke){if(ke===!1)return null;if(ke===!0)return Ae.value.map(defaultMarkerConvertFn);if(typeof ke=="function")return Ae.value.map(yt=>{const Ct=ke(yt);return isObject$o(Ct)===!0?{...Ct,value:yt}:{value:yt,label:Ct}});const Qe=({value:yt})=>yt>=u.min&&yt<=u.max;return Array.isArray(ke)===!0?ke.map(yt=>isObject$o(yt)===!0?yt:{value:yt}).filter(Qe):Object.keys(ke).map(yt=>{const Ct=ke[yt],Xe=Number(yt);return isObject$o(Ct)===!0?{...Ct,value:Xe}:{value:Xe,label:Ct}}).filter(Qe)}function ie(ke){return{[Z.value]:`${100*(ke-u.min)/G.value}%`}}const oe=computed(()=>{if(u.markerLabels===!1)return null;const ke={};return le.value.forEach(Qe=>{ke[Qe.value]=Qe}),ke});function me(){if(g["marker-label-group"]!==void 0)return g["marker-label-group"](re.value);const ke=g["marker-label"]||defaultMarkerLabelRenderFn;return le.value.map(Qe=>ke({marker:Qe,...re.value}))}const Se=computed(()=>[[TouchPan,xe,void 0,{[z.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function xe(ke){ke.isFinal===!0?(S.value!==void 0&&(r(ke.evt),ke.touch===!0&&t(!0),S.value=void 0,d("pan","end")),b.value=!1,w.value=!1):ke.isFirst===!0?(S.value=o(ke.evt),r(ke.evt),t(),b.value=!0,d("pan","start")):(r(ke.evt),t())}function De(){w.value=!1}function Pe(ke){r(ke,o(ke)),t(),_.value=!0,b.value=!0,document.addEventListener("mouseup",Be,!0)}function Be(){_.value=!1,b.value=!1,t(!0),De(),document.removeEventListener("mouseup",Be,!0)}function ot(ke){r(ke,o(ke)),t(!0)}function ct(ke){keyCodes.includes(ke.keyCode)&&t(!0)}function _t(ke){if(u.vertical===!0)return null;const Qe=v.lang.rtl!==u.reverse?1-ke:ke;return{transform:`translateX(calc(${2*Qe-1} * ${u.thumbSize} / 2 + ${50-100*Qe}%))`}}function He(ke){const Qe=computed(()=>_.value===!1&&(w.value===ke.focusValue||w.value==="both")?" q-slider--focus":""),yt=computed(()=>`q-slider__thumb q-slider__thumb${C.value} q-slider__thumb${C.value}-${I.value===!0?"rtl":"ltr"} absolute non-selectable`+Qe.value+(ke.thumbColor.value!==void 0?` text-${ke.thumbColor.value}`:"")),Ct=computed(()=>({width:u.thumbSize,height:u.thumbSize,[Z.value]:`${100*ke.ratio.value}%`,zIndex:w.value===ke.focusValue?2:void 0})),Xe=computed(()=>ke.labelColor.value!==void 0?` text-${ke.labelColor.value}`:""),dt=computed(()=>_t(ke.ratio.value)),Re=computed(()=>"q-slider__text"+(ke.labelTextColor.value!==void 0?` text-${ke.labelTextColor.value}`:""));return()=>{const Ye=[h("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[h("path",{d:u.thumbPath})]),h("div",{class:"q-slider__focus-ring fit"})];return(u.label===!0||u.labelAlways===!0)&&(Ye.push(h("div",{class:se.value+" absolute fit no-pointer-events"+Xe.value},[h("div",{class:ge.value,style:{minWidth:u.thumbSize}},[h("div",{class:he.value,style:dt.value},[h("span",{class:Re.value},ke.label.value)])])])),u.name!==void 0&&u.disable!==!0&&A(Ye,"push")),h("div",{class:yt.value,style:Ct.value,...ke.getNodeData()},Ye)}}function Ve(ke,Qe,yt,Ct){const Xe=[];u.innerTrackColor!=="transparent"&&Xe.push(h("div",{key:"inner",class:ae.value,style:ve.value})),u.selectionColor!=="transparent"&&Xe.push(h("div",{key:"selection",class:ne.value,style:ke.value})),u.markers!==!1&&Xe.push(h("div",{key:"marker",class:te.value,style:ue.value})),Ct(Xe);const dt=[hDir("div",{key:"trackC",class:ce.value,tabindex:Qe.value,...yt.value},[h("div",{class:ee.value,style:pe.value},Xe)],"slide",O.value,()=>Se.value)];if(u.markerLabels!==!1){const Re=u.switchMarkerLabelsSide===!0?"unshift":"push";dt[Re](h("div",{key:"markerL",class:ye.value},me()))}return dt}return onBeforeUnmount(()=>{document.removeEventListener("mouseup",Be,!0)}),{state:{active:b,focus:w,preventFocus:_,dragging:S,editable:O,classes:Q,tabindex:P,attributes:U,roundValueFn:D,keyStep:x,trackLen:G,innerMin:E,innerMinRatio:N,innerMax:F,innerMaxRatio:V,positionProp:Z,sizeProp:H,isReversed:I},methods:{onActivate:Pe,onMobileClick:ot,onBlur:De,onKeyup:ct,getContent:Ve,getThumbRenderFn:He,convertRatioToModel:we,convertModelToRatio:_e,getDraggingRatio:Te}}}const getNodeData=()=>({});var QSlider=createComponent({name:"QSlider",props:{...useSliderProps,modelValue:{required:!0,default:null,validator:t=>typeof t=="number"||t===null},labelValue:[String,Number]},emits:useSliderEmits,setup(t,{emit:r}){const{proxy:{$q:o}}=getCurrentInstance(),{state:a,methods:u}=useSlider({updateValue:C,updatePosition:I,getDragging:T,formAttrs:useFormAttrs(t)}),d=ref(null),g=ref(0),v=ref(0);function y(){v.value=t.modelValue===null?a.innerMin.value:between(t.modelValue,a.innerMin.value,a.innerMax.value)}watch(()=>`${t.modelValue}|${a.innerMin.value}|${a.innerMax.value}`,y),y();const A=computed(()=>u.convertModelToRatio(v.value)),b=computed(()=>a.active.value===!0?g.value:A.value),_=computed(()=>{const O={[a.positionProp.value]:`${100*a.innerMinRatio.value}%`,[a.sizeProp.value]:`${100*(b.value-a.innerMinRatio.value)}%`};return t.selectionImg!==void 0&&(O.backgroundImage=`url(${t.selectionImg}) !important`),O}),w=u.getThumbRenderFn({focusValue:!0,getNodeData,ratio:b,label:computed(()=>t.labelValue!==void 0?t.labelValue:v.value),thumbColor:computed(()=>t.thumbColor||t.color),labelColor:computed(()=>t.labelColor),labelTextColor:computed(()=>t.labelTextColor)}),S=computed(()=>a.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:u.onMobileClick}:{onMousedown:u.onActivate,onFocus:E,onBlur:u.onBlur,onKeydown:F,onKeyup:u.onKeyup});function C(O){v.value!==t.modelValue&&r("update:modelValue",v.value),O===!0&&r("change",v.value)}function T(){return d.value.getBoundingClientRect()}function I(O,D=a.dragging.value){const x=u.getDraggingRatio(O,D);v.value=u.convertRatioToModel(x),g.value=t.snap!==!0||t.step===0?x:u.convertModelToRatio(v.value)}function E(){a.focus.value=!0}function F(O){if(!keyCodes.includes(O.keyCode))return;stopAndPrevent$1(O);const D=([34,33].includes(O.keyCode)?10:1)*a.keyStep.value,x=([34,37,40].includes(O.keyCode)?-1:1)*(a.isReversed.value===!0?-1:1)*(t.vertical===!0?-1:1)*D;v.value=between(a.roundValueFn.value(v.value+x),a.innerMin.value,a.innerMax.value),C()}return()=>{const O=u.getContent(_,a.tabindex,S,D=>{D.push(w())});return h("div",{ref:d,class:a.classes.value+(t.modelValue===null?" q-slider--no-value":""),...a.attributes.value,"aria-valuenow":t.modelValue},O)}}}),LevelBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1y=defineComponent({name:"LevelBody",props:{componentId:{type:String,default:"LevelBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],data(){return{LevelBodyMarkerLabels:{}}},computed:{isMobile(){return this.$q.platform.is.mobile},componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$k),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.config&&this.state.config.properties||{}}},LevelBodyMinMax(){const{min:t,max:r}={min:0,max:100,...this.state&&this.state.properties||{}};return{min:Math.min(t,r),max:Math.max(t,r)}},LevelBodyStep(){return parseFloat(this.componentOptions.step)||1},LevelBodyMarkerSteps(){return parseInt(this.componentOptions.markStep)||10},LevelBodyMarkers(){return this.componentOptions.showMarkersSteps?(this.LevelBodyMinMax.max-this.LevelBodyMinMax.min)/this.LevelBodyMarkerSteps:0},unit(){return this.state.unit||""},stateVal(){if(!this.state)return null;const t=this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null&&parseFloat(this.state[this.componentOptions.val]).toString().length===this.state[this.componentOptions.val].toString().length?parseFloat(this.state[this.componentOptions.val]):this.state.val;return t==null||typeof t!="number"?null:t}},watch:{LevelBodyMarkers:{immediate:!0,handler(){if(!this.componentOptions.showMarkersSteps){this.LevelBodyMarkerLabels={};return}if(Pro.isPro()&&this.componentOptions.markers)try{const fn=eval(this.componentOptions.markers);if(typeof fn!="function")throw new Error("No valid function");this.LevelBodyMarkerLabels=t=>fn(t.toString().indexOf(".")!==-1?t.toFixed(1):t,this.unit)||t.toFixed(1);return}catch(t){this.error=t.message,console.error(t.message||t)}else!Pro.isPro()&&this.componentOptions.markers&&Pro.warn("LevelBody: Callback for Marker Labels is only available to Pro!");const LevelBodyMarkerLabels={};for(let t=0;t<=this.LevelBodyMarkerSteps;t++){let r=t*this.LevelBodyMarkers+this.LevelBodyMinMax.min;r=r.toString().indexOf(".")!==-1?r.toFixed(1):r,(!this.isMobile||this.isMobile&&t%2===0)&&(LevelBodyMarkerLabels[r]=r+this.unit)}this.LevelBodyMarkerLabels=LevelBodyMarkerLabels}}},methods:{setDevice(t){this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions)}}}),OPTIONS$k={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},readonly:{label:i18n.global.t("config#componentOptions#LevelBody#readonly#label"),info:i18n.global.t("config#componentOptions#LevelBody#readonly#info"),type:"Switch",value:!1},unit:{label:i18n.global.t("config#componentOptions#LevelBody#unit#label"),info:i18n.global.t("config#componentOptions#LevelBody#unit#info"),type:"Switch",value:!1},step:{label:i18n.global.t("config#componentOptions#LevelBody#step#label"),info:i18n.global.t("config#componentOptions#LevelBody#step#info"),type:"Number",value:1},showMarkersSteps:{label:i18n.global.t("config#componentOptions#LevelBody#showMarkersSteps#label"),info:i18n.global.t("config#componentOptions#LevelBody#showMarkersSteps#info"),type:"Switch",value:!0},markStep:{label:i18n.global.t("config#componentOptions#LevelBody#markStep#label"),info:i18n.global.t("config#componentOptions#LevelBody#markStep#info"),type:"Number",value:10},markers:{label:i18n.global.t("config#componentOptions#LevelBody#markers#label"),info:i18n.global.t("config#componentOptions#LevelBody#markers#info"),placeholder:"(marker, unit) => marker"},markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:5},thumbSize:{label:i18n.global.t("config#componentOptions#LevelBody#thumbSize#label"),type:"Number",value:20}};function _sfc_render$1y(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{margin:"0 8px 1px 8px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QSlider,mergeProps({"model-value":t.stateVal,snap:"",label:""},t.LevelBodyMinMax,{step:t.LevelBodyStep,markers:t.LevelBodyMarkers,"marker-labels":t.LevelBodyMarkerLabels,"marker-labels-class":t.componentOptions.showMarkersSteps?"markersLabels nowrap":"hidden","track-size":(t.isMobile?1.2:1)*t.componentOptions.markerHeight+"px","thumb-size":(t.isMobile?1.2:1)*t.componentOptions.thumbSize+"px",readonly:t.componentOptions.readonly,onChange:t.setDevice}),null,16,["model-value","step","markers","marker-labels","marker-labels-class","track-size","thumb-size","readonly","onChange"])])}var LevelBody$2=_export_sfc$1(_sfc_main$1y,[["render",_sfc_render$1y]]),LevelBody$3=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$k,default:LevelBody$2},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1x=defineComponent({name:"CustomTextBody",props:{componentId:{type:String,default:"CustomTextBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$j),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},CustomTextBodyText(){return this.componentOptions.text}}}),OPTIONS$j={text:{label:i18n.global.t("config#componentOptions#CustomTextBody#text#label"),value:""}};function _sfc_render$1x(t,r,o,a,u,d){return openBlock(),createBlock(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.CustomTextBodyText),1)]),_:1})}var CustomTextBody=_export_sfc$1(_sfc_main$1x,[["render",_sfc_render$1x]]);function useRenderCache(){let t=Object.create(null);return{getCache:(r,o)=>t[r]===void 0?t[r]=typeof o=="function"?o():o:t[r],setCache(r,o){t[r]=o},hasCache(r){return Object.hasOwnProperty.call(t,r)},clearCache(r){r!==void 0?delete t[r]:t=Object.create(null)}}}const breaks=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function toJalaali(t,r,o){return Object.prototype.toString.call(t)==="[object Date]"&&(o=t.getDate(),r=t.getMonth()+1,t=t.getFullYear()),d2j(g2d(t,r,o))}function toGregorian(t,r,o){return d2g(j2d(t,r,o))}function isLeapJalaaliYear(t){return jalCalLeap(t)===0}function jalaaliMonthLength(t,r){return r<=6?31:r<=11||isLeapJalaaliYear(t)?30:29}function jalCalLeap(t){const r=breaks.length;let o=breaks[0],a,u,d,g,v;if(t=breaks[r-1])throw new Error("Invalid Jalaali year "+t);for(v=1;v=breaks[o-1])throw new Error("Invalid Jalaali year "+t);for(b=1;b=0){if(d<=185)return u=1+div(d,31),a=mod$1(d,31)+1,{jy:o,jm:u,jd:a};d-=186}else o-=1,d+=179,g.leap===1&&(d+=1);return u=7+div(d,30),a=mod$1(d,30)+1,{jy:o,jm:u,jd:a}}function g2d(t,r,o){let a=div((t+div(r-8,6)+100100)*1461,4)+div(153*mod$1(r+9,12)+2,5)+o-34840408;return a=a-div(div(t+100100+div(r-8,6),100)*3,4)+752,a}function d2g(t){let r=4*t+139361631;r=r+div(div(4*t+183187720,146097)*3,4)*4-3908;const o=div(mod$1(r,1461),4)*5+308,a=div(mod$1(o,153),5)+1,u=mod$1(div(o,153),12)+1;return{gy:div(r,1461)-100100+div(8-u,6),gm:u,gd:a}}function div(t,r){return~~(t/r)}function mod$1(t,r){return t-~~(t/r)*r}const calendars=["gregorian","persian"],useDatetimeProps={mask:{type:String},locale:Object,calendar:{type:String,validator:t=>calendars.includes(t),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},useDatetimeEmits=["update:modelValue"];function getDayHash(t){return t.year+"/"+pad$2(t.month)+"/"+pad$2(t.day)}function useDatetime(t,r){const o=computed(()=>t.disable!==!0&&t.readonly!==!0),a=computed(()=>o.value===!0?0:-1),u=computed(()=>{const v=[];return t.color!==void 0&&v.push(`bg-${t.color}`),t.textColor!==void 0&&v.push(`text-${t.textColor}`),v.join(" ")});function d(){return t.locale!==void 0?{...r.lang.date,...t.locale}:r.lang.date}function g(v){const y=new Date,A=v===!0?null:0;if(t.calendar==="persian"){const b=toJalaali(y);return{year:b.jy,month:b.jm,day:b.jd}}return{year:y.getFullYear(),month:y.getMonth()+1,day:y.getDate(),hour:A,minute:A,second:A,millisecond:A}}return{editable:o,tabindex:a,headerClass:u,getLocale:d,getCurrentDate:g}}const MILLISECONDS_IN_DAY=864e5,MILLISECONDS_IN_HOUR$2=36e5,MILLISECONDS_IN_MINUTE$2=6e4,defaultMask="YYYY-MM-DDTHH:mm:ss.SSSZ",token$2=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,reverseToken=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,regexStore={};function getRegexData(t,r){const o="("+r.days.join("|")+")",a=t+o;if(regexStore[a]!==void 0)return regexStore[a];const u="("+r.daysShort.join("|")+")",d="("+r.months.join("|")+")",g="("+r.monthsShort.join("|")+")",v={};let y=0;const A=t.replace(reverseToken,_=>{switch(y++,_){case"YY":return v.YY=y,"(-?\\d{1,2})";case"YYYY":return v.YYYY=y,"(-?\\d{1,4})";case"M":return v.M=y,"(\\d{1,2})";case"Mo":return v.M=y++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return v.M=y,"(\\d{2})";case"MMM":return v.MMM=y,g;case"MMMM":return v.MMMM=y,d;case"D":return v.D=y,"(\\d{1,2})";case"Do":return v.D=y++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return v.D=y,"(\\d{2})";case"H":return v.H=y,"(\\d{1,2})";case"HH":return v.H=y,"(\\d{2})";case"h":return v.h=y,"(\\d{1,2})";case"hh":return v.h=y,"(\\d{2})";case"m":return v.m=y,"(\\d{1,2})";case"mm":return v.m=y,"(\\d{2})";case"s":return v.s=y,"(\\d{1,2})";case"ss":return v.s=y,"(\\d{2})";case"S":return v.S=y,"(\\d{1})";case"SS":return v.S=y,"(\\d{2})";case"SSS":return v.S=y,"(\\d{3})";case"A":return v.A=y,"(AM|PM)";case"a":return v.a=y,"(am|pm)";case"aa":return v.aa=y,"(a\\.m\\.|p\\.m\\.)";case"ddd":return u;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"do":return y++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return y++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return y++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return v.Z=y,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return v.ZZ=y,"(Z|[+-]\\d{2}\\d{2})";case"X":return v.X=y,"(-?\\d+)";case"x":return v.x=y,"(-?\\d{4,})";default:return y--,_[0]==="["&&(_=_.substring(1,_.length-1)),_.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),b={map:v,regex:new RegExp("^"+A)};return regexStore[a]=b,b}function getDateLocale(t,r){return t!==void 0?t:r!==void 0?r.date:defaultLang.date}function formatTimezone(t,r=""){const o=t>0?"-":"+",a=Math.abs(t),u=Math.floor(a/60),d=a%60;return o+pad$2(u)+r+pad$2(d)}function applyYearMonthDayChange(t,r,o){let a=t.getFullYear(),u=t.getMonth();const d=t.getDate();return r.year!==void 0&&(a+=o*r.year,delete r.year),r.month!==void 0&&(u+=o*r.month,delete r.month),t.setDate(1),t.setMonth(2),t.setFullYear(a),t.setMonth(u),t.setDate(Math.min(d,daysInMonth$1(t))),r.date!==void 0&&(t.setDate(t.getDate()+o*r.date),delete r.date),t}function applyYearMonthDay(t,r,o){const a=r.year!==void 0?r.year:t[`get${o}FullYear`](),u=r.month!==void 0?r.month-1:t[`get${o}Month`](),d=new Date(a,u+1,0).getDate(),g=Math.min(d,r.date!==void 0?r.date:t[`get${o}Date`]());return t[`set${o}Date`](1),t[`set${o}Month`](2),t[`set${o}FullYear`](a),t[`set${o}Month`](u),t[`set${o}Date`](g),delete r.year,delete r.month,delete r.date,t}function getChange(t,r,o){const a=normalizeMod(r),u=new Date(t),d=a.year!==void 0||a.month!==void 0||a.date!==void 0?applyYearMonthDayChange(u,a,o):u;for(const g in a){const v=capitalize$1(g);d[`set${v}`](d[`get${v}`]()+o*a[g])}return d}function normalizeMod(t){const r={...t};return t.years!==void 0&&(r.year=t.years,delete r.years),t.months!==void 0&&(r.month=t.months,delete r.months),t.days!==void 0&&(r.date=t.days,delete r.days),t.day!==void 0&&(r.date=t.day,delete r.day),t.hour!==void 0&&(r.hours=t.hour,delete r.hour),t.minute!==void 0&&(r.minutes=t.minute,delete r.minute),t.second!==void 0&&(r.seconds=t.second,delete r.second),t.millisecond!==void 0&&(r.milliseconds=t.millisecond,delete r.millisecond),r}function adjustDate(t,r,o){const a=normalizeMod(r),u=o===!0?"UTC":"",d=new Date(t),g=a.year!==void 0||a.month!==void 0||a.date!==void 0?applyYearMonthDay(d,a,u):d;for(const v in a){const y=v.charAt(0).toUpperCase()+v.slice(1);g[`set${u}${y}`](a[v])}return g}function extractDate(t,r,o){const a=__splitDate(t,r,o),u=new Date(a.year,a.month===null?null:a.month-1,a.day===null?1:a.day,a.hour,a.minute,a.second,a.millisecond),d=u.getTimezoneOffset();return a.timezoneOffset===null||a.timezoneOffset===d?u:getChange(u,{minutes:a.timezoneOffset-d},1)}function __splitDate(t,r,o,a,u){const d={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(u!==void 0&&Object.assign(d,u),t==null||t===""||typeof t!="string")return d;r===void 0&&(r=defaultMask);const g=getDateLocale(o,Plugin$2.props),v=g.months,y=g.monthsShort,{regex:A,map:b}=getRegexData(r,g),_=t.match(A);if(_===null)return d;let w="";if(b.X!==void 0||b.x!==void 0){const S=parseInt(_[b.X!==void 0?b.X:b.x],10);if(isNaN(S)===!0||S<0)return d;const C=new Date(S*(b.X!==void 0?1e3:1));d.year=C.getFullYear(),d.month=C.getMonth()+1,d.day=C.getDate(),d.hour=C.getHours(),d.minute=C.getMinutes(),d.second=C.getSeconds(),d.millisecond=C.getMilliseconds()}else{if(b.YYYY!==void 0)d.year=parseInt(_[b.YYYY],10);else if(b.YY!==void 0){const S=parseInt(_[b.YY],10);d.year=S<0?S:2e3+S}if(b.M!==void 0){if(d.month=parseInt(_[b.M],10),d.month<1||d.month>12)return d}else b.MMM!==void 0?d.month=y.indexOf(_[b.MMM])+1:b.MMMM!==void 0&&(d.month=v.indexOf(_[b.MMMM])+1);if(b.D!==void 0){if(d.day=parseInt(_[b.D],10),d.year===null||d.month===null||d.day<1)return d;const S=a!=="persian"?new Date(d.year,d.month,0).getDate():jalaaliMonthLength(d.year,d.month);if(d.day>S)return d}b.H!==void 0?d.hour=parseInt(_[b.H],10)%24:b.h!==void 0&&(d.hour=parseInt(_[b.h],10)%12,(b.A&&_[b.A]==="PM"||b.a&&_[b.a]==="pm"||b.aa&&_[b.aa]==="p.m.")&&(d.hour+=12),d.hour=d.hour%24),b.m!==void 0&&(d.minute=parseInt(_[b.m],10)%60),b.s!==void 0&&(d.second=parseInt(_[b.s],10)%60),b.S!==void 0&&(d.millisecond=parseInt(_[b.S],10)*10**(3-_[b.S].length)),(b.Z!==void 0||b.ZZ!==void 0)&&(w=b.Z!==void 0?_[b.Z].replace(":",""):_[b.ZZ],d.timezoneOffset=(w[0]==="+"?-1:1)*(60*w.slice(1,3)+1*w.slice(3,5)))}return d.dateHash=pad$2(d.year,6)+"/"+pad$2(d.month)+"/"+pad$2(d.day),d.timeHash=pad$2(d.hour)+":"+pad$2(d.minute)+":"+pad$2(d.second)+w,d}function isValid(t){return typeof t=="number"?!0:isNaN(Date.parse(t))===!1}function buildDate(t,r){return adjustDate(new Date,t,r)}function getDayOfWeek(t){const r=new Date(t).getDay();return r===0?7:r}function getWeekOfYear(t){const r=new Date(t.getFullYear(),t.getMonth(),t.getDate());r.setDate(r.getDate()-(r.getDay()+6)%7+3);const o=new Date(r.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);const a=r.getTimezoneOffset()-o.getTimezoneOffset();r.setHours(r.getHours()-a);const u=(r-o)/(MILLISECONDS_IN_DAY*7);return 1+Math.floor(u)}function getDayIdentifier(t){return t.getFullYear()*1e4+t.getMonth()*100+t.getDate()}function getDateIdentifier(t,r){const o=new Date(t);return r===!0?getDayIdentifier(o):o.getTime()}function isBetweenDates(t,r,o,a={}){const u=getDateIdentifier(r,a.onlyDate),d=getDateIdentifier(o,a.onlyDate),g=getDateIdentifier(t,a.onlyDate);return(g>u||a.inclusiveFrom===!0&&g===u)&&(g{r=Math.max(r,new Date(o))}),r}function getMinDate(t){let r=new Date(t);return Array.prototype.slice.call(arguments,1).forEach(o=>{r=Math.min(r,new Date(o))}),r}function getDiff(t,r,o){return(t.getTime()-t.getTimezoneOffset()*MILLISECONDS_IN_MINUTE$2-(r.getTime()-r.getTimezoneOffset()*MILLISECONDS_IN_MINUTE$2))/o}function getDateDiff(t,r,o="days"){const a=new Date(t),u=new Date(r);switch(o){case"years":case"year":return a.getFullYear()-u.getFullYear();case"months":case"month":return(a.getFullYear()-u.getFullYear())*12+a.getMonth()-u.getMonth();case"days":case"day":case"date":return getDiff(startOfDate(a,"day"),startOfDate(u,"day"),MILLISECONDS_IN_DAY);case"hours":case"hour":return getDiff(startOfDate(a,"hour"),startOfDate(u,"hour"),MILLISECONDS_IN_HOUR$2);case"minutes":case"minute":return getDiff(startOfDate(a,"minute"),startOfDate(u,"minute"),MILLISECONDS_IN_MINUTE$2);case"seconds":case"second":return getDiff(startOfDate(a,"second"),startOfDate(u,"second"),1e3)}}function getDayOfYear$1(t){return getDateDiff(t,startOfDate(t,"year"),"days")+1}function inferDateFormat(t){return isDate$6(t)===!0?"date":typeof t=="number"?"number":"string"}function getDateBetween(t,r,o){const a=new Date(t);if(r){const u=new Date(r);if(au)return u}return a}function isSameDate(t,r,o){const a=new Date(t),u=new Date(r);if(o===void 0)return a.getTime()===u.getTime();switch(o){case"second":case"seconds":if(a.getSeconds()!==u.getSeconds())return!1;case"minute":case"minutes":if(a.getMinutes()!==u.getMinutes())return!1;case"hour":case"hours":if(a.getHours()!==u.getHours())return!1;case"day":case"days":case"date":if(a.getDate()!==u.getDate())return!1;case"month":case"months":if(a.getMonth()!==u.getMonth())return!1;case"year":case"years":if(a.getFullYear()!==u.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function daysInMonth$1(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function getOrdinal(t){if(t>=11&&t<=13)return`${t}th`;switch(t%10){case 1:return`${t}st`;case 2:return`${t}nd`;case 3:return`${t}rd`}return`${t}th`}const formatter={YY(t,r,o){const a=this.YYYY(t,r,o)%100;return a>=0?pad$2(a):"-"+pad$2(Math.abs(a))},YYYY(t,r,o){return o!=null?o:t.getFullYear()},M(t){return t.getMonth()+1},Mo(t){return getOrdinal(t.getMonth()+1)},MM(t){return pad$2(t.getMonth()+1)},MMM(t,r){return r.monthsShort[t.getMonth()]},MMMM(t,r){return r.months[t.getMonth()]},Q(t){return Math.ceil((t.getMonth()+1)/3)},Qo(t){return getOrdinal(this.Q(t))},D(t){return t.getDate()},Do(t){return getOrdinal(t.getDate())},DD(t){return pad$2(t.getDate())},DDD(t){return getDayOfYear$1(t)},DDDo(t){return getOrdinal(getDayOfYear$1(t))},DDDD(t){return pad$2(getDayOfYear$1(t),3)},d(t){return t.getDay()},do(t){return getOrdinal(t.getDay())},dd(t,r){return r.days[t.getDay()].slice(0,2)},ddd(t,r){return r.daysShort[t.getDay()]},dddd(t,r){return r.days[t.getDay()]},E(t){return t.getDay()||7},w(t){return getWeekOfYear(t)},wo(t){return getOrdinal(getWeekOfYear(t))},ww(t){return pad$2(getWeekOfYear(t))},H(t){return t.getHours()},HH(t){return pad$2(t.getHours())},h(t){const r=t.getHours();return r===0?12:r>12?r%12:r},hh(t){return pad$2(this.h(t))},m(t){return t.getMinutes()},mm(t){return pad$2(t.getMinutes())},s(t){return t.getSeconds()},ss(t){return pad$2(t.getSeconds())},S(t){return Math.floor(t.getMilliseconds()/100)},SS(t){return pad$2(Math.floor(t.getMilliseconds()/10))},SSS(t){return pad$2(t.getMilliseconds(),3)},A(t){return t.getHours()<12?"AM":"PM"},a(t){return t.getHours()<12?"am":"pm"},aa(t){return t.getHours()<12?"a.m.":"p.m."},Z(t,r,o,a){const u=a==null?t.getTimezoneOffset():a;return formatTimezone(u,":")},ZZ(t,r,o,a){const u=a==null?t.getTimezoneOffset():a;return formatTimezone(u)},X(t){return Math.floor(t.getTime()/1e3)},x(t){return t.getTime()}};function formatDate$1(t,r,o,a,u){if(t!==0&&!t||t===1/0||t===-1/0)return;const d=new Date(t);if(isNaN(d))return;r===void 0&&(r=defaultMask);const g=getDateLocale(o,Plugin$2.props);return r.replace(token$2,(v,y)=>v in formatter?formatter[v](d,g,a,u):y===void 0?v:y.split("\\]").join("]"))}function clone$7(t){return isDate$6(t)===!0?new Date(t.getTime()):t}var date$1={isValid,extractDate,buildDate,getDayOfWeek,getWeekOfYear,isBetweenDates,addToDate,subtractFromDate,adjustDate,startOfDate,endOfDate,getMaxDate,getMinDate,getDateDiff,getDayOfYear:getDayOfYear$1,inferDateFormat,getDateBetween,isSameDate,daysInMonth:daysInMonth$1,formatDate:formatDate$1,clone:clone$7};const yearsInterval=20,views=["Calendar","Years","Months"],viewIsValid=t=>views.includes(t),yearMonthValidator=t=>/^-?[\d]+\/[0-1]\d$/.test(t),lineStr=" \u2014 ";function getMonthHash(t){return t.year+"/"+pad$2(t.month)}var QDate=createComponent({name:"QDate",props:{...useDatetimeProps,...useFormProps,...useDarkProps,modelValue:{required:!0,validator:t=>typeof t=="string"||Array.isArray(t)===!0||Object(t)===t||t===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...useDatetimeProps.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:yearMonthValidator},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:yearMonthValidator},navigationMaxYearMonth:{type:String,validator:yearMonthValidator},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:viewIsValid}},emits:[...useDatetimeEmits,"rangeStart","rangeEnd","navigation"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=useDark(t,u),{getCache:g}=useRenderCache(),{tabindex:v,headerClass:y,getLocale:A,getCurrentDate:b}=useDatetime(t,u);let _;const w=useFormAttrs(t),S=useFormInject(w),C=ref(null),T=ref(ot()),I=ref(A()),E=computed(()=>ot()),F=computed(()=>A()),O=computed(()=>b()),D=ref(_t(T.value,I.value)),x=ref(t.defaultView),P=computed(()=>u.lang.rtl===!0?"right":"left"),G=ref(P.value),M=ref(P.value),N=D.value.year,V=ref(N-N%yearsInterval-(N<0?yearsInterval:0)),Z=ref(null),H=computed(()=>{const Le=t.landscape===!0?"landscape":"portrait";return`q-date q-date--${Le} q-date--${Le}-${t.minimal===!0?"minimal":"standard"}`+(d.value===!0?" q-date--dark q-dark":"")+(t.bordered===!0?" q-date--bordered":"")+(t.square===!0?" q-date--square no-border-radius":"")+(t.flat===!0?" q-date--flat no-shadow":"")+(t.disable===!0?" disabled":t.readonly===!0?" q-date--readonly":"")}),B=computed(()=>t.color||"primary"),z=computed(()=>t.textColor||"white"),U=computed(()=>t.emitImmediately===!0&&t.multiple!==!0&&t.range!==!0),Q=computed(()=>Array.isArray(t.modelValue)===!0?t.modelValue:t.modelValue!==null&&t.modelValue!==void 0?[t.modelValue]:[]),X=computed(()=>Q.value.filter(Le=>typeof Le=="string").map(Le=>ct(Le,T.value,I.value)).filter(Le=>Le.dateHash!==null&&Le.day!==null&&Le.month!==null&&Le.year!==null)),J=computed(()=>{const Le=Fe=>ct(Fe,T.value,I.value);return Q.value.filter(Fe=>isObject$o(Fe)===!0&&Fe.from!==void 0&&Fe.to!==void 0).map(Fe=>({from:Le(Fe.from),to:Le(Fe.to)})).filter(Fe=>Fe.from.dateHash!==null&&Fe.to.dateHash!==null&&Fe.from.dateHasht.calendar!=="persian"?Le=>new Date(Le.year,Le.month-1,Le.day):Le=>{const Fe=toGregorian(Le.year,Le.month,Le.day);return new Date(Fe.gy,Fe.gm-1,Fe.gd)}),te=computed(()=>t.calendar==="persian"?getDayHash:(Le,Fe,it)=>formatDate$1(new Date(Le.year,Le.month-1,Le.day,Le.hour,Le.minute,Le.second,Le.millisecond),Fe===void 0?T.value:Fe,it===void 0?I.value:it,Le.year,Le.timezoneOffset)),ce=computed(()=>X.value.length+J.value.reduce((Le,Fe)=>Le+1+getDateDiff(ne.value(Fe.to),ne.value(Fe.from)),0)),se=computed(()=>{if(t.title!==void 0&&t.title!==null&&t.title.length!==0)return t.title;if(Z.value!==null){const it=Z.value.init,It=ne.value(it);return I.value.daysShort[It.getDay()]+", "+I.value.monthsShort[it.month-1]+" "+it.day+lineStr+"?"}if(ce.value===0)return lineStr;if(ce.value>1)return`${ce.value} ${I.value.pluralDay}`;const Le=X.value[0],Fe=ne.value(Le);return isNaN(Fe.valueOf())===!0?lineStr:I.value.headerTitle!==void 0?I.value.headerTitle(Fe,Le):I.value.daysShort[Fe.getDay()]+", "+I.value.monthsShort[Le.month-1]+" "+Le.day}),ge=computed(()=>X.value.concat(J.value.map(Fe=>Fe.from)).sort((Fe,it)=>Fe.year-it.year||Fe.month-it.month)[0]),he=computed(()=>X.value.concat(J.value.map(Fe=>Fe.to)).sort((Fe,it)=>it.year-Fe.year||it.month-Fe.month)[0]),ye=computed(()=>{if(t.subtitle!==void 0&&t.subtitle!==null&&t.subtitle.length!==0)return t.subtitle;if(ce.value===0)return lineStr;if(ce.value>1){const Le=ge.value,Fe=he.value,it=I.value.monthsShort;return it[Le.month-1]+(Le.year!==Fe.year?" "+Le.year+lineStr+it[Fe.month-1]+" ":Le.month!==Fe.month?lineStr+it[Fe.month-1]:"")+" "+Fe.year}return X.value[0].year}),ee=computed(()=>{const Le=[u.iconSet.datetime.arrowLeft,u.iconSet.datetime.arrowRight];return u.lang.rtl===!0?Le.reverse():Le}),pe=computed(()=>t.firstDayOfWeek!==void 0?Number(t.firstDayOfWeek):I.value.firstDayOfWeek),ae=computed(()=>{const Le=I.value.daysShort,Fe=pe.value;return Fe>0?Le.slice(Fe,7).concat(Le.slice(0,Fe)):Le}),ve=computed(()=>{const Le=D.value;return t.calendar!=="persian"?new Date(Le.year,Le.month,0).getDate():jalaaliMonthLength(Le.year,Le.month)}),we=computed(()=>typeof t.eventColor=="function"?t.eventColor:()=>t.eventColor),_e=computed(()=>{if(t.navigationMinYearMonth===void 0)return null;const Le=t.navigationMinYearMonth.split("/");return{year:parseInt(Le[0],10),month:parseInt(Le[1],10)}}),Te=computed(()=>{if(t.navigationMaxYearMonth===void 0)return null;const Le=t.navigationMaxYearMonth.split("/");return{year:parseInt(Le[0],10),month:parseInt(Le[1],10)}}),Ce=computed(()=>{const Le={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return _e.value!==null&&_e.value.year>=D.value.year&&(Le.year.prev=!1,_e.value.year===D.value.year&&_e.value.month>=D.value.month&&(Le.month.prev=!1)),Te.value!==null&&Te.value.year<=D.value.year&&(Le.year.next=!1,Te.value.year===D.value.year&&Te.value.month<=D.value.month&&(Le.month.next=!1)),Le}),Ae=computed(()=>{const Le={};return X.value.forEach(Fe=>{const it=getMonthHash(Fe);Le[it]===void 0&&(Le[it]=[]),Le[it].push(Fe.day)}),Le}),Ee=computed(()=>{const Le={};return J.value.forEach(Fe=>{const it=getMonthHash(Fe.from),It=getMonthHash(Fe.to);if(Le[it]===void 0&&(Le[it]=[]),Le[it].push({from:Fe.from.day,to:it===It?Fe.to.day:void 0,range:Fe}),it12&&(et.year++,et.month=1)}}),Le}),le=computed(()=>{if(Z.value===null)return;const{init:Le,initHash:Fe,final:it,finalHash:It}=Z.value,[Ne,Ge]=Fe<=It?[Le,it]:[it,Le],ze=getMonthHash(Ne),et=getMonthHash(Ge);if(ze!==re.value&&et!==re.value)return;const nt={};return ze===re.value?(nt.from=Ne.day,nt.includeFrom=!0):nt.from=1,et===re.value?(nt.to=Ge.day,nt.includeTo=!0):nt.to=ve.value,nt}),re=computed(()=>getMonthHash(D.value)),ue=computed(()=>{const Le={};if(t.options===void 0){for(let it=1;it<=ve.value;it++)Le[it]=!0;return Le}const Fe=typeof t.options=="function"?t.options:it=>t.options.includes(it);for(let it=1;it<=ve.value;it++){const It=re.value+"/"+pad$2(it);Le[it]=Fe(It)}return Le}),be=computed(()=>{const Le={};if(t.events===void 0)for(let Fe=1;Fe<=ve.value;Fe++)Le[Fe]=!1;else{const Fe=typeof t.events=="function"?t.events:it=>t.events.includes(it);for(let it=1;it<=ve.value;it++){const It=re.value+"/"+pad$2(it);Le[it]=Fe(It)===!0&&we.value(It)}}return Le}),ie=computed(()=>{let Le,Fe;const{year:it,month:It}=D.value;if(t.calendar!=="persian")Le=new Date(it,It-1,1),Fe=new Date(it,It-1,0).getDate();else{const Ne=toGregorian(it,It,1);Le=new Date(Ne.gy,Ne.gm-1,Ne.gd);let Ge=It-1,ze=it;Ge===0&&(Ge=12,ze--),Fe=jalaaliMonthLength(ze,Ge)}return{days:Le.getDay()-pe.value-1,endDay:Fe}}),oe=computed(()=>{const Le=[],{days:Fe,endDay:it}=ie.value,It=Fe<0?Fe+7:Fe;if(It<6)for(let ze=it-It;ze<=it;ze++)Le.push({i:ze,fill:!0});const Ne=Le.length;for(let ze=1;ze<=ve.value;ze++){const et={i:ze,event:be.value[ze],classes:[]};ue.value[ze]===!0&&(et.in=!0,et.flat=!0),Le.push(et)}if(Ae.value[re.value]!==void 0&&Ae.value[re.value].forEach(ze=>{const et=Ne+ze-1;Object.assign(Le[et],{selected:!0,unelevated:!0,flat:!1,color:B.value,textColor:z.value})}),Ee.value[re.value]!==void 0&&Ee.value[re.value].forEach(ze=>{if(ze.from!==void 0){const et=Ne+ze.from-1,nt=Ne+(ze.to||ve.value)-1;for(let Bt=et;Bt<=nt;Bt++)Object.assign(Le[Bt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value});Object.assign(Le[et],{rangeFrom:!0,flat:!1}),ze.to!==void 0&&Object.assign(Le[nt],{rangeTo:!0,flat:!1})}else if(ze.to!==void 0){const et=Ne+ze.to-1;for(let nt=Ne;nt<=et;nt++)Object.assign(Le[nt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value});Object.assign(Le[et],{flat:!1,rangeTo:!0})}else{const et=Ne+ve.value-1;for(let nt=Ne;nt<=et;nt++)Object.assign(Le[nt],{range:ze.range,unelevated:!0,color:B.value,textColor:z.value})}}),le.value!==void 0){const ze=Ne+le.value.from-1,et=Ne+le.value.to-1;for(let nt=ze;nt<=et;nt++)Le[nt].color=B.value,Le[nt].editRange=!0;le.value.includeFrom===!0&&(Le[ze].editRangeFrom=!0),le.value.includeTo===!0&&(Le[et].editRangeTo=!0)}D.value.year===O.value.year&&D.value.month===O.value.month&&(Le[Ne+O.value.day-1].today=!0);const Ge=Le.length%7;if(Ge>0){const ze=7-Ge;for(let et=1;et<=ze;et++)Le.push({i:et,fill:!0})}return Le.forEach(ze=>{let et="q-date__calendar-item ";ze.fill===!0?et+="q-date__calendar-item--fill":(et+=`q-date__calendar-item--${ze.in===!0?"in":"out"}`,ze.range!==void 0&&(et+=` q-date__range${ze.rangeTo===!0?"-to":ze.rangeFrom===!0?"-from":""}`),ze.editRange===!0&&(et+=` q-date__edit-range${ze.editRangeFrom===!0?"-from":""}${ze.editRangeTo===!0?"-to":""}`),(ze.range!==void 0||ze.editRange===!0)&&(et+=` text-${ze.color}`)),ze.classes=et}),Le}),me=computed(()=>t.disable===!0?{"aria-disabled":"true"}:{});watch(()=>t.modelValue,Le=>{if(_===Le)_=0;else{const Fe=_t(T.value,I.value);dt(Fe.year,Fe.month,Fe)}}),watch(x,()=>{C.value!==null&&a.$el.contains(document.activeElement)===!0&&C.value.focus()}),watch(()=>D.value.year+"|"+D.value.month,()=>{o("navigation",{year:D.value.year,month:D.value.month})}),watch(E,Le=>{Oe(Le,I.value,"mask"),T.value=Le}),watch(F,Le=>{Oe(T.value,Le,"locale"),I.value=Le});function Se(){const{year:Le,month:Fe,day:it}=O.value,It={...D.value,year:Le,month:Fe,day:it},Ne=Ae.value[getMonthHash(It)];(Ne===void 0||Ne.includes(It.day)===!1)&&St(It),Pe(It.year,It.month)}function xe(Le){viewIsValid(Le)===!0&&(x.value=Le)}function De(Le,Fe){["month","year"].includes(Le)&&(Le==="month"?Ve:ke)(Fe===!0?-1:1)}function Pe(Le,Fe){x.value="Calendar",dt(Le,Fe)}function Be(Le,Fe){if(t.range===!1||!Le){Z.value=null;return}const it=Object.assign({...D.value},Le),It=Fe!==void 0?Object.assign({...D.value},Fe):it;Z.value={init:it,initHash:getDayHash(it),final:It,finalHash:getDayHash(It)},Pe(it.year,it.month)}function ot(){return t.calendar==="persian"?"YYYY/MM/DD":t.mask}function ct(Le,Fe,it){return __splitDate(Le,Fe,it,t.calendar,{hour:0,minute:0,second:0,millisecond:0})}function _t(Le,Fe){const it=Array.isArray(t.modelValue)===!0?t.modelValue:t.modelValue?[t.modelValue]:[];if(it.length===0)return He();const It=it[it.length-1],Ne=ct(It.from!==void 0?It.from:It,Le,Fe);return Ne.dateHash===null?He():Ne}function He(){let Le,Fe;if(t.defaultYearMonth!==void 0){const it=t.defaultYearMonth.split("/");Le=parseInt(it[0],10),Fe=parseInt(it[1],10)}else{const it=O.value!==void 0?O.value:b();Le=it.year,Fe=it.month}return{year:Le,month:Fe,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:Le+"/"+pad$2(Fe)+"/01"}}function Ve(Le){let Fe=D.value.year,it=Number(D.value.month)+Le;it===13?(it=1,Fe++):it===0&&(it=12,Fe--),dt(Fe,it),U.value===!0&&Ye("month")}function ke(Le){const Fe=Number(D.value.year)+Le;dt(Fe,D.value.month),U.value===!0&&Ye("year")}function Qe(Le){dt(Le,D.value.month),x.value=t.defaultView==="Years"?"Months":"Calendar",U.value===!0&&Ye("year")}function yt(Le){dt(D.value.year,Le),x.value="Calendar",U.value===!0&&Ye("month")}function Ct(Le,Fe){const it=Ae.value[Fe];(it!==void 0&&it.includes(Le.day)===!0?Rt:St)(Le)}function Xe(Le){return{year:Le.year,month:Le.month,day:Le.day}}function dt(Le,Fe,it){if(_e.value!==null&&Le<=_e.value.year&&((Fe<_e.value.month||Le<_e.value.year)&&(Fe=_e.value.month),Le=_e.value.year),Te.value!==null&&Le>=Te.value.year&&((Fe>Te.value.month||Le>Te.value.year)&&(Fe=Te.value.month),Le=Te.value.year),it!==void 0){const{hour:Ne,minute:Ge,second:ze,millisecond:et,timezoneOffset:nt,timeHash:Bt}=it;Object.assign(D.value,{hour:Ne,minute:Ge,second:ze,millisecond:et,timezoneOffset:nt,timeHash:Bt})}const It=Le+"/"+pad$2(Fe)+"/01";It!==D.value.dateHash&&(G.value=D.value.dateHash{V.value=Le-Le%yearsInterval-(Le<0?yearsInterval:0),Object.assign(D.value,{year:Le,month:Fe,day:1,dateHash:It})}))}function Re(Le,Fe,it){const It=Le!==null&&Le.length===1&&t.multiple===!1?Le[0]:Le;_=It;const{reason:Ne,details:Ge}=at(Fe,it);o("update:modelValue",It,Ne,Ge)}function Ye(Le){const Fe=X.value[0]!==void 0&&X.value[0].dateHash!==null?{...X.value[0]}:{...D.value};nextTick(()=>{Fe.year=D.value.year,Fe.month=D.value.month;const it=t.calendar!=="persian"?new Date(Fe.year,Fe.month,0).getDate():jalaaliMonthLength(Fe.year,Fe.month);Fe.day=Math.min(Math.max(1,Fe.day),it);const It=mt(Fe);_=It;const{details:Ne}=at("",Fe);o("update:modelValue",It,Le,Ne)})}function at(Le,Fe){return Fe.from!==void 0?{reason:`${Le}-range`,details:{...Xe(Fe.target),from:Xe(Fe.from),to:Xe(Fe.to)}}:{reason:`${Le}-day`,details:Xe(Fe)}}function mt(Le,Fe,it){return Le.from!==void 0?{from:te.value(Le.from,Fe,it),to:te.value(Le.to,Fe,it)}:te.value(Le,Fe,it)}function St(Le){let Fe;if(t.multiple===!0)if(Le.from!==void 0){const it=getDayHash(Le.from),It=getDayHash(Le.to),Ne=X.value.filter(ze=>ze.dateHashIt),Ge=J.value.filter(({from:ze,to:et})=>et.dateHashIt);Fe=Ne.concat(Ge).concat(Le).map(ze=>mt(ze))}else{const it=Q.value.slice();it.push(mt(Le)),Fe=it}else Fe=mt(Le);Re(Fe,"add",Le)}function Rt(Le){if(t.noUnset===!0)return;let Fe=null;if(t.multiple===!0&&Array.isArray(t.modelValue)===!0){const it=mt(Le);Le.from!==void 0?Fe=t.modelValue.filter(It=>It.from!==void 0?It.from!==it.from&&It.to!==it.to:!0):Fe=t.modelValue.filter(It=>It!==it),Fe.length===0&&(Fe=null)}Re(Fe,"remove",Le)}function Oe(Le,Fe,it){const It=X.value.concat(J.value).map(Ne=>mt(Ne,Le,Fe)).filter(Ne=>Ne.from!==void 0?Ne.from.dateHash!==null&&Ne.to.dateHash!==null:Ne.dateHash!==null);o("update:modelValue",(t.multiple===!0?It:It[0])||null,it)}function We(){if(t.minimal!==!0)return h("div",{class:"q-date__header "+y.value},[h("div",{class:"relative-position"},[h(Transition,{name:"q-transition--fade"},()=>h("div",{key:"h-yr-"+ye.value,class:"q-date__header-subtitle q-date__header-link "+(x.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vY",{onClick(){x.value="Years"},onKeyup(Le){Le.keyCode===13&&(x.value="Years")}})},[ye.value]))]),h("div",{class:"q-date__header-title relative-position flex no-wrap"},[h("div",{class:"relative-position col"},[h(Transition,{name:"q-transition--fade"},()=>h("div",{key:"h-sub"+se.value,class:"q-date__header-title-label q-date__header-link "+(x.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vC",{onClick(){x.value="Calendar"},onKeyup(Le){Le.keyCode===13&&(x.value="Calendar")}})},[se.value]))]),t.todayBtn===!0?h(QBtn,{class:"q-date__header-today self-start",icon:u.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:v.value,onClick:Se}):null])])}function Je({label:Le,type:Fe,key:it,dir:It,goTo:Ne,boundaries:Ge,cls:ze}){return[h("div",{class:"row items-center q-date__arrow"},[h(QBtn,{round:!0,dense:!0,size:"sm",flat:!0,icon:ee.value[0],tabindex:v.value,disable:Ge.prev===!1,...g("go-#"+Fe,{onClick(){Ne(-1)}})})]),h("div",{class:"relative-position overflow-hidden flex flex-center"+ze},[h(Transition,{name:"q-transition--jump-"+It},()=>h("div",{key:it},[h(QBtn,{flat:!0,dense:!0,noCaps:!0,label:Le,tabindex:v.value,...g("view#"+Fe,{onClick:()=>{x.value=Fe}})})]))]),h("div",{class:"row items-center q-date__arrow"},[h(QBtn,{round:!0,dense:!0,size:"sm",flat:!0,icon:ee.value[1],tabindex:v.value,disable:Ge.next===!1,...g("go+#"+Fe,{onClick(){Ne(1)}})})])]}const st={Calendar:()=>[h("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[h("div",{class:"q-date__navigation row items-center no-wrap"},Je({label:I.value.months[D.value.month-1],type:"Months",key:D.value.month,dir:G.value,goTo:Ve,boundaries:Ce.value.month,cls:" col"}).concat(Je({label:D.value.year,type:"Years",key:D.value.year,dir:M.value,goTo:ke,boundaries:Ce.value.year,cls:""}))),h("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(Le=>h("div",{class:"q-date__calendar-item"},[h("div",Le)]))),h("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[h(Transition,{name:"q-transition--slide-"+G.value},()=>h("div",{key:re.value,class:"q-date__calendar-days fit"},oe.value.map(Le=>h("div",{class:Le.classes},[Le.in===!0?h(QBtn,{class:Le.today===!0?"q-date__today":"",dense:!0,flat:Le.flat,unelevated:Le.unelevated,color:Le.color,textColor:Le.textColor,label:Le.i,tabindex:v.value,...g("day#"+Le.i,{onClick:()=>{At(Le.i)},onMouseover:()=>{bt(Le.i)}})},Le.event!==!1?()=>h("div",{class:"q-date__event bg-"+Le.event}):null):h("div",""+Le.i)]))))])])],Months(){const Le=D.value.year===O.value.year,Fe=It=>_e.value!==null&&D.value.year===_e.value.year&&_e.value.month>It||Te.value!==null&&D.value.year===Te.value.year&&Te.value.month{const Ge=D.value.month===Ne+1;return h("div",{class:"q-date__months-item flex flex-center"},[h(QBtn,{class:Le===!0&&O.value.month===Ne+1?"q-date__today":null,flat:Ge!==!0,label:It,unelevated:Ge,color:Ge===!0?B.value:null,textColor:Ge===!0?z.value:null,tabindex:v.value,disable:Fe(Ne+1),...g("month#"+Ne,{onClick:()=>{yt(Ne+1)}})})])});return t.yearsInMonthView===!0&&it.unshift(h("div",{class:"row no-wrap full-width"},[Je({label:D.value.year,type:"Years",key:D.value.year,dir:M.value,goTo:ke,boundaries:Ce.value.year,cls:" col"})])),h("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},it)},Years(){const Le=V.value,Fe=Le+yearsInterval,it=[],It=Ne=>_e.value!==null&&_e.value.year>Ne||Te.value!==null&&Te.value.year{Qe(Ne)}})})]))}return h("div",{class:"q-date__view q-date__years flex flex-center"},[h("div",{class:"col-auto"},[h(QBtn,{round:!0,dense:!0,flat:!0,icon:ee.value[0],tabindex:v.value,disable:It(Le),...g("y-",{onClick:()=>{V.value-=yearsInterval}})})]),h("div",{class:"q-date__years-content col self-stretch row items-center"},it),h("div",{class:"col-auto"},[h(QBtn,{round:!0,dense:!0,flat:!0,icon:ee.value[1],tabindex:v.value,disable:It(Fe),...g("y+",{onClick:()=>{V.value+=yearsInterval}})})])])}};function At(Le){const Fe={...D.value,day:Le};if(t.range===!1){Ct(Fe,re.value);return}if(Z.value===null){const it=oe.value.find(Ne=>Ne.fill!==!0&&Ne.i===Le);if(t.noUnset!==!0&&it.range!==void 0){Rt({target:Fe,from:it.range.from,to:it.range.to});return}if(it.selected===!0){Rt(Fe);return}const It=getDayHash(Fe);Z.value={init:Fe,initHash:It,final:Fe,finalHash:It},o("rangeStart",Xe(Fe))}else{const it=Z.value.initHash,It=getDayHash(Fe),Ne=it<=It?{from:Z.value.init,to:Fe}:{from:Fe,to:Z.value.init};Z.value=null,St(it===It?Fe:{target:Fe,...Ne}),o("rangeEnd",{from:Xe(Ne.from),to:Xe(Ne.to)})}}function bt(Le){if(Z.value!==null){const Fe={...D.value,day:Le};Object.assign(Z.value,{final:Fe,finalHash:getDayHash(Fe)})}}return Object.assign(a,{setToday:Se,setView:xe,offsetCalendar:De,setCalendarTo:Pe,setEditingRange:Be}),()=>{const Le=[h("div",{class:"q-date__content col relative-position"},[h(Transition,{name:"q-transition--fade"},st[x.value])])],Fe=hSlot(r.default);return Fe!==void 0&&Le.push(h("div",{class:"q-date__actions"},Fe)),t.name!==void 0&&t.disable!==!0&&S(Le,"push"),h("div",{class:H.value,...me.value},[We(),h("div",{ref:C,class:"q-date__main col column",tabindex:-1},Le)])}}}),DatePickerBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1w=defineComponent({name:"DatePickerBody",props:{componentId:{type:String,default:"DatePickerBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$i),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";a.value=d}),{componentOptions:o,date:a,onChange:(d,g,v)=>{const y=new Date(v.year,v.month-1,v.day);d=format$2(y,o.mask),r("setDevice",t.device.id,t.stateKey,d,o.ack),v.value=d}}}}),OPTIONS$i={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},mask:{label:i18n.global.t("config#componentOptions#TimePicker#mask#label"),info:i18n.global.t("config#componentOptions#TimePicker#mask#info"),value:"dd.MM.yyyy"},minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!0},todayButton:{label:i18n.global.t("config#componentOptions#DatePicker#today-btn#label"),info:i18n.global.t("config#componentOptions#DatePicker#today-btn#info"),type:"Switch",value:!1,conditions:{minimal:!1}}};function _sfc_render$1w(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QDate,{"model-value":t.date,mask:t.componentOptions.mask.toUpperCase(),"today-btn":t.componentOptions.todayButton,minimal:t.componentOptions.minimal,color:"primary",bordered:"",flat:"",style:{"z-index":"1"},"onUpdate:modelValue":t.onChange},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["model-value","mask","today-btn","minimal","onUpdate:modelValue"])])}var DatePickerBody$1=_export_sfc$1(_sfc_main$1w,[["render",_sfc_render$1w]]),DatePickerBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$i,default:DatePickerBody$1},Symbol.toStringTag,{value:"Module"}));function getViewByModel(t,r){if(t.hour!==null){if(t.minute===null)return"minute";if(r===!0&&t.second===null)return"second"}return"hour"}function getCurrentTime(){const t=new Date;return{hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}}var QTime=createComponent({name:"QTime",props:{...useDarkProps,...useFormProps,...useDatetimeProps,modelValue:{required:!0,validator:t=>typeof t=="string"||t===null},mask:{...useDatetimeProps.mask,default:null},format24h:{type:Boolean,default:null},defaultDate:{type:String,validator:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t)},options:Function,hourOptions:Array,minuteOptions:Array,secondOptions:Array,withSeconds:Boolean,nowBtn:Boolean},emits:useDatetimeEmits,setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{$q:u}=a.proxy,d=useDark(t,u),{tabindex:g,headerClass:v,getLocale:y,getCurrentDate:A}=useDatetime(t,u),b=useFormAttrs(t),_=useFormInject(b);let w,S;const C=ref(null),T=computed(()=>ye()),I=computed(()=>y()),E=computed(()=>ee()),F=__splitDate(t.modelValue,T.value,I.value,t.calendar,E.value),O=ref(getViewByModel(F)),D=ref(F),x=ref(F.hour===null||F.hour<12),P=computed(()=>`q-time q-time--${t.landscape===!0?"landscape":"portrait"}`+(d.value===!0?" q-time--dark q-dark":"")+(t.disable===!0?" disabled":t.readonly===!0?" q-time--readonly":"")+(t.bordered===!0?" q-time--bordered":"")+(t.square===!0?" q-time--square no-border-radius":"")+(t.flat===!0?" q-time--flat no-shadow":"")),G=computed(()=>{const He=D.value;return{hour:He.hour===null?"--":M.value===!0?pad$2(He.hour):String(x.value===!0?He.hour===0?12:He.hour:He.hour>12?He.hour-12:He.hour),minute:He.minute===null?"--":pad$2(He.minute),second:He.second===null?"--":pad$2(He.second)}}),M=computed(()=>t.format24h!==null?t.format24h:u.lang.date.format24h),N=computed(()=>{const He=O.value==="hour",Ve=He===!0?12:60,ke=D.value[O.value];let yt=`rotate(${Math.round(ke*(360/Ve))-180}deg) translateX(-50%)`;return He===!0&&M.value===!0&&D.value.hour>=12&&(yt+=" scale(.7)"),{transform:yt}}),V=computed(()=>D.value.hour!==null),Z=computed(()=>V.value===!0&&D.value.minute!==null),H=computed(()=>t.hourOptions!==void 0?He=>t.hourOptions.includes(He):t.options!==void 0?He=>t.options(He,null,null):null),B=computed(()=>t.minuteOptions!==void 0?He=>t.minuteOptions.includes(He):t.options!==void 0?He=>t.options(D.value.hour,He,null):null),z=computed(()=>t.secondOptions!==void 0?He=>t.secondOptions.includes(He):t.options!==void 0?He=>t.options(D.value.hour,D.value.minute,He):null),U=computed(()=>{if(H.value===null)return null;const He=se(0,11,H.value),Ve=se(12,11,H.value);return{am:He,pm:Ve,values:He.values.concat(Ve.values)}}),Q=computed(()=>B.value!==null?se(0,59,B.value):null),X=computed(()=>z.value!==null?se(0,59,z.value):null),J=computed(()=>{switch(O.value){case"hour":return U.value;case"minute":return Q.value;case"second":return X.value}}),ne=computed(()=>{let He,Ve,ke=0,Qe=1;const yt=J.value!==null?J.value.values:void 0;O.value==="hour"?M.value===!0?(He=0,Ve=23):(He=0,Ve=11,x.value===!1&&(ke=12)):(He=0,Ve=55,Qe=5);const Ct=[];for(let Xe=He,dt=He;Xe<=Ve;Xe+=Qe,dt++){const Re=Xe+ke,Ye=yt!==void 0&&yt.includes(Re)===!1,at=O.value==="hour"&&Xe===0?M.value===!0?"00":"12":Xe;Ct.push({val:Re,index:dt,disable:Ye,label:at})}return Ct}),te=computed(()=>[[TouchPan,ve,void 0,{stop:!0,prevent:!0,mouse:!0}]]);watch(()=>t.modelValue,He=>{const Ve=__splitDate(He,T.value,I.value,t.calendar,E.value);(Ve.dateHash!==D.value.dateHash||Ve.timeHash!==D.value.timeHash)&&(D.value=Ve,Ve.hour===null?O.value="hour":x.value=Ve.hour<12)}),watch([T,I],()=>{nextTick(()=>{ot()})});function ce(){const He={...A(),...getCurrentTime()};ot(He),Object.assign(D.value,He),O.value="hour"}function se(He,Ve,ke){const Qe=Array.apply(null,{length:Ve+1}).map((yt,Ct)=>{const Xe=Ct+He;return{index:Xe,val:ke(Xe)===!0}}).filter(yt=>yt.val===!0).map(yt=>yt.index);return{min:Qe[0],max:Qe[Qe.length-1],values:Qe,threshold:Ve+1}}function ge(He,Ve,ke){const Qe=Math.abs(He-Ve);return Math.min(Qe,ke-Qe)}function he(He,{min:Ve,max:ke,values:Qe,threshold:yt}){if(He===Ve)return Ve;if(Heke)return ge(He,Ve,yt)<=ge(He,ke,yt)?Ve:ke;const Ct=Qe.findIndex(Re=>He<=Re),Xe=Qe[Ct-1],dt=Qe[Ct];return He-Xe<=dt-He?Xe:dt}function ye(){return t.calendar!=="persian"&&t.mask!==null?t.mask:`HH:mm${t.withSeconds===!0?":ss":""}`}function ee(){if(typeof t.defaultDate!="string"){const He=A(!0);return He.dateHash=getDayHash(He),He}return __splitDate(t.defaultDate,"YYYY/MM/DD",void 0,t.calendar)}function pe(){return vmIsDestroyed(a)===!0||J.value!==null&&(J.value.values.length===0||O.value==="hour"&&M.value!==!0&&U.value[x.value===!0?"am":"pm"].values.length===0)}function ae(){const He=C.value,{top:Ve,left:ke,width:Qe}=He.getBoundingClientRect(),yt=Qe/2;return{top:Ve+yt,left:ke+yt,dist:yt*.7}}function ve(He){if(pe()!==!0){if(He.isFirst===!0){w=ae(),S=_e(He.evt,w);return}S=_e(He.evt,w,S),He.isFinal===!0&&(w=!1,S=null,we())}}function we(){O.value==="hour"?O.value="minute":t.withSeconds&&O.value==="minute"&&(O.value="second")}function _e(He,Ve,ke){const Qe=position$1(He),yt=Math.abs(Qe.top-Ve.top),Ct=Math.sqrt(Math.pow(Math.abs(Qe.top-Ve.top),2)+Math.pow(Math.abs(Qe.left-Ve.left),2));let Xe,dt=Math.asin(yt/Ct)*(180/Math.PI);if(Qe.top=Ve.dist:U.value.am.values.length!==0;Xe=he(Xe+(Re===!0?0:12),U.value[Re===!0?"am":"pm"])}else Xe=Math.round(Xe),M.value===!0?Cth("div",{key:"clock"+O.value,class:"q-time__container-parent absolute-full"},[h("div",{ref:C,class:"q-time__container-child fit overflow-hidden"},[withDirectives(h("div",{class:"q-time__clock cursor-pointer non-selectable",onClick:Ee,onMousedown:le},[h("div",{class:"q-time__clock-circle fit"},[h("div",{class:"q-time__clock-pointer"+(D.value[O.value]===null?" hidden":t.color!==void 0?` text-${t.color}`:""),style:N.value}),ne.value.map(Ve=>h("div",{class:`q-time__clock-position row flex-center q-time__clock-pos-${Ve.index}`+(Ve.val===He?" q-time__clock-position--active "+v.value:Ve.disable===!0?" q-time__clock-position--disable":"")},[h("span",Ve.label)]))])]),te.value)])])),t.nowBtn===!0?h(QBtn,{class:"q-time__now-button absolute",icon:u.iconSet.datetime.now,unelevated:!0,size:"sm",round:!0,color:t.color,textColor:t.textColor,tabindex:g.value,onClick:ce}):null])}return a.proxy.setNow=ce,()=>{const He=[_t()],Ve=hSlot(r.default);return Ve!==void 0&&He.push(h("div",{class:"q-time__actions"},Ve)),t.name!==void 0&&t.disable!==!0&&_(He,"push"),h("div",{class:P.value,tabindex:-1},[ct(),h("div",{class:"q-time__main col overflow-auto"},He)])}}}),TimePickerBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1v=defineComponent({name:"TimePickerBody",props:{componentId:{type:String,default:"TimePickerBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$h),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const d=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"",[g,v,y]=d.toString().split(":");a.value=addLeadingZero(g)+":"+addLeadingZero(v)+(o.withSeconds?":"+addLeadingZero(y||0):""),o.mask=(o.mask+":ss").substr(0,o.withSeconds?8:5)}),{componentOptions:o,time:a,onChange:(d,g)=>{const v=new Date(g.year,g.month-1,g.day,g.hour,g.minute,g.second);d=format$2(v,o.mask),r("setDevice",t.device.id,t.stateKey,d,o.ack),a.value=d}}}}),OPTIONS$h={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},mask:{label:i18n.global.t("config#componentOptions#TimePicker#mask#label"),info:i18n.global.t("config#componentOptions#TimePicker#mask#info"),value:"HH:mm"},minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!0},nowButton:{label:i18n.global.t("config#componentOptions#TimePicker#nowButton#label"),info:i18n.global.t("config#componentOptions#TimePicker#nowButton#info"),type:"Switch",value:!0},format24h:{label:i18n.global.t("config#componentOptions#TimePicker#format24h#label"),info:i18n.global.t("config#componentOptions#TimePicker#format24h#info"),type:"Switch",value:!0},withSeconds:{label:i18n.global.t("config#componentOptions#TimePicker#withSeconds#label"),info:i18n.global.t("config#componentOptions#TimePicker#withSeconds#info"),type:"Switch",value:!1}};function _sfc_render$1v(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QTime,{"model-value":t.time,mask:t.componentOptions.mask,"now-btn":t.componentOptions.nowButton,format24h:t.componentOptions.format24h,"with-seconds":t.componentOptions.withSeconds,class:normalizeClass({minimal:t.componentOptions.minimal}),flat:"",style:{"z-index":"1"},"onUpdate:modelValue":t.onChange},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["model-value","mask","now-btn","format24h","with-seconds","class","onUpdate:modelValue"])])}var TimePickerBody$1=_export_sfc$1(_sfc_main$1v,[["render",_sfc_render$1v]]),TimePickerBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$h,default:TimePickerBody$1},Symbol.toStringTag,{value:"Module"}));function useRefocusTarget(t,r){const o=ref(null),a=computed(()=>t.disable===!0?null:h("span",{ref:o,class:"no-outline",tabindex:-1}));function u(d){const g=r.value;d!==void 0&&d.type.indexOf("key")===0?g!==null&&document.activeElement!==g&&g.contains(document.activeElement)===!0&&g.focus():o.value!==null&&(d===void 0||g!==null&&g.contains(d.target)===!0)&&o.value.focus()}return{refocusTargetEl:a,refocusTarget:u}}var optionSizes={xs:30,sm:35,md:40,lg:50,xl:60};const useCheckboxProps={...useDarkProps,...useSizeProps,...useFormProps,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:t=>t==="tf"||t==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},useCheckboxEmits=["update:modelValue"];function useCheckbox(t,r){const{props:o,slots:a,emit:u,proxy:d}=getCurrentInstance(),{$q:g}=d,v=useDark(o,g),y=ref(null),{refocusTargetEl:A,refocusTarget:b}=useRefocusTarget(o,y),_=useSize(o,optionSizes),w=computed(()=>o.val!==void 0&&Array.isArray(o.modelValue)),S=computed(()=>{const H=toRaw(o.val);return w.value===!0?o.modelValue.findIndex(B=>toRaw(B)===H):-1}),C=computed(()=>w.value===!0?S.value!==-1:toRaw(o.modelValue)===toRaw(o.trueValue)),T=computed(()=>w.value===!0?S.value===-1:toRaw(o.modelValue)===toRaw(o.falseValue)),I=computed(()=>C.value===!1&&T.value===!1),E=computed(()=>o.disable===!0?-1:o.tabindex||0),F=computed(()=>`q-${t} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(v.value===!0?` q-${t}--dark`:"")+(o.dense===!0?` q-${t}--dense`:"")+(o.leftLabel===!0?" reverse":"")),O=computed(()=>{const H=C.value===!0?"truthy":T.value===!0?"falsy":"indet",B=o.color!==void 0&&(o.keepColor===!0||(t==="toggle"?C.value===!0:T.value!==!0))?` text-${o.color}`:"";return`q-${t}__inner relative-position non-selectable q-${t}__inner--${H}${B}`}),D=computed(()=>{const H={type:"checkbox"};return o.name!==void 0&&Object.assign(H,{".checked":C.value,"^checked":C.value===!0?"checked":void 0,name:o.name,value:w.value===!0?o.val:o.trueValue}),H}),x=useFormInject(D),P=computed(()=>{const H={tabindex:E.value,role:t==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":I.value===!0?"mixed":C.value===!0?"true":"false"};return o.disable===!0&&(H["aria-disabled"]="true"),H});function G(H){H!==void 0&&(stopAndPrevent$1(H),b(H)),o.disable!==!0&&u("update:modelValue",M(),H)}function M(){if(w.value===!0){if(C.value===!0){const H=o.modelValue.slice();return H.splice(S.value,1),H}return o.modelValue.concat([o.val])}if(C.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(T.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function N(H){(H.keyCode===13||H.keyCode===32)&&stopAndPrevent$1(H)}function V(H){(H.keyCode===13||H.keyCode===32)&&G(H)}const Z=r(C,I);return Object.assign(d,{toggle:G}),()=>{const H=Z();o.disable!==!0&&x(H,"unshift",` q-${t}__native absolute q-ma-none q-pa-none`);const B=[h("div",{class:O.value,style:_.value,"aria-hidden":"true"},H)];A.value!==null&&B.push(A.value);const z=o.label!==void 0?hMergeSlot(a.default,[o.label]):hSlot(a.default);return z!==void 0&&B.push(h("div",{class:`q-${t}__label q-anchor--skip`},z)),h("div",{ref:y,class:F.value,...P.value,onClick:G,onKeydown:N,onKeyup:V},B)}}var QToggle=createComponent({name:"QToggle",props:{...useCheckboxProps,icon:String,iconColor:String},emits:useCheckboxEmits,setup(t){function r(o,a){const u=computed(()=>(o.value===!0?t.checkedIcon:a.value===!0?t.indeterminateIcon:t.uncheckedIcon)||t.icon),d=computed(()=>o.value===!0?t.iconColor:null);return()=>[h("div",{class:"q-toggle__track"}),h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},u.value!==void 0?[h(QIcon,{name:u.value,color:d.value})]:void 0)]}return useCheckbox("toggle",r)}});const createBgNode=()=>h("div",{key:"svg",class:"q-checkbox__bg absolute"},[h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var QCheckbox=createComponent({name:"QCheckbox",props:useCheckboxProps,emits:useCheckboxEmits,setup(t){const r=createBgNode();function o(a,u){const d=computed(()=>(a.value===!0?t.checkedIcon:u.value===!0?t.indeterminateIcon:t.uncheckedIcon)||null);return()=>d.value!==null?[h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[h(QIcon,{class:"q-checkbox__icon",name:d.value})])]:[r]}return useCheckbox("checkbox",o)}});const SwitchAction$2=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return SwitchAction$1}),void 0),suspensible:!1}),_sfc_main$1u=defineComponent({name:"CheckboxAction",components:{SwitchAction:SwitchAction$2}}),OPTIONS$g={val:{label:"config#componentOptions#_all#val#label",info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},colorOn:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},colorOff:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"grey"}};function _sfc_render$1u(t,r,o,a,u,d){const g=resolveComponent("switch-action");return openBlock(),createBlock(g,mergeProps({"component-id":"CheckboxAction"},t.$attrs,{checkbox:""}),null,16)}var CheckboxAction=_export_sfc$1(_sfc_main$1u,[["render",_sfc_render$1u]]),SwitchAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1t=defineComponent({name:"SwitchAction",props:{componentId:{type:String,default:"SwitchAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},checkbox:{type:Boolean,default:!1}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$f),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.config&&this.state.config.properties||{}}},val(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.stateProperties.off},isNumber(){return typeof this.val=="boolean"?!1:typeof this.val=="number"?!0:!Number.isNaN(parseFloat(this.val))&&this.val.toString().length===parseFloat(this.val).toString().length},stateVal(){if(this.stateKey==="group")return this.state.val;let t=this.val;if(this.isNumber){const r=parseFloat(this.stateProperties.off)||0;t=parseFloat(t)!==r}else t=t.toString()===this.stateProperties.on.toString();return t}},methods:{set(t){this.state&&this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions)}}}),OPTIONS$f={...OPTIONS$g,iconOn:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#icon#info"),value:"",type:"icon"},iconOff:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#icon#info"),value:"",type:"icon"}},_hoisted_1$16={key:0},_hoisted_2$T={key:1};function _sfc_render$1t(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[t.checkbox===!1?(openBlock(),createElementBlock("div",_hoisted_1$16,[createVNode$1(QToggle,{class:"jarvis-SwitchAction","model-value":t.stateVal,color:t.stateVal===!0?t.componentOptions.colorOn:t.componentOptions.colorOff,"checked-icon":t.componentOptions.iconOn,"unchecked-icon":t.componentOptions.iconOff,dense:"","keep-color":"","onUpdate:modelValue":t.set},null,8,["model-value","color","checked-icon","unchecked-icon","onUpdate:modelValue"])])):(openBlock(),createElementBlock("div",_hoisted_2$T,[createVNode$1(QCheckbox,{class:"jarvis-CheckboxAction","model-value":t.stateVal,color:t.stateVal===!0?t.componentOptions.colorOn:t.componentOptions.colorOff,dense:"","keep-color":"","onUpdate:modelValue":t.set},null,8,["model-value","color","onUpdate:modelValue"])]))])}var SwitchAction=_export_sfc$1(_sfc_main$1t,[["render",_sfc_render$1t]]),SwitchAction$1=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$f,default:SwitchAction},Symbol.toStringTag,{value:"Module"}));let buf,bufIdx=0;const hexBytes=new Array(256);for(let t=0;t<256;t++)hexBytes[t]=(t+256).toString(16).substring(1);const randomBytes=(()=>{const t=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(t!==void 0){if(t.randomBytes!==void 0)return t.randomBytes;if(t.getRandomValues!==void 0)return r=>{const o=new Uint8Array(r);return t.getRandomValues(o),o}}return r=>{const o=[];for(let a=r;a>0;a--)o.push(Math.floor(Math.random()*256));return o}})(),BUFFER_SIZE=4096;function uid$3(){(buf===void 0||bufIdx+16>BUFFER_SIZE)&&(bufIdx=0,buf=randomBytes(BUFFER_SIZE));const t=Array.prototype.slice.call(buf,bufIdx,bufIdx+=16);return t[6]=t[6]&15|64,t[8]=t[8]&63|128,hexBytes[t[0]]+hexBytes[t[1]]+hexBytes[t[2]]+hexBytes[t[3]]+"-"+hexBytes[t[4]]+hexBytes[t[5]]+"-"+hexBytes[t[6]]+hexBytes[t[7]]+"-"+hexBytes[t[8]]+hexBytes[t[9]]+"-"+hexBytes[t[10]]+hexBytes[t[11]]+hexBytes[t[12]]+hexBytes[t[13]]+hexBytes[t[14]]+hexBytes[t[15]]}function parseValue(t){return t==null?null:t}function getId$1(t,r){return t==null?r===!0?`f_${uid$3()}`:null:t}function useId({getValue:t,required:r=!0}={}){if(isRuntimeSsrPreHydration.value===!0){const o=ref(t!==void 0?parseValue(t()):null);return r===!0&&o.value===null&&onMounted(()=>{o.value=`f_${uid$3()}`}),t!==void 0&&watch(t,a=>{o.value=getId$1(a,r)}),o}return t!==void 0?computed(()=>getId$1(t(),r)):ref(`f_${uid$3()}`)}const listenerRE=/^on[A-Z]/;function useSplitAttrs(){const{attrs:t,vnode:r}=getCurrentInstance(),o={listeners:ref({}),attributes:ref({})};function a(){const u={},d={};for(const g in t)g!=="class"&&g!=="style"&&listenerRE.test(g)===!1&&(u[g]=t[g]);for(const g in r.props)listenerRE.test(g)===!0&&(d[g]=r.props[g]);o.attributes.value=u,o.listeners.value=d}return onBeforeUpdate(a),a(),o}function useFormChild({validate:t,resetValidation:r,requiresQForm:o}){const a=inject(formKey,!1);if(a!==!1){const{props:u,proxy:d}=getCurrentInstance();Object.assign(d,{validate:t,resetValidation:r}),watch(()=>u.disable,g=>{g===!0?(typeof r=="function"&&r(),a.unbindComponent(d)):a.bindComponent(d)}),onMounted(()=>{u.disable!==!0&&a.bindComponent(d)}),onBeforeUnmount(()=>{u.disable!==!0&&a.unbindComponent(d)})}else o===!0&&console.error("Parent QForm not found on useFormChild()!")}const hex=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,hexa=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,hexOrHexa=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,rgb=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,rgba=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,testPattern={date:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t),time:t=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(t),fulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(t),timeOrFulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(t),email:t=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t),hexColor:t=>hex.test(t),hexaColor:t=>hexa.test(t),hexOrHexaColor:t=>hexOrHexa.test(t),rgbColor:t=>rgb.test(t),rgbaColor:t=>rgba.test(t),rgbOrRgbaColor:t=>rgb.test(t)||rgba.test(t),hexOrRgbColor:t=>hex.test(t)||rgb.test(t),hexaOrRgbaColor:t=>hexa.test(t)||rgba.test(t),anyColor:t=>hexOrHexa.test(t)||rgb.test(t)||rgba.test(t)},lazyRulesValues=[!0,!1,"ondemand"],useValidateProps={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:t=>lazyRulesValues.includes(t)}};function useValidate(t,r){const{props:o,proxy:a}=getCurrentInstance(),u=ref(!1),d=ref(null),g=ref(!1);useFormChild({validate:T,resetValidation:C});let v=0,y;const A=computed(()=>o.rules!==void 0&&o.rules!==null&&o.rules.length!==0),b=computed(()=>o.disable!==!0&&A.value===!0&&r.value===!1),_=computed(()=>o.error===!0||u.value===!0),w=computed(()=>typeof o.errorMessage=="string"&&o.errorMessage.length!==0?o.errorMessage:d.value);watch(()=>o.modelValue,()=>{g.value=!0,b.value===!0&&o.lazyRules===!1&&I()});function S(){o.lazyRules!=="ondemand"&&b.value===!0&&g.value===!0&&I()}watch(()=>o.reactiveRules,E=>{E===!0?y===void 0&&(y=watch(()=>o.rules,S,{immediate:!0,deep:!0})):y!==void 0&&(y(),y=void 0)},{immediate:!0}),watch(()=>o.lazyRules,S),watch(t,E=>{E===!0?g.value=!0:b.value===!0&&o.lazyRules!=="ondemand"&&I()});function C(){v++,r.value=!1,g.value=!1,u.value=!1,d.value=null,I.cancel()}function T(E=o.modelValue){if(o.disable===!0||A.value===!1)return!0;const F=++v,O=r.value!==!0?()=>{g.value=!0}:()=>{},D=(P,G)=>{P===!0&&O(),u.value=P,d.value=G||null,r.value=!1},x=[];for(let P=0;P{if(P===void 0||Array.isArray(P)===!1||P.length===0)return F===v&&D(!1),!0;const G=P.find(M=>M===!1||typeof M=="string");return F===v&&D(G!==void 0,G),G===void 0},P=>(F===v&&(console.error(P),D(!0)),!1)))}const I=debounce$1(T,0);return onBeforeUnmount(()=>{y!==void 0&&y(),I.cancel()}),Object.assign(a,{resetValidation:C,validate:T}),injectProp(a,"hasError",()=>_.value),{isDirtyModel:g,hasRules:A,hasError:_,errorMessage:w,validate:T,resetValidation:C}}let queue=[],waitFlags=[];function clearFlag(t){waitFlags=waitFlags.filter(r=>r!==t)}function addFocusWaitFlag(t){clearFlag(t),waitFlags.push(t)}function removeFocusWaitFlag(t){clearFlag(t),waitFlags.length===0&&queue.length!==0&&(queue[queue.length-1](),queue=[])}function addFocusFn(t){waitFlags.length===0?t():queue.push(t)}function removeFocusFn(t){queue=queue.filter(r=>r!==t)}function fieldValueIsFilled(t){return t!=null&&(""+t).length!==0}const useNonInputFieldProps={...useDarkProps,...useValidateProps,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},useFieldProps={...useNonInputFieldProps,maxlength:[Number,String]},useFieldEmits=["update:modelValue","clear","focus","blur"];function useFieldState({requiredForAttr:t=!0,tagProp:r,changeEvent:o=!1}={}){const{props:a,proxy:u}=getCurrentInstance(),d=useDark(a,u.$q),g=useId({required:t,getValue:()=>a.for});return{requiredForAttr:t,changeEvent:o,tag:r===!0?computed(()=>a.tag):{value:"label"},isDark:d,editable:computed(()=>a.disable!==!0&&a.readonly!==!0),innerLoading:ref(!1),focused:ref(!1),hasPopupOpen:!1,splitAttrs:useSplitAttrs(),targetUid:g,rootRef:ref(null),targetRef:ref(null),controlRef:ref(null)}}function useField(t){const{props:r,emit:o,slots:a,attrs:u,proxy:d}=getCurrentInstance(),{$q:g}=d;let v=null;t.hasValue===void 0&&(t.hasValue=computed(()=>fieldValueIsFilled(r.modelValue))),t.emitValue===void 0&&(t.emitValue=J=>{o("update:modelValue",J)}),t.controlEvents===void 0&&(t.controlEvents={onFocusin:N,onFocusout:V}),Object.assign(t,{clearValue:Z,onControlFocusin:N,onControlFocusout:V,focus:G}),t.computedCounter===void 0&&(t.computedCounter=computed(()=>{if(r.counter!==!1){const J=typeof r.modelValue=="string"||typeof r.modelValue=="number"?(""+r.modelValue).length:Array.isArray(r.modelValue)===!0?r.modelValue.length:0,ne=r.maxlength!==void 0?r.maxlength:r.maxValues;return J+(ne!==void 0?" / "+ne:"")}}));const{isDirtyModel:y,hasRules:A,hasError:b,errorMessage:_,resetValidation:w}=useValidate(t.focused,t.innerLoading),S=t.floatingLabel!==void 0?computed(()=>r.stackLabel===!0||t.focused.value===!0||t.floatingLabel.value===!0):computed(()=>r.stackLabel===!0||t.focused.value===!0||t.hasValue.value===!0),C=computed(()=>r.bottomSlots===!0||r.hint!==void 0||A.value===!0||r.counter===!0||r.error!==null),T=computed(()=>r.filled===!0?"filled":r.outlined===!0?"outlined":r.borderless===!0?"borderless":r.standout?"standout":"standard"),I=computed(()=>`q-field row no-wrap items-start q-field--${T.value}`+(t.fieldClass!==void 0?` ${t.fieldClass.value}`:"")+(r.rounded===!0?" q-field--rounded":"")+(r.square===!0?" q-field--square":"")+(S.value===!0?" q-field--float":"")+(F.value===!0?" q-field--labeled":"")+(r.dense===!0?" q-field--dense":"")+(r.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(t.isDark.value===!0?" q-field--dark":"")+(t.getControl===void 0?" q-field--auto-height":"")+(t.focused.value===!0?" q-field--focused":"")+(b.value===!0?" q-field--error":"")+(b.value===!0||t.focused.value===!0?" q-field--highlighted":"")+(r.hideBottomSpace!==!0&&C.value===!0?" q-field--with-bottom":"")+(r.disable===!0?" q-field--disabled":r.readonly===!0?" q-field--readonly":"")),E=computed(()=>"q-field__control relative-position row no-wrap"+(r.bgColor!==void 0?` bg-${r.bgColor}`:"")+(b.value===!0?" text-negative":typeof r.standout=="string"&&r.standout.length!==0&&t.focused.value===!0?` ${r.standout}`:r.color!==void 0?` text-${r.color}`:"")),F=computed(()=>r.labelSlot===!0||r.label!==void 0),O=computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(r.labelColor!==void 0&&b.value!==!0?` text-${r.labelColor}`:"")),D=computed(()=>({id:t.targetUid.value,editable:t.editable.value,focused:t.focused.value,floatingLabel:S.value,modelValue:r.modelValue,emitValue:t.emitValue})),x=computed(()=>{const J={};return t.targetUid.value&&(J.for=t.targetUid.value),r.disable===!0&&(J["aria-disabled"]="true"),J});function P(){const J=document.activeElement;let ne=t.targetRef!==void 0&&t.targetRef.value;ne&&(J===null||J.id!==t.targetUid.value)&&(ne.hasAttribute("tabindex")===!0||(ne=ne.querySelector("[tabindex]")),ne&&ne!==J&&ne.focus({preventScroll:!0}))}function G(){addFocusFn(P)}function M(){removeFocusFn(P);const J=document.activeElement;J!==null&&t.rootRef.value.contains(J)&&J.blur()}function N(J){v!==null&&(clearTimeout(v),v=null),t.editable.value===!0&&t.focused.value===!1&&(t.focused.value=!0,o("focus",J))}function V(J,ne){v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,!(document.hasFocus()===!0&&(t.hasPopupOpen===!0||t.controlRef===void 0||t.controlRef.value===null||t.controlRef.value.contains(document.activeElement)!==!1))&&(t.focused.value===!0&&(t.focused.value=!1,o("blur",J)),ne!==void 0&&ne())})}function Z(J){stopAndPrevent$1(J),g.platform.is.mobile!==!0?(t.targetRef!==void 0&&t.targetRef.value||t.rootRef.value).focus():t.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),r.type==="file"&&(t.inputRef.value.value=null),o("update:modelValue",null),t.changeEvent===!0&&o("change",null),o("clear",r.modelValue),nextTick(()=>{const ne=y.value;w(),y.value=ne})}function H(J){[13,32].includes(J.keyCode)&&Z(J)}function B(){const J=[];return a.prepend!==void 0&&J.push(h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:prevent},a.prepend())),J.push(h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},z())),b.value===!0&&r.noErrorIcon===!1&&J.push(Q("error",[h(QIcon,{name:g.iconSet.field.error,color:"negative"})])),r.loading===!0||t.innerLoading.value===!0?J.push(Q("inner-loading-append",a.loading!==void 0?a.loading():[h(QSpinner,{color:r.color})])):r.clearable===!0&&t.hasValue.value===!0&&t.editable.value===!0&&J.push(Q("inner-clearable-append",[h(QIcon,{class:"q-field__focusable-action",name:r.clearIcon||g.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":g.lang.label.clear,onKeyup:H,onClick:Z})])),a.append!==void 0&&J.push(h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:prevent},a.append())),t.getInnerAppend!==void 0&&J.push(Q("inner-append",t.getInnerAppend())),t.getControlChild!==void 0&&J.push(t.getControlChild()),J}function z(){const J=[];return r.prefix!==void 0&&r.prefix!==null&&J.push(h("div",{class:"q-field__prefix no-pointer-events row items-center"},r.prefix)),t.getShadowControl!==void 0&&t.hasShadow.value===!0&&J.push(t.getShadowControl()),t.getControl!==void 0?J.push(t.getControl()):a.rawControl!==void 0?J.push(a.rawControl()):a.control!==void 0&&J.push(h("div",{ref:t.targetRef,class:"q-field__native row",tabindex:-1,...t.splitAttrs.attributes.value,"data-autofocus":r.autofocus===!0||void 0},a.control(D.value))),F.value===!0&&J.push(h("div",{class:O.value},hSlot(a.label,r.label))),r.suffix!==void 0&&r.suffix!==null&&J.push(h("div",{class:"q-field__suffix no-pointer-events row items-center"},r.suffix)),J.concat(hSlot(a.default))}function U(){let J,ne;b.value===!0?_.value!==null?(J=[h("div",{role:"alert"},_.value)],ne=`q--slot-error-${_.value}`):(J=hSlot(a.error),ne="q--slot-error"):(r.hideHint!==!0||t.focused.value===!0)&&(r.hint!==void 0?(J=[h("div",r.hint)],ne=`q--slot-hint-${r.hint}`):(J=hSlot(a.hint),ne="q--slot-hint"));const te=r.counter===!0||a.counter!==void 0;if(r.hideBottomSpace===!0&&te===!1&&J===void 0)return;const ce=h("div",{key:ne,class:"q-field__messages col"},J);return h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(r.hideBottomSpace!==!0?"animated":"stale"),onClick:prevent},[r.hideBottomSpace===!0?ce:h(Transition,{name:"q-transition--field-message"},()=>ce),te===!0?h("div",{class:"q-field__counter"},a.counter!==void 0?a.counter():t.computedCounter.value):null])}function Q(J,ne){return ne===null?null:h("div",{key:J,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ne)}let X=!1;return onDeactivated(()=>{X=!0}),onActivated(()=>{X===!0&&r.autofocus===!0&&d.focus()}),r.autofocus===!0&&onMounted(()=>{d.focus()}),onBeforeUnmount(()=>{v!==null&&clearTimeout(v)}),Object.assign(d,{focus:G,blur:M}),function(){const ne=t.getControl===void 0&&a.control===void 0?{...t.splitAttrs.attributes.value,"data-autofocus":r.autofocus===!0||void 0,...x.value}:x.value;return h(t.tag.value,{ref:t.rootRef,class:[I.value,u.class],style:u.style,...ne},[a.before!==void 0?h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:prevent},a.before()):null,h("div",{class:"q-field__inner relative-position col self-stretch"},[h("div",{ref:t.controlRef,class:E.value,tabindex:-1,...t.controlEvents},B()),C.value===!0?U():null]),a.after!==void 0?h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:prevent},a.after()):null])}}const NAMED_MASKS={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},TOKENS={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},KEYS=Object.keys(TOKENS);KEYS.forEach(t=>{TOKENS[t].regex=new RegExp(TOKENS[t].pattern)});const tokenRegexMask=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+KEYS.join("")+"])|(.)","g"),escRegex=/[.*+?^${}()|[\]\\]/g,MARKER=String.fromCharCode(1),useMaskProps={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function useMask(t,r,o,a){let u,d,g,v,y,A;const b=ref(null),_=ref(S());function w(){return t.autogrow===!0||["textarea","text","search","url","tel","password"].includes(t.type)}watch(()=>t.type+t.autogrow,T),watch(()=>t.mask,N=>{if(N!==void 0)I(_.value,!0);else{const V=G(_.value);T(),t.modelValue!==V&&r("update:modelValue",V)}}),watch(()=>t.fillMask+t.reverseFillMask,()=>{b.value===!0&&I(_.value,!0)}),watch(()=>t.unmaskedValue,()=>{b.value===!0&&I(_.value)});function S(){if(T(),b.value===!0){const N=x(G(t.modelValue));return t.fillMask!==!1?M(N):N}return t.modelValue}function C(N){if(N0;B--)V+=MARKER;Z=Z.slice(0,H)+V+Z.slice(H)}return Z}function T(){if(b.value=t.mask!==void 0&&t.mask.length!==0&&w(),b.value===!1){v=void 0,u="",d="";return}const N=NAMED_MASKS[t.mask]===void 0?t.mask:NAMED_MASKS[t.mask],V=typeof t.fillMask=="string"&&t.fillMask.length!==0?t.fillMask.slice(0,1):"_",Z=V.replace(escRegex,"\\$&"),H=[],B=[],z=[];let U=t.reverseFillMask===!0,Q="",X="";N.replace(tokenRegexMask,(ce,se,ge,he,ye)=>{if(he!==void 0){const ee=TOKENS[he];z.push(ee),X=ee.negate,U===!0&&(B.push("(?:"+X+"+)?("+ee.pattern+"+)?(?:"+X+"+)?("+ee.pattern+"+)?"),U=!1),B.push("(?:"+X+"+)?("+ee.pattern+")?")}else if(ge!==void 0)Q="\\"+(ge==="\\"?"":ge),z.push(ge),H.push("([^"+Q+"]+)?"+Q+"?");else{const ee=se!==void 0?se:ye;Q=ee==="\\"?"\\\\\\\\":ee.replace(escRegex,"\\\\$&"),z.push(ee),H.push("([^"+Q+"]+)?"+Q+"?")}});const J=new RegExp("^"+H.join("")+"("+(Q===""?".":"[^"+Q+"]")+"+)?"+(Q===""?"":"["+Q+"]*")+"$"),ne=B.length-1,te=B.map((ce,se)=>se===0&&t.reverseFillMask===!0?new RegExp("^"+Z+"*"+ce):se===ne?new RegExp("^"+ce+"("+(X===""?".":X)+"+)?"+(t.reverseFillMask===!0?"$":Z+"*")):new RegExp("^"+ce));g=z,v=ce=>{const se=J.exec(t.reverseFillMask===!0?ce:ce.slice(0,z.length+1));se!==null&&(ce=se.slice(1).join(""));const ge=[],he=te.length;for(let ye=0,ee=ce;yetypeof ce=="string"?ce:MARKER).join(""),d=u.split(MARKER).join(V)}function I(N,V,Z){const H=a.value,B=H.selectionEnd,z=H.value.length-B,U=G(N);V===!0&&T();const Q=x(U),X=t.fillMask!==!1?M(Q):Q,J=_.value!==X;H.value!==X&&(H.value=X),J===!0&&(_.value=X),document.activeElement===H&&nextTick(()=>{if(X===d){const te=t.reverseFillMask===!0?d.length:0;H.setSelectionRange(te,te,"forward");return}if(Z==="insertFromPaste"&&t.reverseFillMask!==!0){const te=H.selectionEnd;let ce=B-1;for(let se=y;se<=ce&&seQ.length?1:0:Math.max(0,X.length-(X===d?0:Math.min(Q.length,z)+1))+1:B;H.setSelectionRange(te,te,"forward");return}if(t.reverseFillMask===!0)if(J===!0){const te=Math.max(0,X.length-(X===d?0:Math.min(Q.length,z+1)));te===1&&B===1?H.setSelectionRange(te,te,"forward"):F.rightReverse(H,te)}else{const te=X.length-z;H.setSelectionRange(te,te,"backward")}else if(J===!0){const te=Math.max(0,u.indexOf(MARKER),Math.min(Q.length,B)-1);F.right(H,te)}else{const te=B-1;F.right(H,te)}});const ne=t.unmaskedValue===!0?G(X):X;String(t.modelValue)!==ne&&(t.modelValue!==null||ne!=="")&&o(ne,!0)}function E(N,V,Z){const H=x(G(N.value));V=Math.max(0,u.indexOf(MARKER),Math.min(H.length,V)),y=V,N.setSelectionRange(V,Z,"forward")}const F={left(N,V){const Z=u.slice(V-1).indexOf(MARKER)===-1;let H=Math.max(0,V-1);for(;H>=0;H--)if(u[H]===MARKER){V=H,Z===!0&&V++;break}if(H<0&&u[V]!==void 0&&u[V]!==MARKER)return F.right(N,0);V>=0&&N.setSelectionRange(V,V,"backward")},right(N,V){const Z=N.value.length;let H=Math.min(Z,V+1);for(;H<=Z;H++)if(u[H]===MARKER){V=H;break}else u[H-1]===MARKER&&(V=H);if(H>Z&&u[V-1]!==void 0&&u[V-1]!==MARKER)return F.left(N,Z);N.setSelectionRange(V,V,"forward")},leftReverse(N,V){const Z=C(N.value.length);let H=Math.max(0,V-1);for(;H>=0;H--)if(Z[H-1]===MARKER){V=H;break}else if(Z[H]===MARKER&&(V=H,H===0))break;if(H<0&&Z[V]!==void 0&&Z[V]!==MARKER)return F.rightReverse(N,0);V>=0&&N.setSelectionRange(V,V,"backward")},rightReverse(N,V){const Z=N.value.length,H=C(Z),B=H.slice(0,V+1).indexOf(MARKER)===-1;let z=Math.min(Z,V+1);for(;z<=Z;z++)if(H[z-1]===MARKER){V=z,V>0&&B===!0&&V--;break}if(z>Z&&H[V-1]!==void 0&&H[V-1]!==MARKER)return F.leftReverse(N,Z);N.setSelectionRange(V,V,"forward")}};function O(N){r("click",N),A=void 0}function D(N){if(r("keydown",N),shouldIgnoreKey(N)===!0||N.altKey===!0)return;const V=a.value,Z=V.selectionStart,H=V.selectionEnd;if(N.shiftKey||(A=void 0),N.keyCode===37||N.keyCode===39){N.shiftKey&&A===void 0&&(A=V.selectionDirection==="forward"?Z:H);const B=F[(N.keyCode===39?"right":"left")+(t.reverseFillMask===!0?"Reverse":"")];if(N.preventDefault(),B(V,A===Z?H:Z),N.shiftKey){const z=V.selectionStart;V.setSelectionRange(Math.min(A,z),Math.max(A,z),"forward")}}else N.keyCode===8&&t.reverseFillMask!==!0&&Z===H?(F.left(V,Z),V.setSelectionRange(V.selectionStart,H,"backward")):N.keyCode===46&&t.reverseFillMask===!0&&Z===H&&(F.rightReverse(V,H),V.setSelectionRange(Z,V.selectionEnd,"forward"))}function x(N){if(N==null||N==="")return"";if(t.reverseFillMask===!0)return P(N);const V=g;let Z=0,H="";for(let B=0;B=0&&H!==-1;z--){const U=V[z];let Q=N[H];if(typeof U=="string")B=U+B,Q===U&&H--;else if(Q!==void 0&&U.regex.test(Q))do B=(U.transform!==void 0?U.transform(Q):Q)+B,H--,Q=N[H];while(Z===z&&Q!==void 0&&U.regex.test(Q));else return B}return B}function G(N){return typeof N!="string"||v===void 0?typeof N=="number"?v(""+N):N:v(N)}function M(N){return d.length-N.length<=0?N:t.reverseFillMask===!0&&N.length!==0?d.slice(0,-N.length)+N:N+d.slice(N.length)}return{innerValue:_,hasMask:b,moveCursorForPaste:E,updateMaskValue:I,onMaskedKeydown:D,onMaskedClick:O}}function useFileFormDomProps(t,r){function o(){const a=t.modelValue;try{const u="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(a)===a&&("length"in a?Array.from(a):[a]).forEach(d=>{u.items.add(d)}),{files:u.files}}catch(u){return{files:void 0}}}return computed(r===!0?()=>{if(t.type==="file")return o()}:o)}function useKeyComposition(t){return function(o){if(o.type==="compositionend"||o.type==="change"){if(o.target.qComposing!==!0)return;o.target.qComposing=!1,t(o)}else o.type==="compositionstart"&&(o.target.qComposing=!0)}}var QInput=createComponent({name:"QInput",inheritAttrs:!1,props:{...useFieldProps,...useMaskProps,...useFormProps,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...useFieldEmits,"paste","change","keydown","click","animationend"],setup(t,{emit:r,attrs:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d={};let g=NaN,v,y,A=null,b;const _=ref(null),w=useFormInputNameAttr(t),{innerValue:S,hasMask:C,moveCursorForPaste:T,updateMaskValue:I,onMaskedKeydown:E,onMaskedClick:F}=useMask(t,r,Q,_),O=useFileFormDomProps(t,!0),D=computed(()=>fieldValueIsFilled(S.value)),x=useKeyComposition(z),P=useFieldState({changeEvent:!0}),G=computed(()=>t.type==="textarea"||t.autogrow===!0),M=computed(()=>G.value===!0||["text","search","url","tel","password"].includes(t.type)),N=computed(()=>{const se={...P.splitAttrs.listeners.value,onInput:z,onPaste:B,onChange:J,onBlur:ne,onFocus:stop$1};return se.onCompositionstart=se.onCompositionupdate=se.onCompositionend=x,C.value===!0&&(se.onKeydown=E,se.onClick=F),t.autogrow===!0&&(se.onAnimationend=U),se}),V=computed(()=>{const se={tabindex:0,"data-autofocus":t.autofocus===!0||void 0,rows:t.type==="textarea"?6:void 0,"aria-label":t.label,name:w.value,...P.splitAttrs.attributes.value,id:P.targetUid.value,maxlength:t.maxlength,disabled:t.disable===!0,readonly:t.readonly===!0};return G.value===!1&&(se.type=t.type),t.autogrow===!0&&(se.rows=1),se});watch(()=>t.type,()=>{_.value&&(_.value.value=t.modelValue)}),watch(()=>t.modelValue,se=>{if(C.value===!0){if(y===!0&&(y=!1,String(se)===g))return;I(se)}else S.value!==se&&(S.value=se,t.type==="number"&&d.hasOwnProperty("value")===!0&&(v===!0?v=!1:delete d.value));t.autogrow===!0&&nextTick(X)}),watch(()=>t.autogrow,se=>{se===!0?nextTick(X):_.value!==null&&o.rows>0&&(_.value.style.height="auto")}),watch(()=>t.dense,()=>{t.autogrow===!0&&nextTick(X)});function Z(){addFocusFn(()=>{const se=document.activeElement;_.value!==null&&_.value!==se&&(se===null||se.id!==P.targetUid.value)&&_.value.focus({preventScroll:!0})})}function H(){_.value!==null&&_.value.select()}function B(se){if(C.value===!0&&t.reverseFillMask!==!0){const ge=se.target;T(ge,ge.selectionStart,ge.selectionEnd)}r("paste",se)}function z(se){if(!se||!se.target)return;if(t.type==="file"){r("update:modelValue",se.target.files);return}const ge=se.target.value;if(se.target.qComposing===!0){d.value=ge;return}if(C.value===!0)I(ge,!1,se.inputType);else if(Q(ge),M.value===!0&&se.target===document.activeElement){const{selectionStart:he,selectionEnd:ye}=se.target;he!==void 0&&ye!==void 0&&nextTick(()=>{se.target===document.activeElement&&ge.indexOf(se.target.value)===0&&se.target.setSelectionRange(he,ye)})}t.autogrow===!0&&X()}function U(se){r("animationend",se),X()}function Q(se,ge){b=()=>{A=null,t.type!=="number"&&d.hasOwnProperty("value")===!0&&delete d.value,t.modelValue!==se&&g!==se&&(g=se,ge===!0&&(y=!0),r("update:modelValue",se),nextTick(()=>{g===se&&(g=NaN)})),b=void 0},t.type==="number"&&(v=!0,d.value=se),t.debounce!==void 0?(A!==null&&clearTimeout(A),d.value=se,A=setTimeout(b,t.debounce)):b()}function X(){requestAnimationFrame(()=>{const se=_.value;if(se!==null){const ge=se.parentNode.style,{scrollTop:he}=se,{overflowY:ye,maxHeight:ee}=u.platform.is.firefox===!0?{}:window.getComputedStyle(se),pe=ye!==void 0&&ye!=="scroll";pe===!0&&(se.style.overflowY="hidden"),ge.marginBottom=se.scrollHeight-1+"px",se.style.height="1px",se.style.height=se.scrollHeight+"px",pe===!0&&(se.style.overflowY=parseInt(ee,10){_.value!==null&&(_.value.value=S.value!==void 0?S.value:"")})}function te(){return d.hasOwnProperty("value")===!0?d.value:S.value!==void 0?S.value:""}onBeforeUnmount(()=>{ne()}),onMounted(()=>{t.autogrow===!0&&X()}),Object.assign(P,{innerValue:S,fieldClass:computed(()=>`q-${G.value===!0?"textarea":"input"}`+(t.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:computed(()=>t.type!=="file"&&typeof t.shadowText=="string"&&t.shadowText.length!==0),inputRef:_,emitValue:Q,hasValue:D,floatingLabel:computed(()=>D.value===!0&&(t.type!=="number"||isNaN(S.value)===!1)||fieldValueIsFilled(t.displayValue)),getControl:()=>h(G.value===!0?"textarea":"input",{ref:_,class:["q-field__native q-placeholder",t.inputClass],style:t.inputStyle,...V.value,...N.value,...t.type!=="file"?{value:te()}:O.value}),getShadowControl:()=>h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(G.value===!0?"":" text-no-wrap")},[h("span",{class:"invisible"},te()),h("span",t.shadowText)])});const ce=useField(P);return Object.assign(a,{focus:Z,select:H,getNativeElement:()=>_.value}),injectProp(a,"nativeEl",()=>_.value),ce}}),InputAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1s=defineComponent({name:"InputAction",props:{componentId:{type:String,default:"InputAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$e),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},inputStyle(){return{"overflow-x":"hidden",padding:"0 0 2px 0","line-height":"19px","min-width":"40px","max-width":"200px","min-height":"19px","max-height":"50px",width:this.stateVal?(this.stateVal.toString().length+2)*8+"px":"40px"}},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:""}},methods:{set(t){this.state&&(t.target===void 0&&this.componentOptions.setInstantly||t.target!==void 0&&!this.componentOptions.setInstantly)&&this.$emit("setDevice",this.device.id,this.stateKey,t.target?t.target.value:t,this.componentOptions)}}}),OPTIONS$e={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},cast:{label:i18n.global.t("config#componentOptions#_all#cast#label"),info:i18n.global.t("config#componentOptions#_all#cast#info"),type:"Select",options:[{value:"auto",label:i18n.global.t("config#componentOptions#_all#cast#options#auto")},{value:"string",label:i18n.global.t("config#componentOptions#_all#cast#options#string")},{value:"number",label:i18n.global.t("config#componentOptions#_all#cast#options#number")}],value:"auto"},setInstantly:{label:i18n.global.t("config#componentOptions#InputAction#setInstantly#label"),info:i18n.global.t("config#componentOptions#InputAction#setInstantly#info"),type:"Switch",value:!1}};function _sfc_render$1s(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{"margin-left":"8px"},onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"])),onDblclick:r[3]||(r[3]=withModifiers(()=>{},["stop"]))},[createVNode$1(QInput,{dense:"","input-class":"InputAction","input-style":t.inputStyle,suffix:t.state&&t.state.unit,type:t.stateVal.toString().length>35?"textarea":"search",autogrow:t.stateVal.toString().length>35,debounce:250,"model-value":t.stateVal,"onUpdate:modelValue":t.set,onKeyup:withKeys(withModifiers(t.set,["stop"]),["enter"]),onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onDblclick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},null,8,["input-style","suffix","type","autogrow","model-value","onUpdate:modelValue","onKeyup"])],32)}var InputAction=_export_sfc$1(_sfc_main$1s,[["render",_sfc_render$1s]]);const ButtonAction$2=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return ButtonAction$1}),void 0),suspensible:!1}),_sfc_main$1r=defineComponent({name:"IconButtonAction",components:{ButtonAction:ButtonAction$2}}),OPTIONS$d={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},pushButton:{label:i18n.global.t("config#componentOptions#IconButtonAction#pushButton#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#pushButton#info"),type:"Switch",value:!1},pushImpulse:{label:i18n.global.t("config#componentOptions#IconButtonAction#pushImpulse#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#pushImpulse#info"),type:"Number",value:500},flat:{label:i18n.global.t("config#componentOptions#IconButtonAction#flat#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#flat#info"),type:"Switch",value:!0},iconTurnOn:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOn#label"),value:"mdi-power",type:"icon"},iconTurnOff:{label:i18n.global.t("config#componentOptions#IconButtonAction#iconTurnOff#label"),value:"mdi-power-off",type:"icon"},showState:{label:i18n.global.t("config#componentOptions#IconButtonAction#showState#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#showState#info"),type:"Switch",value:!1},colorOn:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOn#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},colorOff:{label:i18n.global.t("config#componentOptions#SwitchAction#colorOff#label"),info:i18n.global.t("config#componentOptions#SwitchAction#color#info"),link:"https://quasar.dev/style/color-palette#Color-List",value:"primary"},buttonSize:{label:i18n.global.t("config#componentOptions#IconButtonAction#buttonSize#label"),info:i18n.global.t("config#componentOptions#IconButtonAction#buttonSize#info"),type:"Select",value:"md",options:[{label:i18n.global.t("extra small"),value:"xs"},{label:i18n.global.t("small"),value:"sm"},{label:i18n.global.t("medium"),value:"md"},{label:i18n.global.t("large"),value:"lg"},{label:i18n.global.t("extra large"),value:"xl"}]}};function _sfc_render$1r(t,r,o,a,u,d){const g=resolveComponent("button-action");return openBlock(),createBlock(g,mergeProps({"component-id":"IconButtonAction"},t.$attrs,{"icon-only":""}),null,16)}var IconButtonAction=_export_sfc$1(_sfc_main$1r,[["render",_sfc_render$1r]]),ButtonAction_vue_vue_type_style_index_0_lang="";const State=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return State$2}),void 0),suspensible:!1}),_sfc_main$1q=defineComponent({name:"ButtonAction",components:{State},props:{componentId:{type:String,default:"ButtonAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$c),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},stateProperties(){return{on:"true",off:"false",...this.state&&this.state.properties||{}}},ButtonActionLabel(){return this.iconOnly?null:this.componentOptions[this.isOn?"labelTurnOn":"labelTurnOff"]},ButtonActionIcon(){return icon$n(this.componentOptions[this.isOn?"iconTurnOn":"iconTurnOff"])},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?this.state[this.componentOptions.val]:this.stateProperties.off},isOn(){return this.stateVal!==void 0&&this.stateVal.toString()===this.stateProperties.on.toString()},height(){return{sm:18,md:24,lg:32,xl:38}[this.componentOptions.buttonSize]}},methods:{set(t){let r=this.isOn?this.stateProperties.setOff:this.stateProperties.setOn;r=typeof r=="string"&&(r==="true"||r==="false")?r==="true":r;let o=this.isOn?this.stateProperties.off:this.stateProperties.on;o=typeof o=="string"&&(o==="true"||o==="false")?o==="true":o;const a=this.stateProperties.initial!==void 0?this.stateProperties.initial:this.stateVal;this.$emit("setDevice",this.device.id,this.stateKey,r!==void 0?r:o,this.componentOptions.ack),this.componentOptions.pushButton&&setTimeout(()=>{this.$emit("setDevice",this.device.id,this.stateKey,a,this.componentOptions.ack)},this.componentOptions.pushImpulse)}}}),OPTIONS$c={...OPTIONS$d,labelTurnOn:{label:i18n.global.t("config#componentOptions#ButtonAction#labelTurnOn#label"),value:i18n.global.t("turn off")},labelTurnOff:{label:i18n.global.t("config#componentOptions#ButtonAction#labelTurnOff#label"),value:i18n.global.t("turn on")}};function _sfc_render$1q(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("State");return openBlock(),createElementBlock("div",{class:"jarvis-ButtonAction-Container",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[t.componentOptions.showState!==!0||t.componentOptions.showState===!0&&!t.isOn?(openBlock(),createBlock(g,{key:0,type:"button",flat:t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.ButtonActionLabel,icon:t.ButtonActionIcon,size:t.componentOptions.buttonSize,class:normalizeClass(["jarvis-ButtonAction",t.isOn?"isOn":"isOff"]),style:normalizeStyle$1({height:t.height+"px"}),dense:"",onClick:withModifiers(t.set,["stop"])},null,8,["flat","color","round","label","icon","size","class","style","onClick"])):(openBlock(),createBlock(v,normalizeProps(mergeProps({key:1},t.$props)),null,16))])}var ButtonAction=_export_sfc$1(_sfc_main$1q,[["render",_sfc_render$1q]]),ButtonAction$1=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$c,default:ButtonAction},Symbol.toStringTag,{value:"Module"})),QBtnGroup=createComponent({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(t,{slots:r}){const o=computed(()=>{const a=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(u=>t[u]===!0).map(u=>`q-btn-group--${u}`).join(" ");return`q-btn-group row no-wrap${a.length!==0?" "+a:""}`+(t.spread===!0?" q-btn-group--spread":" inline")});return()=>h("div",{class:o.value},hSlot(r.default))}}),ButtonGroupAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1p=defineComponent({name:"ButtonGroupAction",props:{componentId:{type:String,default:"ButtonGroupAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$b),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=computed(()=>({on:"true",off:"false",...t.state&&t.state.properties||{}})),u=ref(t.state&&t.state[o.val]!==void 0?t.state[o.val]:a.value.off),d=computed(()=>u.value!==void 0&&u.value!==null&&u.value.toString()===a.value.on.toString());return{componentOptions:o,sProperties:a,sValue:u,isOn:d,setDevice:v=>{let y;v===void 0&&(y=d.value?a.value.setOff:a.value.setOn,y=typeof y=="string"&&(y==="true"||y==="false")?y==="true":y,v=d.value?a.value.off:a.value.on,v=typeof v=="string"&&(v==="true"||v==="false")?v==="true":v),u.value=y!==void 0?y:v,r("setDevice",t.device.id,t.stateKey,v,o.ack)}}}}),OPTIONS$b={...OPTIONS$c,useDisplay:(t,r)=>r.id==="groupElement"?void 0:{label:i18n.global.t("config#componentOptions#ButtonAction#useDisplay#label"),info:i18n.global.t("config#componentOptions#ButtonAction#useDisplay#info"),type:"Switch",value:!1},pushButton:void 0,showState:void 0};function _sfc_render$1p(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",{key:t.device.revision,onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"]))},[createVNode$1(QBtnGroup,{dense:"",flat:!t.componentOptions.flat,class:"jarvis-ButtonGroupAction"},{default:withCtx(()=>[t.componentOptions.useDisplay?t.componentOptions.useDisplay&&t.state.config?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(t.state.config.display,(v,y)=>(openBlock(),createBlock(g,{key:v,type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:v.indexOf("#")!==-1?t.$t(v):v,size:t.componentOptions.buttonSize,class:normalizeClass(["jarvis-ButtonGroupAction-"+v,t.isOn?"isOn":"isOff"]),style:normalizeStyle$1({height:t.height+"px"}),dense:"",onClick:withModifiers(A=>t.setDevice(y),["stop"])},null,8,["flat","color","round","label","size","class","style","onClick"]))),128)):createCommentVNode("",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(g,{type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.componentOptions.labelTurnOff.indexOf("#")!==-1?t.$t(t.componentOptions.labelTurnOff):t.componentOptions.labelTurnOff,icon:t.componentOptions.iconTurnOff,size:t.componentOptions.buttonSize,onClick:r[0]||(r[0]=v=>t.setDevice(!1))},null,8,["flat","color","round","label","icon","size"]),createVNode$1(g,{type:"button",flat:!t.componentOptions.flat,color:t.isOn?t.componentOptions.colorOn:t.componentOptions.colorOff,round:t.iconOnly,label:t.componentOptions.labelTurnOn.indexOf("#")!==-1?t.$t(t.componentOptions.labelTurnOn):t.componentOptions.labelTurnOn,icon:t.componentOptions.iconTurnOn,size:t.componentOptions.buttonSize,onClick:r[1]||(r[1]=v=>t.setDevice(!0))},null,8,["flat","color","round","label","icon","size"])],64))]),_:1},8,["flat"])])}var ButtonGroupAction=_export_sfc$1(_sfc_main$1p,[["render",_sfc_render$1p]]),QField=createComponent({name:"QField",inheritAttrs:!1,props:{...useFieldProps,tag:{type:String,default:"label"}},emits:useFieldEmits,setup(){return useField(useFieldState({tagProp:!0}))}});const defaultSizes$1={xs:8,sm:10,md:14,lg:20,xl:24};var QChip=createComponent({name:"QChip",props:{...useDarkProps,...useSizeProps,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),d=useSize(t,defaultSizes$1),g=computed(()=>t.selected===!0||t.icon!==void 0),v=computed(()=>t.selected===!0?t.iconSelected||a.iconSet.chip.selected:t.icon),y=computed(()=>t.iconRemove||a.iconSet.chip.remove),A=computed(()=>t.disable===!1&&(t.clickable===!0||t.selected!==null)),b=computed(()=>{const I=t.outline===!0&&t.color||t.textColor;return"q-chip row inline no-wrap items-center"+(t.outline===!1&&t.color!==void 0?` bg-${t.color}`:"")+(I?` text-${I} q-chip--colored`:"")+(t.disable===!0?" disabled":"")+(t.dense===!0?" q-chip--dense":"")+(t.outline===!0?" q-chip--outline":"")+(t.selected===!0?" q-chip--selected":"")+(A.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(t.square===!0?" q-chip--square":"")+(u.value===!0?" q-chip--dark q-dark":"")}),_=computed(()=>{const I=t.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:t.tabindex||0},E={...I,role:"button","aria-hidden":"false","aria-label":t.removeAriaLabel||a.lang.label.remove};return{chip:I,remove:E}});function w(I){I.keyCode===13&&S(I)}function S(I){t.disable||(o("update:selected",!t.selected),o("click",I))}function C(I){(I.keyCode===void 0||I.keyCode===13)&&(stopAndPrevent$1(I),t.disable===!1&&(o("update:modelValue",!1),o("remove")))}function T(){const I=[];A.value===!0&&I.push(h("div",{class:"q-focus-helper"})),g.value===!0&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const E=t.label!==void 0?[h("div",{class:"ellipsis"},[t.label])]:void 0;return I.push(h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},hMergeSlotSafely(r.default,E))),t.iconRight&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--right",name:t.iconRight})),t.removable===!0&&I.push(h(QIcon,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:y.value,..._.value.remove,onClick:C,onKeyup:C})),I}return()=>{if(t.modelValue===!1)return;const I={class:b.value,style:d.value};return A.value===!0&&Object.assign(I,_.value.chip,{onClick:S,onKeyup:w}),hDir("div",I,T(),"ripple",t.ripple!==!1&&t.disable!==!0,()=>[[Ripple,t.ripple]])}}}),QItem=createComponent({name:"QItem",props:{...useDarkProps,...useRouterLinkProps,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),{hasLink:d,linkAttrs:g,linkClass:v,linkTag:y,navigateOnClick:A}=useRouterLink(),b=ref(null),_=ref(null),w=computed(()=>t.clickable===!0||d.value===!0||t.tag==="label"),S=computed(()=>t.disable!==!0&&w.value===!0),C=computed(()=>"q-item q-item-type row no-wrap"+(t.dense===!0?" q-item--dense":"")+(u.value===!0?" q-item--dark":"")+(d.value===!0&&t.active===null?v.value:t.active===!0?` q-item--active${t.activeClass!==void 0?` ${t.activeClass}`:""}`:"")+(t.disable===!0?" disabled":"")+(S.value===!0?" q-item--clickable q-link cursor-pointer "+(t.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(t.focused===!0?" q-manual-focusable--focused":""):"")),T=computed(()=>{if(t.insetLevel===void 0)return null;const O=a.lang.rtl===!0?"Right":"Left";return{["padding"+O]:16+t.insetLevel*56+"px"}});function I(O){S.value===!0&&(_.value!==null&&(O.qKeyEvent!==!0&&document.activeElement===b.value?_.value.focus():document.activeElement===_.value&&b.value.focus()),A(O))}function E(O){if(S.value===!0&&isKeyCode(O,[13,32])===!0){stopAndPrevent$1(O),O.qKeyEvent=!0;const D=new MouseEvent("click",O);D.qKeyEvent=!0,b.value.dispatchEvent(D)}o("keyup",O)}function F(){const O=hUniqueSlot(r.default,[]);return S.value===!0&&O.unshift(h("div",{class:"q-focus-helper",tabindex:-1,ref:_})),O}return()=>{const O={ref:b,class:C.value,style:T.value,role:"listitem",onClick:I,onKeyup:E};return S.value===!0?(O.tabindex=t.tabindex||"0",Object.assign(O,g.value)):w.value===!0&&(O["aria-disabled"]="true"),h(y.value,O,F())}}}),QItemSection=createComponent({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(t,{slots:r}){const o=computed(()=>`q-item__section column q-item__section--${t.avatar===!0||t.side===!0||t.thumbnail===!0?"side":"main"}`+(t.top===!0?" q-item__section--top justify-start":" justify-center")+(t.avatar===!0?" q-item__section--avatar":"")+(t.thumbnail===!0?" q-item__section--thumbnail":"")+(t.noWrap===!0?" q-item__section--nowrap":""));return()=>h("div",{class:o.value},hSlot(r.default))}});const useAnchorStaticProps={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},useAnchorProps={...useAnchorStaticProps,contextMenu:Boolean};function useAnchor({showing:t,avoidEmit:r,configureAnchorEl:o}){const{props:a,proxy:u,emit:d}=getCurrentInstance(),g=ref(null);let v=null;function y(S){return g.value===null?!1:S===void 0||S.touches===void 0||S.touches.length<=1}const A={};o===void 0&&(Object.assign(A,{hide(S){u.hide(S)},toggle(S){u.toggle(S),S.qAnchorHandled=!0},toggleKey(S){isKeyCode(S,13)===!0&&A.toggle(S)},contextClick(S){u.hide(S),prevent(S),nextTick(()=>{u.show(S),S.qAnchorHandled=!0})},prevent,mobileTouch(S){if(A.mobileCleanup(S),y(S)!==!0)return;u.hide(S),g.value.classList.add("non-selectable");const C=S.target;addEvt(A,"anchor",[[C,"touchmove","mobileCleanup","passive"],[C,"touchend","mobileCleanup","passive"],[C,"touchcancel","mobileCleanup","passive"],[g.value,"contextmenu","prevent","notPassive"]]),v=setTimeout(()=>{v=null,u.show(S),S.qAnchorHandled=!0},300)},mobileCleanup(S){g.value.classList.remove("non-selectable"),v!==null&&(clearTimeout(v),v=null),t.value===!0&&S!==void 0&&clearSelection()}}),o=function(S=a.contextMenu){if(a.noParentEvent===!0||g.value===null)return;let C;S===!0?u.$q.platform.is.mobile===!0?C=[[g.value,"touchstart","mobileTouch","passive"]]:C=[[g.value,"mousedown","hide","passive"],[g.value,"contextmenu","contextClick","notPassive"]]:C=[[g.value,"click","toggle","passive"],[g.value,"keyup","toggleKey","passive"]],addEvt(A,"anchor",C)});function b(){cleanEvt(A,"anchor")}function _(S){for(g.value=S;g.value.classList.contains("q-anchor--skip");)g.value=g.value.parentNode;o()}function w(){if(a.target===!1||a.target===""||u.$el.parentNode===null)g.value=null;else if(a.target===!0)_(u.$el.parentNode);else{let S=a.target;if(typeof a.target=="string")try{S=document.querySelector(a.target)}catch(C){S=void 0}S!=null?(g.value=S.$el||S,o()):(g.value=null,console.error(`Anchor: target "${a.target}" not found`))}}return watch(()=>a.contextMenu,S=>{g.value!==null&&(b(),o(S))}),watch(()=>a.target,()=>{g.value!==null&&b(),w()}),watch(()=>a.noParentEvent,S=>{g.value!==null&&(S===!0?b():o())}),onMounted(()=>{w(),r!==!0&&a.modelValue===!0&&g.value===null&&d("update:modelValue",!1)}),onBeforeUnmount(()=>{v!==null&&clearTimeout(v),b()}),{anchorEl:g,canShow:y,anchorEvents:A}}function useScrollTarget(t,r){const o=ref(null);let a;function u(v,y){const A=`${y!==void 0?"add":"remove"}EventListener`,b=y!==void 0?y:a;v!==window&&v[A]("scroll",b,listenOpts$1.passive),window[A]("scroll",b,listenOpts$1.passive),a=y}function d(){o.value!==null&&(u(o.value),o.value=null)}const g=watch(()=>t.noParentEvent,()=>{o.value!==null&&(d(),r())});return onBeforeUnmount(g),{localScrollTarget:o,unconfigureScrollTarget:d,changeScrollEvent:u}}const useModelToggleProps={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},useModelToggleEmits=["beforeShow","show","beforeHide","hide"];function useModelToggle({showing:t,canShow:r,hideOnRouteChange:o,handleShow:a,handleHide:u,processOnMount:d}){const g=getCurrentInstance(),{props:v,emit:y,proxy:A}=g;let b;function _(F){t.value===!0?C(F):w(F)}function w(F){if(v.disable===!0||F!==void 0&&F.qAnchorHandled===!0||r!==void 0&&r(F)!==!0)return;const O=v["onUpdate:modelValue"]!==void 0;O===!0&&(y("update:modelValue",!0),b=F,nextTick(()=>{b===F&&(b=void 0)})),(v.modelValue===null||O===!1)&&S(F)}function S(F){t.value!==!0&&(t.value=!0,y("beforeShow",F),a!==void 0?a(F):y("show",F))}function C(F){if(v.disable===!0)return;const O=v["onUpdate:modelValue"]!==void 0;O===!0&&(y("update:modelValue",!1),b=F,nextTick(()=>{b===F&&(b=void 0)})),(v.modelValue===null||O===!1)&&T(F)}function T(F){t.value!==!1&&(t.value=!1,y("beforeHide",F),u!==void 0?u(F):y("hide",F))}function I(F){v.disable===!0&&F===!0?v["onUpdate:modelValue"]!==void 0&&y("update:modelValue",!1):F===!0!==t.value&&(F===!0?S:T)(b)}watch(()=>v.modelValue,I),o!==void 0&&vmHasRouter(g)===!0&&watch(()=>A.$route.fullPath,()=>{o.value===!0&&t.value===!0&&C()}),d===!0&&onMounted(()=>{I(v.modelValue)});const E={show:w,hide:C,toggle:_};return Object.assign(A,E),E}const portalProxyList=[];function getPortalProxy(t){return portalProxyList.find(r=>r.contentEl!==null&&r.contentEl.contains(t))}function closePortalMenus(t,r){do{if(t.$options.name==="QMenu"){if(t.hide(r),t.$props.separateClosePopup===!0)return getParentProxy(t)}else if(t.__qPortal===!0){const o=getParentProxy(t);return o!==void 0&&o.$options.name==="QPopupProxy"?(t.hide(r),o):t}t=getParentProxy(t)}while(t!=null)}function closePortals(t,r,o){for(;o!==0&&t!==void 0&&t!==null;){if(t.__qPortal===!0){if(o--,t.$options.name==="QMenu"){t=closePortalMenus(t,r);continue}t.hide(r)}t=getParentProxy(t)}}const QPortal=createComponent({name:"QPortal",setup(t,{slots:r}){return()=>r.default()}});function isOnGlobalDialog(t){for(t=t.parent;t!=null;){if(t.type.name==="QGlobalDialog")return!0;if(t.type.name==="QDialog"||t.type.name==="QMenu")return!1;t=t.parent}return!1}function usePortal(t,r,o,a){const u=ref(!1),d=ref(!1);let g=null;const v={},y=a==="dialog"&&isOnGlobalDialog(t);function A(_){if(_===!0){removeFocusWaitFlag(v),d.value=!0;return}d.value=!1,u.value===!1&&(y===!1&&g===null&&(g=createGlobalNode(!1,a)),u.value=!0,portalProxyList.push(t.proxy),addFocusWaitFlag(v))}function b(_){if(d.value=!1,_!==!0)return;removeFocusWaitFlag(v),u.value=!1;const w=portalProxyList.indexOf(t.proxy);w!==-1&&portalProxyList.splice(w,1),g!==null&&(removeGlobalNode(g),g=null)}return onUnmounted(()=>{b(!0)}),t.proxy.__qPortal=!0,injectProp(t.proxy,"contentEl",()=>r.value),{showPortal:A,hidePortal:b,portalIsActive:u,portalIsAccessible:d,renderPortal:()=>y===!0?o():u.value===!0?[h(Teleport,{to:g},h(QPortal,o))]:void 0}}function useTick(){let t;const r=getCurrentInstance();function o(){t=void 0}return onDeactivated(o),onBeforeUnmount(o),{removeTick:o,registerTick(a){t=a,nextTick(()=>{t===a&&(vmIsDestroyed(r)===!1&&t(),t=void 0)})}}}function useTimeout(){let t=null;const r=getCurrentInstance();function o(){t!==null&&(clearTimeout(t),t=null)}return onDeactivated(o),onBeforeUnmount(o),{removeTimeout:o,registerTimeout(a,u){o(),vmIsDestroyed(r)===!1&&(t=setTimeout(()=>{t=null,a()},u))}}}const handlers$3=[];let escDown;function onKeydown(t){escDown=t.keyCode===27}function onBlur(){escDown===!0&&(escDown=!1)}function onKeyup(t){escDown===!0&&(escDown=!1,isKeyCode(t,27)===!0&&handlers$3[handlers$3.length-1](t))}function update(t){window[t]("keydown",onKeydown),window[t]("blur",onBlur),window[t]("keyup",onKeyup),escDown=!1}function addEscapeKey(t){client.is.desktop===!0&&(handlers$3.push(t),handlers$3.length===1&&update("addEventListener"))}function removeEscapeKey(t){const r=handlers$3.indexOf(t);r!==-1&&(handlers$3.splice(r,1),handlers$3.length===0&&update("removeEventListener"))}const handlers$2=[];function trigger$2(t){handlers$2[handlers$2.length-1](t)}function addFocusout(t){client.is.desktop===!0&&(handlers$2.push(t),handlers$2.length===1&&document.body.addEventListener("focusin",trigger$2))}function removeFocusout(t){const r=handlers$2.indexOf(t);r!==-1&&(handlers$2.splice(r,1),handlers$2.length===0&&document.body.removeEventListener("focusin",trigger$2))}const{notPassiveCapture}=listenOpts$1,registeredList=[];function globalHandler(t){const r=t.target;if(r===void 0||r.nodeType===8||r.classList.contains("no-pointer-events")===!0)return;let o=portalProxyList.length-1;for(;o>=0;){const a=portalProxyList[o].$;if(a.type.name==="QTooltip"){o--;continue}if(a.type.name!=="QDialog")break;if(a.props.seamless!==!0)return;o--}for(let a=registeredList.length-1;a>=0;a--){const u=registeredList[a];if((u.anchorEl.value===null||u.anchorEl.value.contains(r)===!1)&&(r===document.body||u.innerRef.value!==null&&u.innerRef.value.contains(r)===!1))t.qClickOutside=!0,u.onClickOutside(t);else return}}function addClickOutside(t){registeredList.push(t),registeredList.length===1&&(document.addEventListener("mousedown",globalHandler,notPassiveCapture),document.addEventListener("touchstart",globalHandler,notPassiveCapture))}function removeClickOutside(t){const r=registeredList.findIndex(o=>o===t);r!==-1&&(registeredList.splice(r,1),registeredList.length===0&&(document.removeEventListener("mousedown",globalHandler,notPassiveCapture),document.removeEventListener("touchstart",globalHandler,notPassiveCapture)))}let vpLeft,vpTop;function validatePosition(t){const r=t.split(" ");return r.length!==2?!1:["top","center","bottom"].includes(r[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(r[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function validateOffset(t){return t?!(t.length!==2||typeof t[0]!="number"||typeof t[1]!="number"):!0}const horizontalPos={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(t=>{horizontalPos[`${t}#ltr`]=t,horizontalPos[`${t}#rtl`]=t});function parsePosition$1(t,r){const o=t.split(" ");return{vertical:o[0],horizontal:horizontalPos[`${o[1]}#${r===!0?"rtl":"ltr"}`]}}function getAnchorProps(t,r){let{top:o,left:a,right:u,bottom:d,width:g,height:v}=t.getBoundingClientRect();return r!==void 0&&(o-=r[1],a-=r[0],d+=r[1],u+=r[0],g+=r[0],v+=r[1]),{top:o,bottom:d,height:v,left:a,right:u,width:g,middle:a+(u-a)/2,center:o+(d-o)/2}}function getAbsoluteAnchorProps(t,r,o){let{top:a,left:u}=t.getBoundingClientRect();return a+=r.top,u+=r.left,o!==void 0&&(a+=o[1],u+=o[0]),{top:a,bottom:a+1,height:1,left:u,right:u+1,width:1,middle:u,center:a}}function getTargetProps(t,r){return{top:0,center:r/2,bottom:r,left:0,middle:t/2,right:t}}function getTopLeftProps(t,r,o,a){return{top:t[o.vertical]-r[a.vertical],left:t[o.horizontal]-r[a.horizontal]}}function setPosition(t,r=0){if(t.targetEl===null||t.anchorEl===null||r>5)return;if(t.targetEl.offsetHeight===0||t.targetEl.offsetWidth===0){setTimeout(()=>{setPosition(t,r+1)},10);return}const{targetEl:o,offset:a,anchorEl:u,anchorOrigin:d,selfOrigin:g,absoluteOffset:v,fit:y,cover:A,maxHeight:b,maxWidth:_}=t;if(client.is.ios===!0&&window.visualViewport!==void 0){const P=document.body.style,{offsetLeft:G,offsetTop:M}=window.visualViewport;G!==vpLeft&&(P.setProperty("--q-pe-left",G+"px"),vpLeft=G),M!==vpTop&&(P.setProperty("--q-pe-top",M+"px"),vpTop=M)}const{scrollLeft:w,scrollTop:S}=o,C=v===void 0?getAnchorProps(u,A===!0?[0,0]:a):getAbsoluteAnchorProps(u,v,a);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:_||"100vw",maxHeight:b||"100vh",visibility:"visible"});const{offsetWidth:T,offsetHeight:I}=o,{elWidth:E,elHeight:F}=y===!0||A===!0?{elWidth:Math.max(C.width,T),elHeight:A===!0?Math.max(C.height,I):I}:{elWidth:T,elHeight:I};let O={maxWidth:_,maxHeight:b};(y===!0||A===!0)&&(O.minWidth=C.width+"px",A===!0&&(O.minHeight=C.height+"px")),Object.assign(o.style,O);const D=getTargetProps(E,F);let x=getTopLeftProps(C,D,d,g);if(v===void 0||a===void 0)applyBoundaries(x,C,D,d,g);else{const{top:P,left:G}=x;applyBoundaries(x,C,D,d,g);let M=!1;if(x.top!==P){M=!0;const N=2*a[1];C.center=C.top-=N,C.bottom-=N+2}if(x.left!==G){M=!0;const N=2*a[0];C.middle=C.left-=N,C.right-=N+2}M===!0&&(x=getTopLeftProps(C,D,d,g),applyBoundaries(x,C,D,d,g))}O={top:x.top+"px",left:x.left+"px"},x.maxHeight!==void 0&&(O.maxHeight=x.maxHeight+"px",C.height>x.maxHeight&&(O.minHeight=O.maxHeight)),x.maxWidth!==void 0&&(O.maxWidth=x.maxWidth+"px",C.width>x.maxWidth&&(O.minWidth=O.maxWidth)),Object.assign(o.style,O),o.scrollTop!==S&&(o.scrollTop=S),o.scrollLeft!==w&&(o.scrollLeft=w)}function applyBoundaries(t,r,o,a,u){const d=o.bottom,g=o.right,v=getScrollbarWidth(),y=window.innerHeight-v,A=document.body.clientWidth;if(t.top<0||t.top+d>y)if(u.vertical==="center")t.top=r[a.vertical]>y/2?Math.max(0,y-d):0,t.maxHeight=Math.min(d,y);else if(r[a.vertical]>y/2){const b=Math.min(y,a.vertical==="center"?r.center:a.vertical===u.vertical?r.bottom:r.top);t.maxHeight=Math.min(d,b),t.top=Math.max(0,b-d)}else t.top=Math.max(0,a.vertical==="center"?r.center:a.vertical===u.vertical?r.top:r.bottom),t.maxHeight=Math.min(d,y-t.top);if(t.left<0||t.left+g>A)if(t.maxWidth=Math.min(g,A),u.horizontal==="middle")t.left=r[a.horizontal]>A/2?Math.max(0,A-g):0;else if(r[a.horizontal]>A/2){const b=Math.min(A,a.horizontal==="middle"?r.middle:a.horizontal===u.horizontal?r.right:r.left);t.maxWidth=Math.min(g,b),t.left=Math.max(0,b-t.maxWidth)}else t.left=Math.max(0,a.horizontal==="middle"?r.middle:a.horizontal===u.horizontal?r.left:r.right),t.maxWidth=Math.min(g,A-t.left)}var QMenu=createComponent({name:"QMenu",inheritAttrs:!1,props:{...useAnchorProps,...useModelToggleProps,...useDarkProps,...useTransitionProps,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:validatePosition},self:{type:String,validator:validatePosition},offset:{type:Array,validator:validateOffset},scrollTarget:scrollTargetProp,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...useModelToggleEmits,"click","escapeKey"],setup(t,{slots:r,emit:o,attrs:a}){let u=null,d,g,v;const y=getCurrentInstance(),{proxy:A}=y,{$q:b}=A,_=ref(null),w=ref(!1),S=computed(()=>t.persistent!==!0&&t.noRouteDismiss!==!0),C=useDark(t,b),{registerTick:T,removeTick:I}=useTick(),{registerTimeout:E}=useTimeout(),{transitionProps:F,transitionStyle:O}=useTransition(t),{localScrollTarget:D,changeScrollEvent:x,unconfigureScrollTarget:P}=useScrollTarget(t,ge),{anchorEl:G,canShow:M}=useAnchor({showing:w}),{hide:N}=useModelToggle({showing:w,canShow:M,handleShow:te,handleHide:ce,hideOnRouteChange:S,processOnMount:!0}),{showPortal:V,hidePortal:Z,renderPortal:H}=usePortal(y,_,ae,"menu"),B={anchorEl:G,innerRef:_,onClickOutside(ve){if(t.persistent!==!0&&w.value===!0)return N(ve),(ve.type==="touchstart"||ve.target.classList.contains("q-dialog__backdrop"))&&stopAndPrevent$1(ve),!0}},z=computed(()=>parsePosition$1(t.anchor||(t.cover===!0?"center middle":"bottom start"),b.lang.rtl)),U=computed(()=>t.cover===!0?z.value:parsePosition$1(t.self||"top start",b.lang.rtl)),Q=computed(()=>(t.square===!0?" q-menu--square":"")+(C.value===!0?" q-menu--dark q-dark":"")),X=computed(()=>t.autoClose===!0?{onClick:he}:{}),J=computed(()=>w.value===!0&&t.persistent!==!0);watch(J,ve=>{ve===!0?(addEscapeKey(ee),addClickOutside(B)):(removeEscapeKey(ee),removeClickOutside(B))});function ne(){addFocusFn(()=>{let ve=_.value;ve&&ve.contains(document.activeElement)!==!0&&(ve=ve.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ve.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ve.querySelector("[autofocus], [data-autofocus]")||ve,ve.focus({preventScroll:!0}))})}function te(ve){if(u=t.noRefocus===!1?document.activeElement:null,addFocusout(ye),V(),ge(),d=void 0,ve!==void 0&&(t.touchPosition||t.contextMenu)){const we=position$1(ve);if(we.left!==void 0){const{top:_e,left:Te}=G.value.getBoundingClientRect();d={left:we.left-Te,top:we.top-_e}}}g===void 0&&(g=watch(()=>b.screen.width+"|"+b.screen.height+"|"+t.self+"|"+t.anchor+"|"+b.lang.rtl,pe)),t.noFocus!==!0&&document.activeElement.blur(),T(()=>{pe(),t.noFocus!==!0&&ne()}),E(()=>{b.platform.is.ios===!0&&(v=t.autoClose,_.value.click()),pe(),V(!0),o("show",ve)},t.transitionDuration)}function ce(ve){I(),Z(),se(!0),u!==null&&(ve===void 0||ve.qClickOutside!==!0)&&(((ve&&ve.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),E(()=>{Z(!0),o("hide",ve)},t.transitionDuration)}function se(ve){d=void 0,g!==void 0&&(g(),g=void 0),(ve===!0||w.value===!0)&&(removeFocusout(ye),P(),removeClickOutside(B),removeEscapeKey(ee)),ve!==!0&&(u=null)}function ge(){(G.value!==null||t.scrollTarget!==void 0)&&(D.value=getScrollTarget(G.value,t.scrollTarget),x(D.value,pe))}function he(ve){v!==!0?(closePortalMenus(A,ve),o("click",ve)):v=!1}function ye(ve){J.value===!0&&t.noFocus!==!0&&childHasFocus(_.value,ve.target)!==!0&&ne()}function ee(ve){o("escapeKey"),N(ve)}function pe(){setPosition({targetEl:_.value,offset:t.offset,anchorEl:G.value,anchorOrigin:z.value,selfOrigin:U.value,absoluteOffset:d,fit:t.fit,cover:t.cover,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function ae(){return h(Transition,F.value,()=>w.value===!0?h("div",{role:"menu",...a,ref:_,tabindex:-1,class:["q-menu q-position-engine scroll"+Q.value,a.class],style:[a.style,O.value],...X.value},hSlot(r.default)):null)}return onBeforeUnmount(se),Object.assign(A,{focus:ne,updatePosition:pe}),H}});function useHistory(t,r,o){let a;function u(){a!==void 0&&(History.remove(a),a=void 0)}return onBeforeUnmount(()=>{t.value===!0&&u()}),{removeFromHistory:u,addToHistory(){a={condition:()=>o.value===!0,handler:r},History.add(a)}}}let registered$2=0,scrollPositionX$1,scrollPositionY$1,maxScrollTop$1,vpPendingUpdate$1=!1,bodyLeft$1,bodyTop$1,href,closeTimer$1=null;function onWheel$1(t){shouldPreventScroll$1(t)&&stopAndPrevent$1(t)}function shouldPreventScroll$1(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;const r=getEventPath$1(t),o=t.shiftKey&&!t.deltaX,a=!o&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),u=o||a?t.deltaY:t.deltaX;for(let d=0;d0&&g.scrollTop+g.clientHeight===g.scrollHeight:u<0&&g.scrollLeft===0?!0:u>0&&g.scrollLeft+g.clientWidth===g.scrollWidth}return!0}function onAppleScroll$1(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function onAppleResize$1(t){vpPendingUpdate$1!==!0&&(vpPendingUpdate$1=!0,requestAnimationFrame(()=>{vpPendingUpdate$1=!1;const{height:r}=t.target,{clientHeight:o,scrollTop:a}=document.scrollingElement;(maxScrollTop$1===void 0||r!==window.innerHeight)&&(maxScrollTop$1=o-r,document.scrollingElement.scrollTop=a),a>maxScrollTop$1&&(document.scrollingElement.scrollTop-=Math.ceil((a-maxScrollTop$1)/8))}))}function apply$4(t){const r=document.body,o=window.visualViewport!==void 0;if(t==="add"){const{overflowY:a,overflowX:u}=window.getComputedStyle(r);scrollPositionX$1=getHorizontalScrollPosition$1(window),scrollPositionY$1=getVerticalScrollPosition$1(window),bodyLeft$1=r.style.left,bodyTop$1=r.style.top,href=window.location.href,r.style.left=`-${scrollPositionX$1}px`,r.style.top=`-${scrollPositionY$1}px`,u!=="hidden"&&(u==="scroll"||r.scrollWidth>window.innerWidth)&&r.classList.add("q-body--force-scrollbar-x"),a!=="hidden"&&(a==="scroll"||r.scrollHeight>window.innerHeight)&&r.classList.add("q-body--force-scrollbar-y"),r.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,client.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",onAppleResize$1,listenOpts$1.passiveCapture),window.visualViewport.addEventListener("scroll",onAppleResize$1,listenOpts$1.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",onAppleScroll$1,listenOpts$1.passiveCapture))}client.is.desktop===!0&&client.is.mac===!0&&window[`${t}EventListener`]("wheel",onWheel$1,listenOpts$1.notPassive),t==="remove"&&(client.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",onAppleResize$1,listenOpts$1.passiveCapture),window.visualViewport.removeEventListener("scroll",onAppleResize$1,listenOpts$1.passiveCapture)):window.removeEventListener("scroll",onAppleScroll$1,listenOpts$1.passiveCapture)),r.classList.remove("q-body--prevent-scroll"),r.classList.remove("q-body--force-scrollbar-x"),r.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,r.style.left=bodyLeft$1,r.style.top=bodyTop$1,window.location.href===href&&window.scrollTo(scrollPositionX$1,scrollPositionY$1),maxScrollTop$1=void 0)}function preventScroll$1(t){let r="add";if(t===!0){if(registered$2++,closeTimer$1!==null){clearTimeout(closeTimer$1),closeTimer$1=null;return}if(registered$2>1)return}else{if(registered$2===0||(registered$2--,registered$2>0))return;if(r="remove",client.is.ios===!0&&client.is.nativeMobile===!0){closeTimer$1!==null&&clearTimeout(closeTimer$1),closeTimer$1=setTimeout(()=>{apply$4(r),closeTimer$1=null},100);return}}apply$4(r)}function usePreventScroll(){let t;return{preventBodyScroll(r){r!==t&&(t!==void 0||r===!0)&&(t=r,preventScroll$1(r))}}}let maximizedModals=0;const positionClass={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},defaultTransitions={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var QDialog=createComponent({name:"QDialog",inheritAttrs:!1,props:{...useModelToggleProps,...useTransitionProps,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:t=>["standard","top","bottom","left","right"].includes(t)}},emits:[...useModelToggleEmits,"shake","click","escapeKey"],setup(t,{slots:r,emit:o,attrs:a}){const u=getCurrentInstance(),d=ref(null),g=ref(!1),v=ref(!1);let y=null,A=null,b,_;const w=computed(()=>t.persistent!==!0&&t.noRouteDismiss!==!0&&t.seamless!==!0),{preventBodyScroll:S}=usePreventScroll(),{registerTimeout:C}=useTimeout(),{registerTick:T,removeTick:I}=useTick(),{transitionProps:E,transitionStyle:F}=useTransition(t,()=>defaultTransitions[t.position][0],()=>defaultTransitions[t.position][1]),O=computed(()=>F.value+(t.backdropFilter!==void 0?`;backdrop-filter:${t.backdropFilter};-webkit-backdrop-filter:${t.backdropFilter}`:"")),{showPortal:D,hidePortal:x,portalIsAccessible:P,renderPortal:G}=usePortal(u,d,ye,"dialog"),{hide:M}=useModelToggle({showing:g,hideOnRouteChange:w,handleShow:U,handleHide:Q,processOnMount:!0}),{addToHistory:N,removeFromHistory:V}=useHistory(g,M,w),Z=computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${t.maximized===!0?"maximized":"minimized"} q-dialog__inner--${t.position} ${positionClass[t.position]}`+(v.value===!0?" q-dialog__inner--animating":"")+(t.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(t.fullHeight===!0?" q-dialog__inner--fullheight":"")+(t.square===!0?" q-dialog__inner--square":"")),H=computed(()=>g.value===!0&&t.seamless!==!0),B=computed(()=>t.autoClose===!0?{onClick:se}:{}),z=computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${H.value===!0?"modal":"seamless"}`,a.class]);watch(()=>t.maximized,ee=>{g.value===!0&&ce(ee)}),watch(H,ee=>{S(ee),ee===!0?(addFocusout(he),addEscapeKey(ne)):(removeFocusout(he),removeEscapeKey(ne))});function U(ee){N(),A=t.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,ce(t.maximized),D(),v.value=!0,t.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),T(X)):I(),C(()=>{if(u.proxy.$q.platform.is.ios===!0){if(t.seamless!==!0&&document.activeElement){const{top:pe,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:ve}=window,we=window.visualViewport!==void 0?window.visualViewport.height:ve;pe>0&&ae>we/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-we,ae>=ve?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-we/2))),document.activeElement.scrollIntoView()}_=!0,d.value.click(),_=!1}D(!0),v.value=!1,o("show",ee)},t.transitionDuration)}function Q(ee){I(),V(),te(!0),v.value=!0,x(),A!==null&&(((ee&&ee.type.indexOf("key")===0?A.closest('[tabindex]:not([tabindex^="-"])'):void 0)||A).focus(),A=null),C(()=>{x(!0),v.value=!1,o("hide",ee)},t.transitionDuration)}function X(ee){addFocusFn(()=>{let pe=d.value;if(pe!==null){if(ee!==void 0){const ae=pe.querySelector(ee);if(ae!==null){ae.focus({preventScroll:!0});return}}pe.contains(document.activeElement)!==!0&&(pe=pe.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||pe.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||pe.querySelector("[autofocus], [data-autofocus]")||pe,pe.focus({preventScroll:!0}))}})}function J(ee){ee&&typeof ee.focus=="function"?ee.focus({preventScroll:!0}):X(),o("shake");const pe=d.value;pe!==null&&(pe.classList.remove("q-animate--scale"),pe.classList.add("q-animate--scale"),y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,d.value!==null&&(pe.classList.remove("q-animate--scale"),X())},170))}function ne(){t.seamless!==!0&&(t.persistent===!0||t.noEscDismiss===!0?t.maximized!==!0&&t.noShake!==!0&&J():(o("escapeKey"),M()))}function te(ee){y!==null&&(clearTimeout(y),y=null),(ee===!0||g.value===!0)&&(ce(!1),t.seamless!==!0&&(S(!1),removeFocusout(he),removeEscapeKey(ne))),ee!==!0&&(A=null)}function ce(ee){ee===!0?b!==!0&&(maximizedModals<1&&document.body.classList.add("q-body--dialog"),maximizedModals++,b=!0):b===!0&&(maximizedModals<2&&document.body.classList.remove("q-body--dialog"),maximizedModals--,b=!1)}function se(ee){_!==!0&&(M(ee),o("click",ee))}function ge(ee){t.persistent!==!0&&t.noBackdropDismiss!==!0?M(ee):t.noShake!==!0&&J()}function he(ee){t.allowFocusOutside!==!0&&P.value===!0&&childHasFocus(d.value,ee.target)!==!0&&X('[tabindex]:not([tabindex="-1"])')}Object.assign(u.proxy,{focus:X,shake:J,__updateRefocusTarget(ee){A=ee||null}}),onBeforeUnmount(te);function ye(){return h("div",{role:"dialog","aria-modal":H.value===!0?"true":"false",...a,class:z.value},[h(Transition,{name:"q-transition--fade",appear:!0},()=>H.value===!0?h("div",{class:"q-dialog__backdrop fixed-full",style:O.value,"aria-hidden":"true",tabindex:-1,onClick:ge}):null),h(Transition,E.value,()=>g.value===!0?h("div",{ref:d,class:Z.value,style:F.value,tabindex:-1,...B.value},hSlot(r.default)):null)])}return G}});let rtlHasScrollBug=!1;{const t=document.createElement("div");t.setAttribute("dir","rtl"),Object.assign(t.style,{width:"1px",height:"1px",overflow:"auto"});const r=document.createElement("div");Object.assign(r.style,{width:"1000px",height:"1px"}),document.body.appendChild(t),t.appendChild(r),t.scrollLeft=-1e3,rtlHasScrollBug=t.scrollLeft>=0,t.remove()}const aggBucketSize=1e3,scrollToEdges=["start","center","end","start-force","center-force","end-force"],filterProto=Array.prototype.filter,setOverflowAnchor=window.getComputedStyle(document.body).overflowAnchor===void 0?noop$6:function(t,r){t!==null&&(t._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(t._qOverflowAnimationFrame),t._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(t===null)return;t._qOverflowAnimationFrame=void 0;const o=t.children||[];filterProto.call(o,u=>u.dataset&&u.dataset.qVsAnchor!==void 0).forEach(u=>{delete u.dataset.qVsAnchor});const a=o[r];a&&a.dataset&&(a.dataset.qVsAnchor="")}))};function sumFn(t,r){return t+r}function getScrollDetails(t,r,o,a,u,d,g,v){const y=t===window?document.scrollingElement||document.documentElement:t,A=u===!0?"offsetWidth":"offsetHeight",b={scrollStart:0,scrollViewSize:-g-v,scrollMaxSize:0,offsetStart:-g,offsetEnd:-v};if(u===!0?(t===window?(b.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,b.scrollViewSize+=document.documentElement.clientWidth):(b.scrollStart=y.scrollLeft,b.scrollViewSize+=y.clientWidth),b.scrollMaxSize=y.scrollWidth,d===!0&&(b.scrollStart=(rtlHasScrollBug===!0?b.scrollMaxSize-b.scrollViewSize:0)-b.scrollStart)):(t===window?(b.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,b.scrollViewSize+=document.documentElement.clientHeight):(b.scrollStart=y.scrollTop,b.scrollViewSize+=y.clientHeight),b.scrollMaxSize=y.scrollHeight),o!==null)for(let _=o.previousElementSibling;_!==null;_=_.previousElementSibling)_.classList.contains("q-virtual-scroll--skip")===!1&&(b.offsetStart+=_[A]);if(a!==null)for(let _=a.nextElementSibling;_!==null;_=_.nextElementSibling)_.classList.contains("q-virtual-scroll--skip")===!1&&(b.offsetEnd+=_[A]);if(r!==t){const _=y.getBoundingClientRect(),w=r.getBoundingClientRect();u===!0?(b.offsetStart+=w.left-_.left,b.offsetEnd-=w.width):(b.offsetStart+=w.top-_.top,b.offsetEnd-=w.height),t!==window&&(b.offsetStart+=b.scrollStart),b.offsetEnd+=b.scrollMaxSize-b.offsetStart}return b}function setScroll(t,r,o,a){r==="end"&&(r=(t===window?document.body:t)[o===!0?"scrollWidth":"scrollHeight"]),t===window?o===!0?(a===!0&&(r=(rtlHasScrollBug===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-r),window.scrollTo(r,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r):o===!0?(a===!0&&(r=(rtlHasScrollBug===!0?t.scrollWidth-t.offsetWidth:0)-r),t.scrollLeft=r):t.scrollTop=r}function sumSize(t,r,o,a){if(o>=a)return 0;const u=r.length,d=Math.floor(o/aggBucketSize),g=Math.floor((a-1)/aggBucketSize)+1;let v=t.slice(d,g).reduce(sumFn,0);return o%aggBucketSize!==0&&(v-=r.slice(d*aggBucketSize,o).reduce(sumFn,0)),a%aggBucketSize!==0&&a!==u&&(v-=r.slice(a,g*aggBucketSize).reduce(sumFn,0)),v}const commonVirtScrollProps={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},commonVirtScrollPropsList=Object.keys(commonVirtScrollProps),useVirtualScrollProps={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...commonVirtScrollProps};function useVirtualScroll({virtualScrollLength:t,getVirtualScrollTarget:r,getVirtualScrollEl:o,virtualScrollItemSizeComputed:a}){const u=getCurrentInstance(),{props:d,emit:g,proxy:v}=u,{$q:y}=v;let A,b,_,w=[],S;const C=ref(0),T=ref(0),I=ref({}),E=ref(null),F=ref(null),O=ref(null),D=ref({from:0,to:0}),x=computed(()=>d.tableColspan!==void 0?d.tableColspan:100);a===void 0&&(a=computed(()=>d.virtualScrollItemSize));const P=computed(()=>a.value+";"+d.virtualScrollHorizontal),G=computed(()=>P.value+";"+d.virtualScrollSliceRatioBefore+";"+d.virtualScrollSliceRatioAfter);watch(G,()=>{Q()}),watch(P,M);function M(){U(b,!0)}function N(ce){U(ce===void 0?b:ce)}function V(ce,se){const ge=r();if(ge==null||ge.nodeType===8)return;const he=getScrollDetails(ge,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd);_!==he.scrollViewSize&&Q(he.scrollViewSize),H(ge,he,Math.min(t.value-1,Math.max(0,parseInt(ce,10)||0)),0,scrollToEdges.indexOf(se)!==-1?se:b!==-1&&ce>b?"end":"start")}function Z(){const ce=r();if(ce==null||ce.nodeType===8)return;const se=getScrollDetails(ce,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd),ge=t.value-1,he=se.scrollMaxSize-se.offsetStart-se.offsetEnd-T.value;if(A===se.scrollStart)return;if(se.scrollMaxSize<=0){H(ce,se,0,0);return}_!==se.scrollViewSize&&Q(se.scrollViewSize),B(D.value.from);const ye=Math.floor(se.scrollMaxSize-Math.max(se.scrollViewSize,se.offsetEnd)-Math.min(S[ge],se.scrollViewSize/2));if(ye>0&&Math.ceil(se.scrollStart)>=ye){H(ce,se,ge,se.scrollMaxSize-se.offsetEnd-w.reduce(sumFn,0));return}let ee=0,pe=se.scrollStart-se.offsetStart,ae=pe;if(pe<=he&&pe+se.scrollViewSize>=C.value)pe-=C.value,ee=D.value.from,ae=pe;else for(let ve=0;pe>=w[ve]&&ee0&&ee-se.scrollViewSize?(ee++,ae=pe):ae=S[ee]+pe;H(ce,se,ee,ae)}function H(ce,se,ge,he,ye){const ee=typeof ye=="string"&&ye.indexOf("-force")!==-1,pe=ee===!0?ye.replace("-force",""):ye,ae=pe!==void 0?pe:"start";let ve=Math.max(0,ge-I.value[ae]),we=ve+I.value.total;we>t.value&&(we=t.value,ve=Math.max(0,we-I.value.total)),A=se.scrollStart;const _e=ve!==D.value.from||we!==D.value.to;if(_e===!1&&pe===void 0){J(ge);return}const{activeElement:Te}=document,Ce=O.value;_e===!0&&Ce!==null&&Ce!==Te&&Ce.contains(Te)===!0&&(Ce.addEventListener("focusout",z),setTimeout(()=>{Ce!==null&&Ce.removeEventListener("focusout",z)})),setOverflowAnchor(Ce,ge-ve);const Ae=pe!==void 0?S.slice(ve,ge).reduce(sumFn,0):0;if(_e===!0){const Ee=we>=D.value.from&&ve<=D.value.to?D.value.to:we;D.value={from:ve,to:Ee},C.value=sumSize(w,S,0,ve),T.value=sumSize(w,S,we,t.value),requestAnimationFrame(()=>{D.value.to!==we&&A===se.scrollStart&&(D.value={from:D.value.from,to:we},T.value=sumSize(w,S,we,t.value))})}requestAnimationFrame(()=>{if(A!==se.scrollStart)return;_e===!0&&B(ve);const Ee=S.slice(ve,ge).reduce(sumFn,0),le=Ee+se.offsetStart+C.value,re=le+S[ge];let ue=le+he;if(pe!==void 0){const be=Ee-Ae,ie=se.scrollStart+be;ue=ee!==!0&&ieve.classList&&ve.classList.contains("q-virtual-scroll--skip")===!1),he=ge.length,ye=d.virtualScrollHorizontal===!0?ve=>ve.getBoundingClientRect().width:ve=>ve.offsetHeight;let ee=ce,pe,ae;for(let ve=0;ve=he;ee--)S[ee]=ge;const ye=Math.floor((t.value-1)/aggBucketSize);w=[];for(let ee=0;ee<=ye;ee++){let pe=0;const ae=Math.min((ee+1)*aggBucketSize,t.value);for(let ve=ee*aggBucketSize;ve=0?(B(D.value.from),nextTick(()=>{V(ce)})):ne()}function Q(ce){if(ce===void 0&&typeof window!="undefined"){const pe=r();pe!=null&&pe.nodeType!==8&&(ce=getScrollDetails(pe,o(),E.value,F.value,d.virtualScrollHorizontal,y.lang.rtl,d.virtualScrollStickySizeStart,d.virtualScrollStickySizeEnd).scrollViewSize)}_=ce;const se=parseFloat(d.virtualScrollSliceRatioBefore)||0,ge=parseFloat(d.virtualScrollSliceRatioAfter)||0,he=1+se+ge,ye=ce===void 0||ce<=0?1:Math.ceil(ce/a.value),ee=Math.max(1,ye,Math.ceil((d.virtualScrollSliceSize>0?d.virtualScrollSliceSize:10)/he));I.value={total:Math.ceil(ee*he),start:Math.ceil(ee*se),center:Math.ceil(ee*(.5+se)),end:Math.ceil(ee*(1+se)),view:ye}}function X(ce,se){const ge=d.virtualScrollHorizontal===!0?"width":"height",he={["--q-virtual-scroll-item-"+ge]:a.value+"px"};return[ce==="tbody"?h(ce,{class:"q-virtual-scroll__padding",key:"before",ref:E},[h("tr",[h("td",{style:{[ge]:`${C.value}px`,...he},colspan:x.value})])]):h(ce,{class:"q-virtual-scroll__padding",key:"before",ref:E,style:{[ge]:`${C.value}px`,...he}}),h(ce,{class:"q-virtual-scroll__content",key:"content",ref:O,tabindex:-1},se.flat()),ce==="tbody"?h(ce,{class:"q-virtual-scroll__padding",key:"after",ref:F},[h("tr",[h("td",{style:{[ge]:`${T.value}px`,...he},colspan:x.value})])]):h(ce,{class:"q-virtual-scroll__padding",key:"after",ref:F,style:{[ge]:`${T.value}px`,...he}})]}function J(ce){b!==ce&&(d.onVirtualScroll!==void 0&&g("virtualScroll",{index:ce,from:D.value.from,to:D.value.to-1,direction:ce{Q()});let te=!1;return onDeactivated(()=>{te=!0}),onActivated(()=>{if(te!==!0)return;const ce=r();A!==void 0&&ce!==void 0&&ce!==null&&ce.nodeType!==8?setScroll(ce,A,d.virtualScrollHorizontal,y.lang.rtl):V(b)}),onBeforeUnmount(()=>{ne.cancel()}),Object.assign(v,{scrollTo:V,reset:M,refresh:N}),{virtualScrollSliceRange:D,virtualScrollSliceSizeComputed:I,setVirtualScrollSize:Q,onVirtualScrollEvt:ne,localResetVirtualScroll:U,padVirtualScroll:X,scrollTo:V,reset:M,refresh:N}}const validateNewValueMode=t=>["add","add-unique","toggle"].includes(t),reEscapeList=".*+?^${}()|[]\\",fieldPropsList=Object.keys(useFieldProps);var QSelect=createComponent({name:"QSelect",inheritAttrs:!1,props:{...useVirtualScrollProps,...useFormProps,...useFieldProps,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:validateNewValueMode},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:t=>["default","menu","dialog"].includes(t),default:"default"},virtualScrollItemSize:useVirtualScrollProps.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...useFieldEmits,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=ref(!1),g=ref(!1),v=ref(-1),y=ref(""),A=ref(!1),b=ref(!1);let _=null,w=null,S,C,T,I=null,E,F,O,D;const x=ref(null),P=ref(null),G=ref(null),M=ref(null),N=ref(null),V=useFormInputNameAttr(t),Z=useKeyComposition(We),H=computed(()=>Array.isArray(t.options)?t.options.length:0),B=computed(()=>t.virtualScrollItemSize===void 0?t.optionsDense===!0?24:48:t.virtualScrollItemSize),{virtualScrollSliceRange:z,virtualScrollSliceSizeComputed:U,localResetVirtualScroll:Q,padVirtualScroll:X,onVirtualScrollEvt:J,scrollTo:ne,setVirtualScrollSize:te}=useVirtualScroll({virtualScrollLength:H,getVirtualScrollTarget:mt,getVirtualScrollEl:at,virtualScrollItemSizeComputed:B}),ce=useFieldState(),se=computed(()=>{const Ue=t.mapOptions===!0&&t.multiple!==!0,kt=t.modelValue!==void 0&&(t.modelValue!==null||Ue===!0)?t.multiple===!0&&Array.isArray(t.modelValue)?t.modelValue:[t.modelValue]:[];if(t.mapOptions===!0&&Array.isArray(t.options)===!0){const Ot=t.mapOptions===!0&&S!==void 0?S:[],Ft=kt.map(Jt=>ke(Jt,Ot));return t.modelValue===null&&Ue===!0?Ft.filter(Jt=>Jt!==null):Ft}return kt}),ge=computed(()=>{const Ue={};return fieldPropsList.forEach(kt=>{const Ot=t[kt];Ot!==void 0&&(Ue[kt]=Ot)}),Ue}),he=computed(()=>t.optionsDark===null?ce.isDark.value:t.optionsDark),ye=computed(()=>fieldValueIsFilled(se.value)),ee=computed(()=>{let Ue="q-field__input q-placeholder col";return t.hideSelected===!0||se.value.length===0?[Ue,t.inputClass]:(Ue+=" q-field__input--padding",t.inputClass===void 0?Ue:[Ue,t.inputClass])}),pe=computed(()=>(t.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(t.popupContentClass?" "+t.popupContentClass:"")),ae=computed(()=>H.value===0),ve=computed(()=>se.value.map(Ue=>me.value(Ue)).join(", ")),we=computed(()=>t.displayValue!==void 0?t.displayValue:ve.value),_e=computed(()=>t.optionsHtml===!0?()=>!0:Ue=>Ue!=null&&Ue.html===!0),Te=computed(()=>t.displayValueHtml===!0||t.displayValue===void 0&&(t.optionsHtml===!0||se.value.some(_e.value))),Ce=computed(()=>ce.focused.value===!0?t.tabindex:-1),Ae=computed(()=>{const Ue={tabindex:t.tabindex,role:"combobox","aria-label":t.label,"aria-readonly":t.readonly===!0?"true":"false","aria-autocomplete":t.useInput===!0?"list":"none","aria-expanded":d.value===!0?"true":"false","aria-controls":`${ce.targetUid.value}_lb`};return v.value>=0&&(Ue["aria-activedescendant"]=`${ce.targetUid.value}_${v.value}`),Ue}),Ee=computed(()=>({id:`${ce.targetUid.value}_lb`,role:"listbox","aria-multiselectable":t.multiple===!0?"true":"false"})),le=computed(()=>se.value.map((Ue,kt)=>({index:kt,opt:Ue,html:_e.value(Ue),selected:!0,removeAtIndex:ot,toggleOption:_t,tabindex:Ce.value}))),re=computed(()=>{if(H.value===0)return[];const{from:Ue,to:kt}=z.value;return t.options.slice(Ue,kt).map((Ot,Ft)=>{const Jt=Se.value(Ot)===!0,Xt=yt(Ot)===!0,cn=Ue+Ft,rn={clickable:!0,active:Xt,activeClass:ie.value,manualFocus:!0,focused:!1,disable:Jt,tabindex:-1,dense:t.optionsDense,dark:he.value,role:"option","aria-selected":Xt===!0?"true":"false",id:`${ce.targetUid.value}_${cn}`,onClick:()=>{_t(Ot)}};return Jt!==!0&&(v.value===cn&&(rn.focused=!0),u.platform.is.desktop===!0&&(rn.onMousemove=()=>{d.value===!0&&He(cn)})),{index:cn,opt:Ot,html:_e.value(Ot),label:me.value(Ot),selected:rn.active,focused:rn.focused,toggleOption:_t,setOptionIndex:He,itemProps:rn}})}),ue=computed(()=>t.dropdownIcon!==void 0?t.dropdownIcon:u.iconSet.arrow.dropdown),be=computed(()=>t.optionsCover===!1&&t.outlined!==!0&&t.standout!==!0&&t.borderless!==!0&&t.rounded!==!0),ie=computed(()=>t.optionsSelectedClass!==void 0?t.optionsSelectedClass:t.color!==void 0?`text-${t.color}`:""),oe=computed(()=>Qe(t.optionValue,"value")),me=computed(()=>Qe(t.optionLabel,"label")),Se=computed(()=>Qe(t.optionDisable,"disable")),xe=computed(()=>se.value.map(Ue=>oe.value(Ue))),De=computed(()=>{const Ue={onInput:We,onChange:Z,onKeydown:Ye,onKeyup:dt,onKeypress:Re,onFocus:Ct,onClick(kt){C===!0&&stop$1(kt)}};return Ue.onCompositionstart=Ue.onCompositionupdate=Ue.onCompositionend=Z,Ue});watch(se,Ue=>{S=Ue,t.useInput===!0&&t.fillInput===!0&&t.multiple!==!0&&ce.innerLoading.value!==!0&&(g.value!==!0&&d.value!==!0||ye.value!==!0)&&(T!==!0&&jt(),(g.value===!0||d.value===!0)&&At(""))},{immediate:!0}),watch(()=>t.fillInput,jt),watch(d,qt),watch(H,dn);function Pe(Ue){return t.emitValue===!0?oe.value(Ue):Ue}function Be(Ue){if(Ue!==-1&&Ue=t.maxValues)return;const Ft=t.modelValue.slice();o("add",{index:Ft.length,value:Ot}),Ft.push(Ot),o("update:modelValue",Ft)}function _t(Ue,kt){if(ce.editable.value!==!0||Ue===void 0||Se.value(Ue)===!0)return;const Ot=oe.value(Ue);if(t.multiple!==!0){kt!==!0&&(st(t.fillInput===!0?me.value(Ue):"",!0,!0),Wt()),P.value!==null&&P.value.focus(),(se.value.length===0||isDeepEqual(oe.value(se.value[0]),Ot)!==!0)&&o("update:modelValue",t.emitValue===!0?Ot:Ue);return}if((C!==!0||A.value===!0)&&ce.focus(),Ct(),se.value.length===0){const Xt=t.emitValue===!0?Ot:Ue;o("add",{index:0,value:Xt}),o("update:modelValue",t.multiple===!0?[Xt]:Xt);return}const Ft=t.modelValue.slice(),Jt=xe.value.findIndex(Xt=>isDeepEqual(Xt,Ot));if(Jt!==-1)o("remove",{index:Jt,value:Ft.splice(Jt,1)[0]});else{if(t.maxValues!==void 0&&Ft.length>=t.maxValues)return;const Xt=t.emitValue===!0?Ot:Ue;o("add",{index:Ft.length,value:Xt}),Ft.push(Xt)}o("update:modelValue",Ft)}function He(Ue){if(u.platform.is.desktop!==!0)return;const kt=Ue!==-1&&Ue=0?me.value(t.options[Ot]):E,!0))}}function ke(Ue,kt){const Ot=Ft=>isDeepEqual(oe.value(Ft),Ue);return t.options.find(Ot)||kt.find(Ot)||Ue}function Qe(Ue,kt){const Ot=Ue!==void 0?Ue:kt;return typeof Ot=="function"?Ot:Ft=>Ft!==null&&typeof Ft=="object"&&Ot in Ft?Ft[Ot]:Ft}function yt(Ue){const kt=oe.value(Ue);return xe.value.find(Ot=>isDeepEqual(Ot,kt))!==void 0}function Ct(Ue){t.useInput===!0&&P.value!==null&&(Ue===void 0||P.value===Ue.target&&Ue.target.value===ve.value)&&P.value.select()}function Xe(Ue){isKeyCode(Ue,27)===!0&&d.value===!0&&(stop$1(Ue),Wt(),jt()),o("keyup",Ue)}function dt(Ue){const{value:kt}=Ue.target;if(Ue.keyCode!==void 0){Xe(Ue);return}if(Ue.target.value="",_!==null&&(clearTimeout(_),_=null),w!==null&&(clearTimeout(w),w=null),jt(),typeof kt=="string"&&kt.length!==0){const Ot=kt.toLocaleLowerCase(),Ft=Xt=>{const cn=t.options.find(rn=>Xt.value(rn).toLocaleLowerCase()===Ot);return cn===void 0?!1:(se.value.indexOf(cn)===-1?_t(cn):Wt(),!0)},Jt=Xt=>{Ft(oe)!==!0&&(Ft(me)===!0||Xt===!0||At(kt,!0,()=>Jt(!0)))};Jt()}else ce.clearValue(Ue)}function Re(Ue){o("keypress",Ue)}function Ye(Ue){if(o("keydown",Ue),shouldIgnoreKey(Ue)===!0)return;const kt=y.value.length!==0&&(t.newValueMode!==void 0||t.onNewValue!==void 0),Ot=Ue.shiftKey!==!0&&t.multiple!==!0&&(v.value!==-1||kt===!0);if(Ue.keyCode===27){prevent(Ue);return}if(Ue.keyCode===9&&Ot===!1){nt();return}if(Ue.target===void 0||Ue.target.id!==ce.targetUid.value||ce.editable.value!==!0)return;if(Ue.keyCode===40&&ce.innerLoading.value!==!0&&d.value===!1){stopAndPrevent$1(Ue),Bt();return}if(Ue.keyCode===8&&(t.useChips===!0||t.clearable===!0)&&t.hideSelected!==!0&&y.value.length===0){t.multiple===!0&&Array.isArray(t.modelValue)===!0?Be(t.modelValue.length-1):t.multiple!==!0&&t.modelValue!==null&&o("update:modelValue",null);return}(Ue.keyCode===35||Ue.keyCode===36)&&(typeof y.value!="string"||y.value.length===0)&&(stopAndPrevent$1(Ue),v.value=-1,Ve(Ue.keyCode===36?1:-1,t.multiple)),(Ue.keyCode===33||Ue.keyCode===34)&&U.value!==void 0&&(stopAndPrevent$1(Ue),v.value=Math.max(-1,Math.min(H.value,v.value+(Ue.keyCode===33?-1:1)*U.value.view)),Ve(Ue.keyCode===33?1:-1,t.multiple)),(Ue.keyCode===38||Ue.keyCode===40)&&(stopAndPrevent$1(Ue),Ve(Ue.keyCode===38?-1:1,t.multiple));const Ft=H.value;if((O===void 0||D0&&t.useInput!==!0&&Ue.key!==void 0&&Ue.key.length===1&&Ue.altKey===!1&&Ue.ctrlKey===!1&&Ue.metaKey===!1&&(Ue.keyCode!==32||O.length!==0)){d.value!==!0&&Bt(Ue);const Jt=Ue.key.toLocaleLowerCase(),Xt=O.length===1&&O[0]===Jt;D=Date.now()+1500,Xt===!1&&(stopAndPrevent$1(Ue),O+=Jt);const cn=new RegExp("^"+O.split("").map(mn=>reEscapeList.indexOf(mn)!==-1?"\\"+mn:mn).join(".*"),"i");let rn=v.value;if(Xt===!0||rn<0||cn.test(me.value(t.options[rn]))!==!0)do rn=normalizeToInterval(rn+1,-1,Ft-1);while(rn!==v.value&&(Se.value(t.options[rn])===!0||cn.test(me.value(t.options[rn]))!==!0));v.value!==rn&&nextTick(()=>{He(rn),ne(rn),rn>=0&&t.useInput===!0&&t.fillInput===!0&&Je(me.value(t.options[rn]),!0)});return}if(!(Ue.keyCode!==13&&(Ue.keyCode!==32||t.useInput===!0||O!=="")&&(Ue.keyCode!==9||Ot===!1))){if(Ue.keyCode!==9&&stopAndPrevent$1(Ue),v.value!==-1&&v.value{if(cn){if(validateNewValueMode(cn)!==!0)return}else cn=t.newValueMode;if(st("",t.multiple!==!0,!0),Xt==null)return;(cn==="toggle"?_t:ct)(Xt,cn==="add-unique"),t.multiple!==!0&&(P.value!==null&&P.value.focus(),Wt())};if(t.onNewValue!==void 0?o("newValue",y.value,Jt):Jt(y.value),t.multiple!==!0)return}d.value===!0?nt():ce.innerLoading.value!==!0&&Bt()}}function at(){return C===!0?N.value:G.value!==null&&G.value.contentEl!==null?G.value.contentEl:void 0}function mt(){return at()}function St(){return t.hideSelected===!0?[]:r["selected-item"]!==void 0?le.value.map(Ue=>r["selected-item"](Ue)).slice():r.selected!==void 0?[].concat(r.selected()):t.useChips===!0?le.value.map((Ue,kt)=>h(QChip,{key:"option-"+kt,removable:ce.editable.value===!0&&Se.value(Ue.opt)!==!0,dense:!0,textColor:t.color,tabindex:Ce.value,onRemove(){Ue.removeAtIndex(kt)}},()=>h("span",{class:"ellipsis",[Ue.html===!0?"innerHTML":"textContent"]:me.value(Ue.opt)}))):[h("span",{[Te.value===!0?"innerHTML":"textContent"]:we.value})]}function Rt(){if(ae.value===!0)return r["no-option"]!==void 0?r["no-option"]({inputValue:y.value}):void 0;const Ue=r.option!==void 0?r.option:Ot=>h(QItem,{key:Ot.index,...Ot.itemProps},()=>h(QItemSection,()=>h(QItemLabel,()=>h("span",{[Ot.html===!0?"innerHTML":"textContent"]:Ot.label}))));let kt=X("div",re.value.map(Ue));return r["before-options"]!==void 0&&(kt=r["before-options"]().concat(kt)),hMergeSlot(r["after-options"],kt)}function Oe(Ue,kt){const Ot=kt===!0?{...Ae.value,...ce.splitAttrs.attributes.value}:void 0,Ft={ref:kt===!0?P:void 0,key:"i_t",class:ee.value,style:t.inputStyle,value:y.value!==void 0?y.value:"",type:"search",...Ot,id:kt===!0?ce.targetUid.value:void 0,maxlength:t.maxlength,autocomplete:t.autocomplete,"data-autofocus":Ue===!0||t.autofocus===!0||void 0,disabled:t.disable===!0,readonly:t.readonly===!0,...De.value};return Ue!==!0&&C===!0&&(Array.isArray(Ft.class)===!0?Ft.class=[...Ft.class,"no-pointer-events"]:Ft.class+=" no-pointer-events"),h("input",Ft)}function We(Ue){_!==null&&(clearTimeout(_),_=null),w!==null&&(clearTimeout(w),w=null),!(Ue&&Ue.target&&Ue.target.qComposing===!0)&&(Je(Ue.target.value||""),T=!0,E=y.value,ce.focused.value!==!0&&(C!==!0||A.value===!0)&&ce.focus(),t.onFilter!==void 0&&(_=setTimeout(()=>{_=null,At(y.value)},t.inputDebounce)))}function Je(Ue,kt){y.value!==Ue&&(y.value=Ue,kt===!0||t.inputDebounce===0||t.inputDebounce==="0"?o("inputValue",Ue):w=setTimeout(()=>{w=null,o("inputValue",Ue)},t.inputDebounce))}function st(Ue,kt,Ot){T=Ot!==!0,t.useInput===!0&&(Je(Ue,!0),(kt===!0||Ot!==!0)&&(E=Ue),kt!==!0&&At(Ue))}function At(Ue,kt,Ot){if(t.onFilter===void 0||kt!==!0&&ce.focused.value!==!0)return;ce.innerLoading.value===!0?o("filterAbort"):(ce.innerLoading.value=!0,b.value=!0),Ue!==""&&t.multiple!==!0&&se.value.length!==0&&T!==!0&&Ue===me.value(se.value[0])&&(Ue="");const Ft=setTimeout(()=>{d.value===!0&&(d.value=!1)},10);I!==null&&clearTimeout(I),I=Ft,o("filter",Ue,(Jt,Xt)=>{(kt===!0||ce.focused.value===!0)&&I===Ft&&(clearTimeout(I),typeof Jt=="function"&&Jt(),b.value=!1,nextTick(()=>{ce.innerLoading.value=!1,ce.editable.value===!0&&(kt===!0?d.value===!0&&Wt():d.value===!0?qt(!0):d.value=!0),typeof Xt=="function"&&nextTick(()=>{Xt(a)}),typeof Ot=="function"&&nextTick(()=>{Ot(a)})}))},()=>{ce.focused.value===!0&&I===Ft&&(clearTimeout(I),ce.innerLoading.value=!1,b.value=!1),d.value===!0&&(d.value=!1)})}function bt(){return h(QMenu,{ref:G,class:pe.value,style:t.popupContentStyle,modelValue:d.value,fit:t.menuShrink!==!0,cover:t.optionsCover===!0&&ae.value!==!0&&t.useInput!==!0,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,dark:he.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:t.popupNoRouteDismiss,square:be.value,transitionShow:t.transitionShow,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,separateClosePopup:!0,...Ee.value,onScrollPassive:J,onBeforeShow:an,onBeforeHide:Le,onShow:Fe},Rt)}function Le(Ue){ln(Ue),nt()}function Fe(){te()}function it(Ue){stop$1(Ue),P.value!==null&&P.value.focus(),A.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function It(Ue){stop$1(Ue),nextTick(()=>{A.value=!1})}function Ne(){const Ue=[h(QField,{class:`col-auto ${ce.fieldClass.value}`,...ge.value,for:ce.targetUid.value,dark:he.value,square:!0,loading:b.value,itemAligned:!1,filled:!0,stackLabel:y.value.length!==0,...ce.splitAttrs.listeners.value,onFocus:it,onBlur:It},{...r,rawControl:()=>ce.getControl(!0),before:void 0,after:void 0})];return d.value===!0&&Ue.push(h("div",{ref:N,class:pe.value+" scroll",style:t.popupContentStyle,...Ee.value,onClick:prevent,onScrollPassive:J},Rt())),h(QDialog,{ref:M,modelValue:g.value,position:t.useInput===!0?"top":void 0,transitionShow:F,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,noRouteDismiss:t.popupNoRouteDismiss,onBeforeShow:an,onBeforeHide:Ge,onHide:ze,onShow:et},()=>h("div",{class:"q-select__dialog"+(he.value===!0?" q-select__dialog--dark q-dark":"")+(A.value===!0?" q-select__dialog--focused":"")},Ue))}function Ge(Ue){ln(Ue),M.value!==null&&M.value.__updateRefocusTarget(ce.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),ce.focused.value=!1}function ze(Ue){Wt(),ce.focused.value===!1&&o("blur",Ue),jt()}function et(){const Ue=document.activeElement;(Ue===null||Ue.id!==ce.targetUid.value)&&P.value!==null&&P.value!==Ue&&P.value.focus(),te()}function nt(){g.value!==!0&&(v.value=-1,d.value===!0&&(d.value=!1),ce.focused.value===!1&&(I!==null&&(clearTimeout(I),I=null),ce.innerLoading.value===!0&&(o("filterAbort"),ce.innerLoading.value=!1,b.value=!1)))}function Bt(Ue){ce.editable.value===!0&&(C===!0?(ce.onControlFocusin(Ue),g.value=!0,nextTick(()=>{ce.focus()})):ce.focus(),t.onFilter!==void 0?At(y.value):(ae.value!==!0||r["no-option"]!==void 0)&&(d.value=!0))}function Wt(){g.value=!1,nt()}function jt(){t.useInput===!0&&st(t.multiple!==!0&&t.fillInput===!0&&se.value.length!==0&&me.value(se.value[0])||"",!0,!0)}function qt(Ue){let kt=-1;if(Ue===!0){if(se.value.length!==0){const Ot=oe.value(se.value[0]);kt=t.options.findIndex(Ft=>isDeepEqual(oe.value(Ft),Ot))}Q(kt)}He(kt)}function dn(Ue,kt){d.value===!0&&ce.innerLoading.value===!1&&(Q(-1,!0),nextTick(()=>{d.value===!0&&ce.innerLoading.value===!1&&(Ue>kt?Q():qt(!0))}))}function Qt(){g.value===!1&&G.value!==null&&G.value.updatePosition()}function an(Ue){Ue!==void 0&&stop$1(Ue),o("popupShow",Ue),ce.hasPopupOpen=!0,ce.onControlFocusin(Ue)}function ln(Ue){Ue!==void 0&&stop$1(Ue),o("popupHide",Ue),ce.hasPopupOpen=!1,ce.onControlFocusout(Ue)}function Ht(){C=u.platform.is.mobile!==!0&&t.behavior!=="dialog"?!1:t.behavior!=="menu"&&(t.useInput===!0?r["no-option"]!==void 0||t.onFilter!==void 0||ae.value===!1:!0),F=u.platform.is.ios===!0&&C===!0&&t.useInput===!0?"fade":t.transitionShow}return onBeforeUpdate(Ht),onUpdated(Qt),Ht(),onBeforeUnmount(()=>{_!==null&&clearTimeout(_),w!==null&&clearTimeout(w)}),Object.assign(a,{showPopup:Bt,hidePopup:Wt,removeAtIndex:Be,add:ct,toggleOption:_t,getOptionIndex:()=>v.value,setOptionIndex:He,moveOptionSelection:Ve,filter:At,updateMenuPosition:Qt,updateInputValue:st,isOptionSelected:yt,getEmittingOptionValue:Pe,isOptionDisabled:(...Ue)=>Se.value.apply(null,Ue)===!0,getOptionValue:(...Ue)=>oe.value.apply(null,Ue),getOptionLabel:(...Ue)=>me.value.apply(null,Ue)}),Object.assign(ce,{innerValue:se,fieldClass:computed(()=>`q-select q-field--auto-height q-select--with${t.useInput!==!0?"out":""}-input q-select--with${t.useChips!==!0?"out":""}-chips q-select--${t.multiple===!0?"multiple":"single"}`),inputRef:x,targetRef:P,hasValue:ye,showPopup:Bt,floatingLabel:computed(()=>t.hideSelected!==!0&&ye.value===!0||typeof y.value=="number"||y.value.length!==0||fieldValueIsFilled(t.displayValue)),getControlChild:()=>{if(ce.editable.value!==!1&&(g.value===!0||ae.value!==!0||r["no-option"]!==void 0))return C===!0?Ne():bt();ce.hasPopupOpen===!0&&(ce.hasPopupOpen=!1)},controlEvents:{onFocusin(Ue){ce.onControlFocusin(Ue)},onFocusout(Ue){ce.onControlFocusout(Ue,()=>{jt(),nt()})},onClick(Ue){if(prevent(Ue),C!==!0&&d.value===!0){nt(),P.value!==null&&P.value.focus();return}Bt(Ue)}},getControl:Ue=>{const kt=St(),Ot=Ue===!0||g.value!==!0||C!==!0;if(t.useInput===!0)kt.push(Oe(Ue,Ot));else if(ce.editable.value===!0){const Jt=Ot===!0?Ae.value:void 0;kt.push(h("input",{ref:Ot===!0?P:void 0,key:"d_t",class:"q-select__focus-target",id:Ot===!0?ce.targetUid.value:void 0,value:we.value,readonly:!0,"data-autofocus":Ue===!0||t.autofocus===!0||void 0,...Jt,onKeydown:Ye,onKeyup:Xe,onKeypress:Re})),Ot===!0&&typeof t.autocomplete=="string"&&t.autocomplete.length!==0&&kt.push(h("input",{class:"q-select__autocomplete-input",autocomplete:t.autocomplete,tabindex:-1,onKeyup:dt}))}if(V.value!==void 0&&t.disable!==!0&&xe.value.length!==0){const Jt=xe.value.map(Xt=>h("option",{value:Xt,selected:!0}));kt.push(h("select",{class:"hidden",name:V.value,multiple:t.multiple},Jt))}const Ft=t.useInput===!0||Ot!==!0?void 0:ce.splitAttrs.attributes.value;return h("div",{class:"q-field__native row items-center",...Ft,...ce.splitAttrs.listeners.value},kt)},getInnerAppend:()=>t.loading!==!0&&b.value!==!0&&t.hideDropdownIcon!==!0?[h(QIcon,{class:"q-select__dropdown-icon"+(d.value===!0?" rotate-180":""),name:ue.value})]:null}),useField(ce)}});const _sfc_main$1o=defineComponent({name:"DropdownAction",props:{componentId:{type:String,default:"DropdownAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(){const{t}=useI18n();return{t}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$a),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},options(){const t=this.state.config.display._sort,r=this.state.config.display._order;let o=this.state&&this.state.config.display?Object.keys(this.state.config.display):[];if(o=o.filter(a=>a!=="_sort"&&a!=="_order"),!t||!Array.isArray(t))o=o.map((a,u)=>{const d=parseInt(a);return{sort:t==="key"?a:t==="value"?this.state.config.display[a]:Number.isNaN(d)?a:d,value:a,label:this.state.config.display[a].indexOf("#")!==-1?this.t(this.state.config.display[a]):this.state.config.display[a]}});else{const a=o;o=t.map((u,d)=>{u=u-1;const g=a[u];return{sort:d,value:g,label:this.state.config.display[g]}})}return o=o.sort((a,u)=>a.sort===u.sort?0:r==="down"?a.sort>u.sort?-1:1:a.sort>u.sort?1:-1),o},stateVal(){return this.state&&this.state[this.componentOptions.val]!==void 0&&this.state[this.componentOptions.val]!==null?{label:this.state.config.display[this.state.val],value:this.state[this.componentOptions.val]}:null}},methods:{set(t){this.state&&this.$emit("setDevice",this.device.id,this.stateKey,t.value,this.componentOptions)}}}),OPTIONS$a={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1}},_hoisted_1$15={key:0};function _sfc_render$1o(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{"margin-left":"8px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[!t.state.config||!t.state.config.display||Object.keys(t.state.config.display).length===0?(openBlock(),createElementBlock("div",_hoisted_1$15,toDisplayString$1(t.$t("Display attribute of state %s must be defined").replace("%s",t.stateKey))+"! ",1)):(openBlock(),createBlock(QSelect,{key:1,style:{"min-width":"100px","margin-top":"-14px"},"model-value":t.stateVal,options:t.options,"virtual-scroll-slice-size":"999",label:"",dense:"","onUpdate:modelValue":t.set},null,8,["model-value","options","onUpdate:modelValue"]))])}var DropdownAction=_export_sfc$1(_sfc_main$1o,[["render",_sfc_render$1o]]),QSpace=createComponent({name:"QSpace",setup(){const t=h("div",{class:"q-space"});return()=>t}}),QPopupProxy=createComponent({name:"QPopupProxy",props:{...useAnchorProps,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(t,{slots:r,emit:o,attrs:a}){const{proxy:u}=getCurrentInstance(),{$q:d}=u,g=ref(!1),v=ref(null),y=computed(()=>parseInt(t.breakpoint,10)),{canShow:A}=useAnchor({showing:g});function b(){return d.screen.width_.value==="menu"?{maxHeight:"99vh"}:{});watch(()=>b(),T=>{g.value!==!0&&(_.value=T)});function S(T){g.value=!0,o("show",T)}function C(T){g.value=!1,_.value=b(),o("hide",T)}return Object.assign(u,{show(T){A(T)===!0&&v.value.show(T)},hide(T){v.value.hide(T)},toggle(T){v.value.toggle(T)}}),injectProp(u,"currentComponent",()=>({type:_.value,ref:v.value})),()=>{const T={ref:v,...w.value,...a,onShow:S,onHide:C};let I;return _.value==="dialog"?I=QDialog:(I=QMenu,Object.assign(T,{target:t.target,contextMenu:t.contextMenu,noParentEvent:!0,separateClosePopup:!0})),h(I,T,r.default)}}});function getDepth(t){if(t===!1)return 0;if(t===!0||t===void 0)return 1;const r=parseInt(t,10);return isNaN(r)?0:r}var ClosePopup=createDirective({name:"close-popup",beforeMount(t,{value:r}){const o={depth:getDepth(r),handler(a){o.depth!==0&&setTimeout(()=>{const u=getPortalProxy(t);u!==void 0&&closePortals(u,a,o.depth)})},handlerKey(a){isKeyCode(a,13)===!0&&o.handler(a)}};t.__qclosepopup=o,t.addEventListener("click",o.handler),t.addEventListener("keyup",o.handlerKey)},updated(t,{value:r,oldValue:o}){r!==o&&(t.__qclosepopup.depth=getDepth(r))},beforeUnmount(t){const r=t.__qclosepopup;t.removeEventListener("click",r.handler),t.removeEventListener("keyup",r.handlerKey),delete t.__qclosepopup}});const DatePickerBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return DatePickerBody$2}),void 0),suspensible:!1}),_sfc_main$1n=defineComponent({name:"DatePickerAction",components:{DatePickerBody},props:{componentId:{type:String,default:"DatePickerAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$9),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const u=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"";a.value=u}),{componentOptions:o,date:a,setDevice(u,d,g){a.value=g,r("setDevice",u,d,g,o.ack)}}}}),OPTIONS$9={...OPTIONS$i},_hoisted_1$14={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$S={style:{margin:"8px 0 0 16px"}};function _sfc_render$1n(t,r,o,a,u,d){const g=resolveComponent("DatePickerBody");return openBlock(),createBlock(QBtn,{icon:"mdi-calendar",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{"device-config":{DatePickerActionConfig:{[t.stateKey]:t.componentOptions}},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$14,[createBaseVNode("div",_hoisted_2$S,toDisplayString$1(t.date),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["device-config","onSetDevice"])]),_:1})]),_:1})}var DatePickerAction=_export_sfc$1(_sfc_main$1n,[["render",_sfc_render$1n]]),TimePickerAction_vue_vue_type_style_index_0_lang="";const TimePickerBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return TimePickerBody$2}),void 0),suspensible:!1}),_sfc_main$1m=defineComponent({name:"TimePickerAction",components:{TimePickerBody},props:{componentId:{type:String,default:"TimePickerAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$8),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref("");return watchEffect(()=>{const u=t.state&&t.state[o.val]!==void 0?t.state[o.val]:"",[d,g,v]=u.toString().split(":");a.value=addLeadingZero(d)+":"+addLeadingZero(g)+(o.withSeconds?":"+addLeadingZero(v||0):"")}),{componentOptions:o,time:a,setDevice(u,d,g){a.value=g,r("setDevice",u,d,g,o.ack)}}}}),OPTIONS$8={...OPTIONS$h,minimal:{label:i18n.global.t("config#componentOptions#TimePicker#minimal#label"),info:i18n.global.t("config#componentOptions#TimePicker#minimal#info"),type:"Switch",value:!1,disable:!0}},_hoisted_1$13={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$R={style:{"padding-left":"16px"}};function _sfc_render$1m(t,r,o,a,u,d){const g=resolveComponent("TimePickerBody");return openBlock(),createBlock(QBtn,{icon:"mdi-clock-outline",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{"device-config":{TimePickerActionConfig:{[t.stateKey]:t.componentOptions}},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$13,[createBaseVNode("div",_hoisted_2$R,toDisplayString$1(t.time),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{dense:"",label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["device-config","onSetDevice"])]),_:1})]),_:1})}var TimePickerAction=_export_sfc$1(_sfc_main$1m,[["render",_sfc_render$1m]]),components$q={_options:{IconState:OPTIONS$n,LastChangeBody:OPTIONS$l,LevelBody:OPTIONS$k,CustomTextBody:OPTIONS$j,DatePickerBody:OPTIONS$i,TimePickerBody:OPTIONS$h,SwitchAction:OPTIONS$f,CheckboxAction:OPTIONS$g,InputAction:OPTIONS$e,ButtonAction:OPTIONS$c,ButtonGroupAction:OPTIONS$b,IconButtonAction:OPTIONS$d,DropdownAction:OPTIONS$a,DatePickerAction:OPTIONS$9,TimePickerAction:OPTIONS$8},components:{State:State$1,SecondaryStates,Title},body:{LastChangeBody,LevelBody:LevelBody$2,CustomTextBody,DatePickerBody:DatePickerBody$1,TimePickerBody:TimePickerBody$1},action:{IconState,SwitchAction,CheckboxAction,InputAction,ButtonAction,ButtonGroupAction,IconButtonAction,DropdownAction,DatePickerAction,TimePickerAction}},__glob_4_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:components$q},Symbol.toStringTag,{value:"Module"})),alias="Alias Devices";const namespace$r="alias",deviceObjectType$m="channel";function parse$n(t,r){return new Promise((o,a)=>{const u=t.objects[t.root];if(!u||!u.common)return a(new Error("Alias structure incorrect. Could not load role from %state"));const d={name:u.common.name[locale]||u.common.name||"",function:"other",room:getRoom(t),states:{unreach:".UNREACH",lowBattery:".LOWBAT"}},g=u&&u.common?u.common.role:"";["light"].indexOf(g)>-1?(d.function="light",d.states={power:{state:".SET",action:".SET"},...d.states}):["dimmer"].indexOf(g)>-1?(d.function="light",d.states={level:{state:".ACTUAL",action:".SET"},...d.states}):["rgbSingle","ct","hue"].indexOf(g)>-1?(d.function="light",d.states={power:{state:".ON",action:".ON"},level:{state:".DIMMER",action:".DIMMER"},colorTemperature:{state:".TEMPERATURE",action:".TEMPERATURE"},hue:{state:".HUE",action:".HUE"},rgb:{state:".RGB",action:".RGB"},...d.states}):["blind"].indexOf(g)>-1?(d.function="blind",d.states={level:{state:".SET",action:".SET"},activity:{state:".WORKING",action:".STOP"},...d.states}):["window"].indexOf(g)>-1?(d.function="window",d.states={open:{state:".ACTUAL"},...d.states}):["door"].indexOf(g)>-1?(d.function="door",d.states={open:{state:".ACTUAL"},...d.states}):["temperature","thermostat"].indexOf(g)>-1&&(d.function="heating",d.states={temperature:{state:".ACTUAL"},setTemperature:{state:".SET",action:".SET"},humidity:{state:".HUMIDITY",action:".HUMIDITY"},boost:{state:".BOOST",action:".BOOST"},...d.states}),t.list.forEach(v=>{d.states={...d.states,[v.substring(v.lastIndexOf(".")+1)]:v.replace(t.root,"")}}),d.states=validateStates(d.states,t),o(d)})}var __glob_4_0=Object.freeze(Object.defineProperty({__proto__:null,default:alias,namespace:namespace$r,deviceObjectType:deviceObjectType$m,parse:parse$n},Symbol.toStringTag,{value:"Module"})),ble="Bluetooth (ble)";const namespace$q="ble";function parse$m(t,r){return parseDefault(t)}var __glob_4_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:ble,namespace:namespace$q,parse:parse$m},Symbol.toStringTag,{value:"Module"})),daswetter="Das Wetter";const namespace$p="daswetter";function root$e(t,r){const o=Connection.getConnection;return new Promise((a,u)=>{o.getObject("system.adapter.daswetter.0").then(d=>{const g=d&&d.native&&(d.native.Days5Forecast||d.native.Days7Forecast||d.native.HourlyForecast||d.native.HourlyForecastJSON);if(g){const v=g.substr(g.indexOf("?")+1).split("&"),y={};v.forEach(A=>{const[b,_]=A.split("=");y[b]=_}),Cache$1.set("daswetter",y)}}).catch(()=>{}).finally(()=>{u()})})}var __glob_4_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:daswetter,namespace:namespace$p,root:root$e},Symbol.toStringTag,{value:"Module"})),deconz="Deconz";const namespace$o="deconz",deviceObjectType$l="device",devicePattern$6="(((Lights|Groups|Sensors)+\\.\\d*)|((lights|groups|sensors)+\\.\\w*\\d*))";function parse$l(t,r){return parseDefault(t)}var __glob_4_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:deconz,namespace:namespace$o,deviceObjectType:deviceObjectType$l,devicePattern:devicePattern$6,parse:parse$l},Symbol.toStringTag,{value:"Module"})),rfdc_1=rfdc;function copyBuffer(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function rfdc(t){if(t=t||{},t.circles)return rfdcCircles(t);const r=new Map;if(r.set(Date,g=>new Date(g)),r.set(Map,(g,v)=>new Map(a(Array.from(g),v))),r.set(Set,(g,v)=>new Set(a(Array.from(g),v))),t.constructorHandlers)for(const g of t.constructorHandlers)r.set(g[0],g[1]);let o=null;return t.proto?d:u;function a(g,v){const y=Object.keys(g),A=new Array(y.length);for(let b=0;bnew Date(y)),a.set(Map,(y,A)=>new Map(d(Array.from(y),A))),a.set(Set,(y,A)=>new Set(d(Array.from(y),A))),t.constructorHandlers)for(const y of t.constructorHandlers)a.set(y[0],y[1]);let u=null;return t.proto?v:g;function d(y,A){const b=Object.keys(y),_=new Array(b.length);for(let w=0;w{const a=t.objects[t.root];let u={name:a.common.name,function:"other",room:getRoom(t)};if(a.native){u={...u,states:{config:".0.CONFIG_PENDING",unreach:".0.UNREACH",lowBattery:[".0.LOWBAT",".0.LOW_BAT"],lowBatteryAlarm:".0.LOWBAT_ALARM",connectivity:".0.RSSI_PEER",firmware:".0.UPDATE_PENDING"}};const d={},g={};let v=-1,y=-1;const A=a.native.TYPE.toLowerCase();for(const b in STATE_MAPPING$b)if(d[b]=d[b]||Object.keys(STATE_MAPPING$b[b]),g[b]=g[b]||d[b].map(_=>_.toLowerCase().replace("hmip-","").replace("hmipw-","").replace("hm-","")),v=g[b].indexOf(A.replace("hmipw-","").replace("hmip-","").replace("hm-","")),y=g[b].indexOf(A.replace("hmipw-","").replace("hmip-","").replace("hm-","")),v!==-1||y!==-1){u.function=b,u.states={...u.states,...detectStates(_default(STATE_MAPPING$b[b][d[b][v!==-1?v:y]]),t)};break}t.root.indexOf(".CUX")>-1&&(u.states={...u.states,..._default(STATE_MAPPING$b.CUxD["HM-LC-Sw1PBU-FM"])}),u.states=validateStates(u.states,t),v===-1&&y===-1&&(u.states={})}o(u)})}var __glob_4_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:hmRpc,namespace:namespace$n,deviceObjectType:deviceObjectType$k,BlindLevelActivity:BlindLevelActivity$1,parse:parse$k},Symbol.toStringTag,{value:"Module"})),hmip="HomeMatic IP via Access Point";const namespace$m="hmip",deviceObjectType$j="device",devicePattern$5="devices\\.(.*)",STATE_MAPPING$a={heating:{"HmIP-STH":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"}},"HmIP-eTRV-B":{temperature:{state:".channels.1.valveActualTemperature"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"},valvePosition:{state:".channels.1.valvePosition"},valveState:{state:".channels.1.valveState"}},"HmIP-eTRV-2":{temperature:{state:".channels.1.valveActualTemperature"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"}},"HmIP-WTH-2":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},setTemperature:{state:".channels.1.setPointTemperature",action:".channels.1.setPointTemperature"},vapor:{state:".channels.1.vaporAmount"}}},blind:{"HmIP-BBL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel"},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop"}},"HmIP-BROLL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel",actionElement:"BlindLevelAction",BlindLevelActionConfig:{step:"0,1"},properties:{min:"1",max:"0"},icon:{default:"window-shutter-open","<0.2":"window-shutter-open",">=0.8":"window-shutter"},bodyElement:"LevelBody",showState:!1},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop",actionElement:"IconButtonAction"}},"HmIP-FROLL":{level:{state:".channels.1.shutterLevel",action:".channels.1.shutterLevel",actionElement:"BlindLevelAction",BlindLevelActionConfig:{step:"0,1"},properties:{min:"1",max:"0"},icon:{default:"window-shutter-open","<0.2":"window-shutter-open",">=0.8":"window-shutter"},bodyElement:"LevelBody",showState:!1},activity:{state:".channels.1.processing"},stop:{action:".channels.1.stop",actionElement:"IconButtonAction"}}},window:{"HmIP-SWDO":{open:{state:".channels.1.windowOpen"}},"HmIP-SWDO-I":{open:{state:".channels.1.windowOpen"}},"HmIP-SRH":{open:{state:".channels.1.windowOpen"},state:{state:".channels.1.windowState",display:{CLOSED:"window#open#closed",TILTED:"window#open#tilted",OPEN:"window#open#opened"}}}},socket:{"HmIP-PS":{power:{state:".channels.1.on",action:".channels.1.on"}}},motion:{"HmIP-SMI":{motion:{state:".channels.1.motionDetected"},illumination:{state:".channels.1.illumination"}}},"weather-station":{"HmIP-STHO":{temperature:{state:".channels.1.actualTemperature"},humidity:{state:".channels.1.humidity"},vapor:{state:".channels.1.vaporAmount"},display:{state:".channels.1.display"}},"HmIP-STHO-A":{temperature:{state:".1.ACTUAL_TEMPERATURE"},humidity:{state:".1.HUMIDITY"}},"HmIP-SWO-B":{humidity:{state:".1.HUMIDITY"},wind:{state:".1.WIND_SPEED"},temperature:{state:".1.ACTUAL_TEMPERATURE"},illumination:{state:".1.ILLUMINATION"},sunshineduration:{state:".1.SUNSHINEDURATION"}}}};function parse$j(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"other",room:getRoom(t),states:{unreach:{state:".channels.0.unreach"},lowBattery:{state:".channels.0.lowBat"},firmware:{state:".channels.info.firmwareVersion"}}},u=t.states[t.root+".info.modelType"]||null;let d=-1;if(u&&u.val){const g={},v={},y=u.val.toLowerCase();for(const A in STATE_MAPPING$a)if(g[A]=g[A]||Object.keys(STATE_MAPPING$a[A]),v[A]=v[A]||g[A].map(b=>b.toLowerCase()),d=v[A].indexOf(y),d>-1){a.function=A,a.states={...a.states,..._default(STATE_MAPPING$a[A][g[A][d]])};break}a.states=validateStates(a.states,t)}d===-1?parseDefault(t,r,a).then(o):o(a)})}var __glob_4_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:hmip,namespace:namespace$m,deviceObjectType:deviceObjectType$j,devicePattern:devicePattern$5,parse:parse$j},Symbol.toStringTag,{value:"Module"})),hueExtended="hue-extended";const namespace$l="hue-extended",deviceObjectType$i="channel",devicePattern$4="(lights|groups|sensors)+\\.(\\d{3}\\-[^.]+)$|([^.]+\\-\\d{3})$",STATE_MAPPING$9={light:{power:{state:".action.on",action:".action.on"},level:{state:".action.level",action:".action.level"},colorTemperature:{state:".action.colorTemperature",action:".action.colorTemperature"},hue:{state:".action.hue",action:".action.hue"},hex:{state:".action.hex",action:".action.hex"}}};function parse$i(t,r){return new Promise((o,a)=>{let u={};u.name=t.states[t.root+".name"]&&t.states[t.root+".name"].val||t.root.substr(t.root.lastIndexOf(".")+1),u.states={},t.root.indexOf(".groups.")>-1||t.root.indexOf(".lights.")>-1?(u={...u,function:"light",room:getRoom(t),states:{..._default(STATE_MAPPING$9.light),reachability:".state.reachable"}},u.states=validateStates(u.states,t),o(u)):t.root.indexOf(".sensors.")>-1?(t.list.forEach(d=>{if(d.indexOf(".config.")>-1||d.indexOf(".state.")>-1||d.indexOf(".action.")>-1){const g=d.substr(d.lastIndexOf(".")+1);u.states[g]=detectStateElements(d,t)}}),u=detectFunction(u),o(u)):o({})})}var __glob_4_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:hueExtended,namespace:namespace$l,deviceObjectType:deviceObjectType$i,devicePattern:devicePattern$4,parse:parse$i},Symbol.toStringTag,{value:"Module"})),hue="hue";const namespace$k="hue",deviceObjectType$h="channel",STATE_MAPPING$8={light:{power:{state:".on",action:".on"},level:{state:".level",action:".level"},colorTemperature:{state:".ct",action:".ct"},hue:{state:".hue",action:".hue"},reachability:{state:".reachable"}}};function parse$h(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"light",room:getRoom(t),states:_default(STATE_MAPPING$8.light)};a.states=validateStates(a.states,t),a.states.level!==void 0||a.states.colorTemperature!==void 0||a.states.hue!==void 0?parseDefault(t).then(o):o(a)})}var __glob_4_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:hue,namespace:namespace$k,deviceObjectType:deviceObjectType$h,parse:parse$h},Symbol.toStringTag,{value:"Module"})),innogySmarthome="innogy / Livisi SmartHome";const namespace$j="innogy-smarthome";function parse$g(t,r){return parseDefault(t)}var __glob_4_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:innogySmarthome,namespace:namespace$j,parse:parse$g},Symbol.toStringTag,{value:"Module"})),knx="knx";const namespace$i="knx",deviceObjectType$g="state";function root$d(t,r){return new Promise(o=>{const a=[];for(const u in t){const d=t[u];if(u.indexOf(".info.connection")>-1)continue;const g=u.replace("knx.","").substr(2).replace(/\./g," - ").replace(/_/g," ");let v={id:d.common.name.toLowerCase().replace(/ /g,"")+"_"+uuidv5(u,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:g,function:"other",room:getRoom(deviceStructure),states:{[d.native.address]:detectStateElements(u,{objects:t})}};v=detectFunction(v),a.push(v)}o(a)})}var __glob_4_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:knx,namespace:namespace$i,deviceObjectType:deviceObjectType$g,root:root$d},Symbol.toStringTag,{value:"Module"})),lifx="Lifx";const namespace$h="lifx",deviceObjectType$f="channel";function parse$f(t,r){return parseDefault(t)}var __glob_4_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:lifx,namespace:namespace$h,deviceObjectType:deviceObjectType$f,parse:parse$f},Symbol.toStringTag,{value:"Module"})),linkeddevices="Linked Devices";const namespace$g="linkeddevices";function parse$e(t,r){return parseDefault(t)}var __glob_4_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:linkeddevices,namespace:namespace$g,parse:parse$e},Symbol.toStringTag,{value:"Module"})),mihomeVacuum="mihome-vacuum";const namespace$f="mihome-vacuum",deviceObjectType$e="state",STATE_MAPPING$7={consumableFilter:{state:".consumable.filter",action:".consumable.filter_reset",actionElement:"IconButtonAction"},consumableBrushMain:{state:".consumable.main_brush",action:".consumable.main_brush_reset",actionElement:"IconButtonAction"},consumableBrushSide:{state:".consumable.side_brush",action:".consumable.side_brush_reset",actionElement:"IconButtonAction"},consumableSensors:{state:".consumable.sensors",action:".consumable.sensors_reset",actionElement:"IconButtonAction"},consumableFilterWater:{state:".consumable.water_filter",action:".consumable.water_filter_reset",actionElement:"IconButtonAction"},controlSoundVolume:{state:".control.sound_volume",action:".control.sound_volume",actionElement:"InputAction"},controlModeCarpet:{action:".control.carpet_mode",actionElement:"IconButtonAction"},controlFind:{action:".control.find",actionElement:"IconButtonAction"},controlHome:{action:".control.home",actionElement:"IconButtonAction"},controlPause:{action:".control.pause",actionElement:"IconButtonAction"},cleanRoomResume:{action:".control.resumeRoomClean",actionElement:"IconButtonAction"},cleanZoneResume:{action:".control.resumeZoneClean",actionElement:"IconButtonAction"},cleanSpot:{action:".control.spotclean",actionElement:"IconButtonAction"},cleanZone:{action:".control.zoneClean",actionElement:"InputAction"},clean:{action:".control.clean",actionElement:"IconButtonAction"},controlFan:{state:".control.fan_power",action:".control.fan_power",display:{101:"QUIET",102:"BALANCED",103:"TURBO",104:"MAXIMUM",105:"MOP",106:"CUSTOM"}},historyTableJson:{state:".history.allTableJSON"},cleanedTotalArea:{state:".history.total_area"},cleanedTotalCleanups:{state:".history.total_cleanups"},cleanedTotalTime:{state:".history.total_time"},cleanedMissionArea:{state:".info.cleanedarea"},cleanedMissionTime:{state:".info.cleanedtime"},battery:{state:".info.battery"},doNotDisturb:{state:".info.dnd"},error:{state:".info.error"},timer:{state:".info.nextTimer"},state:{state:".info.state"},waterBox:{state:".info.water_box"},map:{state:".cleanmap.map64",action:".cleanmap.loadMap"},cleanQueue:{state:".info.queue",action:".control.clearQueue"},firmware:{state:".deviceInfo.fw_ver"},mac:{state:".deviceInfo.mac"},model:{state:".deviceInfo.model"},wifi_signal:{state:".deviceInfo.wifi_signal"}};function root$c(t,r){return new Promise(o=>{const a=Connection.getConnection,u=Object.keys(t),d=[];for(let g=0;g<99&&u.indexOf(namespace$f+"."+g+".deviceInfo.model")!==-1;g++)d.push(new Promise((v,y)=>{a.getState(namespace$f+"."+g+".deviceInfo.model").then(A=>{const b={id:(A&&A.val.toLowerCase().replace(/ /g,""))+"_"+uuidv5(namespace$f+"."+g,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:A&&A.val,function:"vacuum",room:getRoom(deviceStructure),states:_default(STATE_MAPPING$7)},_=u.filter(S=>S.startsWith(namespace$f+"."+g+".rooms")&&(S.endsWith("roomClean")||S.endsWith("state"))),w={};_.forEach(S=>{const[C]=S.replace(namespace$f+"."+g+".rooms.","").split(".");w[C]={...w[C]||{},[S.indexOf(".state")>-1?"state":"action"]:S.replace(namespace$f+"."+g,"")}}),b.states={...b.states,...w},b.states=validateStates(b.states,{objects:t,list:u,root:namespace$f+"."+g}),v(b)}).catch(A=>{console.error(A),y(A)})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})}var __glob_4_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:mihomeVacuum,namespace:namespace$f,deviceObjectType:deviceObjectType$e,root:root$c},Symbol.toStringTag,{value:"Module"})),mihome="mihome";const namespace$e="mihome",deviceObjectType$d="channel",devicePattern$3="devices\\.(.*)_(.*)";function parse$d(t,r){return parseDefault(t)}var __glob_4_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:mihome,namespace:namespace$e,deviceObjectType:deviceObjectType$d,devicePattern:devicePattern$3,parse:parse$d},Symbol.toStringTag,{value:"Module"})),mqtt="MQTT";const namespace$d="mqtt",deviceObjectType$c="folder",devicePattern$2="((?!info).)*",STATE_MAPPING$6={light:{dimmer:{state:".Dimmer",action:".Dimmer"},ct:{state:".CT",action:".CT",properties:{min:153,max:500}},hue:{state:".Hue",action:".Hue"},sat:{state:".Saturation",action:".Saturation"}},other:{version:[".Version",".INFO.Version"],reachability:".alive",ip:".INFO.IPAddress",signal:".Wifi_Signal",dataReceived:".RfReceived_Data",power:{state:".POWER",action:".POWER"},powerCurrent:{state:".ENERGY_Current",unit:" A"},powerMeter:{state:".ENERGY_Power",unit:" W"},powerConsumption:{state:".ENERGY_Total",unit:" kWh"},powerConsumptionToday:{state:".ENERGY_Today",unit:" kWh"},powerConsumptionYesterday:{state:".ENERGY_Yesterday",unit:" kWh"},power1:{state:".POWER1",action:".POWER1"},power2:{state:".POWER2",action:".POWER2"},power3:{state:".POWER3",action:".POWER3"},power4:{state:".POWER4",action:".POWER4"},power5:{state:".POWER5",action:".POWER5"},power6:{state:".POWER6",action:".POWER6"},power7:{state:".POWER7",action:".POWER7"},power8:{state:".POWER8",action:".POWER8"},power9:{state:".POWER9",action:".POWER9"}}};function parse$c(t,r){return new Promise(o=>{const a=t.objects[t.root]||{};let u={name:a.common&&a.common.name||a._id||"Unknown MQTT Device Name",function:"other",room:getRoom(t),states:{..._default(STATE_MAPPING$6.other),..._default(STATE_MAPPING$6.light)}};u.states=validateStates(u.states,t),u.states.power===void 0&&u.states.dimmer===void 0?parseDefault(t,r,u).then(o):(u=detectFunction(u),o(u))})}var __glob_4_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:mqtt,namespace:namespace$d,deviceObjectType:deviceObjectType$c,devicePattern:devicePattern$2,parse:parse$c},Symbol.toStringTag,{value:"Module"})),nukiExtended="nuki-extended";const namespace$c="nuki-extended",deviceObjectType$b="channel",devicePattern$1="(openers|smartlocks)+\\.([^.]+\\w+)",STATE_MAPPING$5={openers:{door:{state:".state.doorState"},ring:{state:".state.ringState"},ringUpdate:{state:".state.ringStateUpdate"},state:{state:".state.lockState",display:{0:"UNTRAINED",1:"ONLINE",3:"RING_TO_OPEN",5:"OPEN",7:"OPENING",253:"BOOT_RUN",255:"UNDEFINED"}},lowbattery:{state:".state.batteryCritical"},ACTIONS:{action:"._ACTION",display:{0:"NO_ACTION",1:"ACTIVE RTO",2:"DEACTIVATE RTO",3:"ELECTRIC STRIKE ACTUATION",4:"ACTIVATE CM",5:"DEACTIVATE CM"},actionElement:"DropdownAction"},ACTIVATE_CM:{action:"._ACTION.ACTIVATE_CM",actionElement:"IconButtonAction"},ACTIVE_RTO:{action:"._ACTION.ACTIVE_RTO",actionElement:"IconButtonAction"},DEACTIVATE_CM:{action:"._ACTION.DEACTIVATE_CM",actionElement:"IconButtonAction"},DEACTIVATE_RTO:{action:"._ACTION.DEACTIVATE_RTO",actionElement:"IconButtonAction"},ELECTRIC_STRIKE_ACTUATION:{action:"._ACTION.ELECTRIC_STRIKE_ACTUATION",actionElement:"IconButtonAction"}},smartlocks:{door:{state:".state.closed"},doorState:{state:".state.doorState",display:{0:"UNAVAILABLE",1:"DEACTIVATED",2:"DOOR_CLOSED",3:"DOOR_OPENED",4:"DOOR_STATE_UNKNOWN",5:"CALIBRATING"}},lock:{state:".state.locked"},lockState:{state:".state.lockState",display:{0:"UNCALIBRATED",1:"LOCKED",2:"UNLOCKING",3:"UNLOCKED",4:"LOCKING",5:"UNLATCHED",6:"UNLOCKED_LOCK_N_GO",7:"UNLATCHING",254:"MOTOR_BLOCKED",255:"UNDEFINED"}},lockUpdate:{state:".state.lastStateUpdate"},lowbattery:{state:".state.batteryCritical"},ACTIONS:{action:"._ACTION",display:{0:"NO_ACTION",1:"UNLOCK",2:"LOCK",3:"UNLATCH",4:"LOCK_N_GO",5:"LOCK_N_GO_WITH_UNLATCH"},actionElement:"DropdownAction"},LOCK:{action:"._ACTION.LOCK",actionElement:"IconButtonAction"},LOCK_N_GO:{action:"._ACTION.LOCK_N_GO",actionElement:"IconButtonAction"},LOCK_N_GO_WITH_UNLATCH:{action:"._ACTION.LOCK_N_GO_WITH_UNLATCH",actionElement:"IconButtonAction"},UNLATCH:{action:"._ACTION.UNLATCH",actionElement:"IconButtonAction"},UNLOCK:{action:"._ACTION.UNLOCK",actionElement:"IconButtonAction"}}};function parse$b(t,r){return new Promise((o,a)=>{const u=t.states[t.root+".type"];if(u){const d=t.states[t.root+".name"],g={name:d&&d.val||t.root,function:"door",room:getRoom(t),states:_default(STATE_MAPPING$5[u.val===0?"smartlocks":"openers"])};return g.states=validateStates(g.states,t),o(g)}return a(new Error("Nuki has no type"))})}var __glob_4_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:nukiExtended,namespace:namespace$c,deviceObjectType:deviceObjectType$b,devicePattern:devicePattern$1,parse:parse$b},Symbol.toStringTag,{value:"Module"})),roborock="roborock";const namespace$b="roborock",STATE_MAPPING$4={cleaningInfoTotalTime:{state:".cleaningInfo.0"},cleaningInfoTotalArea:{state:".cleaningInfo.1"},cleaningInfoCycles:{state:".cleaningInfo.2"},cleaningInfoRecords:{state:".cleaningInfo.3"},cleaningInfoJson:{state:".cleaningInfo.JSON"},commandAppCharge:{state:".commands.app_charge",action:".commands.app_charge",actionElement:"IconButtonAction"},commandAppGoToTarget:{state:".commands.app_goto_target",action:".commands.app_goto_target",actionElement:"InputAction"},commandAppPause:{state:".commands.app_pause",action:".commands.app_pause",actionElement:"IconButtonAction"},commandAppSegmentClean:{state:".commands.app_segment_clean",action:".commands.app_segment_clean",actionElement:"IconButtonAction"},commandAppSpot:{state:".commands.app_spot",action:".commands.app_spot",actionElement:"IconButtonAction"},commandAppStart:{state:".commands.app_start",action:".commands.app_start",actionElement:"IconButtonAction"},commandAppStop:{state:".commands.app_stop",action:".commands.app_stop",actionElement:"IconButtonAction"},commandAppZonedClean:{state:".commands.app_zoned_clean",action:".commands.app_zoned_clean",actionElement:"InputAction"},commandFindMe:{state:".commands.find_me",action:".commands.find_me",actionElement:"IconButtonAction"},commandResumeSegmentClean:{state:".commands.resume_segment_clean",action:".commands.resume_segment_clean",actionElement:"IconButtonAction"},commandResumeZonedClean:{state:".commands.resume_zoned_clean",action:".commands.resume_zoned_clean",actionElement:"IconButtonAction"},commandStopZonedClean:{state:".commands.stop_zoned_clean",action:".commands.stop_zoned_clean",actionElement:"IconButtonAction"},commandSetCustomMode:{state:".commands.set_custom_mode",action:".commands.set_custom_mode",actionElement:"DropdownAction",display:{101:"Quiet",102:"Balanced",103:"Turbo",104:"Max",105:"Off"}},commandSetMopMode:{state:".commands.set_mop_mode",action:".commands.set_mop_mode",actionElement:"DropdownAction",display:{300:"Standard",301:"Deep",303:"Deep+"}},consumableDustCollectionWorkTimes:{state:".consumables.dust_collection_work_times",action:".reset_consumables.dust_collection_work_times",actionElement:"IconButtonAction"},consumableFilterElementWorkTime:{state:".consumables.filter_element_work_time",action:".reset_consumables.filter_element_work_time",actionElement:"IconButtonAction"},consumableFilterLife:{state:".consumables.filter_life"},consumableFilterWorkTime:{state:".consumables.filter_work_time",action:".reset_consumables.filter_work_time",actionElement:"IconButtonAction"},consumableMainBrushLife:{state:".consumables.main_brush_life"},consumableMainBrushWorkTime:{state:".consumables.main_brush_work_time",action:".reset_consumables.main_brush_work_time",actionElement:"IconButtonAction"},consumableSideBrushLife:{state:".consumables.side_brush_life"},consumableSideBrushWorkTime:{state:".consumables.side_brush_work_time",action:".reset_consumables.side_brush_work_time",actionElement:"IconButtonAction"},consumableSensorDirtyTime:{state:".consumables.sensor_dirty_time",action:".reset_consumables.sensor_dirty_time",actionElement:"IconButtonAction"},deviceInfoActiveTime:{state:".deviceInfo.activeTime"},deviceInfoFirmwareUpdate:{state:".deviceInfo.f"},deviceInfoFirmwareVersion:{state:".deviceInfo.fv"},deviceInfoName:{state:".deviceInfo.name"},deviceInfoOnline:{state:".deviceInfo.online"},deviceStatusAdbumper:{state:".deviceStatus.adbumper_status"},deviceStatusDockError:{state:".deviceStatus.dock_error_status"},deviceStatusDustCollectionAuto:{state:".deviceStatus.auto_dust_collection"},deviceStatusDustCollectionStatus:{state:".deviceStatus.dust_collection_status"},deviceStatusBattery:{state:".deviceStatus.battery",unit:"%"},deviceStatusCarpetMode:{state:".deviceStatus.carpet_mode"},deviceStatusCleanArea:{state:".deviceStatus.clean_area",unit:" m\xB2"},deviceStatusCleanTime:{state:".deviceStatus.clean_time",unit:" min"},deviceStatusDebugMode:{state:".deviceStatus.debug_mode"},deviceStatusDnD:{state:".deviceStatus.dnd_enabled"},deviceStatusDockType:{state:".deviceStatus.dock_type"},deviceStatusErrorCode:{state:".deviceStatus.error_code",display:{0:"No error",1:"Laser sensor fault",2:"Collision sensor fault",3:"Wheel floating",4:"Cliff sensor fault",5:"Main brush blocked",6:"Side brush blocked",7:"Wheel blocked",8:"Device stuck",9:"Dust bin missing",10:"Filter blocked",11:"Magnetic field detected",12:"Low battery",13:"Charging problem",14:"Battery failure",15:"Wall sensor fault",16:"Uneven surface",17:"Side brush failure",18:"Suction fan failure",19:"Unpowered charging station",20:"Unknown Error",21:"Laser pressure sensor problem",22:"Charge sensor problem",23:"Dock problem",24:"No-go zone or invisible wall detected",254:"Bin full",255:"Internal error","-1":"Unknown Error"}},deviceStatusFanPower:{state:".deviceStatus.fan_power",display:{101:"Quiet",102:"Balanced",103:"Turbo",104:"Max",105:"Off"}},deviceStatusInCleaning:{state:".deviceStatus.in_cleaning"},deviceStatusInFreshTime:{state:".deviceStatus.in_fresh_state"},deviceStatusInReturning:{state:".deviceStatus.in_returning"},deviceStatusIsExploring:{state:".deviceStatus.is_exploring"},deviceStatusIsLocating:{state:".deviceStatus.is_locating"},deviceStatusLabStatus:{state:".deviceStatus.lab_status"},deviceStatusLockStatus:{state:".deviceStatus.lock_status"},deviceStatusMapPresent:{state:".deviceStatus.map_present"},deviceStatusMapStatus:{state:".deviceStatus.map_status"},deviceStatusMopForbbiden:{state:".deviceStatus.mop_forbidden_enable"},deviceStatusMopMode:{state:".deviceStatus.mop_mode"},deviceStatusState:{state:".deviceStatus.state",display:{0:"Unknown",1:"Initiating",2:"Sleeping",3:"Idle",4:"Remote Control",5:"Cleaning",6:"Returning Dock",7:"Manual Mode",8:"Charging",9:"Charging Error",10:"Paused",11:"Spot Cleaning",12:"In Error",13:"Shutting Down",14:"Updating",15:"Docking",16:"Go To",17:"Zone Clean",18:"Room Clean",22:"Empying dust container",23:"Washing the mop",26:"Going to wash the mop",28:"In call",29:"Mapping",100:"Fully Charged"}},deviceStatusBoxCarriage:{state:".deviceStatus.water_box_carriage_status"},deviceStatusBoxMode:{state:".deviceStatus.water_box_mode"},deviceStatusBoxStatus:{state:".deviceStatus.water_box_status"},deviceStatusWaterShortage:{state:".deviceStatus.water_shortage_status"},map:{state:".map.mapBase64"}};function parse$a(t,r){return new Promise(o=>{const a={name:t.objects[t.root].common.name,function:"vacuum",room:getRoom(t),states:_default(STATE_MAPPING$4)};a.states=validateStates(a.states,t),o(a)})}var __glob_4_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:roborock,namespace:namespace$b,parse:parse$a},Symbol.toStringTag,{value:"Module"})),rpi2="rpi2";const namespace$a="rpi2",deviceObjectType$a="state";function root$b(t,r){return new Promise(o=>{const a=Object.values(t).map(d=>d.id),u={};for(let d=0;d<99&&a.indexOf(namespace$a+"."+d+".cpu.load1")!==-1;d++)u[namespace$a+"."+d]=u[namespace$a+"."+d]||{id:(namespace$a+"."+d).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$a+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$a+"."+d,function:"server",room:getRoom(deviceStructure),states:{}},a.forEach(g=>{const v=g.replace(namespace$a+"."+d+".","").replace(/\./g,"-");u[namespace$a+"."+d].states[v]={state:g}});o(Object.values(u))})}var __glob_4_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:rpi2,namespace:namespace$a,deviceObjectType:deviceObjectType$a,root:root$b},Symbol.toStringTag,{value:"Module"})),shelly="Shelly";const namespace$9="shelly",deviceObjectType$9="device",BlindLevelActivity={open:!0,close:!0,stop:!1},STATE_MAPPING$3={socket:{power:{state:".Relay0.Switch",action:".Relay0.Switch",actionElement:"SwitchAction"},powerCounter:{state:".Relay0.Energy",unit:" Wh"},powerMeter:{state:".Relay0.Power",unit:" W"}},blind:{level:{state:".Shutter.Position",action:".Shutter.Position"},activity:{state:".Shutter.state"},stop:{action:".Shutter.Pause"}},light:{power:[{state:".lights.Switch",action:".lights.Switch",actionElement:"SwitchAction"},{state:".white0.Switch",action:".white0.Switch",actionElement:"SwitchAction"}],powerCh1:{state:".white1.Switch",action:".white1.Switch",actionElement:"SwitchAction"},powerCh2:{state:".white2.Switch",action:".white2.Switch",actionElement:"SwitchAction"},powerCh3:{state:".white3.Switch",action:".white3.Switch",actionElement:"SwitchAction"},colorTemperature:{state:".lights.white",action:".lights.white",actionElement:"LevelBody",properties:{min:0,max:100}},level:[{state:".lights.brightness",action:".lights.brightness"},{state:".white0.brightness",action:".white0.brightness"}],levelCh1:{state:".white1.brightness",action:".white1.brightness"},levelCh2:{state:".white2.brightness",action:".white2.brightness"},levelCh3:{state:".white3.brightness",action:".white3.brightness"},hex:{state:".lights.rgbw",action:".lights.rgbw"},hue:{state:".lights.hue",action:".lights.hue"},powerMeter:[{state:".Relay0.Power",unit:" W"},{state:".lights.Power",unit:" W"},{state:".white0.Power",unit:" W"},{state:".Emeter0.Power",unit:" W"}],powerMeterCh1:[{state:".Relay1.Power",unit:" W"},{state:".white1.Power",unit:" W"},{state:".Emeter1.Power",unit:" W"}],powerMeterCh2:[{state:".Relay2.Power",unit:" W"},{state:".white2.Power",unit:" W"},{state:".Emeter2.Power",unit:" W"}],powerMeterCh3:[{state:".Relay3.Power",unit:" W"},{state:".white3.Power",unit:" W"}],powerCounter:[{state:".Relay0.Energy",unit:" Wh"},{state:".lights.Energy",unit:" Wh"},{state:".white0.Energy",unit:" Wh"},{state:".Emeter0.Total",unit:" Wh"}],powerCounterCh1:[{state:".Relay1.Energy",unit:" Wh"},{state:".white1.Energy",unit:" Wh"},{state:".Emeter1.Total",unit:" Wh"}],powerCounterCh2:[{state:".Relay2.Energy",unit:" Wh"},{state:".white2.Energy",unit:" Wh"},{state:".Emeter2.Total",unit:" Wh"}],powerCounterCh3:[{state:".Relay3.Energy",unit:" Wh"},{state:".white3.Energy",unit:" Wh"}],powerCurrent:{state:".Emeter0.Current",unit:" A"},powerCurrentCh1:{state:".Emeter1.Current",unit:" A"},powerCurrentCh2:{state:".Emeter2.Current",unit:" A"},powerVoltage:{state:".Emeter0.Voltage",unit:" V"},powerVoltageCh1:{state:".Emeter1.Voltage",unit:" V"},powerVoltageCh2:{state:".Emeter2.Voltage",unit:" V"},powerCounterReturned:{state:".Emeter0.Total_Returned",unit:" Wh"},powerCounterReturnedCh1:{state:".Emeter1.Total_Returned",unit:" Wh"},powerCounterReturnedCh2:{state:".Emeter2.Total_Returned",unit:" Wh"},powerTotalCurrent:{state:".Total.Current",unit:" A"},powerTotalConsumed:{state:".Total.ConsumedPower",unit:" Wh"},powerTotalInstant:{state:".Total.InstantPower",unit:" W"},powerTotalVoltage:{state:".Total.Voltage",unit:" V"},powerTotalVoltageMean:{state:".Total.VoltageMean",unit:" V"}},switch:{input:{state:".Relay0.Input"},inputCh2:{state:".Relay1.Input"},inputCh3:{state:".Relay2.Input"},event:{state:".Relay0.Event"},eventCh2:{state:".Relay1.Event"},eventCh3:{state:".Relay2.Event"},eventCount:{state:".Relay0.EventCount"},eventCountCh2:{state:".Relay1.EventCount"},eventCountCh3:{state:".Relay2.EventCount"}},sensor:{battery:[{state:".sensor.battery"},{state:".bat.value"}],humidity:{state:".hum.value"},flood:{state:".sensor.flood"},door:{state:".sensor.door"},illumination:{state:".sensor.lux"},tilt:{state:".sensor.tilt"},vibration:{state:".sensor.vibration"},temperature:[{state:".sensor.temperatureC"},{state:".tmp.temperatureC"}]}},buttonType={momentary:"momentary",toggle:"toggle",edge:"edge",detached:"detached",action:"action",cycle:"cycle",momentary_on_release:"momentary_on_release"},inputMode={momentary:"momentary",follow:"follow",flip:"flip",detached:"detached"},initialState={on:"on",off:"off",restore_last:"restore_last",match_input:"match_input"};function parse$9(t,r){return new Promise(o=>{let u={name:t.states[t.root+".name"]&&t.states[t.root+".name"].val||t.objects[t.root].common.name,function:"socket",room:getRoom(t),states:{..._default(STATE_MAPPING$3.socket),firmware:{state:".firmware",action:".firmwareupdate",actionElement:"IconButtonAction"},ip:".hostname",temperature:".temperatureC",version:".version",reachability:".online",cloudEnabled:".Cloud.enabled",apEnabled:".WiFi.apEnabled",buttonTypeRelay0:{state:".Relay0.ButtonType",action:".Relay0.ButtonType",actionElement:"DropdownAction",display:buttonType},buttonTypeRelay1:{state:".Relay1.ButtonType",action:".Relay1.ButtonType",actionElement:"DropdownAction",display:buttonType},initialStateRelay0:{state:".Relay0.InitialState",action:".Relay0.InitialState",actionElement:"DropdownAction",display:initialState},initialStateRelay1:{state:".Relay1.InitialState",action:".Relay1.InitialState",actionElement:"DropdownAction",display:initialState},inputModeRelay0:{state:".Relay0.InputMode",action:".Relay0.InputMode",actionElement:"DropdownAction",display:inputMode},inputModeRelay1:{state:".Relay1.InputMode",action:".Relay1.InputMode",actionElement:"DropdownAction",display:inputMode}}};t.root.indexOf("SHSW-1")>-1||t.root.indexOf("SHSW-L")>-1||t.root.indexOf("SHSW-PM")>-1||t.root.indexOf("SHPLG")>-1||t.root.indexOf("SHPLG2")>-1?u.states={...u.states}:t.root.indexOf("SHIX3-")>-1?u.states={..._default(STATE_MAPPING$3.switch),...u.states}:t.root.indexOf("SHSW-2")>-1?t.states[t.root+".Sys.deviceMode"]&&t.states[t.root+".Sys.deviceMode"].val==="roller"||t.states[t.root+".mode"]&&t.states[t.root+".mode"].val==="roller"?(delete u.states.power,delete u.states.buttonTypeRelay0,delete u.states.buttonTypeRelay1,delete u.states.initialStaateRelay0,delete u.states.initialStaateRelay1,delete u.states.inputModeRelay0,delete u.states.inputModeRelay1,u.function="blind",u.states={..._default(STATE_MAPPING$3.blind),...u.states,buttonType:{state:".Shutter.ButtonType",action:".Shutter.ButtonType",actionElement:"DropdownAction",display:buttonType}}):u.states={...u.states,Relay0:{state:".Relay0.Switch",action:".Relay0.Switch",actionElement:"SwitchAction"},Relay1:{state:".Relay1.Switch",action:".Relay1.Switch",actionElement:"SwitchAction"}}:t.root.indexOf("SHDM-")>-1||t.root.indexOf("SHRGBW")>-1||t.root.indexOf("SHBDUO")>-1?(u.function="light",u.states={...u.states,..._default(STATE_MAPPING$3.light)}):(t.root.indexOf("SHWT-")>-1||t.root.indexOf("SHDW-")>-1||t.root.indexOf("SHHT-")>-1)&&(u.function=t.root.indexOf("SHDW-")>-1?"door":"sensor",u.states={...u.states,..._default(STATE_MAPPING$3.sensor)}),u.states=validateStates(u.states,t),u=detectFunction(u),o(u)})}var __glob_4_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:shelly,namespace:namespace$9,deviceObjectType:deviceObjectType$9,BlindLevelActivity,parse:parse$9},Symbol.toStringTag,{value:"Module"})),sonoff="Sonoff";const namespace$8="sonoff",deviceObjectType$8="channel",devicePattern="((?!info).)*";var __glob_4_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:sonoff,namespace:namespace$8,deviceObjectType:deviceObjectType$8,devicePattern,parse:parse$c},Symbol.toStringTag,{value:"Module"})),tr064="tr-064";const namespace$7="tr-064",deviceObjectType$7="state",STATE_MAPPING$2={calllists:{allCount:{state:".all.count"},allHTML:{state:".all.html"},allJson:{state:".all.json"},inboundCount:{state:".inbound.count"},inboundHTML:{state:".inbound.html"},inboundJson:{state:".inbound.json"},missedCount:{state:".missed.count"},missedHTML:{state:".missed.html"},missedJson:{state:".missed.json"},outboundCount:{state:".outbound.count"},outboundHTML:{state:".outbound.html"},outboundJson:{state:".outbound.json"}},phonebook:{image:{state:".image"},name:{state:".name"},number:{state:".number"}},states:{ab:{state:".ab"},ip:{state:".externalIP"},ipv6:{state:".externalIPv6"},reboot:{action:".reboot",actionElement:"IconButtonAction"},reconnect:{action:".reconnectInternet",actionElement:"IconButtonAction"},wlan24:{state:".wlan24"},wlan50:{state:".wlan50"}}};function root$a(t,r){return new Promise(o=>{const a=Object.keys(t),u={};for(let d=0;d<99&&a.indexOf(namespace$7+"."+d+".states.externalIP")!==-1;d++){for(const g in STATE_MAPPING$2){u[g+"."+d]=u[g+"."+d]||{id:(namespace$7+"."+d+"-"+g).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$7+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$7+"."+d+" "+g,function:"other",room:"",states:{}};for(const v in STATE_MAPPING$2[g]){const y=_default(STATE_MAPPING$2[g][v]);(a.indexOf(namespace$7+"."+d+"."+g+y.state)>-1||a.indexOf(namespace$7+"."+d+"."+g+y.action)>-1)&&(y.state=y.state&&"."+g+y.state,y.action=y.action&&"."+g+y.action,u[g+"."+d].states[v]=y,u[g+"."+d].room=getRoom(namespace$7+"."+d+"."+g+y.state))}}for(const g of a)if(g.indexOf(namespace$7+"."+d+".devices.")>-1){let v=g.replace(namespace$7+"."+d+".devices.","");v=v.substr(0,v.indexOf("."));const y=v.toLowerCase().replace(/ /g,""),A=g.substr(g.lastIndexOf(".")+1);v&&A!=="lastActive-ts"&&A!=="lastInactive-ts"&&(u[y+"."+d]=u[y+"."+d]||{id:y+"_"+uuidv5(namespace$7+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:v,function:"other",states:{}},u[y+"."+d].states={...u[y+"."+d].states,[A]:g.replace(namespace$7+"."+d,"")})}}for(const d in u){const[,g]=d.split(".");u[d].states=validateStates(u[d].states,{objects:t,list:a,root:namespace$7+"."+g})}o(Object.values(u))})}var __glob_4_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:tr064,namespace:namespace$7,deviceObjectType:deviceObjectType$7,root:root$a},Symbol.toStringTag,{value:"Module"})),unifi="UniFi";const namespace$6="unifi",deviceObjectType$6="state",STATE_MAPPING$1={health:{"lan.lan_ip":{state:".lan.lan_ip"},"lan.num_guest":{state:".lan.num_guest"},"lan.num_iot":{state:".lan.num_iot"},"lan.num_user":{state:".lan.num_user"},"lan.rx_bytes":{state:".lan.rx_bytes-r"},"lan.status":{state:".lan.status"},"lan.subsystem":{state:".lan.subsystem"},"lan.tx_bytes":{state:".lan.tx_bytes-r"},"vpn.status":{state:".vpn.status"},"vpn.subsystem":{state:".vpn.subsystem"},"wan.wan_ip":{state:".wan.wan_ip"},"wan.rx_bytes":{state:".wan.rx_bytes-r"},"wan.status":{state:".wan.status"},"wan.subsystem":{state:".wan.subsystem"},"wan.tx_bytes":{state:".wan.tx_bytes-r"},"wlan.num_guest":{state:".wlan.num_guest"},"wlan.num_iot":{state:".wlan.num_iot"},"wlan.num_user":{state:".wlan.num_user"},"wlan.rx_bytes":{state:".wlan.rx_bytes-r"},"wlan.status":{state:".wlan.status"},"wlan.subsystem":{state:".wlan.subsystem"},"wlan.tx_bytes":{state:".wlan.tx_bytes-r"},"www.latency":{state:".www.latency"},"www.rx_bytes":{state:".www.rx_bytes-r"},"www.status":{state:".www.status"},"www.subsystem":{state:".www.subsystem"},"www.tx_bytes":{state:".www.tx_bytes-r"},"www.uptime":{state:".www.uptime"},"www.xput_down":{state:".www.xput_down"},"www.xput_up":{state:".www.xput_up"},"www.speedtest.lastrun":{state:".www.speedtest.lastrun"},"www.speedtest.ping":{state:".www.speedtest.ping"},"www.speedtest.status":{state:".www.speedtest.status"}},sysinfo:{update_available:{state:".update_available"},version:{state:".version"}}};function root$9(t,r){return new Promise(o=>{const a=Object.keys(t),u={};for(let d=0;d<99&&a.indexOf(namespace$6+"."+d+".info.connection")!==-1;d++){u[namespace$6+"."+d]=u[namespace$6+"."+d]||{id:(namespace$6+"."+d).toLowerCase().replace(/ /g,"")+"_"+uuidv5(namespace$6+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:namespace$6+"."+d,function:"other",room:getRoom(deviceStructure),states:{}};for(const g in STATE_MAPPING$1)for(const v in STATE_MAPPING$1[g]){const y=_default(STATE_MAPPING$1[g][v]);a.indexOf(namespace$6+"."+d+".default."+g+y.state)>-1&&(y.state=".default."+g+y.state,u[namespace$6+"."+d].states[g+"-"+v]=y)}for(const g of a)["devices","clients"].forEach(v=>{if(g.indexOf(namespace$6+"."+d+".default."+v+".")>-1){const y=g.replace(namespace$6+"."+d+".default."+v+".","");let A=y.substr(0,y.indexOf("."));const b=t[namespace$6+"."+d+".default."+v+"."+A];A=b&&b.common&&b.common.name||A;const _=A.toLowerCase().replace(/ /g,""),w=y.substr(y.indexOf(".")+1);A&&(u[_+"."+d]=u[_+"."+d]||{id:_+"_"+uuidv5(namespace$6+"."+d,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5),name:A,function:"other",states:{}},u[_+"."+d].states={...u[_+"."+d].states,[w]:g.replace(namespace$6+"."+d,"")})}})}for(const d in u){const[,g]=d.split(".");u[d].states=validateStates(u[d].states,{objects:t,list:a,root:namespace$6+"."+g})}o(Object.values(u))})}var __glob_4_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:unifi,namespace:namespace$6,deviceObjectType:deviceObjectType$6,root:root$9},Symbol.toStringTag,{value:"Module"})),wifilight="Wifilight";const namespace$5="wifilight",deviceObjectType$5="device";function parse$8(t,r){return parseDefault(t)}var __glob_4_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wifilight,namespace:namespace$5,deviceObjectType:deviceObjectType$5,parse:parse$8},Symbol.toStringTag,{value:"Module"})),wolf="WOLF (ISM8i)";const namespace$4="wolf",deviceObjectType$4="channel";function parse$7(t,r){return parseDefault(t)}var __glob_4_23=Object.freeze(Object.defineProperty({__proto__:null,default:wolf,namespace:namespace$4,deviceObjectType:deviceObjectType$4,parse:parse$7},Symbol.toStringTag,{value:"Module"})),yeelight2="Yeelight 2";const namespace$3="yeelight-2",deviceObjectType$3="device";function parse$6(t,r){return parseDefault(t)}var __glob_4_24=Object.freeze(Object.defineProperty({__proto__:null,default:yeelight2,namespace:namespace$3,deviceObjectType:deviceObjectType$3,parse:parse$6},Symbol.toStringTag,{value:"Module"})),zigbee="Zigbee";const namespace$2="zigbee",deviceObjectType$2="device";function parse$5(t,r){return parseDefault(t)}var __glob_4_25=Object.freeze(Object.defineProperty({__proto__:null,default:zigbee,namespace:namespace$2,deviceObjectType:deviceObjectType$2,parse:parse$5},Symbol.toStringTag,{value:"Module"})),zigbee2mqtt="Zigbee2MQTT";const namespace$1="zigbee2mqtt",deviceObjectType$1="device";function parse$4(t,r){return parseDefault(t)}var __glob_4_26=Object.freeze(Object.defineProperty({__proto__:null,default:zigbee2mqtt,namespace:namespace$1,deviceObjectType:deviceObjectType$1,parse:parse$4},Symbol.toStringTag,{value:"Module"})),zwave2="Z-Wave 2";const namespace="zwave2",deviceObjectType="device",STATE_MAPPING={thermostat:{valve:{state:".Multilevel_Switch.currentValue",unit:"%",icon:"rotate-right"},mode:{state:".Thermostat_Mode.mode",action:".Thermostat_Mode.mode",icon:{0:"radiator-off",1:"radiator",11:"radiator-disabled",15:"radiator"}},setTemperatureEnergySave:{state:".Thermostat_Setpoint.setpoint_energySaveHeating",action:".Thermostat_Setpoint.setpoint_energySaveHeating",unit:"\xB0C",icon:"radiator-disabled"},temperature:{state:".Multilevel_Sensor.airTemperature"},setTemperature:{state:".Thermostat_Setpoint.setpoint_heating",action:".Thermostat_Setpoint.setpoint_heating"}}};function parse$3(t,r){return new Promise(o=>{const a=t.objects[t.root],u={name:a.common.name,function:"other",room:getRoom(t),states:{reachability:".alive",battery:".Battery.level",firmware:".Version.firmwareVersions"}};if(a.native.type&&a.native.type.generic&&STATE_MAPPING[a.native.type.generic.toLowerCase()]!==void 0){const d={thermostat:"heating"};u.function=d[a.native.type.generic.toLowerCase()],u.states={...u.states,..._default(STATE_MAPPING[a.native.type.generic.toLowerCase()])},u.states=validateStates(u.states,t),o(u)}else parseDefault(t,r,u).then(o)})}var __glob_4_27=Object.freeze(Object.defineProperty({__proto__:null,default:zwave2,namespace,deviceObjectType,parse:parse$3},Symbol.toStringTag,{value:"Module"}));const adapterList={"./adapters/alias.js":__glob_4_0,"./adapters/ble.js":__glob_4_1$1,"./adapters/daswetter.js":__glob_4_2$1,"./adapters/deconz.js":__glob_4_3$1,"./adapters/hm-rpc.js":__glob_4_4$1,"./adapters/hmip.js":__glob_4_5$1,"./adapters/hue-extended.js":__glob_4_6$1,"./adapters/hue.js":__glob_4_7$1,"./adapters/innogy-smarthome.js":__glob_4_8$1,"./adapters/knx.js":__glob_4_9$1,"./adapters/lifx.js":__glob_4_10$1,"./adapters/linkeddevices.js":__glob_4_11$1,"./adapters/mihome-vacuum.js":__glob_4_12$1,"./adapters/mihome.js":__glob_4_13$1,"./adapters/mqtt.js":__glob_4_14$1,"./adapters/nuki-extended.js":__glob_4_15$1,"./adapters/roborock.js":__glob_4_16$1,"./adapters/rpi2.js":__glob_4_17$1,"./adapters/shelly.js":__glob_4_18$1,"./adapters/sonoff.js":__glob_4_19$1,"./adapters/tr-064.js":__glob_4_20$1,"./adapters/unifi.js":__glob_4_21$1,"./adapters/wifilight.js":__glob_4_22$1,"./adapters/wolf.js":__glob_4_23,"./adapters/yeelight-2.js":__glob_4_24,"./adapters/zigbee.js":__glob_4_25,"./adapters/zigbee2mqtt.js":__glob_4_26,"./adapters/zwave2.js":__glob_4_27},adapters={};for(const t in adapterList)adapters[t.substr(t.lastIndexOf("/")+1).replace(".js","")]=adapterList[t];function detectFunction(t){try{t.function=_detectFunction([{label:t.name,points:5}].concat(Object.keys(t.states||{})),t)}catch(r){console.error(r)}return t}function _detectFunction(t,r){const o={};for(const a of Object.keys(Functions.Configurations)){const u=(i18n.global.t("keywords#"+a)+","+i18n.global.t("keywords#"+a,"de")+","+i18n.global.t("keywords#"+a,"en")).replace(/, /g,",").split(",");o[a]=0,t.forEach(d=>{d={label:d.label||d,points:d.points||3},d.label=d.label[locale]||d.label.en||d.label,d.label&&typeof d.label=="string"&&u.forEach((g,v)=>{g&&d.label.toLowerCase().indexOf(g.toLowerCase())!==-1&&(o[a]+=d.points+u.length-v)})}),o[a]===0&&delete o[a]}return Object.keys(o).length>0?Object.keys(sortObjectByValue(o)).pop():"other"}function detectStateElements(t,r){const o=typeof t!="string"?t:{state:t},a=r.objects[o.action||o.state];if(o.label=a&&a.common&&a.common.name||"",a&&a.common&&a.common.write!==!1){const u=a.common.role||"";o.action=o.action||o.state,o.actionElement||(u.indexOf("switch")>-1?o.actionElement="SwitchAction":u.indexOf("button")>-1?o.actionElement="IconButtonAction":a.common.states!==void 0&&a.common.states!==null?(o.actionElement="DropdownAction",o.display=a.common.states):a.common.type==="boolean"||a.common.min===!0||a.common.min===!1?o.actionElement="SwitchAction":o.actionElement="InputAction"),o.state&&(o.state.indexOf(".rgb")>-1||o.state.indexOf(".hex")>-1||o.state.indexOf(".hsv")>-1)?(o.bodyElement="LightColorBody",o.actionElement=""):o.state&&o.state.indexOf(".hue")>-1?(o.bodyElement="LightHueBody",o.actionElement=""):(o.state&&(o.state.indexOf(".level")>-1||o.state.indexOf(".bri")>-1||o.state.indexOf(".dimmer")>-1)||o.state&&(o.state.indexOf(".ct")>-1||o.state.indexOf(".colorTemp")>-1))&&(o.bodyElement="LevelBody",o.actionElement="")}return o}function getRoom(t){const r=useIoBroker();return r.roomList[t.root]!==void 0&&r.roomList[t.root].length>0?r.roomList[t.root][0]:""}const BLACKLIST=["r","g","b","w"];function parseDefault(t,r,o={}){const a=t.objects[t.root]||{};return o={name:a.common&&a.common.name||a._id||"Unknown Device Name",function:a.role||"other",room:getRoom(t),states:{},...o},new Promise(u=>{t.list.forEach(d=>{const g=d.substr(d.lastIndexOf(".")+1);BLACKLIST.indexOf(g)===-1&&(o.states[g]=detectStateElements(d,t))}),o.states!==null&&(o=detectFunction(o)),o.states=validateStates(o.states,t),u(o)})}function detectStates(t,r){return Object.keys(t).forEach(o=>{const a=Array.isArray(t[o])?t[o]:[t[o]];for(let u of a)if(u=u&&typeof u=="string"?{state:u}:u,u.state&&u.state.indexOf("{n}")!==-1){let d=1;for(;r.list.includes(r.root+""+u.state.replace(/{n}/g,d));)t[o.replace(/{n}/g,d)]={...u,state:u.state.replace(/{n}/g,d),action:u.action&&u.action.replace(/{n}/g,d)},t[o.replace(/{n}/g,d)].action===void 0&&delete t[o.replace(/{n}/g,d)].action,d++}}),t}function validateStates(t,r){return Object.keys(t).forEach(o=>{const a=Array.isArray(t[o])?t[o]:[t[o]];for(let u of a){u=typeof u=="string"?{state:u}:u;const d=u.state&&u.state.replace(r.root,""),g=u.action&&u.action.replace(r.root,"");if(d&&r.list.indexOf(r.root+d)>-1||g&&r.list.indexOf(r.root+g)>-1){d&&r.list.indexOf(r.root+d)>-1&&(u.state=r.root+d),g&&r.list.indexOf(r.root+g)>-1&&(u.action=r.root+g),t[o]=detectStateElements(u,r);break}else delete t[o]}}),Object.keys(t).length===0?{}:t}var BlindLevelAction_vue_vue_type_style_index_0_lang="";const _sfc_main$1l=defineComponent({name:"BlindLevelAction",props:{componentId:{type:String,default:"BlindLevelAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],data(){return{stateVal:null,loaded:!1,error:!1}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$7),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},deviceProperties(){const{min:t,max:r,stop:o}={min:0,max:100,active:!0,stop:!0,...this.state&&this.state.properties||{}};return{up:r,down:t,stop:o}},showStopButton(){return this.componentOptions.stopAction&&this.device&&this.device.states&&this.device.states[this.componentOptions.stopAction]&&(this.device.states[this.componentOptions.stopAction].state||this.device.states[this.componentOptions.stopAction].action)}},watch:{componentOptions:{immediate:!0,deep:!0,handler:function(t){this.device&&this.device.id!=="group"?t.activityState&&t.activityState!==this.stateKey&&(this.subscriptionKeys=Devices.listen(this.device.id,t.activityState,this.gotActivityState)):this.device||(this.error="BlindLevelAction: "+this.$i18n.global.t("Device {deviceId} not found").replace("{deviceId}",this.device.id),console.warn(this.error),this.loaded=!0)}}},beforeUnmount(){this.subscriptionKeys&&Devices.unlisten(this.subscriptionKeys)},methods:{gotActivityState(t,r,o,a){if(this.loaded=!0,t||!a||!a.id&&!a.state){console.warn("BlindLevelAction","Incorrect State given",a,t),this.error=t&&t.message||"Incorrect State given";return}this.stateVal=a[this.componentOptions.val];try{const u=a.id||a.state,d=u.substr(0,u.indexOf("."));if(this.componentOptions.active!==void 0)this.stateVal=this.stateVal==this.componentOptions.active;else if(d!=="0_userdata"&&adapters[d]){const v=adapters[d].BlindLevelActivity;this.stateVal=v&&v[a.val]!==void 0?v[a.val]:a[this.componentOptions.val]}}catch(u){console.debug("BlindLevelAction",u.message,u)}},up(){this.$emit("setDevice",this.device.id,this.stateKey,this.deviceProperties.up,this.componentOptions.ack)},stop(){this.$emit("setDevice",this.device.id,this.componentOptions.stopAction,this.deviceProperties.stop,this.componentOptions.ack)},down(){this.$emit("setDevice",this.device.id,this.stateKey,this.deviceProperties.down,this.componentOptions.ack)}}}),OPTIONS$7={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},activityState:{label:i18n.global.t("config#componentOptions#BlindLevelAction#activityState#label"),info:i18n.global.t("config#componentOptions#BlindLevelAction#activityState#info"),type:"Select",options:t=>Object.keys(t.device&&t.device.states||{}).filter(r=>r!==t.stateKey).map(r=>({value:r,label:r})),value:"activity"},stopAction:{label:i18n.global.t("config#componentOptions#BlindLevelAction#stopAction#label"),info:i18n.global.t("config#componentOptions#BlindLevelAction#stopAction#info"),type:"Select",options:t=>Object.keys(t.device&&t.device.states||{}).filter(r=>r!==t.stateKey).map(r=>({value:r,label:r})),value:"stop"}};function _sfc_render$1l(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{key:t.device.revision,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QBtnGroup,{outline:"",class:"BlindLevelAction q-pl-sm"},{default:withCtx(()=>[createVNode$1(QBtn,{size:"sm",outline:"",color:"primary",icon:"mdi-chevron-up",onClick:t.up},null,8,["onClick"]),t.showStopButton?(openBlock(),createBlock(QBtn,{key:0,size:"sm",outline:"",color:t.stateVal!==!0?"grey":"negative",disabled:t.stateVal===!1,icon:"mdi-stop",onClick:t.stop},null,8,["color","disabled","onClick"])):createCommentVNode("",!0),createVNode$1(QBtn,{size:"sm",outline:"",color:"primary",icon:"mdi-chevron-down",onClick:t.down},null,8,["onClick"])]),_:1})])}var BlindLevelAction=_export_sfc$1(_sfc_main$1l,[["render",_sfc_render$1l]]),components$p={_options:{BlindLevelAction:OPTIONS$7},body:{},action:{BlindLevelAction}},__glob_4_1=Object.freeze(Object.defineProperty({__proto__:null,default:components$p},Symbol.toStringTag,{value:"Module"})),components$o={_options:{},body:{},action:{}},__glob_4_2=Object.freeze(Object.defineProperty({__proto__:null,default:components$o},Symbol.toStringTag,{value:"Module"})),components$n={_options:{},body:{},action:{}},__glob_4_3=Object.freeze(Object.defineProperty({__proto__:null,default:components$n},Symbol.toStringTag,{value:"Module"})),components$m={_options:{},body:{},action:{}},__glob_4_4=Object.freeze(Object.defineProperty({__proto__:null,default:components$m},Symbol.toStringTag,{value:"Module"})),components$l={_options:{},body:{},action:{}},__glob_4_5=Object.freeze(Object.defineProperty({__proto__:null,default:components$l},Symbol.toStringTag,{value:"Module"}));function getIndicatorClass(t,r,o){const a=o===!0?["left","right"]:["top","bottom"];return`absolute-${r===!0?a[0]:a[1]}${t?` text-${t}`:""}`}const alignValues$1=["left","center","right","justify"];var QTabs=createComponent({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:t=>alignValues$1.includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,{registerTick:d}=useTick(),{registerTick:g}=useTick(),{registerTick:v}=useTick(),{registerTimeout:y,removeTimeout:A}=useTimeout(),{registerTimeout:b,removeTimeout:_}=useTimeout(),w=ref(null),S=ref(null),C=ref(t.modelValue),T=ref(!1),I=ref(!0),E=ref(!1),F=ref(!1),O=[],D=ref(0),x=ref(!1);let P=null,G=null,M;const N=computed(()=>({activeClass:t.activeClass,activeColor:t.activeColor,activeBgColor:t.activeBgColor,indicatorClass:getIndicatorClass(t.indicatorColor,t.switchIndicator,t.vertical),narrowIndicator:t.narrowIndicator,inlineLabel:t.inlineLabel,noCaps:t.noCaps})),V=computed(()=>{const oe=D.value,me=C.value;for(let Se=0;Se`q-tabs__content--align-${T.value===!0?"left":F.value===!0?"justify":t.align}`),H=computed(()=>`q-tabs row no-wrap items-center q-tabs--${T.value===!0?"":"not-"}scrollable q-tabs--${t.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${t.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${t.mobileArrows===!0?"":"out"}-arrows`+(t.dense===!0?" q-tabs--dense":"")+(t.shrink===!0?" col-shrink":"")+(t.stretch===!0?" self-stretch":"")),B=computed(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+Z.value+(t.contentClass!==void 0?` ${t.contentClass}`:"")),z=computed(()=>t.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),U=computed(()=>t.vertical!==!0&&u.lang.rtl===!0),Q=computed(()=>rtlHasScrollBug===!1&&U.value===!0);watch(U,se),watch(()=>t.modelValue,oe=>{X({name:oe,setCurrent:!0,skipEmit:!0})}),watch(()=>t.outsideArrows,J);function X({name:oe,setCurrent:me,skipEmit:Se}){C.value!==oe&&(Se!==!0&&t["onUpdate:modelValue"]!==void 0&&o("update:modelValue",oe),(me===!0||t["onUpdate:modelValue"]===void 0)&&(te(C.value,oe),C.value=oe))}function J(){d(()=>{ne({width:w.value.offsetWidth,height:w.value.offsetHeight})})}function ne(oe){if(z.value===void 0||S.value===null)return;const me=oe[z.value.container],Se=Math.min(S.value[z.value.scroll],Array.prototype.reduce.call(S.value.children,(De,Pe)=>De+(Pe[z.value.content]||0),0)),xe=me>0&&Se>me;T.value=xe,xe===!0&&g(se),F.value=meDe.name.value===oe):null,xe=me!=null&&me!==""?O.find(De=>De.name.value===me):null;if(Se&&xe){const De=Se.tabIndicatorRef.value,Pe=xe.tabIndicatorRef.value;P!==null&&(clearTimeout(P),P=null),De.style.transition="none",De.style.transform="none",Pe.style.transition="none",Pe.style.transform="none";const Be=De.getBoundingClientRect(),ot=Pe.getBoundingClientRect();Pe.style.transform=t.vertical===!0?`translate3d(0,${Be.top-ot.top}px,0) scale3d(1,${ot.height?Be.height/ot.height:1},1)`:`translate3d(${Be.left-ot.left}px,0,0) scale3d(${ot.width?Be.width/ot.width:1},1,1)`,v(()=>{P=setTimeout(()=>{P=null,Pe.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",Pe.style.transform="none"},70)})}xe&&T.value===!0&&ce(xe.rootRef.value)}function ce(oe){const{left:me,width:Se,top:xe,height:De}=S.value.getBoundingClientRect(),Pe=oe.getBoundingClientRect();let Be=t.vertical===!0?Pe.top-xe:Pe.left-me;if(Be<0){S.value[t.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Be),se();return}Be+=t.vertical===!0?Pe.height-De:Pe.width-Se,Be>0&&(S.value[t.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Be),se())}function se(){const oe=S.value;if(oe===null)return;const me=oe.getBoundingClientRect(),Se=t.vertical===!0?oe.scrollTop:Math.abs(oe.scrollLeft);U.value===!0?(I.value=Math.ceil(Se+me.width)0):(I.value=Se>0,E.value=t.vertical===!0?Math.ceil(Se+me.height){ve(oe)===!0&&ee()},5)}function he(){ge(Q.value===!0?Number.MAX_SAFE_INTEGER:0)}function ye(){ge(Q.value===!0?0:Number.MAX_SAFE_INTEGER)}function ee(){G!==null&&(clearInterval(G),G=null)}function pe(oe,me){const Se=Array.prototype.filter.call(S.value.children,ot=>ot===me||ot.matches&&ot.matches(".q-tab.q-focusable")===!0),xe=Se.length;if(xe===0)return;if(oe===36)return ce(Se[0]),Se[0].focus(),!0;if(oe===35)return ce(Se[xe-1]),Se[xe-1].focus(),!0;const De=oe===(t.vertical===!0?38:37),Pe=oe===(t.vertical===!0?40:39),Be=De===!0?-1:Pe===!0?1:void 0;if(Be!==void 0){const ot=U.value===!0?-1:1,ct=Se.indexOf(me)+Be*ot;return ct>=0&&ctQ.value===!0?{get:oe=>Math.abs(oe.scrollLeft),set:(oe,me)=>{oe.scrollLeft=-me}}:t.vertical===!0?{get:oe=>oe.scrollTop,set:(oe,me)=>{oe.scrollTop=me}}:{get:oe=>oe.scrollLeft,set:(oe,me)=>{oe.scrollLeft=me}});function ve(oe){const me=S.value,{get:Se,set:xe}=ae.value;let De=!1,Pe=Se(me);const Be=oe=oe)&&(De=!0,Pe=oe),xe(me,Pe),se(),De}function we(oe,me){for(const Se in oe)if(oe[Se]!==me[Se])return!1;return!0}function _e(){let oe=null,me={matchedLen:0,queryDiff:9999,hrefLen:0};const Se=O.filter(Be=>Be.routeData!==void 0&&Be.routeData.hasRouterLink.value===!0),{hash:xe,query:De}=a.$route,Pe=Object.keys(De).length;for(const Be of Se){const ot=Be.routeData.exact.value===!0;if(Be.routeData[ot===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;const{hash:ct,query:_t,matched:He,href:Ve}=Be.routeData.resolvedLink.value,ke=Object.keys(_t).length;if(ot===!0){if(ct!==xe||ke!==Pe||we(De,_t)===!1)continue;oe=Be.name.value;break}if(ct!==""&&ct!==xe||ke!==0&&we(_t,De)===!1)continue;const Qe={matchedLen:He.length,queryDiff:Pe-ke,hrefLen:Ve.length-ct.length};if(Qe.matchedLen>me.matchedLen){oe=Be.name.value,me=Qe;continue}else if(Qe.matchedLen!==me.matchedLen)continue;if(Qe.queryDiffme.hrefLen&&(oe=Be.name.value,me=Qe)}oe===null&&O.some(Be=>Be.routeData===void 0&&Be.name.value===C.value)===!0||X({name:oe,setCurrent:!0})}function Te(oe){if(A(),x.value!==!0&&w.value!==null&&oe.target&&typeof oe.target.closest=="function"){const me=oe.target.closest(".q-tab");me&&w.value.contains(me)===!0&&(x.value=!0,T.value===!0&&ce(me))}}function Ce(){y(()=>{x.value=!1},30)}function Ae(){ue.avoidRouteWatcher===!1?b(_e):_()}function Ee(){if(M===void 0){const oe=watch(()=>a.$route.fullPath,Ae);M=()=>{oe(),M=void 0}}}function le(oe){O.push(oe),D.value++,J(),oe.routeData===void 0||a.$route===void 0?b(()=>{if(T.value===!0){const me=C.value,Se=me!=null&&me!==""?O.find(xe=>xe.name.value===me):null;Se&&ce(Se.rootRef.value)}}):(Ee(),oe.routeData.hasRouterLink.value===!0&&Ae())}function re(oe){O.splice(O.indexOf(oe),1),D.value--,J(),M!==void 0&&oe.routeData!==void 0&&(O.every(me=>me.routeData===void 0)===!0&&M(),Ae())}const ue={currentModel:C,tabProps:N,hasFocus:x,hasActiveTab:V,registerTab:le,unregisterTab:re,verifyRouteModel:Ae,updateModel:X,onKbdNavigate:pe,avoidRouteWatcher:!1};provide(tabsKey,ue);function be(){P!==null&&clearTimeout(P),ee(),M!==void 0&&M()}let ie;return onBeforeUnmount(be),onDeactivated(()=>{ie=M!==void 0,be()}),onActivated(()=>{ie===!0&&Ee(),J()}),()=>h("div",{ref:w,class:H.value,role:"tablist",onFocusin:Te,onFocusout:Ce},[h(QResizeObserver,{onResize:ne}),h("div",{ref:S,class:B.value,onScroll:se},hSlot(r.default)),h(QIcon,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(I.value===!0?"":" q-tabs__arrow--faded"),name:t.leftIcon||u.iconSet.tabs[t.vertical===!0?"up":"left"],onMousedownPassive:he,onTouchstartPassive:he,onMouseupPassive:ee,onMouseleavePassive:ee,onTouchendPassive:ee}),h(QIcon,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(E.value===!0?"":" q-tabs__arrow--faded"),name:t.rightIcon||u.iconSet.tabs[t.vertical===!0?"down":"right"],onMousedownPassive:ye,onTouchstartPassive:ye,onMouseupPassive:ee,onMouseleavePassive:ee,onTouchendPassive:ee})])}});let id$1=0;const useTabEmits=["click","keydown"],useTabProps={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${id$1++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function useTab(t,r,o,a){const u=inject(tabsKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QTab/QRouteTab component needs to be child of QTabs"),emptyRenderFn;const{proxy:d}=getCurrentInstance(),g=ref(null),v=ref(null),y=ref(null),A=computed(()=>t.disable===!0||t.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},t.ripple===!0?{}:t.ripple)),b=computed(()=>u.currentModel.value===t.name),_=computed(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(b.value===!0?" q-tab--active"+(u.tabProps.value.activeClass?" "+u.tabProps.value.activeClass:"")+(u.tabProps.value.activeColor?` text-${u.tabProps.value.activeColor}`:"")+(u.tabProps.value.activeBgColor?` bg-${u.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(t.icon&&t.label&&u.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(t.noCaps===!0||u.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(t.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(a!==void 0?a.linkClass.value:"")),w=computed(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(u.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(t.contentClass!==void 0?` ${t.contentClass}`:"")),S=computed(()=>t.disable===!0||u.hasFocus.value===!0||b.value===!1&&u.hasActiveTab.value===!0?-1:t.tabindex||0);function C(O,D){if(D!==!0&&g.value!==null&&g.value.focus(),t.disable===!0){a!==void 0&&a.hasRouterLink.value===!0&&stopAndPrevent$1(O);return}if(a===void 0){u.updateModel({name:t.name}),o("click",O);return}if(a.hasRouterLink.value===!0){const x=(P={})=>{let G;const M=P.to===void 0||isDeepEqual(P.to,t.to)===!0?u.avoidRouteWatcher=uid$3():null;return a.navigateToRouterLink(O,{...P,returnRouterError:!0}).catch(N=>{G=N}).then(N=>{if(M===u.avoidRouteWatcher&&(u.avoidRouteWatcher=!1,G===void 0&&(N===void 0||N.message!==void 0&&N.message.startsWith("Avoided redundant navigation")===!0)&&u.updateModel({name:t.name})),P.returnRouterError===!0)return G!==void 0?Promise.reject(G):N})};o("click",O,x),O.defaultPrevented!==!0&&x();return}o("click",O)}function T(O){isKeyCode(O,[13,32])?C(O,!0):shouldIgnoreKey(O)!==!0&&O.keyCode>=35&&O.keyCode<=40&&O.altKey!==!0&&O.metaKey!==!0&&u.onKbdNavigate(O.keyCode,d.$el)===!0&&stopAndPrevent$1(O),o("keydown",O)}function I(){const O=u.tabProps.value.narrowIndicator,D=[],x=h("div",{ref:y,class:["q-tab__indicator",u.tabProps.value.indicatorClass]});t.icon!==void 0&&D.push(h(QIcon,{class:"q-tab__icon",name:t.icon})),t.label!==void 0&&D.push(h("div",{class:"q-tab__label"},t.label)),t.alert!==!1&&D.push(t.alertIcon!==void 0?h(QIcon,{class:"q-tab__alert-icon",color:t.alert!==!0?t.alert:void 0,name:t.alertIcon}):h("div",{class:"q-tab__alert"+(t.alert!==!0?` text-${t.alert}`:"")})),O===!0&&D.push(x);const P=[h("div",{class:"q-focus-helper",tabindex:-1,ref:g}),h("div",{class:w.value},hMergeSlot(r.default,D))];return O===!1&&P.push(x),P}const E={name:computed(()=>t.name),rootRef:v,tabIndicatorRef:y,routeData:a};onBeforeUnmount(()=>{u.unregisterTab(E)}),onMounted(()=>{u.registerTab(E)});function F(O,D){const x={ref:v,class:_.value,tabindex:S.value,role:"tab","aria-selected":b.value===!0?"true":"false","aria-disabled":t.disable===!0?"true":void 0,onClick:C,onKeydown:T,...D};return withDirectives(h(O,x,I()),[[Ripple,A.value]])}return{renderTab:F,$tabs:u}}var QTab=createComponent({name:"QTab",props:useTabProps,emits:useTabEmits,setup(t,{slots:r,emit:o}){const{renderTab:a}=useTab(t,r,o);return()=>a("div")}});function parseArg(t){const r=[.06,6,50];return typeof t=="string"&&t.length&&t.split(":").forEach((o,a)=>{const u=parseFloat(o);u&&(r[a]=u)}),r}var TouchSwipe=createDirective({name:"touch-swipe",beforeMount(t,{value:r,arg:o,modifiers:a}){if(a.mouse!==!0&&client.has.touch!==!0)return;const u=a.mouseCapture===!0?"Capture":"",d={handler:r,sensitivity:parseArg(o),direction:getModifierDirections(a),noop:noop$6,mouseStart(g){shouldStart(g,d)&&leftClick(g)&&(addEvt(d,"temp",[[document,"mousemove","move",`notPassive${u}`],[document,"mouseup","end","notPassiveCapture"]]),d.start(g,!0))},touchStart(g){if(shouldStart(g,d)){const v=g.target;addEvt(d,"temp",[[v,"touchmove","move","notPassiveCapture"],[v,"touchcancel","end","notPassiveCapture"],[v,"touchend","end","notPassiveCapture"]]),d.start(g)}},start(g,v){client.is.firefox===!0&&preventDraggable(t,!0);const y=position$1(g);d.event={x:y.left,y:y.top,time:Date.now(),mouse:v===!0,dir:!1}},move(g){if(d.event===void 0)return;if(d.event.dir!==!1){stopAndPrevent$1(g);return}const v=Date.now()-d.event.time;if(v===0)return;const y=position$1(g),A=y.left-d.event.x,b=Math.abs(A),_=y.top-d.event.y,w=Math.abs(_);if(d.event.mouse!==!0){if(bd.sensitivity[0]&&(d.event.dir=_<0?"up":"down"),d.direction.horizontal===!0&&b>w&&w<100&&S>d.sensitivity[0]&&(d.event.dir=A<0?"left":"right"),d.direction.up===!0&&bd.sensitivity[0]&&(d.event.dir="up"),d.direction.down===!0&&b0&&b<100&&C>d.sensitivity[0]&&(d.event.dir="down"),d.direction.left===!0&&b>w&&A<0&&w<100&&S>d.sensitivity[0]&&(d.event.dir="left"),d.direction.right===!0&&b>w&&A>0&&w<100&&S>d.sensitivity[0]&&(d.event.dir="right"),d.event.dir!==!1?(stopAndPrevent$1(g),d.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),clearSelection(),d.styleCleanup=T=>{d.styleCleanup=void 0,document.body.classList.remove("non-selectable");const I=()=>{document.body.classList.remove("no-pointer-events--children")};T===!0?setTimeout(I,50):I()}),d.handler({evt:g,touch:d.event.mouse!==!0,mouse:d.event.mouse,direction:d.event.dir,duration:v,distance:{x:b,y:w}})):d.end(g)},end(g){d.event!==void 0&&(cleanEvt(d,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),d.styleCleanup!==void 0&&d.styleCleanup(!0),g!==void 0&&d.event.dir!==!1&&stopAndPrevent$1(g),d.event=void 0)}};if(t.__qtouchswipe=d,a.mouse===!0){const g=a.mouseCapture===!0||a.mousecapture===!0?"Capture":"";addEvt(d,"main",[[t,"mousedown","mouseStart",`passive${g}`]])}client.has.touch===!0&&addEvt(d,"main",[[t,"touchstart","touchStart",`passive${a.capture===!0?"Capture":""}`],[t,"touchmove","noop","notPassiveCapture"]])},updated(t,r){const o=t.__qtouchswipe;o!==void 0&&(r.oldValue!==r.value&&(typeof r.value!="function"&&o.end(),o.handler=r.value),o.direction=getModifierDirections(r.modifiers))},beforeUnmount(t){const r=t.__qtouchswipe;r!==void 0&&(cleanEvt(r,"main"),cleanEvt(r,"temp"),client.is.firefox===!0&&preventDraggable(t,!1),r.styleCleanup!==void 0&&r.styleCleanup(),delete t.__qtouchswipe)}});const usePanelChildProps={name:{required:!0},disable:Boolean},PanelWrapper={setup(t,{slots:r}){return()=>h("div",{class:"q-panel scroll",role:"tabpanel"},hSlot(r.default))}},usePanelProps={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},usePanelEmits=["update:modelValue","beforeTransition","transition"];function usePanel(){const{props:t,emit:r,proxy:o}=getCurrentInstance(),{getCache:a}=useRenderCache();let u,d;const g=ref(null),v=ref(null);function y(B){const z=t.vertical===!0?"up":"left";G((o.$q.lang.rtl===!0?-1:1)*(B.direction===z?1:-1))}const A=computed(()=>[[TouchSwipe,y,void 0,{horizontal:t.vertical!==!0,vertical:t.vertical,mouse:!0}]]),b=computed(()=>t.transitionPrev||`slide-${t.vertical===!0?"down":"right"}`),_=computed(()=>t.transitionNext||`slide-${t.vertical===!0?"up":"left"}`),w=computed(()=>`--q-transition-duration: ${t.transitionDuration}ms`),S=computed(()=>typeof t.modelValue=="string"||typeof t.modelValue=="number"?t.modelValue:String(t.modelValue)),C=computed(()=>({include:t.keepAliveInclude,exclude:t.keepAliveExclude,max:t.keepAliveMax})),T=computed(()=>t.keepAliveInclude!==void 0||t.keepAliveExclude!==void 0);watch(()=>t.modelValue,(B,z)=>{const U=O(B)===!0?D(B):-1;d!==!0&&P(U===-1?0:U{r("transition",B,z)}))});function I(){G(1)}function E(){G(-1)}function F(B){r("update:modelValue",B)}function O(B){return B!=null&&B!==""}function D(B){return u.findIndex(z=>z.props.name===B&&z.props.disable!==""&&z.props.disable!==!0)}function x(){return u.filter(B=>B.props.disable!==""&&B.props.disable!==!0)}function P(B){const z=B!==0&&t.animated===!0&&g.value!==-1?"q-transition--"+(B===-1?b.value:_.value):null;v.value!==z&&(v.value=z)}function G(B,z=g.value){let U=z+B;for(;U!==-1&&U{d=!1});return}U+=B}t.infinite===!0&&u.length!==0&&z!==-1&&z!==u.length&&G(B,B===-1?u.length:-1)}function M(){const B=D(t.modelValue);return g.value!==B&&(g.value=B),!0}function N(){const B=O(t.modelValue)===!0&&M()&&u[g.value];return t.keepAlive===!0?[h(KeepAlive,C.value,[h(T.value===!0?a(S.value,()=>({...PanelWrapper,name:S.value})):PanelWrapper,{key:S.value,style:w.value},()=>B)])]:[h("div",{class:"q-panel scroll",style:w.value,key:S.value,role:"tabpanel"},[B])]}function V(){if(u.length!==0)return t.animated===!0?[h(Transition,{name:v.value},N)]:N()}function Z(B){return u=getNormalizedVNodes(hSlot(B.default,[])).filter(z=>z.props!==null&&z.props.slot===void 0&&O(z.props.name)===!0),u.length}function H(){return u}return Object.assign(o,{next:I,previous:E,goTo:F}),{panelIndex:g,panelDirectives:A,updatePanelsList:Z,updatePanelIndex:M,getPanelContent:V,getEnabledPanels:x,getPanels:H,isValidPanelName:O,keepAliveProps:C,needsUniqueKeepAliveWrapper:T,goToPanelByOffset:G,goToPanel:F,nextPanel:I,previousPanel:E}}var QTabPanels=createComponent({name:"QTabPanels",props:{...usePanelProps,...useDarkProps},emits:usePanelEmits,setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),{updatePanelsList:u,getPanelContent:d,panelDirectives:g}=usePanel(),v=computed(()=>"q-tab-panels q-panel-parent"+(a.value===!0?" q-tab-panels--dark q-dark":""));return()=>(u(r),hDir("div",{class:v.value},d(),"pan",t.swipeable,()=>g.value))}}),QTabPanel=createComponent({name:"QTabPanel",props:usePanelChildProps,setup(t,{slots:r}){return()=>h("div",{class:"q-tab-panel",role:"tabpanel"},hSlot(r.default))}});const reRGBA=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function rgbToHex$1({r:t,g:r,b:o,a}){const u=a!==void 0;if(t=Math.round(t),r=Math.round(r),o=Math.round(o),t>255||r>255||o>255||u&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=u?(Math.round(255*a/100)|1<<8).toString(16).slice(1):"","#"+(o|r<<8|t<<16|1<<24).toString(16).slice(1)+a}function rgbToString({r:t,g:r,b:o,a}){return`rgb${a!==void 0?"a":""}(${t},${r},${o}${a!==void 0?","+a/100:""})`}function hexToRgb$1(t){if(typeof t!="string")throw new TypeError("Expected a string");t=t.replace(/^#/,""),t.length===3?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t.length===4&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);const r=parseInt(t,16);return t.length>6?{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:Math.round((r&255)/2.55)}:{r:r>>16,g:r>>8&255,b:r&255}}function hsvToRgb$1({h:t,s:r,v:o,a}){let u,d,g;r=r/100,o=o/100,t=t/360;const v=Math.floor(t*6),y=t*6-v,A=o*(1-r),b=o*(1-y*r),_=o*(1-(1-y)*r);switch(v%6){case 0:u=o,d=_,g=A;break;case 1:u=b,d=o,g=A;break;case 2:u=A,d=o,g=_;break;case 3:u=A,d=b,g=o;break;case 4:u=_,d=A,g=o;break;case 5:u=o,d=A,g=b;break}return{r:Math.round(u*255),g:Math.round(d*255),b:Math.round(g*255),a}}function rgbToHsv$1({r:t,g:r,b:o,a}){const u=Math.max(t,r,o),d=Math.min(t,r,o),g=u-d,v=u===0?0:g/u,y=u/255;let A;switch(u){case d:A=0;break;case t:A=r-o+g*(r1)throw new TypeError("Expected offset to be between -1 and 1");const{r:o,g:a,b:u,a:d}=textToRgb$1(t),g=d!==void 0?d/100:0;return rgbToHex$1({r:o,g:a,b:u,a:Math.round(Math.min(1,Math.max(0,g+r))*100)})}function getPaletteColor$1(t){if(typeof t!="string")throw new TypeError("Expected a string as color");const r=document.createElement("div");r.className=`text-${t} invisible fixed no-pointer-events`,document.body.appendChild(r);const o=getComputedStyle(r).getPropertyValue("color");return r.remove(),rgbToHex$1(textToRgb$1(o))}var colors={rgbToHex:rgbToHex$1,hexToRgb:hexToRgb$1,hsvToRgb:hsvToRgb$1,rgbToHsv:rgbToHsv$1,textToRgb:textToRgb$1,lighten,luminosity,brightness,blend,changeAlpha:changeAlpha$1,getPaletteColor:getPaletteColor$1};const palette=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],thumbPath="M5 5 h10 v10 h-10 v-10 z",alphaTrackImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==";var QColor=createComponent({name:"QColor",props:{...useDarkProps,...useFormProps,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:t=>["spectrum","tune","palette"].includes(t)},formatModel:{type:String,default:"auto",validator:t=>["auto","hex","rgb","hexa","rgba"].includes(t)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),{$q:a}=o,u=useDark(t,a),{getCache:d}=useRenderCache(),g=ref(null),v=ref(null),y=computed(()=>t.formatModel==="auto"?null:t.formatModel.indexOf("hex")!==-1),A=computed(()=>t.formatModel==="auto"?null:t.formatModel.indexOf("a")!==-1),b=ref(t.formatModel==="auto"?t.modelValue===void 0||t.modelValue===null||t.modelValue===""||t.modelValue.startsWith("#")?"hex":"rgb":t.formatModel.startsWith("hex")?"hex":"rgb"),_=ref(t.defaultView),w=ref(H(t.modelValue||t.defaultValue)),S=computed(()=>t.disable!==!0&&t.readonly!==!0),C=computed(()=>t.modelValue===void 0||t.modelValue===null||t.modelValue===""||t.modelValue.startsWith("#")),T=computed(()=>y.value!==null?y.value:C.value),I=computed(()=>({type:"hidden",name:t.name,value:w.value[T.value===!0?"hex":"rgb"]})),E=useFormInject(I),F=computed(()=>A.value!==null?A.value:w.value.a!==void 0),O=computed(()=>({backgroundColor:w.value.rgb||"#000"})),D=computed(()=>`q-color-picker__header-content q-color-picker__header-content--${(w.value.a!==void 0&&w.value.a<65?!0:luminosity(w.value)>.4)?"light":"dark"}`),x=computed(()=>({background:`hsl(${w.value.h},100%,50%)`})),P=computed(()=>({top:`${100-w.value.v}%`,[a.lang.rtl===!0?"right":"left"]:`${w.value.s}%`})),G=computed(()=>t.palette!==void 0&&t.palette.length!==0?t.palette:palette),M=computed(()=>"q-color-picker"+(t.bordered===!0?" q-color-picker--bordered":"")+(t.square===!0?" q-color-picker--square no-border-radius":"")+(t.flat===!0?" q-color-picker--flat no-shadow":"")+(t.disable===!0?" disabled":"")+(u.value===!0?" q-color-picker--dark q-dark":"")),N=computed(()=>t.disable===!0?{"aria-disabled":"true"}:{}),V=computed(()=>[[TouchPan,ne,void 0,{prevent:!0,stop:!0,mouse:!0}]]);watch(()=>t.modelValue,Te=>{const Ce=H(Te||t.defaultValue);Ce.hex!==w.value.hex&&(w.value=Ce)}),watch(()=>t.defaultValue,Te=>{if(!t.modelValue&&Te){const Ce=H(Te);Ce.hex!==w.value.hex&&(w.value=Ce)}});function Z(Te,Ce){w.value.hex=rgbToHex$1(Te),w.value.rgb=rgbToString(Te),w.value.r=Te.r,w.value.g=Te.g,w.value.b=Te.b,w.value.a=Te.a;const Ae=w.value[T.value===!0?"hex":"rgb"];r("update:modelValue",Ae),Ce===!0&&r("change",Ae)}function H(Te){const Ce=A.value!==void 0?A.value:t.formatModel==="auto"?null:t.formatModel.indexOf("a")!==-1;if(typeof Te!="string"||Te.length===0||testPattern.anyColor(Te.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:Ce===!0?100:void 0,hex:void 0,rgb:void 0};const Ae=textToRgb$1(Te);return Ce===!0&&Ae.a===void 0&&(Ae.a=100),Ae.hex=rgbToHex$1(Ae),Ae.rgb=rgbToString(Ae),Object.assign(Ae,rgbToHsv$1(Ae))}function B(Te,Ce,Ae){const Ee=g.value;if(Ee===null)return;const le=Ee.clientWidth,re=Ee.clientHeight,ue=Ee.getBoundingClientRect();let be=Math.min(le,Math.max(0,Te-ue.left));a.lang.rtl===!0&&(be=le-be);const ie=Math.min(re,Math.max(0,Ce-ue.top)),oe=Math.round(100*be/le),me=Math.round(100*Math.max(0,Math.min(1,-(ie/re)+1))),Se=hsvToRgb$1({h:w.value.h,s:oe,v:me,a:F.value===!0?w.value.a:void 0});w.value.s=oe,w.value.v=me,Z(Se,Ae)}function z(Te,Ce){const Ae=Math.round(Te),Ee=hsvToRgb$1({h:Ae,s:w.value.s,v:w.value.v,a:F.value===!0?w.value.a:void 0});w.value.h=Ae,Z(Ee,Ce)}function U(Te){z(Te,!0)}function Q(Te,Ce,Ae,Ee,le){if(Ee!==void 0&&stop$1(Ee),!/^[0-9]+$/.test(Te)){le===!0&&o.$forceUpdate();return}const re=Math.floor(Number(Te));if(re<0||re>Ae){le===!0&&o.$forceUpdate();return}const ue={r:Ce==="r"?re:w.value.r,g:Ce==="g"?re:w.value.g,b:Ce==="b"?re:w.value.b,a:F.value===!0?Ce==="a"?re:w.value.a:void 0};if(Ce!=="a"){const be=rgbToHsv$1(ue);w.value.h=be.h,w.value.s=be.s,w.value.v=be.v}if(Z(ue,le),Ee!==void 0&&le!==!0&&Ee.target.selectionEnd!==void 0){const be=Ee.target.selectionEnd;nextTick(()=>{Ee.target.setSelectionRange(be,be)})}}function X(Te,Ce){let Ae;const Ee=Te.target.value;if(stop$1(Te),b.value==="hex"){if(Ee.length!==(F.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(Ee))return!0;Ae=hexToRgb$1(Ee)}else{let re;if(Ee.endsWith(")"))if(F.value!==!0&&Ee.startsWith("rgb(")){if(re=Ee.substring(4,Ee.length-1).split(",").map(ue=>parseInt(ue,10)),re.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(Ee))return!0}else if(F.value===!0&&Ee.startsWith("rgba(")){if(re=Ee.substring(5,Ee.length-1).split(","),re.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(Ee))return!0;for(let be=0;be<3;be++){const ie=parseInt(re[be],10);if(ie<0||ie>255)return!0;re[be]=ie}const ue=parseFloat(re[3]);if(ue<0||ue>1)return!0;re[3]=ue}else return!0;else return!0;if(re[0]<0||re[0]>255||re[1]<0||re[1]>255||re[2]<0||re[2]>255||F.value===!0&&(re[3]<0||re[3]>1))return!0;Ae={r:re[0],g:re[1],b:re[2],a:F.value===!0?re[3]*100:void 0}}const le=rgbToHsv$1(Ae);if(w.value.h=le.h,w.value.s=le.s,w.value.v=le.v,Z(Ae,Ce),Ce!==!0){const re=Te.target.selectionEnd;nextTick(()=>{Te.target.setSelectionRange(re,re)})}}function J(Te){const Ce=H(Te),Ae={r:Ce.r,g:Ce.g,b:Ce.b,a:Ce.a};Ae.a===void 0&&(Ae.a=w.value.a),w.value.h=Ce.h,w.value.s=Ce.s,w.value.v=Ce.v,Z(Ae,!0)}function ne(Te){Te.isFinal?B(Te.position.left,Te.position.top,!0):te(Te)}const te=throttle$2(Te=>{B(Te.position.left,Te.position.top)},20);function ce(Te){B(Te.pageX-window.pageXOffset,Te.pageY-window.pageYOffset,!0)}function se(Te){B(Te.pageX-window.pageXOffset,Te.pageY-window.pageYOffset)}function ge(Te){v.value!==null&&(v.value.$el.style.opacity=Te?1:0)}function he(Te){b.value=Te}function ye(){const Te=[];return t.noHeaderTabs!==!0&&Te.push(h(QTabs,{class:"q-color-picker__header-tabs",modelValue:b.value,dense:!0,align:"justify","onUpdate:modelValue":he},()=>[h(QTab,{label:"HEX"+(F.value===!0?"A":""),name:"hex",ripple:!1}),h(QTab,{label:"RGB"+(F.value===!0?"A":""),name:"rgb",ripple:!1})])),Te.push(h("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[h("input",{class:"fit",value:w.value[b.value],...S.value!==!0?{readonly:!0}:{},...d("topIn",{onInput:Ce=>{ge(X(Ce)===!0)},onChange:stop$1,onBlur:Ce=>{X(Ce,!0)===!0&&o.$forceUpdate(),ge(!1)}})}),h(QIcon,{ref:v,class:"q-color-picker__error-icon absolute no-pointer-events",name:a.iconSet.type.negative})])),h("div",{class:"q-color-picker__header relative-position overflow-hidden"},[h("div",{class:"q-color-picker__header-bg absolute-full"}),h("div",{class:D.value,style:O.value},Te)])}function ee(){return h(QTabPanels,{modelValue:_.value,animated:!0},()=>[h(QTabPanel,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},ve),h(QTabPanel,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},we),h(QTabPanel,{class:"q-color-picker__palette-tab",name:"palette"},_e)])}function pe(Te){_.value=Te}function ae(){return h("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[h(QTabs,{class:"absolute-full",modelValue:_.value,dense:!0,align:"justify","onUpdate:modelValue":pe},()=>[h(QTab,{icon:a.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),h(QTab,{icon:a.iconSet.colorPicker.tune,name:"tune",ripple:!1}),h(QTab,{icon:a.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function ve(){const Te={ref:g,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(S.value!==!0?" readonly":""),style:x.value,...S.value===!0?{onClick:ce,onMousedown:se}:{}},Ce=[h("div",{style:{paddingBottom:"100%"}}),h("div",{class:"q-color-picker__spectrum-white absolute-full"}),h("div",{class:"q-color-picker__spectrum-black absolute-full"}),h("div",{class:"absolute",style:P.value},[w.value.hex!==void 0?h("div",{class:"q-color-picker__spectrum-circle"}):null])],Ae=[h(QSlider,{class:"q-color-picker__hue non-selectable",modelValue:w.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:S.value!==!0,thumbPath,"onUpdate:modelValue":z,onChange:U})];return F.value===!0&&Ae.push(h(QSlider,{class:"q-color-picker__alpha non-selectable",modelValue:w.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:alphaTrackImg,readonly:S.value!==!0,hideSelection:!0,thumbPath,...d("alphaSlide",{"onUpdate:modelValue":Ee=>Q(Ee,"a",100),onChange:Ee=>Q(Ee,"a",100,void 0,!0)})})),[hDir("div",Te,Ce,"spec",S.value,()=>V.value),h("div",{class:"q-color-picker__sliders"},Ae)]}function we(){return[h("div",{class:"row items-center no-wrap"},[h("div","R"),h(QSlider,{modelValue:w.value.r,min:0,max:255,color:"red",dark:u.value,readonly:S.value!==!0,...d("rSlide",{"onUpdate:modelValue":Te=>Q(Te,"r",255),onChange:Te=>Q(Te,"r",255,void 0,!0)})}),h("input",{value:w.value.r,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("rIn",{onInput:Te=>Q(Te.target.value,"r",255,Te),onBlur:Te=>Q(Te.target.value,"r",255,Te,!0)})})]),h("div",{class:"row items-center no-wrap"},[h("div","G"),h(QSlider,{modelValue:w.value.g,min:0,max:255,color:"green",dark:u.value,readonly:S.value!==!0,...d("gSlide",{"onUpdate:modelValue":Te=>Q(Te,"g",255),onChange:Te=>Q(Te,"g",255,void 0,!0)})}),h("input",{value:w.value.g,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("gIn",{onInput:Te=>Q(Te.target.value,"g",255,Te),onBlur:Te=>Q(Te.target.value,"g",255,Te,!0)})})]),h("div",{class:"row items-center no-wrap"},[h("div","B"),h(QSlider,{modelValue:w.value.b,min:0,max:255,color:"blue",readonly:S.value!==!0,dark:u.value,...d("bSlide",{"onUpdate:modelValue":Te=>Q(Te,"b",255),onChange:Te=>Q(Te,"b",255,void 0,!0)})}),h("input",{value:w.value.b,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("bIn",{onInput:Te=>Q(Te.target.value,"b",255,Te),onBlur:Te=>Q(Te.target.value,"b",255,Te,!0)})})]),F.value===!0?h("div",{class:"row items-center no-wrap"},[h("div","A"),h(QSlider,{modelValue:w.value.a,color:"grey",readonly:S.value!==!0,dark:u.value,...d("aSlide",{"onUpdate:modelValue":Te=>Q(Te,"a",100),onChange:Te=>Q(Te,"a",100,void 0,!0)})}),h("input",{value:w.value.a,maxlength:3,readonly:S.value!==!0,onChange:stop$1,...d("aIn",{onInput:Te=>Q(Te.target.value,"a",100,Te),onBlur:Te=>Q(Te.target.value,"a",100,Te,!0)})})]):null]}function _e(){const Te=Ce=>h("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:Ce},...S.value===!0?d("palette#"+Ce,{onClick:()=>{J(Ce)}}):{}});return[h("div",{class:"row items-center q-color-picker__palette-rows"+(S.value===!0?" q-color-picker__palette-rows--editable":"")},G.value.map(Te))]}return()=>{const Te=[ee()];return t.name!==void 0&&t.disable!==!0&&E(Te,"push"),t.noHeader!==!0&&Te.unshift(ye()),t.noFooter!==!0&&Te.push(ae()),h("div",{class:M.value,...N.value},Te)}}});const{hsvToRgb,rgbToHex,hexToRgb,rgbToHsv}=colors;function detectColor(t,r=null){return t&&typeof t=="string"&&t.indexOf(",")===-1&&(t.length===6||t.length===7&&t.startsWith("#"))?t.startsWith("#")?"#hex":"hex":t&&typeof t=="string"&&t.indexOf(",")===-1&&(t.length===8||t.length===9&&t.startsWith("#"))?t.startsWith("#")?"#hexa":"hexa":t&&typeof t=="string"&&t.indexOf(",")===-1&&t.length<=3||typeof t=="number"&&t<=360?"hue":t&&typeof t=="object"&&(t.r&&t.g&&t.b||t.red&&t.green&&t.blue)?"rgb":(t&&!Array.isArray(t)&&typeof t=="string"&&(t=t.split(",")),t&&Array.isArray(t)&&t[0]>255?"hsv":t&&Array.isArray(t)&&t[0]>=0&&t[0]<=255&&t[1]>=0&&t[1]<=255&&t[2]>=0&&t[2]<=255?"rgb":null)}function convertColor(t,r){if(r=r||"hex",!t)return;const o=detectColor(t);let a=t?t.toString():null;if(o==="hue")a=rgbToHex(hsvToRgb({h:t,s:100,v:100}));else if(o==="rgb")if(typeof t=="object"&&(t.r&&t.g&&t.b||t.red&&t.green&&t.blue))a=rgbToHex({r:t.r||t.red,g:t.g||t.green,b:t.b||t.blue});else{const u=Array.isArray(t)?a:a.split(",");a=rgbToHex({r:u[0],g:u[1],b:u[2]})}else if(o==="hsv"){const u=Array.isArray(t)?a:a.split(",");a=rgbToHex(hsvToRgb({h:u[0],s:u[1],v:u[2]}))}if(a&&r==="hex")return a.replace("#","");if(a&&(r==="#hex"||r==="#hexa"))return"#"+a.replace("#","");if(a&&r==="hue")return parseFloat(rgbToHsv(hexToRgb(a)).h);if(a&&r==="hsv"){const u=rgbToHsv(hexToRgb(a));return[u.h,u.s,u.v].join(",")}else if(a&&(r==="rgb"||r==="rgb-hsv")){const u=hexToRgb(a);return[u.r,u.g,u.b].join(",")}else console.warn("Could not convert "+t+" to target "+r+"!")}var LightColorBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1k=defineComponent({name:"LightColorBody",props:{componentId:{type:String,default:"LightColorBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$6),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},stateVal(){return convertColor(this.state[this.componentOptions.val],"#hex")}},methods:{setColor(t){t=convertColor(t,this.colorMode),Devices.set(this.device.id,this.stateKey,t,this.componentOptions.ack)}}}),OPTIONS$6={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1}};function _sfc_render$1k(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},[createVNode$1(QColor,{modelValue:t.stateVal,"onUpdate:modelValue":r[0]||(r[0]=g=>t.stateVal=g),"no-header":"",class:"LightColorBody","format-model":"hex",onChange:t.setColor},null,8,["modelValue","onChange"]),renderSlot(t.$slots,"default")])}var LightColorBody$1=_export_sfc$1(_sfc_main$1k,[["render",_sfc_render$1k]]),LightColorBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$6,default:LightColorBody$1},Symbol.toStringTag,{value:"Module"})),LightHueBody_vue_vue_type_style_index_0_lang="";const _sfc_main$1j=defineComponent({name:"LightHueBody",props:{componentId:{type:String,default:"LightHueBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$5),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},stateVal(){let t=this.state[this.componentOptions.val]||0;return t=this.colorMode!=="hue"?t:parseFloat(t/(this.componentOptions.max-this.componentOptions.min)*360+this.componentOptions.min),convertColor(t,"#hex")}},methods:{setColor(t){t=convertColor(t,this.colorMode),t=this.colorMode!=="hue"?t:parseFloat(t/360*(this.componentOptions.max-this.componentOptions.min)+this.componentOptions.min),this.$emit("setDevice",this.device.id,this.stateKey,t,this.componentOptions.ack)}}}),OPTIONS$5={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},ack:{label:i18n.global.t("config#componentOptions#_all#ack#label"),info:i18n.global.t("config#componentOptions#_all#ack#info"),type:"Select",options:[{value:!0,label:i18n.global.t("config#componentOptions#_all#ack#options#true")},{value:!1,label:i18n.global.t("config#componentOptions#_all#ack#options#false")}],value:!1},min:{label:i18n.global.t("config#componentOptions#LightHueBody#min#label"),type:"Number",value:0},max:{label:i18n.global.t("config#componentOptions#LightHueBody#max#label"),type:"Number",value:360}};function _sfc_render$1j(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{style:{margin:"-4px -4px -4px -16px"},onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[createVNode$1(QColor,{"model-value":t.stateVal,"no-header":"","no-footer":"",class:"LightHueBody","default-value":"#ff0000",style:{"max-width":"inherit"},"format-model":"hex",onChange:t.setColor},null,8,["model-value","onChange"]),renderSlot(t.$slots,"default")])}var LightHueBody$1=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$1j]]),LightHueBody$2=Object.freeze(Object.defineProperty({__proto__:null,OPTIONS:OPTIONS$5,default:LightHueBody$1},Symbol.toStringTag,{value:"Module"})),WhiteSliderBody_vue_vue_type_style_index_0_lang="";const LevelBody$1=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LevelBody$3}),void 0),suspensible:!1}),_sfc_main$1i=defineComponent({name:"WhiteSliderBody",components:{LevelBody:LevelBody$1},props:{componentId:{type:String,default:"WhiteSliderBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$4),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=(...u)=>r("setDevice",...u);return{dConfig:deepmerge({WhiteSliderBodyConfig:{[t.stateKey]:o}},t.deviceConfig),componentOptions:o,setDevice:a}}}),OPTIONS$4={...OPTIONS$k,markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:8},invert:{label:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#label"),info:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#info"),type:"Switch",value:!1}};function _sfc_render$1i(t,r,o,a,u,d){const g=resolveComponent("LevelBody");return openBlock(),createBlock(g,mergeProps({...t.$props,...t.$attrs},{"device-config":t.dConfig,class:["jarvis-white-slider",{invert:t.componentOptions.invert}],onSetDevice:t.setDevice}),null,16,["device-config","class","onSetDevice"])}var WhiteSliderBody=_export_sfc$1(_sfc_main$1i,[["render",_sfc_render$1i]]),SaturationSliderBody_vue_vue_type_style_index_0_lang="";const LevelBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LevelBody$3}),void 0),suspensible:!1}),_sfc_main$1h=defineComponent({name:"SaturationSliderBody",components:{LevelBody},props:{componentId:{type:String,default:"SaturationSliderBody"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0},iconOnly:{type:Boolean,default:!1}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS$3),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=(...u)=>r("setDevice",...u);return{dConfig:deepmerge({SaturationSliderBodyConfig:{[t.stateKey]:o}},t.deviceConfig),componentOptions:o,setDevice:a}}}),OPTIONS$3={...OPTIONS$k,markerHeight:{label:i18n.global.t("config#componentOptions#LevelBody#markerHeight#label"),type:"Number",value:8},invert:{label:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#label"),info:i18n.global.t("config#componentOptions#WhiteSliderBody#invert#info"),type:"Switch",value:!1}};function _sfc_render$1h(t,r,o,a,u,d){const g=resolveComponent("LevelBody");return openBlock(),createBlock(g,mergeProps({...t.$props,...t.$attrs},{"device-config":t.dConfig,class:["jarvis-saturation-slider",{invert:t.componentOptions.invert}],onSetDevice:t.setDevice}),null,16,["device-config","class","onSetDevice"])}var SaturationSliderBody=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$1h]]);const LightColorBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LightColorBody$2}),void 0),suspensible:!1}),_sfc_main$1g=defineComponent({name:"LightColorAction",components:{LightColorBody},props:{componentId:{type:String,default:"LightColorAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["set"],setup(t){const r=deepmerge(Functions.getDefaults(OPTIONS$2),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),o=ref(t.state&&t.state[r.val]!==void 0?t.state[r.val]:"");return{color:o,onSet(a){o.value=a}}}}),OPTIONS$2={...OPTIONS$6},_hoisted_1$12={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$Q={style:{"padding-left":"16px"}};function _sfc_render$1g(t,r,o,a,u,d){const g=resolveComponent("LightColorBody");return openBlock(),createBlock(QBtn,{icon:"mdi-palette",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale",style:{width:"200px"},class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{onSet:t.onSet}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$12,[createBaseVNode("div",_hoisted_2$Q,toDisplayString$1(t.color),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["onSet"])]),_:1})]),_:1})}var LightColorAction=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$1g]]);const _sfc_main$1f=defineComponent({name:"LightColorState",components:{State:State$1},props:{componentId:{type:String,default:"LightColorState"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},setup(){return{i18n:useI18n()}},computed:{componentOptions(){return deepmerge(Functions.getDefaults(OPTIONS$1),this.device&&this.device.states&&this.device.states[this.stateKey]&&this.device.states[this.stateKey][this.componentId+"Config"]||{},this.state&&this.state.config&&this.state.config[this.componentId+"Config"]||{},this.deviceConfig&&this.deviceConfig[this.componentId+"Config"]&&this.deviceConfig[this.componentId+"Config"][this.stateKey]||{})},colorMode(){return detectColor(this.state[this.componentOptions.val],this.stateKey)},LightColorState(){const t=this.colorMode==="rgb"?this.isRGB(this.state[this.componentOptions.val]):this.colorMode==="hsv"?this.isHSV(this.state[this.componentOptions.val]):this.state[this.componentOptions.val],r=convertColor(t,"#hex");return{...this.device.states[this.stateKey]||{},stateStyle:this.componentOptions.useStateStyle?this.state.stateStyle:{color:r},val:t,value:t,unit:this.colorMode==="hue"?" \xB0":""}}},methods:{isRGB(t){const[r,o,a]=t&&typeof t=="string"?t.split(","):t&&Array.isArray(t)?t:["?","?","?"];return[this.i18n.t("Red")+": "+r,this.i18n.t("Green")+": "+o,this.i18n.t("Blue")+": "+a].join("
")},isHSV(t){const[r,o,a]=t&&typeof t=="string"?t.split(","):t&&Array.isArray(t)?t:["?","?","?"];return[this.i18n.t("Hue")+": "+r,this.i18n.t("Saturation")+": "+o,this.i18n.t("Brightness")+": "+a].join("
")}}}),OPTIONS$1={val:{label:i18n.global.t("config#componentOptions#_all#val#label"),info:i18n.global.t("config#componentOptions#_all#val#info"),type:"Select",options:[{value:"val",label:i18n.global.t("config#componentOptions#_all#val#options#val")},{value:"value",label:i18n.global.t("config#componentOptions#_all#val#options#value")}],value:"val"},useStateStyle:{label:i18n.global.t("config#componentOptions#LightColorState#useStateStyle#label"),info:i18n.global.t("config#componentOptions#LightColorState#useStateStyle#info"),type:"Switch",value:!0},icon:{label:i18n.global.t("config#componentOptions#LightColorState#icon#label")},iconOnly:{label:i18n.global.t("config#componentOptions#LightColorState#iconOnly#label"),info:i18n.global.t("config#componentOptions#LightColorState#iconOnly#info"),type:"Switch",value:!1}};function _sfc_render$1f(t,r,o,a,u,d){const g=resolveComponent("State"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",{class:"row",style:normalizeStyle$1(t.LightColorState.stateStyle)},[t.componentOptions.iconOnly!==!0?(openBlock(),createBlock(g,{key:0,"component-id":"LightColorState",device:t.device,"device-config":t.deviceConfig,"state-key":t.stateKey,state:t.LightColorState},null,8,["device","device-config","state-key","state"])):createCommentVNode("",!0),t.componentOptions.icon?(openBlock(),createBlock(v,{key:1,name:t.componentOptions.icon,class:"q-ml-xs"},null,8,["name"])):createCommentVNode("",!0)],4)}var LightColorState=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$1f]]);const LightHueBody=defineAsyncComponent({loader:()=>__vitePreload(()=>Promise.resolve().then(function(){return LightHueBody$2}),void 0),suspensible:!1}),_sfc_main$1e=defineComponent({name:"LightHueAction",components:{LightHueBody},props:{componentId:{type:String,default:"LightHueAction"},device:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>({})},state:{type:Object,required:!0},stateKey:{type:String,required:!0}},emits:["setDevice"],setup(t,{emit:r}){const o=deepmerge(Functions.getDefaults(OPTIONS),t.device&&t.device.states&&t.device.states[t.stateKey]&&t.device.states[t.stateKey][t.componentId+"Config"]||{},t.state&&t.state.config&&t.state.config[t.componentId+"Config"]||{},t.deviceConfig&&t.deviceConfig[t.componentId+"Config"]&&t.deviceConfig[t.componentId+"Config"][t.stateKey]||{}),a=ref(t.state&&t.state[o.val]!==void 0?t.state[o.val]:"");return watchEffect(()=>{a.value=t.state&&t.state[o.val]!==void 0?t.state[o.val]:""}),{color:a,setDevice(u,d,g,v){a.value=g,r("setDevice",u,d,g,v)}}}}),OPTIONS={...OPTIONS$5},_hoisted_1$11={class:"row items-center justify-end q-gutter-sm"},_hoisted_2$P={style:{"padding-left":"16px"}};function _sfc_render$1e(t,r,o,a,u,d){const g=resolveComponent("LightHueBody");return openBlock(),createBlock(QBtn,{icon:"mdi-palette",flat:"",round:"",color:"primary",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(QPopupProxy,{cover:"","transition-show":"scale","transition-hide":"scale",class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs},{style:{"min-width":"300px"},onSetDevice:t.setDevice}),{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$11,[createBaseVNode("div",_hoisted_2$P,toDisplayString$1(t.color),1),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{label:t.$t("Close"),flat:"",color:"primary"},null,8,["label"]),[[ClosePopup]])])]),_:1},16,["onSetDevice"])]),_:1})]),_:1})}var LightHueAction=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$1e]]),components$k={_options:{LightColorAction:OPTIONS$2,LightColorBody:OPTIONS$6,LightColorState:OPTIONS$1,LightHueAction:OPTIONS,LightHueBody:OPTIONS$5,SaturationSliderBody:OPTIONS$3,WhiteSliderBody:OPTIONS$4},body:{LightColorBody:LightColorBody$1,LightHueBody:LightHueBody$1,WhiteSliderBody,SaturationSliderBody},action:{LightColorAction,LightColorState,LightHueAction}},__glob_4_6=Object.freeze(Object.defineProperty({__proto__:null,default:components$k},Symbol.toStringTag,{value:"Module"})),components$j={_options:{},body:{},action:{}},__glob_4_7=Object.freeze(Object.defineProperty({__proto__:null,default:components$j},Symbol.toStringTag,{value:"Module"})),components$i={_options:{},body:{},action:{}},__glob_4_8=Object.freeze(Object.defineProperty({__proto__:null,default:components$i},Symbol.toStringTag,{value:"Module"})),components$h={_options:{},body:{},action:{}},__glob_4_9=Object.freeze(Object.defineProperty({__proto__:null,default:components$h},Symbol.toStringTag,{value:"Module"})),components$g={_options:{},body:{},action:{}},__glob_4_10=Object.freeze(Object.defineProperty({__proto__:null,default:components$g},Symbol.toStringTag,{value:"Module"})),components$f={_options:{},body:{},action:{}},__glob_4_11=Object.freeze(Object.defineProperty({__proto__:null,default:components$f},Symbol.toStringTag,{value:"Module"})),components$e={_options:{},body:{},action:{}},__glob_4_12=Object.freeze(Object.defineProperty({__proto__:null,default:components$e},Symbol.toStringTag,{value:"Module"})),components$d={_options:{},body:{},action:{}},__glob_4_13=Object.freeze(Object.defineProperty({__proto__:null,default:components$d},Symbol.toStringTag,{value:"Module"})),components$c={_options:{},body:{},action:{}},__glob_4_14=Object.freeze(Object.defineProperty({__proto__:null,default:components$c},Symbol.toStringTag,{value:"Module"})),components$b={_options:{},body:{},action:{}},__glob_4_15=Object.freeze(Object.defineProperty({__proto__:null,default:components$b},Symbol.toStringTag,{value:"Module"})),components$a={_options:{},body:{},action:{}},__glob_4_16=Object.freeze(Object.defineProperty({__proto__:null,default:components$a},Symbol.toStringTag,{value:"Module"})),components$9={_options:{},body:{},action:{}},__glob_4_17=Object.freeze(Object.defineProperty({__proto__:null,default:components$9},Symbol.toStringTag,{value:"Module"})),components$8={_options:{},body:{},action:{}},__glob_4_18=Object.freeze(Object.defineProperty({__proto__:null,default:components$8},Symbol.toStringTag,{value:"Module"})),components$7={_options:{},body:{},action:{}},__glob_4_19=Object.freeze(Object.defineProperty({__proto__:null,default:components$7},Symbol.toStringTag,{value:"Module"})),components$6={_options:{},body:{},action:{}},__glob_4_20=Object.freeze(Object.defineProperty({__proto__:null,default:components$6},Symbol.toStringTag,{value:"Module"})),components$5={_options:{},body:{},action:{}},__glob_4_21=Object.freeze(Object.defineProperty({__proto__:null,default:components$5},Symbol.toStringTag,{value:"Module"})),components$4={_options:{BlindLevelAction:OPTIONS$7},body:{},action:{BlindLevelAction}},__glob_4_22=Object.freeze(Object.defineProperty({__proto__:null,default:components$4},Symbol.toStringTag,{value:"Module"}));const icon$m="home-circle-outline",config$m={_any:{display:{false:"defaults#off",true:"defaults#on"},stateStyle:{true:{color:"#090",fontWeight:"bold"}}},battery:{unit:" %",icon:{">80":"battery-high","<=80":"battery-medium","<=30":"battery-low","<=10":"battery-outline blink","<=5":"battery-alert-variant-outline blink"},iconStyle:{"<=10":{color:"#900"}}},firmware:{display:{true:"defaults#firmware#true",false:"defaults#firmware#false"},icon:{true:"mdi-cog-refresh",false:"mdi-cog-outline"}},frost:{icon:{default:"mdi-snowflake"}},humidity:{unit:" %",icon:"water-percent"},illuminance:{unit:" lux"},level:{unit:" %"},lowbattery:{icon:{true:"battery-alert-variant-outline",false:"battery-high"},display:{true:"defaults#low",false:"defaults#full"},stateStyle:{true:{color:"#900",fontWeight:"bold"},false:{color:"#999"}}},position:{icon:"map-marker"},power:{icon:"power"},config:{icon:{default:"mdi-cog"}},connectivity:{icon:{default:"mdi-wifi-arrow-left-right"}},available:{icon:{true:"lan-connect",false:"lan-disconnect"},display:{true:"defaults#reachable",false:"defaults#notreachable"},stateStyle:{true:{color:"#090"},false:{color:"#900",fontWeight:"bold"}}},reachability:{icon:{true:"lan-connect",false:"lan-disconnect"},display:{true:"defaults#reachable",false:"defaults#notreachable"},stateStyle:{true:{color:"#090"},false:{color:"#900",fontWeight:"bold"}}},rssi:{icon:{default:"mdi-antenna"}},temperature:{unit:" \xB0C",icon:"thermometer"},trigger:{icon:"power"},unreach:{icon:{true:"lan-disconnect",false:"lan-connect"},display:{true:"defaults#notreachable",false:"defaults#reachable"},stateStyle:{true:{color:"#900",fontWeight:"bold"},false:{color:"#090"}}},wind:{unit:" km/h",icon:"weather-windy"}};var __glob_3_1=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$m,config:config$m},Symbol.toStringTag,{value:"Module"}));const icon$l="window-shutter",config$l={_any:{},level:{bodyElement:"LevelBody",actionElement:"BlindLevelAction",value:t=>typeof t=="number"?Math.round(t):t,unit:" %",icon:{default:"window-shutter-open",">90":"window-shutter-open","<=90":"window-shutter"}},level2:{ignore:!0,bodyElement:"LevelBody",actionElement:"BlindLevelAction",value:t=>typeof t=="number"?Math.round(t):t,unit:" %",icon:{default:"window-shutter-open",">90":"window-shutter-open","<=90":"window-shutter"}},activity:{bodyElement:null,actionElement:null,icon:{true:"pan-vertical",false:"dots-vertical"},display:{true:"blind#activity#true",false:"blind#activity#false"}},stop:{bodyElement:null,actionElement:"IconButtonAction",icon:{default:"mdi-stop-circle"}}};var __glob_3_2=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$l,config:config$l},Symbol.toStringTag,{value:"Module"}));const icon$k="door",config$k={_any:{},open:{bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"door-closed",true:"door-open"},display:{0:"door#open#closed",1:"door#open#opened",false:"door#open#closed",true:"door#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},opened:{bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"door-closed",true:"door-open"},display:{0:"door#open#closed",1:"door#open#opened",false:"door#open#closed",true:"door#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},lock:{bodyElement:null,actionElement:null}};var __glob_3_3=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$k,config:config$k},Symbol.toStringTag,{value:"Module"}));const icon$j="fan",config$j={_any:{},power:{bodyElement:null,actionElement:null,icon:{true:"fan",false:"fan-off"}}};var __glob_3_4=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$j,config:config$j},Symbol.toStringTag,{value:"Module"}));const icon$i="thermometer",config$i={_any:{},temperature:{bodyElement:null,actionElement:null,unit:" \xB0C",icon:"thermometer"},setTemperature:{bodyElement:"LevelBody",actionElement:null,properties:{min:0,max:35},unit:" \xB0C",icon:"thermometer-chevron-up"},humidity:{bodyElement:null,actionElement:null,unit:" %"},boost:{bodyElement:null,actionElement:"IconButtonAction",icon:"radiator"},boostTime:{bodyElement:null,actionElement:null,unit:"min.",icon:"clock-outline"},boostState:{},frost:{},windowState:{},partyMode:{},modeAuto:{bodyElement:null,actionElement:"IconButtonAction",icon:"brightness-auto"},modeManu:{},modeCurrent:{},modeLowering:{},modeControl:{icon:"list-status"},valve:{unit:"%",icon:"valve"},valvePosition:{},valveState:{}};var __glob_3_5=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$i,config:config$i},Symbol.toStringTag,{value:"Module"}));const icon$h="washing-machine",config$h={_any:{},power:{bodyElement:null,actionElement:"SwitchAction"},consumption:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}},meter:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}}};var __glob_3_6=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$h,config:config$h},Symbol.toStringTag,{value:"Module"}));const icon$g="lightbulb-on",config$g={_any:{},on:{ignore:!0,substitute:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},power:{bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},state:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},Relay0:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},Relay1:{ignore:!0,bodyElement:null,actionElement:"SwitchAction",icon:{true:"lightbulb-on",false:"lightbulb-off-outline"}},dimmer:{ignore:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},brightness:{ignore:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},level:{substitute:!0,bodyElement:"LevelBody",actionElement:null,value:t=>t>0&&t<=1?t*100:t,unit:t=>t>0?" %":null,stateStyle:{default:{},0:{color:"#999"}},icon:{default:"lightbulb-on",0:"lightbulb-off-outline"},display:{0:"light#level#off"}},ct:{substitute:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},colortemp:{ignore:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},colortemperature:{ignore:!0,bodyElement:"LevelBody",actionElement:null,properties:{min:2e3,max:6500},icon:{default:"thermometer"},unit:" \xB0K"},hue:{bodyElement:"LightHueBody",actionElement:"LightColorState",icon:{default:"palette"},unit:" \xB0"},rgb:{bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}},hsv:{substitute:!0,bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}},hex:{bodyElement:"LightColorBody",actionElement:"LightColorState",icon:{default:"palette"}}};var __glob_3_7=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$g,config:config$g},Symbol.toStringTag,{value:"Module"}));const icon$f="map-marker",config$f={_any:{},position:{bodyElement:null,actionElement:null,icon:"map-marker"},presence:{bodyElement:null,actionElement:null,icon:{true:"map-marker-radius",false:"map-marker-remove-outline"},display:{true:"location#presence#true",false:"location#presence#false"}},users:{bodyElement:null,actionElement:null,icon:{"":"account-group-outline",default:"account-group"},display:{"":"location#users#empty"}}};var __glob_3_8=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$f,config:config$f},Symbol.toStringTag,{value:"Module"}));const icon$e="motion-sensor",config$e={_any:{},motion:{bodyElement:null,actionElement:null,icon:{true:"motion-sensor",false:"motion-sensor-off"}},presence:{bodyElement:null,actionElement:null,icon:{true:"motion-sensor",false:"motion-sensor-off"}}};var __glob_3_9=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$e,config:config$e},Symbol.toStringTag,{value:"Module"}));const icon$d="robot-mower",config$d={_any:{}};var __glob_3_10=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$d,config:config$d},Symbol.toStringTag,{value:"Module"}));const icon$c="auto-fix",config$c={};var __glob_3_11=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$c,config:config$c},Symbol.toStringTag,{value:"Module"}));const icon$b="mdi-thermometer",config$b={_any:{},temperature:{unit:" \xB0C",icon:"mdi-thermometer"},humidity:{unit:" %"},battery:{unit:" %",icon:{">80":"battery-high","<=80":"battery-medium","<=30":"battery-low","<=10":"battery-outline blink","<=5":"battery-alert-variant-outline blink"},iconStyle:{"<=10":{color:"#900"}}},illumination:{unit:" lux",icon:"mdi-brightness-7"},pressure:{unit:" hPa",icon:"mdi-air-purifier"}};var __glob_3_12=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$b,config:config$b},Symbol.toStringTag,{value:"Module"}));const icon$a="server-network",config$a={_any:{},power:{icon:{true:"server-network",false:"server-network-off"}}};var __glob_3_13=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$a,config:config$a},Symbol.toStringTag,{value:"Module"}));const icon$9="mdi-smoke-detector",config$9={_any:{},alarm:{bodyElement:null,actionElement:null,icon:{true:"mdi-alarm-light",false:"mdi-alarm-light-outline",0:"mdi-alarm-light-outline",1:"mdi-alarm-light",2:"mdi-alarm-light",3:"mdi-alarm-light"}}};var __glob_3_14=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$9,config:config$9},Symbol.toStringTag,{value:"Module"}));const icon$8="power-socket-eu",config$8={_any:{},power:{bodyElement:null,actionElement:"SwitchAction"},consumption:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}},meter:{bodyElement:null,actionElement:null,unit:" W",icon:{default:"mdi-power-plug-off-outline",">0":"mdi-power-plug"}}};var __glob_3_15=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$8,config:config$8},Symbol.toStringTag,{value:"Module"}));const icon$7="speaker",config$7={_any:{}};var __glob_3_16=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$7,config:config$7},Symbol.toStringTag,{value:"Module"}));const icon$6="light-switch",config$6={power:{bodyElement:null,actionElement:"SwitchAction"}};var __glob_3_17=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$6,config:config$6},Symbol.toStringTag,{value:"Module"}));const icon$5="television",config$5={_any:{},power:{icon:{true:"television-clean",false:"television-off"}}};var __glob_3_18=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$5,config:config$5},Symbol.toStringTag,{value:"Module"}));const icon$4="account",config$4={_any:{},position:{icon:"map-marker"},location:{icon:"account"},battery:{}};var __glob_3_19=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$4,config:config$4},Symbol.toStringTag,{value:"Module"}));const icon$3="robot-vacuum",config$3={_any:{}};var __glob_3_20=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$3,config:config$3},Symbol.toStringTag,{value:"Module"}));const icon$2="weather-partly-snowy-rainy",config$2={_any:{},humidity:{},wind:{},temperature:{},rain:{icon:"mdi-weather-pouring"},illumination:{icon:"mdi-brightness-7"},sunshineduration:{icon:"mdi-weather-sunny"}};var __glob_3_21=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$2,config:config$2},Symbol.toStringTag,{value:"Module"}));const open={bodyElement:null,actionElement:null,icon:{0:"window-closed-variant",1:"window-open-variant",false:"window-closed-variant",true:"window-open-variant"},display:{0:"window#open#closed",1:"window#open#opened",2:"window#open#opened",false:"window#open#closed",true:"window#open#opened"},stateStyle:{0:{color:"#999"},1:{color:"#090",fontWeight:"bold"},false:{color:"#999"},true:{color:"#090",fontWeight:"bold"}}},icon$1="window-closed-variant",config$1={_any:{},open,opened:{ignore:!0,...open},window:{ignore:!0,...open}};var __glob_3_22=Object.freeze(Object.defineProperty({__proto__:null,icon:icon$1,config:config$1},Symbol.toStringTag,{value:"Module"}));const icon="window-closed",config={...config$1,...config$l};var __glob_3_23=Object.freeze(Object.defineProperty({__proto__:null,icon,config},Symbol.toStringTag,{value:"Module"}));const FunctionsList=["defaults","blind","door","fan","heating","household","light","location","motion","mower","scenes","sensor","server","smoke","socket","speaker","switch","tv","user","vacuum","weather-station","window","window-electrical"];class Functions{static get List(){return FunctionsList}static load(){if(Functions._loaded)return Promise.resolve();const r={"./_defaults/index.js":__glob_3_1,"./blind/index.js":__glob_3_2,"./door/index.js":__glob_3_3,"./fan/index.js":__glob_3_4,"./heating/index.js":__glob_3_5,"./household/index.js":__glob_3_6,"./light/index.js":__glob_3_7,"./location/index.js":__glob_3_8,"./motion/index.js":__glob_3_9,"./mower/index.js":__glob_3_10,"./scenes/index.js":__glob_3_11,"./sensor/index.js":__glob_3_12,"./server/index.js":__glob_3_13,"./smoke/index.js":__glob_3_14,"./socket/index.js":__glob_3_15,"./speaker/index.js":__glob_3_16,"./switch/index.js":__glob_3_17,"./tv/index.js":__glob_3_18,"./user/index.js":__glob_3_19,"./vacuum/index.js":__glob_3_20,"./weather-station/index.js":__glob_3_21,"./window/index.js":__glob_3_22,"./window-electrical/index.js":__glob_3_23},o={"./_defaults/components.js":__glob_4_0$1,"./blind/components.js":__glob_4_1,"./door/components.js":__glob_4_2,"./fan/components.js":__glob_4_3,"./heating/components.js":__glob_4_4,"./household/components.js":__glob_4_5,"./light/components.js":__glob_4_6,"./location/components.js":__glob_4_7,"./motion/components.js":__glob_4_8,"./mower/components.js":__glob_4_9,"./scenes/components.js":__glob_4_10,"./sensor/components.js":__glob_4_11,"./server/components.js":__glob_4_12,"./smoke/components.js":__glob_4_13,"./socket/components.js":__glob_4_14,"./speaker/components.js":__glob_4_15,"./switch/components.js":__glob_4_16,"./tv/components.js":__glob_4_17,"./user/components.js":__glob_4_18,"./vacuum/components.js":__glob_4_19,"./weather-station/components.js":__glob_4_20,"./window/components.js":__glob_4_21,"./window-electrical/components.js":__glob_4_22},a={"./_defaults/components/ButtonAction.png":__glob_5_0,"./_defaults/components/ButtonGroupAction.png":__glob_5_1,"./_defaults/components/CheckboxAction.png":__glob_5_2,"./_defaults/components/DatePickerAction.png":__glob_5_3,"./_defaults/components/DatePickerBody - Copy.png":__glob_5_4,"./_defaults/components/DatePickerBody.png":__glob_5_5,"./_defaults/components/DropdownAction.png":__glob_5_6,"./_defaults/components/IconButtonAction.png":__glob_5_7,"./_defaults/components/IconState.png":__glob_5_8,"./_defaults/components/InputAction.png":__glob_5_9,"./_defaults/components/LastChangeBody.png":__glob_5_10,"./_defaults/components/LevelBody.png":__glob_5_11,"./_defaults/components/State.png":__glob_5_12,"./_defaults/components/SwitchAction.png":__glob_5_13,"./_defaults/components/TimePickerAction.png":__glob_5_14,"./_defaults/components/TimePickerBody.png":__glob_5_15,"./blind/components/BlindLevelAction.png":__glob_5_16,"./light/components/LightColorAction.png":__glob_5_17,"./light/components/LightColorBody.png":__glob_5_18,"./light/components/LightColorState.png":__glob_5_19,"./light/components/LightHueAction.png":__glob_5_20,"./light/components/LightHueBody.png":__glob_5_21,"./light/components/SaturationSliderBody.png":__glob_5_22,"./light/components/WhiteSliderBody.png":__glob_5_23,"./window-electrical/components/BlindLevelAction.png":__glob_5_24};Functions.Screenshots={};for(const d in a){const g=d.substr(2,d.indexOf("/",2)-2),v=d.substr(d.lastIndexOf("/")+1).replace(".png","");Functions.Screenshots[g]=Functions.Screenshots[g]||{},Functions.Screenshots[g][v]=a[d].default}const u=FunctionsList.map(async d=>{d=d==="defaults"?"_"+d:d;try{const g="./"+d+"/index.js",v=r[g];Functions.Configurations=Functions.Configurations||{},Functions.Configurations[d]=v.config||{},Functions.Icons=Functions.Icons||{},Functions.Icons[d]=v.icon||null;try{const y="./"+d+"/components.js",A=o[y];Functions.Components=Functions.Components||{},Functions.Components._all=Functions.Components._all||{},Functions.Components._defaults=Functions.Components._defaults||{},Functions.Components[d]=Functions.Components[d]||{_options:{},components:{},body:{},action:{}},Functions.ComponentsOptions={...Functions.ComponentsOptions||{},...A.default._options};const b=A.default;Functions.Components._defaults.components={...Functions.Components._defaults.components||{},...b.components},Functions.Components._all.action={...Functions.Components._all.action,...b.action},Functions.Components[d].body={...Functions.Components[d].body,...b.body},Functions.Components[d].action={...Functions.Components[d].action,...b.action},Functions.ComponentsList=Functions.ComponentsList||{},Functions.ComponentsList.bodyElements=Functions.ComponentsList.bodyElements||{},Functions.ComponentsList.bodyElements[d]=[...Functions.ComponentsList.bodyElements&&Functions.ComponentsList.bodyElements._defaults||[],...Functions.ComponentsList.bodyElements[d]||[],...Object.keys(Functions.Components[d].body)].sort(),Functions.ComponentsList.actionElements=Functions.ComponentsList.actionElements||{},Functions.ComponentsList.actionElements[d]=[...Functions.ComponentsList.actionElements&&Functions.ComponentsList.actionElements._defaults||[],...Functions.ComponentsList.actionElements[d]||[],...Object.keys(Functions.Components[d].action)].sort()}catch(y){y.message.indexOf("Cannot find module")===-1&&console.debug(y)}}catch(g){g.message.indexOf("Cannot find module")===-1&&console.debug(g)}return!0});return Promise.allSettled(u).then(()=>(Functions.ComponentsListAsOptions={},["bodyElements","actionElements"].forEach(d=>{Functions.ComponentsListAsOptions[d]={},Functions.ComponentsListAsOptions[d]._all=[];for(const g in Functions.ComponentsList[d])Functions.ComponentsListAsOptions[d][g]=Functions.ComponentsList[d][g].map(v=>({value:v,label:v,img:Functions.Screenshots[g]&&Functions.Screenshots[g][v]||Functions.Screenshots._defaults[v]})),Functions.ComponentsListAsOptions[d]._all=Functions.ComponentsListAsOptions[d]._all.concat(Functions.ComponentsListAsOptions[d][g]);Functions.ComponentsListAsOptions[d]._all=[...new Map(Functions.ComponentsListAsOptions[d]._all.map(g=>[g.value,g])).values()]}),Functions._loaded=!0,!0))}static getDefaults(r){const o=useJarvis(),a=useIoBroker(),u=Cache$1.get("settings",{}),d={};return Object.keys(r).forEach(g=>{r[g]&&r[g].value?d[g]=typeof r[g].value=="function"?r[g].value({jarvis:o,iobroker:a,settings:u}):r[g].value:r[g]&&r[g].placeholder&&(d[g]=typeof r[g].placeholder=="function"?r[g].placeholder({jarvis:o,iobroker:a,settings:u}):r[g].placeholder)}),d}}class States{static get _BindingRegExp(){return RegExp("\\{(?:val|value|[a-zA-Z0-9-:_]+\\.[a-zA-Z0-9-:_.]+)\\}","gi")}static get _OperatorList(){return["<=",">=","!=","<>","<",">","="]}static _removeOperators(r){return States._OperatorList.forEach(o=>{r=r.replace(o,"")}),parseFloat(r)||r}static _getOperator(r){return States._OperatorList.find(o=>r.indexOf(o)>-1)||""}static getStateVal(r){return States._states&&States._states[r.toLowerCase()]}static setStateVal(r,o){States._states=States._states||{},States._states[r.toLowerCase()]=o}static getStateId(r){if(!r)return[];let o=r.state;return o=o||(r.action&&Array.isArray(r.action)?r.action[0]:r.action),o?[o]:[]}static getBindingStateIds(r){const o=Cache$1.get("warnBinding");let a=[];if(r=r||{},r={config:r.config||_default(r),...r},Pro.isPro()||!Pro.isPro()&&!o)for(const u in r.config){const d=r.config[u];if(!(!["label","unit","bodyStyle","stateStyle","display","icon","iconStyle","state","title","bodySelectedStyle","iconSelectedStyle"].includes(u)||typeof d!="object"))for(const g in d){const v=d[g];if((typeof g!="string"||g.indexOf("{")===-1||g.indexOf("}")===-1)&&(typeof v!="string"||v.indexOf("{")===-1||v.indexOf("}")===-1))continue;const y=(g.match(States._BindingRegExp)||[]).concat(typeof v=="string"&&v.match(States._BindingRegExp)||[]);if(Pro.isPro()&&y&&y.length!==0){const A=y.map(b=>b.trim().substr(1,b.trim().length-2).trim()).filter(b=>b!=="val"&&b!=="value");a=a.concat(A)}else!Pro.isPro()&&y&&y.length!==0&&(console.warn("States-0799b3aa","Bindings is only available to Pro!",r,y),Cache$1.set("warnBinding",!0),Pro.warn("Bindings is only available to Pro!"))}}return a}static subscribe(r,o,a){let u=[];typeof o=="function"&&(a=o,o={}),u=u.concat(States.getStateId(r)),o.isState=u.length>0;const d=States.getBindingStateIds(r);return u=u.concat(d),o.isBinding=d.length>0,u=[...new Set([...u])],u.length!==0?Connection.getConnection.subscribeStates(u,({err:y,stateId:A,state:b},_)=>(o.isBinding===!0&&(States.setStateVal(A,b?b.val:null),a(y,r,o)),a(y,b,o))):[]}static hasBinding(r=""){return r=typeof r=="object"?JSON.stringify(r):r.toString(),r&&(r.toLowerCase().indexOf("{val}")!==-1||r.toLowerCase().indexOf("{value}")!==-1||States._BindingRegExp.test(r.toLowerCase()))}static replaceBinding(r,{state:o,device:a}){let u=r&&typeof r!="string"?JSON.stringify(r):r;const d=u.match(States._BindingRegExp)||[];for(let v of d)if(v=v.toLowerCase().trim(),v.indexOf("{val}")!==-1)u=u.replace(/'?{val}'?/g,o.val==="true"||o.val==="false"||typeof o.val=="boolean"?o.val==="true"||o.val===!0:"|'"+o.val+"'|");else if(v.indexOf("{value}")!==-1)u=u.replace(/'?{value}'?/g,o.value==="true"||o.value==="false"||typeof o.value=="boolean"?o.value==="true"||o.value===!0:"|'"+o.value+"'|");else if(o.state&&v==="{"+o.state.toLowerCase()+"}")u=u.replace(RegExp("'?{"+o.state+"}'?","gi"),o.value==="true"||o.value==="false"||typeof o.value=="boolean"?o.value==="true"||o.value===!0:"|'"+o.value+"'|");else if(RegExp(/.+\.\d{1,2}\..+/gi).test(v)){const y=States.getStateVal(v.substr(1,v.length-2)),A=typeof y=="number"?y:"|'"+y+"'|";u=y!==void 0?u.replace(RegExp("'?"+v+"'?","i"),y==="true"||y==="false"||typeof y=="boolean"?y==="true"||y===!0:A):v}else{if(v.indexOf(":")!==-1&&v.indexOf("function")===-1&&v.indexOf("=>")===-1)return r;if(v.indexOf(":")===-1){const y=v.substr(1,v.length-2);u=u.replace(RegExp("'?"+v+"'?"),y==="true"||y==="false"||typeof y=="boolean"?y==="true"||y===!0:y)}}u=u.replace(/([^=<>!])=([^=<>!])/g,"$1==$2"),u=u.replace(/\n/g," "),u=u.trim();const g=RegExp(".+?\\(.*?\\).*?","g");if(!u.startsWith("{")&&!u.endsWith("}")&&(g.test(u)||u.indexOf("<")!==-1||u.indexOf(">")!==-1||u.indexOf("!=")!==-1||u.indexOf("=")!==-1)){u=u.replace(/\'\|/g,"'").replace(/\|\'/g,"'");try{return new Function("return "+u)()}catch(v){const y=a.id+":"+o.stateKey;States._notified=States._notified||{},States._notified[y]||(States._notified[y]=!0,console.warn("States-a51989c6",'Incorrect callback function ("'+u+'") supplied to device "'+a.name+'" (state-key '+o.stateKey+")!",g,g.test(u),u.indexOf("<")!==-1,u.indexOf(">")!==-1,u.indexOf("!=")!==-1,u.indexOf("=")!==-1,v),Notify.create({type:"warning",icon:"mdi-alert",message:"Incorrect callback function ("+u+") supplied to "+a.name+" ("+o.stateKey+")!",caption:v&&v.message||typeof v=="string"&&v||""}))}}return u=u.replace(/\'\|/g,"").replace(/\|\'/g,""),u}static resolveAttributes(r,o,a,u,d=null){if(o&&typeof o=="object"){o=_default(o);let g=Object.keys(o);if(g=o._sort==="none"||g.join("").indexOf("{")!==-1?g:g.sort((v,y)=>(v=States._removeOperators(v),y=States._removeOperators(y),v===y?0:v>y?1:-1)),delete o._sort,g.toString().indexOf("{")!==-1||g.toString().indexOf("<")!==-1||g.toString().indexOf(">")!==-1||g.toString().indexOf("!=")!==-1||g.toString().indexOf("=")!==-1){let v=!0;for(const y of g){const A=parseFloat(a.val)||a.val,b=States.hasBinding(y);if(y==="default")continue;if(y.indexOf("{")!==-1){if(States.replaceBinding(y,{state:a,device:u})===!0){a[r]=o[y],v=!1;break}continue}const _=States._getOperator(y),w=y.substr(0,y.indexOf(_));let S=_?parseFloat(b?States.getStateVal(w):w):A;S=Number.isNaN(S)||S===void 0?A:S;const C=y.substr(y.indexOf(_)+_.length);let T=_?parseFloat(b?States.getStateVal(C):C):y;if(T=Number.isNaN(T)||T===void 0?A:T,S=S==="true"||S==="false"?S==="true":S,T=T==="true"||T==="false"?T==="true":T,(_==="!="||_==="<>")&&S!=T){a[r]=o[y],v=!1;break}else if(_==="<="&&S<=T){a[r]=o[y],v=!1;break}else if(_==="<"&&S="&&S>=T){a[r]=o[y],v=!1;break}else if(_===">"&&S>T){a[r]=o[y],v=!1;break}else if((_===""||_==="=")&&S==T){a[r]=o[y],v=!1;break}}v&&(a[r]=o.default!==void 0?o.default:d)}else{const v=!a.val||r==="properties"?a.val:Object.keys(o).find(A=>A.toString().toLowerCase()===a.val.toString().toLowerCase());let y=!1;if(["bodyStyle","stateStyle","iconStyle"].includes(r)&&o){const A=Object.values(o);y=A&&A[0]&&typeof A[0]=="object"}a[r]=v!==void 0&&o[v]!==void 0?o[v]:o.default!==void 0?o.default:o&&["bodyStyle","stateStyle","iconStyle"].includes(r)&&y===!1||o&&["properties"].includes(r)?o:void 0}}else r!=="value"&&o&&typeof o=="function"?a[r]=o(a.val,a.stateKey,u):r!=="value"&&o&&typeof o=="string"&&(a[r]=o);return a}}class Devices{static destroy(){Devices._devices=null,Devices._states={},Devices._history={}}static get(r){return Devices.getDevice(r)}static getDevice(r){if(r==null||!Devices._devices||!Devices._devices[r])return null;const o=Devices._devices[r];return o.function=o.function==="other"?"_defaults":o.function,o.options={suppressPopup:!1,...o.options||{}},o}static getDevices(r={}){const o=Object.keys(r),a=[];for(const u in Devices._devices){const d=Devices.getDevice(u);o.every(v=>{const y=r[v];return y==null?!0:d[v]===void 0||d[v]===null?!1:Array.isArray(y)||y.condition==="all"?(y.val||y).every(_=>_.startsWith("<>")?!d[v].includes(_.replace("<>","")):d[v].includes(_)):y.condition==="any"?y.val.some(_=>_.startsWith("<>")?!d[v].includes(_.replace("<>","")):d[v].includes(_)):y.startsWith("<>")?d[v]!==y.replace("<>",""):d[v]===y})&&a.push(d)}return a}static init(r){Devices._devices=_default(r),Connection.getConnection.refreshSubscribedStates()}static prepareDeviceState(r,o,a){const u=Devices.get(r);a==null&&(a={val:null}),a.key=o,delete a.key,a.stateKey=o,a.revision=a.revision||v4(),a.value=a.val,a.configFunctionDefaults={...Functions.Configurations._defaults&&Functions.Configurations._defaults._any||{},...Functions.Configurations._defaults&&Functions.Configurations._defaults[o]||{}},a.configDeviceDefaults={...Functions.Configurations[u.function.toLowerCase()]&&Functions.Configurations[u.function.toLowerCase()]._any||{},...Functions.Configurations[u.function.toLowerCase()]&&Functions.Configurations[u.function.toLowerCase()][o]||{}},a.configUser=u.states[o]?_default(u.states[o]):{},a.config={...a.configFunctionDefaults,...a.configDeviceDefaults};for(const d in u.states[o])a.config[d]=a.configUser[d]||a.config[d];if(a.value!==void 0&&a.value!==null&&a.value!==""&&a.config.value)try{const d=new Function("return "+a.config.value)();a.value=d(a.value,u.states[o],u.states,u)}catch(d){console.warn("Devices-875c87ea","Incorrect callback function ("+a.config.value+") supplied to "+u.name+" ("+o+")!",d),a.value=a.val}if(a.value!==void 0&&a.value!==null&&a.value!==""&&Pro.isPro()&&u.states[o]&&u.states[o].properties&&u.states[o].properties.value)try{const d=new Function("return "+u.states[o].properties.value)();a.value=d(a.value,u.states[o],u.states,u)}catch(d){console.warn("Devices-875c87eb","Incorrect callback function ("+u.states[o].properties.value+") supplied to "+u.name+" ("+o+")!",d),a.value=a.val}else!Pro.isPro()&&u.states[o]&&u.states[o].properties&&u.states[o].properties.value&&Pro.warn("Device ("+u.name+'): Callback for "value" only available in Pro.');try{for(const d in a.config){const g=a.config[d];a=States.resolveAttributes(d,g,a,u),d!=="properties"&&States.hasBinding(a[d])&&(a[d]=States.replaceBinding(a[d],{state:a,device:u}))}}catch(d){console.warn("Devices-jEk6S8dX","Error resolving bindings for device "+u.name+" ("+u.id+"): "+d.message)}if(!a.configUser.icon&&u.icon&&(a.icon=u.icon),a.icon||(a.icon=Functions.Icons[u.function]||Functions.Icons._defaults),a.value=a.value===void 0?a.val:a.value,a.value=a.value===void 0?"":a.value,a.display!==void 0&&a.display!==null)try{a.value=(a.display!==""?i18n.global.t(a.display):a.display).toString()}catch(d){console.warn("Devices-yDv926aP","Error translating name for device "+u.name+" ("+u.id+" with state key "+a.stateKey+') using "'+a.display+'": '+d.message)}return a}static refreshDeviceState(r,o,a){Devices.updateDeviceState(r,o,null,null,{val:null,...a||{}})}static broadcast(r,o,a,u){const d=r+":"+o,g=Devices.get(r);if(!g)return console.warn("Devices-dcfeada3","Device with ID "+r+" not found!"),!1;Devices._listener[d].callbacks.forEach(v=>{v.cb&&v.cb(a,g,o,Object.freeze(Devices.prepareDeviceState(r,o,_default(u))))})}static updateDeviceBinding(r,o,a=null,u={},d={}){const g=r+":"+o,{state:v}=Devices._listener[g]||{};Devices.broadcast(r,o,a,v)}static updateDeviceState(r,o,a=null,u={},d={}){const g=r+":"+o;Devices._listener[g].state=u,Devices.broadcast(r,o,a,u)}static listen(r,o,a){if(r&&o&&a){const u=r+":"+o,d=Devices.get(r),g=d&&d.states&&d.states[o],v=g&&(g.state||g.action),y=v4();if(Devices._listener=Devices._listener||{},!Devices._listener[u])Devices._listener[u]={deviceId:r,stateKey:o,state:null,callbacks:[{subscriptionKey:y,cb:a}]},States.subscribe(g,(A,b,_)=>{b&&!b.id&&_.isBinding&&Devices.updateDeviceBinding(r,o,A,b,_),(!b||b&&b.id&&v.toLowerCase()===b.id.toLowerCase())&&Devices.updateDeviceState(r,o,A,b,_)});else if(Devices._listener[u].callbacks.push({subscriptionKey:y,cb:a}),Devices._listener[u].state){const{state:A}=Devices._listener[u]||{};a(null,d,o,Devices.prepareDeviceState(r,o,_default(A)))}else v?Connection.getConnection.getState(v,({err:b,state:_})=>{a(b,d,o,Devices.prepareDeviceState(r,o,_))}):a(null,d,o,null);return u+":"+y}return console.warn("Devices-a9b3ff4f","Invalid details for listener",r,o,a),[]}static unlisten(r=[]){r=Array.isArray(r)?r:[r],r.forEach(o=>{const[a,u,d]=o.split(":");Devices._listener[a+":"+u]&&(Devices._listener[a+":"+u].callbacks=Devices._listener[a+":"+u].callbacks.filter(g=>g.subscriptionKey!==d))})}static history(r,o,a,u){if(r&&o){let d=Devices.get(r);const g=d&&d.states&&d.states[o],v=g&&g.state;if(v){g.stateKey=o;const y=hash$3(v+":"+JSON.stringify(a));if(Devices._history=Devices._history||{},Devices._history[y])return u(null,Devices._history[y],g,d),y;a={ack:!0,ignoreNull:!0,aggregate:"none",...a,instance:a.instance||"history.0"};const A=({err:_,history:w,...S})=>{d=Devices.get(r);const C=Devices.prepareDeviceState(d.id,o,_default(g||{}));if(_)return console.debug("Devices-b917b213",_),u(_,{history:null,subscriptionKey:y},C,d),_;if(S.noUpdate&&!w&&Devices._history[y]!==void 0)return u(_,Devices._history[y],C,d),null;w=w||[],Devices._history[y]={history:w,subscriptionKey:y,cb:u},u(null,{history:w,subscriptionKey:y},C,d)};return Connection.getConnection.subscribeHistory(y,v,a,A),y}else u&&u(new Error('History subscription invalid (no state given for state key "'+o+'" in device "'+r+'"'),{},g,d)}else console.warn("Devices-a9b3ff4f","Invalid details for listener",r,o);return null}static unsubscribe(r,o,a,u){const d=Devices.get(o),g=d&&d.states&&d.states[a]&&d.states[a].state;r&&g&&Connection.getConnection.unsubscribe(u,r,g,({err:y})=>{y&&y.message&&console.warn("Devices-147cd06a","Unsubscribe failed",u,g,r,y.message)})}static set(r,o,a,u){const d=Devices.get(r);if(typeof u!="object"&&(u={ack:u}),d){if(d&&(!d.states||!d.states[o]))return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' has no state key "'+o+'"!'),Promise.reject();if(d&&d.states&&d.states[o]&&!d.states[o].action&&!d.states[o].state)return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' with state key "'+o+'" has neither action nor state id!'),Promise.reject()}else return console.warn("Devices-752f6dcd",'No valid device with id "'+r+'" found!'),Promise.reject();let g=!d.states[o].action||Array.isArray(d.states[o].action)?d.states[o].action:[d.states[o].action];if(g=g||[d.states[o].state],!g)return console.warn("Devices-a6ff8c8c","Device "+(d.name||r)+' with state key "'+o+'" has no state ids!'),Promise.reject();!Pro.isPro()&&g.length>1&&(g=[g[0]],console.warn("Multiple triggers only available to Pro!"));const v=d.id+":"+o;let y=Devices._listener[v]&&Devices._listener[v].state;const A=Array.isArray(d.states[o].action)?d.states[o].action[0]:d.states[o].action;y&&(!A||A===d.states[o].state)&&Devices.updateDeviceState(r,o,null,{...y,ts:Date.now(),lc:Date.now(),val:a});const b=Connection.getConnection,_=g.map((w,S)=>(S=S+1,d.states[o].properties&&d.states[o].properties.trigger&&d.states[o].properties.trigger[S]!==void 0?a=d.states[o].properties.trigger[S][a]:a=Devices.convertSetVal(a,o,{on:"true",off:"false",...d.states[o].properties||{}},u),new Promise((C,T)=>{b.setState(w,a,u.ack!==void 0?u.ack:!1).then(()=>C()).catch(I=>{console.warn("Devices-954571f6","Could not set state",a,w,r,o,I.message,I),Array.isArray(d.states[o].action)?d.states[o].action[0]:d.states[o].action,y&&(Devices.updateDeviceState(r,o,null,{...y}),Notify.create({message:'Could not set state "'+w+'"!',caption:'Error: "'+I.message+'"',type:"negative"})),T(I)})})));return Promise.allSettled(_)}static convertSetVal(r,o=null,a={},u={}){const d=v=>{try{return new Function("return "+v)()}catch(y){return v}};if(r=(typeof r=="boolean"?!1:typeof r=="number"?!0:!Number.isNaN(parseFloat(r))&&r.toString().length===parseFloat(r).toString().length)?parseFloat(r):r,r===!0&&a&&a.setOn!==void 0){const v=d(a.setOn);r=Pro.isPro()&&typeof v=="function"?v(r,a):v}else if(r===!1&&a&&a.setOff!==void 0){const v=d(a.setOff);r=Pro.isPro()&&typeof v=="function"?v(r,a):v}else(r===!0&&a&&a.on!==void 0||r===!1&&a.off!==void 0)&&(r=r===!0?a.on:a.off);if(!(a.min&&["true","false"].includes(a.min.toString())||a.max&&["true","false"].includes(a.max.toString()))&&(o==="dimmer"||o==="level")&&r!==void 0&&(r.toString()==="true"||r.toString()==="false")&&(r=r.toString()==="true"?parseInt(a.level)||100:0),r=typeof r=="string"&&(r==="true"||r==="false")?r==="true":r,!u.cast||u.cast==="auto"||u.cast==="number"){const v=Number.isNaN(parseInt(r))?null:parseInt(r);r=typeof r=="string"&&v!==null&&v.toString().length===r.length?v:r}else u.cast==="string"&&(r=r.toString());return r}}const useJarvis=defineStore("jarvis",{state:()=>({connection:!1,pro:!1,watch:{devices:null,layout:null,settings:null,styles:null,scripts:null,widgets:null},authentication:{page:null,configuration:null},headerVisible:!0,drawerSidebar:!1,drawerNotifications:!1,selectedPageId:null,selectedTabId:null,selectedTabReady:!1,selectedDeviceId:null}),getters:{drawerMiniMode(t){const r=Cache$1.get("settings",{});return t.watch.settings&&Screen.width>Screen.sizes.md&&r.drawerMiniMode!==void 0?r.drawerMiniMode:!1},getSelectedPageId(){return this.getSelectedPage.id||null},getSelectedPage(){const t=Cache$1.get("layout",[]);let r=null;if(this.selectedTabId!==null){for(const o of t)if((o.tabs||[]).find(d=>d.id===this.selectedTabId)){r=o;break}}return this.selectedTabId===null&&!r&&(r=t.find(o=>o.type==="page")),r||{}},getDevicesCount(){return Object.keys(Devices._devices).length},getPages(){return Cache$1.get("layout",[]).filter(r=>!r.type||r.type==="page").map(r=>({...r,color:"primary",label:r.title||""}))},getPagesWithTabs(){const t=[];return Cache$1.get("layout",[]).forEach(o=>{o.tabs=o.tabs||[],o.tabs.forEach(a=>{t.push({...a,value:a.id,label:o.title+" - "+a.title})})}),t},getTabs(){return t=>t.tabs.map(r=>({...r,color:"primary",label:r.title||""}))},getWidgets(t){const r=Cache$1.get("widgets",{});return o=>o.map(a=>{const u=a.items[0];return a={...a,...r[u]},{...a,label:a.label||a.title||a.module||"",color:"primary"}})},getSelectedTabId(){return this.getSelectedTab.id||null},getSelectedTab(){const t=Cache$1.get("layout",[]);let r=null;if(this.selectedTabId!==null){for(const o of t)if(r=(o.tabs||[]).find(u=>u.id===this.selectedTabId),r)break}return this.selectedTabId===null&&!r&&(r=this.getSelectedPage.tabs&&this.getSelectedPage.tabs[0]),r||{}},selectedDevice(t){return Devices.get(t.selectedDeviceId)||{}}},actions:{set(t,r){const o=typeof t!="string"?t:{[t]:r};let a="";for(let u in o){const d=o[u];[a,u]=u.indexOf(".")>-1?u.split("."):[null,u],a===null&&this[u]!==void 0&&d!==void 0?this[u]!==d&&(this[u]=d):this[a]&&this[a][u]!==void 0&&d!==void 0?this[a][u]!==d&&(this[a][u]=d):console.error("UNKNOWN STATE",a,this[a],u,this[a]&&this[a][u],this[u],d)}}}}),routes=[{name:"Login",path:"/login",components:{login:()=>__vitePreload(()=>Promise.resolve().then(function(){return Login$1}),void 0)},meta:{authenticationType:""}},{name:"Configuration",path:"/configuration",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$b}),void 0),children:[{name:"ConfigurationLogin",path:"login",components:{login:()=>__vitePreload(()=>Promise.resolve().then(function(){return Login$1}),void 0)},meta:{authenticationType:"configuration",redirect:"Configuration"}},{name:"ConnectionsPage",path:"connections",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return ConnectionsPage$1}),void 0)},{name:"DevicesPage",path:"devices",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$9}),void 0)},{name:"WidgetsPage",path:"widgets",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$8}),void 0)},{name:"LayoutPage",path:"layout",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$7}),void 0)},{name:"SettingsPage",path:"settings",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$6}),void 0)},{name:"StylesPage",path:"styles",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$5}),void 0)},{name:"ScriptsPage",path:"scripts",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$4}),void 0)},{name:"AccountPage",path:"account",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$3}),void 0)},{name:"HelpPage",path:"help",component:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$2}),void 0)}]},{name:"Home",path:"/:tabId([^/&]+)?/:params?",components:{default:()=>__vitePreload(()=>Promise.resolve().then(function(){return Jarvis$1}),void 0),sidebar:()=>__vitePreload(()=>Promise.resolve().then(function(){return Sidebar$1}),void 0),notifications:()=>__vitePreload(()=>Promise.resolve().then(function(){return index$1}),void 0)}}];var createRouter=function(){return createRouter$1({scrollBehavior:()=>({left:0,top:0}),routes,history:createWebHashHistory("/jarvis/")})};function getCssVar(t,r=document.body){if(typeof t!="string")throw new TypeError("Expected a string as propName");if(!(r instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(r).getPropertyValue(`--q-${t}`).trim()||null}var Config=[{id:"pageSettings",label:"Page Settings",icon:"mdi-book-cog-outline",settings:[{id:"language",label:"Language settings for jarvis",type:"Select",options:config$n.get("SUPPORTED_LANGUAGES"),value:useI18n.locale,validate:t=>config$n.get("SUPPORTED_LANGUAGES").find(r=>r.value.indexOf(t)!==-1)},{id:"pageFavicon",label:"Browser favicon",info:"(Browser favicon info)",value:""},{id:"pageTitle",label:"Browser title",placeholder:"jarvis - just another remarkable vis",value:"jarvis - just another remarkable vis"},{id:"pageHome",label:"Homepage",type:"Select",options:(t,{jarvis:r})=>r.getPagesWithTabs},{id:"pageHomeReturn",label:"Return to Homepage",info:"(Return to Homepage info)",type:"Number",value:0},{id:"hideProNotification",label:"Hide Pro Notification",type:"Switch",value:!1},{id:"quickJumper",label:"Quick Jumper",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"reload",label:"Nightly Reload",type:"Switch",value:!0}]},{id:"tabSettings",label:"Sidebar & Tabs Settings",icon:"mdi-tab-unselected",settings:[{id:"drawerMiniMode",label:"Drawer Mini mode",type:"Switch",value:!0},{id:"drawerShowMenuButton",label:"Show Button to toggle Drawer",type:"Switch",value:!0},{id:"drawerShowSettings",label:"Show Settings Button in Drawer",type:"Switch",value:!0},{type:"Placeholder",columns:6},{id:"tabsCollapse",label:"Collapse Tabs",info:"(Collapse Tabs info)",type:"Switch",value:!1},{id:"tabsDense",label:"Dense Tabs",type:"Switch",value:!1},{id:"tabsBottom",label:"Tabs on bottom of page",type:"Switch",value:!1},{id:"tabsSwipe",label:"Tab Swipe",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"tabsSwipeAnimation",label:"Tab Swipe Animation",type:"Select",options:[{value:"always",label:"on desktop and mobile devices",translate:!0},{value:"mobile",label:"only on mobile devices",translate:!0},{value:"never",label:"never",translate:!0}],value:"mobile"},{id:"tabsShow",label:"Tab-Bar Scroll Behaviour",type:"Select",options:[{value:"always",label:"Show always",translate:!0},{value:"hide",label:"Hide when scrolling",translate:!0}],value:"hide"},{id:"defaultBoxIcon",label:"Default widget-box icon",type:"icon",placeholder:"home"}]},{id:"themeSettings",label:"Theme Settings",icon:"mdi-brush",settings:[{columns:2,id:"themeDarkMode",label:"Dark Mode",type:"Select",options:[{value:"auto",label:"use system-setting",translate:!0},{value:"off",label:"off",translate:!0},{value:"on",label:"on",translate:!0}],value:"auto",validate:t=>t===void 0?"auto":typeof t=="boolan"?t===!0?"on":"off":t},{id:"brandPrimary",label:"Primary theme color",info:"(Primary theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#1976d2",placeholder:"blue-8",type:"color"},{id:"brandSecondary",label:"Secondary theme color",info:"(Secondary theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#26a69a",placeholder:"teal-5",type:"color"},{id:"brandAccent",label:"Accent theme color",info:"(accent theme color info)",link:"https://quasar.dev/style/color-palette#introduction",value:"#9c27b0",placeholder:"purple-6",type:"color"},{columns:4,type:"Placeholder"},{columns:2,id:"scrollbars",label:"Scrollbars",type:"Select",options:[{value:"always",label:"show always",translate:!0},{value:"desktop",label:"hide on desktop and below",translate:!0},{value:"mobile",label:"hide on mobile devices",translate:!0}],value:"always"},{columns:1,id:"breakpoint-sm",label:"Breakpoint (small, sm)",value:Screen.sizes.sm,type:"Number"},{columns:1,id:"breakpoint-md",label:"Breakpoint (medium, md)",value:Screen.sizes.md,type:"Number"}]},{id:"globalSettings",label:"Global Settings",icon:"mdi-earth",settings:[{id:"LastChangeBody",label:"Timeformat LastChangeBody",info:"(Timeformat LastChangeBody info)",link:"https://date-fns.org/v2.22.1/docs/format",placeholder:"DistanceToNow"},{id:"stylesEnabled",label:"Styles enabled",type:"Switch",value:!0},{id:"scriptsEnabled",label:"Scripts enabled",type:"Switch",value:!0}]}];const defaultSettings={};Config.forEach(t=>{t.settings.forEach(r=>{defaultSettings[r.id]=r.value!==void 0?r.value:r.placeholder})});var defaultSettings$1={tourIntroduction:!1,tourInterface:!0,tourConfiguration:!1,configExpertMode:!1,configTab:null,configDevicesFilter:null,configDevicesFilterSelections:null,configDevicesPagination:null,configDevicesGroupBy:null,configWidgetsPagination:null,...defaultSettings};class ioBroker{static _convertStructure(r){const o={};let a={};return r.forEach(u=>{u.status==="fulfilled"&&u.value&&(u.value.type==="devices"||u.value.type==="channels"||u.value.type==="folder"||u.value.type==="objects")?u.value.retrieved.forEach(d=>{o[d.id]=d.value}):u.status==="fulfilled"&&u.value&&u.value.type==="states"&&(a=u.value.retrieved)}),[a,o]}static getDefaultModuleHeight(r,o=[]){let a=8,u=!0;if(r.module==="AdapterStatus")u=!1;else if(r.module==="Calendar")a=10,u=!1;else if(r.module==="DateTime")a=3;else if(r.module==="StateHTML"||r.module==="iFrame"||r.module==="Weather")a=9;else if(r.module==="StateListHorizontal"||r.module==="HomeKitTile")a=2;else if(r.module==="StateList"){const d=o.filter(g=>g.type==="divider").length;a=Math.ceil(((r.hideTitle!==!0?48:0)+d*1+(o.length-d)*48)/50),a=a||100}return{height:a,scaleToFitContents:u}}static getUsers(){const r=Connection.getConnection;return new Promise((o,a)=>{r.getObjectView("system","user",null,({err:u,objects:d})=>{if(u||!d)return a(u);o(d)})})}static getUserGroups(){const r=Connection.getConnection;return new Promise((o,a)=>{r.getObjectView("system","group",null,({err:u,objects:d})=>{if(u||!d)return a(u);o(d)})})}static importDevices(r=Object.keys(adapters)){const o=Connection.getConnection;console.debug("ioBroker-53de87a5","Start importing devices..");const a=[];return r=Array.isArray(r)?r:[r],r.forEach(u=>{a.push(new Promise((d,g)=>{try{const v=adapters[u];console.debug("ioBroker-569d31bd","Request devices from adapter "+u+"..."),o.getObjectView("system",v.deviceObjectType||"device",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(y=>{if(console.debug("ioBroker-8e7a802b","Retrieved results from adapter "+u+"."),v.root){let A=Promise.resolve([]);v.deviceObjectType!=="device"&&(A=new Promise(b=>{o.getObjectView("system","device",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(b)})),v.deviceObjectType!=="folder"&&(A=new Promise(b=>{o.getObjectView("system","folder",{startkey:v.namespace+".0",endkey:v.namespace+".99"}).then(b)})),A.then(b=>{const[,_]=ioBroker._convertStructure([{status:"fulfilled",value:{type:"objects",retrieved:[...y,...b||{}]}}]);v.root(_,v).then(w=>{console.debug("ioBroker-879bfd43","Parsed devices from "+u+": "+w.length+".");const S=w.map(C=>(C.tags=C.tags||[],C.tags.push(v.namespace),{status:"fulfilled",value:{...C,attributes:{_created:Date.now(),imported:!0}}}));d(S)}).catch(()=>d([]))}).catch(b=>{console.warn("ioBroker-9b782f48",b.message)})}else ioBroker.parseDevices(y).then(A=>{console.debug("ioBroker-aea6eac0","Parsed devices from "+u+": "+A.length+"."),d(A)}).catch(A=>g(A))}).catch(y=>{const A=i18n.global.t("Could not load any adapter devices, channels or states.");console.warn("ioBroker-9595cbe3",A+"!","error",!0,y.stack),g(new Error(A))})}catch(v){const y=i18n.global.t("Adapter structure not defined for adapter %adapter").replace(/%adapter/g,u);console.warn("ioBroker-610766e7",y+"!","error",!0,v.stack),g(new Error(y))}}))}),new Promise(u=>{allSettled(a).then(d=>{let g=[];d.forEach(v=>v.value&&(g=g.concat(v.value))),u(g)})})}static importEnums(r="functions",o=[]){const a=Connection.getConnection,u=[];return new Promise((d,g)=>{a.getObjectView("system","enum").then(v=>{v.forEach(y=>{if(y.id.indexOf("enum.functions.control_center")===-1&&y.id.indexOf("enum."+r)>-1&&y.value&&y.value.common&&y.value.common.members&&Array.isArray(y.value.common.members)&&y.value.common.members.length>0){const A=[];y.value.common.members.forEach(b=>{const _=b.substr(0,b.indexOf("."));o.indexOf(_)>-1&&A.push({id:b})}),u.push(ioBroker.parseDevices(A,{function:y.id.indexOf("enum.functions.")>-1?y.id.replace("enum.functions.",""):null}))}}),allSettled(u).then(y=>{let A=[];y.forEach(b=>{A=A.concat(b.value)}),d(A)})}).catch(v=>{const y=i18n.global.t("Enums could not be retrieved");console.warn("ioBroker-76a5c25f",y+"!","error",!0,v.stack),g(new Error(y))})})}static parseDevices(r,o={}){const a=i18n.global.locale.value||i18n.global.locale||locale,u=Connection.getConnection,d=[];for(const g of r){const v=g.id,y=v.substr(0,v.indexOf(".")),A=adapters[y],b={id:uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39"),name:"unknown device (state "+v+")",function:o.function||"unknown",floor:"",room:"",tags:[y],states:{},options:{},attributes:{_created:Date.now(),imported:!0}};A.devicePattern&&RegExp("^"+A.namespace+"\\.\\d\\."+A.devicePattern+"$").test(v)===!1||d.push(new Promise((_,w)=>{allSettled([new Promise(S=>u.getObjectView("system","device",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"devices"}))),new Promise(S=>u.getObjectView("system","channel",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"channels"}))),new Promise(S=>u.getObjectView("system","folder",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"folder"}))),new Promise(S=>u.getObjectView("system","state",{startkey:v,endkey:v+".\u9999"}).then(C=>S({retrieved:C,type:"objects"}))),new Promise(S=>u.getStates(v+".*").then(C=>S({retrieved:C,type:"states"})))]).then(S=>{const[C,T]=ioBroker._convertStructure(S),I={root:v,list:Object.keys(C),states:C,objects:T};A.parse(I,o).then(E=>{E.name=E.name&&(E.name[a.substr(0,2)]||E.name),_({...b,...E,id:E.name?E.name.toLowerCase().replace(/ /g,"")+"_"+uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39").substr(0,5):uuidv5(v,"4eaf6392-6a70-4802-b343-5ff1a1673f39")})}).catch(E=>{const F=i18n.global.t(E.message).replace("%state",v)+"!";console.warn("ioBroker-aa2a87f4",A.default+": "+F,"warn",!0,E.stack),w({...b,attributes:{_created:Date.now(),...b.attributes,note:F}})})}).catch(S=>{const C=i18n.global.t("Could not retrieve state %state").replace("%state",v);console.warn("ioBroker-e677b45a",C+"!","error",!0,S.stack),w(new Error(C))})}))}return allSettled(d)}static subscribe(r){const o=Connection.getConnection,a=useJarvis();return new Promise((u,d)=>{o.subscribeState(config$n.get("NODE_"+r.toUpperCase()),({err:g,state:v})=>{if(g||!v||v.val===void 0)return d(g||"No State received");try{v.val=typeof v.val=="string"?JSON.parse(v.val):v.val;let{version:y,signature:A,[r]:b}=v.val;y||(b=v.val);const _=Cache$1.get("signatures",{});if(r==="devices"&&b&&(!Cache$1.get(r)||!A||_[r]&&_[r]!==A)?Devices.init(b):r==="settings"&&b&&(!Cache$1.get(r)||!A||_[r]&&_[r]!==A)?ioBroker.applySettings(b):r==="layout"&&(!b||Array.isArray(b)&&b.length===0)&&(A=Date.now(),b=[{id:"2bbbe067-7506-4fac-8a1f-bfbf9f48a9e7",type:"page",icon:"mdi-view-dashboard-variant",title:"Overview",tabs:[{icon:"mdi-desktop-mac-dashboard",title:"Dashboard",id:"674d30a6-83d8-4876-9135-55791d7dfec9",widgetsDesktop:[],widgetsSmartphone:[]}]}]),_[r]&&A&&_[r]===A)console.debug(r,"Received payload, but signature is unchanged. Do nothing.");else{console.debug(r,"Received payload and signature has CHANGED!"),A&&Cache$1.merge("signatures",{[r]:A}),Cache$1.set(r,b);const w=Cache$1.get("scripts.reload");if(r==="scripts"&&A&&(!w||w!==A))return console.warn(r,"Update for Scripts, which requires a reload of the page!",w,A),Cache$1.set("scripts.reload",A),window.location.replace(window.location.href.replace(/[&?]reload=true/gi,"")),window.location.reload(),!1;a.set("watch."+r,Date.now())}return u({key:r,val:b})}catch(y){return console.error(r,"Received payload with error: "+y.message),d(y)}})})}static applySettings(r){console.debug("Apply settings..."),Config.forEach(u=>{u.settings.forEach(d=>{defaultSettings$1[d.id]=d.value!==void 0?d.value:""})});const o=Connection.getConnection,a={...defaultSettings$1,...r};for(const u in a){let d=a[u];try{if(Cache$1.get("hasNightlyReload")!==o.socket.id&&(Cache$1.set("hasNightlyReload",o.socket.id),o.on("#time",v=>{const y=new Date(v);y.getHours()===3&&y.getMinutes()===0&&y.getSeconds()===0&&window.location.reload()})),u.startsWith("breakpoint-")){const v=u.substr(-2);Screen.setSizes({[v]:parseInt(a[u])})}if(u==="themeDarkMode"&&(Cache$1.set("themeDarkMode",d),window.darkMode&&window.darkMode.set(d),d==="auto"&&window.matchMedia&&(d=window.matchMedia("(prefers-color-scheme: dark)").matches?"on":"off",window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",v=>Plugin$3.set(v.matches))),Plugin$3.set(d==="on")),u.startsWith("brand")){const v=u.replace("brand","").toLowerCase();setCssVar(v,d);const y=document.getElementById("theme-color");y&&y.setAttribute("content",getCssVar(Plugin$3.isActive?"dark":"primary"))}if(u==="pageTitle"&&(document.title=d||document.title),u==="language"){const v=d||locale;i18n.global.locale.value=v,Quasar.lang.set(langPackQuasar[v.substr(0,2)])}if(u==="pageFavicon"&&d&&typeof d=="string"&&d.trim().substr(0,5)==="data:"){const v=d.substr(0,d.indexOf(";")).replace("data:image/",""),y=document.getElementsByClassName("favicon");for(const A of y)A.href=d.trim(),A.type="image/"+v.trim()}}catch(g){console.error(g)}}}static subscribeAdapterInstances(){const r=Connection.getConnection,o=useIoBroker();r.subscribeSpecial("AdapterInstances",a=>{const u=Object.keys(a).sort();u&&Array.isArray(u)&&(o.set("instances",{val:a,ts:Date.now()}),o.set("instanceList",{val:u,ts:Date.now()}))})}}var events$1={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function t(r,o,a){return Function.prototype.apply.call(r,o,a)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:ReflectOwnKeys=function(r){return Object.getOwnPropertyNames(r)};function ProcessEmitWarning(t){console&&console.warn&&console.warn(t)}var NumberIsNaN=Number.isNaN||function t(r){return r!==r};function EventEmitter(){EventEmitter.init.call(this)}events$1.exports=EventEmitter;events$1.exports.once=once;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(t){if(typeof t!="number"||t<0||NumberIsNaN(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");defaultMaxListeners=t}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function t(r){if(typeof r!="number"||r<0||NumberIsNaN(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this};function _getMaxListeners(t){return t._maxListeners===void 0?EventEmitter.defaultMaxListeners:t._maxListeners}EventEmitter.prototype.getMaxListeners=function t(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function t(r){for(var o=[],a=1;a0&&(g=o[0]),g instanceof Error)throw g;var v=new Error("Unhandled error."+(g?" ("+g.message+")":""));throw v.context=g,v}var y=d[r];if(y===void 0)return!1;if(typeof y=="function")ReflectApply(y,this,o);else for(var A=y.length,b=arrayClone(y,A),a=0;a0&&g.length>u&&!g.warned){g.warned=!0;var v=new Error("Possible EventEmitter memory leak detected. "+g.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");v.name="MaxListenersExceededWarning",v.emitter=t,v.type=r,v.count=g.length,ProcessEmitWarning(v)}return t}EventEmitter.prototype.addListener=function t(r,o){return _addListener(this,r,o,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function t(r,o){return _addListener(this,r,o,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(t,r,o){var a={fired:!1,wrapFn:void 0,target:t,type:r,listener:o},u=onceWrapper.bind(a);return u.listener=o,a.wrapFn=u,u}EventEmitter.prototype.once=function t(r,o){return checkListener(o),this.on(r,_onceWrap(this,r,o)),this};EventEmitter.prototype.prependOnceListener=function t(r,o){return checkListener(o),this.prependListener(r,_onceWrap(this,r,o)),this};EventEmitter.prototype.removeListener=function t(r,o){var a,u,d,g,v;if(checkListener(o),u=this._events,u===void 0)return this;if(a=u[r],a===void 0)return this;if(a===o||a.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete u[r],u.removeListener&&this.emit("removeListener",r,a.listener||o));else if(typeof a!="function"){for(d=-1,g=a.length-1;g>=0;g--)if(a[g]===o||a[g].listener===o){v=a[g].listener,d=g;break}if(d<0)return this;d===0?a.shift():spliceOne(a,d),a.length===1&&(u[r]=a[0]),u.removeListener!==void 0&&this.emit("removeListener",r,v||o)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function t(r){var o,a,u;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[r]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[r]),this;if(arguments.length===0){var d=Object.keys(a),g;for(u=0;u=0;u--)this.removeListener(r,o[u]);return this};function _listeners(t,r,o){var a=t._events;if(a===void 0)return[];var u=a[r];return u===void 0?[]:typeof u=="function"?o?[u.listener||u]:[u]:o?unwrapListeners(u):arrayClone(u,u.length)}EventEmitter.prototype.listeners=function t(r){return _listeners(this,r,!0)};EventEmitter.prototype.rawListeners=function t(r){return _listeners(this,r,!1)};EventEmitter.listenerCount=function(t,r){return typeof t.listenerCount=="function"?t.listenerCount(r):listenerCount.call(t,r)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(t){var r=this._events;if(r!==void 0){var o=r[t];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}EventEmitter.prototype.eventNames=function t(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(t,r){for(var o=new Array(r),a=0;a{console.warn("Socket","MESSAGE TIMEOUT: ",d,g);const v=new Error("MESSAGE TIMEOUT ("+d+"): "+JSON.stringify(g));this.emittedMessages[d]&&this.processIncomingMessage(d,{error:v,err:v})},u.timeout*1e3))),{messageId:d,messages:JSON.stringify(g).match(/.{1,100000}/g)}}processIncomingMessage(r,o,a){if(o&&o.err==="_isNull"&&(o.err=null),a==="stateChange"||a==="subscribeState"){const u=Object.values(this.stateSubscriptions[o.stateId]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d(o,a))}else if(a==="History"){const u=Object.values(this.historySubscriptions[o.subscriptionKey]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d.cb(o))}else if(a==="Calendar"){const u=Object.values(this.calendarSubscriptions[o.subscriptionKey]||{});Array.isArray(u)&&u.length!==0&&u.forEach(d=>d.cb(o))}else if(a&&["Log","AdapterUpdates","AdapterInstances","ScriptStatuses","CloudDevices","HistoryDevices"].includes(a.replace("subscribe","")))a=a.replace("subscribe",""),this.specialSubscriptions[a]&&this.specialSubscriptions[a].forEach(u=>u(o,a));else if(this.emittedMessages[r]&&this.emittedMessages[r].callback&&typeof this.emittedMessages[r].callback=="function")clearTimeout(this.timeoutMessages[r]),delete this.timeoutMessages[r],this.emittedMessages[r].callback(o,a),(!a||!a.toLowerCase().startsWith("subscribe"))&&delete this.emittedMessages[r];else if(this.timeoutMessages[r]!==void 0)console.warn("Socket","MESSAGE RECEIVED FOR TIMEOUT: ",r,a,o,this.emittedMessages),clearTimeout(this.timeoutMessages[r]);else if(a&&!this.emittedMessages[r]&&!this.timeoutMessages[r])if(a==="#version"){const u=Cache$1.get("versionComparison"),d="3.2.0-rc.1";if(u!==d&&d&&o&&d!==o){console.error("Reload due to version mismatch: "+d+" (App) vs. "+o+" (Server)"),Notify.create({icon:"mdi-alert",type:"negative",message:"Reload due to version mismatch: "+d+" (App) vs. "+o+" (Server)"});const g=Cache$1.get("connection",{},{ns:""});Cache$1.clear(),Cache$1.set("inconsistent",!0),Cache$1.set("connection",g,{ns:""}),Cache$1.set("versionComparison",d),setTimeout(()=>window.location.reload(),3e3)}this.emit(a,o)}else a==="#client"?(this.client=o,this.emit("clientId",this.client.id)):a==="#instance"?this.instance=o:a==="#reload"?location.reload():a==="#disconnect"?(console.error("CLIENT HAS BEEN DISCONNECTED BY SERVER!"),window.location.href=window.location.href+(window.location.href.indexOf("?")?"&":"?")+"disconnect=true",this.disconnect()):this.emit(a,o);else console.warn("Socket","UNKNOWN MESSAGE REVEIVED: ",r,o,this.emittedMessages)}setHistory(r,o,a){if(a){const u=Object.keys(o);this.send("getObject",r,({err:d,object:g})=>{g=g||{},g.common=g.common||{},g.common.custom=g.common.custom||{},Object.keys(g.common.custom).forEach(v=>{g.common.custom[v].enabled=!1}),u.forEach(v=>{g.common.custom[v]=g.common.custom[v]||o[v],g.common.custom[v].enabled=!0}),this.send("setObject",[r,g],a)})}else return new Promise((u,d)=>this.setHistory(r,o,({err:g})=>g?d(g):u()))}authenticate(r="",o){if(o)this.send("authenticate",[r],o);else return new Promise((a,u)=>this.authenticate(r,({err:d,...g})=>(d&&(d={...d,...g}),d?u(d):a(g))))}setCloud(r,o,a){if(a)this.send("getObject",r,({err:u,object:d})=>{o.action==="add"?d.common.smartName={[i18n.global.locale.value.substr(0,2)]:o.name.join(","),smartType:o.function.toUpperCase()}:d.common.smartName=null,this.send("setObject",[r,d],a)});else return new Promise((u,d)=>this.setCloud(r,o,({err:g})=>g?d(g):u()))}setObject(r,o,a){if(a)this.send("setObject",[r,o],a);else return new Promise((u,d)=>this.setObject(r,o,({err:g})=>g?d(g):u()))}getObject(r,o){if(o)this.send("getObject",r,o);else return new Promise((a,u)=>this.getObject(r,({err:d,object:g})=>d?u(d):a(g)))}getObjects(r,o){if(o)this.send("getObjects",r,o);else return new Promise((a,u)=>this.getObjects(r,({err:d,objects:g})=>d?u(d):a(g)))}getObjectView(r,o,a,u){if(typeof a=="function"&&(u=a,a=void 0),u)this.send("getObjectView",[r,o,a],u);else return new Promise((d,g)=>this.getObjectView(r,o,a,({err:v,objects:y})=>v?g(v):d(y)))}getState(r,o){if(o)this.send("getState",r,o);else return new Promise((a,u)=>this.getState(r,({err:d,state:g})=>d?u(d):a(g)))}getStates(r,o){if(o)this.send("getStates",r,o);else return new Promise((a,u)=>this.getStates(r,({err:d,states:g})=>d?u(d):a(g)))}setAdapter(r,o,a){if(a)this.send("setAdapter",[r,o],a);else return new Promise((u,d)=>this.setAdapter(r,o,({err:g,state:v})=>g?d(g):u(v)))}setScript(r,o,a){if(a)this.send("setScript",[r,o],a);else return new Promise((u,d)=>this.setScript(r,o,({err:g,state:v})=>g?d(g):u(v)))}log(r,o="info"){this.send("log",[o,r])}getRooms(r){if(r)this.send("getRooms",null,r);else return new Promise((o,a)=>this.getRooms(({err:u,rooms:d})=>u?a(u):o(d)))}readFile(r,o){if(o)this.send("readFile",[r],o);else return new Promise((a,u)=>this.readFile(r,({err:d,data:g})=>d?u(d):a(g)))}setState(r,o,a,u){if(typeof a=="function"&&(u=a,a=!0),u)this.send("setState",[r,o,a],u);else return new Promise((d,g)=>this.setState(r,o,a,({err:v})=>v?g(v):d()))}getSpecial(r,o,a){if(a)this.send("getSpecial",[r,o],a);else return new Promise((u,d)=>this.getSpecial(r,o,({err:g,...v})=>g?d(g):u(...v)))}unsubscribeSpecial(r,o){if(this.specialSubscriptions[r]&&this.specialSubscriptions[r].indexOf(o)!==-1){const a=this.specialSubscriptions[r].findIndex(u=>u===o);delete this.specialSubscriptions[r].splice(a,1)}}subscribeSpecial(r,o,a){typeof o=="function"&&(a=o,o={}),(!this.specialSubscriptions[r]||this.specialSubscriptions[r].indexOf(a)===-1)&&(this.specialSubscriptions[r]=this.specialSubscriptions[r]||[],this.specialSubscriptions[r].push(a)),this.send("subscribe"+r,o)}subscribeCalendar(r,o,a,u){this.calendarSubscriptions[r]=this.calendarSubscriptions[r]||[],this.calendarSubscriptions[r].push({cb:u,subscriptionKey:r,calendar:o,options:a}),this.send("subscribeCalendar",[r,o,a],u)}subscribeHistory(r,o,a,u){this.historySubscriptions[r]=this.historySubscriptions[r]||[],this.historySubscriptions[r].push({cb:u,subscriptionKey:r,stateId:o,options:a}),this.send("subscribeHistory",[r,o,a],u)}subscribeState(r,o){if(!r)return o({err:new Error("No state given for subscription!")}),!1;r=r.replace(/{clientId}/g,this.clientId),this.stateSubscriptions[r]=this.stateSubscriptions[r]||{};const a=v4();return this.stateSubscriptions[r][a]=o,this.delayStateRequests[r]&&clearTimeout(this.delayStateRequests[r]),this.delayStateRequests[r]=setTimeout(()=>this.send("subscribeState",r),50),r+":"+a}subscribeStates(r,o){return r=Array.isArray(r)?r:[r],r.map(a=>this.subscribeState(a,o))}unsubscribeStates(r){this.stateSubscriptions&&r&&Array.isArray(r)&&r.forEach(o=>{const[a,u]=o.split(":");this.stateSubscriptions[a]&&this.stateSubscriptions[a][u]&&delete this.stateSubscriptions[a][u]})}refreshSubscribedStates(r=null){for(const o in this.stateSubscriptions)o.startsWith("jarvis.")||Object.values(this.stateSubscriptions[o]).forEach(a=>{this.send("getState",o,a)})}unsubscribe(r,o,a,u){this.send("unsubscribe",[r,o,a],u),this.historySubscriptions[o]&&delete this.historySubscriptions[o]}reset(){this.stateSubscriptions={},this.historySubscriptions={}}}class ws extends Socket{constructor(r){super(),this.bufferEnabled=!1,this.buffer=[],this.errorCodes={1e3:"Normal closure, meaning that the purpose for which the connection was established has been fulfilled.",1001:'An endpoint is "going away", such as a server going down or a browser having navigated away from a page.',1002:"An endpoint is terminating the connection due to a protocol error.",1003:"An endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).",1004:"Reserved. The specific meaning might be defined in the future.",1005:"No status code was actually present.",1006:"The connection was closed abnormally, e.g., without sending or receiving a Close control frame.",1007:"An endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [https://www.rfc-editor.org/rfc/rfc3629] data within a text message).",1008:'An endpoint is terminating the connection because it has received a message that "violates its policy". This reason is given either if there is no other sutible reason, or if there is a need to hide specific details about the policy.',1009:"An endpoint is terminating the connection because it has received a message that is too big for it to process.",1010:"An endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.",1011:"A server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.",1015:"The connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."}}connect(r,o={}){const a=useJarvis();let u=null;return this.disconnected===!0?Promise.reject(new Error('Connection to "'+r+'" got disconnected on purpose, thus connection canceled!')):(r=r.replace("http","ws"),new Promise((d,g)=>{u=setTimeout(()=>g(new Error('Connection to "'+r+'" not established due to timeout!')),5*1e3);const v=[];this.client&&v.push("clientId="+encodeURIComponent(this.client.id)),this.client&&v.push("instanceId="+encodeURIComponent(this.client.instanceId)),v.push("userAgent="+encodeURIComponent(Platform.userAgent)),this.socket=new WebSocket(r+"?"+v.join("&")),this.socket.id=v4(),this.socket.onopen=()=>(u&&clearTimeout(u),console.log("Socket","Connected to "+r+"."),this.url=r,a.set("connection","connected"),this.socket.send(JSON.stringify({event:"authenticate",payload:{role:"client",serverId:"iobrokerid"}})),console.log("Socket","Listen for messages.."),this.listener(),this.pinger(),window.Socket=this,d({socket:this,url:r})),this.socket.onerror=y=>{console.warn("Socket","Connecting to {url} errored!".replace("{url}",r)),window.Socket=null,a.set("connection",!1),g(y)},this.socket.onclose=y=>{console.debug("Socket","Connection to "+r+" closed."),window.Socket=null,a.set("connection",!1),this.url&&!this.tryToReconnect&&this.disconnected!==!0&&this.reconnect()}}))}pinger(){this.pingTimer=setTimeout(()=>this.pinger(),60*1e3),this.send("ping")}reconnect(r=1){const o=useJarvis();return this.disconnected!==!0&&this.tryToReconnect!==!0?(o.set("connection","reconnect"),this.tryToReconnect=!0,console.log("Socket","Attempt to reconnect to "+this.url+" ("+r+")..."),this.connect(this.url,{}).then(({socket:a,url:u})=>(o.set("connection","established"),a.authenticate().then(()=>({socket:a,url:u})).catch(d=>{throw this.tryToReconnect=!1,o.set("authentication.page",d.authenticationMethod),createRouter.push({name:"Login"}).catch(g=>console.error(g)),d}))).then(({socket:a,url:u})=>{o.set("connection","connected"),this.tryToReconnect=!1,this.reloads++,this.emittedMessages={},this.timeoutMessages={},console.info("Socket","Re-Subscribe to states",this.stateSubscriptions);for(const d in this.stateSubscriptions)Object.values(this.stateSubscriptions[d]).forEach(g=>g&&this.subscribeState(d,g));console.info("Socket","Re-Subscribe to history",this.historySubscriptions);for(const d in this.historySubscriptions)this.historySubscriptions[d].forEach(g=>g&&this.subscribeHistory(d,g.stateId,g.options,g.cb));return console.info("Socket","Re-Subscribe to adapter instances"),ioBroker.subscribeAdapterInstances(),{socket:a,url:u}}).catch(a=>{a.authenticationMethod===void 0&&(r++,setTimeout(()=>{this.tryToReconnect=!1,this.reconnect(r)},5e3))})):Promise.reject("Already reconnecting!")}disconnect(){this.disconnected=!0,this.socket&&this.socket.close(),this.socket=null,this.pingTimer&&clearTimeout(this.pingTimer),this.client=null,this.buffer=[]}listener(){const r={};this.socket.onmessage=o=>{try{const a=JSON.parse(o.data),{messageId:u,action:d,index:g,length:v,chunk:y}=a;if(r[u]=r[u]||{},r[u][g]=y,Object.keys(r[u]).length===v){const A=JSON.parse(Object.values(r[u]).join(""));this.processIncomingMessage(u,A,d),delete r[u]}}catch(a){console.warn("Socket",a.message,a)}}}send(...r){const{messageId:o,messages:a}=this.prepareMessageChunks(...r);if(this.socket&&this.socket.readyState===1){this.bufferEnabled&&this.buffer.length>0&&(console.debug("Socket reconnected, "+this.buffer.length+" buffered messages will be send..."),this.buffer.forEach(d=>{const g=a.length;d.messages.forEach((v,y)=>{this.socket.send(JSON.stringify({event:"message",messageId:d.messageId,index:y,length:g,chunk:v}))})}),this.buffer=[]);const u=a.length;a.forEach((d,g)=>{this.socket.send(JSON.stringify({event:"message",messageId:o,index:g,length:u,chunk:d}))})}else this.bufferEnabled&&console.debug("Socket not connected. Message buffered...",a)}}class Connection{static connect(r=null,o={}){return r=r||Connection._url||window.location.origin,Connection._connection&&Connection._connection.socket&&Connection._connection.socket.readyState===1?(console.log("Connection","Connection still established.",Connection._connection.url),Promise.resolve({socket:Connection._connection,url:Connection._url})):(o&&(o.secure||o.socketSecure)&&(o.allowUntrusted||o.secureTrustUnsecureCerts)&&SslSkip&&SslSkip.setAllowUntrusted&&SslSkip.setAllowUntrusted({allowUntrusted:o.allowUntrusted||o.secureTrustUnsecureCerts}).catch(u=>{u.message.indexOf("is not implemented on web")===-1&&console.error(u.message)}),new ws().connect(r,o).then(u=>{Connection._url=u.url,Connection._connection=u.socket;const d=Cache$1.get("recentConnections",[],{ns:""});return d.find(g=>g.socketUrl===u.url)||(d.push({...o,socketUrl:u.url}),Cache$1.set("recentConnections",d,{ns:""})),u}))}static get getConnection(){return Connection._connection||null}}const app=createApp({});app.config.errorHandler=(t,r,o)=>{console.error("Global",t&&t.message||t)};window.console=config$n.get("IS_DEV")?window.console:function(t){(!window.console||!t)&&(t={});const r=o=>{if(typeof o!="object")return o;const a=[];return JSON.stringify(o,(u,d)=>{if(d!==null&&typeof d=="object"){if(a.indexOf(d)!==-1)return;a.push(d)}return d})};return{log:function(){this.handleLog([...arguments],"logs"),t.log&&t.log.apply(t,arguments)},warn:function(){this.handleLog([...arguments],"warn"),t.warn&&t.warn.apply(t,arguments)},error:function(){this.handleLog([...arguments],"error"),t.error&&t.error.apply(t,arguments)},info:function(){this.handleLog([...arguments],"info"),t.info&&t.info.apply(t,arguments)},debug:function(){this.handleLog([...arguments],"debug"),t.debug&&t.debug.apply(t,arguments)},handleLog:function(o,a){o=o.map(d=>(d=d instanceof Error?d.message:d,d=Array.isArray(d)?d.join(", "):d,d=typeof d=="object"?r(d):d,d));const u=Connection.getConnection;u&&u.send("log",[a,o],()=>{})}}}(window.console);const useNotifications=defineStore("notifications",{state:()=>({all:[],new:null}),getters:{getAll(t){return t.all},getNew(t){return t.new},getUnread(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return(!o.state||o.state==="unread")&&(!a||a.includes(r.client.id))})},getActive(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return o.state!=="archived"&&(!a||a.includes(r.client.id))}).reverse()},getArchived(t){const r=Connection.getConnection;return t.all.filter(o=>{const a=!o.devices||Array.isArray(o.devices)?o.devices:[o.devices];return o.state==="archived"&&(!a||a.includes(r.client.id))}).reverse()}},actions:{setAll(t){const r=!t.notifications||!Array.isArray(t.notifications)?[]:t.notifications.map(o=>({...o,id:o.id||v4()}));JSON.stringify(r)!==JSON.stringify(this.all)&&(this.all=r)},setNew(t){this.new={ts:Date.now(),...t||{}}},set(t){const r=this.all.findIndex(o=>o.id===t.notificationId);r>-1&&(this.all.splice(r,1,{...this.all[r],...t.props}),this.save({notifications:this.all}))},del(t){const r=this.all.findIndex(o=>o.id===t.notificationId);r>-1&&(this.all.splice(r,1),this.save({notifications:this.all}))},save(t){Connection.getConnection.setState(config$n.get("NODE_NOTIFICATIONS"),JSON.stringify(t.notifications),!1).catch(o=>console.warn("Notifications",o.message||o))},subscribe(){if(!Pro.isPro())return Promise.reject("Notifications is only available to Pro!");const t=Connection.getConnection;return t.on("notification",r=>{r=Array.isArray(r)?r:[r],this.setNew({notifications:r})}),t.subscribeState(config$n.get("NODE_NOTIFICATIONS"),({err:r,state:o})=>{let a=[];if(!r&&o&&o.val)try{a=JSON.parse(o.val),this.setAll({notifications:a}),this.new&&this.new.notifications&&this.new.notifications.forEach(u=>{const d=a.find(g=>g.id===u.id);d&&u.state!==d.state&&this.setNew(null)})}catch(u){console.warn(u)}}),Promise.resolve()}}});var check=function(t){return t&&t.Math===Math&&t},globalThis_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||check(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$f=function(t){try{return!!t()}catch(r){return!0}},fails$e=fails$f,descriptors=!fails$e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),fails$d=fails$f,functionBindNative=!fails$d(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,call$8=Function.prototype.call,functionCall=NATIVE_BIND$1?call$8.bind(call$8):function(){return call$8.apply(call$8,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function t(r){var o=getOwnPropertyDescriptor$1(this,r);return!!o&&o.enumerable}:$propertyIsEnumerable;var createPropertyDescriptor$3=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}},NATIVE_BIND=functionBindNative,FunctionPrototype$1=Function.prototype,call$7=FunctionPrototype$1.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype$1.bind.bind(call$7,call$7),functionUncurryThis=NATIVE_BIND?uncurryThisWithBind:function(t){return function(){return call$7.apply(t,arguments)}},uncurryThis$d=functionUncurryThis,toString$7=uncurryThis$d({}.toString),stringSlice$3=uncurryThis$d("".slice),classofRaw$2=function(t){return stringSlice$3(toString$7(t),8,-1)},uncurryThis$c=functionUncurryThis,fails$c=fails$f,classof$6=classofRaw$2,$Object$4=Object,split$1=uncurryThis$c("".split),indexedObject=fails$c(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(t){return classof$6(t)==="String"?split$1(t,""):$Object$4(t)}:$Object$4,isNullOrUndefined$4=function(t){return t==null},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$8=TypeError,requireObjectCoercible$4=function(t){if(isNullOrUndefined$3(t))throw new $TypeError$8("Can't call method on "+t);return t},IndexedObject=indexedObject,requireObjectCoercible$3=requireObjectCoercible$4,toIndexedObject$4=function(t){return IndexedObject(requireObjectCoercible$3(t))},documentAll=typeof document=="object"&&document.all,isCallable$f=typeof documentAll=="undefined"&&documentAll!==void 0?function(t){return typeof t=="function"||t===documentAll}:function(t){return typeof t=="function"},isCallable$e=isCallable$f,isObject$j=function(t){return typeof t=="object"?t!==null:isCallable$e(t)},globalThis$e=globalThis_1,isCallable$d=isCallable$f,aFunction=function(t){return isCallable$d(t)?t:void 0},getBuiltIn$4=function(t,r){return arguments.length<2?aFunction(globalThis$e[t]):globalThis$e[t]&&globalThis$e[t][r]},uncurryThis$b=functionUncurryThis,objectIsPrototypeOf=uncurryThis$b({}.isPrototypeOf),globalThis$d=globalThis_1,navigator$1=globalThis$d.navigator,userAgent$2=navigator$1&&navigator$1.userAgent,environmentUserAgent=userAgent$2?String(userAgent$2):"",globalThis$c=globalThis_1,userAgent$1=environmentUserAgent,process$1=globalThis$c.process,Deno=globalThis$c.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,match$1,version$2;v8&&(match$1=v8.split("."),version$2=match$1[0]>0&&match$1[0]<4?1:+(match$1[0]+match$1[1]));!version$2&&userAgent$1&&(match$1=userAgent$1.match(/Edge\/(\d+)/),(!match$1||match$1[1]>=74)&&(match$1=userAgent$1.match(/Chrome\/(\d+)/),match$1&&(version$2=+match$1[1])));var environmentV8Version=version$2,V8_VERSION=environmentV8Version,fails$b=fails$f,globalThis$b=globalThis_1,$String$4=globalThis$b.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$b(function(){var t=Symbol("symbol detection");return!$String$4(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",getBuiltIn$3=getBuiltIn$4,isCallable$c=isCallable$f,isPrototypeOf$1=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$6=USE_SYMBOL_AS_UID$1?function(t){return typeof t=="symbol"}:function(t){var r=getBuiltIn$3("Symbol");return isCallable$c(r)&&isPrototypeOf$1(r.prototype,$Object$3(t))},$String$3=String,tryToString$2=function(t){try{return $String$3(t)}catch(r){return"Object"}},isCallable$b=isCallable$f,tryToString$1=tryToString$2,$TypeError$7=TypeError,aCallable$1=function(t){if(isCallable$b(t))return t;throw new $TypeError$7(tryToString$1(t)+" is not a function")},aCallable=aCallable$1,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$2=function(t,r){var o=t[r];return isNullOrUndefined$2(o)?void 0:aCallable(o)},call$6=functionCall,isCallable$a=isCallable$f,isObject$i=isObject$j,$TypeError$6=TypeError,ordinaryToPrimitive$1=function(t,r){var o,a;if(r==="string"&&isCallable$a(o=t.toString)&&!isObject$i(a=call$6(o,t))||isCallable$a(o=t.valueOf)&&!isObject$i(a=call$6(o,t))||r!=="string"&&isCallable$a(o=t.toString)&&!isObject$i(a=call$6(o,t)))return a;throw new $TypeError$6("Can't convert object to primitive value")},sharedStore={exports:{}},isPure=!1,globalThis$a=globalThis_1,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$5(globalThis$a,t,{value:r,configurable:!0,writable:!0})}catch(o){globalThis$a[t]=r}return r},globalThis$9=globalThis_1,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=sharedStore.exports=globalThis$9[SHARED]||defineGlobalProperty$2(SHARED,{});(store$3.versions||(store$3.versions=[])).push({version:"3.38.1",mode:"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var store$2=sharedStore.exports,shared$4=function(t,r){return store$2[t]||(store$2[t]=r||{})},requireObjectCoercible$2=requireObjectCoercible$4,$Object$2=Object,toObject$2=function(t){return $Object$2(requireObjectCoercible$2(t))},uncurryThis$a=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty$f=uncurryThis$a({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function t(r,o){return hasOwnProperty$f(toObject$1(r),o)},uncurryThis$9=functionUncurryThis,id=0,postfix=Math.random(),toString$6=uncurryThis$9(1 .toString),uid$2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+toString$6(++id+postfix,36)},globalThis$8=globalThis_1,shared$3=shared$4,hasOwn$a=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$6=globalThis$8.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$6.for||Symbol$6:Symbol$6&&Symbol$6.withoutSetter||uid$1,wellKnownSymbol$8=function(t){return hasOwn$a(WellKnownSymbolsStore,t)||(WellKnownSymbolsStore[t]=NATIVE_SYMBOL&&hasOwn$a(Symbol$6,t)?Symbol$6[t]:createWellKnownSymbol("Symbol."+t)),WellKnownSymbolsStore[t]},call$5=functionCall,isObject$h=isObject$j,isSymbol$5=isSymbol$6,getMethod$1=getMethod$2,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$7=wellKnownSymbol$8,$TypeError$5=TypeError,TO_PRIMITIVE=wellKnownSymbol$7("toPrimitive"),toPrimitive$1=function(t,r){if(!isObject$h(t)||isSymbol$5(t))return t;var o=getMethod$1(t,TO_PRIMITIVE),a;if(o){if(r===void 0&&(r="default"),a=call$5(o,t,r),!isObject$h(a)||isSymbol$5(a))return a;throw new $TypeError$5("Can't convert object to primitive value")}return r===void 0&&(r="number"),ordinaryToPrimitive(t,r)},toPrimitive=toPrimitive$1,isSymbol$4=isSymbol$6,toPropertyKey$2=function(t){var r=toPrimitive(t,"string");return isSymbol$4(r)?r:r+""},globalThis$7=globalThis_1,isObject$g=isObject$j,document$1=globalThis$7.document,EXISTS$1=isObject$g(document$1)&&isObject$g(document$1.createElement),documentCreateElement$1=function(t){return EXISTS$1?document$1.createElement(t):{}},DESCRIPTORS$7=descriptors,fails$a=fails$f,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$7&&!fails$a(function(){return Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a!==7}),DESCRIPTORS$6=descriptors,call$4=functionCall,propertyIsEnumerableModule=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$3=toIndexedObject$4,toPropertyKey$1=toPropertyKey$2,hasOwn$9=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function t(r,o){if(r=toIndexedObject$3(r),o=toPropertyKey$1(o),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(r,o)}catch(a){}if(hasOwn$9(r,o))return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule.f,r,o),r[o])};var objectDefineProperty={},DESCRIPTORS$5=descriptors,fails$9=fails$f,v8PrototypeDefineBug=DESCRIPTORS$5&&fails$9(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),isObject$f=isObject$j,$String$2=String,$TypeError$4=TypeError,anObject$8=function(t){if(isObject$f(t))return t;throw new $TypeError$4($String$2(t)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$3=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG$1?function t(r,o,a){if(anObject$7(r),o=toPropertyKey(o),anObject$7(a),typeof r=="function"&&o==="prototype"&&"value"in a&&WRITABLE in a&&!a[WRITABLE]){var u=$getOwnPropertyDescriptor(r,o);u&&u[WRITABLE]&&(r[o]=a.value,a={configurable:CONFIGURABLE$1 in a?a[CONFIGURABLE$1]:u[CONFIGURABLE$1],enumerable:ENUMERABLE in a?a[ENUMERABLE]:u[ENUMERABLE],writable:!1})}return $defineProperty(r,o,a)}:$defineProperty:function t(r,o,a){if(anObject$7(r),o=toPropertyKey(o),anObject$7(a),IE8_DOM_DEFINE)try{return $defineProperty(r,o,a)}catch(u){}if("get"in a||"set"in a)throw new $TypeError$3("Accessors not supported");return"value"in a&&(r[o]=a.value),r};var DESCRIPTORS$3=descriptors,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$2=DESCRIPTORS$3?function(t,r,o){return definePropertyModule$3.f(t,r,createPropertyDescriptor$1(1,o))}:function(t,r,o){return t[r]=o,t},makeBuiltIn$2={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$8=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$8(FunctionPrototype,"name"),PROPER=EXISTS&&function t(){}.name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||DESCRIPTORS$2&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS,PROPER,CONFIGURABLE},uncurryThis$8=functionUncurryThis,isCallable$9=isCallable$f,store$1=sharedStore.exports,functionToString=uncurryThis$8(Function.toString);isCallable$9(store$1.inspectSource)||(store$1.inspectSource=function(t){return functionToString(t)});var inspectSource$2=store$1.inspectSource,globalThis$6=globalThis_1,isCallable$8=isCallable$f,WeakMap$5=globalThis$6.WeakMap,weakMapBasicDetection=isCallable$8(WeakMap$5)&&/native code/.test(String(WeakMap$5)),shared$2=shared$4,uid=uid$2,keys$5=shared$2("keys"),sharedKey$3=function(t){return keys$5[t]||(keys$5[t]=uid(t))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,globalThis$5=globalThis_1,isObject$e=isObject$j,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$7=hasOwnProperty_1,shared$1=sharedStore.exports,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=globalThis$5.TypeError,WeakMap$4=globalThis$5.WeakMap,set$2,get$3,has$5,enforce=function(t){return has$5(t)?get$3(t):set$2(t,{})},getterFor=function(t){return function(r){var o;if(!isObject$e(r)||(o=get$3(r)).type!==t)throw new TypeError$1("Incompatible receiver, "+t+" required");return o}};if(NATIVE_WEAK_MAP||shared$1.state){var store=shared$1.state||(shared$1.state=new WeakMap$4);store.get=store.get,store.has=store.has,store.set=store.set,set$2=function(t,r){if(store.has(t))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return r.facade=t,store.set(t,r),r},get$3=function(t){return store.get(t)||{}},has$5=function(t){return store.has(t)}}else{var STATE=sharedKey$2("state");hiddenKeys$3[STATE]=!0,set$2=function(t,r){if(hasOwn$7(t,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return r.facade=t,createNonEnumerableProperty$1(t,STATE,r),r},get$3=function(t){return hasOwn$7(t,STATE)?t[STATE]:{}},has$5=function(t){return hasOwn$7(t,STATE)}}var internalState={set:set$2,get:get$3,has:has$5,enforce,getterFor},uncurryThis$7=functionUncurryThis,fails$8=fails$f,isCallable$7=isCallable$f,hasOwn$6=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$1=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$2=InternalStateModule$1.get,$String$1=String,defineProperty$4=Object.defineProperty,stringSlice$2=uncurryThis$7("".slice),replace$1=uncurryThis$7("".replace),join=uncurryThis$7([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$8(function(){return defineProperty$4(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(t,r,o){stringSlice$2($String$1(r),0,7)==="Symbol("&&(r="["+replace$1($String$1(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(r="get "+r),o&&o.setter&&(r="set "+r),(!hasOwn$6(t,"name")||CONFIGURABLE_FUNCTION_NAME&&t.name!==r)&&(DESCRIPTORS$1?defineProperty$4(t,"name",{value:r,configurable:!0}):t.name=r),CONFIGURABLE_LENGTH&&o&&hasOwn$6(o,"arity")&&t.length!==o.arity&&defineProperty$4(t,"length",{value:o.arity});try{o&&hasOwn$6(o,"constructor")&&o.constructor?DESCRIPTORS$1&&defineProperty$4(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(u){}var a=enforceInternalState(t);return hasOwn$6(a,"source")||(a.source=join(TEMPLATE,typeof r=="string"?r:"")),t};Function.prototype.toString=makeBuiltIn$1(function t(){return isCallable$7(this)&&getInternalState$2(this).source||inspectSource$1(this)},"toString");var isCallable$6=isCallable$f,definePropertyModule$2=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(t,r,o,a){a||(a={});var u=a.enumerable,d=a.name!==void 0?a.name:r;if(isCallable$6(o)&&makeBuiltIn(o,d,a),a.global)u?t[r]=o:defineGlobalProperty$1(r,o);else{try{a.unsafe?t[r]&&(u=!0):delete t[r]}catch(g){}u?t[r]=o:definePropertyModule$2.f(t,r,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function t(r){var o=+r;return(o>0?floor:ceil)(o)},trunc=mathTrunc,toIntegerOrInfinity$3=function(t){var r=+t;return r!==r||r===0?0:trunc(r)},toIntegerOrInfinity$2=toIntegerOrInfinity$3,max$4=Math.max,min$5=Math.min,toAbsoluteIndex$1=function(t,r){var o=toIntegerOrInfinity$2(t);return o<0?max$4(o+r,0):min$5(o,r)},toIntegerOrInfinity$1=toIntegerOrInfinity$3,min$4=Math.min,toLength$2=function(t){var r=toIntegerOrInfinity$1(t);return r>0?min$4(r,9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$1=function(t){return toLength$1(t.length)},toIndexedObject$2=toIndexedObject$4,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod$1=function(t){return function(r,o,a){var u=toIndexedObject$2(r),d=lengthOfArrayLike(u);if(d===0)return!t&&-1;var g=toAbsoluteIndex(a,d),v;if(t&&o!==o){for(;d>g;)if(v=u[g++],v!==v)return!0}else for(;d>g;g++)if((t||g in u)&&u[g]===o)return t||g||0;return!t&&-1}},arrayIncludes={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},uncurryThis$6=functionUncurryThis,hasOwn$5=hasOwnProperty_1,toIndexedObject$1=toIndexedObject$4,indexOf$3=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$1=uncurryThis$6([].push),objectKeysInternal=function(t,r){var o=toIndexedObject$1(t),a=0,u=[],d;for(d in o)!hasOwn$5(hiddenKeys$2,d)&&hasOwn$5(o,d)&&push$1(u,d);for(;r.length>a;)hasOwn$5(o,d=r[a++])&&(~indexOf$3(u,d)||push$1(u,d));return u},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$2.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function t(r){return internalObjectKeys$1(r,hiddenKeys$1)};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var getBuiltIn$2=getBuiltIn$4,uncurryThis$5=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat=uncurryThis$5([].concat),ownKeys$2=getBuiltIn$2("Reflect","ownKeys")||function t(r){var o=getOwnPropertyNamesModule.f(anObject$6(r)),a=getOwnPropertySymbolsModule.f;return a?concat(o,a(r)):o},hasOwn$4=hasOwnProperty_1,ownKeys$1=ownKeys$2,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(t,r,o){for(var a=ownKeys$1(r),u=definePropertyModule$1.f,d=getOwnPropertyDescriptorModule.f,g=0;gg;)definePropertyModule.f(r,v=u[g++],a[v]);return r};var getBuiltIn$1=getBuiltIn$4,html$2=getBuiltIn$1("document","documentElement"),anObject$4=anObject$8,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$1("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return LT+SCRIPT+GT+t+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(t){t.write(scriptTag("")),t.close();var r=t.parentWindow.Object;return t=null,r},NullProtoObjectViaIFrame=function(){var t=documentCreateElement("iframe"),r="java"+SCRIPT+":",o;return t.style.display="none",html$1.appendChild(t),t.src=String(r),o=t.contentWindow.document,o.open(),o.write(scriptTag("document.F=Object")),o.close(),o.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(r){}NullProtoObject=typeof document!="undefined"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var t=enumBugKeys.length;t--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[t]];return NullProtoObject()};hiddenKeys[IE_PROTO$1]=!0;var objectCreate$1=Object.create||function t(r,o){var a;return r!==null?(EmptyConstructor[PROTOTYPE]=anObject$4(r),a=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,a[IE_PROTO$1]=r):a=NullProtoObject(),o===void 0?a:definePropertiesModule.f(a,o)},fails$6=fails$f,correctPrototypeGetter=!fails$6(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),hasOwn$3=hasOwnProperty_1,isCallable$4=isCallable$f,toObject=toObject$2,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey("IE_PROTO"),$Object$1=Object,ObjectPrototype=$Object$1.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object$1.getPrototypeOf:function(t){var r=toObject(t);if(hasOwn$3(r,IE_PROTO))return r[IE_PROTO];var o=r.constructor;return isCallable$4(o)&&r instanceof o?o.prototype:r instanceof $Object$1?ObjectPrototype:null},fails$5=fails$f,isCallable$3=isCallable$f,isObject$d=isObject$j,getPrototypeOf=objectGetPrototypeOf,defineBuiltIn$1=defineBuiltIn$3,wellKnownSymbol$6=wellKnownSymbol$8,ITERATOR=wellKnownSymbol$6("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$d(IteratorPrototype$1)||fails$5(function(){var t={};return IteratorPrototype$1[ITERATOR].call(t)!==t});NEW_ITERATOR_PROTOTYPE&&(IteratorPrototype$1={});isCallable$3(IteratorPrototype$1[ITERATOR])||defineBuiltIn$1(IteratorPrototype$1,ITERATOR,function(){return this});var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS},defineProperty$3=objectDefineProperty.f,hasOwn$2=hasOwnProperty_1,wellKnownSymbol$5=wellKnownSymbol$8,TO_STRING_TAG$2=wellKnownSymbol$5("toStringTag"),setToStringTag$1=function(t,r,o){t&&!o&&(t=t.prototype),t&&!hasOwn$2(t,TO_STRING_TAG$2)&&defineProperty$3(t,TO_STRING_TAG$2,{configurable:!0,value:r})},IteratorPrototype=iteratorsCore.IteratorPrototype,create$4=objectCreate$1,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag=setToStringTag$1,iteratorCreateConstructor=function(t,r,o,a){var u=r+" Iterator";return t.prototype=create$4(IteratorPrototype,{next:createPropertyDescriptor(+!a,o)}),setToStringTag(t,u,!1),t},createIterResultObject$1=function(t,r){return{value:t,done:r}},wellKnownSymbol$4=wellKnownSymbol$8,TO_STRING_TAG$1=wellKnownSymbol$4("toStringTag"),test={};test[TO_STRING_TAG$1]="z";var toStringTagSupport=String(test)==="[object z]",TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$2=isCallable$f,classofRaw=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$8,TO_STRING_TAG=wellKnownSymbol$3("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(t,r){try{return t[r]}catch(o){}},classof$5=TO_STRING_TAG_SUPPORT?classofRaw:function(t){var r,o,a;return t===void 0?"Undefined":t===null?"Null":typeof(o=tryGet(r=$Object(t),TO_STRING_TAG))=="string"?o:CORRECT_ARGUMENTS?classofRaw(r):(a=classofRaw(r))==="Object"&&isCallable$2(r.callee)?"Arguments":a},classof$4=classof$5,$String=String,toString$5=function(t){if(classof$4(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(t)},isObject$c=isObject$j,classof$3=classofRaw$2,wellKnownSymbol$2=wellKnownSymbol$8,MATCH=wellKnownSymbol$2("match"),isRegexp=function(t){var r;return isObject$c(t)&&((r=t[MATCH])!==void 0?!!r:classof$3(t)==="RegExp")},anObject$3=anObject$8,regexpFlags$1=function(){var t=anObject$3(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},call$3=functionCall,hasOwn$1=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$1=RegExp.prototype,regexpGetFlags=function(t){var r=t.flags;return r===void 0&&!("flags"in RegExpPrototype$1)&&!hasOwn$1(t,"flags")&&isPrototypeOf(RegExpPrototype$1,t)?call$3(regExpFlags,t):r},uncurryThis$3=functionUncurryThis,fails$4=fails$f,isCallable$1=isCallable$f,classof$2=classof$5,getBuiltIn=getBuiltIn$4,inspectSource=inspectSource$2,noop$2=function(){},construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop$2),isConstructorModern=function t(r){if(!isCallable$1(r))return!1;try{return construct(noop$2,[],r),!0}catch(o){return!1}},isConstructorLegacy=function t(r){if(!isCallable$1(r))return!1;switch(classof$2(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(r))}catch(o){return!0}};isConstructorLegacy.sham=!0;var isConstructor$1=!construct||fails$4(function(){var t;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){t=!0})||t})?isConstructorLegacy:isConstructorModern,isConstructor=isConstructor$1,tryToString=tryToString$2,$TypeError$2=TypeError,aConstructor$1=function(t){if(isConstructor(t))return t;throw new $TypeError$2(tryToString(t)+" is not a constructor")},anObject$2=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$1=wellKnownSymbol$8,SPECIES=wellKnownSymbol$1("species"),speciesConstructor$1=function(t,r){var o=anObject$2(t).constructor,a;return o===void 0||isNullOrUndefined$1(a=anObject$2(o)[SPECIES])?r:aConstructor(a)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity=toIntegerOrInfinity$3,toString$4=toString$5,requireObjectCoercible$1=requireObjectCoercible$4,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$1=uncurryThis$2("".slice),createMethod=function(t){return function(r,o){var a=toString$4(requireObjectCoercible$1(r)),u=toIntegerOrInfinity(o),d=a.length,g,v;return u<0||u>=d?t?"":void 0:(g=charCodeAt(a,u),g<55296||g>56319||u+1===d||(v=charCodeAt(a,u+1))<56320||v>57343?t?charAt$2(a,u):g:t?stringSlice$1(a,u,u+2):(g-55296<<10)+(v-56320)+65536)}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(t,r,o){return r+(o?charAt$1(t,r).length:1)},fails$3=fails$f,globalThis$3=globalThis_1,$RegExp$2=globalThis$3.RegExp,UNSUPPORTED_Y$1=fails$3(function(){var t=$RegExp$2("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$3(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$3(function(){var t=$RegExp$2("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),regexpStickyHelpers={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$2=fails$f,globalThis$2=globalThis_1,$RegExp$1=globalThis$2.RegExp,regexpUnsupportedDotAll=fails$2(function(){var t=$RegExp$1(".","s");return!(t.dotAll&&t.test(` `)&&t.flags==="s")}),fails$1=fails$f,globalThis$1=globalThis_1,$RegExp=globalThis$1.RegExp,regexpUnsupportedNcg=fails$1(function(){var t=$RegExp("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),call$2=functionCall,uncurryThis$1=functionUncurryThis,toString$3=toString$5,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$4,create$3=objectCreate$1,getInternalState$1=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis$1("".charAt),indexOf$2=uncurryThis$1("".indexOf),replace=uncurryThis$1("".replace),stringSlice=uncurryThis$1("".slice),UPDATES_LAST_INDEX_WRONG=function(){var t=/a/,r=/b*/g;return call$2(nativeExec,t,"a"),call$2(nativeExec,r,"a"),t.lastIndex!==0||r.lastIndex!==0}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=/()??/.exec("")[1]!==void 0,PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG;PATCH&&(patchedExec=function(r){var o=this,a=getInternalState$1(o),u=toString$3(r),d=a.raw,g,v,y,A,b,_,w;if(d)return d.lastIndex=o.lastIndex,g=call$2(patchedExec,d,u),o.lastIndex=d.lastIndex,g;var S=a.groups,C=UNSUPPORTED_Y&&o.sticky,T=call$2(regexpFlags,o),I=o.source,E=0,F=u;if(C&&(T=replace(T,"y",""),indexOf$2(T,"g")===-1&&(T+="g"),F=stringSlice(u,o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&charAt(u,o.lastIndex-1)!==` -`)&&(I="(?: "+I+")",F=" "+F,E++),v=new RegExp("^(?:"+I+")",T)),NPCG_INCLUDED&&(v=new RegExp("^"+I+"$(?!\\s)",T)),UPDATES_LAST_INDEX_WRONG&&(y=o.lastIndex),A=call$2(nativeExec,C?v:o,F),C?A?(A.input=stringSlice(A.input,E),A[0]=stringSlice(A[0],E),A.index=o.lastIndex,o.lastIndex+=A[0].length):o.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&A&&(o.lastIndex=o.global?A.index+A[0].length:y),NPCG_INCLUDED&&A&&A.length>1&&call$2(nativeReplace,A[0],v,function(){for(b=1;bA.remove());let u=(" "+r).slice(1);const d=u.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"$1"),g=/@import[ ]?\(?['"](?.*)['"]\)?;?/ig,y=(!d||!d.matchAll?[]:[...d.matchAll(g)||[]]).map((A,b)=>new Promise(_=>{u=u.replace(A[0],""),useCustomTag(o.tag||"link","",{[o.src||"src"]:A.groups.url,id:"import_custom_"+t+"-"+b,class:"import_custom_"+t,crossorigin:"anonymous",...o,onload:()=>_(!0),onerror:()=>_(!1)})}));return Promise.allSettled(y).then(()=>u)}const Settings$g={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$f=[{columns:4,parameter:"adapters",label:"config#AdapterLogs#adapters#label",info:"config#AdapterLogs#adapters#description",type:"Select",multiple:!0,"options-dense":!0,"display-value":":counter",value:()=>{const t=useIoBroker();return t.instanceList&&t.instanceList.val&&t.instanceList.val.concat(["host"])||[]},options:()=>{const t=useIoBroker(),r=t.instances,o=t.instanceList;if(r&&r.val&&o&&o.val){const a=o.val.map(u=>({icon:"img:"+r.val[u].extIcon,value:u,label:u}));return a.push({icon:"img:"+r.val["admin.0"].extIcon,value:"host",label:"js-controller"}),a.sort((u,d)=>u.label.toLowerCase()===d.label.toLowerCase()?0:u.label.toLowerCase()>d.label.toLowerCase()?1:-1)}return[]}},{columns:4,parameter:"severity",label:"config#AdapterLogs#severity#label",info:"config#AdapterLogs#severity#description",type:"Select",multiple:!0,value:["debug","info","warn","error"],options:[{value:"silly",label:"silly"},{value:"debug",label:"debug"},{value:"info",label:"info"},{value:"warn",label:"warn"},{value:"error",label:"error"}]},{columns:2,parameter:"timeFormat",label:"config#AdapterLogs#timeFormat#label",info:"config#AdapterLogs#timeFormat#description",placeholder:"dd.MM.yyyy HH:mm:ss"},{columns:2,parameter:"dense",label:"config#JsonTable#dense#label",info:"config#JsonTable#dense#description",type:"Switch",value:!0},{columns:4,parameter:"columns",label:"config#AdapterLogs#columns#label",info:"config#AdapterLogs#columns#description",type:"Select",multiple:!0,value:["from","ts","severity","message"],options:[{value:"from",label:"Adapter"},{value:"ts",label:"Time"},{value:"severity",label:"Severity"},{value:"message",label:"Message"}]},{columns:2,parameter:"sortColumn",label:"config#JsonTable#sortColumn#label",info:"config#JsonTable#sortColumn#description",value:"ts"},{columns:2,parameter:"sortDirection",label:"config#JsonTable#sortDirection#label",info:"config#JsonTable#sortDirection#description",type:"Switch",value:!0},{columns:2,parameter:"rowsPerPage",label:"config#JsonTable#rowsPerPage#label",info:"config#JsonTable#rowsPerPage#description",type:"Number",value:10,min:0},{columns:2,parameter:"rowsMaxTotal",label:"config#AdapterLogs#rowsMaxTotal#label",type:"Number",value:100,min:0},{columns:10,parameter:"message",label:"config#AdapterLogs#message#label",info:"config#AdapterLogs#message#description"},{columns:2,parameter:"invertFilter",label:"config#AdapterLogs#invertFilter#label",info:"config#AdapterLogs#invertFilter#description",type:"Switch",value:!1},{columns:12,isPro:!0,parameter:"messageFn",label:"config#AdapterLogs#messageFn#label",info:"config#AdapterLogs#messageFn#description",placeholder:"message => message"}],__glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$g,default:ConfigFile$f},Symbol.toStringTag,{value:"Module"}));const Settings$f={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$e=[{columns:2,parameter:"switch",label:"config#AdapterStatus#switch#label",info:"config#AdapterStatus#switch#description",type:"Switch",value:!0},{columns:2,parameter:"updates",label:"config#AdapterStatus#updates#label",info:"config#AdapterStatus#updates#description",type:"Switch",value:!0},{parameter:"list",label:"config#AdapterStatus#list#label",info:"config#AdapterStatus#list#description",placeholder:"config#AdapterStatus#list#values"},{parameter:"blacklist",label:"config#AdapterStatus#blacklist#label",info:"config#AdapterStatus#blacklist#description",placeholder:"config#AdapterStatus#blacklist#values"}],__glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$f,default:ConfigFile$e},Symbol.toStringTag,{value:"Module"}));const insetMap={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},margins={xs:2,sm:4,md:8,lg:16,xl:24};var QSeparator=createComponent({name:"QSeparator",props:{...useDarkProps,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(t){const r=getCurrentInstance(),o=useDark(t,r.proxy.$q),a=computed(()=>t.vertical===!0?"vertical":"horizontal"),u=computed(()=>` q-separator--${a.value}`),d=computed(()=>t.inset!==!1?`${u.value}-${insetMap[t.inset]}`:""),g=computed(()=>`q-separator${u.value}${d.value}`+(t.color!==void 0?` bg-${t.color}`:"")+(o.value===!0?" q-separator--dark":"")),v=computed(()=>{const y={};if(t.size!==void 0&&(y[t.vertical===!0?"width":"height"]=t.size),t.spaced!==!1){const A=t.spaced===!0?`${margins.md}px`:t.spaced in margins?`${margins[t.spaced]}px`:t.spaced,b=t.vertical===!0?["Left","Right"]:["Top","Bottom"];y[`margin${b[0]}`]=y[`margin${b[1]}`]=A}return y});return()=>h("hr",{class:g.value,style:v.value,"aria-orientation":a.value})}});const defaultSizes={xs:2,sm:4,md:6,lg:10,xl:14};function width(t,r,o){return{transform:r===!0?`translateX(${o.lang.rtl===!0?"-":""}100%) scale3d(${-t},1,1)`:`scale3d(${t},1,1)`}}var QLinearProgress=createComponent({name:"QLinearProgress",props:{...useDarkProps,...useSizeProps,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(t,{slots:r}){const{proxy:o}=getCurrentInstance(),a=useDark(t,o.$q),u=useSize(t,defaultSizes),d=computed(()=>t.indeterminate===!0||t.query===!0),g=computed(()=>t.reverse!==t.query),v=computed(()=>({...u.value!==null?u.value:{},"--q-linear-progress-speed":`${t.animationSpeed}ms`})),y=computed(()=>"q-linear-progress"+(t.color!==void 0?` text-${t.color}`:"")+(t.reverse===!0||t.query===!0?" q-linear-progress--reverse":"")+(t.rounded===!0?" rounded-borders":"")),A=computed(()=>width(t.buffer!==void 0?t.buffer:1,g.value,o.$q)),b=computed(()=>`with${t.instantFeedback===!0?"out":""}-transition`),_=computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${b.value} q-linear-progress__track--${a.value===!0?"dark":"light"}`+(t.trackColor!==void 0?` bg-${t.trackColor}`:"")),w=computed(()=>width(d.value===!0?1:t.value,g.value,o.$q)),S=computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${b.value} q-linear-progress__model--${d.value===!0?"in":""}determinate`),C=computed(()=>({width:`${t.value*100}%`})),T=computed(()=>`q-linear-progress__stripe absolute-${t.reverse===!0?"right":"left"} q-linear-progress__stripe--${b.value}`);return()=>{const I=[h("div",{class:_.value,style:A.value}),h("div",{class:S.value,style:w.value})];return t.stripe===!0&&d.value===!1&&I.push(h("div",{class:T.value,style:C.value})),h("div",{class:y.value,style:v.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":t.indeterminate===!0?void 0:t.value},hMergeSlot(r.default,I))}}});const _sfc_main$1d=defineComponent({name:"ModuleCalendarCustomConfiguration",props:{config:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=Connection.getConnection,a=useIoBroker(),u=ref(!1),d=_=>_&&_.substr(_.indexOf(":")+1)!=="",g=()=>{o.getObject("system.adapter.ical.0",({err:_,object:w})=>{u.value=!0,!_&&w&&w.native&&w.native.calendars&&Array.isArray(w.native.calendars)&&(b.value=w.native.calendars.map(S=>({...S,id:v4()})),A({id:"config.calendars",value:b.value}))})},v=()=>{b.value.push({id:v4(),new:!0}),r("onChange",{id:"config.calendars",value:b.value})},y=(_,w)=>{const S=b.value.findIndex(C=>C.id===w);S>-1&&(b.value.splice(S,1),r("onChange",{id:"config.calendars",value:b.value}))},A=_=>{const w=b.value.findIndex(S=>S.id===_.calendarId);w>-1&&(Cache$1.remove("calendar-"+_.calendarId),_.id==="pass"?encryptAllPasswords({[_.id]:_.value},a.meta.secret).then(S=>{b.value[w][_.id]=S[_.id],r("onChange",{id:"config.calendars",value:b.value})}).catch(S=>{console.warn("Calendar-Configuration",S.message,S)}):(b.value[w][_.id]=_.value,r("onChange",{id:"config.calendars",value:b.value})))},b=ref([]);return!t.config.calendars||!Array.isArray(t.config.calendars)||t.config.calendars.length===0?g():(b.value=_default(t.config.calendars).map(_=>(delete _.new,_)),u.value=!0),{loaded:u,calendars:b,addCalendar:v,deleteCalendar:y,onChange:A,hasPasswordSet:d}}}),_hoisted_1$10={class:"full-width"},_hoisted_2$O={class:"text-h7 primary q-ma-sm"},_hoisted_3$D={class:"row nowrap q-mt-md"};function _sfc_render$1d(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$10,[createBaseVNode("div",_hoisted_2$O,toDisplayString$1(t.$t("Module Configuration - Calendars")),1),createVNode$1(QSeparator,{style:{margin:"0 -0 8px 0"}}),withDirectives(createBaseVNode("div",null,[createVNode$1(QLinearProgress,{indeterminate:""})],512),[[vShow,!t.loaded]]),withDirectives(createBaseVNode("div",null,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Calendar"),onClick:t.addCalendar},null,8,["label","onClick"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.calendars,v=>(openBlock(),createElementBlock(Fragment,{key:"item-"+v.id},[createBaseVNode("div",_hoisted_3$D,[createVNode$1(g,{class:"q-mt-sm",type:"button",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:y=>t.deleteCalendar(y,v.id)},null,8,["tooltip","onClick"]),createVNode$1(g,{id:"name",style:{width:"150px"},dense:"",label:t.$t("Label"),"calendar-id":v.id,value:v.name,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"color",style:{width:"150px"},dense:"",type:"color",label:t.$t("Color"),"calendar-id":v.id,value:v.color||"",onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"url",style:{width:"450px"},dense:"",label:t.$t("URL"),"calendar-id":v.id,value:v.url,disable:!v.new,onOnChange:t.onChange},null,8,["label","calendar-id","value","disable","onOnChange"]),createVNode$1(g,{id:"user",style:{width:"120px"},dense:"",label:t.$t("User"),"calendar-id":v.id,value:v.user,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"pass",style:{width:"180px"},type:"password",dense:"",label:t.$t("Password"),"calendar-id":v.id,placeholder:"("+(t.hasPasswordSet(v.pass)?t.$t("unchanged"):t.$t("no password set"))+")",onOnChange:t.onChange},null,8,["label","calendar-id","placeholder","onOnChange"]),createVNode$1(g,{id:"sslignore",style:{width:"100px"},type:"switch",dense:"",label:t.$t("Ignore SSL errors"),"calendar-id":v.id,value:v.sslignore!==void 0?v.sslignore:!1,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"])]),createVNode$1(QSeparator)],64))),128))],512),[[vShow,t.loaded]])])}var customConfiguration=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$1d]]),Calendar_config_customComponent=Object.freeze(Object.defineProperty({__proto__:null,default:customConfiguration},Symbol.toStringTag,{value:"Module"}));const Settings$e={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1,customConfiguration};var ConfigFile$d=[{parameter:"calendars",hide:!0},{columns:2,parameter:"calendarPreview",label:"config#Calendar#calendarPreview#label",type:"Switch",value:!0},{columns:2,parameter:"calendarAgenda",label:"config#Calendar#calendarAgenda#label",type:"Switch",value:!0},{columns:2,parameter:"calendarNamesInAgenda",label:"config#Calendar#calendarNamesInAgenda#label",type:"Switch",value:!1},{columns:2,parameter:"refresh",label:"config#Calendar#refresh#label",type:"Number",value:5,min:0},{columns:2,parameter:"daysReview",label:"config#Calendar#daysReview#label",type:"Number",value:0,min:0},{columns:2,parameter:"daysPreview",label:"config#Calendar#daysPreview#label",type:"Number",value:7,min:0}],__glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$e,default:ConfigFile$d},Symbol.toStringTag,{value:"Module"}));const getters={getDevicesWthoutDeletionsCount(t){return Object.keys(getters.getDevicesWithoutDeletions(t)).length},getDevicesWithoutDeletions(t){const r={};for(const o in t.devices){const a=t.devices[o];(!a.attributes||a.attributes&&a.attributes._deleted!==!0&&a.attributes.deleted!==!0)&&(r[o]=a)}return r},getGroups(t){const r=t.devices;return(o,a="")=>{if(a=a===null?"":a.toLowerCase(),!r)return{};const u=Cache$1.get("settings");try{u.configDevicesFilterSelections=u.configDevicesFilterSelections&&!Array.isArray(u.configDevicesFilterSelections)?JSON.parse(u.configDevicesFilterSelections):u.configDevicesFilterSelections}catch(v){console.warn("Devices",v.message)}const d={};let g=[];return Object.values(r).forEach(v=>{v.function=v.function==="other"?"_defaults":v.function,g=o==="function"?[v.function]:o==="room"?[v.room||""]:o==="floor"?[v.floor||""]:v.tags&&v.tags.length>0?v.tags:[""],(!v.attributes||v.attributes&&v.attributes.ignore!==!0)&&(!a||!u.configDevicesFilterSelections||u.configDevicesFilterSelections.length===0||a&&getters.filter(v,a,u.configDevicesFilterSelections))&&g.forEach(y=>{d[y]=d[y]||{key:y,id:y.toLowerCase().replace(/ /g,""),icon:"",label:y&&i18n.global.t(y),devices:[]},d[y].devices.push(v)})}),sortObjectByKey(d,"label")}},filter(t,r,o){return t.states=t.states||{},o=o||[],o.some(a=>{if(t[a]&&!Array.isArray(t[a])&&t[a].toLowerCase().indexOf(r)!==-1)return!0;if(t[a]&&Array.isArray(t[a])&&t[a].some(u=>u.indexOf(r)!==-1))return!0;if(a.startsWith("state."))for(const u in t.states){const d=t.states[u];let g=d.label||"";if(g=typeof g=="object"?Object.values(g).join(" "):g,a==="state.stateId"&&u&&u.toLowerCase().indexOf(r)!==-1)return!0;if(a==="state.label"&&g&&g.toLowerCase().indexOf(r)!==-1)return!0;if(a==="state.state"&&d.state&&(typeof d.state!="object"&&d.state.toLowerCase().indexOf(r)!==-1||typeof d.state=="object"&&d.state.node.toLowerCase().indexOf(r)!==-1))return!0;if(a==="state.action"&&d.action&&!Array.isArray(d.action)&&(typeof d.action!="object"&&d.action.toLowerCase().indexOf(r)!==-1||typeof d.action=="object"&&d.action.node.toLowerCase().indexOf(r)!==-1))return!0;if(a==="state.action"&&d.action&&Array.isArray(d.action)&&d.action.some(v=>v.toLowerCase().indexOf(r)!==-1))return!0}return!1})}};var gettersLayout={getLayout(t){return t.layout||[]},getLayoutWithoutDeletions(t){const r=t.layout||[],o=[];return r.forEach(a=>{a._deleted!==!0&&(!a.type||a.type==="page"?o.push({...a,type:"page",tabs:a.tabs.filter(u=>u._deleted!==!0)}):o.push(a))}),o},getPagesWithoutDeletions(t){return t.layout.filter(r=>(!r.type||r.type==="page")&&r._deleted!==!0)},getSelectedPage(t){return t.layout.filter(r=>r.id===t.selectedPageId)}},gettersWidgets={getWidgetsWthoutDeletionsCount(t){return Object.keys(this.getWidgetsWithoutDeletions).length},getWidgetsWithoutDeletions(t){const r={};for(const o in t.widgets){const a=t.widgets[o];a._deleted!==!0&&(r[o]=a)}return r},getGroupedWidgets(t){const r=t.widgets||{},o={};return Object.values(r).forEach(a=>{const u=a.module||"",d=u.toLowerCase();o[u]=o[u]||{id:d,icon:"",label:u,widgets:[]},o[u].widgets.push(a)}),sortObjectByKey(o)}},actionsDevice={actionSwapNameWithLabel(t){for(const r of t){const o=this.devices[r];if(o.label){const a=o.label;o.label=o.name,o.name=a}}},addDevices({devices:t}){this.devices={...this.devices,...t}},addDevice(){this.device={id:v4(),name:"",aliases:"",tags:[],icon:"",label:"",function:"_defaults",states:{},options:{},attributes:{_created:Date.now()}}},editDevice(t){let r=_default(t);r={name:"",aliases:"",tags:[],icon:"",label:"",function:"_defaults",states:{},options:{},...r,attributes:{_created:Date.now(),...r.attributes||{},_updated:Date.now()}},r.states=r.states||{};for(const o in r.states)r.states[o].stateKey=o;this.device=r},editDeviceField({key:t,val:r}){if(this.device[t]=r,["name","label","aliases"].includes(t)){const o=useIoBroker();Object.values(this.device.states).forEach(a=>{(this.isCloud(a)===!0||this.isCloud(a)===null&&o.isCloud(a)===!0)&&this.editStateField({stateKey:a.stateKey,key:"addToCloud",val:!0})})}},copyDevice(t){const r=v4(),o=t.id+"_"+r.substr(0,5),a=_default(t);a.id=o,a.name=a.name+" (copy)",a.attributes=a.attributes||{},a.attributes._copied=Date.now(),this.devices[o]=a},removeDevice(t){this.devices[t.id]={...t,attributes:{...t.attributes,deleted:!0}}},restoreDevice(t){this.devices[t.id]={...t,attributes:{...t.attributes,deleted:!1}}},saveDevice(){const t=this.device;if(t.revision=v4().substr(0,5),t.tags=t.tags?[...new Set(t.tags)]:[],t.states&&this.widgets){for(const r in t.states)if(t.states[r]&&(t.states[r]._deleted===!0||t.states[r]._renamed===!0)){for(const o in this.widgets)if(this.widgets[o].items)for(const a of this.widgets[o].items)a.deviceId===t.id&&(t.states[r]._renamed===!0&&a.primaryStateKey===t.states[r]._prevStateKey&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from primaryStateKey in widget "+o),a.primaryStateKey=r),t.states[r]._renamed===!0&&a.bodyStateKey===t.states[r]._prevStateKey&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from bodyStateKey in widget "+o),a.bodyStateKey=r),t.states[r]._renamed===!0&&a.secondaryStatesKeys&&a.secondaryStatesKeys.includes(t.states[r]._prevStateKey)&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from secondaryStatesKeys in widget "+o),a.secondaryStatesKeys=a.secondaryStatesKeys.map(u=>u===t.states[r]._prevStateKey?r:u)),t.states[r]._deleted===!0&&a.primaryStateKey===r&&(console.debug("Removed "+r+" (device "+t.id+") from primaryStateKey in widget "+o),a.primaryStateKey=null),t.states[r]._deleted===!0&&a.bodyStateKey===r&&(console.debug("Removed "+r+" (device "+t.id+") from bodyStateKey in widget "+o),a.bodyStateKey=null),t.states[r]._deleted===!0&&a.secondaryStatesKeys&&a.secondaryStatesKeys.includes(r)&&(console.debug("Removed "+r+" (device "+t.id+") from secondaryStatesKeys in widget "+o),a.secondaryStatesKeys=a.secondaryStatesKeys.filter(u=>u!==r)));delete t.states[r]._renamed,delete t.states[r]._prevStateKey,t.states[r]._deleted===!0?delete t.states[r]:delete t.states[r]._deleted}}this.devices[t.id]=t,this.device=null},discardDevice(){this.device=null}},actionsDeviceState={newState(t){this.device.states={[t]:{_created:Date.now(),stateKey:t,showState:!0},...this.device.states}},changeStateKey({stateKey:t,stateKeyModified:r}){const o=Object.keys(this.device.states),a=o.indexOf(t);o.splice(a,1,r);const u={};for(const d of o)u[d]=this.device.states[d===r?t:d];u[r].stateKey=r,u[r]._renamed=!0,u[r]._prevStateKey=t,this.device.states=u},editStateField({stateKey:t,index:r,key:o,val:a}){if(o.startsWith("device.")||(r!==void 0?(this.device.states[t][o]=this.device.states[t][o]||[],this.device.states[t][o]=Array.isArray(this.device.states[t][o])?this.device.states[t][o]:[this.device.states[t][o]],this.device.states[t][o][r]=a,this.device.states[t]={...this.device.states[t],_updated:Date.now()}):this.device.states[t]={...this.device.states[t],[o]:a,_updated:Date.now()}),o==="addToHistory"&&this.device.states[t].state){const u=useIoBroker(),d=this.device.states[t].state;this.history[d]={},Array.isArray(a)?a.forEach(g=>{this.history[d][g]={}}):a===!0&&(this.history[d][u.meta.defaultHistory]={})}if(o==="addToCloud"&&(this.device.states[t].action||this.device.states[t].state)){let u=!this.device.states[t].action||Array.isArray(this.device.states[t].action)?this.device.states[t].action:[this.device.states[t].action];u=u||(this.device.states[t].state?[this.device.states[t].state]:[]),u.forEach(d=>{Array.isArray(a)&&a.length===0?this.cloud[d]={action:"remove",state:d}:(this.cloud[d]={action:"add",function:this.device.function==="_defaults"?"SWITCH":this.device.function,name:[],state:d},(Array.isArray(a)?a:this.device.states[t].addToCloud).forEach(v=>{if(v==="device.name")this.cloud[d].name.push(this.device.name);else if(v==="device.label")this.cloud[d].name.push(this.device.label);else if(v==="device.aliases"){const y=this.device.aliases.split(",").map(A=>A.trim());this.cloud[d].name=this.cloud[d].name.concat(y)}else if(v==="state.aliases"){const y=(this.device.states[t].aliases||this.device.states[t].label).split(",").map(A=>A.trim());this.cloud[d].name=this.cloud[d].name.concat(y)}}))})}},copyState({stateKey:t}){const r=t+"_"+v4().substr(0,5),o=_default(this.device.states[t]);o.stateKey=r,o._copied=Date.now(),this.device.states={[r]:o,...this.device.states}},removeState({stateKey:t}){this.device.states[t]._deleted=!0},restoreState({stateKey:t}){this.device.states[t]._deleted=!1}},actionsLayoutDrawer={setLayout(t){this.layout=t},changeDrawerItemId(t,r){const o=this.layout.findIndex(a=>a.id===t);o>-1&&(this.layout[o]={...this.layout[o],id:r})},addDrawerItem(t){t.id=v4(),t.revision=v4().substr(0,5),t._created=Date.now(),this.layout.push(t)},editDrawerItem({itemId:t,key:r,val:o}){const a=this.layout.findIndex(u=>u.id===t);a>-1&&(this.layout[a]={...this.layout[a],[r]:o,revision:v4().substr(0,5),_updated:Date.now()})},copyDrawerItem({itemId:t,copyWidgets:r}){const o=_default(this.layout.find(a=>a.id===t));o.tabs=o.tabs||[],o.tabs=o.tabs.map(a=>(a.id=v4(),a.widgetsDesktop=a.widgetsDesktop||[],a.widgetsDesktop=a.widgetsDesktop.map(u=>(u.i=v4(),r&&(u.items=u.items||[],u.items=u.items.map(d=>{const g=this.getWidget({widgetId:d}),v=v4();return this.copyWidget({id:v,widget:g}),v})),u)),a.widgetsSmartphone=a.widgetsSmartphone||[],a.widgetsSmartphone=a.widgetsSmartphone.map(u=>(u.i=v4(),r&&(u.items=u.items||[],u.items=u.items.map(d=>{const g=this.getWidget({widgetId:d}),v=v4();return this.copyWidget({id:v,widget:g}),v})),u)),a)),this.layout.push({...o,id:v4(),_copied:Date.now()})},deleteDrawerItem({itemId:t}){const r=this.layout.findIndex(o=>o.id===t);r>-1&&(this.layout[r]._deleted=!0)},restoreDrawerItem({itemId:t}){const r=this.layout.findIndex(o=>o.id===t);r>-1&&(this.layout[r]._deleted=!1)}},actionsLayoutTabs={setTabs({pageId:t,tabs:r}){const o=this.layout.findIndex(a=>a.id===t);if(o>-1){const a=_default(this.layout[o]);a.tabs=r,this.layout[o]=a}},addTab({pageId:t,tabId:r,tab:o,duplicate:a,copyWidgets:u}){const d=this.layout.findIndex(g=>g.id===t);if(d>-1){const g=this.layout[d].tabs||[];let v={_created:Date.now(),icon:"mdi-tab",title:i18n.global.t("New Tab"),widgets:[],...o||{}};r&&(v={_copied:Date.now(),...v,..._default(g.find(y=>y.id===r))},v.widgetsDesktop=v.widgetsDesktop||[],v.widgetsDesktop=v.widgetsDesktop.map(y=>(y.i=v4(),u&&(y.items=y.items||[],y.items=y.items.map(A=>{const b=this.getWidget({widgetId:A}),_=v4();return this.copyWidget({id:_,widget:b}),_})),y)),v.widgetsSmartphone=v.widgetsSmartphone||[],v.widgetsSmartphone=v.widgetsSmartphone.map(y=>(y.i=v4(),u&&(y.items=y.items||[],y.items=y.items.map(A=>{const b=this.getWidget({widgetId:A}),_=v4();return this.copyWidget({id:_,widget:b}),_})),y))),v.id=a?v.id:v4(),v.revision=v4().substr(0,5),this.layout[d].tabs=[...g,v]}},editTab({pageId:t,tabId:r,key:o,val:a}){const u=this.layout.findIndex(d=>d.id===t);if(u>-1){const d=this.layout[u].tabs.findIndex(g=>g.id===r);if(d>-1){const g=_default(this.layout[u].tabs);g.splice(d,1,{...this.layout[u].tabs[d],[o]:a,revision:v4().substr(0,5),_updated:Date.now()}),this.layout[u].tabs=g}}},moveTab({pageId:t,tabId:r,destinationPageId:o}){const a=this.layout.findIndex(u=>u.id===t);if(a>-1){const u=this.layout[a].tabs.findIndex(g=>g.id===r),d=this.layout[a].tabs[u];this.addTab({pageId:o,tab:_default(d),duplicate:!0}),this.layout[a].tabs.splice(u,1)}},deleteTab(t){return this.editTab({...t,key:"_deleted",val:!0})},restoreTab(t){return this.editTab({...t,key:"_deleted",val:!1})}};function getTab(t,r,o){const a=t.findIndex(u=>u.id===r);if(a>-1){const u=t[a].tabs.findIndex(d=>d.id===o);if(u>-1)return{pageIndex:a,tabIndex:u}}return null}var actionsWidgets={setWidgets({pageId:t,tabId:r,key:o,val:a}){const u=getTab(this.layout,t,r),d=u&&this.layout[u.pageIndex].tabs[u.tabIndex][o];u!==null&&JSON.stringify(a)!==JSON.stringify(d)&&(this.layout[u.pageIndex].tabs[u.tabIndex]={...this.layout[u.pageIndex].tabs[u.tabIndex],[o]:_default(a),revision:v4().substr(0,5),_updated:Date.now()})},setWidgetConfig({pageId:t,tabId:r,key:o,val:a}){const u=getTab(this.layout,t,r);u!==null&&(this.layout[u.pageIndex].tabs[u.tabIndex]={...this.layout[u.pageIndex].tabs[u.tabIndex],widgetConfig:{...this.layout[u.pageIndex].tabs[u.tabIndex].widgetConfig,[o]:a},revision:v4().substr(0,5),_updated:Date.now()})},getWidget({widgetId:t}){return this.widgets[t]},hasWidget({widgetId:t}){let r=0;return this.layout.forEach(o=>{(o.tabs||[]).forEach(u=>{(u.widgetsDesktop||[]).forEach(v=>{r=v.items&&v.items.includes(t)?r+1:r}),(u.widgetsSmartphone||[]).forEach(v=>{r=v.items&&v.items.includes(t)?r+1:r})})}),r},addWidget({widget:t}){t._updated=t.revision?Date.now():void 0,t.revision=v4().substr(0,5),this.widgets[t.id]=t},copyWidget({id:t,widget:r}){const o=_default(r);o.id=t||v4(),o.title=(o.title||"")+" (copy)",o._copied=Date.now(),this.widgets={[o.id]:o,...this.widgets}},removeWidget({widget:t}){this.widgets[t.id]._deleted=!0},restoreWidget({widget:t}){this.widgets[t.id]._deleted=!1}};const useEditor=defineStore("editor",{state:()=>({errors:{},device:null,devices:null,layout:null,settings:null,styles:null,scripts:null,widgets:null,history:{},cloud:{},tmpJsonEditor:null,selectedPage:null,selectedTab:null}),getters:{...getters,...gettersLayout,...gettersWidgets,hasErrors(t){return Object.keys(t.errors).length>0},isHistory(t){return r=>Object.keys(t.history).length===0||r===null||(r=Array.isArray(r)?r:[r],!r.some(a=>Object.keys(t.history).includes(a.state||a)))?null:r.some(a=>t.history[a.state||a]&&Object.keys(t.history[a.state||a]).length>0)},isCloud(t){return r=>Object.keys(t.cloud).length===0||r===null||(r=Array.isArray(r)?r:[r],!r.some(a=>(a.action&&!Array.isArray(a.action)?[a.action]:a.action||[]).some(d=>Object.keys(t.cloud).includes(d))||Object.keys(t.cloud).includes(a.state||a)))?null:r.some(a=>{const u=a.action&&!Array.isArray(a.action)?[a.action]:a.action||[];return u.length>0&&u.every(d=>t.cloud[d]&&t.cloud[d].action==="add")||t.cloud[a.state||a]&&t.cloud[a.state||a].action==="add"})},rooms(t){const r=[];return Object.values(t.devices).forEach(o=>{o.room&&!r.includes(o.room)&&r.push(o.room)}),r}},actions:{...actionsDevice,...actionsDeviceState,...actionsLayoutDrawer,...actionsLayoutTabs,...actionsWidgets,addError(t,r){t&&r&&(this.errors[t]=r)},removeError(t){const r=t.key||t;r&&this.errors[r]!==void 0&&delete this.errors[r]},init(t){for(const r in t)this[r]=typeof t[r]=="object"?_default(t[r]):t[r]},set(t,r,o=!1){const a=typeof t!="string"?t:{[t]:r};let u="";for(let d in a){const g=a[d];[u,d]=d.indexOf(".")>-1?d.split("."):[null,d],u===null&&this[d]!==void 0?g!==void 0&&this[d]!==g&&(this[d]=g):this[u]&&this[u][d]!==void 0||o===!0?g!==void 0&&this[u][d]!==g&&(this[u][d]=g):console.error("UNKNOWN STATE",u,this[u],d,this[d],g)}},save(t){const r={devices:{node:config$n.get("NODE_DEVICES"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").devices,signature:null,devices:u})},layout:{node:config$n.get("NODE_LAYOUT"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").layout,signature:null,layout:u})},widgets:{node:config$n.get("NODE_WIDGETS"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").widgets,signature:null,widgets:u})},styles:{node:config$n.get("NODE_STYLES"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").css,signature:null,styles:u})},settings:{node:config$n.get("NODE_SETTINGS"),json:!0}},o=Connection.getConnection,a=Object.keys(t).map(u=>{const d=r[u];return new Promise((g,v)=>{const y=d.json?JSON.stringify(d.cb?d.cb(t[u]):t[u]):t[u];Cache$1.set(u,t[u]),o.setState(d.node,{_jarvis:"3.2.0-beta.75",val:y},!0,({err:A})=>A?v(A):g())})});return Promise.allSettled(a).then(()=>t.scripts?new Promise((u,d)=>{o.setState(config$n.get("NODE_SCRIPTS"),JSON.stringify({version:3.2,signature:null,scripts:t.scripts}),!0,()=>u())}):Promise.resolve())},commitJson(){this.tmpJsonEditor&&this.set({[this.tmpJsonEditor.key]:this.tmpJsonEditor.json,tmpJsonEditor:null})}}}),_sfc_main$1c=defineComponent({name:"ModuleChartCustomConfiguration",props:{item:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useEditor(),a=computed(()=>o.devices||{}),u=computed(()=>t.item.label||a.value&&a.value[t.item.deviceId]&&(a.value[t.item.deviceId].label||a.value[t.item.deviceId].name)||""),d=computed(()=>!a.value||!a.value[t.item.deviceId]||!a.value[t.item.deviceId].states?[]:Object.keys(a.value[t.item.deviceId].states).map(v=>({label:v,value:v})));return{deviceLabel:u,deviceStatesOptions:d,onChange:v=>r("onChange",v)}}}),_hoisted_1$$={class:"row nowrap items-center"};function _sfc_render$1c(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$$,[createVNode$1(g,{id:"primaryStateKey",dense:"",style:{width:"130px"},label:"Action State","item-id":t.item.id,value:t.item.primaryStateKey,type:"select",options:t.deviceStatesOptions,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"label",dense:"",style:{width:"170px"},label:"Label","item-id":t.item.id,value:t.deviceLabel,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),createVNode$1(g,{id:"moduleConfig.color",dense:"",type:"color",label:"Chart Line Color","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.color||"",onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])])}var customActionSection$1=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$1c]]),Chart_config_customActionSection=Object.freeze(Object.defineProperty({__proto__:null,default:customActionSection$1},Symbol.toStringTag,{value:"Module"}));const Settings$d={addList:!1,addGroup:!1,addDivider:!1,addDevice:{fields:["label"]},customActionSection:customActionSection$1};var ConfigFile$c=[{columns:2,parameter:"type",label:"config#Chart#type#label",info:"config#Chart#type#info",type:"Select",options:[{value:"bar",label:"Bar-Chart"},{value:"pie",label:"Pie-Chart"},{value:"circle",label:"Circle-Chart"}],value:"bar"},{columns:2,type:"Placeholder",dependencies:{type:"circle"}},{columns:2,parameter:"barStack",label:"config#Chart#barStack#label",info:"config#Chart#barStack#info",type:"Switch",value:!1,dependencies:{type:"bar"}},{columns:2,parameter:"pieRadius",label:"config#Chart#pieRadius#label",info:"config#Chart#pieRadius#info",type:"Switch",value:!0,dependencies:{type:"pie"}},{columns:2,type:"Placeholder",dependencies:{type:["pie"]}},{columns:2,parameter:"minValue",label:"config#Chart#minValue#label",info:"config#Chart#minValue#info",type:"Number",placeholder:"auto",dependencies:{type:["bar"]}},{columns:2,type:"Placeholder",dependencies:{type:["pie"]}},{columns:2,parameter:"radius",label:"config#Chart#radius#label",type:"Number",placeholder:"70",min:0,max:100,dependencies:{type:["circle"]}},{columns:2,parameter:"maxValue",label:"config#Chart#maxValue#label",info:"config#Chart#maxValue#info",type:"Number",placeholder:"auto",dependencies:{type:["bar","circle"]}},{columns:2,parameter:"legend",label:"config#Chart#legend#label",type:"Select",options:[{value:"top",translate:"config#Chart#legend#options#top"},{value:"bottom",translate:"config#Chart#legend#options#bottom"},{value:"off",translate:"config#Chart#legend#options#off"}],value:"top"},{columns:2,parameter:"label",label:"config#Chart#label#label",type:"Switch",value:!1}],__glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$d,default:ConfigFile$c},Symbol.toStringTag,{value:"Module"}));const Settings$c={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$b=[{columns:3,parameter:"formatDate",type:"textarea","input-style":{height:"28px"},label:"config#DateTime#formatDate#label",info:"config#DateTime#format#description",link:"https://date-fns.org/v2.16.1/docs/format",value:"d. MMMM yyyy"},{columns:3,parameter:"formatTime",type:"textarea","input-style":{height:"28px"},label:"config#DateTime#formatTime#label",info:"config#DateTime#format#description",link:"https://date-fns.org/v2.16.1/docs/format",value:"HH:mm:ss"},{columns:2,parameter:"city",label:"config#DateTime#city#label",type:"Switch",value:!0},{columns:2,parameter:"sun",label:"config#DateTime#sun#label",type:"Switch",value:!0},{columns:2,parameter:"calendarweek",label:"config#DateTime#calendarweek#label",type:"Switch",value:!0}],__glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$c,default:ConfigFile$b},Symbol.toStringTag,{value:"Module"}));const Settings$b={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$a=[{columns:12,parameter:"url",label:"config#DisplayImage#url#label",info:"config#DisplayImage#url#info",placeholder:"http://"},{columns:6,parameter:"size",label:"config#DisplayImage#size#label",info:"config#DisplayImage#size#info",type:"Select",options:[{translate:"config#DisplayImage#size#option#unset",value:"unset"},{translate:"config#DisplayImage#size#option#fit",value:"fit"},{translate:"config#DisplayImage#size#option#fitx",value:"cover"},{translate:"config#DisplayImage#size#option#fity",value:"contain"}],value:"fit"},{columns:2,parameter:"refresh",label:"config#DisplayImage#refresh#label",info:"config#DisplayImage#refresh#info",type:"Number",value:0,min:0},{columns:4,parameter:"refreshMethod",label:"config#DisplayImage#refreshMethod#label",info:"config#DisplayImage#refreshMethod#info",type:"Select",options:[{translate:"config#DisplayImage#refreshMethod#option#random",value:"random"},{translate:"config#DisplayImage#refreshMethod#option#whitespace",value:"whitespace"}],value:"whitespace"},{columns:5,parameter:"crossorigin",label:"config#DisplayImage#crossorigin#label",info:"config#DisplayImage#crossorigin#info",type:"Select",options:[{translate:"config#DisplayImage#crossorigin#option#off",value:"off"},{translate:"config#DisplayImage#crossorigin#option#anonymous",value:"anonymous"},{translate:"config#DisplayImage#crossorigin#option#credentials",value:"use-credentials"}],value:"off"},{columns:7,parameter:"referrerpolicy",label:"config#DisplayImage#referrerpolicy#label",info:"config#DisplayImage#referrerpolicy#info",type:"Select",options:[{translate:"config#DisplayImage#referrerpolicy#option#strict-origin-when-cross-origin",value:"strict-origin-when-cross-origin"},{translate:"config#DisplayImage#referrerpolicy#option#strict-origin",value:"strict-origin"},{translate:"config#DisplayImage#referrerpolicy#option#same-origin",value:"same-origin"},{translate:"config#DisplayImage#referrerpolicy#option#origin-when-cross-origin",value:"origin-when-cross-origin"},{translate:"config#DisplayImage#referrerpolicy#option#origin",value:"origin"},{translate:"config#DisplayImage#referrerpolicy#option#no-referrer-when-downgrade",value:"no-referrer-when-downgrade"},{translate:"config#DisplayImage#referrerpolicy#option#no-referrer",value:"no-referrer"}],value:"strict-origin-when-cross-origin"}],__glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$b,default:ConfigFile$a},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1b=defineComponent({name:"ModuleHistoryGraphCustomBody",props:{item:{type:Object,required:!0},device:{type:Object,required:!0},moduleConfigValues:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useI18n(),a=computed(()=>t.item.label||t.device&&(t.device.label||t.device.name)||""),u=computed(()=>{let v=[];try{v=JSON.parse(t.moduleConfigValues.yAxis)||[],v=Array.isArray(v)?v:[v]}catch(y){v=[]}return v.map((y,A)=>({value:A,label:(y.name?y.name:"("+o.t("No Name defined")+")")+" ("+A+")"}))}),d=computed(()=>u.value[t.item.moduleConfig&&Number.isInteger(t.item.moduleConfig.yaxis)?t.item.moduleConfig.yaxis:0]||{});return{onChange:v=>r("onChange",v),deviceLabel:a,yAxis:u,yAxisSelected:d}}}),_hoisted_1$_={class:"row items-center"},_hoisted_2$N={class:"row items-center"};function _sfc_render$1b(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createBaseVNode("div",_hoisted_1$_,[createBaseVNode("span",null,[createBaseVNode("strong",null,toDisplayString$1(t.device.name),1),createTextVNode(" ("+toDisplayString$1(t.device.function+", #"+t.item.deviceId)+")",1)])]),createBaseVNode("div",_hoisted_2$N,[createVNode$1(g,{id:"label",dense:"",style:{width:"170px"},label:"Label","item-id":t.item.id,value:t.deviceLabel,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),createVNode$1(g,{id:"moduleConfig.color",dense:"",type:"color",label:"Chart Line Color","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.color||"",onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),withDirectives(createVNode$1(g,{id:"moduleConfig.yaxis",dense:"",type:"select",label:"Y Axis","item-id":t.item.id,value:t.yAxisSelected,options:t.yAxis,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),[[vShow,t.yAxis.length>1]])])])}var customBodySection=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$1b]]),HistoryGraph_config_customBodySection=Object.freeze(Object.defineProperty({__proto__:null,default:customBodySection},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1a=defineComponent({name:"ModuleHistoryGraphCustomAction",props:{item:{type:Object,required:!0},device:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useIoBroker(),a=[{value:"both",translate:"config#HistoryGraph#ack#select#both"},{value:"true",translate:"config#HistoryGraph#ack#select#true"},{value:"false",translate:"config#HistoryGraph#ack#select#false"}],u=computed(()=>t.device.states[t.item.primaryStateKey].properties&&t.device.states[t.item.primaryStateKey].properties.value!==void 0&&t.device.states[t.item.primaryStateKey].properties.value!==null),d=o.getHistoryInstances;!t.item.historyAdapter&&d.value&&d.value[0]&&d.value[0].value&&r("onChange",{itemId:t.item.id,id:"historyAdapter",value:d.value[0].value});const g=computed(()=>Object.keys(t.device.states).map(y=>({label:y,value:y})));return{onChange:y=>r("onChange",y),deviceCallback:u,optionsAck:a,optionsDeviceStatesOptions:g,optionsHistoryAdapters:d}}}),_hoisted_1$Z={class:"row"};function _sfc_render$1a(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$Z,[createVNode$1(g,{id:"primaryStateKey",type:"select",dense:"",label:"Action State","item-id":t.item.id,value:t.item.primaryStateKey,options:t.optionsDeviceStatesOptions,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"historyAdapter",type:"select",dense:"",label:"History Adapter","item-id":t.item.id,value:t.item.historyAdapter,options:t.optionsHistoryAdapters,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"moduleConfig.ack",type:"select",dense:"",label:"Ack","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.ack!==void 0?t.item.moduleConfig.ack:"both",info:"config#Chart#ack",options:t.optionsAck,style:{width:"240px"},onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),withDirectives(createVNode$1(g,{id:"moduleConfig.deviceCallback",type:"switch",dense:"",style:{width:"150px"},label:"Use Device Value Function","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.deviceCallback!==void 0?t.item.moduleConfig.deviceCallback:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),[[vShow,t.deviceCallback]])])}var customActionSection=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$1a]]),HistoryGraph_config_customActionSection=Object.freeze(Object.defineProperty({__proto__:null,default:customActionSection},Symbol.toStringTag,{value:"Module"}));const Settings$a={addList:!1,addGroup:!1,addDivider:!1,addDevice:!0,customBodySection,customActionSection};var ConfigFile$9=[{columns:2,parameter:"chartType",label:"config#HistoryGraph#chartType#label",type:"Select",value:"line",options:[{value:"line",translate:"Line-Chart (normal)"},{value:"stepped",translate:"Line-Chart (stepped)"},{value:"smooth",translate:"Line-Chart (smooth)"},{value:"bar",translate:"Bar-Chart"}]},{columns:2,parameter:"maxEntries",label:"config#HistoryGraph#maxEntries#label",info:"config#HistoryGraph#maxEntries#description",type:"Number",value:500,min:1},{columns:2,parameter:"legend",label:"config#HistoryGraph#legend#label",type:"Select",options:[{value:"top",translate:"config#HistoryGraph#legend#options#top"},{value:"bottom",translate:"config#HistoryGraph#legend#options#bottom"},{value:"off",translate:"config#HistoryGraph#legend#options#off"}],value:"top"},{columns:2,parameter:"showSymbol",label:"config#HistoryGraph#showSymbol#label",type:"Switch",value:!0},{columns:2,parameter:"zoom",label:"config#HistoryGraph#zoom#label",type:"Switch",value:!0},{columns:2,parameter:"dataZoom",label:"config#HistoryGraph#dataZoom#label",info:"config#HistoryGraph#dataZoom#description",type:"Number",value:80,max:100,min:0},{columns:3,parameter:"timeType",label:"config#HistoryGraph#timeType#label",type:"Select",value:"review",options:[{value:"timeline",translate:"Timeline"},{value:"review",translate:"Review"}]},{columns:7,type:"Placeholder",dependencies:{timeType:[void 0,null]}},{columns:7,parameter:"timeTimelineDate",label:"config#HistoryGraph#timeTimelineDate#label",type:"Date",dependencies:{timeType:"timeline"}},{columns:2,parameter:"timeReviewValue",label:"config#HistoryGraph#timeReviewValue#label",type:"Number",value:7,min:0,dependencies:{timeType:"review"}},{columns:3,parameter:"timeReviewUnit",label:"config#HistoryGraph#timeReviewUnit#label",type:"Select",value:"days",options:[{value:"seconds",translate:"Seconds"},{value:"minutes",translate:"Minutes"},{value:"hours",translate:"Hours"},{value:"days",translate:"Days"},{value:"weeks",translate:"Weeks"},{value:"months",translate:"Months"}],dependencies:{timeType:"review"}},{columns:2,parameter:"timeRefresh",label:"config#HistoryGraph#timeRefresh#label",type:"Number",placeholder:"auto",dependencies:{timeType:"review"}},{columns:2,parameter:"timeConfigurable",label:"config#HistoryGraph#timeConfigurable#label",type:"Switch",value:!0},{columns:6,isPro:!0,parameter:"yAxis",label:"config#HistoryGraph#yAxis#label",info:"config#HistoryGraph#yAxis#info",link:"https://echarts.apache.org/en/option.html#yAxis",placeholder:"{}",json:!0},{columns:4,isPro:!0,parameter:"xAxis",label:"config#HistoryGraph#xAxis#label",info:"config#HistoryGraph#yAxis#info",link:"https://echarts.apache.org/en/option.html#xAxis",placeholder:"{}",json:!0},{columns:2,parameter:"dateFormat",label:"config#HistoryGraph#dateFormat#label",placeholder:"{HH}:{mm}\\n{dd}.{MM}."},{columns:6,isPro:!0,parameter:"series",label:"config#HistoryGraph#series#label",info:"config#HistoryGraph#series#info",link:"https://echarts.apache.org/en/option.html#series-line",placeholder:"{}",json:!0},{columns:6,isPro:!0,parameter:"callback",label:"config#HistoryGraph#callback#label",info:"config#HistoryGraph#callback#info",placeholder:"(val, ts, index) => val"}],__glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$a,default:ConfigFile$9},Symbol.toStringTag,{value:"Module"}));const Settings$9={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["label","bodyStateKey","bodyElement","primaryStateKey","actionElement","secondaryStatesKeys"]}},options=[{value:"",label:""},{value:"icon",label:"Icon (State)"},{value:"deviceIcon",label:"Icon (Device)"},{value:"label",label:"Label"},{value:"state",label:"State"},{value:"bodyElement",label:"Body Element"},{value:"actionElement",label:"Trigger Element"},{value:"secondaryStates",label:"Secondary States"}];var ConfigFile$8=[{columns:2,parameter:"topLeft",label:"config#HomeKitTile#topLeft#label",type:"Select",options,value:"icon"},{columns:2,parameter:"topCenter",label:"config#HomeKitTile#topCenter#label",type:"Select",options},{columns:2,parameter:"topRight",label:"config#HomeKitTile#topRight#label",type:"Select",options},{columns:1,type:"placeholder"},{columns:5,parameter:"action",label:"config#HomeKitTile#action#label",type:"Select",options:[{translate:"Open Device Details (Popup)",value:"popup"},{translate:"Trigger Action",value:"trigger"},{translate:"Open Page / Tab",value:"page"},{translate:"Open external Website",value:"website"},{translate:"No Action",value:"none"}],value:"popup"},{columns:2,parameter:"middleLeft",label:"config#HomeKitTile#middleLeft#label",type:"Select",options,value:"label"},{columns:2,parameter:"middleCenter",label:"config#HomeKitTile#middleCenter#label",type:"Select",options},{columns:2,parameter:"middleRight",label:"config#HomeKitTile#middleRight#label",type:"Select",options},{columns:1,type:"placeholder"},{columns:5,parameter:"jumper",label:"config#HomeKitTile#jumper#label",info:"config#HomeKitTile#jumper#info",type:"Select",options:(t,{jarvis:r})=>r.getPagesWithTabs,value:"",dependencies:{action:"page"}},{columns:5,parameter:"website",label:"config#HomeKitTile#website#label",value:"",dependencies:{action:"website"}},{columns:5,type:"placeholder",dependencies:{action:[void 0,null,"","none","popup","trigger"]}},{columns:2,parameter:"bottomLeft",label:"config#HomeKitTile#bottomLeft#label",type:"Select",options,value:"actionElement"},{columns:2,parameter:"bottomCenter",label:"config#HomeKitTile#bottomCenter#label",type:"Select",options},{columns:2,parameter:"bottomRight",label:"config#HomeKitTile#bottomRight#label",type:"Select",options},{columns:6,type:"placeholder"}],__glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$9,default:ConfigFile$8},Symbol.toStringTag,{value:"Module"}));const Settings$8={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$7=[{columns:12,parameter:"thead",label:"config#JsonTable#thead#label",info:"config#JsonTable#thead#description",placeholder:"config#JsonTable#thead#placeholder",isPro:"Format Option",json:!0},{columns:2,parameter:"object",label:"config#JsonTable#object#label",info:"config#JsonTable#object#description",type:"Switch",value:!1},{columns:2,parameter:"sortColumn",label:"config#JsonTable#sortColumn#label",info:"config#JsonTable#sortColumn#description"},{columns:2,parameter:"sortDirection",label:"config#JsonTable#sortDirection#label",info:"config#JsonTable#sortDirection#description",type:"Switch",value:!1},{columns:2,parameter:"rowsPerPage",label:"config#JsonTable#rowsPerPage#label",info:"config#JsonTable#rowsPerPage#description",type:"Number",value:10,min:0},{columns:2,parameter:"max",label:"config#JsonTable#max#label",info:"config#JsonTable#max#description",type:"Number",value:0,min:0},{columns:2,parameter:"dense",label:"config#JsonTable#dense#label",info:"config#JsonTable#dense#description",type:"Switch",value:!0},{columns:2,parameter:"hideFilter",label:"config#JsonTable#hideFilter#label",type:"Switch",value:!1},{columns:2,parameter:"hideColumnsSelector",label:"config#JsonTable#hideColumnsSelector#label",type:"Switch",value:!1},{columns:2,parameter:"hideFullscreenButton",label:"config#JsonTable#hideFullscreenButton#label",type:"Switch",value:!1}],__glob_2_9=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$8,default:ConfigFile$7},Symbol.toStringTag,{value:"Module"})),__glob_2_8=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$8,default:ConfigFile$7},Symbol.toStringTag,{value:"Module"}));const Settings$7={addList:!1,addGroup:!1,addDivider:!0,addDevice:{fields:["primaryStateKey"]}};var ConfigFile$6=[{columns:1,parameter:"defaultZoom",label:"config#Map#defaultZoom#label",type:"Number",value:10,min:0,max:19},{columns:1,parameter:"rotation",label:"config#Map#rotation#label",type:"Number",value:0,min:0,max:359},{columns:6,parameter:"defaultPosition",label:"config#Map#defaultPosition#label",info:"config#Map#defaultPosition#description",value:""},{columns:2,parameter:"followDevice",label:"config#Map#followDevice#label",info:"config#Map#followDevice#description",type:"Select",options:t=>{const r=[],o=Cache$1.get("devices");return t.forEach(a=>{a.type==="device"&&r.push({label:o[a.deviceId].name,value:a.deviceId})}),r},value:null},{columns:2,parameter:"tooltipPermanent",label:"config#Map#tooltipPermanent#label",info:"config#Map#tooltipPermanent#description",type:"Switch",value:!0}],__glob_2_10=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$7,default:ConfigFile$6},Symbol.toStringTag,{value:"Module"}));const Settings$6={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$5=[{parameter:"adapter",label:"config#MediaControl#adapter#label",required:!0,columns:2,type:"Select",options:()=>{const t=useIoBroker();return(t.instanceList&&t.instanceList.val||[]).filter(o=>o.indexOf("spotify-premium")>-1||o.indexOf("plex")>-1||o.indexOf("alexa2")>-1||o.indexOf("yamaha")>-1||o.indexOf("musiccast")>-1).map(o=>({value:o.toLowerCase().replace(/ /g,""),label:o}))},value:null},{parameter:"coverMode",label:"config#MediaControl#coverMode#label",description:"config#MediaControl#coverMode#info",columns:2,type:"Switch",value:!1},{parameter:"coverUrl",label:"config#MediaControl#coverUrl#label",description:"config#MediaControl#coverUrl#info",columns:2,value:""}],__glob_2_11=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$6,default:ConfigFile$5},Symbol.toStringTag,{value:"Module"}));const Settings$5={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$4=[{columns:2,parameter:"switch",label:"config#ScriptStatus#switch#label",info:"config#ScriptStatus#switch#description",type:"Switch",value:!0},{columns:2,parameter:"expanded",label:"config#ScriptStatus#expanded#label",info:"config#ScriptStatus#expanded#description",type:"Switch",value:!0},{parameter:"list",label:"config#ScriptStatus#list#label",info:"config#ScriptStatus#list#description",placeholder:"config#ScriptStatus#list#values"},{parameter:"blacklist",label:"config#ScriptStatus#blacklist#label",info:"config#ScriptStatus#blacklist#description",placeholder:"config#ScriptStatus#blacklist#values"}],__glob_2_12=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$5,default:ConfigFile$4},Symbol.toStringTag,{value:"Module"}));const Settings$4={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$3=[],__glob_2_13=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$4,default:ConfigFile$3},Symbol.toStringTag,{value:"Module"}));const Settings$3={};var ConfigFile$2=[{columns:2,parameter:"dense",label:"config#StateList#dense#label",info:"config#StateList#dense#description",type:"Switch",value:!1},{columns:2,parameter:"horizontal",label:"config#StateList#horizontal#label",info:"config#StateList#horizontal#description",type:"Switch",value:!1},{columns:2,parameter:"stacked",label:"config#StateList#stacked#label",info:"config#StateList#stacked#description",type:"Switch",value:!1},{columns:6,type:"Placeholder"},{columns:12,parameter:"filter",label:"config#StateList#filter#label",info:"config#StateList#filter#description",placeholder:"(value, val, state, device, deviceConfig, widget) => true",isPro:!0}],__glob_2_14=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$3,default:ConfigFile$2},Symbol.toStringTag,{value:"Module"}));const Settings$2={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$1=[{columns:5,parameter:"apikey",label:"config#Weather#apikey#label",required:!0,value:()=>(Cache$1.get("daswetter")||{}).affiliate_id||""},{columns:4,parameter:"localid",label:"config#Weather#localid#label",required:!0,value:()=>(Cache$1.get("daswetter")||{}).localidad||""},{columns:3,parameter:"display",label:"config#Weather#display#label",type:"Select",options:[{translate:"config#Weather#display#options#both",value:"both"},{translate:"config#Weather#display#options#overview",value:"overview"},{translate:"config#Weather#display#options#preview",value:"preview"}],value:"both"},{columns:2,parameter:"forecastSunRain",label:"config#Weather#forecastSunRain#label",type:"Switch",value:!0},{columns:2,parameter:"iconSetWeather",label:"config#Weather#iconSetWeather#label",type:"Select",options:[{value:"set1",label:"Set 1"},{value:"set2",label:"Set 2"},{value:"set3",label:"Set 3"},{value:"set4",label:"Set 4"},{value:"set5",label:"Set 5"},{value:"set5-white",label:"Set 5 (white)"}],value:"set5"},{parameter:"forecastTemperature",label:"config#Weather#forecastTemperature#label",type:"Switch",value:!0,columns:2},{parameter:"forecastWind",label:"config#Weather#forecastWind#label",type:"Switch",value:!0,columns:2},{parameter:"iconSetWind",label:"config#Weather#iconSetWind#label",type:"Select",options:[{value:"set1",label:"Set 1"},{value:"set2",label:"Set 2"},{value:"set5-white",label:"Set 5 (white)"}],value:"set2",columns:2}],__glob_2_15=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$2,default:ConfigFile$1},Symbol.toStringTag,{value:"Module"}));const Settings$1={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile=[{columns:12,parameter:"url",label:"config#iFrame#url#label",placeholder:"http://"},{columns:2,parameter:"keepalive",label:"config#iFrame#keepalive#label",info:"config#iFrame#keepalive#info",type:"Switch",value:!1},{columns:2,parameter:"interaction",label:"config#iFrame#interaction#label",info:"config#iFrame#interaction#info",type:"Switch",value:!0},{columns:2,parameter:"refresh",label:"config#iFrame#refresh#label",info:"config#iFrame#refresh#info",type:"Number",value:0,min:0},{columns:2,parameter:"sandbox",label:"config#iFrame#sandbox#label",info:"config#iFrame#sandbox#info",type:"Switch",value:!0},{columns:12,parameter:"sandboxOptions",label:"config#iFrame#sandboxOptions#label",type:"Select",multiple:!0,options:[{value:"allow-downloads",label:"Allows downloads"},{value:"allow-forms",label:"Allows form submission"},{value:"allow-modals",label:"Allows to open modal windows"},{value:"allow-orientation-lock",label:"Allows to lock the screen orientation"},{value:"allow-pointer-lock",label:"Allows to use the Pointer Lock API"},{value:"allow-popups",label:"Allows popups"},{value:"allow-popups-to-escape-sandbox",label:"Allows popups to open new windows without inheriting the sandboxing"},{value:"allow-presentation",label:"Allows to start a presentation session"},{value:"allow-same-origin",label:"Allows the iframe content to be treated as being from the same origin"},{value:"allow-scripts",label:"Allows to run scripts"},{value:"allow-top-navigation",label:"Allows the iframe content to navigate its top-level browsing context"},{value:"allow-top-navigation-by-user-activation",label:"Allows the iframe content to navigate its top-level browsing context, but only if initiated by user"}],value:["allow-forms","allow-modals","allow-popups","allow-same-origin","allow-scripts","allow-top-navigation"],dependencies:{sandbox:!0}}],__glob_2_16=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$1,default:ConfigFile},Symbol.toStringTag,{value:"Module"}));const ScaleExceptions=["AdapterLogs","iFrame","DisplayImage","MediaControl","JsonTable","HomeKitTile","Chart"],AlignmentExceptions=["AdapterLogs","iFrame","MediaControl","JsonTable","HomeKitTile","Chart"],ModuleList=["AdapterLogs","AdapterStatus","Calendar","Chart","DateTime","DisplayImage","HistoryGraph","HomeKitTile","HtmlTable","iFrame","JsonTable","Map","MediaControl","ScriptStatus","StateHTML","StateList","Weather"];class Modules{static load(){if(Modules._loaded=Modules.Configurations!==void 0,Modules.ModuleList=ModuleList,Modules._loaded)return Promise.resolve();const r={"./AdapterLogs/AdapterLogs.config.js":__glob_2_0,"./AdapterStatus/AdapterStatus.config.js":__glob_2_1,"./Calendar/Calendar.config.js":__glob_2_2,"./Chart/Chart.config.js":__glob_2_3,"./DateTime/DateTime.config.js":__glob_2_4,"./DisplayImage/DisplayImage.config.js":__glob_2_5,"./HistoryGraph/HistoryGraph.config.js":__glob_2_6,"./HomeKitTile/HomeKitTile.config.js":__glob_2_7,"./HtmlTable/HtmlTable.config.js":__glob_2_8,"./JsonTable/JsonTable.config.js":__glob_2_9,"./Map/Map.config.js":__glob_2_10,"./MediaControl/MediaControl.config.js":__glob_2_11,"./ScriptStatus/ScriptStatus.config.js":__glob_2_12,"./StateHTML/StateHTML.config.js":__glob_2_13,"./StateList/StateList.config.js":__glob_2_14,"./Weather/Weather.config.js":__glob_2_15,"./iFrame/iFrame.config.js":__glob_2_16},o=ModuleList.map(async a=>{try{const u="./"+a+"/"+a+".config.js",d=r[u];Modules.Configurations=Modules.Configurations||{},Modules.Configurations[a]=d.default,Modules.Settings=Modules.Settings||{},Modules.Settings[a]=d.Settings||{}}catch(u){console.debug(u)}return!0});return Promise.allSettled(o).then(()=>!0)}static joinConfig(r={},o=[]){const a={};return a._defaults={},o.forEach(u=>{if(a._hash=hash$3(r),a._defaults[u.parameter]=u.value!==void 0?u.value:null,a[u.parameter]=r[u.parameter]!==void 0?r[u.parameter]:a._defaults[u.parameter],a[u.parameter]&&typeof a[u.parameter]=="function"&&(a[u.parameter]=a[u.parameter]()),u.type&&u.type.toLowerCase()==="number"&&(a[u.parameter]=u.max!==void 0?Math.min(u.max,a[u.parameter]):a[u.parameter],a[u.parameter]=u.min!==void 0?Math.max(u.min,a[u.parameter]):a[u.parameter]),u.json===!0&&a[u.parameter]!==void 0&&a[u.parameter]&&typeof a[u.parameter]=="string")try{a[u.parameter]=JSON.parse(a[u.parameter])}catch(d){console.error(d)}}),_default(a)}}var QToolbarTitle=createComponent({name:"QToolbarTitle",props:{shrink:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-toolbar__title ellipsis"+(t.shrink===!0?" col-shrink":""));return()=>h("div",{class:o.value},hSlot(r.default))}}),QToolbar=createComponent({name:"QToolbar",props:{inset:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-toolbar row no-wrap items-center"+(t.inset===!0?" q-toolbar--inset":""));return()=>h("div",{class:o.value,role:"toolbar"},hSlot(r.default))}});const roleAttrExceptions=["ul","ol"];var QList=createComponent({name:"QList",props:{...useDarkProps,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),u=computed(()=>roleAttrExceptions.includes(t.tag)?null:"list"),d=computed(()=>"q-list"+(t.bordered===!0?" q-list--bordered":"")+(t.dense===!0?" q-list--dense":"")+(t.separator===!0?" q-list--separator":"")+(a.value===!0?" q-list--dark":"")+(t.padding===!0?" q-list--padding":""));return()=>h(t.tag,{class:d.value,role:u.value},hSlot(r.default))}}),ConnectionsPage_vue_vue_type_style_index_0_lang="";const _sfc_main$19=defineComponent({name:"ConnectionsPage",props:{error:{type:[String,Object],default:""}},setup(t){var y,A,b,_,w,S;const r=Cache$1.get("recentConnections",[],{ns:""}),o=r[r.length-1]||{};let{params:a}=Cache$1.get("connection",{params:{}});a=Cache$1.get("params",a);const u=reactive({host:a.host||o.socketHost||o.host||window.location.hostname,port:a.port||o.socketPort||o.port||window.location.port||8400,secure:(_=(b=(A=(y=a.secure)!=null?y:a.secure)!=null?A:o.socketSecure)!=null?b:o.secure)!=null?_:window.location.protocol.indexOf("https")!==-1,secureTrustUnsecureCerts:(S=(w=a.secureTrustUnsecureCerts)!=null?w:o.secureTrustUnsecureCerts)!=null?S:!1}),d=ref(Connection._url),g=(C,T)=>{d.value!==C&&(Cache$1.set("connection",{url:C,params:T},{ns:""}),window.location.reload())};return{socket:u,recentConnections:r,connectedUrl:d,onConnect:g,connect:()=>{const C=(u.secure?"https://":"http://")+u.host+":"+u.port;return g(C,toRaw(u))}}}}),_hoisted_1$Y={class:"full-height"},_hoisted_2$M={class:"row no-wrap"},_hoisted_3$C={class:"paper q-py-sm"},_hoisted_4$t={class:"row"},_hoisted_5$p={class:"col-xs-12 col-sm-8"},_hoisted_6$k={class:"col-xs-12 col-sm-4"},_hoisted_7$g={class:"row"},_hoisted_8$f={class:"toggles col-xs-12 col-sm-grow content-center"},_hoisted_9$f={class:"col-xs-12 col-sm-shrink content-center row justify-center"},_hoisted_10$d={class:"row no-wrap"},_hoisted_11$d={class:"row"},_hoisted_12$b={class:"col-12"};function _sfc_render$19(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",_hoisted_1$Y,[createBaseVNode("div",_hoisted_2$M,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Connection Details")),1)]),_:1})]),_:1})]),createBaseVNode("div",_hoisted_3$C,[createBaseVNode("div",_hoisted_4$t,[createBaseVNode("div",_hoisted_5$p,[createVNode$1(QInput,{modelValue:t.socket.host,"onUpdate:modelValue":r[0]||(r[0]=v=>t.socket.host=v),class:"q-ma-sm",standout:"bg-primary text-white",label:t.$t("Host")+" / "+t.$t("IP")},null,8,["modelValue","label"])]),createBaseVNode("div",_hoisted_6$k,[createVNode$1(QInput,{modelValue:t.socket.port,"onUpdate:modelValue":r[1]||(r[1]=v=>t.socket.port=v),class:"q-ma-sm",standout:"bg-primary text-white",label:t.$t("Port"),maxlength:4,hint:t.$t("Please specifify jarvis-socket port (not web port)")},null,8,["modelValue","label","hint"])])]),createBaseVNode("div",_hoisted_7$g,[createBaseVNode("div",_hoisted_8$f,[createVNode$1(QToggle,{modelValue:t.socket.secure,"onUpdate:modelValue":r[2]||(r[2]=v=>t.socket.secure=v),label:t.$t("Secure Connection")+" ("+t.$t("HTTPs")+")"},null,8,["modelValue","label"]),withDirectives(createVNode$1(QToggle,{modelValue:t.socket.secureTrustUnsecureCerts,"onUpdate:modelValue":r[3]||(r[3]=v=>t.socket.secureTrustUnsecureCerts=v),label:t.$t("Trust Unsecure Certs")},null,8,["modelValue","label"]),[[vShow,t.socket.secure]])]),createBaseVNode("div",_hoisted_9$f,[createVNode$1(QBtn,{class:"q-ma-sm",label:t.$t("Connect"),color:"primary",onClick:t.connect},null,8,["label","onClick"])])]),t.error?(openBlock(),createBlock(g,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.error&&t.error.message||t.error||"Verification failed")),1)]),_:1})):createCommentVNode("",!0)]),withDirectives(createBaseVNode("div",_hoisted_10$d,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Recent Connections")),1)]),_:1})]),_:1})],512),[[vShow,t.recentConnections.length!==0]]),withDirectives(createBaseVNode("div",_hoisted_11$d,[createBaseVNode("div",_hoisted_12$b,[createVNode$1(QList,{class:"q-ma-sm rounded-borders paper"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.recentConnections,v=>(openBlock(),createBlock(QItem,{key:v.socketUrl,clickable:"","v-ripple":t.connectedUrl!==v.socketUrl,disable:t.connectedUrl===v.socketUrl},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:t.connectedUrl===v.socketUrl?"positive":"primary",name:t.connectedUrl===v.socketUrl?"mdi-lan-check":"mdi-lan-connect"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,{onClick:y=>t.onConnect(v.socketUrl,v)},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.socketUrl),1)]),_:2},1024)]),_:2},1032,["onClick"])]),_:2},1032,["v-ripple","disable"]))),128))]),_:1})])],512),[[vShow,t.recentConnections.length!==0]])])}var ConnectionsPage=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$19]]),ConnectionsPage$1=Object.freeze(Object.defineProperty({__proto__:null,default:ConnectionsPage},Symbol.toStringTag,{value:"Module"})),App_vue_vue_type_style_index_0_lang="";const _sfc_main$18=defineComponent({name:"App",components:{ConnectionsPage},setup(){const t=useI18n(),r=useJarvis(),o=useIoBroker(),a=useNotifications(),u=useQuasar(),d=useRoute(),g=useRouter(),v="3.2.0-beta.75",y=ref("init"),A=ref(!1),b=ref(!1),_=ref(null),w=ref([]),S=O=>{const D=O.key||O;return w.value.includes(D)===!1&&(w.value.push(D),["modules","functions","layout","widgets","devices","settings","scripts","styles","pro"].some(P=>!w.value.includes(P))||(y.value="loaded")),D};let C=null;const T=()=>{const O=Cache$1.get("settings",{}),D=O&&parseInt(O.pageHomeReturn)||0;y.value==="loaded"&&O&&O.pageHome&&D>0&&(clearTimeout(C),C=setTimeout(()=>{d.name&&d.name.toLowerCase()==="home"&&g.push({name:"Home",params:{...d.params,tabId:O.pageHome}}).catch(()=>{})},D*1e3))},I=()=>{document.onclick=T,document.onkeydown=T};watch(()=>d.params,()=>E());const E=()=>{const O=Cache$1.get("settings",{}),D=Cache$1.get("layout",[]),x=d.params.tabId||O&&O.pageHome||D[0]&&D[0].tabs[0]&&D[0].tabs[0].id;if(window.location.href.indexOf("reload=true")!==-1)console.warn("App","Reload requested!"),window.location.replace(window.location.href.replace(/[&?]reload=true/gi,"")),window.location.reload();else if(A.value===!1&&b.value===!1&&y.value!=="loaded"&&window.location.href.indexOf("restart=true")!==-1)F();else if(window.location.href.indexOf("disconnect=true")!==-1)y.value="error",_.value="Client has been disconnected due to missing authentication!";else if(y.value==="loaded"&&d.path.indexOf("/configuration")===-1&&d.path.indexOf("/account")===-1&&x&&D.length>0){const P=D.find(G=>Array.isArray(G.tabs)&&G.tabs.some(M=>M.id===x));if(P){if(x!==d.params.tabId&&g.replace({name:"Home",params:{tabId:x}}).catch(N=>console.warn("App-22ea9d4fa3",N&&N.message||N)),Connection.getConnection.client){const N=Connection.getConnection;N.setState(config$n.get("ADAPTER_INSTANCE")+"clients."+N.client.ns+".setTabId",x,!0).catch(V=>console.warn("App-5b293cf4",V&&V.message||V))}useJarvis().set({selectedPageId:P.id,selectedTabId:x})}}};watch([()=>r.watch.scripts,()=>r.watch.settings],(O,D)=>{const x=Cache$1.get("settings",{}),P=Cache$1.get("scripts",null);if(x.scriptsEnabled&&P&&O[0]!==D[0]&&O[1]!==D[1])try{useImports("script",P,{tag:"script"}).then(G=>{if(G)try{useCustomTag("script",G,{key:"ts-"+r.watch.scripts,id:"scripts"})}catch(M){console.error(M)}})}catch(G){console.warn("App-B7cq4T4m","Error injecting custom scripts: "+G.message),console.debug("App-B7cq4T4m",P)}else x.scriptsEnabled===!1&&document.getElementById("scripts")&&document.getElementById("scripts").remove()}),onBeforeMount(()=>{window.addEventListener("keydown",x=>{x.keyCode===112?(x.preventDefault(),window.open("https://github.com/Zefau/ioBroker.jarvis/wiki","_blank")):x.keyCode===113?g.push({name:"Configuration"}).catch(()=>{}):x.ctrlKey===!0&&x.keyCode===119?g.push({name:"StylesPage"}).catch(()=>{}):x.ctrlKey===!0&&x.keyCode===120?g.push({name:"SettingsPage"}).catch(()=>{}):x.ctrlKey!==!0&&x.keyCode===119?g.push({name:"DevicesPage"}).catch(()=>{}):x.ctrlKey!==!0&&x.keyCode===120&&g.push({name:"LayoutPage"}).catch(()=>{})});const O=Date.now();console.log("App","Welcome to jarvis v"+v),window.refreshDeviceState=Devices.refreshDeviceState,document.body.style.setProperty("--jarvis-version",'"v'+v+'"');const D=[];u.platform.is.capacitor&&(D.push(StatusBar.setBackgroundColor({color:"#842FA3"})),window.open=x=>(x=typeof x=="string"?{url:x}:x,Browser$2.open(x))),window.electron&&watch(t.locale,x=>{window.electron.i18n(toRaw(t.messages.value[x]||t.messages.value[x.substr(0,2)]))},{immediate:!0}),D.push(g.isReady()),Functions.load().then(()=>S("functions")),Modules.load().then(()=>S("modules")),Promise.allSettled(D).then(()=>(y.value="loading",u.platform.is.capacitor&&SplashScreen.hide(),console.debug("App","Time - Router Ready: "+(Date.now()-O).toFixed(2)+"ms"),F({start:O}))).catch(x=>{console.log("App-380f6fdb74",x&&x.message||x),y.value="error",x.value=x.message})});const F=(O={})=>{O.start=O.start||Date.now(),_.value="",A.value=!0;const{url:D,params:x}=Cache$1.get("connection",{url:null,params:{}});return Connection.connect(D,{...O,...x}).then(P=>{const{socket:G}=P;console.debug("App","Time - Socket connected: "+(Date.now()-O.start).toFixed(2)+"ms"),_.value="",A.value=!1,b.value=!0;let M=Cache$1.get("themeDarkMode","auto");return window.darkMode&&window.darkMode.set(M),M==="auto"&&(M=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"on":"off"),Plugin$3.set(M==="on"),G.authenticate().then(N=>(G.instance=N.instance,r.set("authentication.page",N.authenticationMethod),G)).catch(N=>{throw G.instance=N.instance,r.set("authentication.page",N.authenticationMethod),y.value="login",g.push({name:"Login"}).catch(V=>console.error(V)),N})}).then(P=>(Cache$1.setNamespace("jarvis.#"+hash$3(P.url+"#"+P.instance+"#"+v)+".").set("url",P.url),console.log("App","using instance "+P.instance+' and namespace "'+Cache$1._ns.substr(0,Cache$1._ns.length-1)+'".'),document.body.style.setProperty("--jarvis-instance",'"'+P.instance+'"'),(Cache$1.get("pro")&&Cache$1.get("iobroker.uuid")&&Cache$1.get("iobroker.system")?Pro.validate(Cache$1.get("pro"),Cache$1.get("iobroker.uuid"),Cache$1.get("iobroker.system")):Promise.reject()).then(()=>S("pro")).catch(()=>{}).finally(()=>{console.debug("App","Time - Validated pro: "+(Date.now()-O.start).toFixed(2)+"ms");let M=["settings","layout","devices","widgets"];Pro.isPro()&&(M=M.concat(["styles","scripts"])),M.forEach(N=>{Cache$1.get(N)!==null?(S(N),console.debug(N,"Loaded from cache."),N==="settings"?ioBroker.applySettings(Cache$1.get(N)):N==="layout"&&Cache$1.get("settings")!==null?E():N==="devices"&&Devices.init(Cache$1.get(N)),r.set("watch."+N,Date.now())):console.debug(N,"No cache found!")}),console.debug("App","Time - Cache loaded: "+(Date.now()-O.start).toFixed(2)+"ms")}),P)).then(P=>{const G=[];return G.push(ioBroker.subscribe("settings").then(M=>S(M)).catch(M=>console.error("App-PQfG1vrPb8",M&&M.message||M))),G.push(new Promise(M=>{P.getObject("system.meta.uuid",({err:N,object:V})=>{!N&&V&&V.native&&(o.join("meta",V.native),Cache$1.set("iobroker.uuid",V.native.uuid)),M()})})),G.push(new Promise(M=>{P.send("getSystemInformation",[],N=>{o.join("meta",{system:N}),Cache$1.set("iobroker.system",N),M()})})),Cache$1.get("pro")&&Cache$1.get("iobroker.uuid")&&Cache$1.get("iobroker.system")?Promise.resolve(P):Promise.allSettled(G).then(M=>P.getState(config$n.get("NODE_PRO")).then(N=>N&&N.val?N:P.getState("jarvis.0.info.pro")).then(N=>N&&N.val?(Cache$1.set("pro",N.val),Pro.validate(N.val,o.meta.uuid,o.meta.system)):!0).then(()=>(S("pro"),P)).catch(N=>{console.error("App-lUZ53KTivl",N&&N.message||N)}))}).then(P=>{console.debug("App","Time - Processed Users and Groups: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return G.push(ioBroker.subscribe("devices").then(M=>S(M)).catch(M=>console.error("App-PQfG1vrOa7",M&&M.message||M))),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Devices: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return G.push(ioBroker.subscribe("widgets").then(M=>S(M)).catch(M=>console.error("App-GAcA7qDpf5",M&&M.message||M))),G.push(ioBroker.subscribe("layout").then(M=>{const N=S(M);return E(),T(),I(),N}).catch(M=>console.error("App-Ro6cAsoL86",M&&M.message||M))),G.push(ioBroker.subscribe("styles").then(M=>S(M)).catch(M=>console.error("App-McGn2K9ZAg",M&&M.message||M))),G.push(ioBroker.subscribe("scripts").then(M=>S(M)).catch(M=>console.error("App-cXn2MZAgK7",M&&M.message||M))),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Widgets, Layout, Styles and Scripts: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return P.on("#setTabId",M=>{y.value==="loaded"&&M&&r.selectedTabId!==M&&g.push({params:{...d.params,tabId:M}}).catch(()=>{})}),G.push(new Promise(M=>{P.getObject("system.config",({err:N,object:V})=>{!N&&V&&V.common&&o.join("meta",{...V.common,...V.native}),M()})})),G.push(P.getRooms().then(M=>(o.join("rooms",M),!0))),G.push(a.subscribe().catch(M=>console.warn("Notifications",M&&M.message||M))),ioBroker.subscribeAdapterInstances(),G.push(new Promise(M=>{P.send("getConfig","",({config:N})=>{Cache$1.set("adapterConfig",N),M()})})),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Config and Adapter-Instances: "+(Date.now()-O.start).toFixed(2)+"ms");const G=Cache$1.get("verification"),M=config$n.get("IS_DEV");console.debug("App","Last Verification: ",G),console.debug("App","Development Mode: ",M);const N=window.location.href.indexOf("/jarvis/"),V=M?"https://192.168.2.11:8400/jarvis":N!==-1?window.location.href.substr(0,N+7):window.location.href.substr(0,window.location.href.indexOf("/",window.location.href.lastIndexOf(":")));return!u.platform.is.cordova&&!u.platform.is.capacitor&&!M&&(!G||G!H||H.status!==200||!H.data||typeof H.data!="object"?axios$1.get("https://raw.githubusercontent.com/Zefau/ioBroker.jarvis/v"+v+"/www/jarvis/js/app.hash.json"):H).then(H=>{if(!H||H.status!==200||!H.data||typeof H.data!="object")throw new Error("Invalid response received when requesting hashes");const{["app.hash.json"]:B,...z}=H.data;if(!B||!z)throw new Error("Invalid or corrupt hash file");const U=btoa(encodeURIComponent(JSON.stringify(z))).substr(0,1e5);return Encryption.verify(U,B,config$n.get("PUBLIC_KEY")).then(Q=>{if(!Q)throw new Error("Corrupt hash file");return z})}).then(H=>{const B=[Encryption.verify("invalid","invalid",config$n.get("PUBLIC_KEY"))];for(const z in H){const U=H[z];B.push(new Promise((Q,X)=>{z.indexOf("/")===-1?(u.platform.is.electron&&window.electron?window.electron.readFile(z):axios$1.get(V+"/js/"+z)).then(ne=>{if(!ne||ne.status!==200||!ne.data)throw new Error("Invalid response received when requesting hashes");const te=ne.data,ce=btoa(encodeURIComponent((z.endsWith(".json")?JSON.stringify(JSON.parse(te)):te).trim())).substr(0,1e5);return Encryption.verify(ce,U,config$n.get("PUBLIC_KEY"))}).then(ne=>{Q({file:z,verified:ne})}).catch(ne=>{if(ne&&ne.response)return console.warn("App","Verification",ne.response.statusText),X({file:z,name:ne.response.statusText,message:ne.response.data});console.warn("App","Verification: Unknown error retrieving URL "+z,ne),X({file:z,message:"Unknown error",res:ne})}):P.readFile("{dirname}/"+z.substr(z.indexOf("/")+1)).then(J=>{const ne=btoa(encodeURIComponent((z.endsWith(".json")?JSON.stringify(JSON.parse(J)):J).trim())).substr(0,1e5);return Encryption.verify(ne,U,config$n.get("PUBLIC_KEY"))}).then(J=>{Q({file:z,verified:J})}).catch(J=>{console.warn("App","Verification: Unknown error reading file "+z,J&&J.message||J),X({file:z,...J})})}))}return Promise.allSettled(B).then(z=>{const U=z.shift(),Q=z.some(X=>X.status==="rejected"||!X.value||X.value.verified!==!0);if(U.status==="fulfilled"&&U.value===!1&&!Q)Cache$1.set("verification",Date.now());else{if(Cache$1.get("inconsistent",null)===null){const X=Cache$1.get("connection",{},{ns:""});Cache$1.clear(),Cache$1.set("inconsistent",!0),Cache$1.set("connection",X,{ns:""}),window.location.reload()}throw r.set({pro:!1}),new Error("Installation inconsistent")}})}).catch(H=>{console.error("App-9e37f7a363",H&&H.message||H),_.value="Verify Installation: "+H.message,y.value="error"}),Pro.isPro()?axios$1.get("https://raw.githubusercontent.com/Zefau/ioBroker.jarvis/master/www/jarvis/js/app.licences.json").catch(()=>axios$1.get(V+"/js/app.licences.json")).catch(()=>axios$1.get("./app.licences.json")).then(Y=>{const H=Y.data.signature,B=Y.data.licences,z=Pro.getLicence();if(!z)throw console.debug(Y,Y.data),new Error("Verification of Licence failed (no licence found)");if(B){if(B[z.invoiceId]&&B[z.invoiceId].licence===z.signature)throw new Error("Verification of Licence failed (Licence blocked)")}else throw console.debug(Y,Y.data),new Error("Verification of Licence failed (no licences loaded)");const U=btoa(typeof B=="string"?B:JSON.stringify(B));return Encryption.verify(U,H,config$n.get("PUBLIC_KEY"))}).then(Y=>{if(!Y)throw new Error("Verification of Licence failed (Licence blocked)")}).catch(Y=>{console.error("App-088dd73e5c",Y&&Y.message||Y),_.value="Verify Licences: "+Y.message,y.value="error",r.set({pro:!1})}):!Pro.isPro()&&(u.platform.is.capacitor||u.platform.is.cordova||u.platform.is.electron)&&setTimeout(()=>{throw new Error("Please get a Pro-Account to permanently use the Mobile-/Windows-Apps")},3*60*60*1e3),!0}).then(()=>{console.debug("App","Time - Verified installation: "+(Date.now()-O.start).toFixed(2)+"ms"),axios$1.get("https://raw.githubusercontent.com/Templarian/MaterialDesign/master/meta.json").then(P=>{if(Cache$1.set("icons.mdi",[]),Cache$1.set("icons.mdi.alias",{}),P&&P.data){const G=[],M={};P.data.forEach(N=>{G.push(N.name),M[N.name]=N.name,N.aliases.forEach(V=>{M[V]=N.name})}),Cache$1.set("icons.mdi",G.sort()),Cache$1.set("icons.mdi.alias",sortObjectByKey(M))}console.debug("App","Time - Processed Icons: "+(Date.now()-O.start).toFixed(2)+"ms")}).catch(P=>{console.log("App-b9518e0326",P&&P.message||P)})}).catch(P=>{console.warn("App-hGejAmgnwn",P.message),_.value=P.message,y.value=y.value==="login"?y:"error",A.value=!1,b.value=!1}).finally(()=>{window.dispatchEvent(new Event("load")),document.dispatchEvent(new Event("DOMContentLoaded"))})};return{i18n:t,drawerMiniMode:computed(()=>r.drawerMiniMode),state:y,error:_}}}),_hoisted_1$X={style:{"min-height":"100%"},class:"loading"},_hoisted_2$L={key:0},_hoisted_3$B={class:"full-height"},_hoisted_4$s={key:1},_hoisted_5$o={key:0,class:"q-pa-xs items-center"};function _sfc_render$18(t,r,o,a,u,d){const g=resolveComponent("ConnectionsPage"),v=resolveComponent("router-view");return openBlock(),createElementBlock("div",_hoisted_1$X,[t.state!=="loaded"&&t.state!=="error"?(openBlock(),createElementBlock("div",_hoisted_2$L,[createBaseVNode("div",_hoisted_3$B,[r[0]||(r[0]=createBaseVNode("img",{src:"icon-192.png",class:"hvCentered",style:{"padding-top":"28px"}},null,-1)),createVNode$1(QInnerLoading,{showing:!0,style:{background:"transparent","padding-top":"28px"}},{default:withCtx(()=>[createVNode$1(QSpinner,{size:"xl",color:"purple"})]),_:1})])])):(openBlock(),createElementBlock("div",_hoisted_4$s,[t.state==="error"?(openBlock(),createElementBlock("div",_hoisted_5$o,[createVNode$1(g,{error:t.error},null,8,["error"])])):(openBlock(),createBlock(QLayout,{key:1,class:"jarvis-page-container",view:t.drawerMiniMode===!0?"lHh lpR lFf":"hHh lpR fFf"},{default:withCtx(()=>[t.state!=="login"?(openBlock(),createBlock(v,{key:0,name:"sidebar"})):createCommentVNode("",!0),t.state!=="login"?(openBlock(),createBlock(v,{key:1,name:"notifications"})):createCommentVNode("",!0),t.state!=="login"?(openBlock(),createBlock(v,{key:2})):(openBlock(),createBlock(v,{key:3,name:"login"}))]),_:1},8,["view"])),r[1]||(r[1]=createBaseVNode("div",{id:"iframes"},null,-1))]))])}var RootComponent=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$18]]),createStore=()=>createPinia();async function createQuasarApp(t,r){const o=t(RootComponent);o.use(Quasar,r);const a=typeof createStore=="function"?await createStore({}):createStore;o.use(a);const u=markRaw(typeof createRouter=="function"?await createRouter({store:a}):createRouter);return a.use(({store:d})=>{d.router=u}),{app:o,store:a,router:u}}const mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",mdiAlertCircle="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiArrowDown="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z",mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",mdiArrowRight="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",mdiArrowUp="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",mdiCalendarToday="M7,10H12V15H7M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiCheck="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",mdiCheckAll="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z",mdiCheckCircle="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",mdiChevronDoubleLeft="M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z",mdiChevronDoubleRight="M5.59,7.41L7,6L13,12L7,18L5.59,16.59L10.17,12L5.59,7.41M11.59,7.41L13,6L19,12L13,18L11.59,16.59L16.17,12L11.59,7.41Z",mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",mdiChevronLeft="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",mdiChevronUp="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",mdiCircle="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiClockOutline="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z",mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",mdiCloseCircle="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",mdiCloudUpload="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",mdiCodeTags="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z",mdiExclamation="M 11,4L 13,4L 13,15L 11,15L 11,4 Z M 13,18L 13,20L 11,20L 11,18L 13,18 Z",mdiFormatAlignCenter="M3,3H21V5H3V3M7,7H17V9H7V7M3,11H21V13H3V11M7,15H17V17H7V15M3,19H21V21H3V19Z",mdiFormatAlignJustify="M3,3H21V5H3V3M3,7H21V9H3V7M3,11H21V13H3V11M3,15H21V17H3V15M3,19H21V21H3V19Z",mdiFormatAlignLeft="M3,3H21V5H3V3M3,7H15V9H3V7M3,11H21V13H3V11M3,15H15V17H3V15M3,19H21V21H3V19Z",mdiFormatAlignRight="M3,3H21V5H3V3M9,7H21V9H9V7M3,11H21V13H3V11M9,15H21V17H9V15M3,19H21V21H3V19Z",mdiFormatBold="M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z",mdiFormatClear="M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z",mdiFormatColorText="M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z",mdiFormatFont="M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z",mdiFormatHeader1="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M14,18V16H16V6.31L13.5,7.75V5.44L16,4H18V16H20V18H14Z",mdiFormatHeader2="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M21,18H15A2,2 0 0,1 13,16C13,15.47 13.2,15 13.54,14.64L18.41,9.41C18.78,9.05 19,8.55 19,8A2,2 0 0,0 17,6A2,2 0 0,0 15,8H13A4,4 0 0,1 17,4A4,4 0 0,1 21,8C21,9.1 20.55,10.1 19.83,10.83L15,16H21V18Z",mdiFormatHeader3="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V15H15V16H19V12H15V10H19V6H15V7H13V6A2,2 0 0,1 15,4Z",mdiFormatHeader4="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M18,18V13H13V11L18,4H20V11H21V13H20V18H18M18,11V7.42L15.45,11H18Z",mdiFormatHeader5="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H20V6H15V10H17A4,4 0 0,1 21,14A4,4 0 0,1 17,18H15A2,2 0 0,1 13,16V15H15V16H17A2,2 0 0,0 19,14A2,2 0 0,0 17,12H15A2,2 0 0,1 13,10V6A2,2 0 0,1 15,4Z",mdiFormatHeader6="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V7H19V6H15V10H19A2,2 0 0,1 21,12V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V6A2,2 0 0,1 15,4M15,12V16H19V12H15Z",mdiFormatIndentDecrease="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M3,21H21V19H3M3,12L7,16V8M11,17H21V15H11V17Z",mdiFormatIndentIncrease="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M11,17H21V15H11M3,8V16L7,12M3,21H21V19H3V21Z",mdiFormatItalic="M10,4V7H12.21L8.79,15H6V18H14V15H11.79L15.21,7H18V4H10Z",mdiFormatListBulleted="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z",mdiFormatListNumbered="M7,13V11H21V13H7M7,19V17H21V19H7M7,7V5H21V7H7M3,8V5H2V4H4V8H3M2,17V16H5V20H2V19H4V18.5H3V17.5H4V17H2M4.25,10A0.75,0.75 0 0,1 5,10.75C5,10.95 4.92,11.14 4.79,11.27L3.12,13H5V14H2V13.08L4,11H2V10H4.25Z",mdiFormatQuoteClose="M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z",mdiFormatSize="M2 4V7H7V19H10V7H15V4H2M21 9H12V12H15V19H18V12H21V9Z",mdiFormatStrikethroughVariant="M7.2 9.8C6 7.5 7.7 4.8 10.1 4.3C13.2 3.3 17.7 4.7 17.6 8.5H14.6C14.6 8.2 14.5 7.9 14.5 7.7C14.3 7.1 13.9 6.8 13.3 6.6C12.5 6.3 11.2 6.4 10.5 6.9C9 8.2 10.4 9.5 12 10H7.4C7.3 9.9 7.3 9.8 7.2 9.8M21 13V11H3V13H12.6C12.8 13.1 13 13.1 13.2 13.2C13.8 13.5 14.3 13.7 14.5 14.3C14.6 14.7 14.7 15.2 14.5 15.6C14.3 16.1 13.9 16.3 13.4 16.5C11.6 17 9.4 16.3 9.5 14.1H6.5C6.4 16.7 8.6 18.5 11 18.8C14.8 19.6 19.3 17.2 17.3 12.9L21 13Z",mdiFormatSubscript="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,21.03H16.97V20.03L17.86,19.23C18.62,18.58 19.18,18.04 19.56,17.6C19.93,17.16 20.12,16.75 20.13,16.36C20.14,16.08 20.05,15.85 19.86,15.66C19.68,15.5 19.39,15.38 19,15.38C18.69,15.38 18.42,15.44 18.16,15.56L17.5,15.94L17.05,14.77C17.32,14.56 17.64,14.38 18.03,14.24C18.42,14.1 18.85,14 19.32,14C20.1,14.04 20.7,14.25 21.1,14.66C21.5,15.07 21.72,15.59 21.72,16.23C21.71,16.79 21.53,17.31 21.18,17.78C20.84,18.25 20.42,18.7 19.91,19.14L19.27,19.66V19.68H21.85V21.03Z",mdiFormatSuperscript="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,9H16.97V8L17.86,7.18C18.62,6.54 19.18,6 19.56,5.55C19.93,5.11 20.12,4.7 20.13,4.32C20.14,4.04 20.05,3.8 19.86,3.62C19.68,3.43 19.39,3.34 19,3.33C18.69,3.34 18.42,3.4 18.16,3.5L17.5,3.89L17.05,2.72C17.32,2.5 17.64,2.33 18.03,2.19C18.42,2.05 18.85,2 19.32,2C20.1,2 20.7,2.2 21.1,2.61C21.5,3 21.72,3.54 21.72,4.18C21.71,4.74 21.53,5.26 21.18,5.73C20.84,6.21 20.42,6.66 19.91,7.09L19.27,7.61V7.63H21.85V9Z",mdiFormatUnderline="M5,21H19V19H5V21M12,17A6,6 0 0,0 18,11V3H15.5V11A3.5,3.5 0 0,1 12,14.5A3.5,3.5 0 0,1 8.5,11V3H6V11A6,6 0 0,0 12,17Z",mdiFullscreen="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",mdiGradientVertical="M11,9H13V11H11V9M9,11H11V13H9V11M13,11H15V13H13V11M15,9H17V11H15V9M7,9H9V11H7V9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M9,18H7V16H9V18M13,18H11V16H13V18M17,18H15V16H17V18M19,11H17V13H19V15H17V13H15V15H13V13H11V15H9V13H7V15H5V13H7V11H5V5H19V11Z",mdiInformation="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z",mdiMenuDown="M7,10L12,15L17,10H7Z",mdiMinus="M19,13H5V11H19V13Z",mdiNotificationClearAll="M5,13H19V11H5M3,17H17V15H3M7,7V9H21V7",mdiNumeric1Box="M14,17H12V9H10V7H14M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric2Box="M15,11C15,12.11 14.1,13 13,13H11V15H15V17H9V13C9,11.89 9.9,11 11,11H13V9H9V7H13A2,2 0 0,1 15,9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric3Box="M15,10.5A1.5,1.5 0 0,1 13.5,12C14.34,12 15,12.67 15,13.5V15C15,16.11 14.11,17 13,17H9V15H13V13H11V11H13V9H9V7H13C14.11,7 15,7.89 15,9M19,3H5C3.91,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19C20.11,21 21,20.1 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric4Box="M15,17H13V13H9V7H11V11H13V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric5Box="M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H9V15H13V13H9V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric6Box="M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H11A2,2 0 0,1 9,15V9C9,7.89 9.9,7 11,7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M11,15H13V13H11V15Z",mdiNumeric7Box="M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,17L15,9V7H9V9H13L9,17H11Z",mdiPaletteSwatch="M2.53,19.65L3.87,20.21V11.18L1.44,17.04C1.03,18.06 1.5,19.23 2.53,19.65M22.03,15.95L17.07,4C16.76,3.23 16.03,2.77 15.26,2.75C15,2.75 14.73,2.79 14.47,2.9L7.1,5.95C6.35,6.26 5.89,7 5.87,7.75C5.86,8 5.91,8.29 6,8.55L11,20.5C11.29,21.28 12.03,21.74 12.81,21.75C13.07,21.75 13.33,21.7 13.58,21.6L20.94,18.55C21.96,18.13 22.45,16.96 22.03,15.95M7.88,8.75A1,1 0 0,1 6.88,7.75A1,1 0 0,1 7.88,6.75C8.43,6.75 8.88,7.2 8.88,7.75C8.88,8.3 8.43,8.75 7.88,8.75M5.88,19.75A2,2 0 0,0 7.88,21.75H9.33L5.88,13.41V19.75Z",mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z",mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",mdiPlusBox="M17,13H13V17H11V13H7V11H11V7H13V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",mdiPrinter="M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z",mdiRedo="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",mdiStar="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",mdiTune="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",mdiUndo="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";var iconSet={name:"svg-mdi-v7",type:{positive:mdiCheckCircle,negative:mdiAlert,info:mdiInformation,warning:mdiExclamation},arrow:{up:mdiArrowUp,right:mdiArrowRight,down:mdiArrowDown,left:mdiArrowLeft,dropdown:mdiMenuDown},chevron:{left:mdiChevronLeft,right:mdiChevronRight},colorPicker:{spectrum:mdiGradientVertical,tune:mdiTune,palette:mdiPaletteSwatch},pullToRefresh:{icon:mdiRefresh},carousel:{left:mdiChevronLeft,right:mdiChevronRight,up:mdiChevronUp,down:mdiChevronDown,navigationIcon:mdiCircle},chip:{remove:mdiCloseCircle,selected:mdiCheck},datetime:{arrowLeft:mdiChevronLeft,arrowRight:mdiChevronRight,now:mdiClockOutline,today:mdiCalendarToday},editor:{bold:mdiFormatBold,italic:mdiFormatItalic,strikethrough:mdiFormatStrikethroughVariant,underline:mdiFormatUnderline,unorderedList:mdiFormatListBulleted,orderedList:mdiFormatListNumbered,subscript:mdiFormatSubscript,superscript:mdiFormatSuperscript,hyperlink:mdiLink,toggleFullscreen:mdiFullscreen,quote:mdiFormatQuoteClose,left:mdiFormatAlignLeft,center:mdiFormatAlignCenter,right:mdiFormatAlignRight,justify:mdiFormatAlignJustify,print:mdiPrinter,outdent:mdiFormatIndentDecrease,indent:mdiFormatIndentIncrease,removeFormat:mdiFormatClear,formatting:mdiFormatColorText,fontSize:mdiFormatSize,align:mdiFormatAlignLeft,hr:mdiMinus,undo:mdiUndo,redo:mdiRedo,heading:mdiFormatSize,heading1:mdiFormatHeader1,heading2:mdiFormatHeader2,heading3:mdiFormatHeader3,heading4:mdiFormatHeader4,heading5:mdiFormatHeader5,heading6:mdiFormatHeader6,code:mdiCodeTags,size:mdiFormatSize,size1:mdiNumeric1Box,size2:mdiNumeric2Box,size3:mdiNumeric3Box,size4:mdiNumeric4Box,size5:mdiNumeric5Box,size6:mdiNumeric6Box,size7:mdiNumeric7Box,font:mdiFormatFont,viewSource:mdiCodeTags},expansionItem:{icon:mdiChevronDown,denseIcon:mdiMenuDown},fab:{icon:mdiPlus,activeIcon:mdiClose},field:{clear:mdiCloseCircle,error:mdiAlertCircle},pagination:{first:mdiChevronDoubleLeft,prev:mdiChevronLeft,next:mdiChevronRight,last:mdiChevronDoubleRight},rating:{icon:mdiStar},stepper:{done:mdiCheck,active:mdiPencil,error:mdiAlert},tabs:{left:mdiChevronLeft,right:mdiChevronRight,up:mdiChevronUp,down:mdiChevronDown},table:{arrowUp:mdiArrowUp,warning:mdiAlert,firstPage:mdiChevronDoubleLeft,prevPage:mdiChevronLeft,nextPage:mdiChevronRight,lastPage:mdiChevronDoubleRight},tree:{icon:mdiPlay},uploader:{done:mdiCheck,clear:mdiClose,add:mdiPlusBox,upload:mdiCloudUpload,removeQueue:mdiNotificationClearAll,removeUploaded:mdiCheckAll}};const prefixes={};function assignFn(t){Object.assign(Plugin,{request:t,exit:t,toggle:t})}function getFullscreenElement(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function updateEl(){const t=Plugin.activeEl=Plugin.isActive===!1?null:getFullscreenElement();changeGlobalNodesTarget(t===null||t===document.documentElement?document.body:t)}function togglePluginState(){Plugin.isActive=Plugin.isActive===!1,updateEl()}function promisify(t,r){try{const o=t[r]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}const Plugin=createReactivePlugin({isActive:!1,activeEl:null},{isCapable:!1,install({$q:t}){t.fullscreen=this}});prefixes.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(t=>document.documentElement[t]!==void 0),Plugin.isCapable=prefixes.request!==void 0,Plugin.isCapable===!1?assignFn(()=>Promise.reject("Not capable")):(Object.assign(Plugin,{request(t){const r=t||document.documentElement,{activeEl:o}=Plugin;return r===o?Promise.resolve():(o!==null&&r.contains(o)===!0?Plugin.exit():Promise.resolve()).finally(()=>promisify(r,prefixes.request))},exit(){return Plugin.isActive===!0?promisify(document,prefixes.exit):Promise.resolve()},toggle(t){return Plugin.isActive===!0?Plugin.exit():Plugin.request(t)}}),prefixes.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(t=>document[t]),Plugin.isActive=Boolean(getFullscreenElement()),Plugin.isActive===!0&&updateEl(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(t=>{document[t]=togglePluginState}));var QCard=createComponent({name:"QCard",props:{...useDarkProps,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=useDark(t,o),u=computed(()=>"q-card"+(a.value===!0?" q-card--dark q-dark":"")+(t.bordered===!0?" q-card--bordered":"")+(t.square===!0?" q-card--square no-border-radius":"")+(t.flat===!0?" q-card--flat no-shadow":""));return()=>h(t.tag,{class:u.value},hSlot(r.default))}}),QCardSection=createComponent({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(t,{slots:r}){const o=computed(()=>`q-card__section q-card__section--${t.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>h(t.tag,{class:o.value},hSlot(r.default))}}),QCardActions=createComponent({name:"QCardActions",props:{...useAlignProps,vertical:Boolean},setup(t,{slots:r}){const o=useAlign(t),a=computed(()=>`q-card__actions ${o.value} q-card__actions--${t.vertical===!0?"vert column":"horiz row"}`);return()=>h("div",{class:a.value},hSlot(r.default))}});const createSvg=()=>h("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[h("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),h("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]);var QRadio=createComponent({name:"QRadio",props:{...useDarkProps,...useSizeProps,...useFormProps,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),u=useDark(t,a.$q),d=useSize(t,optionSizes),g=ref(null),{refocusTargetEl:v,refocusTarget:y}=useRefocusTarget(t,g),A=computed(()=>toRaw(t.modelValue)===toRaw(t.val)),b=computed(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(t.disable===!0?" disabled":"")+(u.value===!0?" q-radio--dark":"")+(t.dense===!0?" q-radio--dense":"")+(t.leftLabel===!0?" reverse":"")),_=computed(()=>{const D=t.color!==void 0&&(t.keepColor===!0||A.value===!0)?` text-${t.color}`:"";return`q-radio__inner relative-position q-radio__inner--${A.value===!0?"truthy":"falsy"}${D}`}),w=computed(()=>(A.value===!0?t.checkedIcon:t.uncheckedIcon)||null),S=computed(()=>t.disable===!0?-1:t.tabindex||0),C=computed(()=>{const D={type:"radio"};return t.name!==void 0&&Object.assign(D,{".checked":A.value===!0,"^checked":A.value===!0?"checked":void 0,name:t.name,value:t.val}),D}),T=useFormInject(C);function I(D){D!==void 0&&(stopAndPrevent$1(D),y(D)),t.disable!==!0&&A.value!==!0&&o("update:modelValue",t.val,D)}function E(D){(D.keyCode===13||D.keyCode===32)&&stopAndPrevent$1(D)}function F(D){(D.keyCode===13||D.keyCode===32)&&I(D)}Object.assign(a,{set:I});const O=createSvg();return()=>{const D=w.value!==null?[h("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[h(QIcon,{class:"q-radio__icon",name:w.value})])]:[O];t.disable!==!0&&T(D,"unshift"," q-radio__native q-ma-none q-pa-none");const x=[h("div",{class:_.value,style:d.value,"aria-hidden":"true"},D)];v.value!==null&&x.push(v.value);const P=t.label!==void 0?hMergeSlot(r.default,[t.label]):hSlot(r.default);return P!==void 0&&x.push(h("div",{class:"q-radio__label q-anchor--skip"},P)),h("div",{ref:g,class:b.value,tabindex:S.value,role:"radio","aria-label":t.label,"aria-checked":A.value===!0?"true":"false","aria-disabled":t.disable===!0?"true":void 0,onClick:I,onKeydown:E,onKeyup:F},x)}}});const components$3={radio:QRadio,checkbox:QCheckbox,toggle:QToggle},typeValues=Object.keys(components$3);var QOptionGroup=createComponent({name:"QOptionGroup",props:{...useDarkProps,modelValue:{required:!0},options:{type:Array,validator:t=>t.every(r=>"value"in r&&"label"in r)},name:String,type:{type:String,default:"radio",validator:t=>typeValues.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(t,{emit:r,slots:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=Array.isArray(t.modelValue);t.type==="radio"?u===!0&&console.error("q-option-group: model should not be array"):u===!1&&console.error("q-option-group: model should be array in your case");const d=useDark(t,a),g=computed(()=>components$3[t.type]),v=computed(()=>"q-option-group q-gutter-x-sm"+(t.inline===!0?" q-option-group--inline":"")),y=computed(()=>{const b={role:"group"};return t.type==="radio"&&(b.role="radiogroup",t.disable===!0&&(b["aria-disabled"]="true")),b});function A(b){r("update:modelValue",b)}return()=>h("div",{class:v.value,...y.value},t.options.map((b,_)=>{const w=o["label-"+_]!==void 0?()=>o["label-"+_](b):o.label!==void 0?()=>o.label(b):void 0;return h("div",[h(g.value,{modelValue:t.modelValue,val:b.value,name:b.name===void 0?t.name:b.name,disable:t.disable||b.disable,label:w===void 0?b.label:null,leftLabel:b.leftLabel===void 0?t.leftLabel:b.leftLabel,color:b.color===void 0?t.color:b.color,checkedIcon:b.checkedIcon,uncheckedIcon:b.uncheckedIcon,dark:b.dark||d.value,size:b.size===void 0?t.size:b.size,dense:t.dense,keepColor:b.keepColor===void 0?t.keepColor:b.keepColor,"onUpdate:modelValue":A},w)])}))}}),DialogPlugin=createComponent({name:"DialogPluginComponent",props:{...useDarkProps,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),{$q:a}=o,u=useDark(t,a),d=ref(null),g=ref(t.prompt!==void 0?t.prompt.model:t.options!==void 0?t.options.model:void 0),v=computed(()=>"q-dialog-plugin"+(u.value===!0?" q-dialog-plugin--dark q-dark":"")+(t.progress!==!1?" q-dialog-plugin--progress":"")),y=computed(()=>t.color||(u.value===!0?"amber":"primary")),A=computed(()=>t.progress===!1?null:isObject$o(t.progress)===!0?{component:t.progress.spinner||QSpinner,props:{color:t.progress.color||y.value}}:{component:QSpinner,props:{color:y.value}}),b=computed(()=>t.prompt!==void 0||t.options!==void 0),_=computed(()=>{if(b.value!==!0)return{};const{model:z,isValid:U,items:Q,...X}=t.prompt!==void 0?t.prompt:t.options;return X}),w=computed(()=>isObject$o(t.ok)===!0||t.ok===!0?a.lang.label.ok:t.ok),S=computed(()=>isObject$o(t.cancel)===!0||t.cancel===!0?a.lang.label.cancel:t.cancel),C=computed(()=>t.prompt!==void 0?t.prompt.isValid!==void 0&&t.prompt.isValid(g.value)!==!0:t.options!==void 0?t.options.isValid!==void 0&&t.options.isValid(g.value)!==!0:!1),T=computed(()=>({color:y.value,label:w.value,ripple:!1,disable:C.value,...isObject$o(t.ok)===!0?t.ok:{flat:!0},"data-autofocus":t.focus==="ok"&&b.value!==!0||void 0,onClick:O})),I=computed(()=>({color:y.value,label:S.value,ripple:!1,...isObject$o(t.cancel)===!0?t.cancel:{flat:!0},"data-autofocus":t.focus==="cancel"&&b.value!==!0||void 0,onClick:D}));watch(()=>t.prompt&&t.prompt.model,P),watch(()=>t.options&&t.options.model,P);function E(){d.value.show()}function F(){d.value.hide()}function O(){r("ok",toRaw(g.value)),F()}function D(){F()}function x(){r("hide")}function P(z){g.value=z}function G(z){C.value!==!0&&t.prompt.type!=="textarea"&&isKeyCode(z,13)===!0&&O()}function M(z,U){return t.html===!0?h(QCardSection,{class:z,innerHTML:U}):h(QCardSection,{class:z},()=>U)}function N(){return[h(QInput,{color:y.value,dense:!0,autofocus:!0,dark:u.value,..._.value,modelValue:g.value,"onUpdate:modelValue":P,onKeyup:G})]}function V(){return[h(QOptionGroup,{color:y.value,options:t.options.items,dark:u.value,..._.value,modelValue:g.value,"onUpdate:modelValue":P})]}function Y(){const z=[];return t.cancel&&z.push(h(QBtn,I.value)),t.ok&&z.push(h(QBtn,T.value)),h(QCardActions,{class:t.stackButtons===!0?"items-end":"",vertical:t.stackButtons,align:"right"},()=>z)}function H(){const z=[];return t.title&&z.push(M("q-dialog__title",t.title)),t.progress!==!1&&z.push(h(QCardSection,{class:"q-dialog__progress"},()=>h(A.value.component,A.value.props))),t.message&&z.push(M("q-dialog__message",t.message)),t.prompt!==void 0?z.push(h(QCardSection,{class:"scroll q-dialog-plugin__form"},N)):t.options!==void 0&&z.push(h(QSeparator,{dark:u.value}),h(QCardSection,{class:"scroll q-dialog-plugin__form"},V),h(QSeparator,{dark:u.value})),(t.ok||t.cancel)&&z.push(Y()),z}function B(){return[h(QCard,{class:[v.value,t.cardClass],style:t.cardStyle,dark:u.value},H)]}return Object.assign(o,{show:E,hide:F}),()=>h(QDialog,{ref:d,onHide:x},B)}});function merge$1(t,r){for(const o in r)o!=="spinner"&&Object(r[o])===r[o]?(t[o]=Object(t[o])!==t[o]?{}:{...t[o]},merge$1(t[o],r[o])):t[o]=r[o]}function globalDialog(t,r,o){return a=>{let u,d;const g=r===!0&&a.component!==void 0;if(g===!0){const{component:F,componentProps:O}=a;u=typeof F=="string"?o.component(F):F,d=O||{}}else{const{class:F,style:O,...D}=a;u=t,d=D,F!==void 0&&(D.cardClass=F),O!==void 0&&(D.cardStyle=O)}let v,y=!1;const A=ref(null),b=createGlobalNode(!1,"dialog"),_=F=>{if(A.value!==null&&A.value[F]!==void 0){A.value[F]();return}const O=v.$.subTree;if(O&&O.component){if(O.component.proxy&&O.component.proxy[F]){O.component.proxy[F]();return}if(O.component.subTree&&O.component.subTree.component&&O.component.subTree.component.proxy&&O.component.subTree.component.proxy[F]){O.component.subTree.component.proxy[F]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},w=[],S=[],C={onOk(F){return w.push(F),C},onCancel(F){return S.push(F),C},onDismiss(F){return w.push(F),S.push(F),C},hide(){return _("hide"),C},update(F){if(v!==null){if(g===!0)Object.assign(d,F);else{const{class:O,style:D,...x}=F;O!==void 0&&(x.cardClass=O),D!==void 0&&(x.cardStyle=D),merge$1(d,x)}v.$forceUpdate()}return C}},T=F=>{y=!0,w.forEach(O=>{O(F)})},I=()=>{E.unmount(b),removeGlobalNode(b),E=null,v=null,y!==!0&&S.forEach(F=>{F()})};let E=createChildApp({name:"QGlobalDialog",setup:()=>()=>h(u,{...d,ref:A,onOk:T,onHide:I,onVnodeMounted(...F){typeof d.onVnodeMounted=="function"&&d.onVnodeMounted(...F),nextTick(()=>_("show"))}})},o);return v=E.mount(b),C}}var Dialog={install({$q:t,parentApp:r}){t.dialog=this.create=globalDialog(DialogPlugin,!0,r)}},Meta={install(t){this.__installed!==!0&&isRuntimeSsrPreHydration.value===!0&&document.getElementById("qmeta-init").remove()}},BottomSheet$1=createComponent({name:"BottomSheetComponent",props:{...useDarkProps,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),a=useDark(t,o.$q),u=ref(null);function d(){u.value.show()}function g(){u.value.hide()}function v(S){r("ok",S),g()}function y(){r("hide")}function A(){return t.actions.map(S=>{const C=S.avatar||S.img;return S.label===void 0?h(QSeparator,{class:"col-all",dark:a.value}):h("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",S.class],style:S.style,tabindex:0,role:"listitem",onClick(){v(S)},onKeyup(T){T.keyCode===13&&v(S)}},[h("div",{class:"q-focus-helper"}),S.icon?h(QIcon,{name:S.icon,color:S.color}):C?h("img",{class:S.avatar?"q-bottom-sheet__avatar":"",src:C}):h("div",{class:"q-bottom-sheet__empty-icon"}),h("div",S.label)])})}function b(){return t.actions.map(S=>{const C=S.avatar||S.img;return S.label===void 0?h(QSeparator,{spaced:!0,dark:a.value}):h(QItem,{class:["q-bottom-sheet__item",S.classes],style:S.style,tabindex:0,clickable:!0,dark:a.value,onClick(){v(S)}},()=>[h(QItemSection,{avatar:!0},()=>S.icon?h(QIcon,{name:S.icon,color:S.color}):C?h("img",{class:S.avatar?"q-bottom-sheet__avatar":"",src:C}):null),h(QItemSection,()=>S.label)])})}function _(){const S=[];return t.title&&S.push(h(QCardSection,{class:"q-dialog__title"},()=>t.title)),t.message&&S.push(h(QCardSection,{class:"q-dialog__message"},()=>t.message)),S.push(t.grid===!0?h("div",{class:"row items-stretch justify-start",role:"list"},A()):h("div",{role:"list"},b())),S}function w(){return[h(QCard,{class:[`q-bottom-sheet q-bottom-sheet--${t.grid===!0?"grid":"list"}`+(a.value===!0?" q-bottom-sheet--dark q-dark":""),t.cardClass],style:t.cardStyle},_)]}return Object.assign(o,{show:d,hide:g}),()=>h(QDialog,{ref:u,position:"bottom",onHide:y},w)}}),BottomSheet={install({$q:t,parentApp:r}){t.bottomSheet=this.create=globalDialog(BottomSheet$1,!1,r)}},quasarUserOptions={config:{},iconSet,plugins:{AppFullscreen:Plugin,Notify,Dialog,Meta,BottomSheet}};const publicPath="/jarvis/";async function start$2({app:t,router:r,store:o},a){let u=!1;const d=y=>{try{return r.resolve(y).href}catch(A){}return Object(y)===y?null:y},g=y=>{if(u=!0,typeof y=="string"&&/^https?:\/\//.test(y)){window.location.href=y;return}const A=d(y);A!==null&&(window.location.href=A,window.location.reload())},v=window.location.href.replace(window.location.origin,"");for(let y=0;u===!1&&y{const[r,o]=Promise.allSettled!==void 0?["allSettled",a=>a.map(u=>{if(u.status==="rejected"){console.error("[Quasar] boot error:",u.reason);return}return u.value.default})]:["all",a=>a.map(u=>u.default)];return Promise[r]([__vitePreload(()=>Promise.resolve().then(function(){return i18n$2}),void 0),__vitePreload(()=>Promise.resolve().then(function(){return components$1}),void 0),__vitePreload(()=>Promise.resolve().then(function(){return register$2}),void 0)]).then(a=>{const u=o(a).filter(d=>typeof d=="function");start$2(t,u)})});class BrowserWeb extends WebPlugin{constructor(){super(),this._lastWindow=null}async open(r){this._lastWindow=window.open(r.url,r.windowName||"_blank")}async close(){return new Promise((r,o)=>{this._lastWindow!=null?(this._lastWindow.close(),this._lastWindow=null,r()):o("No active window to close!")})}}const Browser$1=new BrowserWeb;var web$2=Object.freeze(Object.defineProperty({__proto__:null,BrowserWeb,Browser:Browser$1},Symbol.toStringTag,{value:"Module"}));class SplashScreenWeb extends WebPlugin{async show(r){}async hide(r){}}var web$1=Object.freeze(Object.defineProperty({__proto__:null,SplashScreenWeb},Symbol.toStringTag,{value:"Module"})),Login_vue_vue_type_style_index_0_lang="";const _sfc_main$17=defineComponent({name:"Login",setup(){const t=useJarvis(),r=useRouter(),o=useRoute(),a=t.authentication[o.meta.authenticationType||"page"];a||r.push({name:"Home"}).catch(A=>console.error(A));const u=ref(!1),d=ref(null),g=ref(),v=ref(),y=()=>{u.value="loading",Connection.getConnection.send("verifyLogin",[a,g.value,v.value,o.meta.authenticationType],b=>{b.err?(d.value=b.err.message,u.value="error"):b.login===!0&&(u.value="success",r.push({name:o.meta.redirect||"Home",query:{restart:!0}}).catch(_=>console.error(_)))})};return{authenticationMethod:a,state:u,error:d,user:g,password:v,isPassword:ref(!0),onSubmit:y}}}),_hoisted_1$W={class:"jarvis-login-container"},_hoisted_2$K={class:"jarvis-login"},_hoisted_3$A={key:2,class:"row"};function _sfc_render$17(t,r,o,a,u,d){const g=resolveComponent("Alert");return openBlock(),createElementBlock("div",_hoisted_1$W,[withDirectives(createVNode$1(QLinearProgress,{indeterminate:"",style:{position:"absolute"}},null,512),[[vShow,t.state==="loading"]]),createBaseVNode("div",_hoisted_2$K,[t.authenticationMethod!=="password"?(openBlock(),createBlock(QInput,{key:0,modelValue:t.user,"onUpdate:modelValue":r[0]||(r[0]=v=>t.user=v),"stack-label":"",autofocus:t.authenticationMethod!=="password",standout:"bg-primary text-white",class:"jarvis-login-input text-white","input-class":"jarvis-login-input-user text-white",label:t.$t("User"),disable:t.state==="loading","bg-color":t.state==="success"?"positive":void 0},{prepend:withCtx(()=>[withDirectives(createVNode$1(QIcon,{name:"mdi-account",class:"text-white"},null,512),[[vShow,t.state!=="success"]]),withDirectives(createVNode$1(QIcon,{name:"mdi-check",class:"text-white"},null,512),[[vShow,t.state==="success"]])]),_:1},8,["modelValue","autofocus","label","disable","bg-color"])):createCommentVNode("",!0),createVNode$1(QInput,{modelValue:t.password,"onUpdate:modelValue":r[2]||(r[2]=v=>t.password=v),type:t.isPassword?"password":"text","stack-label":"",autofocus:t.authenticationMethod==="password",standout:"bg-primary text-white",class:"jarvis-login-input text-white","input-class":"jarvis-login-input-password text-white",label:t.$t("Password")+" "+t.$t("or")+" "+t.$t("PIN"),disable:t.state==="loading","bg-color":t.state==="success"?"positive":void 0,onKeydown:withKeys(withModifiers(t.onSubmit,["prevent"]),["enter"])},createSlots({prepend:withCtx(()=>[withDirectives(createVNode$1(QIcon,{name:"mdi-lock",class:"text-white"},null,512),[[vShow,t.state!=="success"]]),withDirectives(createVNode$1(QIcon,{name:"mdi-check",class:"text-white"},null,512),[[vShow,t.state==="success"]])]),append:withCtx(()=>[createVNode$1(QIcon,{name:t.isPassword?"mdi-eye-off":"mdi-eye",class:"cursor-pointer text-white",onClick:r[1]||(r[1]=v=>t.isPassword=!t.isPassword)},null,8,["name"])]),_:2},[t.authenticationMethod==="password"?{name:"after",fn:withCtx(()=>[createVNode$1(QBtn,{color:"primary",label:t.$t("login"),style:{"-webkit-backface-visibility":"hidden"},disable:t.state==="loading",loading:t.state==="loading",onClick:t.onSubmit},null,8,["label","disable","loading","onClick"])]),key:"0"}:void 0]),1032,["modelValue","type","autofocus","label","disable","bg-color","onKeydown"]),t.error?(openBlock(),createBlock(g,{key:1,color:"negative"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1})):createCommentVNode("",!0),t.authenticationMethod!=="password"?(openBlock(),createElementBlock("div",_hoisted_3$A,[createVNode$1(QSpace),createVNode$1(QBtn,{color:"primary",label:t.$t("login"),style:{"-webkit-backface-visibility":"hidden"},disable:t.state==="loading",loading:t.state==="loading",onClick:t.onSubmit},null,8,["label","disable","loading","onClick"])])):createCommentVNode("",!0)])])}var Login=_export_sfc$1(_sfc_main$17,[["render",_sfc_render$17]]),Login$1=Object.freeze(Object.defineProperty({__proto__:null,default:Login},Symbol.toStringTag,{value:"Module"})),QTooltip=createComponent({name:"QTooltip",inheritAttrs:!1,props:{...useAnchorStaticProps,...useModelToggleProps,...useTransitionProps,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...useTransitionProps.transitionShow,default:"jump-down"},transitionHide:{...useTransitionProps.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:validatePosition},self:{type:String,default:"top middle",validator:validatePosition},offset:{type:Array,default:()=>[14,14],validator:validateOffset},scrollTarget:scrollTargetProp,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...useModelToggleEmits],setup(t,{slots:r,emit:o,attrs:a}){let u,d;const g=getCurrentInstance(),{proxy:{$q:v}}=g,y=ref(null),A=ref(!1),b=computed(()=>parsePosition$1(t.anchor,v.lang.rtl)),_=computed(()=>parsePosition$1(t.self,v.lang.rtl)),w=computed(()=>t.persistent!==!0),{registerTick:S,removeTick:C}=useTick(),{registerTimeout:T}=useTimeout(),{transitionProps:I,transitionStyle:E}=useTransition(t),{localScrollTarget:F,changeScrollEvent:O,unconfigureScrollTarget:D}=useScrollTarget(t,te),{anchorEl:x,canShow:P,anchorEvents:G}=useAnchor({showing:A,configureAnchorEl:ne}),{show:M,hide:N}=useModelToggle({showing:A,canShow:P,handleShow:B,handleHide:z,hideOnRouteChange:w,processOnMount:!0});Object.assign(G,{delayShow:X,delayHide:J});const{showPortal:V,hidePortal:Y,renderPortal:H}=usePortal(g,y,se,"tooltip");if(v.platform.is.mobile===!0){const ge={anchorEl:x,innerRef:y,onClickOutside(ye){return N(ye),ye.target.classList.contains("q-dialog__backdrop")&&stopAndPrevent$1(ye),!0}},he=computed(()=>t.modelValue===null&&t.persistent!==!0&&A.value===!0);watch(he,ye=>{(ye===!0?addClickOutside:removeClickOutside)(ge)}),onBeforeUnmount(()=>{removeClickOutside(ge)})}function B(ge){V(),S(()=>{d=new MutationObserver(()=>Q()),d.observe(y.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),Q(),te()}),u===void 0&&(u=watch(()=>v.screen.width+"|"+v.screen.height+"|"+t.self+"|"+t.anchor+"|"+v.lang.rtl,Q)),T(()=>{V(!0),o("show",ge)},t.transitionDuration)}function z(ge){C(),Y(),U(),T(()=>{Y(!0),o("hide",ge)},t.transitionDuration)}function U(){d!==void 0&&(d.disconnect(),d=void 0),u!==void 0&&(u(),u=void 0),D(),cleanEvt(G,"tooltipTemp")}function Q(){setPosition({targetEl:y.value,offset:t.offset,anchorEl:x.value,anchorOrigin:b.value,selfOrigin:_.value,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function X(ge){if(v.platform.is.mobile===!0){clearSelection(),document.body.classList.add("non-selectable");const he=x.value,ye=["touchmove","touchcancel","touchend","click"].map(ee=>[he,ee,"delayHide","passiveCapture"]);addEvt(G,"tooltipTemp",ye)}T(()=>{M(ge)},t.delay)}function J(ge){v.platform.is.mobile===!0&&(cleanEvt(G,"tooltipTemp"),clearSelection(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),T(()=>{N(ge)},t.hideDelay)}function ne(){if(t.noParentEvent===!0||x.value===null)return;const ge=v.platform.is.mobile===!0?[[x.value,"touchstart","delayShow","passive"]]:[[x.value,"mouseenter","delayShow","passive"],[x.value,"mouseleave","delayHide","passive"]];addEvt(G,"anchor",ge)}function te(){if(x.value!==null||t.scrollTarget!==void 0){F.value=getScrollTarget(x.value,t.scrollTarget);const ge=t.noParentEvent===!0?Q:N;O(F.value,ge)}}function ce(){return A.value===!0?h("div",{...a,ref:y,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",a.class],style:[a.style,E.value],role:"tooltip"},hSlot(r.default)):null}function se(){return h(Transition,I.value,ce)}return onBeforeUnmount(U),Object.assign(g.proxy,{updatePosition:Q}),H}}),QRouteTab=createComponent({name:"QRouteTab",props:{...useRouterLinkProps,...useTabProps},emits:useTabEmits,setup(t,{slots:r,emit:o}){const a=useRouterLink({useDisableForRouterLinkProps:!1}),{renderTab:u,$tabs:d}=useTab(t,r,o,{exact:computed(()=>t.exact),...a});return watch(()=>`${t.name} | ${t.exact} | ${(a.resolvedLink.value||{}).href}`,()=>{d.verifyRouteModel()}),()=>u(a.linkTag.value,a.linkAttrs.value)}}),QHeader=createComponent({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=inject(layoutKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QHeader needs to be child of QLayout"),emptyRenderFn;const d=ref(parseInt(t.heightHint,10)),g=ref(!0),v=computed(()=>t.reveal===!0||u.view.value.indexOf("H")!==-1||a.platform.is.ios&&u.isContainer.value===!0),y=computed(()=>{if(t.modelValue!==!0)return 0;if(v.value===!0)return g.value===!0?d.value:0;const F=d.value-u.scroll.value.position;return F>0?F:0}),A=computed(()=>t.modelValue!==!0||v.value===!0&&g.value!==!0),b=computed(()=>t.modelValue===!0&&A.value===!0&&t.reveal===!0),_=computed(()=>"q-header q-layout__section--marginal "+(v.value===!0?"fixed":"absolute")+"-top"+(t.bordered===!0?" q-header--bordered":"")+(A.value===!0?" q-header--hidden":"")+(t.modelValue!==!0?" q-layout--prevent-focus":"")),w=computed(()=>{const F=u.rows.value.top,O={};return F[0]==="l"&&u.left.space===!0&&(O[a.lang.rtl===!0?"right":"left"]=`${u.left.size}px`),F[2]==="r"&&u.right.space===!0&&(O[a.lang.rtl===!0?"left":"right"]=`${u.right.size}px`),O});function S(F,O){u.update("header",F,O)}function C(F,O){F.value!==O&&(F.value=O)}function T({height:F}){C(d,F),S("size",F)}function I(F){b.value===!0&&C(g,!0),o("focusin",F)}watch(()=>t.modelValue,F=>{S("space",F),C(g,!0),u.animate()}),watch(y,F=>{S("offset",F)}),watch(()=>t.reveal,F=>{F===!1&&C(g,t.modelValue)}),watch(g,F=>{u.animate(),o("reveal",F)}),watch(u.scroll,F=>{t.reveal===!0&&C(g,F.direction==="up"||F.position<=t.revealOffset||F.position-F.inflectionPoint<100)});const E={};return u.instances.header=E,t.modelValue===!0&&S("size",d.value),S("space",t.modelValue),S("offset",y.value),onBeforeUnmount(()=>{u.instances.header===E&&(u.instances.header=void 0,S("size",0),S("offset",0),S("space",!1))}),()=>{const F=hUniqueSlot(r.default,[]);return t.elevated===!0&&F.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),F.push(h(QResizeObserver,{debounce:0,onResize:T})),h("header",{class:_.value,style:w.value,onFocusin:I},F)}}}),QPage=createComponent({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=inject(layoutKey,emptyRenderFn);if(a===emptyRenderFn)return console.error("QPage needs to be a deep child of QLayout"),emptyRenderFn;if(inject(pageContainerKey,emptyRenderFn)===emptyRenderFn)return console.error("QPage needs to be child of QPageContainer"),emptyRenderFn;const d=computed(()=>{const v=(a.header.space===!0?a.header.size:0)+(a.footer.space===!0?a.footer.size:0);if(typeof t.styleFn=="function"){const y=a.isContainer.value===!0?a.containerHeight.value:o.screen.height;return t.styleFn(v,y)}return{minHeight:a.isContainer.value===!0?a.containerHeight.value-v+"px":o.screen.height===0?v!==0?`calc(100vh - ${v}px)`:"100vh":o.screen.height-v+"px"}}),g=computed(()=>`q-page${t.padding===!0?" q-layout-padding":""}`);return()=>h("main",{class:g.value,style:d.value},hSlot(r.default))}}),QPageContainer=createComponent({name:"QPageContainer",setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=inject(layoutKey,emptyRenderFn);if(a===emptyRenderFn)return console.error("QPageContainer needs to be child of QLayout"),emptyRenderFn;provide(pageContainerKey,!0);const u=computed(()=>{const d={};return a.header.space===!0&&(d.paddingTop=`${a.header.size}px`),a.right.space===!0&&(d[`padding${o.lang.rtl===!0?"Left":"Right"}`]=`${a.right.size}px`),a.footer.space===!0&&(d.paddingBottom=`${a.footer.size}px`),a.left.space===!0&&(d[`padding${o.lang.rtl===!0?"Right":"Left"}`]=`${a.left.size}px`),d});return()=>h("div",{class:"q-page-container",style:u.value},hSlot(r.default))}}),QFooter=createComponent({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=inject(layoutKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QFooter needs to be child of QLayout"),emptyRenderFn;const d=ref(parseInt(t.heightHint,10)),g=ref(!0),v=ref(isRuntimeSsrPreHydration.value===!0||u.isContainer.value===!0?0:window.innerHeight),y=computed(()=>t.reveal===!0||u.view.value.indexOf("F")!==-1||a.platform.is.ios&&u.isContainer.value===!0),A=computed(()=>u.isContainer.value===!0?u.containerHeight.value:v.value),b=computed(()=>{if(t.modelValue!==!0)return 0;if(y.value===!0)return g.value===!0?d.value:0;const x=u.scroll.value.position+A.value+d.value-u.height.value;return x>0?x:0}),_=computed(()=>t.modelValue!==!0||y.value===!0&&g.value!==!0),w=computed(()=>t.modelValue===!0&&_.value===!0&&t.reveal===!0),S=computed(()=>"q-footer q-layout__section--marginal "+(y.value===!0?"fixed":"absolute")+"-bottom"+(t.bordered===!0?" q-footer--bordered":"")+(_.value===!0?" q-footer--hidden":"")+(t.modelValue!==!0?" q-layout--prevent-focus"+(y.value!==!0?" hidden":""):"")),C=computed(()=>{const x=u.rows.value.bottom,P={};return x[0]==="l"&&u.left.space===!0&&(P[a.lang.rtl===!0?"right":"left"]=`${u.left.size}px`),x[2]==="r"&&u.right.space===!0&&(P[a.lang.rtl===!0?"left":"right"]=`${u.right.size}px`),P});function T(x,P){u.update("footer",x,P)}function I(x,P){x.value!==P&&(x.value=P)}function E({height:x}){I(d,x),T("size",x)}function F(){if(t.reveal!==!0)return;const{direction:x,position:P,inflectionPoint:G}=u.scroll.value;I(g,x==="up"||P-G<100||u.height.value-A.value-P-d.value<300)}function O(x){w.value===!0&&I(g,!0),o("focusin",x)}watch(()=>t.modelValue,x=>{T("space",x),I(g,!0),u.animate()}),watch(b,x=>{T("offset",x)}),watch(()=>t.reveal,x=>{x===!1&&I(g,t.modelValue)}),watch(g,x=>{u.animate(),o("reveal",x)}),watch([d,u.scroll,u.height],F),watch(()=>a.screen.height,x=>{u.isContainer.value!==!0&&I(v,x)});const D={};return u.instances.footer=D,t.modelValue===!0&&T("size",d.value),T("space",t.modelValue),T("offset",b.value),onBeforeUnmount(()=>{u.instances.footer===D&&(u.instances.footer=void 0,T("size",0),T("offset",0),T("space",!1))}),()=>{const x=hMergeSlot(r.default,[h(QResizeObserver,{debounce:0,onResize:E})]);return t.elevated===!0&&x.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),h("footer",{class:S.value,style:C.value,onFocusin:O},x)}}});const tabs=[{id:"devices",title:"Devices",path:"DevicesPage",icon:"mdi-devices"},{id:"layout",title:"Layout",path:"LayoutPage",icon:"mdi-file"},{id:"widgets",title:"Widgets",path:"WidgetsPage",icon:"mdi-view-grid"},{id:"styles",title:"Styles",path:"StylesPage",icon:"mdi-code-tags",pro:!0},{id:"scripts",title:"Scripts",path:"ScriptsPage",icon:"mdi-language-javascript",pro:!0},{id:"settings",title:"Settings",path:"SettingsPage",icon:"mdi-cog"},{id:"connections",title:"Connections",path:"ConnectionsPage",icon:"mdi-lan-connect"},{id:"account",title:"Pro-Account",path:"AccountPage",icon:"mdi-star"},{id:"help",title:"Help",path:"HelpPage",icon:"mdi-help-box"}],_sfc_main$16=defineComponent({name:"ConfigurationLayout",setup(){const t=useEditor(),r=useIoBroker(),o=useJarvis(),a=useRoute(),u=useRouter(),d=computed(()=>a.name!=="StylesPage"&&a.name!=="ScriptsPage"&&a.name!=="AccountPage"&&a.name!=="HelpPage"),g=ref("login");t.init({devices:Devices._devices,layout:Cache$1.get("layout"),styles:Cache$1.get("styles"),scripts:Cache$1.get("scripts"),settings:{...defaultSettings$1,...Cache$1.get("settings",{}),configTab:t.settings&&t.settings.configTab||Cache$1.get("settings",{}).configTab||null},widgets:Cache$1.get("widgets")});const v=()=>{console.log("Authenticate for configuration...");const T=Connection.getConnection;T&&T.authenticate("configuration").then(I=>{console.log("Authenticated for configuration."),g.value="loaded",o.set("authentication.configuration",I.authenticationMethod),T.subscribeSpecial("CloudDevices",E=>r.set("cloud",E)),T.subscribeSpecial("HistoryDevices",E=>r.set("history",E)),a.name==="Configuration"&&u.replace({name:ucFirst(t.settings&&t.settings.configTab||tabs[0].id)+"Page",params:a.params}).catch(E=>console.error(E))}).catch(I=>{g.value="login",o.set("authentication.configuration",I.authenticationMethod),u.push({name:"ConfigurationLogin"}).catch(E=>console.error(E))})};onBeforeMount(()=>v()),watch(()=>a.query,()=>{g.value!=="loaded"&&window.location.href.indexOf("restart=true")!==-1&&v()});const y=computed(()=>t.hasErrors),A=computed({get(){return t.settings&&t.settings.configExpertMode},set(T){t.set("settings.configExpertMode",T),T===!1&&t.commitJson()}}),b=computed({get(){return t.settings&&t.settings.configTab},set(T){T&&t.set("settings.configTab",T),t.commitJson()}}),_=window.open,w=()=>{o.set("drawerSidebar",!1);const T=Cache$1.get("settings",{}),I=new RegExp(/@import[ ]?\(?['"](?.*)['"]\)?;?/ig);u.push({name:"Home",query:{reload:T.scriptsEnabled===!1?!1:I.test(Cache$1.get("scripts"))},params:{...a.params,tabId:o.getSelectedTabId}}).catch(()=>{}).finally(()=>{S.value=!1})},S=ref(!1),C=T=>{let I=[];S.value=!0,t.commitJson();const E={devices:t.devices,widgets:_default(t.widgets),layout:_default(t.getLayoutWithoutDeletions)||[],styles:t.styles,scripts:t.scripts,settings:t.settings};for(const P in E.widgets)E.widgets[P].items=E.widgets[P].items||[],E.widgets[P].items=E.widgets[P].items.filter(G=>G&&E.devices[G.deviceId]&&(!E.devices[G.deviceId].attributes||E.devices[G.deviceId].attributes&&E.devices[G.deviceId].attributes.deleted!==!0));E.layout.forEach(P=>{P.tabs=P.tabs||[],P.tabs.forEach(G=>{delete G.widgets,G.widgetsDesktop=G.widgetsDesktop||[],G.widgetsDesktop.forEach(M=>{M.items=M.items||[],M.items=M.items.filter(N=>E.widgets[N]&&E.widgets[N]._deleted!==!0)}),G.widgetsSmartphone=G.widgetsSmartphone||[],G.widgetsSmartphone.forEach(M=>{M.items=M.items||[],M.items=M.items.filter(N=>E.widgets[N]&&E.widgets[N]._deleted!==!0)})})}),E.devices=t.getDevicesWithoutDeletions,E.widgets=t.getWidgetsWithoutDeletions;const F=Object.keys(t.cloud);if(F.length){const P=Connection.getConnection;I=I.concat(F.map(G=>P.setCloud(t.cloud[G].state,t.cloud[G])))}const O=Object.keys(t.history);if(O.length){const P=Connection.getConnection;I=I.concat(O.map(G=>P.setHistory(G,t.history[G])))}const D={};JSON.stringify(Cache$1.get("devices"))!==JSON.stringify(E.devices)&&(D.devices=E.devices),JSON.stringify(Cache$1.get("widgets"))!==JSON.stringify(E.widgets)&&(D.widgets=E.widgets),JSON.stringify(Cache$1.get("layout"))!==JSON.stringify(E.layout)&&(D.layout=E.layout),JSON.stringify(Cache$1.get("settings"))!==JSON.stringify(E.settings)&&(D.settings=E.settings),JSON.stringify(Cache$1.get("styles"))!==JSON.stringify(E.styles)&&(D.styles=E.styles);const x=new RegExp(/@import[ ]?\(?['"](?.*)['"]\)?;?/ig);(Cache$1.get("scripts")&&E.scripts===""||E.scripts&&(JSON.stringify(Cache$1.get("scripts"))!==JSON.stringify(E.scripts)||x.test(Cache$1.get("scripts"))))&&(D.scripts=E.scripts+` -`),I.push(t.save(D)),Promise.allSettled(I).then(()=>{T?w():(S.value=!1,t.init(E))})};return{state:g,jsonPage:d,isSaving:S,hasErrors:y,settings:computed(()=>Cache$1.get("settings",{})),instance:computed(()=>{const T=Connection.getConnection;return T&&T.instance||0}),version:"3.2.0-beta.75",configTab:b,expertMode:A,tabs,onOpen:_,onCancel:w,onSave:C}}}),_hoisted_1$V={style:{"font-size":"80%"}};function _sfc_render$16(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("router-view");return openBlock(),createElementBlock(Fragment,null,[t.state!=="login"?(openBlock(),createBlock(QHeader,{key:0},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createVNode$1(QToolbarTitle,null,{default:withCtx(()=>[createVNode$1(g,{"vertical-align":"middle",name:"mdi-cog"}),createTextVNode(" "+toDisplayString$1(t.$t("Configuration"))+" ",1),createBaseVNode("span",_hoisted_1$V,[createTextVNode("("+toDisplayString$1(t.$t("Instance"))+": ",1),createBaseVNode("pre",null,"jarvis."+toDisplayString$1(t.instance),1),r[4]||(r[4]=createTextVNode(", ")),createBaseVNode("pre",null,"v"+toDisplayString$1(t.version),1),r[5]||(r[5]=createTextVNode(")"))])]),_:1}),withDirectives(createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:t.expertMode?"mdi-code-tags-check":"mdi-code-tags","aria-label":"$t('Expert Mode')",onClick:r[0]||(r[0]=y=>t.expertMode=!t.expertMode)},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Expert Mode")),1)]),_:1})]),_:1},8,["icon"]),[[vShow,t.jsonPage]])]),_:1}),createVNode$1(QTabs,{modelValue:t.configTab,"onUpdate:modelValue":r[1]||(r[1]=y=>t.configTab=y),"inline-label":"",dense:"","outside-arrows":"","mobile-arrows":"",align:"left"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,y=>(openBlock(),createElementBlock(Fragment,null,[y.link?(openBlock(),createBlock(QTab,{key:y.id,name:y.id,label:t.$t(y.title),icon:y.icon,onClick:A=>t.onOpen(y.link,"_blank")},null,8,["name","label","icon","onClick"])):(openBlock(),createBlock(QRouteTab,{key:y.id,name:y.id,label:t.$t(y.title),icon:y.icon,to:{name:y.path}},null,8,["name","label","icon","to"]))],64))),256))]),_:1},8,["modelValue"])]),_:1})):createCommentVNode("",!0),createVNode$1(QPageContainer,{class:"jarvis-configuration body"},{default:withCtx(()=>[createVNode$1(QPage,null,{default:withCtx(()=>[t.state!=="login"?(openBlock(),createBlock(v,{key:0})):(openBlock(),createBlock(v,{key:1,name:"login"}))]),_:1})]),_:1}),t.state!=="login"?(openBlock(),createBlock(QFooter,{key:1},{default:withCtx(()=>[createVNode$1(QToolbar,{class:"q-py-sm"},{default:withCtx(()=>[createVNode$1(QBtn,{disable:t.isSaving,flat:"",icon:"mdi-window-close","aria-label":"Cancel",label:t.$t("Cancel"),class:"text-red",onClick:t.onCancel},null,8,["disable","label","onClick"]),createVNode$1(QSpace),createVNode$1(QBtn,{disable:t.hasErrors||t.isSaving,icon:t.isSaving?"mdi-loading spin":"mdi-content-save","aria-label":"Save",label:t.$t("Save"),flat:"",color:"primary",style:{"margin-right":"8px"},onClick:r[2]||(r[2]=y=>t.onSave(!1))},null,8,["disable","icon","label"]),createVNode$1(QBtn,{disable:t.hasErrors||t.isSaving,icon:t.isSaving?"mdi-loading spin":"mdi-content-save","aria-label":"Save & Exit",label:t.$t("Save")+" & "+t.$t("Exit"),color:"primary",onClick:r[3]||(r[3]=y=>t.onSave(!0))},null,8,["disable","icon","label"])]),_:1})]),_:1})):createCommentVNode("",!0)],64)}var ConfigurationLayout=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$16]]),index$b=Object.freeze(Object.defineProperty({__proto__:null,default:ConfigurationLayout},Symbol.toStringTag,{value:"Module"}));const btnPropsList=Object.keys(nonRoundBtnProps);function passBtnProps(t){return btnPropsList.reduce((r,o)=>{const a=t[o];return a!==void 0&&(r[o]=a),r},{})}var QBtnDropdown=createComponent({name:"QBtnDropdown",props:{...nonRoundBtnProps,...useTransitionProps,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),u=ref(t.modelValue),d=ref(null),g=useId(),v=computed(()=>{const D={"aria-expanded":u.value===!0?"true":"false","aria-haspopup":"true","aria-controls":g.value,"aria-label":t.toggleAriaLabel||a.$q.lang.label[u.value===!0?"collapse":"expand"](t.label)};return(t.disable===!0||t.split===!1&&t.disableMainBtn===!0||t.disableDropdown===!0)&&(D["aria-disabled"]="true"),D}),y=computed(()=>"q-btn-dropdown__arrow"+(u.value===!0&&t.noIconAnimation===!1?" rotate-180":"")+(t.split===!1?" q-btn-dropdown__arrow-container":"")),A=computed(()=>getBtnDesignAttr(t)),b=computed(()=>passBtnProps(t));watch(()=>t.modelValue,D=>{d.value!==null&&d.value[D?"show":"hide"]()}),watch(()=>t.split,O);function _(D){u.value=!0,o("beforeShow",D)}function w(D){o("show",D),o("update:modelValue",!0)}function S(D){u.value=!1,o("beforeHide",D)}function C(D){o("hide",D),o("update:modelValue",!1)}function T(D){o("click",D)}function I(D){stop$1(D),O(),o("click",D)}function E(D){d.value!==null&&d.value.toggle(D)}function F(D){d.value!==null&&d.value.show(D)}function O(D){d.value!==null&&d.value.hide(D)}return Object.assign(a,{show:F,hide:O,toggle:E}),onMounted(()=>{t.modelValue===!0&&F()}),()=>{const D=[h(QIcon,{class:y.value,name:t.dropdownIcon||a.$q.iconSet.arrow.dropdown})];return t.disableDropdown!==!0&&D.push(h(QMenu,{ref:d,id:g.value,class:t.contentClass,style:t.contentStyle,cover:t.cover,fit:!0,persistent:t.persistent,noRouteDismiss:t.noRouteDismiss,autoClose:t.autoClose,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,separateClosePopup:!0,transitionShow:t.transitionShow,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,onBeforeShow:_,onShow:w,onBeforeHide:S,onHide:C},r.default)),t.split===!1?h(QBtn,{class:"q-btn-dropdown q-btn-dropdown--simple",...b.value,...v.value,disable:t.disable===!0||t.disableMainBtn===!0,noWrap:!0,round:!1,onClick:T},{default:()=>hSlot(r.label,[]).concat(D),loading:r.loading}):h(QBtnGroup,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:t.rounded,square:t.square,...A.value,glossy:t.glossy,stretch:t.stretch},()=>[h(QBtn,{class:"q-btn-dropdown--current",...b.value,disable:t.disable===!0||t.disableMainBtn===!0,noWrap:!0,round:!1,onClick:I},{default:r.label,loading:r.loading}),h(QBtn,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...v.value,...A.value,disable:t.disable===!0||t.disableDropdown===!0,rounded:t.rounded,color:t.color,textColor:t.textColor,dense:t.dense,size:t.size,padding:t.padding,ripple:t.ripple},()=>D)])}}}),QSlideTransition=createComponent({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(t,{slots:r,emit:o}){let a=!1,u,d,g=null,v=null,y,A;function b(){u&&u(),u=null,a=!1,g!==null&&(clearTimeout(g),g=null),v!==null&&(clearTimeout(v),v=null),d!==void 0&&d.removeEventListener("transitionend",y),y=null}function _(T,I,E){I!==void 0&&(T.style.height=`${I}px`),T.style.transition=`height ${t.duration}ms cubic-bezier(.25, .8, .50, 1)`,a=!0,u=E}function w(T,I){T.style.overflowY=null,T.style.height=null,T.style.transition=null,b(),I!==A&&o(I)}function S(T,I){let E=0;d=T,a===!0?(b(),E=T.offsetHeight===T.scrollHeight?0:void 0):(A="hide",T.style.overflowY="hidden"),_(T,E,I),g=setTimeout(()=>{g=null,T.style.height=`${T.scrollHeight}px`,y=F=>{v=null,(Object(F)!==F||F.target===T)&&w(T,"show")},T.addEventListener("transitionend",y),v=setTimeout(y,t.duration*1.1)},100)}function C(T,I){let E;d=T,a===!0?b():(A="show",T.style.overflowY="hidden",E=T.scrollHeight),_(T,E,I),g=setTimeout(()=>{g=null,T.style.height=0,y=F=>{v=null,(Object(F)!==F||F.target===T)&&w(T,"hide")},T.addEventListener("transitionend",y),v=setTimeout(y,t.duration*1.1)},100)}return onBeforeUnmount(()=>{a===!0&&b()}),()=>h(Transition,{css:!1,appear:t.appear,onEnter:S,onLeave:C},r.default)}});const itemGroups=shallowReactive({}),LINK_PROPS=Object.keys(useRouterLinkProps);var QExpansionItem=createComponent({name:"QExpansionItem",props:{...useRouterLinkProps,...useModelToggleProps,...useDarkProps,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:{},headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...useModelToggleEmits,"click","afterShow","afterHide"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),d=ref(t.modelValue!==null?t.modelValue:t.defaultOpened),g=ref(null),v=useId(),{show:y,hide:A,toggle:b}=useModelToggle({showing:d});let _,w;const S=computed(()=>`q-expansion-item q-item-type q-expansion-item--${d.value===!0?"expanded":"collapsed"} q-expansion-item--${t.popup===!0?"popup":"standard"}`),C=computed(()=>{if(t.contentInsetLevel===void 0)return null;const X=a.lang.rtl===!0?"Right":"Left";return{["padding"+X]:t.contentInsetLevel*56+"px"}}),T=computed(()=>t.disable!==!0&&(t.href!==void 0||t.to!==void 0&&t.to!==null&&t.to!=="")),I=computed(()=>{const X={};return LINK_PROPS.forEach(J=>{X[J]=t[J]}),X}),E=computed(()=>T.value===!0||t.expandIconToggle!==!0),F=computed(()=>t.expandedIcon!==void 0&&d.value===!0?t.expandedIcon:t.expandIcon||a.iconSet.expansionItem[t.denseToggle===!0?"denseIcon":"icon"]),O=computed(()=>t.disable!==!0&&(T.value===!0||t.expandIconToggle===!0)),D=computed(()=>({expanded:d.value===!0,detailsId:v.value,toggle:b,show:y,hide:A})),x=computed(()=>{const X=t.toggleAriaLabel!==void 0?t.toggleAriaLabel:a.lang.label[d.value===!0?"collapse":"expand"](t.label);return{role:"button","aria-expanded":d.value===!0?"true":"false","aria-controls":v.value,"aria-label":X}});watch(()=>t.group,X=>{w!==void 0&&w(),X!==void 0&&Y()});function P(X){T.value!==!0&&b(X),o("click",X)}function G(X){X.keyCode===13&&M(X,!0)}function M(X,J){J!==!0&&g.value!==null&&g.value.focus(),b(X),stopAndPrevent$1(X)}function N(){o("afterShow")}function V(){o("afterHide")}function Y(){_===void 0&&(_=uid$3()),d.value===!0&&(itemGroups[t.group]=_);const X=watch(d,ne=>{ne===!0?itemGroups[t.group]=_:itemGroups[t.group]===_&&delete itemGroups[t.group]}),J=watch(()=>itemGroups[t.group],(ne,te)=>{te===_&&ne!==void 0&&ne!==_&&A()});w=()=>{X(),J(),itemGroups[t.group]===_&&delete itemGroups[t.group],w=void 0}}function H(){const X={class:[`q-focusable relative-position cursor-pointer${t.denseToggle===!0&&t.switchToggleSide===!0?" items-end":""}`,t.expandIconClass],side:t.switchToggleSide!==!0,avatar:t.switchToggleSide},J=[h(QIcon,{class:"q-expansion-item__toggle-icon"+(t.expandedIcon===void 0&&d.value===!0?" q-expansion-item__toggle-icon--rotated":""),name:F.value})];return O.value===!0&&(Object.assign(X,{tabindex:0,...x.value,onClick:M,onKeyup:G}),J.unshift(h("div",{ref:g,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),h(QItemSection,X,()=>J)}function B(){let X;return r.header!==void 0?X=[].concat(r.header(D.value)):(X=[h(QItemSection,()=>[h(QItemLabel,{lines:t.labelLines},()=>t.label||""),t.caption?h(QItemLabel,{lines:t.captionLines,caption:!0},()=>t.caption):null])],t.icon&&X[t.switchToggleSide===!0?"push":"unshift"](h(QItemSection,{side:t.switchToggleSide===!0,avatar:t.switchToggleSide!==!0},()=>h(QIcon,{name:t.icon})))),t.disable!==!0&&t.hideExpandIcon!==!0&&X[t.switchToggleSide===!0?"unshift":"push"](H()),X}function z(){const X={ref:"item",style:t.headerStyle,class:t.headerClass,dark:u.value,disable:t.disable,dense:t.dense,insetLevel:t.headerInsetLevel};return E.value===!0&&(X.clickable=!0,X.onClick=P,Object.assign(X,T.value===!0?I.value:x.value)),h(QItem,X,B)}function U(){return withDirectives(h("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:C.value,id:v.value},hSlot(r.default)),[[vShow,d.value]])}function Q(){const X=[z(),h(QSlideTransition,{duration:t.duration,onShow:N,onHide:V},U)];return t.expandSeparator===!0&&X.push(h(QSeparator,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:u.value}),h(QSeparator,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:u.value})),X}return t.group!==void 0&&Y(),onBeforeUnmount(()=>{w!==void 0&&w()}),()=>h("div",{class:S.value},[h("div",{class:"q-expansion-item__container relative-position"},Q())])}});const tickStrategyOptions=["none","strict","leaf","leaf-filtered"];var QTree=createComponent({name:"QTree",props:{...useDarkProps,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:t=>tickStrategyOptions.includes(t)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=useDark(t,u),g=ref({}),v=ref(t.ticked||[]),y=ref(t.expanded||[]);let A={};onBeforeUpdate(()=>{A={}});const b=computed(()=>`q-tree q-tree--${t.dense===!0?"dense":"standard"}`+(t.noConnectors===!0?" q-tree--no-connectors":"")+(d.value===!0?" q-tree--dark":"")+(t.color!==void 0?` text-${t.color}`:"")),_=computed(()=>t.selected!==void 0),w=computed(()=>t.icon||u.iconSet.tree.icon),S=computed(()=>t.controlColor||t.color),C=computed(()=>t.textColor!==void 0?` text-${t.textColor}`:""),T=computed(()=>{const se=t.selectedColor||t.color;return se?` text-${se}`:""}),I=computed(()=>t.filterMethod!==void 0?t.filterMethod:(se,ge)=>{const he=ge.toLowerCase();return se[t.labelKey]&&se[t.labelKey].toLowerCase().indexOf(he)!==-1}),E=computed(()=>{const se={},ge=(he,ye)=>{const ee=he.tickStrategy||(ye?ye.tickStrategy:t.tickStrategy),pe=he[t.nodeKey],ae=he[t.childrenKey]&&Array.isArray(he[t.childrenKey])&&he[t.childrenKey].length!==0,ve=he.disabled!==!0&&_.value===!0&&he.selectable!==!1,we=he.disabled!==!0&&he.expandable!==!1,_e=ee!=="none",Te=ee==="strict",Ce=ee==="leaf-filtered",Ae=ee==="leaf"||ee==="leaf-filtered";let Ee=he.disabled!==!0&&he.tickable!==!1;Ae===!0&&Ee===!0&&ye&&ye.tickable!==!0&&(Ee=!1);let le=he.lazy;le===!0&&g.value[pe]!==void 0&&Array.isArray(he[t.childrenKey])===!0&&(le=g.value[pe]);const re={key:pe,parent:ye,isParent:ae,lazy:le,disabled:he.disabled,link:he.disabled!==!0&&(ve===!0||we===!0&&(ae===!0||le===!0)),children:[],matchesFilter:t.filter?I.value(he,t.filter):!0,selected:pe===t.selected&&ve===!0,selectable:ve,expanded:ae===!0?y.value.includes(pe):!1,expandable:we,noTick:he.noTick===!0||Te!==!0&&le&&le!=="loaded",tickable:Ee,tickStrategy:ee,hasTicking:_e,strictTicking:Te,leafFilteredTicking:Ce,leafTicking:Ae,ticked:Te===!0?v.value.includes(pe):ae===!0?!1:v.value.includes(pe)};if(se[pe]=re,ae===!0&&(re.children=he[t.childrenKey].map(ue=>ge(ue,re)),t.filter&&(re.matchesFilter!==!0?re.matchesFilter=re.children.some(ue=>ue.matchesFilter):re.noTick!==!0&&re.disabled!==!0&&re.tickable===!0&&Ce===!0&&re.children.every(ue=>ue.matchesFilter!==!0||ue.noTick===!0||ue.tickable!==!0)===!0&&(re.tickable=!1)),re.matchesFilter===!0&&(re.noTick!==!0&&Te!==!0&&re.children.every(ue=>ue.noTick)===!0&&(re.noTick=!0),Ae))){if(re.ticked=!1,re.indeterminate=re.children.some(ue=>ue.indeterminate===!0),re.tickable=re.tickable===!0&&re.children.some(ue=>ue.tickable),re.indeterminate!==!0){const ue=re.children.reduce((be,ie)=>ie.ticked===!0?be+1:be,0);ue===re.children.length?re.ticked=!0:ue>0&&(re.indeterminate=!0)}re.indeterminate===!0&&(re.indeterminateNextState=re.children.every(ue=>ue.tickable!==!0||ue.ticked!==!0))}return re};return t.nodes.forEach(he=>ge(he,null)),se});watch(()=>t.ticked,se=>{v.value=se}),watch(()=>t.expanded,se=>{y.value=se});function F(se){const ge=[].reduce,he=(ye,ee)=>{if(ye||!ee)return ye;if(Array.isArray(ee)===!0)return ge.call(Object(ee),he,ye);if(ee[t.nodeKey]===se)return ee;if(ee[t.childrenKey])return he(null,ee[t.childrenKey])};return he(null,t.nodes)}function O(){return v.value.map(se=>F(se))}function D(){return y.value.map(se=>F(se))}function x(se){return se&&E.value[se]?E.value[se].expanded:!1}function P(){t.expanded!==void 0?o("update:expanded",[]):y.value=[]}function G(){const se=[],ge=he=>{he[t.childrenKey]&&he[t.childrenKey].length!==0&&he.expandable!==!1&&he.disabled!==!0&&(se.push(he[t.nodeKey]),he[t.childrenKey].forEach(ge))};t.nodes.forEach(ge),t.expanded!==void 0?o("update:expanded",se):y.value=se}function M(se,ge,he=F(se),ye=E.value[se]){if(ye.lazy&&ye.lazy!=="loaded"){if(ye.lazy==="loading")return;g.value[se]="loading",Array.isArray(he[t.childrenKey])!==!0&&(he[t.childrenKey]=[]),o("lazyLoad",{node:he,key:se,done:ee=>{g.value[se]="loaded",he[t.childrenKey]=Array.isArray(ee)===!0?ee:[],nextTick(()=>{const pe=E.value[se];pe&&pe.isParent===!0&&N(se,!0)})},fail:()=>{delete g.value[se],he[t.childrenKey].length===0&&delete he[t.childrenKey]}})}else ye.isParent===!0&&ye.expandable===!0&&N(se,ge)}function N(se,ge){let he=y.value;const ye=t.expanded!==void 0;if(ye===!0&&(he=he.slice()),ge){if(t.accordion&&E.value[se]){const ee=[];E.value[se].parent?E.value[se].parent.children.forEach(pe=>{pe.key!==se&&pe.expandable===!0&&ee.push(pe.key)}):t.nodes.forEach(pe=>{const ae=pe[t.nodeKey];ae!==se&&ee.push(ae)}),ee.length!==0&&(he=he.filter(pe=>ee.includes(pe)===!1))}he=he.concat([se]).filter((ee,pe,ae)=>ae.indexOf(ee)===pe)}else he=he.filter(ee=>ee!==se);ye===!0?o("update:expanded",he):y.value=he}function V(se){return se&&E.value[se]?E.value[se].ticked:!1}function Y(se,ge){let he=v.value;const ye=t.ticked!==void 0;ye===!0&&(he=he.slice()),ge?he=he.concat(se).filter((ee,pe,ae)=>ae.indexOf(ee)===pe):he=he.filter(ee=>se.includes(ee)===!1),ye===!0&&o("update:ticked",he)}function H(se,ge,he){const ye={tree:a,node:se,key:he,color:t.color,dark:d.value};return injectProp(ye,"expanded",()=>ge.expanded,ee=>{ee!==ge.expanded&&M(he,ee)}),injectProp(ye,"ticked",()=>ge.ticked,ee=>{ee!==ge.ticked&&Y([he],ee)}),ye}function B(se){return(t.filter?se.filter(ge=>E.value[ge[t.nodeKey]].matchesFilter):se).map(ge=>X(ge))}function z(se){if(se.icon!==void 0)return h(QIcon,{class:"q-tree__icon q-mr-sm",name:se.icon,color:se.iconColor});const ge=se.img||se.avatar;if(ge)return h("img",{class:`q-tree__${se.img?"img":"avatar"} q-mr-sm`,src:ge})}function U(){o("afterShow")}function Q(){o("afterHide")}function X(se){const ge=se[t.nodeKey],he=E.value[ge],ye=se.header&&r[`header-${se.header}`]||r["default-header"],ee=he.isParent===!0?B(se[t.childrenKey]):[],pe=ee.length!==0||he.lazy&&he.lazy!=="loaded";let ae=se.body&&r[`body-${se.body}`]||r["default-body"];const ve=ye!==void 0||ae!==void 0?H(se,he,ge):null;return ae!==void 0&&(ae=h("div",{class:"q-tree__node-body relative-position"},[h("div",{class:C.value},[ae(ve)])])),h("div",{key:ge,class:`q-tree__node relative-position q-tree__node--${pe===!0?"parent":"child"}`},[h("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(he.link===!0?" q-tree__node--link q-hoverable q-focusable":"")+(he.selected===!0?" q-tree__node--selected":"")+(he.disabled===!0?" q-tree__node--disabled":""),tabindex:he.link===!0?0:-1,ariaExpanded:ee.length>0?he.expanded:null,role:"treeitem",onClick:we=>{ne(se,he,we)},onKeypress(we){shouldIgnoreKey(we)!==!0&&(we.keyCode===13?ne(se,he,we,!0):we.keyCode===32&&te(se,he,we,!0))}},[h("div",{class:"q-focus-helper",tabindex:-1,ref:we=>{A[he.key]=we}}),he.lazy==="loading"?h(QSpinner,{class:"q-tree__spinner",color:S.value}):pe===!0?h(QIcon,{class:"q-tree__arrow"+(he.expanded===!0?" q-tree__arrow--rotate":""),name:w.value,onClick(we){te(se,he,we)}}):null,he.hasTicking===!0&&he.noTick!==!0?h(QCheckbox,{class:"q-tree__tickbox",modelValue:he.indeterminate===!0?null:he.ticked,color:S.value,dark:d.value,dense:!0,keepColor:!0,disable:he.tickable!==!0,onKeydown:stopAndPrevent$1,"onUpdate:modelValue":we=>{ce(he,we)}}):null,h("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(he.selected===!0?T.value:C.value)},[ye?ye(ve):[z(se),h("div",se[t.labelKey])]])]),pe===!0?t.noTransition===!0?he.expanded===!0?h("div",{class:"q-tree__node-collapsible"+C.value,key:`${ge}__q`},[ae,h("div",{class:"q-tree__children"+(he.disabled===!0?" q-tree__node--disabled":""),role:"group"},ee)]):null:h(QSlideTransition,{duration:t.duration,onShow:U,onHide:Q},()=>withDirectives(h("div",{class:"q-tree__node-collapsible"+C.value,key:`${ge}__q`},[ae,h("div",{class:"q-tree__children"+(he.disabled===!0?" q-tree__node--disabled":""),role:"group"},ee)]),[[vShow,he.expanded]])):ae])}function J(se){const ge=A[se];ge&&ge.focus()}function ne(se,ge,he,ye){ye!==!0&&ge.selectable!==!1&&J(ge.key),_.value&&ge.selectable?t.noSelectionUnset===!1?o("update:selected",ge.key!==t.selected?ge.key:null):ge.key!==t.selected&&o("update:selected",ge.key===void 0?null:ge.key):te(se,ge,he,ye),typeof se.handler=="function"&&se.handler(se)}function te(se,ge,he,ye){he!==void 0&&stopAndPrevent$1(he),ye!==!0&&ge.selectable!==!1&&J(ge.key),M(ge.key,!ge.expanded,se,ge)}function ce(se,ge){if(se.indeterminate===!0&&(ge=se.indeterminateNextState),se.strictTicking)Y([se.key],ge);else if(se.leafTicking){const he=[],ye=ee=>{ee.isParent?(ge!==!0&&ee.noTick!==!0&&ee.tickable===!0&&he.push(ee.key),ee.leafTicking===!0&&ee.children.forEach(ye)):ee.noTick!==!0&&ee.tickable===!0&&(ee.leafFilteredTicking!==!0||ee.matchesFilter===!0)&&he.push(ee.key)};ye(se),Y(he,ge)}}return t.defaultExpandAll===!0&&G(),Object.assign(a,{getNodeByKey:F,getTickedNodes:O,getExpandedNodes:D,isExpanded:x,collapseAll:P,expandAll:G,setExpanded:M,isTicked:V,setTicked:Y}),()=>{const se=B(t.nodes);return h("div",{class:b.value,role:"tree"},se.length===0?t.filter?t.noResultsLabel||u.lang.tree.noResults:t.noNodesLabel||u.lang.tree.noNodes:se)}}}),stateExplorer_vue_vue_type_style_index_0_lang="";const _sfc_main$15=defineComponent({name:"StateExplorer",props:{id:{type:String,required:!0},selected:{type:String,default:""}},emits:["onChange"],data(){return{filter:"",loading:!0,states:{},objects:{},objectTree:{},instanceList:[],selectedItem:this.selected,expandedItems:[]}},computed:{locale(){return i18n.global.locale.value.substr(0,2)}},mounted(){this.getInstanceList().then(()=>{this.selected&&(this.expandNode(this.selected),setTimeout(()=>this.scrollSelectedNode(),2e3))})},methods:{scrollSelectedNode(){const t=document.querySelector(".q-tree__node--selected");t&&t.scrollIntoView(!1)},expandNode(t){if(t in this.objects){const r=t.split(".");r.splice(0,2,r[0]+"."+r[1]);let o="";r.forEach(a=>{o+=o?"."+a:a,this.$refs.StateExplorer.setExpanded(o,!0)})}},onLazyLoad({key:t,done:r}){const o=Connection.getConnection;let a=this.objectTree[t]&&this.objectTree[t].children||[];a=a.map(u=>(o.getState(u._id).then(d=>{this.states[u._id]=d.val}).catch(d=>{this.states[u._id]=""}),u.name=u.common&&(u.common.name[this.locale]||u.common.name)||"",u)),r(a)},onSelect(t){t=t||this.selectedItem,this.$refs.StateExplorer.isExpanded(t)?this.$refs.StateExplorer.setExpanded(t||this.selectedItem,!1):this.objectTree[t]&&this.objectTree[t].children&&this.$refs.StateExplorer.setExpanded(t,!0),this.selectedItem=t,this.$emit("onChange",{id:this.id||"StateExplorer",value:t||""})},filterMethod(t,r){console.warn(t._id,r);const o=this.objectTree[t._id]||null,a=t._id.indexOf(r)>-1;return o&&o.children&&o.children.forEach(u=>{console.log("->"+u._id)}),a},getInstanceList(){this.loading=!0;const t={},r=[{disabled:!0,isHeader:!0,_id:"root",label:"Object",type:"Type",val:"Value",common:{name:"Description",role:"Role"}}];return Connection.getConnection.getObjects().then(a=>{this.objects=a,Object.keys(a).forEach(d=>{const g=a[d];if(g){const v=g._id.substr(0,g._id.lastIndexOf(".")),y=g._id.substr(0,g._id.indexOf(".",g._id.indexOf(".")+1));y&&!r.find(b=>b._id===y)&&r.push({_id:y,label:y,name:"",lazy:!0}),t[v]=t[v]||{children:[]},t[v].children.findIndex(b=>b._id===g._id)===-1&&t[v].children.push({...g,label:g._id.substr(g._id.lastIndexOf(".")+1),lazy:g.type!=="state",isState:g.type==="state"});const A=g._id.split(".");A.length>2&&A.forEach((b,_)=>{const w=A.slice(0,_).join("."),S=w.substr(0,w.lastIndexOf("."));w&&S&&(t[S]=t[S]||{children:[]},t[S].children.findIndex(C=>C._id===w)===-1&&t[S].children.push({_id:w,label:w.substr(w.lastIndexOf(".")+1),lazy:!0,isState:!1}))})}});for(const d in t)t[d].children.sort((g,v)=>g.isState===!1&&v.isState===!0?-1:g.isState===!0&&v.isState===!1?1:g.label.toLowerCase()===v.label.toLowerCase()?0:g.label.toLowerCase()>v.label.toLowerCase()?1:-1);this.objectTree=t,this.instanceList=r.sort((d,g)=>d.isHeader===!0||g.isHeader===!0?1:d.label.toLowerCase()===g.label.toLowerCase()?0:d.label.toLowerCase()>g.label.toLowerCase()?1:-1)}).catch(a=>{console.error(a)}).finally(()=>{this.loading=!1})}}}),_hoisted_1$U={style:{"padding-bottom":"16px"}},_hoisted_2$J={class:"overflow-dots",style:{width:"5%"}},_hoisted_3$z={class:"overflow-dots q-pr-xs",style:{width:"20%"}},_hoisted_4$r={class:"overflow-dots q-pr-xs",style:{width:"35%"}},_hoisted_5$n={class:"overflow-dots",style:{width:"10%"}},_hoisted_6$j={class:"overflow-dots",style:{width:"15%"}},_hoisted_7$f={class:"overflow-dots",style:{width:"15%","max-width":"100px","white-space":"nowrap"}};function _sfc_render$15(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$U,[t.loading?(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})):(openBlock(),createBlock(v,{key:1,class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(QTree,{ref:"StateExplorer",nodes:t.instanceList,"node-key":"_id","label-key":"label","selected-color":"primary",selected:t.selectedItem,onLazyLoad:t.onLazyLoad,"onUpdate:selected":t.onSelect},{"default-header":withCtx(y=>[createBaseVNode("div",{class:normalizeClass(["row full-width",{item:!y.node.children||y.node.children.length===0}]),style:normalizeStyle$1(y.node.isHeader?"font-weight: bold; line-height: 30px; border-bottom: 1px solid rgba(0, 0, 0, 0.12)":"")},[createBaseVNode("div",_hoisted_2$J,[y.node.isHeader?createCommentVNode("",!0):(openBlock(),createBlock(g,{key:0,color:t.selectedItem&&t.selectedItem===y.node._id?"accent":"primary",name:y.node.type==="state"?t.selectedItem&&t.selectedItem===y.node._id?"mdi-bookmark":"mdi-bookmark-outline":"folder"},null,8,["color","name"]))]),createBaseVNode("div",_hoisted_3$z,toDisplayString$1(y.node.label),1),createBaseVNode("div",_hoisted_4$r,[y.node.name&&y.node.name.length>50?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.node.name),1)]),_:2},1024)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(y.node.name?y.node.name.length>50?y.node.name.substr(0,47)+"...":y.node.name:""),1)]),createBaseVNode("div",_hoisted_5$n,toDisplayString$1(y.node.type),1),createBaseVNode("div",_hoisted_6$j,toDisplayString$1(y.node.common&&y.node.common.role?y.node.common.role:""),1),createBaseVNode("div",_hoisted_7$f,[t.states[y.node._id]||y.node.val?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.states[y.node._id]||y.node.val),1)]),_:2},1024)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(t.states[y.node._id]||y.node.val),1)])],6)]),_:1},8,["nodes","selected","onLazyLoad","onUpdate:selected"])]),_:1}))])}var StateExplorer=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$15]]);const _sfc_main$14=defineComponent({name:"StateExplorerPopup",components:{StateExplorer},props:{open:{type:Boolean,default:!1}},emits:["onSave","onClose"],data(){return{state:""}},methods:{onClose(){this.$emit("onClose",{id:this.id||"StateExplorer",value:this.state})},onSave(){this.$emit("onSave",{id:this.id||"StateExplorer",value:this.state})},onChange({value:t}){this.state=t}}}),_hoisted_1$T={class:"text-h6"};function _sfc_render$14(t,r,o,a,u,d){const g=resolveComponent("state-explorer");return openBlock(),createBlock(QDialog,{"model-value":t.open,persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$T,toDisplayString$1(t.$t("State Explorer")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-sm scroll body"},{default:withCtx(()=>[createVNode$1(g,mergeProps(t.$attrs,{onOnChange:t.onChange}),null,16,["onOnChange"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onClose},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.state==="",onClick:t.onSave},null,8,["label","disable","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value"])}var StateExplorerPopup=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$14]]);const _sfc_main$13=defineComponent({name:"DeviceState",components:{StateExplorerPopup},props:{expanded:{type:Boolean,default:!1},device:{type:Object,required:!0},stateKey:{type:String,required:!0},stateList:{type:Array,required:!0}},emits:["onChange","setComponentProps"],setup(t,{emit:r}){const o=useEditor(),a=useIoBroker(),u=useI18n(),d=computed(()=>o.device.states[t.stateKey]),g=ref(!1),v=ref(!1),y=ref(t.expanded||!1);let A="";const b=()=>{r("onChange",{stateKey:t.stateKey,id:"state.newStateKey",value:A}),v.value=!v.value},_=()=>o.copyState({stateKey:t.stateKey}),w=()=>{A=t.stateKey,v.value=!v.value},S=()=>{y.value=!1,g.value=!0,o.removeState({stateKey:t.stateKey})},C=()=>{g.value=!1,o.restoreState({stateKey:t.stateKey})},T=ref(null),I=ref(null),E=(H,B)=>{T.value=H,I.value=B},F=()=>{T.value=null},O=({value:H})=>{D({id:T.value,stateKey:t.stateKey,value:H}),T.value=null},D=H=>{if(H._error)r("onChange",{...H,error:H._error,stateKey:t.stateKey,id:"state."+H.id});else if(H.id==="stateKeyModified")A=H.value;else{let B=H.value;try{B=B&&H.json!==void 0&&H.value.indexOf("{")>-1&&H.value.indexOf("}")>-1?JSON.parse(H.value):H.value}catch(z){console.warn(H.value,z)}r("onChange",{...H,value:B,stateKey:t.stateKey,id:"state."+H.id})}},x=computed(()=>{const H=Functions.Configurations[G.value]&&Functions.Configurations[G.value][t.stateKey.toLowerCase()]||{};return{display:JSON.stringify(H.display),stateStyle:JSON.stringify(H.stateStyle),properties:JSON.stringify(H.properties),label:H.label||"",unit:JSON.stringify(H.unit),icon:JSON.stringify(H.icon),iconStyle:JSON.stringify(H.iconStyle),bodyElement:H.bodyElement||"",actionElement:H.actionElement||""}}),P=ref([]);watch(d,()=>{const H=d.value.action&&d.value.action.node!==void 0&&d.value.action.node!==null?d.value.action.node:d.value.action||"";P.value=Array.isArray(H)?H:[H]},{immediate:!0});const G=computed(()=>t.device.function==="other"?"_defaults":t.device.function),M=computed(()=>{const H=d.value.bodyElement||d.value.bodyElement!==null&&x.value.bodyElement||null,B=d.value.actionElement||d.value.actionElement!==null&&x.value.actionElement||null;return{state:d.value.state&&d.value.state.node!==void 0?d.value.state.node:d.value.state||null,properties:d.value.properties||"",bodyStyle:d.value.bodyStyle||"",stateStyle:d.value.stateStyle||"",display:d.value.display||"",label:d.value.label||"",aliases:d.value.aliases||"",unit:d.value.unit||"",icon:d.value.icon||"",iconStyle:d.value.iconStyle||"",showState:d.value.showState!==void 0?d.value.showState:!1,bodyElement:d.value.bodyElement||null,bodyElementComponentValues:d.value[H+"Config"]||{},bodyElementPlaceholder:d.value.bodyElement!==null&&x.value.bodyElement||"",actionElement:d.value.actionElement||null,actionElementComponentValues:d.value[B+"Config"]||{},actionElementPlaceholder:d.value.actionElement!==null&&x.value.actionElement||"",hide:d.value.hide!==void 0?d.value.hide:!1}}),N=ref([]);a.isCloud(M.value)&&Connection.getConnection.getObject(P.value[0]||M.value.state).then(B=>{var X,J,ne,te,ce,se;let z=((J=(X=B==null?void 0:B.common)==null?void 0:X.smartName)==null?void 0:J[u.locale.value.substr(0,2)])||((te=(ne=B==null?void 0:B.common)==null?void 0:ne.smartName)==null?void 0:te.de)||((se=(ce=B==null?void 0:B.common)==null?void 0:ce.smartName)==null?void 0:se.en);z=z.split(",").map(ge=>ge.trim()),z.includes(t.device.name)&&N.value.push("device.name"),z.includes(t.device.label)&&N.value.push("device.label");const U=t.device.aliases;U&&U.split(",").every(ge=>z.includes(ge))&&N.value.push("device.aliases");const Q=M.value.aliases?M.value.aliases:M.value.label&&typeof M.value.label=="string"&&!M.value.label.startsWith("{")?M.value.label:"";Q&&Q.split(",").every(ge=>z.includes(ge))&&N.value.push("state.aliases")});const V=()=>{P.value.push("")},Y=H=>{P.value.splice(H,1)};return{isPro:Pro.isPro(),FunctionsComponentsList:Functions.ComponentsListAsOptions,icon:icon$n,isDeletedState:g,isEditingStateKey:v,isExpanded:y,onStateSave:b,onStateCopy:_,onStateEdit:w,onStateRemove:S,onStateRestore:C,onStateExplorerOpen:E,stateExplorer:T,stateExplorerSelected:I,onStateExplorerSave:O,onStateExplorerClose:F,onChange:D,placeholders:x,deviceFunction:G,deviceStates:M,actions:P,addAction:V,removeAction:Y,enabledHistory:computed(()=>a.enabledHistory),isHistory:computed(()=>o.isHistory(M.value.state)!==null?o.isHistory(M.value.state):a.isHistory(M.value.state)),optionsHistoryInstances:computed(()=>a.getHistoryInstances),valHistoryInstances:computed(()=>o.isHistory(M.value.state)!==null?Object.keys(o.history[M.value.state]):a.history[M.value.state]?Object.keys(a.history[M.value.state]):[]),enabledIoT:computed(()=>a.enabledIoT),isCloud:computed(()=>o.isCloud(M.value)!==null?o.isCloud(M.value):a.isCloud(M.value)),optionsCloudNames:computed(()=>{const H=[{label:u.t("Device")+" Name ("+t.device.name+")",value:"device.name"}];if(t.device.label&&H.push({label:u.t("Device")+" Label ("+t.device.label+")",value:"device.label"}),t.device.aliases&&H.push({label:u.t("Device")+" Aliases ("+t.device.aliases+")",value:"device.aliases"}),M.value.aliases||M.value.label&&typeof M.value.label=="string"&&!M.value.label.startsWith("{")){const B=M.value.aliases||M.value.label;H.push({label:u.t("State")+" Aliases ("+B+")",value:"state.aliases"})}return H}),valCloudNames:N,icons:computed(()=>M.value.icon&&(typeof M.value.icon!="string"||M.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(B=>({icon:"mdi:"+B,label:B,value:"mdi:"+B})))}}}),_hoisted_1$S={style:{margin:"auto 84px -1px auto"}},_hoisted_2$I={class:"row items-center"},_hoisted_3$y={class:"col row",style:{"align-items":"center"}},_hoisted_4$q={class:"row",style:{padding:"0 8px"}},_hoisted_5$m={class:"col-6"},_hoisted_6$i={class:"col-6"},_hoisted_7$e={class:"col-shrink",style:{margin:"auto 0px 32px 16px"}},_hoisted_8$e={class:"col"},_hoisted_9$e={class:"row",style:{padding:"0 8px"}},_hoisted_10$c={class:"col"},_hoisted_11$c={class:"col"},_hoisted_12$a={class:"row",style:{padding:"0 8px"}},_hoisted_13$9={class:"col"},_hoisted_14$9={class:"row",style:{padding:"0 8px"}},_hoisted_15$8={class:"col"},_hoisted_16$7={class:"row",style:{padding:"0 8px"}},_hoisted_17$6={class:"col"},_hoisted_18$6={class:"row",style:{padding:"0 8px"}},_hoisted_19$5={class:"col"},_hoisted_20$4={class:"col"},_hoisted_21$4={class:"row",style:{padding:"0 8px"}},_hoisted_22$3={class:"col"},_hoisted_23$3={class:"col"},_hoisted_24$3={class:"row",style:{padding:"0 8px"}},_hoisted_25$3={class:"col"},_hoisted_26$3={class:"col-2"},_hoisted_27$3={class:"col"},_hoisted_28$3={class:"row",style:{padding:"0 8px"}},_hoisted_29$3={class:"col-2"},_hoisted_30$3={class:"col-6"},_hoisted_31$2={class:"col-4"};function _sfc_render$13(t,r,o,a,u,d){const g=resolveComponent("state-explorer-popup"),v=resolveComponent("inputs"),y=resolveComponent("paper"),A=resolveComponent("icon");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{id:"stateExplorer",open:t.stateExplorer!==null,selected:t.stateExplorerSelected,onOnClose:t.onStateExplorerClose,onOnSave:t.onStateExplorerSave},null,8,["open","selected","onOnClose","onOnSave"]),withDirectives(createVNode$1(y,{class:"row",style:{margin:"-2px 0 0 0",padding:"0 0 10px 44px"}},{default:withCtx(()=>[createVNode$1(v,{id:"stateKeyModified",label:"",value:t.stateKey,"hide-bottom-space":"",dense:"",onOnChange:t.onChange,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},null,8,["value","onOnChange"]),createBaseVNode("div",_hoisted_1$S,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-check",onClick:t.onStateSave},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-cancel",onClick:t.onStateEdit},null,8,["onClick"])])]),_:1},512),[[vShow,t.isEditingStateKey===!0]]),withDirectives(createVNode$1(QExpansionItem,{modelValue:t.isExpanded,"onUpdate:modelValue":r[8]||(r[8]=b=>t.isExpanded=b),icon:"mdi-drag-horizontal",label:t.stateKey,class:normalizeClass(["paper full-width",{rowDeleted:t.isDeletedState}]),disable:t.isDeletedState},{header:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"dragndrop"},{default:withCtx(()=>[createVNode$1(A,{name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),createVNode$1(QItemSection,{class:normalizeClass({itemDeleted:t.isDeletedState})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.stateKey),1)]),_:1},8,["class"]),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$I,[withDirectives(createBaseVNode("div",_hoisted_3$y,[withDirectives(createVNode$1(v,{type:"button",disabled:!0,tooltip:t.$t("IoT Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-cloud-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledIoT]]),withDirectives(createVNode$1(v,{type:"button",disabled:!0,tooltip:t.$t("History Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-clock-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledHistory]]),t.isCloud?withDirectives((openBlock(),createBlock(v,{key:0,type:"button",tooltip:t.$t("IoT is activated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-check",onClick:r[1]||(r[1]=withModifiers(b=>{t.onChange({id:"addToCloud",value:[]}),t.valCloudNames=[]},["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledIoT]]):withDirectives((openBlock(),createBlock(v,{key:1,type:"button",tooltip:t.$t("IoT is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-outline",onClick:r[2]||(r[2]=withModifiers(b=>{t.onChange({id:"addToCloud",value:t.optionsCloudNames.map(_=>_.value)}),t.valCloudNames=t.optionsCloudNames.map(_=>_.value)},["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledIoT]]),t.isHistory?withDirectives((openBlock(),createBlock(v,{key:2,type:"button",tooltip:t.$t("History is activated"),size:"sm",flat:"",round:"",icon:"mdi-clock-check",onClick:r[3]||(r[3]=withModifiers(b=>t.onChange({id:"addToHistory",value:!1}),["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledHistory]]):withDirectives((openBlock(),createBlock(v,{key:3,type:"button",tooltip:t.$t("History is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-clock-outline",onClick:r[4]||(r[4]=withModifiers(b=>t.onChange({id:"addToHistory",value:!0}),["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledHistory]]),createVNode$1(QSeparator,{vertical:"",inset:"",class:"q-mx-sm",style:{height:"24px"}}),withDirectives(createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:withModifiers(t.onStateEdit,["stop"])},null,8,["onClick"]),[[vShow,t.isEditingStateKey===!1]]),createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:withModifiers(t.onStateCopy,["stop"])},null,8,["onClick"]),createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:withModifiers(t.onStateRemove,["stop"])},null,8,["onClick"])],512),[[vShow,t.isDeletedState!==!0]]),withDirectives(createBaseVNode("div",null,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:withModifiers(t.onStateRestore,["stop"])},null,8,["onClick"])],512),[[vShow,t.isDeletedState===!0]])])]),_:1})]),default:withCtx(()=>[createBaseVNode("div",_hoisted_4$q,[createBaseVNode("div",_hoisted_5$m,[createVNode$1(v,{id:"state",label:"config#Devices#state#label",info:"config#Devices#state#info",value:t.deviceStates.state||"",options:t.stateList,clearable:"",onOnChange:t.onChange},{end:withCtx(()=>[createVNode$1(QBtn,{round:"",dense:"",flat:"",icon:"mdi-database-search",color:"secondary",style:{height:"33px",margin:"auto"},onClick:r[5]||(r[5]=withModifiers(b=>t.onStateExplorerOpen("state",t.deviceStates.state),["stop"]))})]),_:1},8,["value","options","onOnChange"])]),createBaseVNode("div",_hoisted_6$i,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.actions,(b,_)=>(openBlock(),createElementBlock("div",{key:_,class:"row"},[createBaseVNode("div",_hoisted_7$e,[t.isPro?createCommentVNode("",!0):(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Multiple triggers only available to Pro"))+"! ",1)]),_:1})),createVNode$1(QBtn,{disable:!t.isPro||_===0&&t.actions[t.actions.length-1]==="",icon:_===0?"mdi-plus":"mdi-minus",color:_===0?"primary":"secondary",size:"sm",round:"",onClick:withModifiers(w=>_===0?t.addAction():t.removeAction(_),["stop"])},null,8,["disable","icon","color","onClick"])]),createBaseVNode("div",_hoisted_8$e,[createVNode$1(v,{id:"action",index:_,label:"config#Devices#action#label",info:"config#Devices#action#info",placeholder:_===0?t.deviceStates.state:"",value:b||"",options:t.stateList,clearable:"",onOnChange:t.onChange},{prepend:withCtx(()=>[createVNode$1(QAvatar,{color:"primary",class:"text-white",size:"xs"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),end:withCtx(()=>[createVNode$1(QBtn,{round:"",dense:"",flat:"",icon:"mdi-database-search",color:"secondary",style:{height:"33px",margin:"auto"},onClick:withModifiers(w=>t.onStateExplorerOpen("action",b||t.deviceStates.state),["stop"])},null,8,["onClick"])]),_:2},1032,["index","placeholder","value","options","onOnChange"])])]))),128))])]),createBaseVNode("div",_hoisted_9$e,[createBaseVNode("div",_hoisted_10$c,[createVNode$1(v,{id:"label",label:"config#Devices#label#label",value:t.deviceStates.label,json:"",placeholder:t.placeholders.label,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_11$c,[createVNode$1(v,{id:"aliases",label:"config#Devices#aliases#label",value:t.deviceStates.aliases,placeholder:t.deviceStates.label&&typeof t.deviceStates.label=="string"&&!t.deviceStates.label.startsWith("{")?t.deviceStates.label:"",onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_12$a,[createBaseVNode("div",_hoisted_13$9,[createVNode$1(v,{id:"bodyStyle",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.deviceStates.bodyStyle,json:"",placeholder:t.placeholders.bodyStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_14$9,[createBaseVNode("div",_hoisted_15$8,[createVNode$1(v,{id:"stateStyle",label:"config#Devices#stateStyle#label",info:"config#Devices#stateStyle#label",value:t.deviceStates.stateStyle,json:"",placeholder:t.placeholders.stateStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_16$7,[createBaseVNode("div",_hoisted_17$6,[createVNode$1(v,{id:"display",label:"config#Devices#display#label",info:"config#Devices#display#info",value:t.deviceStates.display,json:"",placeholder:t.placeholders.display,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_18$6,[createBaseVNode("div",_hoisted_19$5,[createVNode$1(v,{id:"properties",label:"config#Devices#properties#label",info:"config#Devices#properties#info",value:t.deviceStates.properties,json:"",placeholder:t.placeholders.properties,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_20$4,[createVNode$1(v,{id:"unit",label:"config#Devices#unit#label",info:"config#Devices#unit#info",value:t.deviceStates.unit,json:"allowTextInput",placeholder:t.placeholders.unit,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_21$4,[createBaseVNode("div",_hoisted_22$3,[createVNode$1(v,{id:"icon",label:"config#Devices#icon#label",info:"config#Devices#icon#info",link:"https://icon-sets.iconify.design/",value:t.deviceStates.icon,placeholder:t.placeholders.icon,icon:t.icon(t.deviceStates.icon),options:t.icons,"max-dropdown-options":300,json:"allowTextInput",onOnChange:t.onChange},null,8,["value","placeholder","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_23$3,[createVNode$1(v,{id:"iconStyle",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.deviceStates.iconStyle,json:"",placeholder:t.placeholders.iconStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_24$3,[createBaseVNode("div",_hoisted_25$3,[createVNode$1(v,{id:"bodyElement",label:"config#Devices#bodyElement#label",value:t.deviceStates.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements[t.deviceFunction],"component-values":t.deviceStates.bodyElementComponentValues,placeholder:t.deviceStates.bodyElementPlaceholder,device:t.device,onOnSelect:r[6]||(r[6]=b=>t.onChange({...b,value:b.value||null})),onOnOptions:t.onChange},null,8,["value","components","component-values","placeholder","device","onOnOptions"])]),createBaseVNode("div",_hoisted_26$3,[createVNode$1(v,{id:"showState",type:"Switch",label:"config#Devices#showState#label",value:t.deviceStates.showState,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_27$3,[createVNode$1(v,{id:"actionElement",label:"config#Devices#actionElement#label",value:t.deviceStates.actionElement,type:"select.components",components:t.FunctionsComponentsList.actionElements[t.deviceFunction],"component-values":t.deviceStates.actionElementComponentValues,placeholder:t.deviceStates.actionElementPlaceholder,device:t.device,onOnSelect:r[7]||(r[7]=b=>t.onChange({...b,value:b.value||null})),onOnOptions:t.onChange},null,8,["value","components","component-values","placeholder","device","onOnOptions"])])]),createBaseVNode("div",_hoisted_28$3,[createBaseVNode("div",_hoisted_29$3,[createVNode$1(v,{id:"hide",type:"Switch",label:"config#Devices#hide#label",info:"config#Devices#hide#info",value:t.deviceStates.hide,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_30$3,[createVNode$1(v,{id:"addToCloud",type:"Select",multiple:!0,options:t.optionsCloudNames,label:"config#Devices#addToCloud#label",info:"config#Devices#addToCloud#info",value:t.valCloudNames,disable:!t.enabledIoT,onOnSelect:t.onChange},null,8,["options","value","disable","onOnSelect"])]),createBaseVNode("div",_hoisted_31$2,[createVNode$1(v,{id:"addToHistory",type:"Select",multiple:!0,options:t.optionsHistoryInstances,label:"config#Devices#addToHistory#label",info:"config#Devices#addToHistory#info",value:t.valHistoryInstances,disable:!t.enabledHistory,onOnSelect:t.onChange},null,8,["options","value","disable","onOnSelect"])])]),createVNode$1(QSeparator,{style:{"margin-top":"16px"}})]),_:1},8,["modelValue","label","class","disable"]),[[vShow,t.isEditingStateKey===!1]])],64)}var DeviceState=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$13]]);function useErrors(t){const r=useI18n(),o=ref(t||{}),a=computed(()=>Object.keys(o.value).length!==0);return{errors:o,hasErrors:a,addError:(v,y)=>{o.value[v]=r.t(y)},removeError:v=>{delete o.value[v]},resetErrors:()=>{o.value={}}}}/**! +`)&&(I="(?: "+I+")",F=" "+F,E++),v=new RegExp("^(?:"+I+")",T)),NPCG_INCLUDED&&(v=new RegExp("^"+I+"$(?!\\s)",T)),UPDATES_LAST_INDEX_WRONG&&(y=o.lastIndex),A=call$2(nativeExec,C?v:o,F),C?A?(A.input=stringSlice(A.input,E),A[0]=stringSlice(A[0],E),A.index=o.lastIndex,o.lastIndex+=A[0].length):o.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&A&&(o.lastIndex=o.global?A.index+A[0].length:y),NPCG_INCLUDED&&A&&A.length>1&&call$2(nativeReplace,A[0],v,function(){for(b=1;bA.remove());let u=(" "+r).slice(1);const d=u.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"$1"),g=/@import[ ]?\(?['"](?.*)['"]\)?;?/ig,y=(!d||!d.matchAll?[]:[...d.matchAll(g)||[]]).map((A,b)=>new Promise(_=>{u=u.replace(A[0],""),useCustomTag(o.tag||"link","",{[o.src||"src"]:A.groups.url,id:"import_custom_"+t+"-"+b,class:"import_custom_"+t,crossorigin:"anonymous",...o,onload:()=>_(!0),onerror:()=>_(!1)})}));return Promise.allSettled(y).then(()=>u)}const Settings$g={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$f=[{columns:4,parameter:"adapters",label:"config#AdapterLogs#adapters#label",info:"config#AdapterLogs#adapters#description",type:"Select",multiple:!0,"options-dense":!0,"display-value":":counter",value:()=>{const t=useIoBroker();return t.instanceList&&t.instanceList.val&&t.instanceList.val.concat(["host"])||[]},options:()=>{const t=useIoBroker(),r=t.instances,o=t.instanceList;if(r&&r.val&&o&&o.val){const a=o.val.map(u=>({icon:"img:"+r.val[u].extIcon,value:u,label:u}));return a.push({icon:"img:"+r.val["admin.0"].extIcon,value:"host",label:"js-controller"}),a.sort((u,d)=>u.label.toLowerCase()===d.label.toLowerCase()?0:u.label.toLowerCase()>d.label.toLowerCase()?1:-1)}return[]}},{columns:4,parameter:"severity",label:"config#AdapterLogs#severity#label",info:"config#AdapterLogs#severity#description",type:"Select",multiple:!0,value:["debug","info","warn","error"],options:[{value:"silly",label:"silly"},{value:"debug",label:"debug"},{value:"info",label:"info"},{value:"warn",label:"warn"},{value:"error",label:"error"}]},{columns:2,parameter:"timeFormat",label:"config#AdapterLogs#timeFormat#label",info:"config#AdapterLogs#timeFormat#description",placeholder:"dd.MM.yyyy HH:mm:ss"},{columns:2,parameter:"dense",label:"config#JsonTable#dense#label",info:"config#JsonTable#dense#description",type:"Switch",value:!0},{columns:4,parameter:"columns",label:"config#AdapterLogs#columns#label",info:"config#AdapterLogs#columns#description",type:"Select",multiple:!0,value:["from","ts","severity","message"],options:[{value:"from",label:"Adapter"},{value:"ts",label:"Time"},{value:"severity",label:"Severity"},{value:"message",label:"Message"}]},{columns:2,parameter:"sortColumn",label:"config#JsonTable#sortColumn#label",info:"config#JsonTable#sortColumn#description",value:"ts"},{columns:2,parameter:"sortDirection",label:"config#JsonTable#sortDirection#label",info:"config#JsonTable#sortDirection#description",type:"Switch",value:!0},{columns:2,parameter:"rowsPerPage",label:"config#JsonTable#rowsPerPage#label",info:"config#JsonTable#rowsPerPage#description",type:"Number",value:10,min:0},{columns:2,parameter:"rowsMaxTotal",label:"config#AdapterLogs#rowsMaxTotal#label",type:"Number",value:100,min:0},{columns:10,parameter:"message",label:"config#AdapterLogs#message#label",info:"config#AdapterLogs#message#description"},{columns:2,parameter:"invertFilter",label:"config#AdapterLogs#invertFilter#label",info:"config#AdapterLogs#invertFilter#description",type:"Switch",value:!1},{columns:12,isPro:!0,parameter:"messageFn",label:"config#AdapterLogs#messageFn#label",info:"config#AdapterLogs#messageFn#description",placeholder:"message => message"}],__glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$g,default:ConfigFile$f},Symbol.toStringTag,{value:"Module"}));const Settings$f={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$e=[{columns:2,parameter:"switch",label:"config#AdapterStatus#switch#label",info:"config#AdapterStatus#switch#description",type:"Switch",value:!0},{columns:2,parameter:"updates",label:"config#AdapterStatus#updates#label",info:"config#AdapterStatus#updates#description",type:"Switch",value:!0},{parameter:"list",label:"config#AdapterStatus#list#label",info:"config#AdapterStatus#list#description",placeholder:"config#AdapterStatus#list#values"},{parameter:"blacklist",label:"config#AdapterStatus#blacklist#label",info:"config#AdapterStatus#blacklist#description",placeholder:"config#AdapterStatus#blacklist#values"}],__glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$f,default:ConfigFile$e},Symbol.toStringTag,{value:"Module"}));const insetMap={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},margins={xs:2,sm:4,md:8,lg:16,xl:24};var QSeparator=createComponent({name:"QSeparator",props:{...useDarkProps,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(t){const r=getCurrentInstance(),o=useDark(t,r.proxy.$q),a=computed(()=>t.vertical===!0?"vertical":"horizontal"),u=computed(()=>` q-separator--${a.value}`),d=computed(()=>t.inset!==!1?`${u.value}-${insetMap[t.inset]}`:""),g=computed(()=>`q-separator${u.value}${d.value}`+(t.color!==void 0?` bg-${t.color}`:"")+(o.value===!0?" q-separator--dark":"")),v=computed(()=>{const y={};if(t.size!==void 0&&(y[t.vertical===!0?"width":"height"]=t.size),t.spaced!==!1){const A=t.spaced===!0?`${margins.md}px`:t.spaced in margins?`${margins[t.spaced]}px`:t.spaced,b=t.vertical===!0?["Left","Right"]:["Top","Bottom"];y[`margin${b[0]}`]=y[`margin${b[1]}`]=A}return y});return()=>h("hr",{class:g.value,style:v.value,"aria-orientation":a.value})}});const defaultSizes={xs:2,sm:4,md:6,lg:10,xl:14};function width(t,r,o){return{transform:r===!0?`translateX(${o.lang.rtl===!0?"-":""}100%) scale3d(${-t},1,1)`:`scale3d(${t},1,1)`}}var QLinearProgress=createComponent({name:"QLinearProgress",props:{...useDarkProps,...useSizeProps,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(t,{slots:r}){const{proxy:o}=getCurrentInstance(),a=useDark(t,o.$q),u=useSize(t,defaultSizes),d=computed(()=>t.indeterminate===!0||t.query===!0),g=computed(()=>t.reverse!==t.query),v=computed(()=>({...u.value!==null?u.value:{},"--q-linear-progress-speed":`${t.animationSpeed}ms`})),y=computed(()=>"q-linear-progress"+(t.color!==void 0?` text-${t.color}`:"")+(t.reverse===!0||t.query===!0?" q-linear-progress--reverse":"")+(t.rounded===!0?" rounded-borders":"")),A=computed(()=>width(t.buffer!==void 0?t.buffer:1,g.value,o.$q)),b=computed(()=>`with${t.instantFeedback===!0?"out":""}-transition`),_=computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${b.value} q-linear-progress__track--${a.value===!0?"dark":"light"}`+(t.trackColor!==void 0?` bg-${t.trackColor}`:"")),w=computed(()=>width(d.value===!0?1:t.value,g.value,o.$q)),S=computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${b.value} q-linear-progress__model--${d.value===!0?"in":""}determinate`),C=computed(()=>({width:`${t.value*100}%`})),T=computed(()=>`q-linear-progress__stripe absolute-${t.reverse===!0?"right":"left"} q-linear-progress__stripe--${b.value}`);return()=>{const I=[h("div",{class:_.value,style:A.value}),h("div",{class:S.value,style:w.value})];return t.stripe===!0&&d.value===!1&&I.push(h("div",{class:T.value,style:C.value})),h("div",{class:y.value,style:v.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":t.indeterminate===!0?void 0:t.value},hMergeSlot(r.default,I))}}});const _sfc_main$1d=defineComponent({name:"ModuleCalendarCustomConfiguration",props:{config:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=Connection.getConnection,a=useIoBroker(),u=ref(!1),d=_=>_&&_.substr(_.indexOf(":")+1)!=="",g=()=>{o.getObject("system.adapter.ical.0",({err:_,object:w})=>{u.value=!0,!_&&w&&w.native&&w.native.calendars&&Array.isArray(w.native.calendars)&&(b.value=w.native.calendars.map(S=>({...S,id:v4()})),A({id:"config.calendars",value:b.value}))})},v=()=>{b.value.push({id:v4(),new:!0}),r("onChange",{id:"config.calendars",value:b.value})},y=(_,w)=>{const S=b.value.findIndex(C=>C.id===w);S>-1&&(b.value.splice(S,1),r("onChange",{id:"config.calendars",value:b.value}))},A=_=>{const w=b.value.findIndex(S=>S.id===_["calendar-id"]);w>-1&&(Cache$1.remove("calendar-"+_["calendar-id"]),_.id==="pass"?encryptAllPasswords({[_.id]:_.value},a.meta.secret).then(S=>{b.value[w][_.id]=S[_.id],r("onChange",{id:"config.calendars",value:b.value})}).catch(S=>{console.warn("Calendar-Configuration",S.message,S)}):(b.value[w][_.id]=_.value,r("onChange",{id:"config.calendars",value:b.value})))},b=ref([]);return!t.config.calendars||!Array.isArray(t.config.calendars)||t.config.calendars.length===0?g():(b.value=_default(t.config.calendars).map(_=>(delete _.new,_)),u.value=!0),{loaded:u,calendars:b,addCalendar:v,deleteCalendar:y,onChange:A,hasPasswordSet:d}}}),_hoisted_1$10={class:"full-width"},_hoisted_2$O={class:"text-h7 primary q-ma-sm"},_hoisted_3$D={class:"row nowrap q-mt-md"};function _sfc_render$1d(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$10,[createBaseVNode("div",_hoisted_2$O,toDisplayString$1(t.$t("Module Configuration - Calendars")),1),createVNode$1(QSeparator,{style:{margin:"0 -0 8px 0"}}),withDirectives(createBaseVNode("div",null,[createVNode$1(QLinearProgress,{indeterminate:""})],512),[[vShow,!t.loaded]]),withDirectives(createBaseVNode("div",null,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Calendar"),onClick:t.addCalendar},null,8,["label","onClick"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.calendars,v=>(openBlock(),createElementBlock(Fragment,{key:"item-"+v.id},[createBaseVNode("div",_hoisted_3$D,[createVNode$1(g,{class:"q-mt-xs",type:"button",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:y=>t.deleteCalendar(y,v.id)},null,8,["tooltip","onClick"]),createVNode$1(g,{id:"active",style:{width:"100px"},type:"switch",dense:"",label:t.$t("Active"),"calendar-id":v.id,value:v.active!==void 0?v.active:!0,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"name",style:{width:"150px"},dense:"",label:t.$t("Label"),"calendar-id":v.id,value:v.name,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"color",style:{width:"150px"},dense:"",type:"color",label:t.$t("Color"),"calendar-id":v.id,value:v.color||"",onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"url",style:{width:"450px"},dense:"",label:t.$t("URL"),"calendar-id":v.id,value:v.url,disable:!v.new,onOnChange:t.onChange},null,8,["label","calendar-id","value","disable","onOnChange"]),createVNode$1(g,{id:"user",style:{width:"120px"},dense:"",label:t.$t("User"),"calendar-id":v.id,value:v.user,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),createVNode$1(g,{id:"pass",style:{width:"180px"},type:"password",dense:"",label:t.$t("Password"),"calendar-id":v.id,placeholder:"("+(t.hasPasswordSet(v.pass)?t.$t("unchanged"):t.$t("no password set"))+")",onOnChange:t.onChange},null,8,["label","calendar-id","placeholder","onOnChange"]),withDirectives(createVNode$1(g,{id:"sslignore",style:{width:"100px"},type:"switch",dense:"",label:t.$t("Ignore SSL errors"),"calendar-id":v.id,value:v.sslignore!==void 0?v.sslignore:!1,onOnChange:t.onChange},null,8,["label","calendar-id","value","onOnChange"]),[[vShow,v.url&&v.url.startsWith("https")]])]),createVNode$1(QSeparator)],64))),128))],512),[[vShow,t.loaded]])])}var customConfiguration=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$1d]]),Calendar_config_customComponent=Object.freeze(Object.defineProperty({__proto__:null,default:customConfiguration},Symbol.toStringTag,{value:"Module"}));const Settings$e={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1,customConfiguration};var ConfigFile$d=[{parameter:"calendars",hide:!0},{columns:2,parameter:"calendarPreview",label:"config#Calendar#calendarPreview#label",type:"Switch",value:!0},{columns:2,parameter:"calendarAgenda",label:"config#Calendar#calendarAgenda#label",type:"Switch",value:!0},{columns:2,parameter:"calendarNamesInAgenda",label:"config#Calendar#calendarNamesInAgenda#label",type:"Switch",value:!1},{columns:2,parameter:"refresh",label:"config#Calendar#refresh#label",type:"Number",value:5,min:0},{columns:2,parameter:"daysReview",label:"config#Calendar#daysReview#label",type:"Number",value:0,min:0},{columns:2,parameter:"daysPreview",label:"config#Calendar#daysPreview#label",type:"Number",value:7,min:0}],__glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$e,default:ConfigFile$d},Symbol.toStringTag,{value:"Module"}));const getters={getDevicesWthoutDeletionsCount(t){return Object.keys(getters.getDevicesWithoutDeletions(t)).length},getDevicesWithoutDeletions(t){const r={};for(const o in t.devices){const a=t.devices[o];(!a.attributes||a.attributes&&a.attributes._deleted!==!0&&a.attributes.deleted!==!0)&&(r[o]=a)}return r},getGroups(t){const r=t.devices;return(o,a="")=>{if(a=a===null?"":a.toLowerCase(),!r)return{};const u=Cache$1.get("settings");try{u.configDevicesFilterSelections=u.configDevicesFilterSelections&&!Array.isArray(u.configDevicesFilterSelections)?JSON.parse(u.configDevicesFilterSelections):u.configDevicesFilterSelections}catch(v){console.warn("Devices",v.message)}const d={};let g=[];return Object.values(r).forEach(v=>{v.function=v.function==="other"?"_defaults":v.function,g=o==="function"?[v.function]:o==="room"?[v.room||""]:o==="floor"?[v.floor||""]:v.tags&&v.tags.length>0?v.tags:[""],(!v.attributes||v.attributes&&v.attributes.ignore!==!0)&&(!a||!u.configDevicesFilterSelections||u.configDevicesFilterSelections.length===0||a&&getters.filter(v,a,u.configDevicesFilterSelections))&&g.forEach(y=>{d[y]=d[y]||{key:y,id:y.toLowerCase().replace(/ /g,""),icon:"",label:y&&i18n.global.t(y),devices:[]},d[y].devices.push(v)})}),sortObjectByKey(d,"label")}},filter(t,r,o){return t.states=t.states||{},o=o||[],o.some(a=>{if(t[a]&&!Array.isArray(t[a])&&t[a].toLowerCase().indexOf(r)!==-1)return!0;if(t[a]&&Array.isArray(t[a])&&t[a].some(u=>u.indexOf(r)!==-1))return!0;if(a.startsWith("state."))for(const u in t.states){const d=t.states[u];let g=d.label||"";if(g=typeof g=="object"?Object.values(g).join(" "):g,a==="state.stateId"&&u&&u.toLowerCase().indexOf(r)!==-1)return!0;if(a==="state.label"&&g&&g.toLowerCase().indexOf(r)!==-1)return!0;if(a==="state.state"&&d.state&&(typeof d.state!="object"&&d.state.toLowerCase().indexOf(r)!==-1||typeof d.state=="object"&&d.state.node.toLowerCase().indexOf(r)!==-1))return!0;if(a==="state.action"&&d.action&&!Array.isArray(d.action)&&(typeof d.action!="object"&&d.action.toLowerCase().indexOf(r)!==-1||typeof d.action=="object"&&d.action.node.toLowerCase().indexOf(r)!==-1))return!0;if(a==="state.action"&&d.action&&Array.isArray(d.action)&&d.action.some(v=>v.toLowerCase().indexOf(r)!==-1))return!0}return!1})}};var gettersLayout={getLayout(t){return t.layout||[]},getLayoutWithoutDeletions(t){const r=t.layout||[],o=[];return r.forEach(a=>{a._deleted!==!0&&(!a.type||a.type==="page"?o.push({...a,type:"page",tabs:a.tabs.filter(u=>u._deleted!==!0)}):o.push(a))}),o},getPagesWithoutDeletions(t){return t.layout.filter(r=>(!r.type||r.type==="page")&&r._deleted!==!0)},getSelectedPage(t){return t.layout.filter(r=>r.id===t.selectedPageId)}},gettersWidgets={getWidgetsWthoutDeletionsCount(t){return Object.keys(this.getWidgetsWithoutDeletions).length},getWidgetsWithoutDeletions(t){const r={};for(const o in t.widgets){const a=t.widgets[o];a._deleted!==!0&&(r[o]=a)}return r},getGroupedWidgets(t){const r=t.widgets||{},o={};return Object.values(r).forEach(a=>{const u=a.module||"",d=u.toLowerCase();o[u]=o[u]||{id:d,icon:"",label:u,widgets:[]},o[u].widgets.push(a)}),sortObjectByKey(o)}},actionsDevice={actionSwapNameWithLabel(t){for(const r of t){const o=this.devices[r];if(o.label){const a=o.label;o.label=o.name,o.name=a}}},addDevices({devices:t}){this.devices={...this.devices,...t}},addDevice(){this.device={id:v4(),name:"",aliases:"",tags:[],icon:"",label:"",function:"_defaults",states:{},options:{},attributes:{_created:Date.now()}}},editDevice(t){let r=_default(t);r={name:"",aliases:"",tags:[],icon:"",label:"",function:"_defaults",states:{},options:{},...r,attributes:{_created:Date.now(),...r.attributes||{},_updated:Date.now()}},r.states=r.states||{};for(const o in r.states)r.states[o].stateKey=o;this.device=r},editDeviceField({key:t,val:r}){if(this.device[t]=r,["name","label","aliases"].includes(t)){const o=useIoBroker();Object.values(this.device.states).forEach(a=>{(this.isCloud(a)===!0||this.isCloud(a)===null&&o.isCloud(a)===!0)&&this.editStateField({stateKey:a.stateKey,key:"addToCloud",val:!0})})}},copyDevice(t){const r=v4(),o=t.id+"_"+r.substr(0,5),a=_default(t);a.id=o,a.name=a.name+" (copy)",a.attributes=a.attributes||{},a.attributes._copied=Date.now(),this.devices[o]=a},removeDevice(t){this.devices[t.id]={...t,attributes:{...t.attributes,deleted:!0}}},restoreDevice(t){this.devices[t.id]={...t,attributes:{...t.attributes,deleted:!1}}},saveDevice(){const t=this.device;if(t.revision=v4().substr(0,5),t.tags=t.tags?[...new Set(t.tags)]:[],t.states&&this.widgets){for(const r in t.states)if(t.states[r]&&(t.states[r]._deleted===!0||t.states[r]._renamed===!0)){for(const o in this.widgets)if(this.widgets[o].items)for(const a of this.widgets[o].items)a.deviceId===t.id&&(t.states[r]._renamed===!0&&a.primaryStateKey===t.states[r]._prevStateKey&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from primaryStateKey in widget "+o),a.primaryStateKey=r),t.states[r]._renamed===!0&&a.bodyStateKey===t.states[r]._prevStateKey&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from bodyStateKey in widget "+o),a.bodyStateKey=r),t.states[r]._renamed===!0&&a.secondaryStatesKeys&&a.secondaryStatesKeys.includes(t.states[r]._prevStateKey)&&(console.debug("Rename "+t.states[r]._prevStateKey+" to "+r+" (device "+t.id+") from secondaryStatesKeys in widget "+o),a.secondaryStatesKeys=a.secondaryStatesKeys.map(u=>u===t.states[r]._prevStateKey?r:u)),t.states[r]._deleted===!0&&a.primaryStateKey===r&&(console.debug("Removed "+r+" (device "+t.id+") from primaryStateKey in widget "+o),a.primaryStateKey=null),t.states[r]._deleted===!0&&a.bodyStateKey===r&&(console.debug("Removed "+r+" (device "+t.id+") from bodyStateKey in widget "+o),a.bodyStateKey=null),t.states[r]._deleted===!0&&a.secondaryStatesKeys&&a.secondaryStatesKeys.includes(r)&&(console.debug("Removed "+r+" (device "+t.id+") from secondaryStatesKeys in widget "+o),a.secondaryStatesKeys=a.secondaryStatesKeys.filter(u=>u!==r)));delete t.states[r]._renamed,delete t.states[r]._prevStateKey,t.states[r]._deleted===!0?delete t.states[r]:delete t.states[r]._deleted}}this.devices[t.id]=t,this.device=null},discardDevice(){this.device=null}},actionsDeviceState={newState(t){this.device.states={[t]:{_created:Date.now(),stateKey:t,showState:!0},...this.device.states}},changeStateKey({stateKey:t,stateKeyModified:r}){const o=Object.keys(this.device.states),a=o.indexOf(t);o.splice(a,1,r);const u={};for(const d of o)u[d]=this.device.states[d===r?t:d];u[r].stateKey=r,u[r]._renamed=!0,u[r]._prevStateKey=t,this.device.states=u},editStateField({stateKey:t,index:r,key:o,val:a}){if(o.startsWith("device.")||(r!==void 0?(this.device.states[t][o]=this.device.states[t][o]||[],this.device.states[t][o]=Array.isArray(this.device.states[t][o])?this.device.states[t][o]:[this.device.states[t][o]],this.device.states[t][o][r]=a,this.device.states[t]={...this.device.states[t],_updated:Date.now()}):this.device.states[t]={...this.device.states[t],[o]:a,_updated:Date.now()}),o==="addToHistory"&&this.device.states[t].state){const u=useIoBroker(),d=this.device.states[t].state;this.history[d]={},Array.isArray(a)?a.forEach(g=>{this.history[d][g]={}}):a===!0&&(this.history[d][u.meta.defaultHistory]={})}if(o==="addToCloud"&&(this.device.states[t].action||this.device.states[t].state)){let u=!this.device.states[t].action||Array.isArray(this.device.states[t].action)?this.device.states[t].action:[this.device.states[t].action];u=u||(this.device.states[t].state?[this.device.states[t].state]:[]),u.forEach(d=>{Array.isArray(a)&&a.length===0?this.cloud[d]={action:"remove",state:d}:(this.cloud[d]={action:"add",function:this.device.function==="_defaults"?"SWITCH":this.device.function,name:[],state:d},(Array.isArray(a)?a:this.device.states[t].addToCloud).forEach(v=>{if(v==="device.name")this.cloud[d].name.push(this.device.name);else if(v==="device.label")this.cloud[d].name.push(this.device.label);else if(v==="device.aliases"){const y=this.device.aliases.split(",").map(A=>A.trim());this.cloud[d].name=this.cloud[d].name.concat(y)}else if(v==="state.aliases"){const y=(this.device.states[t].aliases||this.device.states[t].label).split(",").map(A=>A.trim());this.cloud[d].name=this.cloud[d].name.concat(y)}}))})}},copyState({stateKey:t}){const r=t+"_"+v4().substr(0,5),o=_default(this.device.states[t]);o.stateKey=r,o._copied=Date.now(),this.device.states={[r]:o,...this.device.states}},removeState({stateKey:t}){this.device.states[t]._deleted=!0},restoreState({stateKey:t}){this.device.states[t]._deleted=!1}},actionsLayoutDrawer={setLayout(t){this.layout=t},changeDrawerItemId(t,r){const o=this.layout.findIndex(a=>a.id===t);o>-1&&(this.layout[o]={...this.layout[o],id:r})},addDrawerItem(t){t.id=v4(),t.revision=v4().substr(0,5),t._created=Date.now(),this.layout.push(t)},editDrawerItem({itemId:t,key:r,val:o}){const a=this.layout.findIndex(u=>u.id===t);a>-1&&(this.layout[a]={...this.layout[a],[r]:o,revision:v4().substr(0,5),_updated:Date.now()})},copyDrawerItem({itemId:t,copyWidgets:r}){const o=_default(this.layout.find(a=>a.id===t));o.tabs=o.tabs||[],o.tabs=o.tabs.map(a=>(a.id=v4(),a.widgetsDesktop=a.widgetsDesktop||[],a.widgetsDesktop=a.widgetsDesktop.map(u=>(u.i=v4(),r&&(u.items=u.items||[],u.items=u.items.map(d=>{const g=this.getWidget({widgetId:d}),v=v4();return this.copyWidget({id:v,widget:g}),v})),u)),a.widgetsSmartphone=a.widgetsSmartphone||[],a.widgetsSmartphone=a.widgetsSmartphone.map(u=>(u.i=v4(),r&&(u.items=u.items||[],u.items=u.items.map(d=>{const g=this.getWidget({widgetId:d}),v=v4();return this.copyWidget({id:v,widget:g}),v})),u)),a)),this.layout.push({...o,id:v4(),_copied:Date.now()})},deleteDrawerItem({itemId:t}){const r=this.layout.findIndex(o=>o.id===t);r>-1&&(this.layout[r]._deleted=!0)},restoreDrawerItem({itemId:t}){const r=this.layout.findIndex(o=>o.id===t);r>-1&&(this.layout[r]._deleted=!1)}},actionsLayoutTabs={setTabs({pageId:t,tabs:r}){const o=this.layout.findIndex(a=>a.id===t);if(o>-1){const a=_default(this.layout[o]);a.tabs=r,this.layout[o]=a}},addTab({pageId:t,tabId:r,tab:o,duplicate:a,copyWidgets:u}){const d=this.layout.findIndex(g=>g.id===t);if(d>-1){const g=this.layout[d].tabs||[];let v={_created:Date.now(),icon:"mdi-tab",title:i18n.global.t("New Tab"),widgets:[],...o||{}};r&&(v={_copied:Date.now(),...v,..._default(g.find(y=>y.id===r))},v.widgetsDesktop=v.widgetsDesktop||[],v.widgetsDesktop=v.widgetsDesktop.map(y=>(y.i=v4(),u&&(y.items=y.items||[],y.items=y.items.map(A=>{const b=this.getWidget({widgetId:A}),_=v4();return this.copyWidget({id:_,widget:b}),_})),y)),v.widgetsSmartphone=v.widgetsSmartphone||[],v.widgetsSmartphone=v.widgetsSmartphone.map(y=>(y.i=v4(),u&&(y.items=y.items||[],y.items=y.items.map(A=>{const b=this.getWidget({widgetId:A}),_=v4();return this.copyWidget({id:_,widget:b}),_})),y))),v.id=a?v.id:v4(),v.revision=v4().substr(0,5),this.layout[d].tabs=[...g,v]}},editTab({pageId:t,tabId:r,key:o,val:a}){const u=this.layout.findIndex(d=>d.id===t);if(u>-1){const d=this.layout[u].tabs.findIndex(g=>g.id===r);if(d>-1){const g=_default(this.layout[u].tabs);g.splice(d,1,{...this.layout[u].tabs[d],[o]:a,revision:v4().substr(0,5),_updated:Date.now()}),this.layout[u].tabs=g}}},moveTab({pageId:t,tabId:r,destinationPageId:o}){const a=this.layout.findIndex(u=>u.id===t);if(a>-1){const u=this.layout[a].tabs.findIndex(g=>g.id===r),d=this.layout[a].tabs[u];this.addTab({pageId:o,tab:_default(d),duplicate:!0}),this.layout[a].tabs.splice(u,1)}},deleteTab(t){return this.editTab({...t,key:"_deleted",val:!0})},restoreTab(t){return this.editTab({...t,key:"_deleted",val:!1})}};function getTab(t,r,o){const a=t.findIndex(u=>u.id===r);if(a>-1){const u=t[a].tabs.findIndex(d=>d.id===o);if(u>-1)return{pageIndex:a,tabIndex:u}}return null}var actionsWidgets={setWidgets({pageId:t,tabId:r,key:o,val:a}){const u=getTab(this.layout,t,r),d=u&&this.layout[u.pageIndex].tabs[u.tabIndex][o];u!==null&&JSON.stringify(a)!==JSON.stringify(d)&&(this.layout[u.pageIndex].tabs[u.tabIndex]={...this.layout[u.pageIndex].tabs[u.tabIndex],[o]:_default(a),revision:v4().substr(0,5),_updated:Date.now()})},setWidgetConfig({pageId:t,tabId:r,key:o,val:a}){const u=getTab(this.layout,t,r);u!==null&&(this.layout[u.pageIndex].tabs[u.tabIndex]={...this.layout[u.pageIndex].tabs[u.tabIndex],widgetConfig:{...this.layout[u.pageIndex].tabs[u.tabIndex].widgetConfig,[o]:a},revision:v4().substr(0,5),_updated:Date.now()})},getWidget({widgetId:t}){return this.widgets[t]},hasWidget({widgetId:t}){let r=0;return this.layout.forEach(o=>{(o.tabs||[]).forEach(u=>{(u.widgetsDesktop||[]).forEach(v=>{r=v.items&&v.items.includes(t)?r+1:r}),(u.widgetsSmartphone||[]).forEach(v=>{r=v.items&&v.items.includes(t)?r+1:r})})}),r},addWidget({widget:t}){t._updated=t.revision?Date.now():void 0,t.revision=v4().substr(0,5),this.widgets[t.id]=t},copyWidget({id:t,widget:r}){const o=_default(r);o.id=t||v4(),o.title=(o.title||"")+" (copy)",o._copied=Date.now(),this.widgets={[o.id]:o,...this.widgets}},removeWidget({widget:t}){this.widgets[t.id]._deleted=!0},restoreWidget({widget:t}){this.widgets[t.id]._deleted=!1}};const useEditor=defineStore("editor",{state:()=>({errors:{},device:null,devices:null,layout:null,settings:null,styles:null,scripts:null,widgets:null,history:{},cloud:{},tmpJsonEditor:null,selectedPage:null,selectedTab:null}),getters:{...getters,...gettersLayout,...gettersWidgets,hasErrors(t){return Object.keys(t.errors).length>0},isHistory(t){return r=>Object.keys(t.history).length===0||r===null||(r=Array.isArray(r)?r:[r],!r.some(a=>Object.keys(t.history).includes(a.state||a)))?null:r.some(a=>t.history[a.state||a]&&Object.keys(t.history[a.state||a]).length>0)},isCloud(t){return r=>Object.keys(t.cloud).length===0||r===null||(r=Array.isArray(r)?r:[r],!r.some(a=>(a.action&&!Array.isArray(a.action)?[a.action]:a.action||[]).some(d=>Object.keys(t.cloud).includes(d))||Object.keys(t.cloud).includes(a.state||a)))?null:r.some(a=>{const u=a.action&&!Array.isArray(a.action)?[a.action]:a.action||[];return u.length>0&&u.every(d=>t.cloud[d]&&t.cloud[d].action==="add")||t.cloud[a.state||a]&&t.cloud[a.state||a].action==="add"})},rooms(t){const r=[];return Object.values(t.devices).forEach(o=>{o.room&&!r.includes(o.room)&&r.push(o.room)}),r}},actions:{...actionsDevice,...actionsDeviceState,...actionsLayoutDrawer,...actionsLayoutTabs,...actionsWidgets,addError(t,r){t&&r&&(this.errors[t]=r)},removeError(t){const r=t.key||t;r&&this.errors[r]!==void 0&&delete this.errors[r]},init(t){for(const r in t)this[r]=typeof t[r]=="object"?_default(t[r]):t[r]},set(t,r,o=!1){const a=typeof t!="string"?t:{[t]:r};let u="";for(let d in a){const g=a[d];[u,d]=d.indexOf(".")>-1?d.split("."):[null,d],u===null&&this[d]!==void 0?g!==void 0&&this[d]!==g&&(this[d]=g):this[u]&&this[u][d]!==void 0||o===!0?g!==void 0&&this[u][d]!==g&&(this[u][d]=g):console.error("UNKNOWN STATE",u,this[u],d,this[d],g)}},save(t){const r={devices:{node:config$n.get("NODE_DEVICES"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").devices,signature:null,devices:u})},layout:{node:config$n.get("NODE_LAYOUT"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").layout,signature:null,layout:u})},widgets:{node:config$n.get("NODE_WIDGETS"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").widgets,signature:null,widgets:u})},styles:{node:config$n.get("NODE_STYLES"),json:!0,cb:u=>({version:config$n.get("LATEST_VERSIONS").css,signature:null,styles:u})},settings:{node:config$n.get("NODE_SETTINGS"),json:!0}},o=Connection.getConnection,a=Object.keys(t).map(u=>{const d=r[u];return new Promise((g,v)=>{const y=d.json?JSON.stringify(d.cb?d.cb(t[u]):t[u]):t[u];Cache$1.set(u,t[u]),o.setState(d.node,{_jarvis:"3.2.0-rc.1",val:y},!0,({err:A})=>A?v(A):g())})});return Promise.allSettled(a).then(()=>t.scripts?new Promise((u,d)=>{o.setState(config$n.get("NODE_SCRIPTS"),JSON.stringify({version:3.2,signature:null,scripts:t.scripts}),!0,()=>u())}):Promise.resolve())},commitJson(){this.tmpJsonEditor&&this.set({[this.tmpJsonEditor.key]:this.tmpJsonEditor.json,tmpJsonEditor:null})}}}),_sfc_main$1c=defineComponent({name:"ModuleChartCustomConfiguration",props:{item:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useEditor(),a=computed(()=>o.devices||{}),u=computed(()=>t.item.label||a.value&&a.value[t.item.deviceId]&&(a.value[t.item.deviceId].label||a.value[t.item.deviceId].name)||""),d=computed(()=>!a.value||!a.value[t.item.deviceId]||!a.value[t.item.deviceId].states?[]:Object.keys(a.value[t.item.deviceId].states).map(v=>({label:v,value:v})));return{deviceLabel:u,deviceStatesOptions:d,onChange:v=>r("onChange",v)}}}),_hoisted_1$$={class:"row nowrap items-center"};function _sfc_render$1c(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$$,[createVNode$1(g,{id:"primaryStateKey",dense:"",style:{width:"130px"},label:"Action State","item-id":t.item.id,value:t.item.primaryStateKey,type:"select",options:t.deviceStatesOptions,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"label",dense:"",style:{width:"170px"},label:"Label","item-id":t.item.id,value:t.deviceLabel,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),createVNode$1(g,{id:"moduleConfig.color",dense:"",type:"color",label:"Chart Line Color","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.color||"",onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])])}var customActionSection$1=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$1c]]),Chart_config_customActionSection=Object.freeze(Object.defineProperty({__proto__:null,default:customActionSection$1},Symbol.toStringTag,{value:"Module"}));const Settings$d={addList:!1,addGroup:!1,addDivider:!1,addDevice:{fields:["label"]},customActionSection:customActionSection$1};var ConfigFile$c=[{columns:2,parameter:"type",label:"config#Chart#type#label",info:"config#Chart#type#info",type:"Select",options:[{value:"bar",label:"Bar-Chart"},{value:"pie",label:"Pie-Chart"},{value:"circle",label:"Circle-Chart"}],value:"bar"},{columns:2,type:"Placeholder",dependencies:{type:"circle"}},{columns:2,parameter:"barStack",label:"config#Chart#barStack#label",info:"config#Chart#barStack#info",type:"Switch",value:!1,dependencies:{type:"bar"}},{columns:2,parameter:"pieRadius",label:"config#Chart#pieRadius#label",info:"config#Chart#pieRadius#info",type:"Switch",value:!0,dependencies:{type:"pie"}},{columns:2,type:"Placeholder",dependencies:{type:["pie"]}},{columns:2,parameter:"minValue",label:"config#Chart#minValue#label",info:"config#Chart#minValue#info",type:"Number",placeholder:"auto",dependencies:{type:["bar"]}},{columns:2,type:"Placeholder",dependencies:{type:["pie"]}},{columns:2,parameter:"radius",label:"config#Chart#radius#label",type:"Number",placeholder:"70",min:0,max:100,dependencies:{type:["circle"]}},{columns:2,parameter:"maxValue",label:"config#Chart#maxValue#label",info:"config#Chart#maxValue#info",type:"Number",placeholder:"auto",dependencies:{type:["bar","circle"]}},{columns:2,parameter:"legend",label:"config#Chart#legend#label",type:"Select",options:[{value:"top",translate:"config#Chart#legend#options#top"},{value:"bottom",translate:"config#Chart#legend#options#bottom"},{value:"off",translate:"config#Chart#legend#options#off"}],value:"top"},{columns:2,parameter:"label",label:"config#Chart#label#label",type:"Switch",value:!1}],__glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$d,default:ConfigFile$c},Symbol.toStringTag,{value:"Module"}));const Settings$c={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$b=[{columns:3,parameter:"formatDate",type:"textarea","input-style":{height:"28px"},label:"config#DateTime#formatDate#label",info:"config#DateTime#format#description",link:"https://date-fns.org/v2.16.1/docs/format",value:"d. MMMM yyyy"},{columns:3,parameter:"formatTime",type:"textarea","input-style":{height:"28px"},label:"config#DateTime#formatTime#label",info:"config#DateTime#format#description",link:"https://date-fns.org/v2.16.1/docs/format",value:"HH:mm:ss"},{columns:2,parameter:"city",label:"config#DateTime#city#label",type:"Switch",value:!0},{columns:2,parameter:"sun",label:"config#DateTime#sun#label",type:"Switch",value:!0},{columns:2,parameter:"calendarweek",label:"config#DateTime#calendarweek#label",type:"Switch",value:!0}],__glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$c,default:ConfigFile$b},Symbol.toStringTag,{value:"Module"}));const Settings$b={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$a=[{columns:12,parameter:"url",label:"config#DisplayImage#url#label",info:"config#DisplayImage#url#info",placeholder:"http://"},{columns:6,parameter:"size",label:"config#DisplayImage#size#label",info:"config#DisplayImage#size#info",type:"Select",options:[{translate:"config#DisplayImage#size#option#unset",value:"unset"},{translate:"config#DisplayImage#size#option#fit",value:"fit"},{translate:"config#DisplayImage#size#option#fitx",value:"cover"},{translate:"config#DisplayImage#size#option#fity",value:"contain"}],value:"fit"},{columns:2,parameter:"refresh",label:"config#DisplayImage#refresh#label",info:"config#DisplayImage#refresh#info",type:"Number",value:0,min:0},{columns:4,parameter:"refreshMethod",label:"config#DisplayImage#refreshMethod#label",info:"config#DisplayImage#refreshMethod#info",type:"Select",options:[{translate:"config#DisplayImage#refreshMethod#option#random",value:"random"},{translate:"config#DisplayImage#refreshMethod#option#whitespace",value:"whitespace"}],value:"whitespace"},{columns:5,parameter:"crossorigin",label:"config#DisplayImage#crossorigin#label",info:"config#DisplayImage#crossorigin#info",type:"Select",options:[{translate:"config#DisplayImage#crossorigin#option#off",value:"off"},{translate:"config#DisplayImage#crossorigin#option#anonymous",value:"anonymous"},{translate:"config#DisplayImage#crossorigin#option#credentials",value:"use-credentials"}],value:"off"},{columns:7,parameter:"referrerpolicy",label:"config#DisplayImage#referrerpolicy#label",info:"config#DisplayImage#referrerpolicy#info",type:"Select",options:[{translate:"config#DisplayImage#referrerpolicy#option#strict-origin-when-cross-origin",value:"strict-origin-when-cross-origin"},{translate:"config#DisplayImage#referrerpolicy#option#strict-origin",value:"strict-origin"},{translate:"config#DisplayImage#referrerpolicy#option#same-origin",value:"same-origin"},{translate:"config#DisplayImage#referrerpolicy#option#origin-when-cross-origin",value:"origin-when-cross-origin"},{translate:"config#DisplayImage#referrerpolicy#option#origin",value:"origin"},{translate:"config#DisplayImage#referrerpolicy#option#no-referrer-when-downgrade",value:"no-referrer-when-downgrade"},{translate:"config#DisplayImage#referrerpolicy#option#no-referrer",value:"no-referrer"}],value:"strict-origin-when-cross-origin"}],__glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$b,default:ConfigFile$a},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1b=defineComponent({name:"ModuleHistoryGraphCustomBody",props:{item:{type:Object,required:!0},device:{type:Object,required:!0},moduleConfigValues:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useI18n(),a=computed(()=>t.item.label||t.device&&(t.device.label||t.device.name)||""),u=computed(()=>{let v=[];try{v=JSON.parse(t.moduleConfigValues.yAxis)||[],v=Array.isArray(v)?v:[v]}catch(y){v=[]}return v.map((y,A)=>({value:A,label:(y.name?y.name:"("+o.t("No Name defined")+")")+" ("+A+")"}))}),d=computed(()=>u.value[t.item.moduleConfig&&Number.isInteger(t.item.moduleConfig.yaxis)?t.item.moduleConfig.yaxis:0]||{});return{onChange:v=>r("onChange",v),deviceLabel:a,yAxis:u,yAxisSelected:d}}}),_hoisted_1$_={class:"row items-center"},_hoisted_2$N={class:"row items-center"};function _sfc_render$1b(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createBaseVNode("div",_hoisted_1$_,[createBaseVNode("span",null,[createBaseVNode("strong",null,toDisplayString$1(t.device.name),1),createTextVNode(" ("+toDisplayString$1(t.device.function+", #"+t.item.deviceId)+")",1)])]),createBaseVNode("div",_hoisted_2$N,[createVNode$1(g,{id:"label",dense:"",style:{width:"170px"},label:"Label","item-id":t.item.id,value:t.deviceLabel,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),createVNode$1(g,{id:"moduleConfig.color",dense:"",type:"color",label:"Chart Line Color","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.color||"",onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),withDirectives(createVNode$1(g,{id:"moduleConfig.yaxis",dense:"",type:"select",label:"Y Axis","item-id":t.item.id,value:t.yAxisSelected,options:t.yAxis,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),[[vShow,t.yAxis.length>1]])])])}var customBodySection=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$1b]]),HistoryGraph_config_customBodySection=Object.freeze(Object.defineProperty({__proto__:null,default:customBodySection},Symbol.toStringTag,{value:"Module"}));const _sfc_main$1a=defineComponent({name:"ModuleHistoryGraphCustomAction",props:{item:{type:Object,required:!0},device:{type:Object,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useIoBroker(),a=[{value:"both",translate:"config#HistoryGraph#ack#select#both"},{value:"true",translate:"config#HistoryGraph#ack#select#true"},{value:"false",translate:"config#HistoryGraph#ack#select#false"}],u=computed(()=>t.device.states[t.item.primaryStateKey].properties&&t.device.states[t.item.primaryStateKey].properties.value!==void 0&&t.device.states[t.item.primaryStateKey].properties.value!==null),d=o.getHistoryInstances;!t.item.historyAdapter&&d.value&&d.value[0]&&d.value[0].value&&r("onChange",{itemId:t.item.id,id:"historyAdapter",value:d.value[0].value});const g=computed(()=>Object.keys(t.device.states).map(y=>({label:y,value:y})));return{onChange:y=>r("onChange",y),deviceCallback:u,optionsAck:a,optionsDeviceStatesOptions:g,optionsHistoryAdapters:d}}}),_hoisted_1$Z={class:"row"};function _sfc_render$1a(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$Z,[createVNode$1(g,{id:"primaryStateKey",type:"select",dense:"",label:"Action State","item-id":t.item.id,value:t.item.primaryStateKey,options:t.optionsDeviceStatesOptions,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"historyAdapter",type:"select",dense:"",label:"History Adapter","item-id":t.item.id,value:t.item.historyAdapter,options:t.optionsHistoryAdapters,onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"moduleConfig.ack",type:"select",dense:"",label:"Ack","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.ack!==void 0?t.item.moduleConfig.ack:"both",info:"config#Chart#ack",options:t.optionsAck,style:{width:"240px"},onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"]),withDirectives(createVNode$1(g,{id:"moduleConfig.deviceCallback",type:"switch",dense:"",style:{width:"150px"},label:"Use Device Value Function","item-id":t.item.id,value:t.item.moduleConfig&&t.item.moduleConfig.deviceCallback!==void 0?t.item.moduleConfig.deviceCallback:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"]),[[vShow,t.deviceCallback]])])}var customActionSection=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$1a]]),HistoryGraph_config_customActionSection=Object.freeze(Object.defineProperty({__proto__:null,default:customActionSection},Symbol.toStringTag,{value:"Module"}));const Settings$a={addList:!1,addGroup:!1,addDivider:!1,addDevice:!0,customBodySection,customActionSection};var ConfigFile$9=[{columns:2,parameter:"chartType",label:"config#HistoryGraph#chartType#label",type:"Select",value:"line",options:[{value:"line",translate:"Line-Chart (normal)"},{value:"stepped",translate:"Line-Chart (stepped)"},{value:"smooth",translate:"Line-Chart (smooth)"},{value:"bar",translate:"Bar-Chart"}]},{columns:2,parameter:"maxEntries",label:"config#HistoryGraph#maxEntries#label",info:"config#HistoryGraph#maxEntries#description",type:"Number",value:500,min:1},{columns:2,parameter:"legend",label:"config#HistoryGraph#legend#label",type:"Select",options:[{value:"top",translate:"config#HistoryGraph#legend#options#top"},{value:"bottom",translate:"config#HistoryGraph#legend#options#bottom"},{value:"off",translate:"config#HistoryGraph#legend#options#off"}],value:"top"},{columns:2,parameter:"showSymbol",label:"config#HistoryGraph#showSymbol#label",type:"Switch",value:!0},{columns:2,parameter:"zoom",label:"config#HistoryGraph#zoom#label",type:"Switch",value:!0},{columns:2,parameter:"dataZoom",label:"config#HistoryGraph#dataZoom#label",info:"config#HistoryGraph#dataZoom#description",type:"Number",value:80,max:100,min:0},{columns:3,parameter:"timeType",label:"config#HistoryGraph#timeType#label",type:"Select",value:"review",options:[{value:"timeline",translate:"Timeline"},{value:"review",translate:"Review"}]},{columns:7,type:"Placeholder",dependencies:{timeType:[void 0,null]}},{columns:7,parameter:"timeTimelineDate",label:"config#HistoryGraph#timeTimelineDate#label",type:"Date",dependencies:{timeType:"timeline"}},{columns:2,parameter:"timeReviewValue",label:"config#HistoryGraph#timeReviewValue#label",type:"Number",value:7,min:0,dependencies:{timeType:"review"}},{columns:3,parameter:"timeReviewUnit",label:"config#HistoryGraph#timeReviewUnit#label",type:"Select",value:"days",options:[{value:"seconds",translate:"Seconds"},{value:"minutes",translate:"Minutes"},{value:"hours",translate:"Hours"},{value:"days",translate:"Days"},{value:"weeks",translate:"Weeks"},{value:"months",translate:"Months"}],dependencies:{timeType:"review"}},{columns:2,parameter:"timeRefresh",label:"config#HistoryGraph#timeRefresh#label",type:"Number",placeholder:"auto",dependencies:{timeType:"review"}},{columns:2,parameter:"timeConfigurable",label:"config#HistoryGraph#timeConfigurable#label",type:"Switch",value:!0},{columns:6,isPro:!0,parameter:"yAxis",label:"config#HistoryGraph#yAxis#label",info:"config#HistoryGraph#yAxis#info",link:"https://echarts.apache.org/en/option.html#yAxis",placeholder:"{}",json:!0},{columns:4,isPro:!0,parameter:"xAxis",label:"config#HistoryGraph#xAxis#label",info:"config#HistoryGraph#yAxis#info",link:"https://echarts.apache.org/en/option.html#xAxis",placeholder:"{}",json:!0},{columns:2,parameter:"dateFormat",label:"config#HistoryGraph#dateFormat#label",placeholder:"{HH}:{mm}\\n{dd}.{MM}."},{columns:6,isPro:!0,parameter:"series",label:"config#HistoryGraph#series#label",info:"config#HistoryGraph#series#info",link:"https://echarts.apache.org/en/option.html#series-line",placeholder:"{}",json:!0},{columns:6,isPro:!0,parameter:"callback",label:"config#HistoryGraph#callback#label",info:"config#HistoryGraph#callback#info",placeholder:"(val, ts, index) => val"}],__glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$a,default:ConfigFile$9},Symbol.toStringTag,{value:"Module"}));const Settings$9={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["label","bodyStateKey","bodyElement","primaryStateKey","actionElement","secondaryStatesKeys"]}},options=[{value:"",label:""},{value:"icon",label:"Icon (State)"},{value:"deviceIcon",label:"Icon (Device)"},{value:"label",label:"Label"},{value:"state",label:"State"},{value:"bodyElement",label:"Body Element"},{value:"actionElement",label:"Trigger Element"},{value:"secondaryStates",label:"Secondary States"}];var ConfigFile$8=[{columns:2,parameter:"topLeft",label:"config#HomeKitTile#topLeft#label",type:"Select",options,value:"icon"},{columns:2,parameter:"topCenter",label:"config#HomeKitTile#topCenter#label",type:"Select",options},{columns:2,parameter:"topRight",label:"config#HomeKitTile#topRight#label",type:"Select",options},{columns:1,type:"placeholder"},{columns:5,parameter:"action",label:"config#HomeKitTile#action#label",type:"Select",options:[{translate:"Open Device Details (Popup)",value:"popup"},{translate:"Trigger Action",value:"trigger"},{translate:"Open Page / Tab",value:"page"},{translate:"Open external Website",value:"website"},{translate:"No Action",value:"none"}],value:"popup"},{columns:2,parameter:"middleLeft",label:"config#HomeKitTile#middleLeft#label",type:"Select",options,value:"label"},{columns:2,parameter:"middleCenter",label:"config#HomeKitTile#middleCenter#label",type:"Select",options},{columns:2,parameter:"middleRight",label:"config#HomeKitTile#middleRight#label",type:"Select",options},{columns:1,type:"placeholder"},{columns:5,parameter:"jumper",label:"config#HomeKitTile#jumper#label",info:"config#HomeKitTile#jumper#info",type:"Select",options:(t,{jarvis:r})=>r.getPagesWithTabs,value:"",dependencies:{action:"page"}},{columns:5,parameter:"website",label:"config#HomeKitTile#website#label",value:"",dependencies:{action:"website"}},{columns:5,type:"placeholder",dependencies:{action:[void 0,null,"","none","popup","trigger"]}},{columns:2,parameter:"bottomLeft",label:"config#HomeKitTile#bottomLeft#label",type:"Select",options,value:"actionElement"},{columns:2,parameter:"bottomCenter",label:"config#HomeKitTile#bottomCenter#label",type:"Select",options},{columns:2,parameter:"bottomRight",label:"config#HomeKitTile#bottomRight#label",type:"Select",options},{columns:6,type:"placeholder"}],__glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$9,default:ConfigFile$8},Symbol.toStringTag,{value:"Module"}));const Settings$8={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$7=[{columns:12,parameter:"thead",label:"config#JsonTable#thead#label",info:"config#JsonTable#thead#description",placeholder:"config#JsonTable#thead#placeholder",isPro:"Format Option",json:!0},{columns:2,parameter:"object",label:"config#JsonTable#object#label",info:"config#JsonTable#object#description",type:"Switch",value:!1},{columns:2,parameter:"sortColumn",label:"config#JsonTable#sortColumn#label",info:"config#JsonTable#sortColumn#description"},{columns:2,parameter:"sortDirection",label:"config#JsonTable#sortDirection#label",info:"config#JsonTable#sortDirection#description",type:"Switch",value:!1},{columns:2,parameter:"rowsPerPage",label:"config#JsonTable#rowsPerPage#label",info:"config#JsonTable#rowsPerPage#description",type:"Number",value:10,min:0},{columns:2,parameter:"max",label:"config#JsonTable#max#label",info:"config#JsonTable#max#description",type:"Number",value:0,min:0},{columns:2,parameter:"dense",label:"config#JsonTable#dense#label",info:"config#JsonTable#dense#description",type:"Switch",value:!0},{columns:2,parameter:"hideFilter",label:"config#JsonTable#hideFilter#label",type:"Switch",value:!1},{columns:2,parameter:"hideColumnsSelector",label:"config#JsonTable#hideColumnsSelector#label",type:"Switch",value:!1},{columns:2,parameter:"hideFullscreenButton",label:"config#JsonTable#hideFullscreenButton#label",type:"Switch",value:!1}],__glob_2_9=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$8,default:ConfigFile$7},Symbol.toStringTag,{value:"Module"})),__glob_2_8=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$8,default:ConfigFile$7},Symbol.toStringTag,{value:"Module"}));const Settings$7={addList:!1,addGroup:!1,addDivider:!0,addDevice:{fields:["primaryStateKey"]}};var ConfigFile$6=[{columns:1,parameter:"defaultZoom",label:"config#Map#defaultZoom#label",type:"Number",value:10,min:0,max:19},{columns:1,parameter:"rotation",label:"config#Map#rotation#label",type:"Number",value:0,min:0,max:359},{columns:6,parameter:"defaultPosition",label:"config#Map#defaultPosition#label",info:"config#Map#defaultPosition#description",value:""},{columns:2,parameter:"followDevice",label:"config#Map#followDevice#label",info:"config#Map#followDevice#description",type:"Select",options:t=>{const r=[],o=Cache$1.get("devices");return t.forEach(a=>{a.type==="device"&&r.push({label:o[a.deviceId].name,value:a.deviceId})}),r},value:null},{columns:2,parameter:"tooltipPermanent",label:"config#Map#tooltipPermanent#label",info:"config#Map#tooltipPermanent#description",type:"Switch",value:!0}],__glob_2_10=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$7,default:ConfigFile$6},Symbol.toStringTag,{value:"Module"}));const Settings$6={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$5=[{parameter:"adapter",label:"config#MediaControl#adapter#label",required:!0,columns:2,type:"Select",options:()=>{const t=useIoBroker();return(t.instanceList&&t.instanceList.val||[]).filter(o=>o.indexOf("spotify-premium")>-1||o.indexOf("plex")>-1||o.indexOf("alexa2")>-1||o.indexOf("yamaha")>-1||o.indexOf("musiccast")>-1).map(o=>({value:o.toLowerCase().replace(/ /g,""),label:o}))},value:null},{parameter:"coverMode",label:"config#MediaControl#coverMode#label",description:"config#MediaControl#coverMode#info",columns:2,type:"Switch",value:!1},{parameter:"coverUrl",label:"config#MediaControl#coverUrl#label",description:"config#MediaControl#coverUrl#info",columns:2,value:""}],__glob_2_11=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$6,default:ConfigFile$5},Symbol.toStringTag,{value:"Module"}));const Settings$5={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$4=[{columns:2,parameter:"switch",label:"config#ScriptStatus#switch#label",info:"config#ScriptStatus#switch#description",type:"Switch",value:!0},{columns:2,parameter:"expanded",label:"config#ScriptStatus#expanded#label",info:"config#ScriptStatus#expanded#description",type:"Switch",value:!0},{parameter:"list",label:"config#ScriptStatus#list#label",info:"config#ScriptStatus#list#description",placeholder:"config#ScriptStatus#list#values"},{parameter:"blacklist",label:"config#ScriptStatus#blacklist#label",info:"config#ScriptStatus#blacklist#description",placeholder:"config#ScriptStatus#blacklist#values"}],__glob_2_12=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$5,default:ConfigFile$4},Symbol.toStringTag,{value:"Module"}));const Settings$4={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile$3=[],__glob_2_13=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$4,default:ConfigFile$3},Symbol.toStringTag,{value:"Module"}));const Settings$3={};var ConfigFile$2=[{columns:2,parameter:"dense",label:"config#StateList#dense#label",info:"config#StateList#dense#description",type:"Switch",value:!1},{columns:2,parameter:"horizontal",label:"config#StateList#horizontal#label",info:"config#StateList#horizontal#description",type:"Switch",value:!1},{columns:2,parameter:"stacked",label:"config#StateList#stacked#label",info:"config#StateList#stacked#description",type:"Switch",value:!1},{columns:6,type:"Placeholder"},{columns:12,parameter:"filter",label:"config#StateList#filter#label",info:"config#StateList#filter#description",placeholder:"(value, val, state, device, deviceConfig, widget) => true",isPro:!0}],__glob_2_14=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$3,default:ConfigFile$2},Symbol.toStringTag,{value:"Module"}));const Settings$2={addList:!1,addGroup:!1,addDivider:!1,addDevice:!1};var ConfigFile$1=[{columns:5,parameter:"apikey",label:"config#Weather#apikey#label",required:!0,value:()=>(Cache$1.get("daswetter")||{}).affiliate_id||""},{columns:4,parameter:"localid",label:"config#Weather#localid#label",required:!0,value:()=>(Cache$1.get("daswetter")||{}).localidad||""},{columns:3,parameter:"display",label:"config#Weather#display#label",type:"Select",options:[{translate:"config#Weather#display#options#both",value:"both"},{translate:"config#Weather#display#options#overview",value:"overview"},{translate:"config#Weather#display#options#preview",value:"preview"}],value:"both"},{columns:2,parameter:"forecastSunRain",label:"config#Weather#forecastSunRain#label",type:"Switch",value:!0},{columns:2,parameter:"iconSetWeather",label:"config#Weather#iconSetWeather#label",type:"Select",options:[{value:"set1",label:"Set 1"},{value:"set2",label:"Set 2"},{value:"set3",label:"Set 3"},{value:"set4",label:"Set 4"},{value:"set5",label:"Set 5"},{value:"set5-white",label:"Set 5 (white)"}],value:"set5"},{parameter:"forecastTemperature",label:"config#Weather#forecastTemperature#label",type:"Switch",value:!0,columns:2},{parameter:"forecastWind",label:"config#Weather#forecastWind#label",type:"Switch",value:!0,columns:2},{parameter:"iconSetWind",label:"config#Weather#iconSetWind#label",type:"Select",options:[{value:"set1",label:"Set 1"},{value:"set2",label:"Set 2"},{value:"set5-white",label:"Set 5 (white)"}],value:"set2",columns:2}],__glob_2_15=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$2,default:ConfigFile$1},Symbol.toStringTag,{value:"Module"}));const Settings$1={addList:!1,addGroup:!1,addDivider:!1,addDevice:{max:1,fields:["primaryStateKey"]}};var ConfigFile=[{columns:12,parameter:"url",label:"config#iFrame#url#label",placeholder:"http://"},{columns:2,parameter:"keepalive",label:"config#iFrame#keepalive#label",info:"config#iFrame#keepalive#info",type:"Switch",value:!1},{columns:2,parameter:"interaction",label:"config#iFrame#interaction#label",info:"config#iFrame#interaction#info",type:"Switch",value:!0},{columns:2,parameter:"refresh",label:"config#iFrame#refresh#label",info:"config#iFrame#refresh#info",type:"Number",value:0,min:0},{columns:2,parameter:"sandbox",label:"config#iFrame#sandbox#label",info:"config#iFrame#sandbox#info",type:"Switch",value:!0},{columns:12,parameter:"sandboxOptions",label:"config#iFrame#sandboxOptions#label",type:"Select",multiple:!0,options:[{value:"allow-downloads",label:"Allows downloads"},{value:"allow-forms",label:"Allows form submission"},{value:"allow-modals",label:"Allows to open modal windows"},{value:"allow-orientation-lock",label:"Allows to lock the screen orientation"},{value:"allow-pointer-lock",label:"Allows to use the Pointer Lock API"},{value:"allow-popups",label:"Allows popups"},{value:"allow-popups-to-escape-sandbox",label:"Allows popups to open new windows without inheriting the sandboxing"},{value:"allow-presentation",label:"Allows to start a presentation session"},{value:"allow-same-origin",label:"Allows the iframe content to be treated as being from the same origin"},{value:"allow-scripts",label:"Allows to run scripts"},{value:"allow-top-navigation",label:"Allows the iframe content to navigate its top-level browsing context"},{value:"allow-top-navigation-by-user-activation",label:"Allows the iframe content to navigate its top-level browsing context, but only if initiated by user"}],value:["allow-forms","allow-modals","allow-popups","allow-same-origin","allow-scripts","allow-top-navigation"],dependencies:{sandbox:!0}}],__glob_2_16=Object.freeze(Object.defineProperty({__proto__:null,Settings:Settings$1,default:ConfigFile},Symbol.toStringTag,{value:"Module"}));const ScaleExceptions=["AdapterLogs","iFrame","DisplayImage","MediaControl","JsonTable","HomeKitTile","Chart"],AlignmentExceptions=["AdapterLogs","iFrame","MediaControl","JsonTable","HomeKitTile","Chart"],ModuleList=["AdapterLogs","AdapterStatus","Calendar","Chart","DateTime","DisplayImage","HistoryGraph","HomeKitTile","HtmlTable","iFrame","JsonTable","Map","MediaControl","ScriptStatus","StateHTML","StateList","Weather"];class Modules{static load(){if(Modules._loaded=Modules.Configurations!==void 0,Modules.ModuleList=ModuleList,Modules._loaded)return Promise.resolve();const r={"./AdapterLogs/AdapterLogs.config.js":__glob_2_0,"./AdapterStatus/AdapterStatus.config.js":__glob_2_1,"./Calendar/Calendar.config.js":__glob_2_2,"./Chart/Chart.config.js":__glob_2_3,"./DateTime/DateTime.config.js":__glob_2_4,"./DisplayImage/DisplayImage.config.js":__glob_2_5,"./HistoryGraph/HistoryGraph.config.js":__glob_2_6,"./HomeKitTile/HomeKitTile.config.js":__glob_2_7,"./HtmlTable/HtmlTable.config.js":__glob_2_8,"./JsonTable/JsonTable.config.js":__glob_2_9,"./Map/Map.config.js":__glob_2_10,"./MediaControl/MediaControl.config.js":__glob_2_11,"./ScriptStatus/ScriptStatus.config.js":__glob_2_12,"./StateHTML/StateHTML.config.js":__glob_2_13,"./StateList/StateList.config.js":__glob_2_14,"./Weather/Weather.config.js":__glob_2_15,"./iFrame/iFrame.config.js":__glob_2_16},o=ModuleList.map(async a=>{try{const u="./"+a+"/"+a+".config.js",d=r[u];Modules.Configurations=Modules.Configurations||{},Modules.Configurations[a]=d.default,Modules.Settings=Modules.Settings||{},Modules.Settings[a]=d.Settings||{}}catch(u){console.debug(u)}return!0});return Promise.allSettled(o).then(()=>!0)}static joinConfig(r={},o=[]){const a={};return a._defaults={},o.forEach(u=>{if(a._hash=hash$3(r),a._defaults[u.parameter]=u.value!==void 0?u.value:null,a[u.parameter]=r[u.parameter]!==void 0?r[u.parameter]:a._defaults[u.parameter],a[u.parameter]&&typeof a[u.parameter]=="function"&&(a[u.parameter]=a[u.parameter]()),u.type&&u.type.toLowerCase()==="number"&&(a[u.parameter]=u.max!==void 0?Math.min(u.max,a[u.parameter]):a[u.parameter],a[u.parameter]=u.min!==void 0?Math.max(u.min,a[u.parameter]):a[u.parameter]),u.json===!0&&a[u.parameter]!==void 0&&a[u.parameter]&&typeof a[u.parameter]=="string")try{a[u.parameter]=JSON.parse(a[u.parameter])}catch(d){console.error(d)}}),_default(a)}}var QToolbarTitle=createComponent({name:"QToolbarTitle",props:{shrink:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-toolbar__title ellipsis"+(t.shrink===!0?" col-shrink":""));return()=>h("div",{class:o.value},hSlot(r.default))}}),QToolbar=createComponent({name:"QToolbar",props:{inset:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-toolbar row no-wrap items-center"+(t.inset===!0?" q-toolbar--inset":""));return()=>h("div",{class:o.value,role:"toolbar"},hSlot(r.default))}});const roleAttrExceptions=["ul","ol"];var QList=createComponent({name:"QList",props:{...useDarkProps,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),u=computed(()=>roleAttrExceptions.includes(t.tag)?null:"list"),d=computed(()=>"q-list"+(t.bordered===!0?" q-list--bordered":"")+(t.dense===!0?" q-list--dense":"")+(t.separator===!0?" q-list--separator":"")+(a.value===!0?" q-list--dark":"")+(t.padding===!0?" q-list--padding":""));return()=>h(t.tag,{class:d.value,role:u.value},hSlot(r.default))}}),ConnectionsPage_vue_vue_type_style_index_0_lang="";const _sfc_main$19=defineComponent({name:"ConnectionsPage",props:{error:{type:[String,Object],default:""}},setup(t){var y,A,b,_,w,S;const r=Cache$1.get("recentConnections",[],{ns:""}),o=r[r.length-1]||{};let{params:a}=Cache$1.get("connection",{params:{}});a=Cache$1.get("params",a);const u=reactive({host:a.host||o.socketHost||o.host||window.location.hostname,port:a.port||o.socketPort||o.port||window.location.port||8400,secure:(_=(b=(A=(y=a.secure)!=null?y:a.secure)!=null?A:o.socketSecure)!=null?b:o.secure)!=null?_:window.location.protocol.indexOf("https")!==-1,secureTrustUnsecureCerts:(S=(w=a.secureTrustUnsecureCerts)!=null?w:o.secureTrustUnsecureCerts)!=null?S:!1}),d=ref(Connection._url),g=(C,T)=>{d.value!==C&&(Cache$1.set("connection",{url:C,params:T},{ns:""}),window.location.reload())};return{socket:u,recentConnections:r,connectedUrl:d,onConnect:g,connect:()=>{const C=(u.secure?"https://":"http://")+u.host+":"+u.port;return g(C,toRaw(u))}}}}),_hoisted_1$Y={class:"full-height"},_hoisted_2$M={class:"row no-wrap"},_hoisted_3$C={class:"paper q-py-sm"},_hoisted_4$t={class:"row"},_hoisted_5$p={class:"col-xs-12 col-sm-8"},_hoisted_6$k={class:"col-xs-12 col-sm-4"},_hoisted_7$g={class:"row"},_hoisted_8$f={class:"toggles col-xs-12 col-sm-grow content-center"},_hoisted_9$f={class:"col-xs-12 col-sm-shrink content-center row justify-center"},_hoisted_10$d={class:"row no-wrap"},_hoisted_11$d={class:"row"},_hoisted_12$b={class:"col-12"};function _sfc_render$19(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",_hoisted_1$Y,[createBaseVNode("div",_hoisted_2$M,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Connection Details")),1)]),_:1})]),_:1})]),createBaseVNode("div",_hoisted_3$C,[createBaseVNode("div",_hoisted_4$t,[createBaseVNode("div",_hoisted_5$p,[createVNode$1(QInput,{modelValue:t.socket.host,"onUpdate:modelValue":r[0]||(r[0]=v=>t.socket.host=v),class:"q-ma-sm",standout:"bg-primary text-white",label:t.$t("Host")+" / "+t.$t("IP")},null,8,["modelValue","label"])]),createBaseVNode("div",_hoisted_6$k,[createVNode$1(QInput,{modelValue:t.socket.port,"onUpdate:modelValue":r[1]||(r[1]=v=>t.socket.port=v),class:"q-ma-sm",standout:"bg-primary text-white",label:t.$t("Port"),maxlength:4,hint:t.$t("Please specifify jarvis-socket port (not web port)")},null,8,["modelValue","label","hint"])])]),createBaseVNode("div",_hoisted_7$g,[createBaseVNode("div",_hoisted_8$f,[createVNode$1(QToggle,{modelValue:t.socket.secure,"onUpdate:modelValue":r[2]||(r[2]=v=>t.socket.secure=v),label:t.$t("Secure Connection")+" ("+t.$t("HTTPs")+")"},null,8,["modelValue","label"]),withDirectives(createVNode$1(QToggle,{modelValue:t.socket.secureTrustUnsecureCerts,"onUpdate:modelValue":r[3]||(r[3]=v=>t.socket.secureTrustUnsecureCerts=v),label:t.$t("Trust Unsecure Certs")},null,8,["modelValue","label"]),[[vShow,t.socket.secure]])]),createBaseVNode("div",_hoisted_9$f,[createVNode$1(QBtn,{class:"q-ma-sm",label:t.$t("Connect"),color:"primary",onClick:t.connect},null,8,["label","onClick"])])]),t.error?(openBlock(),createBlock(g,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.error&&t.error.message||t.error||"Verification failed")),1)]),_:1})):createCommentVNode("",!0)]),withDirectives(createBaseVNode("div",_hoisted_10$d,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Recent Connections")),1)]),_:1})]),_:1})],512),[[vShow,t.recentConnections.length!==0]]),withDirectives(createBaseVNode("div",_hoisted_11$d,[createBaseVNode("div",_hoisted_12$b,[createVNode$1(QList,{class:"q-ma-sm rounded-borders paper"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.recentConnections,v=>(openBlock(),createBlock(QItem,{key:v.socketUrl,clickable:"","v-ripple":t.connectedUrl!==v.socketUrl,disable:t.connectedUrl===v.socketUrl},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:t.connectedUrl===v.socketUrl?"positive":"primary",name:t.connectedUrl===v.socketUrl?"mdi-lan-check":"mdi-lan-connect"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,{onClick:y=>t.onConnect(v.socketUrl,v)},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.socketUrl),1)]),_:2},1024)]),_:2},1032,["onClick"])]),_:2},1032,["v-ripple","disable"]))),128))]),_:1})])],512),[[vShow,t.recentConnections.length!==0]])])}var ConnectionsPage=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$19]]),ConnectionsPage$1=Object.freeze(Object.defineProperty({__proto__:null,default:ConnectionsPage},Symbol.toStringTag,{value:"Module"})),App_vue_vue_type_style_index_0_lang="";const _sfc_main$18=defineComponent({name:"App",components:{ConnectionsPage},setup(){const t=useI18n(),r=useJarvis(),o=useIoBroker(),a=useNotifications(),u=useQuasar(),d=useRoute(),g=useRouter(),v="3.2.0-rc.1",y=ref("init"),A=ref(!1),b=ref(!1),_=ref(null),w=ref([]),S=O=>{const D=O.key||O;return w.value.includes(D)===!1&&(w.value.push(D),["modules","functions","layout","widgets","devices","settings","scripts","styles","pro"].some(P=>!w.value.includes(P))||(y.value="loaded")),D};let C=null;const T=()=>{const O=Cache$1.get("settings",{}),D=O&&parseInt(O.pageHomeReturn)||0;y.value==="loaded"&&O&&O.pageHome&&D>0&&(clearTimeout(C),C=setTimeout(()=>{d.name&&d.name.toLowerCase()==="home"&&g.push({name:"Home",params:{...d.params,tabId:O.pageHome}}).catch(()=>{})},D*1e3))},I=()=>{document.onclick=T,document.onkeydown=T};watch(()=>d.params,()=>E());const E=()=>{const O=Cache$1.get("settings",{}),D=Cache$1.get("layout",[]),x=d.params.tabId||O&&O.pageHome||D[0]&&D[0].tabs[0]&&D[0].tabs[0].id;if(window.location.href.indexOf("reload=true")!==-1)console.warn("App","Reload requested!"),window.location.replace(window.location.href.replace(/[&?]reload=true/gi,"")),window.location.reload();else if(A.value===!1&&b.value===!1&&y.value!=="loaded"&&window.location.href.indexOf("restart=true")!==-1)F();else if(window.location.href.indexOf("disconnect=true")!==-1)y.value="error",_.value="Client has been disconnected due to missing authentication!";else if(y.value==="loaded"&&d.path.indexOf("/configuration")===-1&&d.path.indexOf("/account")===-1&&x&&D.length>0){const P=D.find(G=>Array.isArray(G.tabs)&&G.tabs.some(M=>M.id===x));if(P){if(x!==d.params.tabId&&g.replace({name:"Home",params:{tabId:x}}).catch(N=>console.warn("App-22ea9d4fa3",N&&N.message||N)),Connection.getConnection.client){const N=Connection.getConnection;N.setState(config$n.get("ADAPTER_INSTANCE")+"clients."+N.client.ns+".setTabId",x,!0).catch(V=>console.warn("App-5b293cf4",V&&V.message||V))}useJarvis().set({selectedPageId:P.id,selectedTabId:x})}}};watch([()=>r.watch.scripts,()=>r.watch.settings],(O,D)=>{const x=Cache$1.get("settings",{}),P=Cache$1.get("scripts",null);if(x.scriptsEnabled&&P&&O[0]!==D[0]&&O[1]!==D[1])try{useImports("script",P,{tag:"script"}).then(G=>{if(G)try{useCustomTag("script",G,{key:"ts-"+r.watch.scripts,id:"scripts"})}catch(M){console.error(M)}})}catch(G){console.warn("App-B7cq4T4m","Error injecting custom scripts: "+G.message),console.debug("App-B7cq4T4m",P)}else x.scriptsEnabled===!1&&document.getElementById("scripts")&&document.getElementById("scripts").remove()}),onBeforeMount(()=>{window.addEventListener("keydown",x=>{x.keyCode===112?(x.preventDefault(),window.open("https://github.com/Zefau/ioBroker.jarvis/wiki","_blank")):x.keyCode===113?g.push({name:"Configuration"}).catch(()=>{}):x.ctrlKey===!0&&x.keyCode===119?g.push({name:"StylesPage"}).catch(()=>{}):x.ctrlKey===!0&&x.keyCode===120?g.push({name:"SettingsPage"}).catch(()=>{}):x.ctrlKey!==!0&&x.keyCode===119?g.push({name:"DevicesPage"}).catch(()=>{}):x.ctrlKey!==!0&&x.keyCode===120&&g.push({name:"LayoutPage"}).catch(()=>{})});const O=Date.now();console.log("App","Welcome to jarvis v"+v),window.refreshDeviceState=Devices.refreshDeviceState,document.body.style.setProperty("--jarvis-version",'"v'+v+'"');const D=[];u.platform.is.capacitor&&(D.push(StatusBar.setBackgroundColor({color:"#842FA3"})),window.open=x=>(x=typeof x=="string"?{url:x}:x,Browser$2.open(x))),window.electron&&watch(t.locale,x=>{window.electron.i18n(toRaw(t.messages.value[x]||t.messages.value[x.substr(0,2)]))},{immediate:!0}),D.push(g.isReady()),Functions.load().then(()=>S("functions")),Modules.load().then(()=>S("modules")),Promise.allSettled(D).then(()=>(y.value="loading",u.platform.is.capacitor&&SplashScreen.hide(),console.debug("App","Time - Router Ready: "+(Date.now()-O).toFixed(2)+"ms"),F({start:O}))).catch(x=>{console.log("App-380f6fdb74",x&&x.message||x),y.value="error",x.value=x.message})});const F=(O={})=>{O.start=O.start||Date.now(),_.value="",A.value=!0;const{url:D,params:x}=Cache$1.get("connection",{url:null,params:{}});return Connection.connect(D,{...O,...x}).then(P=>{const{socket:G}=P;console.debug("App","Time - Socket connected: "+(Date.now()-O.start).toFixed(2)+"ms"),_.value="",A.value=!1,b.value=!0;let M=Cache$1.get("themeDarkMode","auto");return window.darkMode&&window.darkMode.set(M),M==="auto"&&(M=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"on":"off"),Plugin$3.set(M==="on"),G.authenticate().then(N=>(G.instance=N.instance,r.set("authentication.page",N.authenticationMethod),G)).catch(N=>{throw G.instance=N.instance,r.set("authentication.page",N.authenticationMethod),y.value="login",g.push({name:"Login"}).catch(V=>console.error(V)),N})}).then(P=>(Cache$1.setNamespace("jarvis.#"+hash$3(P.url+"#"+P.instance+"#"+v)+".").set("url",P.url),console.log("App","using instance "+P.instance+' and namespace "'+Cache$1._ns.substr(0,Cache$1._ns.length-1)+'".'),document.body.style.setProperty("--jarvis-instance",'"'+P.instance+'"'),(Cache$1.get("pro")&&Cache$1.get("iobroker.uuid")&&Cache$1.get("iobroker.system")?Pro.validate(Cache$1.get("pro"),Cache$1.get("iobroker.uuid"),Cache$1.get("iobroker.system")):Promise.reject()).then(()=>S("pro")).catch(()=>{}).finally(()=>{console.debug("App","Time - Validated pro: "+(Date.now()-O.start).toFixed(2)+"ms");let M=["settings","layout","devices","widgets"];Pro.isPro()&&(M=M.concat(["styles","scripts"])),M.forEach(N=>{Cache$1.get(N)!==null?(S(N),console.debug(N,"Loaded from cache."),N==="settings"?ioBroker.applySettings(Cache$1.get(N)):N==="layout"&&Cache$1.get("settings")!==null?E():N==="devices"&&Devices.init(Cache$1.get(N)),r.set("watch."+N,Date.now())):console.debug(N,"No cache found!")}),console.debug("App","Time - Cache loaded: "+(Date.now()-O.start).toFixed(2)+"ms")}),P)).then(P=>{const G=[];return G.push(ioBroker.subscribe("settings").then(M=>S(M)).catch(M=>console.error("App-PQfG1vrPb8",M&&M.message||M))),G.push(new Promise(M=>{P.getObject("system.meta.uuid",({err:N,object:V})=>{!N&&V&&V.native&&(o.join("meta",V.native),Cache$1.set("iobroker.uuid",V.native.uuid)),M()})})),G.push(new Promise(M=>{P.send("getSystemInformation",[],N=>{o.join("meta",{system:N}),Cache$1.set("iobroker.system",N),M()})})),Cache$1.get("pro")&&Cache$1.get("iobroker.uuid")&&Cache$1.get("iobroker.system")?Promise.resolve(P):Promise.allSettled(G).then(M=>P.getState(config$n.get("NODE_PRO")).then(N=>N&&N.val?N:P.getState("jarvis.0.info.pro")).then(N=>N&&N.val?(Cache$1.set("pro",N.val),Pro.validate(N.val,o.meta.uuid,o.meta.system)):!0).then(()=>(S("pro"),P)).catch(N=>{console.error("App-lUZ53KTivl",N&&N.message||N)}))}).then(P=>{console.debug("App","Time - Processed Users and Groups: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return G.push(ioBroker.subscribe("devices").then(M=>S(M)).catch(M=>console.error("App-PQfG1vrOa7",M&&M.message||M))),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Devices: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return G.push(ioBroker.subscribe("widgets").then(M=>S(M)).catch(M=>console.error("App-GAcA7qDpf5",M&&M.message||M))),G.push(ioBroker.subscribe("layout").then(M=>{const N=S(M);return E(),T(),I(),N}).catch(M=>console.error("App-Ro6cAsoL86",M&&M.message||M))),G.push(ioBroker.subscribe("styles").then(M=>S(M)).catch(M=>console.error("App-McGn2K9ZAg",M&&M.message||M))),G.push(ioBroker.subscribe("scripts").then(M=>S(M)).catch(M=>console.error("App-cXn2MZAgK7",M&&M.message||M))),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Widgets, Layout, Styles and Scripts: "+(Date.now()-O.start).toFixed(2)+"ms");const G=[];return P.on("#setTabId",M=>{y.value==="loaded"&&M&&r.selectedTabId!==M&&g.push({params:{...d.params,tabId:M}}).catch(()=>{})}),G.push(new Promise(M=>{P.getObject("system.config",({err:N,object:V})=>{!N&&V&&V.common&&o.join("meta",{...V.common,...V.native}),M()})})),G.push(P.getRooms().then(M=>(o.join("rooms",M),!0))),G.push(a.subscribe().catch(M=>console.warn("Notifications",M&&M.message||M))),ioBroker.subscribeAdapterInstances(),G.push(new Promise(M=>{P.send("getConfig","",({config:N})=>{Cache$1.set("adapterConfig",N),M()})})),Promise.allSettled(G).then(()=>P)}).then(P=>{console.debug("App","Time - Processed Config and Adapter-Instances: "+(Date.now()-O.start).toFixed(2)+"ms");const G=Cache$1.get("verification"),M=config$n.get("IS_DEV");console.debug("App","Last Verification: ",G),console.debug("App","Development Mode: ",M);const N=window.location.href.indexOf("/jarvis/"),V=M?"https://192.168.2.11:8400/jarvis":N!==-1?window.location.href.substr(0,N+7):window.location.href.substr(0,window.location.href.indexOf("/",window.location.href.lastIndexOf(":")));return!u.platform.is.cordova&&!u.platform.is.capacitor&&!M&&(!G||G!H||H.status!==200||!H.data||typeof H.data!="object"?axios$1.get("https://raw.githubusercontent.com/Zefau/ioBroker.jarvis/v"+v+"/www/jarvis/js/app.hash.json"):H).then(H=>{if(!H||H.status!==200||!H.data||typeof H.data!="object")throw new Error("Invalid response received when requesting hashes");const{["app.hash.json"]:B,...z}=H.data;if(!B||!z)throw new Error("Invalid or corrupt hash file");const U=btoa(encodeURIComponent(JSON.stringify(z))).substr(0,1e5);return Encryption.verify(U,B,config$n.get("PUBLIC_KEY")).then(Q=>{if(!Q)throw new Error("Corrupt hash file");return z})}).then(H=>{const B=[Encryption.verify("invalid","invalid",config$n.get("PUBLIC_KEY"))];for(const z in H){const U=H[z];B.push(new Promise((Q,X)=>{z.indexOf("/")===-1?(u.platform.is.electron&&window.electron?window.electron.readFile(z):axios$1.get(V+"/js/"+z)).then(ne=>{if(!ne||ne.status!==200||!ne.data)throw new Error("Invalid response received when requesting hashes");const te=ne.data,ce=btoa(encodeURIComponent((z.endsWith(".json")?JSON.stringify(JSON.parse(te)):te).trim())).substr(0,1e5);return Encryption.verify(ce,U,config$n.get("PUBLIC_KEY"))}).then(ne=>{Q({file:z,verified:ne})}).catch(ne=>{if(ne&&ne.response)return console.warn("App","Verification",ne.response.statusText),X({file:z,name:ne.response.statusText,message:ne.response.data});console.warn("App","Verification: Unknown error retrieving URL "+z,ne),X({file:z,message:"Unknown error",res:ne})}):P.readFile("{dirname}/"+z.substr(z.indexOf("/")+1)).then(J=>{const ne=btoa(encodeURIComponent((z.endsWith(".json")?JSON.stringify(JSON.parse(J)):J).trim())).substr(0,1e5);return Encryption.verify(ne,U,config$n.get("PUBLIC_KEY"))}).then(J=>{Q({file:z,verified:J})}).catch(J=>{console.warn("App","Verification: Unknown error reading file "+z,J&&J.message||J),X({file:z,...J})})}))}return Promise.allSettled(B).then(z=>{const U=z.shift(),Q=z.some(X=>X.status==="rejected"||!X.value||X.value.verified!==!0);if(U.status==="fulfilled"&&U.value===!1&&!Q)Cache$1.set("verification",Date.now());else{if(Cache$1.get("inconsistent",null)===null){const X=Cache$1.get("connection",{},{ns:""});Cache$1.clear(),Cache$1.set("inconsistent",!0),Cache$1.set("connection",X,{ns:""}),window.location.reload()}throw r.set({pro:!1}),new Error("Installation inconsistent")}})}).catch(H=>{console.error("App-9e37f7a363",H&&H.message||H),_.value="Verify Installation: "+H.message,y.value="error"}),Pro.isPro()?axios$1.get("https://raw.githubusercontent.com/Zefau/ioBroker.jarvis/master/www/jarvis/js/app.licences.json").catch(()=>axios$1.get(V+"/js/app.licences.json")).catch(()=>axios$1.get("./app.licences.json")).then(Z=>{const H=Z.data.signature,B=Z.data.licences,z=Pro.getLicence();if(!z)throw console.debug(Z,Z.data),new Error("Verification of Licence failed (no licence found)");if(B){if(B[z.invoiceId]&&B[z.invoiceId].licence===z.signature)throw new Error("Verification of Licence failed (Licence blocked)")}else throw console.debug(Z,Z.data),new Error("Verification of Licence failed (no licences loaded)");const U=btoa(typeof B=="string"?B:JSON.stringify(B));return Encryption.verify(U,H,config$n.get("PUBLIC_KEY"))}).then(Z=>{if(!Z)throw new Error("Verification of Licence failed (Licence blocked)")}).catch(Z=>{console.error("App-088dd73e5c",Z&&Z.message||Z),_.value="Verify Licences: "+Z.message,y.value="error",r.set({pro:!1})}):!Pro.isPro()&&(u.platform.is.capacitor||u.platform.is.cordova||u.platform.is.electron)&&setTimeout(()=>{throw new Error("Please get a Pro-Account to permanently use the Mobile-/Windows-Apps")},3*60*60*1e3),!0}).then(()=>{console.debug("App","Time - Verified installation: "+(Date.now()-O.start).toFixed(2)+"ms"),axios$1.get("https://raw.githubusercontent.com/Templarian/MaterialDesign/master/meta.json").then(P=>{if(Cache$1.set("icons.mdi",[]),Cache$1.set("icons.mdi.alias",{}),P&&P.data){const G=[],M={};P.data.forEach(N=>{G.push(N.name),M[N.name]=N.name,N.aliases.forEach(V=>{M[V]=N.name})}),Cache$1.set("icons.mdi",G.sort()),Cache$1.set("icons.mdi.alias",sortObjectByKey(M))}console.debug("App","Time - Processed Icons: "+(Date.now()-O.start).toFixed(2)+"ms")}).catch(P=>{console.log("App-b9518e0326",P&&P.message||P)})}).catch(P=>{console.warn("App-hGejAmgnwn",P.message),_.value=P.message,y.value=y.value==="login"?y:"error",A.value=!1,b.value=!1}).finally(()=>{window.dispatchEvent(new Event("load")),document.dispatchEvent(new Event("DOMContentLoaded"))})};return{i18n:t,drawerMiniMode:computed(()=>r.drawerMiniMode),state:y,error:_}}}),_hoisted_1$X={style:{"min-height":"100%"},class:"loading"},_hoisted_2$L={key:0},_hoisted_3$B={class:"full-height"},_hoisted_4$s={key:1},_hoisted_5$o={key:0,class:"q-pa-xs items-center"};function _sfc_render$18(t,r,o,a,u,d){const g=resolveComponent("ConnectionsPage"),v=resolveComponent("router-view");return openBlock(),createElementBlock("div",_hoisted_1$X,[t.state!=="loaded"&&t.state!=="error"?(openBlock(),createElementBlock("div",_hoisted_2$L,[createBaseVNode("div",_hoisted_3$B,[r[0]||(r[0]=createBaseVNode("img",{src:"icon-192.png",class:"hvCentered",style:{"padding-top":"28px"}},null,-1)),createVNode$1(QInnerLoading,{showing:!0,style:{background:"transparent","padding-top":"28px"}},{default:withCtx(()=>[createVNode$1(QSpinner,{size:"xl",color:"purple"})]),_:1})])])):(openBlock(),createElementBlock("div",_hoisted_4$s,[t.state==="error"?(openBlock(),createElementBlock("div",_hoisted_5$o,[createVNode$1(g,{error:t.error},null,8,["error"])])):(openBlock(),createBlock(QLayout,{key:1,class:"jarvis-page-container",view:t.drawerMiniMode===!0?"lHh lpR lFf":"hHh lpR fFf"},{default:withCtx(()=>[t.state!=="login"?(openBlock(),createBlock(v,{key:0,name:"sidebar"})):createCommentVNode("",!0),t.state!=="login"?(openBlock(),createBlock(v,{key:1,name:"notifications"})):createCommentVNode("",!0),t.state!=="login"?(openBlock(),createBlock(v,{key:2})):(openBlock(),createBlock(v,{key:3,name:"login"}))]),_:1},8,["view"])),r[1]||(r[1]=createBaseVNode("div",{id:"iframes"},null,-1))]))])}var RootComponent=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$18]]),createStore=()=>createPinia();async function createQuasarApp(t,r){const o=t(RootComponent);o.use(Quasar,r);const a=typeof createStore=="function"?await createStore({}):createStore;o.use(a);const u=markRaw(typeof createRouter=="function"?await createRouter({store:a}):createRouter);return a.use(({store:d})=>{d.router=u}),{app:o,store:a,router:u}}const mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",mdiAlertCircle="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiArrowDown="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z",mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",mdiArrowRight="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",mdiArrowUp="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",mdiCalendarToday="M7,10H12V15H7M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiCheck="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",mdiCheckAll="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z",mdiCheckCircle="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",mdiChevronDoubleLeft="M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z",mdiChevronDoubleRight="M5.59,7.41L7,6L13,12L7,18L5.59,16.59L10.17,12L5.59,7.41M11.59,7.41L13,6L19,12L13,18L11.59,16.59L16.17,12L11.59,7.41Z",mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",mdiChevronLeft="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",mdiChevronUp="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",mdiCircle="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiClockOutline="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z",mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",mdiCloseCircle="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",mdiCloudUpload="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",mdiCodeTags="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z",mdiExclamation="M 11,4L 13,4L 13,15L 11,15L 11,4 Z M 13,18L 13,20L 11,20L 11,18L 13,18 Z",mdiFormatAlignCenter="M3,3H21V5H3V3M7,7H17V9H7V7M3,11H21V13H3V11M7,15H17V17H7V15M3,19H21V21H3V19Z",mdiFormatAlignJustify="M3,3H21V5H3V3M3,7H21V9H3V7M3,11H21V13H3V11M3,15H21V17H3V15M3,19H21V21H3V19Z",mdiFormatAlignLeft="M3,3H21V5H3V3M3,7H15V9H3V7M3,11H21V13H3V11M3,15H15V17H3V15M3,19H21V21H3V19Z",mdiFormatAlignRight="M3,3H21V5H3V3M9,7H21V9H9V7M3,11H21V13H3V11M9,15H21V17H9V15M3,19H21V21H3V19Z",mdiFormatBold="M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z",mdiFormatClear="M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z",mdiFormatColorText="M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z",mdiFormatFont="M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z",mdiFormatHeader1="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M14,18V16H16V6.31L13.5,7.75V5.44L16,4H18V16H20V18H14Z",mdiFormatHeader2="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M21,18H15A2,2 0 0,1 13,16C13,15.47 13.2,15 13.54,14.64L18.41,9.41C18.78,9.05 19,8.55 19,8A2,2 0 0,0 17,6A2,2 0 0,0 15,8H13A4,4 0 0,1 17,4A4,4 0 0,1 21,8C21,9.1 20.55,10.1 19.83,10.83L15,16H21V18Z",mdiFormatHeader3="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V15H15V16H19V12H15V10H19V6H15V7H13V6A2,2 0 0,1 15,4Z",mdiFormatHeader4="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M18,18V13H13V11L18,4H20V11H21V13H20V18H18M18,11V7.42L15.45,11H18Z",mdiFormatHeader5="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H20V6H15V10H17A4,4 0 0,1 21,14A4,4 0 0,1 17,18H15A2,2 0 0,1 13,16V15H15V16H17A2,2 0 0,0 19,14A2,2 0 0,0 17,12H15A2,2 0 0,1 13,10V6A2,2 0 0,1 15,4Z",mdiFormatHeader6="M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V7H19V6H15V10H19A2,2 0 0,1 21,12V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V6A2,2 0 0,1 15,4M15,12V16H19V12H15Z",mdiFormatIndentDecrease="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M3,21H21V19H3M3,12L7,16V8M11,17H21V15H11V17Z",mdiFormatIndentIncrease="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M11,17H21V15H11M3,8V16L7,12M3,21H21V19H3V21Z",mdiFormatItalic="M10,4V7H12.21L8.79,15H6V18H14V15H11.79L15.21,7H18V4H10Z",mdiFormatListBulleted="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z",mdiFormatListNumbered="M7,13V11H21V13H7M7,19V17H21V19H7M7,7V5H21V7H7M3,8V5H2V4H4V8H3M2,17V16H5V20H2V19H4V18.5H3V17.5H4V17H2M4.25,10A0.75,0.75 0 0,1 5,10.75C5,10.95 4.92,11.14 4.79,11.27L3.12,13H5V14H2V13.08L4,11H2V10H4.25Z",mdiFormatQuoteClose="M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z",mdiFormatSize="M2 4V7H7V19H10V7H15V4H2M21 9H12V12H15V19H18V12H21V9Z",mdiFormatStrikethroughVariant="M7.2 9.8C6 7.5 7.7 4.8 10.1 4.3C13.2 3.3 17.7 4.7 17.6 8.5H14.6C14.6 8.2 14.5 7.9 14.5 7.7C14.3 7.1 13.9 6.8 13.3 6.6C12.5 6.3 11.2 6.4 10.5 6.9C9 8.2 10.4 9.5 12 10H7.4C7.3 9.9 7.3 9.8 7.2 9.8M21 13V11H3V13H12.6C12.8 13.1 13 13.1 13.2 13.2C13.8 13.5 14.3 13.7 14.5 14.3C14.6 14.7 14.7 15.2 14.5 15.6C14.3 16.1 13.9 16.3 13.4 16.5C11.6 17 9.4 16.3 9.5 14.1H6.5C6.4 16.7 8.6 18.5 11 18.8C14.8 19.6 19.3 17.2 17.3 12.9L21 13Z",mdiFormatSubscript="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,21.03H16.97V20.03L17.86,19.23C18.62,18.58 19.18,18.04 19.56,17.6C19.93,17.16 20.12,16.75 20.13,16.36C20.14,16.08 20.05,15.85 19.86,15.66C19.68,15.5 19.39,15.38 19,15.38C18.69,15.38 18.42,15.44 18.16,15.56L17.5,15.94L17.05,14.77C17.32,14.56 17.64,14.38 18.03,14.24C18.42,14.1 18.85,14 19.32,14C20.1,14.04 20.7,14.25 21.1,14.66C21.5,15.07 21.72,15.59 21.72,16.23C21.71,16.79 21.53,17.31 21.18,17.78C20.84,18.25 20.42,18.7 19.91,19.14L19.27,19.66V19.68H21.85V21.03Z",mdiFormatSuperscript="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,9H16.97V8L17.86,7.18C18.62,6.54 19.18,6 19.56,5.55C19.93,5.11 20.12,4.7 20.13,4.32C20.14,4.04 20.05,3.8 19.86,3.62C19.68,3.43 19.39,3.34 19,3.33C18.69,3.34 18.42,3.4 18.16,3.5L17.5,3.89L17.05,2.72C17.32,2.5 17.64,2.33 18.03,2.19C18.42,2.05 18.85,2 19.32,2C20.1,2 20.7,2.2 21.1,2.61C21.5,3 21.72,3.54 21.72,4.18C21.71,4.74 21.53,5.26 21.18,5.73C20.84,6.21 20.42,6.66 19.91,7.09L19.27,7.61V7.63H21.85V9Z",mdiFormatUnderline="M5,21H19V19H5V21M12,17A6,6 0 0,0 18,11V3H15.5V11A3.5,3.5 0 0,1 12,14.5A3.5,3.5 0 0,1 8.5,11V3H6V11A6,6 0 0,0 12,17Z",mdiFullscreen="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",mdiGradientVertical="M11,9H13V11H11V9M9,11H11V13H9V11M13,11H15V13H13V11M15,9H17V11H15V9M7,9H9V11H7V9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M9,18H7V16H9V18M13,18H11V16H13V18M17,18H15V16H17V18M19,11H17V13H19V15H17V13H15V15H13V13H11V15H9V13H7V15H5V13H7V11H5V5H19V11Z",mdiInformation="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z",mdiMenuDown="M7,10L12,15L17,10H7Z",mdiMinus="M19,13H5V11H19V13Z",mdiNotificationClearAll="M5,13H19V11H5M3,17H17V15H3M7,7V9H21V7",mdiNumeric1Box="M14,17H12V9H10V7H14M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric2Box="M15,11C15,12.11 14.1,13 13,13H11V15H15V17H9V13C9,11.89 9.9,11 11,11H13V9H9V7H13A2,2 0 0,1 15,9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric3Box="M15,10.5A1.5,1.5 0 0,1 13.5,12C14.34,12 15,12.67 15,13.5V15C15,16.11 14.11,17 13,17H9V15H13V13H11V11H13V9H9V7H13C14.11,7 15,7.89 15,9M19,3H5C3.91,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19C20.11,21 21,20.1 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric4Box="M15,17H13V13H9V7H11V11H13V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric5Box="M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H9V15H13V13H9V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z",mdiNumeric6Box="M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H11A2,2 0 0,1 9,15V9C9,7.89 9.9,7 11,7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M11,15H13V13H11V15Z",mdiNumeric7Box="M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,17L15,9V7H9V9H13L9,17H11Z",mdiPaletteSwatch="M2.53,19.65L3.87,20.21V11.18L1.44,17.04C1.03,18.06 1.5,19.23 2.53,19.65M22.03,15.95L17.07,4C16.76,3.23 16.03,2.77 15.26,2.75C15,2.75 14.73,2.79 14.47,2.9L7.1,5.95C6.35,6.26 5.89,7 5.87,7.75C5.86,8 5.91,8.29 6,8.55L11,20.5C11.29,21.28 12.03,21.74 12.81,21.75C13.07,21.75 13.33,21.7 13.58,21.6L20.94,18.55C21.96,18.13 22.45,16.96 22.03,15.95M7.88,8.75A1,1 0 0,1 6.88,7.75A1,1 0 0,1 7.88,6.75C8.43,6.75 8.88,7.2 8.88,7.75C8.88,8.3 8.43,8.75 7.88,8.75M5.88,19.75A2,2 0 0,0 7.88,21.75H9.33L5.88,13.41V19.75Z",mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z",mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",mdiPlusBox="M17,13H13V17H11V13H7V11H11V7H13V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",mdiPrinter="M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z",mdiRedo="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",mdiStar="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",mdiTune="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",mdiUndo="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";var iconSet={name:"svg-mdi-v7",type:{positive:mdiCheckCircle,negative:mdiAlert,info:mdiInformation,warning:mdiExclamation},arrow:{up:mdiArrowUp,right:mdiArrowRight,down:mdiArrowDown,left:mdiArrowLeft,dropdown:mdiMenuDown},chevron:{left:mdiChevronLeft,right:mdiChevronRight},colorPicker:{spectrum:mdiGradientVertical,tune:mdiTune,palette:mdiPaletteSwatch},pullToRefresh:{icon:mdiRefresh},carousel:{left:mdiChevronLeft,right:mdiChevronRight,up:mdiChevronUp,down:mdiChevronDown,navigationIcon:mdiCircle},chip:{remove:mdiCloseCircle,selected:mdiCheck},datetime:{arrowLeft:mdiChevronLeft,arrowRight:mdiChevronRight,now:mdiClockOutline,today:mdiCalendarToday},editor:{bold:mdiFormatBold,italic:mdiFormatItalic,strikethrough:mdiFormatStrikethroughVariant,underline:mdiFormatUnderline,unorderedList:mdiFormatListBulleted,orderedList:mdiFormatListNumbered,subscript:mdiFormatSubscript,superscript:mdiFormatSuperscript,hyperlink:mdiLink,toggleFullscreen:mdiFullscreen,quote:mdiFormatQuoteClose,left:mdiFormatAlignLeft,center:mdiFormatAlignCenter,right:mdiFormatAlignRight,justify:mdiFormatAlignJustify,print:mdiPrinter,outdent:mdiFormatIndentDecrease,indent:mdiFormatIndentIncrease,removeFormat:mdiFormatClear,formatting:mdiFormatColorText,fontSize:mdiFormatSize,align:mdiFormatAlignLeft,hr:mdiMinus,undo:mdiUndo,redo:mdiRedo,heading:mdiFormatSize,heading1:mdiFormatHeader1,heading2:mdiFormatHeader2,heading3:mdiFormatHeader3,heading4:mdiFormatHeader4,heading5:mdiFormatHeader5,heading6:mdiFormatHeader6,code:mdiCodeTags,size:mdiFormatSize,size1:mdiNumeric1Box,size2:mdiNumeric2Box,size3:mdiNumeric3Box,size4:mdiNumeric4Box,size5:mdiNumeric5Box,size6:mdiNumeric6Box,size7:mdiNumeric7Box,font:mdiFormatFont,viewSource:mdiCodeTags},expansionItem:{icon:mdiChevronDown,denseIcon:mdiMenuDown},fab:{icon:mdiPlus,activeIcon:mdiClose},field:{clear:mdiCloseCircle,error:mdiAlertCircle},pagination:{first:mdiChevronDoubleLeft,prev:mdiChevronLeft,next:mdiChevronRight,last:mdiChevronDoubleRight},rating:{icon:mdiStar},stepper:{done:mdiCheck,active:mdiPencil,error:mdiAlert},tabs:{left:mdiChevronLeft,right:mdiChevronRight,up:mdiChevronUp,down:mdiChevronDown},table:{arrowUp:mdiArrowUp,warning:mdiAlert,firstPage:mdiChevronDoubleLeft,prevPage:mdiChevronLeft,nextPage:mdiChevronRight,lastPage:mdiChevronDoubleRight},tree:{icon:mdiPlay},uploader:{done:mdiCheck,clear:mdiClose,add:mdiPlusBox,upload:mdiCloudUpload,removeQueue:mdiNotificationClearAll,removeUploaded:mdiCheckAll}};const prefixes={};function assignFn(t){Object.assign(Plugin,{request:t,exit:t,toggle:t})}function getFullscreenElement(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function updateEl(){const t=Plugin.activeEl=Plugin.isActive===!1?null:getFullscreenElement();changeGlobalNodesTarget(t===null||t===document.documentElement?document.body:t)}function togglePluginState(){Plugin.isActive=Plugin.isActive===!1,updateEl()}function promisify(t,r){try{const o=t[r]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}const Plugin=createReactivePlugin({isActive:!1,activeEl:null},{isCapable:!1,install({$q:t}){t.fullscreen=this}});prefixes.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(t=>document.documentElement[t]!==void 0),Plugin.isCapable=prefixes.request!==void 0,Plugin.isCapable===!1?assignFn(()=>Promise.reject("Not capable")):(Object.assign(Plugin,{request(t){const r=t||document.documentElement,{activeEl:o}=Plugin;return r===o?Promise.resolve():(o!==null&&r.contains(o)===!0?Plugin.exit():Promise.resolve()).finally(()=>promisify(r,prefixes.request))},exit(){return Plugin.isActive===!0?promisify(document,prefixes.exit):Promise.resolve()},toggle(t){return Plugin.isActive===!0?Plugin.exit():Plugin.request(t)}}),prefixes.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(t=>document[t]),Plugin.isActive=Boolean(getFullscreenElement()),Plugin.isActive===!0&&updateEl(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(t=>{document[t]=togglePluginState}));var QCard=createComponent({name:"QCard",props:{...useDarkProps,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=useDark(t,o),u=computed(()=>"q-card"+(a.value===!0?" q-card--dark q-dark":"")+(t.bordered===!0?" q-card--bordered":"")+(t.square===!0?" q-card--square no-border-radius":"")+(t.flat===!0?" q-card--flat no-shadow":""));return()=>h(t.tag,{class:u.value},hSlot(r.default))}}),QCardSection=createComponent({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(t,{slots:r}){const o=computed(()=>`q-card__section q-card__section--${t.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>h(t.tag,{class:o.value},hSlot(r.default))}}),QCardActions=createComponent({name:"QCardActions",props:{...useAlignProps,vertical:Boolean},setup(t,{slots:r}){const o=useAlign(t),a=computed(()=>`q-card__actions ${o.value} q-card__actions--${t.vertical===!0?"vert column":"horiz row"}`);return()=>h("div",{class:a.value},hSlot(r.default))}});const createSvg=()=>h("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[h("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),h("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]);var QRadio=createComponent({name:"QRadio",props:{...useDarkProps,...useSizeProps,...useFormProps,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),u=useDark(t,a.$q),d=useSize(t,optionSizes),g=ref(null),{refocusTargetEl:v,refocusTarget:y}=useRefocusTarget(t,g),A=computed(()=>toRaw(t.modelValue)===toRaw(t.val)),b=computed(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(t.disable===!0?" disabled":"")+(u.value===!0?" q-radio--dark":"")+(t.dense===!0?" q-radio--dense":"")+(t.leftLabel===!0?" reverse":"")),_=computed(()=>{const D=t.color!==void 0&&(t.keepColor===!0||A.value===!0)?` text-${t.color}`:"";return`q-radio__inner relative-position q-radio__inner--${A.value===!0?"truthy":"falsy"}${D}`}),w=computed(()=>(A.value===!0?t.checkedIcon:t.uncheckedIcon)||null),S=computed(()=>t.disable===!0?-1:t.tabindex||0),C=computed(()=>{const D={type:"radio"};return t.name!==void 0&&Object.assign(D,{".checked":A.value===!0,"^checked":A.value===!0?"checked":void 0,name:t.name,value:t.val}),D}),T=useFormInject(C);function I(D){D!==void 0&&(stopAndPrevent$1(D),y(D)),t.disable!==!0&&A.value!==!0&&o("update:modelValue",t.val,D)}function E(D){(D.keyCode===13||D.keyCode===32)&&stopAndPrevent$1(D)}function F(D){(D.keyCode===13||D.keyCode===32)&&I(D)}Object.assign(a,{set:I});const O=createSvg();return()=>{const D=w.value!==null?[h("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[h(QIcon,{class:"q-radio__icon",name:w.value})])]:[O];t.disable!==!0&&T(D,"unshift"," q-radio__native q-ma-none q-pa-none");const x=[h("div",{class:_.value,style:d.value,"aria-hidden":"true"},D)];v.value!==null&&x.push(v.value);const P=t.label!==void 0?hMergeSlot(r.default,[t.label]):hSlot(r.default);return P!==void 0&&x.push(h("div",{class:"q-radio__label q-anchor--skip"},P)),h("div",{ref:g,class:b.value,tabindex:S.value,role:"radio","aria-label":t.label,"aria-checked":A.value===!0?"true":"false","aria-disabled":t.disable===!0?"true":void 0,onClick:I,onKeydown:E,onKeyup:F},x)}}});const components$3={radio:QRadio,checkbox:QCheckbox,toggle:QToggle},typeValues=Object.keys(components$3);var QOptionGroup=createComponent({name:"QOptionGroup",props:{...useDarkProps,modelValue:{required:!0},options:{type:Array,validator:t=>t.every(r=>"value"in r&&"label"in r)},name:String,type:{type:String,default:"radio",validator:t=>typeValues.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(t,{emit:r,slots:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=Array.isArray(t.modelValue);t.type==="radio"?u===!0&&console.error("q-option-group: model should not be array"):u===!1&&console.error("q-option-group: model should be array in your case");const d=useDark(t,a),g=computed(()=>components$3[t.type]),v=computed(()=>"q-option-group q-gutter-x-sm"+(t.inline===!0?" q-option-group--inline":"")),y=computed(()=>{const b={role:"group"};return t.type==="radio"&&(b.role="radiogroup",t.disable===!0&&(b["aria-disabled"]="true")),b});function A(b){r("update:modelValue",b)}return()=>h("div",{class:v.value,...y.value},t.options.map((b,_)=>{const w=o["label-"+_]!==void 0?()=>o["label-"+_](b):o.label!==void 0?()=>o.label(b):void 0;return h("div",[h(g.value,{modelValue:t.modelValue,val:b.value,name:b.name===void 0?t.name:b.name,disable:t.disable||b.disable,label:w===void 0?b.label:null,leftLabel:b.leftLabel===void 0?t.leftLabel:b.leftLabel,color:b.color===void 0?t.color:b.color,checkedIcon:b.checkedIcon,uncheckedIcon:b.uncheckedIcon,dark:b.dark||d.value,size:b.size===void 0?t.size:b.size,dense:t.dense,keepColor:b.keepColor===void 0?t.keepColor:b.keepColor,"onUpdate:modelValue":A},w)])}))}}),DialogPlugin=createComponent({name:"DialogPluginComponent",props:{...useDarkProps,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),{$q:a}=o,u=useDark(t,a),d=ref(null),g=ref(t.prompt!==void 0?t.prompt.model:t.options!==void 0?t.options.model:void 0),v=computed(()=>"q-dialog-plugin"+(u.value===!0?" q-dialog-plugin--dark q-dark":"")+(t.progress!==!1?" q-dialog-plugin--progress":"")),y=computed(()=>t.color||(u.value===!0?"amber":"primary")),A=computed(()=>t.progress===!1?null:isObject$o(t.progress)===!0?{component:t.progress.spinner||QSpinner,props:{color:t.progress.color||y.value}}:{component:QSpinner,props:{color:y.value}}),b=computed(()=>t.prompt!==void 0||t.options!==void 0),_=computed(()=>{if(b.value!==!0)return{};const{model:z,isValid:U,items:Q,...X}=t.prompt!==void 0?t.prompt:t.options;return X}),w=computed(()=>isObject$o(t.ok)===!0||t.ok===!0?a.lang.label.ok:t.ok),S=computed(()=>isObject$o(t.cancel)===!0||t.cancel===!0?a.lang.label.cancel:t.cancel),C=computed(()=>t.prompt!==void 0?t.prompt.isValid!==void 0&&t.prompt.isValid(g.value)!==!0:t.options!==void 0?t.options.isValid!==void 0&&t.options.isValid(g.value)!==!0:!1),T=computed(()=>({color:y.value,label:w.value,ripple:!1,disable:C.value,...isObject$o(t.ok)===!0?t.ok:{flat:!0},"data-autofocus":t.focus==="ok"&&b.value!==!0||void 0,onClick:O})),I=computed(()=>({color:y.value,label:S.value,ripple:!1,...isObject$o(t.cancel)===!0?t.cancel:{flat:!0},"data-autofocus":t.focus==="cancel"&&b.value!==!0||void 0,onClick:D}));watch(()=>t.prompt&&t.prompt.model,P),watch(()=>t.options&&t.options.model,P);function E(){d.value.show()}function F(){d.value.hide()}function O(){r("ok",toRaw(g.value)),F()}function D(){F()}function x(){r("hide")}function P(z){g.value=z}function G(z){C.value!==!0&&t.prompt.type!=="textarea"&&isKeyCode(z,13)===!0&&O()}function M(z,U){return t.html===!0?h(QCardSection,{class:z,innerHTML:U}):h(QCardSection,{class:z},()=>U)}function N(){return[h(QInput,{color:y.value,dense:!0,autofocus:!0,dark:u.value,..._.value,modelValue:g.value,"onUpdate:modelValue":P,onKeyup:G})]}function V(){return[h(QOptionGroup,{color:y.value,options:t.options.items,dark:u.value,..._.value,modelValue:g.value,"onUpdate:modelValue":P})]}function Z(){const z=[];return t.cancel&&z.push(h(QBtn,I.value)),t.ok&&z.push(h(QBtn,T.value)),h(QCardActions,{class:t.stackButtons===!0?"items-end":"",vertical:t.stackButtons,align:"right"},()=>z)}function H(){const z=[];return t.title&&z.push(M("q-dialog__title",t.title)),t.progress!==!1&&z.push(h(QCardSection,{class:"q-dialog__progress"},()=>h(A.value.component,A.value.props))),t.message&&z.push(M("q-dialog__message",t.message)),t.prompt!==void 0?z.push(h(QCardSection,{class:"scroll q-dialog-plugin__form"},N)):t.options!==void 0&&z.push(h(QSeparator,{dark:u.value}),h(QCardSection,{class:"scroll q-dialog-plugin__form"},V),h(QSeparator,{dark:u.value})),(t.ok||t.cancel)&&z.push(Z()),z}function B(){return[h(QCard,{class:[v.value,t.cardClass],style:t.cardStyle,dark:u.value},H)]}return Object.assign(o,{show:E,hide:F}),()=>h(QDialog,{ref:d,onHide:x},B)}});function merge$1(t,r){for(const o in r)o!=="spinner"&&Object(r[o])===r[o]?(t[o]=Object(t[o])!==t[o]?{}:{...t[o]},merge$1(t[o],r[o])):t[o]=r[o]}function globalDialog(t,r,o){return a=>{let u,d;const g=r===!0&&a.component!==void 0;if(g===!0){const{component:F,componentProps:O}=a;u=typeof F=="string"?o.component(F):F,d=O||{}}else{const{class:F,style:O,...D}=a;u=t,d=D,F!==void 0&&(D.cardClass=F),O!==void 0&&(D.cardStyle=O)}let v,y=!1;const A=ref(null),b=createGlobalNode(!1,"dialog"),_=F=>{if(A.value!==null&&A.value[F]!==void 0){A.value[F]();return}const O=v.$.subTree;if(O&&O.component){if(O.component.proxy&&O.component.proxy[F]){O.component.proxy[F]();return}if(O.component.subTree&&O.component.subTree.component&&O.component.subTree.component.proxy&&O.component.subTree.component.proxy[F]){O.component.subTree.component.proxy[F]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},w=[],S=[],C={onOk(F){return w.push(F),C},onCancel(F){return S.push(F),C},onDismiss(F){return w.push(F),S.push(F),C},hide(){return _("hide"),C},update(F){if(v!==null){if(g===!0)Object.assign(d,F);else{const{class:O,style:D,...x}=F;O!==void 0&&(x.cardClass=O),D!==void 0&&(x.cardStyle=D),merge$1(d,x)}v.$forceUpdate()}return C}},T=F=>{y=!0,w.forEach(O=>{O(F)})},I=()=>{E.unmount(b),removeGlobalNode(b),E=null,v=null,y!==!0&&S.forEach(F=>{F()})};let E=createChildApp({name:"QGlobalDialog",setup:()=>()=>h(u,{...d,ref:A,onOk:T,onHide:I,onVnodeMounted(...F){typeof d.onVnodeMounted=="function"&&d.onVnodeMounted(...F),nextTick(()=>_("show"))}})},o);return v=E.mount(b),C}}var Dialog={install({$q:t,parentApp:r}){t.dialog=this.create=globalDialog(DialogPlugin,!0,r)}},Meta={install(t){this.__installed!==!0&&isRuntimeSsrPreHydration.value===!0&&document.getElementById("qmeta-init").remove()}},BottomSheet$1=createComponent({name:"BottomSheetComponent",props:{...useDarkProps,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:r}){const{proxy:o}=getCurrentInstance(),a=useDark(t,o.$q),u=ref(null);function d(){u.value.show()}function g(){u.value.hide()}function v(S){r("ok",S),g()}function y(){r("hide")}function A(){return t.actions.map(S=>{const C=S.avatar||S.img;return S.label===void 0?h(QSeparator,{class:"col-all",dark:a.value}):h("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",S.class],style:S.style,tabindex:0,role:"listitem",onClick(){v(S)},onKeyup(T){T.keyCode===13&&v(S)}},[h("div",{class:"q-focus-helper"}),S.icon?h(QIcon,{name:S.icon,color:S.color}):C?h("img",{class:S.avatar?"q-bottom-sheet__avatar":"",src:C}):h("div",{class:"q-bottom-sheet__empty-icon"}),h("div",S.label)])})}function b(){return t.actions.map(S=>{const C=S.avatar||S.img;return S.label===void 0?h(QSeparator,{spaced:!0,dark:a.value}):h(QItem,{class:["q-bottom-sheet__item",S.classes],style:S.style,tabindex:0,clickable:!0,dark:a.value,onClick(){v(S)}},()=>[h(QItemSection,{avatar:!0},()=>S.icon?h(QIcon,{name:S.icon,color:S.color}):C?h("img",{class:S.avatar?"q-bottom-sheet__avatar":"",src:C}):null),h(QItemSection,()=>S.label)])})}function _(){const S=[];return t.title&&S.push(h(QCardSection,{class:"q-dialog__title"},()=>t.title)),t.message&&S.push(h(QCardSection,{class:"q-dialog__message"},()=>t.message)),S.push(t.grid===!0?h("div",{class:"row items-stretch justify-start",role:"list"},A()):h("div",{role:"list"},b())),S}function w(){return[h(QCard,{class:[`q-bottom-sheet q-bottom-sheet--${t.grid===!0?"grid":"list"}`+(a.value===!0?" q-bottom-sheet--dark q-dark":""),t.cardClass],style:t.cardStyle},_)]}return Object.assign(o,{show:d,hide:g}),()=>h(QDialog,{ref:u,position:"bottom",onHide:y},w)}}),BottomSheet={install({$q:t,parentApp:r}){t.bottomSheet=this.create=globalDialog(BottomSheet$1,!1,r)}},quasarUserOptions={config:{},iconSet,plugins:{AppFullscreen:Plugin,Notify,Dialog,Meta,BottomSheet}};const publicPath="/jarvis/";async function start$2({app:t,router:r,store:o},a){let u=!1;const d=y=>{try{return r.resolve(y).href}catch(A){}return Object(y)===y?null:y},g=y=>{if(u=!0,typeof y=="string"&&/^https?:\/\//.test(y)){window.location.href=y;return}const A=d(y);A!==null&&(window.location.href=A,window.location.reload())},v=window.location.href.replace(window.location.origin,"");for(let y=0;u===!1&&y{const[r,o]=Promise.allSettled!==void 0?["allSettled",a=>a.map(u=>{if(u.status==="rejected"){console.error("[Quasar] boot error:",u.reason);return}return u.value.default})]:["all",a=>a.map(u=>u.default)];return Promise[r]([__vitePreload(()=>Promise.resolve().then(function(){return i18n$2}),void 0),__vitePreload(()=>Promise.resolve().then(function(){return components$1}),void 0),__vitePreload(()=>Promise.resolve().then(function(){return register$2}),void 0)]).then(a=>{const u=o(a).filter(d=>typeof d=="function");start$2(t,u)})});class BrowserWeb extends WebPlugin{constructor(){super(),this._lastWindow=null}async open(r){this._lastWindow=window.open(r.url,r.windowName||"_blank")}async close(){return new Promise((r,o)=>{this._lastWindow!=null?(this._lastWindow.close(),this._lastWindow=null,r()):o("No active window to close!")})}}const Browser$1=new BrowserWeb;var web$2=Object.freeze(Object.defineProperty({__proto__:null,BrowserWeb,Browser:Browser$1},Symbol.toStringTag,{value:"Module"}));class SplashScreenWeb extends WebPlugin{async show(r){}async hide(r){}}var web$1=Object.freeze(Object.defineProperty({__proto__:null,SplashScreenWeb},Symbol.toStringTag,{value:"Module"})),Login_vue_vue_type_style_index_0_lang="";const _sfc_main$17=defineComponent({name:"Login",setup(){const t=useJarvis(),r=useRouter(),o=useRoute(),a=t.authentication[o.meta.authenticationType||"page"];a||r.push({name:"Home"}).catch(A=>console.error(A));const u=ref(!1),d=ref(null),g=ref(),v=ref(),y=()=>{u.value="loading",Connection.getConnection.send("verifyLogin",[a,g.value,v.value,o.meta.authenticationType],b=>{b.err?(d.value=b.err.message,u.value="error"):b.login===!0&&(u.value="success",r.push({name:o.meta.redirect||"Home",query:{restart:!0}}).catch(_=>console.error(_)))})};return{authenticationMethod:a,state:u,error:d,user:g,password:v,isPassword:ref(!0),onSubmit:y}}}),_hoisted_1$W={class:"jarvis-login-container"},_hoisted_2$K={class:"jarvis-login"},_hoisted_3$A={key:2,class:"row"};function _sfc_render$17(t,r,o,a,u,d){const g=resolveComponent("Alert");return openBlock(),createElementBlock("div",_hoisted_1$W,[withDirectives(createVNode$1(QLinearProgress,{indeterminate:"",style:{position:"absolute"}},null,512),[[vShow,t.state==="loading"]]),createBaseVNode("div",_hoisted_2$K,[t.authenticationMethod!=="password"?(openBlock(),createBlock(QInput,{key:0,modelValue:t.user,"onUpdate:modelValue":r[0]||(r[0]=v=>t.user=v),"stack-label":"",autofocus:t.authenticationMethod!=="password",standout:"bg-primary text-white",class:"jarvis-login-input text-white","input-class":"jarvis-login-input-user text-white",label:t.$t("User"),disable:t.state==="loading","bg-color":t.state==="success"?"positive":void 0},{prepend:withCtx(()=>[withDirectives(createVNode$1(QIcon,{name:"mdi-account",class:"text-white"},null,512),[[vShow,t.state!=="success"]]),withDirectives(createVNode$1(QIcon,{name:"mdi-check",class:"text-white"},null,512),[[vShow,t.state==="success"]])]),_:1},8,["modelValue","autofocus","label","disable","bg-color"])):createCommentVNode("",!0),createVNode$1(QInput,{modelValue:t.password,"onUpdate:modelValue":r[2]||(r[2]=v=>t.password=v),type:t.isPassword?"password":"text","stack-label":"",autofocus:t.authenticationMethod==="password",standout:"bg-primary text-white",class:"jarvis-login-input text-white","input-class":"jarvis-login-input-password text-white",label:t.$t("Password")+" "+t.$t("or")+" "+t.$t("PIN"),disable:t.state==="loading","bg-color":t.state==="success"?"positive":void 0,onKeydown:withKeys(withModifiers(t.onSubmit,["prevent"]),["enter"])},createSlots({prepend:withCtx(()=>[withDirectives(createVNode$1(QIcon,{name:"mdi-lock",class:"text-white"},null,512),[[vShow,t.state!=="success"]]),withDirectives(createVNode$1(QIcon,{name:"mdi-check",class:"text-white"},null,512),[[vShow,t.state==="success"]])]),append:withCtx(()=>[createVNode$1(QIcon,{name:t.isPassword?"mdi-eye-off":"mdi-eye",class:"cursor-pointer text-white",onClick:r[1]||(r[1]=v=>t.isPassword=!t.isPassword)},null,8,["name"])]),_:2},[t.authenticationMethod==="password"?{name:"after",fn:withCtx(()=>[createVNode$1(QBtn,{color:"primary",label:t.$t("login"),style:{"-webkit-backface-visibility":"hidden"},disable:t.state==="loading",loading:t.state==="loading",onClick:t.onSubmit},null,8,["label","disable","loading","onClick"])]),key:"0"}:void 0]),1032,["modelValue","type","autofocus","label","disable","bg-color","onKeydown"]),t.error?(openBlock(),createBlock(g,{key:1,color:"negative"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1})):createCommentVNode("",!0),t.authenticationMethod!=="password"?(openBlock(),createElementBlock("div",_hoisted_3$A,[createVNode$1(QSpace),createVNode$1(QBtn,{color:"primary",label:t.$t("login"),style:{"-webkit-backface-visibility":"hidden"},disable:t.state==="loading",loading:t.state==="loading",onClick:t.onSubmit},null,8,["label","disable","loading","onClick"])])):createCommentVNode("",!0)])])}var Login=_export_sfc$1(_sfc_main$17,[["render",_sfc_render$17]]),Login$1=Object.freeze(Object.defineProperty({__proto__:null,default:Login},Symbol.toStringTag,{value:"Module"})),QTooltip=createComponent({name:"QTooltip",inheritAttrs:!1,props:{...useAnchorStaticProps,...useModelToggleProps,...useTransitionProps,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...useTransitionProps.transitionShow,default:"jump-down"},transitionHide:{...useTransitionProps.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:validatePosition},self:{type:String,default:"top middle",validator:validatePosition},offset:{type:Array,default:()=>[14,14],validator:validateOffset},scrollTarget:scrollTargetProp,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...useModelToggleEmits],setup(t,{slots:r,emit:o,attrs:a}){let u,d;const g=getCurrentInstance(),{proxy:{$q:v}}=g,y=ref(null),A=ref(!1),b=computed(()=>parsePosition$1(t.anchor,v.lang.rtl)),_=computed(()=>parsePosition$1(t.self,v.lang.rtl)),w=computed(()=>t.persistent!==!0),{registerTick:S,removeTick:C}=useTick(),{registerTimeout:T}=useTimeout(),{transitionProps:I,transitionStyle:E}=useTransition(t),{localScrollTarget:F,changeScrollEvent:O,unconfigureScrollTarget:D}=useScrollTarget(t,te),{anchorEl:x,canShow:P,anchorEvents:G}=useAnchor({showing:A,configureAnchorEl:ne}),{show:M,hide:N}=useModelToggle({showing:A,canShow:P,handleShow:B,handleHide:z,hideOnRouteChange:w,processOnMount:!0});Object.assign(G,{delayShow:X,delayHide:J});const{showPortal:V,hidePortal:Z,renderPortal:H}=usePortal(g,y,se,"tooltip");if(v.platform.is.mobile===!0){const ge={anchorEl:x,innerRef:y,onClickOutside(ye){return N(ye),ye.target.classList.contains("q-dialog__backdrop")&&stopAndPrevent$1(ye),!0}},he=computed(()=>t.modelValue===null&&t.persistent!==!0&&A.value===!0);watch(he,ye=>{(ye===!0?addClickOutside:removeClickOutside)(ge)}),onBeforeUnmount(()=>{removeClickOutside(ge)})}function B(ge){V(),S(()=>{d=new MutationObserver(()=>Q()),d.observe(y.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),Q(),te()}),u===void 0&&(u=watch(()=>v.screen.width+"|"+v.screen.height+"|"+t.self+"|"+t.anchor+"|"+v.lang.rtl,Q)),T(()=>{V(!0),o("show",ge)},t.transitionDuration)}function z(ge){C(),Z(),U(),T(()=>{Z(!0),o("hide",ge)},t.transitionDuration)}function U(){d!==void 0&&(d.disconnect(),d=void 0),u!==void 0&&(u(),u=void 0),D(),cleanEvt(G,"tooltipTemp")}function Q(){setPosition({targetEl:y.value,offset:t.offset,anchorEl:x.value,anchorOrigin:b.value,selfOrigin:_.value,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function X(ge){if(v.platform.is.mobile===!0){clearSelection(),document.body.classList.add("non-selectable");const he=x.value,ye=["touchmove","touchcancel","touchend","click"].map(ee=>[he,ee,"delayHide","passiveCapture"]);addEvt(G,"tooltipTemp",ye)}T(()=>{M(ge)},t.delay)}function J(ge){v.platform.is.mobile===!0&&(cleanEvt(G,"tooltipTemp"),clearSelection(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),T(()=>{N(ge)},t.hideDelay)}function ne(){if(t.noParentEvent===!0||x.value===null)return;const ge=v.platform.is.mobile===!0?[[x.value,"touchstart","delayShow","passive"]]:[[x.value,"mouseenter","delayShow","passive"],[x.value,"mouseleave","delayHide","passive"]];addEvt(G,"anchor",ge)}function te(){if(x.value!==null||t.scrollTarget!==void 0){F.value=getScrollTarget(x.value,t.scrollTarget);const ge=t.noParentEvent===!0?Q:N;O(F.value,ge)}}function ce(){return A.value===!0?h("div",{...a,ref:y,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",a.class],style:[a.style,E.value],role:"tooltip"},hSlot(r.default)):null}function se(){return h(Transition,I.value,ce)}return onBeforeUnmount(U),Object.assign(g.proxy,{updatePosition:Q}),H}}),QRouteTab=createComponent({name:"QRouteTab",props:{...useRouterLinkProps,...useTabProps},emits:useTabEmits,setup(t,{slots:r,emit:o}){const a=useRouterLink({useDisableForRouterLinkProps:!1}),{renderTab:u,$tabs:d}=useTab(t,r,o,{exact:computed(()=>t.exact),...a});return watch(()=>`${t.name} | ${t.exact} | ${(a.resolvedLink.value||{}).href}`,()=>{d.verifyRouteModel()}),()=>u(a.linkTag.value,a.linkAttrs.value)}}),QHeader=createComponent({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=inject(layoutKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QHeader needs to be child of QLayout"),emptyRenderFn;const d=ref(parseInt(t.heightHint,10)),g=ref(!0),v=computed(()=>t.reveal===!0||u.view.value.indexOf("H")!==-1||a.platform.is.ios&&u.isContainer.value===!0),y=computed(()=>{if(t.modelValue!==!0)return 0;if(v.value===!0)return g.value===!0?d.value:0;const F=d.value-u.scroll.value.position;return F>0?F:0}),A=computed(()=>t.modelValue!==!0||v.value===!0&&g.value!==!0),b=computed(()=>t.modelValue===!0&&A.value===!0&&t.reveal===!0),_=computed(()=>"q-header q-layout__section--marginal "+(v.value===!0?"fixed":"absolute")+"-top"+(t.bordered===!0?" q-header--bordered":"")+(A.value===!0?" q-header--hidden":"")+(t.modelValue!==!0?" q-layout--prevent-focus":"")),w=computed(()=>{const F=u.rows.value.top,O={};return F[0]==="l"&&u.left.space===!0&&(O[a.lang.rtl===!0?"right":"left"]=`${u.left.size}px`),F[2]==="r"&&u.right.space===!0&&(O[a.lang.rtl===!0?"left":"right"]=`${u.right.size}px`),O});function S(F,O){u.update("header",F,O)}function C(F,O){F.value!==O&&(F.value=O)}function T({height:F}){C(d,F),S("size",F)}function I(F){b.value===!0&&C(g,!0),o("focusin",F)}watch(()=>t.modelValue,F=>{S("space",F),C(g,!0),u.animate()}),watch(y,F=>{S("offset",F)}),watch(()=>t.reveal,F=>{F===!1&&C(g,t.modelValue)}),watch(g,F=>{u.animate(),o("reveal",F)}),watch(u.scroll,F=>{t.reveal===!0&&C(g,F.direction==="up"||F.position<=t.revealOffset||F.position-F.inflectionPoint<100)});const E={};return u.instances.header=E,t.modelValue===!0&&S("size",d.value),S("space",t.modelValue),S("offset",y.value),onBeforeUnmount(()=>{u.instances.header===E&&(u.instances.header=void 0,S("size",0),S("offset",0),S("space",!1))}),()=>{const F=hUniqueSlot(r.default,[]);return t.elevated===!0&&F.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),F.push(h(QResizeObserver,{debounce:0,onResize:T})),h("header",{class:_.value,style:w.value,onFocusin:I},F)}}}),QPage=createComponent({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=inject(layoutKey,emptyRenderFn);if(a===emptyRenderFn)return console.error("QPage needs to be a deep child of QLayout"),emptyRenderFn;if(inject(pageContainerKey,emptyRenderFn)===emptyRenderFn)return console.error("QPage needs to be child of QPageContainer"),emptyRenderFn;const d=computed(()=>{const v=(a.header.space===!0?a.header.size:0)+(a.footer.space===!0?a.footer.size:0);if(typeof t.styleFn=="function"){const y=a.isContainer.value===!0?a.containerHeight.value:o.screen.height;return t.styleFn(v,y)}return{minHeight:a.isContainer.value===!0?a.containerHeight.value-v+"px":o.screen.height===0?v!==0?`calc(100vh - ${v}px)`:"100vh":o.screen.height-v+"px"}}),g=computed(()=>`q-page${t.padding===!0?" q-layout-padding":""}`);return()=>h("main",{class:g.value,style:d.value},hSlot(r.default))}}),QPageContainer=createComponent({name:"QPageContainer",setup(t,{slots:r}){const{proxy:{$q:o}}=getCurrentInstance(),a=inject(layoutKey,emptyRenderFn);if(a===emptyRenderFn)return console.error("QPageContainer needs to be child of QLayout"),emptyRenderFn;provide(pageContainerKey,!0);const u=computed(()=>{const d={};return a.header.space===!0&&(d.paddingTop=`${a.header.size}px`),a.right.space===!0&&(d[`padding${o.lang.rtl===!0?"Left":"Right"}`]=`${a.right.size}px`),a.footer.space===!0&&(d.paddingBottom=`${a.footer.size}px`),a.left.space===!0&&(d[`padding${o.lang.rtl===!0?"Right":"Left"}`]=`${a.left.size}px`),d});return()=>h("div",{class:"q-page-container",style:u.value},hSlot(r.default))}}),QFooter=createComponent({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=inject(layoutKey,emptyRenderFn);if(u===emptyRenderFn)return console.error("QFooter needs to be child of QLayout"),emptyRenderFn;const d=ref(parseInt(t.heightHint,10)),g=ref(!0),v=ref(isRuntimeSsrPreHydration.value===!0||u.isContainer.value===!0?0:window.innerHeight),y=computed(()=>t.reveal===!0||u.view.value.indexOf("F")!==-1||a.platform.is.ios&&u.isContainer.value===!0),A=computed(()=>u.isContainer.value===!0?u.containerHeight.value:v.value),b=computed(()=>{if(t.modelValue!==!0)return 0;if(y.value===!0)return g.value===!0?d.value:0;const x=u.scroll.value.position+A.value+d.value-u.height.value;return x>0?x:0}),_=computed(()=>t.modelValue!==!0||y.value===!0&&g.value!==!0),w=computed(()=>t.modelValue===!0&&_.value===!0&&t.reveal===!0),S=computed(()=>"q-footer q-layout__section--marginal "+(y.value===!0?"fixed":"absolute")+"-bottom"+(t.bordered===!0?" q-footer--bordered":"")+(_.value===!0?" q-footer--hidden":"")+(t.modelValue!==!0?" q-layout--prevent-focus"+(y.value!==!0?" hidden":""):"")),C=computed(()=>{const x=u.rows.value.bottom,P={};return x[0]==="l"&&u.left.space===!0&&(P[a.lang.rtl===!0?"right":"left"]=`${u.left.size}px`),x[2]==="r"&&u.right.space===!0&&(P[a.lang.rtl===!0?"left":"right"]=`${u.right.size}px`),P});function T(x,P){u.update("footer",x,P)}function I(x,P){x.value!==P&&(x.value=P)}function E({height:x}){I(d,x),T("size",x)}function F(){if(t.reveal!==!0)return;const{direction:x,position:P,inflectionPoint:G}=u.scroll.value;I(g,x==="up"||P-G<100||u.height.value-A.value-P-d.value<300)}function O(x){w.value===!0&&I(g,!0),o("focusin",x)}watch(()=>t.modelValue,x=>{T("space",x),I(g,!0),u.animate()}),watch(b,x=>{T("offset",x)}),watch(()=>t.reveal,x=>{x===!1&&I(g,t.modelValue)}),watch(g,x=>{u.animate(),o("reveal",x)}),watch([d,u.scroll,u.height],F),watch(()=>a.screen.height,x=>{u.isContainer.value!==!0&&I(v,x)});const D={};return u.instances.footer=D,t.modelValue===!0&&T("size",d.value),T("space",t.modelValue),T("offset",b.value),onBeforeUnmount(()=>{u.instances.footer===D&&(u.instances.footer=void 0,T("size",0),T("offset",0),T("space",!1))}),()=>{const x=hMergeSlot(r.default,[h(QResizeObserver,{debounce:0,onResize:E})]);return t.elevated===!0&&x.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),h("footer",{class:S.value,style:C.value,onFocusin:O},x)}}});const tabs=[{id:"devices",title:"Devices",path:"DevicesPage",icon:"mdi-devices"},{id:"layout",title:"Layout",path:"LayoutPage",icon:"mdi-file"},{id:"widgets",title:"Widgets",path:"WidgetsPage",icon:"mdi-view-grid"},{id:"styles",title:"Styles",path:"StylesPage",icon:"mdi-code-tags",pro:!0},{id:"scripts",title:"Scripts",path:"ScriptsPage",icon:"mdi-language-javascript",pro:!0},{id:"settings",title:"Settings",path:"SettingsPage",icon:"mdi-cog"},{id:"connections",title:"Connections",path:"ConnectionsPage",icon:"mdi-lan-connect"},{id:"account",title:"Pro-Account",path:"AccountPage",icon:"mdi-star"},{id:"help",title:"Help",path:"HelpPage",icon:"mdi-help-box"}],_sfc_main$16=defineComponent({name:"ConfigurationLayout",setup(){const t=useEditor(),r=useIoBroker(),o=useJarvis(),a=useRoute(),u=useRouter(),d=computed(()=>a.name!=="StylesPage"&&a.name!=="ScriptsPage"&&a.name!=="AccountPage"&&a.name!=="HelpPage"),g=ref("login");t.init({devices:Devices._devices,layout:Cache$1.get("layout"),styles:Cache$1.get("styles"),scripts:Cache$1.get("scripts"),settings:{...defaultSettings$1,...Cache$1.get("settings",{}),configTab:t.settings&&t.settings.configTab||Cache$1.get("settings",{}).configTab||null},widgets:Cache$1.get("widgets")});const v=()=>{console.log("Authenticate for configuration...");const T=Connection.getConnection;T&&T.authenticate("configuration").then(I=>{console.log("Authenticated for configuration."),g.value="loaded",o.set("authentication.configuration",I.authenticationMethod),T.subscribeSpecial("CloudDevices",E=>r.set("cloud",E)),T.subscribeSpecial("HistoryDevices",E=>r.set("history",E)),a.name==="Configuration"&&u.replace({name:ucFirst(t.settings&&t.settings.configTab||tabs[0].id)+"Page",params:a.params}).catch(E=>console.error(E))}).catch(I=>{g.value="login",o.set("authentication.configuration",I.authenticationMethod),u.push({name:"ConfigurationLogin"}).catch(E=>console.error(E))})};onBeforeMount(()=>v()),watch(()=>a.query,()=>{g.value!=="loaded"&&window.location.href.indexOf("restart=true")!==-1&&v()});const y=computed(()=>t.hasErrors),A=computed({get(){return t.settings&&t.settings.configExpertMode},set(T){t.set("settings.configExpertMode",T),T===!1&&t.commitJson()}}),b=computed({get(){return t.settings&&t.settings.configTab},set(T){T&&t.set("settings.configTab",T),t.commitJson()}}),_=window.open,w=()=>{o.set("drawerSidebar",!1);const T=Cache$1.get("settings",{}),I=new RegExp(/@import[ ]?\(?['"](?.*)['"]\)?;?/ig);u.push({name:"Home",query:{reload:T.scriptsEnabled===!1?!1:I.test(Cache$1.get("scripts"))},params:{...a.params,tabId:o.getSelectedTabId}}).catch(()=>{}).finally(()=>{S.value=!1})},S=ref(!1),C=T=>{let I=[];S.value=!0,t.commitJson();const E={devices:t.devices,widgets:_default(t.widgets),layout:_default(t.getLayoutWithoutDeletions)||[],styles:t.styles,scripts:t.scripts,settings:t.settings};for(const P in E.widgets)E.widgets[P].items=E.widgets[P].items||[],E.widgets[P].items=E.widgets[P].items.filter(G=>G&&E.devices[G.deviceId]&&(!E.devices[G.deviceId].attributes||E.devices[G.deviceId].attributes&&E.devices[G.deviceId].attributes.deleted!==!0));E.layout.forEach(P=>{P.tabs=P.tabs||[],P.tabs.forEach(G=>{delete G.widgets,G.widgetsDesktop=G.widgetsDesktop||[],G.widgetsDesktop.forEach(M=>{M.items=M.items||[],M.items=M.items.filter(N=>E.widgets[N]&&E.widgets[N]._deleted!==!0)}),G.widgetsSmartphone=G.widgetsSmartphone||[],G.widgetsSmartphone.forEach(M=>{M.items=M.items||[],M.items=M.items.filter(N=>E.widgets[N]&&E.widgets[N]._deleted!==!0)})})}),E.devices=t.getDevicesWithoutDeletions,E.widgets=t.getWidgetsWithoutDeletions;const F=Object.keys(t.cloud);if(F.length){const P=Connection.getConnection;I=I.concat(F.map(G=>P.setCloud(t.cloud[G].state,t.cloud[G])))}const O=Object.keys(t.history);if(O.length){const P=Connection.getConnection;I=I.concat(O.map(G=>P.setHistory(G,t.history[G])))}const D={};JSON.stringify(Cache$1.get("devices"))!==JSON.stringify(E.devices)&&(D.devices=E.devices),JSON.stringify(Cache$1.get("widgets"))!==JSON.stringify(E.widgets)&&(D.widgets=E.widgets),JSON.stringify(Cache$1.get("layout"))!==JSON.stringify(E.layout)&&(D.layout=E.layout),JSON.stringify(Cache$1.get("settings"))!==JSON.stringify(E.settings)&&(D.settings=E.settings),JSON.stringify(Cache$1.get("styles"))!==JSON.stringify(E.styles)&&(D.styles=E.styles);const x=new RegExp(/@import[ ]?\(?['"](?.*)['"]\)?;?/ig);(Cache$1.get("scripts")&&E.scripts===""||E.scripts&&(JSON.stringify(Cache$1.get("scripts"))!==JSON.stringify(E.scripts)||x.test(Cache$1.get("scripts"))))&&(D.scripts=E.scripts+` +`),I.push(t.save(D)),Promise.allSettled(I).then(()=>{T?w():(S.value=!1,t.init(E))})};return{state:g,jsonPage:d,isSaving:S,hasErrors:y,settings:computed(()=>Cache$1.get("settings",{})),instance:computed(()=>{const T=Connection.getConnection;return T&&T.instance||0}),version:"3.2.0-rc.1",configTab:b,expertMode:A,tabs,onOpen:_,onCancel:w,onSave:C}}}),_hoisted_1$V={style:{"font-size":"80%"}};function _sfc_render$16(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("router-view");return openBlock(),createElementBlock(Fragment,null,[t.state!=="login"?(openBlock(),createBlock(QHeader,{key:0},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createVNode$1(QToolbarTitle,null,{default:withCtx(()=>[createVNode$1(g,{"vertical-align":"middle",name:"mdi-cog"}),createTextVNode(" "+toDisplayString$1(t.$t("Configuration"))+" ",1),createBaseVNode("span",_hoisted_1$V,[createTextVNode("("+toDisplayString$1(t.$t("Instance"))+": ",1),createBaseVNode("pre",null,"jarvis."+toDisplayString$1(t.instance),1),r[4]||(r[4]=createTextVNode(", ")),createBaseVNode("pre",null,"v"+toDisplayString$1(t.version),1),r[5]||(r[5]=createTextVNode(")"))])]),_:1}),withDirectives(createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:t.expertMode?"mdi-code-tags-check":"mdi-code-tags","aria-label":"$t('Expert Mode')",onClick:r[0]||(r[0]=y=>t.expertMode=!t.expertMode)},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Expert Mode")),1)]),_:1})]),_:1},8,["icon"]),[[vShow,t.jsonPage]])]),_:1}),createVNode$1(QTabs,{modelValue:t.configTab,"onUpdate:modelValue":r[1]||(r[1]=y=>t.configTab=y),"inline-label":"",dense:"","outside-arrows":"","mobile-arrows":"",align:"left"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,y=>(openBlock(),createElementBlock(Fragment,null,[y.link?(openBlock(),createBlock(QTab,{key:y.id,name:y.id,label:t.$t(y.title),icon:y.icon,onClick:A=>t.onOpen(y.link,"_blank")},null,8,["name","label","icon","onClick"])):(openBlock(),createBlock(QRouteTab,{key:y.id,name:y.id,label:t.$t(y.title),icon:y.icon,to:{name:y.path}},null,8,["name","label","icon","to"]))],64))),256))]),_:1},8,["modelValue"])]),_:1})):createCommentVNode("",!0),createVNode$1(QPageContainer,{class:"jarvis-configuration body"},{default:withCtx(()=>[createVNode$1(QPage,null,{default:withCtx(()=>[t.state!=="login"?(openBlock(),createBlock(v,{key:0})):(openBlock(),createBlock(v,{key:1,name:"login"}))]),_:1})]),_:1}),t.state!=="login"?(openBlock(),createBlock(QFooter,{key:1},{default:withCtx(()=>[createVNode$1(QToolbar,{class:"q-py-sm"},{default:withCtx(()=>[createVNode$1(QBtn,{disable:t.isSaving,flat:"",icon:"mdi-window-close","aria-label":"Cancel",label:t.$t("Cancel"),class:"text-red",onClick:t.onCancel},null,8,["disable","label","onClick"]),createVNode$1(QSpace),createVNode$1(QBtn,{disable:t.hasErrors||t.isSaving,icon:t.isSaving?"mdi-loading spin":"mdi-content-save","aria-label":"Save",label:t.$t("Save"),flat:"",color:"primary",style:{"margin-right":"8px"},onClick:r[2]||(r[2]=y=>t.onSave(!1))},null,8,["disable","icon","label"]),createVNode$1(QBtn,{disable:t.hasErrors||t.isSaving,icon:t.isSaving?"mdi-loading spin":"mdi-content-save","aria-label":"Save & Exit",label:t.$t("Save")+" & "+t.$t("Exit"),color:"primary",onClick:r[3]||(r[3]=y=>t.onSave(!0))},null,8,["disable","icon","label"])]),_:1})]),_:1})):createCommentVNode("",!0)],64)}var ConfigurationLayout=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$16]]),index$b=Object.freeze(Object.defineProperty({__proto__:null,default:ConfigurationLayout},Symbol.toStringTag,{value:"Module"}));const btnPropsList=Object.keys(nonRoundBtnProps);function passBtnProps(t){return btnPropsList.reduce((r,o)=>{const a=t[o];return a!==void 0&&(r[o]=a),r},{})}var QBtnDropdown=createComponent({name:"QBtnDropdown",props:{...nonRoundBtnProps,...useTransitionProps,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),u=ref(t.modelValue),d=ref(null),g=useId(),v=computed(()=>{const D={"aria-expanded":u.value===!0?"true":"false","aria-haspopup":"true","aria-controls":g.value,"aria-label":t.toggleAriaLabel||a.$q.lang.label[u.value===!0?"collapse":"expand"](t.label)};return(t.disable===!0||t.split===!1&&t.disableMainBtn===!0||t.disableDropdown===!0)&&(D["aria-disabled"]="true"),D}),y=computed(()=>"q-btn-dropdown__arrow"+(u.value===!0&&t.noIconAnimation===!1?" rotate-180":"")+(t.split===!1?" q-btn-dropdown__arrow-container":"")),A=computed(()=>getBtnDesignAttr(t)),b=computed(()=>passBtnProps(t));watch(()=>t.modelValue,D=>{d.value!==null&&d.value[D?"show":"hide"]()}),watch(()=>t.split,O);function _(D){u.value=!0,o("beforeShow",D)}function w(D){o("show",D),o("update:modelValue",!0)}function S(D){u.value=!1,o("beforeHide",D)}function C(D){o("hide",D),o("update:modelValue",!1)}function T(D){o("click",D)}function I(D){stop$1(D),O(),o("click",D)}function E(D){d.value!==null&&d.value.toggle(D)}function F(D){d.value!==null&&d.value.show(D)}function O(D){d.value!==null&&d.value.hide(D)}return Object.assign(a,{show:F,hide:O,toggle:E}),onMounted(()=>{t.modelValue===!0&&F()}),()=>{const D=[h(QIcon,{class:y.value,name:t.dropdownIcon||a.$q.iconSet.arrow.dropdown})];return t.disableDropdown!==!0&&D.push(h(QMenu,{ref:d,id:g.value,class:t.contentClass,style:t.contentStyle,cover:t.cover,fit:!0,persistent:t.persistent,noRouteDismiss:t.noRouteDismiss,autoClose:t.autoClose,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,separateClosePopup:!0,transitionShow:t.transitionShow,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,onBeforeShow:_,onShow:w,onBeforeHide:S,onHide:C},r.default)),t.split===!1?h(QBtn,{class:"q-btn-dropdown q-btn-dropdown--simple",...b.value,...v.value,disable:t.disable===!0||t.disableMainBtn===!0,noWrap:!0,round:!1,onClick:T},{default:()=>hSlot(r.label,[]).concat(D),loading:r.loading}):h(QBtnGroup,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:t.rounded,square:t.square,...A.value,glossy:t.glossy,stretch:t.stretch},()=>[h(QBtn,{class:"q-btn-dropdown--current",...b.value,disable:t.disable===!0||t.disableMainBtn===!0,noWrap:!0,round:!1,onClick:I},{default:r.label,loading:r.loading}),h(QBtn,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...v.value,...A.value,disable:t.disable===!0||t.disableDropdown===!0,rounded:t.rounded,color:t.color,textColor:t.textColor,dense:t.dense,size:t.size,padding:t.padding,ripple:t.ripple},()=>D)])}}}),QSlideTransition=createComponent({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(t,{slots:r,emit:o}){let a=!1,u,d,g=null,v=null,y,A;function b(){u&&u(),u=null,a=!1,g!==null&&(clearTimeout(g),g=null),v!==null&&(clearTimeout(v),v=null),d!==void 0&&d.removeEventListener("transitionend",y),y=null}function _(T,I,E){I!==void 0&&(T.style.height=`${I}px`),T.style.transition=`height ${t.duration}ms cubic-bezier(.25, .8, .50, 1)`,a=!0,u=E}function w(T,I){T.style.overflowY=null,T.style.height=null,T.style.transition=null,b(),I!==A&&o(I)}function S(T,I){let E=0;d=T,a===!0?(b(),E=T.offsetHeight===T.scrollHeight?0:void 0):(A="hide",T.style.overflowY="hidden"),_(T,E,I),g=setTimeout(()=>{g=null,T.style.height=`${T.scrollHeight}px`,y=F=>{v=null,(Object(F)!==F||F.target===T)&&w(T,"show")},T.addEventListener("transitionend",y),v=setTimeout(y,t.duration*1.1)},100)}function C(T,I){let E;d=T,a===!0?b():(A="show",T.style.overflowY="hidden",E=T.scrollHeight),_(T,E,I),g=setTimeout(()=>{g=null,T.style.height=0,y=F=>{v=null,(Object(F)!==F||F.target===T)&&w(T,"hide")},T.addEventListener("transitionend",y),v=setTimeout(y,t.duration*1.1)},100)}return onBeforeUnmount(()=>{a===!0&&b()}),()=>h(Transition,{css:!1,appear:t.appear,onEnter:S,onLeave:C},r.default)}});const itemGroups=shallowReactive({}),LINK_PROPS=Object.keys(useRouterLinkProps);var QExpansionItem=createComponent({name:"QExpansionItem",props:{...useRouterLinkProps,...useModelToggleProps,...useDarkProps,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:{},headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...useModelToggleEmits,"click","afterShow","afterHide"],setup(t,{slots:r,emit:o}){const{proxy:{$q:a}}=getCurrentInstance(),u=useDark(t,a),d=ref(t.modelValue!==null?t.modelValue:t.defaultOpened),g=ref(null),v=useId(),{show:y,hide:A,toggle:b}=useModelToggle({showing:d});let _,w;const S=computed(()=>`q-expansion-item q-item-type q-expansion-item--${d.value===!0?"expanded":"collapsed"} q-expansion-item--${t.popup===!0?"popup":"standard"}`),C=computed(()=>{if(t.contentInsetLevel===void 0)return null;const X=a.lang.rtl===!0?"Right":"Left";return{["padding"+X]:t.contentInsetLevel*56+"px"}}),T=computed(()=>t.disable!==!0&&(t.href!==void 0||t.to!==void 0&&t.to!==null&&t.to!=="")),I=computed(()=>{const X={};return LINK_PROPS.forEach(J=>{X[J]=t[J]}),X}),E=computed(()=>T.value===!0||t.expandIconToggle!==!0),F=computed(()=>t.expandedIcon!==void 0&&d.value===!0?t.expandedIcon:t.expandIcon||a.iconSet.expansionItem[t.denseToggle===!0?"denseIcon":"icon"]),O=computed(()=>t.disable!==!0&&(T.value===!0||t.expandIconToggle===!0)),D=computed(()=>({expanded:d.value===!0,detailsId:v.value,toggle:b,show:y,hide:A})),x=computed(()=>{const X=t.toggleAriaLabel!==void 0?t.toggleAriaLabel:a.lang.label[d.value===!0?"collapse":"expand"](t.label);return{role:"button","aria-expanded":d.value===!0?"true":"false","aria-controls":v.value,"aria-label":X}});watch(()=>t.group,X=>{w!==void 0&&w(),X!==void 0&&Z()});function P(X){T.value!==!0&&b(X),o("click",X)}function G(X){X.keyCode===13&&M(X,!0)}function M(X,J){J!==!0&&g.value!==null&&g.value.focus(),b(X),stopAndPrevent$1(X)}function N(){o("afterShow")}function V(){o("afterHide")}function Z(){_===void 0&&(_=uid$3()),d.value===!0&&(itemGroups[t.group]=_);const X=watch(d,ne=>{ne===!0?itemGroups[t.group]=_:itemGroups[t.group]===_&&delete itemGroups[t.group]}),J=watch(()=>itemGroups[t.group],(ne,te)=>{te===_&&ne!==void 0&&ne!==_&&A()});w=()=>{X(),J(),itemGroups[t.group]===_&&delete itemGroups[t.group],w=void 0}}function H(){const X={class:[`q-focusable relative-position cursor-pointer${t.denseToggle===!0&&t.switchToggleSide===!0?" items-end":""}`,t.expandIconClass],side:t.switchToggleSide!==!0,avatar:t.switchToggleSide},J=[h(QIcon,{class:"q-expansion-item__toggle-icon"+(t.expandedIcon===void 0&&d.value===!0?" q-expansion-item__toggle-icon--rotated":""),name:F.value})];return O.value===!0&&(Object.assign(X,{tabindex:0,...x.value,onClick:M,onKeyup:G}),J.unshift(h("div",{ref:g,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),h(QItemSection,X,()=>J)}function B(){let X;return r.header!==void 0?X=[].concat(r.header(D.value)):(X=[h(QItemSection,()=>[h(QItemLabel,{lines:t.labelLines},()=>t.label||""),t.caption?h(QItemLabel,{lines:t.captionLines,caption:!0},()=>t.caption):null])],t.icon&&X[t.switchToggleSide===!0?"push":"unshift"](h(QItemSection,{side:t.switchToggleSide===!0,avatar:t.switchToggleSide!==!0},()=>h(QIcon,{name:t.icon})))),t.disable!==!0&&t.hideExpandIcon!==!0&&X[t.switchToggleSide===!0?"unshift":"push"](H()),X}function z(){const X={ref:"item",style:t.headerStyle,class:t.headerClass,dark:u.value,disable:t.disable,dense:t.dense,insetLevel:t.headerInsetLevel};return E.value===!0&&(X.clickable=!0,X.onClick=P,Object.assign(X,T.value===!0?I.value:x.value)),h(QItem,X,B)}function U(){return withDirectives(h("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:C.value,id:v.value},hSlot(r.default)),[[vShow,d.value]])}function Q(){const X=[z(),h(QSlideTransition,{duration:t.duration,onShow:N,onHide:V},U)];return t.expandSeparator===!0&&X.push(h(QSeparator,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:u.value}),h(QSeparator,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:u.value})),X}return t.group!==void 0&&Z(),onBeforeUnmount(()=>{w!==void 0&&w()}),()=>h("div",{class:S.value},[h("div",{class:"q-expansion-item__container relative-position"},Q())])}});const tickStrategyOptions=["none","strict","leaf","leaf-filtered"];var QTree=createComponent({name:"QTree",props:{...useDarkProps,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:t=>tickStrategyOptions.includes(t)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=useDark(t,u),g=ref({}),v=ref(t.ticked||[]),y=ref(t.expanded||[]);let A={};onBeforeUpdate(()=>{A={}});const b=computed(()=>`q-tree q-tree--${t.dense===!0?"dense":"standard"}`+(t.noConnectors===!0?" q-tree--no-connectors":"")+(d.value===!0?" q-tree--dark":"")+(t.color!==void 0?` text-${t.color}`:"")),_=computed(()=>t.selected!==void 0),w=computed(()=>t.icon||u.iconSet.tree.icon),S=computed(()=>t.controlColor||t.color),C=computed(()=>t.textColor!==void 0?` text-${t.textColor}`:""),T=computed(()=>{const se=t.selectedColor||t.color;return se?` text-${se}`:""}),I=computed(()=>t.filterMethod!==void 0?t.filterMethod:(se,ge)=>{const he=ge.toLowerCase();return se[t.labelKey]&&se[t.labelKey].toLowerCase().indexOf(he)!==-1}),E=computed(()=>{const se={},ge=(he,ye)=>{const ee=he.tickStrategy||(ye?ye.tickStrategy:t.tickStrategy),pe=he[t.nodeKey],ae=he[t.childrenKey]&&Array.isArray(he[t.childrenKey])&&he[t.childrenKey].length!==0,ve=he.disabled!==!0&&_.value===!0&&he.selectable!==!1,we=he.disabled!==!0&&he.expandable!==!1,_e=ee!=="none",Te=ee==="strict",Ce=ee==="leaf-filtered",Ae=ee==="leaf"||ee==="leaf-filtered";let Ee=he.disabled!==!0&&he.tickable!==!1;Ae===!0&&Ee===!0&&ye&&ye.tickable!==!0&&(Ee=!1);let le=he.lazy;le===!0&&g.value[pe]!==void 0&&Array.isArray(he[t.childrenKey])===!0&&(le=g.value[pe]);const re={key:pe,parent:ye,isParent:ae,lazy:le,disabled:he.disabled,link:he.disabled!==!0&&(ve===!0||we===!0&&(ae===!0||le===!0)),children:[],matchesFilter:t.filter?I.value(he,t.filter):!0,selected:pe===t.selected&&ve===!0,selectable:ve,expanded:ae===!0?y.value.includes(pe):!1,expandable:we,noTick:he.noTick===!0||Te!==!0&&le&&le!=="loaded",tickable:Ee,tickStrategy:ee,hasTicking:_e,strictTicking:Te,leafFilteredTicking:Ce,leafTicking:Ae,ticked:Te===!0?v.value.includes(pe):ae===!0?!1:v.value.includes(pe)};if(se[pe]=re,ae===!0&&(re.children=he[t.childrenKey].map(ue=>ge(ue,re)),t.filter&&(re.matchesFilter!==!0?re.matchesFilter=re.children.some(ue=>ue.matchesFilter):re.noTick!==!0&&re.disabled!==!0&&re.tickable===!0&&Ce===!0&&re.children.every(ue=>ue.matchesFilter!==!0||ue.noTick===!0||ue.tickable!==!0)===!0&&(re.tickable=!1)),re.matchesFilter===!0&&(re.noTick!==!0&&Te!==!0&&re.children.every(ue=>ue.noTick)===!0&&(re.noTick=!0),Ae))){if(re.ticked=!1,re.indeterminate=re.children.some(ue=>ue.indeterminate===!0),re.tickable=re.tickable===!0&&re.children.some(ue=>ue.tickable),re.indeterminate!==!0){const ue=re.children.reduce((be,ie)=>ie.ticked===!0?be+1:be,0);ue===re.children.length?re.ticked=!0:ue>0&&(re.indeterminate=!0)}re.indeterminate===!0&&(re.indeterminateNextState=re.children.every(ue=>ue.tickable!==!0||ue.ticked!==!0))}return re};return t.nodes.forEach(he=>ge(he,null)),se});watch(()=>t.ticked,se=>{v.value=se}),watch(()=>t.expanded,se=>{y.value=se});function F(se){const ge=[].reduce,he=(ye,ee)=>{if(ye||!ee)return ye;if(Array.isArray(ee)===!0)return ge.call(Object(ee),he,ye);if(ee[t.nodeKey]===se)return ee;if(ee[t.childrenKey])return he(null,ee[t.childrenKey])};return he(null,t.nodes)}function O(){return v.value.map(se=>F(se))}function D(){return y.value.map(se=>F(se))}function x(se){return se&&E.value[se]?E.value[se].expanded:!1}function P(){t.expanded!==void 0?o("update:expanded",[]):y.value=[]}function G(){const se=[],ge=he=>{he[t.childrenKey]&&he[t.childrenKey].length!==0&&he.expandable!==!1&&he.disabled!==!0&&(se.push(he[t.nodeKey]),he[t.childrenKey].forEach(ge))};t.nodes.forEach(ge),t.expanded!==void 0?o("update:expanded",se):y.value=se}function M(se,ge,he=F(se),ye=E.value[se]){if(ye.lazy&&ye.lazy!=="loaded"){if(ye.lazy==="loading")return;g.value[se]="loading",Array.isArray(he[t.childrenKey])!==!0&&(he[t.childrenKey]=[]),o("lazyLoad",{node:he,key:se,done:ee=>{g.value[se]="loaded",he[t.childrenKey]=Array.isArray(ee)===!0?ee:[],nextTick(()=>{const pe=E.value[se];pe&&pe.isParent===!0&&N(se,!0)})},fail:()=>{delete g.value[se],he[t.childrenKey].length===0&&delete he[t.childrenKey]}})}else ye.isParent===!0&&ye.expandable===!0&&N(se,ge)}function N(se,ge){let he=y.value;const ye=t.expanded!==void 0;if(ye===!0&&(he=he.slice()),ge){if(t.accordion&&E.value[se]){const ee=[];E.value[se].parent?E.value[se].parent.children.forEach(pe=>{pe.key!==se&&pe.expandable===!0&&ee.push(pe.key)}):t.nodes.forEach(pe=>{const ae=pe[t.nodeKey];ae!==se&&ee.push(ae)}),ee.length!==0&&(he=he.filter(pe=>ee.includes(pe)===!1))}he=he.concat([se]).filter((ee,pe,ae)=>ae.indexOf(ee)===pe)}else he=he.filter(ee=>ee!==se);ye===!0?o("update:expanded",he):y.value=he}function V(se){return se&&E.value[se]?E.value[se].ticked:!1}function Z(se,ge){let he=v.value;const ye=t.ticked!==void 0;ye===!0&&(he=he.slice()),ge?he=he.concat(se).filter((ee,pe,ae)=>ae.indexOf(ee)===pe):he=he.filter(ee=>se.includes(ee)===!1),ye===!0&&o("update:ticked",he)}function H(se,ge,he){const ye={tree:a,node:se,key:he,color:t.color,dark:d.value};return injectProp(ye,"expanded",()=>ge.expanded,ee=>{ee!==ge.expanded&&M(he,ee)}),injectProp(ye,"ticked",()=>ge.ticked,ee=>{ee!==ge.ticked&&Z([he],ee)}),ye}function B(se){return(t.filter?se.filter(ge=>E.value[ge[t.nodeKey]].matchesFilter):se).map(ge=>X(ge))}function z(se){if(se.icon!==void 0)return h(QIcon,{class:"q-tree__icon q-mr-sm",name:se.icon,color:se.iconColor});const ge=se.img||se.avatar;if(ge)return h("img",{class:`q-tree__${se.img?"img":"avatar"} q-mr-sm`,src:ge})}function U(){o("afterShow")}function Q(){o("afterHide")}function X(se){const ge=se[t.nodeKey],he=E.value[ge],ye=se.header&&r[`header-${se.header}`]||r["default-header"],ee=he.isParent===!0?B(se[t.childrenKey]):[],pe=ee.length!==0||he.lazy&&he.lazy!=="loaded";let ae=se.body&&r[`body-${se.body}`]||r["default-body"];const ve=ye!==void 0||ae!==void 0?H(se,he,ge):null;return ae!==void 0&&(ae=h("div",{class:"q-tree__node-body relative-position"},[h("div",{class:C.value},[ae(ve)])])),h("div",{key:ge,class:`q-tree__node relative-position q-tree__node--${pe===!0?"parent":"child"}`},[h("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(he.link===!0?" q-tree__node--link q-hoverable q-focusable":"")+(he.selected===!0?" q-tree__node--selected":"")+(he.disabled===!0?" q-tree__node--disabled":""),tabindex:he.link===!0?0:-1,ariaExpanded:ee.length>0?he.expanded:null,role:"treeitem",onClick:we=>{ne(se,he,we)},onKeypress(we){shouldIgnoreKey(we)!==!0&&(we.keyCode===13?ne(se,he,we,!0):we.keyCode===32&&te(se,he,we,!0))}},[h("div",{class:"q-focus-helper",tabindex:-1,ref:we=>{A[he.key]=we}}),he.lazy==="loading"?h(QSpinner,{class:"q-tree__spinner",color:S.value}):pe===!0?h(QIcon,{class:"q-tree__arrow"+(he.expanded===!0?" q-tree__arrow--rotate":""),name:w.value,onClick(we){te(se,he,we)}}):null,he.hasTicking===!0&&he.noTick!==!0?h(QCheckbox,{class:"q-tree__tickbox",modelValue:he.indeterminate===!0?null:he.ticked,color:S.value,dark:d.value,dense:!0,keepColor:!0,disable:he.tickable!==!0,onKeydown:stopAndPrevent$1,"onUpdate:modelValue":we=>{ce(he,we)}}):null,h("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(he.selected===!0?T.value:C.value)},[ye?ye(ve):[z(se),h("div",se[t.labelKey])]])]),pe===!0?t.noTransition===!0?he.expanded===!0?h("div",{class:"q-tree__node-collapsible"+C.value,key:`${ge}__q`},[ae,h("div",{class:"q-tree__children"+(he.disabled===!0?" q-tree__node--disabled":""),role:"group"},ee)]):null:h(QSlideTransition,{duration:t.duration,onShow:U,onHide:Q},()=>withDirectives(h("div",{class:"q-tree__node-collapsible"+C.value,key:`${ge}__q`},[ae,h("div",{class:"q-tree__children"+(he.disabled===!0?" q-tree__node--disabled":""),role:"group"},ee)]),[[vShow,he.expanded]])):ae])}function J(se){const ge=A[se];ge&&ge.focus()}function ne(se,ge,he,ye){ye!==!0&&ge.selectable!==!1&&J(ge.key),_.value&&ge.selectable?t.noSelectionUnset===!1?o("update:selected",ge.key!==t.selected?ge.key:null):ge.key!==t.selected&&o("update:selected",ge.key===void 0?null:ge.key):te(se,ge,he,ye),typeof se.handler=="function"&&se.handler(se)}function te(se,ge,he,ye){he!==void 0&&stopAndPrevent$1(he),ye!==!0&&ge.selectable!==!1&&J(ge.key),M(ge.key,!ge.expanded,se,ge)}function ce(se,ge){if(se.indeterminate===!0&&(ge=se.indeterminateNextState),se.strictTicking)Z([se.key],ge);else if(se.leafTicking){const he=[],ye=ee=>{ee.isParent?(ge!==!0&&ee.noTick!==!0&&ee.tickable===!0&&he.push(ee.key),ee.leafTicking===!0&&ee.children.forEach(ye)):ee.noTick!==!0&&ee.tickable===!0&&(ee.leafFilteredTicking!==!0||ee.matchesFilter===!0)&&he.push(ee.key)};ye(se),Z(he,ge)}}return t.defaultExpandAll===!0&&G(),Object.assign(a,{getNodeByKey:F,getTickedNodes:O,getExpandedNodes:D,isExpanded:x,collapseAll:P,expandAll:G,setExpanded:M,isTicked:V,setTicked:Z}),()=>{const se=B(t.nodes);return h("div",{class:b.value,role:"tree"},se.length===0?t.filter?t.noResultsLabel||u.lang.tree.noResults:t.noNodesLabel||u.lang.tree.noNodes:se)}}}),stateExplorer_vue_vue_type_style_index_0_lang="";const _sfc_main$15=defineComponent({name:"StateExplorer",props:{id:{type:String,required:!0},selected:{type:String,default:""}},emits:["onChange"],data(){return{filter:"",loading:!0,states:{},objects:{},objectTree:{},instanceList:[],selectedItem:this.selected,expandedItems:[]}},computed:{locale(){return i18n.global.locale.value.substr(0,2)}},mounted(){this.getInstanceList().then(()=>{this.selected&&(this.expandNode(this.selected),setTimeout(()=>this.scrollSelectedNode(),2e3))})},methods:{scrollSelectedNode(){const t=document.querySelector(".q-tree__node--selected");t&&t.scrollIntoView(!1)},expandNode(t){if(t in this.objects){const r=t.split(".");r.splice(0,2,r[0]+"."+r[1]);let o="";r.forEach(a=>{o+=o?"."+a:a,this.$refs.StateExplorer.setExpanded(o,!0)})}},onLazyLoad({key:t,done:r}){const o=Connection.getConnection;let a=this.objectTree[t]&&this.objectTree[t].children||[];a=a.map(u=>(o.getState(u._id).then(d=>{this.states[u._id]=d.val}).catch(d=>{this.states[u._id]=""}),u.name=u.common&&(u.common.name[this.locale]||u.common.name)||"",u)),r(a)},onSelect(t){t=t||this.selectedItem,this.$refs.StateExplorer.isExpanded(t)?this.$refs.StateExplorer.setExpanded(t||this.selectedItem,!1):this.objectTree[t]&&this.objectTree[t].children&&this.$refs.StateExplorer.setExpanded(t,!0),this.selectedItem=t,this.$emit("onChange",{id:this.id||"StateExplorer",value:t||""})},filterMethod(t,r){console.warn(t._id,r);const o=this.objectTree[t._id]||null,a=t._id.indexOf(r)>-1;return o&&o.children&&o.children.forEach(u=>{console.log("->"+u._id)}),a},getInstanceList(){this.loading=!0;const t={},r=[{disabled:!0,isHeader:!0,_id:"root",label:"Object",type:"Type",val:"Value",common:{name:"Description",role:"Role"}}];return Connection.getConnection.getObjects().then(a=>{this.objects=a,Object.keys(a).forEach(d=>{const g=a[d];if(g){const v=g._id.substr(0,g._id.lastIndexOf(".")),y=g._id.substr(0,g._id.indexOf(".",g._id.indexOf(".")+1));y&&!r.find(b=>b._id===y)&&r.push({_id:y,label:y,name:"",lazy:!0}),t[v]=t[v]||{children:[]},t[v].children.findIndex(b=>b._id===g._id)===-1&&t[v].children.push({...g,label:g._id.substr(g._id.lastIndexOf(".")+1),lazy:g.type!=="state",isState:g.type==="state"});const A=g._id.split(".");A.length>2&&A.forEach((b,_)=>{const w=A.slice(0,_).join("."),S=w.substr(0,w.lastIndexOf("."));w&&S&&(t[S]=t[S]||{children:[]},t[S].children.findIndex(C=>C._id===w)===-1&&t[S].children.push({_id:w,label:w.substr(w.lastIndexOf(".")+1),lazy:!0,isState:!1}))})}});for(const d in t)t[d].children.sort((g,v)=>g.isState===!1&&v.isState===!0?-1:g.isState===!0&&v.isState===!1?1:g.label.toLowerCase()===v.label.toLowerCase()?0:g.label.toLowerCase()>v.label.toLowerCase()?1:-1);this.objectTree=t,this.instanceList=r.sort((d,g)=>d.isHeader===!0||g.isHeader===!0?1:d.label.toLowerCase()===g.label.toLowerCase()?0:d.label.toLowerCase()>g.label.toLowerCase()?1:-1)}).catch(a=>{console.error(a)}).finally(()=>{this.loading=!1})}}}),_hoisted_1$U={style:{"padding-bottom":"16px"}},_hoisted_2$J={class:"overflow-dots",style:{width:"5%"}},_hoisted_3$z={class:"overflow-dots q-pr-xs",style:{width:"20%"}},_hoisted_4$r={class:"overflow-dots q-pr-xs",style:{width:"35%"}},_hoisted_5$n={class:"overflow-dots",style:{width:"10%"}},_hoisted_6$j={class:"overflow-dots",style:{width:"15%"}},_hoisted_7$f={class:"overflow-dots",style:{width:"15%","max-width":"100px","white-space":"nowrap"}};function _sfc_render$15(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$U,[t.loading?(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})):(openBlock(),createBlock(v,{key:1,class:"q-pa-sm"},{default:withCtx(()=>[createVNode$1(QTree,{ref:"StateExplorer",nodes:t.instanceList,"node-key":"_id","label-key":"label","selected-color":"primary",selected:t.selectedItem,onLazyLoad:t.onLazyLoad,"onUpdate:selected":t.onSelect},{"default-header":withCtx(y=>[createBaseVNode("div",{class:normalizeClass(["row full-width",{item:!y.node.children||y.node.children.length===0}]),style:normalizeStyle$1(y.node.isHeader?"font-weight: bold; line-height: 30px; border-bottom: 1px solid rgba(0, 0, 0, 0.12)":"")},[createBaseVNode("div",_hoisted_2$J,[y.node.isHeader?createCommentVNode("",!0):(openBlock(),createBlock(g,{key:0,color:t.selectedItem&&t.selectedItem===y.node._id?"accent":"primary",name:y.node.type==="state"?t.selectedItem&&t.selectedItem===y.node._id?"mdi-bookmark":"mdi-bookmark-outline":"folder"},null,8,["color","name"]))]),createBaseVNode("div",_hoisted_3$z,toDisplayString$1(y.node.label),1),createBaseVNode("div",_hoisted_4$r,[y.node.name&&y.node.name.length>50?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.node.name),1)]),_:2},1024)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(y.node.name?y.node.name.length>50?y.node.name.substr(0,47)+"...":y.node.name:""),1)]),createBaseVNode("div",_hoisted_5$n,toDisplayString$1(y.node.type),1),createBaseVNode("div",_hoisted_6$j,toDisplayString$1(y.node.common&&y.node.common.role?y.node.common.role:""),1),createBaseVNode("div",_hoisted_7$f,[t.states[y.node._id]||y.node.val?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.states[y.node._id]||y.node.val),1)]),_:2},1024)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(t.states[y.node._id]||y.node.val),1)])],6)]),_:1},8,["nodes","selected","onLazyLoad","onUpdate:selected"])]),_:1}))])}var StateExplorer=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$15]]);const _sfc_main$14=defineComponent({name:"StateExplorerPopup",components:{StateExplorer},props:{open:{type:Boolean,default:!1}},emits:["onSave","onClose"],data(){return{state:""}},methods:{onClose(){this.$emit("onClose",{id:this.id||"StateExplorer",value:this.state})},onSave(){this.$emit("onSave",{id:this.id||"StateExplorer",value:this.state})},onChange({value:t}){this.state=t}}}),_hoisted_1$T={class:"text-h6"};function _sfc_render$14(t,r,o,a,u,d){const g=resolveComponent("state-explorer");return openBlock(),createBlock(QDialog,{"model-value":t.open,persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$T,toDisplayString$1(t.$t("State Explorer")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-sm scroll body"},{default:withCtx(()=>[createVNode$1(g,mergeProps(t.$attrs,{onOnChange:t.onChange}),null,16,["onOnChange"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onClose},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.state==="",onClick:t.onSave},null,8,["label","disable","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value"])}var StateExplorerPopup=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$14]]);const _sfc_main$13=defineComponent({name:"DeviceState",components:{StateExplorerPopup},props:{expanded:{type:Boolean,default:!1},device:{type:Object,required:!0},stateKey:{type:String,required:!0},stateList:{type:Array,required:!0}},emits:["onChange","setComponentProps"],setup(t,{emit:r}){const o=useEditor(),a=useIoBroker(),u=useI18n(),d=computed(()=>o.device.states[t.stateKey]),g=ref(!1),v=ref(!1),y=ref(t.expanded||!1);let A="";const b=()=>{r("onChange",{stateKey:t.stateKey,id:"state.newStateKey",value:A}),v.value=!v.value},_=()=>o.copyState({stateKey:t.stateKey}),w=()=>{A=t.stateKey,v.value=!v.value},S=()=>{y.value=!1,g.value=!0,o.removeState({stateKey:t.stateKey})},C=()=>{g.value=!1,o.restoreState({stateKey:t.stateKey})},T=ref(null),I=ref(null),E=(H,B)=>{T.value=H,I.value=B},F=()=>{T.value=null},O=({value:H})=>{D({id:T.value,stateKey:t.stateKey,value:H}),T.value=null},D=H=>{if(H._error)r("onChange",{...H,error:H._error,stateKey:t.stateKey,id:"state."+H.id});else if(H.id==="stateKeyModified")A=H.value;else{let B=H.value;try{B=B&&H.json!==void 0&&H.value.indexOf("{")>-1&&H.value.indexOf("}")>-1?JSON.parse(H.value):H.value}catch(z){console.warn(H.value,z)}r("onChange",{...H,value:B,stateKey:t.stateKey,id:"state."+H.id})}},x=computed(()=>{const H=Functions.Configurations[G.value]&&Functions.Configurations[G.value][t.stateKey.toLowerCase()]||{};return{display:JSON.stringify(H.display),stateStyle:JSON.stringify(H.stateStyle),properties:JSON.stringify(H.properties),label:H.label||"",unit:JSON.stringify(H.unit),icon:JSON.stringify(H.icon),iconStyle:JSON.stringify(H.iconStyle),bodyElement:H.bodyElement||"",actionElement:H.actionElement||""}}),P=ref([]);watch(d,()=>{const H=d.value.action&&d.value.action.node!==void 0&&d.value.action.node!==null?d.value.action.node:d.value.action||"";P.value=Array.isArray(H)?H:[H]},{immediate:!0});const G=computed(()=>t.device.function==="other"?"_defaults":t.device.function),M=computed(()=>{const H=d.value.bodyElement||d.value.bodyElement!==null&&x.value.bodyElement||null,B=d.value.actionElement||d.value.actionElement!==null&&x.value.actionElement||null;return{state:d.value.state&&d.value.state.node!==void 0?d.value.state.node:d.value.state||null,properties:d.value.properties||"",bodyStyle:d.value.bodyStyle||"",stateStyle:d.value.stateStyle||"",display:d.value.display||"",label:d.value.label||"",aliases:d.value.aliases||"",unit:d.value.unit||"",icon:d.value.icon||"",iconStyle:d.value.iconStyle||"",showState:d.value.showState!==void 0?d.value.showState:!1,bodyElement:d.value.bodyElement||null,bodyElementComponentValues:d.value[H+"Config"]||{},bodyElementPlaceholder:d.value.bodyElement!==null&&x.value.bodyElement||"",actionElement:d.value.actionElement||null,actionElementComponentValues:d.value[B+"Config"]||{},actionElementPlaceholder:d.value.actionElement!==null&&x.value.actionElement||"",hide:d.value.hide!==void 0?d.value.hide:!1}}),N=ref([]);a.isCloud(M.value)&&Connection.getConnection.getObject(P.value[0]||M.value.state).then(B=>{var X,J,ne,te,ce,se;let z=((J=(X=B==null?void 0:B.common)==null?void 0:X.smartName)==null?void 0:J[u.locale.value.substr(0,2)])||((te=(ne=B==null?void 0:B.common)==null?void 0:ne.smartName)==null?void 0:te.de)||((se=(ce=B==null?void 0:B.common)==null?void 0:ce.smartName)==null?void 0:se.en);z=z.split(",").map(ge=>ge.trim()),z.includes(t.device.name)&&N.value.push("device.name"),z.includes(t.device.label)&&N.value.push("device.label");const U=t.device.aliases;U&&U.split(",").every(ge=>z.includes(ge))&&N.value.push("device.aliases");const Q=M.value.aliases?M.value.aliases:M.value.label&&typeof M.value.label=="string"&&!M.value.label.startsWith("{")?M.value.label:"";Q&&Q.split(",").every(ge=>z.includes(ge))&&N.value.push("state.aliases")});const V=()=>{P.value.push("")},Z=H=>{P.value.splice(H,1)};return{isPro:Pro.isPro(),FunctionsComponentsList:Functions.ComponentsListAsOptions,icon:icon$n,isDeletedState:g,isEditingStateKey:v,isExpanded:y,onStateSave:b,onStateCopy:_,onStateEdit:w,onStateRemove:S,onStateRestore:C,onStateExplorerOpen:E,stateExplorer:T,stateExplorerSelected:I,onStateExplorerSave:O,onStateExplorerClose:F,onChange:D,placeholders:x,deviceFunction:G,deviceStates:M,actions:P,addAction:V,removeAction:Z,enabledHistory:computed(()=>a.enabledHistory),isHistory:computed(()=>o.isHistory(M.value.state)!==null?o.isHistory(M.value.state):a.isHistory(M.value.state)),optionsHistoryInstances:computed(()=>a.getHistoryInstances),valHistoryInstances:computed(()=>o.isHistory(M.value.state)!==null?Object.keys(o.history[M.value.state]):a.history[M.value.state]?Object.keys(a.history[M.value.state]):[]),enabledIoT:computed(()=>a.enabledIoT),isCloud:computed(()=>o.isCloud(M.value)!==null?o.isCloud(M.value):a.isCloud(M.value)),optionsCloudNames:computed(()=>{const H=[{label:u.t("Device")+" Name ("+t.device.name+")",value:"device.name"}];if(t.device.label&&H.push({label:u.t("Device")+" Label ("+t.device.label+")",value:"device.label"}),t.device.aliases&&H.push({label:u.t("Device")+" Aliases ("+t.device.aliases+")",value:"device.aliases"}),M.value.aliases||M.value.label&&typeof M.value.label=="string"&&!M.value.label.startsWith("{")){const B=M.value.aliases||M.value.label;H.push({label:u.t("State")+" Aliases ("+B+")",value:"state.aliases"})}return H}),valCloudNames:N,icons:computed(()=>M.value.icon&&(typeof M.value.icon!="string"||M.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(B=>({icon:"mdi:"+B,label:B,value:"mdi:"+B})))}}}),_hoisted_1$S={style:{margin:"auto 84px -1px auto"}},_hoisted_2$I={class:"row items-center"},_hoisted_3$y={class:"col row",style:{"align-items":"center"}},_hoisted_4$q={class:"row",style:{padding:"0 8px"}},_hoisted_5$m={class:"col-6"},_hoisted_6$i={class:"col-6"},_hoisted_7$e={class:"col-shrink",style:{margin:"auto 0px 32px 16px"}},_hoisted_8$e={class:"col"},_hoisted_9$e={class:"row",style:{padding:"0 8px"}},_hoisted_10$c={class:"col"},_hoisted_11$c={class:"col"},_hoisted_12$a={class:"row",style:{padding:"0 8px"}},_hoisted_13$9={class:"col"},_hoisted_14$9={class:"row",style:{padding:"0 8px"}},_hoisted_15$8={class:"col"},_hoisted_16$7={class:"row",style:{padding:"0 8px"}},_hoisted_17$6={class:"col"},_hoisted_18$6={class:"row",style:{padding:"0 8px"}},_hoisted_19$5={class:"col"},_hoisted_20$4={class:"col"},_hoisted_21$4={class:"row",style:{padding:"0 8px"}},_hoisted_22$3={class:"col"},_hoisted_23$3={class:"col"},_hoisted_24$3={class:"row",style:{padding:"0 8px"}},_hoisted_25$3={class:"col"},_hoisted_26$3={class:"col-2"},_hoisted_27$3={class:"col"},_hoisted_28$3={class:"row",style:{padding:"0 8px"}},_hoisted_29$3={class:"col-2"},_hoisted_30$3={class:"col-6"},_hoisted_31$2={class:"col-4"};function _sfc_render$13(t,r,o,a,u,d){const g=resolveComponent("state-explorer-popup"),v=resolveComponent("inputs"),y=resolveComponent("paper"),A=resolveComponent("icon");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{id:"stateExplorer",open:t.stateExplorer!==null,selected:t.stateExplorerSelected,onOnClose:t.onStateExplorerClose,onOnSave:t.onStateExplorerSave},null,8,["open","selected","onOnClose","onOnSave"]),withDirectives(createVNode$1(y,{class:"row",style:{margin:"-2px 0 0 0",padding:"0 0 10px 44px"}},{default:withCtx(()=>[createVNode$1(v,{id:"stateKeyModified",label:"",value:t.stateKey,"hide-bottom-space":"",dense:"",onOnChange:t.onChange,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},null,8,["value","onOnChange"]),createBaseVNode("div",_hoisted_1$S,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-check",onClick:t.onStateSave},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-cancel",onClick:t.onStateEdit},null,8,["onClick"])])]),_:1},512),[[vShow,t.isEditingStateKey===!0]]),withDirectives(createVNode$1(QExpansionItem,{modelValue:t.isExpanded,"onUpdate:modelValue":r[8]||(r[8]=b=>t.isExpanded=b),icon:"mdi-drag-horizontal",label:t.stateKey,class:normalizeClass(["paper full-width",{rowDeleted:t.isDeletedState}]),disable:t.isDeletedState},{header:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"dragndrop"},{default:withCtx(()=>[createVNode$1(A,{name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),createVNode$1(QItemSection,{class:normalizeClass({itemDeleted:t.isDeletedState})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.stateKey),1)]),_:1},8,["class"]),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$I,[withDirectives(createBaseVNode("div",_hoisted_3$y,[withDirectives(createVNode$1(v,{type:"button",disabled:!0,tooltip:t.$t("IoT Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-cloud-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledIoT]]),withDirectives(createVNode$1(v,{type:"button",disabled:!0,tooltip:t.$t("History Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-clock-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledHistory]]),t.isCloud?withDirectives((openBlock(),createBlock(v,{key:0,type:"button",tooltip:t.$t("IoT is activated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-check",onClick:r[1]||(r[1]=withModifiers(b=>{t.onChange({id:"addToCloud",value:[]}),t.valCloudNames=[]},["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledIoT]]):withDirectives((openBlock(),createBlock(v,{key:1,type:"button",tooltip:t.$t("IoT is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-outline",onClick:r[2]||(r[2]=withModifiers(b=>{t.onChange({id:"addToCloud",value:t.optionsCloudNames.map(_=>_.value)}),t.valCloudNames=t.optionsCloudNames.map(_=>_.value)},["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledIoT]]),t.isHistory?withDirectives((openBlock(),createBlock(v,{key:2,type:"button",tooltip:t.$t("History is activated"),size:"sm",flat:"",round:"",icon:"mdi-clock-check",onClick:r[3]||(r[3]=withModifiers(b=>t.onChange({id:"addToHistory",value:!1}),["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledHistory]]):withDirectives((openBlock(),createBlock(v,{key:3,type:"button",tooltip:t.$t("History is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-clock-outline",onClick:r[4]||(r[4]=withModifiers(b=>t.onChange({id:"addToHistory",value:!0}),["stop"]))},null,8,["tooltip"])),[[vShow,t.enabledHistory]]),createVNode$1(QSeparator,{vertical:"",inset:"",class:"q-mx-sm",style:{height:"24px"}}),withDirectives(createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:withModifiers(t.onStateEdit,["stop"])},null,8,["onClick"]),[[vShow,t.isEditingStateKey===!1]]),createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:withModifiers(t.onStateCopy,["stop"])},null,8,["onClick"]),createVNode$1(v,{type:"button",size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:withModifiers(t.onStateRemove,["stop"])},null,8,["onClick"])],512),[[vShow,t.isDeletedState!==!0]]),withDirectives(createBaseVNode("div",null,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:withModifiers(t.onStateRestore,["stop"])},null,8,["onClick"])],512),[[vShow,t.isDeletedState===!0]])])]),_:1})]),default:withCtx(()=>[createBaseVNode("div",_hoisted_4$q,[createBaseVNode("div",_hoisted_5$m,[createVNode$1(v,{id:"state",label:"config#Devices#state#label",info:"config#Devices#state#info",value:t.deviceStates.state||"",options:t.stateList,clearable:"",onOnChange:t.onChange},{end:withCtx(()=>[createVNode$1(QBtn,{round:"",dense:"",flat:"",icon:"mdi-database-search",color:"secondary",style:{height:"33px",margin:"auto"},onClick:r[5]||(r[5]=withModifiers(b=>t.onStateExplorerOpen("state",t.deviceStates.state),["stop"]))})]),_:1},8,["value","options","onOnChange"])]),createBaseVNode("div",_hoisted_6$i,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.actions,(b,_)=>(openBlock(),createElementBlock("div",{key:_,class:"row"},[createBaseVNode("div",_hoisted_7$e,[t.isPro?createCommentVNode("",!0):(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Multiple triggers only available to Pro"))+"! ",1)]),_:1})),createVNode$1(QBtn,{disable:!t.isPro||_===0&&t.actions[t.actions.length-1]==="",icon:_===0?"mdi-plus":"mdi-minus",color:_===0?"primary":"secondary",size:"sm",round:"",onClick:withModifiers(w=>_===0?t.addAction():t.removeAction(_),["stop"])},null,8,["disable","icon","color","onClick"])]),createBaseVNode("div",_hoisted_8$e,[createVNode$1(v,{id:"action",index:_,label:"config#Devices#action#label",info:"config#Devices#action#info",placeholder:_===0?t.deviceStates.state:"",value:b||"",options:t.stateList,clearable:"",onOnChange:t.onChange},{prepend:withCtx(()=>[createVNode$1(QAvatar,{color:"primary",class:"text-white",size:"xs"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),end:withCtx(()=>[createVNode$1(QBtn,{round:"",dense:"",flat:"",icon:"mdi-database-search",color:"secondary",style:{height:"33px",margin:"auto"},onClick:withModifiers(w=>t.onStateExplorerOpen("action",b||t.deviceStates.state),["stop"])},null,8,["onClick"])]),_:2},1032,["index","placeholder","value","options","onOnChange"])])]))),128))])]),createBaseVNode("div",_hoisted_9$e,[createBaseVNode("div",_hoisted_10$c,[createVNode$1(v,{id:"label",label:"config#Devices#label#label",value:t.deviceStates.label,json:"",placeholder:t.placeholders.label,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_11$c,[createVNode$1(v,{id:"aliases",label:"config#Devices#aliases#label",value:t.deviceStates.aliases,placeholder:t.deviceStates.label&&typeof t.deviceStates.label=="string"&&!t.deviceStates.label.startsWith("{")?t.deviceStates.label:"",onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_12$a,[createBaseVNode("div",_hoisted_13$9,[createVNode$1(v,{id:"bodyStyle",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.deviceStates.bodyStyle,json:"",placeholder:t.placeholders.bodyStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_14$9,[createBaseVNode("div",_hoisted_15$8,[createVNode$1(v,{id:"stateStyle",label:"config#Devices#stateStyle#label",info:"config#Devices#stateStyle#label",value:t.deviceStates.stateStyle,json:"",placeholder:t.placeholders.stateStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_16$7,[createBaseVNode("div",_hoisted_17$6,[createVNode$1(v,{id:"display",label:"config#Devices#display#label",info:"config#Devices#display#info",value:t.deviceStates.display,json:"",placeholder:t.placeholders.display,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_18$6,[createBaseVNode("div",_hoisted_19$5,[createVNode$1(v,{id:"properties",label:"config#Devices#properties#label",info:"config#Devices#properties#info",value:t.deviceStates.properties,json:"",placeholder:t.placeholders.properties,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_20$4,[createVNode$1(v,{id:"unit",label:"config#Devices#unit#label",info:"config#Devices#unit#info",value:t.deviceStates.unit,json:"allowTextInput",placeholder:t.placeholders.unit,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_21$4,[createBaseVNode("div",_hoisted_22$3,[createVNode$1(v,{id:"icon",label:"config#Devices#icon#label",info:"config#Devices#icon#info",link:"https://icon-sets.iconify.design/",value:t.deviceStates.icon,placeholder:t.placeholders.icon,icon:t.icon(t.deviceStates.icon),options:t.icons,"max-dropdown-options":300,json:"allowTextInput",onOnChange:t.onChange},null,8,["value","placeholder","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_23$3,[createVNode$1(v,{id:"iconStyle",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.deviceStates.iconStyle,json:"",placeholder:t.placeholders.iconStyle,onOnChange:t.onChange},null,8,["value","placeholder","onOnChange"])])]),createBaseVNode("div",_hoisted_24$3,[createBaseVNode("div",_hoisted_25$3,[createVNode$1(v,{id:"bodyElement",label:"config#Devices#bodyElement#label",value:t.deviceStates.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements[t.deviceFunction],"component-values":t.deviceStates.bodyElementComponentValues,placeholder:t.deviceStates.bodyElementPlaceholder,device:t.device,onOnSelect:r[6]||(r[6]=b=>t.onChange({...b,value:b.value||null})),onOnOptions:t.onChange},null,8,["value","components","component-values","placeholder","device","onOnOptions"])]),createBaseVNode("div",_hoisted_26$3,[createVNode$1(v,{id:"showState",type:"Switch",label:"config#Devices#showState#label",value:t.deviceStates.showState,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_27$3,[createVNode$1(v,{id:"actionElement",label:"config#Devices#actionElement#label",value:t.deviceStates.actionElement,type:"select.components",components:t.FunctionsComponentsList.actionElements[t.deviceFunction],"component-values":t.deviceStates.actionElementComponentValues,placeholder:t.deviceStates.actionElementPlaceholder,device:t.device,onOnSelect:r[7]||(r[7]=b=>t.onChange({...b,value:b.value||null})),onOnOptions:t.onChange},null,8,["value","components","component-values","placeholder","device","onOnOptions"])])]),createBaseVNode("div",_hoisted_28$3,[createBaseVNode("div",_hoisted_29$3,[createVNode$1(v,{id:"hide",type:"Switch",label:"config#Devices#hide#label",info:"config#Devices#hide#info",value:t.deviceStates.hide,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_30$3,[createVNode$1(v,{id:"addToCloud",type:"Select",multiple:!0,options:t.optionsCloudNames,label:"config#Devices#addToCloud#label",info:"config#Devices#addToCloud#info",value:t.valCloudNames,disable:!t.enabledIoT,onOnSelect:t.onChange},null,8,["options","value","disable","onOnSelect"])]),createBaseVNode("div",_hoisted_31$2,[createVNode$1(v,{id:"addToHistory",type:"Select",multiple:!0,options:t.optionsHistoryInstances,label:"config#Devices#addToHistory#label",info:"config#Devices#addToHistory#info",value:t.valHistoryInstances,disable:!t.enabledHistory,onOnSelect:t.onChange},null,8,["options","value","disable","onOnSelect"])])]),createVNode$1(QSeparator,{style:{"margin-top":"16px"}})]),_:1},8,["modelValue","label","class","disable"]),[[vShow,t.isEditingStateKey===!1]])],64)}var DeviceState=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$13]]);function useErrors(t){const r=useI18n(),o=ref(t||{}),a=computed(()=>Object.keys(o.value).length!==0);return{errors:o,hasErrors:a,addError:(v,y)=>{o.value[v]=r.t(y)},removeError:v=>{delete o.value[v]},resetErrors:()=>{o.value={}}}}/**! * Sortable 1.15.3 * @author RubaXa * @author owenm * @license MIT - */function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),o.push.apply(o,a)}return o}function _objectSpread2(t){for(var r=1;r=0)&&(o[u]=t[u]);return o}function _objectWithoutProperties(t,r){if(t==null)return{};var o=_objectWithoutPropertiesLoose(t,r),a,u;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(u=0;u=0)&&(!Object.prototype.propertyIsEnumerable.call(t,a)||(o[a]=t[a]))}return o}var version$1="1.15.3";function userAgent(t){if(typeof window!="undefined"&&window.navigator)return!!navigator.userAgent.match(t)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on$1(t,r,o){t.addEventListener(r,o,!IE11OrLess&&captureMode)}function off$1(t,r,o){t.removeEventListener(r,o,!IE11OrLess&&captureMode)}function matches(t,r){if(!!r){if(r[0]===">"&&(r=r.substring(1)),t)try{if(t.matches)return t.matches(r);if(t.msMatchesSelector)return t.msMatchesSelector(r);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(r)}catch(o){return!1}return!1}}function getParentOrHost(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function closest(t,r,o,a){if(t){o=o||document;do{if(r!=null&&(r[0]===">"?t.parentNode===o&&matches(t,r):matches(t,r))||a&&t===o)return t;if(t===o)break}while(t=getParentOrHost(t))}return null}var R_SPACE=/\s+/g;function toggleClass(t,r,o){if(t&&r)if(t.classList)t.classList[o?"add":"remove"](r);else{var a=(" "+t.className+" ").replace(R_SPACE," ").replace(" "+r+" "," ");t.className=(a+(o?" "+r:"")).replace(R_SPACE," ")}}function css$1(t,r,o){var a=t&&t.style;if(a){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(o=t.currentStyle),r===void 0?o:o[r];!(r in a)&&r.indexOf("webkit")===-1&&(r="-webkit-"+r),a[r]=o+(typeof o=="string"?"":"px")}}function matrix(t,r){var o="";if(typeof t=="string")o=t;else do{var a=css$1(t,"transform");a&&a!=="none"&&(o=a+" "+o)}while(!r&&(t=t.parentNode));var u=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return u&&new u(o)}function find$1(t,r,o){if(t){var a=t.getElementsByTagName(r),u=0,d=a.length;if(o)for(;u=d:g=u<=d,!g)return a;if(a===getWindowScrollingElement())break;a=getParentAutoScrollElement(a,!1)}return!1}function getChild(t,r,o,a){for(var u=0,d=0,g=t.children;d2&&arguments[2]!==void 0?arguments[2]:{},u=a.evt,d=_objectWithoutProperties(a,_excluded);PluginManager.pluginEvent.bind(Sortable)(r,o,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:u,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(v){_dispatchEvent({sortable:o,name:v,originalEvent:u})}},d))};function _dispatchEvent(t){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},t))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document!="undefined",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!!documentExists){if(IE11OrLess)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),_detectDirection=function t(r,o){var a=css$1(r),u=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),d=getChild(r,0,o),g=getChild(r,1,o),v=d&&css$1(d),y=g&&css$1(g),A=v&&parseInt(v.marginLeft)+parseInt(v.marginRight)+getRect(d).width,b=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+getRect(g).width;if(a.display==="flex")return a.flexDirection==="column"||a.flexDirection==="column-reverse"?"vertical":"horizontal";if(a.display==="grid")return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(d&&v.float&&v.float!=="none"){var _=v.float==="left"?"left":"right";return g&&(y.clear==="both"||y.clear===_)?"vertical":"horizontal"}return d&&(v.display==="block"||v.display==="flex"||v.display==="table"||v.display==="grid"||A>=u&&a[CSSFloatProperty]==="none"||g&&a[CSSFloatProperty]==="none"&&A+b>u)?"vertical":"horizontal"},_dragElInRowColumn=function t(r,o,a){var u=a?r.left:r.top,d=a?r.right:r.bottom,g=a?r.width:r.height,v=a?o.left:o.top,y=a?o.right:o.bottom,A=a?o.width:o.height;return u===v||d===y||u+g/2===v+A/2},_detectNearestEmptySortable=function t(r,o){var a;return sortables.some(function(u){var d=u[expando].options.emptyInsertThreshold;if(!(!d||lastChild(u))){var g=getRect(u),v=r>=g.left-d&&r<=g.right+d,y=o>=g.top-d&&o<=g.bottom+d;if(v&&y)return a=u}}),a},_prepareGroup=function t(r){function o(d,g){return function(v,y,A,b){var _=v.options.group.name&&y.options.group.name&&v.options.group.name===y.options.group.name;if(d==null&&(g||_))return!0;if(d==null||d===!1)return!1;if(g&&d==="clone")return d;if(typeof d=="function")return o(d(v,y,A,b),g)(v,y,A,b);var w=(g?v:y).options.group.name;return d===!0||typeof d=="string"&&d===w||d.join&&d.indexOf(w)>-1}}var a={},u=r.group;(!u||_typeof$1(u)!="object")&&(u={name:u}),a.name=u.name,a.checkPull=o(u.pull,!0),a.checkPut=o(u.put),a.revertClone=u.revertClone,r.group=a},_hideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","none")},_unhideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","")};documentExists&&!ChromeForAndroid&&document.addEventListener("click",function(t){if(ignoreNextClick)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function t(r){if(dragEl){r=r.touches?r.touches[0]:r;var o=_detectNearestEmptySortable(r.clientX,r.clientY);if(o){var a={};for(var u in r)r.hasOwnProperty(u)&&(a[u]=r[u]);a.target=a.rootEl=o,a.preventDefault=void 0,a.stopPropagation=void 0,o[expando]._onDragOver(a)}}},_checkOutsideTargetEl=function t(r){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(r.target)};function Sortable(t,r){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=r=_extends({},r),t[expando]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(g,v){g.setData("Text",v.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,t,o);for(var a in o)!(a in r)&&(r[a]=o[a]);_prepareGroup(r);for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this));this.nativeDraggable=r.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),r.supportPointer?on$1(t,"pointerdown",this._onTapStart):(on$1(t,"mousedown",this._onTapStart),on$1(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(on$1(t,"dragover",this),on$1(t,"dragenter",this)),sortables.push(this.el),r.store&&r.store.get&&this.sort(r.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function t(r){!this.el.contains(r)&&r!==this.el&&(lastTarget=null)},_getDirection:function t(r,o){return typeof this.options.direction=="function"?this.options.direction.call(this,r,o,dragEl):this.options.direction},_onTapStart:function t(r){if(!!r.cancelable){var o=this,a=this.el,u=this.options,d=u.preventOnFilter,g=r.type,v=r.touches&&r.touches[0]||r.pointerType&&r.pointerType==="touch"&&r,y=(v||r).target,A=r.target.shadowRoot&&(r.path&&r.path[0]||r.composedPath&&r.composedPath()[0])||y,b=u.filter;if(_saveInputCheckedState(a),!dragEl&&!(/mousedown|pointerdown/.test(g)&&r.button!==0||u.disabled)&&!A.isContentEditable&&!(!this.nativeDraggable&&Safari&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=closest(y,u.draggable,a,!1),!(y&&y.animated)&&lastDownEl!==y)){if(oldIndex=index$a(y),oldDraggableIndex=index$a(y,u.draggable),typeof b=="function"){if(b.call(this,r,y,this)){_dispatchEvent({sortable:o,rootEl:A,name:"filter",targetEl:y,toEl:a,fromEl:a}),pluginEvent("filter",o,{evt:r}),d&&r.cancelable&&r.preventDefault();return}}else if(b&&(b=b.split(",").some(function(_){if(_=closest(A,_.trim(),a,!1),_)return _dispatchEvent({sortable:o,rootEl:_,name:"filter",targetEl:y,fromEl:a,toEl:a}),pluginEvent("filter",o,{evt:r}),!0}),b)){d&&r.cancelable&&r.preventDefault();return}u.handle&&!closest(A,u.handle,a,!1)||this._prepareDragStart(r,v,y)}}},_prepareDragStart:function t(r,o,a){var u=this,d=u.el,g=u.options,v=d.ownerDocument,y;if(a&&!dragEl&&a.parentNode===d){var A=getRect(a);if(rootEl=d,dragEl=a,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=a,activeGroup=g.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(o||r).clientX,clientY:(o||r).clientY},tapDistanceLeft=tapEvt.clientX-A.left,tapDistanceTop=tapEvt.clientY-A.top,this._lastX=(o||r).clientX,this._lastY=(o||r).clientY,dragEl.style["will-change"]="all",y=function(){if(pluginEvent("delayEnded",u,{evt:r}),Sortable.eventCanceled){u._onDrop();return}u._disableDelayedDragEvents(),!FireFox&&u.nativeDraggable&&(dragEl.draggable=!0),u._triggerDragStart(r,o),_dispatchEvent({sortable:u,name:"choose",originalEvent:r}),toggleClass(dragEl,g.chosenClass,!0)},g.ignore.split(",").forEach(function(b){find$1(dragEl,b.trim(),_disableDraggable)}),on$1(v,"dragover",nearestEmptyInsertDetectEvent),on$1(v,"mousemove",nearestEmptyInsertDetectEvent),on$1(v,"touchmove",nearestEmptyInsertDetectEvent),on$1(v,"mouseup",u._onDrop),on$1(v,"touchend",u._onDrop),on$1(v,"touchcancel",u._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:r}),g.delay&&(!g.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on$1(v,"mouseup",u._disableDelayedDrag),on$1(v,"touchend",u._disableDelayedDrag),on$1(v,"touchcancel",u._disableDelayedDrag),on$1(v,"mousemove",u._delayedDragTouchMoveHandler),on$1(v,"touchmove",u._delayedDragTouchMoveHandler),g.supportPointer&&on$1(v,"pointermove",u._delayedDragTouchMoveHandler),u._dragStartTimer=setTimeout(y,g.delay)}else y()}},_delayedDragTouchMoveHandler:function t(r){var o=r.touches?r.touches[0]:r;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function t(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var r=this.el.ownerDocument;off$1(r,"mouseup",this._disableDelayedDrag),off$1(r,"touchend",this._disableDelayedDrag),off$1(r,"touchcancel",this._disableDelayedDrag),off$1(r,"mousemove",this._delayedDragTouchMoveHandler),off$1(r,"touchmove",this._delayedDragTouchMoveHandler),off$1(r,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(r,o){o=o||r.pointerType=="touch"&&r,!this.nativeDraggable||o?this.options.supportPointer?on$1(document,"pointermove",this._onTouchMove):o?on$1(document,"touchmove",this._onTouchMove):on$1(document,"mousemove",this._onTouchMove):(on$1(dragEl,"dragend",this),on$1(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(a){}},_dragStarted:function t(r,o){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:o}),this.nativeDraggable&&on$1(document,"dragover",_checkOutsideTargetEl);var a=this.options;!r&&toggleClass(dragEl,a.dragClass,!1),toggleClass(dragEl,a.ghostClass,!0),Sortable.active=this,r&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function t(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var r=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),o=r;r&&r.shadowRoot&&(r=r.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),r!==o);)o=r;if(dragEl.parentNode[expando]._isOutsideThisEl(r),o)do{if(o[expando]){var a=void 0;if(a=o[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:r,rootEl:o}),a&&!this.options.dragoverBubble)break}r=o}while(o=getParentOrHost(o));_unhideGhostForTarget()}},_onTouchMove:function t(r){if(tapEvt){var o=this.options,a=o.fallbackTolerance,u=o.fallbackOffset,d=r.touches?r.touches[0]:r,g=ghostEl&&matrix(ghostEl,!0),v=ghostEl&&g&&g.a,y=ghostEl&&g&&g.d,A=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),b=(d.clientX-tapEvt.clientX+u.x)/(v||1)+(A?A[0]-ghostRelativeParentInitialScroll[0]:0)/(v||1),_=(d.clientY-tapEvt.clientY+u.y)/(y||1)+(A?A[1]-ghostRelativeParentInitialScroll[1]:0)/(y||1);if(!Sortable.active&&!awaitingDragStarted){if(a&&Math.max(Math.abs(d.clientX-this._lastX),Math.abs(d.clientY-this._lastY))=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:r}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:r})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:r})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:r}),this.save()))),this._nulling()},_nulling:function t(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(r){r.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function t(r){switch(r.type){case"drop":case"dragend":this._onDrop(r);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(r),_globalDragOver(r));break;case"selectstart":r.preventDefault();break}},toArray:function t(){for(var r=[],o,a=this.el.children,u=0,d=a.length,g=this.options;uu.right+d||t.clientY>a.bottom&&t.clientX>a.left:t.clientY>u.bottom+d||t.clientX>a.right&&t.clientY>a.top}function _getSwapDirection(t,r,o,a,u,d,g,v){var y=a?t.clientY:t.clientX,A=a?o.height:o.width,b=a?o.top:o.left,_=a?o.bottom:o.right,w=!1;if(!g){if(v&&targetMoveDistanceb+A*d/2:y<_-A*d/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)w=!0;else if(lastDirection===1?y_-targetMoveDistance)return-lastDirection}else if(y>b+A*(1-u)/2&&y<_-A*(1-u)/2)return _getInsertDirection(r)}return w=w||g,w&&(y_-A*d/2)?y>b+A/2?1:-1:0}function _getInsertDirection(t){return index$a(dragEl){const g=t.value[d.oldIndex];t.value.splice(d.oldIndex,1),t.value.splice(d.newIndex,0,g),r&&r(t.value)};return watchEffect(()=>{const d=a.value&&(a.value.$el||a.value);d&&Sortable.create(d,{handle:".dragndrop",...o||{},onEnd:u})}),{elDragDrop:a}}var DevicePage_vue_vue_type_style_index_0_lang="";const _sfc_main$12=defineComponent({name:"DevicePage",components:{DeviceState},setup(){const t=useI18n(),r=useEditor(),o=ref([]);onMounted(()=>{const D=Connection.getConnection;D&&D.getObjects().then(x=>{o.value=Object.values(x).filter(P=>P.type==="state").sort((P,G)=>P._id.toLowerCase()===G._id.toLowerCase()?0:P._id.toLowerCase()>G._id.toLowerCase()?1:-1).map(P=>({label:P._id,value:P._id}))}).catch(x=>{console.error(x)})});const a=Object.keys(Functions.Icons||{}).map(D=>({label:t.t(D),icon:Functions.Icons[D]?"mdi-"+Functions.Icons[D].replace("mdi-",""):"",value:D})).sort((D,x)=>D.label.toLowerCase()===x.label.toLowerCase()?0:D.label.toLowerCase()>x.label.toLowerCase()?1:-1),u=ref(""),d=ref(null),g=computed(()=>Object.keys(r.device.states||{})),v=computed(()=>r.device.function==="_defaults"?[]:Object.keys(Functions.Configurations[r.device.function]||{})),y=computed(()=>{const D=Object.keys(r.device.states||{});return v.value.every(x=>x==="_any"||Functions.Configurations[r.device.function][x].ignore||D.indexOf(x)!==-1)}),A=()=>{v.value.reverse().forEach(D=>D!=="_any"&&!Functions.Configurations[r.device.function][D].ignore&&b(D))},b=D=>{setTimeout(()=>{D=typeof D=="string"?D:u.value,D?g.value.indexOf(D)>-1?d.value=t.t("State key already used"):(r.newState(D),u.value="",d.value=null):d.value=t.t("Type in a state key / identifier")},25)},_=computed({get(){return Object.values(r.device.states||{})},set(D){const x={};D.forEach(P=>{x[P.stateKey]=P}),r.set("device.states",x)}}),{errors:w,hasErrors:S,addError:C,removeError:T,resetErrors:I}=useErrors(),E=()=>r.saveDevice(),F=()=>r.discardDevice(),O=D=>{if(D.error||D._error)C(D.id,D.error||D._error);else if(D.id.indexOf("device.")!==-1)T(D.id),r.editDeviceField({key:D.id.replace("device.",""),val:D.value});else if(D.id.indexOf("options.")!==-1)T(D.id),r.editDeviceField({key:"options",val:{...r.device.options||{},[D.id.replace("options.","")]:D.value}});else if(D.id.indexOf("state.")!==-1)if(T(D.id),D.id==="state.newStateKey")r.changeStateKey({stateKey:D.stateKey,stateKeyModified:D.value});else if(D.id==="state.componentOptions"){T(D.id);const x=r.device.states[D.stateKey][D.component+"Config"]||{};r.editStateField({stateKey:D.stateKey,key:D.component+"Config",val:{...x,...D.value}})}else r.editStateField({stateKey:D.stateKey,key:D.id.replace("state.",""),val:D.value,index:D.index});else D.id==="newStateKey"&&(u.value=D.value)};return watch(()=>r.device,()=>I()),{icon:icon$n,...useDragDrop(_,D=>_.value=D),errors:w,hasErrors:S,stateList:o,functions:a,addStateKey:b,addDefaultStates:A,compareStatesToDefaults:y,device:computed(()=>r.device),deviceStates:_,component:ref(null),newStateKey:u,errorNewStateKey:d,onApply:E,onCancel:F,onChange:O,functionIcon:computed(()=>{const D=r.device.function==="other"?"_defaults":r.device.function,x=a.find(P=>P.value===D);return x?x.icon:""}),rooms:computed(()=>r.rooms.map(x=>({label:x,value:x}))),icons:computed(()=>Object.keys(Cache$1.get("icons.mdi.alias",{})).map(x=>({icon:"mdi:"+x,label:x,value:"mdi:"+x})))}}}),_hoisted_1$R={class:"text-h6 row items-center"},_hoisted_2$H={class:"text-h6 text-header primary"},_hoisted_3$x={class:"row"},_hoisted_4$p={class:"col-3"},_hoisted_5$l={class:"col-4"},_hoisted_6$h={class:"col-5"},_hoisted_7$d={class:"row"},_hoisted_8$d={class:"col-2"},_hoisted_9$d={class:"col-2"},_hoisted_10$b={class:"col-3"},_hoisted_11$b={class:"col-5"},_hoisted_12$9={class:"text-h6 text-header primary"},_hoisted_13$8={class:"row"},_hoisted_14$8={class:"col-2"},_hoisted_15$7={class:"col-2"},_hoisted_16$6={class:"text-h6 text-header primary"},_hoisted_17$5={class:"row",style:{"margin-bottom":"16px"}},_hoisted_18$5={class:"col"},_hoisted_19$4={class:"col self-center"},_hoisted_20$3={class:"col self-center",style:{"text-align":"right"}},_hoisted_21$3={ref:"elDragDrop",class:"list-group"};function _sfc_render$12(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("device-state");return openBlock(),createBlock(QDialog,{"model-value":t.device!==null,"full-height":"",persistent:""},{default:withCtx(()=>[t.device!==null?(openBlock(),createBlock(QCard,{key:0,class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$R,[createTextVNode(toDisplayString$1(t.$t("Device"))+": ",1),createVNode$1(g,{id:"device.name",dense:"",label:t.$t("Name"),value:t.device.name||"",required:"",autofocus:"",style:{width:"230px","margin-right":"16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"]),createTextVNode(" ("+toDisplayString$1(t.$t("Device ID")+": "+t.device.id)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col defaultPadding-2 q-pt-none scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$H,toDisplayString$1(t.$t("General")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_3$x,[createBaseVNode("div",_hoisted_4$p,[createVNode$1(g,{id:"device.icon",label:t.$t("Icon"),value:t.device.icon||"",icon:t.icon(t.device.icon),options:t.icons,"max-dropdown-options":300,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$l,[createVNode$1(g,{id:"device.label",label:t.$t("Label"),info:t.$t("config#Device#state#label"),value:t.device.label||"",placeholder:t.device.name,onOnChange:t.onChange},null,8,["label","info","value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_6$h,[createVNode$1(g,{id:"device.aliases",label:t.$t("Aliases"),info:t.$t("config#Device#state#aliases"),value:t.device.aliases||"",onOnChange:t.onChange},null,8,["label","info","value","onOnChange"])])]),createBaseVNode("div",_hoisted_7$d,[createBaseVNode("div",_hoisted_8$d,[createVNode$1(g,{id:"device.floor",label:t.$t("Floor"),icon:"mdi-home",value:t.device.floor||"",maxlength:"2",onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_9$d,[createVNode$1(g,{id:"device.room",label:t.$t("Room"),icon:"mdi-floor-plan",value:t.device.room||"",options:t.rooms,onOnChange:t.onChange},null,8,["label","value","options","onOnChange"])]),createBaseVNode("div",_hoisted_10$b,[createVNode$1(g,{id:"device.function",label:t.$t("Function"),icon:t.functionIcon?t.functionIcon:"mdi-folder-home",value:t.device.function==="other"?"_defaults":t.device.function,type:"select",options:t.functions,"options-dense":"",onOnSelect:t.onChange},null,8,["label","icon","value","options","onOnSelect"])]),createBaseVNode("div",_hoisted_11$b,[createVNode$1(g,{id:"device.tags",label:t.$t("Tags"),icon:"mdi-tag-multiple",info:t.$t("config#Device#state#tags"),value:t.device.tags,type:"select","hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},null,8,["label","info","value","onOnSelect"])])]),createBaseVNode("div",_hoisted_12$9,toDisplayString$1(t.$t("Options")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_13$8,[createBaseVNode("div",_hoisted_14$8,[createVNode$1(g,{id:"options.sortBy",type:"number",label:"Sort By",info:"SortBy#info",value:t.device.options.sortBy!==void 0?t.device.options.sortBy:0,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_15$7,[createVNode$1(g,{id:"options.suppressPopup",type:"switch",label:"Suppress Popup","indeterminate-value":"false",value:t.device.options.suppressPopup!==void 0?t.device.options.suppressPopup:!1,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_16$6,toDisplayString$1(t.$t("States")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_17$5,[createBaseVNode("div",_hoisted_18$5,[createVNode$1(g,{id:"newStateKey",debounce:10,value:t.newStateKey,label:"new state key",icon:"mdi-plus","error-message":t.errorNewStateKey,onKeydown:withKeys(withModifiers(t.addStateKey,["stop"]),["enter"]),onOnChange:t.onChange},null,8,["value","error-message","onKeydown","onOnChange"])]),createBaseVNode("div",_hoisted_19$4,[createVNode$1(QBtn,{color:"primary",label:t.$t("add state"),icon:"mdi-plus-circle",onClick:t.addStateKey},null,8,["label","onClick"])]),createBaseVNode("div",_hoisted_20$3,[t.device.function!=="_defaults"?(openBlock(),createBlock(QBtn,{key:0,color:"secondary",label:t.$t("add default states"),icon:t.compareStatesToDefaults?"mdi-check":"mdi-playlist-plus",disable:t.compareStatesToDefaults,onClick:t.addDefaultStates},null,8,["label","icon","disable","onClick"])):createCommentVNode("",!0)])]),createBaseVNode("ul",_hoisted_21$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.deviceStates,y=>(openBlock(),createElementBlock("li",{key:y.stateKey,class:"list-group-item"},[createVNode$1(v,{expanded:!1,device:t.device,"state-key":y.stateKey,"state-list":t.stateList,onOnChange:t.onChange,onSetComponentProps:r[0]||(r[0]=A=>t.component=arguments[0])},null,8,["device","state-key","state-list","onOnChange"])]))),128))],512)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.hasErrors,onClick:t.onApply},null,8,["label","disable","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])}var DevicePage=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$12]]),ImportDevices_vue_vue_type_style_index_0_lang="";const _sfc_main$11=defineComponent({name:"ImportDevices",props:{open:{type:Boolean,default:!1}},emits:["onClose"],setup(){const t=useI18n(),r=useEditor(),o=useIoBroker();return{i18n:t,editor:r,instanceList:computed(()=>o.instanceList?o.instanceList.val:[])}},data(){return this.ucFirst=ucFirst,{totalAdapters:0,selectedAdapters:[],adapterStructure:"all",adapterStructureOptions:[{label:this.i18n.t("Search adapter structure for all devices"),value:"all"},{label:this.i18n.t("Search only for devices added to enums"),value:"enums"}],categories:{new:"New Devices",existing:"Devices that have been added already",incorrect:"Devices with incorrect configuration (states not found)",ignored:"Devices marked as ignored"},expanded:{_adapterList:!0,new:!0},importedDevices:{all:{},new:{},existing:{},incorrect:{},ignored:{},manufacturer:{}},selectedDevices:{new:[],existing:[],ignored:[]},showImportDevices:!1,state:null}},computed:{importDevicesLength(){return this.selectedDevices.new.length+this.selectedDevices.existing.length},importedDevicesLength(){return{all:Object.keys(this.importedDevices.all).length,new:Object.keys(this.importedDevices.new).length,existing:Object.keys(this.importedDevices.existing).length,incorrect:Object.keys(this.importedDevices.incorrect).length,ignored:Object.keys(this.importedDevices.ignored).length}},filteredAdapterList(){return Object.values(adapters).filter(t=>this.instanceList.some(r=>r.startsWith(t.namespace+"."))).map(t=>({...t,devices:this.importedDevices.manufacturer[t.namespace]?this.importedDevices.manufacturer[t.namespace].length:0,name:t.default}))}},watch:{instanceList(){this.toggleAllAdapterListItems()},open(t){this.showImportDevices=t}},mounted(){this.toggleAllDevicesListItems("new")},methods:{importDevices(){this.state=null,this.onClose();const t=_default(this.editor.devices),r=[...this.selectedDevices.new,...this.selectedDevices.existing];for(const a of r)t[a]?(Object.keys(this.importedDevices.all[a].states).forEach(u=>{t[a].states[u]={...this.importedDevices.all[a].states[u],...t[a].states[u]||{}}}),t[a].tags=[...new Set([...this.importedDevices.all[a].tags||[],...t[a].tags||[]])]):t[a]=this.importedDevices.all[a];const o=Object.keys(this.importedDevices.ignored);for(const a of o)t[a]=this.importedDevices.ignored[a],t[a].attributes=t[a].attributes||{},t[a].attributes.ignore=!0;this.editor.addDevices({devices:t})},onClose(){this.expanded._adapterList=!0,this.showImportDevices=!1,this.$emit("onClose",this.showImportDevices)},readAdapters(){this.state="loading",this.adapterStructure==="all"?ioBroker.importDevices(this.selectedAdapters).then(this.setImportedDevices).catch(t=>{console.error("ImportDevicesPage","IMPORT_DEVICES: "+t.message)}):ioBroker.importEnums("functions",this.selectedAdapters).then(this.setImportedDevices).catch(t=>{console.error("ImportDevicesPage","IMPORT_ENUMS: "+t.message)})},setImportedDevices(t){this.expanded._adapterList=!1,this.importedDevices={all:{},new:{},existing:{},incorrect:{},ignored:{},manufacturer:{}};const r=this.editor.devices||{};t.forEach((o,a)=>{const u=o.value||o.reason;u.attributes=u.attributes||{};let d="new";if(o.status==="fulfilled"&&o.value&&o.value.states&&Object.keys(o.value.states).length>0?r[u.id]!==void 0&&(d="existing",r[u.id].attributes&&r[u.id].attributes.ignore===!0&&(d="ignored")):(d="incorrect",u.states=null,u.attributes.note=u.attributes.note||o.reason&&o.reason.error&&o.reason.error.message||this.i18n.t("No correct defined states found. The device may be unknown. Please help the developer to add support for this device and report to Github.")),this.importedDevices[d][u.id]=u,this.importedDevices.all[u.id]=u,u.tags&&u.tags.length!==0){const g=u.tags[0];this.importedDevices.manufacturer[g]=this.importedDevices.manufacturer[g]||[],this.importedDevices.manufacturer[g].push(u.id)}}),this.selectedDevices.new=Object.keys(this.importedDevices.new),this.state="loaded"},toggleAllAdapterListItems(){if(this.selectedAdapters.length>0)this.selectedAdapters=[];else{const t=this.instanceList.filter(o=>Object.keys(adapters).includes(o.substr(0,o.indexOf(".")))),r=[];this.totalAdapters=0,t.forEach(o=>{const a=o.substr(0,o.indexOf("."));r.includes(a)||(r.push(a),this.totalAdapters++)}),this.selectedAdapters=r}},toggleAllDevicesListItems(t){this.selectedDevices[t].length>0?this.selectedDevices[t]=[]:this.selectedDevices[t]=Object.keys(this.importedDevices[t])},ignoreDevice(t){this.importedDevices.ignored[t.id]=t,delete this.importedDevices.new[t.id],delete this.selectedDevices.new[this.selectedDevices.new.indexOf(t.id)]},restoreDevice(t){this.importedDevices.new[t.id]=t,this.selectedDevices.new.push(t.id),delete this.importedDevices.ignored[t.id]}}}),_hoisted_1$Q={class:"text-h6"},_hoisted_2$G={class:"text-h6 text-header primary"},_hoisted_3$w={key:0,style:{"margin-bottom":"16px"}},_hoisted_4$o={class:"text-h6 text-header primary"},_hoisted_5$k={class:"q-pa-sm"},_hoisted_6$g={key:0},_hoisted_7$c={key:1,style:{width:"40px"}},_hoisted_8$c={style:{"padding-left":"72px"}},_hoisted_9$c={class:"stateList"};function _sfc_render$11(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QDialog,{modelValue:t.showImportDevices,"onUpdate:modelValue":r[3]||(r[3]=v=>t.showImportDevices=v),persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$Q,toDisplayString$1(t.$t("Import Devices")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-sm scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$G,toDisplayString$1(t.$t("Adapter")),1),createVNode$1(QSeparator),createVNode$1(QField,{label:t.$t("Search the adapter structure for all devices or only devices added to enums"),"stack-label":"",borderless:"",class:"q-pa-sm"},{control:withCtx(()=>[createVNode$1(QOptionGroup,{modelValue:t.adapterStructure,"onUpdate:modelValue":r[0]||(r[0]=v=>t.adapterStructure=v),options:t.adapterStructureOptions,color:"primary",inline:""},null,8,["modelValue","options"])]),_:1},8,["label"]),createVNode$1(QExpansionItem,{modelValue:t.expanded._adapterList,"onUpdate:modelValue":r[2]||(r[2]=v=>t.expanded._adapterList=v),class:"paper shadow-1 rounded-borders full-width"},{header:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter List")),1)]),_:1}),t.state==="loaded"?(openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[createVNode$1(QChip,{color:"secondary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices"))+": "+toDisplayString$1(t.importedDevicesLength.all),1)]),_:1})]),_:1})):createCommentVNode("",!0)]),default:withCtx(()=>[createVNode$1(QList,{dense:"",style:{"margin-bottom":"16px"}},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{tag:"label",onClick:withModifiers(t.toggleAllAdapterListItems,["prevent"])},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","false-value":0,"true-value":t.totalAdapters,"model-value":t.selectedAdapters.length,"onUpdate:modelValue":t.toggleAllAdapterListItems},null,8,["true-value","model-value","onUpdate:modelValue"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("(Un)Select all adapters"))+" ("+toDisplayString$1(t.selectedAdapters.length)+")",1)]),_:1})]),_:1})]),_:1},8,["onClick"])),[[Ripple]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filteredAdapterList,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.namespace,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{modelValue:t.selectedAdapters,"onUpdate:modelValue":r[1]||(r[1]=y=>t.selectedAdapters=y),size:"xs",val:v.namespace},null,8,["modelValue","val"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.name)+" ",1),createVNode$1(g,{name:"information",color:"primary",class:"q-ma-xs",style:{"font-size":"1.2rem"}}),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("import#warning").replace("%deviceObjectType%",v.deviceObjectType||"device").replace("%devicePattern%",v.devicePattern||"")),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[t.state==="loaded"&&t.selectedAdapters.indexOf(v.namespace)>-1?(openBlock(),createBlock(QChip,{key:0,color:"primary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices"))+": "+toDisplayString$1(v.devices),1)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Ripple]])),128))]),_:1})]),_:1},8,["modelValue"]),t.state!==null?(openBlock(),createElementBlock("div",_hoisted_3$w,[createBaseVNode("div",_hoisted_4$o,toDisplayString$1(t.$t("Devices")),1),createVNode$1(QSeparator),createBaseVNode("div",_hoisted_5$k,[t.state==="loading"?(openBlock(),createBlock(QSpinner,{key:0,color:"primary",size:"md"})):createCommentVNode("",!0)]),t.state==="loaded"?(openBlock(),createElementBlock("div",_hoisted_6$g,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.categories,(v,y)=>(openBlock(),createBlock(QExpansionItem,{key:y,modelValue:t.expanded[y],"onUpdate:modelValue":A=>t.expanded[y]=A,class:"paper shadow-1 rounded-borders full-width",disable:t.importedDevicesLength[y]===0,style:{"margin-bottom":"8px"}},{header:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v)),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QChip,{color:"secondary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.importedDevicesLength[y]),1)]),_:2},1024)]),_:2},1024)]),default:withCtx(()=>[t.importedDevicesLength[y]>0?(openBlock(),createBlock(QList,{key:0,dense:""},{default:withCtx(()=>[y==="new"||y==="existing"?withDirectives((openBlock(),createBlock(QItem,{key:0,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{"model-value":t.selectedDevices[y].length!==0,onClick:withModifiers(A=>t.toggleAllDevicesListItems(y),["stop"])},null,8,["model-value","onClick"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("(Un)Select all devices"))+" ("+toDisplayString$1(t.selectedDevices[y].length)+")",1)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Ripple]]):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.importedDevices[y],A=>(openBlock(),createBlock(QExpansionItem,{key:A.id,"expand-icon-toggle":"","expand-separator":"",dense:"",class:"full-width"},{header:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{tag:"label",disable:y!=="new"&&y!=="existing",class:"full-width"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[y==="new"||y==="existing"?(openBlock(),createBlock(QCheckbox,{key:0,modelValue:t.selectedDevices[y],"onUpdate:modelValue":b=>t.selectedDevices[y]=b,val:A.id},null,8,["modelValue","onUpdate:modelValue","val"])):(openBlock(),createElementBlock("div",_hoisted_7$c))]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.name)+" ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(A.tags,b=>(openBlock(),createBlock(QChip,{key:b,color:"accent","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[y==="new"?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("ignore"),color:"negative",onClick:b=>t.ignoreDevice(A)},null,8,["label","onClick"])):createCommentVNode("",!0),y==="ignored"?(openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t("restore"),color:"positive",onClick:b=>t.restoreDevice(A)},null,8,["label","onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["disable"])),[[Ripple]])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8$c,[createTextVNode(toDisplayString$1(t.$t("Function"))+": "+toDisplayString$1(t.$t(A.function)),1),r[4]||(r[4]=createBaseVNode("br",null,null,-1)),createTextVNode(" "+toDisplayString$1(t.$t("Room"))+": "+toDisplayString$1(t.$t(A.room))+" ",1),createBaseVNode("ul",_hoisted_9$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.states,(b,_)=>(openBlock(),createElementBlock("li",{key:_},[createBaseVNode("strong",null,toDisplayString$1(_),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(b,(w,S)=>(openBlock(),createElementBlock("ul",{key:S,class:"stateKeyList"},[createBaseVNode("li",null,[createTextVNode(toDisplayString$1(t.$t(t.ucFirst(S)))+": ",1),createBaseVNode("code",null,toDisplayString$1(w),1)])]))),128))]))),128))])])]),_:2},1024))),128))]),_:2},1024)):createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","disable"]))),128))])):createCommentVNode("",!0)])):createCommentVNode("",!0)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onClose},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Read Adapters"),color:"secondary",loading:t.state==="loading",disable:t.selectedAdapters.length===0,onClick:t.readAdapters},null,8,["label","loading","disable","onClick"]),t.state==="loaded"?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("Import selected devices")+" ("+t.importDevicesLength+")",color:"primary",disable:t.importDevicesLength===0,onClick:t.importDevices},null,8,["label","disable","onClick"])):createCommentVNode("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}var ImportDevices=_export_sfc$1(_sfc_main$11,[["render",_sfc_render$11]]),QTh=createComponent({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{proxy:{$q:u}}=a,d=g=>{o("click",g)};return()=>{if(t.props===void 0)return h("th",{class:t.autoWidth===!0?"q-table--col-auto-width":"",onClick:d},hSlot(r.default));let g,v;const y=a.vnode.key;if(y){if(g=t.props.colsMap[y],g===void 0)return}else g=t.props.col;if(g.sortable===!0){const b=g.align==="right"?"unshift":"push";v=hUniqueSlot(r.default,[]),v[b](h(QIcon,{class:g.__iconClass,name:u.iconSet.table.arrowUp}))}else v=hSlot(r.default);const A={class:g.__thClass+(t.autoWidth===!0?" q-table--col-auto-width":""),style:g.headerStyle,onClick:b=>{g.sortable===!0&&t.props.sort(g),d(b)}};return h("th",A,v)}}}),QTr=createComponent({name:"QTr",props:{props:Object,noHover:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-tr"+(t.props===void 0||t.props.header===!0?"":" "+t.props.__trClass)+(t.noHover===!0?" q-tr--no-hover":""));return()=>h("tr",{class:o.value},hSlot(r.default))}}),QTd=createComponent({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(t,{slots:r}){const o=getCurrentInstance(),a=computed(()=>"q-td"+(t.autoWidth===!0?" q-table--col-auto-width":"")+(t.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(t.props===void 0)return h("td",{class:a.value},hSlot(r.default));const u=o.vnode.key,d=(t.props.colsMap!==void 0?t.props.colsMap[u]:null)||t.props.col;if(d===void 0)return;const{row:g}=t.props;return h("td",{class:a.value+d.__tdClass(g),style:d.__tdStyle(g)},hSlot(r.default))}}});const separatorValues=["horizontal","vertical","cell","none"];var QMarkupTable=createComponent({name:"QMarkupTable",props:{...useDarkProps,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:t=>separatorValues.includes(t)}},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),u=computed(()=>`q-markup-table q-table__container q-table__card q-table--${t.separator}-separator`+(a.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(t.dense===!0?" q-table--dense":"")+(t.flat===!0?" q-table--flat":"")+(t.bordered===!0?" q-table--bordered":"")+(t.square===!0?" q-table--square":"")+(t.wrapCells===!1?" q-table--no-wrap":""));return()=>h("div",{class:u.value},[h("table",{class:"q-table"},hSlot(r.default))])}});function getTableMiddle(t,r){return h("div",t,[h("table",{class:"q-table"},r)])}const comps={list:QList,table:QMarkupTable},typeOptions=["list","table","__qtable"];var QVirtualScroll=createComponent({name:"QVirtualScroll",props:{...useVirtualScrollProps,type:{type:String,default:"list",validator:t=>typeOptions.includes(t)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:scrollTargetProp},setup(t,{slots:r,attrs:o}){let a;const u=ref(null),d=computed(()=>t.itemsSize>=0&&t.itemsFn!==void 0?parseInt(t.itemsSize,10):Array.isArray(t.items)?t.items.length:0),{virtualScrollSliceRange:g,localResetVirtualScroll:v,padVirtualScroll:y,onVirtualScrollEvt:A}=useVirtualScroll({virtualScrollLength:d,getVirtualScrollTarget:C,getVirtualScrollEl:S}),b=computed(()=>{if(d.value===0)return[];const F=(O,D)=>({index:g.value.from+D,item:O});return t.itemsFn===void 0?t.items.slice(g.value.from,g.value.to).map(F):t.itemsFn(g.value.from,g.value.to-g.value.from).map(F)}),_=computed(()=>"q-virtual-scroll q-virtual-scroll"+(t.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(t.scrollTarget!==void 0?"":" scroll")),w=computed(()=>t.scrollTarget!==void 0?{}:{tabindex:0});watch(d,()=>{v()}),watch(()=>t.scrollTarget,()=>{I(),T()});function S(){return u.value.$el||u.value}function C(){return a}function T(){a=getScrollTarget(S(),t.scrollTarget),a.addEventListener("scroll",A,listenOpts$1.passive)}function I(){a!==void 0&&(a.removeEventListener("scroll",A,listenOpts$1.passive),a=void 0)}function E(){let F=y(t.type==="list"?"div":"tbody",b.value.map(r.default));return r.before!==void 0&&(F=r.before().concat(F)),hMergeSlot(r.after,F)}return onBeforeMount(()=>{v()}),onMounted(()=>{T()}),onActivated(()=>{T()}),onDeactivated(()=>{I()}),onBeforeUnmount(()=>{I()}),()=>{if(r.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return t.type==="__qtable"?getTableMiddle({ref:u,class:"q-table__middle "+_.value},E()):h(comps[t.type],{...o,ref:u,class:[o.class,_.value],...w.value},E)}}});let counter=0;const useFullscreenProps={fullscreen:Boolean,noRouteFullscreenExit:Boolean},useFullscreenEmits=["update:fullscreen","fullscreen"];function useFullscreen$1(){const t=getCurrentInstance(),{props:r,emit:o,proxy:a}=t;let u,d,g;const v=ref(!1);vmHasRouter(t)===!0&&watch(()=>a.$route.fullPath,()=>{r.noRouteFullscreenExit!==!0&&b()}),watch(()=>r.fullscreen,_=>{v.value!==_&&y()}),watch(v,_=>{o("update:fullscreen",_),o("fullscreen",_)});function y(){v.value===!0?b():A()}function A(){v.value!==!0&&(v.value=!0,g=a.$el.parentNode,g.replaceChild(d,a.$el),document.body.appendChild(a.$el),counter++,counter===1&&document.body.classList.add("q-body--fullscreen-mixin"),u={handler:b},History.add(u))}function b(){v.value===!0&&(u!==void 0&&(History.remove(u),u=void 0),g.replaceChild(a.$el,d),v.value=!1,counter=Math.max(0,counter-1),counter===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),a.$el.scrollIntoView!==void 0&&setTimeout(()=>{a.$el.scrollIntoView()})))}return onBeforeMount(()=>{d=document.createElement("span")}),onMounted(()=>{r.fullscreen===!0&&A()}),onBeforeUnmount(b),Object.assign(a,{toggleFullscreen:y,setFullscreen:A,exitFullscreen:b}),{inFullscreen:v,toggleFullscreen:y}}function sortDate(t,r){return new Date(t)-new Date(r)}const useTableSortProps={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:t=>t==="ad"||t==="da",default:"ad"}};function useTableSort(t,r,o,a){const u=computed(()=>{const{sortBy:v}=r.value;return v&&o.value.find(y=>y.name===v)||null}),d=computed(()=>t.sortMethod!==void 0?t.sortMethod:(v,y,A)=>{const b=o.value.find(S=>S.name===y);if(b===void 0||b.field===void 0)return v;const _=A===!0?-1:1,w=typeof b.field=="function"?S=>b.field(S):S=>S[b.field];return v.sort((S,C)=>{let T=w(S),I=w(C);return b.rawSort!==void 0?b.rawSort(T,I,S,C)*_:T==null?-1*_:I==null?1*_:b.sort!==void 0?b.sort(T,I,S,C)*_:isNumber$6(T)===!0&&isNumber$6(I)===!0?(T-I)*_:isDate$6(T)===!0&&isDate$6(I)===!0?sortDate(T,I)*_:typeof T=="boolean"&&typeof I=="boolean"?(T-I)*_:([T,I]=[T,I].map(E=>(E+"").toLocaleString().toLowerCase()),Tw.name===v);_!==void 0&&_.sortOrder&&(y=_.sortOrder)}let{sortBy:A,descending:b}=r.value;A!==v?(A=v,b=y==="da"):t.binaryStateSort===!0?b=!b:b===!0?y==="ad"?A=null:b=!1:y==="ad"?b=!0:A=null,a({sortBy:A,descending:b,page:1})}return{columnToSort:u,computedSortMethod:d,sort:g}}const useTableFilterProps={filter:[String,Object],filterMethod:Function};function useTableFilter(t,r){const o=computed(()=>t.filterMethod!==void 0?t.filterMethod:(a,u,d,g)=>{const v=u?u.toLowerCase():"";return a.filter(y=>d.some(A=>{const b=g(A,y)+"";return(b==="undefined"||b==="null"?"":b.toLowerCase()).indexOf(v)!==-1}))});return watch(()=>t.filter,()=>{nextTick(()=>{r({page:1},!0)})},{deep:!0}),{computedFilterMethod:o}}function samePagination(t,r){for(const o in r)if(r[o]!==t[o])return!1;return!0}function fixPagination(t){return t.page<1&&(t.page=1),t.rowsPerPage!==void 0&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}const useTablePaginationProps={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function useTablePaginationState(t,r){const{props:o,emit:a}=t,u=ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:o.rowsPerPageOptions.length!==0?o.rowsPerPageOptions[0]:5},o.pagination)),d=computed(()=>{const b=o["onUpdate:pagination"]!==void 0?{...u.value,...o.pagination}:u.value;return fixPagination(b)}),g=computed(()=>d.value.rowsNumber!==void 0);function v(b){y({pagination:b,filter:o.filter})}function y(b={}){nextTick(()=>{a("request",{pagination:b.pagination||d.value,filter:b.filter||o.filter,getCellValue:r})})}function A(b,_){const w=fixPagination({...d.value,...b});if(samePagination(d.value,w)===!0){g.value===!0&&_===!0&&v(w);return}if(g.value===!0){v(w);return}o.pagination!==void 0&&o["onUpdate:pagination"]!==void 0?a("update:pagination",w):u.value=w}return{innerPagination:u,computedPagination:d,isServerSide:g,requestServerInteraction:y,setPagination:A}}function useTablePagination(t,r,o,a,u,d){const{props:g,emit:v,proxy:{$q:y}}=t,A=computed(()=>a.value===!0?o.value.rowsNumber||0:d.value),b=computed(()=>{const{page:D,rowsPerPage:x}=o.value;return(D-1)*x}),_=computed(()=>{const{page:D,rowsPerPage:x}=o.value;return D*x}),w=computed(()=>o.value.page===1),S=computed(()=>o.value.rowsPerPage===0?1:Math.max(1,Math.ceil(A.value/o.value.rowsPerPage))),C=computed(()=>_.value===0?!0:o.value.page>=S.value),T=computed(()=>(g.rowsPerPageOptions.includes(r.value.rowsPerPage)?g.rowsPerPageOptions:[r.value.rowsPerPage].concat(g.rowsPerPageOptions)).map(x=>({label:x===0?y.lang.table.allRows:""+x,value:x})));watch(S,(D,x)=>{if(D===x)return;const P=o.value.page;D&&!P?u({page:1}):D1&&u({page:D-1})}function F(){const{page:D,rowsPerPage:x}=o.value;_.value>0&&D*x["single","multiple","none"].includes(t)},selected:{type:Array,default:()=>[]}},useTableRowSelectionEmits=["update:selected","selection"];function useTableRowSelection(t,r,o,a){const u=computed(()=>{const C={};return t.selected.map(a.value).forEach(T=>{C[T]=!0}),C}),d=computed(()=>t.selection!=="none"),g=computed(()=>t.selection==="single"),v=computed(()=>t.selection==="multiple"),y=computed(()=>o.value.length!==0&&o.value.every(C=>u.value[a.value(C)]===!0)),A=computed(()=>y.value!==!0&&o.value.some(C=>u.value[a.value(C)]===!0)),b=computed(()=>t.selected.length);function _(C){return u.value[C]===!0}function w(){r("update:selected",[])}function S(C,T,I,E){r("selection",{rows:T,added:I,keys:C,evt:E});const F=g.value===!0?I===!0?T:[]:I===!0?t.selected.concat(T):t.selected.filter(O=>C.includes(a.value(O))===!1);r("update:selected",F)}return{hasSelectionMode:d,singleSelection:g,multipleSelection:v,allRowsSelected:y,someRowsSelected:A,rowsSelectedNumber:b,isRowSelected:_,clearSelection:w,updateSelection:S}}function getVal(t){return Array.isArray(t)?t.slice():[]}const useTableRowExpandProps={expanded:Array},useTableRowExpandEmits=["update:expanded"];function useTableRowExpand(t,r){const o=ref(getVal(t.expanded));watch(()=>t.expanded,g=>{o.value=getVal(g)});function a(g){return o.value.includes(g)}function u(g){t.expanded!==void 0?r("update:expanded",g):o.value=g}function d(g,v){const y=o.value.slice(),A=y.indexOf(g);v===!0?A===-1&&(y.push(g),u(y)):A!==-1&&(y.splice(A,1),u(y))}return{isRowExpanded:a,setExpanded:u,updateExpanded:d}}const useTableColumnSelectionProps={visibleColumns:Array};function useTableColumnSelection(t,r,o){const a=computed(()=>{if(t.columns!==void 0)return t.columns;const v=t.rows[0];return v!==void 0?Object.keys(v).map(y=>({name:y,label:y.toUpperCase(),field:y,align:isNumber$6(v[y])?"right":"left",sortable:!0})):[]}),u=computed(()=>{const{sortBy:v,descending:y}=r.value;return(t.visibleColumns!==void 0?a.value.filter(b=>b.required===!0||t.visibleColumns.includes(b.name)===!0):a.value).map(b=>{const _=b.align||"right",w=`text-${_}`;return{...b,align:_,__iconClass:`q-table__sort-icon q-table__sort-icon--${_}`,__thClass:w+(b.headerClasses!==void 0?" "+b.headerClasses:"")+(b.sortable===!0?" sortable":"")+(b.name===v?` sorted ${y===!0?"sort-desc":""}`:""),__tdStyle:b.style!==void 0?typeof b.style!="function"?()=>b.style:b.style:()=>null,__tdClass:b.classes!==void 0?typeof b.classes!="function"?()=>w+" "+b.classes:S=>w+" "+b.classes(S):()=>w}})}),d=computed(()=>{const v={};return u.value.forEach(y=>{v[y.name]=y}),v}),g=computed(()=>t.tableColspan!==void 0?t.tableColspan:u.value.length+(o.value===!0?1:0));return{colList:a,computedCols:u,computedColsMap:d,computedColspan:g}}const bottomClass="q-table__bottom row items-center",virtScrollPassthroughProps={};commonVirtScrollPropsList.forEach(t=>{virtScrollPassthroughProps[t]={}});var QTable=createComponent({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...virtScrollPassthroughProps,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...useDarkProps,...useFullscreenProps,...useTableColumnSelectionProps,...useTableFilterProps,...useTablePaginationProps,...useTableRowExpandProps,...useTableRowSelectionProps,...useTableSortProps},emits:["request","virtualScroll",...useFullscreenEmits,...useTableRowExpandEmits,...useTableRowSelectionEmits],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{proxy:{$q:u}}=a,d=useDark(t,u),{inFullscreen:g,toggleFullscreen:v}=useFullscreen$1(),y=computed(()=>typeof t.rowKey=="function"?t.rowKey:Oe=>Oe[t.rowKey]),A=ref(null),b=ref(null),_=computed(()=>t.grid!==!0&&t.virtualScroll===!0),w=computed(()=>" q-table__card"+(d.value===!0?" q-table__card--dark q-dark":"")+(t.square===!0?" q-table--square":"")+(t.flat===!0?" q-table--flat":"")+(t.bordered===!0?" q-table--bordered":"")),S=computed(()=>`q-table__container q-table--${t.separator}-separator column no-wrap`+(t.grid===!0?" q-table--grid":w.value)+(d.value===!0?" q-table--dark":"")+(t.dense===!0?" q-table--dense":"")+(t.wrapCells===!1?" q-table--no-wrap":"")+(g.value===!0?" fullscreen scroll":"")),C=computed(()=>S.value+(t.loading===!0?" q-table--loading":""));watch(()=>t.tableStyle+t.tableClass+t.tableHeaderStyle+t.tableHeaderClass+S.value,()=>{_.value===!0&&b.value!==null&&b.value.reset()});const{innerPagination:T,computedPagination:I,isServerSide:E,requestServerInteraction:F,setPagination:O}=useTablePaginationState(a,He),{computedFilterMethod:D}=useTableFilter(t,O),{isRowExpanded:x,setExpanded:P,updateExpanded:G}=useTableRowExpand(t,o),M=computed(()=>{let Oe=t.rows;if(E.value===!0||Oe.length===0)return Oe;const{sortBy:We,descending:Je}=I.value;return t.filter&&(Oe=D.value(Oe,t.filter,ce.value,He)),he.value!==null&&(Oe=ye.value(t.rows===Oe?Oe.slice():Oe,We,Je)),Oe}),N=computed(()=>M.value.length),V=computed(()=>{let Oe=M.value;if(E.value===!0)return Oe;const{rowsPerPage:We}=I.value;return We!==0&&(pe.value===0&&t.rows!==Oe?Oe.length>ae.value&&(Oe=Oe.slice(0,ae.value)):Oe=Oe.slice(pe.value,ae.value)),Oe}),{hasSelectionMode:Y,singleSelection:H,multipleSelection:B,allRowsSelected:z,someRowsSelected:U,rowsSelectedNumber:Q,isRowSelected:X,clearSelection:J,updateSelection:ne}=useTableRowSelection(t,o,V,y),{colList:te,computedCols:ce,computedColsMap:se,computedColspan:ge}=useTableColumnSelection(t,I,Y),{columnToSort:he,computedSortMethod:ye,sort:ee}=useTableSort(t,I,te,O),{firstRowIndex:pe,lastRowIndex:ae,isFirstPage:ve,isLastPage:we,pagesNumber:_e,computedRowsPerPageOptions:Te,computedRowsNumber:Ce,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re}=useTablePagination(a,T,I,E,O,N),ue=computed(()=>V.value.length===0),be=computed(()=>{const Oe={};return commonVirtScrollPropsList.forEach(We=>{Oe[We]=t[We]}),Oe.virtualScrollItemSize===void 0&&(Oe.virtualScrollItemSize=t.dense===!0?28:48),Oe});function ie(){_.value===!0&&b.value.reset()}function oe(){if(t.grid===!0)return Rt();const Oe=t.hideHeader!==!0?yt:null;if(_.value===!0){const Je=r["top-row"],st=r["bottom-row"],At={default:bt=>De(bt.item,r.body,bt.index)};if(Je!==void 0){const bt=h("tbody",Je({cols:ce.value}));At.before=Oe===null?()=>bt:()=>[Oe()].concat(bt)}else Oe!==null&&(At.before=Oe);return st!==void 0&&(At.after=()=>h("tbody",st({cols:ce.value}))),h(QVirtualScroll,{ref:b,class:t.tableClass,style:t.tableStyle,...be.value,scrollTarget:t.virtualScrollTarget,items:V.value,type:"__qtable",tableColspan:ge.value,onVirtualScroll:Se},At)}const We=[Pe()];return Oe!==null&&We.unshift(Oe()),getTableMiddle({class:["q-table__middle scroll",t.tableClass],style:t.tableStyle},We)}function me(Oe,We){if(b.value!==null){b.value.scrollTo(Oe,We);return}Oe=parseInt(Oe,10);const Je=A.value.querySelector(`tbody tr:nth-of-type(${Oe+1})`);if(Je!==null){const st=A.value.querySelector(".q-table__middle.scroll"),At=Je.offsetTop-t.virtualScrollStickySizeStart,bt=At{const It=r[`body-cell-${it.name}`],Ne=It!==void 0?It:bt;return Ne!==void 0?Ne(ot({key:st,row:Oe,pageIndex:Je,col:it})):h("td",{class:it.__tdClass(Oe),style:it.__tdStyle(Oe)},He(it,Oe))});if(Y.value===!0){const it=r["body-selection"],It=it!==void 0?it(ct({key:st,row:Oe,pageIndex:Je})):[h(QCheckbox,{modelValue:At,color:t.color,dark:d.value,dense:t.dense,"onUpdate:modelValue":(Ne,Ge)=>{ne([st],[Oe],Ne,Ge)}})];Le.unshift(h("td",{class:"q-table--col-auto-width"},It))}const Fe={key:st,class:{selected:At}};return t.onRowClick!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onClick=it=>{o("rowClick",it,Oe,Je)}),t.onRowDblclick!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onDblclick=it=>{o("rowDblclick",it,Oe,Je)}),t.onRowContextmenu!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onContextmenu=it=>{o("rowContextmenu",it,Oe,Je)}),h("tr",Fe,Le)}function Pe(){const Oe=r.body,We=r["top-row"],Je=r["bottom-row"];let st=V.value.map((At,bt)=>De(At,Oe,bt));return We!==void 0&&(st=We({cols:ce.value}).concat(st)),Je!==void 0&&(st=st.concat(Je({cols:ce.value}))),h("tbody",st)}function Be(Oe){return _t(Oe),Oe.cols=Oe.cols.map(We=>injectProp({...We},"value",()=>He(We,Oe.row))),Oe}function ot(Oe){return _t(Oe),injectProp(Oe,"value",()=>He(Oe.col,Oe.row)),Oe}function ct(Oe){return _t(Oe),Oe}function _t(Oe){Object.assign(Oe,{cols:ce.value,colsMap:se.value,sort:ee,rowIndex:pe.value+Oe.pageIndex,color:t.color,dark:d.value,dense:t.dense}),Y.value===!0&&injectProp(Oe,"selected",()=>X(Oe.key),(We,Je)=>{ne([Oe.key],[Oe.row],We,Je)}),injectProp(Oe,"expand",()=>x(Oe.key),We=>{G(Oe.key,We)})}function He(Oe,We){const Je=typeof Oe.field=="function"?Oe.field(We):We[Oe.field];return Oe.format!==void 0?Oe.format(Je,We):Je}const Ve=computed(()=>({pagination:I.value,pagesNumber:_e.value,isFirstPage:ve.value,isLastPage:we.value,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re,inFullscreen:g.value,toggleFullscreen:v}));function ke(){const Oe=r.top,We=r["top-left"],Je=r["top-right"],st=r["top-selection"],At=Y.value===!0&&st!==void 0&&Q.value>0,bt="q-table__top relative-position row items-center";if(Oe!==void 0)return h("div",{class:bt},[Oe(Ve.value)]);let Le;if(At===!0?Le=st(Ve.value).slice():(Le=[],We!==void 0?Le.push(h("div",{class:"q-table__control"},[We(Ve.value)])):t.title&&Le.push(h("div",{class:"q-table__control"},[h("div",{class:["q-table__title",t.titleClass]},t.title)]))),Je!==void 0&&(Le.push(h("div",{class:"q-table__separator col"})),Le.push(h("div",{class:"q-table__control"},[Je(Ve.value)]))),Le.length!==0)return h("div",{class:bt},Le)}const Qe=computed(()=>U.value===!0?null:z.value);function yt(){const Oe=Ct();return t.loading===!0&&r.loading===void 0&&Oe.push(h("tr",{class:"q-table__progress"},[h("th",{class:"relative-position",colspan:ge.value},xe())])),h("thead",Oe)}function Ct(){const Oe=r.header,We=r["header-cell"];if(Oe!==void 0)return Oe(Xe({header:!0})).slice();const Je=ce.value.map(st=>{const At=r[`header-cell-${st.name}`],bt=At!==void 0?At:We,Le=Xe({col:st});return bt!==void 0?bt(Le):h(QTh,{key:st.name,props:Le},()=>st.label)});if(H.value===!0&&t.grid!==!0)Je.unshift(h("th",{class:"q-table--col-auto-width"}," "));else if(B.value===!0){const st=r["header-selection"],At=st!==void 0?st(Xe({})):[h(QCheckbox,{color:t.color,modelValue:Qe.value,dark:d.value,dense:t.dense,"onUpdate:modelValue":dt})];Je.unshift(h("th",{class:"q-table--col-auto-width"},At))}return[h("tr",{class:t.tableHeaderClass,style:t.tableHeaderStyle},Je)]}function Xe(Oe){return Object.assign(Oe,{cols:ce.value,sort:ee,colsMap:se.value,color:t.color,dark:d.value,dense:t.dense}),B.value===!0&&injectProp(Oe,"selected",()=>Qe.value,dt),Oe}function dt(Oe){U.value===!0&&(Oe=!1),ne(V.value.map(y.value),V.value,Oe)}const Re=computed(()=>{const Oe=[t.iconFirstPage||u.iconSet.table.firstPage,t.iconPrevPage||u.iconSet.table.prevPage,t.iconNextPage||u.iconSet.table.nextPage,t.iconLastPage||u.iconSet.table.lastPage];return u.lang.rtl===!0?Oe.reverse():Oe});function Ye(){if(t.hideBottom===!0)return;if(ue.value===!0){if(t.hideNoData===!0)return;const Je=t.loading===!0?t.loadingLabel||u.lang.table.loading:t.filter?t.noResultsLabel||u.lang.table.noResults:t.noDataLabel||u.lang.table.noData,st=r["no-data"],At=st!==void 0?[st({message:Je,icon:u.iconSet.table.warning,filter:t.filter})]:[h(QIcon,{class:"q-table__bottom-nodata-icon",name:u.iconSet.table.warning}),Je];return h("div",{class:bottomClass+" q-table__bottom--nodata"},At)}const Oe=r.bottom;if(Oe!==void 0)return h("div",{class:bottomClass},[Oe(Ve.value)]);const We=t.hideSelectedBanner!==!0&&Y.value===!0&&Q.value>0?[h("div",{class:"q-table__control"},[h("div",[(t.selectedRowsLabel||u.lang.table.selectedRecords)(Q.value)])])]:[];if(t.hidePagination!==!0)return h("div",{class:bottomClass+" justify-end"},mt(We));if(We.length!==0)return h("div",{class:bottomClass},We)}function at(Oe){O({page:1,rowsPerPage:Oe.value})}function mt(Oe){let We;const{rowsPerPage:Je}=I.value,st=t.paginationLabel||u.lang.table.pagination,At=r.pagination,bt=t.rowsPerPageOptions.length>1;if(Oe.push(h("div",{class:"q-table__separator col"})),bt===!0&&Oe.push(h("div",{class:"q-table__control"},[h("span",{class:"q-table__bottom-item"},[t.rowsPerPageLabel||u.lang.table.recordsPerPage]),h(QSelect,{class:"q-table__select inline q-table__bottom-item",color:t.color,modelValue:Je,options:Te.value,displayValue:Je===0?u.lang.table.allRows:Je,dark:d.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":at})])),At!==void 0)We=At(Ve.value);else if(We=[h("span",Je!==0?{class:"q-table__bottom-item"}:{},[Je?st(pe.value+1,Math.min(ae.value,Ce.value),Ce.value):st(1,N.value,Ce.value)])],Je!==0&&_e.value>1){const Le={color:t.color,round:!0,dense:!0,flat:!0};t.dense===!0&&(Le.size="sm"),_e.value>2&&We.push(h(QBtn,{key:"pgFirst",...Le,icon:Re.value[0],disable:ve.value,onClick:Ae})),We.push(h(QBtn,{key:"pgPrev",...Le,icon:Re.value[1],disable:ve.value,onClick:Ee}),h(QBtn,{key:"pgNext",...Le,icon:Re.value[2],disable:we.value,onClick:le})),_e.value>2&&We.push(h(QBtn,{key:"pgLast",...Le,icon:Re.value[3],disable:we.value,onClick:re}))}return Oe.push(h("div",{class:"q-table__control"},We)),Oe}function St(){const Oe=t.gridHeader===!0?[h("table",{class:"q-table"},[yt()])]:t.loading===!0&&r.loading===void 0?xe():void 0;return h("div",{class:"q-table__middle"},Oe)}function Rt(){const Oe=r.item!==void 0?r.item:We=>{const Je=We.cols.map(At=>h("div",{class:"q-table__grid-item-row"},[h("div",{class:"q-table__grid-item-title"},[At.label]),h("div",{class:"q-table__grid-item-value"},[At.value])]));if(Y.value===!0){const At=r["body-selection"],bt=At!==void 0?At(We):[h(QCheckbox,{modelValue:We.selected,color:t.color,dark:d.value,dense:t.dense,"onUpdate:modelValue":(Le,Fe)=>{ne([We.key],[We.row],Le,Fe)}})];Je.unshift(h("div",{class:"q-table__grid-item-row"},bt),h(QSeparator,{dark:d.value}))}const st={class:["q-table__grid-item-card"+w.value,t.cardClass],style:t.cardStyle};return(t.onRowClick!==void 0||t.onRowDblclick!==void 0)&&(st.class[0]+=" cursor-pointer",t.onRowClick!==void 0&&(st.onClick=At=>{o("RowClick",At,We.row,We.pageIndex)}),t.onRowDblclick!==void 0&&(st.onDblclick=At=>{o("RowDblclick",At,We.row,We.pageIndex)})),h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(We.selected===!0?" q-table__grid-item--selected":"")},[h("div",st,Je)])};return h("div",{class:["q-table__grid-content row",t.cardContainerClass],style:t.cardContainerStyle},V.value.map((We,Je)=>Oe(Be({key:y.value(We),row:We,pageIndex:Je}))))}return Object.assign(a.proxy,{requestServerInteraction:F,setPagination:O,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re,isRowSelected:X,clearSelection:J,isRowExpanded:x,setExpanded:P,sort:ee,resetVirtualScroll:ie,scrollTo:me,getCellValue:He}),injectMultipleProps(a.proxy,{filteredSortedRows:()=>M.value,computedRows:()=>V.value,computedRowsNumber:()=>Ce.value}),()=>{const Oe=[ke()],We={ref:A,class:C.value};return t.grid===!0?Oe.push(St()):Object.assign(We,{class:[We.class,t.cardClass],style:t.cardStyle}),Oe.push(oe(),Ye()),t.loading===!0&&r.loading!==void 0&&Oe.push(r.loading()),h("div",We,Oe)}}});function fallback(t){const r=document.createElement("textarea");r.value=t,r.contentEditable="true",r.style.position="fixed";const o=()=>{};addFocusout(o),document.body.appendChild(r),r.focus(),r.select();const a=document.execCommand("copy");return r.remove(),removeFocusout(o),a}function copyToClipboard(t){return navigator.clipboard!==void 0?navigator.clipboard.writeText(t):new Promise((r,o)=>{const a=fallback(t);a?r(!0):o(a)})}function useCopyToClipboard(t){const r=useQuasar(),o=useI18n();return{copyToClipboard:a=>{copyToClipboard(a).then(()=>r.notify(o.t(t||"ID copied"))).catch(()=>{})}}}var DevicesTable_vue_vue_type_style_index_0_lang="";const _sfc_main$10=defineComponent({name:"DevicesTable",props:{id:{type:String,required:!0},devices:{type:Array,default:[]},pagination:{type:Object,default:{}}},emits:["onPagination","onDeviceSelection"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=useIoBroker(),d=[{name:"name",label:o.t("Name")+" ("+o.t("ID")+")",field:"name",align:"left",sortable:!0,style:{width:"20%"}},{name:"room",label:o.t("Room"),field:"room",align:"left",sortable:!0,format:(F,O)=>(O.floor||"")+(O.floor&&F?", ":"")+(F||""),style:{width:"8%"}},{name:"function",label:o.t("Function"),field:"function",align:"left",sortable:!0,format:F=>F?o.t(F):"",style:{width:"7%"}},{name:"tags",label:o.t("Tags"),field:"tags",align:"left",sortable:!0,format:F=>F&&F.sort(),style:{width:"15%"}},{name:"states",label:o.t("States"),field:"states",align:"left",sortable:!0,format:F=>(F=Object.keys(F||"{}").join(", "),F.length>130?F.substr(0,128)+" ...":F),style:{width:"50%"}}],{copyToClipboard:g}=useCopyToClipboard(),v=F=>F.attributes&&F.attributes.deleted===!0,y=F=>a.editDevice(F),A=F=>a.copyDevice(F),b=F=>a.removeDevice(F),_=F=>a.restoreDevice(F),w=(F,O,D)=>{},S=ref([]),C=computed(()=>S.value.length===0?!1:t.devices.length===S.value.length?!0:null);watch(S,()=>r("onDeviceSelection",S.value));const T=()=>{S.value.length===0||t.devices.length!==S.value.length?S.value=t.devices.map(F=>F.id):S.value=[]},I=()=>{S.value=[]},E=ref(1);return{page:E,onPagination:F=>{const{page:O,...D}=F;E.value=O,r("onPagination",D)},columns:d,copyClipboard:g,isDeleted:v,onDeviceEdit:y,onDeviceCopy:A,onDeviceRemove:b,onDeviceRestore:_,setCloud:w,clearDevicesSelected:I,toggleAllDevicesSelected:T,isAllDevicesSelected:C,selectedDevices:S,enabledHistory:computed(()=>u.enabledHistory),isHistory:F=>a.isHistory(Object.values(F))!==null?a.isHistory(Object.values(F)):u.isHistory(Object.values(F)),enabledIoT:computed(()=>u.enabledIoT),isCloud:F=>a.isCloud(Object.values(F))!==null?a.isCloud(Object.values(F)):u.isCloud(Object.values(F))}}}),_hoisted_1$P={class:"q-pa-md"},_hoisted_2$F={key:0},_hoisted_3$v=["onClick"],_hoisted_4$n={key:0};function _sfc_render$10(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$P,[(openBlock(),createBlock(QTable,{key:t.id,rows:t.devices,columns:t.columns,pagination:{...t.pagination,page:t.page},"rows-per-page-label":t.$t("Devices per page"),class:"jarvis-device-list","onUpdate:pagination":t.onPagination},{header:withCtx(y=>[createVNode$1(QTr,{props:y},{default:withCtx(()=>[createVNode$1(QTh,{align:"left","auto-width":""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","model-value":t.isAllDevicesSelected,"indeterminate-value":"null","onUpdate:modelValue":t.toggleAllDevicesSelected},null,8,["model-value","onUpdate:modelValue"])]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(y.cols,A=>(openBlock(),createBlock(QTh,{key:A.name,props:y},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.label),1)]),_:2},1032,["props"]))),128)),createVNode$1(QTh,{"auto-width":""})]),_:2},1032,["props"])]),body:withCtx(y=>[createVNode$1(QTr,{props:y,class:normalizeClass({rowDeleted:t.isDeleted(y.row)})},{default:withCtx(()=>[createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(y.row)!==!0?(openBlock(),createElementBlock("div",_hoisted_2$F,[createVNode$1(QCheckbox,{modelValue:t.selectedDevices,"onUpdate:modelValue":r[0]||(r[0]=A=>t.selectedDevices=A),val:y.row.id,size:"xs"},null,8,["modelValue","val"]),createVNode$1(QSeparator,{vertical:"",style:{margin:"0 4px",height:"24px",display:"inline-flex","vertical-align":"middle"}}),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:A=>t.onDeviceEdit(y.row)},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:A=>t.onDeviceCopy(y.row)},null,8,["onClick"]),createVNode$1(QSeparator,{vertical:"",style:{margin:"0 4px",height:"24px",display:"inline-flex","vertical-align":"middle"}}),withDirectives(createVNode$1(g,{type:"button",disabled:!0,tooltip:t.$t("IoT Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-cloud-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledIoT]]),withDirectives(createVNode$1(g,{type:"button",disabled:!0,tooltip:t.$t("History Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-clock-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledHistory]]),t.isCloud(y.row.states)?withDirectives((openBlock(),createBlock(g,{key:0,style:{cursor:"help"},type:"button",tooltip:t.$t("IoT is activated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-check",onClick:withModifiers(A=>t.setCloud("remove",y.row.id,y.row.states),["stop"])},null,8,["tooltip","onClick"])),[[vShow,t.enabledIoT]]):withDirectives((openBlock(),createBlock(g,{key:1,style:{cursor:"help"},type:"button",tooltip:t.$t("IoT is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-outline",onClick:withModifiers(A=>t.setCloud("add",y.row.id,y.row.states),["stop"])},null,8,["tooltip","onClick"])),[[vShow,t.enabledIoT]]),t.isHistory(y.row.states)?withDirectives((openBlock(),createBlock(g,{key:2,style:{cursor:"help"},type:"button",tooltip:t.$t("History is activated"),size:"sm",flat:"",round:"",icon:"mdi-clock-check"},null,8,["tooltip"])),[[vShow,t.enabledHistory]]):withDirectives((openBlock(),createBlock(g,{key:3,style:{cursor:"help"},type:"button",tooltip:t.$t("History is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-clock-outline"},null,8,["tooltip"])),[[vShow,t.enabledHistory]])])):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[0].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["cursor-pointer",{itemDeleted:t.isDeleted(y.row)}]),onClick:A=>t.copyClipboard(y.row.id)},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(" ID: "+toDisplayString$1(y.row.id)+" ("+toDisplayString$1(t.$t("click to copy to clipboard"))+") ",1)]),_:2},1024),createBaseVNode("span",null,toDisplayString$1(y.row.name),1),y.row.label?(openBlock(),createElementBlock("span",_hoisted_4$n," ("+toDisplayString$1(y.row.label)+")",1)):createCommentVNode("",!0),createVNode$1(v,{name:"clipboard-text-multiple-outline",size:"xs",style:{"margin-left":"4px"}})],10,_hoisted_3$v)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[1].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[1].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[2].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[2].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[3].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},[(openBlock(!0),createElementBlock(Fragment,null,renderList([...new Set(y.cols[3].value)],A=>(openBlock(),createBlock(QChip,{key:A,size:"sm",color:"primary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A),1)]),_:2},1024))),128))],2)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[4].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[4].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(y.row)!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:withModifiers(A=>t.onDeviceRemove(y.row),["stop"])},null,8,["onClick"])):createCommentVNode("",!0),t.isDeleted(y.row)?(openBlock(),createBlock(QBtn,{key:1,size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:withModifiers(A=>t.onDeviceRestore(y.row),["stop"])},null,8,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["props","class"])]),_:1},8,["rows","columns","pagination","rows-per-page-label","onUpdate:pagination"]))])}var DevicesTable=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$10]]),jsoneditor_min$1={exports:{}};/*! + */function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),o.push.apply(o,a)}return o}function _objectSpread2(t){for(var r=1;r=0)&&(o[u]=t[u]);return o}function _objectWithoutProperties(t,r){if(t==null)return{};var o=_objectWithoutPropertiesLoose(t,r),a,u;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(u=0;u=0)&&(!Object.prototype.propertyIsEnumerable.call(t,a)||(o[a]=t[a]))}return o}var version$1="1.15.3";function userAgent(t){if(typeof window!="undefined"&&window.navigator)return!!navigator.userAgent.match(t)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on$1(t,r,o){t.addEventListener(r,o,!IE11OrLess&&captureMode)}function off$1(t,r,o){t.removeEventListener(r,o,!IE11OrLess&&captureMode)}function matches(t,r){if(!!r){if(r[0]===">"&&(r=r.substring(1)),t)try{if(t.matches)return t.matches(r);if(t.msMatchesSelector)return t.msMatchesSelector(r);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(r)}catch(o){return!1}return!1}}function getParentOrHost(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function closest(t,r,o,a){if(t){o=o||document;do{if(r!=null&&(r[0]===">"?t.parentNode===o&&matches(t,r):matches(t,r))||a&&t===o)return t;if(t===o)break}while(t=getParentOrHost(t))}return null}var R_SPACE=/\s+/g;function toggleClass(t,r,o){if(t&&r)if(t.classList)t.classList[o?"add":"remove"](r);else{var a=(" "+t.className+" ").replace(R_SPACE," ").replace(" "+r+" "," ");t.className=(a+(o?" "+r:"")).replace(R_SPACE," ")}}function css$1(t,r,o){var a=t&&t.style;if(a){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(o=t.currentStyle),r===void 0?o:o[r];!(r in a)&&r.indexOf("webkit")===-1&&(r="-webkit-"+r),a[r]=o+(typeof o=="string"?"":"px")}}function matrix(t,r){var o="";if(typeof t=="string")o=t;else do{var a=css$1(t,"transform");a&&a!=="none"&&(o=a+" "+o)}while(!r&&(t=t.parentNode));var u=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return u&&new u(o)}function find$1(t,r,o){if(t){var a=t.getElementsByTagName(r),u=0,d=a.length;if(o)for(;u=d:g=u<=d,!g)return a;if(a===getWindowScrollingElement())break;a=getParentAutoScrollElement(a,!1)}return!1}function getChild(t,r,o,a){for(var u=0,d=0,g=t.children;d2&&arguments[2]!==void 0?arguments[2]:{},u=a.evt,d=_objectWithoutProperties(a,_excluded);PluginManager.pluginEvent.bind(Sortable)(r,o,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:u,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(v){_dispatchEvent({sortable:o,name:v,originalEvent:u})}},d))};function _dispatchEvent(t){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},t))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document!="undefined",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!!documentExists){if(IE11OrLess)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),_detectDirection=function t(r,o){var a=css$1(r),u=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),d=getChild(r,0,o),g=getChild(r,1,o),v=d&&css$1(d),y=g&&css$1(g),A=v&&parseInt(v.marginLeft)+parseInt(v.marginRight)+getRect(d).width,b=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+getRect(g).width;if(a.display==="flex")return a.flexDirection==="column"||a.flexDirection==="column-reverse"?"vertical":"horizontal";if(a.display==="grid")return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(d&&v.float&&v.float!=="none"){var _=v.float==="left"?"left":"right";return g&&(y.clear==="both"||y.clear===_)?"vertical":"horizontal"}return d&&(v.display==="block"||v.display==="flex"||v.display==="table"||v.display==="grid"||A>=u&&a[CSSFloatProperty]==="none"||g&&a[CSSFloatProperty]==="none"&&A+b>u)?"vertical":"horizontal"},_dragElInRowColumn=function t(r,o,a){var u=a?r.left:r.top,d=a?r.right:r.bottom,g=a?r.width:r.height,v=a?o.left:o.top,y=a?o.right:o.bottom,A=a?o.width:o.height;return u===v||d===y||u+g/2===v+A/2},_detectNearestEmptySortable=function t(r,o){var a;return sortables.some(function(u){var d=u[expando].options.emptyInsertThreshold;if(!(!d||lastChild(u))){var g=getRect(u),v=r>=g.left-d&&r<=g.right+d,y=o>=g.top-d&&o<=g.bottom+d;if(v&&y)return a=u}}),a},_prepareGroup=function t(r){function o(d,g){return function(v,y,A,b){var _=v.options.group.name&&y.options.group.name&&v.options.group.name===y.options.group.name;if(d==null&&(g||_))return!0;if(d==null||d===!1)return!1;if(g&&d==="clone")return d;if(typeof d=="function")return o(d(v,y,A,b),g)(v,y,A,b);var w=(g?v:y).options.group.name;return d===!0||typeof d=="string"&&d===w||d.join&&d.indexOf(w)>-1}}var a={},u=r.group;(!u||_typeof$1(u)!="object")&&(u={name:u}),a.name=u.name,a.checkPull=o(u.pull,!0),a.checkPut=o(u.put),a.revertClone=u.revertClone,r.group=a},_hideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","none")},_unhideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","")};documentExists&&!ChromeForAndroid&&document.addEventListener("click",function(t){if(ignoreNextClick)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function t(r){if(dragEl){r=r.touches?r.touches[0]:r;var o=_detectNearestEmptySortable(r.clientX,r.clientY);if(o){var a={};for(var u in r)r.hasOwnProperty(u)&&(a[u]=r[u]);a.target=a.rootEl=o,a.preventDefault=void 0,a.stopPropagation=void 0,o[expando]._onDragOver(a)}}},_checkOutsideTargetEl=function t(r){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(r.target)};function Sortable(t,r){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=r=_extends({},r),t[expando]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(g,v){g.setData("Text",v.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,t,o);for(var a in o)!(a in r)&&(r[a]=o[a]);_prepareGroup(r);for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this));this.nativeDraggable=r.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),r.supportPointer?on$1(t,"pointerdown",this._onTapStart):(on$1(t,"mousedown",this._onTapStart),on$1(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(on$1(t,"dragover",this),on$1(t,"dragenter",this)),sortables.push(this.el),r.store&&r.store.get&&this.sort(r.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function t(r){!this.el.contains(r)&&r!==this.el&&(lastTarget=null)},_getDirection:function t(r,o){return typeof this.options.direction=="function"?this.options.direction.call(this,r,o,dragEl):this.options.direction},_onTapStart:function t(r){if(!!r.cancelable){var o=this,a=this.el,u=this.options,d=u.preventOnFilter,g=r.type,v=r.touches&&r.touches[0]||r.pointerType&&r.pointerType==="touch"&&r,y=(v||r).target,A=r.target.shadowRoot&&(r.path&&r.path[0]||r.composedPath&&r.composedPath()[0])||y,b=u.filter;if(_saveInputCheckedState(a),!dragEl&&!(/mousedown|pointerdown/.test(g)&&r.button!==0||u.disabled)&&!A.isContentEditable&&!(!this.nativeDraggable&&Safari&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=closest(y,u.draggable,a,!1),!(y&&y.animated)&&lastDownEl!==y)){if(oldIndex=index$a(y),oldDraggableIndex=index$a(y,u.draggable),typeof b=="function"){if(b.call(this,r,y,this)){_dispatchEvent({sortable:o,rootEl:A,name:"filter",targetEl:y,toEl:a,fromEl:a}),pluginEvent("filter",o,{evt:r}),d&&r.cancelable&&r.preventDefault();return}}else if(b&&(b=b.split(",").some(function(_){if(_=closest(A,_.trim(),a,!1),_)return _dispatchEvent({sortable:o,rootEl:_,name:"filter",targetEl:y,fromEl:a,toEl:a}),pluginEvent("filter",o,{evt:r}),!0}),b)){d&&r.cancelable&&r.preventDefault();return}u.handle&&!closest(A,u.handle,a,!1)||this._prepareDragStart(r,v,y)}}},_prepareDragStart:function t(r,o,a){var u=this,d=u.el,g=u.options,v=d.ownerDocument,y;if(a&&!dragEl&&a.parentNode===d){var A=getRect(a);if(rootEl=d,dragEl=a,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=a,activeGroup=g.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(o||r).clientX,clientY:(o||r).clientY},tapDistanceLeft=tapEvt.clientX-A.left,tapDistanceTop=tapEvt.clientY-A.top,this._lastX=(o||r).clientX,this._lastY=(o||r).clientY,dragEl.style["will-change"]="all",y=function(){if(pluginEvent("delayEnded",u,{evt:r}),Sortable.eventCanceled){u._onDrop();return}u._disableDelayedDragEvents(),!FireFox&&u.nativeDraggable&&(dragEl.draggable=!0),u._triggerDragStart(r,o),_dispatchEvent({sortable:u,name:"choose",originalEvent:r}),toggleClass(dragEl,g.chosenClass,!0)},g.ignore.split(",").forEach(function(b){find$1(dragEl,b.trim(),_disableDraggable)}),on$1(v,"dragover",nearestEmptyInsertDetectEvent),on$1(v,"mousemove",nearestEmptyInsertDetectEvent),on$1(v,"touchmove",nearestEmptyInsertDetectEvent),on$1(v,"mouseup",u._onDrop),on$1(v,"touchend",u._onDrop),on$1(v,"touchcancel",u._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:r}),g.delay&&(!g.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on$1(v,"mouseup",u._disableDelayedDrag),on$1(v,"touchend",u._disableDelayedDrag),on$1(v,"touchcancel",u._disableDelayedDrag),on$1(v,"mousemove",u._delayedDragTouchMoveHandler),on$1(v,"touchmove",u._delayedDragTouchMoveHandler),g.supportPointer&&on$1(v,"pointermove",u._delayedDragTouchMoveHandler),u._dragStartTimer=setTimeout(y,g.delay)}else y()}},_delayedDragTouchMoveHandler:function t(r){var o=r.touches?r.touches[0]:r;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function t(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var r=this.el.ownerDocument;off$1(r,"mouseup",this._disableDelayedDrag),off$1(r,"touchend",this._disableDelayedDrag),off$1(r,"touchcancel",this._disableDelayedDrag),off$1(r,"mousemove",this._delayedDragTouchMoveHandler),off$1(r,"touchmove",this._delayedDragTouchMoveHandler),off$1(r,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(r,o){o=o||r.pointerType=="touch"&&r,!this.nativeDraggable||o?this.options.supportPointer?on$1(document,"pointermove",this._onTouchMove):o?on$1(document,"touchmove",this._onTouchMove):on$1(document,"mousemove",this._onTouchMove):(on$1(dragEl,"dragend",this),on$1(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(a){}},_dragStarted:function t(r,o){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:o}),this.nativeDraggable&&on$1(document,"dragover",_checkOutsideTargetEl);var a=this.options;!r&&toggleClass(dragEl,a.dragClass,!1),toggleClass(dragEl,a.ghostClass,!0),Sortable.active=this,r&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function t(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var r=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),o=r;r&&r.shadowRoot&&(r=r.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),r!==o);)o=r;if(dragEl.parentNode[expando]._isOutsideThisEl(r),o)do{if(o[expando]){var a=void 0;if(a=o[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:r,rootEl:o}),a&&!this.options.dragoverBubble)break}r=o}while(o=getParentOrHost(o));_unhideGhostForTarget()}},_onTouchMove:function t(r){if(tapEvt){var o=this.options,a=o.fallbackTolerance,u=o.fallbackOffset,d=r.touches?r.touches[0]:r,g=ghostEl&&matrix(ghostEl,!0),v=ghostEl&&g&&g.a,y=ghostEl&&g&&g.d,A=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),b=(d.clientX-tapEvt.clientX+u.x)/(v||1)+(A?A[0]-ghostRelativeParentInitialScroll[0]:0)/(v||1),_=(d.clientY-tapEvt.clientY+u.y)/(y||1)+(A?A[1]-ghostRelativeParentInitialScroll[1]:0)/(y||1);if(!Sortable.active&&!awaitingDragStarted){if(a&&Math.max(Math.abs(d.clientX-this._lastX),Math.abs(d.clientY-this._lastY))=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:r}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:r})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:r}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:r})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:r}),this.save()))),this._nulling()},_nulling:function t(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(r){r.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function t(r){switch(r.type){case"drop":case"dragend":this._onDrop(r);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(r),_globalDragOver(r));break;case"selectstart":r.preventDefault();break}},toArray:function t(){for(var r=[],o,a=this.el.children,u=0,d=a.length,g=this.options;uu.right+d||t.clientY>a.bottom&&t.clientX>a.left:t.clientY>u.bottom+d||t.clientX>a.right&&t.clientY>a.top}function _getSwapDirection(t,r,o,a,u,d,g,v){var y=a?t.clientY:t.clientX,A=a?o.height:o.width,b=a?o.top:o.left,_=a?o.bottom:o.right,w=!1;if(!g){if(v&&targetMoveDistanceb+A*d/2:y<_-A*d/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)w=!0;else if(lastDirection===1?y_-targetMoveDistance)return-lastDirection}else if(y>b+A*(1-u)/2&&y<_-A*(1-u)/2)return _getInsertDirection(r)}return w=w||g,w&&(y_-A*d/2)?y>b+A/2?1:-1:0}function _getInsertDirection(t){return index$a(dragEl){const g=t.value[d.oldIndex];t.value.splice(d.oldIndex,1),t.value.splice(d.newIndex,0,g),r&&r(t.value)};return watchEffect(()=>{const d=a.value&&(a.value.$el||a.value);d&&Sortable.create(d,{handle:".dragndrop",...o||{},onEnd:u})}),{elDragDrop:a}}var DevicePage_vue_vue_type_style_index_0_lang="";const _sfc_main$12=defineComponent({name:"DevicePage",components:{DeviceState},setup(){const t=useI18n(),r=useEditor(),o=ref([]);onMounted(()=>{const D=Connection.getConnection;D&&D.getObjects().then(x=>{o.value=Object.values(x).filter(P=>P.type==="state").sort((P,G)=>P._id.toLowerCase()===G._id.toLowerCase()?0:P._id.toLowerCase()>G._id.toLowerCase()?1:-1).map(P=>({label:P._id,value:P._id}))}).catch(x=>{console.error(x)})});const a=Object.keys(Functions.Icons||{}).map(D=>({label:t.t(D),icon:Functions.Icons[D]?"mdi-"+Functions.Icons[D].replace("mdi-",""):"",value:D})).sort((D,x)=>D.label.toLowerCase()===x.label.toLowerCase()?0:D.label.toLowerCase()>x.label.toLowerCase()?1:-1),u=ref(""),d=ref(null),g=computed(()=>Object.keys(r.device.states||{})),v=computed(()=>r.device.function==="_defaults"?[]:Object.keys(Functions.Configurations[r.device.function]||{})),y=computed(()=>{const D=Object.keys(r.device.states||{});return v.value.every(x=>x==="_any"||Functions.Configurations[r.device.function][x].ignore||D.indexOf(x)!==-1)}),A=()=>{v.value.reverse().forEach(D=>D!=="_any"&&!Functions.Configurations[r.device.function][D].ignore&&b(D))},b=D=>{setTimeout(()=>{D=typeof D=="string"?D:u.value,D?g.value.indexOf(D)>-1?d.value=t.t("State key already used"):(r.newState(D),u.value="",d.value=null):d.value=t.t("Type in a state key / identifier")},25)},_=computed({get(){return Object.values(r.device.states||{})},set(D){const x={};D.forEach(P=>{x[P.stateKey]=P}),r.set("device.states",x)}}),{errors:w,hasErrors:S,addError:C,removeError:T,resetErrors:I}=useErrors(),E=()=>r.saveDevice(),F=()=>r.discardDevice(),O=D=>{if(D.error||D._error)C(D.id,D.error||D._error);else if(D.id.indexOf("device.")!==-1)T(D.id),r.editDeviceField({key:D.id.replace("device.",""),val:D.value});else if(D.id.indexOf("options.")!==-1)T(D.id),r.editDeviceField({key:"options",val:{...r.device.options||{},[D.id.replace("options.","")]:D.value}});else if(D.id.indexOf("state.")!==-1)if(T(D.id),D.id==="state.newStateKey")r.changeStateKey({stateKey:D.stateKey,stateKeyModified:D.value});else if(D.id==="state.componentOptions"){T(D.id);const x=r.device.states[D.stateKey][D.component+"Config"]||{};r.editStateField({stateKey:D.stateKey,key:D.component+"Config",val:{...x,...D.value}})}else r.editStateField({stateKey:D.stateKey,key:D.id.replace("state.",""),val:D.value,index:D.index});else D.id==="newStateKey"&&(u.value=D.value)};return watch(()=>r.device,()=>I()),{icon:icon$n,...useDragDrop(_,D=>_.value=D),errors:w,hasErrors:S,stateList:o,functions:a,addStateKey:b,addDefaultStates:A,compareStatesToDefaults:y,device:computed(()=>r.device),deviceStates:_,component:ref(null),newStateKey:u,errorNewStateKey:d,onApply:E,onCancel:F,onChange:O,functionIcon:computed(()=>{const D=r.device.function==="other"?"_defaults":r.device.function,x=a.find(P=>P.value===D);return x?x.icon:""}),rooms:computed(()=>r.rooms.map(x=>({label:x,value:x}))),icons:computed(()=>Object.keys(Cache$1.get("icons.mdi.alias",{})).map(x=>({icon:"mdi:"+x,label:x,value:"mdi:"+x})))}}}),_hoisted_1$R={class:"text-h6 row items-center"},_hoisted_2$H={class:"text-h6 text-header primary"},_hoisted_3$x={class:"row"},_hoisted_4$p={class:"col-3"},_hoisted_5$l={class:"col-4"},_hoisted_6$h={class:"col-5"},_hoisted_7$d={class:"row"},_hoisted_8$d={class:"col-2"},_hoisted_9$d={class:"col-2"},_hoisted_10$b={class:"col-3"},_hoisted_11$b={class:"col-5"},_hoisted_12$9={class:"text-h6 text-header primary"},_hoisted_13$8={class:"row"},_hoisted_14$8={class:"col-2"},_hoisted_15$7={class:"col-2"},_hoisted_16$6={class:"text-h6 text-header primary"},_hoisted_17$5={class:"row",style:{"margin-bottom":"16px"}},_hoisted_18$5={class:"col"},_hoisted_19$4={class:"col self-center"},_hoisted_20$3={class:"col self-center",style:{"text-align":"right"}},_hoisted_21$3={ref:"elDragDrop",class:"list-group"};function _sfc_render$12(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("device-state");return openBlock(),createBlock(QDialog,{"model-value":t.device!==null,"full-height":"",persistent:""},{default:withCtx(()=>[t.device!==null?(openBlock(),createBlock(QCard,{key:0,class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$R,[createTextVNode(toDisplayString$1(t.$t("Device"))+": ",1),createVNode$1(g,{id:"device.name",dense:"",label:t.$t("Name"),value:t.device.name||"",required:"",autofocus:"",style:{width:"230px","margin-right":"16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"]),createTextVNode(" ("+toDisplayString$1(t.$t("Device ID")+": "+t.device.id)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col defaultPadding-2 q-pt-none scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$H,toDisplayString$1(t.$t("General")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_3$x,[createBaseVNode("div",_hoisted_4$p,[createVNode$1(g,{id:"device.icon",label:t.$t("Icon"),value:t.device.icon||"",icon:t.icon(t.device.icon),options:t.icons,"max-dropdown-options":300,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$l,[createVNode$1(g,{id:"device.label",label:t.$t("Label"),info:t.$t("config#Device#state#label"),value:t.device.label||"",placeholder:t.device.name,onOnChange:t.onChange},null,8,["label","info","value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_6$h,[createVNode$1(g,{id:"device.aliases",label:t.$t("Aliases"),info:t.$t("config#Device#state#aliases"),value:t.device.aliases||"",onOnChange:t.onChange},null,8,["label","info","value","onOnChange"])])]),createBaseVNode("div",_hoisted_7$d,[createBaseVNode("div",_hoisted_8$d,[createVNode$1(g,{id:"device.floor",label:t.$t("Floor"),icon:"mdi-home",value:t.device.floor||"",maxlength:"2",onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_9$d,[createVNode$1(g,{id:"device.room",label:t.$t("Room"),icon:"mdi-floor-plan",value:t.device.room||"",options:t.rooms,onOnChange:t.onChange},null,8,["label","value","options","onOnChange"])]),createBaseVNode("div",_hoisted_10$b,[createVNode$1(g,{id:"device.function",label:t.$t("Function"),icon:t.functionIcon?t.functionIcon:"mdi-folder-home",value:t.device.function==="other"?"_defaults":t.device.function,type:"select",options:t.functions,"options-dense":"",onOnSelect:t.onChange},null,8,["label","icon","value","options","onOnSelect"])]),createBaseVNode("div",_hoisted_11$b,[createVNode$1(g,{id:"device.tags",label:t.$t("Tags"),icon:"mdi-tag-multiple",info:t.$t("config#Device#state#tags"),value:t.device.tags,type:"select","hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},null,8,["label","info","value","onOnSelect"])])]),createBaseVNode("div",_hoisted_12$9,toDisplayString$1(t.$t("Options")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_13$8,[createBaseVNode("div",_hoisted_14$8,[createVNode$1(g,{id:"options.sortBy",type:"number",label:"Sort By",info:"SortBy#info",value:t.device.options.sortBy!==void 0?t.device.options.sortBy:0,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_15$7,[createVNode$1(g,{id:"options.suppressPopup",type:"switch",label:"Suppress Popup","indeterminate-value":"false",value:t.device.options.suppressPopup!==void 0?t.device.options.suppressPopup:!1,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_16$6,toDisplayString$1(t.$t("States")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_17$5,[createBaseVNode("div",_hoisted_18$5,[createVNode$1(g,{id:"newStateKey",debounce:10,value:t.newStateKey,label:"new state key",icon:"mdi-plus","error-message":t.errorNewStateKey,onKeydown:withKeys(withModifiers(t.addStateKey,["stop"]),["enter"]),onOnChange:t.onChange},null,8,["value","error-message","onKeydown","onOnChange"])]),createBaseVNode("div",_hoisted_19$4,[createVNode$1(QBtn,{color:"primary",label:t.$t("add state"),icon:"mdi-plus-circle",onClick:t.addStateKey},null,8,["label","onClick"])]),createBaseVNode("div",_hoisted_20$3,[t.device.function!=="_defaults"?(openBlock(),createBlock(QBtn,{key:0,color:"secondary",label:t.$t("add default states"),icon:t.compareStatesToDefaults?"mdi-check":"mdi-playlist-plus",disable:t.compareStatesToDefaults,onClick:t.addDefaultStates},null,8,["label","icon","disable","onClick"])):createCommentVNode("",!0)])]),createBaseVNode("ul",_hoisted_21$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.deviceStates,y=>(openBlock(),createElementBlock("li",{key:y.stateKey,class:"list-group-item"},[createVNode$1(v,{expanded:!1,device:t.device,"state-key":y.stateKey,"state-list":t.stateList,onOnChange:t.onChange,onSetComponentProps:r[0]||(r[0]=A=>t.component=arguments[0])},null,8,["device","state-key","state-list","onOnChange"])]))),128))],512)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.hasErrors,onClick:t.onApply},null,8,["label","disable","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])}var DevicePage=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$12]]),ImportDevices_vue_vue_type_style_index_0_lang="";const _sfc_main$11=defineComponent({name:"ImportDevices",props:{open:{type:Boolean,default:!1}},emits:["onClose"],setup(){const t=useI18n(),r=useEditor(),o=useIoBroker();return{i18n:t,editor:r,instanceList:computed(()=>o.instanceList?o.instanceList.val:[])}},data(){return this.ucFirst=ucFirst,{totalAdapters:0,selectedAdapters:[],adapterStructure:"all",adapterStructureOptions:[{label:this.i18n.t("Search adapter structure for all devices"),value:"all"},{label:this.i18n.t("Search only for devices added to enums"),value:"enums"}],categories:{new:"New Devices",existing:"Devices that have been added already",incorrect:"Devices with incorrect configuration (states not found)",ignored:"Devices marked as ignored"},expanded:{_adapterList:!0,new:!0},importedDevices:{all:{},new:{},existing:{},incorrect:{},ignored:{},manufacturer:{}},selectedDevices:{new:[],existing:[],ignored:[]},showImportDevices:!1,state:null}},computed:{importDevicesLength(){return this.selectedDevices.new.length+this.selectedDevices.existing.length},importedDevicesLength(){return{all:Object.keys(this.importedDevices.all).length,new:Object.keys(this.importedDevices.new).length,existing:Object.keys(this.importedDevices.existing).length,incorrect:Object.keys(this.importedDevices.incorrect).length,ignored:Object.keys(this.importedDevices.ignored).length}},filteredAdapterList(){return Object.values(adapters).filter(t=>this.instanceList.some(r=>r.startsWith(t.namespace+"."))).map(t=>({...t,devices:this.importedDevices.manufacturer[t.namespace]?this.importedDevices.manufacturer[t.namespace].length:0,name:t.default}))}},watch:{instanceList(){this.toggleAllAdapterListItems()},open(t){this.showImportDevices=t}},mounted(){this.toggleAllDevicesListItems("new")},methods:{importDevices(){this.state=null,this.onClose();const t=_default(this.editor.devices),r=[...this.selectedDevices.new,...this.selectedDevices.existing];for(const a of r)t[a]?(Object.keys(this.importedDevices.all[a].states).forEach(u=>{t[a].states[u]={...this.importedDevices.all[a].states[u],...t[a].states[u]||{}}}),t[a].tags=[...new Set([...this.importedDevices.all[a].tags||[],...t[a].tags||[]])]):t[a]=this.importedDevices.all[a];const o=Object.keys(this.importedDevices.ignored);for(const a of o)t[a]=this.importedDevices.ignored[a],t[a].attributes=t[a].attributes||{},t[a].attributes.ignore=!0;this.editor.addDevices({devices:t})},onClose(){this.expanded._adapterList=!0,this.showImportDevices=!1,this.$emit("onClose",this.showImportDevices)},readAdapters(){this.state="loading",this.adapterStructure==="all"?ioBroker.importDevices(this.selectedAdapters).then(this.setImportedDevices).catch(t=>{console.error("ImportDevicesPage","IMPORT_DEVICES: "+t.message)}):ioBroker.importEnums("functions",this.selectedAdapters).then(this.setImportedDevices).catch(t=>{console.error("ImportDevicesPage","IMPORT_ENUMS: "+t.message)})},setImportedDevices(t){this.expanded._adapterList=!1,this.importedDevices={all:{},new:{},existing:{},incorrect:{},ignored:{},manufacturer:{}};const r=this.editor.devices||{};t.forEach((o,a)=>{const u=o.value||o.reason;u.attributes=u.attributes||{};let d="new";if(o.status==="fulfilled"&&o.value&&o.value.states&&Object.keys(o.value.states).length>0?r[u.id]!==void 0&&(d="existing",r[u.id].attributes&&r[u.id].attributes.ignore===!0&&(d="ignored")):(d="incorrect",u.states=null,u.attributes.note=u.attributes.note||o.reason&&o.reason.error&&o.reason.error.message||this.i18n.t("No correct defined states found. The device may be unknown. Please help the developer to add support for this device and report to Github.")),this.importedDevices[d][u.id]=u,this.importedDevices.all[u.id]=u,u.tags&&u.tags.length!==0){const g=u.tags[0];this.importedDevices.manufacturer[g]=this.importedDevices.manufacturer[g]||[],this.importedDevices.manufacturer[g].push(u.id)}}),this.selectedDevices.new=Object.keys(this.importedDevices.new),this.state="loaded"},toggleAllAdapterListItems(){if(this.selectedAdapters.length>0)this.selectedAdapters=[];else{const t=this.instanceList.filter(o=>Object.keys(adapters).includes(o.substr(0,o.indexOf(".")))),r=[];this.totalAdapters=0,t.forEach(o=>{const a=o.substr(0,o.indexOf("."));r.includes(a)||(r.push(a),this.totalAdapters++)}),this.selectedAdapters=r}},toggleAllDevicesListItems(t){this.selectedDevices[t].length>0?this.selectedDevices[t]=[]:this.selectedDevices[t]=Object.keys(this.importedDevices[t])},ignoreDevice(t){this.importedDevices.ignored[t.id]=t,delete this.importedDevices.new[t.id],delete this.selectedDevices.new[this.selectedDevices.new.indexOf(t.id)]},restoreDevice(t){this.importedDevices.new[t.id]=t,this.selectedDevices.new.push(t.id),delete this.importedDevices.ignored[t.id]}}}),_hoisted_1$Q={class:"text-h6"},_hoisted_2$G={class:"text-h6 text-header primary"},_hoisted_3$w={key:0,style:{"margin-bottom":"16px"}},_hoisted_4$o={class:"text-h6 text-header primary"},_hoisted_5$k={class:"q-pa-sm"},_hoisted_6$g={key:0},_hoisted_7$c={key:1,style:{width:"40px"}},_hoisted_8$c={style:{"padding-left":"72px"}},_hoisted_9$c={class:"stateList"};function _sfc_render$11(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QDialog,{modelValue:t.showImportDevices,"onUpdate:modelValue":r[3]||(r[3]=v=>t.showImportDevices=v),persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1000px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$Q,toDisplayString$1(t.$t("Import Devices")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-sm scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$G,toDisplayString$1(t.$t("Adapter")),1),createVNode$1(QSeparator),createVNode$1(QField,{label:t.$t("Search the adapter structure for all devices or only devices added to enums"),"stack-label":"",borderless:"",class:"q-pa-sm"},{control:withCtx(()=>[createVNode$1(QOptionGroup,{modelValue:t.adapterStructure,"onUpdate:modelValue":r[0]||(r[0]=v=>t.adapterStructure=v),options:t.adapterStructureOptions,color:"primary",inline:""},null,8,["modelValue","options"])]),_:1},8,["label"]),createVNode$1(QExpansionItem,{modelValue:t.expanded._adapterList,"onUpdate:modelValue":r[2]||(r[2]=v=>t.expanded._adapterList=v),class:"paper shadow-1 rounded-borders full-width"},{header:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter List")),1)]),_:1}),t.state==="loaded"?(openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[createVNode$1(QChip,{color:"secondary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices"))+": "+toDisplayString$1(t.importedDevicesLength.all),1)]),_:1})]),_:1})):createCommentVNode("",!0)]),default:withCtx(()=>[createVNode$1(QList,{dense:"",style:{"margin-bottom":"16px"}},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{tag:"label",onClick:withModifiers(t.toggleAllAdapterListItems,["prevent"])},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","false-value":0,"true-value":t.totalAdapters,"model-value":t.selectedAdapters.length,"onUpdate:modelValue":t.toggleAllAdapterListItems},null,8,["true-value","model-value","onUpdate:modelValue"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("(Un)Select all adapters"))+" ("+toDisplayString$1(t.selectedAdapters.length)+")",1)]),_:1})]),_:1})]),_:1},8,["onClick"])),[[Ripple]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filteredAdapterList,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.namespace,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{modelValue:t.selectedAdapters,"onUpdate:modelValue":r[1]||(r[1]=y=>t.selectedAdapters=y),size:"xs",val:v.namespace},null,8,["modelValue","val"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.name)+" ",1),createVNode$1(g,{name:"information",color:"primary",class:"q-ma-xs",style:{"font-size":"1.2rem"}}),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("import#warning").replace("%deviceObjectType%",v.deviceObjectType||"device").replace("%devicePattern%",v.devicePattern||"")),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[t.state==="loaded"&&t.selectedAdapters.indexOf(v.namespace)>-1?(openBlock(),createBlock(QChip,{key:0,color:"primary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices"))+": "+toDisplayString$1(v.devices),1)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Ripple]])),128))]),_:1})]),_:1},8,["modelValue"]),t.state!==null?(openBlock(),createElementBlock("div",_hoisted_3$w,[createBaseVNode("div",_hoisted_4$o,toDisplayString$1(t.$t("Devices")),1),createVNode$1(QSeparator),createBaseVNode("div",_hoisted_5$k,[t.state==="loading"?(openBlock(),createBlock(QSpinner,{key:0,color:"primary",size:"md"})):createCommentVNode("",!0)]),t.state==="loaded"?(openBlock(),createElementBlock("div",_hoisted_6$g,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.categories,(v,y)=>(openBlock(),createBlock(QExpansionItem,{key:y,modelValue:t.expanded[y],"onUpdate:modelValue":A=>t.expanded[y]=A,class:"paper shadow-1 rounded-borders full-width",disable:t.importedDevicesLength[y]===0,style:{"margin-bottom":"8px"}},{header:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v)),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QChip,{color:"secondary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.importedDevicesLength[y]),1)]),_:2},1024)]),_:2},1024)]),default:withCtx(()=>[t.importedDevicesLength[y]>0?(openBlock(),createBlock(QList,{key:0,dense:""},{default:withCtx(()=>[y==="new"||y==="existing"?withDirectives((openBlock(),createBlock(QItem,{key:0,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{"model-value":t.selectedDevices[y].length!==0,onClick:withModifiers(A=>t.toggleAllDevicesListItems(y),["stop"])},null,8,["model-value","onClick"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("(Un)Select all devices"))+" ("+toDisplayString$1(t.selectedDevices[y].length)+")",1)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Ripple]]):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.importedDevices[y],A=>(openBlock(),createBlock(QExpansionItem,{key:A.id,"expand-icon-toggle":"","expand-separator":"",dense:"",class:"full-width"},{header:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{tag:"label",disable:y!=="new"&&y!=="existing",class:"full-width"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[y==="new"||y==="existing"?(openBlock(),createBlock(QCheckbox,{key:0,modelValue:t.selectedDevices[y],"onUpdate:modelValue":b=>t.selectedDevices[y]=b,val:A.id},null,8,["modelValue","onUpdate:modelValue","val"])):(openBlock(),createElementBlock("div",_hoisted_7$c))]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.name)+" ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(A.tags,b=>(openBlock(),createBlock(QChip,{key:b,color:"accent","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[y==="new"?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("ignore"),color:"negative",onClick:b=>t.ignoreDevice(A)},null,8,["label","onClick"])):createCommentVNode("",!0),y==="ignored"?(openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t("restore"),color:"positive",onClick:b=>t.restoreDevice(A)},null,8,["label","onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["disable"])),[[Ripple]])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8$c,[createTextVNode(toDisplayString$1(t.$t("Function"))+": "+toDisplayString$1(t.$t(A.function)),1),r[4]||(r[4]=createBaseVNode("br",null,null,-1)),createTextVNode(" "+toDisplayString$1(t.$t("Room"))+": "+toDisplayString$1(t.$t(A.room))+" ",1),createBaseVNode("ul",_hoisted_9$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.states,(b,_)=>(openBlock(),createElementBlock("li",{key:_},[createBaseVNode("strong",null,toDisplayString$1(_),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(b,(w,S)=>(openBlock(),createElementBlock("ul",{key:S,class:"stateKeyList"},[createBaseVNode("li",null,[createTextVNode(toDisplayString$1(t.$t(t.ucFirst(S)))+": ",1),createBaseVNode("code",null,toDisplayString$1(w),1)])]))),128))]))),128))])])]),_:2},1024))),128))]),_:2},1024)):createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","disable"]))),128))])):createCommentVNode("",!0)])):createCommentVNode("",!0)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onClose},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Read Adapters"),color:"secondary",loading:t.state==="loading",disable:t.selectedAdapters.length===0,onClick:t.readAdapters},null,8,["label","loading","disable","onClick"]),t.state==="loaded"?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("Import selected devices")+" ("+t.importDevicesLength+")",color:"primary",disable:t.importDevicesLength===0,onClick:t.importDevices},null,8,["label","disable","onClick"])):createCommentVNode("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}var ImportDevices=_export_sfc$1(_sfc_main$11,[["render",_sfc_render$11]]),QTh=createComponent({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{proxy:{$q:u}}=a,d=g=>{o("click",g)};return()=>{if(t.props===void 0)return h("th",{class:t.autoWidth===!0?"q-table--col-auto-width":"",onClick:d},hSlot(r.default));let g,v;const y=a.vnode.key;if(y){if(g=t.props.colsMap[y],g===void 0)return}else g=t.props.col;if(g.sortable===!0){const b=g.align==="right"?"unshift":"push";v=hUniqueSlot(r.default,[]),v[b](h(QIcon,{class:g.__iconClass,name:u.iconSet.table.arrowUp}))}else v=hSlot(r.default);const A={class:g.__thClass+(t.autoWidth===!0?" q-table--col-auto-width":""),style:g.headerStyle,onClick:b=>{g.sortable===!0&&t.props.sort(g),d(b)}};return h("th",A,v)}}}),QTr=createComponent({name:"QTr",props:{props:Object,noHover:Boolean},setup(t,{slots:r}){const o=computed(()=>"q-tr"+(t.props===void 0||t.props.header===!0?"":" "+t.props.__trClass)+(t.noHover===!0?" q-tr--no-hover":""));return()=>h("tr",{class:o.value},hSlot(r.default))}}),QTd=createComponent({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(t,{slots:r}){const o=getCurrentInstance(),a=computed(()=>"q-td"+(t.autoWidth===!0?" q-table--col-auto-width":"")+(t.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(t.props===void 0)return h("td",{class:a.value},hSlot(r.default));const u=o.vnode.key,d=(t.props.colsMap!==void 0?t.props.colsMap[u]:null)||t.props.col;if(d===void 0)return;const{row:g}=t.props;return h("td",{class:a.value+d.__tdClass(g),style:d.__tdStyle(g)},hSlot(r.default))}}});const separatorValues=["horizontal","vertical","cell","none"];var QMarkupTable=createComponent({name:"QMarkupTable",props:{...useDarkProps,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:t=>separatorValues.includes(t)}},setup(t,{slots:r}){const o=getCurrentInstance(),a=useDark(t,o.proxy.$q),u=computed(()=>`q-markup-table q-table__container q-table__card q-table--${t.separator}-separator`+(a.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(t.dense===!0?" q-table--dense":"")+(t.flat===!0?" q-table--flat":"")+(t.bordered===!0?" q-table--bordered":"")+(t.square===!0?" q-table--square":"")+(t.wrapCells===!1?" q-table--no-wrap":""));return()=>h("div",{class:u.value},[h("table",{class:"q-table"},hSlot(r.default))])}});function getTableMiddle(t,r){return h("div",t,[h("table",{class:"q-table"},r)])}const comps={list:QList,table:QMarkupTable},typeOptions=["list","table","__qtable"];var QVirtualScroll=createComponent({name:"QVirtualScroll",props:{...useVirtualScrollProps,type:{type:String,default:"list",validator:t=>typeOptions.includes(t)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:scrollTargetProp},setup(t,{slots:r,attrs:o}){let a;const u=ref(null),d=computed(()=>t.itemsSize>=0&&t.itemsFn!==void 0?parseInt(t.itemsSize,10):Array.isArray(t.items)?t.items.length:0),{virtualScrollSliceRange:g,localResetVirtualScroll:v,padVirtualScroll:y,onVirtualScrollEvt:A}=useVirtualScroll({virtualScrollLength:d,getVirtualScrollTarget:C,getVirtualScrollEl:S}),b=computed(()=>{if(d.value===0)return[];const F=(O,D)=>({index:g.value.from+D,item:O});return t.itemsFn===void 0?t.items.slice(g.value.from,g.value.to).map(F):t.itemsFn(g.value.from,g.value.to-g.value.from).map(F)}),_=computed(()=>"q-virtual-scroll q-virtual-scroll"+(t.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(t.scrollTarget!==void 0?"":" scroll")),w=computed(()=>t.scrollTarget!==void 0?{}:{tabindex:0});watch(d,()=>{v()}),watch(()=>t.scrollTarget,()=>{I(),T()});function S(){return u.value.$el||u.value}function C(){return a}function T(){a=getScrollTarget(S(),t.scrollTarget),a.addEventListener("scroll",A,listenOpts$1.passive)}function I(){a!==void 0&&(a.removeEventListener("scroll",A,listenOpts$1.passive),a=void 0)}function E(){let F=y(t.type==="list"?"div":"tbody",b.value.map(r.default));return r.before!==void 0&&(F=r.before().concat(F)),hMergeSlot(r.after,F)}return onBeforeMount(()=>{v()}),onMounted(()=>{T()}),onActivated(()=>{T()}),onDeactivated(()=>{I()}),onBeforeUnmount(()=>{I()}),()=>{if(r.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return t.type==="__qtable"?getTableMiddle({ref:u,class:"q-table__middle "+_.value},E()):h(comps[t.type],{...o,ref:u,class:[o.class,_.value],...w.value},E)}}});let counter=0;const useFullscreenProps={fullscreen:Boolean,noRouteFullscreenExit:Boolean},useFullscreenEmits=["update:fullscreen","fullscreen"];function useFullscreen$1(){const t=getCurrentInstance(),{props:r,emit:o,proxy:a}=t;let u,d,g;const v=ref(!1);vmHasRouter(t)===!0&&watch(()=>a.$route.fullPath,()=>{r.noRouteFullscreenExit!==!0&&b()}),watch(()=>r.fullscreen,_=>{v.value!==_&&y()}),watch(v,_=>{o("update:fullscreen",_),o("fullscreen",_)});function y(){v.value===!0?b():A()}function A(){v.value!==!0&&(v.value=!0,g=a.$el.parentNode,g.replaceChild(d,a.$el),document.body.appendChild(a.$el),counter++,counter===1&&document.body.classList.add("q-body--fullscreen-mixin"),u={handler:b},History.add(u))}function b(){v.value===!0&&(u!==void 0&&(History.remove(u),u=void 0),g.replaceChild(a.$el,d),v.value=!1,counter=Math.max(0,counter-1),counter===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),a.$el.scrollIntoView!==void 0&&setTimeout(()=>{a.$el.scrollIntoView()})))}return onBeforeMount(()=>{d=document.createElement("span")}),onMounted(()=>{r.fullscreen===!0&&A()}),onBeforeUnmount(b),Object.assign(a,{toggleFullscreen:y,setFullscreen:A,exitFullscreen:b}),{inFullscreen:v,toggleFullscreen:y}}function sortDate(t,r){return new Date(t)-new Date(r)}const useTableSortProps={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:t=>t==="ad"||t==="da",default:"ad"}};function useTableSort(t,r,o,a){const u=computed(()=>{const{sortBy:v}=r.value;return v&&o.value.find(y=>y.name===v)||null}),d=computed(()=>t.sortMethod!==void 0?t.sortMethod:(v,y,A)=>{const b=o.value.find(S=>S.name===y);if(b===void 0||b.field===void 0)return v;const _=A===!0?-1:1,w=typeof b.field=="function"?S=>b.field(S):S=>S[b.field];return v.sort((S,C)=>{let T=w(S),I=w(C);return b.rawSort!==void 0?b.rawSort(T,I,S,C)*_:T==null?-1*_:I==null?1*_:b.sort!==void 0?b.sort(T,I,S,C)*_:isNumber$6(T)===!0&&isNumber$6(I)===!0?(T-I)*_:isDate$6(T)===!0&&isDate$6(I)===!0?sortDate(T,I)*_:typeof T=="boolean"&&typeof I=="boolean"?(T-I)*_:([T,I]=[T,I].map(E=>(E+"").toLocaleString().toLowerCase()),Tw.name===v);_!==void 0&&_.sortOrder&&(y=_.sortOrder)}let{sortBy:A,descending:b}=r.value;A!==v?(A=v,b=y==="da"):t.binaryStateSort===!0?b=!b:b===!0?y==="ad"?A=null:b=!1:y==="ad"?b=!0:A=null,a({sortBy:A,descending:b,page:1})}return{columnToSort:u,computedSortMethod:d,sort:g}}const useTableFilterProps={filter:[String,Object],filterMethod:Function};function useTableFilter(t,r){const o=computed(()=>t.filterMethod!==void 0?t.filterMethod:(a,u,d,g)=>{const v=u?u.toLowerCase():"";return a.filter(y=>d.some(A=>{const b=g(A,y)+"";return(b==="undefined"||b==="null"?"":b.toLowerCase()).indexOf(v)!==-1}))});return watch(()=>t.filter,()=>{nextTick(()=>{r({page:1},!0)})},{deep:!0}),{computedFilterMethod:o}}function samePagination(t,r){for(const o in r)if(r[o]!==t[o])return!1;return!0}function fixPagination(t){return t.page<1&&(t.page=1),t.rowsPerPage!==void 0&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}const useTablePaginationProps={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function useTablePaginationState(t,r){const{props:o,emit:a}=t,u=ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:o.rowsPerPageOptions.length!==0?o.rowsPerPageOptions[0]:5},o.pagination)),d=computed(()=>{const b=o["onUpdate:pagination"]!==void 0?{...u.value,...o.pagination}:u.value;return fixPagination(b)}),g=computed(()=>d.value.rowsNumber!==void 0);function v(b){y({pagination:b,filter:o.filter})}function y(b={}){nextTick(()=>{a("request",{pagination:b.pagination||d.value,filter:b.filter||o.filter,getCellValue:r})})}function A(b,_){const w=fixPagination({...d.value,...b});if(samePagination(d.value,w)===!0){g.value===!0&&_===!0&&v(w);return}if(g.value===!0){v(w);return}o.pagination!==void 0&&o["onUpdate:pagination"]!==void 0?a("update:pagination",w):u.value=w}return{innerPagination:u,computedPagination:d,isServerSide:g,requestServerInteraction:y,setPagination:A}}function useTablePagination(t,r,o,a,u,d){const{props:g,emit:v,proxy:{$q:y}}=t,A=computed(()=>a.value===!0?o.value.rowsNumber||0:d.value),b=computed(()=>{const{page:D,rowsPerPage:x}=o.value;return(D-1)*x}),_=computed(()=>{const{page:D,rowsPerPage:x}=o.value;return D*x}),w=computed(()=>o.value.page===1),S=computed(()=>o.value.rowsPerPage===0?1:Math.max(1,Math.ceil(A.value/o.value.rowsPerPage))),C=computed(()=>_.value===0?!0:o.value.page>=S.value),T=computed(()=>(g.rowsPerPageOptions.includes(r.value.rowsPerPage)?g.rowsPerPageOptions:[r.value.rowsPerPage].concat(g.rowsPerPageOptions)).map(x=>({label:x===0?y.lang.table.allRows:""+x,value:x})));watch(S,(D,x)=>{if(D===x)return;const P=o.value.page;D&&!P?u({page:1}):D1&&u({page:D-1})}function F(){const{page:D,rowsPerPage:x}=o.value;_.value>0&&D*x["single","multiple","none"].includes(t)},selected:{type:Array,default:()=>[]}},useTableRowSelectionEmits=["update:selected","selection"];function useTableRowSelection(t,r,o,a){const u=computed(()=>{const C={};return t.selected.map(a.value).forEach(T=>{C[T]=!0}),C}),d=computed(()=>t.selection!=="none"),g=computed(()=>t.selection==="single"),v=computed(()=>t.selection==="multiple"),y=computed(()=>o.value.length!==0&&o.value.every(C=>u.value[a.value(C)]===!0)),A=computed(()=>y.value!==!0&&o.value.some(C=>u.value[a.value(C)]===!0)),b=computed(()=>t.selected.length);function _(C){return u.value[C]===!0}function w(){r("update:selected",[])}function S(C,T,I,E){r("selection",{rows:T,added:I,keys:C,evt:E});const F=g.value===!0?I===!0?T:[]:I===!0?t.selected.concat(T):t.selected.filter(O=>C.includes(a.value(O))===!1);r("update:selected",F)}return{hasSelectionMode:d,singleSelection:g,multipleSelection:v,allRowsSelected:y,someRowsSelected:A,rowsSelectedNumber:b,isRowSelected:_,clearSelection:w,updateSelection:S}}function getVal(t){return Array.isArray(t)?t.slice():[]}const useTableRowExpandProps={expanded:Array},useTableRowExpandEmits=["update:expanded"];function useTableRowExpand(t,r){const o=ref(getVal(t.expanded));watch(()=>t.expanded,g=>{o.value=getVal(g)});function a(g){return o.value.includes(g)}function u(g){t.expanded!==void 0?r("update:expanded",g):o.value=g}function d(g,v){const y=o.value.slice(),A=y.indexOf(g);v===!0?A===-1&&(y.push(g),u(y)):A!==-1&&(y.splice(A,1),u(y))}return{isRowExpanded:a,setExpanded:u,updateExpanded:d}}const useTableColumnSelectionProps={visibleColumns:Array};function useTableColumnSelection(t,r,o){const a=computed(()=>{if(t.columns!==void 0)return t.columns;const v=t.rows[0];return v!==void 0?Object.keys(v).map(y=>({name:y,label:y.toUpperCase(),field:y,align:isNumber$6(v[y])?"right":"left",sortable:!0})):[]}),u=computed(()=>{const{sortBy:v,descending:y}=r.value;return(t.visibleColumns!==void 0?a.value.filter(b=>b.required===!0||t.visibleColumns.includes(b.name)===!0):a.value).map(b=>{const _=b.align||"right",w=`text-${_}`;return{...b,align:_,__iconClass:`q-table__sort-icon q-table__sort-icon--${_}`,__thClass:w+(b.headerClasses!==void 0?" "+b.headerClasses:"")+(b.sortable===!0?" sortable":"")+(b.name===v?` sorted ${y===!0?"sort-desc":""}`:""),__tdStyle:b.style!==void 0?typeof b.style!="function"?()=>b.style:b.style:()=>null,__tdClass:b.classes!==void 0?typeof b.classes!="function"?()=>w+" "+b.classes:S=>w+" "+b.classes(S):()=>w}})}),d=computed(()=>{const v={};return u.value.forEach(y=>{v[y.name]=y}),v}),g=computed(()=>t.tableColspan!==void 0?t.tableColspan:u.value.length+(o.value===!0?1:0));return{colList:a,computedCols:u,computedColsMap:d,computedColspan:g}}const bottomClass="q-table__bottom row items-center",virtScrollPassthroughProps={};commonVirtScrollPropsList.forEach(t=>{virtScrollPassthroughProps[t]={}});var QTable=createComponent({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...virtScrollPassthroughProps,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...useDarkProps,...useFullscreenProps,...useTableColumnSelectionProps,...useTableFilterProps,...useTablePaginationProps,...useTableRowExpandProps,...useTableRowSelectionProps,...useTableSortProps},emits:["request","virtualScroll",...useFullscreenEmits,...useTableRowExpandEmits,...useTableRowSelectionEmits],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),{proxy:{$q:u}}=a,d=useDark(t,u),{inFullscreen:g,toggleFullscreen:v}=useFullscreen$1(),y=computed(()=>typeof t.rowKey=="function"?t.rowKey:Oe=>Oe[t.rowKey]),A=ref(null),b=ref(null),_=computed(()=>t.grid!==!0&&t.virtualScroll===!0),w=computed(()=>" q-table__card"+(d.value===!0?" q-table__card--dark q-dark":"")+(t.square===!0?" q-table--square":"")+(t.flat===!0?" q-table--flat":"")+(t.bordered===!0?" q-table--bordered":"")),S=computed(()=>`q-table__container q-table--${t.separator}-separator column no-wrap`+(t.grid===!0?" q-table--grid":w.value)+(d.value===!0?" q-table--dark":"")+(t.dense===!0?" q-table--dense":"")+(t.wrapCells===!1?" q-table--no-wrap":"")+(g.value===!0?" fullscreen scroll":"")),C=computed(()=>S.value+(t.loading===!0?" q-table--loading":""));watch(()=>t.tableStyle+t.tableClass+t.tableHeaderStyle+t.tableHeaderClass+S.value,()=>{_.value===!0&&b.value!==null&&b.value.reset()});const{innerPagination:T,computedPagination:I,isServerSide:E,requestServerInteraction:F,setPagination:O}=useTablePaginationState(a,He),{computedFilterMethod:D}=useTableFilter(t,O),{isRowExpanded:x,setExpanded:P,updateExpanded:G}=useTableRowExpand(t,o),M=computed(()=>{let Oe=t.rows;if(E.value===!0||Oe.length===0)return Oe;const{sortBy:We,descending:Je}=I.value;return t.filter&&(Oe=D.value(Oe,t.filter,ce.value,He)),he.value!==null&&(Oe=ye.value(t.rows===Oe?Oe.slice():Oe,We,Je)),Oe}),N=computed(()=>M.value.length),V=computed(()=>{let Oe=M.value;if(E.value===!0)return Oe;const{rowsPerPage:We}=I.value;return We!==0&&(pe.value===0&&t.rows!==Oe?Oe.length>ae.value&&(Oe=Oe.slice(0,ae.value)):Oe=Oe.slice(pe.value,ae.value)),Oe}),{hasSelectionMode:Z,singleSelection:H,multipleSelection:B,allRowsSelected:z,someRowsSelected:U,rowsSelectedNumber:Q,isRowSelected:X,clearSelection:J,updateSelection:ne}=useTableRowSelection(t,o,V,y),{colList:te,computedCols:ce,computedColsMap:se,computedColspan:ge}=useTableColumnSelection(t,I,Z),{columnToSort:he,computedSortMethod:ye,sort:ee}=useTableSort(t,I,te,O),{firstRowIndex:pe,lastRowIndex:ae,isFirstPage:ve,isLastPage:we,pagesNumber:_e,computedRowsPerPageOptions:Te,computedRowsNumber:Ce,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re}=useTablePagination(a,T,I,E,O,N),ue=computed(()=>V.value.length===0),be=computed(()=>{const Oe={};return commonVirtScrollPropsList.forEach(We=>{Oe[We]=t[We]}),Oe.virtualScrollItemSize===void 0&&(Oe.virtualScrollItemSize=t.dense===!0?28:48),Oe});function ie(){_.value===!0&&b.value.reset()}function oe(){if(t.grid===!0)return Rt();const Oe=t.hideHeader!==!0?yt:null;if(_.value===!0){const Je=r["top-row"],st=r["bottom-row"],At={default:bt=>De(bt.item,r.body,bt.index)};if(Je!==void 0){const bt=h("tbody",Je({cols:ce.value}));At.before=Oe===null?()=>bt:()=>[Oe()].concat(bt)}else Oe!==null&&(At.before=Oe);return st!==void 0&&(At.after=()=>h("tbody",st({cols:ce.value}))),h(QVirtualScroll,{ref:b,class:t.tableClass,style:t.tableStyle,...be.value,scrollTarget:t.virtualScrollTarget,items:V.value,type:"__qtable",tableColspan:ge.value,onVirtualScroll:Se},At)}const We=[Pe()];return Oe!==null&&We.unshift(Oe()),getTableMiddle({class:["q-table__middle scroll",t.tableClass],style:t.tableStyle},We)}function me(Oe,We){if(b.value!==null){b.value.scrollTo(Oe,We);return}Oe=parseInt(Oe,10);const Je=A.value.querySelector(`tbody tr:nth-of-type(${Oe+1})`);if(Je!==null){const st=A.value.querySelector(".q-table__middle.scroll"),At=Je.offsetTop-t.virtualScrollStickySizeStart,bt=At{const It=r[`body-cell-${it.name}`],Ne=It!==void 0?It:bt;return Ne!==void 0?Ne(ot({key:st,row:Oe,pageIndex:Je,col:it})):h("td",{class:it.__tdClass(Oe),style:it.__tdStyle(Oe)},He(it,Oe))});if(Z.value===!0){const it=r["body-selection"],It=it!==void 0?it(ct({key:st,row:Oe,pageIndex:Je})):[h(QCheckbox,{modelValue:At,color:t.color,dark:d.value,dense:t.dense,"onUpdate:modelValue":(Ne,Ge)=>{ne([st],[Oe],Ne,Ge)}})];Le.unshift(h("td",{class:"q-table--col-auto-width"},It))}const Fe={key:st,class:{selected:At}};return t.onRowClick!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onClick=it=>{o("rowClick",it,Oe,Je)}),t.onRowDblclick!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onDblclick=it=>{o("rowDblclick",it,Oe,Je)}),t.onRowContextmenu!==void 0&&(Fe.class["cursor-pointer"]=!0,Fe.onContextmenu=it=>{o("rowContextmenu",it,Oe,Je)}),h("tr",Fe,Le)}function Pe(){const Oe=r.body,We=r["top-row"],Je=r["bottom-row"];let st=V.value.map((At,bt)=>De(At,Oe,bt));return We!==void 0&&(st=We({cols:ce.value}).concat(st)),Je!==void 0&&(st=st.concat(Je({cols:ce.value}))),h("tbody",st)}function Be(Oe){return _t(Oe),Oe.cols=Oe.cols.map(We=>injectProp({...We},"value",()=>He(We,Oe.row))),Oe}function ot(Oe){return _t(Oe),injectProp(Oe,"value",()=>He(Oe.col,Oe.row)),Oe}function ct(Oe){return _t(Oe),Oe}function _t(Oe){Object.assign(Oe,{cols:ce.value,colsMap:se.value,sort:ee,rowIndex:pe.value+Oe.pageIndex,color:t.color,dark:d.value,dense:t.dense}),Z.value===!0&&injectProp(Oe,"selected",()=>X(Oe.key),(We,Je)=>{ne([Oe.key],[Oe.row],We,Je)}),injectProp(Oe,"expand",()=>x(Oe.key),We=>{G(Oe.key,We)})}function He(Oe,We){const Je=typeof Oe.field=="function"?Oe.field(We):We[Oe.field];return Oe.format!==void 0?Oe.format(Je,We):Je}const Ve=computed(()=>({pagination:I.value,pagesNumber:_e.value,isFirstPage:ve.value,isLastPage:we.value,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re,inFullscreen:g.value,toggleFullscreen:v}));function ke(){const Oe=r.top,We=r["top-left"],Je=r["top-right"],st=r["top-selection"],At=Z.value===!0&&st!==void 0&&Q.value>0,bt="q-table__top relative-position row items-center";if(Oe!==void 0)return h("div",{class:bt},[Oe(Ve.value)]);let Le;if(At===!0?Le=st(Ve.value).slice():(Le=[],We!==void 0?Le.push(h("div",{class:"q-table__control"},[We(Ve.value)])):t.title&&Le.push(h("div",{class:"q-table__control"},[h("div",{class:["q-table__title",t.titleClass]},t.title)]))),Je!==void 0&&(Le.push(h("div",{class:"q-table__separator col"})),Le.push(h("div",{class:"q-table__control"},[Je(Ve.value)]))),Le.length!==0)return h("div",{class:bt},Le)}const Qe=computed(()=>U.value===!0?null:z.value);function yt(){const Oe=Ct();return t.loading===!0&&r.loading===void 0&&Oe.push(h("tr",{class:"q-table__progress"},[h("th",{class:"relative-position",colspan:ge.value},xe())])),h("thead",Oe)}function Ct(){const Oe=r.header,We=r["header-cell"];if(Oe!==void 0)return Oe(Xe({header:!0})).slice();const Je=ce.value.map(st=>{const At=r[`header-cell-${st.name}`],bt=At!==void 0?At:We,Le=Xe({col:st});return bt!==void 0?bt(Le):h(QTh,{key:st.name,props:Le},()=>st.label)});if(H.value===!0&&t.grid!==!0)Je.unshift(h("th",{class:"q-table--col-auto-width"}," "));else if(B.value===!0){const st=r["header-selection"],At=st!==void 0?st(Xe({})):[h(QCheckbox,{color:t.color,modelValue:Qe.value,dark:d.value,dense:t.dense,"onUpdate:modelValue":dt})];Je.unshift(h("th",{class:"q-table--col-auto-width"},At))}return[h("tr",{class:t.tableHeaderClass,style:t.tableHeaderStyle},Je)]}function Xe(Oe){return Object.assign(Oe,{cols:ce.value,sort:ee,colsMap:se.value,color:t.color,dark:d.value,dense:t.dense}),B.value===!0&&injectProp(Oe,"selected",()=>Qe.value,dt),Oe}function dt(Oe){U.value===!0&&(Oe=!1),ne(V.value.map(y.value),V.value,Oe)}const Re=computed(()=>{const Oe=[t.iconFirstPage||u.iconSet.table.firstPage,t.iconPrevPage||u.iconSet.table.prevPage,t.iconNextPage||u.iconSet.table.nextPage,t.iconLastPage||u.iconSet.table.lastPage];return u.lang.rtl===!0?Oe.reverse():Oe});function Ye(){if(t.hideBottom===!0)return;if(ue.value===!0){if(t.hideNoData===!0)return;const Je=t.loading===!0?t.loadingLabel||u.lang.table.loading:t.filter?t.noResultsLabel||u.lang.table.noResults:t.noDataLabel||u.lang.table.noData,st=r["no-data"],At=st!==void 0?[st({message:Je,icon:u.iconSet.table.warning,filter:t.filter})]:[h(QIcon,{class:"q-table__bottom-nodata-icon",name:u.iconSet.table.warning}),Je];return h("div",{class:bottomClass+" q-table__bottom--nodata"},At)}const Oe=r.bottom;if(Oe!==void 0)return h("div",{class:bottomClass},[Oe(Ve.value)]);const We=t.hideSelectedBanner!==!0&&Z.value===!0&&Q.value>0?[h("div",{class:"q-table__control"},[h("div",[(t.selectedRowsLabel||u.lang.table.selectedRecords)(Q.value)])])]:[];if(t.hidePagination!==!0)return h("div",{class:bottomClass+" justify-end"},mt(We));if(We.length!==0)return h("div",{class:bottomClass},We)}function at(Oe){O({page:1,rowsPerPage:Oe.value})}function mt(Oe){let We;const{rowsPerPage:Je}=I.value,st=t.paginationLabel||u.lang.table.pagination,At=r.pagination,bt=t.rowsPerPageOptions.length>1;if(Oe.push(h("div",{class:"q-table__separator col"})),bt===!0&&Oe.push(h("div",{class:"q-table__control"},[h("span",{class:"q-table__bottom-item"},[t.rowsPerPageLabel||u.lang.table.recordsPerPage]),h(QSelect,{class:"q-table__select inline q-table__bottom-item",color:t.color,modelValue:Je,options:Te.value,displayValue:Je===0?u.lang.table.allRows:Je,dark:d.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":at})])),At!==void 0)We=At(Ve.value);else if(We=[h("span",Je!==0?{class:"q-table__bottom-item"}:{},[Je?st(pe.value+1,Math.min(ae.value,Ce.value),Ce.value):st(1,N.value,Ce.value)])],Je!==0&&_e.value>1){const Le={color:t.color,round:!0,dense:!0,flat:!0};t.dense===!0&&(Le.size="sm"),_e.value>2&&We.push(h(QBtn,{key:"pgFirst",...Le,icon:Re.value[0],disable:ve.value,onClick:Ae})),We.push(h(QBtn,{key:"pgPrev",...Le,icon:Re.value[1],disable:ve.value,onClick:Ee}),h(QBtn,{key:"pgNext",...Le,icon:Re.value[2],disable:we.value,onClick:le})),_e.value>2&&We.push(h(QBtn,{key:"pgLast",...Le,icon:Re.value[3],disable:we.value,onClick:re}))}return Oe.push(h("div",{class:"q-table__control"},We)),Oe}function St(){const Oe=t.gridHeader===!0?[h("table",{class:"q-table"},[yt()])]:t.loading===!0&&r.loading===void 0?xe():void 0;return h("div",{class:"q-table__middle"},Oe)}function Rt(){const Oe=r.item!==void 0?r.item:We=>{const Je=We.cols.map(At=>h("div",{class:"q-table__grid-item-row"},[h("div",{class:"q-table__grid-item-title"},[At.label]),h("div",{class:"q-table__grid-item-value"},[At.value])]));if(Z.value===!0){const At=r["body-selection"],bt=At!==void 0?At(We):[h(QCheckbox,{modelValue:We.selected,color:t.color,dark:d.value,dense:t.dense,"onUpdate:modelValue":(Le,Fe)=>{ne([We.key],[We.row],Le,Fe)}})];Je.unshift(h("div",{class:"q-table__grid-item-row"},bt),h(QSeparator,{dark:d.value}))}const st={class:["q-table__grid-item-card"+w.value,t.cardClass],style:t.cardStyle};return(t.onRowClick!==void 0||t.onRowDblclick!==void 0)&&(st.class[0]+=" cursor-pointer",t.onRowClick!==void 0&&(st.onClick=At=>{o("RowClick",At,We.row,We.pageIndex)}),t.onRowDblclick!==void 0&&(st.onDblclick=At=>{o("RowDblclick",At,We.row,We.pageIndex)})),h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(We.selected===!0?" q-table__grid-item--selected":"")},[h("div",st,Je)])};return h("div",{class:["q-table__grid-content row",t.cardContainerClass],style:t.cardContainerStyle},V.value.map((We,Je)=>Oe(Be({key:y.value(We),row:We,pageIndex:Je}))))}return Object.assign(a.proxy,{requestServerInteraction:F,setPagination:O,firstPage:Ae,prevPage:Ee,nextPage:le,lastPage:re,isRowSelected:X,clearSelection:J,isRowExpanded:x,setExpanded:P,sort:ee,resetVirtualScroll:ie,scrollTo:me,getCellValue:He}),injectMultipleProps(a.proxy,{filteredSortedRows:()=>M.value,computedRows:()=>V.value,computedRowsNumber:()=>Ce.value}),()=>{const Oe=[ke()],We={ref:A,class:C.value};return t.grid===!0?Oe.push(St()):Object.assign(We,{class:[We.class,t.cardClass],style:t.cardStyle}),Oe.push(oe(),Ye()),t.loading===!0&&r.loading!==void 0&&Oe.push(r.loading()),h("div",We,Oe)}}});function fallback(t){const r=document.createElement("textarea");r.value=t,r.contentEditable="true",r.style.position="fixed";const o=()=>{};addFocusout(o),document.body.appendChild(r),r.focus(),r.select();const a=document.execCommand("copy");return r.remove(),removeFocusout(o),a}function copyToClipboard(t){return navigator.clipboard!==void 0?navigator.clipboard.writeText(t):new Promise((r,o)=>{const a=fallback(t);a?r(!0):o(a)})}function useCopyToClipboard(t){const r=useQuasar(),o=useI18n();return{copyToClipboard:a=>{copyToClipboard(a).then(()=>r.notify(o.t(t||"ID copied"))).catch(()=>{})}}}var DevicesTable_vue_vue_type_style_index_0_lang="";const _sfc_main$10=defineComponent({name:"DevicesTable",props:{id:{type:String,required:!0},devices:{type:Array,default:[]},pagination:{type:Object,default:{}}},emits:["onPagination","onDeviceSelection"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=useIoBroker(),d=[{name:"name",label:o.t("Name")+" ("+o.t("ID")+")",field:"name",align:"left",sortable:!0,style:{width:"20%"}},{name:"room",label:o.t("Room"),field:"room",align:"left",sortable:!0,format:(F,O)=>(O.floor||"")+(O.floor&&F?", ":"")+(F||""),style:{width:"8%"}},{name:"function",label:o.t("Function"),field:"function",align:"left",sortable:!0,format:F=>F?o.t(F):"",style:{width:"7%"}},{name:"tags",label:o.t("Tags"),field:"tags",align:"left",sortable:!0,format:F=>F&&F.sort(),style:{width:"15%"}},{name:"states",label:o.t("States"),field:"states",align:"left",sortable:!0,format:F=>(F=Object.keys(F||"{}").join(", "),F.length>130?F.substr(0,128)+" ...":F),style:{width:"50%"}}],{copyToClipboard:g}=useCopyToClipboard(),v=F=>F.attributes&&F.attributes.deleted===!0,y=F=>a.editDevice(F),A=F=>a.copyDevice(F),b=F=>a.removeDevice(F),_=F=>a.restoreDevice(F),w=(F,O,D)=>{},S=ref([]),C=computed(()=>S.value.length===0?!1:t.devices.length===S.value.length?!0:null);watch(S,()=>r("onDeviceSelection",S.value));const T=()=>{S.value.length===0||t.devices.length!==S.value.length?S.value=t.devices.map(F=>F.id):S.value=[]},I=()=>{S.value=[]},E=ref(1);return{page:E,onPagination:F=>{const{page:O,...D}=F;E.value=O,r("onPagination",D)},columns:d,copyClipboard:g,isDeleted:v,onDeviceEdit:y,onDeviceCopy:A,onDeviceRemove:b,onDeviceRestore:_,setCloud:w,clearDevicesSelected:I,toggleAllDevicesSelected:T,isAllDevicesSelected:C,selectedDevices:S,enabledHistory:computed(()=>u.enabledHistory),isHistory:F=>a.isHistory(Object.values(F))!==null?a.isHistory(Object.values(F)):u.isHistory(Object.values(F)),enabledIoT:computed(()=>u.enabledIoT),isCloud:F=>a.isCloud(Object.values(F))!==null?a.isCloud(Object.values(F)):u.isCloud(Object.values(F))}}}),_hoisted_1$P={class:"q-pa-md"},_hoisted_2$F={key:0},_hoisted_3$v=["onClick"],_hoisted_4$n={key:0};function _sfc_render$10(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$P,[(openBlock(),createBlock(QTable,{key:t.id,rows:t.devices,columns:t.columns,pagination:{...t.pagination,page:t.page},"rows-per-page-label":t.$t("Devices per page"),class:"jarvis-device-list","onUpdate:pagination":t.onPagination},{header:withCtx(y=>[createVNode$1(QTr,{props:y},{default:withCtx(()=>[createVNode$1(QTh,{align:"left","auto-width":""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","model-value":t.isAllDevicesSelected,"indeterminate-value":"null","onUpdate:modelValue":t.toggleAllDevicesSelected},null,8,["model-value","onUpdate:modelValue"])]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(y.cols,A=>(openBlock(),createBlock(QTh,{key:A.name,props:y},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.label),1)]),_:2},1032,["props"]))),128)),createVNode$1(QTh,{"auto-width":""})]),_:2},1032,["props"])]),body:withCtx(y=>[createVNode$1(QTr,{props:y,class:normalizeClass({rowDeleted:t.isDeleted(y.row)})},{default:withCtx(()=>[createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(y.row)!==!0?(openBlock(),createElementBlock("div",_hoisted_2$F,[createVNode$1(QCheckbox,{modelValue:t.selectedDevices,"onUpdate:modelValue":r[0]||(r[0]=A=>t.selectedDevices=A),val:y.row.id,size:"xs"},null,8,["modelValue","val"]),createVNode$1(QSeparator,{vertical:"",style:{margin:"0 4px",height:"24px",display:"inline-flex","vertical-align":"middle"}}),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:A=>t.onDeviceEdit(y.row)},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:A=>t.onDeviceCopy(y.row)},null,8,["onClick"]),createVNode$1(QSeparator,{vertical:"",style:{margin:"0 4px",height:"24px",display:"inline-flex","vertical-align":"middle"}}),withDirectives(createVNode$1(g,{type:"button",disabled:!0,tooltip:t.$t("IoT Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-cloud-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledIoT]]),withDirectives(createVNode$1(g,{type:"button",disabled:!0,tooltip:t.$t("History Adapter not installed"),size:"sm",flat:"",round:"",icon:"mdi-clock-remove-outline"},null,8,["tooltip"]),[[vShow,!t.enabledHistory]]),t.isCloud(y.row.states)?withDirectives((openBlock(),createBlock(g,{key:0,style:{cursor:"help"},type:"button",tooltip:t.$t("IoT is activated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-check",onClick:withModifiers(A=>t.setCloud("remove",y.row.id,y.row.states),["stop"])},null,8,["tooltip","onClick"])),[[vShow,t.enabledIoT]]):withDirectives((openBlock(),createBlock(g,{key:1,style:{cursor:"help"},type:"button",tooltip:t.$t("IoT is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-cloud-outline",onClick:withModifiers(A=>t.setCloud("add",y.row.id,y.row.states),["stop"])},null,8,["tooltip","onClick"])),[[vShow,t.enabledIoT]]),t.isHistory(y.row.states)?withDirectives((openBlock(),createBlock(g,{key:2,style:{cursor:"help"},type:"button",tooltip:t.$t("History is activated"),size:"sm",flat:"",round:"",icon:"mdi-clock-check"},null,8,["tooltip"])),[[vShow,t.enabledHistory]]):withDirectives((openBlock(),createBlock(g,{key:3,style:{cursor:"help"},type:"button",tooltip:t.$t("History is deactivated"),size:"sm",flat:"",round:"",icon:"mdi-clock-outline"},null,8,["tooltip"])),[[vShow,t.enabledHistory]])])):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[0].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["cursor-pointer",{itemDeleted:t.isDeleted(y.row)}]),onClick:A=>t.copyClipboard(y.row.id)},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(" ID: "+toDisplayString$1(y.row.id)+" ("+toDisplayString$1(t.$t("click to copy to clipboard"))+") ",1)]),_:2},1024),createBaseVNode("span",null,toDisplayString$1(y.row.name),1),y.row.label?(openBlock(),createElementBlock("span",_hoisted_4$n," ("+toDisplayString$1(y.row.label)+")",1)):createCommentVNode("",!0),createVNode$1(v,{name:"clipboard-text-multiple-outline",size:"xs",style:{"margin-left":"4px"}})],10,_hoisted_3$v)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[1].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[1].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[2].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[2].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[3].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},[(openBlock(!0),createElementBlock(Fragment,null,renderList([...new Set(y.cols[3].value)],A=>(openBlock(),createBlock(QChip,{key:A,size:"sm",color:"primary","text-color":"white"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A),1)]),_:2},1024))),128))],2)]),_:2},1032,["style"]),createVNode$1(QTd,{style:normalizeStyle$1(y.cols[4].style||{})},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(y.row)})},toDisplayString$1(y.cols[4].value),3)]),_:2},1032,["style"]),createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(y.row)!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:withModifiers(A=>t.onDeviceRemove(y.row),["stop"])},null,8,["onClick"])):createCommentVNode("",!0),t.isDeleted(y.row)?(openBlock(),createBlock(QBtn,{key:1,size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:withModifiers(A=>t.onDeviceRestore(y.row),["stop"])},null,8,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["props","class"])]),_:1},8,["rows","columns","pagination","rows-per-page-label","onUpdate:pagination"]))])}var DevicesTable=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$10]]),jsoneditor_min$1={exports:{}};/*! * jsoneditor.js * * @brief @@ -139,8 +139,8 @@ Your first jarvis may be generated automatically based on your ioBroker devices * @author Jos de Jong, * @version 10.1.0 * @date 2024-06-19 - */(function(t,r){(function(o,a){t.exports=a()})(self,function(){return a={6545:function(d,g,v){v.d(g,{t:function(){return S}});var y=v(1925),A=v(6237),b=v(3057);function _(C){return(_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T})(C)}function w(C,T){for(var I=0;IM.top&&(x=!1),D?0:P.top-G.top);x?(D=F.offsetHeight,this.dom.menu.style.left="0",this.dom.menu.style.top=V+D+"px",this.dom.menu.style.bottom=""):(this.dom.menu.style.left="0",this.dom.menu.style.top="",this.dom.menu.style.bottom="0px"),this.limitHeight&&(G=x?M.bottom-P.bottom-10:P.top-M.top-10,this.dom.list.style.maxHeight=G+"px",this.dom.list.style.overflowY="auto"),this.dom.absoluteAnchor.appendChild(this.dom.root),this.selection=(0,A.getSelection)(),this.anchor=F,setTimeout(function(){N.dom.focusButton.focus()},0),C.visibleMenu&&C.visibleMenu.hide(),C.visibleMenu=this}},{key:"hide",value:function(){this.dom.absoluteAnchor&&(this.dom.absoluteAnchor.destroy(),delete this.dom.absoluteAnchor),this.dom.root.parentNode&&(this.dom.root.parentNode.removeChild(this.dom.root),this.onClose)&&this.onClose(),C.visibleMenu===this&&(C.visibleMenu=void 0)}},{key:"_onExpandItem",value:function(F){var O,D=this,x=F===this.expandedItem,P=this.expandedItem;P&&(P.ul.style.height="0",P.ul.style.padding="",setTimeout(function(){D.expandedItem!==P&&(P.ul.style.display="",A.removeClassName)(P.ul.parentNode,"jsoneditor-selected")},300),this.expandedItem=void 0),x||((O=F.ul).style.display="block",O.clientHeight,setTimeout(function(){if(D.expandedItem===F){for(var G=0,M=0;M/gi,` -`))),M.appendChild(N),G.appendChild(M)),G.onclick=function(){O.onFocusLine(P)},E.appendChild(G)}),this.dom.validationErrors=D,this.dom.validationErrorsContainer.appendChild(D),this.dom.additionalErrorsIndication.title=T.length+" errors total",this.dom.validationErrorsContainer.clientHeightM.top&&(x=!1),D?0:P.top-G.top);x?(D=F.offsetHeight,this.dom.menu.style.left="0",this.dom.menu.style.top=V+D+"px",this.dom.menu.style.bottom=""):(this.dom.menu.style.left="0",this.dom.menu.style.top="",this.dom.menu.style.bottom="0px"),this.limitHeight&&(G=x?M.bottom-P.bottom-10:P.top-M.top-10,this.dom.list.style.maxHeight=G+"px",this.dom.list.style.overflowY="auto"),this.dom.absoluteAnchor.appendChild(this.dom.root),this.selection=(0,A.getSelection)(),this.anchor=F,setTimeout(function(){N.dom.focusButton.focus()},0),C.visibleMenu&&C.visibleMenu.hide(),C.visibleMenu=this}},{key:"hide",value:function(){this.dom.absoluteAnchor&&(this.dom.absoluteAnchor.destroy(),delete this.dom.absoluteAnchor),this.dom.root.parentNode&&(this.dom.root.parentNode.removeChild(this.dom.root),this.onClose)&&this.onClose(),C.visibleMenu===this&&(C.visibleMenu=void 0)}},{key:"_onExpandItem",value:function(F){var O,D=this,x=F===this.expandedItem,P=this.expandedItem;P&&(P.ul.style.height="0",P.ul.style.padding="",setTimeout(function(){D.expandedItem!==P&&(P.ul.style.display="",A.removeClassName)(P.ul.parentNode,"jsoneditor-selected")},300),this.expandedItem=void 0),x||((O=F.ul).style.display="block",O.clientHeight,setTimeout(function(){if(D.expandedItem===F){for(var G=0,M=0;M/gi,` +`))),M.appendChild(N),G.appendChild(M)),G.onclick=function(){O.onFocusLine(P)},E.appendChild(G)}),this.dom.validationErrors=D,this.dom.validationErrorsContainer.appendChild(D),this.dom.additionalErrorsIndication.title=T.length+" errors total",this.dom.validationErrorsContainer.clientHeighty[0].length)||(y=A,b=S,this.options.flex));S++);return y?((_=y[0].match(/\n.*/g))&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-1:this.yylloc.last_column+y[0].length},this.yytext+=y[0],this.match+=y[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(y[0].length),this.matched+=y[0],_=this.performAction.call(this,this.yy,this,w[b],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_||void 0):this._input===""?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var y=this.next();return y!==void 0?y:this.lex()},begin:function(y){this.conditionStack.push(y)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(y){this.begin(y)},options:{},performAction:function(y,A,b,_){switch(b){case 0:break;case 1:return 6;case 2:return A.yytext=A.yytext.substr(1,A.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};var v;g.parser=v,g.parse=v.parse.bind(v)},4772:function(d){function g(){}g.prototype={on:function(T,I){this._events=this._events||{},this._events[T]=this._events[T]||[],this._events[T].push(I)},off:function(T,I){this._events=this._events||{},T in this._events&&this._events[T].splice(this._events[T].indexOf(I),1)},emit:function(T){if(this._events=this._events||{},T in this._events)for(var I=0;I"+H.label+""}),v.each(H.children,function(B,z){z.idx=N,M.appendChild(_.call(this,z,M)),N++},this)):(H.idx=N,_.call(this,H),N++)},this),this.config.data&&Array.isArray(this.config.data)&&(x=!(this.data=[]),M=!1,N=0,v.each(this.config.data,function(Y,H){y(H,"children")?(x=v.createElement("optgroup",{label:H.text}),M=v.createElement("ul",{class:"selectr-optgroup",role:"group",html:"
  • "+H.text+"
  • "}),v.each(H.children,function(B,z){(P=new Option(z.text,z.value,!1,z.hasOwnProperty("selected")&&z.selected===!0)).disabled=y(z,"disabled"),this.options.push(P),x.appendChild(P),P.idx=N,M.appendChild(_.call(this,P,z)),this.data[N]=z,N++},this),this.el.appendChild(x)):((P=new Option(H.text,H.value,!1,H.hasOwnProperty("selected")&&H.selected===!0)).disabled=y(H,"disabled"),this.options.push(P),P.idx=N,_.call(this,P,H),this.data[N]=H,N++)},this)),this.setSelected(!0);for(var V=this.navIndex=0;Vthis.tree.lastElementChild.idx){this.navIndex=this.tree.lastElementChild.idx;break}if(this.navIndexthis.optsRect.top+this.optsRect.height&&(this.tree.scrollTop=this.tree.scrollTop+(E.top+E.height-(this.optsRect.top+this.optsRect.height))),this.navIndex===this.tree.childElementCount-1&&this.requiresPagination&&w.call(this)):this.navIndex===0?this.tree.scrollTop=0:E.top-this.optsRect.top<0&&(this.tree.scrollTop=this.tree.scrollTop+(E.top-this.optsRect.top)),O&&v.removeClass(O,"active"),v.addClass(this.items[this.navIndex],"active")}else this.navigating=!1}.bind(this),this.events.reset=this.reset.bind(this),(this.config.nativeDropdown||this.mobileDevice)&&(this.container.addEventListener("touchstart",function(E){E.changedTouches[0].target===I.el&&I.toggle()},!!this.supportsEventPassiveOption&&{passive:!0}),this.container.addEventListener("click",function(E){E.target===I.el&&I.toggle()}),this.el.addEventListener("change",function(E){E.__selfTriggered||(I.el.multiple?(E=I.getSelectedProperties("idx"),E=function(F,O){for(var D,x=[],P=F.slice(0),G=0;GE?(v.addClass(this.container,"inverted"),this.isInverted=!0):(v.removeClass(this.container,"inverted"),this.isInverted=!1),this.optsRect=v.rect(this.tree)},C.prototype.getOptionByIndex=function(T){return this.options[T]},C.prototype.getOptionByValue=function(T){for(var I=!1,E=0,F=this.options.length;E"+H.label+""}),v.each(H.children,function(B,z){z.idx=N,M.appendChild(_.call(this,z,M)),N++},this)):(H.idx=N,_.call(this,H),N++)},this),this.config.data&&Array.isArray(this.config.data)&&(x=!(this.data=[]),M=!1,N=0,v.each(this.config.data,function(Z,H){y(H,"children")?(x=v.createElement("optgroup",{label:H.text}),M=v.createElement("ul",{class:"selectr-optgroup",role:"group",html:"
  • "+H.text+"
  • "}),v.each(H.children,function(B,z){(P=new Option(z.text,z.value,!1,z.hasOwnProperty("selected")&&z.selected===!0)).disabled=y(z,"disabled"),this.options.push(P),x.appendChild(P),P.idx=N,M.appendChild(_.call(this,P,z)),this.data[N]=z,N++},this),this.el.appendChild(x)):((P=new Option(H.text,H.value,!1,H.hasOwnProperty("selected")&&H.selected===!0)).disabled=y(H,"disabled"),this.options.push(P),P.idx=N,_.call(this,P,H),this.data[N]=H,N++)},this)),this.setSelected(!0);for(var V=this.navIndex=0;Vthis.tree.lastElementChild.idx){this.navIndex=this.tree.lastElementChild.idx;break}if(this.navIndexthis.optsRect.top+this.optsRect.height&&(this.tree.scrollTop=this.tree.scrollTop+(E.top+E.height-(this.optsRect.top+this.optsRect.height))),this.navIndex===this.tree.childElementCount-1&&this.requiresPagination&&w.call(this)):this.navIndex===0?this.tree.scrollTop=0:E.top-this.optsRect.top<0&&(this.tree.scrollTop=this.tree.scrollTop+(E.top-this.optsRect.top)),O&&v.removeClass(O,"active"),v.addClass(this.items[this.navIndex],"active")}else this.navigating=!1}.bind(this),this.events.reset=this.reset.bind(this),(this.config.nativeDropdown||this.mobileDevice)&&(this.container.addEventListener("touchstart",function(E){E.changedTouches[0].target===I.el&&I.toggle()},!!this.supportsEventPassiveOption&&{passive:!0}),this.container.addEventListener("click",function(E){E.target===I.el&&I.toggle()}),this.el.addEventListener("change",function(E){E.__selfTriggered||(I.el.multiple?(E=I.getSelectedProperties("idx"),E=function(F,O){for(var D,x=[],P=F.slice(0),G=0;GE?(v.addClass(this.container,"inverted"),this.isInverted=!0):(v.removeClass(this.container,"inverted"),this.isInverted=!1),this.optsRect=v.rect(this.tree)},C.prototype.getOptionByIndex=function(T){return this.options[T]},C.prototype.getOptionByValue=function(T){for(var I=!1,E=0,F=this.options.length;Ethis.limit&&1A.Oq?((0,D.addClassName)((V=this).frame,"busy"),V.dom.busyContent.innerText=N,setTimeout(function(){M(),(0,D.removeClassName)(V.frame,"busy"),V.dom.busyContent.innerText=""},100)):M()},P.validate=x.validate,P._renderErrors=x._renderErrors,[{mode:"preview",mixin:P,data:"json"}])},2915:function(d,y,v){v.r(y),v.d(y,{showSortModal:function(){return w}});var y=v(8340),A=v.n(y),b=v(3057),_=v(6237);function w(S,D,T,I){var E=Array.isArray(D)?(0,_.getChildPaths)(D):[""],F=I&&I.path&&(0,_.contains)(E,I.path)?I.path:E[0],O=I&&I.direction||"asc",D='
    '+(0,b.Tl)("sort")+"
    "+(0,b.Tl)("sortFieldLabel")+'
    '+(0,b.Tl)("sortDirectionLabel")+'
    ';A()({parent:S,content:D,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-sort"}).afterCreate(function(x){var P=x.modalElem().querySelector("form"),G=x.modalElem().querySelector("#ok"),M=x.modalElem().querySelector("#field"),N=x.modalElem().querySelector("#direction");function V(Y){N.value=Y,N.className="jsoneditor-button-group jsoneditor-button-group-value-"+N.value}E.forEach(function(Y){var H,B=document.createElement("option");B.text=(H=Y)===""?"@":H[0]==="."?H.slice(1):H,B.value=Y,M.appendChild(B)}),M.value=F||E[0],V(O||"asc"),N.onclick=function(Y){V(Y.target.getAttribute("data-value"))},G.onclick=function(Y){Y.preventDefault(),Y.stopPropagation(),x.close(),T({path:M.value,direction:N.value})},P&&(P.onsubmit=G.onclick)}).afterClose(function(x){x.destroy()}).show()}},5609:function(d,A,v){v.r(A),v.d(A,{showTransformModal:function(){return F}});var A=v(8340),y=v.n(A),A=v(4772),b=v.n(A),_=v(3057);function w(O){return(w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(O)}function S(O,D,x,P){if(typeof O=="boolean"||O instanceof Boolean||O===null||typeof O=="number"||O instanceof Number||typeof O=="string"||O instanceof String||O instanceof Date)return JSON.stringify(O);if(Array.isArray(O)){for(var G=O,M=D,N=x,V=P,Y=M?N+M:void 0,H=M?`[ -`:"[",B=0;Bthis.limit&&1A.Oq?((0,D.addClassName)((V=this).frame,"busy"),V.dom.busyContent.innerText=N,setTimeout(function(){M(),(0,D.removeClassName)(V.frame,"busy"),V.dom.busyContent.innerText=""},100)):M()},P.validate=x.validate,P._renderErrors=x._renderErrors,[{mode:"preview",mixin:P,data:"json"}])},2915:function(d,y,v){v.r(y),v.d(y,{showSortModal:function(){return w}});var y=v(8340),A=v.n(y),b=v(3057),_=v(6237);function w(S,D,T,I){var E=Array.isArray(D)?(0,_.getChildPaths)(D):[""],F=I&&I.path&&(0,_.contains)(E,I.path)?I.path:E[0],O=I&&I.direction||"asc",D='
    '+(0,b.Tl)("sort")+"
    "+(0,b.Tl)("sortFieldLabel")+'
    '+(0,b.Tl)("sortDirectionLabel")+'
    ';A()({parent:S,content:D,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-sort"}).afterCreate(function(x){var P=x.modalElem().querySelector("form"),G=x.modalElem().querySelector("#ok"),M=x.modalElem().querySelector("#field"),N=x.modalElem().querySelector("#direction");function V(Z){N.value=Z,N.className="jsoneditor-button-group jsoneditor-button-group-value-"+N.value}E.forEach(function(Z){var H,B=document.createElement("option");B.text=(H=Z)===""?"@":H[0]==="."?H.slice(1):H,B.value=Z,M.appendChild(B)}),M.value=F||E[0],V(O||"asc"),N.onclick=function(Z){V(Z.target.getAttribute("data-value"))},G.onclick=function(Z){Z.preventDefault(),Z.stopPropagation(),x.close(),T({path:M.value,direction:N.value})},P&&(P.onsubmit=G.onclick)}).afterClose(function(x){x.destroy()}).show()}},5609:function(d,A,v){v.r(A),v.d(A,{showTransformModal:function(){return F}});var A=v(8340),y=v.n(A),A=v(4772),b=v.n(A),_=v(3057);function w(O){return(w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(O)}function S(O,D,x,P){if(typeof O=="boolean"||O instanceof Boolean||O===null||typeof O=="number"||O instanceof Number||typeof O=="string"||O instanceof String||O instanceof Date)return JSON.stringify(O);if(Array.isArray(O)){for(var G=O,M=D,N=x,V=P,Z=M?N+M:void 0,H=M?`[ +`:"[",B=0;BV)return H+"..."}return H+=M?` `+N+"]":"]"}if(O&&w(O)==="object"){var U,Q=O,X=D,N=x,J=P,ne=X?N+X:void 0,te=!0,ce=X?`{ `:"{";if(typeof Q.toJSON=="function")return S(Q.toJSON(),X,N,J);for(U in Q)if(function(he,ye){return Object.prototype.hasOwnProperty.call(he,ye)}(Q,U)){var se=Q[U];if(te?te=!1:ce+=X?`, `:",",(ce=(ce+=X?ne+'"'+U+'": ':'"'+U+'":')+S(se,X,ne,J)).length>J)return ce+"..."}return ce+=X?` -`+N+"}":"}"}}function C(O,D){for(var x="";0JMESPath
    query to filter, sort, or transform the JSON data.
    To learn JMESPath, go to the interactive tutorial.';function F(Y){var D=Y.container,x=Y.json,P=Y.queryDescription,P=P===void 0?E:P,G=Y.createQuery,M=Y.executeQuery,N=Y.onTransform,V=x,Y='
    '+(0,_.Tl)("transform")+"

    "+P+'

    '+(0,_.Tl)("transformWizardLabel")+'
    '+(0,_.Tl)("transformWizardFilter")+'
    '+(0,_.Tl)("transformWizardSortBy")+'
    '+(0,_.Tl)("transformWizardSelectFields")+'
    '+(0,_.Tl)("transformQueryLabel")+'
    '+(0,_.Tl)("transformPreviewLabel")+'
    ';y()({parent:D,content:Y,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-transform",focus:!1}).afterCreate(function(H){var B=H.modalElem(),ge=B.querySelector("#wizard"),z=B.querySelector("#ok"),U=B.querySelector("#filterField"),Q=B.querySelector("#filterRelation"),X=B.querySelector("#filterValue"),J=B.querySelector("#sortField"),ne=B.querySelector("#sortOrder"),te=B.querySelector("#selectFields"),ce=B.querySelector("#query"),se=B.querySelector("#preview");Array.isArray(V)||(ge.style.fontStyle="italic",ge.textContent="(wizard not available for objects, only for arrays)"),(0,T.getChildPaths)(x).forEach(function(Ce){var Ce=ae(Ce),Ae=document.createElement("option"),Ae=(Ae.text=Ce,Ae.value=Ce,U.appendChild(Ae),document.createElement("option"));Ae.text=Ce,Ae.value=Ce,J.appendChild(Ae)});var ge=(0,T.getChildPaths)(x,!0).filter(function(Te){return Te!==""}),ge=(0Ee?(Ce=Ae,(typeof(le=Ee)=="number"?Ce.slice(0,le):Ce)+"..."):Ae),z.disabled=!1}catch(re){se.className="jsoneditor-transform-preview jsoneditor-error",se.value=re.toString(),z.disabled=!0}var Ce,Ae,Ee,le},300);function we(Te,Ce){try{ce.value=G(Te,Ce),z.disabled=!1,ve()}catch(Ae){Te='Error: an error happened when executing "createQuery": '+(Ae.message||Ae.toString()),ce.value="",z.disabled=!0,se.className="jsoneditor-transform-preview jsoneditor-error",se.value=Te}}function _e(){var Te={};if(U.value&&Q.value&&X.value&&(Te.filter={field:U.value,relation:Q.value,value:X.value}),J.value&&ne.value&&(Te.sort={field:J.value,direction:ne.value}),te.value){for(var Ce,Ae=[],Ee=0;Ee=ge[ye].key.column&&ne.column<=ge[ye].keyEnd.column&&(pe=ye.slice(0,ye.lastIndexOf("/"))),(pe=((ae=ge[ye].value)==null?void 0:ae.line)===ne.row&&((ae=ge[ye].value)==null?void 0:ae.line)===((ae=ge[ye].valueEnd)==null?void 0:ae.line)&&ne.column>=ge[ye].value.column&&ne.column<=ge[ye].valueEnd.column?ye:pe)&&(ae=ee(pe,se.suggestions,""),he(ae))})})}catch(ye){}}}])&&P(z.prototype,U),Q&&P(z,Q),Object.defineProperty(z,"prototype",{writable:!1}),z;var z,U,Q}();function M(B){return(M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z})(B)}var N={},V="ace/theme/jsoneditor";function Y(){try{this.format()}catch(B){}}N.create=function(te){var z,U,Q,X=this,J=1"),line:B}]),this._renderErrors(Q),typeof this.options.onValidationError=="function"&&(0,D.isValidationErrorChanged)(Q,this.lastSchemaErrors)&&this.options.onValidationError.call(this,Q),this.lastSchemaErrors=Q,Promise.resolve(this.lastSchemaErrors)}},N._validateAndCatch=function(){this.validate().catch(function(B){console.error("Error running validation:",B)})},N._renderErrors=function(B){var U=this.getText(),z=[],U=(B.reduce(function(Q,X){return typeof X.dataPath=="string"&&Q.indexOf(X.dataPath)===-1&&Q.push(X.dataPath),Q},z),(0,D.getPositionForPath)(U,z));this.aceEditor&&(this.annotations=U.map(function(Q){var X=B.filter(function(ne){return ne.dataPath===Q.path}),J=X.map(function(ne){return ne.message}).join(` +`+N+"}":"}"}}function C(O,D){for(var x="";0JMESPath query to filter, sort, or transform the JSON data.
    To learn JMESPath, go to the interactive tutorial.';function F(Z){var D=Z.container,x=Z.json,P=Z.queryDescription,P=P===void 0?E:P,G=Z.createQuery,M=Z.executeQuery,N=Z.onTransform,V=x,Z='
    '+(0,_.Tl)("transform")+"

    "+P+'

    '+(0,_.Tl)("transformWizardLabel")+'
    '+(0,_.Tl)("transformWizardFilter")+'
    '+(0,_.Tl)("transformWizardSortBy")+'
    '+(0,_.Tl)("transformWizardSelectFields")+'
    '+(0,_.Tl)("transformQueryLabel")+'
    '+(0,_.Tl)("transformPreviewLabel")+'
    ';y()({parent:D,content:Z,overlayClass:"jsoneditor-modal-overlay",overlayStyles:{backgroundColor:"rgb(1,1,1)",opacity:.3},modalClass:"jsoneditor-modal jsoneditor-modal-transform",focus:!1}).afterCreate(function(H){var B=H.modalElem(),ge=B.querySelector("#wizard"),z=B.querySelector("#ok"),U=B.querySelector("#filterField"),Q=B.querySelector("#filterRelation"),X=B.querySelector("#filterValue"),J=B.querySelector("#sortField"),ne=B.querySelector("#sortOrder"),te=B.querySelector("#selectFields"),ce=B.querySelector("#query"),se=B.querySelector("#preview");Array.isArray(V)||(ge.style.fontStyle="italic",ge.textContent="(wizard not available for objects, only for arrays)"),(0,T.getChildPaths)(x).forEach(function(Ce){var Ce=ae(Ce),Ae=document.createElement("option"),Ae=(Ae.text=Ce,Ae.value=Ce,U.appendChild(Ae),document.createElement("option"));Ae.text=Ce,Ae.value=Ce,J.appendChild(Ae)});var ge=(0,T.getChildPaths)(x,!0).filter(function(Te){return Te!==""}),ge=(0Ee?(Ce=Ae,(typeof(le=Ee)=="number"?Ce.slice(0,le):Ce)+"..."):Ae),z.disabled=!1}catch(re){se.className="jsoneditor-transform-preview jsoneditor-error",se.value=re.toString(),z.disabled=!0}var Ce,Ae,Ee,le},300);function we(Te,Ce){try{ce.value=G(Te,Ce),z.disabled=!1,ve()}catch(Ae){Te='Error: an error happened when executing "createQuery": '+(Ae.message||Ae.toString()),ce.value="",z.disabled=!0,se.className="jsoneditor-transform-preview jsoneditor-error",se.value=Te}}function _e(){var Te={};if(U.value&&Q.value&&X.value&&(Te.filter={field:U.value,relation:Q.value,value:X.value}),J.value&&ne.value&&(Te.sort={field:J.value,direction:ne.value}),te.value){for(var Ce,Ae=[],Ee=0;Ee=ge[ye].key.column&&ne.column<=ge[ye].keyEnd.column&&(pe=ye.slice(0,ye.lastIndexOf("/"))),(pe=((ae=ge[ye].value)==null?void 0:ae.line)===ne.row&&((ae=ge[ye].value)==null?void 0:ae.line)===((ae=ge[ye].valueEnd)==null?void 0:ae.line)&&ne.column>=ge[ye].value.column&&ne.column<=ge[ye].valueEnd.column?ye:pe)&&(ae=ee(pe,se.suggestions,""),he(ae))})})}catch(ye){}}}])&&P(z.prototype,U),Q&&P(z,Q),Object.defineProperty(z,"prototype",{writable:!1}),z;var z,U,Q}();function M(B){return(M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z})(B)}var N={},V="ace/theme/jsoneditor";function Z(){try{this.format()}catch(B){}}N.create=function(te){var z,U,Q,X=this,J=1"),line:B}]),this._renderErrors(Q),typeof this.options.onValidationError=="function"&&(0,D.isValidationErrorChanged)(Q,this.lastSchemaErrors)&&this.options.onValidationError.call(this,Q),this.lastSchemaErrors=Q,Promise.resolve(this.lastSchemaErrors)}},N._validateAndCatch=function(){this.validate().catch(function(B){console.error("Error running validation:",B)})},N._renderErrors=function(B){var U=this.getText(),z=[],U=(B.reduce(function(Q,X){return typeof X.dataPath=="string"&&Q.indexOf(X.dataPath)===-1&&Q.push(X.dataPath),Q},z),(0,D.getPositionForPath)(U,z));this.aceEditor&&(this.annotations=U.map(function(Q){var X=B.filter(function(ne){return ne.dataPath===Q.path}),J=X.map(function(ne){return ne.message}).join(` `);return J?{row:Q.line,column:Q.column,text:"Schema validation error"+(X.length!==1?"s":"")+`: -`+J,type:"warning",source:"jsoneditor"}:{}}),this._refreshAnnotations()),this.errorTable.setErrors(B,U),this.aceEditor&&this.aceEditor.resize(!1)},N.getTextSelection=function(){var B,z,U,Q={};return this.textarea?(U=(0,D.getInputSelection)(this.textarea),this.cursorInfo&&this.cursorInfo.line===U.end.row&&this.cursorInfo.column===U.end.column?(Q.start=U.end,Q.end=U.start):Q=U,{start:Q.start,end:Q.end,text:this.textarea.value.substring(U.startIndex,U.endIndex)}):this.aceEditor?(U=this.aceEditor.getSelection(),B=this.aceEditor.getSelectedText(),z=U.getRange(),(U=U.getSelectionLead()).row===z.end.row&&U.column===z.end.column?Q=z:(Q.start=z.end,Q.end=z.start),{start:{row:Q.start.row+1,column:Q.start.column+1},end:{row:Q.end.row+1,column:Q.end.column+1},text:B}):void 0},N.onTextSelectionChange=function(B){typeof B=="function"&&(this._selectionChangedHandler=(0,D.debounce)(B,this.DEBOUNCE_INTERVAL))},N.setTextSelection=function(B,z){var U,Q,X;B&&z&&(this.textarea?(U=(0,D.getIndexForPosition)(this.textarea,B.row,B.column),X=(0,D.getIndexForPosition)(this.textarea,z.row,z.column),-1this.textarea.clientHeight?Q-this.textarea.clientHeight/2:0)):this.aceEditor&&(X={start:{row:B.row-1,column:B.column-1},end:{row:z.row-1,column:z.column-1}},this.aceEditor.selection.setRange(X),this.aceEditor.scrollToLine(B.row-1,!0)))};var H=[{mode:"text",mixin:N,data:"text",load:Y},{mode:"code",mixin:N,data:"text",load:Y}]},5633:function(d,Te,Ae){Ae.r(Te),Ae.d(Te,{treeModeMixins:function(){return Ee}});var y={start:function(le,re,ue){return re.indexOf(le)===0},contain:function(le,re,ue){return-1this.textarea.clientHeight?Q-this.textarea.clientHeight/2:0)):this.aceEditor&&(X={start:{row:B.row-1,column:B.column-1},end:{row:z.row-1,column:z.column-1}},this.aceEditor.selection.setRange(X),this.aceEditor.scrollToLine(B.row-1,!0)))};var H=[{mode:"text",mixin:N,data:"text",load:Z},{mode:"code",mixin:N,data:"text",load:Z}]},5633:function(d,Te,Ae){Ae.r(Te),Ae.d(Te,{treeModeMixins:function(){return Ee}});var y={start:function(le,re,ue){return re.indexOf(le)===0},contain:function(le,re,ue){return-1=le.length?{done:!0}:{done:!1,value:le[oe++]}},e:function(Se){throw Se},f:re};throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(le,re){var ue;if(le)return typeof le=="string"?Y(le,re):(ue=(ue={}.toString.call(le).slice(8,-1))==="Object"&&le.constructor?le.constructor.name:ue)==="Map"||ue==="Set"?Array.from(le):ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue)?Y(le,re):void 0}function Y(le,re){(re==null||re>le.length)&&(re=le.length);for(var ue=0,be=Array(re);ue=ie.length;Se--)this.removeChild(this.childs[Se],!1)}else if(this.type==="object"){for(this.childs||(this.childs=[]),Se=this.childs.length-1;0<=Se;Se--)J(ie,this.childs[Se].field)||this.removeChild(this.childs[Se],!1);for(var ct in me=0,ie)J(ie,ct)&&((Pe=ie[ct])===void 0||Pe instanceof Function||((Be=this.findChildByProperty(ct))?(Be.setField(ct,!0),Be.setValue(Pe)):(Be=new le(this.editor,{field:ct,value:Pe}),ct=me=ie.childs.length;De--)this.removeChild(this.childs[De],!1)}else if(ie.type==="object"){for(this.childs||(this.childs=[]),xe=0;xe=ie.childs.length;De--)this.removeChild(this.childs[De],!1)}else this.hideChilds(),delete this.append,delete this.showMore,delete this.expanded,delete this.childs,this.value=ie.value;Array.isArray(Pe)!==Array.isArray(this.childs)&&this.recreateDom(),this.updateDom({updateIndexes:!0}),this.previousValue=this.value}},{key:"recreateDom",value:function(){var ie;this.dom&&this.dom.tr&&this.dom.tr.parentNode?(ie=this._detachFromDom(),this.clearDom(),this._attachToDom(ie)):this.clearDom()}},{key:"getValue",value:function(){var ie,oe;return this.type==="array"?(ie=[],this.childs.forEach(function(me){ie.push(me.getValue())}),ie):this.type==="object"?(oe={},this.childs.forEach(function(me){oe[me.getField()]=me.getValue()}),oe):(this.value===void 0&&this._getDomValue(),this.value)}},{key:"getInternalValue",value:function(){return this.type==="array"?{type:this.type,childs:this.childs.map(function(ie){return ie.getInternalValue()})}:this.type==="object"?{type:this.type,childs:this.childs.map(function(ie){return{field:ie.getField(),value:ie.getInternalValue()}})}:(this.value===void 0&&this._getDomValue(),{type:this.type,value:this.value})}},{key:"getLevel",value:function(){return this.parent?this.parent.getLevel()+1:0}},{key:"getNodePath",value:function(){var ie=this.parent?this.parent.getNodePath():[];return ie.push(this),ie}},{key:"clone",value:function(){var ie,oe;return(ie=new le(this.editor)).type=this.type,ie.field=this.field,ie.fieldInnerText=this.fieldInnerText,ie.fieldEditable=this.fieldEditable,ie.previousField=this.previousField,ie.value=this.value,ie.valueInnerText=this.valueInnerText,ie.previousValue=this.previousValue,ie.expanded=this.expanded,ie.visibleChilds=this.visibleChilds,this.childs?(oe=[],this.childs.forEach(function(me){me=me.clone(),me.setParent(ie),oe.push(me)}),ie.childs=oe):ie.childs=void 0,ie}},{key:"expand",value:function(ie){this.childs&&(this.expanded=!0,this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-expanded"),this.showChilds(),ie!==!1&&this.childs.forEach(function(oe){oe.expand(ie)}),this.updateDom({recurse:!1}))}},{key:"collapse",value:function(ie){this.childs&&(this.hideChilds(),ie!==!1&&this.childs.forEach(function(oe){oe.collapse(ie)}),this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-collapsed"),this.expanded=!1,this.updateDom({recurse:!1}))}},{key:"showChilds",value:function(){var ie=this.childs;if(ie&&this.expanded){var ie=this.dom.tr,oe=ie?ie.parentNode:void 0;if(oe){for(var me=this.getAppendDom(),Se=(me.parentNode||((xe=ie.nextSibling)?oe.insertBefore(me,xe):oe.appendChild(me)),Math.min(this.childs.length,this.visibleChilds)),xe=this._getNextTr(),De=0;Dethis.visibleChilds?(De=this.childs[this.visibleChilds-1],this.insertBefore(ie,De,me)):this.appendChild(ie,!0,me):this.insertBefore(ie,oe,me),Se)&&xe&&Se.removeChild(xe)}},{key:"insertBefore",value:function(ie,oe,me){if(this._hasChilds()){if(this.visibleChilds++,this.type==="object"&&ie.field===void 0&&ie.setField(""),oe===this.append)ie.setParent(this),ie.fieldEditable=this.type==="object",this.childs.push(ie);else{var Se=this.childs.indexOf(oe);if(Se===-1)throw new Error("Node not found");ie.setParent(this),ie.fieldEditable=this.type==="object",this.childs.splice(Se,0,ie)}var xe;this.expanded&&(Se=ie.getDom(),xe=(oe=oe.getDom())?oe.parentNode:void 0,oe&&xe&&xe.insertBefore(Se,oe),ie.showChilds(),this.showChilds()),me!==!1&&(this.updateDom({updateIndexes:!0}),ie.updateDom({recurse:!0}))}}},{key:"insertAfter",value:function(ie,oe){this._hasChilds()&&(oe=this.childs.indexOf(oe),(oe=this.childs[oe+1])?this.insertBefore(ie,oe):this.appendChild(ie))}},{key:"search",value:function(ie,oe){Array.isArray(oe)||(oe=[]);var me=ie?ie.toLowerCase():void 0;return delete this.searchField,delete this.searchValue,this.field!==void 0&&oe.length<=this.MAX_SEARCH_RESULTS&&(String(this.field).toLowerCase().indexOf(me)!==-1&&(this.searchField=!0,oe.push({node:this,elem:"field"})),this._updateDomField()),this._hasChilds()?this.childs&&this.childs.forEach(function(Se){Se.search(ie,oe)}):this.value!==void 0&&oe.length<=this.MAX_SEARCH_RESULTS&&(String(this.value).toLowerCase().indexOf(me)!==-1&&(this.searchValue=!0,oe.push({node:this,elem:"value"})),this._updateDomValue()),oe}},{key:"scrollTo",value:function(ie){this.expandPathToNode(),this.dom.tr&&this.dom.tr.parentNode&&this.editor.scrollTo(this.dom.tr.offsetTop,ie)}},{key:"expandPathToNode",value:function(){for(var ie=this;ie&&ie.parent;){for(var oe=ie.parent.type==="array"?ie.index:ie.parent.childs.indexOf(ie);ie.parent.visibleChilds/g,">").replace(/ {2}/g,"  ").replace(/^ /," ").replace(/ $/," "),ie=(ie=JSON.stringify(ie)).substring(1,ie.length-1),this.editor.options.escapeUnicode===!0?(0,O.escapeUnicodeChars)(ie):ie)}},{key:"_unescapeHTML",value:function(ie){return ie='"'+this._escapeJSON(ie)+'"',(0,O.parse)(ie).replace(/</g,"<").replace(/>/g,">").replace(/ |\u00A0/g," ").replace(/&/g,"&")}},{key:"_escapeJSON",value:function(ie){for(var oe="",me=0;mele.length)&&(re=le.length);for(var ue=0,be=Array(re);ue=ie.length;Se--)this.removeChild(this.childs[Se],!1)}else if(this.type==="object"){for(this.childs||(this.childs=[]),Se=this.childs.length-1;0<=Se;Se--)J(ie,this.childs[Se].field)||this.removeChild(this.childs[Se],!1);for(var ct in me=0,ie)J(ie,ct)&&((Pe=ie[ct])===void 0||Pe instanceof Function||((Be=this.findChildByProperty(ct))?(Be.setField(ct,!0),Be.setValue(Pe)):(Be=new le(this.editor,{field:ct,value:Pe}),ct=me=ie.childs.length;De--)this.removeChild(this.childs[De],!1)}else if(ie.type==="object"){for(this.childs||(this.childs=[]),xe=0;xe=ie.childs.length;De--)this.removeChild(this.childs[De],!1)}else this.hideChilds(),delete this.append,delete this.showMore,delete this.expanded,delete this.childs,this.value=ie.value;Array.isArray(Pe)!==Array.isArray(this.childs)&&this.recreateDom(),this.updateDom({updateIndexes:!0}),this.previousValue=this.value}},{key:"recreateDom",value:function(){var ie;this.dom&&this.dom.tr&&this.dom.tr.parentNode?(ie=this._detachFromDom(),this.clearDom(),this._attachToDom(ie)):this.clearDom()}},{key:"getValue",value:function(){var ie,oe;return this.type==="array"?(ie=[],this.childs.forEach(function(me){ie.push(me.getValue())}),ie):this.type==="object"?(oe={},this.childs.forEach(function(me){oe[me.getField()]=me.getValue()}),oe):(this.value===void 0&&this._getDomValue(),this.value)}},{key:"getInternalValue",value:function(){return this.type==="array"?{type:this.type,childs:this.childs.map(function(ie){return ie.getInternalValue()})}:this.type==="object"?{type:this.type,childs:this.childs.map(function(ie){return{field:ie.getField(),value:ie.getInternalValue()}})}:(this.value===void 0&&this._getDomValue(),{type:this.type,value:this.value})}},{key:"getLevel",value:function(){return this.parent?this.parent.getLevel()+1:0}},{key:"getNodePath",value:function(){var ie=this.parent?this.parent.getNodePath():[];return ie.push(this),ie}},{key:"clone",value:function(){var ie,oe;return(ie=new le(this.editor)).type=this.type,ie.field=this.field,ie.fieldInnerText=this.fieldInnerText,ie.fieldEditable=this.fieldEditable,ie.previousField=this.previousField,ie.value=this.value,ie.valueInnerText=this.valueInnerText,ie.previousValue=this.previousValue,ie.expanded=this.expanded,ie.visibleChilds=this.visibleChilds,this.childs?(oe=[],this.childs.forEach(function(me){me=me.clone(),me.setParent(ie),oe.push(me)}),ie.childs=oe):ie.childs=void 0,ie}},{key:"expand",value:function(ie){this.childs&&(this.expanded=!0,this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-expanded"),this.showChilds(),ie!==!1&&this.childs.forEach(function(oe){oe.expand(ie)}),this.updateDom({recurse:!1}))}},{key:"collapse",value:function(ie){this.childs&&(this.hideChilds(),ie!==!1&&this.childs.forEach(function(oe){oe.collapse(ie)}),this.dom.expand&&(this.dom.expand.className="jsoneditor-button jsoneditor-collapsed"),this.expanded=!1,this.updateDom({recurse:!1}))}},{key:"showChilds",value:function(){var ie=this.childs;if(ie&&this.expanded){var ie=this.dom.tr,oe=ie?ie.parentNode:void 0;if(oe){for(var me=this.getAppendDom(),Se=(me.parentNode||((xe=ie.nextSibling)?oe.insertBefore(me,xe):oe.appendChild(me)),Math.min(this.childs.length,this.visibleChilds)),xe=this._getNextTr(),De=0;Dethis.visibleChilds?(De=this.childs[this.visibleChilds-1],this.insertBefore(ie,De,me)):this.appendChild(ie,!0,me):this.insertBefore(ie,oe,me),Se)&&xe&&Se.removeChild(xe)}},{key:"insertBefore",value:function(ie,oe,me){if(this._hasChilds()){if(this.visibleChilds++,this.type==="object"&&ie.field===void 0&&ie.setField(""),oe===this.append)ie.setParent(this),ie.fieldEditable=this.type==="object",this.childs.push(ie);else{var Se=this.childs.indexOf(oe);if(Se===-1)throw new Error("Node not found");ie.setParent(this),ie.fieldEditable=this.type==="object",this.childs.splice(Se,0,ie)}var xe;this.expanded&&(Se=ie.getDom(),xe=(oe=oe.getDom())?oe.parentNode:void 0,oe&&xe&&xe.insertBefore(Se,oe),ie.showChilds(),this.showChilds()),me!==!1&&(this.updateDom({updateIndexes:!0}),ie.updateDom({recurse:!0}))}}},{key:"insertAfter",value:function(ie,oe){this._hasChilds()&&(oe=this.childs.indexOf(oe),(oe=this.childs[oe+1])?this.insertBefore(ie,oe):this.appendChild(ie))}},{key:"search",value:function(ie,oe){Array.isArray(oe)||(oe=[]);var me=ie?ie.toLowerCase():void 0;return delete this.searchField,delete this.searchValue,this.field!==void 0&&oe.length<=this.MAX_SEARCH_RESULTS&&(String(this.field).toLowerCase().indexOf(me)!==-1&&(this.searchField=!0,oe.push({node:this,elem:"field"})),this._updateDomField()),this._hasChilds()?this.childs&&this.childs.forEach(function(Se){Se.search(ie,oe)}):this.value!==void 0&&oe.length<=this.MAX_SEARCH_RESULTS&&(String(this.value).toLowerCase().indexOf(me)!==-1&&(this.searchValue=!0,oe.push({node:this,elem:"value"})),this._updateDomValue()),oe}},{key:"scrollTo",value:function(ie){this.expandPathToNode(),this.dom.tr&&this.dom.tr.parentNode&&this.editor.scrollTo(this.dom.tr.offsetTop,ie)}},{key:"expandPathToNode",value:function(){for(var ie=this;ie&&ie.parent;){for(var oe=ie.parent.type==="array"?ie.index:ie.parent.childs.indexOf(ie);ie.parent.visibleChilds/g,">").replace(/ {2}/g,"  ").replace(/^ /," ").replace(/ $/," "),ie=(ie=JSON.stringify(ie)).substring(1,ie.length-1),this.editor.options.escapeUnicode===!0?(0,O.escapeUnicodeChars)(ie):ie)}},{key:"_unescapeHTML",value:function(ie){return ie='"'+this._escapeJSON(ie)+'"',(0,O.parse)(ie).replace(/</g,"<").replace(/>/g,">").replace(/ |\u00A0/g," ").replace(/&/g,"&")}},{key:"_escapeJSON",value:function(ie){for(var oe="",me=0;methis.parent.visibleChilds},se.prototype.onEvent=function(le){le.type==="keydown"&&this.onKeyDown(le)};var ce=se;function se(le,re){this.editor=le,this.parent=re,this.dom={}}function ge(le){return(ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(re){return typeof re}:function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re})(le)}function he(le,re){for(var ue=0;uethis.results.length-1&&(oe=0),this._setActiveResult(oe,ie))}},{key:"previous",value:function(ie){var oe,me;this.results&&(oe=this.results.length-1,me=this.resultIndex!==null?this.resultIndex-1:oe,this._setActiveResult(me=me<0?oe:me,ie))}},{key:"_setActiveResult",value:function(ie,oe){var me,Se,xe;this.activeResult&&(me=this.activeResult.node,this.activeResult.elem==="field"?delete me.searchFieldActive:delete me.searchValueActive,me.updateDom()),this.results&&this.results[ie]?(this.resultIndex=ie,Se=this.results[this.resultIndex].node,(xe=this.results[this.resultIndex].elem)==="field"?Se.searchFieldActive=!0:Se.searchValueActive=!0,this.activeResult=this.results[this.resultIndex],Se.updateDom(),Se.scrollTo(function(){oe&&Se.focus(xe)})):(this.resultIndex=void 0,this.activeResult=void 0)}},{key:"_clearDelay",value:function(){this.timeout!==void 0&&(clearTimeout(this.timeout),delete this.timeout)}},{key:"_onDelayedSearch",value:function(ie){this._clearDelay();var oe=this;this.timeout=setTimeout(function(me){oe._onSearch()},this.delay)}},{key:"_onSearch",value:function(ie){this._clearDelay();var oe=this.dom.search.value,oe=0Oe.length)&&(We=Oe.length);for(var Je=0,st=Array(We);JeOe.length)&&(We=Oe.length);for(var Je=0,st=Array(We);Je=Oe.left&&We.right+Je<=Oe.right&&We.top-Je>=Oe.top&&We.bottom+Je<=Oe.bottom}function oe(Oe,We,Je){var st;return function(){var At=this,bt=arguments,Le=Je&&!st;clearTimeout(st),st=setTimeout(function(){st=null,Je||Oe.apply(At,bt)},We),Le&&Oe.apply(At,bt)}}function me(Oe,We){for(var Je=We.length,st=0,At=Oe.length,bt=We.length;We.charAt(st)===Oe.charAt(st)&&stthis.length)&&(x=this.length),x-=D.length,D=this.indexOf(D,x),D!==-1&&D===x}),String.prototype.repeat||O(String.prototype,"repeat",function(D){for(var x="",P=this;0>=1)&&(P+=P);return x}),String.prototype.includes||O(String.prototype,"includes",function(D,x){return this.indexOf(D,x)!=-1}),Object.assign||(Object.assign=function(D){if(D==null)throw new TypeError("Cannot convert undefined or null to object");for(var x=Object(D),P=1;P>>0,G=arguments[1]>>0,P=G<0?Math.max(x+G,0):Math.min(G,x),G=arguments[2],G=G===void 0?x:G>>0,M=G<0?Math.max(x+G,0):Math.min(G,x);P>=1)&&(x+=x);return G};var O=/^\s\s*/,D=/\s\s*$/;E.stringTrimLeft=function(x){return x.replace(O,"")},E.stringTrimRight=function(x){return x.replace(D,"")},E.copyObject=function(x){var P,G={};for(P in x)G[P]=x[P];return G},E.copyArray=function(x){for(var P=[],G=0,M=x.length;Gthis.length)&&(x=this.length),x-=D.length,D=this.indexOf(D,x),D!==-1&&D===x}),String.prototype.repeat||O(String.prototype,"repeat",function(D){for(var x="",P=this;0>=1)&&(P+=P);return x}),String.prototype.includes||O(String.prototype,"includes",function(D,x){return this.indexOf(D,x)!=-1}),Object.assign||(Object.assign=function(D){if(D==null)throw new TypeError("Cannot convert undefined or null to object");for(var x=Object(D),P=1;P>>0,G=arguments[1]>>0,P=G<0?Math.max(x+G,0):Math.min(G,x),G=arguments[2],G=G===void 0?x:G>>0,M=G<0?Math.max(x+G,0):Math.min(G,x);P>=1)&&(x+=x);return G};var O=/^\s\s*/,D=/\s\s*$/;E.stringTrimLeft=function(x){return x.replace(O,"")},E.stringTrimRight=function(x){return x.replace(D,"")},E.copyObject=function(x){var P,G={};for(P in x)G[P]=x[P];return G},E.copyArray=function(x){for(var P=[],G=0,M=x.length;G ["+this.end.row+"/"+this.end.column+"]"},D.prototype.contains=function(x,P){return this.compare(x,P)==0},D.prototype.compareRange=function(P){var G=P.end,P=P.start,G=this.compare(G.row,G.column);return G==1?(G=this.compare(P.row,P.column))==1?2:G==0?1:0:G==-1?-2:(G=this.compare(P.row,P.column))==-1?-1:G==1?42:0},D.prototype.comparePoint=function(x){return this.compare(x.row,x.column)},D.prototype.containsRange=function(x){return this.comparePoint(x.start)==0&&this.comparePoint(x.end)==0},D.prototype.intersects=function(x){return x=this.compareRange(x),x==-1||x==0||x==1},D.prototype.isEnd=function(x,P){return this.end.row==x&&this.end.column==P},D.prototype.isStart=function(x,P){return this.start.row==x&&this.start.column==P},D.prototype.setStart=function(x,P){typeof x=="object"?(this.start.column=x.column,this.start.row=x.row):(this.start.row=x,this.start.column=P)},D.prototype.setEnd=function(x,P){typeof x=="object"?(this.end.column=x.column,this.end.row=x.row):(this.end.row=x,this.end.column=P)},D.prototype.inside=function(x,P){return this.compare(x,P)==0&&!this.isEnd(x,P)&&!this.isStart(x,P)},D.prototype.insideStart=function(x,P){return this.compare(x,P)==0&&!this.isEnd(x,P)},D.prototype.insideEnd=function(x,P){return this.compare(x,P)==0&&!this.isStart(x,P)},D.prototype.compare=function(x,P){return this.isMultiLine()||x!==this.start.row?xthis.end.row?1:this.start.row===x?P>=this.start.column?0:-1:this.end.row!==x||P<=this.end.column?0:1:Pthis.end.column?1:0},D.prototype.compareStart=function(x,P){return this.start.row==x&&this.start.column==P?-1:this.compare(x,P)},D.prototype.compareEnd=function(x,P){return this.end.row==x&&this.end.column==P?1:this.compare(x,P)},D.prototype.compareInside=function(x,P){return this.end.row==x&&this.end.column==P?1:this.start.row==x&&this.start.column==P?-1:this.compare(x,P)},D.prototype.clipRows=function(x,P){var G,M;return this.end.row>P?G={row:P+1,column:0}:this.end.rowP?M={row:P+1,column:0}:this.start.rowDate.now()-50)||(O=!1)},cancel:function(){O=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(I,E,F){var O=I("../lib/event"),D=I("../config").nls,x=I("../lib/useragent"),P=I("../lib/dom"),G=I("../lib/lang"),M=I("../clipboard"),N=x.isChrome<18,V=x.isIE,Y=63 ["+this.end.row+"/"+this.end.column+"]"},D.prototype.contains=function(x,P){return this.compare(x,P)==0},D.prototype.compareRange=function(P){var G=P.end,P=P.start,G=this.compare(G.row,G.column);return G==1?(G=this.compare(P.row,P.column))==1?2:G==0?1:0:G==-1?-2:(G=this.compare(P.row,P.column))==-1?-1:G==1?42:0},D.prototype.comparePoint=function(x){return this.compare(x.row,x.column)},D.prototype.containsRange=function(x){return this.comparePoint(x.start)==0&&this.comparePoint(x.end)==0},D.prototype.intersects=function(x){return x=this.compareRange(x),x==-1||x==0||x==1},D.prototype.isEnd=function(x,P){return this.end.row==x&&this.end.column==P},D.prototype.isStart=function(x,P){return this.start.row==x&&this.start.column==P},D.prototype.setStart=function(x,P){typeof x=="object"?(this.start.column=x.column,this.start.row=x.row):(this.start.row=x,this.start.column=P)},D.prototype.setEnd=function(x,P){typeof x=="object"?(this.end.column=x.column,this.end.row=x.row):(this.end.row=x,this.end.column=P)},D.prototype.inside=function(x,P){return this.compare(x,P)==0&&!this.isEnd(x,P)&&!this.isStart(x,P)},D.prototype.insideStart=function(x,P){return this.compare(x,P)==0&&!this.isEnd(x,P)},D.prototype.insideEnd=function(x,P){return this.compare(x,P)==0&&!this.isStart(x,P)},D.prototype.compare=function(x,P){return this.isMultiLine()||x!==this.start.row?xthis.end.row?1:this.start.row===x?P>=this.start.column?0:-1:this.end.row!==x||P<=this.end.column?0:1:Pthis.end.column?1:0},D.prototype.compareStart=function(x,P){return this.start.row==x&&this.start.column==P?-1:this.compare(x,P)},D.prototype.compareEnd=function(x,P){return this.end.row==x&&this.end.column==P?1:this.compare(x,P)},D.prototype.compareInside=function(x,P){return this.end.row==x&&this.end.column==P?1:this.start.row==x&&this.start.column==P?-1:this.compare(x,P)},D.prototype.clipRows=function(x,P){var G,M;return this.end.row>P?G={row:P+1,column:0}:this.end.rowP?M={row:P+1,column:0}:this.start.rowDate.now()-50)||(O=!1)},cancel:function(){O=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(I,E,F){var O=I("../lib/event"),D=I("../config").nls,x=I("../lib/useragent"),P=I("../lib/dom"),G=I("../lib/lang"),M=I("../clipboard"),N=x.isChrome<18,V=x.isIE,Z=63=pe.length&&Re.value===pe&&pe&&Re.selectionEnd!==ve}),oe=null,me=(this.setInputHandler=function(Re){oe=Re},!(this.getInputHandler=function(){return oe})),Se=function(Re,Ye){if(me=me&&!1,ce)return be(),Re&&J.onPaste(Re),ce=!1,"";for(var at=ne.selectionStart,mt=ne.selectionEnd,St=ae,Rt=pe.length-ve,Oe=Re,We=Re.length-at,Je=Re.length-mt,st=0;0ae-1&&pe[pe.length-st]==Re[Re.length-st];)st++,Rt--;We-=st-1,Je-=st-1;var At=Oe.length-st+1;return At<0&&(St=-At,At=0),Oe=Oe.slice(0,At),Ye||Oe||We||St||Rt||Je?(At=!(ge=!0),x.isAndroid&&Oe==". "&&(Oe=" ",At=!0),Oe&&!St&&!Rt&&!We&&!Je||ye?J.onTextInput(Oe):J.onTextInput(Oe,{extendLeft:St,extendRight:Rt,restoreStart:We,restoreEnd:Je}),ge=!1,pe=Re,ae=at,ve=mt,we=Je,At?` `:Oe):""},xe=function(Ye){if(se)return Be();if(Ye&&Ye.inputType){if(Ye.inputType=="historyUndo")return J.execCommand("undo");if(Ye.inputType=="historyRedo")return J.execCommand("redo")}var Ye=ne.value,at=Se(Ye,!0);(500this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},x.prototype.onDoubleClick=function(M){var M=M.getDocumentPosition(),N=this.editor,V=N.session.getBracketRange(M);V?(V.isEmpty()&&(V.start.column--,V.end.column++),this.setState("select")):(V=N.selection.getWordRange(M.row,M.column),this.setState("selectByWords")),this.$clickSelection=V,this.select()},x.prototype.onTripleClick=function(M){var M=M.getDocumentPosition(),N=this.editor,V=(this.setState("selectByLines"),N.getSelectionRange());V.isMultiLine()&&V.contains(M.row,M.column)?(this.$clickSelection=N.selection.getLineRange(V.start.row),this.$clickSelection.end=N.selection.getLineRange(V.end.row).end):this.$clickSelection=N.selection.getLineRange(M.row),this.select()},x.prototype.onQuadClick=function(G){var M=this.editor;M.selectAll(),this.$clickSelection=M.getSelectionRange(),this.setState("selectAll")},x.prototype.onMouseWheel=function(G){var M,N,V,Y,H,B,z;if(!G.getAccelKey())return G.getShiftKey()&&G.wheelY&&!G.wheelX&&(G.wheelX=G.wheelY,G.wheelY=0),M=this.editor,this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0}),N=this.$lastScroll,Y=(z=(V=G.domEvent.timeStamp)-N.t)?G.wheelX/z:N.vx,H=z?G.wheelY/z:N.vy,z<550&&(Y=(Y+N.vx)/2,H=(H+N.vy)/2),z=!1,1<=(B=Math.abs(Y/H))&&M.renderer.isScrollableBy(G.wheelX*G.speed,0)&&(z=!0),(z=B<=1&&M.renderer.isScrollableBy(0,G.wheelY*G.speed)?!0:z)?N.allowed=V:V-N.allowed<550&&(Math.abs(Y)<=1.5*Math.abs(N.vx)&&Math.abs(H)<=1.5*Math.abs(N.vy)?(z=!0,N.allowed=V):N.allowed=0),N.t=V,N.vx=Y,N.vy=H,z?(M.renderer.scrollBy(G.wheelX*G.speed,G.wheelY*G.speed),G.stop()):void 0},x);function x(G){G.$clickSelection=null;var M=G.editor;M.setDefaultHandler("mousedown",this.onMouseDown.bind(G)),M.setDefaultHandler("dblclick",this.onDoubleClick.bind(G)),M.setDefaultHandler("tripleclick",this.onTripleClick.bind(G)),M.setDefaultHandler("quadclick",this.onQuadClick.bind(G)),M.setDefaultHandler("mousewheel",this.onMouseWheel.bind(G)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(N){G[N]=this[N]},this),G.selectByLines=this.extendSelectionBy.bind(G,"getLineRange"),G.selectByWords=this.extendSelectionBy.bind(G,"getWordRange")}function P(G,M){return(G.start.row==G.end.row?2*M.column-G.start.column-G.end.column:G.start.row!=G.end.row-1||G.start.column||G.end.column?2*M.row-G.start.row-G.end.row:M.column-4)<0?{cursor:G.start,anchor:G.end}:{cursor:G.end,anchor:G.start}}D.prototype.selectEnd=D.prototype.selectByLinesEnd,D.prototype.selectAllEnd=D.prototype.selectByLinesEnd,D.prototype.selectByWordsEnd=D.prototype.selectByLinesEnd,E.DefaultHandlers=D}),ace.define("ace/lib/scroll",["require","exports","module"],function(I,E,F){E.preventParentScroll=function(O){O.stopPropagation();var D=O.currentTarget;D.scrollHeight>D.clientHeight||O.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(N,E,F){var O,z=this&&this.__extends||(O=function(Q,X){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(J,ne){J.__proto__=ne}:function(J,ne){for(var te in ne)Object.prototype.hasOwnProperty.call(ne,te)&&(J[te]=ne[te])}))(Q,X)},function(Q,X){if(typeof X!="function"&&X!==null)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function J(){this.constructor=Q}O(Q,X),Q.prototype=X===null?Object.create(X):(J.prototype=X.prototype,new J)}),D=this&&this.__values||function(Q){var X=typeof Symbol=="function"&&Symbol.iterator,J=X&&Q[X],ne=0;if(J)return J.call(Q);if(Q&&typeof Q.length=="number")return{next:function(){return{value:(Q=Q&&ne>=Q.length?void 0:Q)&&Q[ne++],done:!Q}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")},x=N("./lib/dom"),P=(N("./lib/event"),N("./range").Range),G=N("./lib/scroll").preventParentScroll,M="ace_tooltip",N=(V.prototype.$init=function(){return this.$element=x.createElement("div"),this.$element.className=M,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},V.prototype.getElement=function(){return this.$element||this.$init()},V.prototype.setText=function(Q){this.getElement().textContent=Q},V.prototype.setHtml=function(Q){this.getElement().innerHTML=Q},V.prototype.setPosition=function(Q,X){this.getElement().style.left=Q+"px",this.getElement().style.top=X+"px"},V.prototype.setClassName=function(Q){x.addCssClass(this.getElement(),Q)},V.prototype.setTheme=function(Q){this.$element.className=M+" "+(Q.isDark?"ace_dark ":"")+(Q.cssClass||"")},V.prototype.show=function(Q,X,J){Q!=null&&this.setText(Q),X!=null&&J!=null&&this.setPosition(X,J),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},V.prototype.hide=function(Q){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=M,this.isOpen=!1)},V.prototype.getHeight=function(){return this.getElement().offsetHeight},V.prototype.getWidth=function(){return this.getElement().offsetWidth},V.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},V);function V(Q){this.isOpen=!1,this.$element=null,this.$parentNode=Q}function Y(){this.popups=[]}Y.prototype.addPopup=function(Q){this.popups.push(Q),this.updatePopups()},Y.prototype.removePopup=function(Q){Q=this.popups.indexOf(Q),Q!==-1&&(this.popups.splice(Q,1),this.updatePopups())},Y.prototype.updatePopups=function(){this.popups.sort(function(ae,ve){return ve.priority-ae.priority});var Q,X,J,ne,te=[];try{for(var ce=D(this.popups),se=ce.next();!se.done;se=ce.next()){var ge=se.value,he=!0;try{J=void 0;for(var ye=D(te),ee=ye.next();!ee.done;ee=ye.next()){var pe=ee.value;if(this.doPopupsOverlap(pe,ge)){he=!1;break}}}catch(ae){J={error:ae}}finally{try{ee&&!ee.done&&(ne=ye.return)&&ne.call(ye)}finally{if(J)throw J.error}}he?te.push(ge):ge.hide()}}catch(ae){Q={error:ae}}finally{try{se&&!se.done&&(X=ce.return)&&X.call(ce)}finally{if(Q)throw Q.error}}},Y.prototype.doPopupsOverlap=function(Q,X){return Q=Q.getElement().getBoundingClientRect(),X=X.getElement().getBoundingClientRect(),Q.leftX.left&&Q.topX.top};var H,B=new Y,z=(E.popupManager=B,E.Tooltip=N,z(U,H=N),U.prototype.addToEditor=function(Q){Q.on("mousemove",this.onMouseMove),Q.on("mousedown",this.hide),Q.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},U.prototype.removeFromEditor=function(Q){Q.off("mousemove",this.onMouseMove),Q.off("mousedown",this.hide),Q.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},U.prototype.onMouseMove=function(Q,ne){this.lastEvent=Q,this.lastT=Date.now();var J,ne=ne.$mouseHandler.isMousePressed;this.isOpen&&(J=this.lastEvent&&this.lastEvent.getDocumentPosition(),this.range&&this.range.contains(J.row,J.column)&&!ne&&!this.isOutsideOfText(this.lastEvent)||this.hide()),this.timeout||ne||(this.lastEvent=Q,this.timeout=setTimeout(this.waitForHover,this.idleTime))},U.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var Q=Date.now()-this.lastT;10=B.length?void 0:B)&&B[Q++],done:!B}}};throw new TypeError(z?"Object is not iterable.":"Symbol.iterator is not defined.")},P=I("../lib/dom"),G=I("../lib/event"),M=I("../tooltip").Tooltip,N=I("../config").nls;E.GutterHandler=function(B){var z,U,Q=B.editor,X=Q.renderer.$gutterLayer,J=new Y(Q);function ne(){z=z&&clearTimeout(z),J.isOpen&&(J.hideTooltip(),Q.off("mousewheel",ne))}function te(ce){J.setPosition(ce.x,ce.y)}B.editor.setDefaultHandler("guttermousedown",function(ce){if(Q.isFocused()&&ce.getButton()==0){var se=X.getRegion(ce);if(se!="foldWidgets"){var se=ce.getDocumentPosition().row,ge=Q.session.selection;if(ce.getShiftKey())ge.selectTo(se,0);else{if(ce.domEvent.detail==2)return Q.selectAll(),ce.preventDefault();B.$clickSelection=Q.selection.getLineRange(se)}return B.setState("selectByLines"),B.captureMouse(ce),ce.preventDefault()}}}),B.editor.setDefaultHandler("guttermousemove",function(ce){var se=ce.domEvent.target||ce.domEvent.srcElement;if(P.hasCssClass(se,"ace_fold-widget"))return ne();J.isOpen&&B.$tooltipFollowsMouse&&te(ce),U=ce,z=z||setTimeout(function(){if(z=null,U&&!B.isMousePressed){var ge=U.getDocumentPosition().row;if(ge==Q.session.getLength()){var he=Q.renderer.pixelToScreenCoordinates(0,U.y).row,ye=U.$pos;if(he>Q.session.documentToScreenRow(ye.row,ye.column))return void ne()}J.showTooltip(ge),J.isOpen&&(Q.on("mousewheel",ne),!B.$tooltipFollowsMouse&&(he=U.getGutterRow(),ye=X.$lines.get(he))?(ge=ye.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),(he=J.getElement().style).left=ge.right+"px",he.top=ge.bottom+"px"):te(U))}else ne()},50)}),G.addListener(Q.renderer.$gutter,"mouseout",function(ce){U=null,J.isOpen&&(z=z||setTimeout(function(){z=null,ne()},50))},Q),Q.on("changeSession",ne),Q.on("input",ne)},D(H,V=M),H.prototype.setPosition=function(B,z){var U=window.innerWidth||document.documentElement.clientWidth,Q=window.innerHeight||document.documentElement.clientHeight,X=this.getWidth(),J=this.getHeight();U<(B+=15)+X&&(B-=B+X-U),Q<(z+=15)+J&&(z-=20+J),M.prototype.setPosition.call(this,B,z)},Object.defineProperty(H,"annotationLabels",{get:function(){return{error:{singular:N("gutter-tooltip.aria-label.error.singular","error"),plural:N("gutter-tooltip.aria-label.error.plural","errors")},warning:{singular:N("gutter-tooltip.aria-label.warning.singular","warning"),plural:N("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:N("gutter-tooltip.aria-label.info.singular","information message"),plural:N("gutter-tooltip.aria-label.info.plural","information messages")}}},enumerable:!1,configurable:!0}),H.prototype.showTooltip=function(B){var z=this.editor.renderer.$gutterLayer,U=z.$annotations[B],Q=U?{text:Array.from(U.text),type:Array.from(U.type)}:{text:[],type:[]},X=z.session.getFoldLine(B);if(X&&z.$showFoldedAnnotations){for(var J,ne={error:[],warning:[],info:[]},te=B+1;te<=X.end.row;te++)if(z.$annotations[te])for(var ce=0;ce ").concat(Q.text[te]);ge[Q.type[te].replace("_fold","")].push(ye)}B=[].concat(ge.error,ge.warning,ge.info).join("
    "),this.setHtml(B),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},H.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},H.annotationsToSummaryString=function(B){var z,U,Q=[];try{for(var X=x(["error","warning","info"]),J=X.next();!J.done;J=X.next()){var ne,te=J.value;B[te].length&&(ne=B[te].length===1?H.annotationLabels[te].singular:H.annotationLabels[te].plural,Q.push("".concat(B[te].length," ").concat(ne)))}}catch(ce){z={error:ce}}finally{try{J&&!J.done&&(U=X.return)&&U.call(X)}finally{if(z)throw z.error}}return Q.join(", ")};var V,Y=H;function H(B){var z=V.call(this,B.container)||this;return z.editor=B,z}E.GutterTooltip=Y}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(I,E,F){var O=I("../lib/event"),D=I("../lib/useragent");function x(P,G){this.speed,this.wheelX,this.wheelY,this.domEvent=P,this.editor=G,this.x=this.clientX=P.clientX,this.y=this.clientY=P.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}x.prototype.stopPropagation=function(){O.stopPropagation(this.domEvent),this.propagationStopped=!0},x.prototype.preventDefault=function(){O.preventDefault(this.domEvent),this.defaultPrevented=!0},x.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},x.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},x.prototype.getGutterRow=function(){var P=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(P,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},x.prototype.inSelection=function(){var P,G;return this.$inSelection===null&&((P=this.editor.getSelectionRange()).isEmpty()?this.$inSelection=!1:(G=this.getDocumentPosition(),this.$inSelection=P.contains(G.row,G.column))),this.$inSelection},x.prototype.getButton=function(){return O.getButton(this.domEvent)},x.prototype.getShiftKey=function(){return this.domEvent.shiftKey},x.prototype.getAccelKey=function(){return D.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},E.MouseEvent=x}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(I,E,F){var O=I("../lib/dom"),D=I("../lib/event"),x=I("../lib/useragent");function P(M){var N,V,Y,H,B,z,U,Q,X,J,ne,te=M.editor,ce=O.createElement("div"),se=(ce.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",ce.textContent="\xA0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(_e){M[_e]=this[_e]},this),te.on("mousedown",this.onMouseDown.bind(M)),te.container),ge=0;function he(){var _e,Te,Ce,Ae,Ee,le,re,ue,be=z;z=te.renderer.screenToTextCoordinates(V,Y),Ce=z,Te=be,Ae=Date.now(),_e=!Te||Ce.row!=Te.row,Te=!Te||Ce.column!=Te.column,!J||_e||Te?(te.moveCursorToPosition(Ce),J=Ae,ne={x:V,y:Y}):5this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(M){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var M=this.editor,N=(M.container.draggable=!0,M.renderer.$cursorLayer.setBlinking(!1),M.setStyle("ace_dragging"),x.isWin?"default":"move");M.renderer.setCursorStyle(N),this.setState("dragReady")},this.onMouseDrag=function(M){var N=this.editor.container;x.isIE&&this.state=="dragReady"&&3ae&&(V=-1),M=ee.clientX=Te,N=ee.clientY=_e,te=ce=0,new O(ee,G));if(z=Te.getDocumentPosition(),we-V<500&&pe.length==1&&!J)ne++,ee.preventDefault(),ee.button=0,H=null,clearTimeout(H),G.selection.moveToPosition(z),(_e=2<=ne?G.selection.getLineRange(z.row):G.session.getBracketRange(z))&&!_e.isEmpty()?G.selection.setRange(_e):G.selection.selectWord(),X="wait";else{ne=0;var Te=G.selection.cursor,pe=G.selection.isEmpty()?Te:G.selection.anchor,_e=G.renderer.$cursorLayer.getPixelPosition(Te,!0),Te=G.renderer.$cursorLayer.getPixelPosition(pe,!0),pe=G.renderer.scroller.getBoundingClientRect(),Ce=G.renderer.layerConfig.offset,Ae=G.renderer.scrollLeft,Ee=function(be,ie){return(be/=ve)*be+(ie=ie/ae-.75)*ie};if(ee.clientX=ct.length||(Ve=_t[He-1])!=H&&Ve!=B||(Ct=ct[He+1])!=H&&Ct!=B?z:(Ct=x?B:Ct)==Ve?Ct:z;case te:return(Ve=0=Ae){for(re=me+1;re=Ae;)re++;for(ue=me,be=re-1;ue>8;return le==0?191X&&Ee[oe]V.row||N.row==V.row&&N.column>V.column},M.prototype.getRange=function(){var N=this.anchor,V=this.lead;return this.$isEmpty?P.fromPoints(V,V):this.isBackwards()?P.fromPoints(V,N):P.fromPoints(N,V)},M.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},M.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},M.prototype.setRange=function(N,H){var Y=H?N.end:N.start,H=H?N.start:N.end;this.$setSelection(Y.row,Y.column,H.row,H.column)},M.prototype.$setSelection=function(N,V,Y,H){var B,z;!this.$silent&&(B=this.$isEmpty,z=this.inMultiSelectMode,this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(N,V),this.cursor.setPosition(Y,H),this.$isEmpty=!P.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),this.$cursorChanged||this.$anchorChanged||B!=this.$isEmpty||z)&&this._emit("changeSelection")},M.prototype.$moveSelection=function(N){var V=this.lead;this.$isEmpty&&this.setSelectionAnchor(V.row,V.column),N.call(this)},M.prototype.selectTo=function(N,V){this.$moveSelection(function(){this.moveCursorTo(N,V)})},M.prototype.selectToPosition=function(N){this.$moveSelection(function(){this.moveCursorToPosition(N)})},M.prototype.moveTo=function(N,V){this.clearSelection(),this.moveCursorTo(N,V)},M.prototype.moveToPosition=function(N){this.clearSelection(),this.moveCursorToPosition(N)},M.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},M.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},M.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},M.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},M.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},M.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},M.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},M.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},M.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},M.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},M.prototype.getWordRange=function(N,V){var Y;return V===void 0&&(N=(Y=N||this.lead).row,V=Y.column),this.session.getWordRange(N,V)},M.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},M.prototype.selectAWord=function(){var N=this.getCursor(),N=this.session.getAWordRange(N.row,N.column);this.setSelectionRange(N)},M.prototype.getLineRange=function(Y,V){var Y=typeof Y=="number"?Y:this.lead.row,H=this.session.getFoldLine(Y),H=H?(Y=H.start.row,H.end.row):Y;return V===!0?new P(Y,0,H,this.session.getLine(H).length):new P(Y,0,H+1,0)},M.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},M.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},M.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},M.prototype.wouldMoveIntoSoftTab=function(N,V,Y){var H=N.column,B=N.column+V;return Y<0&&(H=N.column-V,B=N.column),this.session.isTabStop(N)&&this.doc.getLine(N.row).slice(H,B).split(" ").length-1==V},M.prototype.moveCursorLeft=function(){var N,V=this.lead.getPosition();(N=this.session.getFoldAt(V.row,V.column,-1))?this.moveCursorTo(N.start.row,N.start.column):V.column===0?0=Y.length?(this.moveCursorTo(N,Y.length),this.moveCursorRight(),NQ&&(ne=G.substring(Q,ge-se.length),J.type==te?J.value+=ne:(J.type&&U.push(J),J={type:te,value:ne}));for(var he=0;heD){for(X>2*G.length&&this.reportError("infinite loop with in ace tokenizer",{startState:M,line:G});Q=this.$rowTokens.length;){if(this.$row+=1,x=x||this.$session.getLength(),this.$row>=x)return this.$row=x-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},D.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},D.prototype.getCurrentTokenRow=function(){return this.$row},D.prototype.getCurrentTokenColumn=function(){var x=this.$rowTokens,P=this.$tokenIndex,G=x[P].start;if(G===void 0)for(G=0;0this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},x.prototype.onDoubleClick=function(M){var M=M.getDocumentPosition(),N=this.editor,V=N.session.getBracketRange(M);V?(V.isEmpty()&&(V.start.column--,V.end.column++),this.setState("select")):(V=N.selection.getWordRange(M.row,M.column),this.setState("selectByWords")),this.$clickSelection=V,this.select()},x.prototype.onTripleClick=function(M){var M=M.getDocumentPosition(),N=this.editor,V=(this.setState("selectByLines"),N.getSelectionRange());V.isMultiLine()&&V.contains(M.row,M.column)?(this.$clickSelection=N.selection.getLineRange(V.start.row),this.$clickSelection.end=N.selection.getLineRange(V.end.row).end):this.$clickSelection=N.selection.getLineRange(M.row),this.select()},x.prototype.onQuadClick=function(G){var M=this.editor;M.selectAll(),this.$clickSelection=M.getSelectionRange(),this.setState("selectAll")},x.prototype.onMouseWheel=function(G){var M,N,V,Z,H,B,z;if(!G.getAccelKey())return G.getShiftKey()&&G.wheelY&&!G.wheelX&&(G.wheelX=G.wheelY,G.wheelY=0),M=this.editor,this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0}),N=this.$lastScroll,Z=(z=(V=G.domEvent.timeStamp)-N.t)?G.wheelX/z:N.vx,H=z?G.wheelY/z:N.vy,z<550&&(Z=(Z+N.vx)/2,H=(H+N.vy)/2),z=!1,1<=(B=Math.abs(Z/H))&&M.renderer.isScrollableBy(G.wheelX*G.speed,0)&&(z=!0),(z=B<=1&&M.renderer.isScrollableBy(0,G.wheelY*G.speed)?!0:z)?N.allowed=V:V-N.allowed<550&&(Math.abs(Z)<=1.5*Math.abs(N.vx)&&Math.abs(H)<=1.5*Math.abs(N.vy)?(z=!0,N.allowed=V):N.allowed=0),N.t=V,N.vx=Z,N.vy=H,z?(M.renderer.scrollBy(G.wheelX*G.speed,G.wheelY*G.speed),G.stop()):void 0},x);function x(G){G.$clickSelection=null;var M=G.editor;M.setDefaultHandler("mousedown",this.onMouseDown.bind(G)),M.setDefaultHandler("dblclick",this.onDoubleClick.bind(G)),M.setDefaultHandler("tripleclick",this.onTripleClick.bind(G)),M.setDefaultHandler("quadclick",this.onQuadClick.bind(G)),M.setDefaultHandler("mousewheel",this.onMouseWheel.bind(G)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(N){G[N]=this[N]},this),G.selectByLines=this.extendSelectionBy.bind(G,"getLineRange"),G.selectByWords=this.extendSelectionBy.bind(G,"getWordRange")}function P(G,M){return(G.start.row==G.end.row?2*M.column-G.start.column-G.end.column:G.start.row!=G.end.row-1||G.start.column||G.end.column?2*M.row-G.start.row-G.end.row:M.column-4)<0?{cursor:G.start,anchor:G.end}:{cursor:G.end,anchor:G.start}}D.prototype.selectEnd=D.prototype.selectByLinesEnd,D.prototype.selectAllEnd=D.prototype.selectByLinesEnd,D.prototype.selectByWordsEnd=D.prototype.selectByLinesEnd,E.DefaultHandlers=D}),ace.define("ace/lib/scroll",["require","exports","module"],function(I,E,F){E.preventParentScroll=function(O){O.stopPropagation();var D=O.currentTarget;D.scrollHeight>D.clientHeight||O.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(N,E,F){var O,z=this&&this.__extends||(O=function(Q,X){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(J,ne){J.__proto__=ne}:function(J,ne){for(var te in ne)Object.prototype.hasOwnProperty.call(ne,te)&&(J[te]=ne[te])}))(Q,X)},function(Q,X){if(typeof X!="function"&&X!==null)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function J(){this.constructor=Q}O(Q,X),Q.prototype=X===null?Object.create(X):(J.prototype=X.prototype,new J)}),D=this&&this.__values||function(Q){var X=typeof Symbol=="function"&&Symbol.iterator,J=X&&Q[X],ne=0;if(J)return J.call(Q);if(Q&&typeof Q.length=="number")return{next:function(){return{value:(Q=Q&&ne>=Q.length?void 0:Q)&&Q[ne++],done:!Q}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")},x=N("./lib/dom"),P=(N("./lib/event"),N("./range").Range),G=N("./lib/scroll").preventParentScroll,M="ace_tooltip",N=(V.prototype.$init=function(){return this.$element=x.createElement("div"),this.$element.className=M,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},V.prototype.getElement=function(){return this.$element||this.$init()},V.prototype.setText=function(Q){this.getElement().textContent=Q},V.prototype.setHtml=function(Q){this.getElement().innerHTML=Q},V.prototype.setPosition=function(Q,X){this.getElement().style.left=Q+"px",this.getElement().style.top=X+"px"},V.prototype.setClassName=function(Q){x.addCssClass(this.getElement(),Q)},V.prototype.setTheme=function(Q){this.$element.className=M+" "+(Q.isDark?"ace_dark ":"")+(Q.cssClass||"")},V.prototype.show=function(Q,X,J){Q!=null&&this.setText(Q),X!=null&&J!=null&&this.setPosition(X,J),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},V.prototype.hide=function(Q){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=M,this.isOpen=!1)},V.prototype.getHeight=function(){return this.getElement().offsetHeight},V.prototype.getWidth=function(){return this.getElement().offsetWidth},V.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},V);function V(Q){this.isOpen=!1,this.$element=null,this.$parentNode=Q}function Z(){this.popups=[]}Z.prototype.addPopup=function(Q){this.popups.push(Q),this.updatePopups()},Z.prototype.removePopup=function(Q){Q=this.popups.indexOf(Q),Q!==-1&&(this.popups.splice(Q,1),this.updatePopups())},Z.prototype.updatePopups=function(){this.popups.sort(function(ae,ve){return ve.priority-ae.priority});var Q,X,J,ne,te=[];try{for(var ce=D(this.popups),se=ce.next();!se.done;se=ce.next()){var ge=se.value,he=!0;try{J=void 0;for(var ye=D(te),ee=ye.next();!ee.done;ee=ye.next()){var pe=ee.value;if(this.doPopupsOverlap(pe,ge)){he=!1;break}}}catch(ae){J={error:ae}}finally{try{ee&&!ee.done&&(ne=ye.return)&&ne.call(ye)}finally{if(J)throw J.error}}he?te.push(ge):ge.hide()}}catch(ae){Q={error:ae}}finally{try{se&&!se.done&&(X=ce.return)&&X.call(ce)}finally{if(Q)throw Q.error}}},Z.prototype.doPopupsOverlap=function(Q,X){return Q=Q.getElement().getBoundingClientRect(),X=X.getElement().getBoundingClientRect(),Q.leftX.left&&Q.topX.top};var H,B=new Z,z=(E.popupManager=B,E.Tooltip=N,z(U,H=N),U.prototype.addToEditor=function(Q){Q.on("mousemove",this.onMouseMove),Q.on("mousedown",this.hide),Q.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},U.prototype.removeFromEditor=function(Q){Q.off("mousemove",this.onMouseMove),Q.off("mousedown",this.hide),Q.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},U.prototype.onMouseMove=function(Q,ne){this.lastEvent=Q,this.lastT=Date.now();var J,ne=ne.$mouseHandler.isMousePressed;this.isOpen&&(J=this.lastEvent&&this.lastEvent.getDocumentPosition(),this.range&&this.range.contains(J.row,J.column)&&!ne&&!this.isOutsideOfText(this.lastEvent)||this.hide()),this.timeout||ne||(this.lastEvent=Q,this.timeout=setTimeout(this.waitForHover,this.idleTime))},U.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var Q=Date.now()-this.lastT;10=B.length?void 0:B)&&B[Q++],done:!B}}};throw new TypeError(z?"Object is not iterable.":"Symbol.iterator is not defined.")},P=I("../lib/dom"),G=I("../lib/event"),M=I("../tooltip").Tooltip,N=I("../config").nls;E.GutterHandler=function(B){var z,U,Q=B.editor,X=Q.renderer.$gutterLayer,J=new Z(Q);function ne(){z=z&&clearTimeout(z),J.isOpen&&(J.hideTooltip(),Q.off("mousewheel",ne))}function te(ce){J.setPosition(ce.x,ce.y)}B.editor.setDefaultHandler("guttermousedown",function(ce){if(Q.isFocused()&&ce.getButton()==0){var se=X.getRegion(ce);if(se!="foldWidgets"){var se=ce.getDocumentPosition().row,ge=Q.session.selection;if(ce.getShiftKey())ge.selectTo(se,0);else{if(ce.domEvent.detail==2)return Q.selectAll(),ce.preventDefault();B.$clickSelection=Q.selection.getLineRange(se)}return B.setState("selectByLines"),B.captureMouse(ce),ce.preventDefault()}}}),B.editor.setDefaultHandler("guttermousemove",function(ce){var se=ce.domEvent.target||ce.domEvent.srcElement;if(P.hasCssClass(se,"ace_fold-widget"))return ne();J.isOpen&&B.$tooltipFollowsMouse&&te(ce),U=ce,z=z||setTimeout(function(){if(z=null,U&&!B.isMousePressed){var ge=U.getDocumentPosition().row;if(ge==Q.session.getLength()){var he=Q.renderer.pixelToScreenCoordinates(0,U.y).row,ye=U.$pos;if(he>Q.session.documentToScreenRow(ye.row,ye.column))return void ne()}J.showTooltip(ge),J.isOpen&&(Q.on("mousewheel",ne),!B.$tooltipFollowsMouse&&(he=U.getGutterRow(),ye=X.$lines.get(he))?(ge=ye.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),(he=J.getElement().style).left=ge.right+"px",he.top=ge.bottom+"px"):te(U))}else ne()},50)}),G.addListener(Q.renderer.$gutter,"mouseout",function(ce){U=null,J.isOpen&&(z=z||setTimeout(function(){z=null,ne()},50))},Q),Q.on("changeSession",ne),Q.on("input",ne)},D(H,V=M),H.prototype.setPosition=function(B,z){var U=window.innerWidth||document.documentElement.clientWidth,Q=window.innerHeight||document.documentElement.clientHeight,X=this.getWidth(),J=this.getHeight();U<(B+=15)+X&&(B-=B+X-U),Q<(z+=15)+J&&(z-=20+J),M.prototype.setPosition.call(this,B,z)},Object.defineProperty(H,"annotationLabels",{get:function(){return{error:{singular:N("gutter-tooltip.aria-label.error.singular","error"),plural:N("gutter-tooltip.aria-label.error.plural","errors")},warning:{singular:N("gutter-tooltip.aria-label.warning.singular","warning"),plural:N("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:N("gutter-tooltip.aria-label.info.singular","information message"),plural:N("gutter-tooltip.aria-label.info.plural","information messages")}}},enumerable:!1,configurable:!0}),H.prototype.showTooltip=function(B){var z=this.editor.renderer.$gutterLayer,U=z.$annotations[B],Q=U?{text:Array.from(U.text),type:Array.from(U.type)}:{text:[],type:[]},X=z.session.getFoldLine(B);if(X&&z.$showFoldedAnnotations){for(var J,ne={error:[],warning:[],info:[]},te=B+1;te<=X.end.row;te++)if(z.$annotations[te])for(var ce=0;ce ").concat(Q.text[te]);ge[Q.type[te].replace("_fold","")].push(ye)}B=[].concat(ge.error,ge.warning,ge.info).join("
    "),this.setHtml(B),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},H.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},H.annotationsToSummaryString=function(B){var z,U,Q=[];try{for(var X=x(["error","warning","info"]),J=X.next();!J.done;J=X.next()){var ne,te=J.value;B[te].length&&(ne=B[te].length===1?H.annotationLabels[te].singular:H.annotationLabels[te].plural,Q.push("".concat(B[te].length," ").concat(ne)))}}catch(ce){z={error:ce}}finally{try{J&&!J.done&&(U=X.return)&&U.call(X)}finally{if(z)throw z.error}}return Q.join(", ")};var V,Z=H;function H(B){var z=V.call(this,B.container)||this;return z.editor=B,z}E.GutterTooltip=Z}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(I,E,F){var O=I("../lib/event"),D=I("../lib/useragent");function x(P,G){this.speed,this.wheelX,this.wheelY,this.domEvent=P,this.editor=G,this.x=this.clientX=P.clientX,this.y=this.clientY=P.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}x.prototype.stopPropagation=function(){O.stopPropagation(this.domEvent),this.propagationStopped=!0},x.prototype.preventDefault=function(){O.preventDefault(this.domEvent),this.defaultPrevented=!0},x.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},x.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},x.prototype.getGutterRow=function(){var P=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(P,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},x.prototype.inSelection=function(){var P,G;return this.$inSelection===null&&((P=this.editor.getSelectionRange()).isEmpty()?this.$inSelection=!1:(G=this.getDocumentPosition(),this.$inSelection=P.contains(G.row,G.column))),this.$inSelection},x.prototype.getButton=function(){return O.getButton(this.domEvent)},x.prototype.getShiftKey=function(){return this.domEvent.shiftKey},x.prototype.getAccelKey=function(){return D.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},E.MouseEvent=x}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(I,E,F){var O=I("../lib/dom"),D=I("../lib/event"),x=I("../lib/useragent");function P(M){var N,V,Z,H,B,z,U,Q,X,J,ne,te=M.editor,ce=O.createElement("div"),se=(ce.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",ce.textContent="\xA0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(_e){M[_e]=this[_e]},this),te.on("mousedown",this.onMouseDown.bind(M)),te.container),ge=0;function he(){var _e,Te,Ce,Ae,Ee,le,re,ue,be=z;z=te.renderer.screenToTextCoordinates(V,Z),Ce=z,Te=be,Ae=Date.now(),_e=!Te||Ce.row!=Te.row,Te=!Te||Ce.column!=Te.column,!J||_e||Te?(te.moveCursorToPosition(Ce),J=Ae,ne={x:V,y:Z}):5this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(M){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var M=this.editor,N=(M.container.draggable=!0,M.renderer.$cursorLayer.setBlinking(!1),M.setStyle("ace_dragging"),x.isWin?"default":"move");M.renderer.setCursorStyle(N),this.setState("dragReady")},this.onMouseDrag=function(M){var N=this.editor.container;x.isIE&&this.state=="dragReady"&&3ae&&(V=-1),M=ee.clientX=Te,N=ee.clientY=_e,te=ce=0,new O(ee,G));if(z=Te.getDocumentPosition(),we-V<500&&pe.length==1&&!J)ne++,ee.preventDefault(),ee.button=0,H=null,clearTimeout(H),G.selection.moveToPosition(z),(_e=2<=ne?G.selection.getLineRange(z.row):G.session.getBracketRange(z))&&!_e.isEmpty()?G.selection.setRange(_e):G.selection.selectWord(),X="wait";else{ne=0;var Te=G.selection.cursor,pe=G.selection.isEmpty()?Te:G.selection.anchor,_e=G.renderer.$cursorLayer.getPixelPosition(Te,!0),Te=G.renderer.$cursorLayer.getPixelPosition(pe,!0),pe=G.renderer.scroller.getBoundingClientRect(),Ce=G.renderer.layerConfig.offset,Ae=G.renderer.scrollLeft,Ee=function(be,ie){return(be/=ve)*be+(ie=ie/ae-.75)*ie};if(ee.clientX=ct.length||(Ve=_t[He-1])!=H&&Ve!=B||(Ct=ct[He+1])!=H&&Ct!=B?z:(Ct=x?B:Ct)==Ve?Ct:z;case te:return(Ve=0=Ae){for(re=me+1;re=Ae;)re++;for(ue=me,be=re-1;ue>8;return le==0?191X&&Ee[oe]V.row||N.row==V.row&&N.column>V.column},M.prototype.getRange=function(){var N=this.anchor,V=this.lead;return this.$isEmpty?P.fromPoints(V,V):this.isBackwards()?P.fromPoints(V,N):P.fromPoints(N,V)},M.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},M.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},M.prototype.setRange=function(N,H){var Z=H?N.end:N.start,H=H?N.start:N.end;this.$setSelection(Z.row,Z.column,H.row,H.column)},M.prototype.$setSelection=function(N,V,Z,H){var B,z;!this.$silent&&(B=this.$isEmpty,z=this.inMultiSelectMode,this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(N,V),this.cursor.setPosition(Z,H),this.$isEmpty=!P.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),this.$cursorChanged||this.$anchorChanged||B!=this.$isEmpty||z)&&this._emit("changeSelection")},M.prototype.$moveSelection=function(N){var V=this.lead;this.$isEmpty&&this.setSelectionAnchor(V.row,V.column),N.call(this)},M.prototype.selectTo=function(N,V){this.$moveSelection(function(){this.moveCursorTo(N,V)})},M.prototype.selectToPosition=function(N){this.$moveSelection(function(){this.moveCursorToPosition(N)})},M.prototype.moveTo=function(N,V){this.clearSelection(),this.moveCursorTo(N,V)},M.prototype.moveToPosition=function(N){this.clearSelection(),this.moveCursorToPosition(N)},M.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},M.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},M.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},M.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},M.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},M.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},M.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},M.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},M.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},M.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},M.prototype.getWordRange=function(N,V){var Z;return V===void 0&&(N=(Z=N||this.lead).row,V=Z.column),this.session.getWordRange(N,V)},M.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},M.prototype.selectAWord=function(){var N=this.getCursor(),N=this.session.getAWordRange(N.row,N.column);this.setSelectionRange(N)},M.prototype.getLineRange=function(Z,V){var Z=typeof Z=="number"?Z:this.lead.row,H=this.session.getFoldLine(Z),H=H?(Z=H.start.row,H.end.row):Z;return V===!0?new P(Z,0,H,this.session.getLine(H).length):new P(Z,0,H+1,0)},M.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},M.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},M.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},M.prototype.wouldMoveIntoSoftTab=function(N,V,Z){var H=N.column,B=N.column+V;return Z<0&&(H=N.column-V,B=N.column),this.session.isTabStop(N)&&this.doc.getLine(N.row).slice(H,B).split(" ").length-1==V},M.prototype.moveCursorLeft=function(){var N,V=this.lead.getPosition();(N=this.session.getFoldAt(V.row,V.column,-1))?this.moveCursorTo(N.start.row,N.start.column):V.column===0?0=Z.length?(this.moveCursorTo(N,Z.length),this.moveCursorRight(),NQ&&(ne=G.substring(Q,ge-se.length),J.type==te?J.value+=ne:(J.type&&U.push(J),J={type:te,value:ne}));for(var he=0;heD){for(X>2*G.length&&this.reportError("infinite loop with in ace tokenizer",{startState:M,line:G});Q=this.$rowTokens.length;){if(this.$row+=1,x=x||this.$session.getLength(),this.$row>=x)return this.$row=x-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},D.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},D.prototype.getCurrentTokenRow=function(){return this.$row},D.prototype.getCurrentTokenColumn=function(){var x=this.$rowTokens,P=this.$tokenIndex,G=x[P].start;if(G===void 0)for(G=0;0Ce.length&&(Te=Ce.length)}),ne==1/0&&(ne=Te,J=X=!1),ce&&ne%te!=0&&(ne=Math.floor(ne/te)*te),_e(J?se:he)},this.toggleBlockComment=function(H,B,z,U){var Q=this.blockComment;if(Q){!Q.start&&Q[0]&&(Q=Q[0]);var X,J,ne=(he=new N(B,U.row,U.column)).getCurrentToken(),te=(B.selection,B.selection.toOrientedRange());if(ne&&/comment/.test(ne.type)){for(;ne&&/comment/.test(ne.type);){if((ye=ne.value.indexOf(Q.start))!=-1){var ce=he.getCurrentTokenRow(),se=he.getCurrentTokenColumn()+ye,ge=new V(ce,se,ce,se+Q.start.length);break}ne=he.stepBackward()}for(var he,ye,ne=(he=new N(B,U.row,U.column)).getCurrentToken();ne&&/comment/.test(ne.type);){if((ye=ne.value.indexOf(Q.end))!=-1){var ce=he.getCurrentTokenRow(),se=he.getCurrentTokenColumn()+ye,ee=new V(ce,se,ce,se+Q.end.length);break}ne=he.stepForward()}ee&&B.remove(ee),ge&&(B.remove(ge),X=ge.start.row,J=-Q.start.length)}else J=Q.start.length,X=z.start.row,B.insert(z.end,Q.end),B.insert(z.start,Q.start);te.start.row==X&&(te.start.column+=J),te.end.row==X&&(te.end.column+=J),B.selection.fromOrientedRange(te)}},this.getNextLineIndent=function(H,B,z){return this.$getIndent(B)},this.checkOutdent=function(H,B,z){return!1},this.autoOutdent=function(H,B,z){},this.$getIndent=function(H){return H.match(/^\s*/)[0]},this.createWorker=function(H){return null},this.createModeDelegates=function(H){for(var B in this.$embeds=[],this.$modes={},H){var z,U,Q;H[B]&&(U=(z=H[B]).prototype.$id,(Q=O.$modes[U])||(O.$modes[U]=Q=new z),O.$modes[B]||(O.$modes[B]=Q),this.$embeds.push(B),this.$modes[B]=Q)}for(var X=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],J=this,B=0;Bthis.row||(M=function(N,V,Y){var U=N.action=="insert",H=(U?1:-1)*(N.end.row-N.start.row),B=(U?1:-1)*(N.end.column-N.start.column),z=N.start,U=U?z:N.end;return G(V,z,Y)?{row:V.row,column:V.column}:G(U,V,!Y)?{row:V.row+H,column:V.column+(V.row==U.row?B:0)}:{row:z.row,column:z.column}}(M,{row:this.row,column:this.column},this.$insertRight),this.setPosition(M.row,M.column,!0))},P.prototype.setPosition=function(M,N,V){V=V?{row:M,column:N}:this.$clipPositionToDocument(M,N),this.row==V.row&&this.column==V.column||(M={row:this.row,column:this.column},this.row=V.row,this.column=V.column,this._signal("change",{old:M,value:V}))},P.prototype.detach=function(){this.document.off("change",this.$onChange)},P.prototype.attach=function(M){this.document=M||this.document,this.document.on("change",this.$onChange)},P.prototype.$clipPositionToDocument=function(M,N){var V={};return M>=this.document.getLength()?(V.row=Math.max(0,this.document.getLength()-1),V.column=this.document.getLine(V.row).length):M<0?(V.row=0,V.column=0):(V.row=M,V.column=Math.min(this.document.getLine(V.row).length,Math.max(0,N))),N<0&&(V.column=0),V},P);function P(M,N,V){this.$onChange=this.onChange.bind(this),this.attach(M),typeof N!="number"?this.setPosition(N.row,N.column):this.setPosition(N,V)}function G(M,N,V){return V=V?M.column<=N.column:M.columnCe.length&&(Te=Ce.length)}),ne==1/0&&(ne=Te,J=X=!1),ce&&ne%te!=0&&(ne=Math.floor(ne/te)*te),_e(J?se:he)},this.toggleBlockComment=function(H,B,z,U){var Q=this.blockComment;if(Q){!Q.start&&Q[0]&&(Q=Q[0]);var X,J,ne=(he=new N(B,U.row,U.column)).getCurrentToken(),te=(B.selection,B.selection.toOrientedRange());if(ne&&/comment/.test(ne.type)){for(;ne&&/comment/.test(ne.type);){if((ye=ne.value.indexOf(Q.start))!=-1){var ce=he.getCurrentTokenRow(),se=he.getCurrentTokenColumn()+ye,ge=new V(ce,se,ce,se+Q.start.length);break}ne=he.stepBackward()}for(var he,ye,ne=(he=new N(B,U.row,U.column)).getCurrentToken();ne&&/comment/.test(ne.type);){if((ye=ne.value.indexOf(Q.end))!=-1){var ce=he.getCurrentTokenRow(),se=he.getCurrentTokenColumn()+ye,ee=new V(ce,se,ce,se+Q.end.length);break}ne=he.stepForward()}ee&&B.remove(ee),ge&&(B.remove(ge),X=ge.start.row,J=-Q.start.length)}else J=Q.start.length,X=z.start.row,B.insert(z.end,Q.end),B.insert(z.start,Q.start);te.start.row==X&&(te.start.column+=J),te.end.row==X&&(te.end.column+=J),B.selection.fromOrientedRange(te)}},this.getNextLineIndent=function(H,B,z){return this.$getIndent(B)},this.checkOutdent=function(H,B,z){return!1},this.autoOutdent=function(H,B,z){},this.$getIndent=function(H){return H.match(/^\s*/)[0]},this.createWorker=function(H){return null},this.createModeDelegates=function(H){for(var B in this.$embeds=[],this.$modes={},H){var z,U,Q;H[B]&&(U=(z=H[B]).prototype.$id,(Q=O.$modes[U])||(O.$modes[U]=Q=new z),O.$modes[B]||(O.$modes[B]=Q),this.$embeds.push(B),this.$modes[B]=Q)}for(var X=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],J=this,B=0;Bthis.row||(M=function(N,V,Z){var U=N.action=="insert",H=(U?1:-1)*(N.end.row-N.start.row),B=(U?1:-1)*(N.end.column-N.start.column),z=N.start,U=U?z:N.end;return G(V,z,Z)?{row:V.row,column:V.column}:G(U,V,!Z)?{row:V.row+H,column:V.column+(V.row==U.row?B:0)}:{row:z.row,column:z.column}}(M,{row:this.row,column:this.column},this.$insertRight),this.setPosition(M.row,M.column,!0))},P.prototype.setPosition=function(M,N,V){V=V?{row:M,column:N}:this.$clipPositionToDocument(M,N),this.row==V.row&&this.column==V.column||(M={row:this.row,column:this.column},this.row=V.row,this.column=V.column,this._signal("change",{old:M,value:V}))},P.prototype.detach=function(){this.document.off("change",this.$onChange)},P.prototype.attach=function(M){this.document=M||this.document,this.document.on("change",this.$onChange)},P.prototype.$clipPositionToDocument=function(M,N){var V={};return M>=this.document.getLength()?(V.row=Math.max(0,this.document.getLength()-1),V.column=this.document.getLine(V.row).length):M<0?(V.row=0,V.column=0):(V.row=M,V.column=Math.min(this.document.getLine(V.row).length,Math.max(0,N))),N<0&&(V.column=0),V},P);function P(M,N,V){this.$onChange=this.onChange.bind(this),this.attach(M),typeof N!="number"?this.setPosition(N.row,N.column):this.setPosition(N,V)}function G(M,N,V){return V=V?M.column<=N.column:M.column=Y?(V.row=Math.max(0,Y-1),V.column=this.getLine(Y-1).length):(V.row=Math.max(0,V.row),V.column=Math.min(Math.max(V.column,0),this.getLine(V.row).length)),V},N.prototype.insertFullLines=function(V,Y){var H=0,H=(V=Math.min(Math.max(V,0),this.getLength()))G+1&&(this.currentLine=G+1)):this.currentLine==G&&(this.currentLine=G+1),this.lines[G]=N.tokens},P.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},P);function P(G,M){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=G;var N=this;this.$worker=function(){if(N.running){for(var V=new Date,Y=N.currentLine,H=-1,B=N.doc,z=Y;N.lines[Y];)Y++;var U=B.getLength(),Q=0;for(N.running=!1;Ythis.MAX_RANGES?U.slice(0,this.MAX_RANGES):U).map(function(ne){return new D(z,ne.offset,z,ne.offset+ne.length)}),this.cache[z]=U.length?U:"");for(var Q=U.length;Q--;){var X=U[Q].toScreenRange(N),J=X.toString();B[J]||(B[J]=!0,M.drawSingleLineMarker(G,X,this.clazz,V))}}},P);function P(G,M,N){N===void 0&&(N="text"),this.setRegexp(G),this.clazz=M,this.type=N}x.prototype.MAX_RANGES=500,E.SearchHighlight=x}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(I,E,F){D.prototype.addSession=function(z){this.$session=z},D.prototype.add=function(z,U,Q){this.$fromUndo||z!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),U!==!1&&this.lastDeltas||(this.lastDeltas=[],(U=this.$undoStack.length)>this.$undoDepth-1&&this.$undoStack.splice(0,U-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),z.id=this.$rev=++this.$maxRev),z.action!="remove"&&z.action!="insert"||(this.$lastDelta=z),this.lastDeltas.push(z))},D.prototype.addSelection=function(z,U){this.selections.push({value:z,rev:U||this.$rev})},D.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},D.prototype.markIgnored=function(z,U){U==null&&(U=this.$rev+1);for(var Q=this.$undoStack,X=Q.length;X--;){var J=Q[X][0];if(J.id<=z)break;J.id=Z?(V.row=Math.max(0,Z-1),V.column=this.getLine(Z-1).length):(V.row=Math.max(0,V.row),V.column=Math.min(Math.max(V.column,0),this.getLine(V.row).length)),V},N.prototype.insertFullLines=function(V,Z){var H=0,H=(V=Math.min(Math.max(V,0),this.getLength()))G+1&&(this.currentLine=G+1)):this.currentLine==G&&(this.currentLine=G+1),this.lines[G]=N.tokens},P.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},P);function P(G,M){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=G;var N=this;this.$worker=function(){if(N.running){for(var V=new Date,Z=N.currentLine,H=-1,B=N.doc,z=Z;N.lines[Z];)Z++;var U=B.getLength(),Q=0;for(N.running=!1;Zthis.MAX_RANGES?U.slice(0,this.MAX_RANGES):U).map(function(ne){return new D(z,ne.offset,z,ne.offset+ne.length)}),this.cache[z]=U.length?U:"");for(var Q=U.length;Q--;){var X=U[Q].toScreenRange(N),J=X.toString();B[J]||(B[J]=!0,M.drawSingleLineMarker(G,X,this.clazz,V))}}},P);function P(G,M,N){N===void 0&&(N="text"),this.setRegexp(G),this.clazz=M,this.type=N}x.prototype.MAX_RANGES=500,E.SearchHighlight=x}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(I,E,F){D.prototype.addSession=function(z){this.$session=z},D.prototype.add=function(z,U,Q){this.$fromUndo||z!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),U!==!1&&this.lastDeltas||(this.lastDeltas=[],(U=this.$undoStack.length)>this.$undoDepth-1&&this.$undoStack.splice(0,U-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),z.id=this.$rev=++this.$maxRev),z.action!="remove"&&z.action!="insert"||(this.$lastDelta=z),this.lastDeltas.push(z))},D.prototype.addSelection=function(z,U){this.selections.push({value:z,rev:U||this.$rev})},D.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},D.prototype.markIgnored=function(z,U){U==null&&(U=this.$rev+1);for(var Q=this.$undoStack,X=Q.length;X--;){var J=Q[X][0];if(J.id<=z)break;J.id"+z.end.row+":"+z.end.column}function V(z,U){var Q=z.action=="insert",X=U.action=="insert";if(Q&&X)if(0<=P(U.start,z.end))Y(U,z,-1);else{if(!(P(U.start,z.start)<=0))return;Y(z,U,1)}else if(Q&&!X)if(0<=P(U.start,z.end))Y(U,z,-1);else{if(!(P(U.end,z.start)<=0))return;Y(z,U,-1)}else if(!Q&&X)if(0<=P(U.start,z.start))Y(U,z,1);else{if(!(P(U.start,z.start)<=0))return;Y(z,U,1)}else if(!Q&&!X)if(0<=P(U.start,z.start))Y(U,z,1);else{if(!(P(U.end,z.start)<=0))return;Y(z,U,-1)}return 1}function Y(z,U,Q){H(z.start,U.start,U.end,Q),H(z.end,U.start,U.end,Q)}function H(z,U,Q,X){z.row==(X==1?U:Q).row&&(z.column+=X*(Q.column-U.column)),z.row+=X*(Q.row-U.row)}function B(z,U){var Q=z.lines,X=z.end,ne=(z.end=G(U),z.end.row-z.start.row),J=Q.splice(ne,Q.length),ne=ne?U.column:U.column-z.start.column;return Q.push(J[0].substring(0,ne)),J[0]=J[0].substr(ne),{start:G(U),end:X,lines:J,action:z.action}}E.UndoManager=O}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(I,E,F){var O=I("../range").Range;function D(x,P){this.foldData=x,Array.isArray(P)?this.folds=P:P=this.folds=[P],x=P[P.length-1],this.range=new O(P[0].start.row,P[0].start.column,x.end.row,x.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(G){G.setFoldLine(this)},this)}D.prototype.shiftRow=function(x){this.start.row+=x,this.end.row+=x,this.folds.forEach(function(P){P.start.row+=x,P.end.row+=x})},D.prototype.addFold=function(x){if(x.sameRow){if(x.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(x),this.folds.sort(function(P,G){return-P.range.compareEnd(G.start.row,G.start.column)}),0=this.start.row&&x<=this.end.row},D.prototype.walk=function(x,P,G){var M,N,V=0,Y=this.folds,H=!0;P==null&&(P=this.end.row,G=this.end.column);for(var B=0;BG||M[M.length-1].start.row=N);H++);if(P.action=="insert")for(var z=V-N,U=-G.column+M.column;HN);H++)Q.start.row==N&&Q.start.column>=G.column&&(Q.start.column==G.column&&this.$bias<=0||(Q.start.column+=U,Q.start.row+=z)),Q.end.row==N&&Q.end.column>=G.column&&(Q.end.column==G.column&&this.$bias<0||(Q.end.column==G.column&&0Q.start.column&&Q.end.column==Y[H+1].start.column&&(Q.end.column-=U),Q.end.column+=U,Q.end.row+=z));else for(var Q,z=N-V,U=G.column-M.column;HV);H++)Q.end.rowG.column)&&(Q.end.column=G.column,Q.end.row=G.row):(Q.end.column+=U,Q.end.row+=z):Q.end.row>V&&(Q.end.row+=z),Q.start.rowG.column)&&(Q.start.column=G.column,Q.start.row=G.row):(Q.start.column+=U,Q.start.row+=z):Q.start.row>V&&(Q.start.row+=z);if(z!=0&&H=M)return H;if(H.end.row>M)return null}return null},this.getNextFoldLine=function(M,N){var V=this.$foldData,Y=0;for((Y=N?V.indexOf(N):Y)==-1&&(Y=0);Y=M)return H}return null},this.getFoldedRowCount=function(M,N){for(var V=this.$foldData,Y=N-M+1,H=0;HQ)break;while(Y&&B.test(Y.type));Y=z.stepBackward()}else Y=z.getCurrentToken();return H.end.row=z.getCurrentTokenRow(),H.end.column=z.getCurrentTokenColumn(),H}},this.foldAll=function(M,N,V,Y){V==null&&(V=1e5);var H=this.foldWidgets;if(H){N=N||this.getLength();for(var B,z=M=M||0;z=M&&(z=B.end.row,B.collapseChildren=V,this.addFold("...",B))}},this.foldToLevel=function(M){for(this.foldAll();0=M)break}Y--}return{range:Y!==-1&&B,firstRange:z}},this.onFoldWidgetClick=function(M,N){var V={children:(N=N instanceof G?N.domEvent:N).shiftKey,all:N.ctrlKey||N.metaKey,siblings:N.altKey};this.$toggleFoldWidget(M,V)||(M=N.target||N.srcElement)&&/ace_fold-widget/.test(M.className)&&(M.className+=" ace_invalid")},this.$toggleFoldWidget=function(M,N){var V,Y,H,B;if(this.getFoldWidget)return V=this.getFoldWidget(M),Y=this.getLine(M),(Y=this.getFoldAt(M,(V=V==="end"?-1:1)==-1?0:Y.length,V))?(N.children||N.all?this.removeFold(Y):this.expandFold(Y),Y):(V=this.getFoldWidgetRange(M,!0))&&!V.isMultiLine()&&(Y=this.getFoldAt(V.start.row,V.start.column,1))&&V.isEqual(Y.range)?(this.removeFold(Y),Y):(N.siblings?((Y=this.getParentFoldRangeData(M)).range&&(H=Y.range.start.row+1,B=Y.range.end.row),this.foldAll(H,B,N.all?1e4:0)):N.children?(B=V?V.end.row:this.getLength(),this.foldAll(M+1,B,N.all?1e4:0)):V&&(N.all&&(V.collapseChildren=1e4),this.addFold("...",V)),V)},this.toggleFoldWidget=function(M){var N,V=this.selection.getCursor().row;V=this.getRowFoldStart(V),!this.$toggleFoldWidget(V,{})&&(N=(N=this.getParentFoldRangeData(V,!0)).range||N.firstRange)&&(V=N.start.row,(V=this.getFoldAt(V,this.getLine(V).length,1))?this.removeFold(V):this.addFold("...",N))},this.updateFoldWidgets=function(M){var N=M.start.row,V=M.end.row-N;V==0?this.foldWidgets[N]=null:M.action=="remove"?this.foldWidgets.splice(N,1+V,null):((M=Array(1+V)).unshift(N,1),this.foldWidgets.splice.apply(this.foldWidgets,M))},this.tokenizerUpdateFoldWidgets=function(M){M=M.data,M.first!=M.last&&this.foldWidgets.length>M.first&&this.foldWidgets.splice(M.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(I,E,F){var O=I("../token_iterator").TokenIterator,D=I("../range").Range;E.BracketMatch=function(){this.findMatchingBracket=function(x,P){return x.column!=0&&(P=P||this.getLine(x.row).charAt(x.column-1))!=""&&(P=P.match(/([\(\[\{])|([\)\]\}])/))?P[1]?this.$findClosingBracket(P[1],x):this.$findOpeningBracket(P[2],x):null},this.getBracketRange=function(x){var P,G,M=this.getLine(x.row),N=!0,V=M.charAt(x.column-1),Y=V&&V.match(/([\(\[\{])|([\)\]\}])/);if(Y||(V=M.charAt(x.column),x={row:x.row,column:x.column+1},Y=V&&V.match(/([\(\[\{])|([\)\]\}])/),N=!1),!Y)return null;if(Y[1]){if(!(G=this.$findClosingBracket(Y[1],x)))return null;P=D.fromPoints(x,G),N||(P.end.column++,P.start.column--),P.cursor=P.end}else{if(!(G=this.$findOpeningBracket(Y[2],x)))return null;P=D.fromPoints(G,x),N||(P.start.column++,P.end.column--),P.cursor=P.start}return P},this.getMatchingBracketRanges=function(x,P){var G=this.getLine(x.row),M=/([\(\[\{])|([\)\]\}])/,N=!P&&G.charAt(x.column-1),V=N&&N.match(M);return V||(N=(P===void 0||P)&&G.charAt(x.column),x={row:x.row,column:x.column+1},V=N&&N.match(M)),V?(P=new D(x.row,x.column-1,x.row,x.column),(G=V[1]?this.$findClosingBracket(V[1],x):this.$findOpeningBracket(V[2],x))?[P,new D(G.row,G.column,G.row,G.column+1)]:[P]):null},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(x,P,G){var M=this.$brackets[x],N=1,V=new O(this,P.row,P.column),Y=V.getCurrentToken();if(Y=Y||V.stepForward()){G=G||new RegExp("(\\.?"+Y.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+");for(var H=P.column-V.getCurrentTokenColumn()-2,B=Y.value;;){for(;0<=H;){var z=B.charAt(H);if(z==M){if(--N==0)return{row:V.getCurrentTokenRow(),column:H+V.getCurrentTokenColumn()}}else z==x&&(N+=1);--H}for(;(Y=V.stepBackward())&&!G.test(Y.type););if(Y==null)break;H=(B=Y.value).length-1}return null}},this.$findClosingBracket=function(x,P,G){var M=this.$brackets[x],N=1,V=new O(this,P.row,P.column),Y=V.getCurrentToken();if(Y=Y||V.stepForward()){G=G||new RegExp("(\\.?"+Y.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+");for(var H=P.column-V.getCurrentTokenColumn();;){for(var B=Y.value,z=B.length;H"?M=!0:P.type.indexOf("tag-name")!==-1&&(G=!0)),P&&!G;);return P},this.$findClosingTag=function(x,P){var G=P.value,M=P.value,N=0,V=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),Y=(P=x.stepForward(),new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+P.value.length)),H=!1;do{var B,z=P;if(z.type.indexOf("tag-close")===-1||H||(B=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),H=!0),P=x.stepForward())if(P.value!==">"||H||(B=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),H=!0),P.type.indexOf("tag-name")!==-1){if(M===(G=P.value)){if(z.value==="<")N++;else if(z.value==="")return;var X=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1)}}}else M===G&&P.value==="/>"&&--N<0&&(X=Q=U=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+2),B=new D(Y.end.row,Y.end.column,Y.end.row,Y.end.column+1))}while(P&&0<=N);if(V&&B&&U&&X&&Y&&Q)return{openTag:new D(V.start.row,V.start.column,B.end.row,B.end.column),closeTag:new D(U.start.row,U.start.column,X.end.row,X.end.column),openTagName:Y,closeTagName:Q}},this.$findOpeningTag=function(x,P){var G,M=x.getCurrentToken(),N=P.value,V=0,Y=x.getCurrentTokenRow(),H=x.getCurrentTokenColumn(),B=new D(Y,H,Y,H+2),z=(x.stepForward(),new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+P.value.length));if((P=P.type.indexOf("tag-close")===-1?x.stepForward():P)&&P.value===">"){var U=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1);x.stepBackward(),x.stepBackward();do if(P=M,Y=x.getCurrentTokenRow(),G=(H=x.getCurrentTokenColumn())+P.value.length,M=x.stepBackward(),P){if(P.type.indexOf("tag-name")!==-1){if(N===P.value)if(M.value==="<"){if(0<++V){for(var Q=new D(Y,H,Y,G),X=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1);(P=x.stepForward())&&P.value!==">";);var J=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1)}}else M.value===""){for(var ne=0,te=M;te;){if(te.type.indexOf("tag-name")!==-1&&te.value===N){V--;break}if(te.value==="<")break;te=x.stepBackward(),ne++}for(var ce=0;ce>1,_e=ee[we];if(_e"+z.end.row+":"+z.end.column}function V(z,U){var Q=z.action=="insert",X=U.action=="insert";if(Q&&X)if(0<=P(U.start,z.end))Z(U,z,-1);else{if(!(P(U.start,z.start)<=0))return;Z(z,U,1)}else if(Q&&!X)if(0<=P(U.start,z.end))Z(U,z,-1);else{if(!(P(U.end,z.start)<=0))return;Z(z,U,-1)}else if(!Q&&X)if(0<=P(U.start,z.start))Z(U,z,1);else{if(!(P(U.start,z.start)<=0))return;Z(z,U,1)}else if(!Q&&!X)if(0<=P(U.start,z.start))Z(U,z,1);else{if(!(P(U.end,z.start)<=0))return;Z(z,U,-1)}return 1}function Z(z,U,Q){H(z.start,U.start,U.end,Q),H(z.end,U.start,U.end,Q)}function H(z,U,Q,X){z.row==(X==1?U:Q).row&&(z.column+=X*(Q.column-U.column)),z.row+=X*(Q.row-U.row)}function B(z,U){var Q=z.lines,X=z.end,ne=(z.end=G(U),z.end.row-z.start.row),J=Q.splice(ne,Q.length),ne=ne?U.column:U.column-z.start.column;return Q.push(J[0].substring(0,ne)),J[0]=J[0].substr(ne),{start:G(U),end:X,lines:J,action:z.action}}E.UndoManager=O}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(I,E,F){var O=I("../range").Range;function D(x,P){this.foldData=x,Array.isArray(P)?this.folds=P:P=this.folds=[P],x=P[P.length-1],this.range=new O(P[0].start.row,P[0].start.column,x.end.row,x.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(G){G.setFoldLine(this)},this)}D.prototype.shiftRow=function(x){this.start.row+=x,this.end.row+=x,this.folds.forEach(function(P){P.start.row+=x,P.end.row+=x})},D.prototype.addFold=function(x){if(x.sameRow){if(x.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(x),this.folds.sort(function(P,G){return-P.range.compareEnd(G.start.row,G.start.column)}),0=this.start.row&&x<=this.end.row},D.prototype.walk=function(x,P,G){var M,N,V=0,Z=this.folds,H=!0;P==null&&(P=this.end.row,G=this.end.column);for(var B=0;BG||M[M.length-1].start.row=N);H++);if(P.action=="insert")for(var z=V-N,U=-G.column+M.column;HN);H++)Q.start.row==N&&Q.start.column>=G.column&&(Q.start.column==G.column&&this.$bias<=0||(Q.start.column+=U,Q.start.row+=z)),Q.end.row==N&&Q.end.column>=G.column&&(Q.end.column==G.column&&this.$bias<0||(Q.end.column==G.column&&0Q.start.column&&Q.end.column==Z[H+1].start.column&&(Q.end.column-=U),Q.end.column+=U,Q.end.row+=z));else for(var Q,z=N-V,U=G.column-M.column;HV);H++)Q.end.rowG.column)&&(Q.end.column=G.column,Q.end.row=G.row):(Q.end.column+=U,Q.end.row+=z):Q.end.row>V&&(Q.end.row+=z),Q.start.rowG.column)&&(Q.start.column=G.column,Q.start.row=G.row):(Q.start.column+=U,Q.start.row+=z):Q.start.row>V&&(Q.start.row+=z);if(z!=0&&H=M)return H;if(H.end.row>M)return null}return null},this.getNextFoldLine=function(M,N){var V=this.$foldData,Z=0;for((Z=N?V.indexOf(N):Z)==-1&&(Z=0);Z=M)return H}return null},this.getFoldedRowCount=function(M,N){for(var V=this.$foldData,Z=N-M+1,H=0;HQ)break;while(Z&&B.test(Z.type));Z=z.stepBackward()}else Z=z.getCurrentToken();return H.end.row=z.getCurrentTokenRow(),H.end.column=z.getCurrentTokenColumn(),H}},this.foldAll=function(M,N,V,Z){V==null&&(V=1e5);var H=this.foldWidgets;if(H){N=N||this.getLength();for(var B,z=M=M||0;z=M&&(z=B.end.row,B.collapseChildren=V,this.addFold("...",B))}},this.foldToLevel=function(M){for(this.foldAll();0=M)break}Z--}return{range:Z!==-1&&B,firstRange:z}},this.onFoldWidgetClick=function(M,N){var V={children:(N=N instanceof G?N.domEvent:N).shiftKey,all:N.ctrlKey||N.metaKey,siblings:N.altKey};this.$toggleFoldWidget(M,V)||(M=N.target||N.srcElement)&&/ace_fold-widget/.test(M.className)&&(M.className+=" ace_invalid")},this.$toggleFoldWidget=function(M,N){var V,Z,H,B;if(this.getFoldWidget)return V=this.getFoldWidget(M),Z=this.getLine(M),(Z=this.getFoldAt(M,(V=V==="end"?-1:1)==-1?0:Z.length,V))?(N.children||N.all?this.removeFold(Z):this.expandFold(Z),Z):(V=this.getFoldWidgetRange(M,!0))&&!V.isMultiLine()&&(Z=this.getFoldAt(V.start.row,V.start.column,1))&&V.isEqual(Z.range)?(this.removeFold(Z),Z):(N.siblings?((Z=this.getParentFoldRangeData(M)).range&&(H=Z.range.start.row+1,B=Z.range.end.row),this.foldAll(H,B,N.all?1e4:0)):N.children?(B=V?V.end.row:this.getLength(),this.foldAll(M+1,B,N.all?1e4:0)):V&&(N.all&&(V.collapseChildren=1e4),this.addFold("...",V)),V)},this.toggleFoldWidget=function(M){var N,V=this.selection.getCursor().row;V=this.getRowFoldStart(V),!this.$toggleFoldWidget(V,{})&&(N=(N=this.getParentFoldRangeData(V,!0)).range||N.firstRange)&&(V=N.start.row,(V=this.getFoldAt(V,this.getLine(V).length,1))?this.removeFold(V):this.addFold("...",N))},this.updateFoldWidgets=function(M){var N=M.start.row,V=M.end.row-N;V==0?this.foldWidgets[N]=null:M.action=="remove"?this.foldWidgets.splice(N,1+V,null):((M=Array(1+V)).unshift(N,1),this.foldWidgets.splice.apply(this.foldWidgets,M))},this.tokenizerUpdateFoldWidgets=function(M){M=M.data,M.first!=M.last&&this.foldWidgets.length>M.first&&this.foldWidgets.splice(M.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(I,E,F){var O=I("../token_iterator").TokenIterator,D=I("../range").Range;E.BracketMatch=function(){this.findMatchingBracket=function(x,P){return x.column!=0&&(P=P||this.getLine(x.row).charAt(x.column-1))!=""&&(P=P.match(/([\(\[\{])|([\)\]\}])/))?P[1]?this.$findClosingBracket(P[1],x):this.$findOpeningBracket(P[2],x):null},this.getBracketRange=function(x){var P,G,M=this.getLine(x.row),N=!0,V=M.charAt(x.column-1),Z=V&&V.match(/([\(\[\{])|([\)\]\}])/);if(Z||(V=M.charAt(x.column),x={row:x.row,column:x.column+1},Z=V&&V.match(/([\(\[\{])|([\)\]\}])/),N=!1),!Z)return null;if(Z[1]){if(!(G=this.$findClosingBracket(Z[1],x)))return null;P=D.fromPoints(x,G),N||(P.end.column++,P.start.column--),P.cursor=P.end}else{if(!(G=this.$findOpeningBracket(Z[2],x)))return null;P=D.fromPoints(G,x),N||(P.start.column++,P.end.column--),P.cursor=P.start}return P},this.getMatchingBracketRanges=function(x,P){var G=this.getLine(x.row),M=/([\(\[\{])|([\)\]\}])/,N=!P&&G.charAt(x.column-1),V=N&&N.match(M);return V||(N=(P===void 0||P)&&G.charAt(x.column),x={row:x.row,column:x.column+1},V=N&&N.match(M)),V?(P=new D(x.row,x.column-1,x.row,x.column),(G=V[1]?this.$findClosingBracket(V[1],x):this.$findOpeningBracket(V[2],x))?[P,new D(G.row,G.column,G.row,G.column+1)]:[P]):null},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(x,P,G){var M=this.$brackets[x],N=1,V=new O(this,P.row,P.column),Z=V.getCurrentToken();if(Z=Z||V.stepForward()){G=G||new RegExp("(\\.?"+Z.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+");for(var H=P.column-V.getCurrentTokenColumn()-2,B=Z.value;;){for(;0<=H;){var z=B.charAt(H);if(z==M){if(--N==0)return{row:V.getCurrentTokenRow(),column:H+V.getCurrentTokenColumn()}}else z==x&&(N+=1);--H}for(;(Z=V.stepBackward())&&!G.test(Z.type););if(Z==null)break;H=(B=Z.value).length-1}return null}},this.$findClosingBracket=function(x,P,G){var M=this.$brackets[x],N=1,V=new O(this,P.row,P.column),Z=V.getCurrentToken();if(Z=Z||V.stepForward()){G=G||new RegExp("(\\.?"+Z.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+");for(var H=P.column-V.getCurrentTokenColumn();;){for(var B=Z.value,z=B.length;H"?M=!0:P.type.indexOf("tag-name")!==-1&&(G=!0)),P&&!G;);return P},this.$findClosingTag=function(x,P){var G=P.value,M=P.value,N=0,V=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),Z=(P=x.stepForward(),new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+P.value.length)),H=!1;do{var B,z=P;if(z.type.indexOf("tag-close")===-1||H||(B=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),H=!0),P=x.stepForward())if(P.value!==">"||H||(B=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1),H=!0),P.type.indexOf("tag-name")!==-1){if(M===(G=P.value)){if(z.value==="<")N++;else if(z.value==="")return;var X=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1)}}}else M===G&&P.value==="/>"&&--N<0&&(X=Q=U=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+2),B=new D(Z.end.row,Z.end.column,Z.end.row,Z.end.column+1))}while(P&&0<=N);if(V&&B&&U&&X&&Z&&Q)return{openTag:new D(V.start.row,V.start.column,B.end.row,B.end.column),closeTag:new D(U.start.row,U.start.column,X.end.row,X.end.column),openTagName:Z,closeTagName:Q}},this.$findOpeningTag=function(x,P){var G,M=x.getCurrentToken(),N=P.value,V=0,Z=x.getCurrentTokenRow(),H=x.getCurrentTokenColumn(),B=new D(Z,H,Z,H+2),z=(x.stepForward(),new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+P.value.length));if((P=P.type.indexOf("tag-close")===-1?x.stepForward():P)&&P.value===">"){var U=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1);x.stepBackward(),x.stepBackward();do if(P=M,Z=x.getCurrentTokenRow(),G=(H=x.getCurrentTokenColumn())+P.value.length,M=x.stepBackward(),P){if(P.type.indexOf("tag-name")!==-1){if(N===P.value)if(M.value==="<"){if(0<++V){for(var Q=new D(Z,H,Z,G),X=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1);(P=x.stepForward())&&P.value!==">";);var J=new D(x.getCurrentTokenRow(),x.getCurrentTokenColumn(),x.getCurrentTokenRow(),x.getCurrentTokenColumn()+1)}}else M.value===""){for(var ne=0,te=M;te;){if(te.type.indexOf("tag-name")!==-1&&te.value===N){V--;break}if(te.value==="<")break;te=x.stepBackward(),ne++}for(var ce=0;ce>1,_e=ee[we];if(_eee&&(ee=pe.screenWidth)}),this.lineWidgetWidth=ee)},Q.prototype.$computeWidth=function(ee){if(this.$modified||ee){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var pe=this.doc.getAllLines(),ae=this.$rowLengthCache,ve=0,we=0,_e=this.$foldData[we],Te=_e?_e.start.row:1/0,Ce=pe.length,Ae=0;Aeve&&(ve=ae[Ae])}this.screenWidth=ve}},Q.prototype.getLine=function(ee){return this.doc.getLine(ee)},Q.prototype.getLines=function(ee,pe){return this.doc.getLines(ee,pe)},Q.prototype.getLength=function(){return this.doc.getLength()},Q.prototype.getTextRange=function(ee){return this.doc.getTextRange(ee||this.selection.getRange())},Q.prototype.insert=function(ee,pe){return this.doc.insert(ee,pe)},Q.prototype.remove=function(ee){return this.doc.remove(ee)},Q.prototype.removeFullLines=function(ee,pe){return this.doc.removeFullLines(ee,pe)},Q.prototype.undoChanges=function(ee,pe){if(ee.length){this.$fromUndo=!0;for(var ae=ee.length-1;ae!=-1;ae--){var ve=ee[ae];ve.action=="insert"||ve.action=="remove"?this.doc.revertDelta(ve):ve.folds&&this.addFolds(ve.folds)}!pe&&this.$undoSelect&&(ee.selectionBefore?this.selection.fromJSON(ee.selectionBefore):this.selection.setRange(this.$getUndoSelection(ee,!0))),this.$fromUndo=!1}},Q.prototype.redoChanges=function(ee,pe){if(ee.length){this.$fromUndo=!0;for(var ae=0;aeee.end.column&&(Ae.start.column+=_e),Ae.end.row==ee.end.row)&&Ae.end.column>ee.end.column&&(Ae.end.column+=_e),we&&Ae.start.row>=ee.end.row&&(Ae.start.row+=we,Ae.end.row+=we)),Ae.end=this.insert(Ae.start,Te),Ce.length&&(ve=ee.start,ae=Ae.start,we=ae.row-ve.row,_e=ae.column-ve.column,this.addFolds(Ce.map(function(Ee){return(Ee=Ee.clone()).start.row==ve.row&&(Ee.start.column+=_e),Ee.end.row==ve.row&&(Ee.end.column+=_e),Ee.start.row+=we,Ee.end.row+=we,Ee}))),Ae},Q.prototype.indentRows=function(ee,pe,ae){ae=ae.replace(/\t/g,this.getTabString());for(var ve=ee;ve<=pe;ve++)this.doc.insertInLine({row:ve,column:0},ae)},Q.prototype.outdentRows=function(ee){for(var pe=ee.collapseRows(),ae=new V(0,0,0,0),ve=this.getTabSize(),we=pe.start.row;we<=pe.end.row;++we){var _e=this.getLine(we);ae.start.row=we,ae.end.row=we;for(var Te=0;Tethis.doc.getLength()-1)return 0;ve=we-pe}else ee=this.$clipRowToDocument(ee),ve=(pe=this.$clipRowToDocument(pe))-ee+1;var we=new V(ee,0,pe,Number.MAX_VALUE),we=this.getFoldsInRange(we).map(function(Te){return(Te=Te.clone()).start.row+=ve,Te.end.row+=ve,Te}),_e=_e==0?this.doc.getLines(ee,pe):this.doc.removeFullLines(ee,pe);return this.doc.insertFullLines(ee+ve,_e),we.length&&this.addFolds(we),ve},Q.prototype.moveLinesUp=function(ee,pe){return this.$moveLines(ee,pe,-1)},Q.prototype.moveLinesDown=function(ee,pe){return this.$moveLines(ee,pe,1)},Q.prototype.duplicateLines=function(ee,pe){return this.$moveLines(ee,pe,0)},Q.prototype.$clipRowToDocument=function(ee){return Math.max(0,Math.min(ee,this.doc.getLength()-1))},Q.prototype.$clipColumnToRow=function(ee,pe){return pe<0?0:Math.min(this.doc.getLine(ee).length,pe)},Q.prototype.$clipPositionToDocument=function(ee,pe){var ae;return pe=Math.max(0,pe),pe=ee<0?ee=0:(ae=this.doc.getLength())<=ee?this.doc.getLine(ee=ae-1).length:Math.min(this.doc.getLine(ee).length,pe),{row:ee,column:pe}},Q.prototype.$clipRangeToDocument=function(ee){ee.start.row<0?(ee.start.row=0,ee.start.column=0):ee.start.column=this.$clipColumnToRow(ee.start.row,ee.start.column);var pe=this.doc.getLength()-1;return ee.end.row>pe?(ee.end.row=pe,ee.end.column=this.doc.getLine(pe).length):ee.end.column=this.$clipColumnToRow(ee.end.row,ee.end.column),ee},Q.prototype.setUseWrapMode=function(ee){ee!=this.$useWrapMode&&(this.$useWrapMode=ee,this.$modified=!0,this.$resetRowCache(0),ee&&(ee=this.getLength(),this.$wrapData=Array(ee),this.$updateWrapData(0,ee-1)),this._signal("changeWrapMode"))},Q.prototype.getUseWrapMode=function(){return this.$useWrapMode},Q.prototype.setWrapLimitRange=function(ee,pe){this.$wrapLimitRange.min===ee&&this.$wrapLimitRange.max===pe||(this.$wrapLimitRange={min:ee,max:pe},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},Q.prototype.adjustWrapLimit=function(ee,ve){var ae=this.$wrapLimitRange,ve=(ae.max<0&&(ae={min:ve,max:ve}),this.$constrainWrapLimit(ee,ae.min,ae.max));return ve!=this.$wrapLimit&&1=we.row&&be.shiftRow(-Ce);Te=_e}else{var re=Array(Ce),ue=(re.unshift(_e,0),pe?this.$wrapData:this.$rowLengthCache),Ee=(ue.splice.apply(ue,re),this.$foldData),le=0;for((be=this.getFoldLine(_e))&&((ue=be.range.compareInside(ve.row,ve.column))==0?(be=be.split(ve.row,ve.column))&&(be.shiftRow(Ce),be.addRemoveChars(Te,0,we.column-ve.column)):ue==-1&&(be.addRemoveChars(_e,0,we.column-ve.column),be.shiftRow(Ce)),le=Ee.indexOf(be)+1);le=_e&&be.shiftRow(Ce)}else{var be,Ce=Math.abs(ee.start.column-ee.end.column);ae==="remove"&&(Ae=this.getFoldsInRange(ee),this.removeFolds(Ae),Ce=-Ce),(be=this.getFoldLine(_e))&&be.addRemoveChars(_e,ve.column,Ce)}return pe&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,pe?this.$updateWrapData(_e,Te):this.$updateRowLengthCache(_e,Te),Ae},Q.prototype.$updateRowLengthCache=function(ee,pe){this.$rowLengthCache[ee]=null,this.$rowLengthCache[pe]=null},Q.prototype.$updateWrapData=function(ee,pe){var ae,ve,we=this.doc.getAllLines(),_e=this.getTabSize(),Te=this.$wrapData,Ce=this.$wrapLimit,Ae=ee;for(pe=Math.min(pe,we.length-1);Ae<=pe;)(ve=this.getFoldLine(Ae,ve))?(ae=[],ve.walk(function(Ee,le,re,ue){var be;if(Ee!=null){(be=this.$getDisplayTokens(Ee,ae.length))[0]=ne;for(var ie=1;ie=se&&ee[ue]>=se)le(ue);else if(ee[ue]==ne||ee[ue]==te){for(;ue!=_e-1&&ee[ue]!=ne;ue--);if(!(_e>2)),_e-1);bele[ue-1]):!ue,this.getLength()-1),ie=this.getNextFoldLine(Te),oe=ie?ie.start.row:1/0;Ae<=ee&&!(eeTe[Ce-1]):!Ce,this.getNextFoldLine(_e)),Ee=Ae?Ae.start.row:1/0;_e=be[ie];)ae++,ie++;le=le.substring(be[ie-1]||0,le.length),ue=0J||(Y.push(B=new x(Q,J,Q+z-1,ne)),2he&&Y[X].end.row==ye;)X--;for(Y=Y.slice(te,X+1),te=0,X=Y.length;teJ||(Z.push(B=new x(Q,J,Q+z-1,ne)),2he&&Z[X].end.row==ye;)X--;for(Z=Z.slice(te,X+1),te=0,X=Z.length;teG.getLength())){var ge=G.getLine(se),ne=ge.search(J[0]);if(!(!N&&ne=ge.length)break;J.lastIndex=ee+=O.skipEmptyMatch(ge,ee,Y)}if(se.index+ye>te)break;he.push(se.index,ye)}for(var pe=he.length-1;0<=pe;pe-=2){var ae=he[pe-1];if(ce(ne,ae,ne,ae+(ye=he[pe])))return!0}}:function(ne,te,ce){var se=G.getLine(ne);for(J.lastIndex=te;ge=J.exec(se);){var ge,he=ge[0].length;if(ce(ne,ge=ge.index,ne,ge+he))return!0;if(!he&&(J.lastIndex=ge+=O.skipEmptyMatch(se,ge,Y),ge>=se.length))return!1}},{forEach:N?function(ne){var te=B.row;if(!X(te,B.column,ne)){for(te--;z<=te;te--)if(X(te,Number.MAX_VALUE,ne))return;if(M.wrap!=0){for(te=U,z=B.row;z<=te;te--)if(X(te,Number.MAX_VALUE,ne))return}}}:function(ne){var te=B.row;if(!X(te,B.column,ne)){for(te+=1;te<=U;te++)if(X(te,0,ne))return;if(M.wrap!=0){for(te=z,U=B.row;te<=U;te++)if(X(te,0,ne))return}}}})},E.Search=P}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(H,E,F){var O,D=this&&this.__extends||(O=function(z,U){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(Q,X){Q.__proto__=X}:function(Q,X){for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(Q[J]=X[J])}))(z,U)},function(z,U){if(typeof U!="function"&&U!==null)throw new TypeError("Class extends value "+String(U)+" is not a constructor or null");function Q(){this.constructor=z}O(z,U),z.prototype=U===null?Object.create(U):(Q.prototype=U.prototype,new Q)}),x=H("../lib/keys"),P=H("../lib/useragent"),G=x.KEY_MODS,M=(N.prototype.$init=function(z,U,Q){this.platform=U||(P.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(z),this.$singleCommand=Q},N.prototype.addCommand=function(z){this.commands[z.name]&&this.removeCommand(z),(this.commands[z.name]=z).bindKey&&this._buildKeyHash(z)},N.prototype.removeCommand=function(z,U){var Q,X=z&&(typeof z=="string"?z:z.name),J=(z=this.commands[X],U||delete this.commands[X],this.commandKeyBinding);for(Q in J){var ne,te=J[Q];te==z?delete J[Q]:Array.isArray(te)&&(ne=te.indexOf(z))!=-1&&(te.splice(ne,1),te.length==1)&&(J[Q]=te[0])}},N.prototype.bindKey=function(z,U,Q){if(typeof z=="object"&&z&&(Q==null&&(Q=z.position),z=z[this.platform]),z)return typeof U=="function"?this.addCommand({exec:U,bindKey:z,name:U.name||z}):void z.split("|").forEach(function(te){var J="",ne=(te.indexOf(" ")!=-1&&(te=(ne=te.split(/\s+/)).pop(),ne.forEach(function(ce){ce=this.parseKeys(ce),ce=G[ce.hashId]+ce.key,J+=(J?" ":"")+ce,this._addCommandToBinding(J,"chainKeys")},this),J+=" "),this.parseKeys(te)),te=G[ne.hashId]+ne.key;this._addCommandToBinding(J+te,U,Q)},this)},N.prototype._addCommandToBinding=function(z,U,Q){var X=this.commandKeyBinding;if(U)if(!X[z]||this.$singleCommand)X[z]=U;else{Array.isArray(X[z])?(ne=X[z].indexOf(U))!=-1&&X[z].splice(ne,1):X[z]=[X[z]],typeof Q!="number"&&(Q=V(U));for(var J=X[z],ne=0;neY?Y+1:Y,M.selection.moveCursorTo(N.row,Y))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:P(null,null),exec:function(M){var N=M.session.doc.getLength()-1,V=M.session.doc.getLine(N).length,Y=M.selection.rangeList.ranges,H=[];Y.length<1&&(Y=[M.selection.getRange()]);for(var B=0;BG.getLength())){var ge=G.getLine(se),ne=ge.search(J[0]);if(!(!N&&ne=ge.length)break;J.lastIndex=ee+=O.skipEmptyMatch(ge,ee,Z)}if(se.index+ye>te)break;he.push(se.index,ye)}for(var pe=he.length-1;0<=pe;pe-=2){var ae=he[pe-1];if(ce(ne,ae,ne,ae+(ye=he[pe])))return!0}}:function(ne,te,ce){var se=G.getLine(ne);for(J.lastIndex=te;ge=J.exec(se);){var ge,he=ge[0].length;if(ce(ne,ge=ge.index,ne,ge+he))return!0;if(!he&&(J.lastIndex=ge+=O.skipEmptyMatch(se,ge,Z),ge>=se.length))return!1}},{forEach:N?function(ne){var te=B.row;if(!X(te,B.column,ne)){for(te--;z<=te;te--)if(X(te,Number.MAX_VALUE,ne))return;if(M.wrap!=0){for(te=U,z=B.row;z<=te;te--)if(X(te,Number.MAX_VALUE,ne))return}}}:function(ne){var te=B.row;if(!X(te,B.column,ne)){for(te+=1;te<=U;te++)if(X(te,0,ne))return;if(M.wrap!=0){for(te=z,U=B.row;te<=U;te++)if(X(te,0,ne))return}}}})},E.Search=P}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(H,E,F){var O,D=this&&this.__extends||(O=function(z,U){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(Q,X){Q.__proto__=X}:function(Q,X){for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(Q[J]=X[J])}))(z,U)},function(z,U){if(typeof U!="function"&&U!==null)throw new TypeError("Class extends value "+String(U)+" is not a constructor or null");function Q(){this.constructor=z}O(z,U),z.prototype=U===null?Object.create(U):(Q.prototype=U.prototype,new Q)}),x=H("../lib/keys"),P=H("../lib/useragent"),G=x.KEY_MODS,M=(N.prototype.$init=function(z,U,Q){this.platform=U||(P.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(z),this.$singleCommand=Q},N.prototype.addCommand=function(z){this.commands[z.name]&&this.removeCommand(z),(this.commands[z.name]=z).bindKey&&this._buildKeyHash(z)},N.prototype.removeCommand=function(z,U){var Q,X=z&&(typeof z=="string"?z:z.name),J=(z=this.commands[X],U||delete this.commands[X],this.commandKeyBinding);for(Q in J){var ne,te=J[Q];te==z?delete J[Q]:Array.isArray(te)&&(ne=te.indexOf(z))!=-1&&(te.splice(ne,1),te.length==1)&&(J[Q]=te[0])}},N.prototype.bindKey=function(z,U,Q){if(typeof z=="object"&&z&&(Q==null&&(Q=z.position),z=z[this.platform]),z)return typeof U=="function"?this.addCommand({exec:U,bindKey:z,name:U.name||z}):void z.split("|").forEach(function(te){var J="",ne=(te.indexOf(" ")!=-1&&(te=(ne=te.split(/\s+/)).pop(),ne.forEach(function(ce){ce=this.parseKeys(ce),ce=G[ce.hashId]+ce.key,J+=(J?" ":"")+ce,this._addCommandToBinding(J,"chainKeys")},this),J+=" "),this.parseKeys(te)),te=G[ne.hashId]+ne.key;this._addCommandToBinding(J+te,U,Q)},this)},N.prototype._addCommandToBinding=function(z,U,Q){var X=this.commandKeyBinding;if(U)if(!X[z]||this.$singleCommand)X[z]=U;else{Array.isArray(X[z])?(ne=X[z].indexOf(U))!=-1&&X[z].splice(ne,1):X[z]=[X[z]],typeof Q!="number"&&(Q=V(U));for(var J=X[z],ne=0;neZ?Z+1:Z,M.selection.moveCursorTo(N.row,Z))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:P(null,null),exec:function(M){var N=M.session.doc.getLength()-1,V=M.session.doc.getLine(N).length,Z=M.selection.rangeList.ranges,H=[];Z.length<1&&(Z=[M.selection.getRange()]);for(var B=0;BN[P].column&&P++,M.unshift(P,0),N.splice.apply(N,M)),this.$updateRows())},D.prototype.$updateRows=function(){var x,P=this.session.lineWidgets;P&&(x=!0,P.forEach(function(G,M){if(G)for(x=!1,G.row=M;G.$oldWidget;)G.$oldWidget.row=M,G=G.$oldWidget}),x)&&(this.session.lineWidgets=null)},D.prototype.$registerLineWidget=function(x){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var P=this.session.lineWidgets[x.row];return P&&(x.$oldWidget=P).el&&P.el.parentNode&&(P.el.parentNode.removeChild(P.el),P._inDocument=!1),this.session.lineWidgets[x.row]=x},D.prototype.addLineWidget=function(x){var P,G,M;return this.$registerLineWidget(x),x.session=this.session,this.editor&&(P=this.editor.renderer,x.html&&!x.el&&(x.el=O.createElement("div"),x.el.innerHTML=x.html),x.text&&!x.el&&(x.el=O.createElement("div"),x.el.textContent=x.text),x.el&&(O.addCssClass(x.el,"ace_lineWidgetContainer"),x.className&&O.addCssClass(x.el,x.className),x.el.style.position="absolute",x.el.style.zIndex="5",P.container.appendChild(x.el),x._inDocument=!0,x.coverGutter||(x.el.style.zIndex="3"),x.pixelHeight==null)&&(x.pixelHeight=x.el.offsetHeight),x.rowCount==null&&(x.rowCount=x.pixelHeight/P.layerConfig.lineHeight),G=this.session.getFoldAt(x.row,0),(x.$fold=G)&&(M=this.session.lineWidgets,x.row!=G.end.row||M[G.start.row]?x.hidden=!0:M[G.start.row]=x),this.session._emit("changeFold",{data:{start:{row:x.row}}}),this.$updateRows(),this.renderWidgets(null,P),this.onWidgetChanged(x)),x},D.prototype.removeLineWidget=function(x){if(x._inDocument=!1,x.session=null,x.el&&x.el.parentNode&&x.el.parentNode.removeChild(x.el),x.editor&&x.editor.destroy)try{x.editor.destroy()}catch(G){}if(this.session.lineWidgets){var P=this.session.lineWidgets[x.row];if(P==x)this.session.lineWidgets[x.row]=x.$oldWidget,x.$oldWidget&&this.onWidgetChanged(x.$oldWidget);else for(;P;){if(P.$oldWidget==x){P.$oldWidget=x.$oldWidget;break}P=P.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:x.row}}}),this.$updateRows()},D.prototype.getWidgetsAtRow=function(x){for(var P=this.session.lineWidgets,G=P&&P[x],M=[];G;)M.push(G),G=G.$oldWidget;return M},D.prototype.onWidgetChanged=function(x){this.session._changedWidgets.push(x),this.editor&&this.editor.renderer.updateFull()},D.prototype.measureWidgets=function(x,P){var G=this.session._changedWidgets,M=P.layerConfig;if(G&&G.length){for(var N=1/0,V=0;V=ae.length?void 0:ae)&&ae[_e++],done:!ae}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")},D=ye("./lib/oop"),x=ye("./lib/dom"),P=ye("./lib/lang"),G=ye("./lib/useragent"),M=ye("./keyboard/textinput").TextInput,N=ye("./mouse/mouse_handler").MouseHandler,V=ye("./mouse/fold_handler").FoldHandler,Y=ye("./keyboard/keybinding").KeyBinding,H=ye("./edit_session").EditSession,B=ye("./search").Search,z=ye("./range").Range,U=ye("./lib/event_emitter").EventEmitter,Q=ye("./commands/command_manager").CommandManager,X=ye("./commands/default_commands").commands,J=ye("./config"),ne=ye("./token_iterator").TokenIterator,te=ye("./line_widgets").LineWidgets,ce=ye("./keyboard/gutter_handler").GutterKeyboardHandler,se=ye("./config").nls,ge=ye("./clipboard"),he=ye("./lib/keys"),ye=(ee.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=P.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},ee.prototype.startOperation=function(ae){if(this.curOp){if(!ae||this.curOp.command)return;this.prevOp=this.curOp}ae||(this.previousCommand=null,ae={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:ae.command||{},args:ae.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},ee.prototype.endOperation=function(ae){if(this.curOp&&this.session){if(ae&&ae.returnValue===!1||!this.session)return this.curOp=null;if((ae!=1||!this.curOp.command||this.curOp.command.name!="mouse")&&(this._signal("beforeEndOperation"),this.curOp)){var ae=this.curOp.command,ve=ae&&ae.scrollIntoView;if(ve){switch(ve){case"center-animate":ve="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var we=this.selection.getRange(),_e=this.renderer.layerConfig;(we.start.row>=_e.lastRow||we.end.row<=_e.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}ve=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}ae=this.selection.toJSON(),this.curOp.selectionAfter=ae,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(ae),this.prevOp=this.curOp,this.curOp=null}}},ee.prototype.$historyTracker=function(ae){var ve,we,_e,Te;this.$mergeUndoDeltas&&(ve=this.prevOp,we=this.$mergeableCommands,_e=ve.command&&ae.command.name==ve.command.name,ae.command.name=="insertstring"?(Te=ae.args,this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),_e=_e&&this.mergeNextCommand&&(!/\s/.test(Te)||/\s/.test(ve.args)),this.mergeNextCommand=!0):_e=_e&&we.indexOf(ae.command.name)!==-1,(_e=this.$mergeUndoDeltas!="always"&&2e3N[P].column&&P++,M.unshift(P,0),N.splice.apply(N,M)),this.$updateRows())},D.prototype.$updateRows=function(){var x,P=this.session.lineWidgets;P&&(x=!0,P.forEach(function(G,M){if(G)for(x=!1,G.row=M;G.$oldWidget;)G.$oldWidget.row=M,G=G.$oldWidget}),x)&&(this.session.lineWidgets=null)},D.prototype.$registerLineWidget=function(x){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var P=this.session.lineWidgets[x.row];return P&&(x.$oldWidget=P).el&&P.el.parentNode&&(P.el.parentNode.removeChild(P.el),P._inDocument=!1),this.session.lineWidgets[x.row]=x},D.prototype.addLineWidget=function(x){var P,G,M;return this.$registerLineWidget(x),x.session=this.session,this.editor&&(P=this.editor.renderer,x.html&&!x.el&&(x.el=O.createElement("div"),x.el.innerHTML=x.html),x.text&&!x.el&&(x.el=O.createElement("div"),x.el.textContent=x.text),x.el&&(O.addCssClass(x.el,"ace_lineWidgetContainer"),x.className&&O.addCssClass(x.el,x.className),x.el.style.position="absolute",x.el.style.zIndex="5",P.container.appendChild(x.el),x._inDocument=!0,x.coverGutter||(x.el.style.zIndex="3"),x.pixelHeight==null)&&(x.pixelHeight=x.el.offsetHeight),x.rowCount==null&&(x.rowCount=x.pixelHeight/P.layerConfig.lineHeight),G=this.session.getFoldAt(x.row,0),(x.$fold=G)&&(M=this.session.lineWidgets,x.row!=G.end.row||M[G.start.row]?x.hidden=!0:M[G.start.row]=x),this.session._emit("changeFold",{data:{start:{row:x.row}}}),this.$updateRows(),this.renderWidgets(null,P),this.onWidgetChanged(x)),x},D.prototype.removeLineWidget=function(x){if(x._inDocument=!1,x.session=null,x.el&&x.el.parentNode&&x.el.parentNode.removeChild(x.el),x.editor&&x.editor.destroy)try{x.editor.destroy()}catch(G){}if(this.session.lineWidgets){var P=this.session.lineWidgets[x.row];if(P==x)this.session.lineWidgets[x.row]=x.$oldWidget,x.$oldWidget&&this.onWidgetChanged(x.$oldWidget);else for(;P;){if(P.$oldWidget==x){P.$oldWidget=x.$oldWidget;break}P=P.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:x.row}}}),this.$updateRows()},D.prototype.getWidgetsAtRow=function(x){for(var P=this.session.lineWidgets,G=P&&P[x],M=[];G;)M.push(G),G=G.$oldWidget;return M},D.prototype.onWidgetChanged=function(x){this.session._changedWidgets.push(x),this.editor&&this.editor.renderer.updateFull()},D.prototype.measureWidgets=function(x,P){var G=this.session._changedWidgets,M=P.layerConfig;if(G&&G.length){for(var N=1/0,V=0;V=ae.length?void 0:ae)&&ae[_e++],done:!ae}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")},D=ye("./lib/oop"),x=ye("./lib/dom"),P=ye("./lib/lang"),G=ye("./lib/useragent"),M=ye("./keyboard/textinput").TextInput,N=ye("./mouse/mouse_handler").MouseHandler,V=ye("./mouse/fold_handler").FoldHandler,Z=ye("./keyboard/keybinding").KeyBinding,H=ye("./edit_session").EditSession,B=ye("./search").Search,z=ye("./range").Range,U=ye("./lib/event_emitter").EventEmitter,Q=ye("./commands/command_manager").CommandManager,X=ye("./commands/default_commands").commands,J=ye("./config"),ne=ye("./token_iterator").TokenIterator,te=ye("./line_widgets").LineWidgets,ce=ye("./keyboard/gutter_handler").GutterKeyboardHandler,se=ye("./config").nls,ge=ye("./clipboard"),he=ye("./lib/keys"),ye=(ee.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=P.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},ee.prototype.startOperation=function(ae){if(this.curOp){if(!ae||this.curOp.command)return;this.prevOp=this.curOp}ae||(this.previousCommand=null,ae={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:ae.command||{},args:ae.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},ee.prototype.endOperation=function(ae){if(this.curOp&&this.session){if(ae&&ae.returnValue===!1||!this.session)return this.curOp=null;if((ae!=1||!this.curOp.command||this.curOp.command.name!="mouse")&&(this._signal("beforeEndOperation"),this.curOp)){var ae=this.curOp.command,ve=ae&&ae.scrollIntoView;if(ve){switch(ve){case"center-animate":ve="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var we=this.selection.getRange(),_e=this.renderer.layerConfig;(we.start.row>=_e.lastRow||we.end.row<=_e.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}ve=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}ae=this.selection.toJSON(),this.curOp.selectionAfter=ae,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(ae),this.prevOp=this.curOp,this.curOp=null}}},ee.prototype.$historyTracker=function(ae){var ve,we,_e,Te;this.$mergeUndoDeltas&&(ve=this.prevOp,we=this.$mergeableCommands,_e=ve.command&&ae.command.name==ve.command.name,ae.command.name=="insertstring"?(Te=ae.args,this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),_e=_e&&this.mergeNextCommand&&(!/\s/.test(Te)||/\s/.test(ve.args)),this.mergeNextCommand=!0):_e=_e&&we.indexOf(ae.command.name)!==-1,(_e=this.$mergeUndoDeltas!="always"&&2e3le.search(/\S|$/)&&(Ee=le.substr(Ce.column).search(/\S|$/),_e.doc.removeInLine(Ce.row,Ce.column,Ce.column+Ee))),this.clearSelection(),Ce.column),Ee=_e.getState(Ce.row),le=_e.getLine(Ce.row),re=Te.checkOutdent(Ee,le,ae);_e.insert(Ce,ae),we&&we.selection&&(we.selection.length==2?this.selection.setSelectionRange(new z(Ce.row,Ae+we.selection[0],Ce.row,Ae+we.selection[1])):this.selection.setSelectionRange(new z(Ce.row+we.selection[0],we.selection[1],Ce.row+we.selection[2],we.selection[3]))),this.$enableAutoIndent&&(_e.getDocument().isNewLine(ae)&&(Ae=Te.getNextLineIndent(Ee,le.slice(0,Ce.column),_e.getTabString()),_e.insert({row:Ce.row+1,column:0},Ae)),re)&&Te.autoOutdent(Ee,_e,Ce.row)},ee.prototype.autoIndent=function(){for(var ae=this.session,ve=ae.getMode(),we=this.selection.isEmpty()?[new z(0,0,ae.doc.getLength()-1,0)]:this.selection.getAllRanges(),_e="",Te="",Ce=ae.getTabString(),Ae=0;AeEe.toLowerCase()?1:0});for(var Te=new z(0,0,0,0),_e=ae.first;_e<=ae.last;_e++){var Ce=ve.getLine(_e);Te.start.row=_e,Te.end.row=_e,Te.end.column=Ce.length,ve.replace(Te,we[_e-ae.first])}},ee.prototype.toggleCommentLines=function(){var ae=this.session.getState(this.getCursorPosition().row),ve=this.$getSelectedRows();this.session.getMode().toggleCommentLines(ae,this.session,ve.first,ve.last)},ee.prototype.toggleBlockComment=function(){var ae=this.getCursorPosition(),ve=this.session.getState(ae.row),we=this.getSelectionRange();this.session.getMode().toggleBlockComment(ve,this.session,we,ae)},ee.prototype.getNumberAt=function(ae,ve){for(var we=/[\-]?[0-9]+(?:\.[0-9]+)?/g,_e=(we.lastIndex=0,this.session.getLine(ae));we.lastIndex=ve)return{value:Te[0],start:Te.index,end:Te.index+Te[0].length}}return null},ee.prototype.modifyNumber=function(ae){var ve,we,_e,Te=this.selection.getCursor().row,Ce=this.selection.getCursor().column,Ae=new z(Te,Ce-1,Te,Ce),Ae=this.session.getTextRange(Ae);!isNaN(parseFloat(Ae))&&isFinite(Ae)?(Ae=this.getNumberAt(Te,Ce))&&(_e=0<=Ae.value.indexOf(".")?Ae.start+Ae.value.indexOf(".")+1:Ae.end,ve=Ae.start+Ae.value.length-_e,we=parseFloat(Ae.value),we*=Math.pow(10,ve),_e!==Ae.end&&Ce<_e?ae*=Math.pow(10,Ae.end-Ce-1):ae*=Math.pow(10,Ae.end-Ce),_e=(we=(we+=ae)/Math.pow(10,ve)).toFixed(ve),ae=new z(Te,Ae.start,Te,Ae.end),this.session.replace(ae,_e),this.moveCursorTo(Te,Math.max(Ae.start+1,Ce+_e.length-Ae.value.length))):this.toggleWord()},ee.prototype.toggleWord=function(){for(var ae,ve=this.selection.getCursor().row,we=this.selection.getCursor().column,_e=(this.selection.selectWord(),this.getSelectedText()),Te=this.selection.getWordRange().start.column,Ce=_e.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),Ae=we-Te-1,Ee=(Ae<0&&(Ae=0),0),le=this,re=(_e.match(/[A-Za-z0-9_]+/)&&Ce.forEach(function(Se,xe){ae=Ee+Se.length,Ee<=Ae&&Ae<=ae&&(_e=Se,le.selection.clearSelection(),le.moveCursorTo(ve,Ee+Te),le.selection.selectTo(ve,ae+Te)),Ee=ae}),this.$toggleWordPairs),ue=0;ueoe+1)break;oe=me.last}for(ue--,Ee=this.session.$moveLines(ie,oe,ve?0:ae),ve&&ae==-1&&(be=ue+1);be<=ue;)Ae[be].moveBy(Ee,0),be++;le+=Ee=ve?Ee:0}we.fromOrientedRange(we.ranges[0]),we.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},ee.prototype.$getSelectedRows=function(ae){return ae=(ae||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(ae.start.row),last:this.session.getRowFoldEnd(ae.end.row)}},ee.prototype.onCompositionStart=function(ae){this.renderer.showComposition(ae)},ee.prototype.onCompositionUpdate=function(ae){this.renderer.setCompositionText(ae)},ee.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},ee.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},ee.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},ee.prototype.isRowVisible=function(ae){return ae>=this.getFirstVisibleRow()&&ae<=this.getLastVisibleRow()},ee.prototype.isRowFullyVisible=function(ae){return ae>=this.renderer.getFirstFullyVisibleRow()&&ae<=this.renderer.getLastFullyVisibleRow()},ee.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},ee.prototype.$moveByPage=function(Ce,ve){var we=this.renderer,_e=this.renderer.layerConfig,Te=Ce*Math.floor(_e.height/_e.lineHeight),Ce=(ve===!0?this.selection.$moveSelection(function(){this.moveCursorBy(Te,0)}):ve===!1&&(this.selection.moveCursorBy(Te,0),this.selection.clearSelection()),we.scrollTop);we.scrollBy(0,Te*_e.lineHeight),ve!=null&&we.scrollCursorIntoView(null,.5),we.animateScrolling(Ce)},ee.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},ee.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},ee.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},ee.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},ee.prototype.scrollPageDown=function(){this.$moveByPage(1)},ee.prototype.scrollPageUp=function(){this.$moveByPage(-1)},ee.prototype.scrollToRow=function(ae){this.renderer.scrollToRow(ae)},ee.prototype.scrollToLine=function(ae,ve,we,_e){this.renderer.scrollToLine(ae,ve,we,_e)},ee.prototype.centerSelection=function(){var ae=this.getSelectionRange(),ae={row:Math.floor(ae.start.row+(ae.end.row-ae.start.row)/2),column:Math.floor(ae.start.column+(ae.end.column-ae.start.column)/2)};this.renderer.alignCursor(ae,.5)},ee.prototype.getCursorPosition=function(){return this.selection.getCursor()},ee.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},ee.prototype.getSelectionRange=function(){return this.selection.getRange()},ee.prototype.selectAll=function(){this.selection.selectAll()},ee.prototype.clearSelection=function(){this.selection.clearSelection()},ee.prototype.moveCursorTo=function(ae,ve){this.selection.moveCursorTo(ae,ve)},ee.prototype.moveCursorToPosition=function(ae){this.selection.moveCursorToPosition(ae)},ee.prototype.jumpToMatching=function(ae,ve){var we=this.getCursorPosition(),_e=new ne(this.session,we.row,we.column),Te=_e.getCurrentToken(),Ce=0,Ae=(Te=Te&&Te.type.indexOf("tag-name")!==-1?_e.stepBackward():Te)||_e.stepForward();if(Ae){var Ee,le,re=!1,ue={},be=we.column-Ae.start,ie={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do if(Ae.value.match(/[{}()\[\]]/g)){for(;bewindow.innerHeight)&&null)!=null&&(Te.style.top=ue+"px",Te.style.left=le.left+"px",Te.style.height=re.lineHeight+"px",Te.scrollIntoView(_e)),_e=ve=null)}),this.setAutoScrollEditorIntoView=function(le){le||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",Ce),this.renderer.off("afterRender",Ee),this.renderer.off("beforeRender",Ae))})},ee.prototype.$resetCursorStyle=function(){var ae=this.$cursorStyle||"ace",ve=this.renderer.$cursorLayer;ve&&(ve.setSmoothBlinking(/smooth/.test(ae)),ve.isBlinking=!this.$readOnly&&ae!="wide",x.setCssClass(ve.element,"ace_slim-cursors",/slim/.test(ae)))},ee.prototype.prompt=function(ae,ve,we){var _e=this;J.loadModule("ace/ext/prompt",function(Te){Te.prompt(_e,ae,ve,we)})},ee);function ee(ae,ve,we){this.session,this.$toDestroy=[];var _e=ae.getContainerElement();this.container=_e,this.renderer=ae,this.id="editor"+ ++ee.$uid,this.commands=new Q(G.isMac?"mac":"win",X),typeof document=="object"&&(this.textInput=new M(ae.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new N(this),new V(this)),this.keyBinding=new Y(this),this.$search=new B().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=P.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(Te,Ce){Ce._$emitInputEvent.schedule(31)}),this.setSession(ve||we&&we.session||new H("")),J.resetOptions(this),we&&this.setOptions(we),J._signal("editor",this)}ye.$uid=0,ye.prototype.curOp=null,ye.prototype.prevOp={},ye.prototype.$mergeableCommands=["backspace","del","insertstring"],ye.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],D.implement(ye.prototype,U),J.defineOptions(ye.prototype,"editor",{selectionStyle:{set:function(ae){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:ae})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(ae){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(ae){this.textInput.setReadOnly(ae),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(ae){this.textInput.setCopyWithEmptySelection(ae)},initialValue:!1},cursorStyle:{set:function(ae){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(ae){this.setAutoScrollEditorIntoView(ae)}},keyboardHandler:{set:function(ae){this.setKeyboardHandler(ae)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(ae){this.session.setValue(ae)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(ae){this.setSession(ae)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(ae){this.renderer.$gutterLayer.setShowLineNumbers(ae),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),ae&&this.$relativeLineNumbers?pe.attach(this):pe.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(ae){this.$showLineNumbers&&ae?pe.attach(this):pe.detach(this)}},placeholder:{set:function(ae){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var ve=this.session&&(this.renderer.$composition||1ne+1;)this.$lines.pop();break}(J=this.$lines.get(++ne))?J.row=te:(J=this.$lines.createCell(te,H,this.session,Y),this.$lines.push(J)),this.$renderCell(J,H,Q,te),te++}this._signal("afterRender"),this.$updateGutterWidth(H)},V.prototype.$updateGutterWidth=function(H){var B=this.session,Q=B.gutterRenderer||this.$renderer,U=B.$firstLineNumber,z=this.$lines.last()?this.$lines.last().text:"",U=((this.$fixedWidth||B.$useWrapMode)&&(z=B.getLength()+U-1),Q?Q.getWidth(B,z,H):z.toString().length*H.characterWidth),Q=this.$padding||this.$computePadding();(U+=Q.left+Q.right)===this.gutterWidth||isNaN(U)||(this.gutterWidth=U,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",U))},V.prototype.$updateCursorRow=function(){var H;this.$highlightGutterLine&&(H=this.session.selection.getCursor(),this.$cursorRow!==H.row)&&(this.$cursorRow=H.row)},V.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var H=this.session.selection.cursor.row;if(this.$cursorRow=H,!this.$cursorCell||this.$cursorCell.row!=H){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var B=this.$lines.cells;this.$cursorCell=null;for(var z=0;z=this.$cursorRow){if(U.row>this.$cursorRow){var Q=this.session.getFoldLine(this.$cursorRow);if(!(0z.right-B.right?"foldWidgets":void 0},V);function V(H){this.element=O.createElement("div"),this.element.className="ace_layer ace_gutter-layer",H.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new G(this.element),this.$lines.$offsetCoefficient=1}function Y(H){var B=document.createTextNode(""),B=(H.appendChild(B),O.createElement("span")),B=(H.appendChild(B),O.createElement("span")),z=(H.appendChild(B),O.createElement("span"));return B.appendChild(z),H}N.prototype.$fixedWidth=!1,N.prototype.$highlightGutterLine=!0,N.prototype.$renderer="",N.prototype.$showLineNumbers=!0,N.prototype.$showFoldWidgets=!0,D.implement(N.prototype,P),E.Gutter=N}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(x,E,F){var O=x("../range").Range,D=x("../lib/dom"),x=(P.prototype.setPadding=function(G){this.$padding=G},P.prototype.setSession=function(G){this.session=G},P.prototype.setMarkers=function(G){this.markers=G},P.prototype.elt=function(G,M){var N=this.i!=-1&&this.element.childNodes[this.i];N?this.i++:(N=document.createElement("div"),this.element.appendChild(N),this.i=-1),N.style.cssText=M,N.className=G},P.prototype.update=function(G){if(G){var M,N;for(N in this.config=G,this.i=0,this.markers){var V,Y,H,B=this.markers[N];B.range?(H=B.range.clipRows(G.firstRow,G.lastRow)).isEmpty()||(H=H.toScreenRange(this.session),B.renderer?(V=this.$getTop(H.start.row,G),Y=this.$padding+H.start.column*G.characterWidth,B.renderer(M,H,Y,V,G)):B.type=="fullLine"?this.drawFullLineMarker(M,H,B.clazz,G):B.type=="screenLine"?this.drawScreenLineMarker(M,H,B.clazz,G):H.isMultiLine()?B.type=="text"?this.drawTextMarker(M,H,B.clazz,G):this.drawMultiLineMarker(M,H,B.clazz,G):this.drawSingleLineMarker(M,H,B.clazz+" ace_start ace_br15",G)):B.update(M,this,this.session,G)}if(this.i!=-1)for(;this.iH.lastRow)for(Q=this.session.getFoldedRowCount(H.lastRow+1,B.lastRow);0B.lastRow&&this.$lines.push(this.$renderLinesFragment(H,B.lastRow+1,H.lastRow)),this.$highlightIndentGuide()},Y.prototype.$renderLinesFragment=function(H,B,z){for(var U=[],Q=B,X=this.session.getNextFoldLine(Q),J=X?X.start.row:1/0;JQ[X].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&H[B.row]!==""&&B.column===H[B.row].length)for(this.$highlightIndentGuideMarker.dir=1,X=B.row+1;X=this.$highlightIndentGuideMarker.start+1){if(U.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(U,B)}}else for(z=H.length-1;0<=z;z--)if(U=H[z],this.$highlightIndentGuideMarker.end&&U.row=X;)J=this.$renderToken(ne,J,ce,se.substring(0,X-U)),se=se.substring(X-U),U=X,ne=this.$createLineElement(),H.appendChild(ne),ne.appendChild(this.dom.createTextNode(x.stringRepeat("\xA0",z.indent),this.element)),J=0,X=z[++Q]||Number.MAX_VALUE;se.length!=0&&(U+=se.length,J=this.$renderToken(ne,J,ce,se))}}z[z.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(ne,J,null,"",!0)},Y.prototype.$renderSimpleLine=function(H,B){for(var z=0,U=0;Uthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(H,z,Q,X);z=this.$renderToken(H,z,Q,X)}}},Y.prototype.$renderOverflowMessage=function(H,B,z,U,Q){z&&this.$renderToken(H,B,z,U.slice(0,this.MAX_LINE_LENGTH-B)),z=this.dom.createElement("span"),z.className="ace_inline_button ace_keyword ace_toggle_wrap",z.textContent=Q?"":"",H.appendChild(z)},Y.prototype.$renderLine=function(H,B,z){var U,Q,X=H;(U=(z=z||z==0?z:this.session.getFoldLine(B))?this.$getFoldLineTokens(B,z):this.session.getTokens(B)).length?(Q=this.session.getRowSplitData(B))&&Q.length?(this.$renderWrappedLine(H,U,Q),X=H.lastChild):(X=H,this.$useLineGroups()&&(X=this.$createLineElement(),H.appendChild(X)),this.$renderSimpleLine(X,U)):this.$useLineGroups()&&(X=this.$createLineElement(),H.appendChild(X)),this.showEOL&&X&&(z&&(B=z.end.row),(Q=this.dom.createElement("span")).className="ace_invisible ace_invisible_eol",Q.textContent=B==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,X.appendChild(Q))},Y.prototype.$getFoldLineTokens=function(H,B){var z=this.session,U=[],Q=z.getTokens(H);return B.walk(function(X,J,ne,te,ce){if(X!=null)U.push({type:"fold",value:X});else if((Q=ce?z.getTokens(J):Q).length){for(var se,ge=Q,he=te,ye=ne,ee=0,pe=0;pe+ge[ee].value.lengthye-he&&(se=se.substring(0,ye-he)),U.push({type:ge[ee].type,value:se}),pe=he+se.length,ee+=1);peye?U.push({type:ge[ee].type,value:se.substring(0,ye-pe)}):U.push(ge[ee]),pe+=se.length,ee+=1}},B.end.row,this.session.getLine(B.end.row).length),U},Y.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},Y);function Y(H){this.dom=D,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",H.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new P(this.element)}V.prototype.EOF_CHAR="\xB6",V.prototype.EOL_CHAR_LF="\xAC",V.prototype.EOL_CHAR_CRLF="\xA4",V.prototype.EOL_CHAR=V.prototype.EOL_CHAR_LF,V.prototype.TAB_CHAR="\u2014",V.prototype.SPACE_CHAR="\xB7",V.prototype.$padding=0,V.prototype.MAX_LINE_LENGTH=1e4,V.prototype.showInvisibles=!1,V.prototype.showSpaces=!1,V.prototype.showTabs=!1,V.prototype.showEOL=!1,V.prototype.displayIndentGuides=!0,V.prototype.$highlightIndentGuides=!0,V.prototype.$tabStrings=[],V.prototype.destroy={},V.prototype.onChangeTabSize=V.prototype.$computeTabString,O.implement(V.prototype,G),E.Text=V}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(D,E,F){var O=D("../lib/dom"),D=(x.prototype.$updateOpacity=function(P){for(var G=this.cursors,M=G.length;M--;)O.setStyle(G[M].style,"opacity",P?"":"0")},x.prototype.$startCssAnimation=function(){for(var P=this.cursors,G=P.length;G--;)P[G].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&O.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},x.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,O.removeCssClass(this.element,"ace_animate-blinking")},x.prototype.setPadding=function(P){this.$padding=P},x.prototype.setSession=function(P){this.session=P},x.prototype.setBlinking=function(P){P!=this.isBlinking&&(this.isBlinking=P,this.restartTimer())},x.prototype.setBlinkInterval=function(P){P!=this.blinkInterval&&(this.blinkInterval=P,this.restartTimer())},x.prototype.setSmoothBlinking=function(P){P!=this.smoothBlinking&&(this.smoothBlinking=P,O.setCssClass(this.element,"ace_smooth-blinking",P),this.$updateCursors(!0),this.restartTimer())},x.prototype.addCursor=function(){var P=O.createElement("div");return P.className="ace_cursor",this.element.appendChild(P),this.cursors.push(P),P},x.prototype.removeCursor=function(){var P;if(1P.height+P.offset||B.top<0)&&1M;)this.removeCursor();var z=this.session.getOverwrite();this.$setOverwrite(z),this.$pixelPos=B,this.restartTimer()},x.prototype.$setOverwrite=function(P){P!=this.overwrite&&((this.overwrite=P)?O.addCssClass(this.element,"ace_overwrite-cursors"):O.removeCssClass(this.element,"ace_overwrite-cursors"))},x.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},x);function x(P){this.element=O.createElement("div"),this.element.className="ace_layer ace_cursor-layer",P.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),O.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}D.prototype.$padding=0,D.prototype.drawCursor=null,E.Cursor=D}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(B,E,F){var O,D=this&&this.__extends||(O=function(U,Q){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(X,J){X.__proto__=J}:function(X,J){for(var ne in J)Object.prototype.hasOwnProperty.call(J,ne)&&(X[ne]=J[ne])}))(U,Q)},function(U,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function X(){this.constructor=U}O(U,Q),U.prototype=Q===null?Object.create(Q):(X.prototype=Q.prototype,new X)}),V=B("./lib/oop"),x=B("./lib/dom"),P=B("./lib/event"),B=B("./lib/event_emitter").EventEmitter,G=(M.prototype.setVisible=function(U){this.element.style.display=U?"":"none",this.isVisible=U,this.coeff=1},M);function M(U,Q){this.element=x.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+Q,this.inner=x.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),U.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,P.addListener(this.element,"scroll",this.onScroll.bind(this)),P.addListener(this.element,"mousedown",P.preventDefault)}V.implement(G.prototype,B),D(Y,N=G),Y.prototype.onScroll=function(){var U;this.skipEvent||(this.scrollTop=this.element.scrollTop,this.coeff!=1&&(U=this.element.clientHeight/this.scrollHeight,this.scrollTop=this.scrollTop*(1-U)/(this.coeff-U)),this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},Y.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},Y.prototype.setHeight=function(U){this.element.style.height=U+"px"},Y.prototype.setScrollHeight=function(U){32768<(this.scrollHeight=U)?(this.coeff=32768/U,U=32768):this.coeff!=1&&(this.coeff=1),this.inner.style.height=U+"px"},Y.prototype.setScrollTop=function(U){this.scrollTop!=U&&(this.skipEvent=!0,this.scrollTop=U,this.element.scrollTop=U*this.coeff)};var N,V=Y;function Y(U,Q){var X=N.call(this,U,"-v")||this;return X.scrollTop=0,X.scrollHeight=0,Q.$scrollbarWidth=X.width=x.scrollbarWidth(U.ownerDocument),X.inner.style.width=X.element.style.width=(X.width||15)+5+"px",X.$minWidth=0,X}V.prototype.setInnerHeight=V.prototype.setScrollHeight,D(z,H=G),z.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},z.prototype.getHeight=function(){return this.isVisible?this.height:0},z.prototype.setWidth=function(U){this.element.style.width=U+"px"},z.prototype.setInnerWidth=function(U){this.inner.style.width=U+"px"},z.prototype.setScrollWidth=function(U){this.inner.style.width=U+"px"},z.prototype.setScrollLeft=function(U){this.scrollLeft!=U&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=U)};var H,B=z;function z(U,Q){return U=H.call(this,U,"-h")||this,U.scrollLeft=0,U.height=Q.$scrollbarWidth,U.inner.style.height=U.element.style.height=(U.height||15)+5+"px",U}E.ScrollBar=V,E.ScrollBarV=V,E.ScrollBarH=B,E.VScrollBar=V,E.HScrollBar=B}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(B,E,F){var O,D=this&&this.__extends||(O=function(U,Q){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(X,J){X.__proto__=J}:function(X,J){for(var ne in J)Object.prototype.hasOwnProperty.call(J,ne)&&(X[ne]=J[ne])}))(U,Q)},function(U,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function X(){this.constructor=U}O(U,Q),U.prototype=Q===null?Object.create(Q):(X.prototype=Q.prototype,new X)}),V=B("./lib/oop"),x=B("./lib/dom"),P=B("./lib/event"),B=B("./lib/event_emitter").EventEmitter,G=(x.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ +`),this.moveCursorToPosition(ae)},ee.prototype.setGhostText=function(ae,ve){this.session.widgetManager||(this.session.widgetManager=new te(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(ae,ve)},ee.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},ee.prototype.transposeLetters=function(){var ae,ve,we,_e;this.selection.isEmpty()&&(ve=(ae=this.getCursorPosition()).column)!==0&&(_e=ve<(_e=this.session.getLine(ae.row)).length?(we=_e.charAt(ve)+_e.charAt(ve-1),new z(ae.row,ve-1,ae.row,ve+1)):(we=_e.charAt(ve-1)+_e.charAt(ve-2),new z(ae.row,ve-2,ae.row,ve)),this.session.replace(_e,we),this.session.selection.moveToPosition(_e.end))},ee.prototype.toLowerCase=function(){var ae=this.getSelectionRange(),ve=(this.selection.isEmpty()&&this.selection.selectWord(),this.getSelectionRange()),we=this.session.getTextRange(ve);this.session.replace(ve,we.toLowerCase()),this.selection.setSelectionRange(ae)},ee.prototype.toUpperCase=function(){var ae=this.getSelectionRange(),ve=(this.selection.isEmpty()&&this.selection.selectWord(),this.getSelectionRange()),we=this.session.getTextRange(ve);this.session.replace(ve,we.toUpperCase()),this.selection.setSelectionRange(ae)},ee.prototype.indent=function(){var ae=this.session,ve=this.getSelectionRange();if(!(ve.start.rowEe.toLowerCase()?1:0});for(var Te=new z(0,0,0,0),_e=ae.first;_e<=ae.last;_e++){var Ce=ve.getLine(_e);Te.start.row=_e,Te.end.row=_e,Te.end.column=Ce.length,ve.replace(Te,we[_e-ae.first])}},ee.prototype.toggleCommentLines=function(){var ae=this.session.getState(this.getCursorPosition().row),ve=this.$getSelectedRows();this.session.getMode().toggleCommentLines(ae,this.session,ve.first,ve.last)},ee.prototype.toggleBlockComment=function(){var ae=this.getCursorPosition(),ve=this.session.getState(ae.row),we=this.getSelectionRange();this.session.getMode().toggleBlockComment(ve,this.session,we,ae)},ee.prototype.getNumberAt=function(ae,ve){for(var we=/[\-]?[0-9]+(?:\.[0-9]+)?/g,_e=(we.lastIndex=0,this.session.getLine(ae));we.lastIndex=ve)return{value:Te[0],start:Te.index,end:Te.index+Te[0].length}}return null},ee.prototype.modifyNumber=function(ae){var ve,we,_e,Te=this.selection.getCursor().row,Ce=this.selection.getCursor().column,Ae=new z(Te,Ce-1,Te,Ce),Ae=this.session.getTextRange(Ae);!isNaN(parseFloat(Ae))&&isFinite(Ae)?(Ae=this.getNumberAt(Te,Ce))&&(_e=0<=Ae.value.indexOf(".")?Ae.start+Ae.value.indexOf(".")+1:Ae.end,ve=Ae.start+Ae.value.length-_e,we=parseFloat(Ae.value),we*=Math.pow(10,ve),_e!==Ae.end&&Ce<_e?ae*=Math.pow(10,Ae.end-Ce-1):ae*=Math.pow(10,Ae.end-Ce),_e=(we=(we+=ae)/Math.pow(10,ve)).toFixed(ve),ae=new z(Te,Ae.start,Te,Ae.end),this.session.replace(ae,_e),this.moveCursorTo(Te,Math.max(Ae.start+1,Ce+_e.length-Ae.value.length))):this.toggleWord()},ee.prototype.toggleWord=function(){for(var ae,ve=this.selection.getCursor().row,we=this.selection.getCursor().column,_e=(this.selection.selectWord(),this.getSelectedText()),Te=this.selection.getWordRange().start.column,Ce=_e.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),Ae=we-Te-1,Ee=(Ae<0&&(Ae=0),0),le=this,re=(_e.match(/[A-Za-z0-9_]+/)&&Ce.forEach(function(Se,xe){ae=Ee+Se.length,Ee<=Ae&&Ae<=ae&&(_e=Se,le.selection.clearSelection(),le.moveCursorTo(ve,Ee+Te),le.selection.selectTo(ve,ae+Te)),Ee=ae}),this.$toggleWordPairs),ue=0;ueoe+1)break;oe=me.last}for(ue--,Ee=this.session.$moveLines(ie,oe,ve?0:ae),ve&&ae==-1&&(be=ue+1);be<=ue;)Ae[be].moveBy(Ee,0),be++;le+=Ee=ve?Ee:0}we.fromOrientedRange(we.ranges[0]),we.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},ee.prototype.$getSelectedRows=function(ae){return ae=(ae||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(ae.start.row),last:this.session.getRowFoldEnd(ae.end.row)}},ee.prototype.onCompositionStart=function(ae){this.renderer.showComposition(ae)},ee.prototype.onCompositionUpdate=function(ae){this.renderer.setCompositionText(ae)},ee.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},ee.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},ee.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},ee.prototype.isRowVisible=function(ae){return ae>=this.getFirstVisibleRow()&&ae<=this.getLastVisibleRow()},ee.prototype.isRowFullyVisible=function(ae){return ae>=this.renderer.getFirstFullyVisibleRow()&&ae<=this.renderer.getLastFullyVisibleRow()},ee.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},ee.prototype.$moveByPage=function(Ce,ve){var we=this.renderer,_e=this.renderer.layerConfig,Te=Ce*Math.floor(_e.height/_e.lineHeight),Ce=(ve===!0?this.selection.$moveSelection(function(){this.moveCursorBy(Te,0)}):ve===!1&&(this.selection.moveCursorBy(Te,0),this.selection.clearSelection()),we.scrollTop);we.scrollBy(0,Te*_e.lineHeight),ve!=null&&we.scrollCursorIntoView(null,.5),we.animateScrolling(Ce)},ee.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},ee.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},ee.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},ee.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},ee.prototype.scrollPageDown=function(){this.$moveByPage(1)},ee.prototype.scrollPageUp=function(){this.$moveByPage(-1)},ee.prototype.scrollToRow=function(ae){this.renderer.scrollToRow(ae)},ee.prototype.scrollToLine=function(ae,ve,we,_e){this.renderer.scrollToLine(ae,ve,we,_e)},ee.prototype.centerSelection=function(){var ae=this.getSelectionRange(),ae={row:Math.floor(ae.start.row+(ae.end.row-ae.start.row)/2),column:Math.floor(ae.start.column+(ae.end.column-ae.start.column)/2)};this.renderer.alignCursor(ae,.5)},ee.prototype.getCursorPosition=function(){return this.selection.getCursor()},ee.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},ee.prototype.getSelectionRange=function(){return this.selection.getRange()},ee.prototype.selectAll=function(){this.selection.selectAll()},ee.prototype.clearSelection=function(){this.selection.clearSelection()},ee.prototype.moveCursorTo=function(ae,ve){this.selection.moveCursorTo(ae,ve)},ee.prototype.moveCursorToPosition=function(ae){this.selection.moveCursorToPosition(ae)},ee.prototype.jumpToMatching=function(ae,ve){var we=this.getCursorPosition(),_e=new ne(this.session,we.row,we.column),Te=_e.getCurrentToken(),Ce=0,Ae=(Te=Te&&Te.type.indexOf("tag-name")!==-1?_e.stepBackward():Te)||_e.stepForward();if(Ae){var Ee,le,re=!1,ue={},be=we.column-Ae.start,ie={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do if(Ae.value.match(/[{}()\[\]]/g)){for(;bewindow.innerHeight)&&null)!=null&&(Te.style.top=ue+"px",Te.style.left=le.left+"px",Te.style.height=re.lineHeight+"px",Te.scrollIntoView(_e)),_e=ve=null)}),this.setAutoScrollEditorIntoView=function(le){le||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",Ce),this.renderer.off("afterRender",Ee),this.renderer.off("beforeRender",Ae))})},ee.prototype.$resetCursorStyle=function(){var ae=this.$cursorStyle||"ace",ve=this.renderer.$cursorLayer;ve&&(ve.setSmoothBlinking(/smooth/.test(ae)),ve.isBlinking=!this.$readOnly&&ae!="wide",x.setCssClass(ve.element,"ace_slim-cursors",/slim/.test(ae)))},ee.prototype.prompt=function(ae,ve,we){var _e=this;J.loadModule("ace/ext/prompt",function(Te){Te.prompt(_e,ae,ve,we)})},ee);function ee(ae,ve,we){this.session,this.$toDestroy=[];var _e=ae.getContainerElement();this.container=_e,this.renderer=ae,this.id="editor"+ ++ee.$uid,this.commands=new Q(G.isMac?"mac":"win",X),typeof document=="object"&&(this.textInput=new M(ae.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new N(this),new V(this)),this.keyBinding=new Z(this),this.$search=new B().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=P.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(Te,Ce){Ce._$emitInputEvent.schedule(31)}),this.setSession(ve||we&&we.session||new H("")),J.resetOptions(this),we&&this.setOptions(we),J._signal("editor",this)}ye.$uid=0,ye.prototype.curOp=null,ye.prototype.prevOp={},ye.prototype.$mergeableCommands=["backspace","del","insertstring"],ye.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],D.implement(ye.prototype,U),J.defineOptions(ye.prototype,"editor",{selectionStyle:{set:function(ae){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:ae})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(ae){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(ae){this.textInput.setReadOnly(ae),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(ae){this.textInput.setCopyWithEmptySelection(ae)},initialValue:!1},cursorStyle:{set:function(ae){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(ae){this.setAutoScrollEditorIntoView(ae)}},keyboardHandler:{set:function(ae){this.setKeyboardHandler(ae)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(ae){this.session.setValue(ae)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(ae){this.setSession(ae)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(ae){this.renderer.$gutterLayer.setShowLineNumbers(ae),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),ae&&this.$relativeLineNumbers?pe.attach(this):pe.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(ae){this.$showLineNumbers&&ae?pe.attach(this):pe.detach(this)}},placeholder:{set:function(ae){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var ve=this.session&&(this.renderer.$composition||1ne+1;)this.$lines.pop();break}(J=this.$lines.get(++ne))?J.row=te:(J=this.$lines.createCell(te,H,this.session,Z),this.$lines.push(J)),this.$renderCell(J,H,Q,te),te++}this._signal("afterRender"),this.$updateGutterWidth(H)},V.prototype.$updateGutterWidth=function(H){var B=this.session,Q=B.gutterRenderer||this.$renderer,U=B.$firstLineNumber,z=this.$lines.last()?this.$lines.last().text:"",U=((this.$fixedWidth||B.$useWrapMode)&&(z=B.getLength()+U-1),Q?Q.getWidth(B,z,H):z.toString().length*H.characterWidth),Q=this.$padding||this.$computePadding();(U+=Q.left+Q.right)===this.gutterWidth||isNaN(U)||(this.gutterWidth=U,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",U))},V.prototype.$updateCursorRow=function(){var H;this.$highlightGutterLine&&(H=this.session.selection.getCursor(),this.$cursorRow!==H.row)&&(this.$cursorRow=H.row)},V.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var H=this.session.selection.cursor.row;if(this.$cursorRow=H,!this.$cursorCell||this.$cursorCell.row!=H){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var B=this.$lines.cells;this.$cursorCell=null;for(var z=0;z=this.$cursorRow){if(U.row>this.$cursorRow){var Q=this.session.getFoldLine(this.$cursorRow);if(!(0z.right-B.right?"foldWidgets":void 0},V);function V(H){this.element=O.createElement("div"),this.element.className="ace_layer ace_gutter-layer",H.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new G(this.element),this.$lines.$offsetCoefficient=1}function Z(H){var B=document.createTextNode(""),B=(H.appendChild(B),O.createElement("span")),B=(H.appendChild(B),O.createElement("span")),z=(H.appendChild(B),O.createElement("span"));return B.appendChild(z),H}N.prototype.$fixedWidth=!1,N.prototype.$highlightGutterLine=!0,N.prototype.$renderer="",N.prototype.$showLineNumbers=!0,N.prototype.$showFoldWidgets=!0,D.implement(N.prototype,P),E.Gutter=N}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(x,E,F){var O=x("../range").Range,D=x("../lib/dom"),x=(P.prototype.setPadding=function(G){this.$padding=G},P.prototype.setSession=function(G){this.session=G},P.prototype.setMarkers=function(G){this.markers=G},P.prototype.elt=function(G,M){var N=this.i!=-1&&this.element.childNodes[this.i];N?this.i++:(N=document.createElement("div"),this.element.appendChild(N),this.i=-1),N.style.cssText=M,N.className=G},P.prototype.update=function(G){if(G){var M,N;for(N in this.config=G,this.i=0,this.markers){var V,Z,H,B=this.markers[N];B.range?(H=B.range.clipRows(G.firstRow,G.lastRow)).isEmpty()||(H=H.toScreenRange(this.session),B.renderer?(V=this.$getTop(H.start.row,G),Z=this.$padding+H.start.column*G.characterWidth,B.renderer(M,H,Z,V,G)):B.type=="fullLine"?this.drawFullLineMarker(M,H,B.clazz,G):B.type=="screenLine"?this.drawScreenLineMarker(M,H,B.clazz,G):H.isMultiLine()?B.type=="text"?this.drawTextMarker(M,H,B.clazz,G):this.drawMultiLineMarker(M,H,B.clazz,G):this.drawSingleLineMarker(M,H,B.clazz+" ace_start ace_br15",G)):B.update(M,this,this.session,G)}if(this.i!=-1)for(;this.iH.lastRow)for(Q=this.session.getFoldedRowCount(H.lastRow+1,B.lastRow);0B.lastRow&&this.$lines.push(this.$renderLinesFragment(H,B.lastRow+1,H.lastRow)),this.$highlightIndentGuide()},Z.prototype.$renderLinesFragment=function(H,B,z){for(var U=[],Q=B,X=this.session.getNextFoldLine(Q),J=X?X.start.row:1/0;JQ[X].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&H[B.row]!==""&&B.column===H[B.row].length)for(this.$highlightIndentGuideMarker.dir=1,X=B.row+1;X=this.$highlightIndentGuideMarker.start+1){if(U.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(U,B)}}else for(z=H.length-1;0<=z;z--)if(U=H[z],this.$highlightIndentGuideMarker.end&&U.row=X;)J=this.$renderToken(ne,J,ce,se.substring(0,X-U)),se=se.substring(X-U),U=X,ne=this.$createLineElement(),H.appendChild(ne),ne.appendChild(this.dom.createTextNode(x.stringRepeat("\xA0",z.indent),this.element)),J=0,X=z[++Q]||Number.MAX_VALUE;se.length!=0&&(U+=se.length,J=this.$renderToken(ne,J,ce,se))}}z[z.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(ne,J,null,"",!0)},Z.prototype.$renderSimpleLine=function(H,B){for(var z=0,U=0;Uthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(H,z,Q,X);z=this.$renderToken(H,z,Q,X)}}},Z.prototype.$renderOverflowMessage=function(H,B,z,U,Q){z&&this.$renderToken(H,B,z,U.slice(0,this.MAX_LINE_LENGTH-B)),z=this.dom.createElement("span"),z.className="ace_inline_button ace_keyword ace_toggle_wrap",z.textContent=Q?"":"",H.appendChild(z)},Z.prototype.$renderLine=function(H,B,z){var U,Q,X=H;(U=(z=z||z==0?z:this.session.getFoldLine(B))?this.$getFoldLineTokens(B,z):this.session.getTokens(B)).length?(Q=this.session.getRowSplitData(B))&&Q.length?(this.$renderWrappedLine(H,U,Q),X=H.lastChild):(X=H,this.$useLineGroups()&&(X=this.$createLineElement(),H.appendChild(X)),this.$renderSimpleLine(X,U)):this.$useLineGroups()&&(X=this.$createLineElement(),H.appendChild(X)),this.showEOL&&X&&(z&&(B=z.end.row),(Q=this.dom.createElement("span")).className="ace_invisible ace_invisible_eol",Q.textContent=B==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,X.appendChild(Q))},Z.prototype.$getFoldLineTokens=function(H,B){var z=this.session,U=[],Q=z.getTokens(H);return B.walk(function(X,J,ne,te,ce){if(X!=null)U.push({type:"fold",value:X});else if((Q=ce?z.getTokens(J):Q).length){for(var se,ge=Q,he=te,ye=ne,ee=0,pe=0;pe+ge[ee].value.lengthye-he&&(se=se.substring(0,ye-he)),U.push({type:ge[ee].type,value:se}),pe=he+se.length,ee+=1);peye?U.push({type:ge[ee].type,value:se.substring(0,ye-pe)}):U.push(ge[ee]),pe+=se.length,ee+=1}},B.end.row,this.session.getLine(B.end.row).length),U},Z.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},Z);function Z(H){this.dom=D,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",H.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new P(this.element)}V.prototype.EOF_CHAR="\xB6",V.prototype.EOL_CHAR_LF="\xAC",V.prototype.EOL_CHAR_CRLF="\xA4",V.prototype.EOL_CHAR=V.prototype.EOL_CHAR_LF,V.prototype.TAB_CHAR="\u2014",V.prototype.SPACE_CHAR="\xB7",V.prototype.$padding=0,V.prototype.MAX_LINE_LENGTH=1e4,V.prototype.showInvisibles=!1,V.prototype.showSpaces=!1,V.prototype.showTabs=!1,V.prototype.showEOL=!1,V.prototype.displayIndentGuides=!0,V.prototype.$highlightIndentGuides=!0,V.prototype.$tabStrings=[],V.prototype.destroy={},V.prototype.onChangeTabSize=V.prototype.$computeTabString,O.implement(V.prototype,G),E.Text=V}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(D,E,F){var O=D("../lib/dom"),D=(x.prototype.$updateOpacity=function(P){for(var G=this.cursors,M=G.length;M--;)O.setStyle(G[M].style,"opacity",P?"":"0")},x.prototype.$startCssAnimation=function(){for(var P=this.cursors,G=P.length;G--;)P[G].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&O.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},x.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,O.removeCssClass(this.element,"ace_animate-blinking")},x.prototype.setPadding=function(P){this.$padding=P},x.prototype.setSession=function(P){this.session=P},x.prototype.setBlinking=function(P){P!=this.isBlinking&&(this.isBlinking=P,this.restartTimer())},x.prototype.setBlinkInterval=function(P){P!=this.blinkInterval&&(this.blinkInterval=P,this.restartTimer())},x.prototype.setSmoothBlinking=function(P){P!=this.smoothBlinking&&(this.smoothBlinking=P,O.setCssClass(this.element,"ace_smooth-blinking",P),this.$updateCursors(!0),this.restartTimer())},x.prototype.addCursor=function(){var P=O.createElement("div");return P.className="ace_cursor",this.element.appendChild(P),this.cursors.push(P),P},x.prototype.removeCursor=function(){var P;if(1P.height+P.offset||B.top<0)&&1M;)this.removeCursor();var z=this.session.getOverwrite();this.$setOverwrite(z),this.$pixelPos=B,this.restartTimer()},x.prototype.$setOverwrite=function(P){P!=this.overwrite&&((this.overwrite=P)?O.addCssClass(this.element,"ace_overwrite-cursors"):O.removeCssClass(this.element,"ace_overwrite-cursors"))},x.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},x);function x(P){this.element=O.createElement("div"),this.element.className="ace_layer ace_cursor-layer",P.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),O.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}D.prototype.$padding=0,D.prototype.drawCursor=null,E.Cursor=D}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(B,E,F){var O,D=this&&this.__extends||(O=function(U,Q){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(X,J){X.__proto__=J}:function(X,J){for(var ne in J)Object.prototype.hasOwnProperty.call(J,ne)&&(X[ne]=J[ne])}))(U,Q)},function(U,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function X(){this.constructor=U}O(U,Q),U.prototype=Q===null?Object.create(Q):(X.prototype=Q.prototype,new X)}),V=B("./lib/oop"),x=B("./lib/dom"),P=B("./lib/event"),B=B("./lib/event_emitter").EventEmitter,G=(M.prototype.setVisible=function(U){this.element.style.display=U?"":"none",this.isVisible=U,this.coeff=1},M);function M(U,Q){this.element=x.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+Q,this.inner=x.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),U.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,P.addListener(this.element,"scroll",this.onScroll.bind(this)),P.addListener(this.element,"mousedown",P.preventDefault)}V.implement(G.prototype,B),D(Z,N=G),Z.prototype.onScroll=function(){var U;this.skipEvent||(this.scrollTop=this.element.scrollTop,this.coeff!=1&&(U=this.element.clientHeight/this.scrollHeight,this.scrollTop=this.scrollTop*(1-U)/(this.coeff-U)),this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},Z.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},Z.prototype.setHeight=function(U){this.element.style.height=U+"px"},Z.prototype.setScrollHeight=function(U){32768<(this.scrollHeight=U)?(this.coeff=32768/U,U=32768):this.coeff!=1&&(this.coeff=1),this.inner.style.height=U+"px"},Z.prototype.setScrollTop=function(U){this.scrollTop!=U&&(this.skipEvent=!0,this.scrollTop=U,this.element.scrollTop=U*this.coeff)};var N,V=Z;function Z(U,Q){var X=N.call(this,U,"-v")||this;return X.scrollTop=0,X.scrollHeight=0,Q.$scrollbarWidth=X.width=x.scrollbarWidth(U.ownerDocument),X.inner.style.width=X.element.style.width=(X.width||15)+5+"px",X.$minWidth=0,X}V.prototype.setInnerHeight=V.prototype.setScrollHeight,D(z,H=G),z.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},z.prototype.getHeight=function(){return this.isVisible?this.height:0},z.prototype.setWidth=function(U){this.element.style.width=U+"px"},z.prototype.setInnerWidth=function(U){this.inner.style.width=U+"px"},z.prototype.setScrollWidth=function(U){this.inner.style.width=U+"px"},z.prototype.setScrollLeft=function(U){this.scrollLeft!=U&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=U)};var H,B=z;function z(U,Q){return U=H.call(this,U,"-h")||this,U.scrollLeft=0,U.height=Q.$scrollbarWidth,U.inner.style.height=U.element.style.height=(U.height||15)+5+"px",U}E.ScrollBar=V,E.ScrollBarV=V,E.ScrollBarH=B,E.VScrollBar=V,E.HScrollBar=B}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(B,E,F){var O,D=this&&this.__extends||(O=function(U,Q){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(X,J){X.__proto__=J}:function(X,J){for(var ne in J)Object.prototype.hasOwnProperty.call(J,ne)&&(X[ne]=J[ne])}))(U,Q)},function(U,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function X(){this.constructor=U}O(U,Q),U.prototype=Q===null?Object.create(Q):(X.prototype=Q.prototype,new X)}),V=B("./lib/oop"),x=B("./lib/dom"),P=B("./lib/event"),B=B("./lib/event_emitter").EventEmitter,G=(x.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ position: absolute; background: rgba(128, 128, 128, 0.6); -moz-box-sizing: border-box; @@ -531,7 +531,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho .ace_editor>.ace_sb_grabbed { z-index: 8; background: #000; -}`,"ace_scrollbar.css",!1),M.prototype.setVisible=function(U){this.element.style.display=U?"":"none",this.isVisible=U,this.coeff=1},M);function M(U,Q){this.element=x.createElement("div"),this.element.className="ace_sb"+Q,this.inner=x.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,U.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,P.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}V.implement(G.prototype,B),D(Y,N=G),Y.prototype.onMouseDown=function(U,Q){var X,J,ne,te,ce;if(U==="mousedown"&&P.getButton(Q)===0&&Q.detail!==2)return Q.target===this.inner?(X=this,J=Q.clientY,ne=Q.clientY,te=this.thumbTop,P.capture(this.inner,function(se){J=se.clientY},function(){clearInterval(ce)}),ce=setInterval(function(){var se;J!==void 0&&(se=X.scrollTopFromThumbTop(te+J-ne))!==X.scrollTop&&X._emit("scroll",{data:se})},20)):(U=Q.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2,this._emit("scroll",{data:this.scrollTopFromThumbTop(U)})),P.preventDefault(Q)},Y.prototype.getHeight=function(){return this.height},Y.prototype.scrollTopFromThumbTop=function(U){return U=U*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight),(U>>=0)<0?U=0:U>this.pageHeight-this.viewHeight&&(U=this.pageHeight-this.viewHeight),U},Y.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},Y.prototype.setHeight=function(U){this.height=Math.max(0,U),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},Y.prototype.setScrollHeight=function(U,Q){(this.pageHeight!==U||Q)&&(this.pageHeight=U,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight)&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop}))},Y.prototype.setScrollTop=function(U){this.scrollTop=U,this.thumbTop=(U=U<0?0:U)*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"};var N,V=Y;function Y(U,Q){var X=N.call(this,U,"-v")||this;return X.scrollTop=0,X.scrollHeight=0,X.parent=U,X.width=X.VScrollWidth,X.renderer=Q,X.inner.style.width=X.element.style.width=(X.width||15)+"px",X.$minWidth=0,X}V.prototype.setInnerHeight=V.prototype.setScrollHeight,D(z,H=G),z.prototype.onMouseDown=function(U,Q){var X,J,ne,te,ce;if(U==="mousedown"&&P.getButton(Q)===0&&Q.detail!==2)return Q.target===this.inner?(X=this,J=Q.clientX,ne=Q.clientX,te=this.thumbLeft,P.capture(this.inner,function(se){J=se.clientX},function(){clearInterval(ce)}),ce=setInterval(function(){var se;J!==void 0&&(se=X.scrollLeftFromThumbLeft(te+J-ne))!==X.scrollLeft&&X._emit("scroll",{data:se})},20)):(U=Q.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2,this._emit("scroll",{data:this.scrollLeftFromThumbLeft(U)})),P.preventDefault(Q)},z.prototype.getHeight=function(){return this.isVisible?this.height:0},z.prototype.scrollLeftFromThumbLeft=function(U){return U=U*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth),(U>>=0)<0?U=0:U>this.pageWidth-this.viewWidth&&(U=this.pageWidth-this.viewWidth),U},z.prototype.setWidth=function(U){this.width=Math.max(0,U),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},z.prototype.setScrollWidth=function(U,Q){(this.pageWidth!==U||Q)&&(this.pageWidth=U,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth)&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft}))},z.prototype.setScrollLeft=function(U){this.scrollLeft=U,this.thumbLeft=(U=U<0?0:U)*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"};var H,B=z;function z(U,Q){return U=H.call(this,U,"-h")||this,U.scrollLeft=0,U.scrollWidth=0,U.height=U.HScrollHeight,U.inner.style.height=U.element.style.height=(U.height||12)+"px",U.renderer=Q,U}B.prototype.setInnerWidth=B.prototype.setScrollWidth,E.ScrollBar=V,E.ScrollBarV=V,E.ScrollBarH=B,E.VScrollBar=V,E.HScrollBar=B}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(I,E,F){var O=I("./lib/event");function D(x,P){this.onRender=x,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=P||window;var G=this;this._flush=function(M){G.pending=!1;var N=G.changes;N&&(O.blockIdle(100),G.changes=0,G.onRender(N)),G.changes?G.$recursionLimit--<0||G.schedule():G.$recursionLimit=2}}D.prototype.schedule=function(x){this.changes=this.changes|x,this.changes&&!this.pending&&(O.nextFrame(this._flush),this.pending=!0)},D.prototype.clear=function(x){var P=this.changes;return this.changes=0,P},E.RenderLoop=D}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(M,E,F){var O=M("../lib/oop"),D=M("../lib/dom"),x=M("../lib/lang"),P=M("../lib/event"),G=M("../lib/useragent"),M=M("../lib/event_emitter").EventEmitter,N=typeof ResizeObserver=="function",V=(Y.prototype.$setMeasureNodeStyles=function(H,B){H.width=H.height="auto",H.left=H.top="0px",H.visibility="hidden",H.position="absolute",H.whiteSpace="pre",G.isIE<8?H["font-family"]="inherit":H.font="inherit",H.overflow=B?"hidden":"visible"},Y.prototype.checkForSizeChanges=function(H){var B;!(H=H===void 0?this.$measureSizes():H)||this.$characterSize.width===H.width&&this.$characterSize.height===H.height||(this.$measureNode.style.fontWeight="bold",B=this.$measureSizes(),this.$measureNode.style.fontWeight="",this.$characterSize=H,this.charSizes=Object.create(null),this.allowBoldFonts=B&&B.width===H.width&&B.height===H.height,this._emit("changeCharacterSize",{data:H}))},Y.prototype.$addObserver=function(){var H=this;this.$observer=new window.ResizeObserver(function(B){H.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},Y.prototype.$pollSizeChanges=function(){var H;return this.$pollSizeChangesTimer||this.$observer?this.$pollSizeChangesTimer:(H=this).$pollSizeChangesTimer=P.onIdle(function B(){H.checkForSizeChanges(),P.onIdle(B,500)},500)},Y.prototype.setPolling=function(H){H?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},Y.prototype.$measureSizes=function(H){return H={height:(H||this.$measureNode).clientHeight,width:(H||this.$measureNode).clientWidth/512},H.width===0||H.height===0?null:H},Y.prototype.$measureCharWidth=function(H){return this.$main.textContent=x.stringRepeat(H,512),this.$main.getBoundingClientRect().width/512},Y.prototype.getCharacterWidth=function(H){var B=this.charSizes[H];return B=B===void 0?this.charSizes[H]=this.$measureCharWidth(H)/this.$characterSize.width:B},Y.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},Y.prototype.$getZoom=function(H){return H&&H.parentElement?(window.getComputedStyle(H).zoom||1)*this.$getZoom(H.parentElement):1},Y.prototype.$initTransformMeasureNodes=function(){function H(B,z){return["div",{style:"position: absolute;top:"+B+"px;left:"+z+"px;"}]}this.els=D.buildDom([H(0,0),H(200,0),H(0,200),H(200,200)],this.el)},Y.prototype.transformCoordinates=function(H,B){function z(he,ye,ee){var pe=he[1]*ye[0]-he[0]*ye[1];return[(-ye[1]*ee[0]+ye[0]*ee[1])/pe,(+he[1]*ee[0]-he[0]*ee[1])/pe]}function U(he,ye){return[he[0]-ye[0],he[1]-ye[1]]}function Q(he,ye){return[he[0]+ye[0],he[1]+ye[1]]}function X(he,ye){return[he*ye[0],he*ye[1]]}function J(he){return he=he.getBoundingClientRect(),[he.left,he.top]}H=H&&X(1/this.$getZoom(this.el),H),this.els||this.$initTransformMeasureNodes();var ne,te=J(this.els[0]),se=J(this.els[1]),ge=J(this.els[2]),ce=J(this.els[3]),ce=z(U(ce,se),U(ce,ge),U(Q(se,ge),Q(ce,te))),se=X(1+ce[0],U(se,te)),ge=X(1+ce[1],U(ge,te));return B?(ne=ce[0]*B[0]/200+ce[1]*B[1]/200+1,B=Q(X(B[0],se),X(B[1],ge)),Q(X(1/ne/200,B),te)):(ne=U(H,te),B=z(U(se,X(ce[0],ne)),U(ge,X(ce[1],ne)),ne),X(200,B))},Y);function Y(H){this.el=D.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=D.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=D.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),H.appendChild(this.el),this.$measureNode.textContent=x.stringRepeat("X",512),this.$characterSize={width:0,height:0},N?this.$addObserver():this.checkForSizeChanges()}V.prototype.$characterSize={width:0,height:0},O.implement(V.prototype,M),E.FontMetrics=V}),ace.define("ace/css/editor-css",["require","exports","module"],function(I,E,F){F.exports=` +}`,"ace_scrollbar.css",!1),M.prototype.setVisible=function(U){this.element.style.display=U?"":"none",this.isVisible=U,this.coeff=1},M);function M(U,Q){this.element=x.createElement("div"),this.element.className="ace_sb"+Q,this.inner=x.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,U.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,P.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}V.implement(G.prototype,B),D(Z,N=G),Z.prototype.onMouseDown=function(U,Q){var X,J,ne,te,ce;if(U==="mousedown"&&P.getButton(Q)===0&&Q.detail!==2)return Q.target===this.inner?(X=this,J=Q.clientY,ne=Q.clientY,te=this.thumbTop,P.capture(this.inner,function(se){J=se.clientY},function(){clearInterval(ce)}),ce=setInterval(function(){var se;J!==void 0&&(se=X.scrollTopFromThumbTop(te+J-ne))!==X.scrollTop&&X._emit("scroll",{data:se})},20)):(U=Q.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2,this._emit("scroll",{data:this.scrollTopFromThumbTop(U)})),P.preventDefault(Q)},Z.prototype.getHeight=function(){return this.height},Z.prototype.scrollTopFromThumbTop=function(U){return U=U*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight),(U>>=0)<0?U=0:U>this.pageHeight-this.viewHeight&&(U=this.pageHeight-this.viewHeight),U},Z.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},Z.prototype.setHeight=function(U){this.height=Math.max(0,U),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},Z.prototype.setScrollHeight=function(U,Q){(this.pageHeight!==U||Q)&&(this.pageHeight=U,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight)&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop}))},Z.prototype.setScrollTop=function(U){this.scrollTop=U,this.thumbTop=(U=U<0?0:U)*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"};var N,V=Z;function Z(U,Q){var X=N.call(this,U,"-v")||this;return X.scrollTop=0,X.scrollHeight=0,X.parent=U,X.width=X.VScrollWidth,X.renderer=Q,X.inner.style.width=X.element.style.width=(X.width||15)+"px",X.$minWidth=0,X}V.prototype.setInnerHeight=V.prototype.setScrollHeight,D(z,H=G),z.prototype.onMouseDown=function(U,Q){var X,J,ne,te,ce;if(U==="mousedown"&&P.getButton(Q)===0&&Q.detail!==2)return Q.target===this.inner?(X=this,J=Q.clientX,ne=Q.clientX,te=this.thumbLeft,P.capture(this.inner,function(se){J=se.clientX},function(){clearInterval(ce)}),ce=setInterval(function(){var se;J!==void 0&&(se=X.scrollLeftFromThumbLeft(te+J-ne))!==X.scrollLeft&&X._emit("scroll",{data:se})},20)):(U=Q.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2,this._emit("scroll",{data:this.scrollLeftFromThumbLeft(U)})),P.preventDefault(Q)},z.prototype.getHeight=function(){return this.isVisible?this.height:0},z.prototype.scrollLeftFromThumbLeft=function(U){return U=U*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth),(U>>=0)<0?U=0:U>this.pageWidth-this.viewWidth&&(U=this.pageWidth-this.viewWidth),U},z.prototype.setWidth=function(U){this.width=Math.max(0,U),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},z.prototype.setScrollWidth=function(U,Q){(this.pageWidth!==U||Q)&&(this.pageWidth=U,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth)&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft}))},z.prototype.setScrollLeft=function(U){this.scrollLeft=U,this.thumbLeft=(U=U<0?0:U)*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"};var H,B=z;function z(U,Q){return U=H.call(this,U,"-h")||this,U.scrollLeft=0,U.scrollWidth=0,U.height=U.HScrollHeight,U.inner.style.height=U.element.style.height=(U.height||12)+"px",U.renderer=Q,U}B.prototype.setInnerWidth=B.prototype.setScrollWidth,E.ScrollBar=V,E.ScrollBarV=V,E.ScrollBarH=B,E.VScrollBar=V,E.HScrollBar=B}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(I,E,F){var O=I("./lib/event");function D(x,P){this.onRender=x,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=P||window;var G=this;this._flush=function(M){G.pending=!1;var N=G.changes;N&&(O.blockIdle(100),G.changes=0,G.onRender(N)),G.changes?G.$recursionLimit--<0||G.schedule():G.$recursionLimit=2}}D.prototype.schedule=function(x){this.changes=this.changes|x,this.changes&&!this.pending&&(O.nextFrame(this._flush),this.pending=!0)},D.prototype.clear=function(x){var P=this.changes;return this.changes=0,P},E.RenderLoop=D}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(M,E,F){var O=M("../lib/oop"),D=M("../lib/dom"),x=M("../lib/lang"),P=M("../lib/event"),G=M("../lib/useragent"),M=M("../lib/event_emitter").EventEmitter,N=typeof ResizeObserver=="function",V=(Z.prototype.$setMeasureNodeStyles=function(H,B){H.width=H.height="auto",H.left=H.top="0px",H.visibility="hidden",H.position="absolute",H.whiteSpace="pre",G.isIE<8?H["font-family"]="inherit":H.font="inherit",H.overflow=B?"hidden":"visible"},Z.prototype.checkForSizeChanges=function(H){var B;!(H=H===void 0?this.$measureSizes():H)||this.$characterSize.width===H.width&&this.$characterSize.height===H.height||(this.$measureNode.style.fontWeight="bold",B=this.$measureSizes(),this.$measureNode.style.fontWeight="",this.$characterSize=H,this.charSizes=Object.create(null),this.allowBoldFonts=B&&B.width===H.width&&B.height===H.height,this._emit("changeCharacterSize",{data:H}))},Z.prototype.$addObserver=function(){var H=this;this.$observer=new window.ResizeObserver(function(B){H.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},Z.prototype.$pollSizeChanges=function(){var H;return this.$pollSizeChangesTimer||this.$observer?this.$pollSizeChangesTimer:(H=this).$pollSizeChangesTimer=P.onIdle(function B(){H.checkForSizeChanges(),P.onIdle(B,500)},500)},Z.prototype.setPolling=function(H){H?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},Z.prototype.$measureSizes=function(H){return H={height:(H||this.$measureNode).clientHeight,width:(H||this.$measureNode).clientWidth/512},H.width===0||H.height===0?null:H},Z.prototype.$measureCharWidth=function(H){return this.$main.textContent=x.stringRepeat(H,512),this.$main.getBoundingClientRect().width/512},Z.prototype.getCharacterWidth=function(H){var B=this.charSizes[H];return B=B===void 0?this.charSizes[H]=this.$measureCharWidth(H)/this.$characterSize.width:B},Z.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},Z.prototype.$getZoom=function(H){return H&&H.parentElement?(window.getComputedStyle(H).zoom||1)*this.$getZoom(H.parentElement):1},Z.prototype.$initTransformMeasureNodes=function(){function H(B,z){return["div",{style:"position: absolute;top:"+B+"px;left:"+z+"px;"}]}this.els=D.buildDom([H(0,0),H(200,0),H(0,200),H(200,200)],this.el)},Z.prototype.transformCoordinates=function(H,B){function z(he,ye,ee){var pe=he[1]*ye[0]-he[0]*ye[1];return[(-ye[1]*ee[0]+ye[0]*ee[1])/pe,(+he[1]*ee[0]-he[0]*ee[1])/pe]}function U(he,ye){return[he[0]-ye[0],he[1]-ye[1]]}function Q(he,ye){return[he[0]+ye[0],he[1]+ye[1]]}function X(he,ye){return[he*ye[0],he*ye[1]]}function J(he){return he=he.getBoundingClientRect(),[he.left,he.top]}H=H&&X(1/this.$getZoom(this.el),H),this.els||this.$initTransformMeasureNodes();var ne,te=J(this.els[0]),se=J(this.els[1]),ge=J(this.els[2]),ce=J(this.els[3]),ce=z(U(ce,se),U(ce,ge),U(Q(se,ge),Q(ce,te))),se=X(1+ce[0],U(se,te)),ge=X(1+ce[1],U(ge,te));return B?(ne=ce[0]*B[0]/200+ce[1]*B[1]/200+1,B=Q(X(B[0],se),X(B[1],ge)),Q(X(1/ne/200,B),te)):(ne=U(H,te),B=z(U(se,X(ce[0],ne)),U(ge,X(ce[1],ne)),ne),X(200,B))},Z);function Z(H){this.el=D.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=D.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=D.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),H.appendChild(this.el),this.$measureNode.textContent=x.stringRepeat("X",512),this.$characterSize={width:0,height:0},N?this.$addObserver():this.checkForSizeChanges()}V.prototype.$characterSize={width:0,height:0},O.implement(V.prototype,M),E.FontMetrics=V}),ace.define("ace/css/editor-css",["require","exports","module"],function(I,E,F){F.exports=` .ace_br1 {border-top-left-radius : 3px;} .ace_br2 {border-top-right-radius : 3px;} .ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} @@ -1200,9 +1200,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho width:1px; height:1px; overflow:hidden; -}`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(x,E,F){var O=x("../lib/dom"),D=x("../lib/oop"),x=x("../lib/event_emitter").EventEmitter,P=(G.prototype.$updateDecorators=function(M){var N=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light,V=(M&&(this.maxHeight=M.maxHeight,this.lineHeight=M.lineHeight,this.canvasHeight=M.height,(M.lastRow+1)*this.lineHeightce.priority?1:0}),this.renderer.session.$foldData),z=0;zthis.canvasHeight&&(U=this.canvasHeight-this.halfMinDecorationHeight),J=Math.round(U-this.halfMinDecorationHeight),ne=Math.round(U+this.halfMinDecorationHeight)),V.fillStyle=N[Y[z].type]||null,V.fillRect(0,X,this.canvasWidth,ne-J)}M=this.renderer.session.selection.getCursor(),M&&(Q=this.compensateFoldRows(M.row,B),X=Math.round((M.row-Q)*this.lineHeight*this.heightRatio),V.fillStyle="rgba(0, 0, 0, 0.5)",V.fillRect(0,X,this.canvasWidth,2))},G.prototype.compensateFoldRows=function(M,N){var V=0;if(N&&0N[Y].start.row&&M=N[Y].end.row&&(V+=N[Y].end.row-N[Y].start.row);return V},G);function G(M,N){this.canvas=O.createElement("canvas"),this.renderer=N,this.pixelRatio=1,this.maxHeight=N.layerConfig.maxHeight,this.lineHeight=N.layerConfig.lineHeight,this.canvasHeight=M.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=M.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},M.element.appendChild(this.canvas)}D.implement(P.prototype,x),E.Decorator=P}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(ce,E,F){var O=ce("./lib/oop"),D=ce("./lib/dom"),x=ce("./lib/lang"),P=ce("./config"),G=ce("./layer/gutter").Gutter,M=ce("./layer/marker").Marker,N=ce("./layer/text").Text,V=ce("./layer/cursor").Cursor,Y=ce("./scrollbar").HScrollBar,H=ce("./scrollbar").VScrollBar,B=ce("./scrollbar_custom").HScrollBar,z=ce("./scrollbar_custom").VScrollBar,U=ce("./renderloop").RenderLoop,Q=ce("./layer/font_metrics").FontMetrics,X=ce("./lib/event_emitter").EventEmitter,J=ce("./css/editor-css"),ne=ce("./layer/decorators").Decorator,te=ce("./lib/useragent"),ce=(D.importCssString(J,"ace_editor.css",!1),se.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),D.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},se.prototype.setSession=function(ge){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),(this.session=ge)&&this.scrollMargin.top&&ge.getScrollTop()<=0&&ge.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(ge),this.$markerBack.setSession(ge),this.$markerFront.setSession(ge),this.$gutterLayer.setSession(ge),this.$textLayer.setSession(ge),ge&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},se.prototype.updateLines=function(ge,he,ye){if(he===void 0&&(he=1/0),this.$changedLines?(this.$changedLines.firstRow>ge&&(this.$changedLines.firstRow=ge),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},se.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},se.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},se.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},se.prototype.updateFull=function(ge){ge?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},se.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},se.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},se.prototype.onResize=function(ge,he,ye,ee){if(!(2ve.height-ee?D.translate(this.textarea,0,0):(ve=1,pe=this.$size.height-ee,ae?ae.useTextareaForIME?(ae=this.textarea.value,ve=this.characterWidth*this.session.$getStringScreenWidth(ae)[0]):he+=this.lineHeight+2:he+=this.lineHeight,(ye-=this.scrollLeft)>this.$size.scrollerWidth-ve&&(ye=this.$size.scrollerWidth-ve),ye+=this.gutterWidth+this.margin.left,D.setStyle(ge,"height",ee+"px"),D.setStyle(ge,"width",ve+"px"),D.translate(this.textarea,Math.min(ye,this.$size.scrollerWidth-ve),Math.min(he,pe)))):D.translate(this.textarea,-100,0))},se.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},se.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},se.prototype.getLastFullyVisibleRow=function(){var ge=this.layerConfig,he=ge.lastRow;return this.session.documentToScreenRow(he,0)*ge.lineHeight-this.session.getScrollTop()>ge.height-ge.lineHeight?he-1:he},se.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},se.prototype.setPadding=function(ge){this.$padding=ge,this.$textLayer.setPadding(ge),this.$cursorLayer.setPadding(ge),this.$markerFront.setPadding(ge),this.$markerBack.setPadding(ge),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},se.prototype.setScrollMargin=function(ge,he,ye,ee){var pe=this.scrollMargin;pe.top=0|ge,pe.bottom=0|he,pe.right=0|ee,pe.left=0|ye,pe.v=pe.top+pe.bottom,pe.h=pe.left+pe.right,pe.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-pe.top),this.updateFull()},se.prototype.setMargin=function(ge,he,ye,ee){var pe=this.margin;pe.top=0|ge,pe.bottom=0|he,pe.right=0|ee,pe.left=0|ye,pe.v=pe.top+pe.bottom,pe.h=pe.left+pe.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},se.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},se.prototype.setHScrollBarAlwaysVisible=function(ge){this.setOption("hScrollBarAlwaysVisible",ge)},se.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},se.prototype.setVScrollBarAlwaysVisible=function(ge){this.setOption("vScrollBarAlwaysVisible",ge)},se.prototype.$updateScrollBarV=function(){var ge=this.layerConfig.maxHeight,he=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(ge-=(he-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>ge-he)&&(ge=this.scrollTop+he,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(ge+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},se.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},se.prototype.freeze=function(){this.$frozen=!0},se.prototype.unfreeze=function(){this.$frozen=!1},se.prototype.$renderChanges=function(ge,he){if(this.$changes&&(ge|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(ge||he)){if(this.$size.$dirty)return this.$changes|=ge,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",ge),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var ye,ee,he=this.layerConfig;(ge&this.CHANGE_FULL||ge&this.CHANGE_SIZE||ge&this.CHANGE_TEXT||ge&this.CHANGE_LINES||ge&this.CHANGE_SCROLL||ge&this.CHANGE_H_SCROLL)&&(ge|=this.$computeLayerConfig()|this.$loop.clear(),he.firstRow!=this.layerConfig.firstRow&&he.firstRowScreen==this.layerConfig.firstRowScreen&&0<(ye=this.scrollTop+(he.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight)&&(this.scrollTop=ye,ge=(ge|=this.CHANGE_SCROLL)|(this.$computeLayerConfig()|this.$loop.clear())),he=this.layerConfig,this.$updateScrollBarV(),ge&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),D.translate(this.content,-this.scrollLeft,-he.offset),ye=he.width+2*this.$padding+"px",ee=he.minHeight+"px",D.setStyle(this.content.style,"width",ye),D.setStyle(this.content.style,"height",ee)),ge&this.CHANGE_H_SCROLL&&(D.translate(this.content,-this.scrollLeft,-he.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility)&&(this.scroller.className+=this.keyboardFocusClassName),ge&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(he),this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he),this.$markerBack.update(he),this.$markerFront.update(he),this.$cursorLayer.update(he),this.$moveTextAreaToCursor()):ge&this.CHANGE_SCROLL?(this.$changedLines=null,ge&this.CHANGE_TEXT||ge&this.CHANGE_LINES?this.$textLayer.update(he):this.$textLayer.scrollLines(he),this.$showGutter&&(ge&this.CHANGE_GUTTER||ge&this.CHANGE_LINES?this.$gutterLayer.update(he):this.$gutterLayer.scrollLines(he)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he),this.$markerBack.update(he),this.$markerFront.update(he),this.$cursorLayer.update(he),this.$moveTextAreaToCursor()):(ge&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(he),this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_LINES?((this.$updateLines()||ge&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_TEXT||ge&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(he),this.$customScrollbar)&&this.$scrollDecorator.$updateDecorators(he),ge&this.CHANGE_CURSOR&&(this.$cursorLayer.update(he),this.$moveTextAreaToCursor()),ge&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(he),ge&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(he)),this._signal("afterRender",ge)}else this.$changes|=ge},se.prototype.$autosize=function(){var ge=this.session.getScreenLength()*this.lineHeight,he=this.$maxLines*this.lineHeight,ye=Math.min(he,Math.max((this.$minLines||1)*this.lineHeight,ge))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(ye+=this.scrollBarH.getHeight()),he=!((ye=this.$maxPixelHeight&&ye>this.$maxPixelHeight?this.$maxPixelHeight:ye)<=2*this.lineHeight)&&hewe.top)),ve=_e!==Ce,we=(ve&&(this.$vScroll=Ce,this.scrollBarV.setVisible(Ce)),this.scrollTop%this.lineHeight),_e=Math.ceil(ae/this.lineHeight)-1,_e=(Ce=Math.max(0,Math.round((this.scrollTop-we)/this.lineHeight)))+_e,Te=this.lineHeight,Ce=Ee.screenToDocumentRow(Ce,0),Ae=Ee.getFoldLine(Ce),Ee=(Ae&&(Ce=Ae.start.row),Ae=Ee.documentToScreenRow(Ce,0),ge=Ee.getRowLength(Ce)*Te,_e=Math.min(Ee.screenToDocumentRow(_e,0),Ee.getLength()-1),ae=he.scrollerHeight+Ee.getRowLength(_e)*Te+ge,we=this.scrollTop-Ae*Te,0);return this.layerConfig.width==ee&&!pe||(Ee=this.CHANGE_H_SCROLL),(pe||ve)&&(Ee|=this.$updateCachedSize(!0,this.gutterWidth,he.width,he.height),this._signal("scrollbarVisibilityChanged"),ve)&&(ee=this.$getLongestLine()),this.layerConfig={width:ee,padding:this.$padding,firstRow:Ce,firstRowScreen:Ae,lastRow:_e,lineHeight:Te,characterWidth:this.characterWidth,minHeight:ae,maxHeight:ye,offset:we,gutterOffset:Te?Math.max(0,Math.ceil((we+he.height-he.scrollerHeight)/Te)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(ee-this.$padding),Ee},se.prototype.$updateLines=function(){if(this.$changedLines){var ge=this.$changedLines.firstRow,he=this.$changedLines.lastRow,ye=(this.$changedLines=null,this.layerConfig);if(!(ge>ye.lastRow+1||hethis.$textLayer.MAX_LINE_LENGTH&&(ge=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(ge*this.characterWidth))},se.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},se.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},se.prototype.addGutterDecoration=function(ge,he){this.$gutterLayer.addGutterDecoration(ge,he)},se.prototype.removeGutterDecoration=function(ge,he){this.$gutterLayer.removeGutterDecoration(ge,he)},se.prototype.updateBreakpoints=function(ge){this._rows=ge,this.$loop.schedule(this.CHANGE_GUTTER)},se.prototype.setAnnotations=function(ge){this.$gutterLayer.setAnnotations(ge),this.$loop.schedule(this.CHANGE_GUTTER)},se.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},se.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},se.prototype.showCursor=function(){this.$cursorLayer.showCursor()},se.prototype.scrollSelectionIntoView=function(ge,he,ye){this.scrollCursorIntoView(ge,ye),this.scrollCursorIntoView(he,ye)},se.prototype.scrollCursorIntoView=function(ge,he,ye){var ee,pe,ae;this.$size.scrollerHeight!==0&&(ee=(ge=this.$cursorLayer.getPixelPosition(ge)).left,ge=ge.top,pe=ye&&ye.top||0,ye=ye&&ye.bottom||0,this.$scrollAnimation&&(this.$stopAnimation=!0),ge<(ae=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop)+pe?(he&&ae+pe>ge+this.lineHeight&&(ge-=he*this.$size.scrollerHeight),ge===0&&(ge=-this.scrollMargin.top),this.session.setScrollTop(ge)):ae+this.$size.scrollerHeight-ye=1-this.scrollMargin.top||0=1-this.scrollMargin.left||0").concat(ve.text,"")}),this.$ghostTextWidget={html:ge.join(""),row:pe.row,column:pe.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget),ge=this.$cursorLayer.getPixelPosition(pe,!0),ye=this.container.getBoundingClientRect().height,(ee=ae.length*this.lineHeight)this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:N}))}}).call(M.prototype),E.UIWorkerClient=function(N,V,Y){var H=null,B=!1,z=Object.create(x),U=[],Q=new M({messageBuffer:U,terminate:function(){},postMessage:function(J){U.push(J),H&&(B?setTimeout(X):X())}}),X=(Q.setEmitSync=function(J){B=J},function(){var J=U.shift();J.command?H[J.command].apply(H,J.args):J.event&&z._signal(J.event,J.data)});return z.postMessage=function(J){Q.onMessage({data:J})},z.callback=function(J,ne){this.postMessage({type:"call",id:ne,data:J})},z.emit=function(J,ne){this.postMessage({type:"event",name:J,data:ne})},P.loadModule(["worker",V],function(J){for(H=new J[Y](z);U.length;)X()}),Q},E.WorkerClient=M,E.createWorker=G}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(x,E,F){var O=x("./range").Range,D=x("./lib/event_emitter").EventEmitter,x=x("./lib/oop"),P=(G.prototype.setup=function(){var M=this,N=this.doc,V=this.session,Y=(this.selectionBefore=V.selection.toJSON(),V.selection.inMultiSelectMode&&V.selection.toSingleRange(),this.pos=N.createAnchor(this.$pos.row,this.$pos.column),this.pos);Y.$insertRight=!0,Y.detach(),Y.markerId=V.addMarker(new O(Y.row,Y.column,Y.row,Y.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(H){H=N.createAnchor(H.row,H.column),H.$insertRight=!0,H.detach(),M.others.push(H)}),V.setUndoSelect(!1)},G.prototype.showOtherMarkers=function(){var M,N;this.othersActive||(M=this.session,(N=this).othersActive=!0,this.others.forEach(function(V){V.markerId=M.addMarker(new O(V.row,V.column,V.row,V.column+N.length),N.othersClass,null,!1)}))},G.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var M=0;M=this.pos.column&&N.start.column<=this.pos.column+this.length+1,H=N.start.column-this.pos.column;if(this.updateAnchors(M),Y&&(this.length+=V),Y&&!this.session.$fromUndo){if(M.action==="insert")for(var B=this.others.length-1;0<=B;B--){var z={row:(U=this.others[B]).row,column:U.column+H};this.doc.insertMergedLines(z,M.lines)}else if(M.action==="remove")for(B=this.others.length-1;0<=B;B--){var U,z={row:(U=this.others[B]).row,column:U.column+H};this.doc.remove(new O(z.row,z.column,z.row,z.column-V))}}this.$updating=!1,this.updateMarkers()}},G.prototype.updateAnchors=function(M){this.pos.onChange(M);for(var N=this.others.length;N--;)this.others[N].onChange(M);this.updateMarkers()},G.prototype.updateMarkers=function(){if(!this.$updating){var M=this,N=this.session,V=function(H,B){N.removeMarker(H.markerId),H.markerId=N.addMarker(new O(H.row,H.column,H.row,H.column+M.length),B,null,!1)};V(this.pos,this.mainClass);for(var Y=this.others.length;Y--;)V(this.others[Y],this.othersClass)}},G.prototype.onCursorChange=function(M){var N;!this.$updating&&this.session&&((N=this.session.selection.getCursor()).row===this.pos.row&&N.column>=this.pos.column&&N.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",M)):(this.hideOtherMarkers(),this._emit("cursorLeave",M)))},G.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},G.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var M=this.session.getUndoManager(),N=(M.$undoStack||M.$undostack).length-this.$undoStackDepth,V=0;VJ&&(J=pe.column),(ae=ae==-1?0:ae)ce.priority?1:0}),this.renderer.session.$foldData),z=0;zthis.canvasHeight&&(U=this.canvasHeight-this.halfMinDecorationHeight),J=Math.round(U-this.halfMinDecorationHeight),ne=Math.round(U+this.halfMinDecorationHeight)),V.fillStyle=N[Z[z].type]||null,V.fillRect(0,X,this.canvasWidth,ne-J)}M=this.renderer.session.selection.getCursor(),M&&(Q=this.compensateFoldRows(M.row,B),X=Math.round((M.row-Q)*this.lineHeight*this.heightRatio),V.fillStyle="rgba(0, 0, 0, 0.5)",V.fillRect(0,X,this.canvasWidth,2))},G.prototype.compensateFoldRows=function(M,N){var V=0;if(N&&0N[Z].start.row&&M=N[Z].end.row&&(V+=N[Z].end.row-N[Z].start.row);return V},G);function G(M,N){this.canvas=O.createElement("canvas"),this.renderer=N,this.pixelRatio=1,this.maxHeight=N.layerConfig.maxHeight,this.lineHeight=N.layerConfig.lineHeight,this.canvasHeight=M.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=M.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},M.element.appendChild(this.canvas)}D.implement(P.prototype,x),E.Decorator=P}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(ce,E,F){var O=ce("./lib/oop"),D=ce("./lib/dom"),x=ce("./lib/lang"),P=ce("./config"),G=ce("./layer/gutter").Gutter,M=ce("./layer/marker").Marker,N=ce("./layer/text").Text,V=ce("./layer/cursor").Cursor,Z=ce("./scrollbar").HScrollBar,H=ce("./scrollbar").VScrollBar,B=ce("./scrollbar_custom").HScrollBar,z=ce("./scrollbar_custom").VScrollBar,U=ce("./renderloop").RenderLoop,Q=ce("./layer/font_metrics").FontMetrics,X=ce("./lib/event_emitter").EventEmitter,J=ce("./css/editor-css"),ne=ce("./layer/decorators").Decorator,te=ce("./lib/useragent"),ce=(D.importCssString(J,"ace_editor.css",!1),se.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),D.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},se.prototype.setSession=function(ge){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),(this.session=ge)&&this.scrollMargin.top&&ge.getScrollTop()<=0&&ge.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(ge),this.$markerBack.setSession(ge),this.$markerFront.setSession(ge),this.$gutterLayer.setSession(ge),this.$textLayer.setSession(ge),ge&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},se.prototype.updateLines=function(ge,he,ye){if(he===void 0&&(he=1/0),this.$changedLines?(this.$changedLines.firstRow>ge&&(this.$changedLines.firstRow=ge),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},se.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},se.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},se.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},se.prototype.updateFull=function(ge){ge?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},se.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},se.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},se.prototype.onResize=function(ge,he,ye,ee){if(!(2ve.height-ee?D.translate(this.textarea,0,0):(ve=1,pe=this.$size.height-ee,ae?ae.useTextareaForIME?(ae=this.textarea.value,ve=this.characterWidth*this.session.$getStringScreenWidth(ae)[0]):he+=this.lineHeight+2:he+=this.lineHeight,(ye-=this.scrollLeft)>this.$size.scrollerWidth-ve&&(ye=this.$size.scrollerWidth-ve),ye+=this.gutterWidth+this.margin.left,D.setStyle(ge,"height",ee+"px"),D.setStyle(ge,"width",ve+"px"),D.translate(this.textarea,Math.min(ye,this.$size.scrollerWidth-ve),Math.min(he,pe)))):D.translate(this.textarea,-100,0))},se.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},se.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},se.prototype.getLastFullyVisibleRow=function(){var ge=this.layerConfig,he=ge.lastRow;return this.session.documentToScreenRow(he,0)*ge.lineHeight-this.session.getScrollTop()>ge.height-ge.lineHeight?he-1:he},se.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},se.prototype.setPadding=function(ge){this.$padding=ge,this.$textLayer.setPadding(ge),this.$cursorLayer.setPadding(ge),this.$markerFront.setPadding(ge),this.$markerBack.setPadding(ge),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},se.prototype.setScrollMargin=function(ge,he,ye,ee){var pe=this.scrollMargin;pe.top=0|ge,pe.bottom=0|he,pe.right=0|ee,pe.left=0|ye,pe.v=pe.top+pe.bottom,pe.h=pe.left+pe.right,pe.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-pe.top),this.updateFull()},se.prototype.setMargin=function(ge,he,ye,ee){var pe=this.margin;pe.top=0|ge,pe.bottom=0|he,pe.right=0|ee,pe.left=0|ye,pe.v=pe.top+pe.bottom,pe.h=pe.left+pe.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},se.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},se.prototype.setHScrollBarAlwaysVisible=function(ge){this.setOption("hScrollBarAlwaysVisible",ge)},se.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},se.prototype.setVScrollBarAlwaysVisible=function(ge){this.setOption("vScrollBarAlwaysVisible",ge)},se.prototype.$updateScrollBarV=function(){var ge=this.layerConfig.maxHeight,he=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(ge-=(he-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>ge-he)&&(ge=this.scrollTop+he,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(ge+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},se.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},se.prototype.freeze=function(){this.$frozen=!0},se.prototype.unfreeze=function(){this.$frozen=!1},se.prototype.$renderChanges=function(ge,he){if(this.$changes&&(ge|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(ge||he)){if(this.$size.$dirty)return this.$changes|=ge,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",ge),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var ye,ee,he=this.layerConfig;(ge&this.CHANGE_FULL||ge&this.CHANGE_SIZE||ge&this.CHANGE_TEXT||ge&this.CHANGE_LINES||ge&this.CHANGE_SCROLL||ge&this.CHANGE_H_SCROLL)&&(ge|=this.$computeLayerConfig()|this.$loop.clear(),he.firstRow!=this.layerConfig.firstRow&&he.firstRowScreen==this.layerConfig.firstRowScreen&&0<(ye=this.scrollTop+(he.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight)&&(this.scrollTop=ye,ge=(ge|=this.CHANGE_SCROLL)|(this.$computeLayerConfig()|this.$loop.clear())),he=this.layerConfig,this.$updateScrollBarV(),ge&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),D.translate(this.content,-this.scrollLeft,-he.offset),ye=he.width+2*this.$padding+"px",ee=he.minHeight+"px",D.setStyle(this.content.style,"width",ye),D.setStyle(this.content.style,"height",ee)),ge&this.CHANGE_H_SCROLL&&(D.translate(this.content,-this.scrollLeft,-he.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility)&&(this.scroller.className+=this.keyboardFocusClassName),ge&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(he),this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he),this.$markerBack.update(he),this.$markerFront.update(he),this.$cursorLayer.update(he),this.$moveTextAreaToCursor()):ge&this.CHANGE_SCROLL?(this.$changedLines=null,ge&this.CHANGE_TEXT||ge&this.CHANGE_LINES?this.$textLayer.update(he):this.$textLayer.scrollLines(he),this.$showGutter&&(ge&this.CHANGE_GUTTER||ge&this.CHANGE_LINES?this.$gutterLayer.update(he):this.$gutterLayer.scrollLines(he)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he),this.$markerBack.update(he),this.$markerFront.update(he),this.$cursorLayer.update(he),this.$moveTextAreaToCursor()):(ge&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(he),this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_LINES?((this.$updateLines()||ge&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_TEXT||ge&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(he),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(he)):ge&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(he),this.$customScrollbar)&&this.$scrollDecorator.$updateDecorators(he),ge&this.CHANGE_CURSOR&&(this.$cursorLayer.update(he),this.$moveTextAreaToCursor()),ge&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(he),ge&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(he)),this._signal("afterRender",ge)}else this.$changes|=ge},se.prototype.$autosize=function(){var ge=this.session.getScreenLength()*this.lineHeight,he=this.$maxLines*this.lineHeight,ye=Math.min(he,Math.max((this.$minLines||1)*this.lineHeight,ge))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(ye+=this.scrollBarH.getHeight()),he=!((ye=this.$maxPixelHeight&&ye>this.$maxPixelHeight?this.$maxPixelHeight:ye)<=2*this.lineHeight)&&hewe.top)),ve=_e!==Ce,we=(ve&&(this.$vScroll=Ce,this.scrollBarV.setVisible(Ce)),this.scrollTop%this.lineHeight),_e=Math.ceil(ae/this.lineHeight)-1,_e=(Ce=Math.max(0,Math.round((this.scrollTop-we)/this.lineHeight)))+_e,Te=this.lineHeight,Ce=Ee.screenToDocumentRow(Ce,0),Ae=Ee.getFoldLine(Ce),Ee=(Ae&&(Ce=Ae.start.row),Ae=Ee.documentToScreenRow(Ce,0),ge=Ee.getRowLength(Ce)*Te,_e=Math.min(Ee.screenToDocumentRow(_e,0),Ee.getLength()-1),ae=he.scrollerHeight+Ee.getRowLength(_e)*Te+ge,we=this.scrollTop-Ae*Te,0);return this.layerConfig.width==ee&&!pe||(Ee=this.CHANGE_H_SCROLL),(pe||ve)&&(Ee|=this.$updateCachedSize(!0,this.gutterWidth,he.width,he.height),this._signal("scrollbarVisibilityChanged"),ve)&&(ee=this.$getLongestLine()),this.layerConfig={width:ee,padding:this.$padding,firstRow:Ce,firstRowScreen:Ae,lastRow:_e,lineHeight:Te,characterWidth:this.characterWidth,minHeight:ae,maxHeight:ye,offset:we,gutterOffset:Te?Math.max(0,Math.ceil((we+he.height-he.scrollerHeight)/Te)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(ee-this.$padding),Ee},se.prototype.$updateLines=function(){if(this.$changedLines){var ge=this.$changedLines.firstRow,he=this.$changedLines.lastRow,ye=(this.$changedLines=null,this.layerConfig);if(!(ge>ye.lastRow+1||hethis.$textLayer.MAX_LINE_LENGTH&&(ge=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(ge*this.characterWidth))},se.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},se.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},se.prototype.addGutterDecoration=function(ge,he){this.$gutterLayer.addGutterDecoration(ge,he)},se.prototype.removeGutterDecoration=function(ge,he){this.$gutterLayer.removeGutterDecoration(ge,he)},se.prototype.updateBreakpoints=function(ge){this._rows=ge,this.$loop.schedule(this.CHANGE_GUTTER)},se.prototype.setAnnotations=function(ge){this.$gutterLayer.setAnnotations(ge),this.$loop.schedule(this.CHANGE_GUTTER)},se.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},se.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},se.prototype.showCursor=function(){this.$cursorLayer.showCursor()},se.prototype.scrollSelectionIntoView=function(ge,he,ye){this.scrollCursorIntoView(ge,ye),this.scrollCursorIntoView(he,ye)},se.prototype.scrollCursorIntoView=function(ge,he,ye){var ee,pe,ae;this.$size.scrollerHeight!==0&&(ee=(ge=this.$cursorLayer.getPixelPosition(ge)).left,ge=ge.top,pe=ye&&ye.top||0,ye=ye&&ye.bottom||0,this.$scrollAnimation&&(this.$stopAnimation=!0),ge<(ae=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop)+pe?(he&&ae+pe>ge+this.lineHeight&&(ge-=he*this.$size.scrollerHeight),ge===0&&(ge=-this.scrollMargin.top),this.session.setScrollTop(ge)):ae+this.$size.scrollerHeight-ye=1-this.scrollMargin.top||0=1-this.scrollMargin.left||0").concat(ve.text,"")}),this.$ghostTextWidget={html:ge.join(""),row:pe.row,column:pe.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget),ge=this.$cursorLayer.getPixelPosition(pe,!0),ye=this.container.getBoundingClientRect().height,(ee=ae.length*this.lineHeight)this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:N}))}}).call(M.prototype),E.UIWorkerClient=function(N,V,Z){var H=null,B=!1,z=Object.create(x),U=[],Q=new M({messageBuffer:U,terminate:function(){},postMessage:function(J){U.push(J),H&&(B?setTimeout(X):X())}}),X=(Q.setEmitSync=function(J){B=J},function(){var J=U.shift();J.command?H[J.command].apply(H,J.args):J.event&&z._signal(J.event,J.data)});return z.postMessage=function(J){Q.onMessage({data:J})},z.callback=function(J,ne){this.postMessage({type:"call",id:ne,data:J})},z.emit=function(J,ne){this.postMessage({type:"event",name:J,data:ne})},P.loadModule(["worker",V],function(J){for(H=new J[Z](z);U.length;)X()}),Q},E.WorkerClient=M,E.createWorker=G}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(x,E,F){var O=x("./range").Range,D=x("./lib/event_emitter").EventEmitter,x=x("./lib/oop"),P=(G.prototype.setup=function(){var M=this,N=this.doc,V=this.session,Z=(this.selectionBefore=V.selection.toJSON(),V.selection.inMultiSelectMode&&V.selection.toSingleRange(),this.pos=N.createAnchor(this.$pos.row,this.$pos.column),this.pos);Z.$insertRight=!0,Z.detach(),Z.markerId=V.addMarker(new O(Z.row,Z.column,Z.row,Z.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(H){H=N.createAnchor(H.row,H.column),H.$insertRight=!0,H.detach(),M.others.push(H)}),V.setUndoSelect(!1)},G.prototype.showOtherMarkers=function(){var M,N;this.othersActive||(M=this.session,(N=this).othersActive=!0,this.others.forEach(function(V){V.markerId=M.addMarker(new O(V.row,V.column,V.row,V.column+N.length),N.othersClass,null,!1)}))},G.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var M=0;M=this.pos.column&&N.start.column<=this.pos.column+this.length+1,H=N.start.column-this.pos.column;if(this.updateAnchors(M),Z&&(this.length+=V),Z&&!this.session.$fromUndo){if(M.action==="insert")for(var B=this.others.length-1;0<=B;B--){var z={row:(U=this.others[B]).row,column:U.column+H};this.doc.insertMergedLines(z,M.lines)}else if(M.action==="remove")for(B=this.others.length-1;0<=B;B--){var U,z={row:(U=this.others[B]).row,column:U.column+H};this.doc.remove(new O(z.row,z.column,z.row,z.column-V))}}this.$updating=!1,this.updateMarkers()}},G.prototype.updateAnchors=function(M){this.pos.onChange(M);for(var N=this.others.length;N--;)this.others[N].onChange(M);this.updateMarkers()},G.prototype.updateMarkers=function(){if(!this.$updating){var M=this,N=this.session,V=function(H,B){N.removeMarker(H.markerId),H.markerId=N.addMarker(new O(H.row,H.column,H.row,H.column+M.length),B,null,!1)};V(this.pos,this.mainClass);for(var Z=this.others.length;Z--;)V(this.others[Z],this.othersClass)}},G.prototype.onCursorChange=function(M){var N;!this.$updating&&this.session&&((N=this.session.selection.getCursor()).row===this.pos.row&&N.column>=this.pos.column&&N.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",M)):(this.hideOtherMarkers(),this._emit("cursorLeave",M)))},G.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},G.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var M=this.session.getUndoManager(),N=(M.$undoStack||M.$undostack).length-this.$undoStackDepth,V=0;VJ&&(J=pe.column),(ae=ae==-1?0:ae)ge[1].length&&(U=ge[1].length),Qge[3].length&&(X=ge[3].length)),ge):[se]}).map(z?ce:J?ne?function(se){return se[2]?te(U+Q-se[2].length)+se[2]+te(X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]}:ce:function(se){return se[2]?te(U)+se[2]+te(X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]});function te(se){return M.stringRepeat(" ",se)}function ce(se){return se[2]?te(U)+se[2]+te(Q-se[2].length+X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]}}}).call(Y.prototype),E.onSessionChange=function(U){var z=U.session,U=(z&&!z.multiSelect&&(z.$selectionMarkers=[],z.selection.$initRangeList(),z.multiSelect=z.selection),this.multiSelect=z&&z.multiSelect,U.oldSession);U&&(U.multiSelect.off("addRange",this.$onAddRange),U.multiSelect.off("removeRange",this.$onRemoveRange),U.multiSelect.off("multiSelect",this.$onMultiSelect),U.multiSelect.off("singleSelect",this.$onSingleSelect),U.multiSelect.lead.off("change",this.$checkMultiselectChange),U.multiSelect.anchor.off("change",this.$checkMultiselectChange)),z&&(z.multiSelect.on("addRange",this.$onAddRange),z.multiSelect.on("removeRange",this.$onRemoveRange),z.multiSelect.on("multiSelect",this.$onMultiSelect),z.multiSelect.on("singleSelect",this.$onSingleSelect),z.multiSelect.lead.on("change",this.$checkMultiselectChange),z.multiSelect.anchor.on("change",this.$checkMultiselectChange)),z&&this.inMultiSelectMode!=z.selection.inMultiSelectMode&&(z.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},E.MultiSelect=H,I("./config").defineOptions(Y.prototype,"editor",{enableMultiselect:{set:function(B){H(this),B?this.on("mousedown",P):this.off("mousedown",P)},value:!0},enableBlockSelect:{set:function(B){this.$blockSelectEnabled=B},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(D,E,F){var O=D("../../range").Range,D=E.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(x,P,G){return x=x.getLine(G),this.foldingStartMarker.test(x)?"start":P=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(x)?"end":""},this.getFoldWidgetRange=function(x,P,G){return null},this.indentationBlock=function(x,P,G){var M=/\S/,N=x.getLine(P),V=N.search(M);if(V!=-1){for(var Y,G=G||N.length,H=x.getLength(),N=P,B=P;++PG.row&&(M.row--,M.column=x.getLine(M.row).length),O.fromPoints(G,M)},this.closingBracketBlock=function(x,P,G,M,N){if(G={row:G,column:M},M=x.$findOpeningBracket(P,G),M)return M.column++,G.column--,O.fromPoints(M,G)}}).call(D.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(I,E,F){var O=I("../line_widgets").LineWidgets,D=I("../lib/dom"),x=I("../range").Range,P=I("../config").nls;function G(M,N,V){var Y=M.getAnnotations().sort(x.comparePoints);if(Y.length){var H=function(U,Q,X){for(var J=0,ne=U.length-1;J<=ne;){var te=J+ne>>1,ce=X(Q,U[te]);if(0=Y.length?H=0"),U.appendChild(D.createElement("div")),z.destroy=function(){M.$mouseHandler.isMousePressed||(M.keyBinding.removeKeyboardHandler(B),Y.widgetManager.removeLineWidget(z),M.off("changeSelection",z.destroy),M.off("changeSession",z.destroy),M.off("mouseup",z.destroy),M.off("change",z.destroy))},M.keyBinding.addKeyboardHandler(B),M.on("changeSelection",z.destroy),M.on("changeSession",z.destroy),M.on("mouseup",z.destroy),M.on("change",z.destroy),M.session.widgetManager.addLineWidget(z),z.el.onmousedown=M.focus.bind(M),M.renderer.scrollCursorIntoView(null,.5,{bottom:z.el.offsetHeight})},D.importCssString(` +`),U||(X.start.column=0,X.end.column=ye[ye.length-1].length),this.selection.setRange(X)}},this.$reAlignText=function(B,z){var U,Q,X,J=!0,ne=!0;return B.map(function(se){var ge=se.match(/(\s*)(.*?)(\s*)([=:].*)/);return ge?(U==null?(U=ge[1].length,Q=ge[2].length,X=ge[3].length):(U+Q+X!=ge[1].length+ge[2].length+ge[3].length&&(ne=!1),U!=ge[1].length&&(J=!1),U>ge[1].length&&(U=ge[1].length),Qge[3].length&&(X=ge[3].length)),ge):[se]}).map(z?ce:J?ne?function(se){return se[2]?te(U+Q-se[2].length)+se[2]+te(X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]}:ce:function(se){return se[2]?te(U)+se[2]+te(X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]});function te(se){return M.stringRepeat(" ",se)}function ce(se){return se[2]?te(U)+se[2]+te(Q-se[2].length+X)+se[4].replace(/^([=:])\s+/,"$1 "):se[0]}}}).call(Z.prototype),E.onSessionChange=function(U){var z=U.session,U=(z&&!z.multiSelect&&(z.$selectionMarkers=[],z.selection.$initRangeList(),z.multiSelect=z.selection),this.multiSelect=z&&z.multiSelect,U.oldSession);U&&(U.multiSelect.off("addRange",this.$onAddRange),U.multiSelect.off("removeRange",this.$onRemoveRange),U.multiSelect.off("multiSelect",this.$onMultiSelect),U.multiSelect.off("singleSelect",this.$onSingleSelect),U.multiSelect.lead.off("change",this.$checkMultiselectChange),U.multiSelect.anchor.off("change",this.$checkMultiselectChange)),z&&(z.multiSelect.on("addRange",this.$onAddRange),z.multiSelect.on("removeRange",this.$onRemoveRange),z.multiSelect.on("multiSelect",this.$onMultiSelect),z.multiSelect.on("singleSelect",this.$onSingleSelect),z.multiSelect.lead.on("change",this.$checkMultiselectChange),z.multiSelect.anchor.on("change",this.$checkMultiselectChange)),z&&this.inMultiSelectMode!=z.selection.inMultiSelectMode&&(z.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},E.MultiSelect=H,I("./config").defineOptions(Z.prototype,"editor",{enableMultiselect:{set:function(B){H(this),B?this.on("mousedown",P):this.off("mousedown",P)},value:!0},enableBlockSelect:{set:function(B){this.$blockSelectEnabled=B},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(D,E,F){var O=D("../../range").Range,D=E.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(x,P,G){return x=x.getLine(G),this.foldingStartMarker.test(x)?"start":P=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(x)?"end":""},this.getFoldWidgetRange=function(x,P,G){return null},this.indentationBlock=function(x,P,G){var M=/\S/,N=x.getLine(P),V=N.search(M);if(V!=-1){for(var Z,G=G||N.length,H=x.getLength(),N=P,B=P;++PG.row&&(M.row--,M.column=x.getLine(M.row).length),O.fromPoints(G,M)},this.closingBracketBlock=function(x,P,G,M,N){if(G={row:G,column:M},M=x.$findOpeningBracket(P,G),M)return M.column++,G.column--,O.fromPoints(M,G)}}).call(D.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(I,E,F){var O=I("../line_widgets").LineWidgets,D=I("../lib/dom"),x=I("../range").Range,P=I("../config").nls;function G(M,N,V){var Z=M.getAnnotations().sort(x.comparePoints);if(Z.length){var H=function(U,Q,X){for(var J=0,ne=U.length-1;J<=ne;){var te=J+ne>>1,ce=X(Q,U[te]);if(0=Z.length?H=0"),U.appendChild(D.createElement("div")),z.destroy=function(){M.$mouseHandler.isMousePressed||(M.keyBinding.removeKeyboardHandler(B),Z.widgetManager.removeLineWidget(z),M.off("changeSelection",z.destroy),M.off("changeSession",z.destroy),M.off("mouseup",z.destroy),M.off("change",z.destroy))},M.keyBinding.addKeyboardHandler(B),M.on("changeSelection",z.destroy),M.on("changeSession",z.destroy),M.on("mouseup",z.destroy),M.on("change",z.destroy),M.session.widgetManager.addLineWidget(z),z.el.onmousedown=M.focus.bind(M),M.renderer.scrollCursorIntoView(null,.5,{bottom:z.el.offsetHeight})},D.importCssString(` .error_widget_wrapper { background: inherit; color: inherit; @@ -1235,20 +1235,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho border-left-color: transparent!important; top: -5px; } -`,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(I,E,F){I("./loader_build")(E);var O=I("./lib/dom"),D=I("./range").Range,x=I("./editor").Editor,P=I("./edit_session").EditSession,G=I("./undomanager").UndoManager,M=I("./virtual_renderer").VirtualRenderer;I("./worker/worker_client"),I("./keyboard/hash_handler"),I("./placeholder"),I("./multi_select"),I("./mode/folding/fold_mode"),I("./theme/textmate"),I("./ext/error_marker"),E.config=I("./config"),E.edit=function(N,V){if(typeof N=="string"){var Y=N;if(!(N=document.getElementById(Y)))throw new Error("ace.edit can't find div #"+Y)}var H,B;return N&&N.env&&N.env.editor instanceof x?N.env.editor:(Y="",N&&/input|textarea/i.test(N.tagName)?(Y=(H=N).value,N=O.createElement("pre"),H.parentNode.replaceChild(N,H)):N&&(Y=N.textContent,N.innerHTML=""),Y=E.createEditSession(Y),N=new x(new M(N),Y,V),B={document:Y,editor:N,onResize:N.resize.bind(N,null)},H&&(B.textarea=H),N.on("destroy",function(){B.editor.container.env=null}),N.container.env=N.env=B,N)},E.createEditSession=function(N,V){return N=new P(N,V),N.setUndoManager(new G),N},E.Range=D,E.Editor=x,E.EditSession=P,E.UndoManager=G,E.VirtualRenderer=M,E.version=E.config.version}),ace.require(["ace/ace"],function(I){I&&(I.config.init(!0),I.define=ace.define);var E,F=function(){return this}();for(E in(F=(F=F||typeof window=="undefined"?F:window)||typeof self=="undefined"?F:self).ace||(F.ace=I),I)I.hasOwnProperty(E)&&(F.ace[E]=I[E]);F.ace.default=F.ace,d&&(d.exports=F.ace)})},6489:function(d,g,v){d=v.nmd(d),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(y,A,b){var _=y("./lib/dom"),H=y("./lib/oop"),w=y("./lib/event_emitter").EventEmitter,S=y("./lib/lang"),C=y("./range").Range,T=y("./range_list").RangeList,I=y("./keyboard/hash_handler").HashHandler,E=y("./tokenizer").Tokenizer,F=y("./clipboard"),O={CURRENT_WORD:function(B){return B.session.getTextRange(B.session.getWordRange())},SELECTION:function(B,z,U){return B=B.session.getTextRange(),U?B.replace(/\n\r?([ \t]*\S)/g,` +`,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(I,E,F){I("./loader_build")(E);var O=I("./lib/dom"),D=I("./range").Range,x=I("./editor").Editor,P=I("./edit_session").EditSession,G=I("./undomanager").UndoManager,M=I("./virtual_renderer").VirtualRenderer;I("./worker/worker_client"),I("./keyboard/hash_handler"),I("./placeholder"),I("./multi_select"),I("./mode/folding/fold_mode"),I("./theme/textmate"),I("./ext/error_marker"),E.config=I("./config"),E.edit=function(N,V){if(typeof N=="string"){var Z=N;if(!(N=document.getElementById(Z)))throw new Error("ace.edit can't find div #"+Z)}var H,B;return N&&N.env&&N.env.editor instanceof x?N.env.editor:(Z="",N&&/input|textarea/i.test(N.tagName)?(Z=(H=N).value,N=O.createElement("pre"),H.parentNode.replaceChild(N,H)):N&&(Z=N.textContent,N.innerHTML=""),Z=E.createEditSession(Z),N=new x(new M(N),Z,V),B={document:Z,editor:N,onResize:N.resize.bind(N,null)},H&&(B.textarea=H),N.on("destroy",function(){B.editor.container.env=null}),N.container.env=N.env=B,N)},E.createEditSession=function(N,V){return N=new P(N,V),N.setUndoManager(new G),N},E.Range=D,E.Editor=x,E.EditSession=P,E.UndoManager=G,E.VirtualRenderer=M,E.version=E.config.version}),ace.require(["ace/ace"],function(I){I&&(I.config.init(!0),I.define=ace.define);var E,F=function(){return this}();for(E in(F=(F=F||typeof window=="undefined"?F:window)||typeof self=="undefined"?F:self).ace||(F.ace=I),I)I.hasOwnProperty(E)&&(F.ace[E]=I[E]);F.ace.default=F.ace,d&&(d.exports=F.ace)})},6489:function(d,g,v){d=v.nmd(d),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(y,A,b){var _=y("./lib/dom"),H=y("./lib/oop"),w=y("./lib/event_emitter").EventEmitter,S=y("./lib/lang"),C=y("./range").Range,T=y("./range_list").RangeList,I=y("./keyboard/hash_handler").HashHandler,E=y("./tokenizer").Tokenizer,F=y("./clipboard"),O={CURRENT_WORD:function(B){return B.session.getTextRange(B.session.getWordRange())},SELECTION:function(B,z,U){return B=B.session.getTextRange(),U?B.replace(/\n\r?([ \t]*\S)/g,` `+U+"$1"):B},CURRENT_LINE:function(B){return B.session.getLine(B.getCursorPosition().row)},PREV_LINE:function(B){return B.session.getLine(B.getCursorPosition().row-1)},LINE_INDEX:function(B){return B.getCursorPosition().row},LINE_NUMBER:function(B){return B.getCursorPosition().row+1},SOFT_TABS:function(B){return B.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(B){return B.session.getTabSize()},CLIPBOARD:function(B){return F.getText&&F.getText()},FILENAME:function(B){return/[^/\\]*$/.exec(this.FILEPATH(B))[0]},FILENAME_BASE:function(B){return/[^/\\]*$/.exec(this.FILEPATH(B))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(B){return this.FILEPATH(B).replace(/[^/\\]*$/,"")},FILEPATH:function(B){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(B){return B=B.session.$mode||{},B.blockComment&&B.blockComment.start||""},BLOCK_COMMENT_END:function(B){return B=B.session.$mode||{},B.blockComment&&B.blockComment.end||""},LINE_COMMENT:function(B){return(B.session.$mode||{}).lineCommentStart||""},CURRENT_YEAR:D.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:D.bind(null,{year:"2-digit"}),CURRENT_MONTH:D.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:D.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:D.bind(null,{month:"short"}),CURRENT_DATE:D.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:D.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:D.bind(null,{weekday:"short"}),CURRENT_HOUR:D.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:D.bind(null,{minute:"2-digit"}),CURRENT_SECOND:D.bind(null,{second:"2-digit"})};function D(B){return B=new Date().toLocaleString("en-us",B),B.length==1?"0"+B:B}O.SELECTED_TEXT=O.SELECTION,P.prototype.getTokenizer=function(){return P.$tokenizer||this.createTokenizer()},P.prototype.createTokenizer=function(){function B(Q){return Q=Q.substr(1),/^\d+$/.test(Q)?[{tabstopId:parseInt(Q,10)}]:[{text:Q}]}function z(Q){return"(?:[^\\\\"+Q+"]|\\\\.)"}var U={regex:"/("+z("/")+"+)/",onMatch:function(Q,X,J){return J=J[0],J.fmtString=!0,J.guard=Q.slice(1,-1),J.flag=""},next:"formatString"};return P.$tokenizer=new E({start:[{regex:/\\./,onMatch:function(Q,X,J){var ne=Q[1];return[Q=ne=="}"&&J.length||"`$\\".indexOf(ne)!=-1?ne:Q]}},{regex:/}/,onMatch:function(Q,X,J){return[J.length?J.shift():Q]}},{regex:/\$(?:\d+|\w+)/,onMatch:B},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(Q,X,J){return Q=B(Q.substr(1)),J.unshift(Q[0]),Q},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+z("\\|")+"*\\|",onMatch:function(Q,X,J){return Q=Q.slice(1,-1).replace(/\\[,|\\]|,/g,function(ne){return ne.length==2?ne[1]:"\0"}).split("\0").map(function(ne){return{value:ne}}),[(J[0].choices=Q)[0]]},next:"start"},U,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(Q,X,J){return J.length&&J[0].expectElse?(J[0].expectElse=!1,J[0].ifEnd={elseEnd:J[0]},[J[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(Q,X,J){var ne=Q[1];return ne=="}"&&J.length||"`$\\".indexOf(ne)!=-1?Q=ne:ne=="n"?Q=` `:ne=="t"?Q=" ":"ulULE".indexOf(ne)!=-1&&(Q={changeCase:ne,local:"a"he&&(ee=he-se.offsetWidth),se.style.left=ee+"px",se.style.right="",z.isOpen||(z.isOpen=!0,this._signal("show"),H=null),z.anchorPos=J,z.anchor=te}return!0},z.show=function(J,ne,te){this.tryShow(J,ne,te?"bottom":void 0,!0)},z.goTo=function(J){var ne=this.getRow(),te=this.session.getLength()-1;switch(J){case"up":ne=ne<=0?te:ne-1;break;case"down":ne=te<=ne?-1:ne+1;break;case"start":ne=0;break;case"end":ne=te}this.setRow(ne)},z.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},z.$imageSize=0,z.$borderSize=1,z}var C=x("../virtual_renderer").VirtualRenderer,T=x("../editor").Editor,I=x("../range").Range,E=x("../lib/event"),F=x("../lib/lang"),O=x("../lib/dom"),D=x("../config").nls,x=x("./../lib/useragent"),P=x.isSafari?"menu":"listbox",G=x.isSafari?"menuitem":"option",M=x.isSafari?"aria-current":"aria-selected";O.importCssString(` .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; @@ -1341,7 +1341,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho animation: none; } } -`,"autocompletion.css",!1),A.AcePopup=S,A.$singleLineEditor=w,A.getAriaId=_}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(y,A,b){function _(w){this.editor=w,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}_.prototype.setScreenReaderContent=function(w){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var C=this.popup.getRow(),S=this.popup.renderer.$textLayer,C=S.element.childNodes[C-S.config.firstRow];if(C){for(var T="doc-tooltip ",I=0;Ithis.filterText&&B.lastIndexOf(this.filterText,0)===0?this.filtered:this.all,this.filterText=B,z=(z=this.filterCompletions(z,this.filterText)).sort(function(Q,X){return X.exactMatch-Q.exactMatch||X.$score-Q.$score||(Q.caption||Q.value).localeCompare(X.caption||X.value)});var z,U=null;z=z.filter(function(Q){return Q=Q.snippet||Q.caption||Q.value,Q!==U&&(U=Q,!0)}),this.filtered=z},H.prototype.filterCompletions=function(B,z){var U=[],Q=z.toUpperCase(),X=z.toLowerCase();e:for(var J,ne=0;J=B[ne];ne++){var te=!this.ignoreCaption&&J.caption||J.value||J.snippet;if(te){var ce=-1,se=0,ge=0;if(this.exactMatch){if(z!==te.substr(0,z.length))continue}else{var he=te.toLowerCase().indexOf(X);if(-1",E.escapeHTML(H.caption),"","
    ",E.escapeHTML((H=H.snippet,B={},H.replace(/\${(\d+)(:(.*?))?}/g,function(z,U,Q,X){return B[U]=X||""}).replace(/\$(\d+?)/g,function(z,U){return B[U]})))].join(""))},id:"snippetCompleter"},x=[D,Y,O],P=(A.setCompleters=function(H){x.length=0,H&&x.push.apply(x,H)},A.addCompleter=function(H){x.push(H)},A.textCompleter=Y,A.keyWordCompleter=O,A.snippetCompleter=D,{name:"expandSnippet",exec:function(H){return C.expandWithTab(H)},bindKey:"Tab"}),G=function(H){(H=typeof H=="string"?I.$modes[H]:H)&&(C.files||(C.files={}),M(H.$id,H.snippetFileId),H.modes)&&H.modes.forEach(G)},M=function(H,B){B&&H&&!C.files[H]&&(C.files[H]={},I.loadModule(B,function(z){z&&(!(C.files[H]=z).snippets&&z.snippetText&&(z.snippets=C.parseSnippetFile(z.snippetText)),C.register(z.snippets||[],z.scope),z.includeScopes)&&(C.snippetMap[z.scope].includeScopes=z.includeScopes,z.includeScopes.forEach(function(U){G("ace/mode/"+U)}))}))},N=E.delayedCall(function(){V(S)},0),V=function(U){var B=U.editor,z=F.getCompletionPrefix(B),U=U.args,U=F.triggerAutocomplete(B,U);(z&&z.length>=B.$liveAutocompletionThreshold||U)&&((z=T.for(B)).autoShown=!0,z.showPopup(B))},Y=y("../editor").Editor;y("../config").defineOptions(Y.prototype,"editor",{enableBasicAutocompletion:{set:function(H){H?(this.completers||(this.completers=Array.isArray(H)?H:x),this.commands.addCommand(T.startCommand)):this.commands.removeCommand(T.startCommand)},value:!1},enableLiveAutocompletion:{set:function(H){H?(this.completers||(this.completers=Array.isArray(H)?H:x),this.commands.on("afterExec",w)):this.commands.off("afterExec",w)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(H){H?(this.commands.addCommand(P),this.on("changeMode",_),_(0,this)):(this.commands.removeCommand(P),this.off("changeMode",_))},value:!1}})}),ace.require(["ace/ext/language_tools"],function(y){d&&(d.exports=y)})},6534:function(d,g,v){d=v.nmd(d),ace.define("ace/ext/searchbox-css",["require","exports","module"],function(y,A,b){b.exports=` +`,"autocompletion.css",!1),A.AcePopup=S,A.$singleLineEditor=w,A.getAriaId=_}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(y,A,b){function _(w){this.editor=w,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}_.prototype.setScreenReaderContent=function(w){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var C=this.popup.getRow(),S=this.popup.renderer.$textLayer,C=S.element.childNodes[C-S.config.firstRow];if(C){for(var T="doc-tooltip ",I=0;Ithis.filterText&&B.lastIndexOf(this.filterText,0)===0?this.filtered:this.all,this.filterText=B,z=(z=this.filterCompletions(z,this.filterText)).sort(function(Q,X){return X.exactMatch-Q.exactMatch||X.$score-Q.$score||(Q.caption||Q.value).localeCompare(X.caption||X.value)});var z,U=null;z=z.filter(function(Q){return Q=Q.snippet||Q.caption||Q.value,Q!==U&&(U=Q,!0)}),this.filtered=z},H.prototype.filterCompletions=function(B,z){var U=[],Q=z.toUpperCase(),X=z.toLowerCase();e:for(var J,ne=0;J=B[ne];ne++){var te=!this.ignoreCaption&&J.caption||J.value||J.snippet;if(te){var ce=-1,se=0,ge=0;if(this.exactMatch){if(z!==te.substr(0,z.length))continue}else{var he=te.toLowerCase().indexOf(X);if(-1",E.escapeHTML(H.caption),"","
    ",E.escapeHTML((H=H.snippet,B={},H.replace(/\${(\d+)(:(.*?))?}/g,function(z,U,Q,X){return B[U]=X||""}).replace(/\$(\d+?)/g,function(z,U){return B[U]})))].join(""))},id:"snippetCompleter"},x=[D,Z,O],P=(A.setCompleters=function(H){x.length=0,H&&x.push.apply(x,H)},A.addCompleter=function(H){x.push(H)},A.textCompleter=Z,A.keyWordCompleter=O,A.snippetCompleter=D,{name:"expandSnippet",exec:function(H){return C.expandWithTab(H)},bindKey:"Tab"}),G=function(H){(H=typeof H=="string"?I.$modes[H]:H)&&(C.files||(C.files={}),M(H.$id,H.snippetFileId),H.modes)&&H.modes.forEach(G)},M=function(H,B){B&&H&&!C.files[H]&&(C.files[H]={},I.loadModule(B,function(z){z&&(!(C.files[H]=z).snippets&&z.snippetText&&(z.snippets=C.parseSnippetFile(z.snippetText)),C.register(z.snippets||[],z.scope),z.includeScopes)&&(C.snippetMap[z.scope].includeScopes=z.includeScopes,z.includeScopes.forEach(function(U){G("ace/mode/"+U)}))}))},N=E.delayedCall(function(){V(S)},0),V=function(U){var B=U.editor,z=F.getCompletionPrefix(B),U=U.args,U=F.triggerAutocomplete(B,U);(z&&z.length>=B.$liveAutocompletionThreshold||U)&&((z=T.for(B)).autoShown=!0,z.showPopup(B))},Z=y("../editor").Editor;y("../config").defineOptions(Z.prototype,"editor",{enableBasicAutocompletion:{set:function(H){H?(this.completers||(this.completers=Array.isArray(H)?H:x),this.commands.addCommand(T.startCommand)):this.commands.removeCommand(T.startCommand)},value:!1},enableLiveAutocompletion:{set:function(H){H?(this.completers||(this.completers=Array.isArray(H)?H:x),this.commands.on("afterExec",w)):this.commands.off("afterExec",w)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(H){H?(this.commands.addCommand(P),this.on("changeMode",_),_(0,this)):(this.commands.removeCommand(P),this.off("changeMode",_))},value:!1}})}),ace.require(["ace/ext/language_tools"],function(y){d&&(d.exports=y)})},6534:function(d,g,v){d=v.nmd(d),ace.define("ace/ext/searchbox-css",["require","exports","module"],function(y,A,b){b.exports=` /* ------------------------------------------------------------------------------------------ * Editor Search Form @@ -1502,15 +1502,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho float: left; font-family: arial; padding: 0 8px; -}`}),ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox-css","ace/keyboard/hash_handler","ace/lib/keys","ace/config"],function(y,A,b){var _=y("../lib/dom"),w=y("../lib/lang"),S=y("../lib/event"),C=y("./searchbox-css"),T=y("../keyboard/hash_handler").HashHandler,I=y("../lib/keys"),E=y("../config").nls,F=(_.importCssString(C,"ace_searchbox",!1),O.prototype.setEditor=function(D){D.searchBox=this,D.renderer.scroller.appendChild(this.element),this.editor=D},O.prototype.setSession=function(D){this.searchRange=null,this.$syncOptions(!0)},O.prototype.$initElements=function(D){this.searchBox=D.querySelector(".ace_search_form"),this.replaceBox=D.querySelector(".ace_replace_form"),this.searchOption=D.querySelector("[action=searchInSelection]"),this.replaceOption=D.querySelector("[action=toggleReplace]"),this.regExpOption=D.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=D.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=D.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=D.querySelector(".ace_search_counter")},O.prototype.$init=function(){var D=this.element,x=(this.$initElements(D),this);S.addListener(D,"mousedown",function(P){setTimeout(function(){x.activeInput.focus()},0),S.stopPropagation(P)}),S.addListener(D,"click",function(P){var G=(P.target||P.srcElement).getAttribute("action");G&&x[G]?x[G]():x.$searchBarKb.commands[G]&&x.$searchBarKb.commands[G].exec(x),S.stopPropagation(P)}),S.addCommandKeyListener(D,function(P,G,M){M=I.keyCodeToString(M),G=x.$searchBarKb.findKeyCommand(G,M),G&&G.exec&&(G.exec(x),S.stopEvent(P))}),this.$onChange=w.delayedCall(function(){x.find(!1,!1)}),S.addListener(this.searchInput,"input",function(){x.$onChange.schedule(20)}),S.addListener(this.searchInput,"focus",function(){x.activeInput=x.searchInput,x.searchInput.value&&x.highlight()}),S.addListener(this.replaceInput,"focus",function(){x.activeInput=x.replaceInput,x.searchInput.value&&x.highlight()})},O.prototype.setSearchRange=function(D){(this.searchRange=D)?this.searchRangeMarker=this.editor.session.addMarker(D,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},O.prototype.$syncOptions=function(D){_.setCssClass(this.replaceOption,"checked",this.searchRange),_.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",_.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),_.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),_.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var x=this.editor.getReadOnly();this.replaceOption.style.display=x?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!x?"":"none",this.find(!1,!1,D)},O.prototype.highlight=function(D){this.editor.session.highlight(D||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},O.prototype.find=function(D,x,P){D=!this.editor.find(this.searchInput.value,{skipCurrent:D,backwards:x,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:P,range:this.searchRange})&&this.searchInput.value,_.setCssClass(this.searchBox,"ace_nomatch",D),this.editor._emit("findSearchBox",{match:!D}),this.highlight(),this.updateCounter()},O.prototype.updateCounter=function(){var D=this.editor,x=D.$search.$options.re,P=x.unicode,G=0,M=0;if(x){var N,V,Y=this.searchRange?D.session.getTextRange(this.searchRange):D.getValue(),H=D.session.doc.positionToIndex(D.selection.anchor);for(this.searchRange&&(H-=D.session.doc.positionToIndex(this.searchRange.start)),x.lastIndex=0;(V=x.exec(Y))&&((N=V.index)<=H&&M++,!(999<++G))&&(V[0]||(x.lastIndex=N+=w.skipEmptyMatch(Y,N,P),!(N>=Y.length))););}this.searchCounter.textContent=E("search-box.search-counter","$0 of $1",[M,999%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,T=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,I=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,E=/^(?:\/(?:[^~/]|~0|~1)*)*$/,F=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,O=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function D(Y){return y.copy(D[Y=Y=="full"?"full":"fast"])}function x(z){var H,B,z=z.match(A);return!!z&&(H=+z[1],B=+z[2],z=+z[3],1<=B)&&B<=12&&1<=z&&z<=(B!=2||(z=H)%4!=0||z%100==0&&z%400!=0?b[B]:29)}function P(Q,H){var B,z,U,Q=Q.match(_);return!!Q&&(B=Q[1],z=Q[2],U=Q[3],Q=Q[5],B<=23&&z<=59&&U<=59||B==23&&z==59&&U==60)&&(!H||Q)}(d.exports=D).fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":C,url:T,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:w,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:V,uuid:I,"json-pointer":E,"json-pointer-uri-fragment":F,"relative-json-pointer":O},D.full={date:x,time:P,"date-time":function(Y){return Y=Y.split(G),Y.length==2&&x(Y[0])&&P(Y[1],!0)},uri:function(Y){return M.test(Y)&&S.test(Y)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5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4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:V,uuid:I,"json-pointer":E,"json-pointer-uri-fragment":F,"relative-json-pointer":O};var G=/t|\s/i,M=/\/|:/,N=/[^\\]\\Z/;function V(Y){if(N.test(Y))return!1;try{return new RegExp(Y),!0}catch(H){return!1}}},2620:function(d,g,v){var y=v(4292),A=v(6862),b=v(3689),_=v(9306),w=v(1035),S=A.ucs2length,C=v(5215),T=b.Validation;function I(G,M,N,V){var Y=this,H=this._opts,B=[void 0],z={},U=[],Q={},X=[],J={},ne=[],te=(M=M||{schema:G,refVal:B,refs:z},function(Ae,Ee,le){var re=E.call(this,Ae,Ee,le);return 0<=re?{index:re,compiling:!0}:(re=this._compilations.length,this._compilations[re]={schema:Ae,root:Ee,baseId:le},{index:re,compiling:!1})}.call(this,G,M,V)),ce=this._compilations[te.index];if(te.compiling)return ce.callValidate=ee;var se=this._formats,ge=this.RULES;try{var he=pe(G,M,N,V),ye=(ce.validate=he,ce.callValidate);return ye&&(ye.schema=he.schema,ye.errors=null,ye.refs=he.refs,ye.refVal=he.refVal,ye.root=he.root,ye.$async=he.$async,H.sourceCode)&&(ye.source=he.source),he}finally{(function(Ae,Ee,le){Ae=E.call(this,Ae,Ee,le),0<=Ae&&this._compilations.splice(Ae,1)}).call(this,G,M,V)}function ee(){var Ae=ce.validate,Ee=Ae.apply(this,arguments);return ee.errors=Ae.errors,Ee}function pe(Ae,Ee,le,re){var ue=!Ee||Ee.schema==Ae;if(Ee.schema!=M.schema)return I.call(Y,Ae,Ee,le,re);le=Ae.$async===!0,re=w({isTop:!0,schema:Ae,isRoot:ue,baseId:re,root:Ee,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:b.MissingRef,RULES:ge,validate:w,util:A,resolve:y,resolveRef:ae,usePattern:_e,useDefault:Te,useCustomRule:Ce,opts:H,formats:se,logger:Y.logger,self:Y}),re=P(B,D)+P(U,F)+P(X,O)+P(ne,x)+re,H.processCode&&(re=H.processCode(re,Ae));try{var be=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",re)(Y,ge,se,M,B,X,ne,C,S,T);B[0]=be}catch(ie){throw Y.logger.error("Error compiling schema, function code:",re),ie}return be.schema=Ae,be.errors=null,be.refs=z,be.refVal=B,be.root=ue?be:Ee,le&&(be.$async=!0),H.sourceCode===!0&&(be.source={code:re,patterns:U,defaults:X}),be}function ae(Ae,Ee,ie){Ee=y.url(Ae,Ee);var re=z[Ee];if(re!==void 0)return we(ue=B[re],be="refVal["+re+"]");if(!ie&&M.refs&&(re=M.refs[Ee],re!==void 0))return we(ue=M.refVal[re],be=ve(Ee,ue));var ue,be=ve(Ee),ie=y.call(Y,pe,M,Ee);if((ie=ie===void 0&&(re=N&&N[Ee])?y.inlineRef(re,H.inlineRefs)?re:I.call(Y,re,M,N,Ae):ie)!==void 0)return ue=ie,re=z[re=Ee],B[re]=ue,we(ie,be);delete z[Ee]}function ve(Ae,Ee){var le=B.length;return B[le]=Ee,"refVal"+(z[Ae]=le)}function we(Ae,Ee){return typeof Ae=="object"||typeof Ae=="boolean"?{code:Ee,schema:Ae,inline:!0}:{code:Ee,$async:Ae&&!!Ae.$async}}function _e(Ae){var Ee=Q[Ae];return Ee===void 0&&(Ee=Q[Ae]=U.length,U[Ee]=Ae),"pattern"+Ee}function Te(Ae){switch(typeof Ae){case"boolean":case"number":return""+Ae;case"string":return A.toQuotedString(Ae);case"object":var Ee,le;return Ae===null?"null":(Ee=_(Ae),(le=J[Ee])===void 0&&(le=J[Ee]=X.length,X[le]=Ae),"default"+le)}}function Ce(Ae,Ee,le,re){if(Y._opts.validateSchema!==!1){var be=Ae.definition.dependencies;if(be&&!be.every(function(Se){return Object.prototype.hasOwnProperty.call(le,Se)}))throw new Error("parent schema must have all required keywords: "+be.join(","));if(be=Ae.definition.validateSchema,be&&!be(Ee)){if(be="keyword schema is invalid: "+Y.errorsText(be.errors),Y._opts.validateSchema!="log")throw new Error(be);Y.logger.error(be)}}var ue,be=Ae.definition.compile,ie=Ae.definition.inline,oe=Ae.definition.macro;if(be)ue=be.call(Y,Ee,le,re);else if(oe)ue=oe.call(Y,Ee,le,re),H.validateSchema!==!1&&Y.validateSchema(ue,!0);else if(ie)ue=ie.call(Y,re,Ae.keyword,Ee,le);else if(!(ue=Ae.definition.validate))return;if(ue===void 0)throw new Error('custom keyword "'+Ae.keyword+'"failed to compile');return be=ne.length,{code:"customRule"+be,validate:ne[be]=ue}}}function E(G,M,N){for(var V=0;V",B=M?">":"<",z=void 0;if(!P&&typeof E!="number"&&E!==void 0)throw new Error(v+" must be number");if(!Y&&V!==void 0&&typeof V!="number"&&typeof V!="boolean")throw new Error(N+" must be number or boolean");Y?(I=g.util.getData(V.$data,I,g.dataPathArr),_="exclIsNumber"+T,w="' + "+(S="op"+T)+" + '",z=N,(U=U||[]).push(C=C+(" var schemaExcl"+T+" = "+I+"; ")+(" var "+(A="exclusive"+T)+"; var "+(b="exclType"+T)+" = typeof "+(I="schemaExcl"+T)+"; if ("+b+" != 'boolean' && "+b+" != 'undefined' && "+b+" != 'number') { ")),C="",g.createErrors!==!1?(C+=" { keyword: '"+(z||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(O)+" , params: {} ",g.opts.messages!==!1&&(C+=" , message: '"+N+" should be boolean' "),g.opts.verbose&&(C+=" , schema: validate.schema"+F+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+x+" "),C+=" } "):C+=" {} ",Q=C,C=U.pop(),!g.compositeRule&&D?g.async?C+=" throw new ValidationError(["+Q+"]); ":C+=" validate.errors = ["+Q+"]; return false; ":C+=" var err = "+Q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C+=" } else if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" "+b+" == 'number' ? ( ("+A+" = "+G+" === undefined || "+I+" "+H+"= "+G+") ? "+x+" "+B+"= "+I+" : "+x+" "+B+" "+G+" ) : ( ("+A+" = "+I+" === true) ? "+x+" "+B+"= "+G+" : "+x+" "+B+" "+G+" ) || "+x+" !== "+x+") { var op"+T+" = "+A+" ? '"+H+"' : '"+H+"='; ",E===void 0&&(O=g.errSchemaPath+"/"+(z=N),G=I,P=Y)):(w=H,(_=typeof V=="number")&&P?(S="'"+w+"'",C+=" if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" ( "+G+" === undefined || "+V+" "+H+"= "+G+" ? "+x+" "+B+"= "+V+" : "+x+" "+B+" "+G+" ) || "+x+" !== "+x+") { "):(_&&E===void 0?(A=!0,O=g.errSchemaPath+"/"+(z=N),G=V,B+="="):(_&&(G=Math[M?"min":"max"](V,E)),V===(!_||G)?(A=!0,O=g.errSchemaPath+"/"+(z=N),B+="="):(A=!1,w+="=")),S="'"+w+"'",C+=" if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" "+x+" "+B+" "+G+" || "+x+" !== "+x+") { ")),z=z||v,(U=U||[]).push(C),C="",g.createErrors!==!1?(C+=" { keyword: '"+(z||"_limit")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(O)+" , params: { comparison: "+S+", limit: "+G+", exclusive: "+A+" } ",g.opts.messages!==!1&&(C=C+" , message: 'should be "+w+" "+(P?"' + "+G:G+"'")),g.opts.verbose&&(C=(C+=" , schema: ")+(P?"validate.schema"+F:""+E)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+x+" "),C+=" } "):C+=" {} ";var U,Q=C;return C=U.pop(),!g.compositeRule&&D?g.async?C+=" throw new ValidationError(["+Q+"]); ":C+=" validate.errors = ["+Q+"]; return false; ":C+=" var err = "+Q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C+=" } ",D&&(C+=" else { "),C}},9337:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),(_=[]).push(b+=" "+I+".length "+((A=v)=="maxItems"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitItems")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT have ")+(v=="maxItems"?"more":"fewer")+" than ")+(E?"' + "+F+" + '":""+w)+" items' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},5433:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),g.opts.unicode===!1?b+=" "+I+".length ":b+=" ucs2length("+I+") ",(_=[]).push(b+=" "+((A=v)=="maxLength"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitLength")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT be ")+(v=="maxLength"?"longer":"shorter")+" than ")+(E?"' + "+F+" + '":""+w)+" characters' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},7724:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),(_=[]).push(b+=" Object.keys("+I+").length "+((A=v)=="maxProperties"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitProperties")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT have ")+(v=="maxProperties"?"more":"fewer")+" than ")+(E?"' + "+F+" + '":""+w)+" properties' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},3531:function(d){d.exports=function(g,v,y){var A=" ",b=g.schema[v],_=g.schemaPath+g.util.getProperty(v),w=g.errSchemaPath+"/"+v,S=!g.opts.allErrors,C=g.util.copy(g),T="",I=(C.level++,"valid"+C.level),E=C.baseId,F=!0,O=b;if(O)for(var D,x=-1,P=O.length-1;x "+H+") { ",z=C+"["+H+"]",E.schema=Q,E.schemaPath=_+"["+H+"]",E.errSchemaPath=w+"/"+H,E.errorPath=g.util.getPathExpr(g.errorPath,H,g.opts.jsonPointers,!0),E.dataPathArr[x]=H,U=g.validate(E),E.baseId=G,g.util.varOccurences(U,P)<2?A+=" "+g.util.varReplace(U,P,z)+" ":A+=" var "+P+" = "+z+"; "+U+" ",A+=" } ",S)&&(A+=" if ("+O+") { ",F+="}")}typeof V=="object"&&(g.opts.strictKeywords?typeof V=="object"&&0 "+b.length+") { for (var "+D+" = "+b.length+"; "+D+" < "+C+".length; "+D+"++) { ",E.errorPath=g.util.getPathExpr(g.errorPath,D,g.opts.jsonPointers,!0),z=C+"["+D+"]",E.dataPathArr[x]=D,U=g.validate(E),E.baseId=G,g.util.varOccurences(U,P)<2?A+=" "+g.util.varReplace(U,P,z)+" ":A+=" var "+P+" = "+z+"; "+U+" ",S&&(A+=" if (!"+O+") break; "),A+=" } } ",S)&&(A+=" if ("+O+") { ",F+="}")}else(g.opts.strictKeywords?typeof b=="object"&&0 1e-"+g.opts.multipleOfPrecision+" ":A+=" division"+b+" !== parseInt(division"+b+") ",A+=" ) ",I&&(A+=" ) "),v=[],v.push(A+=" ) { "),A="",g.createErrors!==!1?(A+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(S)+" , params: { multipleOf: "+E+" } ",g.opts.messages!==!1&&(A=A+" , message: 'should be multiple of "+(I?"' + "+E:E+"'")),g.opts.verbose&&(A=(A+=" , schema: ")+(I?"validate.schema"+w:""+_)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+T+" "),A+=" } "):A+=" {} ",b=A,A=v.pop(),!g.compositeRule&&C?g.async?A+=" throw new ValidationError(["+b+"]); ":A+=" validate.errors = ["+b+"]; return false; ":A+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",A+="} ",C&&(A+=" else { "),A}},1004:function(d){d.exports=function(g,C,y){var A,b,_=" ",E=g.level,I=g.dataLevel,w=g.schema[C],S=g.schemaPath+g.util.getProperty(C),C=g.errSchemaPath+"/"+C,T=!g.opts.allErrors,I="data"+(I||""),E="errs__"+E,F=g.util.copy(g),O=(F.level++,"valid"+F.level);return(g.opts.strictKeywords?typeof w=="object"&&0=g.opts.loopRequired,V=g.opts.ownProperties;if(C){if(A+=" var missing"+b+"; ",_){E||(A+=" var "+F+" = validate.schema"+w+"; ");var Y="' + "+(X="schema"+b+"["+(z="i"+b)+"]")+" + '";g.opts._errorDataPathProperty&&(g.errorPath=g.util.getPathExpr(N,X,g.opts.jsonPointers)),A+=" var "+I+" = true; ",E&&(A+=" if (schema"+b+" === undefined) "+I+" = true; else if (!Array.isArray(schema"+b+")) "+I+" = false; else {"),A+=" for (var "+z+" = 0; "+z+" < "+F+".length; "+z+"++) { "+I+" = "+T+"["+F+"["+z+"]] !== undefined ",V&&(A+=" && Object.prototype.hasOwnProperty.call("+T+", "+F+"["+z+"]) "),A+="; if (!"+I+") break; } ",E&&(A+=" } "),(Q=Q||[]).push(A+=" if (!"+I+") { "),A="",g.createErrors!==!1?(A+=" { keyword: 'required' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(S)+" , params: { missingProperty: '"+Y+"' } ",g.opts.messages!==!1&&(A+=" , message: '",g.opts._errorDataPathProperty?A+="is a required property":A+="should have required property \\'"+Y+"\\'",A+="' "),g.opts.verbose&&(A+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+T+" "),A+=" } "):A+=" {} ";var H=A,A=Q.pop()}else{A+=" if ( ";var B=O;if(B)for(var z=-1,U=B.length-1;z 1) { ",_=g.schema.items&&g.schema.items.type,O=Array.isArray(_),!_||_=="object"||_=="array"||O&&(0<=_.indexOf("object")||0<=_.indexOf("array"))?b+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+I+"[i], "+I+"[j])) { "+E+" = false; break outer; } } } ":(b=(b+=" var itemIndices = {}, item; for (;i--;) { var item = "+I+"[i]; ")+" if ("+g.util["checkDataType"+(O?"s":"")](_,"item",g.opts.strictNumbers,!0)+") continue; ",O&&(b+=` if (typeof item == 'string') item = '"' + item; `),b+=" if (typeof itemIndices[item] == 'number') { "+E+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "),b+=" } ",F&&(b+=" } "),(A=A||[]).push(b+=" if (!"+E+") { "),b="",g.createErrors!==!1?(b+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { i: i, j: j } ",g.opts.messages!==!1&&(b+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),g.opts.verbose&&(b=(b+=" , schema: ")+(F?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",_=b,b=A.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+_+"]); ":b+=" validate.errors = ["+_+"]; return false; ":b+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+=" } ",T&&(b+=" else { ")):T&&(b+=" if (true) { "),b}},1035:function(d){d.exports=function(g,v,y){var A="",b=g.schema.$async===!0,_=g.util.schemaHasRulesExcept(g.schema,g.RULES.all,"$ref"),w=g.self._getId(g.schema);if(g.opts.strictKeywords){var S=g.util.schemaUnknownRules(g.schema,g.RULES.keywords);if(S){if(S="unknown keyword: "+S,g.opts.strictKeywords!=="log")throw new Error(S);g.logger.warn(S)}}if(g.isTop&&(A+=" var validate = ",b&&(g.async=!0,A+="async "),A+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",w)&&(g.opts.sourceCode||g.opts.processCode)&&(A+=" /*# sourceURL="+w+" */ "),typeof g.schema=="boolean"||!_&&!g.schema.$ref)T=g.level,I=g.dataLevel,ge=g.schema[v="false schema"],Y=g.schemaPath+g.util.getProperty(v),H=g.errSchemaPath+"/"+v,D=!g.opts.allErrors,E="data"+(I||""),O="valid"+T,g.schema===!1?(g.isTop?D=!0:A+=" var "+O+" = false; ",(Te=Te||[]).push(A),A="",g.createErrors!==!1?(A+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(H)+" , params: {} ",g.opts.messages!==!1&&(A+=" , message: 'boolean schema is false' "),g.opts.verbose&&(A+=" , schema: false , parentSchema: validate.schema"+g.schemaPath+" , data: "+E+" "),A+=" } "):A+=" {} ",ne=A,A=Te.pop(),!g.compositeRule&&D?g.async?A+=" throw new ValidationError(["+ne+"]); ":A+=" validate.errors = ["+ne+"]; return false; ":A+=" var err = "+ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "):g.isTop?A+=b?" return data; ":" validate.errors = null; return true; ":A+=" var "+O+" = true; ",g.isTop&&(A+=" }; return validate; ");else{if(g.isTop){var C=g.isTop,T=g.level=0,I=g.dataLevel=0,E="data";if(g.rootId=g.resolve.fullPath(g.self._getId(g.root.schema)),g.baseId=g.baseId||g.rootId,delete g.isTop,g.dataPathArr=[""],g.schema.default!==void 0&&g.opts.useDefaults&&g.opts.strictDefaults){var F="default is ignored in the schema root";if(g.opts.strictDefaults!=="log")throw new Error(F);g.logger.warn(F)}A=(A+=" var vErrors = null; ")+" var errors = 0; if (rootData === undefined) rootData = data; "}else{if(T=g.level,E="data"+((I=g.dataLevel)||""),w&&(g.baseId=g.resolve.url(g.baseId,w)),b&&!g.async)throw new Error("async schema in sync schema");A+=" var errs_"+T+" = errors;"}var O="valid"+T,D=!g.opts.allErrors,x="",P="",G=g.schema.type,M=Array.isArray(G);if(G&&g.opts.nullable&&g.schema.nullable===!0&&(M?G.indexOf("null")==-1&&(G=G.concat("null")):G!="null"&&(G=[G,"null"],M=!0)),M&&G.length==1&&(G=G[0],M=!1),g.schema.$ref&&_){if(g.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+g.errSchemaPath+'" (see option extendRefs)');g.opts.extendRefs!==!0&&(_=!1,g.logger.warn('$ref: keywords ignored in schema at path "'+g.errSchemaPath+'"'))}if(g.schema.$comment&&g.opts.$comment&&(A+=" "+g.RULES.all.$comment.code(g,"$comment")),G){g.opts.coerceTypes&&(N=g.util.coerceToTypes(g.opts.coerceTypes,G));var N,V=g.RULES.types[G];if(N||M||V===!0||V&&!re(V)){var Y=g.schemaPath+".type",H=g.errSchemaPath+"/type",Y=g.schemaPath+".type",H=g.errSchemaPath+"/type";if(A+=" if ("+g.util[M?"checkDataTypes":"checkDataType"](G,E,g.opts.strictNumbers,!0)+") { ",N){var B="dataType"+T,z="coerced"+T,U=(A+=" var "+B+" = typeof "+E+"; var "+z+" = undefined; ",g.opts.coerceTypes=="array"&&(A+=" if ("+B+" == 'object' && Array.isArray("+E+") && "+E+".length == 1) { "+E+" = "+E+"[0]; "+B+" = typeof "+E+"; if ("+g.util.checkDataType(g.schema.type,E,g.opts.strictNumbers)+") "+z+" = "+E+"; } "),A+=" if ("+z+" !== undefined) ; ",N);if(U)for(var Q,X=-1,J=U.length-1;X",9:"Array"},F="UnquotedIdentifier",O="QuotedIdentifier",N="Number",Y="Expref",H="Pipe",B="Flatten",U="Filter",X="Lbracket",ne="Literal",te={".":"Dot","*":z="Star",",":P="Comma",":":G="Colon","{":Q="Lbrace","}":M="Rbrace","]":D="Rbracket","(":J="Lparen",")":x="Rparen","@":V="Current"},ce={"<":!0,">":!0,"=":!0,"!":!0},se={" ":!0," ":!0,"\n":!0},w.prototype={tokenize:function(he){var ye,ee,pe=[];for(this._current=0;this._current"?he[this._current]==="="?(this._current++,{type:"GTE",value:">=",start:ye}):{type:"GT",value:">",start:ye}:ee==="="&&he[this._current]==="="?(this._current++,{type:"EQ",value:"==",start:ye}):void 0},_consumeLiteral:function(he){this._current++;for(var ye=this._current,ee=he.length;he[this._current]!=="`"&&this._currentNumber.MAX_SAFE_INTEGER||Te=x.length)throw new SyntaxError("Unexpected end of JSON input")}},g.stringify=function(x,P,G){if(b(x)){var M=0;switch(typeof(V=typeof G=="object"?G.space:G)){case"number":var N=101){Ge[0]=Ge[0].slice(0,-1);for(var et=Ge.length-1,nt=1;nt= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Q=D-x,X=Math.floor,J=String.fromCharCode;function ne(Ne){throw new RangeError(U[Ne])}function te(Ne,Ge){for(var ze=[],et=Ne.length;et--;)ze[et]=Ge(Ne[et]);return ze}function ce(Ne,Ge){var ze=Ne.split("@"),et="";ze.length>1&&(et=ze[0]+"@",Ne=ze[1]),Ne=Ne.replace(z,".");var nt=Ne.split("."),Bt=te(nt,Ge).join(".");return et+Bt}function se(Ne){for(var Ge=[],ze=0,et=Ne.length;ze=55296&&nt<=56319&&ze>1,Ge+=X(Ge/ze);Ge>Q*P>>1;nt+=D)Ge=X(Ge/Q);return X(nt+(Q+1)*Ge/(Ge+G))},ee=function(Ge){var ze=[],et=Ge.length,nt=0,Bt=V,Wt=N,jt=Ge.lastIndexOf(Y);jt<0&&(jt=0);for(var qt=0;qt=128&&ne("not-basic"),ze.push(Ge.charCodeAt(qt));for(var dn=jt>0?jt+1:0;dn=et&&ne("invalid-input");var Ht=ge(Ge.charCodeAt(dn++));(Ht>=D||Ht>X((O-nt)/an))&&ne("overflow"),nt+=Ht*an;var Ue=ln<=Wt?x:ln>=Wt+P?P:ln-Wt;if(HtX(O/kt)&&ne("overflow"),an*=kt}var Ot=ze.length+1;Wt=ye(nt-Qt,Ot,Qt==0),X(nt/Ot)>O-Bt&&ne("overflow"),Bt+=X(nt/Ot),nt%=Ot,ze.splice(nt++,0,Bt)}return String.fromCodePoint.apply(String,ze)},pe=function(Ge){var ze=[];Ge=se(Ge);var et=Ge.length,nt=V,Bt=0,Wt=N,jt=!0,qt=!1,dn=void 0;try{for(var Qt=Ge[Symbol.iterator](),an;!(jt=(an=Qt.next()).done);jt=!0){var ln=an.value;ln<128&&ze.push(J(ln))}}catch(Ln){qt=!0,dn=Ln}finally{try{!jt&&Qt.return&&Qt.return()}finally{if(qt)throw dn}}var Ht=ze.length,Ue=Ht;for(Ht&&ze.push(Y);Ue=nt&&rnX((O-Bt)/mn)&&ne("overflow"),Bt+=(kt-nt)*mn,nt=kt;var Tn=!0,Pn=!1,wn=void 0;try{for(var Kt=Ge[Symbol.iterator](),un;!(Tn=(un=Kt.next()).done);Tn=!0){var Mn=un.value;if(MnO&&ne("overflow"),Mn==nt){for(var xn=Bt,On=D;;On+=D){var Vn=On<=Wt?x:On>=Wt+P?P:On-Wt;if(xn>6|192).toString(16).toUpperCase()+"%"+(Ge&63|128).toString(16).toUpperCase():ze="%"+(Ge>>12|224).toString(16).toUpperCase()+"%"+(Ge>>6&63|128).toString(16).toUpperCase()+"%"+(Ge&63|128).toString(16).toUpperCase(),ze}function _e(Ne){for(var Ge="",ze=0,et=Ne.length;ze=194&&nt<224){if(et-ze>=6){var Bt=parseInt(Ne.substr(ze+4,2),16);Ge+=String.fromCharCode((nt&31)<<6|Bt&63)}else Ge+=Ne.substr(ze,6);ze+=6}else if(nt>=224){if(et-ze>=9){var Wt=parseInt(Ne.substr(ze+4,2),16),jt=parseInt(Ne.substr(ze+7,2),16);Ge+=String.fromCharCode((nt&15)<<12|(Wt&63)<<6|jt&63)}else Ge+=Ne.substr(ze,9);ze+=9}else Ge+=Ne.substr(ze,3),ze+=3}return Ge}function Te(Ne,Ge){function ze(et){var nt=_e(et);return nt.match(Ge.UNRESERVED)?nt:et}return Ne.scheme&&(Ne.scheme=String(Ne.scheme).replace(Ge.PCT_ENCODED,ze).toLowerCase().replace(Ge.NOT_SCHEME,"")),Ne.userinfo!==void 0&&(Ne.userinfo=String(Ne.userinfo).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_USERINFO,we).replace(Ge.PCT_ENCODED,_)),Ne.host!==void 0&&(Ne.host=String(Ne.host).replace(Ge.PCT_ENCODED,ze).toLowerCase().replace(Ge.NOT_HOST,we).replace(Ge.PCT_ENCODED,_)),Ne.path!==void 0&&(Ne.path=String(Ne.path).replace(Ge.PCT_ENCODED,ze).replace(Ne.scheme?Ge.NOT_PATH:Ge.NOT_PATH_NOSCHEME,we).replace(Ge.PCT_ENCODED,_)),Ne.query!==void 0&&(Ne.query=String(Ne.query).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_QUERY,we).replace(Ge.PCT_ENCODED,_)),Ne.fragment!==void 0&&(Ne.fragment=String(Ne.fragment).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_FRAGMENT,we).replace(Ge.PCT_ENCODED,_)),Ne}function Ce(Ne){return Ne.replace(/^0*(.*)/,"$1")||"0"}function Ae(Ne,Ge){var ze=Ne.match(Ge.IPV4ADDRESS)||[],et=E(ze,2),nt=et[1];return nt?nt.split(".").map(Ce).join("."):Ne}function Ee(Ne,Ge){var ze=Ne.match(Ge.IPV6ADDRESS)||[],et=E(ze,3),nt=et[1],Bt=et[2];if(nt){for(var Wt=nt.toLowerCase().split("::").reverse(),jt=E(Wt,2),qt=jt[0],dn=jt[1],Qt=dn?dn.split(":").map(Ce):[],an=qt.split(":").map(Ce),ln=Ge.IPV4ADDRESS.test(an[an.length-1]),Ht=ln?7:8,Ue=an.length-Ht,kt=Array(Ht),Ot=0;Ot1){var cn=kt.slice(0,Jt.index),rn=kt.slice(Jt.index+Jt.length);Xt=cn.join(":")+"::"+rn.join(":")}else Xt=kt.join(":");return Bt&&(Xt+="%"+Bt),Xt}else return Ne}var le=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,re="".match(/(){0}/)[1]===void 0;function ue(Ne){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze={},et=Ge.iri!==!1?I:T;Ge.reference==="suffix"&&(Ne=(Ge.scheme?Ge.scheme+":":"")+"//"+Ne);var nt=Ne.match(le);if(nt){re?(ze.scheme=nt[1],ze.userinfo=nt[3],ze.host=nt[4],ze.port=parseInt(nt[5],10),ze.path=nt[6]||"",ze.query=nt[7],ze.fragment=nt[8],isNaN(ze.port)&&(ze.port=nt[5])):(ze.scheme=nt[1]||void 0,ze.userinfo=Ne.indexOf("@")!==-1?nt[3]:void 0,ze.host=Ne.indexOf("//")!==-1?nt[4]:void 0,ze.port=parseInt(nt[5],10),ze.path=nt[6]||"",ze.query=Ne.indexOf("?")!==-1?nt[7]:void 0,ze.fragment=Ne.indexOf("#")!==-1?nt[8]:void 0,isNaN(ze.port)&&(ze.port=Ne.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?nt[4]:void 0)),ze.host&&(ze.host=Ee(Ae(ze.host,et),et)),ze.scheme===void 0&&ze.userinfo===void 0&&ze.host===void 0&&ze.port===void 0&&!ze.path&&ze.query===void 0?ze.reference="same-document":ze.scheme===void 0?ze.reference="relative":ze.fragment===void 0?ze.reference="absolute":ze.reference="uri",Ge.reference&&Ge.reference!=="suffix"&&Ge.reference!==ze.reference&&(ze.error=ze.error||"URI is not a "+Ge.reference+" reference.");var Bt=ve[(Ge.scheme||ze.scheme||"").toLowerCase()];if(!Ge.unicodeSupport&&(!Bt||!Bt.unicodeSupport)){if(ze.host&&(Ge.domainHost||Bt&&Bt.domainHost))try{ze.host=ae.toASCII(ze.host.replace(et.PCT_ENCODED,_e).toLowerCase())}catch(Wt){ze.error=ze.error||"Host's domain name can not be converted to ASCII via punycode: "+Wt}Te(ze,T)}else Te(ze,et);Bt&&Bt.parse&&Bt.parse(ze,Ge)}else ze.error=ze.error||"URI can not be parsed.";return ze}function be(Ne,Ge){var ze=Ge.iri!==!1?I:T,et=[];return Ne.userinfo!==void 0&&(et.push(Ne.userinfo),et.push("@")),Ne.host!==void 0&&et.push(Ee(Ae(String(Ne.host),ze),ze).replace(ze.IPV6ADDRESS,function(nt,Bt,Wt){return"["+Bt+(Wt?"%25"+Wt:"")+"]"})),(typeof Ne.port=="number"||typeof Ne.port=="string")&&(et.push(":"),et.push(String(Ne.port))),et.length?et.join(""):void 0}var ie=/^\.\.?\//,oe=/^\/\.(\/|$)/,me=/^\/\.\.(\/|$)/,Se=/^\/?(?:.|\n)*?(?=\/|$)/;function xe(Ne){for(var Ge=[];Ne.length;)if(Ne.match(ie))Ne=Ne.replace(ie,"");else if(Ne.match(oe))Ne=Ne.replace(oe,"/");else if(Ne.match(me))Ne=Ne.replace(me,"/"),Ge.pop();else if(Ne==="."||Ne==="..")Ne="";else{var ze=Ne.match(Se);if(ze){var et=ze[0];Ne=Ne.slice(et.length),Ge.push(et)}else throw new Error("Unexpected dot segment condition")}return Ge.join("")}function De(Ne){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze=Ge.iri?I:T,et=[],nt=ve[(Ge.scheme||Ne.scheme||"").toLowerCase()];if(nt&&nt.serialize&&nt.serialize(Ne,Ge),Ne.host&&!ze.IPV6ADDRESS.test(Ne.host)){if(Ge.domainHost||nt&&nt.domainHost)try{Ne.host=Ge.iri?ae.toUnicode(Ne.host):ae.toASCII(Ne.host.replace(ze.PCT_ENCODED,_e).toLowerCase())}catch(jt){Ne.error=Ne.error||"Host's domain name can not be converted to "+(Ge.iri?"Unicode":"ASCII")+" via punycode: "+jt}}Te(Ne,ze),Ge.reference!=="suffix"&&Ne.scheme&&(et.push(Ne.scheme),et.push(":"));var Bt=be(Ne,Ge);if(Bt!==void 0&&(Ge.reference!=="suffix"&&et.push("//"),et.push(Bt),Ne.path&&Ne.path.charAt(0)!=="/"&&et.push("/")),Ne.path!==void 0){var Wt=Ne.path;!Ge.absolutePath&&(!nt||!nt.absolutePath)&&(Wt=xe(Wt)),Bt===void 0&&(Wt=Wt.replace(/^\/\//,"/%2F")),et.push(Wt)}return Ne.query!==void 0&&(et.push("?"),et.push(Ne.query)),Ne.fragment!==void 0&&(et.push("#"),et.push(Ne.fragment)),et.join("")}function Pe(Ne,Ge){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},et=arguments[3],nt={};return et||(Ne=ue(De(Ne,ze),ze),Ge=ue(De(Ge,ze),ze)),ze=ze||{},!ze.tolerant&&Ge.scheme?(nt.scheme=Ge.scheme,nt.userinfo=Ge.userinfo,nt.host=Ge.host,nt.port=Ge.port,nt.path=xe(Ge.path||""),nt.query=Ge.query):(Ge.userinfo!==void 0||Ge.host!==void 0||Ge.port!==void 0?(nt.userinfo=Ge.userinfo,nt.host=Ge.host,nt.port=Ge.port,nt.path=xe(Ge.path||""),nt.query=Ge.query):(Ge.path?(Ge.path.charAt(0)==="/"?nt.path=xe(Ge.path):((Ne.userinfo!==void 0||Ne.host!==void 0||Ne.port!==void 0)&&!Ne.path?nt.path="/"+Ge.path:Ne.path?nt.path=Ne.path.slice(0,Ne.path.lastIndexOf("/")+1)+Ge.path:nt.path=Ge.path,nt.path=xe(nt.path)),nt.query=Ge.query):(nt.path=Ne.path,Ge.query!==void 0?nt.query=Ge.query:nt.query=Ne.query),nt.userinfo=Ne.userinfo,nt.host=Ne.host,nt.port=Ne.port),nt.scheme=Ne.scheme),nt.fragment=Ge.fragment,nt}function Be(Ne,Ge,ze){var et=S({scheme:"null"},ze);return De(Pe(ue(Ne,et),ue(Ge,et),et,!0),et)}function ot(Ne,Ge){return typeof Ne=="string"?Ne=De(ue(Ne,Ge),Ge):b(Ne)==="object"&&(Ne=ue(De(Ne,Ge),Ge)),Ne}function ct(Ne,Ge,ze){return typeof Ne=="string"?Ne=De(ue(Ne,ze),ze):b(Ne)==="object"&&(Ne=De(Ne,ze)),typeof Ge=="string"?Ge=De(ue(Ge,ze),ze):b(Ge)==="object"&&(Ge=De(Ge,ze)),Ne===Ge}function _t(Ne,Ge){return Ne&&Ne.toString().replace(!Ge||!Ge.iri?T.ESCAPE:I.ESCAPE,we)}function He(Ne,Ge){return Ne&&Ne.toString().replace(!Ge||!Ge.iri?T.PCT_ENCODED:I.PCT_ENCODED,_e)}var Ve={scheme:"http",domainHost:!0,parse:function(Ge,ze){return Ge.host||(Ge.error=Ge.error||"HTTP URIs must have a host."),Ge},serialize:function(Ge,ze){var et=String(Ge.scheme).toLowerCase()==="https";return(Ge.port===(et?443:80)||Ge.port==="")&&(Ge.port=void 0),Ge.path||(Ge.path="/"),Ge}},ke={scheme:"https",domainHost:Ve.domainHost,parse:Ve.parse,serialize:Ve.serialize};function Qe(Ne){return typeof Ne.secure=="boolean"?Ne.secure:String(Ne.scheme).toLowerCase()==="wss"}var yt={scheme:"ws",domainHost:!0,parse:function(Ge,ze){var et=Ge;return et.secure=Qe(et),et.resourceName=(et.path||"/")+(et.query?"?"+et.query:""),et.path=void 0,et.query=void 0,et},serialize:function(Ge,ze){if((Ge.port===(Qe(Ge)?443:80)||Ge.port==="")&&(Ge.port=void 0),typeof Ge.secure=="boolean"&&(Ge.scheme=Ge.secure?"wss":"ws",Ge.secure=void 0),Ge.resourceName){var et=Ge.resourceName.split("?"),nt=E(et,2),Bt=nt[0],Wt=nt[1];Ge.path=Bt&&Bt!=="/"?Bt:void 0,Ge.query=Wt,Ge.resourceName=void 0}return Ge.fragment=void 0,Ge}},Ct={scheme:"wss",domainHost:yt.domainHost,parse:yt.parse,serialize:yt.serialize},Xe={},dt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Re="[0-9A-Fa-f]",Ye=A(A("%[EFef]"+Re+"%"+Re+Re+"%"+Re+Re)+"|"+A("%[89A-Fa-f]"+Re+"%"+Re+Re)+"|"+A("%"+Re+Re)),at="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",mt=y("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),St="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Rt=new RegExp(dt,"g"),Oe=new RegExp(Ye,"g"),We=new RegExp(y("[^]",at,"[\\.]",'[\\"]',mt),"g"),Je=new RegExp(y("[^]",dt,St),"g"),st=Je;function At(Ne){var Ge=_e(Ne);return Ge.match(Rt)?Ge:Ne}var bt={scheme:"mailto",parse:function(Ge,ze){var et=Ge,nt=et.to=et.path?et.path.split(","):[];if(et.path=void 0,et.query){for(var Bt=!1,Wt={},jt=et.query.split("&"),qt=0,dn=jt.length;qt1&&arguments[1]!==void 0?arguments[1]:1,Y=V>0?N.toFixed(V).replace(/0+$/,"").replace(/\.$/,""):N.toString();return Y||"0"}var _=function(){function N(V,Y,H,B){g(this,N);var z=this;function U(X){if(X.startsWith("hsl")){var J=X.match(/([\-\d\.e]+)/g).map(Number),ne=y(J,4),te=ne[0],ce=ne[1],se=ne[2],ge=ne[3];ge===void 0&&(ge=1),te/=360,ce/=100,se/=100,z.hsla=[te,ce,se,ge]}else if(X.startsWith("rgb")){var he=X.match(/([\-\d\.e]+)/g).map(Number),ye=y(he,4),ee=ye[0],pe=ye[1],ae=ye[2],ve=ye[3];ve===void 0&&(ve=1),z.rgba=[ee,pe,ae,ve]}else X.startsWith("#")?z.rgba=N.hexToRgb(X):z.rgba=N.nameToRgb(X)||N.hexToRgb(X)}if(V!==void 0)if(Array.isArray(V))this.rgba=V;else if(H===void 0){var Q=V&&""+V;Q&&U(Q.toLowerCase())}else this.rgba=[V,Y,H,B===void 0?1:B]}return v(N,[{key:"printRGB",value:function(Y){var H=Y?this.rgba:this.rgba.slice(0,3),B=H.map(function(z,U){return b(z,U===3?3:0)});return Y?"rgba("+B+")":"rgb("+B+")"}},{key:"printHSL",value:function(Y){var H=[360,100,100,1],B=["","%","%",""],z=Y?this.hsla:this.hsla.slice(0,3),U=z.map(function(Q,X){return b(Q*H[X],X===3?3:1)+B[X]});return Y?"hsla("+U+")":"hsl("+U+")"}},{key:"printHex",value:function(Y){var H=this.hex;return Y?H:H.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=N.hslToRgb(this._hsla)},set:function(Y){Y.length===3&&(Y[3]=1),this._rgba=Y,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=N.rgbToHsl(this._rgba)},set:function(Y){Y.length===3&&(Y[3]=1),this._hsla=Y,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var Y=this.rgba,H=Y.map(function(B,z){return z<3?B.toString(16):Math.round(B*255).toString(16)});return"#"+H.map(function(B){return B.padStart(2,"0")}).join("")},set:function(Y){this.rgba=N.hexToRgb(Y)}}],[{key:"hexToRgb",value:function(Y){var H=(Y.startsWith("#")?Y.slice(1):Y).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!H.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+Y);var B=H.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(z){return parseInt(z,16)});return B[3]=B[3]/255,B}},{key:"nameToRgb",value:function(Y){var H=Y.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),B=A[H];return B===void 0?B:N.hexToRgb(B.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(Y){var H=y(Y,4),B=H[0],z=H[1],U=H[2],Q=H[3];B/=255,z/=255,U/=255;var X=Math.max(B,z,U),J=Math.min(B,z,U),ne=void 0,te=void 0,ce=(X+J)/2;if(X===J)ne=te=0;else{var se=X-J;switch(te=ce>.5?se/(2-X-J):se/(X+J),X){case B:ne=(z-U)/se+(z1&&(pe-=1),pe<.16666666666666666?ye+(ee-ye)*6*pe:pe<.5?ee:pe<.6666666666666666?ye+(ee-ye)*(.6666666666666666-pe)*6:ye},ce=U<.5?U*(1+z):U+z-U*z,se=2*U-ce;X=te(se,ce,B+1/3),J=te(se,ce,B),ne=te(se,ce,B-1/3)}var ge=[X*255,J*255,ne*255].map(Math.round);return ge[3]=Q,ge}}]),N}(),w=function(){function N(){g(this,N),this._events=[]}return v(N,[{key:"add",value:function(Y,H,B){Y.addEventListener(H,B,!1),this._events.push({target:Y,type:H,handler:B})}},{key:"remove",value:function(Y,H,B){this._events=this._events.filter(function(z){var U=!0;return Y&&Y!==z.target&&(U=!1),H&&H!==z.type&&(U=!1),B&&B!==z.handler&&(U=!1),U&&N._doRemove(z.target,z.type,z.handler),!U})}},{key:"destroy",value:function(){this._events.forEach(function(Y){return N._doRemove(Y.target,Y.type,Y.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(Y,H,B){Y.removeEventListener(H,B,!1)}}]),N}();function S(N){var V=document.createElement("div");return V.innerHTML=N,V.firstElementChild}function C(N,V,Y){var H=!1;function B(X,J,ne){return Math.max(J,Math.min(X,ne))}function z(X,J,ne){if(ne&&(H=!0),!!H){X.preventDefault();var te=V.getBoundingClientRect(),ce=te.width,se=te.height,ge=J.clientX,he=J.clientY,ye=B(ge-te.left,0,ce),ee=B(he-te.top,0,se);Y(ye/ce,ee/se)}}function U(X,J){var ne=X.buttons===void 0?X.which:X.buttons;ne===1?z(X,X,J):H=!1}function Q(X,J){X.touches.length===1?z(X,X.touches[0],J):H=!1}N.add(V,"mousedown",function(X){U(X,!0)}),N.add(V,"touchstart",function(X){Q(X,!0)}),N.add(window,"mousemove",U),N.add(V,"touchmove",Q),N.add(window,"mouseup",function(X){H=!1}),N.add(V,"touchend",function(X){H=!1}),N.add(V,"touchcancel",function(X){H=!1})}var T=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em, - linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,I=360,E="keydown",F="mousedown",O="focusin";function D(N,V){return(V||document).querySelector(N)}function x(N){N.preventDefault(),N.stopPropagation()}function P(N,V,Y,H,B){N.add(V,E,function(z){Y.indexOf(z.key)>=0&&(B&&x(z),H(z))})}var G=function(){function N(V){g(this,N),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new w,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(V)}return v(N,[{key:"setOptions",value:function(Y){var H=this;if(!Y)return;var B=this.settings;function z(J,ne,te){for(var ce in J)te&&te.indexOf(ce)>=0||(ne[ce]=J[ce])}if(Y instanceof HTMLElement)B.parent=Y;else{B.parent&&Y.parent&&B.parent!==Y.parent&&(this._events.remove(B.parent),this._popupInited=!1),z(Y,B),Y.onChange&&(this.onChange=Y.onChange),Y.onDone&&(this.onDone=Y.onDone),Y.onOpen&&(this.onOpen=Y.onOpen),Y.onClose&&(this.onClose=Y.onClose);var U=Y.color||Y.colour;U&&this._setColor(U)}var Q=B.parent;if(Q&&B.popup&&!this._popupInited){var X=function(ne){return H.openHandler(ne)};this._events.add(Q,"click",X),P(this._events,Q,[" ","Spacebar","Enter"],X),this._popupInited=!0}else Y.parent&&!B.popup&&this.show()}},{key:"openHandler",value:function(Y){if(this.show()){Y&&Y.preventDefault(),this.settings.parent.style.pointerEvents="none";var H=Y&&Y.type===E?this._domEdit:this.domElement;setTimeout(function(){return H.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(Y){var H=Y&&Y.type,B=!1;if(!Y)B=!0;else if(H===F||H===O){var z=(this.__containedEvent||0)+100;Y.timeStamp>z&&(B=!0)}else x(Y),B=!0;B&&this.hide()&&(this.settings.parent.style.pointerEvents="",H!==F&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(Y,H){this.closeHandler(),this.setOptions(Y),H&&this.openHandler()}},{key:"setColor",value:function(Y,H){this._setColor(Y,{silent:H})}},{key:"_setColor",value:function(Y,H){if(typeof Y=="string"&&(Y=Y.trim()),!!Y){H=H||{};var B=void 0;try{B=new _(Y)}catch(U){if(H.failSilently)return;throw U}if(!this.settings.alpha){var z=B.hsla;z[3]=1,B.hsla=z}this.colour=this.color=B,this._setHSLA(null,null,null,null,H)}}},{key:"setColour",value:function(Y,H){this.setColor(Y,H)}},{key:"show",value:function(){var Y=this.settings.parent;if(!Y)return!1;if(this.domElement){var H=this._toggleDOM(!0);return this._setPosition(),H}var B=this.settings.template||'
    ',z=S(B);return this.domElement=z,this._domH=D(".picker_hue",z),this._domSL=D(".picker_sl",z),this._domA=D(".picker_alpha",z),this._domEdit=D(".picker_editor input",z),this._domSample=D(".picker_sample",z),this._domOkay=D(".picker_done button",z),this._domCancel=D(".picker_cancel button",z),z.classList.add("layout_"+this.settings.layout),this.settings.alpha||z.classList.add("no_alpha"),this.settings.editor||z.classList.add("no_editor"),this.settings.cancelButton||z.classList.add("no_cancel"),this._ifPopup(function(){return z.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var Y=this,H=this,B=this.domElement,z=this._events;function U(J,ne,te){z.add(J,ne,te)}U(B,"click",function(J){return J.preventDefault()}),C(z,this._domH,function(J,ne){return H._setHSLA(J)}),C(z,this._domSL,function(J,ne){return H._setHSLA(null,J,1-ne)}),this.settings.alpha&&C(z,this._domA,function(J,ne){return H._setHSLA(null,null,null,1-ne)});var Q=this._domEdit;U(Q,"input",function(J){H._setColor(this.value,{fromEditor:!0,failSilently:!0})}),U(Q,"focus",function(J){var ne=this;ne.selectionStart===ne.selectionEnd&&ne.select()}),this._ifPopup(function(){var J=function(ce){return Y.closeHandler(ce)};U(window,F,J),U(window,O,J),P(z,B,["Esc","Escape"],J);var ne=function(ce){Y.__containedEvent=ce.timeStamp};U(B,F,ne),U(B,O,ne),U(Y._domCancel,"click",J)});var X=function(ne){Y._ifPopup(function(){return Y.closeHandler(ne)}),Y.onDone&&Y.onDone(Y.colour)};U(this._domOkay,"click",X),P(z,B,["Enter"],X)}},{key:"_setPosition",value:function(){var Y=this.settings.parent,H=this.domElement;Y!==H.parentNode&&Y.appendChild(H),this._ifPopup(function(B){getComputedStyle(Y).position==="static"&&(Y.style.position="relative");var z=B===!0?"popup_right":"popup_"+B;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(U){U===z?H.classList.add(U):H.classList.remove(U)}),H.classList.add(z)})}},{key:"_setHSLA",value:function(Y,H,B,z,U){U=U||{};var Q=this.colour,X=Q.hsla;[Y,H,B,z].forEach(function(J,ne){(J||J===0)&&(X[ne]=J)}),Q.hsla=X,this._updateUI(U),this.onChange&&!U.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(Y){if(!this.domElement)return;Y=Y||{};var H=this.colour,B=H.hsla,z="hsl("+B[0]*I+", 100%, 50%)",U=H.hslString,Q=H.hslaString,X=this._domH,J=this._domSL,ne=this._domA,te=D(".picker_selector",X),ce=D(".picker_selector",J),se=D(".picker_selector",ne);function ge(_e,Te,Ce){Te.style.left=Ce*100+"%"}function he(_e,Te,Ce){Te.style.top=Ce*100+"%"}ge(X,te,B[0]),this._domSL.style.backgroundColor=this._domH.style.color=z,ge(J,ce,B[1]),he(J,ce,1-B[2]),J.style.color=U,he(ne,se,1-B[3]);var ye=U,ee=ye.replace("hsl","hsla").replace(")",", 0)"),pe="linear-gradient("+[ye,ee]+")";if(this._domA.style.background=pe+", "+T,!Y.fromEditor){var ae=this.settings.editorFormat,ve=this.settings.alpha,we=void 0;switch(ae){case"rgb":we=H.printRGB(ve);break;case"hsl":we=H.printHSL(ve);break;default:we=H.printHex(ve)}this._domEdit.value=we}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(Y,H){this.settings.parent&&this.settings.popup?Y&&Y(this.settings.popup):H&&H()}},{key:"_toggleDOM",value:function(Y){var H=this.domElement;if(!H)return!1;var B=Y?"":"none",z=H.style.display!==B;return z&&(H.style.display=B),z}}]),N}(),M=document.createElement("style");return M.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(M),G.StyleElement=M,G}()},9857:function(d,g,v){v.d(g,{m:function(){return He}});class y extends Error{constructor(ke,Qe){super(ke+" at position "+Qe),this.position=Qe}}let A=92,b=47,_=42,w=123,S=125,C=91,T=93,I=40,E=41,F=32,O=10,D=9,x=13,P=8,G=12,M=34,N=43,V=45,Y=39,H=48,B=57,z=44,U=46,Q=58,X=59,J=65,ne=97,te=69,ce=101,se=70,ge=102,he=160,ye=8192,ee=8202,pe=8239,ae=8287,ve=12288,we=8220,_e=8221,Te=8216,Ce=8217,Ae=96,Ee=180;function le(Ve){return Ve>=H&&Ve<=B}function re(Ve){return ue.test(Ve)}let ue=/^[,:[\]/{}()\n+]$/;function be(Ve){return ie.test(Ve)||Ve&&me(Ve.charCodeAt(0))}let ie=/^[[{\w-]$/;function oe(Ve){return Ve===F||Ve===O||Ve===D||Ve===x}function me(Ve){return Se(Ve)||De(Ve)}function Se(Ve){return Ve===M||Ve===we||Ve===_e}function xe(Ve){return Ve===M}function De(Ve){return Ve===Y||Ve===Te||Ve===Ce||Ve===Ae||Ve===Ee}function Pe(Ve){return Ve===Y}function Be(Ve,ke,Qe){return Qe=2=Z.length))););}this.searchCounter.textContent=E("search-box.search-counter","$0 of $1",[M,999%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,T=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,I=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,E=/^(?:\/(?:[^~/]|~0|~1)*)*$/,F=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,O=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function D(Z){return y.copy(D[Z=Z=="full"?"full":"fast"])}function x(z){var H,B,z=z.match(A);return!!z&&(H=+z[1],B=+z[2],z=+z[3],1<=B)&&B<=12&&1<=z&&z<=(B!=2||(z=H)%4!=0||z%100==0&&z%400!=0?b[B]:29)}function P(Q,H){var B,z,U,Q=Q.match(_);return!!Q&&(B=Q[1],z=Q[2],U=Q[3],Q=Q[5],B<=23&&z<=59&&U<=59||B==23&&z==59&&U==60)&&(!H||Q)}(d.exports=D).fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":C,url:T,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:w,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:V,uuid:I,"json-pointer":E,"json-pointer-uri-fragment":F,"relative-json-pointer":O},D.full={date:x,time:P,"date-time":function(Z){return Z=Z.split(G),Z.length==2&&x(Z[0])&&P(Z[1],!0)},uri:function(Z){return M.test(Z)&&S.test(Z)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?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25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:V,uuid:I,"json-pointer":E,"json-pointer-uri-fragment":F,"relative-json-pointer":O};var G=/t|\s/i,M=/\/|:/,N=/[^\\]\\Z/;function V(Z){if(N.test(Z))return!1;try{return new RegExp(Z),!0}catch(H){return!1}}},2620:function(d,g,v){var y=v(4292),A=v(6862),b=v(3689),_=v(9306),w=v(1035),S=A.ucs2length,C=v(5215),T=b.Validation;function I(G,M,N,V){var Z=this,H=this._opts,B=[void 0],z={},U=[],Q={},X=[],J={},ne=[],te=(M=M||{schema:G,refVal:B,refs:z},function(Ae,Ee,le){var re=E.call(this,Ae,Ee,le);return 0<=re?{index:re,compiling:!0}:(re=this._compilations.length,this._compilations[re]={schema:Ae,root:Ee,baseId:le},{index:re,compiling:!1})}.call(this,G,M,V)),ce=this._compilations[te.index];if(te.compiling)return ce.callValidate=ee;var se=this._formats,ge=this.RULES;try{var he=pe(G,M,N,V),ye=(ce.validate=he,ce.callValidate);return ye&&(ye.schema=he.schema,ye.errors=null,ye.refs=he.refs,ye.refVal=he.refVal,ye.root=he.root,ye.$async=he.$async,H.sourceCode)&&(ye.source=he.source),he}finally{(function(Ae,Ee,le){Ae=E.call(this,Ae,Ee,le),0<=Ae&&this._compilations.splice(Ae,1)}).call(this,G,M,V)}function ee(){var Ae=ce.validate,Ee=Ae.apply(this,arguments);return ee.errors=Ae.errors,Ee}function pe(Ae,Ee,le,re){var ue=!Ee||Ee.schema==Ae;if(Ee.schema!=M.schema)return I.call(Z,Ae,Ee,le,re);le=Ae.$async===!0,re=w({isTop:!0,schema:Ae,isRoot:ue,baseId:re,root:Ee,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:b.MissingRef,RULES:ge,validate:w,util:A,resolve:y,resolveRef:ae,usePattern:_e,useDefault:Te,useCustomRule:Ce,opts:H,formats:se,logger:Z.logger,self:Z}),re=P(B,D)+P(U,F)+P(X,O)+P(ne,x)+re,H.processCode&&(re=H.processCode(re,Ae));try{var be=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",re)(Z,ge,se,M,B,X,ne,C,S,T);B[0]=be}catch(ie){throw Z.logger.error("Error compiling schema, function code:",re),ie}return be.schema=Ae,be.errors=null,be.refs=z,be.refVal=B,be.root=ue?be:Ee,le&&(be.$async=!0),H.sourceCode===!0&&(be.source={code:re,patterns:U,defaults:X}),be}function ae(Ae,Ee,ie){Ee=y.url(Ae,Ee);var re=z[Ee];if(re!==void 0)return we(ue=B[re],be="refVal["+re+"]");if(!ie&&M.refs&&(re=M.refs[Ee],re!==void 0))return we(ue=M.refVal[re],be=ve(Ee,ue));var ue,be=ve(Ee),ie=y.call(Z,pe,M,Ee);if((ie=ie===void 0&&(re=N&&N[Ee])?y.inlineRef(re,H.inlineRefs)?re:I.call(Z,re,M,N,Ae):ie)!==void 0)return ue=ie,re=z[re=Ee],B[re]=ue,we(ie,be);delete z[Ee]}function ve(Ae,Ee){var le=B.length;return B[le]=Ee,"refVal"+(z[Ae]=le)}function we(Ae,Ee){return typeof Ae=="object"||typeof Ae=="boolean"?{code:Ee,schema:Ae,inline:!0}:{code:Ee,$async:Ae&&!!Ae.$async}}function _e(Ae){var Ee=Q[Ae];return Ee===void 0&&(Ee=Q[Ae]=U.length,U[Ee]=Ae),"pattern"+Ee}function Te(Ae){switch(typeof Ae){case"boolean":case"number":return""+Ae;case"string":return A.toQuotedString(Ae);case"object":var Ee,le;return Ae===null?"null":(Ee=_(Ae),(le=J[Ee])===void 0&&(le=J[Ee]=X.length,X[le]=Ae),"default"+le)}}function Ce(Ae,Ee,le,re){if(Z._opts.validateSchema!==!1){var be=Ae.definition.dependencies;if(be&&!be.every(function(Se){return Object.prototype.hasOwnProperty.call(le,Se)}))throw new Error("parent schema must have all required keywords: "+be.join(","));if(be=Ae.definition.validateSchema,be&&!be(Ee)){if(be="keyword schema is invalid: "+Z.errorsText(be.errors),Z._opts.validateSchema!="log")throw new Error(be);Z.logger.error(be)}}var ue,be=Ae.definition.compile,ie=Ae.definition.inline,oe=Ae.definition.macro;if(be)ue=be.call(Z,Ee,le,re);else if(oe)ue=oe.call(Z,Ee,le,re),H.validateSchema!==!1&&Z.validateSchema(ue,!0);else if(ie)ue=ie.call(Z,re,Ae.keyword,Ee,le);else if(!(ue=Ae.definition.validate))return;if(ue===void 0)throw new Error('custom keyword "'+Ae.keyword+'"failed to compile');return be=ne.length,{code:"customRule"+be,validate:ne[be]=ue}}}function E(G,M,N){for(var V=0;V",B=M?">":"<",z=void 0;if(!P&&typeof E!="number"&&E!==void 0)throw new Error(v+" must be number");if(!Z&&V!==void 0&&typeof V!="number"&&typeof V!="boolean")throw new Error(N+" must be number or boolean");Z?(I=g.util.getData(V.$data,I,g.dataPathArr),_="exclIsNumber"+T,w="' + "+(S="op"+T)+" + '",z=N,(U=U||[]).push(C=C+(" var schemaExcl"+T+" = "+I+"; ")+(" var "+(A="exclusive"+T)+"; var "+(b="exclType"+T)+" = typeof "+(I="schemaExcl"+T)+"; if ("+b+" != 'boolean' && "+b+" != 'undefined' && "+b+" != 'number') { ")),C="",g.createErrors!==!1?(C+=" { keyword: '"+(z||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(O)+" , params: {} ",g.opts.messages!==!1&&(C+=" , message: '"+N+" should be boolean' "),g.opts.verbose&&(C+=" , schema: validate.schema"+F+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+x+" "),C+=" } "):C+=" {} ",Q=C,C=U.pop(),!g.compositeRule&&D?g.async?C+=" throw new ValidationError(["+Q+"]); ":C+=" validate.errors = ["+Q+"]; return false; ":C+=" var err = "+Q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C+=" } else if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" "+b+" == 'number' ? ( ("+A+" = "+G+" === undefined || "+I+" "+H+"= "+G+") ? "+x+" "+B+"= "+I+" : "+x+" "+B+" "+G+" ) : ( ("+A+" = "+I+" === true) ? "+x+" "+B+"= "+G+" : "+x+" "+B+" "+G+" ) || "+x+" !== "+x+") { var op"+T+" = "+A+" ? '"+H+"' : '"+H+"='; ",E===void 0&&(O=g.errSchemaPath+"/"+(z=N),G=I,P=Z)):(w=H,(_=typeof V=="number")&&P?(S="'"+w+"'",C+=" if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" ( "+G+" === undefined || "+V+" "+H+"= "+G+" ? "+x+" "+B+"= "+V+" : "+x+" "+B+" "+G+" ) || "+x+" !== "+x+") { "):(_&&E===void 0?(A=!0,O=g.errSchemaPath+"/"+(z=N),G=V,B+="="):(_&&(G=Math[M?"min":"max"](V,E)),V===(!_||G)?(A=!0,O=g.errSchemaPath+"/"+(z=N),B+="="):(A=!1,w+="=")),S="'"+w+"'",C+=" if ( ",P&&(C+=" ("+G+" !== undefined && typeof "+G+" != 'number') || "),C+=" "+x+" "+B+" "+G+" || "+x+" !== "+x+") { ")),z=z||v,(U=U||[]).push(C),C="",g.createErrors!==!1?(C+=" { keyword: '"+(z||"_limit")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(O)+" , params: { comparison: "+S+", limit: "+G+", exclusive: "+A+" } ",g.opts.messages!==!1&&(C=C+" , message: 'should be "+w+" "+(P?"' + "+G:G+"'")),g.opts.verbose&&(C=(C+=" , schema: ")+(P?"validate.schema"+F:""+E)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+x+" "),C+=" } "):C+=" {} ";var U,Q=C;return C=U.pop(),!g.compositeRule&&D?g.async?C+=" throw new ValidationError(["+Q+"]); ":C+=" validate.errors = ["+Q+"]; return false; ":C+=" var err = "+Q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C+=" } ",D&&(C+=" else { "),C}},9337:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),(_=[]).push(b+=" "+I+".length "+((A=v)=="maxItems"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitItems")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT have ")+(v=="maxItems"?"more":"fewer")+" than ")+(E?"' + "+F+" + '":""+w)+" items' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},5433:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),g.opts.unicode===!1?b+=" "+I+".length ":b+=" ucs2length("+I+") ",(_=[]).push(b+=" "+((A=v)=="maxLength"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitLength")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT be ")+(v=="maxLength"?"longer":"shorter")+" than ")+(E?"' + "+F+" + '":""+w)+" characters' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},7724:function(d){d.exports=function(g,v,y){var A,b=" ",_=g.level,F=g.dataLevel,w=g.schema[v],S=g.schemaPath+g.util.getProperty(v),C=g.errSchemaPath+"/"+v,T=!g.opts.allErrors,I="data"+(F||""),E=g.opts.$data&&w&&w.$data,F=E?(b+=" var schema"+_+" = "+g.util.getData(w.$data,F,g.dataPathArr)+"; ","schema"+_):w;if(E||typeof w=="number")return b+="if ( ",E&&(b+=" ("+F+" !== undefined && typeof "+F+" != 'number') || "),(_=[]).push(b+=" Object.keys("+I+").length "+((A=v)=="maxProperties"?">":"<")+" "+F+") { "),b="",g.createErrors!==!1?(b+=" { keyword: '"+(A||"_limitProperties")+"' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { limit: "+F+" } ",g.opts.messages!==!1&&(b=(b=(b+=" , message: 'should NOT have ")+(v=="maxProperties"?"more":"fewer")+" than ")+(E?"' + "+F+" + '":""+w)+" properties' "),g.opts.verbose&&(b=(b+=" , schema: ")+(E?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",A=b,b=_.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+A+"]); ":b+=" validate.errors = ["+A+"]; return false; ":b+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+="} ",T&&(b+=" else { "),b;throw new Error(v+" must be number")}},3531:function(d){d.exports=function(g,v,y){var A=" ",b=g.schema[v],_=g.schemaPath+g.util.getProperty(v),w=g.errSchemaPath+"/"+v,S=!g.opts.allErrors,C=g.util.copy(g),T="",I=(C.level++,"valid"+C.level),E=C.baseId,F=!0,O=b;if(O)for(var D,x=-1,P=O.length-1;x "+H+") { ",z=C+"["+H+"]",E.schema=Q,E.schemaPath=_+"["+H+"]",E.errSchemaPath=w+"/"+H,E.errorPath=g.util.getPathExpr(g.errorPath,H,g.opts.jsonPointers,!0),E.dataPathArr[x]=H,U=g.validate(E),E.baseId=G,g.util.varOccurences(U,P)<2?A+=" "+g.util.varReplace(U,P,z)+" ":A+=" var "+P+" = "+z+"; "+U+" ",A+=" } ",S)&&(A+=" if ("+O+") { ",F+="}")}typeof V=="object"&&(g.opts.strictKeywords?typeof V=="object"&&0 "+b.length+") { for (var "+D+" = "+b.length+"; "+D+" < "+C+".length; "+D+"++) { ",E.errorPath=g.util.getPathExpr(g.errorPath,D,g.opts.jsonPointers,!0),z=C+"["+D+"]",E.dataPathArr[x]=D,U=g.validate(E),E.baseId=G,g.util.varOccurences(U,P)<2?A+=" "+g.util.varReplace(U,P,z)+" ":A+=" var "+P+" = "+z+"; "+U+" ",S&&(A+=" if (!"+O+") break; "),A+=" } } ",S)&&(A+=" if ("+O+") { ",F+="}")}else(g.opts.strictKeywords?typeof b=="object"&&0 1e-"+g.opts.multipleOfPrecision+" ":A+=" division"+b+" !== parseInt(division"+b+") ",A+=" ) ",I&&(A+=" ) "),v=[],v.push(A+=" ) { "),A="",g.createErrors!==!1?(A+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(S)+" , params: { multipleOf: "+E+" } ",g.opts.messages!==!1&&(A=A+" , message: 'should be multiple of "+(I?"' + "+E:E+"'")),g.opts.verbose&&(A=(A+=" , schema: ")+(I?"validate.schema"+w:""+_)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+T+" "),A+=" } "):A+=" {} ",b=A,A=v.pop(),!g.compositeRule&&C?g.async?A+=" throw new ValidationError(["+b+"]); ":A+=" validate.errors = ["+b+"]; return false; ":A+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",A+="} ",C&&(A+=" else { "),A}},1004:function(d){d.exports=function(g,C,y){var A,b,_=" ",E=g.level,I=g.dataLevel,w=g.schema[C],S=g.schemaPath+g.util.getProperty(C),C=g.errSchemaPath+"/"+C,T=!g.opts.allErrors,I="data"+(I||""),E="errs__"+E,F=g.util.copy(g),O=(F.level++,"valid"+F.level);return(g.opts.strictKeywords?typeof w=="object"&&0=g.opts.loopRequired,V=g.opts.ownProperties;if(C){if(A+=" var missing"+b+"; ",_){E||(A+=" var "+F+" = validate.schema"+w+"; ");var Z="' + "+(X="schema"+b+"["+(z="i"+b)+"]")+" + '";g.opts._errorDataPathProperty&&(g.errorPath=g.util.getPathExpr(N,X,g.opts.jsonPointers)),A+=" var "+I+" = true; ",E&&(A+=" if (schema"+b+" === undefined) "+I+" = true; else if (!Array.isArray(schema"+b+")) "+I+" = false; else {"),A+=" for (var "+z+" = 0; "+z+" < "+F+".length; "+z+"++) { "+I+" = "+T+"["+F+"["+z+"]] !== undefined ",V&&(A+=" && Object.prototype.hasOwnProperty.call("+T+", "+F+"["+z+"]) "),A+="; if (!"+I+") break; } ",E&&(A+=" } "),(Q=Q||[]).push(A+=" if (!"+I+") { "),A="",g.createErrors!==!1?(A+=" { keyword: 'required' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(S)+" , params: { missingProperty: '"+Z+"' } ",g.opts.messages!==!1&&(A+=" , message: '",g.opts._errorDataPathProperty?A+="is a required property":A+="should have required property \\'"+Z+"\\'",A+="' "),g.opts.verbose&&(A+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+T+" "),A+=" } "):A+=" {} ";var H=A,A=Q.pop()}else{A+=" if ( ";var B=O;if(B)for(var z=-1,U=B.length-1;z 1) { ",_=g.schema.items&&g.schema.items.type,O=Array.isArray(_),!_||_=="object"||_=="array"||O&&(0<=_.indexOf("object")||0<=_.indexOf("array"))?b+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+I+"[i], "+I+"[j])) { "+E+" = false; break outer; } } } ":(b=(b+=" var itemIndices = {}, item; for (;i--;) { var item = "+I+"[i]; ")+" if ("+g.util["checkDataType"+(O?"s":"")](_,"item",g.opts.strictNumbers,!0)+") continue; ",O&&(b+=` if (typeof item == 'string') item = '"' + item; `),b+=" if (typeof itemIndices[item] == 'number') { "+E+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "),b+=" } ",F&&(b+=" } "),(A=A||[]).push(b+=" if (!"+E+") { "),b="",g.createErrors!==!1?(b+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(C)+" , params: { i: i, j: j } ",g.opts.messages!==!1&&(b+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),g.opts.verbose&&(b=(b+=" , schema: ")+(F?"validate.schema"+S:""+w)+" , parentSchema: validate.schema"+g.schemaPath+" , data: "+I+" "),b+=" } "):b+=" {} ",_=b,b=A.pop(),!g.compositeRule&&T?g.async?b+=" throw new ValidationError(["+_+"]); ":b+=" validate.errors = ["+_+"]; return false; ":b+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",b+=" } ",T&&(b+=" else { ")):T&&(b+=" if (true) { "),b}},1035:function(d){d.exports=function(g,v,y){var A="",b=g.schema.$async===!0,_=g.util.schemaHasRulesExcept(g.schema,g.RULES.all,"$ref"),w=g.self._getId(g.schema);if(g.opts.strictKeywords){var S=g.util.schemaUnknownRules(g.schema,g.RULES.keywords);if(S){if(S="unknown keyword: "+S,g.opts.strictKeywords!=="log")throw new Error(S);g.logger.warn(S)}}if(g.isTop&&(A+=" var validate = ",b&&(g.async=!0,A+="async "),A+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",w)&&(g.opts.sourceCode||g.opts.processCode)&&(A+=" /*# sourceURL="+w+" */ "),typeof g.schema=="boolean"||!_&&!g.schema.$ref)T=g.level,I=g.dataLevel,ge=g.schema[v="false schema"],Z=g.schemaPath+g.util.getProperty(v),H=g.errSchemaPath+"/"+v,D=!g.opts.allErrors,E="data"+(I||""),O="valid"+T,g.schema===!1?(g.isTop?D=!0:A+=" var "+O+" = false; ",(Te=Te||[]).push(A),A="",g.createErrors!==!1?(A+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+g.errorPath+" , schemaPath: "+g.util.toQuotedString(H)+" , params: {} ",g.opts.messages!==!1&&(A+=" , message: 'boolean schema is false' "),g.opts.verbose&&(A+=" , schema: false , parentSchema: validate.schema"+g.schemaPath+" , data: "+E+" "),A+=" } "):A+=" {} ",ne=A,A=Te.pop(),!g.compositeRule&&D?g.async?A+=" throw new ValidationError(["+ne+"]); ":A+=" validate.errors = ["+ne+"]; return false; ":A+=" var err = "+ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "):g.isTop?A+=b?" return data; ":" validate.errors = null; return true; ":A+=" var "+O+" = true; ",g.isTop&&(A+=" }; return validate; ");else{if(g.isTop){var C=g.isTop,T=g.level=0,I=g.dataLevel=0,E="data";if(g.rootId=g.resolve.fullPath(g.self._getId(g.root.schema)),g.baseId=g.baseId||g.rootId,delete g.isTop,g.dataPathArr=[""],g.schema.default!==void 0&&g.opts.useDefaults&&g.opts.strictDefaults){var F="default is ignored in the schema root";if(g.opts.strictDefaults!=="log")throw new Error(F);g.logger.warn(F)}A=(A+=" var vErrors = null; ")+" var errors = 0; if (rootData === undefined) rootData = data; "}else{if(T=g.level,E="data"+((I=g.dataLevel)||""),w&&(g.baseId=g.resolve.url(g.baseId,w)),b&&!g.async)throw new Error("async schema in sync schema");A+=" var errs_"+T+" = errors;"}var O="valid"+T,D=!g.opts.allErrors,x="",P="",G=g.schema.type,M=Array.isArray(G);if(G&&g.opts.nullable&&g.schema.nullable===!0&&(M?G.indexOf("null")==-1&&(G=G.concat("null")):G!="null"&&(G=[G,"null"],M=!0)),M&&G.length==1&&(G=G[0],M=!1),g.schema.$ref&&_){if(g.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+g.errSchemaPath+'" (see option extendRefs)');g.opts.extendRefs!==!0&&(_=!1,g.logger.warn('$ref: keywords ignored in schema at path "'+g.errSchemaPath+'"'))}if(g.schema.$comment&&g.opts.$comment&&(A+=" "+g.RULES.all.$comment.code(g,"$comment")),G){g.opts.coerceTypes&&(N=g.util.coerceToTypes(g.opts.coerceTypes,G));var N,V=g.RULES.types[G];if(N||M||V===!0||V&&!re(V)){var Z=g.schemaPath+".type",H=g.errSchemaPath+"/type",Z=g.schemaPath+".type",H=g.errSchemaPath+"/type";if(A+=" if ("+g.util[M?"checkDataTypes":"checkDataType"](G,E,g.opts.strictNumbers,!0)+") { ",N){var B="dataType"+T,z="coerced"+T,U=(A+=" var "+B+" = typeof "+E+"; var "+z+" = undefined; ",g.opts.coerceTypes=="array"&&(A+=" if ("+B+" == 'object' && Array.isArray("+E+") && "+E+".length == 1) { "+E+" = "+E+"[0]; "+B+" = typeof "+E+"; if ("+g.util.checkDataType(g.schema.type,E,g.opts.strictNumbers)+") "+z+" = "+E+"; } "),A+=" if ("+z+" !== undefined) ; ",N);if(U)for(var Q,X=-1,J=U.length-1;X",9:"Array"},F="UnquotedIdentifier",O="QuotedIdentifier",N="Number",Z="Expref",H="Pipe",B="Flatten",U="Filter",X="Lbracket",ne="Literal",te={".":"Dot","*":z="Star",",":P="Comma",":":G="Colon","{":Q="Lbrace","}":M="Rbrace","]":D="Rbracket","(":J="Lparen",")":x="Rparen","@":V="Current"},ce={"<":!0,">":!0,"=":!0,"!":!0},se={" ":!0," ":!0,"\n":!0},w.prototype={tokenize:function(he){var ye,ee,pe=[];for(this._current=0;this._current"?he[this._current]==="="?(this._current++,{type:"GTE",value:">=",start:ye}):{type:"GT",value:">",start:ye}:ee==="="&&he[this._current]==="="?(this._current++,{type:"EQ",value:"==",start:ye}):void 0},_consumeLiteral:function(he){this._current++;for(var ye=this._current,ee=he.length;he[this._current]!=="`"&&this._currentNumber.MAX_SAFE_INTEGER||Te=x.length)throw new SyntaxError("Unexpected end of JSON input")}},g.stringify=function(x,P,G){if(b(x)){var M=0;switch(typeof(V=typeof G=="object"?G.space:G)){case"number":var N=101){Ge[0]=Ge[0].slice(0,-1);for(var et=Ge.length-1,nt=1;nt= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Q=D-x,X=Math.floor,J=String.fromCharCode;function ne(Ne){throw new RangeError(U[Ne])}function te(Ne,Ge){for(var ze=[],et=Ne.length;et--;)ze[et]=Ge(Ne[et]);return ze}function ce(Ne,Ge){var ze=Ne.split("@"),et="";ze.length>1&&(et=ze[0]+"@",Ne=ze[1]),Ne=Ne.replace(z,".");var nt=Ne.split("."),Bt=te(nt,Ge).join(".");return et+Bt}function se(Ne){for(var Ge=[],ze=0,et=Ne.length;ze=55296&&nt<=56319&&ze>1,Ge+=X(Ge/ze);Ge>Q*P>>1;nt+=D)Ge=X(Ge/Q);return X(nt+(Q+1)*Ge/(Ge+G))},ee=function(Ge){var ze=[],et=Ge.length,nt=0,Bt=V,Wt=N,jt=Ge.lastIndexOf(Z);jt<0&&(jt=0);for(var qt=0;qt=128&&ne("not-basic"),ze.push(Ge.charCodeAt(qt));for(var dn=jt>0?jt+1:0;dn=et&&ne("invalid-input");var Ht=ge(Ge.charCodeAt(dn++));(Ht>=D||Ht>X((O-nt)/an))&&ne("overflow"),nt+=Ht*an;var Ue=ln<=Wt?x:ln>=Wt+P?P:ln-Wt;if(HtX(O/kt)&&ne("overflow"),an*=kt}var Ot=ze.length+1;Wt=ye(nt-Qt,Ot,Qt==0),X(nt/Ot)>O-Bt&&ne("overflow"),Bt+=X(nt/Ot),nt%=Ot,ze.splice(nt++,0,Bt)}return String.fromCodePoint.apply(String,ze)},pe=function(Ge){var ze=[];Ge=se(Ge);var et=Ge.length,nt=V,Bt=0,Wt=N,jt=!0,qt=!1,dn=void 0;try{for(var Qt=Ge[Symbol.iterator](),an;!(jt=(an=Qt.next()).done);jt=!0){var ln=an.value;ln<128&&ze.push(J(ln))}}catch(Ln){qt=!0,dn=Ln}finally{try{!jt&&Qt.return&&Qt.return()}finally{if(qt)throw dn}}var Ht=ze.length,Ue=Ht;for(Ht&&ze.push(Z);Ue=nt&&rnX((O-Bt)/mn)&&ne("overflow"),Bt+=(kt-nt)*mn,nt=kt;var Tn=!0,Pn=!1,wn=void 0;try{for(var Kt=Ge[Symbol.iterator](),un;!(Tn=(un=Kt.next()).done);Tn=!0){var Mn=un.value;if(MnO&&ne("overflow"),Mn==nt){for(var xn=Bt,On=D;;On+=D){var Vn=On<=Wt?x:On>=Wt+P?P:On-Wt;if(xn>6|192).toString(16).toUpperCase()+"%"+(Ge&63|128).toString(16).toUpperCase():ze="%"+(Ge>>12|224).toString(16).toUpperCase()+"%"+(Ge>>6&63|128).toString(16).toUpperCase()+"%"+(Ge&63|128).toString(16).toUpperCase(),ze}function _e(Ne){for(var Ge="",ze=0,et=Ne.length;ze=194&&nt<224){if(et-ze>=6){var Bt=parseInt(Ne.substr(ze+4,2),16);Ge+=String.fromCharCode((nt&31)<<6|Bt&63)}else Ge+=Ne.substr(ze,6);ze+=6}else if(nt>=224){if(et-ze>=9){var Wt=parseInt(Ne.substr(ze+4,2),16),jt=parseInt(Ne.substr(ze+7,2),16);Ge+=String.fromCharCode((nt&15)<<12|(Wt&63)<<6|jt&63)}else Ge+=Ne.substr(ze,9);ze+=9}else Ge+=Ne.substr(ze,3),ze+=3}return Ge}function Te(Ne,Ge){function ze(et){var nt=_e(et);return nt.match(Ge.UNRESERVED)?nt:et}return Ne.scheme&&(Ne.scheme=String(Ne.scheme).replace(Ge.PCT_ENCODED,ze).toLowerCase().replace(Ge.NOT_SCHEME,"")),Ne.userinfo!==void 0&&(Ne.userinfo=String(Ne.userinfo).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_USERINFO,we).replace(Ge.PCT_ENCODED,_)),Ne.host!==void 0&&(Ne.host=String(Ne.host).replace(Ge.PCT_ENCODED,ze).toLowerCase().replace(Ge.NOT_HOST,we).replace(Ge.PCT_ENCODED,_)),Ne.path!==void 0&&(Ne.path=String(Ne.path).replace(Ge.PCT_ENCODED,ze).replace(Ne.scheme?Ge.NOT_PATH:Ge.NOT_PATH_NOSCHEME,we).replace(Ge.PCT_ENCODED,_)),Ne.query!==void 0&&(Ne.query=String(Ne.query).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_QUERY,we).replace(Ge.PCT_ENCODED,_)),Ne.fragment!==void 0&&(Ne.fragment=String(Ne.fragment).replace(Ge.PCT_ENCODED,ze).replace(Ge.NOT_FRAGMENT,we).replace(Ge.PCT_ENCODED,_)),Ne}function Ce(Ne){return Ne.replace(/^0*(.*)/,"$1")||"0"}function Ae(Ne,Ge){var ze=Ne.match(Ge.IPV4ADDRESS)||[],et=E(ze,2),nt=et[1];return nt?nt.split(".").map(Ce).join("."):Ne}function Ee(Ne,Ge){var ze=Ne.match(Ge.IPV6ADDRESS)||[],et=E(ze,3),nt=et[1],Bt=et[2];if(nt){for(var Wt=nt.toLowerCase().split("::").reverse(),jt=E(Wt,2),qt=jt[0],dn=jt[1],Qt=dn?dn.split(":").map(Ce):[],an=qt.split(":").map(Ce),ln=Ge.IPV4ADDRESS.test(an[an.length-1]),Ht=ln?7:8,Ue=an.length-Ht,kt=Array(Ht),Ot=0;Ot1){var cn=kt.slice(0,Jt.index),rn=kt.slice(Jt.index+Jt.length);Xt=cn.join(":")+"::"+rn.join(":")}else Xt=kt.join(":");return Bt&&(Xt+="%"+Bt),Xt}else return Ne}var le=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,re="".match(/(){0}/)[1]===void 0;function ue(Ne){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze={},et=Ge.iri!==!1?I:T;Ge.reference==="suffix"&&(Ne=(Ge.scheme?Ge.scheme+":":"")+"//"+Ne);var nt=Ne.match(le);if(nt){re?(ze.scheme=nt[1],ze.userinfo=nt[3],ze.host=nt[4],ze.port=parseInt(nt[5],10),ze.path=nt[6]||"",ze.query=nt[7],ze.fragment=nt[8],isNaN(ze.port)&&(ze.port=nt[5])):(ze.scheme=nt[1]||void 0,ze.userinfo=Ne.indexOf("@")!==-1?nt[3]:void 0,ze.host=Ne.indexOf("//")!==-1?nt[4]:void 0,ze.port=parseInt(nt[5],10),ze.path=nt[6]||"",ze.query=Ne.indexOf("?")!==-1?nt[7]:void 0,ze.fragment=Ne.indexOf("#")!==-1?nt[8]:void 0,isNaN(ze.port)&&(ze.port=Ne.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?nt[4]:void 0)),ze.host&&(ze.host=Ee(Ae(ze.host,et),et)),ze.scheme===void 0&&ze.userinfo===void 0&&ze.host===void 0&&ze.port===void 0&&!ze.path&&ze.query===void 0?ze.reference="same-document":ze.scheme===void 0?ze.reference="relative":ze.fragment===void 0?ze.reference="absolute":ze.reference="uri",Ge.reference&&Ge.reference!=="suffix"&&Ge.reference!==ze.reference&&(ze.error=ze.error||"URI is not a "+Ge.reference+" reference.");var Bt=ve[(Ge.scheme||ze.scheme||"").toLowerCase()];if(!Ge.unicodeSupport&&(!Bt||!Bt.unicodeSupport)){if(ze.host&&(Ge.domainHost||Bt&&Bt.domainHost))try{ze.host=ae.toASCII(ze.host.replace(et.PCT_ENCODED,_e).toLowerCase())}catch(Wt){ze.error=ze.error||"Host's domain name can not be converted to ASCII via punycode: "+Wt}Te(ze,T)}else Te(ze,et);Bt&&Bt.parse&&Bt.parse(ze,Ge)}else ze.error=ze.error||"URI can not be parsed.";return ze}function be(Ne,Ge){var ze=Ge.iri!==!1?I:T,et=[];return Ne.userinfo!==void 0&&(et.push(Ne.userinfo),et.push("@")),Ne.host!==void 0&&et.push(Ee(Ae(String(Ne.host),ze),ze).replace(ze.IPV6ADDRESS,function(nt,Bt,Wt){return"["+Bt+(Wt?"%25"+Wt:"")+"]"})),(typeof Ne.port=="number"||typeof Ne.port=="string")&&(et.push(":"),et.push(String(Ne.port))),et.length?et.join(""):void 0}var ie=/^\.\.?\//,oe=/^\/\.(\/|$)/,me=/^\/\.\.(\/|$)/,Se=/^\/?(?:.|\n)*?(?=\/|$)/;function xe(Ne){for(var Ge=[];Ne.length;)if(Ne.match(ie))Ne=Ne.replace(ie,"");else if(Ne.match(oe))Ne=Ne.replace(oe,"/");else if(Ne.match(me))Ne=Ne.replace(me,"/"),Ge.pop();else if(Ne==="."||Ne==="..")Ne="";else{var ze=Ne.match(Se);if(ze){var et=ze[0];Ne=Ne.slice(et.length),Ge.push(et)}else throw new Error("Unexpected dot segment condition")}return Ge.join("")}function De(Ne){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze=Ge.iri?I:T,et=[],nt=ve[(Ge.scheme||Ne.scheme||"").toLowerCase()];if(nt&&nt.serialize&&nt.serialize(Ne,Ge),Ne.host&&!ze.IPV6ADDRESS.test(Ne.host)){if(Ge.domainHost||nt&&nt.domainHost)try{Ne.host=Ge.iri?ae.toUnicode(Ne.host):ae.toASCII(Ne.host.replace(ze.PCT_ENCODED,_e).toLowerCase())}catch(jt){Ne.error=Ne.error||"Host's domain name can not be converted to "+(Ge.iri?"Unicode":"ASCII")+" via punycode: "+jt}}Te(Ne,ze),Ge.reference!=="suffix"&&Ne.scheme&&(et.push(Ne.scheme),et.push(":"));var Bt=be(Ne,Ge);if(Bt!==void 0&&(Ge.reference!=="suffix"&&et.push("//"),et.push(Bt),Ne.path&&Ne.path.charAt(0)!=="/"&&et.push("/")),Ne.path!==void 0){var Wt=Ne.path;!Ge.absolutePath&&(!nt||!nt.absolutePath)&&(Wt=xe(Wt)),Bt===void 0&&(Wt=Wt.replace(/^\/\//,"/%2F")),et.push(Wt)}return Ne.query!==void 0&&(et.push("?"),et.push(Ne.query)),Ne.fragment!==void 0&&(et.push("#"),et.push(Ne.fragment)),et.join("")}function Pe(Ne,Ge){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},et=arguments[3],nt={};return et||(Ne=ue(De(Ne,ze),ze),Ge=ue(De(Ge,ze),ze)),ze=ze||{},!ze.tolerant&&Ge.scheme?(nt.scheme=Ge.scheme,nt.userinfo=Ge.userinfo,nt.host=Ge.host,nt.port=Ge.port,nt.path=xe(Ge.path||""),nt.query=Ge.query):(Ge.userinfo!==void 0||Ge.host!==void 0||Ge.port!==void 0?(nt.userinfo=Ge.userinfo,nt.host=Ge.host,nt.port=Ge.port,nt.path=xe(Ge.path||""),nt.query=Ge.query):(Ge.path?(Ge.path.charAt(0)==="/"?nt.path=xe(Ge.path):((Ne.userinfo!==void 0||Ne.host!==void 0||Ne.port!==void 0)&&!Ne.path?nt.path="/"+Ge.path:Ne.path?nt.path=Ne.path.slice(0,Ne.path.lastIndexOf("/")+1)+Ge.path:nt.path=Ge.path,nt.path=xe(nt.path)),nt.query=Ge.query):(nt.path=Ne.path,Ge.query!==void 0?nt.query=Ge.query:nt.query=Ne.query),nt.userinfo=Ne.userinfo,nt.host=Ne.host,nt.port=Ne.port),nt.scheme=Ne.scheme),nt.fragment=Ge.fragment,nt}function Be(Ne,Ge,ze){var et=S({scheme:"null"},ze);return De(Pe(ue(Ne,et),ue(Ge,et),et,!0),et)}function ot(Ne,Ge){return typeof Ne=="string"?Ne=De(ue(Ne,Ge),Ge):b(Ne)==="object"&&(Ne=ue(De(Ne,Ge),Ge)),Ne}function ct(Ne,Ge,ze){return typeof Ne=="string"?Ne=De(ue(Ne,ze),ze):b(Ne)==="object"&&(Ne=De(Ne,ze)),typeof Ge=="string"?Ge=De(ue(Ge,ze),ze):b(Ge)==="object"&&(Ge=De(Ge,ze)),Ne===Ge}function _t(Ne,Ge){return Ne&&Ne.toString().replace(!Ge||!Ge.iri?T.ESCAPE:I.ESCAPE,we)}function He(Ne,Ge){return Ne&&Ne.toString().replace(!Ge||!Ge.iri?T.PCT_ENCODED:I.PCT_ENCODED,_e)}var Ve={scheme:"http",domainHost:!0,parse:function(Ge,ze){return Ge.host||(Ge.error=Ge.error||"HTTP URIs must have a host."),Ge},serialize:function(Ge,ze){var et=String(Ge.scheme).toLowerCase()==="https";return(Ge.port===(et?443:80)||Ge.port==="")&&(Ge.port=void 0),Ge.path||(Ge.path="/"),Ge}},ke={scheme:"https",domainHost:Ve.domainHost,parse:Ve.parse,serialize:Ve.serialize};function Qe(Ne){return typeof Ne.secure=="boolean"?Ne.secure:String(Ne.scheme).toLowerCase()==="wss"}var yt={scheme:"ws",domainHost:!0,parse:function(Ge,ze){var et=Ge;return et.secure=Qe(et),et.resourceName=(et.path||"/")+(et.query?"?"+et.query:""),et.path=void 0,et.query=void 0,et},serialize:function(Ge,ze){if((Ge.port===(Qe(Ge)?443:80)||Ge.port==="")&&(Ge.port=void 0),typeof Ge.secure=="boolean"&&(Ge.scheme=Ge.secure?"wss":"ws",Ge.secure=void 0),Ge.resourceName){var et=Ge.resourceName.split("?"),nt=E(et,2),Bt=nt[0],Wt=nt[1];Ge.path=Bt&&Bt!=="/"?Bt:void 0,Ge.query=Wt,Ge.resourceName=void 0}return Ge.fragment=void 0,Ge}},Ct={scheme:"wss",domainHost:yt.domainHost,parse:yt.parse,serialize:yt.serialize},Xe={},dt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Re="[0-9A-Fa-f]",Ye=A(A("%[EFef]"+Re+"%"+Re+Re+"%"+Re+Re)+"|"+A("%[89A-Fa-f]"+Re+"%"+Re+Re)+"|"+A("%"+Re+Re)),at="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",mt=y("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),St="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Rt=new RegExp(dt,"g"),Oe=new RegExp(Ye,"g"),We=new RegExp(y("[^]",at,"[\\.]",'[\\"]',mt),"g"),Je=new RegExp(y("[^]",dt,St),"g"),st=Je;function At(Ne){var Ge=_e(Ne);return Ge.match(Rt)?Ge:Ne}var bt={scheme:"mailto",parse:function(Ge,ze){var et=Ge,nt=et.to=et.path?et.path.split(","):[];if(et.path=void 0,et.query){for(var Bt=!1,Wt={},jt=et.query.split("&"),qt=0,dn=jt.length;qt1&&arguments[1]!==void 0?arguments[1]:1,Z=V>0?N.toFixed(V).replace(/0+$/,"").replace(/\.$/,""):N.toString();return Z||"0"}var _=function(){function N(V,Z,H,B){g(this,N);var z=this;function U(X){if(X.startsWith("hsl")){var J=X.match(/([\-\d\.e]+)/g).map(Number),ne=y(J,4),te=ne[0],ce=ne[1],se=ne[2],ge=ne[3];ge===void 0&&(ge=1),te/=360,ce/=100,se/=100,z.hsla=[te,ce,se,ge]}else if(X.startsWith("rgb")){var he=X.match(/([\-\d\.e]+)/g).map(Number),ye=y(he,4),ee=ye[0],pe=ye[1],ae=ye[2],ve=ye[3];ve===void 0&&(ve=1),z.rgba=[ee,pe,ae,ve]}else X.startsWith("#")?z.rgba=N.hexToRgb(X):z.rgba=N.nameToRgb(X)||N.hexToRgb(X)}if(V!==void 0)if(Array.isArray(V))this.rgba=V;else if(H===void 0){var Q=V&&""+V;Q&&U(Q.toLowerCase())}else this.rgba=[V,Z,H,B===void 0?1:B]}return v(N,[{key:"printRGB",value:function(Z){var H=Z?this.rgba:this.rgba.slice(0,3),B=H.map(function(z,U){return b(z,U===3?3:0)});return Z?"rgba("+B+")":"rgb("+B+")"}},{key:"printHSL",value:function(Z){var H=[360,100,100,1],B=["","%","%",""],z=Z?this.hsla:this.hsla.slice(0,3),U=z.map(function(Q,X){return b(Q*H[X],X===3?3:1)+B[X]});return Z?"hsla("+U+")":"hsl("+U+")"}},{key:"printHex",value:function(Z){var H=this.hex;return Z?H:H.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=N.hslToRgb(this._hsla)},set:function(Z){Z.length===3&&(Z[3]=1),this._rgba=Z,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=N.rgbToHsl(this._rgba)},set:function(Z){Z.length===3&&(Z[3]=1),this._hsla=Z,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var Z=this.rgba,H=Z.map(function(B,z){return z<3?B.toString(16):Math.round(B*255).toString(16)});return"#"+H.map(function(B){return B.padStart(2,"0")}).join("")},set:function(Z){this.rgba=N.hexToRgb(Z)}}],[{key:"hexToRgb",value:function(Z){var H=(Z.startsWith("#")?Z.slice(1):Z).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!H.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+Z);var B=H.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(z){return parseInt(z,16)});return B[3]=B[3]/255,B}},{key:"nameToRgb",value:function(Z){var H=Z.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),B=A[H];return B===void 0?B:N.hexToRgb(B.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(Z){var H=y(Z,4),B=H[0],z=H[1],U=H[2],Q=H[3];B/=255,z/=255,U/=255;var X=Math.max(B,z,U),J=Math.min(B,z,U),ne=void 0,te=void 0,ce=(X+J)/2;if(X===J)ne=te=0;else{var se=X-J;switch(te=ce>.5?se/(2-X-J):se/(X+J),X){case B:ne=(z-U)/se+(z1&&(pe-=1),pe<.16666666666666666?ye+(ee-ye)*6*pe:pe<.5?ee:pe<.6666666666666666?ye+(ee-ye)*(.6666666666666666-pe)*6:ye},ce=U<.5?U*(1+z):U+z-U*z,se=2*U-ce;X=te(se,ce,B+1/3),J=te(se,ce,B),ne=te(se,ce,B-1/3)}var ge=[X*255,J*255,ne*255].map(Math.round);return ge[3]=Q,ge}}]),N}(),w=function(){function N(){g(this,N),this._events=[]}return v(N,[{key:"add",value:function(Z,H,B){Z.addEventListener(H,B,!1),this._events.push({target:Z,type:H,handler:B})}},{key:"remove",value:function(Z,H,B){this._events=this._events.filter(function(z){var U=!0;return Z&&Z!==z.target&&(U=!1),H&&H!==z.type&&(U=!1),B&&B!==z.handler&&(U=!1),U&&N._doRemove(z.target,z.type,z.handler),!U})}},{key:"destroy",value:function(){this._events.forEach(function(Z){return N._doRemove(Z.target,Z.type,Z.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(Z,H,B){Z.removeEventListener(H,B,!1)}}]),N}();function S(N){var V=document.createElement("div");return V.innerHTML=N,V.firstElementChild}function C(N,V,Z){var H=!1;function B(X,J,ne){return Math.max(J,Math.min(X,ne))}function z(X,J,ne){if(ne&&(H=!0),!!H){X.preventDefault();var te=V.getBoundingClientRect(),ce=te.width,se=te.height,ge=J.clientX,he=J.clientY,ye=B(ge-te.left,0,ce),ee=B(he-te.top,0,se);Z(ye/ce,ee/se)}}function U(X,J){var ne=X.buttons===void 0?X.which:X.buttons;ne===1?z(X,X,J):H=!1}function Q(X,J){X.touches.length===1?z(X,X.touches[0],J):H=!1}N.add(V,"mousedown",function(X){U(X,!0)}),N.add(V,"touchstart",function(X){Q(X,!0)}),N.add(window,"mousemove",U),N.add(V,"touchmove",Q),N.add(window,"mouseup",function(X){H=!1}),N.add(V,"touchend",function(X){H=!1}),N.add(V,"touchcancel",function(X){H=!1})}var T=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em, + linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,I=360,E="keydown",F="mousedown",O="focusin";function D(N,V){return(V||document).querySelector(N)}function x(N){N.preventDefault(),N.stopPropagation()}function P(N,V,Z,H,B){N.add(V,E,function(z){Z.indexOf(z.key)>=0&&(B&&x(z),H(z))})}var G=function(){function N(V){g(this,N),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new w,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(V)}return v(N,[{key:"setOptions",value:function(Z){var H=this;if(!Z)return;var B=this.settings;function z(J,ne,te){for(var ce in J)te&&te.indexOf(ce)>=0||(ne[ce]=J[ce])}if(Z instanceof HTMLElement)B.parent=Z;else{B.parent&&Z.parent&&B.parent!==Z.parent&&(this._events.remove(B.parent),this._popupInited=!1),z(Z,B),Z.onChange&&(this.onChange=Z.onChange),Z.onDone&&(this.onDone=Z.onDone),Z.onOpen&&(this.onOpen=Z.onOpen),Z.onClose&&(this.onClose=Z.onClose);var U=Z.color||Z.colour;U&&this._setColor(U)}var Q=B.parent;if(Q&&B.popup&&!this._popupInited){var X=function(ne){return H.openHandler(ne)};this._events.add(Q,"click",X),P(this._events,Q,[" ","Spacebar","Enter"],X),this._popupInited=!0}else Z.parent&&!B.popup&&this.show()}},{key:"openHandler",value:function(Z){if(this.show()){Z&&Z.preventDefault(),this.settings.parent.style.pointerEvents="none";var H=Z&&Z.type===E?this._domEdit:this.domElement;setTimeout(function(){return H.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(Z){var H=Z&&Z.type,B=!1;if(!Z)B=!0;else if(H===F||H===O){var z=(this.__containedEvent||0)+100;Z.timeStamp>z&&(B=!0)}else x(Z),B=!0;B&&this.hide()&&(this.settings.parent.style.pointerEvents="",H!==F&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(Z,H){this.closeHandler(),this.setOptions(Z),H&&this.openHandler()}},{key:"setColor",value:function(Z,H){this._setColor(Z,{silent:H})}},{key:"_setColor",value:function(Z,H){if(typeof Z=="string"&&(Z=Z.trim()),!!Z){H=H||{};var B=void 0;try{B=new _(Z)}catch(U){if(H.failSilently)return;throw U}if(!this.settings.alpha){var z=B.hsla;z[3]=1,B.hsla=z}this.colour=this.color=B,this._setHSLA(null,null,null,null,H)}}},{key:"setColour",value:function(Z,H){this.setColor(Z,H)}},{key:"show",value:function(){var Z=this.settings.parent;if(!Z)return!1;if(this.domElement){var H=this._toggleDOM(!0);return this._setPosition(),H}var B=this.settings.template||'
    ',z=S(B);return this.domElement=z,this._domH=D(".picker_hue",z),this._domSL=D(".picker_sl",z),this._domA=D(".picker_alpha",z),this._domEdit=D(".picker_editor input",z),this._domSample=D(".picker_sample",z),this._domOkay=D(".picker_done button",z),this._domCancel=D(".picker_cancel button",z),z.classList.add("layout_"+this.settings.layout),this.settings.alpha||z.classList.add("no_alpha"),this.settings.editor||z.classList.add("no_editor"),this.settings.cancelButton||z.classList.add("no_cancel"),this._ifPopup(function(){return z.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var Z=this,H=this,B=this.domElement,z=this._events;function U(J,ne,te){z.add(J,ne,te)}U(B,"click",function(J){return J.preventDefault()}),C(z,this._domH,function(J,ne){return H._setHSLA(J)}),C(z,this._domSL,function(J,ne){return H._setHSLA(null,J,1-ne)}),this.settings.alpha&&C(z,this._domA,function(J,ne){return H._setHSLA(null,null,null,1-ne)});var Q=this._domEdit;U(Q,"input",function(J){H._setColor(this.value,{fromEditor:!0,failSilently:!0})}),U(Q,"focus",function(J){var ne=this;ne.selectionStart===ne.selectionEnd&&ne.select()}),this._ifPopup(function(){var J=function(ce){return Z.closeHandler(ce)};U(window,F,J),U(window,O,J),P(z,B,["Esc","Escape"],J);var ne=function(ce){Z.__containedEvent=ce.timeStamp};U(B,F,ne),U(B,O,ne),U(Z._domCancel,"click",J)});var X=function(ne){Z._ifPopup(function(){return Z.closeHandler(ne)}),Z.onDone&&Z.onDone(Z.colour)};U(this._domOkay,"click",X),P(z,B,["Enter"],X)}},{key:"_setPosition",value:function(){var Z=this.settings.parent,H=this.domElement;Z!==H.parentNode&&Z.appendChild(H),this._ifPopup(function(B){getComputedStyle(Z).position==="static"&&(Z.style.position="relative");var z=B===!0?"popup_right":"popup_"+B;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(U){U===z?H.classList.add(U):H.classList.remove(U)}),H.classList.add(z)})}},{key:"_setHSLA",value:function(Z,H,B,z,U){U=U||{};var Q=this.colour,X=Q.hsla;[Z,H,B,z].forEach(function(J,ne){(J||J===0)&&(X[ne]=J)}),Q.hsla=X,this._updateUI(U),this.onChange&&!U.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(Z){if(!this.domElement)return;Z=Z||{};var H=this.colour,B=H.hsla,z="hsl("+B[0]*I+", 100%, 50%)",U=H.hslString,Q=H.hslaString,X=this._domH,J=this._domSL,ne=this._domA,te=D(".picker_selector",X),ce=D(".picker_selector",J),se=D(".picker_selector",ne);function ge(_e,Te,Ce){Te.style.left=Ce*100+"%"}function he(_e,Te,Ce){Te.style.top=Ce*100+"%"}ge(X,te,B[0]),this._domSL.style.backgroundColor=this._domH.style.color=z,ge(J,ce,B[1]),he(J,ce,1-B[2]),J.style.color=U,he(ne,se,1-B[3]);var ye=U,ee=ye.replace("hsl","hsla").replace(")",", 0)"),pe="linear-gradient("+[ye,ee]+")";if(this._domA.style.background=pe+", "+T,!Z.fromEditor){var ae=this.settings.editorFormat,ve=this.settings.alpha,we=void 0;switch(ae){case"rgb":we=H.printRGB(ve);break;case"hsl":we=H.printHSL(ve);break;default:we=H.printHex(ve)}this._domEdit.value=we}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(Z,H){this.settings.parent&&this.settings.popup?Z&&Z(this.settings.popup):H&&H()}},{key:"_toggleDOM",value:function(Z){var H=this.domElement;if(!H)return!1;var B=Z?"":"none",z=H.style.display!==B;return z&&(H.style.display=B),z}}]),N}(),M=document.createElement("style");return M.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(M),G.StyleElement=M,G}()},9857:function(d,g,v){v.d(g,{m:function(){return He}});class y extends Error{constructor(ke,Qe){super(ke+" at position "+Qe),this.position=Qe}}let A=92,b=47,_=42,w=123,S=125,C=91,T=93,I=40,E=41,F=32,O=10,D=9,x=13,P=8,G=12,M=34,N=43,V=45,Z=39,H=48,B=57,z=44,U=46,Q=58,X=59,J=65,ne=97,te=69,ce=101,se=70,ge=102,he=160,ye=8192,ee=8202,pe=8239,ae=8287,ve=12288,we=8220,_e=8221,Te=8216,Ce=8217,Ae=96,Ee=180;function le(Ve){return Ve>=H&&Ve<=B}function re(Ve){return ue.test(Ve)}let ue=/^[,:[\]/{}()\n+]$/;function be(Ve){return ie.test(Ve)||Ve&&me(Ve.charCodeAt(0))}let ie=/^[[{\w-]$/;function oe(Ve){return Ve===F||Ve===O||Ve===D||Ve===x}function me(Ve){return Se(Ve)||De(Ve)}function Se(Ve){return Ve===M||Ve===we||Ve===_e}function xe(Ve){return Ve===M}function De(Ve){return Ve===Z||Ve===Te||Ve===Ce||Ve===Ae||Ve===Ee}function Pe(Ve){return Ve===Z}function Be(Ve,ke,Qe){return Qe=2=Ve.length)return Qe;throw new y("Unexpected character "+JSON.stringify(Ve[ke]),ke);function Ct(){Xe();var bt=function(){if(Ve.charCodeAt(ke)!==w)return!1;{Qe+="{",ke++,Xe(),Ye(z)&&Xe();let It=!0;for(;ke=Ve.length,it=(Le||(be(Ve[ke])||Fe?Qe=ot(Qe,":"):At()),Ct());it||(Le||Fe?Qe+="null":At())}return Ve.charCodeAt(ke)===S?(Qe+="}",ke++):Qe=ot(Qe,"}"),!0}}()||function(){if(Ve.charCodeAt(ke)!==C)return!1;{Qe+="[",ke++,Xe(),Ye(z)&&Xe();let Fe=!0;for(;keLe)return Fe=Ve.slice(Le,ke),it=/^0\d/.test(Fe),Qe+=it?'"'.concat(Fe,'"'):Fe,!0}else ke=Le;return!1}()||Rt("true","true")||Rt("false","false")||Rt("null","null")||Rt("True","true")||Rt("False","false")||Rt("None","null")||Oe();return Xe(),bt}function Xe(){for(dt();function(){if(Ve.charCodeAt(ke)===b&&Ve.charCodeAt(ke+1)===_){for(;ke=ye&&Fe<=ee||Fe===pe||Fe===ae||Fe===ve;)bt+=Le?Ve[ke]:" ",ke++;return 0=Ve.length)return et=We(ke-1),!it&&re(Ve.charAt(et))?(ke=Ge,Qe=Qe.substring(0,ze),mt(!0)):(jt=ot(jt,'"'),Qe+=jt,!0);if(Ne(Ve.charCodeAt(ke))){var et=ke,nt=jt.length;if(jt+='"',ke++,Qe+=jt,Xe(),it||ke>=Ve.length||re(Ve.charAt(ke))||me(Ve.charCodeAt(ke))||le(Ve.charCodeAt(ke)))return St(),!0;if(re(Ve.charAt(We(et-1))))return ke=Ge,Qe=Qe.substring(0,ze),mt(!0);Qe=Qe.substring(0,ze),ke=et+1,jt=jt.substring(0,nt)+"\\"+jt.substring(nt)}else{if(it&&re(Ve[ke]))return jt=ot(jt,'"'),Qe+=jt,St(),!0;if(Ve.charCodeAt(ke)===A)if(nt=Ve.charAt(ke+1),_t[nt]!==void 0)jt+=Ve.slice(ke,ke+2),ke+=2;else if(nt==="u"){let qt=2;for(;qt<6&&((Fe=Ve.charCodeAt(ke+qt))>=H&&Fe<=B||Fe>=J&&Fe<=se||Fe>=ne&&Fe<=ge);)qt++;if(qt===6)jt+=Ve.slice(ke,ke+6),ke+=6;else{if(!(ke+qt>=Ve.length))throw Bt=void 0,Bt=Ve.slice(ke,ke+6),new y('Invalid unicode character "'.concat(Bt,'"'),ke);ke=Ve.length}}else jt+=nt,ke+=2;else{var Bt=Ve.charAt(ke),Wt=Ve.charCodeAt(ke);if(Wt===M&&Ve.charCodeAt(ke-1)!==A)jt+="\\"+Bt;else if((Le=Wt)===O||Le===x||Le===D||Le===P||Le===G)jt+=ct[Bt];else{if(!(32<=(Le=Wt)&&Le<=1114111))throw Wt=void 0,Wt=Bt,new y("Invalid character "+JSON.stringify(Wt),ke);jt+=Bt}ke++}}It&&Ye(A)}}return!1}function St(){for(Xe();Ve.charCodeAt(ke)===N;){ke++,Xe();var bt=(Qe=Be(Qe,'"',!0)).length,Le=mt();Qe=Le?(Le=Qe,bt=bt,Fe=1,Le.substring(0,bt)+Le.substring(bt+Fe)):ot(Qe,'"')}var Fe}function Rt(bt,Le){return Ve.slice(ke,ke+bt.length)===bt&&(Qe+=Le,ke+=bt.length,!0)}function Oe(){for(var bt,Le=ke;keLe){if(Ve.charCodeAt(ke)===I&&/^\w+$/.test(Ve.slice(Le,ke).trim()))ke++,Ct(),Ve.charCodeAt(ke)===E&&(ke++,Ve.charCodeAt(ke)===X)&&ke++;else{for(;oe(Ve.charCodeAt(ke-1))&&0=Ve.length||re(Ve[ke])||oe(Ve.charCodeAt(ke))}function st(bt){Qe+=Ve.slice(bt,ke)+"0"}function At(){throw new y("Colon expected",ke)}}},3420:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(d){d.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},u={},o.amdD=function(){throw new Error("define cannot be used indirect")},o.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return o.d(g,{a:g}),g},o.d=function(d,g){for(var v in g)o.o(g,v)&&!o.o(d,v)&&Object.defineProperty(d,v,{enumerable:!0,get:g[v]})},o.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)},o.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})},o.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d},o(1346);function o(d){var g=u[d];return g!==void 0||(g=u[d]={id:d,loaded:!1,exports:{}},a[d].call(g.exports,g,g.exports,o),g.loaded=!0),g.exports}var a,u})})(jsoneditor_min$1);var JSONEditor=getDefaultExportFromCjs$1(jsoneditor_min$1.exports),jsoneditor_min="",jsonEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$$=defineComponent({name:"JsonEditor",props:{id:{type:String,required:!0},json:{type:[String,Object,Array],default:"{}"}},emits:["onChange"],setup(t,{emit:r}){const o=useEditor(),a=ref();let u=null;const d=y=>{if(y&&typeof y=="string")try{return JSON.parse(y)}catch(A){return y||{}}return y||{}},g=()=>{let y=null;if(!u){const A={mode:"code",modes:["code","tree","view","form","text"],onChangeText:b=>{clearTimeout(y),y=setTimeout(()=>{try{const _=JSON.parse(b);r("onChange",{id:t.id,value:b,valueJson:_})}catch(_){r("onChange",{id:t.id,value:null,_error:_})}},500)}};u=new JSONEditor(a.value,A),u.focus()}u.set(d(t.json))},v=()=>{u&&(u.destroy(),u=null)};return watch(()=>t.json,y=>u.set(d(y)),{deep:!0}),watch(()=>o.settings.configExpertMode,()=>{u.setMode("text"),u.setMode("code")}),onMounted(()=>g()),onUnmounted(()=>v()),{elJsonEditor:a}}}),_hoisted_1$O={class:"jsoneditor-container"},_hoisted_2$E={ref:"elJsonEditor",class:"jsoneditor-box"};function _sfc_render$$(t,r,o,a,u,d){return openBlock(),createElementBlock("div",_hoisted_1$O,[createBaseVNode("div",_hoisted_2$E,null,512)])}var JsonEditor=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$$],["__scopeId","data-v-ef98d230"]]);const _sfc_main$_=defineComponent({name:"DevicesPage",components:{DevicePage,DevicesTable,ImportDevices,JsonEditor},setup(){const t=useI18n(),r=useEditor();useJarvis();const o=[{label:t.t("Function"),value:"function"},{label:t.t("Room"),value:"room"},{label:t.t("Floor"),value:"floor"},{label:t.t("Tags"),value:"tags"}],a=computed({get(){return r.settings&&r.settings.configDevicesFilter||""},set(N){r.set("settings.configDevicesFilter",N),d.value=r.getGroups(u.value.value,N)}}),u=computed({get(){return r.settings&&r.settings.configDevicesGroupBy&&o.find(N=>N.value===r.settings.configDevicesGroupBy)||o[0]},set({value:N}){r.set("settings.configDevicesGroupBy",N)}}),d=ref(r.getGroups(u.value.value,a.value));watch([()=>r.devices,u],()=>{d.value=r.getGroups(u.value.value,a.value)},{deep:!0});const g=computed(()=>r.getDevicesWthoutDeletionsCount),v=computed(()=>[{id:"id",label:"ID"},{id:"name",label:"Name"},{id:"label",label:"Label"},{id:"aliases",label:"Aliases"},{id:"floor",label:"Floor"},{id:"room",label:"Room"},{id:"function",label:"Function"},{id:"tags",label:"Tags"},{id:"state.stateId",label:"States ID"},{id:"state.label",label:"States Label"},{id:"state.state",label:"States State"},{id:"state.action",label:"States Action"}]);onBeforeMount(()=>r.set("settings.configDevicesFilterSelections",v.value.map(N=>N.id)));const y=computed({get(){return r.settings&&r.settings.configDevicesFilterSelections},set(N){r.set("settings.configDevicesFilterSelections",N),Cache$1.set("settings",{...Cache$1.get("settings",{}),configDevicesFilterSelections:N}),d.value=r.getGroups(u.value.value,a.value)}}),A=computed(()=>r.devices),b=computed(()=>r.settings&&r.settings.configExpertMode),_=()=>r.addDevice(),w=({id:N,error:V,value:Y})=>{if(V)r.addError("settings-"+N,V.message||V);else if(Y){r.removeError("settings-"+N);for(const H in Y)r.set({["settings."+H]:Y[H]})}},S=ref({}),C=ref({}),T=(N,V)=>{C.value[N]&&V.length===0?delete C.value[N]:V.length>0&&(C.value[N]=V),S.value=Object.values(C.value).flat(1),E()},I=reactive({}),E=()=>{const N={floor:{},room:{},function:{},tags:{}};Object.values(r.devices).forEach(V=>{V.floor&&(N.floor[V.floor]=N.floor[V.floor]||{id:V.floor,label:V.floor,devices:0},S.value.includes(V.id)&&N.floor[V.floor].devices++),V.room&&(N.room[V.room]=N.room[V.room]||{id:V.room,label:V.room,devices:0},S.value.includes(V.id)&&N.room[V.room].devices++),V.function&&(N.function[V.function]=N.function[V.function]||{id:V.function,label:t.t(V.function),devices:0},S.value.includes(V.id)&&N.function[V.function].devices++),V.tags&&Array.isArray(V.tags)&&V.tags.length!==0&&V.tags.forEach(Y=>{N.tags[Y]=N.tags[Y]||{id:Y,label:Y,devices:0},S.value.includes(V.id)&&N.tags[Y].devices++})}),I.floor=sortArrayOfObjects(Object.values(N.floor),"id"),I.room=sortArrayOfObjects(Object.values(N.room),"id"),I.function=sortArrayOfObjects(Object.values(N.function),"label"),I.tags=sortArrayOfObjects(Object.values(N.tags),"id")},F=N=>{if(N._error){r.addError(N.id,N._error);return}r.removeError(N.id),N.value&&r.set({tmpJsonEditor:{key:N.id,json:JSON.parse(N.value)}})},O=ref({sortBy:"name",rowsPerPage:15});onBeforeMount(()=>{try{const N=Cache$1.get("settings",{});N.configDevicesPagination&&(O.value=JSON.parse(N.configDevicesPagination))}catch(N){}});const D=ref([]),x=()=>{D.value.forEach(N=>N.clearDevicesSelected())},P=ref({}),G=(N,V)=>{P.value[".action-"+N]=V},M=(N,V,Y)=>{S.value.forEach(H=>{V==="tags"?N&&!r.devices[H].tags.includes(Y)?r.devices[H].tags.push(Y):N||(r.devices[H].tags=r.devices[H].tags.filter(B=>B!==Y)):r.devices[H]={...r.devices[H],[V]:N?Y:""}}),E()};return{DevicesTableRefs:D,expanded:ref({}),configurationHeight:computed(()=>{const N=document.querySelector(".q-page");return N&&N.offsetHeight||900}),showImportDevices:ref(!1),onDeviceSelection:T,selectedDevices:S,clearSelectedDevices:x,actions:{floor:{label:"(Un)Assign Floor",icon:"mdi-home"},room:{label:"(Un)Assign Room",icon:"mdi-floor-plan"},function:{label:"(Un)Assign Function",icon:"mdi-folder-home"},tags:{label:"(Un)Assign Tags",icon:"mdi-tag-multiple"}},actionRefs:P,setActionRef:G,onSelect:M,onOpen:N=>{Object.values(P.value).forEach(V=>{V.hide()}),P.value[".action-"+N].show()},devicesCount:g,devicesMetaData:I,devicesFilter:a,devicesFilterOptions:v,devicesFilterSelections:y,devicesGroupBy:u,pagination:O,onPagination:N=>{let Y=Cache$1.get("settings",{}).configDevicesPagination||"{}";try{Y=typeof Y=="string"?JSON.parse(Y):Y,Object.entries(N).some(([H,B])=>B!==Y[H])&&(Cache$1.set("settings",{...Cache$1.get("settings",{}),configDevicesPagination:JSON.stringify(N)}),r.set("settings.configDevicesPagination",JSON.stringify(N)),O.value=N)}catch(H){console.warn(H.message)}},groups:d,groupByOptions:o,json:A,expertMode:b,actionSwapNameWithLabel:()=>r.actionSwapNameWithLabel(S.value),addDevice:_,onChange:w,onJsonEditor:F}}}),_hoisted_1$N={class:"full-height DevicesPage"},_hoisted_2$D={class:"row no-wrap"},_hoisted_3$u={class:"row items-center"},_hoisted_4$m={key:0},_hoisted_5$j={key:1,style:{"white-space":"nowrap",wrap:"nowrap"}},_hoisted_6$f={style:{display:"inline"}};function _sfc_render$_(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("device-page"),y=resolveComponent("import-devices"),A=resolveComponent("devices-table"),b=resolveComponent("json-editor"),_=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$N,[createBaseVNode("div",_hoisted_2$D,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices List"))+" ("+toDisplayString$1(t.devicesCount)+") ",1)]),_:1}),createVNode$1(QSelect,{modelValue:t.devicesGroupBy,"onUpdate:modelValue":r[0]||(r[0]=w=>t.devicesGroupBy=w),dense:"",label:t.$t("Group by"),"stack-label":"",style:{width:"150px","margin-right":"8px"},options:t.groupByOptions},null,8,["modelValue","label","options"]),createVNode$1(QInput,{modelValue:t.devicesFilter,"onUpdate:modelValue":r[2]||(r[2]=w=>t.devicesFilter=w),dense:"",label:t.$t("Filter"),"stack-label":"",clearable:"",debounce:900,style:{width:"400px"}},{prepend:withCtx(()=>[createVNode$1(QBtn,{color:t.devicesFilterSelections.length!==t.devicesFilterOptions.length?"positive":"primary",icon:t.devicesFilterSelections.length!==t.devicesFilterOptions.length?"mdi-filter-check":"mdi-filter-menu",flat:"",round:"",size:"sm"},{default:withCtx(()=>[createVNode$1(QPopupProxy,null,{default:withCtx(()=>[createVNode$1(QList,{dense:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devicesFilterOptions,w=>withDirectives((openBlock(),createBlock(QItem,{key:w,tag:"label",clickable:"",dense:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{modelValue:t.devicesFilterSelections,"onUpdate:modelValue":r[1]||(r[1]=S=>t.devicesFilterSelections=S),size:"xs",val:w.id},null,8,["modelValue","val"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(w.label)),1)]),_:2},1024)]),_:2},1024)),[[Ripple]])),128))]),_:1})]),_:1})]),_:1},8,["color","icon"])]),_:1},8,["modelValue","label"]),createVNode$1(QSpace),t.selectedDevices.length>0?(openBlock(),createBlock(QBtnDropdown,{key:0,class:"q-mx-xs",icon:"mdi-hammer-screwdriver",color:"secondary",label:t.selectedDevices.length+" "+t.$t("Devices selected"),persistent:""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[createVNode$1(QItem,{clickable:"",onClick:t.clearSelectedDevices},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{size:"xs",name:"mdi-close"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("clear selected Devices")),1)]),_:1})]),_:1},8,["onClick"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.actions,(w,S)=>(openBlock(),createBlock(QItem,{key:"actions-"+S,clickable:"",onMouseover:C=>t.onOpen(S)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{size:"xs",name:w.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(w.label)),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-chevron-right"})]),_:1}),(openBlock(),createBlock(QMenu,{ref_for:!0,ref:C=>t.setActionRef(S,C),key:"menu-"+S,anchor:"top end",self:"top start"},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devicesMetaData[S],C=>withDirectives((openBlock(),createBlock(QItem,{key:"menu-"+C.id,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","model-value":C.devices===0?!1:C.devices===t.selectedDevices.length?!0:null,"indeterminate-value":"null",val:C.id,"onUpdate:modelValue":T=>t.onSelect(C.devices!==t.selectedDevices.length,S,C.id)},null,8,["model-value","val","onUpdate:modelValue"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(C.label)+" ("+toDisplayString$1(C.devices)+")",1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1024)),[[Ripple]])),128))]),_:2},1024)]),_:2},1024))]),_:2},1032,["onMouseover"]))),128)),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:t.actionSwapNameWithLabel},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-swap-horizontal"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Swap Device Name and Label")),1)]),_:1})]),_:1})]),_:1},8,["onClick"])),[[ClosePopup]])]),_:1})]),_:1},8,["label"])):createCommentVNode("",!0),createVNode$1(QBtn,{class:"q-mx-xs",color:"primary",icon:"mdi-cloud-download",label:t.$t("Import Devices"),onClick:r[3]||(r[3]=w=>t.showImportDevices=!0)},null,8,["label"]),createVNode$1(QBtn,{class:"q-mx-xs",color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Device"),onClick:t.addDevice},null,8,["label","onClick"])]),_:1})]),createVNode$1(v),createVNode$1(y,{open:t.showImportDevices,onOnClose:r[4]||(r[4]=w=>t.showImportDevices=!1)},null,8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,w=>withDirectives((openBlock(),createElementBlock("div",{key:"group-"+w.id,class:"row no-wrap paper"},[(openBlock(),createBlock(QExpansionItem,{key:"expansion-"+w.id,modelValue:t.expanded[w.id],"onUpdate:modelValue":S=>t.expanded[w.id]=S,icon:w.icon,label:(w.label||"(without label)")+" ("+w.devices.length+")",class:"full-width"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_3$u,[w.label?(openBlock(),createElementBlock("span",_hoisted_5$j,[createTextVNode(toDisplayString$1(w.label)+" (",1),createBaseVNode("pre",_hoisted_6$f,toDisplayString$1(w.id),1),r[5]||(r[5]=createTextVNode(") "))])):(openBlock(),createElementBlock("em",_hoisted_4$m,"("+toDisplayString$1(t.$t("without label"))+")",1)),createTextVNode(" \xA0("+toDisplayString$1(w.devices.length)+") ",1)]),createVNode$1(QSpace)]),default:withCtx(()=>[(openBlock(),createBlock(A,{id:"table-"+w.id,key:"table-"+w.id,ref_for:!0,ref:"DevicesTableRefs",devices:w.devices,pagination:t.pagination,onOnPagination:t.onPagination,onOnDeviceSelection:S=>t.onDeviceSelection(w.id,S)},null,8,["id","devices","pagination","onOnPagination","onOnDeviceSelection"]))]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"]))])),[[vShow,!t.expertMode&&w.devices.length>0]])),128)),withDirectives(createVNode$1(_,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(b,{id:"devices",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var DevicesPage=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$_]]),index$9=Object.freeze(Object.defineProperty({__proto__:null,default:DevicesPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$Z=defineComponent({name:"WidgetsTable",props:{widgets:{type:Array,default:()=>[]},pagination:{type:Object,default:()=>{}}},emits:["onEditWidget","onPagination"],setup(t,{emit:r}){const o=useI18n(),a=useRouter(),u=useEditor(),d=[{name:"id",label:o.t("ID"),field:"id",align:"left",sortable:!0},{name:"title",label:o.t("Title")+" ("+o.t("ID")+")",field:"title",align:"left",sortable:!0,style:{width:"20%"}},{name:"module",label:o.t("Module"),field:"module",align:"left",sortable:!0,style:{width:"15%"}},{name:"usage",label:o.t("Usage")+" [ #: "+o.t("Tab")+" ("+o.t("Page")+") ]",field:"usage",align:"left",sortable:!0,style:{width:"65%"}}],g=ref({});watchEffect(()=>{const T={};for(const I of u.layout){const E=I.tabs||[];for(const F of E){for(const O of F.widgetsDesktop||[]){const D=O.items||[];for(const x of D)T[x]=T[x]||[],T[x].push({type:"desktop",widget:O,tab:F,page:I})}for(const O of F.widgetsSmartphone||[]){const D=O.items||[];for(const x of D)T[x]=T[x]||[],T[x].push({type:"smartphone",widget:O,tab:F,page:I})}}}g.value=T});const{copyToClipboard:v}=useCopyToClipboard(),y=(T,I,E)=>{u.set({selectedPage:T,selectedTab:I}),a.push({name:"LayoutPage"})},A=T=>T._deleted===!0,b=T=>r("onEditWidget",T),_=T=>u.copyWidget({widget:T}),w=T=>u.removeWidget({widget:T}),S=T=>u.restoreWidget({widget:T}),C=ref(1);return{currentPage:C,onPagination:T=>{const{page:I,...E}=T;C.value=I,r("onPagination",E)},columns:d,usage:g,copyClipboard:v,goTo:y,isDeleted:A,onWidgetEdit:b,onWidgetCopy:_,onWidgetRemove:w,onWidgetRestore:S}}}),_hoisted_1$M={class:"q-pa-md"},_hoisted_2$C={key:0},_hoisted_3$t=["onClick"],_hoisted_4$l={key:0},_hoisted_5$i={key:1},_hoisted_6$e={key:2};function _sfc_render$Z(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$M,[createVNode$1(QTable,{rows:t.widgets,columns:t.columns,pagination:{...t.pagination,page:t.currentPage},"rows-per-page-label":t.$t("Widgets per page"),class:"jarvis-widget-list","onUpdate:pagination":t.onPagination},{header:withCtx(v=>[createVNode$1(QTr,{props:v},{default:withCtx(()=>[createVNode$1(QTh,{"auto-width":""}),(openBlock(!0),createElementBlock(Fragment,null,renderList(v.cols,y=>withDirectives((openBlock(),createBlock(QTh,{key:y.name,props:v},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1032,["props"])),[[vShow,y.field!=="id"]])),128)),createVNode$1(QTh,{"auto-width":""})]),_:2},1032,["props"])]),body:withCtx(v=>[createVNode$1(QTr,{props:v,class:normalizeClass({rowDeleted:t.isDeleted(v.row)})},{default:withCtx(()=>[createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(v.row)!==!0?(openBlock(),createElementBlock("div",_hoisted_2$C,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:y=>t.onWidgetEdit(v.row)},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:y=>t.onWidgetCopy(v.row)},null,8,["onClick"])])):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(v.row)}),onClick:y=>t.copyClipboard(v.cols[0].value)},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(" ID: "+toDisplayString$1(v.cols[0].value)+" ("+toDisplayString$1(t.$t("click to copy to clipboard"))+") ",1)]),_:2},1024),v.cols[1].value?(openBlock(),createElementBlock("span",_hoisted_4$l,toDisplayString$1(v.cols[1].value),1)):(openBlock(),createElementBlock("em",_hoisted_5$i,"("+toDisplayString$1(t.$t("no title"))+")",1)),v.row.label?(openBlock(),createElementBlock("span",_hoisted_6$e," ("+toDisplayString$1(v.row.label)+")",1)):createCommentVNode("",!0),createVNode$1(g,{name:"clipboard-text-multiple-outline",size:"xs",style:{"margin-left":"4px"}})],10,_hoisted_3$t)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},toDisplayString$1(v.cols[2].value),3)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[t.usage[v.row.id]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},[createTextVNode(toDisplayString$1(t.usage[v.row.id].length)+": ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.usage[v.row.id],({type:y,widget:A,tab:b,page:_},w)=>(openBlock(),createBlock(QChip,{key:v.row.id+"-"+w,square:"",color:y==="desktop"?"primary":"secondary","text-color":"white",clickable:"",onClick:S=>t.goTo(_,b,A)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.title+" ("+_.title+")")+" ",1),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y),1)]),_:2},1024)]),_:2},1032,["color","onClick"]))),128))],2)):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},null,2))]),_:2},1024),createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(v.row)!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:y=>t.onWidgetRemove(v.row)},null,8,["onClick"])):createCommentVNode("",!0),t.isDeleted(v.row)?(openBlock(),createBlock(QBtn,{key:1,size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:y=>t.onWidgetRestore(v.row)},null,8,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["props","class"])]),_:1},8,["rows","columns","pagination","rows-per-page-label","onUpdate:pagination"])])}var WidgetsTable=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$Z]]),QForm=createComponent({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),u=ref(null);let d=0;const g=[];function v(S){const C=typeof S=="boolean"?S:t.noErrorFocus!==!0,T=++d,I=(O,D)=>{o(`validation${O===!0?"Success":"Error"}`,D)},E=O=>{const D=O.validate();return typeof D.then=="function"?D.then(x=>({valid:x,comp:O}),x=>({valid:!1,comp:O,err:x})):Promise.resolve({valid:D,comp:O})};return(t.greedy===!0?Promise.all(g.map(E)).then(O=>O.filter(D=>D.valid!==!0)):g.reduce((O,D)=>O.then(()=>E(D).then(x=>{if(x.valid===!1)return Promise.reject(x)})),Promise.resolve()).catch(O=>[O])).then(O=>{if(O===void 0||O.length===0)return T===d&&I(!0),!0;if(T===d){const{comp:D,err:x}=O[0];if(x!==void 0&&console.error(x),I(!1,D),C===!0){const P=O.find(({comp:G})=>typeof G.focus=="function"&&vmIsDestroyed(G.$)===!1);P!==void 0&&P.comp.focus()}}return!1})}function y(){d++,g.forEach(S=>{typeof S.resetValidation=="function"&&S.resetValidation()})}function A(S){S!==void 0&&stopAndPrevent$1(S);const C=d+1;v().then(T=>{C===d&&T===!0&&(t.onSubmit!==void 0?o("submit",S):S!==void 0&&S.target!==void 0&&typeof S.target.submit=="function"&&S.target.submit())})}function b(S){S!==void 0&&stopAndPrevent$1(S),o("reset"),nextTick(()=>{y(),t.autofocus===!0&&t.noResetFocus!==!0&&_()})}function _(){addFocusFn(()=>{if(u.value===null)return;const S=u.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(u.value.querySelectorAll("[tabindex]"),C=>C.tabIndex!==-1);S!=null&&S.focus({preventScroll:!0})})}provide(formKey,{bindComponent(S){g.push(S)},unbindComponent(S){const C=g.indexOf(S);C!==-1&&g.splice(C,1)}});let w=!1;return onDeactivated(()=>{w=!0}),onActivated(()=>{w===!0&&t.autofocus===!0&&_()}),onMounted(()=>{t.autofocus===!0&&_()}),Object.assign(a.proxy,{validate:v,resetValidation:y,submit:A,reset:b,focus:_,getValidationComponents:()=>g}),()=>h("form",{class:"q-form",ref:u,onSubmit:A,onReset:b},hSlot(r.default))}}),WidgetDevicesSection_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Y=defineComponent({name:"WidgetDevicesSection",props:{module:{type:String,default:()=>[]},itemList:{type:Array,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=computed(()=>{const te=Modules.Settings&&Modules.Settings[t.module]||{};return{addDevices:!te.addDevice||te.addDevice&&te.addDevice.max===void 0,...te}}),d=computed(()=>a.devices),g=te=>d.value[te],v=te=>!d.value[te.deviceId].function||d.value[te.deviceId].function==="other"||!Functions.List.includes(d.value[te.deviceId].function)?"_defaults":d.value[te.deviceId].function,y=te=>Object.keys(d.value[te].states)||[],A=te=>y(te).map(ce=>({label:ce,value:ce})),b=te=>_[te].devices.length!==0,_=a.getGroups("function"),w=ref(Object.values(_)),S={},C=te=>(S[te]||(S[te]=!u.value.addDevice||u.value.addDevice&&(!u.value.addDevice.fields||u.value.addDevice.fields&&u.value.addDevice.fields.includes(te))),S[te]),T=te=>{const ce=te.value?Object.values(a.getGroups("function",te.value)):Object.values(_);w.value=ce},I=(te,ce,se)=>{const ge=d.value[te.deviceId]&&d.value[te.deviceId].states[te[se+"StateKey"]]||{},he=te[ce+"Element"];return deepmerge(ge[he+"Config"]||{},te[he+"Config"]&&te[he+"Config"][se]||{})},E=te=>{let ce=!1;return te.map(se=>(ce=se.type==="device"?ce:se.type==="divider"?!1:se.type==="group"&&se.actions===!0,se.isInGroup=ce,se))},F=ref(E(_default(t.itemList))),O=ref(F.value.length),D=(te,ce=null)=>{const se=v4(),ge={...te,id:se};if(te.type==="device"){const he=y(te.deviceId)[0]||null;ge.primaryStateKey=ge.primaryStateKey===null?null:ge.primaryStateKey||he,ge.bodyStateKey=ge.bodyStateKey===null?null:ge.bodyStateKey||he}ce===null?F.value.push(ge):F.value.splice(ce,0,ge),document.getElementById("WidgetDialogBody"),F.value=E(F.value),r("onChange",{id:"items",value:F.value})},x=(te,ce,se)=>{const ge=F.value.find(ye=>ye.id===te),he=se==="top"?0:se==="bottom"?F.value.length:se==="up"?ce-1:ce+1;F.value.splice(ce,1),F.value.splice(he,0,ge)},P=te=>{const ce=_default(F.value.find(se=>se.id===te));D(ce,F.value.findIndex(se=>se.id===ce.id)+1)},G=(te,ce=null)=>{ce=ce||confirm(o.t("Really delete item?")),ce&&(F.value.splice(F.value.findIndex(se=>se.id===te),1),F.value=E(F.value),r("onChange",{id:"items",value:F.value}))},M=ref(),N=(te,ce={})=>{(!te.attributes||te.attributes&&te.attributes.deleted!==!0)&&(D({...ce,type:"device",deviceId:te.id},O.value),u.value.addDevice&&u.value.addDevice.max!==void 0&&u.value.addDevice.max<=F.value.length&&M.value.hide())},V=()=>{D({type:"list"},O.value)},Y=ref(),H=ref({}),B=()=>{H.value.value&&D({type:"group",name:H.value.value},O.value),H.value={},Y.value.hide()},z=()=>D({type:"divider"},O.value),U=te=>{if(te.id&&te["item-id"]){const ce=F.value.findIndex(se=>se.id===te["item-id"]);if(ce>-1){if(te.id.indexOf("moduleConfig.")>-1)F.value[ce].moduleConfig={...F.value[ce].moduleConfig||{},[te.id.replace("moduleConfig.","")]:te.value};else if(te.id.indexOf("secondaryStatesConfig.")>-1)F.value[ce].secondaryStatesConfig={...F.value[ce].secondaryStatesConfig||{},[te.id.replace("secondaryStatesConfig.","")]:te.value};else if(te.id==="componentOptions"){const se=te["state-key"]||F.value[ce].primaryStateKey;F.value[ce][te.component+"Config"]={...F.value[ce][te.component+"Config"]||{},[se]:{...F.value[ce][te.component+"Config"]&&F.value[ce][te.component+"Config"][se]||{},...te.value}}}else F.value[ce][te.id]=te.value;F.value=E(F.value),r("onChange",{id:"items",value:F.value})}}},Q=(te,ce)=>{U({value:ce.map(se=>se.value||se),"item-id":te,id:"secondaryStatesKeys"})},X=(te,ce)=>{const se=Cache$1.get("settings",{});return ce[te]===null?"":d.value[ce.deviceId]&&d.value[ce.deviceId].states[ce.primaryStateKey]&&d.value[ce.deviceId].states[ce.primaryStateKey][te]||d.value[ce.deviceId]&&Functions.Configurations[d.value[ce.deviceId].function]&&Functions.Configurations[d.value[ce.deviceId].function][ce.primaryStateKey]&&Functions.Configurations[d.value[ce.deviceId].function][ce.primaryStateKey][te]||se[te==="bodyElement"?"defaultBodyElement":"defaultActionElement"]},J=te=>{const{floor:ce,function:se,room:ge,tags:he}=te;return Devices.getDevices({floor:ce,function:se==="defaults"?"_defaults":se,room:ge,tags:he})},ne=(te,ce)=>{const se=J(te),{isInGroup:ge,primaryStateKey:he,bodyStateKey:ye,actionElement:ee,bodyElement:pe,showState:ae,secondaryStatesKeys:ve}={primaryStateKey:null,bodyStateKey:null,...te};se.forEach(we=>N(we,{isInGroup:ge,primaryStateKey:he,bodyStateKey:ye,actionElement:ee,bodyElement:pe,showState:ae,secondaryStatesKeys:ve})),G(te.id,!0)};return{...useDragDrop(F,te=>r("onChange",{id:"items",value:E(te)})),FunctionsComponentsList:Functions.ComponentsListAsOptions||[],ModuleSettings:u,onFilter:T,shallBeShown:C,deviceList:d,getDevice:g,getDeviceFunction:v,getDeviceStates:y,getDeviceStatesOptions:A,hasDevices:b,quickSortMode:ref(!1),onChange:U,onChangeSecondaryStatesKeys:Q,popupDevice:M,optionGroupsAddDevice:w,popupGroup:Y,setGroup:te=>{H.value=te},group:H,addGroup:B,addDivider:z,addDevice:N,addList:V,functions:computed(()=>Functions.List.map(ce=>({label:o.t(ce==="defaults"?"_defaults":ce),value:ce})).sort((ce,se)=>ce.label.toLowerCase()===se.label.toLowerCase()?0:ce.label.toLowerCase()>se.label.toLowerCase()?1:-1)),rooms:computed(()=>a.rooms.map(te=>({label:te,value:te}))),sortByOptions:computed(()=>[{label:o.t("Device Label")+" / "+o.t("Device Name"),value:"label"},{label:o.t("Device Name"),value:"name"},{label:o.t("Device Options"),value:"options"},{label:o.t("State")+" "+o.t("config#componentOptions#_all#val#options#val")+" (Pro only)",value:"val"},{label:o.t("State")+" "+o.t("config#componentOptions#_all#val#options#value")+" (Pro only)",value:"value"}]),sortDirectionOptions:computed(()=>[{label:o.t("ascending"),value:"ascending"},{label:o.t("descending"),value:"descending"}]),insert:O,items:F,addItem:D,copyItem:P,deleteItem:G,moveItem:x,componentValues:I,getPlaceholder:X,getListDevices:J,convertListDevices:ne,showListDevices:ref(!1),showListDevicesForItem:ref(null)}}}),_hoisted_1$L={class:"full-width",style:{"min-height":"500px"}},_hoisted_2$B={class:"text-h6 row items-center"},_hoisted_3$s={key:0},_hoisted_4$k={class:"row sticky body"},_hoisted_5$h={class:"q-py-xs col-grow row paper justify-around"},_hoisted_6$d={key:0},_hoisted_7$b={class:"row q-py-sm overflow-hidden"},_hoisted_8$b={style:{"align-items":"center",display:"inline-flex"}},_hoisted_9$b={class:"q-py-xs col-shrink row paper justify-center"},_hoisted_10$a={class:"row"},_hoisted_11$a={class:"row items-center"},_hoisted_12$8={class:"col"},_hoisted_13$7={class:"row"},_hoisted_14$7={class:"row"},_hoisted_15$6={class:"col"},_hoisted_16$5={class:"row"},_hoisted_17$4={class:"row"},_hoisted_18$4={class:"col q-mx-sm"},_hoisted_19$3={class:"col q-mx-xs"},_hoisted_20$2={key:0,class:"col q-mx-xs"},_hoisted_21$2={key:1,class:"col q-mx-xs"},_hoisted_22$2={key:2,class:"col q-mx-xs"},_hoisted_23$2={key:0},_hoisted_24$2={key:1},_hoisted_25$2={key:2},_hoisted_26$2={key:3,class:"row q-mb-md"},_hoisted_27$2={key:4,class:"row nowrap"},_hoisted_28$2={key:5,class:"row nowrap"},_hoisted_29$2={key:1,class:"row nowrap"},_hoisted_30$2={key:2,class:"row nowrap"},_hoisted_31$1={key:3,class:"row nowrap"},_hoisted_32={key:4,class:"row nowrap"},_hoisted_33={key:5,class:"row nowrap"};function _sfc_render$Y(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$L,[createVNode$1(QDialog,{modelValue:t.showListDevices,"onUpdate:modelValue":r[3]||(r[3]=y=>t.showListDevices=y)},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"400px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$B,toDisplayString$1(t.$t("Devices")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=withModifiers(y=>t.showListDevices=!1,["stop"]))})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col scroll body",set:t.devices=t.getListDevices(t.showListDevicesForItem)},{default:withCtx(()=>[t.devices.length===0?(openBlock(),createElementBlock("span",_hoisted_3$s,toDisplayString$1(t.$t("No Devices found with given criteria!")),1)):createCommentVNode("",!0),createVNode$1(QList,{dense:""},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Floor"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.floor||"-"),1)]),_:1}),createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Room"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.room||"-"),1)]),_:1})]),_:1}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Function"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.function?t.$t(t.showListDevicesForItem.function)+" ("+t.showListDevicesForItem.function+")":"-"),1)]),_:1}),createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Tags"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.tags||"-"),1)]),_:1})]),_:1}),createVNode$1(QSeparator,{class:"q-my-sm"}),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devices,(y,A)=>(openBlock(),createBlock(QItem,{key:y.id},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QAvatar,{color:"primary",class:"text-white",size:"sm"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A+1),1)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["set"]),createVNode$1(QSeparator),createVNode$1(QCardActions,null,{default:withCtx(()=>[t.devices.length>0?(openBlock(),createBlock(QBtn,{key:0,flat:"",color:"secondary",onClick:r[1]||(r[1]=withModifiers(y=>t.convertListDevices(t.showListDevicesForItem,t.index),["stop"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Convert List to Devices")),1)]),_:1})):createCommentVNode("",!0),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",color:"primary",label:t.$t("Close"),onClick:r[2]||(r[2]=withModifiers(y=>t.showListDevices=!1,["stop"]))},null,8,["label"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_4$k,[createBaseVNode("div",_hoisted_5$h,[withDirectives(createVNode$1(QBtn,{icon:"mdi-playlist-star",label:t.$t("Add Dynamic List"),color:"primary",flat:"",onClick:t.addList},null,8,["label","onClick"]),[[vShow,t.ModuleSettings.addList!==!1]]),withDirectives(createVNode$1(QBtn,{disable:t.ModuleSettings.addDevice&&t.ModuleSettings.addDevice.max!==void 0&&t.ModuleSettings.addDevice.max===t.items.length,icon:"mdi-devices",label:t.$t("Add Device"),color:"primary",flat:""},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"popupDevice",onHide:r[4]||(r[4]=y=>t.onFilter({value:null}))},{default:withCtx(()=>[createVNode$1(g,{id:"filter",label:"Filter",class:"q-py-none q-px-xs","hide-bottom-space":"",autofocus:"",onOnChange:t.onFilter,onKeyup:withKeys(t.onFilter,["enter"])},null,8,["onOnChange","onKeyup"]),createVNode$1(QList,{bordered:"",class:"row q-py-sm overflow-hidden",style:{width:"250px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.optionGroupsAddDevice,y=>(openBlock(),createBlock(QExpansionItem,{key:y.id,"expand-separator":"","header-class":"text-weight-bold",class:"full-width",label:y.label,icon:y.icon},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(y.devices,A=>withDirectives((openBlock(),createBlock(QItem,{key:A.id,clickable:"",onClick:b=>t.addDevice(A)},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:"q-ml-md"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass({"text-strike":A.attributes&&A.attributes.deleted===!0})},toDisplayString$1(A.label?A.label+" ("+A.name+")":A.name),3),r[8]||(r[8]=createTextVNode("\xA0")),A.attributes&&A.attributes.deleted===!0?(openBlock(),createElementBlock("em",_hoisted_6$d,"[ "+toDisplayString$1(t.$t("deleted"))+" ]",1)):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128))]),_:2},1032,["label","icon"]))),128))]),_:1})]),_:1},512)]),_:1},8,["disable","label"]),[[vShow,t.ModuleSettings.addDevice!==!1]]),withDirectives(createVNode$1(QBtn,{icon:"mdi-format-list-group",label:t.$t("Add Group"),color:"primary",flat:""},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"popupGroup"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$b,[createVNode$1(g,{id:"group",label:"Add Group",value:t.group.value||"",style:{width:"150px",margin:"0 8px"},class:"q-pa-none","hide-bottom-space":"",autofocus:"",onOnChange:t.setGroup,onKeyup:withKeys(t.addGroup,["enter"])},null,8,["value","onOnChange","onKeyup"]),createBaseVNode("div",_hoisted_8$b,[createVNode$1(QBtn,{label:t.$t("add"),color:"primary",flat:"",style:{},onClick:t.addGroup},null,8,["label","onClick"])])])]),_:1},512)]),_:1},8,["label"]),[[vShow,t.ModuleSettings.addGroup!==!1]]),withDirectives(createVNode$1(QBtn,{icon:"mdi-minus",label:t.$t("Add Divider"),color:"primary",flat:"",onClick:t.addDivider},null,8,["label","onClick"]),[[vShow,t.ModuleSettings.addDivider!==!1]])]),withDirectives(createBaseVNode("div",_hoisted_9$b,[createVNode$1(QBtn,{icon:"mdi-drag-horizontal",label:t.quickSortMode?t.$t("Quick Sort Mode")+" "+t.$t("on"):t.$t("Quick Sort Mode")+" "+t.$t("off"),color:"secondary",flat:!t.quickSortMode,onClick:r[5]||(r[5]=y=>t.quickSortMode=!t.quickSortMode)},null,8,["label","flat"])],512),[[vShow,t.ModuleSettings.addDivider!==!1]])]),createBaseVNode("div",_hoisted_10$a,[createVNode$1(QList,{ref:"elDragDrop",class:"full-width",dense:t.quickSortMode},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.items,(y,A)=>(openBlock(),createElementBlock("div",{key:y.id,class:"item"},[withDirectives((openBlock(),createBlock(QItem,{key:"radio-"+y.id+"-"+A,style:{"min-height":"auto",padding:"0"},clickable:"",tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:"",class:"q-ml-md text-caption"},{default:withCtx(()=>[createVNode$1(QRadio,{modelValue:t.insert,"onUpdate:modelValue":r[6]||(r[6]=b=>t.insert=b),val:A,label:A===0?t.$t("insert on top"):t.$t("insert after position")+": "+A,dense:"",size:"xs"},null,8,["modelValue","val","label"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"full-width"})]),_:1})]),_:2},1024)),[[vShow,!t.quickSortMode&&(!t.ModuleSettings.addDevice||t.ModuleSettings.addDevice&&(t.ModuleSettings.addDevice.max===void 0||t.ModuleSettings.addDevice.max!==t.items.length))],[Ripple]]),createVNode$1(QItem,{class:"paper",style:{padding:"8px 12px 8px 8px !important",margin:"4px 8px"},dense:t.quickSortMode},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_11$a,[withDirectives(createBaseVNode("div",_hoisted_12$8,[createBaseVNode("div",_hoisted_13$7,[createVNode$1(g,{id:"moveTop",type:"button",dense:"",icon:"mdi-chevron-double-up",tooltip:t.$t("move to top"),disable:A===0,onClick:withModifiers(b=>t.moveItem(y.id,A,"top"),["stop"])},null,8,["tooltip","disable","onClick"])]),createBaseVNode("div",_hoisted_14$7,[createVNode$1(g,{id:"moveBottom",type:"button",dense:"",icon:"mdi-chevron-double-down",tooltip:t.$t("move to bottom"),disable:A===t.items.length-1,onClick:withModifiers(b=>t.moveItem(y.id,A,"bottom"),["stop"])},null,8,["tooltip","disable","onClick"])])],512),[[vShow,!t.quickSortMode]]),withDirectives(createBaseVNode("div",_hoisted_15$6,[createBaseVNode("div",_hoisted_16$5,[createVNode$1(g,{id:"moveUp",type:"button",dense:"",icon:"mdi-chevron-up",tooltip:t.$t("move up"),disable:A===0,onClick:withModifiers(b=>t.moveItem(y.id,A,"up"),["stop"])},null,8,["tooltip","disable","onClick"])]),createBaseVNode("div",_hoisted_17$4,[createVNode$1(g,{id:"moveDown",type:"button",dense:"",icon:"mdi-chevron-down",tooltip:t.$t("move down"),disable:A===t.items.length-1,onClick:withModifiers(b=>t.moveItem(y.id,A,"down"),["stop"])},null,8,["tooltip","disable","onClick"])])],512),[[vShow,!t.quickSortMode]]),withDirectives(createBaseVNode("div",_hoisted_18$4,[createVNode$1(v,{name:"mdi-drag-horizontal",class:"dragndrop",style:{"padding-right":"16px"}})],512),[[vShow,t.items.length>1]]),createBaseVNode("div",_hoisted_19$3,[createVNode$1(g,{id:"copy",type:"button",dense:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),onClick:withModifiers(b=>t.copyItem(y.id),["stop"])},null,8,["tooltip","onClick"])]),y._deleted!==!0?(openBlock(),createElementBlock("div",_hoisted_20$2,[createVNode$1(g,{id:"delete",type:"button",dense:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:withModifiers(b=>t.deleteItem(y.id),["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0),y._deleted===!0?(openBlock(),createElementBlock("div",_hoisted_21$2,[createVNode$1(g,{id:"restore",type:"button",dense:"",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",class:"restore",onClick:withModifiers(b=>t.restoreItem(y.id),["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0),y.type==="list"?(openBlock(),createElementBlock("div",_hoisted_22$2,[createVNode$1(g,{id:"showListDevices",type:"button",dense:"",icon:"mdi-playlist-star",tooltip:t.$t("View determined Devices"),color:"secondary",onClick:withModifiers(b=>{t.showListDevicesForItem=y,t.showListDevices=!0},["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0)])]),_:2},1024),y.type!=="device"||y.type==="device"&&t.deviceList[y.deviceId]!==void 0?(openBlock(),createElementBlock(Fragment,{key:0},[t.ModuleSettings.customBodySection?(openBlock(),createBlock(QItemSection,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customBodySection),mergeProps({ref_for:!0},{...t.$props,...t.$attrs},{item:y,device:t.deviceList[y.deviceId],onOnChange:t.onChange}),null,16,["item","device","onOnChange"]))]),_:2},1024)):(openBlock(),createBlock(QItemSection,{key:1},{default:withCtx(()=>[y.type==="divider"?(openBlock(),createElementBlock("span",_hoisted_23$2,[createBaseVNode("em",null,toDisplayString$1("("+t.$t("divider")+")"),1)])):createCommentVNode("",!0),y.type==="group"?(openBlock(),createElementBlock("span",_hoisted_24$2,[createBaseVNode("strong",null,toDisplayString$1(y.name),1)])):createCommentVNode("",!0),y.type==="device"?(openBlock(),createElementBlock("span",_hoisted_25$2,[createBaseVNode("strong",null,toDisplayString$1(t.deviceList[y.deviceId].name),1),createTextVNode(" ("+toDisplayString$1(t.deviceList[y.deviceId].function+", #"+y.deviceId)+")",1)])):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_26$2,[createVNode$1(g,{id:"sortBy",type:"select",dense:"",label:t.$t("Sort by"),"item-id":y.id,value:y.sortBy||"",options:t.sortByOptions,placeholder:t.$t("Device Label")+" / "+t.$t("Device Name"),onOnSelect:t.onChange},null,8,["label","item-id","value","options","placeholder","onOnSelect"]),createVNode$1(g,{id:"sortDirection",type:"select",dense:"",label:t.$t("Sort Direction"),"item-id":y.id,value:y.sortDirection||"",options:t.sortDirectionOptions,placeholder:t.$t("ascending"),onOnSelect:t.onChange},null,8,["label","item-id","value","options","placeholder","onOnSelect"]),createVNode$1(g,{id:"floor",dense:"",label:t.$t("Floor"),"item-id":y.id,value:y.floor||"",maxlength:"2",style:{width:"70px"},onOnChange:t.onChange},null,8,["label","item-id","value","onOnChange"]),createVNode$1(g,{id:"room",dense:"",label:t.$t("Room"),"item-id":y.id,value:y.room||"",options:t.rooms,onOnChange:t.onChange},null,8,["label","item-id","value","options","onOnChange"]),createVNode$1(g,{id:"function",type:"select",dense:"",label:t.$t("Function"),"item-id":y.id,value:y.function==="other"?"_defaults":y.function,options:t.functions,"options-dense":"","use-input":"",onOnSelect:t.onChange},null,8,["label","item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"tags",type:"select",dense:"",label:t.$t("Tags"),"item-id":y.id,value:y.tags||[],"hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},null,8,["label","item-id","value","onOnSelect"])],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_27$2,[t.shallBeShown("bodyStateKey")?(openBlock(),createBlock(g,{key:0,id:"bodyStateKey",dense:"",style:{width:"130px"},label:"Body State","item-id":y.id,value:y.bodyStateKey,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("bodyElement")?withDirectives((openBlock(),createBlock(g,{key:1,id:"bodyElement",dense:"",style:{width:"230px"},label:"Body Element","state-key":y.bodyStateKey,"item-id":y.id,placeholder:t.getPlaceholder("bodyElement",y),value:y.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements&&t.FunctionsComponentsList.bodyElements._all||[],"component-values":t.componentValues(y,"body",y.bodyStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.bodyStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_28$2,[t.shallBeShown("label")?(openBlock(),createBlock(g,{key:0,id:"label",dense:"",label:"Label","item-id":y.id,json:"",value:y.label||"",placeholder:t.deviceList[y.deviceId].states[y.bodyStateKey]&&t.deviceList[y.deviceId].states[y.bodyStateKey].label?JSON.stringify(t.deviceList[y.deviceId].states[y.bodyStateKey].label):t.deviceList[y.deviceId].states[y.primaryStateKey]&&t.deviceList[y.deviceId].states[y.primaryStateKey].label?JSON.stringify(t.deviceList[y.deviceId].states[y.primaryStateKey].label):t.deviceList[y.deviceId].name,onOnChange:t.onChange},null,8,["item-id","value","placeholder","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("bodyStateKey")?(openBlock(),createBlock(g,{key:1,id:"bodyStateKey",dense:"",style:{width:"130px"},label:"Body State","item-id":y.id,value:y.bodyStateKey,type:"select",options:t.getDeviceStatesOptions(y.deviceId),onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"])):createCommentVNode("",!0),t.shallBeShown("bodyElement")?withDirectives((openBlock(),createBlock(g,{key:2,id:"bodyElement",dense:"",style:{width:"230px"},label:"Body Element","state-key":y.bodyStateKey,"item-id":y.id,placeholder:t.getPlaceholder("bodyElement",y),value:y.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements[t.getDeviceFunction(y)],"component-values":t.componentValues(y,"body",y.bodyStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.bodyStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0)]),_:2},1024)),t.ModuleSettings.customActionSection?(openBlock(),createBlock(QItemSection,{key:2,side:""},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customActionSection),{item:y,device:t.deviceList[y.deviceId],onOnChange:t.onChange},null,40,["item","device","onOnChange"]))]),_:2},1024)):(openBlock(),createBlock(QItemSection,{key:3,side:""},{default:withCtx(()=>[y.type!=="divider"&&y.type!=="group"?(openBlock(),createBlock(QSeparator,{key:0,vertical:"",class:"full-height q-mx-xs"})):createCommentVNode("",!0),y.type==="group"?withDirectives((openBlock(),createElementBlock("div",_hoisted_29$2,[createVNode$1(g,{id:"actions",dense:"",style:{width:"100px"},label:t.$t("Group Actions"),"item-id":y.id,value:y.actions||!1,type:"switch",onOnChange:t.onChange},null,8,["label","item-id","value","onOnChange"]),t.shallBeShown("groupElement")?withDirectives((openBlock(),createBlock(g,{key:0,id:"groupElement",dense:"",style:{width:"200px"},label:"Group Element","state-key":"group","item-id":y.id,value:y.groupElement,type:"select.components",components:t.FunctionsComponentsList.actionElements&&t.FunctionsComponentsList.actionElements._all.filter(b=>!["DatePickerAction","TimePickerAction","InputAction","DropdownAction","LightColorAction","LightColorState","LightHueAction"].includes(b.value))||[],"component-values":t.componentValues(y,"group","group"),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["item-id","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.actions===!0]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_30$2,[t.shallBeShown("primaryStateKey")?(openBlock(),createBlock(g,{key:0,id:"primaryStateKey",dense:"",style:{width:"130px"},label:"Action State","item-id":y.id,value:y.primaryStateKey,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("showState")?withDirectives((openBlock(),createBlock(g,{key:1,id:"showState",type:"switch",dense:"",style:{width:"100px"},label:"Show State","item-id":y.id,value:y.showState!==void 0?y.showState:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0),t.shallBeShown("showGroupAction")?withDirectives((openBlock(),createBlock(g,{key:2,id:"useInGroup",type:"switch",dense:"",style:{width:"100px"},label:"Use in Actions","item-id":y.id,value:y.useInGroup!==void 0?y.useInGroup:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey&&y.isInGroup===!0]]):createCommentVNode("",!0),t.shallBeShown("actionElement")?withDirectives((openBlock(),createBlock(g,{key:3,id:"actionElement",type:"select.components",dense:"",style:{width:"200px"},label:"Action Element","state-key":y.primaryStateKey,"item-id":y.id,placeholder:t.getPlaceholder("actionElement",y),value:y.actionElement,components:t.FunctionsComponentsList.actionElements._all,"component-values":t.componentValues(y,"action",y.primaryStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_31$1,[createVNode$1(g,{id:"secondaryStatesKeys",type:"select",dense:"",style:{width:"430px"},label:t.$t("Secondary State"),"item-id":y.id,value:y.secondaryStatesKeys||[],"hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},{after:withCtx(()=>[createVNode$1(QBtn,{flat:"",dense:"",icon:"mdi-dots-vertical","click.prevent":""},{default:withCtx(()=>[createVNode$1(QMenu,null,{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"100px"}},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use state labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useLabel!==void 0?y.secondaryStatesConfig.useLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useDeviceLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use device labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useDeviceLabel!==void 0?y.secondaryStatesConfig.useDeviceLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useColor",type:"switch",inline:"",dense:"","item-id":y.id,label:"use colors",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useColor!==void 0?y.secondaryStatesConfig.useColor:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.hideEmpty",type:"switch",inline:"",dense:"","item-id":y.id,label:"hide when empty",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.hideEmpty!==void 0?y.secondaryStatesConfig.hideEmpty:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","item-id","value","onOnSelect"])],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_32,[t.shallBeShown("primaryStateKey")?(openBlock(),createBlock(g,{key:0,id:"primaryStateKey",type:"select",dense:"",style:{width:"130px"},label:"Action State","item-id":y.id,value:y.primaryStateKey,options:t.getDeviceStatesOptions(y.deviceId),onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"])):createCommentVNode("",!0),t.shallBeShown("showState")?withDirectives((openBlock(),createBlock(g,{key:1,id:"showState",type:"switch",dense:"",style:{width:"100px"},label:"Show State","item-id":y.id,value:y.showState!==void 0?y.showState:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0),t.shallBeShown("showGroupAction")?withDirectives((openBlock(),createBlock(g,{key:2,id:"useInGroup",type:"switch",dense:"",style:{width:"100px"},label:"Use in Actions","item-id":y.id,value:y.useInGroup!==void 0?y.useInGroup:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey&&y.isInGroup===!0]]):createCommentVNode("",!0),t.shallBeShown("actionElement")?withDirectives((openBlock(),createBlock(g,{key:3,id:"actionElement",dense:"",style:{width:"200px"},label:"Action Element","state-key":y.primaryStateKey,"item-id":y.id,placeholder:t.getPlaceholder("actionElement",y),value:y.actionElement,type:"select.components",components:t.FunctionsComponentsList.actionElements[t.getDeviceFunction(y)],"component-values":t.componentValues(y,"action",y.primaryStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_33,[t.shallBeShown("secondaryStatesKeys")?(openBlock(),createBlock(QSelect,{key:0,"stack-label":"",dense:"",style:{width:"430px"},label:t.$t("Secondary State"),"model-value":y.secondaryStatesKeys,options:t.getDeviceStatesOptions(y.deviceId),"use-chips":"",multiple:"","onUpdate:modelValue":b=>t.onChangeSecondaryStatesKeys(y.id,b)},{after:withCtx(()=>[createVNode$1(QBtn,{flat:"",dense:"",icon:"mdi-dots-vertical","click.prevent":""},{default:withCtx(()=>[createVNode$1(QMenu,null,{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"100px"}},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use state labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useLabel!==void 0?y.secondaryStatesConfig.useLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useDeviceLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use device labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useDeviceLabel!==void 0?y.secondaryStatesConfig.useDeviceLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useColor",type:"switch",inline:"",dense:"","item-id":y.id,label:"use colors",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useColor!==void 0?y.secondaryStatesConfig.useColor:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.hideEmpty",type:"switch",inline:"",dense:"","item-id":y.id,label:"hide when empty",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.hideEmpty!==void 0?y.secondaryStatesConfig.hideEmpty:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","model-value","options","onUpdate:modelValue"])):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0)]),_:2},1024))],64)):(openBlock(),createBlock(QItemSection,{key:1},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Device not found")+" ("+t.$t("Device ID")+": "+y.deviceId+")"),1)]),_:2},1024))]),_:2},1032,["dense"])]))),128)),withDirectives((openBlock(),createBlock(QItem,{style:{"min-height":"auto",padding:"0"},clickable:"",tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:"",class:"q-ml-md text-caption"},{default:withCtx(()=>[createVNode$1(QRadio,{modelValue:t.insert,"onUpdate:modelValue":r[7]||(r[7]=y=>t.insert=y),val:t.items.length,label:t.$t("insert at the end"),dense:"",size:"xs"},null,8,["modelValue","val","label"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"full-width"})]),_:1})]),_:1})),[[vShow,t.ModuleSettings.addDevices&&t.items.length>0],[Ripple]])]),_:1},8,["dense"])])])}var WidgetDevicesSection=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$Y],["__scopeId","data-v-1f8a5c8f"]]),WidgetPage_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$X=defineComponent({name:"WidgetPage",components:{WidgetDevicesSection},props:{widgetId:{type:String,default:null}},emits:["onClose"],setup(t,{emit:r}){const o=useJarvis(),a=useEditor(),{errors:u,hasErrors:d,addError:g,removeError:v,resetErrors:y}=useErrors(),A=ref(null);watch(()=>t.widgetId,F=>{F?(A.value=a.widgets[F]?_default(a.widgets[F]):{id:F,config:{},_created:Date.now()},A.value.module?v("module"):g("module","Choose a module")):A.value=null});const b=Modules.ModuleList.map(F=>({label:F,value:F})),_=computed(()=>Modules.Configurations[A.value.module]||[]),w=computed(()=>Modules.Settings[A.value.module]||{}),S=computed(()=>{const F={};return _.value.forEach(O=>{if(A.value.config[O.parameter]===void 0){const D=typeof O.value=="function"?O.value(A.value):O.value;T({id:"config."+O.parameter,value:D}),F[O.parameter]=D}else F[O.parameter]=A.value.config[O.parameter]}),F}),C=F=>F?Object.keys(F).some(O=>{const D=Array.isArray(F[O])?F[O]:[F[O]],x=A.value.config[O]===void 0?_.value.find(P=>P.parameter===O).value:A.value.config[O];return D.includes(x)}):!0,T=F=>{const{_error:O,id:D,value:x}=F;O?g(D,O):D!==void 0&&x!==void 0&&D.indexOf("config.")!==-1?(A.value.config[D.replace("config.","")]=x,v(D)):D!==void 0&&x!==void 0&&(A.value[D]=x,v(D),D==="module"&&(y(),A.value.config={}))},I=(F=null)=>{r("onClose",F),A.value=null,y()};return{jarvis:o,editor:a,ModuleList:b,ModuleConfigurations:_,ModuleSettings:w,ModuleConfigValues:S,errors:u,hasErrors:d,dependencies:C,widget:A,onChange:T,onCancel:I,onSave:()=>{a.addWidget({widget:A.value}),I(A.value)},icons:computed(()=>A.value&&A.value.icon&&(typeof A.value.icon!="string"||A.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(O=>({icon:"mdi:"+O,label:O,value:"mdi:"+O})))}}}),_hoisted_1$K={class:"text-h6 row items-center"},_hoisted_2$A={class:"text-h6 primary q-ma-sm"},_hoisted_3$r={class:"row"},_hoisted_4$j={class:"col"},_hoisted_5$g={class:"col"},_hoisted_6$c={class:"col"},_hoisted_7$a={class:"col-2"},_hoisted_8$a={class:"col-1"},_hoisted_9$a={class:"text-h6 primary q-ma-sm"},_hoisted_10$9={class:"row"},_hoisted_11$9={class:"col-3"},_hoisted_12$7={class:"col-9"},_hoisted_13$6={class:"text-h7 primary q-ma-sm"},_hoisted_14$6={class:"row"},_hoisted_15$5={class:"row"},_hoisted_16$4={class:"q-pa-sm"},_hoisted_17$3={key:0,class:"row"},_hoisted_18$3={class:"text-h7 primary q-ma-sm"},_hoisted_19$2={class:"row"};function _sfc_render$X(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("widget-devices-section");return openBlock(),createBlock(QDialog,{"model-value":t.widget!==null,"full-height":"",persistent:""},{default:withCtx(()=>[t.widget!==null?(openBlock(),createBlock(QCard,{key:0,class:"column full-height",style:{width:"1400px","max-width":"90vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$K,[createTextVNode(toDisplayString$1(t.$t("Widget"))+": ",1),createVNode$1(g,{id:"title",dense:"",label:t.$t("Name"),value:t.widget.title||"",autofocus:"",style:{width:"230px","margin-right":"16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"]),createTextVNode(" ("+toDisplayString$1(t.$t("Widget ID")+": "+t.widget.id)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{id:"WidgetDialogBody",class:"col scroll body"},{default:withCtx(()=>[createVNode$1(QForm,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$A,toDisplayString$1(t.$t("Widget-Box")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_3$r,[createBaseVNode("div",_hoisted_4$j,[createVNode$1(g,{id:"icon",label:t.$t("Widget")+" "+t.$t("Icon"),value:t.widget.icon||t.ModuleSettings.icon||"",icon:t.widget.icon,options:t.icons,"max-dropdown-options":300,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$g,[createVNode$1(g,{id:"label",label:t.$t("Widget")+" "+t.$t("Label"),value:t.widget.label||"",placeholder:t.widget.title,onOnChange:t.onChange},null,8,["label","value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_6$c,[createVNode$1(g,{id:"link",label:t.$t("Widget")+" "+t.$t("Link"),value:t.widget.link||"",info:"config#HomeKitTile#jumper#info",onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_7$a,[createVNode$1(g,{id:"hideTitle",type:"switch",label:t.$t("Hide Widget Label and Icon"),value:t.widget.hideTitle||!1,onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_8$a,[withDirectives(createVNode$1(g,{id:"hideSeparator",type:"switch",label:t.$t("Hide Separator"),value:t.widget.hideSeparator||!1,onOnChange:t.onChange},null,8,["label","value","onOnChange"]),[[vShow,t.widget.hideTitle!==!0]])])]),createBaseVNode("div",_hoisted_9$a,toDisplayString$1(t.$t("Module")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_10$9,[createBaseVNode("div",_hoisted_11$9,[createVNode$1(g,{id:"module",label:t.$t("Module"),type:"select",options:t.ModuleList,value:t.widget.module,"options-dense":"","use-input":"",required:"",error:t.errors.module!==void 0,"error-message":t.errors.module,onOnSelect:t.onChange},null,8,["label","options","value","error","error-message","onOnSelect"])]),createBaseVNode("div",_hoisted_12$7,[withDirectives(createBaseVNode("div",{class:"centered"},toDisplayString$1(t.$t(t.widget.module+"#description")),513),[[vShow,t.widget.module]])])]),withDirectives(createBaseVNode("div",null,[createBaseVNode("div",_hoisted_13$6,toDisplayString$1(t.$t("Module Configuration")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),withDirectives(createBaseVNode("div",_hoisted_14$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.ModuleConfigurations,y=>(openBlock(),createElementBlock(Fragment,null,[y.hide!==!0?withDirectives((openBlock(),createElementBlock("div",{key:y.parameter,class:normalizeClass("col-"+(y.columns||4))},[createVNode$1(g,mergeProps({ref_for:!0},y,{id:"config."+y.parameter,options:y.options?typeof y.options=="function"?y.options(t.widget.items||[],{jarvis:t.jarvis,editor:t.editor}):y.options:void 0,value:t.ModuleConfigValues[y.parameter],"error-message":t.errors["config."+y.parameter],onOnChange:t.onChange,onOnSelect:t.onChange}),null,16,["id","options","value","error-message","onOnChange","onOnSelect"])],2)),[[vShow,t.dependencies(y.dependencies)]]):createCommentVNode("",!0)],64))),256))],512),[[vShow,t.ModuleConfigurations.length>0]]),withDirectives(createBaseVNode("div",_hoisted_15$5,[createBaseVNode("p",_hoisted_16$4,toDisplayString$1(t.$t("No configuration options for this module")),1)],512),[[vShow,t.ModuleConfigurations.length===0]]),t.ModuleSettings&&t.ModuleSettings.customConfiguration?(openBlock(),createElementBlock("div",_hoisted_17$3,[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customConfiguration),{config:t.widget.config,onOnChange:t.onChange},null,40,["config","onOnChange"]))])):createCommentVNode("",!0),t.ModuleSettings.addDevice!==!1?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",_hoisted_18$3,toDisplayString$1(t.$t("Module Devices")),1),createVNode$1(QSeparator,{style:{margin:"0 -0 8px 0"}}),createBaseVNode("div",_hoisted_19$2,[createVNode$1(v,{"module-config-values":t.ModuleConfigValues,"item-list":t.widget.items||[],module:t.widget.module,onOnChange:t.onChange},null,8,["module-config-values","item-list","module","onOnChange"])])],64)):createCommentVNode("",!0)],512),[[vShow,t.widget.module]])]),_:1})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.hasErrors,onClick:t.onSave},null,8,["label","disable","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])}var WidgetPage=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$X],["__scopeId","data-v-d804ea74"]]);const _sfc_main$W=defineComponent({name:"WidgetsPage",components:{JsonEditor,WidgetsTable,WidgetPage},setup(){useJarvis();const t=useEditor(),r=computed(()=>t.getGroupedWidgets),o=computed(()=>t.getWidgetsWthoutDeletionsCount),a=computed(()=>t.widgets),u=computed(()=>t.settings&&t.settings.configExpertMode),d=ref(),g=()=>{d.value=v4()},v=b=>{d.value=b.id},y=b=>{if(b._error){t.addError(b.id,b._error);return}t.removeError(b.id),b.value&&t.set({tmpJsonEditor:{key:b.id,json:JSON.parse(b.value)}})},A=ref({sortBy:"name",rowsPerPage:15});return onBeforeMount(()=>{try{const b=Cache$1.get("settings",{});b.configWidgetsPagination&&(A.value=JSON.parse(b.configWidgetsPagination))}catch(b){}}),{expanded:ref({}),configurationHeight:computed(()=>{const b=document.querySelector(".q-page");return b&&b.offsetHeight||900}),groups:r,json:a,expertMode:u,pagination:A,onPagination:b=>{let w=Cache$1.get("settings",{}).configWidgetsPagination||"{}";try{w=typeof w=="string"?JSON.parse(w):w,Object.entries(b).some(([S,C])=>C!==w[S])&&(Cache$1.set("settings",{...Cache$1.get("settings",{}),configWidgetsPagination:JSON.stringify(b)}),t.set("settings.configWidgetsPagination",JSON.stringify(b)),A.value=b)}catch(S){console.warn(S.message)}},widgetsCount:o,selectedWidgetId:d,addWidget:g,editWidget:v,onJsonEditor:y}}}),_hoisted_1$J={class:"full-height WidgetsPage"},_hoisted_2$z={class:"row no-wrap"};function _sfc_render$W(t,r,o,a,u,d){const g=resolveComponent("widget-page"),v=resolveComponent("widgets-table"),y=resolveComponent("json-editor"),A=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$J,[createBaseVNode("div",_hoisted_2$z,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Widgets"))+" ("+toDisplayString$1(t.widgetsCount)+") ",1)]),_:1}),createVNode$1(QSpace),createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),onClick:t.addWidget},null,8,["label","onClick"])]),_:1})]),createVNode$1(g,{"widget-id":t.selectedWidgetId,onOnClose:r[0]||(r[0]=b=>t.selectedWidgetId=null)},null,8,["widget-id"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,b=>withDirectives((openBlock(),createElementBlock("div",{key:b.id,class:"row no-wrap paper"},[createVNode$1(QExpansionItem,{modelValue:t.expanded[b.id],"onUpdate:modelValue":_=>t.expanded[b.id]=_,icon:b.icon,label:b.label+" ("+b.widgets.length+")",class:"full-width"},{default:withCtx(()=>[createVNode$1(v,{widgets:b.widgets,pagination:t.pagination,onOnEditWidget:t.editWidget,onOnPagination:t.onPagination},null,8,["widgets","pagination","onOnEditWidget","onOnPagination"])]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"])])),[[vShow,!t.expertMode&&b.widgets.length>0]])),128)),withDirectives(createVNode$1(A,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(y,{id:"widgets",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var WidgetsPage=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$W]]),index$8=Object.freeze(Object.defineProperty({__proto__:null,default:WidgetsPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$V=defineComponent({name:"WidgetPopup",components:{WidgetPage},props:{widget:{type:Object,default:null}},emits:["onClose","onSave"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=[{label:o.t("top aligned"),value:"top"},{label:o.t("middle aligned"),value:"middle"},{label:o.t("bottom aligned"),value:"bottom"}],d=[{label:o.t("left aligned"),value:"left"},{label:o.t("center aligned"),value:"center"},{label:o.t("right aligned"),value:"right"},{label:o.t("fill full width"),value:"fill-width"}];let g={};Object.values(a.widgets).forEach(V=>{g[V.module]=g[V.module]||{label:V.module,widgets:[]},V._deleted!==!0&&g[V.module].widgets.push({...V,value:V.id,label:V.label?V.label+" "+(V.title?"("+V.title+")":""):V.title||""})}),g=Object.values(g);const v=ref(g),y=ref(null);watch(()=>t.widget,V=>{y.value=V?_default({items:[],...V}):null});const A=computed(()=>y.value.scaleToFitContents!==void 0?y.value.scaleToFitContents:!0),b=computed(()=>y.value.alignmentVertical||"top"),_=computed(()=>y.value.alignmentHorizontal||"center"),w=computed(()=>y.value.allowFullscreen||!1),S=computed(()=>y.value.items?y.value.items.map(V=>a.widgets[V]||{}):[]),C=(V,Y)=>{let H=g;V&&(V=V.toLowerCase(),H=[],g.forEach(B=>{const z=[];B.widgets.forEach(U=>{(U.module&&U.module.toLowerCase().indexOf(V)!==-1||U.id&&U.id.toLowerCase().indexOf(V)!==-1||U.title&&U.title.toLowerCase().indexOf(V)!==-1||U.label&&U.label.toLowerCase().indexOf(V)!==-1)&&z.push(U)}),z.length>0&&H.push({label:B.label+" ("+z.length+")",widgets:z})})),Y(()=>{v.value=H.sort((B,z)=>(B=B.label?B.label.toLowerCase():"",z=z.label?z.label.toLowerCase():"",B===z?0:B>z?1:-1))})},T=ref(null);let I=!1;const E=V=>{y.value[V.id]=V.value},F=V=>{V&&V.module&&I===!0&&P({id:T.value}),I=!1,T.value=null},O=()=>{y.value=null,r("onClose")},D=()=>{r("onSave",y.value),O()},x=ref(),P=V=>{y.value.items.push(V.id),x.value.hidePopup()};return{ScaleExceptions,AlignmentExceptions,alignmentHorizontal:d,alignmentVertical:u,inputValueAlignmentHorizontal:_,inputValueAlignmentVertical:b,inputScaleToFitContents:A,inputValueAllowFullscreen:w,onChange:E,onClose:F,onCancel:O,onSave:D,onFilter:C,itemList:S,widgetListFiltered:v,selectedWidgetId:T,container:y,addWidgetElement:x,assignWidget:P,addWidget:()=>{I=!0,T.value=v4()},editWidget:V=>{T.value=V},deleteWidget:V=>{confirm(o.t("Really delete item?"))&&y.value.items.splice(y.value.items.indexOf(V),1)}}}}),_hoisted_1$I={class:"text-h6"},_hoisted_2$y={class:"text-h7 primary q-ma-sm"},_hoisted_3$q={class:"row"},_hoisted_4$i={class:"col"},_hoisted_5$f={class:"col-1",style:{"text-align":"center","line-height":"56px"}},_hoisted_6$b={class:"col-3",style:{"text-align":"center","line-height":"56px"}},_hoisted_7$9={key:0},_hoisted_8$9={class:"row items-center"},_hoisted_9$9={class:"text-h7 primary q-ma-sm",style:{"margin-top":"16px"}},_hoisted_10$8={class:"row q-pb-xs"},_hoisted_11$8={class:"col"},_hoisted_12$6={class:"col"},_hoisted_13$5={class:"col"},_hoisted_14$5={class:"col"};function _sfc_render$V(t,r,o,a,u,d){const g=resolveComponent("widget-page"),v=resolveComponent("icon"),y=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createVNode$1(g,{"widget-id":t.selectedWidgetId,onOnClose:t.onClose},null,8,["widget-id","onOnClose"]),createVNode$1(QDialog,{"model-value":t.container!==null,persistent:""},{default:withCtx(()=>[t.container?(openBlock(),createBlock(QCard,{key:0,class:"column",style:{width:"1200px","max-width":"90vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$I,toDisplayString$1(t.$t("Assign Widget to Box")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col defaultPadding-2 q-pt-none scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$y,toDisplayString$1(t.$t("Widget")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),withDirectives(createBaseVNode("div",_hoisted_3$q,[createBaseVNode("div",_hoisted_4$i,[createVNode$1(QSelect,{ref:"addWidgetElement",label:t.$t("Assign Widget"),options:t.widgetListFiltered,"model-value":"","use-input":"","stack-label":"",style:{margin:"0 8px"},onFilter:t.onFilter},{option:withCtx(A=>[createVNode$1(QExpansionItem,{"expand-separator":"","header-class":"text-weight-bold",label:A.opt.label},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.opt.widgets,b=>withDirectives((openBlock(),createBlock(QItem,{key:b.id,clickable:"",onClick:_=>t.assignWidget(b)},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[b.label?(openBlock(),createBlock(QItemLabel,{key:0,class:"q-ml-md"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.label),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:1,class:"q-ml-md"},{default:withCtx(()=>[createBaseVNode("em",null,"("+toDisplayString$1(t.$t("no title"))+")",1)]),_:1})),createVNode$1(QItemLabel,{class:"q-ml-md",caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.id),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128))]),_:2},1032,["label"])]),_:1},8,["label","options","onFilter"])]),createBaseVNode("div",_hoisted_5$f,toDisplayString$1(t.$t("or")),1),createBaseVNode("div",_hoisted_6$b,[createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),onClick:t.addWidget},null,8,["label","onClick"])])],512),[[vShow,t.itemList.length===0]]),createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.itemList,(A,b)=>(openBlock(),createBlock(QItem,{key:A.id+"-"+b,class:"list-group-item"},{default:withCtx(()=>[A.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",name:A.icon},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.label||A.title||t.$t("no title"))+" ",1),A._deleted?(openBlock(),createElementBlock("em",_hoisted_7$9,"[ "+toDisplayString$1(t.$t("deleted"))+" ]",1)):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(" Widget ID: "+toDisplayString$1(A.id)+", Module: "+toDisplayString$1(A.module),1)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$9,[A._deleted!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:_=>t.editWidget(A.id)},null,8,["onClick"])):createCommentVNode("",!0),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:_=>t.deleteWidget(A.id)},null,8,["onClick"])])]),_:2},1024)]),_:2},1024))),128))]),_:1}),createBaseVNode("div",_hoisted_9$9,toDisplayString$1(t.$t("Options")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),createBaseVNode("div",_hoisted_10$8,[createBaseVNode("div",_hoisted_11$8,[createVNode$1(y,{id:"allowFullscreen",icon:"mdi-resize",label:"Allow fullscreen",type:"switch",value:t.inputValueAllowFullscreen,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_12$6,[withDirectives(createVNode$1(y,{id:"scaleToFitContents",icon:"mdi-fit-to-page",label:"Scale contents to fit widget",type:"switch",value:t.inputScaleToFitContents,onOnChange:t.onChange},null,8,["value","onOnChange"]),[[vShow,t.itemList[0]&&t.ScaleExceptions.includes(t.itemList[0].module)===!1]])]),createBaseVNode("div",_hoisted_13$5,[withDirectives(createVNode$1(y,{id:"alignmentVertical",icon:"mdi-arrow-split-horizontal",label:"Vertical alignment",type:"select",options:t.alignmentVertical,value:t.inputValueAlignmentVertical,onOnSelect:t.onChange},null,8,["options","value","onOnSelect"]),[[vShow,t.itemList[0]&&t.AlignmentExceptions.includes(t.itemList[0].module)===!1]])]),createBaseVNode("div",_hoisted_14$5,[withDirectives(createVNode$1(y,{id:"alignmentHorizontal",icon:"mdi-arrow-split-vertical",label:"Horizontal alignment",type:"select",options:t.alignmentHorizontal,value:t.inputValueAlignmentHorizontal,onOnSelect:t.onChange},null,8,["options","value","onOnSelect"]),[[vShow,t.itemList[0]&&t.AlignmentExceptions.includes(t.itemList[0].module)===!1]])])])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",onClick:t.onSave},null,8,["label","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])])}var WidgetPopup=_export_sfc$1(_sfc_main$V,[["render",_sfc_render$V]]),gridstack_min="";function obsolete(t,r,o,a,u){let d=(...g)=>(console.warn("gridstack.js: Function `"+o+"` is deprecated in "+u+" and has been replaced with `"+a+"`. It will be **removed** in a future release"),r.apply(t,g));return d.prototype=r.prototype,d}class Utils{static getElements(r,o=document){if(typeof r=="string"){const a="getElementById"in o?o:void 0;if(a&&!isNaN(+r[0])){const d=a.getElementById(r);return d?[d]:[]}let u=o.querySelectorAll(r);return!u.length&&r[0]!=="."&&r[0]!=="#"&&(u=o.querySelectorAll("."+r),u.length||(u=o.querySelectorAll("#"+r))),Array.from(u)}return[r]}static getElement(r,o=document){if(typeof r=="string"){const a="getElementById"in o?o:void 0;if(!r.length)return null;if(a&&r[0]==="#")return a.getElementById(r.substring(1));if(r[0]==="#"||r[0]==="."||r[0]==="[")return o.querySelector(r);if(a&&!isNaN(+r[0]))return a.getElementById(r);let u=o.querySelector(r);return a&&!u&&(u=a.getElementById(r)),u||(u=o.querySelector("."+r)),u}return r}static shouldSizeToContent(r,o=!1){return(r==null?void 0:r.grid)&&(o?r.sizeToContent===!0||r.grid.opts.sizeToContent===!0&&r.sizeToContent===void 0:!!r.sizeToContent||r.grid.opts.sizeToContent&&r.sizeToContent!==!1)}static isIntercepted(r,o){return!(r.y>=o.y+o.h||r.y+r.h<=o.y||r.x+r.w<=o.x||r.x>=o.x+o.w)}static isTouching(r,o){return Utils.isIntercepted(r,{x:o.x-.5,y:o.y-.5,w:o.w+1,h:o.h+1})}static areaIntercept(r,o){let a=r.x>o.x?r.x:o.x,u=r.x+r.wo.y?r.y:o.y,g=r.y+r.h{var v,y,A,b;let g=o*(((v=u.y)!=null?v:1e4)-((y=d.y)!=null?y:1e4));return g===0?o*(((A=u.x)!=null?A:1e4)-((b=d.x)!=null?b:1e4)):g})}static find(r,o){return o?r.find(a=>a.id===o):void 0}static createStylesheet(r,o,a){let u=document.createElement("style");const d=a==null?void 0:a.nonce;return d&&(u.nonce=d),u.setAttribute("type","text/css"),u.setAttribute("gs-style-id",r),u.styleSheet?u.styleSheet.cssText="":u.appendChild(document.createTextNode("")),o?o.insertBefore(u,o.firstChild):(o=document.getElementsByTagName("head")[0],o.appendChild(u)),u.sheet}static removeStylesheet(r,o){let u=(o||document).querySelector("STYLE[gs-style-id="+r+"]");u&&u.parentNode&&u.remove()}static addCSSRule(r,o,a){typeof r.addRule=="function"?r.addRule(o,a):typeof r.insertRule=="function"&&r.insertRule(`${o}{${a}}`)}static toBool(r){return typeof r=="boolean"?r:typeof r=="string"?(r=r.toLowerCase(),!(r===""||r==="no"||r==="false"||r==="0")):Boolean(r)}static toNumber(r){return r===null||r.length===0?void 0:Number(r)}static parseHeight(r){let o,a="px";if(typeof r=="string")if(r==="auto"||r==="")o=0;else{let u=r.match(/^(-[0-9]+\.[0-9]+|[0-9]*\.[0-9]+|-[0-9]+|[0-9]+)(px|em|rem|vh|vw|%|cm|mm)?$/);if(!u)throw new Error(`Invalid height val = ${r}`);a=u[2]||"px",o=parseFloat(u[1])}else o=r;return{h:o,unit:a}}static defaults(r,...o){return o.forEach(a=>{for(const u in a){if(!a.hasOwnProperty(u))return;r[u]===null||r[u]===void 0?r[u]=a[u]:typeof a[u]=="object"&&typeof r[u]=="object"&&this.defaults(r[u],a[u])}}),r}static same(r,o){if(typeof r!="object")return r==o;if(typeof r!=typeof o||Object.keys(r).length!==Object.keys(o).length)return!1;for(const a in r)if(r[a]!==o[a])return!1;return!0}static copyPos(r,o,a=!1){return o.x!==void 0&&(r.x=o.x),o.y!==void 0&&(r.y=o.y),o.w!==void 0&&(r.w=o.w),o.h!==void 0&&(r.h=o.h),a&&(o.minW&&(r.minW=o.minW),o.minH&&(r.minH=o.minH),o.maxW&&(r.maxW=o.maxW),o.maxH&&(r.maxH=o.maxH)),r}static samePos(r,o){return r&&o&&r.x===o.x&&r.y===o.y&&(r.w||1)===(o.w||1)&&(r.h||1)===(o.h||1)}static sanitizeMinMax(r){r.minW||delete r.minW,r.minH||delete r.minH,r.maxW||delete r.maxW,r.maxH||delete r.maxH}static removeInternalAndSame(r,o){if(!(typeof r!="object"||typeof o!="object"))for(let a in r){const u=r[a],d=o[a];a[0]==="_"||u===d?delete r[a]:u&&typeof u=="object"&&d!==void 0&&(Utils.removeInternalAndSame(u,d),Object.keys(u).length||delete r[a])}}static removeInternalForSave(r,o=!0){for(let a in r)(a[0]==="_"||r[a]===null||r[a]===void 0)&&delete r[a];delete r.grid,o&&delete r.el,r.autoPosition||delete r.autoPosition,r.noResize||delete r.noResize,r.noMove||delete r.noMove,r.locked||delete r.locked,(r.w===1||r.w===r.minW)&&delete r.w,(r.h===1||r.h===r.minH)&&delete r.h}static throttle(r,o){let a=!1;return(...u)=>{a||(a=!0,setTimeout(()=>{r(...u),a=!1},o))}}static removePositioningStyles(r){let o=r.style;o.position&&o.removeProperty("position"),o.left&&o.removeProperty("left"),o.top&&o.removeProperty("top"),o.width&&o.removeProperty("width"),o.height&&o.removeProperty("height")}static getScrollElement(r){if(!r)return document.scrollingElement||document.documentElement;const o=getComputedStyle(r);return/(auto|scroll)/.test(o.overflow+o.overflowY)?r:this.getScrollElement(r.parentElement)}static updateScrollPosition(r,o,a){let u=r.getBoundingClientRect(),d=window.innerHeight||document.documentElement.clientHeight;if(u.top<0||u.bottom>d){let g=u.bottom-d,v=u.top,y=this.getScrollElement(r);if(y!==null){let A=y.scrollTop;u.top<0&&a<0?r.offsetHeight>d?y.scrollTop+=a:y.scrollTop+=Math.abs(v)>Math.abs(a)?a:v:a>0&&(r.offsetHeight>d?y.scrollTop+=a:y.scrollTop+=g>a?a:g),o.top+=y.scrollTop-A}}}static updateScrollResize(r,o,a){const u=this.getScrollElement(o),d=u.clientHeight,g=u===this.getScrollElement()?0:u.getBoundingClientRect().top,v=r.clientY-g,y=vd-a;y?u.scrollBy({behavior:"smooth",top:v-a}):A&&u.scrollBy({behavior:"smooth",top:a-(d-v)})}static clone(r){return r==null||typeof r!="object"?r:r instanceof Array?[...r]:{...r}}static cloneDeep(r){const o=["parentGrid","el","grid","subGrid","engine"],a=Utils.clone(r);for(const u in a)a.hasOwnProperty(u)&&typeof a[u]=="object"&&u.substring(0,2)!=="__"&&!o.find(d=>d===u)&&(a[u]=Utils.cloneDeep(r[u]));return a}static cloneNode(r){const o=r.cloneNode(!0);return o.removeAttribute("id"),o}static appendTo(r,o){let a;typeof o=="string"?a=Utils.getElement(o):a=o,a&&a.appendChild(r)}static addElStyles(r,o){if(o instanceof Object)for(const a in o)o.hasOwnProperty(a)&&(Array.isArray(o[a])?o[a].forEach(u=>{r.style[a]=u}):r.style[a]=o[a])}static initEvent(r,o){const a={type:o.type},u={button:0,which:0,buttons:1,bubbles:!0,cancelable:!0,target:o.target?o.target:r.target};return["altKey","ctrlKey","metaKey","shiftKey"].forEach(d=>a[d]=r[d]),["pageX","pageY","clientX","clientY","screenX","screenY"].forEach(d=>a[d]=r[d]),{...a,...u}}static simulateMouseEvent(r,o,a){const u=document.createEvent("MouseEvents");u.initMouseEvent(o,!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,0,r.target),(a||r.target).dispatchEvent(u)}static getValuesFromTransformedElement(r){const o=document.createElement("div");Utils.addElStyles(o,{opacity:"0",position:"fixed",top:0+"px",left:0+"px",width:"1px",height:"1px",zIndex:"-999999"}),r.appendChild(o);const a=o.getBoundingClientRect();return r.removeChild(o),o.remove(),{xScale:1/a.width,yScale:1/a.height,xOffset:a.left,yOffset:a.top}}static swap(r,o,a){if(!r)return;const u=r[o];r[o]=r[a],r[a]=u}static canBeRotated(r){var o;return!(!r||r.w===r.h||r.locked||r.noResize||((o=r.grid)==null?void 0:o.opts.disableResize)||r.minW&&r.minW===r.maxW||r.minH&&r.minH===r.maxH)}}class GridStackEngine{constructor(r={}){this.addedNodes=[],this.removedNodes=[],this.column=r.column||12,this.maxRow=r.maxRow,this._float=r.float,this.nodes=r.nodes||[],this.onChange=r.onChange}batchUpdate(r=!0,o=!0){return!!this.batchMode===r?this:(this.batchMode=r,r?(this._prevFloat=this._float,this._float=!0,this.cleanNodes(),this.saveInitial()):(this._float=this._prevFloat,delete this._prevFloat,o&&this._packNodes(),this._notify()),this)}_useEntireRowArea(r,o){return(!this.float||this.batchMode&&!this._prevFloat)&&!this._hasLocked&&(!r._moving||r._skipDown||o.y<=r.y)}_fixCollisions(r,o=r,a,u={}){if(this.sortNodes(-1),a=a||this.collide(r,o),!a)return!1;if(r._moving&&!u.nested&&!this.float&&this.swap(r,a))return!0;let d=o;!this._loading&&this._useEntireRowArea(r,o)&&(d={x:0,w:this.column,y:o.y,h:o.h},a=this.collide(r,d,u.skip));let g=!1,v={nested:!0,pack:!1};for(;a=a||this.collide(r,d,u.skip);){let y;if(a.locked||this._loading||r._moving&&!r._skipDown&&o.y>r.y&&!this.float&&(!this.collide(a,{...a,y:r.y},r)||!this.collide(a,{...a,y:o.y-a.h},r))?(r._skipDown=r._skipDown||o.y>r.y,y=this.moveNode(r,{...o,y:a.y+a.h,...v}),(a.locked||this._loading)&&y?Utils.copyPos(o,r):!a.locked&&y&&u.pack&&(this._packNodes(),o.y=a.y+a.h,Utils.copyPos(r,o)),g=g||y):y=this.moveNode(a,{...a,y:o.y+o.h,skip:r,...v}),!y)return g;a=void 0}return g}collide(r,o=r,a){const u=r._id,d=a==null?void 0:a._id;return this.nodes.find(g=>g._id!==u&&g._id!==d&&Utils.isIntercepted(g,o))}collideAll(r,o=r,a){const u=r._id,d=a==null?void 0:a._id;return this.nodes.filter(g=>g._id!==u&&g._id!==d&&Utils.isIntercepted(g,o))}directionCollideCoverage(r,o,a){if(!o.rect||!r._rect)return;let u=r._rect,d={...o.rect};d.y>u.y?(d.h+=d.y-u.y,d.y=u.y):d.h+=u.y-d.y,d.x>u.x?(d.w+=d.x-u.x,d.x=u.x):d.w+=u.x-d.x;let g,v=.5;for(let y of a){if(y.locked||!y._rect)break;let A=y._rect,b=Number.MAX_VALUE,_=Number.MAX_VALUE;u.yA.y+A.h&&(b=(A.y+A.h-d.y)/A.h),u.xA.x+A.w&&(_=(A.x+A.w-d.x)/A.w);let w=Math.min(_,b);w>v&&(v=w,g=y)}return o.collide=g,g}cacheRects(r,o,a,u,d,g){return this.nodes.forEach(v=>v._rect={y:v.y*o+a,x:v.x*r+g,w:v.w*r-g-u,h:v.h*o-a-d}),this}swap(r,o){if(!o||o.locked||!r||r.locked)return!1;function a(){let d=o.x,g=o.y;return o.x=r.x,o.y=r.y,r.h!=o.h?(r.x=d,r.y=o.y+o.h):r.w!=o.w?(r.x=o.x+o.w,r.y=g):(r.x=d,r.y=g),r._dirty=o._dirty=!0,!0}let u;if(r.w===o.w&&r.h===o.h&&(r.x===o.x||r.y===o.y)&&(u=Utils.isTouching(r,o)))return a();if(u!==!1){if(r.w===o.w&&r.x===o.x&&(u||(u=Utils.isTouching(r,o)))){if(o.y{let A;g.locked||(g.autoPosition=!0,r==="list"&&v&&(A=y[v-1])),this.addNode(g,!1,A)}),u||delete this._inColumnResize,a||this.batchUpdate(!1),this}set float(r){this._float!==r&&(this._float=r||!1,r||this._packNodes()._notify())}get float(){return this._float||!1}sortNodes(r=1){return this.nodes=Utils.sort(this.nodes,r),this}_packNodes(){return this.batchMode?this:(this.sortNodes(),this.float?this.nodes.forEach(r=>{if(r._updating||r._orig===void 0||r.y===r._orig.y)return;let o=r.y;for(;o>r._orig.y;)--o,this.collide(r,{x:r.x,y:o,w:r.w,h:r.h})||(r._dirty=!0,r.y=o)}):this.nodes.forEach((r,o)=>{if(!r.locked)for(;r.y>0;){let a=o===0?0:r.y-1;if(!(o===0||!this.collide(r,{x:r.x,y:a,w:r.w,h:r.h})))break;r._dirty=r.y!==a,r.y=a}}),this)}prepareNode(r,o){var u;r._id=(u=r._id)!=null?u:GridStackEngine._idSeq++,(r.x===void 0||r.y===void 0||r.x===null||r.y===null)&&(r.autoPosition=!0);let a={x:0,y:0,w:1,h:1};return Utils.defaults(r,a),r.autoPosition||delete r.autoPosition,r.noResize||delete r.noResize,r.noMove||delete r.noMove,Utils.sanitizeMinMax(r),typeof r.x=="string"&&(r.x=Number(r.x)),typeof r.y=="string"&&(r.y=Number(r.y)),typeof r.w=="string"&&(r.w=Number(r.w)),typeof r.h=="string"&&(r.h=Number(r.h)),isNaN(r.x)&&(r.x=a.x,r.autoPosition=!0),isNaN(r.y)&&(r.y=a.y,r.autoPosition=!0),isNaN(r.w)&&(r.w=a.w),isNaN(r.h)&&(r.h=a.h),this.nodeBoundFix(r,o),r}nodeBoundFix(r,o){let a=r._orig||Utils.copyPos({},r);if(r.maxW&&(r.w=Math.min(r.w,r.maxW)),r.maxH&&(r.h=Math.min(r.h,r.maxH)),r.minW&&r.minW<=this.column&&(r.w=Math.max(r.w,r.minW)),r.minH&&(r.h=Math.max(r.h,r.minH)),(r.x||0)+(r.w||1)>this.column&&this.column<12&&!this._inColumnResize&&r._id&&this.findCacheLayout(r,12)===-1){let d={...r};d.autoPosition||d.x===void 0?(delete d.x,delete d.y):d.x=Math.min(11,d.x),d.w=Math.min(12,d.w||1),this.cacheOneLayout(d,12)}return r.w>this.column?r.w=this.column:r.w<1&&(r.w=1),this.maxRow&&r.h>this.maxRow?r.h=this.maxRow:r.h<1&&(r.h=1),r.x<0&&(r.x=0),r.y<0&&(r.y=0),r.x+r.w>this.column&&(o?r.w=this.column-r.x:r.x=this.column-r.w),this.maxRow&&r.y+r.h>this.maxRow&&(o?r.h=this.maxRow-r.y:r.y=this.maxRow-r.h),Utils.samePos(r,a)||(r._dirty=!0),this}getDirtyNodes(r){return r?this.nodes.filter(o=>o._dirty&&!Utils.samePos(o,o._orig)):this.nodes.filter(o=>o._dirty)}_notify(r){if(this.batchMode||!this.onChange)return this;let o=(r||[]).concat(this.getDirtyNodes());return this.onChange(o),this}cleanNodes(){return this.batchMode?this:(this.nodes.forEach(r=>{delete r._dirty,delete r._lastTried}),this)}saveInitial(){return this.nodes.forEach(r=>{r._orig=Utils.copyPos({},r),delete r._dirty}),this._hasLocked=this.nodes.some(r=>r.locked),this}restoreInitial(){return this.nodes.forEach(r=>{Utils.samePos(r,r._orig)||(Utils.copyPos(r,r._orig),r._dirty=!0)}),this._notify(),this}findEmptyPosition(r,o=this.nodes,a=this.column,u){let d=u?u.y*a+(u.x+u.w):0,g=!1;for(let v=d;!g;++v){let y=v%a,A=Math.floor(v/a);if(y+r.w>a)continue;let b={x:y,y:A,w:r.w,h:r.h};o.find(_=>Utils.isIntercepted(b,_))||((r.x!==y||r.y!==A)&&(r._dirty=!0),r.x=y,r.y=A,delete r.autoPosition,g=!0)}return g}addNode(r,o=!1,a){let u=this.nodes.find(g=>g._id===r._id);if(u)return u;this._inColumnResize?this.nodeBoundFix(r):this.prepareNode(r),delete r._temporaryRemoved,delete r._removeDOM;let d;return r.autoPosition&&this.findEmptyPosition(r,this.nodes,this.column,a)&&(delete r.autoPosition,d=!0),this.nodes.push(r),o&&this.addedNodes.push(r),d||this._fixCollisions(r),this.batchMode||this._packNodes()._notify(),r}removeNode(r,o=!0,a=!1){return this.nodes.find(u=>u._id===r._id)?(a&&this.removedNodes.push(r),o&&(r._removeDOM=!0),this.nodes=this.nodes.filter(u=>u._id!==r._id),r._isAboutToRemove||this._packNodes(),this._notify([r]),this):this}removeAll(r=!0,o=!0){if(delete this._layouts,!this.nodes.length)return this;r&&this.nodes.forEach(u=>u._removeDOM=!0);const a=this.nodes;return this.removedNodes=o?a:[],this.nodes=[],this._notify(a)}moveNodeCheck(r,o){if(!this.changedPosConstrain(r,o))return!1;if(o.pack=!0,!this.maxRow)return this.moveNode(r,o);let a,u=new GridStackEngine({column:this.column,float:this.float,nodes:this.nodes.map(g=>g._id===r._id?(a={...g},a):{...g})});if(!a)return!1;let d=u.moveNode(a,o)&&u.getRow()<=Math.max(this.getRow(),this.maxRow);if(!d&&!o.resizing&&o.collide){let g=o.collide.el.gridstackNode;if(this.swap(r,g))return this._notify(),!0}return d?(u.nodes.filter(g=>g._dirty).forEach(g=>{let v=this.nodes.find(y=>y._id===g._id);!v||(Utils.copyPos(v,g),v._dirty=!0)}),this._notify(),!0):!1}willItFit(r){if(delete r._willFitPos,!this.maxRow)return!0;let o=new GridStackEngine({column:this.column,float:this.float,nodes:this.nodes.map(u=>({...u}))}),a={...r};return this.cleanupNode(a),delete a.el,delete a._id,delete a.content,delete a.grid,o.addNode(a),o.getRow()<=this.maxRow?(r._willFitPos=Utils.copyPos({},a),!0):!1}changedPosConstrain(r,o){return o.w=o.w||r.w,o.h=o.h||r.h,r.x!==o.x||r.y!==o.y?!0:(r.maxW&&(o.w=Math.min(o.w,r.maxW)),r.maxH&&(o.h=Math.min(o.h,r.maxH)),r.minW&&(o.w=Math.max(o.w,r.minW)),r.minH&&(o.h=Math.max(o.h,r.minH)),r.w!==o.w||r.h!==o.h)}moveNode(r,o){var A,b;if(!r||!o)return!1;let a;o.pack===void 0&&!this.batchMode&&(a=o.pack=!0),typeof o.x!="number"&&(o.x=r.x),typeof o.y!="number"&&(o.y=r.y),typeof o.w!="number"&&(o.w=r.w),typeof o.h!="number"&&(o.h=r.h);let u=r.w!==o.w||r.h!==o.h,d=Utils.copyPos({},r,!0);if(Utils.copyPos(d,o),this.nodeBoundFix(d,u),Utils.copyPos(o,d),!o.forceCollide&&Utils.samePos(r,o))return!1;let g=Utils.copyPos({},r),v=this.collideAll(r,d,o.skip),y=!0;if(v.length){let _=r._moving&&!o.nested,w=_?this.directionCollideCoverage(r,o,v):v[0];if(_&&w&&((b=(A=r.grid)==null?void 0:A.opts)==null?void 0:b.subGridDynamic)&&!r.grid._isTemp){let S=Utils.areaIntercept(o.rect,w._rect),C=Utils.area(o.rect),T=Utils.area(w._rect);S/(C.8&&(w.grid.makeSubGrid(w.el,void 0,r),w=void 0)}w?y=!this._fixCollisions(r,d,w,o):(y=!1,a&&delete o.pack)}return y&&(r._dirty=!0,Utils.copyPos(r,d)),o.pack&&this._packNodes()._notify(),!Utils.samePos(r,g)}getRow(){return this.nodes.reduce((r,o)=>Math.max(r,o.y+o.h),0)}beginUpdate(r){return r._updating||(r._updating=!0,delete r._skipDown,this.batchMode||this.saveInitial()),this}endUpdate(){let r=this.nodes.find(o=>o._updating);return r&&(delete r._updating,delete r._skipDown),this}save(r=!0,o){var g;let a=(g=this._layouts)==null?void 0:g.length,u=a&&this.column!==a-1?this._layouts[a-1]:null,d=[];return this.sortNodes(),this.nodes.forEach(v=>{let y=u==null?void 0:u.find(b=>b._id===v._id),A={...v,...y||{}};Utils.removeInternalForSave(A,!r),o&&o(v,A),d.push(A)}),d}layoutsNodesChange(r){return!this._layouts||this._inColumnResize?this:(this._layouts.forEach((o,a)=>{if(!o||a===this.column)return this;if(a{if(!d._orig)return;let g=o.find(v=>v._id===d._id);!g||(g.y>=0&&d.y!==d._orig.y&&(g.y+=d.y-d._orig.y),d.x!==d._orig.x&&(g.x=Math.round(d.x*u)),d.w!==d._orig.w&&(g.w=Math.round(d.w*u)))})}}),this)}columnChanged(r,o,a="moveScale"){var v;if(!this.nodes.length||!o||r===o)return this;if(a==="none")return this;const u=a==="compact"||a==="list";u&&this.sortNodes(1),or&&this._layouts){const y=this._layouts[o]||[];let A=this._layouts.length-1;!y.length&&r!==A&&((v=this._layouts[A])==null?void 0:v.length)&&(r=A,this._layouts[A].forEach(b=>{var w,S,C;let _=g.find(T=>T._id===b._id);_&&(!u&&!b.autoPosition&&(_.x=(w=b.x)!=null?w:_.x,_.y=(S=b.y)!=null?S:_.y),_.w=(C=b.w)!=null?C:_.w,(b.x==null||b.y===void 0)&&(_.autoPosition=!0))})),y.forEach(b=>{var w,S,C;let _=g.findIndex(T=>T._id===b._id);if(_!==-1){const T=g[_];if(u){T.w=b.w;return}(b.autoPosition||isNaN(b.x)||isNaN(b.y))&&this.findEmptyPosition(b,d),b.autoPosition||(T.x=(w=b.x)!=null?w:T.x,T.y=(S=b.y)!=null?S:T.y,T.w=(C=b.w)!=null?C:T.w,d.push(T)),g.splice(_,1)}})}if(u)this.compact(a,!1);else{if(g.length)if(typeof a=="function")a(o,r,d,g);else{let y=u?1:o/r,A=a==="move"||a==="moveScale",b=a==="scale"||a==="moveScale";g.forEach(_=>{_.x=o===1?0:A?Math.round(_.x*y):Math.min(_.x,o-1),_.w=o===1||r===1?1:b?Math.round(_.w*y)||1:Math.min(_.w,o),d.push(_)}),g=[]}d=Utils.sort(d,-1),this._inColumnResize=!0,this.nodes=[],d.forEach(y=>{this.addNode(y,!1),delete y._orig})}return this.nodes.forEach(y=>delete y._orig),this.batchUpdate(!1,!u),delete this._inColumnResize,this}cacheLayout(r,o,a=!1){let u=[];return r.forEach((d,g)=>{var v;if(d._id===void 0){const y=d.id?this.nodes.find(A=>A.id===d.id):void 0;d._id=(v=y==null?void 0:y._id)!=null?v:GridStackEngine._idSeq++}u[g]={x:d.x,y:d.y,w:d.w,_id:d._id}}),this._layouts=a?[]:this._layouts||[],this._layouts[o]=u,this}cacheOneLayout(r,o){var d;r._id=(d=r._id)!=null?d:GridStackEngine._idSeq++;let a={x:r.x,y:r.y,w:r.w,_id:r._id};(r.autoPosition||r.x===void 0)&&(delete a.x,delete a.y,r.autoPosition&&(a.autoPosition=!0)),this._layouts=this._layouts||[],this._layouts[o]=this._layouts[o]||[];let u=this.findCacheLayout(r,o);return u===-1?this._layouts[o].push(a):this._layouts[o][u]=a,this}findCacheLayout(r,o){var a,u,d;return(d=(u=(a=this._layouts)==null?void 0:a[o])==null?void 0:u.findIndex(g=>g._id===r._id))!=null?d:-1}removeNodeFromLayoutCache(r){if(!!this._layouts)for(let o=0;o0||navigator.msMaxTouchPoints>0);class DDTouch{}function simulateMouseEvent(t,r){if(t.touches.length>1)return;t.cancelable&&t.preventDefault();const o=t.changedTouches[0],a=document.createEvent("MouseEvents");a.initMouseEvent(r,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(a)}function simulatePointerMouseEvent(t,r){t.cancelable&&t.preventDefault();const o=document.createEvent("MouseEvents");o.initMouseEvent(r,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(o)}function touchstart(t){DDTouch.touchHandled||(DDTouch.touchHandled=!0,simulateMouseEvent(t,"mousedown"))}function touchmove(t){!DDTouch.touchHandled||simulateMouseEvent(t,"mousemove")}function touchend(t){if(!DDTouch.touchHandled)return;DDTouch.pointerLeaveTimeout&&(window.clearTimeout(DDTouch.pointerLeaveTimeout),delete DDTouch.pointerLeaveTimeout);const r=!!DDManager.dragElement;simulateMouseEvent(t,"mouseup"),r||simulateMouseEvent(t,"click"),DDTouch.touchHandled=!1}function pointerdown(t){t.pointerType!=="mouse"&&t.target.releasePointerCapture(t.pointerId)}function pointerenter(t){!DDManager.dragElement||t.pointerType!=="mouse"&&simulatePointerMouseEvent(t,"mouseenter")}function pointerleave(t){!DDManager.dragElement||t.pointerType!=="mouse"&&(DDTouch.pointerLeaveTimeout=window.setTimeout(()=>{delete DDTouch.pointerLeaveTimeout,simulatePointerMouseEvent(t,"mouseleave")},10))}class DDResizableHandle{constructor(r,o,a){this.host=r,this.dir=o,this.option=a,this.moving=!1,this._mouseDown=this._mouseDown.bind(this),this._mouseMove=this._mouseMove.bind(this),this._mouseUp=this._mouseUp.bind(this),this._keyEvent=this._keyEvent.bind(this),this._init()}_init(){const r=this.el=document.createElement("div");return r.classList.add("ui-resizable-handle"),r.classList.add(`${DDResizableHandle.prefix}${this.dir}`),r.style.zIndex="100",r.style.userSelect="none",this.host.appendChild(this.el),this.el.addEventListener("mousedown",this._mouseDown),isTouch&&(this.el.addEventListener("touchstart",touchstart),this.el.addEventListener("pointerdown",pointerdown)),this}destroy(){return this.moving&&this._mouseUp(this.mouseDownEvent),this.el.removeEventListener("mousedown",this._mouseDown),isTouch&&(this.el.removeEventListener("touchstart",touchstart),this.el.removeEventListener("pointerdown",pointerdown)),this.host.removeChild(this.el),delete this.el,delete this.host,this}_mouseDown(r){this.mouseDownEvent=r,document.addEventListener("mousemove",this._mouseMove,{capture:!0,passive:!0}),document.addEventListener("mouseup",this._mouseUp,!0),isTouch&&(this.el.addEventListener("touchmove",touchmove),this.el.addEventListener("touchend",touchend)),r.stopPropagation(),r.preventDefault()}_mouseMove(r){let o=this.mouseDownEvent;this.moving?this._triggerEvent("move",r):Math.abs(r.x-o.x)+Math.abs(r.y-o.y)>2&&(this.moving=!0,this._triggerEvent("start",this.mouseDownEvent),this._triggerEvent("move",r),document.addEventListener("keydown",this._keyEvent)),r.stopPropagation()}_mouseUp(r){this.moving&&(this._triggerEvent("stop",r),document.removeEventListener("keydown",this._keyEvent)),document.removeEventListener("mousemove",this._mouseMove,!0),document.removeEventListener("mouseup",this._mouseUp,!0),isTouch&&(this.el.removeEventListener("touchmove",touchmove),this.el.removeEventListener("touchend",touchend)),delete this.moving,delete this.mouseDownEvent,r.stopPropagation(),r.preventDefault()}_keyEvent(r){var o,a;r.key==="Escape"&&((a=(o=this.host.gridstackNode)==null?void 0:o.grid)==null||a.engine.restoreInitial(),this._mouseUp(this.mouseDownEvent))}_triggerEvent(r,o){return this.option[r]&&this.option[r](o),this}}DDResizableHandle.prefix="ui-resizable-";class DDBaseImplement{constructor(){this._eventRegister={}}get disabled(){return this._disabled}on(r,o){this._eventRegister[r]=o}off(r){delete this._eventRegister[r]}enable(){this._disabled=!1}disable(){this._disabled=!0}destroy(){delete this._eventRegister}triggerEvent(r,o){if(!this.disabled&&this._eventRegister&&this._eventRegister[r])return this._eventRegister[r](o)}}class DDResizable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this.rectScale={x:1,y:1},this._ui=()=>{const u=this.el.parentElement.getBoundingClientRect(),d={width:this.originalRect.width,height:this.originalRect.height+this.scrolled,left:this.originalRect.left,top:this.originalRect.top-this.scrolled},g=this.temporalRect||d;return{position:{left:(g.left-u.left)*this.rectScale.x,top:(g.top-u.top)*this.rectScale.y},size:{width:g.width*this.rectScale.x,height:g.height*this.rectScale.y}}},this._mouseOver=this._mouseOver.bind(this),this._mouseOut=this._mouseOut.bind(this),this.enable(),this._setupAutoHide(this.option.autoHide),this._setupHandlers()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){super.enable(),this.el.classList.remove("ui-resizable-disabled"),this._setupAutoHide(this.option.autoHide)}disable(){super.disable(),this.el.classList.add("ui-resizable-disabled"),this._setupAutoHide(!1)}destroy(){this._removeHandlers(),this._setupAutoHide(!1),delete this.el,super.destroy()}updateOption(r){let o=r.handles&&r.handles!==this.option.handles,a=r.autoHide&&r.autoHide!==this.option.autoHide;return Object.keys(r).forEach(u=>this.option[u]=r[u]),o&&(this._removeHandlers(),this._setupHandlers()),a&&this._setupAutoHide(this.option.autoHide),this}_setupAutoHide(r){return r?(this.el.classList.add("ui-resizable-autohide"),this.el.addEventListener("mouseover",this._mouseOver),this.el.addEventListener("mouseout",this._mouseOut)):(this.el.classList.remove("ui-resizable-autohide"),this.el.removeEventListener("mouseover",this._mouseOver),this.el.removeEventListener("mouseout",this._mouseOut),DDManager.overResizeElement===this&&delete DDManager.overResizeElement),this}_mouseOver(r){DDManager.overResizeElement||DDManager.dragElement||(DDManager.overResizeElement=this,this.el.classList.remove("ui-resizable-autohide"))}_mouseOut(r){DDManager.overResizeElement===this&&(delete DDManager.overResizeElement,this.el.classList.add("ui-resizable-autohide"))}_setupHandlers(){return this.handlers=this.option.handles.split(",").map(r=>r.trim()).map(r=>new DDResizableHandle(this.el,r,{start:o=>{this._resizeStart(o)},stop:o=>{this._resizeStop(o)},move:o=>{this._resizing(o,r)}})),this}_resizeStart(r){this.sizeToContent=Utils.shouldSizeToContent(this.el.gridstackNode,!0),this.originalRect=this.el.getBoundingClientRect(),this.scrollEl=Utils.getScrollElement(this.el),this.scrollY=this.scrollEl.scrollTop,this.scrolled=0,this.startEvent=r,this._setupHelper(),this._applyChange();const o=Utils.initEvent(r,{type:"resizestart",target:this.el});return this.option.start&&this.option.start(o,this._ui()),this.el.classList.add("ui-resizable-resizing"),this.triggerEvent("resizestart",o),this}_resizing(r,o){this.scrolled=this.scrollEl.scrollTop-this.scrollY,this.temporalRect=this._getChange(r,o),this._applyChange();const a=Utils.initEvent(r,{type:"resize",target:this.el});return this.option.resize&&this.option.resize(a,this._ui()),this.triggerEvent("resize",a),this}_resizeStop(r){const o=Utils.initEvent(r,{type:"resizestop",target:this.el});return this.option.stop&&this.option.stop(o),this.el.classList.remove("ui-resizable-resizing"),this.triggerEvent("resizestop",o),this._cleanHelper(),delete this.startEvent,delete this.originalRect,delete this.temporalRect,delete this.scrollY,delete this.scrolled,this}_setupHelper(){this.elOriginStyleVal=DDResizable._originStyleProp.map(a=>this.el.style[a]),this.parentOriginStylePosition=this.el.parentElement.style.position;const r=this.el.parentElement,o=Utils.getValuesFromTransformedElement(r);return this.rectScale={x:o.xScale,y:o.yScale},getComputedStyle(this.el.parentElement).position.match(/static/)&&(this.el.parentElement.style.position="relative"),this.el.style.position="absolute",this.el.style.opacity="0.8",this}_cleanHelper(){return DDResizable._originStyleProp.forEach((r,o)=>{this.el.style[r]=this.elOriginStyleVal[o]||null}),this.el.parentElement.style.position=this.parentOriginStylePosition||null,this}_getChange(r,o){const a=this.startEvent,u={width:this.originalRect.width,height:this.originalRect.height+this.scrolled,left:this.originalRect.left,top:this.originalRect.top-this.scrolled},d=r.clientX-a.clientX,g=this.sizeToContent?0:r.clientY-a.clientY;let v,y;o.indexOf("e")>-1?u.width+=d:o.indexOf("w")>-1&&(u.width-=d,u.left+=d,v=!0),o.indexOf("s")>-1?u.height+=g:o.indexOf("n")>-1&&(u.height-=g,u.top+=g,y=!0);const A=this._constrainSize(u.width,u.height,v,y);return Math.round(u.width)!==Math.round(A.width)&&(o.indexOf("w")>-1&&(u.left+=u.width-A.width),u.width=A.width),Math.round(u.height)!==Math.round(A.height)&&(o.indexOf("n")>-1&&(u.top+=u.height-A.height),u.height=A.height),u}_constrainSize(r,o,a,u){const d=this.option,g=(a?d.maxWidthMoveLeft:d.maxWidth)||Number.MAX_SAFE_INTEGER,v=d.minWidth/this.rectScale.x||r,y=(u?d.maxHeightMoveUp:d.maxHeight)||Number.MAX_SAFE_INTEGER,A=d.minHeight/this.rectScale.y||o,b=Math.min(g,Math.max(v,r)),_=Math.min(y,Math.max(A,o));return{width:b,height:_}}_applyChange(){let r={left:0,top:0,width:0,height:0};if(this.el.style.position==="absolute"){const o=this.el.parentElement,{left:a,top:u}=o.getBoundingClientRect();r={left:a,top:u,width:0,height:0}}return this.temporalRect?(Object.keys(this.temporalRect).forEach(o=>{const a=this.temporalRect[o],u=o==="width"||o==="left"?this.rectScale.x:o==="height"||o==="top"?this.rectScale.y:1;this.el.style[o]=(a-r[o])*u+"px"}),this):this}_removeHandlers(){return this.handlers.forEach(r=>r.destroy()),delete this.handlers,this}}DDResizable._originStyleProp=["width","height","position","left","top","opacity","zIndex"];const skipMouseDown='input,textarea,button,select,option,[contenteditable="true"],.ui-resizable-handle';class DDDraggable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this.dragTransform={xScale:1,yScale:1,xOffset:0,yOffset:0};const a=o.handle.substring(1),u=r.gridstackNode;this.dragEls=r.classList.contains(a)?[r]:u!=null&&u.subGrid?[r.querySelector(o.handle)||r]:Array.from(r.querySelectorAll(o.handle)),this.dragEls.length===0&&(this.dragEls=[r]),this._mouseDown=this._mouseDown.bind(this),this._mouseMove=this._mouseMove.bind(this),this._mouseUp=this._mouseUp.bind(this),this._keyEvent=this._keyEvent.bind(this),this.enable()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){this.disabled!==!1&&(super.enable(),this.dragEls.forEach(r=>{r.addEventListener("mousedown",this._mouseDown),isTouch&&(r.addEventListener("touchstart",touchstart),r.addEventListener("pointerdown",pointerdown))}),this.el.classList.remove("ui-draggable-disabled"))}disable(r=!1){this.disabled!==!0&&(super.disable(),this.dragEls.forEach(o=>{o.removeEventListener("mousedown",this._mouseDown),isTouch&&(o.removeEventListener("touchstart",touchstart),o.removeEventListener("pointerdown",pointerdown))}),r||this.el.classList.add("ui-draggable-disabled"))}destroy(){this.dragTimeout&&window.clearTimeout(this.dragTimeout),delete this.dragTimeout,this.mouseDownEvent&&this._mouseUp(this.mouseDownEvent),this.disable(!0),delete this.el,delete this.helper,delete this.option,super.destroy()}updateOption(r){return Object.keys(r).forEach(o=>this.option[o]=r[o]),this}_mouseDown(r){if(!DDManager.mouseHandled)return r.button!==0||!this.dragEls.find(o=>o===r.target)&&r.target.closest(skipMouseDown)||this.option.cancel&&r.target.closest(this.option.cancel)||(this.mouseDownEvent=r,delete this.dragging,delete DDManager.dragElement,delete DDManager.dropElement,document.addEventListener("mousemove",this._mouseMove,{capture:!0,passive:!0}),document.addEventListener("mouseup",this._mouseUp,!0),isTouch&&(r.target.addEventListener("touchmove",touchmove),r.target.addEventListener("touchend",touchend)),r.preventDefault(),document.activeElement&&document.activeElement.blur(),DDManager.mouseHandled=!0),!0}_callDrag(r){if(!this.dragging)return;const o=Utils.initEvent(r,{target:this.el,type:"drag"});this.option.drag&&this.option.drag(o,this.ui()),this.triggerEvent("drag",o)}_mouseMove(r){var a;let o=this.mouseDownEvent;if(this.lastDrag=r,this.dragging)if(this._dragFollow(r),DDManager.pauseDrag){const u=Number.isInteger(DDManager.pauseDrag)?DDManager.pauseDrag:100;this.dragTimeout&&window.clearTimeout(this.dragTimeout),this.dragTimeout=window.setTimeout(()=>this._callDrag(r),u)}else this._callDrag(r);else if(Math.abs(r.x-o.x)+Math.abs(r.y-o.y)>3){this.dragging=!0,DDManager.dragElement=this;let u=(a=this.el.gridstackNode)==null?void 0:a.grid;u?DDManager.dropElement=u.el.ddElement.ddDroppable:delete DDManager.dropElement,this.helper=this._createHelper(r),this._setupHelperContainmentStyle(),this.dragTransform=Utils.getValuesFromTransformedElement(this.helperContainment),this.dragOffset=this._getDragOffset(r,this.el,this.helperContainment),this._setupHelperStyle(r);const d=Utils.initEvent(r,{target:this.el,type:"dragstart"});this.option.start&&this.option.start(d,this.ui()),this.triggerEvent("dragstart",d),document.addEventListener("keydown",this._keyEvent)}return!0}_mouseUp(r){var o,a;if(document.removeEventListener("mousemove",this._mouseMove,!0),document.removeEventListener("mouseup",this._mouseUp,!0),isTouch&&(r.target.removeEventListener("touchmove",touchmove,!0),r.target.removeEventListener("touchend",touchend,!0)),this.dragging){delete this.dragging,(o=this.el.gridstackNode)==null||delete o._origRotate,document.removeEventListener("keydown",this._keyEvent),((a=DDManager.dropElement)==null?void 0:a.el)===this.el.parentElement&&delete DDManager.dropElement,this.helperContainment.style.position=this.parentOriginStylePosition||null,this.helper===this.el?this._removeHelperStyle():this.helper.remove();const u=Utils.initEvent(r,{target:this.el,type:"dragstop"});this.option.stop&&this.option.stop(u),this.triggerEvent("dragstop",u),DDManager.dropElement&&DDManager.dropElement.drop(r)}delete this.helper,delete this.mouseDownEvent,delete DDManager.dragElement,delete DDManager.dropElement,delete DDManager.mouseHandled,r.preventDefault()}_keyEvent(r){const o=this.el.gridstackNode;if(!(o!=null&&o.grid))return;const a=o.grid;if(r.key==="Escape")o._origRotate&&(o._orig=o._origRotate,delete o._origRotate),a.engine.restoreInitial(),this._mouseUp(this.mouseDownEvent);else if(r.key==="r"||r.key==="R"){if(!Utils.canBeRotated(o))return;o._origRotate=o._origRotate||{...o._orig},delete o._moving,a.setAnimation(!1).rotate(o.el,{top:-this.dragOffset.offsetTop,left:-this.dragOffset.offsetLeft}).setAnimation(),o._moving=!0,this.dragOffset=this._getDragOffset(this.lastDrag,o.el,this.helperContainment),this.helper.style.width=this.dragOffset.width+"px",this.helper.style.height=this.dragOffset.height+"px",Utils.swap(o._orig,"w","h"),delete o._rect,this._mouseMove(this.lastDrag)}}_createHelper(r){let o=this.el;return typeof this.option.helper=="function"?o=this.option.helper(r):this.option.helper==="clone"&&(o=Utils.cloneNode(this.el)),document.body.contains(o)||Utils.appendTo(o,this.option.appendTo==="parent"?this.el.parentElement:this.option.appendTo),o===this.el&&(this.dragElementOriginStyle=DDDraggable.originStyleProp.map(a=>this.el.style[a])),o}_setupHelperStyle(r){this.helper.classList.add("ui-draggable-dragging");const o=this.helper.style;return o.pointerEvents="none",o.width=this.dragOffset.width+"px",o.height=this.dragOffset.height+"px",o.willChange="left, top",o.position="fixed",this._dragFollow(r),o.transition="none",setTimeout(()=>{this.helper&&(o.transition=null)},0),this}_removeHelperStyle(){var o;this.helper.classList.remove("ui-draggable-dragging");let r=(o=this.helper)==null?void 0:o.gridstackNode;if(!(r!=null&&r._isAboutToRemove)&&this.dragElementOriginStyle){let a=this.helper,u=this.dragElementOriginStyle.transition||null;a.style.transition=this.dragElementOriginStyle.transition="none",DDDraggable.originStyleProp.forEach(d=>a.style[d]=this.dragElementOriginStyle[d]||null),setTimeout(()=>a.style.transition=u,50)}return delete this.dragElementOriginStyle,this}_dragFollow(r){let o={left:0,top:0};const a=this.helper.style,u=this.dragOffset;a.left=(r.clientX+u.offsetLeft-o.left)*this.dragTransform.xScale+"px",a.top=(r.clientY+u.offsetTop-o.top)*this.dragTransform.yScale+"px"}_setupHelperContainmentStyle(){return this.helperContainment=this.helper.parentElement,this.helper.style.position!=="fixed"&&(this.parentOriginStylePosition=this.helperContainment.style.position,getComputedStyle(this.helperContainment).position.match(/static/)&&(this.helperContainment.style.position="relative")),this}_getDragOffset(r,o,a){let u=0,d=0;a&&(u=this.dragTransform.xOffset,d=this.dragTransform.yOffset);const g=o.getBoundingClientRect();return{left:g.left,top:g.top,offsetLeft:-r.clientX+g.left-u,offsetTop:-r.clientY+g.top-d,width:g.width*this.dragTransform.xScale,height:g.height*this.dragTransform.yScale}}ui(){const o=this.el.parentElement.getBoundingClientRect(),a=this.helper.getBoundingClientRect();return{position:{top:(a.top-o.top)*this.dragTransform.yScale,left:(a.left-o.left)*this.dragTransform.xScale}}}}DDDraggable.originStyleProp=["transition","pointerEvents","position","left","top","minWidth","willChange"];class DDDroppable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this._mouseEnter=this._mouseEnter.bind(this),this._mouseLeave=this._mouseLeave.bind(this),this.enable(),this._setupAccept()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){this.disabled!==!1&&(super.enable(),this.el.classList.add("ui-droppable"),this.el.classList.remove("ui-droppable-disabled"),this.el.addEventListener("mouseenter",this._mouseEnter),this.el.addEventListener("mouseleave",this._mouseLeave),isTouch&&(this.el.addEventListener("pointerenter",pointerenter),this.el.addEventListener("pointerleave",pointerleave)))}disable(r=!1){this.disabled!==!0&&(super.disable(),this.el.classList.remove("ui-droppable"),r||this.el.classList.add("ui-droppable-disabled"),this.el.removeEventListener("mouseenter",this._mouseEnter),this.el.removeEventListener("mouseleave",this._mouseLeave),isTouch&&(this.el.removeEventListener("pointerenter",pointerenter),this.el.removeEventListener("pointerleave",pointerleave)))}destroy(){this.disable(!0),this.el.classList.remove("ui-droppable"),this.el.classList.remove("ui-droppable-disabled"),super.destroy()}updateOption(r){return Object.keys(r).forEach(o=>this.option[o]=r[o]),this._setupAccept(),this}_mouseEnter(r){if(!DDManager.dragElement||!this._canDrop(DDManager.dragElement.el))return;r.preventDefault(),r.stopPropagation(),DDManager.dropElement&&DDManager.dropElement!==this&&DDManager.dropElement._mouseLeave(r,!0),DDManager.dropElement=this;const o=Utils.initEvent(r,{target:this.el,type:"dropover"});this.option.over&&this.option.over(o,this._ui(DDManager.dragElement)),this.triggerEvent("dropover",o),this.el.classList.add("ui-droppable-over")}_mouseLeave(r,o=!1){var u;if(!DDManager.dragElement||DDManager.dropElement!==this)return;r.preventDefault(),r.stopPropagation();const a=Utils.initEvent(r,{target:this.el,type:"dropout"});if(this.option.out&&this.option.out(a,this._ui(DDManager.dragElement)),this.triggerEvent("dropout",a),DDManager.dropElement===this&&(delete DDManager.dropElement,!o)){let d,g=this.el.parentElement;for(;!d&&g;)d=(u=g.ddElement)==null?void 0:u.ddDroppable,g=g.parentElement;d&&d._mouseEnter(r)}}drop(r){r.preventDefault();const o=Utils.initEvent(r,{target:this.el,type:"drop"});this.option.drop&&this.option.drop(o,this._ui(DDManager.dragElement)),this.triggerEvent("drop",o)}_canDrop(r){return r&&(!this.accept||this.accept(r))}_setupAccept(){return this.option.accept?(typeof this.option.accept=="string"?this.accept=r=>r.classList.contains(this.option.accept)||r.matches(this.option.accept):this.accept=this.option.accept,this):this}_ui(r){return{draggable:r.el,...r.ui()}}}class DDElement{static init(r){return r.ddElement||(r.ddElement=new DDElement(r)),r.ddElement}constructor(r){this.el=r}on(r,o){return this.ddDraggable&&["drag","dragstart","dragstop"].indexOf(r)>-1?this.ddDraggable.on(r,o):this.ddDroppable&&["drop","dropover","dropout"].indexOf(r)>-1?this.ddDroppable.on(r,o):this.ddResizable&&["resizestart","resize","resizestop"].indexOf(r)>-1&&this.ddResizable.on(r,o),this}off(r){return this.ddDraggable&&["drag","dragstart","dragstop"].indexOf(r)>-1?this.ddDraggable.off(r):this.ddDroppable&&["drop","dropover","dropout"].indexOf(r)>-1?this.ddDroppable.off(r):this.ddResizable&&["resizestart","resize","resizestop"].indexOf(r)>-1&&this.ddResizable.off(r),this}setupDraggable(r){return this.ddDraggable?this.ddDraggable.updateOption(r):this.ddDraggable=new DDDraggable(this.el,r),this}cleanDraggable(){return this.ddDraggable&&(this.ddDraggable.destroy(),delete this.ddDraggable),this}setupResizable(r){return this.ddResizable?this.ddResizable.updateOption(r):this.ddResizable=new DDResizable(this.el,r),this}cleanResizable(){return this.ddResizable&&(this.ddResizable.destroy(),delete this.ddResizable),this}setupDroppable(r){return this.ddDroppable?this.ddDroppable.updateOption(r):this.ddDroppable=new DDDroppable(this.el,r),this}cleanDroppable(){return this.ddDroppable&&(this.ddDroppable.destroy(),delete this.ddDroppable),this}}class DDGridStack{resizable(r,o,a,u){return this._getDDElements(r).forEach(d=>{if(o==="disable"||o==="enable")d.ddResizable&&d.ddResizable[o]();else if(o==="destroy")d.ddResizable&&d.cleanResizable();else if(o==="option")d.setupResizable({[a]:u});else{const v=d.el.gridstackNode.grid;let y=d.el.getAttribute("gs-resize-handles")||v.opts.resizable.handles||"e,s,se";y==="all"&&(y="n,e,s,w,se,sw,ne,nw");const A=!v.opts.alwaysShowResizeHandle;d.setupResizable({...v.opts.resizable,handles:y,autoHide:A,start:o.start,stop:o.stop,resize:o.resize})}}),this}draggable(r,o,a,u){return this._getDDElements(r).forEach(d=>{if(o==="disable"||o==="enable")d.ddDraggable&&d.ddDraggable[o]();else if(o==="destroy")d.ddDraggable&&d.cleanDraggable();else if(o==="option")d.setupDraggable({[a]:u});else{const g=d.el.gridstackNode.grid;d.setupDraggable({...g.opts.draggable,start:o.start,stop:o.stop,drag:o.drag})}}),this}dragIn(r,o){return this._getDDElements(r).forEach(a=>a.setupDraggable(o)),this}droppable(r,o,a,u){return typeof o.accept=="function"&&!o._accept&&(o._accept=o.accept,o.accept=d=>o._accept(d)),this._getDDElements(r).forEach(d=>{o==="disable"||o==="enable"?d.ddDroppable&&d.ddDroppable[o]():o==="destroy"?d.ddDroppable&&d.cleanDroppable():o==="option"?d.setupDroppable({[a]:u}):d.setupDroppable(o)}),this}isDroppable(r){return!!(r&&r.ddElement&&r.ddElement.ddDroppable&&!r.ddElement.ddDroppable.disabled)}isDraggable(r){return!!(r&&r.ddElement&&r.ddElement.ddDraggable&&!r.ddElement.ddDraggable.disabled)}isResizable(r){return!!(r&&r.ddElement&&r.ddElement.ddResizable&&!r.ddElement.ddResizable.disabled)}on(r,o,a){return this._getDDElements(r).forEach(u=>u.on(o,d=>{a(d,DDManager.dragElement?DDManager.dragElement.el:d.target,DDManager.dragElement?DDManager.dragElement.helper:null)})),this}off(r,o){return this._getDDElements(r).forEach(a=>a.off(o)),this}_getDDElements(r,o=!0){let a=Utils.getElements(r);if(!a.length)return[];let u=a.map(d=>d.ddElement||(o?DDElement.init(d):null));return o||u.filter(d=>d),u}}/*! +]`)}}else yt&&(Qe=Be(Qe,","));for(;Ve.charCodeAt(ke)===S||Ve.charCodeAt(ke)===T;)ke++,Xe();if(ke>=Ve.length)return Qe;throw new y("Unexpected character "+JSON.stringify(Ve[ke]),ke);function Ct(){Xe();var bt=function(){if(Ve.charCodeAt(ke)!==w)return!1;{Qe+="{",ke++,Xe(),Ye(z)&&Xe();let It=!0;for(;ke=Ve.length,it=(Le||(be(Ve[ke])||Fe?Qe=ot(Qe,":"):At()),Ct());it||(Le||Fe?Qe+="null":At())}return Ve.charCodeAt(ke)===S?(Qe+="}",ke++):Qe=ot(Qe,"}"),!0}}()||function(){if(Ve.charCodeAt(ke)!==C)return!1;{Qe+="[",ke++,Xe(),Ye(z)&&Xe();let Fe=!0;for(;keLe)return Fe=Ve.slice(Le,ke),it=/^0\d/.test(Fe),Qe+=it?'"'.concat(Fe,'"'):Fe,!0}else ke=Le;return!1}()||Rt("true","true")||Rt("false","false")||Rt("null","null")||Rt("True","true")||Rt("False","false")||Rt("None","null")||Oe();return Xe(),bt}function Xe(){for(dt();function(){if(Ve.charCodeAt(ke)===b&&Ve.charCodeAt(ke+1)===_){for(;ke=ye&&Fe<=ee||Fe===pe||Fe===ae||Fe===ve;)bt+=Le?Ve[ke]:" ",ke++;return 0=Ve.length)return et=We(ke-1),!it&&re(Ve.charAt(et))?(ke=Ge,Qe=Qe.substring(0,ze),mt(!0)):(jt=ot(jt,'"'),Qe+=jt,!0);if(Ne(Ve.charCodeAt(ke))){var et=ke,nt=jt.length;if(jt+='"',ke++,Qe+=jt,Xe(),it||ke>=Ve.length||re(Ve.charAt(ke))||me(Ve.charCodeAt(ke))||le(Ve.charCodeAt(ke)))return St(),!0;if(re(Ve.charAt(We(et-1))))return ke=Ge,Qe=Qe.substring(0,ze),mt(!0);Qe=Qe.substring(0,ze),ke=et+1,jt=jt.substring(0,nt)+"\\"+jt.substring(nt)}else{if(it&&re(Ve[ke]))return jt=ot(jt,'"'),Qe+=jt,St(),!0;if(Ve.charCodeAt(ke)===A)if(nt=Ve.charAt(ke+1),_t[nt]!==void 0)jt+=Ve.slice(ke,ke+2),ke+=2;else if(nt==="u"){let qt=2;for(;qt<6&&((Fe=Ve.charCodeAt(ke+qt))>=H&&Fe<=B||Fe>=J&&Fe<=se||Fe>=ne&&Fe<=ge);)qt++;if(qt===6)jt+=Ve.slice(ke,ke+6),ke+=6;else{if(!(ke+qt>=Ve.length))throw Bt=void 0,Bt=Ve.slice(ke,ke+6),new y('Invalid unicode character "'.concat(Bt,'"'),ke);ke=Ve.length}}else jt+=nt,ke+=2;else{var Bt=Ve.charAt(ke),Wt=Ve.charCodeAt(ke);if(Wt===M&&Ve.charCodeAt(ke-1)!==A)jt+="\\"+Bt;else if((Le=Wt)===O||Le===x||Le===D||Le===P||Le===G)jt+=ct[Bt];else{if(!(32<=(Le=Wt)&&Le<=1114111))throw Wt=void 0,Wt=Bt,new y("Invalid character "+JSON.stringify(Wt),ke);jt+=Bt}ke++}}It&&Ye(A)}}return!1}function St(){for(Xe();Ve.charCodeAt(ke)===N;){ke++,Xe();var bt=(Qe=Be(Qe,'"',!0)).length,Le=mt();Qe=Le?(Le=Qe,bt=bt,Fe=1,Le.substring(0,bt)+Le.substring(bt+Fe)):ot(Qe,'"')}var Fe}function Rt(bt,Le){return Ve.slice(ke,ke+bt.length)===bt&&(Qe+=Le,ke+=bt.length,!0)}function Oe(){for(var bt,Le=ke;keLe){if(Ve.charCodeAt(ke)===I&&/^\w+$/.test(Ve.slice(Le,ke).trim()))ke++,Ct(),Ve.charCodeAt(ke)===E&&(ke++,Ve.charCodeAt(ke)===X)&&ke++;else{for(;oe(Ve.charCodeAt(ke-1))&&0=Ve.length||re(Ve[ke])||oe(Ve.charCodeAt(ke))}function st(bt){Qe+=Ve.slice(bt,ke)+"0"}function At(){throw new y("Colon expected",ke)}}},3420:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(d){d.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(d){d.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},u={},o.amdD=function(){throw new Error("define cannot be used indirect")},o.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return o.d(g,{a:g}),g},o.d=function(d,g){for(var v in g)o.o(g,v)&&!o.o(d,v)&&Object.defineProperty(d,v,{enumerable:!0,get:g[v]})},o.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)},o.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})},o.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d},o(1346);function o(d){var g=u[d];return g!==void 0||(g=u[d]={id:d,loaded:!1,exports:{}},a[d].call(g.exports,g,g.exports,o),g.loaded=!0),g.exports}var a,u})})(jsoneditor_min$1);var JSONEditor=getDefaultExportFromCjs$1(jsoneditor_min$1.exports),jsoneditor_min="",jsonEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$$=defineComponent({name:"JsonEditor",props:{id:{type:String,required:!0},json:{type:[String,Object,Array],default:"{}"}},emits:["onChange"],setup(t,{emit:r}){const o=useEditor(),a=ref();let u=null;const d=y=>{if(y&&typeof y=="string")try{return JSON.parse(y)}catch(A){return y||{}}return y||{}},g=()=>{let y=null;if(!u){const A={mode:"code",modes:["code","tree","view","form","text"],onChangeText:b=>{clearTimeout(y),y=setTimeout(()=>{try{const _=JSON.parse(b);r("onChange",{id:t.id,value:b,valueJson:_})}catch(_){r("onChange",{id:t.id,value:null,_error:_})}},500)}};u=new JSONEditor(a.value,A),u.focus()}u.set(d(t.json))},v=()=>{u&&(u.destroy(),u=null)};return watch(()=>t.json,y=>u.set(d(y)),{deep:!0}),watch(()=>o.settings.configExpertMode,()=>{u.setMode("text"),u.setMode("code")}),onMounted(()=>g()),onUnmounted(()=>v()),{elJsonEditor:a}}}),_hoisted_1$O={class:"jsoneditor-container"},_hoisted_2$E={ref:"elJsonEditor",class:"jsoneditor-box"};function _sfc_render$$(t,r,o,a,u,d){return openBlock(),createElementBlock("div",_hoisted_1$O,[createBaseVNode("div",_hoisted_2$E,null,512)])}var JsonEditor=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$$],["__scopeId","data-v-ef98d230"]]);const _sfc_main$_=defineComponent({name:"DevicesPage",components:{DevicePage,DevicesTable,ImportDevices,JsonEditor},setup(){const t=useI18n(),r=useEditor();useJarvis();const o=[{label:t.t("Function"),value:"function"},{label:t.t("Room"),value:"room"},{label:t.t("Floor"),value:"floor"},{label:t.t("Tags"),value:"tags"}],a=computed({get(){return r.settings&&r.settings.configDevicesFilter||""},set(N){r.set("settings.configDevicesFilter",N),d.value=r.getGroups(u.value.value,N)}}),u=computed({get(){return r.settings&&r.settings.configDevicesGroupBy&&o.find(N=>N.value===r.settings.configDevicesGroupBy)||o[0]},set({value:N}){r.set("settings.configDevicesGroupBy",N)}}),d=ref(r.getGroups(u.value.value,a.value));watch([()=>r.devices,u],()=>{d.value=r.getGroups(u.value.value,a.value)},{deep:!0});const g=computed(()=>r.getDevicesWthoutDeletionsCount),v=computed(()=>[{id:"id",label:"ID"},{id:"name",label:"Name"},{id:"label",label:"Label"},{id:"aliases",label:"Aliases"},{id:"floor",label:"Floor"},{id:"room",label:"Room"},{id:"function",label:"Function"},{id:"tags",label:"Tags"},{id:"state.stateId",label:"States ID"},{id:"state.label",label:"States Label"},{id:"state.state",label:"States State"},{id:"state.action",label:"States Action"}]);onBeforeMount(()=>r.set("settings.configDevicesFilterSelections",v.value.map(N=>N.id)));const y=computed({get(){return r.settings&&r.settings.configDevicesFilterSelections},set(N){r.set("settings.configDevicesFilterSelections",N),Cache$1.set("settings",{...Cache$1.get("settings",{}),configDevicesFilterSelections:N}),d.value=r.getGroups(u.value.value,a.value)}}),A=computed(()=>r.devices),b=computed(()=>r.settings&&r.settings.configExpertMode),_=()=>r.addDevice(),w=({id:N,error:V,value:Z})=>{if(V)r.addError("settings-"+N,V.message||V);else if(Z){r.removeError("settings-"+N);for(const H in Z)r.set({["settings."+H]:Z[H]})}},S=ref({}),C=ref({}),T=(N,V)=>{C.value[N]&&V.length===0?delete C.value[N]:V.length>0&&(C.value[N]=V),S.value=Object.values(C.value).flat(1),E()},I=reactive({}),E=()=>{const N={floor:{},room:{},function:{},tags:{}};Object.values(r.devices).forEach(V=>{V.floor&&(N.floor[V.floor]=N.floor[V.floor]||{id:V.floor,label:V.floor,devices:0},S.value.includes(V.id)&&N.floor[V.floor].devices++),V.room&&(N.room[V.room]=N.room[V.room]||{id:V.room,label:V.room,devices:0},S.value.includes(V.id)&&N.room[V.room].devices++),V.function&&(N.function[V.function]=N.function[V.function]||{id:V.function,label:t.t(V.function),devices:0},S.value.includes(V.id)&&N.function[V.function].devices++),V.tags&&Array.isArray(V.tags)&&V.tags.length!==0&&V.tags.forEach(Z=>{N.tags[Z]=N.tags[Z]||{id:Z,label:Z,devices:0},S.value.includes(V.id)&&N.tags[Z].devices++})}),I.floor=sortArrayOfObjects(Object.values(N.floor),"id"),I.room=sortArrayOfObjects(Object.values(N.room),"id"),I.function=sortArrayOfObjects(Object.values(N.function),"label"),I.tags=sortArrayOfObjects(Object.values(N.tags),"id")},F=N=>{if(N._error){r.addError(N.id,N._error);return}r.removeError(N.id),N.value&&r.set({tmpJsonEditor:{key:N.id,json:JSON.parse(N.value)}})},O=ref({sortBy:"name",rowsPerPage:15});onBeforeMount(()=>{try{const N=Cache$1.get("settings",{});N.configDevicesPagination&&(O.value=JSON.parse(N.configDevicesPagination))}catch(N){}});const D=ref([]),x=()=>{D.value.forEach(N=>N.clearDevicesSelected())},P=ref({}),G=(N,V)=>{P.value[".action-"+N]=V},M=(N,V,Z)=>{S.value.forEach(H=>{V==="tags"?N&&!r.devices[H].tags.includes(Z)?r.devices[H].tags.push(Z):N||(r.devices[H].tags=r.devices[H].tags.filter(B=>B!==Z)):r.devices[H]={...r.devices[H],[V]:N?Z:""}}),E()};return{DevicesTableRefs:D,expanded:ref({}),configurationHeight:computed(()=>{const N=document.querySelector(".q-page");return N&&N.offsetHeight||900}),showImportDevices:ref(!1),onDeviceSelection:T,selectedDevices:S,clearSelectedDevices:x,actions:{floor:{label:"(Un)Assign Floor",icon:"mdi-home"},room:{label:"(Un)Assign Room",icon:"mdi-floor-plan"},function:{label:"(Un)Assign Function",icon:"mdi-folder-home"},tags:{label:"(Un)Assign Tags",icon:"mdi-tag-multiple"}},actionRefs:P,setActionRef:G,onSelect:M,onOpen:N=>{Object.values(P.value).forEach(V=>{V.hide()}),P.value[".action-"+N].show()},devicesCount:g,devicesMetaData:I,devicesFilter:a,devicesFilterOptions:v,devicesFilterSelections:y,devicesGroupBy:u,pagination:O,onPagination:N=>{let Z=Cache$1.get("settings",{}).configDevicesPagination||"{}";try{Z=typeof Z=="string"?JSON.parse(Z):Z,Object.entries(N).some(([H,B])=>B!==Z[H])&&(Cache$1.set("settings",{...Cache$1.get("settings",{}),configDevicesPagination:JSON.stringify(N)}),r.set("settings.configDevicesPagination",JSON.stringify(N)),O.value=N)}catch(H){console.warn(H.message)}},groups:d,groupByOptions:o,json:A,expertMode:b,actionSwapNameWithLabel:()=>r.actionSwapNameWithLabel(S.value),addDevice:_,onChange:w,onJsonEditor:F}}}),_hoisted_1$N={class:"full-height DevicesPage"},_hoisted_2$D={class:"row no-wrap"},_hoisted_3$u={class:"row items-center"},_hoisted_4$m={key:0},_hoisted_5$j={key:1,style:{"white-space":"nowrap",wrap:"nowrap"}},_hoisted_6$f={style:{display:"inline"}};function _sfc_render$_(t,r,o,a,u,d){const g=resolveComponent("icon"),v=resolveComponent("device-page"),y=resolveComponent("import-devices"),A=resolveComponent("devices-table"),b=resolveComponent("json-editor"),_=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$N,[createBaseVNode("div",_hoisted_2$D,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Devices List"))+" ("+toDisplayString$1(t.devicesCount)+") ",1)]),_:1}),createVNode$1(QSelect,{modelValue:t.devicesGroupBy,"onUpdate:modelValue":r[0]||(r[0]=w=>t.devicesGroupBy=w),dense:"",label:t.$t("Group by"),"stack-label":"",style:{width:"150px","margin-right":"8px"},options:t.groupByOptions},null,8,["modelValue","label","options"]),createVNode$1(QInput,{modelValue:t.devicesFilter,"onUpdate:modelValue":r[2]||(r[2]=w=>t.devicesFilter=w),dense:"",label:t.$t("Filter"),"stack-label":"",clearable:"",debounce:900,style:{width:"400px"}},{prepend:withCtx(()=>[createVNode$1(QBtn,{color:t.devicesFilterSelections.length!==t.devicesFilterOptions.length?"positive":"primary",icon:t.devicesFilterSelections.length!==t.devicesFilterOptions.length?"mdi-filter-check":"mdi-filter-menu",flat:"",round:"",size:"sm"},{default:withCtx(()=>[createVNode$1(QPopupProxy,null,{default:withCtx(()=>[createVNode$1(QList,{dense:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devicesFilterOptions,w=>withDirectives((openBlock(),createBlock(QItem,{key:w,tag:"label",clickable:"",dense:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{modelValue:t.devicesFilterSelections,"onUpdate:modelValue":r[1]||(r[1]=S=>t.devicesFilterSelections=S),size:"xs",val:w.id},null,8,["modelValue","val"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(w.label)),1)]),_:2},1024)]),_:2},1024)),[[Ripple]])),128))]),_:1})]),_:1})]),_:1},8,["color","icon"])]),_:1},8,["modelValue","label"]),createVNode$1(QSpace),t.selectedDevices.length>0?(openBlock(),createBlock(QBtnDropdown,{key:0,class:"q-mx-xs",icon:"mdi-hammer-screwdriver",color:"secondary",label:t.selectedDevices.length+" "+t.$t("Devices selected"),persistent:""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[createVNode$1(QItem,{clickable:"",onClick:t.clearSelectedDevices},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{size:"xs",name:"mdi-close"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("clear selected Devices")),1)]),_:1})]),_:1},8,["onClick"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.actions,(w,S)=>(openBlock(),createBlock(QItem,{key:"actions-"+S,clickable:"",onMouseover:C=>t.onOpen(S)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{size:"xs",name:w.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(w.label)),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-chevron-right"})]),_:1}),(openBlock(),createBlock(QMenu,{ref_for:!0,ref:C=>t.setActionRef(S,C),key:"menu-"+S,anchor:"top end",self:"top start"},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devicesMetaData[S],C=>withDirectives((openBlock(),createBlock(QItem,{key:"menu-"+C.id,tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QCheckbox,{size:"xs","model-value":C.devices===0?!1:C.devices===t.selectedDevices.length?!0:null,"indeterminate-value":"null",val:C.id,"onUpdate:modelValue":T=>t.onSelect(C.devices!==t.selectedDevices.length,S,C.id)},null,8,["model-value","val","onUpdate:modelValue"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(C.label)+" ("+toDisplayString$1(C.devices)+")",1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1024)),[[Ripple]])),128))]),_:2},1024)]),_:2},1024))]),_:2},1032,["onMouseover"]))),128)),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:t.actionSwapNameWithLabel},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-swap-horizontal"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Swap Device Name and Label")),1)]),_:1})]),_:1})]),_:1},8,["onClick"])),[[ClosePopup]])]),_:1})]),_:1},8,["label"])):createCommentVNode("",!0),createVNode$1(QBtn,{class:"q-mx-xs",color:"primary",icon:"mdi-cloud-download",label:t.$t("Import Devices"),onClick:r[3]||(r[3]=w=>t.showImportDevices=!0)},null,8,["label"]),createVNode$1(QBtn,{class:"q-mx-xs",color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Device"),onClick:t.addDevice},null,8,["label","onClick"])]),_:1})]),createVNode$1(v),createVNode$1(y,{open:t.showImportDevices,onOnClose:r[4]||(r[4]=w=>t.showImportDevices=!1)},null,8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,w=>withDirectives((openBlock(),createElementBlock("div",{key:"group-"+w.id,class:"row no-wrap paper"},[(openBlock(),createBlock(QExpansionItem,{key:"expansion-"+w.id,modelValue:t.expanded[w.id],"onUpdate:modelValue":S=>t.expanded[w.id]=S,icon:w.icon,label:(w.label||"(without label)")+" ("+w.devices.length+")",class:"full-width"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_3$u,[w.label?(openBlock(),createElementBlock("span",_hoisted_5$j,[createTextVNode(toDisplayString$1(w.label)+" (",1),createBaseVNode("pre",_hoisted_6$f,toDisplayString$1(w.id),1),r[5]||(r[5]=createTextVNode(") "))])):(openBlock(),createElementBlock("em",_hoisted_4$m,"("+toDisplayString$1(t.$t("without label"))+")",1)),createTextVNode(" \xA0("+toDisplayString$1(w.devices.length)+") ",1)]),createVNode$1(QSpace)]),default:withCtx(()=>[(openBlock(),createBlock(A,{id:"table-"+w.id,key:"table-"+w.id,ref_for:!0,ref:"DevicesTableRefs",devices:w.devices,pagination:t.pagination,onOnPagination:t.onPagination,onOnDeviceSelection:S=>t.onDeviceSelection(w.id,S)},null,8,["id","devices","pagination","onOnPagination","onOnDeviceSelection"]))]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"]))])),[[vShow,!t.expertMode&&w.devices.length>0]])),128)),withDirectives(createVNode$1(_,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(b,{id:"devices",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var DevicesPage=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$_]]),index$9=Object.freeze(Object.defineProperty({__proto__:null,default:DevicesPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$Z=defineComponent({name:"WidgetsTable",props:{widgets:{type:Array,default:()=>[]},pagination:{type:Object,default:()=>{}}},emits:["onEditWidget","onPagination"],setup(t,{emit:r}){const o=useI18n(),a=useRouter(),u=useEditor(),d=[{name:"id",label:o.t("ID"),field:"id",align:"left",sortable:!0},{name:"title",label:o.t("Title")+" ("+o.t("ID")+")",field:"title",align:"left",sortable:!0,style:{width:"20%"}},{name:"module",label:o.t("Module"),field:"module",align:"left",sortable:!0,style:{width:"15%"}},{name:"usage",label:o.t("Usage")+" [ #: "+o.t("Tab")+" ("+o.t("Page")+") ]",field:"usage",align:"left",sortable:!0,style:{width:"65%"}}],g=ref({});watchEffect(()=>{const T={};for(const I of u.layout){const E=I.tabs||[];for(const F of E){for(const O of F.widgetsDesktop||[]){const D=O.items||[];for(const x of D)T[x]=T[x]||[],T[x].push({type:"desktop",widget:O,tab:F,page:I})}for(const O of F.widgetsSmartphone||[]){const D=O.items||[];for(const x of D)T[x]=T[x]||[],T[x].push({type:"smartphone",widget:O,tab:F,page:I})}}}g.value=T});const{copyToClipboard:v}=useCopyToClipboard(),y=(T,I,E)=>{u.set({selectedPage:T,selectedTab:I}),a.push({name:"LayoutPage"})},A=T=>T._deleted===!0,b=T=>r("onEditWidget",T),_=T=>u.copyWidget({widget:T}),w=T=>u.removeWidget({widget:T}),S=T=>u.restoreWidget({widget:T}),C=ref(1);return{currentPage:C,onPagination:T=>{const{page:I,...E}=T;C.value=I,r("onPagination",E)},columns:d,usage:g,copyClipboard:v,goTo:y,isDeleted:A,onWidgetEdit:b,onWidgetCopy:_,onWidgetRemove:w,onWidgetRestore:S}}}),_hoisted_1$M={class:"q-pa-md"},_hoisted_2$C={key:0},_hoisted_3$t=["onClick"],_hoisted_4$l={key:0},_hoisted_5$i={key:1},_hoisted_6$e={key:2};function _sfc_render$Z(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$M,[createVNode$1(QTable,{rows:t.widgets,columns:t.columns,pagination:{...t.pagination,page:t.currentPage},"rows-per-page-label":t.$t("Widgets per page"),class:"jarvis-widget-list","onUpdate:pagination":t.onPagination},{header:withCtx(v=>[createVNode$1(QTr,{props:v},{default:withCtx(()=>[createVNode$1(QTh,{"auto-width":""}),(openBlock(!0),createElementBlock(Fragment,null,renderList(v.cols,y=>withDirectives((openBlock(),createBlock(QTh,{key:y.name,props:v},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1032,["props"])),[[vShow,y.field!=="id"]])),128)),createVNode$1(QTh,{"auto-width":""})]),_:2},1032,["props"])]),body:withCtx(v=>[createVNode$1(QTr,{props:v,class:normalizeClass({rowDeleted:t.isDeleted(v.row)})},{default:withCtx(()=>[createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(v.row)!==!0?(openBlock(),createElementBlock("div",_hoisted_2$C,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:y=>t.onWidgetEdit(v.row)},null,8,["onClick"]),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-content-copy",onClick:y=>t.onWidgetCopy(v.row)},null,8,["onClick"])])):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(v.row)}),onClick:y=>t.copyClipboard(v.cols[0].value)},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(" ID: "+toDisplayString$1(v.cols[0].value)+" ("+toDisplayString$1(t.$t("click to copy to clipboard"))+") ",1)]),_:2},1024),v.cols[1].value?(openBlock(),createElementBlock("span",_hoisted_4$l,toDisplayString$1(v.cols[1].value),1)):(openBlock(),createElementBlock("em",_hoisted_5$i,"("+toDisplayString$1(t.$t("no title"))+")",1)),v.row.label?(openBlock(),createElementBlock("span",_hoisted_6$e," ("+toDisplayString$1(v.row.label)+")",1)):createCommentVNode("",!0),createVNode$1(g,{name:"clipboard-text-multiple-outline",size:"xs",style:{"margin-left":"4px"}})],10,_hoisted_3$t)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},toDisplayString$1(v.cols[2].value),3)]),_:2},1024),createVNode$1(QTd,null,{default:withCtx(()=>[t.usage[v.row.id]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},[createTextVNode(toDisplayString$1(t.usage[v.row.id].length)+": ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.usage[v.row.id],({type:y,widget:A,tab:b,page:_},w)=>(openBlock(),createBlock(QChip,{key:v.row.id+"-"+w,square:"",color:y==="desktop"?"primary":"secondary","text-color":"white",clickable:"",onClick:S=>t.goTo(_,b,A)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.title+" ("+_.title+")")+" ",1),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y),1)]),_:2},1024)]),_:2},1032,["color","onClick"]))),128))],2)):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass({itemDeleted:t.isDeleted(v.row)})},null,2))]),_:2},1024),createVNode$1(QTd,{"auto-width":""},{default:withCtx(()=>[t.isDeleted(v.row)!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:y=>t.onWidgetRemove(v.row)},null,8,["onClick"])):createCommentVNode("",!0),t.isDeleted(v.row)?(openBlock(),createBlock(QBtn,{key:1,size:"sm",flat:"",round:"",icon:"mdi-restore",color:"positive",onClick:y=>t.onWidgetRestore(v.row)},null,8,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["props","class"])]),_:1},8,["rows","columns","pagination","rows-per-page-label","onUpdate:pagination"])])}var WidgetsTable=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$Z]]),QForm=createComponent({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(t,{slots:r,emit:o}){const a=getCurrentInstance(),u=ref(null);let d=0;const g=[];function v(S){const C=typeof S=="boolean"?S:t.noErrorFocus!==!0,T=++d,I=(O,D)=>{o(`validation${O===!0?"Success":"Error"}`,D)},E=O=>{const D=O.validate();return typeof D.then=="function"?D.then(x=>({valid:x,comp:O}),x=>({valid:!1,comp:O,err:x})):Promise.resolve({valid:D,comp:O})};return(t.greedy===!0?Promise.all(g.map(E)).then(O=>O.filter(D=>D.valid!==!0)):g.reduce((O,D)=>O.then(()=>E(D).then(x=>{if(x.valid===!1)return Promise.reject(x)})),Promise.resolve()).catch(O=>[O])).then(O=>{if(O===void 0||O.length===0)return T===d&&I(!0),!0;if(T===d){const{comp:D,err:x}=O[0];if(x!==void 0&&console.error(x),I(!1,D),C===!0){const P=O.find(({comp:G})=>typeof G.focus=="function"&&vmIsDestroyed(G.$)===!1);P!==void 0&&P.comp.focus()}}return!1})}function y(){d++,g.forEach(S=>{typeof S.resetValidation=="function"&&S.resetValidation()})}function A(S){S!==void 0&&stopAndPrevent$1(S);const C=d+1;v().then(T=>{C===d&&T===!0&&(t.onSubmit!==void 0?o("submit",S):S!==void 0&&S.target!==void 0&&typeof S.target.submit=="function"&&S.target.submit())})}function b(S){S!==void 0&&stopAndPrevent$1(S),o("reset"),nextTick(()=>{y(),t.autofocus===!0&&t.noResetFocus!==!0&&_()})}function _(){addFocusFn(()=>{if(u.value===null)return;const S=u.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(u.value.querySelectorAll("[tabindex]"),C=>C.tabIndex!==-1);S!=null&&S.focus({preventScroll:!0})})}provide(formKey,{bindComponent(S){g.push(S)},unbindComponent(S){const C=g.indexOf(S);C!==-1&&g.splice(C,1)}});let w=!1;return onDeactivated(()=>{w=!0}),onActivated(()=>{w===!0&&t.autofocus===!0&&_()}),onMounted(()=>{t.autofocus===!0&&_()}),Object.assign(a.proxy,{validate:v,resetValidation:y,submit:A,reset:b,focus:_,getValidationComponents:()=>g}),()=>h("form",{class:"q-form",ref:u,onSubmit:A,onReset:b},hSlot(r.default))}}),WidgetDevicesSection_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Y=defineComponent({name:"WidgetDevicesSection",props:{module:{type:String,default:()=>[]},itemList:{type:Array,required:!0}},emits:["onChange"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=computed(()=>{const te=Modules.Settings&&Modules.Settings[t.module]||{};return{addDevices:!te.addDevice||te.addDevice&&te.addDevice.max===void 0,...te}}),d=computed(()=>a.devices),g=te=>d.value[te],v=te=>!d.value[te.deviceId].function||d.value[te.deviceId].function==="other"||!Functions.List.includes(d.value[te.deviceId].function)?"_defaults":d.value[te.deviceId].function,y=te=>Object.keys(d.value[te].states)||[],A=te=>y(te).map(ce=>({label:ce,value:ce})),b=te=>_[te].devices.length!==0,_=a.getGroups("function"),w=ref(Object.values(_)),S={},C=te=>(S[te]||(S[te]=!u.value.addDevice||u.value.addDevice&&(!u.value.addDevice.fields||u.value.addDevice.fields&&u.value.addDevice.fields.includes(te))),S[te]),T=te=>{const ce=te.value?Object.values(a.getGroups("function",te.value)):Object.values(_);w.value=ce},I=(te,ce,se)=>{const ge=d.value[te.deviceId]&&d.value[te.deviceId].states[te[se+"StateKey"]]||{},he=te[ce+"Element"];return deepmerge(ge[he+"Config"]||{},te[he+"Config"]&&te[he+"Config"][se]||{})},E=te=>{let ce=!1;return te.map(se=>(ce=se.type==="device"?ce:se.type==="divider"?!1:se.type==="group"&&se.actions===!0,se.isInGroup=ce,se))},F=ref(E(_default(t.itemList))),O=ref(F.value.length),D=(te,ce=null)=>{const se=v4(),ge={...te,id:se};if(te.type==="device"){const he=y(te.deviceId)[0]||null;ge.primaryStateKey=ge.primaryStateKey===null?null:ge.primaryStateKey||he,ge.bodyStateKey=ge.bodyStateKey===null?null:ge.bodyStateKey||he}ce===null?F.value.push(ge):F.value.splice(ce,0,ge),document.getElementById("WidgetDialogBody"),F.value=E(F.value),r("onChange",{id:"items",value:F.value})},x=(te,ce,se)=>{const ge=F.value.find(ye=>ye.id===te),he=se==="top"?0:se==="bottom"?F.value.length:se==="up"?ce-1:ce+1;F.value.splice(ce,1),F.value.splice(he,0,ge)},P=te=>{const ce=_default(F.value.find(se=>se.id===te));D(ce,F.value.findIndex(se=>se.id===ce.id)+1)},G=(te,ce=null)=>{ce=ce||confirm(o.t("Really delete item?")),ce&&(F.value.splice(F.value.findIndex(se=>se.id===te),1),F.value=E(F.value),r("onChange",{id:"items",value:F.value}))},M=ref(),N=(te,ce={})=>{(!te.attributes||te.attributes&&te.attributes.deleted!==!0)&&(D({...ce,type:"device",deviceId:te.id},O.value),u.value.addDevice&&u.value.addDevice.max!==void 0&&u.value.addDevice.max<=F.value.length&&M.value.hide())},V=()=>{D({type:"list"},O.value)},Z=ref(),H=ref({}),B=()=>{H.value.value&&D({type:"group",name:H.value.value},O.value),H.value={},Z.value.hide()},z=()=>D({type:"divider"},O.value),U=te=>{if(te.id&&te["item-id"]){const ce=F.value.findIndex(se=>se.id===te["item-id"]);if(ce>-1){if(te.id.indexOf("moduleConfig.")>-1)F.value[ce].moduleConfig={...F.value[ce].moduleConfig||{},[te.id.replace("moduleConfig.","")]:te.value};else if(te.id.indexOf("secondaryStatesConfig.")>-1)F.value[ce].secondaryStatesConfig={...F.value[ce].secondaryStatesConfig||{},[te.id.replace("secondaryStatesConfig.","")]:te.value};else if(te.id==="componentOptions"){const se=te["state-key"]||F.value[ce].primaryStateKey;F.value[ce][te.component+"Config"]={...F.value[ce][te.component+"Config"]||{},[se]:{...F.value[ce][te.component+"Config"]&&F.value[ce][te.component+"Config"][se]||{},...te.value}}}else F.value[ce][te.id]=te.value;F.value=E(F.value),r("onChange",{id:"items",value:F.value})}}},Q=(te,ce)=>{U({value:ce.map(se=>se.value||se),"item-id":te,id:"secondaryStatesKeys"})},X=(te,ce)=>{const se=Cache$1.get("settings",{});return ce[te]===null?"":d.value[ce.deviceId]&&d.value[ce.deviceId].states[ce.primaryStateKey]&&d.value[ce.deviceId].states[ce.primaryStateKey][te]||d.value[ce.deviceId]&&Functions.Configurations[d.value[ce.deviceId].function]&&Functions.Configurations[d.value[ce.deviceId].function][ce.primaryStateKey]&&Functions.Configurations[d.value[ce.deviceId].function][ce.primaryStateKey][te]||se[te==="bodyElement"?"defaultBodyElement":"defaultActionElement"]},J=te=>{const{floor:ce,function:se,room:ge,tags:he}=te;return Devices.getDevices({floor:ce,function:se==="defaults"?"_defaults":se,room:ge,tags:he})},ne=(te,ce)=>{const se=J(te),{isInGroup:ge,primaryStateKey:he,bodyStateKey:ye,actionElement:ee,bodyElement:pe,showState:ae,secondaryStatesKeys:ve}={primaryStateKey:null,bodyStateKey:null,...te};se.forEach(we=>N(we,{isInGroup:ge,primaryStateKey:he,bodyStateKey:ye,actionElement:ee,bodyElement:pe,showState:ae,secondaryStatesKeys:ve})),G(te.id,!0)};return{...useDragDrop(F,te=>r("onChange",{id:"items",value:E(te)})),FunctionsComponentsList:Functions.ComponentsListAsOptions||[],ModuleSettings:u,onFilter:T,shallBeShown:C,deviceList:d,getDevice:g,getDeviceFunction:v,getDeviceStates:y,getDeviceStatesOptions:A,hasDevices:b,quickSortMode:ref(!1),onChange:U,onChangeSecondaryStatesKeys:Q,popupDevice:M,optionGroupsAddDevice:w,popupGroup:Z,setGroup:te=>{H.value=te},group:H,addGroup:B,addDivider:z,addDevice:N,addList:V,functions:computed(()=>Functions.List.map(ce=>({label:o.t(ce==="defaults"?"_defaults":ce),value:ce})).sort((ce,se)=>ce.label.toLowerCase()===se.label.toLowerCase()?0:ce.label.toLowerCase()>se.label.toLowerCase()?1:-1)),rooms:computed(()=>a.rooms.map(te=>({label:te,value:te}))),sortByOptions:computed(()=>[{label:o.t("Device Label")+" / "+o.t("Device Name"),value:"label"},{label:o.t("Device Name"),value:"name"},{label:o.t("Device Options"),value:"options"},{label:o.t("State")+" "+o.t("config#componentOptions#_all#val#options#val")+" (Pro only)",value:"val"},{label:o.t("State")+" "+o.t("config#componentOptions#_all#val#options#value")+" (Pro only)",value:"value"}]),sortDirectionOptions:computed(()=>[{label:o.t("ascending"),value:"ascending"},{label:o.t("descending"),value:"descending"}]),insert:O,items:F,addItem:D,copyItem:P,deleteItem:G,moveItem:x,componentValues:I,getPlaceholder:X,getListDevices:J,convertListDevices:ne,showListDevices:ref(!1),showListDevicesForItem:ref(null)}}}),_hoisted_1$L={class:"full-width",style:{"min-height":"500px"}},_hoisted_2$B={class:"text-h6 row items-center"},_hoisted_3$s={key:0},_hoisted_4$k={class:"row sticky body"},_hoisted_5$h={class:"q-py-xs col-grow row paper justify-around"},_hoisted_6$d={key:0},_hoisted_7$b={class:"row q-py-sm overflow-hidden"},_hoisted_8$b={style:{"align-items":"center",display:"inline-flex"}},_hoisted_9$b={class:"q-py-xs col-shrink row paper justify-center"},_hoisted_10$a={class:"row"},_hoisted_11$a={class:"row items-center"},_hoisted_12$8={class:"col"},_hoisted_13$7={class:"row"},_hoisted_14$7={class:"row"},_hoisted_15$6={class:"col"},_hoisted_16$5={class:"row"},_hoisted_17$4={class:"row"},_hoisted_18$4={class:"col q-mx-sm"},_hoisted_19$3={class:"col q-mx-xs"},_hoisted_20$2={key:0,class:"col q-mx-xs"},_hoisted_21$2={key:1,class:"col q-mx-xs"},_hoisted_22$2={key:2,class:"col q-mx-xs"},_hoisted_23$2={key:0},_hoisted_24$2={key:1},_hoisted_25$2={key:2},_hoisted_26$2={key:3,class:"row q-mb-md"},_hoisted_27$2={key:4,class:"row nowrap"},_hoisted_28$2={key:5,class:"row nowrap"},_hoisted_29$2={key:1,class:"row nowrap"},_hoisted_30$2={key:2,class:"row nowrap"},_hoisted_31$1={key:3,class:"row nowrap"},_hoisted_32={key:4,class:"row nowrap"},_hoisted_33={key:5,class:"row nowrap"};function _sfc_render$Y(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",_hoisted_1$L,[createVNode$1(QDialog,{modelValue:t.showListDevices,"onUpdate:modelValue":r[3]||(r[3]=y=>t.showListDevices=y)},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"400px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$B,toDisplayString$1(t.$t("Devices")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=withModifiers(y=>t.showListDevices=!1,["stop"]))})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col scroll body",set:t.devices=t.getListDevices(t.showListDevicesForItem)},{default:withCtx(()=>[t.devices.length===0?(openBlock(),createElementBlock("span",_hoisted_3$s,toDisplayString$1(t.$t("No Devices found with given criteria!")),1)):createCommentVNode("",!0),createVNode$1(QList,{dense:""},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Floor"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.floor||"-"),1)]),_:1}),createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Room"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.room||"-"),1)]),_:1})]),_:1}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Function"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.function?t.$t(t.showListDevicesForItem.function)+" ("+t.showListDevicesForItem.function+")":"-"),1)]),_:1}),createVNode$1(QItemSection,{style:{display:"inline"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Tags"))+": ",1),createBaseVNode("pre",null,toDisplayString$1(t.showListDevicesForItem.tags||"-"),1)]),_:1})]),_:1}),createVNode$1(QSeparator,{class:"q-my-sm"}),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.devices,(y,A)=>(openBlock(),createBlock(QItem,{key:y.id},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QAvatar,{color:"primary",class:"text-white",size:"sm"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A+1),1)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["set"]),createVNode$1(QSeparator),createVNode$1(QCardActions,null,{default:withCtx(()=>[t.devices.length>0?(openBlock(),createBlock(QBtn,{key:0,flat:"",color:"secondary",onClick:r[1]||(r[1]=withModifiers(y=>t.convertListDevices(t.showListDevicesForItem,t.index),["stop"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Convert List to Devices")),1)]),_:1})):createCommentVNode("",!0),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",color:"primary",label:t.$t("Close"),onClick:r[2]||(r[2]=withModifiers(y=>t.showListDevices=!1,["stop"]))},null,8,["label"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_4$k,[createBaseVNode("div",_hoisted_5$h,[withDirectives(createVNode$1(QBtn,{icon:"mdi-playlist-star",label:t.$t("Add Dynamic List"),color:"primary",flat:"",onClick:t.addList},null,8,["label","onClick"]),[[vShow,t.ModuleSettings.addList!==!1]]),withDirectives(createVNode$1(QBtn,{disable:t.ModuleSettings.addDevice&&t.ModuleSettings.addDevice.max!==void 0&&t.ModuleSettings.addDevice.max===t.items.length,icon:"mdi-devices",label:t.$t("Add Device"),color:"primary",flat:""},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"popupDevice",onHide:r[4]||(r[4]=y=>t.onFilter({value:null}))},{default:withCtx(()=>[createVNode$1(g,{id:"filter",label:"Filter",class:"q-py-none q-px-xs","hide-bottom-space":"",autofocus:"",onOnChange:t.onFilter,onKeyup:withKeys(t.onFilter,["enter"])},null,8,["onOnChange","onKeyup"]),createVNode$1(QList,{bordered:"",class:"row q-py-sm overflow-hidden",style:{width:"250px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.optionGroupsAddDevice,y=>(openBlock(),createBlock(QExpansionItem,{key:y.id,"expand-separator":"","header-class":"text-weight-bold",class:"full-width",label:y.label,icon:y.icon},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(y.devices,A=>withDirectives((openBlock(),createBlock(QItem,{key:A.id,clickable:"",onClick:b=>t.addDevice(A)},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:"q-ml-md"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass({"text-strike":A.attributes&&A.attributes.deleted===!0})},toDisplayString$1(A.label?A.label+" ("+A.name+")":A.name),3),r[8]||(r[8]=createTextVNode("\xA0")),A.attributes&&A.attributes.deleted===!0?(openBlock(),createElementBlock("em",_hoisted_6$d,"[ "+toDisplayString$1(t.$t("deleted"))+" ]",1)):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128))]),_:2},1032,["label","icon"]))),128))]),_:1})]),_:1},512)]),_:1},8,["disable","label"]),[[vShow,t.ModuleSettings.addDevice!==!1]]),withDirectives(createVNode$1(QBtn,{icon:"mdi-format-list-group",label:t.$t("Add Group"),color:"primary",flat:""},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"popupGroup"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$b,[createVNode$1(g,{id:"group",label:"Add Group",value:t.group.value||"",style:{width:"150px",margin:"0 8px"},class:"q-pa-none","hide-bottom-space":"",autofocus:"",onOnChange:t.setGroup,onKeyup:withKeys(t.addGroup,["enter"])},null,8,["value","onOnChange","onKeyup"]),createBaseVNode("div",_hoisted_8$b,[createVNode$1(QBtn,{label:t.$t("add"),color:"primary",flat:"",style:{},onClick:t.addGroup},null,8,["label","onClick"])])])]),_:1},512)]),_:1},8,["label"]),[[vShow,t.ModuleSettings.addGroup!==!1]]),withDirectives(createVNode$1(QBtn,{icon:"mdi-minus",label:t.$t("Add Divider"),color:"primary",flat:"",onClick:t.addDivider},null,8,["label","onClick"]),[[vShow,t.ModuleSettings.addDivider!==!1]])]),withDirectives(createBaseVNode("div",_hoisted_9$b,[createVNode$1(QBtn,{icon:"mdi-drag-horizontal",label:t.quickSortMode?t.$t("Quick Sort Mode")+" "+t.$t("on"):t.$t("Quick Sort Mode")+" "+t.$t("off"),color:"secondary",flat:!t.quickSortMode,onClick:r[5]||(r[5]=y=>t.quickSortMode=!t.quickSortMode)},null,8,["label","flat"])],512),[[vShow,t.ModuleSettings.addDivider!==!1]])]),createBaseVNode("div",_hoisted_10$a,[createVNode$1(QList,{ref:"elDragDrop",class:"full-width",dense:t.quickSortMode},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.items,(y,A)=>(openBlock(),createElementBlock("div",{key:y.id,class:"item"},[withDirectives((openBlock(),createBlock(QItem,{key:"radio-"+y.id+"-"+A,style:{"min-height":"auto",padding:"0"},clickable:"",tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:"",class:"q-ml-md text-caption"},{default:withCtx(()=>[createVNode$1(QRadio,{modelValue:t.insert,"onUpdate:modelValue":r[6]||(r[6]=b=>t.insert=b),val:A,label:A===0?t.$t("insert on top"):t.$t("insert after position")+": "+A,dense:"",size:"xs"},null,8,["modelValue","val","label"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"full-width"})]),_:1})]),_:2},1024)),[[vShow,!t.quickSortMode&&(!t.ModuleSettings.addDevice||t.ModuleSettings.addDevice&&(t.ModuleSettings.addDevice.max===void 0||t.ModuleSettings.addDevice.max!==t.items.length))],[Ripple]]),createVNode$1(QItem,{class:"paper",style:{padding:"8px 12px 8px 8px !important",margin:"4px 8px"},dense:t.quickSortMode},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_11$a,[withDirectives(createBaseVNode("div",_hoisted_12$8,[createBaseVNode("div",_hoisted_13$7,[createVNode$1(g,{id:"moveTop",type:"button",dense:"",icon:"mdi-chevron-double-up",tooltip:t.$t("move to top"),disable:A===0,onClick:withModifiers(b=>t.moveItem(y.id,A,"top"),["stop"])},null,8,["tooltip","disable","onClick"])]),createBaseVNode("div",_hoisted_14$7,[createVNode$1(g,{id:"moveBottom",type:"button",dense:"",icon:"mdi-chevron-double-down",tooltip:t.$t("move to bottom"),disable:A===t.items.length-1,onClick:withModifiers(b=>t.moveItem(y.id,A,"bottom"),["stop"])},null,8,["tooltip","disable","onClick"])])],512),[[vShow,!t.quickSortMode]]),withDirectives(createBaseVNode("div",_hoisted_15$6,[createBaseVNode("div",_hoisted_16$5,[createVNode$1(g,{id:"moveUp",type:"button",dense:"",icon:"mdi-chevron-up",tooltip:t.$t("move up"),disable:A===0,onClick:withModifiers(b=>t.moveItem(y.id,A,"up"),["stop"])},null,8,["tooltip","disable","onClick"])]),createBaseVNode("div",_hoisted_17$4,[createVNode$1(g,{id:"moveDown",type:"button",dense:"",icon:"mdi-chevron-down",tooltip:t.$t("move down"),disable:A===t.items.length-1,onClick:withModifiers(b=>t.moveItem(y.id,A,"down"),["stop"])},null,8,["tooltip","disable","onClick"])])],512),[[vShow,!t.quickSortMode]]),withDirectives(createBaseVNode("div",_hoisted_18$4,[createVNode$1(v,{name:"mdi-drag-horizontal",class:"dragndrop",style:{"padding-right":"16px"}})],512),[[vShow,t.items.length>1]]),createBaseVNode("div",_hoisted_19$3,[createVNode$1(g,{id:"copy",type:"button",dense:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),onClick:withModifiers(b=>t.copyItem(y.id),["stop"])},null,8,["tooltip","onClick"])]),y._deleted!==!0?(openBlock(),createElementBlock("div",_hoisted_20$2,[createVNode$1(g,{id:"delete",type:"button",dense:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:withModifiers(b=>t.deleteItem(y.id),["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0),y._deleted===!0?(openBlock(),createElementBlock("div",_hoisted_21$2,[createVNode$1(g,{id:"restore",type:"button",dense:"",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",class:"restore",onClick:withModifiers(b=>t.restoreItem(y.id),["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0),y.type==="list"?(openBlock(),createElementBlock("div",_hoisted_22$2,[createVNode$1(g,{id:"showListDevices",type:"button",dense:"",icon:"mdi-playlist-star",tooltip:t.$t("View determined Devices"),color:"secondary",onClick:withModifiers(b=>{t.showListDevicesForItem=y,t.showListDevices=!0},["stop"])},null,8,["tooltip","onClick"])])):createCommentVNode("",!0)])]),_:2},1024),y.type!=="device"||y.type==="device"&&t.deviceList[y.deviceId]!==void 0?(openBlock(),createElementBlock(Fragment,{key:0},[t.ModuleSettings.customBodySection?(openBlock(),createBlock(QItemSection,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customBodySection),mergeProps({ref_for:!0},{...t.$props,...t.$attrs},{item:y,device:t.deviceList[y.deviceId],onOnChange:t.onChange}),null,16,["item","device","onOnChange"]))]),_:2},1024)):(openBlock(),createBlock(QItemSection,{key:1},{default:withCtx(()=>[y.type==="divider"?(openBlock(),createElementBlock("span",_hoisted_23$2,[createBaseVNode("em",null,toDisplayString$1("("+t.$t("divider")+")"),1)])):createCommentVNode("",!0),y.type==="group"?(openBlock(),createElementBlock("span",_hoisted_24$2,[createBaseVNode("strong",null,toDisplayString$1(y.name),1)])):createCommentVNode("",!0),y.type==="device"?(openBlock(),createElementBlock("span",_hoisted_25$2,[createBaseVNode("strong",null,toDisplayString$1(t.deviceList[y.deviceId].name),1),createTextVNode(" ("+toDisplayString$1(t.deviceList[y.deviceId].function+", #"+y.deviceId)+")",1)])):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_26$2,[createVNode$1(g,{id:"sortBy",type:"select",dense:"",label:t.$t("Sort by"),"item-id":y.id,value:y.sortBy||"",options:t.sortByOptions,placeholder:t.$t("Device Label")+" / "+t.$t("Device Name"),onOnSelect:t.onChange},null,8,["label","item-id","value","options","placeholder","onOnSelect"]),createVNode$1(g,{id:"sortDirection",type:"select",dense:"",label:t.$t("Sort Direction"),"item-id":y.id,value:y.sortDirection||"",options:t.sortDirectionOptions,placeholder:t.$t("ascending"),onOnSelect:t.onChange},null,8,["label","item-id","value","options","placeholder","onOnSelect"]),createVNode$1(g,{id:"floor",dense:"",label:t.$t("Floor"),"item-id":y.id,value:y.floor||"",maxlength:"2",style:{width:"70px"},onOnChange:t.onChange},null,8,["label","item-id","value","onOnChange"]),createVNode$1(g,{id:"room",dense:"",label:t.$t("Room"),"item-id":y.id,value:y.room||"",options:t.rooms,onOnChange:t.onChange},null,8,["label","item-id","value","options","onOnChange"]),createVNode$1(g,{id:"function",type:"select",dense:"",label:t.$t("Function"),"item-id":y.id,value:y.function==="other"?"_defaults":y.function,options:t.functions,"options-dense":"","use-input":"",onOnSelect:t.onChange},null,8,["label","item-id","value","options","onOnSelect"]),createVNode$1(g,{id:"tags",type:"select",dense:"",label:t.$t("Tags"),"item-id":y.id,value:y.tags||[],"hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},null,8,["label","item-id","value","onOnSelect"])],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_27$2,[t.shallBeShown("bodyStateKey")?(openBlock(),createBlock(g,{key:0,id:"bodyStateKey",dense:"",style:{width:"130px"},label:"Body State","item-id":y.id,value:y.bodyStateKey,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("bodyElement")?withDirectives((openBlock(),createBlock(g,{key:1,id:"bodyElement",dense:"",style:{width:"230px"},label:"Body Element","state-key":y.bodyStateKey,"item-id":y.id,placeholder:t.getPlaceholder("bodyElement",y),value:y.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements&&t.FunctionsComponentsList.bodyElements._all||[],"component-values":t.componentValues(y,"body",y.bodyStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.bodyStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_28$2,[t.shallBeShown("label")?(openBlock(),createBlock(g,{key:0,id:"label",dense:"",label:"Label","item-id":y.id,json:"",value:y.label||"",placeholder:t.deviceList[y.deviceId].states[y.bodyStateKey]&&t.deviceList[y.deviceId].states[y.bodyStateKey].label?JSON.stringify(t.deviceList[y.deviceId].states[y.bodyStateKey].label):t.deviceList[y.deviceId].states[y.primaryStateKey]&&t.deviceList[y.deviceId].states[y.primaryStateKey].label?JSON.stringify(t.deviceList[y.deviceId].states[y.primaryStateKey].label):t.deviceList[y.deviceId].name,onOnChange:t.onChange},null,8,["item-id","value","placeholder","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("bodyStateKey")?(openBlock(),createBlock(g,{key:1,id:"bodyStateKey",dense:"",style:{width:"130px"},label:"Body State","item-id":y.id,value:y.bodyStateKey,type:"select",options:t.getDeviceStatesOptions(y.deviceId),onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"])):createCommentVNode("",!0),t.shallBeShown("bodyElement")?withDirectives((openBlock(),createBlock(g,{key:2,id:"bodyElement",dense:"",style:{width:"230px"},label:"Body Element","state-key":y.bodyStateKey,"item-id":y.id,placeholder:t.getPlaceholder("bodyElement",y),value:y.bodyElement,type:"select.components",components:t.FunctionsComponentsList.bodyElements[t.getDeviceFunction(y)],"component-values":t.componentValues(y,"body",y.bodyStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.bodyStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0)]),_:2},1024)),t.ModuleSettings.customActionSection?(openBlock(),createBlock(QItemSection,{key:2,side:""},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customActionSection),{item:y,device:t.deviceList[y.deviceId],onOnChange:t.onChange},null,40,["item","device","onOnChange"]))]),_:2},1024)):(openBlock(),createBlock(QItemSection,{key:3,side:""},{default:withCtx(()=>[y.type!=="divider"&&y.type!=="group"?(openBlock(),createBlock(QSeparator,{key:0,vertical:"",class:"full-height q-mx-xs"})):createCommentVNode("",!0),y.type==="group"?withDirectives((openBlock(),createElementBlock("div",_hoisted_29$2,[createVNode$1(g,{id:"actions",dense:"",style:{width:"100px"},label:t.$t("Group Actions"),"item-id":y.id,value:y.actions||!1,type:"switch",onOnChange:t.onChange},null,8,["label","item-id","value","onOnChange"]),t.shallBeShown("groupElement")?withDirectives((openBlock(),createBlock(g,{key:0,id:"groupElement",dense:"",style:{width:"200px"},label:"Group Element","state-key":"group","item-id":y.id,value:y.groupElement,type:"select.components",components:t.FunctionsComponentsList.actionElements&&t.FunctionsComponentsList.actionElements._all.filter(b=>!["DatePickerAction","TimePickerAction","InputAction","DropdownAction","LightColorAction","LightColorState","LightHueAction"].includes(b.value))||[],"component-values":t.componentValues(y,"group","group"),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["item-id","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.actions===!0]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_30$2,[t.shallBeShown("primaryStateKey")?(openBlock(),createBlock(g,{key:0,id:"primaryStateKey",dense:"",style:{width:"130px"},label:"Action State","item-id":y.id,value:y.primaryStateKey,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])):createCommentVNode("",!0),t.shallBeShown("showState")?withDirectives((openBlock(),createBlock(g,{key:1,id:"showState",type:"switch",dense:"",style:{width:"100px"},label:"Show State","item-id":y.id,value:y.showState!==void 0?y.showState:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0),t.shallBeShown("showGroupAction")?withDirectives((openBlock(),createBlock(g,{key:2,id:"useInGroup",type:"switch",dense:"",style:{width:"100px"},label:"Use in Actions","item-id":y.id,value:y.useInGroup!==void 0?y.useInGroup:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey&&y.isInGroup===!0]]):createCommentVNode("",!0),t.shallBeShown("actionElement")?withDirectives((openBlock(),createBlock(g,{key:3,id:"actionElement",type:"select.components",dense:"",style:{width:"200px"},label:"Action Element","state-key":y.primaryStateKey,"item-id":y.id,placeholder:t.getPlaceholder("actionElement",y),value:y.actionElement,components:t.FunctionsComponentsList.actionElements._all,"component-values":t.componentValues(y,"action",y.primaryStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="list"?withDirectives((openBlock(),createElementBlock("div",_hoisted_31$1,[createVNode$1(g,{id:"secondaryStatesKeys",type:"select",dense:"",style:{width:"430px"},label:t.$t("Secondary State"),"item-id":y.id,value:y.secondaryStatesKeys||[],"hide-dropdown-icon":"",options:null,"use-chips":"",multiple:!0,"use-input":"","new-value-mode":"add-unique",onOnSelect:t.onChange},{after:withCtx(()=>[createVNode$1(QBtn,{flat:"",dense:"",icon:"mdi-dots-vertical","click.prevent":""},{default:withCtx(()=>[createVNode$1(QMenu,null,{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"100px"}},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use state labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useLabel!==void 0?y.secondaryStatesConfig.useLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useDeviceLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use device labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useDeviceLabel!==void 0?y.secondaryStatesConfig.useDeviceLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useColor",type:"switch",inline:"",dense:"","item-id":y.id,label:"use colors",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useColor!==void 0?y.secondaryStatesConfig.useColor:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.hideEmpty",type:"switch",inline:"",dense:"","item-id":y.id,label:"hide when empty",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.hideEmpty!==void 0?y.secondaryStatesConfig.hideEmpty:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","item-id","value","onOnSelect"])],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_32,[t.shallBeShown("primaryStateKey")?(openBlock(),createBlock(g,{key:0,id:"primaryStateKey",type:"select",dense:"",style:{width:"130px"},label:"Action State","item-id":y.id,value:y.primaryStateKey,options:t.getDeviceStatesOptions(y.deviceId),onOnSelect:t.onChange},null,8,["item-id","value","options","onOnSelect"])):createCommentVNode("",!0),t.shallBeShown("showState")?withDirectives((openBlock(),createBlock(g,{key:1,id:"showState",type:"switch",dense:"",style:{width:"100px"},label:"Show State","item-id":y.id,value:y.showState!==void 0?y.showState:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0),t.shallBeShown("showGroupAction")?withDirectives((openBlock(),createBlock(g,{key:2,id:"useInGroup",type:"switch",dense:"",style:{width:"100px"},label:"Use in Actions","item-id":y.id,value:y.useInGroup!==void 0?y.useInGroup:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])),[[vShow,y.primaryStateKey&&y.isInGroup===!0]]):createCommentVNode("",!0),t.shallBeShown("actionElement")?withDirectives((openBlock(),createBlock(g,{key:3,id:"actionElement",dense:"",style:{width:"200px"},label:"Action Element","state-key":y.primaryStateKey,"item-id":y.id,placeholder:t.getPlaceholder("actionElement",y),value:y.actionElement,type:"select.components",components:t.FunctionsComponentsList.actionElements[t.getDeviceFunction(y)],"component-values":t.componentValues(y,"action",y.primaryStateKey),onOnSelect:t.onChange,onOnOptions:t.onChange},null,8,["state-key","item-id","placeholder","value","components","component-values","onOnSelect","onOnOptions"])),[[vShow,y.primaryStateKey]]):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0),y.type==="device"?withDirectives((openBlock(),createElementBlock("div",_hoisted_33,[t.shallBeShown("secondaryStatesKeys")?(openBlock(),createBlock(QSelect,{key:0,"stack-label":"",dense:"",style:{width:"430px"},label:t.$t("Secondary State"),"model-value":y.secondaryStatesKeys,options:t.getDeviceStatesOptions(y.deviceId),"use-chips":"",multiple:"","onUpdate:modelValue":b=>t.onChangeSecondaryStatesKeys(y.id,b)},{after:withCtx(()=>[createVNode$1(QBtn,{flat:"",dense:"",icon:"mdi-dots-vertical","click.prevent":""},{default:withCtx(()=>[createVNode$1(QMenu,null,{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"100px"}},{default:withCtx(()=>[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use state labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useLabel!==void 0?y.secondaryStatesConfig.useLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useDeviceLabel",type:"switch",inline:"",dense:"","item-id":y.id,label:"use device labels",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useDeviceLabel!==void 0?y.secondaryStatesConfig.useDeviceLabel:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.useColor",type:"switch",inline:"",dense:"","item-id":y.id,label:"use colors",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.useColor!==void 0?y.secondaryStatesConfig.useColor:!0,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(g,{id:"secondaryStatesConfig.hideEmpty",type:"switch",inline:"",dense:"","item-id":y.id,label:"hide when empty",value:y.secondaryStatesConfig&&y.secondaryStatesConfig.hideEmpty!==void 0?y.secondaryStatesConfig.hideEmpty:!1,onOnChange:t.onChange},null,8,["item-id","value","onOnChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","model-value","options","onUpdate:modelValue"])):createCommentVNode("",!0)],512)),[[vShow,!t.quickSortMode]]):createCommentVNode("",!0)]),_:2},1024))],64)):(openBlock(),createBlock(QItemSection,{key:1},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Device not found")+" ("+t.$t("Device ID")+": "+y.deviceId+")"),1)]),_:2},1024))]),_:2},1032,["dense"])]))),128)),withDirectives((openBlock(),createBlock(QItem,{style:{"min-height":"auto",padding:"0"},clickable:"",tag:"label"},{default:withCtx(()=>[createVNode$1(QItemSection,{side:"",class:"q-ml-md text-caption"},{default:withCtx(()=>[createVNode$1(QRadio,{modelValue:t.insert,"onUpdate:modelValue":r[7]||(r[7]=y=>t.insert=y),val:t.items.length,label:t.$t("insert at the end"),dense:"",size:"xs"},null,8,["modelValue","val","label"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"full-width"})]),_:1})]),_:1})),[[vShow,t.ModuleSettings.addDevices&&t.items.length>0],[Ripple]])]),_:1},8,["dense"])])])}var WidgetDevicesSection=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$Y],["__scopeId","data-v-1f8a5c8f"]]),WidgetPage_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$X=defineComponent({name:"WidgetPage",components:{WidgetDevicesSection},props:{widgetId:{type:String,default:null}},emits:["onClose"],setup(t,{emit:r}){const o=useJarvis(),a=useEditor(),{errors:u,hasErrors:d,addError:g,removeError:v,resetErrors:y}=useErrors(),A=ref(null);watch(()=>t.widgetId,F=>{F?(A.value=a.widgets[F]?_default(a.widgets[F]):{id:F,config:{},_created:Date.now()},A.value.module?v("module"):g("module","Choose a module")):A.value=null});const b=Modules.ModuleList.map(F=>({label:F,value:F})),_=computed(()=>Modules.Configurations[A.value.module]||[]),w=computed(()=>Modules.Settings[A.value.module]||{}),S=computed(()=>{const F={};return _.value.forEach(O=>{if(A.value.config[O.parameter]===void 0){const D=typeof O.value=="function"?O.value(A.value):O.value;T({id:"config."+O.parameter,value:D}),F[O.parameter]=D}else F[O.parameter]=A.value.config[O.parameter]}),F}),C=F=>F?Object.keys(F).some(O=>{const D=Array.isArray(F[O])?F[O]:[F[O]],x=A.value.config[O]===void 0?_.value.find(P=>P.parameter===O).value:A.value.config[O];return D.includes(x)}):!0,T=F=>{const{_error:O,id:D,value:x}=F;O?g(D,O):D!==void 0&&x!==void 0&&D.indexOf("config.")!==-1?(A.value.config[D.replace("config.","")]=x,v(D)):D!==void 0&&x!==void 0&&(A.value[D]=x,v(D),D==="module"&&(y(),A.value.config={}))},I=(F=null)=>{r("onClose",F),A.value=null,y()};return{jarvis:o,editor:a,ModuleList:b,ModuleConfigurations:_,ModuleSettings:w,ModuleConfigValues:S,errors:u,hasErrors:d,dependencies:C,widget:A,onChange:T,onCancel:I,onSave:()=>{a.addWidget({widget:A.value}),I(A.value)},icons:computed(()=>A.value&&A.value.icon&&(typeof A.value.icon!="string"||A.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(O=>({icon:"mdi:"+O,label:O,value:"mdi:"+O})))}}}),_hoisted_1$K={class:"text-h6 row items-center"},_hoisted_2$A={class:"text-h6 primary q-ma-sm"},_hoisted_3$r={class:"row"},_hoisted_4$j={class:"col"},_hoisted_5$g={class:"col"},_hoisted_6$c={class:"col"},_hoisted_7$a={class:"col-2"},_hoisted_8$a={class:"col-1"},_hoisted_9$a={class:"text-h6 primary q-ma-sm"},_hoisted_10$9={class:"row"},_hoisted_11$9={class:"col-3"},_hoisted_12$7={class:"col-9"},_hoisted_13$6={class:"text-h7 primary q-ma-sm"},_hoisted_14$6={class:"row"},_hoisted_15$5={class:"row"},_hoisted_16$4={class:"q-pa-sm"},_hoisted_17$3={key:0,class:"row"},_hoisted_18$3={class:"text-h7 primary q-ma-sm"},_hoisted_19$2={class:"row"};function _sfc_render$X(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("widget-devices-section");return openBlock(),createBlock(QDialog,{"model-value":t.widget!==null,"full-height":"",persistent:""},{default:withCtx(()=>[t.widget!==null?(openBlock(),createBlock(QCard,{key:0,class:"column full-height",style:{width:"1400px","max-width":"90vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$K,[createTextVNode(toDisplayString$1(t.$t("Widget"))+": ",1),createVNode$1(g,{id:"title",dense:"",label:t.$t("Name"),value:t.widget.title||"",autofocus:"",style:{width:"230px","margin-right":"16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"]),createTextVNode(" ("+toDisplayString$1(t.$t("Widget ID")+": "+t.widget.id)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{id:"WidgetDialogBody",class:"col scroll body"},{default:withCtx(()=>[createVNode$1(QForm,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$A,toDisplayString$1(t.$t("Widget-Box")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_3$r,[createBaseVNode("div",_hoisted_4$j,[createVNode$1(g,{id:"icon",label:t.$t("Widget")+" "+t.$t("Icon"),value:t.widget.icon||t.ModuleSettings.icon||"",icon:t.widget.icon,options:t.icons,"max-dropdown-options":300,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$g,[createVNode$1(g,{id:"label",label:t.$t("Widget")+" "+t.$t("Label"),value:t.widget.label||"",placeholder:t.widget.title,onOnChange:t.onChange},null,8,["label","value","placeholder","onOnChange"])]),createBaseVNode("div",_hoisted_6$c,[createVNode$1(g,{id:"link",label:t.$t("Widget")+" "+t.$t("Link"),value:t.widget.link||"",info:"config#HomeKitTile#jumper#info",onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_7$a,[createVNode$1(g,{id:"hideTitle",type:"switch",label:t.$t("Hide Widget Label and Icon"),value:t.widget.hideTitle||!1,onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_8$a,[withDirectives(createVNode$1(g,{id:"hideSeparator",type:"switch",label:t.$t("Hide Separator"),value:t.widget.hideSeparator||!1,onOnChange:t.onChange},null,8,["label","value","onOnChange"]),[[vShow,t.widget.hideTitle!==!0]])])]),createBaseVNode("div",_hoisted_9$a,toDisplayString$1(t.$t("Module")),1),createVNode$1(QSeparator,{style:{margin:"0 -16px"}}),createBaseVNode("div",_hoisted_10$9,[createBaseVNode("div",_hoisted_11$9,[createVNode$1(g,{id:"module",label:t.$t("Module"),type:"select",options:t.ModuleList,value:t.widget.module,"options-dense":"","use-input":"",required:"",error:t.errors.module!==void 0,"error-message":t.errors.module,onOnSelect:t.onChange},null,8,["label","options","value","error","error-message","onOnSelect"])]),createBaseVNode("div",_hoisted_12$7,[withDirectives(createBaseVNode("div",{class:"centered"},toDisplayString$1(t.$t(t.widget.module+"#description")),513),[[vShow,t.widget.module]])])]),withDirectives(createBaseVNode("div",null,[createBaseVNode("div",_hoisted_13$6,toDisplayString$1(t.$t("Module Configuration")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),withDirectives(createBaseVNode("div",_hoisted_14$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.ModuleConfigurations,y=>(openBlock(),createElementBlock(Fragment,null,[y.hide!==!0?withDirectives((openBlock(),createElementBlock("div",{key:y.parameter,class:normalizeClass("col-"+(y.columns||4))},[createVNode$1(g,mergeProps({ref_for:!0},y,{id:"config."+y.parameter,options:y.options?typeof y.options=="function"?y.options(t.widget.items||[],{jarvis:t.jarvis,editor:t.editor}):y.options:void 0,value:t.ModuleConfigValues[y.parameter],"error-message":t.errors["config."+y.parameter],onOnChange:t.onChange,onOnSelect:t.onChange}),null,16,["id","options","value","error-message","onOnChange","onOnSelect"])],2)),[[vShow,t.dependencies(y.dependencies)]]):createCommentVNode("",!0)],64))),256))],512),[[vShow,t.ModuleConfigurations.length>0]]),withDirectives(createBaseVNode("div",_hoisted_15$5,[createBaseVNode("p",_hoisted_16$4,toDisplayString$1(t.$t("No configuration options for this module")),1)],512),[[vShow,t.ModuleConfigurations.length===0]]),t.ModuleSettings&&t.ModuleSettings.customConfiguration?(openBlock(),createElementBlock("div",_hoisted_17$3,[(openBlock(),createBlock(resolveDynamicComponent(t.ModuleSettings.customConfiguration),{config:t.widget.config,onOnChange:t.onChange},null,40,["config","onOnChange"]))])):createCommentVNode("",!0),t.ModuleSettings.addDevice!==!1?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",_hoisted_18$3,toDisplayString$1(t.$t("Module Devices")),1),createVNode$1(QSeparator,{style:{margin:"0 -0 8px 0"}}),createBaseVNode("div",_hoisted_19$2,[createVNode$1(v,{"module-config-values":t.ModuleConfigValues,"item-list":t.widget.items||[],module:t.widget.module,onOnChange:t.onChange},null,8,["module-config-values","item-list","module","onOnChange"])])],64)):createCommentVNode("",!0)],512),[[vShow,t.widget.module]])]),_:1})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.hasErrors,onClick:t.onSave},null,8,["label","disable","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])}var WidgetPage=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$X],["__scopeId","data-v-d804ea74"]]);const _sfc_main$W=defineComponent({name:"WidgetsPage",components:{JsonEditor,WidgetsTable,WidgetPage},setup(){useJarvis();const t=useEditor(),r=computed(()=>t.getGroupedWidgets),o=computed(()=>t.getWidgetsWthoutDeletionsCount),a=computed(()=>t.widgets),u=computed(()=>t.settings&&t.settings.configExpertMode),d=ref(),g=()=>{d.value=v4()},v=b=>{d.value=b.id},y=b=>{if(b._error){t.addError(b.id,b._error);return}t.removeError(b.id),b.value&&t.set({tmpJsonEditor:{key:b.id,json:JSON.parse(b.value)}})},A=ref({sortBy:"name",rowsPerPage:15});return onBeforeMount(()=>{try{const b=Cache$1.get("settings",{});b.configWidgetsPagination&&(A.value=JSON.parse(b.configWidgetsPagination))}catch(b){}}),{expanded:ref({}),configurationHeight:computed(()=>{const b=document.querySelector(".q-page");return b&&b.offsetHeight||900}),groups:r,json:a,expertMode:u,pagination:A,onPagination:b=>{let w=Cache$1.get("settings",{}).configWidgetsPagination||"{}";try{w=typeof w=="string"?JSON.parse(w):w,Object.entries(b).some(([S,C])=>C!==w[S])&&(Cache$1.set("settings",{...Cache$1.get("settings",{}),configWidgetsPagination:JSON.stringify(b)}),t.set("settings.configWidgetsPagination",JSON.stringify(b)),A.value=b)}catch(S){console.warn(S.message)}},widgetsCount:o,selectedWidgetId:d,addWidget:g,editWidget:v,onJsonEditor:y}}}),_hoisted_1$J={class:"full-height WidgetsPage"},_hoisted_2$z={class:"row no-wrap"};function _sfc_render$W(t,r,o,a,u,d){const g=resolveComponent("widget-page"),v=resolveComponent("widgets-table"),y=resolveComponent("json-editor"),A=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$J,[createBaseVNode("div",_hoisted_2$z,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Widgets"))+" ("+toDisplayString$1(t.widgetsCount)+") ",1)]),_:1}),createVNode$1(QSpace),createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),onClick:t.addWidget},null,8,["label","onClick"])]),_:1})]),createVNode$1(g,{"widget-id":t.selectedWidgetId,onOnClose:r[0]||(r[0]=b=>t.selectedWidgetId=null)},null,8,["widget-id"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,b=>withDirectives((openBlock(),createElementBlock("div",{key:b.id,class:"row no-wrap paper"},[createVNode$1(QExpansionItem,{modelValue:t.expanded[b.id],"onUpdate:modelValue":_=>t.expanded[b.id]=_,icon:b.icon,label:b.label+" ("+b.widgets.length+")",class:"full-width"},{default:withCtx(()=>[createVNode$1(v,{widgets:b.widgets,pagination:t.pagination,onOnEditWidget:t.editWidget,onOnPagination:t.onPagination},null,8,["widgets","pagination","onOnEditWidget","onOnPagination"])]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"])])),[[vShow,!t.expertMode&&b.widgets.length>0]])),128)),withDirectives(createVNode$1(A,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(y,{id:"widgets",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var WidgetsPage=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$W]]),index$8=Object.freeze(Object.defineProperty({__proto__:null,default:WidgetsPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$V=defineComponent({name:"WidgetPopup",components:{WidgetPage},props:{widget:{type:Object,default:null}},emits:["onClose","onSave"],setup(t,{emit:r}){const o=useI18n(),a=useEditor(),u=[{label:o.t("top aligned"),value:"top"},{label:o.t("middle aligned"),value:"middle"},{label:o.t("bottom aligned"),value:"bottom"}],d=[{label:o.t("left aligned"),value:"left"},{label:o.t("center aligned"),value:"center"},{label:o.t("right aligned"),value:"right"},{label:o.t("fill full width"),value:"fill-width"}];let g={};Object.values(a.widgets).forEach(V=>{g[V.module]=g[V.module]||{label:V.module,widgets:[]},V._deleted!==!0&&g[V.module].widgets.push({...V,value:V.id,label:V.label?V.label+" "+(V.title?"("+V.title+")":""):V.title||""})}),g=Object.values(g);const v=ref(g),y=ref(null);watch(()=>t.widget,V=>{y.value=V?_default({items:[],...V}):null});const A=computed(()=>y.value.scaleToFitContents!==void 0?y.value.scaleToFitContents:!0),b=computed(()=>y.value.alignmentVertical||"top"),_=computed(()=>y.value.alignmentHorizontal||"center"),w=computed(()=>y.value.allowFullscreen||!1),S=computed(()=>y.value.items?y.value.items.map(V=>a.widgets[V]||{}):[]),C=(V,Z)=>{let H=g;V&&(V=V.toLowerCase(),H=[],g.forEach(B=>{const z=[];B.widgets.forEach(U=>{(U.module&&U.module.toLowerCase().indexOf(V)!==-1||U.id&&U.id.toLowerCase().indexOf(V)!==-1||U.title&&U.title.toLowerCase().indexOf(V)!==-1||U.label&&U.label.toLowerCase().indexOf(V)!==-1)&&z.push(U)}),z.length>0&&H.push({label:B.label+" ("+z.length+")",widgets:z})})),Z(()=>{v.value=H.sort((B,z)=>(B=B.label?B.label.toLowerCase():"",z=z.label?z.label.toLowerCase():"",B===z?0:B>z?1:-1))})},T=ref(null);let I=!1;const E=V=>{y.value[V.id]=V.value},F=V=>{V&&V.module&&I===!0&&P({id:T.value}),I=!1,T.value=null},O=()=>{y.value=null,r("onClose")},D=()=>{r("onSave",y.value),O()},x=ref(),P=V=>{y.value.items.push(V.id),x.value.hidePopup()};return{ScaleExceptions,AlignmentExceptions,alignmentHorizontal:d,alignmentVertical:u,inputValueAlignmentHorizontal:_,inputValueAlignmentVertical:b,inputScaleToFitContents:A,inputValueAllowFullscreen:w,onChange:E,onClose:F,onCancel:O,onSave:D,onFilter:C,itemList:S,widgetListFiltered:v,selectedWidgetId:T,container:y,addWidgetElement:x,assignWidget:P,addWidget:()=>{I=!0,T.value=v4()},editWidget:V=>{T.value=V},deleteWidget:V=>{confirm(o.t("Really delete item?"))&&y.value.items.splice(y.value.items.indexOf(V),1)}}}}),_hoisted_1$I={class:"text-h6"},_hoisted_2$y={class:"text-h7 primary q-ma-sm"},_hoisted_3$q={class:"row"},_hoisted_4$i={class:"col"},_hoisted_5$f={class:"col-1",style:{"text-align":"center","line-height":"56px"}},_hoisted_6$b={class:"col-3",style:{"text-align":"center","line-height":"56px"}},_hoisted_7$9={key:0},_hoisted_8$9={class:"row items-center"},_hoisted_9$9={class:"text-h7 primary q-ma-sm",style:{"margin-top":"16px"}},_hoisted_10$8={class:"row q-pb-xs"},_hoisted_11$8={class:"col"},_hoisted_12$6={class:"col"},_hoisted_13$5={class:"col"},_hoisted_14$5={class:"col"};function _sfc_render$V(t,r,o,a,u,d){const g=resolveComponent("widget-page"),v=resolveComponent("icon"),y=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createVNode$1(g,{"widget-id":t.selectedWidgetId,onOnClose:t.onClose},null,8,["widget-id","onOnClose"]),createVNode$1(QDialog,{"model-value":t.container!==null,persistent:""},{default:withCtx(()=>[t.container?(openBlock(),createBlock(QCard,{key:0,class:"column",style:{width:"1200px","max-width":"90vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$I,toDisplayString$1(t.$t("Assign Widget to Box")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onCancel},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col defaultPadding-2 q-pt-none scroll body"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$y,toDisplayString$1(t.$t("Widget")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),withDirectives(createBaseVNode("div",_hoisted_3$q,[createBaseVNode("div",_hoisted_4$i,[createVNode$1(QSelect,{ref:"addWidgetElement",label:t.$t("Assign Widget"),options:t.widgetListFiltered,"model-value":"","use-input":"","stack-label":"",style:{margin:"0 8px"},onFilter:t.onFilter},{option:withCtx(A=>[createVNode$1(QExpansionItem,{"expand-separator":"","header-class":"text-weight-bold",label:A.opt.label},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.opt.widgets,b=>withDirectives((openBlock(),createBlock(QItem,{key:b.id,clickable:"",onClick:_=>t.assignWidget(b)},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[b.label?(openBlock(),createBlock(QItemLabel,{key:0,class:"q-ml-md"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.label),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:1,class:"q-ml-md"},{default:withCtx(()=>[createBaseVNode("em",null,"("+toDisplayString$1(t.$t("no title"))+")",1)]),_:1})),createVNode$1(QItemLabel,{class:"q-ml-md",caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.id),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128))]),_:2},1032,["label"])]),_:1},8,["label","options","onFilter"])]),createBaseVNode("div",_hoisted_5$f,toDisplayString$1(t.$t("or")),1),createBaseVNode("div",_hoisted_6$b,[createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),onClick:t.addWidget},null,8,["label","onClick"])])],512),[[vShow,t.itemList.length===0]]),createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.itemList,(A,b)=>(openBlock(),createBlock(QItem,{key:A.id+"-"+b,class:"list-group-item"},{default:withCtx(()=>[A.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",name:A.icon},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.label||A.title||t.$t("no title"))+" ",1),A._deleted?(openBlock(),createElementBlock("em",_hoisted_7$9,"[ "+toDisplayString$1(t.$t("deleted"))+" ]",1)):createCommentVNode("",!0)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(" Widget ID: "+toDisplayString$1(A.id)+", Module: "+toDisplayString$1(A.module),1)]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$9,[A._deleted!==!0?(openBlock(),createBlock(QBtn,{key:0,size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:_=>t.editWidget(A.id)},null,8,["onClick"])):createCommentVNode("",!0),createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-delete",color:"negative",onClick:_=>t.deleteWidget(A.id)},null,8,["onClick"])])]),_:2},1024)]),_:2},1024))),128))]),_:1}),createBaseVNode("div",_hoisted_9$9,toDisplayString$1(t.$t("Options")),1),createVNode$1(QSeparator,{style:{margin:"0 0 8px 0"}}),createBaseVNode("div",_hoisted_10$8,[createBaseVNode("div",_hoisted_11$8,[createVNode$1(y,{id:"allowFullscreen",icon:"mdi-resize",label:"Allow fullscreen",type:"switch",value:t.inputValueAllowFullscreen,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_12$6,[withDirectives(createVNode$1(y,{id:"scaleToFitContents",icon:"mdi-fit-to-page",label:"Scale contents to fit widget",type:"switch",value:t.inputScaleToFitContents,onOnChange:t.onChange},null,8,["value","onOnChange"]),[[vShow,t.itemList[0]&&t.ScaleExceptions.includes(t.itemList[0].module)===!1]])]),createBaseVNode("div",_hoisted_13$5,[withDirectives(createVNode$1(y,{id:"alignmentVertical",icon:"mdi-arrow-split-horizontal",label:"Vertical alignment",type:"select",options:t.alignmentVertical,value:t.inputValueAlignmentVertical,onOnSelect:t.onChange},null,8,["options","value","onOnSelect"]),[[vShow,t.itemList[0]&&t.AlignmentExceptions.includes(t.itemList[0].module)===!1]])]),createBaseVNode("div",_hoisted_14$5,[withDirectives(createVNode$1(y,{id:"alignmentHorizontal",icon:"mdi-arrow-split-vertical",label:"Horizontal alignment",type:"select",options:t.alignmentHorizontal,value:t.inputValueAlignmentHorizontal,onOnSelect:t.onChange},null,8,["options","value","onOnSelect"]),[[vShow,t.itemList[0]&&t.AlignmentExceptions.includes(t.itemList[0].module)===!1]])])])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",onClick:t.onSave},null,8,["label","onClick"])]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])])}var WidgetPopup=_export_sfc$1(_sfc_main$V,[["render",_sfc_render$V]]),gridstack_min="";function obsolete(t,r,o,a,u){let d=(...g)=>(console.warn("gridstack.js: Function `"+o+"` is deprecated in "+u+" and has been replaced with `"+a+"`. It will be **removed** in a future release"),r.apply(t,g));return d.prototype=r.prototype,d}class Utils{static getElements(r,o=document){if(typeof r=="string"){const a="getElementById"in o?o:void 0;if(a&&!isNaN(+r[0])){const d=a.getElementById(r);return d?[d]:[]}let u=o.querySelectorAll(r);return!u.length&&r[0]!=="."&&r[0]!=="#"&&(u=o.querySelectorAll("."+r),u.length||(u=o.querySelectorAll("#"+r))),Array.from(u)}return[r]}static getElement(r,o=document){if(typeof r=="string"){const a="getElementById"in o?o:void 0;if(!r.length)return null;if(a&&r[0]==="#")return a.getElementById(r.substring(1));if(r[0]==="#"||r[0]==="."||r[0]==="[")return o.querySelector(r);if(a&&!isNaN(+r[0]))return a.getElementById(r);let u=o.querySelector(r);return a&&!u&&(u=a.getElementById(r)),u||(u=o.querySelector("."+r)),u}return r}static shouldSizeToContent(r,o=!1){return(r==null?void 0:r.grid)&&(o?r.sizeToContent===!0||r.grid.opts.sizeToContent===!0&&r.sizeToContent===void 0:!!r.sizeToContent||r.grid.opts.sizeToContent&&r.sizeToContent!==!1)}static isIntercepted(r,o){return!(r.y>=o.y+o.h||r.y+r.h<=o.y||r.x+r.w<=o.x||r.x>=o.x+o.w)}static isTouching(r,o){return Utils.isIntercepted(r,{x:o.x-.5,y:o.y-.5,w:o.w+1,h:o.h+1})}static areaIntercept(r,o){let a=r.x>o.x?r.x:o.x,u=r.x+r.wo.y?r.y:o.y,g=r.y+r.h{var v,y,A,b;let g=o*(((v=u.y)!=null?v:1e4)-((y=d.y)!=null?y:1e4));return g===0?o*(((A=u.x)!=null?A:1e4)-((b=d.x)!=null?b:1e4)):g})}static find(r,o){return o?r.find(a=>a.id===o):void 0}static createStylesheet(r,o,a){let u=document.createElement("style");const d=a==null?void 0:a.nonce;return d&&(u.nonce=d),u.setAttribute("type","text/css"),u.setAttribute("gs-style-id",r),u.styleSheet?u.styleSheet.cssText="":u.appendChild(document.createTextNode("")),o?o.insertBefore(u,o.firstChild):(o=document.getElementsByTagName("head")[0],o.appendChild(u)),u.sheet}static removeStylesheet(r,o){let u=(o||document).querySelector("STYLE[gs-style-id="+r+"]");u&&u.parentNode&&u.remove()}static addCSSRule(r,o,a){typeof r.addRule=="function"?r.addRule(o,a):typeof r.insertRule=="function"&&r.insertRule(`${o}{${a}}`)}static toBool(r){return typeof r=="boolean"?r:typeof r=="string"?(r=r.toLowerCase(),!(r===""||r==="no"||r==="false"||r==="0")):Boolean(r)}static toNumber(r){return r===null||r.length===0?void 0:Number(r)}static parseHeight(r){let o,a="px";if(typeof r=="string")if(r==="auto"||r==="")o=0;else{let u=r.match(/^(-[0-9]+\.[0-9]+|[0-9]*\.[0-9]+|-[0-9]+|[0-9]+)(px|em|rem|vh|vw|%|cm|mm)?$/);if(!u)throw new Error(`Invalid height val = ${r}`);a=u[2]||"px",o=parseFloat(u[1])}else o=r;return{h:o,unit:a}}static defaults(r,...o){return o.forEach(a=>{for(const u in a){if(!a.hasOwnProperty(u))return;r[u]===null||r[u]===void 0?r[u]=a[u]:typeof a[u]=="object"&&typeof r[u]=="object"&&this.defaults(r[u],a[u])}}),r}static same(r,o){if(typeof r!="object")return r==o;if(typeof r!=typeof o||Object.keys(r).length!==Object.keys(o).length)return!1;for(const a in r)if(r[a]!==o[a])return!1;return!0}static copyPos(r,o,a=!1){return o.x!==void 0&&(r.x=o.x),o.y!==void 0&&(r.y=o.y),o.w!==void 0&&(r.w=o.w),o.h!==void 0&&(r.h=o.h),a&&(o.minW&&(r.minW=o.minW),o.minH&&(r.minH=o.minH),o.maxW&&(r.maxW=o.maxW),o.maxH&&(r.maxH=o.maxH)),r}static samePos(r,o){return r&&o&&r.x===o.x&&r.y===o.y&&(r.w||1)===(o.w||1)&&(r.h||1)===(o.h||1)}static sanitizeMinMax(r){r.minW||delete r.minW,r.minH||delete r.minH,r.maxW||delete r.maxW,r.maxH||delete r.maxH}static removeInternalAndSame(r,o){if(!(typeof r!="object"||typeof o!="object"))for(let a in r){const u=r[a],d=o[a];a[0]==="_"||u===d?delete r[a]:u&&typeof u=="object"&&d!==void 0&&(Utils.removeInternalAndSame(u,d),Object.keys(u).length||delete r[a])}}static removeInternalForSave(r,o=!0){for(let a in r)(a[0]==="_"||r[a]===null||r[a]===void 0)&&delete r[a];delete r.grid,o&&delete r.el,r.autoPosition||delete r.autoPosition,r.noResize||delete r.noResize,r.noMove||delete r.noMove,r.locked||delete r.locked,(r.w===1||r.w===r.minW)&&delete r.w,(r.h===1||r.h===r.minH)&&delete r.h}static throttle(r,o){let a=!1;return(...u)=>{a||(a=!0,setTimeout(()=>{r(...u),a=!1},o))}}static removePositioningStyles(r){let o=r.style;o.position&&o.removeProperty("position"),o.left&&o.removeProperty("left"),o.top&&o.removeProperty("top"),o.width&&o.removeProperty("width"),o.height&&o.removeProperty("height")}static getScrollElement(r){if(!r)return document.scrollingElement||document.documentElement;const o=getComputedStyle(r);return/(auto|scroll)/.test(o.overflow+o.overflowY)?r:this.getScrollElement(r.parentElement)}static updateScrollPosition(r,o,a){let u=r.getBoundingClientRect(),d=window.innerHeight||document.documentElement.clientHeight;if(u.top<0||u.bottom>d){let g=u.bottom-d,v=u.top,y=this.getScrollElement(r);if(y!==null){let A=y.scrollTop;u.top<0&&a<0?r.offsetHeight>d?y.scrollTop+=a:y.scrollTop+=Math.abs(v)>Math.abs(a)?a:v:a>0&&(r.offsetHeight>d?y.scrollTop+=a:y.scrollTop+=g>a?a:g),o.top+=y.scrollTop-A}}}static updateScrollResize(r,o,a){const u=this.getScrollElement(o),d=u.clientHeight,g=u===this.getScrollElement()?0:u.getBoundingClientRect().top,v=r.clientY-g,y=vd-a;y?u.scrollBy({behavior:"smooth",top:v-a}):A&&u.scrollBy({behavior:"smooth",top:a-(d-v)})}static clone(r){return r==null||typeof r!="object"?r:r instanceof Array?[...r]:{...r}}static cloneDeep(r){const o=["parentGrid","el","grid","subGrid","engine"],a=Utils.clone(r);for(const u in a)a.hasOwnProperty(u)&&typeof a[u]=="object"&&u.substring(0,2)!=="__"&&!o.find(d=>d===u)&&(a[u]=Utils.cloneDeep(r[u]));return a}static cloneNode(r){const o=r.cloneNode(!0);return o.removeAttribute("id"),o}static appendTo(r,o){let a;typeof o=="string"?a=Utils.getElement(o):a=o,a&&a.appendChild(r)}static addElStyles(r,o){if(o instanceof Object)for(const a in o)o.hasOwnProperty(a)&&(Array.isArray(o[a])?o[a].forEach(u=>{r.style[a]=u}):r.style[a]=o[a])}static initEvent(r,o){const a={type:o.type},u={button:0,which:0,buttons:1,bubbles:!0,cancelable:!0,target:o.target?o.target:r.target};return["altKey","ctrlKey","metaKey","shiftKey"].forEach(d=>a[d]=r[d]),["pageX","pageY","clientX","clientY","screenX","screenY"].forEach(d=>a[d]=r[d]),{...a,...u}}static simulateMouseEvent(r,o,a){const u=document.createEvent("MouseEvents");u.initMouseEvent(o,!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,0,r.target),(a||r.target).dispatchEvent(u)}static getValuesFromTransformedElement(r){const o=document.createElement("div");Utils.addElStyles(o,{opacity:"0",position:"fixed",top:0+"px",left:0+"px",width:"1px",height:"1px",zIndex:"-999999"}),r.appendChild(o);const a=o.getBoundingClientRect();return r.removeChild(o),o.remove(),{xScale:1/a.width,yScale:1/a.height,xOffset:a.left,yOffset:a.top}}static swap(r,o,a){if(!r)return;const u=r[o];r[o]=r[a],r[a]=u}static canBeRotated(r){var o;return!(!r||r.w===r.h||r.locked||r.noResize||((o=r.grid)==null?void 0:o.opts.disableResize)||r.minW&&r.minW===r.maxW||r.minH&&r.minH===r.maxH)}}class GridStackEngine{constructor(r={}){this.addedNodes=[],this.removedNodes=[],this.column=r.column||12,this.maxRow=r.maxRow,this._float=r.float,this.nodes=r.nodes||[],this.onChange=r.onChange}batchUpdate(r=!0,o=!0){return!!this.batchMode===r?this:(this.batchMode=r,r?(this._prevFloat=this._float,this._float=!0,this.cleanNodes(),this.saveInitial()):(this._float=this._prevFloat,delete this._prevFloat,o&&this._packNodes(),this._notify()),this)}_useEntireRowArea(r,o){return(!this.float||this.batchMode&&!this._prevFloat)&&!this._hasLocked&&(!r._moving||r._skipDown||o.y<=r.y)}_fixCollisions(r,o=r,a,u={}){if(this.sortNodes(-1),a=a||this.collide(r,o),!a)return!1;if(r._moving&&!u.nested&&!this.float&&this.swap(r,a))return!0;let d=o;!this._loading&&this._useEntireRowArea(r,o)&&(d={x:0,w:this.column,y:o.y,h:o.h},a=this.collide(r,d,u.skip));let g=!1,v={nested:!0,pack:!1};for(;a=a||this.collide(r,d,u.skip);){let y;if(a.locked||this._loading||r._moving&&!r._skipDown&&o.y>r.y&&!this.float&&(!this.collide(a,{...a,y:r.y},r)||!this.collide(a,{...a,y:o.y-a.h},r))?(r._skipDown=r._skipDown||o.y>r.y,y=this.moveNode(r,{...o,y:a.y+a.h,...v}),(a.locked||this._loading)&&y?Utils.copyPos(o,r):!a.locked&&y&&u.pack&&(this._packNodes(),o.y=a.y+a.h,Utils.copyPos(r,o)),g=g||y):y=this.moveNode(a,{...a,y:o.y+o.h,skip:r,...v}),!y)return g;a=void 0}return g}collide(r,o=r,a){const u=r._id,d=a==null?void 0:a._id;return this.nodes.find(g=>g._id!==u&&g._id!==d&&Utils.isIntercepted(g,o))}collideAll(r,o=r,a){const u=r._id,d=a==null?void 0:a._id;return this.nodes.filter(g=>g._id!==u&&g._id!==d&&Utils.isIntercepted(g,o))}directionCollideCoverage(r,o,a){if(!o.rect||!r._rect)return;let u=r._rect,d={...o.rect};d.y>u.y?(d.h+=d.y-u.y,d.y=u.y):d.h+=u.y-d.y,d.x>u.x?(d.w+=d.x-u.x,d.x=u.x):d.w+=u.x-d.x;let g,v=.5;for(let y of a){if(y.locked||!y._rect)break;let A=y._rect,b=Number.MAX_VALUE,_=Number.MAX_VALUE;u.yA.y+A.h&&(b=(A.y+A.h-d.y)/A.h),u.xA.x+A.w&&(_=(A.x+A.w-d.x)/A.w);let w=Math.min(_,b);w>v&&(v=w,g=y)}return o.collide=g,g}cacheRects(r,o,a,u,d,g){return this.nodes.forEach(v=>v._rect={y:v.y*o+a,x:v.x*r+g,w:v.w*r-g-u,h:v.h*o-a-d}),this}swap(r,o){if(!o||o.locked||!r||r.locked)return!1;function a(){let d=o.x,g=o.y;return o.x=r.x,o.y=r.y,r.h!=o.h?(r.x=d,r.y=o.y+o.h):r.w!=o.w?(r.x=o.x+o.w,r.y=g):(r.x=d,r.y=g),r._dirty=o._dirty=!0,!0}let u;if(r.w===o.w&&r.h===o.h&&(r.x===o.x||r.y===o.y)&&(u=Utils.isTouching(r,o)))return a();if(u!==!1){if(r.w===o.w&&r.x===o.x&&(u||(u=Utils.isTouching(r,o)))){if(o.y{let A;g.locked||(g.autoPosition=!0,r==="list"&&v&&(A=y[v-1])),this.addNode(g,!1,A)}),u||delete this._inColumnResize,a||this.batchUpdate(!1),this}set float(r){this._float!==r&&(this._float=r||!1,r||this._packNodes()._notify())}get float(){return this._float||!1}sortNodes(r=1){return this.nodes=Utils.sort(this.nodes,r),this}_packNodes(){return this.batchMode?this:(this.sortNodes(),this.float?this.nodes.forEach(r=>{if(r._updating||r._orig===void 0||r.y===r._orig.y)return;let o=r.y;for(;o>r._orig.y;)--o,this.collide(r,{x:r.x,y:o,w:r.w,h:r.h})||(r._dirty=!0,r.y=o)}):this.nodes.forEach((r,o)=>{if(!r.locked)for(;r.y>0;){let a=o===0?0:r.y-1;if(!(o===0||!this.collide(r,{x:r.x,y:a,w:r.w,h:r.h})))break;r._dirty=r.y!==a,r.y=a}}),this)}prepareNode(r,o){var u;r._id=(u=r._id)!=null?u:GridStackEngine._idSeq++,(r.x===void 0||r.y===void 0||r.x===null||r.y===null)&&(r.autoPosition=!0);let a={x:0,y:0,w:1,h:1};return Utils.defaults(r,a),r.autoPosition||delete r.autoPosition,r.noResize||delete r.noResize,r.noMove||delete r.noMove,Utils.sanitizeMinMax(r),typeof r.x=="string"&&(r.x=Number(r.x)),typeof r.y=="string"&&(r.y=Number(r.y)),typeof r.w=="string"&&(r.w=Number(r.w)),typeof r.h=="string"&&(r.h=Number(r.h)),isNaN(r.x)&&(r.x=a.x,r.autoPosition=!0),isNaN(r.y)&&(r.y=a.y,r.autoPosition=!0),isNaN(r.w)&&(r.w=a.w),isNaN(r.h)&&(r.h=a.h),this.nodeBoundFix(r,o),r}nodeBoundFix(r,o){let a=r._orig||Utils.copyPos({},r);if(r.maxW&&(r.w=Math.min(r.w,r.maxW)),r.maxH&&(r.h=Math.min(r.h,r.maxH)),r.minW&&r.minW<=this.column&&(r.w=Math.max(r.w,r.minW)),r.minH&&(r.h=Math.max(r.h,r.minH)),(r.x||0)+(r.w||1)>this.column&&this.column<12&&!this._inColumnResize&&r._id&&this.findCacheLayout(r,12)===-1){let d={...r};d.autoPosition||d.x===void 0?(delete d.x,delete d.y):d.x=Math.min(11,d.x),d.w=Math.min(12,d.w||1),this.cacheOneLayout(d,12)}return r.w>this.column?r.w=this.column:r.w<1&&(r.w=1),this.maxRow&&r.h>this.maxRow?r.h=this.maxRow:r.h<1&&(r.h=1),r.x<0&&(r.x=0),r.y<0&&(r.y=0),r.x+r.w>this.column&&(o?r.w=this.column-r.x:r.x=this.column-r.w),this.maxRow&&r.y+r.h>this.maxRow&&(o?r.h=this.maxRow-r.y:r.y=this.maxRow-r.h),Utils.samePos(r,a)||(r._dirty=!0),this}getDirtyNodes(r){return r?this.nodes.filter(o=>o._dirty&&!Utils.samePos(o,o._orig)):this.nodes.filter(o=>o._dirty)}_notify(r){if(this.batchMode||!this.onChange)return this;let o=(r||[]).concat(this.getDirtyNodes());return this.onChange(o),this}cleanNodes(){return this.batchMode?this:(this.nodes.forEach(r=>{delete r._dirty,delete r._lastTried}),this)}saveInitial(){return this.nodes.forEach(r=>{r._orig=Utils.copyPos({},r),delete r._dirty}),this._hasLocked=this.nodes.some(r=>r.locked),this}restoreInitial(){return this.nodes.forEach(r=>{Utils.samePos(r,r._orig)||(Utils.copyPos(r,r._orig),r._dirty=!0)}),this._notify(),this}findEmptyPosition(r,o=this.nodes,a=this.column,u){let d=u?u.y*a+(u.x+u.w):0,g=!1;for(let v=d;!g;++v){let y=v%a,A=Math.floor(v/a);if(y+r.w>a)continue;let b={x:y,y:A,w:r.w,h:r.h};o.find(_=>Utils.isIntercepted(b,_))||((r.x!==y||r.y!==A)&&(r._dirty=!0),r.x=y,r.y=A,delete r.autoPosition,g=!0)}return g}addNode(r,o=!1,a){let u=this.nodes.find(g=>g._id===r._id);if(u)return u;this._inColumnResize?this.nodeBoundFix(r):this.prepareNode(r),delete r._temporaryRemoved,delete r._removeDOM;let d;return r.autoPosition&&this.findEmptyPosition(r,this.nodes,this.column,a)&&(delete r.autoPosition,d=!0),this.nodes.push(r),o&&this.addedNodes.push(r),d||this._fixCollisions(r),this.batchMode||this._packNodes()._notify(),r}removeNode(r,o=!0,a=!1){return this.nodes.find(u=>u._id===r._id)?(a&&this.removedNodes.push(r),o&&(r._removeDOM=!0),this.nodes=this.nodes.filter(u=>u._id!==r._id),r._isAboutToRemove||this._packNodes(),this._notify([r]),this):this}removeAll(r=!0,o=!0){if(delete this._layouts,!this.nodes.length)return this;r&&this.nodes.forEach(u=>u._removeDOM=!0);const a=this.nodes;return this.removedNodes=o?a:[],this.nodes=[],this._notify(a)}moveNodeCheck(r,o){if(!this.changedPosConstrain(r,o))return!1;if(o.pack=!0,!this.maxRow)return this.moveNode(r,o);let a,u=new GridStackEngine({column:this.column,float:this.float,nodes:this.nodes.map(g=>g._id===r._id?(a={...g},a):{...g})});if(!a)return!1;let d=u.moveNode(a,o)&&u.getRow()<=Math.max(this.getRow(),this.maxRow);if(!d&&!o.resizing&&o.collide){let g=o.collide.el.gridstackNode;if(this.swap(r,g))return this._notify(),!0}return d?(u.nodes.filter(g=>g._dirty).forEach(g=>{let v=this.nodes.find(y=>y._id===g._id);!v||(Utils.copyPos(v,g),v._dirty=!0)}),this._notify(),!0):!1}willItFit(r){if(delete r._willFitPos,!this.maxRow)return!0;let o=new GridStackEngine({column:this.column,float:this.float,nodes:this.nodes.map(u=>({...u}))}),a={...r};return this.cleanupNode(a),delete a.el,delete a._id,delete a.content,delete a.grid,o.addNode(a),o.getRow()<=this.maxRow?(r._willFitPos=Utils.copyPos({},a),!0):!1}changedPosConstrain(r,o){return o.w=o.w||r.w,o.h=o.h||r.h,r.x!==o.x||r.y!==o.y?!0:(r.maxW&&(o.w=Math.min(o.w,r.maxW)),r.maxH&&(o.h=Math.min(o.h,r.maxH)),r.minW&&(o.w=Math.max(o.w,r.minW)),r.minH&&(o.h=Math.max(o.h,r.minH)),r.w!==o.w||r.h!==o.h)}moveNode(r,o){var A,b;if(!r||!o)return!1;let a;o.pack===void 0&&!this.batchMode&&(a=o.pack=!0),typeof o.x!="number"&&(o.x=r.x),typeof o.y!="number"&&(o.y=r.y),typeof o.w!="number"&&(o.w=r.w),typeof o.h!="number"&&(o.h=r.h);let u=r.w!==o.w||r.h!==o.h,d=Utils.copyPos({},r,!0);if(Utils.copyPos(d,o),this.nodeBoundFix(d,u),Utils.copyPos(o,d),!o.forceCollide&&Utils.samePos(r,o))return!1;let g=Utils.copyPos({},r),v=this.collideAll(r,d,o.skip),y=!0;if(v.length){let _=r._moving&&!o.nested,w=_?this.directionCollideCoverage(r,o,v):v[0];if(_&&w&&((b=(A=r.grid)==null?void 0:A.opts)==null?void 0:b.subGridDynamic)&&!r.grid._isTemp){let S=Utils.areaIntercept(o.rect,w._rect),C=Utils.area(o.rect),T=Utils.area(w._rect);S/(C.8&&(w.grid.makeSubGrid(w.el,void 0,r),w=void 0)}w?y=!this._fixCollisions(r,d,w,o):(y=!1,a&&delete o.pack)}return y&&(r._dirty=!0,Utils.copyPos(r,d)),o.pack&&this._packNodes()._notify(),!Utils.samePos(r,g)}getRow(){return this.nodes.reduce((r,o)=>Math.max(r,o.y+o.h),0)}beginUpdate(r){return r._updating||(r._updating=!0,delete r._skipDown,this.batchMode||this.saveInitial()),this}endUpdate(){let r=this.nodes.find(o=>o._updating);return r&&(delete r._updating,delete r._skipDown),this}save(r=!0,o){var g;let a=(g=this._layouts)==null?void 0:g.length,u=a&&this.column!==a-1?this._layouts[a-1]:null,d=[];return this.sortNodes(),this.nodes.forEach(v=>{let y=u==null?void 0:u.find(b=>b._id===v._id),A={...v,...y||{}};Utils.removeInternalForSave(A,!r),o&&o(v,A),d.push(A)}),d}layoutsNodesChange(r){return!this._layouts||this._inColumnResize?this:(this._layouts.forEach((o,a)=>{if(!o||a===this.column)return this;if(a{if(!d._orig)return;let g=o.find(v=>v._id===d._id);!g||(g.y>=0&&d.y!==d._orig.y&&(g.y+=d.y-d._orig.y),d.x!==d._orig.x&&(g.x=Math.round(d.x*u)),d.w!==d._orig.w&&(g.w=Math.round(d.w*u)))})}}),this)}columnChanged(r,o,a="moveScale"){var v;if(!this.nodes.length||!o||r===o)return this;if(a==="none")return this;const u=a==="compact"||a==="list";u&&this.sortNodes(1),or&&this._layouts){const y=this._layouts[o]||[];let A=this._layouts.length-1;!y.length&&r!==A&&((v=this._layouts[A])==null?void 0:v.length)&&(r=A,this._layouts[A].forEach(b=>{var w,S,C;let _=g.find(T=>T._id===b._id);_&&(!u&&!b.autoPosition&&(_.x=(w=b.x)!=null?w:_.x,_.y=(S=b.y)!=null?S:_.y),_.w=(C=b.w)!=null?C:_.w,(b.x==null||b.y===void 0)&&(_.autoPosition=!0))})),y.forEach(b=>{var w,S,C;let _=g.findIndex(T=>T._id===b._id);if(_!==-1){const T=g[_];if(u){T.w=b.w;return}(b.autoPosition||isNaN(b.x)||isNaN(b.y))&&this.findEmptyPosition(b,d),b.autoPosition||(T.x=(w=b.x)!=null?w:T.x,T.y=(S=b.y)!=null?S:T.y,T.w=(C=b.w)!=null?C:T.w,d.push(T)),g.splice(_,1)}})}if(u)this.compact(a,!1);else{if(g.length)if(typeof a=="function")a(o,r,d,g);else{let y=u?1:o/r,A=a==="move"||a==="moveScale",b=a==="scale"||a==="moveScale";g.forEach(_=>{_.x=o===1?0:A?Math.round(_.x*y):Math.min(_.x,o-1),_.w=o===1||r===1?1:b?Math.round(_.w*y)||1:Math.min(_.w,o),d.push(_)}),g=[]}d=Utils.sort(d,-1),this._inColumnResize=!0,this.nodes=[],d.forEach(y=>{this.addNode(y,!1),delete y._orig})}return this.nodes.forEach(y=>delete y._orig),this.batchUpdate(!1,!u),delete this._inColumnResize,this}cacheLayout(r,o,a=!1){let u=[];return r.forEach((d,g)=>{var v;if(d._id===void 0){const y=d.id?this.nodes.find(A=>A.id===d.id):void 0;d._id=(v=y==null?void 0:y._id)!=null?v:GridStackEngine._idSeq++}u[g]={x:d.x,y:d.y,w:d.w,_id:d._id}}),this._layouts=a?[]:this._layouts||[],this._layouts[o]=u,this}cacheOneLayout(r,o){var d;r._id=(d=r._id)!=null?d:GridStackEngine._idSeq++;let a={x:r.x,y:r.y,w:r.w,_id:r._id};(r.autoPosition||r.x===void 0)&&(delete a.x,delete a.y,r.autoPosition&&(a.autoPosition=!0)),this._layouts=this._layouts||[],this._layouts[o]=this._layouts[o]||[];let u=this.findCacheLayout(r,o);return u===-1?this._layouts[o].push(a):this._layouts[o][u]=a,this}findCacheLayout(r,o){var a,u,d;return(d=(u=(a=this._layouts)==null?void 0:a[o])==null?void 0:u.findIndex(g=>g._id===r._id))!=null?d:-1}removeNodeFromLayoutCache(r){if(!!this._layouts)for(let o=0;o0||navigator.msMaxTouchPoints>0);class DDTouch{}function simulateMouseEvent(t,r){if(t.touches.length>1)return;t.cancelable&&t.preventDefault();const o=t.changedTouches[0],a=document.createEvent("MouseEvents");a.initMouseEvent(r,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(a)}function simulatePointerMouseEvent(t,r){t.cancelable&&t.preventDefault();const o=document.createEvent("MouseEvents");o.initMouseEvent(r,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(o)}function touchstart(t){DDTouch.touchHandled||(DDTouch.touchHandled=!0,simulateMouseEvent(t,"mousedown"))}function touchmove(t){!DDTouch.touchHandled||simulateMouseEvent(t,"mousemove")}function touchend(t){if(!DDTouch.touchHandled)return;DDTouch.pointerLeaveTimeout&&(window.clearTimeout(DDTouch.pointerLeaveTimeout),delete DDTouch.pointerLeaveTimeout);const r=!!DDManager.dragElement;simulateMouseEvent(t,"mouseup"),r||simulateMouseEvent(t,"click"),DDTouch.touchHandled=!1}function pointerdown(t){t.pointerType!=="mouse"&&t.target.releasePointerCapture(t.pointerId)}function pointerenter(t){!DDManager.dragElement||t.pointerType!=="mouse"&&simulatePointerMouseEvent(t,"mouseenter")}function pointerleave(t){!DDManager.dragElement||t.pointerType!=="mouse"&&(DDTouch.pointerLeaveTimeout=window.setTimeout(()=>{delete DDTouch.pointerLeaveTimeout,simulatePointerMouseEvent(t,"mouseleave")},10))}class DDResizableHandle{constructor(r,o,a){this.host=r,this.dir=o,this.option=a,this.moving=!1,this._mouseDown=this._mouseDown.bind(this),this._mouseMove=this._mouseMove.bind(this),this._mouseUp=this._mouseUp.bind(this),this._keyEvent=this._keyEvent.bind(this),this._init()}_init(){const r=this.el=document.createElement("div");return r.classList.add("ui-resizable-handle"),r.classList.add(`${DDResizableHandle.prefix}${this.dir}`),r.style.zIndex="100",r.style.userSelect="none",this.host.appendChild(this.el),this.el.addEventListener("mousedown",this._mouseDown),isTouch&&(this.el.addEventListener("touchstart",touchstart),this.el.addEventListener("pointerdown",pointerdown)),this}destroy(){return this.moving&&this._mouseUp(this.mouseDownEvent),this.el.removeEventListener("mousedown",this._mouseDown),isTouch&&(this.el.removeEventListener("touchstart",touchstart),this.el.removeEventListener("pointerdown",pointerdown)),this.host.removeChild(this.el),delete this.el,delete this.host,this}_mouseDown(r){this.mouseDownEvent=r,document.addEventListener("mousemove",this._mouseMove,{capture:!0,passive:!0}),document.addEventListener("mouseup",this._mouseUp,!0),isTouch&&(this.el.addEventListener("touchmove",touchmove),this.el.addEventListener("touchend",touchend)),r.stopPropagation(),r.preventDefault()}_mouseMove(r){let o=this.mouseDownEvent;this.moving?this._triggerEvent("move",r):Math.abs(r.x-o.x)+Math.abs(r.y-o.y)>2&&(this.moving=!0,this._triggerEvent("start",this.mouseDownEvent),this._triggerEvent("move",r),document.addEventListener("keydown",this._keyEvent)),r.stopPropagation()}_mouseUp(r){this.moving&&(this._triggerEvent("stop",r),document.removeEventListener("keydown",this._keyEvent)),document.removeEventListener("mousemove",this._mouseMove,!0),document.removeEventListener("mouseup",this._mouseUp,!0),isTouch&&(this.el.removeEventListener("touchmove",touchmove),this.el.removeEventListener("touchend",touchend)),delete this.moving,delete this.mouseDownEvent,r.stopPropagation(),r.preventDefault()}_keyEvent(r){var o,a;r.key==="Escape"&&((a=(o=this.host.gridstackNode)==null?void 0:o.grid)==null||a.engine.restoreInitial(),this._mouseUp(this.mouseDownEvent))}_triggerEvent(r,o){return this.option[r]&&this.option[r](o),this}}DDResizableHandle.prefix="ui-resizable-";class DDBaseImplement{constructor(){this._eventRegister={}}get disabled(){return this._disabled}on(r,o){this._eventRegister[r]=o}off(r){delete this._eventRegister[r]}enable(){this._disabled=!1}disable(){this._disabled=!0}destroy(){delete this._eventRegister}triggerEvent(r,o){if(!this.disabled&&this._eventRegister&&this._eventRegister[r])return this._eventRegister[r](o)}}class DDResizable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this.rectScale={x:1,y:1},this._ui=()=>{const u=this.el.parentElement.getBoundingClientRect(),d={width:this.originalRect.width,height:this.originalRect.height+this.scrolled,left:this.originalRect.left,top:this.originalRect.top-this.scrolled},g=this.temporalRect||d;return{position:{left:(g.left-u.left)*this.rectScale.x,top:(g.top-u.top)*this.rectScale.y},size:{width:g.width*this.rectScale.x,height:g.height*this.rectScale.y}}},this._mouseOver=this._mouseOver.bind(this),this._mouseOut=this._mouseOut.bind(this),this.enable(),this._setupAutoHide(this.option.autoHide),this._setupHandlers()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){super.enable(),this.el.classList.remove("ui-resizable-disabled"),this._setupAutoHide(this.option.autoHide)}disable(){super.disable(),this.el.classList.add("ui-resizable-disabled"),this._setupAutoHide(!1)}destroy(){this._removeHandlers(),this._setupAutoHide(!1),delete this.el,super.destroy()}updateOption(r){let o=r.handles&&r.handles!==this.option.handles,a=r.autoHide&&r.autoHide!==this.option.autoHide;return Object.keys(r).forEach(u=>this.option[u]=r[u]),o&&(this._removeHandlers(),this._setupHandlers()),a&&this._setupAutoHide(this.option.autoHide),this}_setupAutoHide(r){return r?(this.el.classList.add("ui-resizable-autohide"),this.el.addEventListener("mouseover",this._mouseOver),this.el.addEventListener("mouseout",this._mouseOut)):(this.el.classList.remove("ui-resizable-autohide"),this.el.removeEventListener("mouseover",this._mouseOver),this.el.removeEventListener("mouseout",this._mouseOut),DDManager.overResizeElement===this&&delete DDManager.overResizeElement),this}_mouseOver(r){DDManager.overResizeElement||DDManager.dragElement||(DDManager.overResizeElement=this,this.el.classList.remove("ui-resizable-autohide"))}_mouseOut(r){DDManager.overResizeElement===this&&(delete DDManager.overResizeElement,this.el.classList.add("ui-resizable-autohide"))}_setupHandlers(){return this.handlers=this.option.handles.split(",").map(r=>r.trim()).map(r=>new DDResizableHandle(this.el,r,{start:o=>{this._resizeStart(o)},stop:o=>{this._resizeStop(o)},move:o=>{this._resizing(o,r)}})),this}_resizeStart(r){this.sizeToContent=Utils.shouldSizeToContent(this.el.gridstackNode,!0),this.originalRect=this.el.getBoundingClientRect(),this.scrollEl=Utils.getScrollElement(this.el),this.scrollY=this.scrollEl.scrollTop,this.scrolled=0,this.startEvent=r,this._setupHelper(),this._applyChange();const o=Utils.initEvent(r,{type:"resizestart",target:this.el});return this.option.start&&this.option.start(o,this._ui()),this.el.classList.add("ui-resizable-resizing"),this.triggerEvent("resizestart",o),this}_resizing(r,o){this.scrolled=this.scrollEl.scrollTop-this.scrollY,this.temporalRect=this._getChange(r,o),this._applyChange();const a=Utils.initEvent(r,{type:"resize",target:this.el});return this.option.resize&&this.option.resize(a,this._ui()),this.triggerEvent("resize",a),this}_resizeStop(r){const o=Utils.initEvent(r,{type:"resizestop",target:this.el});return this.option.stop&&this.option.stop(o),this.el.classList.remove("ui-resizable-resizing"),this.triggerEvent("resizestop",o),this._cleanHelper(),delete this.startEvent,delete this.originalRect,delete this.temporalRect,delete this.scrollY,delete this.scrolled,this}_setupHelper(){this.elOriginStyleVal=DDResizable._originStyleProp.map(a=>this.el.style[a]),this.parentOriginStylePosition=this.el.parentElement.style.position;const r=this.el.parentElement,o=Utils.getValuesFromTransformedElement(r);return this.rectScale={x:o.xScale,y:o.yScale},getComputedStyle(this.el.parentElement).position.match(/static/)&&(this.el.parentElement.style.position="relative"),this.el.style.position="absolute",this.el.style.opacity="0.8",this}_cleanHelper(){return DDResizable._originStyleProp.forEach((r,o)=>{this.el.style[r]=this.elOriginStyleVal[o]||null}),this.el.parentElement.style.position=this.parentOriginStylePosition||null,this}_getChange(r,o){const a=this.startEvent,u={width:this.originalRect.width,height:this.originalRect.height+this.scrolled,left:this.originalRect.left,top:this.originalRect.top-this.scrolled},d=r.clientX-a.clientX,g=this.sizeToContent?0:r.clientY-a.clientY;let v,y;o.indexOf("e")>-1?u.width+=d:o.indexOf("w")>-1&&(u.width-=d,u.left+=d,v=!0),o.indexOf("s")>-1?u.height+=g:o.indexOf("n")>-1&&(u.height-=g,u.top+=g,y=!0);const A=this._constrainSize(u.width,u.height,v,y);return Math.round(u.width)!==Math.round(A.width)&&(o.indexOf("w")>-1&&(u.left+=u.width-A.width),u.width=A.width),Math.round(u.height)!==Math.round(A.height)&&(o.indexOf("n")>-1&&(u.top+=u.height-A.height),u.height=A.height),u}_constrainSize(r,o,a,u){const d=this.option,g=(a?d.maxWidthMoveLeft:d.maxWidth)||Number.MAX_SAFE_INTEGER,v=d.minWidth/this.rectScale.x||r,y=(u?d.maxHeightMoveUp:d.maxHeight)||Number.MAX_SAFE_INTEGER,A=d.minHeight/this.rectScale.y||o,b=Math.min(g,Math.max(v,r)),_=Math.min(y,Math.max(A,o));return{width:b,height:_}}_applyChange(){let r={left:0,top:0,width:0,height:0};if(this.el.style.position==="absolute"){const o=this.el.parentElement,{left:a,top:u}=o.getBoundingClientRect();r={left:a,top:u,width:0,height:0}}return this.temporalRect?(Object.keys(this.temporalRect).forEach(o=>{const a=this.temporalRect[o],u=o==="width"||o==="left"?this.rectScale.x:o==="height"||o==="top"?this.rectScale.y:1;this.el.style[o]=(a-r[o])*u+"px"}),this):this}_removeHandlers(){return this.handlers.forEach(r=>r.destroy()),delete this.handlers,this}}DDResizable._originStyleProp=["width","height","position","left","top","opacity","zIndex"];const skipMouseDown='input,textarea,button,select,option,[contenteditable="true"],.ui-resizable-handle';class DDDraggable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this.dragTransform={xScale:1,yScale:1,xOffset:0,yOffset:0};const a=o.handle.substring(1),u=r.gridstackNode;this.dragEls=r.classList.contains(a)?[r]:u!=null&&u.subGrid?[r.querySelector(o.handle)||r]:Array.from(r.querySelectorAll(o.handle)),this.dragEls.length===0&&(this.dragEls=[r]),this._mouseDown=this._mouseDown.bind(this),this._mouseMove=this._mouseMove.bind(this),this._mouseUp=this._mouseUp.bind(this),this._keyEvent=this._keyEvent.bind(this),this.enable()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){this.disabled!==!1&&(super.enable(),this.dragEls.forEach(r=>{r.addEventListener("mousedown",this._mouseDown),isTouch&&(r.addEventListener("touchstart",touchstart),r.addEventListener("pointerdown",pointerdown))}),this.el.classList.remove("ui-draggable-disabled"))}disable(r=!1){this.disabled!==!0&&(super.disable(),this.dragEls.forEach(o=>{o.removeEventListener("mousedown",this._mouseDown),isTouch&&(o.removeEventListener("touchstart",touchstart),o.removeEventListener("pointerdown",pointerdown))}),r||this.el.classList.add("ui-draggable-disabled"))}destroy(){this.dragTimeout&&window.clearTimeout(this.dragTimeout),delete this.dragTimeout,this.mouseDownEvent&&this._mouseUp(this.mouseDownEvent),this.disable(!0),delete this.el,delete this.helper,delete this.option,super.destroy()}updateOption(r){return Object.keys(r).forEach(o=>this.option[o]=r[o]),this}_mouseDown(r){if(!DDManager.mouseHandled)return r.button!==0||!this.dragEls.find(o=>o===r.target)&&r.target.closest(skipMouseDown)||this.option.cancel&&r.target.closest(this.option.cancel)||(this.mouseDownEvent=r,delete this.dragging,delete DDManager.dragElement,delete DDManager.dropElement,document.addEventListener("mousemove",this._mouseMove,{capture:!0,passive:!0}),document.addEventListener("mouseup",this._mouseUp,!0),isTouch&&(r.target.addEventListener("touchmove",touchmove),r.target.addEventListener("touchend",touchend)),r.preventDefault(),document.activeElement&&document.activeElement.blur(),DDManager.mouseHandled=!0),!0}_callDrag(r){if(!this.dragging)return;const o=Utils.initEvent(r,{target:this.el,type:"drag"});this.option.drag&&this.option.drag(o,this.ui()),this.triggerEvent("drag",o)}_mouseMove(r){var a;let o=this.mouseDownEvent;if(this.lastDrag=r,this.dragging)if(this._dragFollow(r),DDManager.pauseDrag){const u=Number.isInteger(DDManager.pauseDrag)?DDManager.pauseDrag:100;this.dragTimeout&&window.clearTimeout(this.dragTimeout),this.dragTimeout=window.setTimeout(()=>this._callDrag(r),u)}else this._callDrag(r);else if(Math.abs(r.x-o.x)+Math.abs(r.y-o.y)>3){this.dragging=!0,DDManager.dragElement=this;let u=(a=this.el.gridstackNode)==null?void 0:a.grid;u?DDManager.dropElement=u.el.ddElement.ddDroppable:delete DDManager.dropElement,this.helper=this._createHelper(r),this._setupHelperContainmentStyle(),this.dragTransform=Utils.getValuesFromTransformedElement(this.helperContainment),this.dragOffset=this._getDragOffset(r,this.el,this.helperContainment),this._setupHelperStyle(r);const d=Utils.initEvent(r,{target:this.el,type:"dragstart"});this.option.start&&this.option.start(d,this.ui()),this.triggerEvent("dragstart",d),document.addEventListener("keydown",this._keyEvent)}return!0}_mouseUp(r){var o,a;if(document.removeEventListener("mousemove",this._mouseMove,!0),document.removeEventListener("mouseup",this._mouseUp,!0),isTouch&&(r.target.removeEventListener("touchmove",touchmove,!0),r.target.removeEventListener("touchend",touchend,!0)),this.dragging){delete this.dragging,(o=this.el.gridstackNode)==null||delete o._origRotate,document.removeEventListener("keydown",this._keyEvent),((a=DDManager.dropElement)==null?void 0:a.el)===this.el.parentElement&&delete DDManager.dropElement,this.helperContainment.style.position=this.parentOriginStylePosition||null,this.helper===this.el?this._removeHelperStyle():this.helper.remove();const u=Utils.initEvent(r,{target:this.el,type:"dragstop"});this.option.stop&&this.option.stop(u),this.triggerEvent("dragstop",u),DDManager.dropElement&&DDManager.dropElement.drop(r)}delete this.helper,delete this.mouseDownEvent,delete DDManager.dragElement,delete DDManager.dropElement,delete DDManager.mouseHandled,r.preventDefault()}_keyEvent(r){const o=this.el.gridstackNode;if(!(o!=null&&o.grid))return;const a=o.grid;if(r.key==="Escape")o._origRotate&&(o._orig=o._origRotate,delete o._origRotate),a.engine.restoreInitial(),this._mouseUp(this.mouseDownEvent);else if(r.key==="r"||r.key==="R"){if(!Utils.canBeRotated(o))return;o._origRotate=o._origRotate||{...o._orig},delete o._moving,a.setAnimation(!1).rotate(o.el,{top:-this.dragOffset.offsetTop,left:-this.dragOffset.offsetLeft}).setAnimation(),o._moving=!0,this.dragOffset=this._getDragOffset(this.lastDrag,o.el,this.helperContainment),this.helper.style.width=this.dragOffset.width+"px",this.helper.style.height=this.dragOffset.height+"px",Utils.swap(o._orig,"w","h"),delete o._rect,this._mouseMove(this.lastDrag)}}_createHelper(r){let o=this.el;return typeof this.option.helper=="function"?o=this.option.helper(r):this.option.helper==="clone"&&(o=Utils.cloneNode(this.el)),document.body.contains(o)||Utils.appendTo(o,this.option.appendTo==="parent"?this.el.parentElement:this.option.appendTo),o===this.el&&(this.dragElementOriginStyle=DDDraggable.originStyleProp.map(a=>this.el.style[a])),o}_setupHelperStyle(r){this.helper.classList.add("ui-draggable-dragging");const o=this.helper.style;return o.pointerEvents="none",o.width=this.dragOffset.width+"px",o.height=this.dragOffset.height+"px",o.willChange="left, top",o.position="fixed",this._dragFollow(r),o.transition="none",setTimeout(()=>{this.helper&&(o.transition=null)},0),this}_removeHelperStyle(){var o;this.helper.classList.remove("ui-draggable-dragging");let r=(o=this.helper)==null?void 0:o.gridstackNode;if(!(r!=null&&r._isAboutToRemove)&&this.dragElementOriginStyle){let a=this.helper,u=this.dragElementOriginStyle.transition||null;a.style.transition=this.dragElementOriginStyle.transition="none",DDDraggable.originStyleProp.forEach(d=>a.style[d]=this.dragElementOriginStyle[d]||null),setTimeout(()=>a.style.transition=u,50)}return delete this.dragElementOriginStyle,this}_dragFollow(r){let o={left:0,top:0};const a=this.helper.style,u=this.dragOffset;a.left=(r.clientX+u.offsetLeft-o.left)*this.dragTransform.xScale+"px",a.top=(r.clientY+u.offsetTop-o.top)*this.dragTransform.yScale+"px"}_setupHelperContainmentStyle(){return this.helperContainment=this.helper.parentElement,this.helper.style.position!=="fixed"&&(this.parentOriginStylePosition=this.helperContainment.style.position,getComputedStyle(this.helperContainment).position.match(/static/)&&(this.helperContainment.style.position="relative")),this}_getDragOffset(r,o,a){let u=0,d=0;a&&(u=this.dragTransform.xOffset,d=this.dragTransform.yOffset);const g=o.getBoundingClientRect();return{left:g.left,top:g.top,offsetLeft:-r.clientX+g.left-u,offsetTop:-r.clientY+g.top-d,width:g.width*this.dragTransform.xScale,height:g.height*this.dragTransform.yScale}}ui(){const o=this.el.parentElement.getBoundingClientRect(),a=this.helper.getBoundingClientRect();return{position:{top:(a.top-o.top)*this.dragTransform.yScale,left:(a.left-o.left)*this.dragTransform.xScale}}}}DDDraggable.originStyleProp=["transition","pointerEvents","position","left","top","minWidth","willChange"];class DDDroppable extends DDBaseImplement{constructor(r,o={}){super(),this.el=r,this.option=o,this._mouseEnter=this._mouseEnter.bind(this),this._mouseLeave=this._mouseLeave.bind(this),this.enable(),this._setupAccept()}on(r,o){super.on(r,o)}off(r){super.off(r)}enable(){this.disabled!==!1&&(super.enable(),this.el.classList.add("ui-droppable"),this.el.classList.remove("ui-droppable-disabled"),this.el.addEventListener("mouseenter",this._mouseEnter),this.el.addEventListener("mouseleave",this._mouseLeave),isTouch&&(this.el.addEventListener("pointerenter",pointerenter),this.el.addEventListener("pointerleave",pointerleave)))}disable(r=!1){this.disabled!==!0&&(super.disable(),this.el.classList.remove("ui-droppable"),r||this.el.classList.add("ui-droppable-disabled"),this.el.removeEventListener("mouseenter",this._mouseEnter),this.el.removeEventListener("mouseleave",this._mouseLeave),isTouch&&(this.el.removeEventListener("pointerenter",pointerenter),this.el.removeEventListener("pointerleave",pointerleave)))}destroy(){this.disable(!0),this.el.classList.remove("ui-droppable"),this.el.classList.remove("ui-droppable-disabled"),super.destroy()}updateOption(r){return Object.keys(r).forEach(o=>this.option[o]=r[o]),this._setupAccept(),this}_mouseEnter(r){if(!DDManager.dragElement||!this._canDrop(DDManager.dragElement.el))return;r.preventDefault(),r.stopPropagation(),DDManager.dropElement&&DDManager.dropElement!==this&&DDManager.dropElement._mouseLeave(r,!0),DDManager.dropElement=this;const o=Utils.initEvent(r,{target:this.el,type:"dropover"});this.option.over&&this.option.over(o,this._ui(DDManager.dragElement)),this.triggerEvent("dropover",o),this.el.classList.add("ui-droppable-over")}_mouseLeave(r,o=!1){var u;if(!DDManager.dragElement||DDManager.dropElement!==this)return;r.preventDefault(),r.stopPropagation();const a=Utils.initEvent(r,{target:this.el,type:"dropout"});if(this.option.out&&this.option.out(a,this._ui(DDManager.dragElement)),this.triggerEvent("dropout",a),DDManager.dropElement===this&&(delete DDManager.dropElement,!o)){let d,g=this.el.parentElement;for(;!d&&g;)d=(u=g.ddElement)==null?void 0:u.ddDroppable,g=g.parentElement;d&&d._mouseEnter(r)}}drop(r){r.preventDefault();const o=Utils.initEvent(r,{target:this.el,type:"drop"});this.option.drop&&this.option.drop(o,this._ui(DDManager.dragElement)),this.triggerEvent("drop",o)}_canDrop(r){return r&&(!this.accept||this.accept(r))}_setupAccept(){return this.option.accept?(typeof this.option.accept=="string"?this.accept=r=>r.classList.contains(this.option.accept)||r.matches(this.option.accept):this.accept=this.option.accept,this):this}_ui(r){return{draggable:r.el,...r.ui()}}}class DDElement{static init(r){return r.ddElement||(r.ddElement=new DDElement(r)),r.ddElement}constructor(r){this.el=r}on(r,o){return this.ddDraggable&&["drag","dragstart","dragstop"].indexOf(r)>-1?this.ddDraggable.on(r,o):this.ddDroppable&&["drop","dropover","dropout"].indexOf(r)>-1?this.ddDroppable.on(r,o):this.ddResizable&&["resizestart","resize","resizestop"].indexOf(r)>-1&&this.ddResizable.on(r,o),this}off(r){return this.ddDraggable&&["drag","dragstart","dragstop"].indexOf(r)>-1?this.ddDraggable.off(r):this.ddDroppable&&["drop","dropover","dropout"].indexOf(r)>-1?this.ddDroppable.off(r):this.ddResizable&&["resizestart","resize","resizestop"].indexOf(r)>-1&&this.ddResizable.off(r),this}setupDraggable(r){return this.ddDraggable?this.ddDraggable.updateOption(r):this.ddDraggable=new DDDraggable(this.el,r),this}cleanDraggable(){return this.ddDraggable&&(this.ddDraggable.destroy(),delete this.ddDraggable),this}setupResizable(r){return this.ddResizable?this.ddResizable.updateOption(r):this.ddResizable=new DDResizable(this.el,r),this}cleanResizable(){return this.ddResizable&&(this.ddResizable.destroy(),delete this.ddResizable),this}setupDroppable(r){return this.ddDroppable?this.ddDroppable.updateOption(r):this.ddDroppable=new DDDroppable(this.el,r),this}cleanDroppable(){return this.ddDroppable&&(this.ddDroppable.destroy(),delete this.ddDroppable),this}}class DDGridStack{resizable(r,o,a,u){return this._getDDElements(r).forEach(d=>{if(o==="disable"||o==="enable")d.ddResizable&&d.ddResizable[o]();else if(o==="destroy")d.ddResizable&&d.cleanResizable();else if(o==="option")d.setupResizable({[a]:u});else{const v=d.el.gridstackNode.grid;let y=d.el.getAttribute("gs-resize-handles")||v.opts.resizable.handles||"e,s,se";y==="all"&&(y="n,e,s,w,se,sw,ne,nw");const A=!v.opts.alwaysShowResizeHandle;d.setupResizable({...v.opts.resizable,handles:y,autoHide:A,start:o.start,stop:o.stop,resize:o.resize})}}),this}draggable(r,o,a,u){return this._getDDElements(r).forEach(d=>{if(o==="disable"||o==="enable")d.ddDraggable&&d.ddDraggable[o]();else if(o==="destroy")d.ddDraggable&&d.cleanDraggable();else if(o==="option")d.setupDraggable({[a]:u});else{const g=d.el.gridstackNode.grid;d.setupDraggable({...g.opts.draggable,start:o.start,stop:o.stop,drag:o.drag})}}),this}dragIn(r,o){return this._getDDElements(r).forEach(a=>a.setupDraggable(o)),this}droppable(r,o,a,u){return typeof o.accept=="function"&&!o._accept&&(o._accept=o.accept,o.accept=d=>o._accept(d)),this._getDDElements(r).forEach(d=>{o==="disable"||o==="enable"?d.ddDroppable&&d.ddDroppable[o]():o==="destroy"?d.ddDroppable&&d.cleanDroppable():o==="option"?d.setupDroppable({[a]:u}):d.setupDroppable(o)}),this}isDroppable(r){return!!(r&&r.ddElement&&r.ddElement.ddDroppable&&!r.ddElement.ddDroppable.disabled)}isDraggable(r){return!!(r&&r.ddElement&&r.ddElement.ddDraggable&&!r.ddElement.ddDraggable.disabled)}isResizable(r){return!!(r&&r.ddElement&&r.ddElement.ddResizable&&!r.ddElement.ddResizable.disabled)}on(r,o,a){return this._getDDElements(r).forEach(u=>u.on(o,d=>{a(d,DDManager.dragElement?DDManager.dragElement.el:d.target,DDManager.dragElement?DDManager.dragElement.helper:null)})),this}off(r,o){return this._getDDElements(r).forEach(a=>a.off(o)),this}_getDDElements(r,o=!0){let a=Utils.getElements(r);if(!a.length)return[];let u=a.map(d=>d.ddElement||(o?DDElement.init(d):null));return o||u.filter(d=>d),u}}/*! * GridStack 10.3.1 * https://gridstackjs.com/ * @@ -1518,8 +1518,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * see root license https://github.com/gridstack/gridstack.js/tree/master/LICENSE */const dd=new DDGridStack;class GridStack{static init(r={},o=".grid-stack"){if(typeof document=="undefined")return null;let a=GridStack.getGridElement(o);return a?(a.gridstack||(a.gridstack=new GridStack(a,Utils.cloneDeep(r))),a.gridstack):(console.error(typeof o=="string"?'GridStack.initAll() no grid was found with selector "'+o+`" - element missing or wrong selector ? Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the default selector.`:"GridStack.init() no grid element was passed."),null)}static initAll(r={},o=".grid-stack"){let a=[];return typeof document=="undefined"||(GridStack.getGridElements(o).forEach(u=>{u.gridstack||(u.gridstack=new GridStack(u,Utils.cloneDeep(r))),a.push(u.gridstack)}),a.length===0&&console.error('GridStack.initAll() no grid was found with selector "'+o+`" - element missing or wrong selector ? -Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the default selector.`)),a}static addGrid(r,o={}){if(!r)return null;let a=r;if(a.gridstack){const g=a.gridstack;return o&&(g.opts={...g.opts,...o}),o.children!==void 0&&g.load(o.children),g}if(!r.classList.contains("grid-stack")||GridStack.addRemoveCB)if(GridStack.addRemoveCB)a=GridStack.addRemoveCB(r,o,!0,!0);else{let g=document.implementation.createHTMLDocument("");g.body.innerHTML=`
    `,a=g.body.children[0],r.appendChild(a)}return GridStack.init(o,a)}static registerEngine(r){GridStack.engineClass=r}get placeholder(){if(!this._placeholder){let r=document.createElement("div");r.className="placeholder-content",this.opts.placeholderText&&(r.innerHTML=this.opts.placeholderText),this._placeholder=document.createElement("div"),this._placeholder.classList.add(this.opts.placeholderClass,gridDefaults.itemClass,this.opts.itemClass),this.placeholder.appendChild(r)}return this._placeholder}constructor(r,o={}){var _,w,S,C;this.el=r,this.opts=o,this._gsEventHandler={},this._extraDragRow=0,this.dragTransform={xScale:1,yScale:1,xOffset:0,yOffset:0},r.gridstack=this,o=o||{},r.classList.contains("grid-stack")||this.el.classList.add("grid-stack"),o.row&&(o.minRow=o.maxRow=o.row,delete o.row);let a=Utils.toNumber(r.getAttribute("gs-row"));o.column==="auto"&&delete o.column,o.alwaysShowResizeHandle!==void 0&&(o._alwaysShowResizeHandle=o.alwaysShowResizeHandle);let u=(_=o.columnOpts)==null?void 0:_.breakpoints;const d=o;if(d.oneColumnModeDomSort&&(delete d.oneColumnModeDomSort,console.log("warning: Gridstack oneColumnModeDomSort no longer supported. Use GridStackOptions.columnOpts instead.")),d.oneColumnSize||d.disableOneColumnMode===!1){const T=d.oneColumnSize||768;delete d.oneColumnSize,delete d.disableOneColumnMode,o.columnOpts=o.columnOpts||{},u=o.columnOpts.breakpoints=o.columnOpts.breakpoints||[];let I=u.find(E=>E.c===1);I?I.w=T:(I={c:1,w:T},u.push(I,{c:12,w:T+1}))}const g=o.columnOpts;g&&(!g.columnWidth&&!((w=g.breakpoints)!=null&&w.length)?(delete o.columnOpts,u=void 0):g.columnMax=g.columnMax||12),(u==null?void 0:u.length)>1&&u.sort((T,I)=>(I.w||0)-(T.w||0));let v={...Utils.cloneDeep(gridDefaults),column:Utils.toNumber(r.getAttribute("gs-column"))||gridDefaults.column,minRow:a||Utils.toNumber(r.getAttribute("gs-min-row"))||gridDefaults.minRow,maxRow:a||Utils.toNumber(r.getAttribute("gs-max-row"))||gridDefaults.maxRow,staticGrid:Utils.toBool(r.getAttribute("gs-static"))||gridDefaults.staticGrid,draggable:{handle:(o.handleClass?"."+o.handleClass:o.handle?o.handle:"")||gridDefaults.draggable.handle},removableOptions:{accept:o.itemClass||gridDefaults.removableOptions.accept,decline:gridDefaults.removableOptions.decline}};r.getAttribute("gs-animate")&&(v.animate=Utils.toBool(r.getAttribute("gs-animate"))),o=Utils.defaults(o,v),this._initMargin(),this.checkDynamicColumn(),this.el.classList.add("gs-"+o.column),o.rtl==="auto"&&(o.rtl=r.style.direction==="rtl"),o.rtl&&this.el.classList.add("grid-stack-rtl");const y=(S=this.el.parentElement)==null?void 0:S.parentElement;let A=y!=null&&y.classList.contains(gridDefaults.itemClass)?y.gridstackNode:void 0;A&&(A.subGrid=this,this.parentGridItem=A,this.el.classList.add("grid-stack-nested"),A.el.classList.add("grid-stack-sub-grid")),this._isAutoCellHeight=o.cellHeight==="auto",this._isAutoCellHeight||o.cellHeight==="initial"?this.cellHeight(void 0,!1):(typeof o.cellHeight=="number"&&o.cellHeightUnit&&o.cellHeightUnit!==gridDefaults.cellHeightUnit&&(o.cellHeight=o.cellHeight+o.cellHeightUnit,delete o.cellHeightUnit),this.cellHeight(o.cellHeight,!1)),o.alwaysShowResizeHandle==="mobile"&&(o.alwaysShowResizeHandle=isTouch),this._styleSheetClass="gs-id-"+GridStackEngine._idSeq++,this.el.classList.add(this._styleSheetClass),this._setStaticClass();let b=o.engineClass||GridStack.engineClass||GridStackEngine;if(this.engine=new b({column:this.getColumn(),float:o.float,maxRow:o.maxRow,onChange:T=>{let I=0;this.engine.nodes.forEach(E=>{I=Math.max(I,E.y+E.h)}),T.forEach(E=>{let F=E.el;!F||(E._removeDOM?(F&&F.remove(),delete E._removeDOM):this._writePosAttr(F,E))}),this._updateStyles(!1,I)}}),this._updateStyles(!1,0),o.auto&&(this.batchUpdate(),this.engine._loading=!0,this.getGridItems().forEach(T=>this._prepareElement(T)),delete this.engine._loading,this.batchUpdate(!1)),o.children){const T=o.children;delete o.children,T.length&&this.load(T)}this.setAnimation(),o.subGridDynamic&&!DDManager.pauseDrag&&(DDManager.pauseDrag=!0),((C=o.draggable)==null?void 0:C.pause)!==void 0&&(DDManager.pauseDrag=o.draggable.pause),this._setupRemoveDrop(),this._setupAcceptWidget(),this._updateResizeEvent()}addWidget(r,o){function a(v){return v.el!==void 0||v.x!==void 0||v.y!==void 0||v.w!==void 0||v.h!==void 0||v.content!==void 0}let u,d;if(typeof r=="string"){let v=document.implementation.createHTMLDocument("");v.body.innerHTML=r,u=v.body.children[0]}else if(arguments.length===0||arguments.length===1&&a(r))if(d=o=r,d!=null&&d.el)u=d.el;else if(GridStack.addRemoveCB)u=GridStack.addRemoveCB(this.el,o,!0,!1);else{let v=(o==null?void 0:o.content)||"",y=document.implementation.createHTMLDocument("");y.body.innerHTML=`
    ${v}
    `,u=y.body.children[0]}else u=r;if(!u)return;if(d=u.gridstackNode,d&&u.parentElement===this.el&&this.engine.nodes.find(v=>v._id===d._id))return u;let g=this._readAttr(u);return o=Utils.cloneDeep(o)||{},Utils.defaults(o,g),d=this.engine.prepareNode(o),this._writeAttr(u,o),this.el.appendChild(u),this.makeWidget(u,o),u}makeSubGrid(r,o,a,u=!0){var S,C,T;let d=r.gridstackNode;if(d||(d=this.makeWidget(r).gridstackNode),(S=d.subGrid)!=null&&S.el)return d.subGrid;let g,v=this;for(;v&&!g;)g=(C=v.opts)==null?void 0:C.subGridOpts,v=(T=v.parentGridItem)==null?void 0:T.grid;o=Utils.cloneDeep({...g||{},children:void 0,...o||d.subGridOpts||{}}),d.subGridOpts=o;let y;o.column==="auto"&&(y=!0,o.column=Math.max(d.w||1,(a==null?void 0:a.w)||1),delete o.columnOpts);let A=d.el.querySelector(".grid-stack-item-content"),b,_;if(u){if(this._removeDD(d.el),_={...d,x:0,y:0},Utils.removeInternalForSave(_),delete _.subGridOpts,d.content&&(_.content=d.content,delete d.content),GridStack.addRemoveCB)b=GridStack.addRemoveCB(this.el,_,!0,!1);else{let I=document.implementation.createHTMLDocument("");I.body.innerHTML='
    ',b=I.body.children[0],b.appendChild(A),I.body.innerHTML='
    ',A=I.body.children[0],d.el.appendChild(A)}this._prepareDragDropByNode(d)}if(a){let I=y?o.column:d.w,E=d.h+a.h,F=d.el.style;F.transition="none",this.update(d.el,{w:I,h:E}),setTimeout(()=>F.transition=null)}let w=d.subGrid=GridStack.addGrid(A,o);return a!=null&&a._moving&&(w._isTemp=!0),y&&(w._autoColumn=!0),u&&w.addWidget(b,_),a&&(a._moving?window.setTimeout(()=>Utils.simulateMouseEvent(a._event,"mouseenter",w.el),0):w.addWidget(d.el,d)),w}removeAsSubGrid(r){var a;let o=(a=this.parentGridItem)==null?void 0:a.grid;!o||(o.batchUpdate(),o.removeWidget(this.parentGridItem.el,!0,!0),this.engine.nodes.forEach(u=>{u.x+=this.parentGridItem.x,u.y+=this.parentGridItem.y,o.addWidget(u.el,u)}),o.batchUpdate(!1),this.parentGridItem&&delete this.parentGridItem.subGrid,delete this.parentGridItem,r&&window.setTimeout(()=>Utils.simulateMouseEvent(r._event,"mouseenter",o.el),0))}save(r=!0,o=!1,a=GridStack.saveCB){let u=this.engine.save(r,a);if(u.forEach(d=>{var g;if(r&&d.el&&!d.subGrid&&!a){let v=d.el.querySelector(".grid-stack-item-content");d.content=v?v.innerHTML:void 0,d.content||delete d.content}else if(!r&&!a&&delete d.content,(g=d.subGrid)!=null&&g.el){const v=d.subGrid.save(r,o,a);d.subGridOpts=o?v:{children:v},delete d.subGrid}delete d.el}),o){let d=Utils.cloneDeep(this.opts);d.marginBottom===d.marginTop&&d.marginRight===d.marginLeft&&d.marginTop===d.marginRight&&(d.margin=d.marginTop,delete d.marginTop,delete d.marginRight,delete d.marginBottom,delete d.marginLeft),d.rtl===(this.el.style.direction==="rtl")&&(d.rtl="auto"),this._isAutoCellHeight&&(d.cellHeight="auto"),this._autoColumn&&(d.column="auto");const g=d._alwaysShowResizeHandle;return delete d._alwaysShowResizeHandle,g!==void 0?d.alwaysShowResizeHandle=g:delete d.alwaysShowResizeHandle,Utils.removeInternalAndSame(d,gridDefaults),d.children=u,d}return u}load(r,o=GridStack.addRemoveCB||!0){var A;r=Utils.cloneDeep(r);const a=this.getColumn();r.forEach(b=>{b.w=b.w||1,b.h=b.h||1}),r=Utils.sort(r);let u=0;r.forEach(b=>{u=Math.max(u,(b.x||0)+b.w)}),u>a&&(this._ignoreLayoutsNodeChange=!0,this.engine.cacheLayout(r,u,!0));const d=GridStack.addRemoveCB;typeof o=="function"&&(GridStack.addRemoveCB=o);let g=[];this.batchUpdate();const v=!this.engine.nodes.length;v&&this.setAnimation(!1),!v&&o&&[...this.engine.nodes].forEach(_=>{if(!_.id)return;Utils.find(r,_.id)||(GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,_,!1,!1),g.push(_),this.removeWidget(_.el,!0,!1))}),this.engine._loading=!0;let y=[];return this.engine.nodes=this.engine.nodes.filter(b=>Utils.find(r,b.id)?(y.push(b),!1):!0),r.forEach(b=>{var w;let _=Utils.find(y,b.id);if(_){if(Utils.shouldSizeToContent(_)&&(b.h=_.h),this.engine.nodeBoundFix(b),(b.autoPosition||b.x===void 0||b.y===void 0)&&(b.w=b.w||_.w,b.h=b.h||_.h,this.engine.findEmptyPosition(b)),this.engine.nodes.push(_),Utils.samePos(_,b)&&this.moveNode(_,{...b,forceCollide:!0}),this.update(_.el,b),(w=b.subGridOpts)!=null&&w.children){let S=_.el.querySelector(".grid-stack");S&&S.gridstack&&S.gridstack.load(b.subGridOpts.children)}}else o&&this.addWidget(b)}),delete this.engine._loading,this.engine.removedNodes=g,this.batchUpdate(!1),delete this._ignoreLayoutsNodeChange,d?GridStack.addRemoveCB=d:delete GridStack.addRemoveCB,v&&((A=this.opts)==null?void 0:A.animate)&&this.setAnimation(this.opts.animate,!0),this}batchUpdate(r=!0){return this.engine.batchUpdate(r),r||(this._updateContainerHeight(),this._triggerRemoveEvent(),this._triggerAddEvent(),this._triggerChangeEvent()),this}getCellHeight(r=!1){if(this.opts.cellHeight&&this.opts.cellHeight!=="auto"&&(!r||!this.opts.cellHeightUnit||this.opts.cellHeightUnit==="px"))return this.opts.cellHeight;if(this.opts.cellHeightUnit==="rem")return this.opts.cellHeight*parseFloat(getComputedStyle(document.documentElement).fontSize);if(this.opts.cellHeightUnit==="em")return this.opts.cellHeight*parseFloat(getComputedStyle(this.el).fontSize);if(this.opts.cellHeightUnit==="cm")return this.opts.cellHeight*(96/2.54);if(this.opts.cellHeightUnit==="mm")return this.opts.cellHeight*(96/2.54)/10;let o=this.el.querySelector("."+this.opts.itemClass);if(o){let u=Utils.toNumber(o.getAttribute("gs-h"))||1;return Math.round(o.offsetHeight/u)}let a=parseInt(this.el.getAttribute("gs-current-row"));return a?Math.round(this.el.getBoundingClientRect().height/a):this.opts.cellHeight}cellHeight(r,o=!0){if(o&&r!==void 0&&this._isAutoCellHeight!==(r==="auto")&&(this._isAutoCellHeight=r==="auto",this._updateResizeEvent()),(r==="initial"||r==="auto")&&(r=void 0),r===void 0){let u=-this.opts.marginRight-this.opts.marginLeft+this.opts.marginTop+this.opts.marginBottom;r=this.cellWidth()+u}let a=Utils.parseHeight(r);return this.opts.cellHeightUnit===a.unit&&this.opts.cellHeight===a.h?this:(this.opts.cellHeightUnit=a.unit,this.opts.cellHeight=a.h,this.resizeToContentCheck(),o&&this._updateStyles(!0),this)}cellWidth(){return this._widthOrContainer()/this.getColumn()}_widthOrContainer(r=!1){var o;return r&&((o=this.opts.columnOpts)==null?void 0:o.breakpointForWindow)?window.innerWidth:this.el.clientWidth||this.el.parentElement.clientWidth||window.innerWidth}checkDynamicColumn(){var d,g;const r=this.opts.columnOpts;if(!r||!r.columnWidth&&!((d=r.breakpoints)!=null&&d.length))return!1;const o=this.getColumn();let a=o;const u=this._widthOrContainer(!0);if(r.columnWidth)a=Math.min(Math.round(u/r.columnWidth)||1,r.columnMax);else{a=r.columnMax;let v=0;for(;vy.c===a);return this.column(a,(v==null?void 0:v.layout)||r.layout),!0}return!1}compact(r="compact",o=!0){return this.engine.compact(r,o),this._triggerChangeEvent(),this}column(r,o="moveScale"){if(!r||r<1||this.opts.column===r)return this;let a=this.getColumn();return this.opts.column=r,this.engine?(this.engine.column=r,this.el.classList.remove("gs-"+a),this.el.classList.add("gs-"+r),this.engine.columnChanged(a,r,o),this._isAutoCellHeight&&this.cellHeight(),this.resizeToContentCheck(!0),this._ignoreLayoutsNodeChange=!0,this._triggerChangeEvent(),delete this._ignoreLayoutsNodeChange,this):this}getColumn(){return this.opts.column}getGridItems(){return Array.from(this.el.children).filter(r=>r.matches("."+this.opts.itemClass)&&!r.matches("."+this.opts.placeholderClass))}destroy(r=!0){if(!!this.el)return this.offAll(),this._updateResizeEvent(!0),this.setStatic(!0,!1),this.setAnimation(!1),r?this.el.parentNode.removeChild(this.el):(this.removeAll(r),this.el.classList.remove(this._styleSheetClass),this.el.removeAttribute("gs-current-row")),this._removeStylesheet(),this.parentGridItem&&delete this.parentGridItem.subGrid,delete this.parentGridItem,delete this.opts,delete this._placeholder,delete this.engine,delete this.el.gridstack,delete this.el,this}float(r){return this.opts.float!==r&&(this.opts.float=this.engine.float=r,this._triggerChangeEvent()),this}getFloat(){return this.engine.float}getCellFromPixel(r,o=!1){let a=this.el.getBoundingClientRect(),u;o?u={top:a.top+document.documentElement.scrollTop,left:a.left}:u={top:this.el.offsetTop,left:this.el.offsetLeft};let d=r.left-u.left,g=r.top-u.top,v=a.width/this.getColumn(),y=a.height/parseInt(this.el.getAttribute("gs-current-row"));return{x:Math.floor(d/v),y:Math.floor(g/y)}}getRow(){return Math.max(this.engine.getRow(),this.opts.minRow)}isAreaEmpty(r,o,a,u){return this.engine.isAreaEmpty(r,o,a,u)}makeWidget(r,o){let a=GridStack.getElement(r);this._prepareElement(a,!0,o);const u=a.gridstackNode;return this._updateContainerHeight(),u.subGridOpts&&this.makeSubGrid(a,u.subGridOpts,void 0,!1),this.opts.column===1&&(this._ignoreLayoutsNodeChange=!0),this._triggerAddEvent(),this._triggerChangeEvent(),delete this._ignoreLayoutsNodeChange,a}on(r,o){return r.indexOf(" ")!==-1?(r.split(" ").forEach(u=>this.on(u,o)),this):(r==="change"||r==="added"||r==="removed"||r==="enable"||r==="disable"?(r==="enable"||r==="disable"?this._gsEventHandler[r]=u=>o(u):this._gsEventHandler[r]=u=>o(u,u.detail),this.el.addEventListener(r,this._gsEventHandler[r])):r==="drag"||r==="dragstart"||r==="dragstop"||r==="resizestart"||r==="resize"||r==="resizestop"||r==="dropped"||r==="resizecontent"?this._gsEventHandler[r]=o:console.error("GridStack.on("+r+") event not supported"),this)}off(r){return r.indexOf(" ")!==-1?(r.split(" ").forEach(a=>this.off(a)),this):((r==="change"||r==="added"||r==="removed"||r==="enable"||r==="disable")&&this._gsEventHandler[r]&&this.el.removeEventListener(r,this._gsEventHandler[r]),delete this._gsEventHandler[r],this)}offAll(){return Object.keys(this._gsEventHandler).forEach(r=>this.off(r)),this}removeWidget(r,o=!0,a=!0){return GridStack.getElements(r).forEach(u=>{if(u.parentElement&&u.parentElement!==this.el)return;let d=u.gridstackNode;d||(d=this.engine.nodes.find(g=>u===g.el)),d&&(o&&GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,d,!1,!1),delete u.gridstackNode,this._removeDD(u),this.engine.removeNode(d,o,a),o&&u.parentElement&&u.remove())}),a&&(this._triggerRemoveEvent(),this._triggerChangeEvent()),this}removeAll(r=!0,o=!0){return this.engine.nodes.forEach(a=>{r&&GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,a,!1,!1),delete a.el.gridstackNode,this.opts.staticGrid||this._removeDD(a.el)}),this.engine.removeAll(r,o),o&&this._triggerRemoveEvent(),this}setAnimation(r=this.opts.animate,o){return o?setTimeout(()=>{this.opts&&this.setAnimation(r)}):r?this.el.classList.add("grid-stack-animate"):this.el.classList.remove("grid-stack-animate"),this}hasAnimationCSS(){return this.el.classList.contains("grid-stack-animate")}setStatic(r,o=!0,a=!0){return!!this.opts.staticGrid===r?this:(r?this.opts.staticGrid=!0:delete this.opts.staticGrid,this._setupRemoveDrop(),this._setupAcceptWidget(),this.engine.nodes.forEach(u=>{this._prepareDragDropByNode(u),u.subGrid&&a&&u.subGrid.setStatic(r,o,a)}),o&&this._setStaticClass(),this)}update(r,o){if(arguments.length>2){console.warn("gridstack.ts: `update(el, x, y, w, h)` is deprecated. Use `update(el, {x, w, content, ...})`. It will be removed soon");let a=arguments,u=1;return o={x:a[u++],y:a[u++],w:a[u++],h:a[u++]},this.update(r,o)}return GridStack.getElements(r).forEach(a=>{var b;let u=a==null?void 0:a.gridstackNode;if(!u)return;let d=Utils.cloneDeep(o);this.engine.nodeBoundFix(d),delete d.autoPosition,delete d.id;let g=["x","y","w","h"],v;if(g.some(_=>d[_]!==void 0&&d[_]!==u[_])&&(v={},g.forEach(_=>{v[_]=d[_]!==void 0?d[_]:u[_],delete d[_]})),!v&&(d.minW||d.minH||d.maxW||d.maxH)&&(v={}),d.content!==void 0){const _=a.querySelector(".grid-stack-item-content");_&&_.innerHTML!==d.content&&(_.innerHTML=d.content,(b=u.subGrid)!=null&&b.el&&(_.appendChild(u.subGrid.el),u.subGrid.opts.styleInHead||u.subGrid._updateStyles(!0))),delete d.content}let y=!1,A=!1;for(const _ in d)_[0]!=="_"&&u[_]!==d[_]&&(u[_]=d[_],y=!0,A=A||!this.opts.staticGrid&&(_==="noResize"||_==="noMove"||_==="locked"));if(Utils.sanitizeMinMax(u),v){const _=v.w!==void 0&&v.w!==u.w;this.moveNode(u,v),this.resizeToContentCheck(_,u),delete u._orig}(v||y)&&this._writeAttr(a,u),A&&this._prepareDragDropByNode(u)}),this}moveNode(r,o){const a=r._updating;a||this.engine.cleanNodes().beginUpdate(r),this.engine.moveNode(r,o),this._updateContainerHeight(),a||(this._triggerChangeEvent(),this.engine.endUpdate())}resizeToContent(r){var w,S;if(!r||(r.classList.remove("size-to-content-max"),!r.clientHeight))return;const o=r.gridstackNode;if(!o)return;const a=o.grid;if(!a||r.parentElement!==a.el)return;const u=a.getCellHeight(!0);if(!u)return;let d=o.h?o.h*u:r.clientHeight,g;if(o.resizeToContentParent&&(g=r.querySelector(o.resizeToContentParent)),g||(g=r.querySelector(GridStack.resizeToContentParent)),!g)return;const v=r.clientHeight-g.clientHeight,y=o.h?o.h*u-v:g.clientHeight;let A;if(o.subGrid)A=o.subGrid.getRow()*o.subGrid.getCellHeight(!0);else{if((S=(w=o.subGridOpts)==null?void 0:w.children)!=null&&S.length)return;{const C=g.firstElementChild;if(!C){console.error(`Error: GridStack.resizeToContent() widget id:${o.id} '${GridStack.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);return}A=C.getBoundingClientRect().height||y}}if(y===A)return;d+=A-y;let b=Math.ceil(d/u);const _=Number.isInteger(o.sizeToContent)?o.sizeToContent:0;_&&b>_&&(b=_,r.classList.add("size-to-content-max")),o.minH&&bo.maxH&&(b=o.maxH),b!==o.h&&(a._ignoreLayoutsNodeChange=!0,a.moveNode(o,{h:b}),delete a._ignoreLayoutsNodeChange)}resizeToContentCBCheck(r){GridStack.resizeToContentCB?GridStack.resizeToContentCB(r):this.resizeToContent(r)}rotate(r,o){return GridStack.getElements(r).forEach(a=>{let u=a.gridstackNode;if(!Utils.canBeRotated(u))return;const d={w:u.h,h:u.w,minH:u.minW,minW:u.minH,maxH:u.maxW,maxW:u.maxH};if(o){let v=o.left>0?Math.floor(o.left/this.cellWidth()):0,y=o.top>0?Math.floor(o.top/this.opts.cellHeight):0;d.x=u.x+v-(u.h-(y+1)),d.y=u.y+y-v}Object.keys(d).forEach(v=>{d[v]===void 0&&delete d[v]});const g=u._orig;this.update(a,d),u._orig=g}),this}margin(r){if(!(typeof r=="string"&&r.split(" ").length>1)){let a=Utils.parseHeight(r);if(this.opts.marginUnit===a.unit&&this.opts.margin===a.h)return}return this.opts.margin=r,this.opts.marginTop=this.opts.marginBottom=this.opts.marginLeft=this.opts.marginRight=void 0,this._initMargin(),this._updateStyles(!0),this}getMargin(){return this.opts.margin}willItFit(r){if(arguments.length>1){console.warn("gridstack.ts: `willItFit(x,y,w,h,autoPosition)` is deprecated. Use `willItFit({x, y,...})`. It will be removed soon");let o=arguments,a=0,u={x:o[a++],y:o[a++],w:o[a++],h:o[a++],autoPosition:o[a++]};return this.willItFit(u)}return this.engine.willItFit(r)}_triggerChangeEvent(){if(this.engine.batchMode)return this;let r=this.engine.getDirtyNodes(!0);return r&&r.length&&(this._ignoreLayoutsNodeChange||this.engine.layoutsNodesChange(r),this._triggerEvent("change",r)),this.engine.saveInitial(),this}_triggerAddEvent(){var r;if(this.engine.batchMode)return this;if((r=this.engine.addedNodes)!=null&&r.length){this._ignoreLayoutsNodeChange||this.engine.layoutsNodesChange(this.engine.addedNodes),this.engine.addedNodes.forEach(a=>{delete a._dirty});const o=[...this.engine.addedNodes];this.engine.addedNodes=[],this._triggerEvent("added",o)}return this}_triggerRemoveEvent(){var r;if(this.engine.batchMode)return this;if((r=this.engine.removedNodes)!=null&&r.length){const o=[...this.engine.removedNodes];this.engine.removedNodes=[],this._triggerEvent("removed",o)}return this}_triggerEvent(r,o){let a=o?new CustomEvent(r,{bubbles:!1,detail:o}):new Event(r);return this.el.dispatchEvent(a),this}_removeStylesheet(){if(this._styles){const r=this.opts.styleInHead?void 0:this.el.parentNode;Utils.removeStylesheet(this._styleSheetClass,r),delete this._styles}return this}_updateStyles(r=!1,o){if(r&&this._removeStylesheet(),o===void 0&&(o=this.getRow()),this._updateContainerHeight(),this.opts.cellHeight===0)return this;let a=this.opts.cellHeight,u=this.opts.cellHeightUnit,d=`.${this._styleSheetClass} > .${this.opts.itemClass}`;if(!this._styles){const g=this.opts.styleInHead?void 0:this.el.parentNode;if(this._styles=Utils.createStylesheet(this._styleSheetClass,g,{nonce:this.opts.nonce}),!this._styles)return this;this._styles._max=0,Utils.addCSSRule(this._styles,d,`height: ${a}${u}`);let v=this.opts.marginTop+this.opts.marginUnit,y=this.opts.marginBottom+this.opts.marginUnit,A=this.opts.marginRight+this.opts.marginUnit,b=this.opts.marginLeft+this.opts.marginUnit,_=`${d} > .grid-stack-item-content`,w=`.${this._styleSheetClass} > .grid-stack-placeholder > .placeholder-content`;Utils.addCSSRule(this._styles,_,`top: ${v}; right: ${A}; bottom: ${y}; left: ${b};`),Utils.addCSSRule(this._styles,w,`top: ${v}; right: ${A}; bottom: ${y}; left: ${b};`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-n`,`top: ${v};`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-s`,`bottom: ${y}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-ne`,`right: ${A}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-e`,`right: ${A}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-se`,`right: ${A}; bottom: ${y}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-nw`,`left: ${b}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-w`,`left: ${b}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-sw`,`left: ${b}; bottom: ${y}`)}if(o=o||this._styles._max,o>this._styles._max){let g=v=>a*v+u;for(let v=this._styles._max+1;v<=o;v++)Utils.addCSSRule(this._styles,`${d}[gs-y="${v}"]`,`top: ${g(v)}`),Utils.addCSSRule(this._styles,`${d}[gs-h="${v+1}"]`,`height: ${g(v+1)}`);this._styles._max=o}return this}_updateContainerHeight(){if(!this.engine||this.engine.batchMode)return this;const r=this.parentGridItem;let o=this.getRow()+this._extraDragRow;const a=this.opts.cellHeight,u=this.opts.cellHeightUnit;if(!a)return this;if(!r){const d=Utils.parseHeight(getComputedStyle(this.el).minHeight);if(d.h>0&&d.unit===u){const g=Math.floor(d.h/a);o1?r.setAttribute("gs-w",String(o.w)):r.removeAttribute("gs-w"),o.h>1?r.setAttribute("gs-h",String(o.h)):r.removeAttribute("gs-h"),this}_writeAttr(r,o){if(!o)return this;this._writePosAttr(r,o);let a={autoPosition:"gs-auto-position",noResize:"gs-no-resize",noMove:"gs-no-move",locked:"gs-locked",id:"gs-id"};for(const u in a)o[u]?r.setAttribute(a[u],String(o[u])):r.removeAttribute(a[u]);return this}_readAttr(r,o=!0){let a={};a.x=Utils.toNumber(r.getAttribute("gs-x")),a.y=Utils.toNumber(r.getAttribute("gs-y")),a.w=Utils.toNumber(r.getAttribute("gs-w")),a.h=Utils.toNumber(r.getAttribute("gs-h")),a.autoPosition=Utils.toBool(r.getAttribute("gs-auto-position")),a.noResize=Utils.toBool(r.getAttribute("gs-no-resize")),a.noMove=Utils.toBool(r.getAttribute("gs-no-move")),a.locked=Utils.toBool(r.getAttribute("gs-locked")),a.id=r.getAttribute("gs-id"),a.maxW=Utils.toNumber(r.getAttribute("gs-max-w")),a.minW=Utils.toNumber(r.getAttribute("gs-min-w")),a.maxH=Utils.toNumber(r.getAttribute("gs-max-h")),a.minH=Utils.toNumber(r.getAttribute("gs-min-h")),o&&(a.w===1&&r.removeAttribute("gs-w"),a.h===1&&r.removeAttribute("gs-h"),a.maxW&&r.removeAttribute("gs-max-w"),a.minW&&r.removeAttribute("gs-min-w"),a.maxH&&r.removeAttribute("gs-max-h"),a.minH&&r.removeAttribute("gs-min-h"));for(const u in a){if(!a.hasOwnProperty(u))return;!a[u]&&a[u]!==0&&delete a[u]}return a}_setStaticClass(){let r=["grid-stack-static"];return this.opts.staticGrid?(this.el.classList.add(...r),this.el.setAttribute("gs-static","true")):(this.el.classList.remove(...r),this.el.removeAttribute("gs-static")),this}onResize(){var o;if(!((o=this.el)!=null&&o.clientWidth)||this.prevWidth===this.el.clientWidth)return;this.prevWidth=this.el.clientWidth,this.batchUpdate();let r=!1;return this._autoColumn&&this.parentGridItem?this.opts.column!==this.parentGridItem.w&&(this.column(this.parentGridItem.w,"none"),r=!0):r=this.checkDynamicColumn(),this._isAutoCellHeight&&this.cellHeight(),this.engine.nodes.forEach(a=>{a.subGrid&&a.subGrid.onResize()}),this._skipInitialResize||this.resizeToContentCheck(r),delete this._skipInitialResize,this.batchUpdate(!1),this}resizeToContentCheck(r=!1,o=void 0){if(!!this.engine){if(r&&this.hasAnimationCSS())return setTimeout(()=>this.resizeToContentCheck(!1,o),300+10);if(o)Utils.shouldSizeToContent(o)&&this.resizeToContentCBCheck(o.el);else if(this.engine.nodes.some(a=>Utils.shouldSizeToContent(a))){const a=[...this.engine.nodes];this.batchUpdate(),a.forEach(u=>{Utils.shouldSizeToContent(u)&&this.resizeToContentCBCheck(u.el)}),this.batchUpdate(!1)}this._gsEventHandler.resizecontent&&this._gsEventHandler.resizecontent(null,o?[o]:this.engine.nodes)}}_updateResizeEvent(r=!1){const o=!this.parentGridItem&&(this._isAutoCellHeight||this.opts.sizeToContent||this.opts.columnOpts||this.engine.nodes.find(a=>a.sizeToContent));return!r&&o&&!this.resizeObserver?(this._sizeThrottle=Utils.throttle(()=>this.onResize(),this.opts.cellHeightThrottle),this.resizeObserver=new ResizeObserver(()=>this._sizeThrottle()),this.resizeObserver.observe(this.el),this._skipInitialResize=!0):(r||!o)&&this.resizeObserver&&(this.resizeObserver.disconnect(),delete this.resizeObserver,delete this._sizeThrottle),this}static getElement(r=".grid-stack-item"){return Utils.getElement(r)}static getElements(r=".grid-stack-item"){return Utils.getElements(r)}static getGridElement(r){return GridStack.getElement(r)}static getGridElements(r){return Utils.getElements(r)}_initMargin(){let r,o=0,a=[];return typeof this.opts.margin=="string"&&(a=this.opts.margin.split(" ")),a.length===2?(this.opts.marginTop=this.opts.marginBottom=a[0],this.opts.marginLeft=this.opts.marginRight=a[1]):a.length===4?(this.opts.marginTop=a[0],this.opts.marginRight=a[1],this.opts.marginBottom=a[2],this.opts.marginLeft=a[3]):(r=Utils.parseHeight(this.opts.margin),this.opts.marginUnit=r.unit,o=this.opts.margin=r.h),this.opts.marginTop===void 0?this.opts.marginTop=o:(r=Utils.parseHeight(this.opts.marginTop),this.opts.marginTop=r.h,delete this.opts.margin),this.opts.marginBottom===void 0?this.opts.marginBottom=o:(r=Utils.parseHeight(this.opts.marginBottom),this.opts.marginBottom=r.h,delete this.opts.margin),this.opts.marginRight===void 0?this.opts.marginRight=o:(r=Utils.parseHeight(this.opts.marginRight),this.opts.marginRight=r.h,delete this.opts.margin),this.opts.marginLeft===void 0?this.opts.marginLeft=o:(r=Utils.parseHeight(this.opts.marginLeft),this.opts.marginLeft=r.h,delete this.opts.margin),this.opts.marginUnit=r.unit,this.opts.marginTop===this.opts.marginBottom&&this.opts.marginLeft===this.opts.marginRight&&this.opts.marginTop===this.opts.marginRight&&(this.opts.margin=this.opts.marginTop),this}static getDD(){return dd}static setupDragIn(r,o,a=document){(o==null?void 0:o.pause)!==void 0&&(DDManager.pauseDrag=o.pause),o={...dragInDefaultOptions,...o||{}};let u=typeof r=="string"?Utils.getElements(r,a):r;u.length&&(u==null||u.forEach(d=>{dd.isDraggable(d)||dd.dragIn(d,o)}))}movable(r,o){return this.opts.staticGrid?this:(GridStack.getElements(r).forEach(a=>{const u=a.gridstackNode;!u||(o?delete u.noMove:u.noMove=!0,this._prepareDragDropByNode(u))}),this)}resizable(r,o){return this.opts.staticGrid?this:(GridStack.getElements(r).forEach(a=>{let u=a.gridstackNode;!u||(o?delete u.noResize:u.noResize=!0,this._prepareDragDropByNode(u))}),this)}disable(r=!0){if(!this.opts.staticGrid)return this.enableMove(!1,r),this.enableResize(!1,r),this._triggerEvent("disable"),this}enable(r=!0){if(!this.opts.staticGrid)return this.enableMove(!0,r),this.enableResize(!0,r),this._triggerEvent("enable"),this}enableMove(r,o=!0){return this.opts.staticGrid?this:(r?delete this.opts.disableDrag:this.opts.disableDrag=!0,this.engine.nodes.forEach(a=>{this._prepareDragDropByNode(a),a.subGrid&&o&&a.subGrid.enableMove(r,o)}),this)}enableResize(r,o=!0){return this.opts.staticGrid?this:(r?delete this.opts.disableResize:this.opts.disableResize=!0,this.engine.nodes.forEach(a=>{this._prepareDragDropByNode(a),a.subGrid&&o&&a.subGrid.enableResize(r,o)}),this)}_removeDD(r){return dd.draggable(r,"destroy").resizable(r,"destroy"),r.gridstackNode&&delete r.gridstackNode._initDD,delete r.ddElement,this}_setupAcceptWidget(){if(this.opts.staticGrid||!this.opts.acceptWidgets&&!this.opts.removable)return dd.droppable(this.el,"destroy"),this;let r,o,a=(u,d,g)=>{var w;let v=d.gridstackNode;if(!v)return;if(g=g||d,!((w=v.grid)!=null&&w.el)){g.style.transform=`scale(${1/this.dragTransform.xScale},${1/this.dragTransform.yScale})`;const S=g.getBoundingClientRect();g.style.left=S.x+(this.dragTransform.xScale-1)*(u.clientX-S.x)/this.dragTransform.xScale+"px",g.style.top=S.y+(this.dragTransform.yScale-1)*(u.clientY-S.y)/this.dragTransform.yScale+"px",g.style.transformOrigin="0px 0px"}let y=this.el.getBoundingClientRect(),{top:A,left:b}=g.getBoundingClientRect();b-=y.left,A-=y.top;let _={position:{top:A*this.dragTransform.xScale,left:b*this.dragTransform.yScale}};if(v._temporaryRemoved){if(v.x=Math.max(0,Math.round(b/o)),v.y=Math.max(0,Math.round(A/r)),delete v.autoPosition,this.engine.nodeBoundFix(v),!this.engine.willItFit(v)){if(v.autoPosition=!0,!this.engine.willItFit(v)){dd.off(d,"drag");return}v._willFitPos&&(Utils.copyPos(v,v._willFitPos),delete v._willFitPos)}this._onStartMoving(g,u,_,v,o,r)}else this._dragOrResize(g,u,_,v,o,r)};return dd.droppable(this.el,{accept:u=>{let d=u.gridstackNode||this._readAttr(u,!1);if((d==null?void 0:d.grid)===this)return!0;if(!this.opts.acceptWidgets)return!1;let g=!0;if(typeof this.opts.acceptWidgets=="function")g=this.opts.acceptWidgets(u);else{let v=this.opts.acceptWidgets===!0?".grid-stack-item":this.opts.acceptWidgets;g=u.matches(v)}if(g&&d&&this.opts.maxRow){let v={w:d.w,h:d.h,minW:d.minW,minH:d.minH};g=this.engine.willItFit(v)}return g}}).on(this.el,"dropover",(u,d,g)=>{let v=d.gridstackNode;if((v==null?void 0:v.grid)===this&&!v._temporaryRemoved)return!1;(v==null?void 0:v.grid)&&v.grid!==this&&!v._temporaryRemoved&&v.grid._leave(d,g),o=this.cellWidth(),r=this.getCellHeight(!0),v||(v=this._readAttr(d,!1)),v.grid||(v._isExternal=!0,d.gridstackNode=v),g=g||d;let y=v.w||Math.round(g.offsetWidth/o)||1,A=v.h||Math.round(g.offsetHeight/r)||1;return v.grid&&v.grid!==this?(d._gridstackNodeOrig||(d._gridstackNodeOrig=v),d.gridstackNode=v={...v,w:y,h:A,grid:this},delete v.x,delete v.y,this.engine.cleanupNode(v).nodeBoundFix(v),v._initDD=v._isExternal=v._temporaryRemoved=!0):(v.w=y,v.h=A,v._temporaryRemoved=!0),GridStack._itemRemoving(v.el,!1),dd.on(d,"drag",a),a(u,d,g),!1}).on(this.el,"dropout",(u,d,g)=>{let v=d.gridstackNode;return v&&(!v.grid||v.grid===this)&&(this._leave(d,g),this._isTemp&&this.removeAsSubGrid(v)),!1}).on(this.el,"drop",(u,d,g)=>{var w,S,C;let v=d.gridstackNode;if((v==null?void 0:v.grid)===this&&!v._isExternal)return!1;const y=!!this.placeholder.parentElement;this.placeholder.remove();const A=y&&this.opts.animate;A&&this.setAnimation(!1);let b=d._gridstackNodeOrig;if(delete d._gridstackNodeOrig,y&&(b==null?void 0:b.grid)&&b.grid!==this){let T=b.grid;T.engine.removeNodeFromLayoutCache(b),T.engine.removedNodes.push(b),T._triggerRemoveEvent()._triggerChangeEvent(),T.parentGridItem&&!T.engine.nodes.length&&T.opts.subGridDynamic&&T.removeAsSubGrid()}if(!v||(y&&(this.engine.cleanupNode(v),v.grid=this),(w=v.grid)==null||delete w._isTemp,dd.off(d,"drag"),g!==d?(g.remove(),d.gridstackNode=b,y&&(d=d.cloneNode(!0))):(d.remove(),this._removeDD(d)),!y))return!1;d.gridstackNode=v,v.el=d;let _=(C=(S=v.subGrid)==null?void 0:S.el)==null?void 0:C.gridstack;return Utils.copyPos(v,this._readAttr(this.placeholder)),Utils.removePositioningStyles(d),this.el.appendChild(d),this._prepareElement(d,!0,v),_&&(_.parentGridItem=v,_.opts.styleInHead||_._updateStyles(!0)),this._updateContainerHeight(),this.engine.addedNodes.push(v),this._triggerAddEvent(),this._triggerChangeEvent(),this.engine.endUpdate(),this._gsEventHandler.dropped&&this._gsEventHandler.dropped({...u,type:"dropped"},b&&b.grid?b:void 0,v),A&&this.setAnimation(this.opts.animate,!0),!1}),this}static _itemRemoving(r,o){const a=r?r.gridstackNode:void 0;!(a!=null&&a.grid)||r.classList.contains(a.grid.opts.removableOptions.decline)||(o?a._isAboutToRemove=!0:delete a._isAboutToRemove,o?r.classList.add("grid-stack-item-removing"):r.classList.remove("grid-stack-item-removing"))}_setupRemoveDrop(){if(typeof this.opts.removable!="string")return this;let r=document.querySelector(this.opts.removable);return r?(!this.opts.staticGrid&&!dd.isDroppable(r)&&dd.droppable(r,this.opts.removableOptions).on(r,"dropover",(o,a)=>GridStack._itemRemoving(a,!0)).on(r,"dropout",(o,a)=>GridStack._itemRemoving(a,!1)),this):this}_prepareDragDropByNode(r){let o=r.el;const a=r.noMove||this.opts.disableDrag,u=r.noResize||this.opts.disableResize;if(this.opts.staticGrid||a&&u)return r._initDD&&(this._removeDD(o),delete r._initDD),o.classList.add("ui-draggable-disabled","ui-resizable-disabled"),this;if(!r._initDD){let d,g,v=(b,_)=>{this._gsEventHandler[b.type]&&this._gsEventHandler[b.type](b,b.target),d=this.cellWidth(),g=this.getCellHeight(!0),this._onStartMoving(o,b,_,r,d,g)},y=(b,_)=>{this._dragOrResize(o,b,_,r,d,g)},A=b=>{this.placeholder.remove(),delete r._moving,delete r._event,delete r._lastTried;const _=r.w!==r._orig.w;let w=b.target;if(!(!w.gridstackNode||w.gridstackNode.grid!==this)){if(r.el=w,r._isAboutToRemove){let S=o.gridstackNode.grid;S._gsEventHandler[b.type]&&S._gsEventHandler[b.type](b,w),S.engine.nodes.push(r),S.removeWidget(o,!0,!0)}else Utils.removePositioningStyles(w),r._temporaryRemoved?(Utils.copyPos(r,r._orig),this._writePosAttr(w,r),this.engine.addNode(r)):this._writePosAttr(w,r),this._gsEventHandler[b.type]&&this._gsEventHandler[b.type](b,w);this._extraDragRow=0,this._updateContainerHeight(),this._triggerChangeEvent(),this.engine.endUpdate(),b.type==="resizestop"&&(Number.isInteger(r.sizeToContent)&&(r.sizeToContent=r.h),this.resizeToContentCheck(_,r))}};dd.draggable(o,{start:v,stop:A,drag:y}).resizable(o,{start:v,stop:A,resize:y}),r._initDD=!0}return dd.draggable(o,a?"disable":"enable").resizable(o,u?"disable":"enable"),this}_onStartMoving(r,o,a,u,d,g){var v;if(this.engine.cleanNodes().beginUpdate(u),this._writePosAttr(this.placeholder,u),this.el.appendChild(this.placeholder),this.placeholder.gridstackNode=u,(v=u.grid)!=null&&v.el)this.dragTransform=Utils.getValuesFromTransformedElement(r);else if(this.placeholder&&this.placeholder.closest(".grid-stack")){const y=this.placeholder.closest(".grid-stack");this.dragTransform=Utils.getValuesFromTransformedElement(y)}else this.dragTransform={xScale:1,xOffset:0,yScale:1,yOffset:0};if(u.el=this.placeholder,u._lastUiPosition=a.position,u._prevYPix=a.position.top,u._moving=o.type==="dragstart",delete u._lastTried,o.type==="dropover"&&u._temporaryRemoved&&(this.engine.addNode(u),u._moving=!0),this.engine.cacheRects(d,g,this.opts.marginTop,this.opts.marginRight,this.opts.marginBottom,this.opts.marginLeft),o.type==="resizestart"){const y=this.getColumn()-u.x,A=(this.opts.maxRow||Number.MAX_SAFE_INTEGER)-u.y;dd.resizable(r,"option","minWidth",d*Math.min(u.minW||1,y)).resizable(r,"option","minHeight",g*Math.min(u.minH||1,A)).resizable(r,"option","maxWidth",d*Math.min(u.maxW||Number.MAX_SAFE_INTEGER,y)).resizable(r,"option","maxWidthMoveLeft",d*Math.min(u.maxW||Number.MAX_SAFE_INTEGER,u.x+u.w)).resizable(r,"option","maxHeight",g*Math.min(u.maxH||Number.MAX_SAFE_INTEGER,A)).resizable(r,"option","maxHeightMoveUp",g*Math.min(u.maxH||Number.MAX_SAFE_INTEGER,u.y+u.h))}}_dragOrResize(r,o,a,u,d,g){let v={...u._orig},y,A=this.opts.marginLeft,b=this.opts.marginRight,_=this.opts.marginTop,w=this.opts.marginBottom,S=Math.round(g*.1),C=Math.round(d*.1);if(A=Math.min(A,C),b=Math.min(b,C),_=Math.min(_,S),w=Math.min(w,S),o.type==="drag"){if(u._temporaryRemoved)return;let I=a.position.top-u._prevYPix;u._prevYPix=a.position.top,this.opts.draggable.scroll!==!1&&Utils.updateScrollPosition(r,a.position,I);let E=a.position.left+(a.position.left>u._lastUiPosition.left?-b:A),F=a.position.top+(a.position.top>u._lastUiPosition.top?-w:_);v.x=Math.round(E/d),v.y=Math.round(F/g);let O=this._extraDragRow;if(this.engine.collide(u,v)){let D=this.getRow(),x=Math.max(0,v.y+u.h-D);this.opts.maxRow&&D+x>this.opts.maxRow&&(x=Math.max(0,this.opts.maxRow-D)),this._extraDragRow=x}else this._extraDragRow=0;if(this._extraDragRow!==O&&this._updateContainerHeight(),u.x===v.x&&u.y===v.y)return}else if(o.type==="resize"){if(v.x<0||(Utils.updateScrollResize(o,r,g),v.w=Math.round((a.size.width-A)/d),v.h=Math.round((a.size.height-_)/g),u.w===v.w&&u.h===v.h)||u._lastTried&&u._lastTried.w===v.w&&u._lastTried.h===v.h)return;let I=a.position.left+A,E=a.position.top+_;v.x=Math.round(I/d),v.y=Math.round(E/g),y=!0}u._event=o,u._lastTried=v;let T={x:a.position.left+A,y:a.position.top+_,w:(a.size?a.size.width:u.w*d)-A-b,h:(a.size?a.size.height:u.h*g)-_-w};if(this.engine.moveNodeCheck(u,{...v,cellWidth:d,cellHeight:g,rect:T,resizing:y})){u._lastUiPosition=a.position,this.engine.cacheRects(d,g,_,b,w,A),delete u._skipDown,y&&u.subGrid&&u.subGrid.onResize(),this._extraDragRow=0,this._updateContainerHeight();let I=o.target;this._writePosAttr(I,u),this._gsEventHandler[o.type]&&this._gsEventHandler[o.type](o,I)}}_leave(r,o){let a=r.gridstackNode;!a||(o=o||r,o.style.transform="scale(1)",dd.off(r,"drag"),!a._temporaryRemoved&&(a._temporaryRemoved=!0,this.engine.removeNode(a),a.el=a._isExternal&&o?o:r,this.opts.removable===!0&&GridStack._itemRemoving(r,!0),r._gridstackNodeOrig?(r.gridstackNode=r._gridstackNodeOrig,delete r._gridstackNodeOrig):a._isExternal&&(delete a.el,delete r.gridstackNode,this.engine.restoreInitial())))}commit(){return obsolete(this,this.batchUpdate(!1),"commit","batchUpdate","5.2"),this}}GridStack.resizeToContentParent=".grid-stack-item-content";GridStack.Utils=Utils;GridStack.Engine=GridStackEngine;GridStack.GDRev="10.3.1";var WidgetSection_vue_vue_type_style_index_0_lang="";const _sfc_main$U=defineComponent({name:"WidgetSection",components:{WidgetPopup},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0},id:{type:String,required:!0},label:{type:String,default:""},icon:{type:String,default:""},fullscreen:{type:Boolean,default:!1},widgetEdges:{type:Boolean,default:!1},widgetConfig:{type:Object,default:()=>{}},items:{type:Array,default:()=>[]}},setup(t){const r=useI18n(),o=useEditor(),a="."+t.id+" .grid-stack-container",u={cellHeight:parseInt(t.widgetConfig[t.id+"WidgetHeight"]||50),margin:parseInt(t.widgetConfig[t.id+"GapSize"]||5)},d=ref(t.id==="desktop"),g=computed(()=>t.id!=="desktop"&&t.widgetConfig[t.id+"SameAs"]!=="specific-layout"),v=computed(()=>[{label:r.t("wie Desktop"),value:"desktop"},{label:r.t("wie Smartphone"),value:"smartphone"},{label:r.t("eigenes Layout"),value:"specific-layout"}].filter(N=>N.value!==t.id)),y=[{id:"copy",icon:"mdi-content-copy",label:r.t("copy")},{id:"duplicate",icon:"mdi-content-duplicate",label:r.t("duplicate")}],A=ref({}),b=(N,V,Y)=>{A.value[N+"-"+V]=Y},_=(N,V)=>{for(const Y in A.value);A.value[N+"-"+V]&&A.value[N+"-"+V].show()},w=ref(_default(t.items)||[]),S=N=>o.widgets[N]||{items:[]},C=N=>(N=N||[],N.join("-"),!N||N.length===0?r.t("No widgets assigned"):N.map(V=>{const Y=S(V);Y.items=Y.items||[];const H=Y.items.filter(Q=>Q.type==="list").length,B=Y.items.filter(Q=>Q.type==="group").length,z=Y.items.filter(Q=>Q.type==="divider").length,U=Y.items.reduce((Q,X)=>{if(X.type==="list"){const{floor:J,function:ne,room:te,tags:ce}=X,se=Devices.getDevices({floor:J,function:ne,room:te,tags:ce});return Q+se.length}return Q+0},0);return Y.module+(!Y.label&&!Y.title?"":" ("+(Y.label||Y.title)+(Y.module!=="StateList"?"":", "+(Y.items.length+U-H-z)+" "+r.t("items")+" "+r.t("apprx.")+" "+((Y.hideTitle!==!0?56:0)+z+U*48+B*32+(Y.items.length-z-H-B)*46)+"px "+r.t("in height"))+")")}).join(", ")),T=()=>{o.setWidgets({pageId:t.pageId,tabId:t.tabId,key:"widgets"+ucFirst(t.id),val:toRaw(w.value)})},I=ref(null),E=N=>{w.value.splice(w.value.findIndex(V=>V.i===I.value.i),1,{...I.value,...N}),O({...I.value,el:document.querySelector("#widget-"+I.value.i)}),I.value=null,T()},F=N=>{N.id.endsWith("SameAs")&&(d.value=N.value!=="desktop"),M&&N.id.endsWith("WidgetHeight")?M.cellHeight(parseInt(N.value)):M&&N.id.endsWith("GapSize")&&M.margin(parseInt(N.value)),o.setWidgetConfig({pageId:t.pageId,tabId:t.tabId,key:N.id,val:N.value})},O=N=>{const{x:V,y:Y,w:H,h:B}=N;if(M){let{width:z,height:U}=N.el.getBoundingClientRect();U=B*M.getCellHeight()+(B-1)*M.getMargin();const Q=N.el.getElementsByClassName("position")[0];Q.innerHTML=r.t("Position")+": "+V+"x * "+Y+"y";const X=N.el.getElementsByClassName("size")[0];X.innerHTML=" - "+r.t("Size")+": "+H+"w ("+Math.round(z)+"px) * "+B+"h ("+Math.round(U)+"px)"}if(w.value){const z=N.el.getAttribute("i"),U=w.value.find(Q=>Q.i===z);if(U){const{items:Q}=U,X=C(Q),J=N.el.getElementsByClassName("widgetDescription");for(const ne of J)ne.innerText=X}}},D=(N,V="add")=>{let Y=null;if(!N.i)Y=M.addWidget({w:4,h:4});else{const{x:X,y:J,w:ne}=N;Y=M.addWidget({x:X,y:J,w:ne,h:4})}const H=v4(),{x:B,y:z,w:U,h:Q}=Y.gridstackNode;w.value.push({h:Q,w:U,...V==="copy"?N:{},x:B,y:z,i:H}),nextTick().then(()=>{const X=document.querySelector("#widget-"+H),J=te=>te.offsetTop+(te.offsetParent&&J(te.offsetParent));window.scrollTo(0,J(X)-60),M.removeWidget(Y);const ne=M.makeWidget(X);O({...ne.gridstackNode,el:ne}),T()})},x=N=>{const V=N.id,Y=_default(w.value.find(H=>H.i===V));Y.i=v4(),N.val==="copy"&&(Y.items=Y.items||[],Y.items=Y.items.map(H=>{const B=S(H),z=v4();return o.copyWidget({id:z,widget:B}),z})),D(Y,"copy")},P=(N,V,Y)=>{const B=o.layout.find(Q=>Q.id===Y).tabs.find(Q=>Q.id===V),z=_default(B["widgets"+ucFirst(t.id)]||[]);N=_default(N);let U=0;z.forEach(Q=>{U=Q.x>=N.x&&Q.x+Q.w<=N.x+N.w?Math.max(U,Q.y+Q.h):U}),N.y=U,z.push(N),o.setWidgets({pageId:Y,tabId:V,key:"widgets"+ucFirst(t.id),val:z}),G(N,{confirmation:!1})},G=(N,V={},Y)=>{const H=N.i;if(V.verifyAssignedMultiple&&(!N.items||!N.items[0]||o.hasWidget({widgetId:N.items[0]})>1))Y.stopPropagation();else if(V.verifyAssignedMultiple)return;if(V.confirmation=V.confirmation===!1?!0:confirm(r.t(typeof V.confirmation=="string"?V.confirmation:"Really delete item")+"?"),V.confirmation){const B=w.value.findIndex(Q=>Q.i===H),z=w.value[B].items,U=document.querySelector("#widget-"+H);M.removeWidget(U),w.value.splice(B,1),T(w.value),V.deleteAssignedWidget&&z.forEach(Q=>{o.removeWidget({widget:{id:Q}})})}};let M=null;return onMounted(()=>{M=GridStack.init(u,a),M.getGridItems().forEach(V=>{O({...V.gridstackNode,el:V})}),M.on("change",(V,Y)=>{Y.forEach(H=>{const{x:B,y:z,w:U,h:Q}=H;O(H);const X=H.el.id.replace("widget-",""),J=w.value.findIndex(ne=>ne.i===X);w.value[J]={...w.value[J],moved:void 0,x:B,y:z,w:U,h:Q}}),T(w.value)})}),onUnmounted(()=>{M&&M.destroy()}),{t:r.t,setRef:b,useRef:_,...useDragDrop(w,N=>{o.setWidgets({pageId:t.pageId,tabId:t.tabId,key:"widgets"+ucFirst(t.id),val:N})}),disabled:g,expanded:d,options:v,copyMenuOptions:y,popupWidgetOrder:ref(!1),pages:o.layout.filter(N=>!N.type||N.type==="page"),widgets:w,selectedWidget:I,getWidget:S,getWidgetsDescription:C,onChange:F,addWidget:D,copyWidget:x,moveWidget:P,deleteWidget:G,saveWidgetAssignments:E,quickSortMode:ref(!1)}}}),_hoisted_1$H={class:"row full-width"},_hoisted_2$x={style:{padding:"0 16px 8px 16px","min-height":"64px"},class:"row"},_hoisted_3$p={class:"row justify-between"},_hoisted_4$h={class:"row items-center",style:{"padding-left":"8px"}},_hoisted_5$e={class:"row"},_hoisted_6$a={style:{padding:"0 8px 8px 8px","min-height":"64px"},class:"row"},_hoisted_7$8={style:{margin:"auto 0"}},_hoisted_8$8={class:"text-h6 row items-center"},_hoisted_9$8={id:"grid-stack-container",class:"grid-stack-container grid-stack"},_hoisted_10$7=["id","gs-x","gs-y","gs-w","gs-h","i"],_hoisted_11$7={class:"grid-stack-item-content",style:{overflow:"hidden"}},_hoisted_12$5=["onClick"],_hoisted_13$4={class:"row justify-between"},_hoisted_14$4={class:"row items-center",style:{"padding-left":"8px"}},_hoisted_15$4={class:"row"},_hoisted_16$3={key:0,class:"row q-pa-sm tooltip-widget",style:{overflow:"hidden"}};function _sfc_render$U(t,r,o,a,u,d){const g=resolveComponent("widget-popup"),v=resolveComponent("icon"),y=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createVNode$1(g,{widget:t.selectedWidget,onOnClose:r[0]||(r[0]=A=>t.selectedWidget=null),onOnSave:t.saveWidgetAssignments},null,8,["widget","onOnSave"]),createVNode$1(QExpansionItem,{modelValue:t.expanded,"onUpdate:modelValue":r[8]||(r[8]=A=>t.expanded=A),class:"full-width paper",disable:t.disabled},{header:withCtx(()=>[createBaseVNode("div",_hoisted_1$H,[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{name:t.icon},null,8,["name"])]),_:1}),createVNode$1(QItemSection,{style:{height:"40px"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.label),1)]),_:1}),t.id!=="desktop"?(openBlock(),createBlock(QItemSection,{key:0,side:"",class:"notDisabled",onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(y,{id:t.id+"SameAs",type:"select",options:t.options,dense:"",label:t.$t("Use same layout as"),value:t.widgetConfig[t.id+"SameAs"]||"desktop",style:{width:"150px"},onOnSelect:t.onChange,onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},null,8,["id","options","label","value","onOnSelect"])]),_:1})):createCommentVNode("",!0)])]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([t.id])},[withDirectives(createBaseVNode("div",null,[withDirectives(createBaseVNode("div",_hoisted_2$x,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),style:{margin:"auto 0"},onClick:t.addWidget},null,8,["label","onClick"])],512),[[vShow,t.widgets.length===0]]),createVNode$1(QSeparator),withDirectives(createBaseVNode("div",{class:normalizeClass(["grid-item tooltip-widget",[t.id]])},[createBaseVNode("div",_hoisted_3$p,[createBaseVNode("div",_hoisted_4$h,toDisplayString$1(t.$t("Fullscreen")),1),createBaseVNode("div",_hoisted_5$e,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:r[3]||(r[3]=A=>t.selectedWidget=t.widgets[0])})])])],2),[[vShow,t.widgets[0]!==void 0]])],512),[[vShow,t.fullscreen===!0]]),withDirectives(createBaseVNode("div",null,[createBaseVNode("div",_hoisted_6$a,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),style:{margin:"auto 0"},onClick:t.addWidget},null,8,["label","onClick"]),createVNode$1(y,{id:t.id+"FitPageHeight",dense:"",type:"switch",inline:"",label:t.$t("Height of all widgets equal to page height (no scrollbars)"),value:t.widgetConfig[t.id+"FitPageHeight"]||!1,style:{margin:"auto 0 auto 8px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),withDirectives(createVNode$1(y,{id:t.id+"WidgetHeight",dense:"",type:"number",min:10,label:t.$t("Widget height")+" ("+t.$t("in pixels")+")",value:t.widgetConfig[t.id+"WidgetHeight"]||50,style:{margin:"auto 0 auto 4px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),[[vShow,t.widgetConfig[t.id+"FitPageHeight"]!==!0]]),createVNode$1(y,{id:t.id+"GapSize",dense:"",type:"number",min:0,label:t.$t("Widget gaps")+" ("+t.$t("in pixels")+")",value:t.widgetConfig[t.id+"GapSize"]||5,style:{margin:"auto 0 auto 4px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),withDirectives(createBaseVNode("div",_hoisted_7$8,[createVNode$1(y,{class:"q-ml-sm",type:"button",color:"primary",icon:"mdi-sort-numeric-variant",label:"Responsive Order",size:"md",onOnClick:r[4]||(r[4]=A=>t.popupWidgetOrder=!0)})],512),[[vShow,t.widgets.length>1]])]),createVNode$1(QSeparator),createVNode$1(QDialog,{modelValue:t.popupWidgetOrder,"onUpdate:modelValue":r[7]||(r[7]=A=>t.popupWidgetOrder=A)},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1400px","max-width":"40vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$8,toDisplayString$1(t.$t("Change Widget Responsive Order")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[5]||(r[5]=A=>t.popupWidgetOrder=!1)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col scroll body"},{default:withCtx(()=>[createVNode$1(QList,{ref:"elDragDrop"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgets,(A,b)=>(openBlock(),createBlock(QItem,{key:"grid-item-"+A.i,class:"paper","data-id":A.i,set:A=A.items&&A.items[0]&&t.getWidget(A.items[0])||{}},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[A.title?(openBlock(),createBlock(QItemLabel,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.title),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:1},{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("No Title")),1)]),_:1})),A.module?(openBlock(),createBlock(QItemLabel,{key:2,caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Module"))+" "+toDisplayString$1(A.module),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:3,caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("No Module selected")),1)]),_:1}))]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024)]),_:2},1032,["data-id","set"]))),128))]),_:1},512)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Close"),color:"primary",onClick:r[6]||(r[6]=A=>t.popupWidgetOrder=!1)},null,8,["label"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_9$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgets,(A,b)=>(openBlock(),createElementBlock("div",{id:"widget-"+A.i,key:"grid-item-"+A.i,"gs-x":A.x,"gs-y":A.y,"gs-w":A.w,"gs-h":A.h,i:A.i,class:"grid-stack-item tooltip-widget"},[createBaseVNode("div",_hoisted_11$7,[createBaseVNode("div",{class:"grid-add",style:{height:"20px"},onClick:_=>t.addWidget(A)},[createVNode$1(QSeparator,{style:{width:"45%"}}),createVNode$1(QIcon,{name:"mdi-plus-circle",color:"primary",size:"xs"}),createVNode$1(QSeparator,{style:{width:"45%"}})],8,_hoisted_12$5),createBaseVNode("div",{class:normalizeClass(["grid-item",{"rounded-borders":t.widgetEdges!==!0,[t.id]:!0}]),style:{height:"calc(100% - 20px)"}},[createVNode$1(QTooltip,{target:".tooltip-widget"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.getWidgetsDescription(A.items)),1)]),_:2},1024),createVNode$1(QMenu,{"context-menu":""},{default:withCtx(()=>[createVNode$1(QList,{dense:""},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.selectedWidget=A,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-pencil",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("edit")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.copyWidget({id:A.i,val:"copy"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-content-copy",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("copy")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.copyWidget({id:A.i,val:"duplicate"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-content-duplicate",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("duplicate")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.useRef("moveMenu",A.i),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-file-move-outline",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("move")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{verifyAssignedMultiple:!0},_),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-delete",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("delete")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1024),createBaseVNode("div",_hoisted_13$4,[A.h<=2?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createBaseVNode("p",null,toDisplayString$1(t.$t("Responsive Position"))+": "+toDisplayString$1(b),1),createBaseVNode("p",null,toDisplayString$1(t.getWidgetsDescription(A.items)),1)]),_:2},1024)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$4,[createBaseVNode("span",null,"[ "+toDisplayString$1(b)+" ]",1),r[9]||(r[9]=createTextVNode("\xA0 ")),r[10]||(r[10]=createBaseVNode("span",{class:"position"},null,-1)),r[11]||(r[11]=createBaseVNode("span",{class:"size"},null,-1))]),createBaseVNode("div",_hoisted_15$4,[createVNode$1(y,{class:"q-ma-none",type:"button",round:"",icon:"mdi-pencil",tooltip:t.$t("edit"),onClick:withModifiers(_=>t.selectedWidget=A,["stop"])},null,8,["tooltip","onClick"]),createVNode$1(y,{id:A.i,class:"q-ma-none",type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),items:t.copyMenuOptions,"dense-menu":"",onOnSelect:t.copyWidget},null,8,["id","tooltip","items","onOnSelect"]),createVNode$1(y,{id:A.i,class:"q-ma-none",type:"button",round:"",icon:"mdi-file-move-outline",tooltip:t.$t("move"),onClick:withModifiers(_=>t.useRef("moveMenu",A.i),["stop"])},{name:withCtx(()=>[createVNode$1(QMenu,{ref_for:!0,ref:_=>t.setRef("moveMenu",A.i,_),anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,_=>(openBlock(),createBlock(QItem,{key:_.id,class:normalizeClass("moveMenuOptions-"+_.id),clickable:"",onMouseenter:w=>t.useRef("moveMenuOptions",_.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",size:"xs",name:_.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(_.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-chevron-right"})]),_:1}),createVNode$1(QMenu,{ref_for:!0,ref:w=>t.setRef("moveMenuOptions",_.id,w),anchor:"top end",self:"top start","auto-close":""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(_.tabs,w=>(openBlock(),createBlock(QItem,{key:w.id,clickable:"",onClick:S=>t.moveWidget(A,w.id,_.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",size:"xs",name:w.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(w.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1536)]),_:2},1032,["class","onMouseenter"]))),128))]),_:2},1536)]),_:2},1032,["id","tooltip","onClick"]),(openBlock(),createBlock(y,{key:"deleteOptions-"+A.i+"-inputs",class:"q-ma-none",type:"button",round:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:_=>t.deleteWidget(A,{verifyAssignedMultiple:!0},_)},{name:withCtx(()=>[(openBlock(),createBlock(QMenu,{key:"deleteOptions-"+A.i+"-menu",anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[createVNode$1(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{confirmation:"Delete Box only"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete Box only")),1)]),_:1})]),_:2},1032,["onClick"]),createVNode$1(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{confirmation:"Delete Box and assigned Widget",deleteAssignedWidget:!0}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete-sweep",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete Box and assigned Widget")),1)]),_:1})]),_:2},1032,["onClick"])]),_:2},1024))]),_:2},1032,["tooltip","onClick"]))])]),t.quickSortMode?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_16$3,r[12]||(r[12]=[createBaseVNode("span",{class:"widgetDescription"},null,-1)])))],2)])],8,_hoisted_10$7))),128))])],512),[[vShow,t.fullscreen!==!0]])],2)]),_:1},8,["modelValue","disable"])])}var WidgetSection=_export_sfc$1(_sfc_main$U,[["render",_sfc_render$U]]);const _sfc_main$T=defineComponent({name:"TabSection",components:{WidgetSection},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0}},setup(t){const r=useEditor(),o=d=>{let g=d.value;try{g=g&&d.json!==void 0&&g.indexOf("{")>-1&&g.indexOf("}")>-1?JSON.parse(g):g}catch(v){console.warn(d.value,v)}r.editTab({pageId:t.pageId,tabId:t.tabId,key:d.id,val:g})},a=computed(()=>(r.layout.find(v=>v.id===t.pageId)||{}).tabs.find(v=>v.id===t.tabId)||{}),u=computed(()=>a.value.title?typeof a.value.title=="string"?a.value.title:a.value.title.default||Object.values(a.value.title)[0]:"");return{onChange:o,tab:a,tabTitle:u,icons:computed(()=>a.value&&a.value.icon&&(typeof a.value.icon!="string"||a.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(g=>({icon:"mdi:"+g,label:g,value:"mdi:"+g})))}}}),_hoisted_1$G={style:{padding:"0 8px"}},_hoisted_2$w={class:"text-h6 primary q-ma-sm"},_hoisted_3$o={class:"row"},_hoisted_4$g={class:"col"},_hoisted_5$d={class:"col"},_hoisted_6$9={class:"row"},_hoisted_7$7={class:"col"},_hoisted_8$7={class:"col"},_hoisted_9$7={class:"row"},_hoisted_10$6={class:"col"},_hoisted_11$6={class:"col"},_hoisted_12$4={class:"row"},_hoisted_13$3={class:"col-2"},_hoisted_14$3={class:"col"},_hoisted_15$3={class:"text-h6 primary q-ma-sm",style:{"margin-top":"24px"}};function _sfc_render$T(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("widget-section");return openBlock(),createElementBlock("div",_hoisted_1$G,[createBaseVNode("div",_hoisted_2$w,toDisplayString$1(t.$t("Tab"))+": "+toDisplayString$1(t.tabTitle)+" ("+toDisplayString$1(t.$t("ID")+": "+t.tab.id)+") ",1),createBaseVNode("div",_hoisted_3$o,[createBaseVNode("div",_hoisted_4$g,[createVNode$1(g,{id:"icon",json:"",label:t.$t("Tab")+" "+t.$t("Icon"),value:t.tab.icon||"",icon:t.tab.icon,options:t.icons,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$d,[createVNode$1(g,{id:"title",json:"",label:t.$t("Tab")+" "+t.$t("Title"),value:t.tab.title||"",onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_6$9,[createBaseVNode("div",_hoisted_7$7,[createVNode$1(g,{id:"iconStyle",json:"",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.tab.iconStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_8$7,[createVNode$1(g,{id:"bodyStyle",json:"",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.tab.bodyStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_9$7,[createBaseVNode("div",_hoisted_10$6,[createVNode$1(g,{id:"iconSelectedStyle",json:"",label:"config#Layout#iconSelectedStyle#label",info:"config#Layout#iconSelectedStyle#info",value:t.tab.iconSelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_11$6,[createVNode$1(g,{id:"bodySelectedStyle",json:"",label:"config#Layout#bodySelectedStyle#label",info:"config#Layout#bodySelectedStyle#info",value:t.tab.bodySelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_12$4,[createBaseVNode("div",_hoisted_13$3,[createVNode$1(g,{id:"fullscreen",type:"switch",inline:"",label:t.$t("Tab")+" "+t.$t("Fullscreen"),value:t.tab.fullscreen||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_14$3,[createVNode$1(g,{id:"widgetEdges",type:"switch",inline:"",label:t.$t("Widgets edges (round or angled)"),value:t.tab.widgetEdges||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_15$3,toDisplayString$1(t.$t("Widgets of tab"))+": "+toDisplayString$1(t.tabTitle),1),createVNode$1(v,{id:"desktop","page-id":t.pageId,"tab-id":t.tabId,label:"Desktop",icon:"mdi-monitor",fullscreen:t.tab.fullscreen||!1,"widget-edges":t.tab.widgetEdges||!1,"widget-config":t.tab.widgetConfig||{},items:t.tab.widgetsDesktop},null,8,["page-id","tab-id","fullscreen","widget-edges","widget-config","items"]),createVNode$1(v,{id:"smartphone","page-id":t.pageId,"tab-id":t.tabId,label:"Smartphone",icon:"mdi-cellphone",fullscreen:t.tab.fullscreen||!1,"widget-edges":t.tab.widgetEdges||!1,"widget-config":t.tab.widgetConfig||{},items:t.tab.widgetsSmartphone},null,8,["page-id","tab-id","fullscreen","widget-edges","widget-config","items"])])}var TabSection=_export_sfc$1(_sfc_main$T,[["render",_sfc_render$T]]),DrawerSection_vue_vue_type_style_index_0_lang="";const _sfc_main$S=defineComponent({name:"DrawerSection",components:{TabSection},props:{pageId:{type:String,required:!0}},emits:["onSelectPage"],setup(t,{emit:r}){const o=useJarvis(),a=useEditor(),u=computed(()=>{const P=[];return a.getPagesWithoutDeletions.forEach(G=>{G.id!==t.pageId&&P.push({id:G.id,label:G.title,...G})}),P}),d=computed(()=>a.layout.find(P=>P.id===t.pageId)||{}),g=computed(()=>typeof d.value.title=="string"?d.value.title:d.value.title&&d.value.title.default||Object.values(d.value.title)[0]),v=computed({get(){return(d.value.tabs||[]).map(G=>(G._hasIconBinding=typeof G.icon=="object",G._hasTitleBinding=typeof G.title=="object",G))},set(P){a.setTabs({pageId:t.pageId,tabs:P})}}),y=o.getSelectedPage.id===d.value.id&&o.getSelectedTab||d.value.tabs&&d.value.tabs[0]||{},A=ref(y.id||null),b=ref({}),_=(P,G)=>{b.value[".tabOptions-move-"+P.id]=G};let w=null;watch(()=>t.pageId,()=>{A.value=w||v.value&&v.value[0]&&v.value[0].id||null,w=null});const S=()=>{a.addTab({pageId:t.pageId}),A.value=v.value[v.value.length-1].id},C=(P,G=!1)=>{a.addTab({pageId:t.pageId,tabId:P,copyWidgets:G}),A.value=v.value[v.value.length-1].id},T=(P,G)=>{a.moveTab({pageId:t.pageId,tabId:P,destinationPageId:G}),A.value=P,w=P,r("onSelectPage",a.layout.find(M=>M.id===G)||{})},I=P=>{if(a.deleteTab({pageId:t.pageId,tabId:P}),A.value===P){const G=v.value.find(M=>M._deleted!==!0);A.value=G?G.id:null}},E=P=>{a.restoreTab({pageId:t.pageId,tabId:P}),A.value=P},F=P=>{let G=P.value;try{G=G&&P.json!==void 0&&P.value.indexOf("{")>-1&&P.value.indexOf("}")>-1?JSON.parse(P.value):P.value}catch(M){console.warn(P.value,M)}a.editDrawerItem({itemId:t.pageId,key:P.id,val:G})},O=P=>a.changeDrawerItemId(t.pageId,P),D=ref(),x=computed(()=>D.value&&D.value.$el.offsetWidth?Math.floor(D.value.$el.offsetWidth*.95)+"px":"100%");return{...useDragDrop(v,P=>v.value=P,{direction:"vertical"}),onChange:F,setRef:_,breakpoint:x,elTabs:D,onChangeId:O,pages:u,page:d,pageTitle:g,tabs:v,tabOptions:b,selectedTab:A,addTab:S,copyTab:C,moveTab:T,deleteTab:I,restoreTab:E,icons:computed(()=>d.value&&d.value.icon&&(typeof d.value.icon!="string"||d.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(G=>({icon:"mdi:"+G,label:G,value:"mdi:"+G})))}}}),_hoisted_1$F=["id"],_hoisted_2$v={class:"text-h6 primary q-ma-sm"},_hoisted_3$n={class:"row"},_hoisted_4$f={class:"col"},_hoisted_5$c={class:"col"},_hoisted_6$8={class:"row"},_hoisted_7$6={class:"col"},_hoisted_8$6={class:"col"},_hoisted_9$6={class:"row"},_hoisted_10$5={class:"col"},_hoisted_11$5={class:"col"},_hoisted_12$3={key:0},_hoisted_13$2={class:"text-h6 primary q-ma-sm"},_hoisted_14$2={class:"q-ma-sm row"},_hoisted_15$2={key:0},_hoisted_16$2={key:1},_hoisted_17$2={key:2},_hoisted_18$2={key:3};function _sfc_render$S(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon"),y=resolveComponent("tab-section");return openBlock(),createElementBlock("div",{id:"page-"+t.page.id,key:t.page.id},[createBaseVNode("div",_hoisted_2$v,[createTextVNode(toDisplayString$1(t.$t("Page"))+": "+toDisplayString$1(t.pageTitle)+" ",1),createBaseVNode("span",null,"(ID: "+toDisplayString$1(t.page.id)+" )",1)]),createBaseVNode("div",_hoisted_3$n,[createBaseVNode("div",_hoisted_4$f,[createVNode$1(g,{id:"icon",json:"",label:t.$t("Icon"),value:t.page.icon||"",icon:t.page.icon,options:t.icons,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$c,[createVNode$1(g,{id:"title",json:"",label:t.$t("Title"),value:t.page.title||"",onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_6$8,[createBaseVNode("div",_hoisted_7$6,[createVNode$1(g,{id:"iconStyle",json:"",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.page.iconStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_8$6,[createVNode$1(g,{id:"bodyStyle",json:"",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.page.bodyStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_9$6,[createBaseVNode("div",_hoisted_10$5,[createVNode$1(g,{id:"iconSelectedStyle",json:"",label:"config#Layout#iconSelectedStyle#label",info:"config#Layout#iconSelectedStyle#info",value:t.page.iconSelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_11$5,[createVNode$1(g,{id:"bodySelectedStyle",json:"",label:"config#Layout#bodySelectedStyle#label",info:"config#Layout#bodySelectedStyle#info",value:t.page.bodySelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),!t.page.type||t.page.type==="page"?(openBlock(),createElementBlock("div",_hoisted_12$3,[createBaseVNode("div",_hoisted_13$2,toDisplayString$1(t.$t("Tabs of page"))+": "+toDisplayString$1(t.pageTitle),1),createBaseVNode("div",_hoisted_14$2,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Tab"),onClick:t.addTab},null,8,["label","onClick"]),createVNode$1(g,{id:"hideLabels",type:"switch",inline:"",label:t.$t("Do not show Tab Labels (only Icons)"),value:t.page.hideLabels||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createVNode$1(QTabs,{ref:"elTabs",modelValue:t.selectedTab,"onUpdate:modelValue":r[1]||(r[1]=A=>t.selectedTab=A),"inline-label":"","outside-arrows":"","mobile-arrows":"",class:"bg-primary text-white full-width",align:"left"},{default:withCtx(()=>[createBaseVNode("div",{ref:"elDragDrop",class:"row",style:normalizeStyle$1({width:t.breakpoint})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,A=>(openBlock(),createBlock(QTab,{key:A.id,name:A.id,style:normalizeStyle$1({backgroundColor:A.backgroundColor,height:"48px"}),class:normalizeClass({"q-px-xs":!0,rowDeleted:A._deleted===!0}),disable:A._deleted===!0},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-vertical",class:"dragndrop",color:A.color},null,8,["color"]),A._hasIconBinding?(openBlock(),createElementBlock("div",_hoisted_15$2,[createVNode$1(QBtnDropdown,{flat:"",dense:""},{label:withCtx(()=>[createVNode$1(v,{size:"xs",name:A.icon.default||Object.values(A.icon)[0],class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.icon,(b,_)=>(openBlock(),createBlock(QItem,{key:_},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:b,class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024)])):(openBlock(),createElementBlock("div",_hoisted_16$2,[createVNode$1(v,{size:"xs",name:A.icon,class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])])),A._hasTitleBinding?(openBlock(),createElementBlock("div",_hoisted_17$2,[createVNode$1(QBtnDropdown,{flat:"",dense:"",label:A.title.default||Object.values(A.title)[0]},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.title,(b,_)=>(openBlock(),createBlock(QItem,{key:_},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["label"])])):(openBlock(),createElementBlock("div",_hoisted_18$2,[withDirectives(createBaseVNode("div",{class:"q-tab__label",style:normalizeStyle$1({color:A.color})},toDisplayString$1(A.title),5),[[vShow,t.page.hideLabels!==!0]])])),createBaseVNode("div",{class:"row items-center no-wrap",style:normalizeStyle$1([{"margin-left":"16px"},{color:A.color}])},[createVNode$1(QSeparator,{vertical:"",class:"q-ma-xs"}),withDirectives(createVNode$1(g,{round:"",type:"button",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",onClick:b=>t.restoreTab(A.id)},null,8,["tooltip","onClick"]),[[vShow,A._deleted===!0]]),withDirectives(createVNode$1(QBtn,{class:normalizeClass("tabOptions-"+A.id),dense:"",flat:"",round:"",color:"white",icon:"mdi-dots-vertical",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},null,8,["class"]),[[vShow,A._deleted!==!0]]),createVNode$1(QMenu,{target:".tabOptions-"+A.id,anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[withDirectives(createVNode$1(QItem,{clickable:"",onClick:b=>t.copyTab(A.id,!0)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-content-copy"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("copy")),1)]),_:1})]),_:2},1032,["onClick"]),[[vShow,A._deleted!==!0]]),withDirectives(createVNode$1(QItem,{clickable:"",onClick:b=>t.copyTab(A.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-content-duplicate"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("duplicate")),1)]),_:1})]),_:2},1032,["onClick"]),[[vShow,A._deleted!==!0]]),withDirectives(createVNode$1(QItem,{class:normalizeClass("tabOptions-move-"+A.id),clickable:"",onMouseover:b=>t.tabOptions[".tabOptions-move-"+A.id]&&t.tabOptions[".tabOptions-move-"+A.id].show()},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-folder-move-outline"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("move")),1)]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-chevron-right"})]),_:1}),createVNode$1(QMenu,{ref_for:!0,ref:b=>t.setRef(A,b),anchor:"top end",self:"top start","auto-close":""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,b=>(openBlock(),createBlock(QItem,{key:b.id,clickable:"",onClick:_=>t.moveTab(A.id,b.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:b.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1536)]),_:2},1032,["class","onMouseover"]),[[vShow,A._deleted!==!0&&t.pages.length>0]]),createVNode$1(QItem,{clickable:"",style:{color:"#fff",background:"var(--q-negative)"},onClick:b=>t.deleteTab(A.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("delete")),1)]),_:1})]),_:2},1032,["onClick"])]),_:2},1032,["target"])],4)]),_:2},1032,["name","style","class","disable"]))),128))],4)]),_:1},8,["modelValue"]),createVNode$1(QTabPanels,{modelValue:t.selectedTab,"onUpdate:modelValue":r[2]||(r[2]=A=>t.selectedTab=A),animated:"",class:"border"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,A=>(openBlock(),createBlock(QTabPanel,{id:"tab-"+A.id,key:A.id,name:A.id,style:{padding:"16px 0"},class:"body"},{default:withCtx(()=>[createVNode$1(y,{"page-id":t.page.id,"tab-id":A.id},null,8,["page-id","tab-id"])]),_:2},1032,["id","name"]))),128))]),_:1},8,["modelValue"])])):createCommentVNode("",!0)],8,_hoisted_1$F)}var DrawerSection=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$S]]),LayoutsPage_vue_vue_type_style_index_0_lang="";const _sfc_main$R=defineComponent({name:"LayoutsPage",components:{DrawerSection,JsonEditor},setup(){const t=useI18n(),r=useJarvis(),o=useEditor(),a=[{id:"copy",icon:"mdi-content-copy",label:t.t("copy")},{id:"duplicate",icon:"mdi-content-duplicate",label:t.t("duplicate")}],u=T=>o.set({["settings."+T.id]:T.value}),d=T=>{if(T._error){o.addError(T.id,T._error);return}o.removeError(T.id),T.value&&o.set({tmpJsonEditor:{key:T.id,json:JSON.parse(T.value)}})},g=computed({get(){return(o.getLayout||[]).map(I=>(I._hasIconBinding=typeof I.icon=="object",I._hasTitleBinding=typeof I.title=="object",I))},set(T){o.setLayout(T)}}),v=ref(r.getSelectedPage||(o.selectedPage?o.selectedPage:o.getLayout.find(T=>T.type==="page"&&T._deleted!==!0))),y=T=>{v.value=T},A=()=>o.addDrawerItem({type:"divider"}),b=()=>o.addDrawerItem({type:"header",title:t.t("New Header")}),_=()=>{o.addDrawerItem({type:"page",icon:"mdi-file",title:t.t("New Page"),tabs:[]}),v.value=g.value[g.value.length-1],o.addTab({pageId:v.value.id})},w=T=>{const I=T.id;o.copyDrawerItem({itemId:I,copyWidgets:T.val==="copy"});const E=g.value[g.value.length-1];E.type==="page"&&(v.value=E)},S=T=>{o.deleteDrawerItem({itemId:T}),v.value.id===T&&(v.value=g.value.find(I=>I.type==="page"&&I._deleted!==!0))},C=T=>{o.restoreDrawerItem({itemId:T});const I=g.value.find(E=>E.id===T);I.type==="page"&&(v.value=I)};return{...useDragDrop(g,T=>g.value=T),copyMenu:a,json:computed(()=>o.layout),settings:computed(()=>o.settings),proWarning:computed(()=>!Pro.isPro()&&g.value.filter(T=>T.type==="page").length>1),configurationHeight:computed(()=>{const T=document.querySelector(".q-page");return T&&T.offsetHeight||900}),pagesWithoutDeletionsCount:computed(()=>o.getPagesWithoutDeletions.length),onChangeSettings:u,onJsonEditor:d,onSelectPage:y,selectedPage:v,pages:g,addDivider:A,addHeader:b,addPage:_,copyItem:w,deleteItem:S,restoreItem:C}}}),_hoisted_1$E={class:"full-height LayoutsPage"},_hoisted_2$u={class:"row no-wrap"},_hoisted_3$m={class:"row",style:{"margin-bottom":"54px"}},_hoisted_4$e={class:"col-3"},_hoisted_5$b={class:"text-h6 primary q-ma-sm"},_hoisted_6$7={key:0},_hoisted_7$5={key:1},_hoisted_8$5={key:1},_hoisted_9$5={key:2},_hoisted_10$4={class:"row items-center"},_hoisted_11$4={class:"col-9"};function _sfc_render$R(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("icon"),y=resolveComponent("inputs"),A=resolveComponent("paper"),b=resolveComponent("drawer-section"),_=resolveComponent("json-editor");return openBlock(),createElementBlock("div",_hoisted_1$E,[createBaseVNode("div",_hoisted_2$u,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Layout")),1)]),_:1})]),_:1})]),withDirectives(createBaseVNode("div",_hoisted_3$m,[createBaseVNode("div",_hoisted_4$e,[createVNode$1(A,{class:"q-pa-sm"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$b,toDisplayString$1(t.$t("Drawer")+" / "+t.$t("Pages")),1),createVNode$1(QBtnGroup,null,{default:withCtx(()=>[createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Page"),onClick:t.addPage},null,8,["label","onClick"]),createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Header"),onClick:t.addHeader},null,8,["label","onClick"]),createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Divider"),onClick:t.addDivider},null,8,["label","onClick"])]),_:1}),withDirectives(createVNode$1(g,{style:{margin:"16px 0 0 0"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Only a single page is allowed without Pro. A single page may hold infinite tabs though."))+". ",1)]),_:1},512),[[vShow,t.proWarning]]),createVNode$1(QSeparator,{style:{margin:"16px 0"}}),createVNode$1(QList,{ref:"elDragDrop"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,w=>(openBlock(),createBlock(QItem,{key:w.id,clickable:!w.type||w.type==="page"||w.type==="header",class:normalizeClass({rowDeleted:w._deleted===!0,selected:t.selectedPage.id===w.id}),disable:w._deleted===!0,onClick:S=>t.onSelectPage(w)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),!w.type||w.type==="page"?(openBlock(),createBlock(QItemSection,{key:0,avatar:"",center:"",style:normalizeStyle$1({backgroundColor:w.backgroundColor})},{default:withCtx(()=>[w._hasIconBinding?(openBlock(),createElementBlock("div",_hoisted_6$7,[createVNode$1(QBtnDropdown,{flat:"",dense:""},{label:withCtx(()=>[createVNode$1(v,{name:w.icon.default||Object.values(w.icon)[0],color:t.selectedPage.id===w.id?"white":"primary",styles:{color:w.iconColor}},null,8,["name","color","styles"])]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(w.icon,(S,C)=>(openBlock(),createBlock(QItem,{key:C},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:S,class:"pageIcon q-mr-xs",color:w.iconColor||w.color},null,8,["name","color"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(S),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(C),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024)])):(openBlock(),createElementBlock("div",_hoisted_7$5,[createVNode$1(v,{name:w.icon,color:t.selectedPage.id===w.id?"white":"primary",styles:{color:w.iconColor}},null,8,["name","color","styles"])]))]),_:2},1032,["style"])):createCommentVNode("",!0),createVNode$1(QItemSection,{class:normalizeClass({itemDeleted:w._deleted===!0}),style:normalizeStyle$1({backgroundColor:w.backgroundColor,color:w.color})},{default:withCtx(()=>[w.type==="divider"?(openBlock(),createBlock(QSeparator,{key:0})):createCommentVNode("",!0),w._hasTitleBinding?(openBlock(),createElementBlock("div",_hoisted_8$5,[createVNode$1(QBtnDropdown,{flat:"",dense:"",label:w.title.default||Object.values(w.title)[0]},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(w.title,(S,C)=>(openBlock(),createBlock(QItem,{key:C},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(S),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(C),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["label"])])):(openBlock(),createElementBlock("div",_hoisted_9$5,[createVNode$1(QItemLabel,{class:normalizeClass({header:w.type==="header"}),style:normalizeStyle$1({color:w.color})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(w.title),1)]),_:2},1032,["class","style"])]))]),_:2},1032,["class","style"]),createVNode$1(QItemSection,{side:"",class:normalizeClass({rowDeleted:w._deleted===!0,selected:t.selectedPage.id===w.id})},{default:withCtx(()=>[createBaseVNode("div",_hoisted_10$4,[w.type==="page"?withDirectives((openBlock(),createBlock(y,{key:0,id:w.id,type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),items:t.copyMenu,"dense-menu":"",onOnSelect:t.copyItem},null,8,["id","tooltip","items","onOnSelect"])),[[vShow,w.type!=="divider"&&w._deleted!==!0]]):withDirectives((openBlock(),createBlock(y,{key:1,type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),onClick:withModifiers(S=>t.copyItem({id:w.id}),["stop"])},null,8,["tooltip","onClick"])),[[vShow,w.type!=="divider"&&w._deleted!==!0]]),withDirectives(createVNode$1(y,{type:"button",round:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:withModifiers(S=>t.deleteItem(w.id),["stop"])},null,8,["tooltip","onClick"]),[[vShow,(w.type&&w.type!=="page"||(!w.type||w.type==="page")&&t.pagesWithoutDeletionsCount>1)&&w._deleted!==!0]]),withDirectives(createVNode$1(y,{type:"button",round:"",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",class:"restore",onClick:withModifiers(S=>t.restoreItem(w.id),["stop"])},null,8,["tooltip","onClick"]),[[vShow,w._deleted===!0]])])]),_:2},1032,["class"])]),_:2},1032,["clickable","class","disable","onClick"]))),128))]),_:1},512),createVNode$1(QList,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"q-my-sm"}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""}),createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-cog",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Configuration"))+" & "+toDisplayString$1(t.$t("Help")),1)]),_:1}),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("show in sidebar")),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(y,{id:"drawerShowSettings",type:"Switch",inline:"",value:t.settings.drawerShowSettings,onOnChange:t.onChangeSettings},null,8,["value","onOnChange"])]),_:1})]),_:1}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""}),createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-menu",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Drawer")),1)]),_:1}),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("show button")),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(y,{id:"drawerShowMenuButton",type:"Switch",inline:"",value:t.settings.drawerShowMenuButton,onOnChange:t.onChangeSettings},null,8,["value","onOnChange"])]),_:1})]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",_hoisted_11$4,[createVNode$1(A,{class:"q-pa-sm"},{default:withCtx(()=>[t.selectedPage&&t.selectedPage.id?(openBlock(),createBlock(b,{key:0,"page-id":t.selectedPage.id,onOnSelectPage:t.onSelectPage},null,8,["page-id","onOnSelectPage"])):createCommentVNode("",!0)]),_:1})])],512),[[vShow,!t.settings.configExpertMode]]),withDirectives(createVNode$1(A,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(_,{id:"layout",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.settings.configExpertMode]])])}var LayoutsPage=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$R]]),index$7=Object.freeze(Object.defineProperty({__proto__:null,default:LayoutsPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$Q=defineComponent({name:"SettingsPage",components:{JsonEditor},setup(){const t=useEditor(),r=useJarvis(),o=computed(()=>t.settings),a=computed(()=>t.settings&&t.settings.configExpertMode),u=y=>y?y({jarvis:r,editor:t}):!0,d=y=>t.settings[y.id]!==void 0?y.validate?y.validate(t.settings[y.id]):t.settings[y.id]:y.value,g=y=>{const{id:A,value:b}=y;y.parentId?t.set("settings."+y.parentId+"-"+y.component,{[A]:b},!0):t.set({["settings."+A]:b})},v=y=>{if(y._error){t.addError(y.id,y._error);return}t.removeError(y.id),y.value&&t.set({tmpJsonEditor:{key:y.id,json:JSON.parse(y.value)}})};return{expanded:ref({}),groups:Config,configurationHeight:computed(()=>{const y=document.querySelector(".q-page");return y&&y.offsetHeight||900}),expertMode:a,json:o,dependencies:u,getValue:d,onChange:g,onJsonEditor:v}}}),_hoisted_1$D={class:"full-height"},_hoisted_2$t={class:"row no-wrap"},_hoisted_3$l={class:"row",style:{padding:"8px 16px"}};function _sfc_render$Q(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("json-editor"),y=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$D,[createBaseVNode("div",_hoisted_2$t,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Settings")),1)]),_:1})]),_:1})]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,A=>withDirectives((openBlock(),createElementBlock("div",{key:A.id,class:"row no-wrap paper"},[createVNode$1(QExpansionItem,{modelValue:t.expanded[A.id],"onUpdate:modelValue":b=>t.expanded[A.id]=b,icon:A.icon,label:t.$t(A.label),class:"full-width"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$l,[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.settings,b=>withDirectives((openBlock(),createElementBlock("div",{key:b.id,class:normalizeClass("col-"+(b.columns||2))},[createBaseVNode("form",null,[createVNode$1(g,mergeProps({ref_for:!0},b,{value:t.getValue(b),onOnChange:t.onChange,onOnSelect:t.onChange}),null,16,["value","onOnChange","onOnSelect"])])],2)),[[vShow,t.dependencies(b.dependency)]])),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"])])),[[vShow,!t.expertMode]])),128)),withDirectives(createVNode$1(y,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(v,{id:"settings",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var SettingsPage=_export_sfc$1(_sfc_main$Q,[["render",_sfc_render$Q]]),index$6=Object.freeze(Object.defineProperty({__proto__:null,default:SettingsPage},Symbol.toStringTag,{value:"Module"})),css={},commentre=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,parse$2=function(t,r){r=r||{};var o=1,a=1;function u(ne){var te=ne.match(/\n/g);te&&(o+=te.length);var ce=ne.lastIndexOf(` -`);a=~ce?ne.length-ce:a+ne.length}function d(){var ne={line:o,column:a};return function(te){return te.position=new g(ne),C(),te}}function g(ne){this.start=ne,this.end={line:o,column:a},this.source=r.source}g.prototype.content=t;var v=[];function y(ne){var te=new Error(r.source+":"+o+":"+a+": "+ne);if(te.reason=ne,te.filename=r.source,te.line=o,te.column=a,te.source=t,r.silent)v.push(te);else throw te}function A(){var ne=w();return{type:"stylesheet",stylesheet:{source:r.source,rules:ne,parsingErrors:v}}}function b(){return S(/^{\s*/)}function _(){return S(/^}/)}function w(){var ne,te=[];for(C(),T(te);t.length&&t.charAt(0)!="}"&&(ne=X()||J());)ne!==!1&&(te.push(ne),T(te));return te}function S(ne){var te=ne.exec(t);if(!!te){var ce=te[0];return u(ce),t=t.slice(ce.length),te}}function C(){S(/^\s*/)}function T(ne){var te;for(ne=ne||[];te=I();)te!==!1&&ne.push(te);return ne}function I(){var ne=d();if(!(t.charAt(0)!="/"||t.charAt(1)!="*")){for(var te=2;t.charAt(te)!=""&&(t.charAt(te)!="*"||t.charAt(te+1)!="/");)++te;if(te+=2,t.charAt(te-1)==="")return y("End of comment missing");var ce=t.slice(2,te-2);return a+=2,u(ce),t=t.slice(te),a+=2,ne({type:"comment",comment:ce})}}function E(){var ne=S(/^([^{]+)/);if(!!ne)return trim$2(ne[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(te){return te.replace(/,/g,"\u200C")}).split(/\s*(?![^(]*\)),\s*/).map(function(te){return te.replace(/\u200C/g,",")})}function F(){var ne=d(),te=S(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!!te){if(te=trim$2(te[0]),!S(/^:\s*/))return y("property missing ':'");var ce=S(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),se=ne({type:"declaration",property:te.replace(commentre,""),value:ce?trim$2(ce[0]).replace(commentre,""):""});return S(/^[;\s]*/),se}}function O(){var ne=[];if(!b())return y("missing '{'");T(ne);for(var te;te=F();)te!==!1&&(ne.push(te),T(ne));return _()?ne:y("missing '}'")}function D(){for(var ne,te=[],ce=d();ne=S(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)te.push(ne[1]),S(/^,\s*/);if(!!te.length)return ce({type:"keyframe",values:te,declarations:O()})}function x(){var ne=d(),ce=S(/^@([-\w]+)?keyframes\s*/);if(!!ce){var te=ce[1],ce=S(/^([-\w]+)\s*/);if(!ce)return y("@keyframes missing name");var se=ce[1];if(!b())return y("@keyframes missing '{'");for(var ge,he=T();ge=D();)he.push(ge),he=he.concat(T());return _()?ne({type:"keyframes",name:se,vendor:te,keyframes:he}):y("@keyframes missing '}'")}}function P(){var ne=d(),te=S(/^@supports *([^{]+)/);if(!!te){var ce=trim$2(te[1]);if(!b())return y("@supports missing '{'");var se=T().concat(w());return _()?ne({type:"supports",supports:ce,rules:se}):y("@supports missing '}'")}}function G(){var ne=d(),te=S(/^@host\s*/);if(!!te){if(!b())return y("@host missing '{'");var ce=T().concat(w());return _()?ne({type:"host",rules:ce}):y("@host missing '}'")}}function M(){var ne=d(),te=S(/^@media *([^{]+)/);if(!!te){var ce=trim$2(te[1]);if(!b())return y("@media missing '{'");var se=T().concat(w());return _()?ne({type:"media",media:ce,rules:se}):y("@media missing '}'")}}function N(){var ne=d(),te=S(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(!!te)return ne({type:"custom-media",name:trim$2(te[1]),media:trim$2(te[2])})}function V(){var ne=d(),te=S(/^@page */);if(!!te){var ce=E()||[];if(!b())return y("@page missing '{'");for(var se=T(),ge;ge=F();)se.push(ge),se=se.concat(T());return _()?ne({type:"page",selectors:ce,declarations:se}):y("@page missing '}'")}}function Y(){var ne=d(),te=S(/^@([-\w]+)?document *([^{]+)/);if(!!te){var ce=trim$2(te[1]),se=trim$2(te[2]);if(!b())return y("@document missing '{'");var ge=T().concat(w());return _()?ne({type:"document",document:se,vendor:ce,rules:ge}):y("@document missing '}'")}}function H(){var ne=d(),te=S(/^@font-face\s*/);if(!!te){if(!b())return y("@font-face missing '{'");for(var ce=T(),se;se=F();)ce.push(se),ce=ce.concat(T());return _()?ne({type:"font-face",declarations:ce}):y("@font-face missing '}'")}}var B=Q("import"),z=Q("charset"),U=Q("namespace");function Q(ne){var te=new RegExp("^@"+ne+"\\s*([^;]+);");return function(){var ce=d(),se=S(te);if(!!se){var ge={type:ne};return ge[ne]=se[1].trim(),ce(ge)}}}function X(){if(t[0]=="@")return x()||M()||N()||P()||B()||z()||U()||Y()||V()||G()||H()}function J(){var ne=d(),te=E();return te?(T(),ne({type:"rule",selectors:te,declarations:O()})):y("selector missing")}return addParent(A())};function trim$2(t){return t?t.replace(/^\s+|\s+$/g,""):""}function addParent(t,r){var o=t&&typeof t.type=="string",a=o?t:r;for(var u in t){var d=t[u];Array.isArray(d)?d.forEach(function(g){addParent(g,a)}):d&&typeof d=="object"&&addParent(d,a)}return o&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:r||null}),t}var compiler=Compiler$2;function Compiler$2(t){this.options=t||{}}Compiler$2.prototype.emit=function(t){return t};Compiler$2.prototype.visit=function(t){return this[t.type](t)};Compiler$2.prototype.mapVisit=function(t,r){var o="";r=r||"";for(var a=0,u=t.length;a`,a=g.body.children[0],r.appendChild(a)}return GridStack.init(o,a)}static registerEngine(r){GridStack.engineClass=r}get placeholder(){if(!this._placeholder){let r=document.createElement("div");r.className="placeholder-content",this.opts.placeholderText&&(r.innerHTML=this.opts.placeholderText),this._placeholder=document.createElement("div"),this._placeholder.classList.add(this.opts.placeholderClass,gridDefaults.itemClass,this.opts.itemClass),this.placeholder.appendChild(r)}return this._placeholder}constructor(r,o={}){var _,w,S,C;this.el=r,this.opts=o,this._gsEventHandler={},this._extraDragRow=0,this.dragTransform={xScale:1,yScale:1,xOffset:0,yOffset:0},r.gridstack=this,o=o||{},r.classList.contains("grid-stack")||this.el.classList.add("grid-stack"),o.row&&(o.minRow=o.maxRow=o.row,delete o.row);let a=Utils.toNumber(r.getAttribute("gs-row"));o.column==="auto"&&delete o.column,o.alwaysShowResizeHandle!==void 0&&(o._alwaysShowResizeHandle=o.alwaysShowResizeHandle);let u=(_=o.columnOpts)==null?void 0:_.breakpoints;const d=o;if(d.oneColumnModeDomSort&&(delete d.oneColumnModeDomSort,console.log("warning: Gridstack oneColumnModeDomSort no longer supported. Use GridStackOptions.columnOpts instead.")),d.oneColumnSize||d.disableOneColumnMode===!1){const T=d.oneColumnSize||768;delete d.oneColumnSize,delete d.disableOneColumnMode,o.columnOpts=o.columnOpts||{},u=o.columnOpts.breakpoints=o.columnOpts.breakpoints||[];let I=u.find(E=>E.c===1);I?I.w=T:(I={c:1,w:T},u.push(I,{c:12,w:T+1}))}const g=o.columnOpts;g&&(!g.columnWidth&&!((w=g.breakpoints)!=null&&w.length)?(delete o.columnOpts,u=void 0):g.columnMax=g.columnMax||12),(u==null?void 0:u.length)>1&&u.sort((T,I)=>(I.w||0)-(T.w||0));let v={...Utils.cloneDeep(gridDefaults),column:Utils.toNumber(r.getAttribute("gs-column"))||gridDefaults.column,minRow:a||Utils.toNumber(r.getAttribute("gs-min-row"))||gridDefaults.minRow,maxRow:a||Utils.toNumber(r.getAttribute("gs-max-row"))||gridDefaults.maxRow,staticGrid:Utils.toBool(r.getAttribute("gs-static"))||gridDefaults.staticGrid,draggable:{handle:(o.handleClass?"."+o.handleClass:o.handle?o.handle:"")||gridDefaults.draggable.handle},removableOptions:{accept:o.itemClass||gridDefaults.removableOptions.accept,decline:gridDefaults.removableOptions.decline}};r.getAttribute("gs-animate")&&(v.animate=Utils.toBool(r.getAttribute("gs-animate"))),o=Utils.defaults(o,v),this._initMargin(),this.checkDynamicColumn(),this.el.classList.add("gs-"+o.column),o.rtl==="auto"&&(o.rtl=r.style.direction==="rtl"),o.rtl&&this.el.classList.add("grid-stack-rtl");const y=(S=this.el.parentElement)==null?void 0:S.parentElement;let A=y!=null&&y.classList.contains(gridDefaults.itemClass)?y.gridstackNode:void 0;A&&(A.subGrid=this,this.parentGridItem=A,this.el.classList.add("grid-stack-nested"),A.el.classList.add("grid-stack-sub-grid")),this._isAutoCellHeight=o.cellHeight==="auto",this._isAutoCellHeight||o.cellHeight==="initial"?this.cellHeight(void 0,!1):(typeof o.cellHeight=="number"&&o.cellHeightUnit&&o.cellHeightUnit!==gridDefaults.cellHeightUnit&&(o.cellHeight=o.cellHeight+o.cellHeightUnit,delete o.cellHeightUnit),this.cellHeight(o.cellHeight,!1)),o.alwaysShowResizeHandle==="mobile"&&(o.alwaysShowResizeHandle=isTouch),this._styleSheetClass="gs-id-"+GridStackEngine._idSeq++,this.el.classList.add(this._styleSheetClass),this._setStaticClass();let b=o.engineClass||GridStack.engineClass||GridStackEngine;if(this.engine=new b({column:this.getColumn(),float:o.float,maxRow:o.maxRow,onChange:T=>{let I=0;this.engine.nodes.forEach(E=>{I=Math.max(I,E.y+E.h)}),T.forEach(E=>{let F=E.el;!F||(E._removeDOM?(F&&F.remove(),delete E._removeDOM):this._writePosAttr(F,E))}),this._updateStyles(!1,I)}}),this._updateStyles(!1,0),o.auto&&(this.batchUpdate(),this.engine._loading=!0,this.getGridItems().forEach(T=>this._prepareElement(T)),delete this.engine._loading,this.batchUpdate(!1)),o.children){const T=o.children;delete o.children,T.length&&this.load(T)}this.setAnimation(),o.subGridDynamic&&!DDManager.pauseDrag&&(DDManager.pauseDrag=!0),((C=o.draggable)==null?void 0:C.pause)!==void 0&&(DDManager.pauseDrag=o.draggable.pause),this._setupRemoveDrop(),this._setupAcceptWidget(),this._updateResizeEvent()}addWidget(r,o){function a(v){return v.el!==void 0||v.x!==void 0||v.y!==void 0||v.w!==void 0||v.h!==void 0||v.content!==void 0}let u,d;if(typeof r=="string"){let v=document.implementation.createHTMLDocument("");v.body.innerHTML=r,u=v.body.children[0]}else if(arguments.length===0||arguments.length===1&&a(r))if(d=o=r,d!=null&&d.el)u=d.el;else if(GridStack.addRemoveCB)u=GridStack.addRemoveCB(this.el,o,!0,!1);else{let v=(o==null?void 0:o.content)||"",y=document.implementation.createHTMLDocument("");y.body.innerHTML=`
    ${v}
    `,u=y.body.children[0]}else u=r;if(!u)return;if(d=u.gridstackNode,d&&u.parentElement===this.el&&this.engine.nodes.find(v=>v._id===d._id))return u;let g=this._readAttr(u);return o=Utils.cloneDeep(o)||{},Utils.defaults(o,g),d=this.engine.prepareNode(o),this._writeAttr(u,o),this.el.appendChild(u),this.makeWidget(u,o),u}makeSubGrid(r,o,a,u=!0){var S,C,T;let d=r.gridstackNode;if(d||(d=this.makeWidget(r).gridstackNode),(S=d.subGrid)!=null&&S.el)return d.subGrid;let g,v=this;for(;v&&!g;)g=(C=v.opts)==null?void 0:C.subGridOpts,v=(T=v.parentGridItem)==null?void 0:T.grid;o=Utils.cloneDeep({...g||{},children:void 0,...o||d.subGridOpts||{}}),d.subGridOpts=o;let y;o.column==="auto"&&(y=!0,o.column=Math.max(d.w||1,(a==null?void 0:a.w)||1),delete o.columnOpts);let A=d.el.querySelector(".grid-stack-item-content"),b,_;if(u){if(this._removeDD(d.el),_={...d,x:0,y:0},Utils.removeInternalForSave(_),delete _.subGridOpts,d.content&&(_.content=d.content,delete d.content),GridStack.addRemoveCB)b=GridStack.addRemoveCB(this.el,_,!0,!1);else{let I=document.implementation.createHTMLDocument("");I.body.innerHTML='
    ',b=I.body.children[0],b.appendChild(A),I.body.innerHTML='
    ',A=I.body.children[0],d.el.appendChild(A)}this._prepareDragDropByNode(d)}if(a){let I=y?o.column:d.w,E=d.h+a.h,F=d.el.style;F.transition="none",this.update(d.el,{w:I,h:E}),setTimeout(()=>F.transition=null)}let w=d.subGrid=GridStack.addGrid(A,o);return a!=null&&a._moving&&(w._isTemp=!0),y&&(w._autoColumn=!0),u&&w.addWidget(b,_),a&&(a._moving?window.setTimeout(()=>Utils.simulateMouseEvent(a._event,"mouseenter",w.el),0):w.addWidget(d.el,d)),w}removeAsSubGrid(r){var a;let o=(a=this.parentGridItem)==null?void 0:a.grid;!o||(o.batchUpdate(),o.removeWidget(this.parentGridItem.el,!0,!0),this.engine.nodes.forEach(u=>{u.x+=this.parentGridItem.x,u.y+=this.parentGridItem.y,o.addWidget(u.el,u)}),o.batchUpdate(!1),this.parentGridItem&&delete this.parentGridItem.subGrid,delete this.parentGridItem,r&&window.setTimeout(()=>Utils.simulateMouseEvent(r._event,"mouseenter",o.el),0))}save(r=!0,o=!1,a=GridStack.saveCB){let u=this.engine.save(r,a);if(u.forEach(d=>{var g;if(r&&d.el&&!d.subGrid&&!a){let v=d.el.querySelector(".grid-stack-item-content");d.content=v?v.innerHTML:void 0,d.content||delete d.content}else if(!r&&!a&&delete d.content,(g=d.subGrid)!=null&&g.el){const v=d.subGrid.save(r,o,a);d.subGridOpts=o?v:{children:v},delete d.subGrid}delete d.el}),o){let d=Utils.cloneDeep(this.opts);d.marginBottom===d.marginTop&&d.marginRight===d.marginLeft&&d.marginTop===d.marginRight&&(d.margin=d.marginTop,delete d.marginTop,delete d.marginRight,delete d.marginBottom,delete d.marginLeft),d.rtl===(this.el.style.direction==="rtl")&&(d.rtl="auto"),this._isAutoCellHeight&&(d.cellHeight="auto"),this._autoColumn&&(d.column="auto");const g=d._alwaysShowResizeHandle;return delete d._alwaysShowResizeHandle,g!==void 0?d.alwaysShowResizeHandle=g:delete d.alwaysShowResizeHandle,Utils.removeInternalAndSame(d,gridDefaults),d.children=u,d}return u}load(r,o=GridStack.addRemoveCB||!0){var A;r=Utils.cloneDeep(r);const a=this.getColumn();r.forEach(b=>{b.w=b.w||1,b.h=b.h||1}),r=Utils.sort(r);let u=0;r.forEach(b=>{u=Math.max(u,(b.x||0)+b.w)}),u>a&&(this._ignoreLayoutsNodeChange=!0,this.engine.cacheLayout(r,u,!0));const d=GridStack.addRemoveCB;typeof o=="function"&&(GridStack.addRemoveCB=o);let g=[];this.batchUpdate();const v=!this.engine.nodes.length;v&&this.setAnimation(!1),!v&&o&&[...this.engine.nodes].forEach(_=>{if(!_.id)return;Utils.find(r,_.id)||(GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,_,!1,!1),g.push(_),this.removeWidget(_.el,!0,!1))}),this.engine._loading=!0;let y=[];return this.engine.nodes=this.engine.nodes.filter(b=>Utils.find(r,b.id)?(y.push(b),!1):!0),r.forEach(b=>{var w;let _=Utils.find(y,b.id);if(_){if(Utils.shouldSizeToContent(_)&&(b.h=_.h),this.engine.nodeBoundFix(b),(b.autoPosition||b.x===void 0||b.y===void 0)&&(b.w=b.w||_.w,b.h=b.h||_.h,this.engine.findEmptyPosition(b)),this.engine.nodes.push(_),Utils.samePos(_,b)&&this.moveNode(_,{...b,forceCollide:!0}),this.update(_.el,b),(w=b.subGridOpts)!=null&&w.children){let S=_.el.querySelector(".grid-stack");S&&S.gridstack&&S.gridstack.load(b.subGridOpts.children)}}else o&&this.addWidget(b)}),delete this.engine._loading,this.engine.removedNodes=g,this.batchUpdate(!1),delete this._ignoreLayoutsNodeChange,d?GridStack.addRemoveCB=d:delete GridStack.addRemoveCB,v&&((A=this.opts)==null?void 0:A.animate)&&this.setAnimation(this.opts.animate,!0),this}batchUpdate(r=!0){return this.engine.batchUpdate(r),r||(this._updateContainerHeight(),this._triggerRemoveEvent(),this._triggerAddEvent(),this._triggerChangeEvent()),this}getCellHeight(r=!1){if(this.opts.cellHeight&&this.opts.cellHeight!=="auto"&&(!r||!this.opts.cellHeightUnit||this.opts.cellHeightUnit==="px"))return this.opts.cellHeight;if(this.opts.cellHeightUnit==="rem")return this.opts.cellHeight*parseFloat(getComputedStyle(document.documentElement).fontSize);if(this.opts.cellHeightUnit==="em")return this.opts.cellHeight*parseFloat(getComputedStyle(this.el).fontSize);if(this.opts.cellHeightUnit==="cm")return this.opts.cellHeight*(96/2.54);if(this.opts.cellHeightUnit==="mm")return this.opts.cellHeight*(96/2.54)/10;let o=this.el.querySelector("."+this.opts.itemClass);if(o){let u=Utils.toNumber(o.getAttribute("gs-h"))||1;return Math.round(o.offsetHeight/u)}let a=parseInt(this.el.getAttribute("gs-current-row"));return a?Math.round(this.el.getBoundingClientRect().height/a):this.opts.cellHeight}cellHeight(r,o=!0){if(o&&r!==void 0&&this._isAutoCellHeight!==(r==="auto")&&(this._isAutoCellHeight=r==="auto",this._updateResizeEvent()),(r==="initial"||r==="auto")&&(r=void 0),r===void 0){let u=-this.opts.marginRight-this.opts.marginLeft+this.opts.marginTop+this.opts.marginBottom;r=this.cellWidth()+u}let a=Utils.parseHeight(r);return this.opts.cellHeightUnit===a.unit&&this.opts.cellHeight===a.h?this:(this.opts.cellHeightUnit=a.unit,this.opts.cellHeight=a.h,this.resizeToContentCheck(),o&&this._updateStyles(!0),this)}cellWidth(){return this._widthOrContainer()/this.getColumn()}_widthOrContainer(r=!1){var o;return r&&((o=this.opts.columnOpts)==null?void 0:o.breakpointForWindow)?window.innerWidth:this.el.clientWidth||this.el.parentElement.clientWidth||window.innerWidth}checkDynamicColumn(){var d,g;const r=this.opts.columnOpts;if(!r||!r.columnWidth&&!((d=r.breakpoints)!=null&&d.length))return!1;const o=this.getColumn();let a=o;const u=this._widthOrContainer(!0);if(r.columnWidth)a=Math.min(Math.round(u/r.columnWidth)||1,r.columnMax);else{a=r.columnMax;let v=0;for(;vy.c===a);return this.column(a,(v==null?void 0:v.layout)||r.layout),!0}return!1}compact(r="compact",o=!0){return this.engine.compact(r,o),this._triggerChangeEvent(),this}column(r,o="moveScale"){if(!r||r<1||this.opts.column===r)return this;let a=this.getColumn();return this.opts.column=r,this.engine?(this.engine.column=r,this.el.classList.remove("gs-"+a),this.el.classList.add("gs-"+r),this.engine.columnChanged(a,r,o),this._isAutoCellHeight&&this.cellHeight(),this.resizeToContentCheck(!0),this._ignoreLayoutsNodeChange=!0,this._triggerChangeEvent(),delete this._ignoreLayoutsNodeChange,this):this}getColumn(){return this.opts.column}getGridItems(){return Array.from(this.el.children).filter(r=>r.matches("."+this.opts.itemClass)&&!r.matches("."+this.opts.placeholderClass))}destroy(r=!0){if(!!this.el)return this.offAll(),this._updateResizeEvent(!0),this.setStatic(!0,!1),this.setAnimation(!1),r?this.el.parentNode.removeChild(this.el):(this.removeAll(r),this.el.classList.remove(this._styleSheetClass),this.el.removeAttribute("gs-current-row")),this._removeStylesheet(),this.parentGridItem&&delete this.parentGridItem.subGrid,delete this.parentGridItem,delete this.opts,delete this._placeholder,delete this.engine,delete this.el.gridstack,delete this.el,this}float(r){return this.opts.float!==r&&(this.opts.float=this.engine.float=r,this._triggerChangeEvent()),this}getFloat(){return this.engine.float}getCellFromPixel(r,o=!1){let a=this.el.getBoundingClientRect(),u;o?u={top:a.top+document.documentElement.scrollTop,left:a.left}:u={top:this.el.offsetTop,left:this.el.offsetLeft};let d=r.left-u.left,g=r.top-u.top,v=a.width/this.getColumn(),y=a.height/parseInt(this.el.getAttribute("gs-current-row"));return{x:Math.floor(d/v),y:Math.floor(g/y)}}getRow(){return Math.max(this.engine.getRow(),this.opts.minRow)}isAreaEmpty(r,o,a,u){return this.engine.isAreaEmpty(r,o,a,u)}makeWidget(r,o){let a=GridStack.getElement(r);this._prepareElement(a,!0,o);const u=a.gridstackNode;return this._updateContainerHeight(),u.subGridOpts&&this.makeSubGrid(a,u.subGridOpts,void 0,!1),this.opts.column===1&&(this._ignoreLayoutsNodeChange=!0),this._triggerAddEvent(),this._triggerChangeEvent(),delete this._ignoreLayoutsNodeChange,a}on(r,o){return r.indexOf(" ")!==-1?(r.split(" ").forEach(u=>this.on(u,o)),this):(r==="change"||r==="added"||r==="removed"||r==="enable"||r==="disable"?(r==="enable"||r==="disable"?this._gsEventHandler[r]=u=>o(u):this._gsEventHandler[r]=u=>o(u,u.detail),this.el.addEventListener(r,this._gsEventHandler[r])):r==="drag"||r==="dragstart"||r==="dragstop"||r==="resizestart"||r==="resize"||r==="resizestop"||r==="dropped"||r==="resizecontent"?this._gsEventHandler[r]=o:console.error("GridStack.on("+r+") event not supported"),this)}off(r){return r.indexOf(" ")!==-1?(r.split(" ").forEach(a=>this.off(a)),this):((r==="change"||r==="added"||r==="removed"||r==="enable"||r==="disable")&&this._gsEventHandler[r]&&this.el.removeEventListener(r,this._gsEventHandler[r]),delete this._gsEventHandler[r],this)}offAll(){return Object.keys(this._gsEventHandler).forEach(r=>this.off(r)),this}removeWidget(r,o=!0,a=!0){return GridStack.getElements(r).forEach(u=>{if(u.parentElement&&u.parentElement!==this.el)return;let d=u.gridstackNode;d||(d=this.engine.nodes.find(g=>u===g.el)),d&&(o&&GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,d,!1,!1),delete u.gridstackNode,this._removeDD(u),this.engine.removeNode(d,o,a),o&&u.parentElement&&u.remove())}),a&&(this._triggerRemoveEvent(),this._triggerChangeEvent()),this}removeAll(r=!0,o=!0){return this.engine.nodes.forEach(a=>{r&&GridStack.addRemoveCB&&GridStack.addRemoveCB(this.el,a,!1,!1),delete a.el.gridstackNode,this.opts.staticGrid||this._removeDD(a.el)}),this.engine.removeAll(r,o),o&&this._triggerRemoveEvent(),this}setAnimation(r=this.opts.animate,o){return o?setTimeout(()=>{this.opts&&this.setAnimation(r)}):r?this.el.classList.add("grid-stack-animate"):this.el.classList.remove("grid-stack-animate"),this}hasAnimationCSS(){return this.el.classList.contains("grid-stack-animate")}setStatic(r,o=!0,a=!0){return!!this.opts.staticGrid===r?this:(r?this.opts.staticGrid=!0:delete this.opts.staticGrid,this._setupRemoveDrop(),this._setupAcceptWidget(),this.engine.nodes.forEach(u=>{this._prepareDragDropByNode(u),u.subGrid&&a&&u.subGrid.setStatic(r,o,a)}),o&&this._setStaticClass(),this)}update(r,o){if(arguments.length>2){console.warn("gridstack.ts: `update(el, x, y, w, h)` is deprecated. Use `update(el, {x, w, content, ...})`. It will be removed soon");let a=arguments,u=1;return o={x:a[u++],y:a[u++],w:a[u++],h:a[u++]},this.update(r,o)}return GridStack.getElements(r).forEach(a=>{var b;let u=a==null?void 0:a.gridstackNode;if(!u)return;let d=Utils.cloneDeep(o);this.engine.nodeBoundFix(d),delete d.autoPosition,delete d.id;let g=["x","y","w","h"],v;if(g.some(_=>d[_]!==void 0&&d[_]!==u[_])&&(v={},g.forEach(_=>{v[_]=d[_]!==void 0?d[_]:u[_],delete d[_]})),!v&&(d.minW||d.minH||d.maxW||d.maxH)&&(v={}),d.content!==void 0){const _=a.querySelector(".grid-stack-item-content");_&&_.innerHTML!==d.content&&(_.innerHTML=d.content,(b=u.subGrid)!=null&&b.el&&(_.appendChild(u.subGrid.el),u.subGrid.opts.styleInHead||u.subGrid._updateStyles(!0))),delete d.content}let y=!1,A=!1;for(const _ in d)_[0]!=="_"&&u[_]!==d[_]&&(u[_]=d[_],y=!0,A=A||!this.opts.staticGrid&&(_==="noResize"||_==="noMove"||_==="locked"));if(Utils.sanitizeMinMax(u),v){const _=v.w!==void 0&&v.w!==u.w;this.moveNode(u,v),this.resizeToContentCheck(_,u),delete u._orig}(v||y)&&this._writeAttr(a,u),A&&this._prepareDragDropByNode(u)}),this}moveNode(r,o){const a=r._updating;a||this.engine.cleanNodes().beginUpdate(r),this.engine.moveNode(r,o),this._updateContainerHeight(),a||(this._triggerChangeEvent(),this.engine.endUpdate())}resizeToContent(r){var w,S;if(!r||(r.classList.remove("size-to-content-max"),!r.clientHeight))return;const o=r.gridstackNode;if(!o)return;const a=o.grid;if(!a||r.parentElement!==a.el)return;const u=a.getCellHeight(!0);if(!u)return;let d=o.h?o.h*u:r.clientHeight,g;if(o.resizeToContentParent&&(g=r.querySelector(o.resizeToContentParent)),g||(g=r.querySelector(GridStack.resizeToContentParent)),!g)return;const v=r.clientHeight-g.clientHeight,y=o.h?o.h*u-v:g.clientHeight;let A;if(o.subGrid)A=o.subGrid.getRow()*o.subGrid.getCellHeight(!0);else{if((S=(w=o.subGridOpts)==null?void 0:w.children)!=null&&S.length)return;{const C=g.firstElementChild;if(!C){console.error(`Error: GridStack.resizeToContent() widget id:${o.id} '${GridStack.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);return}A=C.getBoundingClientRect().height||y}}if(y===A)return;d+=A-y;let b=Math.ceil(d/u);const _=Number.isInteger(o.sizeToContent)?o.sizeToContent:0;_&&b>_&&(b=_,r.classList.add("size-to-content-max")),o.minH&&bo.maxH&&(b=o.maxH),b!==o.h&&(a._ignoreLayoutsNodeChange=!0,a.moveNode(o,{h:b}),delete a._ignoreLayoutsNodeChange)}resizeToContentCBCheck(r){GridStack.resizeToContentCB?GridStack.resizeToContentCB(r):this.resizeToContent(r)}rotate(r,o){return GridStack.getElements(r).forEach(a=>{let u=a.gridstackNode;if(!Utils.canBeRotated(u))return;const d={w:u.h,h:u.w,minH:u.minW,minW:u.minH,maxH:u.maxW,maxW:u.maxH};if(o){let v=o.left>0?Math.floor(o.left/this.cellWidth()):0,y=o.top>0?Math.floor(o.top/this.opts.cellHeight):0;d.x=u.x+v-(u.h-(y+1)),d.y=u.y+y-v}Object.keys(d).forEach(v=>{d[v]===void 0&&delete d[v]});const g=u._orig;this.update(a,d),u._orig=g}),this}margin(r){if(!(typeof r=="string"&&r.split(" ").length>1)){let a=Utils.parseHeight(r);if(this.opts.marginUnit===a.unit&&this.opts.margin===a.h)return}return this.opts.margin=r,this.opts.marginTop=this.opts.marginBottom=this.opts.marginLeft=this.opts.marginRight=void 0,this._initMargin(),this._updateStyles(!0),this}getMargin(){return this.opts.margin}willItFit(r){if(arguments.length>1){console.warn("gridstack.ts: `willItFit(x,y,w,h,autoPosition)` is deprecated. Use `willItFit({x, y,...})`. It will be removed soon");let o=arguments,a=0,u={x:o[a++],y:o[a++],w:o[a++],h:o[a++],autoPosition:o[a++]};return this.willItFit(u)}return this.engine.willItFit(r)}_triggerChangeEvent(){if(this.engine.batchMode)return this;let r=this.engine.getDirtyNodes(!0);return r&&r.length&&(this._ignoreLayoutsNodeChange||this.engine.layoutsNodesChange(r),this._triggerEvent("change",r)),this.engine.saveInitial(),this}_triggerAddEvent(){var r;if(this.engine.batchMode)return this;if((r=this.engine.addedNodes)!=null&&r.length){this._ignoreLayoutsNodeChange||this.engine.layoutsNodesChange(this.engine.addedNodes),this.engine.addedNodes.forEach(a=>{delete a._dirty});const o=[...this.engine.addedNodes];this.engine.addedNodes=[],this._triggerEvent("added",o)}return this}_triggerRemoveEvent(){var r;if(this.engine.batchMode)return this;if((r=this.engine.removedNodes)!=null&&r.length){const o=[...this.engine.removedNodes];this.engine.removedNodes=[],this._triggerEvent("removed",o)}return this}_triggerEvent(r,o){let a=o?new CustomEvent(r,{bubbles:!1,detail:o}):new Event(r);return this.el.dispatchEvent(a),this}_removeStylesheet(){if(this._styles){const r=this.opts.styleInHead?void 0:this.el.parentNode;Utils.removeStylesheet(this._styleSheetClass,r),delete this._styles}return this}_updateStyles(r=!1,o){if(r&&this._removeStylesheet(),o===void 0&&(o=this.getRow()),this._updateContainerHeight(),this.opts.cellHeight===0)return this;let a=this.opts.cellHeight,u=this.opts.cellHeightUnit,d=`.${this._styleSheetClass} > .${this.opts.itemClass}`;if(!this._styles){const g=this.opts.styleInHead?void 0:this.el.parentNode;if(this._styles=Utils.createStylesheet(this._styleSheetClass,g,{nonce:this.opts.nonce}),!this._styles)return this;this._styles._max=0,Utils.addCSSRule(this._styles,d,`height: ${a}${u}`);let v=this.opts.marginTop+this.opts.marginUnit,y=this.opts.marginBottom+this.opts.marginUnit,A=this.opts.marginRight+this.opts.marginUnit,b=this.opts.marginLeft+this.opts.marginUnit,_=`${d} > .grid-stack-item-content`,w=`.${this._styleSheetClass} > .grid-stack-placeholder > .placeholder-content`;Utils.addCSSRule(this._styles,_,`top: ${v}; right: ${A}; bottom: ${y}; left: ${b};`),Utils.addCSSRule(this._styles,w,`top: ${v}; right: ${A}; bottom: ${y}; left: ${b};`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-n`,`top: ${v};`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-s`,`bottom: ${y}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-ne`,`right: ${A}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-e`,`right: ${A}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-se`,`right: ${A}; bottom: ${y}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-nw`,`left: ${b}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-w`,`left: ${b}`),Utils.addCSSRule(this._styles,`${d} > .ui-resizable-sw`,`left: ${b}; bottom: ${y}`)}if(o=o||this._styles._max,o>this._styles._max){let g=v=>a*v+u;for(let v=this._styles._max+1;v<=o;v++)Utils.addCSSRule(this._styles,`${d}[gs-y="${v}"]`,`top: ${g(v)}`),Utils.addCSSRule(this._styles,`${d}[gs-h="${v+1}"]`,`height: ${g(v+1)}`);this._styles._max=o}return this}_updateContainerHeight(){if(!this.engine||this.engine.batchMode)return this;const r=this.parentGridItem;let o=this.getRow()+this._extraDragRow;const a=this.opts.cellHeight,u=this.opts.cellHeightUnit;if(!a)return this;if(!r){const d=Utils.parseHeight(getComputedStyle(this.el).minHeight);if(d.h>0&&d.unit===u){const g=Math.floor(d.h/a);o1?r.setAttribute("gs-w",String(o.w)):r.removeAttribute("gs-w"),o.h>1?r.setAttribute("gs-h",String(o.h)):r.removeAttribute("gs-h"),this}_writeAttr(r,o){if(!o)return this;this._writePosAttr(r,o);let a={autoPosition:"gs-auto-position",noResize:"gs-no-resize",noMove:"gs-no-move",locked:"gs-locked",id:"gs-id"};for(const u in a)o[u]?r.setAttribute(a[u],String(o[u])):r.removeAttribute(a[u]);return this}_readAttr(r,o=!0){let a={};a.x=Utils.toNumber(r.getAttribute("gs-x")),a.y=Utils.toNumber(r.getAttribute("gs-y")),a.w=Utils.toNumber(r.getAttribute("gs-w")),a.h=Utils.toNumber(r.getAttribute("gs-h")),a.autoPosition=Utils.toBool(r.getAttribute("gs-auto-position")),a.noResize=Utils.toBool(r.getAttribute("gs-no-resize")),a.noMove=Utils.toBool(r.getAttribute("gs-no-move")),a.locked=Utils.toBool(r.getAttribute("gs-locked")),a.id=r.getAttribute("gs-id"),a.maxW=Utils.toNumber(r.getAttribute("gs-max-w")),a.minW=Utils.toNumber(r.getAttribute("gs-min-w")),a.maxH=Utils.toNumber(r.getAttribute("gs-max-h")),a.minH=Utils.toNumber(r.getAttribute("gs-min-h")),o&&(a.w===1&&r.removeAttribute("gs-w"),a.h===1&&r.removeAttribute("gs-h"),a.maxW&&r.removeAttribute("gs-max-w"),a.minW&&r.removeAttribute("gs-min-w"),a.maxH&&r.removeAttribute("gs-max-h"),a.minH&&r.removeAttribute("gs-min-h"));for(const u in a){if(!a.hasOwnProperty(u))return;!a[u]&&a[u]!==0&&delete a[u]}return a}_setStaticClass(){let r=["grid-stack-static"];return this.opts.staticGrid?(this.el.classList.add(...r),this.el.setAttribute("gs-static","true")):(this.el.classList.remove(...r),this.el.removeAttribute("gs-static")),this}onResize(){var o;if(!((o=this.el)!=null&&o.clientWidth)||this.prevWidth===this.el.clientWidth)return;this.prevWidth=this.el.clientWidth,this.batchUpdate();let r=!1;return this._autoColumn&&this.parentGridItem?this.opts.column!==this.parentGridItem.w&&(this.column(this.parentGridItem.w,"none"),r=!0):r=this.checkDynamicColumn(),this._isAutoCellHeight&&this.cellHeight(),this.engine.nodes.forEach(a=>{a.subGrid&&a.subGrid.onResize()}),this._skipInitialResize||this.resizeToContentCheck(r),delete this._skipInitialResize,this.batchUpdate(!1),this}resizeToContentCheck(r=!1,o=void 0){if(!!this.engine){if(r&&this.hasAnimationCSS())return setTimeout(()=>this.resizeToContentCheck(!1,o),300+10);if(o)Utils.shouldSizeToContent(o)&&this.resizeToContentCBCheck(o.el);else if(this.engine.nodes.some(a=>Utils.shouldSizeToContent(a))){const a=[...this.engine.nodes];this.batchUpdate(),a.forEach(u=>{Utils.shouldSizeToContent(u)&&this.resizeToContentCBCheck(u.el)}),this.batchUpdate(!1)}this._gsEventHandler.resizecontent&&this._gsEventHandler.resizecontent(null,o?[o]:this.engine.nodes)}}_updateResizeEvent(r=!1){const o=!this.parentGridItem&&(this._isAutoCellHeight||this.opts.sizeToContent||this.opts.columnOpts||this.engine.nodes.find(a=>a.sizeToContent));return!r&&o&&!this.resizeObserver?(this._sizeThrottle=Utils.throttle(()=>this.onResize(),this.opts.cellHeightThrottle),this.resizeObserver=new ResizeObserver(()=>this._sizeThrottle()),this.resizeObserver.observe(this.el),this._skipInitialResize=!0):(r||!o)&&this.resizeObserver&&(this.resizeObserver.disconnect(),delete this.resizeObserver,delete this._sizeThrottle),this}static getElement(r=".grid-stack-item"){return Utils.getElement(r)}static getElements(r=".grid-stack-item"){return Utils.getElements(r)}static getGridElement(r){return GridStack.getElement(r)}static getGridElements(r){return Utils.getElements(r)}_initMargin(){let r,o=0,a=[];return typeof this.opts.margin=="string"&&(a=this.opts.margin.split(" ")),a.length===2?(this.opts.marginTop=this.opts.marginBottom=a[0],this.opts.marginLeft=this.opts.marginRight=a[1]):a.length===4?(this.opts.marginTop=a[0],this.opts.marginRight=a[1],this.opts.marginBottom=a[2],this.opts.marginLeft=a[3]):(r=Utils.parseHeight(this.opts.margin),this.opts.marginUnit=r.unit,o=this.opts.margin=r.h),this.opts.marginTop===void 0?this.opts.marginTop=o:(r=Utils.parseHeight(this.opts.marginTop),this.opts.marginTop=r.h,delete this.opts.margin),this.opts.marginBottom===void 0?this.opts.marginBottom=o:(r=Utils.parseHeight(this.opts.marginBottom),this.opts.marginBottom=r.h,delete this.opts.margin),this.opts.marginRight===void 0?this.opts.marginRight=o:(r=Utils.parseHeight(this.opts.marginRight),this.opts.marginRight=r.h,delete this.opts.margin),this.opts.marginLeft===void 0?this.opts.marginLeft=o:(r=Utils.parseHeight(this.opts.marginLeft),this.opts.marginLeft=r.h,delete this.opts.margin),this.opts.marginUnit=r.unit,this.opts.marginTop===this.opts.marginBottom&&this.opts.marginLeft===this.opts.marginRight&&this.opts.marginTop===this.opts.marginRight&&(this.opts.margin=this.opts.marginTop),this}static getDD(){return dd}static setupDragIn(r,o,a=document){(o==null?void 0:o.pause)!==void 0&&(DDManager.pauseDrag=o.pause),o={...dragInDefaultOptions,...o||{}};let u=typeof r=="string"?Utils.getElements(r,a):r;u.length&&(u==null||u.forEach(d=>{dd.isDraggable(d)||dd.dragIn(d,o)}))}movable(r,o){return this.opts.staticGrid?this:(GridStack.getElements(r).forEach(a=>{const u=a.gridstackNode;!u||(o?delete u.noMove:u.noMove=!0,this._prepareDragDropByNode(u))}),this)}resizable(r,o){return this.opts.staticGrid?this:(GridStack.getElements(r).forEach(a=>{let u=a.gridstackNode;!u||(o?delete u.noResize:u.noResize=!0,this._prepareDragDropByNode(u))}),this)}disable(r=!0){if(!this.opts.staticGrid)return this.enableMove(!1,r),this.enableResize(!1,r),this._triggerEvent("disable"),this}enable(r=!0){if(!this.opts.staticGrid)return this.enableMove(!0,r),this.enableResize(!0,r),this._triggerEvent("enable"),this}enableMove(r,o=!0){return this.opts.staticGrid?this:(r?delete this.opts.disableDrag:this.opts.disableDrag=!0,this.engine.nodes.forEach(a=>{this._prepareDragDropByNode(a),a.subGrid&&o&&a.subGrid.enableMove(r,o)}),this)}enableResize(r,o=!0){return this.opts.staticGrid?this:(r?delete this.opts.disableResize:this.opts.disableResize=!0,this.engine.nodes.forEach(a=>{this._prepareDragDropByNode(a),a.subGrid&&o&&a.subGrid.enableResize(r,o)}),this)}_removeDD(r){return dd.draggable(r,"destroy").resizable(r,"destroy"),r.gridstackNode&&delete r.gridstackNode._initDD,delete r.ddElement,this}_setupAcceptWidget(){if(this.opts.staticGrid||!this.opts.acceptWidgets&&!this.opts.removable)return dd.droppable(this.el,"destroy"),this;let r,o,a=(u,d,g)=>{var w;let v=d.gridstackNode;if(!v)return;if(g=g||d,!((w=v.grid)!=null&&w.el)){g.style.transform=`scale(${1/this.dragTransform.xScale},${1/this.dragTransform.yScale})`;const S=g.getBoundingClientRect();g.style.left=S.x+(this.dragTransform.xScale-1)*(u.clientX-S.x)/this.dragTransform.xScale+"px",g.style.top=S.y+(this.dragTransform.yScale-1)*(u.clientY-S.y)/this.dragTransform.yScale+"px",g.style.transformOrigin="0px 0px"}let y=this.el.getBoundingClientRect(),{top:A,left:b}=g.getBoundingClientRect();b-=y.left,A-=y.top;let _={position:{top:A*this.dragTransform.xScale,left:b*this.dragTransform.yScale}};if(v._temporaryRemoved){if(v.x=Math.max(0,Math.round(b/o)),v.y=Math.max(0,Math.round(A/r)),delete v.autoPosition,this.engine.nodeBoundFix(v),!this.engine.willItFit(v)){if(v.autoPosition=!0,!this.engine.willItFit(v)){dd.off(d,"drag");return}v._willFitPos&&(Utils.copyPos(v,v._willFitPos),delete v._willFitPos)}this._onStartMoving(g,u,_,v,o,r)}else this._dragOrResize(g,u,_,v,o,r)};return dd.droppable(this.el,{accept:u=>{let d=u.gridstackNode||this._readAttr(u,!1);if((d==null?void 0:d.grid)===this)return!0;if(!this.opts.acceptWidgets)return!1;let g=!0;if(typeof this.opts.acceptWidgets=="function")g=this.opts.acceptWidgets(u);else{let v=this.opts.acceptWidgets===!0?".grid-stack-item":this.opts.acceptWidgets;g=u.matches(v)}if(g&&d&&this.opts.maxRow){let v={w:d.w,h:d.h,minW:d.minW,minH:d.minH};g=this.engine.willItFit(v)}return g}}).on(this.el,"dropover",(u,d,g)=>{let v=d.gridstackNode;if((v==null?void 0:v.grid)===this&&!v._temporaryRemoved)return!1;(v==null?void 0:v.grid)&&v.grid!==this&&!v._temporaryRemoved&&v.grid._leave(d,g),o=this.cellWidth(),r=this.getCellHeight(!0),v||(v=this._readAttr(d,!1)),v.grid||(v._isExternal=!0,d.gridstackNode=v),g=g||d;let y=v.w||Math.round(g.offsetWidth/o)||1,A=v.h||Math.round(g.offsetHeight/r)||1;return v.grid&&v.grid!==this?(d._gridstackNodeOrig||(d._gridstackNodeOrig=v),d.gridstackNode=v={...v,w:y,h:A,grid:this},delete v.x,delete v.y,this.engine.cleanupNode(v).nodeBoundFix(v),v._initDD=v._isExternal=v._temporaryRemoved=!0):(v.w=y,v.h=A,v._temporaryRemoved=!0),GridStack._itemRemoving(v.el,!1),dd.on(d,"drag",a),a(u,d,g),!1}).on(this.el,"dropout",(u,d,g)=>{let v=d.gridstackNode;return v&&(!v.grid||v.grid===this)&&(this._leave(d,g),this._isTemp&&this.removeAsSubGrid(v)),!1}).on(this.el,"drop",(u,d,g)=>{var w,S,C;let v=d.gridstackNode;if((v==null?void 0:v.grid)===this&&!v._isExternal)return!1;const y=!!this.placeholder.parentElement;this.placeholder.remove();const A=y&&this.opts.animate;A&&this.setAnimation(!1);let b=d._gridstackNodeOrig;if(delete d._gridstackNodeOrig,y&&(b==null?void 0:b.grid)&&b.grid!==this){let T=b.grid;T.engine.removeNodeFromLayoutCache(b),T.engine.removedNodes.push(b),T._triggerRemoveEvent()._triggerChangeEvent(),T.parentGridItem&&!T.engine.nodes.length&&T.opts.subGridDynamic&&T.removeAsSubGrid()}if(!v||(y&&(this.engine.cleanupNode(v),v.grid=this),(w=v.grid)==null||delete w._isTemp,dd.off(d,"drag"),g!==d?(g.remove(),d.gridstackNode=b,y&&(d=d.cloneNode(!0))):(d.remove(),this._removeDD(d)),!y))return!1;d.gridstackNode=v,v.el=d;let _=(C=(S=v.subGrid)==null?void 0:S.el)==null?void 0:C.gridstack;return Utils.copyPos(v,this._readAttr(this.placeholder)),Utils.removePositioningStyles(d),this.el.appendChild(d),this._prepareElement(d,!0,v),_&&(_.parentGridItem=v,_.opts.styleInHead||_._updateStyles(!0)),this._updateContainerHeight(),this.engine.addedNodes.push(v),this._triggerAddEvent(),this._triggerChangeEvent(),this.engine.endUpdate(),this._gsEventHandler.dropped&&this._gsEventHandler.dropped({...u,type:"dropped"},b&&b.grid?b:void 0,v),A&&this.setAnimation(this.opts.animate,!0),!1}),this}static _itemRemoving(r,o){const a=r?r.gridstackNode:void 0;!(a!=null&&a.grid)||r.classList.contains(a.grid.opts.removableOptions.decline)||(o?a._isAboutToRemove=!0:delete a._isAboutToRemove,o?r.classList.add("grid-stack-item-removing"):r.classList.remove("grid-stack-item-removing"))}_setupRemoveDrop(){if(typeof this.opts.removable!="string")return this;let r=document.querySelector(this.opts.removable);return r?(!this.opts.staticGrid&&!dd.isDroppable(r)&&dd.droppable(r,this.opts.removableOptions).on(r,"dropover",(o,a)=>GridStack._itemRemoving(a,!0)).on(r,"dropout",(o,a)=>GridStack._itemRemoving(a,!1)),this):this}_prepareDragDropByNode(r){let o=r.el;const a=r.noMove||this.opts.disableDrag,u=r.noResize||this.opts.disableResize;if(this.opts.staticGrid||a&&u)return r._initDD&&(this._removeDD(o),delete r._initDD),o.classList.add("ui-draggable-disabled","ui-resizable-disabled"),this;if(!r._initDD){let d,g,v=(b,_)=>{this._gsEventHandler[b.type]&&this._gsEventHandler[b.type](b,b.target),d=this.cellWidth(),g=this.getCellHeight(!0),this._onStartMoving(o,b,_,r,d,g)},y=(b,_)=>{this._dragOrResize(o,b,_,r,d,g)},A=b=>{this.placeholder.remove(),delete r._moving,delete r._event,delete r._lastTried;const _=r.w!==r._orig.w;let w=b.target;if(!(!w.gridstackNode||w.gridstackNode.grid!==this)){if(r.el=w,r._isAboutToRemove){let S=o.gridstackNode.grid;S._gsEventHandler[b.type]&&S._gsEventHandler[b.type](b,w),S.engine.nodes.push(r),S.removeWidget(o,!0,!0)}else Utils.removePositioningStyles(w),r._temporaryRemoved?(Utils.copyPos(r,r._orig),this._writePosAttr(w,r),this.engine.addNode(r)):this._writePosAttr(w,r),this._gsEventHandler[b.type]&&this._gsEventHandler[b.type](b,w);this._extraDragRow=0,this._updateContainerHeight(),this._triggerChangeEvent(),this.engine.endUpdate(),b.type==="resizestop"&&(Number.isInteger(r.sizeToContent)&&(r.sizeToContent=r.h),this.resizeToContentCheck(_,r))}};dd.draggable(o,{start:v,stop:A,drag:y}).resizable(o,{start:v,stop:A,resize:y}),r._initDD=!0}return dd.draggable(o,a?"disable":"enable").resizable(o,u?"disable":"enable"),this}_onStartMoving(r,o,a,u,d,g){var v;if(this.engine.cleanNodes().beginUpdate(u),this._writePosAttr(this.placeholder,u),this.el.appendChild(this.placeholder),this.placeholder.gridstackNode=u,(v=u.grid)!=null&&v.el)this.dragTransform=Utils.getValuesFromTransformedElement(r);else if(this.placeholder&&this.placeholder.closest(".grid-stack")){const y=this.placeholder.closest(".grid-stack");this.dragTransform=Utils.getValuesFromTransformedElement(y)}else this.dragTransform={xScale:1,xOffset:0,yScale:1,yOffset:0};if(u.el=this.placeholder,u._lastUiPosition=a.position,u._prevYPix=a.position.top,u._moving=o.type==="dragstart",delete u._lastTried,o.type==="dropover"&&u._temporaryRemoved&&(this.engine.addNode(u),u._moving=!0),this.engine.cacheRects(d,g,this.opts.marginTop,this.opts.marginRight,this.opts.marginBottom,this.opts.marginLeft),o.type==="resizestart"){const y=this.getColumn()-u.x,A=(this.opts.maxRow||Number.MAX_SAFE_INTEGER)-u.y;dd.resizable(r,"option","minWidth",d*Math.min(u.minW||1,y)).resizable(r,"option","minHeight",g*Math.min(u.minH||1,A)).resizable(r,"option","maxWidth",d*Math.min(u.maxW||Number.MAX_SAFE_INTEGER,y)).resizable(r,"option","maxWidthMoveLeft",d*Math.min(u.maxW||Number.MAX_SAFE_INTEGER,u.x+u.w)).resizable(r,"option","maxHeight",g*Math.min(u.maxH||Number.MAX_SAFE_INTEGER,A)).resizable(r,"option","maxHeightMoveUp",g*Math.min(u.maxH||Number.MAX_SAFE_INTEGER,u.y+u.h))}}_dragOrResize(r,o,a,u,d,g){let v={...u._orig},y,A=this.opts.marginLeft,b=this.opts.marginRight,_=this.opts.marginTop,w=this.opts.marginBottom,S=Math.round(g*.1),C=Math.round(d*.1);if(A=Math.min(A,C),b=Math.min(b,C),_=Math.min(_,S),w=Math.min(w,S),o.type==="drag"){if(u._temporaryRemoved)return;let I=a.position.top-u._prevYPix;u._prevYPix=a.position.top,this.opts.draggable.scroll!==!1&&Utils.updateScrollPosition(r,a.position,I);let E=a.position.left+(a.position.left>u._lastUiPosition.left?-b:A),F=a.position.top+(a.position.top>u._lastUiPosition.top?-w:_);v.x=Math.round(E/d),v.y=Math.round(F/g);let O=this._extraDragRow;if(this.engine.collide(u,v)){let D=this.getRow(),x=Math.max(0,v.y+u.h-D);this.opts.maxRow&&D+x>this.opts.maxRow&&(x=Math.max(0,this.opts.maxRow-D)),this._extraDragRow=x}else this._extraDragRow=0;if(this._extraDragRow!==O&&this._updateContainerHeight(),u.x===v.x&&u.y===v.y)return}else if(o.type==="resize"){if(v.x<0||(Utils.updateScrollResize(o,r,g),v.w=Math.round((a.size.width-A)/d),v.h=Math.round((a.size.height-_)/g),u.w===v.w&&u.h===v.h)||u._lastTried&&u._lastTried.w===v.w&&u._lastTried.h===v.h)return;let I=a.position.left+A,E=a.position.top+_;v.x=Math.round(I/d),v.y=Math.round(E/g),y=!0}u._event=o,u._lastTried=v;let T={x:a.position.left+A,y:a.position.top+_,w:(a.size?a.size.width:u.w*d)-A-b,h:(a.size?a.size.height:u.h*g)-_-w};if(this.engine.moveNodeCheck(u,{...v,cellWidth:d,cellHeight:g,rect:T,resizing:y})){u._lastUiPosition=a.position,this.engine.cacheRects(d,g,_,b,w,A),delete u._skipDown,y&&u.subGrid&&u.subGrid.onResize(),this._extraDragRow=0,this._updateContainerHeight();let I=o.target;this._writePosAttr(I,u),this._gsEventHandler[o.type]&&this._gsEventHandler[o.type](o,I)}}_leave(r,o){let a=r.gridstackNode;!a||(o=o||r,o.style.transform="scale(1)",dd.off(r,"drag"),!a._temporaryRemoved&&(a._temporaryRemoved=!0,this.engine.removeNode(a),a.el=a._isExternal&&o?o:r,this.opts.removable===!0&&GridStack._itemRemoving(r,!0),r._gridstackNodeOrig?(r.gridstackNode=r._gridstackNodeOrig,delete r._gridstackNodeOrig):a._isExternal&&(delete a.el,delete r.gridstackNode,this.engine.restoreInitial())))}commit(){return obsolete(this,this.batchUpdate(!1),"commit","batchUpdate","5.2"),this}}GridStack.resizeToContentParent=".grid-stack-item-content";GridStack.Utils=Utils;GridStack.Engine=GridStackEngine;GridStack.GDRev="10.3.1";var WidgetSection_vue_vue_type_style_index_0_lang="";const _sfc_main$U=defineComponent({name:"WidgetSection",components:{WidgetPopup},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0},id:{type:String,required:!0},label:{type:String,default:""},icon:{type:String,default:""},fullscreen:{type:Boolean,default:!1},widgetEdges:{type:Boolean,default:!1},widgetConfig:{type:Object,default:()=>{}},items:{type:Array,default:()=>[]}},setup(t){const r=useI18n(),o=useEditor(),a="."+t.id+" .grid-stack-container",u={cellHeight:parseInt(t.widgetConfig[t.id+"WidgetHeight"]||50),margin:parseInt(t.widgetConfig[t.id+"GapSize"]||5)},d=ref(t.id==="desktop"),g=computed(()=>t.id!=="desktop"&&t.widgetConfig[t.id+"SameAs"]!=="specific-layout"),v=computed(()=>[{label:r.t("wie Desktop"),value:"desktop"},{label:r.t("wie Smartphone"),value:"smartphone"},{label:r.t("eigenes Layout"),value:"specific-layout"}].filter(N=>N.value!==t.id)),y=[{id:"copy",icon:"mdi-content-copy",label:r.t("copy")},{id:"duplicate",icon:"mdi-content-duplicate",label:r.t("duplicate")}],A=ref({}),b=(N,V,Z)=>{A.value[N+"-"+V]=Z},_=(N,V)=>{for(const Z in A.value);A.value[N+"-"+V]&&A.value[N+"-"+V].show()},w=ref(_default(t.items)||[]),S=N=>o.widgets[N]||{items:[]},C=N=>(N=N||[],N.join("-"),!N||N.length===0?r.t("No widgets assigned"):N.map(V=>{const Z=S(V);Z.items=Z.items||[];const H=Z.items.filter(Q=>Q.type==="list").length,B=Z.items.filter(Q=>Q.type==="group").length,z=Z.items.filter(Q=>Q.type==="divider").length,U=Z.items.reduce((Q,X)=>{if(X.type==="list"){const{floor:J,function:ne,room:te,tags:ce}=X,se=Devices.getDevices({floor:J,function:ne,room:te,tags:ce});return Q+se.length}return Q+0},0);return Z.module+(!Z.label&&!Z.title?"":" ("+(Z.label||Z.title)+(Z.module!=="StateList"?"":", "+(Z.items.length+U-H-z)+" "+r.t("items")+" "+r.t("apprx.")+" "+((Z.hideTitle!==!0?56:0)+z+U*48+B*32+(Z.items.length-z-H-B)*46)+"px "+r.t("in height"))+")")}).join(", ")),T=()=>{o.setWidgets({pageId:t.pageId,tabId:t.tabId,key:"widgets"+ucFirst(t.id),val:toRaw(w.value)})},I=ref(null),E=N=>{w.value.splice(w.value.findIndex(V=>V.i===I.value.i),1,{...I.value,...N}),O({...I.value,el:document.querySelector("#widget-"+I.value.i)}),I.value=null,T()},F=N=>{N.id.endsWith("SameAs")&&(d.value=N.value!=="desktop"),M&&N.id.endsWith("WidgetHeight")?M.cellHeight(parseInt(N.value)):M&&N.id.endsWith("GapSize")&&M.margin(parseInt(N.value)),o.setWidgetConfig({pageId:t.pageId,tabId:t.tabId,key:N.id,val:N.value})},O=N=>{const{x:V,y:Z,w:H,h:B}=N;if(M){let{width:z,height:U}=N.el.getBoundingClientRect();U=B*M.getCellHeight()+(B-1)*M.getMargin();const Q=N.el.getElementsByClassName("position")[0];Q.innerHTML=r.t("Position")+": "+V+"x * "+Z+"y";const X=N.el.getElementsByClassName("size")[0];X.innerHTML=" - "+r.t("Size")+": "+H+"w ("+Math.round(z)+"px) * "+B+"h ("+Math.round(U)+"px)"}if(w.value){const z=N.el.getAttribute("i"),U=w.value.find(Q=>Q.i===z);if(U){const{items:Q}=U,X=C(Q),J=N.el.getElementsByClassName("widgetDescription");for(const ne of J)ne.innerText=X}}},D=(N,V="add")=>{let Z=null;if(!N.i)Z=M.addWidget({w:4,h:4});else{const{x:X,y:J,w:ne}=N;Z=M.addWidget({x:X,y:J,w:ne,h:4})}const H=v4(),{x:B,y:z,w:U,h:Q}=Z.gridstackNode;w.value.push({h:Q,w:U,...V==="copy"?N:{},x:B,y:z,i:H}),nextTick().then(()=>{const X=document.querySelector("#widget-"+H),J=te=>te.offsetTop+(te.offsetParent&&J(te.offsetParent));window.scrollTo(0,J(X)-60),M.removeWidget(Z);const ne=M.makeWidget(X);O({...ne.gridstackNode,el:ne}),T()})},x=N=>{const V=N.id,Z=_default(w.value.find(H=>H.i===V));Z.i=v4(),N.val==="copy"&&(Z.items=Z.items||[],Z.items=Z.items.map(H=>{const B=S(H),z=v4();return o.copyWidget({id:z,widget:B}),z})),D(Z,"copy")},P=(N,V,Z)=>{const B=o.layout.find(Q=>Q.id===Z).tabs.find(Q=>Q.id===V),z=_default(B["widgets"+ucFirst(t.id)]||[]);N=_default(N);let U=0;z.forEach(Q=>{U=Q.x>=N.x&&Q.x+Q.w<=N.x+N.w?Math.max(U,Q.y+Q.h):U}),N.y=U,z.push(N),o.setWidgets({pageId:Z,tabId:V,key:"widgets"+ucFirst(t.id),val:z}),G(N,{confirmation:!1})},G=(N,V={},Z)=>{const H=N.i;if(V.verifyAssignedMultiple&&(!N.items||!N.items[0]||o.hasWidget({widgetId:N.items[0]})>1))Z.stopPropagation();else if(V.verifyAssignedMultiple)return;if(V.confirmation=V.confirmation===!1?!0:confirm(r.t(typeof V.confirmation=="string"?V.confirmation:"Really delete item")+"?"),V.confirmation){const B=w.value.findIndex(Q=>Q.i===H),z=w.value[B].items,U=document.querySelector("#widget-"+H);M.removeWidget(U),w.value.splice(B,1),T(w.value),V.deleteAssignedWidget&&z.forEach(Q=>{o.removeWidget({widget:{id:Q}})})}};let M=null;return onMounted(()=>{M=GridStack.init(u,a),M.getGridItems().forEach(V=>{O({...V.gridstackNode,el:V})}),M.on("change",(V,Z)=>{Z.forEach(H=>{const{x:B,y:z,w:U,h:Q}=H;O(H);const X=H.el.id.replace("widget-",""),J=w.value.findIndex(ne=>ne.i===X);w.value[J]={...w.value[J],moved:void 0,x:B,y:z,w:U,h:Q}}),T(w.value)})}),onUnmounted(()=>{M&&M.destroy()}),{t:r.t,setRef:b,useRef:_,...useDragDrop(w,N=>{o.setWidgets({pageId:t.pageId,tabId:t.tabId,key:"widgets"+ucFirst(t.id),val:N})}),disabled:g,expanded:d,options:v,copyMenuOptions:y,popupWidgetOrder:ref(!1),pages:o.layout.filter(N=>!N.type||N.type==="page"),widgets:w,selectedWidget:I,getWidget:S,getWidgetsDescription:C,onChange:F,addWidget:D,copyWidget:x,moveWidget:P,deleteWidget:G,saveWidgetAssignments:E,quickSortMode:ref(!1)}}}),_hoisted_1$H={class:"row full-width"},_hoisted_2$x={style:{padding:"0 16px 8px 16px","min-height":"64px"},class:"row"},_hoisted_3$p={class:"row justify-between"},_hoisted_4$h={class:"row items-center",style:{"padding-left":"8px"}},_hoisted_5$e={class:"row"},_hoisted_6$a={style:{padding:"0 8px 8px 8px","min-height":"64px"},class:"row"},_hoisted_7$8={style:{margin:"auto 0"}},_hoisted_8$8={class:"text-h6 row items-center"},_hoisted_9$8={id:"grid-stack-container",class:"grid-stack-container grid-stack"},_hoisted_10$7=["id","gs-x","gs-y","gs-w","gs-h","i"],_hoisted_11$7={class:"grid-stack-item-content",style:{overflow:"hidden"}},_hoisted_12$5=["onClick"],_hoisted_13$4={class:"row justify-between"},_hoisted_14$4={class:"row items-center",style:{"padding-left":"8px"}},_hoisted_15$4={class:"row"},_hoisted_16$3={key:0,class:"row q-pa-sm tooltip-widget",style:{overflow:"hidden"}};function _sfc_render$U(t,r,o,a,u,d){const g=resolveComponent("widget-popup"),v=resolveComponent("icon"),y=resolveComponent("inputs");return openBlock(),createElementBlock("div",null,[createVNode$1(g,{widget:t.selectedWidget,onOnClose:r[0]||(r[0]=A=>t.selectedWidget=null),onOnSave:t.saveWidgetAssignments},null,8,["widget","onOnSave"]),createVNode$1(QExpansionItem,{modelValue:t.expanded,"onUpdate:modelValue":r[8]||(r[8]=A=>t.expanded=A),class:"full-width paper",disable:t.disabled},{header:withCtx(()=>[createBaseVNode("div",_hoisted_1$H,[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{name:t.icon},null,8,["name"])]),_:1}),createVNode$1(QItemSection,{style:{height:"40px"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.label),1)]),_:1}),t.id!=="desktop"?(openBlock(),createBlock(QItemSection,{key:0,side:"",class:"notDisabled",onClick:r[2]||(r[2]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createVNode$1(y,{id:t.id+"SameAs",type:"select",options:t.options,dense:"",label:t.$t("Use same layout as"),value:t.widgetConfig[t.id+"SameAs"]||"desktop",style:{width:"150px"},onOnSelect:t.onChange,onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},null,8,["id","options","label","value","onOnSelect"])]),_:1})):createCommentVNode("",!0)])]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([t.id])},[withDirectives(createBaseVNode("div",null,[withDirectives(createBaseVNode("div",_hoisted_2$x,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),style:{margin:"auto 0"},onClick:t.addWidget},null,8,["label","onClick"])],512),[[vShow,t.widgets.length===0]]),createVNode$1(QSeparator),withDirectives(createBaseVNode("div",{class:normalizeClass(["grid-item tooltip-widget",[t.id]])},[createBaseVNode("div",_hoisted_3$p,[createBaseVNode("div",_hoisted_4$h,toDisplayString$1(t.$t("Fullscreen")),1),createBaseVNode("div",_hoisted_5$e,[createVNode$1(QBtn,{size:"sm",flat:"",round:"",icon:"mdi-pencil",onClick:r[3]||(r[3]=A=>t.selectedWidget=t.widgets[0])})])])],2),[[vShow,t.widgets[0]!==void 0]])],512),[[vShow,t.fullscreen===!0]]),withDirectives(createBaseVNode("div",null,[createBaseVNode("div",_hoisted_6$a,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Widget"),style:{margin:"auto 0"},onClick:t.addWidget},null,8,["label","onClick"]),createVNode$1(y,{id:t.id+"FitPageHeight",dense:"",type:"switch",inline:"",label:t.$t("Height of all widgets equal to page height (no scrollbars)"),value:t.widgetConfig[t.id+"FitPageHeight"]||!1,style:{margin:"auto 0 auto 8px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),withDirectives(createVNode$1(y,{id:t.id+"WidgetHeight",dense:"",type:"number",min:10,label:t.$t("Widget height")+" ("+t.$t("in pixels")+")",value:t.widgetConfig[t.id+"WidgetHeight"]||50,style:{margin:"auto 0 auto 4px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),[[vShow,t.widgetConfig[t.id+"FitPageHeight"]!==!0]]),createVNode$1(y,{id:t.id+"GapSize",dense:"",type:"number",min:0,label:t.$t("Widget gaps")+" ("+t.$t("in pixels")+")",value:t.widgetConfig[t.id+"GapSize"]||5,style:{margin:"auto 0 auto 4px"},onOnChange:t.onChange},null,8,["id","label","value","onOnChange"]),withDirectives(createBaseVNode("div",_hoisted_7$8,[createVNode$1(y,{class:"q-ml-sm",type:"button",color:"primary",icon:"mdi-sort-numeric-variant",label:"Responsive Order",size:"md",onOnClick:r[4]||(r[4]=A=>t.popupWidgetOrder=!0)})],512),[[vShow,t.widgets.length>1]])]),createVNode$1(QSeparator),createVNode$1(QDialog,{modelValue:t.popupWidgetOrder,"onUpdate:modelValue":r[7]||(r[7]=A=>t.popupWidgetOrder=A)},{default:withCtx(()=>[createVNode$1(QCard,{class:"column full-height",style:{width:"1400px","max-width":"40vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$8,toDisplayString$1(t.$t("Change Widget Responsive Order")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[5]||(r[5]=A=>t.popupWidgetOrder=!1)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col scroll body"},{default:withCtx(()=>[createVNode$1(QList,{ref:"elDragDrop"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgets,(A,b)=>(openBlock(),createBlock(QItem,{key:"grid-item-"+A.i,class:"paper","data-id":A.i,set:A=A.items&&A.items[0]&&t.getWidget(A.items[0])||{}},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[A.title?(openBlock(),createBlock(QItemLabel,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(A.title),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:1},{default:withCtx(()=>[createBaseVNode("em",null,toDisplayString$1(t.$t("No Title")),1)]),_:1})),A.module?(openBlock(),createBlock(QItemLabel,{key:2,caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Module"))+" "+toDisplayString$1(A.module),1)]),_:2},1024)):(openBlock(),createBlock(QItemLabel,{key:3,caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("No Module selected")),1)]),_:1}))]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024)]),_:2},1032,["data-id","set"]))),128))]),_:1},512)]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Close"),color:"primary",onClick:r[6]||(r[6]=A=>t.popupWidgetOrder=!1)},null,8,["label"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_9$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgets,(A,b)=>(openBlock(),createElementBlock("div",{id:"widget-"+A.i,key:"grid-item-"+A.i,"gs-x":A.x,"gs-y":A.y,"gs-w":A.w,"gs-h":A.h,i:A.i,class:"grid-stack-item tooltip-widget"},[createBaseVNode("div",_hoisted_11$7,[createBaseVNode("div",{class:"grid-add",style:{height:"20px"},onClick:_=>t.addWidget(A)},[createVNode$1(QSeparator,{style:{width:"45%"}}),createVNode$1(QIcon,{name:"mdi-plus-circle",color:"primary",size:"xs"}),createVNode$1(QSeparator,{style:{width:"45%"}})],8,_hoisted_12$5),createBaseVNode("div",{class:normalizeClass(["grid-item",{"rounded-borders":t.widgetEdges!==!0,[t.id]:!0}]),style:{height:"calc(100% - 20px)"}},[createVNode$1(QTooltip,{target:".tooltip-widget"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.getWidgetsDescription(A.items)),1)]),_:2},1024),createVNode$1(QMenu,{"context-menu":""},{default:withCtx(()=>[createVNode$1(QList,{dense:""},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.selectedWidget=A,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-pencil",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("edit")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.copyWidget({id:A.i,val:"copy"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-content-copy",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("copy")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.copyWidget({id:A.i,val:"duplicate"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-content-duplicate",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("duplicate")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.useRef("moveMenu",A.i),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-file-move-outline",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("move")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{verifyAssignedMultiple:!0},_),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-delete",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("delete")),1)]),_:1})]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1024),createBaseVNode("div",_hoisted_13$4,[A.h<=2?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createBaseVNode("p",null,toDisplayString$1(t.$t("Responsive Position"))+": "+toDisplayString$1(b),1),createBaseVNode("p",null,toDisplayString$1(t.getWidgetsDescription(A.items)),1)]),_:2},1024)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$4,[createBaseVNode("span",null,"[ "+toDisplayString$1(b)+" ]",1),r[9]||(r[9]=createTextVNode("\xA0 ")),r[10]||(r[10]=createBaseVNode("span",{class:"position"},null,-1)),r[11]||(r[11]=createBaseVNode("span",{class:"size"},null,-1))]),createBaseVNode("div",_hoisted_15$4,[createVNode$1(y,{class:"q-ma-none",type:"button",round:"",icon:"mdi-pencil",tooltip:t.$t("edit"),onClick:withModifiers(_=>t.selectedWidget=A,["stop"])},null,8,["tooltip","onClick"]),createVNode$1(y,{id:A.i,class:"q-ma-none",type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),items:t.copyMenuOptions,"dense-menu":"",onOnSelect:t.copyWidget},null,8,["id","tooltip","items","onOnSelect"]),createVNode$1(y,{id:A.i,class:"q-ma-none",type:"button",round:"",icon:"mdi-file-move-outline",tooltip:t.$t("move"),onClick:withModifiers(_=>t.useRef("moveMenu",A.i),["stop"])},{name:withCtx(()=>[createVNode$1(QMenu,{ref_for:!0,ref:_=>t.setRef("moveMenu",A.i,_),anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,_=>(openBlock(),createBlock(QItem,{key:_.id,class:normalizeClass("moveMenuOptions-"+_.id),clickable:"",onMouseenter:w=>t.useRef("moveMenuOptions",_.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",size:"xs",name:_.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(_.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-chevron-right"})]),_:1}),createVNode$1(QMenu,{ref_for:!0,ref:w=>t.setRef("moveMenuOptions",_.id,w),anchor:"top end",self:"top start","auto-close":""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(_.tabs,w=>(openBlock(),createBlock(QItem,{key:w.id,clickable:"",onClick:S=>t.moveWidget(A,w.id,_.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",size:"xs",name:w.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(w.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1536)]),_:2},1032,["class","onMouseenter"]))),128))]),_:2},1536)]),_:2},1032,["id","tooltip","onClick"]),(openBlock(),createBlock(y,{key:"deleteOptions-"+A.i+"-inputs",class:"q-ma-none",type:"button",round:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:_=>t.deleteWidget(A,{verifyAssignedMultiple:!0},_)},{name:withCtx(()=>[(openBlock(),createBlock(QMenu,{key:"deleteOptions-"+A.i+"-menu",anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[createVNode$1(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{confirmation:"Delete Box only"}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete Box only")),1)]),_:1})]),_:2},1032,["onClick"]),createVNode$1(QItem,{clickable:"",onClick:withModifiers(_=>t.deleteWidget(A,{confirmation:"Delete Box and assigned Widget",deleteAssignedWidget:!0}),["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete-sweep",color:"negative"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete Box and assigned Widget")),1)]),_:1})]),_:2},1032,["onClick"])]),_:2},1024))]),_:2},1032,["tooltip","onClick"]))])]),t.quickSortMode?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_16$3,r[12]||(r[12]=[createBaseVNode("span",{class:"widgetDescription"},null,-1)])))],2)])],8,_hoisted_10$7))),128))])],512),[[vShow,t.fullscreen!==!0]])],2)]),_:1},8,["modelValue","disable"])])}var WidgetSection=_export_sfc$1(_sfc_main$U,[["render",_sfc_render$U]]);const _sfc_main$T=defineComponent({name:"TabSection",components:{WidgetSection},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0}},setup(t){const r=useEditor(),o=d=>{let g=d.value;try{g=g&&d.json!==void 0&&g.indexOf("{")>-1&&g.indexOf("}")>-1?JSON.parse(g):g}catch(v){console.warn(d.value,v)}r.editTab({pageId:t.pageId,tabId:t.tabId,key:d.id,val:g})},a=computed(()=>(r.layout.find(v=>v.id===t.pageId)||{}).tabs.find(v=>v.id===t.tabId)||{}),u=computed(()=>a.value.title?typeof a.value.title=="string"?a.value.title:a.value.title.default||Object.values(a.value.title)[0]:"");return{onChange:o,tab:a,tabTitle:u,icons:computed(()=>a.value&&a.value.icon&&(typeof a.value.icon!="string"||a.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(g=>({icon:"mdi:"+g,label:g,value:"mdi:"+g})))}}}),_hoisted_1$G={style:{padding:"0 8px"}},_hoisted_2$w={class:"text-h6 primary q-ma-sm"},_hoisted_3$o={class:"row"},_hoisted_4$g={class:"col"},_hoisted_5$d={class:"col"},_hoisted_6$9={class:"row"},_hoisted_7$7={class:"col"},_hoisted_8$7={class:"col"},_hoisted_9$7={class:"row"},_hoisted_10$6={class:"col"},_hoisted_11$6={class:"col"},_hoisted_12$4={class:"row"},_hoisted_13$3={class:"col-2"},_hoisted_14$3={class:"col"},_hoisted_15$3={class:"text-h6 primary q-ma-sm",style:{"margin-top":"24px"}};function _sfc_render$T(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("widget-section");return openBlock(),createElementBlock("div",_hoisted_1$G,[createBaseVNode("div",_hoisted_2$w,toDisplayString$1(t.$t("Tab"))+": "+toDisplayString$1(t.tabTitle)+" ("+toDisplayString$1(t.$t("ID")+": "+t.tab.id)+") ",1),createBaseVNode("div",_hoisted_3$o,[createBaseVNode("div",_hoisted_4$g,[createVNode$1(g,{id:"icon",json:"",label:t.$t("Tab")+" "+t.$t("Icon"),value:t.tab.icon||"",icon:t.tab.icon,options:t.icons,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$d,[createVNode$1(g,{id:"title",json:"",label:t.$t("Tab")+" "+t.$t("Title"),value:t.tab.title||"",onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_6$9,[createBaseVNode("div",_hoisted_7$7,[createVNode$1(g,{id:"iconStyle",json:"",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.tab.iconStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_8$7,[createVNode$1(g,{id:"bodyStyle",json:"",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.tab.bodyStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_9$7,[createBaseVNode("div",_hoisted_10$6,[createVNode$1(g,{id:"iconSelectedStyle",json:"",label:"config#Layout#iconSelectedStyle#label",info:"config#Layout#iconSelectedStyle#info",value:t.tab.iconSelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_11$6,[createVNode$1(g,{id:"bodySelectedStyle",json:"",label:"config#Layout#bodySelectedStyle#label",info:"config#Layout#bodySelectedStyle#info",value:t.tab.bodySelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_12$4,[createBaseVNode("div",_hoisted_13$3,[createVNode$1(g,{id:"fullscreen",type:"switch",inline:"",label:t.$t("Tab")+" "+t.$t("Fullscreen"),value:t.tab.fullscreen||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createBaseVNode("div",_hoisted_14$3,[createVNode$1(g,{id:"widgetEdges",type:"switch",inline:"",label:t.$t("Widgets edges (round or angled)"),value:t.tab.widgetEdges||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_15$3,toDisplayString$1(t.$t("Widgets of tab"))+": "+toDisplayString$1(t.tabTitle),1),createVNode$1(v,{id:"desktop","page-id":t.pageId,"tab-id":t.tabId,label:"Desktop",icon:"mdi-monitor",fullscreen:t.tab.fullscreen||!1,"widget-edges":t.tab.widgetEdges||!1,"widget-config":t.tab.widgetConfig||{},items:t.tab.widgetsDesktop},null,8,["page-id","tab-id","fullscreen","widget-edges","widget-config","items"]),createVNode$1(v,{id:"smartphone","page-id":t.pageId,"tab-id":t.tabId,label:"Smartphone",icon:"mdi-cellphone",fullscreen:t.tab.fullscreen||!1,"widget-edges":t.tab.widgetEdges||!1,"widget-config":t.tab.widgetConfig||{},items:t.tab.widgetsSmartphone},null,8,["page-id","tab-id","fullscreen","widget-edges","widget-config","items"])])}var TabSection=_export_sfc$1(_sfc_main$T,[["render",_sfc_render$T]]),DrawerSection_vue_vue_type_style_index_0_lang="";const _sfc_main$S=defineComponent({name:"DrawerSection",components:{TabSection},props:{pageId:{type:String,required:!0}},emits:["onSelectPage"],setup(t,{emit:r}){const o=useJarvis(),a=useEditor(),u=computed(()=>{const P=[];return a.getPagesWithoutDeletions.forEach(G=>{G.id!==t.pageId&&P.push({id:G.id,label:G.title,...G})}),P}),d=computed(()=>a.layout.find(P=>P.id===t.pageId)||{}),g=computed(()=>typeof d.value.title=="string"?d.value.title:d.value.title&&d.value.title.default||Object.values(d.value.title)[0]),v=computed({get(){return(d.value.tabs||[]).map(G=>(G._hasIconBinding=typeof G.icon=="object",G._hasTitleBinding=typeof G.title=="object",G))},set(P){a.setTabs({pageId:t.pageId,tabs:P})}}),y=o.getSelectedPage.id===d.value.id&&o.getSelectedTab||d.value.tabs&&d.value.tabs[0]||{},A=ref(y.id||null),b=ref({}),_=(P,G)=>{b.value[".tabOptions-move-"+P.id]=G};let w=null;watch(()=>t.pageId,()=>{A.value=w||v.value&&v.value[0]&&v.value[0].id||null,w=null});const S=()=>{a.addTab({pageId:t.pageId}),A.value=v.value[v.value.length-1].id},C=(P,G=!1)=>{a.addTab({pageId:t.pageId,tabId:P,copyWidgets:G}),A.value=v.value[v.value.length-1].id},T=(P,G)=>{a.moveTab({pageId:t.pageId,tabId:P,destinationPageId:G}),A.value=P,w=P,r("onSelectPage",a.layout.find(M=>M.id===G)||{})},I=P=>{if(a.deleteTab({pageId:t.pageId,tabId:P}),A.value===P){const G=v.value.find(M=>M._deleted!==!0);A.value=G?G.id:null}},E=P=>{a.restoreTab({pageId:t.pageId,tabId:P}),A.value=P},F=P=>{let G=P.value;try{G=G&&P.json!==void 0&&P.value.indexOf("{")>-1&&P.value.indexOf("}")>-1?JSON.parse(P.value):P.value}catch(M){console.warn(P.value,M)}a.editDrawerItem({itemId:t.pageId,key:P.id,val:G})},O=P=>a.changeDrawerItemId(t.pageId,P),D=ref(),x=computed(()=>D.value&&D.value.$el.offsetWidth?Math.floor(D.value.$el.offsetWidth*.95)+"px":"100%");return{...useDragDrop(v,P=>v.value=P,{direction:"vertical"}),onChange:F,setRef:_,breakpoint:x,elTabs:D,onChangeId:O,pages:u,page:d,pageTitle:g,tabs:v,tabOptions:b,selectedTab:A,addTab:S,copyTab:C,moveTab:T,deleteTab:I,restoreTab:E,icons:computed(()=>d.value&&d.value.icon&&(typeof d.value.icon!="string"||d.value.icon.startsWith("{"))?null:Object.keys(Cache$1.get("icons.mdi.alias",{})).map(G=>({icon:"mdi:"+G,label:G,value:"mdi:"+G})))}}}),_hoisted_1$F=["id"],_hoisted_2$v={class:"text-h6 primary q-ma-sm"},_hoisted_3$n={class:"row"},_hoisted_4$f={class:"col"},_hoisted_5$c={class:"col"},_hoisted_6$8={class:"row"},_hoisted_7$6={class:"col"},_hoisted_8$6={class:"col"},_hoisted_9$6={class:"row"},_hoisted_10$5={class:"col"},_hoisted_11$5={class:"col"},_hoisted_12$3={key:0},_hoisted_13$2={class:"text-h6 primary q-ma-sm"},_hoisted_14$2={class:"q-ma-sm row"},_hoisted_15$2={key:0},_hoisted_16$2={key:1},_hoisted_17$2={key:2},_hoisted_18$2={key:3};function _sfc_render$S(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("icon"),y=resolveComponent("tab-section");return openBlock(),createElementBlock("div",{id:"page-"+t.page.id,key:t.page.id},[createBaseVNode("div",_hoisted_2$v,[createTextVNode(toDisplayString$1(t.$t("Page"))+": "+toDisplayString$1(t.pageTitle)+" ",1),createBaseVNode("span",null,"(ID: "+toDisplayString$1(t.page.id)+" )",1)]),createBaseVNode("div",_hoisted_3$n,[createBaseVNode("div",_hoisted_4$f,[createVNode$1(g,{id:"icon",json:"",label:t.$t("Icon"),value:t.page.icon||"",icon:t.page.icon,options:t.icons,onOnChange:t.onChange},null,8,["label","value","icon","options","onOnChange"])]),createBaseVNode("div",_hoisted_5$c,[createVNode$1(g,{id:"title",json:"",label:t.$t("Title"),value:t.page.title||"",onOnChange:t.onChange},null,8,["label","value","onOnChange"])])]),createBaseVNode("div",_hoisted_6$8,[createBaseVNode("div",_hoisted_7$6,[createVNode$1(g,{id:"iconStyle",json:"",label:"config#Devices#iconStyle#label",info:"config#Devices#iconStyle#info",value:t.page.iconStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_8$6,[createVNode$1(g,{id:"bodyStyle",json:"",label:"config#Devices#bodyStyle#label",info:"config#Devices#bodyStyle#info",value:t.page.bodyStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),createBaseVNode("div",_hoisted_9$6,[createBaseVNode("div",_hoisted_10$5,[createVNode$1(g,{id:"iconSelectedStyle",json:"",label:"config#Layout#iconSelectedStyle#label",info:"config#Layout#iconSelectedStyle#info",value:t.page.iconSelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])]),createBaseVNode("div",_hoisted_11$5,[createVNode$1(g,{id:"bodySelectedStyle",json:"",label:"config#Layout#bodySelectedStyle#label",info:"config#Layout#bodySelectedStyle#info",value:t.page.bodySelectedStyle,onOnChange:t.onChange},null,8,["value","onOnChange"])])]),!t.page.type||t.page.type==="page"?(openBlock(),createElementBlock("div",_hoisted_12$3,[createBaseVNode("div",_hoisted_13$2,toDisplayString$1(t.$t("Tabs of page"))+": "+toDisplayString$1(t.pageTitle),1),createBaseVNode("div",_hoisted_14$2,[createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Tab"),onClick:t.addTab},null,8,["label","onClick"]),createVNode$1(g,{id:"hideLabels",type:"switch",inline:"",label:t.$t("Do not show Tab Labels (only Icons)"),value:t.page.hideLabels||!1,style:{margin:"auto 0 auto 16px"},onOnChange:t.onChange},null,8,["label","value","onOnChange"])]),createVNode$1(QTabs,{ref:"elTabs",modelValue:t.selectedTab,"onUpdate:modelValue":r[1]||(r[1]=A=>t.selectedTab=A),"inline-label":"","outside-arrows":"","mobile-arrows":"",class:"bg-primary text-white full-width",align:"left"},{default:withCtx(()=>[createBaseVNode("div",{ref:"elDragDrop",class:"row",style:normalizeStyle$1({width:t.breakpoint})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,A=>(openBlock(),createBlock(QTab,{key:A.id,name:A.id,style:normalizeStyle$1({backgroundColor:A.backgroundColor,height:"48px"}),class:normalizeClass({"q-px-xs":!0,rowDeleted:A._deleted===!0}),disable:A._deleted===!0},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-vertical",class:"dragndrop",color:A.color},null,8,["color"]),A._hasIconBinding?(openBlock(),createElementBlock("div",_hoisted_15$2,[createVNode$1(QBtnDropdown,{flat:"",dense:""},{label:withCtx(()=>[createVNode$1(v,{size:"xs",name:A.icon.default||Object.values(A.icon)[0],class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.icon,(b,_)=>(openBlock(),createBlock(QItem,{key:_},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:b,class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024)])):(openBlock(),createElementBlock("div",_hoisted_16$2,[createVNode$1(v,{size:"xs",name:A.icon,class:"tabIcon q-mr-xs",color:A.iconColor||A.color},null,8,["name","color"])])),A._hasTitleBinding?(openBlock(),createElementBlock("div",_hoisted_17$2,[createVNode$1(QBtnDropdown,{flat:"",dense:"",label:A.title.default||Object.values(A.title)[0]},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.title,(b,_)=>(openBlock(),createBlock(QItem,{key:_},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["label"])])):(openBlock(),createElementBlock("div",_hoisted_18$2,[withDirectives(createBaseVNode("div",{class:"q-tab__label",style:normalizeStyle$1({color:A.color})},toDisplayString$1(A.title),5),[[vShow,t.page.hideLabels!==!0]])])),createBaseVNode("div",{class:"row items-center no-wrap",style:normalizeStyle$1([{"margin-left":"16px"},{color:A.color}])},[createVNode$1(QSeparator,{vertical:"",class:"q-ma-xs"}),withDirectives(createVNode$1(g,{round:"",type:"button",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",onClick:b=>t.restoreTab(A.id)},null,8,["tooltip","onClick"]),[[vShow,A._deleted===!0]]),withDirectives(createVNode$1(QBtn,{class:normalizeClass("tabOptions-"+A.id),dense:"",flat:"",round:"",color:"white",icon:"mdi-dots-vertical",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},null,8,["class"]),[[vShow,A._deleted!==!0]]),createVNode$1(QMenu,{target:".tabOptions-"+A.id,anchor:"bottom left",self:"top left","auto-close":""},{default:withCtx(()=>[withDirectives(createVNode$1(QItem,{clickable:"",onClick:b=>t.copyTab(A.id,!0)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-content-copy"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("copy")),1)]),_:1})]),_:2},1032,["onClick"]),[[vShow,A._deleted!==!0]]),withDirectives(createVNode$1(QItem,{clickable:"",onClick:b=>t.copyTab(A.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-content-duplicate"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("duplicate")),1)]),_:1})]),_:2},1032,["onClick"]),[[vShow,A._deleted!==!0]]),withDirectives(createVNode$1(QItem,{class:normalizeClass("tabOptions-move-"+A.id),clickable:"",onMouseover:b=>t.tabOptions[".tabOptions-move-"+A.id]&&t.tabOptions[".tabOptions-move-"+A.id].show()},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-folder-move-outline"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("move")),1)]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-chevron-right"})]),_:1}),createVNode$1(QMenu,{ref_for:!0,ref:b=>t.setRef(A,b),anchor:"top end",self:"top start","auto-close":""},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,b=>(openBlock(),createBlock(QItem,{key:b.id,clickable:"",onClick:_=>t.moveTab(A.id,b.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:b.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.title),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1536)]),_:2},1032,["class","onMouseover"]),[[vShow,A._deleted!==!0&&t.pages.length>0]]),createVNode$1(QItem,{clickable:"",style:{color:"#fff",background:"var(--q-negative)"},onClick:b=>t.deleteTab(A.id)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:"mdi-delete"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("delete")),1)]),_:1})]),_:2},1032,["onClick"])]),_:2},1032,["target"])],4)]),_:2},1032,["name","style","class","disable"]))),128))],4)]),_:1},8,["modelValue"]),createVNode$1(QTabPanels,{modelValue:t.selectedTab,"onUpdate:modelValue":r[2]||(r[2]=A=>t.selectedTab=A),animated:"",class:"border"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabs,A=>(openBlock(),createBlock(QTabPanel,{id:"tab-"+A.id,key:A.id,name:A.id,style:{padding:"16px 0"},class:"body"},{default:withCtx(()=>[createVNode$1(y,{"page-id":t.page.id,"tab-id":A.id},null,8,["page-id","tab-id"])]),_:2},1032,["id","name"]))),128))]),_:1},8,["modelValue"])])):createCommentVNode("",!0)],8,_hoisted_1$F)}var DrawerSection=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$S]]),LayoutsPage_vue_vue_type_style_index_0_lang="";const _sfc_main$R=defineComponent({name:"LayoutsPage",components:{DrawerSection,JsonEditor},setup(){const t=useI18n(),r=useJarvis(),o=useEditor(),a=[{id:"copy",icon:"mdi-content-copy",label:t.t("copy")},{id:"duplicate",icon:"mdi-content-duplicate",label:t.t("duplicate")}],u=T=>o.set({["settings."+T.id]:T.value}),d=T=>{if(T._error){o.addError(T.id,T._error);return}o.removeError(T.id),T.value&&o.set({tmpJsonEditor:{key:T.id,json:JSON.parse(T.value)}})},g=computed({get(){return(o.getLayout||[]).map(I=>(I._hasIconBinding=typeof I.icon=="object",I._hasTitleBinding=typeof I.title=="object",I))},set(T){o.setLayout(T)}}),v=ref(r.getSelectedPage||(o.selectedPage?o.selectedPage:o.getLayout.find(T=>T.type==="page"&&T._deleted!==!0))),y=T=>{v.value=T},A=()=>o.addDrawerItem({type:"divider"}),b=()=>o.addDrawerItem({type:"header",title:t.t("New Header")}),_=()=>{o.addDrawerItem({type:"page",icon:"mdi-file",title:t.t("New Page"),tabs:[]}),v.value=g.value[g.value.length-1],o.addTab({pageId:v.value.id})},w=T=>{const I=T.id;o.copyDrawerItem({itemId:I,copyWidgets:T.val==="copy"});const E=g.value[g.value.length-1];E.type==="page"&&(v.value=E)},S=T=>{o.deleteDrawerItem({itemId:T}),v.value.id===T&&(v.value=g.value.find(I=>I.type==="page"&&I._deleted!==!0))},C=T=>{o.restoreDrawerItem({itemId:T});const I=g.value.find(E=>E.id===T);I.type==="page"&&(v.value=I)};return{...useDragDrop(g,T=>g.value=T),copyMenu:a,json:computed(()=>o.layout),settings:computed(()=>o.settings),proWarning:computed(()=>!Pro.isPro()&&g.value.filter(T=>T.type==="page").length>1),configurationHeight:computed(()=>{const T=document.querySelector(".q-page");return T&&T.offsetHeight||900}),pagesWithoutDeletionsCount:computed(()=>o.getPagesWithoutDeletions.length),onChangeSettings:u,onJsonEditor:d,onSelectPage:y,selectedPage:v,pages:g,addDivider:A,addHeader:b,addPage:_,copyItem:w,deleteItem:S,restoreItem:C}}}),_hoisted_1$E={class:"full-height LayoutsPage"},_hoisted_2$u={class:"row no-wrap"},_hoisted_3$m={class:"row",style:{"margin-bottom":"54px"}},_hoisted_4$e={class:"col-3"},_hoisted_5$b={class:"text-h6 primary q-ma-sm"},_hoisted_6$7={key:0},_hoisted_7$5={key:1},_hoisted_8$5={key:1},_hoisted_9$5={key:2},_hoisted_10$4={class:"row items-center"},_hoisted_11$4={class:"col-9"};function _sfc_render$R(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("icon"),y=resolveComponent("inputs"),A=resolveComponent("paper"),b=resolveComponent("drawer-section"),_=resolveComponent("json-editor");return openBlock(),createElementBlock("div",_hoisted_1$E,[createBaseVNode("div",_hoisted_2$u,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Layout")),1)]),_:1})]),_:1})]),withDirectives(createBaseVNode("div",_hoisted_3$m,[createBaseVNode("div",_hoisted_4$e,[createVNode$1(A,{class:"q-pa-sm"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$b,toDisplayString$1(t.$t("Drawer")+" / "+t.$t("Pages")),1),createVNode$1(QBtnGroup,null,{default:withCtx(()=>[createVNode$1(QBtn,{color:"primary",icon:"mdi-plus-circle",label:t.$t("Add Page"),onClick:t.addPage},null,8,["label","onClick"]),createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Header"),onClick:t.addHeader},null,8,["label","onClick"]),createVNode$1(QBtn,{color:"secondary",icon:"mdi-plus-circle",label:t.$t("Add Divider"),onClick:t.addDivider},null,8,["label","onClick"])]),_:1}),withDirectives(createVNode$1(g,{style:{margin:"16px 0 0 0"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Only a single page is allowed without Pro. A single page may hold infinite tabs though."))+". ",1)]),_:1},512),[[vShow,t.proWarning]]),createVNode$1(QSeparator,{style:{margin:"16px 0"}}),createVNode$1(QList,{ref:"elDragDrop"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,w=>(openBlock(),createBlock(QItem,{key:w.id,clickable:!w.type||w.type==="page"||w.type==="header",class:normalizeClass({rowDeleted:w._deleted===!0,selected:t.selectedPage.id===w.id}),disable:w._deleted===!0,onClick:S=>t.onSelectPage(w)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{size:"sm",name:"mdi-drag-horizontal",class:"dragndrop"})]),_:1}),!w.type||w.type==="page"?(openBlock(),createBlock(QItemSection,{key:0,avatar:"",center:"",style:normalizeStyle$1({backgroundColor:w.backgroundColor})},{default:withCtx(()=>[w._hasIconBinding?(openBlock(),createElementBlock("div",_hoisted_6$7,[createVNode$1(QBtnDropdown,{flat:"",dense:""},{label:withCtx(()=>[createVNode$1(v,{name:w.icon.default||Object.values(w.icon)[0],color:t.selectedPage.id===w.id?"white":"primary",styles:{color:w.iconColor}},null,8,["name","color","styles"])]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(w.icon,(S,C)=>(openBlock(),createBlock(QItem,{key:C},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(v,{size:"xs",name:S,class:"pageIcon q-mr-xs",color:w.iconColor||w.color},null,8,["name","color"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(S),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(C),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024)])):(openBlock(),createElementBlock("div",_hoisted_7$5,[createVNode$1(v,{name:w.icon,color:t.selectedPage.id===w.id?"white":"primary",styles:{color:w.iconColor}},null,8,["name","color","styles"])]))]),_:2},1032,["style"])):createCommentVNode("",!0),createVNode$1(QItemSection,{class:normalizeClass({itemDeleted:w._deleted===!0}),style:normalizeStyle$1({backgroundColor:w.backgroundColor,color:w.color})},{default:withCtx(()=>[w.type==="divider"?(openBlock(),createBlock(QSeparator,{key:0})):createCommentVNode("",!0),w._hasTitleBinding?(openBlock(),createElementBlock("div",_hoisted_8$5,[createVNode$1(QBtnDropdown,{flat:"",dense:"",label:w.title.default||Object.values(w.title)[0]},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(w.title,(S,C)=>(openBlock(),createBlock(QItem,{key:C},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(S),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(C),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["label"])])):(openBlock(),createElementBlock("div",_hoisted_9$5,[createVNode$1(QItemLabel,{class:normalizeClass({header:w.type==="header"}),style:normalizeStyle$1({color:w.color})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(w.title),1)]),_:2},1032,["class","style"])]))]),_:2},1032,["class","style"]),createVNode$1(QItemSection,{side:"",class:normalizeClass({rowDeleted:w._deleted===!0,selected:t.selectedPage.id===w.id})},{default:withCtx(()=>[createBaseVNode("div",_hoisted_10$4,[w.type==="page"?withDirectives((openBlock(),createBlock(y,{key:0,id:w.id,type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),items:t.copyMenu,"dense-menu":"",onOnSelect:t.copyItem},null,8,["id","tooltip","items","onOnSelect"])),[[vShow,w.type!=="divider"&&w._deleted!==!0]]):withDirectives((openBlock(),createBlock(y,{key:1,type:"button",round:"",icon:"mdi-content-copy",tooltip:t.$t("copy"),onClick:withModifiers(S=>t.copyItem({id:w.id}),["stop"])},null,8,["tooltip","onClick"])),[[vShow,w.type!=="divider"&&w._deleted!==!0]]),withDirectives(createVNode$1(y,{type:"button",round:"",icon:"mdi-delete",tooltip:t.$t("delete"),color:"negative",onClick:withModifiers(S=>t.deleteItem(w.id),["stop"])},null,8,["tooltip","onClick"]),[[vShow,(w.type&&w.type!=="page"||(!w.type||w.type==="page")&&t.pagesWithoutDeletionsCount>1)&&w._deleted!==!0]]),withDirectives(createVNode$1(y,{type:"button",round:"",icon:"mdi-restore",tooltip:t.$t("restore"),color:"positive",class:"restore",onClick:withModifiers(S=>t.restoreItem(w.id),["stop"])},null,8,["tooltip","onClick"]),[[vShow,w._deleted===!0]])])]),_:2},1032,["class"])]),_:2},1032,["clickable","class","disable","onClick"]))),128))]),_:1},512),createVNode$1(QList,null,{default:withCtx(()=>[createVNode$1(QSeparator,{class:"q-my-sm"}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""}),createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-cog",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Configuration"))+" & "+toDisplayString$1(t.$t("Help")),1)]),_:1}),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("show in sidebar")),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(y,{id:"drawerShowSettings",type:"Switch",inline:"",value:t.settings.drawerShowSettings,onOnChange:t.onChangeSettings},null,8,["value","onOnChange"])]),_:1})]),_:1}),createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:""}),createVNode$1(QItemSection,{avatar:"",center:""},{default:withCtx(()=>[createVNode$1(v,{name:"mdi-menu",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Drawer")),1)]),_:1}),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("show button")),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(y,{id:"drawerShowMenuButton",type:"Switch",inline:"",value:t.settings.drawerShowMenuButton,onOnChange:t.onChangeSettings},null,8,["value","onOnChange"])]),_:1})]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",_hoisted_11$4,[createVNode$1(A,{class:"q-pa-sm"},{default:withCtx(()=>[t.selectedPage&&t.selectedPage.id?(openBlock(),createBlock(b,{key:0,"page-id":t.selectedPage.id,onOnSelectPage:t.onSelectPage},null,8,["page-id","onOnSelectPage"])):createCommentVNode("",!0)]),_:1})])],512),[[vShow,!t.settings.configExpertMode]]),withDirectives(createVNode$1(A,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(_,{id:"layout",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.settings.configExpertMode]])])}var LayoutsPage=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$R]]),index$7=Object.freeze(Object.defineProperty({__proto__:null,default:LayoutsPage},Symbol.toStringTag,{value:"Module"}));const _sfc_main$Q=defineComponent({name:"SettingsPage",components:{JsonEditor},setup(){const t=useEditor(),r=useJarvis(),o=computed(()=>t.settings),a=computed(()=>t.settings&&t.settings.configExpertMode),u=y=>y?y({jarvis:r,editor:t}):!0,d=y=>t.settings[y.id]!==void 0?y.validate?y.validate(t.settings[y.id]):t.settings[y.id]:y.value,g=y=>{const{id:A,value:b}=y;y.parentId?t.set("settings."+y.parentId+"-"+y.component,{[A]:b},!0):t.set({["settings."+A]:b})},v=y=>{if(y._error){t.addError(y.id,y._error);return}t.removeError(y.id),y.value&&t.set({tmpJsonEditor:{key:y.id,json:JSON.parse(y.value)}})};return{expanded:ref({}),groups:Config,configurationHeight:computed(()=>{const y=document.querySelector(".q-page");return y&&y.offsetHeight||900}),expertMode:a,json:o,dependencies:u,getValue:d,onChange:g,onJsonEditor:v}}}),_hoisted_1$D={class:"full-height"},_hoisted_2$t={class:"row no-wrap"},_hoisted_3$l={class:"row",style:{padding:"8px 16px"}};function _sfc_render$Q(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("json-editor"),y=resolveComponent("paper");return openBlock(),createElementBlock("div",_hoisted_1$D,[createBaseVNode("div",_hoisted_2$t,[createVNode$1(QToolbar,{class:"paper",style:{"min-height":"56px"}},{default:withCtx(()=>[createVNode$1(QToolbarTitle,{shrink:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Settings")),1)]),_:1})]),_:1})]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.groups,A=>withDirectives((openBlock(),createElementBlock("div",{key:A.id,class:"row no-wrap paper"},[createVNode$1(QExpansionItem,{modelValue:t.expanded[A.id],"onUpdate:modelValue":b=>t.expanded[A.id]=b,icon:A.icon,label:t.$t(A.label),class:"full-width"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$l,[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.settings,b=>withDirectives((openBlock(),createElementBlock("div",{key:b.id,class:normalizeClass("col-"+(b.columns||2))},[createBaseVNode("form",null,[createVNode$1(g,mergeProps({ref_for:!0},b,{value:t.getValue(b),onOnChange:t.onChange,onOnSelect:t.onChange}),null,16,["value","onOnChange","onOnSelect"])])],2)),[[vShow,t.dependencies(b.dependency)]])),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","icon","label"])])),[[vShow,!t.expertMode]])),128)),withDirectives(createVNode$1(y,{style:normalizeStyle$1({height:t.configurationHeight-66-16+"px"})},{default:withCtx(()=>[createVNode$1(v,{id:"settings",json:t.json,onOnChange:t.onJsonEditor},null,8,["json","onOnChange"])]),_:1},8,["style"]),[[vShow,t.expertMode]])])}var SettingsPage=_export_sfc$1(_sfc_main$Q,[["render",_sfc_render$Q]]),index$6=Object.freeze(Object.defineProperty({__proto__:null,default:SettingsPage},Symbol.toStringTag,{value:"Module"})),css={},commentre=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,parse$2=function(t,r){r=r||{};var o=1,a=1;function u(ne){var te=ne.match(/\n/g);te&&(o+=te.length);var ce=ne.lastIndexOf(` +`);a=~ce?ne.length-ce:a+ne.length}function d(){var ne={line:o,column:a};return function(te){return te.position=new g(ne),C(),te}}function g(ne){this.start=ne,this.end={line:o,column:a},this.source=r.source}g.prototype.content=t;var v=[];function y(ne){var te=new Error(r.source+":"+o+":"+a+": "+ne);if(te.reason=ne,te.filename=r.source,te.line=o,te.column=a,te.source=t,r.silent)v.push(te);else throw te}function A(){var ne=w();return{type:"stylesheet",stylesheet:{source:r.source,rules:ne,parsingErrors:v}}}function b(){return S(/^{\s*/)}function _(){return S(/^}/)}function w(){var ne,te=[];for(C(),T(te);t.length&&t.charAt(0)!="}"&&(ne=X()||J());)ne!==!1&&(te.push(ne),T(te));return te}function S(ne){var te=ne.exec(t);if(!!te){var ce=te[0];return u(ce),t=t.slice(ce.length),te}}function C(){S(/^\s*/)}function T(ne){var te;for(ne=ne||[];te=I();)te!==!1&&ne.push(te);return ne}function I(){var ne=d();if(!(t.charAt(0)!="/"||t.charAt(1)!="*")){for(var te=2;t.charAt(te)!=""&&(t.charAt(te)!="*"||t.charAt(te+1)!="/");)++te;if(te+=2,t.charAt(te-1)==="")return y("End of comment missing");var ce=t.slice(2,te-2);return a+=2,u(ce),t=t.slice(te),a+=2,ne({type:"comment",comment:ce})}}function E(){var ne=S(/^([^{]+)/);if(!!ne)return trim$2(ne[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(te){return te.replace(/,/g,"\u200C")}).split(/\s*(?![^(]*\)),\s*/).map(function(te){return te.replace(/\u200C/g,",")})}function F(){var ne=d(),te=S(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!!te){if(te=trim$2(te[0]),!S(/^:\s*/))return y("property missing ':'");var ce=S(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),se=ne({type:"declaration",property:te.replace(commentre,""),value:ce?trim$2(ce[0]).replace(commentre,""):""});return S(/^[;\s]*/),se}}function O(){var ne=[];if(!b())return y("missing '{'");T(ne);for(var te;te=F();)te!==!1&&(ne.push(te),T(ne));return _()?ne:y("missing '}'")}function D(){for(var ne,te=[],ce=d();ne=S(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)te.push(ne[1]),S(/^,\s*/);if(!!te.length)return ce({type:"keyframe",values:te,declarations:O()})}function x(){var ne=d(),ce=S(/^@([-\w]+)?keyframes\s*/);if(!!ce){var te=ce[1],ce=S(/^([-\w]+)\s*/);if(!ce)return y("@keyframes missing name");var se=ce[1];if(!b())return y("@keyframes missing '{'");for(var ge,he=T();ge=D();)he.push(ge),he=he.concat(T());return _()?ne({type:"keyframes",name:se,vendor:te,keyframes:he}):y("@keyframes missing '}'")}}function P(){var ne=d(),te=S(/^@supports *([^{]+)/);if(!!te){var ce=trim$2(te[1]);if(!b())return y("@supports missing '{'");var se=T().concat(w());return _()?ne({type:"supports",supports:ce,rules:se}):y("@supports missing '}'")}}function G(){var ne=d(),te=S(/^@host\s*/);if(!!te){if(!b())return y("@host missing '{'");var ce=T().concat(w());return _()?ne({type:"host",rules:ce}):y("@host missing '}'")}}function M(){var ne=d(),te=S(/^@media *([^{]+)/);if(!!te){var ce=trim$2(te[1]);if(!b())return y("@media missing '{'");var se=T().concat(w());return _()?ne({type:"media",media:ce,rules:se}):y("@media missing '}'")}}function N(){var ne=d(),te=S(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(!!te)return ne({type:"custom-media",name:trim$2(te[1]),media:trim$2(te[2])})}function V(){var ne=d(),te=S(/^@page */);if(!!te){var ce=E()||[];if(!b())return y("@page missing '{'");for(var se=T(),ge;ge=F();)se.push(ge),se=se.concat(T());return _()?ne({type:"page",selectors:ce,declarations:se}):y("@page missing '}'")}}function Z(){var ne=d(),te=S(/^@([-\w]+)?document *([^{]+)/);if(!!te){var ce=trim$2(te[1]),se=trim$2(te[2]);if(!b())return y("@document missing '{'");var ge=T().concat(w());return _()?ne({type:"document",document:se,vendor:ce,rules:ge}):y("@document missing '}'")}}function H(){var ne=d(),te=S(/^@font-face\s*/);if(!!te){if(!b())return y("@font-face missing '{'");for(var ce=T(),se;se=F();)ce.push(se),ce=ce.concat(T());return _()?ne({type:"font-face",declarations:ce}):y("@font-face missing '}'")}}var B=Q("import"),z=Q("charset"),U=Q("namespace");function Q(ne){var te=new RegExp("^@"+ne+"\\s*([^;]+);");return function(){var ce=d(),se=S(te);if(!!se){var ge={type:ne};return ge[ne]=se[1].trim(),ce(ge)}}}function X(){if(t[0]=="@")return x()||M()||N()||P()||B()||z()||U()||Z()||V()||G()||H()}function J(){var ne=d(),te=E();return te?(T(),ne({type:"rule",selectors:te,declarations:O()})):y("selector missing")}return addParent(A())};function trim$2(t){return t?t.replace(/^\s+|\s+$/g,""):""}function addParent(t,r){var o=t&&typeof t.type=="string",a=o?t:r;for(var u in t){var d=t[u];Array.isArray(d)?d.forEach(function(g){addParent(g,a)}):d&&typeof d=="object"&&addParent(d,a)}return o&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:r||null}),t}var compiler=Compiler$2;function Compiler$2(t){this.options=t||{}}Compiler$2.prototype.emit=function(t){return t};Compiler$2.prototype.visit=function(t){return this[t.type](t)};Compiler$2.prototype.mapVisit=function(t,r){var o="";r=r||"";for(var a=0,u=t.length;a>1;return r?-o:o}base64Vlq.encode=function t(r){var o="",a,u=toVLQSigned(r);do a=u&VLQ_BASE_MASK,u>>>=VLQ_BASE_SHIFT,u>0&&(a|=VLQ_CONTINUATION_BIT),o+=base64.encode(a);while(u>0);return o};base64Vlq.decode=function t(r,o,a){var u=r.length,d=0,g=0,v,y;do{if(o>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(y=base64.decode(r.charCodeAt(o++)),y===-1)throw new Error("Invalid base64 digit: "+r.charAt(o-1));v=!!(y&VLQ_CONTINUATION_BIT),y&=VLQ_BASE_MASK,d=d+(y<=0;Y--)N=M[Y],N==="."?M.splice(Y,1):N===".."?V++:V>0&&(N===""?(M.splice(Y+1,V),V=0):(M.splice(Y,2),V--));return x=M.join("/"),x===""&&(x=G?"/":"."),P?(P.path=x,d(P)):x}t.normalize=g;function v(D,x){D===""&&(D="."),x===""&&(x=".");var P=u(x),G=u(D);if(G&&(D=G.path||"/"),P&&!P.scheme)return G&&(P.scheme=G.scheme),d(P);if(P||x.match(a))return x;if(G&&!G.host&&!G.path)return G.host=x,d(G);var M=x.charAt(0)==="/"?x:g(D.replace(/\/+$/,"")+"/"+x);return G?(G.path=M,d(G)):M}t.join=v,t.isAbsolute=function(D){return D.charAt(0)==="/"||o.test(D)};function y(D,x){D===""&&(D="."),D=D.replace(/\/$/,"");for(var P=0;x.indexOf(D+"/")!==0;){var G=D.lastIndexOf("/");if(G<0||(D=D.slice(0,G),D.match(/^([^\/]+:\/)?\/*$/)))return x;++P}return Array(P+1).join("../")+x.substr(D.length+1)}t.relative=y;var A=function(){var D=Object.create(null);return!("__proto__"in D)}();function b(D){return D}function _(D){return S(D)?"$"+D:D}t.toSetString=A?b:_;function w(D){return S(D)?D.slice(1):D}t.fromSetString=A?b:w;function S(D){if(!D)return!1;var x=D.length;if(x<9||D.charCodeAt(x-1)!==95||D.charCodeAt(x-2)!==95||D.charCodeAt(x-3)!==111||D.charCodeAt(x-4)!==116||D.charCodeAt(x-5)!==111||D.charCodeAt(x-6)!==114||D.charCodeAt(x-7)!==112||D.charCodeAt(x-8)!==95||D.charCodeAt(x-9)!==95)return!1;for(var P=x-10;P>=0;P--)if(D.charCodeAt(P)!==36)return!1;return!0}function C(D,x,P){var G=I(D.source,x.source);return G!==0||(G=D.originalLine-x.originalLine,G!==0)||(G=D.originalColumn-x.originalColumn,G!==0||P)||(G=D.generatedColumn-x.generatedColumn,G!==0)||(G=D.generatedLine-x.generatedLine,G!==0)?G:I(D.name,x.name)}t.compareByOriginalPositions=C;function T(D,x,P){var G=D.generatedLine-x.generatedLine;return G!==0||(G=D.generatedColumn-x.generatedColumn,G!==0||P)||(G=I(D.source,x.source),G!==0)||(G=D.originalLine-x.originalLine,G!==0)||(G=D.originalColumn-x.originalColumn,G!==0)?G:I(D.name,x.name)}t.compareByGeneratedPositionsDeflated=T;function I(D,x){return D===x?0:D===null?1:x===null?-1:D>x?1:-1}function E(D,x){var P=D.generatedLine-x.generatedLine;return P!==0||(P=D.generatedColumn-x.generatedColumn,P!==0)||(P=I(D.source,x.source),P!==0)||(P=D.originalLine-x.originalLine,P!==0)||(P=D.originalColumn-x.originalColumn,P!==0)?P:I(D.name,x.name)}t.compareByGeneratedPositionsInflated=E;function F(D){return JSON.parse(D.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=F;function O(D,x,P){if(x=x||"",D&&(D[D.length-1]!=="/"&&x[0]!=="/"&&(D+="/"),x=D+x),P){var G=u(P);if(!G)throw new Error("sourceMapURL could not be parsed");if(G.path){var M=G.path.lastIndexOf("/");M>=0&&(G.path=G.path.substring(0,M+1))}x=v(d(G),x)}return g(x)}t.computeSourceURL=O})(util$5);var arraySet={},util$4=util$5,has$4=Object.prototype.hasOwnProperty,hasNativeMap=typeof Map!="undefined";function ArraySet$2(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet$2.fromArray=function t(r,o){for(var a=new ArraySet$2,u=0,d=r.length;u=0)return o}else{var a=util$4.toSetString(r);if(has$4.call(this._set,a))return this._set[a]}throw new Error('"'+r+'" is not in the set.')};ArraySet$2.prototype.at=function t(r){if(r>=0&&ro||a==o&&d>=u||util$3.compareByGeneratedPositionsInflated(t,r)<=0}function MappingList$1(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList$1.prototype.unsortedForEach=function t(r,o){this._array.forEach(r,o)};MappingList$1.prototype.add=function t(r){generatedPositionAfter(this._last,r)?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))};MappingList$1.prototype.toArray=function t(){return this._sorted||(this._array.sort(util$3.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};mappingList.MappingList=MappingList$1;var base64VLQ$1=base64Vlq,util$2=util$5,ArraySet$1=arraySet.ArraySet,MappingList=mappingList.MappingList;function SourceMapGenerator$1(t){t||(t={}),this._file=util$2.getArg(t,"file",null),this._sourceRoot=util$2.getArg(t,"sourceRoot",null),this._skipValidation=util$2.getArg(t,"skipValidation",!1),this._sources=new ArraySet$1,this._names=new ArraySet$1,this._mappings=new MappingList,this._sourcesContents=null}SourceMapGenerator$1.prototype._version=3;SourceMapGenerator$1.fromSourceMap=function t(r){var o=r.sourceRoot,a=new SourceMapGenerator$1({file:r.file,sourceRoot:o});return r.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,o!=null&&(d.source=util$2.relative(o,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),a.addMapping(d)}),r.sources.forEach(function(u){var d=u;o!==null&&(d=util$2.relative(o,u)),a._sources.has(d)||a._sources.add(d);var g=r.sourceContentFor(u);g!=null&&a.setSourceContent(u,g)}),a};SourceMapGenerator$1.prototype.addMapping=function t(r){var o=util$2.getArg(r,"generated"),a=util$2.getArg(r,"original",null),u=util$2.getArg(r,"source",null),d=util$2.getArg(r,"name",null);this._skipValidation||this._validateMapping(o,a,u,d),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:o.line,generatedColumn:o.column,originalLine:a!=null&&a.line,originalColumn:a!=null&&a.column,source:u,name:d})};SourceMapGenerator$1.prototype.setSourceContent=function t(r,o){var a=r;this._sourceRoot!=null&&(a=util$2.relative(this._sourceRoot,a)),o!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[util$2.toSetString(a)]=o):this._sourcesContents&&(delete this._sourcesContents[util$2.toSetString(a)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};SourceMapGenerator$1.prototype.applySourceMap=function t(r,o,a){var u=o;if(o==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=r.file}var d=this._sourceRoot;d!=null&&(u=util$2.relative(d,u));var g=new ArraySet$1,v=new ArraySet$1;this._mappings.unsortedForEach(function(y){if(y.source===u&&y.originalLine!=null){var A=r.originalPositionFor({line:y.originalLine,column:y.originalColumn});A.source!=null&&(y.source=A.source,a!=null&&(y.source=util$2.join(a,y.source)),d!=null&&(y.source=util$2.relative(d,y.source)),y.originalLine=A.line,y.originalColumn=A.column,A.name!=null&&(y.name=A.name))}var b=y.source;b!=null&&!g.has(b)&&g.add(b);var _=y.name;_!=null&&!v.has(_)&&v.add(_)},this),this._sources=g,this._names=v,r.sources.forEach(function(y){var A=r.sourceContentFor(y);A!=null&&(a!=null&&(y=util$2.join(a,y)),d!=null&&(y=util$2.relative(d,y)),this.setSourceContent(y,A))},this)};SourceMapGenerator$1.prototype._validateMapping=function t(r,o,a,u){if(o&&typeof o.line!="number"&&typeof o.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!o&&!a&&!u)){if(r&&"line"in r&&"column"in r&&o&&"line"in o&&"column"in o&&r.line>0&&r.column>=0&&o.line>0&&o.column>=0&&a)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:r,source:a,original:o,name:u}))}};SourceMapGenerator$1.prototype._serializeMappings=function t(){for(var r=0,o=1,a=0,u=0,d=0,g=0,v="",y,A,b,_,w=this._mappings.toArray(),S=0,C=w.length;S0){if(!util$2.compareByGeneratedPositionsInflated(A,w[S-1]))continue;y+=","}y+=base64VLQ$1.encode(A.generatedColumn-r),r=A.generatedColumn,A.source!=null&&(_=this._sources.indexOf(A.source),y+=base64VLQ$1.encode(_-g),g=_,y+=base64VLQ$1.encode(A.originalLine-1-u),u=A.originalLine-1,y+=base64VLQ$1.encode(A.originalColumn-a),a=A.originalColumn,A.name!=null&&(b=this._names.indexOf(A.name),y+=base64VLQ$1.encode(b-d),d=b)),v+=y}return v};SourceMapGenerator$1.prototype._generateSourcesContent=function t(r,o){return r.map(function(a){if(!this._sourcesContents)return null;o!=null&&(a=util$2.relative(o,a));var u=util$2.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)};SourceMapGenerator$1.prototype.toJSON=function t(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r};SourceMapGenerator$1.prototype.toString=function t(){return JSON.stringify(this.toJSON())};sourceMapGenerator.SourceMapGenerator=SourceMapGenerator$1;var sourceMapConsumer={},binarySearch$1={};(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function r(o,a,u,d,g,v){var y=Math.floor((a-o)/2)+o,A=g(u,d[y],!0);return A===0?y:A>0?a-y>1?r(y,a,u,d,g,v):v==t.LEAST_UPPER_BOUND?a1?r(o,y,u,d,g,v):v==t.LEAST_UPPER_BOUND?y:o<0?-1:o}t.search=function(a,u,d,g){if(u.length===0)return-1;var v=r(-1,u.length,a,u,d,g||t.GREATEST_LOWER_BOUND);if(v<0)return-1;for(;v-1>=0&&d(u[v],u[v-1],!0)===0;)--v;return v}})(binarySearch$1);var quickSort$1={};function swap(t,r,o){var a=t[r];t[r]=t[o],t[o]=a}function randomIntInRange(t,r){return Math.round(t+Math.random()*(r-t))}function doQuickSort(t,r,o,a){if(o=0){var g=this._originalMappings[d];if(r.column===void 0)for(var v=g.originalLine;g&&g.originalLine===v;)u.push({line:util$1.getArg(g,"generatedLine",null),column:util$1.getArg(g,"generatedColumn",null),lastColumn:util$1.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++d];else for(var y=g.originalColumn;g&&g.originalLine===o&&g.originalColumn==y;)u.push({line:util$1.getArg(g,"generatedLine",null),column:util$1.getArg(g,"generatedColumn",null),lastColumn:util$1.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++d]}return u};sourceMapConsumer.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(t,r){var o=t;typeof t=="string"&&(o=util$1.parseSourceMapInput(t));var a=util$1.getArg(o,"version"),u=util$1.getArg(o,"sources"),d=util$1.getArg(o,"names",[]),g=util$1.getArg(o,"sourceRoot",null),v=util$1.getArg(o,"sourcesContent",null),y=util$1.getArg(o,"mappings"),A=util$1.getArg(o,"file",null);if(a!=this._version)throw new Error("Unsupported version: "+a);g&&(g=util$1.normalize(g)),u=u.map(String).map(util$1.normalize).map(function(b){return g&&util$1.isAbsolute(g)&&util$1.isAbsolute(b)?util$1.relative(g,b):b}),this._names=ArraySet.fromArray(d.map(String),!0),this._sources=ArraySet.fromArray(u,!0),this._absoluteSources=this._sources.toArray().map(function(b){return util$1.computeSourceURL(g,b,r)}),this.sourceRoot=g,this.sourcesContent=v,this._mappings=y,this._sourceMapURL=r,this.file=A}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(t){var r=t;if(this.sourceRoot!=null&&(r=util$1.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);var o;for(o=0;o1&&(T.source=v+E[1],v+=E[1],T.originalLine=d+E[2],d=T.originalLine,T.originalLine+=1,T.originalColumn=g+E[3],g=T.originalColumn,E.length>4&&(T.name=y+E[4],y+=E[4])),C.push(T),typeof T.originalLine=="number"&&S.push(T)}quickSort(C,util$1.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,quickSort(S,util$1.compareByOriginalPositions),this.__originalMappings=S};BasicSourceMapConsumer.prototype._findMapping=function t(r,o,a,u,d,g){if(r[a]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+r[a]);if(r[u]<0)throw new TypeError("Column must be greater than or equal to 0, got "+r[u]);return binarySearch.search(r,o,d,g)};BasicSourceMapConsumer.prototype.computeColumnSpans=function t(){for(var r=0;r=0){var u=this._generatedMappings[a];if(u.generatedLine===o.generatedLine){var d=util$1.getArg(u,"source",null);d!==null&&(d=this._sources.at(d),d=util$1.computeSourceURL(this.sourceRoot,d,this._sourceMapURL));var g=util$1.getArg(u,"name",null);return g!==null&&(g=this._names.at(g)),{source:d,line:util$1.getArg(u,"originalLine",null),column:util$1.getArg(u,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function t(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(r){return r==null}):!1};BasicSourceMapConsumer.prototype.sourceContentFor=function t(r,o){if(!this.sourcesContent)return null;var a=this._findSourceIndex(r);if(a>=0)return this.sourcesContent[a];var u=r;this.sourceRoot!=null&&(u=util$1.relative(this.sourceRoot,u));var d;if(this.sourceRoot!=null&&(d=util$1.urlParse(this.sourceRoot))){var g=u.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!d.path||d.path=="/")&&this._sources.has("/"+u))return this.sourcesContent[this._sources.indexOf("/"+u)]}if(o)return null;throw new Error('"'+u+'" is not in the SourceMap.')};BasicSourceMapConsumer.prototype.generatedPositionFor=function t(r){var o=util$1.getArg(r,"source");if(o=this._findSourceIndex(o),o<0)return{line:null,column:null,lastColumn:null};var a={source:o,originalLine:util$1.getArg(r,"line"),originalColumn:util$1.getArg(r,"column")},u=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",util$1.compareByOriginalPositions,util$1.getArg(r,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(u>=0){var d=this._originalMappings[u];if(d.source===a.source)return{line:util$1.getArg(d,"generatedLine",null),column:util$1.getArg(d,"generatedColumn",null),lastColumn:util$1.getArg(d,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};sourceMapConsumer.BasicSourceMapConsumer=BasicSourceMapConsumer;function IndexedSourceMapConsumer(t,r){var o=t;typeof t=="string"&&(o=util$1.parseSourceMapInput(t));var a=util$1.getArg(o,"version"),u=util$1.getArg(o,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new ArraySet,this._names=new ArraySet;var d={line:-1,column:0};this._sections=u.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var v=util$1.getArg(g,"offset"),y=util$1.getArg(v,"line"),A=util$1.getArg(v,"column");if(y=0;o--)this.prepend(r[o]);else if(r[isSourceNode]||typeof r=="string")this.children.unshift(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};SourceNode.prototype.walk=function t(r){for(var o,a=0,u=this.children.length;a0){for(o=[],a=0;a>1;return r?-o:o}base64Vlq.encode=function t(r){var o="",a,u=toVLQSigned(r);do a=u&VLQ_BASE_MASK,u>>>=VLQ_BASE_SHIFT,u>0&&(a|=VLQ_CONTINUATION_BIT),o+=base64.encode(a);while(u>0);return o};base64Vlq.decode=function t(r,o,a){var u=r.length,d=0,g=0,v,y;do{if(o>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(y=base64.decode(r.charCodeAt(o++)),y===-1)throw new Error("Invalid base64 digit: "+r.charAt(o-1));v=!!(y&VLQ_CONTINUATION_BIT),y&=VLQ_BASE_MASK,d=d+(y<=0;Z--)N=M[Z],N==="."?M.splice(Z,1):N===".."?V++:V>0&&(N===""?(M.splice(Z+1,V),V=0):(M.splice(Z,2),V--));return x=M.join("/"),x===""&&(x=G?"/":"."),P?(P.path=x,d(P)):x}t.normalize=g;function v(D,x){D===""&&(D="."),x===""&&(x=".");var P=u(x),G=u(D);if(G&&(D=G.path||"/"),P&&!P.scheme)return G&&(P.scheme=G.scheme),d(P);if(P||x.match(a))return x;if(G&&!G.host&&!G.path)return G.host=x,d(G);var M=x.charAt(0)==="/"?x:g(D.replace(/\/+$/,"")+"/"+x);return G?(G.path=M,d(G)):M}t.join=v,t.isAbsolute=function(D){return D.charAt(0)==="/"||o.test(D)};function y(D,x){D===""&&(D="."),D=D.replace(/\/$/,"");for(var P=0;x.indexOf(D+"/")!==0;){var G=D.lastIndexOf("/");if(G<0||(D=D.slice(0,G),D.match(/^([^\/]+:\/)?\/*$/)))return x;++P}return Array(P+1).join("../")+x.substr(D.length+1)}t.relative=y;var A=function(){var D=Object.create(null);return!("__proto__"in D)}();function b(D){return D}function _(D){return S(D)?"$"+D:D}t.toSetString=A?b:_;function w(D){return S(D)?D.slice(1):D}t.fromSetString=A?b:w;function S(D){if(!D)return!1;var x=D.length;if(x<9||D.charCodeAt(x-1)!==95||D.charCodeAt(x-2)!==95||D.charCodeAt(x-3)!==111||D.charCodeAt(x-4)!==116||D.charCodeAt(x-5)!==111||D.charCodeAt(x-6)!==114||D.charCodeAt(x-7)!==112||D.charCodeAt(x-8)!==95||D.charCodeAt(x-9)!==95)return!1;for(var P=x-10;P>=0;P--)if(D.charCodeAt(P)!==36)return!1;return!0}function C(D,x,P){var G=I(D.source,x.source);return G!==0||(G=D.originalLine-x.originalLine,G!==0)||(G=D.originalColumn-x.originalColumn,G!==0||P)||(G=D.generatedColumn-x.generatedColumn,G!==0)||(G=D.generatedLine-x.generatedLine,G!==0)?G:I(D.name,x.name)}t.compareByOriginalPositions=C;function T(D,x,P){var G=D.generatedLine-x.generatedLine;return G!==0||(G=D.generatedColumn-x.generatedColumn,G!==0||P)||(G=I(D.source,x.source),G!==0)||(G=D.originalLine-x.originalLine,G!==0)||(G=D.originalColumn-x.originalColumn,G!==0)?G:I(D.name,x.name)}t.compareByGeneratedPositionsDeflated=T;function I(D,x){return D===x?0:D===null?1:x===null?-1:D>x?1:-1}function E(D,x){var P=D.generatedLine-x.generatedLine;return P!==0||(P=D.generatedColumn-x.generatedColumn,P!==0)||(P=I(D.source,x.source),P!==0)||(P=D.originalLine-x.originalLine,P!==0)||(P=D.originalColumn-x.originalColumn,P!==0)?P:I(D.name,x.name)}t.compareByGeneratedPositionsInflated=E;function F(D){return JSON.parse(D.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=F;function O(D,x,P){if(x=x||"",D&&(D[D.length-1]!=="/"&&x[0]!=="/"&&(D+="/"),x=D+x),P){var G=u(P);if(!G)throw new Error("sourceMapURL could not be parsed");if(G.path){var M=G.path.lastIndexOf("/");M>=0&&(G.path=G.path.substring(0,M+1))}x=v(d(G),x)}return g(x)}t.computeSourceURL=O})(util$5);var arraySet={},util$4=util$5,has$4=Object.prototype.hasOwnProperty,hasNativeMap=typeof Map!="undefined";function ArraySet$2(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet$2.fromArray=function t(r,o){for(var a=new ArraySet$2,u=0,d=r.length;u=0)return o}else{var a=util$4.toSetString(r);if(has$4.call(this._set,a))return this._set[a]}throw new Error('"'+r+'" is not in the set.')};ArraySet$2.prototype.at=function t(r){if(r>=0&&ro||a==o&&d>=u||util$3.compareByGeneratedPositionsInflated(t,r)<=0}function MappingList$1(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList$1.prototype.unsortedForEach=function t(r,o){this._array.forEach(r,o)};MappingList$1.prototype.add=function t(r){generatedPositionAfter(this._last,r)?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))};MappingList$1.prototype.toArray=function t(){return this._sorted||(this._array.sort(util$3.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};mappingList.MappingList=MappingList$1;var base64VLQ$1=base64Vlq,util$2=util$5,ArraySet$1=arraySet.ArraySet,MappingList=mappingList.MappingList;function SourceMapGenerator$1(t){t||(t={}),this._file=util$2.getArg(t,"file",null),this._sourceRoot=util$2.getArg(t,"sourceRoot",null),this._skipValidation=util$2.getArg(t,"skipValidation",!1),this._sources=new ArraySet$1,this._names=new ArraySet$1,this._mappings=new MappingList,this._sourcesContents=null}SourceMapGenerator$1.prototype._version=3;SourceMapGenerator$1.fromSourceMap=function t(r){var o=r.sourceRoot,a=new SourceMapGenerator$1({file:r.file,sourceRoot:o});return r.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,o!=null&&(d.source=util$2.relative(o,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),a.addMapping(d)}),r.sources.forEach(function(u){var d=u;o!==null&&(d=util$2.relative(o,u)),a._sources.has(d)||a._sources.add(d);var g=r.sourceContentFor(u);g!=null&&a.setSourceContent(u,g)}),a};SourceMapGenerator$1.prototype.addMapping=function t(r){var o=util$2.getArg(r,"generated"),a=util$2.getArg(r,"original",null),u=util$2.getArg(r,"source",null),d=util$2.getArg(r,"name",null);this._skipValidation||this._validateMapping(o,a,u,d),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:o.line,generatedColumn:o.column,originalLine:a!=null&&a.line,originalColumn:a!=null&&a.column,source:u,name:d})};SourceMapGenerator$1.prototype.setSourceContent=function t(r,o){var a=r;this._sourceRoot!=null&&(a=util$2.relative(this._sourceRoot,a)),o!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[util$2.toSetString(a)]=o):this._sourcesContents&&(delete this._sourcesContents[util$2.toSetString(a)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};SourceMapGenerator$1.prototype.applySourceMap=function t(r,o,a){var u=o;if(o==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=r.file}var d=this._sourceRoot;d!=null&&(u=util$2.relative(d,u));var g=new ArraySet$1,v=new ArraySet$1;this._mappings.unsortedForEach(function(y){if(y.source===u&&y.originalLine!=null){var A=r.originalPositionFor({line:y.originalLine,column:y.originalColumn});A.source!=null&&(y.source=A.source,a!=null&&(y.source=util$2.join(a,y.source)),d!=null&&(y.source=util$2.relative(d,y.source)),y.originalLine=A.line,y.originalColumn=A.column,A.name!=null&&(y.name=A.name))}var b=y.source;b!=null&&!g.has(b)&&g.add(b);var _=y.name;_!=null&&!v.has(_)&&v.add(_)},this),this._sources=g,this._names=v,r.sources.forEach(function(y){var A=r.sourceContentFor(y);A!=null&&(a!=null&&(y=util$2.join(a,y)),d!=null&&(y=util$2.relative(d,y)),this.setSourceContent(y,A))},this)};SourceMapGenerator$1.prototype._validateMapping=function t(r,o,a,u){if(o&&typeof o.line!="number"&&typeof o.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!o&&!a&&!u)){if(r&&"line"in r&&"column"in r&&o&&"line"in o&&"column"in o&&r.line>0&&r.column>=0&&o.line>0&&o.column>=0&&a)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:r,source:a,original:o,name:u}))}};SourceMapGenerator$1.prototype._serializeMappings=function t(){for(var r=0,o=1,a=0,u=0,d=0,g=0,v="",y,A,b,_,w=this._mappings.toArray(),S=0,C=w.length;S0){if(!util$2.compareByGeneratedPositionsInflated(A,w[S-1]))continue;y+=","}y+=base64VLQ$1.encode(A.generatedColumn-r),r=A.generatedColumn,A.source!=null&&(_=this._sources.indexOf(A.source),y+=base64VLQ$1.encode(_-g),g=_,y+=base64VLQ$1.encode(A.originalLine-1-u),u=A.originalLine-1,y+=base64VLQ$1.encode(A.originalColumn-a),a=A.originalColumn,A.name!=null&&(b=this._names.indexOf(A.name),y+=base64VLQ$1.encode(b-d),d=b)),v+=y}return v};SourceMapGenerator$1.prototype._generateSourcesContent=function t(r,o){return r.map(function(a){if(!this._sourcesContents)return null;o!=null&&(a=util$2.relative(o,a));var u=util$2.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)};SourceMapGenerator$1.prototype.toJSON=function t(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r};SourceMapGenerator$1.prototype.toString=function t(){return JSON.stringify(this.toJSON())};sourceMapGenerator.SourceMapGenerator=SourceMapGenerator$1;var sourceMapConsumer={},binarySearch$1={};(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function r(o,a,u,d,g,v){var y=Math.floor((a-o)/2)+o,A=g(u,d[y],!0);return A===0?y:A>0?a-y>1?r(y,a,u,d,g,v):v==t.LEAST_UPPER_BOUND?a1?r(o,y,u,d,g,v):v==t.LEAST_UPPER_BOUND?y:o<0?-1:o}t.search=function(a,u,d,g){if(u.length===0)return-1;var v=r(-1,u.length,a,u,d,g||t.GREATEST_LOWER_BOUND);if(v<0)return-1;for(;v-1>=0&&d(u[v],u[v-1],!0)===0;)--v;return v}})(binarySearch$1);var quickSort$1={};function swap(t,r,o){var a=t[r];t[r]=t[o],t[o]=a}function randomIntInRange(t,r){return Math.round(t+Math.random()*(r-t))}function doQuickSort(t,r,o,a){if(o=0){var g=this._originalMappings[d];if(r.column===void 0)for(var v=g.originalLine;g&&g.originalLine===v;)u.push({line:util$1.getArg(g,"generatedLine",null),column:util$1.getArg(g,"generatedColumn",null),lastColumn:util$1.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++d];else for(var y=g.originalColumn;g&&g.originalLine===o&&g.originalColumn==y;)u.push({line:util$1.getArg(g,"generatedLine",null),column:util$1.getArg(g,"generatedColumn",null),lastColumn:util$1.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++d]}return u};sourceMapConsumer.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(t,r){var o=t;typeof t=="string"&&(o=util$1.parseSourceMapInput(t));var a=util$1.getArg(o,"version"),u=util$1.getArg(o,"sources"),d=util$1.getArg(o,"names",[]),g=util$1.getArg(o,"sourceRoot",null),v=util$1.getArg(o,"sourcesContent",null),y=util$1.getArg(o,"mappings"),A=util$1.getArg(o,"file",null);if(a!=this._version)throw new Error("Unsupported version: "+a);g&&(g=util$1.normalize(g)),u=u.map(String).map(util$1.normalize).map(function(b){return g&&util$1.isAbsolute(g)&&util$1.isAbsolute(b)?util$1.relative(g,b):b}),this._names=ArraySet.fromArray(d.map(String),!0),this._sources=ArraySet.fromArray(u,!0),this._absoluteSources=this._sources.toArray().map(function(b){return util$1.computeSourceURL(g,b,r)}),this.sourceRoot=g,this.sourcesContent=v,this._mappings=y,this._sourceMapURL=r,this.file=A}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(t){var r=t;if(this.sourceRoot!=null&&(r=util$1.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);var o;for(o=0;o1&&(T.source=v+E[1],v+=E[1],T.originalLine=d+E[2],d=T.originalLine,T.originalLine+=1,T.originalColumn=g+E[3],g=T.originalColumn,E.length>4&&(T.name=y+E[4],y+=E[4])),C.push(T),typeof T.originalLine=="number"&&S.push(T)}quickSort(C,util$1.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,quickSort(S,util$1.compareByOriginalPositions),this.__originalMappings=S};BasicSourceMapConsumer.prototype._findMapping=function t(r,o,a,u,d,g){if(r[a]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+r[a]);if(r[u]<0)throw new TypeError("Column must be greater than or equal to 0, got "+r[u]);return binarySearch.search(r,o,d,g)};BasicSourceMapConsumer.prototype.computeColumnSpans=function t(){for(var r=0;r=0){var u=this._generatedMappings[a];if(u.generatedLine===o.generatedLine){var d=util$1.getArg(u,"source",null);d!==null&&(d=this._sources.at(d),d=util$1.computeSourceURL(this.sourceRoot,d,this._sourceMapURL));var g=util$1.getArg(u,"name",null);return g!==null&&(g=this._names.at(g)),{source:d,line:util$1.getArg(u,"originalLine",null),column:util$1.getArg(u,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function t(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(r){return r==null}):!1};BasicSourceMapConsumer.prototype.sourceContentFor=function t(r,o){if(!this.sourcesContent)return null;var a=this._findSourceIndex(r);if(a>=0)return this.sourcesContent[a];var u=r;this.sourceRoot!=null&&(u=util$1.relative(this.sourceRoot,u));var d;if(this.sourceRoot!=null&&(d=util$1.urlParse(this.sourceRoot))){var g=u.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!d.path||d.path=="/")&&this._sources.has("/"+u))return this.sourcesContent[this._sources.indexOf("/"+u)]}if(o)return null;throw new Error('"'+u+'" is not in the SourceMap.')};BasicSourceMapConsumer.prototype.generatedPositionFor=function t(r){var o=util$1.getArg(r,"source");if(o=this._findSourceIndex(o),o<0)return{line:null,column:null,lastColumn:null};var a={source:o,originalLine:util$1.getArg(r,"line"),originalColumn:util$1.getArg(r,"column")},u=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",util$1.compareByOriginalPositions,util$1.getArg(r,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(u>=0){var d=this._originalMappings[u];if(d.source===a.source)return{line:util$1.getArg(d,"generatedLine",null),column:util$1.getArg(d,"generatedColumn",null),lastColumn:util$1.getArg(d,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};sourceMapConsumer.BasicSourceMapConsumer=BasicSourceMapConsumer;function IndexedSourceMapConsumer(t,r){var o=t;typeof t=="string"&&(o=util$1.parseSourceMapInput(t));var a=util$1.getArg(o,"version"),u=util$1.getArg(o,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new ArraySet,this._names=new ArraySet;var d={line:-1,column:0};this._sections=u.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var v=util$1.getArg(g,"offset"),y=util$1.getArg(v,"line"),A=util$1.getArg(v,"column");if(y=0;o--)this.prepend(r[o]);else if(r[isSourceNode]||typeof r=="string")this.children.unshift(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};SourceNode.prototype.walk=function t(r){for(var o,a=0,u=this.children.length;a0){for(o=[],a=0;a{}}},setup(t){const r=ref({}),o=computed(()=>{const g=Object.values(r.value),v=g.filter(A=>A===!0),y=g.filter(A=>A===!1);return g.length===v.length?!0:g.length===y.length?!1:null}),a=(g,v,y,A)=>{if(g)return;const b=t.devices[v.id+":"+y]||{},_=A&&A.val!==void 0?A.val:null;if(b&&b.useInGroup!==!1){let{on:w,off:S}=A&&A.properties||{};w=w!==void 0?w:!0,r.value[v.id+"-"+A.stateKey]=_!==null?_.toString()===w.toString()||typeof _=="number"&&_>0:S}},u=(g,v,y=!0,A=!1)=>{for(const b in t.devices){const _=t.devices[b],w=Devices.getDevice(_.deviceId);w.states[_.primaryStateKey.toLowerCase()]&&w.states[_.primaryStateKey.toLowerCase()].properties,_.useInGroup!==!1&&Devices.set(w.id,_.primaryStateKey,y,A)}};let d=[];if(t.deviceConfig.actions)for(const g in t.devices){const v=t.devices[g]||{};v.primaryStateKey&&(d=d.concat(Devices.listen(v.deviceId,v.primaryStateKey,a)))}return onBeforeUnmount(()=>Devices.unlisten(d)),{components:Functions.Components._all.action,groupDevicesStates:r,groupState:o,setDevice:u}}}),_hoisted_1$y={key:0};function _sfc_render$L(t,r,o,a,u,d){return openBlock(),createBlock(QItem,{dense:"",class:"jarvis-StateListGroup"},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{overline:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.deviceConfig.name),1)]),_:1})]),_:1}),t.deviceConfig.actions===!0?(openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[t.deviceConfig.groupElement?(openBlock(),createElementBlock("div",_hoisted_1$y,[(openBlock(),createBlock(resolveDynamicComponent(t.components[t.deviceConfig.groupElement]),mergeProps(t.$props,{device:{id:"group"},"state-key":"group",state:{config:{display:{false:"off",true:"on"}},properties:{},stateStyle:{},val:t.groupState},onSetDevice:t.setDevice}),null,16,["state","onSetDevice"]))])):createCommentVNode("",!0)]),_:1})):createCommentVNode("",!0)]),_:1})}var StateListGroup=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$L]]),StateListGroup$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateListGroup},Symbol.toStringTag,{value:"Module"})),StateListItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$K=defineComponent({name:"ModuleStateListItem",props:{widget:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>{}},moduleConfig:{type:Object,default:()=>{}},primaryState:{type:Object,default:()=>{}},bodyState:{type:Object,default:()=>{}},openDeviceDetails:{type:Boolean,default:!0},isPopup:{type:Boolean,default:!1},isFirstItem:{type:Boolean,default:!1},error:{type:String,default:""}},setup(props){const $q=useQuasar(),jarvis=useJarvis(),device=ref(Devices.getDevice(props.deviceConfig.deviceId));watch(()=>jarvis.watch.devices,()=>{device.value=Devices.getDevice(props.deviceConfig.deviceId)});const bodyStyle=computed(()=>{let t=props.primaryState&&props.primaryState.bodyStyle;if(t&&typeof t=="string"&&t.indexOf("{")!==-1&&t.indexOf("}")!==-1)try{t=JSON.parse(t)}catch(r){console.warn("StateList","Style incorrect",t,r.message||r)}return t}),shallBeShown=computed(()=>{if(Pro.isPro()&&props.moduleConfig.filter)try{const filter=props.moduleConfig.filter.startsWith('"')&&props.moduleConfig.filter.endsWith('"')?props.moduleConfig.filter.substr(1,props.moduleConfig.filter.length-2):props.moduleConfig.filter;return eval(filter)(props.primaryState.value,props.primaryState.val,props.primaryState,device.value,props.deviceConfig,props.widget)}catch(t){console.warn("StateList","Filter incorrect",props.moduleConfig.filter,t.message||t),$q.notify({type:"negative",icon:"mdi-alert",message:"StateList: Filter incorrect ("+t.message+")"})}else!Pro.isPro()&&props.moduleConfig.filter&&Pro.warn("StateList: Filter is only available to Pro!");return!bodyStyle.value||!bodyStyle.value.display||bodyStyle.value.display&&!bodyStyle.value.display.startsWith("none")}),getComponent=(t,r,o)=>{const a=t&&Functions.Configurations[device.value.function]&&Functions.Configurations[device.value.function][t.toLowerCase()]||{},u=props.deviceConfig[r+"Element"]||props.isPopup===!1&&o||props.isPopup===!0&&a[r+"Element"]||null;return Functions.Components[device.value.function]&&Functions.Components[device.value.function][r]&&Functions.Components[device.value.function][r][u]||Functions.Components._defaults&&Functions.Components._defaults[r]&&Functions.Components._defaults[r][u]||Functions.Components._defaults&&Functions.Components._defaults[r]&&Functions.Components._defaults[r][t]||null},onDevice=()=>{props.openDeviceDetails!==!1&&device.value.options&&device.value.options.suppressPopup!==!0&&jarvis.set({selectedDeviceId:device.value.id})};return{shallBeShown,bodyStyle,getComponent,device,onDevice,setDevice:Devices.set}}}),_hoisted_1$x={key:0,class:"jarvis-StateListItem-Action-primaryStateKey"},_hoisted_2$o={class:"jarvis-StateListItem-Action-secondaryStatesKeys"};function _sfc_render$K(t,r,o,a,u,d){const g=resolveComponent("icon");return withDirectives((openBlock(),createBlock(QItem,{key:t.device.id+"-"+t.device.revision+"-"+(t.isPopup!==void 0?"v":"x"),clickable:t.openDeviceDetails!==!1&&t.device.options&&t.device.options.suppressPopup!==!0,"v-ripple":t.openDeviceDetails!==!1&&t.device.options&&t.device.options.suppressPopup!==!0,class:normalizeClass(["jarvis-StateListItem",{"jarvis-StateListItem-Popup":t.isPopup,"jarvis-StateListItem-Separator":!t.isFirstItem&&t.isPopup}]),style:normalizeStyle$1(t.bodyStyle),onClick:t.onDevice},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"jarvis-StateListItem-Icon"},{default:withCtx(()=>[t.error?(openBlock(),createBlock(g,{key:1,name:"mdi:alert",color:"warning",tooltip:t.error},null,8,["tooltip"])):(openBlock(),createBlock(g,{key:0,styles:(t.primaryState.icon?t.primaryState.iconStyle:t.bodyState.iconStyle)||{},name:t.primaryState.icon||t.bodyState.icon||t.device.icon||t.device.functionIcon,color:"primary"},null,8,["styles","name"]))]),_:1}),createVNode$1(QItemSection,{class:"jarvis-StateListItem-Body"},{default:withCtx(()=>[t.bodyState.label?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("Title","components")),{key:0,"state-key":t.deviceConfig.bodyStateKey,state:t.bodyState,device:t.device,"device-config":t.deviceConfig,"is-popup":t.isPopup},null,8,["state-key","state","device","device-config","is-popup"])):(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("Title","components")),{key:1,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig,"is-popup":t.isPopup},null,8,["state-key","state","device","device-config","is-popup"])),t.deviceConfig.bodyStateKey&&t.deviceConfig.bodyElement!==null?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.deviceConfig.bodyStateKey,"body",t.bodyState.bodyElement)),{key:2,"state-key":t.deviceConfig.bodyStateKey,state:t.bodyState,device:t.device,"device-config":t.deviceConfig.bodyElement===void 0?t.bodyState.config:t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)]),_:1}),createVNode$1(QItemSection,{side:"",class:"jarvis-StateListItem-Action",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[t.deviceConfig.primaryStateKey?(openBlock(),createElementBlock("div",_hoisted_1$x,[t.deviceConfig.showState!==!1?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("State","components")),{key:0,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig},null,8,["state-key","state","device","device-config"])):createCommentVNode("",!0),t.deviceConfig.actionElement!==null?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.deviceConfig.primaryStateKey,"action",t.primaryState.actionElement)),{key:1,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig.actionElement===void 0?t.primaryState.config:t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$o,[t.deviceConfig.secondaryStatesKeys?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("SecondaryStates","components")),{key:0,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)])]),_:1})]),_:1},8,["clickable","v-ripple","class","style","onClick"])),[[vShow,t.shallBeShown]])}var StateListItem=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$K],["__scopeId","data-v-51b46c8c"]]),StateListItem$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateListItem},Symbol.toStringTag,{value:"Module"})),StateList_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$J=defineComponent({name:"ModuleStateList",components:{StateListGroup,StateListItem},props:{widget:{type:Object,required:!0},widgetSize:{type:Object,default:null},isPopup:{type:Boolean,default:!1},openDeviceDetails:{type:Boolean,default:!0}},setup(t){const r=useJarvis(),o=computed(()=>t.widget.config),a=computed(()=>({...Modules.joinConfig(o.value,ConfigFile$2)})),u=ref({});ref(null);const d=ref({}),g=[],v=(C,T,I,E)=>{if(g.includes(T.id+":"+I)||g.push(T.id+":"+I),C||!E)return d.value[T.id+":"+I]=C&&C.message||C||"State is empty",console.warn("StateList",t.widget.id,T.name,I,E,d.value[T.id+":"+I]),d.value[T.id+":"+I];u.value[T.id+":"+I]={...E},Object.keys(u.value).length,g.length};let y=ref(null),A=ref({}),b={},_=null,w={},S=[];return watch([()=>r.watch.devices,()=>t.widget.items],()=>{b={},_=null,w={};let C=_default(t.widget.items),T=0;for(;TG.states[I.primaryStateKey]!==void 0?!0:(console.warn("StateList",t.widget.id,G.name,"Hidden because state key "+I.primaryStateKey+" not available!"),!1)),P.sort((G,M)=>{let N=(G.label||G.name).toLowerCase(),V=(M.label||M.name).toLowerCase();return N===V?0:!I.sortDirection||I.sortDirection==="ascending"?N>V?1:-1:N>V?-1:1}),I.sortBy&&P.sort((G,M)=>{let N=(G.label||G.name).toLowerCase(),V=(M.label||M.name).toLowerCase(),Y=0;return I.sortBy==="name"?(N=G.name.toLowerCase(),V=M.name.toLowerCase(),Y=N.localeCompare(V)):I.sortBy==="options"?(N=parseInt(G.options.sortBy)||99999,V=parseInt(M.options.sortBy)||99999,Y=N===V?0:N>V?1:-1):Pro.isPro()&&(I.sortBy==="val"||I.sortBy==="value")&&(N=u.value[G.id+":"+I.primaryStateKey]&&u.value[G.id+":"+I.primaryStateKey][I.sortBy],V=u.value[M.id+":"+I.primaryStateKey]&&u.value[M.id+":"+I.primaryStateKey][I.sortBy],typeof N=="number"&&typeof V=="number"?Y=N>V?1:-1:typeof N=="number"?Y=-1:typeof V=="number"?Y=1:typeof N=="boolean"&&typeof V=="boolean"?Y=N>V?1:-1:typeof N=="boolean"?Y=-1:typeof V=="boolean"?Y=1:typeof N=="string"&&typeof V=="string"&&(Y=N.localeCompare(V))),!I.sortDirection||I.sortDirection==="ascending"?Y:-1*Y}),P.forEach((G,M)=>{C.splice(T+M,0,{...x,id:uuidv5(G.id+":"+G.revision+":"+I.primaryStateKey,"c15a93c5-afb6-4179-800d-6ecaa313df21"),type:"device",deviceId:G.id})})}if(I.type==="device")if(Devices.get(I.deviceId)||console.warn("StateList","Device with ID "+I.deviceId+" not found!"),!I.primaryStateKey&&!I.bodyStateKey)console.warn("StateList","Device with ID "+I.deviceId+" has no primary or body state key set!");else{b["device-"+I.id]=I;const E=I;_!==null&&w[_]!==void 0&&(w[_][I.deviceId+":"+E.primaryStateKey]=I),E.primaryStateKey&&u.value[I.deviceId+":"+E.primaryStateKey]===void 0&&(u.value[I.deviceId+":"+E.primaryStateKey]=u.value[I.deviceId+":"+E.primaryStateKey]||{},S=S.concat(Devices.listen(I.deviceId,E.primaryStateKey,v))),E.bodyStateKey&&u.value[I.deviceId+":"+E.bodyStateKey]===void 0&&(u.value[I.deviceId+":"+E.bodyStateKey]=u.value[I.deviceId+":"+E.bodyStateKey]||{},S=S.concat(Devices.listen(I.deviceId,E.bodyStateKey,v)))}else b["item-"+I.id]=I}A.value=Object.values(b),y.value=t.widget.revision+"-"+r.watch.devices},{immediate:!0}),onBeforeUnmount(()=>Devices.unlisten(S)),{revision:y,entries:A,groups:w,moduleConfig:a,states:u,errors:d}}});function _sfc_render$J(t,r,o,a,u,d){const g=resolveComponent("state-list-group"),v=resolveComponent("state-list-item");return openBlock(),createBlock(QList,{dense:t.moduleConfig.dense,class:normalizeClass(["jarvis-StateList",{horizontal:t.moduleConfig.horizontal,stacked:t.moduleConfig.stacked}]),style:normalizeStyle$1({"max-height":t.widgetSize&&t.widgetSize.maxHeight})},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.entries,(y,A)=>(openBlock(),createElementBlock(Fragment,{key:"rev-"+t.revision+"-item-"+y.id},[y.type==="group"?(openBlock(),createBlock(g,{key:0,devices:t.groups[y.id],"device-config":y,"module-config":t.moduleConfig},null,8,["devices","device-config","module-config"])):y.type==="device"?(openBlock(),createBlock(v,{key:"state-list-item-"+y.id,"is-first-item":A===0,widget:t.widget,"device-config":y,"module-config":t.moduleConfig,"primary-state":y.primaryStateKey?t.states[y.deviceId+":"+y.primaryStateKey]:{},"body-state":y.bodyStateKey?t.states[y.deviceId+":"+y.bodyStateKey]:{},"is-popup":t.isPopup,"open-device-details":t.openDeviceDetails,error:y.bodyStateKey?t.errors[y.deviceId+":"+y.bodyStateKey]:void 0},null,8,["is-first-item","widget","device-config","module-config","primary-state","body-state","is-popup","open-device-details","error"])):y.type==="divider"?(openBlock(),createBlock(QSeparator,{key:2,class:"jarvis-StateListSeparator"})):createCommentVNode("",!0)],64))),128))]),_:1},8,["dense","class","style"])}var StateList=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J],["__scopeId","data-v-9b38fae8"]]),StateList$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateList},Symbol.toStringTag,{value:"Module"}));const _sfc_main$I=defineComponent({name:"DeviceDetailsPopup",components:{StateList},setup(){const t=useJarvis(),r=computed(()=>t.selectedDevice),o=computed(()=>{const u=[];for(const d in r.value.states){const g=r.value.states[d];if(g.hide===!0||g.state===void 0&&g.action===void 0)continue;const{label:v,...y}=g;u.push({id:uuidv5(r.value.id+":"+d,config$n.get("UUID")),type:"device",deviceId:r.value.id,bodyStateKey:d,primaryStateKey:d,...y,deviceStateDetails:!0})}return{items:u}});return{onClose:()=>t.set("selectedDeviceId",null),device:r,widget:o}}}),_hoisted_1$w={class:"text-h6"};function _sfc_render$I(t,r,o,a,u,d){const g=resolveComponent("state-list");return openBlock(),createBlock(QDialog,{"model-value":!!t.device.id,class:normalizeClass({"jarvis-popup-container":!0,["jarvis-device-"+t.device.id]:!0}),onHide:t.onClose},{default:withCtx(()=>[createVNode$1(QCard,{class:"column jarvis-popup",style:{width:"800px","max-width":"95vw","flex-wrap":"nowrap"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$w,toDisplayString$1(t.device.label||t.device.name),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body",style:{"overflow-x":"hidden"}},{default:withCtx(()=>[createVNode$1(g,{"open-device-details":!1,widget:t.widget,"is-popup":""},null,8,["widget"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Close"),color:"primary",onClick:t.onClose},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value","class","onHide"])}var DeviceDetailsPopup=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$I]]);const usePageStickyProps={position:{type:String,default:"bottom-right",validator:t=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)},offset:{type:Array,validator:t=>t.length===2},expand:Boolean};function usePageSticky(){const{props:t,proxy:{$q:r}}=getCurrentInstance(),o=inject(layoutKey,emptyRenderFn);if(o===emptyRenderFn)return console.error("QPageSticky needs to be child of QLayout"),emptyRenderFn;const a=computed(()=>{const _=t.position;return{top:_.indexOf("top")!==-1,right:_.indexOf("right")!==-1,bottom:_.indexOf("bottom")!==-1,left:_.indexOf("left")!==-1,vertical:_==="top"||_==="bottom",horizontal:_==="left"||_==="right"}}),u=computed(()=>o.header.offset),d=computed(()=>o.right.offset),g=computed(()=>o.footer.offset),v=computed(()=>o.left.offset),y=computed(()=>{let _=0,w=0;const S=a.value,C=r.lang.rtl===!0?-1:1;S.top===!0&&u.value!==0?w=`${u.value}px`:S.bottom===!0&&g.value!==0&&(w=`${-g.value}px`),S.left===!0&&v.value!==0?_=`${C*v.value}px`:S.right===!0&&d.value!==0&&(_=`${-C*d.value}px`);const T={transform:`translate(${_}, ${w})`};return t.offset&&(T.margin=`${t.offset[1]}px ${t.offset[0]}px`),S.vertical===!0?(v.value!==0&&(T[r.lang.rtl===!0?"right":"left"]=`${v.value}px`),d.value!==0&&(T[r.lang.rtl===!0?"left":"right"]=`${d.value}px`)):S.horizontal===!0&&(u.value!==0&&(T.top=`${u.value}px`),g.value!==0&&(T.bottom=`${g.value}px`)),T}),A=computed(()=>`q-page-sticky row flex-center fixed-${t.position} q-page-sticky--${t.expand===!0?"expand":"shrink"}`);function b(_){const w=hSlot(_.default);return h("div",{class:A.value,style:y.value},t.expand===!0?w:[h("div",w)])}return{$layout:o,getStickyContent:b}}var QPageSticky=createComponent({name:"QPageSticky",props:usePageStickyProps,setup(t,{slots:r}){const{getStickyContent:o}=usePageSticky();return()=>o(r)}});function useFab(){const t=ref([18,18]),r=ref(!1);return{fabPos:t,draggingFab:r,moveFab:o=>{r.value=o.isFirst!==!0&&o.isFinal!==!0,t.value=[t.value[0]-o.delta.x,t.value[1]-o.delta.y]}}}function useJumper(){const t=useQuasar(),r=ref(!1);return{jumperIsOpen:r,jumperOpen:(a,u={})=>{const d=_default(a);r.value=!0;const g=d.map(v=>new Promise(y=>{const A=v.bodyStyle||"",b=(S,C)=>{v.icon=icon$n(C.icon||"mdi-file").replace("mdi:","mdi-"),y(v)},_=(S,C={})=>(v.style=C.bodyStyle,v.icon&&typeof v.icon=="object"?States.subscribe({config:{icon:v.icon}},b):v.icon?b({icon:v.icon}):y(v));States.subscribe({config:{bodyStyle:A}},_).length===0&&_()}));Promise.allSettled(g).then(v=>{const y=[];v.forEach(A=>{A.status==="fulfilled"&&y.push(A.value)}),t.bottomSheet({...u,actions:y}).onOk(A=>u.onSuccess&&u.onSuccess(A)).onCancel(()=>u.onCancel&&u.onCancel()).onDismiss(()=>{r.value=!1})})}}}const alignValues=["top","middle","bottom"];var QBadge=createComponent({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:t=>alignValues.includes(t)}},setup(t,{slots:r}){const o=computed(()=>t.align!==void 0?{verticalAlign:t.align}:null),a=computed(()=>{const u=t.outline===!0&&t.color||t.textColor;return`q-badge flex inline items-center no-wrap q-badge--${t.multiLine===!0?"multi":"single"}-line`+(t.outline===!0?" q-badge--outline":t.color!==void 0?` bg-${t.color}`:"")+(u!==void 0?` text-${u}`:"")+(t.floating===!0?" q-badge--floating":"")+(t.rounded===!0?" q-badge--rounded":"")+(t.transparent===!0?" q-badge--transparent":"")});return()=>h("div",{class:a.value,style:o.value,role:"status","aria-label":t.label},hMergeSlot(r.default,t.label!==void 0?[t.label]:[]))}}),Tabs_vue_vue_type_style_index_0_lang="";const _sfc_main$H=defineComponent({name:"Tabs",props:{pageId:{type:String,required:!0},options:{type:Object,default:()=>{}}},setup(t){const r=useQuasar(),o=useJarvis(),a=useNotifications(),u=Pro.isPro(),d=ref([]),g=(D,x)=>{const P=d.value.findIndex(G=>G.id===x.id);d.value[P]={...x}};watch(()=>o.watch.layout,()=>{const D=Cache$1.get("layout",[]).find(x=>x.id===t.pageId);d.value=_default(D.tabs);for(const x of d.value)x.config=_default(x),States.subscribe(x,g)},{immediate:!0});const v=computed(()=>o.drawerMiniMode),y=computed(()=>Cache$1.get("settings",{})),A=computed({get(){return o.getSelectedTabId},set(D){D&&o.set({selectedTabId:D})}}),b=ref([]),_=ref(!1),w=ref(!1),S=()=>{w.value=!r.platform.is.mobile},C=reactive([]),T=(D,x)=>{C[D]=x},I=D=>{const x=D&&D.width||r.screen.width;_.value=!1,b.value=[],C&&C.length&&y.value.tabsCollapse!==!1&&!r.platform.is.cordova&&!r.platform.is.capacitor?C.forEach((P,G)=>{if(P){const M=P.$el;M.style.display="inherit",(M.offsetLeft+M.offsetWidth+220>x||_.value===!0)&&(M.style.display="none",_.value=!0,b.value.push(d.value[G]))}}):C&&C.length&&y.value.tabsCollapse===!1&&C.forEach(P=>{if(P){const G=P.$el;G.style.display="inherit"}})};watch(()=>y.value.tabsCollapse,I);const E=D=>o.set("drawerSidebar",D),F=computed(()=>a.getUnread.length);return{setRef:T,elTabs:C,tabsWithResolvedBindings:d,selectedTabId:A,tabsHiddenDropdownEnabled:_,tabsHiddenDropdown:w,tabsHiddenShow:S,tabsHidden:b,toggleNotifications:D=>o.set("drawerNotifications",D),toggleSidebar:E,notificationsUnread:F,drawerMiniMode:v,settings:y,isPro:u,isMobile:r.platform.is.mobile===!0,onResize:I}}}),_hoisted_1$v={class:"row nowrap",style:{margin:"2px 0"}},_hoisted_2$n={key:0,class:"q-tab__label"},_hoisted_3$i={class:"q-tab__label"};function _sfc_render$H(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QTabs,{id:"tabBar",modelValue:t.selectedTabId,"onUpdate:modelValue":r[4]||(r[4]=v=>t.selectedTabId=v),"inline-label":"",dense:"",align:"left",style:normalizeStyle$1({"padding-left":(t.drawerMiniMode!==!0?0:5)+"px","padding-right":"48px"}),class:normalizeClass({"jarvis-tabs-container":!0,"jarvis-tabs-bottom":t.settings.tabsBottom===!0}),"content-class":"jarvis-tabs","indicator-color":"white"},{default:withCtx(()=>[createVNode$1(QResizeObserver,{onResize:t.onResize},null,8,["onResize"]),t.settings.drawerShowMenuButton!==!1?(openBlock(),createBlock(QBtn,{key:0,flat:"",dense:"",round:"",icon:"mdi-menu","aria-label":"Menu",class:normalizeClass(["q-ml-sm",{"lt-md":t.drawerMiniMode===!0}]),onClick:r[0]||(r[0]=v=>t.toggleSidebar(!0))},null,8,["class"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_1$v,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabsWithResolvedBindings,(v,y)=>(openBlock(),createBlock(QRouteTab,{key:v.id+"-"+v.revision,ref_for:!0,ref:A=>t.setRef(y,A),name:v.id,to:{params:{tabId:v.id}},style:normalizeStyle$1(t.isPro&&v.id===t.selectedTabId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{}),class:normalizeClass(["jarvis-tab",["jarvis-tab-"+v.id,t.isPro&&v.id===t.selectedTabId&&v.bodySelectedStyle&&v.bodySelectedStyle.display&&v.bodySelectedStyle.display.startsWith("none")?"hidden":"",t.isPro&&v.bodyStyle&&v.bodyStyle.display&&v.bodyStyle.display.startsWith("none")?"hidden":""]]),"content-class":t.settings.tabsDense?"dense":"normal"},{default:withCtx(()=>[withDirectives(createVNode$1(g,{name:v.icon,size:"xs",class:"tabIcon",style:normalizeStyle$1({margin:t.settings.tabsDense?"4px 4px 0 0":"0",...t.isPro&&v.id===t.selectedTabId&&v.iconSelectedStyle||t.isPro&&v.iconStyle||{}})},null,8,["name","style"]),[[vShow,v.icon]]),t.options.hideLabels!==!0?(openBlock(),createElementBlock("div",_hoisted_2$n,toDisplayString$1(v.title),1)):createCommentVNode("",!0)]),_:2},1032,["name","to","style","class","content-class"]))),128)),withDirectives(createVNode$1(QBtnDropdown,{modelValue:t.tabsHiddenDropdown,"onUpdate:modelValue":r[1]||(r[1]=v=>t.tabsHiddenDropdown=v),stretch:"",flat:"",onMouseover:r[2]||(r[2]=v=>t.tabsHiddenDropdown=t.isMobile?t.tabsHiddenDropdown:!0)},{label:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.settings.tabsDense?"dense":"normal")},[createVNode$1(g,{name:"mdi-tab-unselected",size:"xs",class:"tabIcon",style:normalizeStyle$1({margin:t.settings.tabsDense?"1px 5px 0 0":"-1px 0 1px 0"})},null,8,["style"]),createBaseVNode("div",_hoisted_3$i,toDisplayString$1(t.$t("More")+"..."),1)],2)]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabsHidden,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.id,clickable:"",class:normalizeClass({"q-tab--active":v.id===t.selectedTabId}),onClick:y=>t.selectedTabId=v.id},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:v.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),[[ClosePopup]])),128))]),_:1})]),_:1},8,["modelValue"]),[[vShow,t.tabsHiddenDropdownEnabled]])]),withDirectives(createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-bell","aria-label":"Notifications",class:"q-mr-sm notification-drawer-button",onClick:r[3]||(r[3]=v=>t.toggleNotifications(!0))},{default:withCtx(()=>[createVNode$1(QBadge,{color:"secondary",align:"middle",floating:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.notificationsUnread),1)]),_:1})]),_:1},512),[[vShow,t.isPro]])]),_:1},8,["modelValue","style","class"])}var Tabs=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H]]);function useFullscreen(t){const r=ref(),o=ref(!1),a=()=>{o.value=!0;const g=r.value;g.classList.add("isFullscreen"),g.style.overflow="auto";const v=g.querySelector(".jarvis-widget-scaler");v.dataset.height=v.style.height,v.style.height="auto"},u=()=>{o.value=!1;const g=r.value;g.classList.remove("isFullscreen"),g.style.overflow="initial";const v=g.querySelector(".jarvis-widget-scaler");v.style.height=v.dataset.height+"px",document.exitFullscreen?document.exitFullscreen().catch(y=>{}):document.mozCancelFullScreen?document.mozCancelFullScreen().catch(y=>{}):document.webkitCancelFullScreen&&document.webkitCancelFullScreen().catch(y=>{})};return watch(()=>r.value,()=>{r.value.addEventListener("fullscreenchange",()=>{document.fullscreenElement===null&&u()})}),{fullscreenElement:r,fullscreenActive:o,fullscreenToggle:g=>{g=typeof g=="boolean"?g:!o.value,Plugin.toggle(r.value).then(()=>{g===!1?u():a()}).catch(v=>{console.error(v)})}}}var Widget_vue_vue_type_style_index_0_lang="";const _sfc_main$G=defineComponent({name:"Widget",props:{fullscreen:{type:Boolean,default:!1},options:{type:Object,default:()=>{}},widgets:{type:Array,default:()=>[]},config:{type:Object,default:()=>{}},layout:{type:String,default:"desktop"},height:{type:Number,default:300}},setup(t){const r=useQuasar(),o=useRouter(),a=useJarvis(),u=toRef(t,"config")||{},d=computed(()=>{const H=u.value.alignmentHorizontal||"center",B=u.value.alignmentVertical||"top",z=u.value.scaleToFitContents!==void 0?u.value.scaleToFitContents:!0;return{h:H,v:B,fit:z}}),g=computed(()=>d.value.v!=="middle"?{}:{transform:"translateY(-50%)",position:"relative",top:"50%"}),v=computed(()=>[d.value.h==="center"?"50%":d.value.h==="right"?"100%":d.value.h,d.value.v==="middle"?"50%":d.value.v==="bottom"?"100%":d.value.v]),y=ref(null);let A=0;const b=ref(null);let _=0;const w=ref(null),{fullscreenElement:S,fullscreenActive:C,fullscreenToggle:T}=useFullscreen(),I=computed(()=>u.value.allowFullscreen||!1),E=reactive({width:"100%",height:"0px",containerHeight:"100%",maxHeight:"100%",intWidth:0,intHeight:0,intContainerHeight:0}),F=computed(()=>d.value.fit===!1||ScaleExceptions.includes(M.value.module)?{x:1,y:1}:{x:Math.min(1,r.screen.width/12*u.value.w/E.intWidth),y:Math.min(1,E.intContainerHeight/E.intHeight)}),O=computed(()=>C.value===!0?1:F.value.y{const H=t.fullscreen?{height:t.height}:{"-moz-transform":"scale("+O.value+")","-moz-transform-origin":v.value.join(" "),"-webkit-transform":"scale("+O.value+")","-webkit-transform-origin":v.value.join(" "),"-ms-transform":"scale("+O.value+")","-ms-transform-origin":v.value.join(" "),transform:"scale("+O.value+") !important","transform-origin":v.value.join(" ")};return d.value.v==="middle"&&(H.margin="auto"),r.screen.lt.lg||t.layout==="desktop"&&r.platform.is.mobile?{}:H}),x=H=>{var B;if(A=H.height,(B=t.options.widgetConfig)!=null&&B.desktopFitPageHeight){const z=A-_;E.containerHeight=z+"px",E.intContainerHeight=z}},P=H=>{var X;const B=document.querySelector(".jarvis-header");A=y.value&&y.value.$el?y.value.$el.offsetHeight:0,_=b.value&&b.value.$el?b.value.$el.offsetHeight+1:0,w.value&&w.value.$el&&w.value.$el.offsetHeight;let z=H.height&&H.height!==t.height?H.height:t.height-_;z=B&&t.fullscreen?r.screen.height-B.offsetHeight-_:z;const U=t.fullscreen?z:((X=t.options.widgetConfig)!=null&&X.desktopFitPageHeight?A:t.height)-_,Q=t.fullscreen||d.value.fit?void 0:t.height-_;Object.assign(E,{width:H.width+"px",height:z+"px",maxHeight:Q+"px",containerHeight:U+"px",intWidth:H.width,intHeight:z,intContainerHeight:U})};let G=null;window.onresize=()=>{G&&clearTimeout(G),G=setTimeout(()=>P({width:E.intWidth,height:E.intHeight}),100)};const M=ref(null);watch([()=>a.watch.layout,()=>a.watch.widgets],()=>{const H=Cache$1.get("widgets",{}),B=t.widgets&&t.widgets[0];B&&H[B]&&(M.value={options:t.options,...H[B]},P({width:E.intWidth,height:E.intHeight}))},{immediate:!0});const N=()=>{if(M.value.link&&(M.value.link.indexOf("http")>-1||M.value.link.indexOf("www")>-1)){const H=(M.value.link.indexOf("http")===-1?"http://":"")+M.value.link;window.open(H,"_blank")}else M.value.link&&o.push({params:{tabId:M.value.link}}).catch(H=>console.warn(H))},V=ref(!1);return{alignment:d,verticalAlignment:g,scaleStyle:D,containerSize:E,widget:M,widgetContainerElement:y,widgetTitleElement:b,widgetContentElement:w,jump:N,onResize:P,onContainerResize:x,onTapHandler:H=>{if(!V.value)return V.value=!0,setTimeout(()=>{V.value=!1},750),!1;H.preventDefault(),T()},tapped:V,fullscreenEnabled:I,fullscreenElement:S,fullscreenActive:C,fullscreenToggle:T}}});function _sfc_render$G(t,r,o,a,u,d){const g=resolveComponent("icon");return t.widget?(openBlock(),createElementBlock("div",{key:0,ref:"fullscreenElement",class:normalizeClass(["jarvis-widget-container",{["jarvis-widget-container-"+t.widget.id]:!0,tile:t.options.widgetEdges,paper:!t.options.widgetEdges,fullscreenEnabled:t.fullscreenEnabled}])},[t.fullscreenEnabled?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["fullscreener",{tapped:t.tapped,close:t.fullscreenActive}]),onClick:r[0]||(r[0]=(...v)=>t.fullscreenToggle&&t.fullscreenToggle(...v))},null,2)):createCommentVNode("",!0),createVNode$1(QCard,{ref:"widgetContainerElement",flat:"",class:normalizeClass(["jarvis-widget full-width full-height",{["jarvis-widget-module-"+t.widget.module]:!0,["jarvis-widget-"+t.widget.id]:!0}])},{default:withCtx(()=>[createVNode$1(QResizeObserver,{debounce:500,onResize:t.onContainerResize},null,8,["onResize"]),t.widget.hideTitle!==!0&&(t.widget.icon||t.widget.title)?(openBlock(),createBlock(QItem,{key:0,ref:"widgetTitleElement",class:"jarvis-widget-header",onTouchstart:r[1]||(r[1]=v=>t.fullscreenEnabled&&t.onTapHandler()),onDblclick:r[2]||(r[2]=v=>t.fullscreenEnabled&&t.fullscreenToggle())},{default:withCtx(()=>[t.widget.icon?(openBlock(),createBlock(QItemSection,{key:0,side:"",class:normalizeClass({"cursor-pointer":t.widget.link}),onClick:t.jump},{default:withCtx(()=>[createVNode$1(QAvatar,{square:t.options.widgetEdges,rounded:!t.options.widgetEdges,class:"jarvis-widget-icon","font-size":"24px"},{default:withCtx(()=>[createVNode$1(g,{name:t.widget.icon},null,8,["name"])]),_:1},8,["square","rounded"])]),_:1},8,["class","onClick"])):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:normalizeClass(["text-h6",{"cursor-pointer":t.widget.link}]),onClick:t.jump},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.widget.label||t.widget.title),1)]),_:1},8,["class","onClick"])]),_:1})]),_:1},512)):createCommentVNode("",!0),t.widget.hideSeparator!==!0&&t.widget.hideTitle!==!0&&(t.widget.icon||t.widget.title)?(openBlock(),createBlock(QSeparator,{key:1})):createCommentVNode("",!0),createVNode$1(QCardSection,{ref:"widgetContentElement",horizontal:"",class:"jarvis-widget-content",style:normalizeStyle$1(t.alignment.fit===!1?{"overflow-y":"auto",...t.verticalAlignment}:t.verticalAlignment)},{default:withCtx(()=>[createVNode$1(QResizeObserver,{debounce:500,onResize:t.onResize},null,8,["onResize"]),createBaseVNode("div",{class:"jarvis-widget-scaler full-width",style:normalizeStyle$1(t.scaleStyle)},[(openBlock(),createBlock(resolveDynamicComponent(t.widget.module),{key:t.widget.revision,class:"full-width",widget:t.widget,options:t.options,fullscreen:t.fullscreen,alignment:t.alignment,"widget-size":t.containerSize,"container-size":t.containerSize},null,8,["widget","options","fullscreen","alignment","widget-size","container-size"]))],4)]),_:1},8,["style"])]),_:1},8,["class"])],2)):createCommentVNode("",!0)}var Widget=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G]]),TabPanel_vue_vue_type_style_index_0_lang="";const _sfc_main$F=defineComponent({name:"TabPanel",components:{Widget},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0}},setup(t){const r=useJarvis(),a=useQuasar().platform.is.mobile,u=!1,d=ref({});watch(()=>r.watch.layout,()=>{const C=Cache$1.get("layout",[]).find(T=>T.id===t.pageId);d.value=C.tabs.find(T=>T.id===t.tabId)},{immediate:!0});const g=computed(()=>d.value.widgetConfig||{}),v=computed(()=>Math.max(a&&g.value.smartphoneGapSize||u||g.value.desktopGapSize||5,0)),y=computed(()=>{let C=[];return a&&g.value.smartphoneSameAs==="specific-layout"||u?C=d.value.widgetsSmartphone||[]:a&&g.value.smartphoneSameAs==="tablet"?C=d.value.widgetsTablet||[]:C=d.value.widgetsDesktop||[],C}),A=computed(()=>Math.max.apply(Math,y.value.map(C=>C.y+C.h))),b=computed(()=>y.value&&y.value[0]||{}),_=computed(()=>(a?g.value.smartphoneFitPageHeight:g.value.desktopFitPageHeight)||!1),w=computed(()=>a&&g.value.smartphoneWidgetHeight||u||g.value.desktopWidgetHeight||50),S=computed(()=>a&&g.value.smartphoneSameAs==="specific-layout"||u?"smartphone":a&&g.value.smartphoneSameAs==="tablet"?"tablet":"desktop");return{tab:d,tabOptions:computed(()=>({_tab:toRaw(d.value),pageId:t.pageId,tabId:d.value.id,widgetEdges:d.value.widgetEdges,widgetConfig:toRaw(g.value)})),totalWidgetRows:A,fullscreenContainer:b,fitPageHeight:_,widgetGap:v,widgetHeight:w,widgetLayout:S,widgetContainers:y}}}),_hoisted_1$u={key:1,class:"jarvis-page-fullscreen"};function _sfc_render$F(t,r,o,a,u,d){const g=resolveComponent("widget");return openBlock(),createElementBlock("div",{class:normalizeClass({["jarvis-page-"+t.pageId]:!0,["jarvis-tab-"+t.tab.id]:!0})},[t.tab.fullscreen!==!0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["container",t.widgetLayout]),style:normalizeStyle$1({gridTemplateRows:t.fitPageHeight?"repeat(12, 1fr)":"repeat("+t.totalWidgetRows+", "+t.widgetHeight+"px)",columnGap:t.widgetGap+"px",rowGap:t.widgetGap+"px",padding:t.widgetGap+"px",height:t.fitPageHeight?"calc(100vh - 60px)":"auto"})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgetContainers,v=>(openBlock(),createElementBlock(Fragment,null,[v&&v.items&&v.items.length>0?(openBlock(),createElementBlock("div",{key:v.i,style:normalizeStyle$1({gridArea:v.y+1+" / "+(v.x+1)+" / span "+v.h+" / span "+v.w}),class:"box"},[createVNode$1(g,{options:t.tabOptions,widgets:v.items||[],config:v,layout:t.widgetLayout,height:v.h*t.widgetHeight+(v.h-1)*t.widgetGap},null,8,["options","widgets","config","layout","height"])],4)):createCommentVNode("",!0)],64))),256))],6)):(openBlock(),createElementBlock("div",_hoisted_1$u,[createVNode$1(g,{fullscreen:"",options:t.tabOptions,widgets:t.fullscreenContainer.items||[],config:t.fullscreenContainer,layout:t.widgetLayout},null,8,["options","widgets","config","layout"])]))],2)}var TabPanel=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$F]]),Page_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$E=defineComponent({name:"Page",components:{Tabs,TabPanel},props:{pageId:{type:String,required:!0}},setup(t){const r=useQuasar(),o=useI18n(),a=useRouter(),u=useRoute(),d=useJarvis(),g=r.platform.is.mobile,v=computed(()=>d.drawerMiniMode),y=computed(()=>Cache$1.get("settings",{})),A=ref({});watch(()=>d.watch.layout,()=>{A.value=Cache$1.get("layout",[]).find(T=>T.id===t.pageId)},{immediate:!0});const b=computed({get(){return"tab-"+d.getSelectedTabId},set(T){T&&a.push({params:{tabId:T.replace("tab-","")}})}}),{jumperOpen:_}=useJumper(),w=(T,I,E)=>{const F=I.id;a.push({params:{...u.params,tabId:F}}).then(()=>{if(E.id!=="_root"){const O=g&&I.widgetConfig.smartphoneWidgetHeight||I.widgetConfig.desktopWidgetHeight||50,D=document.querySelector(".jarvis-header"),x=D&&D.offsetHeight?D.offsetHeight:0;setTimeout(()=>window.scrollTo(0,E.y*O+x+1),100)}}).catch(O=>{console.warn("Page",O.message)})},S=(T,I)=>{let E=I.widgetConfig&&I.widgetConfig.smartphoneSameAs==="specific-layout"&&r.platform.is.mobile?I.widgetsSmartphone:I.widgetsDesktop;E=d.getWidgets(E),E=E.concat([{},{color:"primary",icon:"mdi-tab",label:o.t("Jump directly to")+" "+I.label,id:"_root"}]),_(E,{class:"jarvis-quick-jumper",message:T.title+" / "+I.title+": "+o.t("Widgets"),onSuccess:F=>w(T,I,F)})},C=T=>{const I=d.getTabs(T);_(I,{class:"jarvis-quick-jumper",message:T.title+": "+o.t("Tabs"),onSuccess:E=>S(T,E)})};return{...useFab(),jumperOpen:()=>_(d.getPages,{class:"jarvis-quick-jumper",message:o.t("Pages"),onSuccess:C}),drawerMiniMode:v,onHeaderReveals:T=>{d.set("headerVisible",T)},isSmartphone:g,page:A,pageOptions:computed(()=>({hideLabels:A.value.hideLabels})),selectedTabId:b,tabAnimated:computed(()=>y.value.tabsSwipeAnimation==="always"||(!y.value.tabsSwipeAnimation||y.value.tabsSwipeAnimation==="mobile")&&g),tabSwipeable:computed(()=>y.value.tabsSwipe==="always"||(!y.value.tabsSwipe||y.value.tabsSwipe==="mobile")&&g),settings:y,connection:computed(()=>d.connection)}}});function _sfc_render$E(t,r,o,a,u,d){const g=resolveComponent("Tabs"),v=resolveComponent("TabPanel");return openBlock(),createBlock(QPageContainer,{style:{"padding-top":"0"}},{default:withCtx(()=>[t.settings.tabsBottom!==!0?withDirectives((openBlock(),createBlock(QHeader,{key:0,class:"jarvis-header text-white",bordered:"",reveal:t.settings.tabsShow==="hide",onReveal:t.onHeaderReveals},{default:withCtx(()=>[createVNode$1(g,{"page-id":t.pageId,options:t.pageOptions},null,8,["page-id","options"])]),_:1},8,["reveal","onReveal"])),[[vShow,t.drawerMiniMode!==!0||t.drawerMiniMode===!0]]):withDirectives((openBlock(),createBlock(QFooter,{key:1,class:"jarvis-footer text-white",bordered:"",reveal:t.settings.tabsShow==="hide",onReveal:t.onHeaderReveals},{default:withCtx(()=>[createVNode$1(g,{"page-id":t.pageId,options:t.pageOptions},null,8,["page-id","options"])]),_:1},8,["reveal","onReveal"])),[[vShow,t.drawerMiniMode!==!0||t.drawerMiniMode===!0]]),createVNode$1(QPage,{class:"jarvis-page jarvis-body"},{default:withCtx(()=>[createVNode$1(QTabPanels,{modelValue:t.selectedTabId,"onUpdate:modelValue":r[0]||(r[0]=y=>t.selectedTabId=y),"keep-alive":!1,animated:t.tabAnimated,swipeable:t.tabSwipeable,style:{"background-color":"transparent"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.page.tabs,y=>(openBlock(),createBlock(QTabPanel,{key:y.id,name:"tab-"+y.id,style:normalizeStyle$1({padding:0,"margin-top":t.settings.tabsBottom?0:t.settings.tabsDense?"40px":"60px"})},{default:withCtx(()=>[createVNode$1(v,{"page-id":t.pageId,"tab-id":y.id},null,8,["page-id","tab-id"])]),_:2},1032,["name","style"]))),128))]),_:1},8,["modelValue","animated","swipeable"]),createVNode$1(QPageSticky,{position:"bottom-left",offset:[18,18],style:{"z-index":"5999"}},{default:withCtx(()=>[createVNode$1(TransitionGroup,{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{key:"fab-connection",fab:"",icon:t.connection==="connected"||t.connection==="established"?"mdi-lan-check":"mdi-lan-disconnect",color:t.connection==="connected"||t.connection==="established"?"positive":"negative"},null,8,["icon","color"]),[[vShow,t.connection!=="connected"]])]),_:1})]),_:1}),withDirectives(createVNode$1(QPageSticky,{position:"bottom-right",offset:t.fabPos,style:{"z-index":"5999"}},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{fab:"",icon:"mdi-tab-search",color:"accent",disable:t.draggingFab,onClick:r[1]||(r[1]=withModifiers(y=>t.jumperOpen(),["stop"]))},null,8,["disable"]),[[TouchPan,t.moveFab,void 0,{prevent:!0,mouse:!0}]])]),_:1},8,["offset"]),[[vShow,t.settings.quickJumper==="always"||t.isSmartphone&&t.settings.quickJumper==="mobile"]])]),_:1})]),_:1})}var Page=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$E],["__scopeId","data-v-766dcf73"]]);const sides=["top","right","bottom","left"],alignments=["start","end"],placements$1=sides.reduce((t,r)=>t.concat(r,r+"-"+alignments[0],r+"-"+alignments[1]),[]),min$3=Math.min,max$3=Math.max,round$5=Math.round,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$2(t,r,o){return max$3(t,min$3(r,o))}function evaluate(t,r){return typeof t=="function"?t(r):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return t==="x"?"y":"x"}function getAxisLength(t){return t==="y"?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,r,o){o===void 0&&(o=!1);const a=getAlignment(t),u=getAlignmentAxis(t),d=getAxisLength(u);let g=u==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[d]>r.floating[d]&&(g=getOppositePlacement$1(g)),[g,getOppositePlacement$1(g)]}function getExpandedPlacements(t){const r=getOppositePlacement$1(t);return[getOppositeAlignmentPlacement(t),r,getOppositeAlignmentPlacement(r)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,r=>oppositeAlignmentMap[r])}function getSideList(t,r,o){const a=["left","right"],u=["right","left"],d=["top","bottom"],g=["bottom","top"];switch(t){case"top":case"bottom":return o?r?u:a:r?a:u;case"left":case"right":return r?d:g;default:return[]}}function getOppositeAxisPlacements(t,r,o,a){const u=getAlignment(t);let d=getSideList(getSide(t),o==="start",a);return u&&(d=d.map(g=>g+"-"+u),r&&(d=d.concat(d.map(getOppositeAlignmentPlacement)))),d}function getOppositePlacement$1(t){return t.replace(/left|right|bottom|top/g,r=>oppositeSideMap[r])}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return typeof t!="number"?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect$1(t){const{x:r,y:o,width:a,height:u}=t;return{width:a,height:u,top:o,left:r,right:r+a,bottom:o+u,x:r,y:o}}function computeCoordsFromPlacement(t,r,o){let{reference:a,floating:u}=t;const d=getSideAxis(r),g=getAlignmentAxis(r),v=getAxisLength(g),y=getSide(r),A=d==="y",b=a.x+a.width/2-u.width/2,_=a.y+a.height/2-u.height/2,w=a[v]/2-u[v]/2;let S;switch(y){case"top":S={x:b,y:a.y-u.height};break;case"bottom":S={x:b,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y:_};break;case"left":S={x:a.x-u.width,y:_};break;default:S={x:a.x,y:a.y}}switch(getAlignment(r)){case"start":S[g]-=w*(o&&A?-1:1);break;case"end":S[g]+=w*(o&&A?-1:1);break}return S}const computePosition$1=async(t,r,o)=>{const{placement:a="bottom",strategy:u="absolute",middleware:d=[],platform:g}=o,v=d.filter(Boolean),y=await(g.isRTL==null?void 0:g.isRTL(r));let A=await g.getElementRects({reference:t,floating:r,strategy:u}),{x:b,y:_}=computeCoordsFromPlacement(A,a,y),w=a,S={},C=0;for(let T=0;T({name:"arrow",options:t,async fn(r){const{x:o,y:a,placement:u,rects:d,platform:g,elements:v,middlewareData:y}=r,{element:A,padding:b=0}=evaluate(t,r)||{};if(A==null)return{};const _=getPaddingObject(b),w={x:o,y:a},S=getAlignmentAxis(u),C=getAxisLength(S),T=await g.getDimensions(A),I=S==="y",E=I?"top":"left",F=I?"bottom":"right",O=I?"clientHeight":"clientWidth",D=d.reference[C]+d.reference[S]-w[S]-d.floating[C],x=w[S]-d.reference[S],P=await(g.getOffsetParent==null?void 0:g.getOffsetParent(A));let G=P?P[O]:0;(!G||!await(g.isElement==null?void 0:g.isElement(P)))&&(G=v.floating[O]||d.floating[C]);const M=D/2-x/2,N=G/2-T[C]/2-1,V=min$3(_[E],N),Y=min$3(_[F],N),H=V,B=G-T[C]-Y,z=G/2-T[C]/2+M,U=clamp$2(H,z,B),Q=!y.arrow&&getAlignment(u)!=null&&z!==U&&d.reference[C]/2-(zgetAlignment(u)===t),...o.filter(u=>getAlignment(u)!==t)]:o.filter(u=>getSide(u)===u)).filter(u=>t?getAlignment(u)===t||(r?getOppositeAlignmentPlacement(u)!==u:!1):!0)}const autoPlacement=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var o,a,u;const{rects:d,middlewareData:g,placement:v,platform:y,elements:A}=r,{crossAxis:b=!1,alignment:_,allowedPlacements:w=placements$1,autoAlignment:S=!0,...C}=evaluate(t,r),T=_!==void 0||w===placements$1?getPlacementList(_||null,S,w):w,I=await detectOverflow$1(r,C),E=((o=g.autoPlacement)==null?void 0:o.index)||0,F=T[E];if(F==null)return{};const O=getAlignmentSides(F,d,await(y.isRTL==null?void 0:y.isRTL(A.floating)));if(v!==F)return{reset:{placement:T[0]}};const D=[I[getSide(F)],I[O[0]],I[O[1]]],x=[...((a=g.autoPlacement)==null?void 0:a.overflows)||[],{placement:F,overflows:D}],P=T[E+1];if(P)return{data:{index:E+1,overflows:x},reset:{placement:P}};const G=x.map(V=>{const Y=getAlignment(V.placement);return[V.placement,Y&&b?V.overflows.slice(0,2).reduce((H,B)=>H+B,0):V.overflows[0],V.overflows]}).sort((V,Y)=>V[1]-Y[1]),N=((u=G.filter(V=>V[2].slice(0,getAlignment(V[0])?2:3).every(Y=>Y<=0))[0])==null?void 0:u[0])||G[0][0];return N!==v?{data:{index:E+1,overflows:x},reset:{placement:N}}:{}}}},flip$2=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var o,a;const{placement:u,middlewareData:d,rects:g,initialPlacement:v,platform:y,elements:A}=r,{mainAxis:b=!0,crossAxis:_=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:T=!0,...I}=evaluate(t,r);if((o=d.arrow)!=null&&o.alignmentOffset)return{};const E=getSide(u),F=getSideAxis(v),O=getSide(v)===v,D=await(y.isRTL==null?void 0:y.isRTL(A.floating)),x=w||(O||!T?[getOppositePlacement$1(v)]:getExpandedPlacements(v)),P=C!=="none";!w&&P&&x.push(...getOppositeAxisPlacements(v,T,C,D));const G=[v,...x],M=await detectOverflow$1(r,I),N=[];let V=((a=d.flip)==null?void 0:a.overflows)||[];if(b&&N.push(M[E]),_){const z=getAlignmentSides(u,g,D);N.push(M[z[0]],M[z[1]])}if(V=[...V,{placement:u,overflows:N}],!N.every(z=>z<=0)){var Y,H;const z=(((Y=d.flip)==null?void 0:Y.index)||0)+1,U=G[z];if(U)return{data:{index:z,overflows:V},reset:{placement:U}};let Q=(H=V.filter(X=>X.overflows[0]<=0).sort((X,J)=>X.overflows[1]-J.overflows[1])[0])==null?void 0:H.placement;if(!Q)switch(S){case"bestFit":{var B;const X=(B=V.filter(J=>{if(P){const ne=getSideAxis(J.placement);return ne===F||ne==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(ne=>ne>0).reduce((ne,te)=>ne+te,0)]).sort((J,ne)=>J[1]-ne[1])[0])==null?void 0:B[0];X&&(Q=X);break}case"initialPlacement":Q=v;break}if(u!==Q)return{reset:{placement:Q}}}return{}}}};function getSideOffsets$1(t,r){return{top:t.top-r.height,right:t.right-r.width,bottom:t.bottom-r.height,left:t.left-r.width}}function isAnySideFullyClipped$1(t){return sides.some(r=>t[r]>=0)}const hide$2=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(r){const{rects:o}=r,{strategy:a="referenceHidden",...u}=evaluate(t,r);switch(a){case"referenceHidden":{const d=await detectOverflow$1(r,{...u,elementContext:"reference"}),g=getSideOffsets$1(d,o.reference);return{data:{referenceHiddenOffsets:g,referenceHidden:isAnySideFullyClipped$1(g)}}}case"escaped":{const d=await detectOverflow$1(r,{...u,altBoundary:!0}),g=getSideOffsets$1(d,o.floating);return{data:{escapedOffsets:g,escaped:isAnySideFullyClipped$1(g)}}}default:return{}}}}};function getBoundingRect$1(t){const r=min$3(...t.map(d=>d.left)),o=min$3(...t.map(d=>d.top)),a=max$3(...t.map(d=>d.right)),u=max$3(...t.map(d=>d.bottom));return{x:r,y:o,width:a-r,height:u-o}}function getRectsByLine(t){const r=t.slice().sort((u,d)=>u.y-d.y),o=[];let a=null;for(let u=0;ua.height/2?o.push([d]):o[o.length-1].push(d),a=d}return o.map(u=>rectToClientRect$1(getBoundingRect$1(u)))}const inline=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(r){const{placement:o,elements:a,rects:u,platform:d,strategy:g}=r,{padding:v=2,x:y,y:A}=evaluate(t,r),b=Array.from(await(d.getClientRects==null?void 0:d.getClientRects(a.reference))||[]),_=getRectsByLine(b),w=rectToClientRect$1(getBoundingRect$1(b)),S=getPaddingObject(v);function C(){if(_.length===2&&_[0].left>_[1].right&&y!=null&&A!=null)return _.find(I=>y>I.left-S.left&&yI.top-S.top&&A=2){if(getSideAxis(o)==="y"){const V=_[0],Y=_[_.length-1],H=getSide(o)==="top",B=V.top,z=Y.bottom,U=H?V.left:Y.left,Q=H?V.right:Y.right,X=Q-U,J=z-B;return{top:B,bottom:z,left:U,right:Q,width:X,height:J,x:U,y:B}}const I=getSide(o)==="left",E=max$3(..._.map(V=>V.right)),F=min$3(..._.map(V=>V.left)),O=_.filter(V=>I?V.left===F:V.right===E),D=O[0].top,x=O[O.length-1].bottom,P=F,G=E,M=G-P,N=x-D;return{top:D,bottom:x,left:P,right:G,width:M,height:N,x:P,y:D}}return w}const T=await d.getElementRects({reference:{getBoundingClientRect:C},floating:a.floating,strategy:g});return u.reference.x!==T.reference.x||u.reference.y!==T.reference.y||u.reference.width!==T.reference.width||u.reference.height!==T.reference.height?{reset:{rects:T}}:{}}}};async function convertValueToCoords(t,r){const{placement:o,platform:a,elements:u}=t,d=await(a.isRTL==null?void 0:a.isRTL(u.floating)),g=getSide(o),v=getAlignment(o),y=getSideAxis(o)==="y",A=["left","top"].includes(g)?-1:1,b=d&&y?-1:1,_=evaluate(r,t);let{mainAxis:w,crossAxis:S,alignmentAxis:C}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,..._};return v&&typeof C=="number"&&(S=v==="end"?C*-1:C),y?{x:S*b,y:w*A}:{x:w*A,y:S*b}}const offset$3=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var o,a;const{x:u,y:d,placement:g,middlewareData:v}=r,y=await convertValueToCoords(r,t);return g===((o=v.offset)==null?void 0:o.placement)&&(a=v.arrow)!=null&&a.alignmentOffset?{}:{x:u+y.x,y:d+y.y,data:{...y,placement:g}}}}},shift=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:o,y:a,placement:u}=r,{mainAxis:d=!0,crossAxis:g=!1,limiter:v={fn:I=>{let{x:E,y:F}=I;return{x:E,y:F}}},...y}=evaluate(t,r),A={x:o,y:a},b=await detectOverflow$1(r,y),_=getSideAxis(getSide(u)),w=getOppositeAxis(_);let S=A[w],C=A[_];if(d){const I=w==="y"?"top":"left",E=w==="y"?"bottom":"right",F=S+b[I],O=S-b[E];S=clamp$2(F,S,O)}if(g){const I=_==="y"?"top":"left",E=_==="y"?"bottom":"right",F=C+b[I],O=C-b[E];C=clamp$2(F,C,O)}const T=v.fn({...r,[w]:S,[_]:C});return{...T,data:{x:T.x-o,y:T.y-a}}}}},limitShift=function(t){return t===void 0&&(t={}),{options:t,fn(r){const{x:o,y:a,placement:u,rects:d,middlewareData:g}=r,{offset:v=0,mainAxis:y=!0,crossAxis:A=!0}=evaluate(t,r),b={x:o,y:a},_=getSideAxis(u),w=getOppositeAxis(_);let S=b[w],C=b[_];const T=evaluate(v,r),I=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(y){const O=w==="y"?"height":"width",D=d.reference[w]-d.floating[O]+I.mainAxis,x=d.reference[w]+d.reference[O]-I.mainAxis;Sx&&(S=x)}if(A){var E,F;const O=w==="y"?"width":"height",D=["top","left"].includes(getSide(u)),x=d.reference[_]-d.floating[O]+(D&&((E=g.offset)==null?void 0:E[_])||0)+(D?0:I.crossAxis),P=d.reference[_]+d.reference[O]+(D?0:((F=g.offset)==null?void 0:F[_])||0)-(D?I.crossAxis:0);CP&&(C=P)}return{[w]:S,[_]:C}}}},size=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){const{placement:o,rects:a,platform:u,elements:d}=r,{apply:g=()=>{},...v}=evaluate(t,r),y=await detectOverflow$1(r,v),A=getSide(o),b=getAlignment(o),_=getSideAxis(o)==="y",{width:w,height:S}=a.floating;let C,T;A==="top"||A==="bottom"?(C=A,T=b===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(T=A,C=b==="end"?"top":"bottom");const I=S-y.top-y.bottom,E=w-y.left-y.right,F=min$3(S-y[C],I),O=min$3(w-y[T],E),D=!r.middlewareData.shift;let x=F,P=O;if(_?P=b||D?min$3(O,E):E:x=b||D?min$3(F,I):I,D&&!b){const M=max$3(y.left,0),N=max$3(y.right,0),V=max$3(y.top,0),Y=max$3(y.bottom,0);_?P=w-2*(M!==0||N!==0?M+N:max$3(y.left,y.right)):x=S-2*(V!==0||Y!==0?V+Y:max$3(y.top,y.bottom))}await g({...r,availableWidth:P,availableHeight:x});const G=await u.getDimensions(d.floating);return w!==G.width||S!==G.height?{reset:{rects:!0}}:{}}}};function getNodeName$1(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow$1(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function getDocumentElement$1(t){var r;return(r=(isNode(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow$1(t).Node}function isElement$1(t){return t instanceof Element||t instanceof getWindow$1(t).Element}function isHTMLElement$1(t){return t instanceof HTMLElement||t instanceof getWindow$1(t).HTMLElement}function isShadowRoot$1(t){return typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof getWindow$1(t).ShadowRoot}function isOverflowElement(t){const{overflow:r,overflowX:o,overflowY:a,display:u}=getComputedStyle$3(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+o)&&!["inline","contents"].includes(u)}function isTableElement$1(t){return["table","td","th"].includes(getNodeName$1(t))}function isTopLayer(t){return[":popover-open",":modal"].some(r=>{try{return t.matches(r)}catch(o){return!1}})}function isContainingBlock(t){const r=isWebKit(),o=isElement$1(t)?getComputedStyle$3(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(o.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(o.contain||"").includes(a))}function getContainingBlock$1(t){let r=getParentNode$1(t);for(;isHTMLElement$1(r)&&!isLastTraversableNode(r);){if(isContainingBlock(r))return r;if(isTopLayer(r))return null;r=getParentNode$1(r)}return null}function isWebKit(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName$1(t))}function getComputedStyle$3(t){return getWindow$1(t).getComputedStyle(t)}function getNodeScroll$1(t){return isElement$1(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function getParentNode$1(t){if(getNodeName$1(t)==="html")return t;const r=t.assignedSlot||t.parentNode||isShadowRoot$1(t)&&t.host||getDocumentElement$1(t);return isShadowRoot$1(r)?r.host:r}function getNearestOverflowAncestor(t){const r=getParentNode$1(t);return isLastTraversableNode(r)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement$1(r)&&isOverflowElement(r)?r:getNearestOverflowAncestor(r)}function getOverflowAncestors(t,r,o){var a;r===void 0&&(r=[]),o===void 0&&(o=!0);const u=getNearestOverflowAncestor(t),d=u===((a=t.ownerDocument)==null?void 0:a.body),g=getWindow$1(u);if(d){const v=getFrameElement(g);return r.concat(g,g.visualViewport||[],isOverflowElement(u)?u:[],v&&o?getOverflowAncestors(v):[])}return r.concat(u,getOverflowAncestors(u,[],o))}function getFrameElement(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function getCssDimensions(t){const r=getComputedStyle$3(t);let o=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const u=isHTMLElement$1(t),d=u?t.offsetWidth:o,g=u?t.offsetHeight:a,v=round$5(o)!==d||round$5(a)!==g;return v&&(o=d,a=g),{width:o,height:a,$:v}}function unwrapElement(t){return isElement$1(t)?t:t.contextElement}function getScale(t){const r=unwrapElement(t);if(!isHTMLElement$1(r))return createCoords(1);const o=r.getBoundingClientRect(),{width:a,height:u,$:d}=getCssDimensions(r);let g=(d?round$5(o.width):o.width)/a,v=(d?round$5(o.height):o.height)/u;return(!g||!Number.isFinite(g))&&(g=1),(!v||!Number.isFinite(v))&&(v=1),{x:g,y:v}}const noOffsets=createCoords(0);function getVisualOffsets(t){const r=getWindow$1(t);return!isWebKit()||!r.visualViewport?noOffsets:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function shouldAddVisualOffsets(t,r,o){return r===void 0&&(r=!1),!o||r&&o!==getWindow$1(t)?!1:r}function getBoundingClientRect$1(t,r,o,a){r===void 0&&(r=!1),o===void 0&&(o=!1);const u=t.getBoundingClientRect(),d=unwrapElement(t);let g=createCoords(1);r&&(a?isElement$1(a)&&(g=getScale(a)):g=getScale(t));const v=shouldAddVisualOffsets(d,o,a)?getVisualOffsets(d):createCoords(0);let y=(u.left+v.x)/g.x,A=(u.top+v.y)/g.y,b=u.width/g.x,_=u.height/g.y;if(d){const w=getWindow$1(d),S=a&&isElement$1(a)?getWindow$1(a):a;let C=w,T=getFrameElement(C);for(;T&&a&&S!==C;){const I=getScale(T),E=T.getBoundingClientRect(),F=getComputedStyle$3(T),O=E.left+(T.clientLeft+parseFloat(F.paddingLeft))*I.x,D=E.top+(T.clientTop+parseFloat(F.paddingTop))*I.y;y*=I.x,A*=I.y,b*=I.x,_*=I.y,y+=O,A+=D,C=getWindow$1(T),T=getFrameElement(C)}}return rectToClientRect$1({width:b,height:_,x:y,y:A})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:r,rect:o,offsetParent:a,strategy:u}=t;const d=u==="fixed",g=getDocumentElement$1(a),v=r?isTopLayer(r.floating):!1;if(a===g||v&&d)return o;let y={scrollLeft:0,scrollTop:0},A=createCoords(1);const b=createCoords(0),_=isHTMLElement$1(a);if((_||!_&&!d)&&((getNodeName$1(a)!=="body"||isOverflowElement(g))&&(y=getNodeScroll$1(a)),isHTMLElement$1(a))){const w=getBoundingClientRect$1(a);A=getScale(a),b.x=w.x+a.clientLeft,b.y=w.y+a.clientTop}return{width:o.width*A.x,height:o.height*A.y,x:o.x*A.x-y.scrollLeft*A.x+b.x,y:o.y*A.y-y.scrollTop*A.y+b.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX$1(t){return getBoundingClientRect$1(getDocumentElement$1(t)).left+getNodeScroll$1(t).scrollLeft}function getDocumentRect$1(t){const r=getDocumentElement$1(t),o=getNodeScroll$1(t),a=t.ownerDocument.body,u=max$3(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),d=max$3(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+getWindowScrollBarX$1(t);const v=-o.scrollTop;return getComputedStyle$3(a).direction==="rtl"&&(g+=max$3(r.clientWidth,a.clientWidth)-u),{width:u,height:d,x:g,y:v}}function getViewportRect$1(t,r){const o=getWindow$1(t),a=getDocumentElement$1(t),u=o.visualViewport;let d=a.clientWidth,g=a.clientHeight,v=0,y=0;if(u){d=u.width,g=u.height;const A=isWebKit();(!A||A&&r==="fixed")&&(v=u.offsetLeft,y=u.offsetTop)}return{width:d,height:g,x:v,y}}function getInnerBoundingClientRect$1(t,r){const o=getBoundingClientRect$1(t,!0,r==="fixed"),a=o.top+t.clientTop,u=o.left+t.clientLeft,d=isHTMLElement$1(t)?getScale(t):createCoords(1),g=t.clientWidth*d.x,v=t.clientHeight*d.y,y=u*d.x,A=a*d.y;return{width:g,height:v,x:y,y:A}}function getClientRectFromClippingAncestor(t,r,o){let a;if(r==="viewport")a=getViewportRect$1(t,o);else if(r==="document")a=getDocumentRect$1(getDocumentElement$1(t));else if(isElement$1(r))a=getInnerBoundingClientRect$1(r,o);else{const u=getVisualOffsets(t);a={...r,x:r.x-u.x,y:r.y-u.y}}return rectToClientRect$1(a)}function hasFixedPositionAncestor(t,r){const o=getParentNode$1(t);return o===r||!isElement$1(o)||isLastTraversableNode(o)?!1:getComputedStyle$3(o).position==="fixed"||hasFixedPositionAncestor(o,r)}function getClippingElementAncestors(t,r){const o=r.get(t);if(o)return o;let a=getOverflowAncestors(t,[],!1).filter(v=>isElement$1(v)&&getNodeName$1(v)!=="body"),u=null;const d=getComputedStyle$3(t).position==="fixed";let g=d?getParentNode$1(t):t;for(;isElement$1(g)&&!isLastTraversableNode(g);){const v=getComputedStyle$3(g),y=isContainingBlock(g);!y&&v.position==="fixed"&&(u=null),(d?!y&&!u:!y&&v.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||isOverflowElement(g)&&!y&&hasFixedPositionAncestor(t,g))?a=a.filter(b=>b!==g):u=v,g=getParentNode$1(g)}return r.set(t,a),a}function getClippingRect$1(t){let{element:r,boundary:o,rootBoundary:a,strategy:u}=t;const g=[...o==="clippingAncestors"?isTopLayer(r)?[]:getClippingElementAncestors(r,this._c):[].concat(o),a],v=g[0],y=g.reduce((A,b)=>{const _=getClientRectFromClippingAncestor(r,b,u);return A.top=max$3(_.top,A.top),A.right=min$3(_.right,A.right),A.bottom=min$3(_.bottom,A.bottom),A.left=max$3(_.left,A.left),A},getClientRectFromClippingAncestor(r,v,u));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function getDimensions(t){const{width:r,height:o}=getCssDimensions(t);return{width:r,height:o}}function getRectRelativeToOffsetParent(t,r,o){const a=isHTMLElement$1(r),u=getDocumentElement$1(r),d=o==="fixed",g=getBoundingClientRect$1(t,!0,d,r);let v={scrollLeft:0,scrollTop:0};const y=createCoords(0);if(a||!a&&!d)if((getNodeName$1(r)!=="body"||isOverflowElement(u))&&(v=getNodeScroll$1(r)),a){const _=getBoundingClientRect$1(r,!0,d,r);y.x=_.x+r.clientLeft,y.y=_.y+r.clientTop}else u&&(y.x=getWindowScrollBarX$1(u));const A=g.left+v.scrollLeft-y.x,b=g.top+v.scrollTop-y.y;return{x:A,y:b,width:g.width,height:g.height}}function isStaticPositioned(t){return getComputedStyle$3(t).position==="static"}function getTrueOffsetParent$1(t,r){return!isHTMLElement$1(t)||getComputedStyle$3(t).position==="fixed"?null:r?r(t):t.offsetParent}function getOffsetParent$1(t,r){const o=getWindow$1(t);if(isTopLayer(t))return o;if(!isHTMLElement$1(t)){let u=getParentNode$1(t);for(;u&&!isLastTraversableNode(u);){if(isElement$1(u)&&!isStaticPositioned(u))return u;u=getParentNode$1(u)}return o}let a=getTrueOffsetParent$1(t,r);for(;a&&isTableElement$1(a)&&isStaticPositioned(a);)a=getTrueOffsetParent$1(a,r);return a&&isLastTraversableNode(a)&&isStaticPositioned(a)&&!isContainingBlock(a)?o:a||getContainingBlock$1(t)||o}const getElementRects=async function(t){const r=this.getOffsetParent||getOffsetParent$1,o=this.getDimensions,a=await o(t.floating);return{reference:getRectRelativeToOffsetParent(t.reference,await r(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function isRTL(t){return getComputedStyle$3(t).direction==="rtl"}const platform$1={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement$1,getClippingRect:getClippingRect$1,getOffsetParent:getOffsetParent$1,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL},computePosition=(t,r,o)=>{const a=new Map,u={platform:platform$1,...o},d={...u.platform,_c:a};return computePosition$1(t,r,{...u,platform:d})};var layoutTemplate=`[ +`,StateListGroup_vue_vue_type_style_index_0_lang="";const _sfc_main$L=defineComponent({name:"ModuleStateListGroup",props:{devices:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>{}}},setup(t){const r=ref({}),o=computed(()=>{const g=Object.values(r.value),v=g.filter(A=>A===!0),y=g.filter(A=>A===!1);return g.length===v.length?!0:g.length===y.length?!1:null}),a=(g,v,y,A)=>{if(g)return;const b=t.devices[v.id+":"+y]||{},_=A&&A.val!==void 0?A.val:null;if(b&&b.useInGroup!==!1){let{on:w,off:S}=A&&A.properties||{};w=w!==void 0?w:!0,r.value[v.id+"-"+A.stateKey]=_!==null?_.toString()===w.toString()||typeof _=="number"&&_>0:S}},u=(g,v,y=!0,A=!1)=>{for(const b in t.devices){const _=t.devices[b],w=Devices.getDevice(_.deviceId);w.states[_.primaryStateKey.toLowerCase()]&&w.states[_.primaryStateKey.toLowerCase()].properties,_.useInGroup!==!1&&Devices.set(w.id,_.primaryStateKey,y,A)}};let d=[];if(t.deviceConfig.actions)for(const g in t.devices){const v=t.devices[g]||{};v.primaryStateKey&&(d=d.concat(Devices.listen(v.deviceId,v.primaryStateKey,a)))}return onBeforeUnmount(()=>Devices.unlisten(d)),{components:Functions.Components._all.action,groupDevicesStates:r,groupState:o,setDevice:u}}}),_hoisted_1$y={key:0};function _sfc_render$L(t,r,o,a,u,d){return openBlock(),createBlock(QItem,{dense:"",class:"jarvis-StateListGroup"},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{overline:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.deviceConfig.name),1)]),_:1})]),_:1}),t.deviceConfig.actions===!0?(openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[t.deviceConfig.groupElement?(openBlock(),createElementBlock("div",_hoisted_1$y,[(openBlock(),createBlock(resolveDynamicComponent(t.components[t.deviceConfig.groupElement]),mergeProps(t.$props,{device:{id:"group"},"state-key":"group",state:{config:{display:{false:"off",true:"on"}},properties:{},stateStyle:{},val:t.groupState},onSetDevice:t.setDevice}),null,16,["state","onSetDevice"]))])):createCommentVNode("",!0)]),_:1})):createCommentVNode("",!0)]),_:1})}var StateListGroup=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$L]]),StateListGroup$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateListGroup},Symbol.toStringTag,{value:"Module"})),StateListItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$K=defineComponent({name:"ModuleStateListItem",props:{widget:{type:Object,required:!0},deviceConfig:{type:Object,default:()=>{}},moduleConfig:{type:Object,default:()=>{}},primaryState:{type:Object,default:()=>{}},bodyState:{type:Object,default:()=>{}},openDeviceDetails:{type:Boolean,default:!0},isPopup:{type:Boolean,default:!1},isFirstItem:{type:Boolean,default:!1},error:{type:String,default:""}},setup(props){const $q=useQuasar(),jarvis=useJarvis(),device=ref(Devices.getDevice(props.deviceConfig.deviceId));watch(()=>jarvis.watch.devices,()=>{device.value=Devices.getDevice(props.deviceConfig.deviceId)});const bodyStyle=computed(()=>{let t=props.primaryState&&props.primaryState.bodyStyle;if(t&&typeof t=="string"&&t.indexOf("{")!==-1&&t.indexOf("}")!==-1)try{t=JSON.parse(t)}catch(r){console.warn("StateList","Style incorrect",t,r.message||r)}return t}),shallBeShown=computed(()=>{if(Pro.isPro()&&props.moduleConfig.filter)try{const filter=props.moduleConfig.filter.startsWith('"')&&props.moduleConfig.filter.endsWith('"')?props.moduleConfig.filter.substr(1,props.moduleConfig.filter.length-2):props.moduleConfig.filter;return eval(filter)(props.primaryState.value,props.primaryState.val,props.primaryState,device.value,props.deviceConfig,props.widget)}catch(t){console.warn("StateList","Filter incorrect",props.moduleConfig.filter,t.message||t),$q.notify({type:"negative",icon:"mdi-alert",message:"StateList: Filter incorrect ("+t.message+")"})}else!Pro.isPro()&&props.moduleConfig.filter&&Pro.warn("StateList: Filter is only available to Pro!");return!bodyStyle.value||!bodyStyle.value.display||bodyStyle.value.display&&!bodyStyle.value.display.startsWith("none")}),getComponent=(t,r,o)=>{const a=t&&Functions.Configurations[device.value.function]&&Functions.Configurations[device.value.function][t.toLowerCase()]||{},u=props.deviceConfig[r+"Element"]||props.isPopup===!1&&o||props.isPopup===!0&&a[r+"Element"]||null;return Functions.Components[device.value.function]&&Functions.Components[device.value.function][r]&&Functions.Components[device.value.function][r][u]||Functions.Components._defaults&&Functions.Components._defaults[r]&&Functions.Components._defaults[r][u]||Functions.Components._defaults&&Functions.Components._defaults[r]&&Functions.Components._defaults[r][t]||null},onDevice=()=>{props.openDeviceDetails!==!1&&device.value.options&&device.value.options.suppressPopup!==!0&&jarvis.set({selectedDeviceId:device.value.id})};return{shallBeShown,bodyStyle,getComponent,device,onDevice,setDevice:Devices.set}}}),_hoisted_1$x={key:0,class:"jarvis-StateListItem-Action-primaryStateKey"},_hoisted_2$o={class:"jarvis-StateListItem-Action-secondaryStatesKeys"};function _sfc_render$K(t,r,o,a,u,d){const g=resolveComponent("icon");return withDirectives((openBlock(),createBlock(QItem,{key:t.device.id+"-"+t.device.revision+"-"+(t.isPopup!==void 0?"v":"x"),clickable:t.openDeviceDetails!==!1&&t.device.options&&t.device.options.suppressPopup!==!0,"v-ripple":t.openDeviceDetails!==!1&&t.device.options&&t.device.options.suppressPopup!==!0,class:normalizeClass(["jarvis-StateListItem",{"jarvis-StateListItem-Popup":t.isPopup,"jarvis-StateListItem-Separator":!t.isFirstItem&&t.isPopup}]),style:normalizeStyle$1(t.bodyStyle),onClick:t.onDevice},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"jarvis-StateListItem-Icon"},{default:withCtx(()=>[t.error?(openBlock(),createBlock(g,{key:1,name:"mdi:alert",color:"warning",tooltip:t.error},null,8,["tooltip"])):(openBlock(),createBlock(g,{key:0,styles:(t.primaryState.icon?t.primaryState.iconStyle:t.bodyState.iconStyle)||{},name:t.primaryState.icon||t.bodyState.icon||t.device.icon||t.device.functionIcon,color:"primary"},null,8,["styles","name"]))]),_:1}),createVNode$1(QItemSection,{class:"jarvis-StateListItem-Body"},{default:withCtx(()=>[t.bodyState.label?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("Title","components")),{key:0,"state-key":t.deviceConfig.bodyStateKey,state:t.bodyState,device:t.device,"device-config":t.deviceConfig,"is-popup":t.isPopup},null,8,["state-key","state","device","device-config","is-popup"])):(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("Title","components")),{key:1,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig,"is-popup":t.isPopup},null,8,["state-key","state","device","device-config","is-popup"])),t.deviceConfig.bodyStateKey&&t.deviceConfig.bodyElement!==null?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.deviceConfig.bodyStateKey,"body",t.bodyState.bodyElement)),{key:2,"state-key":t.deviceConfig.bodyStateKey,state:t.bodyState,device:t.device,"device-config":t.deviceConfig.bodyElement===void 0?t.bodyState.config:t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)]),_:1}),createVNode$1(QItemSection,{side:"",class:"jarvis-StateListItem-Action",onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[t.deviceConfig.primaryStateKey?(openBlock(),createElementBlock("div",_hoisted_1$x,[t.deviceConfig.showState!==!1?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("State","components")),{key:0,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig},null,8,["state-key","state","device","device-config"])):createCommentVNode("",!0),t.deviceConfig.actionElement!==null?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.deviceConfig.primaryStateKey,"action",t.primaryState.actionElement)),{key:1,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig.actionElement===void 0?t.primaryState.config:t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$o,[t.deviceConfig.secondaryStatesKeys?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent("SecondaryStates","components")),{key:0,"state-key":t.deviceConfig.primaryStateKey,state:t.primaryState,device:t.device,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["state-key","state","device","device-config","onSetDevice"])):createCommentVNode("",!0)])]),_:1})]),_:1},8,["clickable","v-ripple","class","style","onClick"])),[[vShow,t.shallBeShown]])}var StateListItem=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$K],["__scopeId","data-v-51b46c8c"]]),StateListItem$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateListItem},Symbol.toStringTag,{value:"Module"})),StateList_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$J=defineComponent({name:"ModuleStateList",components:{StateListGroup,StateListItem},props:{widget:{type:Object,required:!0},widgetSize:{type:Object,default:null},isPopup:{type:Boolean,default:!1},openDeviceDetails:{type:Boolean,default:!0}},setup(t){const r=useJarvis(),o=computed(()=>t.widget.config),a=computed(()=>({...Modules.joinConfig(o.value,ConfigFile$2)})),u=ref({});ref(null);const d=ref({}),g=[],v=(C,T,I,E)=>{if(g.includes(T.id+":"+I)||g.push(T.id+":"+I),C||!E)return d.value[T.id+":"+I]=C&&C.message||C||"State is empty",console.warn("StateList",t.widget.id,T.name,I,E,d.value[T.id+":"+I]),d.value[T.id+":"+I];u.value[T.id+":"+I]={...E},Object.keys(u.value).length,g.length};let y=ref(null),A=ref({}),b={},_=null,w={},S=[];return watch([()=>r.watch.devices,()=>t.widget.items],()=>{b={},_=null,w={};let C=_default(t.widget.items),T=0;for(;TG.states[I.primaryStateKey]!==void 0?!0:(console.warn("StateList",t.widget.id,G.name,"Hidden because state key "+I.primaryStateKey+" not available!"),!1)),P.sort((G,M)=>{let N=(G.label||G.name).toLowerCase(),V=(M.label||M.name).toLowerCase();return N===V?0:!I.sortDirection||I.sortDirection==="ascending"?N>V?1:-1:N>V?-1:1}),I.sortBy&&P.sort((G,M)=>{let N=(G.label||G.name).toLowerCase(),V=(M.label||M.name).toLowerCase(),Z=0;return I.sortBy==="name"?(N=G.name.toLowerCase(),V=M.name.toLowerCase(),Z=N.localeCompare(V)):I.sortBy==="options"?(N=parseInt(G.options.sortBy)||99999,V=parseInt(M.options.sortBy)||99999,Z=N===V?0:N>V?1:-1):Pro.isPro()&&(I.sortBy==="val"||I.sortBy==="value")&&(N=u.value[G.id+":"+I.primaryStateKey]&&u.value[G.id+":"+I.primaryStateKey][I.sortBy],V=u.value[M.id+":"+I.primaryStateKey]&&u.value[M.id+":"+I.primaryStateKey][I.sortBy],typeof N=="number"&&typeof V=="number"?Z=N>V?1:-1:typeof N=="number"?Z=-1:typeof V=="number"?Z=1:typeof N=="boolean"&&typeof V=="boolean"?Z=N>V?1:-1:typeof N=="boolean"?Z=-1:typeof V=="boolean"?Z=1:typeof N=="string"&&typeof V=="string"&&(Z=N.localeCompare(V))),!I.sortDirection||I.sortDirection==="ascending"?Z:-1*Z}),P.forEach((G,M)=>{C.splice(T+M,0,{...x,id:uuidv5(G.id+":"+G.revision+":"+I.primaryStateKey,"c15a93c5-afb6-4179-800d-6ecaa313df21"),type:"device",deviceId:G.id})})}if(I.type==="device")if(Devices.get(I.deviceId)||console.warn("StateList","Device with ID "+I.deviceId+" not found!"),!I.primaryStateKey&&!I.bodyStateKey)console.warn("StateList","Device with ID "+I.deviceId+" has no primary or body state key set!");else{b["device-"+I.id]=I;const E=I;_!==null&&w[_]!==void 0&&(w[_][I.deviceId+":"+E.primaryStateKey]=I),E.primaryStateKey&&u.value[I.deviceId+":"+E.primaryStateKey]===void 0&&(u.value[I.deviceId+":"+E.primaryStateKey]=u.value[I.deviceId+":"+E.primaryStateKey]||{},S=S.concat(Devices.listen(I.deviceId,E.primaryStateKey,v))),E.bodyStateKey&&u.value[I.deviceId+":"+E.bodyStateKey]===void 0&&(u.value[I.deviceId+":"+E.bodyStateKey]=u.value[I.deviceId+":"+E.bodyStateKey]||{},S=S.concat(Devices.listen(I.deviceId,E.bodyStateKey,v)))}else b["item-"+I.id]=I}A.value=Object.values(b),y.value=t.widget.revision+"-"+r.watch.devices},{immediate:!0}),onBeforeUnmount(()=>Devices.unlisten(S)),{revision:y,entries:A,groups:w,moduleConfig:a,states:u,errors:d}}});function _sfc_render$J(t,r,o,a,u,d){const g=resolveComponent("state-list-group"),v=resolveComponent("state-list-item");return openBlock(),createBlock(QList,{dense:t.moduleConfig.dense,class:normalizeClass(["jarvis-StateList",{horizontal:t.moduleConfig.horizontal,stacked:t.moduleConfig.stacked}]),style:normalizeStyle$1({"max-height":t.widgetSize&&t.widgetSize.maxHeight})},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.entries,(y,A)=>(openBlock(),createElementBlock(Fragment,{key:"rev-"+t.revision+"-item-"+y.id},[y.type==="group"?(openBlock(),createBlock(g,{key:0,devices:t.groups[y.id],"device-config":y,"module-config":t.moduleConfig},null,8,["devices","device-config","module-config"])):y.type==="device"?(openBlock(),createBlock(v,{key:"state-list-item-"+y.id,"is-first-item":A===0,widget:t.widget,"device-config":y,"module-config":t.moduleConfig,"primary-state":y.primaryStateKey?t.states[y.deviceId+":"+y.primaryStateKey]:{},"body-state":y.bodyStateKey?t.states[y.deviceId+":"+y.bodyStateKey]:{},"is-popup":t.isPopup,"open-device-details":t.openDeviceDetails,error:y.bodyStateKey?t.errors[y.deviceId+":"+y.bodyStateKey]:void 0},null,8,["is-first-item","widget","device-config","module-config","primary-state","body-state","is-popup","open-device-details","error"])):y.type==="divider"?(openBlock(),createBlock(QSeparator,{key:2,class:"jarvis-StateListSeparator"})):createCommentVNode("",!0)],64))),128))]),_:1},8,["dense","class","style"])}var StateList=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J],["__scopeId","data-v-9b38fae8"]]),StateList$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateList},Symbol.toStringTag,{value:"Module"}));const _sfc_main$I=defineComponent({name:"DeviceDetailsPopup",components:{StateList},setup(){const t=useJarvis(),r=computed(()=>t.selectedDevice),o=computed(()=>{const u=[];for(const d in r.value.states){const g=r.value.states[d];if(g.hide===!0||g.state===void 0&&g.action===void 0)continue;const{label:v,...y}=g;u.push({id:uuidv5(r.value.id+":"+d,config$n.get("UUID")),type:"device",deviceId:r.value.id,bodyStateKey:d,primaryStateKey:d,...y,deviceStateDetails:!0})}return{items:u}});return{onClose:()=>t.set("selectedDeviceId",null),device:r,widget:o}}}),_hoisted_1$w={class:"text-h6"};function _sfc_render$I(t,r,o,a,u,d){const g=resolveComponent("state-list");return openBlock(),createBlock(QDialog,{"model-value":!!t.device.id,class:normalizeClass({"jarvis-popup-container":!0,["jarvis-device-"+t.device.id]:!0}),onHide:t.onClose},{default:withCtx(()=>[createVNode$1(QCard,{class:"column jarvis-popup",style:{width:"800px","max-width":"95vw","flex-wrap":"nowrap"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$w,toDisplayString$1(t.device.label||t.device.name),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:t.onClose},null,8,["onClick"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body",style:{"overflow-x":"hidden"}},{default:withCtx(()=>[createVNode$1(g,{"open-device-details":!1,widget:t.widget,"is-popup":""},null,8,["widget"])]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Close"),color:"primary",onClick:t.onClose},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value","class","onHide"])}var DeviceDetailsPopup=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$I]]);const usePageStickyProps={position:{type:String,default:"bottom-right",validator:t=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)},offset:{type:Array,validator:t=>t.length===2},expand:Boolean};function usePageSticky(){const{props:t,proxy:{$q:r}}=getCurrentInstance(),o=inject(layoutKey,emptyRenderFn);if(o===emptyRenderFn)return console.error("QPageSticky needs to be child of QLayout"),emptyRenderFn;const a=computed(()=>{const _=t.position;return{top:_.indexOf("top")!==-1,right:_.indexOf("right")!==-1,bottom:_.indexOf("bottom")!==-1,left:_.indexOf("left")!==-1,vertical:_==="top"||_==="bottom",horizontal:_==="left"||_==="right"}}),u=computed(()=>o.header.offset),d=computed(()=>o.right.offset),g=computed(()=>o.footer.offset),v=computed(()=>o.left.offset),y=computed(()=>{let _=0,w=0;const S=a.value,C=r.lang.rtl===!0?-1:1;S.top===!0&&u.value!==0?w=`${u.value}px`:S.bottom===!0&&g.value!==0&&(w=`${-g.value}px`),S.left===!0&&v.value!==0?_=`${C*v.value}px`:S.right===!0&&d.value!==0&&(_=`${-C*d.value}px`);const T={transform:`translate(${_}, ${w})`};return t.offset&&(T.margin=`${t.offset[1]}px ${t.offset[0]}px`),S.vertical===!0?(v.value!==0&&(T[r.lang.rtl===!0?"right":"left"]=`${v.value}px`),d.value!==0&&(T[r.lang.rtl===!0?"left":"right"]=`${d.value}px`)):S.horizontal===!0&&(u.value!==0&&(T.top=`${u.value}px`),g.value!==0&&(T.bottom=`${g.value}px`)),T}),A=computed(()=>`q-page-sticky row flex-center fixed-${t.position} q-page-sticky--${t.expand===!0?"expand":"shrink"}`);function b(_){const w=hSlot(_.default);return h("div",{class:A.value,style:y.value},t.expand===!0?w:[h("div",w)])}return{$layout:o,getStickyContent:b}}var QPageSticky=createComponent({name:"QPageSticky",props:usePageStickyProps,setup(t,{slots:r}){const{getStickyContent:o}=usePageSticky();return()=>o(r)}});function useFab(){const t=ref([18,18]),r=ref(!1);return{fabPos:t,draggingFab:r,moveFab:o=>{r.value=o.isFirst!==!0&&o.isFinal!==!0,t.value=[t.value[0]-o.delta.x,t.value[1]-o.delta.y]}}}function useJumper(){const t=useQuasar(),r=ref(!1);return{jumperIsOpen:r,jumperOpen:(a,u={})=>{const d=_default(a);r.value=!0;const g=d.map(v=>new Promise(y=>{const A=v.bodyStyle||"",b=(S,C)=>{v.icon=icon$n(C.icon||"mdi-file").replace("mdi:","mdi-"),y(v)},_=(S,C={})=>(v.style=C.bodyStyle,v.icon&&typeof v.icon=="object"?States.subscribe({config:{icon:v.icon}},b):v.icon?b({icon:v.icon}):y(v));States.subscribe({config:{bodyStyle:A}},_).length===0&&_()}));Promise.allSettled(g).then(v=>{const y=[];v.forEach(A=>{A.status==="fulfilled"&&y.push(A.value)}),t.bottomSheet({...u,actions:y}).onOk(A=>u.onSuccess&&u.onSuccess(A)).onCancel(()=>u.onCancel&&u.onCancel()).onDismiss(()=>{r.value=!1})})}}}const alignValues=["top","middle","bottom"];var QBadge=createComponent({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:t=>alignValues.includes(t)}},setup(t,{slots:r}){const o=computed(()=>t.align!==void 0?{verticalAlign:t.align}:null),a=computed(()=>{const u=t.outline===!0&&t.color||t.textColor;return`q-badge flex inline items-center no-wrap q-badge--${t.multiLine===!0?"multi":"single"}-line`+(t.outline===!0?" q-badge--outline":t.color!==void 0?` bg-${t.color}`:"")+(u!==void 0?` text-${u}`:"")+(t.floating===!0?" q-badge--floating":"")+(t.rounded===!0?" q-badge--rounded":"")+(t.transparent===!0?" q-badge--transparent":"")});return()=>h("div",{class:a.value,style:o.value,role:"status","aria-label":t.label},hMergeSlot(r.default,t.label!==void 0?[t.label]:[]))}}),Tabs_vue_vue_type_style_index_0_lang="";const _sfc_main$H=defineComponent({name:"Tabs",props:{pageId:{type:String,required:!0},options:{type:Object,default:()=>{}}},setup(t){const r=useQuasar(),o=useJarvis(),a=useNotifications(),u=Pro.isPro(),d=ref([]),g=(D,x)=>{const P=d.value.findIndex(G=>G.id===x.id);d.value[P]={...x}};watch(()=>o.watch.layout,()=>{const D=Cache$1.get("layout",[]).find(x=>x.id===t.pageId);d.value=_default(D.tabs);for(const x of d.value)x.config=_default(x),States.subscribe(x,g)},{immediate:!0});const v=computed(()=>o.drawerMiniMode),y=computed(()=>Cache$1.get("settings",{})),A=computed({get(){return o.getSelectedTabId},set(D){D&&o.set({selectedTabId:D})}}),b=ref([]),_=ref(!1),w=ref(!1),S=()=>{w.value=!r.platform.is.mobile},C=reactive([]),T=(D,x)=>{C[D]=x},I=D=>{const x=D&&D.width||r.screen.width;_.value=!1,b.value=[],C&&C.length&&y.value.tabsCollapse!==!1&&!r.platform.is.cordova&&!r.platform.is.capacitor?C.forEach((P,G)=>{if(P){const M=P.$el;M.style.display="inherit",(M.offsetLeft+M.offsetWidth+220>x||_.value===!0)&&(M.style.display="none",_.value=!0,b.value.push(d.value[G]))}}):C&&C.length&&y.value.tabsCollapse===!1&&C.forEach(P=>{if(P){const G=P.$el;G.style.display="inherit"}})};watch(()=>y.value.tabsCollapse,I);const E=D=>o.set("drawerSidebar",D),F=computed(()=>a.getUnread.length);return{setRef:T,elTabs:C,tabsWithResolvedBindings:d,selectedTabId:A,tabsHiddenDropdownEnabled:_,tabsHiddenDropdown:w,tabsHiddenShow:S,tabsHidden:b,toggleNotifications:D=>o.set("drawerNotifications",D),toggleSidebar:E,notificationsUnread:F,drawerMiniMode:v,settings:y,isPro:u,isMobile:r.platform.is.mobile===!0,onResize:I}}}),_hoisted_1$v={class:"row nowrap",style:{margin:"2px 0"}},_hoisted_2$n={key:0,class:"q-tab__label"},_hoisted_3$i={class:"q-tab__label"};function _sfc_render$H(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QTabs,{id:"tabBar",modelValue:t.selectedTabId,"onUpdate:modelValue":r[4]||(r[4]=v=>t.selectedTabId=v),"inline-label":"",dense:"",align:"left",style:normalizeStyle$1({"padding-left":(t.drawerMiniMode!==!0?0:5)+"px","padding-right":"48px"}),class:normalizeClass({"jarvis-tabs-container":!0,"jarvis-tabs-bottom":t.settings.tabsBottom===!0}),"content-class":"jarvis-tabs","indicator-color":"white"},{default:withCtx(()=>[createVNode$1(QResizeObserver,{onResize:t.onResize},null,8,["onResize"]),t.settings.drawerShowMenuButton!==!1?(openBlock(),createBlock(QBtn,{key:0,flat:"",dense:"",round:"",icon:"mdi-menu","aria-label":"Menu",class:normalizeClass(["q-ml-sm",{"lt-md":t.drawerMiniMode===!0}]),onClick:r[0]||(r[0]=v=>t.toggleSidebar(!0))},null,8,["class"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_1$v,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabsWithResolvedBindings,(v,y)=>(openBlock(),createBlock(QRouteTab,{key:v.id+"-"+v.revision,ref_for:!0,ref:A=>t.setRef(y,A),name:v.id,to:{params:{tabId:v.id}},style:normalizeStyle$1(t.isPro&&v.id===t.selectedTabId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{}),class:normalizeClass(["jarvis-tab",["jarvis-tab-"+v.id,t.isPro&&v.id===t.selectedTabId&&v.bodySelectedStyle&&v.bodySelectedStyle.display&&v.bodySelectedStyle.display.startsWith("none")?"hidden":"",t.isPro&&v.bodyStyle&&v.bodyStyle.display&&v.bodyStyle.display.startsWith("none")?"hidden":""]]),"content-class":t.settings.tabsDense?"dense":"normal"},{default:withCtx(()=>[withDirectives(createVNode$1(g,{name:v.icon,size:"xs",class:"tabIcon",style:normalizeStyle$1({margin:t.settings.tabsDense?"4px 4px 0 0":"0",...t.isPro&&v.id===t.selectedTabId&&v.iconSelectedStyle||t.isPro&&v.iconStyle||{}})},null,8,["name","style"]),[[vShow,v.icon]]),t.options.hideLabels!==!0?(openBlock(),createElementBlock("div",_hoisted_2$n,toDisplayString$1(v.title),1)):createCommentVNode("",!0)]),_:2},1032,["name","to","style","class","content-class"]))),128)),withDirectives(createVNode$1(QBtnDropdown,{modelValue:t.tabsHiddenDropdown,"onUpdate:modelValue":r[1]||(r[1]=v=>t.tabsHiddenDropdown=v),stretch:"",flat:"",onMouseover:r[2]||(r[2]=v=>t.tabsHiddenDropdown=t.isMobile?t.tabsHiddenDropdown:!0)},{label:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.settings.tabsDense?"dense":"normal")},[createVNode$1(g,{name:"mdi-tab-unselected",size:"xs",class:"tabIcon",style:normalizeStyle$1({margin:t.settings.tabsDense?"1px 5px 0 0":"-1px 0 1px 0"})},null,8,["style"]),createBaseVNode("div",_hoisted_3$i,toDisplayString$1(t.$t("More")+"..."),1)],2)]),default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.tabsHidden,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.id,clickable:"",class:normalizeClass({"q-tab--active":v.id===t.selectedTabId}),onClick:y=>t.selectedTabId=v.id},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:v.icon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),[[ClosePopup]])),128))]),_:1})]),_:1},8,["modelValue"]),[[vShow,t.tabsHiddenDropdownEnabled]])]),withDirectives(createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-bell","aria-label":"Notifications",class:"q-mr-sm notification-drawer-button",onClick:r[3]||(r[3]=v=>t.toggleNotifications(!0))},{default:withCtx(()=>[createVNode$1(QBadge,{color:"secondary",align:"middle",floating:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.notificationsUnread),1)]),_:1})]),_:1},512),[[vShow,t.isPro]])]),_:1},8,["modelValue","style","class"])}var Tabs=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H]]);function useFullscreen(t){const r=ref(),o=ref(!1),a=()=>{o.value=!0;const g=r.value;g.classList.add("isFullscreen"),g.style.overflow="auto";const v=g.querySelector(".jarvis-widget-scaler");v.dataset.height=v.style.height,v.style.height="auto"},u=()=>{o.value=!1;const g=r.value;g.classList.remove("isFullscreen"),g.style.overflow="initial";const v=g.querySelector(".jarvis-widget-scaler");v.style.height=v.dataset.height+"px",document.exitFullscreen?document.exitFullscreen().catch(y=>{}):document.mozCancelFullScreen?document.mozCancelFullScreen().catch(y=>{}):document.webkitCancelFullScreen&&document.webkitCancelFullScreen().catch(y=>{})};return watch(()=>r.value,()=>{r.value.addEventListener("fullscreenchange",()=>{document.fullscreenElement===null&&u()})}),{fullscreenElement:r,fullscreenActive:o,fullscreenToggle:g=>{g=typeof g=="boolean"?g:!o.value,Plugin.toggle(r.value).then(()=>{g===!1?u():a()}).catch(v=>{console.error(v)})}}}var Widget_vue_vue_type_style_index_0_lang="";const _sfc_main$G=defineComponent({name:"Widget",props:{fullscreen:{type:Boolean,default:!1},options:{type:Object,default:()=>{}},widgets:{type:Array,default:()=>[]},config:{type:Object,default:()=>{}},layout:{type:String,default:"desktop"},height:{type:Number,default:300}},setup(t){const r=useQuasar(),o=useRouter(),a=useJarvis(),u=toRef(t,"config")||{},d=computed(()=>{const H=u.value.alignmentHorizontal||"center",B=u.value.alignmentVertical||"top",z=u.value.scaleToFitContents!==void 0?u.value.scaleToFitContents:!0;return{h:H,v:B,fit:z}}),g=computed(()=>d.value.v!=="middle"?{}:{transform:"translateY(-50%)",position:"relative",top:"50%"}),v=computed(()=>[d.value.h==="center"?"50%":d.value.h==="right"?"100%":d.value.h,d.value.v==="middle"?"50%":d.value.v==="bottom"?"100%":d.value.v]),y=ref(null);let A=0;const b=ref(null);let _=0;const w=ref(null),{fullscreenElement:S,fullscreenActive:C,fullscreenToggle:T}=useFullscreen(),I=computed(()=>u.value.allowFullscreen||!1),E=reactive({width:"100%",height:"0px",containerHeight:"100%",maxHeight:"100%",intWidth:0,intHeight:0,intContainerHeight:0}),F=computed(()=>d.value.fit===!1||ScaleExceptions.includes(M.value.module)?{x:1,y:1}:{x:Math.min(1,r.screen.width/12*u.value.w/E.intWidth),y:Math.min(1,E.intContainerHeight/E.intHeight)}),O=computed(()=>C.value===!0?1:F.value.y{const H=t.fullscreen?{height:t.height}:{"-moz-transform":"scale("+O.value+")","-moz-transform-origin":v.value.join(" "),"-webkit-transform":"scale("+O.value+")","-webkit-transform-origin":v.value.join(" "),"-ms-transform":"scale("+O.value+")","-ms-transform-origin":v.value.join(" "),transform:"scale("+O.value+") !important","transform-origin":v.value.join(" ")};return d.value.v==="middle"&&(H.margin="auto"),r.screen.lt.lg||t.layout==="desktop"&&r.platform.is.mobile?{}:H}),x=H=>{var B;if(A=H.height,(B=t.options.widgetConfig)!=null&&B.desktopFitPageHeight){const z=A-_;E.containerHeight=z+"px",E.intContainerHeight=z}},P=H=>{var X;const B=document.querySelector(".jarvis-header");A=y.value&&y.value.$el?y.value.$el.offsetHeight:0,_=b.value&&b.value.$el?b.value.$el.offsetHeight+1:0,w.value&&w.value.$el&&w.value.$el.offsetHeight;let z=H.height&&H.height!==t.height?H.height:t.height-_;z=B&&t.fullscreen?r.screen.height-B.offsetHeight-_:z;const U=t.fullscreen?z:((X=t.options.widgetConfig)!=null&&X.desktopFitPageHeight?A:t.height)-_,Q=t.fullscreen||d.value.fit?void 0:t.height-_;Object.assign(E,{width:H.width+"px",height:z+"px",maxHeight:Q+"px",containerHeight:U+"px",intWidth:H.width,intHeight:z,intContainerHeight:U})};let G=null;window.onresize=()=>{G&&clearTimeout(G),G=setTimeout(()=>P({width:E.intWidth,height:E.intHeight}),100)};const M=ref(null);watch([()=>a.watch.layout,()=>a.watch.widgets],()=>{const H=Cache$1.get("widgets",{}),B=t.widgets&&t.widgets[0];B&&H[B]&&(M.value={options:t.options,...H[B]},P({width:E.intWidth,height:E.intHeight}))},{immediate:!0});const N=()=>{if(M.value.link&&(M.value.link.indexOf("http")>-1||M.value.link.indexOf("www")>-1)){const H=(M.value.link.indexOf("http")===-1?"http://":"")+M.value.link;window.open(H,"_blank")}else M.value.link&&o.push({params:{tabId:M.value.link}}).catch(H=>console.warn(H))},V=ref(!1);return{alignment:d,verticalAlignment:g,scaleStyle:D,containerSize:E,widget:M,widgetContainerElement:y,widgetTitleElement:b,widgetContentElement:w,jump:N,onResize:P,onContainerResize:x,onTapHandler:H=>{if(!V.value)return V.value=!0,setTimeout(()=>{V.value=!1},750),!1;H.preventDefault(),T()},tapped:V,fullscreenEnabled:I,fullscreenElement:S,fullscreenActive:C,fullscreenToggle:T}}});function _sfc_render$G(t,r,o,a,u,d){const g=resolveComponent("icon");return t.widget?(openBlock(),createElementBlock("div",{key:0,ref:"fullscreenElement",class:normalizeClass(["jarvis-widget-container",{["jarvis-widget-container-"+t.widget.id]:!0,tile:t.options.widgetEdges,paper:!t.options.widgetEdges,fullscreenEnabled:t.fullscreenEnabled}])},[t.fullscreenEnabled?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["fullscreener",{tapped:t.tapped,close:t.fullscreenActive}]),onClick:r[0]||(r[0]=(...v)=>t.fullscreenToggle&&t.fullscreenToggle(...v))},null,2)):createCommentVNode("",!0),createVNode$1(QCard,{ref:"widgetContainerElement",flat:"",class:normalizeClass(["jarvis-widget full-width full-height",{["jarvis-widget-module-"+t.widget.module]:!0,["jarvis-widget-"+t.widget.id]:!0}])},{default:withCtx(()=>[createVNode$1(QResizeObserver,{debounce:500,onResize:t.onContainerResize},null,8,["onResize"]),t.widget.hideTitle!==!0&&(t.widget.icon||t.widget.title)?(openBlock(),createBlock(QItem,{key:0,ref:"widgetTitleElement",class:"jarvis-widget-header",onTouchstart:r[1]||(r[1]=v=>t.fullscreenEnabled&&t.onTapHandler()),onDblclick:r[2]||(r[2]=v=>t.fullscreenEnabled&&t.fullscreenToggle())},{default:withCtx(()=>[t.widget.icon?(openBlock(),createBlock(QItemSection,{key:0,side:"",class:normalizeClass({"cursor-pointer":t.widget.link}),onClick:t.jump},{default:withCtx(()=>[createVNode$1(QAvatar,{square:t.options.widgetEdges,rounded:!t.options.widgetEdges,class:"jarvis-widget-icon","font-size":"24px"},{default:withCtx(()=>[createVNode$1(g,{name:t.widget.icon},null,8,["name"])]),_:1},8,["square","rounded"])]),_:1},8,["class","onClick"])):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:normalizeClass(["text-h6",{"cursor-pointer":t.widget.link}]),onClick:t.jump},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.widget.label||t.widget.title),1)]),_:1},8,["class","onClick"])]),_:1})]),_:1},512)):createCommentVNode("",!0),t.widget.hideSeparator!==!0&&t.widget.hideTitle!==!0&&(t.widget.icon||t.widget.title)?(openBlock(),createBlock(QSeparator,{key:1})):createCommentVNode("",!0),createVNode$1(QCardSection,{ref:"widgetContentElement",horizontal:"",class:"jarvis-widget-content",style:normalizeStyle$1(t.alignment.fit===!1?{"overflow-y":"auto",...t.verticalAlignment}:t.verticalAlignment)},{default:withCtx(()=>[createVNode$1(QResizeObserver,{debounce:500,onResize:t.onResize},null,8,["onResize"]),createBaseVNode("div",{class:"jarvis-widget-scaler full-width",style:normalizeStyle$1(t.scaleStyle)},[(openBlock(),createBlock(resolveDynamicComponent(t.widget.module),{key:t.widget.revision,class:"full-width",widget:t.widget,options:t.options,fullscreen:t.fullscreen,alignment:t.alignment,"widget-size":t.containerSize,"container-size":t.containerSize},null,8,["widget","options","fullscreen","alignment","widget-size","container-size"]))],4)]),_:1},8,["style"])]),_:1},8,["class"])],2)):createCommentVNode("",!0)}var Widget=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G]]),TabPanel_vue_vue_type_style_index_0_lang="";const _sfc_main$F=defineComponent({name:"TabPanel",components:{Widget},props:{pageId:{type:String,required:!0},tabId:{type:String,required:!0}},setup(t){const r=useJarvis(),a=useQuasar().platform.is.mobile,u=!1,d=ref({});watch(()=>r.watch.layout,()=>{const C=Cache$1.get("layout",[]).find(T=>T.id===t.pageId);d.value=C.tabs.find(T=>T.id===t.tabId)},{immediate:!0});const g=computed(()=>d.value.widgetConfig||{}),v=computed(()=>Math.max(a&&g.value.smartphoneGapSize||u||g.value.desktopGapSize||5,0)),y=computed(()=>{let C=[];return a&&g.value.smartphoneSameAs==="specific-layout"||u?C=d.value.widgetsSmartphone||[]:a&&g.value.smartphoneSameAs==="tablet"?C=d.value.widgetsTablet||[]:C=d.value.widgetsDesktop||[],C}),A=computed(()=>Math.max.apply(Math,y.value.map(C=>C.y+C.h))),b=computed(()=>y.value&&y.value[0]||{}),_=computed(()=>(a?g.value.smartphoneFitPageHeight:g.value.desktopFitPageHeight)||!1),w=computed(()=>a&&g.value.smartphoneWidgetHeight||u||g.value.desktopWidgetHeight||50),S=computed(()=>a&&g.value.smartphoneSameAs==="specific-layout"||u?"smartphone":a&&g.value.smartphoneSameAs==="tablet"?"tablet":"desktop");return{tab:d,tabOptions:computed(()=>({_tab:toRaw(d.value),pageId:t.pageId,tabId:d.value.id,widgetEdges:d.value.widgetEdges,widgetConfig:toRaw(g.value)})),totalWidgetRows:A,fullscreenContainer:b,fitPageHeight:_,widgetGap:v,widgetHeight:w,widgetLayout:S,widgetContainers:y}}}),_hoisted_1$u={key:1,class:"jarvis-page-fullscreen"};function _sfc_render$F(t,r,o,a,u,d){const g=resolveComponent("widget");return openBlock(),createElementBlock("div",{class:normalizeClass({["jarvis-page-"+t.pageId]:!0,["jarvis-tab-"+t.tab.id]:!0})},[t.tab.fullscreen!==!0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["container",t.widgetLayout]),style:normalizeStyle$1({gridTemplateRows:t.fitPageHeight?"repeat(12, 1fr)":"repeat("+t.totalWidgetRows+", "+t.widgetHeight+"px)",columnGap:t.widgetGap+"px",rowGap:t.widgetGap+"px",padding:t.widgetGap+"px",height:t.fitPageHeight?"calc(100vh - 60px)":"auto"})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.widgetContainers,v=>(openBlock(),createElementBlock(Fragment,null,[v&&v.items&&v.items.length>0?(openBlock(),createElementBlock("div",{key:v.i,style:normalizeStyle$1({gridArea:v.y+1+" / "+(v.x+1)+" / span "+v.h+" / span "+v.w}),class:"box"},[createVNode$1(g,{options:t.tabOptions,widgets:v.items||[],config:v,layout:t.widgetLayout,height:v.h*t.widgetHeight+(v.h-1)*t.widgetGap},null,8,["options","widgets","config","layout","height"])],4)):createCommentVNode("",!0)],64))),256))],6)):(openBlock(),createElementBlock("div",_hoisted_1$u,[createVNode$1(g,{fullscreen:"",options:t.tabOptions,widgets:t.fullscreenContainer.items||[],config:t.fullscreenContainer,layout:t.widgetLayout},null,8,["options","widgets","config","layout"])]))],2)}var TabPanel=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$F]]),Page_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$E=defineComponent({name:"Page",components:{Tabs,TabPanel},props:{pageId:{type:String,required:!0}},setup(t){const r=useQuasar(),o=useI18n(),a=useRouter(),u=useRoute(),d=useJarvis(),g=r.platform.is.mobile,v=computed(()=>d.drawerMiniMode),y=computed(()=>Cache$1.get("settings",{})),A=ref({});watch(()=>d.watch.layout,()=>{A.value=Cache$1.get("layout",[]).find(T=>T.id===t.pageId)},{immediate:!0});const b=computed({get(){return"tab-"+d.getSelectedTabId},set(T){T&&a.push({params:{tabId:T.replace("tab-","")}})}}),{jumperOpen:_}=useJumper(),w=(T,I,E)=>{const F=I.id;a.push({params:{...u.params,tabId:F}}).then(()=>{if(E.id!=="_root"){const O=g&&I.widgetConfig.smartphoneWidgetHeight||I.widgetConfig.desktopWidgetHeight||50,D=document.querySelector(".jarvis-header"),x=D&&D.offsetHeight?D.offsetHeight:0;setTimeout(()=>window.scrollTo(0,E.y*O+x+1),100)}}).catch(O=>{console.warn("Page",O.message)})},S=(T,I)=>{let E=I.widgetConfig&&I.widgetConfig.smartphoneSameAs==="specific-layout"&&r.platform.is.mobile?I.widgetsSmartphone:I.widgetsDesktop;E=d.getWidgets(E),E=E.concat([{},{color:"primary",icon:"mdi-tab",label:o.t("Jump directly to")+" "+I.label,id:"_root"}]),_(E,{class:"jarvis-quick-jumper",message:T.title+" / "+I.title+": "+o.t("Widgets"),onSuccess:F=>w(T,I,F)})},C=T=>{const I=d.getTabs(T);_(I,{class:"jarvis-quick-jumper",message:T.title+": "+o.t("Tabs"),onSuccess:E=>S(T,E)})};return{...useFab(),jumperOpen:()=>_(d.getPages,{class:"jarvis-quick-jumper",message:o.t("Pages"),onSuccess:C}),drawerMiniMode:v,onHeaderReveals:T=>{d.set("headerVisible",T)},isSmartphone:g,page:A,pageOptions:computed(()=>({hideLabels:A.value.hideLabels})),selectedTabId:b,tabAnimated:computed(()=>y.value.tabsSwipeAnimation==="always"||(!y.value.tabsSwipeAnimation||y.value.tabsSwipeAnimation==="mobile")&&g),tabSwipeable:computed(()=>y.value.tabsSwipe==="always"||(!y.value.tabsSwipe||y.value.tabsSwipe==="mobile")&&g),settings:y,connection:computed(()=>d.connection)}}});function _sfc_render$E(t,r,o,a,u,d){const g=resolveComponent("Tabs"),v=resolveComponent("TabPanel");return openBlock(),createBlock(QPageContainer,{style:{"padding-top":"0"}},{default:withCtx(()=>[t.settings.tabsBottom!==!0?withDirectives((openBlock(),createBlock(QHeader,{key:0,class:"jarvis-header text-white",bordered:"",reveal:t.settings.tabsShow==="hide",onReveal:t.onHeaderReveals},{default:withCtx(()=>[createVNode$1(g,{"page-id":t.pageId,options:t.pageOptions},null,8,["page-id","options"])]),_:1},8,["reveal","onReveal"])),[[vShow,t.drawerMiniMode!==!0||t.drawerMiniMode===!0]]):withDirectives((openBlock(),createBlock(QFooter,{key:1,class:"jarvis-footer text-white",bordered:"",reveal:t.settings.tabsShow==="hide",onReveal:t.onHeaderReveals},{default:withCtx(()=>[createVNode$1(g,{"page-id":t.pageId,options:t.pageOptions},null,8,["page-id","options"])]),_:1},8,["reveal","onReveal"])),[[vShow,t.drawerMiniMode!==!0||t.drawerMiniMode===!0]]),createVNode$1(QPage,{class:"jarvis-page jarvis-body"},{default:withCtx(()=>[createVNode$1(QTabPanels,{modelValue:t.selectedTabId,"onUpdate:modelValue":r[0]||(r[0]=y=>t.selectedTabId=y),"keep-alive":!1,animated:t.tabAnimated,swipeable:t.tabSwipeable,style:{"background-color":"transparent"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.page.tabs,y=>(openBlock(),createBlock(QTabPanel,{key:y.id,name:"tab-"+y.id,style:normalizeStyle$1({padding:0,"margin-top":t.settings.tabsBottom?0:t.settings.tabsDense?"40px":"60px"})},{default:withCtx(()=>[createVNode$1(v,{"page-id":t.pageId,"tab-id":y.id},null,8,["page-id","tab-id"])]),_:2},1032,["name","style"]))),128))]),_:1},8,["modelValue","animated","swipeable"]),createVNode$1(QPageSticky,{position:"bottom-left",offset:[18,18],style:{"z-index":"5999"}},{default:withCtx(()=>[createVNode$1(TransitionGroup,{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{key:"fab-connection",fab:"",icon:t.connection==="connected"||t.connection==="established"?"mdi-lan-check":"mdi-lan-disconnect",color:t.connection==="connected"||t.connection==="established"?"positive":"negative"},null,8,["icon","color"]),[[vShow,t.connection!=="connected"]])]),_:1})]),_:1}),withDirectives(createVNode$1(QPageSticky,{position:"bottom-right",offset:t.fabPos,style:{"z-index":"5999"}},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{fab:"",icon:"mdi-tab-search",color:"accent",disable:t.draggingFab,onClick:r[1]||(r[1]=withModifiers(y=>t.jumperOpen(),["stop"]))},null,8,["disable"]),[[TouchPan,t.moveFab,void 0,{prevent:!0,mouse:!0}]])]),_:1},8,["offset"]),[[vShow,t.settings.quickJumper==="always"||t.isSmartphone&&t.settings.quickJumper==="mobile"]])]),_:1})]),_:1})}var Page=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$E],["__scopeId","data-v-766dcf73"]]);const sides=["top","right","bottom","left"],alignments=["start","end"],placements$1=sides.reduce((t,r)=>t.concat(r,r+"-"+alignments[0],r+"-"+alignments[1]),[]),min$3=Math.min,max$3=Math.max,round$5=Math.round,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$2(t,r,o){return max$3(t,min$3(r,o))}function evaluate(t,r){return typeof t=="function"?t(r):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return t==="x"?"y":"x"}function getAxisLength(t){return t==="y"?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,r,o){o===void 0&&(o=!1);const a=getAlignment(t),u=getAlignmentAxis(t),d=getAxisLength(u);let g=u==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[d]>r.floating[d]&&(g=getOppositePlacement$1(g)),[g,getOppositePlacement$1(g)]}function getExpandedPlacements(t){const r=getOppositePlacement$1(t);return[getOppositeAlignmentPlacement(t),r,getOppositeAlignmentPlacement(r)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,r=>oppositeAlignmentMap[r])}function getSideList(t,r,o){const a=["left","right"],u=["right","left"],d=["top","bottom"],g=["bottom","top"];switch(t){case"top":case"bottom":return o?r?u:a:r?a:u;case"left":case"right":return r?d:g;default:return[]}}function getOppositeAxisPlacements(t,r,o,a){const u=getAlignment(t);let d=getSideList(getSide(t),o==="start",a);return u&&(d=d.map(g=>g+"-"+u),r&&(d=d.concat(d.map(getOppositeAlignmentPlacement)))),d}function getOppositePlacement$1(t){return t.replace(/left|right|bottom|top/g,r=>oppositeSideMap[r])}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return typeof t!="number"?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect$1(t){const{x:r,y:o,width:a,height:u}=t;return{width:a,height:u,top:o,left:r,right:r+a,bottom:o+u,x:r,y:o}}function computeCoordsFromPlacement(t,r,o){let{reference:a,floating:u}=t;const d=getSideAxis(r),g=getAlignmentAxis(r),v=getAxisLength(g),y=getSide(r),A=d==="y",b=a.x+a.width/2-u.width/2,_=a.y+a.height/2-u.height/2,w=a[v]/2-u[v]/2;let S;switch(y){case"top":S={x:b,y:a.y-u.height};break;case"bottom":S={x:b,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y:_};break;case"left":S={x:a.x-u.width,y:_};break;default:S={x:a.x,y:a.y}}switch(getAlignment(r)){case"start":S[g]-=w*(o&&A?-1:1);break;case"end":S[g]+=w*(o&&A?-1:1);break}return S}const computePosition$1=async(t,r,o)=>{const{placement:a="bottom",strategy:u="absolute",middleware:d=[],platform:g}=o,v=d.filter(Boolean),y=await(g.isRTL==null?void 0:g.isRTL(r));let A=await g.getElementRects({reference:t,floating:r,strategy:u}),{x:b,y:_}=computeCoordsFromPlacement(A,a,y),w=a,S={},C=0;for(let T=0;T({name:"arrow",options:t,async fn(r){const{x:o,y:a,placement:u,rects:d,platform:g,elements:v,middlewareData:y}=r,{element:A,padding:b=0}=evaluate(t,r)||{};if(A==null)return{};const _=getPaddingObject(b),w={x:o,y:a},S=getAlignmentAxis(u),C=getAxisLength(S),T=await g.getDimensions(A),I=S==="y",E=I?"top":"left",F=I?"bottom":"right",O=I?"clientHeight":"clientWidth",D=d.reference[C]+d.reference[S]-w[S]-d.floating[C],x=w[S]-d.reference[S],P=await(g.getOffsetParent==null?void 0:g.getOffsetParent(A));let G=P?P[O]:0;(!G||!await(g.isElement==null?void 0:g.isElement(P)))&&(G=v.floating[O]||d.floating[C]);const M=D/2-x/2,N=G/2-T[C]/2-1,V=min$3(_[E],N),Z=min$3(_[F],N),H=V,B=G-T[C]-Z,z=G/2-T[C]/2+M,U=clamp$2(H,z,B),Q=!y.arrow&&getAlignment(u)!=null&&z!==U&&d.reference[C]/2-(zgetAlignment(u)===t),...o.filter(u=>getAlignment(u)!==t)]:o.filter(u=>getSide(u)===u)).filter(u=>t?getAlignment(u)===t||(r?getOppositeAlignmentPlacement(u)!==u:!1):!0)}const autoPlacement=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var o,a,u;const{rects:d,middlewareData:g,placement:v,platform:y,elements:A}=r,{crossAxis:b=!1,alignment:_,allowedPlacements:w=placements$1,autoAlignment:S=!0,...C}=evaluate(t,r),T=_!==void 0||w===placements$1?getPlacementList(_||null,S,w):w,I=await detectOverflow$1(r,C),E=((o=g.autoPlacement)==null?void 0:o.index)||0,F=T[E];if(F==null)return{};const O=getAlignmentSides(F,d,await(y.isRTL==null?void 0:y.isRTL(A.floating)));if(v!==F)return{reset:{placement:T[0]}};const D=[I[getSide(F)],I[O[0]],I[O[1]]],x=[...((a=g.autoPlacement)==null?void 0:a.overflows)||[],{placement:F,overflows:D}],P=T[E+1];if(P)return{data:{index:E+1,overflows:x},reset:{placement:P}};const G=x.map(V=>{const Z=getAlignment(V.placement);return[V.placement,Z&&b?V.overflows.slice(0,2).reduce((H,B)=>H+B,0):V.overflows[0],V.overflows]}).sort((V,Z)=>V[1]-Z[1]),N=((u=G.filter(V=>V[2].slice(0,getAlignment(V[0])?2:3).every(Z=>Z<=0))[0])==null?void 0:u[0])||G[0][0];return N!==v?{data:{index:E+1,overflows:x},reset:{placement:N}}:{}}}},flip$2=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var o,a;const{placement:u,middlewareData:d,rects:g,initialPlacement:v,platform:y,elements:A}=r,{mainAxis:b=!0,crossAxis:_=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:T=!0,...I}=evaluate(t,r);if((o=d.arrow)!=null&&o.alignmentOffset)return{};const E=getSide(u),F=getSideAxis(v),O=getSide(v)===v,D=await(y.isRTL==null?void 0:y.isRTL(A.floating)),x=w||(O||!T?[getOppositePlacement$1(v)]:getExpandedPlacements(v)),P=C!=="none";!w&&P&&x.push(...getOppositeAxisPlacements(v,T,C,D));const G=[v,...x],M=await detectOverflow$1(r,I),N=[];let V=((a=d.flip)==null?void 0:a.overflows)||[];if(b&&N.push(M[E]),_){const z=getAlignmentSides(u,g,D);N.push(M[z[0]],M[z[1]])}if(V=[...V,{placement:u,overflows:N}],!N.every(z=>z<=0)){var Z,H;const z=(((Z=d.flip)==null?void 0:Z.index)||0)+1,U=G[z];if(U)return{data:{index:z,overflows:V},reset:{placement:U}};let Q=(H=V.filter(X=>X.overflows[0]<=0).sort((X,J)=>X.overflows[1]-J.overflows[1])[0])==null?void 0:H.placement;if(!Q)switch(S){case"bestFit":{var B;const X=(B=V.filter(J=>{if(P){const ne=getSideAxis(J.placement);return ne===F||ne==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(ne=>ne>0).reduce((ne,te)=>ne+te,0)]).sort((J,ne)=>J[1]-ne[1])[0])==null?void 0:B[0];X&&(Q=X);break}case"initialPlacement":Q=v;break}if(u!==Q)return{reset:{placement:Q}}}return{}}}};function getSideOffsets$1(t,r){return{top:t.top-r.height,right:t.right-r.width,bottom:t.bottom-r.height,left:t.left-r.width}}function isAnySideFullyClipped$1(t){return sides.some(r=>t[r]>=0)}const hide$2=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(r){const{rects:o}=r,{strategy:a="referenceHidden",...u}=evaluate(t,r);switch(a){case"referenceHidden":{const d=await detectOverflow$1(r,{...u,elementContext:"reference"}),g=getSideOffsets$1(d,o.reference);return{data:{referenceHiddenOffsets:g,referenceHidden:isAnySideFullyClipped$1(g)}}}case"escaped":{const d=await detectOverflow$1(r,{...u,altBoundary:!0}),g=getSideOffsets$1(d,o.floating);return{data:{escapedOffsets:g,escaped:isAnySideFullyClipped$1(g)}}}default:return{}}}}};function getBoundingRect$1(t){const r=min$3(...t.map(d=>d.left)),o=min$3(...t.map(d=>d.top)),a=max$3(...t.map(d=>d.right)),u=max$3(...t.map(d=>d.bottom));return{x:r,y:o,width:a-r,height:u-o}}function getRectsByLine(t){const r=t.slice().sort((u,d)=>u.y-d.y),o=[];let a=null;for(let u=0;ua.height/2?o.push([d]):o[o.length-1].push(d),a=d}return o.map(u=>rectToClientRect$1(getBoundingRect$1(u)))}const inline=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(r){const{placement:o,elements:a,rects:u,platform:d,strategy:g}=r,{padding:v=2,x:y,y:A}=evaluate(t,r),b=Array.from(await(d.getClientRects==null?void 0:d.getClientRects(a.reference))||[]),_=getRectsByLine(b),w=rectToClientRect$1(getBoundingRect$1(b)),S=getPaddingObject(v);function C(){if(_.length===2&&_[0].left>_[1].right&&y!=null&&A!=null)return _.find(I=>y>I.left-S.left&&yI.top-S.top&&A=2){if(getSideAxis(o)==="y"){const V=_[0],Z=_[_.length-1],H=getSide(o)==="top",B=V.top,z=Z.bottom,U=H?V.left:Z.left,Q=H?V.right:Z.right,X=Q-U,J=z-B;return{top:B,bottom:z,left:U,right:Q,width:X,height:J,x:U,y:B}}const I=getSide(o)==="left",E=max$3(..._.map(V=>V.right)),F=min$3(..._.map(V=>V.left)),O=_.filter(V=>I?V.left===F:V.right===E),D=O[0].top,x=O[O.length-1].bottom,P=F,G=E,M=G-P,N=x-D;return{top:D,bottom:x,left:P,right:G,width:M,height:N,x:P,y:D}}return w}const T=await d.getElementRects({reference:{getBoundingClientRect:C},floating:a.floating,strategy:g});return u.reference.x!==T.reference.x||u.reference.y!==T.reference.y||u.reference.width!==T.reference.width||u.reference.height!==T.reference.height?{reset:{rects:T}}:{}}}};async function convertValueToCoords(t,r){const{placement:o,platform:a,elements:u}=t,d=await(a.isRTL==null?void 0:a.isRTL(u.floating)),g=getSide(o),v=getAlignment(o),y=getSideAxis(o)==="y",A=["left","top"].includes(g)?-1:1,b=d&&y?-1:1,_=evaluate(r,t);let{mainAxis:w,crossAxis:S,alignmentAxis:C}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,..._};return v&&typeof C=="number"&&(S=v==="end"?C*-1:C),y?{x:S*b,y:w*A}:{x:w*A,y:S*b}}const offset$3=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var o,a;const{x:u,y:d,placement:g,middlewareData:v}=r,y=await convertValueToCoords(r,t);return g===((o=v.offset)==null?void 0:o.placement)&&(a=v.arrow)!=null&&a.alignmentOffset?{}:{x:u+y.x,y:d+y.y,data:{...y,placement:g}}}}},shift=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:o,y:a,placement:u}=r,{mainAxis:d=!0,crossAxis:g=!1,limiter:v={fn:I=>{let{x:E,y:F}=I;return{x:E,y:F}}},...y}=evaluate(t,r),A={x:o,y:a},b=await detectOverflow$1(r,y),_=getSideAxis(getSide(u)),w=getOppositeAxis(_);let S=A[w],C=A[_];if(d){const I=w==="y"?"top":"left",E=w==="y"?"bottom":"right",F=S+b[I],O=S-b[E];S=clamp$2(F,S,O)}if(g){const I=_==="y"?"top":"left",E=_==="y"?"bottom":"right",F=C+b[I],O=C-b[E];C=clamp$2(F,C,O)}const T=v.fn({...r,[w]:S,[_]:C});return{...T,data:{x:T.x-o,y:T.y-a}}}}},limitShift=function(t){return t===void 0&&(t={}),{options:t,fn(r){const{x:o,y:a,placement:u,rects:d,middlewareData:g}=r,{offset:v=0,mainAxis:y=!0,crossAxis:A=!0}=evaluate(t,r),b={x:o,y:a},_=getSideAxis(u),w=getOppositeAxis(_);let S=b[w],C=b[_];const T=evaluate(v,r),I=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(y){const O=w==="y"?"height":"width",D=d.reference[w]-d.floating[O]+I.mainAxis,x=d.reference[w]+d.reference[O]-I.mainAxis;Sx&&(S=x)}if(A){var E,F;const O=w==="y"?"width":"height",D=["top","left"].includes(getSide(u)),x=d.reference[_]-d.floating[O]+(D&&((E=g.offset)==null?void 0:E[_])||0)+(D?0:I.crossAxis),P=d.reference[_]+d.reference[O]+(D?0:((F=g.offset)==null?void 0:F[_])||0)-(D?I.crossAxis:0);CP&&(C=P)}return{[w]:S,[_]:C}}}},size=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){const{placement:o,rects:a,platform:u,elements:d}=r,{apply:g=()=>{},...v}=evaluate(t,r),y=await detectOverflow$1(r,v),A=getSide(o),b=getAlignment(o),_=getSideAxis(o)==="y",{width:w,height:S}=a.floating;let C,T;A==="top"||A==="bottom"?(C=A,T=b===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(T=A,C=b==="end"?"top":"bottom");const I=S-y.top-y.bottom,E=w-y.left-y.right,F=min$3(S-y[C],I),O=min$3(w-y[T],E),D=!r.middlewareData.shift;let x=F,P=O;if(_?P=b||D?min$3(O,E):E:x=b||D?min$3(F,I):I,D&&!b){const M=max$3(y.left,0),N=max$3(y.right,0),V=max$3(y.top,0),Z=max$3(y.bottom,0);_?P=w-2*(M!==0||N!==0?M+N:max$3(y.left,y.right)):x=S-2*(V!==0||Z!==0?V+Z:max$3(y.top,y.bottom))}await g({...r,availableWidth:P,availableHeight:x});const G=await u.getDimensions(d.floating);return w!==G.width||S!==G.height?{reset:{rects:!0}}:{}}}};function getNodeName$1(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow$1(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function getDocumentElement$1(t){var r;return(r=(isNode(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow$1(t).Node}function isElement$1(t){return t instanceof Element||t instanceof getWindow$1(t).Element}function isHTMLElement$1(t){return t instanceof HTMLElement||t instanceof getWindow$1(t).HTMLElement}function isShadowRoot$1(t){return typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof getWindow$1(t).ShadowRoot}function isOverflowElement(t){const{overflow:r,overflowX:o,overflowY:a,display:u}=getComputedStyle$3(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+o)&&!["inline","contents"].includes(u)}function isTableElement$1(t){return["table","td","th"].includes(getNodeName$1(t))}function isTopLayer(t){return[":popover-open",":modal"].some(r=>{try{return t.matches(r)}catch(o){return!1}})}function isContainingBlock(t){const r=isWebKit(),o=isElement$1(t)?getComputedStyle$3(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(o.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(o.contain||"").includes(a))}function getContainingBlock$1(t){let r=getParentNode$1(t);for(;isHTMLElement$1(r)&&!isLastTraversableNode(r);){if(isContainingBlock(r))return r;if(isTopLayer(r))return null;r=getParentNode$1(r)}return null}function isWebKit(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName$1(t))}function getComputedStyle$3(t){return getWindow$1(t).getComputedStyle(t)}function getNodeScroll$1(t){return isElement$1(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function getParentNode$1(t){if(getNodeName$1(t)==="html")return t;const r=t.assignedSlot||t.parentNode||isShadowRoot$1(t)&&t.host||getDocumentElement$1(t);return isShadowRoot$1(r)?r.host:r}function getNearestOverflowAncestor(t){const r=getParentNode$1(t);return isLastTraversableNode(r)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement$1(r)&&isOverflowElement(r)?r:getNearestOverflowAncestor(r)}function getOverflowAncestors(t,r,o){var a;r===void 0&&(r=[]),o===void 0&&(o=!0);const u=getNearestOverflowAncestor(t),d=u===((a=t.ownerDocument)==null?void 0:a.body),g=getWindow$1(u);if(d){const v=getFrameElement(g);return r.concat(g,g.visualViewport||[],isOverflowElement(u)?u:[],v&&o?getOverflowAncestors(v):[])}return r.concat(u,getOverflowAncestors(u,[],o))}function getFrameElement(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function getCssDimensions(t){const r=getComputedStyle$3(t);let o=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const u=isHTMLElement$1(t),d=u?t.offsetWidth:o,g=u?t.offsetHeight:a,v=round$5(o)!==d||round$5(a)!==g;return v&&(o=d,a=g),{width:o,height:a,$:v}}function unwrapElement(t){return isElement$1(t)?t:t.contextElement}function getScale(t){const r=unwrapElement(t);if(!isHTMLElement$1(r))return createCoords(1);const o=r.getBoundingClientRect(),{width:a,height:u,$:d}=getCssDimensions(r);let g=(d?round$5(o.width):o.width)/a,v=(d?round$5(o.height):o.height)/u;return(!g||!Number.isFinite(g))&&(g=1),(!v||!Number.isFinite(v))&&(v=1),{x:g,y:v}}const noOffsets=createCoords(0);function getVisualOffsets(t){const r=getWindow$1(t);return!isWebKit()||!r.visualViewport?noOffsets:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function shouldAddVisualOffsets(t,r,o){return r===void 0&&(r=!1),!o||r&&o!==getWindow$1(t)?!1:r}function getBoundingClientRect$1(t,r,o,a){r===void 0&&(r=!1),o===void 0&&(o=!1);const u=t.getBoundingClientRect(),d=unwrapElement(t);let g=createCoords(1);r&&(a?isElement$1(a)&&(g=getScale(a)):g=getScale(t));const v=shouldAddVisualOffsets(d,o,a)?getVisualOffsets(d):createCoords(0);let y=(u.left+v.x)/g.x,A=(u.top+v.y)/g.y,b=u.width/g.x,_=u.height/g.y;if(d){const w=getWindow$1(d),S=a&&isElement$1(a)?getWindow$1(a):a;let C=w,T=getFrameElement(C);for(;T&&a&&S!==C;){const I=getScale(T),E=T.getBoundingClientRect(),F=getComputedStyle$3(T),O=E.left+(T.clientLeft+parseFloat(F.paddingLeft))*I.x,D=E.top+(T.clientTop+parseFloat(F.paddingTop))*I.y;y*=I.x,A*=I.y,b*=I.x,_*=I.y,y+=O,A+=D,C=getWindow$1(T),T=getFrameElement(C)}}return rectToClientRect$1({width:b,height:_,x:y,y:A})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:r,rect:o,offsetParent:a,strategy:u}=t;const d=u==="fixed",g=getDocumentElement$1(a),v=r?isTopLayer(r.floating):!1;if(a===g||v&&d)return o;let y={scrollLeft:0,scrollTop:0},A=createCoords(1);const b=createCoords(0),_=isHTMLElement$1(a);if((_||!_&&!d)&&((getNodeName$1(a)!=="body"||isOverflowElement(g))&&(y=getNodeScroll$1(a)),isHTMLElement$1(a))){const w=getBoundingClientRect$1(a);A=getScale(a),b.x=w.x+a.clientLeft,b.y=w.y+a.clientTop}return{width:o.width*A.x,height:o.height*A.y,x:o.x*A.x-y.scrollLeft*A.x+b.x,y:o.y*A.y-y.scrollTop*A.y+b.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX$1(t){return getBoundingClientRect$1(getDocumentElement$1(t)).left+getNodeScroll$1(t).scrollLeft}function getDocumentRect$1(t){const r=getDocumentElement$1(t),o=getNodeScroll$1(t),a=t.ownerDocument.body,u=max$3(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),d=max$3(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+getWindowScrollBarX$1(t);const v=-o.scrollTop;return getComputedStyle$3(a).direction==="rtl"&&(g+=max$3(r.clientWidth,a.clientWidth)-u),{width:u,height:d,x:g,y:v}}function getViewportRect$1(t,r){const o=getWindow$1(t),a=getDocumentElement$1(t),u=o.visualViewport;let d=a.clientWidth,g=a.clientHeight,v=0,y=0;if(u){d=u.width,g=u.height;const A=isWebKit();(!A||A&&r==="fixed")&&(v=u.offsetLeft,y=u.offsetTop)}return{width:d,height:g,x:v,y}}function getInnerBoundingClientRect$1(t,r){const o=getBoundingClientRect$1(t,!0,r==="fixed"),a=o.top+t.clientTop,u=o.left+t.clientLeft,d=isHTMLElement$1(t)?getScale(t):createCoords(1),g=t.clientWidth*d.x,v=t.clientHeight*d.y,y=u*d.x,A=a*d.y;return{width:g,height:v,x:y,y:A}}function getClientRectFromClippingAncestor(t,r,o){let a;if(r==="viewport")a=getViewportRect$1(t,o);else if(r==="document")a=getDocumentRect$1(getDocumentElement$1(t));else if(isElement$1(r))a=getInnerBoundingClientRect$1(r,o);else{const u=getVisualOffsets(t);a={...r,x:r.x-u.x,y:r.y-u.y}}return rectToClientRect$1(a)}function hasFixedPositionAncestor(t,r){const o=getParentNode$1(t);return o===r||!isElement$1(o)||isLastTraversableNode(o)?!1:getComputedStyle$3(o).position==="fixed"||hasFixedPositionAncestor(o,r)}function getClippingElementAncestors(t,r){const o=r.get(t);if(o)return o;let a=getOverflowAncestors(t,[],!1).filter(v=>isElement$1(v)&&getNodeName$1(v)!=="body"),u=null;const d=getComputedStyle$3(t).position==="fixed";let g=d?getParentNode$1(t):t;for(;isElement$1(g)&&!isLastTraversableNode(g);){const v=getComputedStyle$3(g),y=isContainingBlock(g);!y&&v.position==="fixed"&&(u=null),(d?!y&&!u:!y&&v.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||isOverflowElement(g)&&!y&&hasFixedPositionAncestor(t,g))?a=a.filter(b=>b!==g):u=v,g=getParentNode$1(g)}return r.set(t,a),a}function getClippingRect$1(t){let{element:r,boundary:o,rootBoundary:a,strategy:u}=t;const g=[...o==="clippingAncestors"?isTopLayer(r)?[]:getClippingElementAncestors(r,this._c):[].concat(o),a],v=g[0],y=g.reduce((A,b)=>{const _=getClientRectFromClippingAncestor(r,b,u);return A.top=max$3(_.top,A.top),A.right=min$3(_.right,A.right),A.bottom=min$3(_.bottom,A.bottom),A.left=max$3(_.left,A.left),A},getClientRectFromClippingAncestor(r,v,u));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function getDimensions(t){const{width:r,height:o}=getCssDimensions(t);return{width:r,height:o}}function getRectRelativeToOffsetParent(t,r,o){const a=isHTMLElement$1(r),u=getDocumentElement$1(r),d=o==="fixed",g=getBoundingClientRect$1(t,!0,d,r);let v={scrollLeft:0,scrollTop:0};const y=createCoords(0);if(a||!a&&!d)if((getNodeName$1(r)!=="body"||isOverflowElement(u))&&(v=getNodeScroll$1(r)),a){const _=getBoundingClientRect$1(r,!0,d,r);y.x=_.x+r.clientLeft,y.y=_.y+r.clientTop}else u&&(y.x=getWindowScrollBarX$1(u));const A=g.left+v.scrollLeft-y.x,b=g.top+v.scrollTop-y.y;return{x:A,y:b,width:g.width,height:g.height}}function isStaticPositioned(t){return getComputedStyle$3(t).position==="static"}function getTrueOffsetParent$1(t,r){return!isHTMLElement$1(t)||getComputedStyle$3(t).position==="fixed"?null:r?r(t):t.offsetParent}function getOffsetParent$1(t,r){const o=getWindow$1(t);if(isTopLayer(t))return o;if(!isHTMLElement$1(t)){let u=getParentNode$1(t);for(;u&&!isLastTraversableNode(u);){if(isElement$1(u)&&!isStaticPositioned(u))return u;u=getParentNode$1(u)}return o}let a=getTrueOffsetParent$1(t,r);for(;a&&isTableElement$1(a)&&isStaticPositioned(a);)a=getTrueOffsetParent$1(a,r);return a&&isLastTraversableNode(a)&&isStaticPositioned(a)&&!isContainingBlock(a)?o:a||getContainingBlock$1(t)||o}const getElementRects=async function(t){const r=this.getOffsetParent||getOffsetParent$1,o=this.getDimensions,a=await o(t.floating);return{reference:getRectRelativeToOffsetParent(t.reference,await r(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function isRTL(t){return getComputedStyle$3(t).direction==="rtl"}const platform$1={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement$1,getClippingRect:getClippingRect$1,getOffsetParent:getOffsetParent$1,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL},computePosition=(t,r,o)=>{const a=new Map,u={platform:platform$1,...o},d={...u.platform,_c:a};return computePosition$1(t,r,{...u,platform:d})};var layoutTemplate=`[ { "id":"cfbea70b-925b-40d1-9e8e-d0768336e3da", "title":"Main Site", @@ -1833,7 +1833,7 @@ body::-webkit-scrollbar { }, "module":"ScriptStatus" } -}`,introductionSteps=[{title:"#introduction.title",message:"#introduction.content"},{onEnter:({props:t})=>{const r=Cache$1.get("settings",{});Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...r,["tour"+ucFirst(t.tour)]:!0})).catch(a=>console.warn("Tours.Introduction",a.message||a))},target:"#SettingsButton",spotlight:".jarvis-sidebar-container",title:"#settings.title",message:"#settings.content",params:{placement:"right"},secondaryButton:"#settings.buttons.manually",secondaryAction:({finishTour:t,step:r})=>{document.querySelector("#SettingsButton").click(),t()},primaryButton:"#settings.buttons.automatically",primaryAction:({finishTour:t,nextStep:r,step:o})=>{r();const a={},u={};ioBroker.importDevices(config$n.get("DEFAULT_ADAPTERIMPORT").concat(["daswetter"])).then(d=>{d.forEach(C=>{if(C.status==="fulfilled"){const T=C.value;a[T.function]=a[T.function]||[],a[T.function].push(T),u[T.id]=T}});const g=JSON.parse(layoutTemplate),v=JSON.parse(widgetTemplate),y={config:{},items:[],module:"StateList",title:""};[{widgetId:"3958dfb0-83da-48ae-96f3-e66969a92cac",function:"light",icon:"mdi-lightbulb-on"},{widgetId:"be31acad-6bb4-40ed-a9cf-24cd981d8545",function:"blind",icon:"mdi-window-shutter-open"},{widgetId:"b073226b-14d9-40e9-bbd7-4a54080cfa87",function:"heating",icon:"mdi-radiator"},{widgetId:"99142690-4245-445b-bbc4-be8d09b93b83",function:"window",icon:"mdi-window-closed-variant"}].forEach((C,T)=>{const I=_default(y);I.id=C.widgetId,I.title=i18n.global.t(C.function),I.icon=C.icon,a[C.function]=a[C.function]||[];for(const F of a[C.function]){if(!F.states)continue;const O=Object.keys(F.states);let D={id:v4(),type:"device",deviceId:F.id,showState:!0,primaryStateKey:O[0]||"",secondaryStatesKeys:[]};F.function==="light"&&(O.includes("power")||O.includes("level"))?D={...D,showState:!1,actionElement:"SwitchAction",primaryStateKey:O.includes("power")?"power":"level"}:F.function==="blind"&&O.includes("level")?D={...D,showState:!1,actionElement:"BlindLevelAction",primaryStateKey:"level"}:F.function==="heating"&&O.includes("temperature")?D={...D,showState:!0,primaryStateKey:"temperature",secondaryStatesKeys:O.filter(x=>["setTemperature","humidity"].includes(x))}:F.function==="window"&&O.includes("open")&&(D={...D,primaryStateKey:"open"}),I.items.push(D)}v[I.id]=I;let{height:E}=ioBroker.getDefaultModuleHeight(I,I.items);E=E<3?3:E,g[0].tabs[0].widgetsDesktop[T].h=E,g[0].tabs[0].widgetsDesktop[T+1]&&g[0].tabs[0].widgetsDesktop[T].x===g[0].tabs[0].widgetsDesktop[T+1].x&&(g[0].tabs[0].widgetsDesktop[T+1].y=E),I.items&&I.items.length>0&&(g[0].tabs[0].widgetsDesktop[T].items=[C.widgetId])});const b=g[0].tabs[0].widgetsDesktop;for(let C=b.length;C>=0;C--)b[C]&&b[C].items&&b[C].items.length===0&&b.splice(C,1);const _=Cache$1.get("jarvis.settings",{}),w=Connection.getConnection,S=[w.setState(config$n.get("NODE_LAYOUT"),JSON.stringify({version:3,layout:g}),!0),w.setState(config$n.get("NODE_DEVICES"),JSON.stringify({version:3,devices:u}),!0),w.setState(config$n.get("NODE_WIDGETS"),{_jarvis:null,val:JSON.stringify({version:3.1,widgets:v})},!0),w.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({..._,tourInterface:!1}),!0)];Promise.allSettled(S).then(()=>{t(),window.location.reload()}).catch(C=>console.warn("Tours.Introduction",C.message||C))}).catch(d=>{console.warn("Tours.Introduction",d.message||d)})}},{style:{"max-width":"450px"},title:"#jarvis.title",loading:!0,buttons:!1}],interfaceSteps=[{target:".jarvis-sidebar-container",title:"#drawer.title",message:"#drawer.content",params:{placement:"right"}},{onEnter:({props:t})=>{const r=Cache$1.get("settings",{});Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...r,["tour"+ucFirst(t.tour)]:!0})).catch(a=>console.warn("Tours.Interface",a.message||a))},target:".jarvis-tabs-container",title:"#tabs.title",message:"#tabs.content"},{spotlight:".q-page-container .jarvis-page",title:"#widgets.title",message:"#widgets.content"},{target:".jarvis-widget-container .jarvis-widget-module-StateList",title:"#modules.title",message:"#modules.content",params:{placement:"right-start"}},{target:".jarvis-widget-container .jarvis-widget-module-StateList .jarvis-widget-header",title:"#WidgetHeader.title",message:"#WidgetHeader.content",targetStyle:{}},{buttons:!1,onSpotlightClick:({nextStep:t})=>{t()},target:".jarvis-widget-container .jarvis-widget-module-StateList .jarvis-widget-content",title:"#WidgetContent.title",message:"#WidgetContent.content",targetStyle:{},params:{placement:"right-start"}},{target:".jarvis-popup",title:"#DeviceStateDetails.title",message:"#DeviceStateDetails.content",params:{placement:"top"}}],TOURS={introduction:introductionSteps,interface:interfaceSteps},index_css_vue_type_style_index_0_src_f7bb3fd0_lang="",tours_vue_vue_type_style_index_1_lang="";const _sfc_main$D=defineComponent({name:"Tours",props:{tour:{type:String,required:!0},start:{type:Boolean,default:!1}},setup(t){const r=ref(!1),o=ref(null),a=TOURS[t.tour],u=ref(null),d=ref(null);let g,v,y={};const A=(O,D)=>{v=D?O.style.position:v,O.style.position=D?O.style.position||"relative":v,O.style.zIndex=D?5001:null,O.style.border=D?"5px solid #fff":null,O.style.opacity=D?.7:"unset",g=D?O.parentElement.style.zIndex:g,O.parentElement.style.zIndex=D?5001:g},b=(O,D=!0)=>{const x=O&&(O.spotlight||O.target);if(r.value=!0,x){const P=document.querySelector(x);if(P){if(A(P,D),O.onSpotlightClick!==void 0&&(P.style.pointerEvents="all",P.onclick=()=>O.onSpotlightClick({props:t,step:O,nextStep:C,previousStep:S,skipStep:T,finishTour:I})),O.targetStyle&&D===!0){y={};for(const G in O.targetStyle)y[G]=P.style[G],P.style[G]=O.targetStyle[G]}else if(O.targetStyle&&D===!1)for(const G in O.targetStyle)P.style[G]=y[G]}}},_=O=>{const D=document.querySelector(O.value.target||"body"),x={...O.value.params||{},middleware:[]};return D?computePosition(D,o.value,x).then(P=>{const{x:G,y:M}=P;o.value.firstChild&&(o.value.firstChild.style.display="block");const N=o.value.offsetWidth,V=o.value.offsetHeight,Y=document.querySelector("body");Y.style.pointerEvents="none";const H=Y.offsetHeight-V;return o.value.style.left=(O.value.target?G+15:"calc(50% - "+N/2)+"px",o.value.style.top=(O.value.target?Math.max(10,Math.min(H-10,M-V/2+10)):M/2-V/2)+"px",o.value.style.pointerEvents="all",!0}):(console.warn("Target not found",D),Promise.reject())},w=O=>{d.value;const D=d.value===null||d.value===O-2;return d.value=O-1,u.value=a[d.value],u.value?(D&&u.value&&u.value.onEnter&&u.value.onEnter({props:t,step:u,previousStep:S,nextStep:C,finishTour:I,skipStep:T}),a[d.value-1]&&b(a[d.value-1],!1),a[d.value+1]&&b(a[d.value+1],!1),_(u).then(()=>b(u.value)).catch(()=>C())):I()},S=()=>w(d.value),C=()=>w(d.value+2),T=()=>{b(u.value,!1),u.value=null,r.value=!1;const O=a[d.value+1];O&&O.onEnter&&O.onEnter({props:t,step:O,previousStep:S,nextStep:C,finishTour:I,skipStep:T});const D=document.querySelector("body");D.style.pointerEvents="all"},I=()=>{T()},E=computed(()=>d.value<=0),F=computed(()=>d.value===a.length-1);return useJarvis(),onMounted(()=>{t.start&&w(1)}),{marked,tooltip:o,overlay:r,step:u,isFirst:E,isLast:F,previousStep:S,nextStep:C,skipStep:T,finishTour:I}}}),_hoisted_1$t={ref:"tooltip",class:"tooltip"},_hoisted_2$m={class:"text-h6"},_hoisted_3$h=["innerHTML"];function _sfc_render$D(t,r,o,a,u,d){const g=resolveComponent("q-overlay");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{modelValue:t.overlay,"onUpdate:modelValue":r[0]||(r[0]=v=>t.overlay=v),"no-scroll":!0,"z-index":5e3,opacity:.7},null,8,["modelValue"]),createBaseVNode("div",_hoisted_1$t,[t.step?(openBlock(),createBlock(QCard,{key:t.step.title,class:"step"},{default:withCtx(()=>[createVNode$1(QCardSection,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$m,toDisplayString$1(t.$t(t.step.title||"")),1)]),_:1}),createVNode$1(QSeparator),t.step.loading===!0?(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})):createCommentVNode("",!0),createVNode$1(QCardSection,{style:{"max-height":"50vh"},class:"body scroll"},{default:withCtx(()=>[createBaseVNode("div",{innerHTML:t.marked.parse(t.$t(t.step.message||""))},null,8,_hoisted_3$h)]),_:1}),createVNode$1(QSeparator),t.step.buttons!==!1?(openBlock(),createBlock(QCardActions,{key:1,class:"nowrap"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Skip"),color:"accent",onClick:t.skipStep},null,8,["label","onClick"]),createVNode$1(QSpace),t.step.secondaryAction===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("Previous"),color:"secondary",onClick:t.previousStep},null,8,["label","onClick"])),[[vShow,!t.isFirst]]):withDirectives((openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t(t.step.secondaryButton),color:"secondary",onClick:r[1]||(r[1]=v=>t.step.secondaryAction({step:t.step,previousStep:t.previousStep,nextStep:t.nextStep,finishTour:t.finishTour,skipStep:t.skipStep}))},null,8,["label"])),[[vShow,!t.isFirst]]),t.step.primaryButton===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:2,flat:"",label:t.$t("Next"),color:"primary",onClick:t.nextStep},null,8,["label","onClick"])),[[vShow,!t.isLast]]):createCommentVNode("",!0),t.step.primaryButton===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:3,label:t.$t("Finish"),color:"primary",onClick:t.finishTour},null,8,["label","onClick"])),[[vShow,t.isLast]]):withDirectives((openBlock(),createBlock(QBtn,{key:4,flat:"",label:t.$t(t.step.primaryButton),color:"primary",onClick:r[2]||(r[2]=v=>t.step.primaryAction({step:t.step,previousStep:t.previousStep,nextStep:t.nextStep,finishTour:t.finishTour,skipStep:t.skipStep}))},null,8,["label"])),[[vShow,!t.isFirst]])]),_:1})):createCommentVNode("",!0)]),_:1})):createCommentVNode("",!0)],512)],64)}var tours=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D]]),Jarvis_vue_vue_type_style_index_0_lang="";const _sfc_main$C=defineComponent({name:"Jarvis",components:{DeviceDetailsPopup,Page,tours},setup(){const t=useQuasar(),r=useJarvis(),o=computed(()=>Cache$1.get("settings",{}));t.iconMapFn=d=>{if(!d.startsWith("img:")&&!d.startsWith("mdi")&&!d.toLowerCase().startsWith("m"))return{cls:"iconify","data-icon":d}},watch(()=>r.watch.settings,()=>{useCustomTag("style",o.value.scrollbars==="desktop"&&(t.platform.is.desktop||t.platform.is.mobile)||o.value.scrollbars==="mobile"&&t.platform.is.mobile?StylesScrollbarHidden:" ",{id:"scrollbar",type:"text/css",onlyPro:!1})},{immediate:!0}),watch(t.screen.sizes,()=>{useCustomTag("style",StylesResponsive.replace(/\$breakpoint-sm-min/g,t.screen.sizes.sm+"px").replace(/\$breakpoint-md-min/g,t.screen.sizes.md+"px"),{id:"responsive",type:"text/css",onlyPro:!1})},{immediate:!0});try{watch([()=>r.watch.styles,()=>o.value.stylesEnabled],()=>{o.value.stylesEnabled&&Cache$1.get("styles")?useImports("styles",Cache$1.get("styles"),{tag:"link",src:"href",rel:"stylesheet"}).then(d=>useCustomTag("style",d,{key:"ts-"+r.watch.styles,id:"css",type:"text/css"})):document.getElementById("css")&&document.getElementById("css").remove()},{immediate:!0})}catch(d){console.warn("Jarvis-B7cq4T4m","Error injecting custom styles: "+d.message),console.debug("Jarvis-B7cq4T4m",Cache$1.get("styles"))}const a=computed(()=>"page-"+r.getSelectedPageId),u=ref([]);return watch(()=>r.watch.layout,()=>{u.value=Cache$1.get("layout",[])},{immediate:!0}),{settings:o,pages:u,selectedPageId:a}}});function _sfc_render$C(t,r,o,a,u,d){const g=resolveComponent("tours"),v=resolveComponent("DeviceDetailsPopup"),y=resolveComponent("Page");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{tour:"introduction",start:t.settings.tourIntroduction!==!0},null,8,["start"]),createVNode$1(g,{tour:"interface",start:t.settings.tourIntroduction===!0&&t.settings.tourInterface!==!0},null,8,["start"]),createVNode$1(v),createVNode$1(QTabPanels,{"model-value":t.selectedPageId,"keep-alive":!0,style:{"background-color":"transparent"},vertical:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,A=>(openBlock(),createBlock(QTabPanel,{key:A.id,name:"page-"+A.id,style:{padding:"0",margin:"0"}},{default:withCtx(()=>[createVNode$1(y,{"page-id":A.id},null,8,["page-id"])]),_:2},1032,["name"]))),128))]),_:1},8,["model-value"])],64)}var Jarvis=_export_sfc$1(_sfc_main$C,[["render",_sfc_render$C]]),Jarvis$1=Object.freeze(Object.defineProperty({__proto__:null,default:Jarvis},Symbol.toStringTag,{value:"Module"}));const duration=150;var QDrawer=createComponent({name:"QDrawer",inheritAttrs:!1,props:{...useModelToggleProps,...useDarkProps,side:{type:String,default:"left",validator:t=>["left","right"].includes(t)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:t=>["default","desktop","mobile"].includes(t),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...useModelToggleEmits,"onLayout","miniState"],setup(t,{slots:r,emit:o,attrs:a}){const u=getCurrentInstance(),{proxy:{$q:d}}=u,g=useDark(t,d),{preventBodyScroll:v}=usePreventScroll(),{registerTimeout:y,removeTimeout:A}=useTimeout(),b=inject(layoutKey,emptyRenderFn);if(b===emptyRenderFn)return console.error("QDrawer needs to be child of QLayout"),emptyRenderFn;let _,w=null,S;const C=ref(t.behavior==="mobile"||t.behavior!=="desktop"&&b.totalWidth.value<=t.breakpoint),T=computed(()=>t.mini===!0&&C.value!==!0),I=computed(()=>T.value===!0?t.miniWidth:t.width),E=ref(t.showIfAbove===!0&&C.value===!1?!0:t.modelValue===!0),F=computed(()=>t.persistent!==!0&&(C.value===!0||te.value===!0));function O(Se,xe){if(G(),Se!==!1&&b.animate(),Ce(0),C.value===!0){const De=b.instances[Q.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),Ae(1),b.isContainer.value!==!0&&v(!0)}else Ae(0),Se!==!1&&Ee(!1);y(()=>{Se!==!1&&Ee(!0),xe!==!0&&o("show",Se)},duration)}function D(Se,xe){M(),Se!==!1&&b.animate(),Ae(0),Ce(Y.value*I.value),be(),xe!==!0?y(()=>{o("hide",Se)},duration):A()}const{show:x,hide:P}=useModelToggle({showing:E,hideOnRouteChange:F,handleShow:O,handleHide:D}),{addToHistory:G,removeFromHistory:M}=useHistory(E,P,F),N={belowBreakpoint:C,hide:P},V=computed(()=>t.side==="right"),Y=computed(()=>(d.lang.rtl===!0?-1:1)*(V.value===!0?1:-1)),H=ref(0),B=ref(!1),z=ref(!1),U=ref(I.value*Y.value),Q=computed(()=>V.value===!0?"left":"right"),X=computed(()=>E.value===!0&&C.value===!1&&t.overlay===!1?t.miniToOverlay===!0?t.miniWidth:I.value:0),J=computed(()=>t.overlay===!0||t.miniToOverlay===!0||b.view.value.indexOf(V.value?"R":"L")!==-1||d.platform.is.ios===!0&&b.isContainer.value===!0),ne=computed(()=>t.overlay===!1&&E.value===!0&&C.value===!1),te=computed(()=>t.overlay===!0&&E.value===!0&&C.value===!1),ce=computed(()=>"fullscreen q-drawer__backdrop"+(E.value===!1&&B.value===!1?" hidden":"")),se=computed(()=>({backgroundColor:`rgba(0,0,0,${H.value*.4})`})),ge=computed(()=>V.value===!0?b.rows.value.top[2]==="r":b.rows.value.top[0]==="l"),he=computed(()=>V.value===!0?b.rows.value.bottom[2]==="r":b.rows.value.bottom[0]==="l"),ye=computed(()=>{const Se={};return b.header.space===!0&&ge.value===!1&&(J.value===!0?Se.top=`${b.header.offset}px`:b.header.space===!0&&(Se.top=`${b.header.size}px`)),b.footer.space===!0&&he.value===!1&&(J.value===!0?Se.bottom=`${b.footer.offset}px`:b.footer.space===!0&&(Se.bottom=`${b.footer.size}px`)),Se}),ee=computed(()=>{const Se={width:`${I.value}px`,transform:`translateX(${U.value}px)`};return C.value===!0?Se:Object.assign(Se,ye.value)}),pe=computed(()=>"q-drawer__content fit "+(b.isContainer.value!==!0?"scroll":"overflow-auto")),ae=computed(()=>`q-drawer q-drawer--${t.side}`+(z.value===!0?" q-drawer--mini-animate":"")+(t.bordered===!0?" q-drawer--bordered":"")+(g.value===!0?" q-drawer--dark q-dark":"")+(B.value===!0?" no-transition":E.value===!0?"":" q-layout--prevent-focus")+(C.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${T.value===!0?"mini":"standard"}`+(J.value===!0||ne.value!==!0?" fixed":"")+(t.overlay===!0||t.miniToOverlay===!0?" q-drawer--on-top":"")+(ge.value===!0?" q-drawer--top-padding":""))),ve=computed(()=>{const Se=d.lang.rtl===!0?t.side:Q.value;return[[TouchPan,re,void 0,{[Se]:!0,mouse:!0}]]}),we=computed(()=>{const Se=d.lang.rtl===!0?Q.value:t.side;return[[TouchPan,ue,void 0,{[Se]:!0,mouse:!0}]]}),_e=computed(()=>{const Se=d.lang.rtl===!0?Q.value:t.side;return[[TouchPan,ue,void 0,{[Se]:!0,mouse:!0,mouseAllDir:!0}]]});function Te(){oe(C,t.behavior==="mobile"||t.behavior!=="desktop"&&b.totalWidth.value<=t.breakpoint)}watch(C,Se=>{Se===!0?(_=E.value,E.value===!0&&P(!1)):t.overlay===!1&&t.behavior!=="mobile"&&_!==!1&&(E.value===!0?(Ce(0),Ae(0),be()):x(!1))}),watch(()=>t.side,(Se,xe)=>{b.instances[xe]===N&&(b.instances[xe]=void 0,b[xe].space=!1,b[xe].offset=0),b.instances[Se]=N,b[Se].size=I.value,b[Se].space=ne.value,b[Se].offset=X.value}),watch(b.totalWidth,()=>{(b.isContainer.value===!0||document.qScrollPrevented!==!0)&&Te()}),watch(()=>t.behavior+t.breakpoint,Te),watch(b.isContainer,Se=>{E.value===!0&&v(Se!==!0),Se===!0&&Te()}),watch(b.scrollbarWidth,()=>{Ce(E.value===!0?0:void 0)}),watch(X,Se=>{ie("offset",Se)}),watch(ne,Se=>{o("onLayout",Se),ie("space",Se)}),watch(V,()=>{Ce()}),watch(I,Se=>{Ce(),me(t.miniToOverlay,Se)}),watch(()=>t.miniToOverlay,Se=>{me(Se,I.value)}),watch(()=>d.lang.rtl,()=>{Ce()}),watch(()=>t.mini,()=>{t.noMiniAnimation||t.modelValue===!0&&(le(),b.animate())}),watch(T,Se=>{o("miniState",Se)});function Ce(Se){Se===void 0?nextTick(()=>{Se=E.value===!0?0:I.value,Ce(Y.value*Se)}):(b.isContainer.value===!0&&V.value===!0&&(C.value===!0||Math.abs(Se)===I.value)&&(Se+=Y.value*b.scrollbarWidth.value),U.value=Se)}function Ae(Se){H.value=Se}function Ee(Se){const xe=Se===!0?"remove":b.isContainer.value!==!0?"add":"";xe!==""&&document.body.classList[xe]("q-body--drawer-toggle")}function le(){w!==null&&clearTimeout(w),u.proxy&&u.proxy.$el&&u.proxy.$el.classList.add("q-drawer--mini-animate"),z.value=!0,w=setTimeout(()=>{w=null,z.value=!1,u&&u.proxy&&u.proxy.$el&&u.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function re(Se){if(E.value!==!1)return;const xe=I.value,De=between(Se.distance.x,0,xe);if(Se.isFinal===!0){De>=Math.min(75,xe)===!0?x():(b.animate(),Ae(0),Ce(Y.value*xe)),B.value=!1;return}Ce((d.lang.rtl===!0?V.value!==!0:V.value)?Math.max(xe-De,0):Math.min(0,De-xe)),Ae(between(De/xe,0,1)),Se.isFirst===!0&&(B.value=!0)}function ue(Se){if(E.value!==!0)return;const xe=I.value,De=Se.direction===t.side,Pe=(d.lang.rtl===!0?De!==!0:De)?between(Se.distance.x,0,xe):0;if(Se.isFinal===!0){Math.abs(Pe){o("onLayout",ne.value),o("miniState",T.value),_=t.showIfAbove===!0;const Se=()=>{(E.value===!0?O:D)(!1,!0)};if(b.totalWidth.value!==0){nextTick(Se);return}S=watch(b.totalWidth,()=>{S(),S=void 0,E.value===!1&&t.showIfAbove===!0&&C.value===!1?x(!1):Se()})}),onBeforeUnmount(()=>{S!==void 0&&S(),w!==null&&(clearTimeout(w),w=null),E.value===!0&&be(),b.instances[t.side]===N&&(b.instances[t.side]=void 0,ie("size",0),ie("offset",0),ie("space",!1))}),()=>{const Se=[];C.value===!0&&(t.noSwipeOpen===!1&&Se.push(withDirectives(h("div",{key:"open",class:`q-drawer__opener fixed-${t.side}`,"aria-hidden":"true"}),ve.value)),Se.push(hDir("div",{ref:"backdrop",class:ce.value,style:se.value,"aria-hidden":"true",onClick:P},void 0,"backdrop",t.noSwipeBackdrop!==!0&&E.value===!0,()=>_e.value)));const xe=T.value===!0&&r.mini!==void 0,De=[h("div",{...a,key:""+xe,class:[pe.value,a.class]},xe===!0?r.mini():hSlot(r.default))];return t.elevated===!0&&E.value===!0&&De.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),Se.push(hDir("aside",{ref:"content",class:ae.value,style:ee.value},De,"contentclose",t.noSwipeClose!==!0&&C.value===!0,()=>we.value)),h("div",{class:"q-drawer-container"},Se)}}}),Sidebar_vue_vue_type_style_index_0_lang="";const _sfc_main$B=defineComponent({name:"Sidebar",setup(){const t=useJarvis(),r=useQuasar(),o=Pro.isPro(),a=r.platform.is.mobile,u=r.platform.is.cordova||r.platform.is.capacitor,d=r.screen.sizes.md,g=computed(()=>o?Cache$1.get("layout",[]):Cache$1.get("layout",[]).slice(0,1)),v=computed(()=>t.drawerMiniMode),y=ref(!0);watch(v,(P,G)=>{P===!0&&G===!1&&t.set("drawerSidebar",!0)});const A=ref([]),b=(P,G)=>{const M=A.value.findIndex(N=>N.id===G.id);A.value[M]={...G,revision:uid$3().substr(0,5)}};watch(()=>g.value,()=>{A.value=_default(g.value);for(const P of A.value)P.config=_default(P),States.subscribe(P,b)},{immediate:!0});const _=P=>t.set("drawerSidebar",P),w=computed({get(){return t.drawerSidebar},set(P){_(P)}}),S=computed(()=>t.getSelectedPage&&t.getSelectedPage.id),C=P=>{const G=P.tabs&&P.tabs[0]&&P.tabs[0].id;if(!G)return console.warn("Sidebar","Page "+P.id+" has no tabs!",P),!1;t.set({selectedTabId:G})},T=computed(()=>t.getSelectedPage&&t.getSelectedPage.tabs&&t.getSelectedPage.tabs.count||0),I=computed(()=>v.value===!0?!y.value:!0),E=computed(()=>v.value===!0?T.value<=1:!0),F=ref(),O=computed(()=>F.value&&F.value.$el.clientHeight||0),D=ref(window.innerHeight-(E.value?40:0)),x=()=>{D.value=window.innerHeight-(E.value?40:0)};return onMounted(()=>{window.addEventListener("orientationchange",x),window.addEventListener("resize",x)}),onUnmounted(()=>{window.removeEventListener("orientationchange",x),window.removeEventListener("resize",x)}),{elementSidebarBottom:F,elementSidebarBottomHeight:O,isPro:o,isMobile:a,isSmartphone:u,maxMobileSize:d,windowHeight:D,itemsWithResolvedBindings:A,drawerMiniMode:v,drawerMiniState:y,sidebar:w,toggleSidebar:_,setPage:C,selectedPageId:S,expanded:I,header:E,logout:()=>{const P=Connection.getConnection;P&&P.send("logout",null,G=>{window.location.reload()})},authenticationMethod:computed(()=>t.authentication.page),settings:computed(()=>Cache$1.get("settings",{}))}}});function _sfc_render$B(t,r,o,a,u,d){const g=resolveComponent("icon");return t.settings.drawerShowMenuButton!==!1?(openBlock(),createBlock(QDrawer,{key:0,modelValue:t.sidebar,"onUpdate:modelValue":r[1]||(r[1]=v=>t.sidebar=v),mini:t.drawerMiniMode&&t.drawerMiniState,"mini-to-overlay":"",bordered:"",behavior:t.drawerMiniMode?"default":"mobile",overlay:!t.drawerMiniMode,"show-if-above":t.drawerMiniMode,breakpoint:t.maxMobileSize,class:normalizeClass(["jarvis-sidebar-container",{"jarvis-sidebar-minimode":t.drawerMiniMode===!0,"jarvis-tabs-bottom":t.settings.tabsBottom===!0,"jarvis-sidebar-header-hidden":t.settings.headerVisible!==!0}]),"content-class":"jarvis-sidebar",onMouseover:r[2]||(r[2]=v=>t.drawerMiniState=!1),onMouseout:r[3]||(r[3]=v=>t.drawerMiniState=!0)},{default:withCtx(()=>[t.drawerMiniMode!==!0?(openBlock(),createBlock(QHeader,{key:0,style:{position:"relative"}},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-chevron-left","aria-label":"Menu",onClick:r[0]||(r[0]=v=>t.toggleSidebar(!1))})]),_:1})]),_:1})):createCommentVNode("",!0),createBaseVNode("div",{style:normalizeStyle$1({height:t.windowHeight-44+"px"}),class:"q-mt-xs"},[createVNode$1(QList,{dense:"",class:"jarvis-sidebar-items",style:normalizeStyle$1({"overflow-x":"hidden","overflow-y":t.expanded?"auto":"hidden",maxHeight:t.windowHeight-(t.header?40:0)-t.elementSidebarBottomHeight+"px"})},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.itemsWithResolvedBindings,v=>(openBlock(),createElementBlock("div",{key:v.id+"-"+v.revision,class:normalizeClass(["jarvis-sidebar-item",["jarvis-sidebar-item-"+v.type,"jarvis-sidebar-item-"+v.type+"-"+v.id,v.tabs&&v.tabs[0]&&v.tabs[0].id?"jarvis-route-tab-"+(v.tabs&&v.tabs[0]&&v.tabs[0].id):""]])},[v.type==="divider"?(openBlock(),createBlock(QSeparator,{key:0,spaced:""})):createCommentVNode("",!0),v.type==="header"?withDirectives((openBlock(),createBlock(QItemLabel,{key:1,header:"",style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1032,["style"])),[[vShow,t.expanded]]):createCommentVNode("",!0),v.type==="header"?withDirectives((openBlock(),createElementBlock("div",{key:2,class:"headerInvisible",style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{})}," \xA0 ",4)),[[vShow,!t.expanded]]):createCommentVNode("",!0),!v.type||v.type==="page"?(openBlock(),createBlock(QItem,{key:3,to:{params:{tabId:v.tabs&&v.tabs[0]&&v.tabs[0].id}},clickable:"",class:normalizeClass(["full-width",{selected:v.id===t.selectedPageId}]),style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||(v.id===t.selectedPageId?{"background-color":"var(--q-primary)",color:"#fff"}:{color:"var(--q-primary)"})),"active-class":"selected",onClick:y=>t.setPage(v)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:"",class:normalizeClass({selected:v.id===t.selectedPageId})},{default:withCtx(()=>[createVNode$1(g,{name:v.icon,style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.iconSelectedStyle||t.isPro&&v.iconStyle||(v.id===t.selectedPageId?"white":"primary"))},null,8,["name","style"])]),_:2},1032,["class"]),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:normalizeClass({selectedText:v.id===t.selectedPageId})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1032,["to","style","class","onClick"])):createCommentVNode("",!0),!v.type||v.type==="page"?(openBlock(),createElementBlock("div",{key:4,class:normalizeClass(["spacer",{selected:v.id===t.selectedPageId}])},null,2)):createCommentVNode("",!0)],2))),128))]),_:1},8,["style"]),createVNode$1(QList,{ref:"elementSidebarBottom",class:"sidebarBottom"},{default:withCtx(()=>[createVNode$1(QSeparator,{spaced:""}),!t.isMobile&&!t.isPro?withDirectives((openBlock(),createBlock(QItem,{key:0,clickable:"",to:{name:"AccountPage"},exact:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-heart",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Pro Account")),1)]),_:1})]),_:1})),[[Ripple]]):createCommentVNode("",!0),!t.isMobile&&t.authenticationMethod&&t.authenticationMethod!=="none"?withDirectives((openBlock(),createBlock(QItem,{key:1,clickable:"",to:{name:"Home"},exact:"",onClick:withModifiers(t.logout,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-logout",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Logout")),1)]),_:1})]),_:1},8,["onClick"])),[[Ripple]]):createCommentVNode("",!0),t.isMobile?createCommentVNode("",!0):withDirectives((openBlock(),createBlock(QItem,{key:2,id:"SettingsButton",clickable:"",to:{name:"DevicesPage"},exact:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-cog",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Configuration"))+" & "+toDisplayString$1(t.$t("Help")),1)]),_:1})]),_:1})),[[vShow,t.settings.drawerShowSettings!==!1],[Ripple]])]),_:1},512)],4)]),_:1},8,["modelValue","mini","behavior","overlay","show-if-above","breakpoint","class"])):createCommentVNode("",!0)}var Sidebar=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$B]]),Sidebar$1=Object.freeze(Object.defineProperty({__proto__:null,default:Sidebar},Symbol.toStringTag,{value:"Module"})),Weekday;(function(t){t[t.Sunday=1]="Sunday",t[t.Monday=2]="Monday",t[t.Tuesday=3]="Tuesday",t[t.Wednesday=4]="Wednesday",t[t.Thursday=5]="Thursday",t[t.Friday=6]="Friday",t[t.Saturday=7]="Saturday"})(Weekday||(Weekday={}));const LocalNotifications=registerPlugin("LocalNotifications",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web}),void 0).then(t=>new t.LocalNotificationsWeb)}),_sfc_main$A=defineComponent({name:"NotificationEventAndroid",setup(){onBeforeMount(()=>{LocalNotifications.checkPermissions&&LocalNotifications.checkPermissions().then(({display:a})=>["prompt","prompt-with-rationale"].includes(a)?LocalNotifications.requestPermissions():a)});const t=(a={})=>{a.largeBody=a.largeBody||a.body||a.text||a.message,a.summaryText=a.summaryText||a.subtitle||a.caption;const{title:u="",largeBody:d="",summaryText:g=null,id:v=0,schedule:y=null,sound:A=null,smallIcon:b="ic_icon",largeIcon:_=null,iconColor:w=null,attachments:S=[],actionTypeId:C=null,extra:T=null,threadIdentifier:I="",summaryArgument:E="",group:F="jarvis",groupSummary:O=!1,channelId:D=null,ongoing:x=!1,autoCancel:P=!0,inboxList:G=null}={...a,id:random()},M=[{title:u,largeBody:d,summaryText:g,id:v,schedule:y,sound:A,smallIcon:b,largeIcon:_,iconColor:w,attachments:S,actionTypeId:C,extra:T,threadIdentifier:I,summaryArgument:E,group:F,groupSummary:O,channelId:D,ongoing:x,autoCancel:P,inboxList:G}];try{LocalNotifications.schedule&&LocalNotifications.schedule({notifications:M}).catch(N=>console.error(N))}catch(N){console.error(N)}},r=useNotifications();watch(()=>r.new,a=>a.notifications&&o(a.notifications));const o=a=>{a=_default(a),a.forEach(u=>{Pro.isPro()&&(u.display.includes("android")||u.display.includes("app"))&&(!u.devices||u.devices.includes(socket.client.id))&&t(u)})};return{}}});function _sfc_render$A(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var NotificationEventAndroid=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$A]]);const _sfc_main$z=defineComponent({name:"NotificationEventPopup",setup(t){const r=Connection.getConnection,o=useQuasar(),a=useNotifications(),u=computed(()=>o.dark.isActive),d=ref({}),g=ref(0),v={},y=(C,T=50)=>{setTimeout(()=>{v[C.id]=Math.max(0,v[C.id]-T),g.value=Date.now(),v[C.id]>0?y(C,T):d.value[C.id]=!1},T)},A=C=>a.set({notificationId:C.id,props:{state:"read"}}),b=C=>a.set({notificationId:C.id,props:{state:"archived"}}),_=C=>a.del({notificationId:C.id}),w=ref([]);watch(()=>a.new,C=>{w.value=[],d.value={},C.notifications&&S(C.notifications)});const S=C=>{C=_default(C),C.forEach(T=>{T.display.includes("popup")&&(!T.devices||T.devices.includes(r.client.id))&&((T.timeout||T.autoHideDuration||T.progress)&&(T.progress=!0,T.timeout=T.timeout||T.autoHideDuration||5e3,v[T.id]=T.timeout,y(T)),d.value[T.id]=!0,w.value.push(T))})};return{refresh:g,isPro:Pro.isPro(),isDark:u,notificationList:w,dialogs:d,timers:v,markAsArchived:b,markAsRead:A,remove:_}}}),_hoisted_1$s={class:"text-h6"},_hoisted_2$l=["innerHTML"],_hoisted_3$g={key:1},_hoisted_4$b={key:0,class:"text-caption"},_hoisted_5$8=["innerHTML"],_hoisted_6$5={key:1};function _sfc_render$z(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationList,v=>(openBlock(),createElementBlock("div",{key:v.id},[createVNode$1(QDialog,{"model-value":t.dialogs[v.id],"transition-show":"scale","transition-hide":"scale",onHide:y=>t.dialogs[v.id]=!1},{default:withCtx(()=>[createVNode$1(QCard,{class:normalizeClass({"jarvis-notification-event-popup":!0,[v.category]:v.category!==void 0,["bg-"+(v.color||v.type||v.criticality||"primary")]:!0,["text-"+(v.textColor||"white")]:!0}),style:{width:"550px","max-width":"95vw"}},{default:withCtx(()=>[v.title||v.caption?(openBlock(),createBlock(QCardSection,{key:0,class:"jarvis-notification-event-popup-title"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$s,[createVNode$1(g,{name:v.icon,color:v.iconColor||"white"},null,8,["name","color"]),t.isPro?(openBlock(),createElementBlock("div",{key:0,innerHTML:v.title},null,8,_hoisted_2$l)):(openBlock(),createElementBlock("div",_hoisted_3$g,toDisplayString$1(v.title),1))]),v.caption?(openBlock(),createElementBlock("div",_hoisted_4$b,toDisplayString$1(v.caption),1)):createCommentVNode("",!0)]),_:2},1024)):createCommentVNode("",!0),v.message?(openBlock(),createBlock(QCardSection,{key:1,class:"q-pt-none jarvis-notification-event-popup-message"},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("div",{key:0,innerHTML:v.message},null,8,_hoisted_5$8)):(openBlock(),createElementBlock("div",_hoisted_6$5,toDisplayString$1(v.message),1))]),_:2},1024)):createCommentVNode("",!0),v.progress?(openBlock(),createBlock(QCardSection,{key:2,class:normalizeClass(["q-pa-none",{["updated-"+t.refresh]:!0,["text-"+(v.textColor||v.type||v.criticality||"primary")]:!0,["bg-"+(v.color||"white")]:!0}])},{default:withCtx(()=>[createVNode$1(QLinearProgress,{value:t.timers&&t.timers[v.id]?t.timers[v.id]/v.timeout:0,class:"q-mt-md","animation-speed":50,color:v.color||v.type||v.criticality||"accent"},null,8,["value","color"])]),_:2},1032,["class"])):createCommentVNode("",!0),withDirectives(createVNode$1(QCardActions,{class:normalizeClass(["jarvis-notification-event-popup-actions nowrap",{["bg-"+(v.textColor||v.type||v.criticality||(t.isDark?"grey-10":"white"))]:!0,["text-"+(v.color||"primary")]:!0}])},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Delete"),icon:"mdi-delete",color:v.type==="negative"||v.criticality==="negative"?"yellow":"negative",onClick:y=>t.remove(v)},null,8,["label","color","onClick"]),[[ClosePopup]]),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Archive"),icon:"mdi-package-down",onClick:y=>t.markAsArchived(v)},null,8,["label","onClick"]),[[ClosePopup]]),withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Mark as Read"),icon:"mdi-check",onClick:y=>t.markAsRead(v)},null,8,["label","onClick"]),[[ClosePopup]])]),_:2},1032,["class"]),[[vShow,v.state!=="delete"]])]),_:2},1032,["class"])]),_:2},1032,["model-value","onHide"])]))),128)}var NotificationEventPopup=_export_sfc$1(_sfc_main$z,[["render",_sfc_render$z]]);const _sfc_main$y=defineComponent({name:"NotificationEventSnackbar",setup(){const t=useQuasar(),r=Connection.getConnection,o=useNotifications(),a=y=>o.set({notificationId:y.id,props:{state:"read"}}),u=y=>o.set({notificationId:y.id,props:{state:"archived"}}),d=y=>o.del({notificationId:y.id}),g=(y={})=>{!y.type&&y.criticality&&(y.type=y.criticality==="error"?"negative":y.criticality==="success"?"positive":y.criticality),!y.position&&y.snackbarOrigin&&(y.position=[],y.snackbarOrigin.horizontal&&y.position.push(y.snackbarOrigin.horizontal),y.snackbarOrigin.vertical&&y.position.push(y.snackbarOrigin.vertical),y.position=y.position.join(y.position.length===2?"-":""));const A={badgeStyle:"display: none",html:!0,position:"bottom-right",progress:!0,progressClass:"jarvis-notification-event-snackbar-progress",classes:"jarvis-notification-event-snackbar "+(y.category||""),actions:y.state!=="delete"&&[{icon:"mdi-circle-slice-8",size:"sm",color:y.textColor||"white",handler:()=>a(y)},{icon:"mdi-package-down",size:"sm",color:y.textColor||"white",handler:()=>u(y)},{icon:"mdi-delete",size:"sm",color:y.type==="negative"||y.criticality==="negative"?"yellow":"negative",handler:()=>d(y)}],...y,color:y.type||y.criticality||y.color||"primary",textColor:"white",type:y.type||y.criticality||void 0,timeout:y.timeout||y.autoHideDuration||5e3,message:y.title||y.message,group:y.id};t.notify(A)};watch(()=>o.new,y=>y.notifications&&v(y.notifications));const v=y=>{y=_default(y),y.forEach(A=>{A.display.includes("snackbar")&&(!A.devices||A.devices.includes(r.client.id))&&g(A)})};return{}}});function _sfc_render$y(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var NotificationEventSnackbar=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y]]),Item_vue_vue_type_style_index_0_lang="";const _sfc_main$x=defineComponent({name:"NotificationListItem",props:{notification:{type:Object,required:!0}},setup(t){const r=useNotifications(),o=()=>{r.setNew({notifications:[{display:"popup",...t.notification,progress:!1,autoHideDuration:null,timeout:null}]})},a=()=>r.set({notificationId:t.notification.id,props:{state:"read"}}),u=()=>r.set({notificationId:t.notification.id,props:{state:"unread"}}),d=()=>r.set({notificationId:t.notification.id,props:{state:"archived"}}),g=()=>r.del({notificationId:t.notification.id});return{isPro:Pro.isPro(),show:o,markAsRead:a,markAsUnread:u,markAsArchived:d,remove:g}}}),_hoisted_1$r=["innerHTML"],_hoisted_2$k={key:1,class:"text-weight-medium"},_hoisted_3$f=["innerHTML"],_hoisted_4$a={key:1,class:"overflow-dots"},_hoisted_5$7={class:"text-grey-8 q-gutter-xs"};function _sfc_render$x(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",null,[withDirectives((openBlock(),createBlock(QItem,{id:"notification-"+t.notification.id,clickable:"",class:normalizeClass(["jarvis-notifications-item",{[t.notification.state||"unread"]:!0,[t.notification.category]:t.notification.category!==void 0}]),onClick:withModifiers(t.show,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:t.notification.icon||(t.notification.state==="read"?"mdi-chat-outline":"mdi-chat"),color:t.notification.iconColor||"primary",size:"sm"},null,8,["name","color"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{lines:"1"},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("span",{key:0,innerHTML:t.notification.title},null,8,_hoisted_1$r)):(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString$1(t.notification.title),1)),withDirectives(createBaseVNode("span",null," - "+toDisplayString$1(t.notification.caption),513),[[vShow,t.notification.caption]])]),_:1}),t.notification.message?(openBlock(),createBlock(QItemLabel,{key:0,caption:"",lines:"1",style:{"max-height":"200px"}},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("div",{key:0,class:"overflow-dots",innerHTML:t.notification.message},null,8,_hoisted_3$f)):(openBlock(),createElementBlock("div",_hoisted_4$a,toDisplayString$1(t.notification.message),1))]),_:1})):createCommentVNode("",!0)]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$7,[t.notification.state==="read"?(openBlock(),createBlock(QBtn,{key:0,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-check",onClick:withModifiers(t.markAsUnread,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Mark as Unread")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state!=="read"&&t.notification.state!=="archived"?(openBlock(),createBlock(QBtn,{key:1,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-circle-outline",onClick:withModifiers(t.markAsRead,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Mark as Read")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state!=="archived"?(openBlock(),createBlock(QBtn,{key:2,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-package-down",onClick:withModifiers(t.markAsArchived,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Archive")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state==="archived"?(openBlock(),createBlock(QBtn,{key:3,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-package-up",onClick:withModifiers(t.markAsUnread,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Restore from Archive")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state==="archived"?(openBlock(),createBlock(QBtn,{key:4,color:"negative",class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-delete",onClick:withModifiers(t.remove,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0)])]),_:1})]),_:1},8,["id","class","onClick"])),[[Ripple]]),createVNode$1(QSeparator)])}var NotificationItem=_export_sfc$1(_sfc_main$x,[["render",_sfc_render$x]]),List_vue_vue_type_style_index_0_lang="";const _sfc_main$w=defineComponent({name:"NotificationList",components:{NotificationItem},setup(){const t=useNotifications();return{showArchived:ref(!1),notificationsActive:computed(()=>t.getActive),notificationsArchived:computed(()=>t.getArchived)}}}),_hoisted_1$q={class:"q-mt-xs jarvis-notifications-items"},_hoisted_2$j={key:2};function _sfc_render$w(t,r,o,a,u,d){const g=resolveComponent("notification-item"),v=resolveComponent("divider");return openBlock(),createElementBlock("div",_hoisted_1$q,[createVNode$1(QSeparator),t.notificationsActive.length<200?(openBlock(),createBlock(QList,{key:0},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationsActive,y=>(openBlock(),createBlock(g,{key:y.id,notification:y},null,8,["notification"]))),128))]),_:1})):(openBlock(),createBlock(QVirtualScroll,{key:1,items:t.notificationsActive},{default:withCtx(({item:y})=>[createVNode$1(g,{notification:y},null,8,["notification"])]),_:1},8,["items"])),withDirectives(createVNode$1(QBtn,{flat:"",class:"full-width",onClick:r[0]||(r[0]=y=>t.showArchived=!t.showArchived)},{default:withCtx(()=>[t.showArchived?(openBlock(),createBlock(v,{key:0,label:t.$t("hide archived notifications")},null,8,["label"])):(openBlock(),createBlock(v,{key:1,label:t.$t("show archived notifications")},null,8,["label"]))]),_:1},512),[[vShow,t.notificationsArchived&&t.notificationsArchived.length>0]]),t.showArchived?(openBlock(),createElementBlock("div",_hoisted_2$j,[createVNode$1(QSeparator),t.notificationsArchived.length<200?(openBlock(),createBlock(QList,{key:0},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationsArchived,y=>(openBlock(),createBlock(g,{key:y.id,notification:y},null,8,["notification"]))),128))]),_:1})):(openBlock(),createBlock(QVirtualScroll,{key:1,items:t.notificationsArchived},{default:withCtx(({item:y})=>[createVNode$1(g,{notification:y},null,8,["notification"])]),_:1},8,["items"]))])):createCommentVNode("",!0)])}var NotificationList=_export_sfc$1(_sfc_main$w,[["render",_sfc_render$w]]),Drawer_vue_vue_type_style_index_0_lang="";const _sfc_main$v=defineComponent({name:"NotificationDrawer",components:{NotificationEventAndroid,NotificationEventPopup,NotificationEventSnackbar,NotificationList},setup(){const t=useJarvis(),r=useNotifications(),o=Math.min(500,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.documentElement.clientWidth)),a=v=>t.set("drawerNotifications",v),u=computed({get(){return t.drawerNotifications},set(v){a(v)}}),d=computed(()=>r.getUnread.length),g=computed(()=>r.getActive.length+r.getArchived.length);return{toggleNotifications:a,drawerNotifications:u,unread:d,all:g,width:o}}});function _sfc_render$v(t,r,o,a,u,d){const g=resolveComponent("notification-event-android"),v=resolveComponent("notification-event-popup"),y=resolveComponent("notification-event-snackbar"),A=resolveComponent("icon"),b=resolveComponent("notification-list");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g),createVNode$1(v),createVNode$1(y),createVNode$1(QDrawer,{modelValue:t.drawerNotifications,"onUpdate:modelValue":r[1]||(r[1]=_=>t.drawerNotifications=_),side:"right",behavior:"mobile",width:t.width,overlay:"",bordered:"","content-class":"jarvis-notifications body",class:"jarvis-notifications-container"},{default:withCtx(()=>[createVNode$1(QHeader,{style:{position:"relative",left:"0"}},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createBaseVNode("h6",null,[createVNode$1(A,{name:"mdi-bell"}),createTextVNode(" "+toDisplayString$1(t.$t("Notifications"))+" ("+toDisplayString$1(t.unread)+" / "+toDisplayString$1(t.all)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-chevron-right","aria-label":"Menu",onClick:r[0]||(r[0]=_=>t.toggleNotifications(!1))})]),_:1})]),_:1}),t.drawerNotifications?(openBlock(),createBlock(b,{key:0})):createCommentVNode("",!0)]),_:1},8,["modelValue","width"])],64)}var Drawer=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v]]),index$1=Object.freeze(Object.defineProperty({__proto__:null,default:Drawer},Symbol.toStringTag,{value:"Module"})),top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start$1="start",end$1="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(t,r){return t.concat([r+"-"+start$1,r+"-"+end$1])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(t,r){return t.concat([r,r+"-"+start$1,r+"-"+end$1])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(t){return t?(t.nodeName||"").toLowerCase():null}function getWindow(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function isElement(t){var r=getWindow(t).Element;return t instanceof r||t instanceof Element}function isHTMLElement(t){var r=getWindow(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function isShadowRoot(t){if(typeof ShadowRoot=="undefined")return!1;var r=getWindow(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function applyStyles(t){var r=t.state;Object.keys(r.elements).forEach(function(o){var a=r.styles[o]||{},u=r.attributes[o]||{},d=r.elements[o];!isHTMLElement(d)||!getNodeName(d)||(Object.assign(d.style,a),Object.keys(u).forEach(function(g){var v=u[g];v===!1?d.removeAttribute(g):d.setAttribute(g,v===!0?"":v)}))})}function effect$2(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow),function(){Object.keys(r.elements).forEach(function(a){var u=r.elements[a],d=r.attributes[a]||{},g=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:o[a]),v=g.reduce(function(y,A){return y[A]="",y},{});!isHTMLElement(u)||!getNodeName(u)||(Object.assign(u.style,v),Object.keys(d).forEach(function(y){u.removeAttribute(y)}))})}}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(t){return t.split("-")[0]}var max$2=Math.max,min$2=Math.min,round$4=Math.round;function getUAString(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(t,r,o){r===void 0&&(r=!1),o===void 0&&(o=!1);var a=t.getBoundingClientRect(),u=1,d=1;r&&isHTMLElement(t)&&(u=t.offsetWidth>0&&round$4(a.width)/t.offsetWidth||1,d=t.offsetHeight>0&&round$4(a.height)/t.offsetHeight||1);var g=isElement(t)?getWindow(t):window,v=g.visualViewport,y=!isLayoutViewport()&&o,A=(a.left+(y&&v?v.offsetLeft:0))/u,b=(a.top+(y&&v?v.offsetTop:0))/d,_=a.width/u,w=a.height/d;return{width:_,height:w,top:b,right:A+_,bottom:b+w,left:A,x:A,y:b}}function getLayoutRect$1(t){var r=getBoundingClientRect(t),o=t.offsetWidth,a=t.offsetHeight;return Math.abs(r.width-o)<=1&&(o=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:a}}function contains(t,r){var o=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(o&&isShadowRoot(o)){var a=r;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function getComputedStyle$2(t){return getWindow(t).getComputedStyle(t)}function isTableElement(t){return["table","td","th"].indexOf(getNodeName(t))>=0}function getDocumentElement(t){return((isElement(t)?t.ownerDocument:t.document)||window.document).documentElement}function getParentNode(t){return getNodeName(t)==="html"?t:t.assignedSlot||t.parentNode||(isShadowRoot(t)?t.host:null)||getDocumentElement(t)}function getTrueOffsetParent(t){return!isHTMLElement(t)||getComputedStyle$2(t).position==="fixed"?null:t.offsetParent}function getContainingBlock(t){var r=/firefox/i.test(getUAString()),o=/Trident/i.test(getUAString());if(o&&isHTMLElement(t)){var a=getComputedStyle$2(t);if(a.position==="fixed")return null}var u=getParentNode(t);for(isShadowRoot(u)&&(u=u.host);isHTMLElement(u)&&["html","body"].indexOf(getNodeName(u))<0;){var d=getComputedStyle$2(u);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return u;u=u.parentNode}return null}function getOffsetParent(t){for(var r=getWindow(t),o=getTrueOffsetParent(t);o&&isTableElement(o)&&getComputedStyle$2(o).position==="static";)o=getTrueOffsetParent(o);return o&&(getNodeName(o)==="html"||getNodeName(o)==="body"&&getComputedStyle$2(o).position==="static")?r:o||getContainingBlock(t)||r}function getMainAxisFromPlacement(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function within(t,r,o){return max$2(t,min$2(r,o))}function withinMaxClamp(t,r,o){var a=within(t,r,o);return a>o?o:a}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(t){return Object.assign({},getFreshSideObject(),t)}function expandToHashMap(t,r){return r.reduce(function(o,a){return o[a]=t,o},{})}var toPaddingObject=function t(r,o){return r=typeof r=="function"?r(Object.assign({},o.rects,{placement:o.placement})):r,mergePaddingObject(typeof r!="number"?r:expandToHashMap(r,basePlacements))};function arrow(t){var r,o=t.state,a=t.name,u=t.options,d=o.elements.arrow,g=o.modifiersData.popperOffsets,v=getBasePlacement(o.placement),y=getMainAxisFromPlacement(v),A=[left,right].indexOf(v)>=0,b=A?"height":"width";if(!(!d||!g)){var _=toPaddingObject(u.padding,o),w=getLayoutRect$1(d),S=y==="y"?top:left,C=y==="y"?bottom:right,T=o.rects.reference[b]+o.rects.reference[y]-g[y]-o.rects.popper[b],I=g[y]-o.rects.reference[y],E=getOffsetParent(d),F=E?y==="y"?E.clientHeight||0:E.clientWidth||0:0,O=T/2-I/2,D=_[S],x=F-w[b]-_[C],P=F/2-w[b]/2+O,G=within(D,P,x),M=y;o.modifiersData[a]=(r={},r[M]=G,r.centerOffset=G-P,r)}}function effect$1(t){var r=t.state,o=t.options,a=o.element,u=a===void 0?"[data-popper-arrow]":a;u!=null&&(typeof u=="string"&&(u=r.elements.popper.querySelector(u),!u)||!contains(r.elements.popper,u)||(r.elements.arrow=u))}var arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(t){return t.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(t,r){var o=t.x,a=t.y,u=r.devicePixelRatio||1;return{x:round$4(o*u)/u||0,y:round$4(a*u)/u||0}}function mapToStyles(t){var r,o=t.popper,a=t.popperRect,u=t.placement,d=t.variation,g=t.offsets,v=t.position,y=t.gpuAcceleration,A=t.adaptive,b=t.roundOffsets,_=t.isFixed,w=g.x,S=w===void 0?0:w,C=g.y,T=C===void 0?0:C,I=typeof b=="function"?b({x:S,y:T}):{x:S,y:T};S=I.x,T=I.y;var E=g.hasOwnProperty("x"),F=g.hasOwnProperty("y"),O=left,D=top,x=window;if(A){var P=getOffsetParent(o),G="clientHeight",M="clientWidth";if(P===getWindow(o)&&(P=getDocumentElement(o),getComputedStyle$2(P).position!=="static"&&v==="absolute"&&(G="scrollHeight",M="scrollWidth")),P=P,u===top||(u===left||u===right)&&d===end$1){D=bottom;var N=_&&P===x&&x.visualViewport?x.visualViewport.height:P[G];T-=N-a.height,T*=y?1:-1}if(u===left||(u===top||u===bottom)&&d===end$1){O=right;var V=_&&P===x&&x.visualViewport?x.visualViewport.width:P[M];S-=V-a.width,S*=y?1:-1}}var Y=Object.assign({position:v},A&&unsetSides),H=b===!0?roundOffsetsByDPR({x:S,y:T},getWindow(o)):{x:S,y:T};if(S=H.x,T=H.y,y){var B;return Object.assign({},Y,(B={},B[D]=F?"0":"",B[O]=E?"0":"",B.transform=(x.devicePixelRatio||1)<=1?"translate("+S+"px, "+T+"px)":"translate3d("+S+"px, "+T+"px, 0)",B))}return Object.assign({},Y,(r={},r[D]=F?T+"px":"",r[O]=E?S+"px":"",r.transform="",r))}function computeStyles(t){var r=t.state,o=t.options,a=o.gpuAcceleration,u=a===void 0?!0:a,d=o.adaptive,g=d===void 0?!0:d,v=o.roundOffsets,y=v===void 0?!0:v,A={placement:getBasePlacement(r.placement),variation:getVariation(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:u,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,mapToStyles(Object.assign({},A,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:g,roundOffsets:y})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,mapToStyles(Object.assign({},A,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}},passive={passive:!0};function effect(t){var r=t.state,o=t.instance,a=t.options,u=a.scroll,d=u===void 0?!0:u,g=a.resize,v=g===void 0?!0:g,y=getWindow(r.elements.popper),A=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&A.forEach(function(b){b.addEventListener("scroll",o.update,passive)}),v&&y.addEventListener("resize",o.update,passive),function(){d&&A.forEach(function(b){b.removeEventListener("scroll",o.update,passive)}),v&&y.removeEventListener("resize",o.update,passive)}}var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function t(){},effect,data:{}},hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,function(r){return hash$1[r]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(t){return t.replace(/start|end/g,function(r){return hash[r]})}function getWindowScroll(t){var r=getWindow(t),o=r.pageXOffset,a=r.pageYOffset;return{scrollLeft:o,scrollTop:a}}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getWindowScroll(t).scrollLeft}function getViewportRect(t,r){var o=getWindow(t),a=getDocumentElement(t),u=o.visualViewport,d=a.clientWidth,g=a.clientHeight,v=0,y=0;if(u){d=u.width,g=u.height;var A=isLayoutViewport();(A||!A&&r==="fixed")&&(v=u.offsetLeft,y=u.offsetTop)}return{width:d,height:g,x:v+getWindowScrollBarX(t),y}}function getDocumentRect(t){var r,o=getDocumentElement(t),a=getWindowScroll(t),u=(r=t.ownerDocument)==null?void 0:r.body,d=max$2(o.scrollWidth,o.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),g=max$2(o.scrollHeight,o.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),v=-a.scrollLeft+getWindowScrollBarX(t),y=-a.scrollTop;return getComputedStyle$2(u||o).direction==="rtl"&&(v+=max$2(o.clientWidth,u?u.clientWidth:0)-d),{width:d,height:g,x:v,y}}function isScrollParent(t){var r=getComputedStyle$2(t),o=r.overflow,a=r.overflowX,u=r.overflowY;return/auto|scroll|overlay|hidden/.test(o+u+a)}function getScrollParent(t){return["html","body","#document"].indexOf(getNodeName(t))>=0?t.ownerDocument.body:isHTMLElement(t)&&isScrollParent(t)?t:getScrollParent(getParentNode(t))}function listScrollParents(t,r){var o;r===void 0&&(r=[]);var a=getScrollParent(t),u=a===((o=t.ownerDocument)==null?void 0:o.body),d=getWindow(a),g=u?[d].concat(d.visualViewport||[],isScrollParent(a)?a:[]):a,v=r.concat(g);return u?v:v.concat(listScrollParents(getParentNode(g)))}function rectToClientRect(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function getInnerBoundingClientRect(t,r){var o=getBoundingClientRect(t,!1,r==="fixed");return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}function getClientRectFromMixedType(t,r,o){return r===viewport?rectToClientRect(getViewportRect(t,o)):isElement(r)?getInnerBoundingClientRect(r,o):rectToClientRect(getDocumentRect(getDocumentElement(t)))}function getClippingParents(t){var r=listScrollParents(getParentNode(t)),o=["absolute","fixed"].indexOf(getComputedStyle$2(t).position)>=0,a=o&&isHTMLElement(t)?getOffsetParent(t):t;return isElement(a)?r.filter(function(u){return isElement(u)&&contains(u,a)&&getNodeName(u)!=="body"}):[]}function getClippingRect(t,r,o,a){var u=r==="clippingParents"?getClippingParents(t):[].concat(r),d=[].concat(u,[o]),g=d[0],v=d.reduce(function(y,A){var b=getClientRectFromMixedType(t,A,a);return y.top=max$2(b.top,y.top),y.right=min$2(b.right,y.right),y.bottom=min$2(b.bottom,y.bottom),y.left=max$2(b.left,y.left),y},getClientRectFromMixedType(t,g,a));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function computeOffsets(t){var r=t.reference,o=t.element,a=t.placement,u=a?getBasePlacement(a):null,d=a?getVariation(a):null,g=r.x+r.width/2-o.width/2,v=r.y+r.height/2-o.height/2,y;switch(u){case top:y={x:g,y:r.y-o.height};break;case bottom:y={x:g,y:r.y+r.height};break;case right:y={x:r.x+r.width,y:v};break;case left:y={x:r.x-o.width,y:v};break;default:y={x:r.x,y:r.y}}var A=u?getMainAxisFromPlacement(u):null;if(A!=null){var b=A==="y"?"height":"width";switch(d){case start$1:y[A]=y[A]-(r[b]/2-o[b]/2);break;case end$1:y[A]=y[A]+(r[b]/2-o[b]/2);break}}return y}function detectOverflow(t,r){r===void 0&&(r={});var o=r,a=o.placement,u=a===void 0?t.placement:a,d=o.strategy,g=d===void 0?t.strategy:d,v=o.boundary,y=v===void 0?clippingParents:v,A=o.rootBoundary,b=A===void 0?viewport:A,_=o.elementContext,w=_===void 0?popper:_,S=o.altBoundary,C=S===void 0?!1:S,T=o.padding,I=T===void 0?0:T,E=mergePaddingObject(typeof I!="number"?I:expandToHashMap(I,basePlacements)),F=w===popper?reference:popper,O=t.rects.popper,D=t.elements[C?F:w],x=getClippingRect(isElement(D)?D:D.contextElement||getDocumentElement(t.elements.popper),y,b,g),P=getBoundingClientRect(t.elements.reference),G=computeOffsets({reference:P,element:O,strategy:"absolute",placement:u}),M=rectToClientRect(Object.assign({},O,G)),N=w===popper?M:P,V={top:x.top-N.top+E.top,bottom:N.bottom-x.bottom+E.bottom,left:x.left-N.left+E.left,right:N.right-x.right+E.right},Y=t.modifiersData.offset;if(w===popper&&Y){var H=Y[u];Object.keys(V).forEach(function(B){var z=[right,bottom].indexOf(B)>=0?1:-1,U=[top,bottom].indexOf(B)>=0?"y":"x";V[B]+=H[U]*z})}return V}function computeAutoPlacement(t,r){r===void 0&&(r={});var o=r,a=o.placement,u=o.boundary,d=o.rootBoundary,g=o.padding,v=o.flipVariations,y=o.allowedAutoPlacements,A=y===void 0?placements:y,b=getVariation(a),_=b?v?variationPlacements:variationPlacements.filter(function(C){return getVariation(C)===b}):basePlacements,w=_.filter(function(C){return A.indexOf(C)>=0});w.length===0&&(w=_);var S=w.reduce(function(C,T){return C[T]=detectOverflow(t,{placement:T,boundary:u,rootBoundary:d,padding:g})[getBasePlacement(T)],C},{});return Object.keys(S).sort(function(C,T){return S[C]-S[T]})}function getExpandedFallbackPlacements(t){if(getBasePlacement(t)===auto)return[];var r=getOppositePlacement(t);return[getOppositeVariationPlacement(t),r,getOppositeVariationPlacement(r)]}function flip(t){var r=t.state,o=t.options,a=t.name;if(!r.modifiersData[a]._skip){for(var u=o.mainAxis,d=u===void 0?!0:u,g=o.altAxis,v=g===void 0?!0:g,y=o.fallbackPlacements,A=o.padding,b=o.boundary,_=o.rootBoundary,w=o.altBoundary,S=o.flipVariations,C=S===void 0?!0:S,T=o.allowedAutoPlacements,I=r.options.placement,E=getBasePlacement(I),F=E===I,O=y||(F||!C?[getOppositePlacement(I)]:getExpandedFallbackPlacements(I)),D=[I].concat(O).reduce(function(he,ye){return he.concat(getBasePlacement(ye)===auto?computeAutoPlacement(r,{placement:ye,boundary:b,rootBoundary:_,padding:A,flipVariations:C,allowedAutoPlacements:T}):ye)},[]),x=r.rects.reference,P=r.rects.popper,G=new Map,M=!0,N=D[0],V=0;V=0,U=z?"width":"height",Q=detectOverflow(r,{placement:Y,boundary:b,rootBoundary:_,altBoundary:w,padding:A}),X=z?B?right:left:B?bottom:top;x[U]>P[U]&&(X=getOppositePlacement(X));var J=getOppositePlacement(X),ne=[];if(d&&ne.push(Q[H]<=0),v&&ne.push(Q[X]<=0,Q[J]<=0),ne.every(function(he){return he})){N=Y,M=!1;break}G.set(Y,ne)}if(M)for(var te=C?3:1,ce=function(ye){var ee=D.find(function(pe){var ae=G.get(pe);if(ae)return ae.slice(0,ye).every(function(ve){return ve})});if(ee)return N=ee,"break"},se=te;se>0;se--){var ge=ce(se);if(ge==="break")break}r.placement!==N&&(r.modifiersData[a]._skip=!0,r.placement=N,r.reset=!0)}}var flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(t,r,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-r.height-o.y,right:t.right-r.width+o.x,bottom:t.bottom-r.height+o.y,left:t.left-r.width-o.x}}function isAnySideFullyClipped(t){return[top,right,bottom,left].some(function(r){return t[r]>=0})}function hide(t){var r=t.state,o=t.name,a=r.rects.reference,u=r.rects.popper,d=r.modifiersData.preventOverflow,g=detectOverflow(r,{elementContext:"reference"}),v=detectOverflow(r,{altBoundary:!0}),y=getSideOffsets(g,a),A=getSideOffsets(v,u,d),b=isAnySideFullyClipped(y),_=isAnySideFullyClipped(A);r.modifiersData[o]={referenceClippingOffsets:y,popperEscapeOffsets:A,isReferenceHidden:b,hasPopperEscaped:_},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":b,"data-popper-escaped":_})}var hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(t,r,o){var a=getBasePlacement(t),u=[left,top].indexOf(a)>=0?-1:1,d=typeof o=="function"?o(Object.assign({},r,{placement:t})):o,g=d[0],v=d[1];return g=g||0,v=(v||0)*u,[left,right].indexOf(a)>=0?{x:v,y:g}:{x:g,y:v}}function offset$1(t){var r=t.state,o=t.options,a=t.name,u=o.offset,d=u===void 0?[0,0]:u,g=placements.reduce(function(b,_){return b[_]=distanceAndSkiddingToXY(_,r.rects,d),b},{}),v=g[r.placement],y=v.x,A=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=y,r.modifiersData.popperOffsets.y+=A),r.modifiersData[a]=g}var offset$2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset$1};function popperOffsets(t){var r=t.state,o=t.name;r.modifiersData[o]=computeOffsets({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(t){return t==="x"?"y":"x"}function preventOverflow(t){var r=t.state,o=t.options,a=t.name,u=o.mainAxis,d=u===void 0?!0:u,g=o.altAxis,v=g===void 0?!1:g,y=o.boundary,A=o.rootBoundary,b=o.altBoundary,_=o.padding,w=o.tether,S=w===void 0?!0:w,C=o.tetherOffset,T=C===void 0?0:C,I=detectOverflow(r,{boundary:y,rootBoundary:A,padding:_,altBoundary:b}),E=getBasePlacement(r.placement),F=getVariation(r.placement),O=!F,D=getMainAxisFromPlacement(E),x=getAltAxis(D),P=r.modifiersData.popperOffsets,G=r.rects.reference,M=r.rects.popper,N=typeof T=="function"?T(Object.assign({},r.rects,{placement:r.placement})):T,V=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),Y=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,H={x:0,y:0};if(!!P){if(d){var B,z=D==="y"?top:left,U=D==="y"?bottom:right,Q=D==="y"?"height":"width",X=P[D],J=X+I[z],ne=X-I[U],te=S?-M[Q]/2:0,ce=F===start$1?G[Q]:M[Q],se=F===start$1?-M[Q]:-G[Q],ge=r.elements.arrow,he=S&&ge?getLayoutRect$1(ge):{width:0,height:0},ye=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:getFreshSideObject(),ee=ye[z],pe=ye[U],ae=within(0,G[Q],he[Q]),ve=O?G[Q]/2-te-ae-ee-V.mainAxis:ce-ae-ee-V.mainAxis,we=O?-G[Q]/2+te+ae+pe+V.mainAxis:se+ae+pe+V.mainAxis,_e=r.elements.arrow&&getOffsetParent(r.elements.arrow),Te=_e?D==="y"?_e.clientTop||0:_e.clientLeft||0:0,Ce=(B=Y==null?void 0:Y[D])!=null?B:0,Ae=X+ve-Ce-Te,Ee=X+we-Ce,le=within(S?min$2(J,Ae):J,X,S?max$2(ne,Ee):ne);P[D]=le,H[D]=le-X}if(v){var re,ue=D==="x"?top:left,be=D==="x"?bottom:right,ie=P[x],oe=x==="y"?"height":"width",me=ie+I[ue],Se=ie-I[be],xe=[top,left].indexOf(E)!==-1,De=(re=Y==null?void 0:Y[x])!=null?re:0,Pe=xe?me:ie-G[oe]-M[oe]-De+V.altAxis,Be=xe?ie+G[oe]+M[oe]-De-V.altAxis:Se,ot=S&&xe?withinMaxClamp(Pe,ie,Be):within(S?Pe:me,ie,S?Be:Se);P[x]=ot,H[x]=ot-ie}r.modifiersData[a]=H}}var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function getNodeScroll(t){return t===getWindow(t)||!isHTMLElement(t)?getWindowScroll(t):getHTMLElementScroll(t)}function isElementScaled(t){var r=t.getBoundingClientRect(),o=round$4(r.width)/t.offsetWidth||1,a=round$4(r.height)/t.offsetHeight||1;return o!==1||a!==1}function getCompositeRect(t,r,o){o===void 0&&(o=!1);var a=isHTMLElement(r),u=isHTMLElement(r)&&isElementScaled(r),d=getDocumentElement(r),g=getBoundingClientRect(t,u,o),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(a||!a&&!o)&&((getNodeName(r)!=="body"||isScrollParent(d))&&(v=getNodeScroll(r)),isHTMLElement(r)?(y=getBoundingClientRect(r,!0),y.x+=r.clientLeft,y.y+=r.clientTop):d&&(y.x=getWindowScrollBarX(d))),{x:g.left+v.scrollLeft-y.x,y:g.top+v.scrollTop-y.y,width:g.width,height:g.height}}function order(t){var r=new Map,o=new Set,a=[];t.forEach(function(d){r.set(d.name,d)});function u(d){o.add(d.name);var g=[].concat(d.requires||[],d.requiresIfExists||[]);g.forEach(function(v){if(!o.has(v)){var y=r.get(v);y&&u(y)}}),a.push(d)}return t.forEach(function(d){o.has(d.name)||u(d)}),a}function orderModifiers(t){var r=order(t);return modifierPhases.reduce(function(o,a){return o.concat(r.filter(function(u){return u.phase===a}))},[])}function debounce(t){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(t())})})),r}}function mergeByName(t){var r=t.reduce(function(o,a){var u=o[a.name];return o[a.name]=u?Object.assign({},u,a,{options:Object.assign({},u.options,a.options),data:Object.assign({},u.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var t=arguments.length,r=new Array(t),o=0;or in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,__publicField=(t,r,o)=>(__defNormalProp(t,typeof r!="symbol"?r+"":r,o),o),commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var objectProto$g=Object.prototype,hasOwnProperty$d=objectProto$g.hasOwnProperty;function baseHas$1(t,r){return t!=null&&hasOwnProperty$d.call(t,r)}var _baseHas=baseHas$1,isArray$c=Array.isArray,isArray_1=isArray$c,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$8=freeGlobal||freeSelf||Function("return this")(),_root=root$8,root$7=_root,Symbol$5=root$7.Symbol,_Symbol=Symbol$5,Symbol$4=_Symbol,objectProto$f=Object.prototype,hasOwnProperty$c=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$4?Symbol$4.toStringTag:void 0;function getRawTag$1(t){var r=hasOwnProperty$c.call(t,symToStringTag$1),o=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var a=!0}catch(d){}var u=nativeObjectToString$1.call(t);return a&&(r?t[symToStringTag$1]=o:delete t[symToStringTag$1]),u}var _getRawTag=getRawTag$1,objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$1(t){return nativeObjectToString.call(t)}var _objectToString=objectToString$1,Symbol$3=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag$a(t){return t==null?t===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}var _baseGetTag=baseGetTag$a;function isObjectLike$b(t){return t!=null&&typeof t=="object"}var isObjectLike_1=isObjectLike$b,baseGetTag$9=_baseGetTag,isObjectLike$a=isObjectLike_1,symbolTag$1="[object Symbol]";function isSymbol$3(t){return typeof t=="symbol"||isObjectLike$a(t)&&baseGetTag$9(t)==symbolTag$1}var isSymbol_1=isSymbol$3,isArray$b=isArray_1,isSymbol$2=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$3(t,r){if(isArray$b(t))return!1;var o=typeof t;return o=="number"||o=="symbol"||o=="boolean"||t==null||isSymbol$2(t)?!0:reIsPlainProp.test(t)||!reIsDeepProp.test(t)||r!=null&&t in Object(r)}var _isKey=isKey$3;function isObject$a(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var isObject_1=isObject$a,baseGetTag$8=_baseGetTag,isObject$9=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(t){if(!isObject$9(t))return!1;var r=baseGetTag$8(t);return r==funcTag$1||r==genTag||r==asyncTag||r==proxyTag}var isFunction_1=isFunction$3,root$6=_root,coreJsData$1=root$6["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var t=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function isMasked$1(t){return!!maskSrcKey&&maskSrcKey in t}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(t){if(t!=null){try{return funcToString$2.call(t)}catch(r){}try{return t+""}catch(r){}}return""}var _toSource=toSource$2,isFunction$2=isFunction_1,isMasked=_isMasked,isObject$8=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$b=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$b).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(t){if(!isObject$8(t)||isMasked(t))return!1;var r=isFunction$2(t)?reIsNative:reIsHostCtor;return r.test(toSource$1(t))}var _baseIsNative=baseIsNative$1;function getValue$1(t,r){return t==null?void 0:t[r]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$7(t,r){var o=getValue(t,r);return baseIsNative(o)?o:void 0}var _getNative=getNative$7,getNative$6=_getNative,nativeCreate$4=getNative$6(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty;function hashGet$1(t){var r=this.__data__;if(nativeCreate$2){var o=r[t];return o===HASH_UNDEFINED$2?void 0:o}return hasOwnProperty$a.call(r,t)?r[t]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function hashHas$1(t){var r=this.__data__;return nativeCreate$1?r[t]!==void 0:hasOwnProperty$9.call(r,t)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=nativeCreate&&r===void 0?HASH_UNDEFINED$1:r,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(t,r){var o=this.__data__,a=assocIndexOf(o,t);return a<0?(++this.size,o.push([t,r])):o[a][1]=r,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet$2=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet$2=_listCacheSet;function ListCache$4(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r-1&&t%1==0&&t-1&&t%1==0&&t<=MAX_SAFE_INTEGER$2}var isLength_1=isLength$3,isSymbol=isSymbol_1,INFINITY=1/0;function toKey$4(t){if(typeof t=="string"||isSymbol(t))return t;var r=t+"";return r=="0"&&1/t==-INFINITY?"-0":r}var _toKey=toKey$4,castPath$1=_castPath,isArguments$2=isArguments_1,isArray$8=isArray_1,isIndex$2=_isIndex,isLength$2=isLength_1,toKey$3=_toKey;function hasPath$2(t,r,o){r=castPath$1(r,t);for(var a=-1,u=r.length,d=!1;++av))return!1;var A=d.get(t),b=d.get(r);if(A&&b)return A==r&&b==t;var _=-1,w=!0,S=o&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(d.set(t,r),d.set(r,t);++_0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$1=shortOut(baseSetToString),_setToString=setToString$1,identity$4=identity_1,overRest=_overRest,setToString=_setToString;function baseRest$3(t,r){return setToString(overRest(t,r,identity$4),t+"")}var _baseRest=baseRest$3;function nativeKeysIn$1(t){var r=[];if(t!=null)for(var o in Object(t))r.push(o);return r}var _nativeKeysIn=nativeKeysIn$1,isObject$5=isObject_1,isPrototype$1=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function baseKeysIn$1(t){if(!isObject$5(t))return nativeKeysIn(t);var r=isPrototype$1(t),o=[];for(var a in t)a=="constructor"&&(r||!hasOwnProperty$2.call(t,a))||o.push(a);return o}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$1=isArrayLike_1;function keysIn$3(t){return isArrayLike$1(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var keysIn_1=keysIn$3,baseRest$2=_baseRest,eq$1=eq_1,isIterateeCall$1=_isIterateeCall,keysIn$2=keysIn_1,objectProto$1=Object.prototype,hasOwnProperty$1$1=objectProto$1.hasOwnProperty,defaults$1=baseRest$2(function(t,r){t=Object(t);var o=-1,a=r.length,u=a>2?r[2]:void 0;for(u&&isIterateeCall$1(r[0],r[1],u)&&(a=1);++o1?o[u-1]:void 0,g=u>2?o[2]:void 0;for(d=t.length>3&&typeof d=="function"?(u--,d):void 0,g&&isIterateeCall(o[0],o[1],g)&&(d=u<3?void 0:d,u=1),r=Object(r);++aObject.prototype.toString.call(t).slice(8,-1),isDate$2=t=>isDate_1(t)&&!isNaN(t.getTime()),isObject$b=t=>getType(t)==="Object",has$3=has_1,hasAny=(t,r)=>some_1(r,o=>has_1(t,o)),pad$1=(t,r,o="0")=>{for(t=t!=null?String(t):"",r=r||2;t.lengthArray.isArray(t),arrayHasItems=t=>isArray$d(t)&&t.length>0,resolveEl=t=>{var r;return t==null?null:document&&isString_1(t)?document.querySelector(t):(r=t.$el)!=null?r:t},off=(t,r,o,a=void 0)=>{t.removeEventListener(r,o,a)},on=(t,r,o,a=void 0)=>(t.addEventListener(r,o,a),()=>off(t,r,o,a)),elementContains=(t,r)=>!!t&&!!r&&(t===r||t.contains(r)),onSpaceOrEnter=(t,r)=>{(t.key===" "||t.key==="Enter")&&(r(t),t.preventDefault())},omit=(t,...r)=>{const o={};let a;for(a in t)r.includes(a)||(o[a]=t[a]);return o},pick$1=(t,r)=>{const o={};return r.forEach(a=>{a in t&&(o[a]=t[a])}),o};function clamp$1(t,r,o){return Math.min(Math.max(t,r),o)}var toIntegerExports={},toInteger$2={get exports(){return toIntegerExports},set exports(t){toIntegerExports=t}};(function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(a){if(a===null||a===!0||a===!1)return NaN;var u=Number(a);return isNaN(u)?u:u<0?Math.ceil(u):Math.floor(u)}t.exports=r.default})(toInteger$2,toIntegerExports);const toInteger$1=getDefaultExportFromCjs(toIntegerExports);var getTimezoneOffsetInMillisecondsExports={},getTimezoneOffsetInMilliseconds$2={get exports(){return getTimezoneOffsetInMillisecondsExports},set exports(t){getTimezoneOffsetInMillisecondsExports=t}};(function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(a){var u=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return u.setUTCFullYear(a.getFullYear()),a.getTime()-u.getTime()}t.exports=r.default})(getTimezoneOffsetInMilliseconds$2,getTimezoneOffsetInMillisecondsExports);const getTimezoneOffsetInMilliseconds$1=getDefaultExportFromCjs(getTimezoneOffsetInMillisecondsExports);function tzTokenizeDate(t,r){var o=getDateTimeFormat(r);return o.formatToParts?partsOffset$1(o,t):hackyOffset$1(o,t)}var typeToPos$1={year:0,month:1,day:2,hour:3,minute:4,second:5};function partsOffset$1(t,r){try{for(var o=t.formatToParts(r),a=[],u=0;u=0&&(a[d]=parseInt(o[u].value,10))}return a}catch(g){if(g instanceof RangeError)return[NaN];throw g}}function hackyOffset$1(t,r){var o=t.format(r).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(o);return[a[3],a[1],a[2],a[4],a[5],a[6]]}var dtfCache$1={};function getDateTimeFormat(t){if(!dtfCache$1[t]){var r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),o=r==="06/25/2014, 00:00:00"||r==="\u200E06\u200E/\u200E25\u200E/\u200E2014\u200E \u200E00\u200E:\u200E00\u200E:\u200E00";dtfCache$1[t]=o?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return dtfCache$1[t]}function newDateUTC(t,r,o,a,u,d,g){var v=new Date(0);return v.setUTCFullYear(t,r,o),v.setUTCHours(a,u,d,g),v}var MILLISECONDS_IN_HOUR$1=36e5,MILLISECONDS_IN_MINUTE$1=6e4,patterns$1={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function tzParseTimezone(t,r,o){var a,u;if(!t||(a=patterns$1.timezoneZ.exec(t),a))return 0;var d;if(a=patterns$1.timezoneHH.exec(t),a)return d=parseInt(a[1],10),validateTimezone(d)?-(d*MILLISECONDS_IN_HOUR$1):NaN;if(a=patterns$1.timezoneHHMM.exec(t),a){d=parseInt(a[1],10);var g=parseInt(a[2],10);return validateTimezone(d,g)?(u=Math.abs(d)*MILLISECONDS_IN_HOUR$1+g*MILLISECONDS_IN_MINUTE$1,d>0?-u:u):NaN}if(isValidTimezoneIANAString(t)){r=new Date(r||Date.now());var v=o?r:toUtcDate(r),y=calcOffset(v,t),A=o?y:fixOffset$1(r,y,t);return-A}return NaN}function toUtcDate(t){return newDateUTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function calcOffset(t,r){var o=tzTokenizeDate(t,r),a=newDateUTC(o[0],o[1]-1,o[2],o[3]%24,o[4],o[5],0).getTime(),u=t.getTime(),d=u%1e3;return u-=d>=0?d:1e3+d,a-u}function fixOffset$1(t,r,o){var a=t.getTime(),u=a-r,d=calcOffset(new Date(u),o);if(r===d)return r;u-=d-r;var g=calcOffset(new Date(u),o);return d===g?d:Math.max(d,g)}function validateTimezone(t,r){return-23<=t&&t<=23&&(r==null||0<=r&&r<=59)}var validIANATimezoneCache={};function isValidTimezoneIANAString(t){if(validIANATimezoneCache[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),validIANATimezoneCache[t]=!0,!0}catch(r){return!1}}var tzPattern=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const tzPattern$1=tzPattern;var MILLISECONDS_IN_HOUR=36e5,MILLISECONDS_IN_MINUTE=6e4,DEFAULT_ADDITIONAL_DIGITS=2,patterns={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:tzPattern$1};function toDate$1(t,r){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var o=r||{},a=o.additionalDigits==null?DEFAULT_ADDITIONAL_DIGITS:toInteger$1(o.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var u=splitDateString(t),d=parseYear(u.date,a),g=d.year,v=d.restDateString,y=parseDate$1(v,g);if(isNaN(y))return new Date(NaN);if(y){var A=y.getTime(),b=0,_;if(u.time&&(b=parseTime(u.time),isNaN(b)))return new Date(NaN);if(u.timeZone||o.timeZone){if(_=tzParseTimezone(u.timeZone||o.timeZone,new Date(A+b)),isNaN(_))return new Date(NaN)}else _=getTimezoneOffsetInMilliseconds$1(new Date(A+b)),_=getTimezoneOffsetInMilliseconds$1(new Date(A+b+_));return new Date(A+b+_)}else return new Date(NaN)}function splitDateString(t){var r={},o=patterns.dateTimePattern.exec(t),a;if(o?(r.date=o[1],a=o[3]):(o=patterns.datePattern.exec(t),o?(r.date=o[1],a=o[2]):(r.date=null,a=t)),a){var u=patterns.timeZone.exec(a);u?(r.time=a.replace(u[1],""),r.timeZone=u[1].trim()):r.time=a}return r}function parseYear(t,r){var o=patterns.YYY[r],a=patterns.YYYYY[r],u;if(u=patterns.YYYY.exec(t)||a.exec(t),u){var d=u[1];return{year:parseInt(d,10),restDateString:t.slice(d.length)}}if(u=patterns.YY.exec(t)||o.exec(t),u){var g=u[1];return{year:parseInt(g,10)*100,restDateString:t.slice(g.length)}}return{year:null}}function parseDate$1(t,r){if(r===null)return null;var o,a,u,d;if(t.length===0)return a=new Date(0),a.setUTCFullYear(r),a;if(o=patterns.MM.exec(t),o)return a=new Date(0),u=parseInt(o[1],10)-1,validateDate(r,u)?(a.setUTCFullYear(r,u),a):new Date(NaN);if(o=patterns.DDD.exec(t),o){a=new Date(0);var g=parseInt(o[1],10);return validateDayOfYearDate(r,g)?(a.setUTCFullYear(r,0,g),a):new Date(NaN)}if(o=patterns.MMDD.exec(t),o){a=new Date(0),u=parseInt(o[1],10)-1;var v=parseInt(o[2],10);return validateDate(r,u,v)?(a.setUTCFullYear(r,u,v),a):new Date(NaN)}if(o=patterns.Www.exec(t),o)return d=parseInt(o[1],10)-1,validateWeekDate(r,d)?dayOfISOWeekYear(r,d):new Date(NaN);if(o=patterns.WwwD.exec(t),o){d=parseInt(o[1],10)-1;var y=parseInt(o[2],10)-1;return validateWeekDate(r,d,y)?dayOfISOWeekYear(r,d,y):new Date(NaN)}return null}function parseTime(t){var r,o,a;if(r=patterns.HH.exec(t),r)return o=parseFloat(r[1].replace(",",".")),validateTime(o)?o%24*MILLISECONDS_IN_HOUR:NaN;if(r=patterns.HHMM.exec(t),r)return o=parseInt(r[1],10),a=parseFloat(r[2].replace(",",".")),validateTime(o,a)?o%24*MILLISECONDS_IN_HOUR+a*MILLISECONDS_IN_MINUTE:NaN;if(r=patterns.HHMMSS.exec(t),r){o=parseInt(r[1],10),a=parseInt(r[2],10);var u=parseFloat(r[3].replace(",","."));return validateTime(o,a,u)?o%24*MILLISECONDS_IN_HOUR+a*MILLISECONDS_IN_MINUTE+u*1e3:NaN}return null}function dayOfISOWeekYear(t,r,o){r=r||0,o=o||0;var a=new Date(0);a.setUTCFullYear(t,0,4);var u=a.getUTCDay()||7,d=r*7+o+1-u;return a.setUTCDate(a.getUTCDate()+d),a}var DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR=[31,29,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex(t){return t%400===0||t%4===0&&t%100!==0}function validateDate(t,r,o){if(r<0||r>11)return!1;if(o!=null){if(o<1)return!1;var a=isLeapYearIndex(t);if(a&&o>DAYS_IN_MONTH_LEAP_YEAR[r]||!a&&o>DAYS_IN_MONTH[r])return!1}return!0}function validateDayOfYearDate(t,r){if(r<1)return!1;var o=isLeapYearIndex(t);return!(o&&r>366||!o&&r>365)}function validateWeekDate(t,r,o){return!(r<0||r>52||o!=null&&(o<0||o>6))}function validateTime(t,r,o){return!(t!=null&&(t<0||t>=25)||r!=null&&(r<0||r>=60)||o!=null&&(o<0||o>=60))}function requiredArgs(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function _typeof(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(o){return typeof o}:_typeof=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(t)}function toDate(t){requiredArgs(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||_typeof(t)==="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function toInteger(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}var defaultOptions={};function getDefaultOptions(){return defaultOptions}function startOfWeek$1(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=getDefaultOptions(),_=toInteger((o=(a=(u=(d=r==null?void 0:r.weekStartsOn)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&u!==void 0?u:b.weekStartsOn)!==null&&a!==void 0?a:(y=b.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&o!==void 0?o:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var w=toDate(t),S=w.getDay(),C=(S<_?7:0)+S-_;return w.setDate(w.getDate()-C),w.setHours(0,0,0,0),w}function getTimezoneOffsetInMilliseconds(t){var r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),t.getTime()-r.getTime()}var MILLISECONDS_IN_WEEK$2=6048e5;function differenceInCalendarWeeks(t,r,o){requiredArgs(2,arguments);var a=startOfWeek$1(t,o),u=startOfWeek$1(r,o),d=a.getTime()-getTimezoneOffsetInMilliseconds(a),g=u.getTime()-getTimezoneOffsetInMilliseconds(u);return Math.round((d-g)/MILLISECONDS_IN_WEEK$2)}function lastDayOfMonth(t){requiredArgs(1,arguments);var r=toDate(t),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(0,0,0,0),r}function startOfMonth(t){requiredArgs(1,arguments);var r=toDate(t);return r.setDate(1),r.setHours(0,0,0,0),r}function getWeeksInMonth(t,r){return requiredArgs(1,arguments),differenceInCalendarWeeks(lastDayOfMonth(t),startOfMonth(t),r)+1}function getWeekYear(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=toDate(t),_=b.getFullYear(),w=getDefaultOptions(),S=toInteger((o=(a=(u=(d=r==null?void 0:r.firstWeekContainsDate)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:w.firstWeekContainsDate)!==null&&a!==void 0?a:(y=w.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setFullYear(_+1,0,S),C.setHours(0,0,0,0);var T=startOfWeek$1(C,r),I=new Date(0);I.setFullYear(_,0,S),I.setHours(0,0,0,0);var E=startOfWeek$1(I,r);return b.getTime()>=T.getTime()?_+1:b.getTime()>=E.getTime()?_:_-1}function startOfWeekYear(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=getDefaultOptions(),_=toInteger((o=(a=(u=(d=r==null?void 0:r.firstWeekContainsDate)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:b.firstWeekContainsDate)!==null&&a!==void 0?a:(y=b.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.firstWeekContainsDate)!==null&&o!==void 0?o:1),w=getWeekYear(t,r),S=new Date(0);S.setFullYear(w,0,_),S.setHours(0,0,0,0);var C=startOfWeek$1(S,r);return C}var MILLISECONDS_IN_WEEK$1=6048e5;function getWeek(t,r){requiredArgs(1,arguments);var o=toDate(t),a=startOfWeek$1(o,r).getTime()-startOfWeekYear(o,r).getTime();return Math.round(a/MILLISECONDS_IN_WEEK$1)+1}function startOfISOWeek(t){return requiredArgs(1,arguments),startOfWeek$1(t,{weekStartsOn:1})}function getISOWeekYear(t){requiredArgs(1,arguments);var r=toDate(t),o=r.getFullYear(),a=new Date(0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);var u=startOfISOWeek(a),d=new Date(0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);var g=startOfISOWeek(d);return r.getTime()>=u.getTime()?o+1:r.getTime()>=g.getTime()?o:o-1}function startOfISOWeekYear(t){requiredArgs(1,arguments);var r=getISOWeekYear(t),o=new Date(0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);var a=startOfISOWeek(o);return a}var MILLISECONDS_IN_WEEK=6048e5;function getISOWeek(t){requiredArgs(1,arguments);var r=toDate(t),o=startOfISOWeek(r).getTime()-startOfISOWeekYear(r).getTime();return Math.round(o/MILLISECONDS_IN_WEEK)+1}function addDays(t,r){requiredArgs(2,arguments);var o=toDate(t),a=toInteger(r);return isNaN(a)?new Date(NaN):(a&&o.setDate(o.getDate()+a),o)}function addMonths(t,r){requiredArgs(2,arguments);var o=toDate(t),a=toInteger(r);if(isNaN(a))return new Date(NaN);if(!a)return o;var u=o.getDate(),d=new Date(o.getTime());d.setMonth(o.getMonth()+a+1,0);var g=d.getDate();return u>=g?d:(o.setFullYear(d.getFullYear(),d.getMonth(),u),o)}function addYears(t,r){requiredArgs(2,arguments);var o=toInteger(r);return addMonths(t,o*12)}const viewAddressKeys={daily:["year","month","day"],weekly:["year","month","week"],monthly:["year","month"]};function getDays({monthComps:t,prevMonthComps:r,nextMonthComps:o},a){const u=[],{firstDayOfWeek:d,firstWeekday:g,isoWeeknumbers:v,weeknumbers:y,numDays:A,numWeeks:b}=t,_=g+(g{const y=Math.floor(v/7);let A=d[y];return A||(A={id:`week-${y+1}`,title:"",week:g.week,weekPosition:g.weekPosition,weeknumber:g.weeknumber,isoWeeknumber:g.isoWeeknumber,weeknumberDisplay:r?g.weeknumber:o?g.isoWeeknumber:void 0,days:[]},d[y]=A),A.days.push(g),d},Array(t.length/daysInWeek));return u.forEach(d=>{const g=d.days[0],v=d.days[d.days.length-1];g.month===v.month?d.title=`${a.formatDate(g.date,"MMMM YYYY")}`:g.year===v.year?d.title=`${a.formatDate(g.date,"MMM")} - ${a.formatDate(v.date,"MMM YYYY")}`:d.title=`${a.formatDate(g.date,"MMM YYYY")} - ${a.formatDate(v.date,"MMM YYYY")}`}),u}function getWeekdays(t,r){return t.days.map(o=>({label:r.formatDate(o.date,r.masks.weekdays),weekday:o.weekday}))}function getPageId(t,r){return`${r}.${pad$1(t,2)}`}function getPageAddressForDate(t,r,o){return pick$1(o.getDateParts(o.toDate(t)),viewAddressKeys[r])}function addPages({day:t,week:r,month:o,year:a},u,d,g){if(d==="daily"&&t){const v=new Date(a,o-1,t),y=addDays(v,u);return{day:y.getDate(),month:y.getMonth()+1,year:y.getFullYear()}}else if(d==="weekly"&&r){const y=g.getMonthParts(o,a).firstDayOfMonth,A=addDays(y,(r-1+u)*7),b=g.getDateParts(A);return{week:b.week,month:b.month,year:b.year}}else{const v=new Date(a,o-1,1),y=addMonths(v,u);return{month:y.getMonth()+1,year:y.getFullYear()}}}function pageIsValid(t){return t!=null&&t.month!=null&&t.year!=null}function pageIsBeforePage(t,r){return!pageIsValid(t)||!pageIsValid(r)?!1:(t=t,r=r,t.year!==r.year?t.yearr.year:t.month&&r.month&&t.month!==r.month?t.month>r.month:t.week&&r.week&&t.week!==r.week?t.week>r.week:t.day&&r.day&&t.day!==r.day?t.day>r.day:!1)}function pageIsBetweenPages(t,r,o){return(t||!1)&&!pageIsBeforePage(t,r)&&!pageIsAfterPage(t,o)}function pageIsEqualToPage(t,r){return!t&&r||t&&!r?!1:!t&&!r?!0:(t=t,r=r,t.year===r.year&&t.month===r.month&&t.week===r.week&&t.day===r.day)}function pageRangeToArray(t,r,o,a){if(!pageIsValid(t)||!pageIsValid(r))return[];const u=[];for(;!pageIsAfterPage(t,r);)u.push(t),t=addPages(t,1,o,a);return u}function getPageKey(t){const{day:r,week:o,month:a,year:u}=t;let d=`${u}-${pad$1(a,2)}`;return o&&(d=`${d}-w${o}`),r&&(d=`${d}-${pad$1(r,2)}`),d}function getCachedPage(t,r){const{month:o,year:a,showWeeknumbers:u,showIsoWeeknumbers:d}=t,g=new Date(a,o-1,15),v=r.getMonthParts(o,a),y=r.getPrevMonthParts(o,a),A=r.getNextMonthParts(o,a),b=getDays({monthComps:v,prevMonthComps:y,nextMonthComps:A},r),_=getWeeks(b,u,d,r),w=getWeekdays(_[0],r);return{id:getPageKey(t),month:o,year:a,monthTitle:r.formatDate(g,r.masks.title),shortMonthLabel:r.formatDate(g,"MMM"),monthLabel:r.formatDate(g,"MMMM"),shortYearLabel:a.toString().substring(2),yearLabel:a.toString(),monthComps:v,prevMonthComps:y,nextMonthComps:A,days:b,weeks:_,weekdays:w}}function getPage(t,r){const{day:o,week:a,view:u,trimWeeks:d}=t,g={...r,...t,title:"",viewDays:[],viewWeeks:[]};switch(u){case"daily":{let v=g.days.find(A=>A.inMonth);o?v=g.days.find(A=>A.day===o&&A.inMonth)||v:a&&(v=g.days.find(A=>A.week===a&&A.inMonth));const y=g.weeks[v.week-1];g.viewWeeks=[y],g.viewDays=[v],g.week=v.week,g.weekTitle=y.title,g.day=v.day,g.dayTitle=v.ariaLabel,g.title=g.dayTitle;break}case"weekly":{g.week=a||1;const v=g.weeks[g.week-1];g.viewWeeks=[v],g.viewDays=v.days,g.weekTitle=v.title,g.title=g.weekTitle;break}default:{g.title=g.monthTitle,g.viewWeeks=g.weeks.slice(0,d?g.monthComps.numWeeks:void 0),g.viewDays=g.days;break}}return g}class Cache{constructor(r,o,a){__publicField(this,"keys",[]),__publicField(this,"store",{}),this.size=r,this.createKey=o,this.createItem=a}get(...r){const o=this.createKey(...r);return this.store[o]}getOrSet(...r){const o=this.createKey(...r);if(this.store[o])return this.store[o];const a=this.createItem(...r);if(this.keys.length>=this.size){const u=this.keys.shift();u!=null&&delete this.store[u]}return this.keys.push(o),this.store[o]=a,a}}class DateRange{constructor(r,o=new Locale$1){__publicField(this,"order"),__publicField(this,"locale"),__publicField(this,"start",null),__publicField(this,"end",null),__publicField(this,"repeat",null);var a;this.locale=o;const{start:u,end:d,span:g,order:v,repeat:y}=r;isDate$2(u)&&(this.start=o.getDateParts(u)),isDate$2(d)?this.end=o.getDateParts(d):this.start!=null&&g&&(this.end=o.getDateParts(addDays(this.start.date,g-1))),this.order=v!=null?v:0,y&&(this.repeat=new DateRepeat({from:(a=this.start)==null?void 0:a.date,...y},{locale:this.locale}))}static fromMany(r,o){return(isArray$d(r)?r:[r]).filter(a=>a).map(a=>DateRange.from(a,o))}static from(r,o){var u,d;if(r instanceof DateRange)return r;const a={start:null,end:null};return r!=null&&(isArray$d(r)?(a.start=(u=r[0])!=null?u:null,a.end=(d=r[1])!=null?d:null):isObject$b(r)?Object.assign(a,r):(a.start=r,a.end=r)),a.start!=null&&(a.start=new Date(a.start)),a.end!=null&&(a.end=new Date(a.end)),new DateRange(a,o)}get opts(){const{order:r,locale:o}=this;return{order:r,locale:o}}get hasRepeat(){return!!this.repeat}get isSingleDay(){const{start:r,end:o}=this;return r&&o&&r.year===o.year&&r.month===o.month&&r.day===o.day}get isMultiDay(){return!this.isSingleDay}get daySpan(){return this.start==null||this.end==null?this.hasRepeat?1:1/0:this.end.dayIndex-this.start.dayIndex}startsOnDay(r){var o,a;return((o=this.start)==null?void 0:o.dayIndex)===r.dayIndex||!!((a=this.repeat)!=null&&a.passes(r))}intersectsDay(r){return this.intersectsDayRange(r,r)}intersectsRange(r){var u,d;var o,a;return this.intersectsDayRange((u=(o=r.start)==null?void 0:o.dayIndex)!=null?u:-1/0,(d=(a=r.end)==null?void 0:a.dayIndex)!=null?d:1/0)}intersectsDayRange(r,o){return!(this.start&&this.start.dayIndex>o||this.end&&this.end.dayIndex{var F,O;var I,E;if(o.startsOnDay(T)){const D=o.daySpan<1/0?o.daySpan:1;y={startDay:T.dayIndex,startTime:(F=(I=o.start)==null?void 0:I.time)!=null?F:0,endDay:T.dayIndex+D-1,endTime:(O=(E=o.end)==null?void 0:E.time)!=null?O:MS_PER_DAY},this.getRangeRecords(r).push(y)}}):o.intersectsDayRange(A,b)&&(y={startDay:(_=(u=o.start)==null?void 0:u.dayIndex)!=null?_:-1/0,startTime:(w=(d=o.start)==null?void 0:d.time)!=null?w:-1/0,endDay:(S=(g=o.end)==null?void 0:g.dayIndex)!=null?S:1/0,endTime:(C=(v=o.end)==null?void 0:v.time)!=null?C:1/0},this.getRangeRecords(r).push(y)),y}getRangeRecords(r){let o=this.records[r.key];return o||(o={ranges:[],data:r},this.records[r.key]=o),o.ranges}getCell(r,o){return this.getCells(o).find(d=>d.data.key===r)}cellExists(r,o){const a=this.records[r];return a==null?!1:a.ranges.some(u=>u.startDay<=o&&u.endDay>=o)}getCells(r){const o=Object.values(this.records),a=[],{dayIndex:u}=r;return o.forEach(({data:d,ranges:g})=>{g.filter(v=>v.startDay<=u&&v.endDay>=u).forEach(v=>{const y=u===v.startDay,A=u===v.endDay,b=y?v.startTime:0,_=new Date(r.startDate.getTime()+b),w=A?v.endTime:MS_PER_DAY,S=new Date(r.endDate.getTime()+w),C=b===0&&w===MS_PER_DAY,T=d.order||0;a.push({...v,data:d,onStart:y,onEnd:A,startTime:b,startDate:_,endTime:w,endDate:S,allDay:C,order:T})})}),a.sort((d,g)=>d.order-g.order),a}}const locales={ar:{dow:7,L:"D/\u200FM/\u200FYYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY\u5E74M\u6708D\u65E5"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};locales.en=locales["en-US"];locales.es=locales["es-ES"];locales.no=locales.nb;locales.zh=locales["zh-CN"];const localeSettings=Object.entries(locales).reduce((t,[r,{dow:o,L:a}])=>(t[r]={id:r,firstDayOfWeek:o,masks:{L:a}},t),{}),title="MMMM YYYY",weekdays$1="W",navMonths="MMM",hours="h A",input=["L","YYYY-MM-DD","YYYY/MM/DD"],inputDateTime=["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],inputDateTime24hr=["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],inputTime=["h:mm A"],inputTime24hr=["HH:mm"],dayPopover="WWW, MMM D, YYYY",data=["L","YYYY-MM-DD","YYYY/MM/DD"],model="iso",iso="YYYY-MM-DDTHH:mm:ss.SSSZ",masks={title,weekdays:weekdays$1,navMonths,hours,input,inputDateTime,inputDateTime24hr,inputTime,inputTime24hr,dayPopover,data,model,iso},maxSwipeTime=300,minHorizontalSwipeDistance=60,maxVerticalSwipeDistance=80,touch={maxSwipeTime,minHorizontalSwipeDistance,maxVerticalSwipeDistance},defaultConfig={componentPrefix:"V",color:"blue",isDark:!1,navVisibility:"click",titlePosition:"center",transition:"slide-h",touch,masks,locales:localeSettings,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",isInteractive:!0}}},state=reactive(defaultConfig),defaultLocales=computed(()=>mapValues_1(state.locales,t=>(t.masks=defaultsDeep_1(t.masks,state.masks),t))),getDefault=t=>typeof window!="undefined"&&has$3(window.__vcalendar__,t)?get_1(window.__vcalendar__,t):get_1(state,t),setupDefaults=(t,r)=>(t.config.globalProperties.$VCalendar=state,Object.assign(state,defaultsDeep_1(r,state))),DEFAULT_MONTH_CACHE_SIZE=12,DEFAULT_PAGE_CACHE_SIZE=5;function resolveConfig(t,r){const o=new Intl.DateTimeFormat().resolvedOptions().locale;let a;isString_1(t)?a=t:has$3(t,"id")&&(a=t.id),a=(a||o).toLowerCase();const u=Object.keys(r),d=y=>u.find(A=>A.toLowerCase()===y);a=d(a)||d(a.substring(0,2))||o;const g={...r["en-IE"],...r[a],id:a,monthCacheSize:DEFAULT_MONTH_CACHE_SIZE,pageCacheSize:DEFAULT_PAGE_CACHE_SIZE};return isObject$b(t)?defaultsDeep_1(t,g):g}class Locale$1{constructor(r=void 0,o){__publicField(this,"id"),__publicField(this,"daysInWeek"),__publicField(this,"firstDayOfWeek"),__publicField(this,"masks"),__publicField(this,"timezone"),__publicField(this,"hourLabels"),__publicField(this,"dayNames"),__publicField(this,"dayNamesShort"),__publicField(this,"dayNamesShorter"),__publicField(this,"dayNamesNarrow"),__publicField(this,"monthNames"),__publicField(this,"monthNamesShort"),__publicField(this,"relativeTimeNames"),__publicField(this,"amPm",["am","pm"]),__publicField(this,"monthCache"),__publicField(this,"pageCache");const{id:a,firstDayOfWeek:u,masks:d,monthCacheSize:g,pageCacheSize:v}=resolveConfig(r,defaultLocales.value);this.monthCache=new Cache(g,getMonthPartsKey,getMonthParts),this.pageCache=new Cache(v,getPageKey,getCachedPage),this.id=a,this.daysInWeek=daysInWeek,this.firstDayOfWeek=clamp$1(u,1,daysInWeek),this.masks=d,this.timezone=o||void 0,this.hourLabels=this.getHourLabels(),this.dayNames=getDayNames("long",this.id),this.dayNamesShort=getDayNames("short",this.id),this.dayNamesShorter=this.dayNamesShort.map(y=>y.substring(0,2)),this.dayNamesNarrow=getDayNames("narrow",this.id),this.monthNames=getMonthNames("long",this.id),this.monthNamesShort=getMonthNames("short",this.id),this.relativeTimeNames=getRelativeTimeNames(this.id)}formatDate(r,o){return formatDate(r,o,this)}parseDate(r,o){return parseDate$2(r,o,this)}toDate(r,o={}){const a=new Date(NaN);let u=a;const{fillDate:d,mask:g,patch:v,rules:y}=o;if(isNumber_1(r)?(o.type="number",u=new Date(+r)):isString_1(r)?(o.type="string",u=r?parseDate$2(r,g||"iso",this):a):isDate$2(r)?(o.type="date",u=new Date(r.getTime())):isDateParts(r)&&(o.type="object",u=this.getDateFromParts(r)),u&&(v||y)){let A=this.getDateParts(u);if(v&&d!=null){const b=this.getDateParts(this.toDate(d));A=this.getDateParts(this.toDate({...b,...pick$1(A,DatePatchKeys[v])}))}y&&(A=applyRulesForDateParts(A,y)),u=this.getDateFromParts(A)}return u||a}toDateOrNull(r,o={}){const a=this.toDate(r,o);return isNaN(a.getTime())?null:a}fromDate(r,{type:o,mask:a}={}){switch(o){case"number":return r?r.getTime():NaN;case"string":return r?this.formatDate(r,a||"iso"):"";case"object":return r?this.getDateParts(r):null;default:return r?new Date(r):null}}range(r){return DateRange.from(r,this)}ranges(r){return DateRange.fromMany(r,this)}getDateParts(r){return getDateParts(r,this)}getDateFromParts(r){return getDateFromParts(r,this.timezone)}getDateFromParams(r,o,a,u,d,g,v){return this.getDateFromParts({year:r,month:o,day:a,hours:u,minutes:d,seconds:g,milliseconds:v})}getPage(r){const o=this.pageCache.getOrSet(r,this);return getPage(r,o)}getMonthParts(r,o){const{firstDayOfWeek:a}=this;return this.monthCache.getOrSet(r,o,a)}getThisMonthParts(){const r=new Date;return this.getMonthParts(r.getMonth()+1,r.getFullYear())}getPrevMonthParts(r,o){return r===1?this.getMonthParts(12,o-1):this.getMonthParts(r-1,o)}getNextMonthParts(r,o){return r===12?this.getMonthParts(1,o+1):this.getMonthParts(r+1,o)}getHourLabels(){return getHourDates().map(r=>this.formatDate(r,this.masks.hours))}getDayId(r){return this.formatDate(r,"YYYY-MM-DD")}}var GroupRuleType=(t=>(t.Any="any",t.All="all",t))(GroupRuleType||{}),IntervalRuleType=(t=>(t.Days="days",t.Weeks="weeks",t.Months="months",t.Years="years",t))(IntervalRuleType||{}),ComponentRuleType=(t=>(t.Days="days",t.Weekdays="weekdays",t.Weeks="weeks",t.Months="months",t.Years="years",t))(ComponentRuleType||{}),OrdinalComponentRuleType=(t=>(t.OrdinalWeekdays="ordinalWeekdays",t))(OrdinalComponentRuleType||{});class IntervalRule{constructor(r,o,a){__publicField(this,"validated",!0),this.type=r,this.interval=o,this.from=a,this.from||(console.error('A valid "from" date is required for date interval rule. This rule will be skipped.'),this.validated=!1)}passes(r){if(!this.validated)return!0;const{date:o}=r;switch(this.type){case"days":return diffInDays(this.from.date,o)%this.interval===0;case"weeks":return diffInWeeks(this.from.date,o)%this.interval===0;case"months":return diffInMonths(this.from.date,o)%this.interval===0;case"years":return diffInYears(this.from.date,o)%this.interval===0;default:return!1}}}class ComponentRule{constructor(r,o,a,u){__publicField(this,"components",[]),this.type=r,this.validator=a,this.getter=u,this.components=this.normalizeComponents(o)}static create(r,o){switch(r){case"days":return new DaysRule(o);case"weekdays":return new WeekdaysRule(o);case"weeks":return new WeeksRule(o);case"months":return new MonthsRule(o);case"years":return new YearsRule(o)}}normalizeComponents(r){if(this.validator(r))return[r];if(!isArray$d(r))return[];const o=[];return r.forEach(a=>{if(!this.validator(a)){console.error(`Component value ${a} in invalid for "${this.type}" rule. This rule will be skipped.`);return}o.push(a)}),o}passes(r){return this.getter(r).some(u=>this.components.includes(u))}}class DaysRule extends ComponentRule{constructor(r){super("days",r,isDayInMonth,({day:o,dayFromEnd:a})=>[o,-a])}}class WeekdaysRule extends ComponentRule{constructor(r){super("weekdays",r,isDayOfWeek,({weekday:o})=>[o])}}class WeeksRule extends ComponentRule{constructor(r){super("weeks",r,isWeekInMonth,({week:o,weekFromEnd:a})=>[o,-a])}}class MonthsRule extends ComponentRule{constructor(r){super("months",r,isMonthInYear,({month:o})=>[o])}}class YearsRule extends ComponentRule{constructor(r){super("years",r,isNumber_1,({year:o})=>[o])}}class OrdinalComponentRule{constructor(r,o){__publicField(this,"components"),this.type=r,this.components=this.normalizeComponents(o)}normalizeArrayConfig(r){const o=[];return r.forEach((a,u)=>{if(isNumber_1(a)){if(u===0)return;if(!isOrdinalWeekInMonth(r[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!isDayOfWeek(a)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}o.push([r[0],a])}else isArray$d(a)&&o.push(...this.normalizeArrayConfig(a))}),o}normalizeComponents(r){const o=[];return r.forEach((a,u)=>{if(isNumber_1(a)){if(u===0)return;if(!isOrdinalWeekInMonth(r[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!isDayOfWeek(a)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}o.push([r[0],a])}else isArray$d(a)&&o.push(...this.normalizeArrayConfig(a))}),o}passes(r){const{weekday:o,weekdayOrdinal:a,weekdayOrdinalFromEnd:u}=r;return this.components.some(([d,g])=>(d===a||d===-u)&&o===g)}}class FunctionRule{constructor(r){__publicField(this,"type","function"),__publicField(this,"validated",!0),this.fn=r,isFunction_1(r)||(console.error("The function rule requires a valid function. This rule will be skipped."),this.validated=!1)}passes(r){return this.validated?this.fn(r):!0}}class DateRepeat{constructor(r,o={},a){__publicField(this,"validated",!0),__publicField(this,"config"),__publicField(this,"type",GroupRuleType.Any),__publicField(this,"from"),__publicField(this,"until"),__publicField(this,"rules",[]),__publicField(this,"locale",new Locale$1),this.parent=a,o.locale&&(this.locale=o.locale),this.config=r,isFunction_1(r)?(this.type=GroupRuleType.All,this.rules=[new FunctionRule(r)]):isArray$d(r)?(this.type=GroupRuleType.Any,this.rules=r.map(u=>new DateRepeat(u,o,this))):isObject$b(r)?(this.type=GroupRuleType.All,this.from=r.from?this.locale.getDateParts(r.from):a==null?void 0:a.from,this.until=r.until?this.locale.getDateParts(r.until):a==null?void 0:a.until,this.rules=this.getObjectRules(r)):(console.error("Rule group configuration must be an object or an array."),this.validated=!1)}getObjectRules(r){const o=[];if(r.every&&(isString_1(r.every)&&(r.every=[1,`${r.every}s`]),isArray$d(r.every))){const[a=1,u=IntervalRuleType.Days]=r.every;o.push(new IntervalRule(u,a,this.from))}return Object.values(ComponentRuleType).forEach(a=>{a in r&&o.push(ComponentRule.create(a,r[a]))}),Object.values(OrdinalComponentRuleType).forEach(a=>{a in r&&o.push(new OrdinalComponentRule(a,r[a]))}),r.on!=null&&(isArray$d(r.on)||(r.on=[r.on]),o.push(new DateRepeat(r.on,{locale:this.locale},this.parent))),o}passes(r){return this.validated?this.from&&r.dayIndex<=this.from.dayIndex||this.until&&r.dayIndex>=this.until.dayIndex?!1:this.type===GroupRuleType.Any?this.rules.some(o=>o.passes(r)):this.rules.every(o=>o.passes(r)):!0}}function isDayInMonth(t){return isNumber_1(t)?t>=1&&t<=31:!1}function isDayOfWeek(t){return isNumber_1(t)?t>=1&&t<=7:!1}function isWeekInMonth(t){return isNumber_1(t)?t>=-6&&t<=-1||t>=1&&t<=6:!1}function isMonthInYear(t){return isNumber_1(t)?t>=1&&t<=12:!1}function isOrdinalWeekInMonth(t){return!(!isNumber_1(t)||t<-5||t>5||t===0)}const DatePatchKeys={dateTime:["year","month","day","hours","minutes","seconds","milliseconds"],date:["year","month","day"],time:["hours","minutes","seconds","milliseconds"]},daysInWeek=7,weeksInMonth=6,MS_PER_SECOND=1e3,MS_PER_MINUTE=MS_PER_SECOND*60,MS_PER_HOUR=MS_PER_MINUTE*60,MS_PER_DAY=MS_PER_HOUR*24,daysInMonths=[31,28,31,30,31,30,31,31,30,31,30,31],maskMacros=["L","iso"],DATE_PART_RANGES={milliseconds:[0,999,3],seconds:[0,59,2],minutes:[0,59,2],hours:[0,23,2]},token=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,literal=/\[([^]*?)\]/gm,formatFlags={D(t){return t.day},DD(t){return pad$1(t.day,2)},d(t){return t.weekday-1},dd(t){return pad$1(t.weekday-1,2)},W(t,r){return r.dayNamesNarrow[t.weekday-1]},WW(t,r){return r.dayNamesShorter[t.weekday-1]},WWW(t,r){return r.dayNamesShort[t.weekday-1]},WWWW(t,r){return r.dayNames[t.weekday-1]},M(t){return t.month},MM(t){return pad$1(t.month,2)},MMM(t,r){return r.monthNamesShort[t.month-1]},MMMM(t,r){return r.monthNames[t.month-1]},YY(t){return String(t.year).substr(2)},YYYY(t){return pad$1(t.year,4)},h(t){return t.hours%12||12},hh(t){return pad$1(t.hours%12||12,2)},H(t){return t.hours},HH(t){return pad$1(t.hours,2)},m(t){return t.minutes},mm(t){return pad$1(t.minutes,2)},s(t){return t.seconds},ss(t){return pad$1(t.seconds,2)},S(t){return Math.round(t.milliseconds/100)},SS(t){return pad$1(Math.round(t.milliseconds/10),2)},SSS(t){return pad$1(t.milliseconds,3)},a(t,r){return t.hours<12?r.amPm[0]:r.amPm[1]},A(t,r){return t.hours<12?r.amPm[0].toUpperCase():r.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60),2)}`},ZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4)}`},ZZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60),2)}:${pad$1(Math.abs(r)%60,2)}`}},twoDigits=/\d\d?/,threeDigits=/\d{3}/,fourDigits=/\d{4}/,word=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,noop$1=()=>{},monthUpdate=t=>(r,o,a)=>{const u=a[t].indexOf(o.charAt(0).toUpperCase()+o.substr(1).toLowerCase());~u&&(r.month=u)},parseFlags={D:[twoDigits,(t,r)=>{t.day=r}],Do:[new RegExp(twoDigits.source+word.source),(t,r)=>{t.day=parseInt(r,10)}],d:[twoDigits,noop$1],W:[word,noop$1],M:[twoDigits,(t,r)=>{t.month=r-1}],MMM:[word,monthUpdate("monthNamesShort")],MMMM:[word,monthUpdate("monthNames")],YY:[twoDigits,(t,r)=>{const a=+new Date().getFullYear().toString().substr(0,2);t.year=+`${r>68?a-1:a}${r}`}],YYYY:[fourDigits,(t,r)=>{t.year=r}],S:[/\d/,(t,r)=>{t.milliseconds=r*100}],SS:[/\d{2}/,(t,r)=>{t.milliseconds=r*10}],SSS:[threeDigits,(t,r)=>{t.milliseconds=r}],h:[twoDigits,(t,r)=>{t.hours=r}],m:[twoDigits,(t,r)=>{t.minutes=r}],s:[twoDigits,(t,r)=>{t.seconds=r}],a:[word,(t,r,o)=>{const a=r.toLowerCase();a===o.amPm[0]?t.isPm=!1:a===o.amPm[1]&&(t.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,(t,r)=>{r==="Z"&&(r="+00:00");const o=`${r}`.match(/([+-]|\d\d)/gi);if(o){const a=+o[1]*60+parseInt(o[2],10);t.timezoneOffset=o[0]==="+"?a:-a}}]};parseFlags.DD=parseFlags.D;parseFlags.dd=parseFlags.d;parseFlags.WWWW=parseFlags.WWW=parseFlags.WW=parseFlags.W;parseFlags.MM=parseFlags.M;parseFlags.mm=parseFlags.m;parseFlags.hh=parseFlags.H=parseFlags.HH=parseFlags.h;parseFlags.ss=parseFlags.s;parseFlags.A=parseFlags.a;parseFlags.ZZZZ=parseFlags.ZZZ=parseFlags.ZZ=parseFlags.Z;function normalizeMasks(t,r){return(arrayHasItems(t)&&t||[isString_1(t)&&t||"YYYY-MM-DD"]).map(o=>maskMacros.reduce((a,u)=>a.replace(u,r.masks[u]||""),o))}function isDateParts(t){return isObject$b(t)&&"year"in t&&"month"in t&&"day"in t}function startOfWeek(t,r=1){const o=t.getDay()+1,a=o>=r?r-o:-(7-(r-o));return addDays(t,a)}function getDayIndex(t,r,o){const a=Date.UTC(t,r-1,o);return diffInDays(new Date(0),new Date(a))}function diffInDays(t,r){return Math.round((r.getTime()-t.getTime())/MS_PER_DAY)}function diffInWeeks(t,r){return Math.ceil(diffInDays(startOfWeek(t),startOfWeek(r))/7)}function diffInYears(t,r){return r.getUTCFullYear()-t.getUTCFullYear()}function diffInMonths(t,r){return diffInYears(t,r)*12+(r.getMonth()-t.getMonth())}function getDateFromParts(t,r=""){const o=new Date,{year:a=o.getFullYear(),month:u=o.getMonth()+1,day:d=o.getDate(),hours:g=0,minutes:v=0,seconds:y=0,milliseconds:A=0}=t;if(r){const b=`${pad$1(a,4)}-${pad$1(u,2)}-${pad$1(d,2)}T${pad$1(g,2)}:${pad$1(v,2)}:${pad$1(y,2)}.${pad$1(A,3)}`;return toDate$1(b,{timeZone:r})}return new Date(a,u-1,d,g,v,y,A)}function getDateParts(t,r){let o=new Date(t.getTime());r.timezone&&(o=new Date(t.toLocaleString("en-US",{timeZone:r.timezone})),o.setMilliseconds(t.getMilliseconds()));const a=o.getMilliseconds(),u=o.getSeconds(),d=o.getMinutes(),g=o.getHours(),v=a+u*MS_PER_SECOND+d*MS_PER_MINUTE+g*MS_PER_HOUR,y=o.getMonth()+1,A=o.getFullYear(),b=r.getMonthParts(y,A),_=o.getDate(),w=b.numDays-_+1,S=o.getDay()+1,C=Math.floor((_-1)/7+1),T=Math.floor((b.numDays-_)/7+1),I=Math.ceil((_+Math.abs(b.firstWeekday-b.firstDayOfWeek))/7),E=b.numWeeks-I+1,F=b.weeknumbers[I],O=getDayIndex(A,y,_);return{milliseconds:a,seconds:u,minutes:d,hours:g,time:v,day:_,dayFromEnd:w,weekday:S,weekdayOrdinal:C,weekdayOrdinalFromEnd:T,week:I,weekFromEnd:E,weeknumber:F,month:y,year:A,date:o,dateTime:o.getTime(),dayIndex:O,timezoneOffset:0,isValid:!0}}function getMonthPartsKey(t,r,o){return`${r}-${t}-${o}`}function getMonthParts(t,r,o){const a=r%4===0&&r%100!==0||r%400===0,u=new Date(r,t-1,1),d=u.getDay()+1,g=t===2&&a?29:daysInMonths[t-1],v=o-1,y=getWeeksInMonth(u,{weekStartsOn:v}),A=[],b=[];for(let _=0;_o.format(a))}function getHourDates(){const t=[];for(let r=0;r<=24;r++)t.push(new Date(2e3,0,1,r));return t}function getRelativeTimeNames(t=void 0){const r=["second","minute","hour","day","week","month","quarter","year"],o=new Intl.RelativeTimeFormat(t);return r.reduce((a,u)=>{const d=o.formatToParts(100,u);return a[u]=d[1].unit,a},{})}function getMonthDates(){const t=[];for(let r=0;r<12;r++)t.push(new Date(2e3,r,15));return t}function getMonthNames(t,r=void 0){const o=new Intl.DateTimeFormat(r,{month:t,timeZone:"UTC"});return getMonthDates().map(a=>o.format(a))}function datePartIsValid(t,r,o){return isNumber_1(r)?r===t:isArray$d(r)?r.includes(t):isFunction_1(r)?r(t,o):!(r.min!=null&&r.min>t||r.max!=null&&r.max{if(v.disabled)return g;if(isNaN(g))return v.value;const y=Math.abs(g-o);return Math.abs(v.value-o){const d=DATE_PART_RANGES[a],g=t[a];o[a]=getNearestDatePart(t,d,g,u)}),o}function parseDate$2(t,r,o){return normalizeMasks(r,o).map(u=>{if(typeof u!="string")throw new Error("Invalid mask");let d=t;if(d.length>1e3)return!1;let g=!0;const v={};if(u.replace(token,b=>{if(parseFlags[b]){const _=parseFlags[b],w=d.search(_[0]);~w?d.replace(_[0],S=>(_[1](v,S,o),d=d.substr(w+S.length),S)):g=!1}return parseFlags[b]?"":b.slice(1,b.length-1)}),!g)return!1;const y=new Date;v.hours!=null&&(v.isPm===!0&&+v.hours!=12?v.hours=+v.hours+12:v.isPm===!1&&+v.hours==12&&(v.hours=0));let A;return v.timezoneOffset!=null?(v.minutes=+(v.minutes||0)-+v.timezoneOffset,A=new Date(Date.UTC(v.year||y.getFullYear(),v.month||0,v.day||1,v.hours||0,v.minutes||0,v.seconds||0,v.milliseconds||0))):A=o.getDateFromParts({year:v.year||y.getFullYear(),month:(v.month||0)+1,day:v.day||1,hours:v.hours||0,minutes:v.minutes||0,seconds:v.seconds||0,milliseconds:v.milliseconds||0}),A}).find(u=>u)||new Date(t)}function formatDate(t,r,o){if(t==null)return"";let a=normalizeMasks(r,o)[0];/Z$/.test(a)&&(o.timezone="utc");const u=[];a=a.replace(literal,(g,v)=>(u.push(v),"??"));const d=o.getDateParts(t);return a=a.replace(token,g=>g in formatFlags?formatFlags[g](d,o):g.slice(1,g.length-1)),a.replace(/\?\?/g,()=>u.shift())}let attrKey=0;class Attribute{constructor(r,o,a){__publicField(this,"key",""),__publicField(this,"hashcode",""),__publicField(this,"highlight",null),__publicField(this,"content",null),__publicField(this,"dot",null),__publicField(this,"bar",null),__publicField(this,"event",null),__publicField(this,"popover",null),__publicField(this,"customData",null),__publicField(this,"ranges"),__publicField(this,"hasRanges",!1),__publicField(this,"order",0),__publicField(this,"pinPage",!1),__publicField(this,"maxRepeatSpan",0),__publicField(this,"locale");const{dates:u}=Object.assign(this,{hashcode:"",order:0,pinPage:!1},r);this.key||(this.key=++attrKey),this.locale=a,o.normalizeGlyphs(this),this.ranges=a.ranges(u!=null?u:[]),this.hasRanges=!!arrayHasItems(this.ranges),this.maxRepeatSpan=this.ranges.filter(d=>d.hasRepeat).map(d=>d.daySpan).reduce((d,g)=>Math.max(d,g),0)}intersectsRange({start:r,end:o}){if(r==null||o==null)return!1;const a=this.ranges.filter(g=>!g.hasRepeat);for(const g of a)if(g.intersectsDayRange(r.dayIndex,o.dayIndex))return!0;const u=this.ranges.filter(g=>g.hasRepeat);if(!u.length)return!1;let d=r;for(this.maxRepeatSpan>1&&(d=this.locale.getDateParts(addDays(d.date,-this.maxRepeatSpan)));d.dayIndex<=o.dayIndex;){for(const g of u)if(g.startsOnDay(d))return!0;d=this.locale.getDateParts(addDays(d.date,1))}return!1}}function showPopover(t){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:t}))}function hidePopover(t){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:t}))}function togglePopover(t){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:t}))}function getPopoverEventHandlers(t){const{visibility:r}=t,o=r==="click",a=r==="hover",u=r==="hover-focus",d=r==="focus";t.autoHide=!o;let g=!1,v=!1;const y=C=>{o&&(togglePopover({...t,target:t.target||C.currentTarget}),C.stopPropagation())},A=C=>{g||(g=!0,(a||u)&&showPopover({...t,target:t.target||C.currentTarget}))},b=()=>{g&&(g=!1,(a||u&&!v)&&hidePopover(t))},_=C=>{v||(v=!0,(d||u)&&showPopover({...t,target:t.target||C.currentTarget}))},w=C=>{v&&!elementContains(C.currentTarget,C.relatedTarget)&&(v=!1,(d||u&&!g)&&hidePopover(t))},S={};switch(t.visibility){case"click":S.click=y;break;case"hover":S.mousemove=A,S.mouseleave=b;break;case"focus":S.focusin=_,S.focusout=w;break;case"hover-focus":S.mousemove=A,S.mouseleave=b,S.focusin=_,S.focusout=w;break}return S}const removeHandlers=t=>{const r=resolveEl(t);if(r==null)return;const o=r.popoverHandlers;!o||!o.length||(o.forEach(a=>a()),delete r.popoverHandlers)},addHandlers=(t,r)=>{const o=resolveEl(t);if(o==null)return;const a=[],u=getPopoverEventHandlers(r);Object.entries(u).forEach(([d,g])=>{a.push(on(o,d,g))}),o.popoverHandlers=a},popoverDirective={mounted(t,r){const{value:o}=r;!o||addHandlers(t,o)},updated(t,r){const{oldValue:o,value:a}=r,u=o==null?void 0:o.visibility,d=a==null?void 0:a.visibility;u!==d&&(u&&(removeHandlers(t),d||hidePopover(o)),d&&addHandlers(t,a))},unmounted(t){removeHandlers(t)}},addHorizontalSwipeHandler=(t,r,{maxSwipeTime:o,minHorizontalSwipeDistance:a,maxVerticalSwipeDistance:u})=>{if(!t||!t.addEventListener||!isFunction_1(r))return null;let d=0,g=0,v=null,y=!1;function A(_){const w=_.changedTouches[0];d=w.screenX,g=w.screenY,v=new Date().getTime(),y=!0}function b(_){if(!y||!v)return;y=!1;const w=_.changedTouches[0],S=w.screenX-d,C=w.screenY-g;if(new Date().getTime()-v=a&&Math.abs(C)<=u){const I={toLeft:!1,toRight:!1};S<0?I.toLeft=!0:I.toRight=!0,r(I)}}return on(t,"touchstart",A,{passive:!0}),on(t,"touchend",b,{passive:!0}),()=>{off(t,"touchstart",A),off(t,"touchend",b)}},watchSkippers={},skipWatcher=(t,r=10)=>{watchSkippers[t]=Date.now()+r},handleWatcher=(t,r)=>{if(t in watchSkippers){const o=watchSkippers[t];if(Date.now()r.value?"dark":"light");let a,u;function d(S){r.value=S.matches}function g(){windowHasFeature("matchMedia")&&(a=window.matchMedia("(prefers-color-scheme: dark)"),a.addEventListener("change",d),r.value=a.matches)}function v(){const{selector:S=":root",darkClass:C="dark"}=t.value,T=document.querySelector(S);r.value=T.classList.contains(C)}function y(S){const{selector:C=":root",darkClass:T="dark"}=S;if(windowExists()&&C&&T){const I=document.querySelector(C);I&&(u=new MutationObserver(v),u.observe(I,{attributes:!0,attributeFilter:["class"]}),r.value=I.classList.contains(T))}}function A(){_();const S=typeof t.value;S==="string"&&t.value.toLowerCase()==="system"?g():S==="object"?y(t.value):r.value=!!t.value}const b=watch(()=>t.value,()=>A(),{immediate:!0});function _(){a&&(a.removeEventListener("change",d),a=void 0),u&&(u.disconnect(),u=void 0)}function w(){_(),b()}return onUnmounted(()=>w()),{isDark:r,displayMode:o,cleanup:w}}const targetProps=["base","start","end","startEnd"],displayProps=["class","wrapperClass","contentClass","style","contentStyle","color","fillMode"],_defaultProfile={base:{},start:{},end:{}};function normalizeConfig(t,r,o=_defaultProfile){let a=t,u={};r===!0||isString_1(r)?(a=isString_1(r)?r:a,u={...o}):isObject$b(r)&&(hasAny(r,targetProps)?u={...r}:u={base:{...r},start:{...r},end:{...r}});const d=defaultsDeep_1(u,{start:u.startEnd,end:u.startEnd},o);return Object.entries(d).forEach(([g,v])=>{let y=a;v===!0||isString_1(v)?(y=isString_1(v)?v:y,d[g]={color:y}):isObject$b(v)&&(hasAny(v,displayProps)?d[g]={...v}:d[g]={}),defaultsDeep_1(d[g],{color:y})}),d}class HighlightRenderer{constructor(){__publicField(this,"type","highlight")}normalizeConfig(r,o){return normalizeConfig(r,o,{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}})}prepareRender(r){r.highlights=[],r.content||(r.content=[])}render({data:r,onStart:o,onEnd:a},u){const{key:d,highlight:g}=r;if(!g)return;const{highlights:v}=u,{base:y,start:A,end:b}=g;o&&a?v.push({...A,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${A.color}`,class:[`vc-highlight vc-highlight-bg-${A.fillMode}`,A.class],contentClass:[`vc-attr vc-highlight-content-${A.fillMode} vc-${A.color}`,A.contentClass]}):o?(v.push({...y,key:`${d}-base`,wrapperClass:`vc-day-layer vc-day-box-right-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-start vc-highlight-bg-${y.fillMode}`,y.class]}),v.push({...A,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${A.color}`,class:[`vc-highlight vc-highlight-bg-${A.fillMode}`,A.class],contentClass:[`vc-attr vc-highlight-content-${A.fillMode} vc-${A.color}`,A.contentClass]})):a?(v.push({...y,key:`${d}-base`,wrapperClass:`vc-day-layer vc-day-box-left-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-end vc-highlight-bg-${y.fillMode}`,y.class]}),v.push({...b,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${b.color}`,class:[`vc-highlight vc-highlight-bg-${b.fillMode}`,b.class],contentClass:[`vc-attr vc-highlight-content-${b.fillMode} vc-${b.color}`,b.contentClass]})):v.push({...y,key:`${d}-middle`,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-middle vc-highlight-bg-${y.fillMode}`,y.class],contentClass:[`vc-attr vc-highlight-content-${y.fillMode} vc-${y.color}`,y.contentClass]})}}class BaseRenderer{constructor(r,o){__publicField(this,"type",""),__publicField(this,"collectionType",""),this.type=r,this.collectionType=o}normalizeConfig(r,o){return normalizeConfig(r,o)}prepareRender(r){r[this.collectionType]=[]}render({data:r,onStart:o,onEnd:a},u){const{key:d}=r,g=r[this.type];if(!d||!g)return;const v=u[this.collectionType],{base:y,start:A,end:b}=g;o?v.push({...A,key:d,class:[`vc-${this.type} vc-${this.type}-start vc-${A.color} vc-attr`,A.class]}):a?v.push({...b,key:d,class:[`vc-${this.type} vc-${this.type}-end vc-${b.color} vc-attr`,b.class]}):v.push({...y,key:d,class:[`vc-${this.type} vc-${this.type}-base vc-${y.color} vc-attr`,y.class]})}}class ContentRenderer extends BaseRenderer{constructor(){super("content","content")}normalizeConfig(r,o){return normalizeConfig("base",o)}}class DotRenderer extends BaseRenderer{constructor(){super("dot","dots")}}class BarRenderer extends BaseRenderer{constructor(){super("bar","bars")}}class Theme{constructor(r){__publicField(this,"color"),__publicField(this,"renderers",[new ContentRenderer,new HighlightRenderer,new DotRenderer,new BarRenderer]),this.color=r}normalizeGlyphs(r){this.renderers.forEach(o=>{const a=o.type;r[a]!=null&&(r[a]=o.normalizeConfig(this.color,r[a]))})}prepareRender(r={}){return this.renderers.forEach(o=>{o.prepareRender(r)}),r}render(r,o){this.renderers.forEach(a=>{a.render(r,o)})}}const contextKey$4=Symbol("__vc_base_context__"),propsDef$2={color:{type:String,default:()=>getDefault("color")},isDark:{type:[Boolean,String,Object],default:()=>getDefault("isDark")},firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,disabledDates:null};function createBase(t){const r=computed(()=>{var w;return(w=t.color)!=null?w:""}),o=computed(()=>{var w;return(w=t.isDark)!=null?w:!1}),{displayMode:a}=useDarkMode(o),u=computed(()=>new Theme(r.value)),d=computed(()=>{if(t.locale instanceof Locale$1)return t.locale;const w=isObject$b(t.locale)?t.locale:{id:t.locale,firstDayOfWeek:t.firstDayOfWeek,masks:t.masks};return new Locale$1(w,t.timezone)}),g=computed(()=>d.value.masks),v=computed(()=>t.minDate),y=computed(()=>t.maxDate),A=computed(()=>{const w=t.disabledDates?[...t.disabledDates]:[];return v.value!=null&&w.push({start:null,end:addDays(d.value.toDate(v.value),-1)}),y.value!=null&&w.push({start:addDays(d.value.toDate(y.value),1),end:null}),d.value.ranges(w)}),b=computed(()=>new Attribute({key:"disabled",dates:A.value,order:100},u.value,d.value)),_={color:r,isDark:o,displayMode:a,theme:u,locale:d,masks:g,minDate:v,maxDate:y,disabledDates:A,disabledAttribute:b};return provide(contextKey$4,_),_}function useOrCreateBase(t){return inject(contextKey$4,()=>createBase(t),!0)}function contextKey$3(t){return`__vc_slot_${t}__`}function provideSlots(t,r={}){Object.keys(t).forEach(o=>{var a;provide(contextKey$3((a=r[o])!=null?a:o),t[o])})}function useSlot(t){return inject(contextKey$3(t),null)}const propsDef$1={...propsDef$2,view:{type:String,default:"monthly",validator(t){return["daily","weekly","monthly"].includes(t)}},rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:{type:String,default:()=>getDefault("titlePosition")},navVisibility:{type:String,default:()=>getDefault("navVisibility")},showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String],expanded:Boolean,borderless:Boolean,transparent:Boolean,initialPage:Object,initialPagePosition:{type:Number,default:1},minPage:Object,maxPage:Object,transition:String,attributes:Array,trimWeeks:Boolean,disablePageSwipe:Boolean},emitsDef=["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown","weeknumberclick","transition-start","transition-end","did-move","update:view","update:pages"],contextKey$2=Symbol("__vc_calendar_context__");function createCalendar(t,{slots:r,emit:o}){const a=ref(null),u=ref(null),d=ref(new Date().getDate()),g=ref(!1),v=ref(Symbol()),y=ref(Symbol()),A=ref(t.view),b=ref([]),_=ref("");let w=null,S=null;provideSlots(r);const{theme:C,color:T,displayMode:I,locale:E,masks:F,minDate:O,maxDate:D,disabledAttribute:x,disabledDates:P}=useOrCreateBase(t),G=computed(()=>t.rows*t.columns),M=computed(()=>t.step||G.value),N=computed(()=>{var Xe;return(Xe=head_1(b.value))!=null?Xe:null}),V=computed(()=>{var Xe;return(Xe=last_1(b.value))!=null?Xe:null}),Y=computed(()=>t.minPage||(O.value?se(O.value):null)),H=computed(()=>t.maxPage||(D.value?se(D.value):null)),B=computed(()=>t.navVisibility),z=computed(()=>!!t.showWeeknumbers),U=computed(()=>!!t.showIsoWeeknumbers),Q=computed(()=>A.value==="monthly"),X=computed(()=>A.value==="weekly"),J=computed(()=>A.value==="daily"),ne=()=>{g.value=!0,o("transition-start")},te=()=>{g.value=!1,o("transition-end"),w&&(w.resolve(!0),w=null)},ce=(Xe,dt,Re=A.value)=>addPages(Xe,dt,Re,E.value),se=Xe=>getPageAddressForDate(Xe,A.value,E.value),ge=Xe=>{!x.value||!ve.value||(Xe.isDisabled=ve.value.cellExists(x.value.key,Xe.dayIndex))},he=Xe=>{Xe.isFocusable=Xe.inMonth&&Xe.day===d.value},ye=(Xe,dt)=>{for(const Re of Xe)for(const Ye of Re.days)if(dt(Ye)===!1)return},ee=computed(()=>b.value.reduce((Xe,dt)=>(Xe.push(...dt.viewDays),Xe),[])),pe=computed(()=>{const Xe=[];return(t.attributes||[]).forEach((dt,Re)=>{!dt||!dt.dates||Xe.push(new Attribute({...dt,order:dt.order||0},C.value,E.value))}),x.value&&Xe.push(x.value),Xe}),ae=computed(()=>arrayHasItems(pe.value)),ve=computed(()=>{const Xe=new DateRangeContext;return pe.value.forEach(dt=>{dt.ranges.forEach(Re=>{Xe.render(dt,Re,ee.value)})}),Xe}),we=computed(()=>ee.value.reduce((Xe,dt)=>(Xe[dt.dayIndex]={day:dt,cells:[]},Xe[dt.dayIndex].cells.push(...ve.value.getCells(dt)),Xe),{})),_e=(Xe,dt)=>{const Re=t.showWeeknumbers||t.showIsoWeeknumbers;return Re==null?"":isBoolean_1(Re)?Re?"left":"":Re.startsWith("right")?dt>1?"right":Re:Xe>1?"left":Re},Te=()=>{var Xe,dt;if(!ae.value)return null;const Re=pe.value.find(mt=>mt.pinPage)||pe.value[0];if(!Re||!Re.hasRanges)return null;const[Ye]=Re.ranges,at=((Xe=Ye.start)==null?void 0:Xe.date)||((dt=Ye.end)==null?void 0:dt.date);return at?se(at):null},Ce=()=>{if(pageIsValid(N.value))return N.value;const Xe=Te();return pageIsValid(Xe)?Xe:se(new Date)},Ae=(Xe,dt={})=>{const{view:Re=A.value,position:Ye=1,force:at}=dt,mt=Ye>0?1-Ye:-(G.value+Ye);let St=ce(Xe,mt,Re),Rt=ce(St,G.value-1,Re);return at||(pageIsBeforePage(St,Y.value)?St=Y.value:pageIsAfterPage(Rt,H.value)&&(St=ce(H.value,1-G.value)),Rt=ce(St,G.value-1)),{fromPage:St,toPage:Rt}},Ee=(Xe,dt,Re="")=>{if(Re==="none"||Re==="fade")return Re;if((Xe==null?void 0:Xe.view)!==(dt==null?void 0:dt.view))return"fade";const Ye=pageIsAfterPage(dt,Xe),at=pageIsBeforePage(dt,Xe);return!Ye&&!at?"fade":Re==="slide-v"?at?"slide-down":"slide-up":at?"slide-right":"slide-left"},le=(Xe={})=>new Promise((dt,Re)=>{const{position:Ye=1,force:at=!1,transition:mt}=Xe,St=pageIsValid(Xe.page)?Xe.page:Ce(),{fromPage:Rt}=Ae(St,{position:Ye,force:at}),Oe=[];for(let We=0;We{var Re;const dt=(Re=N.value)!=null?Re:se(new Date);return ce(dt,Xe)},ue=(Xe,dt={})=>{const Re=pageIsValid(Xe)?Xe:se(Xe);return Object.assign(dt,Ae(Re,{...dt,force:!0})),pageRangeToArray(dt.fromPage,dt.toPage,A.value,E.value).map(at=>pageIsBetweenPages(at,Y.value,H.value)).some(at=>at)},be=(Xe,dt={})=>ue(re(Xe),dt),ie=computed(()=>be(-M.value)),oe=computed(()=>be(M.value)),me=async(Xe,dt={})=>!dt.force&&!ue(Xe,dt)?!1:(dt.fromPage&&!pageIsEqualToPage(dt.fromPage,N.value)&&(hidePopover({id:v.value,hideDelay:0}),dt.view&&(skipWatcher("view",10),A.value=dt.view),await le({...dt,page:dt.fromPage,position:1,force:!0}),o("did-move",b.value)),!0),Se=(Xe,dt={})=>me(re(Xe),dt),xe=()=>Se(-M.value),De=()=>Se(M.value),Pe=Xe=>{const dt=Q.value?".in-month":"",Re=`.id-${E.value.getDayId(Xe)}${dt}`,Ye=`${Re}.vc-focusable, ${Re} .vc-focusable`,at=a.value;if(at){const mt=at.querySelector(Ye);if(mt)return mt.focus(),!0}return!1},Be=async(Xe,dt={})=>Pe(Xe)?!0:(await me(Xe,dt),Pe(Xe)),ot=(Xe,dt)=>{d.value=Xe.day,o("dayclick",Xe,dt)},ct=(Xe,dt)=>{o("daymouseenter",Xe,dt)},_t=(Xe,dt)=>{o("daymouseleave",Xe,dt)},He=(Xe,dt)=>{d.value=Xe.day,u.value=Xe,Xe.isFocused=!0,o("dayfocusin",Xe,dt)},Ve=(Xe,dt)=>{u.value=null,Xe.isFocused=!1,o("dayfocusout",Xe,dt)},ke=(Xe,dt)=>{o("daykeydown",Xe,dt);const Re=Xe.noonDate;let Ye=null;switch(dt.key){case"ArrowLeft":{Ye=addDays(Re,-1);break}case"ArrowRight":{Ye=addDays(Re,1);break}case"ArrowUp":{Ye=addDays(Re,-7);break}case"ArrowDown":{Ye=addDays(Re,7);break}case"Home":{Ye=addDays(Re,-Xe.weekdayPosition+1);break}case"End":{Ye=addDays(Re,Xe.weekdayPositionFromEnd);break}case"PageUp":{dt.altKey?Ye=addYears(Re,-1):Ye=addMonths(Re,-1);break}case"PageDown":{dt.altKey?Ye=addYears(Re,1):Ye=addMonths(Re,1);break}}Ye&&(dt.preventDefault(),Be(Ye).catch())},Qe=Xe=>{const dt=u.value;dt!=null&&ke(dt,Xe)},yt=(Xe,dt)=>{o("weeknumberclick",Xe,dt)};le({page:t.initialPage,position:t.initialPagePosition}),onMounted(()=>{!t.disablePageSwipe&&a.value&&(S=addHorizontalSwipeHandler(a.value,({toLeft:Xe=!1,toRight:dt=!1})=>{Xe?De():dt&&xe()},getDefault("touch")))}),onUnmounted(()=>{b.value=[],S&&S()}),watch(()=>E.value,()=>{le()}),watch(()=>G.value,()=>le()),watch(()=>t.view,()=>A.value=t.view),watch(()=>A.value,()=>{handleWatcher("view",()=>{le()}),o("update:view",A.value)}),watch(()=>d.value,()=>{ye(b.value,Xe=>he(Xe))}),watchEffect(()=>{o("update:pages",b.value),ye(b.value,Xe=>{ge(Xe),he(Xe)})});const Ct={emit:o,containerRef:a,focusedDay:u,inTransition:g,navPopoverId:v,dayPopoverId:y,view:A,pages:b,transitionName:_,theme:C,color:T,displayMode:I,locale:E,masks:F,attributes:pe,disabledAttribute:x,disabledDates:P,attributeContext:ve,days:ee,dayCells:we,count:G,step:M,firstPage:N,lastPage:V,canMovePrev:ie,canMoveNext:oe,minPage:Y,maxPage:H,isMonthly:Q,isWeekly:X,isDaily:J,navVisibility:B,showWeeknumbers:z,showIsoWeeknumbers:U,getDateAddress:se,canMove:ue,canMoveBy:be,move:me,moveBy:Se,movePrev:xe,moveNext:De,onTransitionBeforeEnter:ne,onTransitionAfterEnter:te,tryFocusDate:Pe,focusDate:Be,onKeydown:Qe,onDayKeydown:ke,onDayClick:ot,onDayMouseenter:ct,onDayMouseleave:_t,onDayFocusin:He,onDayFocusout:Ve,onWeeknumberClick:yt};return provide(contextKey$2,Ct),Ct}function useCalendar(){const t=inject(contextKey$2);if(t)return t;throw new Error("Calendar context missing. Please verify this component is nested within a valid context provider.")}const _sfc_main$k$1=defineComponent({inheritAttrs:!1,emits:["before-show","after-show","before-hide","after-hide"],props:{id:{type:[Number,String,Symbol],required:!0},showDelay:{type:Number,default:0},hideDelay:{type:Number,default:110},boundarySelector:{type:String}},setup(t,{emit:r}){let o;const a=ref();let u=null,d=null;const g=reactive({isVisible:!1,target:null,data:null,transition:"slide-fade",placement:"bottom",direction:"",positionFixed:!1,modifiers:[],isInteractive:!0,visibility:"click",isHovered:!1,isFocused:!1,autoHide:!1,force:!1});function v(te){te&&(g.direction=te.split("-")[0])}function y({placement:te,options:ce}){v(te||(ce==null?void 0:ce.placement))}const A=computed(()=>({placement:g.placement,strategy:g.positionFixed?"fixed":"absolute",boundary:"",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:y},...g.modifiers||[]],onFirstUpdate:y})),b=computed(()=>{const te=g.direction==="left"||g.direction==="right";let ce="";if(g.placement){const se=g.placement.split("-");se.length>1&&(ce=se[1])}return["start","top","left"].includes(ce)?te?"top":"left":["end","bottom","right"].includes(ce)?te?"bottom":"right":te?"middle":"center"});function _(){d&&(d.destroy(),d=null)}function w(){nextTick(()=>{const te=resolveEl(g.target);!te||!a.value||(d&&d.state.elements.reference!==te&&_(),d?d.update():d=createPopper(te,a.value,A.value))})}function S(te){Object.assign(g,omit(te,"force"))}function C(te,ce){clearTimeout(o),te>0?o=setTimeout(ce,te):ce()}function T(te){return!te||!d?!1:resolveEl(te)===d.state.elements.reference}async function I(te={}){var ce;g.force||(te.force&&(g.force=!0),C((ce=te.showDelay)!=null?ce:t.showDelay,()=>{g.isVisible&&(g.force=!1),S({...te,isVisible:!0}),w()}))}function E(te={}){var ce;!d||te.target&&!T(te.target)||g.force||(te.force&&(g.force=!0),C((ce=te.hideDelay)!=null?ce:t.hideDelay,()=>{g.isVisible||(g.force=!1),g.isVisible=!1}))}function F(te={}){te.target!=null&&(g.isVisible&&T(te.target)?E(te):I(te))}function O(te){if(!d)return;const ce=d.state.elements.reference;if(!a.value||!ce)return;const se=te.target;elementContains(a.value,se)||elementContains(ce,se)||E({force:!0})}function D(te){(te.key==="Esc"||te.key==="Escape")&&E()}function x({detail:te}){!te.id||te.id!==t.id||I(te)}function P({detail:te}){!te.id||te.id!==t.id||E(te)}function G({detail:te}){!te.id||te.id!==t.id||F(te)}function M(){on(document,"keydown",D),on(document,"click",O),on(document,"show-popover",x),on(document,"hide-popover",P),on(document,"toggle-popover",G)}function N(){off(document,"keydown",D),off(document,"click",O),off(document,"show-popover",x),off(document,"hide-popover",P),off(document,"toggle-popover",G)}function V(te){r("before-show",te)}function Y(te){g.force=!1,r("after-show",te)}function H(te){r("before-hide",te)}function B(te){g.force=!1,_(),r("after-hide",te)}function z(te){te.stopPropagation()}function U(){g.isHovered=!0,g.isInteractive&&["hover","hover-focus"].includes(g.visibility)&&I()}function Q(){if(g.isHovered=!1,!d)return;const te=d.state.elements.reference;g.autoHide&&!g.isFocused&&(!te||te!==document.activeElement)&&["hover","hover-focus"].includes(g.visibility)&&E()}function X(){g.isFocused=!0,g.isInteractive&&["focus","hover-focus"].includes(g.visibility)&&I()}function J(te){["focus","hover-focus"].includes(g.visibility)&&(!te.relatedTarget||!elementContains(a.value,te.relatedTarget))&&(g.isFocused=!1,!g.isHovered&&g.autoHide&&E())}function ne(){u!=null&&(u.disconnect(),u=null)}return watch(()=>a.value,te=>{ne(),te&&(u=new ResizeObserver(()=>{d&&d.update()}),u.observe(te))}),watch(()=>g.placement,v,{immediate:!0}),onMounted(()=>{M()}),onUnmounted(()=>{_(),ne(),N()}),{...toRefs(g),popoverRef:a,alignment:b,hide:E,setupPopper:w,beforeEnter:V,afterEnter:Y,beforeLeave:H,afterLeave:B,onClick:z,onMouseOver:U,onMouseLeave:Q,onFocusIn:X,onFocusOut:J}}}),_export_sfc=(t,r)=>{const o=t.__vccOpts||t;for(const[a,u]of r)o[a]=u;return o};function _sfc_render$7$1(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-popover-content-wrapper",{"is-interactive":t.isInteractive}]),ref:"popoverRef",onClick:r[0]||(r[0]=(...g)=>t.onClick&&t.onClick(...g)),onMouseover:r[1]||(r[1]=(...g)=>t.onMouseOver&&t.onMouseOver(...g)),onMouseleave:r[2]||(r[2]=(...g)=>t.onMouseLeave&&t.onMouseLeave(...g)),onFocusin:r[3]||(r[3]=(...g)=>t.onFocusIn&&t.onFocusIn(...g)),onFocusout:r[4]||(r[4]=(...g)=>t.onFocusOut&&t.onFocusOut(...g))},[createVNode$1(Transition,{name:`vc-${t.transition}`,appear:"",onBeforeEnter:t.beforeEnter,onAfterEnter:t.afterEnter,onBeforeLeave:t.beforeLeave,onAfterLeave:t.afterLeave},{default:withCtx(()=>[t.isVisible?(openBlock(),createElementBlock("div",mergeProps({key:0,tabindex:"-1",class:`vc-popover-content direction-${t.direction}`},t.$attrs),[renderSlot(t.$slots,"default",{direction:t.direction,alignment:t.alignment,data:t.data,hide:t.hide},()=>[createTextVNode(toDisplayString$1(t.data),1)]),createBaseVNode("span",{class:normalizeClass(["vc-popover-caret",`direction-${t.direction}`,`align-${t.alignment}`])},null,2)],16)):createCommentVNode("",!0)]),_:3},8,["name","onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],34)}const Popover=_export_sfc(_sfc_main$k$1,[["render",_sfc_render$7$1]]),_hoisted_1$c$1={class:"vc-day-popover-row"},_hoisted_2$b$1={key:0,class:"vc-day-popover-row-indicator"},_hoisted_3$9$1={class:"vc-day-popover-row-label"},_sfc_main$j$1=defineComponent({__name:"PopoverRow",props:{attribute:null},setup(t){const r=t,o=computed(()=>{const{content:a,highlight:u,dot:d,bar:g,popover:v}=r.attribute;return v&&v.hideIndicator?null:a?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${a.base.color}`}:u?{class:`vc-highlight-bg-solid vc-day-popover-row-highlight vc-attr vc-${u.base.color}`}:d?{class:`vc-dot vc-attr vc-${d.base.color}`}:g?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${g.base.color}`}:null});return(a,u)=>(openBlock(),createElementBlock("div",_hoisted_1$c$1,[unref(o)?(openBlock(),createElementBlock("div",_hoisted_2$b$1,[createBaseVNode("span",{class:normalizeClass(unref(o).class)},null,2)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$9$1,[renderSlot(a.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(t.attribute.popover?t.attribute.popover.label:"No content provided"),1)])])]))}}),__default__$3={inheritAttrs:!1},_sfc_main$i$1=defineComponent({...__default__$3,__name:"CalendarSlot",props:{name:null},setup(t){const o=useSlot(t.name);return(a,u)=>unref(o)?(openBlock(),createBlock(resolveDynamicComponent(unref(o)),normalizeProps(mergeProps({key:0},a.$attrs)),null,16)):renderSlot(a.$slots,"default",{key:1})}}),_hoisted_1$b$1={class:"vc-day-popover-container"},_hoisted_2$a$1={key:0,class:"vc-day-popover-header"},_sfc_main$h$1=defineComponent({__name:"CalendarDayPopover",setup(t){const{dayPopoverId:r,displayMode:o,color:a,masks:u,locale:d}=useCalendar();function g(y,A){return d.value.formatDate(y,A)}function v(y){return d.value.formatDate(y.date,u.value.dayPopover)}return(y,A)=>(openBlock(),createBlock(Popover,{id:unref(r),class:normalizeClass([`vc-${unref(a)}`,`vc-${unref(o)}`])},{default:withCtx(({data:{day:b,attributes:_},hide:w})=>[createVNode$1(_sfc_main$i$1,{name:"day-popover",day:b,"day-title":v(b),attributes:_,format:g,masks:unref(u),hide:w},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$b$1,[unref(u).dayPopover?(openBlock(),createElementBlock("div",_hoisted_2$a$1,toDisplayString$1(v(b)),1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(_,S=>(openBlock(),createBlock(_sfc_main$j$1,{key:S.key,attribute:S},null,8,["attribute"]))),128))])]),_:2},1032,["day","day-title","attributes","masks","hide"])]),_:1},8,["id","class"]))}}),_sfc_main$g$1={},_hoisted_1$a$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$9$1=createBaseVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),_hoisted_3$8$1=[_hoisted_2$9$1];function _sfc_render$6$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$a$1,_hoisted_3$8$1)}const IconChevronRight=_export_sfc(_sfc_main$g$1,[["render",_sfc_render$6$1]]),_sfc_main$f$1={},_hoisted_1$9$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$8$1=createBaseVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),_hoisted_3$7$1=[_hoisted_2$8$1];function _sfc_render$5$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$9$1,_hoisted_3$7$1)}const IconChevronLeft=_export_sfc(_sfc_main$f$1,[["render",_sfc_render$5$1]]),_sfc_main$e$1={},_hoisted_1$8$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$7$1=createBaseVNode("polyline",{points:"6 9 12 15 18 9"},null,-1),_hoisted_3$6$1=[_hoisted_2$7$1];function _sfc_render$4$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$8$1,_hoisted_3$6$1)}const IconChevronDown=_export_sfc(_sfc_main$e$1,[["render",_sfc_render$4$1]]),_sfc_main$d$1={},_hoisted_1$7$1={fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},_hoisted_2$6$1=createBaseVNode("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),_hoisted_3$5$1=[_hoisted_2$6$1];function _sfc_render$3$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$7$1,_hoisted_3$5$1)}const IconClock=_export_sfc(_sfc_main$d$1,[["render",_sfc_render$3$1]]),icons=Object.freeze(Object.defineProperty({__proto__:null,IconChevronDown,IconChevronLeft,IconChevronRight,IconClock},Symbol.toStringTag,{value:"Module"})),_sfc_main$c$1=defineComponent({__name:"BaseIcon",props:{name:{type:String,required:!0},width:{type:String},height:{type:String},size:{type:String,default:"26"},viewBox:{type:String}},setup(t){const r=t,o=computed(()=>r.width||r.size),a=computed(()=>r.height||r.size),u=computed(()=>icons[`Icon${r.name}`]);return(d,g)=>(openBlock(),createBlock(resolveDynamicComponent(unref(u)),{width:unref(o),height:unref(a),class:"vc-base-icon"},null,8,["width","height"]))}}),_hoisted_1$6$1=["disabled"],_hoisted_2$5$1={key:1,class:"vc-title-wrapper"},_hoisted_3$4$1={type:"button",class:"vc-title"},_hoisted_4$3$1=["disabled"],_sfc_main$b$1=defineComponent({__name:"CalendarHeader",props:{page:null,layout:null,isLg:{type:Boolean},isXl:{type:Boolean},is2xl:{type:Boolean},hideTitle:{type:Boolean},hideArrows:{type:Boolean}},setup(t){const r=t,{navPopoverId:o,navVisibility:a,canMovePrev:u,movePrev:d,canMoveNext:g,moveNext:v}=useCalendar(),y=computed(()=>{switch(r.page.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}}),A=computed(()=>{const{page:T}=r;return{id:o.value,visibility:a.value,placement:y.value,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:T},isInteractive:!0}}),b=computed(()=>r.page.titlePosition.includes("left")),_=computed(()=>r.page.titlePosition.includes("right")),w=computed(()=>r.layout?r.layout:b.value?"tu-pn":_.value?"pn-tu":"p-tu-n;"),S=computed(()=>({prev:w.value.includes("p")&&!r.hideArrows,title:w.value.includes("t")&&!r.hideTitle,next:w.value.includes("n")&&!r.hideArrows})),C=computed(()=>({gridTemplateColumns:w.value.split("").map(I=>{switch(I){case"p":return"[prev] auto";case"n":return"[next] auto";case"t":return"[title] auto";case"-":return"1fr";default:return""}}).join(" ")}));return(T,I)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-header",{"is-lg":t.isLg,"is-xl":t.isXl,"is-2xl":t.is2xl}]),style:normalizeStyle$1(unref(C))},[unref(S).prev?(openBlock(),createElementBlock("button",{key:0,type:"button",class:"vc-arrow vc-prev vc-focus",disabled:!unref(u),onClick:I[0]||(I[0]=(...E)=>unref(d)&&unref(d)(...E)),onKeydown:I[1]||(I[1]=withKeys((...E)=>unref(d)&&unref(d)(...E),["space","enter"]))},[createVNode$1(_sfc_main$i$1,{name:"header-prev-button",disabled:!unref(u)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronLeft",size:"24"})]),_:1},8,["disabled"])],40,_hoisted_1$6$1)):createCommentVNode("",!0),unref(S).title?(openBlock(),createElementBlock("div",_hoisted_2$5$1,[createVNode$1(_sfc_main$i$1,{name:"header-title-wrapper"},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("button",_hoisted_3$4$1,[createVNode$1(_sfc_main$i$1,{name:"header-title",title:t.page.title},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(t.page.title),1)]),_:1},8,["title"])])),[[unref(popoverDirective),unref(A)]])]),_:1})])):createCommentVNode("",!0),unref(S).next?(openBlock(),createElementBlock("button",{key:2,type:"button",class:"vc-arrow vc-next vc-focus",disabled:!unref(g),onClick:I[2]||(I[2]=(...E)=>unref(v)&&unref(v)(...E)),onKeydown:I[3]||(I[3]=withKeys((...E)=>unref(v)&&unref(v)(...E),["space","enter"]))},[createVNode$1(_sfc_main$i$1,{name:"header-next-button",disabled:!unref(g)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronRight",size:"24"})]),_:1},8,["disabled"])],40,_hoisted_4$3$1)):createCommentVNode("",!0)],6))}}),contextKey$1=Symbol("__vc_page_context__");function createPage(t){const{locale:r,getDateAddress:o,canMove:a}=useCalendar();function u(v,y){const{month:A,year:b}=o(new Date);return getMonthDates().map((_,w)=>{const S=w+1;return{month:S,year:v,id:getPageId(S,v),label:r.value.formatDate(_,y),ariaLabel:r.value.formatDate(_,"MMMM"),isActive:S===t.value.month&&v===t.value.year,isCurrent:S===A&&v===b,isDisabled:!a({month:S,year:v},{position:t.value.position})}})}function d(v,y){const{year:A}=o(new Date),{position:b}=t.value,_=[];for(let w=v;w<=y;w+=1){const S=[...Array(12).keys()].some(C=>a({month:C+1,year:w},{position:b}));_.push({year:w,id:w.toString(),label:w.toString(),ariaLabel:w.toString(),isActive:w===t.value.year,isCurrent:w===A,isDisabled:!S})}return _}const g={page:t,getMonthItems:u,getYearItems:d};return provide(contextKey$1,g),g}function usePage(){const t=inject(contextKey$1);if(t)return t;throw new Error("Page context missing. Please verify this component is nested within a valid context provider.")}const _hoisted_1$5$1={class:"vc-nav-header"},_hoisted_2$4$1=["disabled"],_hoisted_3$3$1=["disabled"],_hoisted_4$2$1={class:"vc-nav-items"},_hoisted_5$2$1=["data-id","aria-label","disabled","onClick","onKeydown"],_sfc_main$a$1=defineComponent({__name:"CalendarNav",setup(t){const{masks:r,move:o}=useCalendar(),{page:a,getMonthItems:u,getYearItems:d}=usePage(),g=ref(!0),v=12,y=ref(a.value.year),A=ref(w(a.value.year)),b=ref(null);function _(){setTimeout(()=>{if(b.value==null)return;const se=b.value.querySelector(".vc-nav-item:not(:disabled)");se&&se.focus()},10)}function w(se){return Math.floor(se/v)}function S(){g.value=!g.value}function C(se){return se*v}function T(se){return v*(se+1)-1}function I(){!X.value||(g.value&&F(),D())}function E(){!J.value||(g.value&&O(),x())}function F(){y.value--}function O(){y.value++}function D(){A.value--}function x(){A.value++}const P=computed(()=>u(y.value,r.value.navMonths).map(se=>({...se,click:()=>o({month:se.month,year:se.year},{position:a.value.position})}))),G=computed(()=>u(y.value-1,r.value.navMonths)),M=computed(()=>G.value.some(se=>!se.isDisabled)),N=computed(()=>u(y.value+1,r.value.navMonths)),V=computed(()=>N.value.some(se=>!se.isDisabled)),Y=computed(()=>d(C(A.value),T(A.value)).map(se=>({...se,click:()=>{y.value=se.year,g.value=!0,_()}}))),H=computed(()=>d(C(A.value-1),T(A.value-1))),B=computed(()=>H.value.some(se=>!se.isDisabled)),z=computed(()=>d(C(A.value+1),T(A.value+1))),U=computed(()=>z.value.some(se=>!se.isDisabled)),Q=computed(()=>g.value?P.value:Y.value),X=computed(()=>g.value?M.value:B.value),J=computed(()=>g.value?V.value:U.value),ne=computed(()=>head_1(Y.value.map(se=>se.year))),te=computed(()=>last_1(Y.value.map(se=>se.year))),ce=computed(()=>g.value?y.value:`${ne.value} - ${te.value}`);return watchEffect(()=>{y.value=a.value.year,_()}),watch(()=>y.value,se=>A.value=w(se)),onMounted(()=>_()),(se,ge)=>(openBlock(),createElementBlock("div",{class:"vc-nav-container",ref_key:"navContainer",ref:b},[createBaseVNode("div",_hoisted_1$5$1,[createBaseVNode("button",{type:"button",class:"vc-nav-arrow is-left vc-focus",disabled:!unref(X),onClick:I,onKeydown:ge[0]||(ge[0]=he=>unref(onSpaceOrEnter)(he,I))},[createVNode$1(_sfc_main$i$1,{name:"nav-prev-button",move:I,disabled:!unref(X)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronLeft",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,_hoisted_2$4$1),createBaseVNode("button",{type:"button",class:"vc-nav-title vc-focus",onClick:S,onKeydown:ge[1]||(ge[1]=he=>unref(onSpaceOrEnter)(he,S))},toDisplayString$1(unref(ce)),33),createBaseVNode("button",{type:"button",class:"vc-nav-arrow is-right vc-focus",disabled:!unref(J),onClick:E,onKeydown:ge[2]||(ge[2]=he=>unref(onSpaceOrEnter)(he,E))},[createVNode$1(_sfc_main$i$1,{name:"nav-next-button",move:E,disabled:!unref(J)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronRight",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,_hoisted_3$3$1)]),createBaseVNode("div",_hoisted_4$2$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Q),he=>(openBlock(),createElementBlock("button",{key:he.label,type:"button","data-id":he.id,"aria-label":he.ariaLabel,class:normalizeClass(["vc-nav-item vc-focus",[he.isActive?"is-active":he.isCurrent?"is-current":""]]),disabled:he.isDisabled,onClick:he.click,onKeydown:ye=>unref(onSpaceOrEnter)(ye,he.click)},toDisplayString$1(he.label),43,_hoisted_5$2$1))),128))])],512))}}),_sfc_main$9$1=defineComponent({__name:"CalendarPageProvider",props:{page:null},setup(t){return createPage(toRef(t,"page")),(o,a)=>renderSlot(o.$slots,"default")}}),_sfc_main$8$1=defineComponent({__name:"CalendarNavPopover",setup(t){const{navPopoverId:r,color:o,displayMode:a}=useCalendar();return(u,d)=>(openBlock(),createBlock(Popover,{id:unref(r),class:normalizeClass(["vc-nav-popover-container",`vc-${unref(o)}`,`vc-${unref(a)}`])},{default:withCtx(({data:g})=>[createVNode$1(_sfc_main$9$1,{page:g.page},{default:withCtx(()=>[createVNode$1(_sfc_main$i$1,{name:"nav"},{default:withCtx(()=>[createVNode$1(_sfc_main$a$1)]),_:1})]),_:2},1032,["page"])]),_:1},8,["id","class"]))}}),_sfc_main$7$1=defineComponent({directives:{popover:popoverDirective},components:{CalendarSlot:_sfc_main$i$1},props:{day:{type:Object,required:!0}},setup(t){const{locale:r,theme:o,attributeContext:a,dayPopoverId:u,onDayClick:d,onDayMouseenter:g,onDayMouseleave:v,onDayFocusin:y,onDayFocusout:A,onDayKeydown:b}=useCalendar(),_=computed(()=>t.day),w=computed(()=>a.value.getCells(_.value)),S=computed(()=>w.value.map(U=>U.data)),C=computed(()=>({..._.value,attributes:S.value,attributeCells:w.value}));function T({data:U},{popovers:Q}){const{key:X,customData:J,popover:ne}=U;if(!ne)return;const te=defaults_1({key:X,customData:J,attribute:U},{...ne},{visibility:ne.label?"hover":"click",placement:"bottom",isInteractive:!ne.label});Q.splice(0,0,te)}const I=computed(()=>{const U={...o.value.prepareRender({}),popovers:[]};return w.value.forEach(Q=>{o.value.render(Q,U),T(Q,U)}),U}),E=computed(()=>I.value.highlights),F=computed(()=>!!arrayHasItems(E.value)),O=computed(()=>I.value.content),D=computed(()=>I.value.dots),x=computed(()=>!!arrayHasItems(D.value)),P=computed(()=>I.value.bars),G=computed(()=>!!arrayHasItems(P.value)),M=computed(()=>I.value.popovers),N=computed(()=>M.value.map(U=>U.attribute)),V=useSlot("day-content"),Y=computed(()=>["vc-day",..._.value.classes,{"vc-day-box-center-center":!V},{"is-not-in-month":!t.day.inMonth}]),H=computed(()=>{let U;_.value.isFocusable?U="0":U="-1";const Q=["vc-day-content vc-focusable vc-focus vc-attr",{"vc-disabled":_.value.isDisabled},get_1(last_1(E.value),"contentClass"),get_1(last_1(O.value),"class")||""],X={...get_1(last_1(E.value),"contentStyle"),...get_1(last_1(O.value),"style")};return{class:Q,style:X,tabindex:U,"aria-label":_.value.ariaLabel,"aria-disabled":!!_.value.isDisabled,role:"button"}}),B=computed(()=>({click(U){d(C.value,U)},mouseenter(U){g(C.value,U)},mouseleave(U){v(C.value,U)},focusin(U){y(C.value,U)},focusout(U){A(C.value,U)},keydown(U){b(C.value,U)}})),z=computed(()=>arrayHasItems(M.value)?defaults_1({id:u.value,data:{day:_,attributes:N.value}},...M.value):null);return{attributes:S,attributeCells:w,bars:P,dayClasses:Y,dayContentProps:H,dayContentEvents:B,dayPopover:z,glyphs:I,dots:D,hasDots:x,hasBars:G,highlights:E,hasHighlights:F,locale:r,popovers:M}}}),_hoisted_1$4$1={key:0,class:"vc-highlights vc-day-layer"},_hoisted_2$3$1={key:1,class:"vc-day-layer vc-day-box-center-bottom"},_hoisted_3$2$1={class:"vc-dots"},_hoisted_4$1$1={key:2,class:"vc-day-layer vc-day-box-center-bottom"},_hoisted_5$1$1={class:"vc-bars"};function _sfc_render$2$1(t,r,o,a,u,d){const g=resolveComponent("CalendarSlot"),v=resolveDirective("popover");return openBlock(),createElementBlock("div",{class:normalizeClass(t.dayClasses)},[t.hasHighlights?(openBlock(),createElementBlock("div",_hoisted_1$4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.highlights,({key:y,wrapperClass:A,class:b,style:_})=>(openBlock(),createElementBlock("div",{key:y,class:normalizeClass(A)},[createBaseVNode("div",{class:normalizeClass(b),style:normalizeStyle$1(_)},null,6)],2))),128))])):createCommentVNode("",!0),createVNode$1(g,{name:"day-content",day:t.day,attributes:t.attributes,"attribute-cells":t.attributeCells,dayProps:t.dayContentProps,dayEvents:t.dayContentEvents,locale:t.locale},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",mergeProps(t.dayContentProps,toHandlers(t.dayContentEvents,!0)),[createTextVNode(toDisplayString$1(t.day.label),1)],16)),[[v,t.dayPopover]])]),_:1},8,["day","attributes","attribute-cells","dayProps","dayEvents","locale"]),t.hasDots?(openBlock(),createElementBlock("div",_hoisted_2$3$1,[createBaseVNode("div",_hoisted_3$2$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.dots,({key:y,class:A,style:b})=>(openBlock(),createElementBlock("span",{key:y,class:normalizeClass(A),style:normalizeStyle$1(b)},null,6))),128))])])):createCommentVNode("",!0),t.hasBars?(openBlock(),createElementBlock("div",_hoisted_4$1$1,[createBaseVNode("div",_hoisted_5$1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.bars,({key:y,class:A,style:b})=>(openBlock(),createElementBlock("span",{key:y,class:normalizeClass(A),style:normalizeStyle$1(b)},null,6))),128))])])):createCommentVNode("",!0)],2)}const CalendarDay=_export_sfc(_sfc_main$7$1,[["render",_sfc_render$2$1]]),_hoisted_1$3$1={class:"vc-weekdays"},_hoisted_2$2$1=["onClick"],__default__$2={inheritAttrs:!1},_sfc_main$6$1=defineComponent({...__default__$2,__name:"CalendarPage",setup(t){const{page:r}=usePage(),{onWeeknumberClick:o}=useCalendar();return(a,u)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-pane",`row-${unref(r).row}`,`row-from-end-${unref(r).rowFromEnd}`,`column-${unref(r).column}`,`column-from-end-${unref(r).columnFromEnd}`]),ref:"pane"},[createVNode$1(_sfc_main$b$1,{page:unref(r),"is-lg":"","hide-arrows":""},null,8,["page"]),createBaseVNode("div",{class:normalizeClass(["vc-weeks",{[`vc-show-weeknumbers-${unref(r).weeknumberPosition}`]:unref(r).weeknumberPosition}])},[createBaseVNode("div",_hoisted_1$3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).weekdays,({weekday:d,label:g},v)=>(openBlock(),createElementBlock("div",{key:v,class:normalizeClass(`vc-weekday vc-weekday-${d}`)},toDisplayString$1(g),3))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).viewWeeks,d=>(openBlock(),createElementBlock("div",{key:`weeknumber-${d.weeknumber}`,class:"vc-week"},[unref(r).weeknumberPosition?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["vc-weeknumber",`is-${unref(r).weeknumberPosition}`])},[createBaseVNode("span",{class:normalizeClass(["vc-weeknumber-content"]),onClick:g=>unref(o)(d,g)},toDisplayString$1(d.weeknumberDisplay),9,_hoisted_2$2$1)],2)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(d.days,g=>(openBlock(),createBlock(CalendarDay,{key:g.id,day:g},null,8,["day"]))),128))]))),128))],2)],2))}}),_sfc_main$5$1=defineComponent({components:{CalendarHeader:_sfc_main$b$1,CalendarPage:_sfc_main$6$1,CalendarNavPopover:_sfc_main$8$1,CalendarDayPopover:_sfc_main$h$1,CalendarPageProvider:_sfc_main$9$1,CalendarSlot:_sfc_main$i$1},props:propsDef$1,emit:emitsDef,setup(t,{emit:r,slots:o}){return createCalendar(t,{emit:r,slots:o})}}),_hoisted_1$2$1={class:"vc-pane-header-wrapper"};function _sfc_render$1$1(t,r,o,a,u,d){const g=resolveComponent("CalendarHeader"),v=resolveComponent("CalendarPage"),y=resolveComponent("CalendarSlot"),A=resolveComponent("CalendarPageProvider"),b=resolveComponent("CalendarDayPopover"),_=resolveComponent("CalendarNavPopover");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",mergeProps({"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},t.$attrs,{class:["vc-container",`vc-${t.view}`,`vc-${t.color}`,`vc-${t.displayMode}`,{"vc-expanded":t.expanded,"vc-bordered":!t.borderless,"vc-transparent":t.transparent}],onMouseup:r[0]||(r[0]=withModifiers(()=>{},["prevent"])),ref:"containerRef"}),[createBaseVNode("div",{class:normalizeClass(["vc-pane-container",{"in-transition":t.inTransition}])},[createBaseVNode("div",_hoisted_1$2$1,[t.firstPage?(openBlock(),createBlock(g,{key:0,page:t.firstPage,"is-lg":"","hide-title":""},null,8,["page"])):createCommentVNode("",!0)]),createVNode$1(Transition,{name:`vc-${t.transitionName}`,onBeforeEnter:t.onTransitionBeforeEnter,onAfterEnter:t.onTransitionAfterEnter},{default:withCtx(()=>[(openBlock(),createElementBlock("div",{key:t.pages[0].id,class:"vc-pane-layout",style:normalizeStyle$1({gridTemplateColumns:`repeat(${t.columns}, 1fr)`})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,w=>(openBlock(),createBlock(A,{key:w.id,page:w},{default:withCtx(()=>[createVNode$1(y,{name:"page",page:w},{default:withCtx(()=>[createVNode$1(v)]),_:2},1032,["page"])]),_:2},1032,["page"]))),128))],4))]),_:1},8,["name","onBeforeEnter","onAfterEnter"]),createVNode$1(y,{name:"footer"})],2)],16),createVNode$1(b),createVNode$1(_)],64)}const Calendar$4=_export_sfc(_sfc_main$5$1,[["render",_sfc_render$1$1]]),contextKey=Symbol("__vc_date_picker_context__"),propsDef={...propsDef$2,mode:{type:String,default:"date"},modelValue:{type:[Number,String,Date,Object]},modelModifiers:{type:Object,default:()=>({})},rules:[String,Object],is24hr:Boolean,hideTimeHeader:Boolean,timeAccuracy:{type:Number,default:2},isRequired:Boolean,isRange:Boolean,updateOnInput:{type:Boolean,default:()=>getDefault("datePicker.updateOnInput")},inputDebounce:{type:Number,default:()=>getDefault("datePicker.inputDebounce")},popover:{type:[Boolean,Object],default:!0},dragAttribute:Object,selectAttribute:Object,attributes:[Object,Array]},emits=["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"];function createDatePicker(t,{emit:r,slots:o}){var dt;provideSlots(o,{footer:"dp-footer"});const a=createBase(t),{locale:u,masks:d,disabledAttribute:g}=a,v=ref(!1),y=ref(Symbol()),A=ref(null),b=ref(null),_=ref(["",""]),w=ref(null),S=ref(null);let C,T,I=!0;const E=computed(()=>t.isRange||t.modelModifiers.range===!0),F=computed(()=>E.value&&A.value!=null?A.value.start:null),O=computed(()=>E.value&&A.value!=null?A.value.end:null),D=computed(()=>t.mode.toLowerCase()==="date"),x=computed(()=>t.mode.toLowerCase()==="datetime"),P=computed(()=>t.mode.toLowerCase()==="time"),G=computed(()=>!!b.value),M=computed(()=>{let Re="date";t.modelModifiers.number&&(Re="number"),t.modelModifiers.string&&(Re="string");const Ye=d.value.modelValue||"iso";return ge({type:Re,mask:Ye})}),N=computed(()=>{var Re;return be((Re=b.value)!=null?Re:A.value)}),V=computed(()=>P.value?t.is24hr?d.value.inputTime24hr:d.value.inputTime:x.value?t.is24hr?d.value.inputDateTime24hr:d.value.inputDateTime:d.value.input),Y=computed(()=>/[Hh]/g.test(V.value)),H=computed(()=>/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(V.value)),B=computed(()=>{if(Y.value&&H.value)return"dateTime";if(H.value)return"date";if(Y.value)return"time"}),z=computed(()=>{var at;var Re;const Ye=(at=(Re=w.value)==null?void 0:Re.$el.previousElementSibling)!=null?at:void 0;return defaultsDeep_1({},t.popover,getDefault("datePicker.popover"),{target:Ye})}),U=computed(()=>getPopoverEventHandlers({...z.value,id:y.value})),Q=computed(()=>E.value?{start:_.value[0],end:_.value[1]}:_.value[0]),X=computed(()=>{const Re=["start","end"].map(Ye=>({input:le(Ye),change:re(Ye),keyup:ue,...t.popover&&U.value}));return E.value?{start:Re[0],end:Re[1]}:Re[0]}),J=computed(()=>{if(!pe(A.value))return null;const Re={key:"select-drag",...t.selectAttribute,dates:A.value,pinPage:!0},{dot:Ye,bar:at,highlight:mt,content:St}=Re;return!Ye&&!at&&!mt&&!St&&(Re.highlight=!0),Re}),ne=computed(()=>{if(!E.value||!pe(b.value))return null;const Re={key:"select-drag",...t.dragAttribute,dates:b.value},{dot:Ye,bar:at,highlight:mt,content:St}=Re;return!Ye&&!at&&!mt&&!St&&(Re.highlight={startEnd:{fillMode:"outline"}}),Re}),te=computed(()=>{const Re=isArray$d(t.attributes)?[...t.attributes]:[];return ne.value?Re.unshift(ne.value):J.value&&Re.unshift(J.value),Re}),ce=computed(()=>{var Re;return ge(t.rules==="auto"?se():(Re=t.rules)!=null?Re:{})});function se(){const Re={ms:[0,999],sec:[0,59],min:[0,59],hr:[0,23]},Ye=D.value?0:t.timeAccuracy;return[0,1].map(at=>{switch(Ye){case 0:return{hours:Re.hr[at],minutes:Re.min[at],seconds:Re.sec[at],milliseconds:Re.ms[at]};case 1:return{minutes:Re.min[at],seconds:Re.sec[at],milliseconds:Re.ms[at]};case 3:return{milliseconds:Re.ms[at]};case 4:return{};default:return{seconds:Re.sec[at],milliseconds:Re.ms[at]}}})}function ge(Re){return isArray$d(Re)?Re.length===1?[Re[0],Re[0]]:Re:[Re,Re]}function he(Re){return ge(Re).map((Ye,at)=>({...Ye,rules:ce.value[at]}))}function ye(Re){return Re==null?!1:isNumber_1(Re)?!isNaN(Re):isDate$2(Re)?!isNaN(Re.getTime()):isString_1(Re)?Re!=="":isDateParts(Re)}function ee(Re){var Ye,at;return isObject$b(Re)&&"start"in Re&&"end"in Re&&ye((Ye=Re.start)!=null?Ye:null)&&ye((at=Re.end)!=null?at:null)}function pe(Re){return ee(Re)||ye(Re)}function ae(Re,Ye){if(Re==null&&Ye==null)return!0;if(Re==null||Ye==null)return!1;const at=isDate$2(Re),mt=isDate$2(Ye);return at&&mt?Re.getTime()===Ye.getTime():at||mt?!1:ae(Re.start,Ye.start)&&ae(Re.end,Ye.end)}function ve(Re){return!pe(Re)||!g.value?!1:g.value.intersectsRange(u.value.range(Re))}function we(Re,Ye,at,mt){var St,Rt;if(!pe(Re))return null;if(ee(Re)){const Oe=u.value.toDate(Re.start,{...Ye[0],fillDate:(St=F.value)!=null?St:void 0,patch:at}),We=u.value.toDate(Re.end,{...Ye[1],fillDate:(Rt=O.value)!=null?Rt:void 0,patch:at});return Ve({start:Oe,end:We},mt)}return u.value.toDateOrNull(Re,{...Ye[0],fillDate:A.value,patch:at})}function _e(Re,Ye){return ee(Re)?{start:u.value.fromDate(Re.start,Ye[0]),end:u.value.fromDate(Re.end,Ye[1])}:E.value?null:u.value.fromDate(Re,Ye[0])}function Te(Re,Ye={}){return clearTimeout(C),new Promise(at=>{const{debounce:mt=0,...St}=Ye;mt>0?C=window.setTimeout(()=>{at(Ce(Re,St))},mt):at(Ce(Re,St))})}function Ce(Re,{config:Ye=M.value,patch:at="dateTime",clearIfEqual:mt=!1,formatInput:St=!0,hidePopover:Rt=!1,dragging:Oe=G.value,targetPriority:We,moveToValue:Je=!1}={}){const st=he(Ye);let At=we(Re,st,at,We);if(ve(At)){if(Oe)return null;At=A.value,Rt=!1}else At==null&&t.isRequired?At=A.value:At!=null&&ae(A.value,At)&&mt&&(At=null);const Le=Oe?b:A,Fe=!ae(Le.value,At);Le.value=At,Oe||(b.value=null);const it=_e(At,M.value);return Fe&&(I=!1,r(Oe?"drag":"update:modelValue",it),nextTick(()=>I=!0)),Rt&&!Oe&&_t(),St&&Ae(),Je&&nextTick(()=>yt(We!=null?We:"start")),it}function Ae(){nextTick(()=>{var at;const Re=he({type:"string",mask:V.value}),Ye=_e((at=b.value)!=null?at:A.value,Re);E.value?_.value=[Ye&&Ye.start,Ye&&Ye.end]:_.value=[Ye,""]})}function Ee(Re,Ye,at){_.value.splice(Ye==="start"?0:1,1,Re);const mt=E.value?{start:_.value[0],end:_.value[1]||_.value[0]}:Re,St={type:"string",mask:V.value};Te(mt,{...at,config:St,patch:B.value,targetPriority:Ye,moveToValue:!0})}function le(Re){return Ye=>{!t.updateOnInput||Ee(Ye.currentTarget.value,Re,{formatInput:!1,hidePopover:!1,debounce:t.inputDebounce})}}function re(Re){return Ye=>{Ee(Ye.currentTarget.value,Re,{formatInput:!0,hidePopover:!1})}}function ue(Re){Re.key==="Escape"&&Te(A.value,{formatInput:!0,hidePopover:!0})}function be(Re){return E.value?[Re&&Re.start?u.value.getDateParts(Re.start):null,Re&&Re.end?u.value.getDateParts(Re.end):null]:[Re?u.value.getDateParts(Re):null]}function ie(){b.value=null,Ae()}function oe(Re){r("popover-will-show",Re)}function me(Re){r("popover-did-show",Re)}function Se(Re){ie(),r("popover-will-hide",Re)}function xe(Re){r("popover-did-hide",Re)}function De(Re){const Ye={patch:"date",formatInput:!0,hidePopover:!0};if(E.value){const at=!G.value;at?T={start:Re.startDate,end:Re.endDate}:T!=null&&(T.end=Re.date),Te(T,{...Ye,dragging:at})}else Te(Re.date,{...Ye,clearIfEqual:!t.isRequired})}function Pe(Re,Ye){De(Re),r("dayclick",Re,Ye)}function Be(Re,Ye){switch(Ye.key){case" ":case"Enter":{De(Re),Ye.preventDefault();break}case"Escape":_t()}r("daykeydown",Re,Ye)}function ot(Re,Ye){!G.value||T==null||(T.end=Re.date,Te(Ve(T),{patch:"date",formatInput:!0}))}function ct(Re={}){showPopover({...z.value,...Re,isInteractive:!0,id:y.value})}function _t(Re={}){hidePopover({hideDelay:10,force:!0,...z.value,...Re,id:y.value})}function He(Re){togglePopover({...z.value,...Re,isInteractive:!0,id:y.value})}function Ve(Re,Ye){const{start:at,end:mt}=Re;if(at>mt)switch(Ye){case"start":return{start:at,end:at};case"end":return{start:mt,end:mt};default:return{start:mt,end:at}}return{start:at,end:mt}}async function ke(Re,Ye={}){return S.value==null?!1:S.value.move(Re,Ye)}async function Qe(Re,Ye={}){return S.value==null?!1:S.value.moveBy(Re,Ye)}async function yt(Re,Ye={}){const at=A.value;if(S.value==null||!pe(at))return!1;const mt=Re!=="end",St=mt?1:-1,Rt=ee(at)?mt?at.start:at.end:at,Oe=getPageAddressForDate(Rt,"monthly",u.value);return S.value.move(Oe,{position:St,...Ye})}watch(()=>t.isRange,Re=>{Re&&console.warn("The `is-range` prop will be deprecated in future releases. Please use the `range` modifier.")},{immediate:!0}),watch(()=>E.value,()=>{Ce(null,{formatInput:!0})}),watch(()=>V.value,()=>Ae()),watch(()=>t.modelValue,Re=>{!I||Ce(Re,{formatInput:!0,hidePopover:!1})}),watch(()=>ce.value,()=>{isObject$b(t.rules)&&Ce(t.modelValue,{formatInput:!0,hidePopover:!1})}),watch(()=>t.timezone,()=>{Ce(A.value,{formatInput:!0})});const Ct=ge(M.value);A.value=we((dt=t.modelValue)!=null?dt:null,Ct,"dateTime"),onMounted(()=>{Ce(t.modelValue,{formatInput:!0,hidePopover:!1})}),nextTick(()=>v.value=!0);const Xe={...a,showCalendar:v,datePickerPopoverId:y,popoverRef:w,popoverEvents:U,calendarRef:S,isRange:E,isTimeMode:P,isDateTimeMode:x,is24hr:toRef(t,"is24hr"),hideTimeHeader:toRef(t,"hideTimeHeader"),timeAccuracy:toRef(t,"timeAccuracy"),isDragging:G,inputValue:Q,inputEvents:X,dateParts:N,attributes:te,rules:ce,move:ke,moveBy:Qe,moveToValue:yt,updateValue:Te,showPopover:ct,hidePopover:_t,togglePopover:He,onDayClick:Pe,onDayKeydown:Be,onDayMouseEnter:ot,onPopoverBeforeShow:oe,onPopoverAfterShow:me,onPopoverBeforeHide:Se,onPopoverAfterHide:xe};return provide(contextKey,Xe),Xe}function useDatePicker(){const t=inject(contextKey);if(t)return t;throw new Error("DatePicker context missing. Please verify this component is nested within a valid context provider.")}const _amOptions=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],_pmOptions=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}];function createTimePicker(t){const r=useDatePicker(),{locale:o,isRange:a,isTimeMode:u,dateParts:d,rules:g,is24hr:v,hideTimeHeader:y,timeAccuracy:A,updateValue:b}=r;function _(H){H=Object.assign(S.value,H);let B=null;if(a.value){const z=w.value?H:d.value[0],U=w.value?d.value[1]:H;B={start:z,end:U}}else B=H;b(B,{patch:"time",targetPriority:w.value?"start":"end",moveToValue:!0})}const w=computed(()=>t.position===0),S=computed(()=>d.value[t.position]||{isValid:!1}),C=computed(()=>isDateParts(S.value)),T=computed(()=>!!S.value.isValid),I=computed(()=>!y.value&&T.value),E=computed(()=>{if(!C.value)return null;let H=o.value.toDate(S.value);return S.value.hours===24&&(H=new Date(H.getTime()-1)),H}),F=computed({get(){return S.value.hours},set(H){_({hours:H})}}),O=computed({get(){return S.value.minutes},set(H){_({minutes:H})}}),D=computed({get(){return S.value.seconds},set(H){_({seconds:H})}}),x=computed({get(){return S.value.milliseconds},set(H){_({milliseconds:H})}}),P=computed({get(){return S.value.hours<12},set(H){H=String(H).toLowerCase()=="true";let B=F.value;H&&B>=12?B-=12:!H&&B<12&&(B+=12),_({hours:B})}}),G=computed(()=>getDatePartsOptions(S.value,g.value[t.position])),M=computed(()=>_amOptions.filter(H=>G.value.hours.some(B=>B.value===H.value))),N=computed(()=>_pmOptions.filter(H=>G.value.hours.some(B=>B.value===H.value))),V=computed(()=>v.value?G.value.hours:P.value?M.value:N.value),Y=computed(()=>{const H=[];return arrayHasItems(M.value)&&H.push({value:!0,label:"AM"}),arrayHasItems(N.value)&&H.push({value:!1,label:"PM"}),H});return{...r,showHeader:I,timeAccuracy:A,parts:S,isValid:T,date:E,hours:F,minutes:O,seconds:D,milliseconds:x,options:G,hourOptions:V,isAM:P,isAMOptions:Y,is24hr:v}}const _hoisted_1$1$1=["value"],_hoisted_2$1$1=["value","disabled"],_hoisted_3$1$1={key:1,class:"vc-base-sizer","aria-hidden":"true"},__default__$1={inheritAttrs:!1},_sfc_main$4$1=defineComponent({...__default__$1,__name:"BaseSelect",props:{options:null,modelValue:null,alignRight:{type:Boolean},alignLeft:{type:Boolean},showIcon:{type:Boolean},fitContent:{type:Boolean}},emits:["update:modelValue"],setup(t){const r=t,o=computed(()=>{const a=r.options.find(u=>u.value===r.modelValue);return a==null?void 0:a.label});return(a,u)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-base-select",{"vc-fit-content":t.fitContent,"vc-has-icon":t.showIcon}])},[createBaseVNode("select",mergeProps(a.$attrs,{value:t.modelValue,class:["vc-focus",{"vc-align-right":t.alignRight,"vc-align-left":t.alignLeft}],onChange:u[0]||(u[0]=d=>a.$emit("update:modelValue",d.target.value))}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.options,d=>(openBlock(),createElementBlock("option",{key:d.value,value:d.value,disabled:d.disabled},toDisplayString$1(d.label),9,_hoisted_2$1$1))),128))],16,_hoisted_1$1$1),t.showIcon?(openBlock(),createBlock(_sfc_main$c$1,{key:0,name:"ChevronDown",size:"18"})):createCommentVNode("",!0),t.fitContent?(openBlock(),createElementBlock("div",_hoisted_3$1$1,toDisplayString$1(unref(o)),1)):createCommentVNode("",!0)],2))}}),_hoisted_1$p={key:0,class:"vc-time-header"},_hoisted_2$i={class:"vc-time-weekday"},_hoisted_3$e={class:"vc-time-month"},_hoisted_4$9={class:"vc-time-day"},_hoisted_5$6={class:"vc-time-year"},_hoisted_6$4={class:"vc-time-select-group"},_hoisted_7$3=createBaseVNode("span",{class:"vc-time-colon"},":",-1),_hoisted_8$3=createBaseVNode("span",{class:"vc-time-colon"},":",-1),_hoisted_9$3=createBaseVNode("span",{class:"vc-time-decimal"},".",-1),_sfc_main$3$1=defineComponent({__name:"TimePicker",props:{position:null},setup(t,{expose:r}){const a=createTimePicker(t);r(a);const{locale:u,isValid:d,date:g,hours:v,minutes:y,seconds:A,milliseconds:b,options:_,hourOptions:w,isTimeMode:S,isAM:C,isAMOptions:T,is24hr:I,showHeader:E,timeAccuracy:F}=a;return(O,D)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-time-picker",[{"vc-invalid":!unref(d),"vc-attached":!unref(S)}]])},[createVNode$1(_sfc_main$i$1,{name:"time-header"},{default:withCtx(()=>[unref(E)&&unref(g)?(openBlock(),createElementBlock("div",_hoisted_1$p,[createBaseVNode("span",_hoisted_2$i,toDisplayString$1(unref(u).formatDate(unref(g),"WWW")),1),createBaseVNode("span",_hoisted_3$e,toDisplayString$1(unref(u).formatDate(unref(g),"MMM")),1),createBaseVNode("span",_hoisted_4$9,toDisplayString$1(unref(u).formatDate(unref(g),"D")),1),createBaseVNode("span",_hoisted_5$6,toDisplayString$1(unref(u).formatDate(unref(g),"YYYY")),1)])):createCommentVNode("",!0)]),_:1}),createBaseVNode("div",_hoisted_6$4,[createVNode$1(_sfc_main$c$1,{name:"Clock",size:"17"}),createVNode$1(_sfc_main$4$1,{modelValue:unref(v),"onUpdate:modelValue":D[0]||(D[0]=x=>isRef(v)?v.value=x:null),modelModifiers:{number:!0},options:unref(w),class:"vc-time-select-hours","align-right":""},null,8,["modelValue","options"]),unref(F)>1?(openBlock(),createElementBlock(Fragment,{key:0},[_hoisted_7$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(y),"onUpdate:modelValue":D[1]||(D[1]=x=>isRef(y)?y.value=x:null),modelModifiers:{number:!0},options:unref(_).minutes,class:"vc-time-select-minutes","align-left":unref(F)===2},null,8,["modelValue","options","align-left"])],64)):createCommentVNode("",!0),unref(F)>2?(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_8$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(A),"onUpdate:modelValue":D[2]||(D[2]=x=>isRef(A)?A.value=x:null),modelModifiers:{number:!0},options:unref(_).seconds,class:"vc-time-select-seconds","align-left":unref(F)===3},null,8,["modelValue","options","align-left"])],64)):createCommentVNode("",!0),unref(F)>3?(openBlock(),createElementBlock(Fragment,{key:2},[_hoisted_9$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(b),"onUpdate:modelValue":D[3]||(D[3]=x=>isRef(b)?b.value=x:null),modelModifiers:{number:!0},options:unref(_).milliseconds,class:"vc-time-select-milliseconds","align-left":""},null,8,["modelValue","options"])],64)):createCommentVNode("",!0),unref(I)?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$4$1,{key:3,modelValue:unref(C),"onUpdate:modelValue":D[4]||(D[4]=x=>isRef(C)?C.value=x:null),options:unref(T)},null,8,["modelValue","options"]))])],2))}}),_sfc_main$2$1=defineComponent({__name:"DatePickerBase",setup(t){const{attributes:r,calendarRef:o,color:a,displayMode:u,isDateTimeMode:d,isTimeMode:g,isRange:v,onDayClick:y,onDayMouseEnter:A,onDayKeydown:b}=useDatePicker(),_=v.value?[0,1]:[0];return(w,S)=>unref(g)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(`vc-container vc-bordered vc-${unref(a)} vc-${unref(u)}`)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_),C=>(openBlock(),createBlock(_sfc_main$3$1,{key:C,position:C},null,8,["position"]))),128))],2)):(openBlock(),createBlock(Calendar$4,{key:1,attributes:unref(r),ref_key:"calendarRef",ref:o,onDayclick:unref(y),onDaymouseenter:unref(A),onDaykeydown:unref(b)},{footer:withCtx(()=>[unref(d)?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_),C=>(openBlock(),createBlock(_sfc_main$3$1,{key:C,position:C},null,8,["position"]))),128)):createCommentVNode("",!0),createVNode$1(_sfc_main$i$1,{name:"dp-footer"})]),_:1},8,["attributes","onDayclick","onDaymouseenter","onDaykeydown"]))}}),__default__={inheritAttrs:!1},_sfc_main$1$1=defineComponent({...__default__,__name:"DatePickerPopover",setup(t){const{datePickerPopoverId:r,color:o,displayMode:a,popoverRef:u,onPopoverBeforeShow:d,onPopoverAfterShow:g,onPopoverBeforeHide:v,onPopoverAfterHide:y}=useDatePicker();return(A,b)=>(openBlock(),createBlock(Popover,{id:unref(r),placement:"bottom-start",class:normalizeClass(`vc-date-picker-content vc-${unref(o)} vc-${unref(a)}`),ref_key:"popoverRef",ref:u,onBeforeShow:unref(d),onAfterShow:unref(g),onBeforeHide:unref(v),onAfterHide:unref(y)},{default:withCtx(()=>[createVNode$1(_sfc_main$2$1,normalizeProps(guardReactiveProps(A.$attrs)),null,16)]),_:1},8,["id","class","onBeforeShow","onAfterShow","onBeforeHide","onAfterHide"]))}}),_sfc_main$u=defineComponent({inheritAttrs:!1,emits,props:propsDef,components:{DatePickerBase:_sfc_main$2$1,DatePickerPopover:_sfc_main$1$1},setup(t,r){const o=createDatePicker(t,r),a=reactive(omit(o,"calendarRef","popoverRef"));return{...o,slotCtx:a}}});function _sfc_render$u(t,r,o,a,u,d){const g=resolveComponent("DatePickerPopover"),v=resolveComponent("DatePickerBase");return t.$slots.default?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(t.$slots,"default",normalizeProps(guardReactiveProps(t.slotCtx))),createVNode$1(g,normalizeProps(guardReactiveProps(t.$attrs)),null,16)],64)):(openBlock(),createBlock(v,normalizeProps(mergeProps({key:1},t.$attrs)),null,16))}const DatePicker=_export_sfc(_sfc_main$u,[["render",_sfc_render$u]]),components$2=Object.freeze(Object.defineProperty({__proto__:null,Calendar:Calendar$4,DatePicker,Popover,PopoverRow:_sfc_main$j$1},Symbol.toStringTag,{value:"Module"})),install$U=(t,r={})=>{t.use(setupDefaults,r);const o=t.config.globalProperties.$VCalendar.componentPrefix;for(const a in components$2){const u=components$2[a];t.component(`${o}${a}`,u)}},index={install:install$U};/*! ***************************************************************************** +}`,introductionSteps=[{title:"#introduction.title",message:"#introduction.content"},{onEnter:({props:t})=>{const r=Cache$1.get("settings",{});Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...r,["tour"+ucFirst(t.tour)]:!0})).catch(a=>console.warn("Tours.Introduction",a.message||a))},target:"#SettingsButton",spotlight:".jarvis-sidebar-container",title:"#settings.title",message:"#settings.content",params:{placement:"right"},secondaryButton:"#settings.buttons.manually",secondaryAction:({finishTour:t,step:r})=>{document.querySelector("#SettingsButton").click(),t()},primaryButton:"#settings.buttons.automatically",primaryAction:({finishTour:t,nextStep:r,step:o})=>{r();const a={},u={};ioBroker.importDevices(config$n.get("DEFAULT_ADAPTERIMPORT").concat(["daswetter"])).then(d=>{d.forEach(C=>{if(C.status==="fulfilled"){const T=C.value;a[T.function]=a[T.function]||[],a[T.function].push(T),u[T.id]=T}});const g=JSON.parse(layoutTemplate),v=JSON.parse(widgetTemplate),y={config:{},items:[],module:"StateList",title:""};[{widgetId:"3958dfb0-83da-48ae-96f3-e66969a92cac",function:"light",icon:"mdi-lightbulb-on"},{widgetId:"be31acad-6bb4-40ed-a9cf-24cd981d8545",function:"blind",icon:"mdi-window-shutter-open"},{widgetId:"b073226b-14d9-40e9-bbd7-4a54080cfa87",function:"heating",icon:"mdi-radiator"},{widgetId:"99142690-4245-445b-bbc4-be8d09b93b83",function:"window",icon:"mdi-window-closed-variant"}].forEach((C,T)=>{const I=_default(y);I.id=C.widgetId,I.title=i18n.global.t(C.function),I.icon=C.icon,a[C.function]=a[C.function]||[];for(const F of a[C.function]){if(!F.states)continue;const O=Object.keys(F.states);let D={id:v4(),type:"device",deviceId:F.id,showState:!0,primaryStateKey:O[0]||"",secondaryStatesKeys:[]};F.function==="light"&&(O.includes("power")||O.includes("level"))?D={...D,showState:!1,actionElement:"SwitchAction",primaryStateKey:O.includes("power")?"power":"level"}:F.function==="blind"&&O.includes("level")?D={...D,showState:!1,actionElement:"BlindLevelAction",primaryStateKey:"level"}:F.function==="heating"&&O.includes("temperature")?D={...D,showState:!0,primaryStateKey:"temperature",secondaryStatesKeys:O.filter(x=>["setTemperature","humidity"].includes(x))}:F.function==="window"&&O.includes("open")&&(D={...D,primaryStateKey:"open"}),I.items.push(D)}v[I.id]=I;let{height:E}=ioBroker.getDefaultModuleHeight(I,I.items);E=E<3?3:E,g[0].tabs[0].widgetsDesktop[T].h=E,g[0].tabs[0].widgetsDesktop[T+1]&&g[0].tabs[0].widgetsDesktop[T].x===g[0].tabs[0].widgetsDesktop[T+1].x&&(g[0].tabs[0].widgetsDesktop[T+1].y=E),I.items&&I.items.length>0&&(g[0].tabs[0].widgetsDesktop[T].items=[C.widgetId])});const b=g[0].tabs[0].widgetsDesktop;for(let C=b.length;C>=0;C--)b[C]&&b[C].items&&b[C].items.length===0&&b.splice(C,1);const _=Cache$1.get("jarvis.settings",{}),w=Connection.getConnection,S=[w.setState(config$n.get("NODE_LAYOUT"),JSON.stringify({version:3,layout:g}),!0),w.setState(config$n.get("NODE_DEVICES"),JSON.stringify({version:3,devices:u}),!0),w.setState(config$n.get("NODE_WIDGETS"),{_jarvis:null,val:JSON.stringify({version:3.1,widgets:v})},!0),w.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({..._,tourInterface:!1}),!0)];Promise.allSettled(S).then(()=>{t(),window.location.reload()}).catch(C=>console.warn("Tours.Introduction",C.message||C))}).catch(d=>{console.warn("Tours.Introduction",d.message||d)})}},{style:{"max-width":"450px"},title:"#jarvis.title",loading:!0,buttons:!1}],interfaceSteps=[{target:".jarvis-sidebar-container",title:"#drawer.title",message:"#drawer.content",params:{placement:"right"}},{onEnter:({props:t})=>{const r=Cache$1.get("settings",{});Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...r,["tour"+ucFirst(t.tour)]:!0})).catch(a=>console.warn("Tours.Interface",a.message||a))},target:".jarvis-tabs-container",title:"#tabs.title",message:"#tabs.content"},{spotlight:".q-page-container .jarvis-page",title:"#widgets.title",message:"#widgets.content"},{target:".jarvis-widget-container .jarvis-widget-module-StateList",title:"#modules.title",message:"#modules.content",params:{placement:"right-start"}},{target:".jarvis-widget-container .jarvis-widget-module-StateList .jarvis-widget-header",title:"#WidgetHeader.title",message:"#WidgetHeader.content",targetStyle:{}},{buttons:!1,onSpotlightClick:({nextStep:t})=>{t()},target:".jarvis-widget-container .jarvis-widget-module-StateList .jarvis-widget-content",title:"#WidgetContent.title",message:"#WidgetContent.content",targetStyle:{},params:{placement:"right-start"}},{target:".jarvis-popup",title:"#DeviceStateDetails.title",message:"#DeviceStateDetails.content",params:{placement:"top"}}],TOURS={introduction:introductionSteps,interface:interfaceSteps},index_css_vue_type_style_index_0_src_f7bb3fd0_lang="",tours_vue_vue_type_style_index_1_lang="";const _sfc_main$D=defineComponent({name:"Tours",props:{tour:{type:String,required:!0},start:{type:Boolean,default:!1}},setup(t){const r=ref(!1),o=ref(null),a=TOURS[t.tour],u=ref(null),d=ref(null);let g,v,y={};const A=(O,D)=>{v=D?O.style.position:v,O.style.position=D?O.style.position||"relative":v,O.style.zIndex=D?5001:null,O.style.border=D?"5px solid #fff":null,O.style.opacity=D?.7:"unset",g=D?O.parentElement.style.zIndex:g,O.parentElement.style.zIndex=D?5001:g},b=(O,D=!0)=>{const x=O&&(O.spotlight||O.target);if(r.value=!0,x){const P=document.querySelector(x);if(P){if(A(P,D),O.onSpotlightClick!==void 0&&(P.style.pointerEvents="all",P.onclick=()=>O.onSpotlightClick({props:t,step:O,nextStep:C,previousStep:S,skipStep:T,finishTour:I})),O.targetStyle&&D===!0){y={};for(const G in O.targetStyle)y[G]=P.style[G],P.style[G]=O.targetStyle[G]}else if(O.targetStyle&&D===!1)for(const G in O.targetStyle)P.style[G]=y[G]}}},_=O=>{const D=document.querySelector(O.value.target||"body"),x={...O.value.params||{},middleware:[]};return D?computePosition(D,o.value,x).then(P=>{const{x:G,y:M}=P;o.value.firstChild&&(o.value.firstChild.style.display="block");const N=o.value.offsetWidth,V=o.value.offsetHeight,Z=document.querySelector("body");Z.style.pointerEvents="none";const H=Z.offsetHeight-V;return o.value.style.left=(O.value.target?G+15:"calc(50% - "+N/2)+"px",o.value.style.top=(O.value.target?Math.max(10,Math.min(H-10,M-V/2+10)):M/2-V/2)+"px",o.value.style.pointerEvents="all",!0}):(console.warn("Target not found",D),Promise.reject())},w=O=>{d.value;const D=d.value===null||d.value===O-2;return d.value=O-1,u.value=a[d.value],u.value?(D&&u.value&&u.value.onEnter&&u.value.onEnter({props:t,step:u,previousStep:S,nextStep:C,finishTour:I,skipStep:T}),a[d.value-1]&&b(a[d.value-1],!1),a[d.value+1]&&b(a[d.value+1],!1),_(u).then(()=>b(u.value)).catch(()=>C())):I()},S=()=>w(d.value),C=()=>w(d.value+2),T=()=>{b(u.value,!1),u.value=null,r.value=!1;const O=a[d.value+1];O&&O.onEnter&&O.onEnter({props:t,step:O,previousStep:S,nextStep:C,finishTour:I,skipStep:T});const D=document.querySelector("body");D.style.pointerEvents="all"},I=()=>{T()},E=computed(()=>d.value<=0),F=computed(()=>d.value===a.length-1);return useJarvis(),onMounted(()=>{t.start&&w(1)}),{marked,tooltip:o,overlay:r,step:u,isFirst:E,isLast:F,previousStep:S,nextStep:C,skipStep:T,finishTour:I}}}),_hoisted_1$t={ref:"tooltip",class:"tooltip"},_hoisted_2$m={class:"text-h6"},_hoisted_3$h=["innerHTML"];function _sfc_render$D(t,r,o,a,u,d){const g=resolveComponent("q-overlay");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{modelValue:t.overlay,"onUpdate:modelValue":r[0]||(r[0]=v=>t.overlay=v),"no-scroll":!0,"z-index":5e3,opacity:.7},null,8,["modelValue"]),createBaseVNode("div",_hoisted_1$t,[t.step?(openBlock(),createBlock(QCard,{key:t.step.title,class:"step"},{default:withCtx(()=>[createVNode$1(QCardSection,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$m,toDisplayString$1(t.$t(t.step.title||"")),1)]),_:1}),createVNode$1(QSeparator),t.step.loading===!0?(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})):createCommentVNode("",!0),createVNode$1(QCardSection,{style:{"max-height":"50vh"},class:"body scroll"},{default:withCtx(()=>[createBaseVNode("div",{innerHTML:t.marked.parse(t.$t(t.step.message||""))},null,8,_hoisted_3$h)]),_:1}),createVNode$1(QSeparator),t.step.buttons!==!1?(openBlock(),createBlock(QCardActions,{key:1,class:"nowrap"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Skip"),color:"accent",onClick:t.skipStep},null,8,["label","onClick"]),createVNode$1(QSpace),t.step.secondaryAction===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("Previous"),color:"secondary",onClick:t.previousStep},null,8,["label","onClick"])),[[vShow,!t.isFirst]]):withDirectives((openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t(t.step.secondaryButton),color:"secondary",onClick:r[1]||(r[1]=v=>t.step.secondaryAction({step:t.step,previousStep:t.previousStep,nextStep:t.nextStep,finishTour:t.finishTour,skipStep:t.skipStep}))},null,8,["label"])),[[vShow,!t.isFirst]]),t.step.primaryButton===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:2,flat:"",label:t.$t("Next"),color:"primary",onClick:t.nextStep},null,8,["label","onClick"])),[[vShow,!t.isLast]]):createCommentVNode("",!0),t.step.primaryButton===void 0?withDirectives((openBlock(),createBlock(QBtn,{key:3,label:t.$t("Finish"),color:"primary",onClick:t.finishTour},null,8,["label","onClick"])),[[vShow,t.isLast]]):withDirectives((openBlock(),createBlock(QBtn,{key:4,flat:"",label:t.$t(t.step.primaryButton),color:"primary",onClick:r[2]||(r[2]=v=>t.step.primaryAction({step:t.step,previousStep:t.previousStep,nextStep:t.nextStep,finishTour:t.finishTour,skipStep:t.skipStep}))},null,8,["label"])),[[vShow,!t.isFirst]])]),_:1})):createCommentVNode("",!0)]),_:1})):createCommentVNode("",!0)],512)],64)}var tours=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D]]),Jarvis_vue_vue_type_style_index_0_lang="";const _sfc_main$C=defineComponent({name:"Jarvis",components:{DeviceDetailsPopup,Page,tours},setup(){const t=useQuasar(),r=useJarvis(),o=computed(()=>Cache$1.get("settings",{}));t.iconMapFn=d=>{if(!d.startsWith("img:")&&!d.startsWith("mdi")&&!d.toLowerCase().startsWith("m"))return{cls:"iconify","data-icon":d}},watch(()=>r.watch.settings,()=>{useCustomTag("style",o.value.scrollbars==="desktop"&&(t.platform.is.desktop||t.platform.is.mobile)||o.value.scrollbars==="mobile"&&t.platform.is.mobile?StylesScrollbarHidden:" ",{id:"scrollbar",type:"text/css",onlyPro:!1})},{immediate:!0}),watch(t.screen.sizes,()=>{useCustomTag("style",StylesResponsive.replace(/\$breakpoint-sm-min/g,t.screen.sizes.sm+"px").replace(/\$breakpoint-md-min/g,t.screen.sizes.md+"px"),{id:"responsive",type:"text/css",onlyPro:!1})},{immediate:!0});try{watch([()=>r.watch.styles,()=>o.value.stylesEnabled],()=>{o.value.stylesEnabled&&Cache$1.get("styles")?useImports("styles",Cache$1.get("styles"),{tag:"link",src:"href",rel:"stylesheet"}).then(d=>useCustomTag("style",d,{key:"ts-"+r.watch.styles,id:"css",type:"text/css"})):document.getElementById("css")&&document.getElementById("css").remove()},{immediate:!0})}catch(d){console.warn("Jarvis-B7cq4T4m","Error injecting custom styles: "+d.message),console.debug("Jarvis-B7cq4T4m",Cache$1.get("styles"))}const a=computed(()=>"page-"+r.getSelectedPageId),u=ref([]);return watch(()=>r.watch.layout,()=>{u.value=Cache$1.get("layout",[])},{immediate:!0}),{settings:o,pages:u,selectedPageId:a}}});function _sfc_render$C(t,r,o,a,u,d){const g=resolveComponent("tours"),v=resolveComponent("DeviceDetailsPopup"),y=resolveComponent("Page");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g,{tour:"introduction",start:t.settings.tourIntroduction!==!0},null,8,["start"]),createVNode$1(g,{tour:"interface",start:t.settings.tourIntroduction===!0&&t.settings.tourInterface!==!0},null,8,["start"]),createVNode$1(v),createVNode$1(QTabPanels,{"model-value":t.selectedPageId,"keep-alive":!0,style:{"background-color":"transparent"},vertical:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,A=>(openBlock(),createBlock(QTabPanel,{key:A.id,name:"page-"+A.id,style:{padding:"0",margin:"0"}},{default:withCtx(()=>[createVNode$1(y,{"page-id":A.id},null,8,["page-id"])]),_:2},1032,["name"]))),128))]),_:1},8,["model-value"])],64)}var Jarvis=_export_sfc$1(_sfc_main$C,[["render",_sfc_render$C]]),Jarvis$1=Object.freeze(Object.defineProperty({__proto__:null,default:Jarvis},Symbol.toStringTag,{value:"Module"}));const duration=150;var QDrawer=createComponent({name:"QDrawer",inheritAttrs:!1,props:{...useModelToggleProps,...useDarkProps,side:{type:String,default:"left",validator:t=>["left","right"].includes(t)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:t=>["default","desktop","mobile"].includes(t),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...useModelToggleEmits,"onLayout","miniState"],setup(t,{slots:r,emit:o,attrs:a}){const u=getCurrentInstance(),{proxy:{$q:d}}=u,g=useDark(t,d),{preventBodyScroll:v}=usePreventScroll(),{registerTimeout:y,removeTimeout:A}=useTimeout(),b=inject(layoutKey,emptyRenderFn);if(b===emptyRenderFn)return console.error("QDrawer needs to be child of QLayout"),emptyRenderFn;let _,w=null,S;const C=ref(t.behavior==="mobile"||t.behavior!=="desktop"&&b.totalWidth.value<=t.breakpoint),T=computed(()=>t.mini===!0&&C.value!==!0),I=computed(()=>T.value===!0?t.miniWidth:t.width),E=ref(t.showIfAbove===!0&&C.value===!1?!0:t.modelValue===!0),F=computed(()=>t.persistent!==!0&&(C.value===!0||te.value===!0));function O(Se,xe){if(G(),Se!==!1&&b.animate(),Ce(0),C.value===!0){const De=b.instances[Q.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),Ae(1),b.isContainer.value!==!0&&v(!0)}else Ae(0),Se!==!1&&Ee(!1);y(()=>{Se!==!1&&Ee(!0),xe!==!0&&o("show",Se)},duration)}function D(Se,xe){M(),Se!==!1&&b.animate(),Ae(0),Ce(Z.value*I.value),be(),xe!==!0?y(()=>{o("hide",Se)},duration):A()}const{show:x,hide:P}=useModelToggle({showing:E,hideOnRouteChange:F,handleShow:O,handleHide:D}),{addToHistory:G,removeFromHistory:M}=useHistory(E,P,F),N={belowBreakpoint:C,hide:P},V=computed(()=>t.side==="right"),Z=computed(()=>(d.lang.rtl===!0?-1:1)*(V.value===!0?1:-1)),H=ref(0),B=ref(!1),z=ref(!1),U=ref(I.value*Z.value),Q=computed(()=>V.value===!0?"left":"right"),X=computed(()=>E.value===!0&&C.value===!1&&t.overlay===!1?t.miniToOverlay===!0?t.miniWidth:I.value:0),J=computed(()=>t.overlay===!0||t.miniToOverlay===!0||b.view.value.indexOf(V.value?"R":"L")!==-1||d.platform.is.ios===!0&&b.isContainer.value===!0),ne=computed(()=>t.overlay===!1&&E.value===!0&&C.value===!1),te=computed(()=>t.overlay===!0&&E.value===!0&&C.value===!1),ce=computed(()=>"fullscreen q-drawer__backdrop"+(E.value===!1&&B.value===!1?" hidden":"")),se=computed(()=>({backgroundColor:`rgba(0,0,0,${H.value*.4})`})),ge=computed(()=>V.value===!0?b.rows.value.top[2]==="r":b.rows.value.top[0]==="l"),he=computed(()=>V.value===!0?b.rows.value.bottom[2]==="r":b.rows.value.bottom[0]==="l"),ye=computed(()=>{const Se={};return b.header.space===!0&&ge.value===!1&&(J.value===!0?Se.top=`${b.header.offset}px`:b.header.space===!0&&(Se.top=`${b.header.size}px`)),b.footer.space===!0&&he.value===!1&&(J.value===!0?Se.bottom=`${b.footer.offset}px`:b.footer.space===!0&&(Se.bottom=`${b.footer.size}px`)),Se}),ee=computed(()=>{const Se={width:`${I.value}px`,transform:`translateX(${U.value}px)`};return C.value===!0?Se:Object.assign(Se,ye.value)}),pe=computed(()=>"q-drawer__content fit "+(b.isContainer.value!==!0?"scroll":"overflow-auto")),ae=computed(()=>`q-drawer q-drawer--${t.side}`+(z.value===!0?" q-drawer--mini-animate":"")+(t.bordered===!0?" q-drawer--bordered":"")+(g.value===!0?" q-drawer--dark q-dark":"")+(B.value===!0?" no-transition":E.value===!0?"":" q-layout--prevent-focus")+(C.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${T.value===!0?"mini":"standard"}`+(J.value===!0||ne.value!==!0?" fixed":"")+(t.overlay===!0||t.miniToOverlay===!0?" q-drawer--on-top":"")+(ge.value===!0?" q-drawer--top-padding":""))),ve=computed(()=>{const Se=d.lang.rtl===!0?t.side:Q.value;return[[TouchPan,re,void 0,{[Se]:!0,mouse:!0}]]}),we=computed(()=>{const Se=d.lang.rtl===!0?Q.value:t.side;return[[TouchPan,ue,void 0,{[Se]:!0,mouse:!0}]]}),_e=computed(()=>{const Se=d.lang.rtl===!0?Q.value:t.side;return[[TouchPan,ue,void 0,{[Se]:!0,mouse:!0,mouseAllDir:!0}]]});function Te(){oe(C,t.behavior==="mobile"||t.behavior!=="desktop"&&b.totalWidth.value<=t.breakpoint)}watch(C,Se=>{Se===!0?(_=E.value,E.value===!0&&P(!1)):t.overlay===!1&&t.behavior!=="mobile"&&_!==!1&&(E.value===!0?(Ce(0),Ae(0),be()):x(!1))}),watch(()=>t.side,(Se,xe)=>{b.instances[xe]===N&&(b.instances[xe]=void 0,b[xe].space=!1,b[xe].offset=0),b.instances[Se]=N,b[Se].size=I.value,b[Se].space=ne.value,b[Se].offset=X.value}),watch(b.totalWidth,()=>{(b.isContainer.value===!0||document.qScrollPrevented!==!0)&&Te()}),watch(()=>t.behavior+t.breakpoint,Te),watch(b.isContainer,Se=>{E.value===!0&&v(Se!==!0),Se===!0&&Te()}),watch(b.scrollbarWidth,()=>{Ce(E.value===!0?0:void 0)}),watch(X,Se=>{ie("offset",Se)}),watch(ne,Se=>{o("onLayout",Se),ie("space",Se)}),watch(V,()=>{Ce()}),watch(I,Se=>{Ce(),me(t.miniToOverlay,Se)}),watch(()=>t.miniToOverlay,Se=>{me(Se,I.value)}),watch(()=>d.lang.rtl,()=>{Ce()}),watch(()=>t.mini,()=>{t.noMiniAnimation||t.modelValue===!0&&(le(),b.animate())}),watch(T,Se=>{o("miniState",Se)});function Ce(Se){Se===void 0?nextTick(()=>{Se=E.value===!0?0:I.value,Ce(Z.value*Se)}):(b.isContainer.value===!0&&V.value===!0&&(C.value===!0||Math.abs(Se)===I.value)&&(Se+=Z.value*b.scrollbarWidth.value),U.value=Se)}function Ae(Se){H.value=Se}function Ee(Se){const xe=Se===!0?"remove":b.isContainer.value!==!0?"add":"";xe!==""&&document.body.classList[xe]("q-body--drawer-toggle")}function le(){w!==null&&clearTimeout(w),u.proxy&&u.proxy.$el&&u.proxy.$el.classList.add("q-drawer--mini-animate"),z.value=!0,w=setTimeout(()=>{w=null,z.value=!1,u&&u.proxy&&u.proxy.$el&&u.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function re(Se){if(E.value!==!1)return;const xe=I.value,De=between(Se.distance.x,0,xe);if(Se.isFinal===!0){De>=Math.min(75,xe)===!0?x():(b.animate(),Ae(0),Ce(Z.value*xe)),B.value=!1;return}Ce((d.lang.rtl===!0?V.value!==!0:V.value)?Math.max(xe-De,0):Math.min(0,De-xe)),Ae(between(De/xe,0,1)),Se.isFirst===!0&&(B.value=!0)}function ue(Se){if(E.value!==!0)return;const xe=I.value,De=Se.direction===t.side,Pe=(d.lang.rtl===!0?De!==!0:De)?between(Se.distance.x,0,xe):0;if(Se.isFinal===!0){Math.abs(Pe){o("onLayout",ne.value),o("miniState",T.value),_=t.showIfAbove===!0;const Se=()=>{(E.value===!0?O:D)(!1,!0)};if(b.totalWidth.value!==0){nextTick(Se);return}S=watch(b.totalWidth,()=>{S(),S=void 0,E.value===!1&&t.showIfAbove===!0&&C.value===!1?x(!1):Se()})}),onBeforeUnmount(()=>{S!==void 0&&S(),w!==null&&(clearTimeout(w),w=null),E.value===!0&&be(),b.instances[t.side]===N&&(b.instances[t.side]=void 0,ie("size",0),ie("offset",0),ie("space",!1))}),()=>{const Se=[];C.value===!0&&(t.noSwipeOpen===!1&&Se.push(withDirectives(h("div",{key:"open",class:`q-drawer__opener fixed-${t.side}`,"aria-hidden":"true"}),ve.value)),Se.push(hDir("div",{ref:"backdrop",class:ce.value,style:se.value,"aria-hidden":"true",onClick:P},void 0,"backdrop",t.noSwipeBackdrop!==!0&&E.value===!0,()=>_e.value)));const xe=T.value===!0&&r.mini!==void 0,De=[h("div",{...a,key:""+xe,class:[pe.value,a.class]},xe===!0?r.mini():hSlot(r.default))];return t.elevated===!0&&E.value===!0&&De.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),Se.push(hDir("aside",{ref:"content",class:ae.value,style:ee.value},De,"contentclose",t.noSwipeClose!==!0&&C.value===!0,()=>we.value)),h("div",{class:"q-drawer-container"},Se)}}}),Sidebar_vue_vue_type_style_index_0_lang="";const _sfc_main$B=defineComponent({name:"Sidebar",setup(){const t=useJarvis(),r=useQuasar(),o=Pro.isPro(),a=r.platform.is.mobile,u=r.platform.is.cordova||r.platform.is.capacitor,d=r.screen.sizes.md,g=computed(()=>o?Cache$1.get("layout",[]):Cache$1.get("layout",[]).slice(0,1)),v=computed(()=>t.drawerMiniMode),y=ref(!0);watch(v,(P,G)=>{P===!0&&G===!1&&t.set("drawerSidebar",!0)});const A=ref([]),b=(P,G)=>{const M=A.value.findIndex(N=>N.id===G.id);A.value[M]={...G,revision:uid$3().substr(0,5)}};watch(()=>g.value,()=>{A.value=_default(g.value);for(const P of A.value)P.config=_default(P),States.subscribe(P,b)},{immediate:!0});const _=P=>t.set("drawerSidebar",P),w=computed({get(){return t.drawerSidebar},set(P){_(P)}}),S=computed(()=>t.getSelectedPage&&t.getSelectedPage.id),C=P=>{const G=P.tabs&&P.tabs[0]&&P.tabs[0].id;if(!G)return console.warn("Sidebar","Page "+P.id+" has no tabs!",P),!1;t.set({selectedTabId:G})},T=computed(()=>t.getSelectedPage&&t.getSelectedPage.tabs&&t.getSelectedPage.tabs.count||0),I=computed(()=>v.value===!0?!y.value:!0),E=computed(()=>v.value===!0?T.value<=1:!0),F=ref(),O=computed(()=>F.value&&F.value.$el.clientHeight||0),D=ref(window.innerHeight-(E.value?40:0)),x=()=>{D.value=window.innerHeight-(E.value?40:0)};return onMounted(()=>{window.addEventListener("orientationchange",x),window.addEventListener("resize",x)}),onUnmounted(()=>{window.removeEventListener("orientationchange",x),window.removeEventListener("resize",x)}),{elementSidebarBottom:F,elementSidebarBottomHeight:O,isPro:o,isMobile:a,isSmartphone:u,maxMobileSize:d,windowHeight:D,itemsWithResolvedBindings:A,drawerMiniMode:v,drawerMiniState:y,sidebar:w,toggleSidebar:_,setPage:C,selectedPageId:S,expanded:I,header:E,logout:()=>{const P=Connection.getConnection;P&&P.send("logout",null,G=>{window.location.reload()})},authenticationMethod:computed(()=>t.authentication.page),settings:computed(()=>Cache$1.get("settings",{}))}}});function _sfc_render$B(t,r,o,a,u,d){const g=resolveComponent("icon");return t.settings.drawerShowMenuButton!==!1?(openBlock(),createBlock(QDrawer,{key:0,modelValue:t.sidebar,"onUpdate:modelValue":r[1]||(r[1]=v=>t.sidebar=v),mini:t.drawerMiniMode&&t.drawerMiniState,"mini-to-overlay":"",bordered:"",behavior:t.drawerMiniMode?"default":"mobile",overlay:!t.drawerMiniMode,"show-if-above":t.drawerMiniMode,breakpoint:t.maxMobileSize,class:normalizeClass(["jarvis-sidebar-container",{"jarvis-sidebar-minimode":t.drawerMiniMode===!0,"jarvis-tabs-bottom":t.settings.tabsBottom===!0,"jarvis-sidebar-header-hidden":t.settings.headerVisible!==!0}]),"content-class":"jarvis-sidebar",onMouseover:r[2]||(r[2]=v=>t.drawerMiniState=!1),onMouseout:r[3]||(r[3]=v=>t.drawerMiniState=!0)},{default:withCtx(()=>[t.drawerMiniMode!==!0?(openBlock(),createBlock(QHeader,{key:0,style:{position:"relative"}},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-chevron-left","aria-label":"Menu",onClick:r[0]||(r[0]=v=>t.toggleSidebar(!1))})]),_:1})]),_:1})):createCommentVNode("",!0),createBaseVNode("div",{style:normalizeStyle$1({height:t.windowHeight-44+"px"}),class:"q-mt-xs"},[createVNode$1(QList,{dense:"",class:"jarvis-sidebar-items",style:normalizeStyle$1({"overflow-x":"hidden","overflow-y":t.expanded?"auto":"hidden",maxHeight:t.windowHeight-(t.header?40:0)-t.elementSidebarBottomHeight+"px"})},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.itemsWithResolvedBindings,v=>(openBlock(),createElementBlock("div",{key:v.id+"-"+v.revision,class:normalizeClass(["jarvis-sidebar-item",["jarvis-sidebar-item-"+v.type,"jarvis-sidebar-item-"+v.type+"-"+v.id,v.tabs&&v.tabs[0]&&v.tabs[0].id?"jarvis-route-tab-"+(v.tabs&&v.tabs[0]&&v.tabs[0].id):""]])},[v.type==="divider"?(openBlock(),createBlock(QSeparator,{key:0,spaced:""})):createCommentVNode("",!0),v.type==="header"?withDirectives((openBlock(),createBlock(QItemLabel,{key:1,header:"",style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1032,["style"])),[[vShow,t.expanded]]):createCommentVNode("",!0),v.type==="header"?withDirectives((openBlock(),createElementBlock("div",{key:2,class:"headerInvisible",style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||{})}," \xA0 ",4)),[[vShow,!t.expanded]]):createCommentVNode("",!0),!v.type||v.type==="page"?(openBlock(),createBlock(QItem,{key:3,to:{params:{tabId:v.tabs&&v.tabs[0]&&v.tabs[0].id}},clickable:"",class:normalizeClass(["full-width",{selected:v.id===t.selectedPageId}]),style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.bodySelectedStyle||t.isPro&&v.bodyStyle||(v.id===t.selectedPageId?{"background-color":"var(--q-primary)",color:"#fff"}:{color:"var(--q-primary)"})),"active-class":"selected",onClick:y=>t.setPage(v)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",center:"",class:normalizeClass({selected:v.id===t.selectedPageId})},{default:withCtx(()=>[createVNode$1(g,{name:v.icon,style:normalizeStyle$1(t.isPro&&v.id===t.selectedPageId&&v.iconSelectedStyle||t.isPro&&v.iconStyle||(v.id===t.selectedPageId?"white":"primary"))},null,8,["name","style"])]),_:2},1032,["class"]),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{class:normalizeClass({selectedText:v.id===t.selectedPageId})},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.title),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1032,["to","style","class","onClick"])):createCommentVNode("",!0),!v.type||v.type==="page"?(openBlock(),createElementBlock("div",{key:4,class:normalizeClass(["spacer",{selected:v.id===t.selectedPageId}])},null,2)):createCommentVNode("",!0)],2))),128))]),_:1},8,["style"]),createVNode$1(QList,{ref:"elementSidebarBottom",class:"sidebarBottom"},{default:withCtx(()=>[createVNode$1(QSeparator,{spaced:""}),!t.isMobile&&!t.isPro?withDirectives((openBlock(),createBlock(QItem,{key:0,clickable:"",to:{name:"AccountPage"},exact:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-heart",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Pro Account")),1)]),_:1})]),_:1})),[[Ripple]]):createCommentVNode("",!0),!t.isMobile&&t.authenticationMethod&&t.authenticationMethod!=="none"?withDirectives((openBlock(),createBlock(QItem,{key:1,clickable:"",to:{name:"Home"},exact:"",onClick:withModifiers(t.logout,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-logout",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Logout")),1)]),_:1})]),_:1},8,["onClick"])),[[Ripple]]):createCommentVNode("",!0),t.isMobile?createCommentVNode("",!0):withDirectives((openBlock(),createBlock(QItem,{key:2,id:"SettingsButton",clickable:"",to:{name:"DevicesPage"},exact:""},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-cog",color:"primary"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Configuration"))+" & "+toDisplayString$1(t.$t("Help")),1)]),_:1})]),_:1})),[[vShow,t.settings.drawerShowSettings!==!1],[Ripple]])]),_:1},512)],4)]),_:1},8,["modelValue","mini","behavior","overlay","show-if-above","breakpoint","class"])):createCommentVNode("",!0)}var Sidebar=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$B]]),Sidebar$1=Object.freeze(Object.defineProperty({__proto__:null,default:Sidebar},Symbol.toStringTag,{value:"Module"})),Weekday;(function(t){t[t.Sunday=1]="Sunday",t[t.Monday=2]="Monday",t[t.Tuesday=3]="Tuesday",t[t.Wednesday=4]="Wednesday",t[t.Thursday=5]="Thursday",t[t.Friday=6]="Friday",t[t.Saturday=7]="Saturday"})(Weekday||(Weekday={}));const LocalNotifications=registerPlugin("LocalNotifications",{web:()=>__vitePreload(()=>Promise.resolve().then(function(){return web}),void 0).then(t=>new t.LocalNotificationsWeb)}),_sfc_main$A=defineComponent({name:"NotificationEventAndroid",setup(){const t=useQuasar(),r=useI18n();onBeforeMount(()=>{const d=Cache$1.get("settings",{});d.nativeNotificationsPrompt||t.notify({type:"info",icon:"mdi-bell-cog",message:"Native Benachrichtungen aktivieren",position:"top-right",actions:[{icon:"mdi-check",label:r.t("activate"),color:"white",handler:()=>{LocalNotifications.checkPermissions&&LocalNotifications.checkPermissions().then(({display:v})=>["prompt","prompt-with-rationale"].includes(v)?LocalNotifications.requestPermissions():v),Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...d,nativeNotificationsPrompt:!0})).catch(v=>console.warn("Event.Android",v.message||v))}},{icon:"mdi-close",color:"negative",handler:()=>{Connection.getConnection.setState(config$n.get("NODE_SETTINGS"),JSON.stringify({...d,nativeNotificationsPrompt:!0})).catch(v=>console.warn("Event.Android",v.message||v))}}]})});const o=(d={})=>{d.largeBody=d.largeBody||d.body||d.text||d.message,d.summaryText=d.summaryText||d.subtitle||d.caption;const{title:g="",largeBody:v="",summaryText:y=null,id:A=0,schedule:b=null,sound:_=null,smallIcon:w="ic_icon",largeIcon:S=null,iconColor:C=null,attachments:T=[],actionTypeId:I=null,extra:E=null,threadIdentifier:F="",summaryArgument:O="",group:D="jarvis",groupSummary:x=!1,channelId:P=null,ongoing:G=!1,autoCancel:M=!0,inboxList:N=null}={...d,id:random()},V=[{title:g,largeBody:v,summaryText:y,id:A,schedule:b,sound:_,smallIcon:w,largeIcon:S,iconColor:C,attachments:T,actionTypeId:I,extra:E,threadIdentifier:F,summaryArgument:O,group:D,groupSummary:x,channelId:P,ongoing:G,autoCancel:M,inboxList:N}];try{LocalNotifications.schedule&&LocalNotifications.schedule({notifications:V}).catch(Z=>console.error(Z))}catch(Z){console.error(Z)}},a=useNotifications();watch(()=>a.new,d=>d.notifications&&u(d.notifications));const u=d=>{d=_default(d),d.forEach(g=>{Pro.isPro()&&(g.display.includes("android")||g.display.includes("app"))&&(!g.devices||g.devices.includes(socket.client.id))&&o(g)})};return{}}});function _sfc_render$A(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var NotificationEventAndroid=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$A]]);const _sfc_main$z=defineComponent({name:"NotificationEventPopup",setup(t){const r=Connection.getConnection,o=useQuasar(),a=useNotifications(),u=computed(()=>o.dark.isActive),d=ref({}),g=ref(0),v={},y=(C,T=50)=>{setTimeout(()=>{v[C.id]=Math.max(0,v[C.id]-T),g.value=Date.now(),v[C.id]>0?y(C,T):d.value[C.id]=!1},T)},A=C=>a.set({notificationId:C.id,props:{state:"read"}}),b=C=>a.set({notificationId:C.id,props:{state:"archived"}}),_=C=>a.del({notificationId:C.id}),w=ref([]);watch(()=>a.new,C=>{w.value=[],d.value={},C.notifications&&S(C.notifications)});const S=C=>{C=_default(C),C.forEach(T=>{T.display.includes("popup")&&(!T.devices||T.devices.includes(r.client.id))&&((T.timeout||T.autoHideDuration||T.progress)&&(T.progress=!0,T.timeout=T.timeout||T.autoHideDuration||5e3,v[T.id]=T.timeout,y(T)),d.value[T.id]=!0,w.value.push(T))})};return{refresh:g,isPro:Pro.isPro(),isDark:u,notificationList:w,dialogs:d,timers:v,markAsArchived:b,markAsRead:A,remove:_}}}),_hoisted_1$s={class:"text-h6"},_hoisted_2$l=["innerHTML"],_hoisted_3$g={key:1},_hoisted_4$b={key:0,class:"text-caption"},_hoisted_5$8=["innerHTML"],_hoisted_6$5={key:1};function _sfc_render$z(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationList,v=>(openBlock(),createElementBlock("div",{key:v.id},[createVNode$1(QDialog,{"model-value":t.dialogs[v.id],"transition-show":"scale","transition-hide":"scale",onHide:y=>t.dialogs[v.id]=!1},{default:withCtx(()=>[createVNode$1(QCard,{class:normalizeClass({"jarvis-notification-event-popup":!0,[v.category]:v.category!==void 0,["bg-"+(v.color||v.type||v.criticality||"primary")]:!0,["text-"+(v.textColor||"white")]:!0}),style:{width:"550px","max-width":"95vw"}},{default:withCtx(()=>[v.title||v.caption?(openBlock(),createBlock(QCardSection,{key:0,class:"jarvis-notification-event-popup-title"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$s,[createVNode$1(g,{name:v.icon,color:v.iconColor||"white"},null,8,["name","color"]),t.isPro?(openBlock(),createElementBlock("div",{key:0,innerHTML:v.title},null,8,_hoisted_2$l)):(openBlock(),createElementBlock("div",_hoisted_3$g,toDisplayString$1(v.title),1))]),v.caption?(openBlock(),createElementBlock("div",_hoisted_4$b,toDisplayString$1(v.caption),1)):createCommentVNode("",!0)]),_:2},1024)):createCommentVNode("",!0),v.message?(openBlock(),createBlock(QCardSection,{key:1,class:"q-pt-none jarvis-notification-event-popup-message"},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("div",{key:0,innerHTML:v.message},null,8,_hoisted_5$8)):(openBlock(),createElementBlock("div",_hoisted_6$5,toDisplayString$1(v.message),1))]),_:2},1024)):createCommentVNode("",!0),v.progress?(openBlock(),createBlock(QCardSection,{key:2,class:normalizeClass(["q-pa-none",{["updated-"+t.refresh]:!0,["text-"+(v.textColor||v.type||v.criticality||"primary")]:!0,["bg-"+(v.color||"white")]:!0}])},{default:withCtx(()=>[createVNode$1(QLinearProgress,{value:t.timers&&t.timers[v.id]?t.timers[v.id]/v.timeout:0,class:"q-mt-md","animation-speed":50,color:v.color||v.type||v.criticality||"accent"},null,8,["value","color"])]),_:2},1032,["class"])):createCommentVNode("",!0),withDirectives(createVNode$1(QCardActions,{class:normalizeClass(["jarvis-notification-event-popup-actions nowrap",{["bg-"+(v.textColor||v.type||v.criticality||(t.isDark?"grey-10":"white"))]:!0,["text-"+(v.color||"primary")]:!0}])},{default:withCtx(()=>[withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Delete"),icon:"mdi-delete",color:v.type==="negative"||v.criticality==="negative"?"yellow":"negative",onClick:y=>t.remove(v)},null,8,["label","color","onClick"]),[[ClosePopup]]),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Archive"),icon:"mdi-package-down",onClick:y=>t.markAsArchived(v)},null,8,["label","onClick"]),[[ClosePopup]]),withDirectives(createVNode$1(QBtn,{dense:"",flat:"",label:t.$t("Mark as Read"),icon:"mdi-check",onClick:y=>t.markAsRead(v)},null,8,["label","onClick"]),[[ClosePopup]])]),_:2},1032,["class"]),[[vShow,v.state!=="delete"]])]),_:2},1032,["class"])]),_:2},1032,["model-value","onHide"])]))),128)}var NotificationEventPopup=_export_sfc$1(_sfc_main$z,[["render",_sfc_render$z]]);const _sfc_main$y=defineComponent({name:"NotificationEventSnackbar",setup(){const t=useQuasar(),r=Connection.getConnection,o=useNotifications(),a=y=>o.set({notificationId:y.id,props:{state:"read"}}),u=y=>o.set({notificationId:y.id,props:{state:"archived"}}),d=y=>o.del({notificationId:y.id}),g=(y={})=>{!y.type&&y.criticality&&(y.type=y.criticality==="error"?"negative":y.criticality==="success"?"positive":y.criticality),!y.position&&y.snackbarOrigin&&(y.position=[],y.snackbarOrigin.horizontal&&y.position.push(y.snackbarOrigin.horizontal),y.snackbarOrigin.vertical&&y.position.push(y.snackbarOrigin.vertical),y.position=y.position.join(y.position.length===2?"-":""));const A={badgeStyle:"display: none",html:!0,position:"bottom-right",progress:!0,progressClass:"jarvis-notification-event-snackbar-progress",classes:"jarvis-notification-event-snackbar "+(y.category||""),actions:y.state!=="delete"&&[{icon:"mdi-circle-slice-8",size:"sm",color:y.textColor||"white",handler:()=>a(y)},{icon:"mdi-package-down",size:"sm",color:y.textColor||"white",handler:()=>u(y)},{icon:"mdi-delete",size:"sm",color:y.type==="negative"||y.criticality==="negative"?"yellow":"negative",handler:()=>d(y)}],...y,color:y.type||y.criticality||y.color||"primary",textColor:"white",type:y.type||y.criticality||void 0,timeout:y.timeout||y.autoHideDuration||5e3,message:y.title||y.message,group:y.id};t.notify(A)};watch(()=>o.new,y=>y.notifications&&v(y.notifications));const v=y=>{y=_default(y),y.forEach(A=>{A.display.includes("snackbar")&&(!A.devices||A.devices.includes(r.client.id))&&g(A)})};return{}}});function _sfc_render$y(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var NotificationEventSnackbar=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y]]),Item_vue_vue_type_style_index_0_lang="";const _sfc_main$x=defineComponent({name:"NotificationListItem",props:{notification:{type:Object,required:!0}},setup(t){const r=useNotifications(),o=()=>{r.setNew({notifications:[{display:"popup",...t.notification,progress:!1,autoHideDuration:null,timeout:null}]})},a=()=>r.set({notificationId:t.notification.id,props:{state:"read"}}),u=()=>r.set({notificationId:t.notification.id,props:{state:"unread"}}),d=()=>r.set({notificationId:t.notification.id,props:{state:"archived"}}),g=()=>r.del({notificationId:t.notification.id});return{isPro:Pro.isPro(),show:o,markAsRead:a,markAsUnread:u,markAsArchived:d,remove:g}}}),_hoisted_1$r=["innerHTML"],_hoisted_2$k={key:1,class:"text-weight-medium"},_hoisted_3$f=["innerHTML"],_hoisted_4$a={key:1,class:"overflow-dots"},_hoisted_5$7={class:"text-grey-8 q-gutter-xs"};function _sfc_render$x(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",null,[withDirectives((openBlock(),createBlock(QItem,{id:"notification-"+t.notification.id,clickable:"",class:normalizeClass(["jarvis-notifications-item",{[t.notification.state||"unread"]:!0,[t.notification.category]:t.notification.category!==void 0}]),onClick:withModifiers(t.show,["stop"])},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:t.notification.icon||(t.notification.state==="read"?"mdi-chat-outline":"mdi-chat"),color:t.notification.iconColor||"primary",size:"sm"},null,8,["name","color"])]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,{lines:"1"},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("span",{key:0,innerHTML:t.notification.title},null,8,_hoisted_1$r)):(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString$1(t.notification.title),1)),withDirectives(createBaseVNode("span",null," - "+toDisplayString$1(t.notification.caption),513),[[vShow,t.notification.caption]])]),_:1}),t.notification.message?(openBlock(),createBlock(QItemLabel,{key:0,caption:"",lines:"1",style:{"max-height":"200px"}},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("div",{key:0,class:"overflow-dots",innerHTML:t.notification.message},null,8,_hoisted_3$f)):(openBlock(),createElementBlock("div",_hoisted_4$a,toDisplayString$1(t.notification.message),1))]),_:1})):createCommentVNode("",!0)]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$7,[t.notification.state==="read"?(openBlock(),createBlock(QBtn,{key:0,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-check",onClick:withModifiers(t.markAsUnread,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Mark as Unread")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state!=="read"&&t.notification.state!=="archived"?(openBlock(),createBlock(QBtn,{key:1,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-circle-outline",onClick:withModifiers(t.markAsRead,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Mark as Read")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state!=="archived"?(openBlock(),createBlock(QBtn,{key:2,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-package-down",onClick:withModifiers(t.markAsArchived,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Archive")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state==="archived"?(openBlock(),createBlock(QBtn,{key:3,class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-package-up",onClick:withModifiers(t.markAsUnread,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Restore from Archive")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0),t.notification.state==="archived"?(openBlock(),createBlock(QBtn,{key:4,color:"negative",class:"gt-xs",size:"12px",flat:"",dense:"",round:"",icon:"mdi-delete",onClick:withModifiers(t.remove,["stop"])},{default:withCtx(()=>[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Delete")),1)]),_:1})]),_:1},8,["onClick"])):createCommentVNode("",!0)])]),_:1})]),_:1},8,["id","class","onClick"])),[[Ripple]]),createVNode$1(QSeparator)])}var NotificationItem=_export_sfc$1(_sfc_main$x,[["render",_sfc_render$x]]),List_vue_vue_type_style_index_0_lang="";const _sfc_main$w=defineComponent({name:"NotificationList",components:{NotificationItem},setup(){const t=useNotifications();return{showArchived:ref(!1),notificationsActive:computed(()=>t.getActive),notificationsArchived:computed(()=>t.getArchived)}}}),_hoisted_1$q={class:"q-mt-xs jarvis-notifications-items"},_hoisted_2$j={key:2};function _sfc_render$w(t,r,o,a,u,d){const g=resolveComponent("notification-item"),v=resolveComponent("divider");return openBlock(),createElementBlock("div",_hoisted_1$q,[createVNode$1(QSeparator),t.notificationsActive.length<200?(openBlock(),createBlock(QList,{key:0},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationsActive,y=>(openBlock(),createBlock(g,{key:y.id,notification:y},null,8,["notification"]))),128))]),_:1})):(openBlock(),createBlock(QVirtualScroll,{key:1,items:t.notificationsActive},{default:withCtx(({item:y})=>[createVNode$1(g,{notification:y},null,8,["notification"])]),_:1},8,["items"])),withDirectives(createVNode$1(QBtn,{flat:"",class:"full-width",onClick:r[0]||(r[0]=y=>t.showArchived=!t.showArchived)},{default:withCtx(()=>[t.showArchived?(openBlock(),createBlock(v,{key:0,label:t.$t("hide archived notifications")},null,8,["label"])):(openBlock(),createBlock(v,{key:1,label:t.$t("show archived notifications")},null,8,["label"]))]),_:1},512),[[vShow,t.notificationsArchived&&t.notificationsArchived.length>0]]),t.showArchived?(openBlock(),createElementBlock("div",_hoisted_2$j,[createVNode$1(QSeparator),t.notificationsArchived.length<200?(openBlock(),createBlock(QList,{key:0},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.notificationsArchived,y=>(openBlock(),createBlock(g,{key:y.id,notification:y},null,8,["notification"]))),128))]),_:1})):(openBlock(),createBlock(QVirtualScroll,{key:1,items:t.notificationsArchived},{default:withCtx(({item:y})=>[createVNode$1(g,{notification:y},null,8,["notification"])]),_:1},8,["items"]))])):createCommentVNode("",!0)])}var NotificationList=_export_sfc$1(_sfc_main$w,[["render",_sfc_render$w]]),Drawer_vue_vue_type_style_index_0_lang="";const _sfc_main$v=defineComponent({name:"NotificationDrawer",components:{NotificationEventAndroid,NotificationEventPopup,NotificationEventSnackbar,NotificationList},setup(){const t=useJarvis(),r=useNotifications(),o=Math.min(500,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.documentElement.clientWidth)),a=v=>t.set("drawerNotifications",v),u=computed({get(){return t.drawerNotifications},set(v){a(v)}}),d=computed(()=>r.getUnread.length),g=computed(()=>r.getActive.length+r.getArchived.length);return{toggleNotifications:a,drawerNotifications:u,unread:d,all:g,width:o}}});function _sfc_render$v(t,r,o,a,u,d){const g=resolveComponent("notification-event-android"),v=resolveComponent("notification-event-popup"),y=resolveComponent("notification-event-snackbar"),A=resolveComponent("icon"),b=resolveComponent("notification-list");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(g),createVNode$1(v),createVNode$1(y),createVNode$1(QDrawer,{modelValue:t.drawerNotifications,"onUpdate:modelValue":r[1]||(r[1]=_=>t.drawerNotifications=_),side:"right",behavior:"mobile",width:t.width,overlay:"",bordered:"","content-class":"jarvis-notifications body",class:"jarvis-notifications-container"},{default:withCtx(()=>[createVNode$1(QHeader,{style:{position:"relative",left:"0"}},{default:withCtx(()=>[createVNode$1(QToolbar,null,{default:withCtx(()=>[createBaseVNode("h6",null,[createVNode$1(A,{name:"mdi-bell"}),createTextVNode(" "+toDisplayString$1(t.$t("Notifications"))+" ("+toDisplayString$1(t.unread)+" / "+toDisplayString$1(t.all)+") ",1)]),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",dense:"",round:"",icon:"mdi-chevron-right","aria-label":"Menu",onClick:r[0]||(r[0]=_=>t.toggleNotifications(!1))})]),_:1})]),_:1}),t.drawerNotifications?(openBlock(),createBlock(b,{key:0})):createCommentVNode("",!0)]),_:1},8,["modelValue","width"])],64)}var Drawer=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v]]),index$1=Object.freeze(Object.defineProperty({__proto__:null,default:Drawer},Symbol.toStringTag,{value:"Module"})),top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start$1="start",end$1="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(t,r){return t.concat([r+"-"+start$1,r+"-"+end$1])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(t,r){return t.concat([r,r+"-"+start$1,r+"-"+end$1])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(t){return t?(t.nodeName||"").toLowerCase():null}function getWindow(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function isElement(t){var r=getWindow(t).Element;return t instanceof r||t instanceof Element}function isHTMLElement(t){var r=getWindow(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function isShadowRoot(t){if(typeof ShadowRoot=="undefined")return!1;var r=getWindow(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function applyStyles(t){var r=t.state;Object.keys(r.elements).forEach(function(o){var a=r.styles[o]||{},u=r.attributes[o]||{},d=r.elements[o];!isHTMLElement(d)||!getNodeName(d)||(Object.assign(d.style,a),Object.keys(u).forEach(function(g){var v=u[g];v===!1?d.removeAttribute(g):d.setAttribute(g,v===!0?"":v)}))})}function effect$2(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow),function(){Object.keys(r.elements).forEach(function(a){var u=r.elements[a],d=r.attributes[a]||{},g=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:o[a]),v=g.reduce(function(y,A){return y[A]="",y},{});!isHTMLElement(u)||!getNodeName(u)||(Object.assign(u.style,v),Object.keys(d).forEach(function(y){u.removeAttribute(y)}))})}}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(t){return t.split("-")[0]}var max$2=Math.max,min$2=Math.min,round$4=Math.round;function getUAString(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(t,r,o){r===void 0&&(r=!1),o===void 0&&(o=!1);var a=t.getBoundingClientRect(),u=1,d=1;r&&isHTMLElement(t)&&(u=t.offsetWidth>0&&round$4(a.width)/t.offsetWidth||1,d=t.offsetHeight>0&&round$4(a.height)/t.offsetHeight||1);var g=isElement(t)?getWindow(t):window,v=g.visualViewport,y=!isLayoutViewport()&&o,A=(a.left+(y&&v?v.offsetLeft:0))/u,b=(a.top+(y&&v?v.offsetTop:0))/d,_=a.width/u,w=a.height/d;return{width:_,height:w,top:b,right:A+_,bottom:b+w,left:A,x:A,y:b}}function getLayoutRect$1(t){var r=getBoundingClientRect(t),o=t.offsetWidth,a=t.offsetHeight;return Math.abs(r.width-o)<=1&&(o=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:a}}function contains(t,r){var o=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(o&&isShadowRoot(o)){var a=r;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function getComputedStyle$2(t){return getWindow(t).getComputedStyle(t)}function isTableElement(t){return["table","td","th"].indexOf(getNodeName(t))>=0}function getDocumentElement(t){return((isElement(t)?t.ownerDocument:t.document)||window.document).documentElement}function getParentNode(t){return getNodeName(t)==="html"?t:t.assignedSlot||t.parentNode||(isShadowRoot(t)?t.host:null)||getDocumentElement(t)}function getTrueOffsetParent(t){return!isHTMLElement(t)||getComputedStyle$2(t).position==="fixed"?null:t.offsetParent}function getContainingBlock(t){var r=/firefox/i.test(getUAString()),o=/Trident/i.test(getUAString());if(o&&isHTMLElement(t)){var a=getComputedStyle$2(t);if(a.position==="fixed")return null}var u=getParentNode(t);for(isShadowRoot(u)&&(u=u.host);isHTMLElement(u)&&["html","body"].indexOf(getNodeName(u))<0;){var d=getComputedStyle$2(u);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return u;u=u.parentNode}return null}function getOffsetParent(t){for(var r=getWindow(t),o=getTrueOffsetParent(t);o&&isTableElement(o)&&getComputedStyle$2(o).position==="static";)o=getTrueOffsetParent(o);return o&&(getNodeName(o)==="html"||getNodeName(o)==="body"&&getComputedStyle$2(o).position==="static")?r:o||getContainingBlock(t)||r}function getMainAxisFromPlacement(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function within(t,r,o){return max$2(t,min$2(r,o))}function withinMaxClamp(t,r,o){var a=within(t,r,o);return a>o?o:a}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(t){return Object.assign({},getFreshSideObject(),t)}function expandToHashMap(t,r){return r.reduce(function(o,a){return o[a]=t,o},{})}var toPaddingObject=function t(r,o){return r=typeof r=="function"?r(Object.assign({},o.rects,{placement:o.placement})):r,mergePaddingObject(typeof r!="number"?r:expandToHashMap(r,basePlacements))};function arrow(t){var r,o=t.state,a=t.name,u=t.options,d=o.elements.arrow,g=o.modifiersData.popperOffsets,v=getBasePlacement(o.placement),y=getMainAxisFromPlacement(v),A=[left,right].indexOf(v)>=0,b=A?"height":"width";if(!(!d||!g)){var _=toPaddingObject(u.padding,o),w=getLayoutRect$1(d),S=y==="y"?top:left,C=y==="y"?bottom:right,T=o.rects.reference[b]+o.rects.reference[y]-g[y]-o.rects.popper[b],I=g[y]-o.rects.reference[y],E=getOffsetParent(d),F=E?y==="y"?E.clientHeight||0:E.clientWidth||0:0,O=T/2-I/2,D=_[S],x=F-w[b]-_[C],P=F/2-w[b]/2+O,G=within(D,P,x),M=y;o.modifiersData[a]=(r={},r[M]=G,r.centerOffset=G-P,r)}}function effect$1(t){var r=t.state,o=t.options,a=o.element,u=a===void 0?"[data-popper-arrow]":a;u!=null&&(typeof u=="string"&&(u=r.elements.popper.querySelector(u),!u)||!contains(r.elements.popper,u)||(r.elements.arrow=u))}var arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(t){return t.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(t,r){var o=t.x,a=t.y,u=r.devicePixelRatio||1;return{x:round$4(o*u)/u||0,y:round$4(a*u)/u||0}}function mapToStyles(t){var r,o=t.popper,a=t.popperRect,u=t.placement,d=t.variation,g=t.offsets,v=t.position,y=t.gpuAcceleration,A=t.adaptive,b=t.roundOffsets,_=t.isFixed,w=g.x,S=w===void 0?0:w,C=g.y,T=C===void 0?0:C,I=typeof b=="function"?b({x:S,y:T}):{x:S,y:T};S=I.x,T=I.y;var E=g.hasOwnProperty("x"),F=g.hasOwnProperty("y"),O=left,D=top,x=window;if(A){var P=getOffsetParent(o),G="clientHeight",M="clientWidth";if(P===getWindow(o)&&(P=getDocumentElement(o),getComputedStyle$2(P).position!=="static"&&v==="absolute"&&(G="scrollHeight",M="scrollWidth")),P=P,u===top||(u===left||u===right)&&d===end$1){D=bottom;var N=_&&P===x&&x.visualViewport?x.visualViewport.height:P[G];T-=N-a.height,T*=y?1:-1}if(u===left||(u===top||u===bottom)&&d===end$1){O=right;var V=_&&P===x&&x.visualViewport?x.visualViewport.width:P[M];S-=V-a.width,S*=y?1:-1}}var Z=Object.assign({position:v},A&&unsetSides),H=b===!0?roundOffsetsByDPR({x:S,y:T},getWindow(o)):{x:S,y:T};if(S=H.x,T=H.y,y){var B;return Object.assign({},Z,(B={},B[D]=F?"0":"",B[O]=E?"0":"",B.transform=(x.devicePixelRatio||1)<=1?"translate("+S+"px, "+T+"px)":"translate3d("+S+"px, "+T+"px, 0)",B))}return Object.assign({},Z,(r={},r[D]=F?T+"px":"",r[O]=E?S+"px":"",r.transform="",r))}function computeStyles(t){var r=t.state,o=t.options,a=o.gpuAcceleration,u=a===void 0?!0:a,d=o.adaptive,g=d===void 0?!0:d,v=o.roundOffsets,y=v===void 0?!0:v,A={placement:getBasePlacement(r.placement),variation:getVariation(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:u,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,mapToStyles(Object.assign({},A,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:g,roundOffsets:y})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,mapToStyles(Object.assign({},A,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}},passive={passive:!0};function effect(t){var r=t.state,o=t.instance,a=t.options,u=a.scroll,d=u===void 0?!0:u,g=a.resize,v=g===void 0?!0:g,y=getWindow(r.elements.popper),A=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&A.forEach(function(b){b.addEventListener("scroll",o.update,passive)}),v&&y.addEventListener("resize",o.update,passive),function(){d&&A.forEach(function(b){b.removeEventListener("scroll",o.update,passive)}),v&&y.removeEventListener("resize",o.update,passive)}}var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function t(){},effect,data:{}},hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,function(r){return hash$1[r]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(t){return t.replace(/start|end/g,function(r){return hash[r]})}function getWindowScroll(t){var r=getWindow(t),o=r.pageXOffset,a=r.pageYOffset;return{scrollLeft:o,scrollTop:a}}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getWindowScroll(t).scrollLeft}function getViewportRect(t,r){var o=getWindow(t),a=getDocumentElement(t),u=o.visualViewport,d=a.clientWidth,g=a.clientHeight,v=0,y=0;if(u){d=u.width,g=u.height;var A=isLayoutViewport();(A||!A&&r==="fixed")&&(v=u.offsetLeft,y=u.offsetTop)}return{width:d,height:g,x:v+getWindowScrollBarX(t),y}}function getDocumentRect(t){var r,o=getDocumentElement(t),a=getWindowScroll(t),u=(r=t.ownerDocument)==null?void 0:r.body,d=max$2(o.scrollWidth,o.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),g=max$2(o.scrollHeight,o.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),v=-a.scrollLeft+getWindowScrollBarX(t),y=-a.scrollTop;return getComputedStyle$2(u||o).direction==="rtl"&&(v+=max$2(o.clientWidth,u?u.clientWidth:0)-d),{width:d,height:g,x:v,y}}function isScrollParent(t){var r=getComputedStyle$2(t),o=r.overflow,a=r.overflowX,u=r.overflowY;return/auto|scroll|overlay|hidden/.test(o+u+a)}function getScrollParent(t){return["html","body","#document"].indexOf(getNodeName(t))>=0?t.ownerDocument.body:isHTMLElement(t)&&isScrollParent(t)?t:getScrollParent(getParentNode(t))}function listScrollParents(t,r){var o;r===void 0&&(r=[]);var a=getScrollParent(t),u=a===((o=t.ownerDocument)==null?void 0:o.body),d=getWindow(a),g=u?[d].concat(d.visualViewport||[],isScrollParent(a)?a:[]):a,v=r.concat(g);return u?v:v.concat(listScrollParents(getParentNode(g)))}function rectToClientRect(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function getInnerBoundingClientRect(t,r){var o=getBoundingClientRect(t,!1,r==="fixed");return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}function getClientRectFromMixedType(t,r,o){return r===viewport?rectToClientRect(getViewportRect(t,o)):isElement(r)?getInnerBoundingClientRect(r,o):rectToClientRect(getDocumentRect(getDocumentElement(t)))}function getClippingParents(t){var r=listScrollParents(getParentNode(t)),o=["absolute","fixed"].indexOf(getComputedStyle$2(t).position)>=0,a=o&&isHTMLElement(t)?getOffsetParent(t):t;return isElement(a)?r.filter(function(u){return isElement(u)&&contains(u,a)&&getNodeName(u)!=="body"}):[]}function getClippingRect(t,r,o,a){var u=r==="clippingParents"?getClippingParents(t):[].concat(r),d=[].concat(u,[o]),g=d[0],v=d.reduce(function(y,A){var b=getClientRectFromMixedType(t,A,a);return y.top=max$2(b.top,y.top),y.right=min$2(b.right,y.right),y.bottom=min$2(b.bottom,y.bottom),y.left=max$2(b.left,y.left),y},getClientRectFromMixedType(t,g,a));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function computeOffsets(t){var r=t.reference,o=t.element,a=t.placement,u=a?getBasePlacement(a):null,d=a?getVariation(a):null,g=r.x+r.width/2-o.width/2,v=r.y+r.height/2-o.height/2,y;switch(u){case top:y={x:g,y:r.y-o.height};break;case bottom:y={x:g,y:r.y+r.height};break;case right:y={x:r.x+r.width,y:v};break;case left:y={x:r.x-o.width,y:v};break;default:y={x:r.x,y:r.y}}var A=u?getMainAxisFromPlacement(u):null;if(A!=null){var b=A==="y"?"height":"width";switch(d){case start$1:y[A]=y[A]-(r[b]/2-o[b]/2);break;case end$1:y[A]=y[A]+(r[b]/2-o[b]/2);break}}return y}function detectOverflow(t,r){r===void 0&&(r={});var o=r,a=o.placement,u=a===void 0?t.placement:a,d=o.strategy,g=d===void 0?t.strategy:d,v=o.boundary,y=v===void 0?clippingParents:v,A=o.rootBoundary,b=A===void 0?viewport:A,_=o.elementContext,w=_===void 0?popper:_,S=o.altBoundary,C=S===void 0?!1:S,T=o.padding,I=T===void 0?0:T,E=mergePaddingObject(typeof I!="number"?I:expandToHashMap(I,basePlacements)),F=w===popper?reference:popper,O=t.rects.popper,D=t.elements[C?F:w],x=getClippingRect(isElement(D)?D:D.contextElement||getDocumentElement(t.elements.popper),y,b,g),P=getBoundingClientRect(t.elements.reference),G=computeOffsets({reference:P,element:O,strategy:"absolute",placement:u}),M=rectToClientRect(Object.assign({},O,G)),N=w===popper?M:P,V={top:x.top-N.top+E.top,bottom:N.bottom-x.bottom+E.bottom,left:x.left-N.left+E.left,right:N.right-x.right+E.right},Z=t.modifiersData.offset;if(w===popper&&Z){var H=Z[u];Object.keys(V).forEach(function(B){var z=[right,bottom].indexOf(B)>=0?1:-1,U=[top,bottom].indexOf(B)>=0?"y":"x";V[B]+=H[U]*z})}return V}function computeAutoPlacement(t,r){r===void 0&&(r={});var o=r,a=o.placement,u=o.boundary,d=o.rootBoundary,g=o.padding,v=o.flipVariations,y=o.allowedAutoPlacements,A=y===void 0?placements:y,b=getVariation(a),_=b?v?variationPlacements:variationPlacements.filter(function(C){return getVariation(C)===b}):basePlacements,w=_.filter(function(C){return A.indexOf(C)>=0});w.length===0&&(w=_);var S=w.reduce(function(C,T){return C[T]=detectOverflow(t,{placement:T,boundary:u,rootBoundary:d,padding:g})[getBasePlacement(T)],C},{});return Object.keys(S).sort(function(C,T){return S[C]-S[T]})}function getExpandedFallbackPlacements(t){if(getBasePlacement(t)===auto)return[];var r=getOppositePlacement(t);return[getOppositeVariationPlacement(t),r,getOppositeVariationPlacement(r)]}function flip(t){var r=t.state,o=t.options,a=t.name;if(!r.modifiersData[a]._skip){for(var u=o.mainAxis,d=u===void 0?!0:u,g=o.altAxis,v=g===void 0?!0:g,y=o.fallbackPlacements,A=o.padding,b=o.boundary,_=o.rootBoundary,w=o.altBoundary,S=o.flipVariations,C=S===void 0?!0:S,T=o.allowedAutoPlacements,I=r.options.placement,E=getBasePlacement(I),F=E===I,O=y||(F||!C?[getOppositePlacement(I)]:getExpandedFallbackPlacements(I)),D=[I].concat(O).reduce(function(he,ye){return he.concat(getBasePlacement(ye)===auto?computeAutoPlacement(r,{placement:ye,boundary:b,rootBoundary:_,padding:A,flipVariations:C,allowedAutoPlacements:T}):ye)},[]),x=r.rects.reference,P=r.rects.popper,G=new Map,M=!0,N=D[0],V=0;V=0,U=z?"width":"height",Q=detectOverflow(r,{placement:Z,boundary:b,rootBoundary:_,altBoundary:w,padding:A}),X=z?B?right:left:B?bottom:top;x[U]>P[U]&&(X=getOppositePlacement(X));var J=getOppositePlacement(X),ne=[];if(d&&ne.push(Q[H]<=0),v&&ne.push(Q[X]<=0,Q[J]<=0),ne.every(function(he){return he})){N=Z,M=!1;break}G.set(Z,ne)}if(M)for(var te=C?3:1,ce=function(ye){var ee=D.find(function(pe){var ae=G.get(pe);if(ae)return ae.slice(0,ye).every(function(ve){return ve})});if(ee)return N=ee,"break"},se=te;se>0;se--){var ge=ce(se);if(ge==="break")break}r.placement!==N&&(r.modifiersData[a]._skip=!0,r.placement=N,r.reset=!0)}}var flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(t,r,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-r.height-o.y,right:t.right-r.width+o.x,bottom:t.bottom-r.height+o.y,left:t.left-r.width-o.x}}function isAnySideFullyClipped(t){return[top,right,bottom,left].some(function(r){return t[r]>=0})}function hide(t){var r=t.state,o=t.name,a=r.rects.reference,u=r.rects.popper,d=r.modifiersData.preventOverflow,g=detectOverflow(r,{elementContext:"reference"}),v=detectOverflow(r,{altBoundary:!0}),y=getSideOffsets(g,a),A=getSideOffsets(v,u,d),b=isAnySideFullyClipped(y),_=isAnySideFullyClipped(A);r.modifiersData[o]={referenceClippingOffsets:y,popperEscapeOffsets:A,isReferenceHidden:b,hasPopperEscaped:_},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":b,"data-popper-escaped":_})}var hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(t,r,o){var a=getBasePlacement(t),u=[left,top].indexOf(a)>=0?-1:1,d=typeof o=="function"?o(Object.assign({},r,{placement:t})):o,g=d[0],v=d[1];return g=g||0,v=(v||0)*u,[left,right].indexOf(a)>=0?{x:v,y:g}:{x:g,y:v}}function offset$1(t){var r=t.state,o=t.options,a=t.name,u=o.offset,d=u===void 0?[0,0]:u,g=placements.reduce(function(b,_){return b[_]=distanceAndSkiddingToXY(_,r.rects,d),b},{}),v=g[r.placement],y=v.x,A=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=y,r.modifiersData.popperOffsets.y+=A),r.modifiersData[a]=g}var offset$2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset$1};function popperOffsets(t){var r=t.state,o=t.name;r.modifiersData[o]=computeOffsets({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(t){return t==="x"?"y":"x"}function preventOverflow(t){var r=t.state,o=t.options,a=t.name,u=o.mainAxis,d=u===void 0?!0:u,g=o.altAxis,v=g===void 0?!1:g,y=o.boundary,A=o.rootBoundary,b=o.altBoundary,_=o.padding,w=o.tether,S=w===void 0?!0:w,C=o.tetherOffset,T=C===void 0?0:C,I=detectOverflow(r,{boundary:y,rootBoundary:A,padding:_,altBoundary:b}),E=getBasePlacement(r.placement),F=getVariation(r.placement),O=!F,D=getMainAxisFromPlacement(E),x=getAltAxis(D),P=r.modifiersData.popperOffsets,G=r.rects.reference,M=r.rects.popper,N=typeof T=="function"?T(Object.assign({},r.rects,{placement:r.placement})):T,V=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),Z=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,H={x:0,y:0};if(!!P){if(d){var B,z=D==="y"?top:left,U=D==="y"?bottom:right,Q=D==="y"?"height":"width",X=P[D],J=X+I[z],ne=X-I[U],te=S?-M[Q]/2:0,ce=F===start$1?G[Q]:M[Q],se=F===start$1?-M[Q]:-G[Q],ge=r.elements.arrow,he=S&&ge?getLayoutRect$1(ge):{width:0,height:0},ye=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:getFreshSideObject(),ee=ye[z],pe=ye[U],ae=within(0,G[Q],he[Q]),ve=O?G[Q]/2-te-ae-ee-V.mainAxis:ce-ae-ee-V.mainAxis,we=O?-G[Q]/2+te+ae+pe+V.mainAxis:se+ae+pe+V.mainAxis,_e=r.elements.arrow&&getOffsetParent(r.elements.arrow),Te=_e?D==="y"?_e.clientTop||0:_e.clientLeft||0:0,Ce=(B=Z==null?void 0:Z[D])!=null?B:0,Ae=X+ve-Ce-Te,Ee=X+we-Ce,le=within(S?min$2(J,Ae):J,X,S?max$2(ne,Ee):ne);P[D]=le,H[D]=le-X}if(v){var re,ue=D==="x"?top:left,be=D==="x"?bottom:right,ie=P[x],oe=x==="y"?"height":"width",me=ie+I[ue],Se=ie-I[be],xe=[top,left].indexOf(E)!==-1,De=(re=Z==null?void 0:Z[x])!=null?re:0,Pe=xe?me:ie-G[oe]-M[oe]-De+V.altAxis,Be=xe?ie+G[oe]+M[oe]-De-V.altAxis:Se,ot=S&&xe?withinMaxClamp(Pe,ie,Be):within(S?Pe:me,ie,S?Be:Se);P[x]=ot,H[x]=ot-ie}r.modifiersData[a]=H}}var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function getNodeScroll(t){return t===getWindow(t)||!isHTMLElement(t)?getWindowScroll(t):getHTMLElementScroll(t)}function isElementScaled(t){var r=t.getBoundingClientRect(),o=round$4(r.width)/t.offsetWidth||1,a=round$4(r.height)/t.offsetHeight||1;return o!==1||a!==1}function getCompositeRect(t,r,o){o===void 0&&(o=!1);var a=isHTMLElement(r),u=isHTMLElement(r)&&isElementScaled(r),d=getDocumentElement(r),g=getBoundingClientRect(t,u,o),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(a||!a&&!o)&&((getNodeName(r)!=="body"||isScrollParent(d))&&(v=getNodeScroll(r)),isHTMLElement(r)?(y=getBoundingClientRect(r,!0),y.x+=r.clientLeft,y.y+=r.clientTop):d&&(y.x=getWindowScrollBarX(d))),{x:g.left+v.scrollLeft-y.x,y:g.top+v.scrollTop-y.y,width:g.width,height:g.height}}function order(t){var r=new Map,o=new Set,a=[];t.forEach(function(d){r.set(d.name,d)});function u(d){o.add(d.name);var g=[].concat(d.requires||[],d.requiresIfExists||[]);g.forEach(function(v){if(!o.has(v)){var y=r.get(v);y&&u(y)}}),a.push(d)}return t.forEach(function(d){o.has(d.name)||u(d)}),a}function orderModifiers(t){var r=order(t);return modifierPhases.reduce(function(o,a){return o.concat(r.filter(function(u){return u.phase===a}))},[])}function debounce(t){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(t())})})),r}}function mergeByName(t){var r=t.reduce(function(o,a){var u=o[a.name];return o[a.name]=u?Object.assign({},u,a,{options:Object.assign({},u.options,a.options),data:Object.assign({},u.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var t=arguments.length,r=new Array(t),o=0;or in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,__publicField=(t,r,o)=>(__defNormalProp(t,typeof r!="symbol"?r+"":r,o),o),commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var objectProto$g=Object.prototype,hasOwnProperty$d=objectProto$g.hasOwnProperty;function baseHas$1(t,r){return t!=null&&hasOwnProperty$d.call(t,r)}var _baseHas=baseHas$1,isArray$c=Array.isArray,isArray_1=isArray$c,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$8=freeGlobal||freeSelf||Function("return this")(),_root=root$8,root$7=_root,Symbol$5=root$7.Symbol,_Symbol=Symbol$5,Symbol$4=_Symbol,objectProto$f=Object.prototype,hasOwnProperty$c=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$4?Symbol$4.toStringTag:void 0;function getRawTag$1(t){var r=hasOwnProperty$c.call(t,symToStringTag$1),o=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var a=!0}catch(d){}var u=nativeObjectToString$1.call(t);return a&&(r?t[symToStringTag$1]=o:delete t[symToStringTag$1]),u}var _getRawTag=getRawTag$1,objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$1(t){return nativeObjectToString.call(t)}var _objectToString=objectToString$1,Symbol$3=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag$a(t){return t==null?t===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}var _baseGetTag=baseGetTag$a;function isObjectLike$b(t){return t!=null&&typeof t=="object"}var isObjectLike_1=isObjectLike$b,baseGetTag$9=_baseGetTag,isObjectLike$a=isObjectLike_1,symbolTag$1="[object Symbol]";function isSymbol$3(t){return typeof t=="symbol"||isObjectLike$a(t)&&baseGetTag$9(t)==symbolTag$1}var isSymbol_1=isSymbol$3,isArray$b=isArray_1,isSymbol$2=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$3(t,r){if(isArray$b(t))return!1;var o=typeof t;return o=="number"||o=="symbol"||o=="boolean"||t==null||isSymbol$2(t)?!0:reIsPlainProp.test(t)||!reIsDeepProp.test(t)||r!=null&&t in Object(r)}var _isKey=isKey$3;function isObject$a(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var isObject_1=isObject$a,baseGetTag$8=_baseGetTag,isObject$9=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(t){if(!isObject$9(t))return!1;var r=baseGetTag$8(t);return r==funcTag$1||r==genTag||r==asyncTag||r==proxyTag}var isFunction_1=isFunction$3,root$6=_root,coreJsData$1=root$6["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var t=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function isMasked$1(t){return!!maskSrcKey&&maskSrcKey in t}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(t){if(t!=null){try{return funcToString$2.call(t)}catch(r){}try{return t+""}catch(r){}}return""}var _toSource=toSource$2,isFunction$2=isFunction_1,isMasked=_isMasked,isObject$8=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$b=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$b).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(t){if(!isObject$8(t)||isMasked(t))return!1;var r=isFunction$2(t)?reIsNative:reIsHostCtor;return r.test(toSource$1(t))}var _baseIsNative=baseIsNative$1;function getValue$1(t,r){return t==null?void 0:t[r]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$7(t,r){var o=getValue(t,r);return baseIsNative(o)?o:void 0}var _getNative=getNative$7,getNative$6=_getNative,nativeCreate$4=getNative$6(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty;function hashGet$1(t){var r=this.__data__;if(nativeCreate$2){var o=r[t];return o===HASH_UNDEFINED$2?void 0:o}return hasOwnProperty$a.call(r,t)?r[t]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function hashHas$1(t){var r=this.__data__;return nativeCreate$1?r[t]!==void 0:hasOwnProperty$9.call(r,t)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=nativeCreate&&r===void 0?HASH_UNDEFINED$1:r,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(t,r){var o=this.__data__,a=assocIndexOf(o,t);return a<0?(++this.size,o.push([t,r])):o[a][1]=r,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet$2=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet$2=_listCacheSet;function ListCache$4(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r-1&&t%1==0&&t-1&&t%1==0&&t<=MAX_SAFE_INTEGER$2}var isLength_1=isLength$3,isSymbol=isSymbol_1,INFINITY=1/0;function toKey$4(t){if(typeof t=="string"||isSymbol(t))return t;var r=t+"";return r=="0"&&1/t==-INFINITY?"-0":r}var _toKey=toKey$4,castPath$1=_castPath,isArguments$2=isArguments_1,isArray$8=isArray_1,isIndex$2=_isIndex,isLength$2=isLength_1,toKey$3=_toKey;function hasPath$2(t,r,o){r=castPath$1(r,t);for(var a=-1,u=r.length,d=!1;++av))return!1;var A=d.get(t),b=d.get(r);if(A&&b)return A==r&&b==t;var _=-1,w=!0,S=o&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(d.set(t,r),d.set(r,t);++_0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$1=shortOut(baseSetToString),_setToString=setToString$1,identity$4=identity_1,overRest=_overRest,setToString=_setToString;function baseRest$3(t,r){return setToString(overRest(t,r,identity$4),t+"")}var _baseRest=baseRest$3;function nativeKeysIn$1(t){var r=[];if(t!=null)for(var o in Object(t))r.push(o);return r}var _nativeKeysIn=nativeKeysIn$1,isObject$5=isObject_1,isPrototype$1=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function baseKeysIn$1(t){if(!isObject$5(t))return nativeKeysIn(t);var r=isPrototype$1(t),o=[];for(var a in t)a=="constructor"&&(r||!hasOwnProperty$2.call(t,a))||o.push(a);return o}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$1=isArrayLike_1;function keysIn$3(t){return isArrayLike$1(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var keysIn_1=keysIn$3,baseRest$2=_baseRest,eq$1=eq_1,isIterateeCall$1=_isIterateeCall,keysIn$2=keysIn_1,objectProto$1=Object.prototype,hasOwnProperty$1$1=objectProto$1.hasOwnProperty,defaults$1=baseRest$2(function(t,r){t=Object(t);var o=-1,a=r.length,u=a>2?r[2]:void 0;for(u&&isIterateeCall$1(r[0],r[1],u)&&(a=1);++o1?o[u-1]:void 0,g=u>2?o[2]:void 0;for(d=t.length>3&&typeof d=="function"?(u--,d):void 0,g&&isIterateeCall(o[0],o[1],g)&&(d=u<3?void 0:d,u=1),r=Object(r);++aObject.prototype.toString.call(t).slice(8,-1),isDate$2=t=>isDate_1(t)&&!isNaN(t.getTime()),isObject$b=t=>getType(t)==="Object",has$3=has_1,hasAny=(t,r)=>some_1(r,o=>has_1(t,o)),pad$1=(t,r,o="0")=>{for(t=t!=null?String(t):"",r=r||2;t.lengthArray.isArray(t),arrayHasItems=t=>isArray$d(t)&&t.length>0,resolveEl=t=>{var r;return t==null?null:document&&isString_1(t)?document.querySelector(t):(r=t.$el)!=null?r:t},off=(t,r,o,a=void 0)=>{t.removeEventListener(r,o,a)},on=(t,r,o,a=void 0)=>(t.addEventListener(r,o,a),()=>off(t,r,o,a)),elementContains=(t,r)=>!!t&&!!r&&(t===r||t.contains(r)),onSpaceOrEnter=(t,r)=>{(t.key===" "||t.key==="Enter")&&(r(t),t.preventDefault())},omit=(t,...r)=>{const o={};let a;for(a in t)r.includes(a)||(o[a]=t[a]);return o},pick$1=(t,r)=>{const o={};return r.forEach(a=>{a in t&&(o[a]=t[a])}),o};function clamp$1(t,r,o){return Math.min(Math.max(t,r),o)}var toIntegerExports={},toInteger$2={get exports(){return toIntegerExports},set exports(t){toIntegerExports=t}};(function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(a){if(a===null||a===!0||a===!1)return NaN;var u=Number(a);return isNaN(u)?u:u<0?Math.ceil(u):Math.floor(u)}t.exports=r.default})(toInteger$2,toIntegerExports);const toInteger$1=getDefaultExportFromCjs(toIntegerExports);var getTimezoneOffsetInMillisecondsExports={},getTimezoneOffsetInMilliseconds$2={get exports(){return getTimezoneOffsetInMillisecondsExports},set exports(t){getTimezoneOffsetInMillisecondsExports=t}};(function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(a){var u=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return u.setUTCFullYear(a.getFullYear()),a.getTime()-u.getTime()}t.exports=r.default})(getTimezoneOffsetInMilliseconds$2,getTimezoneOffsetInMillisecondsExports);const getTimezoneOffsetInMilliseconds$1=getDefaultExportFromCjs(getTimezoneOffsetInMillisecondsExports);function tzTokenizeDate(t,r){var o=getDateTimeFormat(r);return o.formatToParts?partsOffset$1(o,t):hackyOffset$1(o,t)}var typeToPos$1={year:0,month:1,day:2,hour:3,minute:4,second:5};function partsOffset$1(t,r){try{for(var o=t.formatToParts(r),a=[],u=0;u=0&&(a[d]=parseInt(o[u].value,10))}return a}catch(g){if(g instanceof RangeError)return[NaN];throw g}}function hackyOffset$1(t,r){var o=t.format(r).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(o);return[a[3],a[1],a[2],a[4],a[5],a[6]]}var dtfCache$1={};function getDateTimeFormat(t){if(!dtfCache$1[t]){var r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),o=r==="06/25/2014, 00:00:00"||r==="\u200E06\u200E/\u200E25\u200E/\u200E2014\u200E \u200E00\u200E:\u200E00\u200E:\u200E00";dtfCache$1[t]=o?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return dtfCache$1[t]}function newDateUTC(t,r,o,a,u,d,g){var v=new Date(0);return v.setUTCFullYear(t,r,o),v.setUTCHours(a,u,d,g),v}var MILLISECONDS_IN_HOUR$1=36e5,MILLISECONDS_IN_MINUTE$1=6e4,patterns$1={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function tzParseTimezone(t,r,o){var a,u;if(!t||(a=patterns$1.timezoneZ.exec(t),a))return 0;var d;if(a=patterns$1.timezoneHH.exec(t),a)return d=parseInt(a[1],10),validateTimezone(d)?-(d*MILLISECONDS_IN_HOUR$1):NaN;if(a=patterns$1.timezoneHHMM.exec(t),a){d=parseInt(a[1],10);var g=parseInt(a[2],10);return validateTimezone(d,g)?(u=Math.abs(d)*MILLISECONDS_IN_HOUR$1+g*MILLISECONDS_IN_MINUTE$1,d>0?-u:u):NaN}if(isValidTimezoneIANAString(t)){r=new Date(r||Date.now());var v=o?r:toUtcDate(r),y=calcOffset(v,t),A=o?y:fixOffset$1(r,y,t);return-A}return NaN}function toUtcDate(t){return newDateUTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function calcOffset(t,r){var o=tzTokenizeDate(t,r),a=newDateUTC(o[0],o[1]-1,o[2],o[3]%24,o[4],o[5],0).getTime(),u=t.getTime(),d=u%1e3;return u-=d>=0?d:1e3+d,a-u}function fixOffset$1(t,r,o){var a=t.getTime(),u=a-r,d=calcOffset(new Date(u),o);if(r===d)return r;u-=d-r;var g=calcOffset(new Date(u),o);return d===g?d:Math.max(d,g)}function validateTimezone(t,r){return-23<=t&&t<=23&&(r==null||0<=r&&r<=59)}var validIANATimezoneCache={};function isValidTimezoneIANAString(t){if(validIANATimezoneCache[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),validIANATimezoneCache[t]=!0,!0}catch(r){return!1}}var tzPattern=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const tzPattern$1=tzPattern;var MILLISECONDS_IN_HOUR=36e5,MILLISECONDS_IN_MINUTE=6e4,DEFAULT_ADDITIONAL_DIGITS=2,patterns={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:tzPattern$1};function toDate$1(t,r){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var o=r||{},a=o.additionalDigits==null?DEFAULT_ADDITIONAL_DIGITS:toInteger$1(o.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var u=splitDateString(t),d=parseYear(u.date,a),g=d.year,v=d.restDateString,y=parseDate$1(v,g);if(isNaN(y))return new Date(NaN);if(y){var A=y.getTime(),b=0,_;if(u.time&&(b=parseTime(u.time),isNaN(b)))return new Date(NaN);if(u.timeZone||o.timeZone){if(_=tzParseTimezone(u.timeZone||o.timeZone,new Date(A+b)),isNaN(_))return new Date(NaN)}else _=getTimezoneOffsetInMilliseconds$1(new Date(A+b)),_=getTimezoneOffsetInMilliseconds$1(new Date(A+b+_));return new Date(A+b+_)}else return new Date(NaN)}function splitDateString(t){var r={},o=patterns.dateTimePattern.exec(t),a;if(o?(r.date=o[1],a=o[3]):(o=patterns.datePattern.exec(t),o?(r.date=o[1],a=o[2]):(r.date=null,a=t)),a){var u=patterns.timeZone.exec(a);u?(r.time=a.replace(u[1],""),r.timeZone=u[1].trim()):r.time=a}return r}function parseYear(t,r){var o=patterns.YYY[r],a=patterns.YYYYY[r],u;if(u=patterns.YYYY.exec(t)||a.exec(t),u){var d=u[1];return{year:parseInt(d,10),restDateString:t.slice(d.length)}}if(u=patterns.YY.exec(t)||o.exec(t),u){var g=u[1];return{year:parseInt(g,10)*100,restDateString:t.slice(g.length)}}return{year:null}}function parseDate$1(t,r){if(r===null)return null;var o,a,u,d;if(t.length===0)return a=new Date(0),a.setUTCFullYear(r),a;if(o=patterns.MM.exec(t),o)return a=new Date(0),u=parseInt(o[1],10)-1,validateDate(r,u)?(a.setUTCFullYear(r,u),a):new Date(NaN);if(o=patterns.DDD.exec(t),o){a=new Date(0);var g=parseInt(o[1],10);return validateDayOfYearDate(r,g)?(a.setUTCFullYear(r,0,g),a):new Date(NaN)}if(o=patterns.MMDD.exec(t),o){a=new Date(0),u=parseInt(o[1],10)-1;var v=parseInt(o[2],10);return validateDate(r,u,v)?(a.setUTCFullYear(r,u,v),a):new Date(NaN)}if(o=patterns.Www.exec(t),o)return d=parseInt(o[1],10)-1,validateWeekDate(r,d)?dayOfISOWeekYear(r,d):new Date(NaN);if(o=patterns.WwwD.exec(t),o){d=parseInt(o[1],10)-1;var y=parseInt(o[2],10)-1;return validateWeekDate(r,d,y)?dayOfISOWeekYear(r,d,y):new Date(NaN)}return null}function parseTime(t){var r,o,a;if(r=patterns.HH.exec(t),r)return o=parseFloat(r[1].replace(",",".")),validateTime(o)?o%24*MILLISECONDS_IN_HOUR:NaN;if(r=patterns.HHMM.exec(t),r)return o=parseInt(r[1],10),a=parseFloat(r[2].replace(",",".")),validateTime(o,a)?o%24*MILLISECONDS_IN_HOUR+a*MILLISECONDS_IN_MINUTE:NaN;if(r=patterns.HHMMSS.exec(t),r){o=parseInt(r[1],10),a=parseInt(r[2],10);var u=parseFloat(r[3].replace(",","."));return validateTime(o,a,u)?o%24*MILLISECONDS_IN_HOUR+a*MILLISECONDS_IN_MINUTE+u*1e3:NaN}return null}function dayOfISOWeekYear(t,r,o){r=r||0,o=o||0;var a=new Date(0);a.setUTCFullYear(t,0,4);var u=a.getUTCDay()||7,d=r*7+o+1-u;return a.setUTCDate(a.getUTCDate()+d),a}var DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR=[31,29,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex(t){return t%400===0||t%4===0&&t%100!==0}function validateDate(t,r,o){if(r<0||r>11)return!1;if(o!=null){if(o<1)return!1;var a=isLeapYearIndex(t);if(a&&o>DAYS_IN_MONTH_LEAP_YEAR[r]||!a&&o>DAYS_IN_MONTH[r])return!1}return!0}function validateDayOfYearDate(t,r){if(r<1)return!1;var o=isLeapYearIndex(t);return!(o&&r>366||!o&&r>365)}function validateWeekDate(t,r,o){return!(r<0||r>52||o!=null&&(o<0||o>6))}function validateTime(t,r,o){return!(t!=null&&(t<0||t>=25)||r!=null&&(r<0||r>=60)||o!=null&&(o<0||o>=60))}function requiredArgs(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function _typeof(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(o){return typeof o}:_typeof=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(t)}function toDate(t){requiredArgs(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||_typeof(t)==="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function toInteger(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}var defaultOptions={};function getDefaultOptions(){return defaultOptions}function startOfWeek$1(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=getDefaultOptions(),_=toInteger((o=(a=(u=(d=r==null?void 0:r.weekStartsOn)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&u!==void 0?u:b.weekStartsOn)!==null&&a!==void 0?a:(y=b.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&o!==void 0?o:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var w=toDate(t),S=w.getDay(),C=(S<_?7:0)+S-_;return w.setDate(w.getDate()-C),w.setHours(0,0,0,0),w}function getTimezoneOffsetInMilliseconds(t){var r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),t.getTime()-r.getTime()}var MILLISECONDS_IN_WEEK$2=6048e5;function differenceInCalendarWeeks(t,r,o){requiredArgs(2,arguments);var a=startOfWeek$1(t,o),u=startOfWeek$1(r,o),d=a.getTime()-getTimezoneOffsetInMilliseconds(a),g=u.getTime()-getTimezoneOffsetInMilliseconds(u);return Math.round((d-g)/MILLISECONDS_IN_WEEK$2)}function lastDayOfMonth(t){requiredArgs(1,arguments);var r=toDate(t),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(0,0,0,0),r}function startOfMonth(t){requiredArgs(1,arguments);var r=toDate(t);return r.setDate(1),r.setHours(0,0,0,0),r}function getWeeksInMonth(t,r){return requiredArgs(1,arguments),differenceInCalendarWeeks(lastDayOfMonth(t),startOfMonth(t),r)+1}function getWeekYear(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=toDate(t),_=b.getFullYear(),w=getDefaultOptions(),S=toInteger((o=(a=(u=(d=r==null?void 0:r.firstWeekContainsDate)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:w.firstWeekContainsDate)!==null&&a!==void 0?a:(y=w.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setFullYear(_+1,0,S),C.setHours(0,0,0,0);var T=startOfWeek$1(C,r),I=new Date(0);I.setFullYear(_,0,S),I.setHours(0,0,0,0);var E=startOfWeek$1(I,r);return b.getTime()>=T.getTime()?_+1:b.getTime()>=E.getTime()?_:_-1}function startOfWeekYear(t,r){var o,a,u,d,g,v,y,A;requiredArgs(1,arguments);var b=getDefaultOptions(),_=toInteger((o=(a=(u=(d=r==null?void 0:r.firstWeekContainsDate)!==null&&d!==void 0?d:r==null||(g=r.locale)===null||g===void 0||(v=g.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:b.firstWeekContainsDate)!==null&&a!==void 0?a:(y=b.locale)===null||y===void 0||(A=y.options)===null||A===void 0?void 0:A.firstWeekContainsDate)!==null&&o!==void 0?o:1),w=getWeekYear(t,r),S=new Date(0);S.setFullYear(w,0,_),S.setHours(0,0,0,0);var C=startOfWeek$1(S,r);return C}var MILLISECONDS_IN_WEEK$1=6048e5;function getWeek(t,r){requiredArgs(1,arguments);var o=toDate(t),a=startOfWeek$1(o,r).getTime()-startOfWeekYear(o,r).getTime();return Math.round(a/MILLISECONDS_IN_WEEK$1)+1}function startOfISOWeek(t){return requiredArgs(1,arguments),startOfWeek$1(t,{weekStartsOn:1})}function getISOWeekYear(t){requiredArgs(1,arguments);var r=toDate(t),o=r.getFullYear(),a=new Date(0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);var u=startOfISOWeek(a),d=new Date(0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);var g=startOfISOWeek(d);return r.getTime()>=u.getTime()?o+1:r.getTime()>=g.getTime()?o:o-1}function startOfISOWeekYear(t){requiredArgs(1,arguments);var r=getISOWeekYear(t),o=new Date(0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);var a=startOfISOWeek(o);return a}var MILLISECONDS_IN_WEEK=6048e5;function getISOWeek(t){requiredArgs(1,arguments);var r=toDate(t),o=startOfISOWeek(r).getTime()-startOfISOWeekYear(r).getTime();return Math.round(o/MILLISECONDS_IN_WEEK)+1}function addDays(t,r){requiredArgs(2,arguments);var o=toDate(t),a=toInteger(r);return isNaN(a)?new Date(NaN):(a&&o.setDate(o.getDate()+a),o)}function addMonths(t,r){requiredArgs(2,arguments);var o=toDate(t),a=toInteger(r);if(isNaN(a))return new Date(NaN);if(!a)return o;var u=o.getDate(),d=new Date(o.getTime());d.setMonth(o.getMonth()+a+1,0);var g=d.getDate();return u>=g?d:(o.setFullYear(d.getFullYear(),d.getMonth(),u),o)}function addYears(t,r){requiredArgs(2,arguments);var o=toInteger(r);return addMonths(t,o*12)}const viewAddressKeys={daily:["year","month","day"],weekly:["year","month","week"],monthly:["year","month"]};function getDays({monthComps:t,prevMonthComps:r,nextMonthComps:o},a){const u=[],{firstDayOfWeek:d,firstWeekday:g,isoWeeknumbers:v,weeknumbers:y,numDays:A,numWeeks:b}=t,_=g+(g{const y=Math.floor(v/7);let A=d[y];return A||(A={id:`week-${y+1}`,title:"",week:g.week,weekPosition:g.weekPosition,weeknumber:g.weeknumber,isoWeeknumber:g.isoWeeknumber,weeknumberDisplay:r?g.weeknumber:o?g.isoWeeknumber:void 0,days:[]},d[y]=A),A.days.push(g),d},Array(t.length/daysInWeek));return u.forEach(d=>{const g=d.days[0],v=d.days[d.days.length-1];g.month===v.month?d.title=`${a.formatDate(g.date,"MMMM YYYY")}`:g.year===v.year?d.title=`${a.formatDate(g.date,"MMM")} - ${a.formatDate(v.date,"MMM YYYY")}`:d.title=`${a.formatDate(g.date,"MMM YYYY")} - ${a.formatDate(v.date,"MMM YYYY")}`}),u}function getWeekdays(t,r){return t.days.map(o=>({label:r.formatDate(o.date,r.masks.weekdays),weekday:o.weekday}))}function getPageId(t,r){return`${r}.${pad$1(t,2)}`}function getPageAddressForDate(t,r,o){return pick$1(o.getDateParts(o.toDate(t)),viewAddressKeys[r])}function addPages({day:t,week:r,month:o,year:a},u,d,g){if(d==="daily"&&t){const v=new Date(a,o-1,t),y=addDays(v,u);return{day:y.getDate(),month:y.getMonth()+1,year:y.getFullYear()}}else if(d==="weekly"&&r){const y=g.getMonthParts(o,a).firstDayOfMonth,A=addDays(y,(r-1+u)*7),b=g.getDateParts(A);return{week:b.week,month:b.month,year:b.year}}else{const v=new Date(a,o-1,1),y=addMonths(v,u);return{month:y.getMonth()+1,year:y.getFullYear()}}}function pageIsValid(t){return t!=null&&t.month!=null&&t.year!=null}function pageIsBeforePage(t,r){return!pageIsValid(t)||!pageIsValid(r)?!1:(t=t,r=r,t.year!==r.year?t.yearr.year:t.month&&r.month&&t.month!==r.month?t.month>r.month:t.week&&r.week&&t.week!==r.week?t.week>r.week:t.day&&r.day&&t.day!==r.day?t.day>r.day:!1)}function pageIsBetweenPages(t,r,o){return(t||!1)&&!pageIsBeforePage(t,r)&&!pageIsAfterPage(t,o)}function pageIsEqualToPage(t,r){return!t&&r||t&&!r?!1:!t&&!r?!0:(t=t,r=r,t.year===r.year&&t.month===r.month&&t.week===r.week&&t.day===r.day)}function pageRangeToArray(t,r,o,a){if(!pageIsValid(t)||!pageIsValid(r))return[];const u=[];for(;!pageIsAfterPage(t,r);)u.push(t),t=addPages(t,1,o,a);return u}function getPageKey(t){const{day:r,week:o,month:a,year:u}=t;let d=`${u}-${pad$1(a,2)}`;return o&&(d=`${d}-w${o}`),r&&(d=`${d}-${pad$1(r,2)}`),d}function getCachedPage(t,r){const{month:o,year:a,showWeeknumbers:u,showIsoWeeknumbers:d}=t,g=new Date(a,o-1,15),v=r.getMonthParts(o,a),y=r.getPrevMonthParts(o,a),A=r.getNextMonthParts(o,a),b=getDays({monthComps:v,prevMonthComps:y,nextMonthComps:A},r),_=getWeeks(b,u,d,r),w=getWeekdays(_[0],r);return{id:getPageKey(t),month:o,year:a,monthTitle:r.formatDate(g,r.masks.title),shortMonthLabel:r.formatDate(g,"MMM"),monthLabel:r.formatDate(g,"MMMM"),shortYearLabel:a.toString().substring(2),yearLabel:a.toString(),monthComps:v,prevMonthComps:y,nextMonthComps:A,days:b,weeks:_,weekdays:w}}function getPage(t,r){const{day:o,week:a,view:u,trimWeeks:d}=t,g={...r,...t,title:"",viewDays:[],viewWeeks:[]};switch(u){case"daily":{let v=g.days.find(A=>A.inMonth);o?v=g.days.find(A=>A.day===o&&A.inMonth)||v:a&&(v=g.days.find(A=>A.week===a&&A.inMonth));const y=g.weeks[v.week-1];g.viewWeeks=[y],g.viewDays=[v],g.week=v.week,g.weekTitle=y.title,g.day=v.day,g.dayTitle=v.ariaLabel,g.title=g.dayTitle;break}case"weekly":{g.week=a||1;const v=g.weeks[g.week-1];g.viewWeeks=[v],g.viewDays=v.days,g.weekTitle=v.title,g.title=g.weekTitle;break}default:{g.title=g.monthTitle,g.viewWeeks=g.weeks.slice(0,d?g.monthComps.numWeeks:void 0),g.viewDays=g.days;break}}return g}class Cache{constructor(r,o,a){__publicField(this,"keys",[]),__publicField(this,"store",{}),this.size=r,this.createKey=o,this.createItem=a}get(...r){const o=this.createKey(...r);return this.store[o]}getOrSet(...r){const o=this.createKey(...r);if(this.store[o])return this.store[o];const a=this.createItem(...r);if(this.keys.length>=this.size){const u=this.keys.shift();u!=null&&delete this.store[u]}return this.keys.push(o),this.store[o]=a,a}}class DateRange{constructor(r,o=new Locale$1){__publicField(this,"order"),__publicField(this,"locale"),__publicField(this,"start",null),__publicField(this,"end",null),__publicField(this,"repeat",null);var a;this.locale=o;const{start:u,end:d,span:g,order:v,repeat:y}=r;isDate$2(u)&&(this.start=o.getDateParts(u)),isDate$2(d)?this.end=o.getDateParts(d):this.start!=null&&g&&(this.end=o.getDateParts(addDays(this.start.date,g-1))),this.order=v!=null?v:0,y&&(this.repeat=new DateRepeat({from:(a=this.start)==null?void 0:a.date,...y},{locale:this.locale}))}static fromMany(r,o){return(isArray$d(r)?r:[r]).filter(a=>a).map(a=>DateRange.from(a,o))}static from(r,o){var u,d;if(r instanceof DateRange)return r;const a={start:null,end:null};return r!=null&&(isArray$d(r)?(a.start=(u=r[0])!=null?u:null,a.end=(d=r[1])!=null?d:null):isObject$b(r)?Object.assign(a,r):(a.start=r,a.end=r)),a.start!=null&&(a.start=new Date(a.start)),a.end!=null&&(a.end=new Date(a.end)),new DateRange(a,o)}get opts(){const{order:r,locale:o}=this;return{order:r,locale:o}}get hasRepeat(){return!!this.repeat}get isSingleDay(){const{start:r,end:o}=this;return r&&o&&r.year===o.year&&r.month===o.month&&r.day===o.day}get isMultiDay(){return!this.isSingleDay}get daySpan(){return this.start==null||this.end==null?this.hasRepeat?1:1/0:this.end.dayIndex-this.start.dayIndex}startsOnDay(r){var o,a;return((o=this.start)==null?void 0:o.dayIndex)===r.dayIndex||!!((a=this.repeat)!=null&&a.passes(r))}intersectsDay(r){return this.intersectsDayRange(r,r)}intersectsRange(r){var u,d;var o,a;return this.intersectsDayRange((u=(o=r.start)==null?void 0:o.dayIndex)!=null?u:-1/0,(d=(a=r.end)==null?void 0:a.dayIndex)!=null?d:1/0)}intersectsDayRange(r,o){return!(this.start&&this.start.dayIndex>o||this.end&&this.end.dayIndex{var F,O;var I,E;if(o.startsOnDay(T)){const D=o.daySpan<1/0?o.daySpan:1;y={startDay:T.dayIndex,startTime:(F=(I=o.start)==null?void 0:I.time)!=null?F:0,endDay:T.dayIndex+D-1,endTime:(O=(E=o.end)==null?void 0:E.time)!=null?O:MS_PER_DAY},this.getRangeRecords(r).push(y)}}):o.intersectsDayRange(A,b)&&(y={startDay:(_=(u=o.start)==null?void 0:u.dayIndex)!=null?_:-1/0,startTime:(w=(d=o.start)==null?void 0:d.time)!=null?w:-1/0,endDay:(S=(g=o.end)==null?void 0:g.dayIndex)!=null?S:1/0,endTime:(C=(v=o.end)==null?void 0:v.time)!=null?C:1/0},this.getRangeRecords(r).push(y)),y}getRangeRecords(r){let o=this.records[r.key];return o||(o={ranges:[],data:r},this.records[r.key]=o),o.ranges}getCell(r,o){return this.getCells(o).find(d=>d.data.key===r)}cellExists(r,o){const a=this.records[r];return a==null?!1:a.ranges.some(u=>u.startDay<=o&&u.endDay>=o)}getCells(r){const o=Object.values(this.records),a=[],{dayIndex:u}=r;return o.forEach(({data:d,ranges:g})=>{g.filter(v=>v.startDay<=u&&v.endDay>=u).forEach(v=>{const y=u===v.startDay,A=u===v.endDay,b=y?v.startTime:0,_=new Date(r.startDate.getTime()+b),w=A?v.endTime:MS_PER_DAY,S=new Date(r.endDate.getTime()+w),C=b===0&&w===MS_PER_DAY,T=d.order||0;a.push({...v,data:d,onStart:y,onEnd:A,startTime:b,startDate:_,endTime:w,endDate:S,allDay:C,order:T})})}),a.sort((d,g)=>d.order-g.order),a}}const locales={ar:{dow:7,L:"D/\u200FM/\u200FYYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY\u5E74M\u6708D\u65E5"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};locales.en=locales["en-US"];locales.es=locales["es-ES"];locales.no=locales.nb;locales.zh=locales["zh-CN"];const localeSettings=Object.entries(locales).reduce((t,[r,{dow:o,L:a}])=>(t[r]={id:r,firstDayOfWeek:o,masks:{L:a}},t),{}),title="MMMM YYYY",weekdays$1="W",navMonths="MMM",hours="h A",input=["L","YYYY-MM-DD","YYYY/MM/DD"],inputDateTime=["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],inputDateTime24hr=["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],inputTime=["h:mm A"],inputTime24hr=["HH:mm"],dayPopover="WWW, MMM D, YYYY",data=["L","YYYY-MM-DD","YYYY/MM/DD"],model="iso",iso="YYYY-MM-DDTHH:mm:ss.SSSZ",masks={title,weekdays:weekdays$1,navMonths,hours,input,inputDateTime,inputDateTime24hr,inputTime,inputTime24hr,dayPopover,data,model,iso},maxSwipeTime=300,minHorizontalSwipeDistance=60,maxVerticalSwipeDistance=80,touch={maxSwipeTime,minHorizontalSwipeDistance,maxVerticalSwipeDistance},defaultConfig={componentPrefix:"V",color:"blue",isDark:!1,navVisibility:"click",titlePosition:"center",transition:"slide-h",touch,masks,locales:localeSettings,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",isInteractive:!0}}},state=reactive(defaultConfig),defaultLocales=computed(()=>mapValues_1(state.locales,t=>(t.masks=defaultsDeep_1(t.masks,state.masks),t))),getDefault=t=>typeof window!="undefined"&&has$3(window.__vcalendar__,t)?get_1(window.__vcalendar__,t):get_1(state,t),setupDefaults=(t,r)=>(t.config.globalProperties.$VCalendar=state,Object.assign(state,defaultsDeep_1(r,state))),DEFAULT_MONTH_CACHE_SIZE=12,DEFAULT_PAGE_CACHE_SIZE=5;function resolveConfig(t,r){const o=new Intl.DateTimeFormat().resolvedOptions().locale;let a;isString_1(t)?a=t:has$3(t,"id")&&(a=t.id),a=(a||o).toLowerCase();const u=Object.keys(r),d=y=>u.find(A=>A.toLowerCase()===y);a=d(a)||d(a.substring(0,2))||o;const g={...r["en-IE"],...r[a],id:a,monthCacheSize:DEFAULT_MONTH_CACHE_SIZE,pageCacheSize:DEFAULT_PAGE_CACHE_SIZE};return isObject$b(t)?defaultsDeep_1(t,g):g}class Locale$1{constructor(r=void 0,o){__publicField(this,"id"),__publicField(this,"daysInWeek"),__publicField(this,"firstDayOfWeek"),__publicField(this,"masks"),__publicField(this,"timezone"),__publicField(this,"hourLabels"),__publicField(this,"dayNames"),__publicField(this,"dayNamesShort"),__publicField(this,"dayNamesShorter"),__publicField(this,"dayNamesNarrow"),__publicField(this,"monthNames"),__publicField(this,"monthNamesShort"),__publicField(this,"relativeTimeNames"),__publicField(this,"amPm",["am","pm"]),__publicField(this,"monthCache"),__publicField(this,"pageCache");const{id:a,firstDayOfWeek:u,masks:d,monthCacheSize:g,pageCacheSize:v}=resolveConfig(r,defaultLocales.value);this.monthCache=new Cache(g,getMonthPartsKey,getMonthParts),this.pageCache=new Cache(v,getPageKey,getCachedPage),this.id=a,this.daysInWeek=daysInWeek,this.firstDayOfWeek=clamp$1(u,1,daysInWeek),this.masks=d,this.timezone=o||void 0,this.hourLabels=this.getHourLabels(),this.dayNames=getDayNames("long",this.id),this.dayNamesShort=getDayNames("short",this.id),this.dayNamesShorter=this.dayNamesShort.map(y=>y.substring(0,2)),this.dayNamesNarrow=getDayNames("narrow",this.id),this.monthNames=getMonthNames("long",this.id),this.monthNamesShort=getMonthNames("short",this.id),this.relativeTimeNames=getRelativeTimeNames(this.id)}formatDate(r,o){return formatDate(r,o,this)}parseDate(r,o){return parseDate$2(r,o,this)}toDate(r,o={}){const a=new Date(NaN);let u=a;const{fillDate:d,mask:g,patch:v,rules:y}=o;if(isNumber_1(r)?(o.type="number",u=new Date(+r)):isString_1(r)?(o.type="string",u=r?parseDate$2(r,g||"iso",this):a):isDate$2(r)?(o.type="date",u=new Date(r.getTime())):isDateParts(r)&&(o.type="object",u=this.getDateFromParts(r)),u&&(v||y)){let A=this.getDateParts(u);if(v&&d!=null){const b=this.getDateParts(this.toDate(d));A=this.getDateParts(this.toDate({...b,...pick$1(A,DatePatchKeys[v])}))}y&&(A=applyRulesForDateParts(A,y)),u=this.getDateFromParts(A)}return u||a}toDateOrNull(r,o={}){const a=this.toDate(r,o);return isNaN(a.getTime())?null:a}fromDate(r,{type:o,mask:a}={}){switch(o){case"number":return r?r.getTime():NaN;case"string":return r?this.formatDate(r,a||"iso"):"";case"object":return r?this.getDateParts(r):null;default:return r?new Date(r):null}}range(r){return DateRange.from(r,this)}ranges(r){return DateRange.fromMany(r,this)}getDateParts(r){return getDateParts(r,this)}getDateFromParts(r){return getDateFromParts(r,this.timezone)}getDateFromParams(r,o,a,u,d,g,v){return this.getDateFromParts({year:r,month:o,day:a,hours:u,minutes:d,seconds:g,milliseconds:v})}getPage(r){const o=this.pageCache.getOrSet(r,this);return getPage(r,o)}getMonthParts(r,o){const{firstDayOfWeek:a}=this;return this.monthCache.getOrSet(r,o,a)}getThisMonthParts(){const r=new Date;return this.getMonthParts(r.getMonth()+1,r.getFullYear())}getPrevMonthParts(r,o){return r===1?this.getMonthParts(12,o-1):this.getMonthParts(r-1,o)}getNextMonthParts(r,o){return r===12?this.getMonthParts(1,o+1):this.getMonthParts(r+1,o)}getHourLabels(){return getHourDates().map(r=>this.formatDate(r,this.masks.hours))}getDayId(r){return this.formatDate(r,"YYYY-MM-DD")}}var GroupRuleType=(t=>(t.Any="any",t.All="all",t))(GroupRuleType||{}),IntervalRuleType=(t=>(t.Days="days",t.Weeks="weeks",t.Months="months",t.Years="years",t))(IntervalRuleType||{}),ComponentRuleType=(t=>(t.Days="days",t.Weekdays="weekdays",t.Weeks="weeks",t.Months="months",t.Years="years",t))(ComponentRuleType||{}),OrdinalComponentRuleType=(t=>(t.OrdinalWeekdays="ordinalWeekdays",t))(OrdinalComponentRuleType||{});class IntervalRule{constructor(r,o,a){__publicField(this,"validated",!0),this.type=r,this.interval=o,this.from=a,this.from||(console.error('A valid "from" date is required for date interval rule. This rule will be skipped.'),this.validated=!1)}passes(r){if(!this.validated)return!0;const{date:o}=r;switch(this.type){case"days":return diffInDays(this.from.date,o)%this.interval===0;case"weeks":return diffInWeeks(this.from.date,o)%this.interval===0;case"months":return diffInMonths(this.from.date,o)%this.interval===0;case"years":return diffInYears(this.from.date,o)%this.interval===0;default:return!1}}}class ComponentRule{constructor(r,o,a,u){__publicField(this,"components",[]),this.type=r,this.validator=a,this.getter=u,this.components=this.normalizeComponents(o)}static create(r,o){switch(r){case"days":return new DaysRule(o);case"weekdays":return new WeekdaysRule(o);case"weeks":return new WeeksRule(o);case"months":return new MonthsRule(o);case"years":return new YearsRule(o)}}normalizeComponents(r){if(this.validator(r))return[r];if(!isArray$d(r))return[];const o=[];return r.forEach(a=>{if(!this.validator(a)){console.error(`Component value ${a} in invalid for "${this.type}" rule. This rule will be skipped.`);return}o.push(a)}),o}passes(r){return this.getter(r).some(u=>this.components.includes(u))}}class DaysRule extends ComponentRule{constructor(r){super("days",r,isDayInMonth,({day:o,dayFromEnd:a})=>[o,-a])}}class WeekdaysRule extends ComponentRule{constructor(r){super("weekdays",r,isDayOfWeek,({weekday:o})=>[o])}}class WeeksRule extends ComponentRule{constructor(r){super("weeks",r,isWeekInMonth,({week:o,weekFromEnd:a})=>[o,-a])}}class MonthsRule extends ComponentRule{constructor(r){super("months",r,isMonthInYear,({month:o})=>[o])}}class YearsRule extends ComponentRule{constructor(r){super("years",r,isNumber_1,({year:o})=>[o])}}class OrdinalComponentRule{constructor(r,o){__publicField(this,"components"),this.type=r,this.components=this.normalizeComponents(o)}normalizeArrayConfig(r){const o=[];return r.forEach((a,u)=>{if(isNumber_1(a)){if(u===0)return;if(!isOrdinalWeekInMonth(r[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!isDayOfWeek(a)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}o.push([r[0],a])}else isArray$d(a)&&o.push(...this.normalizeArrayConfig(a))}),o}normalizeComponents(r){const o=[];return r.forEach((a,u)=>{if(isNumber_1(a)){if(u===0)return;if(!isOrdinalWeekInMonth(r[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!isDayOfWeek(a)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}o.push([r[0],a])}else isArray$d(a)&&o.push(...this.normalizeArrayConfig(a))}),o}passes(r){const{weekday:o,weekdayOrdinal:a,weekdayOrdinalFromEnd:u}=r;return this.components.some(([d,g])=>(d===a||d===-u)&&o===g)}}class FunctionRule{constructor(r){__publicField(this,"type","function"),__publicField(this,"validated",!0),this.fn=r,isFunction_1(r)||(console.error("The function rule requires a valid function. This rule will be skipped."),this.validated=!1)}passes(r){return this.validated?this.fn(r):!0}}class DateRepeat{constructor(r,o={},a){__publicField(this,"validated",!0),__publicField(this,"config"),__publicField(this,"type",GroupRuleType.Any),__publicField(this,"from"),__publicField(this,"until"),__publicField(this,"rules",[]),__publicField(this,"locale",new Locale$1),this.parent=a,o.locale&&(this.locale=o.locale),this.config=r,isFunction_1(r)?(this.type=GroupRuleType.All,this.rules=[new FunctionRule(r)]):isArray$d(r)?(this.type=GroupRuleType.Any,this.rules=r.map(u=>new DateRepeat(u,o,this))):isObject$b(r)?(this.type=GroupRuleType.All,this.from=r.from?this.locale.getDateParts(r.from):a==null?void 0:a.from,this.until=r.until?this.locale.getDateParts(r.until):a==null?void 0:a.until,this.rules=this.getObjectRules(r)):(console.error("Rule group configuration must be an object or an array."),this.validated=!1)}getObjectRules(r){const o=[];if(r.every&&(isString_1(r.every)&&(r.every=[1,`${r.every}s`]),isArray$d(r.every))){const[a=1,u=IntervalRuleType.Days]=r.every;o.push(new IntervalRule(u,a,this.from))}return Object.values(ComponentRuleType).forEach(a=>{a in r&&o.push(ComponentRule.create(a,r[a]))}),Object.values(OrdinalComponentRuleType).forEach(a=>{a in r&&o.push(new OrdinalComponentRule(a,r[a]))}),r.on!=null&&(isArray$d(r.on)||(r.on=[r.on]),o.push(new DateRepeat(r.on,{locale:this.locale},this.parent))),o}passes(r){return this.validated?this.from&&r.dayIndex<=this.from.dayIndex||this.until&&r.dayIndex>=this.until.dayIndex?!1:this.type===GroupRuleType.Any?this.rules.some(o=>o.passes(r)):this.rules.every(o=>o.passes(r)):!0}}function isDayInMonth(t){return isNumber_1(t)?t>=1&&t<=31:!1}function isDayOfWeek(t){return isNumber_1(t)?t>=1&&t<=7:!1}function isWeekInMonth(t){return isNumber_1(t)?t>=-6&&t<=-1||t>=1&&t<=6:!1}function isMonthInYear(t){return isNumber_1(t)?t>=1&&t<=12:!1}function isOrdinalWeekInMonth(t){return!(!isNumber_1(t)||t<-5||t>5||t===0)}const DatePatchKeys={dateTime:["year","month","day","hours","minutes","seconds","milliseconds"],date:["year","month","day"],time:["hours","minutes","seconds","milliseconds"]},daysInWeek=7,weeksInMonth=6,MS_PER_SECOND=1e3,MS_PER_MINUTE=MS_PER_SECOND*60,MS_PER_HOUR=MS_PER_MINUTE*60,MS_PER_DAY=MS_PER_HOUR*24,daysInMonths=[31,28,31,30,31,30,31,31,30,31,30,31],maskMacros=["L","iso"],DATE_PART_RANGES={milliseconds:[0,999,3],seconds:[0,59,2],minutes:[0,59,2],hours:[0,23,2]},token=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,literal=/\[([^]*?)\]/gm,formatFlags={D(t){return t.day},DD(t){return pad$1(t.day,2)},d(t){return t.weekday-1},dd(t){return pad$1(t.weekday-1,2)},W(t,r){return r.dayNamesNarrow[t.weekday-1]},WW(t,r){return r.dayNamesShorter[t.weekday-1]},WWW(t,r){return r.dayNamesShort[t.weekday-1]},WWWW(t,r){return r.dayNames[t.weekday-1]},M(t){return t.month},MM(t){return pad$1(t.month,2)},MMM(t,r){return r.monthNamesShort[t.month-1]},MMMM(t,r){return r.monthNames[t.month-1]},YY(t){return String(t.year).substr(2)},YYYY(t){return pad$1(t.year,4)},h(t){return t.hours%12||12},hh(t){return pad$1(t.hours%12||12,2)},H(t){return t.hours},HH(t){return pad$1(t.hours,2)},m(t){return t.minutes},mm(t){return pad$1(t.minutes,2)},s(t){return t.seconds},ss(t){return pad$1(t.seconds,2)},S(t){return Math.round(t.milliseconds/100)},SS(t){return pad$1(Math.round(t.milliseconds/10),2)},SSS(t){return pad$1(t.milliseconds,3)},a(t,r){return t.hours<12?r.amPm[0]:r.amPm[1]},A(t,r){return t.hours<12?r.amPm[0].toUpperCase():r.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60),2)}`},ZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4)}`},ZZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${pad$1(Math.floor(Math.abs(r)/60),2)}:${pad$1(Math.abs(r)%60,2)}`}},twoDigits=/\d\d?/,threeDigits=/\d{3}/,fourDigits=/\d{4}/,word=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,noop$1=()=>{},monthUpdate=t=>(r,o,a)=>{const u=a[t].indexOf(o.charAt(0).toUpperCase()+o.substr(1).toLowerCase());~u&&(r.month=u)},parseFlags={D:[twoDigits,(t,r)=>{t.day=r}],Do:[new RegExp(twoDigits.source+word.source),(t,r)=>{t.day=parseInt(r,10)}],d:[twoDigits,noop$1],W:[word,noop$1],M:[twoDigits,(t,r)=>{t.month=r-1}],MMM:[word,monthUpdate("monthNamesShort")],MMMM:[word,monthUpdate("monthNames")],YY:[twoDigits,(t,r)=>{const a=+new Date().getFullYear().toString().substr(0,2);t.year=+`${r>68?a-1:a}${r}`}],YYYY:[fourDigits,(t,r)=>{t.year=r}],S:[/\d/,(t,r)=>{t.milliseconds=r*100}],SS:[/\d{2}/,(t,r)=>{t.milliseconds=r*10}],SSS:[threeDigits,(t,r)=>{t.milliseconds=r}],h:[twoDigits,(t,r)=>{t.hours=r}],m:[twoDigits,(t,r)=>{t.minutes=r}],s:[twoDigits,(t,r)=>{t.seconds=r}],a:[word,(t,r,o)=>{const a=r.toLowerCase();a===o.amPm[0]?t.isPm=!1:a===o.amPm[1]&&(t.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,(t,r)=>{r==="Z"&&(r="+00:00");const o=`${r}`.match(/([+-]|\d\d)/gi);if(o){const a=+o[1]*60+parseInt(o[2],10);t.timezoneOffset=o[0]==="+"?a:-a}}]};parseFlags.DD=parseFlags.D;parseFlags.dd=parseFlags.d;parseFlags.WWWW=parseFlags.WWW=parseFlags.WW=parseFlags.W;parseFlags.MM=parseFlags.M;parseFlags.mm=parseFlags.m;parseFlags.hh=parseFlags.H=parseFlags.HH=parseFlags.h;parseFlags.ss=parseFlags.s;parseFlags.A=parseFlags.a;parseFlags.ZZZZ=parseFlags.ZZZ=parseFlags.ZZ=parseFlags.Z;function normalizeMasks(t,r){return(arrayHasItems(t)&&t||[isString_1(t)&&t||"YYYY-MM-DD"]).map(o=>maskMacros.reduce((a,u)=>a.replace(u,r.masks[u]||""),o))}function isDateParts(t){return isObject$b(t)&&"year"in t&&"month"in t&&"day"in t}function startOfWeek(t,r=1){const o=t.getDay()+1,a=o>=r?r-o:-(7-(r-o));return addDays(t,a)}function getDayIndex(t,r,o){const a=Date.UTC(t,r-1,o);return diffInDays(new Date(0),new Date(a))}function diffInDays(t,r){return Math.round((r.getTime()-t.getTime())/MS_PER_DAY)}function diffInWeeks(t,r){return Math.ceil(diffInDays(startOfWeek(t),startOfWeek(r))/7)}function diffInYears(t,r){return r.getUTCFullYear()-t.getUTCFullYear()}function diffInMonths(t,r){return diffInYears(t,r)*12+(r.getMonth()-t.getMonth())}function getDateFromParts(t,r=""){const o=new Date,{year:a=o.getFullYear(),month:u=o.getMonth()+1,day:d=o.getDate(),hours:g=0,minutes:v=0,seconds:y=0,milliseconds:A=0}=t;if(r){const b=`${pad$1(a,4)}-${pad$1(u,2)}-${pad$1(d,2)}T${pad$1(g,2)}:${pad$1(v,2)}:${pad$1(y,2)}.${pad$1(A,3)}`;return toDate$1(b,{timeZone:r})}return new Date(a,u-1,d,g,v,y,A)}function getDateParts(t,r){let o=new Date(t.getTime());r.timezone&&(o=new Date(t.toLocaleString("en-US",{timeZone:r.timezone})),o.setMilliseconds(t.getMilliseconds()));const a=o.getMilliseconds(),u=o.getSeconds(),d=o.getMinutes(),g=o.getHours(),v=a+u*MS_PER_SECOND+d*MS_PER_MINUTE+g*MS_PER_HOUR,y=o.getMonth()+1,A=o.getFullYear(),b=r.getMonthParts(y,A),_=o.getDate(),w=b.numDays-_+1,S=o.getDay()+1,C=Math.floor((_-1)/7+1),T=Math.floor((b.numDays-_)/7+1),I=Math.ceil((_+Math.abs(b.firstWeekday-b.firstDayOfWeek))/7),E=b.numWeeks-I+1,F=b.weeknumbers[I],O=getDayIndex(A,y,_);return{milliseconds:a,seconds:u,minutes:d,hours:g,time:v,day:_,dayFromEnd:w,weekday:S,weekdayOrdinal:C,weekdayOrdinalFromEnd:T,week:I,weekFromEnd:E,weeknumber:F,month:y,year:A,date:o,dateTime:o.getTime(),dayIndex:O,timezoneOffset:0,isValid:!0}}function getMonthPartsKey(t,r,o){return`${r}-${t}-${o}`}function getMonthParts(t,r,o){const a=r%4===0&&r%100!==0||r%400===0,u=new Date(r,t-1,1),d=u.getDay()+1,g=t===2&&a?29:daysInMonths[t-1],v=o-1,y=getWeeksInMonth(u,{weekStartsOn:v}),A=[],b=[];for(let _=0;_o.format(a))}function getHourDates(){const t=[];for(let r=0;r<=24;r++)t.push(new Date(2e3,0,1,r));return t}function getRelativeTimeNames(t=void 0){const r=["second","minute","hour","day","week","month","quarter","year"],o=new Intl.RelativeTimeFormat(t);return r.reduce((a,u)=>{const d=o.formatToParts(100,u);return a[u]=d[1].unit,a},{})}function getMonthDates(){const t=[];for(let r=0;r<12;r++)t.push(new Date(2e3,r,15));return t}function getMonthNames(t,r=void 0){const o=new Intl.DateTimeFormat(r,{month:t,timeZone:"UTC"});return getMonthDates().map(a=>o.format(a))}function datePartIsValid(t,r,o){return isNumber_1(r)?r===t:isArray$d(r)?r.includes(t):isFunction_1(r)?r(t,o):!(r.min!=null&&r.min>t||r.max!=null&&r.max{if(v.disabled)return g;if(isNaN(g))return v.value;const y=Math.abs(g-o);return Math.abs(v.value-o){const d=DATE_PART_RANGES[a],g=t[a];o[a]=getNearestDatePart(t,d,g,u)}),o}function parseDate$2(t,r,o){return normalizeMasks(r,o).map(u=>{if(typeof u!="string")throw new Error("Invalid mask");let d=t;if(d.length>1e3)return!1;let g=!0;const v={};if(u.replace(token,b=>{if(parseFlags[b]){const _=parseFlags[b],w=d.search(_[0]);~w?d.replace(_[0],S=>(_[1](v,S,o),d=d.substr(w+S.length),S)):g=!1}return parseFlags[b]?"":b.slice(1,b.length-1)}),!g)return!1;const y=new Date;v.hours!=null&&(v.isPm===!0&&+v.hours!=12?v.hours=+v.hours+12:v.isPm===!1&&+v.hours==12&&(v.hours=0));let A;return v.timezoneOffset!=null?(v.minutes=+(v.minutes||0)-+v.timezoneOffset,A=new Date(Date.UTC(v.year||y.getFullYear(),v.month||0,v.day||1,v.hours||0,v.minutes||0,v.seconds||0,v.milliseconds||0))):A=o.getDateFromParts({year:v.year||y.getFullYear(),month:(v.month||0)+1,day:v.day||1,hours:v.hours||0,minutes:v.minutes||0,seconds:v.seconds||0,milliseconds:v.milliseconds||0}),A}).find(u=>u)||new Date(t)}function formatDate(t,r,o){if(t==null)return"";let a=normalizeMasks(r,o)[0];/Z$/.test(a)&&(o.timezone="utc");const u=[];a=a.replace(literal,(g,v)=>(u.push(v),"??"));const d=o.getDateParts(t);return a=a.replace(token,g=>g in formatFlags?formatFlags[g](d,o):g.slice(1,g.length-1)),a.replace(/\?\?/g,()=>u.shift())}let attrKey=0;class Attribute{constructor(r,o,a){__publicField(this,"key",""),__publicField(this,"hashcode",""),__publicField(this,"highlight",null),__publicField(this,"content",null),__publicField(this,"dot",null),__publicField(this,"bar",null),__publicField(this,"event",null),__publicField(this,"popover",null),__publicField(this,"customData",null),__publicField(this,"ranges"),__publicField(this,"hasRanges",!1),__publicField(this,"order",0),__publicField(this,"pinPage",!1),__publicField(this,"maxRepeatSpan",0),__publicField(this,"locale");const{dates:u}=Object.assign(this,{hashcode:"",order:0,pinPage:!1},r);this.key||(this.key=++attrKey),this.locale=a,o.normalizeGlyphs(this),this.ranges=a.ranges(u!=null?u:[]),this.hasRanges=!!arrayHasItems(this.ranges),this.maxRepeatSpan=this.ranges.filter(d=>d.hasRepeat).map(d=>d.daySpan).reduce((d,g)=>Math.max(d,g),0)}intersectsRange({start:r,end:o}){if(r==null||o==null)return!1;const a=this.ranges.filter(g=>!g.hasRepeat);for(const g of a)if(g.intersectsDayRange(r.dayIndex,o.dayIndex))return!0;const u=this.ranges.filter(g=>g.hasRepeat);if(!u.length)return!1;let d=r;for(this.maxRepeatSpan>1&&(d=this.locale.getDateParts(addDays(d.date,-this.maxRepeatSpan)));d.dayIndex<=o.dayIndex;){for(const g of u)if(g.startsOnDay(d))return!0;d=this.locale.getDateParts(addDays(d.date,1))}return!1}}function showPopover(t){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:t}))}function hidePopover(t){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:t}))}function togglePopover(t){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:t}))}function getPopoverEventHandlers(t){const{visibility:r}=t,o=r==="click",a=r==="hover",u=r==="hover-focus",d=r==="focus";t.autoHide=!o;let g=!1,v=!1;const y=C=>{o&&(togglePopover({...t,target:t.target||C.currentTarget}),C.stopPropagation())},A=C=>{g||(g=!0,(a||u)&&showPopover({...t,target:t.target||C.currentTarget}))},b=()=>{g&&(g=!1,(a||u&&!v)&&hidePopover(t))},_=C=>{v||(v=!0,(d||u)&&showPopover({...t,target:t.target||C.currentTarget}))},w=C=>{v&&!elementContains(C.currentTarget,C.relatedTarget)&&(v=!1,(d||u&&!g)&&hidePopover(t))},S={};switch(t.visibility){case"click":S.click=y;break;case"hover":S.mousemove=A,S.mouseleave=b;break;case"focus":S.focusin=_,S.focusout=w;break;case"hover-focus":S.mousemove=A,S.mouseleave=b,S.focusin=_,S.focusout=w;break}return S}const removeHandlers=t=>{const r=resolveEl(t);if(r==null)return;const o=r.popoverHandlers;!o||!o.length||(o.forEach(a=>a()),delete r.popoverHandlers)},addHandlers=(t,r)=>{const o=resolveEl(t);if(o==null)return;const a=[],u=getPopoverEventHandlers(r);Object.entries(u).forEach(([d,g])=>{a.push(on(o,d,g))}),o.popoverHandlers=a},popoverDirective={mounted(t,r){const{value:o}=r;!o||addHandlers(t,o)},updated(t,r){const{oldValue:o,value:a}=r,u=o==null?void 0:o.visibility,d=a==null?void 0:a.visibility;u!==d&&(u&&(removeHandlers(t),d||hidePopover(o)),d&&addHandlers(t,a))},unmounted(t){removeHandlers(t)}},addHorizontalSwipeHandler=(t,r,{maxSwipeTime:o,minHorizontalSwipeDistance:a,maxVerticalSwipeDistance:u})=>{if(!t||!t.addEventListener||!isFunction_1(r))return null;let d=0,g=0,v=null,y=!1;function A(_){const w=_.changedTouches[0];d=w.screenX,g=w.screenY,v=new Date().getTime(),y=!0}function b(_){if(!y||!v)return;y=!1;const w=_.changedTouches[0],S=w.screenX-d,C=w.screenY-g;if(new Date().getTime()-v=a&&Math.abs(C)<=u){const I={toLeft:!1,toRight:!1};S<0?I.toLeft=!0:I.toRight=!0,r(I)}}return on(t,"touchstart",A,{passive:!0}),on(t,"touchend",b,{passive:!0}),()=>{off(t,"touchstart",A),off(t,"touchend",b)}},watchSkippers={},skipWatcher=(t,r=10)=>{watchSkippers[t]=Date.now()+r},handleWatcher=(t,r)=>{if(t in watchSkippers){const o=watchSkippers[t];if(Date.now()r.value?"dark":"light");let a,u;function d(S){r.value=S.matches}function g(){windowHasFeature("matchMedia")&&(a=window.matchMedia("(prefers-color-scheme: dark)"),a.addEventListener("change",d),r.value=a.matches)}function v(){const{selector:S=":root",darkClass:C="dark"}=t.value,T=document.querySelector(S);r.value=T.classList.contains(C)}function y(S){const{selector:C=":root",darkClass:T="dark"}=S;if(windowExists()&&C&&T){const I=document.querySelector(C);I&&(u=new MutationObserver(v),u.observe(I,{attributes:!0,attributeFilter:["class"]}),r.value=I.classList.contains(T))}}function A(){_();const S=typeof t.value;S==="string"&&t.value.toLowerCase()==="system"?g():S==="object"?y(t.value):r.value=!!t.value}const b=watch(()=>t.value,()=>A(),{immediate:!0});function _(){a&&(a.removeEventListener("change",d),a=void 0),u&&(u.disconnect(),u=void 0)}function w(){_(),b()}return onUnmounted(()=>w()),{isDark:r,displayMode:o,cleanup:w}}const targetProps=["base","start","end","startEnd"],displayProps=["class","wrapperClass","contentClass","style","contentStyle","color","fillMode"],_defaultProfile={base:{},start:{},end:{}};function normalizeConfig(t,r,o=_defaultProfile){let a=t,u={};r===!0||isString_1(r)?(a=isString_1(r)?r:a,u={...o}):isObject$b(r)&&(hasAny(r,targetProps)?u={...r}:u={base:{...r},start:{...r},end:{...r}});const d=defaultsDeep_1(u,{start:u.startEnd,end:u.startEnd},o);return Object.entries(d).forEach(([g,v])=>{let y=a;v===!0||isString_1(v)?(y=isString_1(v)?v:y,d[g]={color:y}):isObject$b(v)&&(hasAny(v,displayProps)?d[g]={...v}:d[g]={}),defaultsDeep_1(d[g],{color:y})}),d}class HighlightRenderer{constructor(){__publicField(this,"type","highlight")}normalizeConfig(r,o){return normalizeConfig(r,o,{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}})}prepareRender(r){r.highlights=[],r.content||(r.content=[])}render({data:r,onStart:o,onEnd:a},u){const{key:d,highlight:g}=r;if(!g)return;const{highlights:v}=u,{base:y,start:A,end:b}=g;o&&a?v.push({...A,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${A.color}`,class:[`vc-highlight vc-highlight-bg-${A.fillMode}`,A.class],contentClass:[`vc-attr vc-highlight-content-${A.fillMode} vc-${A.color}`,A.contentClass]}):o?(v.push({...y,key:`${d}-base`,wrapperClass:`vc-day-layer vc-day-box-right-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-start vc-highlight-bg-${y.fillMode}`,y.class]}),v.push({...A,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${A.color}`,class:[`vc-highlight vc-highlight-bg-${A.fillMode}`,A.class],contentClass:[`vc-attr vc-highlight-content-${A.fillMode} vc-${A.color}`,A.contentClass]})):a?(v.push({...y,key:`${d}-base`,wrapperClass:`vc-day-layer vc-day-box-left-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-end vc-highlight-bg-${y.fillMode}`,y.class]}),v.push({...b,key:d,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${b.color}`,class:[`vc-highlight vc-highlight-bg-${b.fillMode}`,b.class],contentClass:[`vc-attr vc-highlight-content-${b.fillMode} vc-${b.color}`,b.contentClass]})):v.push({...y,key:`${d}-middle`,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${y.color}`,class:[`vc-highlight vc-highlight-base-middle vc-highlight-bg-${y.fillMode}`,y.class],contentClass:[`vc-attr vc-highlight-content-${y.fillMode} vc-${y.color}`,y.contentClass]})}}class BaseRenderer{constructor(r,o){__publicField(this,"type",""),__publicField(this,"collectionType",""),this.type=r,this.collectionType=o}normalizeConfig(r,o){return normalizeConfig(r,o)}prepareRender(r){r[this.collectionType]=[]}render({data:r,onStart:o,onEnd:a},u){const{key:d}=r,g=r[this.type];if(!d||!g)return;const v=u[this.collectionType],{base:y,start:A,end:b}=g;o?v.push({...A,key:d,class:[`vc-${this.type} vc-${this.type}-start vc-${A.color} vc-attr`,A.class]}):a?v.push({...b,key:d,class:[`vc-${this.type} vc-${this.type}-end vc-${b.color} vc-attr`,b.class]}):v.push({...y,key:d,class:[`vc-${this.type} vc-${this.type}-base vc-${y.color} vc-attr`,y.class]})}}class ContentRenderer extends BaseRenderer{constructor(){super("content","content")}normalizeConfig(r,o){return normalizeConfig("base",o)}}class DotRenderer extends BaseRenderer{constructor(){super("dot","dots")}}class BarRenderer extends BaseRenderer{constructor(){super("bar","bars")}}class Theme{constructor(r){__publicField(this,"color"),__publicField(this,"renderers",[new ContentRenderer,new HighlightRenderer,new DotRenderer,new BarRenderer]),this.color=r}normalizeGlyphs(r){this.renderers.forEach(o=>{const a=o.type;r[a]!=null&&(r[a]=o.normalizeConfig(this.color,r[a]))})}prepareRender(r={}){return this.renderers.forEach(o=>{o.prepareRender(r)}),r}render(r,o){this.renderers.forEach(a=>{a.render(r,o)})}}const contextKey$4=Symbol("__vc_base_context__"),propsDef$2={color:{type:String,default:()=>getDefault("color")},isDark:{type:[Boolean,String,Object],default:()=>getDefault("isDark")},firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,disabledDates:null};function createBase(t){const r=computed(()=>{var w;return(w=t.color)!=null?w:""}),o=computed(()=>{var w;return(w=t.isDark)!=null?w:!1}),{displayMode:a}=useDarkMode(o),u=computed(()=>new Theme(r.value)),d=computed(()=>{if(t.locale instanceof Locale$1)return t.locale;const w=isObject$b(t.locale)?t.locale:{id:t.locale,firstDayOfWeek:t.firstDayOfWeek,masks:t.masks};return new Locale$1(w,t.timezone)}),g=computed(()=>d.value.masks),v=computed(()=>t.minDate),y=computed(()=>t.maxDate),A=computed(()=>{const w=t.disabledDates?[...t.disabledDates]:[];return v.value!=null&&w.push({start:null,end:addDays(d.value.toDate(v.value),-1)}),y.value!=null&&w.push({start:addDays(d.value.toDate(y.value),1),end:null}),d.value.ranges(w)}),b=computed(()=>new Attribute({key:"disabled",dates:A.value,order:100},u.value,d.value)),_={color:r,isDark:o,displayMode:a,theme:u,locale:d,masks:g,minDate:v,maxDate:y,disabledDates:A,disabledAttribute:b};return provide(contextKey$4,_),_}function useOrCreateBase(t){return inject(contextKey$4,()=>createBase(t),!0)}function contextKey$3(t){return`__vc_slot_${t}__`}function provideSlots(t,r={}){Object.keys(t).forEach(o=>{var a;provide(contextKey$3((a=r[o])!=null?a:o),t[o])})}function useSlot(t){return inject(contextKey$3(t),null)}const propsDef$1={...propsDef$2,view:{type:String,default:"monthly",validator(t){return["daily","weekly","monthly"].includes(t)}},rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:{type:String,default:()=>getDefault("titlePosition")},navVisibility:{type:String,default:()=>getDefault("navVisibility")},showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String],expanded:Boolean,borderless:Boolean,transparent:Boolean,initialPage:Object,initialPagePosition:{type:Number,default:1},minPage:Object,maxPage:Object,transition:String,attributes:Array,trimWeeks:Boolean,disablePageSwipe:Boolean},emitsDef=["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown","weeknumberclick","transition-start","transition-end","did-move","update:view","update:pages"],contextKey$2=Symbol("__vc_calendar_context__");function createCalendar(t,{slots:r,emit:o}){const a=ref(null),u=ref(null),d=ref(new Date().getDate()),g=ref(!1),v=ref(Symbol()),y=ref(Symbol()),A=ref(t.view),b=ref([]),_=ref("");let w=null,S=null;provideSlots(r);const{theme:C,color:T,displayMode:I,locale:E,masks:F,minDate:O,maxDate:D,disabledAttribute:x,disabledDates:P}=useOrCreateBase(t),G=computed(()=>t.rows*t.columns),M=computed(()=>t.step||G.value),N=computed(()=>{var Xe;return(Xe=head_1(b.value))!=null?Xe:null}),V=computed(()=>{var Xe;return(Xe=last_1(b.value))!=null?Xe:null}),Z=computed(()=>t.minPage||(O.value?se(O.value):null)),H=computed(()=>t.maxPage||(D.value?se(D.value):null)),B=computed(()=>t.navVisibility),z=computed(()=>!!t.showWeeknumbers),U=computed(()=>!!t.showIsoWeeknumbers),Q=computed(()=>A.value==="monthly"),X=computed(()=>A.value==="weekly"),J=computed(()=>A.value==="daily"),ne=()=>{g.value=!0,o("transition-start")},te=()=>{g.value=!1,o("transition-end"),w&&(w.resolve(!0),w=null)},ce=(Xe,dt,Re=A.value)=>addPages(Xe,dt,Re,E.value),se=Xe=>getPageAddressForDate(Xe,A.value,E.value),ge=Xe=>{!x.value||!ve.value||(Xe.isDisabled=ve.value.cellExists(x.value.key,Xe.dayIndex))},he=Xe=>{Xe.isFocusable=Xe.inMonth&&Xe.day===d.value},ye=(Xe,dt)=>{for(const Re of Xe)for(const Ye of Re.days)if(dt(Ye)===!1)return},ee=computed(()=>b.value.reduce((Xe,dt)=>(Xe.push(...dt.viewDays),Xe),[])),pe=computed(()=>{const Xe=[];return(t.attributes||[]).forEach((dt,Re)=>{!dt||!dt.dates||Xe.push(new Attribute({...dt,order:dt.order||0},C.value,E.value))}),x.value&&Xe.push(x.value),Xe}),ae=computed(()=>arrayHasItems(pe.value)),ve=computed(()=>{const Xe=new DateRangeContext;return pe.value.forEach(dt=>{dt.ranges.forEach(Re=>{Xe.render(dt,Re,ee.value)})}),Xe}),we=computed(()=>ee.value.reduce((Xe,dt)=>(Xe[dt.dayIndex]={day:dt,cells:[]},Xe[dt.dayIndex].cells.push(...ve.value.getCells(dt)),Xe),{})),_e=(Xe,dt)=>{const Re=t.showWeeknumbers||t.showIsoWeeknumbers;return Re==null?"":isBoolean_1(Re)?Re?"left":"":Re.startsWith("right")?dt>1?"right":Re:Xe>1?"left":Re},Te=()=>{var Xe,dt;if(!ae.value)return null;const Re=pe.value.find(mt=>mt.pinPage)||pe.value[0];if(!Re||!Re.hasRanges)return null;const[Ye]=Re.ranges,at=((Xe=Ye.start)==null?void 0:Xe.date)||((dt=Ye.end)==null?void 0:dt.date);return at?se(at):null},Ce=()=>{if(pageIsValid(N.value))return N.value;const Xe=Te();return pageIsValid(Xe)?Xe:se(new Date)},Ae=(Xe,dt={})=>{const{view:Re=A.value,position:Ye=1,force:at}=dt,mt=Ye>0?1-Ye:-(G.value+Ye);let St=ce(Xe,mt,Re),Rt=ce(St,G.value-1,Re);return at||(pageIsBeforePage(St,Z.value)?St=Z.value:pageIsAfterPage(Rt,H.value)&&(St=ce(H.value,1-G.value)),Rt=ce(St,G.value-1)),{fromPage:St,toPage:Rt}},Ee=(Xe,dt,Re="")=>{if(Re==="none"||Re==="fade")return Re;if((Xe==null?void 0:Xe.view)!==(dt==null?void 0:dt.view))return"fade";const Ye=pageIsAfterPage(dt,Xe),at=pageIsBeforePage(dt,Xe);return!Ye&&!at?"fade":Re==="slide-v"?at?"slide-down":"slide-up":at?"slide-right":"slide-left"},le=(Xe={})=>new Promise((dt,Re)=>{const{position:Ye=1,force:at=!1,transition:mt}=Xe,St=pageIsValid(Xe.page)?Xe.page:Ce(),{fromPage:Rt}=Ae(St,{position:Ye,force:at}),Oe=[];for(let We=0;We{var Re;const dt=(Re=N.value)!=null?Re:se(new Date);return ce(dt,Xe)},ue=(Xe,dt={})=>{const Re=pageIsValid(Xe)?Xe:se(Xe);return Object.assign(dt,Ae(Re,{...dt,force:!0})),pageRangeToArray(dt.fromPage,dt.toPage,A.value,E.value).map(at=>pageIsBetweenPages(at,Z.value,H.value)).some(at=>at)},be=(Xe,dt={})=>ue(re(Xe),dt),ie=computed(()=>be(-M.value)),oe=computed(()=>be(M.value)),me=async(Xe,dt={})=>!dt.force&&!ue(Xe,dt)?!1:(dt.fromPage&&!pageIsEqualToPage(dt.fromPage,N.value)&&(hidePopover({id:v.value,hideDelay:0}),dt.view&&(skipWatcher("view",10),A.value=dt.view),await le({...dt,page:dt.fromPage,position:1,force:!0}),o("did-move",b.value)),!0),Se=(Xe,dt={})=>me(re(Xe),dt),xe=()=>Se(-M.value),De=()=>Se(M.value),Pe=Xe=>{const dt=Q.value?".in-month":"",Re=`.id-${E.value.getDayId(Xe)}${dt}`,Ye=`${Re}.vc-focusable, ${Re} .vc-focusable`,at=a.value;if(at){const mt=at.querySelector(Ye);if(mt)return mt.focus(),!0}return!1},Be=async(Xe,dt={})=>Pe(Xe)?!0:(await me(Xe,dt),Pe(Xe)),ot=(Xe,dt)=>{d.value=Xe.day,o("dayclick",Xe,dt)},ct=(Xe,dt)=>{o("daymouseenter",Xe,dt)},_t=(Xe,dt)=>{o("daymouseleave",Xe,dt)},He=(Xe,dt)=>{d.value=Xe.day,u.value=Xe,Xe.isFocused=!0,o("dayfocusin",Xe,dt)},Ve=(Xe,dt)=>{u.value=null,Xe.isFocused=!1,o("dayfocusout",Xe,dt)},ke=(Xe,dt)=>{o("daykeydown",Xe,dt);const Re=Xe.noonDate;let Ye=null;switch(dt.key){case"ArrowLeft":{Ye=addDays(Re,-1);break}case"ArrowRight":{Ye=addDays(Re,1);break}case"ArrowUp":{Ye=addDays(Re,-7);break}case"ArrowDown":{Ye=addDays(Re,7);break}case"Home":{Ye=addDays(Re,-Xe.weekdayPosition+1);break}case"End":{Ye=addDays(Re,Xe.weekdayPositionFromEnd);break}case"PageUp":{dt.altKey?Ye=addYears(Re,-1):Ye=addMonths(Re,-1);break}case"PageDown":{dt.altKey?Ye=addYears(Re,1):Ye=addMonths(Re,1);break}}Ye&&(dt.preventDefault(),Be(Ye).catch())},Qe=Xe=>{const dt=u.value;dt!=null&&ke(dt,Xe)},yt=(Xe,dt)=>{o("weeknumberclick",Xe,dt)};le({page:t.initialPage,position:t.initialPagePosition}),onMounted(()=>{!t.disablePageSwipe&&a.value&&(S=addHorizontalSwipeHandler(a.value,({toLeft:Xe=!1,toRight:dt=!1})=>{Xe?De():dt&&xe()},getDefault("touch")))}),onUnmounted(()=>{b.value=[],S&&S()}),watch(()=>E.value,()=>{le()}),watch(()=>G.value,()=>le()),watch(()=>t.view,()=>A.value=t.view),watch(()=>A.value,()=>{handleWatcher("view",()=>{le()}),o("update:view",A.value)}),watch(()=>d.value,()=>{ye(b.value,Xe=>he(Xe))}),watchEffect(()=>{o("update:pages",b.value),ye(b.value,Xe=>{ge(Xe),he(Xe)})});const Ct={emit:o,containerRef:a,focusedDay:u,inTransition:g,navPopoverId:v,dayPopoverId:y,view:A,pages:b,transitionName:_,theme:C,color:T,displayMode:I,locale:E,masks:F,attributes:pe,disabledAttribute:x,disabledDates:P,attributeContext:ve,days:ee,dayCells:we,count:G,step:M,firstPage:N,lastPage:V,canMovePrev:ie,canMoveNext:oe,minPage:Z,maxPage:H,isMonthly:Q,isWeekly:X,isDaily:J,navVisibility:B,showWeeknumbers:z,showIsoWeeknumbers:U,getDateAddress:se,canMove:ue,canMoveBy:be,move:me,moveBy:Se,movePrev:xe,moveNext:De,onTransitionBeforeEnter:ne,onTransitionAfterEnter:te,tryFocusDate:Pe,focusDate:Be,onKeydown:Qe,onDayKeydown:ke,onDayClick:ot,onDayMouseenter:ct,onDayMouseleave:_t,onDayFocusin:He,onDayFocusout:Ve,onWeeknumberClick:yt};return provide(contextKey$2,Ct),Ct}function useCalendar(){const t=inject(contextKey$2);if(t)return t;throw new Error("Calendar context missing. Please verify this component is nested within a valid context provider.")}const _sfc_main$k$1=defineComponent({inheritAttrs:!1,emits:["before-show","after-show","before-hide","after-hide"],props:{id:{type:[Number,String,Symbol],required:!0},showDelay:{type:Number,default:0},hideDelay:{type:Number,default:110},boundarySelector:{type:String}},setup(t,{emit:r}){let o;const a=ref();let u=null,d=null;const g=reactive({isVisible:!1,target:null,data:null,transition:"slide-fade",placement:"bottom",direction:"",positionFixed:!1,modifiers:[],isInteractive:!0,visibility:"click",isHovered:!1,isFocused:!1,autoHide:!1,force:!1});function v(te){te&&(g.direction=te.split("-")[0])}function y({placement:te,options:ce}){v(te||(ce==null?void 0:ce.placement))}const A=computed(()=>({placement:g.placement,strategy:g.positionFixed?"fixed":"absolute",boundary:"",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:y},...g.modifiers||[]],onFirstUpdate:y})),b=computed(()=>{const te=g.direction==="left"||g.direction==="right";let ce="";if(g.placement){const se=g.placement.split("-");se.length>1&&(ce=se[1])}return["start","top","left"].includes(ce)?te?"top":"left":["end","bottom","right"].includes(ce)?te?"bottom":"right":te?"middle":"center"});function _(){d&&(d.destroy(),d=null)}function w(){nextTick(()=>{const te=resolveEl(g.target);!te||!a.value||(d&&d.state.elements.reference!==te&&_(),d?d.update():d=createPopper(te,a.value,A.value))})}function S(te){Object.assign(g,omit(te,"force"))}function C(te,ce){clearTimeout(o),te>0?o=setTimeout(ce,te):ce()}function T(te){return!te||!d?!1:resolveEl(te)===d.state.elements.reference}async function I(te={}){var ce;g.force||(te.force&&(g.force=!0),C((ce=te.showDelay)!=null?ce:t.showDelay,()=>{g.isVisible&&(g.force=!1),S({...te,isVisible:!0}),w()}))}function E(te={}){var ce;!d||te.target&&!T(te.target)||g.force||(te.force&&(g.force=!0),C((ce=te.hideDelay)!=null?ce:t.hideDelay,()=>{g.isVisible||(g.force=!1),g.isVisible=!1}))}function F(te={}){te.target!=null&&(g.isVisible&&T(te.target)?E(te):I(te))}function O(te){if(!d)return;const ce=d.state.elements.reference;if(!a.value||!ce)return;const se=te.target;elementContains(a.value,se)||elementContains(ce,se)||E({force:!0})}function D(te){(te.key==="Esc"||te.key==="Escape")&&E()}function x({detail:te}){!te.id||te.id!==t.id||I(te)}function P({detail:te}){!te.id||te.id!==t.id||E(te)}function G({detail:te}){!te.id||te.id!==t.id||F(te)}function M(){on(document,"keydown",D),on(document,"click",O),on(document,"show-popover",x),on(document,"hide-popover",P),on(document,"toggle-popover",G)}function N(){off(document,"keydown",D),off(document,"click",O),off(document,"show-popover",x),off(document,"hide-popover",P),off(document,"toggle-popover",G)}function V(te){r("before-show",te)}function Z(te){g.force=!1,r("after-show",te)}function H(te){r("before-hide",te)}function B(te){g.force=!1,_(),r("after-hide",te)}function z(te){te.stopPropagation()}function U(){g.isHovered=!0,g.isInteractive&&["hover","hover-focus"].includes(g.visibility)&&I()}function Q(){if(g.isHovered=!1,!d)return;const te=d.state.elements.reference;g.autoHide&&!g.isFocused&&(!te||te!==document.activeElement)&&["hover","hover-focus"].includes(g.visibility)&&E()}function X(){g.isFocused=!0,g.isInteractive&&["focus","hover-focus"].includes(g.visibility)&&I()}function J(te){["focus","hover-focus"].includes(g.visibility)&&(!te.relatedTarget||!elementContains(a.value,te.relatedTarget))&&(g.isFocused=!1,!g.isHovered&&g.autoHide&&E())}function ne(){u!=null&&(u.disconnect(),u=null)}return watch(()=>a.value,te=>{ne(),te&&(u=new ResizeObserver(()=>{d&&d.update()}),u.observe(te))}),watch(()=>g.placement,v,{immediate:!0}),onMounted(()=>{M()}),onUnmounted(()=>{_(),ne(),N()}),{...toRefs(g),popoverRef:a,alignment:b,hide:E,setupPopper:w,beforeEnter:V,afterEnter:Z,beforeLeave:H,afterLeave:B,onClick:z,onMouseOver:U,onMouseLeave:Q,onFocusIn:X,onFocusOut:J}}}),_export_sfc=(t,r)=>{const o=t.__vccOpts||t;for(const[a,u]of r)o[a]=u;return o};function _sfc_render$7$1(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-popover-content-wrapper",{"is-interactive":t.isInteractive}]),ref:"popoverRef",onClick:r[0]||(r[0]=(...g)=>t.onClick&&t.onClick(...g)),onMouseover:r[1]||(r[1]=(...g)=>t.onMouseOver&&t.onMouseOver(...g)),onMouseleave:r[2]||(r[2]=(...g)=>t.onMouseLeave&&t.onMouseLeave(...g)),onFocusin:r[3]||(r[3]=(...g)=>t.onFocusIn&&t.onFocusIn(...g)),onFocusout:r[4]||(r[4]=(...g)=>t.onFocusOut&&t.onFocusOut(...g))},[createVNode$1(Transition,{name:`vc-${t.transition}`,appear:"",onBeforeEnter:t.beforeEnter,onAfterEnter:t.afterEnter,onBeforeLeave:t.beforeLeave,onAfterLeave:t.afterLeave},{default:withCtx(()=>[t.isVisible?(openBlock(),createElementBlock("div",mergeProps({key:0,tabindex:"-1",class:`vc-popover-content direction-${t.direction}`},t.$attrs),[renderSlot(t.$slots,"default",{direction:t.direction,alignment:t.alignment,data:t.data,hide:t.hide},()=>[createTextVNode(toDisplayString$1(t.data),1)]),createBaseVNode("span",{class:normalizeClass(["vc-popover-caret",`direction-${t.direction}`,`align-${t.alignment}`])},null,2)],16)):createCommentVNode("",!0)]),_:3},8,["name","onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],34)}const Popover=_export_sfc(_sfc_main$k$1,[["render",_sfc_render$7$1]]),_hoisted_1$c$1={class:"vc-day-popover-row"},_hoisted_2$b$1={key:0,class:"vc-day-popover-row-indicator"},_hoisted_3$9$1={class:"vc-day-popover-row-label"},_sfc_main$j$1=defineComponent({__name:"PopoverRow",props:{attribute:null},setup(t){const r=t,o=computed(()=>{const{content:a,highlight:u,dot:d,bar:g,popover:v}=r.attribute;return v&&v.hideIndicator?null:a?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${a.base.color}`}:u?{class:`vc-highlight-bg-solid vc-day-popover-row-highlight vc-attr vc-${u.base.color}`}:d?{class:`vc-dot vc-attr vc-${d.base.color}`}:g?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${g.base.color}`}:null});return(a,u)=>(openBlock(),createElementBlock("div",_hoisted_1$c$1,[unref(o)?(openBlock(),createElementBlock("div",_hoisted_2$b$1,[createBaseVNode("span",{class:normalizeClass(unref(o).class)},null,2)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$9$1,[renderSlot(a.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(t.attribute.popover?t.attribute.popover.label:"No content provided"),1)])])]))}}),__default__$3={inheritAttrs:!1},_sfc_main$i$1=defineComponent({...__default__$3,__name:"CalendarSlot",props:{name:null},setup(t){const o=useSlot(t.name);return(a,u)=>unref(o)?(openBlock(),createBlock(resolveDynamicComponent(unref(o)),normalizeProps(mergeProps({key:0},a.$attrs)),null,16)):renderSlot(a.$slots,"default",{key:1})}}),_hoisted_1$b$1={class:"vc-day-popover-container"},_hoisted_2$a$1={key:0,class:"vc-day-popover-header"},_sfc_main$h$1=defineComponent({__name:"CalendarDayPopover",setup(t){const{dayPopoverId:r,displayMode:o,color:a,masks:u,locale:d}=useCalendar();function g(y,A){return d.value.formatDate(y,A)}function v(y){return d.value.formatDate(y.date,u.value.dayPopover)}return(y,A)=>(openBlock(),createBlock(Popover,{id:unref(r),class:normalizeClass([`vc-${unref(a)}`,`vc-${unref(o)}`])},{default:withCtx(({data:{day:b,attributes:_},hide:w})=>[createVNode$1(_sfc_main$i$1,{name:"day-popover",day:b,"day-title":v(b),attributes:_,format:g,masks:unref(u),hide:w},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$b$1,[unref(u).dayPopover?(openBlock(),createElementBlock("div",_hoisted_2$a$1,toDisplayString$1(v(b)),1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(_,S=>(openBlock(),createBlock(_sfc_main$j$1,{key:S.key,attribute:S},null,8,["attribute"]))),128))])]),_:2},1032,["day","day-title","attributes","masks","hide"])]),_:1},8,["id","class"]))}}),_sfc_main$g$1={},_hoisted_1$a$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$9$1=createBaseVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),_hoisted_3$8$1=[_hoisted_2$9$1];function _sfc_render$6$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$a$1,_hoisted_3$8$1)}const IconChevronRight=_export_sfc(_sfc_main$g$1,[["render",_sfc_render$6$1]]),_sfc_main$f$1={},_hoisted_1$9$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$8$1=createBaseVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),_hoisted_3$7$1=[_hoisted_2$8$1];function _sfc_render$5$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$9$1,_hoisted_3$7$1)}const IconChevronLeft=_export_sfc(_sfc_main$f$1,[["render",_sfc_render$5$1]]),_sfc_main$e$1={},_hoisted_1$8$1={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_hoisted_2$7$1=createBaseVNode("polyline",{points:"6 9 12 15 18 9"},null,-1),_hoisted_3$6$1=[_hoisted_2$7$1];function _sfc_render$4$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$8$1,_hoisted_3$6$1)}const IconChevronDown=_export_sfc(_sfc_main$e$1,[["render",_sfc_render$4$1]]),_sfc_main$d$1={},_hoisted_1$7$1={fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},_hoisted_2$6$1=createBaseVNode("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),_hoisted_3$5$1=[_hoisted_2$6$1];function _sfc_render$3$1(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$7$1,_hoisted_3$5$1)}const IconClock=_export_sfc(_sfc_main$d$1,[["render",_sfc_render$3$1]]),icons=Object.freeze(Object.defineProperty({__proto__:null,IconChevronDown,IconChevronLeft,IconChevronRight,IconClock},Symbol.toStringTag,{value:"Module"})),_sfc_main$c$1=defineComponent({__name:"BaseIcon",props:{name:{type:String,required:!0},width:{type:String},height:{type:String},size:{type:String,default:"26"},viewBox:{type:String}},setup(t){const r=t,o=computed(()=>r.width||r.size),a=computed(()=>r.height||r.size),u=computed(()=>icons[`Icon${r.name}`]);return(d,g)=>(openBlock(),createBlock(resolveDynamicComponent(unref(u)),{width:unref(o),height:unref(a),class:"vc-base-icon"},null,8,["width","height"]))}}),_hoisted_1$6$1=["disabled"],_hoisted_2$5$1={key:1,class:"vc-title-wrapper"},_hoisted_3$4$1={type:"button",class:"vc-title"},_hoisted_4$3$1=["disabled"],_sfc_main$b$1=defineComponent({__name:"CalendarHeader",props:{page:null,layout:null,isLg:{type:Boolean},isXl:{type:Boolean},is2xl:{type:Boolean},hideTitle:{type:Boolean},hideArrows:{type:Boolean}},setup(t){const r=t,{navPopoverId:o,navVisibility:a,canMovePrev:u,movePrev:d,canMoveNext:g,moveNext:v}=useCalendar(),y=computed(()=>{switch(r.page.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}}),A=computed(()=>{const{page:T}=r;return{id:o.value,visibility:a.value,placement:y.value,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:T},isInteractive:!0}}),b=computed(()=>r.page.titlePosition.includes("left")),_=computed(()=>r.page.titlePosition.includes("right")),w=computed(()=>r.layout?r.layout:b.value?"tu-pn":_.value?"pn-tu":"p-tu-n;"),S=computed(()=>({prev:w.value.includes("p")&&!r.hideArrows,title:w.value.includes("t")&&!r.hideTitle,next:w.value.includes("n")&&!r.hideArrows})),C=computed(()=>({gridTemplateColumns:w.value.split("").map(I=>{switch(I){case"p":return"[prev] auto";case"n":return"[next] auto";case"t":return"[title] auto";case"-":return"1fr";default:return""}}).join(" ")}));return(T,I)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-header",{"is-lg":t.isLg,"is-xl":t.isXl,"is-2xl":t.is2xl}]),style:normalizeStyle$1(unref(C))},[unref(S).prev?(openBlock(),createElementBlock("button",{key:0,type:"button",class:"vc-arrow vc-prev vc-focus",disabled:!unref(u),onClick:I[0]||(I[0]=(...E)=>unref(d)&&unref(d)(...E)),onKeydown:I[1]||(I[1]=withKeys((...E)=>unref(d)&&unref(d)(...E),["space","enter"]))},[createVNode$1(_sfc_main$i$1,{name:"header-prev-button",disabled:!unref(u)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronLeft",size:"24"})]),_:1},8,["disabled"])],40,_hoisted_1$6$1)):createCommentVNode("",!0),unref(S).title?(openBlock(),createElementBlock("div",_hoisted_2$5$1,[createVNode$1(_sfc_main$i$1,{name:"header-title-wrapper"},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("button",_hoisted_3$4$1,[createVNode$1(_sfc_main$i$1,{name:"header-title",title:t.page.title},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(t.page.title),1)]),_:1},8,["title"])])),[[unref(popoverDirective),unref(A)]])]),_:1})])):createCommentVNode("",!0),unref(S).next?(openBlock(),createElementBlock("button",{key:2,type:"button",class:"vc-arrow vc-next vc-focus",disabled:!unref(g),onClick:I[2]||(I[2]=(...E)=>unref(v)&&unref(v)(...E)),onKeydown:I[3]||(I[3]=withKeys((...E)=>unref(v)&&unref(v)(...E),["space","enter"]))},[createVNode$1(_sfc_main$i$1,{name:"header-next-button",disabled:!unref(g)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronRight",size:"24"})]),_:1},8,["disabled"])],40,_hoisted_4$3$1)):createCommentVNode("",!0)],6))}}),contextKey$1=Symbol("__vc_page_context__");function createPage(t){const{locale:r,getDateAddress:o,canMove:a}=useCalendar();function u(v,y){const{month:A,year:b}=o(new Date);return getMonthDates().map((_,w)=>{const S=w+1;return{month:S,year:v,id:getPageId(S,v),label:r.value.formatDate(_,y),ariaLabel:r.value.formatDate(_,"MMMM"),isActive:S===t.value.month&&v===t.value.year,isCurrent:S===A&&v===b,isDisabled:!a({month:S,year:v},{position:t.value.position})}})}function d(v,y){const{year:A}=o(new Date),{position:b}=t.value,_=[];for(let w=v;w<=y;w+=1){const S=[...Array(12).keys()].some(C=>a({month:C+1,year:w},{position:b}));_.push({year:w,id:w.toString(),label:w.toString(),ariaLabel:w.toString(),isActive:w===t.value.year,isCurrent:w===A,isDisabled:!S})}return _}const g={page:t,getMonthItems:u,getYearItems:d};return provide(contextKey$1,g),g}function usePage(){const t=inject(contextKey$1);if(t)return t;throw new Error("Page context missing. Please verify this component is nested within a valid context provider.")}const _hoisted_1$5$1={class:"vc-nav-header"},_hoisted_2$4$1=["disabled"],_hoisted_3$3$1=["disabled"],_hoisted_4$2$1={class:"vc-nav-items"},_hoisted_5$2$1=["data-id","aria-label","disabled","onClick","onKeydown"],_sfc_main$a$1=defineComponent({__name:"CalendarNav",setup(t){const{masks:r,move:o}=useCalendar(),{page:a,getMonthItems:u,getYearItems:d}=usePage(),g=ref(!0),v=12,y=ref(a.value.year),A=ref(w(a.value.year)),b=ref(null);function _(){setTimeout(()=>{if(b.value==null)return;const se=b.value.querySelector(".vc-nav-item:not(:disabled)");se&&se.focus()},10)}function w(se){return Math.floor(se/v)}function S(){g.value=!g.value}function C(se){return se*v}function T(se){return v*(se+1)-1}function I(){!X.value||(g.value&&F(),D())}function E(){!J.value||(g.value&&O(),x())}function F(){y.value--}function O(){y.value++}function D(){A.value--}function x(){A.value++}const P=computed(()=>u(y.value,r.value.navMonths).map(se=>({...se,click:()=>o({month:se.month,year:se.year},{position:a.value.position})}))),G=computed(()=>u(y.value-1,r.value.navMonths)),M=computed(()=>G.value.some(se=>!se.isDisabled)),N=computed(()=>u(y.value+1,r.value.navMonths)),V=computed(()=>N.value.some(se=>!se.isDisabled)),Z=computed(()=>d(C(A.value),T(A.value)).map(se=>({...se,click:()=>{y.value=se.year,g.value=!0,_()}}))),H=computed(()=>d(C(A.value-1),T(A.value-1))),B=computed(()=>H.value.some(se=>!se.isDisabled)),z=computed(()=>d(C(A.value+1),T(A.value+1))),U=computed(()=>z.value.some(se=>!se.isDisabled)),Q=computed(()=>g.value?P.value:Z.value),X=computed(()=>g.value?M.value:B.value),J=computed(()=>g.value?V.value:U.value),ne=computed(()=>head_1(Z.value.map(se=>se.year))),te=computed(()=>last_1(Z.value.map(se=>se.year))),ce=computed(()=>g.value?y.value:`${ne.value} - ${te.value}`);return watchEffect(()=>{y.value=a.value.year,_()}),watch(()=>y.value,se=>A.value=w(se)),onMounted(()=>_()),(se,ge)=>(openBlock(),createElementBlock("div",{class:"vc-nav-container",ref_key:"navContainer",ref:b},[createBaseVNode("div",_hoisted_1$5$1,[createBaseVNode("button",{type:"button",class:"vc-nav-arrow is-left vc-focus",disabled:!unref(X),onClick:I,onKeydown:ge[0]||(ge[0]=he=>unref(onSpaceOrEnter)(he,I))},[createVNode$1(_sfc_main$i$1,{name:"nav-prev-button",move:I,disabled:!unref(X)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronLeft",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,_hoisted_2$4$1),createBaseVNode("button",{type:"button",class:"vc-nav-title vc-focus",onClick:S,onKeydown:ge[1]||(ge[1]=he=>unref(onSpaceOrEnter)(he,S))},toDisplayString$1(unref(ce)),33),createBaseVNode("button",{type:"button",class:"vc-nav-arrow is-right vc-focus",disabled:!unref(J),onClick:E,onKeydown:ge[2]||(ge[2]=he=>unref(onSpaceOrEnter)(he,E))},[createVNode$1(_sfc_main$i$1,{name:"nav-next-button",move:E,disabled:!unref(J)},{default:withCtx(()=>[createVNode$1(_sfc_main$c$1,{name:"ChevronRight",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,_hoisted_3$3$1)]),createBaseVNode("div",_hoisted_4$2$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Q),he=>(openBlock(),createElementBlock("button",{key:he.label,type:"button","data-id":he.id,"aria-label":he.ariaLabel,class:normalizeClass(["vc-nav-item vc-focus",[he.isActive?"is-active":he.isCurrent?"is-current":""]]),disabled:he.isDisabled,onClick:he.click,onKeydown:ye=>unref(onSpaceOrEnter)(ye,he.click)},toDisplayString$1(he.label),43,_hoisted_5$2$1))),128))])],512))}}),_sfc_main$9$1=defineComponent({__name:"CalendarPageProvider",props:{page:null},setup(t){return createPage(toRef(t,"page")),(o,a)=>renderSlot(o.$slots,"default")}}),_sfc_main$8$1=defineComponent({__name:"CalendarNavPopover",setup(t){const{navPopoverId:r,color:o,displayMode:a}=useCalendar();return(u,d)=>(openBlock(),createBlock(Popover,{id:unref(r),class:normalizeClass(["vc-nav-popover-container",`vc-${unref(o)}`,`vc-${unref(a)}`])},{default:withCtx(({data:g})=>[createVNode$1(_sfc_main$9$1,{page:g.page},{default:withCtx(()=>[createVNode$1(_sfc_main$i$1,{name:"nav"},{default:withCtx(()=>[createVNode$1(_sfc_main$a$1)]),_:1})]),_:2},1032,["page"])]),_:1},8,["id","class"]))}}),_sfc_main$7$1=defineComponent({directives:{popover:popoverDirective},components:{CalendarSlot:_sfc_main$i$1},props:{day:{type:Object,required:!0}},setup(t){const{locale:r,theme:o,attributeContext:a,dayPopoverId:u,onDayClick:d,onDayMouseenter:g,onDayMouseleave:v,onDayFocusin:y,onDayFocusout:A,onDayKeydown:b}=useCalendar(),_=computed(()=>t.day),w=computed(()=>a.value.getCells(_.value)),S=computed(()=>w.value.map(U=>U.data)),C=computed(()=>({..._.value,attributes:S.value,attributeCells:w.value}));function T({data:U},{popovers:Q}){const{key:X,customData:J,popover:ne}=U;if(!ne)return;const te=defaults_1({key:X,customData:J,attribute:U},{...ne},{visibility:ne.label?"hover":"click",placement:"bottom",isInteractive:!ne.label});Q.splice(0,0,te)}const I=computed(()=>{const U={...o.value.prepareRender({}),popovers:[]};return w.value.forEach(Q=>{o.value.render(Q,U),T(Q,U)}),U}),E=computed(()=>I.value.highlights),F=computed(()=>!!arrayHasItems(E.value)),O=computed(()=>I.value.content),D=computed(()=>I.value.dots),x=computed(()=>!!arrayHasItems(D.value)),P=computed(()=>I.value.bars),G=computed(()=>!!arrayHasItems(P.value)),M=computed(()=>I.value.popovers),N=computed(()=>M.value.map(U=>U.attribute)),V=useSlot("day-content"),Z=computed(()=>["vc-day",..._.value.classes,{"vc-day-box-center-center":!V},{"is-not-in-month":!t.day.inMonth}]),H=computed(()=>{let U;_.value.isFocusable?U="0":U="-1";const Q=["vc-day-content vc-focusable vc-focus vc-attr",{"vc-disabled":_.value.isDisabled},get_1(last_1(E.value),"contentClass"),get_1(last_1(O.value),"class")||""],X={...get_1(last_1(E.value),"contentStyle"),...get_1(last_1(O.value),"style")};return{class:Q,style:X,tabindex:U,"aria-label":_.value.ariaLabel,"aria-disabled":!!_.value.isDisabled,role:"button"}}),B=computed(()=>({click(U){d(C.value,U)},mouseenter(U){g(C.value,U)},mouseleave(U){v(C.value,U)},focusin(U){y(C.value,U)},focusout(U){A(C.value,U)},keydown(U){b(C.value,U)}})),z=computed(()=>arrayHasItems(M.value)?defaults_1({id:u.value,data:{day:_,attributes:N.value}},...M.value):null);return{attributes:S,attributeCells:w,bars:P,dayClasses:Z,dayContentProps:H,dayContentEvents:B,dayPopover:z,glyphs:I,dots:D,hasDots:x,hasBars:G,highlights:E,hasHighlights:F,locale:r,popovers:M}}}),_hoisted_1$4$1={key:0,class:"vc-highlights vc-day-layer"},_hoisted_2$3$1={key:1,class:"vc-day-layer vc-day-box-center-bottom"},_hoisted_3$2$1={class:"vc-dots"},_hoisted_4$1$1={key:2,class:"vc-day-layer vc-day-box-center-bottom"},_hoisted_5$1$1={class:"vc-bars"};function _sfc_render$2$1(t,r,o,a,u,d){const g=resolveComponent("CalendarSlot"),v=resolveDirective("popover");return openBlock(),createElementBlock("div",{class:normalizeClass(t.dayClasses)},[t.hasHighlights?(openBlock(),createElementBlock("div",_hoisted_1$4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.highlights,({key:y,wrapperClass:A,class:b,style:_})=>(openBlock(),createElementBlock("div",{key:y,class:normalizeClass(A)},[createBaseVNode("div",{class:normalizeClass(b),style:normalizeStyle$1(_)},null,6)],2))),128))])):createCommentVNode("",!0),createVNode$1(g,{name:"day-content",day:t.day,attributes:t.attributes,"attribute-cells":t.attributeCells,dayProps:t.dayContentProps,dayEvents:t.dayContentEvents,locale:t.locale},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",mergeProps(t.dayContentProps,toHandlers(t.dayContentEvents,!0)),[createTextVNode(toDisplayString$1(t.day.label),1)],16)),[[v,t.dayPopover]])]),_:1},8,["day","attributes","attribute-cells","dayProps","dayEvents","locale"]),t.hasDots?(openBlock(),createElementBlock("div",_hoisted_2$3$1,[createBaseVNode("div",_hoisted_3$2$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.dots,({key:y,class:A,style:b})=>(openBlock(),createElementBlock("span",{key:y,class:normalizeClass(A),style:normalizeStyle$1(b)},null,6))),128))])])):createCommentVNode("",!0),t.hasBars?(openBlock(),createElementBlock("div",_hoisted_4$1$1,[createBaseVNode("div",_hoisted_5$1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.bars,({key:y,class:A,style:b})=>(openBlock(),createElementBlock("span",{key:y,class:normalizeClass(A),style:normalizeStyle$1(b)},null,6))),128))])])):createCommentVNode("",!0)],2)}const CalendarDay=_export_sfc(_sfc_main$7$1,[["render",_sfc_render$2$1]]),_hoisted_1$3$1={class:"vc-weekdays"},_hoisted_2$2$1=["onClick"],__default__$2={inheritAttrs:!1},_sfc_main$6$1=defineComponent({...__default__$2,__name:"CalendarPage",setup(t){const{page:r}=usePage(),{onWeeknumberClick:o}=useCalendar();return(a,u)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-pane",`row-${unref(r).row}`,`row-from-end-${unref(r).rowFromEnd}`,`column-${unref(r).column}`,`column-from-end-${unref(r).columnFromEnd}`]),ref:"pane"},[createVNode$1(_sfc_main$b$1,{page:unref(r),"is-lg":"","hide-arrows":""},null,8,["page"]),createBaseVNode("div",{class:normalizeClass(["vc-weeks",{[`vc-show-weeknumbers-${unref(r).weeknumberPosition}`]:unref(r).weeknumberPosition}])},[createBaseVNode("div",_hoisted_1$3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).weekdays,({weekday:d,label:g},v)=>(openBlock(),createElementBlock("div",{key:v,class:normalizeClass(`vc-weekday vc-weekday-${d}`)},toDisplayString$1(g),3))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).viewWeeks,d=>(openBlock(),createElementBlock("div",{key:`weeknumber-${d.weeknumber}`,class:"vc-week"},[unref(r).weeknumberPosition?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["vc-weeknumber",`is-${unref(r).weeknumberPosition}`])},[createBaseVNode("span",{class:normalizeClass(["vc-weeknumber-content"]),onClick:g=>unref(o)(d,g)},toDisplayString$1(d.weeknumberDisplay),9,_hoisted_2$2$1)],2)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(d.days,g=>(openBlock(),createBlock(CalendarDay,{key:g.id,day:g},null,8,["day"]))),128))]))),128))],2)],2))}}),_sfc_main$5$1=defineComponent({components:{CalendarHeader:_sfc_main$b$1,CalendarPage:_sfc_main$6$1,CalendarNavPopover:_sfc_main$8$1,CalendarDayPopover:_sfc_main$h$1,CalendarPageProvider:_sfc_main$9$1,CalendarSlot:_sfc_main$i$1},props:propsDef$1,emit:emitsDef,setup(t,{emit:r,slots:o}){return createCalendar(t,{emit:r,slots:o})}}),_hoisted_1$2$1={class:"vc-pane-header-wrapper"};function _sfc_render$1$1(t,r,o,a,u,d){const g=resolveComponent("CalendarHeader"),v=resolveComponent("CalendarPage"),y=resolveComponent("CalendarSlot"),A=resolveComponent("CalendarPageProvider"),b=resolveComponent("CalendarDayPopover"),_=resolveComponent("CalendarNavPopover");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",mergeProps({"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},t.$attrs,{class:["vc-container",`vc-${t.view}`,`vc-${t.color}`,`vc-${t.displayMode}`,{"vc-expanded":t.expanded,"vc-bordered":!t.borderless,"vc-transparent":t.transparent}],onMouseup:r[0]||(r[0]=withModifiers(()=>{},["prevent"])),ref:"containerRef"}),[createBaseVNode("div",{class:normalizeClass(["vc-pane-container",{"in-transition":t.inTransition}])},[createBaseVNode("div",_hoisted_1$2$1,[t.firstPage?(openBlock(),createBlock(g,{key:0,page:t.firstPage,"is-lg":"","hide-title":""},null,8,["page"])):createCommentVNode("",!0)]),createVNode$1(Transition,{name:`vc-${t.transitionName}`,onBeforeEnter:t.onTransitionBeforeEnter,onAfterEnter:t.onTransitionAfterEnter},{default:withCtx(()=>[(openBlock(),createElementBlock("div",{key:t.pages[0].id,class:"vc-pane-layout",style:normalizeStyle$1({gridTemplateColumns:`repeat(${t.columns}, 1fr)`})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.pages,w=>(openBlock(),createBlock(A,{key:w.id,page:w},{default:withCtx(()=>[createVNode$1(y,{name:"page",page:w},{default:withCtx(()=>[createVNode$1(v)]),_:2},1032,["page"])]),_:2},1032,["page"]))),128))],4))]),_:1},8,["name","onBeforeEnter","onAfterEnter"]),createVNode$1(y,{name:"footer"})],2)],16),createVNode$1(b),createVNode$1(_)],64)}const Calendar$4=_export_sfc(_sfc_main$5$1,[["render",_sfc_render$1$1]]),contextKey=Symbol("__vc_date_picker_context__"),propsDef={...propsDef$2,mode:{type:String,default:"date"},modelValue:{type:[Number,String,Date,Object]},modelModifiers:{type:Object,default:()=>({})},rules:[String,Object],is24hr:Boolean,hideTimeHeader:Boolean,timeAccuracy:{type:Number,default:2},isRequired:Boolean,isRange:Boolean,updateOnInput:{type:Boolean,default:()=>getDefault("datePicker.updateOnInput")},inputDebounce:{type:Number,default:()=>getDefault("datePicker.inputDebounce")},popover:{type:[Boolean,Object],default:!0},dragAttribute:Object,selectAttribute:Object,attributes:[Object,Array]},emits=["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"];function createDatePicker(t,{emit:r,slots:o}){var dt;provideSlots(o,{footer:"dp-footer"});const a=createBase(t),{locale:u,masks:d,disabledAttribute:g}=a,v=ref(!1),y=ref(Symbol()),A=ref(null),b=ref(null),_=ref(["",""]),w=ref(null),S=ref(null);let C,T,I=!0;const E=computed(()=>t.isRange||t.modelModifiers.range===!0),F=computed(()=>E.value&&A.value!=null?A.value.start:null),O=computed(()=>E.value&&A.value!=null?A.value.end:null),D=computed(()=>t.mode.toLowerCase()==="date"),x=computed(()=>t.mode.toLowerCase()==="datetime"),P=computed(()=>t.mode.toLowerCase()==="time"),G=computed(()=>!!b.value),M=computed(()=>{let Re="date";t.modelModifiers.number&&(Re="number"),t.modelModifiers.string&&(Re="string");const Ye=d.value.modelValue||"iso";return ge({type:Re,mask:Ye})}),N=computed(()=>{var Re;return be((Re=b.value)!=null?Re:A.value)}),V=computed(()=>P.value?t.is24hr?d.value.inputTime24hr:d.value.inputTime:x.value?t.is24hr?d.value.inputDateTime24hr:d.value.inputDateTime:d.value.input),Z=computed(()=>/[Hh]/g.test(V.value)),H=computed(()=>/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(V.value)),B=computed(()=>{if(Z.value&&H.value)return"dateTime";if(H.value)return"date";if(Z.value)return"time"}),z=computed(()=>{var at;var Re;const Ye=(at=(Re=w.value)==null?void 0:Re.$el.previousElementSibling)!=null?at:void 0;return defaultsDeep_1({},t.popover,getDefault("datePicker.popover"),{target:Ye})}),U=computed(()=>getPopoverEventHandlers({...z.value,id:y.value})),Q=computed(()=>E.value?{start:_.value[0],end:_.value[1]}:_.value[0]),X=computed(()=>{const Re=["start","end"].map(Ye=>({input:le(Ye),change:re(Ye),keyup:ue,...t.popover&&U.value}));return E.value?{start:Re[0],end:Re[1]}:Re[0]}),J=computed(()=>{if(!pe(A.value))return null;const Re={key:"select-drag",...t.selectAttribute,dates:A.value,pinPage:!0},{dot:Ye,bar:at,highlight:mt,content:St}=Re;return!Ye&&!at&&!mt&&!St&&(Re.highlight=!0),Re}),ne=computed(()=>{if(!E.value||!pe(b.value))return null;const Re={key:"select-drag",...t.dragAttribute,dates:b.value},{dot:Ye,bar:at,highlight:mt,content:St}=Re;return!Ye&&!at&&!mt&&!St&&(Re.highlight={startEnd:{fillMode:"outline"}}),Re}),te=computed(()=>{const Re=isArray$d(t.attributes)?[...t.attributes]:[];return ne.value?Re.unshift(ne.value):J.value&&Re.unshift(J.value),Re}),ce=computed(()=>{var Re;return ge(t.rules==="auto"?se():(Re=t.rules)!=null?Re:{})});function se(){const Re={ms:[0,999],sec:[0,59],min:[0,59],hr:[0,23]},Ye=D.value?0:t.timeAccuracy;return[0,1].map(at=>{switch(Ye){case 0:return{hours:Re.hr[at],minutes:Re.min[at],seconds:Re.sec[at],milliseconds:Re.ms[at]};case 1:return{minutes:Re.min[at],seconds:Re.sec[at],milliseconds:Re.ms[at]};case 3:return{milliseconds:Re.ms[at]};case 4:return{};default:return{seconds:Re.sec[at],milliseconds:Re.ms[at]}}})}function ge(Re){return isArray$d(Re)?Re.length===1?[Re[0],Re[0]]:Re:[Re,Re]}function he(Re){return ge(Re).map((Ye,at)=>({...Ye,rules:ce.value[at]}))}function ye(Re){return Re==null?!1:isNumber_1(Re)?!isNaN(Re):isDate$2(Re)?!isNaN(Re.getTime()):isString_1(Re)?Re!=="":isDateParts(Re)}function ee(Re){var Ye,at;return isObject$b(Re)&&"start"in Re&&"end"in Re&&ye((Ye=Re.start)!=null?Ye:null)&&ye((at=Re.end)!=null?at:null)}function pe(Re){return ee(Re)||ye(Re)}function ae(Re,Ye){if(Re==null&&Ye==null)return!0;if(Re==null||Ye==null)return!1;const at=isDate$2(Re),mt=isDate$2(Ye);return at&&mt?Re.getTime()===Ye.getTime():at||mt?!1:ae(Re.start,Ye.start)&&ae(Re.end,Ye.end)}function ve(Re){return!pe(Re)||!g.value?!1:g.value.intersectsRange(u.value.range(Re))}function we(Re,Ye,at,mt){var St,Rt;if(!pe(Re))return null;if(ee(Re)){const Oe=u.value.toDate(Re.start,{...Ye[0],fillDate:(St=F.value)!=null?St:void 0,patch:at}),We=u.value.toDate(Re.end,{...Ye[1],fillDate:(Rt=O.value)!=null?Rt:void 0,patch:at});return Ve({start:Oe,end:We},mt)}return u.value.toDateOrNull(Re,{...Ye[0],fillDate:A.value,patch:at})}function _e(Re,Ye){return ee(Re)?{start:u.value.fromDate(Re.start,Ye[0]),end:u.value.fromDate(Re.end,Ye[1])}:E.value?null:u.value.fromDate(Re,Ye[0])}function Te(Re,Ye={}){return clearTimeout(C),new Promise(at=>{const{debounce:mt=0,...St}=Ye;mt>0?C=window.setTimeout(()=>{at(Ce(Re,St))},mt):at(Ce(Re,St))})}function Ce(Re,{config:Ye=M.value,patch:at="dateTime",clearIfEqual:mt=!1,formatInput:St=!0,hidePopover:Rt=!1,dragging:Oe=G.value,targetPriority:We,moveToValue:Je=!1}={}){const st=he(Ye);let At=we(Re,st,at,We);if(ve(At)){if(Oe)return null;At=A.value,Rt=!1}else At==null&&t.isRequired?At=A.value:At!=null&&ae(A.value,At)&&mt&&(At=null);const Le=Oe?b:A,Fe=!ae(Le.value,At);Le.value=At,Oe||(b.value=null);const it=_e(At,M.value);return Fe&&(I=!1,r(Oe?"drag":"update:modelValue",it),nextTick(()=>I=!0)),Rt&&!Oe&&_t(),St&&Ae(),Je&&nextTick(()=>yt(We!=null?We:"start")),it}function Ae(){nextTick(()=>{var at;const Re=he({type:"string",mask:V.value}),Ye=_e((at=b.value)!=null?at:A.value,Re);E.value?_.value=[Ye&&Ye.start,Ye&&Ye.end]:_.value=[Ye,""]})}function Ee(Re,Ye,at){_.value.splice(Ye==="start"?0:1,1,Re);const mt=E.value?{start:_.value[0],end:_.value[1]||_.value[0]}:Re,St={type:"string",mask:V.value};Te(mt,{...at,config:St,patch:B.value,targetPriority:Ye,moveToValue:!0})}function le(Re){return Ye=>{!t.updateOnInput||Ee(Ye.currentTarget.value,Re,{formatInput:!1,hidePopover:!1,debounce:t.inputDebounce})}}function re(Re){return Ye=>{Ee(Ye.currentTarget.value,Re,{formatInput:!0,hidePopover:!1})}}function ue(Re){Re.key==="Escape"&&Te(A.value,{formatInput:!0,hidePopover:!0})}function be(Re){return E.value?[Re&&Re.start?u.value.getDateParts(Re.start):null,Re&&Re.end?u.value.getDateParts(Re.end):null]:[Re?u.value.getDateParts(Re):null]}function ie(){b.value=null,Ae()}function oe(Re){r("popover-will-show",Re)}function me(Re){r("popover-did-show",Re)}function Se(Re){ie(),r("popover-will-hide",Re)}function xe(Re){r("popover-did-hide",Re)}function De(Re){const Ye={patch:"date",formatInput:!0,hidePopover:!0};if(E.value){const at=!G.value;at?T={start:Re.startDate,end:Re.endDate}:T!=null&&(T.end=Re.date),Te(T,{...Ye,dragging:at})}else Te(Re.date,{...Ye,clearIfEqual:!t.isRequired})}function Pe(Re,Ye){De(Re),r("dayclick",Re,Ye)}function Be(Re,Ye){switch(Ye.key){case" ":case"Enter":{De(Re),Ye.preventDefault();break}case"Escape":_t()}r("daykeydown",Re,Ye)}function ot(Re,Ye){!G.value||T==null||(T.end=Re.date,Te(Ve(T),{patch:"date",formatInput:!0}))}function ct(Re={}){showPopover({...z.value,...Re,isInteractive:!0,id:y.value})}function _t(Re={}){hidePopover({hideDelay:10,force:!0,...z.value,...Re,id:y.value})}function He(Re){togglePopover({...z.value,...Re,isInteractive:!0,id:y.value})}function Ve(Re,Ye){const{start:at,end:mt}=Re;if(at>mt)switch(Ye){case"start":return{start:at,end:at};case"end":return{start:mt,end:mt};default:return{start:mt,end:at}}return{start:at,end:mt}}async function ke(Re,Ye={}){return S.value==null?!1:S.value.move(Re,Ye)}async function Qe(Re,Ye={}){return S.value==null?!1:S.value.moveBy(Re,Ye)}async function yt(Re,Ye={}){const at=A.value;if(S.value==null||!pe(at))return!1;const mt=Re!=="end",St=mt?1:-1,Rt=ee(at)?mt?at.start:at.end:at,Oe=getPageAddressForDate(Rt,"monthly",u.value);return S.value.move(Oe,{position:St,...Ye})}watch(()=>t.isRange,Re=>{Re&&console.warn("The `is-range` prop will be deprecated in future releases. Please use the `range` modifier.")},{immediate:!0}),watch(()=>E.value,()=>{Ce(null,{formatInput:!0})}),watch(()=>V.value,()=>Ae()),watch(()=>t.modelValue,Re=>{!I||Ce(Re,{formatInput:!0,hidePopover:!1})}),watch(()=>ce.value,()=>{isObject$b(t.rules)&&Ce(t.modelValue,{formatInput:!0,hidePopover:!1})}),watch(()=>t.timezone,()=>{Ce(A.value,{formatInput:!0})});const Ct=ge(M.value);A.value=we((dt=t.modelValue)!=null?dt:null,Ct,"dateTime"),onMounted(()=>{Ce(t.modelValue,{formatInput:!0,hidePopover:!1})}),nextTick(()=>v.value=!0);const Xe={...a,showCalendar:v,datePickerPopoverId:y,popoverRef:w,popoverEvents:U,calendarRef:S,isRange:E,isTimeMode:P,isDateTimeMode:x,is24hr:toRef(t,"is24hr"),hideTimeHeader:toRef(t,"hideTimeHeader"),timeAccuracy:toRef(t,"timeAccuracy"),isDragging:G,inputValue:Q,inputEvents:X,dateParts:N,attributes:te,rules:ce,move:ke,moveBy:Qe,moveToValue:yt,updateValue:Te,showPopover:ct,hidePopover:_t,togglePopover:He,onDayClick:Pe,onDayKeydown:Be,onDayMouseEnter:ot,onPopoverBeforeShow:oe,onPopoverAfterShow:me,onPopoverBeforeHide:Se,onPopoverAfterHide:xe};return provide(contextKey,Xe),Xe}function useDatePicker(){const t=inject(contextKey);if(t)return t;throw new Error("DatePicker context missing. Please verify this component is nested within a valid context provider.")}const _amOptions=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],_pmOptions=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}];function createTimePicker(t){const r=useDatePicker(),{locale:o,isRange:a,isTimeMode:u,dateParts:d,rules:g,is24hr:v,hideTimeHeader:y,timeAccuracy:A,updateValue:b}=r;function _(H){H=Object.assign(S.value,H);let B=null;if(a.value){const z=w.value?H:d.value[0],U=w.value?d.value[1]:H;B={start:z,end:U}}else B=H;b(B,{patch:"time",targetPriority:w.value?"start":"end",moveToValue:!0})}const w=computed(()=>t.position===0),S=computed(()=>d.value[t.position]||{isValid:!1}),C=computed(()=>isDateParts(S.value)),T=computed(()=>!!S.value.isValid),I=computed(()=>!y.value&&T.value),E=computed(()=>{if(!C.value)return null;let H=o.value.toDate(S.value);return S.value.hours===24&&(H=new Date(H.getTime()-1)),H}),F=computed({get(){return S.value.hours},set(H){_({hours:H})}}),O=computed({get(){return S.value.minutes},set(H){_({minutes:H})}}),D=computed({get(){return S.value.seconds},set(H){_({seconds:H})}}),x=computed({get(){return S.value.milliseconds},set(H){_({milliseconds:H})}}),P=computed({get(){return S.value.hours<12},set(H){H=String(H).toLowerCase()=="true";let B=F.value;H&&B>=12?B-=12:!H&&B<12&&(B+=12),_({hours:B})}}),G=computed(()=>getDatePartsOptions(S.value,g.value[t.position])),M=computed(()=>_amOptions.filter(H=>G.value.hours.some(B=>B.value===H.value))),N=computed(()=>_pmOptions.filter(H=>G.value.hours.some(B=>B.value===H.value))),V=computed(()=>v.value?G.value.hours:P.value?M.value:N.value),Z=computed(()=>{const H=[];return arrayHasItems(M.value)&&H.push({value:!0,label:"AM"}),arrayHasItems(N.value)&&H.push({value:!1,label:"PM"}),H});return{...r,showHeader:I,timeAccuracy:A,parts:S,isValid:T,date:E,hours:F,minutes:O,seconds:D,milliseconds:x,options:G,hourOptions:V,isAM:P,isAMOptions:Z,is24hr:v}}const _hoisted_1$1$1=["value"],_hoisted_2$1$1=["value","disabled"],_hoisted_3$1$1={key:1,class:"vc-base-sizer","aria-hidden":"true"},__default__$1={inheritAttrs:!1},_sfc_main$4$1=defineComponent({...__default__$1,__name:"BaseSelect",props:{options:null,modelValue:null,alignRight:{type:Boolean},alignLeft:{type:Boolean},showIcon:{type:Boolean},fitContent:{type:Boolean}},emits:["update:modelValue"],setup(t){const r=t,o=computed(()=>{const a=r.options.find(u=>u.value===r.modelValue);return a==null?void 0:a.label});return(a,u)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-base-select",{"vc-fit-content":t.fitContent,"vc-has-icon":t.showIcon}])},[createBaseVNode("select",mergeProps(a.$attrs,{value:t.modelValue,class:["vc-focus",{"vc-align-right":t.alignRight,"vc-align-left":t.alignLeft}],onChange:u[0]||(u[0]=d=>a.$emit("update:modelValue",d.target.value))}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.options,d=>(openBlock(),createElementBlock("option",{key:d.value,value:d.value,disabled:d.disabled},toDisplayString$1(d.label),9,_hoisted_2$1$1))),128))],16,_hoisted_1$1$1),t.showIcon?(openBlock(),createBlock(_sfc_main$c$1,{key:0,name:"ChevronDown",size:"18"})):createCommentVNode("",!0),t.fitContent?(openBlock(),createElementBlock("div",_hoisted_3$1$1,toDisplayString$1(unref(o)),1)):createCommentVNode("",!0)],2))}}),_hoisted_1$p={key:0,class:"vc-time-header"},_hoisted_2$i={class:"vc-time-weekday"},_hoisted_3$e={class:"vc-time-month"},_hoisted_4$9={class:"vc-time-day"},_hoisted_5$6={class:"vc-time-year"},_hoisted_6$4={class:"vc-time-select-group"},_hoisted_7$3=createBaseVNode("span",{class:"vc-time-colon"},":",-1),_hoisted_8$3=createBaseVNode("span",{class:"vc-time-colon"},":",-1),_hoisted_9$3=createBaseVNode("span",{class:"vc-time-decimal"},".",-1),_sfc_main$3$1=defineComponent({__name:"TimePicker",props:{position:null},setup(t,{expose:r}){const a=createTimePicker(t);r(a);const{locale:u,isValid:d,date:g,hours:v,minutes:y,seconds:A,milliseconds:b,options:_,hourOptions:w,isTimeMode:S,isAM:C,isAMOptions:T,is24hr:I,showHeader:E,timeAccuracy:F}=a;return(O,D)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["vc-time-picker",[{"vc-invalid":!unref(d),"vc-attached":!unref(S)}]])},[createVNode$1(_sfc_main$i$1,{name:"time-header"},{default:withCtx(()=>[unref(E)&&unref(g)?(openBlock(),createElementBlock("div",_hoisted_1$p,[createBaseVNode("span",_hoisted_2$i,toDisplayString$1(unref(u).formatDate(unref(g),"WWW")),1),createBaseVNode("span",_hoisted_3$e,toDisplayString$1(unref(u).formatDate(unref(g),"MMM")),1),createBaseVNode("span",_hoisted_4$9,toDisplayString$1(unref(u).formatDate(unref(g),"D")),1),createBaseVNode("span",_hoisted_5$6,toDisplayString$1(unref(u).formatDate(unref(g),"YYYY")),1)])):createCommentVNode("",!0)]),_:1}),createBaseVNode("div",_hoisted_6$4,[createVNode$1(_sfc_main$c$1,{name:"Clock",size:"17"}),createVNode$1(_sfc_main$4$1,{modelValue:unref(v),"onUpdate:modelValue":D[0]||(D[0]=x=>isRef(v)?v.value=x:null),modelModifiers:{number:!0},options:unref(w),class:"vc-time-select-hours","align-right":""},null,8,["modelValue","options"]),unref(F)>1?(openBlock(),createElementBlock(Fragment,{key:0},[_hoisted_7$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(y),"onUpdate:modelValue":D[1]||(D[1]=x=>isRef(y)?y.value=x:null),modelModifiers:{number:!0},options:unref(_).minutes,class:"vc-time-select-minutes","align-left":unref(F)===2},null,8,["modelValue","options","align-left"])],64)):createCommentVNode("",!0),unref(F)>2?(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_8$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(A),"onUpdate:modelValue":D[2]||(D[2]=x=>isRef(A)?A.value=x:null),modelModifiers:{number:!0},options:unref(_).seconds,class:"vc-time-select-seconds","align-left":unref(F)===3},null,8,["modelValue","options","align-left"])],64)):createCommentVNode("",!0),unref(F)>3?(openBlock(),createElementBlock(Fragment,{key:2},[_hoisted_9$3,createVNode$1(_sfc_main$4$1,{modelValue:unref(b),"onUpdate:modelValue":D[3]||(D[3]=x=>isRef(b)?b.value=x:null),modelModifiers:{number:!0},options:unref(_).milliseconds,class:"vc-time-select-milliseconds","align-left":""},null,8,["modelValue","options"])],64)):createCommentVNode("",!0),unref(I)?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$4$1,{key:3,modelValue:unref(C),"onUpdate:modelValue":D[4]||(D[4]=x=>isRef(C)?C.value=x:null),options:unref(T)},null,8,["modelValue","options"]))])],2))}}),_sfc_main$2$1=defineComponent({__name:"DatePickerBase",setup(t){const{attributes:r,calendarRef:o,color:a,displayMode:u,isDateTimeMode:d,isTimeMode:g,isRange:v,onDayClick:y,onDayMouseEnter:A,onDayKeydown:b}=useDatePicker(),_=v.value?[0,1]:[0];return(w,S)=>unref(g)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(`vc-container vc-bordered vc-${unref(a)} vc-${unref(u)}`)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_),C=>(openBlock(),createBlock(_sfc_main$3$1,{key:C,position:C},null,8,["position"]))),128))],2)):(openBlock(),createBlock(Calendar$4,{key:1,attributes:unref(r),ref_key:"calendarRef",ref:o,onDayclick:unref(y),onDaymouseenter:unref(A),onDaykeydown:unref(b)},{footer:withCtx(()=>[unref(d)?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_),C=>(openBlock(),createBlock(_sfc_main$3$1,{key:C,position:C},null,8,["position"]))),128)):createCommentVNode("",!0),createVNode$1(_sfc_main$i$1,{name:"dp-footer"})]),_:1},8,["attributes","onDayclick","onDaymouseenter","onDaykeydown"]))}}),__default__={inheritAttrs:!1},_sfc_main$1$1=defineComponent({...__default__,__name:"DatePickerPopover",setup(t){const{datePickerPopoverId:r,color:o,displayMode:a,popoverRef:u,onPopoverBeforeShow:d,onPopoverAfterShow:g,onPopoverBeforeHide:v,onPopoverAfterHide:y}=useDatePicker();return(A,b)=>(openBlock(),createBlock(Popover,{id:unref(r),placement:"bottom-start",class:normalizeClass(`vc-date-picker-content vc-${unref(o)} vc-${unref(a)}`),ref_key:"popoverRef",ref:u,onBeforeShow:unref(d),onAfterShow:unref(g),onBeforeHide:unref(v),onAfterHide:unref(y)},{default:withCtx(()=>[createVNode$1(_sfc_main$2$1,normalizeProps(guardReactiveProps(A.$attrs)),null,16)]),_:1},8,["id","class","onBeforeShow","onAfterShow","onBeforeHide","onAfterHide"]))}}),_sfc_main$u=defineComponent({inheritAttrs:!1,emits,props:propsDef,components:{DatePickerBase:_sfc_main$2$1,DatePickerPopover:_sfc_main$1$1},setup(t,r){const o=createDatePicker(t,r),a=reactive(omit(o,"calendarRef","popoverRef"));return{...o,slotCtx:a}}});function _sfc_render$u(t,r,o,a,u,d){const g=resolveComponent("DatePickerPopover"),v=resolveComponent("DatePickerBase");return t.$slots.default?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(t.$slots,"default",normalizeProps(guardReactiveProps(t.slotCtx))),createVNode$1(g,normalizeProps(guardReactiveProps(t.$attrs)),null,16)],64)):(openBlock(),createBlock(v,normalizeProps(mergeProps({key:1},t.$attrs)),null,16))}const DatePicker=_export_sfc(_sfc_main$u,[["render",_sfc_render$u]]),components$2=Object.freeze(Object.defineProperty({__proto__:null,Calendar:Calendar$4,DatePicker,Popover,PopoverRow:_sfc_main$j$1},Symbol.toStringTag,{value:"Module"})),install$U=(t,r={})=>{t.use(setupDefaults,r);const o=t.config.globalProperties.$VCalendar.componentPrefix;for(const a in components$2){const u=components$2[a];t.component(`${o}${a}`,u)}},index={install:install$U};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -1860,7 +1860,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var extendStatics=function(t,r){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])},extendStatics(t,r)};function __extends(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");extendStatics(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}function create$2(t,r){return t==null&&(t=0),r==null&&(r=0),[t,r]}function copy$1(t,r){return t[0]=r[0],t[1]=r[1],t}function clone$4(t){return[t[0],t[1]]}function set$1(t,r,o){return t[0]=r,t[1]=o,t}function add$1(t,r,o){return t[0]=r[0]+o[0],t[1]=r[1]+o[1],t}function scaleAndAdd$1(t,r,o,a){return t[0]=r[0]+o[0]*a,t[1]=r[1]+o[1]*a,t}function sub(t,r,o){return t[0]=r[0]-o[0],t[1]=r[1]-o[1],t}function len(t){return Math.sqrt(lenSquare(t))}function lenSquare(t){return t[0]*t[0]+t[1]*t[1]}function scale$2(t,r,o){return t[0]=r[0]*o,t[1]=r[1]*o,t}function normalize$3(t,r){var o=len(r);return o===0?(t[0]=0,t[1]=0):(t[0]=r[0]/o,t[1]=r[1]/o),t}function distance(t,r){return Math.sqrt((t[0]-r[0])*(t[0]-r[0])+(t[1]-r[1])*(t[1]-r[1]))}var dist$2=distance;function distanceSquare(t,r){return(t[0]-r[0])*(t[0]-r[0])+(t[1]-r[1])*(t[1]-r[1])}var distSquare=distanceSquare;function lerp$1(t,r,o,a){return t[0]=r[0]+a*(o[0]-r[0]),t[1]=r[1]+a*(o[1]-r[1]),t}function applyTransform$1(t,r,o){var a=r[0],u=r[1];return t[0]=o[0]*a+o[2]*u+o[4],t[1]=o[1]*a+o[3]*u+o[5],t}function min$1(t,r,o){return t[0]=Math.min(r[0],o[0]),t[1]=Math.min(r[1],o[1]),t}function max$1(t,r,o){return t[0]=Math.max(r[0],o[0]),t[1]=Math.max(r[1],o[1]),t}var Param=function(){function t(r,o){this.target=r,this.topTarget=o&&o.topTarget}return t}(),Draggable=function(){function t(r){this.handler=r,r.on("mousedown",this._dragStart,this),r.on("mousemove",this._drag,this),r.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(r){for(var o=r.target;o&&!o.draggable;)o=o.parent||o.__hostTarget;o&&(this._draggingTarget=o,o.dragging=!0,this._x=r.offsetX,this._y=r.offsetY,this.handler.dispatchToElement(new Param(o,r),"dragstart",r.event))},t.prototype._drag=function(r){var o=this._draggingTarget;if(o){var a=r.offsetX,u=r.offsetY,d=a-this._x,g=u-this._y;this._x=a,this._y=u,o.drift(d,g,r),this.handler.dispatchToElement(new Param(o,r),"drag",r.event);var v=this.handler.findHover(a,u,o).target,y=this._dropTarget;this._dropTarget=v,o!==v&&(y&&v!==y&&this.handler.dispatchToElement(new Param(y,r),"dragleave",r.event),v&&v!==y&&this.handler.dispatchToElement(new Param(v,r),"dragenter",r.event))}},t.prototype._dragEnd=function(r){var o=this._draggingTarget;o&&(o.dragging=!1),this.handler.dispatchToElement(new Param(o,r),"dragend",r.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,r),"drop",r.event),this._draggingTarget=null,this._dropTarget=null},t}(),Draggable$1=Draggable,Eventful=function(){function t(r){r&&(this._$eventProcessor=r)}return t.prototype.on=function(r,o,a,u){this._$handlers||(this._$handlers={});var d=this._$handlers;if(typeof o=="function"&&(u=a,a=o,o=null),!a||!r)return this;var g=this._$eventProcessor;o!=null&&g&&g.normalizeQuery&&(o=g.normalizeQuery(o)),d[r]||(d[r]=[]);for(var v=0;v>1)%2;v.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[y]+":0",u[A]+":0",a[1-y]+":auto",u[1-A]+":auto",""].join("!important;"),t.appendChild(g),o.push(g)}return o}function preparePointerTransformer(t,r,o){for(var a=o?"invTrans":"trans",u=r[a],d=r.srcCoords,g=[],v=[],y=!0,A=0;A<4;A++){var b=t[A].getBoundingClientRect(),_=2*A,w=b.left,S=b.top;g.push(w,S),y=y&&d&&w===d[_]&&S===d[_+1],v.push(t[A].offsetLeft,t[A].offsetTop)}return y&&u?u:(r.srcCoords=g,r[a]=o?buildTransformer(v,g):buildTransformer(g,v))}function isCanvasEl(t){return t.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(t){return t==null?"":(t+"").replace(replaceReg,function(r,o){return replaceMap[o]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env$1.browser.firefox&&+env$1.browser.version.split(".")[0]<39;function clientToLocal(t,r,o,a){return o=o||{},a?calculateZrXY(t,r,o):firefoxNotSupportOffsetXY&&r.layerX!=null&&r.layerX!==r.offsetX?(o.zrX=r.layerX,o.zrY=r.layerY):r.offsetX!=null?(o.zrX=r.offsetX,o.zrY=r.offsetY):calculateZrXY(t,r,o),o}function calculateZrXY(t,r,o){if(env$1.domSupported&&t.getBoundingClientRect){var a=r.clientX,u=r.clientY;if(isCanvasEl(t)){var d=t.getBoundingClientRect();o.zrX=a-d.left,o.zrY=u-d.top;return}else if(transformCoordWithViewport(_calcOut,t,a,u)){o.zrX=_calcOut[0],o.zrY=_calcOut[1];return}}o.zrX=o.zrY=0}function getNativeEvent(t){return t||window.event}function normalizeEvent(t,r,o){if(r=getNativeEvent(r),r.zrX!=null)return r;var a=r.type,u=a&&a.indexOf("touch")>=0;if(u){var g=a!=="touchend"?r.targetTouches[0]:r.changedTouches[0];g&&clientToLocal(t,g,r,o)}else{clientToLocal(t,r,r,o);var d=getWheelDeltaMayPolyfill(r);r.zrDelta=d?d/120:-(r.detail||0)/3}var v=r.button;return r.which==null&&v!==void 0&&MOUSE_EVENT_REG.test(r.type)&&(r.which=v&1?1:v&2?3:v&4?2:0),r}function getWheelDeltaMayPolyfill(t){var r=t.wheelDelta;if(r)return r;var o=t.deltaX,a=t.deltaY;if(o==null||a==null)return r;var u=Math.abs(a!==0?a:o),d=a>0?-1:a<0?1:o>0?-1:1;return 3*u*d}function addEventListener(t,r,o,a){t.addEventListener(r,o,a)}function removeEventListener(t,r,o,a){t.removeEventListener(r,o,a)}var stop=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(t){return t.which===2||t.which===3}var GestureMgr=function(){function t(){this._track=[]}return t.prototype.recognize=function(r,o,a){return this._doTrack(r,o,a),this._recognize(r)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(r,o,a){var u=r.touches;if(!!u){for(var d={points:[],touches:[],target:o,event:r},g=0,v=u.length;g1&&a&&a.length>1){var d=dist$1(a)/dist$1(u);!isFinite(d)&&(d=1),r.pinchScale=d;var g=center$1(a);return r.pinchX=g[0],r.pinchY=g[1],{type:"pinch",target:t[0].target,event:r}}}}};function create$1(){return[1,0,0,1,0,0]}function identity(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function copy(t,r){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4],t[5]=r[5],t}function mul(t,r,o){var a=r[0]*o[0]+r[2]*o[1],u=r[1]*o[0]+r[3]*o[1],d=r[0]*o[2]+r[2]*o[3],g=r[1]*o[2]+r[3]*o[3],v=r[0]*o[4]+r[2]*o[5]+r[4],y=r[1]*o[4]+r[3]*o[5]+r[5];return t[0]=a,t[1]=u,t[2]=d,t[3]=g,t[4]=v,t[5]=y,t}function translate(t,r,o){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4]+o[0],t[5]=r[5]+o[1],t}function rotate(t,r,o,a){a===void 0&&(a=[0,0]);var u=r[0],d=r[2],g=r[4],v=r[1],y=r[3],A=r[5],b=Math.sin(o),_=Math.cos(o);return t[0]=u*_+v*b,t[1]=-u*b+v*_,t[2]=d*_+y*b,t[3]=-d*b+_*y,t[4]=_*(g-a[0])+b*(A-a[1])+a[0],t[5]=_*(A-a[1])-b*(g-a[0])+a[1],t}function scale$1(t,r,o){var a=o[0],u=o[1];return t[0]=r[0]*a,t[1]=r[1]*u,t[2]=r[2]*a,t[3]=r[3]*u,t[4]=r[4]*a,t[5]=r[5]*u,t}function invert(t,r){var o=r[0],a=r[2],u=r[4],d=r[1],g=r[3],v=r[5],y=o*g-d*a;return y?(y=1/y,t[0]=g*y,t[1]=-d*y,t[2]=-a*y,t[3]=o*y,t[4]=(a*v-g*u)*y,t[5]=(d*u-o*v)*y,t):null}function clone$3(t){var r=create$1();return copy(r,t),r}var Point=function(){function t(r,o){this.x=r||0,this.y=o||0}return t.prototype.copy=function(r){return this.x=r.x,this.y=r.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(r,o){return this.x=r,this.y=o,this},t.prototype.equal=function(r){return r.x===this.x&&r.y===this.y},t.prototype.add=function(r){return this.x+=r.x,this.y+=r.y,this},t.prototype.scale=function(r){this.x*=r,this.y*=r},t.prototype.scaleAndAdd=function(r,o){this.x+=r.x*o,this.y+=r.y*o},t.prototype.sub=function(r){return this.x-=r.x,this.y-=r.y,this},t.prototype.dot=function(r){return this.x*r.x+this.y*r.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var r=this.len();return this.x/=r,this.y/=r,this},t.prototype.distance=function(r){var o=this.x-r.x,a=this.y-r.y;return Math.sqrt(o*o+a*a)},t.prototype.distanceSquare=function(r){var o=this.x-r.x,a=this.y-r.y;return o*o+a*a},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(r){if(!!r){var o=this.x,a=this.y;return this.x=r[0]*o+r[2]*a+r[4],this.y=r[1]*o+r[3]*a+r[5],this}},t.prototype.toArray=function(r){return r[0]=this.x,r[1]=this.y,r},t.prototype.fromArray=function(r){this.x=r[0],this.y=r[1]},t.set=function(r,o,a){r.x=o,r.y=a},t.copy=function(r,o){r.x=o.x,r.y=o.y},t.len=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},t.lenSquare=function(r){return r.x*r.x+r.y*r.y},t.dot=function(r,o){return r.x*o.x+r.y*o.y},t.add=function(r,o,a){r.x=o.x+a.x,r.y=o.y+a.y},t.sub=function(r,o,a){r.x=o.x-a.x,r.y=o.y-a.y},t.scale=function(r,o,a){r.x=o.x*a,r.y=o.y*a},t.scaleAndAdd=function(r,o,a,u){r.x=o.x+a.x*u,r.y=o.y+a.y*u},t.lerp=function(r,o,a,u){var d=1-u;r.x=d*o.x+u*a.x,r.y=d*o.y+u*a.y},t}(),Point$1=Point,mathMin$a=Math.min,mathMax$a=Math.max,lt$2=new Point$1,rb=new Point$1,lb=new Point$1,rt=new Point$1,minTv$1=new Point$1,maxTv$1=new Point$1,BoundingRect=function(){function t(r,o,a,u){a<0&&(r=r+a,a=-a),u<0&&(o=o+u,u=-u),this.x=r,this.y=o,this.width=a,this.height=u}return t.prototype.union=function(r){var o=mathMin$a(r.x,this.x),a=mathMin$a(r.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$a(r.x+r.width,this.x+this.width)-o:this.width=r.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$a(r.y+r.height,this.y+this.height)-a:this.height=r.height,this.x=o,this.y=a},t.prototype.applyTransform=function(r){t.applyTransform(this,this,r)},t.prototype.calculateTransform=function(r){var o=this,a=r.width/o.width,u=r.height/o.height,d=create$1();return translate(d,d,[-o.x,-o.y]),scale$1(d,d,[a,u]),translate(d,d,[r.x,r.y]),d},t.prototype.intersect=function(r,o){if(!r)return!1;r instanceof t||(r=t.create(r));var a=this,u=a.x,d=a.x+a.width,g=a.y,v=a.y+a.height,y=r.x,A=r.x+r.width,b=r.y,_=r.y+r.height,w=!(dC&&(C=O,TC&&(C=D,E=a.x&&r<=a.x+a.width&&o>=a.y&&o<=a.y+a.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(r){t.copy(this,r)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(r){return new t(r.x,r.y,r.width,r.height)},t.copy=function(r,o){r.x=o.x,r.y=o.y,r.width=o.width,r.height=o.height},t.applyTransform=function(r,o,a){if(!a){r!==o&&t.copy(r,o);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var u=a[0],d=a[3],g=a[4],v=a[5];r.x=o.x*u+g,r.y=o.y*d+v,r.width=o.width*u,r.height=o.height*d,r.width<0&&(r.x+=r.width,r.width=-r.width),r.height<0&&(r.y+=r.height,r.height=-r.height);return}lt$2.x=lb.x=o.x,lt$2.y=rt.y=o.y,rb.x=rt.x=o.x+o.width,rb.y=lb.y=o.y+o.height,lt$2.transform(a),rt.transform(a),rb.transform(a),lb.transform(a),r.x=mathMin$a(lt$2.x,rb.x,lb.x,rt.x),r.y=mathMin$a(lt$2.y,rb.y,lb.y,rt.y);var y=mathMax$a(lt$2.x,rb.x,lb.x,rt.x),A=mathMax$a(lt$2.y,rb.y,lb.y,rt.y);r.width=y-r.x,r.height=A-r.y},t}(),BoundingRect$1=BoundingRect,SILENT="silent";function makeEventPacket(t,r,o){return{type:t,event:o,target:r.target,topTarget:r.topTarget,cancelBubble:!1,offsetX:o.zrX,offsetY:o.zrY,gestureEvent:o.gestureEvent,pinchX:o.pinchX,pinchY:o.pinchY,pinchScale:o.pinchScale,wheelDelta:o.zrDelta,zrByTouch:o.zrByTouch,which:o.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(t){__extends(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.handler=null,o}return r.prototype.dispose=function(){},r.prototype.setCursor=function(){},r}(Eventful$1),HoveredResult=function(){function t(r,o){this.x=r,this.y=o}return t}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect$1(0,0,0,0),Handler=function(t){__extends(r,t);function r(o,a,u,d,g){var v=t.call(this)||this;return v._hovered=new HoveredResult(0,0),v.storage=o,v.painter=a,v.painterRoot=d,v._pointerSize=g,u=u||new EmptyProxy,v.proxy=null,v.setHandlerProxy(u),v._draggingMgr=new Draggable$1(v),v}return r.prototype.setHandlerProxy=function(o){this.proxy&&this.proxy.dispose(),o&&(each$f(handlerNames,function(a){o.on&&o.on(a,this[a],this)},this),o.handler=this),this.proxy=o},r.prototype.mousemove=function(o){var a=o.zrX,u=o.zrY,d=isOutsideBoundary(this,a,u),g=this._hovered,v=g.target;v&&!v.__zr&&(g=this.findHover(g.x,g.y),v=g.target);var y=this._hovered=d?new HoveredResult(a,u):this.findHover(a,u),A=y.target,b=this.proxy;b.setCursor&&b.setCursor(A?A.cursor:"default"),v&&A!==v&&this.dispatchToElement(g,"mouseout",o),this.dispatchToElement(y,"mousemove",o),A&&A!==v&&this.dispatchToElement(y,"mouseover",o)},r.prototype.mouseout=function(o){var a=o.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",o),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:o})},r.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},r.prototype.dispatch=function(o,a){var u=this[o];u&&u.call(this,a)},r.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},r.prototype.setCursorStyle=function(o){var a=this.proxy;a.setCursor&&a.setCursor(o)},r.prototype.dispatchToElement=function(o,a,u){o=o||{};var d=o.target;if(!(d&&d.silent)){for(var g="on"+a,v=makeEventPacket(a,o,u);d&&(d[g]&&(v.cancelBubble=!!d[g].call(d,v)),d.trigger(a,v),d=d.__hostTarget?d.__hostTarget:d.parent,!v.cancelBubble););v.cancelBubble||(this.trigger(a,v),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(y){typeof y[g]=="function"&&y[g].call(y,v),y.trigger&&y.trigger(a,v)}))}},r.prototype.findHover=function(o,a,u){var d=this.storage.getDisplayList(),g=new HoveredResult(o,a);if(setHoverTarget(d,g,o,a,u),this._pointerSize&&!g.target){for(var v=[],y=this._pointerSize,A=y/2,b=new BoundingRect$1(o-A,a-A,y,y),_=d.length-1;_>=0;_--){var w=d[_];w!==u&&!w.ignore&&!w.ignoreCoarsePointer&&(!w.parent||!w.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(w.getBoundingRect()),w.transform&&tmpRect$1.applyTransform(w.transform),tmpRect$1.intersect(b)&&v.push(w))}if(v.length)for(var S=4,C=Math.PI/12,T=Math.PI*2,I=0;I4)return;this._downPoint=null}this.dispatchToElement(d,t,r)}});function isHover(t,r,o){if(t[t.rectHover?"rectContain":"contain"](r,o)){for(var a=t,u=void 0,d=!1;a;){if(a.ignoreClip&&(d=!0),!d){var g=a.getClipPath();if(g&&!g.contain(r,o))return!1}a.silent&&(u=!0);var v=a.__hostTarget;a=v||a.parent}return u?SILENT:!0}return!1}function setHoverTarget(t,r,o,a,u){for(var d=t.length-1;d>=0;d--){var g=t[d],v=void 0;if(g!==u&&!g.ignore&&(v=isHover(g,o,a))&&(!r.topTarget&&(r.topTarget=g),v!==SILENT)){r.target=g;break}}}function isOutsideBoundary(t,r,o){var a=t.painter;return r<0||r>a.getWidth()||o<0||o>a.getHeight()}var Handler$1=Handler,DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(t){for(var r=0;t>=DEFAULT_MIN_MERGE;)r|=t&1,t>>=1;return t+r}function makeAscendingRun(t,r,o,a){var u=r+1;if(u===o)return 1;if(a(t[u++],t[r])<0){for(;u=0;)u++;return u-r}function reverseRun(t,r,o){for(o--;r>>1,u(d,t[y])<0?v=y:g=y+1;var A=a-g;switch(A){case 3:t[g+3]=t[g+2];case 2:t[g+2]=t[g+1];case 1:t[g+1]=t[g];break;default:for(;A>0;)t[g+A]=t[g+A-1],A--}t[g]=d}}function gallopLeft(t,r,o,a,u,d){var g=0,v=0,y=1;if(d(t,r[o+u])>0){for(v=a-u;y0;)g=y,y=(y<<1)+1,y<=0&&(y=v);y>v&&(y=v),g+=u,y+=u}else{for(v=u+1;yv&&(y=v);var A=g;g=u-y,y=u-A}for(g++;g>>1);d(t,r[o+b])>0?g=b+1:y=b}return y}function gallopRight(t,r,o,a,u,d){var g=0,v=0,y=1;if(d(t,r[o+u])<0){for(v=u+1;yv&&(y=v);var A=g;g=u-y,y=u-A}else{for(v=a-u;y=0;)g=y,y=(y<<1)+1,y<=0&&(y=v);y>v&&(y=v),g+=u,y+=u}for(g++;g>>1);d(t,r[o+b])<0?y=b:g=b+1}return y}function TimSort(t,r){var o=DEFAULT_MIN_GALLOPING,a,u,d=0,g=[];a=[],u=[];function v(S,C){a[d]=S,u[d]=C,d+=1}function y(){for(;d>1;){var S=d-2;if(S>=1&&u[S-1]<=u[S]+u[S+1]||S>=2&&u[S-2]<=u[S]+u[S-1])u[S-1]u[S+1])break;b(S)}}function A(){for(;d>1;){var S=d-2;S>0&&u[S-1]=DEFAULT_MIN_GALLOPING||G>=DEFAULT_MIN_GALLOPING);if(M)break;x<0&&(x=0),x+=2}if(o=x,o<1&&(o=1),C===1){for(E=0;E=0;E--)t[P+E]=t[x+E];t[D]=g[O];return}for(var G=o;;){var M=0,N=0,V=!1;do if(r(g[O],t[F])<0){if(t[D--]=t[F--],M++,N=0,--C===0){V=!0;break}}else if(t[D--]=g[O--],N++,M=0,--I===1){V=!0;break}while((M|N)=0;E--)t[P+E]=t[x+E];if(C===0){V=!0;break}}if(t[D--]=g[O--],--I===1){V=!0;break}if(N=I-gallopLeft(t[F],g,0,I,I-1,r),N!==0){for(D-=N,O-=N,I-=N,P=D+1,x=O+1,E=0;E=DEFAULT_MIN_GALLOPING||N>=DEFAULT_MIN_GALLOPING);if(V)break;G<0&&(G=0),G+=2}if(o=G,o<1&&(o=1),I===1){for(D-=C,F-=C,P=D+1,x=F+1,E=C-1;E>=0;E--)t[P+E]=t[x+E];t[D]=g[O]}else{if(I===0)throw new Error;for(x=D-(I-1),E=0;Ev&&(y=v),binaryInsertionSort(t,o,o+y,o+d,r),d=y}g.pushRun(o,d),g.mergeRuns(),u-=d,o+=d}while(u!==0);g.forceMergeRuns()}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(t,r){return t.zlevel===r.zlevel?t.z===r.z?t.z2-r.z2:t.z-r.z:t.zlevel-r.zlevel}var Storage=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return t.prototype.traverse=function(r,o){for(var a=0;a0&&(b.__clipPaths=[]),isNaN(b.z)&&(logInvalidZError(),b.z=0),isNaN(b.z2)&&(logInvalidZError(),b.z2=0),isNaN(b.zlevel)&&(logInvalidZError(),b.zlevel=0),this._displayList[this._displayListLen++]=b}var _=r.getDecalElement&&r.getDecalElement();_&&this._updateAndAddDisplayable(_,o,a);var w=r.getTextGuideLine();w&&this._updateAndAddDisplayable(w,o,a);var S=r.getTextContent();S&&this._updateAndAddDisplayable(S,o,a)}},t.prototype.addRoot=function(r){r.__zr&&r.__zr.storage===this||this._roots.push(r)},t.prototype.delRoot=function(r){if(r instanceof Array){for(var o=0,a=r.length;o=0&&this._roots.splice(u,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Storage$1=Storage,requestAnimationFrame$1;requestAnimationFrame$1=env$1.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var requestAnimationFrame$2=requestAnimationFrame$1,easingFuncs={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var r,o=.1,a=.4;return t===0?0:t===1?1:(!o||o<1?(o=1,r=a/4):r=a*Math.asin(1/o)/(2*Math.PI),-(o*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)))},elasticOut:function(t){var r,o=.1,a=.4;return t===0?0:t===1?1:(!o||o<1?(o=1,r=a/4):r=a*Math.asin(1/o)/(2*Math.PI),o*Math.pow(2,-10*t)*Math.sin((t-r)*(2*Math.PI)/a)+1)},elasticInOut:function(t){var r,o=.1,a=.4;return t===0?0:t===1?1:(!o||o<1?(o=1,r=a/4):r=a*Math.asin(1/o)/(2*Math.PI),(t*=2)<1?-.5*(o*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)):o*Math.pow(2,-10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)*.5+1)},backIn:function(t){var r=1.70158;return t*t*((r+1)*t-r)},backOut:function(t){var r=1.70158;return--t*t*((r+1)*t+r)+1},backInOut:function(t){var r=2.5949095;return(t*=2)<1?.5*(t*t*((r+1)*t-r)):.5*((t-=2)*t*((r+1)*t+r)+2)},bounceIn:function(t){return 1-easingFuncs.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?easingFuncs.bounceIn(t*2)*.5:easingFuncs.bounceOut(t*2-1)*.5+.5}},easingFuncs$1=easingFuncs,mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$4=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$2(),_v1=create$2(),_v2=create$2();function isAroundZero$1(t){return t>-EPSILON$4&&tEPSILON$4||t<-EPSILON$4}function cubicAt(t,r,o,a,u){var d=1-u;return d*d*(d*t+3*u*r)+u*u*(u*a+3*d*o)}function cubicDerivativeAt(t,r,o,a,u){var d=1-u;return 3*(((r-t)*d+2*(o-r)*u)*d+(a-o)*u*u)}function cubicRootAt(t,r,o,a,u,d){var g=a+3*(r-o)-t,v=3*(o-r*2+t),y=3*(r-t),A=t-u,b=v*v-3*g*y,_=v*y-9*g*A,w=y*y-3*v*A,S=0;if(isAroundZero$1(b)&&isAroundZero$1(_))if(isAroundZero$1(v))d[0]=0;else{var C=-y/v;C>=0&&C<=1&&(d[S++]=C)}else{var T=_*_-4*b*w;if(isAroundZero$1(T)){var I=_/b,C=-v/g+I,E=-I/2;C>=0&&C<=1&&(d[S++]=C),E>=0&&E<=1&&(d[S++]=E)}else if(T>0){var F=mathSqrt$3(T),O=b*v+1.5*g*(-_+F),D=b*v+1.5*g*(-_-F);O<0?O=-mathPow$2(-O,ONE_THIRD):O=mathPow$2(O,ONE_THIRD),D<0?D=-mathPow$2(-D,ONE_THIRD):D=mathPow$2(D,ONE_THIRD);var C=(-v-(O+D))/(3*g);C>=0&&C<=1&&(d[S++]=C)}else{var x=(2*b*v-3*g*_)/(2*mathSqrt$3(b*b*b)),P=Math.acos(x)/3,G=mathSqrt$3(b),M=Math.cos(P),C=(-v-2*G*M)/(3*g),E=(-v+G*(M+THREE_SQRT*Math.sin(P)))/(3*g),N=(-v+G*(M-THREE_SQRT*Math.sin(P)))/(3*g);C>=0&&C<=1&&(d[S++]=C),E>=0&&E<=1&&(d[S++]=E),N>=0&&N<=1&&(d[S++]=N)}}return S}function cubicExtrema(t,r,o,a,u){var d=6*o-12*r+6*t,g=9*r+3*a-3*t-9*o,v=3*r-3*t,y=0;if(isAroundZero$1(g)){if(isNotAroundZero$1(d)){var A=-v/d;A>=0&&A<=1&&(u[y++]=A)}}else{var b=d*d-4*g*v;if(isAroundZero$1(b))u[0]=-d/(2*g);else if(b>0){var _=mathSqrt$3(b),A=(-d+_)/(2*g),w=(-d-_)/(2*g);A>=0&&A<=1&&(u[y++]=A),w>=0&&w<=1&&(u[y++]=w)}}return y}function cubicSubdivide(t,r,o,a,u,d){var g=(r-t)*u+t,v=(o-r)*u+r,y=(a-o)*u+o,A=(v-g)*u+g,b=(y-v)*u+v,_=(b-A)*u+A;d[0]=t,d[1]=g,d[2]=A,d[3]=_,d[4]=_,d[5]=b,d[6]=y,d[7]=a}function cubicProjectPoint(t,r,o,a,u,d,g,v,y,A,b){var _,w=.005,S=1/0,C,T,I,E;_v0[0]=y,_v0[1]=A;for(var F=0;F<1;F+=.05)_v1[0]=cubicAt(t,o,u,g,F),_v1[1]=cubicAt(r,a,d,v,F),I=distSquare(_v0,_v1),I=0&&I=0&&A<=1&&(u[y++]=A)}}else{var b=g*g-4*d*v;if(isAroundZero$1(b)){var A=-g/(2*d);A>=0&&A<=1&&(u[y++]=A)}else if(b>0){var _=mathSqrt$3(b),A=(-g+_)/(2*d),w=(-g-_)/(2*d);A>=0&&A<=1&&(u[y++]=A),w>=0&&w<=1&&(u[y++]=w)}}return y}function quadraticExtremum(t,r,o){var a=t+o-2*r;return a===0?.5:(t-r)/a}function quadraticSubdivide(t,r,o,a,u){var d=(r-t)*a+t,g=(o-r)*a+r,v=(g-d)*a+d;u[0]=t,u[1]=d,u[2]=v,u[3]=v,u[4]=g,u[5]=o}function quadraticProjectPoint(t,r,o,a,u,d,g,v,y){var A,b=.005,_=1/0;_v0[0]=g,_v0[1]=v;for(var w=0;w<1;w+=.05){_v1[0]=quadraticAt$1(t,o,u,w),_v1[1]=quadraticAt$1(r,a,d,w);var S=distSquare(_v0,_v1);S<_&&(A=w,_=S)}_=1/0;for(var C=0;C<32&&!(b=0&&S<_)A=T,_=S;else{_v2[0]=quadraticAt$1(t,o,u,I),_v2[1]=quadraticAt$1(r,a,d,I);var E=distSquare(_v2,_v0);I<=1&&E<_?(A=I,_=E):b*=.5}}return y&&(y[0]=quadraticAt$1(t,o,u,A),y[1]=quadraticAt$1(r,a,d,A)),mathSqrt$3(_)}function quadraticLength(t,r,o,a,u,d,g){for(var v=t,y=r,A=0,b=1/g,_=1;_<=g;_++){var w=_*b,S=quadraticAt$1(t,o,u,w),C=quadraticAt$1(r,a,d,w),T=S-v,I=C-y;A+=Math.sqrt(T*T+I*I),v=S,y=C}return A}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(t){var r=t&®exp.exec(t);if(r){var o=r[1].split(","),a=+trim$1(o[0]),u=+trim$1(o[1]),d=+trim$1(o[2]),g=+trim$1(o[3]);if(isNaN(a+u+d+g))return;var v=[];return function(y){return y<=0?0:y>=1?1:cubicRootAt(0,a,d,1,y,v)&&cubicAt(0,u,g,1,v[0])}}}var Clip=function(){function t(r){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=r.life||1e3,this._delay=r.delay||0,this.loop=r.loop||!1,this.onframe=r.onframe||noop,this.ondestroy=r.ondestroy||noop,this.onrestart=r.onrestart||noop,r.easing&&this.setEasing(r.easing)}return t.prototype.step=function(r,o){if(this._inited||(this._startTime=r+this._delay,this._inited=!0),this._paused){this._pausedTime+=o;return}var a=this._life,u=r-this._startTime-this._pausedTime,d=u/a;d<0&&(d=0),d=Math.min(d,1);var g=this.easingFunc,v=g?g(d):d;if(this.onframe(v),d===1)if(this.loop){var y=u%a;this._startTime=r-y,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(r){this.easing=r,this.easingFunc=isFunction(r)?r:easingFuncs$1[r]||createCubicEasingFunc(r)},t}(),Clip$1=Clip,Entry=function(){function t(r){this.value=r}return t}(),LinkedList=function(){function t(){this._len=0}return t.prototype.insert=function(r){var o=new Entry(r);return this.insertEntry(o),o},t.prototype.insertEntry=function(r){this.head?(this.tail.next=r,r.prev=this.tail,r.next=null,this.tail=r):this.head=this.tail=r,this._len++},t.prototype.remove=function(r){var o=r.prev,a=r.next;o?o.next=a:this.head=a,a?a.prev=o:this.tail=o,r.next=r.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),LRU=function(){function t(r){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=r}return t.prototype.put=function(r,o){var a=this._list,u=this._map,d=null;if(u[r]==null){var g=a.len(),v=this._lastRemovedEntry;if(g>=this._maxSize&&g>0){var y=a.head;a.remove(y),delete u[y.key],d=y.value,this._lastRemovedEntry=y}v?v.value=o:v=new Entry(o),v.key=r,a.insertEntry(v),u[r]=v}return d},t.prototype.get=function(r){var o=this._map[r],a=this._list;if(o!=null)return o!==a.tail&&(a.remove(o),a.insertEntry(o)),o.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),LRU$1=LRU,kCSSColorTable={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clampCssByte(t){return t=Math.round(t),t<0?0:t>255?255:t}function clampCssAngle(t){return t=Math.round(t),t<0?0:t>360?360:t}function clampCssFloat(t){return t<0?0:t>1?1:t}function parseCssInt(t){var r=t;return r.length&&r.charAt(r.length-1)==="%"?clampCssByte(parseFloat(r)/100*255):clampCssByte(parseInt(r,10))}function parseCssFloat(t){var r=t;return r.length&&r.charAt(r.length-1)==="%"?clampCssFloat(parseFloat(r)/100):clampCssFloat(parseFloat(r))}function cssHueToRgb(t,r,o){return o<0?o+=1:o>1&&(o-=1),o*6<1?t+(r-t)*o*6:o*2<1?r:o*3<2?t+(r-t)*(2/3-o)*6:t}function lerpNumber(t,r,o){return t+(r-t)*o}function setRgba(t,r,o,a,u){return t[0]=r,t[1]=o,t[2]=a,t[3]=u,t}function copyRgba(t,r){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t}var colorCache=new LRU$1(20),lastRemovedArr=null;function putToCache(t,r){lastRemovedArr&©Rgba(lastRemovedArr,r),lastRemovedArr=colorCache.put(t,lastRemovedArr||r.slice())}function parse$1(t,r){if(!!t){r=r||[];var o=colorCache.get(t);if(o)return copyRgba(r,o);t=t+"";var a=t.replace(/ /g,"").toLowerCase();if(a in kCSSColorTable)return copyRgba(r,kCSSColorTable[a]),putToCache(t,r),r;var u=a.length;if(a.charAt(0)==="#"){if(u===4||u===5){var d=parseInt(a.slice(1,4),16);if(!(d>=0&&d<=4095)){setRgba(r,0,0,0,1);return}return setRgba(r,(d&3840)>>4|(d&3840)>>8,d&240|(d&240)>>4,d&15|(d&15)<<4,u===5?parseInt(a.slice(4),16)/15:1),putToCache(t,r),r}else if(u===7||u===9){var d=parseInt(a.slice(1,7),16);if(!(d>=0&&d<=16777215)){setRgba(r,0,0,0,1);return}return setRgba(r,(d&16711680)>>16,(d&65280)>>8,d&255,u===9?parseInt(a.slice(7),16)/255:1),putToCache(t,r),r}return}var g=a.indexOf("("),v=a.indexOf(")");if(g!==-1&&v+1===u){var y=a.substr(0,g),A=a.substr(g+1,v-(g+1)).split(","),b=1;switch(y){case"rgba":if(A.length!==4)return A.length===3?setRgba(r,+A[0],+A[1],+A[2],1):setRgba(r,0,0,0,1);b=parseCssFloat(A.pop());case"rgb":if(A.length>=3)return setRgba(r,parseCssInt(A[0]),parseCssInt(A[1]),parseCssInt(A[2]),A.length===3?b:parseCssFloat(A[3])),putToCache(t,r),r;setRgba(r,0,0,0,1);return;case"hsla":if(A.length!==4){setRgba(r,0,0,0,1);return}return A[3]=parseCssFloat(A[3]),hsla2rgba(A,r),putToCache(t,r),r;case"hsl":if(A.length!==3){setRgba(r,0,0,0,1);return}return hsla2rgba(A,r),putToCache(t,r),r;default:return}}setRgba(r,0,0,0,1)}}function hsla2rgba(t,r){var o=(parseFloat(t[0])%360+360)%360/360,a=parseCssFloat(t[1]),u=parseCssFloat(t[2]),d=u<=.5?u*(a+1):u+a-u*a,g=u*2-d;return r=r||[],setRgba(r,clampCssByte(cssHueToRgb(g,d,o+1/3)*255),clampCssByte(cssHueToRgb(g,d,o)*255),clampCssByte(cssHueToRgb(g,d,o-1/3)*255),1),t.length===4&&(r[3]=t[3]),r}function rgba2hsla(t){if(!!t){var r=t[0]/255,o=t[1]/255,a=t[2]/255,u=Math.min(r,o,a),d=Math.max(r,o,a),g=d-u,v=(d+u)/2,y,A;if(g===0)y=0,A=0;else{v<.5?A=g/(d+u):A=g/(2-d-u);var b=((d-r)/6+g/2)/g,_=((d-o)/6+g/2)/g,w=((d-a)/6+g/2)/g;r===d?y=w-_:o===d?y=1/3+b-w:a===d&&(y=2/3+_-b),y<0&&(y+=1),y>1&&(y-=1)}var S=[y*360,A,v];return t[3]!=null&&S.push(t[3]),S}}function lift(t,r){var o=parse$1(t);if(o){for(var a=0;a<3;a++)r<0?o[a]=o[a]*(1-r)|0:o[a]=(255-o[a])*r+o[a]|0,o[a]>255?o[a]=255:o[a]<0&&(o[a]=0);return stringify(o,o.length===4?"rgba":"rgb")}}function fastLerp(t,r,o){if(!(!(r&&r.length)||!(t>=0&&t<=1))){o=o||[];var a=t*(r.length-1),u=Math.floor(a),d=Math.ceil(a),g=r[u],v=r[d],y=a-u;return o[0]=clampCssByte(lerpNumber(g[0],v[0],y)),o[1]=clampCssByte(lerpNumber(g[1],v[1],y)),o[2]=clampCssByte(lerpNumber(g[2],v[2],y)),o[3]=clampCssFloat(lerpNumber(g[3],v[3],y)),o}}function lerp(t,r,o){if(!(!(r&&r.length)||!(t>=0&&t<=1))){var a=t*(r.length-1),u=Math.floor(a),d=Math.ceil(a),g=parse$1(r[u]),v=parse$1(r[d]),y=a-u,A=stringify([clampCssByte(lerpNumber(g[0],v[0],y)),clampCssByte(lerpNumber(g[1],v[1],y)),clampCssByte(lerpNumber(g[2],v[2],y)),clampCssFloat(lerpNumber(g[3],v[3],y))],"rgba");return o?{color:A,leftIndex:u,rightIndex:d,value:a}:A}}function modifyHSL(t,r,o,a){var u=parse$1(t);if(t)return u=rgba2hsla(u),r!=null&&(u[0]=clampCssAngle(r)),o!=null&&(u[1]=parseCssFloat(o)),a!=null&&(u[2]=parseCssFloat(a)),stringify(hsla2rgba(u),"rgba")}function modifyAlpha(t,r){var o=parse$1(t);if(o&&r!=null)return o[3]=clampCssFloat(r),stringify(o,"rgba")}function stringify(t,r){if(!(!t||!t.length)){var o=t[0]+","+t[1]+","+t[2];return(r==="rgba"||r==="hsva"||r==="hsla")&&(o+=","+t[3]),r+"("+o+")"}}function lum(t,r){var o=parse$1(t);return o?(.299*o[0]+.587*o[1]+.114*o[2])*o[3]/255+(1-o[3])*r:0}var liftedColorCache=new LRU$1(100);function liftColor(t){if(isString$1(t)){var r=liftedColorCache.get(t);return r||(r=lift(t,-.1),liftedColorCache.put(t,r)),r}else if(isGradientObject(t)){var o=extend({},t);return o.colorStops=map$1(t.colorStops,function(a){return{offset:a.offset,color:lift(a.color,-.1)}}),o}return t}var mathRound$1=Math.round;function normalizeColor(t){var r;if(!t||t==="transparent")t="none";else if(typeof t=="string"&&t.indexOf("rgba")>-1){var o=parse$1(t);o&&(t="rgb("+o[0]+","+o[1]+","+o[2]+")",r=o[3])}return{color:t,opacity:r==null?1:r}}var EPSILON$3=1e-4;function isAroundZero(t){return t-EPSILON$3}function round3(t){return mathRound$1(t*1e3)/1e3}function round4(t){return mathRound$1(t*1e4)/1e4}function getMatrixStr(t){return"matrix("+round3(t[0])+","+round3(t[1])+","+round3(t[2])+","+round3(t[3])+","+round4(t[4])+","+round4(t[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(t,r,o){return o==="top"?t+=r/2:o==="bottom"&&(t-=r/2),t}function hasShadow(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function getShadowKey(t){var r=t.style,o=t.getGlobalScale();return[r.shadowColor,(r.shadowBlur||0).toFixed(2),(r.shadowOffsetX||0).toFixed(2),(r.shadowOffsetY||0).toFixed(2),o[0],o[1]].join(",")}function isImagePattern(t){return t&&!!t.image}function isSVGPattern(t){return t&&!!t.svgElement}function isPattern(t){return isImagePattern(t)||isSVGPattern(t)}function isLinearGradient(t){return t.type==="linear"}function isRadialGradient(t){return t.type==="radial"}function isGradient(t){return t&&(t.type==="linear"||t.type==="radial")}function getIdURL(t){return"url(#"+t+")"}function getPathPrecision(t){var r=t.getGlobalScale(),o=Math.max(r[0],r[1]);return Math.max(Math.ceil(Math.log(o)/Math.log(10)),1)}function getSRTTransformString(t){var r=t.x||0,o=t.y||0,a=(t.rotation||0)*RADIAN_TO_DEGREE,u=retrieve2(t.scaleX,1),d=retrieve2(t.scaleY,1),g=t.skewX||0,v=t.skewY||0,y=[];return(r||o)&&y.push("translate("+r+"px,"+o+"px)"),a&&y.push("rotate("+a+")"),(u!==1||d!==1)&&y.push("scale("+u+","+d+")"),(g||v)&&y.push("skew("+mathRound$1(g*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(v*RADIAN_TO_DEGREE)+"deg)"),y.join(" ")}var encodeBase64=function(){return env$1.hasGlobalWindow&&isFunction(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer!="undefined"?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}}(),arraySlice=Array.prototype.slice;function interpolateNumber$1(t,r,o){return(r-t)*o+t}function interpolate1DArray(t,r,o,a){for(var u=r.length,d=0;da?r:t,d=Math.min(o,a),g=u[d-1]||{color:[0,0,0,0],offset:0},v=d;vg;if(v)a.length=g;else for(var y=d;y=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(r,o,a){this._needsSort=!0;var u=this.keyframes,d=u.length,g=!1,v=VALUE_TYPE_UNKOWN,y=o;if(isArrayLike(o)){var A=guessArrayDim(o);v=A,(A===1&&!isNumber$1(o[0])||A===2&&!isNumber$1(o[0][0]))&&(g=!0)}else if(isNumber$1(o)&&!eqNaN(o))v=VALUE_TYPE_NUMBER;else if(isString$1(o))if(!isNaN(+o))v=VALUE_TYPE_NUMBER;else{var b=parse$1(o);b&&(y=b,v=VALUE_TYPE_COLOR)}else if(isGradientObject(o)){var _=extend({},y);_.colorStops=map$1(o.colorStops,function(S){return{offset:S.offset,color:parse$1(S.color)}}),isLinearGradient(o)?v=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(o)&&(v=VALUE_TYPE_RADIAL_GRADIENT),y=_}d===0?this.valType=v:(v!==this.valType||v===VALUE_TYPE_UNKOWN)&&(g=!0),this.discrete=this.discrete||g;var w={time:r,value:y,rawValue:o,percent:0};return a&&(w.easing=a,w.easingFunc=isFunction(a)?a:easingFuncs$1[a]||createCubicEasingFunc(a)),u.push(w),w},t.prototype.prepare=function(r,o){var a=this.keyframes;this._needsSort&&a.sort(function(T,I){return T.time-I.time});for(var u=this.valType,d=a.length,g=a[d-1],v=this.discrete,y=isArrayValueType(u),A=isGradientValueType(u),b=0;b=0&&!(g[b].percent<=o);b--);b=w(b,v-2)}else{for(b=_;bo);b++);b=w(b-1,v-2)}C=g[b+1],S=g[b]}if(!!(S&&C)){this._lastFr=b,this._lastFrP=o;var I=C.percent-S.percent,E=I===0?1:w((o-S.percent)/I,1);C.easingFunc&&(E=C.easingFunc(E));var F=a?this._additiveValue:A?tmpRgba:r[y];if((isArrayValueType(d)||A)&&!F&&(F=this._additiveValue=[]),this.discrete)r[y]=E<1?S.rawValue:C.rawValue;else if(isArrayValueType(d))d===VALUE_TYPE_1D_ARRAY?interpolate1DArray(F,S[u],C[u],E):interpolate2DArray(F,S[u],C[u],E);else if(isGradientValueType(d)){var O=S[u],D=C[u],x=d===VALUE_TYPE_LINEAR_GRADIENT;r[y]={type:x?"linear":"radial",x:interpolateNumber$1(O.x,D.x,E),y:interpolateNumber$1(O.y,D.y,E),colorStops:map$1(O.colorStops,function(G,M){var N=D.colorStops[M];return{offset:interpolateNumber$1(G.offset,N.offset,E),color:rgba2String(interpolate1DArray([],G.color,N.color,E))}}),global:D.global},x?(r[y].x2=interpolateNumber$1(O.x2,D.x2,E),r[y].y2=interpolateNumber$1(O.y2,D.y2,E)):r[y].r=interpolateNumber$1(O.r,D.r,E)}else if(A)interpolate1DArray(F,S[u],C[u],E),a||(r[y]=rgba2String(F));else{var P=interpolateNumber$1(S[u],C[u],E);a?this._additiveValue=P:r[y]=P}a&&this._addToTarget(r)}}},t.prototype._addToTarget=function(r){var o=this.valType,a=this.propName,u=this._additiveValue;o===VALUE_TYPE_NUMBER?r[a]=r[a]+u:o===VALUE_TYPE_COLOR?(parse$1(r[a],tmpRgba),add1DArray(tmpRgba,tmpRgba,u,1),r[a]=rgba2String(tmpRgba)):o===VALUE_TYPE_1D_ARRAY?add1DArray(r[a],r[a],u,1):o===VALUE_TYPE_2D_ARRAY&&add2DArray(r[a],r[a],u,1)},t}(),Animator=function(){function t(r,o,a,u){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=r,this._loop=o,o&&u){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=u,this._allowDiscrete=a}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(r){this._target=r},t.prototype.when=function(r,o,a){return this.whenWithKeys(r,o,keys(o),a)},t.prototype.whenWithKeys=function(r,o,a,u){for(var d=this._tracks,g=0;g0&&y.addKeyframe(0,cloneValue(A),u),this._trackKeys.push(v)}y.addKeyframe(r,cloneValue(o[v]),u)}return this._maxTime=Math.max(this._maxTime,r),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(r){return this._maxTime=r,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var r=this._doneCbs;if(r)for(var o=r.length,a=0;a0)){this._started=1;for(var o=this,a=[],u=this._maxTime||0,d=0;d1){var v=g.pop();d.addKeyframe(v.time,r[u]),d.prepare(this._maxTime,d.getAdditiveTrack())}}}},t}(),Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function(t){__extends(r,t);function r(o){var a=t.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,o=o||{},a.stage=o.stage||{},a}return r.prototype.addClip=function(o){o.animation&&this.removeClip(o),this._head?(this._tail.next=o,o.prev=this._tail,o.next=null,this._tail=o):this._head=this._tail=o,o.animation=this},r.prototype.addAnimator=function(o){o.animation=this;var a=o.getClip();a&&this.addClip(a)},r.prototype.removeClip=function(o){if(!!o.animation){var a=o.prev,u=o.next;a?a.next=u:this._head=u,u?u.prev=a:this._tail=a,o.next=o.prev=o.animation=null}},r.prototype.removeAnimator=function(o){var a=o.getClip();a&&this.removeClip(a),o.animation=null},r.prototype.update=function(o){for(var a=getTime()-this._pausedTime,u=a-this._time,d=this._head;d;){var g=d.next,v=d.step(a,u);v&&(d.ondestroy(),this.removeClip(d)),d=g}this._time=a,o||(this.trigger("frame",u),this.stage.update&&this.stage.update())},r.prototype._startLoop=function(){var o=this;this._running=!0;function a(){o._running&&(requestAnimationFrame$2(a),!o._paused&&o.update())}requestAnimationFrame$2(a)},r.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},r.prototype.stop=function(){this._running=!1},r.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},r.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},r.prototype.clear=function(){for(var o=this._head;o;){var a=o.next;o.prev=o.next=o.animation=null,o=a}this._head=this._tail=null},r.prototype.isFinished=function(){return this._head==null},r.prototype.animate=function(o,a){a=a||{},this.start();var u=new Animator$1(o,a.loop);return this.addAnimator(u),u},r}(Eventful$1),Animation$1=Animation,TOUCH_CLICK_DELAY=300,globalEventSupported=env$1.domSupported,localNativeListenerNames=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r=["touchstart","touchend","touchmove"],o={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=map$1(t,function(u){var d=u.replace("mouse","pointer");return o.hasOwnProperty(d)?d:u});return{mouse:t,touch:r,pointer:a}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(t){var r=t.pointerType;return r==="pen"||r==="touch"}function setTouchTimer(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function markTouch(t){t&&(t.zrByTouch=!0)}function normalizeGlobalEvent(t,r){return normalizeEvent(t.dom,new FakeGlobalEvent(t,r),!0)}function isLocalEl(t,r){for(var o=r,a=!1;o&&o.nodeType!==9&&!(a=o.domBelongToZr||o!==r&&o===t.painterRoot);)o=o.parentNode;return a}var FakeGlobalEvent=function(){function t(r,o){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=o.type,this.target=this.currentTarget=r.dom,this.pointerType=o.pointerType,this.clientX=o.clientX,this.clientY=o.clientY}return t}(),localDOMHandlers={mousedown:function(t){t=normalizeEvent(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=normalizeEvent(this.dom,t);var r=this.__mayPointerCapture;r&&(t.zrX!==r[0]||t.zrY!==r[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=normalizeEvent(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=normalizeEvent(this.dom,t);var r=t.toElement||t.relatedTarget;isLocalEl(this,r)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){wheelEventSupported=!0,t=normalizeEvent(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){wheelEventSupported||(t=normalizeEvent(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),localDOMHandlers.mousemove.call(this,t),localDOMHandlers.mousedown.call(this,t)},touchmove:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.handler.processGesture(t,"change"),localDOMHandlers.mousemove.call(this,t)},touchend:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.handler.processGesture(t,"end"),localDOMHandlers.mouseup.call(this,t),+new Date-+this.__lastTouchMomentEPSILON$2||t<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create$1(),abs=Math.abs,Transformable=function(){function t(){}return t.prototype.getLocalTransform=function(r){return t.getLocalTransform(this,r)},t.prototype.setPosition=function(r){this.x=r[0],this.y=r[1]},t.prototype.setScale=function(r){this.scaleX=r[0],this.scaleY=r[1]},t.prototype.setSkew=function(r){this.skewX=r[0],this.skewY=r[1]},t.prototype.setOrigin=function(r){this.originX=r[0],this.originY=r[1]},t.prototype.needLocalTransform=function(){return isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},t.prototype.updateTransform=function(){var r=this.parent&&this.parent.transform,o=this.needLocalTransform(),a=this.transform;if(!(o||r)){a&&(mIdentity(a),this.invTransform=null);return}a=a||create$1(),o?this.getLocalTransform(a):mIdentity(a),r&&(o?mul(a,r,a):copy(a,r)),this.transform=a,this._resolveGlobalScaleRatio(a)},t.prototype._resolveGlobalScaleRatio=function(r){var o=this.globalScaleRatio;if(o!=null&&o!==1){this.getGlobalScale(scaleTmp);var a=scaleTmp[0]<0?-1:1,u=scaleTmp[1]<0?-1:1,d=((scaleTmp[0]-a)*o+a)/scaleTmp[0]||0,g=((scaleTmp[1]-u)*o+u)/scaleTmp[1]||0;r[0]*=d,r[1]*=d,r[2]*=g,r[3]*=g}this.invTransform=this.invTransform||create$1(),invert(this.invTransform,r)},t.prototype.getComputedTransform=function(){for(var r=this,o=[];r;)o.push(r),r=r.parent;for(;r=o.pop();)r.updateTransform();return this.transform},t.prototype.setLocalTransform=function(r){if(!!r){var o=r[0]*r[0]+r[1]*r[1],a=r[2]*r[2]+r[3]*r[3],u=Math.atan2(r[1],r[0]),d=Math.PI/2+u-Math.atan2(r[3],r[2]);a=Math.sqrt(a)*Math.cos(d),o=Math.sqrt(o),this.skewX=d,this.skewY=0,this.rotation=-u,this.x=+r[4],this.y=+r[5],this.scaleX=o,this.scaleY=a,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(!!this.transform){var r=this.parent,o=this.transform;r&&r.transform&&(r.invTransform=r.invTransform||create$1(),mul(tmpTransform,r.invTransform,o),o=tmpTransform);var a=this.originX,u=this.originY;(a||u)&&(originTransform[4]=a,originTransform[5]=u,mul(tmpTransform,o,originTransform),tmpTransform[4]-=a,tmpTransform[5]-=u,o=tmpTransform),this.setLocalTransform(o)}},t.prototype.getGlobalScale=function(r){var o=this.transform;return r=r||[],o?(r[0]=Math.sqrt(o[0]*o[0]+o[1]*o[1]),r[1]=Math.sqrt(o[2]*o[2]+o[3]*o[3]),o[0]<0&&(r[0]=-r[0]),o[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},t.prototype.transformCoordToLocal=function(r,o){var a=[r,o],u=this.invTransform;return u&&applyTransform$1(a,a,u),a},t.prototype.transformCoordToGlobal=function(r,o){var a=[r,o],u=this.transform;return u&&applyTransform$1(a,a,u),a},t.prototype.getLineScale=function(){var r=this.transform;return r&&abs(r[0]-1)>1e-10&&abs(r[3]-1)>1e-10?Math.sqrt(abs(r[0]*r[3]-r[2]*r[1])):1},t.prototype.copyTransform=function(r){copyTransform(this,r)},t.getLocalTransform=function(r,o){o=o||[];var a=r.originX||0,u=r.originY||0,d=r.scaleX,g=r.scaleY,v=r.anchorX,y=r.anchorY,A=r.rotation||0,b=r.x,_=r.y,w=r.skewX?Math.tan(r.skewX):0,S=r.skewY?Math.tan(-r.skewY):0;if(a||u||v||y){var C=a+v,T=u+y;o[4]=-C*d-w*T*g,o[5]=-T*g-S*C*d}else o[4]=o[5]=0;return o[0]=d,o[3]=g,o[1]=S*d,o[2]=w*g,A&&rotate(o,o,A),o[4]+=a+b,o[5]+=u+_,o},t.initDefaultProps=function(){var r=t.prototype;r.scaleX=r.scaleY=r.globalScaleRatio=1,r.x=r.y=r.originX=r.originY=r.skewX=r.skewY=r.rotation=r.anchorX=r.anchorY=0}(),t}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(t,r){for(var o=0;o=0?parseFloat(t)/100*r:parseFloat(t):t}function calculateTextPosition(t,r,o){var a=r.position||"inside",u=r.distance!=null?r.distance:5,d=o.height,g=o.width,v=d/2,y=o.x,A=o.y,b="left",_="top";if(a instanceof Array)y+=parsePercent$1(a[0],o.width),A+=parsePercent$1(a[1],o.height),b=null,_=null;else switch(a){case"left":y-=u,A+=v,b="right",_="middle";break;case"right":y+=u+g,A+=v,_="middle";break;case"top":y+=g/2,A-=u,b="center",_="bottom";break;case"bottom":y+=g/2,A+=d+u,b="center";break;case"inside":y+=g/2,A+=v,b="center",_="middle";break;case"insideLeft":y+=u,A+=v,_="middle";break;case"insideRight":y+=g-u,A+=v,b="right",_="middle";break;case"insideTop":y+=g/2,A+=u,b="center";break;case"insideBottom":y+=g/2,A+=d-u,b="center",_="bottom";break;case"insideTopLeft":y+=u,A+=u;break;case"insideTopRight":y+=g-u,A+=u,b="right";break;case"insideBottomLeft":y+=u,A+=d-u,_="bottom";break;case"insideBottomRight":y+=g-u,A+=d-u,b="right",_="bottom";break}return t=t||{},t.x=y,t.y=A,t.align=b,t.verticalAlign=_,t}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=!0,t},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function t(r){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(r)}return t.prototype._init=function(r){this.attr(r)},t.prototype.drift=function(r,o,a){switch(this.draggable){case"horizontal":o=0;break;case"vertical":r=0;break}var u=this.transform;u||(u=this.transform=[1,0,0,1,0,0]),u[4]+=r,u[5]+=o,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(r){var o=this._textContent;if(o&&(!o.ignore||r)){this.textConfig||(this.textConfig={});var a=this.textConfig,u=a.local,d=o.innerTransformable,g=void 0,v=void 0,y=!1;d.parent=u?this:null;var A=!1;if(d.copyTransform(o),a.position!=null){var b=tmpBoundingRect;a.layoutRect?b.copy(a.layoutRect):b.copy(this.getBoundingRect()),u||b.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,a,b):calculateTextPosition(tmpTextPosCalcRes,a,b),d.x=tmpTextPosCalcRes.x,d.y=tmpTextPosCalcRes.y,g=tmpTextPosCalcRes.align,v=tmpTextPosCalcRes.verticalAlign;var _=a.origin;if(_&&a.rotation!=null){var w=void 0,S=void 0;_==="center"?(w=b.width*.5,S=b.height*.5):(w=parsePercent$1(_[0],b.width),S=parsePercent$1(_[1],b.height)),A=!0,d.originX=-d.x+w+(u?0:b.x),d.originY=-d.y+S+(u?0:b.y)}}a.rotation!=null&&(d.rotation=a.rotation);var C=a.offset;C&&(d.x+=C[0],d.y+=C[1],A||(d.originX=-C[0],d.originY=-C[1]));var T=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,I=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),E=void 0,F=void 0,O=void 0;T&&this.canBeInsideText()?(E=a.insideFill,F=a.insideStroke,(E==null||E==="auto")&&(E=this.getInsideTextFill()),(F==null||F==="auto")&&(F=this.getInsideTextStroke(E),O=!0)):(E=a.outsideFill,F=a.outsideStroke,(E==null||E==="auto")&&(E=this.getOutsideFill()),(F==null||F==="auto")&&(F=this.getOutsideStroke(E),O=!0)),E=E||"#000",(E!==I.fill||F!==I.stroke||O!==I.autoStroke||g!==I.align||v!==I.verticalAlign)&&(y=!0,I.fill=E,I.stroke=F,I.autoStroke=O,I.align=g,I.verticalAlign=v,o.setDefaultTextStyle(I)),o.__dirty|=REDRAW_BIT,y&&o.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(r){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},t.prototype.getOutsideStroke=function(r){var o=this.__zr&&this.__zr.getBackgroundColor(),a=typeof o=="string"&&parse$1(o);a||(a=[255,255,255,1]);for(var u=a[3],d=this.__zr.isDarkMode(),g=0;g<3;g++)a[g]=a[g]*u+(d?0:255)*(1-u);return a[3]=1,stringify(a,"rgba")},t.prototype.traverse=function(r,o){},t.prototype.attrKV=function(r,o){r==="textConfig"?this.setTextConfig(o):r==="textContent"?this.setTextContent(o):r==="clipPath"?this.setClipPath(o):r==="extra"?(this.extra=this.extra||{},extend(this.extra,o)):this[r]=o},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(r,o){if(typeof r=="string")this.attrKV(r,o);else if(isObject$3(r))for(var a=r,u=keys(a),d=0;d0},t.prototype.getState=function(r){return this.states[r]},t.prototype.ensureState=function(r){var o=this.states;return o[r]||(o[r]={}),o[r]},t.prototype.clearStates=function(r){this.useState(PRESERVED_NORMAL_STATE,!1,r)},t.prototype.useState=function(r,o,a,u){var d=r===PRESERVED_NORMAL_STATE,g=this.hasState();if(!(!g&&d)){var v=this.currentStates,y=this.stateTransition;if(!(indexOf$1(v,r)>=0&&(o||v.length===1))){var A;if(this.stateProxy&&!d&&(A=this.stateProxy(r)),A||(A=this.states&&this.states[r]),!A&&!d){logError("State "+r+" not exists.");return}d||this.saveCurrentToNormalState(A);var b=!!(A&&A.hoverLayer||u);b&&this._toggleHoverLayerFlag(!0),this._applyStateObj(r,A,this._normalState,o,!a&&!this.__inHover&&y&&y.duration>0,y);var _=this._textContent,w=this._textGuide;return _&&_.useState(r,o,a,b),w&&w.useState(r,o,a,b),d?(this.currentStates=[],this._normalState={}):o?this.currentStates.push(r):this.currentStates=[r],this._updateAnimationTargets(),this.markRedraw(),!b&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),A}}},t.prototype.useStates=function(r,o,a){if(!r.length)this.clearStates();else{var u=[],d=this.currentStates,g=r.length,v=g===d.length;if(v){for(var y=0;y0,C);var T=this._textContent,I=this._textGuide;T&&T.useStates(r,o,w),I&&I.useStates(r,o,w),this._updateAnimationTargets(),this.currentStates=r.slice(),this.markRedraw(),!w&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},t.prototype.isSilent=function(){for(var r=this.silent,o=this.parent;!r&&o;){if(o.silent){r=!0;break}o=o.parent}return r},t.prototype._updateAnimationTargets=function(){for(var r=0;r=0){var a=this.currentStates.slice();a.splice(o,1),this.useStates(a)}},t.prototype.replaceState=function(r,o,a){var u=this.currentStates.slice(),d=indexOf$1(u,r),g=indexOf$1(u,o)>=0;d>=0?g?u.splice(d,1):u[d]=o:a&&!g&&u.push(o),this.useStates(u)},t.prototype.toggleState=function(r,o){o?this.useState(r,!0):this.removeState(r)},t.prototype._mergeStates=function(r){for(var o={},a,u=0;u=0&&d.splice(g,1)}),this.animators.push(r),a&&a.animation.addAnimator(r),a&&a.wakeUp()},t.prototype.updateDuringAnimation=function(r){this.markRedraw()},t.prototype.stopAnimation=function(r,o){for(var a=this.animators,u=a.length,d=[],g=0;g0&&o.during&&d[0].during(function(C,T){o.during(T)});for(var w=0;w0||u.force&&!g.length){var M=void 0,N=void 0,V=void 0;if(v){N={},w&&(M={});for(var D=0;D=0&&(u.splice(d,0,o),this._doAdd(o))}return this},r.prototype.replace=function(o,a){var u=indexOf$1(this._children,o);return u>=0&&this.replaceAt(a,u),this},r.prototype.replaceAt=function(o,a){var u=this._children,d=u[a];if(o&&o!==this&&o.parent!==this&&o!==d){u[a]=o,d.parent=null;var g=this.__zr;g&&d.removeSelfFromZr(g),this._doAdd(o)}return this},r.prototype._doAdd=function(o){o.parent&&o.parent.remove(o),o.parent=this;var a=this.__zr;a&&a!==o.__zr&&o.addSelfToZr(a),a&&a.refresh()},r.prototype.remove=function(o){var a=this.__zr,u=this._children,d=indexOf$1(u,o);return d<0?this:(u.splice(d,1),o.parent=null,a&&o.removeSelfFromZr(a),a&&a.refresh(),this)},r.prototype.removeAll=function(){for(var o=this._children,a=this.__zr,u=0;u=0?parseFloat(t)/100*r:parseFloat(t):t}function calculateTextPosition(t,r,o){var a=r.position||"inside",u=r.distance!=null?r.distance:5,d=o.height,g=o.width,v=d/2,y=o.x,A=o.y,b="left",_="top";if(a instanceof Array)y+=parsePercent$1(a[0],o.width),A+=parsePercent$1(a[1],o.height),b=null,_=null;else switch(a){case"left":y-=u,A+=v,b="right",_="middle";break;case"right":y+=u+g,A+=v,_="middle";break;case"top":y+=g/2,A-=u,b="center",_="bottom";break;case"bottom":y+=g/2,A+=d+u,b="center";break;case"inside":y+=g/2,A+=v,b="center",_="middle";break;case"insideLeft":y+=u,A+=v,_="middle";break;case"insideRight":y+=g-u,A+=v,b="right",_="middle";break;case"insideTop":y+=g/2,A+=u,b="center";break;case"insideBottom":y+=g/2,A+=d-u,b="center",_="bottom";break;case"insideTopLeft":y+=u,A+=u;break;case"insideTopRight":y+=g-u,A+=u,b="right";break;case"insideBottomLeft":y+=u,A+=d-u,_="bottom";break;case"insideBottomRight":y+=g-u,A+=d-u,b="right",_="bottom";break}return t=t||{},t.x=y,t.y=A,t.align=b,t.verticalAlign=_,t}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=!0,t},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function t(r){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(r)}return t.prototype._init=function(r){this.attr(r)},t.prototype.drift=function(r,o,a){switch(this.draggable){case"horizontal":o=0;break;case"vertical":r=0;break}var u=this.transform;u||(u=this.transform=[1,0,0,1,0,0]),u[4]+=r,u[5]+=o,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(r){var o=this._textContent;if(o&&(!o.ignore||r)){this.textConfig||(this.textConfig={});var a=this.textConfig,u=a.local,d=o.innerTransformable,g=void 0,v=void 0,y=!1;d.parent=u?this:null;var A=!1;if(d.copyTransform(o),a.position!=null){var b=tmpBoundingRect;a.layoutRect?b.copy(a.layoutRect):b.copy(this.getBoundingRect()),u||b.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,a,b):calculateTextPosition(tmpTextPosCalcRes,a,b),d.x=tmpTextPosCalcRes.x,d.y=tmpTextPosCalcRes.y,g=tmpTextPosCalcRes.align,v=tmpTextPosCalcRes.verticalAlign;var _=a.origin;if(_&&a.rotation!=null){var w=void 0,S=void 0;_==="center"?(w=b.width*.5,S=b.height*.5):(w=parsePercent$1(_[0],b.width),S=parsePercent$1(_[1],b.height)),A=!0,d.originX=-d.x+w+(u?0:b.x),d.originY=-d.y+S+(u?0:b.y)}}a.rotation!=null&&(d.rotation=a.rotation);var C=a.offset;C&&(d.x+=C[0],d.y+=C[1],A||(d.originX=-C[0],d.originY=-C[1]));var T=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,I=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),E=void 0,F=void 0,O=void 0;T&&this.canBeInsideText()?(E=a.insideFill,F=a.insideStroke,(E==null||E==="auto")&&(E=this.getInsideTextFill()),(F==null||F==="auto")&&(F=this.getInsideTextStroke(E),O=!0)):(E=a.outsideFill,F=a.outsideStroke,(E==null||E==="auto")&&(E=this.getOutsideFill()),(F==null||F==="auto")&&(F=this.getOutsideStroke(E),O=!0)),E=E||"#000",(E!==I.fill||F!==I.stroke||O!==I.autoStroke||g!==I.align||v!==I.verticalAlign)&&(y=!0,I.fill=E,I.stroke=F,I.autoStroke=O,I.align=g,I.verticalAlign=v,o.setDefaultTextStyle(I)),o.__dirty|=REDRAW_BIT,y&&o.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(r){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},t.prototype.getOutsideStroke=function(r){var o=this.__zr&&this.__zr.getBackgroundColor(),a=typeof o=="string"&&parse$1(o);a||(a=[255,255,255,1]);for(var u=a[3],d=this.__zr.isDarkMode(),g=0;g<3;g++)a[g]=a[g]*u+(d?0:255)*(1-u);return a[3]=1,stringify(a,"rgba")},t.prototype.traverse=function(r,o){},t.prototype.attrKV=function(r,o){r==="textConfig"?this.setTextConfig(o):r==="textContent"?this.setTextContent(o):r==="clipPath"?this.setClipPath(o):r==="extra"?(this.extra=this.extra||{},extend(this.extra,o)):this[r]=o},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(r,o){if(typeof r=="string")this.attrKV(r,o);else if(isObject$3(r))for(var a=r,u=keys(a),d=0;d0},t.prototype.getState=function(r){return this.states[r]},t.prototype.ensureState=function(r){var o=this.states;return o[r]||(o[r]={}),o[r]},t.prototype.clearStates=function(r){this.useState(PRESERVED_NORMAL_STATE,!1,r)},t.prototype.useState=function(r,o,a,u){var d=r===PRESERVED_NORMAL_STATE,g=this.hasState();if(!(!g&&d)){var v=this.currentStates,y=this.stateTransition;if(!(indexOf$1(v,r)>=0&&(o||v.length===1))){var A;if(this.stateProxy&&!d&&(A=this.stateProxy(r)),A||(A=this.states&&this.states[r]),!A&&!d){logError("State "+r+" not exists.");return}d||this.saveCurrentToNormalState(A);var b=!!(A&&A.hoverLayer||u);b&&this._toggleHoverLayerFlag(!0),this._applyStateObj(r,A,this._normalState,o,!a&&!this.__inHover&&y&&y.duration>0,y);var _=this._textContent,w=this._textGuide;return _&&_.useState(r,o,a,b),w&&w.useState(r,o,a,b),d?(this.currentStates=[],this._normalState={}):o?this.currentStates.push(r):this.currentStates=[r],this._updateAnimationTargets(),this.markRedraw(),!b&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),A}}},t.prototype.useStates=function(r,o,a){if(!r.length)this.clearStates();else{var u=[],d=this.currentStates,g=r.length,v=g===d.length;if(v){for(var y=0;y0,C);var T=this._textContent,I=this._textGuide;T&&T.useStates(r,o,w),I&&I.useStates(r,o,w),this._updateAnimationTargets(),this.currentStates=r.slice(),this.markRedraw(),!w&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},t.prototype.isSilent=function(){for(var r=this.silent,o=this.parent;!r&&o;){if(o.silent){r=!0;break}o=o.parent}return r},t.prototype._updateAnimationTargets=function(){for(var r=0;r=0){var a=this.currentStates.slice();a.splice(o,1),this.useStates(a)}},t.prototype.replaceState=function(r,o,a){var u=this.currentStates.slice(),d=indexOf$1(u,r),g=indexOf$1(u,o)>=0;d>=0?g?u.splice(d,1):u[d]=o:a&&!g&&u.push(o),this.useStates(u)},t.prototype.toggleState=function(r,o){o?this.useState(r,!0):this.removeState(r)},t.prototype._mergeStates=function(r){for(var o={},a,u=0;u=0&&d.splice(g,1)}),this.animators.push(r),a&&a.animation.addAnimator(r),a&&a.wakeUp()},t.prototype.updateDuringAnimation=function(r){this.markRedraw()},t.prototype.stopAnimation=function(r,o){for(var a=this.animators,u=a.length,d=[],g=0;g0&&o.during&&d[0].during(function(C,T){o.during(T)});for(var w=0;w0||u.force&&!g.length){var M=void 0,N=void 0,V=void 0;if(v){N={},w&&(M={});for(var D=0;D=0&&(u.splice(d,0,o),this._doAdd(o))}return this},r.prototype.replace=function(o,a){var u=indexOf$1(this._children,o);return u>=0&&this.replaceAt(a,u),this},r.prototype.replaceAt=function(o,a){var u=this._children,d=u[a];if(o&&o!==this&&o.parent!==this&&o!==d){u[a]=o,d.parent=null;var g=this.__zr;g&&d.removeSelfFromZr(g),this._doAdd(o)}return this},r.prototype._doAdd=function(o){o.parent&&o.parent.remove(o),o.parent=this;var a=this.__zr;a&&a!==o.__zr&&o.addSelfToZr(a),a&&a.refresh()},r.prototype.remove=function(o){var a=this.__zr,u=this._children,d=indexOf$1(u,o);return d<0?this:(u.splice(d,1),o.parent=null,a&&o.removeSelfFromZr(a),a&&a.refresh(),this)},r.prototype.removeAll=function(){for(var o=this._children,a=this.__zr,u=0;u0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(r){this._sleepAfterStill=r},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},t.prototype.resize=function(r){this._disposed||(r=r||{},this.painter.resize(r.width,r.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(r){this._disposed||this.handler.setCursorStyle(r)},t.prototype.findHover=function(r,o){if(!this._disposed)return this.handler.findHover(r,o)},t.prototype.on=function(r,o,a){return this._disposed||this.handler.on(r,o,a),this},t.prototype.off=function(r,o){this._disposed||this.handler.off(r,o)},t.prototype.trigger=function(r,o){this._disposed||this.handler.trigger(r,o)},t.prototype.clear=function(){if(!this._disposed){for(var r=this.storage.getRoots(),o=0;o0){if(t<=u)return g;if(t>=d)return v}else{if(t>=u)return g;if(t<=d)return v}else{if(t===u)return g;if(t===d)return v}return(t-u)/y*A+g}function parsePercent(t,r){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return isString$1(t)?_trim(t).match(/%$/)?parseFloat(t)/100*r:parseFloat(t):t==null?NaN:+t}function round$3(t,r,o){return r==null&&(r=10),r=Math.min(Math.max(0,r),ROUND_SUPPORTED_PRECISION_MAX),t=(+t).toFixed(r),o?t:+t}function asc$2(t){return t.sort(function(r,o){return r-o}),t}function getPrecision(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var r=1,o=0;o<15;o++,r*=10)if(Math.round(t*r)/r===t)return o}return getPrecisionSafe(t)}function getPrecisionSafe(t){var r=t.toString().toLowerCase(),o=r.indexOf("e"),a=o>0?+r.slice(o+1):0,u=o>0?o:r.length,d=r.indexOf("."),g=d<0?0:u-1-d;return Math.max(0,g-a)}function getPixelPrecision(t,r){var o=Math.log,a=Math.LN10,u=Math.floor(o(t[1]-t[0])/a),d=Math.round(o(Math.abs(r[1]-r[0]))/a),g=Math.min(Math.max(-u+d,0),20);return isFinite(g)?g:20}function getPercentSeats(t,r){var o=reduce(t,function(S,C){return S+(isNaN(C)?0:C)},0);if(o===0)return[];for(var a=Math.pow(10,r),u=map$1(t,function(S){return(isNaN(S)?0:S)/o*a*100}),d=a*100,g=map$1(u,function(S){return Math.floor(S)}),v=reduce(g,function(S,C){return S+C},0),y=map$1(u,function(S,C){return S-g[C]});vA&&(A=y[_],b=_);++g[b],y[b]=0,++v}return map$1(g,function(S){return S/a})}function addSafe(t,r){var o=Math.max(getPrecision(t),getPrecision(r)),a=t+r;return o>ROUND_SUPPORTED_PRECISION_MAX?a:round$3(a,o)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(t){var r=Math.PI*2;return(t%r+r)%r}function isRadianAroundZero(t){return t>-RADIAN_EPSILON&&t=10&&r++,r}function nice(t,r){var o=quantityExponent(t),a=Math.pow(10,o),u=t/a,d;return r?u<1.5?d=1:u<2.5?d=2:u<4?d=3:u<7?d=5:d=10:u<1?d=1:u<2?d=2:u<3?d=3:u<5?d=5:d=10,t=d*a,o>=-20?+t.toFixed(o<0?-o:0):t}function quantile(t,r){var o=(t.length-1)*r+1,a=Math.floor(o),u=+t[a-1],d=o-a;return d?u+d*(t[a]-u):u}function reformIntervals(t){t.sort(function(y,A){return v(y,A,0)?-1:1});for(var r=-1/0,o=1,a=0;a=0||d&&indexOf$1(d,y)<0)){var A=a.getShallow(y,r);A!=null&&(g[t[v][0]]=A)}}return g}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function t(){}return t.prototype.getAreaStyle=function(r,o){return getAreaStyle(this,r,o)},t}(),globalImageCache=new LRU$1(50);function findExistImage(t){if(typeof t=="string"){var r=globalImageCache.get(t);return r&&r.image}else return t}function createOrUpdateImage(t,r,o,a,u){if(t)if(typeof t=="string"){if(r&&r.__zrImageSrc===t||!o)return r;var d=globalImageCache.get(t),g={hostEl:o,cb:a,cbPayload:u};return d?(r=d.image,!isImageReady(r)&&d.pending.push(g)):(r=platformApi.loadImage(t,imageOnLoad,imageOnLoad),r.__zrImageSrc=t,globalImageCache.put(t,r.__cachedImgObj={image:r,pending:[g]})),r}else return t;else return r}function imageOnLoad(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var r=0;r=g;y++)v-=g;var A=getWidth(o,r);return A>v&&(o="",A=0),v=t-A,u.ellipsis=o,u.ellipsisWidth=A,u.contentWidth=v,u.containerWidth=t,u}function truncateSingleLine(t,r){var o=r.containerWidth,a=r.font,u=r.contentWidth;if(!o)return"";var d=getWidth(t,a);if(d<=o)return t;for(var g=0;;g++){if(d<=u||g>=r.maxIterations){t+=r.ellipsis;break}var v=g===0?estimateLength(t,u,r.ascCharWidth,r.cnCharWidth):d>0?Math.floor(t.length*u/d):0;t=t.substr(0,v),d=getWidth(t,a)}return t===""&&(t=r.placeholder),t}function estimateLength(t,r,o,a){for(var u=0,d=0,g=t.length;dS&&A){var C=Math.floor(S/v);_=_.slice(0,C)}if(t&&d&&b!=null)for(var T=prepareTruncateOptions(b,u,r.ellipsis,{minChar:r.truncateMinChar,placeholder:r.placeholder}),I=0;I<_.length;I++)_[I]=truncateSingleLine(_[I],T);for(var E=S,F=0,I=0;I<_.length;I++)F=Math.max(getWidth(_[I],u),F);b==null&&(b=F);var O=F;return a&&(E+=a[0]+a[2],O+=a[1]+a[3],b+=a[1]+a[3]),y&&(O=b),{lines:_,height:S,outerWidth:O,outerHeight:E,lineHeight:v,calculatedLineHeight:g,contentWidth:F,contentHeight:w,width:b}}var RichTextToken=function(){function t(){}return t}(),RichTextLine=function(){function t(r){this.tokens=[],r&&(this.tokens=r)}return t}(),RichTextContentBlock=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function parseRichText(t,r){var o=new RichTextContentBlock;if(t!=null&&(t+=""),!t)return o;for(var a=r.width,u=r.height,d=r.overflow,g=(d==="break"||d==="breakAll")&&a!=null?{width:a,accumWidth:0,breakAll:d==="breakAll"}:null,v=STYLE_REG.lastIndex=0,y;(y=STYLE_REG.exec(t))!=null;){var A=y.index;A>v&&pushTokens(o,t.substring(v,A),r,g),pushTokens(o,y[2],r,g,y[1]),v=STYLE_REG.lastIndex}vu){x>0?(F.tokens=F.tokens.slice(0,x),I(F,D,O),o.lines=o.lines.slice(0,E+1)):o.lines=o.lines.slice(0,E);break e}var H=G.width,B=H==null||H==="auto";if(typeof H=="string"&&H.charAt(H.length-1)==="%")P.percentWidth=H,b.push(P),P.contentWidth=getWidth(P.text,V);else{if(B){var z=G.backgroundColor,U=z&&z.image;U&&(U=findExistImage(U),isImageReady(U)&&(P.width=Math.max(P.width,U.width*Y/U.height)))}var Q=C&&a!=null?a-D:null;Q!=null&&Q0&&C+a.accumWidth>a.width&&(b=r.split(` +`):[];var w=_.length*v,S=retrieve2(r.height,w);if(w>S&&A){var C=Math.floor(S/v);_=_.slice(0,C)}if(t&&d&&b!=null)for(var T=prepareTruncateOptions(b,u,r.ellipsis,{minChar:r.truncateMinChar,placeholder:r.placeholder}),I=0;I<_.length;I++)_[I]=truncateSingleLine(_[I],T);for(var E=S,F=0,I=0;I<_.length;I++)F=Math.max(getWidth(_[I],u),F);b==null&&(b=F);var O=F;return a&&(E+=a[0]+a[2],O+=a[1]+a[3],b+=a[1]+a[3]),y&&(O=b),{lines:_,height:S,outerWidth:O,outerHeight:E,lineHeight:v,calculatedLineHeight:g,contentWidth:F,contentHeight:w,width:b}}var RichTextToken=function(){function t(){}return t}(),RichTextLine=function(){function t(r){this.tokens=[],r&&(this.tokens=r)}return t}(),RichTextContentBlock=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function parseRichText(t,r){var o=new RichTextContentBlock;if(t!=null&&(t+=""),!t)return o;for(var a=r.width,u=r.height,d=r.overflow,g=(d==="break"||d==="breakAll")&&a!=null?{width:a,accumWidth:0,breakAll:d==="breakAll"}:null,v=STYLE_REG.lastIndex=0,y;(y=STYLE_REG.exec(t))!=null;){var A=y.index;A>v&&pushTokens(o,t.substring(v,A),r,g),pushTokens(o,y[2],r,g,y[1]),v=STYLE_REG.lastIndex}vu){x>0?(F.tokens=F.tokens.slice(0,x),I(F,D,O),o.lines=o.lines.slice(0,E+1)):o.lines=o.lines.slice(0,E);break e}var H=G.width,B=H==null||H==="auto";if(typeof H=="string"&&H.charAt(H.length-1)==="%")P.percentWidth=H,b.push(P),P.contentWidth=getWidth(P.text,V);else{if(B){var z=G.backgroundColor,U=z&&z.image;U&&(U=findExistImage(U),isImageReady(U)&&(P.width=Math.max(P.width,U.width*Z/U.height)))}var Q=C&&a!=null?a-D:null;Q!=null&&Q0&&C+a.accumWidth>a.width&&(b=r.split(` `),A=!0),a.accumWidth=C}else{var T=wrapText(r,y,a.width,a.breakAll,a.accumWidth);a.accumWidth=T.accumWidth+S,_=T.linesWidths,b=T.lines}}else b=r.split(` `);for(var I=0;I=32&&r<=591||r>=880&&r<=4351||r>=4608&&r<=5119||r>=7680&&r<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(t,r){return t[r]=!0,t},{});function isWordBreakChar(t){return isAlphabeticLetter(t)?!!breakCharMap[t]:!0}function wrapText(t,r,o,a,u){for(var d=[],g=[],v="",y="",A=0,b=0,_=0;_o:u+b+S>o){b?(v||y)&&(C?(v||(v=y,y="",A=0,b=A),d.push(v),g.push(b-A),y+=w,A+=S,v="",b=A):(y&&(v+=y,y="",A=0),d.push(v),g.push(b),v=w,b=S)):C?(d.push(y),g.push(A),y=w,A=S):(d.push(w),g.push(S));continue}b+=S,C?(y+=w,A+=S):(y&&(v+=y,y="",A=0),v+=w)}return!d.length&&!v&&(v=t,y="",A=0),y&&(v+=y),v&&(d.push(v),g.push(b)),d.length===1&&(b+=u),{accumWidth:b,lines:d,linesWidths:g}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype._init=function(o){for(var a=keys(o),u=0;u1e-4){v[0]=t-o,v[1]=r-a,y[0]=t+o,y[1]=r+a;return}if(start[0]=mathCos$4(u)*o+t,start[1]=mathSin$4(u)*a+r,end[0]=mathCos$4(d)*o+t,end[1]=mathSin$4(d)*a+r,A(v,start,end),b(y,start,end),u=u%PI2$8,u<0&&(u=u+PI2$8),d=d%PI2$8,d<0&&(d=d+PI2$8),u>d&&!g?d+=PI2$8:uu&&(extremity[0]=mathCos$4(S)*o+t,extremity[1]=mathSin$4(S)*a+r,A(v,extremity,v),b(y,extremity,y))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array!="undefined",tmpAngles=[];function modPI2(t){var r=Math.round(t/PI$8*1e8)/1e8;return r%2*PI$8}function normalizeArcAngles(t,r){var o=modPI2(t[0]);o<0&&(o+=PI2$7);var a=o-t[0],u=t[1];u+=a,!r&&u-o>=PI2$7?u=o+PI2$7:r&&o-u>=PI2$7?u=o-PI2$7:!r&&o>u?u=o+(PI2$7-modPI2(o-u)):r&&o0&&(this._ux=mathAbs$2(a/devicePixelRatio/r)||0,this._uy=mathAbs$2(a/devicePixelRatio/o)||0)},t.prototype.setDPR=function(r){this.dpr=r},t.prototype.setContext=function(r){this._ctx=r},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(r,o){return this._drawPendingPt(),this.addData(CMD$4.M,r,o),this._ctx&&this._ctx.moveTo(r,o),this._x0=r,this._y0=o,this._xi=r,this._yi=o,this},t.prototype.lineTo=function(r,o){var a=mathAbs$2(r-this._xi),u=mathAbs$2(o-this._yi),d=a>this._ux||u>this._uy;if(this.addData(CMD$4.L,r,o),this._ctx&&d&&this._ctx.lineTo(r,o),d)this._xi=r,this._yi=o,this._pendingPtDist=0;else{var g=a*a+u*u;g>this._pendingPtDist&&(this._pendingPtX=r,this._pendingPtY=o,this._pendingPtDist=g)}return this},t.prototype.bezierCurveTo=function(r,o,a,u,d,g){return this._drawPendingPt(),this.addData(CMD$4.C,r,o,a,u,d,g),this._ctx&&this._ctx.bezierCurveTo(r,o,a,u,d,g),this._xi=d,this._yi=g,this},t.prototype.quadraticCurveTo=function(r,o,a,u){return this._drawPendingPt(),this.addData(CMD$4.Q,r,o,a,u),this._ctx&&this._ctx.quadraticCurveTo(r,o,a,u),this._xi=a,this._yi=u,this},t.prototype.arc=function(r,o,a,u,d,g){this._drawPendingPt(),tmpAngles[0]=u,tmpAngles[1]=d,normalizeArcAngles(tmpAngles,g),u=tmpAngles[0],d=tmpAngles[1];var v=d-u;return this.addData(CMD$4.A,r,o,a,a,u,v,0,g?0:1),this._ctx&&this._ctx.arc(r,o,a,u,d,g),this._xi=mathCos$3(d)*a+r,this._yi=mathSin$3(d)*a+o,this},t.prototype.arcTo=function(r,o,a,u,d){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(r,o,a,u,d),this},t.prototype.rect=function(r,o,a,u){return this._drawPendingPt(),this._ctx&&this._ctx.rect(r,o,a,u),this.addData(CMD$4.R,r,o,a,u),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var r=this._ctx,o=this._x0,a=this._y0;return r&&r.closePath(),this._xi=o,this._yi=a,this},t.prototype.fill=function(r){r&&r.fill(),this.toStatic()},t.prototype.stroke=function(r){r&&r.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(r){var o=r.length;!(this.data&&this.data.length===o)&&hasTypedArray&&(this.data=new Float32Array(o));for(var a=0;ab.length&&(this._expandData(),b=this.data);for(var _=0;_0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var r=[],o=0;o11&&(this.data=new Float32Array(r)))}},t.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var r=this.data,o=0,a=0,u=0,d=0,g;for(g=0;ga||mathAbs$2(O)>u||w===o-1)&&(T=Math.sqrt(F*F+O*O),d=I,g=E);break}case CMD$4.C:{var D=r[w++],x=r[w++],I=r[w++],E=r[w++],P=r[w++],G=r[w++];T=cubicLength(d,g,D,x,I,E,P,G,10),d=P,g=G;break}case CMD$4.Q:{var D=r[w++],x=r[w++],I=r[w++],E=r[w++];T=quadraticLength(d,g,D,x,I,E,10),d=I,g=E;break}case CMD$4.A:var M=r[w++],N=r[w++],V=r[w++],Y=r[w++],H=r[w++],B=r[w++],z=B+H;w+=1,C&&(v=mathCos$3(H)*V+M,y=mathSin$3(H)*Y+N),T=mathMax$8(V,Y)*mathMin$8(PI2$7,Math.abs(B)),d=mathCos$3(z)*V+M,g=mathSin$3(z)*Y+N;break;case CMD$4.R:{v=d=r[w++],y=g=r[w++];var U=r[w++],Q=r[w++];T=U*2+Q*2;break}case CMD$4.Z:{var F=v-d,O=y-g;T=Math.sqrt(F*F+O*O),d=v,g=y;break}}T>=0&&(A[_++]=T,b+=T)}return this._pathLen=b,b},t.prototype.rebuildPath=function(r,o){var a=this.data,u=this._ux,d=this._uy,g=this._len,v,y,A,b,_,w,S=o<1,C,T,I=0,E=0,F,O=0,D,x;if(S&&(this._pathSegLen||this._calculateLength(),C=this._pathSegLen,T=this._pathLen,F=o*T,!F))return;e:for(var P=0;P0&&(r.lineTo(D,x),O=0),G){case CMD$4.M:v=A=a[P++],y=b=a[P++],r.moveTo(A,b);break;case CMD$4.L:{_=a[P++],w=a[P++];var N=mathAbs$2(_-A),V=mathAbs$2(w-b);if(N>u||V>d){if(S){var Y=C[E++];if(I+Y>F){var H=(F-I)/Y;r.lineTo(A*(1-H)+_*H,b*(1-H)+w*H);break e}I+=Y}r.lineTo(_,w),A=_,b=w,O=0}else{var B=N*N+V*V;B>O&&(D=_,x=w,O=B)}break}case CMD$4.C:{var z=a[P++],U=a[P++],Q=a[P++],X=a[P++],J=a[P++],ne=a[P++];if(S){var Y=C[E++];if(I+Y>F){var H=(F-I)/Y;cubicSubdivide(A,z,Q,J,H,tmpOutX),cubicSubdivide(b,U,X,ne,H,tmpOutY),r.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}I+=Y}r.bezierCurveTo(z,U,Q,X,J,ne),A=J,b=ne;break}case CMD$4.Q:{var z=a[P++],U=a[P++],Q=a[P++],X=a[P++];if(S){var Y=C[E++];if(I+Y>F){var H=(F-I)/Y;quadraticSubdivide(A,z,Q,H,tmpOutX),quadraticSubdivide(b,U,X,H,tmpOutY),r.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}I+=Y}r.quadraticCurveTo(z,U,Q,X),A=Q,b=X;break}case CMD$4.A:var te=a[P++],ce=a[P++],se=a[P++],ge=a[P++],he=a[P++],ye=a[P++],ee=a[P++],pe=!a[P++],ae=se>ge?se:ge,ve=mathAbs$2(se-ge)>.001,we=he+ye,_e=!1;if(S){var Y=C[E++];I+Y>F&&(we=he+ye*(F-I)/Y,_e=!0),I+=Y}if(ve&&r.ellipse?r.ellipse(te,ce,se,ge,ee,he,we,pe):r.arc(te,ce,ae,he,we,pe),_e)break e;M&&(v=mathCos$3(he)*se+te,y=mathSin$3(he)*ge+ce),A=mathCos$3(we)*se+te,b=mathSin$3(we)*ge+ce;break;case CMD$4.R:v=A=a[P],y=b=a[P+1],_=a[P++],w=a[P++];var Te=a[P++],Ce=a[P++];if(S){var Y=C[E++];if(I+Y>F){var Ae=F-I;r.moveTo(_,w),r.lineTo(_+mathMin$8(Ae,Te),w),Ae-=Te,Ae>0&&r.lineTo(_+Te,w+mathMin$8(Ae,Ce)),Ae-=Ce,Ae>0&&r.lineTo(_+mathMax$8(Te-Ae,0),w+Ce),Ae-=Te,Ae>0&&r.lineTo(_,w+mathMax$8(Ce-Ae,0));break e}I+=Y}r.rect(_,w,Te,Ce);break;case CMD$4.Z:if(S){var Y=C[E++];if(I+Y>F){var H=(F-I)/Y;r.lineTo(A*(1-H)+v*H,b*(1-H)+y*H);break e}I+=Y}r.closePath(),A=v,b=y}}},t.prototype.clone=function(){var r=new t,o=this.data;return r.data=o.slice?o.slice():Array.prototype.slice.call(o),r._len=this._len,r},t.CMD=CMD$4,t.initDefaultProps=function(){var r=t.prototype;r._saveData=!0,r._ux=0,r._uy=0,r._pendingPtDist=0,r._version=0}(),t}(),PathProxy$1=PathProxy;function containStroke$4(t,r,o,a,u,d,g){if(u===0)return!1;var v=u,y=0,A=t;if(g>r+v&&g>a+v||gt+v&&d>o+v||dr+_&&b>a+_&&b>d+_&&b>v+_||bt+_&&A>o+_&&A>u+_&&A>g+_||Ar+A&&y>a+A&&y>d+A||yt+A&&v>o+A&&v>u+A||vo||b+Au&&(u+=PI2$5);var w=Math.atan2(y,v);return w<0&&(w+=PI2$5),w>=a&&w<=u||w+PI2$5>=a&&w+PI2$5<=u}function windingLine(t,r,o,a,u,d){if(d>r&&d>a||du?v:0}var CMD$3=PathProxy$1.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(t,r){return Math.abs(t-r)r&&A>a&&A>d&&A>v||A1&&swapExtrema(),S=cubicAt(r,a,d,v,extrema[0]),w>1&&(C=cubicAt(r,a,d,v,extrema[1]))),w===2?Ir&&v>a&&v>d||v=0&&A<=1){for(var b=0,_=quadraticAt$1(r,a,d,A),w=0;wo||v<-o)return 0;var y=Math.sqrt(o*o-v*v);roots[0]=-y,roots[1]=y;var A=Math.abs(a-u);if(A<1e-4)return 0;if(A>=PI2$4-1e-4){a=0,u=PI2$4;var b=d?1:-1;return g>=roots[0]+t&&g<=roots[1]+t?b:0}if(a>u){var _=a;a=u,u=_}a<0&&(a+=PI2$4,u+=PI2$4);for(var w=0,S=0;S<2;S++){var C=roots[S];if(C+t>g){var T=Math.atan2(v,C),b=d?1:-1;T<0&&(T=PI2$4+T),(T>=a&&T<=u||T+PI2$4>=a&&T+PI2$4<=u)&&(T>Math.PI/2&&T1&&(o||(v+=windingLine(y,A,b,_,a,u))),I&&(y=d[C],A=d[C+1],b=y,_=A),T){case CMD$3.M:b=d[C++],_=d[C++],y=b,A=_;break;case CMD$3.L:if(o){if(containStroke$4(y,A,d[C],d[C+1],r,a,u))return!0}else v+=windingLine(y,A,d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.C:if(o){if(containStroke$3(y,A,d[C++],d[C++],d[C++],d[C++],d[C],d[C+1],r,a,u))return!0}else v+=windingCubic(y,A,d[C++],d[C++],d[C++],d[C++],d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.Q:if(o){if(containStroke$2(y,A,d[C++],d[C++],d[C],d[C+1],r,a,u))return!0}else v+=windingQuadratic(y,A,d[C++],d[C++],d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.A:var E=d[C++],F=d[C++],O=d[C++],D=d[C++],x=d[C++],P=d[C++];C+=1;var G=!!(1-d[C++]);w=Math.cos(x)*O+E,S=Math.sin(x)*D+F,I?(b=w,_=S):v+=windingLine(y,A,w,S,a,u);var M=(a-E)*D/O+E;if(o){if(containStroke$1(E,F,D,x,x+P,G,r,M,u))return!0}else v+=windingArc(E,F,D,x,x+P,G,M,u);y=Math.cos(x+P)*O+E,A=Math.sin(x+P)*D+F;break;case CMD$3.R:b=y=d[C++],_=A=d[C++];var N=d[C++],V=d[C++];if(w=b+N,S=_+V,o){if(containStroke$4(b,_,w,_,r,a,u)||containStroke$4(w,_,w,S,r,a,u)||containStroke$4(w,S,b,S,r,a,u)||containStroke$4(b,S,b,_,r,a,u))return!0}else v+=windingLine(w,_,w,S,a,u),v+=windingLine(b,S,b,_,a,u);break;case CMD$3.Z:if(o){if(containStroke$4(y,A,b,_,r,a,u))return!0}else v+=windingLine(y,A,b,_,a,u);y=b,A=_;break}}return!o&&!isAroundEqual$1(A,_)&&(v+=windingLine(y,A,b,_,a,u)||0),v!==0}function contain$2(t,r,o){return containPath(t,0,!1,r,o)}function containStroke(t,r,o,a){return containPath(t,r,!0,o,a)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.update=function(){var o=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var u=this._decalEl=this._decalEl||new r;u.buildPath===r.prototype.buildPath&&(u.buildPath=function(y){o.buildPath(y,o.shape)}),u.silent=!0;var d=u.style;for(var g in a)d[g]!==a[g]&&(d[g]=a[g]);d.fill=a.fill?a.decal:null,d.decal=null,d.shadowColor=null,a.strokeFirst&&(d.stroke=null);for(var v=0;v.5?DARK_LABEL_COLOR:a>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(o)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function(o){var a=this.style.fill;if(isString$1(a)){var u=this.__zr,d=!!(u&&u.isDarkMode()),g=lum(o,0)0))},r.prototype.hasFill=function(){var o=this.style,a=o.fill;return a!=null&&a!=="none"},r.prototype.getBoundingRect=function(){var o=this._rect,a=this.style,u=!o;if(u){var d=!1;this.path||(d=!0,this.createPathProxy());var g=this.path;(d||this.__dirty&SHAPE_CHANGED_BIT)&&(g.beginPath(),this.buildPath(g,this.shape,!1),this.pathUpdated()),o=g.getBoundingRect()}if(this._rect=o,this.hasStroke()&&this.path&&this.path.len()>0){var v=this._rectStroke||(this._rectStroke=o.clone());if(this.__dirty||u){v.copy(o);var y=a.strokeNoScale?this.getLineScale():1,A=a.lineWidth;if(!this.hasFill()){var b=this.strokeContainThreshold;A=Math.max(A,b==null?4:b)}y>1e-10&&(v.width+=A/y,v.height+=A/y,v.x-=A/y/2,v.y-=A/y/2)}return v}return o},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect(),g=this.style;if(o=u[0],a=u[1],d.contain(o,a)){var v=this.path;if(this.hasStroke()){var y=g.lineWidth,A=g.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(this.hasFill()||(y=Math.max(y,this.strokeContainThreshold)),containStroke(v,y/A,o,a)))return!0}if(this.hasFill())return contain$2(v,o,a)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(o){return this.animate("shape",o)},r.prototype.updateDuringAnimation=function(o){o==="style"?this.dirtyStyle():o==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(o,a){o==="shape"?this.setShape(a):t.prototype.attrKV.call(this,o,a)},r.prototype.setShape=function(o,a){var u=this.shape;return u||(u=this.shape={}),typeof o=="string"?u[o]=a:extend(u,o),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},r.prototype.createStyle=function(o){return createObject(DEFAULT_PATH_STYLE,o)},r.prototype._innerSaveToNormal=function(o){t.prototype._innerSaveToNormal.call(this,o);var a=this._normalState;o.shape&&!a.shape&&(a.shape=extend({},this.shape))},r.prototype._applyStateObj=function(o,a,u,d,g,v){t.prototype._applyStateObj.call(this,o,a,u,d,g,v);var y=!(a&&d),A;if(a&&a.shape?g?d?A=a.shape:(A=extend({},u.shape),extend(A,a.shape)):(A=extend({},d?this.shape:u.shape),extend(A,a.shape)):y&&(A=u.shape),A)if(g){this.shape=extend({},this.shape);for(var b={},_=keys(A),w=0;w<_.length;w++){var S=_[w];typeof A[S]=="object"?this.shape[S]=A[S]:b[S]=A[S]}this._transitionState(o,{shape:b},v)}else this.shape=A,this.dirtyShape()},r.prototype._mergeStates=function(o){for(var a=t.prototype._mergeStates.call(this,o),u,d=0;d0},r.prototype.hasFill=function(){var o=this.style,a=o.fill;return a!=null&&a!=="none"},r.prototype.createStyle=function(o){return createObject(DEFAULT_TSPAN_STYLE,o)},r.prototype.setBoundingRect=function(o){this._rect=o},r.prototype.getBoundingRect=function(){var o=this.style;if(!this._rect){var a=o.text;a!=null?a+="":a="";var u=getBoundingRect(a,o.font,o.textAlign,o.textBaseline);if(u.x+=o.x||0,u.y+=o.y||0,this.hasStroke()){var d=o.lineWidth;u.x-=d/2,u.y-=d/2,u.width+=d,u.height+=d}this._rect=u}return this._rect},r.initDefaultProps=function(){var o=r.prototype;o.dirtyRectTolerance=10}(),r}(Displayable$1);TSpan.prototype.type="tspan";var TSpan$1=TSpan,DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var ZRImage=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.createStyle=function(o){return createObject(DEFAULT_IMAGE_STYLE,o)},r.prototype._getSize=function(o){var a=this.style,u=a[o];if(u!=null)return u;var d=isImageLike$1(a.image)?a.image:this.__image;if(!d)return 0;var g=o==="width"?"height":"width",v=a[g];return v==null?d[o]:d[o]/d[g]*v},r.prototype.getWidth=function(){return this._getSize("width")},r.prototype.getHeight=function(){return this._getSize("height")},r.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},r.prototype.getBoundingRect=function(){var o=this.style;return this._rect||(this._rect=new BoundingRect$1(o.x||0,o.y||0,this.getWidth(),this.getHeight())),this._rect},r}(Displayable$1);ZRImage.prototype.type="image";var ZRImage$1=ZRImage;function buildPath$2(t,r){var o=r.x,a=r.y,u=r.width,d=r.height,g=r.r,v,y,A,b;u<0&&(o=o+u,u=-u),d<0&&(a=a+d,d=-d),typeof g=="number"?v=y=A=b=g:g instanceof Array?g.length===1?v=y=A=b=g[0]:g.length===2?(v=A=g[0],y=b=g[1]):g.length===3?(v=g[0],y=b=g[1],A=g[2]):(v=g[0],y=g[1],A=g[2],b=g[3]):v=y=A=b=0;var _;v+y>u&&(_=v+y,v*=u/_,y*=u/_),A+b>u&&(_=A+b,A*=u/_,b*=u/_),y+A>d&&(_=y+A,y*=d/_,A*=d/_),v+b>d&&(_=v+b,v*=d/_,b*=d/_),t.moveTo(o+v,a),t.lineTo(o+u-y,a),y!==0&&t.arc(o+u-y,a+y,y,-Math.PI/2,0),t.lineTo(o+u,a+d-A),A!==0&&t.arc(o+u-A,a+d-A,A,0,Math.PI/2),t.lineTo(o+b,a+d),b!==0&&t.arc(o+b,a+d-b,b,Math.PI/2,Math.PI),t.lineTo(o,a+v),v!==0&&t.arc(o+v,a+v,v,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(t,r,o){if(!!r){var a=r.x1,u=r.x2,d=r.y1,g=r.y2;t.x1=a,t.x2=u,t.y1=d,t.y2=g;var v=o&&o.lineWidth;return v&&(round$2(a*2)===round$2(u*2)&&(t.x1=t.x2=subPixelOptimize$1(a,v,!0)),round$2(d*2)===round$2(g*2)&&(t.y1=t.y2=subPixelOptimize$1(d,v,!0))),t}}function subPixelOptimizeRect$1(t,r,o){if(!!r){var a=r.x,u=r.y,d=r.width,g=r.height;t.x=a,t.y=u,t.width=d,t.height=g;var v=o&&o.lineWidth;return v&&(t.x=subPixelOptimize$1(a,v,!0),t.y=subPixelOptimize$1(u,v,!0),t.width=Math.max(subPixelOptimize$1(a+d,v,!1)-t.x,d===0?0:1),t.height=Math.max(subPixelOptimize$1(u+g,v,!1)-t.y,g===0?0:1)),t}}function subPixelOptimize$1(t,r,o){if(!r)return t;var a=round$2(t*2);return(a+round$2(r))%2===0?a/2:(a+(o?1:-1))/2}var RectShape=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),subPixelOptimizeOutputShape$1={},Rect$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new RectShape},r.prototype.buildPath=function(o,a){var u,d,g,v;if(this.subPixelOptimize){var y=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,a,this.style);u=y.x,d=y.y,g=y.width,v=y.height,y.r=a.r,a=y}else u=a.x,d=a.y,g=a.width,v=a.height;a.r?buildPath$2(o,a):o.rect(u,d,g,v)},r.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},r}(Path$1);Rect$2.prototype.type="rect";var Rect$3=Rect$2,DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(t){__extends(r,t);function r(o){var a=t.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=DEFAULT_RICH_TEXT_COLOR,a.attr(o),a}return r.prototype.childrenRef=function(){return this._children},r.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var o=0;o0,H=o.width!=null&&(o.overflow==="truncate"||o.overflow==="break"||o.overflow==="breakAll"),B=g.calculatedLineHeight,z=0;z=0&&(z=P[B],z.align==="right");)this._placeToken(z,o,M,E,H,"right",O),N-=z.width,H-=z.width,B--;for(Y+=(d-(Y-I)-(F-H)-N)/2;V<=B;)z=P[V],this._placeToken(z,o,M,E,Y+z.width/2,"center",O),Y+=z.width,V++;E+=M}},r.prototype._placeToken=function(o,a,u,d,g,v,y){var A=a.rich[o.styleName]||{};A.text=o.text;var b=o.verticalAlign,_=d+u/2;b==="top"?_=d+o.height/2:b==="bottom"&&(_=d+u-o.height/2);var w=!o.isLineHolder&&needDrawBackground(A);w&&this._renderBackground(A,a,v==="right"?g-o.width:v==="center"?g-o.width/2:g,_-o.height/2,o.width,o.height);var S=!!A.backgroundColor,C=o.textPadding;C&&(g=getTextXForPadding(g,v,C),_-=o.height/2-C[0]-o.innerHeight/2);var T=this._getOrCreateChild(TSpan$1),I=T.createStyle();T.useStyle(I);var E=this._defaultStyle,F=!1,O=0,D=getFill("fill"in A?A.fill:"fill"in a?a.fill:(F=!0,E.fill)),x=getStroke("stroke"in A?A.stroke:"stroke"in a?a.stroke:!S&&!y&&(!E.autoStroke||F)?(O=DEFAULT_STROKE_LINE_WIDTH,E.stroke):null),P=A.textShadowBlur>0||a.textShadowBlur>0;I.text=o.text,I.x=g,I.y=_,P&&(I.shadowBlur=A.textShadowBlur||a.textShadowBlur||0,I.shadowColor=A.textShadowColor||a.textShadowColor||"transparent",I.shadowOffsetX=A.textShadowOffsetX||a.textShadowOffsetX||0,I.shadowOffsetY=A.textShadowOffsetY||a.textShadowOffsetY||0),I.textAlign=v,I.textBaseline="middle",I.font=o.font||DEFAULT_FONT,I.opacity=retrieve3(A.opacity,a.opacity,1),setSeparateFont(I,A),x&&(I.lineWidth=retrieve3(A.lineWidth,a.lineWidth,O),I.lineDash=retrieve2(A.lineDash,a.lineDash),I.lineDashOffset=a.lineDashOffset||0,I.stroke=x),D&&(I.fill=D);var G=o.contentWidth,M=o.contentHeight;T.setBoundingRect(new BoundingRect$1(adjustTextX(I.x,G,I.textAlign),adjustTextY(I.y,M,I.textBaseline),G,M))},r.prototype._renderBackground=function(o,a,u,d,g,v){var y=o.backgroundColor,A=o.borderWidth,b=o.borderColor,_=y&&y.image,w=y&&!_,S=o.borderRadius,C=this,T,I;if(w||o.lineHeight||A&&b){T=this._getOrCreateChild(Rect$3),T.useStyle(T.createStyle()),T.style.fill=null;var E=T.shape;E.x=u,E.y=d,E.width=g,E.height=v,E.r=S,T.dirtyShape()}if(w){var F=T.style;F.fill=y||null,F.fillOpacity=retrieve2(o.fillOpacity,1)}else if(_){I=this._getOrCreateChild(ZRImage$1),I.onload=function(){C.dirtyStyle()};var O=I.style;O.image=y.image,O.x=u,O.y=d,O.width=g,O.height=v}if(A&&b){var F=T.style;F.lineWidth=A,F.stroke=b,F.strokeOpacity=retrieve2(o.strokeOpacity,1),F.lineDash=o.borderDash,F.lineDashOffset=o.borderDashOffset||0,T.strokeContainThreshold=0,T.hasFill()&&T.hasStroke()&&(F.strokeFirst=!0,F.lineWidth*=2)}var D=(T||I).style;D.shadowBlur=o.shadowBlur||0,D.shadowColor=o.shadowColor||"transparent",D.shadowOffsetX=o.shadowOffsetX||0,D.shadowOffsetY=o.shadowOffsetY||0,D.opacity=retrieve3(o.opacity,a.opacity,1)},r.makeFont=function(o){var a="";return hasSeparateFont(o)&&(a=[o.fontStyle,o.fontWeight,parseFontSize(o.fontSize),o.fontFamily||"sans-serif"].join(" ")),a&&trim$1(a)||o.textFont||o.font},r}(Displayable$1),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?DEFAULT_FONT_SIZE+"px":t+"px"}function setSeparateFont(t,r){for(var o=0;o=0,d=!1;if(t instanceof Path$1){var g=getSavedStates(t),v=u&&g.selectFill||g.normalFill,y=u&&g.selectStroke||g.normalStroke;if(hasFillOrStroke(v)||hasFillOrStroke(y)){a=a||{};var A=a.style||{};A.fill==="inherit"?(d=!0,a=extend({},a),A=extend({},A),A.fill=v):!hasFillOrStroke(A.fill)&&hasFillOrStroke(v)?(d=!0,a=extend({},a),A=extend({},A),A.fill=liftColor(v)):!hasFillOrStroke(A.stroke)&&hasFillOrStroke(y)&&(d||(a=extend({},a),A=extend({},A)),A.stroke=liftColor(y)),a.style=A}}if(a&&a.z2==null){d||(a=extend({},a));var b=t.z2EmphasisLift;a.z2=t.z2+(b!=null?b:Z2_EMPHASIS_LIFT)}return a}function createSelectDefaultState(t,r,o){if(o&&o.z2==null){o=extend({},o);var a=t.z2SelectLift;o.z2=t.z2+(a!=null?a:Z2_SELECT_LIFT)}return o}function createBlurDefaultState(t,r,o){var a=indexOf$1(t.currentStates,r)>=0,u=t.style.opacity,d=a?null:getFromStateStyle(t,["opacity"],r,{opacity:1});o=o||{};var g=o.style||{};return g.opacity==null&&(o=extend({},o),g=extend({opacity:a?u:d.opacity*.1},g),o.style=g),o}function elementStateProxy(t,r){var o=this.states[t];if(this.style){if(t==="emphasis")return createEmphasisDefaultState(this,t,r,o);if(t==="blur")return createBlurDefaultState(this,t,o);if(t==="select")return createSelectDefaultState(this,t,o)}return o}function setDefaultStateProxy(t){t.stateProxy=elementStateProxy;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateProxy=elementStateProxy),o&&(o.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleLeaveEmphasis)}function enterEmphasis(t,r){t.__highByOuter|=1<<(r||0),traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasis(t,r){!(t.__highByOuter&=~(1<<(r||0)))&&traverseUpdateState(t,singleLeaveEmphasis)}function enterBlur(t){traverseUpdateState(t,singleEnterBlur)}function leaveBlur(t){traverseUpdateState(t,singleLeaveBlur)}function enterSelect(t){traverseUpdateState(t,singleEnterSelect)}function leaveSelect(t){traverseUpdateState(t,singleLeaveSelect)}function shouldSilent(t,r){return t.__highDownSilentOnTouch&&r.zrByTouch}function allLeaveBlur(t){var r=t.getModel(),o=[],a=[];r.eachComponent(function(u,d){var g=getComponentStates(d),v=u==="series",y=v?t.getViewOfSeriesModel(d):t.getViewOfComponentModel(d);!v&&a.push(y),g.isBlured&&(y.group.traverse(function(A){singleLeaveBlur(A)}),v&&o.push(d)),g.isBlured=!1}),each$f(a,function(u){u&&u.toggleBlurSeries&&u.toggleBlurSeries(o,!1,r)})}function blurSeries(t,r,o,a){var u=a.getModel();o=o||"coordinateSystem";function d(A,b){for(var _=0;_0){var v={dataIndex:g,seriesIndex:o.seriesIndex};d!=null&&(v.dataType=d),r.push(v)}})}),r}function enableHoverEmphasis(t,r,o){setAsHighDownDispatcher(t,!0),traverseUpdateState(t,setDefaultStateProxy),enableHoverFocus(t,r,o)}function disableHoverEmphasis(t){setAsHighDownDispatcher(t,!1)}function toggleHoverEmphasis(t,r,o,a){a?disableHoverEmphasis(t):enableHoverEmphasis(t,r,o)}function enableHoverFocus(t,r,o){var a=getECData(t);r!=null?(a.focus=r,a.blurScope=o):a.focus&&(a.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(t,r,o,a){o=o||"itemStyle";for(var u=0;u1&&(g*=mathSqrt$1(C),v*=mathSqrt$1(C));var T=(u===d?-1:1)*mathSqrt$1((g*g*(v*v)-g*g*(S*S)-v*v*(w*w))/(g*g*(S*S)+v*v*(w*w)))||0,I=T*g*S/v,E=T*-v*w/g,F=(t+o)/2+mathCos$2(_)*I-mathSin$2(_)*E,O=(r+a)/2+mathSin$2(_)*I+mathCos$2(_)*E,D=vAngle([1,0],[(w-I)/g,(S-E)/v]),x=[(w-I)/g,(S-E)/v],P=[(-1*w-I)/g,(-1*S-E)/v],G=vAngle(x,P);if(vRatio(x,P)<=-1&&(G=PI$7),vRatio(x,P)>=1&&(G=0),G<0){var M=Math.round(G/PI$7*1e6)/1e6;G=PI$7*2+M%2*PI$7}b.addData(A,F,O,g,v,D,G,_,d)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(t){var r=new PathProxy$1;if(!t)return r;var o=0,a=0,u=o,d=a,g,v=PathProxy$1.CMD,y=t.match(commandReg);if(!y)return r;for(var A=0;Az*z+U*U&&(M=V,N=Y),{cx:M,cy:N,x0:-b,y0:-_,x1:M*(u/x-1),y1:N*(u/x-1)}}function normalizeCornerRadius(t){var r;if(isArray$1(t)){var o=t.length;if(!o)return t;o===1?r=[t[0],t[0],0,0]:o===2?r=[t[0],t[0],t[1],t[1]]:o===3?r=t.concat(t[2]):r=t}else r=[t,t,t,t];return r}function buildPath$1(t,r){var o,a=mathMax$7(r.r,0),u=mathMax$7(r.r0||0,0),d=a>0,g=u>0;if(!(!d&&!g)){if(d||(a=u,u=0),u>a){var v=a;a=u,u=v}var y=r.startAngle,A=r.endAngle;if(!(isNaN(y)||isNaN(A))){var b=r.cx,_=r.cy,w=!!r.clockwise,S=mathAbs$1(A-y),C=S>PI2$3&&S%PI2$3;if(C>e&&(S=C),!(a>e))t.moveTo(b,_);else if(S>PI2$3-e)t.moveTo(b+a*mathCos$1(y),_+a*mathSin$1(y)),t.arc(b,_,a,y,A,!w),u>e&&(t.moveTo(b+u*mathCos$1(A),_+u*mathSin$1(A)),t.arc(b,_,u,A,y,w));else{var T=void 0,I=void 0,E=void 0,F=void 0,O=void 0,D=void 0,x=void 0,P=void 0,G=void 0,M=void 0,N=void 0,V=void 0,Y=void 0,H=void 0,B=void 0,z=void 0,U=a*mathCos$1(y),Q=a*mathSin$1(y),X=u*mathCos$1(A),J=u*mathSin$1(A),ne=S>e;if(ne){var te=r.cornerRadius;te&&(o=normalizeCornerRadius(te),T=o[0],I=o[1],E=o[2],F=o[3]);var ce=mathAbs$1(a-u)/2;if(O=mathMin$7(ce,E),D=mathMin$7(ce,F),x=mathMin$7(ce,T),P=mathMin$7(ce,I),N=G=mathMax$7(O,D),V=M=mathMax$7(x,P),(G>e||M>e)&&(Y=a*mathCos$1(A),H=a*mathSin$1(A),B=u*mathCos$1(y),z=u*mathSin$1(y),Se){var ve=mathMin$7(E,N),we=mathMin$7(F,N),_e=computeCornerTangents(B,z,U,Q,a,ve,w),Te=computeCornerTangents(Y,H,X,J,a,we,w);t.moveTo(b+_e.cx+_e.x0,_+_e.cy+_e.y0),N0&&t.arc(b+_e.cx,_+_e.cy,ve,mathATan2(_e.y0,_e.x0),mathATan2(_e.y1,_e.x1),!w),t.arc(b,_,a,mathATan2(_e.cy+_e.y1,_e.cx+_e.x1),mathATan2(Te.cy+Te.y1,Te.cx+Te.x1),!w),we>0&&t.arc(b+Te.cx,_+Te.cy,we,mathATan2(Te.y1,Te.x1),mathATan2(Te.y0,Te.x0),!w))}else t.moveTo(b+U,_+Q),t.arc(b,_,a,y,A,!w);if(!(u>e)||!ne)t.lineTo(b+X,_+J);else if(V>e){var ve=mathMin$7(T,V),we=mathMin$7(I,V),_e=computeCornerTangents(X,J,Y,H,u,-we,w),Te=computeCornerTangents(U,Q,B,z,u,-ve,w);t.lineTo(b+_e.cx+_e.x0,_+_e.cy+_e.y0),V0&&t.arc(b+_e.cx,_+_e.cy,we,mathATan2(_e.y0,_e.x0),mathATan2(_e.y1,_e.x1),!w),t.arc(b,_,u,mathATan2(_e.cy+_e.y1,_e.cx+_e.x1),mathATan2(Te.cy+Te.y1,Te.cx+Te.x1),w),ve>0&&t.arc(b+Te.cx,_+Te.cy,ve,mathATan2(Te.y1,Te.x1),mathATan2(Te.y0,Te.x0),!w))}else t.lineTo(b+X,_+J),t.arc(b,_,u,A,y,w)}t.closePath()}}}var SectorShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),Sector=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new SectorShape},r.prototype.buildPath=function(o,a){buildPath$1(o,a)},r.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},r}(Path$1);Sector.prototype.type="sector";var Sector$1=Sector,RingShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),Ring=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new RingShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.PI*2;o.moveTo(u+a.r,d),o.arc(u,d,a.r,0,g,!1),o.moveTo(u+a.r0,d),o.arc(u,d,a.r0,0,g,!0)},r}(Path$1);Ring.prototype.type="ring";var Ring$1=Ring;function smoothBezier(t,r,o,a){var u=[],d=[],g=[],v=[],y,A,b,_;if(a){b=[1/0,1/0],_=[-1/0,-1/0];for(var w=0,S=t.length;w=2){if(a){var d=smoothBezier(u,a,o,r.smoothConstraint);t.moveTo(u[0][0],u[0][1]);for(var g=u.length,v=0;v<(o?g:g-1);v++){var y=d[v*2],A=d[v*2+1],b=u[(v+1)%g];t.bezierCurveTo(y[0],y[1],A[0],A[1],b[0],b[1])}}else{t.moveTo(u[0][0],u[0][1]);for(var v=1,_=u.length;v<_;v++)t.lineTo(u[v][0],u[v][1])}o&&t.closePath()}}var PolygonShape=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Polygon=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new PolygonShape},r.prototype.buildPath=function(o,a){buildPath(o,a,!0)},r}(Path$1);Polygon.prototype.type="polygon";var Polygon$1=Polygon,PolylineShape=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Polyline$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new PolylineShape},r.prototype.buildPath=function(o,a){buildPath(o,a,!1)},r}(Path$1);Polyline$2.prototype.type="polyline";var Polyline$3=Polyline$2,subPixelOptimizeOutputShape={},LineShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Line$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LineShape},r.prototype.buildPath=function(o,a){var u,d,g,v;if(this.subPixelOptimize){var y=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,a,this.style);u=y.x1,d=y.y1,g=y.x2,v=y.y2}else u=a.x1,d=a.y1,g=a.x2,v=a.y2;var A=a.percent;A!==0&&(o.moveTo(u,d),A<1&&(g=u*(1-A)+g*A,v=d*(1-A)+v*A),o.lineTo(g,v))},r.prototype.pointAt=function(o){var a=this.shape;return[a.x1*(1-o)+a.x2*o,a.y1*(1-o)+a.y2*o]},r}(Path$1);Line$2.prototype.type="line";var Line$3=Line$2,out=[],BezierCurveShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function someVectorAt(t,r,o){var a=t.cpx2,u=t.cpy2;return a!=null||u!=null?[(o?cubicDerivativeAt:cubicAt)(t.x1,t.cpx1,t.cpx2,t.x2,r),(o?cubicDerivativeAt:cubicAt)(t.y1,t.cpy1,t.cpy2,t.y2,r)]:[(o?quadraticDerivativeAt:quadraticAt$1)(t.x1,t.cpx1,t.x2,r),(o?quadraticDerivativeAt:quadraticAt$1)(t.y1,t.cpy1,t.y2,r)]}var BezierCurve=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new BezierCurveShape},r.prototype.buildPath=function(o,a){var u=a.x1,d=a.y1,g=a.x2,v=a.y2,y=a.cpx1,A=a.cpy1,b=a.cpx2,_=a.cpy2,w=a.percent;w!==0&&(o.moveTo(u,d),b==null||_==null?(w<1&&(quadraticSubdivide(u,y,g,w,out),y=out[1],g=out[2],quadraticSubdivide(d,A,v,w,out),A=out[1],v=out[2]),o.quadraticCurveTo(y,A,g,v)):(w<1&&(cubicSubdivide(u,y,b,g,w,out),y=out[1],b=out[2],g=out[3],cubicSubdivide(d,A,_,v,w,out),A=out[1],_=out[2],v=out[3]),o.bezierCurveTo(y,A,b,_,g,v)))},r.prototype.pointAt=function(o){return someVectorAt(this.shape,o,!1)},r.prototype.tangentAt=function(o){var a=someVectorAt(this.shape,o,!0);return normalize$3(a,a)},r}(Path$1);BezierCurve.prototype.type="bezier-curve";var BezierCurve$1=BezierCurve,ArcShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),Arc=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ArcShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.max(a.r,0),v=a.startAngle,y=a.endAngle,A=a.clockwise,b=Math.cos(v),_=Math.sin(v);o.moveTo(b*g+u,_*g+d),o.arc(u,d,g,v,y,!A)},r}(Path$1);Arc.prototype.type="arc";var Arc$1=Arc,CompoundPath=function(t){__extends(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="compound",o}return r.prototype._updatePathDirty=function(){for(var o=this.shape.paths,a=this.shapeChanged(),u=0;uextent2[1]){if(v=!1,d)return v;var b=Math.abs(extent2[0]-extent[1]),_=Math.abs(extent[0]-extent2[1]);Math.min(b,_)>u.len()&&(b<_?Point$1.scale(u,A,-b*g):Point$1.scale(u,A,_*g))}else if(a){var b=Math.abs(extent2[0]-extent[1]),_=Math.abs(extent[0]-extent2[1]);Math.min(b,_)0){var _=b.duration,w=b.delay,S=b.easing,C={duration:_,delay:w||0,easing:S,done:d,force:!!d||!!g,setToFinal:!A,scope:t,during:g};v?r.animateFrom(o,C):r.animateTo(o,C)}else r.stopAnimation(),!v&&r.attr(o),g&&g(1),d&&d()}function updateProps$1(t,r,o,a,u,d){animateOrSetProps("update",t,r,o,a,u,d)}function initProps(t,r,o,a,u,d){animateOrSetProps("enter",t,r,o,a,u,d)}function isElementRemoved(t){if(!t.__zr)return!0;for(var r=0;rMath.abs(d[1])?d[0]>0?"right":"left":d[1]>0?"bottom":"top"}function isNotGroup(t){return!t.isGroup}function isPath$1(t){return t.shape!=null}function groupTransition(t,r,o){if(!t||!r)return;function a(g){var v={};return g.traverse(function(y){isNotGroup(y)&&y.anid&&(v[y.anid]=y)}),v}function u(g){var v={x:g.x,y:g.y,rotation:g.rotation};return isPath$1(g)&&(v.shape=extend({},g.shape)),v}var d=a(t);r.traverse(function(g){if(isNotGroup(g)&&g.anid){var v=d[g.anid];if(v){var y=u(g);g.attr(u(v)),updateProps$1(g,y,o,getECData(g).dataIndex)}}})}function clipPointsByRect(t,r){return map$1(t,function(o){var a=o[0];a=mathMax$6(a,r.x),a=mathMin$6(a,r.x+r.width);var u=o[1];return u=mathMax$6(u,r.y),u=mathMin$6(u,r.y+r.height),[a,u]})}function clipRectByRect(t,r){var o=mathMax$6(t.x,r.x),a=mathMin$6(t.x+t.width,r.x+r.width),u=mathMax$6(t.y,r.y),d=mathMin$6(t.y+t.height,r.y+r.height);if(a>=o&&d>=u)return{x:o,y:u,width:a-o,height:d-u}}function createIcon(t,r,o){var a=extend({rectHover:!0},r),u=a.style={strokeNoScale:!0};if(o=o||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(u.image=t.slice(8),defaults(u,o),new ZRImage$1(a)):makePath(t.replace("path://",""),a,o,"center")}function linePolygonIntersect(t,r,o,a,u){for(var d=0,g=u[u.length-1];d1)return!1;var I=crossProduct2d$1(S,C,b,_)/w;return!(I<0||I>1)}function crossProduct2d$1(t,r,o,a){return t*a-o*r}function nearZero(t){return t<=1e-6&&t>=-1e-6}function setTooltipConfig(t){var r=t.itemTooltipOption,o=t.componentModel,a=t.itemName,u=isString$1(r)?{formatter:r}:r,d=o.mainType,g=o.componentIndex,v={componentType:d,name:a,$vars:["name"]};v[d+"Index"]=g;var y=t.formatterParamsExtra;y&&each$f(keys(y),function(b){hasOwn(v,b)||(v[b]=y[b],v.$vars.push(b))});var A=getECData(t.el);A.componentMainType=d,A.componentIndex=g,A.tooltipConfig={name:a,option:defaults({content:a,encodeHTMLContent:!0,formatterParams:v},u)}}function traverseElement(t,r){var o;t.isGroup&&(o=r(t)),o||t.traverse(r)}function traverseElements(t,r){if(t)if(isArray$1(t))for(var o=0;o=0&&v.push(y)}),v}}function inheritDefaultOption(t,r){return merge(merge({},t,!0),r,!0)}var langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE",custom:"\u81EA\u5B9A\u4E49\u56FE\u8868",chart:"\u56FE\u8868"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env$1.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return t.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(t,r){t=t.toUpperCase(),localeModels[t]=new Model$1(r),localeStorage[t]=r}function createLocaleObject(t){if(isString$1(t)){var r=localeStorage[t.toUpperCase()]||{};return t===LOCALE_ZH||t===LOCALE_EN?clone$5(r):merge(clone$5(r),clone$5(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$5(t),clone$5(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(t){return localeModels[t]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(t,r){return t+="","0000".substr(0,r-t.length)+t}function getPrimaryTimeUnit(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function isPrimaryTimeUnit(t){return t===getPrimaryTimeUnit(t)}function getDefaultFormatPrecisionOfInterval(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format(t,r,o,a){var u=parseDate(t),d=u[fullYearGetterName(o)](),g=u[monthGetterName(o)]()+1,v=Math.floor((g-1)/3)+1,y=u[dateGetterName(o)](),A=u["get"+(o?"UTC":"")+"Day"](),b=u[hoursGetterName(o)](),_=(b-1)%12+1,w=u[minutesGetterName(o)](),S=u[secondsGetterName(o)](),C=u[millisecondsGetterName(o)](),T=b>=12?"pm":"am",I=T.toUpperCase(),E=a instanceof Model$1?a:getLocaleModel(a||SYSTEM_LANG)||getDefaultLocaleModel(),F=E.getModel("time"),O=F.get("month"),D=F.get("monthAbbr"),x=F.get("dayOfWeek"),P=F.get("dayOfWeekAbbr");return(r||"").replace(/{a}/g,T+"").replace(/{A}/g,I+"").replace(/{yyyy}/g,d+"").replace(/{yy}/g,pad(d%100+"",2)).replace(/{Q}/g,v+"").replace(/{MMMM}/g,O[g-1]).replace(/{MMM}/g,D[g-1]).replace(/{MM}/g,pad(g,2)).replace(/{M}/g,g+"").replace(/{dd}/g,pad(y,2)).replace(/{d}/g,y+"").replace(/{eeee}/g,x[A]).replace(/{ee}/g,P[A]).replace(/{e}/g,A+"").replace(/{HH}/g,pad(b,2)).replace(/{H}/g,b+"").replace(/{hh}/g,pad(_+"",2)).replace(/{h}/g,_+"").replace(/{mm}/g,pad(w,2)).replace(/{m}/g,w+"").replace(/{ss}/g,pad(S,2)).replace(/{s}/g,S+"").replace(/{SSS}/g,pad(C,3)).replace(/{S}/g,C+"")}function leveledFormat(t,r,o,a,u){var d=null;if(isString$1(o))d=o;else if(isFunction(o))d=o(t.value,r,{level:t.level});else{var g=extend({},defaultLeveledFormatter);if(t.level>0)for(var v=0;v=0;--v)if(y[A]){d=y[A];break}d=d||g.none}if(isArray$1(d)){var _=t.level==null?0:t.level>=0?t.level:d.length+t.level;_=Math.min(_,d.length-1),d=d[_]}}return format(new Date(t.value),d,u,a)}function getUnitFromValue(t,r){var o=parseDate(t),a=o[monthGetterName(r)]()+1,u=o[dateGetterName(r)](),d=o[hoursGetterName(r)](),g=o[minutesGetterName(r)](),v=o[secondsGetterName(r)](),y=o[millisecondsGetterName(r)](),A=y===0,b=A&&v===0,_=b&&g===0,w=_&&d===0,S=w&&u===1,C=S&&a===1;return C?"year":S?"month":w?"day":_?"hour":b?"minute":A?"second":"millisecond"}function getUnitValue(t,r,o){var a=isNumber$1(t)?parseDate(t):t;switch(r=r||getUnitFromValue(t,o),r){case"year":return a[fullYearGetterName(o)]();case"half-year":return a[monthGetterName(o)]()>=6?1:0;case"quarter":return Math.floor((a[monthGetterName(o)]()+1)/4);case"month":return a[monthGetterName(o)]();case"day":return a[dateGetterName(o)]();case"half-day":return a[hoursGetterName(o)]()/24;case"hour":return a[hoursGetterName(o)]();case"minute":return a[minutesGetterName(o)]();case"second":return a[secondsGetterName(o)]();case"millisecond":return a[millisecondsGetterName(o)]()}}function fullYearGetterName(t){return t?"getUTCFullYear":"getFullYear"}function monthGetterName(t){return t?"getUTCMonth":"getMonth"}function dateGetterName(t){return t?"getUTCDate":"getDate"}function hoursGetterName(t){return t?"getUTCHours":"getHours"}function minutesGetterName(t){return t?"getUTCMinutes":"getMinutes"}function secondsGetterName(t){return t?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(t){return t?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(t){return t?"setUTCFullYear":"setFullYear"}function monthSetterName(t){return t?"setUTCMonth":"setMonth"}function dateSetterName(t){return t?"setUTCDate":"setDate"}function hoursSetterName(t){return t?"setUTCHours":"setHours"}function minutesSetterName(t){return t?"setUTCMinutes":"setMinutes"}function secondsSetterName(t){return t?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(t){return t?"setUTCMilliseconds":"setMilliseconds"}function addCommas(t){if(!isNumeric(t))return isString$1(t)?t:"-";var r=(t+"").split(".");return r[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(r.length>1?"."+r[1]:"")}function toCamelCase(t,r){return t=(t||"").toLowerCase().replace(/-(.)/g,function(o,a){return a.toUpperCase()}),r&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(t,r,o){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function u(b){return b&&trim$1(b)?b:"-"}function d(b){return!!(b!=null&&!isNaN(b)&&isFinite(b))}var g=r==="time",v=t instanceof Date;if(g||v){var y=g?parseDate(t):t;if(isNaN(+y)){if(v)return"-"}else return format(y,a,o)}if(r==="ordinal")return isStringSafe(t)?u(t):isNumber$1(t)&&d(t)?t+"":"-";var A=numericToNumber(t);return d(A)?addCommas(A):isStringSafe(t)?u(t):typeof t=="boolean"?t+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(t,r){return"{"+t+(r==null?"":r)+"}"};function formatTpl(t,r,o){isArray$1(r)||(r=[r]);var a=r.length;if(!a)return"";for(var u=r[0].$vars||[],d=0;d':'';var g=o.markerId||"markerX";return{renderMode:d,content:"{"+g+"|} ",style:u==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function convertToColorString(t,r){return r=r||"transparent",isString$1(t)?t:isObject$3(t)&&t.colorStops&&(t.colorStops[0]||{}).color||r}function windowOpen(t,r){if(r==="_blank"||r==="blank"){var o=window.open();o.opener=null,o.location.href=t}else window.open(t,r)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(t,r,o,a,u){var d=0,g=0;a==null&&(a=1/0),u==null&&(u=1/0);var v=0;r.eachChild(function(y,A){var b=y.getBoundingRect(),_=r.childAt(A+1),w=_&&_.getBoundingRect(),S,C;if(t==="horizontal"){var T=b.width+(w?-w.x+b.x:0);S=d+T,S>a||y.newline?(d=0,S=T,g+=v+o,v=b.height):v=Math.max(v,b.height)}else{var I=b.height+(w?-w.y+b.y:0);C=g+I,C>u||y.newline?(d+=v+o,g=0,C=I,v=b.width):v=Math.max(v,b.width)}y.newline||(y.x=d,y.y=g,y.markRedraw(),t==="horizontal"?d=S+o:g=C+o)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(t,r,o){var a=r.width,u=r.height,d=parsePercent(t.left,a),g=parsePercent(t.top,u),v=parsePercent(t.right,a),y=parsePercent(t.bottom,u);return(isNaN(d)||isNaN(parseFloat(t.left)))&&(d=0),(isNaN(v)||isNaN(parseFloat(t.right)))&&(v=a),(isNaN(g)||isNaN(parseFloat(t.top)))&&(g=0),(isNaN(y)||isNaN(parseFloat(t.bottom)))&&(y=u),o=normalizeCssArray(o||0),{width:Math.max(v-d-o[1]-o[3],0),height:Math.max(y-g-o[0]-o[2],0)}}function getLayoutRect(t,r,o){o=normalizeCssArray(o||0);var a=r.width,u=r.height,d=parsePercent(t.left,a),g=parsePercent(t.top,u),v=parsePercent(t.right,a),y=parsePercent(t.bottom,u),A=parsePercent(t.width,a),b=parsePercent(t.height,u),_=o[2]+o[0],w=o[1]+o[3],S=t.aspect;switch(isNaN(A)&&(A=a-v-w-d),isNaN(b)&&(b=u-y-_-g),S!=null&&(isNaN(A)&&isNaN(b)&&(S>a/u?A=a*.8:b=u*.8),isNaN(A)&&(A=S*b),isNaN(b)&&(b=A/S)),isNaN(d)&&(d=a-v-A-w),isNaN(g)&&(g=u-y-b-_),t.left||t.right){case"center":d=a/2-A/2-o[3];break;case"right":d=a-A-w;break}switch(t.top||t.bottom){case"middle":case"center":g=u/2-b/2-o[0];break;case"bottom":g=u-b-_;break}d=d||0,g=g||0,isNaN(A)&&(A=a-w-d-(v||0)),isNaN(b)&&(b=u-_-g-(y||0));var C=new BoundingRect$1(d+o[3],g+o[0],A,b);return C.margin=o,C}function positionElement(t,r,o,a,u,d){var g=!u||!u.hv||u.hv[0],v=!u||!u.hv||u.hv[1],y=u&&u.boundingMode||"all";if(d=d||t,d.x=t.x,d.y=t.y,!g&&!v)return!1;var A;if(y==="raw")A=t.type==="group"?new BoundingRect$1(0,0,+r.width||0,+r.height||0):t.getBoundingRect();else if(A=t.getBoundingRect(),t.needLocalTransform()){var b=t.getLocalTransform();A=A.clone(),A.applyTransform(b)}var _=getLayoutRect(defaults({width:A.width,height:A.height},r),o,a),w=g?_.x-A.x:0,S=v?_.y-A.y:0;return y==="raw"?(d.x=w,d.y=S):(d.x+=w,d.y+=S),d===t&&t.markRedraw(),!0}function sizeCalculable(t,r){return t[HV_NAMES[r][0]]!=null||t[HV_NAMES[r][1]]!=null&&t[HV_NAMES[r][2]]!=null}function fetchLayoutMode(t){var r=t.layoutMode||t.constructor.layoutMode;return isObject$3(r)?r:r?{type:r}:null}function mergeLayoutParam(t,r,o){var a=o&&o.ignoreSize;!isArray$1(a)&&(a=[a,a]);var u=g(HV_NAMES[0],0),d=g(HV_NAMES[1],1);A(HV_NAMES[0],t,u),A(HV_NAMES[1],t,d);function g(b,_){var w={},S=0,C={},T=0,I=2;if(each$e(b,function(O){C[O]=t[O]}),each$e(b,function(O){v(r,O)&&(w[O]=C[O]=r[O]),y(w,O)&&S++,y(C,O)&&T++}),a[_])return y(r,b[1])?C[b[2]]=null:y(r,b[2])&&(C[b[1]]=null),C;if(T===I||!S)return C;if(S>=I)return w;for(var E=0;E=0;y--)v=merge(v,u[y],!0);a.defaultOption=v}return a.defaultOption},r.prototype.getReferringComponents=function(o,a){var u=o+"Index",d=o+"Id";return queryReferringComponents(this.ecModel,o,{index:this.get(u,!0),id:this.get(d,!0)},a)},r.prototype.getBoxLayoutParams=function(){var o=this;return{left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(o){this.option.zlevel=o},r.protoInitialize=function(){var o=r.prototype;o.type="component",o.id="",o.name="",o.mainType="",o.subType="",o.componentIndex=0}(),r}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(t){var r=[];return each$f(ComponentModel.getClassesByMainType(t),function(o){r=r.concat(o.dependencies||o.prototype.dependencies||[])}),r=map$1(r,function(o){return parseClassType(o).main}),t!=="dataset"&&indexOf$1(r,"dataset")<=0&&r.unshift("dataset"),r}var ComponentModel$1=ComponentModel,platform="";typeof navigator!="undefined"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)",globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(t){innerGlobalModel(t).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(t,r,o){var a={},u=querySeriesUpstreamDatasetModel(r);if(!u||!t)return a;var d=[],g=[],v=r.ecModel,y=innerGlobalModel(v).datasetMap,A=u.uid+"_"+o.seriesLayoutBy,b,_;t=t.slice(),each$f(t,function(T,I){var E=isObject$3(T)?T:t[I]={name:T};E.type==="ordinal"&&b==null&&(b=I,_=C(E)),a[E.name]=[]});var w=y.get(A)||y.set(A,{categoryWayDim:_,valueWayDim:0});each$f(t,function(T,I){var E=T.name,F=C(T);if(b==null){var O=w.valueWayDim;S(a[E],O,F),S(g,O,F),w.valueWayDim+=F}else if(b===I)S(a[E],0,F),S(d,0,F);else{var O=w.categoryWayDim;S(a[E],O,F),S(g,O,F),w.categoryWayDim+=F}});function S(T,I,E){for(var F=0;Fr)return t[a];return t[o-1]}function getFromPalette(t,r,o,a,u,d,g){d=d||t;var v=r(d),y=v.paletteIdx||0,A=v.paletteNameMap=v.paletteNameMap||{};if(A.hasOwnProperty(u))return A[u];var b=g==null||!a?o:getNearestPalette(a,g);if(b=b||o,!(!b||!b.length)){var _=b[y];return u&&(A[u]=_),v.paletteIdx=(y+1)%b.length,_}}function clearPalette(t,r){r(t).paletteIdx=0,r(t).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(o,a,u,d,g,v){d=d||{},this.option=null,this._theme=new Model$1(d),this._locale=new Model$1(g),this._optionManager=v},r.prototype.setOption=function(o,a,u){var d=normalizeSetOptionInput(a);this._optionManager.setOption(o,u,d),this._resetOption(null,d)},r.prototype.resetOption=function(o,a){return this._resetOption(o,normalizeSetOptionInput(a))},r.prototype._resetOption=function(o,a){var u=!1,d=this._optionManager;if(!o||o==="recreate"){var g=d.mountOption(o==="recreate");!this.option||o==="recreate"?initBase(this,g):(this.restoreData(),this._mergeOption(g,a)),u=!0}if((o==="timeline"||o==="media")&&this.restoreData(),!o||o==="recreate"||o==="timeline"){var v=d.getTimelineOption(this);v&&(u=!0,this._mergeOption(v,a))}if(!o||o==="recreate"||o==="media"){var y=d.getMediaOption(this);y.length&&each$f(y,function(A){u=!0,this._mergeOption(A,a)},this)}return u},r.prototype.mergeOption=function(o){this._mergeOption(o,null)},r.prototype._mergeOption=function(o,a){var u=this.option,d=this._componentsMap,g=this._componentsCount,v=[],y=createHashMap(),A=a&&a.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(o,function(_,w){_!=null&&(ComponentModel$1.hasClass(w)?w&&(v.push(w),y.set(w,!0)):u[w]=u[w]==null?clone$5(_):merge(u[w],_,!0))}),A&&A.each(function(_,w){ComponentModel$1.hasClass(w)&&!y.get(w)&&(v.push(w),y.set(w,!0))}),ComponentModel$1.topologicalTravel(v,ComponentModel$1.getAllClassMainTypes(),b,this);function b(_){var w=concatInternalOptions(this,_,normalizeToArray(o[_])),S=d.get(_),C=S?A&&A.get(_)?"replaceMerge":"normalMerge":"replaceAll",T=mappingToExists(S,w,C);setComponentTypeToKeyInfo(T,_,ComponentModel$1),u[_]=null,d.set(_,null),g.set(_,0);var I=[],E=[],F=0,O;each$f(T,function(D,x){var P=D.existing,G=D.newOption;if(!G)P&&(P.mergeOption({},this),P.optionUpdated({},!1));else{var M=_==="series",N=ComponentModel$1.getClass(_,D.keyInfo.subType,!M);if(!N)return;if(_==="tooltip"){if(O)return;O=!0}if(P&&P.constructor===N)P.name=D.keyInfo.name,P.mergeOption(G,this),P.optionUpdated(G,!1);else{var V=extend({componentIndex:x},D.keyInfo);P=new N(G,this,this,V),extend(P,V),D.brandNew&&(P.__requireNewView=!0),P.init(G,this,this),P.optionUpdated(null,!0)}}P?(I.push(P.option),E.push(P),F++):(I.push(void 0),E.push(void 0))},this),u[_]=I,d.set(_,E),g.set(_,F),_==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},r.prototype.getOption=function(){var o=clone$5(this.option);return each$f(o,function(a,u){if(ComponentModel$1.hasClass(u)){for(var d=normalizeToArray(a),g=d.length,v=!1,y=g-1;y>=0;y--)d[y]&&!isComponentIdInternal(d[y])?v=!0:(d[y]=null,!v&&g--);d.length=g,o[u]=d}}),delete o[OPTION_INNER_KEY],o},r.prototype.getTheme=function(){return this._theme},r.prototype.getLocaleModel=function(){return this._locale},r.prototype.setUpdatePayload=function(o){this._payload=o},r.prototype.getUpdatePayload=function(){return this._payload},r.prototype.getComponent=function(o,a){var u=this._componentsMap.get(o);if(u){var d=u[a||0];if(d)return d;if(a==null){for(var g=0;g=r:o==="max"?t<=r:t===r}function indicesEquals(t,r){return t.join(",")===r.join(",")}var OptionManager$1=OptionManager,each$d=each$f,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(t){var r=t&&t.itemStyle;if(!!r)for(var o=0,a=POSSIBLE_STYLES.length;o=0;I--){var E=t[I];if(v||(C=E.data.rawIndexOf(E.stackedByDimension,S)),C>=0){var F=E.data.getByRawIndex(E.stackResultDimension,C);if(y==="all"||y==="positive"&&F>0||y==="negative"&&F<0||y==="samesign"&&w>=0&&F>0||y==="samesign"&&w<=0&&F<0){w=addSafe(w,F),T=F;break}}}return a[0]=w,a[1]=T,a})})}var SourceImpl=function(){function t(r){this.data=r.data||(r.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=r.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=r.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=r.startIndex||0,this.dimensionsDetectedCount=r.dimensionsDetectedCount,this.metaRawOption=r.metaRawOption;var o=this.dimensionsDefine=r.dimensionsDefine;if(o)for(var a=0;aT&&(T=O)}S[0]=C,S[1]=T}},u=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(r={},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:d},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},r[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:d},r[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(g){var v=this._data;each$f(g,function(y,A){for(var b=v[A]||(v[A]=[]),_=0;_<(y||[]).length;_++)b.push(y[_])})}},r[SOURCE_FORMAT_ORIGINAL]={appendData:d},r[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(g){this._data=g},clean:function(){this._offset+=this.count(),this._data=null}},r);function d(g){for(var v=0;v=0&&(T=g.interpolatedValue[I])}return T!=null?T+"":""})}},t.prototype.getRawValue=function(r,o){return retrieveRawValue(this.getData(o),r)},t.prototype.formatTooltip=function(r,o,a){},t}();function normalizeTooltipFormatResult(t){var r,o;return isObject$3(t)?t.type&&(o=t):r=t,{text:r,frag:o}}function createTask(t){return new Task(t)}var Task=function(){function t(r){r=r||{},this._reset=r.reset,this._plan=r.plan,this._count=r.count,this._onDirty=r.onDirty,this._dirty=!0}return t.prototype.perform=function(r){var o=this._upstream,a=r&&r.skip;if(this._dirty&&o){var u=this.context;u.data=u.outputData=o.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var d;this._plan&&!a&&(d=this._plan(this.context));var g=b(this._modBy),v=this._modDataCount||0,y=b(r&&r.modBy),A=r&&r.modDataCount||0;(g!==y||v!==A)&&(d="reset");function b(F){return!(F>=1)&&(F=1),F}var _;(this._dirty||d==="reset")&&(this._dirty=!1,_=this._doReset(a)),this._modBy=y,this._modDataCount=A;var w=r&&r.step;if(o?this._dueEnd=o._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var S=this._dueIndex,C=Math.min(w!=null?this._dueIndex+w:1/0,this._dueEnd);if(!a&&(_||S1&&a>0?v:g}};return d;function g(){return r=t?null:yr},gte:function(t,r){return t>=r}},FilterOrderComparator=function(){function t(r,o){if(!isNumber$1(o)){var a="";throwError(a)}this._opFn=ORDER_COMPARISON_OP_MAP[r],this._rvalFloat=numericToNumber(o)}return t.prototype.evaluate=function(r){return isNumber$1(r)?this._opFn(r,this._rvalFloat):this._opFn(numericToNumber(r),this._rvalFloat)},t}(),SortOrderComparator=function(){function t(r,o){var a=r==="desc";this._resultLT=a?1:-1,o==null&&(o=a?"min":"max"),this._incomparable=o==="min"?-1/0:1/0}return t.prototype.evaluate=function(r,o){var a=isNumber$1(r)?r:numericToNumber(r),u=isNumber$1(o)?o:numericToNumber(o),d=isNaN(a),g=isNaN(u);if(d&&(a=this._incomparable),g&&(u=this._incomparable),d&&g){var v=isString$1(r),y=isString$1(o);v&&(a=y?r:0),y&&(u=v?o:0)}return au?-this._resultLT:0},t}(),FilterEqualityComparator=function(){function t(r,o){this._rval=o,this._isEQ=r,this._rvalTypeof=typeof o,this._rvalFloat=numericToNumber(o)}return t.prototype.evaluate=function(r){var o=r===this._rval;if(!o){var a=typeof r;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(o=numericToNumber(r)===this._rvalFloat)}return this._isEQ?o:!o},t}();function createFilterComparator(t,r){return t==="eq"||t==="ne"?new FilterEqualityComparator(t==="eq",r):hasOwn(ORDER_COMPARISON_OP_MAP,t)?new FilterOrderComparator(t,r):null}var ExternalSource=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(r){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(r){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(r,o){},t.prototype.retrieveValueFromItem=function(r,o){},t.prototype.convertValue=function(r,o){return parseDataValue(r,o)},t}();function createExternalSource(t,r){var o=new ExternalSource,a=t.data,u=o.sourceFormat=t.sourceFormat,d=t.startIndex,g="";t.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(g);var v=[],y={},A=t.dimensionsDefine;if(A)each$f(A,function(T,I){var E=T.name,F={index:I,name:E,displayName:T.displayName};if(v.push(F),E!=null){var O="";hasOwn(y,E)&&throwError(O),y[E]=F}});else for(var b=0;b65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(t){var r=t.constructor;return r===Array?t.slice():new r(t)}function prepareStore(t,r,o,a,u){var d=dataCtors[o||"float"];if(u){var g=t[r],v=g&&g.length;if(v!==a){for(var y=new d(a),A=0;AI[1]&&(I[1]=T)}return this._rawCount=this._count=y,{start:v,end:y}},t.prototype._initDataFromProvider=function(r,o,a){for(var u=this._provider,d=this._chunks,g=this._dimensions,v=g.length,y=this._rawExtent,A=map$1(g,function(F){return F.property}),b=0;bE[1]&&(E[1]=I)}}!u.persistent&&u.clean&&u.clean(),this._rawCount=this._count=o,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(r,o){if(!(o>=0&&o=0&&o=this._rawCount||r<0)return-1;if(!this._indices)return r;var o=this._indices,a=o[r];if(a!=null&&ar)d=g-1;else return g}return-1},t.prototype.indicesOfNearest=function(r,o,a){var u=this._chunks,d=u[r],g=[];if(!d)return g;a==null&&(a=1/0);for(var v=1/0,y=-1,A=0,b=0,_=this.count();b<_;b++){var w=this.getRawIndex(b),S=o-d[w],C=Math.abs(S);C<=a&&((C=0&&y<0)&&(v=C,y=S,A=0),S===y&&(g[A++]=b))}return g.length=A,g},t.prototype.getIndices=function(){var r,o=this._indices;if(o){var a=o.constructor,u=this._count;if(a===Array){r=new a(u);for(var d=0;d=_&&F<=w||isNaN(F))&&(y[A++]=T),T++}C=!0}else if(d===2){for(var I=S[u[0]],O=S[u[1]],D=r[u[1]][0],x=r[u[1]][1],E=0;E=_&&F<=w||isNaN(F))&&(P>=D&&P<=x||isNaN(P))&&(y[A++]=T),T++}C=!0}}if(!C)if(d===1)for(var E=0;E=_&&F<=w||isNaN(F))&&(y[A++]=G)}else for(var E=0;Er[V][1])&&(M=!1)}M&&(y[A++]=o.getRawIndex(E))}return AE[1]&&(E[1]=I)}}}},t.prototype.lttbDownSample=function(r,o){var a=this.clone([r],!0),u=a._chunks,d=u[r],g=this.count(),v=0,y=Math.floor(1/o),A=this.getRawIndex(0),b,_,w,S=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(g/y)+2)*2,g));S[v++]=A;for(var C=1;Cb&&(b=_,w=D)}Y>0&&Yb-C&&(y=b-C,v.length=y);for(var T=0;T_[1]&&(_[1]=E),w[S++]=F}return d._count=S,d._indices=w,d._updateGetRawIdx(),d},t.prototype.each=function(r,o){if(!!this._count)for(var a=r.length,u=this._chunks,d=0,g=this.count();dy&&(y=_)}return g=[v,y],this._extent[r]=g,g},t.prototype.getRawDataItem=function(r){var o=this.getRawIndex(r);if(this._provider.persistent)return this._provider.getItem(o);for(var a=[],u=this._chunks,d=0;d=0?this._indices[r]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function r(o,a,u,d){return parseDataValue(o[d],this._dimensions[d])}defaultDimValueGetters={arrayRows:r,objectRows:function(o,a,u,d){return parseDataValue(o[a],this._dimensions[d])},keyedColumns:r,original:function(o,a,u,d){var g=o&&(o.value==null?o:o.value);return parseDataValue(g instanceof Array?g[d]:g,this._dimensions[d])},typedArray:function(o,a,u,d){return o[d]}}}(),t}(),SourceManager=function(){function t(r){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=r}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(r,o){this._sourceList=r,this._upstreamSignList=o,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var r=this._sourceHost,o=this._getUpstreamSourceManagers(),a=!!o.length,u,d;if(isSeries(r)){var g=r,v=void 0,y=void 0,A=void 0;if(a){var b=o[0];b.prepareSource(),A=b.getSource(),v=A.data,y=A.sourceFormat,d=[b._getVersionSign()]}else v=g.get("data",!0),y=isTypedArray(v)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,d=[];var _=this._getSourceMetaRawOption()||{},w=A&&A.metaRawOption||{},S=retrieve2(_.seriesLayoutBy,w.seriesLayoutBy)||null,C=retrieve2(_.sourceHeader,w.sourceHeader),T=retrieve2(_.dimensions,w.dimensions),I=S!==w.seriesLayoutBy||!!C!=!!w.sourceHeader||T;u=I?[createSource(v,{seriesLayoutBy:S,sourceHeader:C,dimensions:T},y)]:[]}else{var E=r;if(a){var F=this._applyTransform(o);u=F.sourceList,d=F.upstreamSignList}else{var O=E.get("source",!0);u=[createSource(O,this._getSourceMetaRawOption(),null)],d=[]}}this._setLocalSource(u,d)},t.prototype._applyTransform=function(r){var o=this._sourceHost,a=o.get("transform",!0),u=o.get("fromTransformResult",!0);if(u!=null){var d="";r.length!==1&&doThrow(d)}var g,v=[],y=[];return each$f(r,function(A){A.prepareSource();var b=A.getSource(u||0),_="";u!=null&&!b&&doThrow(_),v.push(b),y.push(A._getVersionSign())}),a?g=applyDataTransform(a,v,{datasetIndex:o.componentIndex}):u!=null&&(g=[cloneSourceShallow(v[0])]),{sourceList:g,upstreamSignList:y}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var r=this._getUpstreamSourceManagers(),o=0;oo:u+b+S>o){b?(v||y)&&(C?(v||(v=y,y="",A=0,b=A),d.push(v),g.push(b-A),y+=w,A+=S,v="",b=A):(y&&(v+=y,y="",A=0),d.push(v),g.push(b),v=w,b=S)):C?(d.push(y),g.push(A),y=w,A=S):(d.push(w),g.push(S));continue}b+=S,C?(y+=w,A+=S):(y&&(v+=y,y="",A=0),v+=w)}return!d.length&&!v&&(v=t,y="",A=0),y&&(v+=y),v&&(d.push(v),g.push(b)),d.length===1&&(b+=u),{accumWidth:b,lines:d,linesWidths:g}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype._init=function(o){for(var a=keys(o),u=0;u1e-4){v[0]=t-o,v[1]=r-a,y[0]=t+o,y[1]=r+a;return}if(start[0]=mathCos$4(u)*o+t,start[1]=mathSin$4(u)*a+r,end[0]=mathCos$4(d)*o+t,end[1]=mathSin$4(d)*a+r,A(v,start,end),b(y,start,end),u=u%PI2$8,u<0&&(u=u+PI2$8),d=d%PI2$8,d<0&&(d=d+PI2$8),u>d&&!g?d+=PI2$8:uu&&(extremity[0]=mathCos$4(S)*o+t,extremity[1]=mathSin$4(S)*a+r,A(v,extremity,v),b(y,extremity,y))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array!="undefined",tmpAngles=[];function modPI2(t){var r=Math.round(t/PI$8*1e8)/1e8;return r%2*PI$8}function normalizeArcAngles(t,r){var o=modPI2(t[0]);o<0&&(o+=PI2$7);var a=o-t[0],u=t[1];u+=a,!r&&u-o>=PI2$7?u=o+PI2$7:r&&o-u>=PI2$7?u=o-PI2$7:!r&&o>u?u=o+(PI2$7-modPI2(o-u)):r&&o0&&(this._ux=mathAbs$2(a/devicePixelRatio/r)||0,this._uy=mathAbs$2(a/devicePixelRatio/o)||0)},t.prototype.setDPR=function(r){this.dpr=r},t.prototype.setContext=function(r){this._ctx=r},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(r,o){return this._drawPendingPt(),this.addData(CMD$4.M,r,o),this._ctx&&this._ctx.moveTo(r,o),this._x0=r,this._y0=o,this._xi=r,this._yi=o,this},t.prototype.lineTo=function(r,o){var a=mathAbs$2(r-this._xi),u=mathAbs$2(o-this._yi),d=a>this._ux||u>this._uy;if(this.addData(CMD$4.L,r,o),this._ctx&&d&&this._ctx.lineTo(r,o),d)this._xi=r,this._yi=o,this._pendingPtDist=0;else{var g=a*a+u*u;g>this._pendingPtDist&&(this._pendingPtX=r,this._pendingPtY=o,this._pendingPtDist=g)}return this},t.prototype.bezierCurveTo=function(r,o,a,u,d,g){return this._drawPendingPt(),this.addData(CMD$4.C,r,o,a,u,d,g),this._ctx&&this._ctx.bezierCurveTo(r,o,a,u,d,g),this._xi=d,this._yi=g,this},t.prototype.quadraticCurveTo=function(r,o,a,u){return this._drawPendingPt(),this.addData(CMD$4.Q,r,o,a,u),this._ctx&&this._ctx.quadraticCurveTo(r,o,a,u),this._xi=a,this._yi=u,this},t.prototype.arc=function(r,o,a,u,d,g){this._drawPendingPt(),tmpAngles[0]=u,tmpAngles[1]=d,normalizeArcAngles(tmpAngles,g),u=tmpAngles[0],d=tmpAngles[1];var v=d-u;return this.addData(CMD$4.A,r,o,a,a,u,v,0,g?0:1),this._ctx&&this._ctx.arc(r,o,a,u,d,g),this._xi=mathCos$3(d)*a+r,this._yi=mathSin$3(d)*a+o,this},t.prototype.arcTo=function(r,o,a,u,d){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(r,o,a,u,d),this},t.prototype.rect=function(r,o,a,u){return this._drawPendingPt(),this._ctx&&this._ctx.rect(r,o,a,u),this.addData(CMD$4.R,r,o,a,u),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var r=this._ctx,o=this._x0,a=this._y0;return r&&r.closePath(),this._xi=o,this._yi=a,this},t.prototype.fill=function(r){r&&r.fill(),this.toStatic()},t.prototype.stroke=function(r){r&&r.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(r){var o=r.length;!(this.data&&this.data.length===o)&&hasTypedArray&&(this.data=new Float32Array(o));for(var a=0;ab.length&&(this._expandData(),b=this.data);for(var _=0;_0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var r=[],o=0;o11&&(this.data=new Float32Array(r)))}},t.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var r=this.data,o=0,a=0,u=0,d=0,g;for(g=0;ga||mathAbs$2(O)>u||w===o-1)&&(T=Math.sqrt(F*F+O*O),d=I,g=E);break}case CMD$4.C:{var D=r[w++],x=r[w++],I=r[w++],E=r[w++],P=r[w++],G=r[w++];T=cubicLength(d,g,D,x,I,E,P,G,10),d=P,g=G;break}case CMD$4.Q:{var D=r[w++],x=r[w++],I=r[w++],E=r[w++];T=quadraticLength(d,g,D,x,I,E,10),d=I,g=E;break}case CMD$4.A:var M=r[w++],N=r[w++],V=r[w++],Z=r[w++],H=r[w++],B=r[w++],z=B+H;w+=1,C&&(v=mathCos$3(H)*V+M,y=mathSin$3(H)*Z+N),T=mathMax$8(V,Z)*mathMin$8(PI2$7,Math.abs(B)),d=mathCos$3(z)*V+M,g=mathSin$3(z)*Z+N;break;case CMD$4.R:{v=d=r[w++],y=g=r[w++];var U=r[w++],Q=r[w++];T=U*2+Q*2;break}case CMD$4.Z:{var F=v-d,O=y-g;T=Math.sqrt(F*F+O*O),d=v,g=y;break}}T>=0&&(A[_++]=T,b+=T)}return this._pathLen=b,b},t.prototype.rebuildPath=function(r,o){var a=this.data,u=this._ux,d=this._uy,g=this._len,v,y,A,b,_,w,S=o<1,C,T,I=0,E=0,F,O=0,D,x;if(S&&(this._pathSegLen||this._calculateLength(),C=this._pathSegLen,T=this._pathLen,F=o*T,!F))return;e:for(var P=0;P0&&(r.lineTo(D,x),O=0),G){case CMD$4.M:v=A=a[P++],y=b=a[P++],r.moveTo(A,b);break;case CMD$4.L:{_=a[P++],w=a[P++];var N=mathAbs$2(_-A),V=mathAbs$2(w-b);if(N>u||V>d){if(S){var Z=C[E++];if(I+Z>F){var H=(F-I)/Z;r.lineTo(A*(1-H)+_*H,b*(1-H)+w*H);break e}I+=Z}r.lineTo(_,w),A=_,b=w,O=0}else{var B=N*N+V*V;B>O&&(D=_,x=w,O=B)}break}case CMD$4.C:{var z=a[P++],U=a[P++],Q=a[P++],X=a[P++],J=a[P++],ne=a[P++];if(S){var Z=C[E++];if(I+Z>F){var H=(F-I)/Z;cubicSubdivide(A,z,Q,J,H,tmpOutX),cubicSubdivide(b,U,X,ne,H,tmpOutY),r.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}I+=Z}r.bezierCurveTo(z,U,Q,X,J,ne),A=J,b=ne;break}case CMD$4.Q:{var z=a[P++],U=a[P++],Q=a[P++],X=a[P++];if(S){var Z=C[E++];if(I+Z>F){var H=(F-I)/Z;quadraticSubdivide(A,z,Q,H,tmpOutX),quadraticSubdivide(b,U,X,H,tmpOutY),r.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}I+=Z}r.quadraticCurveTo(z,U,Q,X),A=Q,b=X;break}case CMD$4.A:var te=a[P++],ce=a[P++],se=a[P++],ge=a[P++],he=a[P++],ye=a[P++],ee=a[P++],pe=!a[P++],ae=se>ge?se:ge,ve=mathAbs$2(se-ge)>.001,we=he+ye,_e=!1;if(S){var Z=C[E++];I+Z>F&&(we=he+ye*(F-I)/Z,_e=!0),I+=Z}if(ve&&r.ellipse?r.ellipse(te,ce,se,ge,ee,he,we,pe):r.arc(te,ce,ae,he,we,pe),_e)break e;M&&(v=mathCos$3(he)*se+te,y=mathSin$3(he)*ge+ce),A=mathCos$3(we)*se+te,b=mathSin$3(we)*ge+ce;break;case CMD$4.R:v=A=a[P],y=b=a[P+1],_=a[P++],w=a[P++];var Te=a[P++],Ce=a[P++];if(S){var Z=C[E++];if(I+Z>F){var Ae=F-I;r.moveTo(_,w),r.lineTo(_+mathMin$8(Ae,Te),w),Ae-=Te,Ae>0&&r.lineTo(_+Te,w+mathMin$8(Ae,Ce)),Ae-=Ce,Ae>0&&r.lineTo(_+mathMax$8(Te-Ae,0),w+Ce),Ae-=Te,Ae>0&&r.lineTo(_,w+mathMax$8(Ce-Ae,0));break e}I+=Z}r.rect(_,w,Te,Ce);break;case CMD$4.Z:if(S){var Z=C[E++];if(I+Z>F){var H=(F-I)/Z;r.lineTo(A*(1-H)+v*H,b*(1-H)+y*H);break e}I+=Z}r.closePath(),A=v,b=y}}},t.prototype.clone=function(){var r=new t,o=this.data;return r.data=o.slice?o.slice():Array.prototype.slice.call(o),r._len=this._len,r},t.CMD=CMD$4,t.initDefaultProps=function(){var r=t.prototype;r._saveData=!0,r._ux=0,r._uy=0,r._pendingPtDist=0,r._version=0}(),t}(),PathProxy$1=PathProxy;function containStroke$4(t,r,o,a,u,d,g){if(u===0)return!1;var v=u,y=0,A=t;if(g>r+v&&g>a+v||gt+v&&d>o+v||dr+_&&b>a+_&&b>d+_&&b>v+_||bt+_&&A>o+_&&A>u+_&&A>g+_||Ar+A&&y>a+A&&y>d+A||yt+A&&v>o+A&&v>u+A||vo||b+Au&&(u+=PI2$5);var w=Math.atan2(y,v);return w<0&&(w+=PI2$5),w>=a&&w<=u||w+PI2$5>=a&&w+PI2$5<=u}function windingLine(t,r,o,a,u,d){if(d>r&&d>a||du?v:0}var CMD$3=PathProxy$1.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(t,r){return Math.abs(t-r)r&&A>a&&A>d&&A>v||A1&&swapExtrema(),S=cubicAt(r,a,d,v,extrema[0]),w>1&&(C=cubicAt(r,a,d,v,extrema[1]))),w===2?Ir&&v>a&&v>d||v=0&&A<=1){for(var b=0,_=quadraticAt$1(r,a,d,A),w=0;wo||v<-o)return 0;var y=Math.sqrt(o*o-v*v);roots[0]=-y,roots[1]=y;var A=Math.abs(a-u);if(A<1e-4)return 0;if(A>=PI2$4-1e-4){a=0,u=PI2$4;var b=d?1:-1;return g>=roots[0]+t&&g<=roots[1]+t?b:0}if(a>u){var _=a;a=u,u=_}a<0&&(a+=PI2$4,u+=PI2$4);for(var w=0,S=0;S<2;S++){var C=roots[S];if(C+t>g){var T=Math.atan2(v,C),b=d?1:-1;T<0&&(T=PI2$4+T),(T>=a&&T<=u||T+PI2$4>=a&&T+PI2$4<=u)&&(T>Math.PI/2&&T1&&(o||(v+=windingLine(y,A,b,_,a,u))),I&&(y=d[C],A=d[C+1],b=y,_=A),T){case CMD$3.M:b=d[C++],_=d[C++],y=b,A=_;break;case CMD$3.L:if(o){if(containStroke$4(y,A,d[C],d[C+1],r,a,u))return!0}else v+=windingLine(y,A,d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.C:if(o){if(containStroke$3(y,A,d[C++],d[C++],d[C++],d[C++],d[C],d[C+1],r,a,u))return!0}else v+=windingCubic(y,A,d[C++],d[C++],d[C++],d[C++],d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.Q:if(o){if(containStroke$2(y,A,d[C++],d[C++],d[C],d[C+1],r,a,u))return!0}else v+=windingQuadratic(y,A,d[C++],d[C++],d[C],d[C+1],a,u)||0;y=d[C++],A=d[C++];break;case CMD$3.A:var E=d[C++],F=d[C++],O=d[C++],D=d[C++],x=d[C++],P=d[C++];C+=1;var G=!!(1-d[C++]);w=Math.cos(x)*O+E,S=Math.sin(x)*D+F,I?(b=w,_=S):v+=windingLine(y,A,w,S,a,u);var M=(a-E)*D/O+E;if(o){if(containStroke$1(E,F,D,x,x+P,G,r,M,u))return!0}else v+=windingArc(E,F,D,x,x+P,G,M,u);y=Math.cos(x+P)*O+E,A=Math.sin(x+P)*D+F;break;case CMD$3.R:b=y=d[C++],_=A=d[C++];var N=d[C++],V=d[C++];if(w=b+N,S=_+V,o){if(containStroke$4(b,_,w,_,r,a,u)||containStroke$4(w,_,w,S,r,a,u)||containStroke$4(w,S,b,S,r,a,u)||containStroke$4(b,S,b,_,r,a,u))return!0}else v+=windingLine(w,_,w,S,a,u),v+=windingLine(b,S,b,_,a,u);break;case CMD$3.Z:if(o){if(containStroke$4(y,A,b,_,r,a,u))return!0}else v+=windingLine(y,A,b,_,a,u);y=b,A=_;break}}return!o&&!isAroundEqual$1(A,_)&&(v+=windingLine(y,A,b,_,a,u)||0),v!==0}function contain$2(t,r,o){return containPath(t,0,!1,r,o)}function containStroke(t,r,o,a){return containPath(t,r,!0,o,a)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.update=function(){var o=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var u=this._decalEl=this._decalEl||new r;u.buildPath===r.prototype.buildPath&&(u.buildPath=function(y){o.buildPath(y,o.shape)}),u.silent=!0;var d=u.style;for(var g in a)d[g]!==a[g]&&(d[g]=a[g]);d.fill=a.fill?a.decal:null,d.decal=null,d.shadowColor=null,a.strokeFirst&&(d.stroke=null);for(var v=0;v.5?DARK_LABEL_COLOR:a>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(o)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function(o){var a=this.style.fill;if(isString$1(a)){var u=this.__zr,d=!!(u&&u.isDarkMode()),g=lum(o,0)0))},r.prototype.hasFill=function(){var o=this.style,a=o.fill;return a!=null&&a!=="none"},r.prototype.getBoundingRect=function(){var o=this._rect,a=this.style,u=!o;if(u){var d=!1;this.path||(d=!0,this.createPathProxy());var g=this.path;(d||this.__dirty&SHAPE_CHANGED_BIT)&&(g.beginPath(),this.buildPath(g,this.shape,!1),this.pathUpdated()),o=g.getBoundingRect()}if(this._rect=o,this.hasStroke()&&this.path&&this.path.len()>0){var v=this._rectStroke||(this._rectStroke=o.clone());if(this.__dirty||u){v.copy(o);var y=a.strokeNoScale?this.getLineScale():1,A=a.lineWidth;if(!this.hasFill()){var b=this.strokeContainThreshold;A=Math.max(A,b==null?4:b)}y>1e-10&&(v.width+=A/y,v.height+=A/y,v.x-=A/y/2,v.y-=A/y/2)}return v}return o},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect(),g=this.style;if(o=u[0],a=u[1],d.contain(o,a)){var v=this.path;if(this.hasStroke()){var y=g.lineWidth,A=g.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(this.hasFill()||(y=Math.max(y,this.strokeContainThreshold)),containStroke(v,y/A,o,a)))return!0}if(this.hasFill())return contain$2(v,o,a)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(o){return this.animate("shape",o)},r.prototype.updateDuringAnimation=function(o){o==="style"?this.dirtyStyle():o==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(o,a){o==="shape"?this.setShape(a):t.prototype.attrKV.call(this,o,a)},r.prototype.setShape=function(o,a){var u=this.shape;return u||(u=this.shape={}),typeof o=="string"?u[o]=a:extend(u,o),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},r.prototype.createStyle=function(o){return createObject(DEFAULT_PATH_STYLE,o)},r.prototype._innerSaveToNormal=function(o){t.prototype._innerSaveToNormal.call(this,o);var a=this._normalState;o.shape&&!a.shape&&(a.shape=extend({},this.shape))},r.prototype._applyStateObj=function(o,a,u,d,g,v){t.prototype._applyStateObj.call(this,o,a,u,d,g,v);var y=!(a&&d),A;if(a&&a.shape?g?d?A=a.shape:(A=extend({},u.shape),extend(A,a.shape)):(A=extend({},d?this.shape:u.shape),extend(A,a.shape)):y&&(A=u.shape),A)if(g){this.shape=extend({},this.shape);for(var b={},_=keys(A),w=0;w<_.length;w++){var S=_[w];typeof A[S]=="object"?this.shape[S]=A[S]:b[S]=A[S]}this._transitionState(o,{shape:b},v)}else this.shape=A,this.dirtyShape()},r.prototype._mergeStates=function(o){for(var a=t.prototype._mergeStates.call(this,o),u,d=0;d0},r.prototype.hasFill=function(){var o=this.style,a=o.fill;return a!=null&&a!=="none"},r.prototype.createStyle=function(o){return createObject(DEFAULT_TSPAN_STYLE,o)},r.prototype.setBoundingRect=function(o){this._rect=o},r.prototype.getBoundingRect=function(){var o=this.style;if(!this._rect){var a=o.text;a!=null?a+="":a="";var u=getBoundingRect(a,o.font,o.textAlign,o.textBaseline);if(u.x+=o.x||0,u.y+=o.y||0,this.hasStroke()){var d=o.lineWidth;u.x-=d/2,u.y-=d/2,u.width+=d,u.height+=d}this._rect=u}return this._rect},r.initDefaultProps=function(){var o=r.prototype;o.dirtyRectTolerance=10}(),r}(Displayable$1);TSpan.prototype.type="tspan";var TSpan$1=TSpan,DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var ZRImage=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.createStyle=function(o){return createObject(DEFAULT_IMAGE_STYLE,o)},r.prototype._getSize=function(o){var a=this.style,u=a[o];if(u!=null)return u;var d=isImageLike$1(a.image)?a.image:this.__image;if(!d)return 0;var g=o==="width"?"height":"width",v=a[g];return v==null?d[o]:d[o]/d[g]*v},r.prototype.getWidth=function(){return this._getSize("width")},r.prototype.getHeight=function(){return this._getSize("height")},r.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},r.prototype.getBoundingRect=function(){var o=this.style;return this._rect||(this._rect=new BoundingRect$1(o.x||0,o.y||0,this.getWidth(),this.getHeight())),this._rect},r}(Displayable$1);ZRImage.prototype.type="image";var ZRImage$1=ZRImage;function buildPath$2(t,r){var o=r.x,a=r.y,u=r.width,d=r.height,g=r.r,v,y,A,b;u<0&&(o=o+u,u=-u),d<0&&(a=a+d,d=-d),typeof g=="number"?v=y=A=b=g:g instanceof Array?g.length===1?v=y=A=b=g[0]:g.length===2?(v=A=g[0],y=b=g[1]):g.length===3?(v=g[0],y=b=g[1],A=g[2]):(v=g[0],y=g[1],A=g[2],b=g[3]):v=y=A=b=0;var _;v+y>u&&(_=v+y,v*=u/_,y*=u/_),A+b>u&&(_=A+b,A*=u/_,b*=u/_),y+A>d&&(_=y+A,y*=d/_,A*=d/_),v+b>d&&(_=v+b,v*=d/_,b*=d/_),t.moveTo(o+v,a),t.lineTo(o+u-y,a),y!==0&&t.arc(o+u-y,a+y,y,-Math.PI/2,0),t.lineTo(o+u,a+d-A),A!==0&&t.arc(o+u-A,a+d-A,A,0,Math.PI/2),t.lineTo(o+b,a+d),b!==0&&t.arc(o+b,a+d-b,b,Math.PI/2,Math.PI),t.lineTo(o,a+v),v!==0&&t.arc(o+v,a+v,v,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(t,r,o){if(!!r){var a=r.x1,u=r.x2,d=r.y1,g=r.y2;t.x1=a,t.x2=u,t.y1=d,t.y2=g;var v=o&&o.lineWidth;return v&&(round$2(a*2)===round$2(u*2)&&(t.x1=t.x2=subPixelOptimize$1(a,v,!0)),round$2(d*2)===round$2(g*2)&&(t.y1=t.y2=subPixelOptimize$1(d,v,!0))),t}}function subPixelOptimizeRect$1(t,r,o){if(!!r){var a=r.x,u=r.y,d=r.width,g=r.height;t.x=a,t.y=u,t.width=d,t.height=g;var v=o&&o.lineWidth;return v&&(t.x=subPixelOptimize$1(a,v,!0),t.y=subPixelOptimize$1(u,v,!0),t.width=Math.max(subPixelOptimize$1(a+d,v,!1)-t.x,d===0?0:1),t.height=Math.max(subPixelOptimize$1(u+g,v,!1)-t.y,g===0?0:1)),t}}function subPixelOptimize$1(t,r,o){if(!r)return t;var a=round$2(t*2);return(a+round$2(r))%2===0?a/2:(a+(o?1:-1))/2}var RectShape=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),subPixelOptimizeOutputShape$1={},Rect$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new RectShape},r.prototype.buildPath=function(o,a){var u,d,g,v;if(this.subPixelOptimize){var y=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,a,this.style);u=y.x,d=y.y,g=y.width,v=y.height,y.r=a.r,a=y}else u=a.x,d=a.y,g=a.width,v=a.height;a.r?buildPath$2(o,a):o.rect(u,d,g,v)},r.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},r}(Path$1);Rect$2.prototype.type="rect";var Rect$3=Rect$2,DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(t){__extends(r,t);function r(o){var a=t.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=DEFAULT_RICH_TEXT_COLOR,a.attr(o),a}return r.prototype.childrenRef=function(){return this._children},r.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var o=0;o0,H=o.width!=null&&(o.overflow==="truncate"||o.overflow==="break"||o.overflow==="breakAll"),B=g.calculatedLineHeight,z=0;z=0&&(z=P[B],z.align==="right");)this._placeToken(z,o,M,E,H,"right",O),N-=z.width,H-=z.width,B--;for(Z+=(d-(Z-I)-(F-H)-N)/2;V<=B;)z=P[V],this._placeToken(z,o,M,E,Z+z.width/2,"center",O),Z+=z.width,V++;E+=M}},r.prototype._placeToken=function(o,a,u,d,g,v,y){var A=a.rich[o.styleName]||{};A.text=o.text;var b=o.verticalAlign,_=d+u/2;b==="top"?_=d+o.height/2:b==="bottom"&&(_=d+u-o.height/2);var w=!o.isLineHolder&&needDrawBackground(A);w&&this._renderBackground(A,a,v==="right"?g-o.width:v==="center"?g-o.width/2:g,_-o.height/2,o.width,o.height);var S=!!A.backgroundColor,C=o.textPadding;C&&(g=getTextXForPadding(g,v,C),_-=o.height/2-C[0]-o.innerHeight/2);var T=this._getOrCreateChild(TSpan$1),I=T.createStyle();T.useStyle(I);var E=this._defaultStyle,F=!1,O=0,D=getFill("fill"in A?A.fill:"fill"in a?a.fill:(F=!0,E.fill)),x=getStroke("stroke"in A?A.stroke:"stroke"in a?a.stroke:!S&&!y&&(!E.autoStroke||F)?(O=DEFAULT_STROKE_LINE_WIDTH,E.stroke):null),P=A.textShadowBlur>0||a.textShadowBlur>0;I.text=o.text,I.x=g,I.y=_,P&&(I.shadowBlur=A.textShadowBlur||a.textShadowBlur||0,I.shadowColor=A.textShadowColor||a.textShadowColor||"transparent",I.shadowOffsetX=A.textShadowOffsetX||a.textShadowOffsetX||0,I.shadowOffsetY=A.textShadowOffsetY||a.textShadowOffsetY||0),I.textAlign=v,I.textBaseline="middle",I.font=o.font||DEFAULT_FONT,I.opacity=retrieve3(A.opacity,a.opacity,1),setSeparateFont(I,A),x&&(I.lineWidth=retrieve3(A.lineWidth,a.lineWidth,O),I.lineDash=retrieve2(A.lineDash,a.lineDash),I.lineDashOffset=a.lineDashOffset||0,I.stroke=x),D&&(I.fill=D);var G=o.contentWidth,M=o.contentHeight;T.setBoundingRect(new BoundingRect$1(adjustTextX(I.x,G,I.textAlign),adjustTextY(I.y,M,I.textBaseline),G,M))},r.prototype._renderBackground=function(o,a,u,d,g,v){var y=o.backgroundColor,A=o.borderWidth,b=o.borderColor,_=y&&y.image,w=y&&!_,S=o.borderRadius,C=this,T,I;if(w||o.lineHeight||A&&b){T=this._getOrCreateChild(Rect$3),T.useStyle(T.createStyle()),T.style.fill=null;var E=T.shape;E.x=u,E.y=d,E.width=g,E.height=v,E.r=S,T.dirtyShape()}if(w){var F=T.style;F.fill=y||null,F.fillOpacity=retrieve2(o.fillOpacity,1)}else if(_){I=this._getOrCreateChild(ZRImage$1),I.onload=function(){C.dirtyStyle()};var O=I.style;O.image=y.image,O.x=u,O.y=d,O.width=g,O.height=v}if(A&&b){var F=T.style;F.lineWidth=A,F.stroke=b,F.strokeOpacity=retrieve2(o.strokeOpacity,1),F.lineDash=o.borderDash,F.lineDashOffset=o.borderDashOffset||0,T.strokeContainThreshold=0,T.hasFill()&&T.hasStroke()&&(F.strokeFirst=!0,F.lineWidth*=2)}var D=(T||I).style;D.shadowBlur=o.shadowBlur||0,D.shadowColor=o.shadowColor||"transparent",D.shadowOffsetX=o.shadowOffsetX||0,D.shadowOffsetY=o.shadowOffsetY||0,D.opacity=retrieve3(o.opacity,a.opacity,1)},r.makeFont=function(o){var a="";return hasSeparateFont(o)&&(a=[o.fontStyle,o.fontWeight,parseFontSize(o.fontSize),o.fontFamily||"sans-serif"].join(" ")),a&&trim$1(a)||o.textFont||o.font},r}(Displayable$1),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?DEFAULT_FONT_SIZE+"px":t+"px"}function setSeparateFont(t,r){for(var o=0;o=0,d=!1;if(t instanceof Path$1){var g=getSavedStates(t),v=u&&g.selectFill||g.normalFill,y=u&&g.selectStroke||g.normalStroke;if(hasFillOrStroke(v)||hasFillOrStroke(y)){a=a||{};var A=a.style||{};A.fill==="inherit"?(d=!0,a=extend({},a),A=extend({},A),A.fill=v):!hasFillOrStroke(A.fill)&&hasFillOrStroke(v)?(d=!0,a=extend({},a),A=extend({},A),A.fill=liftColor(v)):!hasFillOrStroke(A.stroke)&&hasFillOrStroke(y)&&(d||(a=extend({},a),A=extend({},A)),A.stroke=liftColor(y)),a.style=A}}if(a&&a.z2==null){d||(a=extend({},a));var b=t.z2EmphasisLift;a.z2=t.z2+(b!=null?b:Z2_EMPHASIS_LIFT)}return a}function createSelectDefaultState(t,r,o){if(o&&o.z2==null){o=extend({},o);var a=t.z2SelectLift;o.z2=t.z2+(a!=null?a:Z2_SELECT_LIFT)}return o}function createBlurDefaultState(t,r,o){var a=indexOf$1(t.currentStates,r)>=0,u=t.style.opacity,d=a?null:getFromStateStyle(t,["opacity"],r,{opacity:1});o=o||{};var g=o.style||{};return g.opacity==null&&(o=extend({},o),g=extend({opacity:a?u:d.opacity*.1},g),o.style=g),o}function elementStateProxy(t,r){var o=this.states[t];if(this.style){if(t==="emphasis")return createEmphasisDefaultState(this,t,r,o);if(t==="blur")return createBlurDefaultState(this,t,o);if(t==="select")return createSelectDefaultState(this,t,o)}return o}function setDefaultStateProxy(t){t.stateProxy=elementStateProxy;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateProxy=elementStateProxy),o&&(o.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleLeaveEmphasis)}function enterEmphasis(t,r){t.__highByOuter|=1<<(r||0),traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasis(t,r){!(t.__highByOuter&=~(1<<(r||0)))&&traverseUpdateState(t,singleLeaveEmphasis)}function enterBlur(t){traverseUpdateState(t,singleEnterBlur)}function leaveBlur(t){traverseUpdateState(t,singleLeaveBlur)}function enterSelect(t){traverseUpdateState(t,singleEnterSelect)}function leaveSelect(t){traverseUpdateState(t,singleLeaveSelect)}function shouldSilent(t,r){return t.__highDownSilentOnTouch&&r.zrByTouch}function allLeaveBlur(t){var r=t.getModel(),o=[],a=[];r.eachComponent(function(u,d){var g=getComponentStates(d),v=u==="series",y=v?t.getViewOfSeriesModel(d):t.getViewOfComponentModel(d);!v&&a.push(y),g.isBlured&&(y.group.traverse(function(A){singleLeaveBlur(A)}),v&&o.push(d)),g.isBlured=!1}),each$f(a,function(u){u&&u.toggleBlurSeries&&u.toggleBlurSeries(o,!1,r)})}function blurSeries(t,r,o,a){var u=a.getModel();o=o||"coordinateSystem";function d(A,b){for(var _=0;_0){var v={dataIndex:g,seriesIndex:o.seriesIndex};d!=null&&(v.dataType=d),r.push(v)}})}),r}function enableHoverEmphasis(t,r,o){setAsHighDownDispatcher(t,!0),traverseUpdateState(t,setDefaultStateProxy),enableHoverFocus(t,r,o)}function disableHoverEmphasis(t){setAsHighDownDispatcher(t,!1)}function toggleHoverEmphasis(t,r,o,a){a?disableHoverEmphasis(t):enableHoverEmphasis(t,r,o)}function enableHoverFocus(t,r,o){var a=getECData(t);r!=null?(a.focus=r,a.blurScope=o):a.focus&&(a.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(t,r,o,a){o=o||"itemStyle";for(var u=0;u1&&(g*=mathSqrt$1(C),v*=mathSqrt$1(C));var T=(u===d?-1:1)*mathSqrt$1((g*g*(v*v)-g*g*(S*S)-v*v*(w*w))/(g*g*(S*S)+v*v*(w*w)))||0,I=T*g*S/v,E=T*-v*w/g,F=(t+o)/2+mathCos$2(_)*I-mathSin$2(_)*E,O=(r+a)/2+mathSin$2(_)*I+mathCos$2(_)*E,D=vAngle([1,0],[(w-I)/g,(S-E)/v]),x=[(w-I)/g,(S-E)/v],P=[(-1*w-I)/g,(-1*S-E)/v],G=vAngle(x,P);if(vRatio(x,P)<=-1&&(G=PI$7),vRatio(x,P)>=1&&(G=0),G<0){var M=Math.round(G/PI$7*1e6)/1e6;G=PI$7*2+M%2*PI$7}b.addData(A,F,O,g,v,D,G,_,d)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(t){var r=new PathProxy$1;if(!t)return r;var o=0,a=0,u=o,d=a,g,v=PathProxy$1.CMD,y=t.match(commandReg);if(!y)return r;for(var A=0;Az*z+U*U&&(M=V,N=Z),{cx:M,cy:N,x0:-b,y0:-_,x1:M*(u/x-1),y1:N*(u/x-1)}}function normalizeCornerRadius(t){var r;if(isArray$1(t)){var o=t.length;if(!o)return t;o===1?r=[t[0],t[0],0,0]:o===2?r=[t[0],t[0],t[1],t[1]]:o===3?r=t.concat(t[2]):r=t}else r=[t,t,t,t];return r}function buildPath$1(t,r){var o,a=mathMax$7(r.r,0),u=mathMax$7(r.r0||0,0),d=a>0,g=u>0;if(!(!d&&!g)){if(d||(a=u,u=0),u>a){var v=a;a=u,u=v}var y=r.startAngle,A=r.endAngle;if(!(isNaN(y)||isNaN(A))){var b=r.cx,_=r.cy,w=!!r.clockwise,S=mathAbs$1(A-y),C=S>PI2$3&&S%PI2$3;if(C>e&&(S=C),!(a>e))t.moveTo(b,_);else if(S>PI2$3-e)t.moveTo(b+a*mathCos$1(y),_+a*mathSin$1(y)),t.arc(b,_,a,y,A,!w),u>e&&(t.moveTo(b+u*mathCos$1(A),_+u*mathSin$1(A)),t.arc(b,_,u,A,y,w));else{var T=void 0,I=void 0,E=void 0,F=void 0,O=void 0,D=void 0,x=void 0,P=void 0,G=void 0,M=void 0,N=void 0,V=void 0,Z=void 0,H=void 0,B=void 0,z=void 0,U=a*mathCos$1(y),Q=a*mathSin$1(y),X=u*mathCos$1(A),J=u*mathSin$1(A),ne=S>e;if(ne){var te=r.cornerRadius;te&&(o=normalizeCornerRadius(te),T=o[0],I=o[1],E=o[2],F=o[3]);var ce=mathAbs$1(a-u)/2;if(O=mathMin$7(ce,E),D=mathMin$7(ce,F),x=mathMin$7(ce,T),P=mathMin$7(ce,I),N=G=mathMax$7(O,D),V=M=mathMax$7(x,P),(G>e||M>e)&&(Z=a*mathCos$1(A),H=a*mathSin$1(A),B=u*mathCos$1(y),z=u*mathSin$1(y),Se){var ve=mathMin$7(E,N),we=mathMin$7(F,N),_e=computeCornerTangents(B,z,U,Q,a,ve,w),Te=computeCornerTangents(Z,H,X,J,a,we,w);t.moveTo(b+_e.cx+_e.x0,_+_e.cy+_e.y0),N0&&t.arc(b+_e.cx,_+_e.cy,ve,mathATan2(_e.y0,_e.x0),mathATan2(_e.y1,_e.x1),!w),t.arc(b,_,a,mathATan2(_e.cy+_e.y1,_e.cx+_e.x1),mathATan2(Te.cy+Te.y1,Te.cx+Te.x1),!w),we>0&&t.arc(b+Te.cx,_+Te.cy,we,mathATan2(Te.y1,Te.x1),mathATan2(Te.y0,Te.x0),!w))}else t.moveTo(b+U,_+Q),t.arc(b,_,a,y,A,!w);if(!(u>e)||!ne)t.lineTo(b+X,_+J);else if(V>e){var ve=mathMin$7(T,V),we=mathMin$7(I,V),_e=computeCornerTangents(X,J,Z,H,u,-we,w),Te=computeCornerTangents(U,Q,B,z,u,-ve,w);t.lineTo(b+_e.cx+_e.x0,_+_e.cy+_e.y0),V0&&t.arc(b+_e.cx,_+_e.cy,we,mathATan2(_e.y0,_e.x0),mathATan2(_e.y1,_e.x1),!w),t.arc(b,_,u,mathATan2(_e.cy+_e.y1,_e.cx+_e.x1),mathATan2(Te.cy+Te.y1,Te.cx+Te.x1),w),ve>0&&t.arc(b+Te.cx,_+Te.cy,ve,mathATan2(Te.y1,Te.x1),mathATan2(Te.y0,Te.x0),!w))}else t.lineTo(b+X,_+J),t.arc(b,_,u,A,y,w)}t.closePath()}}}var SectorShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),Sector=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new SectorShape},r.prototype.buildPath=function(o,a){buildPath$1(o,a)},r.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},r}(Path$1);Sector.prototype.type="sector";var Sector$1=Sector,RingShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),Ring=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new RingShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.PI*2;o.moveTo(u+a.r,d),o.arc(u,d,a.r,0,g,!1),o.moveTo(u+a.r0,d),o.arc(u,d,a.r0,0,g,!0)},r}(Path$1);Ring.prototype.type="ring";var Ring$1=Ring;function smoothBezier(t,r,o,a){var u=[],d=[],g=[],v=[],y,A,b,_;if(a){b=[1/0,1/0],_=[-1/0,-1/0];for(var w=0,S=t.length;w=2){if(a){var d=smoothBezier(u,a,o,r.smoothConstraint);t.moveTo(u[0][0],u[0][1]);for(var g=u.length,v=0;v<(o?g:g-1);v++){var y=d[v*2],A=d[v*2+1],b=u[(v+1)%g];t.bezierCurveTo(y[0],y[1],A[0],A[1],b[0],b[1])}}else{t.moveTo(u[0][0],u[0][1]);for(var v=1,_=u.length;v<_;v++)t.lineTo(u[v][0],u[v][1])}o&&t.closePath()}}var PolygonShape=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Polygon=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new PolygonShape},r.prototype.buildPath=function(o,a){buildPath(o,a,!0)},r}(Path$1);Polygon.prototype.type="polygon";var Polygon$1=Polygon,PolylineShape=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Polyline$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new PolylineShape},r.prototype.buildPath=function(o,a){buildPath(o,a,!1)},r}(Path$1);Polyline$2.prototype.type="polyline";var Polyline$3=Polyline$2,subPixelOptimizeOutputShape={},LineShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Line$2=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LineShape},r.prototype.buildPath=function(o,a){var u,d,g,v;if(this.subPixelOptimize){var y=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,a,this.style);u=y.x1,d=y.y1,g=y.x2,v=y.y2}else u=a.x1,d=a.y1,g=a.x2,v=a.y2;var A=a.percent;A!==0&&(o.moveTo(u,d),A<1&&(g=u*(1-A)+g*A,v=d*(1-A)+v*A),o.lineTo(g,v))},r.prototype.pointAt=function(o){var a=this.shape;return[a.x1*(1-o)+a.x2*o,a.y1*(1-o)+a.y2*o]},r}(Path$1);Line$2.prototype.type="line";var Line$3=Line$2,out=[],BezierCurveShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function someVectorAt(t,r,o){var a=t.cpx2,u=t.cpy2;return a!=null||u!=null?[(o?cubicDerivativeAt:cubicAt)(t.x1,t.cpx1,t.cpx2,t.x2,r),(o?cubicDerivativeAt:cubicAt)(t.y1,t.cpy1,t.cpy2,t.y2,r)]:[(o?quadraticDerivativeAt:quadraticAt$1)(t.x1,t.cpx1,t.x2,r),(o?quadraticDerivativeAt:quadraticAt$1)(t.y1,t.cpy1,t.y2,r)]}var BezierCurve=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new BezierCurveShape},r.prototype.buildPath=function(o,a){var u=a.x1,d=a.y1,g=a.x2,v=a.y2,y=a.cpx1,A=a.cpy1,b=a.cpx2,_=a.cpy2,w=a.percent;w!==0&&(o.moveTo(u,d),b==null||_==null?(w<1&&(quadraticSubdivide(u,y,g,w,out),y=out[1],g=out[2],quadraticSubdivide(d,A,v,w,out),A=out[1],v=out[2]),o.quadraticCurveTo(y,A,g,v)):(w<1&&(cubicSubdivide(u,y,b,g,w,out),y=out[1],b=out[2],g=out[3],cubicSubdivide(d,A,_,v,w,out),A=out[1],_=out[2],v=out[3]),o.bezierCurveTo(y,A,b,_,g,v)))},r.prototype.pointAt=function(o){return someVectorAt(this.shape,o,!1)},r.prototype.tangentAt=function(o){var a=someVectorAt(this.shape,o,!0);return normalize$3(a,a)},r}(Path$1);BezierCurve.prototype.type="bezier-curve";var BezierCurve$1=BezierCurve,ArcShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),Arc=function(t){__extends(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ArcShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.max(a.r,0),v=a.startAngle,y=a.endAngle,A=a.clockwise,b=Math.cos(v),_=Math.sin(v);o.moveTo(b*g+u,_*g+d),o.arc(u,d,g,v,y,!A)},r}(Path$1);Arc.prototype.type="arc";var Arc$1=Arc,CompoundPath=function(t){__extends(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="compound",o}return r.prototype._updatePathDirty=function(){for(var o=this.shape.paths,a=this.shapeChanged(),u=0;uextent2[1]){if(v=!1,d)return v;var b=Math.abs(extent2[0]-extent[1]),_=Math.abs(extent[0]-extent2[1]);Math.min(b,_)>u.len()&&(b<_?Point$1.scale(u,A,-b*g):Point$1.scale(u,A,_*g))}else if(a){var b=Math.abs(extent2[0]-extent[1]),_=Math.abs(extent[0]-extent2[1]);Math.min(b,_)0){var _=b.duration,w=b.delay,S=b.easing,C={duration:_,delay:w||0,easing:S,done:d,force:!!d||!!g,setToFinal:!A,scope:t,during:g};v?r.animateFrom(o,C):r.animateTo(o,C)}else r.stopAnimation(),!v&&r.attr(o),g&&g(1),d&&d()}function updateProps$1(t,r,o,a,u,d){animateOrSetProps("update",t,r,o,a,u,d)}function initProps(t,r,o,a,u,d){animateOrSetProps("enter",t,r,o,a,u,d)}function isElementRemoved(t){if(!t.__zr)return!0;for(var r=0;rMath.abs(d[1])?d[0]>0?"right":"left":d[1]>0?"bottom":"top"}function isNotGroup(t){return!t.isGroup}function isPath$1(t){return t.shape!=null}function groupTransition(t,r,o){if(!t||!r)return;function a(g){var v={};return g.traverse(function(y){isNotGroup(y)&&y.anid&&(v[y.anid]=y)}),v}function u(g){var v={x:g.x,y:g.y,rotation:g.rotation};return isPath$1(g)&&(v.shape=extend({},g.shape)),v}var d=a(t);r.traverse(function(g){if(isNotGroup(g)&&g.anid){var v=d[g.anid];if(v){var y=u(g);g.attr(u(v)),updateProps$1(g,y,o,getECData(g).dataIndex)}}})}function clipPointsByRect(t,r){return map$1(t,function(o){var a=o[0];a=mathMax$6(a,r.x),a=mathMin$6(a,r.x+r.width);var u=o[1];return u=mathMax$6(u,r.y),u=mathMin$6(u,r.y+r.height),[a,u]})}function clipRectByRect(t,r){var o=mathMax$6(t.x,r.x),a=mathMin$6(t.x+t.width,r.x+r.width),u=mathMax$6(t.y,r.y),d=mathMin$6(t.y+t.height,r.y+r.height);if(a>=o&&d>=u)return{x:o,y:u,width:a-o,height:d-u}}function createIcon(t,r,o){var a=extend({rectHover:!0},r),u=a.style={strokeNoScale:!0};if(o=o||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(u.image=t.slice(8),defaults(u,o),new ZRImage$1(a)):makePath(t.replace("path://",""),a,o,"center")}function linePolygonIntersect(t,r,o,a,u){for(var d=0,g=u[u.length-1];d1)return!1;var I=crossProduct2d$1(S,C,b,_)/w;return!(I<0||I>1)}function crossProduct2d$1(t,r,o,a){return t*a-o*r}function nearZero(t){return t<=1e-6&&t>=-1e-6}function setTooltipConfig(t){var r=t.itemTooltipOption,o=t.componentModel,a=t.itemName,u=isString$1(r)?{formatter:r}:r,d=o.mainType,g=o.componentIndex,v={componentType:d,name:a,$vars:["name"]};v[d+"Index"]=g;var y=t.formatterParamsExtra;y&&each$f(keys(y),function(b){hasOwn(v,b)||(v[b]=y[b],v.$vars.push(b))});var A=getECData(t.el);A.componentMainType=d,A.componentIndex=g,A.tooltipConfig={name:a,option:defaults({content:a,encodeHTMLContent:!0,formatterParams:v},u)}}function traverseElement(t,r){var o;t.isGroup&&(o=r(t)),o||t.traverse(r)}function traverseElements(t,r){if(t)if(isArray$1(t))for(var o=0;o=0&&v.push(y)}),v}}function inheritDefaultOption(t,r){return merge(merge({},t,!0),r,!0)}var langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE",custom:"\u81EA\u5B9A\u4E49\u56FE\u8868",chart:"\u56FE\u8868"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env$1.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return t.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(t,r){t=t.toUpperCase(),localeModels[t]=new Model$1(r),localeStorage[t]=r}function createLocaleObject(t){if(isString$1(t)){var r=localeStorage[t.toUpperCase()]||{};return t===LOCALE_ZH||t===LOCALE_EN?clone$5(r):merge(clone$5(r),clone$5(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$5(t),clone$5(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(t){return localeModels[t]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(t,r){return t+="","0000".substr(0,r-t.length)+t}function getPrimaryTimeUnit(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function isPrimaryTimeUnit(t){return t===getPrimaryTimeUnit(t)}function getDefaultFormatPrecisionOfInterval(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format(t,r,o,a){var u=parseDate(t),d=u[fullYearGetterName(o)](),g=u[monthGetterName(o)]()+1,v=Math.floor((g-1)/3)+1,y=u[dateGetterName(o)](),A=u["get"+(o?"UTC":"")+"Day"](),b=u[hoursGetterName(o)](),_=(b-1)%12+1,w=u[minutesGetterName(o)](),S=u[secondsGetterName(o)](),C=u[millisecondsGetterName(o)](),T=b>=12?"pm":"am",I=T.toUpperCase(),E=a instanceof Model$1?a:getLocaleModel(a||SYSTEM_LANG)||getDefaultLocaleModel(),F=E.getModel("time"),O=F.get("month"),D=F.get("monthAbbr"),x=F.get("dayOfWeek"),P=F.get("dayOfWeekAbbr");return(r||"").replace(/{a}/g,T+"").replace(/{A}/g,I+"").replace(/{yyyy}/g,d+"").replace(/{yy}/g,pad(d%100+"",2)).replace(/{Q}/g,v+"").replace(/{MMMM}/g,O[g-1]).replace(/{MMM}/g,D[g-1]).replace(/{MM}/g,pad(g,2)).replace(/{M}/g,g+"").replace(/{dd}/g,pad(y,2)).replace(/{d}/g,y+"").replace(/{eeee}/g,x[A]).replace(/{ee}/g,P[A]).replace(/{e}/g,A+"").replace(/{HH}/g,pad(b,2)).replace(/{H}/g,b+"").replace(/{hh}/g,pad(_+"",2)).replace(/{h}/g,_+"").replace(/{mm}/g,pad(w,2)).replace(/{m}/g,w+"").replace(/{ss}/g,pad(S,2)).replace(/{s}/g,S+"").replace(/{SSS}/g,pad(C,3)).replace(/{S}/g,C+"")}function leveledFormat(t,r,o,a,u){var d=null;if(isString$1(o))d=o;else if(isFunction(o))d=o(t.value,r,{level:t.level});else{var g=extend({},defaultLeveledFormatter);if(t.level>0)for(var v=0;v=0;--v)if(y[A]){d=y[A];break}d=d||g.none}if(isArray$1(d)){var _=t.level==null?0:t.level>=0?t.level:d.length+t.level;_=Math.min(_,d.length-1),d=d[_]}}return format(new Date(t.value),d,u,a)}function getUnitFromValue(t,r){var o=parseDate(t),a=o[monthGetterName(r)]()+1,u=o[dateGetterName(r)](),d=o[hoursGetterName(r)](),g=o[minutesGetterName(r)](),v=o[secondsGetterName(r)](),y=o[millisecondsGetterName(r)](),A=y===0,b=A&&v===0,_=b&&g===0,w=_&&d===0,S=w&&u===1,C=S&&a===1;return C?"year":S?"month":w?"day":_?"hour":b?"minute":A?"second":"millisecond"}function getUnitValue(t,r,o){var a=isNumber$1(t)?parseDate(t):t;switch(r=r||getUnitFromValue(t,o),r){case"year":return a[fullYearGetterName(o)]();case"half-year":return a[monthGetterName(o)]()>=6?1:0;case"quarter":return Math.floor((a[monthGetterName(o)]()+1)/4);case"month":return a[monthGetterName(o)]();case"day":return a[dateGetterName(o)]();case"half-day":return a[hoursGetterName(o)]()/24;case"hour":return a[hoursGetterName(o)]();case"minute":return a[minutesGetterName(o)]();case"second":return a[secondsGetterName(o)]();case"millisecond":return a[millisecondsGetterName(o)]()}}function fullYearGetterName(t){return t?"getUTCFullYear":"getFullYear"}function monthGetterName(t){return t?"getUTCMonth":"getMonth"}function dateGetterName(t){return t?"getUTCDate":"getDate"}function hoursGetterName(t){return t?"getUTCHours":"getHours"}function minutesGetterName(t){return t?"getUTCMinutes":"getMinutes"}function secondsGetterName(t){return t?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(t){return t?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(t){return t?"setUTCFullYear":"setFullYear"}function monthSetterName(t){return t?"setUTCMonth":"setMonth"}function dateSetterName(t){return t?"setUTCDate":"setDate"}function hoursSetterName(t){return t?"setUTCHours":"setHours"}function minutesSetterName(t){return t?"setUTCMinutes":"setMinutes"}function secondsSetterName(t){return t?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(t){return t?"setUTCMilliseconds":"setMilliseconds"}function addCommas(t){if(!isNumeric(t))return isString$1(t)?t:"-";var r=(t+"").split(".");return r[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(r.length>1?"."+r[1]:"")}function toCamelCase(t,r){return t=(t||"").toLowerCase().replace(/-(.)/g,function(o,a){return a.toUpperCase()}),r&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(t,r,o){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function u(b){return b&&trim$1(b)?b:"-"}function d(b){return!!(b!=null&&!isNaN(b)&&isFinite(b))}var g=r==="time",v=t instanceof Date;if(g||v){var y=g?parseDate(t):t;if(isNaN(+y)){if(v)return"-"}else return format(y,a,o)}if(r==="ordinal")return isStringSafe(t)?u(t):isNumber$1(t)&&d(t)?t+"":"-";var A=numericToNumber(t);return d(A)?addCommas(A):isStringSafe(t)?u(t):typeof t=="boolean"?t+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(t,r){return"{"+t+(r==null?"":r)+"}"};function formatTpl(t,r,o){isArray$1(r)||(r=[r]);var a=r.length;if(!a)return"";for(var u=r[0].$vars||[],d=0;d':'';var g=o.markerId||"markerX";return{renderMode:d,content:"{"+g+"|} ",style:u==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function convertToColorString(t,r){return r=r||"transparent",isString$1(t)?t:isObject$3(t)&&t.colorStops&&(t.colorStops[0]||{}).color||r}function windowOpen(t,r){if(r==="_blank"||r==="blank"){var o=window.open();o.opener=null,o.location.href=t}else window.open(t,r)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(t,r,o,a,u){var d=0,g=0;a==null&&(a=1/0),u==null&&(u=1/0);var v=0;r.eachChild(function(y,A){var b=y.getBoundingRect(),_=r.childAt(A+1),w=_&&_.getBoundingRect(),S,C;if(t==="horizontal"){var T=b.width+(w?-w.x+b.x:0);S=d+T,S>a||y.newline?(d=0,S=T,g+=v+o,v=b.height):v=Math.max(v,b.height)}else{var I=b.height+(w?-w.y+b.y:0);C=g+I,C>u||y.newline?(d+=v+o,g=0,C=I,v=b.width):v=Math.max(v,b.width)}y.newline||(y.x=d,y.y=g,y.markRedraw(),t==="horizontal"?d=S+o:g=C+o)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(t,r,o){var a=r.width,u=r.height,d=parsePercent(t.left,a),g=parsePercent(t.top,u),v=parsePercent(t.right,a),y=parsePercent(t.bottom,u);return(isNaN(d)||isNaN(parseFloat(t.left)))&&(d=0),(isNaN(v)||isNaN(parseFloat(t.right)))&&(v=a),(isNaN(g)||isNaN(parseFloat(t.top)))&&(g=0),(isNaN(y)||isNaN(parseFloat(t.bottom)))&&(y=u),o=normalizeCssArray(o||0),{width:Math.max(v-d-o[1]-o[3],0),height:Math.max(y-g-o[0]-o[2],0)}}function getLayoutRect(t,r,o){o=normalizeCssArray(o||0);var a=r.width,u=r.height,d=parsePercent(t.left,a),g=parsePercent(t.top,u),v=parsePercent(t.right,a),y=parsePercent(t.bottom,u),A=parsePercent(t.width,a),b=parsePercent(t.height,u),_=o[2]+o[0],w=o[1]+o[3],S=t.aspect;switch(isNaN(A)&&(A=a-v-w-d),isNaN(b)&&(b=u-y-_-g),S!=null&&(isNaN(A)&&isNaN(b)&&(S>a/u?A=a*.8:b=u*.8),isNaN(A)&&(A=S*b),isNaN(b)&&(b=A/S)),isNaN(d)&&(d=a-v-A-w),isNaN(g)&&(g=u-y-b-_),t.left||t.right){case"center":d=a/2-A/2-o[3];break;case"right":d=a-A-w;break}switch(t.top||t.bottom){case"middle":case"center":g=u/2-b/2-o[0];break;case"bottom":g=u-b-_;break}d=d||0,g=g||0,isNaN(A)&&(A=a-w-d-(v||0)),isNaN(b)&&(b=u-_-g-(y||0));var C=new BoundingRect$1(d+o[3],g+o[0],A,b);return C.margin=o,C}function positionElement(t,r,o,a,u,d){var g=!u||!u.hv||u.hv[0],v=!u||!u.hv||u.hv[1],y=u&&u.boundingMode||"all";if(d=d||t,d.x=t.x,d.y=t.y,!g&&!v)return!1;var A;if(y==="raw")A=t.type==="group"?new BoundingRect$1(0,0,+r.width||0,+r.height||0):t.getBoundingRect();else if(A=t.getBoundingRect(),t.needLocalTransform()){var b=t.getLocalTransform();A=A.clone(),A.applyTransform(b)}var _=getLayoutRect(defaults({width:A.width,height:A.height},r),o,a),w=g?_.x-A.x:0,S=v?_.y-A.y:0;return y==="raw"?(d.x=w,d.y=S):(d.x+=w,d.y+=S),d===t&&t.markRedraw(),!0}function sizeCalculable(t,r){return t[HV_NAMES[r][0]]!=null||t[HV_NAMES[r][1]]!=null&&t[HV_NAMES[r][2]]!=null}function fetchLayoutMode(t){var r=t.layoutMode||t.constructor.layoutMode;return isObject$3(r)?r:r?{type:r}:null}function mergeLayoutParam(t,r,o){var a=o&&o.ignoreSize;!isArray$1(a)&&(a=[a,a]);var u=g(HV_NAMES[0],0),d=g(HV_NAMES[1],1);A(HV_NAMES[0],t,u),A(HV_NAMES[1],t,d);function g(b,_){var w={},S=0,C={},T=0,I=2;if(each$e(b,function(O){C[O]=t[O]}),each$e(b,function(O){v(r,O)&&(w[O]=C[O]=r[O]),y(w,O)&&S++,y(C,O)&&T++}),a[_])return y(r,b[1])?C[b[2]]=null:y(r,b[2])&&(C[b[1]]=null),C;if(T===I||!S)return C;if(S>=I)return w;for(var E=0;E=0;y--)v=merge(v,u[y],!0);a.defaultOption=v}return a.defaultOption},r.prototype.getReferringComponents=function(o,a){var u=o+"Index",d=o+"Id";return queryReferringComponents(this.ecModel,o,{index:this.get(u,!0),id:this.get(d,!0)},a)},r.prototype.getBoxLayoutParams=function(){var o=this;return{left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(o){this.option.zlevel=o},r.protoInitialize=function(){var o=r.prototype;o.type="component",o.id="",o.name="",o.mainType="",o.subType="",o.componentIndex=0}(),r}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(t){var r=[];return each$f(ComponentModel.getClassesByMainType(t),function(o){r=r.concat(o.dependencies||o.prototype.dependencies||[])}),r=map$1(r,function(o){return parseClassType(o).main}),t!=="dataset"&&indexOf$1(r,"dataset")<=0&&r.unshift("dataset"),r}var ComponentModel$1=ComponentModel,platform="";typeof navigator!="undefined"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)",globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(t){innerGlobalModel(t).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(t,r,o){var a={},u=querySeriesUpstreamDatasetModel(r);if(!u||!t)return a;var d=[],g=[],v=r.ecModel,y=innerGlobalModel(v).datasetMap,A=u.uid+"_"+o.seriesLayoutBy,b,_;t=t.slice(),each$f(t,function(T,I){var E=isObject$3(T)?T:t[I]={name:T};E.type==="ordinal"&&b==null&&(b=I,_=C(E)),a[E.name]=[]});var w=y.get(A)||y.set(A,{categoryWayDim:_,valueWayDim:0});each$f(t,function(T,I){var E=T.name,F=C(T);if(b==null){var O=w.valueWayDim;S(a[E],O,F),S(g,O,F),w.valueWayDim+=F}else if(b===I)S(a[E],0,F),S(d,0,F);else{var O=w.categoryWayDim;S(a[E],O,F),S(g,O,F),w.categoryWayDim+=F}});function S(T,I,E){for(var F=0;Fr)return t[a];return t[o-1]}function getFromPalette(t,r,o,a,u,d,g){d=d||t;var v=r(d),y=v.paletteIdx||0,A=v.paletteNameMap=v.paletteNameMap||{};if(A.hasOwnProperty(u))return A[u];var b=g==null||!a?o:getNearestPalette(a,g);if(b=b||o,!(!b||!b.length)){var _=b[y];return u&&(A[u]=_),v.paletteIdx=(y+1)%b.length,_}}function clearPalette(t,r){r(t).paletteIdx=0,r(t).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(o,a,u,d,g,v){d=d||{},this.option=null,this._theme=new Model$1(d),this._locale=new Model$1(g),this._optionManager=v},r.prototype.setOption=function(o,a,u){var d=normalizeSetOptionInput(a);this._optionManager.setOption(o,u,d),this._resetOption(null,d)},r.prototype.resetOption=function(o,a){return this._resetOption(o,normalizeSetOptionInput(a))},r.prototype._resetOption=function(o,a){var u=!1,d=this._optionManager;if(!o||o==="recreate"){var g=d.mountOption(o==="recreate");!this.option||o==="recreate"?initBase(this,g):(this.restoreData(),this._mergeOption(g,a)),u=!0}if((o==="timeline"||o==="media")&&this.restoreData(),!o||o==="recreate"||o==="timeline"){var v=d.getTimelineOption(this);v&&(u=!0,this._mergeOption(v,a))}if(!o||o==="recreate"||o==="media"){var y=d.getMediaOption(this);y.length&&each$f(y,function(A){u=!0,this._mergeOption(A,a)},this)}return u},r.prototype.mergeOption=function(o){this._mergeOption(o,null)},r.prototype._mergeOption=function(o,a){var u=this.option,d=this._componentsMap,g=this._componentsCount,v=[],y=createHashMap(),A=a&&a.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(o,function(_,w){_!=null&&(ComponentModel$1.hasClass(w)?w&&(v.push(w),y.set(w,!0)):u[w]=u[w]==null?clone$5(_):merge(u[w],_,!0))}),A&&A.each(function(_,w){ComponentModel$1.hasClass(w)&&!y.get(w)&&(v.push(w),y.set(w,!0))}),ComponentModel$1.topologicalTravel(v,ComponentModel$1.getAllClassMainTypes(),b,this);function b(_){var w=concatInternalOptions(this,_,normalizeToArray(o[_])),S=d.get(_),C=S?A&&A.get(_)?"replaceMerge":"normalMerge":"replaceAll",T=mappingToExists(S,w,C);setComponentTypeToKeyInfo(T,_,ComponentModel$1),u[_]=null,d.set(_,null),g.set(_,0);var I=[],E=[],F=0,O;each$f(T,function(D,x){var P=D.existing,G=D.newOption;if(!G)P&&(P.mergeOption({},this),P.optionUpdated({},!1));else{var M=_==="series",N=ComponentModel$1.getClass(_,D.keyInfo.subType,!M);if(!N)return;if(_==="tooltip"){if(O)return;O=!0}if(P&&P.constructor===N)P.name=D.keyInfo.name,P.mergeOption(G,this),P.optionUpdated(G,!1);else{var V=extend({componentIndex:x},D.keyInfo);P=new N(G,this,this,V),extend(P,V),D.brandNew&&(P.__requireNewView=!0),P.init(G,this,this),P.optionUpdated(null,!0)}}P?(I.push(P.option),E.push(P),F++):(I.push(void 0),E.push(void 0))},this),u[_]=I,d.set(_,E),g.set(_,F),_==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},r.prototype.getOption=function(){var o=clone$5(this.option);return each$f(o,function(a,u){if(ComponentModel$1.hasClass(u)){for(var d=normalizeToArray(a),g=d.length,v=!1,y=g-1;y>=0;y--)d[y]&&!isComponentIdInternal(d[y])?v=!0:(d[y]=null,!v&&g--);d.length=g,o[u]=d}}),delete o[OPTION_INNER_KEY],o},r.prototype.getTheme=function(){return this._theme},r.prototype.getLocaleModel=function(){return this._locale},r.prototype.setUpdatePayload=function(o){this._payload=o},r.prototype.getUpdatePayload=function(){return this._payload},r.prototype.getComponent=function(o,a){var u=this._componentsMap.get(o);if(u){var d=u[a||0];if(d)return d;if(a==null){for(var g=0;g=r:o==="max"?t<=r:t===r}function indicesEquals(t,r){return t.join(",")===r.join(",")}var OptionManager$1=OptionManager,each$d=each$f,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(t){var r=t&&t.itemStyle;if(!!r)for(var o=0,a=POSSIBLE_STYLES.length;o=0;I--){var E=t[I];if(v||(C=E.data.rawIndexOf(E.stackedByDimension,S)),C>=0){var F=E.data.getByRawIndex(E.stackResultDimension,C);if(y==="all"||y==="positive"&&F>0||y==="negative"&&F<0||y==="samesign"&&w>=0&&F>0||y==="samesign"&&w<=0&&F<0){w=addSafe(w,F),T=F;break}}}return a[0]=w,a[1]=T,a})})}var SourceImpl=function(){function t(r){this.data=r.data||(r.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=r.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=r.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=r.startIndex||0,this.dimensionsDetectedCount=r.dimensionsDetectedCount,this.metaRawOption=r.metaRawOption;var o=this.dimensionsDefine=r.dimensionsDefine;if(o)for(var a=0;aT&&(T=O)}S[0]=C,S[1]=T}},u=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(r={},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:d},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},r[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:d},r[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(g){var v=this._data;each$f(g,function(y,A){for(var b=v[A]||(v[A]=[]),_=0;_<(y||[]).length;_++)b.push(y[_])})}},r[SOURCE_FORMAT_ORIGINAL]={appendData:d},r[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(g){this._data=g},clean:function(){this._offset+=this.count(),this._data=null}},r);function d(g){for(var v=0;v=0&&(T=g.interpolatedValue[I])}return T!=null?T+"":""})}},t.prototype.getRawValue=function(r,o){return retrieveRawValue(this.getData(o),r)},t.prototype.formatTooltip=function(r,o,a){},t}();function normalizeTooltipFormatResult(t){var r,o;return isObject$3(t)?t.type&&(o=t):r=t,{text:r,frag:o}}function createTask(t){return new Task(t)}var Task=function(){function t(r){r=r||{},this._reset=r.reset,this._plan=r.plan,this._count=r.count,this._onDirty=r.onDirty,this._dirty=!0}return t.prototype.perform=function(r){var o=this._upstream,a=r&&r.skip;if(this._dirty&&o){var u=this.context;u.data=u.outputData=o.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var d;this._plan&&!a&&(d=this._plan(this.context));var g=b(this._modBy),v=this._modDataCount||0,y=b(r&&r.modBy),A=r&&r.modDataCount||0;(g!==y||v!==A)&&(d="reset");function b(F){return!(F>=1)&&(F=1),F}var _;(this._dirty||d==="reset")&&(this._dirty=!1,_=this._doReset(a)),this._modBy=y,this._modDataCount=A;var w=r&&r.step;if(o?this._dueEnd=o._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var S=this._dueIndex,C=Math.min(w!=null?this._dueIndex+w:1/0,this._dueEnd);if(!a&&(_||S1&&a>0?v:g}};return d;function g(){return r=t?null:yr},gte:function(t,r){return t>=r}},FilterOrderComparator=function(){function t(r,o){if(!isNumber$1(o)){var a="";throwError(a)}this._opFn=ORDER_COMPARISON_OP_MAP[r],this._rvalFloat=numericToNumber(o)}return t.prototype.evaluate=function(r){return isNumber$1(r)?this._opFn(r,this._rvalFloat):this._opFn(numericToNumber(r),this._rvalFloat)},t}(),SortOrderComparator=function(){function t(r,o){var a=r==="desc";this._resultLT=a?1:-1,o==null&&(o=a?"min":"max"),this._incomparable=o==="min"?-1/0:1/0}return t.prototype.evaluate=function(r,o){var a=isNumber$1(r)?r:numericToNumber(r),u=isNumber$1(o)?o:numericToNumber(o),d=isNaN(a),g=isNaN(u);if(d&&(a=this._incomparable),g&&(u=this._incomparable),d&&g){var v=isString$1(r),y=isString$1(o);v&&(a=y?r:0),y&&(u=v?o:0)}return au?-this._resultLT:0},t}(),FilterEqualityComparator=function(){function t(r,o){this._rval=o,this._isEQ=r,this._rvalTypeof=typeof o,this._rvalFloat=numericToNumber(o)}return t.prototype.evaluate=function(r){var o=r===this._rval;if(!o){var a=typeof r;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(o=numericToNumber(r)===this._rvalFloat)}return this._isEQ?o:!o},t}();function createFilterComparator(t,r){return t==="eq"||t==="ne"?new FilterEqualityComparator(t==="eq",r):hasOwn(ORDER_COMPARISON_OP_MAP,t)?new FilterOrderComparator(t,r):null}var ExternalSource=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(r){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(r){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(r,o){},t.prototype.retrieveValueFromItem=function(r,o){},t.prototype.convertValue=function(r,o){return parseDataValue(r,o)},t}();function createExternalSource(t,r){var o=new ExternalSource,a=t.data,u=o.sourceFormat=t.sourceFormat,d=t.startIndex,g="";t.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(g);var v=[],y={},A=t.dimensionsDefine;if(A)each$f(A,function(T,I){var E=T.name,F={index:I,name:E,displayName:T.displayName};if(v.push(F),E!=null){var O="";hasOwn(y,E)&&throwError(O),y[E]=F}});else for(var b=0;b65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(t){var r=t.constructor;return r===Array?t.slice():new r(t)}function prepareStore(t,r,o,a,u){var d=dataCtors[o||"float"];if(u){var g=t[r],v=g&&g.length;if(v!==a){for(var y=new d(a),A=0;AI[1]&&(I[1]=T)}return this._rawCount=this._count=y,{start:v,end:y}},t.prototype._initDataFromProvider=function(r,o,a){for(var u=this._provider,d=this._chunks,g=this._dimensions,v=g.length,y=this._rawExtent,A=map$1(g,function(F){return F.property}),b=0;bE[1]&&(E[1]=I)}}!u.persistent&&u.clean&&u.clean(),this._rawCount=this._count=o,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(r,o){if(!(o>=0&&o=0&&o=this._rawCount||r<0)return-1;if(!this._indices)return r;var o=this._indices,a=o[r];if(a!=null&&ar)d=g-1;else return g}return-1},t.prototype.indicesOfNearest=function(r,o,a){var u=this._chunks,d=u[r],g=[];if(!d)return g;a==null&&(a=1/0);for(var v=1/0,y=-1,A=0,b=0,_=this.count();b<_;b++){var w=this.getRawIndex(b),S=o-d[w],C=Math.abs(S);C<=a&&((C=0&&y<0)&&(v=C,y=S,A=0),S===y&&(g[A++]=b))}return g.length=A,g},t.prototype.getIndices=function(){var r,o=this._indices;if(o){var a=o.constructor,u=this._count;if(a===Array){r=new a(u);for(var d=0;d=_&&F<=w||isNaN(F))&&(y[A++]=T),T++}C=!0}else if(d===2){for(var I=S[u[0]],O=S[u[1]],D=r[u[1]][0],x=r[u[1]][1],E=0;E=_&&F<=w||isNaN(F))&&(P>=D&&P<=x||isNaN(P))&&(y[A++]=T),T++}C=!0}}if(!C)if(d===1)for(var E=0;E=_&&F<=w||isNaN(F))&&(y[A++]=G)}else for(var E=0;Er[V][1])&&(M=!1)}M&&(y[A++]=o.getRawIndex(E))}return AE[1]&&(E[1]=I)}}}},t.prototype.lttbDownSample=function(r,o){var a=this.clone([r],!0),u=a._chunks,d=u[r],g=this.count(),v=0,y=Math.floor(1/o),A=this.getRawIndex(0),b,_,w,S=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(g/y)+2)*2,g));S[v++]=A;for(var C=1;Cb&&(b=_,w=D)}Z>0&&Zb-C&&(y=b-C,v.length=y);for(var T=0;T_[1]&&(_[1]=E),w[S++]=F}return d._count=S,d._indices=w,d._updateGetRawIdx(),d},t.prototype.each=function(r,o){if(!!this._count)for(var a=r.length,u=this._chunks,d=0,g=this.count();dy&&(y=_)}return g=[v,y],this._extent[r]=g,g},t.prototype.getRawDataItem=function(r){var o=this.getRawIndex(r);if(this._provider.persistent)return this._provider.getItem(o);for(var a=[],u=this._chunks,d=0;d=0?this._indices[r]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function r(o,a,u,d){return parseDataValue(o[d],this._dimensions[d])}defaultDimValueGetters={arrayRows:r,objectRows:function(o,a,u,d){return parseDataValue(o[a],this._dimensions[d])},keyedColumns:r,original:function(o,a,u,d){var g=o&&(o.value==null?o:o.value);return parseDataValue(g instanceof Array?g[d]:g,this._dimensions[d])},typedArray:function(o,a,u,d){return o[d]}}}(),t}(),SourceManager=function(){function t(r){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=r}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(r,o){this._sourceList=r,this._upstreamSignList=o,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var r=this._sourceHost,o=this._getUpstreamSourceManagers(),a=!!o.length,u,d;if(isSeries(r)){var g=r,v=void 0,y=void 0,A=void 0;if(a){var b=o[0];b.prepareSource(),A=b.getSource(),v=A.data,y=A.sourceFormat,d=[b._getVersionSign()]}else v=g.get("data",!0),y=isTypedArray(v)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,d=[];var _=this._getSourceMetaRawOption()||{},w=A&&A.metaRawOption||{},S=retrieve2(_.seriesLayoutBy,w.seriesLayoutBy)||null,C=retrieve2(_.sourceHeader,w.sourceHeader),T=retrieve2(_.dimensions,w.dimensions),I=S!==w.seriesLayoutBy||!!C!=!!w.sourceHeader||T;u=I?[createSource(v,{seriesLayoutBy:S,sourceHeader:C,dimensions:T},y)]:[]}else{var E=r;if(a){var F=this._applyTransform(o);u=F.sourceList,d=F.upstreamSignList}else{var O=E.get("source",!0);u=[createSource(O,this._getSourceMetaRawOption(),null)],d=[]}}this._setLocalSource(u,d)},t.prototype._applyTransform=function(r){var o=this._sourceHost,a=o.get("transform",!0),u=o.get("fromTransformResult",!0);if(u!=null){var d="";r.length!==1&&doThrow(d)}var g,v=[],y=[];return each$f(r,function(A){A.prepareSource();var b=A.getSource(u||0),_="";u!=null&&!b&&doThrow(_),v.push(b),y.push(A._getVersionSign())}),a?g=applyDataTransform(a,v,{datasetIndex:o.componentIndex}):u!=null&&(g=[cloneSourceShallow(v[0])]),{sourceList:g,upstreamSignList:y}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var r=this._getUpstreamSourceManagers(),o=0;o1||o>0&&!t.noHeader;return each$f(t.blocks,function(u){var d=getBlockGapLevel(u);d>=r&&(r=d+ +(a&&(!d||isSectionFragment(u)&&!u.noHeader)))}),r}return 0}function buildSection(t,r,o,a){var u=r.noHeader,d=getGap(getBlockGapLevel(r)),g=[],v=r.blocks||[];assert(!v||isArray$1(v)),v=v||[];var y=t.orderMode;if(r.sortBlocks&&y){v=v.slice();var A={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(A,y)){var b=new SortOrderComparator(A[y],null);v.sort(function(C,T){return b.evaluate(C.sortParam,T.sortParam)})}else y==="seriesDesc"&&v.reverse()}each$f(v,function(C,T){var I=r.valueFormatter,E=getBuilder(C)(I?extend(extend({},t),{valueFormatter:I}):t,C,T>0?d.html:0,a);E!=null&&g.push(E)});var _=t.renderMode==="richText"?g.join(d.richText):wrapBlockHTML(g.join(""),u?o:d.html);if(u)return _;var w=makeValueReadable(r.header,"ordinal",t.useUTC),S=getTooltipTextStyle(a,t.renderMode).nameStyle;return t.renderMode==="richText"?wrapInlineNameRichText(t,w,S)+d.richText+_:wrapBlockHTML('
    '+encodeHTML(w)+"
    "+_,o)}function buildNameValue(t,r,o,a){var u=t.renderMode,d=r.noName,g=r.noValue,v=!r.markerType,y=r.name,A=t.useUTC,b=r.valueFormatter||t.valueFormatter||function(D){return D=isArray$1(D)?D:[D],map$1(D,function(x,P){return makeValueReadable(x,isArray$1(S)?S[P]:S,A)})};if(!(d&&g)){var _=v?"":t.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||"#333",u),w=d?"":makeValueReadable(y,"ordinal",A),S=r.valueType,C=g?[]:b(r.value,r.dataIndex),T=!v||!d,I=!v&&d,E=getTooltipTextStyle(a,u),F=E.nameStyle,O=E.valueStyle;return u==="richText"?(v?"":_)+(d?"":wrapInlineNameRichText(t,w,F))+(g?"":wrapInlineValueRichText(t,C,T,I,O)):wrapBlockHTML((v?"":_)+(d?"":wrapInlineNameHTML(w,!v,F))+(g?"":wrapInlineValueHTML(C,T,I,O)),o)}}function buildTooltipMarkup(t,r,o,a,u,d){if(!!t){var g=getBuilder(t),v={useUTC:u,renderMode:o,orderMode:a,markupStyleCreator:r,valueFormatter:t.valueFormatter};return g(v,t,0,d)}}function getGap(t){return{html:HTML_GAPS[t],richText:RICH_TEXT_GAPS[t]}}function wrapBlockHTML(t,r){var o='
    ',a="margin: "+r+"px 0 0";return'
    '+t+o+"
    "}function wrapInlineNameHTML(t,r,o){var a=r?"margin-left:2px":"";return''+encodeHTML(t)+""}function wrapInlineValueHTML(t,r,o,a){var u=o?"10px":"20px",d=r?"float:right;margin-left:"+u:"";return t=isArray$1(t)?t:[t],''+map$1(t,function(g){return encodeHTML(g)}).join("  ")+""}function wrapInlineNameRichText(t,r,o){return t.markupStyleCreator.wrapRichTextStyle(r,o)}function wrapInlineValueRichText(t,r,o,a,u){var d=[u],g=a?10:20;return o&&d.push({padding:[0,0,0,g],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(isArray$1(r)?r.join(" "):r,d)}function retrieveVisualColorForTooltipMarker(t,r){var o=t.getData().getItemVisual(r,"style"),a=o[t.visualDrawType];return convertToColorString(a)}function getPaddingFromTooltipModel(t,r){var o=t.get("padding");return o!=null?o:r==="richText"?[8,10]:10}var TooltipMarkupStyleCreator=function(){function t(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(r,o,a){var u=a==="richText"?this._generateStyleName():null,d=getTooltipMarker({color:o,type:r,renderMode:a,markerId:u});return isString$1(d)?d:(this.richTextStyles[u]=d.style,d.content)},t.prototype.wrapRichTextStyle=function(r,o){var a={};isArray$1(o)?each$f(o,function(d){return extend(a,d)}):extend(a,o);var u=this._generateStyleName();return this.richTextStyles[u]=a,"{"+u+"|"+r+"}"},t}();function defaultSeriesFormatTooltip(t){var r=t.series,o=t.dataIndex,a=t.multipleSeries,u=r.getData(),d=u.mapDimensionsAll("defaultedTooltip"),g=d.length,v=r.getRawValue(o),y=isArray$1(v),A=retrieveVisualColorForTooltipMarker(r,o),b,_,w,S;if(g>1||y&&!g){var C=formatTooltipArrayValue(v,r,o,d,A);b=C.inlineValues,_=C.inlineValueTypes,w=C.blocks,S=C.inlineValues[0]}else if(g){var T=u.getDimensionInfo(d[0]);S=b=retrieveRawValue(u,o,d[0]),_=T.type}else S=b=y?v[0]:v;var I=isNameSpecified(r),E=I&&r.name||"",F=u.getName(o),O=a?E:F;return createTooltipMarkup("section",{header:E,noHeader:a||!I,sortParam:S,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:A,name:O,noName:!trim$1(O),value:b,valueType:_,dataIndex:o})].concat(w||[])})}function formatTooltipArrayValue(t,r,o,a,u){var d=r.getData(),g=reduce(t,function(_,w,S){var C=d.getDimensionInfo(S);return _=_||C&&C.tooltip!==!1&&C.displayName!=null},!1),v=[],y=[],A=[];a.length?each$f(a,function(_){b(retrieveRawValue(d,o,_),_)}):each$f(t,b);function b(_,w){var S=d.getDimensionInfo(w);!S||S.otherDims.tooltip===!1||(g?A.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:u,name:S.displayName,value:_,valueType:S.type})):(v.push(_),y.push(S.type)))}return{inlineValues:v,inlineValueTypes:y,blocks:A}}var inner$k=makeInner();function getSelectionKey(t,r){return t.getName(r)||t.getId(r)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o._selectedDataIndicesMap={},o}return r.prototype.init=function(o,a,u){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(o,u);var d=inner$k(this).sourceManager=new SourceManager(this);d.prepareSource();var g=this.getInitialData(o,u);wrapData(g,this),this.dataTask.context.data=g,inner$k(this).dataBeforeProcessed=g,autoSeriesName(this),this._initSelectedMapFromData(g)},r.prototype.mergeDefaultAndTheme=function(o,a){var u=fetchLayoutMode(this),d=u?getLayoutParams(o):{},g=this.subType;ComponentModel$1.hasClass(g)&&(g+="Series"),merge(o,a.getTheme().get(this.subType)),merge(o,this.getDefaultOption()),defaultEmphasis(o,"label",["show"]),this.fillDataTextStyle(o.data),u&&mergeLayoutParam(o,d,u)},r.prototype.mergeOption=function(o,a){o=merge(this.option,o,!0),this.fillDataTextStyle(o.data);var u=fetchLayoutMode(this);u&&mergeLayoutParam(this.option,o,u);var d=inner$k(this).sourceManager;d.dirty(),d.prepareSource();var g=this.getInitialData(o,a);wrapData(g,this),this.dataTask.dirty(),this.dataTask.context.data=g,inner$k(this).dataBeforeProcessed=g,autoSeriesName(this),this._initSelectedMapFromData(g)},r.prototype.fillDataTextStyle=function(o){if(o&&!isTypedArray(o))for(var a=["show"],u=0;uthis.getShallow("animationThreshold")&&(a=!1),!!a},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(o,a,u){var d=this.ecModel,g=PaletteMixin.prototype.getColorFromPalette.call(this,o,a,u);return g||(g=d.getColorFromPalette(o,a,u)),g},r.prototype.coordDimToDataDim=function(o){return this.getRawData().mapDimensionsAll(o)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(o,a){this._innerSelect(this.getData(a),o)},r.prototype.unselect=function(o,a){var u=this.option.selectedMap;if(!!u){var d=this.option.selectedMode,g=this.getData(a);if(d==="series"||u==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var v=0;v=0&&u.push(g)}return u},r.prototype.isSelected=function(o,a){var u=this.option.selectedMap;if(!u)return!1;var d=this.getData(a);return(u==="all"||u[getSelectionKey(d,o)])&&!d.getItemModel(o).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var o=this.option.universalTransition;return o?o===!0?!0:o&&o.enabled:!1},r.prototype._innerSelect=function(o,a){var u,d,g=this.option,v=g.selectedMode,y=a.length;if(!(!v||!y)){if(v==="series")g.selectedMap="all";else if(v==="multiple"){isObject$3(g.selectedMap)||(g.selectedMap={});for(var A=g.selectedMap,b=0;b0&&this._innerSelect(o,a)}},r.registerClass=function(o){return ComponentModel$1.registerClass(o)},r.protoInitialize=function(){var o=r.prototype;o.type="series.__base__",o.seriesIndex=0,o.ignoreStyleOnData=!1,o.hasSymbolVisual=!1,o.defaultSymbol="circle",o.visualStyleAccessPath="itemStyle",o.visualDrawType="fill"}(),r}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName(t){var r=t.name;isNameSpecified(t)||(t.name=getSeriesAutoName(t)||r)}function getSeriesAutoName(t){var r=t.getRawData(),o=r.mapDimensionsAll("seriesName"),a=[];return each$f(o,function(u){var d=r.getDimensionInfo(u);d.displayName&&a.push(d.displayName)}),a.join(" ")}function dataTaskCount(t){return t.model.getRawData().count()}function dataTaskReset(t){var r=t.model;return r.setData(r.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(t,r){r.outputData&&t.end>r.outputData.count()&&r.model.getRawData().cloneShallow(r.outputData)}function wrapData(t,r){each$f(concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(o){t.wrapMethod(o,curry$1(onDataChange,r))})}function onDataChange(t,r){var o=getCurrentTask(t);return o&&o.setOutputEnd((r||this).count()),r}function getCurrentTask(t){var r=(t.ecModel||{}).scheduler,o=r&&r.getPipeline(t.uid);if(o){var a=o.currentTask;if(a){var u=a.agentStubMap;u&&(a=u.get(t.uid))}return a}}var SeriesModel$1=SeriesModel,ComponentView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewComponent")}return t.prototype.init=function(r,o){},t.prototype.render=function(r,o,a,u){},t.prototype.dispose=function(r,o){},t.prototype.updateView=function(r,o,a,u){},t.prototype.updateLayout=function(r,o,a,u){},t.prototype.updateVisual=function(r,o,a,u){},t.prototype.toggleBlurSeries=function(r,o,a){},t.prototype.eachRendered=function(r){var o=this.group;o&&o.traverse(r)},t}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);var ComponentView$1=ComponentView;function createRenderPlanner(){var t=makeInner();return function(r){var o=t(r),a=r.pipelineContext,u=!!o.large,d=!!o.progressiveRender,g=o.large=!!(a&&a.large),v=o.progressiveRender=!!(a&&a.progressiveRender);return(u!==g||d!==v)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return t.prototype.init=function(r,o){},t.prototype.render=function(r,o,a,u){},t.prototype.highlight=function(r,o,a,u){var d=r.getData(u&&u.dataType);!d||toggleHighlight(d,u,"emphasis")},t.prototype.downplay=function(r,o,a,u){var d=r.getData(u&&u.dataType);!d||toggleHighlight(d,u,"normal")},t.prototype.remove=function(r,o){this.group.removeAll()},t.prototype.dispose=function(r,o){},t.prototype.updateView=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.updateLayout=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.updateVisual=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.eachRendered=function(r){traverseElements(this.group,r)},t.markUpdateMethod=function(r,o){inner$j(r).updateMethod=o},t.protoInitialize=function(){var r=t.prototype;r.type="chart"}(),t}();function elSetState(t,r,o){t&&isHighDownDispatcher(t)&&(r==="emphasis"?enterEmphasis:leaveEmphasis)(t,o)}function toggleHighlight(t,r,o){var a=queryDataIndex(t,r),u=r&&r.highlightKey!=null?getHighlightDigit(r.highlightKey):null;a!=null?each$f(normalizeToArray(a),function(d){elSetState(t.getItemGraphicEl(d),o,u)}):t.eachItemGraphicEl(function(d){elSetState(d,o,u)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(t){return renderPlanner(t.model)}function renderTaskReset(t){var r=t.model,o=t.ecModel,a=t.api,u=t.payload,d=r.pipelineContext.progressiveRender,g=t.view,v=u&&inner$j(u).updateMethod,y=d?"incrementalPrepareRender":v&&g[v]?v:"render";return y!=="render"&&g[y](r,o,a,u),progressMethodMap[y]}var progressMethodMap={incrementalPrepareRender:{progress:function(t,r){r.view.incrementalRender(t,r.model,r.ecModel,r.api,r.payload)}},render:{forceFirstProgress:!0,progress:function(t,r){r.view.render(r.model,r.ecModel,r.api,r.payload)}}},ChartView$1=ChartView,ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle(t,r,o){var a,u=0,d=0,g=null,v,y,A,b;r=r||0;function _(){d=new Date().getTime(),g=null,t.apply(y,A||[])}var w=function(){for(var S=[],C=0;C=0?_():g=setTimeout(_,-v),u=a};return w.clear=function(){g&&(clearTimeout(g),g=null)},w.debounceNextCall=function(S){b=S},w}function createOrUpdate(t,r,o,a){var u=t[r];if(!!u){var d=u[ORIGIN_METHOD]||u,g=u[THROTTLE_TYPE],v=u[RATE];if(v!==o||g!==a){if(o==null||!a)return t[r]=d;u=t[r]=throttle(d,o,a==="debounce"),u[ORIGIN_METHOD]=d,u[THROTTLE_TYPE]=a,u[RATE]=o}return u}}function clear$1(t,r){var o=t[r];o&&o[ORIGIN_METHOD]&&(o.clear&&o.clear(),t[r]=o[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(t,r){var o=t.visualStyleMapper||defaultStyleMappers[r];return o||(console.warn("Unknown style type '"+r+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(t,r){var o=t.visualDrawType||defaultColorKey[r];return o||(console.warn("Unknown style type '"+r+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var o=t.getData(),a=t.visualStyleAccessPath||"itemStyle",u=t.getModel(a),d=getStyleMapper(t,a),g=d(u),v=u.getShallow("decal");v&&(o.setVisual("decal",v),v.dirty=!0);var y=getDefaultColorKey(t,a),A=g[y],b=isFunction(A)?A:null,_=g.fill==="auto"||g.stroke==="auto";if(!g[y]||b||_){var w=t.getColorFromPalette(t.name,null,r.getSeriesCount());g[y]||(g[y]=w,o.setVisual("colorFromPalette",!0)),g.fill=g.fill==="auto"||isFunction(g.fill)?w:g.fill,g.stroke=g.stroke==="auto"||isFunction(g.stroke)?w:g.stroke}if(o.setVisual("style",g),o.setVisual("drawType",y),!r.isSeriesFiltered(t)&&b)return o.setVisual("colorFromPalette",!1),{dataEach:function(S,C){var T=t.getDataParams(C),I=extend({},g);I[y]=b(T),S.setItemVisual(C,"style",I)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!(t.ignoreStyleOnData||r.isSeriesFiltered(t))){var o=t.getData(),a=t.visualStyleAccessPath||"itemStyle",u=getStyleMapper(t,a),d=o.getVisual("drawType");return{dataEach:o.hasItemOption?function(g,v){var y=g.getRawDataItem(v);if(y&&y[a]){sharedModel.option=y[a];var A=u(sharedModel),b=g.ensureUniqueItemVisual(v,"style");extend(b,A),sharedModel.option.decal&&(g.setItemVisual(v,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),d in A&&g.setItemVisual(v,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(t){var r=createHashMap();t.eachSeries(function(o){var a=o.getColorBy();if(!o.isColorBySeries()){var u=o.type+"-"+a,d=r.get(u);d||(d={},r.set(u,d)),inner$i(o).scope=d}}),t.eachSeries(function(o){if(!(o.isColorBySeries()||t.isSeriesFiltered(o))){var a=o.getRawData(),u={},d=o.getData(),g=inner$i(o).scope,v=o.visualStyleAccessPath||"itemStyle",y=getDefaultColorKey(o,v);d.each(function(A){var b=d.getRawIndex(A);u[b]=A}),a.each(function(A){var b=u[A],_=d.getItemVisual(b,"colorFromPalette");if(_){var w=d.ensureUniqueItemVisual(b,"style"),S=a.getName(A)||A+"",C=a.count();w[y]=o.getColorFromPalette(S,g,C)}})}})}},PI$5=Math.PI;function defaultLoading(t,r){r=r||{},defaults(r,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var o=new Group$4,a=new Rect$3({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});o.add(a);var u=new ZRText$1({style:{text:r.text,fill:r.textColor,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,fontFamily:r.fontFamily},zlevel:r.zlevel,z:10001}),d=new Rect$3({style:{fill:"none"},textContent:u,textConfig:{position:"right",distance:10},zlevel:r.zlevel,z:10001});o.add(d);var g;return r.showSpinner&&(g=new Arc$1({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:r.spinnerRadius},style:{stroke:r.color,lineCap:"round",lineWidth:r.lineWidth},zlevel:r.zlevel,z:10001}),g.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),g.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),o.add(g)),o.resize=function(){var v=u.getBoundingRect().width,y=r.showSpinner?r.spinnerRadius:0,A=(t.getWidth()-y*2-(r.showSpinner&&v?10:0)-v)/2-(r.showSpinner&&v?0:5+v/2)+(r.showSpinner?0:v/2)+(v?0:y),b=t.getHeight()/2;r.showSpinner&&g.setShape({cx:A,cy:b}),d.setShape({x:A-y,y:b-y,width:y*2,height:y*2}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},o.resize(),o}var Scheduler=function(){function t(r,o,a,u){this._stageTaskMap=createHashMap(),this.ecInstance=r,this.api=o,a=this._dataProcessorHandlers=a.slice(),u=this._visualHandlers=u.slice(),this._allHandlers=a.concat(u)}return t.prototype.restoreData=function(r,o){r.restoreData(o),this._stageTaskMap.each(function(a){var u=a.overallTask;u&&u.dirty()})},t.prototype.getPerformArgs=function(r,o){if(!!r.__pipeline){var a=this._pipelineMap.get(r.__pipeline.id),u=a.context,d=!o&&a.progressiveEnabled&&(!u||u.progressiveRender)&&r.__idxInPipeline>a.blockIndex,g=d?a.step:null,v=u&&u.modDataCount,y=v!=null?Math.ceil(v/g):null;return{step:g,modBy:y,modDataCount:v}}},t.prototype.getPipeline=function(r){return this._pipelineMap.get(r)},t.prototype.updateStreamModes=function(r,o){var a=this._pipelineMap.get(r.uid),u=r.getData(),d=u.count(),g=a.progressiveEnabled&&o.incrementalPrepareRender&&d>=a.threshold,v=r.get("large")&&d>=r.get("largeThreshold"),y=r.get("progressiveChunkMode")==="mod"?d:null;r.pipelineContext=a.context={progressiveRender:g,modDataCount:y,large:v}},t.prototype.restorePipelines=function(r){var o=this,a=o._pipelineMap=createHashMap();r.eachSeries(function(u){var d=u.getProgressive(),g=u.uid;a.set(g,{id:g,head:null,tail:null,threshold:u.getProgressiveThreshold(),progressiveEnabled:d&&!(u.preventIncremental&&u.preventIncremental()),blockIndex:-1,step:Math.round(d||700),count:0}),o._pipe(u,u.dataTask)})},t.prototype.prepareStageTasks=function(){var r=this._stageTaskMap,o=this.api.getModel(),a=this.api;each$f(this._allHandlers,function(u){var d=r.get(u.uid)||r.set(u.uid,{}),g="";assert(!(u.reset&&u.overallReset),g),u.reset&&this._createSeriesStageTask(u,d,o,a),u.overallReset&&this._createOverallStageTask(u,d,o,a)},this)},t.prototype.prepareView=function(r,o,a,u){var d=r.renderTask,g=d.context;g.model=o,g.ecModel=a,g.api=u,d.__block=!r.incrementalPrepareRender,this._pipe(o,d)},t.prototype.performDataProcessorTasks=function(r,o){this._performStageTasks(this._dataProcessorHandlers,r,o,{block:!0})},t.prototype.performVisualTasks=function(r,o,a){this._performStageTasks(this._visualHandlers,r,o,a)},t.prototype._performStageTasks=function(r,o,a,u){u=u||{};var d=!1,g=this;each$f(r,function(y,A){if(!(u.visualType&&u.visualType!==y.visualType)){var b=g._stageTaskMap.get(y.uid),_=b.seriesTaskMap,w=b.overallTask;if(w){var S,C=w.agentStubMap;C.each(function(I){v(u,I)&&(I.dirty(),S=!0)}),S&&w.dirty(),g.updatePayload(w,a);var T=g.getPerformArgs(w,u.block);C.each(function(I){I.perform(T)}),w.perform(T)&&(d=!0)}else _&&_.each(function(I,E){v(u,I)&&I.dirty();var F=g.getPerformArgs(I,u.block);F.skip=!y.performRawSeries&&o.isSeriesFiltered(I.context.model),g.updatePayload(I,a),I.perform(F)&&(d=!0)})}});function v(y,A){return y.setDirty&&(!y.dirtyMap||y.dirtyMap.get(A.__pipeline.id))}this.unfinished=d||this.unfinished},t.prototype.performSeriesTasks=function(r){var o;r.eachSeries(function(a){o=a.dataTask.perform()||o}),this.unfinished=o||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(r){var o=r.tail;do{if(o.__block){r.blockIndex=o.__idxInPipeline;break}o=o.getUpstream()}while(o)})},t.prototype.updatePayload=function(r,o){o!=="remain"&&(r.context.payload=o)},t.prototype._createSeriesStageTask=function(r,o,a,u){var d=this,g=o.seriesTaskMap,v=o.seriesTaskMap=createHashMap(),y=r.seriesType,A=r.getTargetSeries;r.createOnAllSeries?a.eachRawSeries(b):y?a.eachRawSeriesByType(y,b):A&&A(a,u).each(b);function b(_){var w=_.uid,S=v.set(w,g&&g.get(w)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));S.context={model:_,ecModel:a,api:u,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:d},d._pipe(_,S)}},t.prototype._createOverallStageTask=function(r,o,a,u){var d=this,g=o.overallTask=o.overallTask||createTask({reset:overallTaskReset});g.context={ecModel:a,api:u,overallReset:r.overallReset,scheduler:d};var v=g.agentStubMap,y=g.agentStubMap=createHashMap(),A=r.seriesType,b=r.getTargetSeries,_=!0,w=!1,S="";assert(!r.createOnAllSeries,S),A?a.eachRawSeriesByType(A,C):b?b(a,u).each(C):(_=!1,each$f(a.getSeries(),C));function C(T){var I=T.uid,E=y.set(I,v&&v.get(I)||(w=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));E.context={model:T,overallProgress:_},E.agent=g,E.__block=_,d._pipe(T,E)}w&&g.dirty()},t.prototype._pipe=function(r,o){var a=r.uid,u=this._pipelineMap.get(a);!u.head&&(u.head=o),u.tail&&u.tail.pipe(o),u.tail=o,o.__idxInPipeline=u.count++,o.__pipeline=u},t.wrapStageHandler=function(r,o){return isFunction(r)&&(r={overallReset:r,seriesType:detectSeriseType(r)}),r.uid=getUID("stageHandler"),o&&(r.visualType=o),r},t}();function overallTaskReset(t){t.overallReset(t.ecModel,t.api,t.payload)}function stubReset(t){return t.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function seriesTaskReset(t){t.useClearVisual&&t.data.clearAllVisual();var r=t.resetDefines=normalizeToArray(t.reset(t.model,t.ecModel,t.api,t.payload));return r.length>1?map$1(r,function(o,a){return makeSeriesTaskProgress(a)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(t){return function(r,o){var a=o.data,u=o.resetDefines[t];if(u&&u.dataEach)for(var d=r.start;d0&&S===A.length-w.length){var C=A.slice(0,S);C!=="data"&&(o.mainType=C,o[w.toLowerCase()]=y,b=!0)}}v.hasOwnProperty(A)&&(a[A]=y,b=!0),b||(u[A]=y)})}return{cptQuery:o,dataQuery:a,otherQuery:u}},t.prototype.filter=function(r,o){var a=this.eventInfo;if(!a)return!0;var u=a.targetEl,d=a.packedEvent,g=a.model,v=a.view;if(!g||!v)return!0;var y=o.cptQuery,A=o.dataQuery;return b(y,g,"mainType")&&b(y,g,"subType")&&b(y,g,"index","componentIndex")&&b(y,g,"name")&&b(y,g,"id")&&b(A,d,"name")&&b(A,d,"dataIndex")&&b(A,d,"dataType")&&(!v.filterForExposedEvent||v.filterForExposedEvent(r,o.otherQuery,u,d));function b(_,w,S,C){return _[S]==null||w[C||S]===_[S]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var o=t.getData();if(t.legendIcon&&o.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var a={},u={},d=!1,g=0;g=0&&isSafeNum(y)?y:.5;var A=t.createRadialGradient(g,v,0,g,v,y);return A}function getCanvasGradient(t,r,o){for(var a=r.type==="radial"?createRadialGradient(t,r,o):createLinearGradient(t,r,o),u=r.colorStops,d=0;d0)?null:t==="dashed"?[4*r,2*r]:t==="dotted"?[r]:isNumber$1(t)?[t]:isArray$1(t)?t:null}function getLineDash(t){var r=t.style,o=r.lineDash&&r.lineWidth>0&&normalizeLineDash(r.lineDash,r.lineWidth),a=r.lineDashOffset;if(o){var u=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;u&&u!==1&&(o=map$1(o,function(d){return d/u}),a/=u)}return[o,a]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke(t){var r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))}function isValidStrokeFillStyle(t){return typeof t=="string"&&t!=="none"}function styleHasFill(t){var r=t.fill;return r!=null&&r!=="none"}function doFillPath(t,r){if(r.fillOpacity!=null&&r.fillOpacity!==1){var o=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,t.fill(),t.globalAlpha=o}else t.fill()}function doStrokePath(t,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var o=t.globalAlpha;t.globalAlpha=r.strokeOpacity*r.opacity,t.stroke(),t.globalAlpha=o}else t.stroke()}function createCanvasPattern(t,r,o){var a=createOrUpdateImage(r.image,r.__image,o);if(isImageReady(a)){var u=t.createPattern(a,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&u&&u.setTransform){var d=new DOMMatrix;d.translateSelf(r.x||0,r.y||0),d.rotateSelf(0,0,(r.rotation||0)*RADIAN_TO_DEGREE),d.scaleSelf(r.scaleX||1,r.scaleY||1),u.setTransform(d)}return u}}function brushPath(t,r,o,a){var u,d=styleHasStroke(o),g=styleHasFill(o),v=o.strokePercent,y=v<1,A=!r.path;(!r.silent||y)&&A&&r.createPathProxy();var b=r.path||pathProxyForDraw,_=r.__dirty;if(!a){var w=o.fill,S=o.stroke,C=g&&!!w.colorStops,T=d&&!!S.colorStops,I=g&&!!w.image,E=d&&!!S.image,F=void 0,O=void 0,D=void 0,x=void 0,P=void 0;(C||T)&&(P=r.getBoundingRect()),C&&(F=_?getCanvasGradient(t,w,P):r.__canvasFillGradient,r.__canvasFillGradient=F),T&&(O=_?getCanvasGradient(t,S,P):r.__canvasStrokeGradient,r.__canvasStrokeGradient=O),I&&(D=_||!r.__canvasFillPattern?createCanvasPattern(t,w,r):r.__canvasFillPattern,r.__canvasFillPattern=D),E&&(x=_||!r.__canvasStrokePattern?createCanvasPattern(t,S,r):r.__canvasStrokePattern,r.__canvasStrokePattern=D),C?t.fillStyle=F:I&&(D?t.fillStyle=D:g=!1),T?t.strokeStyle=O:E&&(x?t.strokeStyle=x:d=!1)}var G=r.getGlobalScale();b.setScale(G[0],G[1],r.segmentIgnoreThreshold);var M,N;t.setLineDash&&o.lineDash&&(u=getLineDash(r),M=u[0],N=u[1]);var V=!0;(A||_&SHAPE_CHANGED_BIT)&&(b.setDPR(t.dpr),y?b.setContext(null):(b.setContext(t),V=!1),b.reset(),r.buildPath(b,r.shape,a),b.toStatic(),r.pathUpdated()),V&&b.rebuildPath(t,y?v:1),M&&(t.setLineDash(M),t.lineDashOffset=N),a||(o.strokeFirst?(d&&doStrokePath(t,o),g&&doFillPath(t,o)):(g&&doFillPath(t,o),d&&doStrokePath(t,o))),M&&t.setLineDash([])}function brushImage(t,r,o){var a=r.__image=createOrUpdateImage(o.image,r.__image,r,r.onload);if(!(!a||!isImageReady(a))){var u=o.x||0,d=o.y||0,g=r.getWidth(),v=r.getHeight(),y=a.width/a.height;if(g==null&&v!=null?g=v*y:v==null&&g!=null?v=g/y:g==null&&v==null&&(g=a.width,v=a.height),o.sWidth&&o.sHeight){var A=o.sx||0,b=o.sy||0;t.drawImage(a,A,b,o.sWidth,o.sHeight,u,d,g,v)}else if(o.sx&&o.sy){var A=o.sx,b=o.sy,_=g-A,w=v-b;t.drawImage(a,A,b,_,w,u,d,g,v)}else t.drawImage(a,u,d,g,v)}}function brushText(t,r,o){var a,u=o.text;if(u!=null&&(u+=""),u){t.font=o.font||DEFAULT_FONT,t.textAlign=o.textAlign,t.textBaseline=o.textBaseline;var d=void 0,g=void 0;t.setLineDash&&o.lineDash&&(a=getLineDash(r),d=a[0],g=a[1]),d&&(t.setLineDash(d),t.lineDashOffset=g),o.strokeFirst?(styleHasStroke(o)&&t.strokeText(u,o.x,o.y),styleHasFill(o)&&t.fillText(u,o.x,o.y)):(styleHasFill(o)&&t.fillText(u,o.x,o.y),styleHasStroke(o)&&t.strokeText(u,o.x,o.y)),d&&t.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(t,r,o,a,u){var d=!1;if(!a&&(o=o||{},r===o))return!1;if(a||r.opacity!==o.opacity){flushPathDrawn(t,u),d=!0;var g=Math.max(Math.min(r.opacity,1),0);t.globalAlpha=isNaN(g)?DEFAULT_COMMON_STYLE.opacity:g}(a||r.blend!==o.blend)&&(d||(flushPathDrawn(t,u),d=!0),t.globalCompositeOperation=r.blend||DEFAULT_COMMON_STYLE.blend);for(var v=0;v0&&o.unfinished);o.unfinished||this._zr.flush()}}},r.prototype.getDom=function(){return this._dom},r.prototype.getId=function(){return this.id},r.prototype.getZr=function(){return this._zr},r.prototype.isSSR=function(){return this._ssr},r.prototype.setOption=function(o,a,u){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var d,g,v;if(isObject$3(a)&&(u=a.lazyUpdate,d=a.silent,g=a.replaceMerge,v=a.transition,a=a.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||a){var y=new OptionManager$1(this._api),A=this._theme,b=this._model=new GlobalModel$1;b.scheduler=this._scheduler,b.ssr=this._ssr,b.init(null,null,null,A,this._locale,y)}this._model.setOption(o,{replaceMerge:g},optionPreprocessorFuncs);var _={seriesTransition:v,optionChanged:!0};if(u)this[PENDING_UPDATE]={silent:d,updateParams:_},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,_)}catch(w){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,w}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,d),triggerUpdatedEvent.call(this,d)}}},r.prototype.setTheme=function(){},r.prototype.getModel=function(){return this._model},r.prototype.getOption=function(){return this._model&&this._model.getOption()},r.prototype.getWidth=function(){return this._zr.getWidth()},r.prototype.getHeight=function(){return this._zr.getHeight()},r.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env$1.hasGlobalWindow&&window.devicePixelRatio||1},r.prototype.getRenderedCanvas=function(o){return this.renderToCanvas(o)},r.prototype.renderToCanvas=function(o){o=o||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:o.backgroundColor||this._model.get("backgroundColor"),pixelRatio:o.pixelRatio||this.getDevicePixelRatio()})},r.prototype.renderToSVGString=function(o){o=o||{};var a=this._zr.painter;return a.renderToString({useViewBox:o.useViewBox})},r.prototype.getSvgDataURL=function(){if(!!env$1.svgSupported){var o=this._zr,a=o.storage.getDisplayList();return each$f(a,function(u){u.stopAnimation(null,!0)}),o.painter.toDataURL()}},r.prototype.getDataURL=function(o){if(this._disposed){this.id;return}o=o||{};var a=o.excludeComponents,u=this._model,d=[],g=this;each$f(a,function(y){u.eachComponent({mainType:y},function(A){var b=g._componentsMap[A.__viewId];b.group.ignore||(d.push(b),b.group.ignore=!0)})});var v=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(o).toDataURL("image/"+(o&&o.type||"png"));return each$f(d,function(y){y.group.ignore=!1}),v},r.prototype.getConnectedDataURL=function(o){if(this._disposed){this.id;return}var a=o.type==="svg",u=this.group,d=Math.min,g=Math.max,v=1/0;if(connectedGroups[u]){var y=v,A=v,b=-v,_=-v,w=[],S=o&&o.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(O,D){if(O.group===u){var x=a?O.getZr().painter.getSvgDom().innerHTML:O.renderToCanvas(clone$5(o)),P=O.getDom().getBoundingClientRect();y=d(P.left,y),A=d(P.top,A),b=g(P.right,b),_=g(P.bottom,_),w.push({dom:x,left:P.left,top:P.top})}}),y*=S,A*=S,b*=S,_*=S;var C=b-y,T=_-A,I=platformApi.createCanvas(),E=init$2(I,{renderer:a?"svg":"canvas"});if(E.resize({width:C,height:T}),a){var F="";return each$f(w,function(O){var D=O.left-y,x=O.top-A;F+=''+O.dom+""}),E.painter.getSvgRoot().innerHTML=F,o.connectedBackgroundColor&&E.painter.setBackgroundColor(o.connectedBackgroundColor),E.refreshImmediately(),E.painter.toDataURL()}else return o.connectedBackgroundColor&&E.add(new Rect$3({shape:{x:0,y:0,width:C,height:T},style:{fill:o.connectedBackgroundColor}})),each$f(w,function(O){var D=new ZRImage$1({style:{x:O.left*S-y,y:O.top*S-A,image:O.dom}});E.add(D)}),E.refreshImmediately(),I.toDataURL("image/"+(o&&o.type||"png"))}else return this.getDataURL(o)},r.prototype.convertToPixel=function(o,a){return doConvertPixel(this,"convertToPixel",o,a)},r.prototype.convertFromPixel=function(o,a){return doConvertPixel(this,"convertFromPixel",o,a)},r.prototype.containPixel=function(o,a){if(this._disposed){this.id;return}var u=this._model,d,g=parseFinder$1(u,o);return each$f(g,function(v,y){y.indexOf("Models")>=0&&each$f(v,function(A){var b=A.coordinateSystem;if(b&&b.containPoint)d=d||!!b.containPoint(a);else if(y==="seriesModels"){var _=this._chartsMap[A.__viewId];_&&_.containPoint&&(d=d||_.containPoint(a,A))}},this)},this),!!d},r.prototype.getVisual=function(o,a){var u=this._model,d=parseFinder$1(u,o,{defaultMainType:"series"}),g=d.seriesModel,v=g.getData(),y=d.hasOwnProperty("dataIndexInside")?d.dataIndexInside:d.hasOwnProperty("dataIndex")?v.indexOfRawIndex(d.dataIndex):null;return y!=null?getItemVisualFromData(v,y,a):getVisualFromData(v,a)},r.prototype.getViewOfComponentModel=function(o){return this._componentsMap[o.__viewId]},r.prototype.getViewOfSeriesModel=function(o){return this._chartsMap[o.__viewId]},r.prototype._initEvents=function(){var o=this;each$f(MOUSE_EVENT_NAMES,function(a){var u=function(d){var g=o.getModel(),v=d.target,y,A=a==="globalout";if(A?y={}:v&&findEventDispatcher(v,function(C){var T=getECData(C);if(T&&T.dataIndex!=null){var I=T.dataModel||g.getSeriesByIndex(T.seriesIndex);return y=I&&I.getDataParams(T.dataIndex,T.dataType,v)||{},!0}else if(T.eventData)return y=extend({},T.eventData),!0},!0),y){var b=y.componentType,_=y.componentIndex;(b==="markLine"||b==="markPoint"||b==="markArea")&&(b="series",_=y.seriesIndex);var w=b&&_!=null&&g.getComponent(b,_),S=w&&o[w.mainType==="series"?"_chartsMap":"_componentsMap"][w.__viewId];y.event=d,y.type=a,o._$eventProcessor.eventInfo={targetEl:v,packedEvent:y,model:w,view:S},o.trigger(a,y)}};u.zrEventfulCallAtLast=!0,o._zr.on(a,u,o)}),each$f(eventActionMap,function(a,u){o._messageCenter.on(u,function(d){this.trigger(u,d)},o)}),each$f(["selectchanged"],function(a){o._messageCenter.on(a,function(u){this.trigger(a,u)},o)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},r.prototype.isDisposed=function(){return this._disposed},r.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},r.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var o=this.getDom();o&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var a=this,u=a._api,d=a._model;each$f(a._componentsViews,function(g){g.dispose(d,u)}),each$f(a._chartsViews,function(g){g.dispose(d,u)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete instances[a.id]},r.prototype.resize=function(o){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(o);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var u=a.resetOption("media"),d=o&&o.silent;this[PENDING_UPDATE]&&(d==null&&(d=this[PENDING_UPDATE].silent),u=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{u&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},o&&o.animation)})}catch(g){throw this[IN_MAIN_PROCESS_KEY]=!1,g}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,d),triggerUpdatedEvent.call(this,d)}}},r.prototype.showLoading=function(o,a){if(this._disposed){this.id;return}if(isObject$3(o)&&(a=o,o=""),o=o||"default",this.hideLoading(),!!loadingEffects[o]){var u=loadingEffects[o](this._api,a),d=this._zr;this._loadingFX=u,d.add(u)}},r.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},r.prototype.makeActionFromEvent=function(o){var a=extend({},o);return a.type=eventActionMap[o.type],a},r.prototype.dispatchAction=function(o,a){if(this._disposed){this.id;return}if(isObject$3(a)||(a={silent:!!a}),!!actions[o.type]&&!!this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(o);return}var u=a.silent;doDispatchAction.call(this,o,u);var d=a.flush;d?this._zr.flush():d!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,u),triggerUpdatedEvent.call(this,u)}},r.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},r.prototype.appendData=function(o){if(this._disposed){this.id;return}var a=o.seriesIndex,u=this.getModel(),d=u.getSeriesByIndex(a);d.appendData(o),this._scheduler.unfinished=!0,this.getZr().wakeUp()},r.internalField=function(){prepare=function(_){var w=_._scheduler;w.restorePipelines(_._model),w.prepareStageTasks(),prepareView(_,!0),prepareView(_,!1),w.plan()},prepareView=function(_,w){for(var S=_._model,C=_._scheduler,T=w?_._componentsViews:_._chartsViews,I=w?_._componentsMap:_._chartsMap,E=_._zr,F=_._api,O=0;Ow.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&w.eachSeries(function(I){if(!I.preventUsingHoverLayer){var E=_._chartsMap[I.__viewId];E.__alive&&E.eachRendered(function(F){F.states.emphasis&&(F.states.emphasis.hoverLayer=!0)})}})}function g(_,w){var S=_.get("blendMode")||null;w.eachRendered(function(C){C.isGroup||(C.style.blend=S)})}function v(_,w){if(!_.preventAutoZ){var S=_.get("z")||0,C=_.get("zlevel")||0;w.eachRendered(function(T){return y(T,S,C,-1/0),!0})}}function y(_,w,S,C){var T=_.getTextContent(),I=_.getTextGuideLine(),E=_.isGroup;if(E)for(var F=_.childrenRef(),O=0;O0?{duration:T,delay:S.get("delay"),easing:S.get("easing")}:null;w.eachRendered(function(E){if(E.states&&E.states.emphasis){if(isElementRemoved(E))return;if(E instanceof Path$1&&savePathStates(E),E.__dirty){var F=E.prevStates;F&&E.useStates(F)}if(C){E.stateTransition=I;var O=E.getTextContent(),D=E.getTextGuideLine();O&&(O.stateTransition=I),D&&(D.stateTransition=I)}E.__dirty&&u(E)}})}createExtensionAPI=function(_){return new(function(w){__extends$1(S,w);function S(){return w!==null&&w.apply(this,arguments)||this}return S.prototype.getCoordinateSystems=function(){return _._coordSysMgr.getCoordinateSystems()},S.prototype.getComponentByElement=function(C){for(;C;){var T=C.__ecComponentInfo;if(T!=null)return _._model.getComponent(T.mainType,T.index);C=C.parent}},S.prototype.enterEmphasis=function(C,T){enterEmphasis(C,T),markStatusToUpdate(_)},S.prototype.leaveEmphasis=function(C,T){leaveEmphasis(C,T),markStatusToUpdate(_)},S.prototype.enterBlur=function(C){enterBlur(C),markStatusToUpdate(_)},S.prototype.leaveBlur=function(C){leaveBlur(C),markStatusToUpdate(_)},S.prototype.enterSelect=function(C){enterSelect(C),markStatusToUpdate(_)},S.prototype.leaveSelect=function(C){leaveSelect(C),markStatusToUpdate(_)},S.prototype.getModel=function(){return _.getModel()},S.prototype.getViewOfComponentModel=function(C){return _.getViewOfComponentModel(C)},S.prototype.getViewOfSeriesModel=function(C){return _.getViewOfSeriesModel(C)},S}(ExtensionAPI$1))(_)},enableConnect=function(_){function w(S,C){for(var T=0;T=0)){registeredTasks.push(o);var d=Scheduler$1.wrapStageHandler(o,u);d.__prio=r,d.__raw=o,t.push(d)}}function registerLoading(t,r){loadingEffects[t]=r}function registerMap$1(t,r,o){var a=getImpl("registerMap");a&&a(t,r,o)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",darkTheme);function dataIndexMapValueLength(t){return t==null?0:t.length||1}function defaultKeyGetter(t){return t}var DataDiffer=function(){function t(r,o,a,u,d,g){this._old=r,this._new=o,this._oldKeyGetter=a||defaultKeyGetter,this._newKeyGetter=u||defaultKeyGetter,this.context=d,this._diffModeMultiple=g==="multiple"}return t.prototype.add=function(r){return this._add=r,this},t.prototype.update=function(r){return this._update=r,this},t.prototype.updateManyToOne=function(r){return this._updateManyToOne=r,this},t.prototype.updateOneToMany=function(r){return this._updateOneToMany=r,this},t.prototype.updateManyToMany=function(r){return this._updateManyToMany=r,this},t.prototype.remove=function(r){return this._remove=r,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var r=this._old,o=this._new,a={},u=new Array(r.length),d=new Array(o.length);this._initIndexMap(r,null,u,"_oldKeyGetter"),this._initIndexMap(o,a,d,"_newKeyGetter");for(var g=0;g1){var b=y.shift();y.length===1&&(a[v]=y[0]),this._update&&this._update(b,g)}else A===1?(a[v]=null,this._update&&this._update(y,g)):this._remove&&this._remove(g)}this._performRestAdd(d,a)},t.prototype._executeMultiple=function(){var r=this._old,o=this._new,a={},u={},d=[],g=[];this._initIndexMap(r,a,d,"_oldKeyGetter"),this._initIndexMap(o,u,g,"_newKeyGetter");for(var v=0;v1&&w===1)this._updateManyToOne&&this._updateManyToOne(b,A),u[y]=null;else if(_===1&&w>1)this._updateOneToMany&&this._updateOneToMany(b,A),u[y]=null;else if(_===1&&w===1)this._update&&this._update(b,A),u[y]=null;else if(_>1&&w>1)this._updateManyToMany&&this._updateManyToMany(b,A),u[y]=null;else if(_>1)for(var S=0;S<_;S++)this._remove&&this._remove(A[S]);else this._remove&&this._remove(A)}this._performRestAdd(g,u)},t.prototype._performRestAdd=function(r,o){for(var a=0;a1)for(var v=0;v30}var isObject$1=isObject$3,map=map$1,CtorInt32Array=typeof Int32Array=="undefined"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function t(r,o){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a,u=!1;isSeriesDataSchema(r)?(a=r.dimensions,this._dimOmitted=r.isDimensionOmitted(),this._schema=r):(u=!0,a=r),a=a||["x","y"];for(var d={},g=[],v={},y=!1,A={},b=0;b=o)){var a=this._store,u=a.getProvider();this._updateOrdinalMeta();var d=this._nameList,g=this._idList,v=u.getSource().sourceFormat,y=v===SOURCE_FORMAT_ORIGINAL;if(y&&!u.pure)for(var A=[],b=r;b0},t.prototype.ensureUniqueItemVisual=function(r,o){var a=this._itemVisuals,u=a[r];u||(u=a[r]={});var d=u[o];return d==null&&(d=this.getVisual(o),isArray$1(d)?d=d.slice():isObject$1(d)&&(d=extend({},d)),u[o]=d),d},t.prototype.setItemVisual=function(r,o,a){var u=this._itemVisuals[r]||{};this._itemVisuals[r]=u,isObject$1(o)?extend(u,o):u[o]=a},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(r,o){isObject$1(r)?extend(this._layout,r):this._layout[r]=o},t.prototype.getLayout=function(r){return this._layout[r]},t.prototype.getItemLayout=function(r){return this._itemLayouts[r]},t.prototype.setItemLayout=function(r,o,a){this._itemLayouts[r]=a?extend(this._itemLayouts[r]||{},o):o},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(r,o){var a=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(a,this.dataType,r,o),this._graphicEls[r]=o},t.prototype.getItemGraphicEl=function(r){return this._graphicEls[r]},t.prototype.eachItemGraphicEl=function(r,o){each$f(this._graphicEls,function(a,u){a&&r&&r.call(o,a,u)})},t.prototype.cloneShallow=function(r){return r||(r=new t(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(r,this),r._store=this._store,r},t.prototype.wrapMethod=function(r,o){var a=this[r];!isFunction(a)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(r),this[r]=function(){var u=a.apply(this,arguments);return o.apply(this,[u].concat(slice(arguments)))})},t.internalField=function(){prepareInvertedIndex=function(r){var o=r._invertedIndicesMap;each$f(o,function(a,u){var d=r._dimInfos[u],g=d.ordinalMeta,v=r._store;if(g){a=o[u]=new CtorInt32Array(g.categories.length);for(var y=0;y1&&(y+="__ec__"+b),u[o]=y}}}(),t}(),SeriesData$1=SeriesData;function prepareSeriesDataSchema(t,r){isSourceInstance(t)||(t=createSourceFromSeriesDataOption(t)),r=r||{};var o=r.coordDimensions||[],a=r.dimensionsDefine||t.dimensionsDefine||[],u=createHashMap(),d=[],g=getDimCount(t,o,a,r.dimensionsCount),v=r.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(g),y=a===t.dimensionsDefine,A=y?ensureSourceDimNameMap(t):createDimNameMap(a),b=r.encodeDefine;!b&&r.encodeDefaulter&&(b=r.encodeDefaulter(t,g));for(var _=createHashMap(b),w=new CtorInt32Array$1(g),S=0;S0&&(a.name=u+(d-1)),d++,r.set(u,d)}}function getDimCount(t,r,o,a){var u=Math.max(t.dimensionsDetectedCount||1,r.length,o.length,a||0);return each$f(r,function(d){var g;isObject$3(d)&&(g=d.dimsDef)&&(u=Math.max(u,g.length))}),u}function genCoordDimName(t,r,o){if(o||r.hasKey(t)){for(var a=0;r.hasKey(t+a);)a++;t+=a}return r.set(t,!0),t}var CoordSysInfo=function(){function t(r){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=r}return t}();function getCoordSysInfoBySeries(t){var r=t.get("coordinateSystem"),o=new CoordSysInfo(r),a=fetchers[r];if(a)return a(t,o,o.axisMap,o.categoryAxisMap),o}var fetchers={cartesian2d:function(t,r,o,a){var u=t.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],d=t.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["x","y"],o.set("x",u),o.set("y",d),isCategory(u)&&(a.set("x",u),r.firstCategoryDimIndex=0),isCategory(d)&&(a.set("y",d),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},singleAxis:function(t,r,o,a){var u=t.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["single"],o.set("single",u),isCategory(u)&&(a.set("single",u),r.firstCategoryDimIndex=0)},polar:function(t,r,o,a){var u=t.getReferringComponents("polar",SINGLE_REFERRING).models[0],d=u.findAxisModel("radiusAxis"),g=u.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],o.set("radius",d),o.set("angle",g),isCategory(d)&&(a.set("radius",d),r.firstCategoryDimIndex=0),isCategory(g)&&(a.set("angle",g),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},geo:function(t,r,o,a){r.coordSysDims=["lng","lat"]},parallel:function(t,r,o,a){var u=t.ecModel,d=u.getComponent("parallel",t.get("parallelIndex")),g=r.coordSysDims=d.dimensions.slice();each$f(d.parallelAxisIndex,function(v,y){var A=u.getComponent("parallelAxis",v),b=g[y];o.set(b,A),isCategory(A)&&(a.set(b,A),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=y))})}};function isCategory(t){return t.get("type")==="category"}function enableDataStack(t,r,o){o=o||{};var a=o.byIndex,u=o.stackedCoordDimension,d,g,v;isLegacyDimensionsInput(r)?d=r:(g=r.schema,d=g.dimensions,v=r.store);var y=!!(t&&t.get("stack")),A,b,_,w;if(each$f(d,function(F,O){isString$1(F)&&(d[O]=F={name:F}),y&&!F.isExtraCoord&&(!a&&!A&&F.ordinalMeta&&(A=F),!b&&F.type!=="ordinal"&&F.type!=="time"&&(!u||u===F.coordDim)&&(b=F))}),b&&!a&&!A&&(a=!0),b){_="__\0ecstackresult_"+t.id,w="__\0ecstackedover_"+t.id,A&&(A.createInvertedIndices=!0);var S=b.coordDim,C=b.type,T=0;each$f(d,function(F){F.coordDim===S&&T++});var I={name:_,coordDim:S,coordDimIndex:T,type:C,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length},E={name:w,coordDim:w,coordDimIndex:T+1,type:C,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length+1};g?(v&&(I.storeDimIndex=v.ensureCalculationDimension(w,C),E.storeDimIndex=v.ensureCalculationDimension(_,C)),g.appendCalculationDimension(I),g.appendCalculationDimension(E)):(d.push(I),d.push(E))}return{stackedDimension:b&&b.name,stackedByDimension:A&&A.name,isStackedByIndex:a,stackedOverDimension:w,stackResultDimension:_}}function isLegacyDimensionsInput(t){return!isSeriesDataSchema(t.schema)}function isDimensionStacked(t,r){return!!r&&r===t.getCalculationInfo("stackedDimension")}function getStackedDimension(t,r){return isDimensionStacked(t,r)?t.getCalculationInfo("stackResultDimension"):r}function getCoordSysDimDefs(t,r){var o=t.get("coordinateSystem"),a=CoordinateSystem.get(o),u;return r&&r.coordSysDims&&(u=map$1(r.coordSysDims,function(d){var g={name:d},v=r.axisMap.get(d);if(v){var y=v.get("type");g.type=getDimensionTypeByAxis(y)}return g})),u||(u=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),u}function injectOrdinalMeta(t,r,o){var a,u;return o&&each$f(t,function(d,g){var v=d.coordDim,y=o.categoryAxisMap.get(v);y&&(a==null&&(a=g),d.ordinalMeta=y.getOrdinalMeta(),r&&(d.createInvertedIndices=!0)),d.otherDims.itemName!=null&&(u=!0)}),!u&&a!=null&&(t[a].otherDims.itemName=0),a}function createSeriesData(t,r,o){o=o||{};var a=r.getSourceManager(),u,d=!1;t?(d=!0,u=createSourceFromSeriesDataOption(t)):(u=a.getSource(),d=u.sourceFormat===SOURCE_FORMAT_ORIGINAL);var g=getCoordSysInfoBySeries(r),v=getCoordSysDimDefs(r,g),y=o.useEncodeDefaulter,A=isFunction(y)?y:y?curry$1(makeSeriesEncodeForAxisCoordSys,v,r):null,b={coordDimensions:v,generateCoord:o.generateCoord,encodeDefine:r.getEncode(),encodeDefaulter:A,canOmitUnusedDimensions:!d},_=prepareSeriesDataSchema(u,b),w=injectOrdinalMeta(_.dimensions,o.createInvertedIndices,g),S=d?null:a.getSharedDataStore(_),C=enableDataStack(r,{schema:_,store:S}),T=new SeriesData$1(_,r);T.setCalculationInfo(C);var I=w!=null&&isNeedCompleteOrdinalData(u)?function(E,F,O,D){return D===w?O:this.defaultDimValueGetter(E,F,O,D)}:null;return T.hasItemOption=!1,T.initData(d?u:S,null,I),T}function isNeedCompleteOrdinalData(t){if(t.sourceFormat===SOURCE_FORMAT_ORIGINAL){var r=firstDataNotNull(t.data||[]);return!isArray$1(getDataItemValue(r))}}function firstDataNotNull(t){for(var r=0;ro[1]&&(o[1]=r[1])},t.prototype.unionExtentFromData=function(r,o){this.unionExtent(r.getApproximateExtent(o))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(r,o){var a=this._extent;isNaN(r)||(a[0]=r),isNaN(o)||(a[1]=o)},t.prototype.isInExtentRange=function(r){return this._extent[0]<=r&&this._extent[1]>=r},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(r){this._isBlank=r},t}();enableClassManagement(Scale);var Scale$1=Scale,uidBase=0,OrdinalMeta=function(){function t(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this.uid=++uidBase}return t.createByAxisModel=function(r){var o=r.option,a=o.data,u=a&&map$1(a,getName);return new t({categories:u,needCollect:!u,deduplication:o.dedplication!==!1})},t.prototype.getOrdinal=function(r){return this._getOrCreateMap().get(r)},t.prototype.parseAndCollect=function(r){var o,a=this._needCollect;if(!isString$1(r)&&!a)return r;if(a&&!this._deduplication)return o=this.categories.length,this.categories[o]=r,o;var u=this._getOrCreateMap();return o=u.get(r),o==null&&(a?(o=this.categories.length,this.categories[o]=r,u.set(r,o)):o=NaN),o},t.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},t}();function getName(t){return isObject$3(t)&&t.value!=null?t.value:t+""}var OrdinalMeta$1=OrdinalMeta;function isIntervalOrLogScale(t){return t.type==="interval"||t.type==="log"}function intervalScaleNiceTicks(t,r,o,a){var u={},d=t[1]-t[0],g=u.interval=nice(d/r,!0);o!=null&&ga&&(g=u.interval=a);var v=u.intervalPrecision=getIntervalPrecision(g),y=u.niceTickExtent=[round$3(Math.ceil(t[0]/g)*g,v),round$3(Math.floor(t[1]/g)*g,v)];return fixExtent(y,t),u}function increaseInterval(t){var r=Math.pow(10,quantityExponent(t)),o=t/r;return o?o===2?o=3:o===3?o=5:o*=2:o=1,round$3(o*r)}function getIntervalPrecision(t){return getPrecision(t)+2}function clamp(t,r,o){t[r]=Math.max(Math.min(t[r],o[1]),o[0])}function fixExtent(t,r){!isFinite(t[0])&&(t[0]=r[0]),!isFinite(t[1])&&(t[1]=r[1]),clamp(t,0,r),clamp(t,1,r),t[0]>t[1]&&(t[0]=t[1])}function contain$1(t,r){return t>=r[0]&&t<=r[1]}function normalize$2(t,r){return r[1]===r[0]?.5:(t-r[0])/(r[1]-r[0])}function scale(t,r){return t*(r[1]-r[0])+r[0]}var OrdinalScale=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;a.type="ordinal";var u=a.getSetting("ordinalMeta");return u||(u=new OrdinalMeta$1({})),isArray$1(u)&&(u=new OrdinalMeta$1({categories:map$1(u,function(d){return isObject$3(d)?d.value:d})})),a._ordinalMeta=u,a._extent=a.getSetting("extent")||[0,u.categories.length-1],a}return r.prototype.parse=function(o){return o==null?NaN:isString$1(o)?this._ordinalMeta.getOrdinal(o):Math.round(o)},r.prototype.contain=function(o){return o=this.parse(o),contain$1(o,this._extent)&&this._ordinalMeta.categories[o]!=null},r.prototype.normalize=function(o){return o=this._getTickNumber(this.parse(o)),normalize$2(o,this._extent)},r.prototype.scale=function(o){return o=Math.round(scale(o,this._extent)),this.getRawOrdinalNumber(o)},r.prototype.getTicks=function(){for(var o=[],a=this._extent,u=a[0];u<=a[1];)o.push({value:u}),u++;return o},r.prototype.getMinorTicks=function(o){},r.prototype.setSortInfo=function(o){if(o==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=o.ordinalNumbers,u=this._ordinalNumbersByTick=[],d=this._ticksByOrdinalNumber=[],g=0,v=this._ordinalMeta.categories.length,y=Math.min(v,a.length);g=0&&o=0&&o=o},r.prototype.getOrdinalMeta=function(){return this._ordinalMeta},r.prototype.calcNiceTicks=function(){},r.prototype.calcNiceExtent=function(){},r.type="ordinal",r}(Scale$1);Scale$1.registerClass(OrdinalScale);var OrdinalScale$1=OrdinalScale,roundNumber=round$3,IntervalScale=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="interval",o._interval=0,o._intervalPrecision=2,o}return r.prototype.parse=function(o){return o},r.prototype.contain=function(o){return contain$1(o,this._extent)},r.prototype.normalize=function(o){return normalize$2(o,this._extent)},r.prototype.scale=function(o){return scale(o,this._extent)},r.prototype.setExtent=function(o,a){var u=this._extent;isNaN(o)||(u[0]=parseFloat(o)),isNaN(a)||(u[1]=parseFloat(a))},r.prototype.unionExtent=function(o){var a=this._extent;o[0]a[1]&&(a[1]=o[1]),this.setExtent(a[0],a[1])},r.prototype.getInterval=function(){return this._interval},r.prototype.setInterval=function(o){this._interval=o,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(o)},r.prototype.getTicks=function(o){var a=this._interval,u=this._extent,d=this._niceExtent,g=this._intervalPrecision,v=[];if(!a)return v;var y=1e4;u[0]y)return[];var b=v.length?v[v.length-1].value:d[1];return u[1]>b&&(o?v.push({value:roundNumber(b+a,g)}):v.push({value:u[1]})),v},r.prototype.getMinorTicks=function(o){for(var a=this.getTicks(!0),u=[],d=this.getExtent(),g=1;gd[0]&&S0&&(d=d===null?v:Math.min(d,v))}o[a]=d}}return o}function makeColumnLayout(t){var r=getValueAxesMinGaps(t),o=[];return each$f(t,function(a){var u=a.coordinateSystem,d=u.getBaseAxis(),g=d.getExtent(),v;if(d.type==="category")v=d.getBandWidth();else if(d.type==="value"||d.type==="time"){var y=d.dim+"_"+d.index,A=r[y],b=Math.abs(g[1]-g[0]),_=d.scale.getExtent(),w=Math.abs(_[1]-_[0]);v=A?b/w*A:b}else{var S=a.getData();v=Math.abs(g[1]-g[0])/S.count()}var C=parsePercent(a.get("barWidth"),v),T=parsePercent(a.get("barMaxWidth"),v),I=parsePercent(a.get("barMinWidth")||(isInLargeMode(a)?.5:1),v),E=a.get("barGap"),F=a.get("barCategoryGap");o.push({bandWidth:v,barWidth:C,barMaxWidth:T,barMinWidth:I,barGap:E,barCategoryGap:F,axisKey:getAxisKey$1(d),stackId:getSeriesStackId$1(a)})}),doCalBarWidthAndOffset(o)}function doCalBarWidthAndOffset(t){var r={};each$f(t,function(a,u){var d=a.axisKey,g=a.bandWidth,v=r[d]||{bandWidth:g,remainedWidth:g,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},y=v.stacks;r[d]=v;var A=a.stackId;y[A]||v.autoWidthCount++,y[A]=y[A]||{width:0,maxWidth:0};var b=a.barWidth;b&&!y[A].width&&(y[A].width=b,b=Math.min(v.remainedWidth,b),v.remainedWidth-=b);var _=a.barMaxWidth;_&&(y[A].maxWidth=_);var w=a.barMinWidth;w&&(y[A].minWidth=w);var S=a.barGap;S!=null&&(v.gap=S);var C=a.barCategoryGap;C!=null&&(v.categoryGap=C)});var o={};return each$f(r,function(a,u){o[u]={};var d=a.stacks,g=a.bandWidth,v=a.categoryGap;if(v==null){var y=keys(d).length;v=Math.max(35-y*4,15)+"%"}var A=parsePercent(v,g),b=parsePercent(a.gap,1),_=a.remainedWidth,w=a.autoWidthCount,S=(_-A)/(w+(w-1)*b);S=Math.max(S,0),each$f(d,function(E){var F=E.maxWidth,O=E.minWidth;if(E.width){var D=E.width;F&&(D=Math.min(D,F)),O&&(D=Math.max(D,O)),E.width=D,_-=D+b*D,w--}else{var D=S;F&&FD&&(D=O),D!==S&&(E.width=D,_-=D+b*D,w--)}}),S=(_-A)/(w+(w-1)*b),S=Math.max(S,0);var C=0,T;each$f(d,function(E,F){E.width||(E.width=S),T=E,C+=E.width*(1+b)}),T&&(C-=T.width*b);var I=-C/2;each$f(d,function(E,F){o[u][F]=o[u][F]||{bandWidth:g,offset:I,width:E.width},I+=E.width*(1+b)})}),o}function retrieveColumnLayout(t,r,o){if(t&&r){var a=t[getAxisKey$1(r)];return a!=null&&o!=null?a[getSeriesStackId$1(o)]:a}}function layout$3(t,r){var o=prepareLayoutBarSeries(t,r),a=makeColumnLayout(o);each$f(o,function(u){var d=u.getData(),g=u.coordinateSystem,v=g.getBaseAxis(),y=getSeriesStackId$1(u),A=a[getAxisKey$1(v)][y],b=A.offset,_=A.width;d.setLayout({bandWidth:A.bandWidth,offset:b,size:_})})}function createProgressiveLayout(t){return{seriesType:t,plan:createRenderPlanner(),reset:function(r){if(!!isOnCartesian(r)){var o=r.getData(),a=r.coordinateSystem,u=a.getBaseAxis(),d=a.getOtherAxis(u),g=o.getDimensionIndex(o.mapDimension(d.dim)),v=o.getDimensionIndex(o.mapDimension(u.dim)),y=r.get("showBackground",!0),A=o.mapDimension(d.dim),b=o.getCalculationInfo("stackResultDimension"),_=isDimensionStacked(o,A)&&!!o.getCalculationInfo("stackedOnSeries"),w=d.isHorizontal(),S=getValueAxisStart(u,d),C=isInLargeMode(r),T=r.get("barMinHeight")||0,I=b&&o.getDimensionIndex(b),E=o.getLayout("size"),F=o.getLayout("offset");return{progress:function(O,D){for(var x=O.count,P=C&&createFloat32Array(x*3),G=C&&y&&createFloat32Array(x*3),M=C&&createFloat32Array(x),N=a.master.getRect(),V=w?N.width:N.height,Y,H=D.getStore(),B=0;(Y=O.next())!=null;){var z=H.get(_?I:g,Y),U=H.get(v,Y),Q=S,X=void 0;_&&(X=+z-H.get(g,Y));var J=void 0,ne=void 0,te=void 0,ce=void 0;if(w){var se=a.dataToPoint([z,U]);if(_){var ge=a.dataToPoint([X,U]);Q=ge[0]}J=Q,ne=se[1]+F,te=se[0]-Q,ce=E,Math.abs(te)0?o:1:o))}var bisect=function(t,r,o,a){for(;o>>1;t[u][1]u&&(this._approxInterval=u);var v=scaleIntervals.length,y=Math.min(bisect(scaleIntervals,this._approxInterval,0,v),v-1);this._interval=scaleIntervals[y][1],this._minLevelUnit=scaleIntervals[Math.max(y-1,0)][0]},r.prototype.parse=function(o){return isNumber$1(o)?o:+parseDate(o)},r.prototype.contain=function(o){return contain$1(this.parse(o),this._extent)},r.prototype.normalize=function(o){return normalize$2(this.parse(o),this._extent)},r.prototype.scale=function(o){return scale(o,this._extent)},r.type="time",r}(IntervalScale$1),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(t,r,o,a){var u=parseDate(r),d=parseDate(o),g=function(C){return getUnitValue(u,C,a)===getUnitValue(d,C,a)},v=function(){return g("year")},y=function(){return v()&&g("month")},A=function(){return y()&&g("day")},b=function(){return A()&&g("hour")},_=function(){return b()&&g("minute")},w=function(){return _()&&g("second")},S=function(){return w()&&g("millisecond")};switch(t){case"year":return v();case"month":return y();case"day":return A();case"hour":return b();case"minute":return _();case"second":return w();case"millisecond":return S()}}function getDateInterval(t,r){return t/=ONE_DAY,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function getMonthInterval(t){var r=30*ONE_DAY;return t/=r,t>6?6:t>3?3:t>2?2:1}function getHourInterval(t){return t/=ONE_HOUR,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function getMinutesAndSecondsInterval(t,r){return t/=r?ONE_MINUTE:ONE_SECOND,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function getMillisecondsInterval(t){return nice(t,!0)}function getFirstTimestampOfUnit(t,r,o){var a=new Date(t);switch(getPrimaryTimeUnit(r)){case"year":case"month":a[monthSetterName(o)](0);case"day":a[dateSetterName(o)](1);case"hour":a[hoursSetterName(o)](0);case"minute":a[minutesSetterName(o)](0);case"second":a[secondsSetterName(o)](0),a[millisecondsSetterName(o)](0)}return a.getTime()}function getIntervalTicks(t,r,o,a){var u=1e4,d=timeUnits,g=0;function v(V,Y,H,B,z,U,Q){for(var X=new Date(Y),J=Y,ne=X[B]();J1&&U===0&&H.unshift({value:H[0].value-J})}}for(var U=0;U=a[0]&&F<=a[1]&&_++)}var O=(a[1]-a[0])/r;if(_>O*1.5&&w>O/1.5||(A.push(I),_>O||t===d[S]))break}b=[]}}}for(var D=filter(map$1(A,function(V){return filter(V,function(Y){return Y.value>=a[0]&&Y.value<=a[1]&&!Y.notAdd})}),function(V){return V.length>0}),x=[],P=D.length-1,S=0;S0;)d*=10;var v=[round$3(mathCeil$1(a[0]/d)*d),round$3(mathFloor$1(a[1]/d)*d)];this._interval=d,this._niceExtent=v}},r.prototype.calcNiceExtent=function(o){intervalScaleProto.calcNiceExtent.call(this,o),this._fixMin=o.fixMin,this._fixMax=o.fixMax},r.prototype.parse=function(o){return o},r.prototype.contain=function(o){return o=mathLog$1(o)/mathLog$1(this.base),contain$1(o,this._extent)},r.prototype.normalize=function(o){return o=mathLog$1(o)/mathLog$1(this.base),normalize$2(o,this._extent)},r.prototype.scale=function(o){return o=scale(o,this._extent),mathPow$1(this.base,o)},r.type="log",r}(Scale$1),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(t,r){return roundingErrorFix(t,getPrecision(r))}Scale$1.registerClass(LogScale);var LogScale$1=LogScale,ScaleRawExtentInfo=function(){function t(r,o,a){this._prepareParams(r,o,a)}return t.prototype._prepareParams=function(r,o,a){a[1]0&&y>0&&!A&&(v=0),v<0&&y<0&&!b&&(y=0));var w=this._determinedMin,S=this._determinedMax;return w!=null&&(v=w,A=!0),S!=null&&(y=S,b=!0),{min:v,max:y,minFixed:A,maxFixed:b,isBlank:_}},t.prototype.modifyDataMinMax=function(r,o){this[DATA_MIN_MAX_ATTR[r]]=o},t.prototype.setDeterminedMinMax=function(r,o){var a=DETERMINED_MIN_MAX_ATTR[r];this[a]=o},t.prototype.freeze=function(){this.frozen=!0},t}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(t,r,o){var a=t.rawExtentInfo;return a||(a=new ScaleRawExtentInfo(t,r,o),t.rawExtentInfo=a,a)}function parseAxisModelMinMax(t,r){return r==null?null:eqNaN(r)?NaN:t.parse(r)}function getScaleExtent(t,r){var o=t.type,a=ensureScaleRawExtentInfo(t,r,t.getExtent()).calculate();t.setBlank(a.isBlank);var u=a.min,d=a.max,g=r.ecModel;if(g&&o==="time"){var v=prepareLayoutBarSeries("bar",g),y=!1;if(each$f(v,function(_){y=y||_.getBaseAxis()===r.axis}),y){var A=makeColumnLayout(v),b=adjustScaleForOverflow(u,d,r,A);u=b.min,d=b.max}}return{extent:[u,d],fixMin:a.minFixed,fixMax:a.maxFixed}}function adjustScaleForOverflow(t,r,o,a){var u=o.axis.getExtent(),d=u[1]-u[0],g=retrieveColumnLayout(a,o.axis);if(g===void 0)return{min:t,max:r};var v=1/0;each$f(g,function(S){v=Math.min(S.offset,v)});var y=-1/0;each$f(g,function(S){y=Math.max(S.offset+S.width,y)}),v=Math.abs(v),y=Math.abs(y);var A=v+y,b=r-t,_=1-(v+y)/d,w=b/_-b;return r+=w*(y/A),t-=w*(v/A),{min:t,max:r}}function niceScaleExtent(t,r){var o=r,a=getScaleExtent(t,o),u=a.extent,d=o.get("splitNumber");t instanceof LogScale$1&&(t.base=o.get("logBase"));var g=t.type,v=o.get("interval"),y=g==="interval"||g==="time";t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:d,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:y?o.get("minInterval"):null,maxInterval:y?o.get("maxInterval"):null}),v!=null&&t.setInterval&&t.setInterval(v)}function createScaleByModel$1(t,r){if(r=r||t.get("type"),r)switch(r){case"category":return new OrdinalScale$1({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale$1({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Scale$1.getClass(r)||IntervalScale$1)}}function ifAxisCrossZero(t){var r=t.scale.getExtent(),o=r[0],a=r[1];return!(o>0&&a>0||o<0&&a<0)}function makeLabelFormatter(t){var r=t.getLabelModel().get("formatter"),o=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(a){return function(u,d){return t.scale.getFormattedLabel(u,d,a)}}(r):isString$1(r)?function(a){return function(u){var d=t.scale.getLabel(u),g=a.replace("{value}",d!=null?d:"");return g}}(r):isFunction(r)?function(a){return function(u,d){return o!=null&&(d=u.value-o),a(getAxisRawValue(t,u),d,u.level!=null?{level:u.level}:null)}}(r):function(a){return t.scale.getLabel(a)}}function getAxisRawValue(t,r){return t.type==="category"?t.scale.getLabel(r):r.value}function estimateLabelUnionRect(t){var r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a,u,d=o.getExtent();o instanceof OrdinalScale$1?u=o.count():(a=o.getTicks(),u=a.length);var g=t.getLabelModel(),v=makeLabelFormatter(t),y,A=1;u>40&&(A=Math.ceil(u/40));for(var b=0;bt[1]&&(t[1]=u[1])})}var AxisModelCommonMixin=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var r=this.option;return!r.scale},t.prototype.getCoordSysModel=function(){},t}(),extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,SeriesModel:SeriesModel$1,ChartView:ChartView$1,registerComponentModel:function(t){ComponentModel$1.registerClass(t)},registerComponentView:function(t){ComponentView$1.registerClass(t)},registerSeriesModel:function(t){SeriesModel$1.registerClass(t)},registerChartView:function(t){ChartView$1.registerClass(t)},registerSubTypeDefaulter:function(t,r){ComponentModel$1.registerSubTypeDefaulter(t,r)},registerPainter:function(t,r){registerPainter(t,r)}};function use(t){if(isArray$1(t)){each$f(t,function(r){use(r)});return}indexOf$1(extensions,t)>=0||(extensions.push(t),isFunction(t)&&(t={install:t}),t.install(extensionRegisters))}var EPSILON=1e-8;function isAroundEqual(t,r){return Math.abs(t-r)u&&(a=g,u=y)}if(a)return centroid$1(a.exterior);var A=this.getBoundingRect();return[A.x+A.width/2,A.y+A.height/2]},r.prototype.getBoundingRect=function(o){var a=this._rect;if(a&&!o)return a;var u=[1/0,1/0],d=[-1/0,-1/0],g=this.geometries;return each$f(g,function(v){v.type==="polygon"?updateBBoxFromPoints(v.exterior,u,d,o):each$f(v.points,function(y){updateBBoxFromPoints(y,u,d,o)})}),isFinite(u[0])&&isFinite(u[1])&&isFinite(d[0])&&isFinite(d[1])||(u[0]=u[1]=d[0]=d[1]=0),a=new BoundingRect$1(u[0],u[1],d[0]-u[0],d[1]-u[1]),o||(this._rect=a),a},r.prototype.contain=function(o){var a=this.getBoundingRect(),u=this.geometries;if(!a.contain(o[0],o[1]))return!1;e:for(var d=0,g=u.length;d>1^-(v&1),y=y>>1^-(y&1),v+=u,y+=d,u=v,d=y,a.push([v/o,y/o])}return a}function parseGeoJSON(t,r){return t=decode(t),map$1(filter(t.features,function(o){return o.geometry&&o.properties&&o.geometry.coordinates.length>0}),function(o){var a=o.properties,u=o.geometry,d=[];switch(u.type){case"Polygon":var g=u.coordinates;d.push(new GeoJSONPolygonGeometry(g[0],g.slice(1)));break;case"MultiPolygon":each$f(u.coordinates,function(y){y[0]&&d.push(new GeoJSONPolygonGeometry(y[0],y.slice(1)))});break;case"LineString":d.push(new GeoJSONLineStringGeometry([u.coordinates]));break;case"MultiLineString":d.push(new GeoJSONLineStringGeometry(u.coordinates))}var v=new GeoJSONRegion(a[r||"name"],d,a.cp);return v.properties=a,v})}var inner$g=makeInner();function tickValuesToNumbers(t,r){var o=map$1(r,function(a){return t.scale.parse(a)});return t.type==="time"&&o.length>0&&(o.sort(),o.unshift(o[0]),o.push(o[o.length-1])),o}function createAxisLabels(t){var r=t.getLabelModel().get("customValues");if(r){var o=makeLabelFormatter(t);return{labels:tickValuesToNumbers(t,r).map(function(a){var u={value:a};return{formattedLabel:o(u),rawLabel:t.scale.getLabel(u),tickValue:a}})}}return t.type==="category"?makeCategoryLabels(t):makeRealNumberLabels(t)}function createAxisTicks(t,r){var o=t.getTickModel().get("customValues");return o?{ticks:tickValuesToNumbers(t,o)}:t.type==="category"?makeCategoryTicks(t,r):{ticks:map$1(t.scale.getTicks(),function(a){return a.value})}}function makeCategoryLabels(t){var r=t.getLabelModel(),o=makeCategoryLabelsActually(t,r);return!r.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:o.labelCategoryInterval}:o}function makeCategoryLabelsActually(t,r){var o=getListCache(t,"labels"),a=getOptionCategoryInterval(r),u=listCacheGet(o,a);if(u)return u;var d,g;return isFunction(a)?d=makeLabelsByCustomizedCategoryInterval(t,a):(g=a==="auto"?makeAutoCategoryInterval(t):a,d=makeLabelsByNumericCategoryInterval(t,g)),listCacheSet(o,a,{labels:d,labelCategoryInterval:g})}function makeCategoryTicks(t,r){var o=getListCache(t,"ticks"),a=getOptionCategoryInterval(r),u=listCacheGet(o,a);if(u)return u;var d,g;if((!r.get("show")||t.scale.isBlank())&&(d=[]),isFunction(a))d=makeLabelsByCustomizedCategoryInterval(t,a,!0);else if(a==="auto"){var v=makeCategoryLabelsActually(t,t.getLabelModel());g=v.labelCategoryInterval,d=map$1(v.labels,function(y){return y.tickValue})}else g=a,d=makeLabelsByNumericCategoryInterval(t,g,!0);return listCacheSet(o,a,{ticks:d,tickCategoryInterval:g})}function makeRealNumberLabels(t){var r=t.scale.getTicks(),o=makeLabelFormatter(t);return{labels:map$1(r,function(a,u){return{level:a.level,formattedLabel:o(a,u),rawLabel:t.scale.getLabel(a),tickValue:a.value}})}}function getListCache(t,r){return inner$g(t)[r]||(inner$g(t)[r]=[])}function listCacheGet(t,r){for(var o=0;o40&&(v=Math.max(1,Math.floor(g/40)));for(var y=d[0],A=t.dataToCoord(y+1)-t.dataToCoord(y),b=Math.abs(A*Math.cos(a)),_=Math.abs(A*Math.sin(a)),w=0,S=0;y<=d[1];y+=v){var C=0,T=0,I=getBoundingRect(o({value:y}),r.font,"center","top");C=I.width*1.3,T=I.height*1.3,w=Math.max(w,C,7),S=Math.max(S,T,7)}var E=w/b,F=S/_;isNaN(E)&&(E=1/0),isNaN(F)&&(F=1/0);var O=Math.max(0,Math.floor(Math.min(E,F))),D=inner$g(t.model),x=t.getExtent(),P=D.lastAutoInterval,G=D.lastTickCount;return P!=null&&G!=null&&Math.abs(P-O)<=1&&Math.abs(G-g)<=1&&P>O&&D.axisExtent0===x[0]&&D.axisExtent1===x[1]?O=P:(D.lastTickCount=g,D.lastAutoInterval=O,D.axisExtent0=x[0],D.axisExtent1=x[1]),O}function fetchAutoCategoryIntervalCalculationParams(t){var r=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:r.get("rotate")||0,font:r.getFont()}}function makeLabelsByNumericCategoryInterval(t,r,o){var a=makeLabelFormatter(t),u=t.scale,d=u.getExtent(),g=t.getLabelModel(),v=[],y=Math.max((r||0)+1,1),A=d[0],b=u.count();A!==0&&y>1&&b/y>2&&(A=Math.round(Math.ceil(A/y)*y));var _=shouldShowAllLabels(t),w=g.get("showMinLabel")||_,S=g.get("showMaxLabel")||_;w&&A!==d[0]&&T(d[0]);for(var C=A;C<=d[1];C+=y)T(C);S&&C-y!==d[1]&&T(d[1]);function T(I){var E={value:I};v.push(o?I:{formattedLabel:a(E),rawLabel:u.getLabel(E),tickValue:I})}return v}function makeLabelsByCustomizedCategoryInterval(t,r,o){var a=t.scale,u=makeLabelFormatter(t),d=[];return each$f(a.getTicks(),function(g){var v=a.getLabel(g),y=g.value;r(g.value,v)&&d.push(o?y:{formattedLabel:u(g),rawLabel:v,tickValue:y})}),d}var NORMALIZED_EXTENT=[0,1],Axis=function(){function t(r,o,a){this.onBand=!1,this.inverse=!1,this.dim=r,this.scale=o,this._extent=a||[0,0]}return t.prototype.contain=function(r){var o=this._extent,a=Math.min(o[0],o[1]),u=Math.max(o[0],o[1]);return r>=a&&r<=u},t.prototype.containData=function(r){return this.scale.contain(r)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(r){return getPixelPrecision(r||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(r,o){var a=this._extent;a[0]=r,a[1]=o},t.prototype.dataToCoord=function(r,o){var a=this._extent,u=this.scale;return r=u.normalize(r),this.onBand&&u.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,u.count())),linearMap$2(r,NORMALIZED_EXTENT,a,o)},t.prototype.coordToData=function(r,o){var a=this._extent,u=this.scale;this.onBand&&u.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,u.count()));var d=linearMap$2(r,a,NORMALIZED_EXTENT,o);return this.scale.scale(d)},t.prototype.pointToData=function(r,o){},t.prototype.getTicksCoords=function(r){r=r||{};var o=r.tickModel||this.getTickModel(),a=createAxisTicks(this,o),u=a.ticks,d=map$1(u,function(v){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(v):v),tickValue:v}},this),g=o.get("alignWithLabel");return fixOnBandTicksCoords(this,d,g,r.clamp),d},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var r=this.model.getModel("minorTick"),o=r.get("splitNumber");o>0&&o<100||(o=5);var a=this.scale.getMinorTicks(o),u=map$1(a,function(d){return map$1(d,function(g){return{coord:this.dataToCoord(g),tickValue:g}},this)},this);return u},t.prototype.getViewLabels=function(){return createAxisLabels(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var r=this._extent,o=this.scale.getExtent(),a=o[1]-o[0]+(this.onBand?1:0);a===0&&(a=1);var u=Math.abs(r[1]-r[0]);return Math.abs(u)/a},t.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},t}();function fixExtentWithBands(t,r){var o=t[1]-t[0],a=r,u=o/a/2;t[0]+=u,t[1]-=u}function fixOnBandTicksCoords(t,r,o,a){var u=r.length;if(!t.onBand||o||!u)return;var d=t.getExtent(),g,v;if(u===1)r[0].coord=d[0],g=r[1]={coord:d[1]};else{var y=r[u-1].tickValue-r[0].tickValue,A=(r[u-1].coord-r[0].coord)/y;each$f(r,function(S){S.coord-=A/2});var b=t.scale.getExtent();v=1+b[1]-r[u-1].tickValue,g={coord:r[u-1].coord+A*v},r.push(g)}var _=d[0]>d[1];w(r[0].coord,d[0])&&(a?r[0].coord=d[0]:r.shift()),a&&w(d[0],r[0].coord)&&r.unshift({coord:d[0]}),w(d[1],g.coord)&&(a?g.coord=d[1]:r.pop()),a&&w(g.coord,d[1])&&r.push({coord:d[1]});function w(S,C){return S=round$3(S),C=round$3(C),_?S>C:Su&&(u+=PI2$2);var S=Math.atan2(v,g);if(S<0&&(S+=PI2$2),S>=a&&S<=u||S+PI2$2>=a&&S+PI2$2<=u)return y[0]=b,y[1]=_,A-o;var C=o*Math.cos(a)+t,T=o*Math.sin(a)+r,I=o*Math.cos(u)+t,E=o*Math.sin(u)+r,F=(C-g)*(C-g)+(T-v)*(T-v),O=(I-g)*(I-g)+(E-v)*(E-v);return F0){r=r/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var o=dir.len(),a=dir2.len();if(!(o<.001||a<.001)){dir.scale(1/o),dir2.scale(1/a);var u=dir.dot(dir2),d=Math.cos(r);if(d1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(t[1])}}}}function limitSurfaceAngle(t,r,o){if(o<=180&&o>0){o=o/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt1,pt0),Point$1.sub(dir2,pt2,pt1);var a=dir.len(),u=dir2.len();if(!(a<.001||u<.001)){dir.scale(1/a),dir2.scale(1/u);var d=dir.dot(r),g=Math.cos(o);if(d=y)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,v/Math.tan(Math.PI/2-b));var _=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(_))return;_<0?Point$1.copy(tmpProjPoint,pt1):_>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(t[1])}}}}function setLabelLineState(t,r,o,a){var u=o==="normal",d=u?t:t.ensureState(o);d.ignore=r;var g=a.get("smooth");g&&g===!0&&(g=.3),d.shape=d.shape||{},g>0&&(d.shape.smooth=g);var v=a.getModel("lineStyle").getLineStyle();u?t.useStyle(v):d.style=v}function buildLabelLinePath(t,r){var o=r.smooth,a=r.points;if(!!a)if(t.moveTo(a[0][0],a[0][1]),o>0&&a.length>=3){var u=dist$2(a[0],a[1]),d=dist$2(a[1],a[2]);if(!u||!d){t.lineTo(a[1][0],a[1][1]),t.lineTo(a[2][0],a[2][1]);return}var g=Math.min(u,d)*o,v=lerp$1([],a[1],a[0],g/u),y=lerp$1([],a[1],a[2],g/d),A=lerp$1([],v,y,.5);t.bezierCurveTo(v[0],v[1],v[0],v[1],A[0],A[1]),t.bezierCurveTo(y[0],y[1],y[0],y[1],a[2][0],a[2][1])}else for(var b=1;b0&&d&&x(-b/g,0,g);var T=t[0],I=t[g-1],E,F;O(),E<0&&P(-E,.8),F<0&&P(F,.8),O(),D(E,F,1),D(F,E,-1),O(),E<0&&G(-E),F<0&&G(F);function O(){E=T.rect[r]-a,F=u-I.rect[r]-I.rect[o]}function D(M,N,V){if(M<0){var Y=Math.min(N,-M);if(Y>0){x(Y*V,0,g);var H=Y+M;H<0&&P(-H*V,1)}else P(-M*V,1)}}function x(M,N,V){M!==0&&(A=!0);for(var Y=N;Y0)for(var H=0;H0;H--){var Q=V[H-1]*U;x(-Q,H,g)}}}function G(M){var N=M<0?-1:1;M=Math.abs(M);for(var V=Math.ceil(M/(g-1)),Y=0;Y0?x(V,0,Y+1):x(-V,g-Y-1,g),M-=V,M<=0)return}return A}function shiftLayoutOnX(t,r,o,a){return shiftLayout(t,"x","width",r,o,a)}function shiftLayoutOnY(t,r,o,a){return shiftLayout(t,"y","height",r,o,a)}function hideOverlap(t){var r=[];t.sort(function(T,I){return I.priority-T.priority});var o=new BoundingRect$1(0,0,0,0);function a(T){if(!T.ignore){var I=T.ensureState("emphasis");I.ignore==null&&(I.ignore=!1)}T.ignore=!0}for(var u=0;u=0&&a.attr(d.oldLayoutSelect),indexOf$1(w,"emphasis")>=0&&a.attr(d.oldLayoutEmphasis)),updateProps$1(a,A,o,y)}else if(a.attr(A),!labelInner(a).valueAnimation){var _=retrieve2(a.style.opacity,1);a.style.opacity=0,initProps(a,{style:{opacity:_}},o,y)}if(d.oldLayout=A,a.states.select){var S=d.oldLayoutSelect={};extendWithKeys(S,A,LABEL_LAYOUT_PROPS),extendWithKeys(S,a.states.select,LABEL_LAYOUT_PROPS)}if(a.states.emphasis){var C=d.oldLayoutEmphasis={};extendWithKeys(C,A,LABEL_LAYOUT_PROPS),extendWithKeys(C,a.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(a,y,b,o,o)}if(u&&!u.ignore&&!u.invisible){var d=labelLineAnimationStore(u),g=d.oldLayout,T={points:u.shape.points};g?(u.attr({shape:g}),updateProps$1(u,{shape:T},o)):(u.setShape(T),u.style.strokePercent=0,initProps(u,{style:{strokePercent:1}},o)),d.oldLayout=T}},t}(),LabelManager$1=LabelManager,getLabelManager=makeInner();function installLabelLayout(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,o,a){var u=getLabelManager(o).labelManager;u||(u=getLabelManager(o).labelManager=new LabelManager$1),u.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(r,o,a){var u=getLabelManager(o).labelManager;a.updatedSeries.forEach(function(d){u.addLabelsOfSeries(o.getViewOfSeriesModel(d))}),u.updateLayoutConfig(o),u.layout(o),u.processLabelsOverall()})}const METHOD_NAMES=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function usePublicAPI(t){function r(a){return(...u)=>{if(!t.value)throw new Error("ECharts is not initialized yet.");return t.value[a].apply(t.value,u)}}function o(){const a=Object.create(null);return METHOD_NAMES.forEach(u=>{a[u]=r(u)}),a}return o()}function useAutoresize(t,r,o){watch([o,t,r],([a,u,d],g,v)=>{let y=null;if(a&&u&&d){const{offsetWidth:A,offsetHeight:b}=a,_=d===!0?{}:d,{throttle:w=100,onResize:S}=_;let C=!1;const T=()=>{u.resize(),S==null||S()},I=w?throttle(T,w):T;y=new ResizeObserver(()=>{!C&&(C=!0,a.offsetWidth===A&&a.offsetHeight===b)||I()}),y.observe(a)}v(()=>{y&&(y.disconnect(),y=null)})})}const autoresizeProps={autoresize:[Boolean,Object]},onRE=/^on[^a-z]/,isOn=t=>onRE.test(t);function omitOn(t){const r={};for(const o in t)isOn(o)||(r[o]=t[o]);return r}function unwrapInjected(t,r){const o=isRef(t)?unref(t):t;return o&&typeof o=="object"&&"value"in o?o.value||r:o||r}const LOADING_OPTIONS_KEY="ecLoadingOptions";function useLoading(t,r,o){const a=inject(LOADING_OPTIONS_KEY,{}),u=computed(()=>({...unwrapInjected(a,{}),...o==null?void 0:o.value}));watchEffect(()=>{const d=t.value;!d||(r.value?d.showLoading(u.value):d.hideLoading())})}const loadingProps={loading:Boolean,loadingOptions:Object};let registered$1=null;const TAG_NAME="x-vue-echarts";function register$3(){if(registered$1!=null)return registered$1;if(typeof HTMLElement=="undefined"||typeof customElements=="undefined")return registered$1=!1;try{new Function("tag","class EChartsElement extends HTMLElement{__dispose=null;disconnectedCallback(){this.__dispose&&(this.__dispose(),this.__dispose=null)}}customElements.get(tag)==null&&customElements.define(tag,EChartsElement);")(TAG_NAME)}catch(t){return registered$1=!1}return registered$1=!0}document.head.appendChild(document.createElement("style")).textContent=`x-vue-echarts{display:block;width:100%;height:100%;min-width:0} -`;const wcRegistered=register$3(),THEME_KEY="ecTheme",INIT_OPTIONS_KEY="ecInitOptions",UPDATE_OPTIONS_KEY="ecUpdateOptions",NATIVE_EVENT_RE=/(^&?~?!?)native:/;var ECharts=defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...autoresizeProps,...loadingProps},emits:{},inheritAttrs:!1,setup(t,{attrs:r}){const o=shallowRef(),a=shallowRef(),u=shallowRef(),d=inject(THEME_KEY,null),g=inject(INIT_OPTIONS_KEY,null),v=inject(UPDATE_OPTIONS_KEY,null),{autoresize:y,manualUpdate:A,loading:b,loadingOptions:_}=toRefs(t),w=computed(()=>u.value||t.option||null),S=computed(()=>t.theme||unwrapInjected(d,{})),C=computed(()=>t.initOptions||unwrapInjected(g,{})),T=computed(()=>t.updateOptions||unwrapInjected(v,{})),I=computed(()=>omitOn(r)),E={},F=getCurrentInstance().proxy.$listeners,O={};F?Object.keys(F).forEach(N=>{NATIVE_EVENT_RE.test(N)?E[N.replace(NATIVE_EVENT_RE,"$1")]=F[N]:O[N]=F[N]}):Object.keys(r).filter(N=>isOn(N)).forEach(N=>{let V=N.charAt(2).toLowerCase()+N.slice(3);if(V.indexOf("native:")===0){const Y=`on${V.charAt(7).toUpperCase()}${V.slice(8)}`;E[Y]=r[N];return}V.substring(V.length-4)==="Once"&&(V=`~${V.substring(0,V.length-4)}`),O[V]=r[N]});function D(N){if(!o.value)return;const V=a.value=init$1(o.value,S.value,C.value);t.group&&(V.group=t.group),Object.keys(O).forEach(B=>{let z=O[B];if(!z)return;let U=B.toLowerCase();U.charAt(0)==="~"&&(U=U.substring(1),z.__once__=!0);let Q=V;if(U.indexOf("zr:")===0&&(Q=V.getZr(),U=U.substring(3)),z.__once__){delete z.__once__;const X=z;z=(...J)=>{X(...J),Q.off(U,z)}}Q.on(U,z)});function Y(){V&&!V.isDisposed()&&V.resize()}function H(){const B=N||w.value;B&&V.setOption(B,T.value)}y.value?nextTick(()=>{Y(),H()}):H()}function x(N,V){t.manualUpdate&&(u.value=N),a.value?a.value.setOption(N,V||{}):D(N)}function P(){a.value&&(a.value.dispose(),a.value=void 0)}let G=null;watch(A,N=>{typeof G=="function"&&(G(),G=null),N||(G=watch(()=>t.option,(V,Y)=>{!V||(a.value?a.value.setOption(V,{notMerge:V!==Y,...T.value}):D())},{deep:!0}))},{immediate:!0}),watch([S,C],()=>{P(),D()},{deep:!0}),watchEffect(()=>{t.group&&a.value&&(a.value.group=t.group)});const M=usePublicAPI(a);return useLoading(a,b,_),useAutoresize(a,y,o),onMounted(()=>{D()}),onBeforeUnmount(()=>{wcRegistered&&o.value?o.value.__dispose=P:P()}),{chart:a,root:o,setOption:x,nonEventAttrs:I,nativeListeners:E,...M}},render(){const t={...this.nonEventAttrs,...this.nativeListeners};return t.ref="root",t.class=t.class?["echarts"].concat(t.class):"echarts",h(TAG_NAME,t)}}),alert_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$t=defineComponent({name:"Alert",props:{icon:{type:String,default:""},title:{type:String,default:""},color:{type:String,default:""}},computed:{getIcon(){const t=this.icon||"mdi-alert";return this.color,t}},created(){const t=getCssVar(this.color||"warning");this.colors={backgroundColor:colors.changeAlpha(t,.2),color:t,borderColor:t}}}),_hoisted_1$o={key:0,class:"AlertIcon"},_hoisted_2$h={class:"AlertBox"},_hoisted_3$d=["innerHTML"],_hoisted_4$8={class:"AlertMessage"};function _sfc_render$t(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:"Alert q-ma-sm",style:normalizeStyle$1(t.colors)},[t.getIcon?(openBlock(),createElementBlock("div",_hoisted_1$o,[createVNode$1(QIcon,{name:t.getIcon,size:"lg"},null,8,["name"])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$h,[t.title?(openBlock(),createElementBlock("strong",{key:0,class:"AlertTitle",innerHTML:t.$t(t.title)},null,8,_hoisted_3$d)):createCommentVNode("",!0),createBaseVNode("p",_hoisted_4$8,[renderSlot(t.$slots,"default",{},void 0,!0)])])],4)}var Alert=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$t],["__scopeId","data-v-1217d0e5"]]);const _sfc_main$s=defineComponent({name:"Divider",props:{label:{type:String,default:""}}}),_hoisted_1$n={class:"row full-width"},_hoisted_2$g={class:"col",style:{margin:"auto 0"}},_hoisted_3$c={style:{"text-align":"center"}},_hoisted_4$7={class:"col",style:{margin:"auto 0"}};function _sfc_render$s(t,r,o,a,u,d){return openBlock(),createElementBlock("div",_hoisted_1$n,[createBaseVNode("div",_hoisted_2$g,[createVNode$1(QSeparator)]),createBaseVNode("div",_hoisted_3$c,[r[0]||(r[0]=createTextVNode(" \xA0\xA0")),createBaseVNode("em",null,toDisplayString$1(t.label),1),r[1]||(r[1]=createTextVNode("\xA0\xA0 "))]),createBaseVNode("div",_hoisted_4$7,[createVNode$1(QSeparator)])])}var Divider=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$s]]),icon_vue_vue_type_style_index_0_lang="";const _sfc_main$r=defineComponent({name:"Icon",props:{name:{type:String,default:""},tooltip:{type:String,default:""},loading:{type:Boolean,default:!1},color:{type:String,default:""},styles:{type:[String,Object],default:()=>{}},size:{type:String,default:"sm"},verticalAlign:{type:String,default:"text-bottom"},iconButton:{type:Boolean,default:!1}},data(){return{icon:icon$n(this.name,!0),dataColor:this.getColor(this.color)}},computed:{colors(){const t=Cache$1.get("settings")||{};return t.brandAccent+"|"+t.brandPrimary+"|"+t.brandSecondary},style(){let t=this.styles;if(typeof t=="string"&&t.indexOf("{")!==-1&&t.indexOf("}")!==-1)try{t=JSON.parse(t)}catch(r){console.warn(r)}else typeof t=="string"&&(t.indexOf("{")===-1||t.indexOf("}")===-1)&&(t={});return{"vertical-align":this.verticalAlign||"text-bottom",color:this.dataColor,...t||{}}}},watch:{colors(){this.dataColor=this.getColor(this.color)},color(t){this.dataColor=this.getColor(t)},name(t){this.icon={...icon$n(t,!0)}}},methods:{getColor(t){return["primary","secondary","accent","positive","warning","negative","info"].includes(t)?getCssVar(t):t}}}),_hoisted_1$m={key:1},_hoisted_2$f={key:3},_hoisted_3$b=["data-icon"];function _sfc_render$r(t,r,o,a,u,d){return openBlock(),createElementBlock("span",{key:JSON.stringify({...t.icon,...t.style}),class:normalizeClass(["jarvis-icon icon",{IconButton:t.iconButton}])},[t.tooltip?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.tooltip),1)]),_:1})):createCommentVNode("",!0),t.loading?(openBlock(),createElementBlock("span",_hoisted_1$m,[createVNode$1(QIcon,mergeProps({name:"mdi-spin mdi-loading",size:t.size||"sm",style:t.style},t.$attrs),null,16,["size","style"])])):!t.loading&&t.icon.name&&t.icon.name.indexOf("img:")>-1?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass([...t.icon.classes,{["icon-"+(t.size||"sm")]:t.style.fontSize===void 0,"flip-horizontal":t.icon.attributes.flip==="h","flip-vertical":t.icon.attributes.flip==="v",["rotate-"+t.icon.attributes.rotate]:t.icon.attributes.rotate!==void 0,blink:t.icon.attributes.blink,spin:t.icon.attributes.spin}])},[createVNode$1(QIcon,mergeProps({name:t.icon.name,size:t.size||"sm",style:t.style},t.$attrs),null,16,["name","size","style"])],2)):!t.loading&&t.icon.name&&t.icon.name.indexOf("img:")===-1?(openBlock(),createElementBlock("span",_hoisted_2$f,[createBaseVNode("span",{"data-icon":t.icon.name,style:normalizeStyle$1(t.style),class:normalizeClass(["iconify",[...t.icon.classes,{["icon-"+(t.size||"sm")]:t.style.fontSize===void 0,"flip-horizontal":t.icon.attributes.flip==="h","flip-vertical":t.icon.attributes.flip==="v",["rotate-"+t.icon.attributes.rotate]:t.icon.attributes.rotate!==void 0,blink:t.icon.attributes.blink,spin:t.icon.attributes.spin}]])},null,14,_hoisted_3$b)])):createCommentVNode("",!0)],2)}var Icon=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r]]);function cloneDeep(t,r=new WeakMap){if(Object(t)!==t)return t;if(r.has(t))return r.get(t);const o=t instanceof Date?new Date(t):t instanceof RegExp?new RegExp(t.source,t.flags):t instanceof Set?new Set:t instanceof Map?new Map:typeof t.constructor!="function"?Object.create(null):t.prototype!==void 0&&typeof t.prototype.constructor=="function"?t:new t.constructor;if(typeof t.constructor=="function"&&typeof t.valueOf=="function"){const a=t.valueOf();if(Object(a)!==a){const u=new t.constructor(a);return r.set(t,u),u}}return r.set(t,o),t instanceof Set?t.forEach(a=>{o.add(cloneDeep(a,r))}):t instanceof Map&&t.forEach((a,u)=>{o.set(u,cloneDeep(a,r))}),Object.assign(o,...Object.keys(t).map(a=>({[a]:cloneDeep(t[a],r)})))}var QPopupEdit=createComponent({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=ref(null),g=ref(""),v=ref("");let y=!1;const A=computed(()=>injectProp({initialValue:g.value,validate:t.validate,set:b,cancel:_,updatePosition:w},"value",()=>v.value,D=>{v.value=D}));function b(){t.validate(v.value)!==!1&&(S()===!0&&(o("save",v.value,g.value),o("update:modelValue",v.value)),C())}function _(){S()===!0&&o("cancel",v.value,g.value),C()}function w(){nextTick(()=>{d.value.updatePosition()})}function S(){return isDeepEqual(v.value,g.value)===!1}function C(){y=!0,d.value.hide()}function T(){y=!1,g.value=cloneDeep(t.modelValue),v.value=cloneDeep(t.modelValue),o("beforeShow")}function I(){o("show")}function E(){y===!1&&S()===!0&&(t.autoSave===!0&&t.validate(v.value)===!0?(o("save",v.value,g.value),o("update:modelValue",v.value)):o("cancel",v.value,g.value)),o("beforeHide")}function F(){o("hide")}function O(){const D=r.default!==void 0?[].concat(r.default(A.value)):[];return t.title&&D.unshift(h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},t.title)),t.buttons===!0&&D.push(h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[h(QBtn,{flat:!0,color:t.color,label:t.labelCancel||u.lang.label.cancel,onClick:_}),h(QBtn,{flat:!0,color:t.color,label:t.labelSet||u.lang.label.set,onClick:b})])),D}return Object.assign(a,{set:b,cancel:_,show(D){d.value!==null&&d.value.show(D)},hide(D){d.value!==null&&d.value.hide(D)},updatePosition:w}),()=>{if(t.disable!==!0)return h(QMenu,{ref:d,class:"q-popup-edit",cover:t.cover,onBeforeShow:T,onShow:I,onBeforeHide:E,onHide:F,onEscapeKey:_},O)}}});const _sfc_main$q=defineComponent({name:"InputButton",props:{id:{type:String,default:"button"},icon:{type:String,default:""},items:{type:[Array,null],default:()=>[]},selected:{type:String,default:""},label:{type:String,default:""},round:{type:Boolean,default:!1},size:{type:String,default:"sm"},color:{type:String,default:""},flat:{type:Boolean,default:!0},tooltip:{type:String,default:""},denseMenu:{type:Boolean,default:!1},popupEdit:{type:[String,Number],default:void 0}},emits:["onClick","onSelect","onSetValue"],setup(t,{emit:r}){const o=ref(),a=ref(t.popupEdit),u=d=>{r("onSetValue",d),o.value.hide()};return watchEffect(()=>{a.value=t.popupEdit}),{onClick:()=>r("onClick"),onSelect:d=>r("onSelect",{id:t.id,val:d}),iconSize:computed(()=>({xs:"xs",sm:"xs",md:"sm",lg:"md",xl:"lg"})[t.size]),height:computed(()=>({xs:"auto",sm:"30px",md:"auto",lg:"auto",xl:"auto"})[t.size]),onSetValue:u,elPopupEdit:o,popup:a}}}),_hoisted_1$l={key:0,style:{"margin-left":"4px"}},_hoisted_2$e={class:"q-mb-xs"},_hoisted_3$a={class:"row"};function _sfc_render$q(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QBtn,mergeProps(t.$props,{icon:void 0,label:void 0,style:{height:t.height},onClick:withModifiers(t.onClick,["stop"])}),{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs,tooltip:void 0,color:void 0},{name:t.icon,size:t.iconSize}),null,16,["name","size"]),t.label?(openBlock(),createElementBlock("span",_hoisted_1$l,toDisplayString$1(t.label),1)):createCommentVNode("",!0),t.popupEdit!==void 0?(openBlock(),createBlock(QPopupEdit,{key:1,ref:"elPopupEdit",modelValue:t.popup,"onUpdate:modelValue":r[0]||(r[0]=v=>t.popup=v),style:{width:"350px"}},{default:withCtx(v=>[createBaseVNode("div",_hoisted_2$e,[createVNode$1(QInput,{modelValue:v.value,"onUpdate:modelValue":y=>v.value=y,dense:"",autofocus:"",onKeyup:withKeys(y=>t.onSetValue(v.value),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),createBaseVNode("div",_hoisted_3$a,[createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{flat:"",color:"negative",label:t.$t("Cancel")},null,8,["label"]),[[ClosePopup]]),createVNode$1(QBtn,{flat:"",color:"primary",label:t.$t("Ok"),onClick:y=>t.onSetValue(v.value)},null,8,["label","onClick"])])]),_:1},8,["modelValue"])):createCommentVNode("",!0),t.tooltip?(openBlock(),createBlock(QTooltip,{key:2,offset:[10,10]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.tooltip)),1)]),_:1})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.$slots,(v,y)=>renderSlot(t.$slots,y)),256)),t.items?(openBlock(),createBlock(QMenu,{key:3},{default:withCtx(()=>[createVNode$1(QList,{dense:t.denseMenu,style:{"min-width":"100px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.items,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.id,clickable:"",active:v.id===t.selected,onClick:y=>t.onSelect(v.id)},{default:withCtx(()=>[v.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:"",center:""},{default:withCtx(()=>[createVNode$1(g,{size:t.denseMenu?"xs":"sm",name:v.icon},null,8,["size","name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.label||v.name),1)]),_:2},1024)]),_:2},1032,["active","onClick"])),[[ClosePopup]])),128))]),_:1},8,["dense"])]),_:1})):createCommentVNode("",!0)]),_:3},16,["style","onClick"])}var InputButton=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q]]);const _sfc_main$p=defineComponent({name:"InputDate",props:{label:{type:String,default:""},value:{type:[Object,String],default:""},dense:{type:[Boolean,String],default:!1}},emits:["onChange"],data(){return{date:{from:this.value&&this.value.from?this.flattenDate(this.value.from):"",to:this.value&&this.value.to?this.flattenDate(this.value.to):""}}},computed:{formattedDate(){return this.date&&this.date.from&&this.date.to?date$1.formatDate(this.date.from,"DD.MM.YYYY")+" - "+date$1.formatDate(this.date.to,"DD.MM.YYYY"):""}},methods:{openDatePicker(){this.$refs.qDateProxy.show()},onChange(t){this.$emit("onChange",{...this.$attrs,...this.$props,value:t})},flattenDate(t){return t.year&&t.month&&t.day?t.year+"/"+zero(t.month)+"/"+zero(t.day):t}}}),_hoisted_1$k={class:"row items-center justify-end"};function _sfc_render$p(t,r,o,a,u,d){return openBlock(),createBlock(QInput,{label:t.$t(t.label),value:t.formattedDate,"stack-label":"",readonly:"",dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom",onClick:t.openDatePicker},{append:withCtx(()=>[createVNode$1(QIcon,{name:"event",class:"cursor-pointer"},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"qDateProxy","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(QDate,{modelValue:t.date,"onUpdate:modelValue":r[0]||(r[0]=g=>t.date=g),range:"","first-day-of-week":"1","today-btn":"",onRangeEnd:t.onChange},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$k,[withDirectives(createVNode$1(QBtn,{label:"Close",color:"primary",flat:""},null,512),[[ClosePopup]])])]),_:1},8,["modelValue","onRangeEnd"])]),_:1},512)]),_:1})]),_:1},8,["label","value","dense","hide-bottom-space","onClick"])}var InputDate=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p]]),select_vue_vue_type_style_index_0_lang="";const _sfc_main$o=defineComponent({name:"InputSelect",props:{allowUserInput:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayValue:{type:String,default:""},dense:{type:[Boolean,String],default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},isPro:{type:Boolean,default:!1},label:{type:String,default:""},link:{type:String,default:""},maxDropdownOptions:{type:Number,default:100},multiple:{type:Boolean,default:!1},options:{type:[Array,Function],default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},useChips:{type:Boolean,default:!1},useInput:{type:Boolean,default:!1},value:{type:[Object,Array,String,Boolean],default:()=>[]}},emits:["onChange","onSelect"],setup(){const t=useI18n(),r=useJarvis(),o=useIoBroker();return{i18n:t,jarvis:r,iobroker:o}},data(){const t=this.getOptions();return{mappedOptions:t,filteredOptions:t,val:t?t.find(r=>this.value&&this.value.val!==void 0?r.value===this.value.val:r.value===this.value)||this.value&&this.value.val||this.value||"":{}}},computed:{isBlackMode(){return this.$q.dark.isActive},inputLabel(){return this.label?this.$t(this.label)+(this.required?" *":"")+(this.isPro?" ("+this.$t("Pro")+(typeof this.isPro=="string"?": "+this.$t(this.isPro):"")+")":""):null}},watch:{value(t){this.getOptions()&&t&&t!==this.val&&(this.val=this.getOptions().find(r=>t.val!==void 0?r.value===t.val:r.value===t)||this.value.val||this.value)},reset(){this.val=null}},created(){},methods:{selectAll(){const t=this.getOptions().map(r=>r.value);this.onSelect(t)},unselectAll(){this.onSelect([])},getOptions(){return((typeof this.options=="function"?this.options({...this.$props,...this.$attrs},{jarvis:this.jarvis,iobroker:this.iobroker}):this.options)||[]).map(r=>({...r,label:r.translate!==void 0?this.i18n.t(r.translate===!0?r.label:r.translate):r.label}))},onChange(t){this.required&&!t&&(this.error=this.i18n.t("No input given"),this.$emit("onChange",{...this.$attrs,...this.$props,_error:this.error}),this.$emit("onSelect",{...this.$attrs,...this.$props,_error:this.error})),this.allowUserInput&&this.val.value!==t&&this.val!==t&&(this.val=t,this.$emit("onChange",{...this.$attrs,...this.$props,value:t||""}))},onFilter(t,r){r(()=>{const o=!this.useInput||t===""?null:t.toLowerCase(),a=o===null?this.getOptions():this.getOptions().filter(u=>u&&u.value!==void 0&&u.value!==null&&(u.value.toString().toLowerCase().indexOf(o)>-1||u.label.toLowerCase().indexOf(o)>-1));this.filteredOptions=this.maxDropdownOptions!==0?a.slice(0,this.maxDropdownOptions):a})},onSelect(t){t=Array.isArray(t)?t.map(r=>typeof r=="object"?r.value:r):t,this.val=this.multiple&&t===null?[]:t,Array.isArray(t)?this.$emit("onSelect",{...this.$attrs,...this.$props,value:t}):this.$emit("onSelect",{...this.$attrs,...this.$props,value:t&&t.value!==void 0?t.value:t})}}}),_hoisted_1$j={key:0},_hoisted_2$d={key:1,class:"text-overflow"},_hoisted_3$9={key:0},_hoisted_4$6=["innerHTML"],_hoisted_5$5=["src"],_hoisted_6$3={key:0};function _sfc_render$o(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QSelect,mergeProps(t.$attrs,{ref:"select","stack-label":"","display-value":t.multiple&&t.displayValue===":counter"&&t.val.length>1?t.val.length+" "+t.$t("selected"):!t.allowUserInput&&t.val?Array.isArray(t.val)?t.val.join(", "):t.val.label:null,"model-value":t.val||"",options:t.filteredOptions,label:t.inputLabel,"virtual-scroll-slice-size":99,"fill-input":t.allowUserInput,"use-input":t.useInput,"use-chips":t.useChips,dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom","bottom-slots":t.dense!=="bottom",style:{"min-width":"100px"},multiple:t.multiple===!0,onFilter:t.onFilter,"onUpdate:modelValue":t.onSelect,onInputValue:t.onChange}),createSlots({"selected-item":withCtx(({index:v,opt:y})=>[withDirectives(createBaseVNode("span",{class:"text-overflow",style:{color:"#a9a9a9"}},toDisplayString$1(t.placeholder?t.$t(t.placeholder):""),513),[[vShow,!y&&!y.value]]),v>0?(openBlock(),createElementBlock("span",_hoisted_1$j,",\xA0")):createCommentVNode("",!0),t.useChips?createCommentVNode("",!0):withDirectives((openBlock(),createElementBlock("span",_hoisted_2$d,[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y),1)]),_:2},1024),createTextVNode(" "+toDisplayString$1(y),1)],512)),[[vShow,y&&y.value===void 0]]),t.useChips?(openBlock(),createBlock(QChip,{key:3,size:"sm",removable:"",color:t.isBlackMode?"black":void 0,onRemove:A=>t.onChange(t.val.splice(t.val.indexOf(y),1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label||y),1)]),_:2},1032,["color","onRemove"])):withDirectives((openBlock(),createElementBlock("span",{key:2,class:normalizeClass(["text-overflow",t.$attrs["input-class"]])},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1024),createTextVNode(" "+toDisplayString$1(y.label),1),y.label!==y.value?(openBlock(),createElementBlock("span",_hoisted_3$9,[r[1]||(r[1]=createTextVNode(" (")),createBaseVNode("code",null,toDisplayString$1(y.value),1),r[2]||(r[2]=createTextVNode(")"))])):createCommentVNode("",!0)],2)),[[vShow,y.value]])]),"before-options":withCtx(()=>[t.multiple===!0?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("select all"),color:"primary",size:"sm",onClick:t.selectAll},null,8,["label","onClick"])):createCommentVNode("",!0),t.multiple===!0?(openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t("deselect all"),color:"primary",size:"sm",onClick:t.unselectAll},null,8,["label","onClick"])):createCommentVNode("",!0)]),option:withCtx(v=>[createVNode$1(QItem,normalizeProps(guardReactiveProps(v.itemProps)),{default:withCtx(()=>[v.opt.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:v.opt.icon,color:"primary"},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("span",{innerHTML:v.opt.label},null,8,_hoisted_4$6)]),_:2},1024)]),_:2},1024),v.opt.img?(openBlock(),createBlock(QItemSection,{key:1,avatar:""},{default:withCtx(()=>[createBaseVNode("img",{src:v.opt.img},null,8,_hoisted_5$5)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1040)]),append:withCtx(()=>[t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_6$3,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(g,{key:0,"vertical-align":"middle",size:"xs",name:"mdi-information",color:"primary"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",href:t.link,target:"_blank",round:"",dense:"",flat:"",icon:"mdi-information",color:"primary"},null,8,["href"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0),renderSlot(t.$slots,"end"),withDirectives(createVNode$1(g,{"vertical-align":"middle",name:"mdi-close-circle",class:"cursor-pointer",size:"xs",onClick:r[0]||(r[0]=withModifiers(v=>t.onSelect(null),["stop"]))},null,512),[[vShow,t.clearable!==!1&&(!t.multiple&&t.val||t.multiple&&t.val.length!==0)]])]),_:2},[t.icon?{name:"prepend",fn:withCtx(()=>[createVNode$1(g,{name:t.icon},null,8,["name"])]),key:"0"}:void 0,renderList(Object.keys(t.$slots),(v,y)=>({name:v,fn:withCtx(()=>[renderSlot(t.$slots,v)])}))]),1040,["display-value","model-value","options","label","fill-input","use-input","use-chips","dense","hide-bottom-space","bottom-slots","multiple","onFilter","onUpdate:modelValue","onInputValue"])}var InputSelect=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o]]);const _sfc_main$n=defineComponent({name:"InputSelectComponents",props:{state:{type:[Object,null],default:()=>{}},components:{type:[Array,Function],default:()=>[]},componentValues:{type:[Object,Function],default:()=>{}},value:{type:String,default:""}},emits:["onOptions","onSelect"],setup(t,{emit:r,attrs:o}){const a=useI18n(),u=useJarvis(),d=Cache$1.get("settings",{}),g=computed(()=>typeof t.componentValues=="function"?t.componentValues({jarvis:u,props:t}):t.componentValues),v=computed(()=>t.state&&t.state[t.value+"Config"]||{}),y=(x,P)=>g.value[x]!==void 0?g.value[x]:v.value[x]||(typeof P.value=="function"?P.value({jarvis:u,props:t}):P.value),A=(x,P)=>typeof P.placeholder=="function"?P.placeholder({settings:d,jarvis:u,props:t}):P.placeholder,b=computed(()=>{const x=_default(typeof Functions.ComponentsOptions[t.value]=="function"&&Functions.ComponentsOptions[t.value](t,o)||Functions.ComponentsOptions[t.value]||{});for(const P in x)typeof x[P]=="function"&&(x[P]=x[P](t,o)),x[P]||delete x[P],x[P]&&x[P].options&&Array.isArray(x[P].options)&&(x[P].options=x[P].options.map(G=>({...G,label:a.t(G.label)})));return x}),_=computed(()=>t.value===void 0?!1:Object.keys(b.value).length!==0),w={},S=ref({}),C=(x,P)=>Object.keys(P).every(G=>{const M=T.value[G]!==void 0?T.value[G]:y(G,b.value[G]);return S.value[x]=P[G]===M,S.value[x]}),T=ref({}),I=x=>{T.value[x.id]=x.value,Object.keys(w).forEach(P=>C(P,w[P]))},E=x=>{r("onSelect",{...o,...x})},F=ref(!1),O=()=>{F.value=null,T.value={}},D=()=>{r("onOptions",{...o,id:"componentOptions",component:t.value,value:T.value}),O()};return{values:g,inheritedValues:v,fieldValue:y,fieldPlaceholder:A,options:computed(()=>typeof t.components=="function"?t.components():t.components),defaultComponentOptions:b,showComponentOptionsDialog:F,hasOptions:_,userOptions:T,onOptionChange:I,onSelect:E,onSave:D,onCancel:O,conditions:S,check:(x,P)=>(w[x]=P,C(x,P))}}}),_hoisted_1$i={class:"text-h6"};function _sfc_render$n(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("input-select");return openBlock(),createElementBlock("div",null,[createVNode$1(QDialog,{"model-value":t.showComponentOptionsDialog,persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"500px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$i,toDisplayString$1(t.$t("Component Options")),1)]),_:1}),createVNode$1(QSeparator),t.showComponentOptionsDialog?(openBlock(),createBlock(QCardSection,{key:0,class:"col q-pt-none scroll"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.defaultComponentOptions,(y,A)=>withDirectives((openBlock(),createBlock(g,mergeProps({ref_for:!0},{...t.$attrs,...y,placeholder:t.fieldPlaceholder(A,y),value:t.fieldValue(A,y)},{id:A,key:A,type:y.type||"Text",component:t.value,"parent-id":t.$attrs.id,dense:"bottom",label:t.$t(y.label)+((t.values[A]===void 0||t.values[A]===null)&&t.inheritedValues[A]?" [ "+t.$t("inherited from the device configuration")+" ]":""),style:{width:"100%",margin:"0"},onOnChange:t.onOptionChange,onOnSelect:t.onOptionChange}),null,16,["id","type","component","parent-id","label","onOnChange","onOnSelect"])),[[vShow,t.conditions[A]!==void 0?t.conditions[A]:y.conditions?t.check(A,y.conditions):!0]])),128))]),_:1})):createCommentVNode("",!0),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",onClick:t.onSave},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value"]),createVNode$1(v,mergeProps(t.$attrs,{value:t.value,options:t.components,"options-dense":"",onOnSelect:t.onSelect}),{end:withCtx(()=>[withDirectives(createVNode$1(QBtn,{round:"",flat:"",dense:"",icon:"mdi-playlist-edit",color:"secondary",size:"sm",onClick:r[0]||(r[0]=withModifiers(y=>t.showComponentOptionsDialog=!t.showComponentOptionsDialog,["stop"]))},null,512),[[vShow,t.hasOptions]])]),_:1},16,["value","options","onOnSelect"])])}var InputSelectComponents=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n]]);const _sfc_main$m=defineComponent({name:"InputSwitchInline",props:{id:{type:String,required:!0},label:{type:String,default:""},value:{type:[Boolean,Object],required:!0}},emits:["onChange"],data(){return{val:this.value&&this.value.val!==void 0?this.value.val:this.value}},watch:{value(t){this.val=this.value&&this.value.val!==void 0?this.value.val:this.value}},methods:{onChange(t){this.$emit("onChange",{...this.$attrs,...this.$props,value:t})}}}),_hoisted_1$h={class:"q-field__label",style:{"font-size":"12px"}};function _sfc_render$m(t,r,o,a,u,d){return openBlock(),createBlock(QToggle,{modelValue:t.val,"onUpdate:modelValue":[r[0]||(r[0]=g=>t.val=g),t.onChange],dense:""},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({"q-field--dark":t.$q.dark.isActive})},[createBaseVNode("span",_hoisted_1$h,toDisplayString$1(t.$t(t.label)),1)],2)]),_:1},8,["modelValue","onUpdate:modelValue"])}var SwitchInline=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]);const _sfc_main$l=defineComponent({name:"InputSwitch",components:{SwitchInline},props:{dense:{type:[Boolean,String],default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},inline:{type:Boolean,default:!1},label:{type:String,default:""},link:{type:String,default:""},value:{type:[Boolean,Object],required:!0}},emits:["onChange"],data(){return{val:this.value&&this.value.val!==void 0?this.value.val:this.value}},watch:{value(t){this.val=this.value&&this.value.val!==void 0?this.value.val:this.value}},methods:{onChange(t){this.$emit("onChange",typeof t=="object"&&t.inline?t:{...this.$attrs,...this.$props,value:t})}}}),_hoisted_1$g={key:0};function _sfc_render$l(t,r,o,a,u,d){const g=resolveComponent("switch-inline"),v=resolveComponent("icon");return t.inline?(openBlock(),createBlock(g,mergeProps({key:0},{...t.$props,...t.$attrs},{onOnChange:t.onChange}),null,16,["onOnChange"])):(openBlock(),createBlock(QField,mergeProps({key:1},t.$attrs,{"stack-label":"",label:t.$t(t.label),dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom","bottom-slots":t.dense!=="bottom"}),createSlots({control:withCtx(()=>[createVNode$1(QToggle,mergeProps(t.$attrs,{modelValue:t.val,"onUpdate:modelValue":[r[0]||(r[0]=y=>t.val=y),t.onChange],dense:"",class:"q-ml-xs"}),null,16,["modelValue","onUpdate:modelValue"])]),append:withCtx(()=>[t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_1$g,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(v,{key:0,size:"xs",name:"mdi-information",color:"primary",class:"q-my-xs"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",href:t.link,target:"_blank",round:"",dense:"",flat:"",icon:"mdi-information",color:"primary"},null,8,["href"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.$slots,(y,A)=>renderSlot(t.$slots,A,{vSlot:A})),256))]),_:2},[t.icon?{name:"prepend",fn:withCtx(()=>[createVNode$1(v,{name:t.icon},null,8,["name"])]),key:"0"}:void 0]),1040,["label","dense","hide-bottom-space","bottom-slots"]))}var InputSwitch=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l]]),text_vue_vue_type_style_index_0_lang="";const _sfc_main$k=defineComponent({name:"InputText",components:{JsonEditor},props:{autofocus:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},dense:{type:[Boolean,String],default:!1},errorMessage:{type:String,default:""},fullHeight:{type:Boolean,default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},isPro:{type:Boolean,default:!1},json:{type:[Boolean,String],default:!1},label:{type:String,default:""},link:{type:String,default:""},maxDropdownOptions:{type:Number,default:100},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},type:{type:String,default:"text"},value:{type:[Object,String,Number,Boolean],default:""}},emits:["onChange"],setup(){return{i18n:useI18n(),showPassword:ref(!1)}},data(){return this.initialValue=this.json?this.parseJson(this.value):this.value,this.jsonVal={},this.jsonValModified={},{val:this.parseJson(this.value&&this.value.val!==void 0?this.value.val:this.value!==void 0?this.value:""),error:null,jsonEditor:!1,jsonError:!1,backupVal:""}},computed:{inputLabel(){return this.$t(this.label||"")+(this.required?" *":"")+(this.json?" ("+this.$t("JSON Format")+")":"")+(this.isPro?" ("+this.$t("Pro")+(typeof this.isPro=="string"?": "+this.$t(this.isPro):"")+")":"")},filteredOptions(){return this.options?this.options.filter(t=>t.value.toLowerCase().indexOf(this.val.toLowerCase())!==-1||t.label.toLowerCase().indexOf(this.val.toLowerCase())!==-1):[]},filteredOptionsLimited(){return this.maxDropdownOptions===0?this.filteredOptions:this.filteredOptions.slice(0,this.maxDropdownOptions||100)}},watch:{value(t){const r=t&&this.parseJson(t.val!==void 0?t.val:t);r!==void 0&&r!==this.val&&(this.val=r)},errorMessage(t){this.error=t}},created(){this.onChange(this.val)},mounted(){this.autofocus&&this.$refs.input.$el.focus()},methods:{openLink(){const t=document.createElement("a");document.body.appendChild(t),t.style="display: none",t.target="_blank",t.href=this.link,t.click(),document.body.removeChild(t)},set(t){this.error=null,this.jsonVal=t,this.val!==t&&(this.val=t,this.$emit("onChange",{...this.$attrs,...this.$props,value:t}))},onSelect(t){this.onChange(t.value)},onChange(t){if(this.type==="textarea"&&t instanceof Event)return;t instanceof Event&&(t.stopPropagation(),t=t.target.value);const r=this.$refs.dropdown;if(r&&r.show(),this.required&&!t)return this.error=this.i18n.t("No input given"),this.$emit("onChange",{...this.$attrs,...this.$props,_error:this.error}),!1;if(this.type&&this.type.toLowerCase()==="number"){const o=t!==""?parseFloat(t):this.placeholder==="auto"?0:parseFloat(this.placeholder);if(Number.isNaN(o))return this.$emit("onChange",{...this.$attrs,...this.$props,value:0,_error:"Not a valid Number"}),this.val="",!1;if(!Number.isNaN(o)&&this.$attrs.min!==void 0&&this.$attrs.min>o||this.$attrs.max!==void 0&&this.$attrs.maxt.jsonEditor=y),persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"700px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$f,toDisplayString$1(t.$t("JSON Editor")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=y=>t.onJsonEditor(!1,!0))})]),_:1}),createVNode$1(QCardSection,{class:"body q-pa-none",style:{height:"400px"}},{default:withCtx(()=>[createVNode$1(g,{id:"jsonEditor",json:t.jsonVal,onOnChange:t.onJsonChange},null,8,["json","onOnChange"])]),_:1}),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:r[1]||(r[1]=y=>t.onJsonEditor(!1,!0))},null,8,["label"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.jsonError,onClick:r[2]||(r[2]=y=>t.onJsonEditor(!1))},null,8,["label","disable"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode$1(QInput,mergeProps({ref:"input"},t.$attrs,{type:(t.showPassword||t.type==="color"?"text":t.type)||"text","stack-label":"","model-value":t.val,label:t.inputLabel,placeholder:t.placeholder?t.$t(t.placeholder):null,class:{"full-height":t.fullHeight},error:!!t.error,"error-message":t.error,dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom",debounce:"250",autofocus:t.autofocus,"onUpdate:modelValue":t.onChange,onKeydown:withKeys(t.onChange,["enter"])}),createSlots({append:withCtx(()=>[t.type==="color"?(openBlock(),createBlock(QIcon,{key:0,name:"mdi-format-color-fill",class:"cursor-pointer"},{default:withCtx(()=>[createVNode$1(QPopupProxy,{"transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(QColor,{value:t.val,onChange:t.onChange},null,8,["value","onChange"])]),_:1})]),_:1})):createCommentVNode("",!0),t.type==="password"?(openBlock(),createElementBlock("span",_hoisted_3$8,[createVNode$1(QBtn,{size:"sm",round:"",dense:"",flat:"",icon:t.showPassword?"mdi-eye-off":"mdi-eye",color:"primary",onClick:r[4]||(r[4]=y=>t.showPassword=!t.showPassword)},null,8,["icon"])])):createCommentVNode("",!0),t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_4$5,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(v,{key:0,"vertical-align":"middle",size:"xs",name:"mdi-information",color:"primary"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",style:{cursor:"alias"},round:"",dense:"",flat:"",icon:"mdi-information",color:"primary",onClick:t.openLink},null,8,["onClick"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0),t.json?(openBlock(),createBlock(QBtn,{key:3,round:"",dense:"",flat:"",icon:"mdi-code-json",color:"secondary",onClick:r[5]||(r[5]=withModifiers(y=>t.onJsonEditor(!0),["stop"]))})):createCommentVNode("",!0),renderSlot(t.$slots,"end"),withDirectives(createVNode$1(v,{"vertical-align":"middle",name:"mdi-close-circle",class:"cursor-pointer",size:"xs",onClick:r[6]||(r[6]=withModifiers(y=>t.onChange(""),["stop"]))},null,512),[[vShow,t.clearable!==!1&&t.val]])]),default:withCtx(()=>[createVNode$1(QMenu,{ref:"dropdown","auto-close":"","no-focus":"",fit:""},{default:withCtx(()=>[createVNode$1(QList,{dense:"",class:"body",style:{"min-width":"100px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filteredOptionsLimited,y=>withDirectives((openBlock(),createBlock(QItem,{key:y.id||y.value,clickable:"",onClick:A=>t.onSelect(y)},{default:withCtx(()=>[y.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",name:y.icon},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128)),t.filteredOptions.length>(t.maxDropdownOptions||100)?(openBlock(),createBlock(QItem,{key:0},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createBaseVNode("em",_hoisted_5$4,toDisplayString$1(t.$t("additional")+" "+(t.filteredOptions.length-(t.maxDropdownOptions||100))+" "+t.$t("entries")+" "+t.$t("not shown")),1)]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1})]),_:1},512)]),_:2},[(t.type==="color"||t.type==="icon"||t.icon)&&t.val.toString().indexOf("{")===-1?{name:"prepend",fn:withCtx(()=>[t.type==="color"?(openBlock(),createElementBlock("div",_hoisted_2$c,[createVNode$1(v,{size:"xs",name:"mdi-circle-slice-8",style:normalizeStyle$1({color:t.val})},null,8,["style"])])):createCommentVNode("",!0),t.type==="icon"||t.icon?(openBlock(),createBlock(v,{key:1,size:"xs",name:t.type==="icon"?t.val:t.icon},null,8,["name"])):createCommentVNode("",!0)]),key:"0"}:void 0,renderList(Object.keys(t.$slots),(y,A)=>({name:y,fn:withCtx(()=>[renderSlot(t.$slots,y)])}))]),1040,["type","model-value","label","placeholder","class","error","error-message","dense","hide-bottom-space","autofocus","onUpdate:modelValue","onKeydown"])])}var InputText=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]);const _sfc_main$j=defineComponent({name:"Placeholder"});function _sfc_render$j(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var Placeholder=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j]]);const inputs={button:InputButton,date:InputDate,placeholder:Placeholder,select:InputSelect,"select.components":InputSelectComponents,switch:InputSwitch,text:InputText},_sfc_main$i=defineComponent({name:"Inputs",props:{type:{type:String,default:""}},computed:{styleClass(){return this.$attrs.class||(this.type&&this.type==="button"?"q-ma-none":"q-mx-xs")}},created(){this.element=inputs[this.type?this.type.toLowerCase():"text"]||inputs.text}});function _sfc_render$i(t,r,o,a,u,d){return openBlock(),createBlock(resolveDynamicComponent(t.element),mergeProps({...t.$props,...t.$attrs},{class:t.styleClass}),createSlots({_:2},[renderList(Object.keys(t.$slots),(g,v)=>({name:g,fn:withCtx(()=>[renderSlot(t.$slots,g)])}))]),1040,["class"])}var Inputs=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i]]);const _sfc_main$h=defineComponent({name:"Paper"}),_hoisted_1$e={class:"col"};function _sfc_render$h(t,r,o,a,u,d){return openBlock(),createElementBlock("div",mergeProps({class:"row paper"},{...t.$props,...t.$attrs}),[createBaseVNode("div",_hoisted_1$e,[renderSlot(t.$slots,"default")])],16)}var Paper=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h]]);const moduleList={"../modules/AdapterLogs/AdapterLogs.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return AdapterLogs$1}),void 0),"../modules/AdapterStatus/AdapterStatus.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return AdapterStatus$1}),void 0),"../modules/Calendar/Calendar.config.customComponent.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Calendar_config_customComponent}),void 0),"../modules/Calendar/Calendar.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Calendar$3}),void 0),"../modules/Calendar/EventList.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return EventList$1}),void 0),"../modules/Chart/Chart.config.customActionSection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Chart_config_customActionSection}),void 0),"../modules/Chart/Chart.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Chart$1}),void 0),"../modules/DateTime/DateTime.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return DateTime$1}),void 0),"../modules/DisplayImage/DisplayImage.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return DisplayImage$1}),void 0),"../modules/HistoryGraph/HistoryGraph.config.customActionSection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph_config_customActionSection}),void 0),"../modules/HistoryGraph/HistoryGraph.config.customBodySection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph_config_customBodySection}),void 0),"../modules/HistoryGraph/HistoryGraph.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph$1}),void 0),"../modules/HomeKitTile/HomeKitTile.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HomeKitTile$1}),void 0),"../modules/HtmlTable/HtmlTable.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HtmlTable$1}),void 0),"../modules/JsonTable/JsonTable.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return JsonTable$1}),void 0),"../modules/Map/Map.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Map$2}),void 0),"../modules/MediaControl/MediaControl.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return MediaControl$1}),void 0),"../modules/ScriptStatus/ScriptStatus.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return ScriptStatus$1}),void 0),"../modules/StateHTML/StateHTML.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateHTML$1}),void 0),"../modules/StateList/StateList.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateList$1}),void 0),"../modules/StateList/StateListGroup.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateListGroup$1}),void 0),"../modules/StateList/StateListItem.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateListItem$1}),void 0),"../modules/Weather/Weather.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Weather$1}),void 0),"../modules/iFrame/iFrame.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return iFrame$1}),void 0)};var components=({app:t})=>{t.component("Alert",Alert),t.component("Divider",Divider),t.component("Icon",Icon),t.component("Inputs",Inputs),t.component("InputSelect",InputSelect),t.component("Paper",Paper);for(const r in moduleList)moduleList[r]().then(o=>{const a=r.substr(r.lastIndexOf("/")+1).replace(".vue","");t.component(a,o.default)});t.use(index),t.component("VChart",ECharts)},components$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"}));/*! +`];function createTooltipMarkup(t,r){return r.type=t,r}function isSectionFragment(t){return t.type==="section"}function getBuilder(t){return isSectionFragment(t)?buildSection:buildNameValue}function getBlockGapLevel(t){if(isSectionFragment(t)){var r=0,o=t.blocks.length,a=o>1||o>0&&!t.noHeader;return each$f(t.blocks,function(u){var d=getBlockGapLevel(u);d>=r&&(r=d+ +(a&&(!d||isSectionFragment(u)&&!u.noHeader)))}),r}return 0}function buildSection(t,r,o,a){var u=r.noHeader,d=getGap(getBlockGapLevel(r)),g=[],v=r.blocks||[];assert(!v||isArray$1(v)),v=v||[];var y=t.orderMode;if(r.sortBlocks&&y){v=v.slice();var A={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(A,y)){var b=new SortOrderComparator(A[y],null);v.sort(function(C,T){return b.evaluate(C.sortParam,T.sortParam)})}else y==="seriesDesc"&&v.reverse()}each$f(v,function(C,T){var I=r.valueFormatter,E=getBuilder(C)(I?extend(extend({},t),{valueFormatter:I}):t,C,T>0?d.html:0,a);E!=null&&g.push(E)});var _=t.renderMode==="richText"?g.join(d.richText):wrapBlockHTML(g.join(""),u?o:d.html);if(u)return _;var w=makeValueReadable(r.header,"ordinal",t.useUTC),S=getTooltipTextStyle(a,t.renderMode).nameStyle;return t.renderMode==="richText"?wrapInlineNameRichText(t,w,S)+d.richText+_:wrapBlockHTML('
    '+encodeHTML(w)+"
    "+_,o)}function buildNameValue(t,r,o,a){var u=t.renderMode,d=r.noName,g=r.noValue,v=!r.markerType,y=r.name,A=t.useUTC,b=r.valueFormatter||t.valueFormatter||function(D){return D=isArray$1(D)?D:[D],map$1(D,function(x,P){return makeValueReadable(x,isArray$1(S)?S[P]:S,A)})};if(!(d&&g)){var _=v?"":t.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||"#333",u),w=d?"":makeValueReadable(y,"ordinal",A),S=r.valueType,C=g?[]:b(r.value,r.dataIndex),T=!v||!d,I=!v&&d,E=getTooltipTextStyle(a,u),F=E.nameStyle,O=E.valueStyle;return u==="richText"?(v?"":_)+(d?"":wrapInlineNameRichText(t,w,F))+(g?"":wrapInlineValueRichText(t,C,T,I,O)):wrapBlockHTML((v?"":_)+(d?"":wrapInlineNameHTML(w,!v,F))+(g?"":wrapInlineValueHTML(C,T,I,O)),o)}}function buildTooltipMarkup(t,r,o,a,u,d){if(!!t){var g=getBuilder(t),v={useUTC:u,renderMode:o,orderMode:a,markupStyleCreator:r,valueFormatter:t.valueFormatter};return g(v,t,0,d)}}function getGap(t){return{html:HTML_GAPS[t],richText:RICH_TEXT_GAPS[t]}}function wrapBlockHTML(t,r){var o='
    ',a="margin: "+r+"px 0 0";return'
    '+t+o+"
    "}function wrapInlineNameHTML(t,r,o){var a=r?"margin-left:2px":"";return''+encodeHTML(t)+""}function wrapInlineValueHTML(t,r,o,a){var u=o?"10px":"20px",d=r?"float:right;margin-left:"+u:"";return t=isArray$1(t)?t:[t],''+map$1(t,function(g){return encodeHTML(g)}).join("  ")+""}function wrapInlineNameRichText(t,r,o){return t.markupStyleCreator.wrapRichTextStyle(r,o)}function wrapInlineValueRichText(t,r,o,a,u){var d=[u],g=a?10:20;return o&&d.push({padding:[0,0,0,g],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(isArray$1(r)?r.join(" "):r,d)}function retrieveVisualColorForTooltipMarker(t,r){var o=t.getData().getItemVisual(r,"style"),a=o[t.visualDrawType];return convertToColorString(a)}function getPaddingFromTooltipModel(t,r){var o=t.get("padding");return o!=null?o:r==="richText"?[8,10]:10}var TooltipMarkupStyleCreator=function(){function t(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(r,o,a){var u=a==="richText"?this._generateStyleName():null,d=getTooltipMarker({color:o,type:r,renderMode:a,markerId:u});return isString$1(d)?d:(this.richTextStyles[u]=d.style,d.content)},t.prototype.wrapRichTextStyle=function(r,o){var a={};isArray$1(o)?each$f(o,function(d){return extend(a,d)}):extend(a,o);var u=this._generateStyleName();return this.richTextStyles[u]=a,"{"+u+"|"+r+"}"},t}();function defaultSeriesFormatTooltip(t){var r=t.series,o=t.dataIndex,a=t.multipleSeries,u=r.getData(),d=u.mapDimensionsAll("defaultedTooltip"),g=d.length,v=r.getRawValue(o),y=isArray$1(v),A=retrieveVisualColorForTooltipMarker(r,o),b,_,w,S;if(g>1||y&&!g){var C=formatTooltipArrayValue(v,r,o,d,A);b=C.inlineValues,_=C.inlineValueTypes,w=C.blocks,S=C.inlineValues[0]}else if(g){var T=u.getDimensionInfo(d[0]);S=b=retrieveRawValue(u,o,d[0]),_=T.type}else S=b=y?v[0]:v;var I=isNameSpecified(r),E=I&&r.name||"",F=u.getName(o),O=a?E:F;return createTooltipMarkup("section",{header:E,noHeader:a||!I,sortParam:S,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:A,name:O,noName:!trim$1(O),value:b,valueType:_,dataIndex:o})].concat(w||[])})}function formatTooltipArrayValue(t,r,o,a,u){var d=r.getData(),g=reduce(t,function(_,w,S){var C=d.getDimensionInfo(S);return _=_||C&&C.tooltip!==!1&&C.displayName!=null},!1),v=[],y=[],A=[];a.length?each$f(a,function(_){b(retrieveRawValue(d,o,_),_)}):each$f(t,b);function b(_,w){var S=d.getDimensionInfo(w);!S||S.otherDims.tooltip===!1||(g?A.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:u,name:S.displayName,value:_,valueType:S.type})):(v.push(_),y.push(S.type)))}return{inlineValues:v,inlineValueTypes:y,blocks:A}}var inner$k=makeInner();function getSelectionKey(t,r){return t.getName(r)||t.getId(r)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o._selectedDataIndicesMap={},o}return r.prototype.init=function(o,a,u){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(o,u);var d=inner$k(this).sourceManager=new SourceManager(this);d.prepareSource();var g=this.getInitialData(o,u);wrapData(g,this),this.dataTask.context.data=g,inner$k(this).dataBeforeProcessed=g,autoSeriesName(this),this._initSelectedMapFromData(g)},r.prototype.mergeDefaultAndTheme=function(o,a){var u=fetchLayoutMode(this),d=u?getLayoutParams(o):{},g=this.subType;ComponentModel$1.hasClass(g)&&(g+="Series"),merge(o,a.getTheme().get(this.subType)),merge(o,this.getDefaultOption()),defaultEmphasis(o,"label",["show"]),this.fillDataTextStyle(o.data),u&&mergeLayoutParam(o,d,u)},r.prototype.mergeOption=function(o,a){o=merge(this.option,o,!0),this.fillDataTextStyle(o.data);var u=fetchLayoutMode(this);u&&mergeLayoutParam(this.option,o,u);var d=inner$k(this).sourceManager;d.dirty(),d.prepareSource();var g=this.getInitialData(o,a);wrapData(g,this),this.dataTask.dirty(),this.dataTask.context.data=g,inner$k(this).dataBeforeProcessed=g,autoSeriesName(this),this._initSelectedMapFromData(g)},r.prototype.fillDataTextStyle=function(o){if(o&&!isTypedArray(o))for(var a=["show"],u=0;uthis.getShallow("animationThreshold")&&(a=!1),!!a},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(o,a,u){var d=this.ecModel,g=PaletteMixin.prototype.getColorFromPalette.call(this,o,a,u);return g||(g=d.getColorFromPalette(o,a,u)),g},r.prototype.coordDimToDataDim=function(o){return this.getRawData().mapDimensionsAll(o)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(o,a){this._innerSelect(this.getData(a),o)},r.prototype.unselect=function(o,a){var u=this.option.selectedMap;if(!!u){var d=this.option.selectedMode,g=this.getData(a);if(d==="series"||u==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var v=0;v=0&&u.push(g)}return u},r.prototype.isSelected=function(o,a){var u=this.option.selectedMap;if(!u)return!1;var d=this.getData(a);return(u==="all"||u[getSelectionKey(d,o)])&&!d.getItemModel(o).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var o=this.option.universalTransition;return o?o===!0?!0:o&&o.enabled:!1},r.prototype._innerSelect=function(o,a){var u,d,g=this.option,v=g.selectedMode,y=a.length;if(!(!v||!y)){if(v==="series")g.selectedMap="all";else if(v==="multiple"){isObject$3(g.selectedMap)||(g.selectedMap={});for(var A=g.selectedMap,b=0;b0&&this._innerSelect(o,a)}},r.registerClass=function(o){return ComponentModel$1.registerClass(o)},r.protoInitialize=function(){var o=r.prototype;o.type="series.__base__",o.seriesIndex=0,o.ignoreStyleOnData=!1,o.hasSymbolVisual=!1,o.defaultSymbol="circle",o.visualStyleAccessPath="itemStyle",o.visualDrawType="fill"}(),r}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName(t){var r=t.name;isNameSpecified(t)||(t.name=getSeriesAutoName(t)||r)}function getSeriesAutoName(t){var r=t.getRawData(),o=r.mapDimensionsAll("seriesName"),a=[];return each$f(o,function(u){var d=r.getDimensionInfo(u);d.displayName&&a.push(d.displayName)}),a.join(" ")}function dataTaskCount(t){return t.model.getRawData().count()}function dataTaskReset(t){var r=t.model;return r.setData(r.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(t,r){r.outputData&&t.end>r.outputData.count()&&r.model.getRawData().cloneShallow(r.outputData)}function wrapData(t,r){each$f(concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(o){t.wrapMethod(o,curry$1(onDataChange,r))})}function onDataChange(t,r){var o=getCurrentTask(t);return o&&o.setOutputEnd((r||this).count()),r}function getCurrentTask(t){var r=(t.ecModel||{}).scheduler,o=r&&r.getPipeline(t.uid);if(o){var a=o.currentTask;if(a){var u=a.agentStubMap;u&&(a=u.get(t.uid))}return a}}var SeriesModel$1=SeriesModel,ComponentView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewComponent")}return t.prototype.init=function(r,o){},t.prototype.render=function(r,o,a,u){},t.prototype.dispose=function(r,o){},t.prototype.updateView=function(r,o,a,u){},t.prototype.updateLayout=function(r,o,a,u){},t.prototype.updateVisual=function(r,o,a,u){},t.prototype.toggleBlurSeries=function(r,o,a){},t.prototype.eachRendered=function(r){var o=this.group;o&&o.traverse(r)},t}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);var ComponentView$1=ComponentView;function createRenderPlanner(){var t=makeInner();return function(r){var o=t(r),a=r.pipelineContext,u=!!o.large,d=!!o.progressiveRender,g=o.large=!!(a&&a.large),v=o.progressiveRender=!!(a&&a.progressiveRender);return(u!==g||d!==v)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return t.prototype.init=function(r,o){},t.prototype.render=function(r,o,a,u){},t.prototype.highlight=function(r,o,a,u){var d=r.getData(u&&u.dataType);!d||toggleHighlight(d,u,"emphasis")},t.prototype.downplay=function(r,o,a,u){var d=r.getData(u&&u.dataType);!d||toggleHighlight(d,u,"normal")},t.prototype.remove=function(r,o){this.group.removeAll()},t.prototype.dispose=function(r,o){},t.prototype.updateView=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.updateLayout=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.updateVisual=function(r,o,a,u){this.render(r,o,a,u)},t.prototype.eachRendered=function(r){traverseElements(this.group,r)},t.markUpdateMethod=function(r,o){inner$j(r).updateMethod=o},t.protoInitialize=function(){var r=t.prototype;r.type="chart"}(),t}();function elSetState(t,r,o){t&&isHighDownDispatcher(t)&&(r==="emphasis"?enterEmphasis:leaveEmphasis)(t,o)}function toggleHighlight(t,r,o){var a=queryDataIndex(t,r),u=r&&r.highlightKey!=null?getHighlightDigit(r.highlightKey):null;a!=null?each$f(normalizeToArray(a),function(d){elSetState(t.getItemGraphicEl(d),o,u)}):t.eachItemGraphicEl(function(d){elSetState(d,o,u)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(t){return renderPlanner(t.model)}function renderTaskReset(t){var r=t.model,o=t.ecModel,a=t.api,u=t.payload,d=r.pipelineContext.progressiveRender,g=t.view,v=u&&inner$j(u).updateMethod,y=d?"incrementalPrepareRender":v&&g[v]?v:"render";return y!=="render"&&g[y](r,o,a,u),progressMethodMap[y]}var progressMethodMap={incrementalPrepareRender:{progress:function(t,r){r.view.incrementalRender(t,r.model,r.ecModel,r.api,r.payload)}},render:{forceFirstProgress:!0,progress:function(t,r){r.view.render(r.model,r.ecModel,r.api,r.payload)}}},ChartView$1=ChartView,ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle(t,r,o){var a,u=0,d=0,g=null,v,y,A,b;r=r||0;function _(){d=new Date().getTime(),g=null,t.apply(y,A||[])}var w=function(){for(var S=[],C=0;C=0?_():g=setTimeout(_,-v),u=a};return w.clear=function(){g&&(clearTimeout(g),g=null)},w.debounceNextCall=function(S){b=S},w}function createOrUpdate(t,r,o,a){var u=t[r];if(!!u){var d=u[ORIGIN_METHOD]||u,g=u[THROTTLE_TYPE],v=u[RATE];if(v!==o||g!==a){if(o==null||!a)return t[r]=d;u=t[r]=throttle(d,o,a==="debounce"),u[ORIGIN_METHOD]=d,u[THROTTLE_TYPE]=a,u[RATE]=o}return u}}function clear$1(t,r){var o=t[r];o&&o[ORIGIN_METHOD]&&(o.clear&&o.clear(),t[r]=o[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(t,r){var o=t.visualStyleMapper||defaultStyleMappers[r];return o||(console.warn("Unknown style type '"+r+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(t,r){var o=t.visualDrawType||defaultColorKey[r];return o||(console.warn("Unknown style type '"+r+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var o=t.getData(),a=t.visualStyleAccessPath||"itemStyle",u=t.getModel(a),d=getStyleMapper(t,a),g=d(u),v=u.getShallow("decal");v&&(o.setVisual("decal",v),v.dirty=!0);var y=getDefaultColorKey(t,a),A=g[y],b=isFunction(A)?A:null,_=g.fill==="auto"||g.stroke==="auto";if(!g[y]||b||_){var w=t.getColorFromPalette(t.name,null,r.getSeriesCount());g[y]||(g[y]=w,o.setVisual("colorFromPalette",!0)),g.fill=g.fill==="auto"||isFunction(g.fill)?w:g.fill,g.stroke=g.stroke==="auto"||isFunction(g.stroke)?w:g.stroke}if(o.setVisual("style",g),o.setVisual("drawType",y),!r.isSeriesFiltered(t)&&b)return o.setVisual("colorFromPalette",!1),{dataEach:function(S,C){var T=t.getDataParams(C),I=extend({},g);I[y]=b(T),S.setItemVisual(C,"style",I)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!(t.ignoreStyleOnData||r.isSeriesFiltered(t))){var o=t.getData(),a=t.visualStyleAccessPath||"itemStyle",u=getStyleMapper(t,a),d=o.getVisual("drawType");return{dataEach:o.hasItemOption?function(g,v){var y=g.getRawDataItem(v);if(y&&y[a]){sharedModel.option=y[a];var A=u(sharedModel),b=g.ensureUniqueItemVisual(v,"style");extend(b,A),sharedModel.option.decal&&(g.setItemVisual(v,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),d in A&&g.setItemVisual(v,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(t){var r=createHashMap();t.eachSeries(function(o){var a=o.getColorBy();if(!o.isColorBySeries()){var u=o.type+"-"+a,d=r.get(u);d||(d={},r.set(u,d)),inner$i(o).scope=d}}),t.eachSeries(function(o){if(!(o.isColorBySeries()||t.isSeriesFiltered(o))){var a=o.getRawData(),u={},d=o.getData(),g=inner$i(o).scope,v=o.visualStyleAccessPath||"itemStyle",y=getDefaultColorKey(o,v);d.each(function(A){var b=d.getRawIndex(A);u[b]=A}),a.each(function(A){var b=u[A],_=d.getItemVisual(b,"colorFromPalette");if(_){var w=d.ensureUniqueItemVisual(b,"style"),S=a.getName(A)||A+"",C=a.count();w[y]=o.getColorFromPalette(S,g,C)}})}})}},PI$5=Math.PI;function defaultLoading(t,r){r=r||{},defaults(r,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var o=new Group$4,a=new Rect$3({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});o.add(a);var u=new ZRText$1({style:{text:r.text,fill:r.textColor,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,fontFamily:r.fontFamily},zlevel:r.zlevel,z:10001}),d=new Rect$3({style:{fill:"none"},textContent:u,textConfig:{position:"right",distance:10},zlevel:r.zlevel,z:10001});o.add(d);var g;return r.showSpinner&&(g=new Arc$1({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:r.spinnerRadius},style:{stroke:r.color,lineCap:"round",lineWidth:r.lineWidth},zlevel:r.zlevel,z:10001}),g.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),g.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),o.add(g)),o.resize=function(){var v=u.getBoundingRect().width,y=r.showSpinner?r.spinnerRadius:0,A=(t.getWidth()-y*2-(r.showSpinner&&v?10:0)-v)/2-(r.showSpinner&&v?0:5+v/2)+(r.showSpinner?0:v/2)+(v?0:y),b=t.getHeight()/2;r.showSpinner&&g.setShape({cx:A,cy:b}),d.setShape({x:A-y,y:b-y,width:y*2,height:y*2}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},o.resize(),o}var Scheduler=function(){function t(r,o,a,u){this._stageTaskMap=createHashMap(),this.ecInstance=r,this.api=o,a=this._dataProcessorHandlers=a.slice(),u=this._visualHandlers=u.slice(),this._allHandlers=a.concat(u)}return t.prototype.restoreData=function(r,o){r.restoreData(o),this._stageTaskMap.each(function(a){var u=a.overallTask;u&&u.dirty()})},t.prototype.getPerformArgs=function(r,o){if(!!r.__pipeline){var a=this._pipelineMap.get(r.__pipeline.id),u=a.context,d=!o&&a.progressiveEnabled&&(!u||u.progressiveRender)&&r.__idxInPipeline>a.blockIndex,g=d?a.step:null,v=u&&u.modDataCount,y=v!=null?Math.ceil(v/g):null;return{step:g,modBy:y,modDataCount:v}}},t.prototype.getPipeline=function(r){return this._pipelineMap.get(r)},t.prototype.updateStreamModes=function(r,o){var a=this._pipelineMap.get(r.uid),u=r.getData(),d=u.count(),g=a.progressiveEnabled&&o.incrementalPrepareRender&&d>=a.threshold,v=r.get("large")&&d>=r.get("largeThreshold"),y=r.get("progressiveChunkMode")==="mod"?d:null;r.pipelineContext=a.context={progressiveRender:g,modDataCount:y,large:v}},t.prototype.restorePipelines=function(r){var o=this,a=o._pipelineMap=createHashMap();r.eachSeries(function(u){var d=u.getProgressive(),g=u.uid;a.set(g,{id:g,head:null,tail:null,threshold:u.getProgressiveThreshold(),progressiveEnabled:d&&!(u.preventIncremental&&u.preventIncremental()),blockIndex:-1,step:Math.round(d||700),count:0}),o._pipe(u,u.dataTask)})},t.prototype.prepareStageTasks=function(){var r=this._stageTaskMap,o=this.api.getModel(),a=this.api;each$f(this._allHandlers,function(u){var d=r.get(u.uid)||r.set(u.uid,{}),g="";assert(!(u.reset&&u.overallReset),g),u.reset&&this._createSeriesStageTask(u,d,o,a),u.overallReset&&this._createOverallStageTask(u,d,o,a)},this)},t.prototype.prepareView=function(r,o,a,u){var d=r.renderTask,g=d.context;g.model=o,g.ecModel=a,g.api=u,d.__block=!r.incrementalPrepareRender,this._pipe(o,d)},t.prototype.performDataProcessorTasks=function(r,o){this._performStageTasks(this._dataProcessorHandlers,r,o,{block:!0})},t.prototype.performVisualTasks=function(r,o,a){this._performStageTasks(this._visualHandlers,r,o,a)},t.prototype._performStageTasks=function(r,o,a,u){u=u||{};var d=!1,g=this;each$f(r,function(y,A){if(!(u.visualType&&u.visualType!==y.visualType)){var b=g._stageTaskMap.get(y.uid),_=b.seriesTaskMap,w=b.overallTask;if(w){var S,C=w.agentStubMap;C.each(function(I){v(u,I)&&(I.dirty(),S=!0)}),S&&w.dirty(),g.updatePayload(w,a);var T=g.getPerformArgs(w,u.block);C.each(function(I){I.perform(T)}),w.perform(T)&&(d=!0)}else _&&_.each(function(I,E){v(u,I)&&I.dirty();var F=g.getPerformArgs(I,u.block);F.skip=!y.performRawSeries&&o.isSeriesFiltered(I.context.model),g.updatePayload(I,a),I.perform(F)&&(d=!0)})}});function v(y,A){return y.setDirty&&(!y.dirtyMap||y.dirtyMap.get(A.__pipeline.id))}this.unfinished=d||this.unfinished},t.prototype.performSeriesTasks=function(r){var o;r.eachSeries(function(a){o=a.dataTask.perform()||o}),this.unfinished=o||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(r){var o=r.tail;do{if(o.__block){r.blockIndex=o.__idxInPipeline;break}o=o.getUpstream()}while(o)})},t.prototype.updatePayload=function(r,o){o!=="remain"&&(r.context.payload=o)},t.prototype._createSeriesStageTask=function(r,o,a,u){var d=this,g=o.seriesTaskMap,v=o.seriesTaskMap=createHashMap(),y=r.seriesType,A=r.getTargetSeries;r.createOnAllSeries?a.eachRawSeries(b):y?a.eachRawSeriesByType(y,b):A&&A(a,u).each(b);function b(_){var w=_.uid,S=v.set(w,g&&g.get(w)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));S.context={model:_,ecModel:a,api:u,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:d},d._pipe(_,S)}},t.prototype._createOverallStageTask=function(r,o,a,u){var d=this,g=o.overallTask=o.overallTask||createTask({reset:overallTaskReset});g.context={ecModel:a,api:u,overallReset:r.overallReset,scheduler:d};var v=g.agentStubMap,y=g.agentStubMap=createHashMap(),A=r.seriesType,b=r.getTargetSeries,_=!0,w=!1,S="";assert(!r.createOnAllSeries,S),A?a.eachRawSeriesByType(A,C):b?b(a,u).each(C):(_=!1,each$f(a.getSeries(),C));function C(T){var I=T.uid,E=y.set(I,v&&v.get(I)||(w=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));E.context={model:T,overallProgress:_},E.agent=g,E.__block=_,d._pipe(T,E)}w&&g.dirty()},t.prototype._pipe=function(r,o){var a=r.uid,u=this._pipelineMap.get(a);!u.head&&(u.head=o),u.tail&&u.tail.pipe(o),u.tail=o,o.__idxInPipeline=u.count++,o.__pipeline=u},t.wrapStageHandler=function(r,o){return isFunction(r)&&(r={overallReset:r,seriesType:detectSeriseType(r)}),r.uid=getUID("stageHandler"),o&&(r.visualType=o),r},t}();function overallTaskReset(t){t.overallReset(t.ecModel,t.api,t.payload)}function stubReset(t){return t.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function seriesTaskReset(t){t.useClearVisual&&t.data.clearAllVisual();var r=t.resetDefines=normalizeToArray(t.reset(t.model,t.ecModel,t.api,t.payload));return r.length>1?map$1(r,function(o,a){return makeSeriesTaskProgress(a)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(t){return function(r,o){var a=o.data,u=o.resetDefines[t];if(u&&u.dataEach)for(var d=r.start;d0&&S===A.length-w.length){var C=A.slice(0,S);C!=="data"&&(o.mainType=C,o[w.toLowerCase()]=y,b=!0)}}v.hasOwnProperty(A)&&(a[A]=y,b=!0),b||(u[A]=y)})}return{cptQuery:o,dataQuery:a,otherQuery:u}},t.prototype.filter=function(r,o){var a=this.eventInfo;if(!a)return!0;var u=a.targetEl,d=a.packedEvent,g=a.model,v=a.view;if(!g||!v)return!0;var y=o.cptQuery,A=o.dataQuery;return b(y,g,"mainType")&&b(y,g,"subType")&&b(y,g,"index","componentIndex")&&b(y,g,"name")&&b(y,g,"id")&&b(A,d,"name")&&b(A,d,"dataIndex")&&b(A,d,"dataType")&&(!v.filterForExposedEvent||v.filterForExposedEvent(r,o.otherQuery,u,d));function b(_,w,S,C){return _[S]==null||w[C||S]===_[S]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var o=t.getData();if(t.legendIcon&&o.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var a={},u={},d=!1,g=0;g=0&&isSafeNum(y)?y:.5;var A=t.createRadialGradient(g,v,0,g,v,y);return A}function getCanvasGradient(t,r,o){for(var a=r.type==="radial"?createRadialGradient(t,r,o):createLinearGradient(t,r,o),u=r.colorStops,d=0;d0)?null:t==="dashed"?[4*r,2*r]:t==="dotted"?[r]:isNumber$1(t)?[t]:isArray$1(t)?t:null}function getLineDash(t){var r=t.style,o=r.lineDash&&r.lineWidth>0&&normalizeLineDash(r.lineDash,r.lineWidth),a=r.lineDashOffset;if(o){var u=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;u&&u!==1&&(o=map$1(o,function(d){return d/u}),a/=u)}return[o,a]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke(t){var r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))}function isValidStrokeFillStyle(t){return typeof t=="string"&&t!=="none"}function styleHasFill(t){var r=t.fill;return r!=null&&r!=="none"}function doFillPath(t,r){if(r.fillOpacity!=null&&r.fillOpacity!==1){var o=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,t.fill(),t.globalAlpha=o}else t.fill()}function doStrokePath(t,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var o=t.globalAlpha;t.globalAlpha=r.strokeOpacity*r.opacity,t.stroke(),t.globalAlpha=o}else t.stroke()}function createCanvasPattern(t,r,o){var a=createOrUpdateImage(r.image,r.__image,o);if(isImageReady(a)){var u=t.createPattern(a,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&u&&u.setTransform){var d=new DOMMatrix;d.translateSelf(r.x||0,r.y||0),d.rotateSelf(0,0,(r.rotation||0)*RADIAN_TO_DEGREE),d.scaleSelf(r.scaleX||1,r.scaleY||1),u.setTransform(d)}return u}}function brushPath(t,r,o,a){var u,d=styleHasStroke(o),g=styleHasFill(o),v=o.strokePercent,y=v<1,A=!r.path;(!r.silent||y)&&A&&r.createPathProxy();var b=r.path||pathProxyForDraw,_=r.__dirty;if(!a){var w=o.fill,S=o.stroke,C=g&&!!w.colorStops,T=d&&!!S.colorStops,I=g&&!!w.image,E=d&&!!S.image,F=void 0,O=void 0,D=void 0,x=void 0,P=void 0;(C||T)&&(P=r.getBoundingRect()),C&&(F=_?getCanvasGradient(t,w,P):r.__canvasFillGradient,r.__canvasFillGradient=F),T&&(O=_?getCanvasGradient(t,S,P):r.__canvasStrokeGradient,r.__canvasStrokeGradient=O),I&&(D=_||!r.__canvasFillPattern?createCanvasPattern(t,w,r):r.__canvasFillPattern,r.__canvasFillPattern=D),E&&(x=_||!r.__canvasStrokePattern?createCanvasPattern(t,S,r):r.__canvasStrokePattern,r.__canvasStrokePattern=D),C?t.fillStyle=F:I&&(D?t.fillStyle=D:g=!1),T?t.strokeStyle=O:E&&(x?t.strokeStyle=x:d=!1)}var G=r.getGlobalScale();b.setScale(G[0],G[1],r.segmentIgnoreThreshold);var M,N;t.setLineDash&&o.lineDash&&(u=getLineDash(r),M=u[0],N=u[1]);var V=!0;(A||_&SHAPE_CHANGED_BIT)&&(b.setDPR(t.dpr),y?b.setContext(null):(b.setContext(t),V=!1),b.reset(),r.buildPath(b,r.shape,a),b.toStatic(),r.pathUpdated()),V&&b.rebuildPath(t,y?v:1),M&&(t.setLineDash(M),t.lineDashOffset=N),a||(o.strokeFirst?(d&&doStrokePath(t,o),g&&doFillPath(t,o)):(g&&doFillPath(t,o),d&&doStrokePath(t,o))),M&&t.setLineDash([])}function brushImage(t,r,o){var a=r.__image=createOrUpdateImage(o.image,r.__image,r,r.onload);if(!(!a||!isImageReady(a))){var u=o.x||0,d=o.y||0,g=r.getWidth(),v=r.getHeight(),y=a.width/a.height;if(g==null&&v!=null?g=v*y:v==null&&g!=null?v=g/y:g==null&&v==null&&(g=a.width,v=a.height),o.sWidth&&o.sHeight){var A=o.sx||0,b=o.sy||0;t.drawImage(a,A,b,o.sWidth,o.sHeight,u,d,g,v)}else if(o.sx&&o.sy){var A=o.sx,b=o.sy,_=g-A,w=v-b;t.drawImage(a,A,b,_,w,u,d,g,v)}else t.drawImage(a,u,d,g,v)}}function brushText(t,r,o){var a,u=o.text;if(u!=null&&(u+=""),u){t.font=o.font||DEFAULT_FONT,t.textAlign=o.textAlign,t.textBaseline=o.textBaseline;var d=void 0,g=void 0;t.setLineDash&&o.lineDash&&(a=getLineDash(r),d=a[0],g=a[1]),d&&(t.setLineDash(d),t.lineDashOffset=g),o.strokeFirst?(styleHasStroke(o)&&t.strokeText(u,o.x,o.y),styleHasFill(o)&&t.fillText(u,o.x,o.y)):(styleHasFill(o)&&t.fillText(u,o.x,o.y),styleHasStroke(o)&&t.strokeText(u,o.x,o.y)),d&&t.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(t,r,o,a,u){var d=!1;if(!a&&(o=o||{},r===o))return!1;if(a||r.opacity!==o.opacity){flushPathDrawn(t,u),d=!0;var g=Math.max(Math.min(r.opacity,1),0);t.globalAlpha=isNaN(g)?DEFAULT_COMMON_STYLE.opacity:g}(a||r.blend!==o.blend)&&(d||(flushPathDrawn(t,u),d=!0),t.globalCompositeOperation=r.blend||DEFAULT_COMMON_STYLE.blend);for(var v=0;v0&&o.unfinished);o.unfinished||this._zr.flush()}}},r.prototype.getDom=function(){return this._dom},r.prototype.getId=function(){return this.id},r.prototype.getZr=function(){return this._zr},r.prototype.isSSR=function(){return this._ssr},r.prototype.setOption=function(o,a,u){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var d,g,v;if(isObject$3(a)&&(u=a.lazyUpdate,d=a.silent,g=a.replaceMerge,v=a.transition,a=a.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||a){var y=new OptionManager$1(this._api),A=this._theme,b=this._model=new GlobalModel$1;b.scheduler=this._scheduler,b.ssr=this._ssr,b.init(null,null,null,A,this._locale,y)}this._model.setOption(o,{replaceMerge:g},optionPreprocessorFuncs);var _={seriesTransition:v,optionChanged:!0};if(u)this[PENDING_UPDATE]={silent:d,updateParams:_},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,_)}catch(w){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,w}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,d),triggerUpdatedEvent.call(this,d)}}},r.prototype.setTheme=function(){},r.prototype.getModel=function(){return this._model},r.prototype.getOption=function(){return this._model&&this._model.getOption()},r.prototype.getWidth=function(){return this._zr.getWidth()},r.prototype.getHeight=function(){return this._zr.getHeight()},r.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env$1.hasGlobalWindow&&window.devicePixelRatio||1},r.prototype.getRenderedCanvas=function(o){return this.renderToCanvas(o)},r.prototype.renderToCanvas=function(o){o=o||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:o.backgroundColor||this._model.get("backgroundColor"),pixelRatio:o.pixelRatio||this.getDevicePixelRatio()})},r.prototype.renderToSVGString=function(o){o=o||{};var a=this._zr.painter;return a.renderToString({useViewBox:o.useViewBox})},r.prototype.getSvgDataURL=function(){if(!!env$1.svgSupported){var o=this._zr,a=o.storage.getDisplayList();return each$f(a,function(u){u.stopAnimation(null,!0)}),o.painter.toDataURL()}},r.prototype.getDataURL=function(o){if(this._disposed){this.id;return}o=o||{};var a=o.excludeComponents,u=this._model,d=[],g=this;each$f(a,function(y){u.eachComponent({mainType:y},function(A){var b=g._componentsMap[A.__viewId];b.group.ignore||(d.push(b),b.group.ignore=!0)})});var v=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(o).toDataURL("image/"+(o&&o.type||"png"));return each$f(d,function(y){y.group.ignore=!1}),v},r.prototype.getConnectedDataURL=function(o){if(this._disposed){this.id;return}var a=o.type==="svg",u=this.group,d=Math.min,g=Math.max,v=1/0;if(connectedGroups[u]){var y=v,A=v,b=-v,_=-v,w=[],S=o&&o.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(O,D){if(O.group===u){var x=a?O.getZr().painter.getSvgDom().innerHTML:O.renderToCanvas(clone$5(o)),P=O.getDom().getBoundingClientRect();y=d(P.left,y),A=d(P.top,A),b=g(P.right,b),_=g(P.bottom,_),w.push({dom:x,left:P.left,top:P.top})}}),y*=S,A*=S,b*=S,_*=S;var C=b-y,T=_-A,I=platformApi.createCanvas(),E=init$2(I,{renderer:a?"svg":"canvas"});if(E.resize({width:C,height:T}),a){var F="";return each$f(w,function(O){var D=O.left-y,x=O.top-A;F+=''+O.dom+""}),E.painter.getSvgRoot().innerHTML=F,o.connectedBackgroundColor&&E.painter.setBackgroundColor(o.connectedBackgroundColor),E.refreshImmediately(),E.painter.toDataURL()}else return o.connectedBackgroundColor&&E.add(new Rect$3({shape:{x:0,y:0,width:C,height:T},style:{fill:o.connectedBackgroundColor}})),each$f(w,function(O){var D=new ZRImage$1({style:{x:O.left*S-y,y:O.top*S-A,image:O.dom}});E.add(D)}),E.refreshImmediately(),I.toDataURL("image/"+(o&&o.type||"png"))}else return this.getDataURL(o)},r.prototype.convertToPixel=function(o,a){return doConvertPixel(this,"convertToPixel",o,a)},r.prototype.convertFromPixel=function(o,a){return doConvertPixel(this,"convertFromPixel",o,a)},r.prototype.containPixel=function(o,a){if(this._disposed){this.id;return}var u=this._model,d,g=parseFinder$1(u,o);return each$f(g,function(v,y){y.indexOf("Models")>=0&&each$f(v,function(A){var b=A.coordinateSystem;if(b&&b.containPoint)d=d||!!b.containPoint(a);else if(y==="seriesModels"){var _=this._chartsMap[A.__viewId];_&&_.containPoint&&(d=d||_.containPoint(a,A))}},this)},this),!!d},r.prototype.getVisual=function(o,a){var u=this._model,d=parseFinder$1(u,o,{defaultMainType:"series"}),g=d.seriesModel,v=g.getData(),y=d.hasOwnProperty("dataIndexInside")?d.dataIndexInside:d.hasOwnProperty("dataIndex")?v.indexOfRawIndex(d.dataIndex):null;return y!=null?getItemVisualFromData(v,y,a):getVisualFromData(v,a)},r.prototype.getViewOfComponentModel=function(o){return this._componentsMap[o.__viewId]},r.prototype.getViewOfSeriesModel=function(o){return this._chartsMap[o.__viewId]},r.prototype._initEvents=function(){var o=this;each$f(MOUSE_EVENT_NAMES,function(a){var u=function(d){var g=o.getModel(),v=d.target,y,A=a==="globalout";if(A?y={}:v&&findEventDispatcher(v,function(C){var T=getECData(C);if(T&&T.dataIndex!=null){var I=T.dataModel||g.getSeriesByIndex(T.seriesIndex);return y=I&&I.getDataParams(T.dataIndex,T.dataType,v)||{},!0}else if(T.eventData)return y=extend({},T.eventData),!0},!0),y){var b=y.componentType,_=y.componentIndex;(b==="markLine"||b==="markPoint"||b==="markArea")&&(b="series",_=y.seriesIndex);var w=b&&_!=null&&g.getComponent(b,_),S=w&&o[w.mainType==="series"?"_chartsMap":"_componentsMap"][w.__viewId];y.event=d,y.type=a,o._$eventProcessor.eventInfo={targetEl:v,packedEvent:y,model:w,view:S},o.trigger(a,y)}};u.zrEventfulCallAtLast=!0,o._zr.on(a,u,o)}),each$f(eventActionMap,function(a,u){o._messageCenter.on(u,function(d){this.trigger(u,d)},o)}),each$f(["selectchanged"],function(a){o._messageCenter.on(a,function(u){this.trigger(a,u)},o)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},r.prototype.isDisposed=function(){return this._disposed},r.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},r.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var o=this.getDom();o&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var a=this,u=a._api,d=a._model;each$f(a._componentsViews,function(g){g.dispose(d,u)}),each$f(a._chartsViews,function(g){g.dispose(d,u)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete instances[a.id]},r.prototype.resize=function(o){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(o);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var u=a.resetOption("media"),d=o&&o.silent;this[PENDING_UPDATE]&&(d==null&&(d=this[PENDING_UPDATE].silent),u=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{u&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},o&&o.animation)})}catch(g){throw this[IN_MAIN_PROCESS_KEY]=!1,g}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,d),triggerUpdatedEvent.call(this,d)}}},r.prototype.showLoading=function(o,a){if(this._disposed){this.id;return}if(isObject$3(o)&&(a=o,o=""),o=o||"default",this.hideLoading(),!!loadingEffects[o]){var u=loadingEffects[o](this._api,a),d=this._zr;this._loadingFX=u,d.add(u)}},r.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},r.prototype.makeActionFromEvent=function(o){var a=extend({},o);return a.type=eventActionMap[o.type],a},r.prototype.dispatchAction=function(o,a){if(this._disposed){this.id;return}if(isObject$3(a)||(a={silent:!!a}),!!actions[o.type]&&!!this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(o);return}var u=a.silent;doDispatchAction.call(this,o,u);var d=a.flush;d?this._zr.flush():d!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,u),triggerUpdatedEvent.call(this,u)}},r.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},r.prototype.appendData=function(o){if(this._disposed){this.id;return}var a=o.seriesIndex,u=this.getModel(),d=u.getSeriesByIndex(a);d.appendData(o),this._scheduler.unfinished=!0,this.getZr().wakeUp()},r.internalField=function(){prepare=function(_){var w=_._scheduler;w.restorePipelines(_._model),w.prepareStageTasks(),prepareView(_,!0),prepareView(_,!1),w.plan()},prepareView=function(_,w){for(var S=_._model,C=_._scheduler,T=w?_._componentsViews:_._chartsViews,I=w?_._componentsMap:_._chartsMap,E=_._zr,F=_._api,O=0;Ow.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&w.eachSeries(function(I){if(!I.preventUsingHoverLayer){var E=_._chartsMap[I.__viewId];E.__alive&&E.eachRendered(function(F){F.states.emphasis&&(F.states.emphasis.hoverLayer=!0)})}})}function g(_,w){var S=_.get("blendMode")||null;w.eachRendered(function(C){C.isGroup||(C.style.blend=S)})}function v(_,w){if(!_.preventAutoZ){var S=_.get("z")||0,C=_.get("zlevel")||0;w.eachRendered(function(T){return y(T,S,C,-1/0),!0})}}function y(_,w,S,C){var T=_.getTextContent(),I=_.getTextGuideLine(),E=_.isGroup;if(E)for(var F=_.childrenRef(),O=0;O0?{duration:T,delay:S.get("delay"),easing:S.get("easing")}:null;w.eachRendered(function(E){if(E.states&&E.states.emphasis){if(isElementRemoved(E))return;if(E instanceof Path$1&&savePathStates(E),E.__dirty){var F=E.prevStates;F&&E.useStates(F)}if(C){E.stateTransition=I;var O=E.getTextContent(),D=E.getTextGuideLine();O&&(O.stateTransition=I),D&&(D.stateTransition=I)}E.__dirty&&u(E)}})}createExtensionAPI=function(_){return new(function(w){__extends$1(S,w);function S(){return w!==null&&w.apply(this,arguments)||this}return S.prototype.getCoordinateSystems=function(){return _._coordSysMgr.getCoordinateSystems()},S.prototype.getComponentByElement=function(C){for(;C;){var T=C.__ecComponentInfo;if(T!=null)return _._model.getComponent(T.mainType,T.index);C=C.parent}},S.prototype.enterEmphasis=function(C,T){enterEmphasis(C,T),markStatusToUpdate(_)},S.prototype.leaveEmphasis=function(C,T){leaveEmphasis(C,T),markStatusToUpdate(_)},S.prototype.enterBlur=function(C){enterBlur(C),markStatusToUpdate(_)},S.prototype.leaveBlur=function(C){leaveBlur(C),markStatusToUpdate(_)},S.prototype.enterSelect=function(C){enterSelect(C),markStatusToUpdate(_)},S.prototype.leaveSelect=function(C){leaveSelect(C),markStatusToUpdate(_)},S.prototype.getModel=function(){return _.getModel()},S.prototype.getViewOfComponentModel=function(C){return _.getViewOfComponentModel(C)},S.prototype.getViewOfSeriesModel=function(C){return _.getViewOfSeriesModel(C)},S}(ExtensionAPI$1))(_)},enableConnect=function(_){function w(S,C){for(var T=0;T=0)){registeredTasks.push(o);var d=Scheduler$1.wrapStageHandler(o,u);d.__prio=r,d.__raw=o,t.push(d)}}function registerLoading(t,r){loadingEffects[t]=r}function registerMap$1(t,r,o){var a=getImpl("registerMap");a&&a(t,r,o)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",darkTheme);function dataIndexMapValueLength(t){return t==null?0:t.length||1}function defaultKeyGetter(t){return t}var DataDiffer=function(){function t(r,o,a,u,d,g){this._old=r,this._new=o,this._oldKeyGetter=a||defaultKeyGetter,this._newKeyGetter=u||defaultKeyGetter,this.context=d,this._diffModeMultiple=g==="multiple"}return t.prototype.add=function(r){return this._add=r,this},t.prototype.update=function(r){return this._update=r,this},t.prototype.updateManyToOne=function(r){return this._updateManyToOne=r,this},t.prototype.updateOneToMany=function(r){return this._updateOneToMany=r,this},t.prototype.updateManyToMany=function(r){return this._updateManyToMany=r,this},t.prototype.remove=function(r){return this._remove=r,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var r=this._old,o=this._new,a={},u=new Array(r.length),d=new Array(o.length);this._initIndexMap(r,null,u,"_oldKeyGetter"),this._initIndexMap(o,a,d,"_newKeyGetter");for(var g=0;g1){var b=y.shift();y.length===1&&(a[v]=y[0]),this._update&&this._update(b,g)}else A===1?(a[v]=null,this._update&&this._update(y,g)):this._remove&&this._remove(g)}this._performRestAdd(d,a)},t.prototype._executeMultiple=function(){var r=this._old,o=this._new,a={},u={},d=[],g=[];this._initIndexMap(r,a,d,"_oldKeyGetter"),this._initIndexMap(o,u,g,"_newKeyGetter");for(var v=0;v1&&w===1)this._updateManyToOne&&this._updateManyToOne(b,A),u[y]=null;else if(_===1&&w>1)this._updateOneToMany&&this._updateOneToMany(b,A),u[y]=null;else if(_===1&&w===1)this._update&&this._update(b,A),u[y]=null;else if(_>1&&w>1)this._updateManyToMany&&this._updateManyToMany(b,A),u[y]=null;else if(_>1)for(var S=0;S<_;S++)this._remove&&this._remove(A[S]);else this._remove&&this._remove(A)}this._performRestAdd(g,u)},t.prototype._performRestAdd=function(r,o){for(var a=0;a1)for(var v=0;v30}var isObject$1=isObject$3,map=map$1,CtorInt32Array=typeof Int32Array=="undefined"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function t(r,o){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a,u=!1;isSeriesDataSchema(r)?(a=r.dimensions,this._dimOmitted=r.isDimensionOmitted(),this._schema=r):(u=!0,a=r),a=a||["x","y"];for(var d={},g=[],v={},y=!1,A={},b=0;b=o)){var a=this._store,u=a.getProvider();this._updateOrdinalMeta();var d=this._nameList,g=this._idList,v=u.getSource().sourceFormat,y=v===SOURCE_FORMAT_ORIGINAL;if(y&&!u.pure)for(var A=[],b=r;b0},t.prototype.ensureUniqueItemVisual=function(r,o){var a=this._itemVisuals,u=a[r];u||(u=a[r]={});var d=u[o];return d==null&&(d=this.getVisual(o),isArray$1(d)?d=d.slice():isObject$1(d)&&(d=extend({},d)),u[o]=d),d},t.prototype.setItemVisual=function(r,o,a){var u=this._itemVisuals[r]||{};this._itemVisuals[r]=u,isObject$1(o)?extend(u,o):u[o]=a},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(r,o){isObject$1(r)?extend(this._layout,r):this._layout[r]=o},t.prototype.getLayout=function(r){return this._layout[r]},t.prototype.getItemLayout=function(r){return this._itemLayouts[r]},t.prototype.setItemLayout=function(r,o,a){this._itemLayouts[r]=a?extend(this._itemLayouts[r]||{},o):o},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(r,o){var a=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(a,this.dataType,r,o),this._graphicEls[r]=o},t.prototype.getItemGraphicEl=function(r){return this._graphicEls[r]},t.prototype.eachItemGraphicEl=function(r,o){each$f(this._graphicEls,function(a,u){a&&r&&r.call(o,a,u)})},t.prototype.cloneShallow=function(r){return r||(r=new t(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(r,this),r._store=this._store,r},t.prototype.wrapMethod=function(r,o){var a=this[r];!isFunction(a)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(r),this[r]=function(){var u=a.apply(this,arguments);return o.apply(this,[u].concat(slice(arguments)))})},t.internalField=function(){prepareInvertedIndex=function(r){var o=r._invertedIndicesMap;each$f(o,function(a,u){var d=r._dimInfos[u],g=d.ordinalMeta,v=r._store;if(g){a=o[u]=new CtorInt32Array(g.categories.length);for(var y=0;y1&&(y+="__ec__"+b),u[o]=y}}}(),t}(),SeriesData$1=SeriesData;function prepareSeriesDataSchema(t,r){isSourceInstance(t)||(t=createSourceFromSeriesDataOption(t)),r=r||{};var o=r.coordDimensions||[],a=r.dimensionsDefine||t.dimensionsDefine||[],u=createHashMap(),d=[],g=getDimCount(t,o,a,r.dimensionsCount),v=r.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(g),y=a===t.dimensionsDefine,A=y?ensureSourceDimNameMap(t):createDimNameMap(a),b=r.encodeDefine;!b&&r.encodeDefaulter&&(b=r.encodeDefaulter(t,g));for(var _=createHashMap(b),w=new CtorInt32Array$1(g),S=0;S0&&(a.name=u+(d-1)),d++,r.set(u,d)}}function getDimCount(t,r,o,a){var u=Math.max(t.dimensionsDetectedCount||1,r.length,o.length,a||0);return each$f(r,function(d){var g;isObject$3(d)&&(g=d.dimsDef)&&(u=Math.max(u,g.length))}),u}function genCoordDimName(t,r,o){if(o||r.hasKey(t)){for(var a=0;r.hasKey(t+a);)a++;t+=a}return r.set(t,!0),t}var CoordSysInfo=function(){function t(r){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=r}return t}();function getCoordSysInfoBySeries(t){var r=t.get("coordinateSystem"),o=new CoordSysInfo(r),a=fetchers[r];if(a)return a(t,o,o.axisMap,o.categoryAxisMap),o}var fetchers={cartesian2d:function(t,r,o,a){var u=t.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],d=t.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["x","y"],o.set("x",u),o.set("y",d),isCategory(u)&&(a.set("x",u),r.firstCategoryDimIndex=0),isCategory(d)&&(a.set("y",d),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},singleAxis:function(t,r,o,a){var u=t.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["single"],o.set("single",u),isCategory(u)&&(a.set("single",u),r.firstCategoryDimIndex=0)},polar:function(t,r,o,a){var u=t.getReferringComponents("polar",SINGLE_REFERRING).models[0],d=u.findAxisModel("radiusAxis"),g=u.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],o.set("radius",d),o.set("angle",g),isCategory(d)&&(a.set("radius",d),r.firstCategoryDimIndex=0),isCategory(g)&&(a.set("angle",g),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},geo:function(t,r,o,a){r.coordSysDims=["lng","lat"]},parallel:function(t,r,o,a){var u=t.ecModel,d=u.getComponent("parallel",t.get("parallelIndex")),g=r.coordSysDims=d.dimensions.slice();each$f(d.parallelAxisIndex,function(v,y){var A=u.getComponent("parallelAxis",v),b=g[y];o.set(b,A),isCategory(A)&&(a.set(b,A),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=y))})}};function isCategory(t){return t.get("type")==="category"}function enableDataStack(t,r,o){o=o||{};var a=o.byIndex,u=o.stackedCoordDimension,d,g,v;isLegacyDimensionsInput(r)?d=r:(g=r.schema,d=g.dimensions,v=r.store);var y=!!(t&&t.get("stack")),A,b,_,w;if(each$f(d,function(F,O){isString$1(F)&&(d[O]=F={name:F}),y&&!F.isExtraCoord&&(!a&&!A&&F.ordinalMeta&&(A=F),!b&&F.type!=="ordinal"&&F.type!=="time"&&(!u||u===F.coordDim)&&(b=F))}),b&&!a&&!A&&(a=!0),b){_="__\0ecstackresult_"+t.id,w="__\0ecstackedover_"+t.id,A&&(A.createInvertedIndices=!0);var S=b.coordDim,C=b.type,T=0;each$f(d,function(F){F.coordDim===S&&T++});var I={name:_,coordDim:S,coordDimIndex:T,type:C,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length},E={name:w,coordDim:w,coordDimIndex:T+1,type:C,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length+1};g?(v&&(I.storeDimIndex=v.ensureCalculationDimension(w,C),E.storeDimIndex=v.ensureCalculationDimension(_,C)),g.appendCalculationDimension(I),g.appendCalculationDimension(E)):(d.push(I),d.push(E))}return{stackedDimension:b&&b.name,stackedByDimension:A&&A.name,isStackedByIndex:a,stackedOverDimension:w,stackResultDimension:_}}function isLegacyDimensionsInput(t){return!isSeriesDataSchema(t.schema)}function isDimensionStacked(t,r){return!!r&&r===t.getCalculationInfo("stackedDimension")}function getStackedDimension(t,r){return isDimensionStacked(t,r)?t.getCalculationInfo("stackResultDimension"):r}function getCoordSysDimDefs(t,r){var o=t.get("coordinateSystem"),a=CoordinateSystem.get(o),u;return r&&r.coordSysDims&&(u=map$1(r.coordSysDims,function(d){var g={name:d},v=r.axisMap.get(d);if(v){var y=v.get("type");g.type=getDimensionTypeByAxis(y)}return g})),u||(u=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),u}function injectOrdinalMeta(t,r,o){var a,u;return o&&each$f(t,function(d,g){var v=d.coordDim,y=o.categoryAxisMap.get(v);y&&(a==null&&(a=g),d.ordinalMeta=y.getOrdinalMeta(),r&&(d.createInvertedIndices=!0)),d.otherDims.itemName!=null&&(u=!0)}),!u&&a!=null&&(t[a].otherDims.itemName=0),a}function createSeriesData(t,r,o){o=o||{};var a=r.getSourceManager(),u,d=!1;t?(d=!0,u=createSourceFromSeriesDataOption(t)):(u=a.getSource(),d=u.sourceFormat===SOURCE_FORMAT_ORIGINAL);var g=getCoordSysInfoBySeries(r),v=getCoordSysDimDefs(r,g),y=o.useEncodeDefaulter,A=isFunction(y)?y:y?curry$1(makeSeriesEncodeForAxisCoordSys,v,r):null,b={coordDimensions:v,generateCoord:o.generateCoord,encodeDefine:r.getEncode(),encodeDefaulter:A,canOmitUnusedDimensions:!d},_=prepareSeriesDataSchema(u,b),w=injectOrdinalMeta(_.dimensions,o.createInvertedIndices,g),S=d?null:a.getSharedDataStore(_),C=enableDataStack(r,{schema:_,store:S}),T=new SeriesData$1(_,r);T.setCalculationInfo(C);var I=w!=null&&isNeedCompleteOrdinalData(u)?function(E,F,O,D){return D===w?O:this.defaultDimValueGetter(E,F,O,D)}:null;return T.hasItemOption=!1,T.initData(d?u:S,null,I),T}function isNeedCompleteOrdinalData(t){if(t.sourceFormat===SOURCE_FORMAT_ORIGINAL){var r=firstDataNotNull(t.data||[]);return!isArray$1(getDataItemValue(r))}}function firstDataNotNull(t){for(var r=0;ro[1]&&(o[1]=r[1])},t.prototype.unionExtentFromData=function(r,o){this.unionExtent(r.getApproximateExtent(o))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(r,o){var a=this._extent;isNaN(r)||(a[0]=r),isNaN(o)||(a[1]=o)},t.prototype.isInExtentRange=function(r){return this._extent[0]<=r&&this._extent[1]>=r},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(r){this._isBlank=r},t}();enableClassManagement(Scale);var Scale$1=Scale,uidBase=0,OrdinalMeta=function(){function t(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this.uid=++uidBase}return t.createByAxisModel=function(r){var o=r.option,a=o.data,u=a&&map$1(a,getName);return new t({categories:u,needCollect:!u,deduplication:o.dedplication!==!1})},t.prototype.getOrdinal=function(r){return this._getOrCreateMap().get(r)},t.prototype.parseAndCollect=function(r){var o,a=this._needCollect;if(!isString$1(r)&&!a)return r;if(a&&!this._deduplication)return o=this.categories.length,this.categories[o]=r,o;var u=this._getOrCreateMap();return o=u.get(r),o==null&&(a?(o=this.categories.length,this.categories[o]=r,u.set(r,o)):o=NaN),o},t.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},t}();function getName(t){return isObject$3(t)&&t.value!=null?t.value:t+""}var OrdinalMeta$1=OrdinalMeta;function isIntervalOrLogScale(t){return t.type==="interval"||t.type==="log"}function intervalScaleNiceTicks(t,r,o,a){var u={},d=t[1]-t[0],g=u.interval=nice(d/r,!0);o!=null&&ga&&(g=u.interval=a);var v=u.intervalPrecision=getIntervalPrecision(g),y=u.niceTickExtent=[round$3(Math.ceil(t[0]/g)*g,v),round$3(Math.floor(t[1]/g)*g,v)];return fixExtent(y,t),u}function increaseInterval(t){var r=Math.pow(10,quantityExponent(t)),o=t/r;return o?o===2?o=3:o===3?o=5:o*=2:o=1,round$3(o*r)}function getIntervalPrecision(t){return getPrecision(t)+2}function clamp(t,r,o){t[r]=Math.max(Math.min(t[r],o[1]),o[0])}function fixExtent(t,r){!isFinite(t[0])&&(t[0]=r[0]),!isFinite(t[1])&&(t[1]=r[1]),clamp(t,0,r),clamp(t,1,r),t[0]>t[1]&&(t[0]=t[1])}function contain$1(t,r){return t>=r[0]&&t<=r[1]}function normalize$2(t,r){return r[1]===r[0]?.5:(t-r[0])/(r[1]-r[0])}function scale(t,r){return t*(r[1]-r[0])+r[0]}var OrdinalScale=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;a.type="ordinal";var u=a.getSetting("ordinalMeta");return u||(u=new OrdinalMeta$1({})),isArray$1(u)&&(u=new OrdinalMeta$1({categories:map$1(u,function(d){return isObject$3(d)?d.value:d})})),a._ordinalMeta=u,a._extent=a.getSetting("extent")||[0,u.categories.length-1],a}return r.prototype.parse=function(o){return o==null?NaN:isString$1(o)?this._ordinalMeta.getOrdinal(o):Math.round(o)},r.prototype.contain=function(o){return o=this.parse(o),contain$1(o,this._extent)&&this._ordinalMeta.categories[o]!=null},r.prototype.normalize=function(o){return o=this._getTickNumber(this.parse(o)),normalize$2(o,this._extent)},r.prototype.scale=function(o){return o=Math.round(scale(o,this._extent)),this.getRawOrdinalNumber(o)},r.prototype.getTicks=function(){for(var o=[],a=this._extent,u=a[0];u<=a[1];)o.push({value:u}),u++;return o},r.prototype.getMinorTicks=function(o){},r.prototype.setSortInfo=function(o){if(o==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=o.ordinalNumbers,u=this._ordinalNumbersByTick=[],d=this._ticksByOrdinalNumber=[],g=0,v=this._ordinalMeta.categories.length,y=Math.min(v,a.length);g=0&&o=0&&o=o},r.prototype.getOrdinalMeta=function(){return this._ordinalMeta},r.prototype.calcNiceTicks=function(){},r.prototype.calcNiceExtent=function(){},r.type="ordinal",r}(Scale$1);Scale$1.registerClass(OrdinalScale);var OrdinalScale$1=OrdinalScale,roundNumber=round$3,IntervalScale=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="interval",o._interval=0,o._intervalPrecision=2,o}return r.prototype.parse=function(o){return o},r.prototype.contain=function(o){return contain$1(o,this._extent)},r.prototype.normalize=function(o){return normalize$2(o,this._extent)},r.prototype.scale=function(o){return scale(o,this._extent)},r.prototype.setExtent=function(o,a){var u=this._extent;isNaN(o)||(u[0]=parseFloat(o)),isNaN(a)||(u[1]=parseFloat(a))},r.prototype.unionExtent=function(o){var a=this._extent;o[0]a[1]&&(a[1]=o[1]),this.setExtent(a[0],a[1])},r.prototype.getInterval=function(){return this._interval},r.prototype.setInterval=function(o){this._interval=o,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(o)},r.prototype.getTicks=function(o){var a=this._interval,u=this._extent,d=this._niceExtent,g=this._intervalPrecision,v=[];if(!a)return v;var y=1e4;u[0]y)return[];var b=v.length?v[v.length-1].value:d[1];return u[1]>b&&(o?v.push({value:roundNumber(b+a,g)}):v.push({value:u[1]})),v},r.prototype.getMinorTicks=function(o){for(var a=this.getTicks(!0),u=[],d=this.getExtent(),g=1;gd[0]&&S0&&(d=d===null?v:Math.min(d,v))}o[a]=d}}return o}function makeColumnLayout(t){var r=getValueAxesMinGaps(t),o=[];return each$f(t,function(a){var u=a.coordinateSystem,d=u.getBaseAxis(),g=d.getExtent(),v;if(d.type==="category")v=d.getBandWidth();else if(d.type==="value"||d.type==="time"){var y=d.dim+"_"+d.index,A=r[y],b=Math.abs(g[1]-g[0]),_=d.scale.getExtent(),w=Math.abs(_[1]-_[0]);v=A?b/w*A:b}else{var S=a.getData();v=Math.abs(g[1]-g[0])/S.count()}var C=parsePercent(a.get("barWidth"),v),T=parsePercent(a.get("barMaxWidth"),v),I=parsePercent(a.get("barMinWidth")||(isInLargeMode(a)?.5:1),v),E=a.get("barGap"),F=a.get("barCategoryGap");o.push({bandWidth:v,barWidth:C,barMaxWidth:T,barMinWidth:I,barGap:E,barCategoryGap:F,axisKey:getAxisKey$1(d),stackId:getSeriesStackId$1(a)})}),doCalBarWidthAndOffset(o)}function doCalBarWidthAndOffset(t){var r={};each$f(t,function(a,u){var d=a.axisKey,g=a.bandWidth,v=r[d]||{bandWidth:g,remainedWidth:g,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},y=v.stacks;r[d]=v;var A=a.stackId;y[A]||v.autoWidthCount++,y[A]=y[A]||{width:0,maxWidth:0};var b=a.barWidth;b&&!y[A].width&&(y[A].width=b,b=Math.min(v.remainedWidth,b),v.remainedWidth-=b);var _=a.barMaxWidth;_&&(y[A].maxWidth=_);var w=a.barMinWidth;w&&(y[A].minWidth=w);var S=a.barGap;S!=null&&(v.gap=S);var C=a.barCategoryGap;C!=null&&(v.categoryGap=C)});var o={};return each$f(r,function(a,u){o[u]={};var d=a.stacks,g=a.bandWidth,v=a.categoryGap;if(v==null){var y=keys(d).length;v=Math.max(35-y*4,15)+"%"}var A=parsePercent(v,g),b=parsePercent(a.gap,1),_=a.remainedWidth,w=a.autoWidthCount,S=(_-A)/(w+(w-1)*b);S=Math.max(S,0),each$f(d,function(E){var F=E.maxWidth,O=E.minWidth;if(E.width){var D=E.width;F&&(D=Math.min(D,F)),O&&(D=Math.max(D,O)),E.width=D,_-=D+b*D,w--}else{var D=S;F&&FD&&(D=O),D!==S&&(E.width=D,_-=D+b*D,w--)}}),S=(_-A)/(w+(w-1)*b),S=Math.max(S,0);var C=0,T;each$f(d,function(E,F){E.width||(E.width=S),T=E,C+=E.width*(1+b)}),T&&(C-=T.width*b);var I=-C/2;each$f(d,function(E,F){o[u][F]=o[u][F]||{bandWidth:g,offset:I,width:E.width},I+=E.width*(1+b)})}),o}function retrieveColumnLayout(t,r,o){if(t&&r){var a=t[getAxisKey$1(r)];return a!=null&&o!=null?a[getSeriesStackId$1(o)]:a}}function layout$3(t,r){var o=prepareLayoutBarSeries(t,r),a=makeColumnLayout(o);each$f(o,function(u){var d=u.getData(),g=u.coordinateSystem,v=g.getBaseAxis(),y=getSeriesStackId$1(u),A=a[getAxisKey$1(v)][y],b=A.offset,_=A.width;d.setLayout({bandWidth:A.bandWidth,offset:b,size:_})})}function createProgressiveLayout(t){return{seriesType:t,plan:createRenderPlanner(),reset:function(r){if(!!isOnCartesian(r)){var o=r.getData(),a=r.coordinateSystem,u=a.getBaseAxis(),d=a.getOtherAxis(u),g=o.getDimensionIndex(o.mapDimension(d.dim)),v=o.getDimensionIndex(o.mapDimension(u.dim)),y=r.get("showBackground",!0),A=o.mapDimension(d.dim),b=o.getCalculationInfo("stackResultDimension"),_=isDimensionStacked(o,A)&&!!o.getCalculationInfo("stackedOnSeries"),w=d.isHorizontal(),S=getValueAxisStart(u,d),C=isInLargeMode(r),T=r.get("barMinHeight")||0,I=b&&o.getDimensionIndex(b),E=o.getLayout("size"),F=o.getLayout("offset");return{progress:function(O,D){for(var x=O.count,P=C&&createFloat32Array(x*3),G=C&&y&&createFloat32Array(x*3),M=C&&createFloat32Array(x),N=a.master.getRect(),V=w?N.width:N.height,Z,H=D.getStore(),B=0;(Z=O.next())!=null;){var z=H.get(_?I:g,Z),U=H.get(v,Z),Q=S,X=void 0;_&&(X=+z-H.get(g,Z));var J=void 0,ne=void 0,te=void 0,ce=void 0;if(w){var se=a.dataToPoint([z,U]);if(_){var ge=a.dataToPoint([X,U]);Q=ge[0]}J=Q,ne=se[1]+F,te=se[0]-Q,ce=E,Math.abs(te)0?o:1:o))}var bisect=function(t,r,o,a){for(;o>>1;t[u][1]u&&(this._approxInterval=u);var v=scaleIntervals.length,y=Math.min(bisect(scaleIntervals,this._approxInterval,0,v),v-1);this._interval=scaleIntervals[y][1],this._minLevelUnit=scaleIntervals[Math.max(y-1,0)][0]},r.prototype.parse=function(o){return isNumber$1(o)?o:+parseDate(o)},r.prototype.contain=function(o){return contain$1(this.parse(o),this._extent)},r.prototype.normalize=function(o){return normalize$2(this.parse(o),this._extent)},r.prototype.scale=function(o){return scale(o,this._extent)},r.type="time",r}(IntervalScale$1),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(t,r,o,a){var u=parseDate(r),d=parseDate(o),g=function(C){return getUnitValue(u,C,a)===getUnitValue(d,C,a)},v=function(){return g("year")},y=function(){return v()&&g("month")},A=function(){return y()&&g("day")},b=function(){return A()&&g("hour")},_=function(){return b()&&g("minute")},w=function(){return _()&&g("second")},S=function(){return w()&&g("millisecond")};switch(t){case"year":return v();case"month":return y();case"day":return A();case"hour":return b();case"minute":return _();case"second":return w();case"millisecond":return S()}}function getDateInterval(t,r){return t/=ONE_DAY,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function getMonthInterval(t){var r=30*ONE_DAY;return t/=r,t>6?6:t>3?3:t>2?2:1}function getHourInterval(t){return t/=ONE_HOUR,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function getMinutesAndSecondsInterval(t,r){return t/=r?ONE_MINUTE:ONE_SECOND,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function getMillisecondsInterval(t){return nice(t,!0)}function getFirstTimestampOfUnit(t,r,o){var a=new Date(t);switch(getPrimaryTimeUnit(r)){case"year":case"month":a[monthSetterName(o)](0);case"day":a[dateSetterName(o)](1);case"hour":a[hoursSetterName(o)](0);case"minute":a[minutesSetterName(o)](0);case"second":a[secondsSetterName(o)](0),a[millisecondsSetterName(o)](0)}return a.getTime()}function getIntervalTicks(t,r,o,a){var u=1e4,d=timeUnits,g=0;function v(V,Z,H,B,z,U,Q){for(var X=new Date(Z),J=Z,ne=X[B]();J1&&U===0&&H.unshift({value:H[0].value-J})}}for(var U=0;U=a[0]&&F<=a[1]&&_++)}var O=(a[1]-a[0])/r;if(_>O*1.5&&w>O/1.5||(A.push(I),_>O||t===d[S]))break}b=[]}}}for(var D=filter(map$1(A,function(V){return filter(V,function(Z){return Z.value>=a[0]&&Z.value<=a[1]&&!Z.notAdd})}),function(V){return V.length>0}),x=[],P=D.length-1,S=0;S0;)d*=10;var v=[round$3(mathCeil$1(a[0]/d)*d),round$3(mathFloor$1(a[1]/d)*d)];this._interval=d,this._niceExtent=v}},r.prototype.calcNiceExtent=function(o){intervalScaleProto.calcNiceExtent.call(this,o),this._fixMin=o.fixMin,this._fixMax=o.fixMax},r.prototype.parse=function(o){return o},r.prototype.contain=function(o){return o=mathLog$1(o)/mathLog$1(this.base),contain$1(o,this._extent)},r.prototype.normalize=function(o){return o=mathLog$1(o)/mathLog$1(this.base),normalize$2(o,this._extent)},r.prototype.scale=function(o){return o=scale(o,this._extent),mathPow$1(this.base,o)},r.type="log",r}(Scale$1),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(t,r){return roundingErrorFix(t,getPrecision(r))}Scale$1.registerClass(LogScale);var LogScale$1=LogScale,ScaleRawExtentInfo=function(){function t(r,o,a){this._prepareParams(r,o,a)}return t.prototype._prepareParams=function(r,o,a){a[1]0&&y>0&&!A&&(v=0),v<0&&y<0&&!b&&(y=0));var w=this._determinedMin,S=this._determinedMax;return w!=null&&(v=w,A=!0),S!=null&&(y=S,b=!0),{min:v,max:y,minFixed:A,maxFixed:b,isBlank:_}},t.prototype.modifyDataMinMax=function(r,o){this[DATA_MIN_MAX_ATTR[r]]=o},t.prototype.setDeterminedMinMax=function(r,o){var a=DETERMINED_MIN_MAX_ATTR[r];this[a]=o},t.prototype.freeze=function(){this.frozen=!0},t}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(t,r,o){var a=t.rawExtentInfo;return a||(a=new ScaleRawExtentInfo(t,r,o),t.rawExtentInfo=a,a)}function parseAxisModelMinMax(t,r){return r==null?null:eqNaN(r)?NaN:t.parse(r)}function getScaleExtent(t,r){var o=t.type,a=ensureScaleRawExtentInfo(t,r,t.getExtent()).calculate();t.setBlank(a.isBlank);var u=a.min,d=a.max,g=r.ecModel;if(g&&o==="time"){var v=prepareLayoutBarSeries("bar",g),y=!1;if(each$f(v,function(_){y=y||_.getBaseAxis()===r.axis}),y){var A=makeColumnLayout(v),b=adjustScaleForOverflow(u,d,r,A);u=b.min,d=b.max}}return{extent:[u,d],fixMin:a.minFixed,fixMax:a.maxFixed}}function adjustScaleForOverflow(t,r,o,a){var u=o.axis.getExtent(),d=u[1]-u[0],g=retrieveColumnLayout(a,o.axis);if(g===void 0)return{min:t,max:r};var v=1/0;each$f(g,function(S){v=Math.min(S.offset,v)});var y=-1/0;each$f(g,function(S){y=Math.max(S.offset+S.width,y)}),v=Math.abs(v),y=Math.abs(y);var A=v+y,b=r-t,_=1-(v+y)/d,w=b/_-b;return r+=w*(y/A),t-=w*(v/A),{min:t,max:r}}function niceScaleExtent(t,r){var o=r,a=getScaleExtent(t,o),u=a.extent,d=o.get("splitNumber");t instanceof LogScale$1&&(t.base=o.get("logBase"));var g=t.type,v=o.get("interval"),y=g==="interval"||g==="time";t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:d,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:y?o.get("minInterval"):null,maxInterval:y?o.get("maxInterval"):null}),v!=null&&t.setInterval&&t.setInterval(v)}function createScaleByModel$1(t,r){if(r=r||t.get("type"),r)switch(r){case"category":return new OrdinalScale$1({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale$1({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Scale$1.getClass(r)||IntervalScale$1)}}function ifAxisCrossZero(t){var r=t.scale.getExtent(),o=r[0],a=r[1];return!(o>0&&a>0||o<0&&a<0)}function makeLabelFormatter(t){var r=t.getLabelModel().get("formatter"),o=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(a){return function(u,d){return t.scale.getFormattedLabel(u,d,a)}}(r):isString$1(r)?function(a){return function(u){var d=t.scale.getLabel(u),g=a.replace("{value}",d!=null?d:"");return g}}(r):isFunction(r)?function(a){return function(u,d){return o!=null&&(d=u.value-o),a(getAxisRawValue(t,u),d,u.level!=null?{level:u.level}:null)}}(r):function(a){return t.scale.getLabel(a)}}function getAxisRawValue(t,r){return t.type==="category"?t.scale.getLabel(r):r.value}function estimateLabelUnionRect(t){var r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a,u,d=o.getExtent();o instanceof OrdinalScale$1?u=o.count():(a=o.getTicks(),u=a.length);var g=t.getLabelModel(),v=makeLabelFormatter(t),y,A=1;u>40&&(A=Math.ceil(u/40));for(var b=0;bt[1]&&(t[1]=u[1])})}var AxisModelCommonMixin=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var r=this.option;return!r.scale},t.prototype.getCoordSysModel=function(){},t}(),extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,SeriesModel:SeriesModel$1,ChartView:ChartView$1,registerComponentModel:function(t){ComponentModel$1.registerClass(t)},registerComponentView:function(t){ComponentView$1.registerClass(t)},registerSeriesModel:function(t){SeriesModel$1.registerClass(t)},registerChartView:function(t){ChartView$1.registerClass(t)},registerSubTypeDefaulter:function(t,r){ComponentModel$1.registerSubTypeDefaulter(t,r)},registerPainter:function(t,r){registerPainter(t,r)}};function use(t){if(isArray$1(t)){each$f(t,function(r){use(r)});return}indexOf$1(extensions,t)>=0||(extensions.push(t),isFunction(t)&&(t={install:t}),t.install(extensionRegisters))}var EPSILON=1e-8;function isAroundEqual(t,r){return Math.abs(t-r)u&&(a=g,u=y)}if(a)return centroid$1(a.exterior);var A=this.getBoundingRect();return[A.x+A.width/2,A.y+A.height/2]},r.prototype.getBoundingRect=function(o){var a=this._rect;if(a&&!o)return a;var u=[1/0,1/0],d=[-1/0,-1/0],g=this.geometries;return each$f(g,function(v){v.type==="polygon"?updateBBoxFromPoints(v.exterior,u,d,o):each$f(v.points,function(y){updateBBoxFromPoints(y,u,d,o)})}),isFinite(u[0])&&isFinite(u[1])&&isFinite(d[0])&&isFinite(d[1])||(u[0]=u[1]=d[0]=d[1]=0),a=new BoundingRect$1(u[0],u[1],d[0]-u[0],d[1]-u[1]),o||(this._rect=a),a},r.prototype.contain=function(o){var a=this.getBoundingRect(),u=this.geometries;if(!a.contain(o[0],o[1]))return!1;e:for(var d=0,g=u.length;d>1^-(v&1),y=y>>1^-(y&1),v+=u,y+=d,u=v,d=y,a.push([v/o,y/o])}return a}function parseGeoJSON(t,r){return t=decode(t),map$1(filter(t.features,function(o){return o.geometry&&o.properties&&o.geometry.coordinates.length>0}),function(o){var a=o.properties,u=o.geometry,d=[];switch(u.type){case"Polygon":var g=u.coordinates;d.push(new GeoJSONPolygonGeometry(g[0],g.slice(1)));break;case"MultiPolygon":each$f(u.coordinates,function(y){y[0]&&d.push(new GeoJSONPolygonGeometry(y[0],y.slice(1)))});break;case"LineString":d.push(new GeoJSONLineStringGeometry([u.coordinates]));break;case"MultiLineString":d.push(new GeoJSONLineStringGeometry(u.coordinates))}var v=new GeoJSONRegion(a[r||"name"],d,a.cp);return v.properties=a,v})}var inner$g=makeInner();function tickValuesToNumbers(t,r){var o=map$1(r,function(a){return t.scale.parse(a)});return t.type==="time"&&o.length>0&&(o.sort(),o.unshift(o[0]),o.push(o[o.length-1])),o}function createAxisLabels(t){var r=t.getLabelModel().get("customValues");if(r){var o=makeLabelFormatter(t);return{labels:tickValuesToNumbers(t,r).map(function(a){var u={value:a};return{formattedLabel:o(u),rawLabel:t.scale.getLabel(u),tickValue:a}})}}return t.type==="category"?makeCategoryLabels(t):makeRealNumberLabels(t)}function createAxisTicks(t,r){var o=t.getTickModel().get("customValues");return o?{ticks:tickValuesToNumbers(t,o)}:t.type==="category"?makeCategoryTicks(t,r):{ticks:map$1(t.scale.getTicks(),function(a){return a.value})}}function makeCategoryLabels(t){var r=t.getLabelModel(),o=makeCategoryLabelsActually(t,r);return!r.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:o.labelCategoryInterval}:o}function makeCategoryLabelsActually(t,r){var o=getListCache(t,"labels"),a=getOptionCategoryInterval(r),u=listCacheGet(o,a);if(u)return u;var d,g;return isFunction(a)?d=makeLabelsByCustomizedCategoryInterval(t,a):(g=a==="auto"?makeAutoCategoryInterval(t):a,d=makeLabelsByNumericCategoryInterval(t,g)),listCacheSet(o,a,{labels:d,labelCategoryInterval:g})}function makeCategoryTicks(t,r){var o=getListCache(t,"ticks"),a=getOptionCategoryInterval(r),u=listCacheGet(o,a);if(u)return u;var d,g;if((!r.get("show")||t.scale.isBlank())&&(d=[]),isFunction(a))d=makeLabelsByCustomizedCategoryInterval(t,a,!0);else if(a==="auto"){var v=makeCategoryLabelsActually(t,t.getLabelModel());g=v.labelCategoryInterval,d=map$1(v.labels,function(y){return y.tickValue})}else g=a,d=makeLabelsByNumericCategoryInterval(t,g,!0);return listCacheSet(o,a,{ticks:d,tickCategoryInterval:g})}function makeRealNumberLabels(t){var r=t.scale.getTicks(),o=makeLabelFormatter(t);return{labels:map$1(r,function(a,u){return{level:a.level,formattedLabel:o(a,u),rawLabel:t.scale.getLabel(a),tickValue:a.value}})}}function getListCache(t,r){return inner$g(t)[r]||(inner$g(t)[r]=[])}function listCacheGet(t,r){for(var o=0;o40&&(v=Math.max(1,Math.floor(g/40)));for(var y=d[0],A=t.dataToCoord(y+1)-t.dataToCoord(y),b=Math.abs(A*Math.cos(a)),_=Math.abs(A*Math.sin(a)),w=0,S=0;y<=d[1];y+=v){var C=0,T=0,I=getBoundingRect(o({value:y}),r.font,"center","top");C=I.width*1.3,T=I.height*1.3,w=Math.max(w,C,7),S=Math.max(S,T,7)}var E=w/b,F=S/_;isNaN(E)&&(E=1/0),isNaN(F)&&(F=1/0);var O=Math.max(0,Math.floor(Math.min(E,F))),D=inner$g(t.model),x=t.getExtent(),P=D.lastAutoInterval,G=D.lastTickCount;return P!=null&&G!=null&&Math.abs(P-O)<=1&&Math.abs(G-g)<=1&&P>O&&D.axisExtent0===x[0]&&D.axisExtent1===x[1]?O=P:(D.lastTickCount=g,D.lastAutoInterval=O,D.axisExtent0=x[0],D.axisExtent1=x[1]),O}function fetchAutoCategoryIntervalCalculationParams(t){var r=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:r.get("rotate")||0,font:r.getFont()}}function makeLabelsByNumericCategoryInterval(t,r,o){var a=makeLabelFormatter(t),u=t.scale,d=u.getExtent(),g=t.getLabelModel(),v=[],y=Math.max((r||0)+1,1),A=d[0],b=u.count();A!==0&&y>1&&b/y>2&&(A=Math.round(Math.ceil(A/y)*y));var _=shouldShowAllLabels(t),w=g.get("showMinLabel")||_,S=g.get("showMaxLabel")||_;w&&A!==d[0]&&T(d[0]);for(var C=A;C<=d[1];C+=y)T(C);S&&C-y!==d[1]&&T(d[1]);function T(I){var E={value:I};v.push(o?I:{formattedLabel:a(E),rawLabel:u.getLabel(E),tickValue:I})}return v}function makeLabelsByCustomizedCategoryInterval(t,r,o){var a=t.scale,u=makeLabelFormatter(t),d=[];return each$f(a.getTicks(),function(g){var v=a.getLabel(g),y=g.value;r(g.value,v)&&d.push(o?y:{formattedLabel:u(g),rawLabel:v,tickValue:y})}),d}var NORMALIZED_EXTENT=[0,1],Axis=function(){function t(r,o,a){this.onBand=!1,this.inverse=!1,this.dim=r,this.scale=o,this._extent=a||[0,0]}return t.prototype.contain=function(r){var o=this._extent,a=Math.min(o[0],o[1]),u=Math.max(o[0],o[1]);return r>=a&&r<=u},t.prototype.containData=function(r){return this.scale.contain(r)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(r){return getPixelPrecision(r||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(r,o){var a=this._extent;a[0]=r,a[1]=o},t.prototype.dataToCoord=function(r,o){var a=this._extent,u=this.scale;return r=u.normalize(r),this.onBand&&u.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,u.count())),linearMap$2(r,NORMALIZED_EXTENT,a,o)},t.prototype.coordToData=function(r,o){var a=this._extent,u=this.scale;this.onBand&&u.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,u.count()));var d=linearMap$2(r,a,NORMALIZED_EXTENT,o);return this.scale.scale(d)},t.prototype.pointToData=function(r,o){},t.prototype.getTicksCoords=function(r){r=r||{};var o=r.tickModel||this.getTickModel(),a=createAxisTicks(this,o),u=a.ticks,d=map$1(u,function(v){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(v):v),tickValue:v}},this),g=o.get("alignWithLabel");return fixOnBandTicksCoords(this,d,g,r.clamp),d},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var r=this.model.getModel("minorTick"),o=r.get("splitNumber");o>0&&o<100||(o=5);var a=this.scale.getMinorTicks(o),u=map$1(a,function(d){return map$1(d,function(g){return{coord:this.dataToCoord(g),tickValue:g}},this)},this);return u},t.prototype.getViewLabels=function(){return createAxisLabels(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var r=this._extent,o=this.scale.getExtent(),a=o[1]-o[0]+(this.onBand?1:0);a===0&&(a=1);var u=Math.abs(r[1]-r[0]);return Math.abs(u)/a},t.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},t}();function fixExtentWithBands(t,r){var o=t[1]-t[0],a=r,u=o/a/2;t[0]+=u,t[1]-=u}function fixOnBandTicksCoords(t,r,o,a){var u=r.length;if(!t.onBand||o||!u)return;var d=t.getExtent(),g,v;if(u===1)r[0].coord=d[0],g=r[1]={coord:d[1]};else{var y=r[u-1].tickValue-r[0].tickValue,A=(r[u-1].coord-r[0].coord)/y;each$f(r,function(S){S.coord-=A/2});var b=t.scale.getExtent();v=1+b[1]-r[u-1].tickValue,g={coord:r[u-1].coord+A*v},r.push(g)}var _=d[0]>d[1];w(r[0].coord,d[0])&&(a?r[0].coord=d[0]:r.shift()),a&&w(d[0],r[0].coord)&&r.unshift({coord:d[0]}),w(d[1],g.coord)&&(a?g.coord=d[1]:r.pop()),a&&w(g.coord,d[1])&&r.push({coord:d[1]});function w(S,C){return S=round$3(S),C=round$3(C),_?S>C:Su&&(u+=PI2$2);var S=Math.atan2(v,g);if(S<0&&(S+=PI2$2),S>=a&&S<=u||S+PI2$2>=a&&S+PI2$2<=u)return y[0]=b,y[1]=_,A-o;var C=o*Math.cos(a)+t,T=o*Math.sin(a)+r,I=o*Math.cos(u)+t,E=o*Math.sin(u)+r,F=(C-g)*(C-g)+(T-v)*(T-v),O=(I-g)*(I-g)+(E-v)*(E-v);return F0){r=r/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var o=dir.len(),a=dir2.len();if(!(o<.001||a<.001)){dir.scale(1/o),dir2.scale(1/a);var u=dir.dot(dir2),d=Math.cos(r);if(d1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(t[1])}}}}function limitSurfaceAngle(t,r,o){if(o<=180&&o>0){o=o/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt1,pt0),Point$1.sub(dir2,pt2,pt1);var a=dir.len(),u=dir2.len();if(!(a<.001||u<.001)){dir.scale(1/a),dir2.scale(1/u);var d=dir.dot(r),g=Math.cos(o);if(d=y)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,v/Math.tan(Math.PI/2-b));var _=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(_))return;_<0?Point$1.copy(tmpProjPoint,pt1):_>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(t[1])}}}}function setLabelLineState(t,r,o,a){var u=o==="normal",d=u?t:t.ensureState(o);d.ignore=r;var g=a.get("smooth");g&&g===!0&&(g=.3),d.shape=d.shape||{},g>0&&(d.shape.smooth=g);var v=a.getModel("lineStyle").getLineStyle();u?t.useStyle(v):d.style=v}function buildLabelLinePath(t,r){var o=r.smooth,a=r.points;if(!!a)if(t.moveTo(a[0][0],a[0][1]),o>0&&a.length>=3){var u=dist$2(a[0],a[1]),d=dist$2(a[1],a[2]);if(!u||!d){t.lineTo(a[1][0],a[1][1]),t.lineTo(a[2][0],a[2][1]);return}var g=Math.min(u,d)*o,v=lerp$1([],a[1],a[0],g/u),y=lerp$1([],a[1],a[2],g/d),A=lerp$1([],v,y,.5);t.bezierCurveTo(v[0],v[1],v[0],v[1],A[0],A[1]),t.bezierCurveTo(y[0],y[1],y[0],y[1],a[2][0],a[2][1])}else for(var b=1;b0&&d&&x(-b/g,0,g);var T=t[0],I=t[g-1],E,F;O(),E<0&&P(-E,.8),F<0&&P(F,.8),O(),D(E,F,1),D(F,E,-1),O(),E<0&&G(-E),F<0&&G(F);function O(){E=T.rect[r]-a,F=u-I.rect[r]-I.rect[o]}function D(M,N,V){if(M<0){var Z=Math.min(N,-M);if(Z>0){x(Z*V,0,g);var H=Z+M;H<0&&P(-H*V,1)}else P(-M*V,1)}}function x(M,N,V){M!==0&&(A=!0);for(var Z=N;Z0)for(var H=0;H0;H--){var Q=V[H-1]*U;x(-Q,H,g)}}}function G(M){var N=M<0?-1:1;M=Math.abs(M);for(var V=Math.ceil(M/(g-1)),Z=0;Z0?x(V,0,Z+1):x(-V,g-Z-1,g),M-=V,M<=0)return}return A}function shiftLayoutOnX(t,r,o,a){return shiftLayout(t,"x","width",r,o,a)}function shiftLayoutOnY(t,r,o,a){return shiftLayout(t,"y","height",r,o,a)}function hideOverlap(t){var r=[];t.sort(function(T,I){return I.priority-T.priority});var o=new BoundingRect$1(0,0,0,0);function a(T){if(!T.ignore){var I=T.ensureState("emphasis");I.ignore==null&&(I.ignore=!1)}T.ignore=!0}for(var u=0;u=0&&a.attr(d.oldLayoutSelect),indexOf$1(w,"emphasis")>=0&&a.attr(d.oldLayoutEmphasis)),updateProps$1(a,A,o,y)}else if(a.attr(A),!labelInner(a).valueAnimation){var _=retrieve2(a.style.opacity,1);a.style.opacity=0,initProps(a,{style:{opacity:_}},o,y)}if(d.oldLayout=A,a.states.select){var S=d.oldLayoutSelect={};extendWithKeys(S,A,LABEL_LAYOUT_PROPS),extendWithKeys(S,a.states.select,LABEL_LAYOUT_PROPS)}if(a.states.emphasis){var C=d.oldLayoutEmphasis={};extendWithKeys(C,A,LABEL_LAYOUT_PROPS),extendWithKeys(C,a.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(a,y,b,o,o)}if(u&&!u.ignore&&!u.invisible){var d=labelLineAnimationStore(u),g=d.oldLayout,T={points:u.shape.points};g?(u.attr({shape:g}),updateProps$1(u,{shape:T},o)):(u.setShape(T),u.style.strokePercent=0,initProps(u,{style:{strokePercent:1}},o)),d.oldLayout=T}},t}(),LabelManager$1=LabelManager,getLabelManager=makeInner();function installLabelLayout(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,o,a){var u=getLabelManager(o).labelManager;u||(u=getLabelManager(o).labelManager=new LabelManager$1),u.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(r,o,a){var u=getLabelManager(o).labelManager;a.updatedSeries.forEach(function(d){u.addLabelsOfSeries(o.getViewOfSeriesModel(d))}),u.updateLayoutConfig(o),u.layout(o),u.processLabelsOverall()})}const METHOD_NAMES=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function usePublicAPI(t){function r(a){return(...u)=>{if(!t.value)throw new Error("ECharts is not initialized yet.");return t.value[a].apply(t.value,u)}}function o(){const a=Object.create(null);return METHOD_NAMES.forEach(u=>{a[u]=r(u)}),a}return o()}function useAutoresize(t,r,o){watch([o,t,r],([a,u,d],g,v)=>{let y=null;if(a&&u&&d){const{offsetWidth:A,offsetHeight:b}=a,_=d===!0?{}:d,{throttle:w=100,onResize:S}=_;let C=!1;const T=()=>{u.resize(),S==null||S()},I=w?throttle(T,w):T;y=new ResizeObserver(()=>{!C&&(C=!0,a.offsetWidth===A&&a.offsetHeight===b)||I()}),y.observe(a)}v(()=>{y&&(y.disconnect(),y=null)})})}const autoresizeProps={autoresize:[Boolean,Object]},onRE=/^on[^a-z]/,isOn=t=>onRE.test(t);function omitOn(t){const r={};for(const o in t)isOn(o)||(r[o]=t[o]);return r}function unwrapInjected(t,r){const o=isRef(t)?unref(t):t;return o&&typeof o=="object"&&"value"in o?o.value||r:o||r}const LOADING_OPTIONS_KEY="ecLoadingOptions";function useLoading(t,r,o){const a=inject(LOADING_OPTIONS_KEY,{}),u=computed(()=>({...unwrapInjected(a,{}),...o==null?void 0:o.value}));watchEffect(()=>{const d=t.value;!d||(r.value?d.showLoading(u.value):d.hideLoading())})}const loadingProps={loading:Boolean,loadingOptions:Object};let registered$1=null;const TAG_NAME="x-vue-echarts";function register$3(){if(registered$1!=null)return registered$1;if(typeof HTMLElement=="undefined"||typeof customElements=="undefined")return registered$1=!1;try{new Function("tag","class EChartsElement extends HTMLElement{__dispose=null;disconnectedCallback(){this.__dispose&&(this.__dispose(),this.__dispose=null)}}customElements.get(tag)==null&&customElements.define(tag,EChartsElement);")(TAG_NAME)}catch(t){return registered$1=!1}return registered$1=!0}document.head.appendChild(document.createElement("style")).textContent=`x-vue-echarts{display:block;width:100%;height:100%;min-width:0} +`;const wcRegistered=register$3(),THEME_KEY="ecTheme",INIT_OPTIONS_KEY="ecInitOptions",UPDATE_OPTIONS_KEY="ecUpdateOptions",NATIVE_EVENT_RE=/(^&?~?!?)native:/;var ECharts=defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...autoresizeProps,...loadingProps},emits:{},inheritAttrs:!1,setup(t,{attrs:r}){const o=shallowRef(),a=shallowRef(),u=shallowRef(),d=inject(THEME_KEY,null),g=inject(INIT_OPTIONS_KEY,null),v=inject(UPDATE_OPTIONS_KEY,null),{autoresize:y,manualUpdate:A,loading:b,loadingOptions:_}=toRefs(t),w=computed(()=>u.value||t.option||null),S=computed(()=>t.theme||unwrapInjected(d,{})),C=computed(()=>t.initOptions||unwrapInjected(g,{})),T=computed(()=>t.updateOptions||unwrapInjected(v,{})),I=computed(()=>omitOn(r)),E={},F=getCurrentInstance().proxy.$listeners,O={};F?Object.keys(F).forEach(N=>{NATIVE_EVENT_RE.test(N)?E[N.replace(NATIVE_EVENT_RE,"$1")]=F[N]:O[N]=F[N]}):Object.keys(r).filter(N=>isOn(N)).forEach(N=>{let V=N.charAt(2).toLowerCase()+N.slice(3);if(V.indexOf("native:")===0){const Z=`on${V.charAt(7).toUpperCase()}${V.slice(8)}`;E[Z]=r[N];return}V.substring(V.length-4)==="Once"&&(V=`~${V.substring(0,V.length-4)}`),O[V]=r[N]});function D(N){if(!o.value)return;const V=a.value=init$1(o.value,S.value,C.value);t.group&&(V.group=t.group),Object.keys(O).forEach(B=>{let z=O[B];if(!z)return;let U=B.toLowerCase();U.charAt(0)==="~"&&(U=U.substring(1),z.__once__=!0);let Q=V;if(U.indexOf("zr:")===0&&(Q=V.getZr(),U=U.substring(3)),z.__once__){delete z.__once__;const X=z;z=(...J)=>{X(...J),Q.off(U,z)}}Q.on(U,z)});function Z(){V&&!V.isDisposed()&&V.resize()}function H(){const B=N||w.value;B&&V.setOption(B,T.value)}y.value?nextTick(()=>{Z(),H()}):H()}function x(N,V){t.manualUpdate&&(u.value=N),a.value?a.value.setOption(N,V||{}):D(N)}function P(){a.value&&(a.value.dispose(),a.value=void 0)}let G=null;watch(A,N=>{typeof G=="function"&&(G(),G=null),N||(G=watch(()=>t.option,(V,Z)=>{!V||(a.value?a.value.setOption(V,{notMerge:V!==Z,...T.value}):D())},{deep:!0}))},{immediate:!0}),watch([S,C],()=>{P(),D()},{deep:!0}),watchEffect(()=>{t.group&&a.value&&(a.value.group=t.group)});const M=usePublicAPI(a);return useLoading(a,b,_),useAutoresize(a,y,o),onMounted(()=>{D()}),onBeforeUnmount(()=>{wcRegistered&&o.value?o.value.__dispose=P:P()}),{chart:a,root:o,setOption:x,nonEventAttrs:I,nativeListeners:E,...M}},render(){const t={...this.nonEventAttrs,...this.nativeListeners};return t.ref="root",t.class=t.class?["echarts"].concat(t.class):"echarts",h(TAG_NAME,t)}}),alert_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$t=defineComponent({name:"Alert",props:{icon:{type:String,default:""},title:{type:String,default:""},color:{type:String,default:""}},computed:{getIcon(){const t=this.icon||"mdi-alert";return this.color,t}},created(){const t=getCssVar(this.color||"warning");this.colors={backgroundColor:colors.changeAlpha(t,.2),color:t,borderColor:t}}}),_hoisted_1$o={key:0,class:"AlertIcon"},_hoisted_2$h={class:"AlertBox"},_hoisted_3$d=["innerHTML"],_hoisted_4$8={class:"AlertMessage"};function _sfc_render$t(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:"Alert q-ma-sm",style:normalizeStyle$1(t.colors)},[t.getIcon?(openBlock(),createElementBlock("div",_hoisted_1$o,[createVNode$1(QIcon,{name:t.getIcon,size:"lg"},null,8,["name"])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$h,[t.title?(openBlock(),createElementBlock("strong",{key:0,class:"AlertTitle",innerHTML:t.$t(t.title)},null,8,_hoisted_3$d)):createCommentVNode("",!0),createBaseVNode("p",_hoisted_4$8,[renderSlot(t.$slots,"default",{},void 0,!0)])])],4)}var Alert=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$t],["__scopeId","data-v-1217d0e5"]]);const _sfc_main$s=defineComponent({name:"Divider",props:{label:{type:String,default:""}}}),_hoisted_1$n={class:"row full-width"},_hoisted_2$g={class:"col",style:{margin:"auto 0"}},_hoisted_3$c={style:{"text-align":"center"}},_hoisted_4$7={class:"col",style:{margin:"auto 0"}};function _sfc_render$s(t,r,o,a,u,d){return openBlock(),createElementBlock("div",_hoisted_1$n,[createBaseVNode("div",_hoisted_2$g,[createVNode$1(QSeparator)]),createBaseVNode("div",_hoisted_3$c,[r[0]||(r[0]=createTextVNode(" \xA0\xA0")),createBaseVNode("em",null,toDisplayString$1(t.label),1),r[1]||(r[1]=createTextVNode("\xA0\xA0 "))]),createBaseVNode("div",_hoisted_4$7,[createVNode$1(QSeparator)])])}var Divider=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$s]]),icon_vue_vue_type_style_index_0_lang="";const _sfc_main$r=defineComponent({name:"Icon",props:{name:{type:String,default:""},tooltip:{type:String,default:""},loading:{type:Boolean,default:!1},color:{type:String,default:""},styles:{type:[String,Object],default:()=>{}},size:{type:String,default:"sm"},verticalAlign:{type:String,default:"text-bottom"},iconButton:{type:Boolean,default:!1}},data(){return{icon:icon$n(this.name,!0),dataColor:this.getColor(this.color)}},computed:{colors(){const t=Cache$1.get("settings")||{};return t.brandAccent+"|"+t.brandPrimary+"|"+t.brandSecondary},style(){let t=this.styles;if(typeof t=="string"&&t.indexOf("{")!==-1&&t.indexOf("}")!==-1)try{t=JSON.parse(t)}catch(r){console.warn(r)}else typeof t=="string"&&(t.indexOf("{")===-1||t.indexOf("}")===-1)&&(t={});return{"vertical-align":this.verticalAlign||"text-bottom",color:this.dataColor,...t||{}}}},watch:{colors(){this.dataColor=this.getColor(this.color)},color(t){this.dataColor=this.getColor(t)},name(t){this.icon={...icon$n(t,!0)}}},methods:{getColor(t){return["primary","secondary","accent","positive","warning","negative","info"].includes(t)?getCssVar(t):t}}}),_hoisted_1$m={key:1},_hoisted_2$f={key:3},_hoisted_3$b=["data-icon"];function _sfc_render$r(t,r,o,a,u,d){return openBlock(),createElementBlock("span",{key:JSON.stringify({...t.icon,...t.style}),class:normalizeClass(["jarvis-icon icon",{IconButton:t.iconButton}])},[t.tooltip?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.tooltip),1)]),_:1})):createCommentVNode("",!0),t.loading?(openBlock(),createElementBlock("span",_hoisted_1$m,[createVNode$1(QIcon,mergeProps({name:"mdi-spin mdi-loading",size:t.size||"sm",style:t.style},t.$attrs),null,16,["size","style"])])):!t.loading&&t.icon.name&&t.icon.name.indexOf("img:")>-1?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass([...t.icon.classes,{["icon-"+(t.size||"sm")]:t.style.fontSize===void 0,"flip-horizontal":t.icon.attributes.flip==="h","flip-vertical":t.icon.attributes.flip==="v",["rotate-"+t.icon.attributes.rotate]:t.icon.attributes.rotate!==void 0,blink:t.icon.attributes.blink,spin:t.icon.attributes.spin}])},[createVNode$1(QIcon,mergeProps({name:t.icon.name,size:t.size||"sm",style:t.style},t.$attrs),null,16,["name","size","style"])],2)):!t.loading&&t.icon.name&&t.icon.name.indexOf("img:")===-1?(openBlock(),createElementBlock("span",_hoisted_2$f,[createBaseVNode("span",{"data-icon":t.icon.name,style:normalizeStyle$1(t.style),class:normalizeClass(["iconify",[...t.icon.classes,{["icon-"+(t.size||"sm")]:t.style.fontSize===void 0,"flip-horizontal":t.icon.attributes.flip==="h","flip-vertical":t.icon.attributes.flip==="v",["rotate-"+t.icon.attributes.rotate]:t.icon.attributes.rotate!==void 0,blink:t.icon.attributes.blink,spin:t.icon.attributes.spin}]])},null,14,_hoisted_3$b)])):createCommentVNode("",!0)],2)}var Icon=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r]]);function cloneDeep(t,r=new WeakMap){if(Object(t)!==t)return t;if(r.has(t))return r.get(t);const o=t instanceof Date?new Date(t):t instanceof RegExp?new RegExp(t.source,t.flags):t instanceof Set?new Set:t instanceof Map?new Map:typeof t.constructor!="function"?Object.create(null):t.prototype!==void 0&&typeof t.prototype.constructor=="function"?t:new t.constructor;if(typeof t.constructor=="function"&&typeof t.valueOf=="function"){const a=t.valueOf();if(Object(a)!==a){const u=new t.constructor(a);return r.set(t,u),u}}return r.set(t,o),t instanceof Set?t.forEach(a=>{o.add(cloneDeep(a,r))}):t instanceof Map&&t.forEach((a,u)=>{o.set(u,cloneDeep(a,r))}),Object.assign(o,...Object.keys(t).map(a=>({[a]:cloneDeep(t[a],r)})))}var QPopupEdit=createComponent({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(t,{slots:r,emit:o}){const{proxy:a}=getCurrentInstance(),{$q:u}=a,d=ref(null),g=ref(""),v=ref("");let y=!1;const A=computed(()=>injectProp({initialValue:g.value,validate:t.validate,set:b,cancel:_,updatePosition:w},"value",()=>v.value,D=>{v.value=D}));function b(){t.validate(v.value)!==!1&&(S()===!0&&(o("save",v.value,g.value),o("update:modelValue",v.value)),C())}function _(){S()===!0&&o("cancel",v.value,g.value),C()}function w(){nextTick(()=>{d.value.updatePosition()})}function S(){return isDeepEqual(v.value,g.value)===!1}function C(){y=!0,d.value.hide()}function T(){y=!1,g.value=cloneDeep(t.modelValue),v.value=cloneDeep(t.modelValue),o("beforeShow")}function I(){o("show")}function E(){y===!1&&S()===!0&&(t.autoSave===!0&&t.validate(v.value)===!0?(o("save",v.value,g.value),o("update:modelValue",v.value)):o("cancel",v.value,g.value)),o("beforeHide")}function F(){o("hide")}function O(){const D=r.default!==void 0?[].concat(r.default(A.value)):[];return t.title&&D.unshift(h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},t.title)),t.buttons===!0&&D.push(h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[h(QBtn,{flat:!0,color:t.color,label:t.labelCancel||u.lang.label.cancel,onClick:_}),h(QBtn,{flat:!0,color:t.color,label:t.labelSet||u.lang.label.set,onClick:b})])),D}return Object.assign(a,{set:b,cancel:_,show(D){d.value!==null&&d.value.show(D)},hide(D){d.value!==null&&d.value.hide(D)},updatePosition:w}),()=>{if(t.disable!==!0)return h(QMenu,{ref:d,class:"q-popup-edit",cover:t.cover,onBeforeShow:T,onShow:I,onBeforeHide:E,onHide:F,onEscapeKey:_},O)}}});const _sfc_main$q=defineComponent({name:"InputButton",props:{id:{type:String,default:"button"},icon:{type:String,default:""},items:{type:[Array,null],default:()=>[]},selected:{type:String,default:""},label:{type:String,default:""},round:{type:Boolean,default:!1},size:{type:String,default:"sm"},color:{type:String,default:""},flat:{type:Boolean,default:!0},tooltip:{type:String,default:""},denseMenu:{type:Boolean,default:!1},popupEdit:{type:[String,Number],default:void 0}},emits:["onClick","onSelect","onSetValue"],setup(t,{emit:r}){const o=ref(),a=ref(t.popupEdit),u=d=>{r("onSetValue",d),o.value.hide()};return watchEffect(()=>{a.value=t.popupEdit}),{onClick:()=>r("onClick"),onSelect:d=>r("onSelect",{id:t.id,val:d}),iconSize:computed(()=>({xs:"xs",sm:"xs",md:"sm",lg:"md",xl:"lg"})[t.size]),height:computed(()=>({xs:"auto",sm:"30px",md:"auto",lg:"auto",xl:"auto"})[t.size]),onSetValue:u,elPopupEdit:o,popup:a}}}),_hoisted_1$l={key:0,style:{"margin-left":"4px"}},_hoisted_2$e={class:"q-mb-xs"},_hoisted_3$a={class:"row"};function _sfc_render$q(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QBtn,mergeProps(t.$props,{icon:void 0,label:void 0,style:{height:t.height},onClick:withModifiers(t.onClick,["stop"])}),{default:withCtx(()=>[createVNode$1(g,mergeProps({...t.$props,...t.$attrs,tooltip:void 0,color:void 0},{name:t.icon,size:t.iconSize}),null,16,["name","size"]),t.label?(openBlock(),createElementBlock("span",_hoisted_1$l,toDisplayString$1(t.label),1)):createCommentVNode("",!0),t.popupEdit!==void 0?(openBlock(),createBlock(QPopupEdit,{key:1,ref:"elPopupEdit",modelValue:t.popup,"onUpdate:modelValue":r[0]||(r[0]=v=>t.popup=v),style:{width:"350px"}},{default:withCtx(v=>[createBaseVNode("div",_hoisted_2$e,[createVNode$1(QInput,{modelValue:v.value,"onUpdate:modelValue":y=>v.value=y,dense:"",autofocus:"",onKeyup:withKeys(y=>t.onSetValue(v.value),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),createBaseVNode("div",_hoisted_3$a,[createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{flat:"",color:"negative",label:t.$t("Cancel")},null,8,["label"]),[[ClosePopup]]),createVNode$1(QBtn,{flat:"",color:"primary",label:t.$t("Ok"),onClick:y=>t.onSetValue(v.value)},null,8,["label","onClick"])])]),_:1},8,["modelValue"])):createCommentVNode("",!0),t.tooltip?(openBlock(),createBlock(QTooltip,{key:2,offset:[10,10]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.tooltip)),1)]),_:1})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.$slots,(v,y)=>renderSlot(t.$slots,y)),256)),t.items?(openBlock(),createBlock(QMenu,{key:3},{default:withCtx(()=>[createVNode$1(QList,{dense:t.denseMenu,style:{"min-width":"100px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.items,v=>withDirectives((openBlock(),createBlock(QItem,{key:v.id,clickable:"",active:v.id===t.selected,onClick:y=>t.onSelect(v.id)},{default:withCtx(()=>[v.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:"",center:""},{default:withCtx(()=>[createVNode$1(g,{size:t.denseMenu?"xs":"sm",name:v.icon},null,8,["size","name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.label||v.name),1)]),_:2},1024)]),_:2},1032,["active","onClick"])),[[ClosePopup]])),128))]),_:1},8,["dense"])]),_:1})):createCommentVNode("",!0)]),_:3},16,["style","onClick"])}var InputButton=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q]]);const _sfc_main$p=defineComponent({name:"InputDate",props:{label:{type:String,default:""},value:{type:[Object,String],default:""},dense:{type:[Boolean,String],default:!1}},emits:["onChange"],data(){return{date:{from:this.value&&this.value.from?this.flattenDate(this.value.from):"",to:this.value&&this.value.to?this.flattenDate(this.value.to):""}}},computed:{formattedDate(){return this.date&&this.date.from&&this.date.to?date$1.formatDate(this.date.from,"DD.MM.YYYY")+" - "+date$1.formatDate(this.date.to,"DD.MM.YYYY"):""}},methods:{openDatePicker(){this.$refs.qDateProxy.show()},onChange(t){this.$emit("onChange",{...this.$attrs,...this.$props,value:t})},flattenDate(t){return t.year&&t.month&&t.day?t.year+"/"+zero(t.month)+"/"+zero(t.day):t}}}),_hoisted_1$k={class:"row items-center justify-end"};function _sfc_render$p(t,r,o,a,u,d){return openBlock(),createBlock(QInput,{label:t.$t(t.label),value:t.formattedDate,"stack-label":"",readonly:"",dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom",onClick:t.openDatePicker},{append:withCtx(()=>[createVNode$1(QIcon,{name:"event",class:"cursor-pointer"},{default:withCtx(()=>[createVNode$1(QPopupProxy,{ref:"qDateProxy","transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(QDate,{modelValue:t.date,"onUpdate:modelValue":r[0]||(r[0]=g=>t.date=g),range:"","first-day-of-week":"1","today-btn":"",onRangeEnd:t.onChange},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$k,[withDirectives(createVNode$1(QBtn,{label:"Close",color:"primary",flat:""},null,512),[[ClosePopup]])])]),_:1},8,["modelValue","onRangeEnd"])]),_:1},512)]),_:1})]),_:1},8,["label","value","dense","hide-bottom-space","onClick"])}var InputDate=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p]]),select_vue_vue_type_style_index_0_lang="";const _sfc_main$o=defineComponent({name:"InputSelect",props:{allowUserInput:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayValue:{type:String,default:""},dense:{type:[Boolean,String],default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},isPro:{type:Boolean,default:!1},label:{type:String,default:""},link:{type:String,default:""},maxDropdownOptions:{type:Number,default:100},multiple:{type:Boolean,default:!1},options:{type:[Array,Function],default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},useChips:{type:Boolean,default:!1},useInput:{type:Boolean,default:!1},value:{type:[Object,Array,String,Boolean],default:()=>[]}},emits:["onChange","onSelect"],setup(){const t=useI18n(),r=useJarvis(),o=useIoBroker();return{i18n:t,jarvis:r,iobroker:o}},data(){const t=this.getOptions();return{mappedOptions:t,filteredOptions:t,val:t?t.find(r=>this.value&&this.value.val!==void 0?r.value===this.value.val:r.value===this.value)||this.value&&this.value.val||this.value||"":{}}},computed:{isBlackMode(){return this.$q.dark.isActive},inputLabel(){return this.label?this.$t(this.label)+(this.required?" *":"")+(this.isPro?" ("+this.$t("Pro")+(typeof this.isPro=="string"?": "+this.$t(this.isPro):"")+")":""):null}},watch:{value(t){this.getOptions()&&t&&t!==this.val&&(this.val=this.getOptions().find(r=>t.val!==void 0?r.value===t.val:r.value===t)||this.value.val||this.value)},reset(){this.val=null}},created(){},methods:{selectAll(){const t=this.getOptions().map(r=>r.value);this.onSelect(t)},unselectAll(){this.onSelect([])},getOptions(){return((typeof this.options=="function"?this.options({...this.$props,...this.$attrs},{jarvis:this.jarvis,iobroker:this.iobroker}):this.options)||[]).map(r=>({...r,label:r.translate!==void 0?this.i18n.t(r.translate===!0?r.label:r.translate):r.label}))},onChange(t){this.required&&!t&&(this.error=this.i18n.t("No input given"),this.$emit("onChange",{...this.$attrs,...this.$props,_error:this.error}),this.$emit("onSelect",{...this.$attrs,...this.$props,_error:this.error})),this.allowUserInput&&this.val.value!==t&&this.val!==t&&(this.val=t,this.$emit("onChange",{...this.$attrs,...this.$props,value:t||""}))},onFilter(t,r){r(()=>{const o=!this.useInput||t===""?null:t.toLowerCase(),a=o===null?this.getOptions():this.getOptions().filter(u=>u&&u.value!==void 0&&u.value!==null&&(u.value.toString().toLowerCase().indexOf(o)>-1||u.label.toLowerCase().indexOf(o)>-1));this.filteredOptions=this.maxDropdownOptions!==0?a.slice(0,this.maxDropdownOptions):a})},onSelect(t){t=Array.isArray(t)?t.map(r=>typeof r=="object"?r.value:r):t,this.val=this.multiple&&t===null?[]:t,Array.isArray(t)?this.$emit("onSelect",{...this.$attrs,...this.$props,value:t}):this.$emit("onSelect",{...this.$attrs,...this.$props,value:t&&t.value!==void 0?t.value:t})}}}),_hoisted_1$j={key:0},_hoisted_2$d={key:1,class:"text-overflow"},_hoisted_3$9={key:0},_hoisted_4$6=["innerHTML"],_hoisted_5$5=["src"],_hoisted_6$3={key:0};function _sfc_render$o(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QSelect,mergeProps(t.$attrs,{ref:"select","stack-label":"","display-value":t.multiple&&t.displayValue===":counter"&&t.val.length>1?t.val.length+" "+t.$t("selected"):!t.allowUserInput&&t.val?Array.isArray(t.val)?t.val.join(", "):t.val.label:null,"model-value":t.val||"",options:t.filteredOptions,label:t.inputLabel,"virtual-scroll-slice-size":99,"fill-input":t.allowUserInput,"use-input":t.useInput,"use-chips":t.useChips,dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom","bottom-slots":t.dense!=="bottom",style:{"min-width":"100px"},multiple:t.multiple===!0,onFilter:t.onFilter,"onUpdate:modelValue":t.onSelect,onInputValue:t.onChange}),createSlots({"selected-item":withCtx(({index:v,opt:y})=>[withDirectives(createBaseVNode("span",{class:"text-overflow",style:{color:"#a9a9a9"}},toDisplayString$1(t.placeholder?t.$t(t.placeholder):""),513),[[vShow,!y&&!y.value]]),v>0?(openBlock(),createElementBlock("span",_hoisted_1$j,",\xA0")):createCommentVNode("",!0),t.useChips?createCommentVNode("",!0):withDirectives((openBlock(),createElementBlock("span",_hoisted_2$d,[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y),1)]),_:2},1024),createTextVNode(" "+toDisplayString$1(y),1)],512)),[[vShow,y&&y.value===void 0]]),t.useChips?(openBlock(),createBlock(QChip,{key:3,size:"sm",removable:"",color:t.isBlackMode?"black":void 0,onRemove:A=>t.onChange(t.val.splice(t.val.indexOf(y),1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label||y),1)]),_:2},1032,["color","onRemove"])):withDirectives((openBlock(),createElementBlock("span",{key:2,class:normalizeClass(["text-overflow",t.$attrs["input-class"]])},[createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1024),createTextVNode(" "+toDisplayString$1(y.label),1),y.label!==y.value?(openBlock(),createElementBlock("span",_hoisted_3$9,[r[1]||(r[1]=createTextVNode(" (")),createBaseVNode("code",null,toDisplayString$1(y.value),1),r[2]||(r[2]=createTextVNode(")"))])):createCommentVNode("",!0)],2)),[[vShow,y.value]])]),"before-options":withCtx(()=>[t.multiple===!0?(openBlock(),createBlock(QBtn,{key:0,flat:"",label:t.$t("select all"),color:"primary",size:"sm",onClick:t.selectAll},null,8,["label","onClick"])):createCommentVNode("",!0),t.multiple===!0?(openBlock(),createBlock(QBtn,{key:1,flat:"",label:t.$t("deselect all"),color:"primary",size:"sm",onClick:t.unselectAll},null,8,["label","onClick"])):createCommentVNode("",!0)]),option:withCtx(v=>[createVNode$1(QItem,normalizeProps(guardReactiveProps(v.itemProps)),{default:withCtx(()=>[v.opt.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:v.opt.icon,color:"primary"},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createBaseVNode("span",{innerHTML:v.opt.label},null,8,_hoisted_4$6)]),_:2},1024)]),_:2},1024),v.opt.img?(openBlock(),createBlock(QItemSection,{key:1,avatar:""},{default:withCtx(()=>[createBaseVNode("img",{src:v.opt.img},null,8,_hoisted_5$5)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1040)]),append:withCtx(()=>[t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_6$3,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(g,{key:0,"vertical-align":"middle",size:"xs",name:"mdi-information",color:"primary"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",href:t.link,target:"_blank",round:"",dense:"",flat:"",icon:"mdi-information",color:"primary"},null,8,["href"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0),renderSlot(t.$slots,"end"),withDirectives(createVNode$1(g,{"vertical-align":"middle",name:"mdi-close-circle",class:"cursor-pointer",size:"xs",onClick:r[0]||(r[0]=withModifiers(v=>t.onSelect(null),["stop"]))},null,512),[[vShow,t.clearable!==!1&&(!t.multiple&&t.val||t.multiple&&t.val.length!==0)]])]),_:2},[t.icon?{name:"prepend",fn:withCtx(()=>[createVNode$1(g,{name:t.icon},null,8,["name"])]),key:"0"}:void 0,renderList(Object.keys(t.$slots),(v,y)=>({name:v,fn:withCtx(()=>[renderSlot(t.$slots,v)])}))]),1040,["display-value","model-value","options","label","fill-input","use-input","use-chips","dense","hide-bottom-space","bottom-slots","multiple","onFilter","onUpdate:modelValue","onInputValue"])}var InputSelect=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o]]);const _sfc_main$n=defineComponent({name:"InputSelectComponents",props:{state:{type:[Object,null],default:()=>{}},components:{type:[Array,Function],default:()=>[]},componentValues:{type:[Object,Function],default:()=>{}},value:{type:String,default:""}},emits:["onOptions","onSelect"],setup(t,{emit:r,attrs:o}){const a=useI18n(),u=useJarvis(),d=Cache$1.get("settings",{}),g=computed(()=>typeof t.componentValues=="function"?t.componentValues({jarvis:u,props:t}):t.componentValues),v=computed(()=>t.state&&t.state[t.value+"Config"]||{}),y=(x,P)=>g.value[x]!==void 0?g.value[x]:v.value[x]||(typeof P.value=="function"?P.value({jarvis:u,props:t}):P.value),A=(x,P)=>typeof P.placeholder=="function"?P.placeholder({settings:d,jarvis:u,props:t}):P.placeholder,b=computed(()=>{const x=_default(typeof Functions.ComponentsOptions[t.value]=="function"&&Functions.ComponentsOptions[t.value](t,o)||Functions.ComponentsOptions[t.value]||{});for(const P in x)typeof x[P]=="function"&&(x[P]=x[P](t,o)),x[P]||delete x[P],x[P]&&x[P].options&&Array.isArray(x[P].options)&&(x[P].options=x[P].options.map(G=>({...G,label:a.t(G.label)})));return x}),_=computed(()=>t.value===void 0?!1:Object.keys(b.value).length!==0),w={},S=ref({}),C=(x,P)=>Object.keys(P).every(G=>{const M=T.value[G]!==void 0?T.value[G]:y(G,b.value[G]);return S.value[x]=P[G]===M,S.value[x]}),T=ref({}),I=x=>{T.value[x.id]=x.value,Object.keys(w).forEach(P=>C(P,w[P]))},E=x=>{r("onSelect",{...o,...x})},F=ref(!1),O=()=>{F.value=null,T.value={}},D=()=>{r("onOptions",{...o,id:"componentOptions",component:t.value,value:T.value}),O()};return{values:g,inheritedValues:v,fieldValue:y,fieldPlaceholder:A,options:computed(()=>typeof t.components=="function"?t.components():t.components),defaultComponentOptions:b,showComponentOptionsDialog:F,hasOptions:_,userOptions:T,onOptionChange:I,onSelect:E,onSave:D,onCancel:O,conditions:S,check:(x,P)=>(w[x]=P,C(x,P))}}}),_hoisted_1$i={class:"text-h6"};function _sfc_render$n(t,r,o,a,u,d){const g=resolveComponent("inputs"),v=resolveComponent("input-select");return openBlock(),createElementBlock("div",null,[createVNode$1(QDialog,{"model-value":t.showComponentOptionsDialog,persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"500px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$i,toDisplayString$1(t.$t("Component Options")),1)]),_:1}),createVNode$1(QSeparator),t.showComponentOptionsDialog?(openBlock(),createBlock(QCardSection,{key:0,class:"col q-pt-none scroll"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.defaultComponentOptions,(y,A)=>withDirectives((openBlock(),createBlock(g,mergeProps({ref_for:!0},{...t.$attrs,...y,placeholder:t.fieldPlaceholder(A,y),value:t.fieldValue(A,y)},{id:A,key:A,type:y.type||"Text",component:t.value,"parent-id":t.$attrs.id,dense:"bottom",label:t.$t(y.label)+((t.values[A]===void 0||t.values[A]===null)&&t.inheritedValues[A]?" [ "+t.$t("inherited from the device configuration")+" ]":""),style:{width:"100%",margin:"0"},onOnChange:t.onOptionChange,onOnSelect:t.onOptionChange}),null,16,["id","type","component","parent-id","label","onOnChange","onOnSelect"])),[[vShow,t.conditions[A]!==void 0?t.conditions[A]:y.conditions?t.check(A,y.conditions):!0]])),128))]),_:1})):createCommentVNode("",!0),createVNode$1(QSeparator),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:t.onCancel},null,8,["label","onClick"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",onClick:t.onSave},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value"]),createVNode$1(v,mergeProps(t.$attrs,{value:t.value,options:t.components,"options-dense":"",onOnSelect:t.onSelect}),{end:withCtx(()=>[withDirectives(createVNode$1(QBtn,{round:"",flat:"",dense:"",icon:"mdi-playlist-edit",color:"secondary",size:"sm",onClick:r[0]||(r[0]=withModifiers(y=>t.showComponentOptionsDialog=!t.showComponentOptionsDialog,["stop"]))},null,512),[[vShow,t.hasOptions]])]),_:1},16,["value","options","onOnSelect"])])}var InputSelectComponents=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n]]);const _sfc_main$m=defineComponent({name:"InputSwitchInline",props:{id:{type:String,required:!0},label:{type:String,default:""},value:{type:[Boolean,Object],required:!0}},emits:["onChange"],data(){return{val:this.value&&this.value.val!==void 0?this.value.val:this.value}},watch:{value(t){this.val=this.value&&this.value.val!==void 0?this.value.val:this.value}},methods:{onChange(t){this.$emit("onChange",{...this.$attrs,...this.$props,value:t})}}}),_hoisted_1$h={class:"q-field__label",style:{"font-size":"12px"}};function _sfc_render$m(t,r,o,a,u,d){return openBlock(),createBlock(QToggle,{modelValue:t.val,"onUpdate:modelValue":[r[0]||(r[0]=g=>t.val=g),t.onChange],dense:""},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({"q-field--dark":t.$q.dark.isActive})},[createBaseVNode("span",_hoisted_1$h,toDisplayString$1(t.$t(t.label)),1)],2)]),_:1},8,["modelValue","onUpdate:modelValue"])}var SwitchInline=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]);const _sfc_main$l=defineComponent({name:"InputSwitch",components:{SwitchInline},props:{dense:{type:[Boolean,String],default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},inline:{type:Boolean,default:!1},label:{type:String,default:""},link:{type:String,default:""},value:{type:[Boolean,Object],required:!0}},emits:["onChange"],data(){return{val:this.value&&this.value.val!==void 0?this.value.val:this.value}},watch:{value(t){this.val=this.value&&this.value.val!==void 0?this.value.val:this.value}},methods:{onChange(t){this.$emit("onChange",typeof t=="object"&&t.inline?t:{...this.$attrs,...this.$props,value:t})}}}),_hoisted_1$g={key:0};function _sfc_render$l(t,r,o,a,u,d){const g=resolveComponent("switch-inline"),v=resolveComponent("icon");return t.inline?(openBlock(),createBlock(g,mergeProps({key:0},{...t.$props,...t.$attrs},{onOnChange:t.onChange}),null,16,["onOnChange"])):(openBlock(),createBlock(QField,mergeProps({key:1},t.$attrs,{"stack-label":"",label:t.$t(t.label),dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom","bottom-slots":t.dense!=="bottom"}),createSlots({control:withCtx(()=>[createVNode$1(QToggle,mergeProps(t.$attrs,{modelValue:t.val,"onUpdate:modelValue":[r[0]||(r[0]=y=>t.val=y),t.onChange],dense:"",class:"q-ml-xs"}),null,16,["modelValue","onUpdate:modelValue"])]),append:withCtx(()=>[t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_1$g,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(v,{key:0,size:"xs",name:"mdi-information",color:"primary",class:"q-my-xs"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",href:t.link,target:"_blank",round:"",dense:"",flat:"",icon:"mdi-information",color:"primary"},null,8,["href"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.$slots,(y,A)=>renderSlot(t.$slots,A,{vSlot:A})),256))]),_:2},[t.icon?{name:"prepend",fn:withCtx(()=>[createVNode$1(v,{name:t.icon},null,8,["name"])]),key:"0"}:void 0]),1040,["label","dense","hide-bottom-space","bottom-slots"]))}var InputSwitch=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l]]),text_vue_vue_type_style_index_0_lang="";const _sfc_main$k=defineComponent({name:"InputText",components:{JsonEditor},props:{autofocus:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},dense:{type:[Boolean,String],default:!1},errorMessage:{type:String,default:""},fullHeight:{type:Boolean,default:!1},icon:{type:String,default:""},id:{type:String,required:!0},info:{type:String,default:""},isPro:{type:Boolean,default:!1},json:{type:[Boolean,String],default:!1},label:{type:String,default:""},link:{type:String,default:""},maxDropdownOptions:{type:Number,default:100},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},type:{type:String,default:"text"},value:{type:[Object,String,Number,Boolean],default:""}},emits:["onChange"],setup(){return{i18n:useI18n(),showPassword:ref(!1)}},data(){return this.initialValue=this.json?this.parseJson(this.value):this.value,this.jsonVal={},this.jsonValModified={},{val:this.parseJson(this.value&&this.value.val!==void 0?this.value.val:this.value!==void 0?this.value:""),error:null,jsonEditor:!1,jsonError:!1,backupVal:""}},computed:{inputLabel(){return this.$t(this.label||"")+(this.required?" *":"")+(this.json?" ("+this.$t("JSON Format")+")":"")+(this.isPro?" ("+this.$t("Pro")+(typeof this.isPro=="string"?": "+this.$t(this.isPro):"")+")":"")},filteredOptions(){return this.options?this.options.filter(t=>t.value.toLowerCase().indexOf(this.val.toLowerCase())!==-1||t.label.toLowerCase().indexOf(this.val.toLowerCase())!==-1):[]},filteredOptionsLimited(){return this.maxDropdownOptions===0?this.filteredOptions:this.filteredOptions.slice(0,this.maxDropdownOptions||100)}},watch:{value(t){const r=t&&this.parseJson(t.val!==void 0?t.val:t);r!==void 0&&r!==this.val&&(this.val=r)},errorMessage(t){this.error=t}},created(){this.onChange(this.val)},mounted(){this.autofocus&&this.$refs.input.$el.focus()},methods:{openLink(){const t=document.createElement("a");document.body.appendChild(t),t.style="display: none",t.target="_blank",t.href=this.link,t.click(),document.body.removeChild(t)},set(t){this.error=null,this.jsonVal=t,this.val!==t&&(this.val=t,this.$emit("onChange",{...this.$attrs,...this.$props,value:t}))},onSelect(t){this.onChange(t.value)},onChange(t){if(this.type==="textarea"&&t instanceof Event)return;t instanceof Event&&(t.stopPropagation(),t=t.target.value);const r=this.$refs.dropdown;if(r&&r.show(),this.required&&!t)return this.error=this.i18n.t("No input given"),this.$emit("onChange",{...this.$attrs,...this.$props,_error:this.error}),!1;if(this.type&&this.type.toLowerCase()==="number"){const o=t!==""?parseFloat(t):this.placeholder==="auto"?0:parseFloat(this.placeholder);if(Number.isNaN(o))return this.$emit("onChange",{...this.$attrs,...this.$props,value:0,_error:"Not a valid Number"}),this.val="",!1;if(!Number.isNaN(o)&&this.$attrs.min!==void 0&&this.$attrs.min>o||this.$attrs.max!==void 0&&this.$attrs.maxt.jsonEditor=y),persistent:""},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"700px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$f,toDisplayString$1(t.$t("JSON Editor")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=y=>t.onJsonEditor(!1,!0))})]),_:1}),createVNode$1(QCardSection,{class:"body q-pa-none",style:{height:"400px"}},{default:withCtx(()=>[createVNode$1(g,{id:"jsonEditor",json:t.jsonVal,onOnChange:t.onJsonChange},null,8,["json","onOnChange"])]),_:1}),createVNode$1(QCardActions,{align:"right"},{default:withCtx(()=>[createVNode$1(QBtn,{flat:"",label:t.$t("Cancel"),color:"negative",onClick:r[1]||(r[1]=y=>t.onJsonEditor(!1,!0))},null,8,["label"]),createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),color:"primary",disable:t.jsonError,onClick:r[2]||(r[2]=y=>t.onJsonEditor(!1))},null,8,["label","disable"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode$1(QInput,mergeProps({ref:"input"},t.$attrs,{type:(t.showPassword||t.type==="color"?"text":t.type)||"text","stack-label":"","model-value":t.val,label:t.inputLabel,placeholder:t.placeholder?t.$t(t.placeholder):null,class:{"full-height":t.fullHeight},error:!!t.error,"error-message":t.error,dense:t.dense&&t.dense!=="bottom","hide-bottom-space":t.dense===!0||t.dense==="bottom",debounce:"250",autofocus:t.autofocus,"onUpdate:modelValue":t.onChange,onKeydown:withKeys(t.onChange,["enter"])}),createSlots({append:withCtx(()=>[t.type==="color"?(openBlock(),createBlock(QIcon,{key:0,name:"mdi-format-color-fill",class:"cursor-pointer"},{default:withCtx(()=>[createVNode$1(QPopupProxy,{"transition-show":"scale","transition-hide":"scale"},{default:withCtx(()=>[createVNode$1(QColor,{value:t.val,onChange:t.onChange},null,8,["value","onChange"])]),_:1})]),_:1})):createCommentVNode("",!0),t.type==="password"?(openBlock(),createElementBlock("span",_hoisted_3$8,[createVNode$1(QBtn,{size:"sm",round:"",dense:"",flat:"",icon:t.showPassword?"mdi-eye-off":"mdi-eye",color:"primary",onClick:r[4]||(r[4]=y=>t.showPassword=!t.showPassword)},null,8,["icon"])])):createCommentVNode("",!0),t.info&&t.$t(t.info)?(openBlock(),createElementBlock("span",_hoisted_4$5,[t.link?createCommentVNode("",!0):(openBlock(),createBlock(v,{key:0,"vertical-align":"middle",size:"xs",name:"mdi-information",color:"primary"})),t.link?(openBlock(),createBlock(QBtn,{key:1,size:"sm",type:"a",style:{cursor:"alias"},round:"",dense:"",flat:"",icon:"mdi-information",color:"primary",onClick:t.openLink},null,8,["onClick"])):createCommentVNode("",!0),createVNode$1(QTooltip,{"content-class":"bg-grey-8",offset:[4,4]},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(t.info)),1)]),_:1})])):createCommentVNode("",!0),t.json?(openBlock(),createBlock(QBtn,{key:3,round:"",dense:"",flat:"",icon:"mdi-code-json",color:"secondary",onClick:r[5]||(r[5]=withModifiers(y=>t.onJsonEditor(!0),["stop"]))})):createCommentVNode("",!0),renderSlot(t.$slots,"end"),withDirectives(createVNode$1(v,{"vertical-align":"middle",name:"mdi-close-circle",class:"cursor-pointer",size:"xs",onClick:r[6]||(r[6]=withModifiers(y=>t.onChange(""),["stop"]))},null,512),[[vShow,t.clearable!==!1&&t.val]])]),default:withCtx(()=>[createVNode$1(QMenu,{ref:"dropdown","auto-close":"","no-focus":"",fit:""},{default:withCtx(()=>[createVNode$1(QList,{dense:"",class:"body",style:{"min-width":"100px"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filteredOptionsLimited,y=>withDirectives((openBlock(),createBlock(QItem,{key:y.id||y.value,clickable:"",onClick:A=>t.onSelect(y)},{default:withCtx(()=>[y.icon?(openBlock(),createBlock(QItemSection,{key:0,avatar:""},{default:withCtx(()=>[createVNode$1(v,{color:"primary",name:y.icon},null,8,["name"])]),_:2},1024)):createCommentVNode("",!0),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.label),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ripple]])),128)),t.filteredOptions.length>(t.maxDropdownOptions||100)?(openBlock(),createBlock(QItem,{key:0},{default:withCtx(()=>[createVNode$1(QItemSection,null,{default:withCtx(()=>[createBaseVNode("em",_hoisted_5$4,toDisplayString$1(t.$t("additional")+" "+(t.filteredOptions.length-(t.maxDropdownOptions||100))+" "+t.$t("entries")+" "+t.$t("not shown")),1)]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1})]),_:1},512)]),_:2},[(t.type==="color"||t.type==="icon"||t.icon)&&t.val.toString().indexOf("{")===-1?{name:"prepend",fn:withCtx(()=>[t.type==="color"?(openBlock(),createElementBlock("div",_hoisted_2$c,[createVNode$1(v,{size:"xs",name:"mdi-circle-slice-8",style:normalizeStyle$1({color:t.val})},null,8,["style"])])):createCommentVNode("",!0),t.type==="icon"||t.icon?(openBlock(),createBlock(v,{key:1,size:"xs",name:t.type==="icon"?t.val:t.icon},null,8,["name"])):createCommentVNode("",!0)]),key:"0"}:void 0,renderList(Object.keys(t.$slots),(y,A)=>({name:y,fn:withCtx(()=>[renderSlot(t.$slots,y)])}))]),1040,["type","model-value","label","placeholder","class","error","error-message","dense","hide-bottom-space","autofocus","onUpdate:modelValue","onKeydown"])])}var InputText=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]);const _sfc_main$j=defineComponent({name:"Placeholder"});function _sfc_render$j(t,r,o,a,u,d){return openBlock(),createElementBlock("div")}var Placeholder=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j]]);const inputs={button:InputButton,date:InputDate,placeholder:Placeholder,select:InputSelect,"select.components":InputSelectComponents,switch:InputSwitch,text:InputText},_sfc_main$i=defineComponent({name:"Inputs",props:{type:{type:String,default:""}},computed:{styleClass(){return this.$attrs.class||(this.type&&this.type==="button"?"q-ma-none":"q-mx-xs")}},created(){this.element=inputs[this.type?this.type.toLowerCase():"text"]||inputs.text}});function _sfc_render$i(t,r,o,a,u,d){return openBlock(),createBlock(resolveDynamicComponent(t.element),mergeProps({...t.$props,...t.$attrs},{class:t.styleClass}),createSlots({_:2},[renderList(Object.keys(t.$slots),(g,v)=>({name:g,fn:withCtx(()=>[renderSlot(t.$slots,g)])}))]),1040,["class"])}var Inputs=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i]]);const _sfc_main$h=defineComponent({name:"Paper"}),_hoisted_1$e={class:"col"};function _sfc_render$h(t,r,o,a,u,d){return openBlock(),createElementBlock("div",mergeProps({class:"row paper"},{...t.$props,...t.$attrs}),[createBaseVNode("div",_hoisted_1$e,[renderSlot(t.$slots,"default")])],16)}var Paper=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h]]);const moduleList={"../modules/AdapterLogs/AdapterLogs.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return AdapterLogs$1}),void 0),"../modules/AdapterStatus/AdapterStatus.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return AdapterStatus$1}),void 0),"../modules/Calendar/Calendar.config.customComponent.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Calendar_config_customComponent}),void 0),"../modules/Calendar/Calendar.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Calendar$3}),void 0),"../modules/Calendar/EventList.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return EventList$1}),void 0),"../modules/Chart/Chart.config.customActionSection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Chart_config_customActionSection}),void 0),"../modules/Chart/Chart.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Chart$1}),void 0),"../modules/DateTime/DateTime.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return DateTime$1}),void 0),"../modules/DisplayImage/DisplayImage.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return DisplayImage$1}),void 0),"../modules/HistoryGraph/HistoryGraph.config.customActionSection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph_config_customActionSection}),void 0),"../modules/HistoryGraph/HistoryGraph.config.customBodySection.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph_config_customBodySection}),void 0),"../modules/HistoryGraph/HistoryGraph.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HistoryGraph$1}),void 0),"../modules/HomeKitTile/HomeKitTile.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HomeKitTile$1}),void 0),"../modules/HtmlTable/HtmlTable.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return HtmlTable$1}),void 0),"../modules/JsonTable/JsonTable.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return JsonTable$1}),void 0),"../modules/Map/Map.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Map$2}),void 0),"../modules/MediaControl/MediaControl.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return MediaControl$1}),void 0),"../modules/ScriptStatus/ScriptStatus.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return ScriptStatus$1}),void 0),"../modules/StateHTML/StateHTML.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateHTML$1}),void 0),"../modules/StateList/StateList.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateList$1}),void 0),"../modules/StateList/StateListGroup.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateListGroup$1}),void 0),"../modules/StateList/StateListItem.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return StateListItem$1}),void 0),"../modules/Weather/Weather.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return Weather$1}),void 0),"../modules/iFrame/iFrame.vue":()=>__vitePreload(()=>Promise.resolve().then(function(){return iFrame$1}),void 0)};var components=({app:t})=>{t.component("Alert",Alert),t.component("Divider",Divider),t.component("Icon",Icon),t.component("Inputs",Inputs),t.component("InputSelect",InputSelect),t.component("Paper",Paper);for(const r in moduleList)moduleList[r]().then(o=>{const a=r.substr(r.lastIndexOf("/")+1).replace(".vue","");t.component(a,o.default)});t.use(index),t.component("VChart",ECharts)},components$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"}));/*! * @quasar/quasar-ui-qoverlay v2.0.1 * (c) 2022 Jeff Galbraith * Released under the MIT License. - */var listenOpts={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{var opts=Object.defineProperty({},"passive",{get:function(){Object.assign(listenOpts,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,opts),window.removeEventListener("qtest",null,opts)}catch(t){}function getEventPath(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();for(var r=[],o=t.target;o;){if(r.push(o),o.tagName==="HTML")return r.push(document),r.push(window),r;o=o.parentElement}}function stopAndPrevent(t){t.cancelable!==!1&&t.preventDefault(),t.stopPropagation()}function getVerticalScrollPosition(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function getHorizontalScrollPosition(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function hasScrollbar(t,r){return r===void 0&&(r=!0),!t||t.nodeType!==Node.ELEMENT_NODE?!1:r?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"]))}var registered=0,scrollPositionX,scrollPositionY,maxScrollTop,vpPendingUpdate=!1,bodyLeft,bodyTop,closeTimer;function onWheel(t){shouldPreventScroll(t)&&stopAndPrevent(t)}function shouldPreventScroll(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;for(var r=getEventPath(t),o=t.shiftKey&&!t.deltaX,a=!o&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),u=o||a?t.deltaY:t.deltaX,d=0;d0&&g.scrollTop+g.clientHeight===g.scrollHeight:u<0&&g.scrollLeft===0?!0:u>0&&g.scrollLeft+g.clientWidth===g.scrollWidth}return!0}function onAppleScroll(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function onAppleResize(t){vpPendingUpdate!==!0&&(vpPendingUpdate=!0,requestAnimationFrame(function(){vpPendingUpdate=!1;var r=t.target,o=r.height,a=document.scrollingElement,u=a.clientHeight,d=a.scrollTop;(maxScrollTop===void 0||o!==window.innerHeight)&&(maxScrollTop=u-o,document.scrollingElement.scrollTop=d),d>maxScrollTop&&(document.scrollingElement.scrollTop-=Math.ceil((d-maxScrollTop)/8))}))}function apply(t,r){var o=document.body,a=window.visualViewport!==void 0;if(t==="add"){var u=window.getComputedStyle(o),d=u.overflowY,g=u.overflowX;scrollPositionX=getHorizontalScrollPosition(window),scrollPositionY=getVerticalScrollPosition(window),bodyLeft=o.style.left,bodyTop=o.style.top,o.style.left="-"+scrollPositionX+"px",o.style.top="-"+scrollPositionY+"px",g!=="hidden"&&(g==="scroll"||o.scrollWidth>window.innerWidth)&&o.classList.add("q-body--force-scrollbar-x"),d!=="hidden"&&(d==="scroll"||o.scrollHeight>window.innerHeight)&&o.classList.add("q-body--force-scrollbar-y"),o.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,r.platform.is.ios===!0&&(a===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",onAppleResize,listenOpts.passiveCapture),window.visualViewport.addEventListener("scroll",onAppleResize,listenOpts.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",onAppleScroll,listenOpts.passiveCapture))}r.platform.is.desktop===!0&&r.platform.is.mac===!0&&window[t+"EventListener"]("wheel",onWheel,listenOpts.notPassive),t==="remove"&&(r.platform.is.ios===!0&&(a===!0?(window.visualViewport.removeEventListener("resize",onAppleResize,listenOpts.passiveCapture),window.visualViewport.removeEventListener("scroll",onAppleResize,listenOpts.passiveCapture)):window.removeEventListener("scroll",onAppleScroll,listenOpts.passiveCapture)),o.classList.remove("q-body--prevent-scroll"),o.classList.remove("q-body--force-scrollbar-x"),o.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,o.style.left=bodyLeft,o.style.top=bodyTop,window.scrollTo(scrollPositionX,scrollPositionY),maxScrollTop=void 0)}function preventScroll(t){var r=getCurrentInstance(),o=useQuasar()||r.proxy.$q||r.ctx.$q,a="add";if(t===!0){if(registered++,closeTimer!==void 0){clearTimeout(closeTimer),closeTimer=void 0;return}if(registered>1)return}else{if(registered===0||(registered--,registered>0))return;if(a="remove",o.platform.is.ios===!0&&o.platform.is.nativeMobile===!0){clearTimeout(closeTimer),closeTimer=setTimeout(function(){apply(a,o),closeTimer=void 0},100);return}}apply(a,o)}var textToRgb=colors.textToRgb,QOverlay=defineComponent({name:"QOverlay",props:{backgroundColor:{type:String,default:"#000000"},opacity:{type:[Number,String],default:.35},zIndex:{type:[Number,String],default:6e3},cursorType:{type:String,default:"not-allowed"},noScroll:Boolean,modelValue:Boolean},setup:function t(r,o){var a=o.slots;onBeforeUnmount(function(){r.noScroll&&r.modelValue&&preventScroll(!1)});var u=computed(function(){var y=textToRgb(r.backgroundColor);return{zIndex:r.zIndex,backgroundColor:"rgba("+y.r+", "+y.g+", "+y.b+", "+r.opacity+")",padding:0,margin:0}});function d(y){var A=h("div",{class:"q-overlay q-overlay--component cursor-"+r.cursorType,style:u.value},a.body());return h("div",{class:"q-overlay--wrapper"},[A,y&&y()])}function g(){return h("div",{class:"q-overlay fixed fullscreen cursor-"+r.cursorType,style:u.value},[a.body&&a.body()])}function v(){var y=a.default,A=(y&&y())===void 0;if(preventScroll(r.noScroll&&r.modelValue),!(!r.modelValue&&A))return r.modelValue&&A?g():r.modelValue&&!A?d(y):h("div",{class:"q-overlay"},y&&y()||[])}return function(){return v()}}}),version="2.0.1";function install$T(t){t.component(QOverlay.name,QOverlay)}var VuePlugin=Object.freeze({__proto__:null,version,QOverlay,install:install$T}),register$1=({app:t})=>{t.use(VuePlugin)},register$2=Object.freeze(Object.defineProperty({__proto__:null,default:register$1},Symbol.toStringTag,{value:"Module"}));class LocalNotificationsWeb extends WebPlugin{constructor(){super(...arguments),this.pending=[],this.deliveredNotifications=[],this.hasNotificationSupport=()=>{if(!("Notification"in window)||!Notification.requestPermission)return!1;if(Notification.permission!=="granted")try{new Notification("")}catch(r){if(r.name=="TypeError")return!1}return!0}}async getDeliveredNotifications(){const r=[];for(const o of this.deliveredNotifications){const a={title:o.title,id:parseInt(o.tag),body:o.body};r.push(a)}return{notifications:r}}async removeDeliveredNotifications(r){for(const o of r.notifications){const a=this.deliveredNotifications.find(u=>u.tag===String(o.id));a==null||a.close(),this.deliveredNotifications=this.deliveredNotifications.filter(()=>!a)}}async removeAllDeliveredNotifications(){for(const r of this.deliveredNotifications)r.close();this.deliveredNotifications=[]}async createChannel(){throw this.unimplemented("Not implemented on web.")}async deleteChannel(){throw this.unimplemented("Not implemented on web.")}async listChannels(){throw this.unimplemented("Not implemented on web.")}async schedule(r){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");for(const o of r.notifications)this.sendNotification(o);return{notifications:r.notifications.map(o=>({id:o.id}))}}async getPending(){return{notifications:this.pending}}async registerActionTypes(){throw this.unimplemented("Not implemented on web.")}async cancel(r){this.pending=this.pending.filter(o=>!r.notifications.find(a=>a.id===o.id))}async areEnabled(){const{display:r}=await this.checkPermissions();return{value:r==="granted"}}async changeExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async checkExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async requestPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(await Notification.requestPermission())}}async checkPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(Notification.permission)}}transformNotificationPermission(r){switch(r){case"granted":return"granted";case"denied":return"denied";default:return"prompt"}}sendPending(){var r;const o=[],a=new Date().getTime();for(const u of this.pending)((r=u.schedule)===null||r===void 0?void 0:r.at)&&u.schedule.at.getTime()<=a&&(this.buildNotification(u),o.push(u));this.pending=this.pending.filter(u=>!o.find(d=>d===u))}sendNotification(r){var o;if(!((o=r.schedule)===null||o===void 0)&&o.at){const a=r.schedule.at.getTime()-new Date().getTime();this.pending.push(r),setTimeout(()=>{this.sendPending()},a);return}this.buildNotification(r)}buildNotification(r){const o=new Notification(r.title,{body:r.body,tag:String(r.id)});return o.addEventListener("click",this.onClick.bind(this,r),!1),o.addEventListener("show",this.onShow.bind(this,r),!1),o.addEventListener("close",()=>{this.deliveredNotifications=this.deliveredNotifications.filter(()=>!this)},!1),this.deliveredNotifications.push(o),o}onClick(r){const o={actionId:"tap",notification:r};this.notifyListeners("localNotificationActionPerformed",o)}onShow(r){this.notifyListeners("localNotificationReceived",r)}}var web=Object.freeze(Object.defineProperty({__proto__:null,LocalNotificationsWeb},Symbol.toStringTag,{value:"Module"})),AdapterLogs_vue_vue_type_style_index_0_lang="";const _sfc_main$g=defineComponent({name:"ModuleAdapterLogs",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(props){const socket=Connection.getConnection,iobroker=useIoBroker(),config=computed(()=>props.widget.config),moduleConfig=computed(()=>({...Modules.joinConfig(config.value,ConfigFile$f)})),columns=[{name:"from",field:"from",label:"Adapter",align:"left",sortable:!0},{name:"ts",field:"ts",label:"Time",align:"left",sortable:!0},{name:"severity",field:"severity",label:"Severity",align:"left",sortable:!0},{name:"message",field:"message",label:"Message",align:"left",sortable:!1}],onFilter=t=>{if(!moduleConfig.value.adapters.includes(t.from)||!moduleConfig.value.severity.includes(t.severity))return!1;if(moduleConfig.value.message){const r=RegExp(moduleConfig.value.message,"gi");if(moduleConfig.value.invertFilter){if(r.test(t.message))return!1}else if(!r.test(t.message))return!1}return!0};let messageFn=t=>t;if(Pro.isPro()&&moduleConfig.value.messageFn&&(moduleConfig.value.messageFn.indexOf("=>")!==-1||moduleConfig.value.messageFn.indexOf("(")!==-1&&moduleConfig.value.messageFn.indexOf(")")!==-1))try{messageFn=eval(moduleConfig.value.messageFn);const test=messageFn("test")}catch(t){console.warn("AdapterLogs",moduleConfig.value.messageFn,t),messageFn=r=>r}const formatMessage=(t,r)=>{try{const o=t.from.startsWith("host.")?"admin.0":t.from;t.raw=t.message,t._id=v4(),t.ts=Number.isInteger(t.ts)?format$2(t.ts,moduleConfig.value.timeFormat||"dd.MM.yyyy HH:mm:ss:SSS"):t.ts,t.icon=r[t.from]&&r[t.from].extIcon?"img:"+r[t.from].extIcon:"",t.message=messageFn(t.message)}catch(o){console.error(o)}return moduleConfig.value.columns.includes("from")||delete t.from,moduleConfig.value.columns.includes("ts")||delete t.ts,moduleConfig.value.columns.includes("severity")||delete t.severity,moduleConfig.value.columns.includes("message")||delete t.message,t},processLog=({logs:t})=>{const r=t.filter(o=>onFilter(o)).slice(0,moduleConfig.value.rowsMaxTotal).map(o=>{var a;return formatMessage(o,((a=iobroker.instances)==null?void 0:a.val)||[])});logs.value=r.concat(logs.value),loaded.value=!0},loaded=ref(!1),error=ref(null),logs=ref([]);return watch([()=>iobroker.instances.ts,moduleConfig],()=>{Object.keys(iobroker.instances).length&&socket.subscribeSpecial("Log",{getInitialLogs:logs.value.length===0,rowsMaxTotal:moduleConfig.value.rowsMaxTotal},processLog)},{immediate:!0}),onUnmounted(()=>socket.unsubscribeSpecial("Log",processLog)),{moduleConfig,columns,columnsVisible:moduleConfig.value.columns,pagination:computed(()=>({sortBy:moduleConfig.value.sortColumn,descending:moduleConfig.value.sortDirection,rowsPerPage:moduleConfig.value.rowsPerPage})),loaded,error,logs}}});function _sfc_render$g(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{key:t.widget.revision,class:"jarvis-AdapterLogs",style:normalizeStyle$1(t.widgetSize)},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives(createVNode$1(QTable,{rows:t.logs,flat:"",dense:t.moduleConfig.dense,pagination:t.pagination,"binary-state-sort":"",columns:t.columns,"row-key":"_id","visible-columns":t.columnsVisible,class:"sticky-table-header full-height"},{body:withCtx(({row:v})=>[createVNode$1(QTr,null,{default:withCtx(()=>[v.from!==void 0?(openBlock(),createBlock(QTd,{key:0},{default:withCtx(()=>[createVNode$1(QIcon,{name:v.icon},null,8,["name"]),createTextVNode(" \xA0"+toDisplayString$1(v.from),1)]),_:2},1024)):createCommentVNode("",!0),v.ts!==void 0?(openBlock(),createBlock(QTd,{key:1},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.ts),1)]),_:2},1024)):createCommentVNode("",!0),v.severity!==void 0?(openBlock(),createBlock(QTd,{key:2},{default:withCtx(()=>[v.severity==="info"?(openBlock(),createBlock(QIcon,{key:0,size:"xs",name:"mdi-information",color:"blue"})):v.severity==="warn"?(openBlock(),createBlock(QIcon,{key:1,size:"xs",name:"mdi-alert-box",color:"warning"})):v.severity==="error"?(openBlock(),createBlock(QIcon,{key:2,size:"xs",name:"mdi-close-box",color:"negative"})):(openBlock(),createBlock(QIcon,{key:3,size:"xs",name:"mdi-bug",color:"grey"})),createBaseVNode("span",{style:{"margin-left":"4px"},class:normalizeClass("text-"+(v.severity==="info"?"primary":v.severity==="warn"?"warning":v.severity==="error"?"negative":"grey"))},toDisplayString$1(v.severity),3)]),_:2},1024)):createCommentVNode("",!0),v.message!==void 0?(openBlock(),createBlock(QTd,{key:3},{default:withCtx(()=>[createTextVNode(toDisplayString$1(typeof v.message=="object"?JSON.stringify(v.message):v.message),1)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1024)]),_:1},8,["rows","dense","pagination","columns","visible-columns"]),[[vShow,t.loaded&&!t.error]])],4)}var AdapterLogs=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g]]),AdapterLogs$1=Object.freeze(Object.defineProperty({__proto__:null,default:AdapterLogs},Symbol.toStringTag,{value:"Module"})),AdapterStatus_vue_vue_type_style_index_0_lang="";const _sfc_main$f=defineComponent({name:"ModuleAdapterStatus",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useIoBroker(),a=useI18n(),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$e),list:u.value.list?u.value.list.replace(/, /g,",").toLowerCase().split(","):null,blacklist:u.value.blacklist?u.value.blacklist.replace(/, /g,",").toLowerCase().split(","):null})),g=computed(()=>{let S=_default(o.instances);if(S=S&&S.val&&!S.val.error?{...S.val}:{},d.value.list)for(const C in S){const T=C.substr(0,C.indexOf("."));!d.value.list.includes(C)&&!d.value.list.includes(T)&&delete S[C]}else if(d.value.blacklist)for(const C in S){const T=C.substr(0,C.indexOf("."));(d.value.blacklist.includes(C)||d.value.blacklist.includes(T))&&delete S[C]}return S}),v=ref([]),y=ref([]);r.subscribeState("admin.0.info.updatesList",({err:S,state:C})=>{if(C){const T=C&&C.val?C.val.replace("js-controller,","").replace("js-controller",""):"";v.value=T?T.split(","):[],y.value=v.value.map(I=>g.value[I+".0"]?g.value[I+".0"].title+" ("+g.value[I+".0"].name+")":I).join(", ")}});const A=ref({}),b=(S,C)=>{A.value[S]=!0,r.setAdapter(S,C).then(()=>{o.join("instances",{val:{...o.instances.val,[S]:{...o.instances.val[S],enabled:C}},ts:Date.now()})}).catch(T=>{console.error(T)}).finally(()=>{A.value[S]=!1})},_=computed(()=>a.locale.value.substr(0,2));return{activeRepo:computed(()=>o.meta.activeRepo),adapterUpdates:v,adapterUpdateList:y,instances:g,language:_,loading:A,moduleConfig:d,onSet:b}}}),_hoisted_1$d={class:"UpdateAvailable"},_hoisted_2$b={key:1},_hoisted_3$7={key:2};function _sfc_render$f(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QList,{key:t.widget.revision,class:"jarvis-AdapterStatus",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},{default:withCtx(()=>[withDirectives(createVNode$1(QItem,{class:"UpdateAvailableListItem",style:{"background-color":"var(--q-accent)"}},{default:withCtx(()=>[t.adapterUpdateList.length>60?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdateList),1)]),_:1})):createCommentVNode("",!0),createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"refresh"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdateList.length>60?t.adapterUpdateList.substr(0,58)+"...":t.adapterUpdateList),1)]),_:1}),createVNode$1(QItemLabel,{caption:"",style:{color:"#fff"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdates.length)+" "+toDisplayString$1(t.$t("Updates available")),1),r[0]||(r[0]=createBaseVNode("br",null,null,-1)),createTextVNode(" "+toDisplayString$1(t.$t("Repository")+": "+t.activeRepo),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QBadge,{rounded:"",color:"white",style:{color:"var(--q-accent)"},label:t.adapterUpdates.length},null,8,["label"])]),_:1})]),_:1},512),[[vShow,t.moduleConfig.updates&&t.adapterUpdates.length>0]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.instances,v=>(openBlock(),createBlock(QItem,{key:v.id,clickable:t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0,"v-ripple":t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"img:"+v.extIcon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.titleLang&&(v.titleLang[t.language]||v.titleLang.en||v.titleLang.de)||v.titleLang||v.title),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(v.id)+", v"+toDisplayString$1(v.version),1),withDirectives(createBaseVNode("span",null,[r[1]||(r[1]=createTextVNode(", ")),createBaseVNode("span",_hoisted_1$d,toDisplayString$1(t.$t("Update available")+" v"+v.update),1)],512),[[vShow,v.update]]),withDirectives(createBaseVNode("span",null,", "+toDisplayString$1(t.$t("Compact Mode"))+" "+toDisplayString$1(t.$t("on"))+" ("+toDisplayString$1(t.$t("Group")+" "+v.compactGroup)+")",513),[[vShow,v.runAsCompactMode]])]),_:2},1024)]),_:2},1024),v.mode!=="none"&&v.mode!=="once"?withDirectives((openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[t.loading[v.id]===!0?(openBlock(),createBlock(QSpinner,{key:0,color:"primary",size:"21px"})):createCommentVNode("",!0),t.loading[v.id]!==!0&&v.alive!==!1&&v.connectedToHost!==!1&&v.connectedToInstance!==!1?(openBlock(),createElementBlock("div",_hoisted_2$b,[createVNode$1(g,{color:"positive",name:"mdi-check-circle"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("alive")),1)]),_:1})])):createCommentVNode("",!0),t.loading[v.id]!==!0&&v.alive===!1||v.connectedToHost===!1||v.connectedToInstance===!1?(openBlock(),createElementBlock("div",_hoisted_3$7,[createVNode$1(g,{color:"warning",name:"mdi-alert"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("not alive")),1)]),_:1})])):createCommentVNode("",!0)]),_:2},1536)),[[vShow,v.enabled===!0]]):createCommentVNode("",!0),v.mode!=="none"&&v.mode!=="once"?withDirectives((openBlock(),createBlock(QItemSection,{key:1,side:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-close"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("disabled")),1)]),_:1})]),_:2},1536)),[[vShow,v.enabled===!1]]):createCommentVNode("",!0),t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0?(openBlock(),createBlock(QMenu,{key:2,ref_for:!0,ref:"menu","touch-position":""},{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"120px","man-width":"150px"},class:"body"},{default:withCtx(()=>[createVNode$1(QItem,{class:normalizeClass("text-white bg-"+(v.enabled?"positive":"negative"))},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.enabled?"Currently running":"Currently stopped")),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["class"]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:y=>t.onSet(v.id,!v.enabled)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:v.enabled?"negative":"positive",name:v.enabled?"mdi-pause":"mdi-play"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.enabled?"Stop":"Start")+" "+t.$t("Adapter")),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1536)):createCommentVNode("",!0)]),_:2},1032,["clickable","v-ripple"]))),128))]),_:1},8,["style"])}var AdapterStatus=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f]]),AdapterStatus$1=Object.freeze(Object.defineProperty({__proto__:null,default:AdapterStatus},Symbol.toStringTag,{value:"Module"}));function useLocale(t=!1){const r=useI18n(),o=r.locale.value||r.locale;return t?o.substr(0,2):o}var style="",EventList_vue_vue_type_style_index_0_lang="";const _sfc_main$e=defineComponent({name:"ModuleCalendarEventList",props:{agenda:{type:Object,required:!0}}}),_hoisted_1$c={class:"jarvis-Calendar-CalendarName"};function _sfc_render$e(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.agenda,(v,y)=>(openBlock(),createBlock(QItem,{key:"item-"+v.key,class:normalizeClass({"jarvis-StateListItem-Separator":y>0})},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"items-center q-mr-sm",style:normalizeStyle$1({marginTop:"-3px",color:v.calendar.color||"var(--q-primary)"})},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-circle-medium"}),createBaseVNode("span",_hoisted_1$c,toDisplayString$1(v.calendar.name),1),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.calendar.name),1)]),_:2},1024)]),_:2},1032,["style"]),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.time)+", "+(v.summary.val||v.summary)),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.caption),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})}var EventList=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e]]),EventList$1=Object.freeze(Object.defineProperty({__proto__:null,default:EventList},Symbol.toStringTag,{value:"Module"})),luxon$1={};Object.defineProperty(luxon$1,"__esModule",{value:!0});class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(r){super(`Invalid DateTime: ${r.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(r){super(`Invalid Interval: ${r.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(r){super(`Invalid Duration: ${r.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(r){super(`Invalid unit ${r}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const n="numeric",s="short",l="long",DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:n},TIME_WITH_SECONDS={hour:n,minute:n,second:n},TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"},TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n},DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(r,o){throw new ZoneIsAbstractError}formatOffset(r,o){throw new ZoneIsAbstractError}offset(r){throw new ZoneIsAbstractError}equals(r){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let singleton$1=null;class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(r,{format:o,locale:a}){return parseZoneInfo(r,o,a)}formatOffset(r,o){return formatOffset(this.offset(r),o)}offset(r){return-new Date(r).getTimezoneOffset()}equals(r){return r.type==="system"}get isValid(){return!0}}let dtfCache={};function makeDTF(t){return dtfCache[t]||(dtfCache[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),dtfCache[t]}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(t,r){const o=t.format(r).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(o),[,u,d,g,v,y,A,b]=a;return[g,u,d,v,y,A,b]}function partsOffset(t,r){const o=t.formatToParts(r),a=[];for(let u=0;u=0?C:1e3+C,(w-S)/(60*1e3)}equals(r){return r.type==="iana"&&r.name===this.name}get isValid(){return this.valid}}let intlLFCache={};function getCachedLF(t,r={}){const o=JSON.stringify([t,r]);let a=intlLFCache[o];return a||(a=new Intl.ListFormat(t,r),intlLFCache[o]=a),a}let intlDTCache={};function getCachedDTF(t,r={}){const o=JSON.stringify([t,r]);let a=intlDTCache[o];return a||(a=new Intl.DateTimeFormat(t,r),intlDTCache[o]=a),a}let intlNumCache={};function getCachedINF(t,r={}){const o=JSON.stringify([t,r]);let a=intlNumCache[o];return a||(a=new Intl.NumberFormat(t,r),intlNumCache[o]=a),a}let intlRelCache={};function getCachedRTF(t,r={}){const{base:o,...a}=r,u=JSON.stringify([t,a]);let d=intlRelCache[u];return d||(d=new Intl.RelativeTimeFormat(t,r),intlRelCache[u]=d),d}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}let weekInfoCache={};function getCachedWeekInfo(t){let r=weekInfoCache[t];if(!r){const o=new Intl.Locale(t);r="getWeekInfo"in o?o.getWeekInfo():o.weekInfo,weekInfoCache[t]=r}return r}function parseLocaleString(t){const r=t.indexOf("-x-");r!==-1&&(t=t.substring(0,r));const o=t.indexOf("-u-");if(o===-1)return[t];{let a,u;try{a=getCachedDTF(t).resolvedOptions(),u=t}catch(v){const y=t.substring(0,o);a=getCachedDTF(y).resolvedOptions(),u=y}const{numberingSystem:d,calendar:g}=a;return[u,d,g]}}function intlConfigString(t,r,o){return(o||r)&&(t.includes("-u-")||(t+="-u"),o&&(t+=`-ca-${o}`),r&&(t+=`-nu-${r}`)),t}function mapMonths(t){const r=[];for(let o=1;o<=12;o++){const a=DateTime$2.utc(2009,o,1);r.push(t(a))}return r}function mapWeekdays(t){const r=[];for(let o=1;o<=7;o++){const a=DateTime$2.utc(2016,11,13+o);r.push(t(a))}return r}function listStuff(t,r,o,a){const u=t.listingMode();return u==="error"?null:u==="en"?o(r):a(r)}function supportsFastNumbers(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class PolyNumberFormatter{constructor(r,o,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;const{padTo:u,floor:d,...g}=a;if(!o||Object.keys(g).length>0){const v={useGrouping:!1,...a};a.padTo>0&&(v.minimumIntegerDigits=a.padTo),this.inf=getCachedINF(r,v)}}format(r){if(this.inf){const o=this.floor?Math.floor(r):r;return this.inf.format(o)}else{const o=this.floor?Math.floor(r):roundTo(r,3);return padStart(o,this.padTo)}}}class PolyDateFormatter{constructor(r,o,a){this.opts=a,this.originalZone=void 0;let u;if(this.opts.timeZone)this.dt=r;else if(r.zone.type==="fixed"){const g=-1*(r.offset/60),v=g>=0?`Etc/GMT+${g}`:`Etc/GMT${g}`;r.offset!==0&&IANAZone.create(v).valid?(u=v,this.dt=r):(u="UTC",this.dt=r.offset===0?r:r.setZone("UTC").plus({minutes:r.offset}),this.originalZone=r.zone)}else r.zone.type==="system"?this.dt=r:r.zone.type==="iana"?(this.dt=r,u=r.zone.name):(u="UTC",this.dt=r.setZone("UTC").plus({minutes:r.offset}),this.originalZone=r.zone);const d={...this.opts};d.timeZone=d.timeZone||u,this.dtf=getCachedDTF(o,d)}format(){return this.originalZone?this.formatToParts().map(({value:r})=>r).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const r=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?r.map(o=>{if(o.type==="timeZoneName"){const a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...o,value:a}}else return o}):r}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(r,o,a){this.opts={style:"long",...a},!o&&hasRelative()&&(this.rtf=getCachedRTF(r,a))}format(r,o){return this.rtf?this.rtf.format(r,o):formatRelativeTime(o,r,this.opts.numeric,this.opts.style!=="long")}formatToParts(r,o){return this.rtf?this.rtf.formatToParts(r,o):[]}}const fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};class Locale{static fromOpts(r){return Locale.create(r.locale,r.numberingSystem,r.outputCalendar,r.weekSettings,r.defaultToEN)}static create(r,o,a,u,d=!1){const g=r||Settings.defaultLocale,v=g||(d?"en-US":systemLocale()),y=o||Settings.defaultNumberingSystem,A=a||Settings.defaultOutputCalendar,b=validateWeekSettings(u)||Settings.defaultWeekSettings;return new Locale(v,y,A,b,g)}static resetCache(){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={}}static fromObject({locale:r,numberingSystem:o,outputCalendar:a,weekSettings:u}={}){return Locale.create(r,o,a,u)}constructor(r,o,a,u,d){const[g,v,y]=parseLocaleString(r);this.locale=g,this.numberingSystem=o||v||null,this.outputCalendar=a||y||null,this.weekSettings=u,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=d,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}listingMode(){const r=this.isEnglish(),o=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return r&&o?"en":"intl"}clone(r){return!r||Object.getOwnPropertyNames(r).length===0?this:Locale.create(r.locale||this.specifiedLocale,r.numberingSystem||this.numberingSystem,r.outputCalendar||this.outputCalendar,validateWeekSettings(r.weekSettings)||this.weekSettings,r.defaultToEN||!1)}redefaultToEN(r={}){return this.clone({...r,defaultToEN:!0})}redefaultToSystem(r={}){return this.clone({...r,defaultToEN:!1})}months(r,o=!1){return listStuff(this,r,months,()=>{const a=o?{month:r,day:"numeric"}:{month:r},u=o?"format":"standalone";return this.monthsCache[u][r]||(this.monthsCache[u][r]=mapMonths(d=>this.extract(d,a,"month"))),this.monthsCache[u][r]})}weekdays(r,o=!1){return listStuff(this,r,weekdays,()=>{const a=o?{weekday:r,year:"numeric",month:"long",day:"numeric"}:{weekday:r},u=o?"format":"standalone";return this.weekdaysCache[u][r]||(this.weekdaysCache[u][r]=mapWeekdays(d=>this.extract(d,a,"weekday"))),this.weekdaysCache[u][r]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){const r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime$2.utc(2016,11,13,9),DateTime$2.utc(2016,11,13,19)].map(o=>this.extract(o,r,"dayperiod"))}return this.meridiemCache})}eras(r){return listStuff(this,r,eras,()=>{const o={era:r};return this.eraCache[r]||(this.eraCache[r]=[DateTime$2.utc(-40,1,1),DateTime$2.utc(2017,1,1)].map(a=>this.extract(a,o,"era"))),this.eraCache[r]})}extract(r,o,a){const u=this.dtFormatter(r,o),d=u.formatToParts(),g=d.find(v=>v.type.toLowerCase()===a);return g?g.value:null}numberFormatter(r={}){return new PolyNumberFormatter(this.intl,r.forceSimple||this.fastNumbers,r)}dtFormatter(r,o={}){return new PolyDateFormatter(r,this.intl,o)}relFormatter(r={}){return new PolyRelFormatter(this.intl,this.isEnglish(),r)}listFormatter(r={}){return getCachedLF(this.intl,r)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo()?getCachedWeekInfo(this.locale):fallbackWeekSettings}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(r){return this.locale===r.locale&&this.numberingSystem===r.numberingSystem&&this.outputCalendar===r.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let singleton=null;class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(r){return r===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(r)}static parseSpecifier(r){if(r){const o=r.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(o)return new FixedOffsetZone(signedOffset(o[1],o[2]))}return null}constructor(r){super(),this.fixed=r}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(r,o){return formatOffset(this.fixed,o)}get isUniversal(){return!0}offset(){return this.fixed}equals(r){return r.type==="fixed"&&r.fixed===this.fixed}get isValid(){return!0}}class InvalidZone extends Zone{constructor(r){super(),this.zoneName=r}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function normalizeZone(t,r){if(isUndefined(t)||t===null)return r;if(t instanceof Zone)return t;if(isString(t)){const o=t.toLowerCase();return o==="default"?r:o==="local"||o==="system"?SystemZone.instance:o==="utc"||o==="gmt"?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(o)||IANAZone.create(t)}else return isNumber(t)?FixedOffsetZone.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new InvalidZone(t)}const numberingSystems={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(t){let r=parseInt(t,10);if(isNaN(r)){r="";for(let o=0;o=d&&a<=g&&(r+=a-d)}}return parseInt(r,10)}else return r}let digitRegexCache={};function resetDigitRegexCache(){digitRegexCache={}}function digitRegex({numberingSystem:t},r=""){const o=t||"latn";return digitRegexCache[o]||(digitRegexCache[o]={}),digitRegexCache[o][r]||(digitRegexCache[o][r]=new RegExp(`${numberingSystems[o]}${r}`)),digitRegexCache[o][r]}let now=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;class Settings{static get now(){return now}static set now(r){now=r}static set defaultZone(r){defaultZone=r}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(r){defaultLocale=r}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(r){defaultNumberingSystem=r}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(r){defaultOutputCalendar=r}static get defaultWeekSettings(){return defaultWeekSettings}static set defaultWeekSettings(r){defaultWeekSettings=validateWeekSettings(r)}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(r){twoDigitCutoffYear=r%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(r){throwOnInvalid=r}static resetCaches(){Locale.resetCache(),IANAZone.resetCache(),DateTime$2.resetCache(),resetDigitRegexCache()}}class Invalid{constructor(r,o){this.reason=r,this.explanation=o}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(t,r){return new Invalid("unit out of range",`you specified ${r} (of type ${typeof r}) as a ${t}, which is invalid`)}function dayOfWeek(t,r,o){const a=new Date(Date.UTC(t,r-1,o));t<100&&t>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);const u=a.getUTCDay();return u===0?7:u}function computeOrdinal(t,r,o){return o+(isLeapYear(t)?leapLadder:nonLeapLadder)[r-1]}function uncomputeOrdinal(t,r){const o=isLeapYear(t)?leapLadder:nonLeapLadder,a=o.findIndex(d=>dweeksInWeekYear(a,r,o)?(A=a+1,y=1):A=a,{weekYear:A,weekNumber:y,weekday:v,...timeObject(t)}}function weekToGregorian(t,r=4,o=1){const{weekYear:a,weekNumber:u,weekday:d}=t,g=isoWeekdayToLocal(dayOfWeek(a,1,r),o),v=daysInYear(a);let y=u*7+d-g-7+r,A;y<1?(A=a-1,y+=daysInYear(A)):y>v?(A=a+1,y-=daysInYear(a)):A=a;const{month:b,day:_}=uncomputeOrdinal(A,y);return{year:A,month:b,day:_,...timeObject(t)}}function gregorianToOrdinal(t){const{year:r,month:o,day:a}=t,u=computeOrdinal(r,o,a);return{year:r,ordinal:u,...timeObject(t)}}function ordinalToGregorian(t){const{year:r,ordinal:o}=t,{month:a,day:u}=uncomputeOrdinal(r,o);return{year:r,month:a,day:u,...timeObject(t)}}function usesLocalWeekValues(t,r){if(!isUndefined(t.localWeekday)||!isUndefined(t.localWeekNumber)||!isUndefined(t.localWeekYear)){if(!isUndefined(t.weekday)||!isUndefined(t.weekNumber)||!isUndefined(t.weekYear))throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields");return isUndefined(t.localWeekday)||(t.weekday=t.localWeekday),isUndefined(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),isUndefined(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:r.getMinDaysInFirstWeek(),startOfWeek:r.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData(t,r=4,o=1){const a=isInteger(t.weekYear),u=integerBetween(t.weekNumber,1,weeksInWeekYear(t.weekYear,r,o)),d=integerBetween(t.weekday,1,7);return a?u?d?!1:unitOutOfRange("weekday",t.weekday):unitOutOfRange("week",t.weekNumber):unitOutOfRange("weekYear",t.weekYear)}function hasInvalidOrdinalData(t){const r=isInteger(t.year),o=integerBetween(t.ordinal,1,daysInYear(t.year));return r?o?!1:unitOutOfRange("ordinal",t.ordinal):unitOutOfRange("year",t.year)}function hasInvalidGregorianData(t){const r=isInteger(t.year),o=integerBetween(t.month,1,12),a=integerBetween(t.day,1,daysInMonth(t.year,t.month));return r?o?a?!1:unitOutOfRange("day",t.day):unitOutOfRange("month",t.month):unitOutOfRange("year",t.year)}function hasInvalidTimeData(t){const{hour:r,minute:o,second:a,millisecond:u}=t,d=integerBetween(r,0,23)||r===24&&o===0&&a===0&&u===0,g=integerBetween(o,0,59),v=integerBetween(a,0,59),y=integerBetween(u,0,999);return d?g?v?y?!1:unitOutOfRange("millisecond",u):unitOutOfRange("second",a):unitOutOfRange("minute",o):unitOutOfRange("hour",r)}function isUndefined(t){return typeof t=="undefined"}function isNumber(t){return typeof t=="number"}function isInteger(t){return typeof t=="number"&&t%1===0}function isString(t){return typeof t=="string"}function isDate(t){return Object.prototype.toString.call(t)==="[object Date]"}function hasRelative(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function hasLocaleWeekInfo(){try{return typeof Intl!="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function maybeArray(t){return Array.isArray(t)?t:[t]}function bestBy(t,r,o){if(t.length!==0)return t.reduce((a,u)=>{const d=[r(u),u];return a&&o(a[0],d[0])===a[0]?a:d},null)[1]}function pick(t,r){return r.reduce((o,a)=>(o[a]=t[a],o),{})}function hasOwnProperty$1(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function validateWeekSettings(t){if(t==null)return null;if(typeof t!="object")throw new InvalidArgumentError("Week settings must be an object");if(!integerBetween(t.firstDay,1,7)||!integerBetween(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(r=>!integerBetween(r,1,7)))throw new InvalidArgumentError("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function integerBetween(t,r,o){return isInteger(t)&&t>=r&&t<=o}function floorMod(t,r){return t-r*Math.floor(t/r)}function padStart(t,r=2){const o=t<0;let a;return o?a="-"+(""+-t).padStart(r,"0"):a=(""+t).padStart(r,"0"),a}function parseInteger(t){if(!(isUndefined(t)||t===null||t===""))return parseInt(t,10)}function parseFloating(t){if(!(isUndefined(t)||t===null||t===""))return parseFloat(t)}function parseMillis(t){if(!(isUndefined(t)||t===null||t==="")){const r=parseFloat("0."+t)*1e3;return Math.floor(r)}}function roundTo(t,r,o=!1){const a=10**r;return(o?Math.trunc:Math.round)(t*a)/a}function isLeapYear(t){return t%4===0&&(t%100!==0||t%400===0)}function daysInYear(t){return isLeapYear(t)?366:365}function daysInMonth(t,r){const o=floorMod(r-1,12)+1,a=t+(r-o)/12;return o===2?isLeapYear(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][o-1]}function objToLocalTS(t){let r=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(r=new Date(r),r.setUTCFullYear(t.year,t.month-1,t.day)),+r}function firstWeekOffset(t,r,o){return-isoWeekdayToLocal(dayOfWeek(t,1,r),o)+r-1}function weeksInWeekYear(t,r=4,o=1){const a=firstWeekOffset(t,r,o),u=firstWeekOffset(t+1,r,o);return(daysInYear(t)-a+u)/7}function untruncateYear(t){return t>99?t:t>Settings.twoDigitCutoffYear?1900+t:2e3+t}function parseZoneInfo(t,r,o,a=null){const u=new Date(t),d={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(d.timeZone=a);const g={timeZoneName:r,...d},v=new Intl.DateTimeFormat(o,g).formatToParts(u).find(y=>y.type.toLowerCase()==="timezonename");return v?v.value:null}function signedOffset(t,r){let o=parseInt(t,10);Number.isNaN(o)&&(o=0);const a=parseInt(r,10)||0,u=o<0||Object.is(o,-0)?-a:a;return o*60+u}function asNumber(t){const r=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(r))throw new InvalidArgumentError(`Invalid unit value ${t}`);return r}function normalizeObject(t,r){const o={};for(const a in t)if(hasOwnProperty$1(t,a)){const u=t[a];if(u==null)continue;o[r(a)]=asNumber(u)}return o}function formatOffset(t,r){const o=Math.trunc(Math.abs(t/60)),a=Math.trunc(Math.abs(t%60)),u=t>=0?"+":"-";switch(r){case"short":return`${u}${padStart(o,2)}:${padStart(a,2)}`;case"narrow":return`${u}${o}${a>0?`:${a}`:""}`;case"techie":return`${u}${padStart(o,2)}${padStart(a,2)}`;default:throw new RangeError(`Value format ${r} is out of range for property format`)}}function timeObject(t){return pick(t,["hour","minute","second","millisecond"])}const monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(t){switch(t){case"narrow":return[...monthsNarrow];case"short":return[...monthsShort];case"long":return[...monthsLong];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(t){switch(t){case"narrow":return[...weekdaysNarrow];case"short":return[...weekdaysShort];case"long":return[...weekdaysLong];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"];function eras(t){switch(t){case"narrow":return[...erasNarrow];case"short":return[...erasShort];case"long":return[...erasLong];default:return null}}function meridiemForDateTime(t){return meridiems[t.hour<12?0:1]}function weekdayForDateTime(t,r){return weekdays(r)[t.weekday-1]}function monthForDateTime(t,r){return months(r)[t.month-1]}function eraForDateTime(t,r){return eras(r)[t.year<0?0:1]}function formatRelativeTime(t,r,o="always",a=!1){const u={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},d=["hours","minutes","seconds"].indexOf(t)===-1;if(o==="auto"&&d){const _=t==="days";switch(r){case 1:return _?"tomorrow":`next ${u[t][0]}`;case-1:return _?"yesterday":`last ${u[t][0]}`;case 0:return _?"today":`this ${u[t][0]}`}}const g=Object.is(r,-0)||r<0,v=Math.abs(r),y=v===1,A=u[t],b=a?y?A[1]:A[2]||A[1]:y?u[t][0]:t;return g?`${v} ${b} ago`:`in ${v} ${b}`}function stringifyTokens(t,r){let o="";for(const a of t)a.literal?o+=a.val:o+=r(a.val);return o}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};class Formatter{static create(r,o={}){return new Formatter(r,o)}static parseFormat(r){let o=null,a="",u=!1;const d=[];for(let g=0;g0&&d.push({literal:u||/^\s+$/.test(a),val:a}),o=null,a="",u=!u):u||v===o?a+=v:(a.length>0&&d.push({literal:/^\s+$/.test(a),val:a}),a=v,o=v)}return a.length>0&&d.push({literal:u||/^\s+$/.test(a),val:a}),d}static macroTokenToFormatOpts(r){return macroTokenToFormatOpts[r]}constructor(r,o){this.opts=o,this.loc=r,this.systemLoc=null}formatWithSystemDefault(r,o){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(r,{...this.opts,...o}).format()}dtFormatter(r,o={}){return this.loc.dtFormatter(r,{...this.opts,...o})}formatDateTime(r,o){return this.dtFormatter(r,o).format()}formatDateTimeParts(r,o){return this.dtFormatter(r,o).formatToParts()}formatInterval(r,o){return this.dtFormatter(r.start,o).dtf.formatRange(r.start.toJSDate(),r.end.toJSDate())}resolvedOptions(r,o){return this.dtFormatter(r,o).resolvedOptions()}num(r,o=0){if(this.opts.forceSimple)return padStart(r,o);const a={...this.opts};return o>0&&(a.padTo=o),this.loc.numberFormatter(a).format(r)}formatDateTimeFromString(r,o){const a=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",d=(S,C)=>this.loc.extract(r,S,C),g=S=>r.isOffsetFixed&&r.offset===0&&S.allowZ?"Z":r.isValid?r.zone.formatOffset(r.ts,S.format):"",v=()=>a?meridiemForDateTime(r):d({hour:"numeric",hourCycle:"h12"},"dayperiod"),y=(S,C)=>a?monthForDateTime(r,S):d(C?{month:S}:{month:S,day:"numeric"},"month"),A=(S,C)=>a?weekdayForDateTime(r,S):d(C?{weekday:S}:{weekday:S,month:"long",day:"numeric"},"weekday"),b=S=>{const C=Formatter.macroTokenToFormatOpts(S);return C?this.formatWithSystemDefault(r,C):S},_=S=>a?eraForDateTime(r,S):d({era:S},"era"),w=S=>{switch(S){case"S":return this.num(r.millisecond);case"u":case"SSS":return this.num(r.millisecond,3);case"s":return this.num(r.second);case"ss":return this.num(r.second,2);case"uu":return this.num(Math.floor(r.millisecond/10),2);case"uuu":return this.num(Math.floor(r.millisecond/100));case"m":return this.num(r.minute);case"mm":return this.num(r.minute,2);case"h":return this.num(r.hour%12===0?12:r.hour%12);case"hh":return this.num(r.hour%12===0?12:r.hour%12,2);case"H":return this.num(r.hour);case"HH":return this.num(r.hour,2);case"Z":return g({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return g({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return g({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return r.zone.offsetName(r.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return r.zone.offsetName(r.ts,{format:"long",locale:this.loc.locale});case"z":return r.zoneName;case"a":return v();case"d":return u?d({day:"numeric"},"day"):this.num(r.day);case"dd":return u?d({day:"2-digit"},"day"):this.num(r.day,2);case"c":return this.num(r.weekday);case"ccc":return A("short",!0);case"cccc":return A("long",!0);case"ccccc":return A("narrow",!0);case"E":return this.num(r.weekday);case"EEE":return A("short",!1);case"EEEE":return A("long",!1);case"EEEEE":return A("narrow",!1);case"L":return u?d({month:"numeric",day:"numeric"},"month"):this.num(r.month);case"LL":return u?d({month:"2-digit",day:"numeric"},"month"):this.num(r.month,2);case"LLL":return y("short",!0);case"LLLL":return y("long",!0);case"LLLLL":return y("narrow",!0);case"M":return u?d({month:"numeric"},"month"):this.num(r.month);case"MM":return u?d({month:"2-digit"},"month"):this.num(r.month,2);case"MMM":return y("short",!1);case"MMMM":return y("long",!1);case"MMMMM":return y("narrow",!1);case"y":return u?d({year:"numeric"},"year"):this.num(r.year);case"yy":return u?d({year:"2-digit"},"year"):this.num(r.year.toString().slice(-2),2);case"yyyy":return u?d({year:"numeric"},"year"):this.num(r.year,4);case"yyyyyy":return u?d({year:"numeric"},"year"):this.num(r.year,6);case"G":return _("short");case"GG":return _("long");case"GGGGG":return _("narrow");case"kk":return this.num(r.weekYear.toString().slice(-2),2);case"kkkk":return this.num(r.weekYear,4);case"W":return this.num(r.weekNumber);case"WW":return this.num(r.weekNumber,2);case"n":return this.num(r.localWeekNumber);case"nn":return this.num(r.localWeekNumber,2);case"ii":return this.num(r.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(r.localWeekYear,4);case"o":return this.num(r.ordinal);case"ooo":return this.num(r.ordinal,3);case"q":return this.num(r.quarter);case"qq":return this.num(r.quarter,2);case"X":return this.num(Math.floor(r.ts/1e3));case"x":return this.num(r.ts);default:return b(S)}};return stringifyTokens(Formatter.parseFormat(o),w)}formatDurationFromString(r,o){const a=y=>{switch(y[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=y=>A=>{const b=a(A);return b?this.num(y.get(b),A.length):A},d=Formatter.parseFormat(o),g=d.reduce((y,{literal:A,val:b})=>A?y:y.concat(b),[]),v=r.shiftTo(...g.map(a).filter(y=>y));return stringifyTokens(d,u(v))}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...t){const r=t.reduce((o,a)=>o+a.source,"");return RegExp(`^${r}$`)}function combineExtractors(...t){return r=>t.reduce(([o,a,u],d)=>{const[g,v,y]=d(r,u);return[{...o,...g},v||a,y]},[{},null,1]).slice(0,2)}function parse(t,...r){if(t==null)return[null,null];for(const[o,a]of r){const u=o.exec(t);if(u)return a(u)}return[null,null]}function simpleParse(...t){return(r,o)=>{const a={};let u;for(u=0;uS!==void 0&&(C||S&&b)?-S:S;return[{years:w(parseFloating(o)),months:w(parseFloating(a)),weeks:w(parseFloating(u)),days:w(parseFloating(d)),hours:w(parseFloating(g)),minutes:w(parseFloating(v)),seconds:w(parseFloating(y),y==="-0"),milliseconds:w(parseMillis(A),_)}]}const obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(t,r,o,a,u,d,g){const v={year:r.length===2?untruncateYear(parseInteger(r)):parseInteger(r),month:monthsShort.indexOf(o)+1,day:parseInteger(a),hour:parseInteger(u),minute:parseInteger(d)};return g&&(v.second=parseInteger(g)),t&&(v.weekday=t.length>3?weekdaysLong.indexOf(t)+1:weekdaysShort.indexOf(t)+1),v}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(t){const[,r,o,a,u,d,g,v,y,A,b,_]=t,w=fromStrings(r,u,a,o,d,g,v);let S;return y?S=obsOffsets[y]:A?S=0:S=signedOffset(b,_),[w,new FixedOffsetZone(S)]}function preprocessRFC2822(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(t){const[,r,o,a,u,d,g,v]=t;return[fromStrings(r,u,a,o,d,g,v),FixedOffsetZone.utcInstance]}function extractASCII(t){const[,r,o,a,u,d,g,v]=t;return[fromStrings(r,v,o,a,u,d,g),FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(t){return parse(t,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(t){return parse(preprocessRFC2822(t),[rfc2822,extractRFC2822])}function parseHTTPDate(t){return parse(t,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(t){return parse(t,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(t){return parse(t,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(t){return parse(t,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2="Invalid Duration",lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$1$1(t,r,o=!1){const a={values:o?r.values:{...t.values,...r.values||{}},loc:t.loc.clone(r.loc),conversionAccuracy:r.conversionAccuracy||t.conversionAccuracy,matrix:r.matrix||t.matrix};return new Duration(a)}function durationToMillis(t,r){var o;let a=(o=r.milliseconds)!=null?o:0;for(const u of reverseUnits.slice(1))r[u]&&(a+=r[u]*t[u].milliseconds);return a}function normalizeValues(t,r){const o=durationToMillis(t,r)<0?-1:1;orderedUnits$1.reduceRight((a,u)=>{if(isUndefined(r[u]))return a;if(a){const d=r[a]*o,g=t[u][a],v=Math.floor(d/g);r[u]+=v*o,r[a]-=v*g*o}return u},null),orderedUnits$1.reduce((a,u)=>{if(isUndefined(r[u]))return a;if(a){const d=r[a]%1;r[a]-=d,r[u]+=d*t[a][u]}return u},null)}function removeZeroes(t){const r={};for(const[o,a]of Object.entries(t))a!==0&&(r[o]=a);return r}class Duration{constructor(r){const o=r.conversionAccuracy==="longterm"||!1;let a=o?accurateMatrix:casualMatrix;r.matrix&&(a=r.matrix),this.values=r.values,this.loc=r.loc||Locale.create(),this.conversionAccuracy=o?"longterm":"casual",this.invalid=r.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(r,o){return Duration.fromObject({milliseconds:r},o)}static fromObject(r,o={}){if(r==null||typeof r!="object")throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${r===null?"null":typeof r}`);return new Duration({values:normalizeObject(r,Duration.normalizeUnit),loc:Locale.fromObject(o),conversionAccuracy:o.conversionAccuracy,matrix:o.matrix})}static fromDurationLike(r){if(isNumber(r))return Duration.fromMillis(r);if(Duration.isDuration(r))return r;if(typeof r=="object")return Duration.fromObject(r);throw new InvalidArgumentError(`Unknown duration argument ${r} of type ${typeof r}`)}static fromISO(r,o){const[a]=parseISODuration(r);return a?Duration.fromObject(a,o):Duration.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static fromISOTime(r,o){const[a]=parseISOTimeOnly(r);return a?Duration.fromObject(a,o):Duration.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static invalid(r,o=null){if(!r)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");const a=r instanceof Invalid?r:new Invalid(r,o);if(Settings.throwOnInvalid)throw new InvalidDurationError(a);return new Duration({invalid:a})}static normalizeUnit(r){const o={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[r&&r.toLowerCase()];if(!o)throw new InvalidUnitError(r);return o}static isDuration(r){return r&&r.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(r,o={}){const a={...o,floor:o.round!==!1&&o.floor!==!1};return this.isValid?Formatter.create(this.loc,a).formatDurationFromString(this,r):INVALID$2}toHuman(r={}){if(!this.isValid)return INVALID$2;const o=orderedUnits$1.map(a=>{const u=this.values[a];return isUndefined(u)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...r,unit:a.slice(0,-1)}).format(u)}).filter(a=>a);return this.loc.listFormatter({type:"conjunction",style:r.listStyle||"narrow",...r}).format(o)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let r="P";return this.years!==0&&(r+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(r+=this.months+this.quarters*3+"M"),this.weeks!==0&&(r+=this.weeks+"W"),this.days!==0&&(r+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(r+="T"),this.hours!==0&&(r+=this.hours+"H"),this.minutes!==0&&(r+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(r+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),r==="P"&&(r+="T0S"),r}toISOTime(r={}){if(!this.isValid)return null;const o=this.toMillis();return o<0||o>=864e5?null:(r={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...r,includeOffset:!1},DateTime$2.fromMillis(o,{zone:"UTC"}).toISOTime(r))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r),a={};for(const u of orderedUnits$1)(hasOwnProperty$1(o.values,u)||hasOwnProperty$1(this.values,u))&&(a[u]=o.get(u)+this.get(u));return clone$1$1(this,{values:a},!0)}minus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r);return this.plus(o.negate())}mapUnits(r){if(!this.isValid)return this;const o={};for(const a of Object.keys(this.values))o[a]=asNumber(r(this.values[a],a));return clone$1$1(this,{values:o},!0)}get(r){return this[Duration.normalizeUnit(r)]}set(r){if(!this.isValid)return this;const o={...this.values,...normalizeObject(r,Duration.normalizeUnit)};return clone$1$1(this,{values:o})}reconfigure({locale:r,numberingSystem:o,conversionAccuracy:a,matrix:u}={}){const g={loc:this.loc.clone({locale:r,numberingSystem:o}),matrix:u,conversionAccuracy:a};return clone$1$1(this,g)}as(r){return this.isValid?this.shiftTo(r).get(r):NaN}normalize(){if(!this.isValid)return this;const r=this.toObject();return normalizeValues(this.matrix,r),clone$1$1(this,{values:r},!0)}rescale(){if(!this.isValid)return this;const r=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1$1(this,{values:r},!0)}shiftTo(...r){if(!this.isValid)return this;if(r.length===0)return this;r=r.map(g=>Duration.normalizeUnit(g));const o={},a={},u=this.toObject();let d;for(const g of orderedUnits$1)if(r.indexOf(g)>=0){d=g;let v=0;for(const A in a)v+=this.matrix[A][g]*a[A],a[A]=0;isNumber(u[g])&&(v+=u[g]);const y=Math.trunc(v);o[g]=y,a[g]=(v*1e3-y*1e3)/1e3}else isNumber(u[g])&&(a[g]=u[g]);for(const g in a)a[g]!==0&&(o[d]+=g===d?a[g]:a[g]/this.matrix[d][g]);return normalizeValues(this.matrix,o),clone$1$1(this,{values:o},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const r={};for(const o of Object.keys(this.values))r[o]=this.values[o]===0?0:-this.values[o];return clone$1$1(this,{values:r},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(r){if(!this.isValid||!r.isValid||!this.loc.equals(r.loc))return!1;function o(a,u){return a===void 0||a===0?u===void 0||u===0:a===u}for(const a of orderedUnits$1)if(!o(this.values[a],r.values[a]))return!1;return!0}}const INVALID$1="Invalid Interval";function validateStartEnd(t,r){return!t||!t.isValid?Interval.invalid("missing or invalid start"):!r||!r.isValid?Interval.invalid("missing or invalid end"):rr:!1}isBefore(r){return this.isValid?this.e<=r:!1}contains(r){return this.isValid?this.s<=r&&this.e>r:!1}set({start:r,end:o}={}){return this.isValid?Interval.fromDateTimes(r||this.s,o||this.e):this}splitAt(...r){if(!this.isValid)return[];const o=r.map(friendlyDateTime).filter(g=>this.contains(g)).sort((g,v)=>g.toMillis()-v.toMillis()),a=[];let{s:u}=this,d=0;for(;u+this.e?this.e:g;a.push(Interval.fromDateTimes(u,v)),u=v,d+=1}return a}splitBy(r){const o=Duration.fromDurationLike(r);if(!this.isValid||!o.isValid||o.as("milliseconds")===0)return[];let{s:a}=this,u=1,d;const g=[];for(;ay*u));d=+v>+this.e?this.e:v,g.push(Interval.fromDateTimes(a,d)),a=d,u+=1}return g}divideEqually(r){return this.isValid?this.splitBy(this.length()/r).slice(0,r):[]}overlaps(r){return this.e>r.s&&this.s=r.e:!1}equals(r){return!this.isValid||!r.isValid?!1:this.s.equals(r.s)&&this.e.equals(r.e)}intersection(r){if(!this.isValid)return this;const o=this.s>r.s?this.s:r.s,a=this.e=a?null:Interval.fromDateTimes(o,a)}union(r){if(!this.isValid)return this;const o=this.sr.e?this.e:r.e;return Interval.fromDateTimes(o,a)}static merge(r){const[o,a]=r.sort((u,d)=>u.s-d.s).reduce(([u,d],g)=>d?d.overlaps(g)||d.abutsStart(g)?[u,d.union(g)]:[u.concat([d]),g]:[u,g],[[],null]);return a&&o.push(a),o}static xor(r){let o=null,a=0;const u=[],d=r.map(y=>[{time:y.s,type:"s"},{time:y.e,type:"e"}]),g=Array.prototype.concat(...d),v=g.sort((y,A)=>y.time-A.time);for(const y of v)a+=y.type==="s"?1:-1,a===1?o=y.time:(o&&+o!=+y.time&&u.push(Interval.fromDateTimes(o,y.time)),o=null);return Interval.merge(u)}difference(...r){return Interval.xor([this].concat(r)).map(o=>this.intersection(o)).filter(o=>o&&!o.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:INVALID$1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(r=DATE_SHORT,o={}){return this.isValid?Formatter.create(this.s.loc.clone(o),r).formatInterval(this):INVALID$1}toISO(r){return this.isValid?`${this.s.toISO(r)}/${this.e.toISO(r)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(r){return this.isValid?`${this.s.toISOTime(r)}/${this.e.toISOTime(r)}`:INVALID$1}toFormat(r,{separator:o=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(r)}${o}${this.e.toFormat(r)}`:INVALID$1}toDuration(r,o){return this.isValid?this.e.diff(this.s,r,o):Duration.invalid(this.invalidReason)}mapEndpoints(r){return Interval.fromDateTimes(r(this.s),r(this.e))}}class Info{static hasDST(r=Settings.defaultZone){const o=DateTime$2.now().setZone(r).set({month:12});return!r.isUniversal&&o.offset!==o.set({month:6}).offset}static isValidIANAZone(r){return IANAZone.isValidZone(r)}static normalizeZone(r){return normalizeZone(r,Settings.defaultZone)}static getStartOfWeek({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getWeekendDays().slice()}static months(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null,outputCalendar:d="gregory"}={}){return(u||Locale.create(o,a,d)).months(r)}static monthsFormat(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null,outputCalendar:d="gregory"}={}){return(u||Locale.create(o,a,d)).months(r,!0)}static weekdays(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null}={}){return(u||Locale.create(o,a,null)).weekdays(r)}static weekdaysFormat(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null}={}){return(u||Locale.create(o,a,null)).weekdays(r,!0)}static meridiems({locale:r=null}={}){return Locale.create(r).meridiems()}static eras(r="short",{locale:o=null}={}){return Locale.create(o,null,"gregory").eras(r)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(t,r){const o=u=>u.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=o(r)-o(t);return Math.floor(Duration.fromMillis(a).as("days"))}function highOrderDiffs(t,r,o){const a=[["years",(y,A)=>A.year-y.year],["quarters",(y,A)=>A.quarter-y.quarter+(A.year-y.year)*4],["months",(y,A)=>A.month-y.month+(A.year-y.year)*12],["weeks",(y,A)=>{const b=dayDiff(y,A);return(b-b%7)/7}],["days",dayDiff]],u={},d=t;let g,v;for(const[y,A]of a)o.indexOf(y)>=0&&(g=y,u[y]=A(t,r),v=d.plus(u),v>r?(u[y]--,t=d.plus(u),t>r&&(v=t,u[y]--,t=d.plus(u))):t=v);return[t,u,v,g]}function diff(t,r,o,a){let[u,d,g,v]=highOrderDiffs(t,r,o);const y=r-u,A=o.filter(_=>["hours","minutes","seconds","milliseconds"].indexOf(_)>=0);A.length===0&&(g0?Duration.fromMillis(y,a).shiftTo(...A).plus(b):b}const MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(t,r=o=>o){return{regex:t,deser:([o])=>r(parseDigits(o))}}const NBSP=String.fromCharCode(160),spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(t){return t.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(t){return t.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(t,r){return t===null?null:{regex:RegExp(t.map(fixListRegex).join("|")),deser:([o])=>t.findIndex(a=>stripInsensitivities(o)===stripInsensitivities(a))+r}}function offset(t,r){return{regex:t,deser:([,o,a])=>signedOffset(o,a),groups:r}}function simple(t){return{regex:t,deser:([r])=>r}}function escapeToken(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(t,r){const o=digitRegex(r),a=digitRegex(r,"{2}"),u=digitRegex(r,"{3}"),d=digitRegex(r,"{4}"),g=digitRegex(r,"{6}"),v=digitRegex(r,"{1,2}"),y=digitRegex(r,"{1,3}"),A=digitRegex(r,"{1,6}"),b=digitRegex(r,"{1,9}"),_=digitRegex(r,"{2,4}"),w=digitRegex(r,"{4,6}"),S=I=>({regex:RegExp(escapeToken(I.val)),deser:([E])=>E,literal:!0}),T=(I=>{if(t.literal)return S(I);switch(I.val){case"G":return oneOf(r.eras("short"),0);case"GG":return oneOf(r.eras("long"),0);case"y":return intUnit(A);case"yy":return intUnit(_,untruncateYear);case"yyyy":return intUnit(d);case"yyyyy":return intUnit(w);case"yyyyyy":return intUnit(g);case"M":return intUnit(v);case"MM":return intUnit(a);case"MMM":return oneOf(r.months("short",!0),1);case"MMMM":return oneOf(r.months("long",!0),1);case"L":return intUnit(v);case"LL":return intUnit(a);case"LLL":return oneOf(r.months("short",!1),1);case"LLLL":return oneOf(r.months("long",!1),1);case"d":return intUnit(v);case"dd":return intUnit(a);case"o":return intUnit(y);case"ooo":return intUnit(u);case"HH":return intUnit(a);case"H":return intUnit(v);case"hh":return intUnit(a);case"h":return intUnit(v);case"mm":return intUnit(a);case"m":return intUnit(v);case"q":return intUnit(v);case"qq":return intUnit(a);case"s":return intUnit(v);case"ss":return intUnit(a);case"S":return intUnit(y);case"SSS":return intUnit(u);case"u":return simple(b);case"uu":return simple(v);case"uuu":return intUnit(o);case"a":return oneOf(r.meridiems(),0);case"kkkk":return intUnit(d);case"kk":return intUnit(_,untruncateYear);case"W":return intUnit(v);case"WW":return intUnit(a);case"E":case"c":return intUnit(o);case"EEE":return oneOf(r.weekdays("short",!1),1);case"EEEE":return oneOf(r.weekdays("long",!1),1);case"ccc":return oneOf(r.weekdays("short",!0),1);case"cccc":return oneOf(r.weekdays("long",!0),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${v.source})(?::(${a.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${v.source})(${a.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return S(I)}})(t)||{invalidReason:MISSING_FTP};return T.token=t,T}const partTypeStyleToTokenVal={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(t,r,o){const{type:a,value:u}=t;if(a==="literal"){const y=/^\s+$/.test(u);return{literal:!y,val:y?" ":u}}const d=r[a];let g=a;a==="hour"&&(r.hour12!=null?g=r.hour12?"hour12":"hour24":r.hourCycle!=null?r.hourCycle==="h11"||r.hourCycle==="h12"?g="hour12":g="hour24":g=o.hour12?"hour12":"hour24");let v=partTypeStyleToTokenVal[g];if(typeof v=="object"&&(v=v[d]),v)return{literal:!1,val:v}}function buildRegex(t){return[`^${t.map(o=>o.regex).reduce((o,a)=>`${o}(${a.source})`,"")}$`,t]}function match(t,r,o){const a=t.match(r);if(a){const u={};let d=1;for(const g in o)if(hasOwnProperty$1(o,g)){const v=o[g],y=v.groups?v.groups+1:1;!v.literal&&v.token&&(u[v.token.val[0]]=v.deser(a.slice(d,d+y))),d+=y}return[a,u]}else return[a,{}]}function dateTimeFromMatches(t){const r=d=>{switch(d){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let o=null,a;return isUndefined(t.z)||(o=IANAZone.create(t.z)),isUndefined(t.Z)||(o||(o=new FixedOffsetZone(t.Z)),a=t.Z),isUndefined(t.q)||(t.M=(t.q-1)*3+1),isUndefined(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),isUndefined(t.u)||(t.S=parseMillis(t.u)),[Object.keys(t).reduce((d,g)=>{const v=r(g);return v&&(d[v]=t[g]),d},{}),o,a]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime$2.fromMillis(1555555555555)),dummyDateTimeCache}function maybeExpandMacroToken(t,r){if(t.literal)return t;const o=Formatter.macroTokenToFormatOpts(t.val),a=formatOptsToTokens(o,r);return a==null||a.includes(void 0)?t:a}function expandMacroTokens(t,r){return Array.prototype.concat(...t.map(o=>maybeExpandMacroToken(o,r)))}class TokenParser{constructor(r,o){if(this.locale=r,this.format=o,this.tokens=expandMacroTokens(Formatter.parseFormat(o),r),this.units=this.tokens.map(a=>unitForToken(a,r)),this.disqualifyingUnit=this.units.find(a=>a.invalidReason),!this.disqualifyingUnit){const[a,u]=buildRegex(this.units);this.regex=RegExp(a,"i"),this.handlers=u}}explainFromTokens(r){if(this.isValid){const[o,a]=match(r,this.regex,this.handlers),[u,d,g]=a?dateTimeFromMatches(a):[null,null,void 0];if(hasOwnProperty$1(a,"a")&&hasOwnProperty$1(a,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:r,tokens:this.tokens,regex:this.regex,rawMatches:o,matches:a,result:u,zone:d,specificOffset:g}}else return{input:r,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function explainFromTokens(t,r,o){return new TokenParser(t,o).explainFromTokens(r)}function parseFromTokens(t,r,o){const{result:a,zone:u,specificOffset:d,invalidReason:g}=explainFromTokens(t,r,o);return[a,u,d,g]}function formatOptsToTokens(t,r){if(!t)return null;const a=Formatter.create(r,t).dtFormatter(getDummyDateTime()),u=a.formatToParts(),d=a.resolvedOptions();return u.map(g=>tokenForPart(g,t,d))}const INVALID="Invalid DateTime",MAX_DATE=864e13;function unsupportedZone(t){return new Invalid("unsupported zone",`the zone "${t.name}" is not supported`)}function possiblyCachedWeekData(t){return t.weekData===null&&(t.weekData=gregorianToWeek(t.c)),t.weekData}function possiblyCachedLocalWeekData(t){return t.localWeekData===null&&(t.localWeekData=gregorianToWeek(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function clone$2(t,r){const o={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new DateTime$2({...o,...r,old:o})}function fixOffset(t,r,o){let a=t-r*60*1e3;const u=o.offset(a);if(r===u)return[a,r];a-=(u-r)*60*1e3;const d=o.offset(a);return u===d?[a,u]:[t-Math.min(u,d)*60*1e3,Math.max(u,d)]}function tsToObj(t,r){t+=r*60*1e3;const o=new Date(t);return{year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate(),hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds()}}function objToTS(t,r,o){return fixOffset(objToLocalTS(t),r,o)}function adjustTime(t,r){const o=t.o,a=t.c.year+Math.trunc(r.years),u=t.c.month+Math.trunc(r.months)+Math.trunc(r.quarters)*3,d={...t.c,year:a,month:u,day:Math.min(t.c.day,daysInMonth(a,u))+Math.trunc(r.days)+Math.trunc(r.weeks)*7},g=Duration.fromObject({years:r.years-Math.trunc(r.years),quarters:r.quarters-Math.trunc(r.quarters),months:r.months-Math.trunc(r.months),weeks:r.weeks-Math.trunc(r.weeks),days:r.days-Math.trunc(r.days),hours:r.hours,minutes:r.minutes,seconds:r.seconds,milliseconds:r.milliseconds}).as("milliseconds"),v=objToLocalTS(d);let[y,A]=fixOffset(v,o,t.zone);return g!==0&&(y+=g,A=t.zone.offset(y)),{ts:y,o:A}}function parseDataToDateTime(t,r,o,a,u,d){const{setZone:g,zone:v}=o;if(t&&Object.keys(t).length!==0||r){const y=r||v,A=DateTime$2.fromObject(t,{...o,zone:y,specificOffset:d});return g?A:A.setZone(v)}else return DateTime$2.invalid(new Invalid("unparsable",`the input "${u}" can't be parsed as ${a}`))}function toTechFormat(t,r,o=!0){return t.isValid?Formatter.create(Locale.create("en-US"),{allowZ:o,forceSimple:!0}).formatDateTimeFromString(t,r):null}function toISODate(t,r){const o=t.c.year>9999||t.c.year<0;let a="";return o&&t.c.year>=0&&(a+="+"),a+=padStart(t.c.year,o?6:4),r?(a+="-",a+=padStart(t.c.month),a+="-",a+=padStart(t.c.day)):(a+=padStart(t.c.month),a+=padStart(t.c.day)),a}function toISOTime(t,r,o,a,u,d){let g=padStart(t.c.hour);return r?(g+=":",g+=padStart(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!o)&&(g+=":")):g+=padStart(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!o)&&(g+=padStart(t.c.second),(t.c.millisecond!==0||!a)&&(g+=".",g+=padStart(t.c.millisecond,3))),u&&(t.isOffsetFixed&&t.offset===0&&!d?g+="Z":t.o<0?(g+="-",g+=padStart(Math.trunc(-t.o/60)),g+=":",g+=padStart(Math.trunc(-t.o%60))):(g+="+",g+=padStart(Math.trunc(t.o/60)),g+=":",g+=padStart(Math.trunc(t.o%60)))),d&&(g+="["+t.zone.ianaName+"]"),g}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(t){const r={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!r)throw new InvalidUnitError(t);return r}function normalizeUnitWithLocalWeeks(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(t)}}function guessOffsetForZone(t){return zoneOffsetGuessCache[t]||(zoneOffsetTs===void 0&&(zoneOffsetTs=Settings.now()),zoneOffsetGuessCache[t]=t.offset(zoneOffsetTs)),zoneOffsetGuessCache[t]}function quickDT(t,r){const o=normalizeZone(r.zone,Settings.defaultZone);if(!o.isValid)return DateTime$2.invalid(unsupportedZone(o));const a=Locale.fromObject(r);let u,d;if(isUndefined(t.year))u=Settings.now();else{for(const y of orderedUnits)isUndefined(t[y])&&(t[y]=defaultUnitValues[y]);const g=hasInvalidGregorianData(t)||hasInvalidTimeData(t);if(g)return DateTime$2.invalid(g);const v=guessOffsetForZone(o);[u,d]=objToTS(t,v,o)}return new DateTime$2({ts:u,zone:o,loc:a,o:d})}function diffRelative(t,r,o){const a=isUndefined(o.round)?!0:o.round,u=(g,v)=>(g=roundTo(g,a||o.calendary?0:2,!0),r.loc.clone(o).relFormatter(o).format(g,v)),d=g=>o.calendary?r.hasSame(t,g)?0:r.startOf(g).diff(t.startOf(g),g).get(g):r.diff(t,g).get(g);if(o.unit)return u(d(o.unit),o.unit);for(const g of o.units){const v=d(g);if(Math.abs(v)>=1)return u(v,g)}return u(t>r?-0:0,o.units[o.units.length-1])}function lastOpts(t){let r={},o;return t.length>0&&typeof t[t.length-1]=="object"?(r=t[t.length-1],o=Array.from(t).slice(0,t.length-1)):o=Array.from(t),[r,o]}let zoneOffsetTs,zoneOffsetGuessCache={};class DateTime$2{constructor(r){const o=r.zone||Settings.defaultZone;let a=r.invalid||(Number.isNaN(r.ts)?new Invalid("invalid input"):null)||(o.isValid?null:unsupportedZone(o));this.ts=isUndefined(r.ts)?Settings.now():r.ts;let u=null,d=null;if(!a)if(r.old&&r.old.ts===this.ts&&r.old.zone.equals(o))[u,d]=[r.old.c,r.old.o];else{const v=isNumber(r.o)&&!r.old?r.o:o.offset(this.ts);u=tsToObj(this.ts,v),a=Number.isNaN(u.year)?new Invalid("invalid input"):null,u=a?null:u,d=a?null:v}this._zone=o,this.loc=r.loc||Locale.create(),this.invalid=a,this.weekData=null,this.localWeekData=null,this.c=u,this.o=d,this.isLuxonDateTime=!0}static now(){return new DateTime$2({})}static local(){const[r,o]=lastOpts(arguments),[a,u,d,g,v,y,A]=o;return quickDT({year:a,month:u,day:d,hour:g,minute:v,second:y,millisecond:A},r)}static utc(){const[r,o]=lastOpts(arguments),[a,u,d,g,v,y,A]=o;return r.zone=FixedOffsetZone.utcInstance,quickDT({year:a,month:u,day:d,hour:g,minute:v,second:y,millisecond:A},r)}static fromJSDate(r,o={}){const a=isDate(r)?r.valueOf():NaN;if(Number.isNaN(a))return DateTime$2.invalid("invalid input");const u=normalizeZone(o.zone,Settings.defaultZone);return u.isValid?new DateTime$2({ts:a,zone:u,loc:Locale.fromObject(o)}):DateTime$2.invalid(unsupportedZone(u))}static fromMillis(r,o={}){if(isNumber(r))return r<-MAX_DATE||r>MAX_DATE?DateTime$2.invalid("Timestamp out of range"):new DateTime$2({ts:r,zone:normalizeZone(o.zone,Settings.defaultZone),loc:Locale.fromObject(o)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof r} with value ${r}`)}static fromSeconds(r,o={}){if(isNumber(r))return new DateTime$2({ts:r*1e3,zone:normalizeZone(o.zone,Settings.defaultZone),loc:Locale.fromObject(o)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(r,o={}){r=r||{};const a=normalizeZone(o.zone,Settings.defaultZone);if(!a.isValid)return DateTime$2.invalid(unsupportedZone(a));const u=Locale.fromObject(o),d=normalizeObject(r,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:g,startOfWeek:v}=usesLocalWeekValues(d,u),y=Settings.now(),A=isUndefined(o.specificOffset)?a.offset(y):o.specificOffset,b=!isUndefined(d.ordinal),_=!isUndefined(d.year),w=!isUndefined(d.month)||!isUndefined(d.day),S=_||w,C=d.weekYear||d.weekNumber;if((S||b)&&C)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(w&&b)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const T=C||d.weekday&&!S;let I,E,F=tsToObj(y,A);T?(I=orderedWeekUnits,E=defaultWeekUnitValues,F=gregorianToWeek(F,g,v)):b?(I=orderedOrdinalUnits,E=defaultOrdinalUnitValues,F=gregorianToOrdinal(F)):(I=orderedUnits,E=defaultUnitValues);let O=!1;for(const V of I){const Y=d[V];isUndefined(Y)?O?d[V]=E[V]:d[V]=F[V]:O=!0}const D=T?hasInvalidWeekData(d,g,v):b?hasInvalidOrdinalData(d):hasInvalidGregorianData(d),x=D||hasInvalidTimeData(d);if(x)return DateTime$2.invalid(x);const P=T?weekToGregorian(d,g,v):b?ordinalToGregorian(d):d,[G,M]=objToTS(P,A,a),N=new DateTime$2({ts:G,zone:a,o:M,loc:u});return d.weekday&&S&&r.weekday!==N.weekday?DateTime$2.invalid("mismatched weekday",`you can't specify both a weekday of ${d.weekday} and a date of ${N.toISO()}`):N.isValid?N:DateTime$2.invalid(N.invalid)}static fromISO(r,o={}){const[a,u]=parseISODate(r);return parseDataToDateTime(a,u,o,"ISO 8601",r)}static fromRFC2822(r,o={}){const[a,u]=parseRFC2822Date(r);return parseDataToDateTime(a,u,o,"RFC 2822",r)}static fromHTTP(r,o={}){const[a,u]=parseHTTPDate(r);return parseDataToDateTime(a,u,o,"HTTP",o)}static fromFormat(r,o,a={}){if(isUndefined(r)||isUndefined(o))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0}),[v,y,A,b]=parseFromTokens(g,r,o);return b?DateTime$2.invalid(b):parseDataToDateTime(v,y,a,`format ${o}`,r,A)}static fromString(r,o,a={}){return DateTime$2.fromFormat(r,o,a)}static fromSQL(r,o={}){const[a,u]=parseSQL(r);return parseDataToDateTime(a,u,o,"SQL",r)}static invalid(r,o=null){if(!r)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const a=r instanceof Invalid?r:new Invalid(r,o);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(a);return new DateTime$2({invalid:a})}static isDateTime(r){return r&&r.isLuxonDateTime||!1}static parseFormatForOpts(r,o={}){const a=formatOptsToTokens(r,Locale.fromObject(o));return a?a.map(u=>u?u.val:null).join(""):null}static expandFormat(r,o={}){return expandMacroTokens(Formatter.parseFormat(r),Locale.fromObject(o)).map(u=>u.val).join("")}static resetCache(){zoneOffsetTs=void 0,zoneOffsetGuessCache={}}get(r){return this[r]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const r=864e5,o=6e4,a=objToLocalTS(this.c),u=this.zone.offset(a-r),d=this.zone.offset(a+r),g=this.zone.offset(a-u*o),v=this.zone.offset(a-d*o);if(g===v)return[this];const y=a-g*o,A=a-v*o,b=tsToObj(y,g),_=tsToObj(A,v);return b.hour===_.hour&&b.minute===_.minute&&b.second===_.second&&b.millisecond===_.millisecond?[clone$2(this,{ts:y}),clone$2(this,{ts:A})]:[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(r={}){const{locale:o,numberingSystem:a,calendar:u}=Formatter.create(this.loc.clone(r),r).resolvedOptions(this);return{locale:o,numberingSystem:a,outputCalendar:u}}toUTC(r=0,o={}){return this.setZone(FixedOffsetZone.instance(r),o)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(r,{keepLocalTime:o=!1,keepCalendarTime:a=!1}={}){if(r=normalizeZone(r,Settings.defaultZone),r.equals(this.zone))return this;if(r.isValid){let u=this.ts;if(o||a){const d=r.offset(this.ts),g=this.toObject();[u]=objToTS(g,d,r)}return clone$2(this,{ts:u,zone:r})}else return DateTime$2.invalid(unsupportedZone(r))}reconfigure({locale:r,numberingSystem:o,outputCalendar:a}={}){const u=this.loc.clone({locale:r,numberingSystem:o,outputCalendar:a});return clone$2(this,{loc:u})}setLocale(r){return this.reconfigure({locale:r})}set(r){if(!this.isValid)return this;const o=normalizeObject(r,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:a,startOfWeek:u}=usesLocalWeekValues(o,this.loc),d=!isUndefined(o.weekYear)||!isUndefined(o.weekNumber)||!isUndefined(o.weekday),g=!isUndefined(o.ordinal),v=!isUndefined(o.year),y=!isUndefined(o.month)||!isUndefined(o.day),A=v||y,b=o.weekYear||o.weekNumber;if((A||g)&&b)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(y&&g)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let _;d?_=weekToGregorian({...gregorianToWeek(this.c,a,u),...o},a,u):isUndefined(o.ordinal)?(_={...this.toObject(),...o},isUndefined(o.day)&&(_.day=Math.min(daysInMonth(_.year,_.month),_.day))):_=ordinalToGregorian({...gregorianToOrdinal(this.c),...o});const[w,S]=objToTS(_,this.o,this.zone);return clone$2(this,{ts:w,o:S})}plus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r);return clone$2(this,adjustTime(this,o))}minus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r).negate();return clone$2(this,adjustTime(this,o))}startOf(r,{useLocaleWeeks:o=!1}={}){if(!this.isValid)return this;const a={},u=Duration.normalizeUnit(r);switch(u){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(u==="weeks")if(o){const d=this.loc.getStartOfWeek(),{weekday:g}=this;gthis.valueOf(),v=g?this:r,y=g?r:this,A=diff(v,y,d,u);return g?A.negate():A}diffNow(r="milliseconds",o={}){return this.diff(DateTime$2.now(),r,o)}until(r){return this.isValid?Interval.fromDateTimes(this,r):this}hasSame(r,o,a){if(!this.isValid)return!1;const u=r.valueOf(),d=this.setZone(r.zone,{keepLocalTime:!0});return d.startOf(o,a)<=u&&u<=d.endOf(o,a)}equals(r){return this.isValid&&r.isValid&&this.valueOf()===r.valueOf()&&this.zone.equals(r.zone)&&this.loc.equals(r.loc)}toRelative(r={}){if(!this.isValid)return null;const o=r.base||DateTime$2.fromObject({},{zone:this.zone}),a=r.padding?thiso.valueOf(),Math.min)}static max(...r){if(!r.every(DateTime$2.isDateTime))throw new InvalidArgumentError("max requires all arguments be DateTimes");return bestBy(r,o=>o.valueOf(),Math.max)}static fromFormatExplain(r,o,a={}){const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0});return explainFromTokens(g,r,o)}static fromStringExplain(r,o,a={}){return DateTime$2.fromFormatExplain(r,o,a)}static buildFormatParser(r,o={}){const{locale:a=null,numberingSystem:u=null}=o,d=Locale.fromOpts({locale:a,numberingSystem:u,defaultToEN:!0});return new TokenParser(d,r)}static fromFormatParser(r,o,a={}){if(isUndefined(r)||isUndefined(o))throw new InvalidArgumentError("fromFormatParser requires an input string and a format parser");const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0});if(!g.equals(o.locale))throw new InvalidArgumentError(`fromFormatParser called with a locale of ${g}, but the format parser was created for ${o.locale}`);const{result:v,zone:y,specificOffset:A,invalidReason:b}=o.explainFromTokens(r);return b?DateTime$2.invalid(b):parseDataToDateTime(v,y,a,`format ${o.format}`,r,A)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}}function friendlyDateTime(t){if(DateTime$2.isDateTime(t))return t;if(t&&t.valueOf&&isNumber(t.valueOf()))return DateTime$2.fromJSDate(t);if(t&&typeof t=="object")return DateTime$2.fromObject(t);throw new InvalidArgumentError(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const VERSION="3.5.0";luxon$1.DateTime=DateTime$2;luxon$1.Duration=Duration;luxon$1.FixedOffsetZone=FixedOffsetZone;luxon$1.IANAZone=IANAZone;luxon$1.Info=Info;luxon$1.Interval=Interval;luxon$1.InvalidZone=InvalidZone;luxon$1.Settings=Settings;luxon$1.SystemZone=SystemZone;luxon$1.VERSION=VERSION;luxon$1.Zone=Zone;var luxon=luxon$1;CronDate$3.prototype.addYear=function(){this._date=this._date.plus({years:1})};CronDate$3.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")};CronDate$3.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")};CronDate$3.prototype.addHour=function(){var t=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=t&&(this._date=this._date.plus({hours:1}))};CronDate$3.prototype.addMinute=function(){var t=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.subtractMinute=function(){var t=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.subtractSecond=function(){var t=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.getDate=function(){return this._date.day};CronDate$3.prototype.getFullYear=function(){return this._date.year};CronDate$3.prototype.getDay=function(){var t=this._date.weekday;return t==7?0:t};CronDate$3.prototype.getMonth=function(){return this._date.month-1};CronDate$3.prototype.getHours=function(){return this._date.hour};CronDate$3.prototype.getMinutes=function(){return this._date.minute};CronDate$3.prototype.getSeconds=function(){return this._date.second};CronDate$3.prototype.getMilliseconds=function(){return this._date.millisecond};CronDate$3.prototype.getTime=function(){return this._date.valueOf()};CronDate$3.prototype.getUTCDate=function(){return this._getUTC().day};CronDate$3.prototype.getUTCFullYear=function(){return this._getUTC().year};CronDate$3.prototype.getUTCDay=function(){var t=this._getUTC().weekday;return t==7?0:t};CronDate$3.prototype.getUTCMonth=function(){return this._getUTC().month-1};CronDate$3.prototype.getUTCHours=function(){return this._getUTC().hour};CronDate$3.prototype.getUTCMinutes=function(){return this._getUTC().minute};CronDate$3.prototype.getUTCSeconds=function(){return this._getUTC().second};CronDate$3.prototype.toISOString=function(){return this._date.toUTC().toISO()};CronDate$3.prototype.toJSON=function(){return this._date.toJSON()};CronDate$3.prototype.setDate=function(t){this._date=this._date.set({day:t})};CronDate$3.prototype.setFullYear=function(t){this._date=this._date.set({year:t})};CronDate$3.prototype.setDay=function(t){this._date=this._date.set({weekday:t})};CronDate$3.prototype.setMonth=function(t){this._date=this._date.set({month:t+1})};CronDate$3.prototype.setHours=function(t){this._date=this._date.set({hour:t})};CronDate$3.prototype.setMinutes=function(t){this._date=this._date.set({minute:t})};CronDate$3.prototype.setSeconds=function(t){this._date=this._date.set({second:t})};CronDate$3.prototype.setMilliseconds=function(t){this._date=this._date.set({millisecond:t})};CronDate$3.prototype._getUTC=function(){return this._date.toUTC()};CronDate$3.prototype.toString=function(){return this.toDate().toString()};CronDate$3.prototype.toDate=function(){return this._date.toJSDate()};CronDate$3.prototype.isLastDayOfMonth=function(){var t=this._date.plus({days:1}).startOf("day");return this._date.month!==t.month};CronDate$3.prototype.isLastWeekdayOfMonth=function(){var t=this._date.plus({days:7}).startOf("day");return this._date.month!==t.month};function CronDate$3(t,r){var o={zone:r};if(t?t instanceof CronDate$3?this._date=t._date:t instanceof Date?this._date=luxon.DateTime.fromJSDate(t,o):typeof t=="number"?this._date=luxon.DateTime.fromMillis(t,o):typeof t=="string"&&(this._date=luxon.DateTime.fromISO(t,o),this._date.isValid||(this._date=luxon.DateTime.fromRFC2822(t,o)),this._date.isValid||(this._date=luxon.DateTime.fromSQL(t,o)),this._date.isValid||(this._date=luxon.DateTime.fromFormat(t,"EEE, d MMM yyyy HH:mm:ss",o))):this._date=luxon.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(t));r&&r!==this._date.zoneName&&(this._date=this._date.setZone(r))}var date=CronDate$3;function buildRange(t){return{start:t,count:1}}function completeRangeWithItem(t,r){t.end=r,t.step=r-t.start,t.count=2}function finalizeCurrentRange(t,r,o){r&&(r.count===2?(t.push(buildRange(r.start)),t.push(buildRange(r.end))):t.push(r)),o&&t.push(o)}function compactField$1(t){for(var r=[],o=void 0,a=0;aA.end?g=g.concat(Array.from({length:A.end-A.start+1}).map(function(w,S){var C=A.start+S;return(C-A.start)%A.step===0?C:null}).filter(function(w){return w!=null})):A.end===o-A.step+1?g.push(A.start+"/"+A.step):g.push(A.start+"-"+A.end+"/"+A.step)}return g.join(",")}var field_stringify=stringifyField$1,CronDate$2=date,stringifyField=field_stringify,LOOP_LIMIT=1e4;function CronExpression$1(t,r){this._options=r,this._utc=r.utc||!1,this._tz=this._utc?"UTC":r.tz,this._currentDate=new CronDate$2(r.currentDate,this._tz),this._startDate=r.startDate?new CronDate$2(r.startDate,this._tz):null,this._endDate=r.endDate?new CronDate$2(r.endDate,this._tz):null,this._isIterator=r.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=r.nthDayOfWeek||0,this.fields=CronExpression$1._freezeFields(t)}CronExpression$1.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"];CronExpression$1.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"};CronExpression$1.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}];CronExpression$1.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31];CronExpression$1.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}};CronExpression$1.parseDefaults=["0","*","*","*","*","*"];CronExpression$1.standardValidCharacters=/^[,*\d/-]+$/;CronExpression$1.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/;CronExpression$1.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/;CronExpression$1.validCharacters={second:CronExpression$1.standardValidCharacters,minute:CronExpression$1.standardValidCharacters,hour:CronExpression$1.standardValidCharacters,dayOfMonth:CronExpression$1.dayOfMonthValidCharacters,month:CronExpression$1.standardValidCharacters,dayOfWeek:CronExpression$1.dayOfWeekValidCharacters};CronExpression$1._isValidConstraintChar=function t(r,o){return typeof o!="string"?!1:r.chars.some(function(a){return o.indexOf(a)>-1})};CronExpression$1._parseField=function t(r,o,a){switch(r){case"month":case"dayOfWeek":var u=CronExpression$1.aliases[r];o=o.replace(/[a-z]{3}/gi,function(y){if(y=y.toLowerCase(),typeof u[y]!="undefined")return u[y];throw new Error('Validation error, cannot resolve alias "'+y+'"')});break}if(!CronExpression$1.validCharacters[r].test(o))throw new Error("Invalid characters, got value: "+o);o.indexOf("*")!==-1?o=o.replace(/\*/g,a.min+"-"+a.max):o.indexOf("?")!==-1&&(o=o.replace(/\?/g,a.min+"-"+a.max));function d(y){var A=[];function b(C){if(C instanceof Array)for(var T=0,I=C.length;Ta.max)throw new Error("Constraint error, got value "+E+" expected range "+a.min+"-"+a.max);A.push(E)}else{if(CronExpression$1._isValidConstraintChar(a,C)){A.push(C);return}var F=+C;if(Number.isNaN(F)||Fa.max)throw new Error("Constraint error, got value "+C+" expected range "+a.min+"-"+a.max);r==="dayOfWeek"&&(F=F%7),A.push(F)}}var _=y.split(",");if(!_.every(function(C){return C.length>0}))throw new Error("Invalid list value format");if(_.length>1)for(var w=0,S=_.length;w2)throw new Error("Invalid repeat: "+y);return b.length>1?(b[0]==+b[0]&&(b=[b[0]+"-"+a.max,b[1]]),v(b[0],b[b.length-1])):v(y,A)}function v(y,A){var b=[],_=y.split("-");if(_.length>1){if(_.length<2)return+y;if(!_[0].length){if(!_[1].length)throw new Error("Invalid range: "+y);return+y}var w=+_[0],S=+_[1];if(Number.isNaN(w)||Number.isNaN(S)||wa.max)throw new Error("Constraint error, got range "+w+"-"+S+" expected range "+a.min+"-"+a.max);if(w>S)throw new Error("Invalid range: "+y);var C=+A;if(Number.isNaN(C)||C<=0)throw new Error("Constraint error, cannot repeat at every "+C+" time.");r==="dayOfWeek"&&S%7===0&&b.push(0);for(var T=w,I=S;T<=I;T++){var E=b.indexOf(T)!==-1;!E&&C>0&&C%A===0?(C=1,b.push(T)):C++}return b}return Number.isNaN(+y)?y:+y}return d(o)};CronExpression$1._sortCompareFn=function(t,r){var o=typeof t=="number",a=typeof r=="number";return o&&a?t-r:!o&&a?1:o&&!a?-1:t.localeCompare(r)};CronExpression$1._handleMaxDaysInMonth=function(t){if(t.month.length===1){var r=CronExpression$1.daysInMonth[t.month[0]-1];if(t.dayOfMonth[0]>r)throw new Error("Invalid explicit day of month definition");return t.dayOfMonth.filter(function(o){return o==="L"?!0:o<=r}).sort(CronExpression$1._sortCompareFn)}};CronExpression$1._freezeFields=function(t){for(var r=0,o=CronExpression$1.map.length;r=E)return F[O]===E;return F[0]===E}function a(E,F){if(F<6){if(E.getDate()<8&&F===1)return!0;var O=E.getDate()%7?1:0,D=E.getDate()-E.getDate()%7,x=Math.floor(D/7)+O;return x===F}return!1}function u(E){return E.length>0&&E.some(function(F){return typeof F=="string"&&F.indexOf("L")>=0})}r=r||!1;var d=r?"subtract":"add",g=new CronDate$2(this._currentDate,this._tz),v=this._startDate,y=this._endDate,A=g.getTime(),b=0;function _(E){return E.some(function(F){if(!u([F]))return!1;var O=Number.parseInt(F[0])%7;if(Number.isNaN(O))throw new Error("Invalid last weekday of the month expression: "+F);return g.getDay()===O&&g.isLastWeekdayOfMonth()})}for(;b=CronExpression$1.daysInMonth[g.getMonth()],T=this.fields.dayOfWeek.length===CronExpression$1.constraints[5].max-CronExpression$1.constraints[5].min+1,I=g.getHours();if(!w&&(!S||T)){this._applyTimezoneShift(g,d,"Day");continue}if(!C&&T&&!w){this._applyTimezoneShift(g,d,"Day");continue}if(C&&!T&&!S){this._applyTimezoneShift(g,d,"Day");continue}if(this._nthDayOfWeek>0&&!a(g,this._nthDayOfWeek)){this._applyTimezoneShift(g,d,"Day");continue}if(!o(g.getMonth()+1,this.fields.month)){this._applyTimezoneShift(g,d,"Month");continue}if(o(I,this.fields.hour)){if(this._dstEnd===I&&!r){this._dstEnd=null,this._applyTimezoneShift(g,"add","Hour");continue}}else if(this._dstStart!==I){this._dstStart=null,this._applyTimezoneShift(g,d,"Hour");continue}else if(!o(I-1,this.fields.hour)){g[d+"Hour"]();continue}if(!o(g.getMinutes(),this.fields.minute)){this._applyTimezoneShift(g,d,"Minute");continue}if(!o(g.getSeconds(),this.fields.second)){this._applyTimezoneShift(g,d,"Second");continue}if(A===g.getTime()){d==="add"||g.getMilliseconds()===0?this._applyTimezoneShift(g,d,"Second"):g.setMilliseconds(0);continue}break}if(b>=LOOP_LIMIT)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new CronDate$2(g,this._tz),this._hasIterated=!0,g};CronExpression$1.prototype.next=function t(){var r=this._findSchedule();return this._isIterator?{value:r,done:!this.hasNext()}:r};CronExpression$1.prototype.prev=function t(){var r=this._findSchedule(!0);return this._isIterator?{value:r,done:!this.hasPrev()}:r};CronExpression$1.prototype.hasNext=function(){var t=this._currentDate,r=this._hasIterated;try{return this._findSchedule(),!0}catch(o){return!1}finally{this._currentDate=t,this._hasIterated=r}};CronExpression$1.prototype.hasPrev=function(){var t=this._currentDate,r=this._hasIterated;try{return this._findSchedule(!0),!0}catch(o){return!1}finally{this._currentDate=t,this._hasIterated=r}};CronExpression$1.prototype.iterate=function t(r,o){var a=[];if(r>=0)for(var u=0,d=r;ud;u--)try{var g=this.prev();a.push(g),o&&o(g,u)}catch(A){break}return a};CronExpression$1.prototype.reset=function t(r){this._currentDate=new CronDate$2(r||this._options.currentDate)};CronExpression$1.prototype.stringify=function t(r){for(var o=[],a=r?0:1,u=CronExpression$1.map.length;a6)throw new Error("Invalid cron expression");for(var A=CronExpression$1.map.length-y.length,b=0,_=CronExpression$1.map.length;b<_;++b){var w=CronExpression$1.map[b],S=y[y.length>_?b:b-A];if(b1){var x=+D[D.length-1];if(/,/.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(D.length>2||Number.isNaN(x)||x<1||x>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return g.nthDayOfWeek=x,D[0]}return O}}return u(r,o)};CronExpression$1.fieldsToExpression=function t(r,o){function a(w,S,C){if(!S)throw new Error("Validation error, Field "+w+" is missing");if(S.length===0)throw new Error("Validation error, Field "+w+" contains no values");for(var T=0,I=S.length;TC.max))throw new Error("Constraint error, got value "+E+" expected range "+C.min+"-"+C.max)}}for(var u={},d=0,g=CronExpression$1.map.length;d6)return{interval:CronExpression.parse(o.slice(0,6).join(" ")),command:o.slice(6,o.length)};throw new Error("Invalid entry: "+r)};CronParser.parseExpression=function t(r,o){return CronExpression.parse(r,o)};CronParser.fieldsToExpression=function t(r,o){return CronExpression.fieldsToExpression(r,o)};CronParser.parseString=function t(r){for(var o=r.split(` -`),a={variables:{},expressions:[],errors:{}},u=0,d=o.length;u0){if(y.match(/^#/))continue;if(v=y.match(/^(.*)=(.*)$/))a.variables[v[1]]=v[2];else{var A=null;try{A=CronParser._parseEntry("0 "+y),a.expressions.push(A.interval)}catch(b){a.errors[y]=b}}}}return a};CronParser.parseFile=function t(r,o){require$$1.readFile(r,function(a,u){if(a){o(a);return}return o(null,CronParser.parseString(u.toString()))})};var parser=CronParser,sortedArrayFunctions={};sortedArrayFunctions.add=add;sortedArrayFunctions.addFromFront=addFromFront;sortedArrayFunctions.remove=remove;sortedArrayFunctions.has=has$2;sortedArrayFunctions.eq=eq;sortedArrayFunctions.lte=lte;sortedArrayFunctions.lt=lt$1;sortedArrayFunctions.gte=gte;sortedArrayFunctions.gt=gt;sortedArrayFunctions.nearest=nearest;function defaultCmp(t,r){return t===r?0:t=0;a--){var u=o(t[a],r);if(u<=0)return a}return-1}function lt$1(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a>=0;a--){var u=o(t[a],r);if(u<0)return a}return-1}function gte(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a=0)return a}return-1}function gt(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a0)return a}return-1}function eq(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);return a===-1?-1:o(t[a],r)===0?a:-1}function nearest(t,r,o){o||(o=defaultCmp);for(var a=t.length,u=a-1,d=0,g=-1,v=1;u>=d&&d>=0&&u=0){if(v===1)v=0;else if(v===2)return Math.abs(t[g]-r)>Math.abs(t[g-1]-r)?g-1:g;u=g-1}else{if(v===1)v=2;else if(v===0)return g;d=g+1}}return g}function indexOf(t,r,o){o||(o=defaultCmp);for(var a=t.length,u=a-1,d=0,g=-1;u>=d&&d>=0&&u=0?u=g-1:d=g+1}return g}function has$2(t,r,o){return eq(t,r,o)>-1}function remove(t,r,o){var a=eq(t,r,o);return a===-1?!1:(t.splice(a,1),!0)}var longTimeout={};(function(t){var r=2147483647;t.setTimeout=function(u,d){return new o(u,d)},t.setInterval=function(u,d){return new a(u,d)},t.clearTimeout=function(u){u&&u.close()},t.clearInterval=t.clearTimeout,t.Timeout=o,t.Interval=a;function o(u,d){this.listener=u,this.after=d,this.unreffed=!1,this.start()}o.prototype.unref=function(){this.unreffed||(this.unreffed=!0,this.timeout.unref())},o.prototype.ref=function(){this.unreffed&&(this.unreffed=!1,this.timeout.ref())},o.prototype.start=function(){if(this.after<=r)this.timeout=setTimeout(this.listener,this.after);else{var u=this;this.timeout=setTimeout(function(){u.after-=r,u.start()},r)}this.unreffed&&this.timeout.unref()},o.prototype.close=function(){clearTimeout(this.timeout)};function a(u,d){this.listener=u,this.after=this.timeLeft=d,this.unreffed=!1,this.start()}a.prototype.unref=function(){this.unreffed||(this.unreffed=!0,this.timeout.unref())},a.prototype.ref=function(){this.unreffed&&(this.unreffed=!1,this.timeout.ref())},a.prototype.start=function(){var u=this;this.timeLeft<=r?this.timeout=setTimeout(function(){u.listener(),u.timeLeft=u.after,u.start()},this.timeLeft):this.timeout=setTimeout(function(){u.timeLeft-=r,u.start()},r),this.unreffed&&this.timeout.unref()},a.prototype.close=function(){o.prototype.close.apply(this,arguments)}})(longTimeout);const lt=longTimeout,CronDate$1=date,sorted$1=sortedArrayFunctions,invocations=[];let currentInvocation=null;const DoesntRecur=new RecurrenceRule$2;DoesntRecur.recurs=!1;function Invocation$2(t,r,o,a){this.job=t,this.fireDate=r,this.endDate=a,this.recurrenceRule=o||DoesntRecur,this.timerID=null}function sorter$1(t,r){return t.fireDate.getTime()-r.fireDate.getTime()}function Range$1(t,r,o){this.start=t||0,this.end=r||60,this.step=o||1}Range$1.prototype.contains=function(t){if(this.step===null||this.step===1)return t>=this.start&&t<=this.end;for(let r=this.start;r11||!t(this.month))||this.dayOfWeek!==null&&(this.dayOfWeek<0||this.dayOfWeek>6||!t(this.dayOfWeek))||this.hour!==null&&(this.hour<0||this.hour>23||!t(this.hour))||this.minute!==null&&(this.minute<0||this.minute>59||!t(this.minute))||this.second!==null&&(this.second<0||this.second>59||!t(this.second)))return!1;if(this.date!==null){if(!t(this.date))return!1;switch(this.month){case 3:case 5:case 8:case 10:if(this.date<1||this.date>30)return!1;break;case 1:if(this.date<1||this.date>29)return!1;break;default:if(this.date<1||this.date>31)return!1}}return!0};RecurrenceRule$2.prototype.nextInvocationDate=function(t){const r=this._nextInvocationDate(t);return r?r.toDate():null};RecurrenceRule$2.prototype._nextInvocationDate=function(t){if(t=t instanceof CronDate$1||t instanceof Date?t:new Date,!this.recurs||!this.isValid())return null;let o=new CronDate$1(Date.now(),this.tz).getFullYear();if(this.year!==null&&typeof this.year=="number"&&this.yearDate.now()?runOnDate(t,r):r()},a0&¤tInvocation!==invocations[0]){currentInvocation!==null&&(lt.clearTimeout(currentInvocation.timerID),currentInvocation.timerID=null,currentInvocation=null),currentInvocation=invocations[0];const t=currentInvocation.job,r=currentInvocation;currentInvocation.timerID=runOnDate(currentInvocation.fireDate,function(){if(currentInvocationFinished(),t.callback&&t.callback(),r.recurrenceRule.recurs||r.recurrenceRule._endDate===null){const o=scheduleNextRecurrence$1(r.recurrenceRule,r.job,r.fireDate,r.endDate);o!==null&&o.job.trackInvocation(o)}t.stopTrackingInvocation(r);try{const o=t.invoke(r.fireDate instanceof CronDate$1?r.fireDate.toDate():r.fireDate);t.emit("run"),t.running+=1,o instanceof Promise?o.then(function(a){t.emit("success",a),t.running-=1}).catch(function(a){t.emit("error",a),t.running-=1}):(t.emit("success",o),t.running-=1)}catch(o){t.emit("error",o),t.running-=1}t.isOneTimeJob&&t.deleteFromSchedule()})}}function currentInvocationFinished(){invocations.shift(),currentInvocation=null,prepareNextInvocation()}function cancelInvocation$1(t){const r=invocations.indexOf(t);r>-1&&(invocations.splice(r,1),t.timerID!==null&<.clearTimeout(t.timerID),currentInvocation===t&&(currentInvocation=null),t.job.emit("canceled",t.fireDate),prepareNextInvocation())}function scheduleNextRecurrence$1(t,r,o,a){o=o instanceof CronDate$1?o:new CronDate$1;const u=t instanceof RecurrenceRule$2?t._nextInvocationDate(o):t.next();if(u===null||a instanceof CronDate$1&&u.getTime()>a.getTime())return null;const d=new Invocation$2(r,u,t,a);return scheduleInvocation$1(d),d}var Invocation_1={Range:Range$1,RecurrenceRule:RecurrenceRule$2,Invocation:Invocation$2,cancelInvocation:cancelInvocation$1,scheduleInvocation:scheduleInvocation$1,scheduleNextRecurrence:scheduleNextRecurrence$1,sorter:sorter$1,_invocations:invocations};function isValidDate$1(t){return t.getTime()===t.getTime()}var dateUtils={isValidDate:isValidDate$1};const events=events$1.exports,cronParser=parser,CronDate=date,sorted=sortedArrayFunctions,{scheduleNextRecurrence,scheduleInvocation,cancelInvocation,RecurrenceRule:RecurrenceRule$1,sorter,Invocation:Invocation$1}=Invocation_1,{isValidDate}=dateUtils,scheduledJobs$2={};let anonJobCounter=0;function resolveAnonJobName(){const t=new Date;return anonJobCounter===Number.MAX_SAFE_INTEGER&&(anonJobCounter=0),anonJobCounter++,``}function Job$2(t,r,o){this.pendingInvocations=[];let a=0;const u=t&&typeof t=="string"?t:resolveAnonJobName();this.job=t&&typeof t=="function"?t:r,this.job===t?this.callback=typeof r=="function"?r:!1:this.callback=typeof o=="function"?o:!1,this.running=0,typeof this.job=="function"&&this.job.prototype&&this.job.prototype.next&&(this.job=function(){return this.next().value}.bind(this.job.call(this))),Object.defineProperty(this,"name",{value:u,writable:!1,enumerable:!0}),this.trackInvocation=function(d){return sorted.add(this.pendingInvocations,d,sorter),!0},this.stopTrackingInvocation=function(d){const g=this.pendingInvocations.indexOf(d);return g>-1?(this.pendingInvocations.splice(g,1),!0):!1},this.triggeredJobs=function(){return a},this.setTriggeredJobs=function(d){a=d},this.deleteFromSchedule=function(){deleteScheduledJob(this.name)},this.cancel=function(d){d=typeof d=="boolean"?d:!1;let g,v;const y=[];for(let A=0;A=Date.now()&&(a=new Invocation$1(r,t),scheduleInvocation(a),o=r.trackInvocation(a));else if(y==="object"){if(r.isOneTimeJob=!1,!(t instanceof RecurrenceRule$1)){const A=new RecurrenceRule$1;"year"in t&&(A.year=t.year),"month"in t&&(A.month=t.month),"date"in t&&(A.date=t.date),"dayOfWeek"in t&&(A.dayOfWeek=t.dayOfWeek),"hour"in t&&(A.hour=t.hour),"minute"in t&&(A.minute=t.minute),"second"in t&&(A.second=t.second),t=A}t.tz=g,a=scheduleNextRecurrence(t,r,u,d),a!==null&&(o=r.trackInvocation(a))}}return scheduledJobs$2[this.name]=this,o};function deleteScheduledJob(t){t&&delete scheduledJobs$2[t]}var Job_1={Job:Job$2,deleteScheduledJob,scheduledJobs:scheduledJobs$2};const{Job:Job$1,scheduledJobs:scheduledJobs$1}=Job_1;function scheduleJob$1(){if(arguments.length<2)throw new RangeError("Invalid number of arguments");const t=arguments.length>=3&&typeof arguments[0]=="string"?arguments[0]:null,r=t?arguments[1]:arguments[0],o=t?arguments[2]:arguments[1],a=t?arguments[3]:arguments[2];if(typeof o!="function")throw new RangeError("The job method must be a function.");const u=new Job$1(t,o,a);return u.schedule(r)?u:null}function rescheduleJob$1(t,r){if(t instanceof Job$1){if(t.reschedule(r))return t}else if(typeof t=="string")if(Object.prototype.hasOwnProperty.call(scheduledJobs$1,t)){if(scheduledJobs$1[t].reschedule(r))return scheduledJobs$1[t]}else throw new Error("Cannot reschedule one-off job by name, pass job reference instead");return null}function cancelJob$1(t){let r=!1;return t instanceof Job$1?r=t.cancel():(typeof t=="string"||t instanceof String)&&t in scheduledJobs$1&&Object.prototype.hasOwnProperty.call(scheduledJobs$1,t)&&(r=scheduledJobs$1[t].cancel()),r}function gracefulShutdown$1(){const t=Object.keys(scheduledJobs$1).map(o=>scheduledJobs$1[o]);t.forEach(function(o){o.cancel()});let r=!1;for(let o=0;o0){r=!0;break}return new Promise(function(o){r?setInterval(function(){for(let a=0;a0)return;o()},500):o()})}var schedule={scheduleJob:scheduleJob$1,rescheduleJob:rescheduleJob$1,scheduledJobs:scheduledJobs$1,cancelJob:cancelJob$1,gracefulShutdown:gracefulShutdown$1};const{cancelJob,rescheduleJob,scheduledJobs,scheduleJob,gracefulShutdown}=schedule,{Invocation,RecurrenceRule,Range}=Invocation_1,{Job}=Job_1;var nodeSchedule={Job,Invocation,Range,RecurrenceRule,cancelJob,rescheduleJob,scheduledJobs,scheduleJob,gracefulShutdown},Calendar_vue_vue_type_style_index_0_lang="";const _sfc_main$d=defineComponent({name:"ModuleCalendar",components:{EventList},props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useQuasar(),a=useLocale(!0),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$d),timezone:u.value.timezone||"Europe/Amsterdam",calendars:u.value.calendars||[]})),g=computed(()=>o.dark.isActive),v=ref(!1),y=ref(null),A=ref(new Date);nodeSchedule.scheduleJob("0 0 0 * * *",()=>{A.value=new Date});const b=ref({year:A.value.getFullYear(),month:A.value.getMonth()+1}),_=V=>{const{year:Y,month:H}=V[0];(b.value.month!==H||b.value.year!==Y)&&(b.value.year=Y,b.value.month=H,v.value=D[Y+"-"+H]||!1,M(Y,H).then(()=>{O()}))},w=startOfDay(subDays(A.value,d.value.daysReview)),S=startOfDay(addDays$1(A.value,d.value.daysPreview)),C=ref([w,S]),T=({date:V})=>{d.value.calendarAgenda===!1||d.value.calendarAgenda!==!1&&C.value.length===2?C.value=[V]:V{let[V,Y]=C.value;return Y=startOfDay(Y?V.getMonth()!==Y.getMonth()?endOfMonth(V):Y:V),[{key:"selectedEnd",highlight:{contentStyle:{backgroundColor:"var(--q-accent)",opacity:1,color:"#fff"}},dates:Y,order:102},{key:"selectedStart",highlight:{contentStyle:{backgroundColor:"var(--q-accent)",opacity:1,color:"#fff"}},dates:V,order:101},{key:"selected",highlight:{style:{backgroundColor:"var(--q-accent)",opacity:.3},contentStyle:{color:"var(--q-accent)"}},dates:{start:V,end:Y},order:99},{key:"today",highlight:{style:{backgroundColor:"var(--q-primary)"},contentStyle:{color:"#fff",fontWeight:"bold"}},dates:A.value,order:200}]}),E=ref([]),F=(V,Y)=>{const H=[];P.value.forEach(B=>{!H.some(z=>z.uid===B.uid)&&(B&&B.start>=V&&B.start<=Y||B&&B.start<=V&&B.end>=V)&&H.push(B)}),E.value=H.sort((B,z)=>B.start===z.start?0:B.start>z.start?1:-1)},O=()=>{let[V,Y]=C.value;if(Y=endOfDay(Y||V),V.getMonth()===Y.getMonth())F(V,Y);else{let H=b.value.month+1;const B=H>12?b.value.year+1:b.value.year;H=H>12?1:H,M(B,H).then(()=>{F(V,Y)})}},D=ref({}),x=ref({}),P=computed(()=>Object.values(x.value).flat()),G=(V,Y,H)=>(V.color&&setCssVar("jarvis--calendar--"+V.name.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),V.color),new Promise((B,z)=>{r.subscribeCalendar(V.id+":"+Y+"-"+H,V,{...d.value,language:a},U=>{if(U.err)return console.warn("Calendar-a99xoa47",t.widget.id,U.err),y.value=U.err&&U.err.message||U.err,z(U.err);if(U.events&&Array.isArray(U.events)){const Q=U.events.map((X,J)=>(X.start=new Date(X.start),X.end=new Date(X.end),{calendar:V,...X,key:X.uid,dot:{style:{backgroundColor:V.color||colors.getPaletteColor("primary")}},popover:{label:X.summary},dates:X.duration<=0?X.start:{start:X.start,end:X.end},customData:{calendar:V,summary:X.summary,time:X.time}}));D[Y+"-"+H]=!0,x.value[V.id+":"+Y+"-"+H]=Q,B(x.value[V.id])}})})),M=(V,Y)=>{const H=[];return d.value.calendars.forEach(B=>{B.name&&B.url&&H.push(G(B,V,Y))}),Promise.allSettled(H).then(B=>(v.value=!0,B))};let N=null;return onBeforeMount(()=>{M(b.value.year,b.value.month).then(()=>{O()}),N=setInterval(()=>{console.debug("Calendar-d53dca17",t.widget.id,"Refreshing ical data..."),M(b.value.year,b.value.month).then(()=>{O()})},d.value.refresh*60*1e3)}),onUnmounted(()=>N&&clearInterval(N)),{loaded:v,error:y,language:a,isDarkMode:g,moduleConfig:d,setDate:_,setRange:T,attrs:computed(()=>[...P.value,...I.value]),agenda:E}}}),_hoisted_1$b={style:{position:"relative"}},_hoisted_2$a={class:"text-h6"},_hoisted_3$6={class:"text-xs text-gray-300 font-semibold"},_hoisted_4$4={class:"jarvis-Calendar-Popover-List"};function _sfc_render$d(t,r,o,a,u,d){const g=resolveComponent("event-list"),v=resolveComponent("v-calendar"),y=resolveComponent("alert");return openBlock(),createElementBlock("div",{class:"jarvis-Calendar-Container",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded]]),createBaseVNode("div",_hoisted_1$b,[t.moduleConfig.calendarAgenda===!1?(openBlock(),createBlock(QDialog,{key:0,"model-value":t.popup,onHide:r[1]||(r[1]=A=>t.popup=!1)},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"800px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$a,toDisplayString$1(t.$t("Calendar Details")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=A=>t.popup=!1)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body"},{default:withCtx(()=>[createVNode$1(g,{agenda:t.agenda},null,8,["agenda"])]),_:1})]),_:1})]),_:1},8,["model-value"])):createCommentVNode("",!0),withDirectives(createBaseVNode("div",null,[createVNode$1(v,{class:"jarvis-Calendar",attributes:t.attrs,"is-dark":t.isDarkMode,locale:t.language,masks:{dayPopover:"WWW, D. MMMM YYYY"},"trim-weeks":"","show-iso-weeknumbers":"","disable-page-swipe":"","onUpdate:pages":t.setDate,onDayclick:t.setRange},{"day-popover":withCtx(({dayTitle:A,attributes:b})=>[createBaseVNode("div",null,[createBaseVNode("strong",_hoisted_3$6,toDisplayString$1(A),1),createBaseVNode("ul",_hoisted_4$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(b,_=>(openBlock(),createElementBlock("li",{key:_.key+"-"+(_.customData.calendar.color||""),style:normalizeStyle$1({color:_.customData.calendar.color||"var(--q-primary)"})},[createBaseVNode("span",null,toDisplayString$1(_.customData.time)+", "+toDisplayString$1(_.customData.summary.val||_.customData.summary),1)],4))),128))])])]),default:withCtx(()=>[r[2]||(r[2]=createTextVNode(' /* :timezone="moduleConfig.timezone" trim-weeks: By default, calendar panes always displays the maximum number of weeks in a month, even if the max week does not contain any days in the current month displayed. */ '))]),_:1},8,["attributes","is-dark","locale","onUpdate:pages","onDayclick"]),createVNode$1(QInnerLoading,{showing:!t.loaded},{default:withCtx(()=>[createVNode$1(QSpinner,{size:"50px",color:"primary"})]),_:1},8,["showing"])],512),[[vShow,t.moduleConfig.calendarPreview!==!1]])]),withDirectives(createVNode$1(y,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.error]]),withDirectives(createVNode$1(g,{agenda:t.agenda},null,8,["agenda"]),[[vShow,t.moduleConfig.calendarAgenda!==!1]])],4)}var Calendar$2=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d]]),Calendar$3=Object.freeze(Object.defineProperty({__proto__:null,default:Calendar$2},Symbol.toStringTag,{value:"Module"})),mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function t(){}return t.prototype.reset=function(r){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,r||4)},t.prototype.moveTo=function(r,o){this._add("M",r,o)},t.prototype.lineTo=function(r,o){this._add("L",r,o)},t.prototype.bezierCurveTo=function(r,o,a,u,d,g){this._add("C",r,o,a,u,d,g)},t.prototype.quadraticCurveTo=function(r,o,a,u){this._add("Q",r,o,a,u)},t.prototype.arc=function(r,o,a,u,d,g){this.ellipse(r,o,a,a,0,u,d,g)},t.prototype.ellipse=function(r,o,a,u,d,g,v,y){var A=v-g,b=!y,_=Math.abs(A),w=isAroundZero(_-PI2$1)||(b?A>=PI2$1:-A>=PI2$1),S=A>0?A%PI2$1:A%PI2$1+PI2$1,C=!1;w?C=!0:isAroundZero(_)?C=!1:C=S>=PI$4==!!b;var T=r+a*mathCos(g),I=o+u*mathSin(g);this._start&&this._add("M",T,I);var E=Math.round(d*degree);if(w){var F=1/this._p,O=(b?1:-1)*(PI2$1-F);this._add("A",a,u,E,1,+b,r+a*mathCos(g+O),o+u*mathSin(g+O)),F>.01&&this._add("A",a,u,E,0,+b,T,I)}else{var D=r+a*mathCos(v),x=o+u*mathSin(v);this._add("A",a,u,E,+C,+b,D,x)}},t.prototype.rect=function(r,o,a,u){this._add("M",r,o),this._add("l",a,0),this._add("l",0,u),this._add("l",-a,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(r,o,a,u,d,g,v,y,A){for(var b=[],_=this._p,w=1;w"}function createElementClose(t){return""}function vNodeToString(t,r){r=r||{};var o=r.newline?` + */var listenOpts={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{var opts=Object.defineProperty({},"passive",{get:function(){Object.assign(listenOpts,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,opts),window.removeEventListener("qtest",null,opts)}catch(t){}function getEventPath(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();for(var r=[],o=t.target;o;){if(r.push(o),o.tagName==="HTML")return r.push(document),r.push(window),r;o=o.parentElement}}function stopAndPrevent(t){t.cancelable!==!1&&t.preventDefault(),t.stopPropagation()}function getVerticalScrollPosition(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function getHorizontalScrollPosition(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function hasScrollbar(t,r){return r===void 0&&(r=!0),!t||t.nodeType!==Node.ELEMENT_NODE?!1:r?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"]))}var registered=0,scrollPositionX,scrollPositionY,maxScrollTop,vpPendingUpdate=!1,bodyLeft,bodyTop,closeTimer;function onWheel(t){shouldPreventScroll(t)&&stopAndPrevent(t)}function shouldPreventScroll(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;for(var r=getEventPath(t),o=t.shiftKey&&!t.deltaX,a=!o&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),u=o||a?t.deltaY:t.deltaX,d=0;d0&&g.scrollTop+g.clientHeight===g.scrollHeight:u<0&&g.scrollLeft===0?!0:u>0&&g.scrollLeft+g.clientWidth===g.scrollWidth}return!0}function onAppleScroll(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function onAppleResize(t){vpPendingUpdate!==!0&&(vpPendingUpdate=!0,requestAnimationFrame(function(){vpPendingUpdate=!1;var r=t.target,o=r.height,a=document.scrollingElement,u=a.clientHeight,d=a.scrollTop;(maxScrollTop===void 0||o!==window.innerHeight)&&(maxScrollTop=u-o,document.scrollingElement.scrollTop=d),d>maxScrollTop&&(document.scrollingElement.scrollTop-=Math.ceil((d-maxScrollTop)/8))}))}function apply(t,r){var o=document.body,a=window.visualViewport!==void 0;if(t==="add"){var u=window.getComputedStyle(o),d=u.overflowY,g=u.overflowX;scrollPositionX=getHorizontalScrollPosition(window),scrollPositionY=getVerticalScrollPosition(window),bodyLeft=o.style.left,bodyTop=o.style.top,o.style.left="-"+scrollPositionX+"px",o.style.top="-"+scrollPositionY+"px",g!=="hidden"&&(g==="scroll"||o.scrollWidth>window.innerWidth)&&o.classList.add("q-body--force-scrollbar-x"),d!=="hidden"&&(d==="scroll"||o.scrollHeight>window.innerHeight)&&o.classList.add("q-body--force-scrollbar-y"),o.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,r.platform.is.ios===!0&&(a===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",onAppleResize,listenOpts.passiveCapture),window.visualViewport.addEventListener("scroll",onAppleResize,listenOpts.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",onAppleScroll,listenOpts.passiveCapture))}r.platform.is.desktop===!0&&r.platform.is.mac===!0&&window[t+"EventListener"]("wheel",onWheel,listenOpts.notPassive),t==="remove"&&(r.platform.is.ios===!0&&(a===!0?(window.visualViewport.removeEventListener("resize",onAppleResize,listenOpts.passiveCapture),window.visualViewport.removeEventListener("scroll",onAppleResize,listenOpts.passiveCapture)):window.removeEventListener("scroll",onAppleScroll,listenOpts.passiveCapture)),o.classList.remove("q-body--prevent-scroll"),o.classList.remove("q-body--force-scrollbar-x"),o.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,o.style.left=bodyLeft,o.style.top=bodyTop,window.scrollTo(scrollPositionX,scrollPositionY),maxScrollTop=void 0)}function preventScroll(t){var r=getCurrentInstance(),o=useQuasar()||r.proxy.$q||r.ctx.$q,a="add";if(t===!0){if(registered++,closeTimer!==void 0){clearTimeout(closeTimer),closeTimer=void 0;return}if(registered>1)return}else{if(registered===0||(registered--,registered>0))return;if(a="remove",o.platform.is.ios===!0&&o.platform.is.nativeMobile===!0){clearTimeout(closeTimer),closeTimer=setTimeout(function(){apply(a,o),closeTimer=void 0},100);return}}apply(a,o)}var textToRgb=colors.textToRgb,QOverlay=defineComponent({name:"QOverlay",props:{backgroundColor:{type:String,default:"#000000"},opacity:{type:[Number,String],default:.35},zIndex:{type:[Number,String],default:6e3},cursorType:{type:String,default:"not-allowed"},noScroll:Boolean,modelValue:Boolean},setup:function t(r,o){var a=o.slots;onBeforeUnmount(function(){r.noScroll&&r.modelValue&&preventScroll(!1)});var u=computed(function(){var y=textToRgb(r.backgroundColor);return{zIndex:r.zIndex,backgroundColor:"rgba("+y.r+", "+y.g+", "+y.b+", "+r.opacity+")",padding:0,margin:0}});function d(y){var A=h("div",{class:"q-overlay q-overlay--component cursor-"+r.cursorType,style:u.value},a.body());return h("div",{class:"q-overlay--wrapper"},[A,y&&y()])}function g(){return h("div",{class:"q-overlay fixed fullscreen cursor-"+r.cursorType,style:u.value},[a.body&&a.body()])}function v(){var y=a.default,A=(y&&y())===void 0;if(preventScroll(r.noScroll&&r.modelValue),!(!r.modelValue&&A))return r.modelValue&&A?g():r.modelValue&&!A?d(y):h("div",{class:"q-overlay"},y&&y()||[])}return function(){return v()}}}),version="2.0.1";function install$T(t){t.component(QOverlay.name,QOverlay)}var VuePlugin=Object.freeze({__proto__:null,version,QOverlay,install:install$T}),register$1=({app:t})=>{t.use(VuePlugin)},register$2=Object.freeze(Object.defineProperty({__proto__:null,default:register$1},Symbol.toStringTag,{value:"Module"}));class LocalNotificationsWeb extends WebPlugin{constructor(){super(...arguments),this.pending=[],this.deliveredNotifications=[],this.hasNotificationSupport=()=>{if(!("Notification"in window)||!Notification.requestPermission)return!1;if(Notification.permission!=="granted")try{new Notification("")}catch(r){if(r.name=="TypeError")return!1}return!0}}async getDeliveredNotifications(){const r=[];for(const o of this.deliveredNotifications){const a={title:o.title,id:parseInt(o.tag),body:o.body};r.push(a)}return{notifications:r}}async removeDeliveredNotifications(r){for(const o of r.notifications){const a=this.deliveredNotifications.find(u=>u.tag===String(o.id));a==null||a.close(),this.deliveredNotifications=this.deliveredNotifications.filter(()=>!a)}}async removeAllDeliveredNotifications(){for(const r of this.deliveredNotifications)r.close();this.deliveredNotifications=[]}async createChannel(){throw this.unimplemented("Not implemented on web.")}async deleteChannel(){throw this.unimplemented("Not implemented on web.")}async listChannels(){throw this.unimplemented("Not implemented on web.")}async schedule(r){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");for(const o of r.notifications)this.sendNotification(o);return{notifications:r.notifications.map(o=>({id:o.id}))}}async getPending(){return{notifications:this.pending}}async registerActionTypes(){throw this.unimplemented("Not implemented on web.")}async cancel(r){this.pending=this.pending.filter(o=>!r.notifications.find(a=>a.id===o.id))}async areEnabled(){const{display:r}=await this.checkPermissions();return{value:r==="granted"}}async changeExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async checkExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async requestPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(await Notification.requestPermission())}}async checkPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(Notification.permission)}}transformNotificationPermission(r){switch(r){case"granted":return"granted";case"denied":return"denied";default:return"prompt"}}sendPending(){var r;const o=[],a=new Date().getTime();for(const u of this.pending)((r=u.schedule)===null||r===void 0?void 0:r.at)&&u.schedule.at.getTime()<=a&&(this.buildNotification(u),o.push(u));this.pending=this.pending.filter(u=>!o.find(d=>d===u))}sendNotification(r){var o;if(!((o=r.schedule)===null||o===void 0)&&o.at){const a=r.schedule.at.getTime()-new Date().getTime();this.pending.push(r),setTimeout(()=>{this.sendPending()},a);return}this.buildNotification(r)}buildNotification(r){const o=new Notification(r.title,{body:r.body,tag:String(r.id)});return o.addEventListener("click",this.onClick.bind(this,r),!1),o.addEventListener("show",this.onShow.bind(this,r),!1),o.addEventListener("close",()=>{this.deliveredNotifications=this.deliveredNotifications.filter(()=>!this)},!1),this.deliveredNotifications.push(o),o}onClick(r){const o={actionId:"tap",notification:r};this.notifyListeners("localNotificationActionPerformed",o)}onShow(r){this.notifyListeners("localNotificationReceived",r)}}var web=Object.freeze(Object.defineProperty({__proto__:null,LocalNotificationsWeb},Symbol.toStringTag,{value:"Module"})),AdapterLogs_vue_vue_type_style_index_0_lang="";const _sfc_main$g=defineComponent({name:"ModuleAdapterLogs",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(props){const socket=Connection.getConnection,iobroker=useIoBroker(),config=computed(()=>props.widget.config),moduleConfig=computed(()=>({...Modules.joinConfig(config.value,ConfigFile$f)})),columns=[{name:"from",field:"from",label:"Adapter",align:"left",sortable:!0},{name:"ts",field:"ts",label:"Time",align:"left",sortable:!0},{name:"severity",field:"severity",label:"Severity",align:"left",sortable:!0},{name:"message",field:"message",label:"Message",align:"left",sortable:!1}],onFilter=t=>{if(!moduleConfig.value.adapters.includes(t.from)||!moduleConfig.value.severity.includes(t.severity))return!1;if(moduleConfig.value.message){const r=RegExp(moduleConfig.value.message,"gi");if(moduleConfig.value.invertFilter){if(r.test(t.message))return!1}else if(!r.test(t.message))return!1}return!0};let messageFn=t=>t;if(Pro.isPro()&&moduleConfig.value.messageFn&&(moduleConfig.value.messageFn.indexOf("=>")!==-1||moduleConfig.value.messageFn.indexOf("(")!==-1&&moduleConfig.value.messageFn.indexOf(")")!==-1))try{messageFn=eval(moduleConfig.value.messageFn);const test=messageFn("test")}catch(t){console.warn("AdapterLogs",moduleConfig.value.messageFn,t),messageFn=r=>r}const formatMessage=(t,r)=>{try{const o=t.from.startsWith("host.")?"admin.0":t.from;t.raw=t.message,t._id=v4(),t.ts=Number.isInteger(t.ts)?format$2(t.ts,moduleConfig.value.timeFormat||"dd.MM.yyyy HH:mm:ss:SSS"):t.ts,t.icon=r[t.from]&&r[t.from].extIcon?"img:"+r[t.from].extIcon:"",t.message=messageFn(t.message)}catch(o){console.error(o)}return moduleConfig.value.columns.includes("from")||delete t.from,moduleConfig.value.columns.includes("ts")||delete t.ts,moduleConfig.value.columns.includes("severity")||delete t.severity,moduleConfig.value.columns.includes("message")||delete t.message,t},processLog=({logs:t})=>{const r=t.filter(o=>onFilter(o)).slice(0,moduleConfig.value.rowsMaxTotal).map(o=>{var a;return formatMessage(o,((a=iobroker.instances)==null?void 0:a.val)||[])});logs.value=r.concat(logs.value),loaded.value=!0},loaded=ref(!1),error=ref(null),logs=ref([]);return watch([()=>iobroker.instances.ts,moduleConfig],()=>{Object.keys(iobroker.instances).length&&socket.subscribeSpecial("Log",{getInitialLogs:logs.value.length===0,rowsMaxTotal:moduleConfig.value.rowsMaxTotal},processLog)},{immediate:!0}),onUnmounted(()=>socket.unsubscribeSpecial("Log",processLog)),{moduleConfig,columns,columnsVisible:moduleConfig.value.columns,pagination:computed(()=>({sortBy:moduleConfig.value.sortColumn,descending:moduleConfig.value.sortDirection,rowsPerPage:moduleConfig.value.rowsPerPage})),loaded,error,logs}}});function _sfc_render$g(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{key:t.widget.revision,class:"jarvis-AdapterLogs",style:normalizeStyle$1(t.widgetSize)},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives(createVNode$1(QTable,{rows:t.logs,flat:"",dense:t.moduleConfig.dense,pagination:t.pagination,"binary-state-sort":"",columns:t.columns,"row-key":"_id","visible-columns":t.columnsVisible,class:"sticky-table-header full-height"},{body:withCtx(({row:v})=>[createVNode$1(QTr,null,{default:withCtx(()=>[v.from!==void 0?(openBlock(),createBlock(QTd,{key:0},{default:withCtx(()=>[createVNode$1(QIcon,{name:v.icon},null,8,["name"]),createTextVNode(" \xA0"+toDisplayString$1(v.from),1)]),_:2},1024)):createCommentVNode("",!0),v.ts!==void 0?(openBlock(),createBlock(QTd,{key:1},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.ts),1)]),_:2},1024)):createCommentVNode("",!0),v.severity!==void 0?(openBlock(),createBlock(QTd,{key:2},{default:withCtx(()=>[v.severity==="info"?(openBlock(),createBlock(QIcon,{key:0,size:"xs",name:"mdi-information",color:"blue"})):v.severity==="warn"?(openBlock(),createBlock(QIcon,{key:1,size:"xs",name:"mdi-alert-box",color:"warning"})):v.severity==="error"?(openBlock(),createBlock(QIcon,{key:2,size:"xs",name:"mdi-close-box",color:"negative"})):(openBlock(),createBlock(QIcon,{key:3,size:"xs",name:"mdi-bug",color:"grey"})),createBaseVNode("span",{style:{"margin-left":"4px"},class:normalizeClass("text-"+(v.severity==="info"?"primary":v.severity==="warn"?"warning":v.severity==="error"?"negative":"grey"))},toDisplayString$1(v.severity),3)]),_:2},1024)):createCommentVNode("",!0),v.message!==void 0?(openBlock(),createBlock(QTd,{key:3},{default:withCtx(()=>[createTextVNode(toDisplayString$1(typeof v.message=="object"?JSON.stringify(v.message):v.message),1)]),_:2},1024)):createCommentVNode("",!0)]),_:2},1024)]),_:1},8,["rows","dense","pagination","columns","visible-columns"]),[[vShow,t.loaded&&!t.error]])],4)}var AdapterLogs=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g]]),AdapterLogs$1=Object.freeze(Object.defineProperty({__proto__:null,default:AdapterLogs},Symbol.toStringTag,{value:"Module"})),AdapterStatus_vue_vue_type_style_index_0_lang="";const _sfc_main$f=defineComponent({name:"ModuleAdapterStatus",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useIoBroker(),a=useI18n(),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$e),list:u.value.list?u.value.list.replace(/, /g,",").toLowerCase().split(","):null,blacklist:u.value.blacklist?u.value.blacklist.replace(/, /g,",").toLowerCase().split(","):null})),g=computed(()=>{let S=_default(o.instances);if(S=S&&S.val&&!S.val.error?{...S.val}:{},d.value.list)for(const C in S){const T=C.substr(0,C.indexOf("."));!d.value.list.includes(C)&&!d.value.list.includes(T)&&delete S[C]}else if(d.value.blacklist)for(const C in S){const T=C.substr(0,C.indexOf("."));(d.value.blacklist.includes(C)||d.value.blacklist.includes(T))&&delete S[C]}return S}),v=ref([]),y=ref([]);r.subscribeState("admin.0.info.updatesList",({err:S,state:C})=>{if(C){const T=C&&C.val?C.val.replace("js-controller,","").replace("js-controller",""):"";v.value=T?T.split(","):[],y.value=v.value.map(I=>g.value[I+".0"]?g.value[I+".0"].title+" ("+g.value[I+".0"].name+")":I).join(", ")}});const A=ref({}),b=(S,C)=>{A.value[S]=!0,r.setAdapter(S,C).then(()=>{o.join("instances",{val:{...o.instances.val,[S]:{...o.instances.val[S],enabled:C}},ts:Date.now()})}).catch(T=>{console.error(T)}).finally(()=>{A.value[S]=!1})},_=computed(()=>a.locale.value.substr(0,2));return{activeRepo:computed(()=>o.meta.activeRepo),adapterUpdates:v,adapterUpdateList:y,instances:g,language:_,loading:A,moduleConfig:d,onSet:b}}}),_hoisted_1$d={class:"UpdateAvailable"},_hoisted_2$b={key:1},_hoisted_3$7={key:2};function _sfc_render$f(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QList,{key:t.widget.revision,class:"jarvis-AdapterStatus",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},{default:withCtx(()=>[withDirectives(createVNode$1(QItem,{class:"UpdateAvailableListItem",style:{"background-color":"var(--q-accent)"}},{default:withCtx(()=>[t.adapterUpdateList.length>60?(openBlock(),createBlock(QTooltip,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdateList),1)]),_:1})):createCommentVNode("",!0),createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"refresh"})]),_:1}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdateList.length>60?t.adapterUpdateList.substr(0,58)+"...":t.adapterUpdateList),1)]),_:1}),createVNode$1(QItemLabel,{caption:"",style:{color:"#fff"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.adapterUpdates.length)+" "+toDisplayString$1(t.$t("Updates available")),1),r[0]||(r[0]=createBaseVNode("br",null,null,-1)),createTextVNode(" "+toDisplayString$1(t.$t("Repository")+": "+t.activeRepo),1)]),_:1})]),_:1}),createVNode$1(QItemSection,{side:""},{default:withCtx(()=>[createVNode$1(QBadge,{rounded:"",color:"white",style:{color:"var(--q-accent)"},label:t.adapterUpdates.length},null,8,["label"])]),_:1})]),_:1},512),[[vShow,t.moduleConfig.updates&&t.adapterUpdates.length>0]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.instances,v=>(openBlock(),createBlock(QItem,{key:v.id,clickable:t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0,"v-ripple":t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(g,{name:"img:"+v.extIcon},null,8,["name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.titleLang&&(v.titleLang[t.language]||v.titleLang.en||v.titleLang.de)||v.titleLang||v.title),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(v.id)+", v"+toDisplayString$1(v.version),1),withDirectives(createBaseVNode("span",null,[r[1]||(r[1]=createTextVNode(", ")),createBaseVNode("span",_hoisted_1$d,toDisplayString$1(t.$t("Update available")+" v"+v.update),1)],512),[[vShow,v.update]]),withDirectives(createBaseVNode("span",null,", "+toDisplayString$1(t.$t("Compact Mode"))+" "+toDisplayString$1(t.$t("on"))+" ("+toDisplayString$1(t.$t("Group")+" "+v.compactGroup)+")",513),[[vShow,v.runAsCompactMode]])]),_:2},1024)]),_:2},1024),v.mode!=="none"&&v.mode!=="once"?withDirectives((openBlock(),createBlock(QItemSection,{key:0,side:""},{default:withCtx(()=>[t.loading[v.id]===!0?(openBlock(),createBlock(QSpinner,{key:0,color:"primary",size:"21px"})):createCommentVNode("",!0),t.loading[v.id]!==!0&&v.alive!==!1&&v.connectedToHost!==!1&&v.connectedToInstance!==!1?(openBlock(),createElementBlock("div",_hoisted_2$b,[createVNode$1(g,{color:"positive",name:"mdi-check-circle"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("alive")),1)]),_:1})])):createCommentVNode("",!0),t.loading[v.id]!==!0&&v.alive===!1||v.connectedToHost===!1||v.connectedToInstance===!1?(openBlock(),createElementBlock("div",_hoisted_3$7,[createVNode$1(g,{color:"warning",name:"mdi-alert"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("not alive")),1)]),_:1})])):createCommentVNode("",!0)]),_:2},1536)),[[vShow,v.enabled===!0]]):createCommentVNode("",!0),v.mode!=="none"&&v.mode!=="once"?withDirectives((openBlock(),createBlock(QItemSection,{key:1,side:""},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-close"}),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Adapter")+" "+t.$t("disabled")),1)]),_:1})]),_:2},1536)),[[vShow,v.enabled===!1]]):createCommentVNode("",!0),t.moduleConfig.switch&&v.mode!=="none"&&v.mode!=="once"&&t.loading[v.id]!==!0?(openBlock(),createBlock(QMenu,{key:2,ref_for:!0,ref:"menu","touch-position":""},{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"120px","man-width":"150px"},class:"body"},{default:withCtx(()=>[createVNode$1(QItem,{class:normalizeClass("text-white bg-"+(v.enabled?"positive":"negative"))},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.enabled?"Currently running":"Currently stopped")),1)]),_:2},1024),createVNode$1(QItemSection,{side:""})]),_:2},1032,["class"]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:y=>t.onSet(v.id,!v.enabled)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:v.enabled?"negative":"positive",name:v.enabled?"mdi-pause":"mdi-play"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.enabled?"Stop":"Start")+" "+t.$t("Adapter")),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1536)):createCommentVNode("",!0)]),_:2},1032,["clickable","v-ripple"]))),128))]),_:1},8,["style"])}var AdapterStatus=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f]]),AdapterStatus$1=Object.freeze(Object.defineProperty({__proto__:null,default:AdapterStatus},Symbol.toStringTag,{value:"Module"}));function useLocale(t=!1){const r=useI18n(),o=r.locale.value||r.locale;return t?o.substr(0,2):o}var style="",EventList_vue_vue_type_style_index_0_lang="";const _sfc_main$e=defineComponent({name:"ModuleCalendarEventList",props:{agenda:{type:Object,required:!0}}}),_hoisted_1$c={class:"jarvis-Calendar-CalendarName"};function _sfc_render$e(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createBlock(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.agenda,(v,y)=>(openBlock(),createBlock(QItem,{key:"item-"+v.key,class:normalizeClass({"jarvis-StateListItem-Separator":y>0})},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"items-center q-mr-sm",style:normalizeStyle$1({marginTop:"-3px",color:v.calendar.color||"var(--q-primary)"})},{default:withCtx(()=>[createVNode$1(g,{name:"mdi-circle-medium"}),createBaseVNode("span",_hoisted_1$c,toDisplayString$1(v.calendar.name),1),createVNode$1(QTooltip,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.calendar.name),1)]),_:2},1024)]),_:2},1032,["style"]),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(v.time)+", "+(v.summary.val||v.summary)),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.caption),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})}var EventList=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e]]),EventList$1=Object.freeze(Object.defineProperty({__proto__:null,default:EventList},Symbol.toStringTag,{value:"Module"})),luxon$1={};Object.defineProperty(luxon$1,"__esModule",{value:!0});class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(r){super(`Invalid DateTime: ${r.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(r){super(`Invalid Interval: ${r.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(r){super(`Invalid Duration: ${r.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(r){super(`Invalid unit ${r}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const n="numeric",s="short",l="long",DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:n},TIME_WITH_SECONDS={hour:n,minute:n,second:n},TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"},TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n},DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(r,o){throw new ZoneIsAbstractError}formatOffset(r,o){throw new ZoneIsAbstractError}offset(r){throw new ZoneIsAbstractError}equals(r){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let singleton$1=null;class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(r,{format:o,locale:a}){return parseZoneInfo(r,o,a)}formatOffset(r,o){return formatOffset(this.offset(r),o)}offset(r){return-new Date(r).getTimezoneOffset()}equals(r){return r.type==="system"}get isValid(){return!0}}let dtfCache={};function makeDTF(t){return dtfCache[t]||(dtfCache[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),dtfCache[t]}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(t,r){const o=t.format(r).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(o),[,u,d,g,v,y,A,b]=a;return[g,u,d,v,y,A,b]}function partsOffset(t,r){const o=t.formatToParts(r),a=[];for(let u=0;u=0?C:1e3+C,(w-S)/(60*1e3)}equals(r){return r.type==="iana"&&r.name===this.name}get isValid(){return this.valid}}let intlLFCache={};function getCachedLF(t,r={}){const o=JSON.stringify([t,r]);let a=intlLFCache[o];return a||(a=new Intl.ListFormat(t,r),intlLFCache[o]=a),a}let intlDTCache={};function getCachedDTF(t,r={}){const o=JSON.stringify([t,r]);let a=intlDTCache[o];return a||(a=new Intl.DateTimeFormat(t,r),intlDTCache[o]=a),a}let intlNumCache={};function getCachedINF(t,r={}){const o=JSON.stringify([t,r]);let a=intlNumCache[o];return a||(a=new Intl.NumberFormat(t,r),intlNumCache[o]=a),a}let intlRelCache={};function getCachedRTF(t,r={}){const{base:o,...a}=r,u=JSON.stringify([t,a]);let d=intlRelCache[u];return d||(d=new Intl.RelativeTimeFormat(t,r),intlRelCache[u]=d),d}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}let weekInfoCache={};function getCachedWeekInfo(t){let r=weekInfoCache[t];if(!r){const o=new Intl.Locale(t);r="getWeekInfo"in o?o.getWeekInfo():o.weekInfo,weekInfoCache[t]=r}return r}function parseLocaleString(t){const r=t.indexOf("-x-");r!==-1&&(t=t.substring(0,r));const o=t.indexOf("-u-");if(o===-1)return[t];{let a,u;try{a=getCachedDTF(t).resolvedOptions(),u=t}catch(v){const y=t.substring(0,o);a=getCachedDTF(y).resolvedOptions(),u=y}const{numberingSystem:d,calendar:g}=a;return[u,d,g]}}function intlConfigString(t,r,o){return(o||r)&&(t.includes("-u-")||(t+="-u"),o&&(t+=`-ca-${o}`),r&&(t+=`-nu-${r}`)),t}function mapMonths(t){const r=[];for(let o=1;o<=12;o++){const a=DateTime$2.utc(2009,o,1);r.push(t(a))}return r}function mapWeekdays(t){const r=[];for(let o=1;o<=7;o++){const a=DateTime$2.utc(2016,11,13+o);r.push(t(a))}return r}function listStuff(t,r,o,a){const u=t.listingMode();return u==="error"?null:u==="en"?o(r):a(r)}function supportsFastNumbers(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class PolyNumberFormatter{constructor(r,o,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;const{padTo:u,floor:d,...g}=a;if(!o||Object.keys(g).length>0){const v={useGrouping:!1,...a};a.padTo>0&&(v.minimumIntegerDigits=a.padTo),this.inf=getCachedINF(r,v)}}format(r){if(this.inf){const o=this.floor?Math.floor(r):r;return this.inf.format(o)}else{const o=this.floor?Math.floor(r):roundTo(r,3);return padStart(o,this.padTo)}}}class PolyDateFormatter{constructor(r,o,a){this.opts=a,this.originalZone=void 0;let u;if(this.opts.timeZone)this.dt=r;else if(r.zone.type==="fixed"){const g=-1*(r.offset/60),v=g>=0?`Etc/GMT+${g}`:`Etc/GMT${g}`;r.offset!==0&&IANAZone.create(v).valid?(u=v,this.dt=r):(u="UTC",this.dt=r.offset===0?r:r.setZone("UTC").plus({minutes:r.offset}),this.originalZone=r.zone)}else r.zone.type==="system"?this.dt=r:r.zone.type==="iana"?(this.dt=r,u=r.zone.name):(u="UTC",this.dt=r.setZone("UTC").plus({minutes:r.offset}),this.originalZone=r.zone);const d={...this.opts};d.timeZone=d.timeZone||u,this.dtf=getCachedDTF(o,d)}format(){return this.originalZone?this.formatToParts().map(({value:r})=>r).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const r=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?r.map(o=>{if(o.type==="timeZoneName"){const a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...o,value:a}}else return o}):r}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(r,o,a){this.opts={style:"long",...a},!o&&hasRelative()&&(this.rtf=getCachedRTF(r,a))}format(r,o){return this.rtf?this.rtf.format(r,o):formatRelativeTime(o,r,this.opts.numeric,this.opts.style!=="long")}formatToParts(r,o){return this.rtf?this.rtf.formatToParts(r,o):[]}}const fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};class Locale{static fromOpts(r){return Locale.create(r.locale,r.numberingSystem,r.outputCalendar,r.weekSettings,r.defaultToEN)}static create(r,o,a,u,d=!1){const g=r||Settings.defaultLocale,v=g||(d?"en-US":systemLocale()),y=o||Settings.defaultNumberingSystem,A=a||Settings.defaultOutputCalendar,b=validateWeekSettings(u)||Settings.defaultWeekSettings;return new Locale(v,y,A,b,g)}static resetCache(){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={}}static fromObject({locale:r,numberingSystem:o,outputCalendar:a,weekSettings:u}={}){return Locale.create(r,o,a,u)}constructor(r,o,a,u,d){const[g,v,y]=parseLocaleString(r);this.locale=g,this.numberingSystem=o||v||null,this.outputCalendar=a||y||null,this.weekSettings=u,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=d,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}listingMode(){const r=this.isEnglish(),o=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return r&&o?"en":"intl"}clone(r){return!r||Object.getOwnPropertyNames(r).length===0?this:Locale.create(r.locale||this.specifiedLocale,r.numberingSystem||this.numberingSystem,r.outputCalendar||this.outputCalendar,validateWeekSettings(r.weekSettings)||this.weekSettings,r.defaultToEN||!1)}redefaultToEN(r={}){return this.clone({...r,defaultToEN:!0})}redefaultToSystem(r={}){return this.clone({...r,defaultToEN:!1})}months(r,o=!1){return listStuff(this,r,months,()=>{const a=o?{month:r,day:"numeric"}:{month:r},u=o?"format":"standalone";return this.monthsCache[u][r]||(this.monthsCache[u][r]=mapMonths(d=>this.extract(d,a,"month"))),this.monthsCache[u][r]})}weekdays(r,o=!1){return listStuff(this,r,weekdays,()=>{const a=o?{weekday:r,year:"numeric",month:"long",day:"numeric"}:{weekday:r},u=o?"format":"standalone";return this.weekdaysCache[u][r]||(this.weekdaysCache[u][r]=mapWeekdays(d=>this.extract(d,a,"weekday"))),this.weekdaysCache[u][r]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){const r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime$2.utc(2016,11,13,9),DateTime$2.utc(2016,11,13,19)].map(o=>this.extract(o,r,"dayperiod"))}return this.meridiemCache})}eras(r){return listStuff(this,r,eras,()=>{const o={era:r};return this.eraCache[r]||(this.eraCache[r]=[DateTime$2.utc(-40,1,1),DateTime$2.utc(2017,1,1)].map(a=>this.extract(a,o,"era"))),this.eraCache[r]})}extract(r,o,a){const u=this.dtFormatter(r,o),d=u.formatToParts(),g=d.find(v=>v.type.toLowerCase()===a);return g?g.value:null}numberFormatter(r={}){return new PolyNumberFormatter(this.intl,r.forceSimple||this.fastNumbers,r)}dtFormatter(r,o={}){return new PolyDateFormatter(r,this.intl,o)}relFormatter(r={}){return new PolyRelFormatter(this.intl,this.isEnglish(),r)}listFormatter(r={}){return getCachedLF(this.intl,r)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo()?getCachedWeekInfo(this.locale):fallbackWeekSettings}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(r){return this.locale===r.locale&&this.numberingSystem===r.numberingSystem&&this.outputCalendar===r.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let singleton=null;class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(r){return r===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(r)}static parseSpecifier(r){if(r){const o=r.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(o)return new FixedOffsetZone(signedOffset(o[1],o[2]))}return null}constructor(r){super(),this.fixed=r}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(r,o){return formatOffset(this.fixed,o)}get isUniversal(){return!0}offset(){return this.fixed}equals(r){return r.type==="fixed"&&r.fixed===this.fixed}get isValid(){return!0}}class InvalidZone extends Zone{constructor(r){super(),this.zoneName=r}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function normalizeZone(t,r){if(isUndefined(t)||t===null)return r;if(t instanceof Zone)return t;if(isString(t)){const o=t.toLowerCase();return o==="default"?r:o==="local"||o==="system"?SystemZone.instance:o==="utc"||o==="gmt"?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(o)||IANAZone.create(t)}else return isNumber(t)?FixedOffsetZone.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new InvalidZone(t)}const numberingSystems={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(t){let r=parseInt(t,10);if(isNaN(r)){r="";for(let o=0;o=d&&a<=g&&(r+=a-d)}}return parseInt(r,10)}else return r}let digitRegexCache={};function resetDigitRegexCache(){digitRegexCache={}}function digitRegex({numberingSystem:t},r=""){const o=t||"latn";return digitRegexCache[o]||(digitRegexCache[o]={}),digitRegexCache[o][r]||(digitRegexCache[o][r]=new RegExp(`${numberingSystems[o]}${r}`)),digitRegexCache[o][r]}let now=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;class Settings{static get now(){return now}static set now(r){now=r}static set defaultZone(r){defaultZone=r}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(r){defaultLocale=r}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(r){defaultNumberingSystem=r}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(r){defaultOutputCalendar=r}static get defaultWeekSettings(){return defaultWeekSettings}static set defaultWeekSettings(r){defaultWeekSettings=validateWeekSettings(r)}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(r){twoDigitCutoffYear=r%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(r){throwOnInvalid=r}static resetCaches(){Locale.resetCache(),IANAZone.resetCache(),DateTime$2.resetCache(),resetDigitRegexCache()}}class Invalid{constructor(r,o){this.reason=r,this.explanation=o}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(t,r){return new Invalid("unit out of range",`you specified ${r} (of type ${typeof r}) as a ${t}, which is invalid`)}function dayOfWeek(t,r,o){const a=new Date(Date.UTC(t,r-1,o));t<100&&t>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);const u=a.getUTCDay();return u===0?7:u}function computeOrdinal(t,r,o){return o+(isLeapYear(t)?leapLadder:nonLeapLadder)[r-1]}function uncomputeOrdinal(t,r){const o=isLeapYear(t)?leapLadder:nonLeapLadder,a=o.findIndex(d=>dweeksInWeekYear(a,r,o)?(A=a+1,y=1):A=a,{weekYear:A,weekNumber:y,weekday:v,...timeObject(t)}}function weekToGregorian(t,r=4,o=1){const{weekYear:a,weekNumber:u,weekday:d}=t,g=isoWeekdayToLocal(dayOfWeek(a,1,r),o),v=daysInYear(a);let y=u*7+d-g-7+r,A;y<1?(A=a-1,y+=daysInYear(A)):y>v?(A=a+1,y-=daysInYear(a)):A=a;const{month:b,day:_}=uncomputeOrdinal(A,y);return{year:A,month:b,day:_,...timeObject(t)}}function gregorianToOrdinal(t){const{year:r,month:o,day:a}=t,u=computeOrdinal(r,o,a);return{year:r,ordinal:u,...timeObject(t)}}function ordinalToGregorian(t){const{year:r,ordinal:o}=t,{month:a,day:u}=uncomputeOrdinal(r,o);return{year:r,month:a,day:u,...timeObject(t)}}function usesLocalWeekValues(t,r){if(!isUndefined(t.localWeekday)||!isUndefined(t.localWeekNumber)||!isUndefined(t.localWeekYear)){if(!isUndefined(t.weekday)||!isUndefined(t.weekNumber)||!isUndefined(t.weekYear))throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields");return isUndefined(t.localWeekday)||(t.weekday=t.localWeekday),isUndefined(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),isUndefined(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:r.getMinDaysInFirstWeek(),startOfWeek:r.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData(t,r=4,o=1){const a=isInteger(t.weekYear),u=integerBetween(t.weekNumber,1,weeksInWeekYear(t.weekYear,r,o)),d=integerBetween(t.weekday,1,7);return a?u?d?!1:unitOutOfRange("weekday",t.weekday):unitOutOfRange("week",t.weekNumber):unitOutOfRange("weekYear",t.weekYear)}function hasInvalidOrdinalData(t){const r=isInteger(t.year),o=integerBetween(t.ordinal,1,daysInYear(t.year));return r?o?!1:unitOutOfRange("ordinal",t.ordinal):unitOutOfRange("year",t.year)}function hasInvalidGregorianData(t){const r=isInteger(t.year),o=integerBetween(t.month,1,12),a=integerBetween(t.day,1,daysInMonth(t.year,t.month));return r?o?a?!1:unitOutOfRange("day",t.day):unitOutOfRange("month",t.month):unitOutOfRange("year",t.year)}function hasInvalidTimeData(t){const{hour:r,minute:o,second:a,millisecond:u}=t,d=integerBetween(r,0,23)||r===24&&o===0&&a===0&&u===0,g=integerBetween(o,0,59),v=integerBetween(a,0,59),y=integerBetween(u,0,999);return d?g?v?y?!1:unitOutOfRange("millisecond",u):unitOutOfRange("second",a):unitOutOfRange("minute",o):unitOutOfRange("hour",r)}function isUndefined(t){return typeof t=="undefined"}function isNumber(t){return typeof t=="number"}function isInteger(t){return typeof t=="number"&&t%1===0}function isString(t){return typeof t=="string"}function isDate(t){return Object.prototype.toString.call(t)==="[object Date]"}function hasRelative(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function hasLocaleWeekInfo(){try{return typeof Intl!="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function maybeArray(t){return Array.isArray(t)?t:[t]}function bestBy(t,r,o){if(t.length!==0)return t.reduce((a,u)=>{const d=[r(u),u];return a&&o(a[0],d[0])===a[0]?a:d},null)[1]}function pick(t,r){return r.reduce((o,a)=>(o[a]=t[a],o),{})}function hasOwnProperty$1(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function validateWeekSettings(t){if(t==null)return null;if(typeof t!="object")throw new InvalidArgumentError("Week settings must be an object");if(!integerBetween(t.firstDay,1,7)||!integerBetween(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(r=>!integerBetween(r,1,7)))throw new InvalidArgumentError("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function integerBetween(t,r,o){return isInteger(t)&&t>=r&&t<=o}function floorMod(t,r){return t-r*Math.floor(t/r)}function padStart(t,r=2){const o=t<0;let a;return o?a="-"+(""+-t).padStart(r,"0"):a=(""+t).padStart(r,"0"),a}function parseInteger(t){if(!(isUndefined(t)||t===null||t===""))return parseInt(t,10)}function parseFloating(t){if(!(isUndefined(t)||t===null||t===""))return parseFloat(t)}function parseMillis(t){if(!(isUndefined(t)||t===null||t==="")){const r=parseFloat("0."+t)*1e3;return Math.floor(r)}}function roundTo(t,r,o=!1){const a=10**r;return(o?Math.trunc:Math.round)(t*a)/a}function isLeapYear(t){return t%4===0&&(t%100!==0||t%400===0)}function daysInYear(t){return isLeapYear(t)?366:365}function daysInMonth(t,r){const o=floorMod(r-1,12)+1,a=t+(r-o)/12;return o===2?isLeapYear(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][o-1]}function objToLocalTS(t){let r=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(r=new Date(r),r.setUTCFullYear(t.year,t.month-1,t.day)),+r}function firstWeekOffset(t,r,o){return-isoWeekdayToLocal(dayOfWeek(t,1,r),o)+r-1}function weeksInWeekYear(t,r=4,o=1){const a=firstWeekOffset(t,r,o),u=firstWeekOffset(t+1,r,o);return(daysInYear(t)-a+u)/7}function untruncateYear(t){return t>99?t:t>Settings.twoDigitCutoffYear?1900+t:2e3+t}function parseZoneInfo(t,r,o,a=null){const u=new Date(t),d={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(d.timeZone=a);const g={timeZoneName:r,...d},v=new Intl.DateTimeFormat(o,g).formatToParts(u).find(y=>y.type.toLowerCase()==="timezonename");return v?v.value:null}function signedOffset(t,r){let o=parseInt(t,10);Number.isNaN(o)&&(o=0);const a=parseInt(r,10)||0,u=o<0||Object.is(o,-0)?-a:a;return o*60+u}function asNumber(t){const r=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(r))throw new InvalidArgumentError(`Invalid unit value ${t}`);return r}function normalizeObject(t,r){const o={};for(const a in t)if(hasOwnProperty$1(t,a)){const u=t[a];if(u==null)continue;o[r(a)]=asNumber(u)}return o}function formatOffset(t,r){const o=Math.trunc(Math.abs(t/60)),a=Math.trunc(Math.abs(t%60)),u=t>=0?"+":"-";switch(r){case"short":return`${u}${padStart(o,2)}:${padStart(a,2)}`;case"narrow":return`${u}${o}${a>0?`:${a}`:""}`;case"techie":return`${u}${padStart(o,2)}${padStart(a,2)}`;default:throw new RangeError(`Value format ${r} is out of range for property format`)}}function timeObject(t){return pick(t,["hour","minute","second","millisecond"])}const monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(t){switch(t){case"narrow":return[...monthsNarrow];case"short":return[...monthsShort];case"long":return[...monthsLong];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(t){switch(t){case"narrow":return[...weekdaysNarrow];case"short":return[...weekdaysShort];case"long":return[...weekdaysLong];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"];function eras(t){switch(t){case"narrow":return[...erasNarrow];case"short":return[...erasShort];case"long":return[...erasLong];default:return null}}function meridiemForDateTime(t){return meridiems[t.hour<12?0:1]}function weekdayForDateTime(t,r){return weekdays(r)[t.weekday-1]}function monthForDateTime(t,r){return months(r)[t.month-1]}function eraForDateTime(t,r){return eras(r)[t.year<0?0:1]}function formatRelativeTime(t,r,o="always",a=!1){const u={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},d=["hours","minutes","seconds"].indexOf(t)===-1;if(o==="auto"&&d){const _=t==="days";switch(r){case 1:return _?"tomorrow":`next ${u[t][0]}`;case-1:return _?"yesterday":`last ${u[t][0]}`;case 0:return _?"today":`this ${u[t][0]}`}}const g=Object.is(r,-0)||r<0,v=Math.abs(r),y=v===1,A=u[t],b=a?y?A[1]:A[2]||A[1]:y?u[t][0]:t;return g?`${v} ${b} ago`:`in ${v} ${b}`}function stringifyTokens(t,r){let o="";for(const a of t)a.literal?o+=a.val:o+=r(a.val);return o}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};class Formatter{static create(r,o={}){return new Formatter(r,o)}static parseFormat(r){let o=null,a="",u=!1;const d=[];for(let g=0;g0&&d.push({literal:u||/^\s+$/.test(a),val:a}),o=null,a="",u=!u):u||v===o?a+=v:(a.length>0&&d.push({literal:/^\s+$/.test(a),val:a}),a=v,o=v)}return a.length>0&&d.push({literal:u||/^\s+$/.test(a),val:a}),d}static macroTokenToFormatOpts(r){return macroTokenToFormatOpts[r]}constructor(r,o){this.opts=o,this.loc=r,this.systemLoc=null}formatWithSystemDefault(r,o){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(r,{...this.opts,...o}).format()}dtFormatter(r,o={}){return this.loc.dtFormatter(r,{...this.opts,...o})}formatDateTime(r,o){return this.dtFormatter(r,o).format()}formatDateTimeParts(r,o){return this.dtFormatter(r,o).formatToParts()}formatInterval(r,o){return this.dtFormatter(r.start,o).dtf.formatRange(r.start.toJSDate(),r.end.toJSDate())}resolvedOptions(r,o){return this.dtFormatter(r,o).resolvedOptions()}num(r,o=0){if(this.opts.forceSimple)return padStart(r,o);const a={...this.opts};return o>0&&(a.padTo=o),this.loc.numberFormatter(a).format(r)}formatDateTimeFromString(r,o){const a=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",d=(S,C)=>this.loc.extract(r,S,C),g=S=>r.isOffsetFixed&&r.offset===0&&S.allowZ?"Z":r.isValid?r.zone.formatOffset(r.ts,S.format):"",v=()=>a?meridiemForDateTime(r):d({hour:"numeric",hourCycle:"h12"},"dayperiod"),y=(S,C)=>a?monthForDateTime(r,S):d(C?{month:S}:{month:S,day:"numeric"},"month"),A=(S,C)=>a?weekdayForDateTime(r,S):d(C?{weekday:S}:{weekday:S,month:"long",day:"numeric"},"weekday"),b=S=>{const C=Formatter.macroTokenToFormatOpts(S);return C?this.formatWithSystemDefault(r,C):S},_=S=>a?eraForDateTime(r,S):d({era:S},"era"),w=S=>{switch(S){case"S":return this.num(r.millisecond);case"u":case"SSS":return this.num(r.millisecond,3);case"s":return this.num(r.second);case"ss":return this.num(r.second,2);case"uu":return this.num(Math.floor(r.millisecond/10),2);case"uuu":return this.num(Math.floor(r.millisecond/100));case"m":return this.num(r.minute);case"mm":return this.num(r.minute,2);case"h":return this.num(r.hour%12===0?12:r.hour%12);case"hh":return this.num(r.hour%12===0?12:r.hour%12,2);case"H":return this.num(r.hour);case"HH":return this.num(r.hour,2);case"Z":return g({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return g({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return g({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return r.zone.offsetName(r.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return r.zone.offsetName(r.ts,{format:"long",locale:this.loc.locale});case"z":return r.zoneName;case"a":return v();case"d":return u?d({day:"numeric"},"day"):this.num(r.day);case"dd":return u?d({day:"2-digit"},"day"):this.num(r.day,2);case"c":return this.num(r.weekday);case"ccc":return A("short",!0);case"cccc":return A("long",!0);case"ccccc":return A("narrow",!0);case"E":return this.num(r.weekday);case"EEE":return A("short",!1);case"EEEE":return A("long",!1);case"EEEEE":return A("narrow",!1);case"L":return u?d({month:"numeric",day:"numeric"},"month"):this.num(r.month);case"LL":return u?d({month:"2-digit",day:"numeric"},"month"):this.num(r.month,2);case"LLL":return y("short",!0);case"LLLL":return y("long",!0);case"LLLLL":return y("narrow",!0);case"M":return u?d({month:"numeric"},"month"):this.num(r.month);case"MM":return u?d({month:"2-digit"},"month"):this.num(r.month,2);case"MMM":return y("short",!1);case"MMMM":return y("long",!1);case"MMMMM":return y("narrow",!1);case"y":return u?d({year:"numeric"},"year"):this.num(r.year);case"yy":return u?d({year:"2-digit"},"year"):this.num(r.year.toString().slice(-2),2);case"yyyy":return u?d({year:"numeric"},"year"):this.num(r.year,4);case"yyyyyy":return u?d({year:"numeric"},"year"):this.num(r.year,6);case"G":return _("short");case"GG":return _("long");case"GGGGG":return _("narrow");case"kk":return this.num(r.weekYear.toString().slice(-2),2);case"kkkk":return this.num(r.weekYear,4);case"W":return this.num(r.weekNumber);case"WW":return this.num(r.weekNumber,2);case"n":return this.num(r.localWeekNumber);case"nn":return this.num(r.localWeekNumber,2);case"ii":return this.num(r.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(r.localWeekYear,4);case"o":return this.num(r.ordinal);case"ooo":return this.num(r.ordinal,3);case"q":return this.num(r.quarter);case"qq":return this.num(r.quarter,2);case"X":return this.num(Math.floor(r.ts/1e3));case"x":return this.num(r.ts);default:return b(S)}};return stringifyTokens(Formatter.parseFormat(o),w)}formatDurationFromString(r,o){const a=y=>{switch(y[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=y=>A=>{const b=a(A);return b?this.num(y.get(b),A.length):A},d=Formatter.parseFormat(o),g=d.reduce((y,{literal:A,val:b})=>A?y:y.concat(b),[]),v=r.shiftTo(...g.map(a).filter(y=>y));return stringifyTokens(d,u(v))}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...t){const r=t.reduce((o,a)=>o+a.source,"");return RegExp(`^${r}$`)}function combineExtractors(...t){return r=>t.reduce(([o,a,u],d)=>{const[g,v,y]=d(r,u);return[{...o,...g},v||a,y]},[{},null,1]).slice(0,2)}function parse(t,...r){if(t==null)return[null,null];for(const[o,a]of r){const u=o.exec(t);if(u)return a(u)}return[null,null]}function simpleParse(...t){return(r,o)=>{const a={};let u;for(u=0;uS!==void 0&&(C||S&&b)?-S:S;return[{years:w(parseFloating(o)),months:w(parseFloating(a)),weeks:w(parseFloating(u)),days:w(parseFloating(d)),hours:w(parseFloating(g)),minutes:w(parseFloating(v)),seconds:w(parseFloating(y),y==="-0"),milliseconds:w(parseMillis(A),_)}]}const obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(t,r,o,a,u,d,g){const v={year:r.length===2?untruncateYear(parseInteger(r)):parseInteger(r),month:monthsShort.indexOf(o)+1,day:parseInteger(a),hour:parseInteger(u),minute:parseInteger(d)};return g&&(v.second=parseInteger(g)),t&&(v.weekday=t.length>3?weekdaysLong.indexOf(t)+1:weekdaysShort.indexOf(t)+1),v}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(t){const[,r,o,a,u,d,g,v,y,A,b,_]=t,w=fromStrings(r,u,a,o,d,g,v);let S;return y?S=obsOffsets[y]:A?S=0:S=signedOffset(b,_),[w,new FixedOffsetZone(S)]}function preprocessRFC2822(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(t){const[,r,o,a,u,d,g,v]=t;return[fromStrings(r,u,a,o,d,g,v),FixedOffsetZone.utcInstance]}function extractASCII(t){const[,r,o,a,u,d,g,v]=t;return[fromStrings(r,v,o,a,u,d,g),FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(t){return parse(t,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(t){return parse(preprocessRFC2822(t),[rfc2822,extractRFC2822])}function parseHTTPDate(t){return parse(t,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(t){return parse(t,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(t){return parse(t,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(t){return parse(t,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2="Invalid Duration",lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$1$1(t,r,o=!1){const a={values:o?r.values:{...t.values,...r.values||{}},loc:t.loc.clone(r.loc),conversionAccuracy:r.conversionAccuracy||t.conversionAccuracy,matrix:r.matrix||t.matrix};return new Duration(a)}function durationToMillis(t,r){var o;let a=(o=r.milliseconds)!=null?o:0;for(const u of reverseUnits.slice(1))r[u]&&(a+=r[u]*t[u].milliseconds);return a}function normalizeValues(t,r){const o=durationToMillis(t,r)<0?-1:1;orderedUnits$1.reduceRight((a,u)=>{if(isUndefined(r[u]))return a;if(a){const d=r[a]*o,g=t[u][a],v=Math.floor(d/g);r[u]+=v*o,r[a]-=v*g*o}return u},null),orderedUnits$1.reduce((a,u)=>{if(isUndefined(r[u]))return a;if(a){const d=r[a]%1;r[a]-=d,r[u]+=d*t[a][u]}return u},null)}function removeZeroes(t){const r={};for(const[o,a]of Object.entries(t))a!==0&&(r[o]=a);return r}class Duration{constructor(r){const o=r.conversionAccuracy==="longterm"||!1;let a=o?accurateMatrix:casualMatrix;r.matrix&&(a=r.matrix),this.values=r.values,this.loc=r.loc||Locale.create(),this.conversionAccuracy=o?"longterm":"casual",this.invalid=r.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(r,o){return Duration.fromObject({milliseconds:r},o)}static fromObject(r,o={}){if(r==null||typeof r!="object")throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${r===null?"null":typeof r}`);return new Duration({values:normalizeObject(r,Duration.normalizeUnit),loc:Locale.fromObject(o),conversionAccuracy:o.conversionAccuracy,matrix:o.matrix})}static fromDurationLike(r){if(isNumber(r))return Duration.fromMillis(r);if(Duration.isDuration(r))return r;if(typeof r=="object")return Duration.fromObject(r);throw new InvalidArgumentError(`Unknown duration argument ${r} of type ${typeof r}`)}static fromISO(r,o){const[a]=parseISODuration(r);return a?Duration.fromObject(a,o):Duration.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static fromISOTime(r,o){const[a]=parseISOTimeOnly(r);return a?Duration.fromObject(a,o):Duration.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static invalid(r,o=null){if(!r)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");const a=r instanceof Invalid?r:new Invalid(r,o);if(Settings.throwOnInvalid)throw new InvalidDurationError(a);return new Duration({invalid:a})}static normalizeUnit(r){const o={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[r&&r.toLowerCase()];if(!o)throw new InvalidUnitError(r);return o}static isDuration(r){return r&&r.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(r,o={}){const a={...o,floor:o.round!==!1&&o.floor!==!1};return this.isValid?Formatter.create(this.loc,a).formatDurationFromString(this,r):INVALID$2}toHuman(r={}){if(!this.isValid)return INVALID$2;const o=orderedUnits$1.map(a=>{const u=this.values[a];return isUndefined(u)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...r,unit:a.slice(0,-1)}).format(u)}).filter(a=>a);return this.loc.listFormatter({type:"conjunction",style:r.listStyle||"narrow",...r}).format(o)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let r="P";return this.years!==0&&(r+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(r+=this.months+this.quarters*3+"M"),this.weeks!==0&&(r+=this.weeks+"W"),this.days!==0&&(r+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(r+="T"),this.hours!==0&&(r+=this.hours+"H"),this.minutes!==0&&(r+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(r+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),r==="P"&&(r+="T0S"),r}toISOTime(r={}){if(!this.isValid)return null;const o=this.toMillis();return o<0||o>=864e5?null:(r={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...r,includeOffset:!1},DateTime$2.fromMillis(o,{zone:"UTC"}).toISOTime(r))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r),a={};for(const u of orderedUnits$1)(hasOwnProperty$1(o.values,u)||hasOwnProperty$1(this.values,u))&&(a[u]=o.get(u)+this.get(u));return clone$1$1(this,{values:a},!0)}minus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r);return this.plus(o.negate())}mapUnits(r){if(!this.isValid)return this;const o={};for(const a of Object.keys(this.values))o[a]=asNumber(r(this.values[a],a));return clone$1$1(this,{values:o},!0)}get(r){return this[Duration.normalizeUnit(r)]}set(r){if(!this.isValid)return this;const o={...this.values,...normalizeObject(r,Duration.normalizeUnit)};return clone$1$1(this,{values:o})}reconfigure({locale:r,numberingSystem:o,conversionAccuracy:a,matrix:u}={}){const g={loc:this.loc.clone({locale:r,numberingSystem:o}),matrix:u,conversionAccuracy:a};return clone$1$1(this,g)}as(r){return this.isValid?this.shiftTo(r).get(r):NaN}normalize(){if(!this.isValid)return this;const r=this.toObject();return normalizeValues(this.matrix,r),clone$1$1(this,{values:r},!0)}rescale(){if(!this.isValid)return this;const r=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1$1(this,{values:r},!0)}shiftTo(...r){if(!this.isValid)return this;if(r.length===0)return this;r=r.map(g=>Duration.normalizeUnit(g));const o={},a={},u=this.toObject();let d;for(const g of orderedUnits$1)if(r.indexOf(g)>=0){d=g;let v=0;for(const A in a)v+=this.matrix[A][g]*a[A],a[A]=0;isNumber(u[g])&&(v+=u[g]);const y=Math.trunc(v);o[g]=y,a[g]=(v*1e3-y*1e3)/1e3}else isNumber(u[g])&&(a[g]=u[g]);for(const g in a)a[g]!==0&&(o[d]+=g===d?a[g]:a[g]/this.matrix[d][g]);return normalizeValues(this.matrix,o),clone$1$1(this,{values:o},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const r={};for(const o of Object.keys(this.values))r[o]=this.values[o]===0?0:-this.values[o];return clone$1$1(this,{values:r},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(r){if(!this.isValid||!r.isValid||!this.loc.equals(r.loc))return!1;function o(a,u){return a===void 0||a===0?u===void 0||u===0:a===u}for(const a of orderedUnits$1)if(!o(this.values[a],r.values[a]))return!1;return!0}}const INVALID$1="Invalid Interval";function validateStartEnd(t,r){return!t||!t.isValid?Interval.invalid("missing or invalid start"):!r||!r.isValid?Interval.invalid("missing or invalid end"):rr:!1}isBefore(r){return this.isValid?this.e<=r:!1}contains(r){return this.isValid?this.s<=r&&this.e>r:!1}set({start:r,end:o}={}){return this.isValid?Interval.fromDateTimes(r||this.s,o||this.e):this}splitAt(...r){if(!this.isValid)return[];const o=r.map(friendlyDateTime).filter(g=>this.contains(g)).sort((g,v)=>g.toMillis()-v.toMillis()),a=[];let{s:u}=this,d=0;for(;u+this.e?this.e:g;a.push(Interval.fromDateTimes(u,v)),u=v,d+=1}return a}splitBy(r){const o=Duration.fromDurationLike(r);if(!this.isValid||!o.isValid||o.as("milliseconds")===0)return[];let{s:a}=this,u=1,d;const g=[];for(;ay*u));d=+v>+this.e?this.e:v,g.push(Interval.fromDateTimes(a,d)),a=d,u+=1}return g}divideEqually(r){return this.isValid?this.splitBy(this.length()/r).slice(0,r):[]}overlaps(r){return this.e>r.s&&this.s=r.e:!1}equals(r){return!this.isValid||!r.isValid?!1:this.s.equals(r.s)&&this.e.equals(r.e)}intersection(r){if(!this.isValid)return this;const o=this.s>r.s?this.s:r.s,a=this.e=a?null:Interval.fromDateTimes(o,a)}union(r){if(!this.isValid)return this;const o=this.sr.e?this.e:r.e;return Interval.fromDateTimes(o,a)}static merge(r){const[o,a]=r.sort((u,d)=>u.s-d.s).reduce(([u,d],g)=>d?d.overlaps(g)||d.abutsStart(g)?[u,d.union(g)]:[u.concat([d]),g]:[u,g],[[],null]);return a&&o.push(a),o}static xor(r){let o=null,a=0;const u=[],d=r.map(y=>[{time:y.s,type:"s"},{time:y.e,type:"e"}]),g=Array.prototype.concat(...d),v=g.sort((y,A)=>y.time-A.time);for(const y of v)a+=y.type==="s"?1:-1,a===1?o=y.time:(o&&+o!=+y.time&&u.push(Interval.fromDateTimes(o,y.time)),o=null);return Interval.merge(u)}difference(...r){return Interval.xor([this].concat(r)).map(o=>this.intersection(o)).filter(o=>o&&!o.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:INVALID$1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(r=DATE_SHORT,o={}){return this.isValid?Formatter.create(this.s.loc.clone(o),r).formatInterval(this):INVALID$1}toISO(r){return this.isValid?`${this.s.toISO(r)}/${this.e.toISO(r)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(r){return this.isValid?`${this.s.toISOTime(r)}/${this.e.toISOTime(r)}`:INVALID$1}toFormat(r,{separator:o=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(r)}${o}${this.e.toFormat(r)}`:INVALID$1}toDuration(r,o){return this.isValid?this.e.diff(this.s,r,o):Duration.invalid(this.invalidReason)}mapEndpoints(r){return Interval.fromDateTimes(r(this.s),r(this.e))}}class Info{static hasDST(r=Settings.defaultZone){const o=DateTime$2.now().setZone(r).set({month:12});return!r.isUniversal&&o.offset!==o.set({month:6}).offset}static isValidIANAZone(r){return IANAZone.isValidZone(r)}static normalizeZone(r){return normalizeZone(r,Settings.defaultZone)}static getStartOfWeek({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:r=null,locObj:o=null}={}){return(o||Locale.create(r)).getWeekendDays().slice()}static months(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null,outputCalendar:d="gregory"}={}){return(u||Locale.create(o,a,d)).months(r)}static monthsFormat(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null,outputCalendar:d="gregory"}={}){return(u||Locale.create(o,a,d)).months(r,!0)}static weekdays(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null}={}){return(u||Locale.create(o,a,null)).weekdays(r)}static weekdaysFormat(r="long",{locale:o=null,numberingSystem:a=null,locObj:u=null}={}){return(u||Locale.create(o,a,null)).weekdays(r,!0)}static meridiems({locale:r=null}={}){return Locale.create(r).meridiems()}static eras(r="short",{locale:o=null}={}){return Locale.create(o,null,"gregory").eras(r)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(t,r){const o=u=>u.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=o(r)-o(t);return Math.floor(Duration.fromMillis(a).as("days"))}function highOrderDiffs(t,r,o){const a=[["years",(y,A)=>A.year-y.year],["quarters",(y,A)=>A.quarter-y.quarter+(A.year-y.year)*4],["months",(y,A)=>A.month-y.month+(A.year-y.year)*12],["weeks",(y,A)=>{const b=dayDiff(y,A);return(b-b%7)/7}],["days",dayDiff]],u={},d=t;let g,v;for(const[y,A]of a)o.indexOf(y)>=0&&(g=y,u[y]=A(t,r),v=d.plus(u),v>r?(u[y]--,t=d.plus(u),t>r&&(v=t,u[y]--,t=d.plus(u))):t=v);return[t,u,v,g]}function diff(t,r,o,a){let[u,d,g,v]=highOrderDiffs(t,r,o);const y=r-u,A=o.filter(_=>["hours","minutes","seconds","milliseconds"].indexOf(_)>=0);A.length===0&&(g0?Duration.fromMillis(y,a).shiftTo(...A).plus(b):b}const MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(t,r=o=>o){return{regex:t,deser:([o])=>r(parseDigits(o))}}const NBSP=String.fromCharCode(160),spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(t){return t.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(t){return t.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(t,r){return t===null?null:{regex:RegExp(t.map(fixListRegex).join("|")),deser:([o])=>t.findIndex(a=>stripInsensitivities(o)===stripInsensitivities(a))+r}}function offset(t,r){return{regex:t,deser:([,o,a])=>signedOffset(o,a),groups:r}}function simple(t){return{regex:t,deser:([r])=>r}}function escapeToken(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(t,r){const o=digitRegex(r),a=digitRegex(r,"{2}"),u=digitRegex(r,"{3}"),d=digitRegex(r,"{4}"),g=digitRegex(r,"{6}"),v=digitRegex(r,"{1,2}"),y=digitRegex(r,"{1,3}"),A=digitRegex(r,"{1,6}"),b=digitRegex(r,"{1,9}"),_=digitRegex(r,"{2,4}"),w=digitRegex(r,"{4,6}"),S=I=>({regex:RegExp(escapeToken(I.val)),deser:([E])=>E,literal:!0}),T=(I=>{if(t.literal)return S(I);switch(I.val){case"G":return oneOf(r.eras("short"),0);case"GG":return oneOf(r.eras("long"),0);case"y":return intUnit(A);case"yy":return intUnit(_,untruncateYear);case"yyyy":return intUnit(d);case"yyyyy":return intUnit(w);case"yyyyyy":return intUnit(g);case"M":return intUnit(v);case"MM":return intUnit(a);case"MMM":return oneOf(r.months("short",!0),1);case"MMMM":return oneOf(r.months("long",!0),1);case"L":return intUnit(v);case"LL":return intUnit(a);case"LLL":return oneOf(r.months("short",!1),1);case"LLLL":return oneOf(r.months("long",!1),1);case"d":return intUnit(v);case"dd":return intUnit(a);case"o":return intUnit(y);case"ooo":return intUnit(u);case"HH":return intUnit(a);case"H":return intUnit(v);case"hh":return intUnit(a);case"h":return intUnit(v);case"mm":return intUnit(a);case"m":return intUnit(v);case"q":return intUnit(v);case"qq":return intUnit(a);case"s":return intUnit(v);case"ss":return intUnit(a);case"S":return intUnit(y);case"SSS":return intUnit(u);case"u":return simple(b);case"uu":return simple(v);case"uuu":return intUnit(o);case"a":return oneOf(r.meridiems(),0);case"kkkk":return intUnit(d);case"kk":return intUnit(_,untruncateYear);case"W":return intUnit(v);case"WW":return intUnit(a);case"E":case"c":return intUnit(o);case"EEE":return oneOf(r.weekdays("short",!1),1);case"EEEE":return oneOf(r.weekdays("long",!1),1);case"ccc":return oneOf(r.weekdays("short",!0),1);case"cccc":return oneOf(r.weekdays("long",!0),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${v.source})(?::(${a.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${v.source})(${a.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return S(I)}})(t)||{invalidReason:MISSING_FTP};return T.token=t,T}const partTypeStyleToTokenVal={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(t,r,o){const{type:a,value:u}=t;if(a==="literal"){const y=/^\s+$/.test(u);return{literal:!y,val:y?" ":u}}const d=r[a];let g=a;a==="hour"&&(r.hour12!=null?g=r.hour12?"hour12":"hour24":r.hourCycle!=null?r.hourCycle==="h11"||r.hourCycle==="h12"?g="hour12":g="hour24":g=o.hour12?"hour12":"hour24");let v=partTypeStyleToTokenVal[g];if(typeof v=="object"&&(v=v[d]),v)return{literal:!1,val:v}}function buildRegex(t){return[`^${t.map(o=>o.regex).reduce((o,a)=>`${o}(${a.source})`,"")}$`,t]}function match(t,r,o){const a=t.match(r);if(a){const u={};let d=1;for(const g in o)if(hasOwnProperty$1(o,g)){const v=o[g],y=v.groups?v.groups+1:1;!v.literal&&v.token&&(u[v.token.val[0]]=v.deser(a.slice(d,d+y))),d+=y}return[a,u]}else return[a,{}]}function dateTimeFromMatches(t){const r=d=>{switch(d){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let o=null,a;return isUndefined(t.z)||(o=IANAZone.create(t.z)),isUndefined(t.Z)||(o||(o=new FixedOffsetZone(t.Z)),a=t.Z),isUndefined(t.q)||(t.M=(t.q-1)*3+1),isUndefined(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),isUndefined(t.u)||(t.S=parseMillis(t.u)),[Object.keys(t).reduce((d,g)=>{const v=r(g);return v&&(d[v]=t[g]),d},{}),o,a]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime$2.fromMillis(1555555555555)),dummyDateTimeCache}function maybeExpandMacroToken(t,r){if(t.literal)return t;const o=Formatter.macroTokenToFormatOpts(t.val),a=formatOptsToTokens(o,r);return a==null||a.includes(void 0)?t:a}function expandMacroTokens(t,r){return Array.prototype.concat(...t.map(o=>maybeExpandMacroToken(o,r)))}class TokenParser{constructor(r,o){if(this.locale=r,this.format=o,this.tokens=expandMacroTokens(Formatter.parseFormat(o),r),this.units=this.tokens.map(a=>unitForToken(a,r)),this.disqualifyingUnit=this.units.find(a=>a.invalidReason),!this.disqualifyingUnit){const[a,u]=buildRegex(this.units);this.regex=RegExp(a,"i"),this.handlers=u}}explainFromTokens(r){if(this.isValid){const[o,a]=match(r,this.regex,this.handlers),[u,d,g]=a?dateTimeFromMatches(a):[null,null,void 0];if(hasOwnProperty$1(a,"a")&&hasOwnProperty$1(a,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:r,tokens:this.tokens,regex:this.regex,rawMatches:o,matches:a,result:u,zone:d,specificOffset:g}}else return{input:r,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function explainFromTokens(t,r,o){return new TokenParser(t,o).explainFromTokens(r)}function parseFromTokens(t,r,o){const{result:a,zone:u,specificOffset:d,invalidReason:g}=explainFromTokens(t,r,o);return[a,u,d,g]}function formatOptsToTokens(t,r){if(!t)return null;const a=Formatter.create(r,t).dtFormatter(getDummyDateTime()),u=a.formatToParts(),d=a.resolvedOptions();return u.map(g=>tokenForPart(g,t,d))}const INVALID="Invalid DateTime",MAX_DATE=864e13;function unsupportedZone(t){return new Invalid("unsupported zone",`the zone "${t.name}" is not supported`)}function possiblyCachedWeekData(t){return t.weekData===null&&(t.weekData=gregorianToWeek(t.c)),t.weekData}function possiblyCachedLocalWeekData(t){return t.localWeekData===null&&(t.localWeekData=gregorianToWeek(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function clone$2(t,r){const o={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new DateTime$2({...o,...r,old:o})}function fixOffset(t,r,o){let a=t-r*60*1e3;const u=o.offset(a);if(r===u)return[a,r];a-=(u-r)*60*1e3;const d=o.offset(a);return u===d?[a,u]:[t-Math.min(u,d)*60*1e3,Math.max(u,d)]}function tsToObj(t,r){t+=r*60*1e3;const o=new Date(t);return{year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate(),hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds()}}function objToTS(t,r,o){return fixOffset(objToLocalTS(t),r,o)}function adjustTime(t,r){const o=t.o,a=t.c.year+Math.trunc(r.years),u=t.c.month+Math.trunc(r.months)+Math.trunc(r.quarters)*3,d={...t.c,year:a,month:u,day:Math.min(t.c.day,daysInMonth(a,u))+Math.trunc(r.days)+Math.trunc(r.weeks)*7},g=Duration.fromObject({years:r.years-Math.trunc(r.years),quarters:r.quarters-Math.trunc(r.quarters),months:r.months-Math.trunc(r.months),weeks:r.weeks-Math.trunc(r.weeks),days:r.days-Math.trunc(r.days),hours:r.hours,minutes:r.minutes,seconds:r.seconds,milliseconds:r.milliseconds}).as("milliseconds"),v=objToLocalTS(d);let[y,A]=fixOffset(v,o,t.zone);return g!==0&&(y+=g,A=t.zone.offset(y)),{ts:y,o:A}}function parseDataToDateTime(t,r,o,a,u,d){const{setZone:g,zone:v}=o;if(t&&Object.keys(t).length!==0||r){const y=r||v,A=DateTime$2.fromObject(t,{...o,zone:y,specificOffset:d});return g?A:A.setZone(v)}else return DateTime$2.invalid(new Invalid("unparsable",`the input "${u}" can't be parsed as ${a}`))}function toTechFormat(t,r,o=!0){return t.isValid?Formatter.create(Locale.create("en-US"),{allowZ:o,forceSimple:!0}).formatDateTimeFromString(t,r):null}function toISODate(t,r){const o=t.c.year>9999||t.c.year<0;let a="";return o&&t.c.year>=0&&(a+="+"),a+=padStart(t.c.year,o?6:4),r?(a+="-",a+=padStart(t.c.month),a+="-",a+=padStart(t.c.day)):(a+=padStart(t.c.month),a+=padStart(t.c.day)),a}function toISOTime(t,r,o,a,u,d){let g=padStart(t.c.hour);return r?(g+=":",g+=padStart(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!o)&&(g+=":")):g+=padStart(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!o)&&(g+=padStart(t.c.second),(t.c.millisecond!==0||!a)&&(g+=".",g+=padStart(t.c.millisecond,3))),u&&(t.isOffsetFixed&&t.offset===0&&!d?g+="Z":t.o<0?(g+="-",g+=padStart(Math.trunc(-t.o/60)),g+=":",g+=padStart(Math.trunc(-t.o%60))):(g+="+",g+=padStart(Math.trunc(t.o/60)),g+=":",g+=padStart(Math.trunc(t.o%60)))),d&&(g+="["+t.zone.ianaName+"]"),g}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(t){const r={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!r)throw new InvalidUnitError(t);return r}function normalizeUnitWithLocalWeeks(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(t)}}function guessOffsetForZone(t){return zoneOffsetGuessCache[t]||(zoneOffsetTs===void 0&&(zoneOffsetTs=Settings.now()),zoneOffsetGuessCache[t]=t.offset(zoneOffsetTs)),zoneOffsetGuessCache[t]}function quickDT(t,r){const o=normalizeZone(r.zone,Settings.defaultZone);if(!o.isValid)return DateTime$2.invalid(unsupportedZone(o));const a=Locale.fromObject(r);let u,d;if(isUndefined(t.year))u=Settings.now();else{for(const y of orderedUnits)isUndefined(t[y])&&(t[y]=defaultUnitValues[y]);const g=hasInvalidGregorianData(t)||hasInvalidTimeData(t);if(g)return DateTime$2.invalid(g);const v=guessOffsetForZone(o);[u,d]=objToTS(t,v,o)}return new DateTime$2({ts:u,zone:o,loc:a,o:d})}function diffRelative(t,r,o){const a=isUndefined(o.round)?!0:o.round,u=(g,v)=>(g=roundTo(g,a||o.calendary?0:2,!0),r.loc.clone(o).relFormatter(o).format(g,v)),d=g=>o.calendary?r.hasSame(t,g)?0:r.startOf(g).diff(t.startOf(g),g).get(g):r.diff(t,g).get(g);if(o.unit)return u(d(o.unit),o.unit);for(const g of o.units){const v=d(g);if(Math.abs(v)>=1)return u(v,g)}return u(t>r?-0:0,o.units[o.units.length-1])}function lastOpts(t){let r={},o;return t.length>0&&typeof t[t.length-1]=="object"?(r=t[t.length-1],o=Array.from(t).slice(0,t.length-1)):o=Array.from(t),[r,o]}let zoneOffsetTs,zoneOffsetGuessCache={};class DateTime$2{constructor(r){const o=r.zone||Settings.defaultZone;let a=r.invalid||(Number.isNaN(r.ts)?new Invalid("invalid input"):null)||(o.isValid?null:unsupportedZone(o));this.ts=isUndefined(r.ts)?Settings.now():r.ts;let u=null,d=null;if(!a)if(r.old&&r.old.ts===this.ts&&r.old.zone.equals(o))[u,d]=[r.old.c,r.old.o];else{const v=isNumber(r.o)&&!r.old?r.o:o.offset(this.ts);u=tsToObj(this.ts,v),a=Number.isNaN(u.year)?new Invalid("invalid input"):null,u=a?null:u,d=a?null:v}this._zone=o,this.loc=r.loc||Locale.create(),this.invalid=a,this.weekData=null,this.localWeekData=null,this.c=u,this.o=d,this.isLuxonDateTime=!0}static now(){return new DateTime$2({})}static local(){const[r,o]=lastOpts(arguments),[a,u,d,g,v,y,A]=o;return quickDT({year:a,month:u,day:d,hour:g,minute:v,second:y,millisecond:A},r)}static utc(){const[r,o]=lastOpts(arguments),[a,u,d,g,v,y,A]=o;return r.zone=FixedOffsetZone.utcInstance,quickDT({year:a,month:u,day:d,hour:g,minute:v,second:y,millisecond:A},r)}static fromJSDate(r,o={}){const a=isDate(r)?r.valueOf():NaN;if(Number.isNaN(a))return DateTime$2.invalid("invalid input");const u=normalizeZone(o.zone,Settings.defaultZone);return u.isValid?new DateTime$2({ts:a,zone:u,loc:Locale.fromObject(o)}):DateTime$2.invalid(unsupportedZone(u))}static fromMillis(r,o={}){if(isNumber(r))return r<-MAX_DATE||r>MAX_DATE?DateTime$2.invalid("Timestamp out of range"):new DateTime$2({ts:r,zone:normalizeZone(o.zone,Settings.defaultZone),loc:Locale.fromObject(o)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof r} with value ${r}`)}static fromSeconds(r,o={}){if(isNumber(r))return new DateTime$2({ts:r*1e3,zone:normalizeZone(o.zone,Settings.defaultZone),loc:Locale.fromObject(o)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(r,o={}){r=r||{};const a=normalizeZone(o.zone,Settings.defaultZone);if(!a.isValid)return DateTime$2.invalid(unsupportedZone(a));const u=Locale.fromObject(o),d=normalizeObject(r,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:g,startOfWeek:v}=usesLocalWeekValues(d,u),y=Settings.now(),A=isUndefined(o.specificOffset)?a.offset(y):o.specificOffset,b=!isUndefined(d.ordinal),_=!isUndefined(d.year),w=!isUndefined(d.month)||!isUndefined(d.day),S=_||w,C=d.weekYear||d.weekNumber;if((S||b)&&C)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(w&&b)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const T=C||d.weekday&&!S;let I,E,F=tsToObj(y,A);T?(I=orderedWeekUnits,E=defaultWeekUnitValues,F=gregorianToWeek(F,g,v)):b?(I=orderedOrdinalUnits,E=defaultOrdinalUnitValues,F=gregorianToOrdinal(F)):(I=orderedUnits,E=defaultUnitValues);let O=!1;for(const V of I){const Z=d[V];isUndefined(Z)?O?d[V]=E[V]:d[V]=F[V]:O=!0}const D=T?hasInvalidWeekData(d,g,v):b?hasInvalidOrdinalData(d):hasInvalidGregorianData(d),x=D||hasInvalidTimeData(d);if(x)return DateTime$2.invalid(x);const P=T?weekToGregorian(d,g,v):b?ordinalToGregorian(d):d,[G,M]=objToTS(P,A,a),N=new DateTime$2({ts:G,zone:a,o:M,loc:u});return d.weekday&&S&&r.weekday!==N.weekday?DateTime$2.invalid("mismatched weekday",`you can't specify both a weekday of ${d.weekday} and a date of ${N.toISO()}`):N.isValid?N:DateTime$2.invalid(N.invalid)}static fromISO(r,o={}){const[a,u]=parseISODate(r);return parseDataToDateTime(a,u,o,"ISO 8601",r)}static fromRFC2822(r,o={}){const[a,u]=parseRFC2822Date(r);return parseDataToDateTime(a,u,o,"RFC 2822",r)}static fromHTTP(r,o={}){const[a,u]=parseHTTPDate(r);return parseDataToDateTime(a,u,o,"HTTP",o)}static fromFormat(r,o,a={}){if(isUndefined(r)||isUndefined(o))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0}),[v,y,A,b]=parseFromTokens(g,r,o);return b?DateTime$2.invalid(b):parseDataToDateTime(v,y,a,`format ${o}`,r,A)}static fromString(r,o,a={}){return DateTime$2.fromFormat(r,o,a)}static fromSQL(r,o={}){const[a,u]=parseSQL(r);return parseDataToDateTime(a,u,o,"SQL",r)}static invalid(r,o=null){if(!r)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const a=r instanceof Invalid?r:new Invalid(r,o);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(a);return new DateTime$2({invalid:a})}static isDateTime(r){return r&&r.isLuxonDateTime||!1}static parseFormatForOpts(r,o={}){const a=formatOptsToTokens(r,Locale.fromObject(o));return a?a.map(u=>u?u.val:null).join(""):null}static expandFormat(r,o={}){return expandMacroTokens(Formatter.parseFormat(r),Locale.fromObject(o)).map(u=>u.val).join("")}static resetCache(){zoneOffsetTs=void 0,zoneOffsetGuessCache={}}get(r){return this[r]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const r=864e5,o=6e4,a=objToLocalTS(this.c),u=this.zone.offset(a-r),d=this.zone.offset(a+r),g=this.zone.offset(a-u*o),v=this.zone.offset(a-d*o);if(g===v)return[this];const y=a-g*o,A=a-v*o,b=tsToObj(y,g),_=tsToObj(A,v);return b.hour===_.hour&&b.minute===_.minute&&b.second===_.second&&b.millisecond===_.millisecond?[clone$2(this,{ts:y}),clone$2(this,{ts:A})]:[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(r={}){const{locale:o,numberingSystem:a,calendar:u}=Formatter.create(this.loc.clone(r),r).resolvedOptions(this);return{locale:o,numberingSystem:a,outputCalendar:u}}toUTC(r=0,o={}){return this.setZone(FixedOffsetZone.instance(r),o)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(r,{keepLocalTime:o=!1,keepCalendarTime:a=!1}={}){if(r=normalizeZone(r,Settings.defaultZone),r.equals(this.zone))return this;if(r.isValid){let u=this.ts;if(o||a){const d=r.offset(this.ts),g=this.toObject();[u]=objToTS(g,d,r)}return clone$2(this,{ts:u,zone:r})}else return DateTime$2.invalid(unsupportedZone(r))}reconfigure({locale:r,numberingSystem:o,outputCalendar:a}={}){const u=this.loc.clone({locale:r,numberingSystem:o,outputCalendar:a});return clone$2(this,{loc:u})}setLocale(r){return this.reconfigure({locale:r})}set(r){if(!this.isValid)return this;const o=normalizeObject(r,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:a,startOfWeek:u}=usesLocalWeekValues(o,this.loc),d=!isUndefined(o.weekYear)||!isUndefined(o.weekNumber)||!isUndefined(o.weekday),g=!isUndefined(o.ordinal),v=!isUndefined(o.year),y=!isUndefined(o.month)||!isUndefined(o.day),A=v||y,b=o.weekYear||o.weekNumber;if((A||g)&&b)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(y&&g)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let _;d?_=weekToGregorian({...gregorianToWeek(this.c,a,u),...o},a,u):isUndefined(o.ordinal)?(_={...this.toObject(),...o},isUndefined(o.day)&&(_.day=Math.min(daysInMonth(_.year,_.month),_.day))):_=ordinalToGregorian({...gregorianToOrdinal(this.c),...o});const[w,S]=objToTS(_,this.o,this.zone);return clone$2(this,{ts:w,o:S})}plus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r);return clone$2(this,adjustTime(this,o))}minus(r){if(!this.isValid)return this;const o=Duration.fromDurationLike(r).negate();return clone$2(this,adjustTime(this,o))}startOf(r,{useLocaleWeeks:o=!1}={}){if(!this.isValid)return this;const a={},u=Duration.normalizeUnit(r);switch(u){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(u==="weeks")if(o){const d=this.loc.getStartOfWeek(),{weekday:g}=this;gthis.valueOf(),v=g?this:r,y=g?r:this,A=diff(v,y,d,u);return g?A.negate():A}diffNow(r="milliseconds",o={}){return this.diff(DateTime$2.now(),r,o)}until(r){return this.isValid?Interval.fromDateTimes(this,r):this}hasSame(r,o,a){if(!this.isValid)return!1;const u=r.valueOf(),d=this.setZone(r.zone,{keepLocalTime:!0});return d.startOf(o,a)<=u&&u<=d.endOf(o,a)}equals(r){return this.isValid&&r.isValid&&this.valueOf()===r.valueOf()&&this.zone.equals(r.zone)&&this.loc.equals(r.loc)}toRelative(r={}){if(!this.isValid)return null;const o=r.base||DateTime$2.fromObject({},{zone:this.zone}),a=r.padding?thiso.valueOf(),Math.min)}static max(...r){if(!r.every(DateTime$2.isDateTime))throw new InvalidArgumentError("max requires all arguments be DateTimes");return bestBy(r,o=>o.valueOf(),Math.max)}static fromFormatExplain(r,o,a={}){const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0});return explainFromTokens(g,r,o)}static fromStringExplain(r,o,a={}){return DateTime$2.fromFormatExplain(r,o,a)}static buildFormatParser(r,o={}){const{locale:a=null,numberingSystem:u=null}=o,d=Locale.fromOpts({locale:a,numberingSystem:u,defaultToEN:!0});return new TokenParser(d,r)}static fromFormatParser(r,o,a={}){if(isUndefined(r)||isUndefined(o))throw new InvalidArgumentError("fromFormatParser requires an input string and a format parser");const{locale:u=null,numberingSystem:d=null}=a,g=Locale.fromOpts({locale:u,numberingSystem:d,defaultToEN:!0});if(!g.equals(o.locale))throw new InvalidArgumentError(`fromFormatParser called with a locale of ${g}, but the format parser was created for ${o.locale}`);const{result:v,zone:y,specificOffset:A,invalidReason:b}=o.explainFromTokens(r);return b?DateTime$2.invalid(b):parseDataToDateTime(v,y,a,`format ${o.format}`,r,A)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}}function friendlyDateTime(t){if(DateTime$2.isDateTime(t))return t;if(t&&t.valueOf&&isNumber(t.valueOf()))return DateTime$2.fromJSDate(t);if(t&&typeof t=="object")return DateTime$2.fromObject(t);throw new InvalidArgumentError(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const VERSION="3.5.0";luxon$1.DateTime=DateTime$2;luxon$1.Duration=Duration;luxon$1.FixedOffsetZone=FixedOffsetZone;luxon$1.IANAZone=IANAZone;luxon$1.Info=Info;luxon$1.Interval=Interval;luxon$1.InvalidZone=InvalidZone;luxon$1.Settings=Settings;luxon$1.SystemZone=SystemZone;luxon$1.VERSION=VERSION;luxon$1.Zone=Zone;var luxon=luxon$1;CronDate$3.prototype.addYear=function(){this._date=this._date.plus({years:1})};CronDate$3.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")};CronDate$3.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")};CronDate$3.prototype.addHour=function(){var t=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=t&&(this._date=this._date.plus({hours:1}))};CronDate$3.prototype.addMinute=function(){var t=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.subtractMinute=function(){var t=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.subtractSecond=function(){var t=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};CronDate$3.prototype.getDate=function(){return this._date.day};CronDate$3.prototype.getFullYear=function(){return this._date.year};CronDate$3.prototype.getDay=function(){var t=this._date.weekday;return t==7?0:t};CronDate$3.prototype.getMonth=function(){return this._date.month-1};CronDate$3.prototype.getHours=function(){return this._date.hour};CronDate$3.prototype.getMinutes=function(){return this._date.minute};CronDate$3.prototype.getSeconds=function(){return this._date.second};CronDate$3.prototype.getMilliseconds=function(){return this._date.millisecond};CronDate$3.prototype.getTime=function(){return this._date.valueOf()};CronDate$3.prototype.getUTCDate=function(){return this._getUTC().day};CronDate$3.prototype.getUTCFullYear=function(){return this._getUTC().year};CronDate$3.prototype.getUTCDay=function(){var t=this._getUTC().weekday;return t==7?0:t};CronDate$3.prototype.getUTCMonth=function(){return this._getUTC().month-1};CronDate$3.prototype.getUTCHours=function(){return this._getUTC().hour};CronDate$3.prototype.getUTCMinutes=function(){return this._getUTC().minute};CronDate$3.prototype.getUTCSeconds=function(){return this._getUTC().second};CronDate$3.prototype.toISOString=function(){return this._date.toUTC().toISO()};CronDate$3.prototype.toJSON=function(){return this._date.toJSON()};CronDate$3.prototype.setDate=function(t){this._date=this._date.set({day:t})};CronDate$3.prototype.setFullYear=function(t){this._date=this._date.set({year:t})};CronDate$3.prototype.setDay=function(t){this._date=this._date.set({weekday:t})};CronDate$3.prototype.setMonth=function(t){this._date=this._date.set({month:t+1})};CronDate$3.prototype.setHours=function(t){this._date=this._date.set({hour:t})};CronDate$3.prototype.setMinutes=function(t){this._date=this._date.set({minute:t})};CronDate$3.prototype.setSeconds=function(t){this._date=this._date.set({second:t})};CronDate$3.prototype.setMilliseconds=function(t){this._date=this._date.set({millisecond:t})};CronDate$3.prototype._getUTC=function(){return this._date.toUTC()};CronDate$3.prototype.toString=function(){return this.toDate().toString()};CronDate$3.prototype.toDate=function(){return this._date.toJSDate()};CronDate$3.prototype.isLastDayOfMonth=function(){var t=this._date.plus({days:1}).startOf("day");return this._date.month!==t.month};CronDate$3.prototype.isLastWeekdayOfMonth=function(){var t=this._date.plus({days:7}).startOf("day");return this._date.month!==t.month};function CronDate$3(t,r){var o={zone:r};if(t?t instanceof CronDate$3?this._date=t._date:t instanceof Date?this._date=luxon.DateTime.fromJSDate(t,o):typeof t=="number"?this._date=luxon.DateTime.fromMillis(t,o):typeof t=="string"&&(this._date=luxon.DateTime.fromISO(t,o),this._date.isValid||(this._date=luxon.DateTime.fromRFC2822(t,o)),this._date.isValid||(this._date=luxon.DateTime.fromSQL(t,o)),this._date.isValid||(this._date=luxon.DateTime.fromFormat(t,"EEE, d MMM yyyy HH:mm:ss",o))):this._date=luxon.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(t));r&&r!==this._date.zoneName&&(this._date=this._date.setZone(r))}var date=CronDate$3;function buildRange(t){return{start:t,count:1}}function completeRangeWithItem(t,r){t.end=r,t.step=r-t.start,t.count=2}function finalizeCurrentRange(t,r,o){r&&(r.count===2?(t.push(buildRange(r.start)),t.push(buildRange(r.end))):t.push(r)),o&&t.push(o)}function compactField$1(t){for(var r=[],o=void 0,a=0;aA.end?g=g.concat(Array.from({length:A.end-A.start+1}).map(function(w,S){var C=A.start+S;return(C-A.start)%A.step===0?C:null}).filter(function(w){return w!=null})):A.end===o-A.step+1?g.push(A.start+"/"+A.step):g.push(A.start+"-"+A.end+"/"+A.step)}return g.join(",")}var field_stringify=stringifyField$1,CronDate$2=date,stringifyField=field_stringify,LOOP_LIMIT=1e4;function CronExpression$1(t,r){this._options=r,this._utc=r.utc||!1,this._tz=this._utc?"UTC":r.tz,this._currentDate=new CronDate$2(r.currentDate,this._tz),this._startDate=r.startDate?new CronDate$2(r.startDate,this._tz):null,this._endDate=r.endDate?new CronDate$2(r.endDate,this._tz):null,this._isIterator=r.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=r.nthDayOfWeek||0,this.fields=CronExpression$1._freezeFields(t)}CronExpression$1.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"];CronExpression$1.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"};CronExpression$1.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}];CronExpression$1.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31];CronExpression$1.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}};CronExpression$1.parseDefaults=["0","*","*","*","*","*"];CronExpression$1.standardValidCharacters=/^[,*\d/-]+$/;CronExpression$1.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/;CronExpression$1.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/;CronExpression$1.validCharacters={second:CronExpression$1.standardValidCharacters,minute:CronExpression$1.standardValidCharacters,hour:CronExpression$1.standardValidCharacters,dayOfMonth:CronExpression$1.dayOfMonthValidCharacters,month:CronExpression$1.standardValidCharacters,dayOfWeek:CronExpression$1.dayOfWeekValidCharacters};CronExpression$1._isValidConstraintChar=function t(r,o){return typeof o!="string"?!1:r.chars.some(function(a){return o.indexOf(a)>-1})};CronExpression$1._parseField=function t(r,o,a){switch(r){case"month":case"dayOfWeek":var u=CronExpression$1.aliases[r];o=o.replace(/[a-z]{3}/gi,function(y){if(y=y.toLowerCase(),typeof u[y]!="undefined")return u[y];throw new Error('Validation error, cannot resolve alias "'+y+'"')});break}if(!CronExpression$1.validCharacters[r].test(o))throw new Error("Invalid characters, got value: "+o);o.indexOf("*")!==-1?o=o.replace(/\*/g,a.min+"-"+a.max):o.indexOf("?")!==-1&&(o=o.replace(/\?/g,a.min+"-"+a.max));function d(y){var A=[];function b(C){if(C instanceof Array)for(var T=0,I=C.length;Ta.max)throw new Error("Constraint error, got value "+E+" expected range "+a.min+"-"+a.max);A.push(E)}else{if(CronExpression$1._isValidConstraintChar(a,C)){A.push(C);return}var F=+C;if(Number.isNaN(F)||Fa.max)throw new Error("Constraint error, got value "+C+" expected range "+a.min+"-"+a.max);r==="dayOfWeek"&&(F=F%7),A.push(F)}}var _=y.split(",");if(!_.every(function(C){return C.length>0}))throw new Error("Invalid list value format");if(_.length>1)for(var w=0,S=_.length;w2)throw new Error("Invalid repeat: "+y);return b.length>1?(b[0]==+b[0]&&(b=[b[0]+"-"+a.max,b[1]]),v(b[0],b[b.length-1])):v(y,A)}function v(y,A){var b=[],_=y.split("-");if(_.length>1){if(_.length<2)return+y;if(!_[0].length){if(!_[1].length)throw new Error("Invalid range: "+y);return+y}var w=+_[0],S=+_[1];if(Number.isNaN(w)||Number.isNaN(S)||wa.max)throw new Error("Constraint error, got range "+w+"-"+S+" expected range "+a.min+"-"+a.max);if(w>S)throw new Error("Invalid range: "+y);var C=+A;if(Number.isNaN(C)||C<=0)throw new Error("Constraint error, cannot repeat at every "+C+" time.");r==="dayOfWeek"&&S%7===0&&b.push(0);for(var T=w,I=S;T<=I;T++){var E=b.indexOf(T)!==-1;!E&&C>0&&C%A===0?(C=1,b.push(T)):C++}return b}return Number.isNaN(+y)?y:+y}return d(o)};CronExpression$1._sortCompareFn=function(t,r){var o=typeof t=="number",a=typeof r=="number";return o&&a?t-r:!o&&a?1:o&&!a?-1:t.localeCompare(r)};CronExpression$1._handleMaxDaysInMonth=function(t){if(t.month.length===1){var r=CronExpression$1.daysInMonth[t.month[0]-1];if(t.dayOfMonth[0]>r)throw new Error("Invalid explicit day of month definition");return t.dayOfMonth.filter(function(o){return o==="L"?!0:o<=r}).sort(CronExpression$1._sortCompareFn)}};CronExpression$1._freezeFields=function(t){for(var r=0,o=CronExpression$1.map.length;r=E)return F[O]===E;return F[0]===E}function a(E,F){if(F<6){if(E.getDate()<8&&F===1)return!0;var O=E.getDate()%7?1:0,D=E.getDate()-E.getDate()%7,x=Math.floor(D/7)+O;return x===F}return!1}function u(E){return E.length>0&&E.some(function(F){return typeof F=="string"&&F.indexOf("L")>=0})}r=r||!1;var d=r?"subtract":"add",g=new CronDate$2(this._currentDate,this._tz),v=this._startDate,y=this._endDate,A=g.getTime(),b=0;function _(E){return E.some(function(F){if(!u([F]))return!1;var O=Number.parseInt(F[0])%7;if(Number.isNaN(O))throw new Error("Invalid last weekday of the month expression: "+F);return g.getDay()===O&&g.isLastWeekdayOfMonth()})}for(;b=CronExpression$1.daysInMonth[g.getMonth()],T=this.fields.dayOfWeek.length===CronExpression$1.constraints[5].max-CronExpression$1.constraints[5].min+1,I=g.getHours();if(!w&&(!S||T)){this._applyTimezoneShift(g,d,"Day");continue}if(!C&&T&&!w){this._applyTimezoneShift(g,d,"Day");continue}if(C&&!T&&!S){this._applyTimezoneShift(g,d,"Day");continue}if(this._nthDayOfWeek>0&&!a(g,this._nthDayOfWeek)){this._applyTimezoneShift(g,d,"Day");continue}if(!o(g.getMonth()+1,this.fields.month)){this._applyTimezoneShift(g,d,"Month");continue}if(o(I,this.fields.hour)){if(this._dstEnd===I&&!r){this._dstEnd=null,this._applyTimezoneShift(g,"add","Hour");continue}}else if(this._dstStart!==I){this._dstStart=null,this._applyTimezoneShift(g,d,"Hour");continue}else if(!o(I-1,this.fields.hour)){g[d+"Hour"]();continue}if(!o(g.getMinutes(),this.fields.minute)){this._applyTimezoneShift(g,d,"Minute");continue}if(!o(g.getSeconds(),this.fields.second)){this._applyTimezoneShift(g,d,"Second");continue}if(A===g.getTime()){d==="add"||g.getMilliseconds()===0?this._applyTimezoneShift(g,d,"Second"):g.setMilliseconds(0);continue}break}if(b>=LOOP_LIMIT)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new CronDate$2(g,this._tz),this._hasIterated=!0,g};CronExpression$1.prototype.next=function t(){var r=this._findSchedule();return this._isIterator?{value:r,done:!this.hasNext()}:r};CronExpression$1.prototype.prev=function t(){var r=this._findSchedule(!0);return this._isIterator?{value:r,done:!this.hasPrev()}:r};CronExpression$1.prototype.hasNext=function(){var t=this._currentDate,r=this._hasIterated;try{return this._findSchedule(),!0}catch(o){return!1}finally{this._currentDate=t,this._hasIterated=r}};CronExpression$1.prototype.hasPrev=function(){var t=this._currentDate,r=this._hasIterated;try{return this._findSchedule(!0),!0}catch(o){return!1}finally{this._currentDate=t,this._hasIterated=r}};CronExpression$1.prototype.iterate=function t(r,o){var a=[];if(r>=0)for(var u=0,d=r;ud;u--)try{var g=this.prev();a.push(g),o&&o(g,u)}catch(A){break}return a};CronExpression$1.prototype.reset=function t(r){this._currentDate=new CronDate$2(r||this._options.currentDate)};CronExpression$1.prototype.stringify=function t(r){for(var o=[],a=r?0:1,u=CronExpression$1.map.length;a6)throw new Error("Invalid cron expression");for(var A=CronExpression$1.map.length-y.length,b=0,_=CronExpression$1.map.length;b<_;++b){var w=CronExpression$1.map[b],S=y[y.length>_?b:b-A];if(b1){var x=+D[D.length-1];if(/,/.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(O))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(D.length>2||Number.isNaN(x)||x<1||x>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return g.nthDayOfWeek=x,D[0]}return O}}return u(r,o)};CronExpression$1.fieldsToExpression=function t(r,o){function a(w,S,C){if(!S)throw new Error("Validation error, Field "+w+" is missing");if(S.length===0)throw new Error("Validation error, Field "+w+" contains no values");for(var T=0,I=S.length;TC.max))throw new Error("Constraint error, got value "+E+" expected range "+C.min+"-"+C.max)}}for(var u={},d=0,g=CronExpression$1.map.length;d6)return{interval:CronExpression.parse(o.slice(0,6).join(" ")),command:o.slice(6,o.length)};throw new Error("Invalid entry: "+r)};CronParser.parseExpression=function t(r,o){return CronExpression.parse(r,o)};CronParser.fieldsToExpression=function t(r,o){return CronExpression.fieldsToExpression(r,o)};CronParser.parseString=function t(r){for(var o=r.split(` +`),a={variables:{},expressions:[],errors:{}},u=0,d=o.length;u0){if(y.match(/^#/))continue;if(v=y.match(/^(.*)=(.*)$/))a.variables[v[1]]=v[2];else{var A=null;try{A=CronParser._parseEntry("0 "+y),a.expressions.push(A.interval)}catch(b){a.errors[y]=b}}}}return a};CronParser.parseFile=function t(r,o){require$$1.readFile(r,function(a,u){if(a){o(a);return}return o(null,CronParser.parseString(u.toString()))})};var parser=CronParser,sortedArrayFunctions={};sortedArrayFunctions.add=add;sortedArrayFunctions.addFromFront=addFromFront;sortedArrayFunctions.remove=remove;sortedArrayFunctions.has=has$2;sortedArrayFunctions.eq=eq;sortedArrayFunctions.lte=lte;sortedArrayFunctions.lt=lt$1;sortedArrayFunctions.gte=gte;sortedArrayFunctions.gt=gt;sortedArrayFunctions.nearest=nearest;function defaultCmp(t,r){return t===r?0:t=0;a--){var u=o(t[a],r);if(u<=0)return a}return-1}function lt$1(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a>=0;a--){var u=o(t[a],r);if(u<0)return a}return-1}function gte(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a=0)return a}return-1}function gt(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);if(a===-1)return-1;for(;a0)return a}return-1}function eq(t,r,o){o||(o=defaultCmp);var a=indexOf(t,r,o);return a===-1?-1:o(t[a],r)===0?a:-1}function nearest(t,r,o){o||(o=defaultCmp);for(var a=t.length,u=a-1,d=0,g=-1,v=1;u>=d&&d>=0&&u=0){if(v===1)v=0;else if(v===2)return Math.abs(t[g]-r)>Math.abs(t[g-1]-r)?g-1:g;u=g-1}else{if(v===1)v=2;else if(v===0)return g;d=g+1}}return g}function indexOf(t,r,o){o||(o=defaultCmp);for(var a=t.length,u=a-1,d=0,g=-1;u>=d&&d>=0&&u=0?u=g-1:d=g+1}return g}function has$2(t,r,o){return eq(t,r,o)>-1}function remove(t,r,o){var a=eq(t,r,o);return a===-1?!1:(t.splice(a,1),!0)}var longTimeout={};(function(t){var r=2147483647;t.setTimeout=function(u,d){return new o(u,d)},t.setInterval=function(u,d){return new a(u,d)},t.clearTimeout=function(u){u&&u.close()},t.clearInterval=t.clearTimeout,t.Timeout=o,t.Interval=a;function o(u,d){this.listener=u,this.after=d,this.unreffed=!1,this.start()}o.prototype.unref=function(){this.unreffed||(this.unreffed=!0,this.timeout.unref())},o.prototype.ref=function(){this.unreffed&&(this.unreffed=!1,this.timeout.ref())},o.prototype.start=function(){if(this.after<=r)this.timeout=setTimeout(this.listener,this.after);else{var u=this;this.timeout=setTimeout(function(){u.after-=r,u.start()},r)}this.unreffed&&this.timeout.unref()},o.prototype.close=function(){clearTimeout(this.timeout)};function a(u,d){this.listener=u,this.after=this.timeLeft=d,this.unreffed=!1,this.start()}a.prototype.unref=function(){this.unreffed||(this.unreffed=!0,this.timeout.unref())},a.prototype.ref=function(){this.unreffed&&(this.unreffed=!1,this.timeout.ref())},a.prototype.start=function(){var u=this;this.timeLeft<=r?this.timeout=setTimeout(function(){u.listener(),u.timeLeft=u.after,u.start()},this.timeLeft):this.timeout=setTimeout(function(){u.timeLeft-=r,u.start()},r),this.unreffed&&this.timeout.unref()},a.prototype.close=function(){o.prototype.close.apply(this,arguments)}})(longTimeout);const lt=longTimeout,CronDate$1=date,sorted$1=sortedArrayFunctions,invocations=[];let currentInvocation=null;const DoesntRecur=new RecurrenceRule$2;DoesntRecur.recurs=!1;function Invocation$2(t,r,o,a){this.job=t,this.fireDate=r,this.endDate=a,this.recurrenceRule=o||DoesntRecur,this.timerID=null}function sorter$1(t,r){return t.fireDate.getTime()-r.fireDate.getTime()}function Range$1(t,r,o){this.start=t||0,this.end=r||60,this.step=o||1}Range$1.prototype.contains=function(t){if(this.step===null||this.step===1)return t>=this.start&&t<=this.end;for(let r=this.start;r11||!t(this.month))||this.dayOfWeek!==null&&(this.dayOfWeek<0||this.dayOfWeek>6||!t(this.dayOfWeek))||this.hour!==null&&(this.hour<0||this.hour>23||!t(this.hour))||this.minute!==null&&(this.minute<0||this.minute>59||!t(this.minute))||this.second!==null&&(this.second<0||this.second>59||!t(this.second)))return!1;if(this.date!==null){if(!t(this.date))return!1;switch(this.month){case 3:case 5:case 8:case 10:if(this.date<1||this.date>30)return!1;break;case 1:if(this.date<1||this.date>29)return!1;break;default:if(this.date<1||this.date>31)return!1}}return!0};RecurrenceRule$2.prototype.nextInvocationDate=function(t){const r=this._nextInvocationDate(t);return r?r.toDate():null};RecurrenceRule$2.prototype._nextInvocationDate=function(t){if(t=t instanceof CronDate$1||t instanceof Date?t:new Date,!this.recurs||!this.isValid())return null;let o=new CronDate$1(Date.now(),this.tz).getFullYear();if(this.year!==null&&typeof this.year=="number"&&this.yearDate.now()?runOnDate(t,r):r()},a0&¤tInvocation!==invocations[0]){currentInvocation!==null&&(lt.clearTimeout(currentInvocation.timerID),currentInvocation.timerID=null,currentInvocation=null),currentInvocation=invocations[0];const t=currentInvocation.job,r=currentInvocation;currentInvocation.timerID=runOnDate(currentInvocation.fireDate,function(){if(currentInvocationFinished(),t.callback&&t.callback(),r.recurrenceRule.recurs||r.recurrenceRule._endDate===null){const o=scheduleNextRecurrence$1(r.recurrenceRule,r.job,r.fireDate,r.endDate);o!==null&&o.job.trackInvocation(o)}t.stopTrackingInvocation(r);try{const o=t.invoke(r.fireDate instanceof CronDate$1?r.fireDate.toDate():r.fireDate);t.emit("run"),t.running+=1,o instanceof Promise?o.then(function(a){t.emit("success",a),t.running-=1}).catch(function(a){t.emit("error",a),t.running-=1}):(t.emit("success",o),t.running-=1)}catch(o){t.emit("error",o),t.running-=1}t.isOneTimeJob&&t.deleteFromSchedule()})}}function currentInvocationFinished(){invocations.shift(),currentInvocation=null,prepareNextInvocation()}function cancelInvocation$1(t){const r=invocations.indexOf(t);r>-1&&(invocations.splice(r,1),t.timerID!==null&<.clearTimeout(t.timerID),currentInvocation===t&&(currentInvocation=null),t.job.emit("canceled",t.fireDate),prepareNextInvocation())}function scheduleNextRecurrence$1(t,r,o,a){o=o instanceof CronDate$1?o:new CronDate$1;const u=t instanceof RecurrenceRule$2?t._nextInvocationDate(o):t.next();if(u===null||a instanceof CronDate$1&&u.getTime()>a.getTime())return null;const d=new Invocation$2(r,u,t,a);return scheduleInvocation$1(d),d}var Invocation_1={Range:Range$1,RecurrenceRule:RecurrenceRule$2,Invocation:Invocation$2,cancelInvocation:cancelInvocation$1,scheduleInvocation:scheduleInvocation$1,scheduleNextRecurrence:scheduleNextRecurrence$1,sorter:sorter$1,_invocations:invocations};function isValidDate$1(t){return t.getTime()===t.getTime()}var dateUtils={isValidDate:isValidDate$1};const events=events$1.exports,cronParser=parser,CronDate=date,sorted=sortedArrayFunctions,{scheduleNextRecurrence,scheduleInvocation,cancelInvocation,RecurrenceRule:RecurrenceRule$1,sorter,Invocation:Invocation$1}=Invocation_1,{isValidDate}=dateUtils,scheduledJobs$2={};let anonJobCounter=0;function resolveAnonJobName(){const t=new Date;return anonJobCounter===Number.MAX_SAFE_INTEGER&&(anonJobCounter=0),anonJobCounter++,``}function Job$2(t,r,o){this.pendingInvocations=[];let a=0;const u=t&&typeof t=="string"?t:resolveAnonJobName();this.job=t&&typeof t=="function"?t:r,this.job===t?this.callback=typeof r=="function"?r:!1:this.callback=typeof o=="function"?o:!1,this.running=0,typeof this.job=="function"&&this.job.prototype&&this.job.prototype.next&&(this.job=function(){return this.next().value}.bind(this.job.call(this))),Object.defineProperty(this,"name",{value:u,writable:!1,enumerable:!0}),this.trackInvocation=function(d){return sorted.add(this.pendingInvocations,d,sorter),!0},this.stopTrackingInvocation=function(d){const g=this.pendingInvocations.indexOf(d);return g>-1?(this.pendingInvocations.splice(g,1),!0):!1},this.triggeredJobs=function(){return a},this.setTriggeredJobs=function(d){a=d},this.deleteFromSchedule=function(){deleteScheduledJob(this.name)},this.cancel=function(d){d=typeof d=="boolean"?d:!1;let g,v;const y=[];for(let A=0;A=Date.now()&&(a=new Invocation$1(r,t),scheduleInvocation(a),o=r.trackInvocation(a));else if(y==="object"){if(r.isOneTimeJob=!1,!(t instanceof RecurrenceRule$1)){const A=new RecurrenceRule$1;"year"in t&&(A.year=t.year),"month"in t&&(A.month=t.month),"date"in t&&(A.date=t.date),"dayOfWeek"in t&&(A.dayOfWeek=t.dayOfWeek),"hour"in t&&(A.hour=t.hour),"minute"in t&&(A.minute=t.minute),"second"in t&&(A.second=t.second),t=A}t.tz=g,a=scheduleNextRecurrence(t,r,u,d),a!==null&&(o=r.trackInvocation(a))}}return scheduledJobs$2[this.name]=this,o};function deleteScheduledJob(t){t&&delete scheduledJobs$2[t]}var Job_1={Job:Job$2,deleteScheduledJob,scheduledJobs:scheduledJobs$2};const{Job:Job$1,scheduledJobs:scheduledJobs$1}=Job_1;function scheduleJob$1(){if(arguments.length<2)throw new RangeError("Invalid number of arguments");const t=arguments.length>=3&&typeof arguments[0]=="string"?arguments[0]:null,r=t?arguments[1]:arguments[0],o=t?arguments[2]:arguments[1],a=t?arguments[3]:arguments[2];if(typeof o!="function")throw new RangeError("The job method must be a function.");const u=new Job$1(t,o,a);return u.schedule(r)?u:null}function rescheduleJob$1(t,r){if(t instanceof Job$1){if(t.reschedule(r))return t}else if(typeof t=="string")if(Object.prototype.hasOwnProperty.call(scheduledJobs$1,t)){if(scheduledJobs$1[t].reschedule(r))return scheduledJobs$1[t]}else throw new Error("Cannot reschedule one-off job by name, pass job reference instead");return null}function cancelJob$1(t){let r=!1;return t instanceof Job$1?r=t.cancel():(typeof t=="string"||t instanceof String)&&t in scheduledJobs$1&&Object.prototype.hasOwnProperty.call(scheduledJobs$1,t)&&(r=scheduledJobs$1[t].cancel()),r}function gracefulShutdown$1(){const t=Object.keys(scheduledJobs$1).map(o=>scheduledJobs$1[o]);t.forEach(function(o){o.cancel()});let r=!1;for(let o=0;o0){r=!0;break}return new Promise(function(o){r?setInterval(function(){for(let a=0;a0)return;o()},500):o()})}var schedule={scheduleJob:scheduleJob$1,rescheduleJob:rescheduleJob$1,scheduledJobs:scheduledJobs$1,cancelJob:cancelJob$1,gracefulShutdown:gracefulShutdown$1};const{cancelJob,rescheduleJob,scheduledJobs,scheduleJob,gracefulShutdown}=schedule,{Invocation,RecurrenceRule,Range}=Invocation_1,{Job}=Job_1;var nodeSchedule={Job,Invocation,Range,RecurrenceRule,cancelJob,rescheduleJob,scheduledJobs,scheduleJob,gracefulShutdown},Calendar_vue_vue_type_style_index_0_lang="";const _sfc_main$d=defineComponent({name:"ModuleCalendar",components:{EventList},props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useQuasar(),a=useLocale(!0),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$d),timezone:u.value.timezone||"Europe/Amsterdam",calendars:u.value.calendars||[]})),g=computed(()=>o.dark.isActive),v=ref(!1),y=ref(null),A=ref(new Date);nodeSchedule.scheduleJob("0 0 0 * * *",()=>{A.value=new Date});const b=ref({year:A.value.getFullYear(),month:A.value.getMonth()+1}),_=V=>{const{year:Z,month:H}=V[0];(b.value.month!==H||b.value.year!==Z)&&(b.value.year=Z,b.value.month=H,v.value=D[Z+"-"+H]||!1,M(Z,H).then(()=>{O()}))},w=startOfDay(subDays(A.value,d.value.daysReview)),S=startOfDay(addDays$1(A.value,d.value.daysPreview)),C=ref([w,S]),T=({date:V})=>{d.value.calendarAgenda===!1||d.value.calendarAgenda!==!1&&C.value.length===2?C.value=[V]:V{let[V,Z]=C.value;return Z=startOfDay(Z?V.getMonth()!==Z.getMonth()?endOfMonth(V):Z:V),[{key:"selectedEnd",highlight:{contentStyle:{backgroundColor:"var(--q-accent)",opacity:1,color:"#fff"}},dates:Z,order:102},{key:"selectedStart",highlight:{contentStyle:{backgroundColor:"var(--q-accent)",opacity:1,color:"#fff"}},dates:V,order:101},{key:"selected",highlight:{style:{backgroundColor:"var(--q-accent)",opacity:.3},contentStyle:{color:"var(--q-accent)"}},dates:{start:V,end:Z},order:99},{key:"today",highlight:{style:{backgroundColor:"var(--q-primary)"},contentStyle:{color:"#fff",fontWeight:"bold"}},dates:A.value,order:200}]}),E=ref([]),F=(V,Z)=>{const H=[];P.value.forEach(B=>{!H.some(z=>z.uid===B.uid)&&(B&&B.start>=V&&B.start<=Z||B&&B.start<=V&&B.end>=V)&&H.push(B)}),E.value=H.sort((B,z)=>B.start===z.start?0:B.start>z.start?1:-1)},O=()=>{let[V,Z]=C.value;if(Z=endOfDay(Z||V),V.getMonth()===Z.getMonth())F(V,Z);else{let H=b.value.month+1;const B=H>12?b.value.year+1:b.value.year;H=H>12?1:H,M(B,H).then(()=>{F(V,Z)})}},D=ref({}),x=ref({}),P=computed(()=>Object.values(x.value).flat()),G=(V,Z,H)=>(V.color&&setCssVar("jarvis--calendar--"+V.name.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),V.color),new Promise((B,z)=>{r.subscribeCalendar(V.id+":"+Z+"-"+H,V,{...d.value,language:a},U=>{if(U.err)return console.warn("Calendar-a99xoa47",t.widget.id,U.err),y.value=U.err&&U.err.message||U.err,z(U.err);if(U.events&&Array.isArray(U.events)){const Q=U.events.map((X,J)=>(X.start=new Date(X.start),X.end=new Date(X.end),{calendar:V,...X,key:X.uid,dot:{style:{backgroundColor:V.color||colors.getPaletteColor("primary")}},popover:{label:X.summary},dates:X.duration<=0?X.start:{start:X.start,end:X.end},customData:{calendar:V,summary:X.summary,time:X.time}}));D[Z+"-"+H]=!0,x.value[V.id+":"+Z+"-"+H]=Q,B(x.value[V.id])}})})),M=(V,Z)=>{const H=[];return d.value.calendars.forEach(B=>{B.active!==!1&&B.name&&B.url&&H.push(G(B,V,Z))}),Promise.allSettled(H).then(B=>(v.value=!0,B))};let N=null;return onBeforeMount(()=>{M(b.value.year,b.value.month).then(()=>{O()}),N=setInterval(()=>{console.debug("Calendar-d53dca17",t.widget.id,"Refreshing ical data..."),M(b.value.year,b.value.month).then(()=>{O()})},d.value.refresh*60*1e3)}),onUnmounted(()=>N&&clearInterval(N)),{loaded:v,error:y,language:a,isDarkMode:g,moduleConfig:d,setDate:_,setRange:T,attrs:computed(()=>[...P.value,...I.value]),agenda:E}}}),_hoisted_1$b={style:{position:"relative"}},_hoisted_2$a={class:"text-h6"},_hoisted_3$6={class:"text-xs text-gray-300 font-semibold"},_hoisted_4$4={class:"jarvis-Calendar-Popover-List"};function _sfc_render$d(t,r,o,a,u,d){const g=resolveComponent("event-list"),v=resolveComponent("v-calendar"),y=resolveComponent("alert");return openBlock(),createElementBlock("div",{class:"jarvis-Calendar-Container",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded]]),createBaseVNode("div",_hoisted_1$b,[t.moduleConfig.calendarAgenda===!1?(openBlock(),createBlock(QDialog,{key:0,"model-value":t.popup,onHide:r[1]||(r[1]=A=>t.popup=!1)},{default:withCtx(()=>[createVNode$1(QCard,{style:{width:"800px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$a,toDisplayString$1(t.$t("Calendar Details")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=A=>t.popup=!1)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body"},{default:withCtx(()=>[createVNode$1(g,{agenda:t.agenda},null,8,["agenda"])]),_:1})]),_:1})]),_:1},8,["model-value"])):createCommentVNode("",!0),withDirectives(createBaseVNode("div",null,[createVNode$1(v,{class:"jarvis-Calendar",attributes:t.attrs,"is-dark":t.isDarkMode,locale:t.language,masks:{dayPopover:"WWW, D. MMMM YYYY"},"trim-weeks":"","show-iso-weeknumbers":"","disable-page-swipe":"","onUpdate:pages":t.setDate,onDayclick:t.setRange},{"day-popover":withCtx(({dayTitle:A,attributes:b})=>[createBaseVNode("div",null,[createBaseVNode("strong",_hoisted_3$6,toDisplayString$1(A),1),createBaseVNode("ul",_hoisted_4$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(b,_=>(openBlock(),createElementBlock("li",{key:_.key+"-"+(_.customData.calendar.color||""),style:normalizeStyle$1({color:_.customData.calendar.color||"var(--q-primary)"})},[createBaseVNode("span",null,toDisplayString$1(_.customData.time)+", "+toDisplayString$1(_.customData.summary.val||_.customData.summary),1)],4))),128))])])]),default:withCtx(()=>[r[2]||(r[2]=createTextVNode(' /* :timezone="moduleConfig.timezone" trim-weeks: By default, calendar panes always displays the maximum number of weeks in a month, even if the max week does not contain any days in the current month displayed. */ '))]),_:1},8,["attributes","is-dark","locale","onUpdate:pages","onDayclick"]),createVNode$1(QInnerLoading,{showing:!t.loaded},{default:withCtx(()=>[createVNode$1(QSpinner,{size:"50px",color:"primary"})]),_:1},8,["showing"])],512),[[vShow,t.moduleConfig.calendarPreview!==!1]])]),withDirectives(createVNode$1(y,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.error]]),withDirectives(createVNode$1(g,{agenda:t.agenda},null,8,["agenda"]),[[vShow,t.moduleConfig.calendarAgenda!==!1]])],4)}var Calendar$2=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d]]),Calendar$3=Object.freeze(Object.defineProperty({__proto__:null,default:Calendar$2},Symbol.toStringTag,{value:"Module"})),mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function t(){}return t.prototype.reset=function(r){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,r||4)},t.prototype.moveTo=function(r,o){this._add("M",r,o)},t.prototype.lineTo=function(r,o){this._add("L",r,o)},t.prototype.bezierCurveTo=function(r,o,a,u,d,g){this._add("C",r,o,a,u,d,g)},t.prototype.quadraticCurveTo=function(r,o,a,u){this._add("Q",r,o,a,u)},t.prototype.arc=function(r,o,a,u,d,g){this.ellipse(r,o,a,a,0,u,d,g)},t.prototype.ellipse=function(r,o,a,u,d,g,v,y){var A=v-g,b=!y,_=Math.abs(A),w=isAroundZero(_-PI2$1)||(b?A>=PI2$1:-A>=PI2$1),S=A>0?A%PI2$1:A%PI2$1+PI2$1,C=!1;w?C=!0:isAroundZero(_)?C=!1:C=S>=PI$4==!!b;var T=r+a*mathCos(g),I=o+u*mathSin(g);this._start&&this._add("M",T,I);var E=Math.round(d*degree);if(w){var F=1/this._p,O=(b?1:-1)*(PI2$1-F);this._add("A",a,u,E,1,+b,r+a*mathCos(g+O),o+u*mathSin(g+O)),F>.01&&this._add("A",a,u,E,0,+b,T,I)}else{var D=r+a*mathCos(v),x=o+u*mathSin(v);this._add("A",a,u,E,+C,+b,D,x)}},t.prototype.rect=function(r,o,a,u){this._add("M",r,o),this._add("l",a,0),this._add("l",0,u),this._add("l",-a,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(r,o,a,u,d,g,v,y,A){for(var b=[],_=this._p,w=1;w"}function createElementClose(t){return""}function vNodeToString(t,r){r=r||{};var o=r.newline?` `:"";function a(u){var d=u.children,g=u.tag,v=u.attrs,y=u.text;return createElementOpen(g,v)+(g!=="style"?encodeHTML(y):y||"")+(d?""+o+map$1(d,function(A){return a(A)}).join(o)+o:"")+createElementClose(g)}return a(t)}function getCssString(t,r,o){o=o||{};var a=o.newline?` -`:"",u=" {"+a,d=a+"}",g=map$1(keys(t),function(y){return y+u+map$1(keys(t[y]),function(A){return A+":"+t[y][A]+";"}).join(a)+d}).join(a),v=map$1(keys(r),function(y){return"@keyframes "+y+u+map$1(keys(r[y]),function(A){return A+u+map$1(keys(r[y][A]),function(b){var _=r[y][A][b];return b==="d"&&(_='path("'+_+'")'),b+":"+_+";"}).join(a)+d}).join(a)+d}).join(a);return!g&&!v?"":[""].join(a)}function createBrushScope(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(t,r,o,a){return createVNode("svg","root",{width:t,height:r,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+t+" "+r:!1},o)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(t,r,o){var a=extend({},t.shape);extend(a,r),t.buildPath(o,a);var u=new SVGPathRebuilder$1;return u.reset(getPathPrecision(t)),o.rebuildPath(u,1),u.generateStr(),u.getStr()}function setTransformOrigin(t,r){var o=r.originX,a=r.originY;(o||a)&&(t[transformOriginKey]=o+"px "+a+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(t,r){var o=r.zrId+"-ani-"+r.cssAnimIdx++;return r.cssAnims[o]=t,o}function createCompoundPathCSSAnimation(t,r,o){var a=t.shape.paths,u={},d,g;if(each$f(a,function(y){var A=createBrushScope(o.zrId);A.animation=!0,createCSSAnimation(y,{},A,!0);var b=A.cssAnims,_=A.cssNodes,w=keys(b),S=w.length;if(!!S){g=w[S-1];var C=b[g];for(var T in C){var I=C[T];u[T]=u[T]||{d:""},u[T].d+=I.d||""}for(var E in _){var F=_[E].animation;F.indexOf(g)>=0&&(d=F)}}}),!!d){r.d=!1;var v=addAnimation(u,o);return d.replace(g,v)}}function getEasingFunc(t){return isString$1(t)?EASING_MAP[t]?"cubic-bezier("+EASING_MAP[t]+")":createCubicEasingFunc(t)?t:"":""}function createCSSAnimation(t,r,o,a){var u=t.animators,d=u.length,g=[];if(t instanceof CompoundPath$1){var v=createCompoundPathCSSAnimation(t,r,o);if(v)g.push(v);else if(!d)return}else if(!d)return;for(var y={},A=0;A0}).length){var pe=addAnimation(G,o);return pe+" "+F[0]+" both"}}for(var I in y){var v=T(y[I]);v&&g.push(v)}if(g.length){var E=o.zrId+"-cls-"+getClassId();o.cssNodes["."+E]={animation:g.join(",")},r.class=E}}function createCSSEmphasis(t,r,o){if(!t.ignore)if(t.isSilent()){var a={"pointer-events":"none"};setClassAttribute(a,r,o,!0)}else{var u=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},d=u.fill;if(!d){var g=t.style&&t.style.fill,v=t.states.select&&t.states.select.style&&t.states.select.style.fill,y=t.currentStates.indexOf("select")>=0&&v||g;y&&(d=liftColor(y))}var A=u.lineWidth;if(A){var b=!u.strokeNoScale&&t.transform?t.transform[0]:1;A=A/b}var a={cursor:"pointer"};d&&(a.fill=d),u.stroke&&(a.stroke=u.stroke),A&&(a["stroke-width"]=A),setClassAttribute(a,r,o,!0)}}function setClassAttribute(t,r,o,a){var u=JSON.stringify(t),d=o.cssStyleCache[u];d||(d=o.zrId+"-cls-"+getClassId(),o.cssStyleCache[u]=d,o.cssNodes["."+d+(a?":hover":"")]=t),r.class=r.class?r.class+" "+d:d}var round$1=Math.round;function isImageLike(t){return t&&isString$1(t.src)}function isCanvasLike(t){return t&&isFunction(t.toDataURL)}function setStyleAttrs(t,r,o,a){mapStyleToAttrs(function(u,d){var g=u==="fill"||u==="stroke";g&&isGradient(d)?setGradient(r,t,u,a):g&&isPattern(d)?setPattern(o,t,u,a):g&&d==="none"?t[u]="transparent":t[u]=d},r,o,!1),setShadow(o,t,a)}function setMetaData(t,r){var o=getElementSSRData(r);o&&(o.each(function(a,u){a!=null&&(t[(META_DATA_PREFIX+u).toLowerCase()]=a+"")}),r.isSilent()&&(t[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(t){return isAroundZero(t[0]-1)&&isAroundZero(t[1])&&isAroundZero(t[2])&&isAroundZero(t[3]-1)}function noTranslate(t){return isAroundZero(t[4])&&isAroundZero(t[5])}function setTransform(t,r,o){if(r&&!(noTranslate(r)&&noRotateScale(r))){var a=o?10:1e4;t.transform=noRotateScale(r)?"translate("+round$1(r[4]*a)/a+" "+round$1(r[5]*a)/a+")":getMatrixStr(r)}}function convertPolyShape(t,r,o){for(var a=t.points,u=[],d=0;dd?(C=o[y+1]==null?null:o[y+1].elm,addVnodes(t,C,o,u,y)):removeVnodes(t,r,a,d))}function patchVnode(t,r){var o=r.elm=t.elm,a=t.children,u=r.children;t!==r&&(updateAttrs(t,r),isUndef(r.text)?isDef(a)&&isDef(u)?a!==u&&updateChildren(o,a,u):isDef(u)?(isDef(t.text)&&setTextContent(o,""),addVnodes(o,null,u,0,u.length-1)):isDef(a)?removeVnodes(o,a,0,a.length-1):isDef(t.text)&&setTextContent(o,""):t.text!==r.text&&(isDef(a)&&removeVnodes(o,a,0,a.length-1),setTextContent(o,r.text)))}function patch(t,r){if(sameVnode(t,r))patchVnode(t,r);else{var o=t.elm,a=parentNode(o);createElm(r),a!==null&&(insertBefore(a,r.elm,nextSibling(o)),removeVnodes(a,[t],0,0))}return r}var svgId=0,SVGPainter=function(){function t(r,o,a){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=o,this._opts=a=extend({},a),this.root=r,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(a.width,a.height),r&&!a.ssr){var u=this._viewport=document.createElement("div");u.style.cssText="position:relative;overflow:hidden";var d=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),u.appendChild(d),r.appendChild(u)}this.resize(a.width,a.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var r=this.renderToVNode({willUpdate:!0});r.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,r),this._oldVNode=r}},t.prototype.renderOneToVNode=function(r){return brush(r,createBrushScope(this._id))},t.prototype.renderToVNode=function(r){r=r||{};var o=this.storage.getDisplayList(!0),a=this._width,u=this._height,d=createBrushScope(this._id);d.animation=r.animation,d.willUpdate=r.willUpdate,d.compress=r.compress,d.emphasis=r.emphasis;var g=[],v=this._bgVNode=createBackgroundVNode(a,u,this._backgroundColor,d);v&&g.push(v);var y=r.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(o,d,y?y.children:g),y&&g.push(y);var A=map$1(keys(d.defs),function(w){return d.defs[w]});if(A.length&&g.push(createVNode("defs","defs",{},A)),r.animation){var b=getCssString(d.cssNodes,d.cssAnims,{newline:!0});if(b){var _=createVNode("style","stl",{},[],b);g.push(_)}}return createSVGVNode(a,u,g,r.useViewBox)},t.prototype.renderToString=function(r){return r=r||{},vNodeToString(this.renderToVNode({animation:retrieve2(r.cssAnimation,!0),emphasis:retrieve2(r.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2(r.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(r,o,a){for(var u=r.length,d=[],g=0,v,y,A=0,b=0;b=0&&!(w&&y&&w[T]===y[T]);T--);for(var I=C-1;I>T;I--)g--,v=d[g-1];for(var E=T+1;E=v)}}for(var _=this.__startIndex;_15)break}}z.prevElClipPaths&&E.restore()};if(F)if(F.length===0)M=I.__endIndex;else for(var V=S.dpr,Y=0;Y0&&r>u[0]){for(y=0;yr);y++);v=a[u[y]]}if(u.splice(y+1,0,r),a[r]=o,!o.virtual)if(v){var A=v.dom;A.nextSibling?g.insertBefore(o.dom,A.nextSibling):g.appendChild(o.dom)}else g.firstChild?g.insertBefore(o.dom,g.firstChild):g.appendChild(o.dom);o.painter||(o.painter=this)}},t.prototype.eachLayer=function(r,o){for(var a=this._zlevelList,u=0;u0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),b.__builtin__||logError("ZLevel "+A+" has been used by unkown layer "+b.id),b!==d&&(b.__used=!0,b.__startIndex!==y&&(b.__dirty=!0),b.__startIndex=y,b.incremental?b.__drawIndex=-1:b.__drawIndex=y,o(y),d=b),u.__dirty&REDRAW_BIT&&!u.__inHover&&(b.__dirty=!0,b.incremental&&b.__drawIndex<0&&(b.__drawIndex=y))}o(y),this.eachBuiltinLayer(function(_,w){!_.__used&&_.getElementCount()>0&&(_.__dirty=!0,_.__startIndex=_.__endIndex=_.__drawIndex=0),_.__dirty&&_.__drawIndex<0&&(_.__drawIndex=_.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(r){r.clear()},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r,each$f(this._layers,function(o){o.setUnpainted()})},t.prototype.configLayer=function(r,o){if(o){var a=this._layerConfig;a[r]?merge(a[r],o,!0):a[r]=o;for(var u=0;u-1&&(A.style.stroke=A.style.fill,A.style.fill="#fff",A.style.lineWidth=2),a},r.type="series.line",r.dependencies=["grid","polar"],r.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},r}(SeriesModel$1),LineSeries=LineSeriesModel;function getDefaultLabel(t,r){var o=t.mapDimensionsAll("defaultedLabel"),a=o.length;if(a===1){var u=retrieveRawValue(t,r,o[0]);return u!=null?u+"":null}else if(a){for(var d=[],g=0;g=0&&a.push(r[d])}return a.join(" ")}var Symbol$1=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this)||this;return g.updateData(o,a,u,d),g}return r.prototype._createSymbol=function(o,a,u,d,g){this.removeAll();var v=createSymbol$1(o,-1,-1,2,2,null,g);v.attr({z2:100,culling:!0,scaleX:d[0]/2,scaleY:d[1]/2}),v.drift=driftSymbol,this._symbolType=o,this.add(v)},r.prototype.stopSymbolAnimation=function(o){this.childAt(0).stopAnimation(null,o)},r.prototype.getSymbolType=function(){return this._symbolType},r.prototype.getSymbolPath=function(){return this.childAt(0)},r.prototype.highlight=function(){enterEmphasis(this.childAt(0))},r.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},r.prototype.setZ=function(o,a){var u=this.childAt(0);u.zlevel=o,u.z=a},r.prototype.setDraggable=function(o,a){var u=this.childAt(0);u.draggable=o,u.cursor=!a&&o?"move":u.cursor},r.prototype.updateData=function(o,a,u,d){this.silent=!1;var g=o.getItemVisual(a,"symbol")||"circle",v=o.hostModel,y=r.getSymbolSize(o,a),A=g!==this._symbolType,b=d&&d.disableAnimation;if(A){var _=o.getItemVisual(a,"symbolKeepAspect");this._createSymbol(g,o,a,y,_)}else{var w=this.childAt(0);w.silent=!1;var S={scaleX:y[0]/2,scaleY:y[1]/2};b?w.attr(S):updateProps$1(w,S,v,a),saveOldStyle(w)}if(this._updateCommon(o,a,y,u,d),A){var w=this.childAt(0);if(!b){var S={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:w.style.opacity}};w.scaleX=w.scaleY=0,w.style.opacity=0,initProps(w,S,v,a)}}b&&this.childAt(0).stopAnimation("leave")},r.prototype._updateCommon=function(o,a,u,d,g){var v=this.childAt(0),y=o.hostModel,A,b,_,w,S,C,T,I,E;if(d&&(A=d.emphasisItemStyle,b=d.blurItemStyle,_=d.selectItemStyle,w=d.focus,S=d.blurScope,T=d.labelStatesModels,I=d.hoverScale,E=d.cursorStyle,C=d.emphasisDisabled),!d||o.hasItemOption){var F=d&&d.itemModel?d.itemModel:o.getItemModel(a),O=F.getModel("emphasis");A=O.getModel("itemStyle").getItemStyle(),_=F.getModel(["select","itemStyle"]).getItemStyle(),b=F.getModel(["blur","itemStyle"]).getItemStyle(),w=O.get("focus"),S=O.get("blurScope"),C=O.get("disabled"),T=getLabelStatesModels(F),I=O.getShallow("scale"),E=F.getShallow("cursor")}var D=o.getItemVisual(a,"symbolRotate");v.attr("rotation",(D||0)*Math.PI/180||0);var x=normalizeSymbolOffset(o.getItemVisual(a,"symbolOffset"),u);x&&(v.x=x[0],v.y=x[1]),E&&v.attr("cursor",E);var P=o.getItemVisual(a,"style"),G=P.fill;if(v instanceof ZRImage$1){var M=v.style;v.useStyle(extend({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},P))}else v.__isEmptyBrush?v.useStyle(extend({},P)):v.useStyle(P),v.style.decal=null,v.setColor(G,g&&g.symbolInnerColor),v.style.strokeNoScale=!0;var N=o.getItemVisual(a,"liftZ"),V=this._z2;N!=null?V==null&&(this._z2=v.z2,v.z2+=N):V!=null&&(v.z2=V,this._z2=null);var Y=g&&g.useNameLabel;setLabelStyle(v,T,{labelFetcher:y,labelDataIndex:a,defaultText:H,inheritColor:G,defaultOpacity:P.opacity});function H(U){return Y?o.getName(U):getDefaultLabel(o,U)}this._sizeX=u[0]/2,this._sizeY=u[1]/2;var B=v.ensureState("emphasis");B.style=A,v.ensureState("select").style=_,v.ensureState("blur").style=b;var z=I==null||I===!0?Math.max(1.1,3/this._sizeY):isFinite(I)&&I>0?+I:1;B.scaleX=this._sizeX*z,B.scaleY=this._sizeY*z,this.setSymbolScale(1),toggleHoverEmphasis(this,w,S,C)},r.prototype.setSymbolScale=function(o){this.scaleX=this.scaleY=o},r.prototype.fadeOut=function(o,a,u){var d=this.childAt(0),g=getECData(this).dataIndex,v=u&&u.animation;if(this.silent=d.silent=!0,u&&u.fadeLabel){var y=d.getTextContent();y&&removeElement(y,{style:{opacity:0}},a,{dataIndex:g,removeOpt:v,cb:function(){d.removeTextContent()}})}else d.removeTextContent();removeElement(d,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:g,cb:o,removeOpt:v})},r.getSymbolSize=function(o,a){return normalizeSymbolSize(o.getItemVisual(a,"symbolSize"))},r}(Group$4);function driftSymbol(t,r){this.parent.drift(t,r)}var SymbolClz=Symbol$1;function symbolNeedsDraw$1(t,r,o,a){return r&&!isNaN(r[0])&&!isNaN(r[1])&&!(a.isIgnore&&a.isIgnore(o))&&!(a.clipShape&&!a.clipShape.contain(r[0],r[1]))&&t.getItemVisual(o,"symbol")!=="none"}function normalizeUpdateOpt(t){return t!=null&&!isObject$3(t)&&(t={isIgnore:t}),t||{}}function makeSeriesScope$2(t){var r=t.hostModel,o=r.getModel("emphasis");return{emphasisItemStyle:o.getModel("itemStyle").getItemStyle(),blurItemStyle:r.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:r.getModel(["select","itemStyle"]).getItemStyle(),focus:o.get("focus"),blurScope:o.get("blurScope"),emphasisDisabled:o.get("disabled"),hoverScale:o.get("scale"),labelStatesModels:getLabelStatesModels(r),cursorStyle:r.get("cursor")}}var SymbolDraw=function(){function t(r){this.group=new Group$4,this._SymbolCtor=r||SymbolClz}return t.prototype.updateData=function(r,o){this._progressiveEls=null,o=normalizeUpdateOpt(o);var a=this.group,u=r.hostModel,d=this._data,g=this._SymbolCtor,v=o.disableAnimation,y=makeSeriesScope$2(r),A={disableAnimation:v},b=o.getSymbolPoint||function(_){return r.getItemLayout(_)};d||a.removeAll(),r.diff(d).add(function(_){var w=b(_);if(symbolNeedsDraw$1(r,w,_,o)){var S=new g(r,_,y,A);S.setPosition(w),r.setItemGraphicEl(_,S),a.add(S)}}).update(function(_,w){var S=d.getItemGraphicEl(w),C=b(_);if(!symbolNeedsDraw$1(r,C,_,o)){a.remove(S);return}var T=r.getItemVisual(_,"symbol")||"circle",I=S&&S.getSymbolType&&S.getSymbolType();if(!S||I&&I!==T)a.remove(S),S=new g(r,_,y,A),S.setPosition(C);else{S.updateData(r,_,y,A);var E={x:C[0],y:C[1]};v?S.attr(E):updateProps$1(S,E,u)}a.add(S),r.setItemGraphicEl(_,S)}).remove(function(_){var w=d.getItemGraphicEl(_);w&&w.fadeOut(function(){a.remove(w)},u)}).execute(),this._getSymbolPoint=b,this._data=r},t.prototype.updateLayout=function(){var r=this,o=this._data;o&&o.eachItemGraphicEl(function(a,u){var d=r._getSymbolPoint(u);a.setPosition(d),a.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$2(r),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,o,a){this._progressiveEls=[],a=normalizeUpdateOpt(a);function u(y){y.isGroup||(y.incremental=!0,y.ensureState("emphasis").hoverLayer=!0)}for(var d=r.start;d0?o=a[0]:a[1]<0&&(o=a[1]),o}function getStackedOnPoint(t,r,o,a){var u=NaN;t.stacked&&(u=o.get(o.getCalculationInfo("stackedOverDimension"),a)),isNaN(u)&&(u=t.valueStart);var d=t.baseDataOffset,g=[];return g[d]=o.get(t.baseDim,a),g[1-d]=u,r.dataToPoint(g)}function diffData(t,r){var o=[];return r.diff(t).add(function(a){o.push({cmd:"+",idx:a})}).update(function(a,u){o.push({cmd:"=",idx:u,idx1:a})}).remove(function(a){o.push({cmd:"-",idx:a})}).execute(),o}function lineAnimationDiff(t,r,o,a,u,d,g,v){for(var y=diffData(t,r),A=[],b=[],_=[],w=[],S=[],C=[],T=[],I=prepareDataCoordInfo(u,r,g),E=t.getLayout("points")||[],F=r.getLayout("points")||[],O=0;O=u||T<0)break;if(isPointNull$1(E,F)){if(y){T+=d;continue}break}if(T===o)t[d>0?"moveTo":"lineTo"](E,F),_=E,w=F;else{var O=E-A,D=F-b;if(O*O+D*D<.5){T+=d;continue}if(g>0){for(var x=T+d,P=r[x*2],G=r[x*2+1];P===E&&G===F&&I=a||isPointNull$1(P,G))S=E,C=F;else{V=P-A,Y=G-b;var z=E-A,U=P-E,Q=F-b,X=G-F,J=void 0,ne=void 0;if(v==="x"){J=Math.abs(z),ne=Math.abs(U);var te=V>0?1:-1;S=E-te*J*g,C=F,H=E+te*ne*g,B=F}else if(v==="y"){J=Math.abs(Q),ne=Math.abs(X);var ce=Y>0?1:-1;S=E,C=F-ce*J*g,H=E,B=F+ce*ne*g}else J=Math.sqrt(z*z+Q*Q),ne=Math.sqrt(U*U+X*X),N=ne/(ne+J),S=E-V*g*(1-N),C=F-Y*g*(1-N),H=E+V*g*N,B=F+Y*g*N,H=mathMin$5(H,mathMax$5(P,E)),B=mathMin$5(B,mathMax$5(G,F)),H=mathMax$5(H,mathMin$5(P,E)),B=mathMax$5(B,mathMin$5(G,F)),V=H-E,Y=B-F,S=E-V*J/ne,C=F-Y*J/ne,S=mathMin$5(S,mathMax$5(A,E)),C=mathMin$5(C,mathMax$5(b,F)),S=mathMax$5(S,mathMin$5(A,E)),C=mathMax$5(C,mathMin$5(b,F)),V=E-S,Y=F-C,H=E+V*ne/J,B=F+Y*ne/J}t.bezierCurveTo(_,w,S,C,E,F),_=H,w=B}else t.lineTo(E,F)}A=E,b=F,T+=d}return I}var ECPolylineShape=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ECPolyline=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="ec-polyline",a}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ECPolylineShape},r.prototype.buildPath=function(o,a){var u=a.points,d=0,g=u.length/2;if(a.connectNulls){for(;g>0&&isPointNull$1(u[g*2-2],u[g*2-1]);g--);for(;d=0){var D=A?(C-y)*O+y:(S-v)*O+v;return A?[o,D]:[D,o]}v=S,y=C;break;case g.C:S=d[_++],C=d[_++],T=d[_++],I=d[_++],E=d[_++],F=d[_++];var x=A?cubicRootAt(v,S,T,E,o,b):cubicRootAt(y,C,I,F,o,b);if(x>0)for(var P=0;P=0){var D=A?cubicAt(y,C,I,F,G):cubicAt(v,S,T,E,G);return A?[o,D]:[D,o]}}v=E,y=F;break}}},r}(Path$1),ECPolygonShape=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(ECPolylineShape),ECPolygon=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="ec-polygon",a}return r.prototype.getDefaultShape=function(){return new ECPolygonShape},r.prototype.buildPath=function(o,a){var u=a.points,d=a.stackedOnPoints,g=0,v=u.length/2,y=a.smoothMonotone;if(a.connectNulls){for(;v>0&&isPointNull$1(u[v*2-2],u[v*2-1]);v--);for(;gr){d?o.push(g(d,y,r)):u&&o.push(g(u,y,0),g(u,y,r));break}else u&&(o.push(g(u,y,0)),u=null),o.push(y),d=y}return o}function getVisualGradient(t,r,o){var a=t.getVisual("visualMeta");if(!(!a||!a.length||!t.count())&&r.type==="cartesian2d"){for(var u,d,g=a.length-1;g>=0;g--){var v=t.getDimensionInfo(a[g].dimension);if(u=v&&v.coordDim,u==="x"||u==="y"){d=a[g];break}}if(!!d){var y=r.getAxis(u),A=map$1(d.stops,function(O){return{coord:y.toGlobalCoord(y.dataToCoord(O.value)),color:O.color}}),b=A.length,_=d.outerColors.slice();b&&A[0].coord>A[b-1].coord&&(A.reverse(),_.reverse());var w=clipColorStops(A,u==="x"?o.getWidth():o.getHeight()),S=w.length;if(!S&&b)return A[0].coord<0?_[1]?_[1]:A[b-1].color:_[0]?_[0]:A[0].color;var C=10,T=w[0].coord-C,I=w[S-1].coord+C,E=I-T;if(E<.001)return"transparent";each$f(w,function(O){O.offset=(O.coord-T)/E}),w.push({offset:S?w[S-1].offset:.5,color:_[1]||"transparent"}),w.unshift({offset:S?w[0].offset:.5,color:_[0]||"transparent"});var F=new LinearGradient$1(0,0,0,0,w,!0);return F[u]=T,F[u+"2"]=I,F}}}function getIsIgnoreFunc(t,r,o){var a=t.get("showAllSymbol"),u=a==="auto";if(!(a&&!u)){var d=o.getAxesByScale("ordinal")[0];if(!!d&&!(u&&canShowAllSymbolForCategory(d,r))){var g=r.mapDimension(d.dim),v={};return each$f(d.getViewLabels(),function(y){var A=d.scale.getRawOrdinalNumber(y.tickValue);v[A]=1}),function(y){return!v.hasOwnProperty(r.get(g,y))}}}}function canShowAllSymbolForCategory(t,r){var o=t.getExtent(),a=Math.abs(o[1]-o[0])/t.scale.count();isNaN(a)&&(a=0);for(var u=r.count(),d=Math.max(1,Math.round(u/5)),g=0;ga)return!1;return!0}function isPointNull(t,r){return isNaN(t)||isNaN(r)}function getLastIndexNotNull(t){for(var r=t.length/2;r>0&&isPointNull(t[r*2-2],t[r*2-1]);r--);return r-1}function getPointAtIndex(t,r){return[t[r*2],t[r*2+1]]}function getIndexRange(t,r,o){for(var a=t.length/2,u=o==="x"?0:1,d,g,v=0,y=-1,A=0;A=r||d>=r&&g<=r){y=A;break}v=A,d=g}return{range:[v,y],t:(r-d)/(g-d)}}function anyStateShowEndLabel(t){if(t.get(["endLabel","show"]))return!0;for(var r=0;r0&&o.get(["emphasis","lineStyle","width"])==="bolder"){var te=T.getState("emphasis").style;te.lineWidth=+T.style.lineWidth+1}getECData(T).seriesIndex=o.seriesIndex,toggleHoverEmphasis(T,X,J,ne);var ce=getSmooth(o.get("smooth")),se=o.get("smoothMonotone");if(T.setShape({smooth:ce,smoothMonotone:se,connectNulls:M}),I){var ge=y.getCalculationInfo("stackedOnSeries"),he=0;I.useStyle(defaults(b.getAreaStyle(),{fill:B,opacity:.7,lineJoin:"bevel",decal:y.getVisual("style").decal})),ge&&(he=getSmooth(ge.get("smooth"))),I.setShape({smooth:ce,stackedOnSmooth:he,smoothMonotone:se,connectNulls:M}),setStatesStylesFromModel(I,o,"areaStyle"),getECData(I).seriesIndex=o.seriesIndex,toggleHoverEmphasis(I,X,J,ne)}var ye=function(ee){d._changePolyState(ee)};y.eachItemGraphicEl(function(ee){ee&&(ee.onHoverStateChange=ye)}),this._polyline.onHoverStateChange=ye,this._data=y,this._coordSys=g,this._stackedOnPoints=P,this._points=_,this._step=Y,this._valueOrigin=D,o.get("triggerLineEvent")&&(this.packEventData(o,T),I&&this.packEventData(o,I))},r.prototype.packEventData=function(o,a){getECData(a).eventData={componentType:"series",componentSubType:"line",componentIndex:o.componentIndex,seriesIndex:o.seriesIndex,seriesName:o.name,seriesType:"line"}},r.prototype.highlight=function(o,a,u,d){var g=o.getData(),v=queryDataIndex(g,d);if(this._changePolyState("emphasis"),!(v instanceof Array)&&v!=null&&v>=0){var y=g.getLayout("points"),A=g.getItemGraphicEl(v);if(!A){var b=y[v*2],_=y[v*2+1];if(isNaN(b)||isNaN(_)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(b,_))return;var w=o.get("zlevel")||0,S=o.get("z")||0;A=new SymbolClz(g,v),A.x=b,A.y=_,A.setZ(w,S);var C=A.getSymbolPath().getTextContent();C&&(C.zlevel=w,C.z=S,C.z2=this._polyline.z2+1),A.__temp=!0,g.setItemGraphicEl(v,A),A.stopSymbolAnimation(!0),this.group.add(A)}A.highlight()}else ChartView$1.prototype.highlight.call(this,o,a,u,d)},r.prototype.downplay=function(o,a,u,d){var g=o.getData(),v=queryDataIndex(g,d);if(this._changePolyState("normal"),v!=null&&v>=0){var y=g.getItemGraphicEl(v);y&&(y.__temp?(g.setItemGraphicEl(v,null),this.group.remove(y)):y.downplay())}else ChartView$1.prototype.downplay.call(this,o,a,u,d)},r.prototype._changePolyState=function(o){var a=this._polygon;setStatesFlag(this._polyline,o),a&&setStatesFlag(a,o)},r.prototype._newPolyline=function(o){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new ECPolyline({shape:{points:o},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},r.prototype._newPolygon=function(o,a){var u=this._polygon;return u&&this._lineGroup.remove(u),u=new ECPolygon({shape:{points:o,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(u),this._polygon=u,u},r.prototype._initSymbolLabelAnimation=function(o,a,u){var d,g,v=a.getBaseAxis(),y=v.inverse;a.type==="cartesian2d"?(d=v.isHorizontal(),g=!1):a.type==="polar"&&(d=v.dim==="angle",g=!0);var A=o.hostModel,b=A.get("animationDuration");isFunction(b)&&(b=b(null));var _=A.get("animationDelay")||0,w=isFunction(_)?_(null):_;o.eachItemGraphicEl(function(S,C){var T=S;if(T){var I=[S.x,S.y],E=void 0,F=void 0,O=void 0;if(u)if(g){var D=u,x=a.pointToCoord(I);d?(E=D.startAngle,F=D.endAngle,O=-x[1]/180*Math.PI):(E=D.r0,F=D.r,O=x[0])}else{var P=u;d?(E=P.x,F=P.x+P.width,O=S.x):(E=P.y+P.height,F=P.y,O=S.y)}var G=F===E?0:(O-E)/(F-E);y&&(G=1-G);var M=isFunction(_)?_(C):b*G+w,N=T.getSymbolPath(),V=N.getTextContent();T.attr({scaleX:0,scaleY:0}),T.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:M}),V&&V.animateFrom({style:{opacity:0}},{duration:300,delay:M}),N.disableLabelAnimation=!0}})},r.prototype._initOrUpdateEndLabel=function(o,a,u){var d=o.getModel("endLabel");if(anyStateShowEndLabel(o)){var g=o.getData(),v=this._polyline,y=g.getLayout("points");if(!y){v.removeTextContent(),this._endLabel=null;return}var A=this._endLabel;A||(A=this._endLabel=new ZRText$1({z2:200}),A.ignoreClip=!0,v.setTextContent(this._endLabel),v.disableLabelAnimation=!0);var b=getLastIndexNotNull(y);b>=0&&(setLabelStyle(v,getLabelStatesModels(o,"endLabel"),{inheritColor:u,labelFetcher:o,labelDataIndex:b,defaultText:function(_,w,S){return S!=null?getDefaultInterpolatedLabel(g,S):getDefaultLabel(g,_)},enableTextSetter:!0},getEndLabelStateSpecified(d,a)),v.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},r.prototype._endLabelOnDuring=function(o,a,u,d,g,v,y){var A=this._endLabel,b=this._polyline;if(A){o<1&&d.originalX==null&&(d.originalX=A.x,d.originalY=A.y);var _=u.getLayout("points"),w=u.hostModel,S=w.get("connectNulls"),C=v.get("precision"),T=v.get("distance")||0,I=y.getBaseAxis(),E=I.isHorizontal(),F=I.inverse,O=a.shape,D=F?E?O.x:O.y+O.height:E?O.x+O.width:O.y,x=(E?T:0)*(F?-1:1),P=(E?0:-T)*(F?-1:1),G=E?"x":"y",M=getIndexRange(_,D,G),N=M.range,V=N[1]-N[0],Y=void 0;if(V>=1){if(V>1&&!S){var H=getPointAtIndex(_,N[0]);A.attr({x:H[0]+x,y:H[1]+P}),g&&(Y=w.getRawValue(N[0]))}else{var H=b.getPointOn(D,G);H&&A.attr({x:H[0]+x,y:H[1]+P});var B=w.getRawValue(N[0]),z=w.getRawValue(N[1]);g&&(Y=interpolateRawValues(u,C,B,z,M.t))}d.lastFrameIndex=N[0]}else{var U=o===1||d.lastFrameIndex>0?N[0]:0,H=getPointAtIndex(_,U);g&&(Y=w.getRawValue(U)),A.attr({x:H[0]+x,y:H[1]+P})}if(g){var Q=labelInner(A);typeof Q.setLabelText=="function"&&Q.setLabelText(Y)}}},r.prototype._doUpdateAnimation=function(o,a,u,d,g,v,y){var A=this._polyline,b=this._polygon,_=o.hostModel,w=lineAnimationDiff(this._data,o,this._stackedOnPoints,a,this._coordSys,u,this._valueOrigin),S=w.current,C=w.stackedOnCurrent,T=w.next,I=w.stackedOnNext;if(g&&(S=turnPointsIntoStep(w.current,u,g,y),C=turnPointsIntoStep(w.stackedOnCurrent,u,g,y),T=turnPointsIntoStep(w.next,u,g,y),I=turnPointsIntoStep(w.stackedOnNext,u,g,y)),getBoundingDiff(S,T)>3e3||b&&getBoundingDiff(C,I)>3e3){A.stopAnimation(),A.setShape({points:T}),b&&(b.stopAnimation(),b.setShape({points:T,stackedOnPoints:I}));return}A.shape.__points=w.current,A.shape.points=S;var E={shape:{points:T}};w.current!==S&&(E.shape.__points=w.next),A.stopAnimation(),updateProps$1(A,E,_),b&&(b.setShape({points:S,stackedOnPoints:C}),b.stopAnimation(),updateProps$1(b,{shape:{stackedOnPoints:I}},_),A.shape.points!==b.shape.points&&(b.shape.points=A.shape.points));for(var F=[],O=w.status,D=0;Dr&&(r=t[o]);return isFinite(r)?r:NaN},min:function(t){for(var r=1/0,o=0;or&&(r=d,o=u)}return isFinite(o)?o:NaN},nearest:function(t){return t[0]}},indexSampler=function(t){return Math.round(t.length/2)};function dataSample(t){return{seriesType:t,reset:function(r,o,a){var u=r.getData(),d=r.get("sampling"),g=r.coordinateSystem,v=u.count();if(v>10&&g.type==="cartesian2d"&&d){var y=g.getBaseAxis(),A=g.getOtherAxis(y),b=y.getExtent(),_=a.getDevicePixelRatio(),w=Math.abs(b[1]-b[0])*(_||1),S=Math.round(v/w);if(isFinite(S)&&S>1){d==="lttb"&&r.setData(u.lttbDownSample(u.mapDimension(A.dim),1/S));var C=void 0;isString$1(d)?C=samplers[d]:isFunction(d)&&(C=d),C&&r.setData(u.downSample(u.mapDimension(A.dim),1/S,C,indexSampler))}}}}}function install$Q(t){t.registerChartView(LineView$1),t.registerSeriesModel(LineSeries),t.registerLayout(pointsLayout("line",!0)),t.registerVisual({seriesType:"line",reset:function(r){var o=r.getData(),a=r.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=o.getVisual("style").fill),o.setVisual("legendLineStyle",a)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function(o,a,u){var d=this.coordinateSystem;if(d&&d.clampData){var g=d.clampData(o),v=d.dataToPoint(g);if(u)each$f(d.getAxes(),function(w,S){if(w.type==="category"&&a!=null){var C=w.getTicksCoords(),T=w.getTickModel().get("alignWithLabel"),I=g[S],E=a[S]==="x1"||a[S]==="y1";if(E&&!T&&(I+=1),C.length<2)return;if(C.length===2){v[S]=w.toGlobalCoord(w.getExtent()[E?1:0]);return}for(var F=void 0,O=void 0,D=1,x=0;xI){O=(P+F)/2;break}x===1&&(D=G-C[0].tickValue)}O==null&&(F?F&&(O=C[C.length-1].coord):O=C[0].coord),v[S]=w.toGlobalCoord(O)}});else{var y=this.getData(),A=y.getLayout("offset"),b=y.getLayout("size"),_=d.getBaseAxis().isHorizontal()?0:1;v[_]+=A+b/2}return v}return[NaN,NaN]},r.type="series.__base_bar__",r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},r}(SeriesModel$1);SeriesModel$1.registerClass(BaseBarSeriesModel);var BaseBarSeriesModel$1=BaseBarSeriesModel,BarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},r.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},r.prototype.getProgressiveThreshold=function(){var o=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>o&&(o=a),o},r.prototype.brushSelector=function(o,a,u){return u.rect(a.getItemLayout(o))},r.type="series.bar",r.dependencies=["grid","polar"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),r}(BaseBarSeriesModel$1),BarSeries=BarSeriesModel,SausageShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),SausagePath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="sausage",a}return r.prototype.getDefaultShape=function(){return new SausageShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.max(a.r0||0,0),v=Math.max(a.r,0),y=(v-g)*.5,A=g+y,b=a.startAngle,_=a.endAngle,w=a.clockwise,S=Math.PI*2,C=w?_-bMath.PI/2&&bv)return!0;v=_}return!1},r.prototype._isOrderDifferentInView=function(o,a){for(var u=a.scale,d=u.getExtent(),g=Math.max(0,d[0]),v=Math.min(d[1],u.getOrdinalMeta().categories.length-1);g<=v;++g)if(o.ordinalNumbers[g]!==u.getRawOrdinalNumber(g))return!0},r.prototype._updateSortWithinSameData=function(o,a,u,d){if(!!this._isOrderChangedWithinSameData(o,a,u)){var g=this._dataSort(o,u,a);this._isOrderDifferentInView(g,u)&&(this._removeOnRenderedListener(d),d.dispatchAction({type:"changeAxisOrder",componentType:u.dim+"Axis",axisId:u.index,sortInfo:g}))}},r.prototype._dispatchInitSort=function(o,a,u){var d=a.baseAxis,g=this._dataSort(o,d,function(v){return o.get(o.mapDimension(a.otherAxis.dim),v)});u.dispatchAction({type:"changeAxisOrder",componentType:d.dim+"Axis",isInitSort:!0,axisId:d.index,sortInfo:g})},r.prototype.remove=function(o,a){this._clear(this._model),this._removeOnRenderedListener(a)},r.prototype.dispose=function(o,a){this._removeOnRenderedListener(a)},r.prototype._removeOnRenderedListener=function(o){this._onRendered&&(o.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function(o){var a=this.group,u=this._data;o&&o.isAnimationEnabled()&&u&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],u.eachItemGraphicEl(function(d){removeElementWithFadeOut(d,o,getECData(d).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},r.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},r.type="bar",r}(ChartView$1),clip={cartesian2d:function(t,r){var o=r.width<0?-1:1,a=r.height<0?-1:1;o<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height);var u=t.x+t.width,d=t.y+t.height,g=mathMax$4(r.x,t.x),v=mathMin$4(r.x+r.width,u),y=mathMax$4(r.y,t.y),A=mathMin$4(r.y+r.height,d),b=vu?v:g,r.y=_&&y>d?A:y,r.width=b?0:v-g,r.height=_?0:A-y,o<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height),b||_},polar:function(t,r){var o=r.r0<=r.r?1:-1;if(o<0){var a=r.r;r.r=r.r0,r.r0=a}var u=mathMin$4(r.r,t.r),d=mathMax$4(r.r0,t.r0);r.r=u,r.r0=d;var g=u-d<0;if(o<0){var a=r.r;r.r=r.r0,r.r0=a}return g}},elementCreator={cartesian2d:function(t,r,o,a,u,d,g,v,y){var A=new Rect$3({shape:extend({},a),z2:1});if(A.__dataIndex=o,A.name="item",d){var b=A.shape,_=u?"height":"width";b[_]=0}return A},polar:function(t,r,o,a,u,d,g,v,y){var A=!u&&y?Sausage:Sector$1,b=new A({shape:a,z2:1});b.name="item";var _=createPolarPositionMapping(u);if(b.calculateTextPosition=createSectorCalculateTextPosition(_,{isRoundCap:A===Sausage}),d){var w=b.shape,S=u?"r":"endAngle",C={};w[S]=u?a.r0:a.startAngle,C[S]=a[S],(v?updateProps$1:initProps)(b,{shape:C},d)}return b}};function shouldRealtimeSort(t,r){var o=t.get("realtimeSort",!0),a=r.getBaseAxis();if(o&&a.type==="category"&&r.type==="cartesian2d")return{baseAxis:a,otherAxis:r.getOtherAxis(a)}}function updateRealtimeAnimation(t,r,o,a,u,d,g,v){var y,A;d?(A={x:a.x,width:a.width},y={y:a.y,height:a.height}):(A={y:a.y,height:a.height},y={x:a.x,width:a.width}),v||(g?updateProps$1:initProps)(o,{shape:y},r,u,null);var b=r?t.baseAxis.model:null;(g?updateProps$1:initProps)(o,{shape:A},b,u)}function checkPropertiesNotValid(t,r){for(var o=0;o0?1:-1,g=a.height>0?1:-1;return{x:a.x+d*u/2,y:a.y+g*u/2,width:a.width-d*u,height:a.height-g*u}},polar:function(t,r,o){var a=t.getItemLayout(r);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function isZeroOnPolar(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function createPolarPositionMapping(t){return function(r){var o=r?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+o;default:return a}}}(t)}function updateStyle(t,r,o,a,u,d,g,v){var y=r.getItemVisual(o,"style");if(v){if(!d.get("roundCap")){var b=t.shape,_=getSectorCornerRadius(a.getModel("itemStyle"),b,!0);extend(b,_),t.setShape(b)}}else{var A=a.get(["itemStyle","borderRadius"])||0;t.setShape("r",A)}t.useStyle(y);var w=a.getShallow("cursor");w&&t.attr("cursor",w);var S=v?g?u.r>=u.r0?"endArc":"startArc":u.endAngle>=u.startAngle?"endAngle":"startAngle":g?u.height>=0?"bottom":"top":u.width>=0?"right":"left",C=getLabelStatesModels(a);setLabelStyle(t,C,{labelFetcher:d,labelDataIndex:o,defaultText:getDefaultLabel(d.getData(),o),inheritColor:y.fill,defaultOpacity:y.opacity,defaultOutsidePosition:S});var T=t.getTextContent();if(v&&T){var I=a.get(["label","position"]);t.textConfig.inside=I==="middle"?!0:null,setSectorTextRotation(t,I==="outside"?S:I,createPolarPositionMapping(g),a.get(["label","rotate"]))}setLabelValueAnimation(T,C,d.getRawValue(o),function(F){return getDefaultInterpolatedLabel(r,F)});var E=a.getModel(["emphasis"]);toggleHoverEmphasis(t,E.get("focus"),E.get("blurScope"),E.get("disabled")),setStatesStylesFromModel(t,a),isZeroOnPolar(u)&&(t.style.fill="none",t.style.stroke="none",each$f(t.states,function(F){F.style&&(F.style.fill=F.style.stroke="none")}))}function getLineWidth(t,r){var o=t.get(["itemStyle","borderColor"]);if(!o||o==="none")return 0;var a=t.get(["itemStyle","borderWidth"])||0,u=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),d=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(a,u,d)}var LagePathShape=function(){function t(){}return t}(),LargePath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="largeBar",a}return r.prototype.getDefaultShape=function(){return new LagePathShape},r.prototype.buildPath=function(o,a){for(var u=a.points,d=this.baseDimIdx,g=1-this.baseDimIdx,v=[],y=[],A=this.barWidth,b=0;b=0?o:null},30,!1);function largePathFindDataIndex(t,r,o){for(var a=t.baseDimIdx,u=1-a,d=t.shape.points,g=t.largeDataIndices,v=[],y=[],A=t.barWidth,b=0,_=d.length/3;b<_;b++){var w=b*3;if(y[a]=A,y[u]=d[w+2],v[a]=d[w+a],v[u]=d[w+u],y[u]<0&&(v[u]+=y[u],y[u]=-y[u]),r>=v[0]&&r<=v[0]+y[0]&&o>=v[1]&&o<=v[1]+y[1])return g[b]}return-1}function createBackgroundShape(t,r,o){if(isCoordinateSystemType(o,"cartesian2d")){var a=r,u=o.getArea();return{x:t?a.x:u.x,y:t?u.y:a.y,width:t?a.width:u.width,height:t?u.height:a.height}}else{var u=o.getArea(),d=r;return{cx:u.cx,cy:u.cy,r0:t?u.r0:d.r0,r:t?u.r:d.r,startAngle:t?d.startAngle:0,endAngle:t?d.endAngle:Math.PI*2}}}function createBackgroundEl(t,r,o){var a=t.type==="polar"?Sector$1:Rect$3;return new a({shape:createBackgroundShape(r,o,t),silent:!0,z2:0})}var BarView$1=BarView;function install$P(t){t.registerChartView(BarView$1),t.registerSeriesModel(BarSeries),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(r,o){var a=r.componentType||"series";o.eachComponent({mainType:a,query:r},function(u){r.sortInfo&&u.axis.setCategorySortInfo(r.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getBasicPieLayout(t,r){var o=getViewRect$5(t,r),a=t.get("center"),u=t.get("radius");isArray$1(u)||(u=[0,u]);var d=parsePercent(o.width,r.getWidth()),g=parsePercent(o.height,r.getHeight()),v=Math.min(d,g),y=parsePercent(u[0],v/2),A=parsePercent(u[1],v/2),b,_,w=t.coordinateSystem;if(w){var S=w.dataToPoint(a);b=S[0]||0,_=S[1]||0}else isArray$1(a)||(a=[a,a]),b=parsePercent(a[0],d)+o.x,_=parsePercent(a[1],g)+o.y;return{cx:b,cy:_,r0:y,r:A}}function pieLayout(t,r,o){r.eachSeriesByType(t,function(a){var u=a.getData(),d=u.mapDimension("value"),g=getViewRect$5(a,o),v=getBasicPieLayout(a,o),y=v.cx,A=v.cy,b=v.r,_=v.r0,w=-a.get("startAngle")*RADIAN$2,S=a.get("endAngle"),C=a.get("padAngle")*RADIAN$2;S=S==="auto"?w-PI2:-S*RADIAN$2;var T=a.get("minAngle")*RADIAN$2,I=T+C,E=0;u.each(d,function(X){!isNaN(X)&&E++});var F=u.getSum(d),O=Math.PI/(F||E)*2,D=a.get("clockwise"),x=a.get("roseType"),P=a.get("stillShowZeroSum"),G=u.getDataExtent(d);G[0]=0;var M=D?1:-1,N=[w,S],V=M*C/2;normalizeArcAngles(N,!D),w=N[0],S=N[1];var Y=getSeriesLayoutData(a);Y.startAngle=w,Y.endAngle=S,Y.clockwise=D;var H=Math.abs(S-w),B=H,z=0,U=w;if(u.setLayout({viewRect:g,r:b}),u.each(d,function(X,J){var ne;if(isNaN(X)){u.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:D,cx:y,cy:A,r0:_,r:x?NaN:b});return}x!=="area"?ne=F===0&&P?O:X*O:ne=H/E,nene?(ce=U+M*ne/2,se=ce):(ce=U+V,se=te-V),u.setItemLayout(J,{angle:ne,startAngle:ce,endAngle:se,clockwise:D,cx:y,cy:A,r0:_,r:x?linearMap$2(X,G,[_,b]):b}),U=te}),Bo?E:I,x=Math.abs(O.label.y-o);if(x>=D.maxY){var P=O.label.x-r-O.len2*u,G=a+O.len,M=Math.abs(P)t.unconstrainedWidth?null:S:null;a.setStyle("width",C)}var T=a.getBoundingRect();d.width=T.width;var I=(a.style.margin||0)+2.1;d.height=T.height+I,d.y-=(d.height-_)/2}}}function isPositionCenter(t){return t.position==="center"}function pieLabelLayout(t){var r=t.getData(),o=[],a,u,d=!1,g=(t.get("minShowLabelAngle")||0)*RADIAN$1,v=r.getLayout("viewRect"),y=r.getLayout("r"),A=v.width,b=v.x,_=v.y,w=v.height;function S(P){P.ignore=!0}function C(P){if(!P.ignore)return!0;for(var G in P.states)if(P.states[G].ignore===!1)return!0;return!1}r.each(function(P){var G=r.getItemGraphicEl(P),M=G.shape,N=G.getTextContent(),V=G.getTextGuideLine(),Y=r.getItemModel(P),H=Y.getModel("label"),B=H.get("position")||Y.get(["emphasis","label","position"]),z=H.get("distanceToLabelLine"),U=H.get("alignTo"),Q=parsePercent(H.get("edgeDistance"),A),X=H.get("bleedMargin"),J=Y.getModel("labelLine"),ne=J.get("length");ne=parsePercent(ne,A);var te=J.get("length2");if(te=parsePercent(te,A),Math.abs(M.endAngle-M.startAngle)0?"right":"left":se>0?"left":"right"}var Ee=Math.PI,le=0,re=H.get("rotate");if(isNumber$1(re))le=re*(Ee/180);else if(B==="center")le=0;else if(re==="radial"||re===!0){var ue=se<0?-ce+Ee:-ce;le=ue}else if(re==="tangential"&&B!=="outside"&&B!=="outer"){var be=Math.atan2(se,ge);be<0&&(be=Ee*2+be);var ie=ge>0;ie&&(be=Ee+be),le=be-Ee}if(d=!!le,N.x=he,N.y=ye,N.rotation=le,N.setStyle({verticalAlign:"middle"}),ae){N.setStyle({align:pe});var Se=N.states.select;Se&&(Se.x+=N.x,Se.y+=N.y)}else{var oe=N.getBoundingRect().clone();oe.applyTransform(N.getComputedTransform());var me=(N.style.margin||0)+2.1;oe.y-=me/2,oe.height+=me,o.push({label:N,labelLine:V,position:B,len:ne,len2:te,minTurnAngle:J.get("minTurnAngle"),maxSurfaceAngle:J.get("maxSurfaceAngle"),surfaceNormal:new Point$1(se,ge),linePoints:ee,textAlign:pe,labelDistance:z,labelAlignTo:U,edgeDistance:Q,bleedMargin:X,rect:oe,unconstrainedWidth:oe.width,labelStyleWidth:N.style.width})}G.setTextConfig({inside:ae})}}),!d&&t.get("avoidLabelOverlap")&&avoidOverlap(o,a,u,y,A,w,b,_);for(var T=0;T0){for(var b=g.getItemLayout(0),_=1;isNaN(b&&b.startAngle)&&_=d.r0}},r.type="pie",r}(ChartView$1),PieView$1=PieView;function createSeriesDataSimply(t,r,o){r=isArray$1(r)&&{coordDimensions:r}||extend({encodeDefine:t.getEncode()},r);var a=t.getSource(),u=prepareSeriesDataSchema(a,r).dimensions,d=new SeriesData$1(u,t);return d.initData(a,o),d}var LegendVisualProvider=function(){function t(r,o){this._getDataWithEncodedVisual=r,this._getRawData=o}return t.prototype.getAllNames=function(){var r=this._getRawData();return r.mapArray(r.getName)},t.prototype.containName=function(r){var o=this._getRawData();return o.indexOfName(r)>=0},t.prototype.indexOfName=function(r){var o=this._getDataWithEncodedVisual();return o.indexOfName(r)},t.prototype.getItemVisual=function(r,o){var a=this._getDataWithEncodedVisual();return a.getItemVisual(r,o)},t}(),LegendVisualProvider$1=LegendVisualProvider,innerData=makeInner(),PieSeriesModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(o)},r.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},r.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype.getDataParams=function(o){var a=this.getData(),u=innerData(a),d=u.seats;if(!d){var g=[];a.each(a.mapDimension("value"),function(y){g.push(y)}),d=u.seats=getPercentSeats(g,a.hostModel.get("percentPrecision"))}var v=t.prototype.getDataParams.call(this,o);return v.percent=d[o]||0,v.$vars.push("percent"),v},r.prototype._defaultLabelLine=function(o){defaultEmphasis(o,"labelLine",["show"]);var a=o.labelLine,u=o.emphasis.labelLine;a.show=a.show&&o.label.show,u.show=u.show&&o.emphasis.label.show},r.type="series.pie",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},r}(SeriesModel$1),PieSeriesModel$1=PieSeriesModel;function negativeDataFilter(t){return{seriesType:t,reset:function(r,o){var a=r.getData();a.filterSelf(function(u){var d=a.mapDimension("value"),g=a.get(d,u);return!(isNumber$1(g)&&!isNaN(g)&&g<0)})}}}function install$O(t){t.registerChartView(PieView$1),t.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",t.registerAction),t.registerLayout(curry$1(pieLayout,"pie")),t.registerProcessor(dataFilter$1("pie")),t.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getProgressive=function(){var o=this.option.progressive;return o==null?this.option.large?5e3:this.get("progressive"):o},r.prototype.getProgressiveThreshold=function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?1e4:this.get("progressiveThreshold"):o},r.prototype.brushSelector=function(o,a,u){return u.point(a.getItemLayout(o))},r.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},r.type="series.scatter",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},r}(SeriesModel$1),ScatterSeriesModel$1=ScatterSeriesModel,BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function t(){}return t}(),LargeSymbolPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.buildPath=function(o,a){var u=a.points,d=a.size,g=this.symbolProxy,v=g.shape,y=o.getContext?o.getContext():o,A=y&&d[0]=0;A--){var b=A*2,_=d[b]-v/2,w=d[b+1]-y/2;if(o>=_&&a>=w&&o<=_+v&&a<=w+y)return A}return-1},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect();if(o=u[0],a=u[1],d.contain(o,a)){var g=this.hoverDataIdx=this.findDataIndex(o,a);return g>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var o=this._rect;if(!o){for(var a=this.shape,u=a.points,d=a.size,g=d[0],v=d[1],y=1/0,A=1/0,b=-1/0,_=-1/0,w=0;w=0&&(A.dataIndex=_+(r.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),LargeSymbolDraw$1=LargeSymbolDraw,ScatterView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this._updateSymbolDraw(d,o);g.updateData(d,{clipShape:this._getClipShape(o)}),this._finished=!0},r.prototype.incrementalPrepareRender=function(o,a,u){var d=o.getData(),g=this._updateSymbolDraw(d,o);g.incrementalPrepareUpdate(d),this._finished=!1},r.prototype.incrementalRender=function(o,a,u){this._symbolDraw.incrementalUpdate(o,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=o.end===a.getData().count()},r.prototype.updateTransform=function(o,a,u){var d=o.getData();if(this.group.dirty(),!this._finished||d.count()>1e4)return{update:!0};var g=pointsLayout("").reset(o,a,u);g.progress&&g.progress({start:0,end:d.count(),count:d.count()},d),this._symbolDraw.updateLayout(d)},r.prototype.eachRendered=function(o){this._symbolDraw&&this._symbolDraw.eachRendered(o)},r.prototype._getClipShape=function(o){if(!!o.get("clip",!0)){var a=o.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},r.prototype._updateSymbolDraw=function(o,a){var u=this._symbolDraw,d=a.pipelineContext,g=d.large;return(!u||g!==this._isLargeDraw)&&(u&&u.remove(),u=this._symbolDraw=g?new LargeSymbolDraw$1:new SymbolDraw$1,this._isLargeDraw=g,this.group.removeAll()),this.group.add(u.group),u},r.prototype.remove=function(o,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},r.prototype.dispose=function(){},r.type="scatter",r}(ChartView$1),ScatterView$1=ScatterView,GridModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.type="grid",r.dependencies=["xAxis","yAxis"],r.layoutMode="box",r.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},r}(ComponentModel$1),GridModel$1=GridModel,CartesianAxisModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},r.type="cartesian2dAxis",r}(ComponentModel$1);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis),axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis},AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(t,r,o,a){each$f(AXIS_TYPES,function(u,d){var g=merge(merge({},axisDefault[d],!0),a,!0),v=function(y){__extends$1(A,y);function A(){var b=y!==null&&y.apply(this,arguments)||this;return b.type=r+"Axis."+d,b}return A.prototype.mergeDefaultAndTheme=function(b,_){var w=fetchLayoutMode(this),S=w?getLayoutParams(b):{},C=_.getTheme();merge(b,C.get(d+"Axis")),merge(b,this.getDefaultOption()),b.type=getAxisType(b),w&&mergeLayoutParam(b,S,w)},A.prototype.optionUpdated=function(){var b=this.option;b.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},A.prototype.getCategories=function(b){var _=this.option;if(_.type==="category")return b?_.data:this.__ordinalMeta.categories},A.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},A.type=r+"Axis."+d,A.defaultOption=g,A}(o);t.registerComponentModel(v)}),t.registerSubTypeDefaulter(r+"Axis",getAxisType)}function getAxisType(t){return t.type||(t.data?"category":"value")}var Cartesian=function(){function t(r){this.type="cartesian",this._dimList=[],this._axes={},this.name=r||""}return t.prototype.getAxis=function(r){return this._axes[r]},t.prototype.getAxes=function(){return map$1(this._dimList,function(r){return this._axes[r]},this)},t.prototype.getAxesByScale=function(r){return r=r.toLowerCase(),filter(this.getAxes(),function(o){return o.scale.type===r})},t.prototype.addAxis=function(r){var o=r.dim;this._axes[o]=r,this._dimList.push(o)},t}(),Cartesian$1=Cartesian,cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(t){return t.type==="interval"||t.type==="time"}var Cartesian2D=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="cartesian2d",o.dimensions=cartesian2DDimensions,o}return r.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var o=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(o)||!canCalculateAffineTransform(a))){var u=o.getExtent(),d=a.getExtent(),g=this.dataToPoint([u[0],d[0]]),v=this.dataToPoint([u[1],d[1]]),y=u[1]-u[0],A=d[1]-d[0];if(!(!y||!A)){var b=(v[0]-g[0])/y,_=(v[1]-g[1])/A,w=g[0]-u[0]*b,S=g[1]-d[0]*_,C=this._transform=[b,0,0,_,w,S];this._invTransform=invert([],C)}}},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},r.prototype.containPoint=function(o){var a=this.getAxis("x"),u=this.getAxis("y");return a.contain(a.toLocalCoord(o[0]))&&u.contain(u.toLocalCoord(o[1]))},r.prototype.containData=function(o){return this.getAxis("x").containData(o[0])&&this.getAxis("y").containData(o[1])},r.prototype.containZone=function(o,a){var u=this.dataToPoint(o),d=this.dataToPoint(a),g=this.getArea(),v=new BoundingRect$1(u[0],u[1],d[0]-u[0],d[1]-u[1]);return g.intersect(v)},r.prototype.dataToPoint=function(o,a,u){u=u||[];var d=o[0],g=o[1];if(this._transform&&d!=null&&isFinite(d)&&g!=null&&isFinite(g))return applyTransform$1(u,o,this._transform);var v=this.getAxis("x"),y=this.getAxis("y");return u[0]=v.toGlobalCoord(v.dataToCoord(d,a)),u[1]=y.toGlobalCoord(y.dataToCoord(g,a)),u},r.prototype.clampData=function(o,a){var u=this.getAxis("x").scale,d=this.getAxis("y").scale,g=u.getExtent(),v=d.getExtent(),y=u.parse(o[0]),A=d.parse(o[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(g[0],g[1]),y),Math.max(g[0],g[1])),a[1]=Math.min(Math.max(Math.min(v[0],v[1]),A),Math.max(v[0],v[1])),a},r.prototype.pointToData=function(o,a){var u=[];if(this._invTransform)return applyTransform$1(u,o,this._invTransform);var d=this.getAxis("x"),g=this.getAxis("y");return u[0]=d.coordToData(d.toLocalCoord(o[0]),a),u[1]=g.coordToData(g.toLocalCoord(o[1]),a),u},r.prototype.getOtherAxis=function(o){return this.getAxis(o.dim==="x"?"y":"x")},r.prototype.getArea=function(o){o=o||0;var a=this.getAxis("x").getGlobalExtent(),u=this.getAxis("y").getGlobalExtent(),d=Math.min(a[0],a[1])-o,g=Math.min(u[0],u[1])-o,v=Math.max(a[0],a[1])-d+o,y=Math.max(u[0],u[1])-g+o;return new BoundingRect$1(d,g,v,y)},r}(Cartesian$1),Axis2D=function(t){__extends$1(r,t);function r(o,a,u,d,g){var v=t.call(this,o,a,u)||this;return v.index=0,v.type=d||"value",v.position=g||"bottom",v}return r.prototype.isHorizontal=function(){var o=this.position;return o==="top"||o==="bottom"},r.prototype.getGlobalExtent=function(o){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),o&&a[0]>a[1]&&a.reverse(),a},r.prototype.pointToData=function(o,a){return this.coordToData(this.toLocalCoord(o[this.dim==="x"?0:1]),a)},r.prototype.setCategorySortInfo=function(o){if(this.type!=="category")return!1;this.model.option.categorySortInfo=o,this.scale.setSortInfo(o)},r}(Axis$1),Axis2D$1=Axis2D;function layout$2(t,r,o){o=o||{};var a=t.coordinateSystem,u=r.axis,d={},g=u.getAxesOnZeroOf()[0],v=u.position,y=g?"onZero":v,A=u.dim,b=a.getRect(),_=[b.x,b.x+b.width,b.y,b.y+b.height],w={left:0,right:1,top:0,bottom:1,onZero:2},S=r.get("offset")||0,C=A==="x"?[_[2]-S,_[3]+S]:[_[0]-S,_[1]+S];if(g){var T=g.toGlobalCoord(g.dataToCoord(0));C[w.onZero]=Math.max(Math.min(T,C[1]),C[0])}d.position=[A==="y"?C[w[y]]:_[0],A==="x"?C[w[y]]:_[3]],d.rotation=Math.PI/2*(A==="x"?0:1);var I={top:-1,bottom:1,left:-1,right:1};d.labelDirection=d.tickDirection=d.nameDirection=I[v],d.labelOffset=g?C[w[v]]-C[w.onZero]:0,r.get(["axisTick","inside"])&&(d.tickDirection=-d.tickDirection),retrieve(o.labelInside,r.get(["axisLabel","inside"]))&&(d.labelDirection=-d.labelDirection);var E=r.get(["axisLabel","rotate"]);return d.labelRotate=y==="top"?-E:E,d.z2=1,d}function isCartesian2DSeries(t){return t.get("coordinateSystem")==="cartesian2d"}function findAxisModels(t){var r={xAxisModel:null,yAxisModel:null};return each$f(r,function(o,a){var u=a.replace(/Model$/,""),d=t.getReferringComponents(u,SINGLE_REFERRING).models[0];r[a]=d}),r}var mathLog=Math.log;function alignScaleTicks(t,r,o){var a=IntervalScale$1.prototype,u=a.getTicks.call(o),d=a.getTicks.call(o,!0),g=u.length-1,v=a.getInterval.call(o),y=getScaleExtent(t,r),A=y.extent,b=y.fixMin,_=y.fixMax;if(t.type==="log"){var w=mathLog(t.base);A=[mathLog(A[0])/w,mathLog(A[1])/w]}t.setExtent(A[0],A[1]),t.calcNiceExtent({splitNumber:g,fixMin:b,fixMax:_});var S=a.getExtent.call(t);b&&(A[0]=S[0]),_&&(A[1]=S[1]);var C=a.getInterval.call(t),T=A[0],I=A[1];if(b&&_)C=(I-T)/g;else if(b)for(I=A[0]+C*g;IA[0]&&isFinite(T)&&isFinite(A[0]);)C=increaseInterval(C),T=A[1]-C*g;else{var E=t.getTicks().length-1;E>g&&(C=increaseInterval(C));var F=C*g;I=Math.ceil(A[1]/C)*C,T=round$3(I-F),T<0&&A[0]>=0?(T=0,I=round$3(F)):I>0&&A[1]<=0&&(I=0,T=-round$3(F))}var O=(u[0].value-d[0].value)/v,D=(u[g].value-d[g].value)/v;a.setExtent.call(t,T+C*O,I+C*D),a.setInterval.call(t,C),(O||D)&&a.setNiceExtent.call(t,T+C,I-C)}var Grid=function(){function t(r,o,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(r,o,a),this.model=r}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(r,o){var a=this._axesMap;this._updateScale(r,this.model);function u(g){var v,y=keys(g),A=y.length;if(!!A){for(var b=[],_=A-1;_>=0;_--){var w=+y[_],S=g[w],C=S.model,T=S.scale;isIntervalOrLogScale(T)&&C.get("alignTicks")&&C.get("interval")==null?b.push(S):(niceScaleExtent(T,C),isIntervalOrLogScale(T)&&(v=S))}b.length&&(v||(v=b.pop(),niceScaleExtent(v.scale,v.model)),each$f(b,function(I){alignScaleTicks(I.scale,I.model,v.scale)}))}}u(a.x),u(a.y);var d={};each$f(a.x,function(g){fixAxisOnZero(a,"y",g,d)}),each$f(a.y,function(g){fixAxisOnZero(a,"x",g,d)}),this.resize(this.model,o)},t.prototype.resize=function(r,o,a){var u=r.getBoxLayoutParams(),d=!a&&r.get("containLabel"),g=getLayoutRect(u,{width:o.getWidth(),height:o.getHeight()});this._rect=g;var v=this._axesList;y(),d&&(each$f(v,function(A){if(!A.model.get(["axisLabel","inside"])){var b=estimateLabelUnionRect(A);if(b){var _=A.isHorizontal()?"height":"width",w=A.model.get(["axisLabel","margin"]);g[_]-=b[_]+w,A.position==="top"?g.y+=b.height+w:A.position==="left"&&(g.x+=b.width+w)}}}),y()),each$f(this._coordsList,function(A){A.calcAffineTransform()});function y(){each$f(v,function(A){var b=A.isHorizontal(),_=b?[0,g.width]:[0,g.height],w=A.inverse?1:0;A.setExtent(_[w],_[1-w]),updateAxisTransform(A,b?g.x:g.y)})}},t.prototype.getAxis=function(r,o){var a=this._axesMap[r];if(a!=null)return a[o||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(r,o){if(r!=null&&o!=null){var a="x"+r+"y"+o;return this._coordsMap[a]}isObject$3(r)&&(o=r.yAxisIndex,r=r.xAxisIndex);for(var u=0,d=this._coordsList;u0?"top":"bottom",d="center"):isRadianAroundZero(u-PI$3)?(g=a>0?"bottom":"top",d="center"):(g="middle",u>0&&u0?"right":"left":d=a>0?"left":"right"),{rotation:u,textAlign:d,textVerticalAlign:g}},t.makeAxisEventDataBase=function(r){var o={componentType:r.mainType,componentIndex:r.componentIndex};return o[r.mainType+"Index"]=r.componentIndex,o},t.isLabelSilent=function(r){var o=r.get("tooltip");return r.get("silent")||!(r.get("triggerEvent")||o&&o.show)},t}(),builders={axisLine:function(t,r,o,a){var u=r.get(["axisLine","show"]);if(u==="auto"&&t.handleAutoShown&&(u=t.handleAutoShown("axisLine")),!!u){var d=r.axis.getExtent(),g=a.transform,v=[d[0],0],y=[d[1],0],A=v[0]>y[0];g&&(applyTransform$1(v,v,g),applyTransform$1(y,y,g));var b=extend({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),_=new Line$3({shape:{x1:v[0],y1:v[1],x2:y[0],y2:y[1]},style:b,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(_.shape,_.style.lineWidth),_.anid="line",o.add(_);var w=r.get(["axisLine","symbol"]);if(w!=null){var S=r.get(["axisLine","symbolSize"]);isString$1(w)&&(w=[w,w]),(isString$1(S)||isNumber$1(S))&&(S=[S,S]);var C=normalizeSymbolOffset(r.get(["axisLine","symbolOffset"])||0,S),T=S[0],I=S[1];each$f([{rotate:t.rotation+Math.PI/2,offset:C[0],r:0},{rotate:t.rotation-Math.PI/2,offset:C[1],r:Math.sqrt((v[0]-y[0])*(v[0]-y[0])+(v[1]-y[1])*(v[1]-y[1]))}],function(E,F){if(w[F]!=="none"&&w[F]!=null){var O=createSymbol$1(w[F],-T/2,-I/2,T,I,b.stroke,!0),D=E.r+E.offset,x=A?y:v;O.attr({rotation:E.rotate,x:x[0]+D*Math.cos(t.rotation),y:x[1]-D*Math.sin(t.rotation),silent:!0,z2:11}),o.add(O)}})}}},axisTickLabel:function(t,r,o,a){var u=buildAxisMajorTicks(o,a,r,t),d=buildAxisLabel(o,a,r,t);if(fixMinMaxLabelShow(r,d,u),buildAxisMinorTicks(o,a,r,t.tickDirection),r.get(["axisLabel","hideOverlap"])){var g=prepareLayoutList(map$1(d,function(v){return{label:v,priority:v.z2,defaultAttr:{ignore:v.ignore}}}));hideOverlap(g)}},axisName:function(t,r,o,a){var u=retrieve(t.axisName,r.get("name"));if(!!u){var d=r.get("nameLocation"),g=t.nameDirection,v=r.getModel("nameTextStyle"),y=r.get("nameGap")||0,A=r.axis.getExtent(),b=A[0]>A[1]?-1:1,_=[d==="start"?A[0]-b*y:d==="end"?A[1]+b*y:(A[0]+A[1])/2,isNameLocationCenter(d)?t.labelOffset+g*y:0],w,S=r.get("nameRotate");S!=null&&(S=S*PI$3/180);var C;isNameLocationCenter(d)?w=AxisBuilder.innerTextLayout(t.rotation,S!=null?S:t.rotation,g):(w=endTextLayout(t.rotation,d,S||0,A),C=t.axisNameAvailableWidth,C!=null&&(C=Math.abs(C/Math.sin(w.rotation)),!isFinite(C)&&(C=null)));var T=v.getFont(),I=r.get("nameTruncate",!0)||{},E=I.ellipsis,F=retrieve(t.nameTruncateMaxWidth,I.maxWidth,C),O=new ZRText$1({x:_[0],y:_[1],rotation:w.rotation,silent:AxisBuilder.isLabelSilent(r),style:createTextStyle(v,{text:u,font:T,overflow:"truncate",width:F,ellipsis:E,fill:v.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:v.get("align")||w.textAlign,verticalAlign:v.get("verticalAlign")||w.textVerticalAlign}),z2:1});if(setTooltipConfig({el:O,componentModel:r,itemName:u}),O.__fullText=u,O.anid="name",r.get("triggerEvent")){var D=AxisBuilder.makeAxisEventDataBase(r);D.targetType="axisName",D.name=u,getECData(O).eventData=D}a.add(O),O.updateTransform(),o.add(O),O.decomposeTransform()}}};function endTextLayout(t,r,o,a){var u=remRadian(o-t),d,g,v=a[0]>a[1],y=r==="start"&&!v||r!=="start"&&v;return isRadianAroundZero(u-PI$3/2)?(g=y?"bottom":"top",d="center"):isRadianAroundZero(u-PI$3*1.5)?(g=y?"top":"bottom",d="center"):(g="middle",uPI$3/2?d=y?"left":"right":d=y?"right":"left"),{rotation:u,textAlign:d,textVerticalAlign:g}}function fixMinMaxLabelShow(t,r,o){if(!shouldShowAllLabels(t.axis)){var a=t.get(["axisLabel","showMinLabel"]),u=t.get(["axisLabel","showMaxLabel"]);r=r||[],o=o||[];var d=r[0],g=r[1],v=r[r.length-1],y=r[r.length-2],A=o[0],b=o[1],_=o[o.length-1],w=o[o.length-2];a===!1?(ignoreEl(d),ignoreEl(A)):isTwoLabelOverlapped(d,g)&&(a?(ignoreEl(g),ignoreEl(b)):(ignoreEl(d),ignoreEl(A))),u===!1?(ignoreEl(v),ignoreEl(_)):isTwoLabelOverlapped(y,v)&&(u?(ignoreEl(y),ignoreEl(w)):(ignoreEl(v),ignoreEl(_)))}}function ignoreEl(t){t&&(t.ignore=!0)}function isTwoLabelOverlapped(t,r){var o=t&&t.getBoundingRect().clone(),a=r&&r.getBoundingRect().clone();if(!(!o||!a)){var u=identity([]);return rotate(u,u,-t.rotation),o.applyTransform(mul([],u,t.getLocalTransform())),a.applyTransform(mul([],u,r.getLocalTransform())),o.intersect(a)}}function isNameLocationCenter(t){return t==="middle"||t==="center"}function createTicks(t,r,o,a,u){for(var d=[],g=[],v=[],y=0;y=0||t===r}function fixValue(t){var r=getAxisInfo$1(t);if(!!r){var o=r.axisPointerModel,a=r.axis.scale,u=o.option,d=o.get("status"),g=o.get("value");g!=null&&(g=a.parse(g));var v=isHandleTrigger(o);d==null&&(u.status=v?"show":"hide");var y=a.getExtent().slice();y[0]>y[1]&&y.reverse(),(g==null||g>y[1])&&(g=y[1]),g0&&!C.min?C.min=0:C.min!=null&&C.min<0&&!C.max&&(C.max=0);var T=y;C.color!=null&&(T=defaults({color:C.color},y));var I=merge(clone$5(C),{boundaryGap:o,splitNumber:a,scale:u,axisLine:d,axisTick:g,axisLabel:v,name:C.text,showName:A,nameLocation:"end",nameGap:_,nameTextStyle:T,triggerEvent:w},!1);if(isString$1(b)){var E=I.name;I.name=b.replace("{value}",E!=null?E:"")}else isFunction(b)&&(I.name=b(I.name,I));var F=new Model$1(I,null,this.ecModel);return mixin(F,AxisModelCommonMixin.prototype),F.mainType="radar",F.componentIndex=this.componentIndex,F},this);this._indicatorModels=S},r.prototype.getIndicatorModels=function(){return this._indicatorModels},r.type="radar",r.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},r}(ComponentModel$1),RadarModel$1=RadarModel,axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group;d.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},r.prototype._buildAxes=function(o){var a=o.coordinateSystem,u=a.getIndicatorAxes(),d=map$1(u,function(g){var v=g.model.get("showName")?g.name:"",y=new AxisBuilder$1(g.model,{axisName:v,position:[a.cx,a.cy],rotation:g.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return y});each$f(d,function(g){each$f(axisBuilderAttrs$2,g.add,g),this.group.add(g.getGroup())},this)},r.prototype._buildSplitLineAndArea=function(o){var a=o.coordinateSystem,u=a.getIndicatorAxes();if(!u.length)return;var d=o.get("shape"),g=o.getModel("splitLine"),v=o.getModel("splitArea"),y=g.getModel("lineStyle"),A=v.getModel("areaStyle"),b=g.get("show"),_=v.get("show"),w=y.get("color"),S=A.get("color"),C=isArray$1(w)?w:[w],T=isArray$1(S)?S:[S],I=[],E=[];function F(U,Q,X){var J=X%Q.length;return U[J]=U[J]||[],J}if(d==="circle")for(var O=u[0].getTicksCoords(),D=a.cx,x=a.cy,P=0;P3?1.4:g>1?1.2:1.1,b=d>0?A:1/A;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",o,{scale:b,originX:v,originY:y,isAvailableBehavior:null})}if(u){var _=Math.abs(d),w=(d>0?1:-1)*(_>3?.4:_>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",o,{scrollDelta:w,originX:v,originY:y,isAvailableBehavior:null})}}},r.prototype._pinchHandler=function(o){if(!isTaken(this._zr,"globalPan")){var a=o.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,o,{scale:a,originX:o.pinchX,originY:o.pinchY,isAvailableBehavior:null})}},r}(Eventful$1);function checkPointerAndTrigger(t,r,o,a,u){t.pointerChecker&&t.pointerChecker(a,u.originX,u.originY)&&(stop(a.event),trigger$1(t,r,o,a,u))}function trigger$1(t,r,o,a,u){u.isAvailableBehavior=bind$1(isAvailableBehavior,null,o,a),t.trigger(r,u)}function isAvailableBehavior(t,r,o){var a=o[t];return!t||a&&(!isString$1(a)||r.event[a+"Key"])}var RoamController$1=RoamController;function updateViewOnPan(t,r,o){var a=t.target;a.x+=r,a.y+=o,a.dirty()}function updateViewOnZoom(t,r,o,a){var u=t.target,d=t.zoomLimit,g=t.zoom=t.zoom||1;if(g*=r,d){var v=d.min||0,y=d.max||1/0;g=Math.max(Math.min(y,g),v)}var A=g/t.zoom;t.zoom=g,u.x-=(o-u.x)*(A-1),u.y-=(a-u.y)*(A-1),u.scaleX*=A,u.scaleY*=A,u.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(t,r,o){var a=r.getComponentByElement(t.topTarget),u=a&&a.coordinateSystem;return a&&a!==o&&!IRRELEVANT_EXCLUDES.hasOwnProperty(a.mainType)&&u&&u.model!==o}function parseXML(t){if(isString$1(t)){var r=new DOMParser;t=r.parseFromString(t,"text/xml")}var o=t;for(o.nodeType===9&&(o=o.firstChild);o.nodeName.toLowerCase()!=="svg"||o.nodeType!==1;)o=o.nextSibling;return o}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(r,o){o=o||{};var a=parseXML(r);this._defsUsePending=[];var u=new Group$4;this._root=u;var d=[],g=a.getAttribute("viewBox")||"",v=parseFloat(a.getAttribute("width")||o.width),y=parseFloat(a.getAttribute("height")||o.height);isNaN(v)&&(v=null),isNaN(y)&&(y=null),parseAttributes(a,u,null,!0,!1);for(var A=a.firstChild;A;)this._parseNode(A,u,d,null,!1,!1),A=A.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var b,_;if(g){var w=splitNumberSequence(g);w.length>=4&&(b={x:parseFloat(w[0]||0),y:parseFloat(w[1]||0),width:parseFloat(w[2]),height:parseFloat(w[3])})}if(b&&v!=null&&y!=null&&(_=makeViewBoxTransform(b,{x:0,y:0,width:v,height:y}),!o.ignoreViewBox)){var S=u;u=new Group$4,u.add(S),S.scaleX=S.scaleY=_.scale,S.x=_.x,S.y=_.y}return!o.ignoreRootClip&&v!=null&&y!=null&&u.setClipPath(new Rect$3({shape:{x:0,y:0,width:v,height:y}})),{root:u,width:v,height:y,viewBoxRect:b,viewBoxTransform:_,named:d}},t.prototype._parseNode=function(r,o,a,u,d,g){var v=r.nodeName.toLowerCase(),y,A=u;if(v==="defs"&&(d=!0),v==="text"&&(g=!0),v==="defs"||v==="switch")y=o;else{if(!d){var b=nodeParsers[v];if(b&&hasOwn(nodeParsers,v)){y=b.call(this,r,o);var _=r.getAttribute("name");if(_){var w={name:_,namedFrom:null,svgNodeTagLower:v,el:y};a.push(w),v==="g"&&(A=w)}else u&&a.push({name:u.name,namedFrom:u,svgNodeTagLower:v,el:y});o.add(y)}}var S=paintServerParsers[v];if(S&&hasOwn(paintServerParsers,v)){var C=S.call(this,r),T=r.getAttribute("id");T&&(this._defs[T]=C)}}if(y&&y.isGroup)for(var I=r.firstChild;I;)I.nodeType===1?this._parseNode(I,y,a,A,d,g):I.nodeType===3&&g&&this._parseText(I,y),I=I.nextSibling},t.prototype._parseText=function(r,o){var a=new TSpan$1({style:{text:r.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),applyTextAlignment(a,o);var u=a.style,d=u.fontSize;d&&d<9&&(u.fontSize=9,a.scaleX*=d/9,a.scaleY*=d/9);var g=(u.fontSize||u.fontFamily)&&[u.fontStyle,u.fontWeight,(u.fontSize||12)+"px",u.fontFamily||"sans-serif"].join(" ");u.font=g;var v=a.getBoundingRect();return this._textX+=v.width,o.add(a),a},t.internalField=function(){nodeParsers={g:function(r,o){var a=new Group$4;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a},rect:function(r,o){var a=new Rect$3;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(r.getAttribute("x")||"0"),y:parseFloat(r.getAttribute("y")||"0"),width:parseFloat(r.getAttribute("width")||"0"),height:parseFloat(r.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(r,o){var a=new Circle$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),r:parseFloat(r.getAttribute("r")||"0")}),a.silent=!0,a},line:function(r,o){var a=new Line$3;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(r.getAttribute("x1")||"0"),y1:parseFloat(r.getAttribute("y1")||"0"),x2:parseFloat(r.getAttribute("x2")||"0"),y2:parseFloat(r.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(r,o){var a=new Ellipse$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),rx:parseFloat(r.getAttribute("rx")||"0"),ry:parseFloat(r.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(r,o){var a=r.getAttribute("points"),u;a&&(u=parsePoints(a));var d=new Polygon$1({shape:{points:u||[]},silent:!0});return inheritStyle(o,d),parseAttributes(r,d,this._defsUsePending,!1,!1),d},polyline:function(r,o){var a=r.getAttribute("points"),u;a&&(u=parsePoints(a));var d=new Polyline$3({shape:{points:u||[]},silent:!0});return inheritStyle(o,d),parseAttributes(r,d,this._defsUsePending,!1,!1),d},image:function(r,o){var a=new ZRImage$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setStyle({image:r.getAttribute("xlink:href")||r.getAttribute("href"),x:+r.getAttribute("x"),y:+r.getAttribute("y"),width:+r.getAttribute("width"),height:+r.getAttribute("height")}),a.silent=!0,a},text:function(r,o){var a=r.getAttribute("x")||"0",u=r.getAttribute("y")||"0",d=r.getAttribute("dx")||"0",g=r.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(d),this._textY=parseFloat(u)+parseFloat(g);var v=new Group$4;return inheritStyle(o,v),parseAttributes(r,v,this._defsUsePending,!1,!0),v},tspan:function(r,o){var a=r.getAttribute("x"),u=r.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),u!=null&&(this._textY=parseFloat(u));var d=r.getAttribute("dx")||"0",g=r.getAttribute("dy")||"0",v=new Group$4;return inheritStyle(o,v),parseAttributes(r,v,this._defsUsePending,!1,!0),this._textX+=parseFloat(d),this._textY+=parseFloat(g),v},path:function(r,o){var a=r.getAttribute("d")||"",u=createFromString(a);return inheritStyle(o,u),parseAttributes(r,u,this._defsUsePending,!1,!1),u.silent=!0,u}}}(),t}(),paintServerParsers={lineargradient:function(t){var r=parseInt(t.getAttribute("x1")||"0",10),o=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),u=parseInt(t.getAttribute("y2")||"0",10),d=new LinearGradient$1(r,o,a,u);return parsePaintServerUnit(t,d),parseGradientColorStops(t,d),d},radialgradient:function(t){var r=parseInt(t.getAttribute("cx")||"0",10),o=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),u=new RadialGradient$1(r,o,a);return parsePaintServerUnit(t,u),parseGradientColorStops(t,u),u}};function parsePaintServerUnit(t,r){var o=t.getAttribute("gradientUnits");o==="userSpaceOnUse"&&(r.global=!0)}function parseGradientColorStops(t,r){for(var o=t.firstChild;o;){if(o.nodeType===1&&o.nodeName.toLocaleLowerCase()==="stop"){var a=o.getAttribute("offset"),u=void 0;a&&a.indexOf("%")>0?u=parseInt(a,10)/100:a?u=parseFloat(a):u=0;var d={};parseInlineStyle(o,d,d);var g=d.stopColor||o.getAttribute("stop-color")||"#000000";r.colorStops.push({offset:u,color:g})}o=o.nextSibling}}function inheritStyle(t,r){t&&t.__inheritedStyle&&(r.__inheritedStyle||(r.__inheritedStyle={}),defaults(r.__inheritedStyle,t.__inheritedStyle))}function parsePoints(t){for(var r=splitNumberSequence(t),o=[],a=0;a0;d-=2){var g=a[d],v=a[d-1],y=splitNumberSequence(g);switch(u=u||create$1(),v){case"translate":translate(u,u,[parseFloat(y[0]),parseFloat(y[1]||"0")]);break;case"scale":scale$1(u,u,[parseFloat(y[0]),parseFloat(y[1]||y[0])]);break;case"rotate":rotate(u,u,-parseFloat(y[0])*DEGREE_TO_ANGLE,[parseFloat(y[1]||"0"),parseFloat(y[2]||"0")]);break;case"skewX":var A=Math.tan(parseFloat(y[0])*DEGREE_TO_ANGLE);mul(u,[1,0,A,1,0,0],u);break;case"skewY":var b=Math.tan(parseFloat(y[0])*DEGREE_TO_ANGLE);mul(u,[1,b,0,1,0,0],u);break;case"matrix":u[0]=parseFloat(y[0]),u[1]=parseFloat(y[1]),u[2]=parseFloat(y[2]),u[3]=parseFloat(y[3]),u[4]=parseFloat(y[4]),u[5]=parseFloat(y[5]);break}}r.setLocalTransform(u)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(t,r,o){var a=t.getAttribute("style");if(!!a){styleRegex.lastIndex=0;for(var u;(u=styleRegex.exec(a))!=null;){var d=u[1],g=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,d)?INHERITABLE_STYLE_ATTRIBUTES_MAP[d]:null;g&&(r[g]=u[2]);var v=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,d)?SELF_STYLE_ATTRIBUTES_MAP[d]:null;v&&(o[v]=u[2])}}}function parseAttributeStyle(t,r,o){for(var a=0;a"].join(a)}function createBrushScope(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(t,r,o,a){return createVNode("svg","root",{width:t,height:r,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+t+" "+r:!1},o)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(t,r,o){var a=extend({},t.shape);extend(a,r),t.buildPath(o,a);var u=new SVGPathRebuilder$1;return u.reset(getPathPrecision(t)),o.rebuildPath(u,1),u.generateStr(),u.getStr()}function setTransformOrigin(t,r){var o=r.originX,a=r.originY;(o||a)&&(t[transformOriginKey]=o+"px "+a+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(t,r){var o=r.zrId+"-ani-"+r.cssAnimIdx++;return r.cssAnims[o]=t,o}function createCompoundPathCSSAnimation(t,r,o){var a=t.shape.paths,u={},d,g;if(each$f(a,function(y){var A=createBrushScope(o.zrId);A.animation=!0,createCSSAnimation(y,{},A,!0);var b=A.cssAnims,_=A.cssNodes,w=keys(b),S=w.length;if(!!S){g=w[S-1];var C=b[g];for(var T in C){var I=C[T];u[T]=u[T]||{d:""},u[T].d+=I.d||""}for(var E in _){var F=_[E].animation;F.indexOf(g)>=0&&(d=F)}}}),!!d){r.d=!1;var v=addAnimation(u,o);return d.replace(g,v)}}function getEasingFunc(t){return isString$1(t)?EASING_MAP[t]?"cubic-bezier("+EASING_MAP[t]+")":createCubicEasingFunc(t)?t:"":""}function createCSSAnimation(t,r,o,a){var u=t.animators,d=u.length,g=[];if(t instanceof CompoundPath$1){var v=createCompoundPathCSSAnimation(t,r,o);if(v)g.push(v);else if(!d)return}else if(!d)return;for(var y={},A=0;A0}).length){var pe=addAnimation(G,o);return pe+" "+F[0]+" both"}}for(var I in y){var v=T(y[I]);v&&g.push(v)}if(g.length){var E=o.zrId+"-cls-"+getClassId();o.cssNodes["."+E]={animation:g.join(",")},r.class=E}}function createCSSEmphasis(t,r,o){if(!t.ignore)if(t.isSilent()){var a={"pointer-events":"none"};setClassAttribute(a,r,o,!0)}else{var u=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},d=u.fill;if(!d){var g=t.style&&t.style.fill,v=t.states.select&&t.states.select.style&&t.states.select.style.fill,y=t.currentStates.indexOf("select")>=0&&v||g;y&&(d=liftColor(y))}var A=u.lineWidth;if(A){var b=!u.strokeNoScale&&t.transform?t.transform[0]:1;A=A/b}var a={cursor:"pointer"};d&&(a.fill=d),u.stroke&&(a.stroke=u.stroke),A&&(a["stroke-width"]=A),setClassAttribute(a,r,o,!0)}}function setClassAttribute(t,r,o,a){var u=JSON.stringify(t),d=o.cssStyleCache[u];d||(d=o.zrId+"-cls-"+getClassId(),o.cssStyleCache[u]=d,o.cssNodes["."+d+(a?":hover":"")]=t),r.class=r.class?r.class+" "+d:d}var round$1=Math.round;function isImageLike(t){return t&&isString$1(t.src)}function isCanvasLike(t){return t&&isFunction(t.toDataURL)}function setStyleAttrs(t,r,o,a){mapStyleToAttrs(function(u,d){var g=u==="fill"||u==="stroke";g&&isGradient(d)?setGradient(r,t,u,a):g&&isPattern(d)?setPattern(o,t,u,a):g&&d==="none"?t[u]="transparent":t[u]=d},r,o,!1),setShadow(o,t,a)}function setMetaData(t,r){var o=getElementSSRData(r);o&&(o.each(function(a,u){a!=null&&(t[(META_DATA_PREFIX+u).toLowerCase()]=a+"")}),r.isSilent()&&(t[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(t){return isAroundZero(t[0]-1)&&isAroundZero(t[1])&&isAroundZero(t[2])&&isAroundZero(t[3]-1)}function noTranslate(t){return isAroundZero(t[4])&&isAroundZero(t[5])}function setTransform(t,r,o){if(r&&!(noTranslate(r)&&noRotateScale(r))){var a=o?10:1e4;t.transform=noRotateScale(r)?"translate("+round$1(r[4]*a)/a+" "+round$1(r[5]*a)/a+")":getMatrixStr(r)}}function convertPolyShape(t,r,o){for(var a=t.points,u=[],d=0;dd?(C=o[y+1]==null?null:o[y+1].elm,addVnodes(t,C,o,u,y)):removeVnodes(t,r,a,d))}function patchVnode(t,r){var o=r.elm=t.elm,a=t.children,u=r.children;t!==r&&(updateAttrs(t,r),isUndef(r.text)?isDef(a)&&isDef(u)?a!==u&&updateChildren(o,a,u):isDef(u)?(isDef(t.text)&&setTextContent(o,""),addVnodes(o,null,u,0,u.length-1)):isDef(a)?removeVnodes(o,a,0,a.length-1):isDef(t.text)&&setTextContent(o,""):t.text!==r.text&&(isDef(a)&&removeVnodes(o,a,0,a.length-1),setTextContent(o,r.text)))}function patch(t,r){if(sameVnode(t,r))patchVnode(t,r);else{var o=t.elm,a=parentNode(o);createElm(r),a!==null&&(insertBefore(a,r.elm,nextSibling(o)),removeVnodes(a,[t],0,0))}return r}var svgId=0,SVGPainter=function(){function t(r,o,a){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=o,this._opts=a=extend({},a),this.root=r,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(a.width,a.height),r&&!a.ssr){var u=this._viewport=document.createElement("div");u.style.cssText="position:relative;overflow:hidden";var d=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),u.appendChild(d),r.appendChild(u)}this.resize(a.width,a.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var r=this.renderToVNode({willUpdate:!0});r.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,r),this._oldVNode=r}},t.prototype.renderOneToVNode=function(r){return brush(r,createBrushScope(this._id))},t.prototype.renderToVNode=function(r){r=r||{};var o=this.storage.getDisplayList(!0),a=this._width,u=this._height,d=createBrushScope(this._id);d.animation=r.animation,d.willUpdate=r.willUpdate,d.compress=r.compress,d.emphasis=r.emphasis;var g=[],v=this._bgVNode=createBackgroundVNode(a,u,this._backgroundColor,d);v&&g.push(v);var y=r.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(o,d,y?y.children:g),y&&g.push(y);var A=map$1(keys(d.defs),function(w){return d.defs[w]});if(A.length&&g.push(createVNode("defs","defs",{},A)),r.animation){var b=getCssString(d.cssNodes,d.cssAnims,{newline:!0});if(b){var _=createVNode("style","stl",{},[],b);g.push(_)}}return createSVGVNode(a,u,g,r.useViewBox)},t.prototype.renderToString=function(r){return r=r||{},vNodeToString(this.renderToVNode({animation:retrieve2(r.cssAnimation,!0),emphasis:retrieve2(r.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2(r.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(r,o,a){for(var u=r.length,d=[],g=0,v,y,A=0,b=0;b=0&&!(w&&y&&w[T]===y[T]);T--);for(var I=C-1;I>T;I--)g--,v=d[g-1];for(var E=T+1;E=v)}}for(var _=this.__startIndex;_15)break}}z.prevElClipPaths&&E.restore()};if(F)if(F.length===0)M=I.__endIndex;else for(var V=S.dpr,Z=0;Z0&&r>u[0]){for(y=0;yr);y++);v=a[u[y]]}if(u.splice(y+1,0,r),a[r]=o,!o.virtual)if(v){var A=v.dom;A.nextSibling?g.insertBefore(o.dom,A.nextSibling):g.appendChild(o.dom)}else g.firstChild?g.insertBefore(o.dom,g.firstChild):g.appendChild(o.dom);o.painter||(o.painter=this)}},t.prototype.eachLayer=function(r,o){for(var a=this._zlevelList,u=0;u0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),b.__builtin__||logError("ZLevel "+A+" has been used by unkown layer "+b.id),b!==d&&(b.__used=!0,b.__startIndex!==y&&(b.__dirty=!0),b.__startIndex=y,b.incremental?b.__drawIndex=-1:b.__drawIndex=y,o(y),d=b),u.__dirty&REDRAW_BIT&&!u.__inHover&&(b.__dirty=!0,b.incremental&&b.__drawIndex<0&&(b.__drawIndex=y))}o(y),this.eachBuiltinLayer(function(_,w){!_.__used&&_.getElementCount()>0&&(_.__dirty=!0,_.__startIndex=_.__endIndex=_.__drawIndex=0),_.__dirty&&_.__drawIndex<0&&(_.__drawIndex=_.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(r){r.clear()},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r,each$f(this._layers,function(o){o.setUnpainted()})},t.prototype.configLayer=function(r,o){if(o){var a=this._layerConfig;a[r]?merge(a[r],o,!0):a[r]=o;for(var u=0;u-1&&(A.style.stroke=A.style.fill,A.style.fill="#fff",A.style.lineWidth=2),a},r.type="series.line",r.dependencies=["grid","polar"],r.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},r}(SeriesModel$1),LineSeries=LineSeriesModel;function getDefaultLabel(t,r){var o=t.mapDimensionsAll("defaultedLabel"),a=o.length;if(a===1){var u=retrieveRawValue(t,r,o[0]);return u!=null?u+"":null}else if(a){for(var d=[],g=0;g=0&&a.push(r[d])}return a.join(" ")}var Symbol$1=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this)||this;return g.updateData(o,a,u,d),g}return r.prototype._createSymbol=function(o,a,u,d,g){this.removeAll();var v=createSymbol$1(o,-1,-1,2,2,null,g);v.attr({z2:100,culling:!0,scaleX:d[0]/2,scaleY:d[1]/2}),v.drift=driftSymbol,this._symbolType=o,this.add(v)},r.prototype.stopSymbolAnimation=function(o){this.childAt(0).stopAnimation(null,o)},r.prototype.getSymbolType=function(){return this._symbolType},r.prototype.getSymbolPath=function(){return this.childAt(0)},r.prototype.highlight=function(){enterEmphasis(this.childAt(0))},r.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},r.prototype.setZ=function(o,a){var u=this.childAt(0);u.zlevel=o,u.z=a},r.prototype.setDraggable=function(o,a){var u=this.childAt(0);u.draggable=o,u.cursor=!a&&o?"move":u.cursor},r.prototype.updateData=function(o,a,u,d){this.silent=!1;var g=o.getItemVisual(a,"symbol")||"circle",v=o.hostModel,y=r.getSymbolSize(o,a),A=g!==this._symbolType,b=d&&d.disableAnimation;if(A){var _=o.getItemVisual(a,"symbolKeepAspect");this._createSymbol(g,o,a,y,_)}else{var w=this.childAt(0);w.silent=!1;var S={scaleX:y[0]/2,scaleY:y[1]/2};b?w.attr(S):updateProps$1(w,S,v,a),saveOldStyle(w)}if(this._updateCommon(o,a,y,u,d),A){var w=this.childAt(0);if(!b){var S={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:w.style.opacity}};w.scaleX=w.scaleY=0,w.style.opacity=0,initProps(w,S,v,a)}}b&&this.childAt(0).stopAnimation("leave")},r.prototype._updateCommon=function(o,a,u,d,g){var v=this.childAt(0),y=o.hostModel,A,b,_,w,S,C,T,I,E;if(d&&(A=d.emphasisItemStyle,b=d.blurItemStyle,_=d.selectItemStyle,w=d.focus,S=d.blurScope,T=d.labelStatesModels,I=d.hoverScale,E=d.cursorStyle,C=d.emphasisDisabled),!d||o.hasItemOption){var F=d&&d.itemModel?d.itemModel:o.getItemModel(a),O=F.getModel("emphasis");A=O.getModel("itemStyle").getItemStyle(),_=F.getModel(["select","itemStyle"]).getItemStyle(),b=F.getModel(["blur","itemStyle"]).getItemStyle(),w=O.get("focus"),S=O.get("blurScope"),C=O.get("disabled"),T=getLabelStatesModels(F),I=O.getShallow("scale"),E=F.getShallow("cursor")}var D=o.getItemVisual(a,"symbolRotate");v.attr("rotation",(D||0)*Math.PI/180||0);var x=normalizeSymbolOffset(o.getItemVisual(a,"symbolOffset"),u);x&&(v.x=x[0],v.y=x[1]),E&&v.attr("cursor",E);var P=o.getItemVisual(a,"style"),G=P.fill;if(v instanceof ZRImage$1){var M=v.style;v.useStyle(extend({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},P))}else v.__isEmptyBrush?v.useStyle(extend({},P)):v.useStyle(P),v.style.decal=null,v.setColor(G,g&&g.symbolInnerColor),v.style.strokeNoScale=!0;var N=o.getItemVisual(a,"liftZ"),V=this._z2;N!=null?V==null&&(this._z2=v.z2,v.z2+=N):V!=null&&(v.z2=V,this._z2=null);var Z=g&&g.useNameLabel;setLabelStyle(v,T,{labelFetcher:y,labelDataIndex:a,defaultText:H,inheritColor:G,defaultOpacity:P.opacity});function H(U){return Z?o.getName(U):getDefaultLabel(o,U)}this._sizeX=u[0]/2,this._sizeY=u[1]/2;var B=v.ensureState("emphasis");B.style=A,v.ensureState("select").style=_,v.ensureState("blur").style=b;var z=I==null||I===!0?Math.max(1.1,3/this._sizeY):isFinite(I)&&I>0?+I:1;B.scaleX=this._sizeX*z,B.scaleY=this._sizeY*z,this.setSymbolScale(1),toggleHoverEmphasis(this,w,S,C)},r.prototype.setSymbolScale=function(o){this.scaleX=this.scaleY=o},r.prototype.fadeOut=function(o,a,u){var d=this.childAt(0),g=getECData(this).dataIndex,v=u&&u.animation;if(this.silent=d.silent=!0,u&&u.fadeLabel){var y=d.getTextContent();y&&removeElement(y,{style:{opacity:0}},a,{dataIndex:g,removeOpt:v,cb:function(){d.removeTextContent()}})}else d.removeTextContent();removeElement(d,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:g,cb:o,removeOpt:v})},r.getSymbolSize=function(o,a){return normalizeSymbolSize(o.getItemVisual(a,"symbolSize"))},r}(Group$4);function driftSymbol(t,r){this.parent.drift(t,r)}var SymbolClz=Symbol$1;function symbolNeedsDraw$1(t,r,o,a){return r&&!isNaN(r[0])&&!isNaN(r[1])&&!(a.isIgnore&&a.isIgnore(o))&&!(a.clipShape&&!a.clipShape.contain(r[0],r[1]))&&t.getItemVisual(o,"symbol")!=="none"}function normalizeUpdateOpt(t){return t!=null&&!isObject$3(t)&&(t={isIgnore:t}),t||{}}function makeSeriesScope$2(t){var r=t.hostModel,o=r.getModel("emphasis");return{emphasisItemStyle:o.getModel("itemStyle").getItemStyle(),blurItemStyle:r.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:r.getModel(["select","itemStyle"]).getItemStyle(),focus:o.get("focus"),blurScope:o.get("blurScope"),emphasisDisabled:o.get("disabled"),hoverScale:o.get("scale"),labelStatesModels:getLabelStatesModels(r),cursorStyle:r.get("cursor")}}var SymbolDraw=function(){function t(r){this.group=new Group$4,this._SymbolCtor=r||SymbolClz}return t.prototype.updateData=function(r,o){this._progressiveEls=null,o=normalizeUpdateOpt(o);var a=this.group,u=r.hostModel,d=this._data,g=this._SymbolCtor,v=o.disableAnimation,y=makeSeriesScope$2(r),A={disableAnimation:v},b=o.getSymbolPoint||function(_){return r.getItemLayout(_)};d||a.removeAll(),r.diff(d).add(function(_){var w=b(_);if(symbolNeedsDraw$1(r,w,_,o)){var S=new g(r,_,y,A);S.setPosition(w),r.setItemGraphicEl(_,S),a.add(S)}}).update(function(_,w){var S=d.getItemGraphicEl(w),C=b(_);if(!symbolNeedsDraw$1(r,C,_,o)){a.remove(S);return}var T=r.getItemVisual(_,"symbol")||"circle",I=S&&S.getSymbolType&&S.getSymbolType();if(!S||I&&I!==T)a.remove(S),S=new g(r,_,y,A),S.setPosition(C);else{S.updateData(r,_,y,A);var E={x:C[0],y:C[1]};v?S.attr(E):updateProps$1(S,E,u)}a.add(S),r.setItemGraphicEl(_,S)}).remove(function(_){var w=d.getItemGraphicEl(_);w&&w.fadeOut(function(){a.remove(w)},u)}).execute(),this._getSymbolPoint=b,this._data=r},t.prototype.updateLayout=function(){var r=this,o=this._data;o&&o.eachItemGraphicEl(function(a,u){var d=r._getSymbolPoint(u);a.setPosition(d),a.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$2(r),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,o,a){this._progressiveEls=[],a=normalizeUpdateOpt(a);function u(y){y.isGroup||(y.incremental=!0,y.ensureState("emphasis").hoverLayer=!0)}for(var d=r.start;d0?o=a[0]:a[1]<0&&(o=a[1]),o}function getStackedOnPoint(t,r,o,a){var u=NaN;t.stacked&&(u=o.get(o.getCalculationInfo("stackedOverDimension"),a)),isNaN(u)&&(u=t.valueStart);var d=t.baseDataOffset,g=[];return g[d]=o.get(t.baseDim,a),g[1-d]=u,r.dataToPoint(g)}function diffData(t,r){var o=[];return r.diff(t).add(function(a){o.push({cmd:"+",idx:a})}).update(function(a,u){o.push({cmd:"=",idx:u,idx1:a})}).remove(function(a){o.push({cmd:"-",idx:a})}).execute(),o}function lineAnimationDiff(t,r,o,a,u,d,g,v){for(var y=diffData(t,r),A=[],b=[],_=[],w=[],S=[],C=[],T=[],I=prepareDataCoordInfo(u,r,g),E=t.getLayout("points")||[],F=r.getLayout("points")||[],O=0;O=u||T<0)break;if(isPointNull$1(E,F)){if(y){T+=d;continue}break}if(T===o)t[d>0?"moveTo":"lineTo"](E,F),_=E,w=F;else{var O=E-A,D=F-b;if(O*O+D*D<.5){T+=d;continue}if(g>0){for(var x=T+d,P=r[x*2],G=r[x*2+1];P===E&&G===F&&I=a||isPointNull$1(P,G))S=E,C=F;else{V=P-A,Z=G-b;var z=E-A,U=P-E,Q=F-b,X=G-F,J=void 0,ne=void 0;if(v==="x"){J=Math.abs(z),ne=Math.abs(U);var te=V>0?1:-1;S=E-te*J*g,C=F,H=E+te*ne*g,B=F}else if(v==="y"){J=Math.abs(Q),ne=Math.abs(X);var ce=Z>0?1:-1;S=E,C=F-ce*J*g,H=E,B=F+ce*ne*g}else J=Math.sqrt(z*z+Q*Q),ne=Math.sqrt(U*U+X*X),N=ne/(ne+J),S=E-V*g*(1-N),C=F-Z*g*(1-N),H=E+V*g*N,B=F+Z*g*N,H=mathMin$5(H,mathMax$5(P,E)),B=mathMin$5(B,mathMax$5(G,F)),H=mathMax$5(H,mathMin$5(P,E)),B=mathMax$5(B,mathMin$5(G,F)),V=H-E,Z=B-F,S=E-V*J/ne,C=F-Z*J/ne,S=mathMin$5(S,mathMax$5(A,E)),C=mathMin$5(C,mathMax$5(b,F)),S=mathMax$5(S,mathMin$5(A,E)),C=mathMax$5(C,mathMin$5(b,F)),V=E-S,Z=F-C,H=E+V*ne/J,B=F+Z*ne/J}t.bezierCurveTo(_,w,S,C,E,F),_=H,w=B}else t.lineTo(E,F)}A=E,b=F,T+=d}return I}var ECPolylineShape=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ECPolyline=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="ec-polyline",a}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ECPolylineShape},r.prototype.buildPath=function(o,a){var u=a.points,d=0,g=u.length/2;if(a.connectNulls){for(;g>0&&isPointNull$1(u[g*2-2],u[g*2-1]);g--);for(;d=0){var D=A?(C-y)*O+y:(S-v)*O+v;return A?[o,D]:[D,o]}v=S,y=C;break;case g.C:S=d[_++],C=d[_++],T=d[_++],I=d[_++],E=d[_++],F=d[_++];var x=A?cubicRootAt(v,S,T,E,o,b):cubicRootAt(y,C,I,F,o,b);if(x>0)for(var P=0;P=0){var D=A?cubicAt(y,C,I,F,G):cubicAt(v,S,T,E,G);return A?[o,D]:[D,o]}}v=E,y=F;break}}},r}(Path$1),ECPolygonShape=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(ECPolylineShape),ECPolygon=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="ec-polygon",a}return r.prototype.getDefaultShape=function(){return new ECPolygonShape},r.prototype.buildPath=function(o,a){var u=a.points,d=a.stackedOnPoints,g=0,v=u.length/2,y=a.smoothMonotone;if(a.connectNulls){for(;v>0&&isPointNull$1(u[v*2-2],u[v*2-1]);v--);for(;gr){d?o.push(g(d,y,r)):u&&o.push(g(u,y,0),g(u,y,r));break}else u&&(o.push(g(u,y,0)),u=null),o.push(y),d=y}return o}function getVisualGradient(t,r,o){var a=t.getVisual("visualMeta");if(!(!a||!a.length||!t.count())&&r.type==="cartesian2d"){for(var u,d,g=a.length-1;g>=0;g--){var v=t.getDimensionInfo(a[g].dimension);if(u=v&&v.coordDim,u==="x"||u==="y"){d=a[g];break}}if(!!d){var y=r.getAxis(u),A=map$1(d.stops,function(O){return{coord:y.toGlobalCoord(y.dataToCoord(O.value)),color:O.color}}),b=A.length,_=d.outerColors.slice();b&&A[0].coord>A[b-1].coord&&(A.reverse(),_.reverse());var w=clipColorStops(A,u==="x"?o.getWidth():o.getHeight()),S=w.length;if(!S&&b)return A[0].coord<0?_[1]?_[1]:A[b-1].color:_[0]?_[0]:A[0].color;var C=10,T=w[0].coord-C,I=w[S-1].coord+C,E=I-T;if(E<.001)return"transparent";each$f(w,function(O){O.offset=(O.coord-T)/E}),w.push({offset:S?w[S-1].offset:.5,color:_[1]||"transparent"}),w.unshift({offset:S?w[0].offset:.5,color:_[0]||"transparent"});var F=new LinearGradient$1(0,0,0,0,w,!0);return F[u]=T,F[u+"2"]=I,F}}}function getIsIgnoreFunc(t,r,o){var a=t.get("showAllSymbol"),u=a==="auto";if(!(a&&!u)){var d=o.getAxesByScale("ordinal")[0];if(!!d&&!(u&&canShowAllSymbolForCategory(d,r))){var g=r.mapDimension(d.dim),v={};return each$f(d.getViewLabels(),function(y){var A=d.scale.getRawOrdinalNumber(y.tickValue);v[A]=1}),function(y){return!v.hasOwnProperty(r.get(g,y))}}}}function canShowAllSymbolForCategory(t,r){var o=t.getExtent(),a=Math.abs(o[1]-o[0])/t.scale.count();isNaN(a)&&(a=0);for(var u=r.count(),d=Math.max(1,Math.round(u/5)),g=0;ga)return!1;return!0}function isPointNull(t,r){return isNaN(t)||isNaN(r)}function getLastIndexNotNull(t){for(var r=t.length/2;r>0&&isPointNull(t[r*2-2],t[r*2-1]);r--);return r-1}function getPointAtIndex(t,r){return[t[r*2],t[r*2+1]]}function getIndexRange(t,r,o){for(var a=t.length/2,u=o==="x"?0:1,d,g,v=0,y=-1,A=0;A=r||d>=r&&g<=r){y=A;break}v=A,d=g}return{range:[v,y],t:(r-d)/(g-d)}}function anyStateShowEndLabel(t){if(t.get(["endLabel","show"]))return!0;for(var r=0;r0&&o.get(["emphasis","lineStyle","width"])==="bolder"){var te=T.getState("emphasis").style;te.lineWidth=+T.style.lineWidth+1}getECData(T).seriesIndex=o.seriesIndex,toggleHoverEmphasis(T,X,J,ne);var ce=getSmooth(o.get("smooth")),se=o.get("smoothMonotone");if(T.setShape({smooth:ce,smoothMonotone:se,connectNulls:M}),I){var ge=y.getCalculationInfo("stackedOnSeries"),he=0;I.useStyle(defaults(b.getAreaStyle(),{fill:B,opacity:.7,lineJoin:"bevel",decal:y.getVisual("style").decal})),ge&&(he=getSmooth(ge.get("smooth"))),I.setShape({smooth:ce,stackedOnSmooth:he,smoothMonotone:se,connectNulls:M}),setStatesStylesFromModel(I,o,"areaStyle"),getECData(I).seriesIndex=o.seriesIndex,toggleHoverEmphasis(I,X,J,ne)}var ye=function(ee){d._changePolyState(ee)};y.eachItemGraphicEl(function(ee){ee&&(ee.onHoverStateChange=ye)}),this._polyline.onHoverStateChange=ye,this._data=y,this._coordSys=g,this._stackedOnPoints=P,this._points=_,this._step=Z,this._valueOrigin=D,o.get("triggerLineEvent")&&(this.packEventData(o,T),I&&this.packEventData(o,I))},r.prototype.packEventData=function(o,a){getECData(a).eventData={componentType:"series",componentSubType:"line",componentIndex:o.componentIndex,seriesIndex:o.seriesIndex,seriesName:o.name,seriesType:"line"}},r.prototype.highlight=function(o,a,u,d){var g=o.getData(),v=queryDataIndex(g,d);if(this._changePolyState("emphasis"),!(v instanceof Array)&&v!=null&&v>=0){var y=g.getLayout("points"),A=g.getItemGraphicEl(v);if(!A){var b=y[v*2],_=y[v*2+1];if(isNaN(b)||isNaN(_)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(b,_))return;var w=o.get("zlevel")||0,S=o.get("z")||0;A=new SymbolClz(g,v),A.x=b,A.y=_,A.setZ(w,S);var C=A.getSymbolPath().getTextContent();C&&(C.zlevel=w,C.z=S,C.z2=this._polyline.z2+1),A.__temp=!0,g.setItemGraphicEl(v,A),A.stopSymbolAnimation(!0),this.group.add(A)}A.highlight()}else ChartView$1.prototype.highlight.call(this,o,a,u,d)},r.prototype.downplay=function(o,a,u,d){var g=o.getData(),v=queryDataIndex(g,d);if(this._changePolyState("normal"),v!=null&&v>=0){var y=g.getItemGraphicEl(v);y&&(y.__temp?(g.setItemGraphicEl(v,null),this.group.remove(y)):y.downplay())}else ChartView$1.prototype.downplay.call(this,o,a,u,d)},r.prototype._changePolyState=function(o){var a=this._polygon;setStatesFlag(this._polyline,o),a&&setStatesFlag(a,o)},r.prototype._newPolyline=function(o){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new ECPolyline({shape:{points:o},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},r.prototype._newPolygon=function(o,a){var u=this._polygon;return u&&this._lineGroup.remove(u),u=new ECPolygon({shape:{points:o,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(u),this._polygon=u,u},r.prototype._initSymbolLabelAnimation=function(o,a,u){var d,g,v=a.getBaseAxis(),y=v.inverse;a.type==="cartesian2d"?(d=v.isHorizontal(),g=!1):a.type==="polar"&&(d=v.dim==="angle",g=!0);var A=o.hostModel,b=A.get("animationDuration");isFunction(b)&&(b=b(null));var _=A.get("animationDelay")||0,w=isFunction(_)?_(null):_;o.eachItemGraphicEl(function(S,C){var T=S;if(T){var I=[S.x,S.y],E=void 0,F=void 0,O=void 0;if(u)if(g){var D=u,x=a.pointToCoord(I);d?(E=D.startAngle,F=D.endAngle,O=-x[1]/180*Math.PI):(E=D.r0,F=D.r,O=x[0])}else{var P=u;d?(E=P.x,F=P.x+P.width,O=S.x):(E=P.y+P.height,F=P.y,O=S.y)}var G=F===E?0:(O-E)/(F-E);y&&(G=1-G);var M=isFunction(_)?_(C):b*G+w,N=T.getSymbolPath(),V=N.getTextContent();T.attr({scaleX:0,scaleY:0}),T.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:M}),V&&V.animateFrom({style:{opacity:0}},{duration:300,delay:M}),N.disableLabelAnimation=!0}})},r.prototype._initOrUpdateEndLabel=function(o,a,u){var d=o.getModel("endLabel");if(anyStateShowEndLabel(o)){var g=o.getData(),v=this._polyline,y=g.getLayout("points");if(!y){v.removeTextContent(),this._endLabel=null;return}var A=this._endLabel;A||(A=this._endLabel=new ZRText$1({z2:200}),A.ignoreClip=!0,v.setTextContent(this._endLabel),v.disableLabelAnimation=!0);var b=getLastIndexNotNull(y);b>=0&&(setLabelStyle(v,getLabelStatesModels(o,"endLabel"),{inheritColor:u,labelFetcher:o,labelDataIndex:b,defaultText:function(_,w,S){return S!=null?getDefaultInterpolatedLabel(g,S):getDefaultLabel(g,_)},enableTextSetter:!0},getEndLabelStateSpecified(d,a)),v.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},r.prototype._endLabelOnDuring=function(o,a,u,d,g,v,y){var A=this._endLabel,b=this._polyline;if(A){o<1&&d.originalX==null&&(d.originalX=A.x,d.originalY=A.y);var _=u.getLayout("points"),w=u.hostModel,S=w.get("connectNulls"),C=v.get("precision"),T=v.get("distance")||0,I=y.getBaseAxis(),E=I.isHorizontal(),F=I.inverse,O=a.shape,D=F?E?O.x:O.y+O.height:E?O.x+O.width:O.y,x=(E?T:0)*(F?-1:1),P=(E?0:-T)*(F?-1:1),G=E?"x":"y",M=getIndexRange(_,D,G),N=M.range,V=N[1]-N[0],Z=void 0;if(V>=1){if(V>1&&!S){var H=getPointAtIndex(_,N[0]);A.attr({x:H[0]+x,y:H[1]+P}),g&&(Z=w.getRawValue(N[0]))}else{var H=b.getPointOn(D,G);H&&A.attr({x:H[0]+x,y:H[1]+P});var B=w.getRawValue(N[0]),z=w.getRawValue(N[1]);g&&(Z=interpolateRawValues(u,C,B,z,M.t))}d.lastFrameIndex=N[0]}else{var U=o===1||d.lastFrameIndex>0?N[0]:0,H=getPointAtIndex(_,U);g&&(Z=w.getRawValue(U)),A.attr({x:H[0]+x,y:H[1]+P})}if(g){var Q=labelInner(A);typeof Q.setLabelText=="function"&&Q.setLabelText(Z)}}},r.prototype._doUpdateAnimation=function(o,a,u,d,g,v,y){var A=this._polyline,b=this._polygon,_=o.hostModel,w=lineAnimationDiff(this._data,o,this._stackedOnPoints,a,this._coordSys,u,this._valueOrigin),S=w.current,C=w.stackedOnCurrent,T=w.next,I=w.stackedOnNext;if(g&&(S=turnPointsIntoStep(w.current,u,g,y),C=turnPointsIntoStep(w.stackedOnCurrent,u,g,y),T=turnPointsIntoStep(w.next,u,g,y),I=turnPointsIntoStep(w.stackedOnNext,u,g,y)),getBoundingDiff(S,T)>3e3||b&&getBoundingDiff(C,I)>3e3){A.stopAnimation(),A.setShape({points:T}),b&&(b.stopAnimation(),b.setShape({points:T,stackedOnPoints:I}));return}A.shape.__points=w.current,A.shape.points=S;var E={shape:{points:T}};w.current!==S&&(E.shape.__points=w.next),A.stopAnimation(),updateProps$1(A,E,_),b&&(b.setShape({points:S,stackedOnPoints:C}),b.stopAnimation(),updateProps$1(b,{shape:{stackedOnPoints:I}},_),A.shape.points!==b.shape.points&&(b.shape.points=A.shape.points));for(var F=[],O=w.status,D=0;Dr&&(r=t[o]);return isFinite(r)?r:NaN},min:function(t){for(var r=1/0,o=0;or&&(r=d,o=u)}return isFinite(o)?o:NaN},nearest:function(t){return t[0]}},indexSampler=function(t){return Math.round(t.length/2)};function dataSample(t){return{seriesType:t,reset:function(r,o,a){var u=r.getData(),d=r.get("sampling"),g=r.coordinateSystem,v=u.count();if(v>10&&g.type==="cartesian2d"&&d){var y=g.getBaseAxis(),A=g.getOtherAxis(y),b=y.getExtent(),_=a.getDevicePixelRatio(),w=Math.abs(b[1]-b[0])*(_||1),S=Math.round(v/w);if(isFinite(S)&&S>1){d==="lttb"&&r.setData(u.lttbDownSample(u.mapDimension(A.dim),1/S));var C=void 0;isString$1(d)?C=samplers[d]:isFunction(d)&&(C=d),C&&r.setData(u.downSample(u.mapDimension(A.dim),1/S,C,indexSampler))}}}}}function install$Q(t){t.registerChartView(LineView$1),t.registerSeriesModel(LineSeries),t.registerLayout(pointsLayout("line",!0)),t.registerVisual({seriesType:"line",reset:function(r){var o=r.getData(),a=r.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=o.getVisual("style").fill),o.setVisual("legendLineStyle",a)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function(o,a,u){var d=this.coordinateSystem;if(d&&d.clampData){var g=d.clampData(o),v=d.dataToPoint(g);if(u)each$f(d.getAxes(),function(w,S){if(w.type==="category"&&a!=null){var C=w.getTicksCoords(),T=w.getTickModel().get("alignWithLabel"),I=g[S],E=a[S]==="x1"||a[S]==="y1";if(E&&!T&&(I+=1),C.length<2)return;if(C.length===2){v[S]=w.toGlobalCoord(w.getExtent()[E?1:0]);return}for(var F=void 0,O=void 0,D=1,x=0;xI){O=(P+F)/2;break}x===1&&(D=G-C[0].tickValue)}O==null&&(F?F&&(O=C[C.length-1].coord):O=C[0].coord),v[S]=w.toGlobalCoord(O)}});else{var y=this.getData(),A=y.getLayout("offset"),b=y.getLayout("size"),_=d.getBaseAxis().isHorizontal()?0:1;v[_]+=A+b/2}return v}return[NaN,NaN]},r.type="series.__base_bar__",r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},r}(SeriesModel$1);SeriesModel$1.registerClass(BaseBarSeriesModel);var BaseBarSeriesModel$1=BaseBarSeriesModel,BarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},r.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},r.prototype.getProgressiveThreshold=function(){var o=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>o&&(o=a),o},r.prototype.brushSelector=function(o,a,u){return u.rect(a.getItemLayout(o))},r.type="series.bar",r.dependencies=["grid","polar"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),r}(BaseBarSeriesModel$1),BarSeries=BarSeriesModel,SausageShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),SausagePath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="sausage",a}return r.prototype.getDefaultShape=function(){return new SausageShape},r.prototype.buildPath=function(o,a){var u=a.cx,d=a.cy,g=Math.max(a.r0||0,0),v=Math.max(a.r,0),y=(v-g)*.5,A=g+y,b=a.startAngle,_=a.endAngle,w=a.clockwise,S=Math.PI*2,C=w?_-bMath.PI/2&&bv)return!0;v=_}return!1},r.prototype._isOrderDifferentInView=function(o,a){for(var u=a.scale,d=u.getExtent(),g=Math.max(0,d[0]),v=Math.min(d[1],u.getOrdinalMeta().categories.length-1);g<=v;++g)if(o.ordinalNumbers[g]!==u.getRawOrdinalNumber(g))return!0},r.prototype._updateSortWithinSameData=function(o,a,u,d){if(!!this._isOrderChangedWithinSameData(o,a,u)){var g=this._dataSort(o,u,a);this._isOrderDifferentInView(g,u)&&(this._removeOnRenderedListener(d),d.dispatchAction({type:"changeAxisOrder",componentType:u.dim+"Axis",axisId:u.index,sortInfo:g}))}},r.prototype._dispatchInitSort=function(o,a,u){var d=a.baseAxis,g=this._dataSort(o,d,function(v){return o.get(o.mapDimension(a.otherAxis.dim),v)});u.dispatchAction({type:"changeAxisOrder",componentType:d.dim+"Axis",isInitSort:!0,axisId:d.index,sortInfo:g})},r.prototype.remove=function(o,a){this._clear(this._model),this._removeOnRenderedListener(a)},r.prototype.dispose=function(o,a){this._removeOnRenderedListener(a)},r.prototype._removeOnRenderedListener=function(o){this._onRendered&&(o.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function(o){var a=this.group,u=this._data;o&&o.isAnimationEnabled()&&u&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],u.eachItemGraphicEl(function(d){removeElementWithFadeOut(d,o,getECData(d).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},r.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},r.type="bar",r}(ChartView$1),clip={cartesian2d:function(t,r){var o=r.width<0?-1:1,a=r.height<0?-1:1;o<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height);var u=t.x+t.width,d=t.y+t.height,g=mathMax$4(r.x,t.x),v=mathMin$4(r.x+r.width,u),y=mathMax$4(r.y,t.y),A=mathMin$4(r.y+r.height,d),b=vu?v:g,r.y=_&&y>d?A:y,r.width=b?0:v-g,r.height=_?0:A-y,o<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height),b||_},polar:function(t,r){var o=r.r0<=r.r?1:-1;if(o<0){var a=r.r;r.r=r.r0,r.r0=a}var u=mathMin$4(r.r,t.r),d=mathMax$4(r.r0,t.r0);r.r=u,r.r0=d;var g=u-d<0;if(o<0){var a=r.r;r.r=r.r0,r.r0=a}return g}},elementCreator={cartesian2d:function(t,r,o,a,u,d,g,v,y){var A=new Rect$3({shape:extend({},a),z2:1});if(A.__dataIndex=o,A.name="item",d){var b=A.shape,_=u?"height":"width";b[_]=0}return A},polar:function(t,r,o,a,u,d,g,v,y){var A=!u&&y?Sausage:Sector$1,b=new A({shape:a,z2:1});b.name="item";var _=createPolarPositionMapping(u);if(b.calculateTextPosition=createSectorCalculateTextPosition(_,{isRoundCap:A===Sausage}),d){var w=b.shape,S=u?"r":"endAngle",C={};w[S]=u?a.r0:a.startAngle,C[S]=a[S],(v?updateProps$1:initProps)(b,{shape:C},d)}return b}};function shouldRealtimeSort(t,r){var o=t.get("realtimeSort",!0),a=r.getBaseAxis();if(o&&a.type==="category"&&r.type==="cartesian2d")return{baseAxis:a,otherAxis:r.getOtherAxis(a)}}function updateRealtimeAnimation(t,r,o,a,u,d,g,v){var y,A;d?(A={x:a.x,width:a.width},y={y:a.y,height:a.height}):(A={y:a.y,height:a.height},y={x:a.x,width:a.width}),v||(g?updateProps$1:initProps)(o,{shape:y},r,u,null);var b=r?t.baseAxis.model:null;(g?updateProps$1:initProps)(o,{shape:A},b,u)}function checkPropertiesNotValid(t,r){for(var o=0;o0?1:-1,g=a.height>0?1:-1;return{x:a.x+d*u/2,y:a.y+g*u/2,width:a.width-d*u,height:a.height-g*u}},polar:function(t,r,o){var a=t.getItemLayout(r);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function isZeroOnPolar(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function createPolarPositionMapping(t){return function(r){var o=r?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+o;default:return a}}}(t)}function updateStyle(t,r,o,a,u,d,g,v){var y=r.getItemVisual(o,"style");if(v){if(!d.get("roundCap")){var b=t.shape,_=getSectorCornerRadius(a.getModel("itemStyle"),b,!0);extend(b,_),t.setShape(b)}}else{var A=a.get(["itemStyle","borderRadius"])||0;t.setShape("r",A)}t.useStyle(y);var w=a.getShallow("cursor");w&&t.attr("cursor",w);var S=v?g?u.r>=u.r0?"endArc":"startArc":u.endAngle>=u.startAngle?"endAngle":"startAngle":g?u.height>=0?"bottom":"top":u.width>=0?"right":"left",C=getLabelStatesModels(a);setLabelStyle(t,C,{labelFetcher:d,labelDataIndex:o,defaultText:getDefaultLabel(d.getData(),o),inheritColor:y.fill,defaultOpacity:y.opacity,defaultOutsidePosition:S});var T=t.getTextContent();if(v&&T){var I=a.get(["label","position"]);t.textConfig.inside=I==="middle"?!0:null,setSectorTextRotation(t,I==="outside"?S:I,createPolarPositionMapping(g),a.get(["label","rotate"]))}setLabelValueAnimation(T,C,d.getRawValue(o),function(F){return getDefaultInterpolatedLabel(r,F)});var E=a.getModel(["emphasis"]);toggleHoverEmphasis(t,E.get("focus"),E.get("blurScope"),E.get("disabled")),setStatesStylesFromModel(t,a),isZeroOnPolar(u)&&(t.style.fill="none",t.style.stroke="none",each$f(t.states,function(F){F.style&&(F.style.fill=F.style.stroke="none")}))}function getLineWidth(t,r){var o=t.get(["itemStyle","borderColor"]);if(!o||o==="none")return 0;var a=t.get(["itemStyle","borderWidth"])||0,u=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),d=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(a,u,d)}var LagePathShape=function(){function t(){}return t}(),LargePath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="largeBar",a}return r.prototype.getDefaultShape=function(){return new LagePathShape},r.prototype.buildPath=function(o,a){for(var u=a.points,d=this.baseDimIdx,g=1-this.baseDimIdx,v=[],y=[],A=this.barWidth,b=0;b=0?o:null},30,!1);function largePathFindDataIndex(t,r,o){for(var a=t.baseDimIdx,u=1-a,d=t.shape.points,g=t.largeDataIndices,v=[],y=[],A=t.barWidth,b=0,_=d.length/3;b<_;b++){var w=b*3;if(y[a]=A,y[u]=d[w+2],v[a]=d[w+a],v[u]=d[w+u],y[u]<0&&(v[u]+=y[u],y[u]=-y[u]),r>=v[0]&&r<=v[0]+y[0]&&o>=v[1]&&o<=v[1]+y[1])return g[b]}return-1}function createBackgroundShape(t,r,o){if(isCoordinateSystemType(o,"cartesian2d")){var a=r,u=o.getArea();return{x:t?a.x:u.x,y:t?u.y:a.y,width:t?a.width:u.width,height:t?u.height:a.height}}else{var u=o.getArea(),d=r;return{cx:u.cx,cy:u.cy,r0:t?u.r0:d.r0,r:t?u.r:d.r,startAngle:t?d.startAngle:0,endAngle:t?d.endAngle:Math.PI*2}}}function createBackgroundEl(t,r,o){var a=t.type==="polar"?Sector$1:Rect$3;return new a({shape:createBackgroundShape(r,o,t),silent:!0,z2:0})}var BarView$1=BarView;function install$P(t){t.registerChartView(BarView$1),t.registerSeriesModel(BarSeries),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(r,o){var a=r.componentType||"series";o.eachComponent({mainType:a,query:r},function(u){r.sortInfo&&u.axis.setCategorySortInfo(r.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getBasicPieLayout(t,r){var o=getViewRect$5(t,r),a=t.get("center"),u=t.get("radius");isArray$1(u)||(u=[0,u]);var d=parsePercent(o.width,r.getWidth()),g=parsePercent(o.height,r.getHeight()),v=Math.min(d,g),y=parsePercent(u[0],v/2),A=parsePercent(u[1],v/2),b,_,w=t.coordinateSystem;if(w){var S=w.dataToPoint(a);b=S[0]||0,_=S[1]||0}else isArray$1(a)||(a=[a,a]),b=parsePercent(a[0],d)+o.x,_=parsePercent(a[1],g)+o.y;return{cx:b,cy:_,r0:y,r:A}}function pieLayout(t,r,o){r.eachSeriesByType(t,function(a){var u=a.getData(),d=u.mapDimension("value"),g=getViewRect$5(a,o),v=getBasicPieLayout(a,o),y=v.cx,A=v.cy,b=v.r,_=v.r0,w=-a.get("startAngle")*RADIAN$2,S=a.get("endAngle"),C=a.get("padAngle")*RADIAN$2;S=S==="auto"?w-PI2:-S*RADIAN$2;var T=a.get("minAngle")*RADIAN$2,I=T+C,E=0;u.each(d,function(X){!isNaN(X)&&E++});var F=u.getSum(d),O=Math.PI/(F||E)*2,D=a.get("clockwise"),x=a.get("roseType"),P=a.get("stillShowZeroSum"),G=u.getDataExtent(d);G[0]=0;var M=D?1:-1,N=[w,S],V=M*C/2;normalizeArcAngles(N,!D),w=N[0],S=N[1];var Z=getSeriesLayoutData(a);Z.startAngle=w,Z.endAngle=S,Z.clockwise=D;var H=Math.abs(S-w),B=H,z=0,U=w;if(u.setLayout({viewRect:g,r:b}),u.each(d,function(X,J){var ne;if(isNaN(X)){u.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:D,cx:y,cy:A,r0:_,r:x?NaN:b});return}x!=="area"?ne=F===0&&P?O:X*O:ne=H/E,nene?(ce=U+M*ne/2,se=ce):(ce=U+V,se=te-V),u.setItemLayout(J,{angle:ne,startAngle:ce,endAngle:se,clockwise:D,cx:y,cy:A,r0:_,r:x?linearMap$2(X,G,[_,b]):b}),U=te}),Bo?E:I,x=Math.abs(O.label.y-o);if(x>=D.maxY){var P=O.label.x-r-O.len2*u,G=a+O.len,M=Math.abs(P)t.unconstrainedWidth?null:S:null;a.setStyle("width",C)}var T=a.getBoundingRect();d.width=T.width;var I=(a.style.margin||0)+2.1;d.height=T.height+I,d.y-=(d.height-_)/2}}}function isPositionCenter(t){return t.position==="center"}function pieLabelLayout(t){var r=t.getData(),o=[],a,u,d=!1,g=(t.get("minShowLabelAngle")||0)*RADIAN$1,v=r.getLayout("viewRect"),y=r.getLayout("r"),A=v.width,b=v.x,_=v.y,w=v.height;function S(P){P.ignore=!0}function C(P){if(!P.ignore)return!0;for(var G in P.states)if(P.states[G].ignore===!1)return!0;return!1}r.each(function(P){var G=r.getItemGraphicEl(P),M=G.shape,N=G.getTextContent(),V=G.getTextGuideLine(),Z=r.getItemModel(P),H=Z.getModel("label"),B=H.get("position")||Z.get(["emphasis","label","position"]),z=H.get("distanceToLabelLine"),U=H.get("alignTo"),Q=parsePercent(H.get("edgeDistance"),A),X=H.get("bleedMargin"),J=Z.getModel("labelLine"),ne=J.get("length");ne=parsePercent(ne,A);var te=J.get("length2");if(te=parsePercent(te,A),Math.abs(M.endAngle-M.startAngle)0?"right":"left":se>0?"left":"right"}var Ee=Math.PI,le=0,re=H.get("rotate");if(isNumber$1(re))le=re*(Ee/180);else if(B==="center")le=0;else if(re==="radial"||re===!0){var ue=se<0?-ce+Ee:-ce;le=ue}else if(re==="tangential"&&B!=="outside"&&B!=="outer"){var be=Math.atan2(se,ge);be<0&&(be=Ee*2+be);var ie=ge>0;ie&&(be=Ee+be),le=be-Ee}if(d=!!le,N.x=he,N.y=ye,N.rotation=le,N.setStyle({verticalAlign:"middle"}),ae){N.setStyle({align:pe});var Se=N.states.select;Se&&(Se.x+=N.x,Se.y+=N.y)}else{var oe=N.getBoundingRect().clone();oe.applyTransform(N.getComputedTransform());var me=(N.style.margin||0)+2.1;oe.y-=me/2,oe.height+=me,o.push({label:N,labelLine:V,position:B,len:ne,len2:te,minTurnAngle:J.get("minTurnAngle"),maxSurfaceAngle:J.get("maxSurfaceAngle"),surfaceNormal:new Point$1(se,ge),linePoints:ee,textAlign:pe,labelDistance:z,labelAlignTo:U,edgeDistance:Q,bleedMargin:X,rect:oe,unconstrainedWidth:oe.width,labelStyleWidth:N.style.width})}G.setTextConfig({inside:ae})}}),!d&&t.get("avoidLabelOverlap")&&avoidOverlap(o,a,u,y,A,w,b,_);for(var T=0;T0){for(var b=g.getItemLayout(0),_=1;isNaN(b&&b.startAngle)&&_=d.r0}},r.type="pie",r}(ChartView$1),PieView$1=PieView;function createSeriesDataSimply(t,r,o){r=isArray$1(r)&&{coordDimensions:r}||extend({encodeDefine:t.getEncode()},r);var a=t.getSource(),u=prepareSeriesDataSchema(a,r).dimensions,d=new SeriesData$1(u,t);return d.initData(a,o),d}var LegendVisualProvider=function(){function t(r,o){this._getDataWithEncodedVisual=r,this._getRawData=o}return t.prototype.getAllNames=function(){var r=this._getRawData();return r.mapArray(r.getName)},t.prototype.containName=function(r){var o=this._getRawData();return o.indexOfName(r)>=0},t.prototype.indexOfName=function(r){var o=this._getDataWithEncodedVisual();return o.indexOfName(r)},t.prototype.getItemVisual=function(r,o){var a=this._getDataWithEncodedVisual();return a.getItemVisual(r,o)},t}(),LegendVisualProvider$1=LegendVisualProvider,innerData=makeInner(),PieSeriesModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(o)},r.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},r.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype.getDataParams=function(o){var a=this.getData(),u=innerData(a),d=u.seats;if(!d){var g=[];a.each(a.mapDimension("value"),function(y){g.push(y)}),d=u.seats=getPercentSeats(g,a.hostModel.get("percentPrecision"))}var v=t.prototype.getDataParams.call(this,o);return v.percent=d[o]||0,v.$vars.push("percent"),v},r.prototype._defaultLabelLine=function(o){defaultEmphasis(o,"labelLine",["show"]);var a=o.labelLine,u=o.emphasis.labelLine;a.show=a.show&&o.label.show,u.show=u.show&&o.emphasis.label.show},r.type="series.pie",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},r}(SeriesModel$1),PieSeriesModel$1=PieSeriesModel;function negativeDataFilter(t){return{seriesType:t,reset:function(r,o){var a=r.getData();a.filterSelf(function(u){var d=a.mapDimension("value"),g=a.get(d,u);return!(isNumber$1(g)&&!isNaN(g)&&g<0)})}}}function install$O(t){t.registerChartView(PieView$1),t.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",t.registerAction),t.registerLayout(curry$1(pieLayout,"pie")),t.registerProcessor(dataFilter$1("pie")),t.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getProgressive=function(){var o=this.option.progressive;return o==null?this.option.large?5e3:this.get("progressive"):o},r.prototype.getProgressiveThreshold=function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?1e4:this.get("progressiveThreshold"):o},r.prototype.brushSelector=function(o,a,u){return u.point(a.getItemLayout(o))},r.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},r.type="series.scatter",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},r}(SeriesModel$1),ScatterSeriesModel$1=ScatterSeriesModel,BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function t(){}return t}(),LargeSymbolPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.buildPath=function(o,a){var u=a.points,d=a.size,g=this.symbolProxy,v=g.shape,y=o.getContext?o.getContext():o,A=y&&d[0]=0;A--){var b=A*2,_=d[b]-v/2,w=d[b+1]-y/2;if(o>=_&&a>=w&&o<=_+v&&a<=w+y)return A}return-1},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect();if(o=u[0],a=u[1],d.contain(o,a)){var g=this.hoverDataIdx=this.findDataIndex(o,a);return g>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var o=this._rect;if(!o){for(var a=this.shape,u=a.points,d=a.size,g=d[0],v=d[1],y=1/0,A=1/0,b=-1/0,_=-1/0,w=0;w=0&&(A.dataIndex=_+(r.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),LargeSymbolDraw$1=LargeSymbolDraw,ScatterView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this._updateSymbolDraw(d,o);g.updateData(d,{clipShape:this._getClipShape(o)}),this._finished=!0},r.prototype.incrementalPrepareRender=function(o,a,u){var d=o.getData(),g=this._updateSymbolDraw(d,o);g.incrementalPrepareUpdate(d),this._finished=!1},r.prototype.incrementalRender=function(o,a,u){this._symbolDraw.incrementalUpdate(o,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=o.end===a.getData().count()},r.prototype.updateTransform=function(o,a,u){var d=o.getData();if(this.group.dirty(),!this._finished||d.count()>1e4)return{update:!0};var g=pointsLayout("").reset(o,a,u);g.progress&&g.progress({start:0,end:d.count(),count:d.count()},d),this._symbolDraw.updateLayout(d)},r.prototype.eachRendered=function(o){this._symbolDraw&&this._symbolDraw.eachRendered(o)},r.prototype._getClipShape=function(o){if(!!o.get("clip",!0)){var a=o.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},r.prototype._updateSymbolDraw=function(o,a){var u=this._symbolDraw,d=a.pipelineContext,g=d.large;return(!u||g!==this._isLargeDraw)&&(u&&u.remove(),u=this._symbolDraw=g?new LargeSymbolDraw$1:new SymbolDraw$1,this._isLargeDraw=g,this.group.removeAll()),this.group.add(u.group),u},r.prototype.remove=function(o,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},r.prototype.dispose=function(){},r.type="scatter",r}(ChartView$1),ScatterView$1=ScatterView,GridModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.type="grid",r.dependencies=["xAxis","yAxis"],r.layoutMode="box",r.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},r}(ComponentModel$1),GridModel$1=GridModel,CartesianAxisModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},r.type="cartesian2dAxis",r}(ComponentModel$1);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis),axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis},AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(t,r,o,a){each$f(AXIS_TYPES,function(u,d){var g=merge(merge({},axisDefault[d],!0),a,!0),v=function(y){__extends$1(A,y);function A(){var b=y!==null&&y.apply(this,arguments)||this;return b.type=r+"Axis."+d,b}return A.prototype.mergeDefaultAndTheme=function(b,_){var w=fetchLayoutMode(this),S=w?getLayoutParams(b):{},C=_.getTheme();merge(b,C.get(d+"Axis")),merge(b,this.getDefaultOption()),b.type=getAxisType(b),w&&mergeLayoutParam(b,S,w)},A.prototype.optionUpdated=function(){var b=this.option;b.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},A.prototype.getCategories=function(b){var _=this.option;if(_.type==="category")return b?_.data:this.__ordinalMeta.categories},A.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},A.type=r+"Axis."+d,A.defaultOption=g,A}(o);t.registerComponentModel(v)}),t.registerSubTypeDefaulter(r+"Axis",getAxisType)}function getAxisType(t){return t.type||(t.data?"category":"value")}var Cartesian=function(){function t(r){this.type="cartesian",this._dimList=[],this._axes={},this.name=r||""}return t.prototype.getAxis=function(r){return this._axes[r]},t.prototype.getAxes=function(){return map$1(this._dimList,function(r){return this._axes[r]},this)},t.prototype.getAxesByScale=function(r){return r=r.toLowerCase(),filter(this.getAxes(),function(o){return o.scale.type===r})},t.prototype.addAxis=function(r){var o=r.dim;this._axes[o]=r,this._dimList.push(o)},t}(),Cartesian$1=Cartesian,cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(t){return t.type==="interval"||t.type==="time"}var Cartesian2D=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="cartesian2d",o.dimensions=cartesian2DDimensions,o}return r.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var o=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(o)||!canCalculateAffineTransform(a))){var u=o.getExtent(),d=a.getExtent(),g=this.dataToPoint([u[0],d[0]]),v=this.dataToPoint([u[1],d[1]]),y=u[1]-u[0],A=d[1]-d[0];if(!(!y||!A)){var b=(v[0]-g[0])/y,_=(v[1]-g[1])/A,w=g[0]-u[0]*b,S=g[1]-d[0]*_,C=this._transform=[b,0,0,_,w,S];this._invTransform=invert([],C)}}},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},r.prototype.containPoint=function(o){var a=this.getAxis("x"),u=this.getAxis("y");return a.contain(a.toLocalCoord(o[0]))&&u.contain(u.toLocalCoord(o[1]))},r.prototype.containData=function(o){return this.getAxis("x").containData(o[0])&&this.getAxis("y").containData(o[1])},r.prototype.containZone=function(o,a){var u=this.dataToPoint(o),d=this.dataToPoint(a),g=this.getArea(),v=new BoundingRect$1(u[0],u[1],d[0]-u[0],d[1]-u[1]);return g.intersect(v)},r.prototype.dataToPoint=function(o,a,u){u=u||[];var d=o[0],g=o[1];if(this._transform&&d!=null&&isFinite(d)&&g!=null&&isFinite(g))return applyTransform$1(u,o,this._transform);var v=this.getAxis("x"),y=this.getAxis("y");return u[0]=v.toGlobalCoord(v.dataToCoord(d,a)),u[1]=y.toGlobalCoord(y.dataToCoord(g,a)),u},r.prototype.clampData=function(o,a){var u=this.getAxis("x").scale,d=this.getAxis("y").scale,g=u.getExtent(),v=d.getExtent(),y=u.parse(o[0]),A=d.parse(o[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(g[0],g[1]),y),Math.max(g[0],g[1])),a[1]=Math.min(Math.max(Math.min(v[0],v[1]),A),Math.max(v[0],v[1])),a},r.prototype.pointToData=function(o,a){var u=[];if(this._invTransform)return applyTransform$1(u,o,this._invTransform);var d=this.getAxis("x"),g=this.getAxis("y");return u[0]=d.coordToData(d.toLocalCoord(o[0]),a),u[1]=g.coordToData(g.toLocalCoord(o[1]),a),u},r.prototype.getOtherAxis=function(o){return this.getAxis(o.dim==="x"?"y":"x")},r.prototype.getArea=function(o){o=o||0;var a=this.getAxis("x").getGlobalExtent(),u=this.getAxis("y").getGlobalExtent(),d=Math.min(a[0],a[1])-o,g=Math.min(u[0],u[1])-o,v=Math.max(a[0],a[1])-d+o,y=Math.max(u[0],u[1])-g+o;return new BoundingRect$1(d,g,v,y)},r}(Cartesian$1),Axis2D=function(t){__extends$1(r,t);function r(o,a,u,d,g){var v=t.call(this,o,a,u)||this;return v.index=0,v.type=d||"value",v.position=g||"bottom",v}return r.prototype.isHorizontal=function(){var o=this.position;return o==="top"||o==="bottom"},r.prototype.getGlobalExtent=function(o){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),o&&a[0]>a[1]&&a.reverse(),a},r.prototype.pointToData=function(o,a){return this.coordToData(this.toLocalCoord(o[this.dim==="x"?0:1]),a)},r.prototype.setCategorySortInfo=function(o){if(this.type!=="category")return!1;this.model.option.categorySortInfo=o,this.scale.setSortInfo(o)},r}(Axis$1),Axis2D$1=Axis2D;function layout$2(t,r,o){o=o||{};var a=t.coordinateSystem,u=r.axis,d={},g=u.getAxesOnZeroOf()[0],v=u.position,y=g?"onZero":v,A=u.dim,b=a.getRect(),_=[b.x,b.x+b.width,b.y,b.y+b.height],w={left:0,right:1,top:0,bottom:1,onZero:2},S=r.get("offset")||0,C=A==="x"?[_[2]-S,_[3]+S]:[_[0]-S,_[1]+S];if(g){var T=g.toGlobalCoord(g.dataToCoord(0));C[w.onZero]=Math.max(Math.min(T,C[1]),C[0])}d.position=[A==="y"?C[w[y]]:_[0],A==="x"?C[w[y]]:_[3]],d.rotation=Math.PI/2*(A==="x"?0:1);var I={top:-1,bottom:1,left:-1,right:1};d.labelDirection=d.tickDirection=d.nameDirection=I[v],d.labelOffset=g?C[w[v]]-C[w.onZero]:0,r.get(["axisTick","inside"])&&(d.tickDirection=-d.tickDirection),retrieve(o.labelInside,r.get(["axisLabel","inside"]))&&(d.labelDirection=-d.labelDirection);var E=r.get(["axisLabel","rotate"]);return d.labelRotate=y==="top"?-E:E,d.z2=1,d}function isCartesian2DSeries(t){return t.get("coordinateSystem")==="cartesian2d"}function findAxisModels(t){var r={xAxisModel:null,yAxisModel:null};return each$f(r,function(o,a){var u=a.replace(/Model$/,""),d=t.getReferringComponents(u,SINGLE_REFERRING).models[0];r[a]=d}),r}var mathLog=Math.log;function alignScaleTicks(t,r,o){var a=IntervalScale$1.prototype,u=a.getTicks.call(o),d=a.getTicks.call(o,!0),g=u.length-1,v=a.getInterval.call(o),y=getScaleExtent(t,r),A=y.extent,b=y.fixMin,_=y.fixMax;if(t.type==="log"){var w=mathLog(t.base);A=[mathLog(A[0])/w,mathLog(A[1])/w]}t.setExtent(A[0],A[1]),t.calcNiceExtent({splitNumber:g,fixMin:b,fixMax:_});var S=a.getExtent.call(t);b&&(A[0]=S[0]),_&&(A[1]=S[1]);var C=a.getInterval.call(t),T=A[0],I=A[1];if(b&&_)C=(I-T)/g;else if(b)for(I=A[0]+C*g;IA[0]&&isFinite(T)&&isFinite(A[0]);)C=increaseInterval(C),T=A[1]-C*g;else{var E=t.getTicks().length-1;E>g&&(C=increaseInterval(C));var F=C*g;I=Math.ceil(A[1]/C)*C,T=round$3(I-F),T<0&&A[0]>=0?(T=0,I=round$3(F)):I>0&&A[1]<=0&&(I=0,T=-round$3(F))}var O=(u[0].value-d[0].value)/v,D=(u[g].value-d[g].value)/v;a.setExtent.call(t,T+C*O,I+C*D),a.setInterval.call(t,C),(O||D)&&a.setNiceExtent.call(t,T+C,I-C)}var Grid=function(){function t(r,o,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(r,o,a),this.model=r}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(r,o){var a=this._axesMap;this._updateScale(r,this.model);function u(g){var v,y=keys(g),A=y.length;if(!!A){for(var b=[],_=A-1;_>=0;_--){var w=+y[_],S=g[w],C=S.model,T=S.scale;isIntervalOrLogScale(T)&&C.get("alignTicks")&&C.get("interval")==null?b.push(S):(niceScaleExtent(T,C),isIntervalOrLogScale(T)&&(v=S))}b.length&&(v||(v=b.pop(),niceScaleExtent(v.scale,v.model)),each$f(b,function(I){alignScaleTicks(I.scale,I.model,v.scale)}))}}u(a.x),u(a.y);var d={};each$f(a.x,function(g){fixAxisOnZero(a,"y",g,d)}),each$f(a.y,function(g){fixAxisOnZero(a,"x",g,d)}),this.resize(this.model,o)},t.prototype.resize=function(r,o,a){var u=r.getBoxLayoutParams(),d=!a&&r.get("containLabel"),g=getLayoutRect(u,{width:o.getWidth(),height:o.getHeight()});this._rect=g;var v=this._axesList;y(),d&&(each$f(v,function(A){if(!A.model.get(["axisLabel","inside"])){var b=estimateLabelUnionRect(A);if(b){var _=A.isHorizontal()?"height":"width",w=A.model.get(["axisLabel","margin"]);g[_]-=b[_]+w,A.position==="top"?g.y+=b.height+w:A.position==="left"&&(g.x+=b.width+w)}}}),y()),each$f(this._coordsList,function(A){A.calcAffineTransform()});function y(){each$f(v,function(A){var b=A.isHorizontal(),_=b?[0,g.width]:[0,g.height],w=A.inverse?1:0;A.setExtent(_[w],_[1-w]),updateAxisTransform(A,b?g.x:g.y)})}},t.prototype.getAxis=function(r,o){var a=this._axesMap[r];if(a!=null)return a[o||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(r,o){if(r!=null&&o!=null){var a="x"+r+"y"+o;return this._coordsMap[a]}isObject$3(r)&&(o=r.yAxisIndex,r=r.xAxisIndex);for(var u=0,d=this._coordsList;u0?"top":"bottom",d="center"):isRadianAroundZero(u-PI$3)?(g=a>0?"bottom":"top",d="center"):(g="middle",u>0&&u0?"right":"left":d=a>0?"left":"right"),{rotation:u,textAlign:d,textVerticalAlign:g}},t.makeAxisEventDataBase=function(r){var o={componentType:r.mainType,componentIndex:r.componentIndex};return o[r.mainType+"Index"]=r.componentIndex,o},t.isLabelSilent=function(r){var o=r.get("tooltip");return r.get("silent")||!(r.get("triggerEvent")||o&&o.show)},t}(),builders={axisLine:function(t,r,o,a){var u=r.get(["axisLine","show"]);if(u==="auto"&&t.handleAutoShown&&(u=t.handleAutoShown("axisLine")),!!u){var d=r.axis.getExtent(),g=a.transform,v=[d[0],0],y=[d[1],0],A=v[0]>y[0];g&&(applyTransform$1(v,v,g),applyTransform$1(y,y,g));var b=extend({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),_=new Line$3({shape:{x1:v[0],y1:v[1],x2:y[0],y2:y[1]},style:b,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(_.shape,_.style.lineWidth),_.anid="line",o.add(_);var w=r.get(["axisLine","symbol"]);if(w!=null){var S=r.get(["axisLine","symbolSize"]);isString$1(w)&&(w=[w,w]),(isString$1(S)||isNumber$1(S))&&(S=[S,S]);var C=normalizeSymbolOffset(r.get(["axisLine","symbolOffset"])||0,S),T=S[0],I=S[1];each$f([{rotate:t.rotation+Math.PI/2,offset:C[0],r:0},{rotate:t.rotation-Math.PI/2,offset:C[1],r:Math.sqrt((v[0]-y[0])*(v[0]-y[0])+(v[1]-y[1])*(v[1]-y[1]))}],function(E,F){if(w[F]!=="none"&&w[F]!=null){var O=createSymbol$1(w[F],-T/2,-I/2,T,I,b.stroke,!0),D=E.r+E.offset,x=A?y:v;O.attr({rotation:E.rotate,x:x[0]+D*Math.cos(t.rotation),y:x[1]-D*Math.sin(t.rotation),silent:!0,z2:11}),o.add(O)}})}}},axisTickLabel:function(t,r,o,a){var u=buildAxisMajorTicks(o,a,r,t),d=buildAxisLabel(o,a,r,t);if(fixMinMaxLabelShow(r,d,u),buildAxisMinorTicks(o,a,r,t.tickDirection),r.get(["axisLabel","hideOverlap"])){var g=prepareLayoutList(map$1(d,function(v){return{label:v,priority:v.z2,defaultAttr:{ignore:v.ignore}}}));hideOverlap(g)}},axisName:function(t,r,o,a){var u=retrieve(t.axisName,r.get("name"));if(!!u){var d=r.get("nameLocation"),g=t.nameDirection,v=r.getModel("nameTextStyle"),y=r.get("nameGap")||0,A=r.axis.getExtent(),b=A[0]>A[1]?-1:1,_=[d==="start"?A[0]-b*y:d==="end"?A[1]+b*y:(A[0]+A[1])/2,isNameLocationCenter(d)?t.labelOffset+g*y:0],w,S=r.get("nameRotate");S!=null&&(S=S*PI$3/180);var C;isNameLocationCenter(d)?w=AxisBuilder.innerTextLayout(t.rotation,S!=null?S:t.rotation,g):(w=endTextLayout(t.rotation,d,S||0,A),C=t.axisNameAvailableWidth,C!=null&&(C=Math.abs(C/Math.sin(w.rotation)),!isFinite(C)&&(C=null)));var T=v.getFont(),I=r.get("nameTruncate",!0)||{},E=I.ellipsis,F=retrieve(t.nameTruncateMaxWidth,I.maxWidth,C),O=new ZRText$1({x:_[0],y:_[1],rotation:w.rotation,silent:AxisBuilder.isLabelSilent(r),style:createTextStyle(v,{text:u,font:T,overflow:"truncate",width:F,ellipsis:E,fill:v.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:v.get("align")||w.textAlign,verticalAlign:v.get("verticalAlign")||w.textVerticalAlign}),z2:1});if(setTooltipConfig({el:O,componentModel:r,itemName:u}),O.__fullText=u,O.anid="name",r.get("triggerEvent")){var D=AxisBuilder.makeAxisEventDataBase(r);D.targetType="axisName",D.name=u,getECData(O).eventData=D}a.add(O),O.updateTransform(),o.add(O),O.decomposeTransform()}}};function endTextLayout(t,r,o,a){var u=remRadian(o-t),d,g,v=a[0]>a[1],y=r==="start"&&!v||r!=="start"&&v;return isRadianAroundZero(u-PI$3/2)?(g=y?"bottom":"top",d="center"):isRadianAroundZero(u-PI$3*1.5)?(g=y?"top":"bottom",d="center"):(g="middle",uPI$3/2?d=y?"left":"right":d=y?"right":"left"),{rotation:u,textAlign:d,textVerticalAlign:g}}function fixMinMaxLabelShow(t,r,o){if(!shouldShowAllLabels(t.axis)){var a=t.get(["axisLabel","showMinLabel"]),u=t.get(["axisLabel","showMaxLabel"]);r=r||[],o=o||[];var d=r[0],g=r[1],v=r[r.length-1],y=r[r.length-2],A=o[0],b=o[1],_=o[o.length-1],w=o[o.length-2];a===!1?(ignoreEl(d),ignoreEl(A)):isTwoLabelOverlapped(d,g)&&(a?(ignoreEl(g),ignoreEl(b)):(ignoreEl(d),ignoreEl(A))),u===!1?(ignoreEl(v),ignoreEl(_)):isTwoLabelOverlapped(y,v)&&(u?(ignoreEl(y),ignoreEl(w)):(ignoreEl(v),ignoreEl(_)))}}function ignoreEl(t){t&&(t.ignore=!0)}function isTwoLabelOverlapped(t,r){var o=t&&t.getBoundingRect().clone(),a=r&&r.getBoundingRect().clone();if(!(!o||!a)){var u=identity([]);return rotate(u,u,-t.rotation),o.applyTransform(mul([],u,t.getLocalTransform())),a.applyTransform(mul([],u,r.getLocalTransform())),o.intersect(a)}}function isNameLocationCenter(t){return t==="middle"||t==="center"}function createTicks(t,r,o,a,u){for(var d=[],g=[],v=[],y=0;y=0||t===r}function fixValue(t){var r=getAxisInfo$1(t);if(!!r){var o=r.axisPointerModel,a=r.axis.scale,u=o.option,d=o.get("status"),g=o.get("value");g!=null&&(g=a.parse(g));var v=isHandleTrigger(o);d==null&&(u.status=v?"show":"hide");var y=a.getExtent().slice();y[0]>y[1]&&y.reverse(),(g==null||g>y[1])&&(g=y[1]),g0&&!C.min?C.min=0:C.min!=null&&C.min<0&&!C.max&&(C.max=0);var T=y;C.color!=null&&(T=defaults({color:C.color},y));var I=merge(clone$5(C),{boundaryGap:o,splitNumber:a,scale:u,axisLine:d,axisTick:g,axisLabel:v,name:C.text,showName:A,nameLocation:"end",nameGap:_,nameTextStyle:T,triggerEvent:w},!1);if(isString$1(b)){var E=I.name;I.name=b.replace("{value}",E!=null?E:"")}else isFunction(b)&&(I.name=b(I.name,I));var F=new Model$1(I,null,this.ecModel);return mixin(F,AxisModelCommonMixin.prototype),F.mainType="radar",F.componentIndex=this.componentIndex,F},this);this._indicatorModels=S},r.prototype.getIndicatorModels=function(){return this._indicatorModels},r.type="radar",r.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},r}(ComponentModel$1),RadarModel$1=RadarModel,axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group;d.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},r.prototype._buildAxes=function(o){var a=o.coordinateSystem,u=a.getIndicatorAxes(),d=map$1(u,function(g){var v=g.model.get("showName")?g.name:"",y=new AxisBuilder$1(g.model,{axisName:v,position:[a.cx,a.cy],rotation:g.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return y});each$f(d,function(g){each$f(axisBuilderAttrs$2,g.add,g),this.group.add(g.getGroup())},this)},r.prototype._buildSplitLineAndArea=function(o){var a=o.coordinateSystem,u=a.getIndicatorAxes();if(!u.length)return;var d=o.get("shape"),g=o.getModel("splitLine"),v=o.getModel("splitArea"),y=g.getModel("lineStyle"),A=v.getModel("areaStyle"),b=g.get("show"),_=v.get("show"),w=y.get("color"),S=A.get("color"),C=isArray$1(w)?w:[w],T=isArray$1(S)?S:[S],I=[],E=[];function F(U,Q,X){var J=X%Q.length;return U[J]=U[J]||[],J}if(d==="circle")for(var O=u[0].getTicksCoords(),D=a.cx,x=a.cy,P=0;P3?1.4:g>1?1.2:1.1,b=d>0?A:1/A;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",o,{scale:b,originX:v,originY:y,isAvailableBehavior:null})}if(u){var _=Math.abs(d),w=(d>0?1:-1)*(_>3?.4:_>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",o,{scrollDelta:w,originX:v,originY:y,isAvailableBehavior:null})}}},r.prototype._pinchHandler=function(o){if(!isTaken(this._zr,"globalPan")){var a=o.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,o,{scale:a,originX:o.pinchX,originY:o.pinchY,isAvailableBehavior:null})}},r}(Eventful$1);function checkPointerAndTrigger(t,r,o,a,u){t.pointerChecker&&t.pointerChecker(a,u.originX,u.originY)&&(stop(a.event),trigger$1(t,r,o,a,u))}function trigger$1(t,r,o,a,u){u.isAvailableBehavior=bind$1(isAvailableBehavior,null,o,a),t.trigger(r,u)}function isAvailableBehavior(t,r,o){var a=o[t];return!t||a&&(!isString$1(a)||r.event[a+"Key"])}var RoamController$1=RoamController;function updateViewOnPan(t,r,o){var a=t.target;a.x+=r,a.y+=o,a.dirty()}function updateViewOnZoom(t,r,o,a){var u=t.target,d=t.zoomLimit,g=t.zoom=t.zoom||1;if(g*=r,d){var v=d.min||0,y=d.max||1/0;g=Math.max(Math.min(y,g),v)}var A=g/t.zoom;t.zoom=g,u.x-=(o-u.x)*(A-1),u.y-=(a-u.y)*(A-1),u.scaleX*=A,u.scaleY*=A,u.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(t,r,o){var a=r.getComponentByElement(t.topTarget),u=a&&a.coordinateSystem;return a&&a!==o&&!IRRELEVANT_EXCLUDES.hasOwnProperty(a.mainType)&&u&&u.model!==o}function parseXML(t){if(isString$1(t)){var r=new DOMParser;t=r.parseFromString(t,"text/xml")}var o=t;for(o.nodeType===9&&(o=o.firstChild);o.nodeName.toLowerCase()!=="svg"||o.nodeType!==1;)o=o.nextSibling;return o}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(r,o){o=o||{};var a=parseXML(r);this._defsUsePending=[];var u=new Group$4;this._root=u;var d=[],g=a.getAttribute("viewBox")||"",v=parseFloat(a.getAttribute("width")||o.width),y=parseFloat(a.getAttribute("height")||o.height);isNaN(v)&&(v=null),isNaN(y)&&(y=null),parseAttributes(a,u,null,!0,!1);for(var A=a.firstChild;A;)this._parseNode(A,u,d,null,!1,!1),A=A.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var b,_;if(g){var w=splitNumberSequence(g);w.length>=4&&(b={x:parseFloat(w[0]||0),y:parseFloat(w[1]||0),width:parseFloat(w[2]),height:parseFloat(w[3])})}if(b&&v!=null&&y!=null&&(_=makeViewBoxTransform(b,{x:0,y:0,width:v,height:y}),!o.ignoreViewBox)){var S=u;u=new Group$4,u.add(S),S.scaleX=S.scaleY=_.scale,S.x=_.x,S.y=_.y}return!o.ignoreRootClip&&v!=null&&y!=null&&u.setClipPath(new Rect$3({shape:{x:0,y:0,width:v,height:y}})),{root:u,width:v,height:y,viewBoxRect:b,viewBoxTransform:_,named:d}},t.prototype._parseNode=function(r,o,a,u,d,g){var v=r.nodeName.toLowerCase(),y,A=u;if(v==="defs"&&(d=!0),v==="text"&&(g=!0),v==="defs"||v==="switch")y=o;else{if(!d){var b=nodeParsers[v];if(b&&hasOwn(nodeParsers,v)){y=b.call(this,r,o);var _=r.getAttribute("name");if(_){var w={name:_,namedFrom:null,svgNodeTagLower:v,el:y};a.push(w),v==="g"&&(A=w)}else u&&a.push({name:u.name,namedFrom:u,svgNodeTagLower:v,el:y});o.add(y)}}var S=paintServerParsers[v];if(S&&hasOwn(paintServerParsers,v)){var C=S.call(this,r),T=r.getAttribute("id");T&&(this._defs[T]=C)}}if(y&&y.isGroup)for(var I=r.firstChild;I;)I.nodeType===1?this._parseNode(I,y,a,A,d,g):I.nodeType===3&&g&&this._parseText(I,y),I=I.nextSibling},t.prototype._parseText=function(r,o){var a=new TSpan$1({style:{text:r.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),applyTextAlignment(a,o);var u=a.style,d=u.fontSize;d&&d<9&&(u.fontSize=9,a.scaleX*=d/9,a.scaleY*=d/9);var g=(u.fontSize||u.fontFamily)&&[u.fontStyle,u.fontWeight,(u.fontSize||12)+"px",u.fontFamily||"sans-serif"].join(" ");u.font=g;var v=a.getBoundingRect();return this._textX+=v.width,o.add(a),a},t.internalField=function(){nodeParsers={g:function(r,o){var a=new Group$4;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a},rect:function(r,o){var a=new Rect$3;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(r.getAttribute("x")||"0"),y:parseFloat(r.getAttribute("y")||"0"),width:parseFloat(r.getAttribute("width")||"0"),height:parseFloat(r.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(r,o){var a=new Circle$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),r:parseFloat(r.getAttribute("r")||"0")}),a.silent=!0,a},line:function(r,o){var a=new Line$3;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(r.getAttribute("x1")||"0"),y1:parseFloat(r.getAttribute("y1")||"0"),x2:parseFloat(r.getAttribute("x2")||"0"),y2:parseFloat(r.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(r,o){var a=new Ellipse$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),rx:parseFloat(r.getAttribute("rx")||"0"),ry:parseFloat(r.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(r,o){var a=r.getAttribute("points"),u;a&&(u=parsePoints(a));var d=new Polygon$1({shape:{points:u||[]},silent:!0});return inheritStyle(o,d),parseAttributes(r,d,this._defsUsePending,!1,!1),d},polyline:function(r,o){var a=r.getAttribute("points"),u;a&&(u=parsePoints(a));var d=new Polyline$3({shape:{points:u||[]},silent:!0});return inheritStyle(o,d),parseAttributes(r,d,this._defsUsePending,!1,!1),d},image:function(r,o){var a=new ZRImage$1;return inheritStyle(o,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setStyle({image:r.getAttribute("xlink:href")||r.getAttribute("href"),x:+r.getAttribute("x"),y:+r.getAttribute("y"),width:+r.getAttribute("width"),height:+r.getAttribute("height")}),a.silent=!0,a},text:function(r,o){var a=r.getAttribute("x")||"0",u=r.getAttribute("y")||"0",d=r.getAttribute("dx")||"0",g=r.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(d),this._textY=parseFloat(u)+parseFloat(g);var v=new Group$4;return inheritStyle(o,v),parseAttributes(r,v,this._defsUsePending,!1,!0),v},tspan:function(r,o){var a=r.getAttribute("x"),u=r.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),u!=null&&(this._textY=parseFloat(u));var d=r.getAttribute("dx")||"0",g=r.getAttribute("dy")||"0",v=new Group$4;return inheritStyle(o,v),parseAttributes(r,v,this._defsUsePending,!1,!0),this._textX+=parseFloat(d),this._textY+=parseFloat(g),v},path:function(r,o){var a=r.getAttribute("d")||"",u=createFromString(a);return inheritStyle(o,u),parseAttributes(r,u,this._defsUsePending,!1,!1),u.silent=!0,u}}}(),t}(),paintServerParsers={lineargradient:function(t){var r=parseInt(t.getAttribute("x1")||"0",10),o=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),u=parseInt(t.getAttribute("y2")||"0",10),d=new LinearGradient$1(r,o,a,u);return parsePaintServerUnit(t,d),parseGradientColorStops(t,d),d},radialgradient:function(t){var r=parseInt(t.getAttribute("cx")||"0",10),o=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),u=new RadialGradient$1(r,o,a);return parsePaintServerUnit(t,u),parseGradientColorStops(t,u),u}};function parsePaintServerUnit(t,r){var o=t.getAttribute("gradientUnits");o==="userSpaceOnUse"&&(r.global=!0)}function parseGradientColorStops(t,r){for(var o=t.firstChild;o;){if(o.nodeType===1&&o.nodeName.toLocaleLowerCase()==="stop"){var a=o.getAttribute("offset"),u=void 0;a&&a.indexOf("%")>0?u=parseInt(a,10)/100:a?u=parseFloat(a):u=0;var d={};parseInlineStyle(o,d,d);var g=d.stopColor||o.getAttribute("stop-color")||"#000000";r.colorStops.push({offset:u,color:g})}o=o.nextSibling}}function inheritStyle(t,r){t&&t.__inheritedStyle&&(r.__inheritedStyle||(r.__inheritedStyle={}),defaults(r.__inheritedStyle,t.__inheritedStyle))}function parsePoints(t){for(var r=splitNumberSequence(t),o=[],a=0;a0;d-=2){var g=a[d],v=a[d-1],y=splitNumberSequence(g);switch(u=u||create$1(),v){case"translate":translate(u,u,[parseFloat(y[0]),parseFloat(y[1]||"0")]);break;case"scale":scale$1(u,u,[parseFloat(y[0]),parseFloat(y[1]||y[0])]);break;case"rotate":rotate(u,u,-parseFloat(y[0])*DEGREE_TO_ANGLE,[parseFloat(y[1]||"0"),parseFloat(y[2]||"0")]);break;case"skewX":var A=Math.tan(parseFloat(y[0])*DEGREE_TO_ANGLE);mul(u,[1,0,A,1,0,0],u);break;case"skewY":var b=Math.tan(parseFloat(y[0])*DEGREE_TO_ANGLE);mul(u,[1,b,0,1,0,0],u);break;case"matrix":u[0]=parseFloat(y[0]),u[1]=parseFloat(y[1]),u[2]=parseFloat(y[2]),u[3]=parseFloat(y[3]),u[4]=parseFloat(y[4]),u[5]=parseFloat(y[5]);break}}r.setLocalTransform(u)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(t,r,o){var a=t.getAttribute("style");if(!!a){styleRegex.lastIndex=0;for(var u;(u=styleRegex.exec(a))!=null;){var d=u[1],g=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,d)?INHERITABLE_STYLE_ATTRIBUTES_MAP[d]:null;g&&(r[g]=u[2]);var v=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,d)?SELF_STYLE_ATTRIBUTES_MAP[d]:null;v&&(o[v]=u[2])}}}function parseAttributeStyle(t,r,o){for(var a=0;a0,I={api:a,geo:y,mapOrGeoModel:r,data:v,isVisualEncodedByVisualMap:T,isGeo:g,transformInfoRaw:w};y.resourceType==="geoJSON"?this._buildGeoJSON(I):y.resourceType==="geoSVG"&&this._buildSVG(I),this._updateController(r,o,a),this._updateMapSelectHandler(r,A,a,u)},t.prototype._buildGeoJSON=function(r){var o=this._regionsGroupByName=createHashMap(),a=createHashMap(),u=this._regionsGroup,d=r.transformInfoRaw,g=r.mapOrGeoModel,v=r.data,y=r.geo.projection,A=y&&y.stream;function b(S,C){return C&&(S=C(S)),S&&[S[0]*d.scaleX+d.x,S[1]*d.scaleY+d.y]}function _(S){for(var C=[],T=!A&&y&&y.project,I=0;I=0)&&(w=u);var S=g?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle(r,getLabelStatesModels(a),{labelFetcher:w,labelDataIndex:_,defaultText:o},S);var C=r.getTextContent();if(C&&(mapLabelRaw(C).ignore=C.ignore,r.textConfig&&g)){var T=r.getBoundingRect().clone();r.textConfig.layoutRect=T,r.textConfig.position=[(g[0]-T.x)/T.width*100+"%",(g[1]-T.y)/T.height*100+"%"]}r.disableLabelAnimation=!0}else r.removeTextContent(),r.removeTextConfig(),r.disableLabelAnimation=null}function resetEventTriggerForRegion(t,r,o,a,u,d){t.data?t.data.setItemGraphicEl(d,r):getECData(r).eventData={componentType:"geo",componentIndex:u.componentIndex,geoIndex:u.componentIndex,name:o,region:a&&a.option||{}}}function resetTooltipForRegion(t,r,o,a,u){t.data||setTooltipConfig({el:r,componentModel:u,itemName:o,itemTooltipOption:a.get("tooltip")})}function resetStateTriggerForRegion(t,r,o,a,u){r.highDownSilentOnTouch=!!u.get("selectedMode");var d=a.getModel("emphasis"),g=d.get("focus");return toggleHoverEmphasis(r,g,d.get("blurScope"),d.get("disabled")),t.isGeo&&enableComponentHighDownFeatures(r,u,o),g}function projectPolys(t,r,o){var a=[],u;function d(){u=[]}function g(){u.length&&(a.push(u),u=[])}var v=r({polygonStart:d,polygonEnd:g,lineStart:d,lineEnd:g,point:function(y,A){isFinite(y)&&isFinite(A)&&u.push([y,A])},sphere:function(){}});return!o&&v.polygonStart(),each$f(t,function(y){v.lineStart();for(var A=0;A-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),u},r.type="series.map",r.dependencies=["geo"],r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},r}(SeriesModel$1),MapSeries$1=MapSeries;function dataStatistics(t,r){var o={};return each$f(t,function(a){a.each(a.mapDimension("value"),function(u,d){var g="ec-"+a.getName(d);o[g]=o[g]||[],isNaN(u)||o[g].push(u)})}),t[0].map(t[0].mapDimension("value"),function(a,u){for(var d="ec-"+t[0].getName(u),g=0,v=1/0,y=-1/0,A=o[d].length,b=0;b1?(D.width=O,D.height=O/I):(D.height=O,D.width=O*I),D.y=F[1]-D.height/2,D.x=F[0]-D.width/2;else{var x=t.getBoxLayoutParams();x.aspect=I,D=getLayoutRect(x,{width:C,height:T})}this.setViewRect(D.x,D.y,D.width,D.height),this.setCenter(t.get("center"),r),this.setZoom(t.get("zoom"))}function setGeoCoords(t,r){each$f(r.get("geoCoord"),function(o,a){t.addGeoCoord(a,o)})}var GeoCreator=function(){function t(){this.dimensions=geo2DDimensions}return t.prototype.create=function(r,o){var a=[];function u(g){return{nameProperty:g.get("nameProperty"),aspectScale:g.get("aspectScale"),projection:g.get("projection")}}r.eachComponent("geo",function(g,v){var y=g.get("map"),A=new Geo$1(y+v,y,extend({nameMap:g.get("nameMap")},u(g)));A.zoomLimit=g.get("scaleLimit"),a.push(A),g.coordinateSystem=A,A.model=g,A.resize=resizeGeo,A.resize(g,o)}),r.eachSeries(function(g){var v=g.get("coordinateSystem");if(v==="geo"){var y=g.get("geoIndex")||0;g.coordinateSystem=a[y]}});var d={};return r.eachSeriesByType("map",function(g){if(!g.getHostGeoModel()){var v=g.getMapType();d[v]=d[v]||[],d[v].push(g)}}),each$f(d,function(g,v){var y=map$1(g,function(b){return b.get("nameMap")}),A=new Geo$1(v,v,extend({nameMap:mergeAll(y)},u(g[0])));A.zoomLimit=retrieve.apply(null,map$1(g,function(b){return b.get("scaleLimit")})),a.push(A),A.resize=resizeGeo,A.resize(g[0],o),each$f(g,function(b){b.coordinateSystem=A,setGeoCoords(A,b)})}),a},t.prototype.getFilledRegions=function(r,o,a,u){for(var d=(r||[]).slice(),g=createHashMap(),v=0;v=0;g--){var v=u[g];v.hierNode={defaultAncestor:null,ancestor:v,prelim:0,modifier:0,change:0,shift:0,i:g,thread:null},o.push(v)}}function firstWalk(t,r){var o=t.isExpand?t.children:[],a=t.parentNode.children,u=t.hierNode.i?a[t.hierNode.i-1]:null;if(o.length){executeShifts(t);var d=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;u?(t.hierNode.prelim=u.hierNode.prelim+r(t,u),t.hierNode.modifier=t.hierNode.prelim-d):t.hierNode.prelim=d}else u&&(t.hierNode.prelim=u.hierNode.prelim+r(t,u));t.parentNode.hierNode.defaultAncestor=apportion(t,u,t.parentNode.hierNode.defaultAncestor||a[0],r)}function secondWalk(t){var r=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:r},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function separation(t){return arguments.length?t:defaultSeparation}function radialCoordinate(t,r){return t-=Math.PI/2,{x:r*Math.cos(t),y:r*Math.sin(t)}}function getViewRect$4(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function executeShifts(t){for(var r=t.children,o=r.length,a=0,u=0;--o>=0;){var d=r[o];d.hierNode.prelim+=a,d.hierNode.modifier+=a,u+=d.hierNode.change,a+=d.hierNode.shift+u}}function apportion(t,r,o,a){if(r){for(var u=t,d=t,g=d.parentNode.children[0],v=r,y=u.hierNode.modifier,A=d.hierNode.modifier,b=g.hierNode.modifier,_=v.hierNode.modifier;v=nextRight(v),d=nextLeft(d),v&&d;){u=nextRight(u),g=nextLeft(g),u.hierNode.ancestor=t;var w=v.hierNode.prelim+_-d.hierNode.prelim-A+a(v,d);w>0&&(moveSubtree(nextAncestor(v,t,o),t,w),A+=w,y+=w),_+=v.hierNode.modifier,A+=d.hierNode.modifier,y+=u.hierNode.modifier,b+=g.hierNode.modifier}v&&!nextRight(u)&&(u.hierNode.thread=v,u.hierNode.modifier+=_-y),d&&!nextLeft(g)&&(g.hierNode.thread=d,g.hierNode.modifier+=A-b,o=t)}return o}function nextRight(t){var r=t.children;return r.length&&t.isExpand?r[r.length-1]:t.hierNode.thread}function nextLeft(t){var r=t.children;return r.length&&t.isExpand?r[0]:t.hierNode.thread}function nextAncestor(t,r,o){return t.hierNode.ancestor.parentNode===r.parentNode?t.hierNode.ancestor:o}function moveSubtree(t,r,o){var a=o/(r.hierNode.i-t.hierNode.i);r.hierNode.change-=a,r.hierNode.shift+=o,r.hierNode.modifier+=o,r.hierNode.prelim+=o,t.hierNode.change+=a}function defaultSeparation(t,r){return t.parentNode===r.parentNode?1:2}var TreeEdgeShape=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),TreePath=function(t){__extends$1(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new TreeEdgeShape},r.prototype.buildPath=function(o,a){var u=a.childPoints,d=u.length,g=a.parentPoint,v=u[0],y=u[d-1];if(d===1){o.moveTo(g[0],g[1]),o.lineTo(v[0],v[1]);return}var A=a.orient,b=A==="TB"||A==="BT"?0:1,_=1-b,w=parsePercent(a.forkPosition,1),S=[];S[b]=g[b],S[_]=g[_]+(y[_]-g[_])*w,o.moveTo(g[0],g[1]),o.lineTo(S[0],S[1]),o.moveTo(v[0],v[1]),S[b]=v[b],o.lineTo(S[0],S[1]),S[b]=y[b],o.lineTo(S[0],S[1]),o.lineTo(y[0],y[1]);for(var C=1;CF.x,x||(D=D-Math.PI));var G=x?"left":"right",M=v.getModel("label"),N=M.get("rotate"),V=N*(Math.PI/180),Y=I.getTextContent();Y&&(I.setTextConfig({position:M.get("position")||G,rotation:N==null?-D:V,origin:"center"}),Y.setStyle("verticalAlign","middle"))}var H=v.get(["emphasis","focus"]),B=H==="relative"?concatArray(g.getAncestorsIndices(),g.getDescendantIndices()):H==="ancestor"?g.getAncestorsIndices():H==="descendant"?g.getDescendantIndices():null;B&&(getECData(o).focus=B),drawEdge(u,g,b,o,C,S,T,a),o.__edge&&(o.onHoverStateChange=function(z){if(z!=="blur"){var U=g.parentNode&&t.getItemGraphicEl(g.parentNode.dataIndex);U&&U.hoverState===HOVER_STATE_BLUR||setStatesFlag(o.__edge,z)}})}function drawEdge(t,r,o,a,u,d,g,v){var y=r.getModel(),A=t.get("edgeShape"),b=t.get("layout"),_=t.getOrient(),w=t.get(["lineStyle","curveness"]),S=t.get("edgeForkPosition"),C=y.getModel("lineStyle").getLineStyle(),T=a.__edge;if(A==="curve")r.parentNode&&r.parentNode!==o&&(T||(T=a.__edge=new BezierCurve$1({shape:getEdgeShape(b,_,w,u,u)})),updateProps$1(T,{shape:getEdgeShape(b,_,w,d,g)},t));else if(A==="polyline"&&b==="orthogonal"&&r!==o&&r.children&&r.children.length!==0&&r.isExpand===!0){for(var I=r.children,E=[],F=0;Fo&&(o=u.height)}this.height=o+1},t.prototype.getNodeById=function(r){if(this.getId()===r)return this;for(var o=0,a=this.children,u=a.length;o=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,o)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(r){if(!(this.dataIndex<0)){var o=this.hostTree,a=o.data.getItemModel(this.dataIndex);return a.getModel(r)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,o)},t.prototype.getVisual=function(r){return this.hostTree.data.getItemVisual(this.dataIndex,r)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var r=this.parentNode.children,o=0;o=0){var a=o.getData().tree.root,u=t.targetNode;if(isString$1(u)&&(u=a.getNodeById(u)),u&&a.contains(u))return{node:u};var d=t.targetNodeId;if(d!=null&&(u=a.getNodeById(d)))return{node:u}}}function getPathToRoot(t){for(var r=[];t;)t=t.parentNode,t&&r.push(t);return r.reverse()}function aboveViewRoot(t,r){var o=getPathToRoot(t);return indexOf$1(o,r)>=0}function wrapTreePathInfo(t,r){for(var o=[];t;){var a=t.dataIndex;o.push({name:t.name,dataIndex:a,value:r.getRawValue(a)}),t=t.parentNode}return o.reverse(),o}var TreeSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.hasSymbolVisual=!0,o.ignoreStyleOnData=!0,o}return r.prototype.getInitialData=function(o){var a={name:o.name,children:o.data},u=o.leaves||{},d=new Model$1(u,this,this.ecModel),g=Tree$1.createTree(a,this,v);function v(_){_.wrapMethod("getItemModel",function(w,S){var C=g.getNodeByDataIndex(S);return C&&C.children.length&&C.isExpand||(w.parentModel=d),w})}var y=0;g.eachNode("preorder",function(_){_.depth>y&&(y=_.depth)});var A=o.expandAndCollapse,b=A&&o.initialTreeDepth>=0?o.initialTreeDepth:y;return g.root.eachNode("preorder",function(_){var w=_.hostTree.data.getRawDataItem(_.dataIndex);_.isExpand=w&&w.collapsed!=null?!w.collapsed:_.depth<=b}),g.data},r.prototype.getOrient=function(){var o=this.get("orient");return o==="horizontal"?o="LR":o==="vertical"&&(o="TB"),o},r.prototype.setZoom=function(o){this.option.zoom=o},r.prototype.setCenter=function(o){this.option.center=o},r.prototype.formatTooltip=function(o,a,u){for(var d=this.getData().tree,g=d.root.children[0],v=d.getNodeByDataIndex(o),y=v.getValue(),A=v.name;v&&v!==g;)A=v.parentNode.name+"."+A,v=v.parentNode;return createTooltipMarkup("nameValue",{name:A,value:y,noValue:isNaN(y)||y==null})},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treeAncestors=wrapTreePathInfo(u,this),a.collapsed=!u.isExpand,a},r.type="series.tree",r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},r}(SeriesModel$1),TreeSeriesModel$1=TreeSeriesModel;function eachAfter(t,r,o){for(var a=[t],u=[],d;d=a.pop();)if(u.push(d),d.isExpand){var g=d.children;if(g.length)for(var v=0;v=0;d--)o.push(u[d])}}function treeLayout(t,r){t.eachSeriesByType("tree",function(o){commonLayout(o,r)})}function commonLayout(t,r){var o=getViewRect$4(t,r);t.layoutInfo=o;var a=t.get("layout"),u=0,d=0,g=null;a==="radial"?(u=2*Math.PI,d=Math.min(o.height,o.width)/2,g=separation(function(O,D){return(O.parentNode===D.parentNode?1:2)/O.depth})):(u=o.width,d=o.height,g=separation());var v=t.getData().tree.root,y=v.children[0];if(y){init(v),eachAfter(y,firstWalk,g),v.hierNode.modifier=-y.hierNode.prelim,eachBefore(y,secondWalk);var A=y,b=y,_=y;eachBefore(y,function(O){var D=O.getLayout().x;Db.getLayout().x&&(b=O),O.depth>_.depth&&(_=O)});var w=A===b?1:g(A,b)/2,S=w-A.getLayout().x,C=0,T=0,I=0,E=0;if(a==="radial")C=u/(b.getLayout().x+w+S),T=d/(_.depth-1||1),eachBefore(y,function(O){I=(O.getLayout().x+S)*C,E=(O.depth-1)*T;var D=radialCoordinate(I,E);O.setLayout({x:D.x,y:D.y,rawX:I,rawY:E},!0)});else{var F=t.getOrient();F==="RL"||F==="LR"?(T=d/(b.getLayout().x+w+S),C=u/(_.depth-1||1),eachBefore(y,function(O){E=(O.getLayout().x+S)*T,I=F==="LR"?(O.depth-1)*C:u-(O.depth-1)*C,O.setLayout({x:I,y:E},!0)})):(F==="TB"||F==="BT")&&(C=u/(b.getLayout().x+w+S),T=d/(_.depth-1||1),eachBefore(y,function(O){I=(O.getLayout().x+S)*C,E=F==="TB"?(O.depth-1)*T:d-(O.depth-1)*T,O.setLayout({x:I,y:E},!0)}))}}}function treeVisual(t){t.eachSeriesByType("tree",function(r){var o=r.getData(),a=o.tree;a.eachNode(function(u){var d=u.getModel(),g=d.getModel("itemStyle").getItemStyle(),v=o.ensureUniqueItemVisual(u.dataIndex,"style");extend(v,g)})})}function installTreeAction(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(r,o){o.eachComponent({mainType:"series",subType:"tree",query:r},function(a){var u=r.dataIndex,d=a.getData().tree,g=d.getNodeByDataIndex(u);g.isExpand=!g.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(r,o,a){o.eachComponent({mainType:"series",subType:"tree",query:r},function(u){var d=u.coordinateSystem,g=updateCenterAndZoom(d,r,void 0,a);u.setCenter&&u.setCenter(g.center),u.setZoom&&u.setZoom(g.zoom)})})}function install$H(t){t.registerChartView(TreeView$1),t.registerSeriesModel(TreeSeriesModel$1),t.registerLayout(treeLayout),t.registerVisual(treeVisual),installTreeAction(t)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(t){for(var r=0;r1;)d=d.parentNode;var g=getDecalFromPalette(t.ecModel,d.name||d.dataIndex+"",a);u.setVisual("decal",g)})}var TreemapSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.preventUsingHoverLayer=!0,o}return r.prototype.getInitialData=function(o,a){var u={name:o.name,children:o.data};completeTreeValue$1(u);var d=o.levels||[],g=this.designatedVisualItemStyle={},v=new Model$1({itemStyle:g},this,a);d=o.levels=setDefault(d,a);var y=map$1(d||[],function(_){return new Model$1(_,v,a)},this),A=Tree$1.createTree(u,this,b);function b(_){_.wrapMethod("getItemModel",function(w,S){var C=A.getNodeByDataIndex(S),T=C?y[C.depth]:null;return w.parentModel=T||v,w})}return A.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.formatTooltip=function(o,a,u){var d=this.getData(),g=this.getRawValue(o),v=d.getName(o);return createTooltipMarkup("nameValue",{name:v,value:g})},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treeAncestors=wrapTreePathInfo(u,this),a.treePathInfo=a.treeAncestors,a},r.prototype.setLayoutInfo=function(o){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,o)},r.prototype.mapIdToIndex=function(o){var a=this._idIndexMap;a||(a=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var u=a.get(o);return u==null&&a.set(o,u=this._idIndexMapCount++),u},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(o){o?this._viewRoot=o:o=this._viewRoot;var a=this.getRawData().tree.root;(!o||o!==a&&!a.contains(o))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.treemap",r.layoutMode="box",r.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},r}(SeriesModel$1);function completeTreeValue$1(t){var r=0;each$f(t.children,function(a){completeTreeValue$1(a);var u=a.value;isArray$1(u)&&(u=u[0]),r+=u});var o=t.value;isArray$1(o)&&(o=o[0]),(o==null||isNaN(o))&&(o=r),o<0&&(o=0),isArray$1(t.value)?t.value[0]=o:t.value=o}function setDefault(t,r){var o=normalizeToArray(r.get("color")),a=normalizeToArray(r.get(["aria","decal","decals"]));if(!!o){t=t||[];var u,d;each$f(t,function(v){var y=new Model$1(v),A=y.get("color"),b=y.get("decal");(y.get(["itemStyle","color"])||A&&A!=="none")&&(u=!0),(y.get(["itemStyle","decal"])||b&&b!=="none")&&(d=!0)});var g=t[0]||(t[0]={});return u||(g.color=o.slice()),!d&&a&&(g.decal=a.slice()),t}}var TreemapSeriesModel$1=TreemapSeriesModel,TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function t(r){this.group=new Group$4,r.add(this.group)}return t.prototype.render=function(r,o,a,u){var d=r.getModel("breadcrumb"),g=this.group;if(g.removeAll(),!(!d.get("show")||!a)){var v=d.getModel("itemStyle"),y=d.getModel("emphasis"),A=v.getModel("textStyle"),b=y.getModel(["itemStyle","textStyle"]),_={pos:{left:d.get("left"),right:d.get("right"),top:d.get("top"),bottom:d.get("bottom")},box:{width:o.getWidth(),height:o.getHeight()},emptyItemWidth:d.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,_,A),this._renderContent(r,_,v,y,A,b,u),positionElement(g,_.pos,_.box)}},t.prototype._prepare=function(r,o,a){for(var u=r;u;u=u.parentNode){var d=convertOptionIdName(u.getModel().get("name"),""),g=a.getTextRect(d),v=Math.max(g.width+TEXT_PADDING*2,o.emptyItemWidth);o.totalWidth+=v+ITEM_GAP,o.renderList.push({node:u,text:d,width:v})}},t.prototype._renderContent=function(r,o,a,u,d,g,v){for(var y=0,A=o.emptyItemWidth,b=r.get(["breadcrumb","height"]),_=getAvailableSize(o.pos,o.box),w=o.totalWidth,S=o.renderList,C=u.getModel("itemStyle").getItemStyle(),T=S.length-1;T>=0;T--){var I=S[T],E=I.node,F=I.width,O=I.text;w>_.width&&(w-=F-A,F=A,O=null);var D=new Polygon$1({shape:{points:makeItemPoints(y,0,F,b,T===S.length-1,T===0)},style:defaults(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText$1({style:createTextStyle(d,{text:O})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(v,E)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=createTextStyle(g,{text:O}),D.ensureState("emphasis").style=C,toggleHoverEmphasis(D,u.get("focus"),u.get("blurScope"),u.get("disabled")),this.group.add(D),packEventData(D,r,E),y+=F+ITEM_GAP}},t.prototype.remove=function(){this.group.removeAll()},t}();function makeItemPoints(t,r,o,a,u,d){var g=[[u?t:t-ARRAY_LENGTH,r],[t+o,r],[t+o,r+a],[u?t:t-ARRAY_LENGTH,r+a]];return!d&&g.splice(2,0,[t+o+ARRAY_LENGTH,r+a/2]),!u&&g.push([t,r+a/2]),g}function packEventData(t,r,o){getECData(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:o&&o.dataIndex,name:o&&o.name},treePathInfo:o&&wrapTreePathInfo(o,r)}}var Breadcrumb$1=Breadcrumb,AnimationWrap=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(r,o,a,u,d){return this._elExistsMap[r.id]?!1:(this._elExistsMap[r.id]=!0,this._storage.push({el:r,target:o,duration:a,delay:u,easing:d}),!0)},t.prototype.finished=function(r){return this._finishedCallback=r,this},t.prototype.start=function(){for(var r=this,o=this._storage.length,a=function(){o--,o<=0&&(r._storage.length=0,r._elExistsMap={},r._finishedCallback&&r._finishedCallback())},u=0,d=this._storage.length;uDRAG_THRESHOLD||Math.abs(o.dy)>DRAG_THRESHOLD)){var a=this.seriesModel.getData().tree.root;if(!a)return;var u=a.getLayout();if(!u)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:u.x+o.dx,y:u.y+o.dy,width:u.width,height:u.height}})}},r.prototype._onZoom=function(o){var a=o.originX,u=o.originY,d=o.scale;if(this._state!=="animating"){var g=this.seriesModel.getData().tree.root;if(!g)return;var v=g.getLayout();if(!v)return;var y=new BoundingRect$1(v.x,v.y,v.width,v.height),A=null,b=this._controllerHost;A=b.zoomLimit;var _=b.zoom=b.zoom||1;if(_*=d,A){var w=A.min||0,S=A.max||1/0;_=Math.max(Math.min(S,_),w)}var C=_/b.zoom;b.zoom=_;var T=this.seriesModel.layoutInfo;a-=T.x,u-=T.y;var I=create$1();translate(I,I,[-a,-u]),scale$1(I,I,[C,C]),translate(I,I,[a,u]),y.applyTransform(I),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:y.x,y:y.y,width:y.width,height:y.height}})}},r.prototype._initEvents=function(o){var a=this;o.on("click",function(u){if(a._state==="ready"){var d=a.seriesModel.get("nodeClick",!0);if(!!d){var g=a.findTarget(u.offsetX,u.offsetY);if(!!g){var v=g.node;if(v.getLayout().isLeafRoot)a._rootToNode(g);else if(d==="zoomToNode")a._zoomToNode(g);else if(d==="link"){var y=v.hostTree.data.getItemModel(v.dataIndex),A=y.get("link",!0),b=y.get("target",!0)||"blank";A&&windowOpen(A,b)}}}}},this)},r.prototype._renderBreadcrumb=function(o,a,u){var d=this;u||(u=o.get("leafDepth",!0)!=null?{node:o.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),u||(u={node:o.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb$1(this.group))).render(o,a,u.node,function(g){d._state!=="animating"&&(aboveViewRoot(o.getViewRoot(),g)?d._rootToNode({node:g}):d._zoomToNode({node:g}))})},r.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},r.prototype.dispose=function(){this._clearController()},r.prototype._zoomToNode=function(o){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:o.node})},r.prototype._rootToNode=function(o){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:o.node})},r.prototype.findTarget=function(o,a){var u,d=this.seriesModel.getViewRoot();return d.eachNode({attr:"viewChildren",order:"preorder"},function(g){var v=this._storage.background[g.getRawIndex()];if(v){var y=v.transformCoordToLocal(o,a),A=v.shape;if(A.x<=y[0]&&y[0]<=A.x+A.width&&A.y<=y[1]&&y[1]<=A.y+A.height)u={node:g,offsetX:y[0],offsetY:y[1]};else return!1}},this),u},r.type="treemap",r}(ChartView$1);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(t,r,o,a,u,d,g,v,y,A){if(!g)return;var b=g.getLayout(),_=t.getData(),w=g.getModel();if(_.setItemGraphicEl(g.dataIndex,null),!b||!b.isInView)return;var S=b.width,C=b.height,T=b.borderWidth,I=b.invisible,E=g.getRawIndex(),F=v&&v.getRawIndex(),O=g.viewChildren,D=b.upperHeight,x=O&&O.length,P=w.getModel("itemStyle"),G=w.getModel(["emphasis","itemStyle"]),M=w.getModel(["blur","itemStyle"]),N=w.getModel(["select","itemStyle"]),V=P.get("borderRadius")||0,Y=he("nodeGroup",Group$2);if(!Y)return;if(y.add(Y),Y.x=b.x||0,Y.y=b.y||0,Y.markRedraw(),inner$d(Y).nodeWidth=S,inner$d(Y).nodeHeight=C,b.isAboveViewRoot)return Y;var H=he("background",Rect$1,A,Z2_BG);H&&ne(Y,H,x&&b.upperLabelHeight);var B=w.getModel("emphasis"),z=B.get("focus"),U=B.get("blurScope"),Q=B.get("disabled"),X=z==="ancestor"?g.getAncestorsIndices():z==="descendant"?g.getDescendantIndices():z;if(x)isHighDownDispatcher(Y)&&setAsHighDownDispatcher(Y,!1),H&&(setAsHighDownDispatcher(H,!Q),_.setItemGraphicEl(g.dataIndex,H),enableHoverFocus(H,X,U));else{var J=he("content",Rect$1,A,Z2_CONTENT);J&&te(Y,J),H.disableMorphing=!0,H&&isHighDownDispatcher(H)&&setAsHighDownDispatcher(H,!1),setAsHighDownDispatcher(Y,!Q),_.setItemGraphicEl(g.dataIndex,Y),enableHoverFocus(Y,X,U)}return Y;function ne(pe,ae,ve){var we=getECData(ae);if(we.dataIndex=g.dataIndex,we.seriesIndex=t.seriesIndex,ae.setShape({x:0,y:0,width:S,height:C,r:V}),I)ce(ae);else{ae.invisible=!1;var _e=g.getVisual("style"),Te=_e.stroke,Ce=getItemStyleNormal(P);Ce.fill=Te;var Ae=getStateItemStyle(G);Ae.fill=G.get("borderColor");var Ee=getStateItemStyle(M);Ee.fill=M.get("borderColor");var le=getStateItemStyle(N);if(le.fill=N.get("borderColor"),ve){var re=S-2*T;se(ae,Te,_e.opacity,{x:T,y:0,width:re,height:D})}else ae.removeTextContent();ae.setStyle(Ce),ae.ensureState("emphasis").style=Ae,ae.ensureState("blur").style=Ee,ae.ensureState("select").style=le,setDefaultStateProxy(ae)}pe.add(ae)}function te(pe,ae){var ve=getECData(ae);ve.dataIndex=g.dataIndex,ve.seriesIndex=t.seriesIndex;var we=Math.max(S-2*T,0),_e=Math.max(C-2*T,0);if(ae.culling=!0,ae.setShape({x:T,y:T,width:we,height:_e,r:V}),I)ce(ae);else{ae.invisible=!1;var Te=g.getVisual("style"),Ce=Te.fill,Ae=getItemStyleNormal(P);Ae.fill=Ce,Ae.decal=Te.decal;var Ee=getStateItemStyle(G),le=getStateItemStyle(M),re=getStateItemStyle(N);se(ae,Ce,Te.opacity,null),ae.setStyle(Ae),ae.ensureState("emphasis").style=Ee,ae.ensureState("blur").style=le,ae.ensureState("select").style=re,setDefaultStateProxy(ae)}pe.add(ae)}function ce(pe){!pe.invisible&&d.push(pe)}function se(pe,ae,ve,we){var _e=w.getModel(we?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),Te=convertOptionIdName(w.get("name"),null),Ce=_e.getShallow("show");setLabelStyle(pe,getLabelStatesModels(w,we?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Ce?Te:null,inheritColor:ae,defaultOpacity:ve,labelFetcher:t,labelDataIndex:g.dataIndex});var Ae=pe.getTextContent();if(!!Ae){var Ee=Ae.style,le=normalizeCssArray$1(Ee.padding||0);we&&(pe.setTextConfig({layoutRect:we}),Ae.disableLabelLayout=!0),Ae.beforeUpdate=function(){var ue=Math.max((we?we.width:pe.shape.width)-le[1]-le[3],0),be=Math.max((we?we.height:pe.shape.height)-le[0]-le[2],0);(Ee.width!==ue||Ee.height!==be)&&Ae.setStyle({width:ue,height:be})},Ee.truncateMinChar=2,Ee.lineOverflow="truncate",ge(Ee,we,b);var re=Ae.getState("emphasis");ge(re?re.style:null,we,b)}}function ge(pe,ae,ve){var we=pe?pe.text:null;if(!ae&&ve.isLeafRoot&&we!=null){var _e=t.get("drillDownIcon",!0);pe.text=_e?_e+" "+we:we}}function he(pe,ae,ve,we){var _e=F!=null&&o[pe][F],Te=u[pe];return _e?(o[pe][F]=null,ye(Te,_e)):I||(_e=new ae,_e instanceof Displayable$1&&(_e.z2=calculateZ2(ve,we)),ee(Te,_e)),r[pe][E]=_e}function ye(pe,ae){var ve=pe[E]={};ae instanceof Group$2?(ve.oldX=ae.x,ve.oldY=ae.y):ve.oldShape=extend({},ae.shape)}function ee(pe,ae){var ve=pe[E]={},we=g.parentNode,_e=ae instanceof Group$4;if(we&&(!a||a.direction==="drillDown")){var Te=0,Ce=0,Ae=u.background[we.getRawIndex()];!a&&Ae&&Ae.oldShape&&(Te=Ae.oldShape.width,Ce=Ae.oldShape.height),_e?(ve.oldX=0,ve.oldY=Ce):ve.oldShape={x:Te,y:Ce,width:0,height:0}}ve.fadein=!_e}}function calculateZ2(t,r){return t*Z2_BASE+r}var TreemapView$1=TreemapView,each$c=each$f,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function t(r){var o=r.mappingMethod,a=r.type,u=this.option=clone$5(r);this.type=a,this.mappingMethod=o,this._normalizeData=normalizers[o];var d=t.visualHandlers[a];this.applyVisual=d.applyVisual,this.getColorMapper=d.getColorMapper,this._normalizedToVisual=d._normalizedToVisual[o],o==="piecewise"?(normalizeVisualRange(u),preprocessForPiecewise(u)):o==="category"?u.categories?preprocessForSpecifiedCategory(u):normalizeVisualRange(u,!0):(assert(o!=="linear"||u.dataExtent),normalizeVisualRange(u))}return t.prototype.mapValueToVisual=function(r){var o=this._normalizeData(r);return this._normalizedToVisual(o,r)},t.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},t.listVisualTypes=function(){return keys(t.visualHandlers)},t.isValidType=function(r){return t.visualHandlers.hasOwnProperty(r)},t.eachVisual=function(r,o,a){isObject$3(r)?each$f(r,o,a):o.call(a,r)},t.mapVisual=function(r,o,a){var u,d=isArray$1(r)?[]:isObject$3(r)?{}:(u=!0,null);return t.eachVisual(r,function(g,v){var y=o.call(a,g,v);u?d=y:d[v]=y}),d},t.retrieveVisuals=function(r){var o={},a;return r&&each$c(t.visualHandlers,function(u,d){r.hasOwnProperty(d)&&(o[d]=r[d],a=!0)}),a?o:null},t.prepareVisualTypes=function(r){if(isArray$1(r))r=r.slice();else if(isObject(r)){var o=[];each$c(r,function(a,u){o.push(u)}),r=o}else return[];return r.sort(function(a,u){return u==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),r},t.dependsOn=function(r,o){return o==="color"?!!(r&&r.indexOf(o)===0):r===o},t.findPieceIndex=function(r,o,a){for(var u,d=1/0,g=0,v=o.length;g=0;d--)a[d]==null&&(delete o[r[d]],r.pop())}function normalizeVisualRange(t,r){var o=t.visual,a=[];isObject$3(o)?each$c(o,function(d){a.push(d)}):o!=null&&a.push(o);var u={color:1,symbol:1};!r&&a.length===1&&!u.hasOwnProperty(t.type)&&(a[1]=a[0]),setVisualToOption(t,a)}function makePartialColorVisualHandler(t){return{applyVisual:function(r,o,a){var u=this.mapValueToVisual(r);a("color",t(o("color"),u))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(t){var r=this.option.visual;return r[Math.round(linearMap$2(t,[0,1],[0,r.length-1],!0))]||{}}function makeApplyVisual(t){return function(r,o,a){a(t,this.mapValueToVisual(r))}}function doMapCategory(t){var r=this.option.visual;return r[this.option.loop&&t!==CATEGORY_DEFAULT_VISUAL_INDEX?t%r.length:t]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(t){return{linear:function(r){return linearMap$2(r,t,this.option.visual,!0)},category:doMapCategory,piecewise:function(r,o){var a=getSpecifiedVisual.call(this,o);return a==null&&(a=linearMap$2(r,t,this.option.visual,!0)),a},fixed:doMapFixed}}function getSpecifiedVisual(t){var r=this.option,o=r.pieceList;if(r.hasSpecialVisual){var a=VisualMapping.findPieceIndex(t,o),u=o[a];if(u&&u.visual)return u.visual[this.type]}}function setVisualToOption(t,r){return t.visual=r,t.type==="color"&&(t.parsedVisual=map$1(r,function(o){var a=parse$1(o);return a||[0,0,0,1]})),r}var normalizers={linear:function(t){return linearMap$2(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var r=this.option.pieceList,o=VisualMapping.findPieceIndex(t,r,!0);if(o!=null)return linearMap$2(o,[0,r.length-1],[0,1],!0)},category:function(t){var r=this.option.categories?this.option.categoryMap[t]:t;return r==null?CATEGORY_DEFAULT_VISUAL_INDEX:r},fixed:noop};function littleThan(t,r,o){return t?r<=o:r=o.length||T===o[T.depth]){var E=mapVisual$1(u,y,T,I,C,a);travelTree(T,E,o,a)}})}}}function buildVisuals(t,r,o){var a=extend({},r),u=o.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(d){u[d]=r[d];var g=t.get(d);u[d]=null,g!=null&&(a[d]=g)}),a}function calculateColor(t){var r=getValueVisualDefine(t,"color");if(r){var o=getValueVisualDefine(t,"colorAlpha"),a=getValueVisualDefine(t,"colorSaturation");return a&&(r=modifyHSL(r,null,null,a)),o&&(r=modifyAlpha(r,o)),r}}function calculateBorderColor(t,r){return r!=null?modifyHSL(r,null,null,t):null}function getValueVisualDefine(t,r){var o=t[r];if(o!=null&&o!=="none")return o}function buildVisualMapping(t,r,o,a,u,d){if(!(!d||!d.length)){var g=getRangeVisual(r,"color")||u.color!=null&&u.color!=="none"&&(getRangeVisual(r,"colorAlpha")||getRangeVisual(r,"colorSaturation"));if(!!g){var v=r.get("visualMin"),y=r.get("visualMax"),A=o.dataExtent.slice();v!=null&&vA[1]&&(A[1]=y);var b=r.get("colorMappingBy"),_={type:g.name,dataExtent:A,visual:g.range};_.type==="color"&&(b==="index"||b==="id")?(_.mappingMethod="category",_.loop=!0):_.mappingMethod="linear";var w=new VisualMapping$1(_);return inner$c(w).drColorMappingBy=b,w}}}function getRangeVisual(t,r){var o=t.get(r);return isArray$1(o)&&o.length?{name:r,range:o}:null}function mapVisual$1(t,r,o,a,u,d){var g=extend({},r);if(u){var v=u.type,y=v==="color"&&inner$c(u).drColorMappingBy,A=y==="index"?a:y==="id"?d.mapIdToIndex(o.getId()):o.getValue(t.get("visualDimension"));g[v]=u.mapValueToVisual(A)}return g}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"],treemapLayout={seriesType:"treemap",reset:function(t,r,o,a){var u=o.getWidth(),d=o.getHeight(),g=t.option,v=getLayoutRect(t.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()}),y=g.size||[],A=parsePercent(retrieveValue(v.width,y[0]),u),b=parsePercent(retrieveValue(v.height,y[1]),d),_=a&&a.type,w=["treemapZoomToNode","treemapRootToNode"],S=retrieveTargetInfo(a,w,t),C=_==="treemapRender"||_==="treemapMove"?a.rootRect:null,T=t.getViewRoot(),I=getPathToRoot(T);if(_!=="treemapMove"){var E=_==="treemapZoomToNode"?estimateRootSize(t,S,T,A,b):C?[C.width,C.height]:[A,b],F=g.sort;F&&F!=="asc"&&F!=="desc"&&(F="desc");var O={squareRatio:g.squareRatio,sort:F,leafDepth:g.leafDepth};T.hostTree.clearLayouts();var D={x:0,y:0,width:E[0],height:E[1],area:E[0]*E[1]};T.setLayout(D),squarify(T,O,!1,0),D=T.getLayout(),each$b(I,function(P,G){var M=(I[G+1]||T).getValue();P.setLayout(extend({dataExtent:[M,M],borderWidth:0,upperHeight:0},D))})}var x=t.getData().tree.root;x.setLayout(calculateRootPosition(v,C,S),!0),t.setLayoutInfo(v),prunning(x,new BoundingRect$1(-v.x,-v.y,u,d),I,T,0)}};function squarify(t,r,o,a){var u,d;if(!t.isRemoved()){var g=t.getLayout();u=g.width,d=g.height;var v=t.getModel(),y=v.get(PATH_BORDER_WIDTH),A=v.get(PATH_GAP_WIDTH)/2,b=getUpperLabelHeight(v),_=Math.max(y,b),w=y-A,S=_-A;t.setLayout({borderWidth:y,upperHeight:_,upperLabelHeight:b},!0),u=mathMax$3(u-2*w,0),d=mathMax$3(d-w-S,0);var C=u*d,T=initChildren$1(t,v,C,r,o,a);if(!!T.length){var I={x:w,y:S,width:u,height:d},E=mathMin$3(u,d),F=1/0,O=[];O.area=0;for(var D=0,x=T.length;D=0;y--){var A=u[a==="asc"?g-y-1:y].getValue();A/o*rv[1]&&(v[1]=A)})),{sum:a,dataExtent:v}}function worst(t,r,o){for(var a=0,u=1/0,d=0,g=void 0,v=t.length;da&&(a=g));var y=t.area*t.area,A=r*r*o;return y?mathMax$3(A*a/y,y/(A*u)):1/0}function position(t,r,o,a,u){var d=r===o.width?0:1,g=1-d,v=["x","y"],y=["width","height"],A=o[v[d]],b=r?t.area/r:0;(u||b>o[y[g]])&&(b=o[y[g]]);for(var _=0,w=t.length;_MAX_SAFE_INTEGER&&(A=MAX_SAFE_INTEGER),d=v}Aa&&(a=r);var d=a%2?a+2:a+3;u=[];for(var g=0;g0&&(x[0]=-x[0],x[1]=-x[1]);var G=D[0]<0?-1:1;if(d.__position!=="start"&&d.__position!=="end"){var M=-Math.atan2(D[1],D[0]);_[0].8?"left":w[0]<-.8?"right":"center",T=w[1]>.8?"top":w[1]<-.8?"bottom":"middle";break;case"start":d.x=-w[0]*E+b[0],d.y=-w[1]*F+b[1],C=w[0]>.8?"right":w[0]<-.8?"left":"center",T=w[1]>.8?"bottom":w[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":d.x=E*G+b[0],d.y=b[1]+N,C=D[0]<0?"right":"left",d.originX=-E*G,d.originY=-N;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":d.x=P[0],d.y=P[1]+N,C="center",d.originY=-N;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":d.x=-E*G+_[0],d.y=_[1]+N,C=D[0]>=0?"right":"left",d.originX=E*G,d.originY=-N;break}d.scaleX=d.scaleY=g,d.setStyle({verticalAlign:d.__verticalAlign||T,align:d.__align||C})}},r}(Group$4),Line$1=Line,LineDraw=function(){function t(r){this.group=new Group$4,this._LineCtor=r||Line$1}return t.prototype.updateData=function(r){var o=this;this._progressiveEls=null;var a=this,u=a.group,d=a._lineData;a._lineData=r,d||u.removeAll();var g=makeSeriesScope$1(r);r.diff(d).add(function(v){o._doAdd(r,v,g)}).update(function(v,y){o._doUpdate(d,r,y,v,g)}).remove(function(v){u.remove(d.getItemGraphicEl(v))}).execute()},t.prototype.updateLayout=function(){var r=this._lineData;!r||r.eachItemGraphicEl(function(o,a){o.updateLayout(r,a)},this)},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$1(r),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,o){this._progressiveEls=[];function a(v){!v.isGroup&&!isEffectObject(v)&&(v.incremental=!0,v.ensureState("emphasis").hoverLayer=!0)}for(var u=r.start;u0}function makeSeriesScope$1(t){var r=t.hostModel,o=r.getModel("emphasis");return{lineStyle:r.getModel("lineStyle").getLineStyle(),emphasisLineStyle:o.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:r.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:r.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:o.get("disabled"),blurScope:o.get("blurScope"),focus:o.get("focus"),labelStatesModels:getLabelStatesModels(r)}}function isPointNaN(t){return isNaN(t[0])||isNaN(t[1])}function lineNeedsDraw(t){return t&&!isPointNaN(t[0])&&!isPointNaN(t[1])}var LineDraw$1=LineDraw,v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(t,r,o){for(var a=t[0],u=t[1],d=t[2],g=1/0,v,y=o*o,A=.1,b=.1;b<=.9;b+=.1){v1[0]=quadraticAt(a[0],u[0],d[0],b),v1[1]=quadraticAt(a[1],u[1],d[1],b);var _=mathAbs(v2DistSquare(v1,r)-y);_=0?v=v+A:v=v-A:C>=0?v=v-A:v=v+A}return v}function adjustEdge(t,r){var o=[],a=quadraticSubdivide,u=[[],[],[]],d=[[],[]],g=[];r/=2,t.eachEdge(function(v,y){var A=v.getLayout(),b=v.getVisual("fromSymbol"),_=v.getVisual("toSymbol");A.__original||(A.__original=[clone$4(A[0]),clone$4(A[1])],A[2]&&A.__original.push(clone$4(A[2])));var w=A.__original;if(A[2]!=null){if(copy$1(u[0],w[0]),copy$1(u[1],w[2]),copy$1(u[2],w[1]),b&&b!=="none"){var S=getSymbolSize(v.node1),C=intersectCurveCircle(u,w[0],S*r);a(u[0][0],u[1][0],u[2][0],C,o),u[0][0]=o[3],u[1][0]=o[4],a(u[0][1],u[1][1],u[2][1],C,o),u[0][1]=o[3],u[1][1]=o[4]}if(_&&_!=="none"){var S=getSymbolSize(v.node2),C=intersectCurveCircle(u,w[1],S*r);a(u[0][0],u[1][0],u[2][0],C,o),u[1][0]=o[1],u[2][0]=o[2],a(u[0][1],u[1][1],u[2][1],C,o),u[1][1]=o[1],u[2][1]=o[2]}copy$1(A[0],u[0]),copy$1(A[1],u[2]),copy$1(A[2],u[1])}else{if(copy$1(d[0],w[0]),copy$1(d[1],w[1]),sub(g,d[1],d[0]),normalize$3(g,g),b&&b!=="none"){var S=getSymbolSize(v.node1);scaleAndAdd$1(d[0],d[0],g,S*r)}if(_&&_!=="none"){var S=getSymbolSize(v.node2);scaleAndAdd$1(d[1],d[1],g,-S*r)}copy$1(A[0],d[0]),copy$1(A[1],d[1])}})}function isViewCoordSys(t){return t.type==="view"}var GraphView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){var u=new SymbolDraw$1,d=new LineDraw$1,g=this.group;this._controller=new RoamController$1(a.getZr()),this._controllerHost={target:g},g.add(u.group),g.add(d.group),this._symbolDraw=u,this._lineDraw=d,this._firstRender=!0},r.prototype.render=function(o,a,u){var d=this,g=o.coordinateSystem;this._model=o;var v=this._symbolDraw,y=this._lineDraw,A=this.group;if(isViewCoordSys(g)){var b={x:g.x,y:g.y,scaleX:g.scaleX,scaleY:g.scaleY};this._firstRender?A.attr(b):updateProps$1(A,b,o)}adjustEdge(o.getGraph(),getNodeGlobalScale(o));var _=o.getData();v.updateData(_);var w=o.getEdgeData();y.updateData(w),this._updateNodeAndLinkScale(),this._updateController(o,a,u),clearTimeout(this._layoutTimeout);var S=o.forceLayout,C=o.get(["force","layoutAnimation"]);S&&this._startForceLayoutIteration(S,C);var T=o.get("layout");_.graph.eachNode(function(O){var D=O.dataIndex,x=O.getGraphicEl(),P=O.getModel();if(!!x){x.off("drag").off("dragend");var G=P.get("draggable");G&&x.on("drag",function(N){switch(T){case"force":S.warmUp(),!d._layouting&&d._startForceLayoutIteration(S,C),S.setFixed(D),_.setItemLayout(D,[x.x,x.y]);break;case"circular":_.setItemLayout(D,[x.x,x.y]),O.setLayout({fixed:!0},!0),circularLayout(o,"symbolSize",O,[N.offsetX,N.offsetY]),d.updateLayout(o);break;case"none":default:_.setItemLayout(D,[x.x,x.y]),simpleLayoutEdge(o.getGraph(),o),d.updateLayout(o);break}}).on("dragend",function(){S&&S.setUnfixed(D)}),x.setDraggable(G,!!P.get("cursor"));var M=P.get(["emphasis","focus"]);M==="adjacency"&&(getECData(x).focus=O.getAdjacentDataIndices())}}),_.graph.eachEdge(function(O){var D=O.getGraphicEl(),x=O.getModel().get(["emphasis","focus"]);!D||x==="adjacency"&&(getECData(D).focus={edge:[O.dataIndex],node:[O.node1.dataIndex,O.node2.dataIndex]})});var I=o.get("layout")==="circular"&&o.get(["circular","rotateLabel"]),E=_.getLayout("cx"),F=_.getLayout("cy");_.graph.eachNode(function(O){rotateNodeLabel(O,I,E,F)}),this._firstRender=!1},r.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},r.prototype._startForceLayoutIteration=function(o,a){var u=this;(function d(){o.step(function(g){u.updateLayout(u._model),(u._layouting=!g)&&(a?u._layoutTimeout=setTimeout(d,16):d())})})()},r.prototype._updateController=function(o,a,u){var d=this,g=this._controller,v=this._controllerHost,y=this.group;if(g.setPointerChecker(function(A,b,_){var w=y.getBoundingRect();return w.applyTransform(y.transform),w.contain(b,_)&&!onIrrelevantElement(A,u,o)}),!isViewCoordSys(o.coordinateSystem)){g.disable();return}g.enable(o.get("roam")),v.zoomLimit=o.get("scaleLimit"),v.zoom=o.coordinateSystem.getZoom(),g.off("pan").off("zoom").on("pan",function(A){updateViewOnPan(v,A.dx,A.dy),u.dispatchAction({seriesId:o.id,type:"graphRoam",dx:A.dx,dy:A.dy})}).on("zoom",function(A){updateViewOnZoom(v,A.scale,A.originX,A.originY),u.dispatchAction({seriesId:o.id,type:"graphRoam",zoom:A.scale,originX:A.originX,originY:A.originY}),d._updateNodeAndLinkScale(),adjustEdge(o.getGraph(),getNodeGlobalScale(o)),d._lineDraw.updateLayout(),u.updateLabelLayout()})},r.prototype._updateNodeAndLinkScale=function(){var o=this._model,a=o.getData(),u=getNodeGlobalScale(o);a.eachItemGraphicEl(function(d,g){d&&d.setSymbolScale(u)})},r.prototype.updateLayout=function(o){adjustEdge(o.getGraph(),getNodeGlobalScale(o)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},r.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},r.type="graph",r}(ChartView$1),GraphView$1=GraphView;function generateNodeKey(t){return"_EC_"+t}var Graph=function(){function t(r){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=r||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(r,o){r=r==null?""+o:""+r;var a=this._nodesMap;if(!a[generateNodeKey(r)]){var u=new GraphNode(r,o);return u.hostGraph=this,this.nodes.push(u),a[generateNodeKey(r)]=u,u}},t.prototype.getNodeByIndex=function(r){var o=this.data.getRawIndex(r);return this.nodes[o]},t.prototype.getNodeById=function(r){return this._nodesMap[generateNodeKey(r)]},t.prototype.addEdge=function(r,o,a){var u=this._nodesMap,d=this._edgesMap;if(isNumber$1(r)&&(r=this.nodes[r]),isNumber$1(o)&&(o=this.nodes[o]),r instanceof GraphNode||(r=u[generateNodeKey(r)]),o instanceof GraphNode||(o=u[generateNodeKey(o)]),!(!r||!o)){var g=r.id+"-"+o.id,v=new GraphEdge(r,o,a);return v.hostGraph=this,this._directed&&(r.outEdges.push(v),o.inEdges.push(v)),r.edges.push(v),r!==o&&o.edges.push(v),this.edges.push(v),d[g]=v,v}},t.prototype.getEdgeByIndex=function(r){var o=this.edgeData.getRawIndex(r);return this.edges[o]},t.prototype.getEdge=function(r,o){r instanceof GraphNode&&(r=r.id),o instanceof GraphNode&&(o=o.id);var a=this._edgesMap;return this._directed?a[r+"-"+o]:a[r+"-"+o]||a[o+"-"+r]},t.prototype.eachNode=function(r,o){for(var a=this.nodes,u=a.length,d=0;d=0&&r.call(o,a[d],d)},t.prototype.eachEdge=function(r,o){for(var a=this.edges,u=a.length,d=0;d=0&&a[d].node1.dataIndex>=0&&a[d].node2.dataIndex>=0&&r.call(o,a[d],d)},t.prototype.breadthFirstTraverse=function(r,o,a,u){if(o instanceof GraphNode||(o=this._nodesMap[generateNodeKey(o)]),!!o){for(var d=a==="out"?"outEdges":a==="in"?"inEdges":"edges",g=0;g=0&&y.node2.dataIndex>=0});for(var d=0,g=u.length;d=0&&this[t][r].setItemVisual(this.dataIndex,o,a)},getVisual:function(o){return this[t][r].getItemVisual(this.dataIndex,o)},setLayout:function(o,a){this.dataIndex>=0&&this[t][r].setItemLayout(this.dataIndex,o,a)},getLayout:function(){return this[t][r].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][r].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][r].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));var Graph$1=Graph;function createGraphFromNodeEdge(t,r,o,a,u){for(var d=new Graph$1(a),g=0;g "+w)),A++)}var S=o.get("coordinateSystem"),C;if(S==="cartesian2d"||S==="polar")C=createSeriesData(t,o);else{var T=CoordinateSystem.get(S),I=T?T.dimensions||[]:[];indexOf$1(I,"value")<0&&I.concat(["value"]);var E=prepareSeriesDataSchema(t,{coordDimensions:I,encodeDefine:o.getEncode()}).dimensions;C=new SeriesData$1(E,o),C.initData(t)}var F=new SeriesData$1(["value"],o);return F.initData(y,v),u&&u(C,F),linkSeriesData({mainData:C,struct:d,structAttr:"graph",datas:{node:C,edge:F},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}var GraphSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments);var a=this;function u(){return a._categoriesData}this.legendVisualProvider=new LegendVisualProvider$1(u,u),this.fillDataTextStyle(o.edges||o.links),this._updateCategoriesData()},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(o.edges||o.links),this._updateCategoriesData()},r.prototype.mergeDefaultAndTheme=function(o){t.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(o,"edgeLabel",["show"])},r.prototype.getInitialData=function(o,a){var u=o.edges||o.links||[],d=o.data||o.nodes||[],g=this;if(d&&u){initCurvenessList(this);var v=createGraphFromNodeEdge(d,u,this,!0,y);return each$f(v.edges,function(A){createEdgeMapForCurveness(A.node1,A.node2,this,A.dataIndex)},this),v.data}function y(A,b){A.wrapMethod("getItemModel",function(C){var T=g._categoriesModels,I=C.getShallow("category"),E=T[I];return E&&(E.parentModel=C.parentModel,C.parentModel=E),C});var _=Model$1.prototype.getModel;function w(C,T){var I=_.call(this,C,T);return I.resolveParentPath=S,I}b.wrapMethod("getItemModel",function(C){return C.resolveParentPath=S,C.getModel=w,C});function S(C){if(C&&(C[0]==="label"||C[1]==="label")){var T=C.slice();return C[0]==="label"?T[0]="edgeLabel":C[1]==="label"&&(T[1]="edgeLabel"),T}return C}}},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.getCategoriesData=function(){return this._categoriesData},r.prototype.formatTooltip=function(o,a,u){if(u==="edge"){var d=this.getData(),g=this.getDataParams(o,u),v=d.graph.getEdgeByIndex(o),y=d.getName(v.node1.dataIndex),A=d.getName(v.node2.dataIndex),b=[];return y!=null&&b.push(y),A!=null&&b.push(A),createTooltipMarkup("nameValue",{name:b.join(" > "),value:g.value,noValue:g.value==null})}var _=defaultSeriesFormatTooltip({series:this,dataIndex:o,multipleSeries:a});return _},r.prototype._updateCategoriesData=function(){var o=map$1(this.option.categories||[],function(u){return u.value!=null?u:extend({value:0},u)}),a=new SeriesData$1(["value"],this);a.initData(o),this._categoriesData=a,this._categoriesModels=a.mapArray(function(u){return a.getItemModel(u)})},r.prototype.setZoom=function(o){this.option.zoom=o},r.prototype.setCenter=function(o){this.option.center=o},r.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},r.type="series.graph",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),GraphSeriesModel$1=GraphSeriesModel,actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$F(t){t.registerChartView(GraphView$1),t.registerSeriesModel(GraphSeriesModel$1),t.registerProcessor(categoryFilter),t.registerVisual(categoryVisual),t.registerVisual(graphEdgeVisual),t.registerLayout(graphSimpleLayout),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),t.registerLayout(graphForceLayout),t.registerCoordinateSystem("graphView",{dimensions:View$1.dimensions,create:createViewCoordSys}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),t.registerAction(actionInfo$1,function(r,o,a){o.eachComponent({mainType:"series",query:r},function(u){var d=u.coordinateSystem,g=updateCenterAndZoom(d,r,void 0,a);u.setCenter&&u.setCenter(g.center),u.setZoom&&u.setZoom(g.zoom)})})}var PointerShape=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),PointerPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="pointer",a}return r.prototype.getDefaultShape=function(){return new PointerShape},r.prototype.buildPath=function(o,a){var u=Math.cos,d=Math.sin,g=a.r,v=a.width,y=a.angle,A=a.x-u(y)*v*(v>=g/3?1:2),b=a.y-d(y)*v*(v>=g/3?1:2);y=a.angle-Math.PI/2,o.moveTo(A,b),o.lineTo(a.x+u(y)*v,a.y+d(y)*v),o.lineTo(a.x+u(a.angle)*g,a.y+d(a.angle)*g),o.lineTo(a.x-u(y)*v,a.y-d(y)*v),o.lineTo(A,b)},r}(Path$1),PointerPath$1=PointerPath;function parsePosition(t,r){var o=t.get("center"),a=r.getWidth(),u=r.getHeight(),d=Math.min(a,u),g=parsePercent(o[0],r.getWidth()),v=parsePercent(o[1],r.getHeight()),y=parsePercent(t.get("radius"),d/2);return{cx:g,cy:v,r:y}}function formatLabel(t,r){var o=t==null?"":t+"";return r&&(isString$1(r)?o=r.replace("{value}",o):isFunction(r)&&(o=r(t))),o}var GaugeView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){this.group.removeAll();var d=o.get(["axisLine","lineStyle","color"]),g=parsePosition(o,u);this._renderMain(o,a,u,d,g),this._data=o.getData()},r.prototype.dispose=function(){},r.prototype._renderMain=function(o,a,u,d,g){var v=this.group,y=o.get("clockwise"),A=-o.get("startAngle")/180*Math.PI,b=-o.get("endAngle")/180*Math.PI,_=o.getModel("axisLine"),w=_.get("roundCap"),S=w?Sausage:Sector$1,C=_.get("show"),T=_.getModel("lineStyle"),I=T.get("width"),E=[A,b];normalizeArcAngles(E,!y),A=E[0],b=E[1];for(var F=b-A,O=A,D=[],x=0;C&&x=N&&(V===0?0:d[V-1][0])Math.PI/2&&(he+=Math.PI)):ge==="tangential"?he=-M-Math.PI/2:isNumber$1(ge)&&(he=ge*Math.PI/180),he===0?_.add(new ZRText$1({style:createTextStyle(O,{text:ne,x:ce,y:se,verticalAlign:U<-.8?"top":U>.8?"bottom":"middle",align:z<-.4?"left":z>.4?"right":"center"},{inheritColor:te}),silent:!0})):_.add(new ZRText$1({style:createTextStyle(O,{text:ne,x:ce,y:se,verticalAlign:"middle",align:"center"},{inheritColor:te}),silent:!0,originX:ce,originY:se,rotation:he}))}if(F.get("show")&&Q!==D){var X=F.get("distance");X=X?X+b:b;for(var ye=0;ye<=x;ye++){z=Math.cos(M),U=Math.sin(M);var ee=new Line$3({shape:{x1:z*(C-X)+w,y1:U*(C-X)+S,x2:z*(C-G-X)+w,y2:U*(C-G-X)+S},silent:!0,style:H});H.stroke==="auto"&&ee.setStyle({stroke:d((Q+ye/x)/D)}),_.add(ee),M+=V}M-=V}else M+=N}},r.prototype._renderPointer=function(o,a,u,d,g,v,y,A,b){var _=this.group,w=this._data,S=this._progressEls,C=[],T=o.get(["pointer","show"]),I=o.getModel("progress"),E=I.get("show"),F=o.getData(),O=F.mapDimension("value"),D=+o.get("min"),x=+o.get("max"),P=[D,x],G=[v,y];function M(V,Y){var H=F.getItemModel(V),B=H.getModel("pointer"),z=parsePercent(B.get("width"),g.r),U=parsePercent(B.get("length"),g.r),Q=o.get(["pointer","icon"]),X=B.get("offsetCenter"),J=parsePercent(X[0],g.r),ne=parsePercent(X[1],g.r),te=B.get("keepAspect"),ce;return Q?ce=createSymbol$1(Q,J-z/2,ne-U,z,U,null,te):ce=new PointerPath$1({shape:{angle:-Math.PI/2,width:z,r:U,x:J,y:ne}}),ce.rotation=-(Y+Math.PI/2),ce.x=g.cx,ce.y=g.cy,ce}function N(V,Y){var H=I.get("roundCap"),B=H?Sausage:Sector$1,z=I.get("overlap"),U=z?I.get("width"):b/F.count(),Q=z?g.r-U:g.r-(V+1)*U,X=z?g.r:g.r-V*U,J=new B({shape:{startAngle:v,endAngle:Y,cx:g.cx,cy:g.cy,clockwise:A,r0:Q,r:X}});return z&&(J.z2=x-F.get(O,V)%x),J}(E||T)&&(F.diff(w).add(function(V){var Y=F.get(O,V);if(T){var H=M(V,v);initProps(H,{rotation:-((isNaN(+Y)?G[0]:linearMap$2(Y,P,G,!0))+Math.PI/2)},o),_.add(H),F.setItemGraphicEl(V,H)}if(E){var B=N(V,v),z=I.get("clip");initProps(B,{shape:{endAngle:linearMap$2(Y,P,G,z)}},o),_.add(B),setCommonECData(o.seriesIndex,F.dataType,V,B),C[V]=B}}).update(function(V,Y){var H=F.get(O,V);if(T){var B=w.getItemGraphicEl(Y),z=B?B.rotation:v,U=M(V,z);U.rotation=z,updateProps$1(U,{rotation:-((isNaN(+H)?G[0]:linearMap$2(H,P,G,!0))+Math.PI/2)},o),_.add(U),F.setItemGraphicEl(V,U)}if(E){var Q=S[Y],X=Q?Q.shape.endAngle:v,J=N(V,X),ne=I.get("clip");updateProps$1(J,{shape:{endAngle:linearMap$2(H,P,G,ne)}},o),_.add(J),setCommonECData(o.seriesIndex,F.dataType,V,J),C[V]=J}}).execute(),F.each(function(V){var Y=F.getItemModel(V),H=Y.getModel("emphasis"),B=H.get("focus"),z=H.get("blurScope"),U=H.get("disabled");if(T){var Q=F.getItemGraphicEl(V),X=F.getItemVisual(V,"style"),J=X.fill;if(Q instanceof ZRImage$1){var ne=Q.style;Q.useStyle(extend({image:ne.image,x:ne.x,y:ne.y,width:ne.width,height:ne.height},X))}else Q.useStyle(X),Q.type!=="pointer"&&Q.setColor(J);Q.setStyle(Y.getModel(["pointer","itemStyle"]).getItemStyle()),Q.style.fill==="auto"&&Q.setStyle("fill",d(linearMap$2(F.get(O,V),P,[0,1],!0))),Q.z2EmphasisLift=0,setStatesStylesFromModel(Q,Y),toggleHoverEmphasis(Q,B,z,U)}if(E){var te=C[V];te.useStyle(F.getItemVisual(V,"style")),te.setStyle(Y.getModel(["progress","itemStyle"]).getItemStyle()),te.z2EmphasisLift=0,setStatesStylesFromModel(te,Y),toggleHoverEmphasis(te,B,z,U)}}),this._progressEls=C)},r.prototype._renderAnchor=function(o,a){var u=o.getModel("anchor"),d=u.get("show");if(d){var g=u.get("size"),v=u.get("icon"),y=u.get("offsetCenter"),A=u.get("keepAspect"),b=createSymbol$1(v,a.cx-g/2+parsePercent(y[0],a.r),a.cy-g/2+parsePercent(y[1],a.r),g,g,null,A);b.z2=u.get("showAbove")?1:0,b.setStyle(u.getModel("itemStyle").getItemStyle()),this.group.add(b)}},r.prototype._renderTitleAndDetail=function(o,a,u,d,g){var v=this,y=o.getData(),A=y.mapDimension("value"),b=+o.get("min"),_=+o.get("max"),w=new Group$4,S=[],C=[],T=o.isAnimationEnabled(),I=o.get(["pointer","showAbove"]);y.diff(this._data).add(function(E){S[E]=new ZRText$1({silent:!0}),C[E]=new ZRText$1({silent:!0})}).update(function(E,F){S[E]=v._titleEls[F],C[E]=v._detailEls[F]}).execute(),y.each(function(E){var F=y.getItemModel(E),O=y.get(A,E),D=new Group$4,x=d(linearMap$2(O,[b,_],[0,1],!0)),P=F.getModel("title");if(P.get("show")){var G=P.get("offsetCenter"),M=g.cx+parsePercent(G[0],g.r),N=g.cy+parsePercent(G[1],g.r),V=S[E];V.attr({z2:I?0:2,style:createTextStyle(P,{x:M,y:N,text:y.getName(E),align:"center",verticalAlign:"middle"},{inheritColor:x})}),D.add(V)}var Y=F.getModel("detail");if(Y.get("show")){var H=Y.get("offsetCenter"),B=g.cx+parsePercent(H[0],g.r),z=g.cy+parsePercent(H[1],g.r),U=parsePercent(Y.get("width"),g.r),Q=parsePercent(Y.get("height"),g.r),X=o.get(["progress","show"])?y.getItemVisual(E,"style").fill:x,V=C[E],J=Y.get("formatter");V.attr({z2:I?0:2,style:createTextStyle(Y,{x:B,y:z,text:formatLabel(O,J),width:isNaN(U)?null:U,height:isNaN(Q)?null:Q,align:"center",verticalAlign:"middle"},{inheritColor:X})}),setLabelValueAnimation(V,{normal:Y},O,function(te){return formatLabel(te,J)}),T&&animateLabelValue(V,E,y,o,{getFormattedLabel:function(te,ce,se,ge,he,ye){return formatLabel(ye?ye.interpolatedValue:O,J)}}),D.add(V)}w.add(D)}),this.group.add(w),this._titleEls=S,this._detailEls=C},r.type="gauge",r}(ChartView$1),GaugeView$1=GaugeView,GaugeSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.visualStyleAccessPath="itemStyle",o}return r.prototype.getInitialData=function(o,a){return createSeriesDataSimply(this,["value"])},r.type="series.gauge",r.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},r}(SeriesModel$1),GaugeSeriesModel$1=GaugeSeriesModel;function install$E(t){t.registerChartView(GaugeView$1),t.registerSeriesModel(GaugeSeriesModel$1)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(t){__extends$1(r,t);function r(o,a){var u=t.call(this)||this,d=u,g=new Polyline$3,v=new ZRText$1;return d.setTextContent(v),u.setTextGuideLine(g),u.updateData(o,a,!0),u}return r.prototype.updateData=function(o,a,u){var d=this,g=o.hostModel,v=o.getItemModel(a),y=o.getItemLayout(a),A=v.getModel("emphasis"),b=v.get(opacityAccessPath$1);b=b==null?1:b,u||saveOldStyle(d),d.useStyle(o.getItemVisual(a,"style")),d.style.lineJoin="round",u?(d.setShape({points:y.points}),d.style.opacity=0,initProps(d,{style:{opacity:b}},g,a)):updateProps$1(d,{style:{opacity:b},shape:{points:y.points}},g,a),setStatesStylesFromModel(d,v),this._updateLabel(o,a),toggleHoverEmphasis(this,A.get("focus"),A.get("blurScope"),A.get("disabled"))},r.prototype._updateLabel=function(o,a){var u=this,d=this.getTextGuideLine(),g=u.getTextContent(),v=o.hostModel,y=o.getItemModel(a),A=o.getItemLayout(a),b=A.label,_=o.getItemVisual(a,"style"),w=_.fill;setLabelStyle(g,getLabelStatesModels(y),{labelFetcher:o.hostModel,labelDataIndex:a,defaultOpacity:_.opacity,defaultText:o.getName(a)},{normal:{align:b.textAlign,verticalAlign:b.verticalAlign}}),u.setTextConfig({local:!0,inside:!!b.inside,insideStroke:w,outsideFill:w});var S=b.linePoints;d.setShape({points:S}),u.textGuideLineConfig={anchor:S?new Point$1(S[0][0],S[0][1]):null},updateProps$1(g,{style:{x:b.x,y:b.y}},v,a),g.attr({rotation:b.rotation,originX:b.x,originY:b.y,z2:10}),setLabelLineStyle(u,getLabelLineStatesModels(y),{stroke:w})},r}(Polygon$1),FunnelView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.ignoreLabelLineUpdate=!0,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this._data,v=this.group;d.diff(g).add(function(y){var A=new FunnelPiece(d,y);d.setItemGraphicEl(y,A),v.add(A)}).update(function(y,A){var b=g.getItemGraphicEl(A);b.updateData(d,y),v.add(b),d.setItemGraphicEl(y,b)}).remove(function(y){var A=g.getItemGraphicEl(y);removeElementWithFadeOut(A,o,y)}).execute(),this._data=d},r.prototype.remove=function(){this.group.removeAll(),this._data=null},r.prototype.dispose=function(){},r.type="funnel",r}(ChartView$1),FunnelView$1=FunnelView,FunnelSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(o)},r.prototype.getInitialData=function(o,a){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype._defaultLabelLine=function(o){defaultEmphasis(o,"labelLine",["show"]);var a=o.labelLine,u=o.emphasis.labelLine;a.show=a.show&&o.label.show,u.show=u.show&&o.emphasis.label.show},r.prototype.getDataParams=function(o){var a=this.getData(),u=t.prototype.getDataParams.call(this,o),d=a.mapDimension("value"),g=a.getSum(d);return u.percent=g?+(a.get(d,o)/g*100).toFixed(2):0,u.$vars.push("percent"),u},r.type="series.funnel",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),FunnelSeriesModel$1=FunnelSeriesModel;function getViewRect$2(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getSortedIndices(t,r){for(var o=t.mapDimension("value"),a=t.mapArray(o,function(y){return y}),u=[],d=r==="ascending",g=0,v=t.count();gCLICK_THRESHOLD)return;var u=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);u.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:u.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var r=this._model,o=r.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=o.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:o.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function checkTrigger(t,r){var o=t._model;return o.get("axisExpandable")&&o.get("axisExpandTriggerOn")===r}var ParallelView$1=ParallelView,ParallelModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},r.prototype.mergeOption=function(o){var a=this.option;o&&merge(a,o,!0),this._initDimensions()},r.prototype.contains=function(o,a){var u=o.get("parallelIndex");return u!=null&&a.getComponent("parallel",u)===this},r.prototype.setAxisExpand=function(o){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){o.hasOwnProperty(a)&&(this.option[a]=o[a])},this)},r.prototype._initDimensions=function(){var o=this.dimensions=[],a=this.parallelAxisIndex=[],u=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);each$f(u,function(d){o.push("dim"+d.get("dim")),a.push(d.componentIndex)})},r.type="parallel",r.dependencies=["parallelAxis"],r.layoutMode="box",r.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},r}(ComponentModel$1),ParallelModel$1=ParallelModel,ParallelAxis=function(t){__extends$1(r,t);function r(o,a,u,d,g){var v=t.call(this,o,a,u)||this;return v.type=d||"value",v.axisIndex=g,v}return r.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},r}(Axis$1),ParallelAxis$1=ParallelAxis;function sliderMove(t,r,o,a,u,d){t=t||0;var g=o[1]-o[0];if(u!=null&&(u=restrict$1(u,[0,g])),d!=null&&(d=Math.max(d,u!=null?u:0)),a==="all"){var v=Math.abs(r[1]-r[0]);v=restrict$1(v,[0,g]),u=d=restrict$1(v,[u,d]),a=0}r[0]=restrict$1(r[0],o),r[1]=restrict$1(r[1],o);var y=getSpanSign(r,a);r[a]+=t;var A=u||0,b=o.slice();y.sign<0?b[0]+=A:b[1]-=A,r[a]=restrict$1(r[a],b);var _;return _=getSpanSign(r,a),u!=null&&(_.sign!==y.sign||_.spand&&(r[1-a]=r[a]+_.sign*d),r}function getSpanSign(t,r){var o=t[r]-t[1-r];return{span:Math.abs(o),sign:o>0?-1:o<0?1:r?-1:1}}function restrict$1(t,r){return Math.min(r[1]!=null?r[1]:1/0,Math.max(r[0]!=null?r[0]:-1/0,t))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function t(r,o,a){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=r.dimensions,this._model=r,this._init(r,o,a)}return t.prototype._init=function(r,o,a){var u=r.dimensions,d=r.parallelAxisIndex;each$a(u,function(g,v){var y=d[v],A=o.getComponent("parallelAxis",y),b=this._axesMap.set(g,new ParallelAxis$1(g,createScaleByModel$1(A),[0,0],A.get("type"),y)),_=b.type==="category";b.onBand=_&&A.get("boundaryGap"),b.inverse=A.get("inverse"),A.axis=b,b.model=A,b.coordinateSystem=A.coordinateSystem=this},this)},t.prototype.update=function(r,o){this._updateAxesFromSeries(this._model,r)},t.prototype.containPoint=function(r){var o=this._makeLayoutInfo(),a=o.axisBase,u=o.layoutBase,d=o.pixelDimIndex,g=r[1-d],v=r[d];return g>=a&&g<=a+o.axisLength&&v>=u&&v<=u+o.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(r,o){o.eachSeries(function(a){if(!!r.contains(a,o)){var u=a.getData();each$a(this.dimensions,function(d){var g=this._axesMap.get(d);g.scale.unionExtentFromData(u,u.mapDimension(d)),niceScaleExtent(g.scale,g.model)},this)}},this)},t.prototype.resize=function(r,o){this._rect=getLayoutRect(r.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var r=this._model,o=this._rect,a=["x","y"],u=["width","height"],d=r.get("layout"),g=d==="horizontal"?0:1,v=o[u[g]],y=[0,v],A=this.dimensions.length,b=restrict(r.get("axisExpandWidth"),y),_=restrict(r.get("axisExpandCount")||0,[0,A]),w=r.get("axisExpandable")&&A>3&&A>_&&_>1&&b>0&&v>0,S=r.get("axisExpandWindow"),C;if(S)C=restrict(S[1]-S[0],y),S[1]=S[0]+C;else{C=restrict(b*(_-1),y);var T=r.get("axisExpandCenter")||mathFloor(A/2);S=[b*T-C/2],S[1]=S[0]+C}var I=(v-C)/(A-_);I<3&&(I=0);var E=[mathFloor(round(S[0]/b,1))+1,mathCeil(round(S[1]/b,1))-1],F=I/b*S[0];return{layout:d,pixelDimIndex:g,layoutBase:o[a[g]],layoutLength:v,axisBase:o[a[1-g]],axisLength:o[u[1-g]],axisExpandable:w,axisExpandWidth:b,axisCollapseWidth:I,axisExpandWindow:S,axisCount:A,winInnerIndices:E,axisExpandWindow0Pos:F}},t.prototype._layoutAxes=function(){var r=this._rect,o=this._axesMap,a=this.dimensions,u=this._makeLayoutInfo(),d=u.layout;o.each(function(g){var v=[0,u.axisLength],y=g.inverse?1:0;g.setExtent(v[y],v[1-y])}),each$a(a,function(g,v){var y=(u.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(v,u),A={horizontal:{x:y.position,y:u.axisLength},vertical:{x:0,y:y.position}},b={horizontal:PI$1/2,vertical:0},_=[A[d].x+r.x,A[d].y+r.y],w=b[d],S=create$1();rotate(S,S,w),translate(S,S,_),this._axesLayout[g]={position:_,rotation:w,transform:S,axisNameAvailableWidth:y.axisNameAvailableWidth,axisLabelShow:y.axisLabelShow,nameTruncateMaxWidth:y.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(r){return this._axesMap.get(r)},t.prototype.dataToPoint=function(r,o){return this.axisCoordToPoint(this._axesMap.get(o).dataToCoord(r),o)},t.prototype.eachActiveState=function(r,o,a,u){a==null&&(a=0),u==null&&(u=r.count());var d=this._axesMap,g=this.dimensions,v=[],y=[];each$f(g,function(I){v.push(r.mapDimension(I)),y.push(d.get(I).model)});for(var A=this.hasAxisBrushed(),b=a;bd*(1-_[0])?(A="jump",y=v-d*(1-_[2])):(y=v-d*_[1])>=0&&(y=v-d*(1-_[1]))<=0&&(y=0),y*=o.axisExpandWidth/b,y?sliderMove(y,u,g,"all"):A="none";else{var S=u[1]-u[0],C=g[1]*v/S;u=[mathMax$2(0,C-S/2)],u[1]=mathMin$2(g[1],u[0]+S),u[0]=u[1]-S}return{axisExpandWindow:u,behavior:A}},t}();function restrict(t,r){return mathMin$2(mathMax$2(t,r[0]),r[1])}function layoutAxisWithoutExpand(t,r){var o=r.layoutLength/(r.axisCount-1);return{position:o*t,axisNameAvailableWidth:o,axisLabelShow:!0}}function layoutAxisWithExpand(t,r){var o=r.layoutLength,a=r.axisExpandWidth,u=r.axisCount,d=r.axisCollapseWidth,g=r.winInnerIndices,v,y=d,A=!1,b;return t=0;u--)asc$2(a[u])},r.prototype.getActiveState=function(o){var a=this.activeIntervals;if(!a.length)return"normal";if(o==null||isNaN(+o))return"inactive";if(a.length===1){var u=a[0];if(u[0]<=o&&o<=u[1])return"active"}else for(var d=0,g=a.length;dUNSELECT_THRESHOLD}function getTrackEnds(t){var r=t.length-1;return r<0&&(r=0),[t[0],t[r]]}function createBaseRectCover(t,r,o,a){var u=new Group$4;return u.add(new Rect$3({name:"main",style:makeStyle(o),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,t,r,u,["n","s","w","e"]),ondragend:curry$1(trigger,r,{isEnd:!0})})),each$f(a,function(d){u.add(new Rect$3({name:d.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,t,r,u,d),ondragend:curry$1(trigger,r,{isEnd:!0})}))}),u}function updateBaseRect(t,r,o,a){var u=a.brushStyle.lineWidth||0,d=mathMax$1(u,MIN_RESIZE_LINE_WIDTH),g=o[0][0],v=o[1][0],y=g-u/2,A=v-u/2,b=o[0][1],_=o[1][1],w=b-d+u/2,S=_-d+u/2,C=b-g,T=_-v,I=C+u,E=T+u;updateRectShape(t,r,"main",g,v,C,T),a.transformable&&(updateRectShape(t,r,"w",y,A,d,E),updateRectShape(t,r,"e",w,A,d,E),updateRectShape(t,r,"n",y,A,I,d),updateRectShape(t,r,"s",y,S,I,d),updateRectShape(t,r,"nw",y,A,d,d),updateRectShape(t,r,"ne",w,A,d,d),updateRectShape(t,r,"sw",y,S,d,d),updateRectShape(t,r,"se",w,S,d,d))}function updateCommon$1(t,r){var o=r.__brushOption,a=o.transformable,u=r.childAt(0);u.useStyle(makeStyle(o)),u.attr({silent:!a,cursor:a?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(d){var g=r.childOfName(d.join("")),v=d.length===1?getGlobalDirection1(t,d[0]):getGlobalDirection2(t,d);g&&g.attr({silent:!a,invisible:!a,cursor:a?CURSOR_MAP[v]+"-resize":null})})}function updateRectShape(t,r,o,a,u,d,g){var v=r.childOfName(o);v&&v.setShape(pointsToRect(clipByPanel(t,r,[[a,u],[a+d,u+g]])))}function makeStyle(t){return defaults({strokeNoScale:!0},t.brushStyle)}function formatRectRange(t,r,o,a){var u=[mathMin$1(t,o),mathMin$1(r,a)],d=[mathMax$1(t,o),mathMax$1(r,a)];return[[u[0],d[0]],[u[1],d[1]]]}function getTransform(t){return getTransform$1(t.group)}function getGlobalDirection1(t,r){var o={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},u=transformDirection(o[r],getTransform(t));return a[u]}function getGlobalDirection2(t,r){var o=[getGlobalDirection1(t,r[0]),getGlobalDirection1(t,r[1])];return(o[0]==="e"||o[0]==="w")&&o.reverse(),o.join("")}function driftRect(t,r,o,a,u,d){var g=o.__brushOption,v=t.toRectRange(g.range),y=toLocalDelta(r,u,d);each$f(a,function(A){var b=DIRECTION_MAP[A];v[b[0]][b[1]]+=y[b[0]]}),g.range=t.fromRectRange(formatRectRange(v[0][0],v[1][0],v[0][1],v[1][1])),updateCoverAfterCreation(r,o),trigger(r,{isEnd:!1})}function driftPolygon(t,r,o,a){var u=r.__brushOption.range,d=toLocalDelta(t,o,a);each$f(u,function(g){g[0]+=d[0],g[1]+=d[1]}),updateCoverAfterCreation(t,r),trigger(t,{isEnd:!1})}function toLocalDelta(t,r,o){var a=t.group,u=a.transformCoordToLocal(r,o),d=a.transformCoordToLocal(0,0);return[u[0]-d[0],u[1]-d[1]]}function clipByPanel(t,r,o){var a=getPanelByCover(t,r);return a&&a!==BRUSH_PANEL_GLOBAL?a.clipPath(o,t._transform):clone$5(o)}function pointsToRect(t){var r=mathMin$1(t[0][0],t[1][0]),o=mathMin$1(t[0][1],t[1][1]),a=mathMax$1(t[0][0],t[1][0]),u=mathMax$1(t[0][1],t[1][1]);return{x:r,y:o,width:a-r,height:u-o}}function resetCursor(t,r,o){if(!(!t._brushType||isOutsideZrArea(t,r.offsetX,r.offsetY))){var a=t._zr,u=t._covers,d=getPanelByPoint(t,r,o);if(!t._dragging)for(var g=0;ga.getWidth()||o<0||o>a.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(t,r){function o(a){return a}return createBaseRectCover({toRectRange:o,fromRectRange:o},t,r,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var r=getTrackEnds(t);return formatRectRange(r[1][0],r[1][1],r[0][0],r[0][1])},updateCoverShape:function(t,r,o,a){updateBaseRect(t,r,o,a)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(t,r){var o=new Group$4;return o.add(new Polyline$3({name:"main",style:makeStyle(r),silent:!0})),o},getCreatingRange:function(t){return t},endCreating:function(t,r){r.remove(r.childAt(0)),r.add(new Polygon$1({name:"main",draggable:!0,drift:curry$1(driftPolygon,t,r),ondragend:curry$1(trigger,t,{isEnd:!0})}))},updateCoverShape:function(t,r,o,a){r.childAt(0).setShape({points:clipByPanel(t,r,o)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(t){return{createCover:function(r,o){return createBaseRectCover({toRectRange:function(a){var u=[a,[0,100]];return t&&u.reverse(),u},fromRectRange:function(a){return a[t]}},r,o,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(r){var o=getTrackEnds(r),a=mathMin$1(o[0][t],o[1][t]),u=mathMax$1(o[0][t],o[1][t]);return[a,u]},updateCoverShape:function(r,o,a,u){var d,g=getPanelByCover(r,o);if(g!==BRUSH_PANEL_GLOBAL&&g.getLinearBrushOtherExtent)d=g.getLinearBrushOtherExtent(t);else{var v=r._zr;d=[0,[v.getWidth(),v.getHeight()][1-t]]}var y=[a,d];t&&y.reverse(),updateBaseRect(r,o,y,u)},updateCommon:updateCommon$1,contain:mainShapeContain}}var BrushController$1=BrushController;function makeRectPanelClipPath(t){return t=normalizeRect(t),function(r){return clipPointsByRect(r,t)}}function makeLinearBrushOtherExtent(t,r){return t=normalizeRect(t),function(o){var a=r!=null?r:o,u=a?t.width:t.height,d=a?t.x:t.y;return[d,d+(u||0)]}}function makeRectIsTargetByCursor(t,r,o){var a=normalizeRect(t);return function(u,d){return a.contain(d[0],d[1])&&!onIrrelevantElement(u,r,o)}}function normalizeRect(t){return BoundingRect$1.create(t)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){t.prototype.init.apply(this,arguments),(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this))},r.prototype.render=function(o,a,u,d){if(!fromAxisAreaSelect(o,a,d)){this.axisModel=o,this.api=u,this.group.removeAll();var g=this._axisGroup;if(this._axisGroup=new Group$4,this.group.add(this._axisGroup),!!o.get("show")){var v=getCoordSysModel(o,a),y=v.coordinateSystem,A=o.getAreaSelectStyle(),b=A.width,_=o.axis.dim,w=y.getAxisLayout(_),S=extend({strokeContainThreshold:b},w),C=new AxisBuilder$1(o,S);each$f(elementList$1,C.add,C),this._axisGroup.add(C.getGroup()),this._refreshBrushController(S,A,o,v,b,u),groupTransition(g,this._axisGroup,o)}}},r.prototype._refreshBrushController=function(o,a,u,d,g,v){var y=u.axis.getExtent(),A=y[1]-y[0],b=Math.min(30,Math.abs(A)*.1),_=BoundingRect$1.create({x:y[0],y:-g/2,width:A,height:g});_.x-=b,_.width+=2*b,this._brushController.mount({enableGlobalPan:!0,rotation:o.rotation,x:o.position[0],y:o.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(_),isTargetByCursor:makeRectIsTargetByCursor(_,v,d),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(_,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(getCoverInfoList(u))},r.prototype._onBrush=function(o){var a=o.areas,u=this.axisModel,d=u.axis,g=map$1(a,function(v){return[d.coordToData(v.range[0],!0),d.coordToData(v.range[1],!0)]});(!u.option.realtime===o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:u.id,intervals:g})},r.prototype.dispose=function(){this._brushController.dispose()},r.type="parallelAxis",r}(ComponentView$1);function fromAxisAreaSelect(t,r,o){return o&&o.type==="axisAreaSelect"&&r.findComponents({mainType:"parallelAxis",query:o})[0]===t}function getCoverInfoList(t){var r=t.axis;return map$1(t.activeIntervals,function(o){return{brushType:"lineX",panelId:"pl",range:[r.dataToCoord(o[0],!0),r.dataToCoord(o[1],!0)]}})}function getCoordSysModel(t,r){return r.getComponent("parallel",t.get("parallelIndex"))}var ParallelAxisView$1=ParallelAxisView,actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(t){t.registerAction(actionInfo,function(r,o){o.eachComponent({mainType:"parallelAxis",query:r},function(a){a.axis.model.setActiveIntervals(r.intervals)})}),t.registerAction("parallelAxisExpand",function(r,o){o.eachComponent({mainType:"parallel",query:r},function(a){a.setAxisExpand(r)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$C(t){t.registerComponentView(ParallelView$1),t.registerComponentModel(ParallelModel$1),t.registerCoordinateSystem("parallel",parallelCoordSysCreator$1),t.registerPreprocessor(parallelPreprocessor),t.registerComponentModel(ParallelAxisModel$1),t.registerComponentView(ParallelAxisView$1),axisModelCreator(t,"parallel",ParallelAxisModel$1,defaultAxisOption),installParallelActions(t)}function install$B(t){use(install$C),t.registerChartView(ParallelView$3),t.registerSeriesModel(ParallelSeriesModel$1),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,parallelVisual$1)}var SankeyPathShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),SankeyPath=function(t){__extends$1(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new SankeyPathShape},r.prototype.buildPath=function(o,a){var u=a.extent;o.moveTo(a.x1,a.y1),o.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(o.lineTo(a.x2+u,a.y2),o.bezierCurveTo(a.cpx2+u,a.cpy2,a.cpx1+u,a.cpy1,a.x1+u,a.y1)):(o.lineTo(a.x2,a.y2+u),o.bezierCurveTo(a.cpx2,a.cpy2+u,a.cpx1,a.cpy1+u,a.x1,a.y1+u)),o.closePath()},r.prototype.highlight=function(){enterEmphasis(this)},r.prototype.downplay=function(){leaveEmphasis(this)},r}(Path$1),SankeyView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._focusAdjacencyDisabled=!1,o}return r.prototype.render=function(o,a,u){var d=this,g=o.getGraph(),v=this.group,y=o.layoutInfo,A=y.width,b=y.height,_=o.getData(),w=o.getData("edge"),S=o.get("orient");this._model=o,v.removeAll(),v.x=y.x,v.y=y.y,g.eachEdge(function(C){var T=new SankeyPath,I=getECData(T);I.dataIndex=C.dataIndex,I.seriesIndex=o.seriesIndex,I.dataType="edge";var E=C.getModel(),F=E.getModel("lineStyle"),O=F.get("curveness"),D=C.node1.getLayout(),x=C.node1.getModel(),P=x.get("localX"),G=x.get("localY"),M=C.node2.getLayout(),N=C.node2.getModel(),V=N.get("localX"),Y=N.get("localY"),H=C.getLayout(),B,z,U,Q,X,J,ne,te;T.shape.extent=Math.max(1,H.dy),T.shape.orient=S,S==="vertical"?(B=(P!=null?P*A:D.x)+H.sy,z=(G!=null?G*b:D.y)+D.dy,U=(V!=null?V*A:M.x)+H.ty,Q=Y!=null?Y*b:M.y,X=B,J=z*(1-O)+Q*O,ne=U,te=z*O+Q*(1-O)):(B=(P!=null?P*A:D.x)+D.dx,z=(G!=null?G*b:D.y)+H.sy,U=V!=null?V*A:M.x,Q=(Y!=null?Y*b:M.y)+H.ty,X=B*(1-O)+U*O,J=z,ne=B*O+U*(1-O),te=Q),T.setShape({x1:B,y1:z,x2:U,y2:Q,cpx1:X,cpy1:J,cpx2:ne,cpy2:te}),T.useStyle(F.getItemStyle()),applyCurveStyle(T.style,S,C);var ce=""+E.get("value"),se=getLabelStatesModels(E,"edgeLabel");setLabelStyle(T,se,{labelFetcher:{getFormattedLabel:function(ye,ee,pe,ae,ve,we){return o.getFormattedLabel(ye,ee,"edge",ae,retrieve3(ve,se.normal&&se.normal.get("formatter"),ce),we)}},labelDataIndex:C.dataIndex,defaultText:ce}),T.setTextConfig({position:"inside"});var ge=E.getModel("emphasis");setStatesStylesFromModel(T,E,"lineStyle",function(ye){var ee=ye.getItemStyle();return applyCurveStyle(ee,S,C),ee}),v.add(T),w.setItemGraphicEl(C.dataIndex,T);var he=ge.get("focus");toggleHoverEmphasis(T,he==="adjacency"?C.getAdjacentDataIndices():he==="trajectory"?C.getTrajectoryDataIndices():he,ge.get("blurScope"),ge.get("disabled"))}),g.eachNode(function(C){var T=C.getLayout(),I=C.getModel(),E=I.get("localX"),F=I.get("localY"),O=I.getModel("emphasis"),D=I.get(["itemStyle","borderRadius"])||0,x=new Rect$3({shape:{x:E!=null?E*A:T.x,y:F!=null?F*b:T.y,width:T.dx,height:T.dy,r:D},style:I.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(x,getLabelStatesModels(I),{labelFetcher:{getFormattedLabel:function(G,M){return o.getFormattedLabel(G,M,"node")}},labelDataIndex:C.dataIndex,defaultText:C.id}),x.disableLabelAnimation=!0,x.setStyle("fill",C.getVisual("color")),x.setStyle("decal",C.getVisual("style").decal),setStatesStylesFromModel(x,I),v.add(x),_.setItemGraphicEl(C.dataIndex,x),getECData(x).dataType="node";var P=O.get("focus");toggleHoverEmphasis(x,P==="adjacency"?C.getAdjacentDataIndices():P==="trajectory"?C.getTrajectoryDataIndices():P,O.get("blurScope"),O.get("disabled"))}),_.eachItemGraphicEl(function(C,T){var I=_.getItemModel(T);I.get("draggable")&&(C.drift=function(E,F){d._focusAdjacencyDisabled=!0,this.shape.x+=E,this.shape.y+=F,this.dirty(),u.dispatchAction({type:"dragNode",seriesId:o.id,dataIndex:_.getRawIndex(T),localX:this.shape.x/A,localY:this.shape.y/b})},C.ondragend=function(){d._focusAdjacencyDisabled=!1},C.draggable=!0,C.cursor="move")}),!this._data&&o.isAnimationEnabled()&&v.setClipPath(createGridClipShape$1(v.getBoundingRect(),o,function(){v.removeClipPath()})),this._data=o.getData()},r.prototype.dispose=function(){},r.type="sankey",r}(ChartView$1);function applyCurveStyle(t,r,o){switch(t.fill){case"source":t.fill=o.node1.getVisual("color"),t.decal=o.node1.getVisual("style").decal;break;case"target":t.fill=o.node2.getVisual("color"),t.decal=o.node2.getVisual("style").decal;break;case"gradient":var a=o.node1.getVisual("color"),u=o.node2.getVisual("color");isString$1(a)&&isString$1(u)&&(t.fill=new LinearGradient$1(0,0,+(r==="horizontal"),+(r==="vertical"),[{color:a,offset:0},{color:u,offset:1}]))}}function createGridClipShape$1(t,r,o){var a=new Rect$3({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return initProps(a,{shape:{width:t.width+20}},r,o),a}var SankeyView$1=SankeyView,SankeySeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){var u=o.edges||o.links,d=o.data||o.nodes,g=o.levels;this.levelModels=[];for(var v=this.levelModels,y=0;y=0&&(v[g[y].depth]=new Model$1(g[y],this,a));if(d&&u){var A=createGraphFromNodeEdge(d,u,this,!0,b);return A.data}function b(_,w){_.wrapMethod("getItemModel",function(S,C){var T=S.parentModel,I=T.getData().getItemLayout(C);if(I){var E=I.depth,F=T.levelModels[E];F&&(S.parentModel=F)}return S}),w.wrapMethod("getItemModel",function(S,C){var T=S.parentModel,I=T.getGraph().getEdgeByIndex(C),E=I.node1.getLayout();if(E){var F=E.depth,O=T.levelModels[F];O&&(S.parentModel=O)}return S})}},r.prototype.setNodePosition=function(o,a){var u=this.option.data||this.option.nodes,d=u[o];d.localX=a[0],d.localY=a[1]},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.formatTooltip=function(o,a,u){function d(S){return isNaN(S)||S==null}if(u==="edge"){var g=this.getDataParams(o,u),v=g.data,y=g.value,A=v.source+" -- "+v.target;return createTooltipMarkup("nameValue",{name:A,value:y,noValue:d(y)})}else{var b=this.getGraph().getNodeByIndex(o),_=b.getLayout().value,w=this.getDataParams(o,u).data.name;return createTooltipMarkup("nameValue",{name:w!=null?w+"":null,value:_,noValue:d(_)})}},r.prototype.optionUpdated=function(){},r.prototype.getDataParams=function(o,a){var u=t.prototype.getDataParams.call(this,o,a);if(u.value==null&&a==="node"){var d=this.getGraph().getNodeByIndex(o),g=d.getLayout().value;u.value=g}return u},r.type="series.sankey",r.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},r}(SeriesModel$1),SankeySeriesModel$1=SankeySeriesModel;function sankeyLayout(t,r){t.eachSeriesByType("sankey",function(o){var a=o.get("nodeWidth"),u=o.get("nodeGap"),d=getViewRect$1(o,r);o.layoutInfo=d;var g=d.width,v=d.height,y=o.getGraph(),A=y.nodes,b=y.edges;computeNodeValues(A);var _=filter(A,function(T){return T.getLayout().value===0}),w=_.length!==0?0:o.get("layoutIterations"),S=o.get("orient"),C=o.get("nodeAlign");layoutSankey(A,b,a,u,g,v,w,S,C)})}function getViewRect$1(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function layoutSankey(t,r,o,a,u,d,g,v,y){computeNodeBreadths(t,r,o,u,d,v,y),computeNodeDepths(t,r,d,u,a,g,v),computeEdgeDepths(t,v)}function computeNodeValues(t){each$f(t,function(r){var o=sum(r.outEdges,getEdgeValue),a=sum(r.inEdges,getEdgeValue),u=r.getValue()||0,d=Math.max(o,a,u);r.setLayout({value:d},!0)})}function computeNodeBreadths(t,r,o,a,u,d,g){for(var v=[],y=[],A=[],b=[],_=0,w=0;w=0;E&&I.depth>S&&(S=I.depth),T.setLayout({depth:E?I.depth:_},!0),d==="vertical"?T.setLayout({dy:o},!0):T.setLayout({dx:o},!0);for(var F=0;F_-1?S:_-1;g&&g!=="left"&&adjustNodeWithNodeAlign(t,g,d,G);var M=d==="vertical"?(u-o)/G:(a-o)/G;scaleNodeBreadths(t,M,d)}function isNodeDepth(t){var r=t.hostGraph.data.getRawDataItem(t.dataIndex);return r.depth!=null&&r.depth>=0}function adjustNodeWithNodeAlign(t,r,o,a){if(r==="right"){for(var u=[],d=t,g=0;d.length;){for(var v=0;v0;d--)y*=.99,relaxRightToLeft(v,y,g),resolveCollisions(v,u,o,a,g),relaxLeftToRight(v,y,g),resolveCollisions(v,u,o,a,g)}function prepareNodesByBreadth(t,r){var o=[],a=r==="vertical"?"y":"x",u=groupData(t,function(d){return d.getLayout()[a]});return u.keys.sort(function(d,g){return d-g}),each$f(u.keys,function(d){o.push(u.buckets.get(d))}),o}function initializeNodeDepth(t,r,o,a,u,d){var g=1/0;each$f(t,function(v){var y=v.length,A=0;each$f(v,function(_){A+=_.getLayout().value});var b=d==="vertical"?(a-(y-1)*u)/A:(o-(y-1)*u)/A;b0&&(v=y.getLayout()[d]+A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0)),b=y.getLayout()[d]+y.getLayout()[w]+r;var C=u==="vertical"?a:o;if(A=b-r-C,A>0){v=y.getLayout()[d]-A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0),b=v;for(var S=_-2;S>=0;--S)y=g[S],A=y.getLayout()[d]+y.getLayout()[w]+r-b,A>0&&(v=y.getLayout()[d]-A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0)),b=y.getLayout()[d]}})}function relaxRightToLeft(t,r,o){each$f(t.slice().reverse(),function(a){each$f(a,function(u){if(u.outEdges.length){var d=sum(u.outEdges,weightedTarget,o)/sum(u.outEdges,getEdgeValue);if(isNaN(d)){var g=u.outEdges.length;d=g?sum(u.outEdges,centerTarget,o)/g:0}if(o==="vertical"){var v=u.getLayout().x+(d-center(u,o))*r;u.setLayout({x:v},!0)}else{var y=u.getLayout().y+(d-center(u,o))*r;u.setLayout({y},!0)}}})})}function weightedTarget(t,r){return center(t.node2,r)*t.getValue()}function centerTarget(t,r){return center(t.node2,r)}function weightedSource(t,r){return center(t.node1,r)*t.getValue()}function centerSource(t,r){return center(t.node1,r)}function center(t,r){return r==="vertical"?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function getEdgeValue(t){return t.getValue()}function sum(t,r,o){for(var a=0,u=t.length,d=-1;++dg&&(g=y)}),each$f(a,function(v){var y=new VisualMapping$1({type:"color",mappingMethod:"linear",dataExtent:[d,g],visual:r.get("color")}),A=y.mapValueToVisual(v.getLayout().value),b=v.getModel().get(["itemStyle","color"]);b!=null?(v.setVisual("color",b),v.setVisual("style",{fill:b})):(v.setVisual("color",A),v.setVisual("style",{fill:A}))})}u.length&&each$f(u,function(v){var y=v.getModel().get("lineStyle");v.setVisual("style",y)})})}function install$A(t){t.registerChartView(SankeyView$1),t.registerSeriesModel(SankeySeriesModel$1),t.registerLayout(sankeyLayout),t.registerVisual(sankeyVisual),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(r,o){o.eachComponent({mainType:"series",subType:"sankey",query:r},function(a){a.setNodePosition(r.dataIndex,[r.localX,r.localY])})})}var WhiskerBoxCommonMixin=function(){function t(){}return t.prototype.getInitialData=function(r,o){var a,u=o.getComponent("xAxis",this.get("xAxisIndex")),d=o.getComponent("yAxis",this.get("yAxisIndex")),g=u.get("type"),v=d.get("type"),y;g==="category"?(r.layout="horizontal",a=u.getOrdinalMeta(),y=!0):v==="category"?(r.layout="vertical",a=d.getOrdinalMeta(),y=!0):r.layout=r.layout||"horizontal";var A=["x","y"],b=r.layout==="horizontal"?0:1,_=this._baseAxisDim=A[b],w=A[1-b],S=[u,d],C=S[b].get("type"),T=S[1-b].get("type"),I=r.data;if(I&&y){var E=[];each$f(I,function(D,x){var P;isArray$1(D)?(P=D.slice(),D.unshift(x)):isArray$1(D.value)?(P=extend({},D),P.value=P.value.slice(),D.value.unshift(x)):P=D,E.push(P)}),r.data=E}var F=this.defaultValueDimensions,O=[{name:_,type:getDimensionTypeByAxis(C),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:w,type:getDimensionTypeByAxis(T),dimsDef:F.slice()}];return createSeriesDataSimply(this,{coordDimensions:O,dimensionsCount:F.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,O,this)})},t.prototype.getBaseAxis=function(){var r=this._baseAxisDim;return this.ecModel.getComponent(r+"Axis",this.get(r+"AxisIndex")).axis},t}(),BoxplotSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],o.visualDrawType="stroke",o}return r.type="series.boxplot",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},r}(SeriesModel$1);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotSeriesModel$1=BoxplotSeriesModel,BoxplotView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this.group,v=this._data;this._data||g.removeAll();var y=o.get("layout")==="horizontal"?1:0;d.diff(v).add(function(A){if(d.hasValue(A)){var b=d.getItemLayout(A),_=createNormalBox$1(b,d,A,y,!0);d.setItemGraphicEl(A,_),g.add(_)}}).update(function(A,b){var _=v.getItemGraphicEl(b);if(!d.hasValue(A)){g.remove(_);return}var w=d.getItemLayout(A);_?(saveOldStyle(_),updateNormalBoxData(w,_,d,A)):_=createNormalBox$1(w,d,A,y),g.add(_),d.setItemGraphicEl(A,_)}).remove(function(A){var b=v.getItemGraphicEl(A);b&&g.remove(b)}).execute(),this._data=d},r.prototype.remove=function(o){var a=this.group,u=this._data;this._data=null,u&&u.eachItemGraphicEl(function(d){d&&a.remove(d)})},r.type="boxplot",r}(ChartView$1),BoxPathShape=function(){function t(){}return t}(),BoxPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="boxplotBoxPath",a}return r.prototype.getDefaultShape=function(){return new BoxPathShape},r.prototype.buildPath=function(o,a){var u=a.points,d=0;for(o.moveTo(u[d][0],u[d][1]),d++;d<4;d++)o.lineTo(u[d][0],u[d][1]);for(o.closePath();dT){var D=[E,O];a.push(D)}}}return{boxData:o,outliers:a}}var boxplotTransform={type:"echarts:boxplot",transform:function t(r){var o=r.upstream;if(o.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var a="";throwError(a)}var u=prepareBoxplotData(o.getRawData(),r.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:u.boxData},{data:u.outliers}]}};function install$z(t){t.registerSeriesModel(BoxplotSeriesModel$1),t.registerChartView(BoxplotView$1),t.registerLayout(boxplotLayout),t.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(o),this._isLargeDraw?this._renderLarge(o):this._renderNormal(o)},r.prototype.incrementalPrepareRender=function(o,a,u){this._clear(),this._updateDrawMode(o)},r.prototype.incrementalRender=function(o,a,u,d){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(o,a):this._incrementalRenderNormal(o,a)},r.prototype.eachRendered=function(o){traverseElements(this._progressiveEls||this.group,o)},r.prototype._updateDrawMode=function(o){var a=o.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},r.prototype._renderNormal=function(o){var a=o.getData(),u=this._data,d=this.group,g=a.getLayout("isSimpleBox"),v=o.get("clip",!0),y=o.coordinateSystem,A=y.getArea&&y.getArea();this._data||d.removeAll(),a.diff(u).add(function(b){if(a.hasValue(b)){var _=a.getItemLayout(b);if(v&&isNormalBoxClipped(A,_))return;var w=createNormalBox(_,b,!0);initProps(w,{shape:{points:_.ends}},o,b),setBoxCommon(w,a,b,g),d.add(w),a.setItemGraphicEl(b,w)}}).update(function(b,_){var w=u.getItemGraphicEl(_);if(!a.hasValue(b)){d.remove(w);return}var S=a.getItemLayout(b);if(v&&isNormalBoxClipped(A,S)){d.remove(w);return}w?(updateProps$1(w,{shape:{points:S.ends}},o,b),saveOldStyle(w)):w=createNormalBox(S),setBoxCommon(w,a,b,g),d.add(w),a.setItemGraphicEl(b,w)}).remove(function(b){var _=u.getItemGraphicEl(b);_&&d.remove(_)}).execute(),this._data=a},r.prototype._renderLarge=function(o){this._clear(),createLarge(o,this.group);var a=o.get("clip",!0)?createClipPath(o.coordinateSystem,!1,o):null;a?this.group.setClipPath(a):this.group.removeClipPath()},r.prototype._incrementalRenderNormal=function(o,a){for(var u=a.getData(),d=u.getLayout("isSimpleBox"),g;(g=o.next())!=null;){var v=u.getItemLayout(g),y=createNormalBox(v);setBoxCommon(y,u,g,d),y.incremental=!0,this.group.add(y),this._progressiveEls.push(y)}},r.prototype._incrementalRenderLarge=function(o,a){createLarge(a,this.group,this._progressiveEls,!0)},r.prototype.remove=function(o){this._clear()},r.prototype._clear=function(){this.group.removeAll(),this._data=null},r.type="candlestick",r}(ChartView$1),NormalBoxPathShape=function(){function t(){}return t}(),NormalBoxPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="normalCandlestickBox",a}return r.prototype.getDefaultShape=function(){return new NormalBoxPathShape},r.prototype.buildPath=function(o,a){var u=a.points;this.__simpleBox?(o.moveTo(u[4][0],u[4][1]),o.lineTo(u[6][0],u[6][1])):(o.moveTo(u[0][0],u[0][1]),o.lineTo(u[1][0],u[1][1]),o.lineTo(u[2][0],u[2][1]),o.lineTo(u[3][0],u[3][1]),o.closePath(),o.moveTo(u[4][0],u[4][1]),o.lineTo(u[5][0],u[5][1]),o.moveTo(u[6][0],u[6][1]),o.lineTo(u[7][0],u[7][1]))},r}(Path$1);function createNormalBox(t,r,o){var a=t.ends;return new NormalBoxPath({shape:{points:o?transInit(a,t):a},z2:100})}function isNormalBoxClipped(t,r){for(var o=!0,a=0;a0?"borderColor":"borderColor0"])||o.get(["itemStyle",t>0?"color":"color0"]);t===0&&(u=o.get(["itemStyle","borderColorDoji"]));var d=o.getModel("itemStyle").getItemStyle(SKIP_PROPS);r.useStyle(d),r.style.fill=null,r.style.stroke=u}var CandlestickView$1=CandlestickView,CandlestickSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],o}return r.prototype.getShadowDim=function(){return"open"},r.prototype.brushSelector=function(o,a,u){var d=a.getItemLayout(o);return d&&u.rect(d.brushRect)},r.type="series.candlestick",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},r}(SeriesModel$1);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);var CandlestickSeriesModel$1=CandlestickSeriesModel;function candlestickPreprocessor(t){!t||!isArray$1(t.series)||each$f(t.series,function(r){isObject$3(r)&&r.type==="k"&&(r.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(t,r){function o(d,g){return g.get(d>0?positiveColorQuery:negativeColorQuery)}function a(d,g){return g.get(d===0?dojiBorderColorQuery:d>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!r.isSeriesFiltered(t)){var u=t.pipelineContext.large;return!u&&{progress:function(d,g){for(var v;(v=d.next())!=null;){var y=g.getItemModel(v),A=g.getItemLayout(v).sign,b=y.getItemStyle();b.fill=o(A,y),b.stroke=a(A,y)||b.fill;var _=g.ensureUniqueItemVisual(v,"style");extend(_,b)}}}}}},candlestickVisual$1=candlestickVisual,candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem,o=t.getData(),a=calculateCandleWidth(t,o),u=0,d=1,g=["x","y"],v=o.getDimensionIndex(o.mapDimension(g[u])),y=map$1(o.mapDimensionsAll(g[d]),o.getDimensionIndex,o),A=y[0],b=y[1],_=y[2],w=y[3];if(o.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),v<0||y.length<4)return;return{progress:t.pipelineContext.large?C:S};function S(T,I){for(var E,F=I.getStore();(E=T.next())!=null;){var O=F.get(v,E),D=F.get(A,E),x=F.get(b,E),P=F.get(_,E),G=F.get(w,E),M=Math.min(D,x),N=Math.max(D,x),V=X(M,O),Y=X(N,O),H=X(P,O),B=X(G,O),z=[];J(z,Y,0),J(z,V,1),z.push(te(B),te(Y),te(H),te(V));var U=I.getItemModel(E),Q=!!U.get(["itemStyle","borderColorDoji"]);I.setItemLayout(E,{sign:getSign(F,E,D,x,b,Q),initBaseline:D>x?Y[d]:V[d],ends:z,brushRect:ne(P,G,O)})}function X(ce,se){var ge=[];return ge[u]=se,ge[d]=ce,isNaN(se)||isNaN(ce)?[NaN,NaN]:r.dataToPoint(ge)}function J(ce,se,ge){var he=se.slice(),ye=se.slice();he[u]=subPixelOptimize(he[u]+a/2,1,!1),ye[u]=subPixelOptimize(ye[u]-a/2,1,!0),ge?ce.push(he,ye):ce.push(ye,he)}function ne(ce,se,ge){var he=X(ce,ge),ye=X(se,ge);return he[u]-=a/2,ye[u]-=a/2,{x:he[0],y:he[1],width:a,height:ye[1]-he[1]}}function te(ce){return ce[u]=subPixelOptimize(ce[u],1),ce}}function C(T,I){for(var E=createFloat32Array(T.count*4),F=0,O,D=[],x=[],P,G=I.getStore(),M=!!t.get(["itemStyle","borderColorDoji"]);(P=T.next())!=null;){var N=G.get(v,P),V=G.get(A,P),Y=G.get(b,P),H=G.get(_,P),B=G.get(w,P);if(isNaN(N)||isNaN(H)||isNaN(B)){E[F++]=NaN,F+=3;continue}E[F++]=getSign(G,P,V,Y,b,M),D[u]=N,D[d]=H,O=r.dataToPoint(D,null,x),E[F++]=O?O[0]:NaN,E[F++]=O?O[1]:NaN,D[d]=B,O=r.dataToPoint(D,null,x),E[F++]=O?O[1]:NaN}I.setLayout("largePoints",E)}}};function getSign(t,r,o,a,u,d){var g;return o>a?g=-1:o0?t.get(u,r-1)<=a?1:-1:1,g}function calculateCandleWidth(t,r){var o=t.getBaseAxis(),a,u=o.type==="category"?o.getBandWidth():(a=o.getExtent(),Math.abs(a[1]-a[0])/r.count()),d=parsePercent(retrieve2(t.get("barMaxWidth"),u),u),g=parsePercent(retrieve2(t.get("barMinWidth"),1),u),v=t.get("barWidth");return v!=null?parsePercent(v,u):Math.max(Math.min(u/2,d),g)}var candlestickLayout$1=candlestickLayout;function install$y(t){t.registerChartView(CandlestickView$1),t.registerSeriesModel(CandlestickSeriesModel$1),t.registerPreprocessor(candlestickPreprocessor),t.registerVisual(candlestickVisual$1),t.registerLayout(candlestickLayout$1)}function updateRipplePath(t,r){var o=r.rippleEffectColor||r.color;t.eachChild(function(a){a.attr({z:r.z,zlevel:r.zlevel,style:{stroke:r.brushType==="stroke"?o:null,fill:r.brushType==="fill"?o:null}})})}var EffectSymbol=function(t){__extends$1(r,t);function r(o,a){var u=t.call(this)||this,d=new SymbolClz(o,a),g=new Group$4;return u.add(d),u.add(g),u.updateData(o,a),u}return r.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.prototype.startEffectAnimation=function(o){for(var a=o.symbolType,u=o.color,d=o.rippleNumber,g=this.childAt(1),v=0;v0&&(v=this._getLineLength(d)/b*1e3),v!==this._period||y!==this._loop||A!==this._roundTrip){d.stopAnimation();var w=void 0;isFunction(_)?w=_(u):w=_,d.__t>0&&(w=-v*d.__t),this._animateSymbol(d,v,w,y,A)}this._period=v,this._loop=y,this._roundTrip=A}},r.prototype._animateSymbol=function(o,a,u,d,g){if(a>0){o.__t=0;var v=this,y=o.animate("",d).when(g?a*2:a,{__t:g?2:1}).delay(u).during(function(){v._updateSymbolPosition(o)});d||y.done(function(){v.remove(o)}),y.start()}},r.prototype._getLineLength=function(o){return dist$2(o.__p1,o.__cp1)+dist$2(o.__cp1,o.__p2)},r.prototype._updateAnimationPoints=function(o,a){o.__p1=a[0],o.__p2=a[1],o.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},r.prototype.updateData=function(o,a,u){this.childAt(0).updateData(o,a,u),this._updateEffectSymbol(o,a)},r.prototype._updateSymbolPosition=function(o){var a=o.__p1,u=o.__p2,d=o.__cp1,g=o.__t<1?o.__t:2-o.__t,v=[o.x,o.y],y=v.slice(),A=quadraticAt$1,b=quadraticDerivativeAt;v[0]=A(a[0],d[0],u[0],g),v[1]=A(a[1],d[1],u[1],g);var _=o.__t<1?b(a[0],d[0],u[0],g):b(u[0],d[0],a[0],1-g),w=o.__t<1?b(a[1],d[1],u[1],g):b(u[1],d[1],a[1],1-g);o.rotation=-Math.atan2(w,_)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(o.__lastT!==void 0&&o.__lastT=0&&!(d[y]<=a);y--);y=Math.min(y,g-2)}else{for(y=v;ya);y++);y=Math.min(y-1,g-2)}var b=(a-d[y])/(d[y+1]-d[y]),_=u[y],w=u[y+1];o.x=_[0]*(1-b)+b*w[0],o.y=_[1]*(1-b)+b*w[1];var S=o.__t<1?w[0]-_[0]:_[0]-w[0],C=o.__t<1?w[1]-_[1]:_[1]-w[1];o.rotation=-Math.atan2(C,S)-Math.PI/2,this._lastFrame=y,this._lastFramePercent=a,o.ignore=!1}},r}(EffectLine$1),EffectPolyline$1=EffectPolyline,LargeLinesPathShape=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),LargeLinesPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LargeLinesPathShape},r.prototype.buildPath=function(o,a){var u=a.segs,d=a.curveness,g;if(a.polyline)for(g=this._off;g0){o.moveTo(u[g++],u[g++]);for(var y=1;y0){var S=(A+_)/2-(b-w)*d,C=(b+w)/2-(_-A)*d;o.quadraticCurveTo(S,C,_,w)}else o.lineTo(_,w)}this.incremental&&(this._off=g,this.notClear=!0)},r.prototype.findDataIndex=function(o,a){var u=this.shape,d=u.segs,g=u.curveness,v=this.style.lineWidth;if(u.polyline)for(var y=0,A=0;A0)for(var _=d[A++],w=d[A++],S=1;S0){var I=(_+C)/2-(w-T)*g,E=(w+T)/2-(C-_)*g;if(containStroke$2(_,w,I,E,C,T,v,o,a))return y}else if(containStroke$4(_,w,C,T,v,o,a))return y;y++}return-1},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect();if(o=u[0],a=u[1],d.contain(o,a)){var g=this.hoverDataIdx=this.findDataIndex(o,a);return g>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var o=this._rect;if(!o){for(var a=this.shape,u=a.segs,d=1/0,g=1/0,v=-1/0,y=-1/0,A=0;A0&&(g.dataIndex=y+r.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),LargeLineDraw$1=LargeLineDraw,linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem;if(!!r){var o=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(u,d){var g=[];if(a){var v=void 0,y=u.end-u.start;if(o){for(var A=0,b=u.start;b0&&(b||A.configLayer(v,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),g.updateData(d);var _=o.get("clip",!0)&&createClipPath(o.coordinateSystem,!1,o);_?this.group.setClipPath(_):this.group.removeClipPath(),this._lastZlevel=v,this._finished=!0},r.prototype.incrementalPrepareRender=function(o,a,u){var d=o.getData(),g=this._updateLineDraw(d,o);g.incrementalPrepareUpdate(d),this._clearLayer(u),this._finished=!1},r.prototype.incrementalRender=function(o,a,u){this._lineDraw.incrementalUpdate(o,a.getData()),this._finished=o.end===a.getData().count()},r.prototype.eachRendered=function(o){this._lineDraw&&this._lineDraw.eachRendered(o)},r.prototype.updateTransform=function(o,a,u){var d=o.getData(),g=o.pipelineContext;if(!this._finished||g.large||g.progressiveRender)return{update:!0};var v=linesLayout$1.reset(o,a,u);v.progress&&v.progress({start:0,end:d.count(),count:d.count()},d),this._lineDraw.updateLayout(),this._clearLayer(u)},r.prototype._updateLineDraw=function(o,a){var u=this._lineDraw,d=this._showEffect(a),g=!!a.get("polyline"),v=a.pipelineContext,y=v.large;return(!u||d!==this._hasEffet||g!==this._isPolyline||y!==this._isLargeDraw)&&(u&&u.remove(),u=this._lineDraw=y?new LargeLineDraw$1:new LineDraw$1(g?d?EffectPolyline$1:Polyline$1:d?EffectLine$1:Line$1),this._hasEffet=d,this._isPolyline=g,this._isLargeDraw=y),this.group.add(u.group),u},r.prototype._showEffect=function(o){return!!o.get(["effect","show"])},r.prototype._clearLayer=function(o){var a=o.getZr(),u=a.painter.getType()==="svg";!u&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},r.prototype.remove=function(o,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},r.prototype.dispose=function(o,a){this.remove(o,a)},r.type="lines",r}(ChartView$1),LinesView$1=LinesView,Uint32Arr=typeof Uint32Array=="undefined"?Array:Uint32Array,Float64Arr=typeof Float64Array=="undefined"?Array:Float64Array;function compatEc2(t){var r=t.data;r&&r[0]&&r[0][0]&&r[0][0].coord&&(t.data=map$1(r,function(o){var a=[o[0].coord,o[1].coord],u={coords:a};return o[0].name&&(u.fromName=o[0].name),o[1].name&&(u.toName=o[1].name),mergeAll([u,o[0],o[1]])}))}var LinesSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.visualStyleAccessPath="lineStyle",o.visualDrawType="stroke",o}return r.prototype.init=function(o){o.data=o.data||[],compatEc2(o);var a=this._processFlatCoordsArray(o.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(o.data=new Float32Array(a.count)),t.prototype.init.apply(this,arguments)},r.prototype.mergeOption=function(o){if(compatEc2(o),o.data){var a=this._processFlatCoordsArray(o.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(o.data=new Float32Array(a.count))}t.prototype.mergeOption.apply(this,arguments)},r.prototype.appendData=function(o){var a=this._processFlatCoordsArray(o.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,a.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),o.data=new Float32Array(a.count)),this.getRawData().appendData(o.data)},r.prototype._getCoordsFromItemModel=function(o){var a=this.getData().getItemModel(o),u=a.option instanceof Array?a.option:a.getShallow("coords");return u},r.prototype.getLineCoordsCount=function(o){return this._flatCoordsOffset?this._flatCoordsOffset[o*2+1]:this._getCoordsFromItemModel(o).length},r.prototype.getLineCoords=function(o,a){if(this._flatCoordsOffset){for(var u=this._flatCoordsOffset[o*2],d=this._flatCoordsOffset[o*2+1],g=0;g ")})},r.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},r.prototype.getProgressive=function(){var o=this.option.progressive;return o==null?this.option.large?1e4:this.get("progressive"):o},r.prototype.getProgressiveThreshold=function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?2e4:this.get("progressiveThreshold"):o},r.prototype.getZLevelKey=function(){var o=this.getModel("effect"),a=o.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:o.get("show")&&a>0?a+"":""},r.type="series.lines",r.dependencies=["grid","polar","geo","calendar"],r.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},r}(SeriesModel$1),LinesSeriesModel$1=LinesSeriesModel;function normalize(t){return t instanceof Array||(t=[t,t]),t}var linesVisual={seriesType:"lines",reset:function(t){var r=normalize(t.get("symbol")),o=normalize(t.get("symbolSize")),a=t.getData();a.setVisual("fromSymbol",r&&r[0]),a.setVisual("toSymbol",r&&r[1]),a.setVisual("fromSymbolSize",o&&o[0]),a.setVisual("toSymbolSize",o&&o[1]);function u(d,g){var v=d.getItemModel(g),y=normalize(v.getShallow("symbol",!0)),A=normalize(v.getShallow("symbolSize",!0));y[0]&&d.setItemVisual(g,"fromSymbol",y[0]),y[1]&&d.setItemVisual(g,"toSymbol",y[1]),A[0]&&d.setItemVisual(g,"fromSymbolSize",A[0]),A[1]&&d.setItemVisual(g,"toSymbolSize",A[1])}return{dataEach:a.hasItemOption?u:null}}},linesVisual$1=linesVisual;function install$w(t){t.registerChartView(LinesView$1),t.registerSeriesModel(LinesSeriesModel$1),t.registerLayout(linesLayout$1),t.registerVisual(linesVisual$1)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var r=platformApi.createCanvas();this.canvas=r}return t.prototype.update=function(r,o,a,u,d,g){var v=this._getBrush(),y=this._getGradient(d,"inRange"),A=this._getGradient(d,"outOfRange"),b=this.pointSize+this.blurSize,_=this.canvas,w=_.getContext("2d"),S=r.length;_.width=o,_.height=a;for(var C=0;C0){var H=g(O)?y:A;O>0&&(O=O*V+M),x[P++]=H[Y],x[P++]=H[Y+1],x[P++]=H[Y+2],x[P++]=H[Y+3]*O*256}else P+=4}return w.putImageData(D,0,0),_},t.prototype._getBrush=function(){var r=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),o=this.pointSize+this.blurSize,a=o*2;r.width=a,r.height=a;var u=r.getContext("2d");return u.clearRect(0,0,a,a),u.shadowOffsetX=a,u.shadowBlur=this.blurSize,u.shadowColor="#000",u.beginPath(),u.arc(-o,o,this.pointSize,0,Math.PI*2,!0),u.closePath(),u.fill(),r},t.prototype._getGradient=function(r,o){for(var a=this._gradientPixels,u=a[o]||(a[o]=new Uint8ClampedArray(256*4)),d=[0,0,0,0],g=0,v=0;v<256;v++)r[o](v/255,!0,d),u[g++]=d[0],u[g++]=d[1],u[g++]=d[2],u[g++]=d[3];return u},t}(),HeatmapLayer$1=HeatmapLayer;function getIsInPiecewiseRange(t,r,o){var a=t[1]-t[0];r=map$1(r,function(g){return{interval:[(g.interval[0]-t[0])/a,(g.interval[1]-t[0])/a]}});var u=r.length,d=0;return function(g){var v;for(v=d;v=0;v--){var y=r[v].interval;if(y[0]<=g&&g<=y[1]){d=v;break}}return v>=0&&v=r[0]&&a<=r[1]}}function isGeoCoordSys(t){var r=t.dimensions;return r[0]==="lng"&&r[1]==="lat"}var HeatmapView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d;a.eachComponent("visualMap",function(v){v.eachTargetSeries(function(y){y===o&&(d=v)})}),this._progressiveEls=null,this.group.removeAll();var g=o.coordinateSystem;g.type==="cartesian2d"||g.type==="calendar"?this._renderOnCartesianAndCalendar(o,u,0,o.getData().count()):isGeoCoordSys(g)&&this._renderOnGeo(g,o,d,u)},r.prototype.incrementalPrepareRender=function(o,a,u){this.group.removeAll()},r.prototype.incrementalRender=function(o,a,u,d){var g=a.coordinateSystem;g&&(isGeoCoordSys(g)?this.render(a,u,d):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,d,o.start,o.end,!0)))},r.prototype.eachRendered=function(o){traverseElements(this._progressiveEls||this.group,o)},r.prototype._renderOnCartesianAndCalendar=function(o,a,u,d,g){var v=o.coordinateSystem,y=isCoordinateSystemType(v,"cartesian2d"),A,b,_,w;if(y){var S=v.getAxis("x"),C=v.getAxis("y");A=S.getBandWidth()+.5,b=C.getBandWidth()+.5,_=S.scale.getExtent(),w=C.scale.getExtent()}for(var T=this.group,I=o.getData(),E=o.getModel(["emphasis","itemStyle"]).getItemStyle(),F=o.getModel(["blur","itemStyle"]).getItemStyle(),O=o.getModel(["select","itemStyle"]).getItemStyle(),D=o.get(["itemStyle","borderRadius"]),x=getLabelStatesModels(o),P=o.getModel("emphasis"),G=P.get("focus"),M=P.get("blurScope"),N=P.get("disabled"),V=y?[I.mapDimension("x"),I.mapDimension("y"),I.mapDimension("value")]:[I.mapDimension("time"),I.mapDimension("value")],Y=u;Y_[1]||Uw[1])continue;var Q=v.dataToPoint([z,U]);H=new Rect$3({shape:{x:Q[0]-A/2,y:Q[1]-b/2,width:A,height:b},style:B})}else{if(isNaN(I.get(V[1],Y)))continue;H=new Rect$3({z2:1,shape:v.dataToRect([I.get(V[0],Y)]).contentShape,style:B})}if(I.hasItemOption){var X=I.getItemModel(Y),J=X.getModel("emphasis");E=J.getModel("itemStyle").getItemStyle(),F=X.getModel(["blur","itemStyle"]).getItemStyle(),O=X.getModel(["select","itemStyle"]).getItemStyle(),D=X.get(["itemStyle","borderRadius"]),G=J.get("focus"),M=J.get("blurScope"),N=J.get("disabled"),x=getLabelStatesModels(X)}H.shape.r=D;var ne=o.getRawValue(Y),te="-";ne&&ne[2]!=null&&(te=ne[2]+""),setLabelStyle(H,x,{labelFetcher:o,labelDataIndex:Y,defaultOpacity:B.opacity,defaultText:te}),H.ensureState("emphasis").style=E,H.ensureState("blur").style=F,H.ensureState("select").style=O,toggleHoverEmphasis(H,G,M,N),H.incremental=g,g&&(H.states.emphasis.hoverLayer=!0),T.add(H),I.setItemGraphicEl(Y,H),this._progressiveEls&&this._progressiveEls.push(H)}},r.prototype._renderOnGeo=function(o,a,u,d){var g=u.targetVisuals.inRange,v=u.targetVisuals.outOfRange,y=a.getData(),A=this._hmLayer||this._hmLayer||new HeatmapLayer$1;A.blurSize=a.get("blurSize"),A.pointSize=a.get("pointSize"),A.minOpacity=a.get("minOpacity"),A.maxOpacity=a.get("maxOpacity");var b=o.getViewRect().clone(),_=o.getRoamTransform();b.applyTransform(_);var w=Math.max(b.x,0),S=Math.max(b.y,0),C=Math.min(b.width+b.x,d.getWidth()),T=Math.min(b.height+b.y,d.getHeight()),I=C-w,E=T-S,F=[y.mapDimension("lng"),y.mapDimension("lat"),y.mapDimension("value")],O=y.mapArray(F,function(G,M,N){var V=o.dataToPoint([G,M]);return V[0]-=w,V[1]-=S,V.push(N),V}),D=u.getExtent(),x=u.type==="visualMap.continuous"?getIsInContinuousRange(D,u.option.range):getIsInPiecewiseRange(D,u.getPieceList(),u.option.selected);A.update(O,I,E,g.color.getNormalizer(),{inRange:g.color.getColorMapper(),outOfRange:v.color.getColorMapper()},x);var P=new ZRImage$1({style:{width:I,height:E,x:w,y:S,image:A.canvas},silent:!0});this.group.add(P)},r.type="heatmap",r}(ChartView$1),HeatmapView$1=HeatmapView,HeatmapSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{generateCoord:"value"})},r.prototype.preventIncremental=function(){var o=CoordinateSystem.get(this.get("coordinateSystem"));if(o&&o.dimensions)return o.dimensions[0]==="lng"&&o.dimensions[1]==="lat"},r.type="series.heatmap",r.dependencies=["grid","geo","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),HeatmapSeriesModel$1=HeatmapSeriesModel;function install$v(t){t.registerChartView(HeatmapView$1),t.registerSeriesModel(HeatmapSeriesModel$1)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle$1,PictorialBarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group,g=o.getData(),v=this._data,y=o.coordinateSystem,A=y.getBaseAxis(),b=A.isHorizontal(),_=y.master.getRect(),w={ecSize:{width:u.getWidth(),height:u.getHeight()},seriesModel:o,coordSys:y,coordSysExtent:[[_.x,_.x+_.width],[_.y,_.y+_.height]],isHorizontal:b,valueDim:LAYOUT_ATTRS[+b],categoryDim:LAYOUT_ATTRS[1-+b]};g.diff(v).add(function(C){if(!!g.hasValue(C)){var T=getItemModel(g,C),I=getSymbolMeta(g,C,T,w),E=createBar(g,w,I);g.setItemGraphicEl(C,E),d.add(E),updateCommon(E,w,I)}}).update(function(C,T){var I=v.getItemGraphicEl(T);if(!g.hasValue(C)){d.remove(I);return}var E=getItemModel(g,C),F=getSymbolMeta(g,C,E,w),O=getShapeStr(g,F);I&&O!==I.__pictorialShapeStr&&(d.remove(I),g.setItemGraphicEl(C,null),I=null),I?updateBar(I,w,F):I=createBar(g,w,F,!0),g.setItemGraphicEl(C,I),I.__pictorialSymbolMeta=F,d.add(I),updateCommon(I,w,F)}).remove(function(C){var T=v.getItemGraphicEl(C);T&&removeBar(v,C,T.__pictorialSymbolMeta.animationModel,T)}).execute();var S=o.get("clip",!0)?createClipPath(o.coordinateSystem,!1,o):null;return S?d.setClipPath(S):d.removeClipPath(),this._data=g,this.group},r.prototype.remove=function(o,a){var u=this.group,d=this._data;o.get("animation")?d&&d.eachItemGraphicEl(function(g){removeBar(d,getECData(g).dataIndex,o,g)}):u.removeAll()},r.type="pictorialBar",r}(ChartView$1);function getSymbolMeta(t,r,o,a){var u=t.getItemLayout(r),d=o.get("symbolRepeat"),g=o.get("symbolClip"),v=o.get("symbolPosition")||"start",y=o.get("symbolRotate"),A=(y||0)*Math.PI/180||0,b=o.get("symbolPatternSize")||2,_=o.isAnimationEnabled(),w={dataIndex:r,layout:u,itemModel:o,symbolType:t.getItemVisual(r,"symbol")||"circle",style:t.getItemVisual(r,"style"),symbolClip:g,symbolRepeat:d,symbolRepeatDirection:o.get("symbolRepeatDirection"),symbolPatternSize:b,rotation:A,animationModel:_?o:null,hoverScale:_&&o.get(["emphasis","scale"]),z2:o.getShallow("z",!0)||0};prepareBarLength(o,d,u,a,w),prepareSymbolSize(t,r,u,d,g,w.boundingLength,w.pxSign,b,a,w),prepareLineWidth(o,w.symbolScale,A,a,w);var S=w.symbolSize,C=normalizeSymbolOffset(o.get("symbolOffset"),S);return prepareLayoutInfo(o,S,u,d,g,C,v,w.valueLineWidth,w.boundingLength,w.repeatCutLength,a,w),w}function prepareBarLength(t,r,o,a,u){var d=a.valueDim,g=t.get("symbolBoundingData"),v=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),y=v.toGlobalCoord(v.dataToCoord(0)),A=1-+(o[d.wh]<=0),b;if(isArray$1(g)){var _=[convertToCoordOnAxis(v,g[0])-y,convertToCoordOnAxis(v,g[1])-y];_[1]<_[0]&&_.reverse(),b=_[A]}else g!=null?b=convertToCoordOnAxis(v,g)-y:r?b=a.coordSysExtent[d.index][A]-y:b=o[d.wh];u.boundingLength=b,r&&(u.repeatCutLength=o[d.wh]),u.pxSign=b>0?1:-1}function convertToCoordOnAxis(t,r){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(r)))}function prepareSymbolSize(t,r,o,a,u,d,g,v,y,A){var b=y.valueDim,_=y.categoryDim,w=Math.abs(o[_.wh]),S=t.getItemVisual(r,"symbolSize"),C;isArray$1(S)?C=S.slice():S==null?C=["100%","100%"]:C=[S,S],C[_.index]=parsePercent(C[_.index],w),C[b.index]=parsePercent(C[b.index],a?w:Math.abs(d)),A.symbolSize=C;var T=A.symbolScale=[C[0]/v,C[1]/v];T[b.index]*=(y.isHorizontal?-1:1)*g}function prepareLineWidth(t,r,o,a,u){var d=t.get(BAR_BORDER_WIDTH_QUERY)||0;d&&(pathForLineWidth.attr({scaleX:r[0],scaleY:r[1],rotation:o}),pathForLineWidth.updateTransform(),d/=pathForLineWidth.getLineScale(),d*=r[a.valueDim.index]),u.valueLineWidth=d||0}function prepareLayoutInfo(t,r,o,a,u,d,g,v,y,A,b,_){var w=b.categoryDim,S=b.valueDim,C=_.pxSign,T=Math.max(r[S.index]+v,0),I=T;if(a){var E=Math.abs(y),F=retrieve(t.get("symbolMargin"),"15%")+"",O=!1;F.lastIndexOf("!")===F.length-1&&(O=!0,F=F.slice(0,F.length-1));var D=parsePercent(F,r[S.index]),x=Math.max(T+D*2,0),P=O?0:D*2,G=isNumeric(a),M=G?a:toIntTimes((E+P)/x),N=E-M*T;D=N/2/(O?M:Math.max(M-1,1)),x=T+D*2,P=O?0:D*2,!G&&a!=="fixed"&&(M=A?toIntTimes((Math.abs(A)+P)/x):0),I=M*x-P,_.repeatTimes=M,_.symbolMargin=D}var V=C*(I/2),Y=_.pathPosition=[];Y[w.index]=o[w.wh]/2,Y[S.index]=g==="start"?V:g==="end"?y-V:y/2,d&&(Y[0]+=d[0],Y[1]+=d[1]);var H=_.bundlePosition=[];H[w.index]=o[w.xy],H[S.index]=o[S.xy];var B=_.barRectShape=extend({},o);B[S.wh]=C*Math.max(Math.abs(o[S.wh]),Math.abs(Y[S.index]+V)),B[w.wh]=o[w.wh];var z=_.clipShape={};z[w.xy]=-o[w.xy],z[w.wh]=b.ecSize[w.wh],z[S.xy]=0,z[S.wh]=o[S.wh]}function createPath(t){var r=t.symbolPatternSize,o=createSymbol$1(t.symbolType,-r/2,-r/2,r,r);return o.attr({culling:!0}),o.type!=="image"&&o.setStyle({strokeNoScale:!0}),o}function createOrUpdateRepeatSymbols(t,r,o,a){var u=t.__pictorialBundle,d=o.symbolSize,g=o.valueLineWidth,v=o.pathPosition,y=r.valueDim,A=o.repeatTimes||0,b=0,_=d[r.valueDim.index]+g+o.symbolMargin*2;for(eachPath(t,function(T){T.__pictorialAnimationIndex=b,T.__pictorialRepeatTimes=A,b0:E<0)&&(F=A-1-T),I[y.index]=_*(F-A/2+.5)+v[y.index],{x:I[0],y:I[1],scaleX:o.symbolScale[0],scaleY:o.symbolScale[1],rotation:o.rotation}}}function createOrUpdateSingleSymbol(t,r,o,a){var u=t.__pictorialBundle,d=t.__pictorialMainPath;d?updateAttr(d,null,{x:o.pathPosition[0],y:o.pathPosition[1],scaleX:o.symbolScale[0],scaleY:o.symbolScale[1],rotation:o.rotation},o,a):(d=t.__pictorialMainPath=createPath(o),u.add(d),updateAttr(d,{x:o.pathPosition[0],y:o.pathPosition[1],scaleX:0,scaleY:0,rotation:o.rotation},{scaleX:o.symbolScale[0],scaleY:o.symbolScale[1]},o,a))}function createOrUpdateBarRect(t,r,o){var a=extend({},r.barRectShape),u=t.__pictorialBarRect;u?updateAttr(u,null,{shape:a},r,o):(u=t.__pictorialBarRect=new Rect$3({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),u.disableMorphing=!0,t.add(u))}function createOrUpdateClip(t,r,o,a){if(o.symbolClip){var u=t.__pictorialClipPath,d=extend({},o.clipShape),g=r.valueDim,v=o.animationModel,y=o.dataIndex;if(u)updateProps$1(u,{shape:d},v,y);else{d[g.wh]=0,u=new Rect$3({shape:d}),t.__pictorialBundle.setClipPath(u),t.__pictorialClipPath=u;var A={};A[g.wh]=o.clipShape[g.wh],graphic[a?"updateProps":"initProps"](u,{shape:A},v,y)}}}function getItemModel(t,r){var o=t.getItemModel(r);return o.getAnimationDelayParams=getAnimationDelayParams,o.isAnimationEnabled=isAnimationEnabled,o}function getAnimationDelayParams(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(t,r,o,a){var u=new Group$4,d=new Group$4;return u.add(d),u.__pictorialBundle=d,d.x=o.bundlePosition[0],d.y=o.bundlePosition[1],o.symbolRepeat?createOrUpdateRepeatSymbols(u,r,o):createOrUpdateSingleSymbol(u,r,o),createOrUpdateBarRect(u,o,a),createOrUpdateClip(u,r,o,a),u.__pictorialShapeStr=getShapeStr(t,o),u.__pictorialSymbolMeta=o,u}function updateBar(t,r,o){var a=o.animationModel,u=o.dataIndex,d=t.__pictorialBundle;updateProps$1(d,{x:o.bundlePosition[0],y:o.bundlePosition[1]},a,u),o.symbolRepeat?createOrUpdateRepeatSymbols(t,r,o,!0):createOrUpdateSingleSymbol(t,r,o,!0),createOrUpdateBarRect(t,o,!0),createOrUpdateClip(t,r,o,!0)}function removeBar(t,r,o,a){var u=a.__pictorialBarRect;u&&u.removeTextContent();var d=[];eachPath(a,function(g){d.push(g)}),a.__pictorialMainPath&&d.push(a.__pictorialMainPath),a.__pictorialClipPath&&(o=null),each$f(d,function(g){removeElement(g,{scaleX:0,scaleY:0},o,r,function(){a.parent&&a.parent.remove(a)})}),t.setItemGraphicEl(r,null)}function getShapeStr(t,r){return[t.getItemVisual(r.dataIndex,"symbol")||"none",!!r.symbolRepeat,!!r.symbolClip].join(":")}function eachPath(t,r,o){each$f(t.__pictorialBundle.children(),function(a){a!==t.__pictorialBarRect&&r.call(o,a)})}function updateAttr(t,r,o,a,u,d){r&&t.attr(r),a.symbolClip&&!u?o&&t.attr(o):o&&graphic[u?"updateProps":"initProps"](t,o,a.animationModel,a.dataIndex,d)}function updateCommon(t,r,o){var a=o.dataIndex,u=o.itemModel,d=u.getModel("emphasis"),g=d.getModel("itemStyle").getItemStyle(),v=u.getModel(["blur","itemStyle"]).getItemStyle(),y=u.getModel(["select","itemStyle"]).getItemStyle(),A=u.getShallow("cursor"),b=d.get("focus"),_=d.get("blurScope"),w=d.get("scale");eachPath(t,function(T){if(T instanceof ZRImage$1){var I=T.style;T.useStyle(extend({image:I.image,x:I.x,y:I.y,width:I.width,height:I.height},o.style))}else T.useStyle(o.style);var E=T.ensureState("emphasis");E.style=g,w&&(E.scaleX=T.scaleX*1.1,E.scaleY=T.scaleY*1.1),T.ensureState("blur").style=v,T.ensureState("select").style=y,A&&(T.cursor=A),T.z2=o.z2});var S=r.valueDim.posDesc[+(o.boundingLength>0)],C=t.__pictorialBarRect;C.ignoreClip=!0,setLabelStyle(C,getLabelStatesModels(u),{labelFetcher:r.seriesModel,labelDataIndex:a,defaultText:getDefaultLabel(r.seriesModel.getData(),a),inheritColor:o.style.fill,defaultOpacity:o.style.opacity,defaultOutsidePosition:S}),toggleHoverEmphasis(t,b,_,d.get("disabled"))}function toIntTimes(t){var r=Math.round(t);return Math.abs(t-r)<1e-4?r:Math.ceil(t)}var PictorialBarView$1=PictorialBarView,PictorialBarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o.defaultSymbol="roundRect",o}return r.prototype.getInitialData=function(o){return o.stack=null,t.prototype.getInitialData.apply(this,arguments)},r.type="series.pictorialBar",r.dependencies=["grid"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),r}(BaseBarSeriesModel$1),PictorialBarSeriesModel$1=PictorialBarSeriesModel;function install$u(t){t.registerChartView(PictorialBarView$1),t.registerSeriesModel(PictorialBarSeriesModel$1),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._layers=[],o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this,v=this.group,y=o.getLayerSeries(),A=d.getLayout("layoutInfo"),b=A.rect,_=A.boundaryGap;v.x=0,v.y=b.y+_[0];function w(I){return I.name}var S=new DataDiffer$1(this._layersSeries||[],y,w,w),C=[];S.add(bind$1(T,this,"add")).update(bind$1(T,this,"update")).remove(bind$1(T,this,"remove")).execute();function T(I,E,F){var O=g._layers;if(I==="remove"){v.remove(O[E]);return}for(var D=[],x=[],P,G=y[E].indices,M=0;Md&&(d=v),a.push(v)}for(var A=0;Ad&&(d=_)}return{y0:u,max:d}}function install$t(t){t.registerChartView(ThemeRiverView$1),t.registerSeriesModel(ThemeRiverSeriesModel$1),t.registerLayout(themeRiverLayout),t.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this)||this;g.z2=DEFAULT_SECTOR_Z,g.textConfig={inside:!0},getECData(g).seriesIndex=a.seriesIndex;var v=new ZRText$1({z2:DEFAULT_TEXT_Z,silent:o.getModel().get(["label","silent"])});return g.setTextContent(v),g.updateData(!0,o,a,u,d),g}return r.prototype.updateData=function(o,a,u,d,g){this.node=a,a.piece=this,u=u||this._seriesModel,d=d||this._ecModel;var v=this;getECData(v).dataIndex=a.dataIndex;var y=a.getModel(),A=y.getModel("emphasis"),b=a.getLayout(),_=extend({},b);_.label=null;var w=a.getVisual("style");w.lineJoin="bevel";var S=a.getVisual("decal");S&&(w.decal=createOrUpdatePatternFromDecal(S,g));var C=getSectorCornerRadius(y.getModel("itemStyle"),_,!0);extend(_,C),each$f(SPECIAL_STATES,function(F){var O=v.ensureState(F),D=y.getModel([F,"itemStyle"]);O.style=D.getItemStyle();var x=getSectorCornerRadius(D,_);x&&(O.shape=x)}),o?(v.setShape(_),v.shape.r=b.r0,initProps(v,{shape:{r:b.r}},u,a.dataIndex)):(updateProps$1(v,{shape:_},u),saveOldStyle(v)),v.useStyle(w),this._updateLabel(u);var T=y.getShallow("cursor");T&&v.attr("cursor",T),this._seriesModel=u||this._seriesModel,this._ecModel=d||this._ecModel;var I=A.get("focus"),E=I==="ancestor"?a.getAncestorsIndices():I==="descendant"?a.getDescendantIndices():I;toggleHoverEmphasis(this,E,A.get("blurScope"),A.get("disabled"))},r.prototype._updateLabel=function(o){var a=this,u=this.node.getModel(),d=u.getModel("label"),g=this.node.getLayout(),v=g.endAngle-g.startAngle,y=(g.startAngle+g.endAngle)/2,A=Math.cos(y),b=Math.sin(y),_=this,w=_.getTextContent(),S=this.node.dataIndex,C=d.get("minAngle")/180*Math.PI,T=d.get("show")&&!(C!=null&&Math.abs(v)z&&!isRadianAroundZero(Q-z)&&Q0?(g.virtualPiece?g.virtualPiece.updateData(!1,F,o,a,u):(g.virtualPiece=new SunburstPiece$1(F,o,a,u),b.add(g.virtualPiece)),O.piece.off("click"),g.virtualPiece.on("click",function(D){g._rootToNode(O.parentNode)})):g.virtualPiece&&(b.remove(g.virtualPiece),g.virtualPiece=null)}},r.prototype._initEvents=function(){var o=this;this.group.off("click"),this.group.on("click",function(a){var u=!1,d=o.seriesModel.getViewRoot();d.eachNode(function(g){if(!u&&g.piece&&g.piece===a.target){var v=g.getModel().get("nodeClick");if(v==="rootToNode")o._rootToNode(g);else if(v==="link"){var y=g.getModel(),A=y.get("link");if(A){var b=y.get("target",!0)||"_blank";windowOpen(A,b)}}u=!0}})})},r.prototype._rootToNode=function(o){o!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:o})},r.prototype.containPoint=function(o,a){var u=a.getData(),d=u.getItemLayout(0);if(d){var g=o[0]-d.cx,v=o[1]-d.cy,y=Math.sqrt(g*g+v*v);return y<=d.r&&y>=d.r0}},r.type="sunburst",r}(ChartView$1),SunburstView$1=SunburstView,SunburstSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.ignoreStyleOnData=!0,o}return r.prototype.getInitialData=function(o,a){var u={name:o.name,children:o.data};completeTreeValue(u);var d=this._levelModels=map$1(o.levels||[],function(y){return new Model$1(y,this,a)},this),g=Tree$1.createTree(u,this,v);function v(y){y.wrapMethod("getItemModel",function(A,b){var _=g.getNodeByDataIndex(b),w=d[_.depth];return w&&(A.parentModel=w),A})}return g.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treePathInfo=wrapTreePathInfo(u,this),a},r.prototype.getLevelModel=function(o){return this._levelModels&&this._levelModels[o.depth]},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(o){o?this._viewRoot=o:o=this._viewRoot;var a=this.getRawData().tree.root;(!o||o!==a&&!a.contains(o))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.sunburst",r.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},r}(SeriesModel$1);function completeTreeValue(t){var r=0;each$f(t.children,function(a){completeTreeValue(a);var u=a.value;isArray$1(u)&&(u=u[0]),r+=u});var o=t.value;isArray$1(o)&&(o=o[0]),(o==null||isNaN(o))&&(o=r),o<0&&(o=0),isArray$1(t.value)?t.value[0]=o:t.value=o}var SunburstSeriesModel$1=SunburstSeriesModel,RADIAN=Math.PI/180;function sunburstLayout(t,r,o){r.eachSeriesByType(t,function(a){var u=a.get("center"),d=a.get("radius");isArray$1(d)||(d=[0,d]),isArray$1(u)||(u=[u,u]);var g=o.getWidth(),v=o.getHeight(),y=Math.min(g,v),A=parsePercent(u[0],g),b=parsePercent(u[1],v),_=parsePercent(d[0],y/2),w=parsePercent(d[1],y/2),S=-a.get("startAngle")*RADIAN,C=a.get("minAngle")*RADIAN,T=a.getData().tree.root,I=a.getViewRoot(),E=I.depth,F=a.get("sort");F!=null&&initChildren(I,F);var O=0;each$f(I.children,function(Q){!isNaN(Q.getValue())&&O++});var D=I.getValue(),x=Math.PI/(D||O)*2,P=I.depth>0,G=I.height-(P?-1:1),M=(w-_)/(G||1),N=a.get("clockwise"),V=a.get("stillShowZeroSum"),Y=N?1:-1,H=function(Q,X){if(!!Q){var J=X;if(Q!==T){var ne=Q.getValue(),te=D===0&&V?x:ne*x;te1;)g=g.parentNode;var v=u.getColorFromPalette(g.name||g.dataIndex+"",r);return a.depth>1&&isString$1(v)&&(v=lift(v,(a.depth-1)/(d-1)*.5)),v}t.eachSeriesByType("sunburst",function(a){var u=a.getData(),d=u.tree;d.eachNode(function(g){var v=g.getModel(),y=v.getModel("itemStyle").getItemStyle();y.fill||(y.fill=o(g,a,d.root.height));var A=u.ensureUniqueItemVisual(g.dataIndex,"style");extend(A,y)})})}function install$s(t){t.registerChartView(SunburstView$1),t.registerSeriesModel(SunburstSeriesModel$1),t.registerLayout(curry$1(sunburstLayout,"sunburst")),t.registerProcessor(curry$1(dataFilter$1,"sunburst")),t.registerVisual(sunburstVisual),installSunburstAction(t)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},r.prototype.getInitialData=function(o,a){return createSeriesData(null,this)},r.prototype.getDataParams=function(o,a,u){var d=t.prototype.getDataParams.call(this,o,a);return u&&(d.info=customInnerStore(u).info),d},r.type="series.custom",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},r}(SeriesModel$1),CustomSeriesModel$1=CustomSeriesModel;function dataToCoordSize$3(t,r){return r=r||[0,0],map$1(["x","y"],function(o,a){var u=this.getAxis(o),d=r[a],g=t[a]/2;return u.type==="category"?u.getBandWidth():Math.abs(u.dataToCoord(d-g)-u.dataToCoord(d+g))},this)}function cartesianPrepareCustom(t){var r=t.master.getRect();return{coordSys:{type:"cartesian2d",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$3,t)}}}function dataToCoordSize$2(t,r){return r=r||[0,0],map$1([0,1],function(o){var a=r[o],u=t[o]/2,d=[],g=[];return d[o]=a-u,g[o]=a+u,d[1-o]=g[1-o]=r[1-o],Math.abs(this.dataToPoint(d)[o]-this.dataToPoint(g)[o])},this)}function geoPrepareCustom(t){var r=t.getBoundingRect();return{coordSys:{type:"geo",x:r.x,y:r.y,width:r.width,height:r.height,zoom:t.getZoom()},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$2,t)}}}function dataToCoordSize$1(t,r){var o=this.getAxis(),a=r instanceof Array?r[0]:r,u=(t instanceof Array?t[0]:t)/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(a-u)-o.dataToCoord(a+u))}function singlePrepareCustom(t){var r=t.getRect();return{coordSys:{type:"singleAxis",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$1,t)}}}function dataToCoordSize(t,r){return r=r||[0,0],map$1(["Radius","Angle"],function(o,a){var u="get"+o+"Axis",d=this[u](),g=r[a],v=t[a]/2,y=d.type==="category"?d.getBandWidth():Math.abs(d.dataToCoord(g-v)-d.dataToCoord(g+v));return o==="Angle"&&(y=y*Math.PI/180),y},this)}function polarPrepareCustom(t){var r=t.getRadiusAxis(),o=t.getAngleAxis(),a=r.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(u){var d=r.dataToRadius(u[0]),g=o.dataToAngle(u[1]),v=t.coordToPoint([d,g]);return v.push(d,g*Math.PI/180),v},size:bind$1(dataToCoordSize,t)}}}function calendarPrepareCustom(t){var r=t.getRect(),o=t.getRangeInfo();return{coordSys:{type:"calendar",x:r.x,y:r.y,width:r.width,height:r.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:o.start,end:o.end,weeks:o.weeks,dayCount:o.allDay}},api:{coord:function(a,u){return t.dataToPoint(a,u)}}}}function isEC4CompatibleStyle(t,r,o,a){return t&&(t.legacy||t.legacy!==!1&&!o&&!a&&r!=="tspan"&&(r==="text"||hasOwn(t,"text")))}function convertFromEC4CompatibleStyle(t,r,o){var a=t,u,d,g;if(r==="text")g=a;else{g={},hasOwn(a,"text")&&(g.text=a.text),hasOwn(a,"rich")&&(g.rich=a.rich),hasOwn(a,"textFill")&&(g.fill=a.textFill),hasOwn(a,"textStroke")&&(g.stroke=a.textStroke),hasOwn(a,"fontFamily")&&(g.fontFamily=a.fontFamily),hasOwn(a,"fontSize")&&(g.fontSize=a.fontSize),hasOwn(a,"fontStyle")&&(g.fontStyle=a.fontStyle),hasOwn(a,"fontWeight")&&(g.fontWeight=a.fontWeight),d={type:"text",style:g,silent:!0},u={};var v=hasOwn(a,"textPosition");o?u.position=v?a.textPosition:"inside":v&&(u.position=a.textPosition),hasOwn(a,"textPosition")&&(u.position=a.textPosition),hasOwn(a,"textOffset")&&(u.offset=a.textOffset),hasOwn(a,"textRotation")&&(u.rotation=a.textRotation),hasOwn(a,"textDistance")&&(u.distance=a.textDistance)}return convertEC4CompatibleRichItem(g,t),each$f(g.rich,function(y){convertEC4CompatibleRichItem(y,y)}),{textConfig:u,textContent:d}}function convertEC4CompatibleRichItem(t,r){!r||(r.font=r.textFont||r.font,hasOwn(r,"textStrokeWidth")&&(t.lineWidth=r.textStrokeWidth),hasOwn(r,"textAlign")&&(t.align=r.textAlign),hasOwn(r,"textVerticalAlign")&&(t.verticalAlign=r.textVerticalAlign),hasOwn(r,"textLineHeight")&&(t.lineHeight=r.textLineHeight),hasOwn(r,"textWidth")&&(t.width=r.textWidth),hasOwn(r,"textHeight")&&(t.height=r.textHeight),hasOwn(r,"textBackgroundColor")&&(t.backgroundColor=r.textBackgroundColor),hasOwn(r,"textPadding")&&(t.padding=r.textPadding),hasOwn(r,"textBorderColor")&&(t.borderColor=r.textBorderColor),hasOwn(r,"textBorderWidth")&&(t.borderWidth=r.textBorderWidth),hasOwn(r,"textBorderRadius")&&(t.borderRadius=r.textBorderRadius),hasOwn(r,"textBoxShadowColor")&&(t.shadowColor=r.textBoxShadowColor),hasOwn(r,"textBoxShadowBlur")&&(t.shadowBlur=r.textBoxShadowBlur),hasOwn(r,"textBoxShadowOffsetX")&&(t.shadowOffsetX=r.textBoxShadowOffsetX),hasOwn(r,"textBoxShadowOffsetY")&&(t.shadowOffsetY=r.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(t,r,o){var a=t;a.textPosition=a.textPosition||o.position||"inside",o.offset!=null&&(a.textOffset=o.offset),o.rotation!=null&&(a.textRotation=o.rotation),o.distance!=null&&(a.textDistance=o.distance);var u=a.textPosition.indexOf("inside")>=0,d=t.fill||"#000";convertToEC4RichItem(a,r);var g=a.textFill==null;return u?g&&(a.textFill=o.insideFill||"#fff",!a.textStroke&&o.insideStroke&&(a.textStroke=o.insideStroke),!a.textStroke&&(a.textStroke=d),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(g&&(a.textFill=t.fill||o.outsideFill||"#000"),!a.textStroke&&o.outsideStroke&&(a.textStroke=o.outsideStroke)),a.text=r.text,a.rich=r.rich,each$f(r.rich,function(v){convertToEC4RichItem(v,v)}),a}function convertToEC4RichItem(t,r){!r||(hasOwn(r,"fill")&&(t.textFill=r.fill),hasOwn(r,"stroke")&&(t.textStroke=r.fill),hasOwn(r,"lineWidth")&&(t.textStrokeWidth=r.lineWidth),hasOwn(r,"font")&&(t.font=r.font),hasOwn(r,"fontStyle")&&(t.fontStyle=r.fontStyle),hasOwn(r,"fontWeight")&&(t.fontWeight=r.fontWeight),hasOwn(r,"fontSize")&&(t.fontSize=r.fontSize),hasOwn(r,"fontFamily")&&(t.fontFamily=r.fontFamily),hasOwn(r,"align")&&(t.textAlign=r.align),hasOwn(r,"verticalAlign")&&(t.textVerticalAlign=r.verticalAlign),hasOwn(r,"lineHeight")&&(t.textLineHeight=r.lineHeight),hasOwn(r,"width")&&(t.textWidth=r.width),hasOwn(r,"height")&&(t.textHeight=r.height),hasOwn(r,"backgroundColor")&&(t.textBackgroundColor=r.backgroundColor),hasOwn(r,"padding")&&(t.textPadding=r.padding),hasOwn(r,"borderColor")&&(t.textBorderColor=r.borderColor),hasOwn(r,"borderWidth")&&(t.textBorderWidth=r.borderWidth),hasOwn(r,"borderRadius")&&(t.textBorderRadius=r.borderRadius),hasOwn(r,"shadowColor")&&(t.textBoxShadowColor=r.shadowColor),hasOwn(r,"shadowBlur")&&(t.textBoxShadowBlur=r.shadowBlur),hasOwn(r,"shadowOffsetX")&&(t.textBoxShadowOffsetX=r.shadowOffsetX),hasOwn(r,"shadowOffsetY")&&(t.textBoxShadowOffsetY=r.shadowOffsetY),hasOwn(r,"textShadowColor")&&(t.textShadowColor=r.textShadowColor),hasOwn(r,"textShadowBlur")&&(t.textShadowBlur=r.textShadowBlur),hasOwn(r,"textShadowOffsetX")&&(t.textShadowOffsetX=r.textShadowOffsetX),hasOwn(r,"textShadowOffsetY")&&(t.textShadowOffsetY=r.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=1,t},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(t,r,o,a,u){var d=t+"Animation",g=getAnimationConfig(t,a,u)||{},v=transitionInnerStore(r).userDuring;return g.duration>0&&(g.during=v?bind$1(duringCall,{el:r,userDuring:v}):null,g.setToFinal=!0,g.scope=t),extend(g,o[d]),g}function applyUpdateTransition(t,r,o,a){a=a||{};var u=a.dataIndex,d=a.isInit,g=a.clearStyle,v=o.isAnimationEnabled(),y=transitionInnerStore(t),A=r.style;y.userDuring=r.during;var b={},_={};if(prepareTransformAllPropsFinal(t,r,_),prepareShapeOrExtraAllPropsFinal("shape",r,_),prepareShapeOrExtraAllPropsFinal("extra",r,_),!d&&v&&(prepareTransformTransitionFrom(t,r,b),prepareShapeOrExtraTransitionFrom("shape",t,r,b),prepareShapeOrExtraTransitionFrom("extra",t,r,b),prepareStyleTransitionFrom(t,r,A,b)),_.style=A,applyPropsDirectly(t,_,g),applyMiscProps(t,r),v)if(d){var w={};each$f(ELEMENT_ANIMATABLE_PROPS,function(C){var T=C?r[C]:r;T&&T.enterFrom&&(C&&(w[C]=w[C]||{}),extend(C?w[C]:w,T.enterFrom))});var S=getElementAnimationConfig("enter",t,r,o,u);S.duration>0&&t.animateFrom(w,S)}else applyPropsTransition(t,r,u||0,o,b);updateLeaveTo(t,r),A?t.dirty():t.markRedraw()}function updateLeaveTo(t,r){for(var o=transitionInnerStore(t).leaveToProps,a=0;a0&&t.animateFrom(u,d)}}function applyMiscProps(t,r){hasOwn(r,"silent")&&(t.silent=r.silent),hasOwn(r,"ignore")&&(t.ignore=r.ignore),t instanceof Displayable$1&&hasOwn(r,"invisible")&&(t.invisible=r.invisible),t instanceof Path$1&&hasOwn(r,"autoBatch")&&(t.autoBatch=r.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(t,r){return tmpDuringScope.el[t]=r,this},getTransform:function(t){return tmpDuringScope.el[t]},setShape:function(t,r){var o=tmpDuringScope.el,a=o.shape||(o.shape={});return a[t]=r,o.dirtyShape&&o.dirtyShape(),this},getShape:function(t){var r=tmpDuringScope.el.shape;if(r)return r[t]},setStyle:function(t,r){var o=tmpDuringScope.el,a=o.style;return a&&(a[t]=r,o.dirtyStyle&&o.dirtyStyle()),this},getStyle:function(t){var r=tmpDuringScope.el.style;if(r)return r[t]},setExtra:function(t,r){var o=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return o[t]=r,this},getExtra:function(t){var r=tmpDuringScope.el.extra;if(r)return r[t]}};function duringCall(){var t=this,r=t.el;if(!!r){var o=transitionInnerStore(r).userDuring,a=t.userDuring;if(o!==a){t.el=t.userDuring=null;return}tmpDuringScope.el=r,a(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(t,r,o,a){var u=o[t];if(!!u){var d=r[t],g;if(d){var v=o.transition,y=u.transition;if(y)if(!g&&(g=a[t]={}),isTransitionAll(y))extend(g,d);else for(var A=normalizeToArray(y),b=0;b=0){!g&&(g=a[t]={});for(var S=keys(d),b=0;b=0)){var w=t.getAnimationStyleProps(),S=w?w.style:null;if(S){!d&&(d=a.style={});for(var C=keys(o),A=0;A=0?r.getStore().get(X,U):void 0}var J=r.get(Q.name,U),ne=Q&&Q.ordinalMeta;return ne?ne.categories[J]:J}function P(z,U){U==null&&(U=A);var Q=r.getItemVisual(U,"style"),X=Q&&Q.fill,J=Q&&Q.opacity,ne=F(U,NORMAL).getItemStyle();X!=null&&(ne.fill=X),J!=null&&(ne.opacity=J);var te={inheritColor:isString$1(X)?X:"#000"},ce=O(U,NORMAL),se=createTextStyle(ce,null,te,!1,!0);se.text=ce.getShallow("show")?retrieve2(t.getFormattedLabel(U,NORMAL),getDefaultLabel(r,U)):null;var ge=createTextConfig(ce,te,!1);return N(z,ne),ne=convertToEC4StyleForCustomSerise(ne,se,ge),z&&M(ne,z),ne.legacy=!0,ne}function G(z,U){U==null&&(U=A);var Q=F(U,EMPHASIS).getItemStyle(),X=O(U,EMPHASIS),J=createTextStyle(X,null,null,!0,!0);J.text=X.getShallow("show")?retrieve3(t.getFormattedLabel(U,EMPHASIS),t.getFormattedLabel(U,NORMAL),getDefaultLabel(r,U)):null;var ne=createTextConfig(X,null,!0);return N(z,Q),Q=convertToEC4StyleForCustomSerise(Q,J,ne),z&&M(Q,z),Q.legacy=!0,Q}function M(z,U){for(var Q in U)hasOwn(U,Q)&&(z[Q]=U[Q])}function N(z,U){z&&(z.textFill&&(U.textFill=z.textFill),z.textPosition&&(U.textPosition=z.textPosition))}function V(z,U){if(U==null&&(U=A),hasOwn(STYLE_VISUAL_TYPE,z)){var Q=r.getItemVisual(U,"style");return Q?Q[STYLE_VISUAL_TYPE[z]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,z))return r.getItemVisual(U,z)}function Y(z){if(d.type==="cartesian2d"){var U=d.getBaseAxis();return getLayoutOnAxis(defaults({axis:U},z))}}function H(){return o.getCurrentSeriesIndices()}function B(z){return getFont(z,o)}}function wrapEncodeDef(t){var r={};return each$f(t.dimensions,function(o){var a=t.getDimensionInfo(o);if(!a.isExtraCoord){var u=a.coordDim,d=r[u]=r[u]||[];d[a.coordDimIndex]=t.getDimensionIndex(o)}}),r}function createOrUpdateItem(t,r,o,a,u,d,g){if(!a){d.remove(r);return}var v=doCreateOrUpdateEl(t,r,o,a,u,d);return v&&g.setItemGraphicEl(o,v),v&&toggleHoverEmphasis(v,a.focus,a.blurScope,a.emphasisDisabled),v}function doCreateOrUpdateEl(t,r,o,a,u,d){var g=-1,v=r;r&&doesElNeedRecreate(r,a,u)&&(g=indexOf$1(d.childrenRef(),r),r=null);var y=!r,A=r;A?A.clearStates():(A=createEl$1(a),v&©Element(v,A)),a.morph===!1?A.disableMorphing=!0:A.disableMorphing&&(A.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(A,o,a,u,y,attachedTxInfoTmp),doCreateOrUpdateClipPath(A,o,a,u,y),updateElNormal(t,A,o,a,attachedTxInfoTmp,u,y),hasOwn(a,"info")&&(customInnerStore(A).info=a.info);for(var b=0;b=0?d.replaceAt(A,g):d.add(A),A}function doesElNeedRecreate(t,r,o){var a=customInnerStore(t),u=r.type,d=r.shape,g=r.style;return o.isUniversalTransitionEnabled()||u!=null&&u!==a.customGraphicType||u==="path"&&hasOwnPathData(d)&&getPathData(d)!==a.customPathData||u==="image"&&hasOwn(g,"image")&&g.image!==a.customImagePath}function doCreateOrUpdateClipPath(t,r,o,a,u){var d=o.clipPath;if(d===!1)t&&t.getClipPath()&&t.removeClipPath();else if(d){var g=t.getClipPath();g&&doesElNeedRecreate(g,d,a)&&(g=null),g||(g=createEl$1(d),t.setClipPath(g)),updateElNormal(null,g,r,d,null,a,u)}}function doCreateOrUpdateAttachedTx(t,r,o,a,u,d){if(!t.isGroup){processTxInfo(o,null,d),processTxInfo(o,EMPHASIS,d);var g=d.normal.conOpt,v=d.emphasis.conOpt,y=d.blur.conOpt,A=d.select.conOpt;if(g!=null||v!=null||A!=null||y!=null){var b=t.getTextContent();if(g===!1)b&&t.removeTextContent();else{g=d.normal.conOpt=g||{type:"text"},b?b.clearStates():(b=createEl$1(g),t.setTextContent(b)),updateElNormal(null,b,r,g,null,a,u);for(var _=g&&g.style,w=0;w=b;S--){var C=r.childAt(S);removeChildFromGroup(r,C,u)}}}function removeChildFromGroup(t,r,o){r&&applyLeaveTransition(r,customInnerStore(t).option,o)}function diffGroupChildren(t){new DataDiffer$1(t.oldChildren,t.newChildren,getKey,getKey,t).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(t,r){var o=t&&t.name;return o!=null?o:GROUP_DIFF_PREFIX+r}function processAddUpdate(t,r){var o=this.context,a=t!=null?o.newChildren[t]:null,u=r!=null?o.oldChildren[r]:null;doCreateOrUpdateEl(o.api,u,o.dataIndex,a,o.seriesModel,o.group)}function processRemove(t){var r=this.context,o=r.oldChildren[t];o&&applyLeaveTransition(o,customInnerStore(o).option,r.seriesModel)}function getPathData(t){return t&&(t.pathData||t.d)}function hasOwnPathData(t){return t&&(hasOwn(t,"pathData")||hasOwn(t,"d"))}function install$r(t){t.registerChartView(CustomChartView$1),t.registerSeriesModel(CustomSeriesModel$1)}var inner$b=makeInner(),clone$1=clone$5,bind=bind$1,BaseAxisPointer=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(r,o,a,u){var d=o.get("value"),g=o.get("status");if(this._axisModel=r,this._axisPointerModel=o,this._api=a,!(!u&&this._lastValue===d&&this._lastStatus===g)){this._lastValue=d,this._lastStatus=g;var v=this._group,y=this._handle;if(!g||g==="hide"){v&&v.hide(),y&&y.hide();return}v&&v.show(),y&&y.show();var A={};this.makeElOption(A,d,r,o,a);var b=A.graphicKey;b!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=b;var _=this._moveAnimation=this.determineAnimation(r,o);if(!v)v=this._group=new Group$4,this.createPointerEl(v,A,r,o),this.createLabelEl(v,A,r,o),a.getZr().add(v);else{var w=curry$1(updateProps,o,_);this.updatePointerEl(v,A,w),this.updateLabelEl(v,A,w,o)}updateMandatoryProps(v,o,!0),this._renderHandle(d)}},t.prototype.remove=function(r){this.clear(r)},t.prototype.dispose=function(r){this.clear(r)},t.prototype.determineAnimation=function(r,o){var a=o.get("animation"),u=r.axis,d=u.type==="category",g=o.get("snap");if(!g&&!d)return!1;if(a==="auto"||a==null){var v=this.animationThreshold;if(d&&u.getBandWidth()>v)return!0;if(g){var y=getAxisInfo$1(r).seriesDataCount,A=u.getExtent();return Math.abs(A[0]-A[1])/y>v}return!1}return a===!0},t.prototype.makeElOption=function(r,o,a,u,d){},t.prototype.createPointerEl=function(r,o,a,u){var d=o.pointer;if(d){var g=inner$b(r).pointerEl=new graphic[d.type](clone$1(o.pointer));r.add(g)}},t.prototype.createLabelEl=function(r,o,a,u){if(o.label){var d=inner$b(r).labelEl=new ZRText$1(clone$1(o.label));r.add(d),updateLabelShowHide(d,u)}},t.prototype.updatePointerEl=function(r,o,a){var u=inner$b(r).pointerEl;u&&o.pointer&&(u.setStyle(o.pointer.style),a(u,{shape:o.pointer.shape}))},t.prototype.updateLabelEl=function(r,o,a,u){var d=inner$b(r).labelEl;d&&(d.setStyle(o.label.style),a(d,{x:o.label.x,y:o.label.y}),updateLabelShowHide(d,u))},t.prototype._renderHandle=function(r){if(!(this._dragging||!this.updateHandleTransform)){var o=this._axisPointerModel,a=this._api.getZr(),u=this._handle,d=o.getModel("handle"),g=o.get("status");if(!d.get("show")||!g||g==="hide"){u&&a.remove(u),this._handle=null;return}var v;this._handle||(v=!0,u=this._handle=createIcon(d.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(A){stop(A.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),a.add(u)),updateMandatoryProps(u,o,!1),u.setStyle(d.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var y=d.get("size");isArray$1(y)||(y=[y,y]),u.scaleX=y[0]/2,u.scaleY=y[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",d.get("throttle")||0,"fixRate"),this._moveHandleToValue(r,v)}},t.prototype._moveHandleToValue=function(r,o){updateProps(this._axisPointerModel,!o&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(r,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(r,o){var a=this._handle;if(!!a){this._dragging=!0;var u=this.updateHandleTransform(getHandleTransProps(a),[r,o],this._axisModel,this._axisPointerModel);this._payloadInfo=u,a.stopAnimation(),a.attr(getHandleTransProps(u)),inner$b(a).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var r=this._handle;if(!!r){var o=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:o.cursorPoint[0],y:o.cursorPoint[1],tooltipOption:o.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var r=this._handle;if(!!r){var o=this._axisPointerModel.get("value");this._moveHandleToValue(o),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(r){this._lastValue=null,this._lastStatus=null;var o=r.getZr(),a=this._group,u=this._handle;o&&a&&(this._lastGraphicKey=null,a&&o.remove(a),u&&o.remove(u),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(r,o,a){return a=a||0,{x:r[a],y:r[1-a],width:o[a],height:o[1-a]}},t}();function updateProps(t,r,o,a){propsEqual(inner$b(o).lastProp,a)||(inner$b(o).lastProp=a,r?updateProps$1(o,a,t):(o.stopAnimation(),o.attr(a)))}function propsEqual(t,r){if(isObject$3(t)&&isObject$3(r)){var o=!0;return each$f(r,function(a,u){o=o&&propsEqual(t[u],a)}),!!o}else return t===r}function updateLabelShowHide(t,r){t[r.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function updateMandatoryProps(t,r,o){var a=r.get("z"),u=r.get("zlevel");t&&t.traverse(function(d){d.type!=="group"&&(a!=null&&(d.z=a),u!=null&&(d.zlevel=u),d.silent=o)})}var BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(t){var r=t.get("type"),o=t.getModel(r+"Style"),a;return r==="line"?(a=o.getLineStyle(),a.fill=null):r==="shadow"&&(a=o.getAreaStyle(),a.stroke=null),a}function buildLabelElOption(t,r,o,a,u){var d=o.get("value"),g=getValueLabel(d,r.axis,r.ecModel,o.get("seriesDataIndices"),{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])}),v=o.getModel("label"),y=normalizeCssArray(v.get("padding")||0),A=v.getFont(),b=getBoundingRect(g,A),_=u.position,w=b.width+y[1]+y[3],S=b.height+y[0]+y[2],C=u.align;C==="right"&&(_[0]-=w),C==="center"&&(_[0]-=w/2);var T=u.verticalAlign;T==="bottom"&&(_[1]-=S),T==="middle"&&(_[1]-=S/2),confineInContainer(_,w,S,a);var I=v.get("backgroundColor");(!I||I==="auto")&&(I=r.get(["axisLine","lineStyle","color"])),t.label={x:_[0],y:_[1],style:createTextStyle(v,{text:g,font:A,fill:v.getTextColor(),padding:y,backgroundColor:I}),z2:10}}function confineInContainer(t,r,o,a){var u=a.getWidth(),d=a.getHeight();t[0]=Math.min(t[0]+r,u)-r,t[1]=Math.min(t[1]+o,d)-o,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function getValueLabel(t,r,o,a,u){t=r.scale.parse(t);var d=r.scale.getLabel({value:t},{precision:u.precision}),g=u.formatter;if(g){var v={value:getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};each$f(a,function(y){var A=o.getSeriesByIndex(y.seriesIndex),b=y.dataIndexInside,_=A&&A.getDataParams(b);_&&v.seriesData.push(_)}),isString$1(g)?d=g.replace("{value}",d):isFunction(g)&&(d=g(v))}return d}function getTransformedPosition(t,r,o){var a=create$1();return rotate(a,a,o.rotation),translate(a,a,o.position),applyTransform([t.dataToCoord(r),(o.labelOffset||0)+(o.labelDirection||1)*(o.labelMargin||0)],a)}function buildCartesianSingleLabelElOption(t,r,o,a,u,d){var g=AxisBuilder$1.innerTextLayout(o.rotation,0,o.labelDirection);o.labelMargin=u.get(["label","margin"]),buildLabelElOption(r,a,u,d,{position:getTransformedPosition(a.axis,t,o),align:g.textAlign,verticalAlign:g.textVerticalAlign})}function makeLineShape(t,r,o){return o=o||0,{x1:t[o],y1:t[1-o],x2:r[o],y2:r[1-o]}}function makeRectShape(t,r,o){return o=o||0,{x:t[o],y:t[1-o],width:r[o],height:r[1-o]}}function makeSectorShape(t,r,o,a,u,d){return{cx:t,cy:r,r0:o,r:a,startAngle:u,endAngle:d,clockwise:!0}}var CartesianAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis,y=v.grid,A=d.get("type"),b=getCartesian(y,v).getOtherAxis(v).getGlobalExtent(),_=v.toGlobalCoord(v.dataToCoord(a,!0));if(A&&A!=="none"){var w=buildElStyle(d),S=pointerShapeBuilder$2[A](v,_,b);S.style=w,o.graphicKey=S.type,o.pointer=S}var C=layout$2(y.model,u);buildCartesianSingleLabelElOption(a,o,C,u,d,g)},r.prototype.getHandleTransform=function(o,a,u){var d=layout$2(a.axis.grid.model,a,{labelInside:!1});d.labelMargin=u.get(["handle","margin"]);var g=getTransformedPosition(a.axis,o,d);return{x:g[0],y:g[1],rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(o,a,u,d){var g=u.axis,v=g.grid,y=g.getGlobalExtent(!0),A=getCartesian(v,g).getOtherAxis(g).getGlobalExtent(),b=g.dim==="x"?0:1,_=[o.x,o.y];_[b]+=a[b],_[b]=Math.min(y[1],_[b]),_[b]=Math.max(y[0],_[b]);var w=(A[1]+A[0])/2,S=[w,w];S[b]=_[b];var C=[{verticalAlign:"middle"},{align:"center"}];return{x:_[0],y:_[1],rotation:o.rotation,cursorPoint:S,tooltipOption:C[b]}},r}(BaseAxisPointer$1);function getCartesian(t,r){var o={};return o[r.dim+"AxisIndex"]=r.index,t.getCartesian(o)}var pointerShapeBuilder$2={line:function(t,r,o){var a=makeLineShape([r,o[0]],[r,o[1]],getAxisDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,o){var a=Math.max(1,t.getBandWidth()),u=o[1]-o[0];return{type:"Rect",shape:makeRectShape([r-a/2,o[0]],[a,u],getAxisDimIndex(t))}}};function getAxisDimIndex(t){return t.dim==="x"?0:1}var CartesianAxisPointer$1=CartesianAxisPointer,AxisPointerModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="axisPointer",r.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},r}(ComponentModel$1),AxisPointerModel$1=AxisPointerModel,inner$a=makeInner(),each$8=each$f;function register(t,r,o){if(!env$1.node){var a=r.getZr();inner$a(a).records||(inner$a(a).records={}),initGlobalListeners(a,r);var u=inner$a(a).records[t]||(inner$a(a).records[t]={});u.handler=o}}function initGlobalListeners(t,r){if(inner$a(t).initialized)return;inner$a(t).initialized=!0,o("click",curry$1(doEnter,"click")),o("mousemove",curry$1(doEnter,"mousemove")),o("globalout",onLeave);function o(a,u){t.on(a,function(d){var g=makeDispatchAction$1(r);each$8(inner$a(t).records,function(v){v&&u(v,d,g.dispatchAction)}),dispatchTooltipFinally(g.pendings,r)})}}function dispatchTooltipFinally(t,r){var o=t.showTip.length,a=t.hideTip.length,u;o?u=t.showTip[o-1]:a&&(u=t.hideTip[a-1]),u&&(u.dispatchAction=null,r.dispatchAction(u))}function onLeave(t,r,o){t.handler("leave",null,o)}function doEnter(t,r,o,a){r.handler(t,o,a)}function makeDispatchAction$1(t){var r={showTip:[],hideTip:[]},o=function(a){var u=r[a.type];u?u.push(a):(a.dispatchAction=o,t.dispatchAction(a))};return{dispatchAction:o,pendings:r}}function unregister(t,r){if(!env$1.node){var o=r.getZr(),a=(inner$a(o).records||{})[t];a&&(inner$a(o).records[t]=null)}}var AxisPointerView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=a.getComponent("tooltip"),g=o.get("triggerOn")||d&&d.get("triggerOn")||"mousemove|click";register("axisPointer",u,function(v,y,A){g!=="none"&&(v==="leave"||g.indexOf(v)>=0)&&A({type:"updateAxisPointer",currTrigger:v,x:y&&y.offsetX,y:y&&y.offsetY})})},r.prototype.remove=function(o,a){unregister("axisPointer",a)},r.prototype.dispose=function(o,a){unregister("axisPointer",a)},r.type="axisPointer",r}(ComponentView$1),AxisPointerView$1=AxisPointerView;function findPointFromSeries(t,r){var o=[],a=t.seriesIndex,u;if(a==null||!(u=r.getSeriesByIndex(a)))return{point:[]};var d=u.getData(),g=queryDataIndex(d,t);if(g==null||g<0||isArray$1(g))return{point:[]};var v=d.getItemGraphicEl(g),y=u.coordinateSystem;if(u.getTooltipPosition)o=u.getTooltipPosition(g)||[];else if(y&&y.dataToPoint)if(t.isStacked){var A=y.getBaseAxis(),b=y.getOtherAxis(A),_=b.dim,w=A.dim,S=_==="x"||_==="radius"?1:0,C=d.mapDimension(w),T=[];T[S]=d.get(C,g),T[1-S]=d.get(d.getCalculationInfo("stackResultDimension"),g),o=y.dataToPoint(T)||[]}else o=y.dataToPoint(d.getValues(map$1(y.dimensions,function(E){return d.mapDimension(E)}),g))||[];else if(v){var I=v.getBoundingRect().clone();I.applyTransform(v.transform),o=[I.x+I.width/2,I.y+I.height/2]}return{point:o,el:v}}var inner$9=makeInner();function axisTrigger(t,r,o){var a=t.currTrigger,u=[t.x,t.y],d=t,g=t.dispatchAction||bind$1(o.dispatchAction,o),v=r.getComponent("axisPointer").coordSysAxesInfo;if(!!v){illegalPoint(u)&&(u=findPointFromSeries({seriesIndex:d.seriesIndex,dataIndex:d.dataIndex},r).point);var y=illegalPoint(u),A=d.axesInfo,b=v.axesInfo,_=a==="leave"||illegalPoint(u),w={},S={},C={list:[],map:{}},T={showPointer:curry$1(showPointer,S),showTooltip:curry$1(showTooltip,C)};each$f(v.coordSysMap,function(E,F){var O=y||E.containPoint(u);each$f(v.coordSysAxesInfo[F],function(D,x){var P=D.axis,G=findInputAxisInfo(A,D);if(!_&&O&&(!A||G)){var M=G&&G.value;M==null&&!y&&(M=P.pointToData(u)),M!=null&&processOnAxis(D,M,T,!1,w)}})});var I={};return each$f(b,function(E,F){var O=E.linkGroup;O&&!S[F]&&each$f(O.axesInfo,function(D,x){var P=S[x];if(D!==E&&P){var G=P.value;O.mapper&&(G=E.axis.scale.parse(O.mapper(G,makeMapperParam(D),makeMapperParam(E)))),I[E.key]=G}})}),each$f(I,function(E,F){processOnAxis(b[F],E,T,!0,w)}),updateModelActually(S,b,w),dispatchTooltipActually(C,u,t,g),dispatchHighDownActually(b,g,o),w}}function processOnAxis(t,r,o,a,u){var d=t.axis;if(!(d.scale.isBlank()||!d.containData(r))){if(!t.involveSeries){o.showPointer(t,r);return}var g=buildPayloadsBySeries(r,t),v=g.payloadBatch,y=g.snapToValue;v[0]&&u.seriesIndex==null&&extend(u,v[0]),!a&&t.snap&&d.containData(y)&&y!=null&&(r=y),o.showPointer(t,r,v),o.showTooltip(t,g,y)}}function buildPayloadsBySeries(t,r){var o=r.axis,a=o.dim,u=t,d=[],g=Number.MAX_VALUE,v=-1;return each$f(r.seriesModels,function(y,A){var b=y.getData().mapDimensionsAll(a),_,w;if(y.getAxisTooltipData){var S=y.getAxisTooltipData(b,t,o);w=S.dataIndices,_=S.nestestValue}else{if(w=y.getData().indicesOfNearest(b[0],t,o.type==="category"?.5:null),!w.length)return;_=y.getData().get(b[0],w[0])}if(!(_==null||!isFinite(_))){var C=t-_,T=Math.abs(C);T<=g&&((T=0&&v<0)&&(g=T,v=C,u=_,d.length=0),each$f(w,function(I){d.push({seriesIndex:y.seriesIndex,dataIndexInside:I,dataIndex:y.getData().getRawIndex(I)})}))}}),{payloadBatch:d,snapToValue:u}}function showPointer(t,r,o,a){t[r.key]={value:o,payloadBatch:a}}function showTooltip(t,r,o,a){var u=o.payloadBatch,d=r.axis,g=d.model,v=r.axisPointerModel;if(!(!r.triggerTooltip||!u.length)){var y=r.coordSys.model,A=makeKey(y),b=t.map[A];b||(b=t.map[A]={coordSysId:y.id,coordSysIndex:y.componentIndex,coordSysType:y.type,coordSysMainType:y.mainType,dataByAxis:[]},t.list.push(b)),b.dataByAxis.push({axisDim:d.dim,axisIndex:g.componentIndex,axisType:g.type,axisId:g.id,value:a,valueLabelOpt:{precision:v.get(["label","precision"]),formatter:v.get(["label","formatter"])},seriesDataIndices:u.slice()})}}function updateModelActually(t,r,o){var a=o.axesInfo=[];each$f(r,function(u,d){var g=u.axisPointerModel.option,v=t[d];v?(!u.useHandle&&(g.status="show"),g.value=v.value,g.seriesDataIndices=(v.payloadBatch||[]).slice()):!u.useHandle&&(g.status="hide"),g.status==="show"&&a.push({axisDim:u.axis.dim,axisIndex:u.axis.model.componentIndex,value:g.value})})}function dispatchTooltipActually(t,r,o,a){if(illegalPoint(r)||!t.list.length){a({type:"hideTip"});return}var u=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:r[0],y:r[1],tooltipOption:o.tooltipOption,position:o.position,dataIndexInside:u.dataIndexInside,dataIndex:u.dataIndex,seriesIndex:u.seriesIndex,dataByCoordSys:t.list})}function dispatchHighDownActually(t,r,o){var a=o.getZr(),u="axisPointerLastHighlights",d=inner$9(a)[u]||{},g=inner$9(a)[u]={};each$f(t,function(A,b){var _=A.axisPointerModel.option;_.status==="show"&&A.triggerEmphasis&&each$f(_.seriesDataIndices,function(w){var S=w.seriesIndex+" | "+w.dataIndex;g[S]=w})});var v=[],y=[];each$f(d,function(A,b){!g[b]&&y.push(A)}),each$f(g,function(A,b){!d[b]&&v.push(A)}),y.length&&o.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),v.length&&o.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v})}function findInputAxisInfo(t,r){for(var o=0;o<(t||[]).length;o++){var a=t[o];if(r.axis.dim===a.axisDim&&r.axis.model.componentIndex===a.axisIndex)return a}}function makeMapperParam(t){var r=t.axis.model,o={},a=o.axisDim=t.axis.dim;return o.axisIndex=o[a+"AxisIndex"]=r.componentIndex,o.axisName=o[a+"AxisName"]=r.name,o.axisId=o[a+"AxisId"]=r.id,o}function illegalPoint(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function install$q(t){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),t.registerComponentModel(AxisPointerModel$1),t.registerComponentView(AxisPointerView$1),t.registerPreprocessor(function(r){if(r){(!r.axisPointer||r.axisPointer.length===0)&&(r.axisPointer={});var o=r.axisPointer.link;o&&!isArray$1(o)&&(r.axisPointer.link=[o])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(r,o){r.getComponent("axisPointer").coordSysAxesInfo=collect(r,o)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$p(t){use(install$N),use(install$q)}var PolarAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis;v.dim==="angle"&&(this.animationThreshold=Math.PI/18);var y=v.polar,A=y.getOtherAxis(v),b=A.getExtent(),_=v.dataToCoord(a),w=d.get("type");if(w&&w!=="none"){var S=buildElStyle(d),C=pointerShapeBuilder$1[w](v,y,_,b);C.style=S,o.graphicKey=C.type,o.pointer=C}var T=d.get(["label","margin"]),I=getLabelPosition(a,u,d,y,T);buildLabelElOption(o,u,d,g,I)},r}(BaseAxisPointer$1);function getLabelPosition(t,r,o,a,u){var d=r.axis,g=d.dataToCoord(t),v=a.getAngleAxis().getExtent()[0];v=v/180*Math.PI;var y=a.getRadiusAxis().getExtent(),A,b,_;if(d.dim==="radius"){var w=create$1();rotate(w,w,v),translate(w,w,[a.cx,a.cy]),A=applyTransform([g,-u],w);var S=r.getModel("axisLabel").get("rotate")||0,C=AxisBuilder$1.innerTextLayout(v,S*Math.PI/180,-1);b=C.textAlign,_=C.textVerticalAlign}else{var T=y[1];A=a.coordToPoint([T+u,g]);var I=a.cx,E=a.cy;b=Math.abs(A[0]-I)/T<.3?"center":A[0]>I?"left":"right",_=Math.abs(A[1]-E)/T<.3?"middle":A[1]>E?"top":"bottom"}return{position:A,align:b,verticalAlign:_}}var pointerShapeBuilder$1={line:function(t,r,o,a){return t.dim==="angle"?{type:"Line",shape:makeLineShape(r.coordToPoint([a[0],o]),r.coordToPoint([a[1],o]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:o}}},shadow:function(t,r,o,a){var u=Math.max(1,t.getBandWidth()),d=Math.PI/180;return t.dim==="angle"?{type:"Sector",shape:makeSectorShape(r.cx,r.cy,a[0],a[1],(-o-u/2)*d,(-o+u/2)*d)}:{type:"Sector",shape:makeSectorShape(r.cx,r.cy,o-u/2,o+u/2,0,Math.PI*2)}}},PolarAxisPointer$1=PolarAxisPointer,PolarModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.findAxisModel=function(o){var a,u=this.ecModel;return u.eachComponent(o,function(d){d.getCoordSysModel()===this&&(a=d)},this),a},r.type="polar",r.dependencies=["radiusAxis","angleAxis"],r.defaultOption={z:0,center:["50%","50%"],radius:"80%"},r}(ComponentModel$1),PolarModel$1=PolarModel,PolarAxisModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},r.type="polarAxis",r}(ComponentModel$1);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="angleAxis",r}(PolarAxisModel),RadiusAxisModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="radiusAxis",r}(PolarAxisModel),RadiusAxis=function(t){__extends$1(r,t);function r(o,a){return t.call(this,"radius",o,a)||this}return r.prototype.pointToData=function(o,a){return this.polar.pointToData(o,a)[this.dim==="radius"?0:1]},r}(Axis$1);RadiusAxis.prototype.dataToRadius=Axis$1.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis$1.prototype.coordToData;var RadiusAxis$1=RadiusAxis,inner$8=makeInner(),AngleAxis=function(t){__extends$1(r,t);function r(o,a){return t.call(this,"angle",o,a||[0,360])||this}return r.prototype.pointToData=function(o,a){return this.polar.pointToData(o,a)[this.dim==="radius"?0:1]},r.prototype.calculateCategoryInterval=function(){var o=this,a=o.getLabelModel(),u=o.scale,d=u.getExtent(),g=u.count();if(d[1]-d[0]<1)return 0;var v=d[0],y=o.dataToCoord(v+1)-o.dataToCoord(v),A=Math.abs(y),b=getBoundingRect(v==null?"":v+"",a.getFont(),"center","top"),_=Math.max(b.height,7),w=_/A;isNaN(w)&&(w=1/0);var S=Math.max(0,Math.floor(w)),C=inner$8(o.model),T=C.lastAutoInterval,I=C.lastTickCount;return T!=null&&I!=null&&Math.abs(T-S)<=1&&Math.abs(I-g)<=1&&T>S?S=T:(C.lastTickCount=g,C.lastAutoInterval=S),S},r}(Axis$1);AngleAxis.prototype.dataToAngle=Axis$1.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis$1.prototype.coordToData;var AngleAxis$1=AngleAxis,polarDimensions=["radius","angle"],Polar=function(){function t(r){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis$1,this._angleAxis=new AngleAxis$1,this.axisPointerEnabled=!0,this.name=r||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(r){var o=this.pointToCoord(r);return this._radiusAxis.contain(o[0])&&this._angleAxis.contain(o[1])},t.prototype.containData=function(r){return this._radiusAxis.containData(r[0])&&this._angleAxis.containData(r[1])},t.prototype.getAxis=function(r){var o="_"+r+"Axis";return this[o]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(r){var o=[],a=this._angleAxis,u=this._radiusAxis;return a.scale.type===r&&o.push(a),u.scale.type===r&&o.push(u),o},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(r){var o=this._angleAxis;return r===o?this._radiusAxis:o},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(r){var o=r!=null&&r!=="auto"?this.getAxis(r):this.getBaseAxis();return{baseAxes:[o],otherAxes:[this.getOtherAxis(o)]}},t.prototype.dataToPoint=function(r,o){return this.coordToPoint([this._radiusAxis.dataToRadius(r[0],o),this._angleAxis.dataToAngle(r[1],o)])},t.prototype.pointToData=function(r,o){var a=this.pointToCoord(r);return[this._radiusAxis.radiusToData(a[0],o),this._angleAxis.angleToData(a[1],o)]},t.prototype.pointToCoord=function(r){var o=r[0]-this.cx,a=r[1]-this.cy,u=this.getAngleAxis(),d=u.getExtent(),g=Math.min(d[0],d[1]),v=Math.max(d[0],d[1]);u.inverse?g=v-360:v=g+360;var y=Math.sqrt(o*o+a*a);o/=y,a/=y;for(var A=Math.atan2(-a,o)/Math.PI*180,b=Av;)A+=b*360;return[y,A]},t.prototype.coordToPoint=function(r){var o=r[0],a=r[1]/180*Math.PI,u=Math.cos(a)*o+this.cx,d=-Math.sin(a)*o+this.cy;return[u,d]},t.prototype.getArea=function(){var r=this.getAngleAxis(),o=this.getRadiusAxis(),a=o.getExtent().slice();a[0]>a[1]&&a.reverse();var u=r.getExtent(),d=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-u[0]*d,endAngle:-u[1]*d,clockwise:r.inverse,contain:function(g,v){var y=g-this.cx,A=v-this.cy,b=y*y+A*A-1e-4,_=this.r,w=this.r0;return b<=_*_&&b>=w*w}}},t.prototype.convertToPixel=function(r,o,a){var u=getCoordSys$2(o);return u===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,o,a){var u=getCoordSys$2(o);return u===this?this.pointToData(a):null},t}();function getCoordSys$2(t){var r=t.seriesModel,o=t.polarModel;return o&&o.coordinateSystem||r&&r.coordinateSystem}var Polar$1=Polar;function resizePolar(t,r,o){var a=r.get("center"),u=o.getWidth(),d=o.getHeight();t.cx=parsePercent(a[0],u),t.cy=parsePercent(a[1],d);var g=t.getRadiusAxis(),v=Math.min(u,d)/2,y=r.get("radius");y==null?y=[0,"100%"]:isArray$1(y)||(y=[0,y]);var A=[parsePercent(y[0],v),parsePercent(y[1],v)];g.inverse?g.setExtent(A[1],A[0]):g.setExtent(A[0],A[1])}function updatePolarScale(t,r){var o=this,a=o.getAngleAxis(),u=o.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),u.scale.setExtent(1/0,-1/0),t.eachSeries(function(v){if(v.coordinateSystem===o){var y=v.getData();each$f(getDataDimensionsOnAxis(y,"radius"),function(A){u.scale.unionExtentFromData(y,A)}),each$f(getDataDimensionsOnAxis(y,"angle"),function(A){a.scale.unionExtentFromData(y,A)})}}),niceScaleExtent(a.scale,a.model),niceScaleExtent(u.scale,u.model),a.type==="category"&&!a.onBand){var d=a.getExtent(),g=360/a.scale.count();a.inverse?d[1]+=g:d[1]-=g,a.setExtent(d[0],d[1])}}function isAngleAxisModel(t){return t.mainType==="angleAxis"}function setAxis(t,r){var o;if(t.type=r.get("type"),t.scale=createScaleByModel$1(r),t.onBand=r.get("boundaryGap")&&t.type==="category",t.inverse=r.get("inverse"),isAngleAxisModel(r)){t.inverse=t.inverse!==r.get("clockwise");var a=r.get("startAngle"),u=(o=r.get("endAngle"))!==null&&o!==void 0?o:a+(t.inverse?-360:360);t.setExtent(a,u)}r.axis=t,t.model=r}var polarCreator={dimensions:polarDimensions,create:function(t,r){var o=[];return t.eachComponent("polar",function(a,u){var d=new Polar$1(u+"");d.update=updatePolarScale;var g=d.getRadiusAxis(),v=d.getAngleAxis(),y=a.findAxisModel("radiusAxis"),A=a.findAxisModel("angleAxis");setAxis(g,y),setAxis(v,A),resizePolar(d,a,r),o.push(d),a.coordinateSystem=d,d.model=a}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var u=a.getReferringComponents("polar",SINGLE_REFERRING).models[0];a.coordinateSystem=u.coordinateSystem}}),o}},polarCreator$1=polarCreator,elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(t,r,o){r[1]>r[0]&&(r=r.slice().reverse());var a=t.coordToPoint([r[0],o]),u=t.coordToPoint([r[1],o]);return{x1:a[0],y1:a[1],x2:u[0],y2:u[1]}}function getRadiusIdx(t){var r=t.getRadiusAxis();return r.inverse?0:1}function fixAngleOverlap(t){var r=t[0],o=t[t.length-1];r&&o&&Math.abs(Math.abs(r.coord-o.coord)-360)<1e-4&&t.pop()}var AngleAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.axisPointerClass="PolarAxisPointer",o}return r.prototype.render=function(o,a){if(this.group.removeAll(),!!o.get("show")){var u=o.axis,d=u.polar,g=d.getRadiusAxis().getExtent(),v=u.getTicksCoords(),y=u.getMinorTicksCoords(),A=map$1(u.getViewLabels(),function(b){b=clone$5(b);var _=u.scale,w=_.type==="ordinal"?_.getRawOrdinalNumber(b.tickValue):b.tickValue;return b.coord=u.dataToCoord(w),b});fixAngleOverlap(A),fixAngleOverlap(v),each$f(elementList,function(b){o.get([b,"show"])&&(!u.scale.isBlank()||b==="axisLine")&&angelAxisElementsBuilders[b](this.group,o,d,v,y,g,A)},this)}},r.type="angleAxis",r}(AxisView$1),angelAxisElementsBuilders={axisLine:function(t,r,o,a,u,d){var g=r.getModel(["axisLine","lineStyle"]),v=o.getAngleAxis(),y=Math.PI/180,A=v.getExtent(),b=getRadiusIdx(o),_=b?0:1,w,S=Math.abs(A[1]-A[0])===360?"Circle":"Arc";d[_]===0?w=new graphic[S]({shape:{cx:o.cx,cy:o.cy,r:d[b],startAngle:-A[0]*y,endAngle:-A[1]*y,clockwise:v.inverse},style:g.getLineStyle(),z2:1,silent:!0}):w=new Ring$1({shape:{cx:o.cx,cy:o.cy,r:d[b],r0:d[_]},style:g.getLineStyle(),z2:1,silent:!0}),w.style.fill=null,t.add(w)},axisTick:function(t,r,o,a,u,d){var g=r.getModel("axisTick"),v=(g.get("inside")?-1:1)*g.get("length"),y=d[getRadiusIdx(o)],A=map$1(a,function(b){return new Line$3({shape:getAxisLineShape(o,[y,y+v],b.coord)})});t.add(mergePath(A,{style:defaults(g.getModel("lineStyle").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,r,o,a,u,d){if(!!u.length){for(var g=r.getModel("axisTick"),v=r.getModel("minorTick"),y=(g.get("inside")?-1:1)*v.get("length"),A=d[getRadiusIdx(o)],b=[],_=0;_E?"left":"right",D=Math.abs(I[1]-F)/T<.3?"middle":I[1]>F?"top":"bottom";if(v&&v[C]){var x=v[C];isObject$3(x)&&x.textStyle&&(S=new Model$1(x.textStyle,y,y.ecModel))}var P=new ZRText$1({silent:AxisBuilder$1.isLabelSilent(r),style:createTextStyle(S,{x:I[0],y:I[1],fill:S.getTextColor()||r.get(["axisLine","lineStyle","color"]),text:_.formattedLabel,align:O,verticalAlign:D})});if(t.add(P),b){var G=AxisBuilder$1.makeAxisEventDataBase(r);G.targetType="axisLabel",G.value=_.rawLabel,getECData(P).eventData=G}},this)},splitLine:function(t,r,o,a,u,d){var g=r.getModel("splitLine"),v=g.getModel("lineStyle"),y=v.get("color"),A=0;y=y instanceof Array?y:[y];for(var b=[],_=0;_=0?"p":"n",U=N;x&&(a[b][B]||(a[b][B]={p:N,n:N}),U=a[b][B][z]);var Q=void 0,X=void 0,J=void 0,ne=void 0;if(C.dim==="radius"){var te=C.dataToCoord(H)-N,ce=y.dataToCoord(B);Math.abs(te)=ne})}}})}function calRadialBar(t){var r={};each$f(t,function(a,u){var d=a.getData(),g=a.coordinateSystem,v=g.getBaseAxis(),y=getAxisKey(g,v),A=v.getExtent(),b=v.type==="category"?v.getBandWidth():Math.abs(A[1]-A[0])/d.count(),_=r[y]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},w=_.stacks;r[y]=_;var S=getSeriesStackId(a);w[S]||_.autoWidthCount++,w[S]=w[S]||{width:0,maxWidth:0};var C=parsePercent(a.get("barWidth"),b),T=parsePercent(a.get("barMaxWidth"),b),I=a.get("barGap"),E=a.get("barCategoryGap");C&&!w[S].width&&(C=Math.min(_.remainedWidth,C),w[S].width=C,_.remainedWidth-=C),T&&(w[S].maxWidth=T),I!=null&&(_.gap=I),E!=null&&(_.categoryGap=E)});var o={};return each$f(r,function(a,u){o[u]={};var d=a.stacks,g=a.bandWidth,v=parsePercent(a.categoryGap,g),y=parsePercent(a.gap,1),A=a.remainedWidth,b=a.autoWidthCount,_=(A-v)/(b+(b-1)*y);_=Math.max(_,0),each$f(d,function(T,I){var E=T.maxWidth;E&&E<_&&(E=Math.min(E,A),T.width&&(E=Math.min(E,T.width)),A-=E,T.width=E,b--)}),_=(A-v)/(b+(b-1)*y),_=Math.max(_,0);var w=0,S;each$f(d,function(T,I){T.width||(T.width=_),S=T,w+=T.width*(1+y)}),S&&(w-=S.width*y);var C=-w/2;each$f(d,function(T,I){o[u][I]=o[u][I]||{offset:C,width:T.width},C+=T.width*(1+y)})}),o}var angleAxisExtraOption={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},radiusAxisExtraOption={splitNumber:5},PolarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="polar",r}(ComponentView$1);function install$o(t){use(install$q),AxisView$1.registerAxisPointerClass("PolarAxisPointer",PolarAxisPointer$1),t.registerCoordinateSystem("polar",polarCreator$1),t.registerComponentModel(PolarModel$1),t.registerComponentView(PolarView),axisModelCreator(t,"angle",AngleAxisModel,angleAxisExtraOption),axisModelCreator(t,"radius",RadiusAxisModel,radiusAxisExtraOption),t.registerComponentView(AngleAxisView$1),t.registerComponentView(RadiusAxisView$1),t.registerLayout(curry$1(barLayoutPolar,"bar"))}function layout$1(t,r){r=r||{};var o=t.coordinateSystem,a=t.axis,u={},d=a.position,g=a.orient,v=o.getRect(),y=[v.x,v.x+v.width,v.y,v.y+v.height],A={horizontal:{top:y[2],bottom:y[3]},vertical:{left:y[0],right:y[1]}};u.position=[g==="vertical"?A.vertical[d]:y[0],g==="horizontal"?A.horizontal[d]:y[3]];var b={horizontal:0,vertical:1};u.rotation=Math.PI/2*b[g];var _={top:-1,bottom:1,right:1,left:-1};u.labelDirection=u.tickDirection=u.nameDirection=_[d],t.get(["axisTick","inside"])&&(u.tickDirection=-u.tickDirection),retrieve(r.labelInside,t.get(["axisLabel","inside"]))&&(u.labelDirection=-u.labelDirection);var w=r.rotate;return w==null&&(w=t.get(["axisLabel","rotate"])),u.labelRotation=d==="top"?-w:w,u.z2=1,u}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine"],SingleAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.axisPointerClass="SingleAxisPointer",o}return r.prototype.render=function(o,a,u,d){var g=this.group;g.removeAll();var v=this._axisGroup;this._axisGroup=new Group$4;var y=layout$1(o),A=new AxisBuilder$1(o,y);each$f(axisBuilderAttrs,A.add,A),g.add(this._axisGroup),g.add(A.getGroup()),each$f(selfBuilderAttrs,function(b){o.get([b,"show"])&&axisElementBuilders[b](this,this.group,this._axisGroup,o)},this),groupTransition(v,this._axisGroup,o),t.prototype.render.call(this,o,a,u,d)},r.prototype.remove=function(){rectCoordAxisHandleRemove(this)},r.type="singleAxis",r}(AxisView$1),axisElementBuilders={splitLine:function(t,r,o,a){var u=a.axis;if(!u.scale.isBlank()){var d=a.getModel("splitLine"),g=d.getModel("lineStyle"),v=g.get("color");v=v instanceof Array?v:[v];for(var y=g.get("width"),A=a.coordinateSystem.getRect(),b=u.isHorizontal(),_=[],w=0,S=u.getTicksCoords({tickModel:d}),C=[],T=[],I=0;I=o.y&&r[1]<=o.y+o.height:a.contain(a.toLocalCoord(r[1]))&&r[0]>=o.y&&r[0]<=o.y+o.height},t.prototype.pointToData=function(r){var o=this.getAxis();return[o.coordToData(o.toLocalCoord(r[o.orient==="horizontal"?0:1]))]},t.prototype.dataToPoint=function(r){var o=this.getAxis(),a=this.getRect(),u=[],d=o.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),u[d]=o.toGlobalCoord(o.dataToCoord(+r)),u[1-d]=d===0?a.y+a.height/2:a.x+a.width/2,u},t.prototype.convertToPixel=function(r,o,a){var u=getCoordSys$1(o);return u===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,o,a){var u=getCoordSys$1(o);return u===this?this.pointToData(a):null},t}();function getCoordSys$1(t){var r=t.seriesModel,o=t.singleAxisModel;return o&&o.coordinateSystem||r&&r.coordinateSystem}function create(t,r){var o=[];return t.eachComponent("singleAxis",function(a,u){var d=new Single(a,t,r);d.name="single_"+u,d.resize(a,r),a.coordinateSystem=d,o.push(d)}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var u=a.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];a.coordinateSystem=u&&u.coordinateSystem}}),o}var singleCreator={create,dimensions:singleDimensions},singleCreator$1=singleCreator,XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis,y=v.coordinateSystem,A=getGlobalExtent(y,1-getPointDimIndex(v)),b=y.dataToPoint(a)[0],_=d.get("type");if(_&&_!=="none"){var w=buildElStyle(d),S=pointerShapeBuilder[_](v,b,A);S.style=w,o.graphicKey=S.type,o.pointer=S}var C=layout$1(u);buildCartesianSingleLabelElOption(a,o,C,u,d,g)},r.prototype.getHandleTransform=function(o,a,u){var d=layout$1(a,{labelInside:!1});d.labelMargin=u.get(["handle","margin"]);var g=getTransformedPosition(a.axis,o,d);return{x:g[0],y:g[1],rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(o,a,u,d){var g=u.axis,v=g.coordinateSystem,y=getPointDimIndex(g),A=getGlobalExtent(v,y),b=[o.x,o.y];b[y]+=a[y],b[y]=Math.min(A[1],b[y]),b[y]=Math.max(A[0],b[y]);var _=getGlobalExtent(v,1-y),w=(_[1]+_[0])/2,S=[w,w];return S[y]=b[y],{x:b[0],y:b[1],rotation:o.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}},r}(BaseAxisPointer$1),pointerShapeBuilder={line:function(t,r,o){var a=makeLineShape([r,o[0]],[r,o[1]],getPointDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,o){var a=t.getBandWidth(),u=o[1]-o[0];return{type:"Rect",shape:makeRectShape([r-a/2,o[0]],[a,u],getPointDimIndex(t))}}};function getPointDimIndex(t){return t.isHorizontal()?0:1}function getGlobalExtent(t,r){var o=t.getRect();return[o[XY$1[r]],o[XY$1[r]]+o[WH$1[r]]]}var SingleAxisPointer$1=SingleAxisPointer,SingleView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="single",r}(ComponentView$1);function install$n(t){use(install$q),AxisView$1.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer$1),t.registerComponentView(SingleView),t.registerComponentView(SingleAxisView$1),t.registerComponentModel(SingleAxisModel$1),axisModelCreator(t,"single",SingleAxisModel$1,SingleAxisModel$1.defaultOption),t.registerCoordinateSystem("single",singleCreator$1)}var CalendarModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a,u){var d=getLayoutParams(o);t.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(o,d)},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,o)},r.prototype.getCellSize=function(){return this.option.cellSize},r.type="calendar",r.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},r}(ComponentModel$1);function mergeAndNormalizeLayoutParams$1(t,r){var o=t.cellSize,a;isArray$1(o)?a=o:a=t.cellSize=[o,o],a.length===1&&(a[1]=a[0]);var u=map$1([0,1],function(d){return sizeCalculable(r,d)&&(a[d]="auto"),a[d]!=null&&a[d]!=="auto"});mergeLayoutParam(t,r,{type:"box",ignoreSize:u})}var CalendarModel$1=CalendarModel,CalendarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group;d.removeAll();var g=o.coordinateSystem,v=g.getRangeInfo(),y=g.getOrient(),A=a.getLocaleModel();this._renderDayRect(o,v,d),this._renderLines(o,v,y,d),this._renderYearText(o,v,y,d),this._renderMonthText(o,A,y,d),this._renderWeekText(o,A,v,y,d)},r.prototype._renderDayRect=function(o,a,u){for(var d=o.coordinateSystem,g=o.getModel("itemStyle").getItemStyle(),v=d.getCellWidth(),y=d.getCellHeight(),A=a.start.time;A<=a.end.time;A=d.getNextNDay(A,1).time){var b=d.dataToRect([A],!1).tl,_=new Rect$3({shape:{x:b[0],y:b[1],width:v,height:y},cursor:"default",style:g});u.add(_)}},r.prototype._renderLines=function(o,a,u,d){var g=this,v=o.coordinateSystem,y=o.getModel(["splitLine","lineStyle"]).getLineStyle(),A=o.get(["splitLine","show"]),b=y.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var _=a.start,w=0;_.time<=a.end.time;w++){C(_.formatedDate),w===0&&(_=v.getDateInfo(a.start.y+"-"+a.start.m));var S=_.date;S.setMonth(S.getMonth()+1),_=v.getDateInfo(S)}C(v.getNextNDay(a.end.time,1).formatedDate);function C(T){g._firstDayOfMonth.push(v.getDateInfo(T)),g._firstDayPoints.push(v.dataToRect([T],!1).tl);var I=g._getLinePointsOfOneWeek(o,T,u);g._tlpoints.push(I[0]),g._blpoints.push(I[I.length-1]),A&&g._drawSplitline(I,y,d)}A&&this._drawSplitline(g._getEdgesPoints(g._tlpoints,b,u),y,d),A&&this._drawSplitline(g._getEdgesPoints(g._blpoints,b,u),y,d)},r.prototype._getEdgesPoints=function(o,a,u){var d=[o[0].slice(),o[o.length-1].slice()],g=u==="horizontal"?0:1;return d[0][g]=d[0][g]-a/2,d[1][g]=d[1][g]+a/2,d},r.prototype._drawSplitline=function(o,a,u){var d=new Polyline$3({z2:20,shape:{points:o},style:a});u.add(d)},r.prototype._getLinePointsOfOneWeek=function(o,a,u){for(var d=o.coordinateSystem,g=d.getDateInfo(a),v=[],y=0;y<7;y++){var A=d.getNextNDay(g.time,y),b=d.dataToRect([A.time],!1);v[2*A.day]=b.tl,v[2*A.day+1]=b[u==="horizontal"?"bl":"tr"]}return v},r.prototype._formatterLabel=function(o,a){return isString$1(o)&&o?formatTplSimple(o,a):isFunction(o)?o(a):a.nameMap},r.prototype._yearTextPositionControl=function(o,a,u,d,g){var v=a[0],y=a[1],A=["center","bottom"];d==="bottom"?(y+=g,A=["center","top"]):d==="left"?v-=g:d==="right"?(v+=g,A=["center","top"]):y-=g;var b=0;return(d==="left"||d==="right")&&(b=Math.PI/2),{rotation:b,x:v,y,style:{align:A[0],verticalAlign:A[1]}}},r.prototype._renderYearText=function(o,a,u,d){var g=o.getModel("yearLabel");if(!!g.get("show")){var v=g.get("margin"),y=g.get("position");y||(y=u!=="horizontal"?"top":"left");var A=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],b=(A[0][0]+A[1][0])/2,_=(A[0][1]+A[1][1])/2,w=u==="horizontal"?0:1,S={top:[b,A[w][1]],bottom:[b,A[1-w][1]],left:[A[1-w][0],_],right:[A[w][0],_]},C=a.start.y;+a.end.y>+a.start.y&&(C=C+"-"+a.end.y);var T=g.get("formatter"),I={start:a.start.y,end:a.end.y,nameMap:C},E=this._formatterLabel(T,I),F=new ZRText$1({z2:30,style:createTextStyle(g,{text:E})});F.attr(this._yearTextPositionControl(F,S[y],u,y,v)),d.add(F)}},r.prototype._monthTextPositionControl=function(o,a,u,d,g){var v="left",y="top",A=o[0],b=o[1];return u==="horizontal"?(b=b+g,a&&(v="center"),d==="start"&&(y="bottom")):(A=A+g,a&&(y="middle"),d==="start"&&(v="right")),{x:A,y:b,align:v,verticalAlign:y}},r.prototype._renderMonthText=function(o,a,u,d){var g=o.getModel("monthLabel");if(!!g.get("show")){var v=g.get("nameMap"),y=g.get("margin"),A=g.get("position"),b=g.get("align"),_=[this._tlpoints,this._blpoints];(!v||isString$1(v))&&(v&&(a=getLocaleModel(v)||a),v=a.get(["time","monthAbbr"])||[]);var w=A==="start"?0:1,S=u==="horizontal"?0:1;y=A==="start"?-y:y;for(var C=b==="center",T=0;T<_[w].length-1;T++){var I=_[w][T].slice(),E=this._firstDayOfMonth[T];if(C){var F=this._firstDayPoints[T];I[S]=(F[S]+_[0][T+1][S])/2}var O=g.get("formatter"),D=v[+E.m-1],x={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:D},P=this._formatterLabel(O,x),G=new ZRText$1({z2:30,style:extend(createTextStyle(g,{text:P}),this._monthTextPositionControl(I,C,u,A,y))});d.add(G)}}},r.prototype._weekTextPositionControl=function(o,a,u,d,g){var v="center",y="middle",A=o[0],b=o[1],_=u==="start";return a==="horizontal"?(A=A+d+(_?1:-1)*g[0]/2,v=_?"right":"left"):(b=b+d+(_?1:-1)*g[1]/2,y=_?"bottom":"top"),{x:A,y:b,align:v,verticalAlign:y}},r.prototype._renderWeekText=function(o,a,u,d,g){var v=o.getModel("dayLabel");if(!!v.get("show")){var y=o.coordinateSystem,A=v.get("position"),b=v.get("nameMap"),_=v.get("margin"),w=y.getFirstDayOfWeek();if(!b||isString$1(b)){b&&(a=getLocaleModel(b)||a);var S=a.get(["time","dayOfWeekShort"]);b=S||map$1(a.get(["time","dayOfWeekAbbr"]),function(x){return x[0]})}var C=y.getNextNDay(u.end.time,7-u.lweek).time,T=[y.getCellWidth(),y.getCellHeight()];_=parsePercent(_,Math.min(T[1],T[0])),A==="start"&&(C=y.getNextNDay(u.start.time,-(7+u.fweek)).time,_=-_);for(var I=0;I<7;I++){var E=y.getNextNDay(C,I),F=y.dataToRect([E.time],!1).center,O=I;O=Math.abs((I+w)%7);var D=new ZRText$1({z2:30,style:extend(createTextStyle(v,{text:b[O]}),this._weekTextPositionControl(F,d,A,_,T))});g.add(D)}}},r.type="calendar",r}(ComponentView$1),CalendarView$1=CalendarView,PROXIMATE_ONE_DAY=864e5,Calendar=function(){function t(r,o,a){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=r}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(r){r=parseDate(r);var o=r.getFullYear(),a=r.getMonth()+1,u=a<10?"0"+a:""+a,d=r.getDate(),g=d<10?"0"+d:""+d,v=r.getDay();return v=Math.abs((v+7-this.getFirstDayOfWeek())%7),{y:o+"",m:u,d:g,day:v,time:r.getTime(),formatedDate:o+"-"+u+"-"+g,date:r}},t.prototype.getNextNDay=function(r,o){return o=o||0,o===0?this.getDateInfo(r):(r=new Date(this.getDateInfo(r).time),r.setDate(r.getDate()+o),this.getDateInfo(r))},t.prototype.update=function(r,o){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var a=this._rangeInfo.weeks||1,u=["width","height"],d=this._model.getCellSize().slice(),g=this._model.getBoxLayoutParams(),v=this._orient==="horizontal"?[a,7]:[7,a];each$f([0,1],function(_){b(d,_)&&(g[u[_]]=d[_]*v[_])});var y={width:o.getWidth(),height:o.getHeight()},A=this._rect=getLayoutRect(g,y);each$f([0,1],function(_){b(d,_)||(d[_]=A[u[_]]/v[_])});function b(_,w){return _[w]!=null&&_[w]!=="auto"}this._sw=d[0],this._sh=d[1]},t.prototype.dataToPoint=function(r,o){isArray$1(r)&&(r=r[0]),o==null&&(o=!0);var a=this.getDateInfo(r),u=this._rangeInfo,d=a.formatedDate;if(o&&!(a.time>=u.start.time&&a.timev.end.time&&o.reverse(),o},t.prototype._getRangeInfo=function(r){var o=[this.getDateInfo(r[0]),this.getDateInfo(r[1])],a;o[0].time>o[1].time&&(a=!0,o.reverse());var u=Math.floor(o[1].time/PROXIMATE_ONE_DAY)-Math.floor(o[0].time/PROXIMATE_ONE_DAY)+1,d=new Date(o[0].time),g=d.getDate(),v=o[1].date.getDate();d.setDate(g+u-1);var y=d.getDate();if(y!==v)for(var A=d.getTime()-o[1].time>0?1:-1;(y=d.getDate())!==v&&(d.getTime()-o[1].time)*A>0;)u-=A,d.setDate(y-A);var b=Math.floor((u+o[0].day+6)/7),_=a?-b+1:b-1;return a&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:u,weeks:b,nthWeek:_,fweek:o[0].day,lweek:o[1].day}},t.prototype._getDateByWeeksAndDay=function(r,o,a){var u=this._getRangeInfo(a);if(r>u.weeks||r===0&&ou.lweek)return null;var d=(r-1)*7-u.fweek+o,g=new Date(u.start.time);return g.setDate(+u.start.d+d),this.getDateInfo(g)},t.create=function(r,o){var a=[];return r.eachComponent("calendar",function(u){var d=new t(u);a.push(d),u.coordinateSystem=d}),r.eachSeries(function(u){u.get("coordinateSystem")==="calendar"&&(u.coordinateSystem=a[u.get("calendarIndex")||0])}),a},t.dimensions=["time","value"],t}();function getCoordSys(t){var r=t.calendarModel,o=t.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a}var Calendar$1=Calendar;function install$m(t){t.registerComponentModel(CalendarModel$1),t.registerComponentView(CalendarView$1),t.registerCoordinateSystem("calendar",Calendar$1)}function setKeyInfoToNewElOption(t,r){var o=t.existing;if(r.id=t.keyInfo.id,!r.type&&o&&(r.type=o.type),r.parentId==null){var a=r.parentOption;a?r.parentId=a.id:o&&(r.parentId=o.parentId)}r.parentOption=null}function isSetLoc(t,r){var o;return each$f(r,function(a){t[a]!=null&&t[a]!=="auto"&&(o=!0)}),o}function mergeNewElOptionToExist(t,r,o){var a=extend({},o),u=t[r],d=o.$action||"merge";d==="merge"?u?(merge(u,a,!0),mergeLayoutParam(u,a,{ignoreSize:!0}),copyLayoutParams(o,u),copyTransitionInfo(o,u),copyTransitionInfo(o,u,"shape"),copyTransitionInfo(o,u,"style"),copyTransitionInfo(o,u,"extra"),o.clipPath=u.clipPath):t[r]=a:d==="replace"?t[r]=a:d==="remove"&&u&&(t[r]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(t,r,o){if(o&&(!t[o]&&r[o]&&(t[o]={}),t=t[o],r=r[o]),!(!t||!r))for(var a=o?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,u=0;u=0;b--){var _=u[b],w=convertOptionIdName(_.id,null),S=w!=null?g.get(w):null;if(!!S){var C=S.parent,E=inner$7(C),F=C===d?{width:v,height:y}:{width:E.width,height:E.height},O={},D=positionElement(S,_,F,null,{hv:_.hv,boundingMode:_.bounding},O);if(!inner$7(S).isNew&&D){for(var x=_.transition,P={},G=0;G=0)?P[M]=N:S[M]=N}updateProps$1(S,P,o,0)}else S.attr(O)}}},r.prototype._clear=function(){var o=this,a=this._elMap;a.each(function(u){removeEl$1(u,inner$7(u).option,a,o._lastGraphicModel)}),this._elMap=createHashMap()},r.prototype.dispose=function(){this._clear()},r.type="graphic",r}(ComponentView$1);function newEl(t){var r=hasOwn(nonShapeGraphicElements,t)?nonShapeGraphicElements[t]:getShapeClass(t),o=new r({});return inner$7(o).type=t,o}function createEl(t,r,o,a){var u=newEl(o);return r.add(u),a.set(t,u),inner$7(u).id=t,inner$7(u).isNew=!0,u}function removeEl$1(t,r,o,a){var u=t&&t.parent;u&&(t.type==="group"&&t.traverse(function(d){removeEl$1(d,r,o,a)}),applyLeaveTransition(t,r,a),o.removeKey(inner$7(t).id))}function updateCommonAttrs(t,r,o,a){t.isGroup||each$f([["cursor",Displayable$1.prototype.cursor],["zlevel",a||0],["z",o||0],["z2",0]],function(u){var d=u[0];hasOwn(r,d)?t[d]=retrieve2(r[d],u[1]):t[d]==null&&(t[d]=u[1])}),each$f(keys(r),function(u){if(u.indexOf("on")===0){var d=r[u];t[u]=isFunction(d)?d:null}}),hasOwn(r,"draggable")&&(t.draggable=r.draggable),r.name!=null&&(t.name=r.name),r.id!=null&&(t.id=r.id)}function getCleanedElOption(t){return t=extend({},t),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(r){delete t[r]}),t}function setEventData(t,r,o){var a=getECData(t).eventData;!t.silent&&!t.ignore&&!a&&(a=getECData(t).eventData={componentType:"graphic",componentIndex:r.componentIndex,name:t.name}),a&&(a.info=o.info)}function install$l(t){t.registerComponentModel(GraphicComponentModel),t.registerComponentView(GraphicComponentView),t.registerPreprocessor(function(r){var o=r.graphic;isArray$1(o)?!o[0]||!o[0].elements?r.graphic=[{elements:o}]:r.graphic=[r.graphic[0]]:o&&!o.elements&&(r.graphic=[{elements:[o]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(t){var r=t.get("coordinateSystem");return indexOf$1(SERIES_COORDS,r)>=0}function getAxisMainType(t){return t+"Axis"}function findEffectedDataZooms(t,r){var o=createHashMap(),a=[],u=createHashMap();t.eachComponent({mainType:"dataZoom",query:r},function(b){u.get(b.uid)||v(b)});var d;do d=!1,t.eachComponent("dataZoom",g);while(d);function g(b){!u.get(b.uid)&&y(b)&&(v(b),d=!0)}function v(b){u.set(b.uid,!0),a.push(b),A(b)}function y(b){var _=!1;return b.eachTargetAxis(function(w,S){var C=o.get(w);C&&C[S]&&(_=!0)}),_}function A(b){b.eachTargetAxis(function(_,w){(o.get(_)||o.set(_,[]))[w]=!0})}return a}function collectReferCoordSysModelInfo(t){var r=t.ecModel,o={infoList:[],infoMap:createHashMap()};return t.eachTargetAxis(function(a,u){var d=r.getComponent(getAxisMainType(a),u);if(!!d){var g=d.getCoordSysModel();if(!!g){var v=g.uid,y=o.infoMap.get(v);y||(y={model:g,axisModels:[]},o.infoList.push(y),o.infoMap.set(v,y)),y.axisModels.push(d)}}}),o}var DataZoomAxisInfo=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(r){this.indexMap[r]||(this.indexList.push(r),this.indexMap[r]=!0)},t}(),DataZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._autoThrottle=!0,o._noTarget=!0,o._rangePropMode=["percent","percent"],o}return r.prototype.init=function(o,a,u){var d=retrieveRawOption(o);this.settledOption=d,this.mergeDefaultAndTheme(o,u),this._doInit(d)},r.prototype.mergeOption=function(o){var a=retrieveRawOption(o);merge(this.option,o,!0),merge(this.settledOption,a,!0),this._doInit(a)},r.prototype._doInit=function(o){var a=this.option;this._setDefaultThrottle(o),this._updateRangeUse(o);var u=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(d,g){this._rangePropMode[g]==="value"&&(a[d[0]]=u[d[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var o=this.get("orient",!0),a=this._targetAxisInfoMap=createHashMap(),u=this._fillSpecifiedTargetAxis(a);u?this._orient=o||this._makeAutoOrientByTargetAxis():(this._orient=o||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(d){d.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(o){var a=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(u){var d=this.getReferringComponents(getAxisMainType(u),MULTIPLE_REFERRING);if(!!d.specified){a=!0;var g=new DataZoomAxisInfo;each$f(d.models,function(v){g.add(v.componentIndex)}),o.set(u,g)}},this),a},r.prototype._fillAutoTargetAxisByOrient=function(o,a){var u=this.ecModel,d=!0;if(d){var g=a==="vertical"?"y":"x",v=u.findComponents({mainType:g+"Axis"});y(v,g)}if(d){var v=u.findComponents({mainType:"singleAxis",filter:function(b){return b.get("orient",!0)===a}});y(v,"single")}function y(A,b){var _=A[0];if(!!_){var w=new DataZoomAxisInfo;if(w.add(_.componentIndex),o.set(b,w),d=!1,b==="x"||b==="y"){var S=_.getReferringComponents("grid",SINGLE_REFERRING).models[0];S&&each$f(A,function(C){_.componentIndex!==C.componentIndex&&S===C.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&w.add(C.componentIndex)})}}}d&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(A){if(!!d){var b=u.findComponents({mainType:getAxisMainType(A),filter:function(w){return w.get("type",!0)==="category"}});if(b[0]){var _=new DataZoomAxisInfo;_.add(b[0].componentIndex),o.set(A,_),d=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var o;return this.eachTargetAxis(function(a){!o&&(o=a)},this),o==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(o){if(o.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(o){var a=this._rangePropMode,u=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(d,g){var v=o[d[0]]!=null,y=o[d[1]]!=null;v&&!y?a[g]="percent":!v&&y?a[g]="value":u?a[g]=u[g]:v&&(a[g]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var o;return this.eachTargetAxis(function(a,u){o==null&&(o=this.ecModel.getComponent(getAxisMainType(a),u))},this),o},r.prototype.eachTargetAxis=function(o,a){this._targetAxisInfoMap.each(function(u,d){each$f(u.indexList,function(g){o.call(a,d,g)})})},r.prototype.getAxisProxy=function(o,a){var u=this.getAxisModel(o,a);if(u)return u.__dzAxisProxy},r.prototype.getAxisModel=function(o,a){var u=this._targetAxisInfoMap.get(o);if(u&&u.indexMap[a])return this.ecModel.getComponent(getAxisMainType(o),a)},r.prototype.setRawRange=function(o){var a=this.option,u=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(d){(o[d[0]]!=null||o[d[1]]!=null)&&(a[d[0]]=u[d[0]]=o[d[0]],a[d[1]]=u[d[1]]=o[d[1]])},this),this._updateRangeUse(o)},r.prototype.setCalculatedRange=function(o){var a=this.option;each$f(["start","startValue","end","endValue"],function(u){a[u]=o[u]})},r.prototype.getPercentRange=function(){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataPercentWindow()},r.prototype.getValueRange=function(o,a){if(o==null&&a==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(o,a).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function(o){if(o)return o.__dzAxisProxy;for(var a,u=this._targetAxisInfoMap.keys(),d=0;dg[1];if(O&&!D&&!x)return!0;O&&(I=!0),D&&(C=!0),x&&(T=!0)}return I&&C&&T})}else each$7(b,function(S){if(d==="empty")y.setData(A=A.map(S,function(T){return v(T)?T:NaN}));else{var C={};C[S]=g,A.selectRange(C)}});each$7(b,function(S){A.setApproximateExtent(g,S)})}});function v(y){return y>=g[0]&&y<=g[1]}},t.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},o=this._dataZoomModel,a=this._dataExtent;each$7(["min","max"],function(u){var d=o.get(u+"Span"),g=o.get(u+"ValueSpan");g!=null&&(g=this.getAxisModel().axis.scale.parse(g)),g!=null?d=linearMap$2(a[0]+g,a,[0,100],!0):d!=null&&(g=linearMap$2(d,[0,100],a,!0)-a[0]),r[u+"Span"]=d,r[u+"ValueSpan"]=g},this)},t.prototype._setAxisModel=function(){var r=this.getAxisModel(),o=this._percentWindow,a=this._valueWindow;if(!!o){var u=getPixelPrecision(a,[0,500]);u=Math.min(u,20);var d=r.axis.scale.rawExtentInfo;o[0]!==0&&d.setDeterminedMinMax("min",+a[0].toFixed(u)),o[1]!==100&&d.setDeterminedMinMax("max",+a[1].toFixed(u)),d.freeze()}},t}();function calculateDataExtent(t,r,o){var a=[1/0,-1/0];each$7(o,function(g){unionAxisExtentFromData(a,g.getData(),r)});var u=t.getAxisModel(),d=ensureScaleRawExtentInfo(u.axis.scale,u,a).calculate();return[d.min,d.max]}var AxisProxy$1=AxisProxy,dataZoomProcessor={getTargetSeries:function(t){function r(u){t.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(g,v){var y=t.getComponent(getAxisMainType(g),v);u(g,v,y,d)})})}r(function(u,d,g,v){g.__dzAxisProxy=null});var o=[];r(function(u,d,g,v){g.__dzAxisProxy||(g.__dzAxisProxy=new AxisProxy$1(u,d,v,t),o.push(g.__dzAxisProxy))});var a=createHashMap();return each$f(o,function(u){each$f(u.getTargetSeriesModels(),function(d){a.set(d.uid,d)})}),a},overallReset:function(t,r){t.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(a,u){o.getAxisProxy(a,u).reset(o)}),o.eachTargetAxis(function(a,u){o.getAxisProxy(a,u).filterData(o,r)})}),t.eachComponent("dataZoom",function(o){var a=o.findRepresentativeAxisProxy();if(a){var u=a.getDataPercentWindow(),d=a.getDataValueWindow();o.setCalculatedRange({start:u[0],end:u[1],startValue:d[0],endValue:d[1]})}})}},dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(t){t.registerAction("dataZoom",function(r,o){var a=findEffectedDataZooms(o,r);each$f(a,function(u){u.setRawRange({start:r.start,end:r.end,startValue:r.startValue,endValue:r.endValue})})})}var installed$1=!1;function installCommon$1(t){installed$1||(installed$1=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor$1),installDataZoomAction(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$k(t){t.registerComponentModel(SelectZoomModel),t.registerComponentView(SelectZoomView),installCommon$1(t)}var ToolboxFeature=function(){function t(){}return t}(),features={};function registerFeature(t,r){features[t]=r}function getFeature(t){return features[t]}var ToolboxModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var o=this.ecModel;each$f(this.option.feature,function(a,u){var d=getFeature(u);d&&(d.getDefaultOption&&(d.defaultOption=d.getDefaultOption(o)),merge(a,d.defaultOption))})},r.type="toolbox",r.layoutMode={type:"box",ignoreSize:!0},r.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},r}(ComponentModel$1),ToolboxModel$1=ToolboxModel;function layout(t,r,o){var a=r.getBoxLayoutParams(),u=r.get("padding"),d={width:o.getWidth(),height:o.getHeight()},g=getLayoutRect(a,d,u);box(r.get("orient"),t,r.get("itemGap"),g.width,g.height),positionElement(t,a,d,u)}function makeBackground(t,r){var o=normalizeCssArray(r.get("padding")),a=r.getItemStyle(["color","opacity"]);return a.fill=r.get("backgroundColor"),t=new Rect$3({shape:{x:t.x-o[3],y:t.y-o[0],width:t.width+o[1]+o[3],height:t.height+o[0]+o[2],r:r.get("borderRadius")},style:a,silent:!0,z2:-1}),t}var ToolboxView=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u,d){var g=this.group;if(g.removeAll(),!o.get("show"))return;var v=+o.get("itemSize"),y=o.get("orient")==="vertical",A=o.get("feature")||{},b=this._features||(this._features={}),_=[];each$f(A,function(C,T){_.push(T)}),new DataDiffer$1(this._featureNames||[],_).add(w).update(w).remove(curry$1(w,null)).execute(),this._featureNames=_;function w(C,T){var I=_[C],E=_[T],F=A[I],O=new Model$1(F,o,o.ecModel),D;if(d&&d.newTitle!=null&&d.featureName===I&&(F.title=d.newTitle),I&&!E){if(isUserFeatureName(I))D={onclick:O.option.onclick,featureName:I};else{var x=getFeature(I);if(!x)return;D=new x}b[I]=D}else if(D=b[E],!D)return;D.uid=getUID("toolbox-feature"),D.model=O,D.ecModel=a,D.api=u;var P=D instanceof ToolboxFeature;if(!I&&E){P&&D.dispose&&D.dispose(a,u);return}if(!O.get("show")||P&&D.unusable){P&&D.remove&&D.remove(a,u);return}S(O,D,I),O.setIconStatus=function(G,M){var N=this.option,V=this.iconPaths;N.iconStatus=N.iconStatus||{},N.iconStatus[G]=M,V[G]&&(M==="emphasis"?enterEmphasis:leaveEmphasis)(V[G])},D instanceof ToolboxFeature&&D.render&&D.render(O,a,u,d)}function S(C,T,I){var E=C.getModel("iconStyle"),F=C.getModel(["emphasis","iconStyle"]),O=T instanceof ToolboxFeature&&T.getIcons?T.getIcons():C.get("icon"),D=C.get("title")||{},x,P;isString$1(O)?(x={},x[I]=O):x=O,isString$1(D)?(P={},P[I]=D):P=D;var G=C.iconPaths={};each$f(x,function(M,N){var V=createIcon(M,{},{x:-v/2,y:-v/2,width:v,height:v});V.setStyle(E.getItemStyle());var Y=V.ensureState("emphasis");Y.style=F.getItemStyle();var H=new ZRText$1({style:{text:P[N],align:F.get("textAlign"),borderRadius:F.get("textBorderRadius"),padding:F.get("textPadding"),fill:null,font:getFont({fontStyle:F.get("textFontStyle"),fontFamily:F.get("textFontFamily"),fontSize:F.get("textFontSize"),fontWeight:F.get("textFontWeight")},a)},ignore:!0});V.setTextContent(H),setTooltipConfig({el:V,componentModel:o,itemName:N,formatterParamsExtra:{title:P[N]}}),V.__title=P[N],V.on("mouseover",function(){var B=F.getItemStyle(),z=y?o.get("right")==null&&o.get("left")!=="right"?"right":"left":o.get("bottom")==null&&o.get("top")!=="bottom"?"bottom":"top";H.setStyle({fill:F.get("textFill")||B.fill||B.stroke||"#000",backgroundColor:F.get("textBackgroundColor")}),V.setTextConfig({position:F.get("textPosition")||z}),H.ignore=!o.get("showTitle"),u.enterEmphasis(this)}).on("mouseout",function(){C.get(["iconStatus",N])!=="emphasis"&&u.leaveEmphasis(this),H.hide()}),(C.get(["iconStatus",N])==="emphasis"?enterEmphasis:leaveEmphasis)(V),g.add(V),V.on("click",bind$1(T.onclick,T,a,u,N)),G[N]=V})}layout(g,o,u),g.add(makeBackground(g.getBoundingRect(),o)),y||g.eachChild(function(C){var T=C.__title,I=C.ensureState("emphasis"),E=I.textConfig||(I.textConfig={}),F=C.getTextContent(),O=F&&F.ensureState("emphasis");if(O&&!isFunction(O)&&T){var D=O.style||(O.style={}),x=getBoundingRect(T,ZRText$1.makeFont(D)),P=C.x+g.x,G=C.y+g.y+v,M=!1;G+x.height>u.getHeight()&&(E.position="top",M=!0);var N=M?-5-x.height:v+10;P+x.width/2>u.getWidth()?(E.position=["100%",N],D.align="right"):P-x.width/2<0&&(E.position=[0,N],D.align="left")}})},r.prototype.updateView=function(o,a,u,d){each$f(this._features,function(g){g instanceof ToolboxFeature&&g.updateView&&g.updateView(g.model,a,u,d)})},r.prototype.remove=function(o,a){each$f(this._features,function(u){u instanceof ToolboxFeature&&u.remove&&u.remove(o,a)}),this.group.removeAll()},r.prototype.dispose=function(o,a){each$f(this._features,function(u){u instanceof ToolboxFeature&&u.dispose&&u.dispose(o,a)})},r.type="toolbox",r}(ComponentView$1);function isUserFeatureName(t){return t.indexOf("my")===0}var ToolboxView$1=ToolboxView,SaveAsImage=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(o,a){var u=this.model,d=u.get("name")||o.get("title.0.text")||"echarts",g=a.getZr().painter.getType()==="svg",v=g?"svg":u.get("type",!0)||"png",y=a.getConnectedDataURL({type:v,backgroundColor:u.get("backgroundColor",!0)||o.get("backgroundColor")||"#fff",connectedBackgroundColor:u.get("connectedBackgroundColor"),excludeComponents:u.get("excludeComponents"),pixelRatio:u.get("pixelRatio")}),A=env$1.browser;if(typeof MouseEvent=="function"&&(A.newEdge||!A.ie&&!A.edge)){var b=document.createElement("a");b.download=d+"."+v,b.target="_blank",b.href=y;var _=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(_)}else if(window.navigator.msSaveOrOpenBlob||g){var w=y.split(","),S=w[0].indexOf("base64")>-1,C=g?decodeURIComponent(w[1]):w[1];S&&(C=window.atob(C));var T=d+"."+v;if(window.navigator.msSaveOrOpenBlob){for(var I=C.length,E=new Uint8Array(I);I--;)E[I]=C.charCodeAt(I);var F=new Blob([E]);window.navigator.msSaveOrOpenBlob(F,T)}else{var O=document.createElement("iframe");document.body.appendChild(O);var D=O.contentWindow,x=D.document;x.open("image/svg+xml","replace"),x.write(C),x.close(),D.focus(),x.execCommand("SaveAs",!0,T),document.body.removeChild(O)}}else{var P=u.get("lang"),G='',M=window.open();M.document.write(G),M.document.title=d}},r.getDefaultOption=function(o){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:o.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},r}(ToolboxFeature),SaveAsImage$1=SaveAsImage,INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getIcons=function(){var o=this.model,a=o.get("icon"),u={};return each$f(o.get("type"),function(d){a[d]&&(u[d]=a[d])}),u},r.getDefaultOption=function(o){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:o.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},r.prototype.onclick=function(o,a,u){var d=this.model,g=d.get(["seriesIndex",u]);if(!!seriesOptGenreator[u]){var v={series:[]},y=function(_){var w=_.subType,S=_.id,C=seriesOptGenreator[u](w,S,_,d);C&&(defaults(C,_.option),v.series.push(C));var T=_.coordinateSystem;if(T&&T.type==="cartesian2d"&&(u==="line"||u==="bar")){var I=T.getAxesByScale("ordinal")[0];if(I){var E=I.dim,F=E+"Axis",O=_.getReferringComponents(F,SINGLE_REFERRING).models[0],D=O.componentIndex;v[F]=v[F]||[];for(var x=0;x<=D;x++)v[F][D]=v[F][D]||{};v[F][D].boundaryGap=u==="bar"}}};each$f(radioTypes,function(_){indexOf$1(_,u)>=0&&each$f(_,function(w){d.setIconStatus(w,"normal")})}),d.setIconStatus(u,"emphasis"),o.eachComponent({mainType:"series",query:g==null?null:{seriesIndex:g}},y);var A,b=u;u==="stack"&&(A=merge({stack:d.option.title.tiled,tiled:d.option.title.stack},d.option.title),d.get(["iconStatus",u])!=="emphasis"&&(b="tiled")),a.dispatchAction({type:"changeMagicType",currentType:b,newOption:v,newTitle:A,featureName:"magicType"})}},r}(ToolboxFeature),seriesOptGenreator={line:function(t,r,o,a){if(t==="bar")return merge({id:r,type:"line",data:o.get("data"),stack:o.get("stack"),markPoint:o.get("markPoint"),markLine:o.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,r,o,a){if(t==="line")return merge({id:r,type:"bar",data:o.get("data"),stack:o.get("stack"),markPoint:o.get("markPoint"),markLine:o.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,r,o,a){var u=o.get("stack")===INNER_STACK_KEYWORD;if(t==="line"||t==="bar")return a.setIconStatus("stack",u?"normal":"emphasis"),merge({id:r,stack:u?"":INNER_STACK_KEYWORD},a.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,r){r.mergeOption(t.newOption)});var MagicType$1=MagicType,BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(t){var r={},o=[],a=[];return t.eachRawSeries(function(u){var d=u.coordinateSystem;if(d&&(d.type==="cartesian2d"||d.type==="polar")){var g=d.getBaseAxis();if(g.type==="category"){var v=g.dim+"_"+g.index;r[v]||(r[v]={categoryAxis:g,valueAxis:d.getOtherAxis(g),series:[]},a.push({axisDim:g.dim,axisIndex:g.index})),r[v].series.push(u)}else o.push(u)}else o.push(u)}),{seriesGroupByCategoryAxis:r,other:o,meta:a}}function assembleSeriesWithCategoryAxis(t){var r=[];return each$f(t,function(o,a){var u=o.categoryAxis,d=o.valueAxis,g=d.dim,v=[" "].concat(map$1(o.series,function(S){return S.name})),y=[u.model.getCategories()];each$f(o.series,function(S){var C=S.getRawData();y.push(S.getRawData().mapArray(C.mapDimension(g),function(T){return T}))});for(var A=[v.join(ITEM_SPLITER)],b=0;b0,I={api:a,geo:y,mapOrGeoModel:r,data:v,isVisualEncodedByVisualMap:T,isGeo:g,transformInfoRaw:w};y.resourceType==="geoJSON"?this._buildGeoJSON(I):y.resourceType==="geoSVG"&&this._buildSVG(I),this._updateController(r,o,a),this._updateMapSelectHandler(r,A,a,u)},t.prototype._buildGeoJSON=function(r){var o=this._regionsGroupByName=createHashMap(),a=createHashMap(),u=this._regionsGroup,d=r.transformInfoRaw,g=r.mapOrGeoModel,v=r.data,y=r.geo.projection,A=y&&y.stream;function b(S,C){return C&&(S=C(S)),S&&[S[0]*d.scaleX+d.x,S[1]*d.scaleY+d.y]}function _(S){for(var C=[],T=!A&&y&&y.project,I=0;I=0)&&(w=u);var S=g?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle(r,getLabelStatesModels(a),{labelFetcher:w,labelDataIndex:_,defaultText:o},S);var C=r.getTextContent();if(C&&(mapLabelRaw(C).ignore=C.ignore,r.textConfig&&g)){var T=r.getBoundingRect().clone();r.textConfig.layoutRect=T,r.textConfig.position=[(g[0]-T.x)/T.width*100+"%",(g[1]-T.y)/T.height*100+"%"]}r.disableLabelAnimation=!0}else r.removeTextContent(),r.removeTextConfig(),r.disableLabelAnimation=null}function resetEventTriggerForRegion(t,r,o,a,u,d){t.data?t.data.setItemGraphicEl(d,r):getECData(r).eventData={componentType:"geo",componentIndex:u.componentIndex,geoIndex:u.componentIndex,name:o,region:a&&a.option||{}}}function resetTooltipForRegion(t,r,o,a,u){t.data||setTooltipConfig({el:r,componentModel:u,itemName:o,itemTooltipOption:a.get("tooltip")})}function resetStateTriggerForRegion(t,r,o,a,u){r.highDownSilentOnTouch=!!u.get("selectedMode");var d=a.getModel("emphasis"),g=d.get("focus");return toggleHoverEmphasis(r,g,d.get("blurScope"),d.get("disabled")),t.isGeo&&enableComponentHighDownFeatures(r,u,o),g}function projectPolys(t,r,o){var a=[],u;function d(){u=[]}function g(){u.length&&(a.push(u),u=[])}var v=r({polygonStart:d,polygonEnd:g,lineStart:d,lineEnd:g,point:function(y,A){isFinite(y)&&isFinite(A)&&u.push([y,A])},sphere:function(){}});return!o&&v.polygonStart(),each$f(t,function(y){v.lineStart();for(var A=0;A-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),u},r.type="series.map",r.dependencies=["geo"],r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},r}(SeriesModel$1),MapSeries$1=MapSeries;function dataStatistics(t,r){var o={};return each$f(t,function(a){a.each(a.mapDimension("value"),function(u,d){var g="ec-"+a.getName(d);o[g]=o[g]||[],isNaN(u)||o[g].push(u)})}),t[0].map(t[0].mapDimension("value"),function(a,u){for(var d="ec-"+t[0].getName(u),g=0,v=1/0,y=-1/0,A=o[d].length,b=0;b1?(D.width=O,D.height=O/I):(D.height=O,D.width=O*I),D.y=F[1]-D.height/2,D.x=F[0]-D.width/2;else{var x=t.getBoxLayoutParams();x.aspect=I,D=getLayoutRect(x,{width:C,height:T})}this.setViewRect(D.x,D.y,D.width,D.height),this.setCenter(t.get("center"),r),this.setZoom(t.get("zoom"))}function setGeoCoords(t,r){each$f(r.get("geoCoord"),function(o,a){t.addGeoCoord(a,o)})}var GeoCreator=function(){function t(){this.dimensions=geo2DDimensions}return t.prototype.create=function(r,o){var a=[];function u(g){return{nameProperty:g.get("nameProperty"),aspectScale:g.get("aspectScale"),projection:g.get("projection")}}r.eachComponent("geo",function(g,v){var y=g.get("map"),A=new Geo$1(y+v,y,extend({nameMap:g.get("nameMap")},u(g)));A.zoomLimit=g.get("scaleLimit"),a.push(A),g.coordinateSystem=A,A.model=g,A.resize=resizeGeo,A.resize(g,o)}),r.eachSeries(function(g){var v=g.get("coordinateSystem");if(v==="geo"){var y=g.get("geoIndex")||0;g.coordinateSystem=a[y]}});var d={};return r.eachSeriesByType("map",function(g){if(!g.getHostGeoModel()){var v=g.getMapType();d[v]=d[v]||[],d[v].push(g)}}),each$f(d,function(g,v){var y=map$1(g,function(b){return b.get("nameMap")}),A=new Geo$1(v,v,extend({nameMap:mergeAll(y)},u(g[0])));A.zoomLimit=retrieve.apply(null,map$1(g,function(b){return b.get("scaleLimit")})),a.push(A),A.resize=resizeGeo,A.resize(g[0],o),each$f(g,function(b){b.coordinateSystem=A,setGeoCoords(A,b)})}),a},t.prototype.getFilledRegions=function(r,o,a,u){for(var d=(r||[]).slice(),g=createHashMap(),v=0;v=0;g--){var v=u[g];v.hierNode={defaultAncestor:null,ancestor:v,prelim:0,modifier:0,change:0,shift:0,i:g,thread:null},o.push(v)}}function firstWalk(t,r){var o=t.isExpand?t.children:[],a=t.parentNode.children,u=t.hierNode.i?a[t.hierNode.i-1]:null;if(o.length){executeShifts(t);var d=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;u?(t.hierNode.prelim=u.hierNode.prelim+r(t,u),t.hierNode.modifier=t.hierNode.prelim-d):t.hierNode.prelim=d}else u&&(t.hierNode.prelim=u.hierNode.prelim+r(t,u));t.parentNode.hierNode.defaultAncestor=apportion(t,u,t.parentNode.hierNode.defaultAncestor||a[0],r)}function secondWalk(t){var r=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:r},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function separation(t){return arguments.length?t:defaultSeparation}function radialCoordinate(t,r){return t-=Math.PI/2,{x:r*Math.cos(t),y:r*Math.sin(t)}}function getViewRect$4(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function executeShifts(t){for(var r=t.children,o=r.length,a=0,u=0;--o>=0;){var d=r[o];d.hierNode.prelim+=a,d.hierNode.modifier+=a,u+=d.hierNode.change,a+=d.hierNode.shift+u}}function apportion(t,r,o,a){if(r){for(var u=t,d=t,g=d.parentNode.children[0],v=r,y=u.hierNode.modifier,A=d.hierNode.modifier,b=g.hierNode.modifier,_=v.hierNode.modifier;v=nextRight(v),d=nextLeft(d),v&&d;){u=nextRight(u),g=nextLeft(g),u.hierNode.ancestor=t;var w=v.hierNode.prelim+_-d.hierNode.prelim-A+a(v,d);w>0&&(moveSubtree(nextAncestor(v,t,o),t,w),A+=w,y+=w),_+=v.hierNode.modifier,A+=d.hierNode.modifier,y+=u.hierNode.modifier,b+=g.hierNode.modifier}v&&!nextRight(u)&&(u.hierNode.thread=v,u.hierNode.modifier+=_-y),d&&!nextLeft(g)&&(g.hierNode.thread=d,g.hierNode.modifier+=A-b,o=t)}return o}function nextRight(t){var r=t.children;return r.length&&t.isExpand?r[r.length-1]:t.hierNode.thread}function nextLeft(t){var r=t.children;return r.length&&t.isExpand?r[0]:t.hierNode.thread}function nextAncestor(t,r,o){return t.hierNode.ancestor.parentNode===r.parentNode?t.hierNode.ancestor:o}function moveSubtree(t,r,o){var a=o/(r.hierNode.i-t.hierNode.i);r.hierNode.change-=a,r.hierNode.shift+=o,r.hierNode.modifier+=o,r.hierNode.prelim+=o,t.hierNode.change+=a}function defaultSeparation(t,r){return t.parentNode===r.parentNode?1:2}var TreeEdgeShape=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),TreePath=function(t){__extends$1(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new TreeEdgeShape},r.prototype.buildPath=function(o,a){var u=a.childPoints,d=u.length,g=a.parentPoint,v=u[0],y=u[d-1];if(d===1){o.moveTo(g[0],g[1]),o.lineTo(v[0],v[1]);return}var A=a.orient,b=A==="TB"||A==="BT"?0:1,_=1-b,w=parsePercent(a.forkPosition,1),S=[];S[b]=g[b],S[_]=g[_]+(y[_]-g[_])*w,o.moveTo(g[0],g[1]),o.lineTo(S[0],S[1]),o.moveTo(v[0],v[1]),S[b]=v[b],o.lineTo(S[0],S[1]),S[b]=y[b],o.lineTo(S[0],S[1]),o.lineTo(y[0],y[1]);for(var C=1;CF.x,x||(D=D-Math.PI));var G=x?"left":"right",M=v.getModel("label"),N=M.get("rotate"),V=N*(Math.PI/180),Z=I.getTextContent();Z&&(I.setTextConfig({position:M.get("position")||G,rotation:N==null?-D:V,origin:"center"}),Z.setStyle("verticalAlign","middle"))}var H=v.get(["emphasis","focus"]),B=H==="relative"?concatArray(g.getAncestorsIndices(),g.getDescendantIndices()):H==="ancestor"?g.getAncestorsIndices():H==="descendant"?g.getDescendantIndices():null;B&&(getECData(o).focus=B),drawEdge(u,g,b,o,C,S,T,a),o.__edge&&(o.onHoverStateChange=function(z){if(z!=="blur"){var U=g.parentNode&&t.getItemGraphicEl(g.parentNode.dataIndex);U&&U.hoverState===HOVER_STATE_BLUR||setStatesFlag(o.__edge,z)}})}function drawEdge(t,r,o,a,u,d,g,v){var y=r.getModel(),A=t.get("edgeShape"),b=t.get("layout"),_=t.getOrient(),w=t.get(["lineStyle","curveness"]),S=t.get("edgeForkPosition"),C=y.getModel("lineStyle").getLineStyle(),T=a.__edge;if(A==="curve")r.parentNode&&r.parentNode!==o&&(T||(T=a.__edge=new BezierCurve$1({shape:getEdgeShape(b,_,w,u,u)})),updateProps$1(T,{shape:getEdgeShape(b,_,w,d,g)},t));else if(A==="polyline"&&b==="orthogonal"&&r!==o&&r.children&&r.children.length!==0&&r.isExpand===!0){for(var I=r.children,E=[],F=0;Fo&&(o=u.height)}this.height=o+1},t.prototype.getNodeById=function(r){if(this.getId()===r)return this;for(var o=0,a=this.children,u=a.length;o=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,o)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(r){if(!(this.dataIndex<0)){var o=this.hostTree,a=o.data.getItemModel(this.dataIndex);return a.getModel(r)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,o)},t.prototype.getVisual=function(r){return this.hostTree.data.getItemVisual(this.dataIndex,r)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var r=this.parentNode.children,o=0;o=0){var a=o.getData().tree.root,u=t.targetNode;if(isString$1(u)&&(u=a.getNodeById(u)),u&&a.contains(u))return{node:u};var d=t.targetNodeId;if(d!=null&&(u=a.getNodeById(d)))return{node:u}}}function getPathToRoot(t){for(var r=[];t;)t=t.parentNode,t&&r.push(t);return r.reverse()}function aboveViewRoot(t,r){var o=getPathToRoot(t);return indexOf$1(o,r)>=0}function wrapTreePathInfo(t,r){for(var o=[];t;){var a=t.dataIndex;o.push({name:t.name,dataIndex:a,value:r.getRawValue(a)}),t=t.parentNode}return o.reverse(),o}var TreeSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.hasSymbolVisual=!0,o.ignoreStyleOnData=!0,o}return r.prototype.getInitialData=function(o){var a={name:o.name,children:o.data},u=o.leaves||{},d=new Model$1(u,this,this.ecModel),g=Tree$1.createTree(a,this,v);function v(_){_.wrapMethod("getItemModel",function(w,S){var C=g.getNodeByDataIndex(S);return C&&C.children.length&&C.isExpand||(w.parentModel=d),w})}var y=0;g.eachNode("preorder",function(_){_.depth>y&&(y=_.depth)});var A=o.expandAndCollapse,b=A&&o.initialTreeDepth>=0?o.initialTreeDepth:y;return g.root.eachNode("preorder",function(_){var w=_.hostTree.data.getRawDataItem(_.dataIndex);_.isExpand=w&&w.collapsed!=null?!w.collapsed:_.depth<=b}),g.data},r.prototype.getOrient=function(){var o=this.get("orient");return o==="horizontal"?o="LR":o==="vertical"&&(o="TB"),o},r.prototype.setZoom=function(o){this.option.zoom=o},r.prototype.setCenter=function(o){this.option.center=o},r.prototype.formatTooltip=function(o,a,u){for(var d=this.getData().tree,g=d.root.children[0],v=d.getNodeByDataIndex(o),y=v.getValue(),A=v.name;v&&v!==g;)A=v.parentNode.name+"."+A,v=v.parentNode;return createTooltipMarkup("nameValue",{name:A,value:y,noValue:isNaN(y)||y==null})},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treeAncestors=wrapTreePathInfo(u,this),a.collapsed=!u.isExpand,a},r.type="series.tree",r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},r}(SeriesModel$1),TreeSeriesModel$1=TreeSeriesModel;function eachAfter(t,r,o){for(var a=[t],u=[],d;d=a.pop();)if(u.push(d),d.isExpand){var g=d.children;if(g.length)for(var v=0;v=0;d--)o.push(u[d])}}function treeLayout(t,r){t.eachSeriesByType("tree",function(o){commonLayout(o,r)})}function commonLayout(t,r){var o=getViewRect$4(t,r);t.layoutInfo=o;var a=t.get("layout"),u=0,d=0,g=null;a==="radial"?(u=2*Math.PI,d=Math.min(o.height,o.width)/2,g=separation(function(O,D){return(O.parentNode===D.parentNode?1:2)/O.depth})):(u=o.width,d=o.height,g=separation());var v=t.getData().tree.root,y=v.children[0];if(y){init(v),eachAfter(y,firstWalk,g),v.hierNode.modifier=-y.hierNode.prelim,eachBefore(y,secondWalk);var A=y,b=y,_=y;eachBefore(y,function(O){var D=O.getLayout().x;Db.getLayout().x&&(b=O),O.depth>_.depth&&(_=O)});var w=A===b?1:g(A,b)/2,S=w-A.getLayout().x,C=0,T=0,I=0,E=0;if(a==="radial")C=u/(b.getLayout().x+w+S),T=d/(_.depth-1||1),eachBefore(y,function(O){I=(O.getLayout().x+S)*C,E=(O.depth-1)*T;var D=radialCoordinate(I,E);O.setLayout({x:D.x,y:D.y,rawX:I,rawY:E},!0)});else{var F=t.getOrient();F==="RL"||F==="LR"?(T=d/(b.getLayout().x+w+S),C=u/(_.depth-1||1),eachBefore(y,function(O){E=(O.getLayout().x+S)*T,I=F==="LR"?(O.depth-1)*C:u-(O.depth-1)*C,O.setLayout({x:I,y:E},!0)})):(F==="TB"||F==="BT")&&(C=u/(b.getLayout().x+w+S),T=d/(_.depth-1||1),eachBefore(y,function(O){I=(O.getLayout().x+S)*C,E=F==="TB"?(O.depth-1)*T:d-(O.depth-1)*T,O.setLayout({x:I,y:E},!0)}))}}}function treeVisual(t){t.eachSeriesByType("tree",function(r){var o=r.getData(),a=o.tree;a.eachNode(function(u){var d=u.getModel(),g=d.getModel("itemStyle").getItemStyle(),v=o.ensureUniqueItemVisual(u.dataIndex,"style");extend(v,g)})})}function installTreeAction(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(r,o){o.eachComponent({mainType:"series",subType:"tree",query:r},function(a){var u=r.dataIndex,d=a.getData().tree,g=d.getNodeByDataIndex(u);g.isExpand=!g.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(r,o,a){o.eachComponent({mainType:"series",subType:"tree",query:r},function(u){var d=u.coordinateSystem,g=updateCenterAndZoom(d,r,void 0,a);u.setCenter&&u.setCenter(g.center),u.setZoom&&u.setZoom(g.zoom)})})}function install$H(t){t.registerChartView(TreeView$1),t.registerSeriesModel(TreeSeriesModel$1),t.registerLayout(treeLayout),t.registerVisual(treeVisual),installTreeAction(t)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(t){for(var r=0;r1;)d=d.parentNode;var g=getDecalFromPalette(t.ecModel,d.name||d.dataIndex+"",a);u.setVisual("decal",g)})}var TreemapSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.preventUsingHoverLayer=!0,o}return r.prototype.getInitialData=function(o,a){var u={name:o.name,children:o.data};completeTreeValue$1(u);var d=o.levels||[],g=this.designatedVisualItemStyle={},v=new Model$1({itemStyle:g},this,a);d=o.levels=setDefault(d,a);var y=map$1(d||[],function(_){return new Model$1(_,v,a)},this),A=Tree$1.createTree(u,this,b);function b(_){_.wrapMethod("getItemModel",function(w,S){var C=A.getNodeByDataIndex(S),T=C?y[C.depth]:null;return w.parentModel=T||v,w})}return A.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.formatTooltip=function(o,a,u){var d=this.getData(),g=this.getRawValue(o),v=d.getName(o);return createTooltipMarkup("nameValue",{name:v,value:g})},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treeAncestors=wrapTreePathInfo(u,this),a.treePathInfo=a.treeAncestors,a},r.prototype.setLayoutInfo=function(o){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,o)},r.prototype.mapIdToIndex=function(o){var a=this._idIndexMap;a||(a=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var u=a.get(o);return u==null&&a.set(o,u=this._idIndexMapCount++),u},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(o){o?this._viewRoot=o:o=this._viewRoot;var a=this.getRawData().tree.root;(!o||o!==a&&!a.contains(o))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.treemap",r.layoutMode="box",r.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},r}(SeriesModel$1);function completeTreeValue$1(t){var r=0;each$f(t.children,function(a){completeTreeValue$1(a);var u=a.value;isArray$1(u)&&(u=u[0]),r+=u});var o=t.value;isArray$1(o)&&(o=o[0]),(o==null||isNaN(o))&&(o=r),o<0&&(o=0),isArray$1(t.value)?t.value[0]=o:t.value=o}function setDefault(t,r){var o=normalizeToArray(r.get("color")),a=normalizeToArray(r.get(["aria","decal","decals"]));if(!!o){t=t||[];var u,d;each$f(t,function(v){var y=new Model$1(v),A=y.get("color"),b=y.get("decal");(y.get(["itemStyle","color"])||A&&A!=="none")&&(u=!0),(y.get(["itemStyle","decal"])||b&&b!=="none")&&(d=!0)});var g=t[0]||(t[0]={});return u||(g.color=o.slice()),!d&&a&&(g.decal=a.slice()),t}}var TreemapSeriesModel$1=TreemapSeriesModel,TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function t(r){this.group=new Group$4,r.add(this.group)}return t.prototype.render=function(r,o,a,u){var d=r.getModel("breadcrumb"),g=this.group;if(g.removeAll(),!(!d.get("show")||!a)){var v=d.getModel("itemStyle"),y=d.getModel("emphasis"),A=v.getModel("textStyle"),b=y.getModel(["itemStyle","textStyle"]),_={pos:{left:d.get("left"),right:d.get("right"),top:d.get("top"),bottom:d.get("bottom")},box:{width:o.getWidth(),height:o.getHeight()},emptyItemWidth:d.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,_,A),this._renderContent(r,_,v,y,A,b,u),positionElement(g,_.pos,_.box)}},t.prototype._prepare=function(r,o,a){for(var u=r;u;u=u.parentNode){var d=convertOptionIdName(u.getModel().get("name"),""),g=a.getTextRect(d),v=Math.max(g.width+TEXT_PADDING*2,o.emptyItemWidth);o.totalWidth+=v+ITEM_GAP,o.renderList.push({node:u,text:d,width:v})}},t.prototype._renderContent=function(r,o,a,u,d,g,v){for(var y=0,A=o.emptyItemWidth,b=r.get(["breadcrumb","height"]),_=getAvailableSize(o.pos,o.box),w=o.totalWidth,S=o.renderList,C=u.getModel("itemStyle").getItemStyle(),T=S.length-1;T>=0;T--){var I=S[T],E=I.node,F=I.width,O=I.text;w>_.width&&(w-=F-A,F=A,O=null);var D=new Polygon$1({shape:{points:makeItemPoints(y,0,F,b,T===S.length-1,T===0)},style:defaults(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText$1({style:createTextStyle(d,{text:O})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(v,E)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=createTextStyle(g,{text:O}),D.ensureState("emphasis").style=C,toggleHoverEmphasis(D,u.get("focus"),u.get("blurScope"),u.get("disabled")),this.group.add(D),packEventData(D,r,E),y+=F+ITEM_GAP}},t.prototype.remove=function(){this.group.removeAll()},t}();function makeItemPoints(t,r,o,a,u,d){var g=[[u?t:t-ARRAY_LENGTH,r],[t+o,r],[t+o,r+a],[u?t:t-ARRAY_LENGTH,r+a]];return!d&&g.splice(2,0,[t+o+ARRAY_LENGTH,r+a/2]),!u&&g.push([t,r+a/2]),g}function packEventData(t,r,o){getECData(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:o&&o.dataIndex,name:o&&o.name},treePathInfo:o&&wrapTreePathInfo(o,r)}}var Breadcrumb$1=Breadcrumb,AnimationWrap=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(r,o,a,u,d){return this._elExistsMap[r.id]?!1:(this._elExistsMap[r.id]=!0,this._storage.push({el:r,target:o,duration:a,delay:u,easing:d}),!0)},t.prototype.finished=function(r){return this._finishedCallback=r,this},t.prototype.start=function(){for(var r=this,o=this._storage.length,a=function(){o--,o<=0&&(r._storage.length=0,r._elExistsMap={},r._finishedCallback&&r._finishedCallback())},u=0,d=this._storage.length;uDRAG_THRESHOLD||Math.abs(o.dy)>DRAG_THRESHOLD)){var a=this.seriesModel.getData().tree.root;if(!a)return;var u=a.getLayout();if(!u)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:u.x+o.dx,y:u.y+o.dy,width:u.width,height:u.height}})}},r.prototype._onZoom=function(o){var a=o.originX,u=o.originY,d=o.scale;if(this._state!=="animating"){var g=this.seriesModel.getData().tree.root;if(!g)return;var v=g.getLayout();if(!v)return;var y=new BoundingRect$1(v.x,v.y,v.width,v.height),A=null,b=this._controllerHost;A=b.zoomLimit;var _=b.zoom=b.zoom||1;if(_*=d,A){var w=A.min||0,S=A.max||1/0;_=Math.max(Math.min(S,_),w)}var C=_/b.zoom;b.zoom=_;var T=this.seriesModel.layoutInfo;a-=T.x,u-=T.y;var I=create$1();translate(I,I,[-a,-u]),scale$1(I,I,[C,C]),translate(I,I,[a,u]),y.applyTransform(I),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:y.x,y:y.y,width:y.width,height:y.height}})}},r.prototype._initEvents=function(o){var a=this;o.on("click",function(u){if(a._state==="ready"){var d=a.seriesModel.get("nodeClick",!0);if(!!d){var g=a.findTarget(u.offsetX,u.offsetY);if(!!g){var v=g.node;if(v.getLayout().isLeafRoot)a._rootToNode(g);else if(d==="zoomToNode")a._zoomToNode(g);else if(d==="link"){var y=v.hostTree.data.getItemModel(v.dataIndex),A=y.get("link",!0),b=y.get("target",!0)||"blank";A&&windowOpen(A,b)}}}}},this)},r.prototype._renderBreadcrumb=function(o,a,u){var d=this;u||(u=o.get("leafDepth",!0)!=null?{node:o.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),u||(u={node:o.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb$1(this.group))).render(o,a,u.node,function(g){d._state!=="animating"&&(aboveViewRoot(o.getViewRoot(),g)?d._rootToNode({node:g}):d._zoomToNode({node:g}))})},r.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},r.prototype.dispose=function(){this._clearController()},r.prototype._zoomToNode=function(o){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:o.node})},r.prototype._rootToNode=function(o){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:o.node})},r.prototype.findTarget=function(o,a){var u,d=this.seriesModel.getViewRoot();return d.eachNode({attr:"viewChildren",order:"preorder"},function(g){var v=this._storage.background[g.getRawIndex()];if(v){var y=v.transformCoordToLocal(o,a),A=v.shape;if(A.x<=y[0]&&y[0]<=A.x+A.width&&A.y<=y[1]&&y[1]<=A.y+A.height)u={node:g,offsetX:y[0],offsetY:y[1]};else return!1}},this),u},r.type="treemap",r}(ChartView$1);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(t,r,o,a,u,d,g,v,y,A){if(!g)return;var b=g.getLayout(),_=t.getData(),w=g.getModel();if(_.setItemGraphicEl(g.dataIndex,null),!b||!b.isInView)return;var S=b.width,C=b.height,T=b.borderWidth,I=b.invisible,E=g.getRawIndex(),F=v&&v.getRawIndex(),O=g.viewChildren,D=b.upperHeight,x=O&&O.length,P=w.getModel("itemStyle"),G=w.getModel(["emphasis","itemStyle"]),M=w.getModel(["blur","itemStyle"]),N=w.getModel(["select","itemStyle"]),V=P.get("borderRadius")||0,Z=he("nodeGroup",Group$2);if(!Z)return;if(y.add(Z),Z.x=b.x||0,Z.y=b.y||0,Z.markRedraw(),inner$d(Z).nodeWidth=S,inner$d(Z).nodeHeight=C,b.isAboveViewRoot)return Z;var H=he("background",Rect$1,A,Z2_BG);H&&ne(Z,H,x&&b.upperLabelHeight);var B=w.getModel("emphasis"),z=B.get("focus"),U=B.get("blurScope"),Q=B.get("disabled"),X=z==="ancestor"?g.getAncestorsIndices():z==="descendant"?g.getDescendantIndices():z;if(x)isHighDownDispatcher(Z)&&setAsHighDownDispatcher(Z,!1),H&&(setAsHighDownDispatcher(H,!Q),_.setItemGraphicEl(g.dataIndex,H),enableHoverFocus(H,X,U));else{var J=he("content",Rect$1,A,Z2_CONTENT);J&&te(Z,J),H.disableMorphing=!0,H&&isHighDownDispatcher(H)&&setAsHighDownDispatcher(H,!1),setAsHighDownDispatcher(Z,!Q),_.setItemGraphicEl(g.dataIndex,Z),enableHoverFocus(Z,X,U)}return Z;function ne(pe,ae,ve){var we=getECData(ae);if(we.dataIndex=g.dataIndex,we.seriesIndex=t.seriesIndex,ae.setShape({x:0,y:0,width:S,height:C,r:V}),I)ce(ae);else{ae.invisible=!1;var _e=g.getVisual("style"),Te=_e.stroke,Ce=getItemStyleNormal(P);Ce.fill=Te;var Ae=getStateItemStyle(G);Ae.fill=G.get("borderColor");var Ee=getStateItemStyle(M);Ee.fill=M.get("borderColor");var le=getStateItemStyle(N);if(le.fill=N.get("borderColor"),ve){var re=S-2*T;se(ae,Te,_e.opacity,{x:T,y:0,width:re,height:D})}else ae.removeTextContent();ae.setStyle(Ce),ae.ensureState("emphasis").style=Ae,ae.ensureState("blur").style=Ee,ae.ensureState("select").style=le,setDefaultStateProxy(ae)}pe.add(ae)}function te(pe,ae){var ve=getECData(ae);ve.dataIndex=g.dataIndex,ve.seriesIndex=t.seriesIndex;var we=Math.max(S-2*T,0),_e=Math.max(C-2*T,0);if(ae.culling=!0,ae.setShape({x:T,y:T,width:we,height:_e,r:V}),I)ce(ae);else{ae.invisible=!1;var Te=g.getVisual("style"),Ce=Te.fill,Ae=getItemStyleNormal(P);Ae.fill=Ce,Ae.decal=Te.decal;var Ee=getStateItemStyle(G),le=getStateItemStyle(M),re=getStateItemStyle(N);se(ae,Ce,Te.opacity,null),ae.setStyle(Ae),ae.ensureState("emphasis").style=Ee,ae.ensureState("blur").style=le,ae.ensureState("select").style=re,setDefaultStateProxy(ae)}pe.add(ae)}function ce(pe){!pe.invisible&&d.push(pe)}function se(pe,ae,ve,we){var _e=w.getModel(we?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),Te=convertOptionIdName(w.get("name"),null),Ce=_e.getShallow("show");setLabelStyle(pe,getLabelStatesModels(w,we?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Ce?Te:null,inheritColor:ae,defaultOpacity:ve,labelFetcher:t,labelDataIndex:g.dataIndex});var Ae=pe.getTextContent();if(!!Ae){var Ee=Ae.style,le=normalizeCssArray$1(Ee.padding||0);we&&(pe.setTextConfig({layoutRect:we}),Ae.disableLabelLayout=!0),Ae.beforeUpdate=function(){var ue=Math.max((we?we.width:pe.shape.width)-le[1]-le[3],0),be=Math.max((we?we.height:pe.shape.height)-le[0]-le[2],0);(Ee.width!==ue||Ee.height!==be)&&Ae.setStyle({width:ue,height:be})},Ee.truncateMinChar=2,Ee.lineOverflow="truncate",ge(Ee,we,b);var re=Ae.getState("emphasis");ge(re?re.style:null,we,b)}}function ge(pe,ae,ve){var we=pe?pe.text:null;if(!ae&&ve.isLeafRoot&&we!=null){var _e=t.get("drillDownIcon",!0);pe.text=_e?_e+" "+we:we}}function he(pe,ae,ve,we){var _e=F!=null&&o[pe][F],Te=u[pe];return _e?(o[pe][F]=null,ye(Te,_e)):I||(_e=new ae,_e instanceof Displayable$1&&(_e.z2=calculateZ2(ve,we)),ee(Te,_e)),r[pe][E]=_e}function ye(pe,ae){var ve=pe[E]={};ae instanceof Group$2?(ve.oldX=ae.x,ve.oldY=ae.y):ve.oldShape=extend({},ae.shape)}function ee(pe,ae){var ve=pe[E]={},we=g.parentNode,_e=ae instanceof Group$4;if(we&&(!a||a.direction==="drillDown")){var Te=0,Ce=0,Ae=u.background[we.getRawIndex()];!a&&Ae&&Ae.oldShape&&(Te=Ae.oldShape.width,Ce=Ae.oldShape.height),_e?(ve.oldX=0,ve.oldY=Ce):ve.oldShape={x:Te,y:Ce,width:0,height:0}}ve.fadein=!_e}}function calculateZ2(t,r){return t*Z2_BASE+r}var TreemapView$1=TreemapView,each$c=each$f,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function t(r){var o=r.mappingMethod,a=r.type,u=this.option=clone$5(r);this.type=a,this.mappingMethod=o,this._normalizeData=normalizers[o];var d=t.visualHandlers[a];this.applyVisual=d.applyVisual,this.getColorMapper=d.getColorMapper,this._normalizedToVisual=d._normalizedToVisual[o],o==="piecewise"?(normalizeVisualRange(u),preprocessForPiecewise(u)):o==="category"?u.categories?preprocessForSpecifiedCategory(u):normalizeVisualRange(u,!0):(assert(o!=="linear"||u.dataExtent),normalizeVisualRange(u))}return t.prototype.mapValueToVisual=function(r){var o=this._normalizeData(r);return this._normalizedToVisual(o,r)},t.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},t.listVisualTypes=function(){return keys(t.visualHandlers)},t.isValidType=function(r){return t.visualHandlers.hasOwnProperty(r)},t.eachVisual=function(r,o,a){isObject$3(r)?each$f(r,o,a):o.call(a,r)},t.mapVisual=function(r,o,a){var u,d=isArray$1(r)?[]:isObject$3(r)?{}:(u=!0,null);return t.eachVisual(r,function(g,v){var y=o.call(a,g,v);u?d=y:d[v]=y}),d},t.retrieveVisuals=function(r){var o={},a;return r&&each$c(t.visualHandlers,function(u,d){r.hasOwnProperty(d)&&(o[d]=r[d],a=!0)}),a?o:null},t.prepareVisualTypes=function(r){if(isArray$1(r))r=r.slice();else if(isObject(r)){var o=[];each$c(r,function(a,u){o.push(u)}),r=o}else return[];return r.sort(function(a,u){return u==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),r},t.dependsOn=function(r,o){return o==="color"?!!(r&&r.indexOf(o)===0):r===o},t.findPieceIndex=function(r,o,a){for(var u,d=1/0,g=0,v=o.length;g=0;d--)a[d]==null&&(delete o[r[d]],r.pop())}function normalizeVisualRange(t,r){var o=t.visual,a=[];isObject$3(o)?each$c(o,function(d){a.push(d)}):o!=null&&a.push(o);var u={color:1,symbol:1};!r&&a.length===1&&!u.hasOwnProperty(t.type)&&(a[1]=a[0]),setVisualToOption(t,a)}function makePartialColorVisualHandler(t){return{applyVisual:function(r,o,a){var u=this.mapValueToVisual(r);a("color",t(o("color"),u))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(t){var r=this.option.visual;return r[Math.round(linearMap$2(t,[0,1],[0,r.length-1],!0))]||{}}function makeApplyVisual(t){return function(r,o,a){a(t,this.mapValueToVisual(r))}}function doMapCategory(t){var r=this.option.visual;return r[this.option.loop&&t!==CATEGORY_DEFAULT_VISUAL_INDEX?t%r.length:t]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(t){return{linear:function(r){return linearMap$2(r,t,this.option.visual,!0)},category:doMapCategory,piecewise:function(r,o){var a=getSpecifiedVisual.call(this,o);return a==null&&(a=linearMap$2(r,t,this.option.visual,!0)),a},fixed:doMapFixed}}function getSpecifiedVisual(t){var r=this.option,o=r.pieceList;if(r.hasSpecialVisual){var a=VisualMapping.findPieceIndex(t,o),u=o[a];if(u&&u.visual)return u.visual[this.type]}}function setVisualToOption(t,r){return t.visual=r,t.type==="color"&&(t.parsedVisual=map$1(r,function(o){var a=parse$1(o);return a||[0,0,0,1]})),r}var normalizers={linear:function(t){return linearMap$2(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var r=this.option.pieceList,o=VisualMapping.findPieceIndex(t,r,!0);if(o!=null)return linearMap$2(o,[0,r.length-1],[0,1],!0)},category:function(t){var r=this.option.categories?this.option.categoryMap[t]:t;return r==null?CATEGORY_DEFAULT_VISUAL_INDEX:r},fixed:noop};function littleThan(t,r,o){return t?r<=o:r=o.length||T===o[T.depth]){var E=mapVisual$1(u,y,T,I,C,a);travelTree(T,E,o,a)}})}}}function buildVisuals(t,r,o){var a=extend({},r),u=o.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(d){u[d]=r[d];var g=t.get(d);u[d]=null,g!=null&&(a[d]=g)}),a}function calculateColor(t){var r=getValueVisualDefine(t,"color");if(r){var o=getValueVisualDefine(t,"colorAlpha"),a=getValueVisualDefine(t,"colorSaturation");return a&&(r=modifyHSL(r,null,null,a)),o&&(r=modifyAlpha(r,o)),r}}function calculateBorderColor(t,r){return r!=null?modifyHSL(r,null,null,t):null}function getValueVisualDefine(t,r){var o=t[r];if(o!=null&&o!=="none")return o}function buildVisualMapping(t,r,o,a,u,d){if(!(!d||!d.length)){var g=getRangeVisual(r,"color")||u.color!=null&&u.color!=="none"&&(getRangeVisual(r,"colorAlpha")||getRangeVisual(r,"colorSaturation"));if(!!g){var v=r.get("visualMin"),y=r.get("visualMax"),A=o.dataExtent.slice();v!=null&&vA[1]&&(A[1]=y);var b=r.get("colorMappingBy"),_={type:g.name,dataExtent:A,visual:g.range};_.type==="color"&&(b==="index"||b==="id")?(_.mappingMethod="category",_.loop=!0):_.mappingMethod="linear";var w=new VisualMapping$1(_);return inner$c(w).drColorMappingBy=b,w}}}function getRangeVisual(t,r){var o=t.get(r);return isArray$1(o)&&o.length?{name:r,range:o}:null}function mapVisual$1(t,r,o,a,u,d){var g=extend({},r);if(u){var v=u.type,y=v==="color"&&inner$c(u).drColorMappingBy,A=y==="index"?a:y==="id"?d.mapIdToIndex(o.getId()):o.getValue(t.get("visualDimension"));g[v]=u.mapValueToVisual(A)}return g}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"],treemapLayout={seriesType:"treemap",reset:function(t,r,o,a){var u=o.getWidth(),d=o.getHeight(),g=t.option,v=getLayoutRect(t.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()}),y=g.size||[],A=parsePercent(retrieveValue(v.width,y[0]),u),b=parsePercent(retrieveValue(v.height,y[1]),d),_=a&&a.type,w=["treemapZoomToNode","treemapRootToNode"],S=retrieveTargetInfo(a,w,t),C=_==="treemapRender"||_==="treemapMove"?a.rootRect:null,T=t.getViewRoot(),I=getPathToRoot(T);if(_!=="treemapMove"){var E=_==="treemapZoomToNode"?estimateRootSize(t,S,T,A,b):C?[C.width,C.height]:[A,b],F=g.sort;F&&F!=="asc"&&F!=="desc"&&(F="desc");var O={squareRatio:g.squareRatio,sort:F,leafDepth:g.leafDepth};T.hostTree.clearLayouts();var D={x:0,y:0,width:E[0],height:E[1],area:E[0]*E[1]};T.setLayout(D),squarify(T,O,!1,0),D=T.getLayout(),each$b(I,function(P,G){var M=(I[G+1]||T).getValue();P.setLayout(extend({dataExtent:[M,M],borderWidth:0,upperHeight:0},D))})}var x=t.getData().tree.root;x.setLayout(calculateRootPosition(v,C,S),!0),t.setLayoutInfo(v),prunning(x,new BoundingRect$1(-v.x,-v.y,u,d),I,T,0)}};function squarify(t,r,o,a){var u,d;if(!t.isRemoved()){var g=t.getLayout();u=g.width,d=g.height;var v=t.getModel(),y=v.get(PATH_BORDER_WIDTH),A=v.get(PATH_GAP_WIDTH)/2,b=getUpperLabelHeight(v),_=Math.max(y,b),w=y-A,S=_-A;t.setLayout({borderWidth:y,upperHeight:_,upperLabelHeight:b},!0),u=mathMax$3(u-2*w,0),d=mathMax$3(d-w-S,0);var C=u*d,T=initChildren$1(t,v,C,r,o,a);if(!!T.length){var I={x:w,y:S,width:u,height:d},E=mathMin$3(u,d),F=1/0,O=[];O.area=0;for(var D=0,x=T.length;D=0;y--){var A=u[a==="asc"?g-y-1:y].getValue();A/o*rv[1]&&(v[1]=A)})),{sum:a,dataExtent:v}}function worst(t,r,o){for(var a=0,u=1/0,d=0,g=void 0,v=t.length;da&&(a=g));var y=t.area*t.area,A=r*r*o;return y?mathMax$3(A*a/y,y/(A*u)):1/0}function position(t,r,o,a,u){var d=r===o.width?0:1,g=1-d,v=["x","y"],y=["width","height"],A=o[v[d]],b=r?t.area/r:0;(u||b>o[y[g]])&&(b=o[y[g]]);for(var _=0,w=t.length;_MAX_SAFE_INTEGER&&(A=MAX_SAFE_INTEGER),d=v}Aa&&(a=r);var d=a%2?a+2:a+3;u=[];for(var g=0;g0&&(x[0]=-x[0],x[1]=-x[1]);var G=D[0]<0?-1:1;if(d.__position!=="start"&&d.__position!=="end"){var M=-Math.atan2(D[1],D[0]);_[0].8?"left":w[0]<-.8?"right":"center",T=w[1]>.8?"top":w[1]<-.8?"bottom":"middle";break;case"start":d.x=-w[0]*E+b[0],d.y=-w[1]*F+b[1],C=w[0]>.8?"right":w[0]<-.8?"left":"center",T=w[1]>.8?"bottom":w[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":d.x=E*G+b[0],d.y=b[1]+N,C=D[0]<0?"right":"left",d.originX=-E*G,d.originY=-N;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":d.x=P[0],d.y=P[1]+N,C="center",d.originY=-N;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":d.x=-E*G+_[0],d.y=_[1]+N,C=D[0]>=0?"right":"left",d.originX=E*G,d.originY=-N;break}d.scaleX=d.scaleY=g,d.setStyle({verticalAlign:d.__verticalAlign||T,align:d.__align||C})}},r}(Group$4),Line$1=Line,LineDraw=function(){function t(r){this.group=new Group$4,this._LineCtor=r||Line$1}return t.prototype.updateData=function(r){var o=this;this._progressiveEls=null;var a=this,u=a.group,d=a._lineData;a._lineData=r,d||u.removeAll();var g=makeSeriesScope$1(r);r.diff(d).add(function(v){o._doAdd(r,v,g)}).update(function(v,y){o._doUpdate(d,r,y,v,g)}).remove(function(v){u.remove(d.getItemGraphicEl(v))}).execute()},t.prototype.updateLayout=function(){var r=this._lineData;!r||r.eachItemGraphicEl(function(o,a){o.updateLayout(r,a)},this)},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$1(r),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,o){this._progressiveEls=[];function a(v){!v.isGroup&&!isEffectObject(v)&&(v.incremental=!0,v.ensureState("emphasis").hoverLayer=!0)}for(var u=r.start;u0}function makeSeriesScope$1(t){var r=t.hostModel,o=r.getModel("emphasis");return{lineStyle:r.getModel("lineStyle").getLineStyle(),emphasisLineStyle:o.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:r.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:r.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:o.get("disabled"),blurScope:o.get("blurScope"),focus:o.get("focus"),labelStatesModels:getLabelStatesModels(r)}}function isPointNaN(t){return isNaN(t[0])||isNaN(t[1])}function lineNeedsDraw(t){return t&&!isPointNaN(t[0])&&!isPointNaN(t[1])}var LineDraw$1=LineDraw,v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(t,r,o){for(var a=t[0],u=t[1],d=t[2],g=1/0,v,y=o*o,A=.1,b=.1;b<=.9;b+=.1){v1[0]=quadraticAt(a[0],u[0],d[0],b),v1[1]=quadraticAt(a[1],u[1],d[1],b);var _=mathAbs(v2DistSquare(v1,r)-y);_=0?v=v+A:v=v-A:C>=0?v=v-A:v=v+A}return v}function adjustEdge(t,r){var o=[],a=quadraticSubdivide,u=[[],[],[]],d=[[],[]],g=[];r/=2,t.eachEdge(function(v,y){var A=v.getLayout(),b=v.getVisual("fromSymbol"),_=v.getVisual("toSymbol");A.__original||(A.__original=[clone$4(A[0]),clone$4(A[1])],A[2]&&A.__original.push(clone$4(A[2])));var w=A.__original;if(A[2]!=null){if(copy$1(u[0],w[0]),copy$1(u[1],w[2]),copy$1(u[2],w[1]),b&&b!=="none"){var S=getSymbolSize(v.node1),C=intersectCurveCircle(u,w[0],S*r);a(u[0][0],u[1][0],u[2][0],C,o),u[0][0]=o[3],u[1][0]=o[4],a(u[0][1],u[1][1],u[2][1],C,o),u[0][1]=o[3],u[1][1]=o[4]}if(_&&_!=="none"){var S=getSymbolSize(v.node2),C=intersectCurveCircle(u,w[1],S*r);a(u[0][0],u[1][0],u[2][0],C,o),u[1][0]=o[1],u[2][0]=o[2],a(u[0][1],u[1][1],u[2][1],C,o),u[1][1]=o[1],u[2][1]=o[2]}copy$1(A[0],u[0]),copy$1(A[1],u[2]),copy$1(A[2],u[1])}else{if(copy$1(d[0],w[0]),copy$1(d[1],w[1]),sub(g,d[1],d[0]),normalize$3(g,g),b&&b!=="none"){var S=getSymbolSize(v.node1);scaleAndAdd$1(d[0],d[0],g,S*r)}if(_&&_!=="none"){var S=getSymbolSize(v.node2);scaleAndAdd$1(d[1],d[1],g,-S*r)}copy$1(A[0],d[0]),copy$1(A[1],d[1])}})}function isViewCoordSys(t){return t.type==="view"}var GraphView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){var u=new SymbolDraw$1,d=new LineDraw$1,g=this.group;this._controller=new RoamController$1(a.getZr()),this._controllerHost={target:g},g.add(u.group),g.add(d.group),this._symbolDraw=u,this._lineDraw=d,this._firstRender=!0},r.prototype.render=function(o,a,u){var d=this,g=o.coordinateSystem;this._model=o;var v=this._symbolDraw,y=this._lineDraw,A=this.group;if(isViewCoordSys(g)){var b={x:g.x,y:g.y,scaleX:g.scaleX,scaleY:g.scaleY};this._firstRender?A.attr(b):updateProps$1(A,b,o)}adjustEdge(o.getGraph(),getNodeGlobalScale(o));var _=o.getData();v.updateData(_);var w=o.getEdgeData();y.updateData(w),this._updateNodeAndLinkScale(),this._updateController(o,a,u),clearTimeout(this._layoutTimeout);var S=o.forceLayout,C=o.get(["force","layoutAnimation"]);S&&this._startForceLayoutIteration(S,C);var T=o.get("layout");_.graph.eachNode(function(O){var D=O.dataIndex,x=O.getGraphicEl(),P=O.getModel();if(!!x){x.off("drag").off("dragend");var G=P.get("draggable");G&&x.on("drag",function(N){switch(T){case"force":S.warmUp(),!d._layouting&&d._startForceLayoutIteration(S,C),S.setFixed(D),_.setItemLayout(D,[x.x,x.y]);break;case"circular":_.setItemLayout(D,[x.x,x.y]),O.setLayout({fixed:!0},!0),circularLayout(o,"symbolSize",O,[N.offsetX,N.offsetY]),d.updateLayout(o);break;case"none":default:_.setItemLayout(D,[x.x,x.y]),simpleLayoutEdge(o.getGraph(),o),d.updateLayout(o);break}}).on("dragend",function(){S&&S.setUnfixed(D)}),x.setDraggable(G,!!P.get("cursor"));var M=P.get(["emphasis","focus"]);M==="adjacency"&&(getECData(x).focus=O.getAdjacentDataIndices())}}),_.graph.eachEdge(function(O){var D=O.getGraphicEl(),x=O.getModel().get(["emphasis","focus"]);!D||x==="adjacency"&&(getECData(D).focus={edge:[O.dataIndex],node:[O.node1.dataIndex,O.node2.dataIndex]})});var I=o.get("layout")==="circular"&&o.get(["circular","rotateLabel"]),E=_.getLayout("cx"),F=_.getLayout("cy");_.graph.eachNode(function(O){rotateNodeLabel(O,I,E,F)}),this._firstRender=!1},r.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},r.prototype._startForceLayoutIteration=function(o,a){var u=this;(function d(){o.step(function(g){u.updateLayout(u._model),(u._layouting=!g)&&(a?u._layoutTimeout=setTimeout(d,16):d())})})()},r.prototype._updateController=function(o,a,u){var d=this,g=this._controller,v=this._controllerHost,y=this.group;if(g.setPointerChecker(function(A,b,_){var w=y.getBoundingRect();return w.applyTransform(y.transform),w.contain(b,_)&&!onIrrelevantElement(A,u,o)}),!isViewCoordSys(o.coordinateSystem)){g.disable();return}g.enable(o.get("roam")),v.zoomLimit=o.get("scaleLimit"),v.zoom=o.coordinateSystem.getZoom(),g.off("pan").off("zoom").on("pan",function(A){updateViewOnPan(v,A.dx,A.dy),u.dispatchAction({seriesId:o.id,type:"graphRoam",dx:A.dx,dy:A.dy})}).on("zoom",function(A){updateViewOnZoom(v,A.scale,A.originX,A.originY),u.dispatchAction({seriesId:o.id,type:"graphRoam",zoom:A.scale,originX:A.originX,originY:A.originY}),d._updateNodeAndLinkScale(),adjustEdge(o.getGraph(),getNodeGlobalScale(o)),d._lineDraw.updateLayout(),u.updateLabelLayout()})},r.prototype._updateNodeAndLinkScale=function(){var o=this._model,a=o.getData(),u=getNodeGlobalScale(o);a.eachItemGraphicEl(function(d,g){d&&d.setSymbolScale(u)})},r.prototype.updateLayout=function(o){adjustEdge(o.getGraph(),getNodeGlobalScale(o)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},r.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},r.type="graph",r}(ChartView$1),GraphView$1=GraphView;function generateNodeKey(t){return"_EC_"+t}var Graph=function(){function t(r){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=r||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(r,o){r=r==null?""+o:""+r;var a=this._nodesMap;if(!a[generateNodeKey(r)]){var u=new GraphNode(r,o);return u.hostGraph=this,this.nodes.push(u),a[generateNodeKey(r)]=u,u}},t.prototype.getNodeByIndex=function(r){var o=this.data.getRawIndex(r);return this.nodes[o]},t.prototype.getNodeById=function(r){return this._nodesMap[generateNodeKey(r)]},t.prototype.addEdge=function(r,o,a){var u=this._nodesMap,d=this._edgesMap;if(isNumber$1(r)&&(r=this.nodes[r]),isNumber$1(o)&&(o=this.nodes[o]),r instanceof GraphNode||(r=u[generateNodeKey(r)]),o instanceof GraphNode||(o=u[generateNodeKey(o)]),!(!r||!o)){var g=r.id+"-"+o.id,v=new GraphEdge(r,o,a);return v.hostGraph=this,this._directed&&(r.outEdges.push(v),o.inEdges.push(v)),r.edges.push(v),r!==o&&o.edges.push(v),this.edges.push(v),d[g]=v,v}},t.prototype.getEdgeByIndex=function(r){var o=this.edgeData.getRawIndex(r);return this.edges[o]},t.prototype.getEdge=function(r,o){r instanceof GraphNode&&(r=r.id),o instanceof GraphNode&&(o=o.id);var a=this._edgesMap;return this._directed?a[r+"-"+o]:a[r+"-"+o]||a[o+"-"+r]},t.prototype.eachNode=function(r,o){for(var a=this.nodes,u=a.length,d=0;d=0&&r.call(o,a[d],d)},t.prototype.eachEdge=function(r,o){for(var a=this.edges,u=a.length,d=0;d=0&&a[d].node1.dataIndex>=0&&a[d].node2.dataIndex>=0&&r.call(o,a[d],d)},t.prototype.breadthFirstTraverse=function(r,o,a,u){if(o instanceof GraphNode||(o=this._nodesMap[generateNodeKey(o)]),!!o){for(var d=a==="out"?"outEdges":a==="in"?"inEdges":"edges",g=0;g=0&&y.node2.dataIndex>=0});for(var d=0,g=u.length;d=0&&this[t][r].setItemVisual(this.dataIndex,o,a)},getVisual:function(o){return this[t][r].getItemVisual(this.dataIndex,o)},setLayout:function(o,a){this.dataIndex>=0&&this[t][r].setItemLayout(this.dataIndex,o,a)},getLayout:function(){return this[t][r].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][r].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][r].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));var Graph$1=Graph;function createGraphFromNodeEdge(t,r,o,a,u){for(var d=new Graph$1(a),g=0;g "+w)),A++)}var S=o.get("coordinateSystem"),C;if(S==="cartesian2d"||S==="polar")C=createSeriesData(t,o);else{var T=CoordinateSystem.get(S),I=T?T.dimensions||[]:[];indexOf$1(I,"value")<0&&I.concat(["value"]);var E=prepareSeriesDataSchema(t,{coordDimensions:I,encodeDefine:o.getEncode()}).dimensions;C=new SeriesData$1(E,o),C.initData(t)}var F=new SeriesData$1(["value"],o);return F.initData(y,v),u&&u(C,F),linkSeriesData({mainData:C,struct:d,structAttr:"graph",datas:{node:C,edge:F},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}var GraphSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments);var a=this;function u(){return a._categoriesData}this.legendVisualProvider=new LegendVisualProvider$1(u,u),this.fillDataTextStyle(o.edges||o.links),this._updateCategoriesData()},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(o.edges||o.links),this._updateCategoriesData()},r.prototype.mergeDefaultAndTheme=function(o){t.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(o,"edgeLabel",["show"])},r.prototype.getInitialData=function(o,a){var u=o.edges||o.links||[],d=o.data||o.nodes||[],g=this;if(d&&u){initCurvenessList(this);var v=createGraphFromNodeEdge(d,u,this,!0,y);return each$f(v.edges,function(A){createEdgeMapForCurveness(A.node1,A.node2,this,A.dataIndex)},this),v.data}function y(A,b){A.wrapMethod("getItemModel",function(C){var T=g._categoriesModels,I=C.getShallow("category"),E=T[I];return E&&(E.parentModel=C.parentModel,C.parentModel=E),C});var _=Model$1.prototype.getModel;function w(C,T){var I=_.call(this,C,T);return I.resolveParentPath=S,I}b.wrapMethod("getItemModel",function(C){return C.resolveParentPath=S,C.getModel=w,C});function S(C){if(C&&(C[0]==="label"||C[1]==="label")){var T=C.slice();return C[0]==="label"?T[0]="edgeLabel":C[1]==="label"&&(T[1]="edgeLabel"),T}return C}}},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.getCategoriesData=function(){return this._categoriesData},r.prototype.formatTooltip=function(o,a,u){if(u==="edge"){var d=this.getData(),g=this.getDataParams(o,u),v=d.graph.getEdgeByIndex(o),y=d.getName(v.node1.dataIndex),A=d.getName(v.node2.dataIndex),b=[];return y!=null&&b.push(y),A!=null&&b.push(A),createTooltipMarkup("nameValue",{name:b.join(" > "),value:g.value,noValue:g.value==null})}var _=defaultSeriesFormatTooltip({series:this,dataIndex:o,multipleSeries:a});return _},r.prototype._updateCategoriesData=function(){var o=map$1(this.option.categories||[],function(u){return u.value!=null?u:extend({value:0},u)}),a=new SeriesData$1(["value"],this);a.initData(o),this._categoriesData=a,this._categoriesModels=a.mapArray(function(u){return a.getItemModel(u)})},r.prototype.setZoom=function(o){this.option.zoom=o},r.prototype.setCenter=function(o){this.option.center=o},r.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},r.type="series.graph",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),GraphSeriesModel$1=GraphSeriesModel,actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$F(t){t.registerChartView(GraphView$1),t.registerSeriesModel(GraphSeriesModel$1),t.registerProcessor(categoryFilter),t.registerVisual(categoryVisual),t.registerVisual(graphEdgeVisual),t.registerLayout(graphSimpleLayout),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),t.registerLayout(graphForceLayout),t.registerCoordinateSystem("graphView",{dimensions:View$1.dimensions,create:createViewCoordSys}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),t.registerAction(actionInfo$1,function(r,o,a){o.eachComponent({mainType:"series",query:r},function(u){var d=u.coordinateSystem,g=updateCenterAndZoom(d,r,void 0,a);u.setCenter&&u.setCenter(g.center),u.setZoom&&u.setZoom(g.zoom)})})}var PointerShape=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),PointerPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="pointer",a}return r.prototype.getDefaultShape=function(){return new PointerShape},r.prototype.buildPath=function(o,a){var u=Math.cos,d=Math.sin,g=a.r,v=a.width,y=a.angle,A=a.x-u(y)*v*(v>=g/3?1:2),b=a.y-d(y)*v*(v>=g/3?1:2);y=a.angle-Math.PI/2,o.moveTo(A,b),o.lineTo(a.x+u(y)*v,a.y+d(y)*v),o.lineTo(a.x+u(a.angle)*g,a.y+d(a.angle)*g),o.lineTo(a.x-u(y)*v,a.y-d(y)*v),o.lineTo(A,b)},r}(Path$1),PointerPath$1=PointerPath;function parsePosition(t,r){var o=t.get("center"),a=r.getWidth(),u=r.getHeight(),d=Math.min(a,u),g=parsePercent(o[0],r.getWidth()),v=parsePercent(o[1],r.getHeight()),y=parsePercent(t.get("radius"),d/2);return{cx:g,cy:v,r:y}}function formatLabel(t,r){var o=t==null?"":t+"";return r&&(isString$1(r)?o=r.replace("{value}",o):isFunction(r)&&(o=r(t))),o}var GaugeView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){this.group.removeAll();var d=o.get(["axisLine","lineStyle","color"]),g=parsePosition(o,u);this._renderMain(o,a,u,d,g),this._data=o.getData()},r.prototype.dispose=function(){},r.prototype._renderMain=function(o,a,u,d,g){var v=this.group,y=o.get("clockwise"),A=-o.get("startAngle")/180*Math.PI,b=-o.get("endAngle")/180*Math.PI,_=o.getModel("axisLine"),w=_.get("roundCap"),S=w?Sausage:Sector$1,C=_.get("show"),T=_.getModel("lineStyle"),I=T.get("width"),E=[A,b];normalizeArcAngles(E,!y),A=E[0],b=E[1];for(var F=b-A,O=A,D=[],x=0;C&&x=N&&(V===0?0:d[V-1][0])Math.PI/2&&(he+=Math.PI)):ge==="tangential"?he=-M-Math.PI/2:isNumber$1(ge)&&(he=ge*Math.PI/180),he===0?_.add(new ZRText$1({style:createTextStyle(O,{text:ne,x:ce,y:se,verticalAlign:U<-.8?"top":U>.8?"bottom":"middle",align:z<-.4?"left":z>.4?"right":"center"},{inheritColor:te}),silent:!0})):_.add(new ZRText$1({style:createTextStyle(O,{text:ne,x:ce,y:se,verticalAlign:"middle",align:"center"},{inheritColor:te}),silent:!0,originX:ce,originY:se,rotation:he}))}if(F.get("show")&&Q!==D){var X=F.get("distance");X=X?X+b:b;for(var ye=0;ye<=x;ye++){z=Math.cos(M),U=Math.sin(M);var ee=new Line$3({shape:{x1:z*(C-X)+w,y1:U*(C-X)+S,x2:z*(C-G-X)+w,y2:U*(C-G-X)+S},silent:!0,style:H});H.stroke==="auto"&&ee.setStyle({stroke:d((Q+ye/x)/D)}),_.add(ee),M+=V}M-=V}else M+=N}},r.prototype._renderPointer=function(o,a,u,d,g,v,y,A,b){var _=this.group,w=this._data,S=this._progressEls,C=[],T=o.get(["pointer","show"]),I=o.getModel("progress"),E=I.get("show"),F=o.getData(),O=F.mapDimension("value"),D=+o.get("min"),x=+o.get("max"),P=[D,x],G=[v,y];function M(V,Z){var H=F.getItemModel(V),B=H.getModel("pointer"),z=parsePercent(B.get("width"),g.r),U=parsePercent(B.get("length"),g.r),Q=o.get(["pointer","icon"]),X=B.get("offsetCenter"),J=parsePercent(X[0],g.r),ne=parsePercent(X[1],g.r),te=B.get("keepAspect"),ce;return Q?ce=createSymbol$1(Q,J-z/2,ne-U,z,U,null,te):ce=new PointerPath$1({shape:{angle:-Math.PI/2,width:z,r:U,x:J,y:ne}}),ce.rotation=-(Z+Math.PI/2),ce.x=g.cx,ce.y=g.cy,ce}function N(V,Z){var H=I.get("roundCap"),B=H?Sausage:Sector$1,z=I.get("overlap"),U=z?I.get("width"):b/F.count(),Q=z?g.r-U:g.r-(V+1)*U,X=z?g.r:g.r-V*U,J=new B({shape:{startAngle:v,endAngle:Z,cx:g.cx,cy:g.cy,clockwise:A,r0:Q,r:X}});return z&&(J.z2=x-F.get(O,V)%x),J}(E||T)&&(F.diff(w).add(function(V){var Z=F.get(O,V);if(T){var H=M(V,v);initProps(H,{rotation:-((isNaN(+Z)?G[0]:linearMap$2(Z,P,G,!0))+Math.PI/2)},o),_.add(H),F.setItemGraphicEl(V,H)}if(E){var B=N(V,v),z=I.get("clip");initProps(B,{shape:{endAngle:linearMap$2(Z,P,G,z)}},o),_.add(B),setCommonECData(o.seriesIndex,F.dataType,V,B),C[V]=B}}).update(function(V,Z){var H=F.get(O,V);if(T){var B=w.getItemGraphicEl(Z),z=B?B.rotation:v,U=M(V,z);U.rotation=z,updateProps$1(U,{rotation:-((isNaN(+H)?G[0]:linearMap$2(H,P,G,!0))+Math.PI/2)},o),_.add(U),F.setItemGraphicEl(V,U)}if(E){var Q=S[Z],X=Q?Q.shape.endAngle:v,J=N(V,X),ne=I.get("clip");updateProps$1(J,{shape:{endAngle:linearMap$2(H,P,G,ne)}},o),_.add(J),setCommonECData(o.seriesIndex,F.dataType,V,J),C[V]=J}}).execute(),F.each(function(V){var Z=F.getItemModel(V),H=Z.getModel("emphasis"),B=H.get("focus"),z=H.get("blurScope"),U=H.get("disabled");if(T){var Q=F.getItemGraphicEl(V),X=F.getItemVisual(V,"style"),J=X.fill;if(Q instanceof ZRImage$1){var ne=Q.style;Q.useStyle(extend({image:ne.image,x:ne.x,y:ne.y,width:ne.width,height:ne.height},X))}else Q.useStyle(X),Q.type!=="pointer"&&Q.setColor(J);Q.setStyle(Z.getModel(["pointer","itemStyle"]).getItemStyle()),Q.style.fill==="auto"&&Q.setStyle("fill",d(linearMap$2(F.get(O,V),P,[0,1],!0))),Q.z2EmphasisLift=0,setStatesStylesFromModel(Q,Z),toggleHoverEmphasis(Q,B,z,U)}if(E){var te=C[V];te.useStyle(F.getItemVisual(V,"style")),te.setStyle(Z.getModel(["progress","itemStyle"]).getItemStyle()),te.z2EmphasisLift=0,setStatesStylesFromModel(te,Z),toggleHoverEmphasis(te,B,z,U)}}),this._progressEls=C)},r.prototype._renderAnchor=function(o,a){var u=o.getModel("anchor"),d=u.get("show");if(d){var g=u.get("size"),v=u.get("icon"),y=u.get("offsetCenter"),A=u.get("keepAspect"),b=createSymbol$1(v,a.cx-g/2+parsePercent(y[0],a.r),a.cy-g/2+parsePercent(y[1],a.r),g,g,null,A);b.z2=u.get("showAbove")?1:0,b.setStyle(u.getModel("itemStyle").getItemStyle()),this.group.add(b)}},r.prototype._renderTitleAndDetail=function(o,a,u,d,g){var v=this,y=o.getData(),A=y.mapDimension("value"),b=+o.get("min"),_=+o.get("max"),w=new Group$4,S=[],C=[],T=o.isAnimationEnabled(),I=o.get(["pointer","showAbove"]);y.diff(this._data).add(function(E){S[E]=new ZRText$1({silent:!0}),C[E]=new ZRText$1({silent:!0})}).update(function(E,F){S[E]=v._titleEls[F],C[E]=v._detailEls[F]}).execute(),y.each(function(E){var F=y.getItemModel(E),O=y.get(A,E),D=new Group$4,x=d(linearMap$2(O,[b,_],[0,1],!0)),P=F.getModel("title");if(P.get("show")){var G=P.get("offsetCenter"),M=g.cx+parsePercent(G[0],g.r),N=g.cy+parsePercent(G[1],g.r),V=S[E];V.attr({z2:I?0:2,style:createTextStyle(P,{x:M,y:N,text:y.getName(E),align:"center",verticalAlign:"middle"},{inheritColor:x})}),D.add(V)}var Z=F.getModel("detail");if(Z.get("show")){var H=Z.get("offsetCenter"),B=g.cx+parsePercent(H[0],g.r),z=g.cy+parsePercent(H[1],g.r),U=parsePercent(Z.get("width"),g.r),Q=parsePercent(Z.get("height"),g.r),X=o.get(["progress","show"])?y.getItemVisual(E,"style").fill:x,V=C[E],J=Z.get("formatter");V.attr({z2:I?0:2,style:createTextStyle(Z,{x:B,y:z,text:formatLabel(O,J),width:isNaN(U)?null:U,height:isNaN(Q)?null:Q,align:"center",verticalAlign:"middle"},{inheritColor:X})}),setLabelValueAnimation(V,{normal:Z},O,function(te){return formatLabel(te,J)}),T&&animateLabelValue(V,E,y,o,{getFormattedLabel:function(te,ce,se,ge,he,ye){return formatLabel(ye?ye.interpolatedValue:O,J)}}),D.add(V)}w.add(D)}),this.group.add(w),this._titleEls=S,this._detailEls=C},r.type="gauge",r}(ChartView$1),GaugeView$1=GaugeView,GaugeSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.visualStyleAccessPath="itemStyle",o}return r.prototype.getInitialData=function(o,a){return createSeriesDataSimply(this,["value"])},r.type="series.gauge",r.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},r}(SeriesModel$1),GaugeSeriesModel$1=GaugeSeriesModel;function install$E(t){t.registerChartView(GaugeView$1),t.registerSeriesModel(GaugeSeriesModel$1)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(t){__extends$1(r,t);function r(o,a){var u=t.call(this)||this,d=u,g=new Polyline$3,v=new ZRText$1;return d.setTextContent(v),u.setTextGuideLine(g),u.updateData(o,a,!0),u}return r.prototype.updateData=function(o,a,u){var d=this,g=o.hostModel,v=o.getItemModel(a),y=o.getItemLayout(a),A=v.getModel("emphasis"),b=v.get(opacityAccessPath$1);b=b==null?1:b,u||saveOldStyle(d),d.useStyle(o.getItemVisual(a,"style")),d.style.lineJoin="round",u?(d.setShape({points:y.points}),d.style.opacity=0,initProps(d,{style:{opacity:b}},g,a)):updateProps$1(d,{style:{opacity:b},shape:{points:y.points}},g,a),setStatesStylesFromModel(d,v),this._updateLabel(o,a),toggleHoverEmphasis(this,A.get("focus"),A.get("blurScope"),A.get("disabled"))},r.prototype._updateLabel=function(o,a){var u=this,d=this.getTextGuideLine(),g=u.getTextContent(),v=o.hostModel,y=o.getItemModel(a),A=o.getItemLayout(a),b=A.label,_=o.getItemVisual(a,"style"),w=_.fill;setLabelStyle(g,getLabelStatesModels(y),{labelFetcher:o.hostModel,labelDataIndex:a,defaultOpacity:_.opacity,defaultText:o.getName(a)},{normal:{align:b.textAlign,verticalAlign:b.verticalAlign}}),u.setTextConfig({local:!0,inside:!!b.inside,insideStroke:w,outsideFill:w});var S=b.linePoints;d.setShape({points:S}),u.textGuideLineConfig={anchor:S?new Point$1(S[0][0],S[0][1]):null},updateProps$1(g,{style:{x:b.x,y:b.y}},v,a),g.attr({rotation:b.rotation,originX:b.x,originY:b.y,z2:10}),setLabelLineStyle(u,getLabelLineStatesModels(y),{stroke:w})},r}(Polygon$1),FunnelView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.ignoreLabelLineUpdate=!0,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this._data,v=this.group;d.diff(g).add(function(y){var A=new FunnelPiece(d,y);d.setItemGraphicEl(y,A),v.add(A)}).update(function(y,A){var b=g.getItemGraphicEl(A);b.updateData(d,y),v.add(b),d.setItemGraphicEl(y,b)}).remove(function(y){var A=g.getItemGraphicEl(y);removeElementWithFadeOut(A,o,y)}).execute(),this._data=d},r.prototype.remove=function(){this.group.removeAll(),this._data=null},r.prototype.dispose=function(){},r.type="funnel",r}(ChartView$1),FunnelView$1=FunnelView,FunnelSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(o)},r.prototype.getInitialData=function(o,a){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype._defaultLabelLine=function(o){defaultEmphasis(o,"labelLine",["show"]);var a=o.labelLine,u=o.emphasis.labelLine;a.show=a.show&&o.label.show,u.show=u.show&&o.emphasis.label.show},r.prototype.getDataParams=function(o){var a=this.getData(),u=t.prototype.getDataParams.call(this,o),d=a.mapDimension("value"),g=a.getSum(d);return u.percent=g?+(a.get(d,o)/g*100).toFixed(2):0,u.$vars.push("percent"),u},r.type="series.funnel",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),FunnelSeriesModel$1=FunnelSeriesModel;function getViewRect$2(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getSortedIndices(t,r){for(var o=t.mapDimension("value"),a=t.mapArray(o,function(y){return y}),u=[],d=r==="ascending",g=0,v=t.count();gCLICK_THRESHOLD)return;var u=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);u.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:u.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var r=this._model,o=r.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=o.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:o.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function checkTrigger(t,r){var o=t._model;return o.get("axisExpandable")&&o.get("axisExpandTriggerOn")===r}var ParallelView$1=ParallelView,ParallelModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},r.prototype.mergeOption=function(o){var a=this.option;o&&merge(a,o,!0),this._initDimensions()},r.prototype.contains=function(o,a){var u=o.get("parallelIndex");return u!=null&&a.getComponent("parallel",u)===this},r.prototype.setAxisExpand=function(o){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){o.hasOwnProperty(a)&&(this.option[a]=o[a])},this)},r.prototype._initDimensions=function(){var o=this.dimensions=[],a=this.parallelAxisIndex=[],u=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);each$f(u,function(d){o.push("dim"+d.get("dim")),a.push(d.componentIndex)})},r.type="parallel",r.dependencies=["parallelAxis"],r.layoutMode="box",r.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},r}(ComponentModel$1),ParallelModel$1=ParallelModel,ParallelAxis=function(t){__extends$1(r,t);function r(o,a,u,d,g){var v=t.call(this,o,a,u)||this;return v.type=d||"value",v.axisIndex=g,v}return r.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},r}(Axis$1),ParallelAxis$1=ParallelAxis;function sliderMove(t,r,o,a,u,d){t=t||0;var g=o[1]-o[0];if(u!=null&&(u=restrict$1(u,[0,g])),d!=null&&(d=Math.max(d,u!=null?u:0)),a==="all"){var v=Math.abs(r[1]-r[0]);v=restrict$1(v,[0,g]),u=d=restrict$1(v,[u,d]),a=0}r[0]=restrict$1(r[0],o),r[1]=restrict$1(r[1],o);var y=getSpanSign(r,a);r[a]+=t;var A=u||0,b=o.slice();y.sign<0?b[0]+=A:b[1]-=A,r[a]=restrict$1(r[a],b);var _;return _=getSpanSign(r,a),u!=null&&(_.sign!==y.sign||_.spand&&(r[1-a]=r[a]+_.sign*d),r}function getSpanSign(t,r){var o=t[r]-t[1-r];return{span:Math.abs(o),sign:o>0?-1:o<0?1:r?-1:1}}function restrict$1(t,r){return Math.min(r[1]!=null?r[1]:1/0,Math.max(r[0]!=null?r[0]:-1/0,t))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function t(r,o,a){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=r.dimensions,this._model=r,this._init(r,o,a)}return t.prototype._init=function(r,o,a){var u=r.dimensions,d=r.parallelAxisIndex;each$a(u,function(g,v){var y=d[v],A=o.getComponent("parallelAxis",y),b=this._axesMap.set(g,new ParallelAxis$1(g,createScaleByModel$1(A),[0,0],A.get("type"),y)),_=b.type==="category";b.onBand=_&&A.get("boundaryGap"),b.inverse=A.get("inverse"),A.axis=b,b.model=A,b.coordinateSystem=A.coordinateSystem=this},this)},t.prototype.update=function(r,o){this._updateAxesFromSeries(this._model,r)},t.prototype.containPoint=function(r){var o=this._makeLayoutInfo(),a=o.axisBase,u=o.layoutBase,d=o.pixelDimIndex,g=r[1-d],v=r[d];return g>=a&&g<=a+o.axisLength&&v>=u&&v<=u+o.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(r,o){o.eachSeries(function(a){if(!!r.contains(a,o)){var u=a.getData();each$a(this.dimensions,function(d){var g=this._axesMap.get(d);g.scale.unionExtentFromData(u,u.mapDimension(d)),niceScaleExtent(g.scale,g.model)},this)}},this)},t.prototype.resize=function(r,o){this._rect=getLayoutRect(r.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var r=this._model,o=this._rect,a=["x","y"],u=["width","height"],d=r.get("layout"),g=d==="horizontal"?0:1,v=o[u[g]],y=[0,v],A=this.dimensions.length,b=restrict(r.get("axisExpandWidth"),y),_=restrict(r.get("axisExpandCount")||0,[0,A]),w=r.get("axisExpandable")&&A>3&&A>_&&_>1&&b>0&&v>0,S=r.get("axisExpandWindow"),C;if(S)C=restrict(S[1]-S[0],y),S[1]=S[0]+C;else{C=restrict(b*(_-1),y);var T=r.get("axisExpandCenter")||mathFloor(A/2);S=[b*T-C/2],S[1]=S[0]+C}var I=(v-C)/(A-_);I<3&&(I=0);var E=[mathFloor(round(S[0]/b,1))+1,mathCeil(round(S[1]/b,1))-1],F=I/b*S[0];return{layout:d,pixelDimIndex:g,layoutBase:o[a[g]],layoutLength:v,axisBase:o[a[1-g]],axisLength:o[u[1-g]],axisExpandable:w,axisExpandWidth:b,axisCollapseWidth:I,axisExpandWindow:S,axisCount:A,winInnerIndices:E,axisExpandWindow0Pos:F}},t.prototype._layoutAxes=function(){var r=this._rect,o=this._axesMap,a=this.dimensions,u=this._makeLayoutInfo(),d=u.layout;o.each(function(g){var v=[0,u.axisLength],y=g.inverse?1:0;g.setExtent(v[y],v[1-y])}),each$a(a,function(g,v){var y=(u.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(v,u),A={horizontal:{x:y.position,y:u.axisLength},vertical:{x:0,y:y.position}},b={horizontal:PI$1/2,vertical:0},_=[A[d].x+r.x,A[d].y+r.y],w=b[d],S=create$1();rotate(S,S,w),translate(S,S,_),this._axesLayout[g]={position:_,rotation:w,transform:S,axisNameAvailableWidth:y.axisNameAvailableWidth,axisLabelShow:y.axisLabelShow,nameTruncateMaxWidth:y.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(r){return this._axesMap.get(r)},t.prototype.dataToPoint=function(r,o){return this.axisCoordToPoint(this._axesMap.get(o).dataToCoord(r),o)},t.prototype.eachActiveState=function(r,o,a,u){a==null&&(a=0),u==null&&(u=r.count());var d=this._axesMap,g=this.dimensions,v=[],y=[];each$f(g,function(I){v.push(r.mapDimension(I)),y.push(d.get(I).model)});for(var A=this.hasAxisBrushed(),b=a;bd*(1-_[0])?(A="jump",y=v-d*(1-_[2])):(y=v-d*_[1])>=0&&(y=v-d*(1-_[1]))<=0&&(y=0),y*=o.axisExpandWidth/b,y?sliderMove(y,u,g,"all"):A="none";else{var S=u[1]-u[0],C=g[1]*v/S;u=[mathMax$2(0,C-S/2)],u[1]=mathMin$2(g[1],u[0]+S),u[0]=u[1]-S}return{axisExpandWindow:u,behavior:A}},t}();function restrict(t,r){return mathMin$2(mathMax$2(t,r[0]),r[1])}function layoutAxisWithoutExpand(t,r){var o=r.layoutLength/(r.axisCount-1);return{position:o*t,axisNameAvailableWidth:o,axisLabelShow:!0}}function layoutAxisWithExpand(t,r){var o=r.layoutLength,a=r.axisExpandWidth,u=r.axisCount,d=r.axisCollapseWidth,g=r.winInnerIndices,v,y=d,A=!1,b;return t=0;u--)asc$2(a[u])},r.prototype.getActiveState=function(o){var a=this.activeIntervals;if(!a.length)return"normal";if(o==null||isNaN(+o))return"inactive";if(a.length===1){var u=a[0];if(u[0]<=o&&o<=u[1])return"active"}else for(var d=0,g=a.length;dUNSELECT_THRESHOLD}function getTrackEnds(t){var r=t.length-1;return r<0&&(r=0),[t[0],t[r]]}function createBaseRectCover(t,r,o,a){var u=new Group$4;return u.add(new Rect$3({name:"main",style:makeStyle(o),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,t,r,u,["n","s","w","e"]),ondragend:curry$1(trigger,r,{isEnd:!0})})),each$f(a,function(d){u.add(new Rect$3({name:d.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,t,r,u,d),ondragend:curry$1(trigger,r,{isEnd:!0})}))}),u}function updateBaseRect(t,r,o,a){var u=a.brushStyle.lineWidth||0,d=mathMax$1(u,MIN_RESIZE_LINE_WIDTH),g=o[0][0],v=o[1][0],y=g-u/2,A=v-u/2,b=o[0][1],_=o[1][1],w=b-d+u/2,S=_-d+u/2,C=b-g,T=_-v,I=C+u,E=T+u;updateRectShape(t,r,"main",g,v,C,T),a.transformable&&(updateRectShape(t,r,"w",y,A,d,E),updateRectShape(t,r,"e",w,A,d,E),updateRectShape(t,r,"n",y,A,I,d),updateRectShape(t,r,"s",y,S,I,d),updateRectShape(t,r,"nw",y,A,d,d),updateRectShape(t,r,"ne",w,A,d,d),updateRectShape(t,r,"sw",y,S,d,d),updateRectShape(t,r,"se",w,S,d,d))}function updateCommon$1(t,r){var o=r.__brushOption,a=o.transformable,u=r.childAt(0);u.useStyle(makeStyle(o)),u.attr({silent:!a,cursor:a?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(d){var g=r.childOfName(d.join("")),v=d.length===1?getGlobalDirection1(t,d[0]):getGlobalDirection2(t,d);g&&g.attr({silent:!a,invisible:!a,cursor:a?CURSOR_MAP[v]+"-resize":null})})}function updateRectShape(t,r,o,a,u,d,g){var v=r.childOfName(o);v&&v.setShape(pointsToRect(clipByPanel(t,r,[[a,u],[a+d,u+g]])))}function makeStyle(t){return defaults({strokeNoScale:!0},t.brushStyle)}function formatRectRange(t,r,o,a){var u=[mathMin$1(t,o),mathMin$1(r,a)],d=[mathMax$1(t,o),mathMax$1(r,a)];return[[u[0],d[0]],[u[1],d[1]]]}function getTransform(t){return getTransform$1(t.group)}function getGlobalDirection1(t,r){var o={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},u=transformDirection(o[r],getTransform(t));return a[u]}function getGlobalDirection2(t,r){var o=[getGlobalDirection1(t,r[0]),getGlobalDirection1(t,r[1])];return(o[0]==="e"||o[0]==="w")&&o.reverse(),o.join("")}function driftRect(t,r,o,a,u,d){var g=o.__brushOption,v=t.toRectRange(g.range),y=toLocalDelta(r,u,d);each$f(a,function(A){var b=DIRECTION_MAP[A];v[b[0]][b[1]]+=y[b[0]]}),g.range=t.fromRectRange(formatRectRange(v[0][0],v[1][0],v[0][1],v[1][1])),updateCoverAfterCreation(r,o),trigger(r,{isEnd:!1})}function driftPolygon(t,r,o,a){var u=r.__brushOption.range,d=toLocalDelta(t,o,a);each$f(u,function(g){g[0]+=d[0],g[1]+=d[1]}),updateCoverAfterCreation(t,r),trigger(t,{isEnd:!1})}function toLocalDelta(t,r,o){var a=t.group,u=a.transformCoordToLocal(r,o),d=a.transformCoordToLocal(0,0);return[u[0]-d[0],u[1]-d[1]]}function clipByPanel(t,r,o){var a=getPanelByCover(t,r);return a&&a!==BRUSH_PANEL_GLOBAL?a.clipPath(o,t._transform):clone$5(o)}function pointsToRect(t){var r=mathMin$1(t[0][0],t[1][0]),o=mathMin$1(t[0][1],t[1][1]),a=mathMax$1(t[0][0],t[1][0]),u=mathMax$1(t[0][1],t[1][1]);return{x:r,y:o,width:a-r,height:u-o}}function resetCursor(t,r,o){if(!(!t._brushType||isOutsideZrArea(t,r.offsetX,r.offsetY))){var a=t._zr,u=t._covers,d=getPanelByPoint(t,r,o);if(!t._dragging)for(var g=0;ga.getWidth()||o<0||o>a.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(t,r){function o(a){return a}return createBaseRectCover({toRectRange:o,fromRectRange:o},t,r,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var r=getTrackEnds(t);return formatRectRange(r[1][0],r[1][1],r[0][0],r[0][1])},updateCoverShape:function(t,r,o,a){updateBaseRect(t,r,o,a)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(t,r){var o=new Group$4;return o.add(new Polyline$3({name:"main",style:makeStyle(r),silent:!0})),o},getCreatingRange:function(t){return t},endCreating:function(t,r){r.remove(r.childAt(0)),r.add(new Polygon$1({name:"main",draggable:!0,drift:curry$1(driftPolygon,t,r),ondragend:curry$1(trigger,t,{isEnd:!0})}))},updateCoverShape:function(t,r,o,a){r.childAt(0).setShape({points:clipByPanel(t,r,o)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(t){return{createCover:function(r,o){return createBaseRectCover({toRectRange:function(a){var u=[a,[0,100]];return t&&u.reverse(),u},fromRectRange:function(a){return a[t]}},r,o,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(r){var o=getTrackEnds(r),a=mathMin$1(o[0][t],o[1][t]),u=mathMax$1(o[0][t],o[1][t]);return[a,u]},updateCoverShape:function(r,o,a,u){var d,g=getPanelByCover(r,o);if(g!==BRUSH_PANEL_GLOBAL&&g.getLinearBrushOtherExtent)d=g.getLinearBrushOtherExtent(t);else{var v=r._zr;d=[0,[v.getWidth(),v.getHeight()][1-t]]}var y=[a,d];t&&y.reverse(),updateBaseRect(r,o,y,u)},updateCommon:updateCommon$1,contain:mainShapeContain}}var BrushController$1=BrushController;function makeRectPanelClipPath(t){return t=normalizeRect(t),function(r){return clipPointsByRect(r,t)}}function makeLinearBrushOtherExtent(t,r){return t=normalizeRect(t),function(o){var a=r!=null?r:o,u=a?t.width:t.height,d=a?t.x:t.y;return[d,d+(u||0)]}}function makeRectIsTargetByCursor(t,r,o){var a=normalizeRect(t);return function(u,d){return a.contain(d[0],d[1])&&!onIrrelevantElement(u,r,o)}}function normalizeRect(t){return BoundingRect$1.create(t)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){t.prototype.init.apply(this,arguments),(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this))},r.prototype.render=function(o,a,u,d){if(!fromAxisAreaSelect(o,a,d)){this.axisModel=o,this.api=u,this.group.removeAll();var g=this._axisGroup;if(this._axisGroup=new Group$4,this.group.add(this._axisGroup),!!o.get("show")){var v=getCoordSysModel(o,a),y=v.coordinateSystem,A=o.getAreaSelectStyle(),b=A.width,_=o.axis.dim,w=y.getAxisLayout(_),S=extend({strokeContainThreshold:b},w),C=new AxisBuilder$1(o,S);each$f(elementList$1,C.add,C),this._axisGroup.add(C.getGroup()),this._refreshBrushController(S,A,o,v,b,u),groupTransition(g,this._axisGroup,o)}}},r.prototype._refreshBrushController=function(o,a,u,d,g,v){var y=u.axis.getExtent(),A=y[1]-y[0],b=Math.min(30,Math.abs(A)*.1),_=BoundingRect$1.create({x:y[0],y:-g/2,width:A,height:g});_.x-=b,_.width+=2*b,this._brushController.mount({enableGlobalPan:!0,rotation:o.rotation,x:o.position[0],y:o.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(_),isTargetByCursor:makeRectIsTargetByCursor(_,v,d),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(_,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(getCoverInfoList(u))},r.prototype._onBrush=function(o){var a=o.areas,u=this.axisModel,d=u.axis,g=map$1(a,function(v){return[d.coordToData(v.range[0],!0),d.coordToData(v.range[1],!0)]});(!u.option.realtime===o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:u.id,intervals:g})},r.prototype.dispose=function(){this._brushController.dispose()},r.type="parallelAxis",r}(ComponentView$1);function fromAxisAreaSelect(t,r,o){return o&&o.type==="axisAreaSelect"&&r.findComponents({mainType:"parallelAxis",query:o})[0]===t}function getCoverInfoList(t){var r=t.axis;return map$1(t.activeIntervals,function(o){return{brushType:"lineX",panelId:"pl",range:[r.dataToCoord(o[0],!0),r.dataToCoord(o[1],!0)]}})}function getCoordSysModel(t,r){return r.getComponent("parallel",t.get("parallelIndex"))}var ParallelAxisView$1=ParallelAxisView,actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(t){t.registerAction(actionInfo,function(r,o){o.eachComponent({mainType:"parallelAxis",query:r},function(a){a.axis.model.setActiveIntervals(r.intervals)})}),t.registerAction("parallelAxisExpand",function(r,o){o.eachComponent({mainType:"parallel",query:r},function(a){a.setAxisExpand(r)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$C(t){t.registerComponentView(ParallelView$1),t.registerComponentModel(ParallelModel$1),t.registerCoordinateSystem("parallel",parallelCoordSysCreator$1),t.registerPreprocessor(parallelPreprocessor),t.registerComponentModel(ParallelAxisModel$1),t.registerComponentView(ParallelAxisView$1),axisModelCreator(t,"parallel",ParallelAxisModel$1,defaultAxisOption),installParallelActions(t)}function install$B(t){use(install$C),t.registerChartView(ParallelView$3),t.registerSeriesModel(ParallelSeriesModel$1),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,parallelVisual$1)}var SankeyPathShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),SankeyPath=function(t){__extends$1(r,t);function r(o){return t.call(this,o)||this}return r.prototype.getDefaultShape=function(){return new SankeyPathShape},r.prototype.buildPath=function(o,a){var u=a.extent;o.moveTo(a.x1,a.y1),o.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(o.lineTo(a.x2+u,a.y2),o.bezierCurveTo(a.cpx2+u,a.cpy2,a.cpx1+u,a.cpy1,a.x1+u,a.y1)):(o.lineTo(a.x2,a.y2+u),o.bezierCurveTo(a.cpx2,a.cpy2+u,a.cpx1,a.cpy1+u,a.x1,a.y1+u)),o.closePath()},r.prototype.highlight=function(){enterEmphasis(this)},r.prototype.downplay=function(){leaveEmphasis(this)},r}(Path$1),SankeyView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._focusAdjacencyDisabled=!1,o}return r.prototype.render=function(o,a,u){var d=this,g=o.getGraph(),v=this.group,y=o.layoutInfo,A=y.width,b=y.height,_=o.getData(),w=o.getData("edge"),S=o.get("orient");this._model=o,v.removeAll(),v.x=y.x,v.y=y.y,g.eachEdge(function(C){var T=new SankeyPath,I=getECData(T);I.dataIndex=C.dataIndex,I.seriesIndex=o.seriesIndex,I.dataType="edge";var E=C.getModel(),F=E.getModel("lineStyle"),O=F.get("curveness"),D=C.node1.getLayout(),x=C.node1.getModel(),P=x.get("localX"),G=x.get("localY"),M=C.node2.getLayout(),N=C.node2.getModel(),V=N.get("localX"),Z=N.get("localY"),H=C.getLayout(),B,z,U,Q,X,J,ne,te;T.shape.extent=Math.max(1,H.dy),T.shape.orient=S,S==="vertical"?(B=(P!=null?P*A:D.x)+H.sy,z=(G!=null?G*b:D.y)+D.dy,U=(V!=null?V*A:M.x)+H.ty,Q=Z!=null?Z*b:M.y,X=B,J=z*(1-O)+Q*O,ne=U,te=z*O+Q*(1-O)):(B=(P!=null?P*A:D.x)+D.dx,z=(G!=null?G*b:D.y)+H.sy,U=V!=null?V*A:M.x,Q=(Z!=null?Z*b:M.y)+H.ty,X=B*(1-O)+U*O,J=z,ne=B*O+U*(1-O),te=Q),T.setShape({x1:B,y1:z,x2:U,y2:Q,cpx1:X,cpy1:J,cpx2:ne,cpy2:te}),T.useStyle(F.getItemStyle()),applyCurveStyle(T.style,S,C);var ce=""+E.get("value"),se=getLabelStatesModels(E,"edgeLabel");setLabelStyle(T,se,{labelFetcher:{getFormattedLabel:function(ye,ee,pe,ae,ve,we){return o.getFormattedLabel(ye,ee,"edge",ae,retrieve3(ve,se.normal&&se.normal.get("formatter"),ce),we)}},labelDataIndex:C.dataIndex,defaultText:ce}),T.setTextConfig({position:"inside"});var ge=E.getModel("emphasis");setStatesStylesFromModel(T,E,"lineStyle",function(ye){var ee=ye.getItemStyle();return applyCurveStyle(ee,S,C),ee}),v.add(T),w.setItemGraphicEl(C.dataIndex,T);var he=ge.get("focus");toggleHoverEmphasis(T,he==="adjacency"?C.getAdjacentDataIndices():he==="trajectory"?C.getTrajectoryDataIndices():he,ge.get("blurScope"),ge.get("disabled"))}),g.eachNode(function(C){var T=C.getLayout(),I=C.getModel(),E=I.get("localX"),F=I.get("localY"),O=I.getModel("emphasis"),D=I.get(["itemStyle","borderRadius"])||0,x=new Rect$3({shape:{x:E!=null?E*A:T.x,y:F!=null?F*b:T.y,width:T.dx,height:T.dy,r:D},style:I.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(x,getLabelStatesModels(I),{labelFetcher:{getFormattedLabel:function(G,M){return o.getFormattedLabel(G,M,"node")}},labelDataIndex:C.dataIndex,defaultText:C.id}),x.disableLabelAnimation=!0,x.setStyle("fill",C.getVisual("color")),x.setStyle("decal",C.getVisual("style").decal),setStatesStylesFromModel(x,I),v.add(x),_.setItemGraphicEl(C.dataIndex,x),getECData(x).dataType="node";var P=O.get("focus");toggleHoverEmphasis(x,P==="adjacency"?C.getAdjacentDataIndices():P==="trajectory"?C.getTrajectoryDataIndices():P,O.get("blurScope"),O.get("disabled"))}),_.eachItemGraphicEl(function(C,T){var I=_.getItemModel(T);I.get("draggable")&&(C.drift=function(E,F){d._focusAdjacencyDisabled=!0,this.shape.x+=E,this.shape.y+=F,this.dirty(),u.dispatchAction({type:"dragNode",seriesId:o.id,dataIndex:_.getRawIndex(T),localX:this.shape.x/A,localY:this.shape.y/b})},C.ondragend=function(){d._focusAdjacencyDisabled=!1},C.draggable=!0,C.cursor="move")}),!this._data&&o.isAnimationEnabled()&&v.setClipPath(createGridClipShape$1(v.getBoundingRect(),o,function(){v.removeClipPath()})),this._data=o.getData()},r.prototype.dispose=function(){},r.type="sankey",r}(ChartView$1);function applyCurveStyle(t,r,o){switch(t.fill){case"source":t.fill=o.node1.getVisual("color"),t.decal=o.node1.getVisual("style").decal;break;case"target":t.fill=o.node2.getVisual("color"),t.decal=o.node2.getVisual("style").decal;break;case"gradient":var a=o.node1.getVisual("color"),u=o.node2.getVisual("color");isString$1(a)&&isString$1(u)&&(t.fill=new LinearGradient$1(0,0,+(r==="horizontal"),+(r==="vertical"),[{color:a,offset:0},{color:u,offset:1}]))}}function createGridClipShape$1(t,r,o){var a=new Rect$3({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return initProps(a,{shape:{width:t.width+20}},r,o),a}var SankeyView$1=SankeyView,SankeySeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){var u=o.edges||o.links,d=o.data||o.nodes,g=o.levels;this.levelModels=[];for(var v=this.levelModels,y=0;y=0&&(v[g[y].depth]=new Model$1(g[y],this,a));if(d&&u){var A=createGraphFromNodeEdge(d,u,this,!0,b);return A.data}function b(_,w){_.wrapMethod("getItemModel",function(S,C){var T=S.parentModel,I=T.getData().getItemLayout(C);if(I){var E=I.depth,F=T.levelModels[E];F&&(S.parentModel=F)}return S}),w.wrapMethod("getItemModel",function(S,C){var T=S.parentModel,I=T.getGraph().getEdgeByIndex(C),E=I.node1.getLayout();if(E){var F=E.depth,O=T.levelModels[F];O&&(S.parentModel=O)}return S})}},r.prototype.setNodePosition=function(o,a){var u=this.option.data||this.option.nodes,d=u[o];d.localX=a[0],d.localY=a[1]},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.formatTooltip=function(o,a,u){function d(S){return isNaN(S)||S==null}if(u==="edge"){var g=this.getDataParams(o,u),v=g.data,y=g.value,A=v.source+" -- "+v.target;return createTooltipMarkup("nameValue",{name:A,value:y,noValue:d(y)})}else{var b=this.getGraph().getNodeByIndex(o),_=b.getLayout().value,w=this.getDataParams(o,u).data.name;return createTooltipMarkup("nameValue",{name:w!=null?w+"":null,value:_,noValue:d(_)})}},r.prototype.optionUpdated=function(){},r.prototype.getDataParams=function(o,a){var u=t.prototype.getDataParams.call(this,o,a);if(u.value==null&&a==="node"){var d=this.getGraph().getNodeByIndex(o),g=d.getLayout().value;u.value=g}return u},r.type="series.sankey",r.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},r}(SeriesModel$1),SankeySeriesModel$1=SankeySeriesModel;function sankeyLayout(t,r){t.eachSeriesByType("sankey",function(o){var a=o.get("nodeWidth"),u=o.get("nodeGap"),d=getViewRect$1(o,r);o.layoutInfo=d;var g=d.width,v=d.height,y=o.getGraph(),A=y.nodes,b=y.edges;computeNodeValues(A);var _=filter(A,function(T){return T.getLayout().value===0}),w=_.length!==0?0:o.get("layoutIterations"),S=o.get("orient"),C=o.get("nodeAlign");layoutSankey(A,b,a,u,g,v,w,S,C)})}function getViewRect$1(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function layoutSankey(t,r,o,a,u,d,g,v,y){computeNodeBreadths(t,r,o,u,d,v,y),computeNodeDepths(t,r,d,u,a,g,v),computeEdgeDepths(t,v)}function computeNodeValues(t){each$f(t,function(r){var o=sum(r.outEdges,getEdgeValue),a=sum(r.inEdges,getEdgeValue),u=r.getValue()||0,d=Math.max(o,a,u);r.setLayout({value:d},!0)})}function computeNodeBreadths(t,r,o,a,u,d,g){for(var v=[],y=[],A=[],b=[],_=0,w=0;w=0;E&&I.depth>S&&(S=I.depth),T.setLayout({depth:E?I.depth:_},!0),d==="vertical"?T.setLayout({dy:o},!0):T.setLayout({dx:o},!0);for(var F=0;F_-1?S:_-1;g&&g!=="left"&&adjustNodeWithNodeAlign(t,g,d,G);var M=d==="vertical"?(u-o)/G:(a-o)/G;scaleNodeBreadths(t,M,d)}function isNodeDepth(t){var r=t.hostGraph.data.getRawDataItem(t.dataIndex);return r.depth!=null&&r.depth>=0}function adjustNodeWithNodeAlign(t,r,o,a){if(r==="right"){for(var u=[],d=t,g=0;d.length;){for(var v=0;v0;d--)y*=.99,relaxRightToLeft(v,y,g),resolveCollisions(v,u,o,a,g),relaxLeftToRight(v,y,g),resolveCollisions(v,u,o,a,g)}function prepareNodesByBreadth(t,r){var o=[],a=r==="vertical"?"y":"x",u=groupData(t,function(d){return d.getLayout()[a]});return u.keys.sort(function(d,g){return d-g}),each$f(u.keys,function(d){o.push(u.buckets.get(d))}),o}function initializeNodeDepth(t,r,o,a,u,d){var g=1/0;each$f(t,function(v){var y=v.length,A=0;each$f(v,function(_){A+=_.getLayout().value});var b=d==="vertical"?(a-(y-1)*u)/A:(o-(y-1)*u)/A;b0&&(v=y.getLayout()[d]+A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0)),b=y.getLayout()[d]+y.getLayout()[w]+r;var C=u==="vertical"?a:o;if(A=b-r-C,A>0){v=y.getLayout()[d]-A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0),b=v;for(var S=_-2;S>=0;--S)y=g[S],A=y.getLayout()[d]+y.getLayout()[w]+r-b,A>0&&(v=y.getLayout()[d]-A,u==="vertical"?y.setLayout({x:v},!0):y.setLayout({y:v},!0)),b=y.getLayout()[d]}})}function relaxRightToLeft(t,r,o){each$f(t.slice().reverse(),function(a){each$f(a,function(u){if(u.outEdges.length){var d=sum(u.outEdges,weightedTarget,o)/sum(u.outEdges,getEdgeValue);if(isNaN(d)){var g=u.outEdges.length;d=g?sum(u.outEdges,centerTarget,o)/g:0}if(o==="vertical"){var v=u.getLayout().x+(d-center(u,o))*r;u.setLayout({x:v},!0)}else{var y=u.getLayout().y+(d-center(u,o))*r;u.setLayout({y},!0)}}})})}function weightedTarget(t,r){return center(t.node2,r)*t.getValue()}function centerTarget(t,r){return center(t.node2,r)}function weightedSource(t,r){return center(t.node1,r)*t.getValue()}function centerSource(t,r){return center(t.node1,r)}function center(t,r){return r==="vertical"?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function getEdgeValue(t){return t.getValue()}function sum(t,r,o){for(var a=0,u=t.length,d=-1;++dg&&(g=y)}),each$f(a,function(v){var y=new VisualMapping$1({type:"color",mappingMethod:"linear",dataExtent:[d,g],visual:r.get("color")}),A=y.mapValueToVisual(v.getLayout().value),b=v.getModel().get(["itemStyle","color"]);b!=null?(v.setVisual("color",b),v.setVisual("style",{fill:b})):(v.setVisual("color",A),v.setVisual("style",{fill:A}))})}u.length&&each$f(u,function(v){var y=v.getModel().get("lineStyle");v.setVisual("style",y)})})}function install$A(t){t.registerChartView(SankeyView$1),t.registerSeriesModel(SankeySeriesModel$1),t.registerLayout(sankeyLayout),t.registerVisual(sankeyVisual),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(r,o){o.eachComponent({mainType:"series",subType:"sankey",query:r},function(a){a.setNodePosition(r.dataIndex,[r.localX,r.localY])})})}var WhiskerBoxCommonMixin=function(){function t(){}return t.prototype.getInitialData=function(r,o){var a,u=o.getComponent("xAxis",this.get("xAxisIndex")),d=o.getComponent("yAxis",this.get("yAxisIndex")),g=u.get("type"),v=d.get("type"),y;g==="category"?(r.layout="horizontal",a=u.getOrdinalMeta(),y=!0):v==="category"?(r.layout="vertical",a=d.getOrdinalMeta(),y=!0):r.layout=r.layout||"horizontal";var A=["x","y"],b=r.layout==="horizontal"?0:1,_=this._baseAxisDim=A[b],w=A[1-b],S=[u,d],C=S[b].get("type"),T=S[1-b].get("type"),I=r.data;if(I&&y){var E=[];each$f(I,function(D,x){var P;isArray$1(D)?(P=D.slice(),D.unshift(x)):isArray$1(D.value)?(P=extend({},D),P.value=P.value.slice(),D.value.unshift(x)):P=D,E.push(P)}),r.data=E}var F=this.defaultValueDimensions,O=[{name:_,type:getDimensionTypeByAxis(C),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:w,type:getDimensionTypeByAxis(T),dimsDef:F.slice()}];return createSeriesDataSimply(this,{coordDimensions:O,dimensionsCount:F.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,O,this)})},t.prototype.getBaseAxis=function(){var r=this._baseAxisDim;return this.ecModel.getComponent(r+"Axis",this.get(r+"AxisIndex")).axis},t}(),BoxplotSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],o.visualDrawType="stroke",o}return r.type="series.boxplot",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},r}(SeriesModel$1);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotSeriesModel$1=BoxplotSeriesModel,BoxplotView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this.group,v=this._data;this._data||g.removeAll();var y=o.get("layout")==="horizontal"?1:0;d.diff(v).add(function(A){if(d.hasValue(A)){var b=d.getItemLayout(A),_=createNormalBox$1(b,d,A,y,!0);d.setItemGraphicEl(A,_),g.add(_)}}).update(function(A,b){var _=v.getItemGraphicEl(b);if(!d.hasValue(A)){g.remove(_);return}var w=d.getItemLayout(A);_?(saveOldStyle(_),updateNormalBoxData(w,_,d,A)):_=createNormalBox$1(w,d,A,y),g.add(_),d.setItemGraphicEl(A,_)}).remove(function(A){var b=v.getItemGraphicEl(A);b&&g.remove(b)}).execute(),this._data=d},r.prototype.remove=function(o){var a=this.group,u=this._data;this._data=null,u&&u.eachItemGraphicEl(function(d){d&&a.remove(d)})},r.type="boxplot",r}(ChartView$1),BoxPathShape=function(){function t(){}return t}(),BoxPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="boxplotBoxPath",a}return r.prototype.getDefaultShape=function(){return new BoxPathShape},r.prototype.buildPath=function(o,a){var u=a.points,d=0;for(o.moveTo(u[d][0],u[d][1]),d++;d<4;d++)o.lineTo(u[d][0],u[d][1]);for(o.closePath();dT){var D=[E,O];a.push(D)}}}return{boxData:o,outliers:a}}var boxplotTransform={type:"echarts:boxplot",transform:function t(r){var o=r.upstream;if(o.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var a="";throwError(a)}var u=prepareBoxplotData(o.getRawData(),r.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:u.boxData},{data:u.outliers}]}};function install$z(t){t.registerSeriesModel(BoxplotSeriesModel$1),t.registerChartView(BoxplotView$1),t.registerLayout(boxplotLayout),t.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(o),this._isLargeDraw?this._renderLarge(o):this._renderNormal(o)},r.prototype.incrementalPrepareRender=function(o,a,u){this._clear(),this._updateDrawMode(o)},r.prototype.incrementalRender=function(o,a,u,d){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(o,a):this._incrementalRenderNormal(o,a)},r.prototype.eachRendered=function(o){traverseElements(this._progressiveEls||this.group,o)},r.prototype._updateDrawMode=function(o){var a=o.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},r.prototype._renderNormal=function(o){var a=o.getData(),u=this._data,d=this.group,g=a.getLayout("isSimpleBox"),v=o.get("clip",!0),y=o.coordinateSystem,A=y.getArea&&y.getArea();this._data||d.removeAll(),a.diff(u).add(function(b){if(a.hasValue(b)){var _=a.getItemLayout(b);if(v&&isNormalBoxClipped(A,_))return;var w=createNormalBox(_,b,!0);initProps(w,{shape:{points:_.ends}},o,b),setBoxCommon(w,a,b,g),d.add(w),a.setItemGraphicEl(b,w)}}).update(function(b,_){var w=u.getItemGraphicEl(_);if(!a.hasValue(b)){d.remove(w);return}var S=a.getItemLayout(b);if(v&&isNormalBoxClipped(A,S)){d.remove(w);return}w?(updateProps$1(w,{shape:{points:S.ends}},o,b),saveOldStyle(w)):w=createNormalBox(S),setBoxCommon(w,a,b,g),d.add(w),a.setItemGraphicEl(b,w)}).remove(function(b){var _=u.getItemGraphicEl(b);_&&d.remove(_)}).execute(),this._data=a},r.prototype._renderLarge=function(o){this._clear(),createLarge(o,this.group);var a=o.get("clip",!0)?createClipPath(o.coordinateSystem,!1,o):null;a?this.group.setClipPath(a):this.group.removeClipPath()},r.prototype._incrementalRenderNormal=function(o,a){for(var u=a.getData(),d=u.getLayout("isSimpleBox"),g;(g=o.next())!=null;){var v=u.getItemLayout(g),y=createNormalBox(v);setBoxCommon(y,u,g,d),y.incremental=!0,this.group.add(y),this._progressiveEls.push(y)}},r.prototype._incrementalRenderLarge=function(o,a){createLarge(a,this.group,this._progressiveEls,!0)},r.prototype.remove=function(o){this._clear()},r.prototype._clear=function(){this.group.removeAll(),this._data=null},r.type="candlestick",r}(ChartView$1),NormalBoxPathShape=function(){function t(){}return t}(),NormalBoxPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a.type="normalCandlestickBox",a}return r.prototype.getDefaultShape=function(){return new NormalBoxPathShape},r.prototype.buildPath=function(o,a){var u=a.points;this.__simpleBox?(o.moveTo(u[4][0],u[4][1]),o.lineTo(u[6][0],u[6][1])):(o.moveTo(u[0][0],u[0][1]),o.lineTo(u[1][0],u[1][1]),o.lineTo(u[2][0],u[2][1]),o.lineTo(u[3][0],u[3][1]),o.closePath(),o.moveTo(u[4][0],u[4][1]),o.lineTo(u[5][0],u[5][1]),o.moveTo(u[6][0],u[6][1]),o.lineTo(u[7][0],u[7][1]))},r}(Path$1);function createNormalBox(t,r,o){var a=t.ends;return new NormalBoxPath({shape:{points:o?transInit(a,t):a},z2:100})}function isNormalBoxClipped(t,r){for(var o=!0,a=0;a0?"borderColor":"borderColor0"])||o.get(["itemStyle",t>0?"color":"color0"]);t===0&&(u=o.get(["itemStyle","borderColorDoji"]));var d=o.getModel("itemStyle").getItemStyle(SKIP_PROPS);r.useStyle(d),r.style.fill=null,r.style.stroke=u}var CandlestickView$1=CandlestickView,CandlestickSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],o}return r.prototype.getShadowDim=function(){return"open"},r.prototype.brushSelector=function(o,a,u){var d=a.getItemLayout(o);return d&&u.rect(d.brushRect)},r.type="series.candlestick",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},r}(SeriesModel$1);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);var CandlestickSeriesModel$1=CandlestickSeriesModel;function candlestickPreprocessor(t){!t||!isArray$1(t.series)||each$f(t.series,function(r){isObject$3(r)&&r.type==="k"&&(r.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(t,r){function o(d,g){return g.get(d>0?positiveColorQuery:negativeColorQuery)}function a(d,g){return g.get(d===0?dojiBorderColorQuery:d>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!r.isSeriesFiltered(t)){var u=t.pipelineContext.large;return!u&&{progress:function(d,g){for(var v;(v=d.next())!=null;){var y=g.getItemModel(v),A=g.getItemLayout(v).sign,b=y.getItemStyle();b.fill=o(A,y),b.stroke=a(A,y)||b.fill;var _=g.ensureUniqueItemVisual(v,"style");extend(_,b)}}}}}},candlestickVisual$1=candlestickVisual,candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem,o=t.getData(),a=calculateCandleWidth(t,o),u=0,d=1,g=["x","y"],v=o.getDimensionIndex(o.mapDimension(g[u])),y=map$1(o.mapDimensionsAll(g[d]),o.getDimensionIndex,o),A=y[0],b=y[1],_=y[2],w=y[3];if(o.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),v<0||y.length<4)return;return{progress:t.pipelineContext.large?C:S};function S(T,I){for(var E,F=I.getStore();(E=T.next())!=null;){var O=F.get(v,E),D=F.get(A,E),x=F.get(b,E),P=F.get(_,E),G=F.get(w,E),M=Math.min(D,x),N=Math.max(D,x),V=X(M,O),Z=X(N,O),H=X(P,O),B=X(G,O),z=[];J(z,Z,0),J(z,V,1),z.push(te(B),te(Z),te(H),te(V));var U=I.getItemModel(E),Q=!!U.get(["itemStyle","borderColorDoji"]);I.setItemLayout(E,{sign:getSign(F,E,D,x,b,Q),initBaseline:D>x?Z[d]:V[d],ends:z,brushRect:ne(P,G,O)})}function X(ce,se){var ge=[];return ge[u]=se,ge[d]=ce,isNaN(se)||isNaN(ce)?[NaN,NaN]:r.dataToPoint(ge)}function J(ce,se,ge){var he=se.slice(),ye=se.slice();he[u]=subPixelOptimize(he[u]+a/2,1,!1),ye[u]=subPixelOptimize(ye[u]-a/2,1,!0),ge?ce.push(he,ye):ce.push(ye,he)}function ne(ce,se,ge){var he=X(ce,ge),ye=X(se,ge);return he[u]-=a/2,ye[u]-=a/2,{x:he[0],y:he[1],width:a,height:ye[1]-he[1]}}function te(ce){return ce[u]=subPixelOptimize(ce[u],1),ce}}function C(T,I){for(var E=createFloat32Array(T.count*4),F=0,O,D=[],x=[],P,G=I.getStore(),M=!!t.get(["itemStyle","borderColorDoji"]);(P=T.next())!=null;){var N=G.get(v,P),V=G.get(A,P),Z=G.get(b,P),H=G.get(_,P),B=G.get(w,P);if(isNaN(N)||isNaN(H)||isNaN(B)){E[F++]=NaN,F+=3;continue}E[F++]=getSign(G,P,V,Z,b,M),D[u]=N,D[d]=H,O=r.dataToPoint(D,null,x),E[F++]=O?O[0]:NaN,E[F++]=O?O[1]:NaN,D[d]=B,O=r.dataToPoint(D,null,x),E[F++]=O?O[1]:NaN}I.setLayout("largePoints",E)}}};function getSign(t,r,o,a,u,d){var g;return o>a?g=-1:o0?t.get(u,r-1)<=a?1:-1:1,g}function calculateCandleWidth(t,r){var o=t.getBaseAxis(),a,u=o.type==="category"?o.getBandWidth():(a=o.getExtent(),Math.abs(a[1]-a[0])/r.count()),d=parsePercent(retrieve2(t.get("barMaxWidth"),u),u),g=parsePercent(retrieve2(t.get("barMinWidth"),1),u),v=t.get("barWidth");return v!=null?parsePercent(v,u):Math.max(Math.min(u/2,d),g)}var candlestickLayout$1=candlestickLayout;function install$y(t){t.registerChartView(CandlestickView$1),t.registerSeriesModel(CandlestickSeriesModel$1),t.registerPreprocessor(candlestickPreprocessor),t.registerVisual(candlestickVisual$1),t.registerLayout(candlestickLayout$1)}function updateRipplePath(t,r){var o=r.rippleEffectColor||r.color;t.eachChild(function(a){a.attr({z:r.z,zlevel:r.zlevel,style:{stroke:r.brushType==="stroke"?o:null,fill:r.brushType==="fill"?o:null}})})}var EffectSymbol=function(t){__extends$1(r,t);function r(o,a){var u=t.call(this)||this,d=new SymbolClz(o,a),g=new Group$4;return u.add(d),u.add(g),u.updateData(o,a),u}return r.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.prototype.startEffectAnimation=function(o){for(var a=o.symbolType,u=o.color,d=o.rippleNumber,g=this.childAt(1),v=0;v0&&(v=this._getLineLength(d)/b*1e3),v!==this._period||y!==this._loop||A!==this._roundTrip){d.stopAnimation();var w=void 0;isFunction(_)?w=_(u):w=_,d.__t>0&&(w=-v*d.__t),this._animateSymbol(d,v,w,y,A)}this._period=v,this._loop=y,this._roundTrip=A}},r.prototype._animateSymbol=function(o,a,u,d,g){if(a>0){o.__t=0;var v=this,y=o.animate("",d).when(g?a*2:a,{__t:g?2:1}).delay(u).during(function(){v._updateSymbolPosition(o)});d||y.done(function(){v.remove(o)}),y.start()}},r.prototype._getLineLength=function(o){return dist$2(o.__p1,o.__cp1)+dist$2(o.__cp1,o.__p2)},r.prototype._updateAnimationPoints=function(o,a){o.__p1=a[0],o.__p2=a[1],o.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},r.prototype.updateData=function(o,a,u){this.childAt(0).updateData(o,a,u),this._updateEffectSymbol(o,a)},r.prototype._updateSymbolPosition=function(o){var a=o.__p1,u=o.__p2,d=o.__cp1,g=o.__t<1?o.__t:2-o.__t,v=[o.x,o.y],y=v.slice(),A=quadraticAt$1,b=quadraticDerivativeAt;v[0]=A(a[0],d[0],u[0],g),v[1]=A(a[1],d[1],u[1],g);var _=o.__t<1?b(a[0],d[0],u[0],g):b(u[0],d[0],a[0],1-g),w=o.__t<1?b(a[1],d[1],u[1],g):b(u[1],d[1],a[1],1-g);o.rotation=-Math.atan2(w,_)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(o.__lastT!==void 0&&o.__lastT=0&&!(d[y]<=a);y--);y=Math.min(y,g-2)}else{for(y=v;ya);y++);y=Math.min(y-1,g-2)}var b=(a-d[y])/(d[y+1]-d[y]),_=u[y],w=u[y+1];o.x=_[0]*(1-b)+b*w[0],o.y=_[1]*(1-b)+b*w[1];var S=o.__t<1?w[0]-_[0]:_[0]-w[0],C=o.__t<1?w[1]-_[1]:_[1]-w[1];o.rotation=-Math.atan2(C,S)-Math.PI/2,this._lastFrame=y,this._lastFramePercent=a,o.ignore=!1}},r}(EffectLine$1),EffectPolyline$1=EffectPolyline,LargeLinesPathShape=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),LargeLinesPath=function(t){__extends$1(r,t);function r(o){var a=t.call(this,o)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LargeLinesPathShape},r.prototype.buildPath=function(o,a){var u=a.segs,d=a.curveness,g;if(a.polyline)for(g=this._off;g0){o.moveTo(u[g++],u[g++]);for(var y=1;y0){var S=(A+_)/2-(b-w)*d,C=(b+w)/2-(_-A)*d;o.quadraticCurveTo(S,C,_,w)}else o.lineTo(_,w)}this.incremental&&(this._off=g,this.notClear=!0)},r.prototype.findDataIndex=function(o,a){var u=this.shape,d=u.segs,g=u.curveness,v=this.style.lineWidth;if(u.polyline)for(var y=0,A=0;A0)for(var _=d[A++],w=d[A++],S=1;S0){var I=(_+C)/2-(w-T)*g,E=(w+T)/2-(C-_)*g;if(containStroke$2(_,w,I,E,C,T,v,o,a))return y}else if(containStroke$4(_,w,C,T,v,o,a))return y;y++}return-1},r.prototype.contain=function(o,a){var u=this.transformCoordToLocal(o,a),d=this.getBoundingRect();if(o=u[0],a=u[1],d.contain(o,a)){var g=this.hoverDataIdx=this.findDataIndex(o,a);return g>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var o=this._rect;if(!o){for(var a=this.shape,u=a.segs,d=1/0,g=1/0,v=-1/0,y=-1/0,A=0;A0&&(g.dataIndex=y+r.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),LargeLineDraw$1=LargeLineDraw,linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem;if(!!r){var o=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(u,d){var g=[];if(a){var v=void 0,y=u.end-u.start;if(o){for(var A=0,b=u.start;b0&&(b||A.configLayer(v,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),g.updateData(d);var _=o.get("clip",!0)&&createClipPath(o.coordinateSystem,!1,o);_?this.group.setClipPath(_):this.group.removeClipPath(),this._lastZlevel=v,this._finished=!0},r.prototype.incrementalPrepareRender=function(o,a,u){var d=o.getData(),g=this._updateLineDraw(d,o);g.incrementalPrepareUpdate(d),this._clearLayer(u),this._finished=!1},r.prototype.incrementalRender=function(o,a,u){this._lineDraw.incrementalUpdate(o,a.getData()),this._finished=o.end===a.getData().count()},r.prototype.eachRendered=function(o){this._lineDraw&&this._lineDraw.eachRendered(o)},r.prototype.updateTransform=function(o,a,u){var d=o.getData(),g=o.pipelineContext;if(!this._finished||g.large||g.progressiveRender)return{update:!0};var v=linesLayout$1.reset(o,a,u);v.progress&&v.progress({start:0,end:d.count(),count:d.count()},d),this._lineDraw.updateLayout(),this._clearLayer(u)},r.prototype._updateLineDraw=function(o,a){var u=this._lineDraw,d=this._showEffect(a),g=!!a.get("polyline"),v=a.pipelineContext,y=v.large;return(!u||d!==this._hasEffet||g!==this._isPolyline||y!==this._isLargeDraw)&&(u&&u.remove(),u=this._lineDraw=y?new LargeLineDraw$1:new LineDraw$1(g?d?EffectPolyline$1:Polyline$1:d?EffectLine$1:Line$1),this._hasEffet=d,this._isPolyline=g,this._isLargeDraw=y),this.group.add(u.group),u},r.prototype._showEffect=function(o){return!!o.get(["effect","show"])},r.prototype._clearLayer=function(o){var a=o.getZr(),u=a.painter.getType()==="svg";!u&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},r.prototype.remove=function(o,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},r.prototype.dispose=function(o,a){this.remove(o,a)},r.type="lines",r}(ChartView$1),LinesView$1=LinesView,Uint32Arr=typeof Uint32Array=="undefined"?Array:Uint32Array,Float64Arr=typeof Float64Array=="undefined"?Array:Float64Array;function compatEc2(t){var r=t.data;r&&r[0]&&r[0][0]&&r[0][0].coord&&(t.data=map$1(r,function(o){var a=[o[0].coord,o[1].coord],u={coords:a};return o[0].name&&(u.fromName=o[0].name),o[1].name&&(u.toName=o[1].name),mergeAll([u,o[0],o[1]])}))}var LinesSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.visualStyleAccessPath="lineStyle",o.visualDrawType="stroke",o}return r.prototype.init=function(o){o.data=o.data||[],compatEc2(o);var a=this._processFlatCoordsArray(o.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(o.data=new Float32Array(a.count)),t.prototype.init.apply(this,arguments)},r.prototype.mergeOption=function(o){if(compatEc2(o),o.data){var a=this._processFlatCoordsArray(o.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(o.data=new Float32Array(a.count))}t.prototype.mergeOption.apply(this,arguments)},r.prototype.appendData=function(o){var a=this._processFlatCoordsArray(o.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,a.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),o.data=new Float32Array(a.count)),this.getRawData().appendData(o.data)},r.prototype._getCoordsFromItemModel=function(o){var a=this.getData().getItemModel(o),u=a.option instanceof Array?a.option:a.getShallow("coords");return u},r.prototype.getLineCoordsCount=function(o){return this._flatCoordsOffset?this._flatCoordsOffset[o*2+1]:this._getCoordsFromItemModel(o).length},r.prototype.getLineCoords=function(o,a){if(this._flatCoordsOffset){for(var u=this._flatCoordsOffset[o*2],d=this._flatCoordsOffset[o*2+1],g=0;g ")})},r.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},r.prototype.getProgressive=function(){var o=this.option.progressive;return o==null?this.option.large?1e4:this.get("progressive"):o},r.prototype.getProgressiveThreshold=function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?2e4:this.get("progressiveThreshold"):o},r.prototype.getZLevelKey=function(){var o=this.getModel("effect"),a=o.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:o.get("show")&&a>0?a+"":""},r.type="series.lines",r.dependencies=["grid","polar","geo","calendar"],r.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},r}(SeriesModel$1),LinesSeriesModel$1=LinesSeriesModel;function normalize(t){return t instanceof Array||(t=[t,t]),t}var linesVisual={seriesType:"lines",reset:function(t){var r=normalize(t.get("symbol")),o=normalize(t.get("symbolSize")),a=t.getData();a.setVisual("fromSymbol",r&&r[0]),a.setVisual("toSymbol",r&&r[1]),a.setVisual("fromSymbolSize",o&&o[0]),a.setVisual("toSymbolSize",o&&o[1]);function u(d,g){var v=d.getItemModel(g),y=normalize(v.getShallow("symbol",!0)),A=normalize(v.getShallow("symbolSize",!0));y[0]&&d.setItemVisual(g,"fromSymbol",y[0]),y[1]&&d.setItemVisual(g,"toSymbol",y[1]),A[0]&&d.setItemVisual(g,"fromSymbolSize",A[0]),A[1]&&d.setItemVisual(g,"toSymbolSize",A[1])}return{dataEach:a.hasItemOption?u:null}}},linesVisual$1=linesVisual;function install$w(t){t.registerChartView(LinesView$1),t.registerSeriesModel(LinesSeriesModel$1),t.registerLayout(linesLayout$1),t.registerVisual(linesVisual$1)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var r=platformApi.createCanvas();this.canvas=r}return t.prototype.update=function(r,o,a,u,d,g){var v=this._getBrush(),y=this._getGradient(d,"inRange"),A=this._getGradient(d,"outOfRange"),b=this.pointSize+this.blurSize,_=this.canvas,w=_.getContext("2d"),S=r.length;_.width=o,_.height=a;for(var C=0;C0){var H=g(O)?y:A;O>0&&(O=O*V+M),x[P++]=H[Z],x[P++]=H[Z+1],x[P++]=H[Z+2],x[P++]=H[Z+3]*O*256}else P+=4}return w.putImageData(D,0,0),_},t.prototype._getBrush=function(){var r=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),o=this.pointSize+this.blurSize,a=o*2;r.width=a,r.height=a;var u=r.getContext("2d");return u.clearRect(0,0,a,a),u.shadowOffsetX=a,u.shadowBlur=this.blurSize,u.shadowColor="#000",u.beginPath(),u.arc(-o,o,this.pointSize,0,Math.PI*2,!0),u.closePath(),u.fill(),r},t.prototype._getGradient=function(r,o){for(var a=this._gradientPixels,u=a[o]||(a[o]=new Uint8ClampedArray(256*4)),d=[0,0,0,0],g=0,v=0;v<256;v++)r[o](v/255,!0,d),u[g++]=d[0],u[g++]=d[1],u[g++]=d[2],u[g++]=d[3];return u},t}(),HeatmapLayer$1=HeatmapLayer;function getIsInPiecewiseRange(t,r,o){var a=t[1]-t[0];r=map$1(r,function(g){return{interval:[(g.interval[0]-t[0])/a,(g.interval[1]-t[0])/a]}});var u=r.length,d=0;return function(g){var v;for(v=d;v=0;v--){var y=r[v].interval;if(y[0]<=g&&g<=y[1]){d=v;break}}return v>=0&&v=r[0]&&a<=r[1]}}function isGeoCoordSys(t){var r=t.dimensions;return r[0]==="lng"&&r[1]==="lat"}var HeatmapView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d;a.eachComponent("visualMap",function(v){v.eachTargetSeries(function(y){y===o&&(d=v)})}),this._progressiveEls=null,this.group.removeAll();var g=o.coordinateSystem;g.type==="cartesian2d"||g.type==="calendar"?this._renderOnCartesianAndCalendar(o,u,0,o.getData().count()):isGeoCoordSys(g)&&this._renderOnGeo(g,o,d,u)},r.prototype.incrementalPrepareRender=function(o,a,u){this.group.removeAll()},r.prototype.incrementalRender=function(o,a,u,d){var g=a.coordinateSystem;g&&(isGeoCoordSys(g)?this.render(a,u,d):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,d,o.start,o.end,!0)))},r.prototype.eachRendered=function(o){traverseElements(this._progressiveEls||this.group,o)},r.prototype._renderOnCartesianAndCalendar=function(o,a,u,d,g){var v=o.coordinateSystem,y=isCoordinateSystemType(v,"cartesian2d"),A,b,_,w;if(y){var S=v.getAxis("x"),C=v.getAxis("y");A=S.getBandWidth()+.5,b=C.getBandWidth()+.5,_=S.scale.getExtent(),w=C.scale.getExtent()}for(var T=this.group,I=o.getData(),E=o.getModel(["emphasis","itemStyle"]).getItemStyle(),F=o.getModel(["blur","itemStyle"]).getItemStyle(),O=o.getModel(["select","itemStyle"]).getItemStyle(),D=o.get(["itemStyle","borderRadius"]),x=getLabelStatesModels(o),P=o.getModel("emphasis"),G=P.get("focus"),M=P.get("blurScope"),N=P.get("disabled"),V=y?[I.mapDimension("x"),I.mapDimension("y"),I.mapDimension("value")]:[I.mapDimension("time"),I.mapDimension("value")],Z=u;Z_[1]||Uw[1])continue;var Q=v.dataToPoint([z,U]);H=new Rect$3({shape:{x:Q[0]-A/2,y:Q[1]-b/2,width:A,height:b},style:B})}else{if(isNaN(I.get(V[1],Z)))continue;H=new Rect$3({z2:1,shape:v.dataToRect([I.get(V[0],Z)]).contentShape,style:B})}if(I.hasItemOption){var X=I.getItemModel(Z),J=X.getModel("emphasis");E=J.getModel("itemStyle").getItemStyle(),F=X.getModel(["blur","itemStyle"]).getItemStyle(),O=X.getModel(["select","itemStyle"]).getItemStyle(),D=X.get(["itemStyle","borderRadius"]),G=J.get("focus"),M=J.get("blurScope"),N=J.get("disabled"),x=getLabelStatesModels(X)}H.shape.r=D;var ne=o.getRawValue(Z),te="-";ne&&ne[2]!=null&&(te=ne[2]+""),setLabelStyle(H,x,{labelFetcher:o,labelDataIndex:Z,defaultOpacity:B.opacity,defaultText:te}),H.ensureState("emphasis").style=E,H.ensureState("blur").style=F,H.ensureState("select").style=O,toggleHoverEmphasis(H,G,M,N),H.incremental=g,g&&(H.states.emphasis.hoverLayer=!0),T.add(H),I.setItemGraphicEl(Z,H),this._progressiveEls&&this._progressiveEls.push(H)}},r.prototype._renderOnGeo=function(o,a,u,d){var g=u.targetVisuals.inRange,v=u.targetVisuals.outOfRange,y=a.getData(),A=this._hmLayer||this._hmLayer||new HeatmapLayer$1;A.blurSize=a.get("blurSize"),A.pointSize=a.get("pointSize"),A.minOpacity=a.get("minOpacity"),A.maxOpacity=a.get("maxOpacity");var b=o.getViewRect().clone(),_=o.getRoamTransform();b.applyTransform(_);var w=Math.max(b.x,0),S=Math.max(b.y,0),C=Math.min(b.width+b.x,d.getWidth()),T=Math.min(b.height+b.y,d.getHeight()),I=C-w,E=T-S,F=[y.mapDimension("lng"),y.mapDimension("lat"),y.mapDimension("value")],O=y.mapArray(F,function(G,M,N){var V=o.dataToPoint([G,M]);return V[0]-=w,V[1]-=S,V.push(N),V}),D=u.getExtent(),x=u.type==="visualMap.continuous"?getIsInContinuousRange(D,u.option.range):getIsInPiecewiseRange(D,u.getPieceList(),u.option.selected);A.update(O,I,E,g.color.getNormalizer(),{inRange:g.color.getColorMapper(),outOfRange:v.color.getColorMapper()},x);var P=new ZRImage$1({style:{width:I,height:E,x:w,y:S,image:A.canvas},silent:!0});this.group.add(P)},r.type="heatmap",r}(ChartView$1),HeatmapView$1=HeatmapView,HeatmapSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.getInitialData=function(o,a){return createSeriesData(null,this,{generateCoord:"value"})},r.prototype.preventIncremental=function(){var o=CoordinateSystem.get(this.get("coordinateSystem"));if(o&&o.dimensions)return o.dimensions[0]==="lng"&&o.dimensions[1]==="lat"},r.type="series.heatmap",r.dependencies=["grid","geo","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1),HeatmapSeriesModel$1=HeatmapSeriesModel;function install$v(t){t.registerChartView(HeatmapView$1),t.registerSeriesModel(HeatmapSeriesModel$1)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle$1,PictorialBarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group,g=o.getData(),v=this._data,y=o.coordinateSystem,A=y.getBaseAxis(),b=A.isHorizontal(),_=y.master.getRect(),w={ecSize:{width:u.getWidth(),height:u.getHeight()},seriesModel:o,coordSys:y,coordSysExtent:[[_.x,_.x+_.width],[_.y,_.y+_.height]],isHorizontal:b,valueDim:LAYOUT_ATTRS[+b],categoryDim:LAYOUT_ATTRS[1-+b]};g.diff(v).add(function(C){if(!!g.hasValue(C)){var T=getItemModel(g,C),I=getSymbolMeta(g,C,T,w),E=createBar(g,w,I);g.setItemGraphicEl(C,E),d.add(E),updateCommon(E,w,I)}}).update(function(C,T){var I=v.getItemGraphicEl(T);if(!g.hasValue(C)){d.remove(I);return}var E=getItemModel(g,C),F=getSymbolMeta(g,C,E,w),O=getShapeStr(g,F);I&&O!==I.__pictorialShapeStr&&(d.remove(I),g.setItemGraphicEl(C,null),I=null),I?updateBar(I,w,F):I=createBar(g,w,F,!0),g.setItemGraphicEl(C,I),I.__pictorialSymbolMeta=F,d.add(I),updateCommon(I,w,F)}).remove(function(C){var T=v.getItemGraphicEl(C);T&&removeBar(v,C,T.__pictorialSymbolMeta.animationModel,T)}).execute();var S=o.get("clip",!0)?createClipPath(o.coordinateSystem,!1,o):null;return S?d.setClipPath(S):d.removeClipPath(),this._data=g,this.group},r.prototype.remove=function(o,a){var u=this.group,d=this._data;o.get("animation")?d&&d.eachItemGraphicEl(function(g){removeBar(d,getECData(g).dataIndex,o,g)}):u.removeAll()},r.type="pictorialBar",r}(ChartView$1);function getSymbolMeta(t,r,o,a){var u=t.getItemLayout(r),d=o.get("symbolRepeat"),g=o.get("symbolClip"),v=o.get("symbolPosition")||"start",y=o.get("symbolRotate"),A=(y||0)*Math.PI/180||0,b=o.get("symbolPatternSize")||2,_=o.isAnimationEnabled(),w={dataIndex:r,layout:u,itemModel:o,symbolType:t.getItemVisual(r,"symbol")||"circle",style:t.getItemVisual(r,"style"),symbolClip:g,symbolRepeat:d,symbolRepeatDirection:o.get("symbolRepeatDirection"),symbolPatternSize:b,rotation:A,animationModel:_?o:null,hoverScale:_&&o.get(["emphasis","scale"]),z2:o.getShallow("z",!0)||0};prepareBarLength(o,d,u,a,w),prepareSymbolSize(t,r,u,d,g,w.boundingLength,w.pxSign,b,a,w),prepareLineWidth(o,w.symbolScale,A,a,w);var S=w.symbolSize,C=normalizeSymbolOffset(o.get("symbolOffset"),S);return prepareLayoutInfo(o,S,u,d,g,C,v,w.valueLineWidth,w.boundingLength,w.repeatCutLength,a,w),w}function prepareBarLength(t,r,o,a,u){var d=a.valueDim,g=t.get("symbolBoundingData"),v=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),y=v.toGlobalCoord(v.dataToCoord(0)),A=1-+(o[d.wh]<=0),b;if(isArray$1(g)){var _=[convertToCoordOnAxis(v,g[0])-y,convertToCoordOnAxis(v,g[1])-y];_[1]<_[0]&&_.reverse(),b=_[A]}else g!=null?b=convertToCoordOnAxis(v,g)-y:r?b=a.coordSysExtent[d.index][A]-y:b=o[d.wh];u.boundingLength=b,r&&(u.repeatCutLength=o[d.wh]),u.pxSign=b>0?1:-1}function convertToCoordOnAxis(t,r){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(r)))}function prepareSymbolSize(t,r,o,a,u,d,g,v,y,A){var b=y.valueDim,_=y.categoryDim,w=Math.abs(o[_.wh]),S=t.getItemVisual(r,"symbolSize"),C;isArray$1(S)?C=S.slice():S==null?C=["100%","100%"]:C=[S,S],C[_.index]=parsePercent(C[_.index],w),C[b.index]=parsePercent(C[b.index],a?w:Math.abs(d)),A.symbolSize=C;var T=A.symbolScale=[C[0]/v,C[1]/v];T[b.index]*=(y.isHorizontal?-1:1)*g}function prepareLineWidth(t,r,o,a,u){var d=t.get(BAR_BORDER_WIDTH_QUERY)||0;d&&(pathForLineWidth.attr({scaleX:r[0],scaleY:r[1],rotation:o}),pathForLineWidth.updateTransform(),d/=pathForLineWidth.getLineScale(),d*=r[a.valueDim.index]),u.valueLineWidth=d||0}function prepareLayoutInfo(t,r,o,a,u,d,g,v,y,A,b,_){var w=b.categoryDim,S=b.valueDim,C=_.pxSign,T=Math.max(r[S.index]+v,0),I=T;if(a){var E=Math.abs(y),F=retrieve(t.get("symbolMargin"),"15%")+"",O=!1;F.lastIndexOf("!")===F.length-1&&(O=!0,F=F.slice(0,F.length-1));var D=parsePercent(F,r[S.index]),x=Math.max(T+D*2,0),P=O?0:D*2,G=isNumeric(a),M=G?a:toIntTimes((E+P)/x),N=E-M*T;D=N/2/(O?M:Math.max(M-1,1)),x=T+D*2,P=O?0:D*2,!G&&a!=="fixed"&&(M=A?toIntTimes((Math.abs(A)+P)/x):0),I=M*x-P,_.repeatTimes=M,_.symbolMargin=D}var V=C*(I/2),Z=_.pathPosition=[];Z[w.index]=o[w.wh]/2,Z[S.index]=g==="start"?V:g==="end"?y-V:y/2,d&&(Z[0]+=d[0],Z[1]+=d[1]);var H=_.bundlePosition=[];H[w.index]=o[w.xy],H[S.index]=o[S.xy];var B=_.barRectShape=extend({},o);B[S.wh]=C*Math.max(Math.abs(o[S.wh]),Math.abs(Z[S.index]+V)),B[w.wh]=o[w.wh];var z=_.clipShape={};z[w.xy]=-o[w.xy],z[w.wh]=b.ecSize[w.wh],z[S.xy]=0,z[S.wh]=o[S.wh]}function createPath(t){var r=t.symbolPatternSize,o=createSymbol$1(t.symbolType,-r/2,-r/2,r,r);return o.attr({culling:!0}),o.type!=="image"&&o.setStyle({strokeNoScale:!0}),o}function createOrUpdateRepeatSymbols(t,r,o,a){var u=t.__pictorialBundle,d=o.symbolSize,g=o.valueLineWidth,v=o.pathPosition,y=r.valueDim,A=o.repeatTimes||0,b=0,_=d[r.valueDim.index]+g+o.symbolMargin*2;for(eachPath(t,function(T){T.__pictorialAnimationIndex=b,T.__pictorialRepeatTimes=A,b0:E<0)&&(F=A-1-T),I[y.index]=_*(F-A/2+.5)+v[y.index],{x:I[0],y:I[1],scaleX:o.symbolScale[0],scaleY:o.symbolScale[1],rotation:o.rotation}}}function createOrUpdateSingleSymbol(t,r,o,a){var u=t.__pictorialBundle,d=t.__pictorialMainPath;d?updateAttr(d,null,{x:o.pathPosition[0],y:o.pathPosition[1],scaleX:o.symbolScale[0],scaleY:o.symbolScale[1],rotation:o.rotation},o,a):(d=t.__pictorialMainPath=createPath(o),u.add(d),updateAttr(d,{x:o.pathPosition[0],y:o.pathPosition[1],scaleX:0,scaleY:0,rotation:o.rotation},{scaleX:o.symbolScale[0],scaleY:o.symbolScale[1]},o,a))}function createOrUpdateBarRect(t,r,o){var a=extend({},r.barRectShape),u=t.__pictorialBarRect;u?updateAttr(u,null,{shape:a},r,o):(u=t.__pictorialBarRect=new Rect$3({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),u.disableMorphing=!0,t.add(u))}function createOrUpdateClip(t,r,o,a){if(o.symbolClip){var u=t.__pictorialClipPath,d=extend({},o.clipShape),g=r.valueDim,v=o.animationModel,y=o.dataIndex;if(u)updateProps$1(u,{shape:d},v,y);else{d[g.wh]=0,u=new Rect$3({shape:d}),t.__pictorialBundle.setClipPath(u),t.__pictorialClipPath=u;var A={};A[g.wh]=o.clipShape[g.wh],graphic[a?"updateProps":"initProps"](u,{shape:A},v,y)}}}function getItemModel(t,r){var o=t.getItemModel(r);return o.getAnimationDelayParams=getAnimationDelayParams,o.isAnimationEnabled=isAnimationEnabled,o}function getAnimationDelayParams(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(t,r,o,a){var u=new Group$4,d=new Group$4;return u.add(d),u.__pictorialBundle=d,d.x=o.bundlePosition[0],d.y=o.bundlePosition[1],o.symbolRepeat?createOrUpdateRepeatSymbols(u,r,o):createOrUpdateSingleSymbol(u,r,o),createOrUpdateBarRect(u,o,a),createOrUpdateClip(u,r,o,a),u.__pictorialShapeStr=getShapeStr(t,o),u.__pictorialSymbolMeta=o,u}function updateBar(t,r,o){var a=o.animationModel,u=o.dataIndex,d=t.__pictorialBundle;updateProps$1(d,{x:o.bundlePosition[0],y:o.bundlePosition[1]},a,u),o.symbolRepeat?createOrUpdateRepeatSymbols(t,r,o,!0):createOrUpdateSingleSymbol(t,r,o,!0),createOrUpdateBarRect(t,o,!0),createOrUpdateClip(t,r,o,!0)}function removeBar(t,r,o,a){var u=a.__pictorialBarRect;u&&u.removeTextContent();var d=[];eachPath(a,function(g){d.push(g)}),a.__pictorialMainPath&&d.push(a.__pictorialMainPath),a.__pictorialClipPath&&(o=null),each$f(d,function(g){removeElement(g,{scaleX:0,scaleY:0},o,r,function(){a.parent&&a.parent.remove(a)})}),t.setItemGraphicEl(r,null)}function getShapeStr(t,r){return[t.getItemVisual(r.dataIndex,"symbol")||"none",!!r.symbolRepeat,!!r.symbolClip].join(":")}function eachPath(t,r,o){each$f(t.__pictorialBundle.children(),function(a){a!==t.__pictorialBarRect&&r.call(o,a)})}function updateAttr(t,r,o,a,u,d){r&&t.attr(r),a.symbolClip&&!u?o&&t.attr(o):o&&graphic[u?"updateProps":"initProps"](t,o,a.animationModel,a.dataIndex,d)}function updateCommon(t,r,o){var a=o.dataIndex,u=o.itemModel,d=u.getModel("emphasis"),g=d.getModel("itemStyle").getItemStyle(),v=u.getModel(["blur","itemStyle"]).getItemStyle(),y=u.getModel(["select","itemStyle"]).getItemStyle(),A=u.getShallow("cursor"),b=d.get("focus"),_=d.get("blurScope"),w=d.get("scale");eachPath(t,function(T){if(T instanceof ZRImage$1){var I=T.style;T.useStyle(extend({image:I.image,x:I.x,y:I.y,width:I.width,height:I.height},o.style))}else T.useStyle(o.style);var E=T.ensureState("emphasis");E.style=g,w&&(E.scaleX=T.scaleX*1.1,E.scaleY=T.scaleY*1.1),T.ensureState("blur").style=v,T.ensureState("select").style=y,A&&(T.cursor=A),T.z2=o.z2});var S=r.valueDim.posDesc[+(o.boundingLength>0)],C=t.__pictorialBarRect;C.ignoreClip=!0,setLabelStyle(C,getLabelStatesModels(u),{labelFetcher:r.seriesModel,labelDataIndex:a,defaultText:getDefaultLabel(r.seriesModel.getData(),a),inheritColor:o.style.fill,defaultOpacity:o.style.opacity,defaultOutsidePosition:S}),toggleHoverEmphasis(t,b,_,d.get("disabled"))}function toIntTimes(t){var r=Math.round(t);return Math.abs(t-r)<1e-4?r:Math.ceil(t)}var PictorialBarView$1=PictorialBarView,PictorialBarSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.hasSymbolVisual=!0,o.defaultSymbol="roundRect",o}return r.prototype.getInitialData=function(o){return o.stack=null,t.prototype.getInitialData.apply(this,arguments)},r.type="series.pictorialBar",r.dependencies=["grid"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),r}(BaseBarSeriesModel$1),PictorialBarSeriesModel$1=PictorialBarSeriesModel;function install$u(t){t.registerChartView(PictorialBarView$1),t.registerSeriesModel(PictorialBarSeriesModel$1),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._layers=[],o}return r.prototype.render=function(o,a,u){var d=o.getData(),g=this,v=this.group,y=o.getLayerSeries(),A=d.getLayout("layoutInfo"),b=A.rect,_=A.boundaryGap;v.x=0,v.y=b.y+_[0];function w(I){return I.name}var S=new DataDiffer$1(this._layersSeries||[],y,w,w),C=[];S.add(bind$1(T,this,"add")).update(bind$1(T,this,"update")).remove(bind$1(T,this,"remove")).execute();function T(I,E,F){var O=g._layers;if(I==="remove"){v.remove(O[E]);return}for(var D=[],x=[],P,G=y[E].indices,M=0;Md&&(d=v),a.push(v)}for(var A=0;Ad&&(d=_)}return{y0:u,max:d}}function install$t(t){t.registerChartView(ThemeRiverView$1),t.registerSeriesModel(ThemeRiverSeriesModel$1),t.registerLayout(themeRiverLayout),t.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this)||this;g.z2=DEFAULT_SECTOR_Z,g.textConfig={inside:!0},getECData(g).seriesIndex=a.seriesIndex;var v=new ZRText$1({z2:DEFAULT_TEXT_Z,silent:o.getModel().get(["label","silent"])});return g.setTextContent(v),g.updateData(!0,o,a,u,d),g}return r.prototype.updateData=function(o,a,u,d,g){this.node=a,a.piece=this,u=u||this._seriesModel,d=d||this._ecModel;var v=this;getECData(v).dataIndex=a.dataIndex;var y=a.getModel(),A=y.getModel("emphasis"),b=a.getLayout(),_=extend({},b);_.label=null;var w=a.getVisual("style");w.lineJoin="bevel";var S=a.getVisual("decal");S&&(w.decal=createOrUpdatePatternFromDecal(S,g));var C=getSectorCornerRadius(y.getModel("itemStyle"),_,!0);extend(_,C),each$f(SPECIAL_STATES,function(F){var O=v.ensureState(F),D=y.getModel([F,"itemStyle"]);O.style=D.getItemStyle();var x=getSectorCornerRadius(D,_);x&&(O.shape=x)}),o?(v.setShape(_),v.shape.r=b.r0,initProps(v,{shape:{r:b.r}},u,a.dataIndex)):(updateProps$1(v,{shape:_},u),saveOldStyle(v)),v.useStyle(w),this._updateLabel(u);var T=y.getShallow("cursor");T&&v.attr("cursor",T),this._seriesModel=u||this._seriesModel,this._ecModel=d||this._ecModel;var I=A.get("focus"),E=I==="ancestor"?a.getAncestorsIndices():I==="descendant"?a.getDescendantIndices():I;toggleHoverEmphasis(this,E,A.get("blurScope"),A.get("disabled"))},r.prototype._updateLabel=function(o){var a=this,u=this.node.getModel(),d=u.getModel("label"),g=this.node.getLayout(),v=g.endAngle-g.startAngle,y=(g.startAngle+g.endAngle)/2,A=Math.cos(y),b=Math.sin(y),_=this,w=_.getTextContent(),S=this.node.dataIndex,C=d.get("minAngle")/180*Math.PI,T=d.get("show")&&!(C!=null&&Math.abs(v)z&&!isRadianAroundZero(Q-z)&&Q0?(g.virtualPiece?g.virtualPiece.updateData(!1,F,o,a,u):(g.virtualPiece=new SunburstPiece$1(F,o,a,u),b.add(g.virtualPiece)),O.piece.off("click"),g.virtualPiece.on("click",function(D){g._rootToNode(O.parentNode)})):g.virtualPiece&&(b.remove(g.virtualPiece),g.virtualPiece=null)}},r.prototype._initEvents=function(){var o=this;this.group.off("click"),this.group.on("click",function(a){var u=!1,d=o.seriesModel.getViewRoot();d.eachNode(function(g){if(!u&&g.piece&&g.piece===a.target){var v=g.getModel().get("nodeClick");if(v==="rootToNode")o._rootToNode(g);else if(v==="link"){var y=g.getModel(),A=y.get("link");if(A){var b=y.get("target",!0)||"_blank";windowOpen(A,b)}}u=!0}})})},r.prototype._rootToNode=function(o){o!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:o})},r.prototype.containPoint=function(o,a){var u=a.getData(),d=u.getItemLayout(0);if(d){var g=o[0]-d.cx,v=o[1]-d.cy,y=Math.sqrt(g*g+v*v);return y<=d.r&&y>=d.r0}},r.type="sunburst",r}(ChartView$1),SunburstView$1=SunburstView,SunburstSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.ignoreStyleOnData=!0,o}return r.prototype.getInitialData=function(o,a){var u={name:o.name,children:o.data};completeTreeValue(u);var d=this._levelModels=map$1(o.levels||[],function(y){return new Model$1(y,this,a)},this),g=Tree$1.createTree(u,this,v);function v(y){y.wrapMethod("getItemModel",function(A,b){var _=g.getNodeByDataIndex(b),w=d[_.depth];return w&&(A.parentModel=w),A})}return g.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.getDataParams=function(o){var a=t.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(o);return a.treePathInfo=wrapTreePathInfo(u,this),a},r.prototype.getLevelModel=function(o){return this._levelModels&&this._levelModels[o.depth]},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(o){o?this._viewRoot=o:o=this._viewRoot;var a=this.getRawData().tree.root;(!o||o!==a&&!a.contains(o))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.sunburst",r.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},r}(SeriesModel$1);function completeTreeValue(t){var r=0;each$f(t.children,function(a){completeTreeValue(a);var u=a.value;isArray$1(u)&&(u=u[0]),r+=u});var o=t.value;isArray$1(o)&&(o=o[0]),(o==null||isNaN(o))&&(o=r),o<0&&(o=0),isArray$1(t.value)?t.value[0]=o:t.value=o}var SunburstSeriesModel$1=SunburstSeriesModel,RADIAN=Math.PI/180;function sunburstLayout(t,r,o){r.eachSeriesByType(t,function(a){var u=a.get("center"),d=a.get("radius");isArray$1(d)||(d=[0,d]),isArray$1(u)||(u=[u,u]);var g=o.getWidth(),v=o.getHeight(),y=Math.min(g,v),A=parsePercent(u[0],g),b=parsePercent(u[1],v),_=parsePercent(d[0],y/2),w=parsePercent(d[1],y/2),S=-a.get("startAngle")*RADIAN,C=a.get("minAngle")*RADIAN,T=a.getData().tree.root,I=a.getViewRoot(),E=I.depth,F=a.get("sort");F!=null&&initChildren(I,F);var O=0;each$f(I.children,function(Q){!isNaN(Q.getValue())&&O++});var D=I.getValue(),x=Math.PI/(D||O)*2,P=I.depth>0,G=I.height-(P?-1:1),M=(w-_)/(G||1),N=a.get("clockwise"),V=a.get("stillShowZeroSum"),Z=N?1:-1,H=function(Q,X){if(!!Q){var J=X;if(Q!==T){var ne=Q.getValue(),te=D===0&&V?x:ne*x;te1;)g=g.parentNode;var v=u.getColorFromPalette(g.name||g.dataIndex+"",r);return a.depth>1&&isString$1(v)&&(v=lift(v,(a.depth-1)/(d-1)*.5)),v}t.eachSeriesByType("sunburst",function(a){var u=a.getData(),d=u.tree;d.eachNode(function(g){var v=g.getModel(),y=v.getModel("itemStyle").getItemStyle();y.fill||(y.fill=o(g,a,d.root.height));var A=u.ensureUniqueItemVisual(g.dataIndex,"style");extend(A,y)})})}function install$s(t){t.registerChartView(SunburstView$1),t.registerSeriesModel(SunburstSeriesModel$1),t.registerLayout(curry$1(sunburstLayout,"sunburst")),t.registerProcessor(curry$1(dataFilter$1,"sunburst")),t.registerVisual(sunburstVisual),installSunburstAction(t)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},r.prototype.getInitialData=function(o,a){return createSeriesData(null,this)},r.prototype.getDataParams=function(o,a,u){var d=t.prototype.getDataParams.call(this,o,a);return u&&(d.info=customInnerStore(u).info),d},r.type="series.custom",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},r}(SeriesModel$1),CustomSeriesModel$1=CustomSeriesModel;function dataToCoordSize$3(t,r){return r=r||[0,0],map$1(["x","y"],function(o,a){var u=this.getAxis(o),d=r[a],g=t[a]/2;return u.type==="category"?u.getBandWidth():Math.abs(u.dataToCoord(d-g)-u.dataToCoord(d+g))},this)}function cartesianPrepareCustom(t){var r=t.master.getRect();return{coordSys:{type:"cartesian2d",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$3,t)}}}function dataToCoordSize$2(t,r){return r=r||[0,0],map$1([0,1],function(o){var a=r[o],u=t[o]/2,d=[],g=[];return d[o]=a-u,g[o]=a+u,d[1-o]=g[1-o]=r[1-o],Math.abs(this.dataToPoint(d)[o]-this.dataToPoint(g)[o])},this)}function geoPrepareCustom(t){var r=t.getBoundingRect();return{coordSys:{type:"geo",x:r.x,y:r.y,width:r.width,height:r.height,zoom:t.getZoom()},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$2,t)}}}function dataToCoordSize$1(t,r){var o=this.getAxis(),a=r instanceof Array?r[0]:r,u=(t instanceof Array?t[0]:t)/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(a-u)-o.dataToCoord(a+u))}function singlePrepareCustom(t){var r=t.getRect();return{coordSys:{type:"singleAxis",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(o){return t.dataToPoint(o)},size:bind$1(dataToCoordSize$1,t)}}}function dataToCoordSize(t,r){return r=r||[0,0],map$1(["Radius","Angle"],function(o,a){var u="get"+o+"Axis",d=this[u](),g=r[a],v=t[a]/2,y=d.type==="category"?d.getBandWidth():Math.abs(d.dataToCoord(g-v)-d.dataToCoord(g+v));return o==="Angle"&&(y=y*Math.PI/180),y},this)}function polarPrepareCustom(t){var r=t.getRadiusAxis(),o=t.getAngleAxis(),a=r.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(u){var d=r.dataToRadius(u[0]),g=o.dataToAngle(u[1]),v=t.coordToPoint([d,g]);return v.push(d,g*Math.PI/180),v},size:bind$1(dataToCoordSize,t)}}}function calendarPrepareCustom(t){var r=t.getRect(),o=t.getRangeInfo();return{coordSys:{type:"calendar",x:r.x,y:r.y,width:r.width,height:r.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:o.start,end:o.end,weeks:o.weeks,dayCount:o.allDay}},api:{coord:function(a,u){return t.dataToPoint(a,u)}}}}function isEC4CompatibleStyle(t,r,o,a){return t&&(t.legacy||t.legacy!==!1&&!o&&!a&&r!=="tspan"&&(r==="text"||hasOwn(t,"text")))}function convertFromEC4CompatibleStyle(t,r,o){var a=t,u,d,g;if(r==="text")g=a;else{g={},hasOwn(a,"text")&&(g.text=a.text),hasOwn(a,"rich")&&(g.rich=a.rich),hasOwn(a,"textFill")&&(g.fill=a.textFill),hasOwn(a,"textStroke")&&(g.stroke=a.textStroke),hasOwn(a,"fontFamily")&&(g.fontFamily=a.fontFamily),hasOwn(a,"fontSize")&&(g.fontSize=a.fontSize),hasOwn(a,"fontStyle")&&(g.fontStyle=a.fontStyle),hasOwn(a,"fontWeight")&&(g.fontWeight=a.fontWeight),d={type:"text",style:g,silent:!0},u={};var v=hasOwn(a,"textPosition");o?u.position=v?a.textPosition:"inside":v&&(u.position=a.textPosition),hasOwn(a,"textPosition")&&(u.position=a.textPosition),hasOwn(a,"textOffset")&&(u.offset=a.textOffset),hasOwn(a,"textRotation")&&(u.rotation=a.textRotation),hasOwn(a,"textDistance")&&(u.distance=a.textDistance)}return convertEC4CompatibleRichItem(g,t),each$f(g.rich,function(y){convertEC4CompatibleRichItem(y,y)}),{textConfig:u,textContent:d}}function convertEC4CompatibleRichItem(t,r){!r||(r.font=r.textFont||r.font,hasOwn(r,"textStrokeWidth")&&(t.lineWidth=r.textStrokeWidth),hasOwn(r,"textAlign")&&(t.align=r.textAlign),hasOwn(r,"textVerticalAlign")&&(t.verticalAlign=r.textVerticalAlign),hasOwn(r,"textLineHeight")&&(t.lineHeight=r.textLineHeight),hasOwn(r,"textWidth")&&(t.width=r.textWidth),hasOwn(r,"textHeight")&&(t.height=r.textHeight),hasOwn(r,"textBackgroundColor")&&(t.backgroundColor=r.textBackgroundColor),hasOwn(r,"textPadding")&&(t.padding=r.textPadding),hasOwn(r,"textBorderColor")&&(t.borderColor=r.textBorderColor),hasOwn(r,"textBorderWidth")&&(t.borderWidth=r.textBorderWidth),hasOwn(r,"textBorderRadius")&&(t.borderRadius=r.textBorderRadius),hasOwn(r,"textBoxShadowColor")&&(t.shadowColor=r.textBoxShadowColor),hasOwn(r,"textBoxShadowBlur")&&(t.shadowBlur=r.textBoxShadowBlur),hasOwn(r,"textBoxShadowOffsetX")&&(t.shadowOffsetX=r.textBoxShadowOffsetX),hasOwn(r,"textBoxShadowOffsetY")&&(t.shadowOffsetY=r.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(t,r,o){var a=t;a.textPosition=a.textPosition||o.position||"inside",o.offset!=null&&(a.textOffset=o.offset),o.rotation!=null&&(a.textRotation=o.rotation),o.distance!=null&&(a.textDistance=o.distance);var u=a.textPosition.indexOf("inside")>=0,d=t.fill||"#000";convertToEC4RichItem(a,r);var g=a.textFill==null;return u?g&&(a.textFill=o.insideFill||"#fff",!a.textStroke&&o.insideStroke&&(a.textStroke=o.insideStroke),!a.textStroke&&(a.textStroke=d),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(g&&(a.textFill=t.fill||o.outsideFill||"#000"),!a.textStroke&&o.outsideStroke&&(a.textStroke=o.outsideStroke)),a.text=r.text,a.rich=r.rich,each$f(r.rich,function(v){convertToEC4RichItem(v,v)}),a}function convertToEC4RichItem(t,r){!r||(hasOwn(r,"fill")&&(t.textFill=r.fill),hasOwn(r,"stroke")&&(t.textStroke=r.fill),hasOwn(r,"lineWidth")&&(t.textStrokeWidth=r.lineWidth),hasOwn(r,"font")&&(t.font=r.font),hasOwn(r,"fontStyle")&&(t.fontStyle=r.fontStyle),hasOwn(r,"fontWeight")&&(t.fontWeight=r.fontWeight),hasOwn(r,"fontSize")&&(t.fontSize=r.fontSize),hasOwn(r,"fontFamily")&&(t.fontFamily=r.fontFamily),hasOwn(r,"align")&&(t.textAlign=r.align),hasOwn(r,"verticalAlign")&&(t.textVerticalAlign=r.verticalAlign),hasOwn(r,"lineHeight")&&(t.textLineHeight=r.lineHeight),hasOwn(r,"width")&&(t.textWidth=r.width),hasOwn(r,"height")&&(t.textHeight=r.height),hasOwn(r,"backgroundColor")&&(t.textBackgroundColor=r.backgroundColor),hasOwn(r,"padding")&&(t.textPadding=r.padding),hasOwn(r,"borderColor")&&(t.textBorderColor=r.borderColor),hasOwn(r,"borderWidth")&&(t.textBorderWidth=r.borderWidth),hasOwn(r,"borderRadius")&&(t.textBorderRadius=r.borderRadius),hasOwn(r,"shadowColor")&&(t.textBoxShadowColor=r.shadowColor),hasOwn(r,"shadowBlur")&&(t.textBoxShadowBlur=r.shadowBlur),hasOwn(r,"shadowOffsetX")&&(t.textBoxShadowOffsetX=r.shadowOffsetX),hasOwn(r,"shadowOffsetY")&&(t.textBoxShadowOffsetY=r.shadowOffsetY),hasOwn(r,"textShadowColor")&&(t.textShadowColor=r.textShadowColor),hasOwn(r,"textShadowBlur")&&(t.textShadowBlur=r.textShadowBlur),hasOwn(r,"textShadowOffsetX")&&(t.textShadowOffsetX=r.textShadowOffsetX),hasOwn(r,"textShadowOffsetY")&&(t.textShadowOffsetY=r.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=1,t},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(t,r,o,a,u){var d=t+"Animation",g=getAnimationConfig(t,a,u)||{},v=transitionInnerStore(r).userDuring;return g.duration>0&&(g.during=v?bind$1(duringCall,{el:r,userDuring:v}):null,g.setToFinal=!0,g.scope=t),extend(g,o[d]),g}function applyUpdateTransition(t,r,o,a){a=a||{};var u=a.dataIndex,d=a.isInit,g=a.clearStyle,v=o.isAnimationEnabled(),y=transitionInnerStore(t),A=r.style;y.userDuring=r.during;var b={},_={};if(prepareTransformAllPropsFinal(t,r,_),prepareShapeOrExtraAllPropsFinal("shape",r,_),prepareShapeOrExtraAllPropsFinal("extra",r,_),!d&&v&&(prepareTransformTransitionFrom(t,r,b),prepareShapeOrExtraTransitionFrom("shape",t,r,b),prepareShapeOrExtraTransitionFrom("extra",t,r,b),prepareStyleTransitionFrom(t,r,A,b)),_.style=A,applyPropsDirectly(t,_,g),applyMiscProps(t,r),v)if(d){var w={};each$f(ELEMENT_ANIMATABLE_PROPS,function(C){var T=C?r[C]:r;T&&T.enterFrom&&(C&&(w[C]=w[C]||{}),extend(C?w[C]:w,T.enterFrom))});var S=getElementAnimationConfig("enter",t,r,o,u);S.duration>0&&t.animateFrom(w,S)}else applyPropsTransition(t,r,u||0,o,b);updateLeaveTo(t,r),A?t.dirty():t.markRedraw()}function updateLeaveTo(t,r){for(var o=transitionInnerStore(t).leaveToProps,a=0;a0&&t.animateFrom(u,d)}}function applyMiscProps(t,r){hasOwn(r,"silent")&&(t.silent=r.silent),hasOwn(r,"ignore")&&(t.ignore=r.ignore),t instanceof Displayable$1&&hasOwn(r,"invisible")&&(t.invisible=r.invisible),t instanceof Path$1&&hasOwn(r,"autoBatch")&&(t.autoBatch=r.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(t,r){return tmpDuringScope.el[t]=r,this},getTransform:function(t){return tmpDuringScope.el[t]},setShape:function(t,r){var o=tmpDuringScope.el,a=o.shape||(o.shape={});return a[t]=r,o.dirtyShape&&o.dirtyShape(),this},getShape:function(t){var r=tmpDuringScope.el.shape;if(r)return r[t]},setStyle:function(t,r){var o=tmpDuringScope.el,a=o.style;return a&&(a[t]=r,o.dirtyStyle&&o.dirtyStyle()),this},getStyle:function(t){var r=tmpDuringScope.el.style;if(r)return r[t]},setExtra:function(t,r){var o=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return o[t]=r,this},getExtra:function(t){var r=tmpDuringScope.el.extra;if(r)return r[t]}};function duringCall(){var t=this,r=t.el;if(!!r){var o=transitionInnerStore(r).userDuring,a=t.userDuring;if(o!==a){t.el=t.userDuring=null;return}tmpDuringScope.el=r,a(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(t,r,o,a){var u=o[t];if(!!u){var d=r[t],g;if(d){var v=o.transition,y=u.transition;if(y)if(!g&&(g=a[t]={}),isTransitionAll(y))extend(g,d);else for(var A=normalizeToArray(y),b=0;b=0){!g&&(g=a[t]={});for(var S=keys(d),b=0;b=0)){var w=t.getAnimationStyleProps(),S=w?w.style:null;if(S){!d&&(d=a.style={});for(var C=keys(o),A=0;A=0?r.getStore().get(X,U):void 0}var J=r.get(Q.name,U),ne=Q&&Q.ordinalMeta;return ne?ne.categories[J]:J}function P(z,U){U==null&&(U=A);var Q=r.getItemVisual(U,"style"),X=Q&&Q.fill,J=Q&&Q.opacity,ne=F(U,NORMAL).getItemStyle();X!=null&&(ne.fill=X),J!=null&&(ne.opacity=J);var te={inheritColor:isString$1(X)?X:"#000"},ce=O(U,NORMAL),se=createTextStyle(ce,null,te,!1,!0);se.text=ce.getShallow("show")?retrieve2(t.getFormattedLabel(U,NORMAL),getDefaultLabel(r,U)):null;var ge=createTextConfig(ce,te,!1);return N(z,ne),ne=convertToEC4StyleForCustomSerise(ne,se,ge),z&&M(ne,z),ne.legacy=!0,ne}function G(z,U){U==null&&(U=A);var Q=F(U,EMPHASIS).getItemStyle(),X=O(U,EMPHASIS),J=createTextStyle(X,null,null,!0,!0);J.text=X.getShallow("show")?retrieve3(t.getFormattedLabel(U,EMPHASIS),t.getFormattedLabel(U,NORMAL),getDefaultLabel(r,U)):null;var ne=createTextConfig(X,null,!0);return N(z,Q),Q=convertToEC4StyleForCustomSerise(Q,J,ne),z&&M(Q,z),Q.legacy=!0,Q}function M(z,U){for(var Q in U)hasOwn(U,Q)&&(z[Q]=U[Q])}function N(z,U){z&&(z.textFill&&(U.textFill=z.textFill),z.textPosition&&(U.textPosition=z.textPosition))}function V(z,U){if(U==null&&(U=A),hasOwn(STYLE_VISUAL_TYPE,z)){var Q=r.getItemVisual(U,"style");return Q?Q[STYLE_VISUAL_TYPE[z]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,z))return r.getItemVisual(U,z)}function Z(z){if(d.type==="cartesian2d"){var U=d.getBaseAxis();return getLayoutOnAxis(defaults({axis:U},z))}}function H(){return o.getCurrentSeriesIndices()}function B(z){return getFont(z,o)}}function wrapEncodeDef(t){var r={};return each$f(t.dimensions,function(o){var a=t.getDimensionInfo(o);if(!a.isExtraCoord){var u=a.coordDim,d=r[u]=r[u]||[];d[a.coordDimIndex]=t.getDimensionIndex(o)}}),r}function createOrUpdateItem(t,r,o,a,u,d,g){if(!a){d.remove(r);return}var v=doCreateOrUpdateEl(t,r,o,a,u,d);return v&&g.setItemGraphicEl(o,v),v&&toggleHoverEmphasis(v,a.focus,a.blurScope,a.emphasisDisabled),v}function doCreateOrUpdateEl(t,r,o,a,u,d){var g=-1,v=r;r&&doesElNeedRecreate(r,a,u)&&(g=indexOf$1(d.childrenRef(),r),r=null);var y=!r,A=r;A?A.clearStates():(A=createEl$1(a),v&©Element(v,A)),a.morph===!1?A.disableMorphing=!0:A.disableMorphing&&(A.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(A,o,a,u,y,attachedTxInfoTmp),doCreateOrUpdateClipPath(A,o,a,u,y),updateElNormal(t,A,o,a,attachedTxInfoTmp,u,y),hasOwn(a,"info")&&(customInnerStore(A).info=a.info);for(var b=0;b=0?d.replaceAt(A,g):d.add(A),A}function doesElNeedRecreate(t,r,o){var a=customInnerStore(t),u=r.type,d=r.shape,g=r.style;return o.isUniversalTransitionEnabled()||u!=null&&u!==a.customGraphicType||u==="path"&&hasOwnPathData(d)&&getPathData(d)!==a.customPathData||u==="image"&&hasOwn(g,"image")&&g.image!==a.customImagePath}function doCreateOrUpdateClipPath(t,r,o,a,u){var d=o.clipPath;if(d===!1)t&&t.getClipPath()&&t.removeClipPath();else if(d){var g=t.getClipPath();g&&doesElNeedRecreate(g,d,a)&&(g=null),g||(g=createEl$1(d),t.setClipPath(g)),updateElNormal(null,g,r,d,null,a,u)}}function doCreateOrUpdateAttachedTx(t,r,o,a,u,d){if(!t.isGroup){processTxInfo(o,null,d),processTxInfo(o,EMPHASIS,d);var g=d.normal.conOpt,v=d.emphasis.conOpt,y=d.blur.conOpt,A=d.select.conOpt;if(g!=null||v!=null||A!=null||y!=null){var b=t.getTextContent();if(g===!1)b&&t.removeTextContent();else{g=d.normal.conOpt=g||{type:"text"},b?b.clearStates():(b=createEl$1(g),t.setTextContent(b)),updateElNormal(null,b,r,g,null,a,u);for(var _=g&&g.style,w=0;w=b;S--){var C=r.childAt(S);removeChildFromGroup(r,C,u)}}}function removeChildFromGroup(t,r,o){r&&applyLeaveTransition(r,customInnerStore(t).option,o)}function diffGroupChildren(t){new DataDiffer$1(t.oldChildren,t.newChildren,getKey,getKey,t).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(t,r){var o=t&&t.name;return o!=null?o:GROUP_DIFF_PREFIX+r}function processAddUpdate(t,r){var o=this.context,a=t!=null?o.newChildren[t]:null,u=r!=null?o.oldChildren[r]:null;doCreateOrUpdateEl(o.api,u,o.dataIndex,a,o.seriesModel,o.group)}function processRemove(t){var r=this.context,o=r.oldChildren[t];o&&applyLeaveTransition(o,customInnerStore(o).option,r.seriesModel)}function getPathData(t){return t&&(t.pathData||t.d)}function hasOwnPathData(t){return t&&(hasOwn(t,"pathData")||hasOwn(t,"d"))}function install$r(t){t.registerChartView(CustomChartView$1),t.registerSeriesModel(CustomSeriesModel$1)}var inner$b=makeInner(),clone$1=clone$5,bind=bind$1,BaseAxisPointer=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(r,o,a,u){var d=o.get("value"),g=o.get("status");if(this._axisModel=r,this._axisPointerModel=o,this._api=a,!(!u&&this._lastValue===d&&this._lastStatus===g)){this._lastValue=d,this._lastStatus=g;var v=this._group,y=this._handle;if(!g||g==="hide"){v&&v.hide(),y&&y.hide();return}v&&v.show(),y&&y.show();var A={};this.makeElOption(A,d,r,o,a);var b=A.graphicKey;b!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=b;var _=this._moveAnimation=this.determineAnimation(r,o);if(!v)v=this._group=new Group$4,this.createPointerEl(v,A,r,o),this.createLabelEl(v,A,r,o),a.getZr().add(v);else{var w=curry$1(updateProps,o,_);this.updatePointerEl(v,A,w),this.updateLabelEl(v,A,w,o)}updateMandatoryProps(v,o,!0),this._renderHandle(d)}},t.prototype.remove=function(r){this.clear(r)},t.prototype.dispose=function(r){this.clear(r)},t.prototype.determineAnimation=function(r,o){var a=o.get("animation"),u=r.axis,d=u.type==="category",g=o.get("snap");if(!g&&!d)return!1;if(a==="auto"||a==null){var v=this.animationThreshold;if(d&&u.getBandWidth()>v)return!0;if(g){var y=getAxisInfo$1(r).seriesDataCount,A=u.getExtent();return Math.abs(A[0]-A[1])/y>v}return!1}return a===!0},t.prototype.makeElOption=function(r,o,a,u,d){},t.prototype.createPointerEl=function(r,o,a,u){var d=o.pointer;if(d){var g=inner$b(r).pointerEl=new graphic[d.type](clone$1(o.pointer));r.add(g)}},t.prototype.createLabelEl=function(r,o,a,u){if(o.label){var d=inner$b(r).labelEl=new ZRText$1(clone$1(o.label));r.add(d),updateLabelShowHide(d,u)}},t.prototype.updatePointerEl=function(r,o,a){var u=inner$b(r).pointerEl;u&&o.pointer&&(u.setStyle(o.pointer.style),a(u,{shape:o.pointer.shape}))},t.prototype.updateLabelEl=function(r,o,a,u){var d=inner$b(r).labelEl;d&&(d.setStyle(o.label.style),a(d,{x:o.label.x,y:o.label.y}),updateLabelShowHide(d,u))},t.prototype._renderHandle=function(r){if(!(this._dragging||!this.updateHandleTransform)){var o=this._axisPointerModel,a=this._api.getZr(),u=this._handle,d=o.getModel("handle"),g=o.get("status");if(!d.get("show")||!g||g==="hide"){u&&a.remove(u),this._handle=null;return}var v;this._handle||(v=!0,u=this._handle=createIcon(d.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(A){stop(A.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),a.add(u)),updateMandatoryProps(u,o,!1),u.setStyle(d.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var y=d.get("size");isArray$1(y)||(y=[y,y]),u.scaleX=y[0]/2,u.scaleY=y[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",d.get("throttle")||0,"fixRate"),this._moveHandleToValue(r,v)}},t.prototype._moveHandleToValue=function(r,o){updateProps(this._axisPointerModel,!o&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(r,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(r,o){var a=this._handle;if(!!a){this._dragging=!0;var u=this.updateHandleTransform(getHandleTransProps(a),[r,o],this._axisModel,this._axisPointerModel);this._payloadInfo=u,a.stopAnimation(),a.attr(getHandleTransProps(u)),inner$b(a).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var r=this._handle;if(!!r){var o=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:o.cursorPoint[0],y:o.cursorPoint[1],tooltipOption:o.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var r=this._handle;if(!!r){var o=this._axisPointerModel.get("value");this._moveHandleToValue(o),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(r){this._lastValue=null,this._lastStatus=null;var o=r.getZr(),a=this._group,u=this._handle;o&&a&&(this._lastGraphicKey=null,a&&o.remove(a),u&&o.remove(u),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(r,o,a){return a=a||0,{x:r[a],y:r[1-a],width:o[a],height:o[1-a]}},t}();function updateProps(t,r,o,a){propsEqual(inner$b(o).lastProp,a)||(inner$b(o).lastProp=a,r?updateProps$1(o,a,t):(o.stopAnimation(),o.attr(a)))}function propsEqual(t,r){if(isObject$3(t)&&isObject$3(r)){var o=!0;return each$f(r,function(a,u){o=o&&propsEqual(t[u],a)}),!!o}else return t===r}function updateLabelShowHide(t,r){t[r.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function updateMandatoryProps(t,r,o){var a=r.get("z"),u=r.get("zlevel");t&&t.traverse(function(d){d.type!=="group"&&(a!=null&&(d.z=a),u!=null&&(d.zlevel=u),d.silent=o)})}var BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(t){var r=t.get("type"),o=t.getModel(r+"Style"),a;return r==="line"?(a=o.getLineStyle(),a.fill=null):r==="shadow"&&(a=o.getAreaStyle(),a.stroke=null),a}function buildLabelElOption(t,r,o,a,u){var d=o.get("value"),g=getValueLabel(d,r.axis,r.ecModel,o.get("seriesDataIndices"),{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])}),v=o.getModel("label"),y=normalizeCssArray(v.get("padding")||0),A=v.getFont(),b=getBoundingRect(g,A),_=u.position,w=b.width+y[1]+y[3],S=b.height+y[0]+y[2],C=u.align;C==="right"&&(_[0]-=w),C==="center"&&(_[0]-=w/2);var T=u.verticalAlign;T==="bottom"&&(_[1]-=S),T==="middle"&&(_[1]-=S/2),confineInContainer(_,w,S,a);var I=v.get("backgroundColor");(!I||I==="auto")&&(I=r.get(["axisLine","lineStyle","color"])),t.label={x:_[0],y:_[1],style:createTextStyle(v,{text:g,font:A,fill:v.getTextColor(),padding:y,backgroundColor:I}),z2:10}}function confineInContainer(t,r,o,a){var u=a.getWidth(),d=a.getHeight();t[0]=Math.min(t[0]+r,u)-r,t[1]=Math.min(t[1]+o,d)-o,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function getValueLabel(t,r,o,a,u){t=r.scale.parse(t);var d=r.scale.getLabel({value:t},{precision:u.precision}),g=u.formatter;if(g){var v={value:getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};each$f(a,function(y){var A=o.getSeriesByIndex(y.seriesIndex),b=y.dataIndexInside,_=A&&A.getDataParams(b);_&&v.seriesData.push(_)}),isString$1(g)?d=g.replace("{value}",d):isFunction(g)&&(d=g(v))}return d}function getTransformedPosition(t,r,o){var a=create$1();return rotate(a,a,o.rotation),translate(a,a,o.position),applyTransform([t.dataToCoord(r),(o.labelOffset||0)+(o.labelDirection||1)*(o.labelMargin||0)],a)}function buildCartesianSingleLabelElOption(t,r,o,a,u,d){var g=AxisBuilder$1.innerTextLayout(o.rotation,0,o.labelDirection);o.labelMargin=u.get(["label","margin"]),buildLabelElOption(r,a,u,d,{position:getTransformedPosition(a.axis,t,o),align:g.textAlign,verticalAlign:g.textVerticalAlign})}function makeLineShape(t,r,o){return o=o||0,{x1:t[o],y1:t[1-o],x2:r[o],y2:r[1-o]}}function makeRectShape(t,r,o){return o=o||0,{x:t[o],y:t[1-o],width:r[o],height:r[1-o]}}function makeSectorShape(t,r,o,a,u,d){return{cx:t,cy:r,r0:o,r:a,startAngle:u,endAngle:d,clockwise:!0}}var CartesianAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis,y=v.grid,A=d.get("type"),b=getCartesian(y,v).getOtherAxis(v).getGlobalExtent(),_=v.toGlobalCoord(v.dataToCoord(a,!0));if(A&&A!=="none"){var w=buildElStyle(d),S=pointerShapeBuilder$2[A](v,_,b);S.style=w,o.graphicKey=S.type,o.pointer=S}var C=layout$2(y.model,u);buildCartesianSingleLabelElOption(a,o,C,u,d,g)},r.prototype.getHandleTransform=function(o,a,u){var d=layout$2(a.axis.grid.model,a,{labelInside:!1});d.labelMargin=u.get(["handle","margin"]);var g=getTransformedPosition(a.axis,o,d);return{x:g[0],y:g[1],rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(o,a,u,d){var g=u.axis,v=g.grid,y=g.getGlobalExtent(!0),A=getCartesian(v,g).getOtherAxis(g).getGlobalExtent(),b=g.dim==="x"?0:1,_=[o.x,o.y];_[b]+=a[b],_[b]=Math.min(y[1],_[b]),_[b]=Math.max(y[0],_[b]);var w=(A[1]+A[0])/2,S=[w,w];S[b]=_[b];var C=[{verticalAlign:"middle"},{align:"center"}];return{x:_[0],y:_[1],rotation:o.rotation,cursorPoint:S,tooltipOption:C[b]}},r}(BaseAxisPointer$1);function getCartesian(t,r){var o={};return o[r.dim+"AxisIndex"]=r.index,t.getCartesian(o)}var pointerShapeBuilder$2={line:function(t,r,o){var a=makeLineShape([r,o[0]],[r,o[1]],getAxisDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,o){var a=Math.max(1,t.getBandWidth()),u=o[1]-o[0];return{type:"Rect",shape:makeRectShape([r-a/2,o[0]],[a,u],getAxisDimIndex(t))}}};function getAxisDimIndex(t){return t.dim==="x"?0:1}var CartesianAxisPointer$1=CartesianAxisPointer,AxisPointerModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="axisPointer",r.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},r}(ComponentModel$1),AxisPointerModel$1=AxisPointerModel,inner$a=makeInner(),each$8=each$f;function register(t,r,o){if(!env$1.node){var a=r.getZr();inner$a(a).records||(inner$a(a).records={}),initGlobalListeners(a,r);var u=inner$a(a).records[t]||(inner$a(a).records[t]={});u.handler=o}}function initGlobalListeners(t,r){if(inner$a(t).initialized)return;inner$a(t).initialized=!0,o("click",curry$1(doEnter,"click")),o("mousemove",curry$1(doEnter,"mousemove")),o("globalout",onLeave);function o(a,u){t.on(a,function(d){var g=makeDispatchAction$1(r);each$8(inner$a(t).records,function(v){v&&u(v,d,g.dispatchAction)}),dispatchTooltipFinally(g.pendings,r)})}}function dispatchTooltipFinally(t,r){var o=t.showTip.length,a=t.hideTip.length,u;o?u=t.showTip[o-1]:a&&(u=t.hideTip[a-1]),u&&(u.dispatchAction=null,r.dispatchAction(u))}function onLeave(t,r,o){t.handler("leave",null,o)}function doEnter(t,r,o,a){r.handler(t,o,a)}function makeDispatchAction$1(t){var r={showTip:[],hideTip:[]},o=function(a){var u=r[a.type];u?u.push(a):(a.dispatchAction=o,t.dispatchAction(a))};return{dispatchAction:o,pendings:r}}function unregister(t,r){if(!env$1.node){var o=r.getZr(),a=(inner$a(o).records||{})[t];a&&(inner$a(o).records[t]=null)}}var AxisPointerView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=a.getComponent("tooltip"),g=o.get("triggerOn")||d&&d.get("triggerOn")||"mousemove|click";register("axisPointer",u,function(v,y,A){g!=="none"&&(v==="leave"||g.indexOf(v)>=0)&&A({type:"updateAxisPointer",currTrigger:v,x:y&&y.offsetX,y:y&&y.offsetY})})},r.prototype.remove=function(o,a){unregister("axisPointer",a)},r.prototype.dispose=function(o,a){unregister("axisPointer",a)},r.type="axisPointer",r}(ComponentView$1),AxisPointerView$1=AxisPointerView;function findPointFromSeries(t,r){var o=[],a=t.seriesIndex,u;if(a==null||!(u=r.getSeriesByIndex(a)))return{point:[]};var d=u.getData(),g=queryDataIndex(d,t);if(g==null||g<0||isArray$1(g))return{point:[]};var v=d.getItemGraphicEl(g),y=u.coordinateSystem;if(u.getTooltipPosition)o=u.getTooltipPosition(g)||[];else if(y&&y.dataToPoint)if(t.isStacked){var A=y.getBaseAxis(),b=y.getOtherAxis(A),_=b.dim,w=A.dim,S=_==="x"||_==="radius"?1:0,C=d.mapDimension(w),T=[];T[S]=d.get(C,g),T[1-S]=d.get(d.getCalculationInfo("stackResultDimension"),g),o=y.dataToPoint(T)||[]}else o=y.dataToPoint(d.getValues(map$1(y.dimensions,function(E){return d.mapDimension(E)}),g))||[];else if(v){var I=v.getBoundingRect().clone();I.applyTransform(v.transform),o=[I.x+I.width/2,I.y+I.height/2]}return{point:o,el:v}}var inner$9=makeInner();function axisTrigger(t,r,o){var a=t.currTrigger,u=[t.x,t.y],d=t,g=t.dispatchAction||bind$1(o.dispatchAction,o),v=r.getComponent("axisPointer").coordSysAxesInfo;if(!!v){illegalPoint(u)&&(u=findPointFromSeries({seriesIndex:d.seriesIndex,dataIndex:d.dataIndex},r).point);var y=illegalPoint(u),A=d.axesInfo,b=v.axesInfo,_=a==="leave"||illegalPoint(u),w={},S={},C={list:[],map:{}},T={showPointer:curry$1(showPointer,S),showTooltip:curry$1(showTooltip,C)};each$f(v.coordSysMap,function(E,F){var O=y||E.containPoint(u);each$f(v.coordSysAxesInfo[F],function(D,x){var P=D.axis,G=findInputAxisInfo(A,D);if(!_&&O&&(!A||G)){var M=G&&G.value;M==null&&!y&&(M=P.pointToData(u)),M!=null&&processOnAxis(D,M,T,!1,w)}})});var I={};return each$f(b,function(E,F){var O=E.linkGroup;O&&!S[F]&&each$f(O.axesInfo,function(D,x){var P=S[x];if(D!==E&&P){var G=P.value;O.mapper&&(G=E.axis.scale.parse(O.mapper(G,makeMapperParam(D),makeMapperParam(E)))),I[E.key]=G}})}),each$f(I,function(E,F){processOnAxis(b[F],E,T,!0,w)}),updateModelActually(S,b,w),dispatchTooltipActually(C,u,t,g),dispatchHighDownActually(b,g,o),w}}function processOnAxis(t,r,o,a,u){var d=t.axis;if(!(d.scale.isBlank()||!d.containData(r))){if(!t.involveSeries){o.showPointer(t,r);return}var g=buildPayloadsBySeries(r,t),v=g.payloadBatch,y=g.snapToValue;v[0]&&u.seriesIndex==null&&extend(u,v[0]),!a&&t.snap&&d.containData(y)&&y!=null&&(r=y),o.showPointer(t,r,v),o.showTooltip(t,g,y)}}function buildPayloadsBySeries(t,r){var o=r.axis,a=o.dim,u=t,d=[],g=Number.MAX_VALUE,v=-1;return each$f(r.seriesModels,function(y,A){var b=y.getData().mapDimensionsAll(a),_,w;if(y.getAxisTooltipData){var S=y.getAxisTooltipData(b,t,o);w=S.dataIndices,_=S.nestestValue}else{if(w=y.getData().indicesOfNearest(b[0],t,o.type==="category"?.5:null),!w.length)return;_=y.getData().get(b[0],w[0])}if(!(_==null||!isFinite(_))){var C=t-_,T=Math.abs(C);T<=g&&((T=0&&v<0)&&(g=T,v=C,u=_,d.length=0),each$f(w,function(I){d.push({seriesIndex:y.seriesIndex,dataIndexInside:I,dataIndex:y.getData().getRawIndex(I)})}))}}),{payloadBatch:d,snapToValue:u}}function showPointer(t,r,o,a){t[r.key]={value:o,payloadBatch:a}}function showTooltip(t,r,o,a){var u=o.payloadBatch,d=r.axis,g=d.model,v=r.axisPointerModel;if(!(!r.triggerTooltip||!u.length)){var y=r.coordSys.model,A=makeKey(y),b=t.map[A];b||(b=t.map[A]={coordSysId:y.id,coordSysIndex:y.componentIndex,coordSysType:y.type,coordSysMainType:y.mainType,dataByAxis:[]},t.list.push(b)),b.dataByAxis.push({axisDim:d.dim,axisIndex:g.componentIndex,axisType:g.type,axisId:g.id,value:a,valueLabelOpt:{precision:v.get(["label","precision"]),formatter:v.get(["label","formatter"])},seriesDataIndices:u.slice()})}}function updateModelActually(t,r,o){var a=o.axesInfo=[];each$f(r,function(u,d){var g=u.axisPointerModel.option,v=t[d];v?(!u.useHandle&&(g.status="show"),g.value=v.value,g.seriesDataIndices=(v.payloadBatch||[]).slice()):!u.useHandle&&(g.status="hide"),g.status==="show"&&a.push({axisDim:u.axis.dim,axisIndex:u.axis.model.componentIndex,value:g.value})})}function dispatchTooltipActually(t,r,o,a){if(illegalPoint(r)||!t.list.length){a({type:"hideTip"});return}var u=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:r[0],y:r[1],tooltipOption:o.tooltipOption,position:o.position,dataIndexInside:u.dataIndexInside,dataIndex:u.dataIndex,seriesIndex:u.seriesIndex,dataByCoordSys:t.list})}function dispatchHighDownActually(t,r,o){var a=o.getZr(),u="axisPointerLastHighlights",d=inner$9(a)[u]||{},g=inner$9(a)[u]={};each$f(t,function(A,b){var _=A.axisPointerModel.option;_.status==="show"&&A.triggerEmphasis&&each$f(_.seriesDataIndices,function(w){var S=w.seriesIndex+" | "+w.dataIndex;g[S]=w})});var v=[],y=[];each$f(d,function(A,b){!g[b]&&y.push(A)}),each$f(g,function(A,b){!d[b]&&v.push(A)}),y.length&&o.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),v.length&&o.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v})}function findInputAxisInfo(t,r){for(var o=0;o<(t||[]).length;o++){var a=t[o];if(r.axis.dim===a.axisDim&&r.axis.model.componentIndex===a.axisIndex)return a}}function makeMapperParam(t){var r=t.axis.model,o={},a=o.axisDim=t.axis.dim;return o.axisIndex=o[a+"AxisIndex"]=r.componentIndex,o.axisName=o[a+"AxisName"]=r.name,o.axisId=o[a+"AxisId"]=r.id,o}function illegalPoint(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function install$q(t){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),t.registerComponentModel(AxisPointerModel$1),t.registerComponentView(AxisPointerView$1),t.registerPreprocessor(function(r){if(r){(!r.axisPointer||r.axisPointer.length===0)&&(r.axisPointer={});var o=r.axisPointer.link;o&&!isArray$1(o)&&(r.axisPointer.link=[o])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(r,o){r.getComponent("axisPointer").coordSysAxesInfo=collect(r,o)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$p(t){use(install$N),use(install$q)}var PolarAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis;v.dim==="angle"&&(this.animationThreshold=Math.PI/18);var y=v.polar,A=y.getOtherAxis(v),b=A.getExtent(),_=v.dataToCoord(a),w=d.get("type");if(w&&w!=="none"){var S=buildElStyle(d),C=pointerShapeBuilder$1[w](v,y,_,b);C.style=S,o.graphicKey=C.type,o.pointer=C}var T=d.get(["label","margin"]),I=getLabelPosition(a,u,d,y,T);buildLabelElOption(o,u,d,g,I)},r}(BaseAxisPointer$1);function getLabelPosition(t,r,o,a,u){var d=r.axis,g=d.dataToCoord(t),v=a.getAngleAxis().getExtent()[0];v=v/180*Math.PI;var y=a.getRadiusAxis().getExtent(),A,b,_;if(d.dim==="radius"){var w=create$1();rotate(w,w,v),translate(w,w,[a.cx,a.cy]),A=applyTransform([g,-u],w);var S=r.getModel("axisLabel").get("rotate")||0,C=AxisBuilder$1.innerTextLayout(v,S*Math.PI/180,-1);b=C.textAlign,_=C.textVerticalAlign}else{var T=y[1];A=a.coordToPoint([T+u,g]);var I=a.cx,E=a.cy;b=Math.abs(A[0]-I)/T<.3?"center":A[0]>I?"left":"right",_=Math.abs(A[1]-E)/T<.3?"middle":A[1]>E?"top":"bottom"}return{position:A,align:b,verticalAlign:_}}var pointerShapeBuilder$1={line:function(t,r,o,a){return t.dim==="angle"?{type:"Line",shape:makeLineShape(r.coordToPoint([a[0],o]),r.coordToPoint([a[1],o]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:o}}},shadow:function(t,r,o,a){var u=Math.max(1,t.getBandWidth()),d=Math.PI/180;return t.dim==="angle"?{type:"Sector",shape:makeSectorShape(r.cx,r.cy,a[0],a[1],(-o-u/2)*d,(-o+u/2)*d)}:{type:"Sector",shape:makeSectorShape(r.cx,r.cy,o-u/2,o+u/2,0,Math.PI*2)}}},PolarAxisPointer$1=PolarAxisPointer,PolarModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.findAxisModel=function(o){var a,u=this.ecModel;return u.eachComponent(o,function(d){d.getCoordSysModel()===this&&(a=d)},this),a},r.type="polar",r.dependencies=["radiusAxis","angleAxis"],r.defaultOption={z:0,center:["50%","50%"],radius:"80%"},r}(ComponentModel$1),PolarModel$1=PolarModel,PolarAxisModel=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},r.type="polarAxis",r}(ComponentModel$1);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="angleAxis",r}(PolarAxisModel),RadiusAxisModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="radiusAxis",r}(PolarAxisModel),RadiusAxis=function(t){__extends$1(r,t);function r(o,a){return t.call(this,"radius",o,a)||this}return r.prototype.pointToData=function(o,a){return this.polar.pointToData(o,a)[this.dim==="radius"?0:1]},r}(Axis$1);RadiusAxis.prototype.dataToRadius=Axis$1.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis$1.prototype.coordToData;var RadiusAxis$1=RadiusAxis,inner$8=makeInner(),AngleAxis=function(t){__extends$1(r,t);function r(o,a){return t.call(this,"angle",o,a||[0,360])||this}return r.prototype.pointToData=function(o,a){return this.polar.pointToData(o,a)[this.dim==="radius"?0:1]},r.prototype.calculateCategoryInterval=function(){var o=this,a=o.getLabelModel(),u=o.scale,d=u.getExtent(),g=u.count();if(d[1]-d[0]<1)return 0;var v=d[0],y=o.dataToCoord(v+1)-o.dataToCoord(v),A=Math.abs(y),b=getBoundingRect(v==null?"":v+"",a.getFont(),"center","top"),_=Math.max(b.height,7),w=_/A;isNaN(w)&&(w=1/0);var S=Math.max(0,Math.floor(w)),C=inner$8(o.model),T=C.lastAutoInterval,I=C.lastTickCount;return T!=null&&I!=null&&Math.abs(T-S)<=1&&Math.abs(I-g)<=1&&T>S?S=T:(C.lastTickCount=g,C.lastAutoInterval=S),S},r}(Axis$1);AngleAxis.prototype.dataToAngle=Axis$1.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis$1.prototype.coordToData;var AngleAxis$1=AngleAxis,polarDimensions=["radius","angle"],Polar=function(){function t(r){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis$1,this._angleAxis=new AngleAxis$1,this.axisPointerEnabled=!0,this.name=r||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(r){var o=this.pointToCoord(r);return this._radiusAxis.contain(o[0])&&this._angleAxis.contain(o[1])},t.prototype.containData=function(r){return this._radiusAxis.containData(r[0])&&this._angleAxis.containData(r[1])},t.prototype.getAxis=function(r){var o="_"+r+"Axis";return this[o]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(r){var o=[],a=this._angleAxis,u=this._radiusAxis;return a.scale.type===r&&o.push(a),u.scale.type===r&&o.push(u),o},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(r){var o=this._angleAxis;return r===o?this._radiusAxis:o},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(r){var o=r!=null&&r!=="auto"?this.getAxis(r):this.getBaseAxis();return{baseAxes:[o],otherAxes:[this.getOtherAxis(o)]}},t.prototype.dataToPoint=function(r,o){return this.coordToPoint([this._radiusAxis.dataToRadius(r[0],o),this._angleAxis.dataToAngle(r[1],o)])},t.prototype.pointToData=function(r,o){var a=this.pointToCoord(r);return[this._radiusAxis.radiusToData(a[0],o),this._angleAxis.angleToData(a[1],o)]},t.prototype.pointToCoord=function(r){var o=r[0]-this.cx,a=r[1]-this.cy,u=this.getAngleAxis(),d=u.getExtent(),g=Math.min(d[0],d[1]),v=Math.max(d[0],d[1]);u.inverse?g=v-360:v=g+360;var y=Math.sqrt(o*o+a*a);o/=y,a/=y;for(var A=Math.atan2(-a,o)/Math.PI*180,b=Av;)A+=b*360;return[y,A]},t.prototype.coordToPoint=function(r){var o=r[0],a=r[1]/180*Math.PI,u=Math.cos(a)*o+this.cx,d=-Math.sin(a)*o+this.cy;return[u,d]},t.prototype.getArea=function(){var r=this.getAngleAxis(),o=this.getRadiusAxis(),a=o.getExtent().slice();a[0]>a[1]&&a.reverse();var u=r.getExtent(),d=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-u[0]*d,endAngle:-u[1]*d,clockwise:r.inverse,contain:function(g,v){var y=g-this.cx,A=v-this.cy,b=y*y+A*A-1e-4,_=this.r,w=this.r0;return b<=_*_&&b>=w*w}}},t.prototype.convertToPixel=function(r,o,a){var u=getCoordSys$2(o);return u===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,o,a){var u=getCoordSys$2(o);return u===this?this.pointToData(a):null},t}();function getCoordSys$2(t){var r=t.seriesModel,o=t.polarModel;return o&&o.coordinateSystem||r&&r.coordinateSystem}var Polar$1=Polar;function resizePolar(t,r,o){var a=r.get("center"),u=o.getWidth(),d=o.getHeight();t.cx=parsePercent(a[0],u),t.cy=parsePercent(a[1],d);var g=t.getRadiusAxis(),v=Math.min(u,d)/2,y=r.get("radius");y==null?y=[0,"100%"]:isArray$1(y)||(y=[0,y]);var A=[parsePercent(y[0],v),parsePercent(y[1],v)];g.inverse?g.setExtent(A[1],A[0]):g.setExtent(A[0],A[1])}function updatePolarScale(t,r){var o=this,a=o.getAngleAxis(),u=o.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),u.scale.setExtent(1/0,-1/0),t.eachSeries(function(v){if(v.coordinateSystem===o){var y=v.getData();each$f(getDataDimensionsOnAxis(y,"radius"),function(A){u.scale.unionExtentFromData(y,A)}),each$f(getDataDimensionsOnAxis(y,"angle"),function(A){a.scale.unionExtentFromData(y,A)})}}),niceScaleExtent(a.scale,a.model),niceScaleExtent(u.scale,u.model),a.type==="category"&&!a.onBand){var d=a.getExtent(),g=360/a.scale.count();a.inverse?d[1]+=g:d[1]-=g,a.setExtent(d[0],d[1])}}function isAngleAxisModel(t){return t.mainType==="angleAxis"}function setAxis(t,r){var o;if(t.type=r.get("type"),t.scale=createScaleByModel$1(r),t.onBand=r.get("boundaryGap")&&t.type==="category",t.inverse=r.get("inverse"),isAngleAxisModel(r)){t.inverse=t.inverse!==r.get("clockwise");var a=r.get("startAngle"),u=(o=r.get("endAngle"))!==null&&o!==void 0?o:a+(t.inverse?-360:360);t.setExtent(a,u)}r.axis=t,t.model=r}var polarCreator={dimensions:polarDimensions,create:function(t,r){var o=[];return t.eachComponent("polar",function(a,u){var d=new Polar$1(u+"");d.update=updatePolarScale;var g=d.getRadiusAxis(),v=d.getAngleAxis(),y=a.findAxisModel("radiusAxis"),A=a.findAxisModel("angleAxis");setAxis(g,y),setAxis(v,A),resizePolar(d,a,r),o.push(d),a.coordinateSystem=d,d.model=a}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var u=a.getReferringComponents("polar",SINGLE_REFERRING).models[0];a.coordinateSystem=u.coordinateSystem}}),o}},polarCreator$1=polarCreator,elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(t,r,o){r[1]>r[0]&&(r=r.slice().reverse());var a=t.coordToPoint([r[0],o]),u=t.coordToPoint([r[1],o]);return{x1:a[0],y1:a[1],x2:u[0],y2:u[1]}}function getRadiusIdx(t){var r=t.getRadiusAxis();return r.inverse?0:1}function fixAngleOverlap(t){var r=t[0],o=t[t.length-1];r&&o&&Math.abs(Math.abs(r.coord-o.coord)-360)<1e-4&&t.pop()}var AngleAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.axisPointerClass="PolarAxisPointer",o}return r.prototype.render=function(o,a){if(this.group.removeAll(),!!o.get("show")){var u=o.axis,d=u.polar,g=d.getRadiusAxis().getExtent(),v=u.getTicksCoords(),y=u.getMinorTicksCoords(),A=map$1(u.getViewLabels(),function(b){b=clone$5(b);var _=u.scale,w=_.type==="ordinal"?_.getRawOrdinalNumber(b.tickValue):b.tickValue;return b.coord=u.dataToCoord(w),b});fixAngleOverlap(A),fixAngleOverlap(v),each$f(elementList,function(b){o.get([b,"show"])&&(!u.scale.isBlank()||b==="axisLine")&&angelAxisElementsBuilders[b](this.group,o,d,v,y,g,A)},this)}},r.type="angleAxis",r}(AxisView$1),angelAxisElementsBuilders={axisLine:function(t,r,o,a,u,d){var g=r.getModel(["axisLine","lineStyle"]),v=o.getAngleAxis(),y=Math.PI/180,A=v.getExtent(),b=getRadiusIdx(o),_=b?0:1,w,S=Math.abs(A[1]-A[0])===360?"Circle":"Arc";d[_]===0?w=new graphic[S]({shape:{cx:o.cx,cy:o.cy,r:d[b],startAngle:-A[0]*y,endAngle:-A[1]*y,clockwise:v.inverse},style:g.getLineStyle(),z2:1,silent:!0}):w=new Ring$1({shape:{cx:o.cx,cy:o.cy,r:d[b],r0:d[_]},style:g.getLineStyle(),z2:1,silent:!0}),w.style.fill=null,t.add(w)},axisTick:function(t,r,o,a,u,d){var g=r.getModel("axisTick"),v=(g.get("inside")?-1:1)*g.get("length"),y=d[getRadiusIdx(o)],A=map$1(a,function(b){return new Line$3({shape:getAxisLineShape(o,[y,y+v],b.coord)})});t.add(mergePath(A,{style:defaults(g.getModel("lineStyle").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,r,o,a,u,d){if(!!u.length){for(var g=r.getModel("axisTick"),v=r.getModel("minorTick"),y=(g.get("inside")?-1:1)*v.get("length"),A=d[getRadiusIdx(o)],b=[],_=0;_E?"left":"right",D=Math.abs(I[1]-F)/T<.3?"middle":I[1]>F?"top":"bottom";if(v&&v[C]){var x=v[C];isObject$3(x)&&x.textStyle&&(S=new Model$1(x.textStyle,y,y.ecModel))}var P=new ZRText$1({silent:AxisBuilder$1.isLabelSilent(r),style:createTextStyle(S,{x:I[0],y:I[1],fill:S.getTextColor()||r.get(["axisLine","lineStyle","color"]),text:_.formattedLabel,align:O,verticalAlign:D})});if(t.add(P),b){var G=AxisBuilder$1.makeAxisEventDataBase(r);G.targetType="axisLabel",G.value=_.rawLabel,getECData(P).eventData=G}},this)},splitLine:function(t,r,o,a,u,d){var g=r.getModel("splitLine"),v=g.getModel("lineStyle"),y=v.get("color"),A=0;y=y instanceof Array?y:[y];for(var b=[],_=0;_=0?"p":"n",U=N;x&&(a[b][B]||(a[b][B]={p:N,n:N}),U=a[b][B][z]);var Q=void 0,X=void 0,J=void 0,ne=void 0;if(C.dim==="radius"){var te=C.dataToCoord(H)-N,ce=y.dataToCoord(B);Math.abs(te)=ne})}}})}function calRadialBar(t){var r={};each$f(t,function(a,u){var d=a.getData(),g=a.coordinateSystem,v=g.getBaseAxis(),y=getAxisKey(g,v),A=v.getExtent(),b=v.type==="category"?v.getBandWidth():Math.abs(A[1]-A[0])/d.count(),_=r[y]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},w=_.stacks;r[y]=_;var S=getSeriesStackId(a);w[S]||_.autoWidthCount++,w[S]=w[S]||{width:0,maxWidth:0};var C=parsePercent(a.get("barWidth"),b),T=parsePercent(a.get("barMaxWidth"),b),I=a.get("barGap"),E=a.get("barCategoryGap");C&&!w[S].width&&(C=Math.min(_.remainedWidth,C),w[S].width=C,_.remainedWidth-=C),T&&(w[S].maxWidth=T),I!=null&&(_.gap=I),E!=null&&(_.categoryGap=E)});var o={};return each$f(r,function(a,u){o[u]={};var d=a.stacks,g=a.bandWidth,v=parsePercent(a.categoryGap,g),y=parsePercent(a.gap,1),A=a.remainedWidth,b=a.autoWidthCount,_=(A-v)/(b+(b-1)*y);_=Math.max(_,0),each$f(d,function(T,I){var E=T.maxWidth;E&&E<_&&(E=Math.min(E,A),T.width&&(E=Math.min(E,T.width)),A-=E,T.width=E,b--)}),_=(A-v)/(b+(b-1)*y),_=Math.max(_,0);var w=0,S;each$f(d,function(T,I){T.width||(T.width=_),S=T,w+=T.width*(1+y)}),S&&(w-=S.width*y);var C=-w/2;each$f(d,function(T,I){o[u][I]=o[u][I]||{offset:C,width:T.width},C+=T.width*(1+y)})}),o}var angleAxisExtraOption={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},radiusAxisExtraOption={splitNumber:5},PolarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="polar",r}(ComponentView$1);function install$o(t){use(install$q),AxisView$1.registerAxisPointerClass("PolarAxisPointer",PolarAxisPointer$1),t.registerCoordinateSystem("polar",polarCreator$1),t.registerComponentModel(PolarModel$1),t.registerComponentView(PolarView),axisModelCreator(t,"angle",AngleAxisModel,angleAxisExtraOption),axisModelCreator(t,"radius",RadiusAxisModel,radiusAxisExtraOption),t.registerComponentView(AngleAxisView$1),t.registerComponentView(RadiusAxisView$1),t.registerLayout(curry$1(barLayoutPolar,"bar"))}function layout$1(t,r){r=r||{};var o=t.coordinateSystem,a=t.axis,u={},d=a.position,g=a.orient,v=o.getRect(),y=[v.x,v.x+v.width,v.y,v.y+v.height],A={horizontal:{top:y[2],bottom:y[3]},vertical:{left:y[0],right:y[1]}};u.position=[g==="vertical"?A.vertical[d]:y[0],g==="horizontal"?A.horizontal[d]:y[3]];var b={horizontal:0,vertical:1};u.rotation=Math.PI/2*b[g];var _={top:-1,bottom:1,right:1,left:-1};u.labelDirection=u.tickDirection=u.nameDirection=_[d],t.get(["axisTick","inside"])&&(u.tickDirection=-u.tickDirection),retrieve(r.labelInside,t.get(["axisLabel","inside"]))&&(u.labelDirection=-u.labelDirection);var w=r.rotate;return w==null&&(w=t.get(["axisLabel","rotate"])),u.labelRotation=d==="top"?-w:w,u.z2=1,u}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine"],SingleAxisView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.axisPointerClass="SingleAxisPointer",o}return r.prototype.render=function(o,a,u,d){var g=this.group;g.removeAll();var v=this._axisGroup;this._axisGroup=new Group$4;var y=layout$1(o),A=new AxisBuilder$1(o,y);each$f(axisBuilderAttrs,A.add,A),g.add(this._axisGroup),g.add(A.getGroup()),each$f(selfBuilderAttrs,function(b){o.get([b,"show"])&&axisElementBuilders[b](this,this.group,this._axisGroup,o)},this),groupTransition(v,this._axisGroup,o),t.prototype.render.call(this,o,a,u,d)},r.prototype.remove=function(){rectCoordAxisHandleRemove(this)},r.type="singleAxis",r}(AxisView$1),axisElementBuilders={splitLine:function(t,r,o,a){var u=a.axis;if(!u.scale.isBlank()){var d=a.getModel("splitLine"),g=d.getModel("lineStyle"),v=g.get("color");v=v instanceof Array?v:[v];for(var y=g.get("width"),A=a.coordinateSystem.getRect(),b=u.isHorizontal(),_=[],w=0,S=u.getTicksCoords({tickModel:d}),C=[],T=[],I=0;I=o.y&&r[1]<=o.y+o.height:a.contain(a.toLocalCoord(r[1]))&&r[0]>=o.y&&r[0]<=o.y+o.height},t.prototype.pointToData=function(r){var o=this.getAxis();return[o.coordToData(o.toLocalCoord(r[o.orient==="horizontal"?0:1]))]},t.prototype.dataToPoint=function(r){var o=this.getAxis(),a=this.getRect(),u=[],d=o.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),u[d]=o.toGlobalCoord(o.dataToCoord(+r)),u[1-d]=d===0?a.y+a.height/2:a.x+a.width/2,u},t.prototype.convertToPixel=function(r,o,a){var u=getCoordSys$1(o);return u===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,o,a){var u=getCoordSys$1(o);return u===this?this.pointToData(a):null},t}();function getCoordSys$1(t){var r=t.seriesModel,o=t.singleAxisModel;return o&&o.coordinateSystem||r&&r.coordinateSystem}function create(t,r){var o=[];return t.eachComponent("singleAxis",function(a,u){var d=new Single(a,t,r);d.name="single_"+u,d.resize(a,r),a.coordinateSystem=d,o.push(d)}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var u=a.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];a.coordinateSystem=u&&u.coordinateSystem}}),o}var singleCreator={create,dimensions:singleDimensions},singleCreator$1=singleCreator,XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(o,a,u,d,g){var v=u.axis,y=v.coordinateSystem,A=getGlobalExtent(y,1-getPointDimIndex(v)),b=y.dataToPoint(a)[0],_=d.get("type");if(_&&_!=="none"){var w=buildElStyle(d),S=pointerShapeBuilder[_](v,b,A);S.style=w,o.graphicKey=S.type,o.pointer=S}var C=layout$1(u);buildCartesianSingleLabelElOption(a,o,C,u,d,g)},r.prototype.getHandleTransform=function(o,a,u){var d=layout$1(a,{labelInside:!1});d.labelMargin=u.get(["handle","margin"]);var g=getTransformedPosition(a.axis,o,d);return{x:g[0],y:g[1],rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(o,a,u,d){var g=u.axis,v=g.coordinateSystem,y=getPointDimIndex(g),A=getGlobalExtent(v,y),b=[o.x,o.y];b[y]+=a[y],b[y]=Math.min(A[1],b[y]),b[y]=Math.max(A[0],b[y]);var _=getGlobalExtent(v,1-y),w=(_[1]+_[0])/2,S=[w,w];return S[y]=b[y],{x:b[0],y:b[1],rotation:o.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}},r}(BaseAxisPointer$1),pointerShapeBuilder={line:function(t,r,o){var a=makeLineShape([r,o[0]],[r,o[1]],getPointDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,o){var a=t.getBandWidth(),u=o[1]-o[0];return{type:"Rect",shape:makeRectShape([r-a/2,o[0]],[a,u],getPointDimIndex(t))}}};function getPointDimIndex(t){return t.isHorizontal()?0:1}function getGlobalExtent(t,r){var o=t.getRect();return[o[XY$1[r]],o[XY$1[r]]+o[WH$1[r]]]}var SingleAxisPointer$1=SingleAxisPointer,SingleView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="single",r}(ComponentView$1);function install$n(t){use(install$q),AxisView$1.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer$1),t.registerComponentView(SingleView),t.registerComponentView(SingleAxisView$1),t.registerComponentModel(SingleAxisModel$1),axisModelCreator(t,"single",SingleAxisModel$1,SingleAxisModel$1.defaultOption),t.registerCoordinateSystem("single",singleCreator$1)}var CalendarModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a,u){var d=getLayoutParams(o);t.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(o,d)},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,o)},r.prototype.getCellSize=function(){return this.option.cellSize},r.type="calendar",r.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},r}(ComponentModel$1);function mergeAndNormalizeLayoutParams$1(t,r){var o=t.cellSize,a;isArray$1(o)?a=o:a=t.cellSize=[o,o],a.length===1&&(a[1]=a[0]);var u=map$1([0,1],function(d){return sizeCalculable(r,d)&&(a[d]="auto"),a[d]!=null&&a[d]!=="auto"});mergeLayoutParam(t,r,{type:"box",ignoreSize:u})}var CalendarModel$1=CalendarModel,CalendarView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){var d=this.group;d.removeAll();var g=o.coordinateSystem,v=g.getRangeInfo(),y=g.getOrient(),A=a.getLocaleModel();this._renderDayRect(o,v,d),this._renderLines(o,v,y,d),this._renderYearText(o,v,y,d),this._renderMonthText(o,A,y,d),this._renderWeekText(o,A,v,y,d)},r.prototype._renderDayRect=function(o,a,u){for(var d=o.coordinateSystem,g=o.getModel("itemStyle").getItemStyle(),v=d.getCellWidth(),y=d.getCellHeight(),A=a.start.time;A<=a.end.time;A=d.getNextNDay(A,1).time){var b=d.dataToRect([A],!1).tl,_=new Rect$3({shape:{x:b[0],y:b[1],width:v,height:y},cursor:"default",style:g});u.add(_)}},r.prototype._renderLines=function(o,a,u,d){var g=this,v=o.coordinateSystem,y=o.getModel(["splitLine","lineStyle"]).getLineStyle(),A=o.get(["splitLine","show"]),b=y.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var _=a.start,w=0;_.time<=a.end.time;w++){C(_.formatedDate),w===0&&(_=v.getDateInfo(a.start.y+"-"+a.start.m));var S=_.date;S.setMonth(S.getMonth()+1),_=v.getDateInfo(S)}C(v.getNextNDay(a.end.time,1).formatedDate);function C(T){g._firstDayOfMonth.push(v.getDateInfo(T)),g._firstDayPoints.push(v.dataToRect([T],!1).tl);var I=g._getLinePointsOfOneWeek(o,T,u);g._tlpoints.push(I[0]),g._blpoints.push(I[I.length-1]),A&&g._drawSplitline(I,y,d)}A&&this._drawSplitline(g._getEdgesPoints(g._tlpoints,b,u),y,d),A&&this._drawSplitline(g._getEdgesPoints(g._blpoints,b,u),y,d)},r.prototype._getEdgesPoints=function(o,a,u){var d=[o[0].slice(),o[o.length-1].slice()],g=u==="horizontal"?0:1;return d[0][g]=d[0][g]-a/2,d[1][g]=d[1][g]+a/2,d},r.prototype._drawSplitline=function(o,a,u){var d=new Polyline$3({z2:20,shape:{points:o},style:a});u.add(d)},r.prototype._getLinePointsOfOneWeek=function(o,a,u){for(var d=o.coordinateSystem,g=d.getDateInfo(a),v=[],y=0;y<7;y++){var A=d.getNextNDay(g.time,y),b=d.dataToRect([A.time],!1);v[2*A.day]=b.tl,v[2*A.day+1]=b[u==="horizontal"?"bl":"tr"]}return v},r.prototype._formatterLabel=function(o,a){return isString$1(o)&&o?formatTplSimple(o,a):isFunction(o)?o(a):a.nameMap},r.prototype._yearTextPositionControl=function(o,a,u,d,g){var v=a[0],y=a[1],A=["center","bottom"];d==="bottom"?(y+=g,A=["center","top"]):d==="left"?v-=g:d==="right"?(v+=g,A=["center","top"]):y-=g;var b=0;return(d==="left"||d==="right")&&(b=Math.PI/2),{rotation:b,x:v,y,style:{align:A[0],verticalAlign:A[1]}}},r.prototype._renderYearText=function(o,a,u,d){var g=o.getModel("yearLabel");if(!!g.get("show")){var v=g.get("margin"),y=g.get("position");y||(y=u!=="horizontal"?"top":"left");var A=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],b=(A[0][0]+A[1][0])/2,_=(A[0][1]+A[1][1])/2,w=u==="horizontal"?0:1,S={top:[b,A[w][1]],bottom:[b,A[1-w][1]],left:[A[1-w][0],_],right:[A[w][0],_]},C=a.start.y;+a.end.y>+a.start.y&&(C=C+"-"+a.end.y);var T=g.get("formatter"),I={start:a.start.y,end:a.end.y,nameMap:C},E=this._formatterLabel(T,I),F=new ZRText$1({z2:30,style:createTextStyle(g,{text:E})});F.attr(this._yearTextPositionControl(F,S[y],u,y,v)),d.add(F)}},r.prototype._monthTextPositionControl=function(o,a,u,d,g){var v="left",y="top",A=o[0],b=o[1];return u==="horizontal"?(b=b+g,a&&(v="center"),d==="start"&&(y="bottom")):(A=A+g,a&&(y="middle"),d==="start"&&(v="right")),{x:A,y:b,align:v,verticalAlign:y}},r.prototype._renderMonthText=function(o,a,u,d){var g=o.getModel("monthLabel");if(!!g.get("show")){var v=g.get("nameMap"),y=g.get("margin"),A=g.get("position"),b=g.get("align"),_=[this._tlpoints,this._blpoints];(!v||isString$1(v))&&(v&&(a=getLocaleModel(v)||a),v=a.get(["time","monthAbbr"])||[]);var w=A==="start"?0:1,S=u==="horizontal"?0:1;y=A==="start"?-y:y;for(var C=b==="center",T=0;T<_[w].length-1;T++){var I=_[w][T].slice(),E=this._firstDayOfMonth[T];if(C){var F=this._firstDayPoints[T];I[S]=(F[S]+_[0][T+1][S])/2}var O=g.get("formatter"),D=v[+E.m-1],x={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:D},P=this._formatterLabel(O,x),G=new ZRText$1({z2:30,style:extend(createTextStyle(g,{text:P}),this._monthTextPositionControl(I,C,u,A,y))});d.add(G)}}},r.prototype._weekTextPositionControl=function(o,a,u,d,g){var v="center",y="middle",A=o[0],b=o[1],_=u==="start";return a==="horizontal"?(A=A+d+(_?1:-1)*g[0]/2,v=_?"right":"left"):(b=b+d+(_?1:-1)*g[1]/2,y=_?"bottom":"top"),{x:A,y:b,align:v,verticalAlign:y}},r.prototype._renderWeekText=function(o,a,u,d,g){var v=o.getModel("dayLabel");if(!!v.get("show")){var y=o.coordinateSystem,A=v.get("position"),b=v.get("nameMap"),_=v.get("margin"),w=y.getFirstDayOfWeek();if(!b||isString$1(b)){b&&(a=getLocaleModel(b)||a);var S=a.get(["time","dayOfWeekShort"]);b=S||map$1(a.get(["time","dayOfWeekAbbr"]),function(x){return x[0]})}var C=y.getNextNDay(u.end.time,7-u.lweek).time,T=[y.getCellWidth(),y.getCellHeight()];_=parsePercent(_,Math.min(T[1],T[0])),A==="start"&&(C=y.getNextNDay(u.start.time,-(7+u.fweek)).time,_=-_);for(var I=0;I<7;I++){var E=y.getNextNDay(C,I),F=y.dataToRect([E.time],!1).center,O=I;O=Math.abs((I+w)%7);var D=new ZRText$1({z2:30,style:extend(createTextStyle(v,{text:b[O]}),this._weekTextPositionControl(F,d,A,_,T))});g.add(D)}}},r.type="calendar",r}(ComponentView$1),CalendarView$1=CalendarView,PROXIMATE_ONE_DAY=864e5,Calendar=function(){function t(r,o,a){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=r}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(r){r=parseDate(r);var o=r.getFullYear(),a=r.getMonth()+1,u=a<10?"0"+a:""+a,d=r.getDate(),g=d<10?"0"+d:""+d,v=r.getDay();return v=Math.abs((v+7-this.getFirstDayOfWeek())%7),{y:o+"",m:u,d:g,day:v,time:r.getTime(),formatedDate:o+"-"+u+"-"+g,date:r}},t.prototype.getNextNDay=function(r,o){return o=o||0,o===0?this.getDateInfo(r):(r=new Date(this.getDateInfo(r).time),r.setDate(r.getDate()+o),this.getDateInfo(r))},t.prototype.update=function(r,o){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var a=this._rangeInfo.weeks||1,u=["width","height"],d=this._model.getCellSize().slice(),g=this._model.getBoxLayoutParams(),v=this._orient==="horizontal"?[a,7]:[7,a];each$f([0,1],function(_){b(d,_)&&(g[u[_]]=d[_]*v[_])});var y={width:o.getWidth(),height:o.getHeight()},A=this._rect=getLayoutRect(g,y);each$f([0,1],function(_){b(d,_)||(d[_]=A[u[_]]/v[_])});function b(_,w){return _[w]!=null&&_[w]!=="auto"}this._sw=d[0],this._sh=d[1]},t.prototype.dataToPoint=function(r,o){isArray$1(r)&&(r=r[0]),o==null&&(o=!0);var a=this.getDateInfo(r),u=this._rangeInfo,d=a.formatedDate;if(o&&!(a.time>=u.start.time&&a.timev.end.time&&o.reverse(),o},t.prototype._getRangeInfo=function(r){var o=[this.getDateInfo(r[0]),this.getDateInfo(r[1])],a;o[0].time>o[1].time&&(a=!0,o.reverse());var u=Math.floor(o[1].time/PROXIMATE_ONE_DAY)-Math.floor(o[0].time/PROXIMATE_ONE_DAY)+1,d=new Date(o[0].time),g=d.getDate(),v=o[1].date.getDate();d.setDate(g+u-1);var y=d.getDate();if(y!==v)for(var A=d.getTime()-o[1].time>0?1:-1;(y=d.getDate())!==v&&(d.getTime()-o[1].time)*A>0;)u-=A,d.setDate(y-A);var b=Math.floor((u+o[0].day+6)/7),_=a?-b+1:b-1;return a&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:u,weeks:b,nthWeek:_,fweek:o[0].day,lweek:o[1].day}},t.prototype._getDateByWeeksAndDay=function(r,o,a){var u=this._getRangeInfo(a);if(r>u.weeks||r===0&&ou.lweek)return null;var d=(r-1)*7-u.fweek+o,g=new Date(u.start.time);return g.setDate(+u.start.d+d),this.getDateInfo(g)},t.create=function(r,o){var a=[];return r.eachComponent("calendar",function(u){var d=new t(u);a.push(d),u.coordinateSystem=d}),r.eachSeries(function(u){u.get("coordinateSystem")==="calendar"&&(u.coordinateSystem=a[u.get("calendarIndex")||0])}),a},t.dimensions=["time","value"],t}();function getCoordSys(t){var r=t.calendarModel,o=t.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a}var Calendar$1=Calendar;function install$m(t){t.registerComponentModel(CalendarModel$1),t.registerComponentView(CalendarView$1),t.registerCoordinateSystem("calendar",Calendar$1)}function setKeyInfoToNewElOption(t,r){var o=t.existing;if(r.id=t.keyInfo.id,!r.type&&o&&(r.type=o.type),r.parentId==null){var a=r.parentOption;a?r.parentId=a.id:o&&(r.parentId=o.parentId)}r.parentOption=null}function isSetLoc(t,r){var o;return each$f(r,function(a){t[a]!=null&&t[a]!=="auto"&&(o=!0)}),o}function mergeNewElOptionToExist(t,r,o){var a=extend({},o),u=t[r],d=o.$action||"merge";d==="merge"?u?(merge(u,a,!0),mergeLayoutParam(u,a,{ignoreSize:!0}),copyLayoutParams(o,u),copyTransitionInfo(o,u),copyTransitionInfo(o,u,"shape"),copyTransitionInfo(o,u,"style"),copyTransitionInfo(o,u,"extra"),o.clipPath=u.clipPath):t[r]=a:d==="replace"?t[r]=a:d==="remove"&&u&&(t[r]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(t,r,o){if(o&&(!t[o]&&r[o]&&(t[o]={}),t=t[o],r=r[o]),!(!t||!r))for(var a=o?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,u=0;u=0;b--){var _=u[b],w=convertOptionIdName(_.id,null),S=w!=null?g.get(w):null;if(!!S){var C=S.parent,E=inner$7(C),F=C===d?{width:v,height:y}:{width:E.width,height:E.height},O={},D=positionElement(S,_,F,null,{hv:_.hv,boundingMode:_.bounding},O);if(!inner$7(S).isNew&&D){for(var x=_.transition,P={},G=0;G=0)?P[M]=N:S[M]=N}updateProps$1(S,P,o,0)}else S.attr(O)}}},r.prototype._clear=function(){var o=this,a=this._elMap;a.each(function(u){removeEl$1(u,inner$7(u).option,a,o._lastGraphicModel)}),this._elMap=createHashMap()},r.prototype.dispose=function(){this._clear()},r.type="graphic",r}(ComponentView$1);function newEl(t){var r=hasOwn(nonShapeGraphicElements,t)?nonShapeGraphicElements[t]:getShapeClass(t),o=new r({});return inner$7(o).type=t,o}function createEl(t,r,o,a){var u=newEl(o);return r.add(u),a.set(t,u),inner$7(u).id=t,inner$7(u).isNew=!0,u}function removeEl$1(t,r,o,a){var u=t&&t.parent;u&&(t.type==="group"&&t.traverse(function(d){removeEl$1(d,r,o,a)}),applyLeaveTransition(t,r,a),o.removeKey(inner$7(t).id))}function updateCommonAttrs(t,r,o,a){t.isGroup||each$f([["cursor",Displayable$1.prototype.cursor],["zlevel",a||0],["z",o||0],["z2",0]],function(u){var d=u[0];hasOwn(r,d)?t[d]=retrieve2(r[d],u[1]):t[d]==null&&(t[d]=u[1])}),each$f(keys(r),function(u){if(u.indexOf("on")===0){var d=r[u];t[u]=isFunction(d)?d:null}}),hasOwn(r,"draggable")&&(t.draggable=r.draggable),r.name!=null&&(t.name=r.name),r.id!=null&&(t.id=r.id)}function getCleanedElOption(t){return t=extend({},t),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(r){delete t[r]}),t}function setEventData(t,r,o){var a=getECData(t).eventData;!t.silent&&!t.ignore&&!a&&(a=getECData(t).eventData={componentType:"graphic",componentIndex:r.componentIndex,name:t.name}),a&&(a.info=o.info)}function install$l(t){t.registerComponentModel(GraphicComponentModel),t.registerComponentView(GraphicComponentView),t.registerPreprocessor(function(r){var o=r.graphic;isArray$1(o)?!o[0]||!o[0].elements?r.graphic=[{elements:o}]:r.graphic=[r.graphic[0]]:o&&!o.elements&&(r.graphic=[{elements:[o]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(t){var r=t.get("coordinateSystem");return indexOf$1(SERIES_COORDS,r)>=0}function getAxisMainType(t){return t+"Axis"}function findEffectedDataZooms(t,r){var o=createHashMap(),a=[],u=createHashMap();t.eachComponent({mainType:"dataZoom",query:r},function(b){u.get(b.uid)||v(b)});var d;do d=!1,t.eachComponent("dataZoom",g);while(d);function g(b){!u.get(b.uid)&&y(b)&&(v(b),d=!0)}function v(b){u.set(b.uid,!0),a.push(b),A(b)}function y(b){var _=!1;return b.eachTargetAxis(function(w,S){var C=o.get(w);C&&C[S]&&(_=!0)}),_}function A(b){b.eachTargetAxis(function(_,w){(o.get(_)||o.set(_,[]))[w]=!0})}return a}function collectReferCoordSysModelInfo(t){var r=t.ecModel,o={infoList:[],infoMap:createHashMap()};return t.eachTargetAxis(function(a,u){var d=r.getComponent(getAxisMainType(a),u);if(!!d){var g=d.getCoordSysModel();if(!!g){var v=g.uid,y=o.infoMap.get(v);y||(y={model:g,axisModels:[]},o.infoList.push(y),o.infoMap.set(v,y)),y.axisModels.push(d)}}}),o}var DataZoomAxisInfo=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(r){this.indexMap[r]||(this.indexList.push(r),this.indexMap[r]=!0)},t}(),DataZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._autoThrottle=!0,o._noTarget=!0,o._rangePropMode=["percent","percent"],o}return r.prototype.init=function(o,a,u){var d=retrieveRawOption(o);this.settledOption=d,this.mergeDefaultAndTheme(o,u),this._doInit(d)},r.prototype.mergeOption=function(o){var a=retrieveRawOption(o);merge(this.option,o,!0),merge(this.settledOption,a,!0),this._doInit(a)},r.prototype._doInit=function(o){var a=this.option;this._setDefaultThrottle(o),this._updateRangeUse(o);var u=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(d,g){this._rangePropMode[g]==="value"&&(a[d[0]]=u[d[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var o=this.get("orient",!0),a=this._targetAxisInfoMap=createHashMap(),u=this._fillSpecifiedTargetAxis(a);u?this._orient=o||this._makeAutoOrientByTargetAxis():(this._orient=o||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(d){d.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(o){var a=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(u){var d=this.getReferringComponents(getAxisMainType(u),MULTIPLE_REFERRING);if(!!d.specified){a=!0;var g=new DataZoomAxisInfo;each$f(d.models,function(v){g.add(v.componentIndex)}),o.set(u,g)}},this),a},r.prototype._fillAutoTargetAxisByOrient=function(o,a){var u=this.ecModel,d=!0;if(d){var g=a==="vertical"?"y":"x",v=u.findComponents({mainType:g+"Axis"});y(v,g)}if(d){var v=u.findComponents({mainType:"singleAxis",filter:function(b){return b.get("orient",!0)===a}});y(v,"single")}function y(A,b){var _=A[0];if(!!_){var w=new DataZoomAxisInfo;if(w.add(_.componentIndex),o.set(b,w),d=!1,b==="x"||b==="y"){var S=_.getReferringComponents("grid",SINGLE_REFERRING).models[0];S&&each$f(A,function(C){_.componentIndex!==C.componentIndex&&S===C.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&w.add(C.componentIndex)})}}}d&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(A){if(!!d){var b=u.findComponents({mainType:getAxisMainType(A),filter:function(w){return w.get("type",!0)==="category"}});if(b[0]){var _=new DataZoomAxisInfo;_.add(b[0].componentIndex),o.set(A,_),d=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var o;return this.eachTargetAxis(function(a){!o&&(o=a)},this),o==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(o){if(o.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(o){var a=this._rangePropMode,u=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(d,g){var v=o[d[0]]!=null,y=o[d[1]]!=null;v&&!y?a[g]="percent":!v&&y?a[g]="value":u?a[g]=u[g]:v&&(a[g]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var o;return this.eachTargetAxis(function(a,u){o==null&&(o=this.ecModel.getComponent(getAxisMainType(a),u))},this),o},r.prototype.eachTargetAxis=function(o,a){this._targetAxisInfoMap.each(function(u,d){each$f(u.indexList,function(g){o.call(a,d,g)})})},r.prototype.getAxisProxy=function(o,a){var u=this.getAxisModel(o,a);if(u)return u.__dzAxisProxy},r.prototype.getAxisModel=function(o,a){var u=this._targetAxisInfoMap.get(o);if(u&&u.indexMap[a])return this.ecModel.getComponent(getAxisMainType(o),a)},r.prototype.setRawRange=function(o){var a=this.option,u=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(d){(o[d[0]]!=null||o[d[1]]!=null)&&(a[d[0]]=u[d[0]]=o[d[0]],a[d[1]]=u[d[1]]=o[d[1]])},this),this._updateRangeUse(o)},r.prototype.setCalculatedRange=function(o){var a=this.option;each$f(["start","startValue","end","endValue"],function(u){a[u]=o[u]})},r.prototype.getPercentRange=function(){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataPercentWindow()},r.prototype.getValueRange=function(o,a){if(o==null&&a==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(o,a).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function(o){if(o)return o.__dzAxisProxy;for(var a,u=this._targetAxisInfoMap.keys(),d=0;dg[1];if(O&&!D&&!x)return!0;O&&(I=!0),D&&(C=!0),x&&(T=!0)}return I&&C&&T})}else each$7(b,function(S){if(d==="empty")y.setData(A=A.map(S,function(T){return v(T)?T:NaN}));else{var C={};C[S]=g,A.selectRange(C)}});each$7(b,function(S){A.setApproximateExtent(g,S)})}});function v(y){return y>=g[0]&&y<=g[1]}},t.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},o=this._dataZoomModel,a=this._dataExtent;each$7(["min","max"],function(u){var d=o.get(u+"Span"),g=o.get(u+"ValueSpan");g!=null&&(g=this.getAxisModel().axis.scale.parse(g)),g!=null?d=linearMap$2(a[0]+g,a,[0,100],!0):d!=null&&(g=linearMap$2(d,[0,100],a,!0)-a[0]),r[u+"Span"]=d,r[u+"ValueSpan"]=g},this)},t.prototype._setAxisModel=function(){var r=this.getAxisModel(),o=this._percentWindow,a=this._valueWindow;if(!!o){var u=getPixelPrecision(a,[0,500]);u=Math.min(u,20);var d=r.axis.scale.rawExtentInfo;o[0]!==0&&d.setDeterminedMinMax("min",+a[0].toFixed(u)),o[1]!==100&&d.setDeterminedMinMax("max",+a[1].toFixed(u)),d.freeze()}},t}();function calculateDataExtent(t,r,o){var a=[1/0,-1/0];each$7(o,function(g){unionAxisExtentFromData(a,g.getData(),r)});var u=t.getAxisModel(),d=ensureScaleRawExtentInfo(u.axis.scale,u,a).calculate();return[d.min,d.max]}var AxisProxy$1=AxisProxy,dataZoomProcessor={getTargetSeries:function(t){function r(u){t.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(g,v){var y=t.getComponent(getAxisMainType(g),v);u(g,v,y,d)})})}r(function(u,d,g,v){g.__dzAxisProxy=null});var o=[];r(function(u,d,g,v){g.__dzAxisProxy||(g.__dzAxisProxy=new AxisProxy$1(u,d,v,t),o.push(g.__dzAxisProxy))});var a=createHashMap();return each$f(o,function(u){each$f(u.getTargetSeriesModels(),function(d){a.set(d.uid,d)})}),a},overallReset:function(t,r){t.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(a,u){o.getAxisProxy(a,u).reset(o)}),o.eachTargetAxis(function(a,u){o.getAxisProxy(a,u).filterData(o,r)})}),t.eachComponent("dataZoom",function(o){var a=o.findRepresentativeAxisProxy();if(a){var u=a.getDataPercentWindow(),d=a.getDataValueWindow();o.setCalculatedRange({start:u[0],end:u[1],startValue:d[0],endValue:d[1]})}})}},dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(t){t.registerAction("dataZoom",function(r,o){var a=findEffectedDataZooms(o,r);each$f(a,function(u){u.setRawRange({start:r.start,end:r.end,startValue:r.startValue,endValue:r.endValue})})})}var installed$1=!1;function installCommon$1(t){installed$1||(installed$1=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor$1),installDataZoomAction(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$k(t){t.registerComponentModel(SelectZoomModel),t.registerComponentView(SelectZoomView),installCommon$1(t)}var ToolboxFeature=function(){function t(){}return t}(),features={};function registerFeature(t,r){features[t]=r}function getFeature(t){return features[t]}var ToolboxModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var o=this.ecModel;each$f(this.option.feature,function(a,u){var d=getFeature(u);d&&(d.getDefaultOption&&(d.defaultOption=d.getDefaultOption(o)),merge(a,d.defaultOption))})},r.type="toolbox",r.layoutMode={type:"box",ignoreSize:!0},r.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},r}(ComponentModel$1),ToolboxModel$1=ToolboxModel;function layout(t,r,o){var a=r.getBoxLayoutParams(),u=r.get("padding"),d={width:o.getWidth(),height:o.getHeight()},g=getLayoutRect(a,d,u);box(r.get("orient"),t,r.get("itemGap"),g.width,g.height),positionElement(t,a,d,u)}function makeBackground(t,r){var o=normalizeCssArray(r.get("padding")),a=r.getItemStyle(["color","opacity"]);return a.fill=r.get("backgroundColor"),t=new Rect$3({shape:{x:t.x-o[3],y:t.y-o[0],width:t.width+o[1]+o[3],height:t.height+o[0]+o[2],r:r.get("borderRadius")},style:a,silent:!0,z2:-1}),t}var ToolboxView=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u,d){var g=this.group;if(g.removeAll(),!o.get("show"))return;var v=+o.get("itemSize"),y=o.get("orient")==="vertical",A=o.get("feature")||{},b=this._features||(this._features={}),_=[];each$f(A,function(C,T){_.push(T)}),new DataDiffer$1(this._featureNames||[],_).add(w).update(w).remove(curry$1(w,null)).execute(),this._featureNames=_;function w(C,T){var I=_[C],E=_[T],F=A[I],O=new Model$1(F,o,o.ecModel),D;if(d&&d.newTitle!=null&&d.featureName===I&&(F.title=d.newTitle),I&&!E){if(isUserFeatureName(I))D={onclick:O.option.onclick,featureName:I};else{var x=getFeature(I);if(!x)return;D=new x}b[I]=D}else if(D=b[E],!D)return;D.uid=getUID("toolbox-feature"),D.model=O,D.ecModel=a,D.api=u;var P=D instanceof ToolboxFeature;if(!I&&E){P&&D.dispose&&D.dispose(a,u);return}if(!O.get("show")||P&&D.unusable){P&&D.remove&&D.remove(a,u);return}S(O,D,I),O.setIconStatus=function(G,M){var N=this.option,V=this.iconPaths;N.iconStatus=N.iconStatus||{},N.iconStatus[G]=M,V[G]&&(M==="emphasis"?enterEmphasis:leaveEmphasis)(V[G])},D instanceof ToolboxFeature&&D.render&&D.render(O,a,u,d)}function S(C,T,I){var E=C.getModel("iconStyle"),F=C.getModel(["emphasis","iconStyle"]),O=T instanceof ToolboxFeature&&T.getIcons?T.getIcons():C.get("icon"),D=C.get("title")||{},x,P;isString$1(O)?(x={},x[I]=O):x=O,isString$1(D)?(P={},P[I]=D):P=D;var G=C.iconPaths={};each$f(x,function(M,N){var V=createIcon(M,{},{x:-v/2,y:-v/2,width:v,height:v});V.setStyle(E.getItemStyle());var Z=V.ensureState("emphasis");Z.style=F.getItemStyle();var H=new ZRText$1({style:{text:P[N],align:F.get("textAlign"),borderRadius:F.get("textBorderRadius"),padding:F.get("textPadding"),fill:null,font:getFont({fontStyle:F.get("textFontStyle"),fontFamily:F.get("textFontFamily"),fontSize:F.get("textFontSize"),fontWeight:F.get("textFontWeight")},a)},ignore:!0});V.setTextContent(H),setTooltipConfig({el:V,componentModel:o,itemName:N,formatterParamsExtra:{title:P[N]}}),V.__title=P[N],V.on("mouseover",function(){var B=F.getItemStyle(),z=y?o.get("right")==null&&o.get("left")!=="right"?"right":"left":o.get("bottom")==null&&o.get("top")!=="bottom"?"bottom":"top";H.setStyle({fill:F.get("textFill")||B.fill||B.stroke||"#000",backgroundColor:F.get("textBackgroundColor")}),V.setTextConfig({position:F.get("textPosition")||z}),H.ignore=!o.get("showTitle"),u.enterEmphasis(this)}).on("mouseout",function(){C.get(["iconStatus",N])!=="emphasis"&&u.leaveEmphasis(this),H.hide()}),(C.get(["iconStatus",N])==="emphasis"?enterEmphasis:leaveEmphasis)(V),g.add(V),V.on("click",bind$1(T.onclick,T,a,u,N)),G[N]=V})}layout(g,o,u),g.add(makeBackground(g.getBoundingRect(),o)),y||g.eachChild(function(C){var T=C.__title,I=C.ensureState("emphasis"),E=I.textConfig||(I.textConfig={}),F=C.getTextContent(),O=F&&F.ensureState("emphasis");if(O&&!isFunction(O)&&T){var D=O.style||(O.style={}),x=getBoundingRect(T,ZRText$1.makeFont(D)),P=C.x+g.x,G=C.y+g.y+v,M=!1;G+x.height>u.getHeight()&&(E.position="top",M=!0);var N=M?-5-x.height:v+10;P+x.width/2>u.getWidth()?(E.position=["100%",N],D.align="right"):P-x.width/2<0&&(E.position=[0,N],D.align="left")}})},r.prototype.updateView=function(o,a,u,d){each$f(this._features,function(g){g instanceof ToolboxFeature&&g.updateView&&g.updateView(g.model,a,u,d)})},r.prototype.remove=function(o,a){each$f(this._features,function(u){u instanceof ToolboxFeature&&u.remove&&u.remove(o,a)}),this.group.removeAll()},r.prototype.dispose=function(o,a){each$f(this._features,function(u){u instanceof ToolboxFeature&&u.dispose&&u.dispose(o,a)})},r.type="toolbox",r}(ComponentView$1);function isUserFeatureName(t){return t.indexOf("my")===0}var ToolboxView$1=ToolboxView,SaveAsImage=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(o,a){var u=this.model,d=u.get("name")||o.get("title.0.text")||"echarts",g=a.getZr().painter.getType()==="svg",v=g?"svg":u.get("type",!0)||"png",y=a.getConnectedDataURL({type:v,backgroundColor:u.get("backgroundColor",!0)||o.get("backgroundColor")||"#fff",connectedBackgroundColor:u.get("connectedBackgroundColor"),excludeComponents:u.get("excludeComponents"),pixelRatio:u.get("pixelRatio")}),A=env$1.browser;if(typeof MouseEvent=="function"&&(A.newEdge||!A.ie&&!A.edge)){var b=document.createElement("a");b.download=d+"."+v,b.target="_blank",b.href=y;var _=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(_)}else if(window.navigator.msSaveOrOpenBlob||g){var w=y.split(","),S=w[0].indexOf("base64")>-1,C=g?decodeURIComponent(w[1]):w[1];S&&(C=window.atob(C));var T=d+"."+v;if(window.navigator.msSaveOrOpenBlob){for(var I=C.length,E=new Uint8Array(I);I--;)E[I]=C.charCodeAt(I);var F=new Blob([E]);window.navigator.msSaveOrOpenBlob(F,T)}else{var O=document.createElement("iframe");document.body.appendChild(O);var D=O.contentWindow,x=D.document;x.open("image/svg+xml","replace"),x.write(C),x.close(),D.focus(),x.execCommand("SaveAs",!0,T),document.body.removeChild(O)}}else{var P=u.get("lang"),G='',M=window.open();M.document.write(G),M.document.title=d}},r.getDefaultOption=function(o){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:o.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},r}(ToolboxFeature),SaveAsImage$1=SaveAsImage,INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getIcons=function(){var o=this.model,a=o.get("icon"),u={};return each$f(o.get("type"),function(d){a[d]&&(u[d]=a[d])}),u},r.getDefaultOption=function(o){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:o.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},r.prototype.onclick=function(o,a,u){var d=this.model,g=d.get(["seriesIndex",u]);if(!!seriesOptGenreator[u]){var v={series:[]},y=function(_){var w=_.subType,S=_.id,C=seriesOptGenreator[u](w,S,_,d);C&&(defaults(C,_.option),v.series.push(C));var T=_.coordinateSystem;if(T&&T.type==="cartesian2d"&&(u==="line"||u==="bar")){var I=T.getAxesByScale("ordinal")[0];if(I){var E=I.dim,F=E+"Axis",O=_.getReferringComponents(F,SINGLE_REFERRING).models[0],D=O.componentIndex;v[F]=v[F]||[];for(var x=0;x<=D;x++)v[F][D]=v[F][D]||{};v[F][D].boundaryGap=u==="bar"}}};each$f(radioTypes,function(_){indexOf$1(_,u)>=0&&each$f(_,function(w){d.setIconStatus(w,"normal")})}),d.setIconStatus(u,"emphasis"),o.eachComponent({mainType:"series",query:g==null?null:{seriesIndex:g}},y);var A,b=u;u==="stack"&&(A=merge({stack:d.option.title.tiled,tiled:d.option.title.stack},d.option.title),d.get(["iconStatus",u])!=="emphasis"&&(b="tiled")),a.dispatchAction({type:"changeMagicType",currentType:b,newOption:v,newTitle:A,featureName:"magicType"})}},r}(ToolboxFeature),seriesOptGenreator={line:function(t,r,o,a){if(t==="bar")return merge({id:r,type:"line",data:o.get("data"),stack:o.get("stack"),markPoint:o.get("markPoint"),markLine:o.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,r,o,a){if(t==="line")return merge({id:r,type:"bar",data:o.get("data"),stack:o.get("stack"),markPoint:o.get("markPoint"),markLine:o.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,r,o,a){var u=o.get("stack")===INNER_STACK_KEYWORD;if(t==="line"||t==="bar")return a.setIconStatus("stack",u?"normal":"emphasis"),merge({id:r,stack:u?"":INNER_STACK_KEYWORD},a.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,r){r.mergeOption(t.newOption)});var MagicType$1=MagicType,BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(t){var r={},o=[],a=[];return t.eachRawSeries(function(u){var d=u.coordinateSystem;if(d&&(d.type==="cartesian2d"||d.type==="polar")){var g=d.getBaseAxis();if(g.type==="category"){var v=g.dim+"_"+g.index;r[v]||(r[v]={categoryAxis:g,valueAxis:d.getOtherAxis(g),series:[]},a.push({axisDim:g.dim,axisIndex:g.index})),r[v].series.push(u)}else o.push(u)}else o.push(u)}),{seriesGroupByCategoryAxis:r,other:o,meta:a}}function assembleSeriesWithCategoryAxis(t){var r=[];return each$f(t,function(o,a){var u=o.categoryAxis,d=o.valueAxis,g=d.dim,v=[" "].concat(map$1(o.series,function(S){return S.name})),y=[u.model.getCategories()];each$f(o.series,function(S){var C=S.getRawData();y.push(S.getRawData().mapArray(C.mapDimension(g),function(T){return T}))});for(var A=[v.join(ITEM_SPLITER)],b=0;b=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(t){for(var r=t.split(/\n+/g),o=trim(r.shift()).split(itemSplitRegex),a=[],u=map$1(o,function(y){return{name:y,data:[]}}),d=0;d=0;d--){var g=o[d];if(g[u])break}if(d<0){var v=t.queryComponents({mainType:"dataZoom",subType:"select",id:u})[0];if(v){var y=v.getPercentRange();o[0][u]={dataZoomId:u,start:y[0],end:y[1]}}}}),o.push(r)}function pop(t){var r=getStoreSnapshots(t),o=r[r.length-1];r.length>1&&r.pop();var a={};return each$6(o,function(u,d){for(var g=r.length-1;g>=0;g--)if(u=r[g][d],u){a[d]=u;break}}),a}function clear(t){inner$6(t).snapshots=null}function count(t){return getStoreSnapshots(t).length}function getStoreSnapshots(t){var r=inner$6(t);return r.snapshots||(r.snapshots=[{}]),r.snapshots}var RestoreOption=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(o,a){clear(o),a.dispatchAction({type:"restore",from:this.uid})},r.getDefaultOption=function(o){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:o.getLocaleModel().get(["toolbox","restore","title"])};return a},r}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,r){r.resetOption("recreate")});var Restore=RestoreOption,INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function t(r,o,a){var u=this;this._targetInfoList=[];var d=parseFinder(o,r);each$f(targetInfoBuilders,function(g,v){(!a||!a.include||indexOf$1(a.include,v)>=0)&&g(d,u._targetInfoList)})}return t.prototype.setOutputRanges=function(r,o){return this.matchOutputRanges(r,o,function(a,u,d){if((a.coordRanges||(a.coordRanges=[])).push(u),!a.coordRange){a.coordRange=u;var g=coordConvert[a.brushType](0,d,u);a.__rangeOffset={offset:diffProcessor[a.brushType](g.values,a.range,[1,1]),xyMinMax:g.xyMinMax}}}),r},t.prototype.matchOutputRanges=function(r,o,a){each$f(r,function(u){var d=this.findTargetInfo(u,o);d&&d!==!0&&each$f(d.coordSyses,function(g){var v=coordConvert[u.brushType](1,g,u.range,!0);a(u,v.values,g,o)})},this)},t.prototype.setInputRanges=function(r,o){each$f(r,function(a){var u=this.findTargetInfo(a,o);if(a.range=a.range||[],u&&u!==!0){a.panelId=u.panelId;var d=coordConvert[a.brushType](0,u.coordSys,a.coordRange),g=a.__rangeOffset;a.range=g?diffProcessor[a.brushType](d.values,g.offset,getScales(d.xyMinMax,g.xyMinMax)):d.values}},this)},t.prototype.makePanelOpts=function(r,o){return map$1(this._targetInfoList,function(a){var u=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:o?o(a):null,clipPath:makeRectPanelClipPath(u),isTargetByCursor:makeRectIsTargetByCursor(u,r,a.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(u)}})},t.prototype.controlSeries=function(r,o,a){var u=this.findTargetInfo(r,a);return u===!0||u&&indexOf$1(u.coordSyses,o.coordinateSystem)>=0},t.prototype.findTargetInfo=function(r,o){for(var a=this._targetInfoList,u=parseFinder(o,r),d=0;dt[1]&&t.reverse(),t}function parseFinder(t,r){return parseFinder$1(t,r,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(t,r){var o=t.xAxisModels,a=t.yAxisModels,u=t.gridModels,d=createHashMap(),g={},v={};!o&&!a&&!u||(each$f(o,function(y){var A=y.axis.grid.model;d.set(A.id,A),g[A.id]=!0}),each$f(a,function(y){var A=y.axis.grid.model;d.set(A.id,A),v[A.id]=!0}),each$f(u,function(y){d.set(y.id,y),g[y.id]=!0,v[y.id]=!0}),d.each(function(y){var A=y.coordinateSystem,b=[];each$f(A.getCartesians(),function(_,w){(indexOf$1(o,_.getAxis("x").model)>=0||indexOf$1(a,_.getAxis("y").model)>=0)&&b.push(_)}),r.push({panelId:"grid--"+y.id,gridModel:y,coordSysModel:y,coordSys:b[0],coordSyses:b,getPanelRect:panelRectBuilders.grid,xAxisDeclared:g[y.id],yAxisDeclared:v[y.id]})}))},geo:function(t,r){each$f(t.geoModels,function(o){var a=o.coordinateSystem;r.push({panelId:"geo--"+o.id,geoModel:o,coordSysModel:o,coordSys:a,coordSyses:[a],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(t,r){var o=t.xAxisModel,a=t.yAxisModel,u=t.gridModel;return!u&&o&&(u=o.axis.grid.model),!u&&a&&(u=a.axis.grid.model),u&&u===r.gridModel},function(t,r){var o=t.geoModel;return o&&o===r.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,r=t.getBoundingRect().clone();return r.applyTransform(getTransform$1(t)),r}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(t,r,o,a){var u=t?r.pointToData([o[0][0],o[1][0]],a):r.dataToPoint([o[0][0],o[1][0]],a),d=t?r.pointToData([o[0][1],o[1][1]],a):r.dataToPoint([o[0][1],o[1][1]],a),g=[formatMinMax([u[0],d[0]]),formatMinMax([u[1],d[1]])];return{values:g,xyMinMax:g}},polygon:function(t,r,o,a){var u=[[1/0,-1/0],[1/0,-1/0]],d=map$1(o,function(g){var v=t?r.pointToData(g,a):r.dataToPoint(g,a);return u[0][0]=Math.min(u[0][0],v[0]),u[1][0]=Math.min(u[1][0],v[1]),u[0][1]=Math.max(u[0][1],v[0]),u[1][1]=Math.max(u[1][1],v[1]),v});return{values:d,xyMinMax:u}}};function axisConvert(t,r,o,a){var u=o.getAxis(["x","y"][t]),d=formatMinMax(map$1([0,1],function(v){return r?u.coordToData(u.toLocalCoord(a[v]),!0):u.toGlobalCoord(u.dataToCoord(a[v]))})),g=[];return g[t]=d,g[1-t]=[NaN,NaN],{values:d,xyMinMax:g}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(t,r,o){return[[t[0][0]-o[0]*r[0][0],t[0][1]-o[0]*r[0][1]],[t[1][0]-o[1]*r[1][0],t[1][1]-o[1]*r[1][1]]]},polygon:function(t,r,o){return map$1(t,function(a,u){return[a[0]-o[0]*r[u][0],a[1]-o[1]*r[u][1]]})}};function axisDiffProcessor(t,r,o,a){return[r[0]-a[t]*o[0],r[1]-a[t]*o[1]]}function getScales(t,r){var o=getSize(t),a=getSize(r),u=[o[0]/a[0],o[1]/a[1]];return isNaN(u[0])&&(u[0]=1),isNaN(u[1])&&(u[1]=1),u}function getSize(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var BrushTargetManager$1=BrushTargetManager,each$5=each$f,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u,d){this._brushController||(this._brushController=new BrushController$1(u.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(o,a,this,d,u),updateBackBtnStatus(o,a)},r.prototype.onclick=function(o,a,u){handlers[u].call(this)},r.prototype.remove=function(o,a){this._brushController&&this._brushController.unmount()},r.prototype.dispose=function(o,a){this._brushController&&this._brushController.dispose()},r.prototype._onBrush=function(o){var a=o.areas;if(!o.isEnd||!a.length)return;var u={},d=this.ecModel;this._brushController.updateCovers([]);var g=new BrushTargetManager$1(makeAxisFinder(this.model),d,{include:["grid"]});g.matchOutputRanges(a,d,function(A,b,_){if(_.type==="cartesian2d"){var w=A.brushType;w==="rect"?(v("x",_,b[0]),v("y",_,b[1])):v({lineX:"x",lineY:"y"}[w],_,b)}}),push(d,u),this._dispatchZoomAction(u);function v(A,b,_){var w=b.getAxis(A),S=w.model,C=y(A,S,d),T=C.findRepresentativeAxisProxy(S).getMinMaxSpan();(T.minValueSpan!=null||T.maxValueSpan!=null)&&(_=sliderMove(0,_.slice(),w.scale.getExtent(),0,T.minValueSpan,T.maxValueSpan)),C&&(u[C.id]={dataZoomId:C.id,startValue:_[0],endValue:_[1]})}function y(A,b,_){var w;return _.eachComponent({mainType:"dataZoom",subType:"select"},function(S){var C=S.getAxisModel(A,b.componentIndex);C&&(w=S)}),w}},r.prototype._dispatchZoomAction=function(o){var a=[];each$5(o,function(u,d){a.push(clone$5(u))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},r.getDefaultOption=function(o){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},r}(ToolboxFeature),handlers={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(t){var r={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return r.xAxisIndex==null&&r.xAxisId==null&&(r.xAxisIndex="all"),r.yAxisIndex==null&&r.yAxisId==null&&(r.yAxisIndex="all"),r}function updateBackBtnStatus(t,r){t.setIconStatus("back",count(r)>1?"emphasis":"normal")}function updateZoomBtnStatus(t,r,o,a,u){var d=o._isZoomActive;a&&a.type==="takeGlobalCursor"&&(d=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),o._isZoomActive=d,t.setIconStatus("zoom",d?"emphasis":"normal");var g=new BrushTargetManager$1(makeAxisFinder(t),r,{include:["grid"]}),v=g.makePanelOpts(u,function(y){return y.xAxisDeclared&&!y.yAxisDeclared?"lineX":!y.xAxisDeclared&&y.yAxisDeclared?"lineY":"rect"});o._brushController.setPanels(v).enableBrush(d&&v.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(t){var r=t.getComponent("toolbox",0),o=["feature","dataZoom"];if(!r||r.get(o)==null)return;var a=r.getModel(o),u=[],d=makeAxisFinder(a),g=parseFinder$1(t,d);each$5(g.xAxisModels,function(y){return v(y,"xAxis","xAxisIndex")}),each$5(g.yAxisModels,function(y){return v(y,"yAxis","yAxisIndex")});function v(y,A,b){var _=y.componentIndex,w={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+A+_};w[b]=_,u.push(w)}return u});var DataZoom=DataZoomFeature;function install$j(t){t.registerComponentModel(ToolboxModel$1),t.registerComponentView(ToolboxView$1),registerFeature("saveAsImage",SaveAsImage$1),registerFeature("magicType",MagicType$1),registerFeature("dataView",DataView$1),registerFeature("dataZoom",DataZoom),registerFeature("restore",Restore),use(install$k)}var TooltipModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="tooltip",r.dependencies=["axisPointer"],r.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},r}(ComponentModel$1),TooltipModel$1=TooltipModel;function shouldTooltipConfine(t){var r=t.get("confine");return r!=null?!!r:t.get("renderMode")==="richText"}function testStyle(t){if(!!env$1.domSupported){for(var r=document.documentElement.style,o=0,a=t.length;o-1?(v+="top:50%",y+="translateY(-50%) rotate("+(A=d==="left"?-225:-45)+"deg)"):(v+="left:50%",y+="translateX(-50%) rotate("+(A=d==="top"?225:45)+"deg)");var b=A*Math.PI/180,_=g+u,w=_*Math.abs(Math.cos(b))+_*Math.abs(Math.sin(b)),S=Math.round(((w-Math.SQRT2*u)/2+Math.SQRT2*u-(w-_)/2)*100)/100;v+=";"+d+":-"+S+"px";var C=r+" solid "+u+"px;",T=["position:absolute;width:"+g+"px;height:"+g+"px;z-index:-1;",v+";"+y+";","border-bottom:"+C,"border-right:"+C,"background-color:"+a+";"];return'
    '}function assembleTransition(t,r){var o="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+o,u="opacity"+a+",visibility"+a;return r||(a=" "+t+"s "+o,u+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+a:",left"+a+",top"+a),CSS_TRANSITION_VENDOR+":"+u}function assembleTransform(t,r,o){var a=t.toFixed(0)+"px",u=r.toFixed(0)+"px";if(!env$1.transformSupported)return o?"top:"+u+";left:"+a+";":[["top",u],["left",a]];var d=env$1.transform3dSupported,g="translate"+(d?"3d":"")+"("+a+","+u+(d?",0":"")+")";return o?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+g+";":[["top",0],["left",0],[TRANSFORM_VENDOR,g]]}function assembleFont(t){var r=[],o=t.get("fontSize"),a=t.getTextColor();a&&r.push("color:"+a),r.push("font:"+t.getFont()),o&&r.push("line-height:"+Math.round(o*3/2)+"px");var u=t.get("textShadowColor"),d=t.get("textShadowBlur")||0,g=t.get("textShadowOffsetX")||0,v=t.get("textShadowOffsetY")||0;return u&&d&&r.push("text-shadow:"+g+"px "+v+"px "+d+"px "+u),each$f(["decoration","align"],function(y){var A=t.get(y);A&&r.push("text-"+y+":"+A)}),r.join(";")}function assembleCssText(t,r,o){var a=[],u=t.get("transitionDuration"),d=t.get("backgroundColor"),g=t.get("shadowBlur"),v=t.get("shadowColor"),y=t.get("shadowOffsetX"),A=t.get("shadowOffsetY"),b=t.getModel("textStyle"),_=getPaddingFromTooltipModel(t,"html"),w=y+"px "+A+"px "+g+"px "+v;return a.push("box-shadow:"+w),r&&u&&a.push(assembleTransition(u,o)),d&&a.push("background-color:"+d),each$f(["width","color","radius"],function(S){var C="border-"+S,T=toCamelCase(C),I=t.get(T);I!=null&&a.push(C+":"+I+(S==="color"?"":"px"))}),a.push(assembleFont(b)),_!=null&&a.push("padding:"+normalizeCssArray(_).join("px ")+"px"),a.join(";")+";"}function makeStyleCoord$1(t,r,o,a,u){var d=r&&r.painter;if(o){var g=d&&d.getViewportRoot();g&&transformLocalCoord(t,g,o,a,u)}else{t[0]=a,t[1]=u;var v=d&&d.getViewportRootOffset();v&&(t[0]+=v.offsetLeft,t[1]+=v.offsetTop)}t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}var TooltipHTMLContent=function(){function t(r,o){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env$1.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var u=this._zr=r.getZr(),d=o.appendTo,g=d&&(isString$1(d)?document.querySelector(d):isDom(d)?d:isFunction(d)&&d(r.getDom()));makeStyleCoord$1(this._styleCoord,u,g,r.getWidth()/2,r.getHeight()/2),(g||r.getDom()).appendChild(a),this._api=r,this._container=g;var v=this;a.onmouseenter=function(){v._enterable&&(clearTimeout(v._hideTimeout),v._show=!0),v._inContent=!0},a.onmousemove=function(y){if(y=y||window.event,!v._enterable){var A=u.handler,b=u.painter.getViewportRoot();normalizeEvent(b,y,!0),A.dispatch("mousemove",y)}},a.onmouseleave=function(){v._inContent=!1,v._enterable&&v._show&&v.hideLater(v._hideDelay)}}return t.prototype.update=function(r){if(!this._container){var o=this._api.getDom(),a=getComputedStyle$1(o,"position"),u=o.style;u.position!=="absolute"&&a!=="absolute"&&(u.position="relative")}var d=r.get("alwaysShowContent");d&&this._moveIfResized(),this._alwaysShowContent=d,this.el.className=r.get("className")||""},t.prototype.show=function(r,o){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,u=a.style,d=this._styleCoord;a.innerHTML?u.cssText=gCssText+assembleCssText(r,!this._firstShow,this._longHide)+assembleTransform(d[0],d[1],!0)+("border-color:"+convertToColorString(o)+";")+(r.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):u.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(r,o,a,u,d){var g=this.el;if(r==null){g.innerHTML="";return}var v="";if(isString$1(d)&&a.get("trigger")==="item"&&!shouldTooltipConfine(a)&&(v=assembleArrow(a,u,d)),isString$1(r))g.innerHTML=r+v;else if(r){g.innerHTML="",isArray$1(r)||(r=[r]);for(var y=0;y=0?this._tryShow(d,g):u==="leave"&&this._hide(g))},this))},r.prototype._keepShow=function(){var o=this._tooltipModel,a=this._ecModel,u=this._api,d=o.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&d!=="none"&&d!=="click"){var g=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!u.isDisposed()&&g.manuallyShowTip(o,a,u,{x:g._lastX,y:g._lastY,dataByCoordSys:g._lastDataByCoordSys})})}},r.prototype.manuallyShowTip=function(o,a,u,d){if(!(d.from===this.uid||env$1.node||!u.getDom())){var g=makeDispatchAction(d,u);this._ticket="";var v=d.dataByCoordSys,y=findComponentReference(d,a,u);if(y){var A=y.el.getBoundingRect().clone();A.applyTransform(y.el.transform),this._tryShow({offsetX:A.x+A.width/2,offsetY:A.y+A.height/2,target:y.el,position:d.position,positionDefault:"bottom"},g)}else if(d.tooltip&&d.x!=null&&d.y!=null){var b=proxyRect;b.x=d.x,b.y=d.y,b.update(),getECData(b).tooltipConfig={name:null,option:d.tooltip},this._tryShow({offsetX:d.x,offsetY:d.y,target:b},g)}else if(v)this._tryShow({offsetX:d.x,offsetY:d.y,position:d.position,dataByCoordSys:v,tooltipOption:d.tooltipOption},g);else if(d.seriesIndex!=null){if(this._manuallyAxisShowTip(o,a,u,d))return;var _=findPointFromSeries(d,a),w=_.point[0],S=_.point[1];w!=null&&S!=null&&this._tryShow({offsetX:w,offsetY:S,target:_.el,position:d.position,positionDefault:"bottom"},g)}else d.x!=null&&d.y!=null&&(u.dispatchAction({type:"updateAxisPointer",x:d.x,y:d.y}),this._tryShow({offsetX:d.x,offsetY:d.y,position:d.position,target:u.getZr().findHover(d.x,d.y).target},g))}},r.prototype.manuallyHideTip=function(o,a,u,d){var g=this._tooltipContent;this._tooltipModel&&g.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,d.from!==this.uid&&this._hide(makeDispatchAction(d,u))},r.prototype._manuallyAxisShowTip=function(o,a,u,d){var g=d.seriesIndex,v=d.dataIndex,y=a.getComponent("axisPointer").coordSysAxesInfo;if(!(g==null||v==null||y==null)){var A=a.getSeriesByIndex(g);if(!!A){var b=A.getData(),_=buildTooltipModel([b.getItemModel(v),A,(A.coordinateSystem||{}).model],this._tooltipModel);if(_.get("trigger")==="axis")return u.dispatchAction({type:"updateAxisPointer",seriesIndex:g,dataIndex:v,position:d.position}),!0}}},r.prototype._tryShow=function(o,a){var u=o.target,d=this._tooltipModel;if(!!d){this._lastX=o.offsetX,this._lastY=o.offsetY;var g=o.dataByCoordSys;if(g&&g.length)this._showAxisTooltip(g,o);else if(u){var v=getECData(u);if(v.ssrType==="legend")return;this._lastDataByCoordSys=null;var y,A;findEventDispatcher(u,function(b){if(getECData(b).dataIndex!=null)return y=b,!0;if(getECData(b).tooltipConfig!=null)return A=b,!0},!0),y?this._showSeriesItemTooltip(o,y,a):A?this._showComponentItemTooltip(o,A,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},r.prototype._showOrMove=function(o,a){var u=o.get("showDelay");a=bind$1(a,this),clearTimeout(this._showTimout),u>0?this._showTimout=setTimeout(a,u):a()},r.prototype._showAxisTooltip=function(o,a){var u=this._ecModel,d=this._tooltipModel,g=[a.offsetX,a.offsetY],v=buildTooltipModel([a.tooltipOption],d),y=this._renderMode,A=[],b=createTooltipMarkup("section",{blocks:[],noHeader:!0}),_=[],w=new TooltipMarkupStyleCreator;each$f(o,function(F){each$f(F.dataByAxis,function(O){var D=u.getComponent(O.axisDim+"Axis",O.axisIndex),x=O.value;if(!(!D||x==null)){var P=getValueLabel(x,D.axis,u,O.seriesDataIndices,O.valueLabelOpt),G=createTooltipMarkup("section",{header:P,noHeader:!trim$1(P),sortBlocks:!0,blocks:[]});b.blocks.push(G),each$f(O.seriesDataIndices,function(M){var N=u.getSeriesByIndex(M.seriesIndex),V=M.dataIndexInside,Y=N.getDataParams(V);if(!(Y.dataIndex<0)){Y.axisDim=O.axisDim,Y.axisIndex=O.axisIndex,Y.axisType=O.axisType,Y.axisId=O.axisId,Y.axisValue=getAxisRawValue(D.axis,{value:x}),Y.axisValueLabel=P,Y.marker=w.makeTooltipMarker("item",convertToColorString(Y.color),y);var H=normalizeTooltipFormatResult(N.formatTooltip(V,!0,null)),B=H.frag;if(B){var z=buildTooltipModel([N],d).get("valueFormatter");G.blocks.push(z?extend({valueFormatter:z},B):B)}H.text&&_.push(H.text),A.push(Y)}})}})}),b.blocks.reverse(),_.reverse();var S=a.position,C=v.get("order"),T=buildTooltipMarkup(b,w,y,C,u.get("useUTC"),v.get("textStyle"));T&&_.unshift(T);var I=y==="richText"?` +*`,"g")),a={series:[]};return each$f(o,function(u,d){if(isTSVFormat(u)){var g=parseTSVContents(u),v=r[d],y=v.axisDim+"Axis";v&&(a[y]=a[y]||[],a[y][v.axisIndex]={data:g.categories},a.series=a.series.concat(g.series))}else{var g=parseListContents(u);a.series.push(g)}}),a}var DataView=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(o,a){setTimeout(function(){a.dispatchAction({type:"hideTip"})});var u=a.getDom(),d=this.model;this._dom&&u.removeChild(this._dom);var g=document.createElement("div");g.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",g.style.backgroundColor=d.get("backgroundColor")||"#fff";var v=document.createElement("h4"),y=d.get("lang")||[];v.innerHTML=y[0]||d.get("title"),v.style.cssText="margin:10px 20px",v.style.color=d.get("textColor");var A=document.createElement("div"),b=document.createElement("textarea");A.style.cssText="overflow:auto";var _=d.get("optionToContent"),w=d.get("contentToOption"),S=getContentFromModel(o);if(isFunction(_)){var C=_(a.getOption());isString$1(C)?A.innerHTML=C:isDom(C)&&A.appendChild(C)}else{b.readOnly=d.get("readOnly");var T=b.style;T.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",T.color=d.get("textColor"),T.borderColor=d.get("textareaBorderColor"),T.backgroundColor=d.get("textareaColor"),b.value=S.value,A.appendChild(b)}var I=S.meta,E=document.createElement("div");E.style.cssText="position:absolute;bottom:5px;left:0;right:0";var F="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",O=document.createElement("div"),D=document.createElement("div");F+=";background-color:"+d.get("buttonColor"),F+=";color:"+d.get("buttonTextColor");var x=this;function P(){u.removeChild(g),x._dom=null}addEventListener(O,"click",P),addEventListener(D,"click",function(){if(w==null&&_!=null||w!=null&&_==null){P();return}var G;try{isFunction(w)?G=w(A,a.getOption()):G=parseContents(b.value,I)}catch(M){throw P(),new Error("Data view format error "+M)}G&&a.dispatchAction({type:"changeDataView",newOption:G}),P()}),O.innerHTML=y[1],D.innerHTML=y[2],D.style.cssText=O.style.cssText=F,!d.get("readOnly")&&E.appendChild(D),E.appendChild(O),g.appendChild(v),g.appendChild(A),g.appendChild(E),A.style.height=u.clientHeight-80+"px",u.appendChild(g),this._dom=g},r.prototype.remove=function(o,a){this._dom&&a.getDom().removeChild(this._dom)},r.prototype.dispose=function(o,a){this.remove(o,a)},r.getDefaultOption=function(o){var a={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:o.getLocaleModel().get(["toolbox","dataView","title"]),lang:o.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return a},r}(ToolboxFeature);function tryMergeDataOption(t,r){return map$1(t,function(o,a){var u=r&&r[a];if(isObject$3(u)&&!isArray$1(u)){var d=isObject$3(o)&&!isArray$1(o);d||(o={value:o});var g=u.name!=null&&o.name==null;return o=defaults(o,u),g&&delete o.name,o}else return o})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,r){var o=[];each$f(t.newOption.series,function(a){var u=r.getSeriesByName(a.name)[0];if(!u)o.push(extend({type:"scatter"},a));else{var d=u.get("data");o.push({name:a.name,data:tryMergeDataOption(a.data,d)})}}),r.mergeOption(defaults({series:o},t.newOption))});var DataView$1=DataView,each$6=each$f,inner$6=makeInner();function push(t,r){var o=getStoreSnapshots(t);each$6(r,function(a,u){for(var d=o.length-1;d>=0;d--){var g=o[d];if(g[u])break}if(d<0){var v=t.queryComponents({mainType:"dataZoom",subType:"select",id:u})[0];if(v){var y=v.getPercentRange();o[0][u]={dataZoomId:u,start:y[0],end:y[1]}}}}),o.push(r)}function pop(t){var r=getStoreSnapshots(t),o=r[r.length-1];r.length>1&&r.pop();var a={};return each$6(o,function(u,d){for(var g=r.length-1;g>=0;g--)if(u=r[g][d],u){a[d]=u;break}}),a}function clear(t){inner$6(t).snapshots=null}function count(t){return getStoreSnapshots(t).length}function getStoreSnapshots(t){var r=inner$6(t);return r.snapshots||(r.snapshots=[{}]),r.snapshots}var RestoreOption=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(o,a){clear(o),a.dispatchAction({type:"restore",from:this.uid})},r.getDefaultOption=function(o){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:o.getLocaleModel().get(["toolbox","restore","title"])};return a},r}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,r){r.resetOption("recreate")});var Restore=RestoreOption,INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function t(r,o,a){var u=this;this._targetInfoList=[];var d=parseFinder(o,r);each$f(targetInfoBuilders,function(g,v){(!a||!a.include||indexOf$1(a.include,v)>=0)&&g(d,u._targetInfoList)})}return t.prototype.setOutputRanges=function(r,o){return this.matchOutputRanges(r,o,function(a,u,d){if((a.coordRanges||(a.coordRanges=[])).push(u),!a.coordRange){a.coordRange=u;var g=coordConvert[a.brushType](0,d,u);a.__rangeOffset={offset:diffProcessor[a.brushType](g.values,a.range,[1,1]),xyMinMax:g.xyMinMax}}}),r},t.prototype.matchOutputRanges=function(r,o,a){each$f(r,function(u){var d=this.findTargetInfo(u,o);d&&d!==!0&&each$f(d.coordSyses,function(g){var v=coordConvert[u.brushType](1,g,u.range,!0);a(u,v.values,g,o)})},this)},t.prototype.setInputRanges=function(r,o){each$f(r,function(a){var u=this.findTargetInfo(a,o);if(a.range=a.range||[],u&&u!==!0){a.panelId=u.panelId;var d=coordConvert[a.brushType](0,u.coordSys,a.coordRange),g=a.__rangeOffset;a.range=g?diffProcessor[a.brushType](d.values,g.offset,getScales(d.xyMinMax,g.xyMinMax)):d.values}},this)},t.prototype.makePanelOpts=function(r,o){return map$1(this._targetInfoList,function(a){var u=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:o?o(a):null,clipPath:makeRectPanelClipPath(u),isTargetByCursor:makeRectIsTargetByCursor(u,r,a.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(u)}})},t.prototype.controlSeries=function(r,o,a){var u=this.findTargetInfo(r,a);return u===!0||u&&indexOf$1(u.coordSyses,o.coordinateSystem)>=0},t.prototype.findTargetInfo=function(r,o){for(var a=this._targetInfoList,u=parseFinder(o,r),d=0;dt[1]&&t.reverse(),t}function parseFinder(t,r){return parseFinder$1(t,r,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(t,r){var o=t.xAxisModels,a=t.yAxisModels,u=t.gridModels,d=createHashMap(),g={},v={};!o&&!a&&!u||(each$f(o,function(y){var A=y.axis.grid.model;d.set(A.id,A),g[A.id]=!0}),each$f(a,function(y){var A=y.axis.grid.model;d.set(A.id,A),v[A.id]=!0}),each$f(u,function(y){d.set(y.id,y),g[y.id]=!0,v[y.id]=!0}),d.each(function(y){var A=y.coordinateSystem,b=[];each$f(A.getCartesians(),function(_,w){(indexOf$1(o,_.getAxis("x").model)>=0||indexOf$1(a,_.getAxis("y").model)>=0)&&b.push(_)}),r.push({panelId:"grid--"+y.id,gridModel:y,coordSysModel:y,coordSys:b[0],coordSyses:b,getPanelRect:panelRectBuilders.grid,xAxisDeclared:g[y.id],yAxisDeclared:v[y.id]})}))},geo:function(t,r){each$f(t.geoModels,function(o){var a=o.coordinateSystem;r.push({panelId:"geo--"+o.id,geoModel:o,coordSysModel:o,coordSys:a,coordSyses:[a],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(t,r){var o=t.xAxisModel,a=t.yAxisModel,u=t.gridModel;return!u&&o&&(u=o.axis.grid.model),!u&&a&&(u=a.axis.grid.model),u&&u===r.gridModel},function(t,r){var o=t.geoModel;return o&&o===r.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,r=t.getBoundingRect().clone();return r.applyTransform(getTransform$1(t)),r}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(t,r,o,a){var u=t?r.pointToData([o[0][0],o[1][0]],a):r.dataToPoint([o[0][0],o[1][0]],a),d=t?r.pointToData([o[0][1],o[1][1]],a):r.dataToPoint([o[0][1],o[1][1]],a),g=[formatMinMax([u[0],d[0]]),formatMinMax([u[1],d[1]])];return{values:g,xyMinMax:g}},polygon:function(t,r,o,a){var u=[[1/0,-1/0],[1/0,-1/0]],d=map$1(o,function(g){var v=t?r.pointToData(g,a):r.dataToPoint(g,a);return u[0][0]=Math.min(u[0][0],v[0]),u[1][0]=Math.min(u[1][0],v[1]),u[0][1]=Math.max(u[0][1],v[0]),u[1][1]=Math.max(u[1][1],v[1]),v});return{values:d,xyMinMax:u}}};function axisConvert(t,r,o,a){var u=o.getAxis(["x","y"][t]),d=formatMinMax(map$1([0,1],function(v){return r?u.coordToData(u.toLocalCoord(a[v]),!0):u.toGlobalCoord(u.dataToCoord(a[v]))})),g=[];return g[t]=d,g[1-t]=[NaN,NaN],{values:d,xyMinMax:g}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(t,r,o){return[[t[0][0]-o[0]*r[0][0],t[0][1]-o[0]*r[0][1]],[t[1][0]-o[1]*r[1][0],t[1][1]-o[1]*r[1][1]]]},polygon:function(t,r,o){return map$1(t,function(a,u){return[a[0]-o[0]*r[u][0],a[1]-o[1]*r[u][1]]})}};function axisDiffProcessor(t,r,o,a){return[r[0]-a[t]*o[0],r[1]-a[t]*o[1]]}function getScales(t,r){var o=getSize(t),a=getSize(r),u=[o[0]/a[0],o[1]/a[1]];return isNaN(u[0])&&(u[0]=1),isNaN(u[1])&&(u[1]=1),u}function getSize(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var BrushTargetManager$1=BrushTargetManager,each$5=each$f,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u,d){this._brushController||(this._brushController=new BrushController$1(u.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(o,a,this,d,u),updateBackBtnStatus(o,a)},r.prototype.onclick=function(o,a,u){handlers[u].call(this)},r.prototype.remove=function(o,a){this._brushController&&this._brushController.unmount()},r.prototype.dispose=function(o,a){this._brushController&&this._brushController.dispose()},r.prototype._onBrush=function(o){var a=o.areas;if(!o.isEnd||!a.length)return;var u={},d=this.ecModel;this._brushController.updateCovers([]);var g=new BrushTargetManager$1(makeAxisFinder(this.model),d,{include:["grid"]});g.matchOutputRanges(a,d,function(A,b,_){if(_.type==="cartesian2d"){var w=A.brushType;w==="rect"?(v("x",_,b[0]),v("y",_,b[1])):v({lineX:"x",lineY:"y"}[w],_,b)}}),push(d,u),this._dispatchZoomAction(u);function v(A,b,_){var w=b.getAxis(A),S=w.model,C=y(A,S,d),T=C.findRepresentativeAxisProxy(S).getMinMaxSpan();(T.minValueSpan!=null||T.maxValueSpan!=null)&&(_=sliderMove(0,_.slice(),w.scale.getExtent(),0,T.minValueSpan,T.maxValueSpan)),C&&(u[C.id]={dataZoomId:C.id,startValue:_[0],endValue:_[1]})}function y(A,b,_){var w;return _.eachComponent({mainType:"dataZoom",subType:"select"},function(S){var C=S.getAxisModel(A,b.componentIndex);C&&(w=S)}),w}},r.prototype._dispatchZoomAction=function(o){var a=[];each$5(o,function(u,d){a.push(clone$5(u))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},r.getDefaultOption=function(o){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},r}(ToolboxFeature),handlers={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(t){var r={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return r.xAxisIndex==null&&r.xAxisId==null&&(r.xAxisIndex="all"),r.yAxisIndex==null&&r.yAxisId==null&&(r.yAxisIndex="all"),r}function updateBackBtnStatus(t,r){t.setIconStatus("back",count(r)>1?"emphasis":"normal")}function updateZoomBtnStatus(t,r,o,a,u){var d=o._isZoomActive;a&&a.type==="takeGlobalCursor"&&(d=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),o._isZoomActive=d,t.setIconStatus("zoom",d?"emphasis":"normal");var g=new BrushTargetManager$1(makeAxisFinder(t),r,{include:["grid"]}),v=g.makePanelOpts(u,function(y){return y.xAxisDeclared&&!y.yAxisDeclared?"lineX":!y.xAxisDeclared&&y.yAxisDeclared?"lineY":"rect"});o._brushController.setPanels(v).enableBrush(d&&v.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(t){var r=t.getComponent("toolbox",0),o=["feature","dataZoom"];if(!r||r.get(o)==null)return;var a=r.getModel(o),u=[],d=makeAxisFinder(a),g=parseFinder$1(t,d);each$5(g.xAxisModels,function(y){return v(y,"xAxis","xAxisIndex")}),each$5(g.yAxisModels,function(y){return v(y,"yAxis","yAxisIndex")});function v(y,A,b){var _=y.componentIndex,w={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+A+_};w[b]=_,u.push(w)}return u});var DataZoom=DataZoomFeature;function install$j(t){t.registerComponentModel(ToolboxModel$1),t.registerComponentView(ToolboxView$1),registerFeature("saveAsImage",SaveAsImage$1),registerFeature("magicType",MagicType$1),registerFeature("dataView",DataView$1),registerFeature("dataZoom",DataZoom),registerFeature("restore",Restore),use(install$k)}var TooltipModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="tooltip",r.dependencies=["axisPointer"],r.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},r}(ComponentModel$1),TooltipModel$1=TooltipModel;function shouldTooltipConfine(t){var r=t.get("confine");return r!=null?!!r:t.get("renderMode")==="richText"}function testStyle(t){if(!!env$1.domSupported){for(var r=document.documentElement.style,o=0,a=t.length;o-1?(v+="top:50%",y+="translateY(-50%) rotate("+(A=d==="left"?-225:-45)+"deg)"):(v+="left:50%",y+="translateX(-50%) rotate("+(A=d==="top"?225:45)+"deg)");var b=A*Math.PI/180,_=g+u,w=_*Math.abs(Math.cos(b))+_*Math.abs(Math.sin(b)),S=Math.round(((w-Math.SQRT2*u)/2+Math.SQRT2*u-(w-_)/2)*100)/100;v+=";"+d+":-"+S+"px";var C=r+" solid "+u+"px;",T=["position:absolute;width:"+g+"px;height:"+g+"px;z-index:-1;",v+";"+y+";","border-bottom:"+C,"border-right:"+C,"background-color:"+a+";"];return'
    '}function assembleTransition(t,r){var o="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+o,u="opacity"+a+",visibility"+a;return r||(a=" "+t+"s "+o,u+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+a:",left"+a+",top"+a),CSS_TRANSITION_VENDOR+":"+u}function assembleTransform(t,r,o){var a=t.toFixed(0)+"px",u=r.toFixed(0)+"px";if(!env$1.transformSupported)return o?"top:"+u+";left:"+a+";":[["top",u],["left",a]];var d=env$1.transform3dSupported,g="translate"+(d?"3d":"")+"("+a+","+u+(d?",0":"")+")";return o?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+g+";":[["top",0],["left",0],[TRANSFORM_VENDOR,g]]}function assembleFont(t){var r=[],o=t.get("fontSize"),a=t.getTextColor();a&&r.push("color:"+a),r.push("font:"+t.getFont()),o&&r.push("line-height:"+Math.round(o*3/2)+"px");var u=t.get("textShadowColor"),d=t.get("textShadowBlur")||0,g=t.get("textShadowOffsetX")||0,v=t.get("textShadowOffsetY")||0;return u&&d&&r.push("text-shadow:"+g+"px "+v+"px "+d+"px "+u),each$f(["decoration","align"],function(y){var A=t.get(y);A&&r.push("text-"+y+":"+A)}),r.join(";")}function assembleCssText(t,r,o){var a=[],u=t.get("transitionDuration"),d=t.get("backgroundColor"),g=t.get("shadowBlur"),v=t.get("shadowColor"),y=t.get("shadowOffsetX"),A=t.get("shadowOffsetY"),b=t.getModel("textStyle"),_=getPaddingFromTooltipModel(t,"html"),w=y+"px "+A+"px "+g+"px "+v;return a.push("box-shadow:"+w),r&&u&&a.push(assembleTransition(u,o)),d&&a.push("background-color:"+d),each$f(["width","color","radius"],function(S){var C="border-"+S,T=toCamelCase(C),I=t.get(T);I!=null&&a.push(C+":"+I+(S==="color"?"":"px"))}),a.push(assembleFont(b)),_!=null&&a.push("padding:"+normalizeCssArray(_).join("px ")+"px"),a.join(";")+";"}function makeStyleCoord$1(t,r,o,a,u){var d=r&&r.painter;if(o){var g=d&&d.getViewportRoot();g&&transformLocalCoord(t,g,o,a,u)}else{t[0]=a,t[1]=u;var v=d&&d.getViewportRootOffset();v&&(t[0]+=v.offsetLeft,t[1]+=v.offsetTop)}t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}var TooltipHTMLContent=function(){function t(r,o){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env$1.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var u=this._zr=r.getZr(),d=o.appendTo,g=d&&(isString$1(d)?document.querySelector(d):isDom(d)?d:isFunction(d)&&d(r.getDom()));makeStyleCoord$1(this._styleCoord,u,g,r.getWidth()/2,r.getHeight()/2),(g||r.getDom()).appendChild(a),this._api=r,this._container=g;var v=this;a.onmouseenter=function(){v._enterable&&(clearTimeout(v._hideTimeout),v._show=!0),v._inContent=!0},a.onmousemove=function(y){if(y=y||window.event,!v._enterable){var A=u.handler,b=u.painter.getViewportRoot();normalizeEvent(b,y,!0),A.dispatch("mousemove",y)}},a.onmouseleave=function(){v._inContent=!1,v._enterable&&v._show&&v.hideLater(v._hideDelay)}}return t.prototype.update=function(r){if(!this._container){var o=this._api.getDom(),a=getComputedStyle$1(o,"position"),u=o.style;u.position!=="absolute"&&a!=="absolute"&&(u.position="relative")}var d=r.get("alwaysShowContent");d&&this._moveIfResized(),this._alwaysShowContent=d,this.el.className=r.get("className")||""},t.prototype.show=function(r,o){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,u=a.style,d=this._styleCoord;a.innerHTML?u.cssText=gCssText+assembleCssText(r,!this._firstShow,this._longHide)+assembleTransform(d[0],d[1],!0)+("border-color:"+convertToColorString(o)+";")+(r.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):u.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(r,o,a,u,d){var g=this.el;if(r==null){g.innerHTML="";return}var v="";if(isString$1(d)&&a.get("trigger")==="item"&&!shouldTooltipConfine(a)&&(v=assembleArrow(a,u,d)),isString$1(r))g.innerHTML=r+v;else if(r){g.innerHTML="",isArray$1(r)||(r=[r]);for(var y=0;y=0?this._tryShow(d,g):u==="leave"&&this._hide(g))},this))},r.prototype._keepShow=function(){var o=this._tooltipModel,a=this._ecModel,u=this._api,d=o.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&d!=="none"&&d!=="click"){var g=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!u.isDisposed()&&g.manuallyShowTip(o,a,u,{x:g._lastX,y:g._lastY,dataByCoordSys:g._lastDataByCoordSys})})}},r.prototype.manuallyShowTip=function(o,a,u,d){if(!(d.from===this.uid||env$1.node||!u.getDom())){var g=makeDispatchAction(d,u);this._ticket="";var v=d.dataByCoordSys,y=findComponentReference(d,a,u);if(y){var A=y.el.getBoundingRect().clone();A.applyTransform(y.el.transform),this._tryShow({offsetX:A.x+A.width/2,offsetY:A.y+A.height/2,target:y.el,position:d.position,positionDefault:"bottom"},g)}else if(d.tooltip&&d.x!=null&&d.y!=null){var b=proxyRect;b.x=d.x,b.y=d.y,b.update(),getECData(b).tooltipConfig={name:null,option:d.tooltip},this._tryShow({offsetX:d.x,offsetY:d.y,target:b},g)}else if(v)this._tryShow({offsetX:d.x,offsetY:d.y,position:d.position,dataByCoordSys:v,tooltipOption:d.tooltipOption},g);else if(d.seriesIndex!=null){if(this._manuallyAxisShowTip(o,a,u,d))return;var _=findPointFromSeries(d,a),w=_.point[0],S=_.point[1];w!=null&&S!=null&&this._tryShow({offsetX:w,offsetY:S,target:_.el,position:d.position,positionDefault:"bottom"},g)}else d.x!=null&&d.y!=null&&(u.dispatchAction({type:"updateAxisPointer",x:d.x,y:d.y}),this._tryShow({offsetX:d.x,offsetY:d.y,position:d.position,target:u.getZr().findHover(d.x,d.y).target},g))}},r.prototype.manuallyHideTip=function(o,a,u,d){var g=this._tooltipContent;this._tooltipModel&&g.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,d.from!==this.uid&&this._hide(makeDispatchAction(d,u))},r.prototype._manuallyAxisShowTip=function(o,a,u,d){var g=d.seriesIndex,v=d.dataIndex,y=a.getComponent("axisPointer").coordSysAxesInfo;if(!(g==null||v==null||y==null)){var A=a.getSeriesByIndex(g);if(!!A){var b=A.getData(),_=buildTooltipModel([b.getItemModel(v),A,(A.coordinateSystem||{}).model],this._tooltipModel);if(_.get("trigger")==="axis")return u.dispatchAction({type:"updateAxisPointer",seriesIndex:g,dataIndex:v,position:d.position}),!0}}},r.prototype._tryShow=function(o,a){var u=o.target,d=this._tooltipModel;if(!!d){this._lastX=o.offsetX,this._lastY=o.offsetY;var g=o.dataByCoordSys;if(g&&g.length)this._showAxisTooltip(g,o);else if(u){var v=getECData(u);if(v.ssrType==="legend")return;this._lastDataByCoordSys=null;var y,A;findEventDispatcher(u,function(b){if(getECData(b).dataIndex!=null)return y=b,!0;if(getECData(b).tooltipConfig!=null)return A=b,!0},!0),y?this._showSeriesItemTooltip(o,y,a):A?this._showComponentItemTooltip(o,A,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},r.prototype._showOrMove=function(o,a){var u=o.get("showDelay");a=bind$1(a,this),clearTimeout(this._showTimout),u>0?this._showTimout=setTimeout(a,u):a()},r.prototype._showAxisTooltip=function(o,a){var u=this._ecModel,d=this._tooltipModel,g=[a.offsetX,a.offsetY],v=buildTooltipModel([a.tooltipOption],d),y=this._renderMode,A=[],b=createTooltipMarkup("section",{blocks:[],noHeader:!0}),_=[],w=new TooltipMarkupStyleCreator;each$f(o,function(F){each$f(F.dataByAxis,function(O){var D=u.getComponent(O.axisDim+"Axis",O.axisIndex),x=O.value;if(!(!D||x==null)){var P=getValueLabel(x,D.axis,u,O.seriesDataIndices,O.valueLabelOpt),G=createTooltipMarkup("section",{header:P,noHeader:!trim$1(P),sortBlocks:!0,blocks:[]});b.blocks.push(G),each$f(O.seriesDataIndices,function(M){var N=u.getSeriesByIndex(M.seriesIndex),V=M.dataIndexInside,Z=N.getDataParams(V);if(!(Z.dataIndex<0)){Z.axisDim=O.axisDim,Z.axisIndex=O.axisIndex,Z.axisType=O.axisType,Z.axisId=O.axisId,Z.axisValue=getAxisRawValue(D.axis,{value:x}),Z.axisValueLabel=P,Z.marker=w.makeTooltipMarker("item",convertToColorString(Z.color),y);var H=normalizeTooltipFormatResult(N.formatTooltip(V,!0,null)),B=H.frag;if(B){var z=buildTooltipModel([N],d).get("valueFormatter");G.blocks.push(z?extend({valueFormatter:z},B):B)}H.text&&_.push(H.text),A.push(Z)}})}})}),b.blocks.reverse(),_.reverse();var S=a.position,C=v.get("order"),T=buildTooltipMarkup(b,w,y,C,u.get("useUTC"),v.get("textStyle"));T&&_.unshift(T);var I=y==="richText"?` -`:"
    ",E=_.join(I);this._showOrMove(v,function(){this._updateContentNotChangedOnAxis(o,A)?this._updatePosition(v,S,g[0],g[1],this._tooltipContent,A):this._showTooltipContent(v,E,A,Math.random()+"",g[0],g[1],S,null,w)})},r.prototype._showSeriesItemTooltip=function(o,a,u){var d=this._ecModel,g=getECData(a),v=g.seriesIndex,y=d.getSeriesByIndex(v),A=g.dataModel||y,b=g.dataIndex,_=g.dataType,w=A.getData(_),S=this._renderMode,C=o.positionDefault,T=buildTooltipModel([w.getItemModel(b),A,y&&(y.coordinateSystem||{}).model],this._tooltipModel,C?{position:C}:null),I=T.get("trigger");if(!(I!=null&&I!=="item")){var E=A.getDataParams(b,_),F=new TooltipMarkupStyleCreator;E.marker=F.makeTooltipMarker("item",convertToColorString(E.color),S);var O=normalizeTooltipFormatResult(A.formatTooltip(b,!1,_)),D=T.get("order"),x=T.get("valueFormatter"),P=O.frag,G=P?buildTooltipMarkup(x?extend({valueFormatter:x},P):P,F,S,D,d.get("useUTC"),T.get("textStyle")):O.text,M="item_"+A.name+"_"+b;this._showOrMove(T,function(){this._showTooltipContent(T,G,E,M,o.offsetX,o.offsetY,o.position,o.target,F)}),u({type:"showTip",dataIndexInside:b,dataIndex:w.getRawIndex(b),seriesIndex:v,from:this.uid})}},r.prototype._showComponentItemTooltip=function(o,a,u){var d=this._renderMode==="html",g=getECData(a),v=g.tooltipConfig,y=v.option||{},A=y.encodeHTMLContent;if(isString$1(y)){var b=y;y={content:b,formatter:b},A=!0}A&&d&&y.content&&(y=clone$5(y),y.content=encodeHTML(y.content));var _=[y],w=this._ecModel.getComponent(g.componentMainType,g.componentIndex);w&&_.push(w),_.push({formatter:y.content});var S=o.positionDefault,C=buildTooltipModel(_,this._tooltipModel,S?{position:S}:null),T=C.get("content"),I=Math.random()+"",E=new TooltipMarkupStyleCreator;this._showOrMove(C,function(){var F=clone$5(C.get("formatterParams")||{});this._showTooltipContent(C,T,F,I,o.offsetX,o.offsetY,o.position,a,E)}),u({type:"showTip",from:this.uid})},r.prototype._showTooltipContent=function(o,a,u,d,g,v,y,A,b){if(this._ticket="",!(!o.get("showContent")||!o.get("show"))){var _=this._tooltipContent;_.setEnterable(o.get("enterable"));var w=o.get("formatter");y=y||o.get("position");var S=a,C=this._getNearestPoint([g,v],u,o.get("trigger"),o.get("borderColor")),T=C.color;if(w)if(isString$1(w)){var I=o.ecModel.get("useUTC"),E=isArray$1(u)?u[0]:u,F=E&&E.axisType&&E.axisType.indexOf("time")>=0;S=w,F&&(S=format(E.axisValue,S,I)),S=formatTpl(S,u,!0)}else if(isFunction(w)){var O=bind$1(function(D,x){D===this._ticket&&(_.setContent(x,b,o,T,y),this._updatePosition(o,y,g,v,_,u,A))},this);this._ticket=d,S=w(u,d,O)}else S=w;_.setContent(S,b,o,T,y),_.show(o,T),this._updatePosition(o,y,g,v,_,u,A)}},r.prototype._getNearestPoint=function(o,a,u,d){if(u==="axis"||isArray$1(a))return{color:d||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(a))return{color:d||a.color||a.borderColor}},r.prototype._updatePosition=function(o,a,u,d,g,v,y){var A=this._api.getWidth(),b=this._api.getHeight();a=a||o.get("position");var _=g.getSize(),w=o.get("align"),S=o.get("verticalAlign"),C=y&&y.getBoundingRect().clone();if(y&&C.applyTransform(y.transform),isFunction(a)&&(a=a([u,d],v,g.el,C,{viewSize:[A,b],contentSize:_.slice()})),isArray$1(a))u=parsePercent(a[0],A),d=parsePercent(a[1],b);else if(isObject$3(a)){var T=a;T.width=_[0],T.height=_[1];var I=getLayoutRect(T,{width:A,height:b});u=I.x,d=I.y,w=null,S=null}else if(isString$1(a)&&y){var E=calcTooltipPosition(a,C,_,o.get("borderWidth"));u=E[0],d=E[1]}else{var E=refixTooltipPosition(u,d,g,A,b,w?null:20,S?null:20);u=E[0],d=E[1]}if(w&&(u-=isCenterAlign(w)?_[0]/2:w==="right"?_[0]:0),S&&(d-=isCenterAlign(S)?_[1]/2:S==="bottom"?_[1]:0),shouldTooltipConfine(o)){var E=confineTooltipPosition(u,d,g,A,b);u=E[0],d=E[1]}g.moveTo(u,d)},r.prototype._updateContentNotChangedOnAxis=function(o,a){var u=this._lastDataByCoordSys,d=this._cbParamsList,g=!!u&&u.length===o.length;return g&&each$f(u,function(v,y){var A=v.dataByAxis||[],b=o[y]||{},_=b.dataByAxis||[];g=g&&A.length===_.length,g&&each$f(A,function(w,S){var C=_[S]||{},T=w.seriesDataIndices||[],I=C.seriesDataIndices||[];g=g&&w.value===C.value&&w.axisType===C.axisType&&w.axisId===C.axisId&&T.length===I.length,g&&each$f(T,function(E,F){var O=I[F];g=g&&E.seriesIndex===O.seriesIndex&&E.dataIndex===O.dataIndex}),d&&each$f(w.seriesDataIndices,function(E){var F=E.seriesIndex,O=a[F],D=d[F];O&&D&&D.data!==O.data&&(g=!1)})})}),this._lastDataByCoordSys=o,this._cbParamsList=a,!!g},r.prototype._hide=function(o){this._lastDataByCoordSys=null,o({type:"hideTip",from:this.uid})},r.prototype.dispose=function(o,a){env$1.node||!a.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",a))},r.type="tooltip",r}(ComponentView$1);function buildTooltipModel(t,r,o){var a=r.ecModel,u;o?(u=new Model$1(o,a,a),u=new Model$1(r.option,u,a)):u=r;for(var d=t.length-1;d>=0;d--){var g=t[d];g&&(g instanceof Model$1&&(g=g.get("tooltip",!0)),isString$1(g)&&(g={formatter:g}),g&&(u=new Model$1(g,u,a)))}return u}function makeDispatchAction(t,r){return t.dispatchAction||bind$1(r.dispatchAction,r)}function refixTooltipPosition(t,r,o,a,u,d,g){var v=o.getSize(),y=v[0],A=v[1];return d!=null&&(t+y+d+2>a?t-=y+d:t+=d),g!=null&&(r+A+g>u?r-=A+g:r+=g),[t,r]}function confineTooltipPosition(t,r,o,a,u){var d=o.getSize(),g=d[0],v=d[1];return t=Math.min(t+g,a)-g,r=Math.min(r+v,u)-v,t=Math.max(t,0),r=Math.max(r,0),[t,r]}function calcTooltipPosition(t,r,o,a){var u=o[0],d=o[1],g=Math.ceil(Math.SQRT2*a)+8,v=0,y=0,A=r.width,b=r.height;switch(t){case"inside":v=r.x+A/2-u/2,y=r.y+b/2-d/2;break;case"top":v=r.x+A/2-u/2,y=r.y-d-g;break;case"bottom":v=r.x+A/2-u/2,y=r.y+b+g;break;case"left":v=r.x-u-g,y=r.y+b/2-d/2;break;case"right":v=r.x+A+g,y=r.y+b/2-d/2}return[v,y]}function isCenterAlign(t){return t==="center"||t==="middle"}function findComponentReference(t,r,o){var a=preParseFinder(t).queryOptionMap,u=a.keys()[0];if(!(!u||u==="series")){var d=queryReferringComponents(r,u,a.get(u),{useDefault:!1,enableAll:!1,enableNone:!1}),g=d.models[0];if(!!g){var v=o.getViewOfComponentModel(g),y;if(v.group.traverse(function(A){var b=getECData(A).tooltipConfig;if(b&&b.name===t.name)return y=A,!0}),y)return{componentMainType:u,componentIndex:g.componentIndex,el:y}}}}var TooltipView$1=TooltipView;function install$i(t){use(install$q),t.registerComponentModel(TooltipModel$1),t.registerComponentView(TooltipView$1),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(t,r){var o=normalizeToArray(t?t.brush:[]);if(!!o.length){var a=[];each$f(o,function(y){var A=y.hasOwnProperty("toolbox")?y.toolbox:[];A instanceof Array&&(a=a.concat(A))});var u=t&&t.toolbox;isArray$1(u)&&(u=u[0]),u||(u={feature:{}},t.toolbox=[u]);var d=u.feature||(u.feature={}),g=d.brush||(d.brush={}),v=g.type||(g.type=[]);v.push.apply(v,a),removeDuplicate(v),r&&!v.length&&v.push.apply(v,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(t){var r={};each$f(t,function(o){r[o]=1}),t.length=0,each$f(r,function(o,a){t.push(a)})}var each$4=each$f;function hasKeys(t){if(t){for(var r in t)if(t.hasOwnProperty(r))return!0}}function createVisualMappings(t,r,o){var a={};return each$4(r,function(d){var g=a[d]=u();each$4(t[d],function(v,y){if(!!VisualMapping$1.isValidType(y)){var A={type:y,visual:v};o&&o(A,d),g[y]=new VisualMapping$1(A),y==="opacity"&&(A=clone$5(A),A.type="colorAlpha",g.__hidden.__alphaForOpacity=new VisualMapping$1(A))}})}),a;function u(){var d=function(){};d.prototype.__hidden=d.prototype;var g=new d;return g}}function replaceVisualOption(t,r,o){var a;each$f(o,function(u){r.hasOwnProperty(u)&&hasKeys(r[u])&&(a=!0)}),a&&each$f(o,function(u){r.hasOwnProperty(u)&&hasKeys(r[u])?t[u]=clone$5(r[u]):delete t[u]})}function applyVisual(t,r,o,a,u,d){var g={};each$f(t,function(_){var w=VisualMapping$1.prepareVisualTypes(r[_]);g[_]=w});var v;function y(_){return getItemVisualFromData(o,v,_)}function A(_,w){setItemVisualFromData(o,v,_,w)}d==null?o.each(b):o.each([d],b);function b(_,w){v=d==null?_:w;var S=o.getRawDataItem(v);if(!(S&&S.visualMap===!1))for(var C=a.call(u,_),T=r[C],I=g[C],E=0,F=I.length;Er[0][1]&&(r[0][1]=d[0]),d[1]r[1][1]&&(r[1][1]=d[1])}return r&&getBoundingRectFromMinMax(r)}};function getBoundingRectFromMinMax(t){return new BoundingRect$1(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var BrushView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){this.ecModel=o,this.api=a,this.model,(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this)).mount()},r.prototype.render=function(o,a,u,d){this.model=o,this._updateController(o,a,u,d)},r.prototype.updateTransform=function(o,a,u,d){layoutCovers(a),this._updateController(o,a,u,d)},r.prototype.updateVisual=function(o,a,u,d){this.updateTransform(o,a,u,d)},r.prototype.updateView=function(o,a,u,d){this._updateController(o,a,u,d)},r.prototype._updateController=function(o,a,u,d){(!d||d.$from!==o.id)&&this._brushController.setPanels(o.brushTargetManager.makePanelOpts(u)).enableBrush(o.brushOption).updateCovers(o.areas.slice())},r.prototype.dispose=function(){this._brushController.dispose()},r.prototype._onBrush=function(o){var a=this.model.id,u=this.model.brushTargetManager.setOutputRanges(o.areas,this.ecModel);(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:clone$5(u),$from:a}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:clone$5(u),$from:a})},r.type="brush",r}(ComponentView$1),BrushView$1=BrushView,DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.areas=[],o.brushOption={},o}return r.prototype.optionUpdated=function(o,a){var u=this.option;!a&&replaceVisualOption(u,o,["inBrush","outOfBrush"]);var d=u.inBrush=u.inBrush||{};u.outOfBrush=u.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},d.hasOwnProperty("liftZ")||(d.liftZ=5)},r.prototype.setAreas=function(o){!o||(this.areas=map$1(o,function(a){return generateBrushOption(this.option,a)},this))},r.prototype.setBrushOption=function(o){this.brushOption=generateBrushOption(this.option,o),this.brushType=this.brushOption.brushType},r.type="brush",r.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],r.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},r}(ComponentModel$1);function generateBrushOption(t,r){return merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Model$1(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},r,!0)}var BrushModel$1=BrushModel,ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u){var d,g,v;a.eachComponent({mainType:"brush"},function(y){d=y.brushType,g=y.brushOption.brushMode||"single",v=v||!!y.areas.length}),this._brushType=d,this._brushMode=g,each$f(o.get("type",!0),function(y){o.setIconStatus(y,(y==="keep"?g==="multiple":y==="clear"?v:y===d)?"emphasis":"normal")})},r.prototype.updateView=function(o,a,u){this.render(o,a,u)},r.prototype.getIcons=function(){var o=this.model,a=o.get("icon",!0),u={};return each$f(o.get("type",!0),function(d){a[d]&&(u[d]=a[d])}),u},r.prototype.onclick=function(o,a,u){var d=this._brushType,g=this._brushMode;u==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:u==="keep"?d:d===u?!1:u,brushMode:u==="keep"?g==="multiple"?"single":"multiple":g}})},r.getDefaultOption=function(o){var a={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:o.getLocaleModel().get(["toolbox","brush","title"])};return a},r}(ToolboxFeature),BrushFeature$1=BrushFeature;function install$h(t){t.registerComponentView(BrushView$1),t.registerComponentModel(BrushModel$1),t.registerPreprocessor(brushPreprocessor),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,brushVisual),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(r,o){o.eachComponent({mainType:"brush",query:r},function(a){a.setAreas(r.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop),registerFeature("brush",BrushFeature$1)}var TitleModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.layoutMode={type:"box",ignoreSize:!0},o}return r.type="title",r.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},r}(ComponentModel$1),TitleView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){if(this.group.removeAll(),!!o.get("show")){var d=this.group,g=o.getModel("textStyle"),v=o.getModel("subtextStyle"),y=o.get("textAlign"),A=retrieve2(o.get("textBaseline"),o.get("textVerticalAlign")),b=new ZRText$1({style:createTextStyle(g,{text:o.get("text"),fill:g.getTextColor()},{disableBox:!0}),z2:10}),_=b.getBoundingRect(),w=o.get("subtext"),S=new ZRText$1({style:createTextStyle(v,{text:w,fill:v.getTextColor(),y:_.height+o.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),C=o.get("link"),T=o.get("sublink"),I=o.get("triggerEvent",!0);b.silent=!C&&!I,S.silent=!T&&!I,C&&b.on("click",function(){windowOpen(C,"_"+o.get("target"))}),T&&S.on("click",function(){windowOpen(T,"_"+o.get("subtarget"))}),getECData(b).eventData=getECData(S).eventData=I?{componentType:"title",componentIndex:o.componentIndex}:null,d.add(b),w&&d.add(S);var E=d.getBoundingRect(),F=o.getBoxLayoutParams();F.width=E.width,F.height=E.height;var O=getLayoutRect(F,{width:u.getWidth(),height:u.getHeight()},o.get("padding"));y||(y=o.get("left")||o.get("right"),y==="middle"&&(y="center"),y==="right"?O.x+=O.width:y==="center"&&(O.x+=O.width/2)),A||(A=o.get("top")||o.get("bottom"),A==="center"&&(A="middle"),A==="bottom"?O.y+=O.height:A==="middle"&&(O.y+=O.height/2),A=A||"top"),d.x=O.x,d.y=O.y,d.markRedraw();var D={align:y,verticalAlign:A};b.setStyle(D),S.setStyle(D),E=d.getBoundingRect();var x=O.margin,P=o.getItemStyle(["color","opacity"]);P.fill=o.get("backgroundColor");var G=new Rect$3({shape:{x:E.x-x[3],y:E.y-x[0],width:E.width+x[1]+x[3],height:E.height+x[0]+x[2],r:o.get("borderRadius")},style:P,subPixelOptimize:!0,silent:!0});d.add(G)}},r.type="title",r}(ComponentView$1);function install$g(t){t.registerComponentModel(TitleModel),t.registerComponentView(TitleView)}var TimelineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.layoutMode="box",o}return r.prototype.init=function(o,a,u){this.mergeDefaultAndTheme(o,u),this._initData()},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),this._initData()},r.prototype.setCurrentIndex=function(o){o==null&&(o=this.option.currentIndex);var a=this._data.count();this.option.loop?o=(o%a+a)%a:(o>=a&&(o=a-1),o<0&&(o=0)),this.option.currentIndex=o},r.prototype.getCurrentIndex=function(){return this.option.currentIndex},r.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},r.prototype.setPlayState=function(o){this.option.autoPlay=!!o},r.prototype.getPlayState=function(){return!!this.option.autoPlay},r.prototype._initData=function(){var o=this.option,a=o.data||[],u=o.axisType,d=this._names=[],g;u==="category"?(g=[],each$f(a,function(A,b){var _=convertOptionIdName(getDataItemValue(A),""),w;isObject$3(A)?(w=clone$5(A),w.value=b):w=b,g.push(w),d.push(_)})):g=a;var v={category:"ordinal",time:"time",value:"number"}[u]||"number",y=this._data=new SeriesData$1([{name:"value",type:v}],this);y.initData(g,d)},r.prototype.getData=function(){return this._data},r.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},r.type="timeline",r.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},r}(ComponentModel$1),TimelineModel$1=TimelineModel,SliderTimelineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="timeline.slider",r.defaultOption=inheritDefaultOption(TimelineModel$1.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),r}(TimelineModel$1);mixin(SliderTimelineModel,DataFormatMixin.prototype);var SliderTimelineModel$1=SliderTimelineModel,TimelineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="timeline",r}(ComponentView$1),TimelineView$1=TimelineView,TimelineAxis=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this,o,a,u)||this;return g.type=d||"value",g}return r.prototype.getLabelModel=function(){return this.model.getModel("label")},r.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},r}(Axis$1),TimelineAxis$1=TimelineAxis,PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){this.api=a},r.prototype.render=function(o,a,u){if(this.model=o,this.api=u,this.ecModel=a,this.group.removeAll(),o.get("show",!0)){var d=this._layout(o,u),g=this._createGroup("_mainGroup"),v=this._createGroup("_labelGroup"),y=this._axis=this._createAxis(d,o);o.formatTooltip=function(A){var b=y.scale.getLabel({value:A});return createTooltipMarkup("nameValue",{noName:!0,value:b})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(A){this["_render"+A](d,g,y,o)},this),this._renderAxisLabel(d,v,y,o),this._position(d,o)}this._doPlayStop(),this._updateTicksStatus()},r.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},r.prototype.dispose=function(){this._clearTimer()},r.prototype._layout=function(o,a){var u=o.get(["label","position"]),d=o.get("orient"),g=getViewRect(o,a),v;u==null||u==="auto"?v=d==="horizontal"?g.y+g.height/2=0||v==="+"?"left":"right"},A={horizontal:v>=0||v==="+"?"top":"bottom",vertical:"middle"},b={horizontal:0,vertical:PI/2},_=d==="vertical"?g.height:g.width,w=o.getModel("controlStyle"),S=w.get("show",!0),C=S?w.get("itemSize"):0,T=S?w.get("itemGap"):0,I=C+T,E=o.get(["label","rotate"])||0;E=E*PI/180;var F,O,D,x=w.get("position",!0),P=S&&w.get("showPlayBtn",!0),G=S&&w.get("showPrevBtn",!0),M=S&&w.get("showNextBtn",!0),N=0,V=_;x==="left"||x==="bottom"?(P&&(F=[0,0],N+=I),G&&(O=[N,0],N+=I),M&&(D=[V-C,0],V-=I)):(P&&(F=[V-C,0],V-=I),G&&(O=[0,0],N+=I),M&&(D=[V-C,0],V-=I));var Y=[N,V];return o.get("inverse")&&Y.reverse(),{viewRect:g,mainLength:_,orient:d,rotation:b[d],labelRotation:E,labelPosOpt:v,labelAlign:o.get(["label","align"])||y[d],labelBaseline:o.get(["label","verticalAlign"])||o.get(["label","baseline"])||A[d],playPosition:F,prevBtnPosition:O,nextBtnPosition:D,axisExtent:Y,controlSize:C,controlGap:T}},r.prototype._position=function(o,a){var u=this._mainGroup,d=this._labelGroup,g=o.viewRect;if(o.orient==="vertical"){var v=create$1(),y=g.x,A=g.y+g.height;translate(v,v,[-y,-A]),rotate(v,v,-PI/2),translate(v,v,[y,A]),g=g.clone(),g.applyTransform(v)}var b=F(g),_=F(u.getBoundingRect()),w=F(d.getBoundingRect()),S=[u.x,u.y],C=[d.x,d.y];C[0]=S[0]=b[0][0];var T=o.labelPosOpt;if(T==null||isString$1(T)){var I=T==="+"?0:1;O(S,_,b,1,I),O(C,w,b,1,1-I)}else{var I=T>=0?0:1;O(S,_,b,1,I),C[1]=S[1]+T}u.setPosition(S),d.setPosition(C),u.rotation=d.rotation=o.rotation,E(u),E(d);function E(D){D.originX=b[0][0]-D.x,D.originY=b[1][0]-D.y}function F(D){return[[D.x,D.x+D.width],[D.y,D.y+D.height]]}function O(D,x,P,G,M){D[G]+=P[G][M]-x[G][M]}},r.prototype._createAxis=function(o,a){var u=a.getData(),d=a.get("axisType"),g=createScaleByModel(a,d);g.getTicks=function(){return u.mapArray(["value"],function(A){return{value:A}})};var v=u.getDataExtent("value");g.setExtent(v[0],v[1]),g.calcNiceTicks();var y=new TimelineAxis$1("value",g,o.axisExtent,d);return y.model=a,y},r.prototype._createGroup=function(o){var a=this[o]=new Group$4;return this.group.add(a),a},r.prototype._renderAxisLine=function(o,a,u,d){var g=u.getExtent();if(!!d.get(["lineStyle","show"])){var v=new Line$3({shape:{x1:g[0],y1:0,x2:g[1],y2:0},style:extend({lineCap:"round"},d.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(v);var y=this._progressLine=new Line$3({shape:{x1:g[0],x2:this._currentPointer?this._currentPointer.x:g[0],y1:0,y2:0},style:defaults({lineCap:"round",lineWidth:v.style.lineWidth},d.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(y)}},r.prototype._renderAxisTick=function(o,a,u,d){var g=this,v=d.getData(),y=u.scale.getTicks();this._tickSymbols=[],each$f(y,function(A){var b=u.dataToCoord(A.value),_=v.getItemModel(A.value),w=_.getModel("itemStyle"),S=_.getModel(["emphasis","itemStyle"]),C=_.getModel(["progress","itemStyle"]),T={x:b,y:0,onclick:bind$1(g._changeTimeline,g,A.value)},I=giveSymbol(_,w,a,T);I.ensureState("emphasis").style=S.getItemStyle(),I.ensureState("progress").style=C.getItemStyle(),enableHoverEmphasis(I);var E=getECData(I);_.get("tooltip")?(E.dataIndex=A.value,E.dataModel=d):E.dataIndex=E.dataModel=null,g._tickSymbols.push(I)})},r.prototype._renderAxisLabel=function(o,a,u,d){var g=this,v=u.getLabelModel();if(!!v.get("show")){var y=d.getData(),A=u.getViewLabels();this._tickLabels=[],each$f(A,function(b){var _=b.tickValue,w=y.getItemModel(_),S=w.getModel("label"),C=w.getModel(["emphasis","label"]),T=w.getModel(["progress","label"]),I=u.dataToCoord(b.tickValue),E=new ZRText$1({x:I,y:0,rotation:o.labelRotation-o.rotation,onclick:bind$1(g._changeTimeline,g,_),silent:!1,style:createTextStyle(S,{text:b.formattedLabel,align:o.labelAlign,verticalAlign:o.labelBaseline})});E.ensureState("emphasis").style=createTextStyle(C),E.ensureState("progress").style=createTextStyle(T),a.add(E),enableHoverEmphasis(E),labelDataIndexStore(E).dataIndex=_,g._tickLabels.push(E)})}},r.prototype._renderControl=function(o,a,u,d){var g=o.controlSize,v=o.rotation,y=d.getModel("controlStyle").getItemStyle(),A=d.getModel(["emphasis","controlStyle"]).getItemStyle(),b=d.getPlayState(),_=d.get("inverse",!0);w(o.nextBtnPosition,"next",bind$1(this._changeTimeline,this,_?"-":"+")),w(o.prevBtnPosition,"prev",bind$1(this._changeTimeline,this,_?"+":"-")),w(o.playPosition,b?"stop":"play",bind$1(this._handlePlayClick,this,!b),!0);function w(S,C,T,I){if(!!S){var E=parsePercent$1(retrieve2(d.get(["controlStyle",C+"BtnSize"]),g),g),F=[0,-E/2,E,E],O=makeControlIcon(d,C+"Icon",F,{x:S[0],y:S[1],originX:g/2,originY:0,rotation:I?-v:0,rectHover:!0,style:y,onclick:T});O.ensureState("emphasis").style=A,a.add(O),enableHoverEmphasis(O)}}},r.prototype._renderCurrentPointer=function(o,a,u,d){var g=d.getData(),v=d.getCurrentIndex(),y=g.getItemModel(v).getModel("checkpointStyle"),A=this,b={onCreate:function(_){_.draggable=!0,_.drift=bind$1(A._handlePointerDrag,A),_.ondragend=bind$1(A._handlePointerDragend,A),pointerMoveTo(_,A._progressLine,v,u,d,!0)},onUpdate:function(_){pointerMoveTo(_,A._progressLine,v,u,d)}};this._currentPointer=giveSymbol(y,y,this._mainGroup,{},this._currentPointer,b)},r.prototype._handlePlayClick=function(o){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:o,from:this.uid})},r.prototype._handlePointerDrag=function(o,a,u){this._clearTimer(),this._pointerChangeTimeline([u.offsetX,u.offsetY])},r.prototype._handlePointerDragend=function(o){this._pointerChangeTimeline([o.offsetX,o.offsetY],!0)},r.prototype._pointerChangeTimeline=function(o,a){var u=this._toAxisCoord(o)[0],d=this._axis,g=asc$2(d.getExtent().slice());u>g[1]&&(u=g[1]),u=0&&(g[d]=+g[d].toFixed(w)),[g,_]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(t,r){if(!!r){var o=t.getData(),a=t.coordinateSystem,u=a&&a.dimensions;if(!hasXAndY(r)&&!isArray$1(r.coord)&&isArray$1(u)){var d=getAxisInfo(r,o,a,t);if(r=clone$5(r),r.type&&markerTypeCalculator[r.type]&&d.baseAxis&&d.valueAxis){var g=indexOf$1(u,d.baseAxis.dim),v=indexOf$1(u,d.valueAxis.dim),y=markerTypeCalculator[r.type](o,d.baseDataDim,d.valueDataDim,g,v);r.coord=y[0],r.value=y[1]}else r.coord=[r.xAxis!=null?r.xAxis:r.radiusAxis,r.yAxis!=null?r.yAxis:r.angleAxis]}if(r.coord==null||!isArray$1(u))r.coord=[];else for(var A=r.coord,b=0;b<2;b++)markerTypeCalculator[A[b]]&&(A[b]=numCalculate(o,o.mapDimension(u[b]),A[b]));return r}}function getAxisInfo(t,r,o,a){var u={};return t.valueIndex!=null||t.valueDim!=null?(u.valueDataDim=t.valueIndex!=null?r.getDimension(t.valueIndex):t.valueDim,u.valueAxis=o.getAxis(dataDimToCoordDim(a,u.valueDataDim)),u.baseAxis=o.getOtherAxis(u.valueAxis),u.baseDataDim=r.mapDimension(u.baseAxis.dim)):(u.baseAxis=a.getBaseAxis(),u.valueAxis=o.getOtherAxis(u.baseAxis),u.baseDataDim=r.mapDimension(u.baseAxis.dim),u.valueDataDim=r.mapDimension(u.valueAxis.dim)),u}function dataDimToCoordDim(t,r){var o=t.getData().getDimensionInfo(r);return o&&o.coordDim}function dataFilter(t,r){return t&&t.containData&&r.coord&&!hasXOrY(r)?t.containData(r.coord):!0}function zoneFilter(t,r,o){return t&&t.containZone&&r.coord&&o.coord&&!hasXOrY(r)&&!hasXOrY(o)?t.containZone(r.coord,o.coord):!0}function createMarkerDimValueGetter(t,r){return t?function(o,a,u,d){var g=d<2?o.coord&&o.coord[d]:o.value;return parseDataValue(g,r[d])}:function(o,a,u,d){return parseDataValue(o.value,r[d])}}function numCalculate(t,r,o){if(o==="average"){var a=0,u=0;return t.each(r,function(d,g){isNaN(d)||(a+=d,u++)}),a/u}else return o==="median"?t.getMedian(r):t.getDataExtent(r)[o==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(){this.markerGroupMap=createHashMap()},r.prototype.render=function(o,a,u){var d=this,g=this.markerGroupMap;g.each(function(v){inner$4(v).keep=!1}),a.eachSeries(function(v){var y=MarkerModel$1.getMarkerModelFromSeries(v,d.type);y&&d.renderSeries(v,y,a,u)}),g.each(function(v){!inner$4(v).keep&&d.group.remove(v.group)})},r.prototype.markKeep=function(o){inner$4(o).keep=!0},r.prototype.toggleBlurSeries=function(o,a){var u=this;each$f(o,function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,u.type);if(g){var v=g.getData();v.eachItemGraphicEl(function(y){y&&(a?enterBlur(y):leaveBlur(y))})}})},r.type="marker",r}(ComponentView$1),MarkerView$1=MarkerView;function updateMarkerLayout(t,r,o){var a=r.coordinateSystem;t.each(function(u){var d=t.getItemModel(u),g,v=parsePercent(d.get("x"),o.getWidth()),y=parsePercent(d.get("y"),o.getHeight());if(!isNaN(v)&&!isNaN(y))g=[v,y];else if(r.getMarkerPosition)g=r.getMarkerPosition(t.getValues(t.dimensions,u));else if(a){var A=t.get(a.dimensions[0],u),b=t.get(a.dimensions[1],u);g=a.dataToPoint([A,b])}isNaN(v)||(g[0]=v),isNaN(y)||(g[1]=y),t.setItemLayout(u,g)})}var MarkPointView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markPoint");g&&(updateMarkerLayout(g.getData(),d,u),this.markerGroupMap.get(d.id).updateLayout())},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,new SymbolDraw$1),_=createData(g,o,a);a.setData(_),updateMarkerLayout(a.getData(),o,d),_.each(function(w){var S=_.getItemModel(w),C=S.getShallow("symbol"),T=S.getShallow("symbolSize"),I=S.getShallow("symbolRotate"),E=S.getShallow("symbolOffset"),F=S.getShallow("symbolKeepAspect");if(isFunction(C)||isFunction(T)||isFunction(I)||isFunction(E)){var O=a.getRawValue(w),D=a.getDataParams(w);isFunction(C)&&(C=C(O,D)),isFunction(T)&&(T=T(O,D)),isFunction(I)&&(I=I(O,D)),isFunction(E)&&(E=E(O,D))}var x=S.getModel("itemStyle").getItemStyle(),P=getVisualFromData(y,"color");x.fill||(x.fill=P),_.setItemVisual(w,{symbol:C,symbolSize:T,symbolRotate:I,symbolOffset:E,symbolKeepAspect:F,style:x})}),b.updateData(_),this.group.add(b.group),_.eachItemGraphicEl(function(w){w.traverse(function(S){getECData(S).dataModel=a})}),this.markKeep(b),b.group.silent=a.get("silent")||o.get("silent")},r.type="markPoint",r}(MarkerView$1);function createData(t,r,o){var a;t?a=map$1(t&&t.dimensions,function(v){var y=r.getData().getDimensionInfo(r.getData().mapDimension(v))||{};return extend(extend({},y),{name:v,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var u=new SeriesData$1(a,o),d=map$1(o.get("data"),curry$1(dataTransform,r));t&&(d=filter(d,curry$1(dataFilter,t)));var g=createMarkerDimValueGetter(!!t,a);return u.initData(d,null,g),u}var MarkPointView$1=MarkPointView;function install$e(t){t.registerComponentModel(MarkPointModel$1),t.registerComponentView(MarkPointView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markPoint")&&(r.markPoint=r.markPoint||{})})}var MarkLineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.createMarkerModelFromSeries=function(o,a,u){return new r(o,a,u)},r.type="markLine",r.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},r}(MarkerModel$1),MarkLineModel$1=MarkLineModel,inner$3=makeInner(),markLineTransform=function(t,r,o,a){var u=t.getData(),d;if(isArray$1(a))d=a;else{var g=a.type;if(g==="min"||g==="max"||g==="average"||g==="median"||a.xAxis!=null||a.yAxis!=null){var v=void 0,y=void 0;if(a.yAxis!=null||a.xAxis!=null)v=r.getAxis(a.yAxis!=null?"y":"x"),y=retrieve(a.yAxis,a.xAxis);else{var A=getAxisInfo(a,u,r,t);v=A.valueAxis;var b=getStackedDimension(u,A.valueDataDim);y=numCalculate(u,b,g)}var _=v.dim==="x"?0:1,w=1-_,S=clone$5(a),C={coord:[]};S.type=null,S.coord=[],S.coord[w]=-1/0,C.coord[w]=1/0;var T=o.get("precision");T>=0&&isNumber$1(y)&&(y=+y.toFixed(Math.min(T,20))),S.coord[_]=C.coord[_]=y,d=[S,C,{type:g,valueIndex:a.valueIndex,value:y}]}else d=[]}var I=[dataTransform(t,d[0]),dataTransform(t,d[1]),extend({},d[2])];return I[2].type=I[2].type||null,merge(I[2],I[0]),merge(I[2],I[1]),I};function isInfinity$1(t){return!isNaN(t)&&!isFinite(t)}function ifMarkLineHasOnlyDim(t,r,o,a){var u=1-t,d=a.dimensions[t];return isInfinity$1(r[u])&&isInfinity$1(o[u])&&r[t]===o[t]&&a.getAxis(d).containData(r[t])}function markLineFilter(t,r){if(t.type==="cartesian2d"){var o=r[0].coord,a=r[1].coord;if(o&&a&&(ifMarkLineHasOnlyDim(1,o,a,t)||ifMarkLineHasOnlyDim(0,o,a,t)))return!0}return dataFilter(t,r[0])&&dataFilter(t,r[1])}function updateSingleMarkerEndLayout(t,r,o,a,u){var d=a.coordinateSystem,g=t.getItemModel(r),v,y=parsePercent(g.get("x"),u.getWidth()),A=parsePercent(g.get("y"),u.getHeight());if(!isNaN(y)&&!isNaN(A))v=[y,A];else{if(a.getMarkerPosition)v=a.getMarkerPosition(t.getValues(t.dimensions,r));else{var b=d.dimensions,_=t.get(b[0],r),w=t.get(b[1],r);v=d.dataToPoint([_,w])}if(isCoordinateSystemType(d,"cartesian2d")){var S=d.getAxis("x"),C=d.getAxis("y"),b=d.dimensions;isInfinity$1(t.get(b[0],r))?v[0]=S.toGlobalCoord(S.getExtent()[o?0:1]):isInfinity$1(t.get(b[1],r))&&(v[1]=C.toGlobalCoord(C.getExtent()[o?0:1]))}isNaN(y)||(v[0]=y),isNaN(A)||(v[1]=A)}t.setItemLayout(r,v)}var MarkLineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markLine");if(g){var v=g.getData(),y=inner$3(g).from,A=inner$3(g).to;y.each(function(b){updateSingleMarkerEndLayout(y,b,!0,d,u),updateSingleMarkerEndLayout(A,b,!1,d,u)}),v.each(function(b){v.setItemLayout(b,[y.getItemLayout(b),A.getItemLayout(b)])}),this.markerGroupMap.get(d.id).updateLayout()}},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,new LineDraw$1);this.group.add(b.group);var _=createList$1(g,o,a),w=_.from,S=_.to,C=_.line;inner$3(a).from=w,inner$3(a).to=S,a.setData(C);var T=a.get("symbol"),I=a.get("symbolSize"),E=a.get("symbolRotate"),F=a.get("symbolOffset");isArray$1(T)||(T=[T,T]),isArray$1(I)||(I=[I,I]),isArray$1(E)||(E=[E,E]),isArray$1(F)||(F=[F,F]),_.from.each(function(D){O(w,D,!0),O(S,D,!1)}),C.each(function(D){var x=C.getItemModel(D).getModel("lineStyle").getLineStyle();C.setItemLayout(D,[w.getItemLayout(D),S.getItemLayout(D)]),x.stroke==null&&(x.stroke=w.getItemVisual(D,"style").fill),C.setItemVisual(D,{fromSymbolKeepAspect:w.getItemVisual(D,"symbolKeepAspect"),fromSymbolOffset:w.getItemVisual(D,"symbolOffset"),fromSymbolRotate:w.getItemVisual(D,"symbolRotate"),fromSymbolSize:w.getItemVisual(D,"symbolSize"),fromSymbol:w.getItemVisual(D,"symbol"),toSymbolKeepAspect:S.getItemVisual(D,"symbolKeepAspect"),toSymbolOffset:S.getItemVisual(D,"symbolOffset"),toSymbolRotate:S.getItemVisual(D,"symbolRotate"),toSymbolSize:S.getItemVisual(D,"symbolSize"),toSymbol:S.getItemVisual(D,"symbol"),style:x})}),b.updateData(C),_.line.eachItemGraphicEl(function(D){getECData(D).dataModel=a,D.traverse(function(x){getECData(x).dataModel=a})});function O(D,x,P){var G=D.getItemModel(x);updateSingleMarkerEndLayout(D,x,P,o,d);var M=G.getModel("itemStyle").getItemStyle();M.fill==null&&(M.fill=getVisualFromData(y,"color")),D.setItemVisual(x,{symbolKeepAspect:G.get("symbolKeepAspect"),symbolOffset:retrieve2(G.get("symbolOffset",!0),F[P?0:1]),symbolRotate:retrieve2(G.get("symbolRotate",!0),E[P?0:1]),symbolSize:retrieve2(G.get("symbolSize"),I[P?0:1]),symbol:retrieve2(G.get("symbol",!0),T[P?0:1]),style:M})}this.markKeep(b),b.group.silent=a.get("silent")||o.get("silent")},r.type="markLine",r}(MarkerView$1);function createList$1(t,r,o){var a;t?a=map$1(t&&t.dimensions,function(A){var b=r.getData().getDimensionInfo(r.getData().mapDimension(A))||{};return extend(extend({},b),{name:A,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var u=new SeriesData$1(a,o),d=new SeriesData$1(a,o),g=new SeriesData$1([],o),v=map$1(o.get("data"),curry$1(markLineTransform,r,t,o));t&&(v=filter(v,curry$1(markLineFilter,t)));var y=createMarkerDimValueGetter(!!t,a);return u.initData(map$1(v,function(A){return A[0]}),null,y),d.initData(map$1(v,function(A){return A[1]}),null,y),g.initData(map$1(v,function(A){return A[2]})),g.hasItemOption=!0,{from:u,to:d,line:g}}var MarkLineView$1=MarkLineView;function install$d(t){t.registerComponentModel(MarkLineModel$1),t.registerComponentView(MarkLineView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markLine")&&(r.markLine=r.markLine||{})})}var MarkAreaModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.createMarkerModelFromSeries=function(o,a,u){return new r(o,a,u)},r.type="markArea",r.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},r}(MarkerModel$1),MarkAreaModel$1=MarkAreaModel,inner$2=makeInner(),markAreaTransform=function(t,r,o,a){var u=a[0],d=a[1];if(!(!u||!d)){var g=dataTransform(t,u),v=dataTransform(t,d),y=g.coord,A=v.coord;y[0]=retrieve(y[0],-1/0),y[1]=retrieve(y[1],-1/0),A[0]=retrieve(A[0],1/0),A[1]=retrieve(A[1],1/0);var b=mergeAll([{},g,v]);return b.coord=[g.coord,v.coord],b.x0=g.x,b.y0=g.y,b.x1=v.x,b.y1=v.y,b}};function isInfinity(t){return!isNaN(t)&&!isFinite(t)}function ifMarkAreaHasOnlyDim(t,r,o,a){var u=1-t;return isInfinity(r[u])&&isInfinity(o[u])}function markAreaFilter(t,r){var o=r.coord[0],a=r.coord[1],u={coord:o,x:r.x0,y:r.y0},d={coord:a,x:r.x1,y:r.y1};return isCoordinateSystemType(t,"cartesian2d")?o&&a&&(ifMarkAreaHasOnlyDim(1,o,a)||ifMarkAreaHasOnlyDim(0,o,a))?!0:zoneFilter(t,u,d):dataFilter(t,u)||dataFilter(t,d)}function getSingleMarkerEndPoint(t,r,o,a,u){var d=a.coordinateSystem,g=t.getItemModel(r),v,y=parsePercent(g.get(o[0]),u.getWidth()),A=parsePercent(g.get(o[1]),u.getHeight());if(!isNaN(y)&&!isNaN(A))v=[y,A];else{if(a.getMarkerPosition){var b=t.getValues(["x0","y0"],r),_=t.getValues(["x1","y1"],r),w=d.clampData(b),S=d.clampData(_),C=[];o[0]==="x0"?C[0]=w[0]>S[0]?_[0]:b[0]:C[0]=w[0]>S[0]?b[0]:_[0],o[1]==="y0"?C[1]=w[1]>S[1]?_[1]:b[1]:C[1]=w[1]>S[1]?b[1]:_[1],v=a.getMarkerPosition(C,o,!0)}else{var T=t.get(o[0],r),I=t.get(o[1],r),E=[T,I];d.clampData&&d.clampData(E,E),v=d.dataToPoint(E,!0)}if(isCoordinateSystemType(d,"cartesian2d")){var F=d.getAxis("x"),O=d.getAxis("y"),T=t.get(o[0],r),I=t.get(o[1],r);isInfinity(T)?v[0]=F.toGlobalCoord(F.getExtent()[o[0]==="x0"?0:1]):isInfinity(I)&&(v[1]=O.toGlobalCoord(O.getExtent()[o[1]==="y0"?0:1]))}isNaN(y)||(v[0]=y),isNaN(A)||(v[1]=A)}return v}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markArea");if(g){var v=g.getData();v.each(function(y){var A=map$1(dimPermutations,function(_){return getSingleMarkerEndPoint(v,y,_,d,u)});v.setItemLayout(y,A);var b=v.getItemGraphicEl(y);b.setShape("points",A)})}},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,{group:new Group$4});this.group.add(b.group),this.markKeep(b);var _=createList(g,o,a);a.setData(_),_.each(function(w){var S=map$1(dimPermutations,function(M){return getSingleMarkerEndPoint(_,w,M,o,d)}),C=g.getAxis("x").scale,T=g.getAxis("y").scale,I=C.getExtent(),E=T.getExtent(),F=[C.parse(_.get("x0",w)),C.parse(_.get("x1",w))],O=[T.parse(_.get("y0",w)),T.parse(_.get("y1",w))];asc$2(F),asc$2(O);var D=!(I[0]>F[1]||I[1]O[1]||E[1]=0},r.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},r.type="legend.plain",r.dependencies=["series"],r.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},r}(ComponentModel$1),LegendModel$1=LegendModel,curry=curry$1,each$3=each$f,Group$1=Group$4,LegendView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.newlineDisabled=!1,o}return r.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},r.prototype.getContentGroup=function(){return this._contentGroup},r.prototype.getSelectorGroup=function(){return this._selectorGroup},r.prototype.render=function(o,a,u){var d=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!o.get("show",!0)){var g=o.get("align"),v=o.get("orient");(!g||g==="auto")&&(g=o.get("left")==="right"&&v==="vertical"?"right":"left");var y=o.get("selector",!0),A=o.get("selectorPosition",!0);y&&(!A||A==="auto")&&(A=v==="horizontal"?"end":"start"),this.renderInner(g,o,a,u,y,v,A);var b=o.getBoxLayoutParams(),_={width:u.getWidth(),height:u.getHeight()},w=o.get("padding"),S=getLayoutRect(b,_,w),C=this.layoutInner(o,g,S,d,y,A),T=getLayoutRect(defaults({width:C.width,height:C.height},b),_,w);this.group.x=T.x-C.x,this.group.y=T.y-C.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(C,o))}},r.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},r.prototype.renderInner=function(o,a,u,d,g,v,y){var A=this.getContentGroup(),b=createHashMap(),_=a.get("selectedMode"),w=[];u.eachRawSeries(function(S){!S.get("legendHoverLink")&&w.push(S.id)}),each$3(a.getData(),function(S,C){var T=S.get("name");if(!this.newlineDisabled&&(T===""||T===` -`)){var I=new Group$1;I.newline=!0,A.add(I);return}var E=u.getSeriesByName(T)[0];if(!b.get(T))if(E){var F=E.getData(),O=F.getVisual("legendLineStyle")||{},D=F.getVisual("legendIcon"),x=F.getVisual("style"),P=this._createItem(E,T,C,S,a,o,O,x,D,_,d);P.on("click",curry(dispatchSelectAction,T,null,d,w)).on("mouseover",curry(dispatchHighlightAction,E.name,null,d,w)).on("mouseout",curry(dispatchDownplayAction,E.name,null,d,w)),u.ssr&&P.eachChild(function(G){var M=getECData(G);M.seriesIndex=E.seriesIndex,M.dataIndex=C,M.ssrType="legend"}),b.set(T,!0)}else u.eachRawSeries(function(G){if(!b.get(T)&&G.legendVisualProvider){var M=G.legendVisualProvider;if(!M.containName(T))return;var N=M.indexOfName(T),V=M.getItemVisual(N,"style"),Y=M.getItemVisual(N,"legendIcon"),H=parse$1(V.fill);H&&H[3]===0&&(H[3]=.2,V=extend(extend({},V),{fill:stringify(H,"rgba")}));var B=this._createItem(G,T,C,S,a,o,{},V,Y,_,d);B.on("click",curry(dispatchSelectAction,null,T,d,w)).on("mouseover",curry(dispatchHighlightAction,null,T,d,w)).on("mouseout",curry(dispatchDownplayAction,null,T,d,w)),u.ssr&&B.eachChild(function(z){var U=getECData(z);U.seriesIndex=G.seriesIndex,U.dataIndex=C,U.ssrType="legend"}),b.set(T,!0)}},this)},this),g&&this._createSelector(g,a,d,v,y)},r.prototype._createSelector=function(o,a,u,d,g){var v=this.getSelectorGroup();each$3(o,function(A){var b=A.type,_=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){u.dispatchAction({type:b==="all"?"legendAllSelect":"legendInverseSelect"})}});v.add(_);var w=a.getModel("selectorLabel"),S=a.getModel(["emphasis","selectorLabel"]);setLabelStyle(_,{normal:w,emphasis:S},{defaultText:A.title}),enableHoverEmphasis(_)})},r.prototype._createItem=function(o,a,u,d,g,v,y,A,b,_,w){var S=o.visualDrawType,C=g.get("itemWidth"),T=g.get("itemHeight"),I=g.isSelected(a),E=d.get("symbolRotate"),F=d.get("symbolKeepAspect"),O=d.get("icon");b=O||b||"roundRect";var D=getLegendStyle(b,d,y,A,S,I,w),x=new Group$1,P=d.getModel("textStyle");if(isFunction(o.getLegendIcon)&&(!O||O==="inherit"))x.add(o.getLegendIcon({itemWidth:C,itemHeight:T,icon:b,iconRotate:E,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:F}));else{var G=O==="inherit"&&o.getData().getVisual("symbol")?E==="inherit"?o.getData().getVisual("symbolRotate"):E:0;x.add(getDefaultLegendIcon({itemWidth:C,itemHeight:T,icon:b,iconRotate:G,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:F}))}var M=v==="left"?C+5:-5,N=v,V=g.get("formatter"),Y=a;isString$1(V)&&V?Y=V.replace("{name}",a!=null?a:""):isFunction(V)&&(Y=V(a));var H=I?P.getTextColor():d.get("inactiveColor");x.add(new ZRText$1({style:createTextStyle(P,{text:Y,x:M,y:T/2,fill:H,align:N,verticalAlign:"middle"},{inheritColor:H})}));var B=new Rect$3({shape:x.getBoundingRect(),style:{fill:"transparent"}}),z=d.getModel("tooltip");return z.get("show")&&setTooltipConfig({el:B,componentModel:g,itemName:a,itemTooltipOption:z.option}),x.add(B),x.eachChild(function(U){U.silent=!0}),B.silent=!_,this.getContentGroup().add(x),enableHoverEmphasis(x),x.__legendDataIndex=u,x},r.prototype.layoutInner=function(o,a,u,d,g,v){var y=this.getContentGroup(),A=this.getSelectorGroup();box(o.get("orient"),y,o.get("itemGap"),u.width,u.height);var b=y.getBoundingRect(),_=[-b.x,-b.y];if(A.markRedraw(),y.markRedraw(),g){box("horizontal",A,o.get("selectorItemGap",!0));var w=A.getBoundingRect(),S=[-w.x,-w.y],C=o.get("selectorButtonGap",!0),T=o.getOrient().index,I=T===0?"width":"height",E=T===0?"height":"width",F=T===0?"y":"x";v==="end"?S[T]+=b[I]+C:_[T]+=w[I]+C,S[1-T]+=b[E]/2-w[E]/2,A.x=S[0],A.y=S[1],y.x=_[0],y.y=_[1];var O={x:0,y:0};return O[I]=b[I]+C+w[I],O[E]=Math.max(b[E],w[E]),O[F]=Math.min(0,w[F]+S[1-T]),O}else return y.x=_[0],y.y=_[1],this.group.getBoundingRect()},r.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},r.type="legend.plain",r}(ComponentView$1);function getLegendStyle(t,r,o,a,u,d,g){function v(I,E){I.lineWidth==="auto"&&(I.lineWidth=E.lineWidth>0?2:0),each$3(I,function(F,O){I[O]==="inherit"&&(I[O]=E[O])})}var y=r.getModel("itemStyle"),A=y.getItemStyle(),b=t.lastIndexOf("empty",0)===0?"fill":"stroke",_=y.getShallow("decal");A.decal=!_||_==="inherit"?a.decal:createOrUpdatePatternFromDecal(_,g),A.fill==="inherit"&&(A.fill=a[u]),A.stroke==="inherit"&&(A.stroke=a[b]),A.opacity==="inherit"&&(A.opacity=(u==="fill"?a:o).opacity),v(A,a);var w=r.getModel("lineStyle"),S=w.getLineStyle();if(v(S,o),A.fill==="auto"&&(A.fill=a.fill),A.stroke==="auto"&&(A.stroke=a.fill),S.stroke==="auto"&&(S.stroke=a.fill),!d){var C=r.get("inactiveBorderWidth"),T=A[b];A.lineWidth=C==="auto"?a.lineWidth>0&&T?2:0:A.lineWidth,A.fill=r.get("inactiveColor"),A.stroke=r.get("inactiveBorderColor"),S.stroke=w.get("inactiveColor"),S.lineWidth=w.get("inactiveWidth")}return{itemStyle:A,lineStyle:S}}function getDefaultLegendIcon(t){var r=t.icon||"roundRect",o=createSymbol$1(r,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return o.setStyle(t.itemStyle),o.rotation=(t.iconRotate||0)*Math.PI/180,o.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(o.style.stroke=o.style.fill,o.style.fill="#fff",o.style.lineWidth=2),o}function dispatchSelectAction(t,r,o,a){dispatchDownplayAction(t,r,o,a),o.dispatchAction({type:"legendToggleSelect",name:t!=null?t:r}),dispatchHighlightAction(t,r,o,a)}function isUseHoverLayer(t){for(var r=t.getZr().storage.getDisplayList(),o,a=0,u=r.length;au[g],I=[-S.x,-S.y];a||(I[d]=b[A]);var E=[0,0],F=[-C.x,-C.y],O=retrieve2(o.get("pageButtonGap",!0),o.get("itemGap",!0));if(T){var D=o.get("pageButtonPosition",!0);D==="end"?F[d]+=u[g]-C[g]:E[d]+=C[g]+O}F[1-d]+=S[v]/2-C[v]/2,b.setPosition(I),_.setPosition(E),w.setPosition(F);var x={x:0,y:0};if(x[g]=T?u[g]:S[g],x[v]=Math.max(S[v],C[v]),x[y]=Math.min(0,C[y]+F[1-d]),_.__rectSize=u[g],T){var P={x:0,y:0};P[g]=Math.max(u[g]-C[g]-O,0),P[v]=x[v],_.setClipPath(new Rect$3({shape:P})),_.__rectSize=P[g]}else w.eachChild(function(M){M.attr({invisible:!0,silent:!0})});var G=this._getPageInfo(o);return G.pageIndex!=null&&updateProps$1(b,{x:G.contentPosition[0],y:G.contentPosition[1]},T?o:null),this._updatePageInfoView(o,G),x},r.prototype._pageGo=function(o,a,u){var d=this._getPageInfo(a)[o];d!=null&&u.dispatchAction({type:"legendScroll",scrollDataIndex:d,legendId:a.id})},r.prototype._updatePageInfoView=function(o,a){var u=this._controllerGroup;each$f(["pagePrev","pageNext"],function(b){var _=b+"DataIndex",w=a[_]!=null,S=u.childOfName(b);S&&(S.setStyle("fill",w?o.get("pageIconColor",!0):o.get("pageIconInactiveColor",!0)),S.cursor=w?"pointer":"default")});var d=u.childOfName("pageText"),g=o.get("pageFormatter"),v=a.pageIndex,y=v!=null?v+1:0,A=a.pageCount;d&&g&&d.setStyle("text",isString$1(g)?g.replace("{current}",y==null?"":y+"").replace("{total}",A==null?"":A+""):g({current:y,total:A}))},r.prototype._getPageInfo=function(o){var a=o.get("scrollDataIndex",!0),u=this.getContentGroup(),d=this._containerGroup.__rectSize,g=o.getOrient().index,v=WH[g],y=XY[g],A=this._findTargetItemIndex(a),b=u.children(),_=b[A],w=b.length,S=w?1:0,C={contentPosition:[u.x,u.y],pageCount:S,pageIndex:S-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!_)return C;var T=D(_);C.contentPosition[g]=-T.s;for(var I=A+1,E=T,F=T,O=null;I<=w;++I)O=D(b[I]),(!O&&F.e>E.s+d||O&&!x(O,E.s))&&(F.i>E.i?E=F:E=O,E&&(C.pageNextDataIndex==null&&(C.pageNextDataIndex=E.i),++C.pageCount)),F=O;for(var I=A-1,E=T,F=T,O=null;I>=-1;--I)O=D(b[I]),(!O||!x(F,O.s))&&E.i=G&&P.s<=G+d}},r.prototype._findTargetItemIndex=function(o){if(!this._showController)return 0;var a,u=this.getContentGroup(),d;return u.eachChild(function(g,v){var y=g.__legendDataIndex;d==null&&y!=null&&(d=v),y===o&&(a=v)}),a!=null?a:d},r.type="legend.scroll",r}(LegendView$1),ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(t){t.registerAction("legendScroll","legendscroll",function(r,o){var a=r.scrollDataIndex;a!=null&&o.eachComponent({mainType:"legend",subType:"scroll",query:r},function(u){u.setScrollDataIndex(a)})})}function install$a(t){use(install$b),t.registerComponentModel(ScrollableLegendModel$1),t.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(t)}function install$9(t){use(install$b),use(install$a)}var InsideZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="dataZoom.inside",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),r}(DataZoomModel$1),InsideZoomModel$1=InsideZoomModel,inner$1=makeInner();function setViewInfoToCoordSysRecord(t,r,o){inner$1(t).coordSysRecordMap.each(function(a){var u=a.dataZoomInfoMap.get(r.uid);u&&(u.getRange=o)})}function disposeCoordSysRecordIfNeeded(t,r){for(var o=inner$1(t).coordSysRecordMap,a=o.keys(),u=0;ua[o+r]&&(r=v),u=u&&g.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}function installDataZoomRoamProcessor(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(r,o){var a=inner$1(o),u=a.coordSysRecordMap||(a.coordSysRecordMap=createHashMap());u.each(function(d){d.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(d){var g=collectReferCoordSysModelInfo(d);each$f(g.infoList,function(v){var y=v.model.uid,A=u.get(y)||u.set(y,createCoordSysRecord(o,v.model)),b=A.dataZoomInfoMap||(A.dataZoomInfoMap=createHashMap());b.set(d.uid,{dzReferCoordSysInfo:v,model:d,getRange:null})})}),u.each(function(d){var g=d.controller,v,y=d.dataZoomInfoMap;if(y){var A=y.keys()[0];A!=null&&(v=y.get(A))}if(!v){disposeCoordSysRecord(u,d);return}var b=mergeControllerParams(y);g.enable(b.controlType,b.opt),g.setPointerChecker(d.containsPoint),createOrUpdate(d,"dispatchAction",v.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="dataZoom.inside",o}return r.prototype.render=function(o,a,u){if(t.prototype.render.apply(this,arguments),o.noTarget()){this._clear();return}this.range=o.getPercentRange(),setViewInfoToCoordSysRecord(u,o,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},r.type="dataZoom.inside",r}(DataZoomView$1),getRangeHandlers={zoom:function(t,r,o,a){var u=this.range,d=u.slice(),g=t.axisModels[0];if(!!g){var v=getDirectionInfo[r](null,[a.originX,a.originY],g,o,t),y=(v.signal>0?v.pixelStart+v.pixelLength-v.pixel:v.pixel-v.pixelStart)/v.pixelLength*(d[1]-d[0])+d[0],A=Math.max(1/a.scale,0);d[0]=(d[0]-y)*A+y,d[1]=(d[1]-y)*A+y;var b=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,d,[0,100],0,b.minSpan,b.maxSpan),this.range=d,u[0]!==d[0]||u[1]!==d[1])return d}},pan:makeMover(function(t,r,o,a,u,d){var g=getDirectionInfo[a]([d.oldX,d.oldY],[d.newX,d.newY],r,u,o);return g.signal*(t[1]-t[0])*g.pixel/g.pixelLength}),scrollMove:makeMover(function(t,r,o,a,u,d){var g=getDirectionInfo[a]([0,0],[d.scrollDelta,d.scrollDelta],r,u,o);return g.signal*(t[1]-t[0])*d.scrollDelta})};function makeMover(t){return function(r,o,a,u){var d=this.range,g=d.slice(),v=r.axisModels[0];if(!!v){var y=t(g,v,r,o,a,u);if(sliderMove(y,g,[0,100],"all"),this.range=g,d[0]!==g[0]||d[1]!==g[1])return g}}}var getDirectionInfo={grid:function(t,r,o,a,u){var d=o.axis,g={},v=u.model.coordinateSystem.getRect();return t=t||[0,0],d.dim==="x"?(g.pixel=r[0]-t[0],g.pixelLength=v.width,g.pixelStart=v.x,g.signal=d.inverse?1:-1):(g.pixel=r[1]-t[1],g.pixelLength=v.height,g.pixelStart=v.y,g.signal=d.inverse?-1:1),g},polar:function(t,r,o,a,u){var d=o.axis,g={},v=u.model.coordinateSystem,y=v.getRadiusAxis().getExtent(),A=v.getAngleAxis().getExtent();return t=t?v.pointToCoord(t):[0,0],r=v.pointToCoord(r),o.mainType==="radiusAxis"?(g.pixel=r[0]-t[0],g.pixelLength=y[1]-y[0],g.pixelStart=y[0],g.signal=d.inverse?1:-1):(g.pixel=r[1]-t[1],g.pixelLength=A[1]-A[0],g.pixelStart=A[0],g.signal=d.inverse?-1:1),g},singleAxis:function(t,r,o,a,u){var d=o.axis,g=u.model.coordinateSystem.getRect(),v={};return t=t||[0,0],d.orient==="horizontal"?(v.pixel=r[0]-t[0],v.pixelLength=g.width,v.pixelStart=g.x,v.signal=d.inverse?1:-1):(v.pixel=r[1]-t[1],v.pixelLength=g.height,v.pixelStart=g.y,v.signal=d.inverse?-1:1),v}},InsideZoomView$1=InsideZoomView;function install$8(t){installCommon$1(t),t.registerComponentModel(InsideZoomModel$1),t.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(t)}var SliderZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="dataZoom.slider",r.layoutMode="box",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),r}(DataZoomModel$1),SliderZoomModel$1=SliderZoomModel,Rect=Rect$3,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._displayables={},o}return r.prototype.init=function(o,a){this.api=a,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},r.prototype.render=function(o,a,u,d){if(t.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",o.get("throttle"),"fixRate"),this._orient=o.getOrient(),o.get("show")===!1){this.group.removeAll();return}if(o.noTarget()){this._clear(),this.group.removeAll();return}(!d||d.type!=="dataZoom"||d.from!==this.uid)&&this._buildView(),this._updateView()},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var o=this.api.getZr();o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var o=this.group;o.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new Group$4;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),o.add(a),this._positionGroup()},r.prototype._resetLocation=function(){var o=this.dataZoomModel,a=this.api,u=o.get("brushSelect"),d=u?DEFAULT_MOVE_HANDLE_SIZE:0,g=this._findCoordRect(),v={width:a.getWidth(),height:a.getHeight()},y=this._orient===HORIZONTAL?{right:v.width-g.x-g.width,top:v.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-d,width:g.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:g.y,width:DEFAULT_FILLER_SIZE,height:g.height},A=getLayoutParams(o.option);each$f(["right","top","width","height"],function(_){A[_]==="ph"&&(A[_]=y[_])});var b=getLayoutRect(A,v);this._location={x:b.x,y:b.y},this._size=[b.width,b.height],this._orient===VERTICAL&&this._size.reverse()},r.prototype._positionGroup=function(){var o=this.group,a=this._location,u=this._orient,d=this.dataZoomModel.getFirstTargetAxisModel(),g=d&&d.get("inverse"),v=this._displayables.sliderGroup,y=(this._dataShadowInfo||{}).otherAxisInverse;v.attr(u===HORIZONTAL&&!g?{scaleY:y?1:-1,scaleX:1}:u===HORIZONTAL&&g?{scaleY:y?1:-1,scaleX:-1}:u===VERTICAL&&!g?{scaleY:y?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:y?-1:1,scaleX:-1,rotation:Math.PI/2});var A=o.getBoundingRect([v]);o.x=a.x-A.x,o.y=a.y-A.y,o.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var o=this.dataZoomModel,a=this._size,u=this._displayables.sliderGroup,d=o.get("brushSelect");u.add(new Rect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:o.get("backgroundColor")},z2:-40}));var g=new Rect({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),v=this.api.getZr();d?(g.on("mousedown",this._onBrushStart,this),g.cursor="crosshair",v.on("mousemove",this._onBrush),v.on("mouseup",this._onBrushEnd)):(v.off("mousemove",this._onBrush),v.off("mouseup",this._onBrushEnd)),u.add(g)},r.prototype._renderDataShadow=function(){var o=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!o)return;var a=this._size,u=this._shadowSize||[],d=o.series,g=d.getRawData(),v=d.getShadowDim&&d.getShadowDim(),y=v&&g.getDimensionInfo(v)?d.getShadowDim():o.otherDim;if(y==null)return;var A=this._shadowPolygonPts,b=this._shadowPolylinePts;if(g!==this._shadowData||y!==this._shadowDim||a[0]!==u[0]||a[1]!==u[1]){var _=g.getDataExtent(y),w=(_[1]-_[0])*.3;_=[_[0]-w,_[1]+w];var S=[0,a[1]],C=[0,a[0]],T=[[a[0],0],[0,0]],I=[],E=C[1]/(g.count()-1),F=0,O=Math.round(g.count()/a[0]),D;g.each([y],function(N,V){if(O>0&&V%O){F+=E;return}var Y=N==null||isNaN(N)||N==="",H=Y?0:linearMap$2(N,_,S,!0);Y&&!D&&V?(T.push([T[T.length-1][0],0]),I.push([I[I.length-1][0],0])):!Y&&D&&(T.push([F,0]),I.push([F,0])),T.push([F,H]),I.push([F,H]),F+=E,D=Y}),A=this._shadowPolygonPts=T,b=this._shadowPolylinePts=I}this._shadowData=g,this._shadowDim=y,this._shadowSize=[a[0],a[1]];var x=this.dataZoomModel;function P(N){var V=x.getModel(N?"selectedDataBackground":"dataBackground"),Y=new Group$4,H=new Polygon$1({shape:{points:A},segmentIgnoreThreshold:1,style:V.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),B=new Polyline$3({shape:{points:b},segmentIgnoreThreshold:1,style:V.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return Y.add(H),Y.add(B),Y}for(var G=0;G<3;G++){var M=P(G===1);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}},r.prototype._prepareDataShadowInfo=function(){var o=this.dataZoomModel,a=o.get("showDataShadow");if(a!==!1){var u,d=this.ecModel;return o.eachTargetAxis(function(g,v){var y=o.getAxisProxy(g,v).getTargetSeriesModels();each$f(y,function(A){if(!u&&!(a!==!0&&indexOf$1(SHOW_DATA_SHADOW_SERIES_TYPE,A.get("type"))<0)){var b=d.getComponent(getAxisMainType(g),v).axis,_=getOtherDim(g),w,S=A.coordinateSystem;_!=null&&S.getOtherAxis&&(w=S.getOtherAxis(b).inverse),_=A.getData().mapDimension(_),u={thisAxis:b,series:A,thisDim:g,otherDim:_,otherAxisInverse:w}}},this)},this),u}},r.prototype._renderHandle=function(){var o=this.group,a=this._displayables,u=a.handles=[null,null],d=a.handleLabels=[null,null],g=this._displayables.sliderGroup,v=this._size,y=this.dataZoomModel,A=this.api,b=y.get("borderRadius")||0,_=y.get("brushSelect"),w=a.filler=new Rect({silent:_,style:{fill:y.get("fillerColor")},textConfig:{position:"inside"}});g.add(w),g.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:v[0],height:v[1],r:b},style:{stroke:y.get("dataBackgroundColor")||y.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(O){var D=y.get("handleIcon");!symbolBuildProxies[D]&&D.indexOf("path://")<0&&D.indexOf("image://")<0&&(D="path://"+D);var x=createSymbol$1(D,-1,0,2,2,null,!0);x.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,O),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var P=x.getBoundingRect(),G=y.get("handleSize");this._handleHeight=parsePercent(G,this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,x.setStyle(y.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=y.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(x);var M=y.get("handleColor");M!=null&&(x.style.fill=M),g.add(u[O]=x);var N=y.getModel("textStyle");o.add(d[O]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle(N,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:N.getTextColor(),font:N.getFont()}),z2:10}))},this);var S=w;if(_){var C=parsePercent(y.get("moveHandleSize"),v[1]),T=a.moveHandle=new Rect$3({style:y.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:v[1]-.5,height:C}}),I=C*.8,E=a.moveHandleIcon=createSymbol$1(y.get("moveHandleIcon"),-I/2,-I/2,I,I,"#fff",!0);E.silent=!0,E.y=v[1]+C/2-.5,T.ensureState("emphasis").style=y.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var F=Math.min(v[1]/2,Math.max(C,10));S=a.moveZone=new Rect$3({invisible:!0,shape:{y:v[1]-F,height:C+F}}),S.on("mouseover",function(){A.enterEmphasis(T)}).on("mouseout",function(){A.leaveEmphasis(T)}),g.add(T),g.add(E),g.add(S)}S.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},r.prototype._resetInterval=function(){var o=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[linearMap$2(o[0],[0,100],a,!0),linearMap$2(o[1],[0,100],a,!0)]},r.prototype._updateInterval=function(o,a){var u=this.dataZoomModel,d=this._handleEnds,g=this._getViewExtent(),v=u.findRepresentativeAxisProxy().getMinMaxSpan(),y=[0,100];sliderMove(a,d,g,u.get("zoomLock")?"all":o,v.minSpan!=null?linearMap$2(v.minSpan,y,g,!0):null,v.maxSpan!=null?linearMap$2(v.maxSpan,y,g,!0):null);var A=this._range,b=this._range=asc$2([linearMap$2(d[0],g,y,!0),linearMap$2(d[1],g,y,!0)]);return!A||A[0]!==b[0]||A[1]!==b[1]},r.prototype._updateView=function(o){var a=this._displayables,u=this._handleEnds,d=asc$2(u.slice()),g=this._size;each$f([0,1],function(S){var C=a.handles[S],T=this._handleHeight;C.attr({scaleX:T/2,scaleY:T/2,x:u[S]+(S?-1:1),y:g[1]/2-T/2})},this),a.filler.setShape({x:d[0],y:0,width:d[1]-d[0],height:g[1]});var v={x:d[0],width:d[1]-d[0]};a.moveHandle&&(a.moveHandle.setShape(v),a.moveZone.setShape(v),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",v.x+v.width/2));for(var y=a.dataShadowSegs,A=[0,d[0],d[1],g[0]],b=0;ba[0]||u[1]<0||u[1]>a[1])){var d=this._handleEnds,g=(d[0]+d[1])/2,v=this._updateInterval("all",u[0]-g);this._updateView(),v&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function(o){var a=o.offsetX,u=o.offsetY;this._brushStart=new Point$1(a,u),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function(o){if(!!this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var u=a.shape,d=+new Date;if(!(d-this._brushStartTime<200&&Math.abs(u.width)<5)){var g=this._getViewExtent(),v=[0,100];this._range=asc$2([linearMap$2(u.x,g,v,!0),linearMap$2(u.x+u.width,g,v,!0)]),this._handleEnds=[u.x,u.x+u.width],this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function(o){this._brushing&&(stop(o.event),this._updateBrushRect(o.offsetX,o.offsetY))},r.prototype._updateBrushRect=function(o,a){var u=this._displayables,d=this.dataZoomModel,g=u.brushRect;g||(g=u.brushRect=new Rect({silent:!0,style:d.getModel("brushStyle").getItemStyle()}),u.sliderGroup.add(g)),g.attr("ignore",!1);var v=this._brushStart,y=this._displayables.sliderGroup,A=y.transformCoordToLocal(o,a),b=y.transformCoordToLocal(v.x,v.y),_=this._size;A[0]=Math.max(Math.min(_[0],A[0]),0),g.setShape({x:b[0],y:0,width:A[0]-b[0],height:_[1]})},r.prototype._dispatchZoomAction=function(o){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:o?REALTIME_ANIMATION_CONFIG:null,start:a[0],end:a[1]})},r.prototype._findCoordRect=function(){var o,a=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!o&&a.length){var u=a[0].model.coordinateSystem;o=u.getRect&&u.getRect()}if(!o){var d=this.api.getWidth(),g=this.api.getHeight();o={x:d*.2,y:g*.2,width:d*.6,height:g*.6}}return o},r.type="dataZoom.slider",r}(DataZoomView$1);function getOtherDim(t){var r={x:"y",y:"x",radius:"angle",angle:"radius"};return r[t]}function getCursor$1(t){return t==="vertical"?"ns-resize":"ew-resize"}var SliderZoomView$1=SliderZoomView;function install$7(t){t.registerComponentModel(SliderZoomModel$1),t.registerComponentView(SliderZoomView$1),installCommon$1(t)}function install$6(t){use(install$8),use(install$7)}var visualDefault={get:function(t,r,o){var a=clone$5((defaultOption[t]||{})[r]);return o&&isArray$1(a)?a[a.length-1]:a}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},visualDefault$1=visualDefault,mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.stateList=["inRange","outOfRange"],o.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],o.layoutMode={type:"box",ignoreSize:!0},o.dataBound=[-1/0,1/0],o.targetVisuals={},o.controllerVisuals={},o}return r.prototype.init=function(o,a,u){this.mergeDefaultAndTheme(o,u)},r.prototype.optionUpdated=function(o,a){var u=this.option;!a&&replaceVisualOption(u,o,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},r.prototype.resetVisual=function(o){var a=this.stateList;o=bind$1(o,this),this.controllerVisuals=createVisualMappings(this.option.controller,a,o),this.targetVisuals=createVisualMappings(this.option.target,a,o)},r.prototype.getItemSymbol=function(){return null},r.prototype.getTargetSeriesIndices=function(){var o=this.option.seriesIndex,a=[];return o==null||o==="all"?this.ecModel.eachSeries(function(u,d){a.push(d)}):a=normalizeToArray(o),a},r.prototype.eachTargetSeries=function(o,a){each$f(this.getTargetSeriesIndices(),function(u){var d=this.ecModel.getSeriesByIndex(u);d&&o.call(a,d)},this)},r.prototype.isTargetSeries=function(o){var a=!1;return this.eachTargetSeries(function(u){u===o&&(a=!0)}),a},r.prototype.formatValueText=function(o,a,u){var d=this.option,g=d.precision,v=this.dataBound,y=d.formatter,A;u=u||["<",">"],isArray$1(o)&&(o=o.slice(),A=!0);var b=a?o:A?[_(o[0]),_(o[1])]:_(o);if(isString$1(y))return y.replace("{value}",A?b[0]:b).replace("{value2}",A?b[1]:b);if(isFunction(y))return A?y(o[0],o[1]):y(o);if(A)return o[0]===v[0]?u[0]+" "+b[1]:o[1]===v[1]?u[1]+" "+b[0]:b[0]+" - "+b[1];return b;function _(w){return w===v[0]?"min":w===v[1]?"max":(+w).toFixed(Math.min(g,20))}},r.prototype.resetExtent=function(){var o=this.option,a=asc([o.min,o.max]);this._dataExtent=a},r.prototype.getDataDimensionIndex=function(o){var a=this.option.dimension;if(a!=null)return o.getDimensionIndex(a);for(var u=o.dimensions,d=u.length-1;d>=0;d--){var g=u[d],v=o.getDimensionInfo(g);if(!v.isCalculationCoord)return v.storeDimIndex}},r.prototype.getExtent=function(){return this._dataExtent.slice()},r.prototype.completeVisualOption=function(){var o=this.ecModel,a=this.option,u={inRange:a.inRange,outOfRange:a.outOfRange},d=a.target||(a.target={}),g=a.controller||(a.controller={});merge(d,u),merge(g,u);var v=this.isCategory();y.call(this,d),y.call(this,g),A.call(this,d,"inRange","outOfRange"),b.call(this,g);function y(_){isArray(a.color)&&!_.inRange&&(_.inRange={color:a.color.slice().reverse()}),_.inRange=_.inRange||{color:o.get("gradientColor")}}function A(_,w,S){var C=_[w],T=_[S];C&&!T&&(T=_[S]={},each$2(C,function(I,E){if(!!VisualMapping$1.isValidType(E)){var F=visualDefault$1.get(E,"inactive",v);F!=null&&(T[E]=F,E==="color"&&!T.hasOwnProperty("opacity")&&!T.hasOwnProperty("colorAlpha")&&(T.opacity=[0,0]))}}))}function b(_){var w=(_.inRange||{}).symbol||(_.outOfRange||{}).symbol,S=(_.inRange||{}).symbolSize||(_.outOfRange||{}).symbolSize,C=this.get("inactiveColor"),T=this.getItemSymbol(),I=T||"roundRect";each$2(this.stateList,function(E){var F=this.itemSize,O=_[E];O||(O=_[E]={color:v?C:[C]}),O.symbol==null&&(O.symbol=w&&clone$5(w)||(v?I:[I])),O.symbolSize==null&&(O.symbolSize=S&&clone$5(S)||(v?F[0]:[F[0],F[0]])),O.symbol=mapVisual(O.symbol,function(P){return P==="none"?I:P});var D=O.symbolSize;if(D!=null){var x=-1/0;eachVisual(D,function(P){P>x&&(x=P)}),O.symbolSize=mapVisual(D,function(P){return linearMap$1(P,[0,x],[0,F[0]],!0)})}},this)}},r.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},r.prototype.isCategory=function(){return!!this.option.categories},r.prototype.setSelected=function(o){},r.prototype.getSelected=function(){return null},r.prototype.getValueState=function(o){return null},r.prototype.getVisualMeta=function(o){return null},r.type="visualMap",r.dependencies=["series"],r.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},r}(ComponentModel$1),VisualMapModel$1=VisualMapModel,DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(o,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(u){u.mappingMethod="linear",u.dataExtent=this.getExtent()}),this._resetRange()},r.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var o=this.itemSize;(o[0]==null||isNaN(o[0]))&&(o[0]=DEFAULT_BAR_BOUND[0]),(o[1]==null||isNaN(o[1]))&&(o[1]=DEFAULT_BAR_BOUND[1])},r.prototype._resetRange=function(){var o=this.getExtent(),a=this.option.range;!a||a.auto?(o.auto=1,this.option.range=o):isArray$1(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],o[0]),a[1]=Math.min(a[1],o[1]))},r.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(o){var a=this.option.controller[o].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},r.prototype.setSelected=function(o){this.option.range=o.slice(),this._resetRange()},r.prototype.getSelected=function(){var o=this.getExtent(),a=asc$2((this.get("range")||[]).slice());return a[0]>o[1]&&(a[0]=o[1]),a[1]>o[1]&&(a[1]=o[1]),a[0]=u[1]||o<=a[1])?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(o){var a=[];return this.eachTargetSeries(function(u){var d=[],g=u.getData();g.each(this.getDataDimensionIndex(g),function(v,y){o[0]<=v&&v<=o[1]&&d.push(y)},this),a.push({seriesId:u.id,dataIndex:d})},this),a},r.prototype.getVisualMeta=function(o){var a=getColorStopValues(this,"outOfRange",this.getExtent()),u=getColorStopValues(this,"inRange",this.option.range.slice()),d=[];function g(S,C){d.push({value:S,color:o(S,C)})}for(var v=0,y=0,A=u.length,b=a.length;yo[1])break;d.push({color:this.getControllerVisual(y,"color",a),offset:v/u})}return d.push({color:this.getControllerVisual(o[1],"color",a),offset:1}),d},r.prototype._createBarPoints=function(o,a){var u=this.visualMapModel.itemSize;return[[u[0]-a[0],o[0]],[u[0],o[0]],[u[0],o[1]],[u[0]-a[1],o[1]]]},r.prototype._createBarGroup=function(o){var a=this._orient,u=this.visualMapModel.get("inverse");return new Group$4(a==="horizontal"&&!u?{scaleX:o==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&u?{scaleX:o==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!u?{scaleX:o==="left"?1:-1,scaleY:-1}:{scaleX:o==="left"?1:-1})},r.prototype._updateHandle=function(o,a){if(!!this._useHandle){var u=this._shapes,d=this.visualMapModel,g=u.handleThumbs,v=u.handleLabels,y=d.itemSize,A=d.getExtent();each$1([0,1],function(b){var _=g[b];_.setStyle("fill",a.handlesColor[b]),_.y=o[b];var w=linearMap(o[b],[0,y[1]],A,!0),S=this.getControllerVisual(w,"symbolSize");_.scaleX=_.scaleY=S/y[0],_.x=y[0]-S/2;var C=applyTransform(u.handleLabelPoints[b],getTransform$1(_,this.group));v[b].setStyle({x:C[0],y:C[1],text:d.formatValueText(this._dataInterval[b]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",u.mainGroup):"center"})},this)}},r.prototype._showIndicator=function(o,a,u,d){var g=this.visualMapModel,v=g.getExtent(),y=g.itemSize,A=[0,y[1]],b=this._shapes,_=b.indicator;if(!!_){_.attr("invisible",!1);var w={convertOpacityToAlpha:!0},S=this.getControllerVisual(o,"color",w),C=this.getControllerVisual(o,"symbolSize"),T=linearMap(o,v,A,!0),I=y[0]-C/2,E={x:_.x,y:_.y};_.y=T,_.x=I;var F=applyTransform(b.indicatorLabelPoint,getTransform$1(_,this.group)),O=b.indicatorLabel;O.attr("invisible",!1);var D=this._applyTransform("left",b.mainGroup),x=this._orient,P=x==="horizontal";O.setStyle({text:(u||"")+g.formatValueText(a),verticalAlign:P?D:"middle",align:P?"center":D});var G={x:I,y:T,style:{fill:S}},M={style:{x:F[0],y:F[1]}};if(g.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var N={duration:100,easing:"cubicInOut",additive:!0};_.x=E.x,_.y=E.y,_.animateTo(G,N),O.animateTo(M,N)}else _.attr(G),O.attr(M);this._firstShowIndicator=!1;var V=this._shapes.handleLabels;if(V)for(var Y=0;Yg[1]&&(_[1]=1/0),a&&(_[0]===-1/0?this._showIndicator(b,_[1],"< ",y):_[1]===1/0?this._showIndicator(b,_[0],"> ",y):this._showIndicator(b,b,"\u2248 ",y));var w=this._hoverLinkDataIndices,S=[];(a||useHoverLinkOnHandle(u))&&(S=this._hoverLinkDataIndices=u.findTargetDataIndices(_));var C=compressBatches(w,S);this._dispatchHighDown("downplay",makeHighDownBatch(C[0],u)),this._dispatchHighDown("highlight",makeHighDownBatch(C[1],u))}},r.prototype._hoverLinkFromSeriesMouseOver=function(o){var a;if(findEventDispatcher(o.target,function(y){var A=getECData(y);if(A.dataIndex!=null)return a=A,!0},!0),!!a){var u=this.ecModel.getSeriesByIndex(a.seriesIndex),d=this.visualMapModel;if(!!d.isTargetSeries(u)){var g=u.getData(a.dataType),v=g.getStore().get(d.getDataDimensionIndex(g),a.dataIndex);isNaN(v)||this._showIndicator(v,v)}}},r.prototype._hideIndicator=function(){var o=this._shapes;o.indicator&&o.indicator.attr("invisible",!0),o.indicatorLabel&&o.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var u=0;u=0&&(d.dimension=g,a.push(d))}}),t.getData().setVisual("visualMeta",a)}}];function getColorVisual(t,r,o,a){for(var u=r.targetVisuals[a],d=VisualMapping$1.prepareVisualTypes(u),g={color:getVisualFromData(t.getData(),"color")},v=0,y=d.length;v0:r.splitNumber>0)||r.calculable)?"continuous":"piecewise"}),t.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function(r){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,r)}),t.registerPreprocessor(visualMapPreprocessor))}function install$5(t){t.registerComponentModel(ContinuousModel$1),t.registerComponentView(ContinuousView$1),installCommon(t)}var PiecewiseModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._pieceList=[],o}return r.prototype.optionUpdated=function(o,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var u=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(o,a);var d=this.option.categories;this.resetVisual(function(g,v){u==="categories"?(g.mappingMethod="category",g.categories=clone$5(d)):(g.dataExtent=this.getExtent(),g.mappingMethod="piecewise",g.pieceList=map$1(this._pieceList,function(y){return y=clone$5(y),v!=="inRange"&&(y.visual=null),y}))})},r.prototype.completeVisualOption=function(){var o=this.option,a={},u=VisualMapping$1.listVisualTypes(),d=this.isCategory();each$f(o.pieces,function(v){each$f(u,function(y){v.hasOwnProperty(y)&&(a[y]=1)})}),each$f(a,function(v,y){var A=!1;each$f(this.stateList,function(b){A=A||g(o,b,y)||g(o.target,b,y)},this),!A&&each$f(this.stateList,function(b){(o[b]||(o[b]={}))[y]=visualDefault$1.get(y,b==="inRange"?"active":"inactive",d)})},this);function g(v,y,A){return v&&v[y]&&v[y].hasOwnProperty(A)}t.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function(o,a){var u=this.option,d=this._pieceList,g=(a?u:o).selected||{};if(u.selected=g,each$f(d,function(y,A){var b=this.getSelectedMapKey(y);g.hasOwnProperty(b)||(g[b]=!0)},this),u.selectedMode==="single"){var v=!1;each$f(d,function(y,A){var b=this.getSelectedMapKey(y);g[b]&&(v?g[b]=!1:v=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function(o){return this._mode==="categories"?o.value+"":o.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var o=this.option;return o.pieces&&o.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function(o){this.option.selected=clone$5(o)},r.prototype.getValueState=function(o){var a=VisualMapping$1.findPieceIndex(o,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(o){var a=[],u=this._pieceList;return this.eachTargetSeries(function(d){var g=[],v=d.getData();v.each(this.getDataDimensionIndex(v),function(y,A){var b=VisualMapping$1.findPieceIndex(y,u);b===o&&g.push(A)},this),a.push({seriesId:d.id,dataIndex:g})},this),a},r.prototype.getRepresentValue=function(o){var a;if(this.isCategory())a=o.value;else if(o.value!=null)a=o.value;else{var u=o.interval||[];a=u[0]===-1/0&&u[1]===1/0?0:(u[0]+u[1])/2}return a},r.prototype.getVisualMeta=function(o){if(this.isCategory())return;var a=[],u=["",""],d=this;function g(b,_){var w=d.getRepresentValue({interval:b});_||(_=d.getValueState(w));var S=o(w,_);b[0]===-1/0?u[0]=S:b[1]===1/0?u[1]=S:a.push({value:b[0],color:S},{value:b[1],color:S})}var v=this._pieceList.slice();if(!v.length)v.push({interval:[-1/0,1/0]});else{var y=v[0].interval[0];y!==-1/0&&v.unshift({interval:[-1/0,y]}),y=v[v.length-1].interval[1],y!==1/0&&v.push({interval:[y,1/0]})}var A=-1/0;return each$f(v,function(b){var _=b.interval;_&&(_[0]>A&&g([A,_[0]],"outOfRange"),g(_.slice()),A=_[1])},this),{stops:a,outerColors:u}},r.type="visualMap.piecewise",r.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),r}(VisualMapModel$1),resetMethods={splitNumber:function(t){var r=this.option,o=Math.min(r.precision,20),a=this.getExtent(),u=r.splitNumber;u=Math.max(parseInt(u,10),1),r.splitNumber=u;for(var d=(a[1]-a[0])/u;+d.toFixed(o)!==d&&o<5;)o++;r.precision=o,d=+d.toFixed(o),r.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var g=0,v=a[0];g","\u2265"][a[0]]];o.text=o.text||this.formatValueText(o.value!=null?o.value:o.interval,!1,u)},this)}};function normalizeReverse(t,r){var o=t.inverse;(t.orient==="vertical"?!o:o)&&r.reverse()}var PiecewiseModel$1=PiecewiseModel,PiecewiseVisualMapView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.doRender=function(){var o=this.group;o.removeAll();var a=this.visualMapModel,u=a.get("textGap"),d=a.textStyleModel,g=d.getFont(),v=d.getTextColor(),y=this._getItemAlign(),A=a.itemSize,b=this._getViewData(),_=b.endsText,w=retrieve(a.get("showLabel",!0),!_);_&&this._renderEndsText(o,_[0],A,w,y),each$f(b.viewPieceList,function(S){var C=S.piece,T=new Group$4;T.onclick=bind$1(this._onItemClick,this,C),this._enableHoverLink(T,S.indexInModelPieceList);var I=a.getRepresentValue(C);if(this._createItemSymbol(T,I,[0,0,A[0],A[1]]),w){var E=this.visualMapModel.getValueState(I);T.add(new ZRText$1({style:{x:y==="right"?-u:A[0]+u,y:A[1]/2,text:C.text,verticalAlign:"middle",align:y,font:g,fill:v,opacity:E==="outOfRange"?.5:1}}))}o.add(T)},this),_&&this._renderEndsText(o,_[1],A,w,y),box(a.get("orient"),o,a.get("itemGap")),this.renderBackground(o),this.positionGroup(o)},r.prototype._enableHoverLink=function(o,a){var u=this;o.on("mouseover",function(){return d("highlight")}).on("mouseout",function(){return d("downplay")});var d=function(g){var v=u.visualMapModel;v.option.hoverLink&&u.api.dispatchAction({type:g,batch:makeHighDownBatch(v.findTargetDataIndices(a),v)})}},r.prototype._getItemAlign=function(){var o=this.visualMapModel,a=o.option;if(a.orient==="vertical")return getItemAlign(o,this.api,o.itemSize);var u=a.align;return(!u||u==="auto")&&(u="left"),u},r.prototype._renderEndsText=function(o,a,u,d,g){if(!!a){var v=new Group$4,y=this.visualMapModel.textStyleModel;v.add(new ZRText$1({style:createTextStyle(y,{x:d?g==="right"?u[0]:0:u[0]/2,y:u[1]/2,verticalAlign:"middle",align:d?g:"center",text:a})})),o.add(v)}},r.prototype._getViewData=function(){var o=this.visualMapModel,a=map$1(o.getPieceList(),function(v,y){return{piece:v,indexInModelPieceList:y}}),u=o.get("text"),d=o.get("orient"),g=o.get("inverse");return(d==="horizontal"?g:!g)?a.reverse():u&&(u=u.slice().reverse()),{viewPieceList:a,endsText:u}},r.prototype._createItemSymbol=function(o,a,u){o.add(createSymbol$1(this.getControllerVisual(a,"symbol"),u[0],u[1],u[2],u[3],this.getControllerVisual(a,"color")))},r.prototype._onItemClick=function(o){var a=this.visualMapModel,u=a.option,d=u.selectedMode;if(!!d){var g=clone$5(u.selected),v=a.getSelectedMapKey(o);d==="single"||d===!0?(g[v]=!0,each$f(g,function(y,A){g[A]=A===v})):g[v]=!g[v],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:g})}},r.type="visualMap.piecewise",r}(VisualMapView$1),PiecewiseView=PiecewiseVisualMapView;function install$4(t){t.registerComponentModel(PiecewiseModel$1),t.registerComponentView(PiecewiseView),installCommon(t)}function install$3(t){use(install$5),use(install$4)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(t,r){var o=t.getModel("aria");if(!o.get("enabled"))return;var a=clone$5(DEFAULT_OPTION);merge(a.label,t.getLocaleModel().get("aria"),!1),merge(o.option,a,!1),u(),d();function u(){var A=o.getModel("decal"),b=A.get("show");if(b){var _=createHashMap();t.eachSeries(function(w){if(!w.isColorBySeries()){var S=_.get(w.type);S||(S={},_.set(w.type,S)),inner(w).scope=S}}),t.eachRawSeries(function(w){if(t.isSeriesFiltered(w))return;if(isFunction(w.enableAriaDecal)){w.enableAriaDecal();return}var S=w.getData();if(w.isColorBySeries()){var F=getDecalFromPalette(w.ecModel,w.name,decalPaletteScope,t.getSeriesCount()),O=S.getVisual("decal");S.setVisual("decal",D(O,F))}else{var C=w.getRawData(),T={},I=inner(w).scope;S.each(function(x){var P=S.getRawIndex(x);T[P]=x});var E=C.count();C.each(function(x){var P=T[x],G=C.getName(x)||x+"",M=getDecalFromPalette(w.ecModel,G,I,E),N=S.getItemVisual(P,"decal");S.setItemVisual(P,"decal",D(N,M))})}function D(x,P){var G=x?extend(extend({},P),x):P;return G.dirty=!0,G}})}}function d(){var A=r.getZr().dom;if(!!A){var b=t.getLocaleModel().get("aria"),_=o.getModel("label");if(_.option=defaults(_.option,b),!!_.get("enabled")){if(_.get("description")){A.setAttribute("aria-label",_.get("description"));return}var w=t.getSeriesCount(),S=_.get(["data","maxCount"])||10,C=_.get(["series","maxCount"])||10,T=Math.min(w,C),I;if(!(w<1)){var E=v();if(E){var F=_.get(["general","withTitle"]);I=g(F,{title:E})}else I=_.get(["general","withoutTitle"]);var O=[],D=w>1?_.get(["series","multiple","prefix"]):_.get(["series","single","prefix"]);I+=g(D,{seriesCount:w}),t.eachSeries(function(M,N){if(N1?_.get(["series","multiple",H]):_.get(["series","single",H]),V=g(V,{seriesId:M.seriesIndex,seriesName:M.get("name"),seriesType:y(M.subType)});var B=M.getData();if(B.count()>S){var z=_.get(["data","partialData"]);V+=g(z,{displayCnt:S})}else V+=_.get(["data","allData"]);for(var U=_.get(["data","separator","middle"]),Q=_.get(["data","separator","end"]),X=[],J=0;J":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function t(r){var o=this._condVal=isString$1(r)?new RegExp(r):isRegExp(r)?r:null;if(o==null){var a="";throwError(a)}}return t.prototype.evaluate=function(r){var o=typeof r;return isString$1(o)?this._condVal.test(r):isNumber$1(o)?this._condVal.test(r+""):!1},t}(),ConstConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),AndConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){for(var r=this.children,o=0;o2&&a.push(u),u=[B,z]}function b(B,z,U,Q){aroundEqual(B,U)&&aroundEqual(z,Q)||u.push(B,z,U,Q,U,Q)}function _(B,z,U,Q,X,J){var ne=Math.abs(z-B),te=Math.tan(ne/4)*4/3,ce=zM:Y2&&a.push(u),a}function adpativeBezier(t,r,o,a,u,d,g,v,y,A){if(aroundEqual(t,o)&&aroundEqual(r,a)&&aroundEqual(u,g)&&aroundEqual(d,v)){y.push(g,v);return}var b=2/A,_=b*b,w=g-t,S=v-r,C=Math.sqrt(w*w+S*S);w/=C,S/=C;var T=o-t,I=a-r,E=u-g,F=d-v,O=T*T+I*I,D=E*E+F*F;if(O<_&&D<_){y.push(g,v);return}var x=w*T+S*I,P=-w*E-S*F,G=O-x*x,M=D-P*P;if(G<_&&x>=0&&M<_&&P>=0){y.push(g,v);return}var N=[],V=[];cubicSubdivide(t,o,u,g,.5,N),cubicSubdivide(r,a,d,v,.5,V),adpativeBezier(N[0],V[0],N[1],V[1],N[2],V[2],N[3],V[3],y,A),adpativeBezier(N[4],V[4],N[5],V[5],N[6],V[6],N[7],V[7],y,A)}function pathToPolygons(t,r){var o=pathToBezierCurves(t),a=[];r=r||1;for(var u=0;u0)for(var A=0;A<_;A++)y[A%g]+=1;return y}function divideSector(t,r,o){for(var a=t.r0,u=t.r,d=t.startAngle,g=t.endAngle,v=Math.abs(g-d),y=v*u,A=u-a,b=y>Math.abs(A),_=getDividingGrids([y,A],b?0:1,r),w=(b?v:A)/_.length,S=0;S<_.length;S++)for(var C=(b?A:v)/_[S],T=0;T<_[S];T++){var I={};b?(I.startAngle=d+w*S,I.endAngle=d+w*(S+1),I.r0=a+C*T,I.r=a+C*(T+1)):(I.startAngle=d+C*T,I.endAngle=d+C*(T+1),I.r0=a+w*S,I.r=a+w*(S+1)),I.clockwise=t.clockwise,I.cx=t.cx,I.cy=t.cy,o.push(I)}}function divideRect(t,r,o){for(var a=t.width,u=t.height,d=a>u,g=getDividingGrids([a,u],d?0:1,r),v=d?"width":"height",y=d?"height":"width",A=d?"x":"y",b=d?"y":"x",_=t[v]/g.length,w=0;w1?null:new Point$1(T*y+t,T*A+r)}function projPtOnLine(t,r,o){var a=new Point$1;Point$1.sub(a,o,r),a.normalize();var u=new Point$1;Point$1.sub(u,t,r);var d=u.dot(a);return d}function addToPoly(t,r){var o=t[t.length-1];o&&o[0]===r[0]&&o[1]===r[1]||t.push(r)}function splitPolygonByLine(t,r,o){for(var a=t.length,u=[],d=0;dg?(A.x=b.x=v+d/2,A.y=y,b.y=y+g):(A.y=b.y=y+g/2,A.x=v,b.x=v+d),splitPolygonByLine(r,A,b)}function binaryDivideRecursive(t,r,o,a){if(o===1)a.push(r);else{var u=Math.floor(o/2),d=t(r);binaryDivideRecursive(t,d[0],u,a),binaryDivideRecursive(t,d[1],o-u,a)}return a}function clone(t,r){for(var o=[],a=0;a0)for(var x=a/o,P=-a/2;P<=a/2;P+=x){for(var G=Math.sin(P),M=Math.cos(P),N=0,O=0;O0;A/=2){var b=0,_=0;(t&A)>0&&(b=1),(r&A)>0&&(_=1),v+=A*A*(3*b^_),_===0&&(b===1&&(t=A-1-t,r=A-1-r),y=t,t=r,r=y)}return v}function sortPaths(t){var r=1/0,o=1/0,a=-1/0,u=-1/0,d=map$1(t,function(v){var y=v.getBoundingRect(),A=v.getComputedTransform(),b=y.x+y.width/2+(A?A[4]:0),_=y.y+y.height/2+(A?A[5]:0);return r=Math.min(b,r),o=Math.min(_,o),a=Math.max(b,a),u=Math.max(_,u),[b,_]}),g=map$1(d,function(v,y){return{cp:v,z:hilbert(v[0],v[1],r,o,a,u),path:t[y]}});return g.sort(function(v,y){return v.z-y.z}).map(function(v){return v.path})}function defaultDividePath(t){return split(t.path,t.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(t,r,o){var a=[];function u(x){for(var P=0;P=0;u--)if(!o[u].many.length){var y=o[v].many;if(y.length<=1)if(v)v=0;else return o;var d=y.length,A=Math.ceil(d/2);o[u].many=y.slice(A,d),o[v].many=y.slice(0,A),v++}return o}var pathDividers={clone:function(t){for(var r=[],o=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a0))return;var v=a.getModel("universalTransition").get("delay"),y=Object.assign({setToFinal:!0},g),A,b;isMultiple(t)&&(A=t,b=r),isMultiple(r)&&(A=r,b=t);function _(E,F,O,D,x){var P=E.many,G=E.one;if(P.length===1&&!x){var M=F?P[0]:G,N=F?G:P[0];if(isCombineMorphing(M))_({many:[M],one:N},!0,O,D,!0);else{var V=v?defaults({delay:v(O,D)},y):y;morphPath(M,N,V),d(M,N,M,N,V)}}else for(var Y=defaults({dividePath:pathDividers[o],individualDelay:v&&function(X,J,ne,te){return v(X+O,D)}},y),H=F?combineMorph(P,G,Y):separateMorph(G,P,Y),B=H.fromIndividuals,z=H.toIndividuals,U=B.length,Q=0;Qr.length,S=A?prepareMorphBatches(b,A):prepareMorphBatches(w?r:t,[w?t:r]),C=0,T=0;TDATA_COUNT_THRESHOLD))for(var d=a.getIndices(),g=0;g0&&P.group.traverse(function(M){M instanceof Path$1&&!M.animators.length&&M.animateFrom({style:{opacity:0}},G)})})}function getSeriesTransitionKey(t){var r=t.getModel("universalTransition").get("seriesKey");return r||t.id}function convertArraySeriesKeyToString(t){return isArray$1(t)?t.sort().join(","):t}function getDivideShapeFromData(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(t,r){var o=createHashMap(),a=createHashMap(),u=createHashMap();return each$f(t.oldSeries,function(d,g){var v=t.oldDataGroupIds[g],y=t.oldData[g],A=getSeriesTransitionKey(d),b=convertArraySeriesKeyToString(A);a.set(b,{dataGroupId:v,data:y}),isArray$1(A)&&each$f(A,function(_){u.set(_,{key:b,dataGroupId:v,data:y})})}),each$f(r.updatedSeries,function(d){if(d.isUniversalTransitionEnabled()&&d.isAnimationEnabled()){var g=d.get("dataGroupId"),v=d.getData(),y=getSeriesTransitionKey(d),A=convertArraySeriesKeyToString(y),b=a.get(A);if(b)o.set(A,{oldSeries:[{dataGroupId:b.dataGroupId,divide:getDivideShapeFromData(b.data),data:b.data}],newSeries:[{dataGroupId:g,divide:getDivideShapeFromData(v),data:v}]});else if(isArray$1(y)){var _=[];each$f(y,function(C){var T=a.get(C);T.data&&_.push({dataGroupId:T.dataGroupId,divide:getDivideShapeFromData(T.data),data:T.data})}),_.length&&o.set(A,{oldSeries:_,newSeries:[{dataGroupId:g,data:v,divide:getDivideShapeFromData(v)}]})}else{var w=u.get(y);if(w){var S=o.get(w.key);S||(S={oldSeries:[{dataGroupId:w.dataGroupId,data:w.data,divide:getDivideShapeFromData(w.data)}],newSeries:[]},o.set(w.key,S)),S.newSeries.push({dataGroupId:g,data:v,divide:getDivideShapeFromData(v)})}}}}),o}function querySeries(t,r){for(var o=0;o=0&&u.push({dataGroupId:r.oldDataGroupIds[v],data:r.oldData[v],divide:getDivideShapeFromData(r.oldData[v]),groupIdDim:g.dimension})}),each$f(normalizeToArray(t.to),function(g){var v=querySeries(o.updatedSeries,g);if(v>=0){var y=o.updatedSeries[v].getData();d.push({dataGroupId:r.oldDataGroupIds[v],data:y,divide:getDivideShapeFromData(y),groupIdDim:g.dimension})}}),u.length>0&&d.length>0&&transitionBetween(u,d,a)}function installUniversalTransition(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,o,a){each$f(normalizeToArray(a.seriesTransition),function(u){each$f(normalizeToArray(u.to),function(d){for(var g=a.updatedSeries,v=0;v{if(t.type==="device"){const r=Devices.get(t.deviceId||null);t.moduleConfig&&t.moduleConfig.color&&document.body.style.setProperty("--jarvis--chart--"+r.name.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),t.moduleConfig.color),r?(this.stateLabels[r.id+"#"+t.primaryStateKey]=r.name,this.devices[r.id+"#"+t.primaryStateKey]={item:t,device:r},Devices.listen(r.id,t.primaryStateKey,this.gotState)):console.error(this.$i18n.t("No device specified"))}})),window.addEventListener("orientationchange",()=>{this.fitChart()})},beforeUnmount(){for(const t in this.devices)this.devices[t]},methods:{zIndex(t){const r=document.querySelector(".jarvis-widget-"+this.widget.id);r&&(r.style.zIndex=t)},fitChart(){this.loaded&&this.vchart&&this.vchart.resize({width:"auto",height:"auto"})},gotState(t,r,o,a){if(t){this.error=t,this.loaded=!0;return}const{item:u}=this.devices[r.id+"#"+o];this.states[r.id+"#"+o]=a,this.stateLabels[r.id+"#"+o]=u.label||a.label||r.name,this.stateValues[r.id+"#"+o]=parseFloat(a.value),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.setChartOptions()},500)},setChartOptions(){let t={};!this.config.type||this.config.type==="bar"?t={xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{show:!1}}],yAxis:[{type:"value",max:this.config.barStack===!0?Math.round(Object.values(this.stateValues).reduce((r,o)=>r+o)/100)*100:this.config.maxValue,min:this.config.minValue}]}:this.config.type==="pie"?t={series:[{type:"pie",radius:this.config.pieRadius===!0?["40%","80%"]:["80%","0%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:this.$q.dark.isActive?"#333":"#fff",borderWidth:2},label:{formatter:"{c}",position:"inside"},emphasis:{label:{show:!0}},labelLine:{show:!1},data:Object.keys(this.stateLabels).map(r=>{const o=this.states[r]&&this.states[r].unit||"";return{value:this.stateValues[r],name:r+":"+this.stateLabels[r],label:{formatter:this.config.label===!0?"":this.stateValues[r]+" "+o},unit:o,itemStyle:{color:this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}})}]}:this.config.type==="circle"&&(t={angleAxis:{max:this.config.maxValue&&parseInt(this.config.maxValue)||void 0},radiusAxis:{type:"category",axisLabel:{show:!1}},polar:{radius:this.config.radius?["10%",this.config.radius+"%"]:this.widget.title?["10%","60%"]:["10%","70%"],center:this.config.legend==="bottom"?["50%","45%"]:["50%","50%"]}}),t=deepmerge(t,{legend:{show:this.config.legend!=="off",bottom:this.config.legend==="bottom"?0:"auto",padding:[10,10,5,10],textStyle:{color:this.$q.dark.isActive?"#fff":"#666"},tooltip:{show:!0,position:"bottom",borderWidth:1,borderColor:"#ccc",formatter:r=>{const[o,a]=r.name.split(":"),u=this.stateValues[o],d=this.devices[o]&&this.devices[o].item&&this.devices[o].item.moduleConfig&&this.devices[o].item.moduleConfig.color;return''+a+''+(typeof u=="number"?u.toFixed(2):"-")+(this.states[o]&&this.states[o].unit?" "+this.states[o].unit:"")+""}},formatter:r=>{const[,o]=r.split(":");return o},data:Object.keys(this.stateLabels).map(r=>({name:r+":"+this.stateLabels[r],itemStyle:{color:this.devices[r]&&this.devices[r].item&&this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}))},grid:{top:"15%",left:"1%",right:"2%",bottom:"12%",containLabel:!0},label:{color:this.$q.dark.isActive?"#fff":"#333",fontWeight:"bold"},tooltip:{position:"top",formatter:r=>{const{marker:o,seriesName:a,name:u,data:d}=r,[,g]=(this.config.type==="bar"||this.config.type==="circle"?a:u).split(":");return""+o+''+g+''+(typeof d.value=="number"?d.value.toFixed(2):"-")+(d&&d.unit?" "+d.unit:"")+""}},series:this.config.type==="pie"?[]:Object.keys(this.stateLabels).map(r=>{const o=this.states[r]&&this.states[r].unit||"",a={name:r+":"+this.stateLabels[r],type:"bar",showBackground:!0,stack:!this.config.type||this.config.type==="bar"?this.config.barStack:!1,emphasis:{focus:"series"},label:{show:!0,position:"insideTop"},data:[{value:this.stateValues[r],label:{formatter:this.config.label===!0?"":this.stateValues[r]+" "+o},unit:o,itemStyle:{color:this.devices[r]&&this.devices[r].item&&this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}]};return this.config.type==="circle"&&(a.coordinateSystem="polar",a.label={show:!0,fontWeight:"bold",color:this.$q.dark.isActive?"#fff":"#000",position:"start",offset:[2,2]}),a})}),this.vchart&&this.vchart.setOption(t,!0),this.loaded=!0,window.dispatchEvent(new Event("resize"))}}});function _sfc_render$c(t,r,o,a,u,d){const g=resolveComponent("v-chart");return openBlock(),createElementBlock("div",{class:"jarvis-Chart-Container",style:normalizeStyle$1(t.widgetSize),onTouchstart:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onMouseover:r[1]||(r[1]=v=>t.zIndex(99)),onMouseout:r[2]||(r[2]=v=>t.zIndex("initial"))},[t.loaded?createCommentVNode("",!0):(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})),withDirectives(createBaseVNode("div",{class:"jarvis-Chart",style:normalizeStyle$1({"min-width":"1px","min-height":"1px",...t.widgetSize})},[createVNode$1(g,{ref:"vchart",autoresize:""},null,512)],4),[[vShow,t.loaded&&!t.error]])],36)}var Chart=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c]]),Chart$1=Object.freeze(Object.defineProperty({__proto__:null,default:Chart},Symbol.toStringTag,{value:"Module"})),dist={};Object.defineProperty(dist,"__esModule",{value:!0});const DEFAULT_ZENITH=90.8333,DEGREES_PER_HOUR=360/24,MSEC_IN_HOUR=60*60*1e3;function getDayOfYear(t){return Math.ceil((t.getTime()-new Date(t.getFullYear(),0,1).getTime())/864e5)}function sinDeg(t){return Math.sin(t*2*Math.PI/360)}function acosDeg(t){return Math.acos(t)*360/(2*Math.PI)}function asinDeg(t){return Math.asin(t)*360/(2*Math.PI)}function tanDeg(t){return Math.tan(t*2*Math.PI/360)}function cosDeg(t){return Math.cos(t*2*Math.PI/360)}function mod(t,r){const o=t%r;return o<0?o+r:o}function calculate(t,r,o,a,u){const d=getDayOfYear(u),g=r/DEGREES_PER_HOUR,v=o?d+(6-g)/24:d+(18-g)/24,y=.9856*v-3.289,A=mod(y+1.916*sinDeg(y)+.02*sinDeg(2*y)+282.634,360),b=.91764*tanDeg(A);let _;_=360/(2*Math.PI)*Math.atan(b),_=mod(_,360);const w=Math.floor(A/90)*90,S=Math.floor(_/90)*90;_=_+(w-S),_/=DEGREES_PER_HOUR;const C=.39782*sinDeg(A),T=cosDeg(asinDeg(C)),I=(cosDeg(a)-C*sinDeg(t))/(T*cosDeg(t)),O=(o?360-acosDeg(I):acosDeg(I))/DEGREES_PER_HOUR+_-.06571*v-6.622,D=mod(O-r/DEGREES_PER_HOUR,24),x=Date.UTC(u.getFullYear(),u.getMonth(),u.getDate());return new Date(x+D*MSEC_IN_HOUR)}function getSunrise(t,r,o=new Date){return calculate(t,r,!0,DEFAULT_ZENITH,o)}function getSunset(t,r,o=new Date){return calculate(t,r,!1,DEFAULT_ZENITH,o)}var getSunrise_1=dist.getSunrise=getSunrise,getSunset_1=dist.getSunset=getSunset,DateTime_vue_vue_type_style_index_0_lang="";const _sfc_main$b=defineComponent({name:"ModuleDateTime",props:{widget:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useIoBroker(),a=computed(()=>t.widget.config),u=computed(()=>{const O=Modules.joinConfig(a.value,ConfigFile$b);return{...O,refresh:O.formatDate.indexOf("s")>-1||O.formatTime.indexOf("s")>-1?1:O.formatDate.indexOf("m")>-1||O.formatTime.indexOf("m")>-1?10:60}});let d=0;const g=ref(null),v=ref(null),y=ref(null),A=ref(null),b=ref(null),_=computed(()=>o.meta.city||null),w=computed(()=>{const{latitude:O,longitude:D}=o.meta;return!O||!D?null:[O,D]}),S=O=>{if(u.value.sun!==!1&&w.value!==null)try{const D=new Date(O);y.value=format$2(getSunrise_1(...w.value,D),"HH:mm"),A.value=format$2(getSunset_1(...w.value,D),"HH:mm")}catch(D){console.warn("DateTime",D&&D.message||D)}},C=O=>{try{const D=new Date(O);g.value=O>1672527600&&u.value.formatDate?u.value.formatDate.split(/(?:\n|\r|\r\n)/g).map(x=>x?format$2(D,x):"").join("
    "):null,v.value=O>1672527600&&u.value.formatTime?u.value.formatTime.split(/(?:\n|\r|\r\n)/g).map(x=>x?format$2(D,x):"").join("
    "):null,b.value=getWeek$1(D)}catch(D){console.warn("DateTime",D&&D.message||D),g.value=u.value._defaults.formatDate?format$2(new Date,u.value._defaults.formatDate):null,v.value=u.value._defaults.formatTime?format$2(new Date,u.value._defaults.formatTime):null}};watch(w,()=>S(d));const T=O=>{d=O&&parseInt(O)||d,C(d),S(d)};let I=null;const E=()=>{I&&clearTimeout(I),u.value.refresh&&u.value.refresh>0&&(I=setTimeout(()=>{E(),d=d+u.value.refresh*1e3,C(d)},u.value.refresh*1e3))};let F=null;return watch(()=>t.widget.revision,()=>{r.send("getTime",null,T),t.widget.revision!==F&&(F=t.widget.revision,!I&&E())},{immediate:!0}),onMounted(()=>{r.on("#time",T)}),onUnmounted(()=>{clearTimeout(I),r.off("#time",T)}),{moduleConfig:u,date:g,time:v,sunrise:y,sunset:A,week:b,city:_}}}),_hoisted_1$a={class:"jarvis-DateTime-Clock"},_hoisted_2$9=["innerHTML"],_hoisted_3$5=["innerHTML"],_hoisted_4$3={class:"row jarvis-DateTime-Details"},_hoisted_5$3={key:0,class:"jarvis-DateTime-Details-Item"},_hoisted_6$2={class:"jarvis-DateTime-Details-Item-City"},_hoisted_7$2={key:1,class:"jarvis-DateTime-Details-Item"},_hoisted_8$2={class:"jarvis-DateTime-Details-Item-Sunrise"},_hoisted_9$2={key:2,class:"jarvis-DateTime-Details-Item"},_hoisted_10$2={class:"jarvis-DateTime-Details-Item-Sunset"},_hoisted_11$2={key:3,class:"jarvis-DateTime-Details-Item"},_hoisted_12$1={class:"jarvis-DateTime-Details-Item-Week"};function _sfc_render$b(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",{key:t.widget.revision,class:"jarvis-DateTime-Container"},[createBaseVNode("div",_hoisted_1$a,[t.date?(openBlock(),createElementBlock("span",{key:0,class:"jarvis-DateTime-Clock-Date",innerHTML:t.date},null,8,_hoisted_2$9)):createCommentVNode("",!0),t.time?(openBlock(),createElementBlock("span",{key:1,class:"jarvis-DateTime-Clock-Time",innerHTML:t.time},null,8,_hoisted_3$5)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_4$3,[t.moduleConfig.city!==!1&&t.city!==null?(openBlock(),createElementBlock("div",_hoisted_5$3,[createVNode$1(g,{size:"xs",name:"mdi-city-variant-outline",class:"jarvis-DateTime-Details-Icon"}),t.city?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_6$2,toDisplayString$1(t.city),1)])):createCommentVNode("",!0),t.moduleConfig.sun!==!1&&t.sunrise!==null?(openBlock(),createElementBlock("div",_hoisted_7$2,[createVNode$1(g,{size:"xs",name:"mdi-weather-sunset-up",class:"jarvis-DateTime-Details-Icon"}),t.sunrise?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_8$2,toDisplayString$1(t.sunrise),1)])):createCommentVNode("",!0),t.moduleConfig.sun!==!1&&t.sunset!==null?(openBlock(),createElementBlock("div",_hoisted_9$2,[createVNode$1(g,{size:"xs",name:"mdi-weather-sunset-down",class:"jarvis-DateTime-Details-Icon"}),t.sunset?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_10$2,toDisplayString$1(t.sunset),1)])):createCommentVNode("",!0),t.moduleConfig.calendarweek!==!1?(openBlock(),createElementBlock("div",_hoisted_11$2,[createVNode$1(g,{size:"xs",name:"mdi-calendar-week",class:"jarvis-DateTime-Details-Icon"}),t.week?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_12$1,[createBaseVNode("span",null,toDisplayString$1(t.$t("CW")),1),createTextVNode(" "+toDisplayString$1(t.week),1)])])):createCommentVNode("",!0)])])}var DateTime=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b]]),DateTime$1=Object.freeze(Object.defineProperty({__proto__:null,default:DateTime},Symbol.toStringTag,{value:"Module"})),DisplayImage_vue_vue_type_style_index_0_lang="";const _sfc_main$a=defineComponent({name:"ModuleDisplayImage",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0},alignment:{type:Object,required:!0}},data(){return{url:null,state:{},loaded:!1,error:!1}},computed:{config(){return Modules.joinConfig(this.widget.config,ConfigFile$a)},deviceConfig(){return this.widget.items&&this.widget.items[0]||{}},style(){return{...this.state&&this.state.bodyStyle||this.state&&this.state.stateStyle||{},width:this.config.size==="fit"||this.config.size==="cover"?this.widgetSize.width:"auto",height:this.config.size==="fit"||this.config.size==="contain"?this.widgetSize.height:"auto"}}},watch:{deviceConfig:{immediate:!0,handler:function(t){this.revision=this.widget.revision,this.widget.config.url?(this.setUrl(this.widget.config.url),this.loaded=!0):(this.device=Devices.get(t.deviceId),this.device?t.primaryStateKey&&Devices.listen(this.device.id,t.primaryStateKey,this.gotState):(this.error="DisplayImage: "+this.$i18n.t("Device {deviceId} not found").replace("{deviceId}",t.deviceId),console.warn(this.error),this.loaded=!0))}}},mounted(){this.runInterval()},beforeUnmount(){this.setRefreshInterval&&clearInterval(this.setRefreshInterval),this.device},methods:{gotState(t,r,o,a){if(this.loaded=!0,t){this.error=t&&t.message||t;return}this.state=a,this.url!==a.value&&this.setUrl(a.value||"")},runInterval(){this.config.refresh&&this.config.refresh>0&&(this.setRefreshInterval&&clearInterval(this.setRefreshInterval),this.setRefreshInterval=setInterval(()=>{if(this.url&&this.url.startsWith("data:image")&&clearInterval(this.setRefreshInterval),this.url&&!this.url.startsWith("data:image")&&this.config.refreshMethod==="random"){const t=this.url.indexOf("?")!==-1?this.url.substr(this.url.indexOf("?")).replace("?","&").replace(/&_r=[0-9]*/,""):"";this.setUrl(this.url.substr(0,this.url.indexOf("?")>-1?this.url.indexOf("?"):this.url.length)+"?_r="+Date.now()+t)}else this.url&&!this.url.startsWith("data:image")&&this.config.refreshMethod==="whitespace"&&this.setUrl((this.url+" ").replace(/ {2}/g,""))},this.config.refresh*1e3))},setUrl(t){t=t.toString().trim(),t&&t.indexOf("[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),t.url&&t.url.startsWith("props.widget.config),instanceList=iobroker.instanceList&&iobroker.instanceList.val||[],from=new Date(new Date().getTime()-7*24*3600*1e3),to=new Date,moduleConfig=computed(()=>({...Modules.joinConfig(config.value,ConfigFile$9),defaultHistoryAdapter:instanceList.find(t=>["history","sql","influxdb"].includes(t.substr(0,t.indexOf(".")))),stepLineChart:!1,timeTimelineDate:{from:{year:from.getFullYear(),month:from.getMonth()+1,day:from.getDate()},to:{year:to.getFullYear(),month:to.getMonth()+1,day:to.getDate()},...config.value.timeTimelineDate||{}}})),getCallback=(namespace,index,key)=>{if(moduleConfig.value[namespace]){const axisConfig=Array.isArray(moduleConfig.value[namespace])?moduleConfig.value[namespace]:[moduleConfig.value[namespace]];let parsedConfig;if(axisConfig&&axisConfig[index]&&axisConfig[index][key]&&typeof axisConfig[index][key]=="string"&&(axisConfig[index][key].indexOf("=>")!==-1||axisConfig[index][key].indexOf("(")!==-1&&axisConfig[index][key].indexOf(")")!==-1))try{parsedConfig=eval(axisConfig[index][key]);const test=parsedConfig&&parsedConfig(1)}catch(t){return console.warn("HistoryGraph",parsedConfig,t),null}else axisConfig&&axisConfig[index]&&axisConfig[index][key]&&(parsedConfig=axisConfig[index][key]);return parsedConfig}};if(Pro.isPro()){if(moduleConfig.value.callback)try{moduleConfig.value.chartCallback=eval(moduleConfig.value.callback);const test=moduleConfig.value.chartCallback&&moduleConfig.value.chartCallback(1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.chartCallback,moduleConfig.value.callback,t),moduleConfig.value.chartCallback=null}if([{key:"min",cb:"xMin"},{key:"max",cb:"xMax"}].forEach(t=>{moduleConfig.value[t.cb]=getCallback("xAxis",0,t.key)}),[{key:"min",cb:"yMin"},{key:"max",cb:"yMax"}].forEach(t=>{moduleConfig.value[t.cb]=getCallback("yAxis",0,t.key)}),moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel&&moduleConfig.value.xAxis.axisLabel.formatter&&(moduleConfig.value.xAxis.axisLabel.formatter.indexOf("=>")!==-1||moduleConfig.value.xAxis.axisLabel.formatter.indexOf("(")!==-1&&moduleConfig.value.xAxis.axisLabel.formatter.indexOf(")")!==-1))try{moduleConfig.value.xCallback=eval(moduleConfig.value.xAxis.axisLabel.formatter);const test=moduleConfig.value.xCallback&&moduleConfig.value.xCallback(1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.xCallback,moduleConfig.value.xAxis.axisLabel.formatter,t),moduleConfig.value.xCallback=null}else moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel&&moduleConfig.value.xAxis.axisLabel.formatter&&(moduleConfig.value.xCallback=moduleConfig.value.xAxis.axisLabel.formatter);const yAxes=!moduleConfig.value.yAxis||Array.isArray(moduleConfig.value.yAxis)?moduleConfig.value.yAxis||[]:[moduleConfig.value.yAxis];yAxes.forEach((yAxis,i)=>{if(moduleConfig.value.yCallbacks=moduleConfig.value.yCallbacks||[],yAxis.axisLabel&&yAxis.axisLabel.formatter&&(yAxis.axisLabel.formatter.indexOf("=>")!==-1||yAxis.axisLabel.formatter.indexOf("(")!==-1&&yAxis.axisLabel.formatter.indexOf(")")!==-1))try{moduleConfig.value.yCallbacks[i]=eval(yAxis.axisLabel.formatter);const test=moduleConfig.value.yCallbacks[i]&&moduleConfig.value.yCallbacks[i](1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.yCallbacks[i],moduleConfig.value.yAxis.axisLabel.formatter,t),moduleConfig.value.yCallbacks[i]=null}else yAxis.axisLabel&&yAxis.axisLabel.formatter&&(moduleConfig.value.yCallbacks[i]=yAxis.axisLabel.formatter)})}const userConfig=ref(moduleConfig.value),tempConfig=ref(moduleConfig.value),optionsTimeType=ConfigFile$9.find(t=>t.parameter==="timeType").options,optionsTimeReviewUnits=ConfigFile$9.find(t=>t.parameter==="timeReviewUnit").options,loaded=ref(!1),errors=ref({}),key=ref(v4()),chartSeries=ref([]);let chartLabels={};const addSerieToChart=(history,config,state,device)=>{let label=config&&config.label||device&&device.name||device&&device.label||"???",data={};config.moduleConfig&&config.moduleConfig.color&&document.body.style.setProperty("--jarvis--historygraph--"+label.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),config.moduleConfig.color);let iterations=0;for(;Object.values(chartLabels).includes(label);)iterations++,label=label.replace(/ \(\d\)$/g,"")+" ("+iterations+")";chartLabels[device.id+":"+state.stateKey]=label;const maxEntries=parseInt(moduleConfig.value.maxEntries)||500,drop=history.length>maxEntries?Math.ceil(history.length/maxEntries):null;if(history.forEach(({ts,ack,val},i)=>{if(ts=Math.round(ts/1e3)*1e3,ack=ack!=null?ack:"both",(!config.moduleConfig||config.moduleConfig.ack===void 0||config.moduleConfig.ack===null||config.moduleConfig.ack==="both"||config.moduleConfig.ack.toString()===ack.toString()||ack.toString()==="both")&&(drop===null||i%drop===0)){if((typeof val=="boolean"||val==="true"||val==="false")&&(moduleConfig.value.stepLineChart=!0,val=val===!0||val==="true"?1:0),val=parseFloat(val)||val,Pro.isPro()&&config.moduleConfig&&config.moduleConfig.deviceCallback===!0&&state.properties&&state.properties.value)try{const cb=eval(state.properties.value);val=cb(val,ts,i)}catch(t){console.warn("HistoryGraph",t.message)}else Pro.isPro()&&moduleConfig.value.chartCallback&&(val=moduleConfig.value.chartCallback(val,ts,i));(!moduleConfig.value.yAxis||moduleConfig.value.yAxis.type!=="log"||moduleConfig.value.yAxis.type==="log"&&val!==0)&&(data[ts]=data[ts]&&data[ts][1]!==null?data[ts]:[ts,val,state.unit||Functions._defaults&&Functions._defaults[config.primaryStateKey]&&Functions._defaults[config.primaryStateKey].unit||"",config])}}),moduleConfig.value.timeType==="review"&&history.length>0){const t=moduleConfig.value.timeReviewUnit,r=Date.now(),o=(r-history[history.length-1].ts)/1e3,a=Math.floor(o/60),u=Math.floor(a/60),d=Math.floor(u/24),g=Math.floor(d/7),v=Math.floor(d/30);let y=null,A=1;if(t==="months"&&v>1?(y=v,A=30*24*60*60):t==="weeks"&&g>1?(y=g,A=7*24*60*60):t==="days"&&d>1?(y=d,A=24*60*60):t==="hours"&&u>1?(y=u,A=60*60):t==="minutes"&&a>1?(y=a,A=60):t==="seconds"&&o>1&&(y=o,A=1),y)for(let b=history[history.length-1].ts/1e3;b<=Math.floor(r/1e3);b+=A)data[b]=[b*1e3,history[history.length-1].val,state.unit||Functions._defaults&&Functions._defaults[config.primaryStateKey]&&Functions._defaults[config.primaryStateKey].unit||""]}data=Object.values(data);const color=config.moduleConfig&&config.moduleConfig.color?getComputedStyle(document.documentElement).getPropertyValue(config.moduleConfig.color.substr(0,config.moduleConfig.color.length-1).replace("var(",""))||config.moduleConfig.color:void 0,chartSerie={name:label,step:moduleConfig.value.stepLineChart||moduleConfig.value.chartType==="stepped"?"end":void 0,smooth:moduleConfig.value.chartType==="smooth",showSymbol:moduleConfig.value.showSymbol!==void 0?moduleConfig.value.showSymbol:!1,emphasis:{lineStyle:{width:2}},connectNulls:!0,symbol:"roundRect",...moduleConfig.value.series||{},lineStyle:{width:2,color,...moduleConfig.value.series&&moduleConfig.value.series.lineStyle||{}},itemStyle:{width:2,color,...moduleConfig.value.series&&moduleConfig.value.series.itemStyle||{}},type:moduleConfig.value.chartType==="bar"?"bar":"line",yAxisIndex:Pro.isPro()&&moduleConfig.value.yAxis&&Array.isArray(moduleConfig.value.yAxis)&&moduleConfig.value.yAxis.length>1&&config.moduleConfig&&Number.isInteger(config.moduleConfig.yaxis)?config.moduleConfig.yaxis:0,deviceId:config.deviceId,stateKey:config.primaryStateKey,data},findSerieIndex=chartSeries.value.findIndex(t=>t.deviceId===config.deviceId&&t.stateKey===config.primaryStateKey);chartSeries.value[findSerieIndex]=chartSerie,key.value=v4(),window.dispatchEvent(new Event("resize"))},subscriptionKeys=[],subscribe=()=>{const t={...moduleConfig.value,...userConfig.value,count:999999,aggregate:"none"};if(t.timeType==="timeline")t.start=new Date(t.timeTimelineDate.from.year,t.timeTimelineDate.from.month-1,t.timeTimelineDate.from.day).getTime(),t.end=new Date(t.timeTimelineDate.to.year,t.timeTimelineDate.to.month-1,t.timeTimelineDate.to.day).getTime(),t.count=differenceInDays(t.end,t.start)*200;else{let r=(t.timeReviewValue||7)*1e3;switch(t.timeReviewUnit){case"seconds":break;case"minutes":r=r*60;break;case"hours":r=r*60*60;break;case"weeks":r=r*60*60*24*7;break;case"months":r=r*60*60*24*31;break;case"days":default:r=r*60*60*24;break}t.review=r}chartLabels={},!props.widget.items||props.widget.items.length===0?(loaded.value=!0,errors.value.noDevices="No devices defined for HistoryGraph!"):(delete errors.value.noDevices,props.widget.items.forEach(r=>{if(r.type==="device"){chartSeries.value.some(w=>w.deviceId===r.deviceId&&w.stateKey===r.primaryStateKey)||chartSeries.value.push({deviceId:r.deviceId,stateKey:r.primaryStateKey,type:moduleConfig.value.chartType==="bar"?"bar":"line",data:[]});const o=(w,{subscriptionKey:S,history:C},T,I)=>{if(loaded.value=!0,w||!C){const E=w&&w.message||"Invalid History Data";return errors.value[S]=T.stateKey+": "+E+"!",errors.value}else if(!subscriptionKeys||!Array.isArray(subscriptionKeys)||subscriptionKeys.length===0||subscriptionKeys[subscriptionKeys.length-1].subscriptionKey!==S)return;delete errors.value[S],delete chartLabels[I.id+":"+T.stateKey],addSerieToChart(C,r,T,I)},{start:a,end:u,review:d,step:g,count:v,ack:y,ignoreNull:A,aggregate:b}=t,_=Devices.history(r.deviceId,r.primaryStateKey,{timeRefresh:t.timeRefresh,timeType:t.timeType,timeReviewUnit:t.timeReviewUnit,start:a,end:u,review:d,step:g,count:v,ack:y,ignoreNull:A,aggregate:b,instance:r.historyAdapter||moduleConfig.value.defaultHistoryAdapter},o);if(subscriptionKeys.length>0){const w=subscriptionKeys.findIndex(S=>S===_);subscriptionKeys.splice(w,1)}subscriptionKeys.push({subscriptionKey:_,deviceId:r.deviceId,stateKey:r.primaryStateKey})}}))},chartOptions=computed(()=>{const t=Pro.isPro()&&moduleConfig.value.yAxis?moduleConfig.value.yAxis:null;!Pro.isPro()&&(moduleConfig.value.xAxis||moduleConfig.value.yAxis)&&Pro.warn("HistoryGraph: Axis Configuration is only available to Pro!");let r=10;const o=2;let a=90;return moduleConfig.value.zoom&&(r+=10,a-=10),moduleConfig.value.dataZoom&&(a-=17),moduleConfig.value.legend==="top"&&(r+=10,a-=10),moduleConfig.value.legend==="bottom"&&(a-=10),{key:unref(key),backgroundColor:"transparent",tooltip:{trigger:"axis",position:(d,g,v,y,A)=>{const b=d[0],_=A.viewSize[0];return b>_/2?{left:b-A.contentSize[0],top:"10%"}:{left:b,top:"10%"}},formatter:d=>{const g=Array.isArray(d)?d:[],v={};g.forEach(A=>{let[,b,_,w]=A.data||[];_=typeof _=="object"?_[b]||_.default:_,b=w&&w.moduleConfig&&(w.moduleConfig.deviceCallback===!0||moduleConfig.value.chartCallback)?b:typeof b=="number"?b.toFixed(2):"-",v[A.seriesId]=""+A.marker+''+A.seriesName+''+b+(_?" "+_:"")+""});const y=g.find(A=>A.axisType==="xAxis.time");return y?format$2(y.axisValueLabel,"dd.MM.yyyy, HH:mm:ss")+"
    "+Object.values(v).join("
    "):null}},legend:{show:moduleConfig.value.legend!=="off",bottom:moduleConfig.value.legend==="bottom"?moduleConfig.value.dataZoom?50:0:"auto",padding:[10,10,0,10],textStyle:{color:$q.dark.isActive?"#fff":"#666"}},grid:{top:r+"%",left:"2%",right:"2%",bottom:o+"%",containLabel:!0,height:a+"%"},toolbox:{feature:{dataZoom:{show:moduleConfig.value.zoom,yAxisIndex:"none"}}},xAxis:{...Pro.isPro()&&moduleConfig.value.xAxis||{},min:moduleConfig.value.xMin,max:moduleConfig.value.xMax,axisLabel:{fontSize:10,...Pro.isPro()&&moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel||{},formatter:Pro.isPro()&&moduleConfig.value.xCallback?moduleConfig.value.xCallback:moduleConfig.value.dateFormat?moduleConfig.value.dateFormat.replace("HH:mm|dd.MM.","{HH}:{mm}|{dd}.{MM}.").replace(/\|/g,` +`:"
    ",E=_.join(I);this._showOrMove(v,function(){this._updateContentNotChangedOnAxis(o,A)?this._updatePosition(v,S,g[0],g[1],this._tooltipContent,A):this._showTooltipContent(v,E,A,Math.random()+"",g[0],g[1],S,null,w)})},r.prototype._showSeriesItemTooltip=function(o,a,u){var d=this._ecModel,g=getECData(a),v=g.seriesIndex,y=d.getSeriesByIndex(v),A=g.dataModel||y,b=g.dataIndex,_=g.dataType,w=A.getData(_),S=this._renderMode,C=o.positionDefault,T=buildTooltipModel([w.getItemModel(b),A,y&&(y.coordinateSystem||{}).model],this._tooltipModel,C?{position:C}:null),I=T.get("trigger");if(!(I!=null&&I!=="item")){var E=A.getDataParams(b,_),F=new TooltipMarkupStyleCreator;E.marker=F.makeTooltipMarker("item",convertToColorString(E.color),S);var O=normalizeTooltipFormatResult(A.formatTooltip(b,!1,_)),D=T.get("order"),x=T.get("valueFormatter"),P=O.frag,G=P?buildTooltipMarkup(x?extend({valueFormatter:x},P):P,F,S,D,d.get("useUTC"),T.get("textStyle")):O.text,M="item_"+A.name+"_"+b;this._showOrMove(T,function(){this._showTooltipContent(T,G,E,M,o.offsetX,o.offsetY,o.position,o.target,F)}),u({type:"showTip",dataIndexInside:b,dataIndex:w.getRawIndex(b),seriesIndex:v,from:this.uid})}},r.prototype._showComponentItemTooltip=function(o,a,u){var d=this._renderMode==="html",g=getECData(a),v=g.tooltipConfig,y=v.option||{},A=y.encodeHTMLContent;if(isString$1(y)){var b=y;y={content:b,formatter:b},A=!0}A&&d&&y.content&&(y=clone$5(y),y.content=encodeHTML(y.content));var _=[y],w=this._ecModel.getComponent(g.componentMainType,g.componentIndex);w&&_.push(w),_.push({formatter:y.content});var S=o.positionDefault,C=buildTooltipModel(_,this._tooltipModel,S?{position:S}:null),T=C.get("content"),I=Math.random()+"",E=new TooltipMarkupStyleCreator;this._showOrMove(C,function(){var F=clone$5(C.get("formatterParams")||{});this._showTooltipContent(C,T,F,I,o.offsetX,o.offsetY,o.position,a,E)}),u({type:"showTip",from:this.uid})},r.prototype._showTooltipContent=function(o,a,u,d,g,v,y,A,b){if(this._ticket="",!(!o.get("showContent")||!o.get("show"))){var _=this._tooltipContent;_.setEnterable(o.get("enterable"));var w=o.get("formatter");y=y||o.get("position");var S=a,C=this._getNearestPoint([g,v],u,o.get("trigger"),o.get("borderColor")),T=C.color;if(w)if(isString$1(w)){var I=o.ecModel.get("useUTC"),E=isArray$1(u)?u[0]:u,F=E&&E.axisType&&E.axisType.indexOf("time")>=0;S=w,F&&(S=format(E.axisValue,S,I)),S=formatTpl(S,u,!0)}else if(isFunction(w)){var O=bind$1(function(D,x){D===this._ticket&&(_.setContent(x,b,o,T,y),this._updatePosition(o,y,g,v,_,u,A))},this);this._ticket=d,S=w(u,d,O)}else S=w;_.setContent(S,b,o,T,y),_.show(o,T),this._updatePosition(o,y,g,v,_,u,A)}},r.prototype._getNearestPoint=function(o,a,u,d){if(u==="axis"||isArray$1(a))return{color:d||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(a))return{color:d||a.color||a.borderColor}},r.prototype._updatePosition=function(o,a,u,d,g,v,y){var A=this._api.getWidth(),b=this._api.getHeight();a=a||o.get("position");var _=g.getSize(),w=o.get("align"),S=o.get("verticalAlign"),C=y&&y.getBoundingRect().clone();if(y&&C.applyTransform(y.transform),isFunction(a)&&(a=a([u,d],v,g.el,C,{viewSize:[A,b],contentSize:_.slice()})),isArray$1(a))u=parsePercent(a[0],A),d=parsePercent(a[1],b);else if(isObject$3(a)){var T=a;T.width=_[0],T.height=_[1];var I=getLayoutRect(T,{width:A,height:b});u=I.x,d=I.y,w=null,S=null}else if(isString$1(a)&&y){var E=calcTooltipPosition(a,C,_,o.get("borderWidth"));u=E[0],d=E[1]}else{var E=refixTooltipPosition(u,d,g,A,b,w?null:20,S?null:20);u=E[0],d=E[1]}if(w&&(u-=isCenterAlign(w)?_[0]/2:w==="right"?_[0]:0),S&&(d-=isCenterAlign(S)?_[1]/2:S==="bottom"?_[1]:0),shouldTooltipConfine(o)){var E=confineTooltipPosition(u,d,g,A,b);u=E[0],d=E[1]}g.moveTo(u,d)},r.prototype._updateContentNotChangedOnAxis=function(o,a){var u=this._lastDataByCoordSys,d=this._cbParamsList,g=!!u&&u.length===o.length;return g&&each$f(u,function(v,y){var A=v.dataByAxis||[],b=o[y]||{},_=b.dataByAxis||[];g=g&&A.length===_.length,g&&each$f(A,function(w,S){var C=_[S]||{},T=w.seriesDataIndices||[],I=C.seriesDataIndices||[];g=g&&w.value===C.value&&w.axisType===C.axisType&&w.axisId===C.axisId&&T.length===I.length,g&&each$f(T,function(E,F){var O=I[F];g=g&&E.seriesIndex===O.seriesIndex&&E.dataIndex===O.dataIndex}),d&&each$f(w.seriesDataIndices,function(E){var F=E.seriesIndex,O=a[F],D=d[F];O&&D&&D.data!==O.data&&(g=!1)})})}),this._lastDataByCoordSys=o,this._cbParamsList=a,!!g},r.prototype._hide=function(o){this._lastDataByCoordSys=null,o({type:"hideTip",from:this.uid})},r.prototype.dispose=function(o,a){env$1.node||!a.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",a))},r.type="tooltip",r}(ComponentView$1);function buildTooltipModel(t,r,o){var a=r.ecModel,u;o?(u=new Model$1(o,a,a),u=new Model$1(r.option,u,a)):u=r;for(var d=t.length-1;d>=0;d--){var g=t[d];g&&(g instanceof Model$1&&(g=g.get("tooltip",!0)),isString$1(g)&&(g={formatter:g}),g&&(u=new Model$1(g,u,a)))}return u}function makeDispatchAction(t,r){return t.dispatchAction||bind$1(r.dispatchAction,r)}function refixTooltipPosition(t,r,o,a,u,d,g){var v=o.getSize(),y=v[0],A=v[1];return d!=null&&(t+y+d+2>a?t-=y+d:t+=d),g!=null&&(r+A+g>u?r-=A+g:r+=g),[t,r]}function confineTooltipPosition(t,r,o,a,u){var d=o.getSize(),g=d[0],v=d[1];return t=Math.min(t+g,a)-g,r=Math.min(r+v,u)-v,t=Math.max(t,0),r=Math.max(r,0),[t,r]}function calcTooltipPosition(t,r,o,a){var u=o[0],d=o[1],g=Math.ceil(Math.SQRT2*a)+8,v=0,y=0,A=r.width,b=r.height;switch(t){case"inside":v=r.x+A/2-u/2,y=r.y+b/2-d/2;break;case"top":v=r.x+A/2-u/2,y=r.y-d-g;break;case"bottom":v=r.x+A/2-u/2,y=r.y+b+g;break;case"left":v=r.x-u-g,y=r.y+b/2-d/2;break;case"right":v=r.x+A+g,y=r.y+b/2-d/2}return[v,y]}function isCenterAlign(t){return t==="center"||t==="middle"}function findComponentReference(t,r,o){var a=preParseFinder(t).queryOptionMap,u=a.keys()[0];if(!(!u||u==="series")){var d=queryReferringComponents(r,u,a.get(u),{useDefault:!1,enableAll:!1,enableNone:!1}),g=d.models[0];if(!!g){var v=o.getViewOfComponentModel(g),y;if(v.group.traverse(function(A){var b=getECData(A).tooltipConfig;if(b&&b.name===t.name)return y=A,!0}),y)return{componentMainType:u,componentIndex:g.componentIndex,el:y}}}}var TooltipView$1=TooltipView;function install$i(t){use(install$q),t.registerComponentModel(TooltipModel$1),t.registerComponentView(TooltipView$1),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(t,r){var o=normalizeToArray(t?t.brush:[]);if(!!o.length){var a=[];each$f(o,function(y){var A=y.hasOwnProperty("toolbox")?y.toolbox:[];A instanceof Array&&(a=a.concat(A))});var u=t&&t.toolbox;isArray$1(u)&&(u=u[0]),u||(u={feature:{}},t.toolbox=[u]);var d=u.feature||(u.feature={}),g=d.brush||(d.brush={}),v=g.type||(g.type=[]);v.push.apply(v,a),removeDuplicate(v),r&&!v.length&&v.push.apply(v,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(t){var r={};each$f(t,function(o){r[o]=1}),t.length=0,each$f(r,function(o,a){t.push(a)})}var each$4=each$f;function hasKeys(t){if(t){for(var r in t)if(t.hasOwnProperty(r))return!0}}function createVisualMappings(t,r,o){var a={};return each$4(r,function(d){var g=a[d]=u();each$4(t[d],function(v,y){if(!!VisualMapping$1.isValidType(y)){var A={type:y,visual:v};o&&o(A,d),g[y]=new VisualMapping$1(A),y==="opacity"&&(A=clone$5(A),A.type="colorAlpha",g.__hidden.__alphaForOpacity=new VisualMapping$1(A))}})}),a;function u(){var d=function(){};d.prototype.__hidden=d.prototype;var g=new d;return g}}function replaceVisualOption(t,r,o){var a;each$f(o,function(u){r.hasOwnProperty(u)&&hasKeys(r[u])&&(a=!0)}),a&&each$f(o,function(u){r.hasOwnProperty(u)&&hasKeys(r[u])?t[u]=clone$5(r[u]):delete t[u]})}function applyVisual(t,r,o,a,u,d){var g={};each$f(t,function(_){var w=VisualMapping$1.prepareVisualTypes(r[_]);g[_]=w});var v;function y(_){return getItemVisualFromData(o,v,_)}function A(_,w){setItemVisualFromData(o,v,_,w)}d==null?o.each(b):o.each([d],b);function b(_,w){v=d==null?_:w;var S=o.getRawDataItem(v);if(!(S&&S.visualMap===!1))for(var C=a.call(u,_),T=r[C],I=g[C],E=0,F=I.length;Er[0][1]&&(r[0][1]=d[0]),d[1]r[1][1]&&(r[1][1]=d[1])}return r&&getBoundingRectFromMinMax(r)}};function getBoundingRectFromMinMax(t){return new BoundingRect$1(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var BrushView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){this.ecModel=o,this.api=a,this.model,(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this)).mount()},r.prototype.render=function(o,a,u,d){this.model=o,this._updateController(o,a,u,d)},r.prototype.updateTransform=function(o,a,u,d){layoutCovers(a),this._updateController(o,a,u,d)},r.prototype.updateVisual=function(o,a,u,d){this.updateTransform(o,a,u,d)},r.prototype.updateView=function(o,a,u,d){this._updateController(o,a,u,d)},r.prototype._updateController=function(o,a,u,d){(!d||d.$from!==o.id)&&this._brushController.setPanels(o.brushTargetManager.makePanelOpts(u)).enableBrush(o.brushOption).updateCovers(o.areas.slice())},r.prototype.dispose=function(){this._brushController.dispose()},r.prototype._onBrush=function(o){var a=this.model.id,u=this.model.brushTargetManager.setOutputRanges(o.areas,this.ecModel);(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:clone$5(u),$from:a}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:clone$5(u),$from:a})},r.type="brush",r}(ComponentView$1),BrushView$1=BrushView,DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.areas=[],o.brushOption={},o}return r.prototype.optionUpdated=function(o,a){var u=this.option;!a&&replaceVisualOption(u,o,["inBrush","outOfBrush"]);var d=u.inBrush=u.inBrush||{};u.outOfBrush=u.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},d.hasOwnProperty("liftZ")||(d.liftZ=5)},r.prototype.setAreas=function(o){!o||(this.areas=map$1(o,function(a){return generateBrushOption(this.option,a)},this))},r.prototype.setBrushOption=function(o){this.brushOption=generateBrushOption(this.option,o),this.brushType=this.brushOption.brushType},r.type="brush",r.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],r.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},r}(ComponentModel$1);function generateBrushOption(t,r){return merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Model$1(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},r,!0)}var BrushModel$1=BrushModel,ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(t){__extends$1(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(o,a,u){var d,g,v;a.eachComponent({mainType:"brush"},function(y){d=y.brushType,g=y.brushOption.brushMode||"single",v=v||!!y.areas.length}),this._brushType=d,this._brushMode=g,each$f(o.get("type",!0),function(y){o.setIconStatus(y,(y==="keep"?g==="multiple":y==="clear"?v:y===d)?"emphasis":"normal")})},r.prototype.updateView=function(o,a,u){this.render(o,a,u)},r.prototype.getIcons=function(){var o=this.model,a=o.get("icon",!0),u={};return each$f(o.get("type",!0),function(d){a[d]&&(u[d]=a[d])}),u},r.prototype.onclick=function(o,a,u){var d=this._brushType,g=this._brushMode;u==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:u==="keep"?d:d===u?!1:u,brushMode:u==="keep"?g==="multiple"?"single":"multiple":g}})},r.getDefaultOption=function(o){var a={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:o.getLocaleModel().get(["toolbox","brush","title"])};return a},r}(ToolboxFeature),BrushFeature$1=BrushFeature;function install$h(t){t.registerComponentView(BrushView$1),t.registerComponentModel(BrushModel$1),t.registerPreprocessor(brushPreprocessor),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,brushVisual),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(r,o){o.eachComponent({mainType:"brush",query:r},function(a){a.setAreas(r.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop),registerFeature("brush",BrushFeature$1)}var TitleModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.layoutMode={type:"box",ignoreSize:!0},o}return r.type="title",r.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},r}(ComponentModel$1),TitleView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.render=function(o,a,u){if(this.group.removeAll(),!!o.get("show")){var d=this.group,g=o.getModel("textStyle"),v=o.getModel("subtextStyle"),y=o.get("textAlign"),A=retrieve2(o.get("textBaseline"),o.get("textVerticalAlign")),b=new ZRText$1({style:createTextStyle(g,{text:o.get("text"),fill:g.getTextColor()},{disableBox:!0}),z2:10}),_=b.getBoundingRect(),w=o.get("subtext"),S=new ZRText$1({style:createTextStyle(v,{text:w,fill:v.getTextColor(),y:_.height+o.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),C=o.get("link"),T=o.get("sublink"),I=o.get("triggerEvent",!0);b.silent=!C&&!I,S.silent=!T&&!I,C&&b.on("click",function(){windowOpen(C,"_"+o.get("target"))}),T&&S.on("click",function(){windowOpen(T,"_"+o.get("subtarget"))}),getECData(b).eventData=getECData(S).eventData=I?{componentType:"title",componentIndex:o.componentIndex}:null,d.add(b),w&&d.add(S);var E=d.getBoundingRect(),F=o.getBoxLayoutParams();F.width=E.width,F.height=E.height;var O=getLayoutRect(F,{width:u.getWidth(),height:u.getHeight()},o.get("padding"));y||(y=o.get("left")||o.get("right"),y==="middle"&&(y="center"),y==="right"?O.x+=O.width:y==="center"&&(O.x+=O.width/2)),A||(A=o.get("top")||o.get("bottom"),A==="center"&&(A="middle"),A==="bottom"?O.y+=O.height:A==="middle"&&(O.y+=O.height/2),A=A||"top"),d.x=O.x,d.y=O.y,d.markRedraw();var D={align:y,verticalAlign:A};b.setStyle(D),S.setStyle(D),E=d.getBoundingRect();var x=O.margin,P=o.getItemStyle(["color","opacity"]);P.fill=o.get("backgroundColor");var G=new Rect$3({shape:{x:E.x-x[3],y:E.y-x[0],width:E.width+x[1]+x[3],height:E.height+x[0]+x[2],r:o.get("borderRadius")},style:P,subPixelOptimize:!0,silent:!0});d.add(G)}},r.type="title",r}(ComponentView$1);function install$g(t){t.registerComponentModel(TitleModel),t.registerComponentView(TitleView)}var TimelineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.layoutMode="box",o}return r.prototype.init=function(o,a,u){this.mergeDefaultAndTheme(o,u),this._initData()},r.prototype.mergeOption=function(o){t.prototype.mergeOption.apply(this,arguments),this._initData()},r.prototype.setCurrentIndex=function(o){o==null&&(o=this.option.currentIndex);var a=this._data.count();this.option.loop?o=(o%a+a)%a:(o>=a&&(o=a-1),o<0&&(o=0)),this.option.currentIndex=o},r.prototype.getCurrentIndex=function(){return this.option.currentIndex},r.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},r.prototype.setPlayState=function(o){this.option.autoPlay=!!o},r.prototype.getPlayState=function(){return!!this.option.autoPlay},r.prototype._initData=function(){var o=this.option,a=o.data||[],u=o.axisType,d=this._names=[],g;u==="category"?(g=[],each$f(a,function(A,b){var _=convertOptionIdName(getDataItemValue(A),""),w;isObject$3(A)?(w=clone$5(A),w.value=b):w=b,g.push(w),d.push(_)})):g=a;var v={category:"ordinal",time:"time",value:"number"}[u]||"number",y=this._data=new SeriesData$1([{name:"value",type:v}],this);y.initData(g,d)},r.prototype.getData=function(){return this._data},r.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},r.type="timeline",r.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},r}(ComponentModel$1),TimelineModel$1=TimelineModel,SliderTimelineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="timeline.slider",r.defaultOption=inheritDefaultOption(TimelineModel$1.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),r}(TimelineModel$1);mixin(SliderTimelineModel,DataFormatMixin.prototype);var SliderTimelineModel$1=SliderTimelineModel,TimelineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="timeline",r}(ComponentView$1),TimelineView$1=TimelineView,TimelineAxis=function(t){__extends$1(r,t);function r(o,a,u,d){var g=t.call(this,o,a,u)||this;return g.type=d||"value",g}return r.prototype.getLabelModel=function(){return this.model.getModel("label")},r.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},r}(Axis$1),TimelineAxis$1=TimelineAxis,PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(o,a){this.api=a},r.prototype.render=function(o,a,u){if(this.model=o,this.api=u,this.ecModel=a,this.group.removeAll(),o.get("show",!0)){var d=this._layout(o,u),g=this._createGroup("_mainGroup"),v=this._createGroup("_labelGroup"),y=this._axis=this._createAxis(d,o);o.formatTooltip=function(A){var b=y.scale.getLabel({value:A});return createTooltipMarkup("nameValue",{noName:!0,value:b})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(A){this["_render"+A](d,g,y,o)},this),this._renderAxisLabel(d,v,y,o),this._position(d,o)}this._doPlayStop(),this._updateTicksStatus()},r.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},r.prototype.dispose=function(){this._clearTimer()},r.prototype._layout=function(o,a){var u=o.get(["label","position"]),d=o.get("orient"),g=getViewRect(o,a),v;u==null||u==="auto"?v=d==="horizontal"?g.y+g.height/2=0||v==="+"?"left":"right"},A={horizontal:v>=0||v==="+"?"top":"bottom",vertical:"middle"},b={horizontal:0,vertical:PI/2},_=d==="vertical"?g.height:g.width,w=o.getModel("controlStyle"),S=w.get("show",!0),C=S?w.get("itemSize"):0,T=S?w.get("itemGap"):0,I=C+T,E=o.get(["label","rotate"])||0;E=E*PI/180;var F,O,D,x=w.get("position",!0),P=S&&w.get("showPlayBtn",!0),G=S&&w.get("showPrevBtn",!0),M=S&&w.get("showNextBtn",!0),N=0,V=_;x==="left"||x==="bottom"?(P&&(F=[0,0],N+=I),G&&(O=[N,0],N+=I),M&&(D=[V-C,0],V-=I)):(P&&(F=[V-C,0],V-=I),G&&(O=[0,0],N+=I),M&&(D=[V-C,0],V-=I));var Z=[N,V];return o.get("inverse")&&Z.reverse(),{viewRect:g,mainLength:_,orient:d,rotation:b[d],labelRotation:E,labelPosOpt:v,labelAlign:o.get(["label","align"])||y[d],labelBaseline:o.get(["label","verticalAlign"])||o.get(["label","baseline"])||A[d],playPosition:F,prevBtnPosition:O,nextBtnPosition:D,axisExtent:Z,controlSize:C,controlGap:T}},r.prototype._position=function(o,a){var u=this._mainGroup,d=this._labelGroup,g=o.viewRect;if(o.orient==="vertical"){var v=create$1(),y=g.x,A=g.y+g.height;translate(v,v,[-y,-A]),rotate(v,v,-PI/2),translate(v,v,[y,A]),g=g.clone(),g.applyTransform(v)}var b=F(g),_=F(u.getBoundingRect()),w=F(d.getBoundingRect()),S=[u.x,u.y],C=[d.x,d.y];C[0]=S[0]=b[0][0];var T=o.labelPosOpt;if(T==null||isString$1(T)){var I=T==="+"?0:1;O(S,_,b,1,I),O(C,w,b,1,1-I)}else{var I=T>=0?0:1;O(S,_,b,1,I),C[1]=S[1]+T}u.setPosition(S),d.setPosition(C),u.rotation=d.rotation=o.rotation,E(u),E(d);function E(D){D.originX=b[0][0]-D.x,D.originY=b[1][0]-D.y}function F(D){return[[D.x,D.x+D.width],[D.y,D.y+D.height]]}function O(D,x,P,G,M){D[G]+=P[G][M]-x[G][M]}},r.prototype._createAxis=function(o,a){var u=a.getData(),d=a.get("axisType"),g=createScaleByModel(a,d);g.getTicks=function(){return u.mapArray(["value"],function(A){return{value:A}})};var v=u.getDataExtent("value");g.setExtent(v[0],v[1]),g.calcNiceTicks();var y=new TimelineAxis$1("value",g,o.axisExtent,d);return y.model=a,y},r.prototype._createGroup=function(o){var a=this[o]=new Group$4;return this.group.add(a),a},r.prototype._renderAxisLine=function(o,a,u,d){var g=u.getExtent();if(!!d.get(["lineStyle","show"])){var v=new Line$3({shape:{x1:g[0],y1:0,x2:g[1],y2:0},style:extend({lineCap:"round"},d.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(v);var y=this._progressLine=new Line$3({shape:{x1:g[0],x2:this._currentPointer?this._currentPointer.x:g[0],y1:0,y2:0},style:defaults({lineCap:"round",lineWidth:v.style.lineWidth},d.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(y)}},r.prototype._renderAxisTick=function(o,a,u,d){var g=this,v=d.getData(),y=u.scale.getTicks();this._tickSymbols=[],each$f(y,function(A){var b=u.dataToCoord(A.value),_=v.getItemModel(A.value),w=_.getModel("itemStyle"),S=_.getModel(["emphasis","itemStyle"]),C=_.getModel(["progress","itemStyle"]),T={x:b,y:0,onclick:bind$1(g._changeTimeline,g,A.value)},I=giveSymbol(_,w,a,T);I.ensureState("emphasis").style=S.getItemStyle(),I.ensureState("progress").style=C.getItemStyle(),enableHoverEmphasis(I);var E=getECData(I);_.get("tooltip")?(E.dataIndex=A.value,E.dataModel=d):E.dataIndex=E.dataModel=null,g._tickSymbols.push(I)})},r.prototype._renderAxisLabel=function(o,a,u,d){var g=this,v=u.getLabelModel();if(!!v.get("show")){var y=d.getData(),A=u.getViewLabels();this._tickLabels=[],each$f(A,function(b){var _=b.tickValue,w=y.getItemModel(_),S=w.getModel("label"),C=w.getModel(["emphasis","label"]),T=w.getModel(["progress","label"]),I=u.dataToCoord(b.tickValue),E=new ZRText$1({x:I,y:0,rotation:o.labelRotation-o.rotation,onclick:bind$1(g._changeTimeline,g,_),silent:!1,style:createTextStyle(S,{text:b.formattedLabel,align:o.labelAlign,verticalAlign:o.labelBaseline})});E.ensureState("emphasis").style=createTextStyle(C),E.ensureState("progress").style=createTextStyle(T),a.add(E),enableHoverEmphasis(E),labelDataIndexStore(E).dataIndex=_,g._tickLabels.push(E)})}},r.prototype._renderControl=function(o,a,u,d){var g=o.controlSize,v=o.rotation,y=d.getModel("controlStyle").getItemStyle(),A=d.getModel(["emphasis","controlStyle"]).getItemStyle(),b=d.getPlayState(),_=d.get("inverse",!0);w(o.nextBtnPosition,"next",bind$1(this._changeTimeline,this,_?"-":"+")),w(o.prevBtnPosition,"prev",bind$1(this._changeTimeline,this,_?"+":"-")),w(o.playPosition,b?"stop":"play",bind$1(this._handlePlayClick,this,!b),!0);function w(S,C,T,I){if(!!S){var E=parsePercent$1(retrieve2(d.get(["controlStyle",C+"BtnSize"]),g),g),F=[0,-E/2,E,E],O=makeControlIcon(d,C+"Icon",F,{x:S[0],y:S[1],originX:g/2,originY:0,rotation:I?-v:0,rectHover:!0,style:y,onclick:T});O.ensureState("emphasis").style=A,a.add(O),enableHoverEmphasis(O)}}},r.prototype._renderCurrentPointer=function(o,a,u,d){var g=d.getData(),v=d.getCurrentIndex(),y=g.getItemModel(v).getModel("checkpointStyle"),A=this,b={onCreate:function(_){_.draggable=!0,_.drift=bind$1(A._handlePointerDrag,A),_.ondragend=bind$1(A._handlePointerDragend,A),pointerMoveTo(_,A._progressLine,v,u,d,!0)},onUpdate:function(_){pointerMoveTo(_,A._progressLine,v,u,d)}};this._currentPointer=giveSymbol(y,y,this._mainGroup,{},this._currentPointer,b)},r.prototype._handlePlayClick=function(o){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:o,from:this.uid})},r.prototype._handlePointerDrag=function(o,a,u){this._clearTimer(),this._pointerChangeTimeline([u.offsetX,u.offsetY])},r.prototype._handlePointerDragend=function(o){this._pointerChangeTimeline([o.offsetX,o.offsetY],!0)},r.prototype._pointerChangeTimeline=function(o,a){var u=this._toAxisCoord(o)[0],d=this._axis,g=asc$2(d.getExtent().slice());u>g[1]&&(u=g[1]),u=0&&(g[d]=+g[d].toFixed(w)),[g,_]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(t,r){if(!!r){var o=t.getData(),a=t.coordinateSystem,u=a&&a.dimensions;if(!hasXAndY(r)&&!isArray$1(r.coord)&&isArray$1(u)){var d=getAxisInfo(r,o,a,t);if(r=clone$5(r),r.type&&markerTypeCalculator[r.type]&&d.baseAxis&&d.valueAxis){var g=indexOf$1(u,d.baseAxis.dim),v=indexOf$1(u,d.valueAxis.dim),y=markerTypeCalculator[r.type](o,d.baseDataDim,d.valueDataDim,g,v);r.coord=y[0],r.value=y[1]}else r.coord=[r.xAxis!=null?r.xAxis:r.radiusAxis,r.yAxis!=null?r.yAxis:r.angleAxis]}if(r.coord==null||!isArray$1(u))r.coord=[];else for(var A=r.coord,b=0;b<2;b++)markerTypeCalculator[A[b]]&&(A[b]=numCalculate(o,o.mapDimension(u[b]),A[b]));return r}}function getAxisInfo(t,r,o,a){var u={};return t.valueIndex!=null||t.valueDim!=null?(u.valueDataDim=t.valueIndex!=null?r.getDimension(t.valueIndex):t.valueDim,u.valueAxis=o.getAxis(dataDimToCoordDim(a,u.valueDataDim)),u.baseAxis=o.getOtherAxis(u.valueAxis),u.baseDataDim=r.mapDimension(u.baseAxis.dim)):(u.baseAxis=a.getBaseAxis(),u.valueAxis=o.getOtherAxis(u.baseAxis),u.baseDataDim=r.mapDimension(u.baseAxis.dim),u.valueDataDim=r.mapDimension(u.valueAxis.dim)),u}function dataDimToCoordDim(t,r){var o=t.getData().getDimensionInfo(r);return o&&o.coordDim}function dataFilter(t,r){return t&&t.containData&&r.coord&&!hasXOrY(r)?t.containData(r.coord):!0}function zoneFilter(t,r,o){return t&&t.containZone&&r.coord&&o.coord&&!hasXOrY(r)&&!hasXOrY(o)?t.containZone(r.coord,o.coord):!0}function createMarkerDimValueGetter(t,r){return t?function(o,a,u,d){var g=d<2?o.coord&&o.coord[d]:o.value;return parseDataValue(g,r[d])}:function(o,a,u,d){return parseDataValue(o.value,r[d])}}function numCalculate(t,r,o){if(o==="average"){var a=0,u=0;return t.each(r,function(d,g){isNaN(d)||(a+=d,u++)}),a/u}else return o==="median"?t.getMedian(r):t.getDataExtent(r)[o==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.init=function(){this.markerGroupMap=createHashMap()},r.prototype.render=function(o,a,u){var d=this,g=this.markerGroupMap;g.each(function(v){inner$4(v).keep=!1}),a.eachSeries(function(v){var y=MarkerModel$1.getMarkerModelFromSeries(v,d.type);y&&d.renderSeries(v,y,a,u)}),g.each(function(v){!inner$4(v).keep&&d.group.remove(v.group)})},r.prototype.markKeep=function(o){inner$4(o).keep=!0},r.prototype.toggleBlurSeries=function(o,a){var u=this;each$f(o,function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,u.type);if(g){var v=g.getData();v.eachItemGraphicEl(function(y){y&&(a?enterBlur(y):leaveBlur(y))})}})},r.type="marker",r}(ComponentView$1),MarkerView$1=MarkerView;function updateMarkerLayout(t,r,o){var a=r.coordinateSystem;t.each(function(u){var d=t.getItemModel(u),g,v=parsePercent(d.get("x"),o.getWidth()),y=parsePercent(d.get("y"),o.getHeight());if(!isNaN(v)&&!isNaN(y))g=[v,y];else if(r.getMarkerPosition)g=r.getMarkerPosition(t.getValues(t.dimensions,u));else if(a){var A=t.get(a.dimensions[0],u),b=t.get(a.dimensions[1],u);g=a.dataToPoint([A,b])}isNaN(v)||(g[0]=v),isNaN(y)||(g[1]=y),t.setItemLayout(u,g)})}var MarkPointView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markPoint");g&&(updateMarkerLayout(g.getData(),d,u),this.markerGroupMap.get(d.id).updateLayout())},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,new SymbolDraw$1),_=createData(g,o,a);a.setData(_),updateMarkerLayout(a.getData(),o,d),_.each(function(w){var S=_.getItemModel(w),C=S.getShallow("symbol"),T=S.getShallow("symbolSize"),I=S.getShallow("symbolRotate"),E=S.getShallow("symbolOffset"),F=S.getShallow("symbolKeepAspect");if(isFunction(C)||isFunction(T)||isFunction(I)||isFunction(E)){var O=a.getRawValue(w),D=a.getDataParams(w);isFunction(C)&&(C=C(O,D)),isFunction(T)&&(T=T(O,D)),isFunction(I)&&(I=I(O,D)),isFunction(E)&&(E=E(O,D))}var x=S.getModel("itemStyle").getItemStyle(),P=getVisualFromData(y,"color");x.fill||(x.fill=P),_.setItemVisual(w,{symbol:C,symbolSize:T,symbolRotate:I,symbolOffset:E,symbolKeepAspect:F,style:x})}),b.updateData(_),this.group.add(b.group),_.eachItemGraphicEl(function(w){w.traverse(function(S){getECData(S).dataModel=a})}),this.markKeep(b),b.group.silent=a.get("silent")||o.get("silent")},r.type="markPoint",r}(MarkerView$1);function createData(t,r,o){var a;t?a=map$1(t&&t.dimensions,function(v){var y=r.getData().getDimensionInfo(r.getData().mapDimension(v))||{};return extend(extend({},y),{name:v,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var u=new SeriesData$1(a,o),d=map$1(o.get("data"),curry$1(dataTransform,r));t&&(d=filter(d,curry$1(dataFilter,t)));var g=createMarkerDimValueGetter(!!t,a);return u.initData(d,null,g),u}var MarkPointView$1=MarkPointView;function install$e(t){t.registerComponentModel(MarkPointModel$1),t.registerComponentView(MarkPointView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markPoint")&&(r.markPoint=r.markPoint||{})})}var MarkLineModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.createMarkerModelFromSeries=function(o,a,u){return new r(o,a,u)},r.type="markLine",r.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},r}(MarkerModel$1),MarkLineModel$1=MarkLineModel,inner$3=makeInner(),markLineTransform=function(t,r,o,a){var u=t.getData(),d;if(isArray$1(a))d=a;else{var g=a.type;if(g==="min"||g==="max"||g==="average"||g==="median"||a.xAxis!=null||a.yAxis!=null){var v=void 0,y=void 0;if(a.yAxis!=null||a.xAxis!=null)v=r.getAxis(a.yAxis!=null?"y":"x"),y=retrieve(a.yAxis,a.xAxis);else{var A=getAxisInfo(a,u,r,t);v=A.valueAxis;var b=getStackedDimension(u,A.valueDataDim);y=numCalculate(u,b,g)}var _=v.dim==="x"?0:1,w=1-_,S=clone$5(a),C={coord:[]};S.type=null,S.coord=[],S.coord[w]=-1/0,C.coord[w]=1/0;var T=o.get("precision");T>=0&&isNumber$1(y)&&(y=+y.toFixed(Math.min(T,20))),S.coord[_]=C.coord[_]=y,d=[S,C,{type:g,valueIndex:a.valueIndex,value:y}]}else d=[]}var I=[dataTransform(t,d[0]),dataTransform(t,d[1]),extend({},d[2])];return I[2].type=I[2].type||null,merge(I[2],I[0]),merge(I[2],I[1]),I};function isInfinity$1(t){return!isNaN(t)&&!isFinite(t)}function ifMarkLineHasOnlyDim(t,r,o,a){var u=1-t,d=a.dimensions[t];return isInfinity$1(r[u])&&isInfinity$1(o[u])&&r[t]===o[t]&&a.getAxis(d).containData(r[t])}function markLineFilter(t,r){if(t.type==="cartesian2d"){var o=r[0].coord,a=r[1].coord;if(o&&a&&(ifMarkLineHasOnlyDim(1,o,a,t)||ifMarkLineHasOnlyDim(0,o,a,t)))return!0}return dataFilter(t,r[0])&&dataFilter(t,r[1])}function updateSingleMarkerEndLayout(t,r,o,a,u){var d=a.coordinateSystem,g=t.getItemModel(r),v,y=parsePercent(g.get("x"),u.getWidth()),A=parsePercent(g.get("y"),u.getHeight());if(!isNaN(y)&&!isNaN(A))v=[y,A];else{if(a.getMarkerPosition)v=a.getMarkerPosition(t.getValues(t.dimensions,r));else{var b=d.dimensions,_=t.get(b[0],r),w=t.get(b[1],r);v=d.dataToPoint([_,w])}if(isCoordinateSystemType(d,"cartesian2d")){var S=d.getAxis("x"),C=d.getAxis("y"),b=d.dimensions;isInfinity$1(t.get(b[0],r))?v[0]=S.toGlobalCoord(S.getExtent()[o?0:1]):isInfinity$1(t.get(b[1],r))&&(v[1]=C.toGlobalCoord(C.getExtent()[o?0:1]))}isNaN(y)||(v[0]=y),isNaN(A)||(v[1]=A)}t.setItemLayout(r,v)}var MarkLineView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markLine");if(g){var v=g.getData(),y=inner$3(g).from,A=inner$3(g).to;y.each(function(b){updateSingleMarkerEndLayout(y,b,!0,d,u),updateSingleMarkerEndLayout(A,b,!1,d,u)}),v.each(function(b){v.setItemLayout(b,[y.getItemLayout(b),A.getItemLayout(b)])}),this.markerGroupMap.get(d.id).updateLayout()}},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,new LineDraw$1);this.group.add(b.group);var _=createList$1(g,o,a),w=_.from,S=_.to,C=_.line;inner$3(a).from=w,inner$3(a).to=S,a.setData(C);var T=a.get("symbol"),I=a.get("symbolSize"),E=a.get("symbolRotate"),F=a.get("symbolOffset");isArray$1(T)||(T=[T,T]),isArray$1(I)||(I=[I,I]),isArray$1(E)||(E=[E,E]),isArray$1(F)||(F=[F,F]),_.from.each(function(D){O(w,D,!0),O(S,D,!1)}),C.each(function(D){var x=C.getItemModel(D).getModel("lineStyle").getLineStyle();C.setItemLayout(D,[w.getItemLayout(D),S.getItemLayout(D)]),x.stroke==null&&(x.stroke=w.getItemVisual(D,"style").fill),C.setItemVisual(D,{fromSymbolKeepAspect:w.getItemVisual(D,"symbolKeepAspect"),fromSymbolOffset:w.getItemVisual(D,"symbolOffset"),fromSymbolRotate:w.getItemVisual(D,"symbolRotate"),fromSymbolSize:w.getItemVisual(D,"symbolSize"),fromSymbol:w.getItemVisual(D,"symbol"),toSymbolKeepAspect:S.getItemVisual(D,"symbolKeepAspect"),toSymbolOffset:S.getItemVisual(D,"symbolOffset"),toSymbolRotate:S.getItemVisual(D,"symbolRotate"),toSymbolSize:S.getItemVisual(D,"symbolSize"),toSymbol:S.getItemVisual(D,"symbol"),style:x})}),b.updateData(C),_.line.eachItemGraphicEl(function(D){getECData(D).dataModel=a,D.traverse(function(x){getECData(x).dataModel=a})});function O(D,x,P){var G=D.getItemModel(x);updateSingleMarkerEndLayout(D,x,P,o,d);var M=G.getModel("itemStyle").getItemStyle();M.fill==null&&(M.fill=getVisualFromData(y,"color")),D.setItemVisual(x,{symbolKeepAspect:G.get("symbolKeepAspect"),symbolOffset:retrieve2(G.get("symbolOffset",!0),F[P?0:1]),symbolRotate:retrieve2(G.get("symbolRotate",!0),E[P?0:1]),symbolSize:retrieve2(G.get("symbolSize"),I[P?0:1]),symbol:retrieve2(G.get("symbol",!0),T[P?0:1]),style:M})}this.markKeep(b),b.group.silent=a.get("silent")||o.get("silent")},r.type="markLine",r}(MarkerView$1);function createList$1(t,r,o){var a;t?a=map$1(t&&t.dimensions,function(A){var b=r.getData().getDimensionInfo(r.getData().mapDimension(A))||{};return extend(extend({},b),{name:A,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var u=new SeriesData$1(a,o),d=new SeriesData$1(a,o),g=new SeriesData$1([],o),v=map$1(o.get("data"),curry$1(markLineTransform,r,t,o));t&&(v=filter(v,curry$1(markLineFilter,t)));var y=createMarkerDimValueGetter(!!t,a);return u.initData(map$1(v,function(A){return A[0]}),null,y),d.initData(map$1(v,function(A){return A[1]}),null,y),g.initData(map$1(v,function(A){return A[2]})),g.hasItemOption=!0,{from:u,to:d,line:g}}var MarkLineView$1=MarkLineView;function install$d(t){t.registerComponentModel(MarkLineModel$1),t.registerComponentView(MarkLineView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markLine")&&(r.markLine=r.markLine||{})})}var MarkAreaModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.createMarkerModelFromSeries=function(o,a,u){return new r(o,a,u)},r.type="markArea",r.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},r}(MarkerModel$1),MarkAreaModel$1=MarkAreaModel,inner$2=makeInner(),markAreaTransform=function(t,r,o,a){var u=a[0],d=a[1];if(!(!u||!d)){var g=dataTransform(t,u),v=dataTransform(t,d),y=g.coord,A=v.coord;y[0]=retrieve(y[0],-1/0),y[1]=retrieve(y[1],-1/0),A[0]=retrieve(A[0],1/0),A[1]=retrieve(A[1],1/0);var b=mergeAll([{},g,v]);return b.coord=[g.coord,v.coord],b.x0=g.x,b.y0=g.y,b.x1=v.x,b.y1=v.y,b}};function isInfinity(t){return!isNaN(t)&&!isFinite(t)}function ifMarkAreaHasOnlyDim(t,r,o,a){var u=1-t;return isInfinity(r[u])&&isInfinity(o[u])}function markAreaFilter(t,r){var o=r.coord[0],a=r.coord[1],u={coord:o,x:r.x0,y:r.y0},d={coord:a,x:r.x1,y:r.y1};return isCoordinateSystemType(t,"cartesian2d")?o&&a&&(ifMarkAreaHasOnlyDim(1,o,a)||ifMarkAreaHasOnlyDim(0,o,a))?!0:zoneFilter(t,u,d):dataFilter(t,u)||dataFilter(t,d)}function getSingleMarkerEndPoint(t,r,o,a,u){var d=a.coordinateSystem,g=t.getItemModel(r),v,y=parsePercent(g.get(o[0]),u.getWidth()),A=parsePercent(g.get(o[1]),u.getHeight());if(!isNaN(y)&&!isNaN(A))v=[y,A];else{if(a.getMarkerPosition){var b=t.getValues(["x0","y0"],r),_=t.getValues(["x1","y1"],r),w=d.clampData(b),S=d.clampData(_),C=[];o[0]==="x0"?C[0]=w[0]>S[0]?_[0]:b[0]:C[0]=w[0]>S[0]?b[0]:_[0],o[1]==="y0"?C[1]=w[1]>S[1]?_[1]:b[1]:C[1]=w[1]>S[1]?b[1]:_[1],v=a.getMarkerPosition(C,o,!0)}else{var T=t.get(o[0],r),I=t.get(o[1],r),E=[T,I];d.clampData&&d.clampData(E,E),v=d.dataToPoint(E,!0)}if(isCoordinateSystemType(d,"cartesian2d")){var F=d.getAxis("x"),O=d.getAxis("y"),T=t.get(o[0],r),I=t.get(o[1],r);isInfinity(T)?v[0]=F.toGlobalCoord(F.getExtent()[o[0]==="x0"?0:1]):isInfinity(I)&&(v[1]=O.toGlobalCoord(O.getExtent()[o[1]==="y0"?0:1]))}isNaN(y)||(v[0]=y),isNaN(A)||(v[1]=A)}return v}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.updateTransform=function(o,a,u){a.eachSeries(function(d){var g=MarkerModel$1.getMarkerModelFromSeries(d,"markArea");if(g){var v=g.getData();v.each(function(y){var A=map$1(dimPermutations,function(_){return getSingleMarkerEndPoint(v,y,_,d,u)});v.setItemLayout(y,A);var b=v.getItemGraphicEl(y);b.setShape("points",A)})}},this)},r.prototype.renderSeries=function(o,a,u,d){var g=o.coordinateSystem,v=o.id,y=o.getData(),A=this.markerGroupMap,b=A.get(v)||A.set(v,{group:new Group$4});this.group.add(b.group),this.markKeep(b);var _=createList(g,o,a);a.setData(_),_.each(function(w){var S=map$1(dimPermutations,function(M){return getSingleMarkerEndPoint(_,w,M,o,d)}),C=g.getAxis("x").scale,T=g.getAxis("y").scale,I=C.getExtent(),E=T.getExtent(),F=[C.parse(_.get("x0",w)),C.parse(_.get("x1",w))],O=[T.parse(_.get("y0",w)),T.parse(_.get("y1",w))];asc$2(F),asc$2(O);var D=!(I[0]>F[1]||I[1]O[1]||E[1]=0},r.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},r.type="legend.plain",r.dependencies=["series"],r.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},r}(ComponentModel$1),LegendModel$1=LegendModel,curry=curry$1,each$3=each$f,Group$1=Group$4,LegendView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.newlineDisabled=!1,o}return r.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},r.prototype.getContentGroup=function(){return this._contentGroup},r.prototype.getSelectorGroup=function(){return this._selectorGroup},r.prototype.render=function(o,a,u){var d=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!o.get("show",!0)){var g=o.get("align"),v=o.get("orient");(!g||g==="auto")&&(g=o.get("left")==="right"&&v==="vertical"?"right":"left");var y=o.get("selector",!0),A=o.get("selectorPosition",!0);y&&(!A||A==="auto")&&(A=v==="horizontal"?"end":"start"),this.renderInner(g,o,a,u,y,v,A);var b=o.getBoxLayoutParams(),_={width:u.getWidth(),height:u.getHeight()},w=o.get("padding"),S=getLayoutRect(b,_,w),C=this.layoutInner(o,g,S,d,y,A),T=getLayoutRect(defaults({width:C.width,height:C.height},b),_,w);this.group.x=T.x-C.x,this.group.y=T.y-C.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(C,o))}},r.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},r.prototype.renderInner=function(o,a,u,d,g,v,y){var A=this.getContentGroup(),b=createHashMap(),_=a.get("selectedMode"),w=[];u.eachRawSeries(function(S){!S.get("legendHoverLink")&&w.push(S.id)}),each$3(a.getData(),function(S,C){var T=S.get("name");if(!this.newlineDisabled&&(T===""||T===` +`)){var I=new Group$1;I.newline=!0,A.add(I);return}var E=u.getSeriesByName(T)[0];if(!b.get(T))if(E){var F=E.getData(),O=F.getVisual("legendLineStyle")||{},D=F.getVisual("legendIcon"),x=F.getVisual("style"),P=this._createItem(E,T,C,S,a,o,O,x,D,_,d);P.on("click",curry(dispatchSelectAction,T,null,d,w)).on("mouseover",curry(dispatchHighlightAction,E.name,null,d,w)).on("mouseout",curry(dispatchDownplayAction,E.name,null,d,w)),u.ssr&&P.eachChild(function(G){var M=getECData(G);M.seriesIndex=E.seriesIndex,M.dataIndex=C,M.ssrType="legend"}),b.set(T,!0)}else u.eachRawSeries(function(G){if(!b.get(T)&&G.legendVisualProvider){var M=G.legendVisualProvider;if(!M.containName(T))return;var N=M.indexOfName(T),V=M.getItemVisual(N,"style"),Z=M.getItemVisual(N,"legendIcon"),H=parse$1(V.fill);H&&H[3]===0&&(H[3]=.2,V=extend(extend({},V),{fill:stringify(H,"rgba")}));var B=this._createItem(G,T,C,S,a,o,{},V,Z,_,d);B.on("click",curry(dispatchSelectAction,null,T,d,w)).on("mouseover",curry(dispatchHighlightAction,null,T,d,w)).on("mouseout",curry(dispatchDownplayAction,null,T,d,w)),u.ssr&&B.eachChild(function(z){var U=getECData(z);U.seriesIndex=G.seriesIndex,U.dataIndex=C,U.ssrType="legend"}),b.set(T,!0)}},this)},this),g&&this._createSelector(g,a,d,v,y)},r.prototype._createSelector=function(o,a,u,d,g){var v=this.getSelectorGroup();each$3(o,function(A){var b=A.type,_=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){u.dispatchAction({type:b==="all"?"legendAllSelect":"legendInverseSelect"})}});v.add(_);var w=a.getModel("selectorLabel"),S=a.getModel(["emphasis","selectorLabel"]);setLabelStyle(_,{normal:w,emphasis:S},{defaultText:A.title}),enableHoverEmphasis(_)})},r.prototype._createItem=function(o,a,u,d,g,v,y,A,b,_,w){var S=o.visualDrawType,C=g.get("itemWidth"),T=g.get("itemHeight"),I=g.isSelected(a),E=d.get("symbolRotate"),F=d.get("symbolKeepAspect"),O=d.get("icon");b=O||b||"roundRect";var D=getLegendStyle(b,d,y,A,S,I,w),x=new Group$1,P=d.getModel("textStyle");if(isFunction(o.getLegendIcon)&&(!O||O==="inherit"))x.add(o.getLegendIcon({itemWidth:C,itemHeight:T,icon:b,iconRotate:E,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:F}));else{var G=O==="inherit"&&o.getData().getVisual("symbol")?E==="inherit"?o.getData().getVisual("symbolRotate"):E:0;x.add(getDefaultLegendIcon({itemWidth:C,itemHeight:T,icon:b,iconRotate:G,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:F}))}var M=v==="left"?C+5:-5,N=v,V=g.get("formatter"),Z=a;isString$1(V)&&V?Z=V.replace("{name}",a!=null?a:""):isFunction(V)&&(Z=V(a));var H=I?P.getTextColor():d.get("inactiveColor");x.add(new ZRText$1({style:createTextStyle(P,{text:Z,x:M,y:T/2,fill:H,align:N,verticalAlign:"middle"},{inheritColor:H})}));var B=new Rect$3({shape:x.getBoundingRect(),style:{fill:"transparent"}}),z=d.getModel("tooltip");return z.get("show")&&setTooltipConfig({el:B,componentModel:g,itemName:a,itemTooltipOption:z.option}),x.add(B),x.eachChild(function(U){U.silent=!0}),B.silent=!_,this.getContentGroup().add(x),enableHoverEmphasis(x),x.__legendDataIndex=u,x},r.prototype.layoutInner=function(o,a,u,d,g,v){var y=this.getContentGroup(),A=this.getSelectorGroup();box(o.get("orient"),y,o.get("itemGap"),u.width,u.height);var b=y.getBoundingRect(),_=[-b.x,-b.y];if(A.markRedraw(),y.markRedraw(),g){box("horizontal",A,o.get("selectorItemGap",!0));var w=A.getBoundingRect(),S=[-w.x,-w.y],C=o.get("selectorButtonGap",!0),T=o.getOrient().index,I=T===0?"width":"height",E=T===0?"height":"width",F=T===0?"y":"x";v==="end"?S[T]+=b[I]+C:_[T]+=w[I]+C,S[1-T]+=b[E]/2-w[E]/2,A.x=S[0],A.y=S[1],y.x=_[0],y.y=_[1];var O={x:0,y:0};return O[I]=b[I]+C+w[I],O[E]=Math.max(b[E],w[E]),O[F]=Math.min(0,w[F]+S[1-T]),O}else return y.x=_[0],y.y=_[1],this.group.getBoundingRect()},r.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},r.type="legend.plain",r}(ComponentView$1);function getLegendStyle(t,r,o,a,u,d,g){function v(I,E){I.lineWidth==="auto"&&(I.lineWidth=E.lineWidth>0?2:0),each$3(I,function(F,O){I[O]==="inherit"&&(I[O]=E[O])})}var y=r.getModel("itemStyle"),A=y.getItemStyle(),b=t.lastIndexOf("empty",0)===0?"fill":"stroke",_=y.getShallow("decal");A.decal=!_||_==="inherit"?a.decal:createOrUpdatePatternFromDecal(_,g),A.fill==="inherit"&&(A.fill=a[u]),A.stroke==="inherit"&&(A.stroke=a[b]),A.opacity==="inherit"&&(A.opacity=(u==="fill"?a:o).opacity),v(A,a);var w=r.getModel("lineStyle"),S=w.getLineStyle();if(v(S,o),A.fill==="auto"&&(A.fill=a.fill),A.stroke==="auto"&&(A.stroke=a.fill),S.stroke==="auto"&&(S.stroke=a.fill),!d){var C=r.get("inactiveBorderWidth"),T=A[b];A.lineWidth=C==="auto"?a.lineWidth>0&&T?2:0:A.lineWidth,A.fill=r.get("inactiveColor"),A.stroke=r.get("inactiveBorderColor"),S.stroke=w.get("inactiveColor"),S.lineWidth=w.get("inactiveWidth")}return{itemStyle:A,lineStyle:S}}function getDefaultLegendIcon(t){var r=t.icon||"roundRect",o=createSymbol$1(r,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return o.setStyle(t.itemStyle),o.rotation=(t.iconRotate||0)*Math.PI/180,o.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(o.style.stroke=o.style.fill,o.style.fill="#fff",o.style.lineWidth=2),o}function dispatchSelectAction(t,r,o,a){dispatchDownplayAction(t,r,o,a),o.dispatchAction({type:"legendToggleSelect",name:t!=null?t:r}),dispatchHighlightAction(t,r,o,a)}function isUseHoverLayer(t){for(var r=t.getZr().storage.getDisplayList(),o,a=0,u=r.length;au[g],I=[-S.x,-S.y];a||(I[d]=b[A]);var E=[0,0],F=[-C.x,-C.y],O=retrieve2(o.get("pageButtonGap",!0),o.get("itemGap",!0));if(T){var D=o.get("pageButtonPosition",!0);D==="end"?F[d]+=u[g]-C[g]:E[d]+=C[g]+O}F[1-d]+=S[v]/2-C[v]/2,b.setPosition(I),_.setPosition(E),w.setPosition(F);var x={x:0,y:0};if(x[g]=T?u[g]:S[g],x[v]=Math.max(S[v],C[v]),x[y]=Math.min(0,C[y]+F[1-d]),_.__rectSize=u[g],T){var P={x:0,y:0};P[g]=Math.max(u[g]-C[g]-O,0),P[v]=x[v],_.setClipPath(new Rect$3({shape:P})),_.__rectSize=P[g]}else w.eachChild(function(M){M.attr({invisible:!0,silent:!0})});var G=this._getPageInfo(o);return G.pageIndex!=null&&updateProps$1(b,{x:G.contentPosition[0],y:G.contentPosition[1]},T?o:null),this._updatePageInfoView(o,G),x},r.prototype._pageGo=function(o,a,u){var d=this._getPageInfo(a)[o];d!=null&&u.dispatchAction({type:"legendScroll",scrollDataIndex:d,legendId:a.id})},r.prototype._updatePageInfoView=function(o,a){var u=this._controllerGroup;each$f(["pagePrev","pageNext"],function(b){var _=b+"DataIndex",w=a[_]!=null,S=u.childOfName(b);S&&(S.setStyle("fill",w?o.get("pageIconColor",!0):o.get("pageIconInactiveColor",!0)),S.cursor=w?"pointer":"default")});var d=u.childOfName("pageText"),g=o.get("pageFormatter"),v=a.pageIndex,y=v!=null?v+1:0,A=a.pageCount;d&&g&&d.setStyle("text",isString$1(g)?g.replace("{current}",y==null?"":y+"").replace("{total}",A==null?"":A+""):g({current:y,total:A}))},r.prototype._getPageInfo=function(o){var a=o.get("scrollDataIndex",!0),u=this.getContentGroup(),d=this._containerGroup.__rectSize,g=o.getOrient().index,v=WH[g],y=XY[g],A=this._findTargetItemIndex(a),b=u.children(),_=b[A],w=b.length,S=w?1:0,C={contentPosition:[u.x,u.y],pageCount:S,pageIndex:S-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!_)return C;var T=D(_);C.contentPosition[g]=-T.s;for(var I=A+1,E=T,F=T,O=null;I<=w;++I)O=D(b[I]),(!O&&F.e>E.s+d||O&&!x(O,E.s))&&(F.i>E.i?E=F:E=O,E&&(C.pageNextDataIndex==null&&(C.pageNextDataIndex=E.i),++C.pageCount)),F=O;for(var I=A-1,E=T,F=T,O=null;I>=-1;--I)O=D(b[I]),(!O||!x(F,O.s))&&E.i=G&&P.s<=G+d}},r.prototype._findTargetItemIndex=function(o){if(!this._showController)return 0;var a,u=this.getContentGroup(),d;return u.eachChild(function(g,v){var y=g.__legendDataIndex;d==null&&y!=null&&(d=v),y===o&&(a=v)}),a!=null?a:d},r.type="legend.scroll",r}(LegendView$1),ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(t){t.registerAction("legendScroll","legendscroll",function(r,o){var a=r.scrollDataIndex;a!=null&&o.eachComponent({mainType:"legend",subType:"scroll",query:r},function(u){u.setScrollDataIndex(a)})})}function install$a(t){use(install$b),t.registerComponentModel(ScrollableLegendModel$1),t.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(t)}function install$9(t){use(install$b),use(install$a)}var InsideZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="dataZoom.inside",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),r}(DataZoomModel$1),InsideZoomModel$1=InsideZoomModel,inner$1=makeInner();function setViewInfoToCoordSysRecord(t,r,o){inner$1(t).coordSysRecordMap.each(function(a){var u=a.dataZoomInfoMap.get(r.uid);u&&(u.getRange=o)})}function disposeCoordSysRecordIfNeeded(t,r){for(var o=inner$1(t).coordSysRecordMap,a=o.keys(),u=0;ua[o+r]&&(r=v),u=u&&g.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}function installDataZoomRoamProcessor(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(r,o){var a=inner$1(o),u=a.coordSysRecordMap||(a.coordSysRecordMap=createHashMap());u.each(function(d){d.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(d){var g=collectReferCoordSysModelInfo(d);each$f(g.infoList,function(v){var y=v.model.uid,A=u.get(y)||u.set(y,createCoordSysRecord(o,v.model)),b=A.dataZoomInfoMap||(A.dataZoomInfoMap=createHashMap());b.set(d.uid,{dzReferCoordSysInfo:v,model:d,getRange:null})})}),u.each(function(d){var g=d.controller,v,y=d.dataZoomInfoMap;if(y){var A=y.keys()[0];A!=null&&(v=y.get(A))}if(!v){disposeCoordSysRecord(u,d);return}var b=mergeControllerParams(y);g.enable(b.controlType,b.opt),g.setPointerChecker(d.containsPoint),createOrUpdate(d,"dispatchAction",v.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type="dataZoom.inside",o}return r.prototype.render=function(o,a,u){if(t.prototype.render.apply(this,arguments),o.noTarget()){this._clear();return}this.range=o.getPercentRange(),setViewInfoToCoordSysRecord(u,o,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},r.type="dataZoom.inside",r}(DataZoomView$1),getRangeHandlers={zoom:function(t,r,o,a){var u=this.range,d=u.slice(),g=t.axisModels[0];if(!!g){var v=getDirectionInfo[r](null,[a.originX,a.originY],g,o,t),y=(v.signal>0?v.pixelStart+v.pixelLength-v.pixel:v.pixel-v.pixelStart)/v.pixelLength*(d[1]-d[0])+d[0],A=Math.max(1/a.scale,0);d[0]=(d[0]-y)*A+y,d[1]=(d[1]-y)*A+y;var b=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,d,[0,100],0,b.minSpan,b.maxSpan),this.range=d,u[0]!==d[0]||u[1]!==d[1])return d}},pan:makeMover(function(t,r,o,a,u,d){var g=getDirectionInfo[a]([d.oldX,d.oldY],[d.newX,d.newY],r,u,o);return g.signal*(t[1]-t[0])*g.pixel/g.pixelLength}),scrollMove:makeMover(function(t,r,o,a,u,d){var g=getDirectionInfo[a]([0,0],[d.scrollDelta,d.scrollDelta],r,u,o);return g.signal*(t[1]-t[0])*d.scrollDelta})};function makeMover(t){return function(r,o,a,u){var d=this.range,g=d.slice(),v=r.axisModels[0];if(!!v){var y=t(g,v,r,o,a,u);if(sliderMove(y,g,[0,100],"all"),this.range=g,d[0]!==g[0]||d[1]!==g[1])return g}}}var getDirectionInfo={grid:function(t,r,o,a,u){var d=o.axis,g={},v=u.model.coordinateSystem.getRect();return t=t||[0,0],d.dim==="x"?(g.pixel=r[0]-t[0],g.pixelLength=v.width,g.pixelStart=v.x,g.signal=d.inverse?1:-1):(g.pixel=r[1]-t[1],g.pixelLength=v.height,g.pixelStart=v.y,g.signal=d.inverse?-1:1),g},polar:function(t,r,o,a,u){var d=o.axis,g={},v=u.model.coordinateSystem,y=v.getRadiusAxis().getExtent(),A=v.getAngleAxis().getExtent();return t=t?v.pointToCoord(t):[0,0],r=v.pointToCoord(r),o.mainType==="radiusAxis"?(g.pixel=r[0]-t[0],g.pixelLength=y[1]-y[0],g.pixelStart=y[0],g.signal=d.inverse?1:-1):(g.pixel=r[1]-t[1],g.pixelLength=A[1]-A[0],g.pixelStart=A[0],g.signal=d.inverse?-1:1),g},singleAxis:function(t,r,o,a,u){var d=o.axis,g=u.model.coordinateSystem.getRect(),v={};return t=t||[0,0],d.orient==="horizontal"?(v.pixel=r[0]-t[0],v.pixelLength=g.width,v.pixelStart=g.x,v.signal=d.inverse?1:-1):(v.pixel=r[1]-t[1],v.pixelLength=g.height,v.pixelStart=g.y,v.signal=d.inverse?-1:1),v}},InsideZoomView$1=InsideZoomView;function install$8(t){installCommon$1(t),t.registerComponentModel(InsideZoomModel$1),t.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(t)}var SliderZoomModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.type="dataZoom.slider",r.layoutMode="box",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),r}(DataZoomModel$1),SliderZoomModel$1=SliderZoomModel,Rect=Rect$3,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._displayables={},o}return r.prototype.init=function(o,a){this.api=a,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},r.prototype.render=function(o,a,u,d){if(t.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",o.get("throttle"),"fixRate"),this._orient=o.getOrient(),o.get("show")===!1){this.group.removeAll();return}if(o.noTarget()){this._clear(),this.group.removeAll();return}(!d||d.type!=="dataZoom"||d.from!==this.uid)&&this._buildView(),this._updateView()},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var o=this.api.getZr();o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var o=this.group;o.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new Group$4;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),o.add(a),this._positionGroup()},r.prototype._resetLocation=function(){var o=this.dataZoomModel,a=this.api,u=o.get("brushSelect"),d=u?DEFAULT_MOVE_HANDLE_SIZE:0,g=this._findCoordRect(),v={width:a.getWidth(),height:a.getHeight()},y=this._orient===HORIZONTAL?{right:v.width-g.x-g.width,top:v.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-d,width:g.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:g.y,width:DEFAULT_FILLER_SIZE,height:g.height},A=getLayoutParams(o.option);each$f(["right","top","width","height"],function(_){A[_]==="ph"&&(A[_]=y[_])});var b=getLayoutRect(A,v);this._location={x:b.x,y:b.y},this._size=[b.width,b.height],this._orient===VERTICAL&&this._size.reverse()},r.prototype._positionGroup=function(){var o=this.group,a=this._location,u=this._orient,d=this.dataZoomModel.getFirstTargetAxisModel(),g=d&&d.get("inverse"),v=this._displayables.sliderGroup,y=(this._dataShadowInfo||{}).otherAxisInverse;v.attr(u===HORIZONTAL&&!g?{scaleY:y?1:-1,scaleX:1}:u===HORIZONTAL&&g?{scaleY:y?1:-1,scaleX:-1}:u===VERTICAL&&!g?{scaleY:y?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:y?-1:1,scaleX:-1,rotation:Math.PI/2});var A=o.getBoundingRect([v]);o.x=a.x-A.x,o.y=a.y-A.y,o.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var o=this.dataZoomModel,a=this._size,u=this._displayables.sliderGroup,d=o.get("brushSelect");u.add(new Rect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:o.get("backgroundColor")},z2:-40}));var g=new Rect({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),v=this.api.getZr();d?(g.on("mousedown",this._onBrushStart,this),g.cursor="crosshair",v.on("mousemove",this._onBrush),v.on("mouseup",this._onBrushEnd)):(v.off("mousemove",this._onBrush),v.off("mouseup",this._onBrushEnd)),u.add(g)},r.prototype._renderDataShadow=function(){var o=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!o)return;var a=this._size,u=this._shadowSize||[],d=o.series,g=d.getRawData(),v=d.getShadowDim&&d.getShadowDim(),y=v&&g.getDimensionInfo(v)?d.getShadowDim():o.otherDim;if(y==null)return;var A=this._shadowPolygonPts,b=this._shadowPolylinePts;if(g!==this._shadowData||y!==this._shadowDim||a[0]!==u[0]||a[1]!==u[1]){var _=g.getDataExtent(y),w=(_[1]-_[0])*.3;_=[_[0]-w,_[1]+w];var S=[0,a[1]],C=[0,a[0]],T=[[a[0],0],[0,0]],I=[],E=C[1]/(g.count()-1),F=0,O=Math.round(g.count()/a[0]),D;g.each([y],function(N,V){if(O>0&&V%O){F+=E;return}var Z=N==null||isNaN(N)||N==="",H=Z?0:linearMap$2(N,_,S,!0);Z&&!D&&V?(T.push([T[T.length-1][0],0]),I.push([I[I.length-1][0],0])):!Z&&D&&(T.push([F,0]),I.push([F,0])),T.push([F,H]),I.push([F,H]),F+=E,D=Z}),A=this._shadowPolygonPts=T,b=this._shadowPolylinePts=I}this._shadowData=g,this._shadowDim=y,this._shadowSize=[a[0],a[1]];var x=this.dataZoomModel;function P(N){var V=x.getModel(N?"selectedDataBackground":"dataBackground"),Z=new Group$4,H=new Polygon$1({shape:{points:A},segmentIgnoreThreshold:1,style:V.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),B=new Polyline$3({shape:{points:b},segmentIgnoreThreshold:1,style:V.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return Z.add(H),Z.add(B),Z}for(var G=0;G<3;G++){var M=P(G===1);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}},r.prototype._prepareDataShadowInfo=function(){var o=this.dataZoomModel,a=o.get("showDataShadow");if(a!==!1){var u,d=this.ecModel;return o.eachTargetAxis(function(g,v){var y=o.getAxisProxy(g,v).getTargetSeriesModels();each$f(y,function(A){if(!u&&!(a!==!0&&indexOf$1(SHOW_DATA_SHADOW_SERIES_TYPE,A.get("type"))<0)){var b=d.getComponent(getAxisMainType(g),v).axis,_=getOtherDim(g),w,S=A.coordinateSystem;_!=null&&S.getOtherAxis&&(w=S.getOtherAxis(b).inverse),_=A.getData().mapDimension(_),u={thisAxis:b,series:A,thisDim:g,otherDim:_,otherAxisInverse:w}}},this)},this),u}},r.prototype._renderHandle=function(){var o=this.group,a=this._displayables,u=a.handles=[null,null],d=a.handleLabels=[null,null],g=this._displayables.sliderGroup,v=this._size,y=this.dataZoomModel,A=this.api,b=y.get("borderRadius")||0,_=y.get("brushSelect"),w=a.filler=new Rect({silent:_,style:{fill:y.get("fillerColor")},textConfig:{position:"inside"}});g.add(w),g.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:v[0],height:v[1],r:b},style:{stroke:y.get("dataBackgroundColor")||y.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(O){var D=y.get("handleIcon");!symbolBuildProxies[D]&&D.indexOf("path://")<0&&D.indexOf("image://")<0&&(D="path://"+D);var x=createSymbol$1(D,-1,0,2,2,null,!0);x.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,O),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var P=x.getBoundingRect(),G=y.get("handleSize");this._handleHeight=parsePercent(G,this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,x.setStyle(y.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=y.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(x);var M=y.get("handleColor");M!=null&&(x.style.fill=M),g.add(u[O]=x);var N=y.getModel("textStyle");o.add(d[O]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle(N,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:N.getTextColor(),font:N.getFont()}),z2:10}))},this);var S=w;if(_){var C=parsePercent(y.get("moveHandleSize"),v[1]),T=a.moveHandle=new Rect$3({style:y.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:v[1]-.5,height:C}}),I=C*.8,E=a.moveHandleIcon=createSymbol$1(y.get("moveHandleIcon"),-I/2,-I/2,I,I,"#fff",!0);E.silent=!0,E.y=v[1]+C/2-.5,T.ensureState("emphasis").style=y.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var F=Math.min(v[1]/2,Math.max(C,10));S=a.moveZone=new Rect$3({invisible:!0,shape:{y:v[1]-F,height:C+F}}),S.on("mouseover",function(){A.enterEmphasis(T)}).on("mouseout",function(){A.leaveEmphasis(T)}),g.add(T),g.add(E),g.add(S)}S.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},r.prototype._resetInterval=function(){var o=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[linearMap$2(o[0],[0,100],a,!0),linearMap$2(o[1],[0,100],a,!0)]},r.prototype._updateInterval=function(o,a){var u=this.dataZoomModel,d=this._handleEnds,g=this._getViewExtent(),v=u.findRepresentativeAxisProxy().getMinMaxSpan(),y=[0,100];sliderMove(a,d,g,u.get("zoomLock")?"all":o,v.minSpan!=null?linearMap$2(v.minSpan,y,g,!0):null,v.maxSpan!=null?linearMap$2(v.maxSpan,y,g,!0):null);var A=this._range,b=this._range=asc$2([linearMap$2(d[0],g,y,!0),linearMap$2(d[1],g,y,!0)]);return!A||A[0]!==b[0]||A[1]!==b[1]},r.prototype._updateView=function(o){var a=this._displayables,u=this._handleEnds,d=asc$2(u.slice()),g=this._size;each$f([0,1],function(S){var C=a.handles[S],T=this._handleHeight;C.attr({scaleX:T/2,scaleY:T/2,x:u[S]+(S?-1:1),y:g[1]/2-T/2})},this),a.filler.setShape({x:d[0],y:0,width:d[1]-d[0],height:g[1]});var v={x:d[0],width:d[1]-d[0]};a.moveHandle&&(a.moveHandle.setShape(v),a.moveZone.setShape(v),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",v.x+v.width/2));for(var y=a.dataShadowSegs,A=[0,d[0],d[1],g[0]],b=0;ba[0]||u[1]<0||u[1]>a[1])){var d=this._handleEnds,g=(d[0]+d[1])/2,v=this._updateInterval("all",u[0]-g);this._updateView(),v&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function(o){var a=o.offsetX,u=o.offsetY;this._brushStart=new Point$1(a,u),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function(o){if(!!this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var u=a.shape,d=+new Date;if(!(d-this._brushStartTime<200&&Math.abs(u.width)<5)){var g=this._getViewExtent(),v=[0,100];this._range=asc$2([linearMap$2(u.x,g,v,!0),linearMap$2(u.x+u.width,g,v,!0)]),this._handleEnds=[u.x,u.x+u.width],this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function(o){this._brushing&&(stop(o.event),this._updateBrushRect(o.offsetX,o.offsetY))},r.prototype._updateBrushRect=function(o,a){var u=this._displayables,d=this.dataZoomModel,g=u.brushRect;g||(g=u.brushRect=new Rect({silent:!0,style:d.getModel("brushStyle").getItemStyle()}),u.sliderGroup.add(g)),g.attr("ignore",!1);var v=this._brushStart,y=this._displayables.sliderGroup,A=y.transformCoordToLocal(o,a),b=y.transformCoordToLocal(v.x,v.y),_=this._size;A[0]=Math.max(Math.min(_[0],A[0]),0),g.setShape({x:b[0],y:0,width:A[0]-b[0],height:_[1]})},r.prototype._dispatchZoomAction=function(o){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:o?REALTIME_ANIMATION_CONFIG:null,start:a[0],end:a[1]})},r.prototype._findCoordRect=function(){var o,a=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!o&&a.length){var u=a[0].model.coordinateSystem;o=u.getRect&&u.getRect()}if(!o){var d=this.api.getWidth(),g=this.api.getHeight();o={x:d*.2,y:g*.2,width:d*.6,height:g*.6}}return o},r.type="dataZoom.slider",r}(DataZoomView$1);function getOtherDim(t){var r={x:"y",y:"x",radius:"angle",angle:"radius"};return r[t]}function getCursor$1(t){return t==="vertical"?"ns-resize":"ew-resize"}var SliderZoomView$1=SliderZoomView;function install$7(t){t.registerComponentModel(SliderZoomModel$1),t.registerComponentView(SliderZoomView$1),installCommon$1(t)}function install$6(t){use(install$8),use(install$7)}var visualDefault={get:function(t,r,o){var a=clone$5((defaultOption[t]||{})[r]);return o&&isArray$1(a)?a[a.length-1]:a}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},visualDefault$1=visualDefault,mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o.stateList=["inRange","outOfRange"],o.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],o.layoutMode={type:"box",ignoreSize:!0},o.dataBound=[-1/0,1/0],o.targetVisuals={},o.controllerVisuals={},o}return r.prototype.init=function(o,a,u){this.mergeDefaultAndTheme(o,u)},r.prototype.optionUpdated=function(o,a){var u=this.option;!a&&replaceVisualOption(u,o,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},r.prototype.resetVisual=function(o){var a=this.stateList;o=bind$1(o,this),this.controllerVisuals=createVisualMappings(this.option.controller,a,o),this.targetVisuals=createVisualMappings(this.option.target,a,o)},r.prototype.getItemSymbol=function(){return null},r.prototype.getTargetSeriesIndices=function(){var o=this.option.seriesIndex,a=[];return o==null||o==="all"?this.ecModel.eachSeries(function(u,d){a.push(d)}):a=normalizeToArray(o),a},r.prototype.eachTargetSeries=function(o,a){each$f(this.getTargetSeriesIndices(),function(u){var d=this.ecModel.getSeriesByIndex(u);d&&o.call(a,d)},this)},r.prototype.isTargetSeries=function(o){var a=!1;return this.eachTargetSeries(function(u){u===o&&(a=!0)}),a},r.prototype.formatValueText=function(o,a,u){var d=this.option,g=d.precision,v=this.dataBound,y=d.formatter,A;u=u||["<",">"],isArray$1(o)&&(o=o.slice(),A=!0);var b=a?o:A?[_(o[0]),_(o[1])]:_(o);if(isString$1(y))return y.replace("{value}",A?b[0]:b).replace("{value2}",A?b[1]:b);if(isFunction(y))return A?y(o[0],o[1]):y(o);if(A)return o[0]===v[0]?u[0]+" "+b[1]:o[1]===v[1]?u[1]+" "+b[0]:b[0]+" - "+b[1];return b;function _(w){return w===v[0]?"min":w===v[1]?"max":(+w).toFixed(Math.min(g,20))}},r.prototype.resetExtent=function(){var o=this.option,a=asc([o.min,o.max]);this._dataExtent=a},r.prototype.getDataDimensionIndex=function(o){var a=this.option.dimension;if(a!=null)return o.getDimensionIndex(a);for(var u=o.dimensions,d=u.length-1;d>=0;d--){var g=u[d],v=o.getDimensionInfo(g);if(!v.isCalculationCoord)return v.storeDimIndex}},r.prototype.getExtent=function(){return this._dataExtent.slice()},r.prototype.completeVisualOption=function(){var o=this.ecModel,a=this.option,u={inRange:a.inRange,outOfRange:a.outOfRange},d=a.target||(a.target={}),g=a.controller||(a.controller={});merge(d,u),merge(g,u);var v=this.isCategory();y.call(this,d),y.call(this,g),A.call(this,d,"inRange","outOfRange"),b.call(this,g);function y(_){isArray(a.color)&&!_.inRange&&(_.inRange={color:a.color.slice().reverse()}),_.inRange=_.inRange||{color:o.get("gradientColor")}}function A(_,w,S){var C=_[w],T=_[S];C&&!T&&(T=_[S]={},each$2(C,function(I,E){if(!!VisualMapping$1.isValidType(E)){var F=visualDefault$1.get(E,"inactive",v);F!=null&&(T[E]=F,E==="color"&&!T.hasOwnProperty("opacity")&&!T.hasOwnProperty("colorAlpha")&&(T.opacity=[0,0]))}}))}function b(_){var w=(_.inRange||{}).symbol||(_.outOfRange||{}).symbol,S=(_.inRange||{}).symbolSize||(_.outOfRange||{}).symbolSize,C=this.get("inactiveColor"),T=this.getItemSymbol(),I=T||"roundRect";each$2(this.stateList,function(E){var F=this.itemSize,O=_[E];O||(O=_[E]={color:v?C:[C]}),O.symbol==null&&(O.symbol=w&&clone$5(w)||(v?I:[I])),O.symbolSize==null&&(O.symbolSize=S&&clone$5(S)||(v?F[0]:[F[0],F[0]])),O.symbol=mapVisual(O.symbol,function(P){return P==="none"?I:P});var D=O.symbolSize;if(D!=null){var x=-1/0;eachVisual(D,function(P){P>x&&(x=P)}),O.symbolSize=mapVisual(D,function(P){return linearMap$1(P,[0,x],[0,F[0]],!0)})}},this)}},r.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},r.prototype.isCategory=function(){return!!this.option.categories},r.prototype.setSelected=function(o){},r.prototype.getSelected=function(){return null},r.prototype.getValueState=function(o){return null},r.prototype.getVisualMeta=function(o){return null},r.type="visualMap",r.dependencies=["series"],r.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},r}(ComponentModel$1),VisualMapModel$1=VisualMapModel,DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.optionUpdated=function(o,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(u){u.mappingMethod="linear",u.dataExtent=this.getExtent()}),this._resetRange()},r.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var o=this.itemSize;(o[0]==null||isNaN(o[0]))&&(o[0]=DEFAULT_BAR_BOUND[0]),(o[1]==null||isNaN(o[1]))&&(o[1]=DEFAULT_BAR_BOUND[1])},r.prototype._resetRange=function(){var o=this.getExtent(),a=this.option.range;!a||a.auto?(o.auto=1,this.option.range=o):isArray$1(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],o[0]),a[1]=Math.min(a[1],o[1]))},r.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(o){var a=this.option.controller[o].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},r.prototype.setSelected=function(o){this.option.range=o.slice(),this._resetRange()},r.prototype.getSelected=function(){var o=this.getExtent(),a=asc$2((this.get("range")||[]).slice());return a[0]>o[1]&&(a[0]=o[1]),a[1]>o[1]&&(a[1]=o[1]),a[0]=u[1]||o<=a[1])?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(o){var a=[];return this.eachTargetSeries(function(u){var d=[],g=u.getData();g.each(this.getDataDimensionIndex(g),function(v,y){o[0]<=v&&v<=o[1]&&d.push(y)},this),a.push({seriesId:u.id,dataIndex:d})},this),a},r.prototype.getVisualMeta=function(o){var a=getColorStopValues(this,"outOfRange",this.getExtent()),u=getColorStopValues(this,"inRange",this.option.range.slice()),d=[];function g(S,C){d.push({value:S,color:o(S,C)})}for(var v=0,y=0,A=u.length,b=a.length;yo[1])break;d.push({color:this.getControllerVisual(y,"color",a),offset:v/u})}return d.push({color:this.getControllerVisual(o[1],"color",a),offset:1}),d},r.prototype._createBarPoints=function(o,a){var u=this.visualMapModel.itemSize;return[[u[0]-a[0],o[0]],[u[0],o[0]],[u[0],o[1]],[u[0]-a[1],o[1]]]},r.prototype._createBarGroup=function(o){var a=this._orient,u=this.visualMapModel.get("inverse");return new Group$4(a==="horizontal"&&!u?{scaleX:o==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&u?{scaleX:o==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!u?{scaleX:o==="left"?1:-1,scaleY:-1}:{scaleX:o==="left"?1:-1})},r.prototype._updateHandle=function(o,a){if(!!this._useHandle){var u=this._shapes,d=this.visualMapModel,g=u.handleThumbs,v=u.handleLabels,y=d.itemSize,A=d.getExtent();each$1([0,1],function(b){var _=g[b];_.setStyle("fill",a.handlesColor[b]),_.y=o[b];var w=linearMap(o[b],[0,y[1]],A,!0),S=this.getControllerVisual(w,"symbolSize");_.scaleX=_.scaleY=S/y[0],_.x=y[0]-S/2;var C=applyTransform(u.handleLabelPoints[b],getTransform$1(_,this.group));v[b].setStyle({x:C[0],y:C[1],text:d.formatValueText(this._dataInterval[b]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",u.mainGroup):"center"})},this)}},r.prototype._showIndicator=function(o,a,u,d){var g=this.visualMapModel,v=g.getExtent(),y=g.itemSize,A=[0,y[1]],b=this._shapes,_=b.indicator;if(!!_){_.attr("invisible",!1);var w={convertOpacityToAlpha:!0},S=this.getControllerVisual(o,"color",w),C=this.getControllerVisual(o,"symbolSize"),T=linearMap(o,v,A,!0),I=y[0]-C/2,E={x:_.x,y:_.y};_.y=T,_.x=I;var F=applyTransform(b.indicatorLabelPoint,getTransform$1(_,this.group)),O=b.indicatorLabel;O.attr("invisible",!1);var D=this._applyTransform("left",b.mainGroup),x=this._orient,P=x==="horizontal";O.setStyle({text:(u||"")+g.formatValueText(a),verticalAlign:P?D:"middle",align:P?"center":D});var G={x:I,y:T,style:{fill:S}},M={style:{x:F[0],y:F[1]}};if(g.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var N={duration:100,easing:"cubicInOut",additive:!0};_.x=E.x,_.y=E.y,_.animateTo(G,N),O.animateTo(M,N)}else _.attr(G),O.attr(M);this._firstShowIndicator=!1;var V=this._shapes.handleLabels;if(V)for(var Z=0;Zg[1]&&(_[1]=1/0),a&&(_[0]===-1/0?this._showIndicator(b,_[1],"< ",y):_[1]===1/0?this._showIndicator(b,_[0],"> ",y):this._showIndicator(b,b,"\u2248 ",y));var w=this._hoverLinkDataIndices,S=[];(a||useHoverLinkOnHandle(u))&&(S=this._hoverLinkDataIndices=u.findTargetDataIndices(_));var C=compressBatches(w,S);this._dispatchHighDown("downplay",makeHighDownBatch(C[0],u)),this._dispatchHighDown("highlight",makeHighDownBatch(C[1],u))}},r.prototype._hoverLinkFromSeriesMouseOver=function(o){var a;if(findEventDispatcher(o.target,function(y){var A=getECData(y);if(A.dataIndex!=null)return a=A,!0},!0),!!a){var u=this.ecModel.getSeriesByIndex(a.seriesIndex),d=this.visualMapModel;if(!!d.isTargetSeries(u)){var g=u.getData(a.dataType),v=g.getStore().get(d.getDataDimensionIndex(g),a.dataIndex);isNaN(v)||this._showIndicator(v,v)}}},r.prototype._hideIndicator=function(){var o=this._shapes;o.indicator&&o.indicator.attr("invisible",!0),o.indicatorLabel&&o.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var u=0;u=0&&(d.dimension=g,a.push(d))}}),t.getData().setVisual("visualMeta",a)}}];function getColorVisual(t,r,o,a){for(var u=r.targetVisuals[a],d=VisualMapping$1.prepareVisualTypes(u),g={color:getVisualFromData(t.getData(),"color")},v=0,y=d.length;v0:r.splitNumber>0)||r.calculable)?"continuous":"piecewise"}),t.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function(r){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,r)}),t.registerPreprocessor(visualMapPreprocessor))}function install$5(t){t.registerComponentModel(ContinuousModel$1),t.registerComponentView(ContinuousView$1),installCommon(t)}var PiecewiseModel=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o._pieceList=[],o}return r.prototype.optionUpdated=function(o,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var u=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(o,a);var d=this.option.categories;this.resetVisual(function(g,v){u==="categories"?(g.mappingMethod="category",g.categories=clone$5(d)):(g.dataExtent=this.getExtent(),g.mappingMethod="piecewise",g.pieceList=map$1(this._pieceList,function(y){return y=clone$5(y),v!=="inRange"&&(y.visual=null),y}))})},r.prototype.completeVisualOption=function(){var o=this.option,a={},u=VisualMapping$1.listVisualTypes(),d=this.isCategory();each$f(o.pieces,function(v){each$f(u,function(y){v.hasOwnProperty(y)&&(a[y]=1)})}),each$f(a,function(v,y){var A=!1;each$f(this.stateList,function(b){A=A||g(o,b,y)||g(o.target,b,y)},this),!A&&each$f(this.stateList,function(b){(o[b]||(o[b]={}))[y]=visualDefault$1.get(y,b==="inRange"?"active":"inactive",d)})},this);function g(v,y,A){return v&&v[y]&&v[y].hasOwnProperty(A)}t.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function(o,a){var u=this.option,d=this._pieceList,g=(a?u:o).selected||{};if(u.selected=g,each$f(d,function(y,A){var b=this.getSelectedMapKey(y);g.hasOwnProperty(b)||(g[b]=!0)},this),u.selectedMode==="single"){var v=!1;each$f(d,function(y,A){var b=this.getSelectedMapKey(y);g[b]&&(v?g[b]=!1:v=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function(o){return this._mode==="categories"?o.value+"":o.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var o=this.option;return o.pieces&&o.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function(o){this.option.selected=clone$5(o)},r.prototype.getValueState=function(o){var a=VisualMapping$1.findPieceIndex(o,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(o){var a=[],u=this._pieceList;return this.eachTargetSeries(function(d){var g=[],v=d.getData();v.each(this.getDataDimensionIndex(v),function(y,A){var b=VisualMapping$1.findPieceIndex(y,u);b===o&&g.push(A)},this),a.push({seriesId:d.id,dataIndex:g})},this),a},r.prototype.getRepresentValue=function(o){var a;if(this.isCategory())a=o.value;else if(o.value!=null)a=o.value;else{var u=o.interval||[];a=u[0]===-1/0&&u[1]===1/0?0:(u[0]+u[1])/2}return a},r.prototype.getVisualMeta=function(o){if(this.isCategory())return;var a=[],u=["",""],d=this;function g(b,_){var w=d.getRepresentValue({interval:b});_||(_=d.getValueState(w));var S=o(w,_);b[0]===-1/0?u[0]=S:b[1]===1/0?u[1]=S:a.push({value:b[0],color:S},{value:b[1],color:S})}var v=this._pieceList.slice();if(!v.length)v.push({interval:[-1/0,1/0]});else{var y=v[0].interval[0];y!==-1/0&&v.unshift({interval:[-1/0,y]}),y=v[v.length-1].interval[1],y!==1/0&&v.push({interval:[y,1/0]})}var A=-1/0;return each$f(v,function(b){var _=b.interval;_&&(_[0]>A&&g([A,_[0]],"outOfRange"),g(_.slice()),A=_[1])},this),{stops:a,outerColors:u}},r.type="visualMap.piecewise",r.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),r}(VisualMapModel$1),resetMethods={splitNumber:function(t){var r=this.option,o=Math.min(r.precision,20),a=this.getExtent(),u=r.splitNumber;u=Math.max(parseInt(u,10),1),r.splitNumber=u;for(var d=(a[1]-a[0])/u;+d.toFixed(o)!==d&&o<5;)o++;r.precision=o,d=+d.toFixed(o),r.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var g=0,v=a[0];g","\u2265"][a[0]]];o.text=o.text||this.formatValueText(o.value!=null?o.value:o.interval,!1,u)},this)}};function normalizeReverse(t,r){var o=t.inverse;(t.orient==="vertical"?!o:o)&&r.reverse()}var PiecewiseModel$1=PiecewiseModel,PiecewiseVisualMapView=function(t){__extends$1(r,t);function r(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=r.type,o}return r.prototype.doRender=function(){var o=this.group;o.removeAll();var a=this.visualMapModel,u=a.get("textGap"),d=a.textStyleModel,g=d.getFont(),v=d.getTextColor(),y=this._getItemAlign(),A=a.itemSize,b=this._getViewData(),_=b.endsText,w=retrieve(a.get("showLabel",!0),!_);_&&this._renderEndsText(o,_[0],A,w,y),each$f(b.viewPieceList,function(S){var C=S.piece,T=new Group$4;T.onclick=bind$1(this._onItemClick,this,C),this._enableHoverLink(T,S.indexInModelPieceList);var I=a.getRepresentValue(C);if(this._createItemSymbol(T,I,[0,0,A[0],A[1]]),w){var E=this.visualMapModel.getValueState(I);T.add(new ZRText$1({style:{x:y==="right"?-u:A[0]+u,y:A[1]/2,text:C.text,verticalAlign:"middle",align:y,font:g,fill:v,opacity:E==="outOfRange"?.5:1}}))}o.add(T)},this),_&&this._renderEndsText(o,_[1],A,w,y),box(a.get("orient"),o,a.get("itemGap")),this.renderBackground(o),this.positionGroup(o)},r.prototype._enableHoverLink=function(o,a){var u=this;o.on("mouseover",function(){return d("highlight")}).on("mouseout",function(){return d("downplay")});var d=function(g){var v=u.visualMapModel;v.option.hoverLink&&u.api.dispatchAction({type:g,batch:makeHighDownBatch(v.findTargetDataIndices(a),v)})}},r.prototype._getItemAlign=function(){var o=this.visualMapModel,a=o.option;if(a.orient==="vertical")return getItemAlign(o,this.api,o.itemSize);var u=a.align;return(!u||u==="auto")&&(u="left"),u},r.prototype._renderEndsText=function(o,a,u,d,g){if(!!a){var v=new Group$4,y=this.visualMapModel.textStyleModel;v.add(new ZRText$1({style:createTextStyle(y,{x:d?g==="right"?u[0]:0:u[0]/2,y:u[1]/2,verticalAlign:"middle",align:d?g:"center",text:a})})),o.add(v)}},r.prototype._getViewData=function(){var o=this.visualMapModel,a=map$1(o.getPieceList(),function(v,y){return{piece:v,indexInModelPieceList:y}}),u=o.get("text"),d=o.get("orient"),g=o.get("inverse");return(d==="horizontal"?g:!g)?a.reverse():u&&(u=u.slice().reverse()),{viewPieceList:a,endsText:u}},r.prototype._createItemSymbol=function(o,a,u){o.add(createSymbol$1(this.getControllerVisual(a,"symbol"),u[0],u[1],u[2],u[3],this.getControllerVisual(a,"color")))},r.prototype._onItemClick=function(o){var a=this.visualMapModel,u=a.option,d=u.selectedMode;if(!!d){var g=clone$5(u.selected),v=a.getSelectedMapKey(o);d==="single"||d===!0?(g[v]=!0,each$f(g,function(y,A){g[A]=A===v})):g[v]=!g[v],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:g})}},r.type="visualMap.piecewise",r}(VisualMapView$1),PiecewiseView=PiecewiseVisualMapView;function install$4(t){t.registerComponentModel(PiecewiseModel$1),t.registerComponentView(PiecewiseView),installCommon(t)}function install$3(t){use(install$5),use(install$4)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(t,r){var o=t.getModel("aria");if(!o.get("enabled"))return;var a=clone$5(DEFAULT_OPTION);merge(a.label,t.getLocaleModel().get("aria"),!1),merge(o.option,a,!1),u(),d();function u(){var A=o.getModel("decal"),b=A.get("show");if(b){var _=createHashMap();t.eachSeries(function(w){if(!w.isColorBySeries()){var S=_.get(w.type);S||(S={},_.set(w.type,S)),inner(w).scope=S}}),t.eachRawSeries(function(w){if(t.isSeriesFiltered(w))return;if(isFunction(w.enableAriaDecal)){w.enableAriaDecal();return}var S=w.getData();if(w.isColorBySeries()){var F=getDecalFromPalette(w.ecModel,w.name,decalPaletteScope,t.getSeriesCount()),O=S.getVisual("decal");S.setVisual("decal",D(O,F))}else{var C=w.getRawData(),T={},I=inner(w).scope;S.each(function(x){var P=S.getRawIndex(x);T[P]=x});var E=C.count();C.each(function(x){var P=T[x],G=C.getName(x)||x+"",M=getDecalFromPalette(w.ecModel,G,I,E),N=S.getItemVisual(P,"decal");S.setItemVisual(P,"decal",D(N,M))})}function D(x,P){var G=x?extend(extend({},P),x):P;return G.dirty=!0,G}})}}function d(){var A=r.getZr().dom;if(!!A){var b=t.getLocaleModel().get("aria"),_=o.getModel("label");if(_.option=defaults(_.option,b),!!_.get("enabled")){if(_.get("description")){A.setAttribute("aria-label",_.get("description"));return}var w=t.getSeriesCount(),S=_.get(["data","maxCount"])||10,C=_.get(["series","maxCount"])||10,T=Math.min(w,C),I;if(!(w<1)){var E=v();if(E){var F=_.get(["general","withTitle"]);I=g(F,{title:E})}else I=_.get(["general","withoutTitle"]);var O=[],D=w>1?_.get(["series","multiple","prefix"]):_.get(["series","single","prefix"]);I+=g(D,{seriesCount:w}),t.eachSeries(function(M,N){if(N1?_.get(["series","multiple",H]):_.get(["series","single",H]),V=g(V,{seriesId:M.seriesIndex,seriesName:M.get("name"),seriesType:y(M.subType)});var B=M.getData();if(B.count()>S){var z=_.get(["data","partialData"]);V+=g(z,{displayCnt:S})}else V+=_.get(["data","allData"]);for(var U=_.get(["data","separator","middle"]),Q=_.get(["data","separator","end"]),X=[],J=0;J":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function t(r){var o=this._condVal=isString$1(r)?new RegExp(r):isRegExp(r)?r:null;if(o==null){var a="";throwError(a)}}return t.prototype.evaluate=function(r){var o=typeof r;return isString$1(o)?this._condVal.test(r):isNumber$1(o)?this._condVal.test(r+""):!1},t}(),ConstConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),AndConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){for(var r=this.children,o=0;o2&&a.push(u),u=[B,z]}function b(B,z,U,Q){aroundEqual(B,U)&&aroundEqual(z,Q)||u.push(B,z,U,Q,U,Q)}function _(B,z,U,Q,X,J){var ne=Math.abs(z-B),te=Math.tan(ne/4)*4/3,ce=zM:Z2&&a.push(u),a}function adpativeBezier(t,r,o,a,u,d,g,v,y,A){if(aroundEqual(t,o)&&aroundEqual(r,a)&&aroundEqual(u,g)&&aroundEqual(d,v)){y.push(g,v);return}var b=2/A,_=b*b,w=g-t,S=v-r,C=Math.sqrt(w*w+S*S);w/=C,S/=C;var T=o-t,I=a-r,E=u-g,F=d-v,O=T*T+I*I,D=E*E+F*F;if(O<_&&D<_){y.push(g,v);return}var x=w*T+S*I,P=-w*E-S*F,G=O-x*x,M=D-P*P;if(G<_&&x>=0&&M<_&&P>=0){y.push(g,v);return}var N=[],V=[];cubicSubdivide(t,o,u,g,.5,N),cubicSubdivide(r,a,d,v,.5,V),adpativeBezier(N[0],V[0],N[1],V[1],N[2],V[2],N[3],V[3],y,A),adpativeBezier(N[4],V[4],N[5],V[5],N[6],V[6],N[7],V[7],y,A)}function pathToPolygons(t,r){var o=pathToBezierCurves(t),a=[];r=r||1;for(var u=0;u0)for(var A=0;A<_;A++)y[A%g]+=1;return y}function divideSector(t,r,o){for(var a=t.r0,u=t.r,d=t.startAngle,g=t.endAngle,v=Math.abs(g-d),y=v*u,A=u-a,b=y>Math.abs(A),_=getDividingGrids([y,A],b?0:1,r),w=(b?v:A)/_.length,S=0;S<_.length;S++)for(var C=(b?A:v)/_[S],T=0;T<_[S];T++){var I={};b?(I.startAngle=d+w*S,I.endAngle=d+w*(S+1),I.r0=a+C*T,I.r=a+C*(T+1)):(I.startAngle=d+C*T,I.endAngle=d+C*(T+1),I.r0=a+w*S,I.r=a+w*(S+1)),I.clockwise=t.clockwise,I.cx=t.cx,I.cy=t.cy,o.push(I)}}function divideRect(t,r,o){for(var a=t.width,u=t.height,d=a>u,g=getDividingGrids([a,u],d?0:1,r),v=d?"width":"height",y=d?"height":"width",A=d?"x":"y",b=d?"y":"x",_=t[v]/g.length,w=0;w1?null:new Point$1(T*y+t,T*A+r)}function projPtOnLine(t,r,o){var a=new Point$1;Point$1.sub(a,o,r),a.normalize();var u=new Point$1;Point$1.sub(u,t,r);var d=u.dot(a);return d}function addToPoly(t,r){var o=t[t.length-1];o&&o[0]===r[0]&&o[1]===r[1]||t.push(r)}function splitPolygonByLine(t,r,o){for(var a=t.length,u=[],d=0;dg?(A.x=b.x=v+d/2,A.y=y,b.y=y+g):(A.y=b.y=y+g/2,A.x=v,b.x=v+d),splitPolygonByLine(r,A,b)}function binaryDivideRecursive(t,r,o,a){if(o===1)a.push(r);else{var u=Math.floor(o/2),d=t(r);binaryDivideRecursive(t,d[0],u,a),binaryDivideRecursive(t,d[1],o-u,a)}return a}function clone(t,r){for(var o=[],a=0;a0)for(var x=a/o,P=-a/2;P<=a/2;P+=x){for(var G=Math.sin(P),M=Math.cos(P),N=0,O=0;O0;A/=2){var b=0,_=0;(t&A)>0&&(b=1),(r&A)>0&&(_=1),v+=A*A*(3*b^_),_===0&&(b===1&&(t=A-1-t,r=A-1-r),y=t,t=r,r=y)}return v}function sortPaths(t){var r=1/0,o=1/0,a=-1/0,u=-1/0,d=map$1(t,function(v){var y=v.getBoundingRect(),A=v.getComputedTransform(),b=y.x+y.width/2+(A?A[4]:0),_=y.y+y.height/2+(A?A[5]:0);return r=Math.min(b,r),o=Math.min(_,o),a=Math.max(b,a),u=Math.max(_,u),[b,_]}),g=map$1(d,function(v,y){return{cp:v,z:hilbert(v[0],v[1],r,o,a,u),path:t[y]}});return g.sort(function(v,y){return v.z-y.z}).map(function(v){return v.path})}function defaultDividePath(t){return split(t.path,t.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(t,r,o){var a=[];function u(x){for(var P=0;P=0;u--)if(!o[u].many.length){var y=o[v].many;if(y.length<=1)if(v)v=0;else return o;var d=y.length,A=Math.ceil(d/2);o[u].many=y.slice(A,d),o[v].many=y.slice(0,A),v++}return o}var pathDividers={clone:function(t){for(var r=[],o=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a0))return;var v=a.getModel("universalTransition").get("delay"),y=Object.assign({setToFinal:!0},g),A,b;isMultiple(t)&&(A=t,b=r),isMultiple(r)&&(A=r,b=t);function _(E,F,O,D,x){var P=E.many,G=E.one;if(P.length===1&&!x){var M=F?P[0]:G,N=F?G:P[0];if(isCombineMorphing(M))_({many:[M],one:N},!0,O,D,!0);else{var V=v?defaults({delay:v(O,D)},y):y;morphPath(M,N,V),d(M,N,M,N,V)}}else for(var Z=defaults({dividePath:pathDividers[o],individualDelay:v&&function(X,J,ne,te){return v(X+O,D)}},y),H=F?combineMorph(P,G,Z):separateMorph(G,P,Z),B=H.fromIndividuals,z=H.toIndividuals,U=B.length,Q=0;Qr.length,S=A?prepareMorphBatches(b,A):prepareMorphBatches(w?r:t,[w?t:r]),C=0,T=0;TDATA_COUNT_THRESHOLD))for(var d=a.getIndices(),g=0;g0&&P.group.traverse(function(M){M instanceof Path$1&&!M.animators.length&&M.animateFrom({style:{opacity:0}},G)})})}function getSeriesTransitionKey(t){var r=t.getModel("universalTransition").get("seriesKey");return r||t.id}function convertArraySeriesKeyToString(t){return isArray$1(t)?t.sort().join(","):t}function getDivideShapeFromData(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(t,r){var o=createHashMap(),a=createHashMap(),u=createHashMap();return each$f(t.oldSeries,function(d,g){var v=t.oldDataGroupIds[g],y=t.oldData[g],A=getSeriesTransitionKey(d),b=convertArraySeriesKeyToString(A);a.set(b,{dataGroupId:v,data:y}),isArray$1(A)&&each$f(A,function(_){u.set(_,{key:b,dataGroupId:v,data:y})})}),each$f(r.updatedSeries,function(d){if(d.isUniversalTransitionEnabled()&&d.isAnimationEnabled()){var g=d.get("dataGroupId"),v=d.getData(),y=getSeriesTransitionKey(d),A=convertArraySeriesKeyToString(y),b=a.get(A);if(b)o.set(A,{oldSeries:[{dataGroupId:b.dataGroupId,divide:getDivideShapeFromData(b.data),data:b.data}],newSeries:[{dataGroupId:g,divide:getDivideShapeFromData(v),data:v}]});else if(isArray$1(y)){var _=[];each$f(y,function(C){var T=a.get(C);T.data&&_.push({dataGroupId:T.dataGroupId,divide:getDivideShapeFromData(T.data),data:T.data})}),_.length&&o.set(A,{oldSeries:_,newSeries:[{dataGroupId:g,data:v,divide:getDivideShapeFromData(v)}]})}else{var w=u.get(y);if(w){var S=o.get(w.key);S||(S={oldSeries:[{dataGroupId:w.dataGroupId,data:w.data,divide:getDivideShapeFromData(w.data)}],newSeries:[]},o.set(w.key,S)),S.newSeries.push({dataGroupId:g,data:v,divide:getDivideShapeFromData(v)})}}}}),o}function querySeries(t,r){for(var o=0;o=0&&u.push({dataGroupId:r.oldDataGroupIds[v],data:r.oldData[v],divide:getDivideShapeFromData(r.oldData[v]),groupIdDim:g.dimension})}),each$f(normalizeToArray(t.to),function(g){var v=querySeries(o.updatedSeries,g);if(v>=0){var y=o.updatedSeries[v].getData();d.push({dataGroupId:r.oldDataGroupIds[v],data:y,divide:getDivideShapeFromData(y),groupIdDim:g.dimension})}}),u.length>0&&d.length>0&&transitionBetween(u,d,a)}function installUniversalTransition(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,o,a){each$f(normalizeToArray(a.seriesTransition),function(u){each$f(normalizeToArray(u.to),function(d){for(var g=a.updatedSeries,v=0;v{if(t.type==="device"){const r=Devices.get(t.deviceId||null);t.moduleConfig&&t.moduleConfig.color&&document.body.style.setProperty("--jarvis--chart--"+r.name.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),t.moduleConfig.color),r?(this.stateLabels[r.id+"#"+t.primaryStateKey]=r.name,this.devices[r.id+"#"+t.primaryStateKey]={item:t,device:r},Devices.listen(r.id,t.primaryStateKey,this.gotState)):console.error(this.$i18n.t("No device specified"))}})),window.addEventListener("orientationchange",()=>{this.fitChart()})},beforeUnmount(){for(const t in this.devices)this.devices[t]},methods:{zIndex(t){const r=document.querySelector(".jarvis-widget-"+this.widget.id);r&&(r.style.zIndex=t)},fitChart(){this.loaded&&this.vchart&&this.vchart.resize({width:"auto",height:"auto"})},gotState(t,r,o,a){if(t){this.error=t,this.loaded=!0;return}const{item:u}=this.devices[r.id+"#"+o];this.states[r.id+"#"+o]=a,this.stateLabels[r.id+"#"+o]=u.label||a.label||r.name,this.stateValues[r.id+"#"+o]=parseFloat(a.value),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.setChartOptions()},500)},setChartOptions(){let t={};!this.config.type||this.config.type==="bar"?t={xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{show:!1}}],yAxis:[{type:"value",max:this.config.barStack===!0?Math.round(Object.values(this.stateValues).reduce((r,o)=>r+o)/100)*100:this.config.maxValue,min:this.config.minValue}]}:this.config.type==="pie"?t={series:[{type:"pie",radius:this.config.pieRadius===!0?["40%","80%"]:["80%","0%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:this.$q.dark.isActive?"#333":"#fff",borderWidth:2},label:{formatter:"{c}",position:"inside"},emphasis:{label:{show:!0}},labelLine:{show:!1},data:Object.keys(this.stateLabels).map(r=>{const o=this.states[r]&&this.states[r].unit||"";return{value:this.stateValues[r],name:r+":"+this.stateLabels[r],label:{formatter:this.config.label===!0?"":this.stateValues[r]+" "+o},unit:o,itemStyle:{color:this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}})}]}:this.config.type==="circle"&&(t={angleAxis:{max:this.config.maxValue&&parseInt(this.config.maxValue)||void 0},radiusAxis:{type:"category",axisLabel:{show:!1}},polar:{radius:this.config.radius?["10%",this.config.radius+"%"]:this.widget.title?["10%","60%"]:["10%","70%"],center:this.config.legend==="bottom"?["50%","45%"]:["50%","50%"]}}),t=deepmerge(t,{legend:{show:this.config.legend!=="off",bottom:this.config.legend==="bottom"?0:"auto",padding:[10,10,5,10],textStyle:{color:this.$q.dark.isActive?"#fff":"#666"},tooltip:{show:!0,position:"bottom",borderWidth:1,borderColor:"#ccc",formatter:r=>{const[o,a]=r.name.split(":"),u=this.stateValues[o],d=this.devices[o]&&this.devices[o].item&&this.devices[o].item.moduleConfig&&this.devices[o].item.moduleConfig.color;return''+a+''+(typeof u=="number"?u.toFixed(2):"-")+(this.states[o]&&this.states[o].unit?" "+this.states[o].unit:"")+""}},formatter:r=>{const[,o]=r.split(":");return o},data:Object.keys(this.stateLabels).map(r=>({name:r+":"+this.stateLabels[r],itemStyle:{color:this.devices[r]&&this.devices[r].item&&this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}))},grid:{top:"15%",left:"1%",right:"2%",bottom:"12%",containLabel:!0},label:{color:this.$q.dark.isActive?"#fff":"#333",fontWeight:"bold"},tooltip:{position:"top",formatter:r=>{const{marker:o,seriesName:a,name:u,data:d}=r,[,g]=(this.config.type==="bar"||this.config.type==="circle"?a:u).split(":");return""+o+''+g+''+(typeof d.value=="number"?d.value.toFixed(2):"-")+(d&&d.unit?" "+d.unit:"")+""}},series:this.config.type==="pie"?[]:Object.keys(this.stateLabels).map(r=>{const o=this.states[r]&&this.states[r].unit||"",a={name:r+":"+this.stateLabels[r],type:"bar",showBackground:!0,stack:!this.config.type||this.config.type==="bar"?this.config.barStack:!1,emphasis:{focus:"series"},label:{show:!0,position:"insideTop"},data:[{value:this.stateValues[r],label:{formatter:this.config.label===!0?"":this.stateValues[r]+" "+o},unit:o,itemStyle:{color:this.devices[r]&&this.devices[r].item&&this.devices[r].item.moduleConfig&&this.devices[r].item.moduleConfig.color}}]};return this.config.type==="circle"&&(a.coordinateSystem="polar",a.label={show:!0,fontWeight:"bold",color:this.$q.dark.isActive?"#fff":"#000",position:"start",offset:[2,2]}),a})}),this.vchart&&this.vchart.setOption(t,!0),this.loaded=!0,window.dispatchEvent(new Event("resize"))}}});function _sfc_render$c(t,r,o,a,u,d){const g=resolveComponent("v-chart");return openBlock(),createElementBlock("div",{class:"jarvis-Chart-Container",style:normalizeStyle$1(t.widgetSize),onTouchstart:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onMouseover:r[1]||(r[1]=v=>t.zIndex(99)),onMouseout:r[2]||(r[2]=v=>t.zIndex("initial"))},[t.loaded?createCommentVNode("",!0):(openBlock(),createBlock(QLinearProgress,{key:0,indeterminate:""})),withDirectives(createBaseVNode("div",{class:"jarvis-Chart",style:normalizeStyle$1({"min-width":"1px","min-height":"1px",...t.widgetSize})},[createVNode$1(g,{ref:"vchart",autoresize:""},null,512)],4),[[vShow,t.loaded&&!t.error]])],36)}var Chart=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c]]),Chart$1=Object.freeze(Object.defineProperty({__proto__:null,default:Chart},Symbol.toStringTag,{value:"Module"})),dist={};Object.defineProperty(dist,"__esModule",{value:!0});const DEFAULT_ZENITH=90.8333,DEGREES_PER_HOUR=360/24,MSEC_IN_HOUR=60*60*1e3;function getDayOfYear(t){return Math.ceil((t.getTime()-new Date(t.getFullYear(),0,1).getTime())/864e5)}function sinDeg(t){return Math.sin(t*2*Math.PI/360)}function acosDeg(t){return Math.acos(t)*360/(2*Math.PI)}function asinDeg(t){return Math.asin(t)*360/(2*Math.PI)}function tanDeg(t){return Math.tan(t*2*Math.PI/360)}function cosDeg(t){return Math.cos(t*2*Math.PI/360)}function mod(t,r){const o=t%r;return o<0?o+r:o}function calculate(t,r,o,a,u){const d=getDayOfYear(u),g=r/DEGREES_PER_HOUR,v=o?d+(6-g)/24:d+(18-g)/24,y=.9856*v-3.289,A=mod(y+1.916*sinDeg(y)+.02*sinDeg(2*y)+282.634,360),b=.91764*tanDeg(A);let _;_=360/(2*Math.PI)*Math.atan(b),_=mod(_,360);const w=Math.floor(A/90)*90,S=Math.floor(_/90)*90;_=_+(w-S),_/=DEGREES_PER_HOUR;const C=.39782*sinDeg(A),T=cosDeg(asinDeg(C)),I=(cosDeg(a)-C*sinDeg(t))/(T*cosDeg(t)),O=(o?360-acosDeg(I):acosDeg(I))/DEGREES_PER_HOUR+_-.06571*v-6.622,D=mod(O-r/DEGREES_PER_HOUR,24),x=Date.UTC(u.getFullYear(),u.getMonth(),u.getDate());return new Date(x+D*MSEC_IN_HOUR)}function getSunrise(t,r,o=new Date){return calculate(t,r,!0,DEFAULT_ZENITH,o)}function getSunset(t,r,o=new Date){return calculate(t,r,!1,DEFAULT_ZENITH,o)}var getSunrise_1=dist.getSunrise=getSunrise,getSunset_1=dist.getSunset=getSunset,DateTime_vue_vue_type_style_index_0_lang="";const _sfc_main$b=defineComponent({name:"ModuleDateTime",props:{widget:{type:Object,required:!0}},setup(t){const r=Connection.getConnection,o=useIoBroker(),a=computed(()=>t.widget.config),u=computed(()=>{const O=Modules.joinConfig(a.value,ConfigFile$b);return{...O,refresh:O.formatDate.indexOf("s")>-1||O.formatTime.indexOf("s")>-1?1:O.formatDate.indexOf("m")>-1||O.formatTime.indexOf("m")>-1?10:60}});let d=0;const g=ref(null),v=ref(null),y=ref(null),A=ref(null),b=ref(null),_=computed(()=>o.meta.city||null),w=computed(()=>{const{latitude:O,longitude:D}=o.meta;return!O||!D?null:[O,D]}),S=O=>{if(u.value.sun!==!1&&w.value!==null)try{const D=new Date(O);y.value=format$2(getSunrise_1(...w.value,D),"HH:mm"),A.value=format$2(getSunset_1(...w.value,D),"HH:mm")}catch(D){console.warn("DateTime",D&&D.message||D)}},C=O=>{try{const D=new Date(O);g.value=O>1672527600&&u.value.formatDate?u.value.formatDate.split(/(?:\n|\r|\r\n)/g).map(x=>x?format$2(D,x):"").join("
    "):null,v.value=O>1672527600&&u.value.formatTime?u.value.formatTime.split(/(?:\n|\r|\r\n)/g).map(x=>x?format$2(D,x):"").join("
    "):null,b.value=getWeek$1(D)}catch(D){console.warn("DateTime",D&&D.message||D),g.value=u.value._defaults.formatDate?format$2(new Date,u.value._defaults.formatDate):null,v.value=u.value._defaults.formatTime?format$2(new Date,u.value._defaults.formatTime):null}};watch(w,()=>S(d));const T=O=>{d=O&&parseInt(O)||d,C(d),S(d)};let I=null;const E=()=>{I&&clearTimeout(I),u.value.refresh&&u.value.refresh>0&&(I=setTimeout(()=>{E(),d=d+u.value.refresh*1e3,C(d)},u.value.refresh*1e3))};let F=null;return watch(()=>t.widget.revision,()=>{r.send("getTime",null,T),t.widget.revision!==F&&(F=t.widget.revision,!I&&E())},{immediate:!0}),onMounted(()=>{r.on("#time",T)}),onUnmounted(()=>{clearTimeout(I),r.off("#time",T)}),{moduleConfig:u,date:g,time:v,sunrise:y,sunset:A,week:b,city:_}}}),_hoisted_1$a={class:"jarvis-DateTime-Clock"},_hoisted_2$9=["innerHTML"],_hoisted_3$5=["innerHTML"],_hoisted_4$3={class:"row jarvis-DateTime-Details"},_hoisted_5$3={key:0,class:"jarvis-DateTime-Details-Item"},_hoisted_6$2={class:"jarvis-DateTime-Details-Item-City"},_hoisted_7$2={key:1,class:"jarvis-DateTime-Details-Item"},_hoisted_8$2={class:"jarvis-DateTime-Details-Item-Sunrise"},_hoisted_9$2={key:2,class:"jarvis-DateTime-Details-Item"},_hoisted_10$2={class:"jarvis-DateTime-Details-Item-Sunset"},_hoisted_11$2={key:3,class:"jarvis-DateTime-Details-Item"},_hoisted_12$1={class:"jarvis-DateTime-Details-Item-Week"};function _sfc_render$b(t,r,o,a,u,d){const g=resolveComponent("icon");return openBlock(),createElementBlock("div",{key:t.widget.revision,class:"jarvis-DateTime-Container"},[createBaseVNode("div",_hoisted_1$a,[t.date?(openBlock(),createElementBlock("span",{key:0,class:"jarvis-DateTime-Clock-Date",innerHTML:t.date},null,8,_hoisted_2$9)):createCommentVNode("",!0),t.time?(openBlock(),createElementBlock("span",{key:1,class:"jarvis-DateTime-Clock-Time",innerHTML:t.time},null,8,_hoisted_3$5)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_4$3,[t.moduleConfig.city!==!1&&t.city!==null?(openBlock(),createElementBlock("div",_hoisted_5$3,[createVNode$1(g,{size:"xs",name:"mdi-city-variant-outline",class:"jarvis-DateTime-Details-Icon"}),t.city?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_6$2,toDisplayString$1(t.city),1)])):createCommentVNode("",!0),t.moduleConfig.sun!==!1&&t.sunrise!==null?(openBlock(),createElementBlock("div",_hoisted_7$2,[createVNode$1(g,{size:"xs",name:"mdi-weather-sunset-up",class:"jarvis-DateTime-Details-Icon"}),t.sunrise?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_8$2,toDisplayString$1(t.sunrise),1)])):createCommentVNode("",!0),t.moduleConfig.sun!==!1&&t.sunset!==null?(openBlock(),createElementBlock("div",_hoisted_9$2,[createVNode$1(g,{size:"xs",name:"mdi-weather-sunset-down",class:"jarvis-DateTime-Details-Icon"}),t.sunset?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_10$2,toDisplayString$1(t.sunset),1)])):createCommentVNode("",!0),t.moduleConfig.calendarweek!==!1?(openBlock(),createElementBlock("div",_hoisted_11$2,[createVNode$1(g,{size:"xs",name:"mdi-calendar-week",class:"jarvis-DateTime-Details-Icon"}),t.week?createCommentVNode("",!0):(openBlock(),createBlock(QSpinner,{key:0,color:"primary"})),createBaseVNode("span",_hoisted_12$1,[createBaseVNode("span",null,toDisplayString$1(t.$t("CW")),1),createTextVNode(" "+toDisplayString$1(t.week),1)])])):createCommentVNode("",!0)])])}var DateTime=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b]]),DateTime$1=Object.freeze(Object.defineProperty({__proto__:null,default:DateTime},Symbol.toStringTag,{value:"Module"})),DisplayImage_vue_vue_type_style_index_0_lang="";const _sfc_main$a=defineComponent({name:"ModuleDisplayImage",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0},alignment:{type:Object,required:!0}},data(){return{url:null,state:{},loaded:!1,error:!1}},computed:{config(){return Modules.joinConfig(this.widget.config,ConfigFile$a)},deviceConfig(){return this.widget.items&&this.widget.items[0]||{}},style(){return{...this.state&&this.state.bodyStyle||this.state&&this.state.stateStyle||{},width:this.config.size==="fit"||this.config.size==="cover"?this.widgetSize.width:"auto",height:this.config.size==="fit"||this.config.size==="contain"?this.widgetSize.height:"auto"}}},watch:{deviceConfig:{immediate:!0,handler:function(t){this.revision=this.widget.revision,this.widget.config.url?(this.setUrl(this.widget.config.url),this.loaded=!0):(this.device=Devices.get(t.deviceId),this.device?t.primaryStateKey&&Devices.listen(this.device.id,t.primaryStateKey,this.gotState):(this.error="DisplayImage: "+this.$i18n.t("Device {deviceId} not found").replace("{deviceId}",t.deviceId),console.warn(this.error),this.loaded=!0))}}},mounted(){this.runInterval()},beforeUnmount(){this.setRefreshInterval&&clearInterval(this.setRefreshInterval),this.device},methods:{gotState(t,r,o,a){if(this.loaded=!0,t){this.error=t&&t.message||t;return}this.state=a,this.url!==a.value&&this.setUrl(a.value||"")},runInterval(){this.config.refresh&&this.config.refresh>0&&(this.setRefreshInterval&&clearInterval(this.setRefreshInterval),this.setRefreshInterval=setInterval(()=>{if(this.url&&this.url.startsWith("data:image")&&clearInterval(this.setRefreshInterval),this.url&&!this.url.startsWith("data:image")&&this.config.refreshMethod==="random"){const t=this.url.indexOf("?")!==-1?this.url.substr(this.url.indexOf("?")).replace("?","&").replace(/&_r=[0-9]*/,""):"";this.setUrl(this.url.substr(0,this.url.indexOf("?")>-1?this.url.indexOf("?"):this.url.length)+"?_r="+Date.now()+t)}else this.url&&!this.url.startsWith("data:image")&&this.config.refreshMethod==="whitespace"&&this.setUrl((this.url+" ").replace(/ {2}/g,""))},this.config.refresh*1e3))},setUrl(t){t=t.toString().trim(),t&&t.indexOf("[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),t.url&&t.url.startsWith("props.widget.config),instanceList=iobroker.instanceList&&iobroker.instanceList.val||[],from=new Date(new Date().getTime()-7*24*3600*1e3),to=new Date,moduleConfig=computed(()=>({...Modules.joinConfig(config.value,ConfigFile$9),defaultHistoryAdapter:instanceList.find(t=>["history","sql","influxdb"].includes(t.substr(0,t.indexOf(".")))),stepLineChart:!1,timeTimelineDate:{from:{year:from.getFullYear(),month:from.getMonth()+1,day:from.getDate()},to:{year:to.getFullYear(),month:to.getMonth()+1,day:to.getDate()},...config.value.timeTimelineDate||{}}})),getCallback=(namespace,index,key)=>{if(moduleConfig.value[namespace]){const axisConfig=Array.isArray(moduleConfig.value[namespace])?moduleConfig.value[namespace]:[moduleConfig.value[namespace]];let parsedConfig;if(axisConfig&&axisConfig[index]&&axisConfig[index][key]&&typeof axisConfig[index][key]=="string"&&(axisConfig[index][key].indexOf("=>")!==-1||axisConfig[index][key].indexOf("(")!==-1&&axisConfig[index][key].indexOf(")")!==-1))try{parsedConfig=eval(axisConfig[index][key]);const test=parsedConfig&&parsedConfig(1)}catch(t){return console.warn("HistoryGraph",parsedConfig,t),null}else axisConfig&&axisConfig[index]&&axisConfig[index][key]&&(parsedConfig=axisConfig[index][key]);return parsedConfig}};if(Pro.isPro()){if(moduleConfig.value.callback)try{moduleConfig.value.chartCallback=eval(moduleConfig.value.callback);const test=moduleConfig.value.chartCallback&&moduleConfig.value.chartCallback(1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.chartCallback,moduleConfig.value.callback,t),moduleConfig.value.chartCallback=null}if([{key:"min",cb:"xMin"},{key:"max",cb:"xMax"}].forEach(t=>{moduleConfig.value[t.cb]=getCallback("xAxis",0,t.key)}),[{key:"min",cb:"yMin"},{key:"max",cb:"yMax"}].forEach(t=>{moduleConfig.value[t.cb]=getCallback("yAxis",0,t.key)}),moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel&&moduleConfig.value.xAxis.axisLabel.formatter&&(moduleConfig.value.xAxis.axisLabel.formatter.indexOf("=>")!==-1||moduleConfig.value.xAxis.axisLabel.formatter.indexOf("(")!==-1&&moduleConfig.value.xAxis.axisLabel.formatter.indexOf(")")!==-1))try{moduleConfig.value.xCallback=eval(moduleConfig.value.xAxis.axisLabel.formatter);const test=moduleConfig.value.xCallback&&moduleConfig.value.xCallback(1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.xCallback,moduleConfig.value.xAxis.axisLabel.formatter,t),moduleConfig.value.xCallback=null}else moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel&&moduleConfig.value.xAxis.axisLabel.formatter&&(moduleConfig.value.xCallback=moduleConfig.value.xAxis.axisLabel.formatter);const yAxes=!moduleConfig.value.yAxis||Array.isArray(moduleConfig.value.yAxis)?moduleConfig.value.yAxis||[]:[moduleConfig.value.yAxis];yAxes.forEach((yAxis,i)=>{if(moduleConfig.value.yCallbacks=moduleConfig.value.yCallbacks||[],yAxis.axisLabel&&yAxis.axisLabel.formatter&&(yAxis.axisLabel.formatter.indexOf("=>")!==-1||yAxis.axisLabel.formatter.indexOf("(")!==-1&&yAxis.axisLabel.formatter.indexOf(")")!==-1))try{moduleConfig.value.yCallbacks[i]=eval(yAxis.axisLabel.formatter);const test=moduleConfig.value.yCallbacks[i]&&moduleConfig.value.yCallbacks[i](1)}catch(t){console.warn("HistoryGraph",moduleConfig.value.yCallbacks[i],moduleConfig.value.yAxis.axisLabel.formatter,t),moduleConfig.value.yCallbacks[i]=null}else yAxis.axisLabel&&yAxis.axisLabel.formatter&&(moduleConfig.value.yCallbacks[i]=yAxis.axisLabel.formatter)})}const userConfig=ref(moduleConfig.value),tempConfig=ref(moduleConfig.value),optionsTimeType=ConfigFile$9.find(t=>t.parameter==="timeType").options,optionsTimeReviewUnits=ConfigFile$9.find(t=>t.parameter==="timeReviewUnit").options,loaded=ref(!1),errors=ref({}),key=ref(v4()),chartSeries=ref([]);let chartLabels={};const addSerieToChart=(history,config,state,device)=>{let label=config&&config.label||device&&device.name||device&&device.label||"???",data={};config.moduleConfig&&config.moduleConfig.color&&document.body.style.setProperty("--jarvis--historygraph--"+label.toLowerCase().replace(/ /g,"-").replace(/\./g,"-"),config.moduleConfig.color);let iterations=0;for(;Object.values(chartLabels).includes(label);)iterations++,label=label.replace(/ \(\d\)$/g,"")+" ("+iterations+")";chartLabels[device.id+":"+state.stateKey]=label;const maxEntries=parseInt(moduleConfig.value.maxEntries)||500,drop=history.length>maxEntries?Math.ceil(history.length/maxEntries):null;if(history.forEach(({ts,ack,val},i)=>{if(ts=Math.round(ts/1e3)*1e3,ack=ack!=null?ack:"both",(!config.moduleConfig||config.moduleConfig.ack===void 0||config.moduleConfig.ack===null||config.moduleConfig.ack==="both"||config.moduleConfig.ack.toString()===ack.toString()||ack.toString()==="both")&&(drop===null||i%drop===0)){if((typeof val=="boolean"||val==="true"||val==="false")&&(moduleConfig.value.stepLineChart=!0,val=val===!0||val==="true"?1:0),val=parseFloat(val)||val,Pro.isPro()&&config.moduleConfig&&config.moduleConfig.deviceCallback===!0&&state.properties&&state.properties.value)try{const cb=eval(state.properties.value);val=cb(val,ts,i)}catch(t){console.warn("HistoryGraph",t.message)}else Pro.isPro()&&moduleConfig.value.chartCallback&&(val=moduleConfig.value.chartCallback(val,ts,i));(!moduleConfig.value.yAxis||moduleConfig.value.yAxis.type!=="log"||moduleConfig.value.yAxis.type==="log"&&val!==0)&&(data[ts]=data[ts]&&data[ts][1]!==null?data[ts]:[ts,val,state.unit||Functions._defaults&&Functions._defaults[config.primaryStateKey]&&Functions._defaults[config.primaryStateKey].unit||"",config])}}),moduleConfig.value.timeType==="review"&&history.length>0){const t=moduleConfig.value.timeReviewUnit,r=Date.now(),o=(r-history[history.length-1].ts)/1e3,a=Math.floor(o/60),u=Math.floor(a/60),d=Math.floor(u/24),g=Math.floor(d/7),v=Math.floor(d/30);let y=null,A=1;if(t==="months"&&v>1?(y=v,A=30*24*60*60):t==="weeks"&&g>1?(y=g,A=7*24*60*60):t==="days"&&d>1?(y=d,A=24*60*60):t==="hours"&&u>1?(y=u,A=60*60):t==="minutes"&&a>1?(y=a,A=60):t==="seconds"&&o>1&&(y=o,A=1),y)for(let b=history[history.length-1].ts/1e3;b<=Math.floor(r/1e3);b+=A)data[b]=[b*1e3,history[history.length-1].val,state.unit||Functions._defaults&&Functions._defaults[config.primaryStateKey]&&Functions._defaults[config.primaryStateKey].unit||""]}data=Object.values(data);const color=config.moduleConfig&&config.moduleConfig.color?getComputedStyle(document.documentElement).getPropertyValue(config.moduleConfig.color.substr(0,config.moduleConfig.color.length-1).replace("var(",""))||config.moduleConfig.color:void 0,chartSerie={name:label,step:moduleConfig.value.stepLineChart||moduleConfig.value.chartType==="stepped"?"end":void 0,smooth:moduleConfig.value.chartType==="smooth",showSymbol:moduleConfig.value.showSymbol!==void 0?moduleConfig.value.showSymbol:!1,emphasis:{lineStyle:{width:2}},connectNulls:!0,symbol:"roundRect",...moduleConfig.value.series||{},lineStyle:{width:2,color,...moduleConfig.value.series&&moduleConfig.value.series.lineStyle||{}},itemStyle:{width:2,color,...moduleConfig.value.series&&moduleConfig.value.series.itemStyle||{}},type:moduleConfig.value.chartType==="bar"?"bar":"line",yAxisIndex:Pro.isPro()&&moduleConfig.value.yAxis&&Array.isArray(moduleConfig.value.yAxis)&&moduleConfig.value.yAxis.length>1&&config.moduleConfig&&Number.isInteger(config.moduleConfig.yaxis)?config.moduleConfig.yaxis:0,deviceId:config.deviceId,stateKey:config.primaryStateKey,data},findSerieIndex=chartSeries.value.findIndex(t=>t.deviceId===config.deviceId&&t.stateKey===config.primaryStateKey);chartSeries.value[findSerieIndex]=chartSerie,key.value=v4(),window.dispatchEvent(new Event("resize"))},subscriptionKeys=[],subscribe=()=>{const t={...moduleConfig.value,...userConfig.value,count:999999,aggregate:"none"};if(t.timeType==="timeline")t.start=new Date(t.timeTimelineDate.from.year,t.timeTimelineDate.from.month-1,t.timeTimelineDate.from.day).getTime(),t.end=new Date(t.timeTimelineDate.to.year,t.timeTimelineDate.to.month-1,t.timeTimelineDate.to.day).getTime(),t.count=differenceInDays(t.end,t.start)*200;else{let r=(t.timeReviewValue||7)*1e3;switch(t.timeReviewUnit){case"seconds":break;case"minutes":r=r*60;break;case"hours":r=r*60*60;break;case"weeks":r=r*60*60*24*7;break;case"months":r=r*60*60*24*31;break;case"days":default:r=r*60*60*24;break}t.review=r}chartLabels={},!props.widget.items||props.widget.items.length===0?(loaded.value=!0,errors.value.noDevices="No devices defined for HistoryGraph!"):(delete errors.value.noDevices,props.widget.items.forEach(r=>{if(r.type==="device"){chartSeries.value.some(w=>w.deviceId===r.deviceId&&w.stateKey===r.primaryStateKey)||chartSeries.value.push({deviceId:r.deviceId,stateKey:r.primaryStateKey,type:moduleConfig.value.chartType==="bar"?"bar":"line",data:[]});const o=(w,{subscriptionKey:S,history:C},T,I)=>{if(loaded.value=!0,w||!C){const E=w&&w.message||"Invalid History Data";return errors.value[S]=T.stateKey+": "+E+"!",errors.value}else if(!subscriptionKeys||!Array.isArray(subscriptionKeys)||subscriptionKeys.length===0||subscriptionKeys[subscriptionKeys.length-1].subscriptionKey!==S)return;delete errors.value[S],delete chartLabels[I.id+":"+T.stateKey],addSerieToChart(C,r,T,I)},{start:a,end:u,review:d,step:g,count:v,ack:y,ignoreNull:A,aggregate:b}=t,_=Devices.history(r.deviceId,r.primaryStateKey,{timeRefresh:t.timeRefresh,timeType:t.timeType,timeReviewUnit:t.timeReviewUnit,start:a,end:u,review:d,step:g,count:v,ack:y,ignoreNull:A,aggregate:b,instance:r.historyAdapter||moduleConfig.value.defaultHistoryAdapter},o);if(subscriptionKeys.length>0){const w=subscriptionKeys.findIndex(S=>S===_);subscriptionKeys.splice(w,1)}subscriptionKeys.push({subscriptionKey:_,deviceId:r.deviceId,stateKey:r.primaryStateKey})}}))},chartOptions=computed(()=>{const t=Pro.isPro()&&moduleConfig.value.yAxis?moduleConfig.value.yAxis:null;!Pro.isPro()&&(moduleConfig.value.xAxis||moduleConfig.value.yAxis)&&Pro.warn("HistoryGraph: Axis Configuration is only available to Pro!");let r=10;const o=2;let a=90;return moduleConfig.value.zoom&&(r+=10,a-=10),moduleConfig.value.dataZoom&&(a-=17),moduleConfig.value.legend==="top"&&(r+=10,a-=10),moduleConfig.value.legend==="bottom"&&(a-=10),{key:unref(key),backgroundColor:"transparent",tooltip:{trigger:"axis",position:(d,g,v,y,A)=>{const b=d[0],_=A.viewSize[0];return b>_/2?{left:b-A.contentSize[0],top:"10%"}:{left:b,top:"10%"}},formatter:d=>{const g=Array.isArray(d)?d:[],v={};g.forEach(A=>{let[,b,_,w]=A.data||[];_=typeof _=="object"?_[b]||_.default:_,b=w&&w.moduleConfig&&(w.moduleConfig.deviceCallback===!0||moduleConfig.value.chartCallback)?b:typeof b=="number"?b.toFixed(2):"-",v[A.seriesId]=""+A.marker+''+A.seriesName+''+b+(_?" "+_:"")+""});const y=g.find(A=>A.axisType==="xAxis.time");return y?format$2(y.axisValueLabel,"dd.MM.yyyy, HH:mm:ss")+"
    "+Object.values(v).join("
    "):null}},legend:{show:moduleConfig.value.legend!=="off",bottom:moduleConfig.value.legend==="bottom"?moduleConfig.value.dataZoom?50:0:"auto",padding:[10,10,0,10],textStyle:{color:$q.dark.isActive?"#fff":"#666"}},grid:{top:r+"%",left:"2%",right:"2%",bottom:o+"%",containLabel:!0,height:a+"%"},toolbox:{feature:{dataZoom:{show:moduleConfig.value.zoom,yAxisIndex:"none"}}},xAxis:{...Pro.isPro()&&moduleConfig.value.xAxis||{},min:moduleConfig.value.xMin,max:moduleConfig.value.xMax,axisLabel:{fontSize:10,...Pro.isPro()&&moduleConfig.value.xAxis&&moduleConfig.value.xAxis.axisLabel||{},formatter:Pro.isPro()&&moduleConfig.value.xCallback?moduleConfig.value.xCallback:moduleConfig.value.dateFormat?moduleConfig.value.dateFormat.replace("HH:mm|dd.MM.","{HH}:{mm}|{dd}.{MM}.").replace(/\|/g,` `):{year:"{yyyy}",month:"{MMM}",day:` {dd}.{MM}.`,hour:`{HH}:{mm} {dd}.{MM}.`,minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{hh}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss} {SSS}"}},type:"time"},yAxis:t&&Array.isArray(t)&&t.length>0?t.map((d,g)=>({axisPointer:{show:!0},splitLine:{lineStyle:{color:"#ccc"}},type:"value",...d||{},min:getCallback("yAxis",g,"min"),max:getCallback("yAxis",g,"max"),axisLabel:{...d&&d.axisLabel||{},formatter:moduleConfig.value.yCallbacks&&moduleConfig.value.yCallbacks[g]}})):[{axisPointer:{show:!0},splitLine:{lineStyle:{color:"#ccc"}},type:"value",...t||{},min:moduleConfig.value.yMin,max:moduleConfig.value.yMax,axisLabel:{...t&&t.axisLabel||{},formatter:moduleConfig.value.yCallbacks&&moduleConfig.value.yCallbacks[0]}}],dataZoom:moduleConfig.value.dataZoom&&[{start:100-(moduleConfig.value.dataZoom===1?100:parseInt(moduleConfig.value.dataZoom)||100),end:100}],series:chartSeries.value}}),onApply=()=>{userConfig.value=tempConfig.value,loaded.value=!1,subscribe()},onCancel=()=>{tempConfig.value=userConfig.value},onChange=t=>{tempConfig.value[t.id]=t.value};return onMounted(()=>subscribe()),onUnmounted(()=>{subscriptionKeys.forEach(t=>{Devices.unsubscribe(t.subscriptionKey,t.deviceId,t.stateKey,"history")})}),{zero,loaded,errors,moduleConfig,userConfig,tempConfig,chartOptions,onApply,onCancel,onChange,optionsTimeType,optionsTimeReviewUnits}}}),_hoisted_1$8={key:0},_hoisted_2$7={key:1},_hoisted_3$4={class:"row no-wrap q-pa-sm items-center bg-primary text-white"};function _sfc_render$9(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("v-chart"),y=resolveComponent("inputs");return openBlock(),createElementBlock("div",{class:"jarvis-HistoryGraph-Container",style:normalizeStyle$1(t.widgetSize),onTouchstart:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded]]),Object.values(t.errors).length>0?(openBlock(),createBlock(g,{key:0,title:Object.values(t.errors).join("
    ")},null,8,["title"])):createCommentVNode("",!0),t.loaded?(openBlock(),createElementBlock("div",{key:1,class:"jarvis-HistoryGraph",style:normalizeStyle$1({width:t.widgetSize.width,height:"calc("+t.widgetSize.height+" - 25px)"})},[createVNode$1(v,{autoresize:"",option:t.chartOptions},null,8,["option"])],4)):createCommentVNode("",!0),t.moduleConfig.timeConfigurable?withDirectives((openBlock(),createElementBlock("a",{key:2,class:normalizeClass(["jarvis-HistoryGraph-Configuration","jarvis-HistoryGraph-Configuration-"+t.widget.id])},[t.userConfig.timeType==="timeline"?(openBlock(),createElementBlock("span",_hoisted_1$8,toDisplayString$1(t.zero(t.userConfig.timeTimelineDate.from.day))+"."+toDisplayString$1(t.zero(t.userConfig.timeTimelineDate.from.month))+"."+toDisplayString$1(t.userConfig.timeTimelineDate.from.year)+" - "+toDisplayString$1(t.zero(t.userConfig.timeTimelineDate.to.day))+"."+toDisplayString$1(t.zero(t.userConfig.timeTimelineDate.to.month))+"."+toDisplayString$1(t.userConfig.timeTimelineDate.to.year),1)):(openBlock(),createElementBlock("span",_hoisted_2$7,toDisplayString$1(t.userConfig.timeReviewValue)+" "+toDisplayString$1(t.$t(t.userConfig.timeReviewUnit)),1)),t.moduleConfig.timeConfigurable?(openBlock(),createBlock(QMenu,{key:2,fit:"",cover:"",class:"jarvis-HistoryGraph-Menu",target:".jarvis-HistoryGraph-Configuration-"+t.widget.id,onHide:t.onCancel},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$4,[createVNode$1(y,{id:"timeType","input-class":"text-white",type:"Select",dense:"",value:t.tempConfig.timeType,options:t.optionsTimeType,onOnSelect:t.onChange},null,8,["value","options","onOnSelect"]),withDirectives(createVNode$1(y,{id:"timeTimelineDate","input-class":"text-white",type:"Date",dense:"",value:t.tempConfig.timeTimelineDate,onOnChange:t.onChange},null,8,["value","onOnChange"]),[[vShow,t.tempConfig.timeType==="timeline"]]),withDirectives(createVNode$1(y,{id:"timeReviewValue","input-class":"text-white",type:"Number",dense:"",value:t.tempConfig.timeReviewValue,onOnChange:t.onChange},null,8,["value","onOnChange"]),[[vShow,t.tempConfig.timeType==="review"]]),withDirectives(createVNode$1(y,{id:"timeReviewUnit","input-class":"text-white",type:"Select",dense:"",value:t.tempConfig.timeReviewUnit,options:t.optionsTimeReviewUnits,onOnSelect:t.onChange},null,8,["value","options","onOnSelect"]),[[vShow,t.tempConfig.timeType==="review"]]),createVNode$1(QSpace),withDirectives(createVNode$1(QBtn,{flat:"",label:t.$t("Apply"),onClick:t.onApply},null,8,["label","onClick"]),[[ClosePopup]])])]),_:1},8,["target","onHide"])):createCommentVNode("",!0)],2)),[[vShow,t.loaded]]):createCommentVNode("",!0)],36)}var HistoryGraph=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9]]),HistoryGraph$1=Object.freeze(Object.defineProperty({__proto__:null,default:HistoryGraph},Symbol.toStringTag,{value:"Module"})),HomeKitTile_vue_vue_type_style_index_0_scoped_true_lang="";const{capitalize}=format$1,_sfc_main$8=defineComponent({name:"ModuleHomeKitTile",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=useI18n(),o=useRouter(),a=useJarvis(),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$8)})),g=computed(()=>t.widget.items&&t.widget.items[0]||{}),v=computed(()=>Devices.get(g.value.deviceId)),y=ref({}),A=ref({}),b=computed(()=>({on:"true",off:"false",...y.value&&y.value.properties||{}})),_=computed(()=>y.value&&y.value.val!==void 0&&y.value.val.toString()===b.value.on.toString()),w=(x,P,G,M)=>{if(T.value=!0,x){I.value=x;return}y.value=M},S=(x,P,G,M)=>{if(T.value=!0,x){I.value=x;return}A.value=M},C=computed(()=>{let x=y.value&&y.value.bodyStyle;if(!x)return"";if(typeof x=="string"){x.indexOf("{")!==-1&&x.indexOf("}")!==-1&&(x=x.replace("{","").replace("}",""));const P={};return x.split(";").forEach(G=>{const[M,N]=G.split(":");P[M.trim()]=N.trim()}),P}try{return x}catch(P){return""}}),T=ref(!1),I=ref();let E=[];watchEffect(()=>{v.value?g.value.bodyStateKey||g.value.primaryStateKey?(g.value.primaryStateKey&&(E=E.concat(Devices.listen(v.value.id,g.value.primaryStateKey,w))),g.value.bodyStateKey&&(E=E.concat(Devices.listen(v.value.id,g.value.bodyStateKey,S)))):T.value=!0:(I.value="HomeKitTile: "+r.t("Device {deviceId} not found").replace("{deviceId}",g.value.deviceId),console.warn(I.value),T.value=!0)}),onBeforeUnmount(()=>Devices.unlisten(E));const F=(x,P,G)=>{if(Array.isArray(G))return G.some(N=>F(x,P,N));const M=d.value[x+capitalize(P)];return M===null?!1:G==="secondaryStates"?M===G&&g.value.secondaryStatesKeys:G==="state"?M===G&&g.value.primaryStateKey:G==="bodyElement"?M===G&&g.value.bodyStateKey&&g.value.bodyElement:G==="actionElement"?M===G&&g.value.primaryStateKey&&g.value.actionElement:M===G},O=(x,P="action",G="State")=>Functions.Components[x]&&Functions.Components[x][P][G]||Functions.Components._defaults&&Functions.Components._defaults[P][G]||null,D=()=>{if(d.value.action==="website"&&(d.value.website.indexOf("http")>-1||d.value.website.indexOf("www")>-1))window.open((d.value.website.indexOf("http")===-1?"http://":"")+d.value.website,"_blank");else if(d.value.action==="page"&&d.value.jumper)o.push({params:{tabId:d.value.jumper}}).catch(x=>console.warn(x));else if(d.value.action==="popup"&&v.value)a.set({selectedDeviceId:v.value.id});else if(v.value&&d.value.action==="trigger"&&g.value.primaryStateKey){const x=_.value?b.value.setOff:b.value.setOn;let P=_.value?b.value.off:b.value.on;P=typeof P=="string"&&(P==="true"||P==="false")?P==="true":P,Devices.set(v.value.id,g.value.primaryStateKey,x!==void 0?x:P)}};return{FunctionsComponents:Functions.Components,FunctionsIcons:Functions.Icons,horizontal:["left","center","right"],vertical:["top","middle","bottom"],moduleConfig:d,loaded:T,error:I,device:v,deviceConfig:g,primaryState:y,bodyState:A,bodyStyle:C,setDevice:Devices.set,getComponent:O,hasElement:F,jump:D}}}),_hoisted_1$7=["v-ripple"],_hoisted_2$6={key:0,class:"q-focus-helper"};function _sfc_render$8(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",{class:normalizeClass(["jarvis-HomeKitTile-Container",{"cursor-pointer":t.moduleConfig.action&&t.moduleConfig.action!=="none","q-hoverable":t.moduleConfig.action&&t.moduleConfig.action!=="none"}]),style:normalizeStyle$1(t.widgetSize),"v-ripple":t.moduleConfig.action&&t.moduleConfig.action!=="none",onClick:r[0]||(r[0]=(...y)=>t.jump&&t.jump(...y))},[t.moduleConfig.action&&t.moduleConfig.action!=="none"?(openBlock(),createElementBlock("span",_hoisted_2$6)):createCommentVNode("",!0),withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error&&t.error.message||t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),t.device?withDirectives((openBlock(),createElementBlock("div",{key:1,class:"jarvis-HomeKitTile-Grid q-pa-sm full-height",style:normalizeStyle$1(t.bodyStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.vertical,y=>(openBlock(),createElementBlock(Fragment,{key:y},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.horizontal,A=>(openBlock(),createElementBlock("div",{key:A,class:normalizeClass(["item nowrap",[y,A]])},[t.hasElement(y,A,"icon")?(openBlock(),createBlock(v,{key:0,alignment:A,styles:t.primaryState.iconStyle||{},loading:!t.loaded,name:t.primaryState.icon,color:"primary","icon-button":""},null,8,["alignment","styles","loading","name"])):createCommentVNode("",!0),t.hasElement(y,A,"deviceIcon")?(openBlock(),createBlock(v,{key:1,alignment:A,styles:t.primaryState.iconStyle||{},loading:!t.loaded,name:t.device.icon||t.FunctionsIcons[t.device.function],color:"primary","icon-button":""},null,8,["alignment","styles","loading","name"])):createCommentVNode("",!0),t.hasElement(y,A,"label")?(openBlock(),createBlock(resolveDynamicComponent(t.FunctionsComponents._defaults.components.Title),{key:2,alignment:A,device:t.device,state:t.bodyState,"state-key":t.deviceConfig.bodyStateKey,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["alignment","device","state","state-key","device-config","onSetDevice"])):createCommentVNode("",!0),t.hasElement(y,A,"secondaryStates")?(openBlock(),createBlock(resolveDynamicComponent(t.FunctionsComponents._defaults.components.SecondaryStates),{key:3,alignment:A,device:t.device,state:t.primaryState,"state-key":t.deviceConfig.primaryStateKey,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["alignment","device","state","state-key","device-config","onSetDevice"])):createCommentVNode("",!0),t.hasElement(y,A,"state")?(openBlock(),createBlock(resolveDynamicComponent(t.FunctionsComponents._defaults.components.State),{key:4,alignment:A,device:t.device,state:t.primaryState,"state-key":t.deviceConfig.primaryStateKey,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["alignment","device","state","state-key","device-config","onSetDevice"])):createCommentVNode("",!0),t.hasElement(y,A,"bodyElement")?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.device.function,"body",t.deviceConfig.bodyElement)),{key:5,alignment:A,device:t.device,state:t.bodyState,"state-key":t.deviceConfig.bodyStateKey,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["alignment","device","state","state-key","device-config","onSetDevice"])):createCommentVNode("",!0),t.hasElement(y,A,"actionElement")?(openBlock(),createBlock(resolveDynamicComponent(t.getComponent(t.device.function,"action",t.deviceConfig.actionElement)),{key:6,alignment:A,device:t.device,state:t.primaryState,"state-key":t.deviceConfig.primaryStateKey,"device-config":t.deviceConfig,onSetDevice:t.setDevice},null,40,["alignment","device","state","state-key","device-config","onSetDevice"])):createCommentVNode("",!0)],2))),128))],64))),128))],4)),[[vShow,t.loaded&&!t.error]]):createCommentVNode("",!0)],14,_hoisted_1$7)}var HomeKitTile=_export_sfc$1(_sfc_main$8,[["render",_sfc_render$8],["__scopeId","data-v-7a44780b"]]),HomeKitTile$1=Object.freeze(Object.defineProperty({__proto__:null,default:HomeKitTile},Symbol.toStringTag,{value:"Module"}));const _sfc_main$7=defineComponent({name:"ModuleHtmlTable"});function _sfc_render$7(t,r,o,a,u,d){const g=resolveComponent("JsonTable");return openBlock(),createBlock(g,normalizeProps(guardReactiveProps(t.$props)),null,16)}var HtmlTable=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7]]),HtmlTable$1=Object.freeze(Object.defineProperty({__proto__:null,default:HtmlTable},Symbol.toStringTag,{value:"Module"})),JsonTable_vue_vue_type_style_index_0_lang="";const _sfc_main$6=defineComponent({name:"ModuleJsonTable",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(props){const i18n=useI18n(),config=computed(()=>props.widget.config),moduleConfig=computed(()=>({...Modules.joinConfig(config.value,ConfigFile$7)})),device=ref(null),deviceConfig=computed(()=>props.widget.items&&props.widget.items[0]||{}),columns=ref([]),columnsVisible=ref([]),parser=data=>{if(loaded.value=!1,!data)return loaded.value=!0,[];const c=[],cVisible=[];let j=convertToJson(data);try{if(j=typeof j=="string"?JSON.parse(j):j,j=Array.isArray(j)?j:[j],!Array.isArray(j)&&typeof j!="object")throw new Error("JSON must be array of objects.");j=flatten(j);let theads=_default(moduleConfig.value.thead&&moduleConfig.value.thead.length>0?moduleConfig.value.thead:!j||!j[0]?[]:Object.keys(j[0]).map(t=>({field:t,label:t})));if(!Array.isArray(j)||moduleConfig.value.object===!0){const t=[];theads=_default(moduleConfig.value.thead&&moduleConfig.value.thead.length>0?moduleConfig.value.thead:[{field:i18n.t("Column")+" A"},{field:i18n.t("Column")+" B"}]),j=j[0]||j;for(const r in j){const o=j[r];t.push({[theads[0].field||theads[0].label]:r,[theads[1].field||theads[1].label]:o})}j=t}if(j.length>0){for(const i in theads){const thead=theads[i],columnKey=thead.field||thead.label||Object.keys(j[0])[i];let val=j[0][columnKey];const parsedFloat=parseFloat(val);if(!columnKey){console.warn("JsonTable",props.widget.id,'Neither "field" nor "label" defined for column #'+i,thead);continue}const column={label:columnKey,align:"left",sortable:!0,...thead,name:columnKey.toLowerCase(),field:columnKey},keys=["format","style","classes"];keys.forEach(key=>{if(Pro.isPro()&&thead[key]&&(thead[key].indexOf("(")!==-1&&thead[key].indexOf(")")!==-1||thead[key].indexOf("=>")!==-1))try{column[key]=eval(thead[key]);const row=j[0]||{};val=column[key](...key==="format"?[val,row]:[0,row,{rowIndex:0,row,cols:toRaw(columns.value)}])}catch(t){error.value=t.message,console.error("JsonTable",props.widget.id,t)}else!Pro.isPro()&&thead[key]&&(thead[key].indexOf("(")!==-1&&thead[key].indexOf(")")!==-1||thead[key].indexOf("=>")!==-1)&&Pro.warn("JsonTable: Callback for "+key+" only available in Pro.")});const RegExpTime="\\d{2}:\\d{2}(:\\d{2})?",RegExpDateGerman="(0[1-9]|[12][0-9]|3[01])[.](0[1-9]|1[012])[.]((19|20)[0-9]{2})?";/^\d{4}[\.-]\d{2}[\.-]\d{2}([ |T]\d{2}:\d{2}(:\d{2})?([.]\d{3})?Z?)?$/.test(val)?(column.sort=(t,r)=>compareDesc(parseISO(t),parseISO(r)),column.format=t=>format$2(t,thead.mask?thead.mask:t.indexOf(":")!==-1?"dd.MM.yyyy HH:mm":"dd.MM.yyyy")):RegExp("^"+RegExpDateGerman+"$").test(val)||RegExp("^"+RegExpDateGerman+" "+RegExpTime+"$").test(val)?column.sort=(t,r)=>{const o=new Date;return t=t&&t.endsWith(".")?t+""+o.getFullYear():t&&!t.endsWith(".")&&t.indexOf(".")===t.lastIndexOf(".")?t+"."+o.getFullYear():t,r=r&&r.endsWith(".")?r+""+o.getFullYear():r&&!r.endsWith(".")&&r.indexOf(".")===r.lastIndexOf(".")?r+"."+o.getFullYear():r,t&&r?compareDesc(parse$o(t,t.toString().length===10?"dd.MM.yyyy":"dd.MM.yyyy HH:mm:ss",new Date),parse$o(r,r.toString().length===10?"dd.MM.yyyy":"dd.MM.yyyy HH:mm:ss",new Date)):0}:RegExp("^"+RegExpTime+"$").test(val)?column.sort=(t,r)=>(t=t.replace(/:/,""),r=r.replace(/:/,""),t===r?0:t>r?1:-1):/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4}$/.test(val)?column.sort=(t,r)=>(t=t.split(".").map(o=>("00"+o).slice(-3)).join(""),r=r.split(".").map(o=>("00"+o).slice(-3)).join(""),t===r?0:t>r?1:-1):Number.isNaN(parsedFloat)||(column.sort=(t,r)=>(t=parseFloat(t),r=parseFloat(r),t===r?0:t>r?1:-1)),c.push(column),column.visible!==!1&&cVisible.push(columnKey.toLowerCase())}columns.value=c,columnsVisible.value=cVisible}}catch(t){error.value=t.message,console.warn("JsonTable",props.widget.id,t),j=[]}return loaded.value=!0,moduleConfig.value.max>0?j.slice(0,moduleConfig.value.max):j},flatten=t=>t.map(r=>flat(r)),flat=(t,r=0)=>{let o={};for(const a in t){let u=t[a];if(Array.isArray(u)&&(u.length===0||u.length>0&&typeof u[0]!="object"))o[a]=u.join(", ");else if(typeof u=="object"){u=flat(u,++r);const d={};for(const g in u)d[a+"."+g]=u[g];o={...o,...d}}else o[a]=u}return o},extractLabel=t=>{const r=t.indexOf(">")+1,o=t.indexOf("{let r=t;if(r&&!r.startsWith("{")&&!r.startsWith("[")&&!r.endsWith("}")&&!r.endsWith("]")&&r.indexOf("")),u=a.substr(a.indexOf(">")+1),d=u.split("{b.indexOf("colspan=")===-1&&v.push(b?stripHtml(extractLabel(b)):"")}),d.shift();const y=[];v=v.map(b=>(y.includes(b)&&(b=b.indexOf(" (")!==-1?b.replace(/ \((\d)\)/,(_,w)=>(w=parseInt(w)+1," ("+w+")")):b+" (2)"),y.push(b),b));const A=[];d.forEach(b=>{const _=b.split("{w[v[C]]=S?stripHtml(extractLabel(S)):""}),Object.keys(w).length>0&&A.push(w)}),r=JSON.stringify(A)}return r},json=ref([]),gotState=(t,r,o,a)=>{if(t)return console.warn("JsonTable",props.widget.id,t&&t.message||t),t&&t.message||t;json.value=parser(a.val)},error=ref(null),loaded=ref(!1);let subscriptionKeys=[];return watch(deviceConfig,t=>{device.value=Devices.get(t.deviceId),device.value?subscriptionKeys=Devices.listen(device.value.id,t.primaryStateKey,gotState):(error.value=i18n.t("Device {deviceId} not found").replace("{deviceId}",t.deviceId),console.warn("JsonTable",props.widget.id,error.value),loaded.value=!0)},{immediate:!0}),onBeforeUnmount(()=>Devices.unlisten(subscriptionKeys)),{json,filter:ref(),columns,columnsVisible,loaded,error,device,moduleConfig,isPro:Pro.isPro(),style:computed(()=>({height:props.widgetSize.height})),pagination:computed(()=>({sortBy:moduleConfig.value.sortColumn?moduleConfig.value.sortColumn.toLowerCase():"",descending:moduleConfig.value.sortDirection!==void 0?moduleConfig.value.sortDirection:!1,rowsPerPage:moduleConfig.value.rowsPerPage>=0?moduleConfig.value.rowsPerPage:10}))}}}),_hoisted_1$6={class:"row"},_hoisted_2$5=["innerHTML"],_hoisted_3$3={key:1};function _sfc_render$6(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{key:t.widget.revision,class:"jarvis-JsonTable-Container",style:normalizeStyle$1(t.style)},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.error]]),t.device?withDirectives((openBlock(),createBlock(QTable,{key:0,rows:t.json,filter:t.filter,flat:"",dense:t.moduleConfig.dense,pagination:t.pagination,"binary-state-sort":"",columns:t.columns,"row-key":"name","visible-columns":t.columnsVisible,class:"jarvis-JsonTable sticky-table-header full-height"},createSlots({body:withCtx(v=>[createVNode$1(QTr,{props:v},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(v.cols,y=>(openBlock(),createBlock(QTd,{key:y.field,class:normalizeClass([[v.rowIndex%2!==1?"jarvis-JsonTable-row-odd":"jarvis-JsonTable-row-even"],...((typeof y.classes=="function"?y.classes(v.rowIndex,v.row,v):y.classes)||"").split(" ")]),align:y.align,style:normalizeStyle$1(typeof y.style=="function"?y.style(v.rowIndex,v.row,v):y.style)},{default:withCtx(()=>[t.isPro?(openBlock(),createElementBlock("div",{key:0,innerHTML:y.value},null,8,_hoisted_2$5)):(openBlock(),createElementBlock("div",_hoisted_3$3,toDisplayString$1(y.value),1))]),_:2},1032,["class","align","style"]))),128))]),_:2},1032,["props"])]),_:2},[t.moduleConfig.hideFilter!==!0?{name:"top-left",fn:withCtx(()=>[withDirectives(createVNode$1(QInput,{modelValue:t.filter,"onUpdate:modelValue":r[0]||(r[0]=v=>t.filter=v),borderless:"",dense:"",debounce:"300",placeholder:t.$t("Search"),style:{"max-width":"120px"}},{prepend:withCtx(()=>[createVNode$1(QIcon,{name:"mdi-magnify"})]),_:1},8,["modelValue","placeholder"]),[[vShow,t.json&&t.json.length>0]])]),key:"0"}:void 0,t.moduleConfig.hideColumnsSelector!==!0||t.moduleConfig.hideFullscreenButton!==!0?{name:"top-right",fn:withCtx(v=>[withDirectives(createBaseVNode("div",_hoisted_1$6,[t.moduleConfig.hideColumnsSelector!==!0?(openBlock(),createBlock(QSelect,{key:0,modelValue:t.columnsVisible,"onUpdate:modelValue":r[1]||(r[1]=y=>t.columnsVisible=y),multiple:"",outlined:"",dense:"","options-dense":"","display-value":t.$q.lang.table.columns,"emit-value":"","map-options":"",options:t.columns,"option-value":"name","options-cover":"",style:{"min-width":"150px"}},null,8,["modelValue","display-value","options"])):createCommentVNode("",!0),t.moduleConfig.hideColumnsSelector!==!0&&t.moduleConfig.hideFullscreenButton!==!0?(openBlock(),createBlock(QSeparator,{key:1,vertical:"",class:"q-mx-sm"})):createCommentVNode("",!0),t.moduleConfig.hideFullscreenButton!==!0?(openBlock(),createBlock(QBtn,{key:2,flat:"",round:"",dense:"",icon:v.inFullscreen?"mdi-fullscreen-exit":"mdi-fullscreen",style:{width:"40px"},onClick:v.toggleFullscreen},null,8,["icon","onClick"])):createCommentVNode("",!0)],512),[[vShow,t.json&&t.json.length>0]])]),key:"1"}:void 0]),1032,["rows","filter","dense","pagination","columns","visible-columns"])),[[vShow,!t.error]]):createCommentVNode("",!0)],4)}var JsonTable=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6]]),JsonTable$1=Object.freeze(Object.defineProperty({__proto__:null,default:JsonTable},Symbol.toStringTag,{value:"Module"})),leafletSrc={exports:{}};/* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */(function(t,r){(function(o,a){a(r)})(commonjsGlobal$1,function(o){var a="1.9.4";function u(Z){var q,fe,Ie,Me;for(fe=1,Ie=arguments.length;fe0?Math.floor(Z):Math.ceil(Z)};J.prototype={clone:function(){return new J(this.x,this.y)},add:function(Z){return this.clone()._add(te(Z))},_add:function(Z){return this.x+=Z.x,this.y+=Z.y,this},subtract:function(Z){return this.clone()._subtract(te(Z))},_subtract:function(Z){return this.x-=Z.x,this.y-=Z.y,this},divideBy:function(Z){return this.clone()._divideBy(Z)},_divideBy:function(Z){return this.x/=Z,this.y/=Z,this},multiplyBy:function(Z){return this.clone()._multiplyBy(Z)},_multiplyBy:function(Z){return this.x*=Z,this.y*=Z,this},scaleBy:function(Z){return new J(this.x*Z.x,this.y*Z.y)},unscaleBy:function(Z){return new J(this.x/Z.x,this.y/Z.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ne(this.x),this.y=ne(this.y),this},distanceTo:function(Z){Z=te(Z);var q=Z.x-this.x,fe=Z.y-this.y;return Math.sqrt(q*q+fe*fe)},equals:function(Z){return Z=te(Z),Z.x===this.x&&Z.y===this.y},contains:function(Z){return Z=te(Z),Math.abs(Z.x)<=Math.abs(this.x)&&Math.abs(Z.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function te(Z,q,fe){return Z instanceof J?Z:O(Z)?new J(Z[0],Z[1]):Z==null?Z:typeof Z=="object"&&"x"in Z&&"y"in Z?new J(Z.x,Z.y):new J(Z,q,fe)}function ce(Z,q){if(!!Z)for(var fe=q?[Z,q]:Z,Ie=0,Me=fe.length;Ie=this.min.x&&fe.x<=this.max.x&&q.y>=this.min.y&&fe.y<=this.max.y},intersects:function(Z){Z=se(Z);var q=this.min,fe=this.max,Ie=Z.min,Me=Z.max,$e=Me.x>=q.x&&Ie.x<=fe.x,Ke=Me.y>=q.y&&Ie.y<=fe.y;return $e&&Ke},overlaps:function(Z){Z=se(Z);var q=this.min,fe=this.max,Ie=Z.min,Me=Z.max,$e=Me.x>q.x&&Ie.xq.y&&Ie.y=q.lat&&Me.lat<=fe.lat&&Ie.lng>=q.lng&&Me.lng<=fe.lng},intersects:function(Z){Z=he(Z);var q=this._southWest,fe=this._northEast,Ie=Z.getSouthWest(),Me=Z.getNorthEast(),$e=Me.lat>=q.lat&&Ie.lat<=fe.lat,Ke=Me.lng>=q.lng&&Ie.lng<=fe.lng;return $e&&Ke},overlaps:function(Z){Z=he(Z);var q=this._southWest,fe=this._northEast,Ie=Z.getSouthWest(),Me=Z.getNorthEast(),$e=Me.lat>q.lat&&Ie.latq.lng&&Ie.lng1,Je=function(){var Z=!1;try{var q=Object.defineProperty({},"passive",{get:function(){Z=!0}});window.addEventListener("testPassiveEventSupport",_,q),window.removeEventListener("testPassiveEventSupport",_,q)}catch(fe){}return Z}(),st=function(){return!!document.createElement("canvas").getContext}(),At=!!(document.createElementNS&&Ee("svg").createSVGRect),bt=!!At&&function(){var Z=document.createElement("div");return Z.innerHTML="",(Z.firstChild&&Z.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Le=!At&&function(){try{var Z=document.createElement("div");Z.innerHTML='';var q=Z.firstChild;return q.style.behavior="url(#default#VML)",q&&typeof q.adj=="object"}catch(fe){return!1}}(),Fe=navigator.platform.indexOf("Mac")===0,it=navigator.platform.indexOf("Linux")===0;function It(Z){return navigator.userAgent.toLowerCase().indexOf(Z)>=0}var Ne={ie:ue,ielt9:be,edge:ie,webkit:oe,android:me,android23:Se,androidStock:De,opera:Pe,chrome:Be,gecko:ot,safari:ct,phantom:_t,opera12:He,win:Ve,ie3d:ke,webkit3d:Qe,gecko3d:yt,any3d:Ct,mobile:Xe,mobileWebkit:dt,mobileWebkit3d:Re,msPointer:Ye,pointer:at,touch:St,touchNative:mt,mobileOpera:Rt,mobileGecko:Oe,retina:We,passiveEvents:Je,canvas:st,svg:At,vml:Le,inlineSvg:bt,mac:Fe,linux:it},Ge=Ne.msPointer?"MSPointerDown":"pointerdown",ze=Ne.msPointer?"MSPointerMove":"pointermove",et=Ne.msPointer?"MSPointerUp":"pointerup",nt=Ne.msPointer?"MSPointerCancel":"pointercancel",Bt={touchstart:Ge,touchmove:ze,touchend:et,touchcancel:nt},Wt={touchstart:Ot,touchmove:kt,touchend:kt,touchcancel:kt},jt={},qt=!1;function dn(Z,q,fe){return q==="touchstart"&&Ue(),Wt[q]?(fe=Wt[q].bind(this,fe),Z.addEventListener(Bt[q],fe,!1),fe):(console.warn("wrong event specified:",q),_)}function Qt(Z,q,fe){if(!Bt[q]){console.warn("wrong event specified:",q);return}Z.removeEventListener(Bt[q],fe,!1)}function an(Z){jt[Z.pointerId]=Z}function ln(Z){jt[Z.pointerId]&&(jt[Z.pointerId]=Z)}function Ht(Z){delete jt[Z.pointerId]}function Ue(){qt||(document.addEventListener(Ge,an,!0),document.addEventListener(ze,ln,!0),document.addEventListener(et,Ht,!0),document.addEventListener(nt,Ht,!0),qt=!0)}function kt(Z,q){if(q.pointerType!==(q.MSPOINTER_TYPE_MOUSE||"mouse")){q.touches=[];for(var fe in jt)q.touches.push(jt[fe]);q.changedTouches=[q],Z(q)}}function Ot(Z,q){q.MSPOINTER_TYPE_TOUCH&&q.pointerType===q.MSPOINTER_TYPE_TOUCH&&sn(q),kt(Z,q)}function Ft(Z){var q={},fe,Ie;for(Ie in Z)fe=Z[Ie],q[Ie]=fe&&fe.bind?fe.bind(Z):fe;return Z=q,q.type="dblclick",q.detail=2,q.isTrusted=!1,q._simulated=!0,q}var Jt=200;function Xt(Z,q){Z.addEventListener("dblclick",q);var fe=0,Ie;function Me($e){if($e.detail!==1){Ie=$e.detail;return}if(!($e.pointerType==="mouse"||$e.sourceCapabilities&&!$e.sourceCapabilities.firesTouchEvents)){var Ke=Rn($e);if(!(Ke.some(function(vt){return vt instanceof HTMLLabelElement&&vt.attributes.for})&&!Ke.some(function(vt){return vt instanceof HTMLInputElement||vt instanceof HTMLSelectElement}))){var ht=Date.now();ht-fe<=Jt?(Ie++,Ie===2&&q(Ft($e))):Ie=1,fe=ht}}}return Z.addEventListener("click",Me),{dblclick:q,simDblclick:Me}}function cn(Z,q){Z.removeEventListener("dblclick",q.dblclick),Z.removeEventListener("click",q.simDblclick)}var rn=ii(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),mn=ii(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Tn=mn==="webkitTransition"||mn==="OTransition"?mn+"End":"transitionend";function Pn(Z){return typeof Z=="string"?document.getElementById(Z):Z}function wn(Z,q){var fe=Z.style[q]||Z.currentStyle&&Z.currentStyle[q];if((!fe||fe==="auto")&&document.defaultView){var Ie=document.defaultView.getComputedStyle(Z,null);fe=Ie?Ie[q]:null}return fe==="auto"?null:fe}function Kt(Z,q,fe){var Ie=document.createElement(Z);return Ie.className=q||"",fe&&fe.appendChild(Ie),Ie}function un(Z){var q=Z.parentNode;q&&q.removeChild(Z)}function Mn(Z){for(;Z.firstChild;)Z.removeChild(Z.firstChild)}function xn(Z){var q=Z.parentNode;q&&q.lastChild!==Z&&q.appendChild(Z)}function On(Z){var q=Z.parentNode;q&&q.firstChild!==Z&&q.insertBefore(Z,q.firstChild)}function Vn(Z,q){if(Z.classList!==void 0)return Z.classList.contains(q);var fe=ni(Z);return fe.length>0&&new RegExp("(^|\\s)"+q+"(\\s|$)").test(fe)}function Yt(Z,q){if(Z.classList!==void 0)for(var fe=C(q),Ie=0,Me=fe.length;Ie0?2*window.devicePixelRatio:1;function bn(Z){return Ne.edge?Z.wheelDeltaY/2:Z.deltaY&&Z.deltaMode===0?-Z.deltaY/vn:Z.deltaY&&Z.deltaMode===1?-Z.deltaY*20:Z.deltaY&&Z.deltaMode===2?-Z.deltaY*60:Z.deltaX||Z.deltaZ?0:Z.wheelDelta?(Z.wheelDeltaY||Z.wheelDelta)/2:Z.detail&&Math.abs(Z.detail)<32765?-Z.detail*20:Z.detail?Z.detail/-32765*60:0}function ri(Z,q){var fe=q.relatedTarget;if(!fe)return!0;try{for(;fe&&fe!==Z;)fe=fe.parentNode}catch(Ie){return!1}return fe!==Z}var gi={__proto__:null,on:wt,off:Tt,stopPropagation:Ut,disableScrollPropagation:gn,disableClickPropagation:pn,preventDefault:sn,stop:yn,getPropagationPath:Rn,getMousePosition:kn,getWheelDelta:bn,isExternalTarget:ri,addListener:wt,removeListener:Tt},oi=X.extend({run:function(Z,q,fe,Ie){this.stop(),this._el=Z,this._inProgress=!0,this._duration=fe||.25,this._easeOutPower=1/Math.max(Ie||.5,.2),this._startPos=$n(Z),this._offset=q.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){!this._inProgress||(this._step(!0),this._complete())},_animate:function(){this._animId=Y(this._animate,this),this._step()},_step:function(Z){var q=+new Date-this._startTime,fe=this._duration*1e3;qthis.options.maxZoom)?this.setZoom(Z):this},panInsideBounds:function(Z,q){this._enforcingBounds=!0;var fe=this.getCenter(),Ie=this._limitCenter(fe,this._zoom,he(Z));return fe.equals(Ie)||this.panTo(Ie,q),this._enforcingBounds=!1,this},panInside:function(Z,q){q=q||{};var fe=te(q.paddingTopLeft||q.padding||[0,0]),Ie=te(q.paddingBottomRight||q.padding||[0,0]),Me=this.project(this.getCenter()),$e=this.project(Z),Ke=this.getPixelBounds(),ht=se([Ke.min.add(fe),Ke.max.subtract(Ie)]),vt=ht.getSize();if(!ht.contains($e)){this._enforcingBounds=!0;var Mt=$e.subtract(ht.getCenter()),zt=ht.extend($e).getSize().subtract(vt);Me.x+=Mt.x<0?-zt.x:zt.x,Me.y+=Mt.y<0?-zt.y:zt.y,this.panTo(this.unproject(Me),q),this._enforcingBounds=!1}return this},invalidateSize:function(Z){if(!this._loaded)return this;Z=u({animate:!1,pan:!0},Z===!0?{animate:!0}:Z);var q=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var fe=this.getSize(),Ie=q.divideBy(2).round(),Me=fe.divideBy(2).round(),$e=Ie.subtract(Me);return!$e.x&&!$e.y?this:(Z.animate&&Z.pan?this.panBy($e):(Z.pan&&this._rawPanBy($e),this.fire("move"),Z.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(g(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:q,newSize:fe}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(Z){if(Z=this._locateOptions=u({timeout:1e4,watch:!1},Z),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var q=g(this._handleGeolocationResponse,this),fe=g(this._handleGeolocationError,this);return Z.watch?this._locationWatchId=navigator.geolocation.watchPosition(q,fe,Z):navigator.geolocation.getCurrentPosition(q,fe,Z),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(Z){if(!!this._container._leaflet_id){var q=Z.code,fe=Z.message||(q===1?"permission denied":q===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:q,message:"Geolocation error: "+fe+"."})}},_handleGeolocationResponse:function(Z){if(!!this._container._leaflet_id){var q=Z.coords.latitude,fe=Z.coords.longitude,Ie=new ye(q,fe),Me=Ie.toBounds(Z.coords.accuracy*2),$e=this._locateOptions;if($e.setView){var Ke=this.getBoundsZoom(Me);this.setView(Ie,$e.maxZoom?Math.min(Ke,$e.maxZoom):Ke)}var ht={latlng:Ie,bounds:Me,timestamp:Z.timestamp};for(var vt in Z.coords)typeof Z.coords[vt]=="number"&&(ht[vt]=Z.coords[vt]);this.fire("locationfound",ht)}},addHandler:function(Z,q){if(!q)return this;var fe=this[Z]=new q(this);return this._handlers.push(fe),this.options[Z]&&fe.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(q){this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),un(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(H(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var Z;for(Z in this._layers)this._layers[Z].remove();for(Z in this._panes)un(this._panes[Z]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(Z,q){var fe="leaflet-pane"+(Z?" leaflet-"+Z.replace("Pane","")+"-pane":""),Ie=Kt("div",fe,q||this._mapPane);return Z&&(this._panes[Z]=Ie),Ie},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var Z=this.getPixelBounds(),q=this.unproject(Z.getBottomLeft()),fe=this.unproject(Z.getTopRight());return new ge(q,fe)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(Z,q,fe){Z=he(Z),fe=te(fe||[0,0]);var Ie=this.getZoom()||0,Me=this.getMinZoom(),$e=this.getMaxZoom(),Ke=Z.getNorthWest(),ht=Z.getSouthEast(),vt=this.getSize().subtract(fe),Mt=se(this.project(ht,Ie),this.project(Ke,Ie)).getSize(),zt=Ne.any3d?this.options.zoomSnap:1,Zt=vt.x/Mt.x,nn=vt.y/Mt.y,En=q?Math.max(Zt,nn):Math.min(Zt,nn);return Ie=this.getScaleZoom(En,Ie),zt&&(Ie=Math.round(Ie/(zt/100))*(zt/100),Ie=q?Math.ceil(Ie/zt)*zt:Math.floor(Ie/zt)*zt),Math.max(Me,Math.min($e,Ie))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new J(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(Z,q){var fe=this._getTopLeftPoint(Z,q);return new ce(fe,fe.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(Z){return this.options.crs.getProjectedBounds(Z===void 0?this.getZoom():Z)},getPane:function(Z){return typeof Z=="string"?this._panes[Z]:Z},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(Z,q){var fe=this.options.crs;return q=q===void 0?this._zoom:q,fe.scale(Z)/fe.scale(q)},getScaleZoom:function(Z,q){var fe=this.options.crs;q=q===void 0?this._zoom:q;var Ie=fe.zoom(Z*fe.scale(q));return isNaN(Ie)?1/0:Ie},project:function(Z,q){return q=q===void 0?this._zoom:q,this.options.crs.latLngToPoint(ee(Z),q)},unproject:function(Z,q){return q=q===void 0?this._zoom:q,this.options.crs.pointToLatLng(te(Z),q)},layerPointToLatLng:function(Z){var q=te(Z).add(this.getPixelOrigin());return this.unproject(q)},latLngToLayerPoint:function(Z){var q=this.project(ee(Z))._round();return q._subtract(this.getPixelOrigin())},wrapLatLng:function(Z){return this.options.crs.wrapLatLng(ee(Z))},wrapLatLngBounds:function(Z){return this.options.crs.wrapLatLngBounds(he(Z))},distance:function(Z,q){return this.options.crs.distance(ee(Z),ee(q))},containerPointToLayerPoint:function(Z){return te(Z).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(Z){return te(Z).add(this._getMapPanePos())},containerPointToLatLng:function(Z){var q=this.containerPointToLayerPoint(te(Z));return this.layerPointToLatLng(q)},latLngToContainerPoint:function(Z){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ee(Z)))},mouseEventToContainerPoint:function(Z){return kn(Z,this._container)},mouseEventToLayerPoint:function(Z){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(Z))},mouseEventToLatLng:function(Z){return this.layerPointToLatLng(this.mouseEventToLayerPoint(Z))},_initContainer:function(Z){var q=this._container=Pn(Z);if(q){if(q._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");wt(q,"scroll",this._onScroll,this),this._containerId=y(q)},_initLayout:function(){var Z=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ne.any3d,Yt(Z,"leaflet-container"+(Ne.touch?" leaflet-touch":"")+(Ne.retina?" leaflet-retina":"")+(Ne.ielt9?" leaflet-oldie":"")+(Ne.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var q=wn(Z,"position");q!=="absolute"&&q!=="relative"&&q!=="fixed"&&q!=="sticky"&&(Z.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var Z=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),An(this._mapPane,new J(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Yt(Z.markerPane,"leaflet-zoom-hide"),Yt(Z.shadowPane,"leaflet-zoom-hide"))},_resetView:function(Z,q,fe){An(this._mapPane,new J(0,0));var Ie=!this._loaded;this._loaded=!0,q=this._limitZoom(q),this.fire("viewprereset");var Me=this._zoom!==q;this._moveStart(Me,fe)._move(Z,q)._moveEnd(Me),this.fire("viewreset"),Ie&&this.fire("load")},_moveStart:function(Z,q){return Z&&this.fire("zoomstart"),q||this.fire("movestart"),this},_move:function(Z,q,fe,Ie){q===void 0&&(q=this._zoom);var Me=this._zoom!==q;return this._zoom=q,this._lastCenter=Z,this._pixelOrigin=this._getNewPixelOrigin(Z),Ie?fe&&fe.pinch&&this.fire("zoom",fe):((Me||fe&&fe.pinch)&&this.fire("zoom",fe),this.fire("move",fe)),this},_moveEnd:function(Z){return Z&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return H(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(Z){An(this._mapPane,this._getMapPanePos().subtract(Z))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(Z){this._targets={},this._targets[y(this._container)]=this;var q=Z?Tt:wt;q(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&q(window,"resize",this._onResize,this),Ne.any3d&&this.options.transform3DLimit&&(Z?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){H(this._resizeRequest),this._resizeRequest=Y(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var Z=this._getMapPanePos();Math.max(Math.abs(Z.x),Math.abs(Z.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(Z,q){for(var fe=[],Ie,Me=q==="mouseout"||q==="mouseover",$e=Z.target||Z.srcElement,Ke=!1;$e;){if(Ie=this._targets[y($e)],Ie&&(q==="click"||q==="preclick")&&this._draggableMoved(Ie)){Ke=!0;break}if(Ie&&Ie.listens(q,!0)&&(Me&&!ri($e,Z)||(fe.push(Ie),Me))||$e===this._container)break;$e=$e.parentNode}return!fe.length&&!Ke&&!Me&&this.listens(q,!0)&&(fe=[this]),fe},_isClickDisabled:function(Z){for(;Z&&Z!==this._container;){if(Z._leaflet_disable_click)return!0;Z=Z.parentNode}},_handleDOMEvent:function(Z){var q=Z.target||Z.srcElement;if(!(!this._loaded||q._leaflet_disable_events||Z.type==="click"&&this._isClickDisabled(q))){var fe=Z.type;fe==="mousedown"&&ut(q),this._fireDOMEvent(Z,fe)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(Z,q,fe){if(Z.type==="click"){var Ie=u({},Z);Ie.type="preclick",this._fireDOMEvent(Ie,Ie.type,fe)}var Me=this._findEventTargets(Z,q);if(fe){for(var $e=[],Ke=0;Ke0?Math.round(Z-q)/2:Math.max(0,Math.ceil(Z))-Math.max(0,Math.floor(q))},_limitZoom:function(Z){var q=this.getMinZoom(),fe=this.getMaxZoom(),Ie=Ne.any3d?this.options.zoomSnap:1;return Ie&&(Z=Math.round(Z/Ie)*Ie),Math.max(q,Math.min(fe,Z))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){hn(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(Z,q){var fe=this._getCenterOffset(Z)._trunc();return(q&&q.animate)!==!0&&!this.getSize().contains(fe)?!1:(this.panBy(fe,q),!0)},_createAnimProxy:function(){var Z=this._proxy=Kt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(Z),this.on("zoomanim",function(q){var fe=rn,Ie=this._proxy.style[fe];jn(this._proxy,this.project(q.center,q.zoom),this.getZoomScale(q.zoom,1)),Ie===this._proxy.style[fe]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){un(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var Z=this.getCenter(),q=this.getZoom();jn(this._proxy,this.project(Z,q),this.getZoomScale(q,1))},_catchTransitionEnd:function(Z){this._animatingZoom&&Z.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(Z,q,fe){if(this._animatingZoom)return!0;if(fe=fe||{},!this._zoomAnimated||fe.animate===!1||this._nothingToAnimate()||Math.abs(q-this._zoom)>this.options.zoomAnimationThreshold)return!1;var Ie=this.getZoomScale(q),Me=this._getCenterOffset(Z)._divideBy(1-1/Ie);return fe.animate!==!0&&!this.getSize().contains(Me)?!1:(Y(function(){this._moveStart(!0,fe.noMoveStart||!1)._animateZoom(Z,q,!0)},this),!0)},_animateZoom:function(Z,q,fe,Ie){!this._mapPane||(fe&&(this._animatingZoom=!0,this._animateToCenter=Z,this._animateToZoom=q,Yt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:Z,zoom:q,noUpdate:Ie}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(g(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){!this._animatingZoom||(this._mapPane&&hn(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function qn(Z,q){return new tn(Z,q)}var In=z.extend({options:{position:"topright"},initialize:function(Z){T(this,Z)},getPosition:function(){return this.options.position},setPosition:function(Z){var q=this._map;return q&&q.removeControl(this),this.options.position=Z,q&&q.addControl(this),this},getContainer:function(){return this._container},addTo:function(Z){this.remove(),this._map=Z;var q=this._container=this.onAdd(Z),fe=this.getPosition(),Ie=Z._controlCorners[fe];return Yt(q,"leaflet-control"),fe.indexOf("bottom")!==-1?Ie.insertBefore(q,Ie.firstChild):Ie.appendChild(q),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(un(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(Z){this._map&&Z&&Z.screenX>0&&Z.screenY>0&&this._map.getContainer().focus()}}),Gn=function(Z){return new In(Z)};tn.include({addControl:function(Z){return Z.addTo(this),this},removeControl:function(Z){return Z.remove(),this},_initControlPos:function(){var Z=this._controlCorners={},q="leaflet-",fe=this._controlContainer=Kt("div",q+"control-container",this._container);function Ie(Me,$e){var Ke=q+Me+" "+q+$e;Z[Me+$e]=Kt("div",Ke,fe)}Ie("top","left"),Ie("top","right"),Ie("bottom","left"),Ie("bottom","right")},_clearControlPos:function(){for(var Z in this._controlCorners)un(this._controlCorners[Z]);un(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var si=In.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(Z,q,fe,Ie){return fe1,this._baseLayersList.style.display=Z?"":"none"),this._separator.style.display=q&&Z?"":"none",this},_onLayerChange:function(Z){this._handlingClick||this._update();var q=this._getLayer(y(Z.target)),fe=q.overlay?Z.type==="add"?"overlayadd":"overlayremove":Z.type==="add"?"baselayerchange":null;fe&&this._map.fire(fe,q)},_createRadioElement:function(Z,q){var fe='",Ie=document.createElement("div");return Ie.innerHTML=fe,Ie.firstChild},_addItem:function(Z){var q=document.createElement("label"),fe=this._map.hasLayer(Z.layer),Ie;Z.overlay?(Ie=document.createElement("input"),Ie.type="checkbox",Ie.className="leaflet-control-layers-selector",Ie.defaultChecked=fe):Ie=this._createRadioElement("leaflet-base-layers_"+y(this),fe),this._layerControlInputs.push(Ie),Ie.layerId=y(Z.layer),wt(Ie,"click",this._onInputClick,this);var Me=document.createElement("span");Me.innerHTML=" "+Z.name;var $e=document.createElement("span");q.appendChild($e),$e.appendChild(Ie),$e.appendChild(Me);var Ke=Z.overlay?this._overlaysList:this._baseLayersList;return Ke.appendChild(q),this._checkDisabledLayers(),q},_onInputClick:function(){if(!this._preventClick){var Z=this._layerControlInputs,q,fe,Ie=[],Me=[];this._handlingClick=!0;for(var $e=Z.length-1;$e>=0;$e--)q=Z[$e],fe=this._getLayer(q.layerId).layer,q.checked?Ie.push(fe):q.checked||Me.push(fe);for($e=0;$e=0;Me--)q=Z[Me],fe=this._getLayer(q.layerId).layer,q.disabled=fe.options.minZoom!==void 0&&Iefe.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var Z=this._section;this._preventClick=!0,wt(Z,"click",sn),this.expand();var q=this;setTimeout(function(){Tt(Z,"click",sn),q._preventClick=!1})}}),Tr=function(Z,q,fe){return new si(Z,q,fe)},Pi=In.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(Z){var q="leaflet-control-zoom",fe=Kt("div",q+" leaflet-bar"),Ie=this.options;return this._zoomInButton=this._createButton(Ie.zoomInText,Ie.zoomInTitle,q+"-in",fe,this._zoomIn),this._zoomOutButton=this._createButton(Ie.zoomOutText,Ie.zoomOutTitle,q+"-out",fe,this._zoomOut),this._updateDisabled(),Z.on("zoomend zoomlevelschange",this._updateDisabled,this),fe},onRemove:function(Z){Z.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(Z){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(Z.shiftKey?3:1))},_createButton:function(Z,q,fe,Ie,Me){var $e=Kt("a",fe,Ie);return $e.innerHTML=Z,$e.href="#",$e.title=q,$e.setAttribute("role","button"),$e.setAttribute("aria-label",q),pn($e),wt($e,"click",yn),wt($e,"click",Me,this),wt($e,"click",this._refocusOnMap,this),$e},_updateDisabled:function(){var Z=this._map,q="leaflet-disabled";hn(this._zoomInButton,q),hn(this._zoomOutButton,q),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||Z._zoom===Z.getMinZoom())&&(Yt(this._zoomOutButton,q),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||Z._zoom===Z.getMaxZoom())&&(Yt(this._zoomInButton,q),this._zoomInButton.setAttribute("aria-disabled","true"))}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Pi,this.addControl(this.zoomControl))});var Er=function(Z){return new Pi(Z)},Hi=In.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(Z){var q="leaflet-control-scale",fe=Kt("div",q),Ie=this.options;return this._addScales(Ie,q+"-line",fe),Z.on(Ie.updateWhenIdle?"moveend":"move",this._update,this),Z.whenReady(this._update,this),fe},onRemove:function(Z){Z.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(Z,q,fe){Z.metric&&(this._mScale=Kt("div",q,fe)),Z.imperial&&(this._iScale=Kt("div",q,fe))},_update:function(){var Z=this._map,q=Z.getSize().y/2,fe=Z.distance(Z.containerPointToLatLng([0,q]),Z.containerPointToLatLng([this.options.maxWidth,q]));this._updateScales(fe)},_updateScales:function(Z){this.options.metric&&Z&&this._updateMetric(Z),this.options.imperial&&Z&&this._updateImperial(Z)},_updateMetric:function(Z){var q=this._getRoundNum(Z),fe=q<1e3?q+" m":q/1e3+" km";this._updateScale(this._mScale,fe,q/Z)},_updateImperial:function(Z){var q=Z*3.2808399,fe,Ie,Me;q>5280?(fe=q/5280,Ie=this._getRoundNum(fe),this._updateScale(this._iScale,Ie+" mi",Ie/fe)):(Me=this._getRoundNum(q),this._updateScale(this._iScale,Me+" ft",Me/q))},_updateScale:function(Z,q,fe){Z.style.width=Math.round(this.options.maxWidth*fe)+"px",Z.innerHTML=q},_getRoundNum:function(Z){var q=Math.pow(10,(Math.floor(Z)+"").length-1),fe=Z/q;return fe=fe>=10?10:fe>=5?5:fe>=3?3:fe>=2?2:1,q*fe}}),Mr=function(Z){return new Hi(Z)},xr='',Li=In.extend({options:{position:"bottomright",prefix:''+(Ne.inlineSvg?xr+" ":"")+"Leaflet"},initialize:function(Z){T(this,Z),this._attributions={}},onAdd:function(Z){Z.attributionControl=this,this._container=Kt("div","leaflet-control-attribution"),pn(this._container);for(var q in Z._layers)Z._layers[q].getAttribution&&this.addAttribution(Z._layers[q].getAttribution());return this._update(),Z.on("layeradd",this._addAttribution,this),this._container},onRemove:function(Z){Z.off("layeradd",this._addAttribution,this)},_addAttribution:function(Z){Z.layer.getAttribution&&(this.addAttribution(Z.layer.getAttribution()),Z.layer.once("remove",function(){this.removeAttribution(Z.layer.getAttribution())},this))},setPrefix:function(Z){return this.options.prefix=Z,this._update(),this},addAttribution:function(Z){return Z?(this._attributions[Z]||(this._attributions[Z]=0),this._attributions[Z]++,this._update(),this):this},removeAttribution:function(Z){return Z?(this._attributions[Z]&&(this._attributions[Z]--,this._update()),this):this},_update:function(){if(!!this._map){var Z=[];for(var q in this._attributions)this._attributions[q]&&Z.push(q);var fe=[];this.options.prefix&&fe.push(this.options.prefix),Z.length&&fe.push(Z.join(", ")),this._container.innerHTML=fe.join(' ')}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook(function(){this.options.attributionControl&&new Li().addTo(this)});var Or=function(Z){return new Li(Z)};In.Layers=si,In.Zoom=Pi,In.Scale=Hi,In.Attribution=Li,Gn.layers=Tr,Gn.zoom=Er,Gn.scale=Mr,Gn.attribution=Or;var zn=z.extend({initialize:function(Z){this._map=Z},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});zn.addTo=function(Z,q){return Z.addHandler(q,this),this};var Rr={Events:Q},Zi=Ne.touch?"touchstart mousedown":"mousedown",ei=X.extend({options:{clickTolerance:3},initialize:function(Z,q,fe,Ie){T(this,Ie),this._element=Z,this._dragStartTarget=q||Z,this._preventOutline=fe},enable:function(){this._enabled||(wt(this._dragStartTarget,Zi,this._onDown,this),this._enabled=!0)},disable:function(){!this._enabled||(ei._dragging===this&&this.finishDrag(!0),Tt(this._dragStartTarget,Zi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(Z){if(!!this._enabled&&(this._moved=!1,!Vn(this._element,"leaflet-zoom-anim"))){if(Z.touches&&Z.touches.length!==1){ei._dragging===this&&this.finishDrag();return}if(!(ei._dragging||Z.shiftKey||Z.which!==1&&Z.button!==1&&!Z.touches)&&(ei._dragging=this,this._preventOutline&&ut(this._element),pi(),Hn(),!this._moving)){this.fire("down");var q=Z.touches?Z.touches[0]:Z,fe=Dt(this._element);this._startPoint=new J(q.clientX,q.clientY),this._startPos=$n(this._element),this._parentScale=xt(fe);var Ie=Z.type==="mousedown";wt(document,Ie?"mousemove":"touchmove",this._onMove,this),wt(document,Ie?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(Z){if(!!this._enabled){if(Z.touches&&Z.touches.length>1){this._moved=!0;return}var q=Z.touches&&Z.touches.length===1?Z.touches[0]:Z,fe=new J(q.clientX,q.clientY)._subtract(this._startPoint);!fe.x&&!fe.y||Math.abs(fe.x)+Math.abs(fe.y)$e&&(Ke=ht,$e=vt);$e>fe&&(q[Ke]=1,Ni(Z,q,fe,Ie,Ke),Ni(Z,q,fe,Ke,Me))}function Lr(Z,q){for(var fe=[Z[0]],Ie=1,Me=0,$e=Z.length;Ie<$e;Ie++)$r(Z[Ie],Z[Me])>q&&(fe.push(Z[Ie]),Me=Ie);return Me<$e-1&&fe.push(Z[$e-1]),fe}var Xi;function Ki(Z,q,fe,Ie,Me){var $e=Ie?Xi:ai(Z,fe),Ke=ai(q,fe),ht,vt,Mt;for(Xi=Ke;;){if(!($e|Ke))return[Z,q];if($e&Ke)return!1;ht=$e||Ke,vt=wi(Z,q,ht,fe,Me),Mt=ai(vt,fe),ht===$e?(Z=vt,$e=Mt):(q=vt,Ke=Mt)}}function wi(Z,q,fe,Ie,Me){var $e=q.x-Z.x,Ke=q.y-Z.y,ht=Ie.min,vt=Ie.max,Mt,zt;return fe&8?(Mt=Z.x+$e*(vt.y-Z.y)/Ke,zt=vt.y):fe&4?(Mt=Z.x+$e*(ht.y-Z.y)/Ke,zt=ht.y):fe&2?(Mt=vt.x,zt=Z.y+Ke*(vt.x-Z.x)/$e):fe&1&&(Mt=ht.x,zt=Z.y+Ke*(ht.x-Z.x)/$e),new J(Mt,zt,Me)}function ai(Z,q){var fe=0;return Z.xq.max.x&&(fe|=2),Z.yq.max.y&&(fe|=8),fe}function $r(Z,q){var fe=q.x-Z.x,Ie=q.y-Z.y;return fe*fe+Ie*Ie}function mi(Z,q,fe,Ie){var Me=q.x,$e=q.y,Ke=fe.x-Me,ht=fe.y-$e,vt=Ke*Ke+ht*ht,Mt;return vt>0&&(Mt=((Z.x-Me)*Ke+(Z.y-$e)*ht)/vt,Mt>1?(Me=fe.x,$e=fe.y):Mt>0&&(Me+=Ke*Mt,$e+=ht*Mt)),Ke=Z.x-Me,ht=Z.y-$e,Ie?Ke*Ke+ht*ht:new J(Me,$e)}function Nn(Z){return!O(Z[0])||typeof Z[0][0]!="object"&&typeof Z[0][0]!="undefined"}function qi(Z){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Nn(Z)}function er(Z,q){var fe,Ie,Me,$e,Ke,ht,vt,Mt;if(!Z||Z.length===0)throw new Error("latlngs not passed");Nn(Z)||(console.warn("latlngs are not flat! Only the first ring will be used"),Z=Z[0]);var zt=ee([0,0]),Zt=he(Z),nn=Zt.getNorthWest().distanceTo(Zt.getSouthWest())*Zt.getNorthEast().distanceTo(Zt.getNorthWest());nn<1700&&(zt=$i(Z));var En=Z.length,Cn=[];for(fe=0;feIe){vt=($e-Ie)/Me,Mt=[ht.x-vt*(ht.x-Ke.x),ht.y-vt*(ht.y-Ke.y)];break}var Dn=q.unproject(te(Mt));return ee([Dn.lat+zt.lat,Dn.lng+zt.lng])}var Nr={__proto__:null,simplify:Qi,pointToSegmentDistance:Ji,closestPointOnSegment:Dr,clipSegment:Ki,_getEdgeIntersection:wi,_getBitCode:ai,_sqClosestPointOnSegment:mi,isFlat:Nn,_flat:qi,polylineCenter:er},Bi={project:function(Z){return new J(Z.lng,Z.lat)},unproject:function(Z){return new ye(Z.y,Z.x)},bounds:new ce([-180,-90],[180,90])},Vi={R:6378137,R_MINOR:6356752314245179e-9,bounds:new ce([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(Z){var q=Math.PI/180,fe=this.R,Ie=Z.lat*q,Me=this.R_MINOR/fe,$e=Math.sqrt(1-Me*Me),Ke=$e*Math.sin(Ie),ht=Math.tan(Math.PI/4-Ie/2)/Math.pow((1-Ke)/(1+Ke),$e/2);return Ie=-fe*Math.log(Math.max(ht,1e-10)),new J(Z.lng*q*fe,Ie)},unproject:function(Z){for(var q=180/Math.PI,fe=this.R,Ie=this.R_MINOR/fe,Me=Math.sqrt(1-Ie*Ie),$e=Math.exp(-Z.y/fe),Ke=Math.PI/2-2*Math.atan($e),ht=0,vt=.1,Mt;ht<15&&Math.abs(vt)>1e-7;ht++)Mt=Me*Math.sin(Ke),Mt=Math.pow((1-Mt)/(1+Mt),Me/2),vt=Math.PI/2-2*Math.atan($e*Mt)-Ke,Ke+=vt;return new ye(Ke*q,Z.x*q/fe)}},Br={__proto__:null,LonLat:Bi,Mercator:Vi,SphericalMercator:we},Vr=u({},ae,{code:"EPSG:3395",projection:Vi,transformation:function(){var Z=.5/(Math.PI*Vi.R);return Te(Z,.5,-Z,.5)}()}),tr=u({},ae,{code:"EPSG:4326",projection:Bi,transformation:Te(1/180,1,-1/180,.5)}),Gr=u({},pe,{projection:Bi,transformation:Te(1,0,-1,0),scale:function(Z){return Math.pow(2,Z)},zoom:function(Z){return Math.log(Z)/Math.LN2},distance:function(Z,q){var fe=q.lng-Z.lng,Ie=q.lat-Z.lat;return Math.sqrt(fe*fe+Ie*Ie)},infinite:!0});pe.Earth=ae,pe.EPSG3395=Vr,pe.EPSG3857=Ce,pe.EPSG900913=Ae,pe.EPSG4326=tr,pe.Simple=Gr;var Wn=X.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(Z){return Z.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(Z){return Z&&Z.removeLayer(this),this},getPane:function(Z){return this._map.getPane(Z?this.options[Z]||Z:this.options.pane)},addInteractiveTarget:function(Z){return this._map._targets[y(Z)]=this,this},removeInteractiveTarget:function(Z){return delete this._map._targets[y(Z)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(Z){var q=Z.target;if(!!q.hasLayer(this)){if(this._map=q,this._zoomAnimated=q._zoomAnimated,this.getEvents){var fe=this.getEvents();q.on(fe,this),this.once("remove",function(){q.off(fe,this)},this)}this.onAdd(q),this.fire("add"),q.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(Z){if(!Z._layerAdd)throw new Error("The provided object is not a Layer.");var q=y(Z);return this._layers[q]?this:(this._layers[q]=Z,Z._mapToAdd=this,Z.beforeAdd&&Z.beforeAdd(this),this.whenReady(Z._layerAdd,Z),this)},removeLayer:function(Z){var q=y(Z);return this._layers[q]?(this._loaded&&Z.onRemove(this),delete this._layers[q],this._loaded&&(this.fire("layerremove",{layer:Z}),Z.fire("remove")),Z._map=Z._mapToAdd=null,this):this},hasLayer:function(Z){return y(Z)in this._layers},eachLayer:function(Z,q){for(var fe in this._layers)Z.call(q,this._layers[fe]);return this},_addLayers:function(Z){Z=Z?O(Z)?Z:[Z]:[];for(var q=0,fe=Z.length;qthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&q[0]instanceof ye&&q[0].equals(q[fe-1])&&q.pop(),q},_setLatLngs:function(Z){Yn.prototype._setLatLngs.call(this,Z),Nn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Nn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var Z=this._renderer._bounds,q=this.options.weight,fe=new J(q,q);if(Z=new ce(Z.min.subtract(fe),Z.max.add(fe)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(Z))){if(this.options.noClip){this._parts=this._rings;return}for(var Ie=0,Me=this._rings.length,$e;IeZ.y!=Me.y>Z.y&&Z.x<(Me.x-Ie.x)*(Z.y-Ie.y)/(Me.y-Ie.y)+Ie.x&&(q=!q);return q||Yn.prototype._containsPoint.call(this,Z,!0)}});function Ur(Z,q){return new ui(Z,q)}var Un=Zn.extend({initialize:function(Z,q){T(this,q),this._layers={},Z&&this.addData(Z)},addData:function(Z){var q=O(Z)?Z:Z.features,fe,Ie,Me;if(q){for(fe=0,Ie=q.length;fe0&&Me.push(Me[0].slice()),Me}function di(Z,q){return Z.feature?u({},Z.feature,{geometry:q}):Mi(q)}function Mi(Z){return Z.type==="Feature"||Z.type==="FeatureCollection"?Z:{type:"Feature",properties:{},geometry:Z}}var zi={toGeoJSON:function(Z){return di(this,{type:"Point",coordinates:ji(this.getLatLng(),Z)})}};Si.include(zi),Gi.include(zi),Ci.include(zi),Yn.include({toGeoJSON:function(Z){var q=!Nn(this._latlngs),fe=Ei(this._latlngs,q?1:0,!1,Z);return di(this,{type:(q?"Multi":"")+"LineString",coordinates:fe})}}),ui.include({toGeoJSON:function(Z){var q=!Nn(this._latlngs),fe=q&&!Nn(this._latlngs[0]),Ie=Ei(this._latlngs,fe?2:q?1:0,!0,Z);return q||(Ie=[Ie]),di(this,{type:(fe?"Multi":"")+"Polygon",coordinates:Ie})}}),li.include({toMultiPoint:function(Z){var q=[];return this.eachLayer(function(fe){q.push(fe.toGeoJSON(Z).geometry.coordinates)}),di(this,{type:"MultiPoint",coordinates:q})},toGeoJSON:function(Z){var q=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(q==="MultiPoint")return this.toMultiPoint(Z);var fe=q==="GeometryCollection",Ie=[];return this.eachLayer(function(Me){if(Me.toGeoJSON){var $e=Me.toGeoJSON(Z);if(fe)Ie.push($e.geometry);else{var Ke=Mi($e);Ke.type==="FeatureCollection"?Ie.push.apply(Ie,Ke.features):Ie.push(Ke)}}}),fe?di(this,{geometries:Ie,type:"GeometryCollection"}):{type:"FeatureCollection",features:Ie}}});function rr(Z,q){return new Un(Z,q)}var Qr=rr,xi=Wn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(Z,q,fe){this._url=Z,this._bounds=he(q),T(this,fe)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Yt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){un(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(Z){return this.options.opacity=Z,this._image&&this._updateOpacity(),this},setStyle:function(Z){return Z.opacity&&this.setOpacity(Z.opacity),this},bringToFront:function(){return this._map&&xn(this._image),this},bringToBack:function(){return this._map&&On(this._image),this},setUrl:function(Z){return this._url=Z,this._image&&(this._image.src=Z),this},setBounds:function(Z){return this._bounds=he(Z),this._map&&this._reset(),this},getEvents:function(){var Z={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(Z.zoomanim=this._animateZoom),Z},setZIndex:function(Z){return this.options.zIndex=Z,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var Z=this._url.tagName==="IMG",q=this._image=Z?this._url:Kt("img");if(Yt(q,"leaflet-image-layer"),this._zoomAnimated&&Yt(q,"leaflet-zoom-animated"),this.options.className&&Yt(q,this.options.className),q.onselectstart=_,q.onmousemove=_,q.onload=g(this.fire,this,"load"),q.onerror=g(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(q.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),Z){this._url=q.src;return}q.src=this._url,q.alt=this.options.alt},_animateZoom:function(Z){var q=this._map.getZoomScale(Z.zoom),fe=this._map._latLngBoundsToNewLayerBounds(this._bounds,Z.zoom,Z.center).min;jn(this._image,fe,q)},_reset:function(){var Z=this._image,q=new ce(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),fe=q.getSize();An(Z,q.min),Z.style.width=fe.x+"px",Z.style.height=fe.y+"px"},_updateOpacity:function(){Sn(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var Z=this.options.errorOverlayUrl;Z&&this._url!==Z&&(this._url=Z,this._image.src=Z)},getCenter:function(){return this._bounds.getCenter()}}),Jr=function(Z,q,fe){return new xi(Z,q,fe)},or=xi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var Z=this._url.tagName==="VIDEO",q=this._image=Z?this._url:Kt("video");if(Yt(q,"leaflet-image-layer"),this._zoomAnimated&&Yt(q,"leaflet-zoom-animated"),this.options.className&&Yt(q,this.options.className),q.onselectstart=_,q.onmousemove=_,q.onloadeddata=g(this.fire,this,"load"),Z){for(var fe=q.getElementsByTagName("source"),Ie=[],Me=0;Me0?Ie:[q.src];return}O(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(q.style,"objectFit")&&(q.style.objectFit="fill"),q.autoplay=!!this.options.autoplay,q.loop=!!this.options.loop,q.muted=!!this.options.muted,q.playsInline=!!this.options.playsInline;for(var $e=0;$eMe?(q.height=Me+"px",Yt(Z,$e)):hn(Z,$e),this._containerWidth=this._container.offsetWidth},_animateZoom:function(Z){var q=this._map._latLngToNewLayerPoint(this._latlng,Z.zoom,Z.center),fe=this._getAnchor();An(this._container,q.add(fe))},_adjustPan:function(){if(!!this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var Z=this._map,q=parseInt(wn(this._container,"marginBottom"),10)||0,fe=this._container.offsetHeight+q,Ie=this._containerWidth,Me=new J(this._containerLeft,-fe-this._containerBottom);Me._add($n(this._container));var $e=Z.layerPointToContainerPoint(Me),Ke=te(this.options.autoPanPadding),ht=te(this.options.autoPanPaddingTopLeft||Ke),vt=te(this.options.autoPanPaddingBottomRight||Ke),Mt=Z.getSize(),zt=0,Zt=0;$e.x+Ie+vt.x>Mt.x&&(zt=$e.x+Ie-Mt.x+vt.x),$e.x-zt-ht.x<0&&(zt=$e.x-ht.x),$e.y+fe+vt.y>Mt.y&&(Zt=$e.y+fe-Mt.y+vt.y),$e.y-Zt-ht.y<0&&(Zt=$e.y-ht.y),(zt||Zt)&&(this.options.keepInView&&(this._autopanning=!0),Z.fire("autopanstart").panBy([zt,Zt]))}},_getAnchor:function(){return te(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),qr=function(Z,q){return new Oi(Z,q)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(Z,q,fe){return this._initOverlay(Oi,Z,q,fe).openOn(this),this},closePopup:function(Z){return Z=arguments.length?Z:this._popup,Z&&Z.close(),this}}),Wn.include({bindPopup:function(Z,q){return this._popup=this._initOverlay(Oi,this._popup,Z,q),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(Z){return this._popup&&(this instanceof Zn||(this._popup._source=this),this._popup._prepareOpen(Z||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(Z){return this._popup&&this._popup.setContent(Z),this},getPopup:function(){return this._popup},_openPopup:function(Z){if(!(!this._popup||!this._map)){yn(Z);var q=Z.layer||Z.target;if(this._popup._source===q&&!(q instanceof ti)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(Z.latlng);return}this._popup._source=q,this.openPopup(Z.latlng)}},_movePopup:function(Z){this._popup.setLatLng(Z.latlng)},_onKeyPress:function(Z){Z.originalEvent.keyCode===13&&this._openPopup(Z)}});var Ri=Fn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(Z){Fn.prototype.onAdd.call(this,Z),this.setOpacity(this.options.opacity),Z.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(Z){Fn.prototype.onRemove.call(this,Z),Z.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var Z=Fn.prototype.getEvents.call(this);return this.options.permanent||(Z.preclick=this.close),Z},_initLayout:function(){var Z="leaflet-tooltip",q=Z+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Kt("div",q),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+y(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(Z){var q,fe,Ie=this._map,Me=this._container,$e=Ie.latLngToContainerPoint(Ie.getCenter()),Ke=Ie.layerPointToContainerPoint(Z),ht=this.options.direction,vt=Me.offsetWidth,Mt=Me.offsetHeight,zt=te(this.options.offset),Zt=this._getAnchor();ht==="top"?(q=vt/2,fe=Mt):ht==="bottom"?(q=vt/2,fe=0):ht==="center"?(q=vt/2,fe=Mt/2):ht==="right"?(q=0,fe=Mt/2):ht==="left"?(q=vt,fe=Mt/2):Ke.x<$e.x?(ht="right",q=0,fe=Mt/2):(ht="left",q=vt+(zt.x+Zt.x)*2,fe=Mt/2),Z=Z.subtract(te(q,fe,!0)).add(zt).add(Zt),hn(Me,"leaflet-tooltip-right"),hn(Me,"leaflet-tooltip-left"),hn(Me,"leaflet-tooltip-top"),hn(Me,"leaflet-tooltip-bottom"),Yt(Me,"leaflet-tooltip-"+ht),An(Me,Z)},_updatePosition:function(){var Z=this._map.latLngToLayerPoint(this._latlng);this._setPosition(Z)},setOpacity:function(Z){this.options.opacity=Z,this._container&&Sn(this._container,Z)},_animateZoom:function(Z){var q=this._map._latLngToNewLayerPoint(this._latlng,Z.zoom,Z.center);this._setPosition(q)},_getAnchor:function(){return te(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),eo=function(Z,q){return new Ri(Z,q)};tn.include({openTooltip:function(Z,q,fe){return this._initOverlay(Ri,Z,q,fe).openOn(this),this},closeTooltip:function(Z){return Z.close(),this}}),Wn.include({bindTooltip:function(Z,q){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Ri,this._tooltip,Z,q),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(Z){if(!(!Z&&this._tooltipHandlersAdded)){var q=Z?"off":"on",fe={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?fe.add=this._openTooltip:(fe.mouseover=this._openTooltip,fe.mouseout=this.closeTooltip,fe.click=this._openTooltip,this._map?this._addFocusListeners():fe.add=this._addFocusListeners),this._tooltip.options.sticky&&(fe.mousemove=this._moveTooltip),this[q](fe),this._tooltipHandlersAdded=!Z}},openTooltip:function(Z){return this._tooltip&&(this instanceof Zn||(this._tooltip._source=this),this._tooltip._prepareOpen(Z)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(Z){return this._tooltip&&this._tooltip.setContent(Z),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(Z){var q=typeof Z.getElement=="function"&&Z.getElement();q&&(wt(q,"focus",function(){this._tooltip._source=Z,this.openTooltip()},this),wt(q,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(Z){var q=typeof Z.getElement=="function"&&Z.getElement();q&&q.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(Z){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var q=this;this._map.once("moveend",function(){q._openOnceFlag=!1,q._openTooltip(Z)});return}this._tooltip._source=Z.layer||Z.target,this.openTooltip(this._tooltip.options.sticky?Z.latlng:void 0)}},_moveTooltip:function(Z){var q=Z.latlng,fe,Ie;this._tooltip.options.sticky&&Z.originalEvent&&(fe=this._map.mouseEventToContainerPoint(Z.originalEvent),Ie=this._map.containerPointToLayerPoint(fe),q=this._map.layerPointToLatLng(Ie)),this._tooltip.setLatLng(q)}});var sr=ci.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(Z){var q=Z&&Z.tagName==="DIV"?Z:document.createElement("div"),fe=this.options;if(fe.html instanceof Element?(Mn(q),q.appendChild(fe.html)):q.innerHTML=fe.html!==!1?fe.html:"",fe.bgPos){var Ie=te(fe.bgPos);q.style.backgroundPosition=-Ie.x+"px "+-Ie.y+"px"}return this._setIconStyles(q,"icon"),q},createShadow:function(){return null}});function no(Z){return new sr(Z)}ci.Default=vi;var yi=Wn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ne.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(Z){T(this,Z)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(Z){Z._addZoomLimit(this)},onRemove:function(Z){this._removeAllTiles(),un(this._container),Z._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(xn(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(On(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(Z){return this.options.opacity=Z,this._updateOpacity(),this},setZIndex:function(Z){return this.options.zIndex=Z,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var Z=this._clampZoom(this._map.getZoom());Z!==this._tileZoom&&(this._tileZoom=Z,this._updateLevels()),this._update()}return this},getEvents:function(){var Z={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=A(this._onMoveEnd,this.options.updateInterval,this)),Z.move=this._onMove),this._zoomAnimated&&(Z.zoomanim=this._animateZoom),Z},createTile:function(){return document.createElement("div")},getTileSize:function(){var Z=this.options.tileSize;return Z instanceof J?Z:new J(Z,Z)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(Z){for(var q=this.getPane().children,fe=-Z(-1/0,1/0),Ie=0,Me=q.length,$e;Iethis.options.maxZoom||feIe?this._retainParent(Me,$e,Ke,Ie):!1)},_retainChildren:function(Z,q,fe,Ie){for(var Me=2*Z;Me<2*Z+2;Me++)for(var $e=2*q;$e<2*q+2;$e++){var Ke=new J(Me,$e);Ke.z=fe+1;var ht=this._tileCoordsToKey(Ke),vt=this._tiles[ht];if(vt&&vt.active){vt.retain=!0;continue}else vt&&vt.loaded&&(vt.retain=!0);fe+1this.options.maxZoom||this.options.minZoom!==void 0&&Me1){this._setView(Z,fe);return}for(var Zt=Me.min.y;Zt<=Me.max.y;Zt++)for(var nn=Me.min.x;nn<=Me.max.x;nn++){var En=new J(nn,Zt);if(En.z=this._tileZoom,!!this._isValidTile(En)){var Cn=this._tiles[this._tileCoordsToKey(En)];Cn?Cn.current=!0:Ke.push(En)}}if(Ke.sort(function(Dn,fi){return Dn.distanceTo($e)-fi.distanceTo($e)}),Ke.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Bn=document.createDocumentFragment();for(nn=0;nnfe.max.x)||!q.wrapLat&&(Z.yfe.max.y))return!1}if(!this.options.bounds)return!0;var Ie=this._tileCoordsToBounds(Z);return he(this.options.bounds).overlaps(Ie)},_keyToBounds:function(Z){return this._tileCoordsToBounds(this._keyToTileCoords(Z))},_tileCoordsToNwSe:function(Z){var q=this._map,fe=this.getTileSize(),Ie=Z.scaleBy(fe),Me=Ie.add(fe),$e=q.unproject(Ie,Z.z),Ke=q.unproject(Me,Z.z);return[$e,Ke]},_tileCoordsToBounds:function(Z){var q=this._tileCoordsToNwSe(Z),fe=new ge(q[0],q[1]);return this.options.noWrap||(fe=this._map.wrapLatLngBounds(fe)),fe},_tileCoordsToKey:function(Z){return Z.x+":"+Z.y+":"+Z.z},_keyToTileCoords:function(Z){var q=Z.split(":"),fe=new J(+q[0],+q[1]);return fe.z=+q[2],fe},_removeTile:function(Z){var q=this._tiles[Z];!q||(un(q.el),delete this._tiles[Z],this.fire("tileunload",{tile:q.el,coords:this._keyToTileCoords(Z)}))},_initTile:function(Z){Yt(Z,"leaflet-tile");var q=this.getTileSize();Z.style.width=q.x+"px",Z.style.height=q.y+"px",Z.onselectstart=_,Z.onmousemove=_,Ne.ielt9&&this.options.opacity<1&&Sn(Z,this.options.opacity)},_addTile:function(Z,q){var fe=this._getTilePos(Z),Ie=this._tileCoordsToKey(Z),Me=this.createTile(this._wrapCoords(Z),g(this._tileReady,this,Z));this._initTile(Me),this.createTile.length<2&&Y(g(this._tileReady,this,Z,null,Me)),An(Me,fe),this._tiles[Ie]={el:Me,coords:Z,current:!0},q.appendChild(Me),this.fire("tileloadstart",{tile:Me,coords:Z})},_tileReady:function(Z,q,fe){q&&this.fire("tileerror",{error:q,tile:fe,coords:Z});var Ie=this._tileCoordsToKey(Z);fe=this._tiles[Ie],fe&&(fe.loaded=+new Date,this._map._fadeAnimated?(Sn(fe.el,0),H(this._fadeFrame),this._fadeFrame=Y(this._updateOpacity,this)):(fe.active=!0,this._pruneTiles()),q||(Yt(fe.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:fe.el,coords:Z})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ne.ielt9||!this._map._fadeAnimated?Y(this._pruneTiles,this):setTimeout(g(this._pruneTiles,this),250)))},_getTilePos:function(Z){return Z.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(Z){var q=new J(this._wrapX?b(Z.x,this._wrapX):Z.x,this._wrapY?b(Z.y,this._wrapY):Z.y);return q.z=Z.z,q},_pxBoundsToTileRange:function(Z){var q=this.getTileSize();return new ce(Z.min.unscaleBy(q).floor(),Z.max.unscaleBy(q).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var Z in this._tiles)if(!this._tiles[Z].loaded)return!1;return!0}});function io(Z){return new yi(Z)}var hi=yi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(Z,q){this._url=Z,q=T(this,q),q.detectRetina&&Ne.retina&&q.maxZoom>0?(q.tileSize=Math.floor(q.tileSize/2),q.zoomReverse?(q.zoomOffset--,q.minZoom=Math.min(q.maxZoom,q.minZoom+1)):(q.zoomOffset++,q.maxZoom=Math.max(q.minZoom,q.maxZoom-1)),q.minZoom=Math.max(0,q.minZoom)):q.zoomReverse?q.minZoom=Math.min(q.maxZoom,q.minZoom):q.maxZoom=Math.max(q.minZoom,q.maxZoom),typeof q.subdomains=="string"&&(q.subdomains=q.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(Z,q){return this._url===Z&&q===void 0&&(q=!0),this._url=Z,q||this.redraw(),this},createTile:function(Z,q){var fe=document.createElement("img");return wt(fe,"load",g(this._tileOnLoad,this,q,fe)),wt(fe,"error",g(this._tileOnError,this,q,fe)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(fe.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(fe.referrerPolicy=this.options.referrerPolicy),fe.alt="",fe.src=this.getTileUrl(Z),fe},getTileUrl:function(Z){var q={r:Ne.retina?"@2x":"",s:this._getSubdomain(Z),x:Z.x,y:Z.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var fe=this._globalTileRange.max.y-Z.y;this.options.tms&&(q.y=fe),q["-y"]=fe}return F(this._url,u(q,this.options))},_tileOnLoad:function(Z,q){Ne.ielt9?setTimeout(g(Z,this,null,q),0):Z(null,q)},_tileOnError:function(Z,q,fe){var Ie=this.options.errorTileUrl;Ie&&q.getAttribute("src")!==Ie&&(q.src=Ie),Z(fe,q)},_onTileRemove:function(Z){Z.tile.onload=null},_getZoomForUrl:function(){var Z=this._tileZoom,q=this.options.maxZoom,fe=this.options.zoomReverse,Ie=this.options.zoomOffset;return fe&&(Z=q-Z),Z+Ie},_getSubdomain:function(Z){var q=Math.abs(Z.x+Z.y)%this.options.subdomains.length;return this.options.subdomains[q]},_abortLoading:function(){var Z,q;for(Z in this._tiles)if(this._tiles[Z].coords.z!==this._tileZoom&&(q=this._tiles[Z].el,q.onload=_,q.onerror=_,!q.complete)){q.src=x;var fe=this._tiles[Z].coords;un(q),delete this._tiles[Z],this.fire("tileabort",{tile:q,coords:fe})}},_removeTile:function(Z){var q=this._tiles[Z];if(!!q)return q.el.setAttribute("src",x),yi.prototype._removeTile.call(this,Z)},_tileReady:function(Z,q,fe){if(!(!this._map||fe&&fe.getAttribute("src")===x))return yi.prototype._tileReady.call(this,Z,q,fe)}});function lr(Z,q){return new hi(Z,q)}var cr=hi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(Z,q){this._url=Z;var fe=u({},this.defaultWmsParams);for(var Ie in q)Ie in this.options||(fe[Ie]=q[Ie]);q=T(this,q);var Me=q.detectRetina&&Ne.retina?2:1,$e=this.getTileSize();fe.width=$e.x*Me,fe.height=$e.y*Me,this.wmsParams=fe},onAdd:function(Z){this._crs=this.options.crs||Z.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var q=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[q]=this._crs.code,hi.prototype.onAdd.call(this,Z)},getTileUrl:function(Z){var q=this._tileCoordsToNwSe(Z),fe=this._crs,Ie=se(fe.project(q[0]),fe.project(q[1])),Me=Ie.min,$e=Ie.max,Ke=(this._wmsVersion>=1.3&&this._crs===tr?[Me.y,Me.x,$e.y,$e.x]:[Me.x,Me.y,$e.x,$e.y]).join(","),ht=hi.prototype.getTileUrl.call(this,Z);return ht+I(this.wmsParams,ht,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+Ke},setParams:function(Z,q){return u(this.wmsParams,Z),q||this.redraw(),this}});function ro(Z,q){return new cr(Z,q)}hi.WMS=cr,lr.wms=ro;var Qn=Wn.extend({options:{padding:.1},initialize:function(Z){T(this,Z),y(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Yt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var Z={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(Z.zoomanim=this._onAnimZoom),Z},_onAnimZoom:function(Z){this._updateTransform(Z.center,Z.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(Z,q){var fe=this._map.getZoomScale(q,this._zoom),Ie=this._map.getSize().multiplyBy(.5+this.options.padding),Me=this._map.project(this._center,q),$e=Ie.multiplyBy(-fe).add(Me).subtract(this._map._getNewPixelOrigin(Z,q));Ne.any3d?jn(this._container,$e,fe):An(this._container,$e)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var Z in this._layers)this._layers[Z]._reset()},_onZoomEnd:function(){for(var Z in this._layers)this._layers[Z]._project()},_updatePaths:function(){for(var Z in this._layers)this._layers[Z]._update()},_update:function(){var Z=this.options.padding,q=this._map.getSize(),fe=this._map.containerPointToLayerPoint(q.multiplyBy(-Z)).round();this._bounds=new ce(fe,fe.add(q.multiplyBy(1+Z*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ur=Qn.extend({options:{tolerance:0},getEvents:function(){var Z=Qn.prototype.getEvents.call(this);return Z.viewprereset=this._onViewPreReset,Z},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Qn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var Z=this._container=document.createElement("canvas");wt(Z,"mousemove",this._onMouseMove,this),wt(Z,"click dblclick mousedown mouseup contextmenu",this._onClick,this),wt(Z,"mouseout",this._handleMouseOut,this),Z._leaflet_disable_events=!0,this._ctx=Z.getContext("2d")},_destroyContainer:function(){H(this._redrawRequest),delete this._ctx,un(this._container),Tt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var Z;this._redrawBounds=null;for(var q in this._layers)Z=this._layers[q],Z._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Qn.prototype._update.call(this);var Z=this._bounds,q=this._container,fe=Z.getSize(),Ie=Ne.retina?2:1;An(q,Z.min),q.width=Ie*fe.x,q.height=Ie*fe.y,q.style.width=fe.x+"px",q.style.height=fe.y+"px",Ne.retina&&this._ctx.scale(2,2),this._ctx.translate(-Z.min.x,-Z.min.y),this.fire("update")}},_reset:function(){Qn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(Z){this._updateDashArray(Z),this._layers[y(Z)]=Z;var q=Z._order={layer:Z,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=q),this._drawLast=q,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(Z){this._requestRedraw(Z)},_removePath:function(Z){var q=Z._order,fe=q.next,Ie=q.prev;fe?fe.prev=Ie:this._drawLast=Ie,Ie?Ie.next=fe:this._drawFirst=fe,delete Z._order,delete this._layers[y(Z)],this._requestRedraw(Z)},_updatePath:function(Z){this._extendRedrawBounds(Z),Z._project(),Z._update(),this._requestRedraw(Z)},_updateStyle:function(Z){this._updateDashArray(Z),this._requestRedraw(Z)},_updateDashArray:function(Z){if(typeof Z.options.dashArray=="string"){var q=Z.options.dashArray.split(/[, ]+/),fe=[],Ie,Me;for(Me=0;Me')}}catch(Z){}return function(Z){return document.createElement("<"+Z+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),oo={_initContainer:function(){this._container=Kt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Qn.prototype._update.call(this),this.fire("update"))},_initPath:function(Z){var q=Z._container=Ai("shape");Yt(q,"leaflet-vml-shape "+(this.options.className||"")),q.coordsize="1 1",Z._path=Ai("path"),q.appendChild(Z._path),this._updateStyle(Z),this._layers[y(Z)]=Z},_addPath:function(Z){var q=Z._container;this._container.appendChild(q),Z.options.interactive&&Z.addInteractiveTarget(q)},_removePath:function(Z){var q=Z._container;un(q),Z.removeInteractiveTarget(q),delete this._layers[y(Z)]},_updateStyle:function(Z){var q=Z._stroke,fe=Z._fill,Ie=Z.options,Me=Z._container;Me.stroked=!!Ie.stroke,Me.filled=!!Ie.fill,Ie.stroke?(q||(q=Z._stroke=Ai("stroke")),Me.appendChild(q),q.weight=Ie.weight+"px",q.color=Ie.color,q.opacity=Ie.opacity,Ie.dashArray?q.dashStyle=O(Ie.dashArray)?Ie.dashArray.join(" "):Ie.dashArray.replace(/( *, *)/g," "):q.dashStyle="",q.endcap=Ie.lineCap.replace("butt","flat"),q.joinstyle=Ie.lineJoin):q&&(Me.removeChild(q),Z._stroke=null),Ie.fill?(fe||(fe=Z._fill=Ai("fill")),Me.appendChild(fe),fe.color=Ie.fillColor||Ie.color,fe.opacity=Ie.fillOpacity):fe&&(Me.removeChild(fe),Z._fill=null)},_updateCircle:function(Z){var q=Z._point.round(),fe=Math.round(Z._radius),Ie=Math.round(Z._radiusY||fe);this._setPath(Z,Z._empty()?"M0 0":"AL "+q.x+","+q.y+" "+fe+","+Ie+" 0,"+65535*360)},_setPath:function(Z,q){Z._path.v=q},_bringToFront:function(Z){xn(Z._container)},_bringToBack:function(Z){On(Z._container)}},ki=Ne.vml?Ai:Ee,bi=Qn.extend({_initContainer:function(){this._container=ki("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ki("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){un(this._container),Tt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Qn.prototype._update.call(this);var Z=this._bounds,q=Z.getSize(),fe=this._container;(!this._svgSize||!this._svgSize.equals(q))&&(this._svgSize=q,fe.setAttribute("width",q.x),fe.setAttribute("height",q.y)),An(fe,Z.min),fe.setAttribute("viewBox",[Z.min.x,Z.min.y,q.x,q.y].join(" ")),this.fire("update")}},_initPath:function(Z){var q=Z._path=ki("path");Z.options.className&&Yt(q,Z.options.className),Z.options.interactive&&Yt(q,"leaflet-interactive"),this._updateStyle(Z),this._layers[y(Z)]=Z},_addPath:function(Z){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(Z._path),Z.addInteractiveTarget(Z._path)},_removePath:function(Z){un(Z._path),Z.removeInteractiveTarget(Z._path),delete this._layers[y(Z)]},_updatePath:function(Z){Z._project(),Z._update()},_updateStyle:function(Z){var q=Z._path,fe=Z.options;!q||(fe.stroke?(q.setAttribute("stroke",fe.color),q.setAttribute("stroke-opacity",fe.opacity),q.setAttribute("stroke-width",fe.weight),q.setAttribute("stroke-linecap",fe.lineCap),q.setAttribute("stroke-linejoin",fe.lineJoin),fe.dashArray?q.setAttribute("stroke-dasharray",fe.dashArray):q.removeAttribute("stroke-dasharray"),fe.dashOffset?q.setAttribute("stroke-dashoffset",fe.dashOffset):q.removeAttribute("stroke-dashoffset")):q.setAttribute("stroke","none"),fe.fill?(q.setAttribute("fill",fe.fillColor||fe.color),q.setAttribute("fill-opacity",fe.fillOpacity),q.setAttribute("fill-rule",fe.fillRule||"evenodd")):q.setAttribute("fill","none"))},_updatePoly:function(Z,q){this._setPath(Z,le(Z._parts,q))},_updateCircle:function(Z){var q=Z._point,fe=Math.max(Math.round(Z._radius),1),Ie=Math.max(Math.round(Z._radiusY),1)||fe,Me="a"+fe+","+Ie+" 0 1,0 ",$e=Z._empty()?"M0 0":"M"+(q.x-fe)+","+q.y+Me+fe*2+",0 "+Me+-fe*2+",0 ";this._setPath(Z,$e)},_setPath:function(Z,q){Z._path.setAttribute("d",q)},_bringToFront:function(Z){xn(Z._path)},_bringToBack:function(Z){On(Z._path)}});Ne.vml&&bi.include(oo);function fr(Z){return Ne.svg||Ne.vml?new bi(Z):null}tn.include({getRenderer:function(Z){var q=Z.options.renderer||this._getPaneRenderer(Z.options.pane)||this.options.renderer||this._renderer;return q||(q=this._renderer=this._createRenderer()),this.hasLayer(q)||this.addLayer(q),q},_getPaneRenderer:function(Z){if(Z==="overlayPane"||Z===void 0)return!1;var q=this._paneRenderers[Z];return q===void 0&&(q=this._createRenderer({pane:Z}),this._paneRenderers[Z]=q),q},_createRenderer:function(Z){return this.options.preferCanvas&&dr(Z)||fr(Z)}});var pr=ui.extend({initialize:function(Z,q){ui.prototype.initialize.call(this,this._boundsToLatLngs(Z),q)},setBounds:function(Z){return this.setLatLngs(this._boundsToLatLngs(Z))},_boundsToLatLngs:function(Z){return Z=he(Z),[Z.getSouthWest(),Z.getNorthWest(),Z.getNorthEast(),Z.getSouthEast()]}});function ao(Z,q){return new pr(Z,q)}bi.create=ki,bi.pointsToPath=le,Un.geometryToLayer=Ii,Un.coordsToLatLng=Wi,Un.coordsToLatLngs=Ti,Un.latLngToCoords=ji,Un.latLngsToCoords=Ei,Un.getFeature=di,Un.asFeature=Mi,tn.mergeOptions({boxZoom:!0});var gr=zn.extend({initialize:function(Z){this._map=Z,this._container=Z._container,this._pane=Z._panes.overlayPane,this._resetStateTimeout=0,Z.on("unload",this._destroy,this)},addHooks:function(){wt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Tt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){un(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(Z){if(!Z.shiftKey||Z.which!==1&&Z.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Hn(),pi(),this._startPoint=this._map.mouseEventToContainerPoint(Z),wt(document,{contextmenu:yn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(Z){this._moved||(this._moved=!0,this._box=Kt("div","leaflet-zoom-box",this._container),Yt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(Z);var q=new ce(this._point,this._startPoint),fe=q.getSize();An(this._box,q.min),this._box.style.width=fe.x+"px",this._box.style.height=fe.y+"px"},_finish:function(){this._moved&&(un(this._box),hn(this._container,"leaflet-crosshair")),Jn(),je(),Tt(document,{contextmenu:yn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(Z){if(!(Z.which!==1&&Z.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(g(this._resetState,this),0);var q=new ge(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(q).fire("boxzoomend",{boxZoomBounds:q})}},_onKeyDown:function(Z){Z.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});tn.addInitHook("addHandler","boxZoom",gr),tn.mergeOptions({doubleClickZoom:!0});var mr=zn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(Z){var q=this._map,fe=q.getZoom(),Ie=q.options.zoomDelta,Me=Z.originalEvent.shiftKey?fe-Ie:fe+Ie;q.options.doubleClickZoom==="center"?q.setZoom(Me):q.setZoomAround(Z.containerPoint,Me)}});tn.addInitHook("addHandler","doubleClickZoom",mr),tn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var vr=zn.extend({addHooks:function(){if(!this._draggable){var Z=this._map;this._draggable=new ei(Z._mapPane,Z._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),Z.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),Z.on("zoomend",this._onZoomEnd,this),Z.whenReady(this._onZoomEnd,this))}Yt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){hn(this._map._container,"leaflet-grab"),hn(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var Z=this._map;if(Z._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var q=he(this._map.options.maxBounds);this._offsetLimit=se(this._map.latLngToContainerPoint(q.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(q.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;Z.fire("movestart").fire("dragstart"),Z.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(Z){if(this._map.options.inertia){var q=this._lastTime=+new Date,fe=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(fe),this._times.push(q),this._prunePositions(q)}this._map.fire("move",Z).fire("drag",Z)},_prunePositions:function(Z){for(;this._positions.length>1&&Z-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var Z=this._map.getSize().divideBy(2),q=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=q.subtract(Z).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(Z,q){return Z-(Z-q)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var Z=this._draggable._newPos.subtract(this._draggable._startPos),q=this._offsetLimit;Z.xq.max.x&&(Z.x=this._viscousLimit(Z.x,q.max.x)),Z.y>q.max.y&&(Z.y=this._viscousLimit(Z.y,q.max.y)),this._draggable._newPos=this._draggable._startPos.add(Z)}},_onPreDragWrap:function(){var Z=this._worldWidth,q=Math.round(Z/2),fe=this._initialWorldOffset,Ie=this._draggable._newPos.x,Me=(Ie-q+fe)%Z+q-fe,$e=(Ie+q+fe)%Z-q-fe,Ke=Math.abs(Me+fe)0?$e:-$e))-q;this._delta=0,this._startTime=null,Ke&&(Z.options.scrollWheelZoom==="center"?Z.setZoom(q+Ke):Z.setZoomAround(this._lastMousePos,q+Ke))}});tn.addInitHook("addHandler","scrollWheelZoom",Ar);var so=600;tn.mergeOptions({tapHold:Ne.touchNative&&Ne.safari&&Ne.mobile,tapTolerance:15});var _r=zn.extend({addHooks:function(){wt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Tt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(Z){if(clearTimeout(this._holdTimeout),Z.touches.length===1){var q=Z.touches[0];this._startPos=this._newPos=new J(q.clientX,q.clientY),this._holdTimeout=setTimeout(g(function(){this._cancel(),this._isTapValid()&&(wt(document,"touchend",sn),wt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",q))},this),so),wt(document,"touchend touchcancel contextmenu",this._cancel,this),wt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function Z(){Tt(document,"touchend",sn),Tt(document,"touchend touchcancel",Z)},_cancel:function(){clearTimeout(this._holdTimeout),Tt(document,"touchend touchcancel contextmenu",this._cancel,this),Tt(document,"touchmove",this._onMove,this)},_onMove:function(Z){var q=Z.touches[0];this._newPos=new J(q.clientX,q.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(Z,q){var fe=new MouseEvent(Z,{bubbles:!0,cancelable:!0,view:window,screenX:q.screenX,screenY:q.screenY,clientX:q.clientX,clientY:q.clientY});fe._simulated=!0,q.target.dispatchEvent(fe)}});tn.addInitHook("addHandler","tapHold",_r),tn.mergeOptions({touchZoom:Ne.touch,bounceAtZoomLimits:!0});var wr=zn.extend({addHooks:function(){Yt(this._map._container,"leaflet-touch-zoom"),wt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){hn(this._map._container,"leaflet-touch-zoom"),Tt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(Z){var q=this._map;if(!(!Z.touches||Z.touches.length!==2||q._animatingZoom||this._zooming)){var fe=q.mouseEventToContainerPoint(Z.touches[0]),Ie=q.mouseEventToContainerPoint(Z.touches[1]);this._centerPoint=q.getSize()._divideBy(2),this._startLatLng=q.containerPointToLatLng(this._centerPoint),q.options.touchZoom!=="center"&&(this._pinchStartLatLng=q.containerPointToLatLng(fe.add(Ie)._divideBy(2))),this._startDist=fe.distanceTo(Ie),this._startZoom=q.getZoom(),this._moved=!1,this._zooming=!0,q._stop(),wt(document,"touchmove",this._onTouchMove,this),wt(document,"touchend touchcancel",this._onTouchEnd,this),sn(Z)}},_onTouchMove:function(Z){if(!(!Z.touches||Z.touches.length!==2||!this._zooming)){var q=this._map,fe=q.mouseEventToContainerPoint(Z.touches[0]),Ie=q.mouseEventToContainerPoint(Z.touches[1]),Me=fe.distanceTo(Ie)/this._startDist;if(this._zoom=q.getScaleZoom(Me,this._startZoom),!q.options.bounceAtZoomLimits&&(this._zoomq.getMaxZoom()&&Me>1)&&(this._zoom=q._limitZoom(this._zoom)),q.options.touchZoom==="center"){if(this._center=this._startLatLng,Me===1)return}else{var $e=fe._add(Ie)._divideBy(2)._subtract(this._centerPoint);if(Me===1&&$e.x===0&&$e.y===0)return;this._center=q.unproject(q.project(this._pinchStartLatLng,this._zoom).subtract($e),this._zoom)}this._moved||(q._moveStart(!0,!1),this._moved=!0),H(this._animRequest);var Ke=g(q._move,q,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=Y(Ke,this,!0),sn(Z)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,H(this._animRequest),Tt(document,"touchmove",this._onTouchMove,this),Tt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});tn.addInitHook("addHandler","touchZoom",wr),tn.BoxZoom=gr,tn.DoubleClickZoom=mr,tn.Drag=vr,tn.Keyboard=yr,tn.ScrollWheelZoom=Ar,tn.TapHold=_r,tn.TouchZoom=wr,o.Bounds=ce,o.Browser=Ne,o.CRS=pe,o.Canvas=ur,o.Circle=Gi,o.CircleMarker=Ci,o.Class=z,o.Control=In,o.DivIcon=sr,o.DivOverlay=Fn,o.DomEvent=gi,o.DomUtil=Et,o.Draggable=ei,o.Evented=X,o.FeatureGroup=Zn,o.GeoJSON=Un,o.GridLayer=yi,o.Handler=zn,o.Icon=ci,o.ImageOverlay=xi,o.LatLng=ye,o.LatLngBounds=ge,o.Layer=Wn,o.LayerGroup=li,o.LineUtil=Nr,o.Map=tn,o.Marker=Si,o.Mixin=Rr,o.Path=ti,o.Point=J,o.PolyUtil=kr,o.Polygon=ui,o.Polyline=Yn,o.Popup=Oi,o.PosAnimation=oi,o.Projection=Br,o.Rectangle=pr,o.Renderer=Qn,o.SVG=bi,o.SVGOverlay=ar,o.TileLayer=hi,o.Tooltip=Ri,o.Transformation=_e,o.Util=B,o.VideoOverlay=or,o.bind=g,o.bounds=se,o.canvas=dr,o.circle=Zr,o.circleMarker=Hr,o.control=Gn,o.divIcon=no,o.extend=u,o.featureGroup=jr,o.geoJSON=rr,o.geoJson=Qr,o.gridLayer=io,o.icon=zr,o.imageOverlay=Jr,o.latLng=ee,o.latLngBounds=he,o.layerGroup=Wr,o.map=qn,o.marker=Fr,o.point=te,o.polygon=Ur,o.polyline=Yr,o.popup=qr,o.rectangle=ao,o.setOptions=T,o.stamp=y,o.svg=fr,o.svgOverlay=Kr,o.tileLayer=lr,o.tooltip=eo,o.transformation=Te,o.version=a,o.videoOverlay=Xr;var lo=window.L;o.noConflict=function(){return window.L=lo,this},window.L=o})})(leafletSrc,leafletSrc.exports);const domUtilProto=L.extend({},L.DomUtil);L.extend(L.DomUtil,{setTransform:function(t,r,o,a,u){var d=r||new L.Point(0,0);if(!a)return r=d._round(),domUtilProto.setTransform.apply(this,arguments);d=d.rotateFrom(a,u),t.style[L.DomUtil.TRANSFORM]="translate3d("+d.x+"px,"+d.y+"px,0)"+(o?" scale("+o+")":"")+" rotate("+a+"rad)"},setPosition:function(t,r,o,a,u){if(!o)return domUtilProto.setPosition.apply(this,arguments);t._leaflet_pos=r,L.Browser.any3d?L.DomUtil.setTransform(t,r,u,o,a):(t.style.left=r.x+"px",t.style.top=r.y+"px")},DEG_TO_RAD:Math.PI/180,RAD_TO_DEG:180/Math.PI});L.Draggable.include({});L.extend(L.Point.prototype,{rotate:function(t){return this.rotateFrom(t,new L.Point(0,0))},rotateFrom:function(t,r){if(!t)return this;var o=Math.sin(t),a=Math.cos(t),u=r.x,d=r.y,g=this.x-u,v=this.y-d;return new L.Point(g*a-v*o+u,g*o+v*a+d)}});const divOverlayProto=L.extend({},L.DivOverlay.prototype);L.DivOverlay.include({getEvents:function(){return L.extend(divOverlayProto.getEvents.apply(this,arguments),{rotate:this._updatePosition})},_updatePosition:function(){if(!!this._map&&(divOverlayProto._updatePosition.apply(this,arguments),this._map&&this._map._rotate&&this._zoomAnimated)){var t=this._getAnchor(),r=L.DomUtil.getPosition(this._container).subtract(t);L.DomUtil.setPosition(this._container,this._map.rotatedPointToMapPanePoint(r).add(t))}}});const popupProto=L.extend({},L.Popup.prototype);L.Popup.include({_animateZoom:function(t){if(popupProto._animateZoom.apply(this,arguments),this._map&&this._map._rotate){var r=this._getAnchor(),o=L.DomUtil.getPosition(this._container).subtract(r);L.DomUtil.setPosition(this._container,this._map.rotatedPointToMapPanePoint(o).add(r))}},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){if(this._autopanning){this._autopanning=!1;return}var t=this._map,r=parseInt(L.DomUtil.getStyle(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+r,a=this._containerWidth,u=new L.Point(this._containerLeft,-o-this._containerBottom);u._add(L.DomUtil.getPosition(this._container));var d=u._add(this._map._getMapPanePos()),g=L.point(this.options.autoPanPadding),v=L.point(this.options.autoPanPaddingTopLeft||g),y=L.point(this.options.autoPanPaddingBottomRight||g),A=t.getSize(),b=0,_=0;d.x+a+y.x>A.x&&(b=d.x+a-A.x+y.x),d.x-b-v.x<0&&(b=d.x-v.x),d.y+o+y.y>A.y&&(_=d.y+o-A.y+y.y),d.y-_-v.y<0&&(_=d.y-v.y),(b||_)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([b,_]))}}});const tooltipProto=L.extend({},L.Tooltip.prototype);L.Tooltip.include({_animateZoom:function(t){if(!this._map._rotate)return tooltipProto._animateZoom.apply(this,arguments);var r=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);r=this._map.rotatedPointToMapPanePoint(r),this._setPosition(r)},_updatePosition:function(){if(!this._map._rotate)return tooltipProto._updatePosition.apply(this,arguments);var t=this._map.latLngToLayerPoint(this._latlng);t=this._map.rotatedPointToMapPanePoint(t),this._setPosition(t)}});L.extend({},L.Icon.prototype);L.Icon.include({_setIconStyles:function(t,r){var o=this.options,a=o[r+"Size"];typeof a=="number"&&(a=[a,a]);var u=L.point(a),d=L.point(r==="shadow"&&o.shadowAnchor||o.iconAnchor||u&&u.divideBy(2,!0));t.className="leaflet-marker-"+r+" "+(o.className||""),d&&(t.style.marginLeft=-d.x+"px",t.style.marginTop=-d.y+"px",t.style[L.DomUtil.TRANSFORM+"Origin"]=d.x+"px "+d.y+"px 0px"),u&&(t.style.width=u.x+"px",t.style.height=u.y+"px")}});const markerProto=L.extend({},L.Marker.prototype);L.Marker.mergeOptions({rotation:0,rotateWithView:!1,scale:void 0});var markerDragProto,MarkerDrag={_onDrag:function(t){var r=this._marker,o=r.options.rotation||r.options.rotateWithView,a=r._shadow,u=L.DomUtil.getPosition(r._icon);!o&&a&&L.DomUtil.setPosition(a,u),r._map._rotate&&(u=r._map.mapPanePointToRotatedPoint(u));var d=r._map.layerPointToLatLng(u);r._latlng=d,t.latlng=d,t.oldLatLng=this._oldLatLng,o?r.setLatLng(d):r.fire("move",t),r.fire("drag",t)},_onDragEnd:function(t){this._marker._map._rotate&&this._marker.update(),markerDragProto._onDragEnd.apply(this,arguments)}};L.Marker.include({getEvents:function(){return L.extend(markerProto.getEvents.apply(this,arguments),{rotate:this.update})},_initInteraction:function(){var t=markerProto._initInteraction.apply(this,arguments);return this.dragging&&this.dragging.enabled()&&this._map&&this._map._rotate&&(markerDragProto=markerDragProto||Object.getPrototypeOf(this.dragging),this.dragging.disable(),Object.assign(this.dragging,{_onDrag:MarkerDrag._onDrag.bind(this.dragging),_onDragEnd:MarkerDrag._onDragEnd.bind(this.dragging)}),this.dragging.enable()),t},_setPos:function(t){this._map._rotate&&(t=this._map.rotatedPointToMapPanePoint(t));var r=this.options.rotation||0;this.options.rotateWithView&&(r+=this._map._bearing),this._icon&&L.DomUtil.setPosition(this._icon,t,r,t,this.options.scale),this._shadow&&L.DomUtil.setPosition(this._shadow,t,r,t,this.options.scale),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},setRotation:function(t){this.options.rotation=t,this.update()}});const gridLayerProto=L.extend({},L.GridLayer.prototype);L.GridLayer.include({getEvents:function(){var t=gridLayerProto.getEvents.apply(this,arguments);return this._map._rotate&&!this.options.updateWhenIdle&&(this._onRotate||(this._onRotate=L.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),t.rotate=this._onRotate),t},_getTiledPixelBounds:function(t){return this._map._rotate?this._map._getNewPixelBounds(t,this._tileZoom):gridLayerProto._getTiledPixelBounds.apply(this,arguments)}});const rendererProto=L.extend({},L.Renderer.prototype);L.Renderer.include({getEvents:function(){return L.extend(rendererProto.getEvents.apply(this,arguments),{rotate:this._update})},onAdd:function(){rendererProto.onAdd.apply(this,arguments),L.version<="1.9.3"&&this._container.classList.add("leaflet-zoom-animated")},_updateTransform:function(t,r){if(!this._map._rotate)return rendererProto._updateTransform.apply(this,arguments);var o=this._map.getZoomScale(r,this._zoom),a=this._map._latLngToNewLayerPoint(this._topLeft,r,t);L.DomUtil.setTransform(this._container,a,o)},_update:function(){if(!this._map._rotate)return rendererProto._update.apply(this,arguments);this._bounds=this._map._getPaddedPixelBounds(this.options.padding),this._topLeft=this._map.layerPointToLatLng(this._bounds.min),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}});const mapProto=L.extend({},L.Map.prototype);L.Map.mergeOptions({rotate:!1,bearing:0});L.Map.include({initialize:function(t,r){r.rotate&&(this._rotate=!0,this._bearing=0),mapProto.initialize.apply(this,arguments),this.options.rotate&&this.setBearing(this.options.bearing)},containerPointToLayerPoint:function(t){return this._rotate?L.point(t).subtract(this._getMapPanePos()).rotateFrom(-this._bearing,this._getRotatePanePos()).subtract(this._getRotatePanePos()):mapProto.containerPointToLayerPoint.apply(this,arguments)},layerPointToContainerPoint:function(t){return this._rotate?L.point(t).add(this._getRotatePanePos()).rotateFrom(this._bearing,this._getRotatePanePos()).add(this._getMapPanePos()):mapProto.layerPointToContainerPoint.apply(this,arguments)},rotatedPointToMapPanePoint:function(t){return L.point(t).rotate(this._bearing)._add(this._getRotatePanePos())},mapPanePointToRotatedPoint:function(t){return L.point(t)._subtract(this._getRotatePanePos()).rotate(-this._bearing)},mapBoundsToContainerBounds:function(t){if(!this._rotate&&mapProto.mapBoundsToContainerBounds)return mapProto.mapBoundsToContainerBounds.apply(this,arguments);const r=this.getPixelOrigin(),o=this.layerPointToContainerPoint(this.project(t.getNorthWest())._subtract(r)),a=this.layerPointToContainerPoint(this.project(t.getNorthEast())._subtract(r)),u=this.layerPointToContainerPoint(this.project(t.getSouthWest())._subtract(r)),d=this.layerPointToContainerPoint(this.project(t.getSouthEast())._subtract(r));return L.bounds([L.point(Math.min(o.x,a.x,d.x,u.x),Math.min(o.y,a.y,d.y,u.y)),L.point(Math.max(o.x,a.x,d.x,u.x),Math.max(o.y,a.y,d.y,u.y))])},getBounds:function(){if(!this._rotate)return mapProto.getBounds.apply(this,arguments);var t=this.getSize();return new L.LatLngBounds([this.containerPointToLatLng([0,0]),this.containerPointToLatLng([t.x,0]),this.containerPointToLatLng([t.x,t.y]),this.containerPointToLatLng([0,t.y])])},setBearing:function(t){if(!(!L.Browser.any3d||!this._rotate)){var r=L.Util.wrapNum(t,[0,360])*L.DomUtil.DEG_TO_RAD,o=this._getPixelCenter(),a=this._getRotatePanePos().rotateFrom(-this._bearing,o),u=a.rotateFrom(r,o);L.DomUtil.setPosition(this._rotatePane,a,r,o),this._pivot=o,this._bearing=r,this._rotatePanePos=u,this.fire("rotate")}},getBearing:function(){return this._bearing*L.DomUtil.RAD_TO_DEG},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),L.DomUtil.setPosition(this._mapPane,new L.Point(0,0)),this._rotate?(this._rotatePane=this.createPane("rotatePane",this._mapPane),this._norotatePane=this.createPane("norotatePane",this._mapPane),this.createPane("tilePane",this._rotatePane),this.createPane("overlayPane",this._rotatePane),this.createPane("shadowPane",this._norotatePane),this.createPane("markerPane",this._norotatePane),this.createPane("tooltipPane",this._norotatePane),this.createPane("popupPane",this._norotatePane)):(this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane")),this.options.markerZoomAnimation||(L.DomUtil.addClass(t.markerPane,"leaflet-zoom-hide"),L.DomUtil.addClass(t.shadowPane,"leaflet-zoom-hide"))},panInside(t,r){if(!this._rotate||Math.abs(this._bearing).toFixed(1)<.1)return mapProto.panInside.apply(this,arguments);r=r||{};const o=L.point(r.paddingTopLeft||r.padding||[0,0]),a=L.point(r.paddingBottomRight||r.padding||[0,0]),u=this._container.getBoundingClientRect(),d=this.latLngToContainerPoint(t),g=L.bounds([L.point(u),L.point(u).add(this.getSize())]),v=g.getCenter(),y=L.bounds([g.min.add(o),g.max.subtract(a)]),A=y.getSize();if(!y.contains(d)){this._enforcingBounds=!0;const b=d.subtract(y.getCenter()),_=y.extend(d).getSize().subtract(A);v.x+=b.x<0?-_.x:_.x,v.y+=b.y<0?-_.y:_.y,this.panTo(this.containerPointToLatLng(v),r),this._enforcingBounds=!1}return this},getBoundsZoom(t,r,o){if(!this._rotate||Math.abs(this._bearing).toFixed(1)<.1)return mapProto.getBoundsZoom.apply(this,arguments);t=L.latLngBounds(t),o=L.point(o||[0,0]);let a=this.getZoom()||0;const u=this.getMinZoom(),d=this.getMaxZoom(),g=this.getSize().subtract(o),v=this.mapBoundsToContainerBounds(t).getSize(),y=this.options.zoomSnap,A=g.x/v.x,b=g.y/v.y,_=r?Math.max(A,b):Math.min(A,b);return a=this.getScaleZoom(_,a),y&&(a=Math.round(a/(y/100))*(y/100),a=r?Math.ceil(a/y)*y:Math.floor(a/y)*y),Math.max(u,Math.min(d,a))},_getCenterOffset:function(t){var r=mapProto._getCenterOffset.apply(this,arguments);return this._rotate&&(r=r.rotate(this._bearing)),r},_getRotatePanePos:function(){return this._rotatePanePos||new L.Point(0,0)},_getNewPixelOrigin:function(t,r){if(!this._rotate)return mapProto._getNewPixelOrigin.apply(this,arguments);var o=this.getSize()._divideBy(2);return this.project(t,r).rotate(this._bearing)._subtract(o)._add(this._getMapPanePos())._add(this._getRotatePanePos()).rotate(-this._bearing)._round()},_getNewPixelBounds:function(t,r){if(t=t||this.getCenter(),r=r||this.getZoom(),!this._rotate&&mapProto._getNewPixelBounds)return mapProto._getNewPixelBounds.apply(this,arguments);var o=this._animatingZoom?Math.max(this._animateToZoom,this.getZoom()):this.getZoom(),a=this.getZoomScale(o,r),u=this.project(t,r).floor(),d=this.getSize(),g=new L.Bounds([this.containerPointToLayerPoint([0,0]).floor(),this.containerPointToLayerPoint([d.x,0]).floor(),this.containerPointToLayerPoint([0,d.y]).floor(),this.containerPointToLayerPoint([d.x,d.y]).floor()]).getSize().divideBy(a*2);return new L.Bounds(u.subtract(g),u.add(g))},_getPixelCenter:function(){return!this._rotate&&mapProto._getPixelCenter?mapProto._getPixelCenter.apply(this,arguments):this.getSize()._divideBy(2)._subtract(this._getMapPanePos())},_getPaddedPixelBounds:function(t){if(!this._rotate&&mapProto._getPaddedPixelBounds)return mapProto._getPaddedPixelBounds.apply(this,arguments);var r=t,o=this.getSize(),a=o.multiplyBy(-r),u=o.multiplyBy(1+r);return new L.Bounds([this.containerPointToLayerPoint([a.x,a.y]).floor(),this.containerPointToLayerPoint([a.x,u.y]).floor(),this.containerPointToLayerPoint([u.x,a.y]).floor(),this.containerPointToLayerPoint([u.x,u.y]).floor()])},_handleGeolocationResponse:function(t){if(!!this._container._leaflet_id){var r=t.coords.latitude,o=t.coords.longitude,a=t.coords.heading,u=new L.LatLng(r,o),d=u.toBounds(t.coords.accuracy),g=this._locateOptions;if(g.setView){var v=this.getBoundsZoom(d);this.setView(u,g.maxZoom?Math.min(v,g.maxZoom):v)}var y={latlng:u,bounds:d,timestamp:t.timestamp,heading:a};for(var A in t.coords)typeof t.coords[A]=="number"&&(y[A]=t.coords[A]);this.fire("locationfound",y)}}});L.Map.CompassBearing=L.Handler.extend({initialize:function(t){this._map=t,"ondeviceorientationabsolute"in window?this.__deviceOrientationEvent="deviceorientationabsolute":"ondeviceorientation"in window&&(this.__deviceOrientationEvent="deviceorientation"),this._throttled=L.Util.throttle(this._onDeviceOrientation,100,this)},addHooks:function(){this._map._rotate&&this.__deviceOrientationEvent?L.DomEvent.on(window,this.__deviceOrientationEvent,this._throttled,this):this.disable()},removeHooks:function(){this._map._rotate&&this.__deviceOrientationEvent&&L.DomEvent.off(window,this.__deviceOrientationEvent,this._throttled,this)},_onDeviceOrientation:function(t){var r=t.webkitCompassHeading||t.alpha,o=0;!t.absolute&&t.webkitCompassHeading&&(r=360-r),!t.absolute&&typeof window.orientation!="undefined"&&(o=window.orientation),this._map.setBearing(r-o)}});L.Map.addInitHook("addHandler","compassBearing",L.Map.CompassBearing);L.Map.mergeOptions({trackContainerMutation:!1});L.Map.ContainerMutation=L.Handler.extend({addHooks:function(){this._observer||(this._observer=new MutationObserver(L.Util.bind(this._map.invalidateSize,this._map))),this._observer.observe(this._map.getContainer(),{childList:!1,attributes:!0,characterData:!1,subtree:!1,attributeFilter:["style"]})},removeHooks:function(){this._observer.disconnect()}});L.Map.addInitHook("addHandler","trackContainerMutation",L.Map.ContainerMutation);L.Map.mergeOptions({bounceAtZoomLimits:!0});L.Map.TouchGestures=L.Handler.extend({initialize:function(t){this._map=t,this.rotate=!!this._map.options.touchRotate,this.zoom=!!this._map.options.touchZoom},addHooks:function(){L.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){L.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var r=this._map;if(!(!t.touches||t.touches.length!==2||r._animatingZoom||this._zooming||this._rotating)){var o=r.mouseEventToContainerPoint(t.touches[0]),a=r.mouseEventToContainerPoint(t.touches[1]),u=o.subtract(a);this._centerPoint=r.getSize()._divideBy(2),this._startLatLng=r.containerPointToLatLng(this._centerPoint),this.zoom?(r.options.touchZoom!=="center"&&(this._pinchStartLatLng=r.containerPointToLatLng(o.add(a)._divideBy(2))),this._startDist=o.distanceTo(a),this._startZoom=r.getZoom(),this._zooming=!0):this._zooming=!1,this.rotate?(this._startTheta=Math.atan(u.x/u.y),this._startBearing=r.getBearing(),u.y<0&&(this._startBearing+=180),this._rotating=!0):this._rotating=!1,this._moved=!1,r._stop(),L.DomEvent.on(document,"touchmove",this._onTouchMove,this).on(document,"touchend touchcancel",this._onTouchEnd,this),L.DomEvent.preventDefault(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!(this._zooming||this._rotating))){var r=this._map,o=r.mouseEventToContainerPoint(t.touches[0]),a=r.mouseEventToContainerPoint(t.touches[1]),u=o.subtract(a),d=o.distanceTo(a)/this._startDist,g;if(this._rotating){var v=Math.atan(u.x/u.y),y=(v-this._startTheta)*L.DomUtil.RAD_TO_DEG;u.y<0&&(y+=180),y&&r.setBearing(this._startBearing-y)}if(this._zooming)if(this._zoom=r.getScaleZoom(d,this._startZoom),!r.options.bounceAtZoomLimits&&(this._zoomr.getMaxZoom()&&d>1)&&(this._zoom=r._limitZoom(this._zoom)),r.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{if(g=o._add(a)._divideBy(2)._subtract(this._centerPoint),d===1&&g.x===0&&g.y===0)return;var A=-r.getBearing()*L.DomUtil.DEG_TO_RAD;this._center=r.unproject(r.project(this._pinchStartLatLng).subtract(g.rotate(A)))}this._moved||(r._moveStart(!0,!1),this._moved=!0),L.Util.cancelAnimFrame(this._animRequest);var b=r._move.bind(r,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=L.Util.requestAnimFrame(b,this,!0),L.DomEvent.preventDefault(t)}},_onTouchEnd:function(){if(!this._moved||!(this._zooming||this._rotating)){this._zooming=!1;return}this._zooming=!1,this._rotating=!1,L.Util.cancelAnimFrame(this._animRequest),L.DomEvent.off(document,"touchmove",this._onTouchMove,this).off(document,"touchend touchcancel",this._onTouchEnd,this),this.zoom&&(this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))}});L.Map.addInitHook("addHandler","touchGestures",L.Map.TouchGestures);L.Map.mergeOptions({touchRotate:!1});L.Map.TouchRotate=L.Handler.extend({addHooks:function(){this._map.touchGestures.enable(),this._map.touchGestures.rotate=!0},removeHooks:function(){this._map.touchGestures.rotate=!1}});L.Map.addInitHook("addHandler","touchRotate",L.Map.TouchRotate);L.Map.mergeOptions({shiftKeyRotate:!0});L.Map.ShiftKeyRotate=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"wheel",this._handleShiftScroll,this),this._map.shiftKeyRotate.rotate=!0},removeHooks:function(){L.DomEvent.off(this._map._container,"wheel",this._handleShiftScroll,this),this._map.shiftKeyRotate.rotate=!1},_handleShiftScroll:function(t){t.shiftKey?(t.preventDefault(),this._map.scrollWheelZoom.disable(),this._map.setBearing(this._map._bearing*L.DomUtil.RAD_TO_DEG+Math.sign(t.deltaY)*5)):this._map.scrollWheelZoom.enable()}});L.Map.addInitHook("addHandler","shiftKeyRotate",L.Map.ShiftKeyRotate);L.Map.addInitHook(function(){this.scrollWheelZoom.enabled()&&this.shiftKeyRotate.enabled()&&(this.scrollWheelZoom.disable(),this.scrollWheelZoom.enable())});L.Map.mergeOptions({touchZoom:L.Browser.touch,bounceAtZoomLimits:!1});L.Map.TouchZoom=L.Handler.extend({addHooks:function(){L.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),this._map.touchGestures.enable(),this._map.touchGestures.zoom=!0},removeHooks:function(){L.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),this._map.touchGestures.zoom=!1}});L.Map.addInitHook("addHandler","touchZoom",L.Map.TouchZoom);L.Control.Rotate=L.Control.extend({options:{position:"topleft",closeOnZeroBearing:!0},onAdd:function(t){var r=this._container=L.DomUtil.create("div","leaflet-control-rotate leaflet-bar"),o=this._arrow=L.DomUtil.create("span","leaflet-control-rotate-arrow");o.style.backgroundImage=`url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")`,o.style.cursor="grab",o.style.display="block",o.style.width="100%",o.style.height="100%",o.style.backgroundRepeat="no-repeat",o.style.backgroundPosition="50%";var a=this._link=L.DomUtil.create("a","leaflet-control-rotate-toggle",r);return a.appendChild(o),a.href="#",a.title="Rotate map",L.DomEvent.on(a,"dblclick",L.DomEvent.stopPropagation).on(a,"mousedown",this._handleMouseDown,this).on(a,"click",L.DomEvent.stop).on(a,"click",this._cycleState,this).on(a,"click",this._refocusOnMap,this),L.Browser.any3d||L.DomUtil.addClass(a,"leaflet-disabled"),this._restyle(),t.on("rotate",this._restyle,this),this._follow=!1,this._canFollow=!1,this.options.closeOnZeroBearing&&t.getBearing()===0&&(r.style.display="none"),r},onRemove:function(t){t.off("rotate",this._restyle,this)},_handleMouseDown:function(t){L.DomEvent.stop(t),this.dragging=!0,this.dragstartX=t.pageX,this.dragstartY=t.pageY,L.DomEvent.on(document,"mousemove",this._handleMouseDrag,this).on(document,"mouseup",this._handleMouseUp,this)},_handleMouseUp:function(t){L.DomEvent.stop(t),this.dragging=!1,L.DomEvent.off(document,"mousemove",this._handleMouseDrag,this).off(document,"mouseup",this._handleMouseUp,this)},_handleMouseDrag:function(t){if(!!this.dragging){var r=t.clientX-this.dragstartX;this._map.setBearing(r)}},_cycleState:function(t){if(!!this._map){var r=this._map;!r.touchRotate.enabled()&&!r.compassBearing.enabled()?r.touchRotate.enable():r.compassBearing.enabled()?(r.compassBearing.disable(),r.setBearing(0),this.options.closeOnZeroBearing&&r.touchRotate.enable()):(r.touchRotate.disable(),r.compassBearing.enable()),this._restyle()}},_restyle:function(){if(!this._map.options.rotate)L.DomUtil.addClass(this._link,"leaflet-disabled");else{var t=this._map,r=t.getBearing();this._arrow.style.transform="rotate("+r+"deg)",r&&this.options.closeOnZeroBearing&&(this._container.style.display="block"),t.compassBearing.enabled()?this._link.style.backgroundColor="orange":t.touchRotate.enabled()?this._link.style.backgroundColor=null:(this._link.style.backgroundColor="grey",r===0&&this.options.closeOnZeroBearing&&(this._container.style.display="none"))}}});L.control.rotate=function(t){return new L.Control.Rotate(t)};L.Map.mergeOptions({rotateControl:!0});L.Map.addInitHook(function(){if(this.options.rotateControl){var t=typeof this.options.rotateControl=="object"?this.options.rotateControl:{};this.rotateControl=L.control.rotate(t),this.addControl(this.rotateControl)}});var leaflet1_9_3="",Map_vue_vue_type_style_index_0_lang="";const _sfc_main$5=defineComponent({name:"ModuleMap",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0},options:{type:Object,required:!0}},setup(t){const r=useI18n();useQuasar();const o=useIoBroker(),a=ref({}),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$6),tooltipPermanent:u.value.tooltipPermanent!==void 0?u.value.tooltipPermanent:!0})),g=ref(null);let v=null;const y=ref({}),A=(M,N)=>{y.value[M]=N,F(M,N)};watch(g,()=>{v=L.map(g.value,{center:_.value,zoom:b.value,rotate:!0,touchRotate:!0,bearing:d.value.rotation||0}),L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:"\xA9 OpenStreetMap"}).addTo(v),Object.keys(y.value).forEach(M=>F(M,y.value[M])),window.dispatchEvent(new Event("resize"))});const b=computed(()=>parseInt(d.value.defaultZoom)||4),_=computed(()=>{const{latitude:M,longitude:N}=o.meta;let V=d.value.defaultPosition&&d.value.defaultPosition.split(",")||M&&N&&[M,N]||null;return Array.isArray(V)&&V[0]&&V[1]&&(V[0]=parseFloat(V[0])||null,V[1]=parseFloat(V[1])||null),(V===null||Number.isNaN(V)||!V[0]||!V[1]||Number.isNaN(V[0])||Number.isNaN(V[1]))&&(console.warn("Map","Coordinates invalid!",d.value.defaultPosition,[M,N]),V=[53.550745,9.992992]),V});watch(b,M=>b.value&&v&&v.setZoom(b.value)),watch(_,M=>_.value&&v&&v.flyTo(_.value));const w=M=>{if(M&&typeof M=="string"&&M.indexOf("{")>-1)try{M=JSON.parse(M)}catch(N){console.error("Map",N)}else if(M&&typeof M=="string"&&M.indexOf(",")>-1)return M.split(",");return M&&typeof M=="object"&&M.lat&&(M.lng||M.lon)?[M.lat,M.lng||M.lon]:M},S=ref({}),C=ref(),T=(M,N,V,Y)=>{if(S.value[N.id+"#"+V]=!0,M||!Y){console.warn("Map",M),C.value=M||"No valid State";return}const H=w(Y.val),B=icon$n(Y.configUser&&Y.configUser.icon||N.icon||Y.icon);a.value[N.id+"#"+V]={...a.value[N.id+"#"+V],marker:{...Y,icon:B,coordinates:H},device:N},N.id===d.value.followDevice&&v.flyTo(H)},I={};let E={};const F=(M,N)=>{const V=a.value[M].marker;if(v&&V.coordinates&&N&&!N.isEqualNode(E[M])){const Y={riseOnHover:!0,icon:L.divIcon({html:N.innerHTML,iconSize:[48,48],iconAnchor:[24,24],className:"jarvis-map-marker "+(V.icon&&V.icon.indexOf("data:image/")>-1?"jarvis-map-marker-avatar":"jarvis-map-marker-icon")})};I[M]&&I[M].remove();const H=L.marker(V.coordinates,Y);I[M]=H,H.addTo(v),H.on("mouseover",D),H.on("mouseout",x),H.bindTooltip(V.label||a.value[M].device.label||a.value[M].device.name,{offset:[0,28],direction:"bottom",permanent:d.value.tooltipPermanent}),D({target:H})}};let O=null;const D=M=>{const N=typeof M=="string"?I[M]||null:M.target;O&&(O.setZIndexOffset(201),O._tooltip._container.style.zIndex=200),N&&N.openTooltip(),N.setZIndexOffset(100000001),N._tooltip._container.style.zIndex=1e8,O=N},x=M=>{const N=typeof M=="string"?I[M]||null:M.target;N&&!d.value.tooltipPermanent&&N.closeTooltip()},P=M=>M&&v&&v.flyTo(M);let G=[];return t.widget.items&&watch(t.widget.items,()=>{t.widget.items.forEach(M=>{if(M&&M.type==="device"){const N=Devices.get(M.deviceId||null);N&&M.primaryStateKey?(a.value[N.id+"#"+M.primaryStateKey]={item:M,device:N,marker:{}},G=Devices.listen(N.id,M.primaryStateKey,T)):console.error("Map",r.t("No device or state key specified"))}else M&&M.id&&(a.value[M.id]={item:M,device:{},marker:{}})})},{immediate:!0}),onBeforeUnmount(()=>Devices.unlisten(G)),{setRef:A,elMap:g,bringMarkerToFront:D,bringMarkerToBack:x,jumpToMarker:P,markers:a,loaded:S}}}),_hoisted_1$5={class:"jarvis-map-jumper-container"},_hoisted_2$4={class:"jarvis-map-jumper-label"},_hoisted_3$2=["onMouseover","onMouseout","onClick"],_hoisted_4$2=["src"],_hoisted_5$2={class:"jarvis-map-marker-caption"};function _sfc_render$5(t,r,o,a,u,d){const g=resolveComponent("icon");return t.widgetSize.height!=="100%"?(openBlock(),createElementBlock("div",{key:0,class:"jarvis-Map",onTouchstart:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[withDirectives(createBaseVNode("div",_hoisted_1$5,[createBaseVNode("div",_hoisted_2$4,toDisplayString$1(t.$t("Jump to"))+": ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.markers,({device:v,item:y,marker:A},b)=>(openBlock(),createElementBlock(Fragment,null,[y.type==="divider"?(openBlock(),createBlock(QSeparator,{key:"separator-"+y.id,class:"jarvis-map-jumper-separator",vertical:"",inset:""})):createCommentVNode("",!0),y.type==="device"?(openBlock(),createElementBlock("div",{key:"jumper-"+b,ref_for:!0,ref:_=>t.setRef(b,_),class:"jarvis-map-jumper",style:{margin:"0 8px"},onMouseover:_=>t.bringMarkerToFront(b),onMouseout:_=>t.bringMarkerToBack(b),onClick:_=>t.jumpToMarker(A.coordinates)},[t.loaded[b]===void 0?(openBlock(),createBlock(QSpinner,{key:0,class:"jarvis-map-marker"})):createCommentVNode("",!0),t.loaded[b]===!0&&A.icon&&A.icon.indexOf("data:image/")!==-1?(openBlock(),createBlock(QAvatar,{key:1,class:"jarvis-map-marker jarvis-map-marker-avatar",round:""},{default:withCtx(()=>[createBaseVNode("img",{src:A.icon.replace("img:","")},null,8,_hoisted_4$2)]),_:2},1024)):createCommentVNode("",!0),t.loaded[b]===!0&&A.icon&&A.icon.indexOf("data:image/")===-1?(openBlock(),createBlock(g,{key:2,styles:{fontSize:"2rem"},class:"jarvis-map-marker jarvis-map-marker-icon",color:"primary",name:A.icon},null,8,["name"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$2,toDisplayString$1(A.label||v.label||v.name),1)],40,_hoisted_3$2)):createCommentVNode("",!0)],64))),256))],512),[[vShow,Object.keys(t.markers).length>0]]),createBaseVNode("div",{ref:"elMap",style:normalizeStyle$1(t.widgetSize)},null,4)],32)):createCommentVNode("",!0)}var Map$1=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5]]),Map$2=Object.freeze(Object.defineProperty({__proto__:null,default:Map$1},Symbol.toStringTag,{value:"Module"})),MediaControl_vue_vue_type_style_index_0_lang="";const{getPaletteColor,changeAlpha}=colors,imports={"./adapters/alexa2.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return alexa2$1}),void 0),"./adapters/musiccast.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return musiccast$1}),void 0),"./adapters/plex.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return plex$1}),void 0),"./adapters/spotify-premium.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return spotifyPremium$1}),void 0),"./adapters/yamaha.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return yamaha$1}),void 0)},_sfc_main$4=defineComponent({name:"ModuleMediaControl",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=computed(()=>t.widget.config),o=computed(()=>({...Modules.joinConfig(r.value,ConfigFile$5)})),a=computed(()=>o.value.adapter.substr(0,o.value.adapter.indexOf("."))),u=ref([]),d=ref(null),g=computed(()=>u.value.find(N=>N.id===d.value)||{}),v=reactive({}),y=computed(()=>({height:parseInt(t.widgetSize.height.toString().replace("px",""))-50+"px","background-image":v.cover?"url('"+o.value.coverUrl+v.cover+"')":"none","background-size":o.value.coverMode?"auto 100%":"100% auto",paddingTop:parseInt(t.widgetSize.height.toString().replace("px",""))-50-50-6+"px"})),A=computed(()=>({background:changeAlpha(getPaletteColor("primary"),.8)})),b=computed(()=>({width:(Math.floor(v.progress/v.duration*t.widgetSize.width)||0)+"px"})),_=ref(0),w=ref(0),S=M=>O("progress",Math.round(M.layerX/t.widgetSize.width*v.duration)),C=M=>{_.value=Math.round(M.layerX/t.widgetSize.width*100),w.value=secondsToHoursMinutesSeconds(_.value/100*v.duration)},T=ref({}),I=ref({}),E=(M="",N=null)=>(N=N||d.value||"",N?(o.value.adapter+I.value[a.value]._namespace+M).replace("{PLAYER}",N||""):null),F=({val:M})=>{T.value[a.value]&&T.value[a.value].setPlayer&&T.value[a.value].setPlayer(N=>E(N,M),N=>E(N)),d.value=M,Cache$1.set("MediaControl.player."+t.widget.id,M)},O=(M,N=!0)=>{if(M==="play"&&g.value?(v.play=!0,F({val:g.value.id})):M==="pause"&&(v.play=!1),I.value[a.value][M]&&I.value[a.value][M].action){const V=E(I.value[a.value][M].action);V&&Connection.getConnection.setState(V,I.value[a.value][M].setter?I.value[a.value][M].setter(N,E):N).catch(H=>{console.error(H)})}},D=ref([]),x=M=>{if(!D.value.includes(M)){D.value.push(M);const N=Connection.getConnection;for(const V in I.value[a.value]){let Y=I.value[a.value][V];Y=typeof Y=="string"?{state:Y}:Y,Y&&Y.state&&(Y.stateKey=V,N.subscribeState(E(Y.state),({err:H,state:B})=>{!H&&B&&B.val!==void 0&&(B.val=Y.display&&Y.display[B.val]||B.val,v[V]=Y.convert?Y.convert(B.val):B.val)}))}}},P=()=>{T.value[a.value]&&T.value[a.value].getPlayers(o.value.adapter).then(M=>{if(M.length>0){u.value=M;const N=Cache$1.get("MediaControl.player."+t.widget.id)||M[0].id,V=N&&M[M.findIndex(Y=>Y.id===N)];d.value=V?V.id:M[0].id,x(d.value)}})};let G=null;return onBeforeMount(()=>{const M=[];for(const N in imports){const V=imports[N]().then(Y=>{const H=N.substr(N.lastIndexOf("/")+1).replace(".js","");return T.value[H]=Y,I.value[H]=Y.default,!0});M.push(V)}Promise.allSettled(M).then(()=>{P(),G=setInterval(()=>{P()},60*1e3)})}),onBeforeUnmount(()=>G&&clearInterval(G)),{secondsToHoursMinutesSeconds,media:v,cover:y,trackInformation:A,trackProgress:b,updateProgressSetter:C,setProgress:S,setProgressToTime:w,setProgressToPercent:_,selectPlayer:F,players:u,player:g,set:O,adapterKey:a,adapterStates:I}}}),_hoisted_1$4={class:"full-height"},_hoisted_2$3={class:"row"},_hoisted_3$1={class:"col nowrap ellipsis"},_hoisted_4$1={class:"row"},_hoisted_5$1={class:"col-grow",style:{overflow:"hidden"}},_hoisted_6$1={class:"col-shrink",style:{"text-align":"right"}},_hoisted_7$1={class:"track-duration disabled"},_hoisted_8$1={class:"controls q-pa-sm"},_hoisted_9$1={class:"controlsLeft"},_hoisted_10$1={class:"controlsCenter"},_hoisted_11$1={class:"controlsRight"};function _sfc_render$4(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("div",{class:"cover",style:normalizeStyle$1(t.cover)},[createBaseVNode("div",{class:"track-information q-pa-sm",style:normalizeStyle$1(t.trackInformation)},[createBaseVNode("div",_hoisted_2$3,[createBaseVNode("div",_hoisted_3$1,[createTextVNode(toDisplayString$1((t.media.artist||"")+(t.media.album?" - "+t.media.album:""))+" ",1),withDirectives(createBaseVNode("span",null,"("+toDisplayString$1(t.media.year)+")",513),[[vShow,t.media.align==="top"&&t.media.year]])])]),createBaseVNode("div",_hoisted_4$1,[createBaseVNode("div",_hoisted_5$1,[createTextVNode(toDisplayString$1(t.media.track)+" ",1),withDirectives(createBaseVNode("span",null,"("+toDisplayString$1(t.media.year)+")",513),[[vShow,t.media.align==="bottom"&&t.media.year]])]),withDirectives(createBaseVNode("div",_hoisted_6$1,[createTextVNode(toDisplayString$1(t.secondsToHoursMinutesSeconds(t.media.progress))+" ",1),withDirectives(createBaseVNode("span",null,"/ "+toDisplayString$1(t.secondsToHoursMinutesSeconds(t.media.duration)),513),[[vShow,t.media.progress&&t.media.duration]])],512),[[vShow,t.media.progress||t.media.duration]])])],4),withDirectives(createBaseVNode("div",{class:"track-duration",onMousemove:r[1]||(r[1]=(...v)=>t.updateProgressSetter&&t.updateProgressSetter(...v)),onClick:r[2]||(r[2]=(...v)=>t.setProgress&&t.setProgress(...v))},[createVNode$1(QTooltip,{anchor:"top middle"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.setProgressToTime)+" ("+toDisplayString$1(t.setProgressToPercent)+"%) ",1)]),_:1}),createBaseVNode("div",{class:"track-progress",style:normalizeStyle$1(t.trackProgress),onClick:r[0]||(r[0]=(...v)=>t.setProgress&&t.setProgress(...v))},null,4)],544),[[vShow,t.media.progress]]),withDirectives(createBaseVNode("div",_hoisted_7$1,null,512),[[vShow,!t.media.progress]])],4),createBaseVNode("div",_hoisted_8$1,[createBaseVNode("div",_hoisted_9$1,[t.media.type!=="RADIO"?(openBlock(),createBlock(g,{key:0,type:"button",color:"accent",icon:"mdi-monitor-cellphone-star",tooltip:t.player.name,items:t.players,selected:t.player.id,onOnSelect:t.selectPlayer},null,8,["tooltip","items","selected","onOnSelect"])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10$1,[createVNode$1(QBtnGroup,null,{default:withCtx(()=>[t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].previous&&t.adapterStates[t.adapterKey].previous.action?withDirectives((openBlock(),createBlock(QBtn,{key:0,color:"primary",icon:"mdi-skip-previous",onClick:r[3]||(r[3]=v=>t.set("previous"))},null,512)),[[vShow,t.media.type!=="RADIO"]]):createCommentVNode("",!0),createVNode$1(QBtn,{color:"primary",icon:t.media.play?"mdi-pause":"mdi-play",onClick:r[4]||(r[4]=v=>t.set(t.media.play?"pause":"play"))},null,8,["icon"]),t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].next&&t.adapterStates[t.adapterKey].next.action?withDirectives((openBlock(),createBlock(QBtn,{key:1,color:"primary",icon:"mdi-skip-next",onClick:r[5]||(r[5]=v=>t.set("next"))},null,512)),[[vShow,t.media.type!=="RADIO"]]):createCommentVNode("",!0)]),_:1})]),createBaseVNode("div",_hoisted_11$1,[t.media.type!=="RADIO"?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-shuffle-disabled",tooltip:"shuffle is off",onOnClick:r[6]||(r[6]=v=>t.set("shuffle","on"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].shuffle&&t.media.shuffle==="off"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-shuffle-variant",tooltip:"shuffle is on",onOnClick:r[7]||(r[7]=v=>t.set("shuffle","off"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].shuffle&&t.media.shuffle==="on"]])],64)):createCommentVNode("",!0),t.media.type!=="RADIO"?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat-off",tooltip:"repeat off",onOnClick:r[8]||(r[8]=v=>t.set("repeat","once"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="off"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat-once",tooltip:"repeat once",onOnClick:r[9]||(r[9]=v=>t.set("repeat","all"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="once"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat",tooltip:"repeat all",onOnClick:r[10]||(r[10]=v=>t.set("repeat","off"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="all"]])],64)):createCommentVNode("",!0)])])])}var MediaControl=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),MediaControl$1=Object.freeze(Object.defineProperty({__proto__:null,default:MediaControl},Symbol.toStringTag,{value:"Module"})),js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMS4xYyqcSwAAB8xJREFUaEPtmflzVFUWx+ePsYQk3e/1ls7rTu/pdHrvFivOsAlBE2IQUAajjiw6iqhYoowgg1gzLKXEsSQ6YhDDMk4CcTQJhWAgCdmgZlyKfZOZX+bz+nY63Z2gI4F5UtVV3wrd75177vmec89ym1+d70vemUic74vxFwJ8ukMR5y8E+OdORJrGHR0BFQUCWqNAQGsUCGiNAgGtUSCgNQoEtEaBgNYoENAaBQJao0BAaxQIaI0CAa1x6wmc601cOgnilwcSgA98Fc+zxTJPLvQjhnD822Ox3o7wsbbQSHf0PA+Hkp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hNh/Lf0Tgf0mSBBItSQKJliSBREuSQKIlSSDRkiSQaEkSSLQkCSRW3r//O89RIR0Kq6AfAAAAAElFTkSuQmCC",rules="/jarvis/assets/rules.73e4a511.png",ScriptStatus_vue_vue_type_style_index_0_lang="";const images={js,ts,blockly,rules},_sfc_main$3=defineComponent({name:"ModuleScriptStatus",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection;useIoBroker();const o=computed(()=>t.widget.config),a=computed(()=>({...Modules.joinConfig(o.value,ConfigFile$4),list:o.value.list?o.value.list.replace(/, /g,",").split(","):null,blacklist:o.value.blacklist?o.value.blacklist.replace(/, /g,",").split(","):null})),u=ref(null),d=(_,w)=>!(a.value.list&&!a.value.list.some(C=>RegExp("^"+C.toLowerCase().replace(/\./g,".").replace(/\*/g,".*")+"$").test(_.id.toLowerCase()))||a.value.blacklist&&a.value.blacklist.some(C=>RegExp("^"+C.toLowerCase().replace(/\./g,".").replace(/\*/g,".*")+"$").test(_.id.toLowerCase())));onMounted(()=>{u.value="*"});const g=ref(null),v=({scripts:_})=>{g.value=_};r.subscribeSpecial("ScriptStatuses",v);const y=_=>{let w="mdi-help-box";switch(_&&_.toLowerCase()){case"javascript/js":w="img:"+images.js;break;case"blockly":w="img:"+images.blockly;break;case"rules":w="img:"+images.rules;break;case"typescript/ts":w="img:"+images.ts;break;default:w="mdi-help-box"}return w},A=ref({}),b=(_,w)=>{A.value[_]=!0,r.setScript(_,w).catch(S=>{console.error(S)}).finally(()=>{A.value[_]=!1})};return onUnmounted(()=>r.unsubscribeSpecial("ScriptStatuses",v)),{moduleConfig:a,format:format$2,getIcon:y,loading:A,scripts:g,set:b,filter:u,onFilter:d}}}),_hoisted_1$3={class:"jarvis-ScriptStatus-Item-Title"},_hoisted_2$2={key:0,style:{"font-size":"70%"}};function _sfc_render$3(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:"jarvis-ScriptStatus",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,t.scripts===null]]),t.scripts!==null?(openBlock(),createBlock(QTree,{key:0,nodes:t.scripts,"node-key":"id","label-key":"id","default-expand-all":t.moduleConfig.expanded,"filter-method":t.onFilter,filter:t.filter,dense:""},{"default-header":withCtx(g=>[createBaseVNode("div",{class:normalizeClass(["jarvis-ScriptStatus-Item row items-center",{"cursor-pointer":t.moduleConfig.switch,folder:g.node.type==="folder",item:g.node.type==="file",disable:g.node.type==="file"&&!g.node.enabled,enable:g.node.type==="file"&&g.node.enabled}])},[t.loading[g.node.id]===!0?(openBlock(),createBlock(QSpinner,{key:0,class:"q-mr-sm jarvis-ScriptStatus-Item-Loading",color:"primary",size:"21px"})):(openBlock(),createBlock(QIcon,{key:1,class:"q-mr-sm jarvis-ScriptStatus-Item-Icon",name:g.node.engineType?t.getIcon(g.node.engineType):g.expanded?"mdi-folder-open":"mdi-folder",color:g.node.engineType?"secondary":"primary"},null,8,["name","color"])),createBaseVNode("div",_hoisted_1$3,[createTextVNode(toDisplayString$1(g.node.name||g.node.id.substr(g.node.id.lastIndexOf(".")+1))+" "+toDisplayString$1(g.node.engineType?"":"("+g.node.children.length+")")+" ",1),g.node.type==="file"?(openBlock(),createElementBlock("span",_hoisted_2$2," ("+toDisplayString$1(t.format(g.node.created,"dd.MM.yyyy HH:mm:ss"))+") ",1)):createCommentVNode("",!0)]),t.moduleConfig.switch&&t.loading[g.node.id]!==!0&&g.node.type==="file"?(openBlock(),createBlock(QMenu,{key:2,ref:"menu",fit:""},{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"120px"},class:"full-width body"},{default:withCtx(()=>[createVNode$1(QItem,{class:normalizeClass("bg-"+(g.node.enabled?"positive":"negative"))},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(g.node.enabled?"Currently running":"Currently stopped")),1)]),_:2},1024)]),_:2},1032,["class"]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:v=>t.set(g.node.id,!g.node.enabled)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:g.node.enabled?"negative":"positive",name:g.node.enabled?"mdi-pause":"mdi-play"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(g.node.enabled?"Stop":"Start")+" "+t.$t("Script")),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1536)):createCommentVNode("",!0)],2)]),_:1},8,["nodes","default-expand-all","filter-method","filter"])):createCommentVNode("",!0)],4)}var ScriptStatus=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3]]),ScriptStatus$1=Object.freeze(Object.defineProperty({__proto__:null,default:ScriptStatus},Symbol.toStringTag,{value:"Module"})),StateHTML_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2=defineComponent({name:"ModuleStateHTML",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=useI18n(),o=computed(()=>t.widget.config);computed(()=>({...Modules.joinConfig(o.value,ConfigFile$3)}));const a=ref(!1),u=ref(null),d=ref(),g=(w,S,C,T)=>{if(a.value=!0,w)return u.value=w&&w.message||w,u.value;d.value=T},v=computed(()=>{let w=d.value&&d.value.val||"";return w=!Pro.isPro()&&w.indexOf(")/gi,""):w,w=!Pro.isPro()&&w.indexOf(")/g,""):w,w}),y=computed(()=>Pro.isPro()&&v.value&&typeof v.value=="string"&&v.value.indexOf("Devices.unlisten(_)),{loaded:a,error:u,html:v,hasScript:y}}}),_hoisted_1$2=["innerHTML"],_hoisted_2$1=["srcdoc"];function _sfc_render$2(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{class:"jarvis-StateHTML-Container",style:normalizeStyle$1(t.widgetSize)},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives(createBaseVNode("div",null,[t.hasScript?(openBlock(),createElementBlock("iframe",{key:1,class:"jarvis-StateHTML-iFrame",style:normalizeStyle$1({border:0,height:t.widgetSize.height}),srcdoc:t.html},null,12,_hoisted_2$1)):(openBlock(),createElementBlock("div",{key:0,class:"jarvis-StateHTML",innerHTML:t.html},null,8,_hoisted_1$2))],512),[[vShow,t.loaded&&!t.error]])],4)}var StateHTML=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-6e70eb24"]]),StateHTML$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateHTML},Symbol.toStringTag,{value:"Module"})),Weather_vue_vue_type_style_index_0_lang="";const _sfc_main$1=defineComponent({name:"ModuleWeather",props:{widgetSize:{type:Object,required:!0},widget:{type:Object,required:!0}},setup(t){const r=useQuasar(),o={"./icons/moon/moon_0.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_0$1}),void 0),"./icons/moon/moon_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_1$1}),void 0),"./icons/moon/moon_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_10$1}),void 0),"./icons/moon/moon_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_11$1}),void 0),"./icons/moon/moon_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_12$1}),void 0),"./icons/moon/moon_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_13$1}),void 0),"./icons/moon/moon_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_14$1}),void 0),"./icons/moon/moon_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_15$1}),void 0),"./icons/moon/moon_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_16$1}),void 0),"./icons/moon/moon_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_17$1}),void 0),"./icons/moon/moon_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_18$1}),void 0),"./icons/moon/moon_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_19$1}),void 0),"./icons/moon/moon_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_2$1}),void 0),"./icons/moon/moon_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_20$1}),void 0),"./icons/moon/moon_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_21$1}),void 0),"./icons/moon/moon_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_22$1}),void 0),"./icons/moon/moon_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_23$1}),void 0),"./icons/moon/moon_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_24$1}),void 0),"./icons/moon/moon_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_25$1}),void 0),"./icons/moon/moon_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_26$1}),void 0),"./icons/moon/moon_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_27$1}),void 0),"./icons/moon/moon_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_28$1}),void 0),"./icons/moon/moon_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_29$1}),void 0),"./icons/moon/moon_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_3$1}),void 0),"./icons/moon/moon_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_4$1}),void 0),"./icons/moon/moon_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_5$1}),void 0),"./icons/moon/moon_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_6$1}),void 0),"./icons/moon/moon_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_7$1}),void 0),"./icons/moon/moon_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_8$1}),void 0),"./icons/moon/moon_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_9$1}),void 0),"./icons/weather/set1/weather_set1_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_1$1}),void 0),"./icons/weather/set1/weather_set1_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_10$1}),void 0),"./icons/weather/set1/weather_set1_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_11$1}),void 0),"./icons/weather/set1/weather_set1_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_12$1}),void 0),"./icons/weather/set1/weather_set1_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_13$1}),void 0),"./icons/weather/set1/weather_set1_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_14$1}),void 0),"./icons/weather/set1/weather_set1_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_15$1}),void 0),"./icons/weather/set1/weather_set1_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_16$1}),void 0),"./icons/weather/set1/weather_set1_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_17$1}),void 0),"./icons/weather/set1/weather_set1_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_18$1}),void 0),"./icons/weather/set1/weather_set1_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_19$1}),void 0),"./icons/weather/set1/weather_set1_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_2$1}),void 0),"./icons/weather/set1/weather_set1_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_3$1}),void 0),"./icons/weather/set1/weather_set1_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_4$1}),void 0),"./icons/weather/set1/weather_set1_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_5$1}),void 0),"./icons/weather/set1/weather_set1_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_6$1}),void 0),"./icons/weather/set1/weather_set1_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_7$1}),void 0),"./icons/weather/set1/weather_set1_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_8$1}),void 0),"./icons/weather/set1/weather_set1_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_9$1}),void 0),"./icons/weather/set2/weather_set2_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_1$1}),void 0),"./icons/weather/set2/weather_set2_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_10$1}),void 0),"./icons/weather/set2/weather_set2_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_11$1}),void 0),"./icons/weather/set2/weather_set2_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_12$1}),void 0),"./icons/weather/set2/weather_set2_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_13$1}),void 0),"./icons/weather/set2/weather_set2_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_14$1}),void 0),"./icons/weather/set2/weather_set2_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_15$1}),void 0),"./icons/weather/set2/weather_set2_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_16$1}),void 0),"./icons/weather/set2/weather_set2_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_17$1}),void 0),"./icons/weather/set2/weather_set2_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_18$1}),void 0),"./icons/weather/set2/weather_set2_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_19$1}),void 0),"./icons/weather/set2/weather_set2_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_2$1}),void 0),"./icons/weather/set2/weather_set2_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_3$1}),void 0),"./icons/weather/set2/weather_set2_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_4$1}),void 0),"./icons/weather/set2/weather_set2_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_5$1}),void 0),"./icons/weather/set2/weather_set2_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_6$1}),void 0),"./icons/weather/set2/weather_set2_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_7$1}),void 0),"./icons/weather/set2/weather_set2_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_8$1}),void 0),"./icons/weather/set2/weather_set2_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_9$1}),void 0),"./icons/weather/set3/weather_set3_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_1$1}),void 0),"./icons/weather/set3/weather_set3_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_10$1}),void 0),"./icons/weather/set3/weather_set3_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_11$1}),void 0),"./icons/weather/set3/weather_set3_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_12$1}),void 0),"./icons/weather/set3/weather_set3_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_13$1}),void 0),"./icons/weather/set3/weather_set3_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_14$1}),void 0),"./icons/weather/set3/weather_set3_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_15$1}),void 0),"./icons/weather/set3/weather_set3_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_16$1}),void 0),"./icons/weather/set3/weather_set3_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_17$1}),void 0),"./icons/weather/set3/weather_set3_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_18$1}),void 0),"./icons/weather/set3/weather_set3_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_19$1}),void 0),"./icons/weather/set3/weather_set3_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_2$1}),void 0),"./icons/weather/set3/weather_set3_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_3$1}),void 0),"./icons/weather/set3/weather_set3_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_4$1}),void 0),"./icons/weather/set3/weather_set3_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_5$1}),void 0),"./icons/weather/set3/weather_set3_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_6$1}),void 0),"./icons/weather/set3/weather_set3_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_7$1}),void 0),"./icons/weather/set3/weather_set3_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_8$1}),void 0),"./icons/weather/set3/weather_set3_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_9$1}),void 0),"./icons/weather/set4/weather_set4_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_1$1}),void 0),"./icons/weather/set4/weather_set4_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_10$1}),void 0),"./icons/weather/set4/weather_set4_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_11$1}),void 0),"./icons/weather/set4/weather_set4_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_12$1}),void 0),"./icons/weather/set4/weather_set4_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_13$1}),void 0),"./icons/weather/set4/weather_set4_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_14$1}),void 0),"./icons/weather/set4/weather_set4_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_15$1}),void 0),"./icons/weather/set4/weather_set4_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_16$1}),void 0),"./icons/weather/set4/weather_set4_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_17$1}),void 0),"./icons/weather/set4/weather_set4_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_18$1}),void 0),"./icons/weather/set4/weather_set4_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_19$1}),void 0),"./icons/weather/set4/weather_set4_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_2$1}),void 0),"./icons/weather/set4/weather_set4_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_3$1}),void 0),"./icons/weather/set4/weather_set4_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_4$1}),void 0),"./icons/weather/set4/weather_set4_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_5$1}),void 0),"./icons/weather/set4/weather_set4_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_6$1}),void 0),"./icons/weather/set4/weather_set4_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_7$1}),void 0),"./icons/weather/set4/weather_set4_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_8$1}),void 0),"./icons/weather/set4/weather_set4_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_9$1}),void 0),"./icons/weather/set5/weather_set5_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_1$1}),void 0),"./icons/weather/set5/weather_set5_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_10$1}),void 0),"./icons/weather/set5/weather_set5_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_11$1}),void 0),"./icons/weather/set5/weather_set5_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_12$1}),void 0),"./icons/weather/set5/weather_set5_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_13$1}),void 0),"./icons/weather/set5/weather_set5_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_14$1}),void 0),"./icons/weather/set5/weather_set5_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_15$1}),void 0),"./icons/weather/set5/weather_set5_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_16$1}),void 0),"./icons/weather/set5/weather_set5_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_17$1}),void 0),"./icons/weather/set5/weather_set5_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_18$1}),void 0),"./icons/weather/set5/weather_set5_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_19$1}),void 0),"./icons/weather/set5/weather_set5_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_2$1}),void 0),"./icons/weather/set5/weather_set5_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_20$1}),void 0),"./icons/weather/set5/weather_set5_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_21$1}),void 0),"./icons/weather/set5/weather_set5_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_22$1}),void 0),"./icons/weather/set5/weather_set5_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_3$1}),void 0),"./icons/weather/set5/weather_set5_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_4$1}),void 0),"./icons/weather/set5/weather_set5_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_5$1}),void 0),"./icons/weather/set5/weather_set5_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_6$1}),void 0),"./icons/weather/set5/weather_set5_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_7$1}),void 0),"./icons/weather/set5/weather_set5_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_8$1}),void 0),"./icons/weather/set5/weather_set5_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_9$1}),void 0),"./icons/weather/set5-white/weather_set5-white_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_1$1}),void 0),"./icons/weather/set5-white/weather_set5-white_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_10$1}),void 0),"./icons/weather/set5-white/weather_set5-white_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_11$1}),void 0),"./icons/weather/set5-white/weather_set5-white_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_12$1}),void 0),"./icons/weather/set5-white/weather_set5-white_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_13$1}),void 0),"./icons/weather/set5-white/weather_set5-white_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_14$1}),void 0),"./icons/weather/set5-white/weather_set5-white_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_15$1}),void 0),"./icons/weather/set5-white/weather_set5-white_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_16$1}),void 0),"./icons/weather/set5-white/weather_set5-white_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_17$1}),void 0),"./icons/weather/set5-white/weather_set5-white_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_18$1}),void 0),"./icons/weather/set5-white/weather_set5-white_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_19$1}),void 0),"./icons/weather/set5-white/weather_set5-white_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_2$1}),void 0),"./icons/weather/set5-white/weather_set5-white_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_20$1}),void 0),"./icons/weather/set5-white/weather_set5-white_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_21$1}),void 0),"./icons/weather/set5-white/weather_set5-white_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_22$1}),void 0),"./icons/weather/set5-white/weather_set5-white_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_3$1}),void 0),"./icons/weather/set5-white/weather_set5-white_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_4$1}),void 0),"./icons/weather/set5-white/weather_set5-white_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_5$1}),void 0),"./icons/weather/set5-white/weather_set5-white_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_6$1}),void 0),"./icons/weather/set5-white/weather_set5-white_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_7$1}),void 0),"./icons/weather/set5-white/weather_set5-white_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_8$1}),void 0),"./icons/weather/set5-white/weather_set5-white_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_9$1}),void 0),"./icons/wind/set1/wind_set1_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_1$1}),void 0),"./icons/wind/set1/wind_set1_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_10$1}),void 0),"./icons/wind/set1/wind_set1_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_100$1}),void 0),"./icons/wind/set1/wind_set1_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_101$1}),void 0),"./icons/wind/set1/wind_set1_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_102$1}),void 0),"./icons/wind/set1/wind_set1_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_103$1}),void 0),"./icons/wind/set1/wind_set1_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_104$1}),void 0),"./icons/wind/set1/wind_set1_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_11$1}),void 0),"./icons/wind/set1/wind_set1_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_12$1}),void 0),"./icons/wind/set1/wind_set1_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_13$1}),void 0),"./icons/wind/set1/wind_set1_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_14$1}),void 0),"./icons/wind/set1/wind_set1_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_15$1}),void 0),"./icons/wind/set1/wind_set1_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_16$1}),void 0),"./icons/wind/set1/wind_set1_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_17$1}),void 0),"./icons/wind/set1/wind_set1_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_18$1}),void 0),"./icons/wind/set1/wind_set1_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_19$1}),void 0),"./icons/wind/set1/wind_set1_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_2$1}),void 0),"./icons/wind/set1/wind_set1_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_20$1}),void 0),"./icons/wind/set1/wind_set1_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_21$1}),void 0),"./icons/wind/set1/wind_set1_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_22$1}),void 0),"./icons/wind/set1/wind_set1_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_23$1}),void 0),"./icons/wind/set1/wind_set1_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_24$1}),void 0),"./icons/wind/set1/wind_set1_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_25$1}),void 0),"./icons/wind/set1/wind_set1_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_26$1}),void 0),"./icons/wind/set1/wind_set1_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_27$1}),void 0),"./icons/wind/set1/wind_set1_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_28$1}),void 0),"./icons/wind/set1/wind_set1_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_29$1}),void 0),"./icons/wind/set1/wind_set1_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_3$1}),void 0),"./icons/wind/set1/wind_set1_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_30$1}),void 0),"./icons/wind/set1/wind_set1_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_31$1}),void 0),"./icons/wind/set1/wind_set1_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_32$1}),void 0),"./icons/wind/set1/wind_set1_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_33$1}),void 0),"./icons/wind/set1/wind_set1_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_34$1}),void 0),"./icons/wind/set1/wind_set1_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_35$1}),void 0),"./icons/wind/set1/wind_set1_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_36$1}),void 0),"./icons/wind/set1/wind_set1_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_37$1}),void 0),"./icons/wind/set1/wind_set1_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_38$1}),void 0),"./icons/wind/set1/wind_set1_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_39$1}),void 0),"./icons/wind/set1/wind_set1_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_4$1}),void 0),"./icons/wind/set1/wind_set1_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_40$1}),void 0),"./icons/wind/set1/wind_set1_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_41$1}),void 0),"./icons/wind/set1/wind_set1_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_42$1}),void 0),"./icons/wind/set1/wind_set1_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_43$1}),void 0),"./icons/wind/set1/wind_set1_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_44$1}),void 0),"./icons/wind/set1/wind_set1_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_45$1}),void 0),"./icons/wind/set1/wind_set1_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_46$1}),void 0),"./icons/wind/set1/wind_set1_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_47$1}),void 0),"./icons/wind/set1/wind_set1_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_48$1}),void 0),"./icons/wind/set1/wind_set1_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_49$1}),void 0),"./icons/wind/set1/wind_set1_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_5$1}),void 0),"./icons/wind/set1/wind_set1_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_50$1}),void 0),"./icons/wind/set1/wind_set1_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_51$1}),void 0),"./icons/wind/set1/wind_set1_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_52$1}),void 0),"./icons/wind/set1/wind_set1_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_53$1}),void 0),"./icons/wind/set1/wind_set1_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_54$1}),void 0),"./icons/wind/set1/wind_set1_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_55$1}),void 0),"./icons/wind/set1/wind_set1_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_56$1}),void 0),"./icons/wind/set1/wind_set1_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_57$1}),void 0),"./icons/wind/set1/wind_set1_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_58$1}),void 0),"./icons/wind/set1/wind_set1_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_59$1}),void 0),"./icons/wind/set1/wind_set1_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_6$1}),void 0),"./icons/wind/set1/wind_set1_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_60$1}),void 0),"./icons/wind/set1/wind_set1_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_61$1}),void 0),"./icons/wind/set1/wind_set1_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_62$1}),void 0),"./icons/wind/set1/wind_set1_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_63$1}),void 0),"./icons/wind/set1/wind_set1_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_64$1}),void 0),"./icons/wind/set1/wind_set1_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_65$1}),void 0),"./icons/wind/set1/wind_set1_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_66$1}),void 0),"./icons/wind/set1/wind_set1_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_67$1}),void 0),"./icons/wind/set1/wind_set1_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_68$1}),void 0),"./icons/wind/set1/wind_set1_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_69$1}),void 0),"./icons/wind/set1/wind_set1_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_7$1}),void 0),"./icons/wind/set1/wind_set1_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_70$1}),void 0),"./icons/wind/set1/wind_set1_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_71$1}),void 0),"./icons/wind/set1/wind_set1_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_72$1}),void 0),"./icons/wind/set1/wind_set1_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_73$1}),void 0),"./icons/wind/set1/wind_set1_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_74$1}),void 0),"./icons/wind/set1/wind_set1_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_75$1}),void 0),"./icons/wind/set1/wind_set1_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_76$1}),void 0),"./icons/wind/set1/wind_set1_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_77$1}),void 0),"./icons/wind/set1/wind_set1_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_78$1}),void 0),"./icons/wind/set1/wind_set1_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_79$1}),void 0),"./icons/wind/set1/wind_set1_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_8$1}),void 0),"./icons/wind/set1/wind_set1_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_80$1}),void 0),"./icons/wind/set1/wind_set1_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_81$1}),void 0),"./icons/wind/set1/wind_set1_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_82$1}),void 0),"./icons/wind/set1/wind_set1_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_83$1}),void 0),"./icons/wind/set1/wind_set1_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_84$1}),void 0),"./icons/wind/set1/wind_set1_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_85$1}),void 0),"./icons/wind/set1/wind_set1_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_86$1}),void 0),"./icons/wind/set1/wind_set1_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_87$1}),void 0),"./icons/wind/set1/wind_set1_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_88$1}),void 0),"./icons/wind/set1/wind_set1_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_89$1}),void 0),"./icons/wind/set1/wind_set1_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_9$1}),void 0),"./icons/wind/set1/wind_set1_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_90$1}),void 0),"./icons/wind/set1/wind_set1_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_91$1}),void 0),"./icons/wind/set1/wind_set1_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_92$1}),void 0),"./icons/wind/set1/wind_set1_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_93$1}),void 0),"./icons/wind/set1/wind_set1_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_94$1}),void 0),"./icons/wind/set1/wind_set1_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_95$1}),void 0),"./icons/wind/set1/wind_set1_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_96$1}),void 0),"./icons/wind/set1/wind_set1_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_97$1}),void 0),"./icons/wind/set1/wind_set1_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_98$1}),void 0),"./icons/wind/set1/wind_set1_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_99$1}),void 0),"./icons/wind/set2/wind_set2_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_1$1}),void 0),"./icons/wind/set2/wind_set2_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_10$1}),void 0),"./icons/wind/set2/wind_set2_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_100$1}),void 0),"./icons/wind/set2/wind_set2_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_101$1}),void 0),"./icons/wind/set2/wind_set2_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_102$1}),void 0),"./icons/wind/set2/wind_set2_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_103$1}),void 0),"./icons/wind/set2/wind_set2_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_104$1}),void 0),"./icons/wind/set2/wind_set2_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_11$1}),void 0),"./icons/wind/set2/wind_set2_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_12$1}),void 0),"./icons/wind/set2/wind_set2_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_13$1}),void 0),"./icons/wind/set2/wind_set2_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_14$1}),void 0),"./icons/wind/set2/wind_set2_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_15$1}),void 0),"./icons/wind/set2/wind_set2_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_16$1}),void 0),"./icons/wind/set2/wind_set2_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_17$1}),void 0),"./icons/wind/set2/wind_set2_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_18$1}),void 0),"./icons/wind/set2/wind_set2_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_19$1}),void 0),"./icons/wind/set2/wind_set2_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_2$1}),void 0),"./icons/wind/set2/wind_set2_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_20$1}),void 0),"./icons/wind/set2/wind_set2_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_21$1}),void 0),"./icons/wind/set2/wind_set2_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_22$1}),void 0),"./icons/wind/set2/wind_set2_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_23$1}),void 0),"./icons/wind/set2/wind_set2_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_24$1}),void 0),"./icons/wind/set2/wind_set2_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_25$1}),void 0),"./icons/wind/set2/wind_set2_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_26$1}),void 0),"./icons/wind/set2/wind_set2_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_27$1}),void 0),"./icons/wind/set2/wind_set2_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_28$1}),void 0),"./icons/wind/set2/wind_set2_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_29$1}),void 0),"./icons/wind/set2/wind_set2_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_3$1}),void 0),"./icons/wind/set2/wind_set2_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_30$1}),void 0),"./icons/wind/set2/wind_set2_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_31$1}),void 0),"./icons/wind/set2/wind_set2_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_32$1}),void 0),"./icons/wind/set2/wind_set2_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_33$1}),void 0),"./icons/wind/set2/wind_set2_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_34$1}),void 0),"./icons/wind/set2/wind_set2_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_35$1}),void 0),"./icons/wind/set2/wind_set2_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_36$1}),void 0),"./icons/wind/set2/wind_set2_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_37$1}),void 0),"./icons/wind/set2/wind_set2_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_38$1}),void 0),"./icons/wind/set2/wind_set2_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_39$1}),void 0),"./icons/wind/set2/wind_set2_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_4$1}),void 0),"./icons/wind/set2/wind_set2_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_40$1}),void 0),"./icons/wind/set2/wind_set2_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_41$1}),void 0),"./icons/wind/set2/wind_set2_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_42$1}),void 0),"./icons/wind/set2/wind_set2_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_43$1}),void 0),"./icons/wind/set2/wind_set2_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_44$1}),void 0),"./icons/wind/set2/wind_set2_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_45$1}),void 0),"./icons/wind/set2/wind_set2_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_46$1}),void 0),"./icons/wind/set2/wind_set2_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_47$1}),void 0),"./icons/wind/set2/wind_set2_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_48$1}),void 0),"./icons/wind/set2/wind_set2_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_49$1}),void 0),"./icons/wind/set2/wind_set2_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_5$1}),void 0),"./icons/wind/set2/wind_set2_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_50$1}),void 0),"./icons/wind/set2/wind_set2_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_51$1}),void 0),"./icons/wind/set2/wind_set2_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_52$1}),void 0),"./icons/wind/set2/wind_set2_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_53$1}),void 0),"./icons/wind/set2/wind_set2_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_54$1}),void 0),"./icons/wind/set2/wind_set2_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_55$1}),void 0),"./icons/wind/set2/wind_set2_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_56$1}),void 0),"./icons/wind/set2/wind_set2_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_57$1}),void 0),"./icons/wind/set2/wind_set2_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_58$1}),void 0),"./icons/wind/set2/wind_set2_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_59$1}),void 0),"./icons/wind/set2/wind_set2_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_6$1}),void 0),"./icons/wind/set2/wind_set2_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_60$1}),void 0),"./icons/wind/set2/wind_set2_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_61$1}),void 0),"./icons/wind/set2/wind_set2_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_62$1}),void 0),"./icons/wind/set2/wind_set2_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_63$1}),void 0),"./icons/wind/set2/wind_set2_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_64$1}),void 0),"./icons/wind/set2/wind_set2_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_65$1}),void 0),"./icons/wind/set2/wind_set2_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_66$1}),void 0),"./icons/wind/set2/wind_set2_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_67$1}),void 0),"./icons/wind/set2/wind_set2_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_68$1}),void 0),"./icons/wind/set2/wind_set2_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_69$1}),void 0),"./icons/wind/set2/wind_set2_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_7$1}),void 0),"./icons/wind/set2/wind_set2_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_70$1}),void 0),"./icons/wind/set2/wind_set2_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_71$1}),void 0),"./icons/wind/set2/wind_set2_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_72$1}),void 0),"./icons/wind/set2/wind_set2_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_73$1}),void 0),"./icons/wind/set2/wind_set2_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_74$1}),void 0),"./icons/wind/set2/wind_set2_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_75$1}),void 0),"./icons/wind/set2/wind_set2_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_76$1}),void 0),"./icons/wind/set2/wind_set2_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_77$1}),void 0),"./icons/wind/set2/wind_set2_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_78$1}),void 0),"./icons/wind/set2/wind_set2_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_79$1}),void 0),"./icons/wind/set2/wind_set2_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_8$1}),void 0),"./icons/wind/set2/wind_set2_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_80$1}),void 0),"./icons/wind/set2/wind_set2_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_81$1}),void 0),"./icons/wind/set2/wind_set2_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_82$1}),void 0),"./icons/wind/set2/wind_set2_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_83$1}),void 0),"./icons/wind/set2/wind_set2_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_84$1}),void 0),"./icons/wind/set2/wind_set2_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_85$1}),void 0),"./icons/wind/set2/wind_set2_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_86$1}),void 0),"./icons/wind/set2/wind_set2_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_87$1}),void 0),"./icons/wind/set2/wind_set2_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_88$1}),void 0),"./icons/wind/set2/wind_set2_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_89$1}),void 0),"./icons/wind/set2/wind_set2_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_9$1}),void 0),"./icons/wind/set2/wind_set2_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_90$1}),void 0),"./icons/wind/set2/wind_set2_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_91$1}),void 0),"./icons/wind/set2/wind_set2_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_92$1}),void 0),"./icons/wind/set2/wind_set2_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_93$1}),void 0),"./icons/wind/set2/wind_set2_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_94$1}),void 0),"./icons/wind/set2/wind_set2_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_95$1}),void 0),"./icons/wind/set2/wind_set2_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_96$1}),void 0),"./icons/wind/set2/wind_set2_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_97$1}),void 0),"./icons/wind/set2/wind_set2_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_98$1}),void 0),"./icons/wind/set2/wind_set2_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_99$1}),void 0),"./icons/wind/set5-white/wind_set5-white_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_1$1}),void 0),"./icons/wind/set5-white/wind_set5-white_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_10$1}),void 0),"./icons/wind/set5-white/wind_set5-white_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_100$1}),void 0),"./icons/wind/set5-white/wind_set5-white_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_101$1}),void 0),"./icons/wind/set5-white/wind_set5-white_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_102$1}),void 0),"./icons/wind/set5-white/wind_set5-white_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_103$1}),void 0),"./icons/wind/set5-white/wind_set5-white_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_104$1}),void 0),"./icons/wind/set5-white/wind_set5-white_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_11$1}),void 0),"./icons/wind/set5-white/wind_set5-white_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_12$1}),void 0),"./icons/wind/set5-white/wind_set5-white_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_13$1}),void 0),"./icons/wind/set5-white/wind_set5-white_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_14$1}),void 0),"./icons/wind/set5-white/wind_set5-white_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_15$1}),void 0),"./icons/wind/set5-white/wind_set5-white_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_16$1}),void 0),"./icons/wind/set5-white/wind_set5-white_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_17$1}),void 0),"./icons/wind/set5-white/wind_set5-white_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_18$1}),void 0),"./icons/wind/set5-white/wind_set5-white_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_19$1}),void 0),"./icons/wind/set5-white/wind_set5-white_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_2$1}),void 0),"./icons/wind/set5-white/wind_set5-white_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_20$1}),void 0),"./icons/wind/set5-white/wind_set5-white_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_21$1}),void 0),"./icons/wind/set5-white/wind_set5-white_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_22$1}),void 0),"./icons/wind/set5-white/wind_set5-white_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_23$1}),void 0),"./icons/wind/set5-white/wind_set5-white_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_24$1}),void 0),"./icons/wind/set5-white/wind_set5-white_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_25$1}),void 0),"./icons/wind/set5-white/wind_set5-white_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_26$1}),void 0),"./icons/wind/set5-white/wind_set5-white_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_27$1}),void 0),"./icons/wind/set5-white/wind_set5-white_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_28$1}),void 0),"./icons/wind/set5-white/wind_set5-white_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_29$1}),void 0),"./icons/wind/set5-white/wind_set5-white_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_3$1}),void 0),"./icons/wind/set5-white/wind_set5-white_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_30$1}),void 0),"./icons/wind/set5-white/wind_set5-white_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_31$1}),void 0),"./icons/wind/set5-white/wind_set5-white_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_32$1}),void 0),"./icons/wind/set5-white/wind_set5-white_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_33$1}),void 0),"./icons/wind/set5-white/wind_set5-white_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_34$1}),void 0),"./icons/wind/set5-white/wind_set5-white_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_35$1}),void 0),"./icons/wind/set5-white/wind_set5-white_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_36$1}),void 0),"./icons/wind/set5-white/wind_set5-white_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_37$1}),void 0),"./icons/wind/set5-white/wind_set5-white_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_38$1}),void 0),"./icons/wind/set5-white/wind_set5-white_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_39$1}),void 0),"./icons/wind/set5-white/wind_set5-white_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_4$1}),void 0),"./icons/wind/set5-white/wind_set5-white_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_40$1}),void 0),"./icons/wind/set5-white/wind_set5-white_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_41$1}),void 0),"./icons/wind/set5-white/wind_set5-white_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_42$1}),void 0),"./icons/wind/set5-white/wind_set5-white_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_43$1}),void 0),"./icons/wind/set5-white/wind_set5-white_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_44$1}),void 0),"./icons/wind/set5-white/wind_set5-white_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_45$1}),void 0),"./icons/wind/set5-white/wind_set5-white_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_46$1}),void 0),"./icons/wind/set5-white/wind_set5-white_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_47$1}),void 0),"./icons/wind/set5-white/wind_set5-white_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_48$1}),void 0),"./icons/wind/set5-white/wind_set5-white_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_49$1}),void 0),"./icons/wind/set5-white/wind_set5-white_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_5$1}),void 0),"./icons/wind/set5-white/wind_set5-white_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_50$1}),void 0),"./icons/wind/set5-white/wind_set5-white_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_51$1}),void 0),"./icons/wind/set5-white/wind_set5-white_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_52$1}),void 0),"./icons/wind/set5-white/wind_set5-white_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_53$1}),void 0),"./icons/wind/set5-white/wind_set5-white_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_54$1}),void 0),"./icons/wind/set5-white/wind_set5-white_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_55$1}),void 0),"./icons/wind/set5-white/wind_set5-white_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_56$1}),void 0),"./icons/wind/set5-white/wind_set5-white_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_57$1}),void 0),"./icons/wind/set5-white/wind_set5-white_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_58$1}),void 0),"./icons/wind/set5-white/wind_set5-white_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_59$1}),void 0),"./icons/wind/set5-white/wind_set5-white_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_6$1}),void 0),"./icons/wind/set5-white/wind_set5-white_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_60$1}),void 0),"./icons/wind/set5-white/wind_set5-white_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_61$1}),void 0),"./icons/wind/set5-white/wind_set5-white_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_62$1}),void 0),"./icons/wind/set5-white/wind_set5-white_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_63$1}),void 0),"./icons/wind/set5-white/wind_set5-white_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_64$1}),void 0),"./icons/wind/set5-white/wind_set5-white_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_65$1}),void 0),"./icons/wind/set5-white/wind_set5-white_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_66$1}),void 0),"./icons/wind/set5-white/wind_set5-white_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_67$1}),void 0),"./icons/wind/set5-white/wind_set5-white_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_68$1}),void 0),"./icons/wind/set5-white/wind_set5-white_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_69$1}),void 0),"./icons/wind/set5-white/wind_set5-white_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_7$1}),void 0),"./icons/wind/set5-white/wind_set5-white_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_70$1}),void 0),"./icons/wind/set5-white/wind_set5-white_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_71$1}),void 0),"./icons/wind/set5-white/wind_set5-white_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_72$1}),void 0),"./icons/wind/set5-white/wind_set5-white_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_73$1}),void 0),"./icons/wind/set5-white/wind_set5-white_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_74$1}),void 0),"./icons/wind/set5-white/wind_set5-white_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_75$1}),void 0),"./icons/wind/set5-white/wind_set5-white_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_76$1}),void 0),"./icons/wind/set5-white/wind_set5-white_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_77$1}),void 0),"./icons/wind/set5-white/wind_set5-white_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_78$1}),void 0),"./icons/wind/set5-white/wind_set5-white_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_79$1}),void 0),"./icons/wind/set5-white/wind_set5-white_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_8$1}),void 0),"./icons/wind/set5-white/wind_set5-white_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_80$1}),void 0),"./icons/wind/set5-white/wind_set5-white_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_81$1}),void 0),"./icons/wind/set5-white/wind_set5-white_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_82$1}),void 0),"./icons/wind/set5-white/wind_set5-white_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_83$1}),void 0),"./icons/wind/set5-white/wind_set5-white_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_84$1}),void 0),"./icons/wind/set5-white/wind_set5-white_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_85$1}),void 0),"./icons/wind/set5-white/wind_set5-white_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_86$1}),void 0),"./icons/wind/set5-white/wind_set5-white_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_87$1}),void 0),"./icons/wind/set5-white/wind_set5-white_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_88$1}),void 0),"./icons/wind/set5-white/wind_set5-white_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_89$1}),void 0),"./icons/wind/set5-white/wind_set5-white_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_9$1}),void 0),"./icons/wind/set5-white/wind_set5-white_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_90$1}),void 0),"./icons/wind/set5-white/wind_set5-white_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_91$1}),void 0),"./icons/wind/set5-white/wind_set5-white_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_92$1}),void 0),"./icons/wind/set5-white/wind_set5-white_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_93$1}),void 0),"./icons/wind/set5-white/wind_set5-white_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_94$1}),void 0),"./icons/wind/set5-white/wind_set5-white_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_95$1}),void 0),"./icons/wind/set5-white/wind_set5-white_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_96$1}),void 0),"./icons/wind/set5-white/wind_set5-white_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_97$1}),void 0),"./icons/wind/set5-white/wind_set5-white_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_98$1}),void 0),"./icons/wind/set5-white/wind_set5-white_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_99$1}),void 0)},a={};Object.keys(o).map(F=>{const O=o[F];O().then(D=>{a[F]=D.default})});const u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$1)})),g=ref(null),v=ref(!1),y=ref(null),A=computed(()=>r.platform.is.mobile||t.widgetSize&&t.widgetSize!==0&&t.widgetSize.width<=350),b=computed(()=>g.value&&g.value[1]||null),_=computed(()=>b.value&&b.value.hour&&b.value.hour[parseInt(new Date().getHours()/3)]||null),w=computed(()=>g.value?[i18n.global.t("today"),i18n.global.t("tomorrow"),format$2(g.value[3].date,"EEEE"),format$2(g.value[4].date,"EEEE"),format$2(g.value[5].date,"EEEE")]:[]),S=computed(()=>g.value?[i18n.global.t("TDY"),i18n.global.t("TMRW"),format$2(g.value[3].date,"E"),format$2(g.value[4].date,"E"),format$2(g.value[5].date,"E")]:[]),C=(F=0)=>{const O={url:"http://api.daswetter.com/index.php?v=3.0&api_lang="+i18n.global.locale.value.substr(0,2)+"&localidad="+d.value.localid+"&affiliate_id="+d.value.apikey,responseType:"json"};Connection.getConnection.send("request",_default(O),({err:x,data:P})=>{if(!x&&P&&P.day){g.value=P.day;const G=P.day[1];if(G)for(const M in G){const N=G[M];if(!Array.isArray(N)&&typeof N=="object")for(const V in N){const Y=N[V];document.body.style.setProperty("--jarvis--weather--"+M+"-"+V,'"'+Y+'"')}else Array.isArray(N)||document.body.style.setProperty("--jarvis--weather--"+M,'"'+N.toString()+'"')}}else console.warn("Weather","Error requesting data! Retry #"+F+"..."),F++,setTimeout(()=>C(F),60*1e3)})},T=(F,O,D="weather")=>{try{return a["./icons/"+D+"/"+O+"/"+D+"_"+O+"_"+F+".png"]}catch(x){console.error("Weather",x)}return null};let I=null,E=null;return onMounted(()=>{C(),I||(I=setInterval(()=>C(),60*60*1e3)),E||(E=nodeSchedule.scheduleJob("0 0 * * *",()=>C()))}),onUnmounted(()=>{I&&clearInterval(I),E&&E.cancel()}),{format:format$2,moduleConfig:d,weather:g,error:v,selectedDay:y,today:b,now:_,isMobile:A,daysCaption:w,daysCaptionSmall:S,getIcon:T}}}),_hoisted_1$1={key:0,class:"row items-center"},_hoisted_2={class:"col",style:{"text-align":"right"}},_hoisted_3=["src"],_hoisted_4={class:"col weather-current-temperature"},_hoisted_5={class:"text-h3 primary",style:{margin:"0"}},_hoisted_6={class:"text-caption"},_hoisted_7={class:"col",style:{display:"flex"}},_hoisted_8={class:"weather-details"},_hoisted_9={class:"nowrap"},_hoisted_10={class:"nowrap"},_hoisted_11={class:"nowrap"},_hoisted_12={class:"nowrap"},_hoisted_13={key:1,class:"row"},_hoisted_14=["onClick"],_hoisted_15={class:"text-caption"},_hoisted_16={key:0,class:"q-pa-sm"},_hoisted_17={class:"text-subtitle2 nowrap"},_hoisted_18={key:1,class:"q-pa-sm"},_hoisted_19=["src"],_hoisted_20={key:0,class:"text-caption"},_hoisted_21={key:1,class:"text-caption"},_hoisted_22={key:2,class:"q-pa-sm"},_hoisted_23=["src"],_hoisted_24={class:"text-caption"},_hoisted_25={class:"text-h6"},_hoisted_26=["src"],_hoisted_27={class:"nowrap"},_hoisted_28={class:"nowrap"},_hoisted_29={class:"nowrap"},_hoisted_30=["src"];function _sfc_render$1(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",{key:t.widget.revision},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.weather&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(typeof t.error=="string"?t.error:t.$t("Incorrect localidad or affiliate_id given! Please provide exact localidad and affiliate_id in module config!")),1)]),_:1},512),[[vShow,t.error]]),!t.error&&(t.moduleConfig.display==="both"||t.moduleConfig.display==="overview")&&t.now&&t.today?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("div",_hoisted_2,[createTextVNode(toDisplayString$1(t.now.symbol_description),1),r[2]||(r[2]=createBaseVNode("br",null,null,-1)),createBaseVNode("img",{src:t.getIcon(t.now.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"60"},null,8,_hoisted_3)]),createBaseVNode("div",_hoisted_4,[createBaseVNode("h3",_hoisted_5,toDisplayString$1(t.now.temp)+" "+toDisplayString$1(t.today.units.temp),1),createBaseVNode("span",_hoisted_6,toDisplayString$1(t.$t("Feels like"))+" "+toDisplayString$1(t.now.windchill)+" "+toDisplayString$1(t.today.units.temp),1)]),withDirectives(createBaseVNode("div",_hoisted_7,[createVNode$1(QSeparator,{vertical:"",inset:""}),createBaseVNode("ul",_hoisted_8,[createBaseVNode("li",_hoisted_9,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Rain")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-umbrella"}),createTextVNode(" "+toDisplayString$1(t.now.rain)+" "+toDisplayString$1(t.today.units.rain),1)]),createBaseVNode("li",_hoisted_10,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Wind")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-weather-windy"}),createTextVNode(" "+toDisplayString$1(t.now.wind.speed)+"-"+toDisplayString$1(t.now.wind.gusts)+" "+toDisplayString$1(t.today.units.wind),1)]),createBaseVNode("li",_hoisted_11,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Pressure")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-shore"}),createTextVNode(" "+toDisplayString$1(t.now.pressure)+" "+toDisplayString$1(t.today.units.pressure),1)]),createBaseVNode("li",_hoisted_12,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Snowline")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-snowflake-melt"}),createTextVNode(" "+toDisplayString$1(t.now.snowline)+" "+toDisplayString$1(t.today.units.snowline),1)])])],512),[[vShow,!t.isMobile]])])):createCommentVNode("",!0),!t.error&&(t.moduleConfig.display==="both"||t.moduleConfig.display==="preview")&&t.weather?(openBlock(),createElementBlock("div",_hoisted_13,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.weather,(y,A)=>withDirectives((openBlock(),createElementBlock("div",{key:y.date,class:"col weather-day relative-position q-item--clickable q-link cursor-pointer q-focusable q-hoverable",style:normalizeStyle$1(A>1&&{borderLeft:"1px solid rgba(0, 0, 0, 0.12)"}),onClick:b=>t.selectedDay=y},[r[5]||(r[5]=createBaseVNode("div",{class:"q-focus-helper"},null,-1)),withDirectives(createBaseVNode("div",{class:"text-overline",style:{"line-height":"auto"}},toDisplayString$1(t.daysCaption&&t.daysCaption[A-1]||""),513),[[vShow,!t.isMobile]]),withDirectives(createBaseVNode("div",{class:"text-overline",style:{"line-height":"auto"}},toDisplayString$1(t.daysCaptionSmall&&t.daysCaptionSmall[A-1]||""),513),[[vShow,t.isMobile]]),createBaseVNode("div",_hoisted_15,toDisplayString$1(t.format(y.date,"d. MMM")),1),t.moduleConfig.forecastTemperature!==!1?(openBlock(),createElementBlock("div",_hoisted_16,[createBaseVNode("span",_hoisted_17,[createVNode$1(v,{color:"primary",name:"mdi-thermometer"}),createTextVNode(" "+toDisplayString$1(y.tempmax)+" / "+toDisplayString$1(y.tempmin+" "+y.units.temp),1)])])):createCommentVNode("",!0),t.moduleConfig.forecastSunRain!==!1?(openBlock(),createElementBlock("div",_hoisted_18,[createBaseVNode("img",{src:t.getIcon(y.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"50"},null,8,_hoisted_19),r[3]||(r[3]=createBaseVNode("br",null,null,-1)),y.rain>0?(openBlock(),createElementBlock("span",_hoisted_20,toDisplayString$1(y.rain)+" mm",1)):(openBlock(),createElementBlock("span",_hoisted_21,"-"))])):createCommentVNode("",!0),t.moduleConfig.forecastWind!==!1?(openBlock(),createElementBlock("div",_hoisted_22,[createBaseVNode("img",{src:t.getIcon(y.wind.symbol,t.moduleConfig.iconSetWind,"wind"),alt:"",height:"25"},null,8,_hoisted_23),r[4]||(r[4]=createBaseVNode("br",null,null,-1)),createBaseVNode("span",_hoisted_24,toDisplayString$1(y.wind.speed+" - "+y.wind.gusts+" "+y.units.wind),1)])):createCommentVNode("",!0)],12,_hoisted_14)),[[vShow,t.isMobile&&A<5||!t.isMobile],[Ripple]])),128))])):createCommentVNode("",!0),createVNode$1(QDialog,{"model-value":t.selectedDay!==null,onHide:r[1]||(r[1]=y=>t.selectedDay=null)},{default:withCtx(()=>[t.selectedDay!==null?(openBlock(),createBlock(QCard,{key:0,style:{width:"600px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_25,toDisplayString$1(t.$t("Weather Forecast"))+", "+toDisplayString$1(t.format(t.selectedDay.date,"d. MMM")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=y=>t.selectedDay=null)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body"},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.selectedDay.hour,y=>(openBlock(),createElementBlock(Fragment,{key:"item-"+y.interval},[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"items-center",style:{"flex-direction":"row"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.interval)+" ",1),createBaseVNode("img",{src:t.getIcon(y.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"30",style:{"margin-left":"8px"}},null,8,_hoisted_26)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.symbol_description),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createBaseVNode("span",_hoisted_27,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-thermometer"}),createTextVNode(" "+toDisplayString$1(y.temp)+" "+toDisplayString$1(t.today.units.temp),1)]),r[6]||(r[6]=createTextVNode(", ")),createBaseVNode("span",_hoisted_28,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-umbrella",style:{"margin-left":"4px"}}),createTextVNode(" "+toDisplayString$1(y.rain)+" "+toDisplayString$1(t.today.units.rain),1)]),r[7]||(r[7]=createTextVNode(", ")),createBaseVNode("span",_hoisted_29,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-cloud",style:{"margin-left":"4px"}}),createTextVNode(" "+toDisplayString$1(y.clouds),1)])]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{avatar:"",style:{padding:"0 4px"}},{default:withCtx(()=>[createBaseVNode("img",{src:t.getIcon(y.wind.symbolB,t.moduleConfig.iconSetWind,"wind"),alt:"",height:"20"},null,8,_hoisted_30)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("WindDirection#"+y.wind.dir)+" ("+y.wind.dir+")"),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.wind.speed)+"-"+toDisplayString$1(y.wind.gusts)+" "+toDisplayString$1(t.today.units.wind),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),createVNode$1(QSeparator)],64))),128))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])])}var Weather=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),Weather$1=Object.freeze(Object.defineProperty({__proto__:null,default:Weather},Symbol.toStringTag,{value:"Module"})),iFrame_vue_vue_type_style_index_0_lang="";const _sfc_main=defineComponent({name:"ModuleiFrame",props:{widgetSize:{type:Object,required:!0},widget:{type:Object,required:!0},options:{type:Object,required:!0}},setup(t){const r=useI18n(),o=useJarvis(),a=ref(!1),u=ref(!1),d=computed(()=>t.widget.config),g=computed(()=>({...Modules.joinConfig(d.value,ConfigFile)})),v=ref(null),y=(x,P,G,M)=>{x||(v.value!==M.val&&A(M.val||""),a.value=!0)},A=x=>{const P=Cache$1.get("settings",{});x.indexOf("{")>-1&&x.indexOf("}")>-1&&Object.keys(P).forEach(G=>{x=x.replace(RegExp("{"+G+"}","g"),P[G])}),v.value=x};let b=null;const _=()=>{g.value.refresh&&g.value.refresh>0&&(b=setInterval(()=>{v.value!==null&&A(v.value+" ")},g.value.refresh*1e3))},w=ref(null),S=x=>{g.value.keepalive&&(w.value?t.options&&t.options.tabId===x?F(w.value):(w.value.style.zIndex=-1,w.value.style.visibility="hidden"):setTimeout(()=>S(x),500))},C=()=>{g.value.keepalive&&F(w.value)},T=()=>{console.error(g.value.keepalive,w.value,t.widgetSize,w.value&&t.widgetSize.intWidth>0&&t.widgetSize.intHeight>0),g.value.keepalive&&(w.value&&t.widgetSize.intWidth>0&&t.widgetSize.intHeight>0?(F(w.value),document.querySelector("#iframes").append(w.value)):setTimeout(()=>T(),500))},I=ref(null);let E=null;const F=x=>{I.value?(clearTimeout(E),E=setTimeout(()=>{const{top:P,left:G}=I.value.getBoundingClientRect(),M=window.pageYOffset||document.documentElement.scrollTop,N=window.pageXOffset||document.documentElement.scrollLeft;P&&G&&(x.style.zIndex=9,x.style.visibility="visible",x.style.top=P+M+"px",x.style.left=G+N+"px",x.style.position="absolute"),setTimeout(()=>F(x),500)},50)):setTimeout(()=>F(x),500)};watch(()=>o.selectedTabId,x=>S(x));const O=computed(()=>t.widget.items&&t.widget.items[0]||{});let D=null;return watch(O.value,x=>{g.value.url?(A(g.value.url),a.value=!0):(D=Devices.get(O.value.deviceId),D?Devices.listen(D.id,O.value.primaryStateKey,y):(u.value="iFrame: "+r.t("Device {deviceId} not found").replace("{deviceId}",O.value.deviceId),a.value=!0))},{immediate:!0}),onMounted(()=>{_(),T()}),onBeforeUnmount(()=>{g.value.keepalive&&w.value&&w.value.remove(),b&&clearInterval(b),E&&clearInterval(E),D&&!g.value.url&&Devices.unlisten(D.id,O.value.primaryStateKey,y)}),{moduleConfig:g,url:v,eliFrameContainer:I,eliFrame:w,onResize:C,loaded:a,error:u,sandbox:computed(()=>g.value.sandbox!==!0?"":g.value.sandboxOptions.join(" "))}}}),_hoisted_1=["src","title","sandbox"];function _sfc_render(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{key:t.widget.revision,ref:"eliFrameContainer",class:"jarvis-iFrame-Container",style:normalizeStyle$1(t.widgetSize)},[t.moduleConfig.keepalive===!0?(openBlock(),createBlock(QResizeObserver,{key:0,onResize:t.onResize},null,8,["onResize"])):createCommentVNode("",!0),withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives((openBlock(),createElementBlock("iframe",{ref:"eliFrame",key:t.widget.id,class:"jarvis-iFrame iFrame",src:t.url,style:normalizeStyle$1({"pointer-events":t.moduleConfig.interaction?"auto":"none",...t.widgetSize}),title:t.widget.title,sandbox:t.sandbox},null,12,_hoisted_1)),[[vShow,t.loaded&&!t.error]])],4)}var iFrame=_export_sfc$1(_sfc_main,[["render",_sfc_render]]),iFrame$1=Object.freeze(Object.defineProperty({__proto__:null,default:iFrame},Symbol.toStringTag,{value:"Module"}));function setPlayer$4(t,r){const o=Connection.getConnection,a=t(".controlPlay"),u=r(".controlPause");a&&o.setState(a,!0).catch(d=>console.warn("MediaControl.Alexa2",d&&d.message||d)),u&&o.setState(u,!0).catch(d=>console.warn("MediaControl.Alexa2",d&&d.message||d))}function getPlayers$4(t){const r=t+".Echo-Devices";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","device",{startkey:r+".",endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+".Player.currentState"]&&A[g.id+".online"]&&A[g.id+".online"].val===!0?v({id:g.id.replace(r+".",""),name:g.value.common.name+" ("+A[g.id+".Info.deviceTypeString"].val+")"}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}var alexa2={_namespace:".Echo-Devices.{PLAYER}.Player",type:{state:".contentType",convert:t=>t==="LIVE_STATION"||t==="PODCASTS"?"RADIO":t},artist:".currentArtist",album:".currentAlbum",track:".currentTitle",year:null,cover:".mainArtUrl",play:{state:".currentState",action:".controlPlay"},pause:{action:".controlPause"},resume:{action:".controlPlay"},stop:{action:null},previous:{action:".controlPrevious"},next:{action:".controlNext"},progress:{state:".mediaProgress"},duration:{state:".mediaLength"},repeat:{state:".controlRepeat",action:".controlRepeat",display:{false:"off",true:"context"}},shuffle:{state:".controlShuffle",action:".controlShuffle",display:{false:"off",true:"on"}},volume:{state:".volume",action:".volume"}},alexa2$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$4,getPlayers:getPlayers$4,default:alexa2},Symbol.toStringTag,{value:"Module"}));function setPlayer$3(t){}function getPlayers$3(t){const r=t;return new Promise(o=>{Connection.getConnection.getObjectView("system","device",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push({id:g.id.replace(r+".",""),name:g.value.common.name});o(d)})})}var musiccast={_namespace:".{PLAYER}",artist:".netusb.artist",album:".netusb.album",track:".netusb.track",year:null,cover:".netusb.albumart_url",play:{state:".netusb.playback",convert:t=>t==="play",action:".netusb.playPause"},pause:{action:".netusb.playPause"},resume:{action:".netsub.playPause"},stop:{action:".netsub.stop"},previous:{action:".netsub.prev"},next:{action:".netsub.next"},progress:{state:null,convert:null,action:null,setter:null},duration:{state:".netusb.total_time"},repeat:{state:".netsub.repeat_stat",action:".netsub.repeat"},shuffle:{state:".netsub.shuffle_stat",action:".netsub.shuffle"},volume:{state:".main.volume",action:".main.volume",display:{off:0}}},musiccast$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$3,getPlayers:getPlayers$3,default:musiccast},Symbol.toStringTag,{value:"Module"}));function setPlayer$2(t){}function getPlayers$2(t){const r=t+"._playing";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","channel",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+"._Controls.playback.play"]&&A[g.id+".player"]&&A[g.id+".player"].val?v({id:g.id.replace(r+".",""),name:A[g.id+".player"].val}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}function convertToSeconds$1(t){return parseInt(t)*60}var plex={_namespace:"",align:{state:"._playing.{PLAYER}.Metadata.type",convert:t=>t==="movie"?"bottom":"top"},artist:"._playing.{PLAYER}.Metadata.grandparentTitle",album:"._playing.{PLAYER}.Metadata.parentTitle",track:"._playing.{PLAYER}.Metadata.title",year:"._playing.{PLAYER}.Metadata.year",cover:".events.thumb",play:{state:"._playing.{PLAYER}.playing",action:"._playing.{PLAYER}._Controls.playback.play"},pause:{action:"._playing.{PLAYER}._Controls.playback.pause"},resume:{action:"._playing.{PLAYER}._Controls.playback.play"},stop:{action:"._playing.{PLAYER}._Controls.playback.stop"},previous:{action:"._playing.{PLAYER}._Controls.playback.skipPrevious"},next:{action:"._playing.{PLAYER}._Controls.playback.skipNext"},progress:{state:null},duration:{state:"._playing.{PLAYER}.Metadata.duration",convert:convertToSeconds$1},repeat:{state:"._playing.{PLAYER}._Controls.playback.setRepeat",action:"._playing.{PLAYER}._Controls.playback.setRepeat",display:{off:"off",item:"item",all:"all"}},shuffle:{state:"._playing.{PLAYER}._Controls.playback.setShuffle",action:"._playing.{PLAYER}._Controls.playback.setShuffle",display:{off:"0",on:"1"}},volume:{state:"._playing.{PLAYER}._Controls.playback.setVolume",action:"._playing.{PLAYER}._Controls.playback.setVolume"}},plex$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$2,getPlayers:getPlayers$2,default:plex},Symbol.toStringTag,{value:"Module"}));function setPlayer$1(t){const r=t(".devices.{PLAYER}.useForPlayback");r&&Connection.getConnection.setState(r,!0).catch(a=>console.warn("MediaControl.Spotify",a.message||a))}function getPlayers$1(t){const r=Connection.getConnection,o=t+".devices";return r.setState(t+".getDevices",!0).catch(a=>console.warn("MediaControl.Spotify",a.message||a)),new Promise(a=>{r.getObjectView("system","device",{startkey:o,endkey:o+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{r.getStates(g.id+".*").then(A=>{A&&A[g.id+".id"]!==null&&A[g.id+".id"]!==void 0&&A[g.id+".isAvailable"]!==null&&A[g.id+".isAvailable"]!==void 0&&A[g.id+".isAvailable"].val===!0&&A[g.id+".id"].val!==A[g.id+".name"].val?v({id:g.id.replace(o+".",""),name:A[g.id+".name"].val}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),a(v)})})})}function convertToSeconds(t){const[r,o]=t.split(":");return parseInt(r)*60+parseInt(o)}var spotifyPremium={_namespace:"",player:".player.device.id",artist:".player.artistName",album:".player.album",track:".player.trackName",year:null,cover:".player.albumImageUrl",play:{state:".player.isPlaying",action:".player.play",setter:(t,r)=>t},pause:{action:".player.pause"},resume:{action:".player.play"},stop:{action:null},previous:{action:".player.skipMinus"},next:{action:".player.skipPlus"},progress:{state:".player.progress",convert:convertToSeconds,action:".player.progressMs",setter:t=>t*1e3},duration:{state:".player.duration",convert:convertToSeconds},repeat:{state:".player.repeat",action:".player.repeat",display:{off:"off",track:"once",context:"all"},setter:t=>t==="once"?"track":t==="all"?"context":t},shuffle:{state:".player.shuffle",action:".player.shuffle",display:{off:"off",on:"on"}},volume:{state:".player.device.volume",action:".player.device.volume",display:{off:0}}},spotifyPremium$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$1,getPlayers:getPlayers$1,default:spotifyPremium},Symbol.toStringTag,{value:"Module"}));function setPlayer(t){}function getPlayers(t){const r=t+".Realtime";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","channel",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+".NETRADIO.PLAYBACKINFO"]!==null?v({id:g.id.replace(r+".",""),name:g.value.common.name}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}var yamaha={_namespace:"",artist:".Realtime.{PLAYER}.ARTIST",album:".Realtime.{PLAYER}.ALBUM",track:".Realtime.{PLAYER}.SONG",year:null,cover:null,play:{state:".Realtime.{PLAYER}.PLAYBACKINFO",action:".Commands.pause"},pause:{action:".Commands.pause"},resume:{action:".Commands.pause"},stop:{action:".Commands.stop"},previous:{action:".Commands.rewind"},next:{action:".Commands.skip"},progress:{state:".Realtime.{PLAYER}.ELAPSEDTIME"},duration:{state:".Realtime.{PLAYER}.TOTALTIME"},repeat:{state:null},shuffle:{state:null},volume:{state:".Commands.adjustVolume",action:".Commands.adjustVolume",display:{off:0}}},yamaha$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer,getPlayers,default:yamaha},Symbol.toStringTag,{value:"Module"})),moon_0="/jarvis/assets/moon_0.0437dc68.png",moon_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_0},Symbol.toStringTag,{value:"Module"})),moon_1="/jarvis/assets/moon_1.66401943.png",moon_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_1},Symbol.toStringTag,{value:"Module"})),moon_10="/jarvis/assets/moon_10.bac5a687.png",moon_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_10},Symbol.toStringTag,{value:"Module"})),moon_11="/jarvis/assets/moon_11.a1a5f37b.png",moon_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_11},Symbol.toStringTag,{value:"Module"})),moon_12="/jarvis/assets/moon_12.4bdf2b5b.png",moon_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_12},Symbol.toStringTag,{value:"Module"})),moon_13="/jarvis/assets/moon_13.3d046201.png",moon_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_13},Symbol.toStringTag,{value:"Module"})),moon_14="/jarvis/assets/moon_14.e1e5a929.png",moon_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_14},Symbol.toStringTag,{value:"Module"})),moon_15="/jarvis/assets/moon_15.b170cb06.png",moon_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_15},Symbol.toStringTag,{value:"Module"})),moon_16="/jarvis/assets/moon_16.8869ca98.png",moon_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_16},Symbol.toStringTag,{value:"Module"})),moon_17="/jarvis/assets/moon_17.a73697fd.png",moon_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_17},Symbol.toStringTag,{value:"Module"})),moon_18="/jarvis/assets/moon_18.9d450edd.png",moon_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_18},Symbol.toStringTag,{value:"Module"})),moon_19="/jarvis/assets/moon_19.47c97c66.png",moon_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_19},Symbol.toStringTag,{value:"Module"})),moon_2="/jarvis/assets/moon_2.2dc0e6dc.png",moon_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_2},Symbol.toStringTag,{value:"Module"})),moon_20="/jarvis/assets/moon_20.1a496357.png",moon_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_20},Symbol.toStringTag,{value:"Module"})),moon_21="/jarvis/assets/moon_21.d4e4be14.png",moon_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_21},Symbol.toStringTag,{value:"Module"})),moon_22="/jarvis/assets/moon_22.fc4bfedf.png",moon_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_22},Symbol.toStringTag,{value:"Module"})),moon_23="/jarvis/assets/moon_23.6cc94fcd.png",moon_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_23},Symbol.toStringTag,{value:"Module"})),moon_24="/jarvis/assets/moon_24.84b7b6d3.png",moon_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_24},Symbol.toStringTag,{value:"Module"})),moon_25="/jarvis/assets/moon_25.cdca190e.png",moon_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_25},Symbol.toStringTag,{value:"Module"})),moon_26="/jarvis/assets/moon_26.6d395d8f.png",moon_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_26},Symbol.toStringTag,{value:"Module"})),moon_27="/jarvis/assets/moon_27.d8029260.png",moon_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_27},Symbol.toStringTag,{value:"Module"})),moon_28="/jarvis/assets/moon_28.0515bbd7.png",moon_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_28},Symbol.toStringTag,{value:"Module"})),moon_29="/jarvis/assets/moon_29.89b52e31.png",moon_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_29},Symbol.toStringTag,{value:"Module"})),moon_3="/jarvis/assets/moon_3.7759e7e2.png",moon_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_3},Symbol.toStringTag,{value:"Module"})),moon_4="/jarvis/assets/moon_4.49ed2475.png",moon_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_4},Symbol.toStringTag,{value:"Module"})),moon_5="/jarvis/assets/moon_5.c2b11054.png",moon_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_5},Symbol.toStringTag,{value:"Module"})),moon_6="/jarvis/assets/moon_6.3b36a24e.png",moon_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_6},Symbol.toStringTag,{value:"Module"})),moon_7="/jarvis/assets/moon_7.e84d4d0b.png",moon_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_7},Symbol.toStringTag,{value:"Module"})),moon_8="/jarvis/assets/moon_8.274f030c.png",moon_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_8},Symbol.toStringTag,{value:"Module"})),moon_9="/jarvis/assets/moon_9.5247cc21.png",moon_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_9},Symbol.toStringTag,{value:"Module"})),weather_set1_1="/jarvis/assets/weather_set1_1.1593123e.png",weather_set1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_1},Symbol.toStringTag,{value:"Module"})),weather_set1_10="/jarvis/assets/weather_set1_10.1bf79e0d.png",weather_set1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_10},Symbol.toStringTag,{value:"Module"})),weather_set1_11="/jarvis/assets/weather_set1_11.a71e756f.png",weather_set1_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_11},Symbol.toStringTag,{value:"Module"})),weather_set1_12="/jarvis/assets/weather_set1_12.3731f595.png",weather_set1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_12},Symbol.toStringTag,{value:"Module"})),weather_set1_13="/jarvis/assets/weather_set1_13.93bdc8be.png",weather_set1_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_13},Symbol.toStringTag,{value:"Module"})),weather_set1_14="/jarvis/assets/weather_set1_14.398f08ba.png",weather_set1_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_14},Symbol.toStringTag,{value:"Module"})),weather_set1_15="/jarvis/assets/weather_set1_15.44efe6ac.png",weather_set1_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_15},Symbol.toStringTag,{value:"Module"})),weather_set1_16="/jarvis/assets/weather_set1_16.4e2ec397.png",weather_set1_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_16},Symbol.toStringTag,{value:"Module"})),weather_set1_17="/jarvis/assets/weather_set1_17.e4641af3.png",weather_set1_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_17},Symbol.toStringTag,{value:"Module"})),weather_set1_18="/jarvis/assets/weather_set1_18.2d4dc498.png",weather_set1_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_18},Symbol.toStringTag,{value:"Module"})),weather_set1_19="/jarvis/assets/weather_set1_19.f2ba7626.png",weather_set1_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_19},Symbol.toStringTag,{value:"Module"})),weather_set1_2="/jarvis/assets/weather_set1_2.3ce1bd13.png",weather_set1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_2},Symbol.toStringTag,{value:"Module"})),weather_set1_3="/jarvis/assets/weather_set1_3.18dabff4.png",weather_set1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_3},Symbol.toStringTag,{value:"Module"})),weather_set1_4="/jarvis/assets/weather_set1_4.d4f0b684.png",weather_set1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_4},Symbol.toStringTag,{value:"Module"})),weather_set1_5="/jarvis/assets/weather_set1_5.f12977d3.png",weather_set1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_5},Symbol.toStringTag,{value:"Module"})),weather_set1_6="/jarvis/assets/weather_set1_6.e94a1cb3.png",weather_set1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_6},Symbol.toStringTag,{value:"Module"})),weather_set1_7="/jarvis/assets/weather_set1_7.a66b1d69.png",weather_set1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_7},Symbol.toStringTag,{value:"Module"})),weather_set1_8="/jarvis/assets/weather_set1_8.ab353fcb.png",weather_set1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_8},Symbol.toStringTag,{value:"Module"})),weather_set1_9="/jarvis/assets/weather_set1_9.e686e2b4.png",weather_set1_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_9},Symbol.toStringTag,{value:"Module"})),weather_set2_1="/jarvis/assets/weather_set2_1.f0d1b789.png",weather_set2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_1},Symbol.toStringTag,{value:"Module"})),weather_set2_10="/jarvis/assets/weather_set2_10.5f3c3990.png",weather_set2_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_10},Symbol.toStringTag,{value:"Module"})),weather_set2_11="/jarvis/assets/weather_set2_11.527cf530.png",weather_set2_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_11},Symbol.toStringTag,{value:"Module"})),weather_set2_12="/jarvis/assets/weather_set2_12.a694b41c.png",weather_set2_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_12},Symbol.toStringTag,{value:"Module"})),weather_set2_13="/jarvis/assets/weather_set2_13.f38fcdd2.png",weather_set2_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_13},Symbol.toStringTag,{value:"Module"})),weather_set2_14="/jarvis/assets/weather_set2_14.f49ab746.png",weather_set2_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_14},Symbol.toStringTag,{value:"Module"})),weather_set2_15="/jarvis/assets/weather_set2_15.e21ebe64.png",weather_set2_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_15},Symbol.toStringTag,{value:"Module"})),weather_set2_16="/jarvis/assets/weather_set2_16.05e9d3a8.png",weather_set2_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_16},Symbol.toStringTag,{value:"Module"})),weather_set2_17="/jarvis/assets/weather_set2_17.6f8b3ae2.png",weather_set2_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_17},Symbol.toStringTag,{value:"Module"})),weather_set2_18="/jarvis/assets/weather_set2_18.53e2ceff.png",weather_set2_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_18},Symbol.toStringTag,{value:"Module"})),weather_set2_19="/jarvis/assets/weather_set2_19.2f8d04c6.png",weather_set2_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_19},Symbol.toStringTag,{value:"Module"})),weather_set2_2="/jarvis/assets/weather_set2_2.59ab0aa1.png",weather_set2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_2},Symbol.toStringTag,{value:"Module"})),weather_set2_3="/jarvis/assets/weather_set2_3.cb40b66b.png",weather_set2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_3},Symbol.toStringTag,{value:"Module"})),weather_set2_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADW1JREFUeNrsWQmsXGUVPvfOnX17b+b1LX3te4+uFtqCpRWEIikCYgTEsjS1IEu0IkJkKRqigsFQMEaURJBQlkCgRkEMmxhU0LgkpoZYhJaW0pa+vnXem3mz3H3zO/+980opKrIoTeZPb2cy899/znfOd75zzn1ErdVardVardVardVardVardVarXXokv4fP9rb8UX51PWrju9oy/TL8diSeELp9jzyNcMupcjbOjhe3SMNlrc89PBV7mENmIGevn7Vqf39nRtn9RSOTadiJEtsgk+q6VBFM2m0ZlB5SiOzob0sq/q3f3ffH54cmrjXO+wAr7n0ruyi4+Y9cMzC3nMKuWTE930yHJcqqkmW400b4+PSLJsm6iaNlBv+1Hj16ZRjf2XTxnVDhw3gtdc9OPvoxX2Pr1zavzwRi5Dj+VTTAaqhk+P6wggpjLTn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migI4OxTgmUUZoOGe16fYTau4sC/FBFo972JHVAyOSI9KZtwZjJwvjq8BQNTdQpCUeVG3XRYTFI1/LBIEfcwPnNFw8OhZk9pE1Mff/Wr57+3Sdvf5cPAFZfcffSeGfh+YRMRY5OFDRywnHODZ9DKfBwiizRGppKAoKhiGEijysGR+lgQKlcpwSiRIhIMp+jmhzDTOwKanPNzaLz4kjpcAYzaApVQbJtSgOYbaDrqjeojJ7dMAykUUSATOL8DE9InR2guDLuT5bXPbHpyt++5yce59/wyALHdu9LZpMrXdMkzebnUnLY6PPQDyCew2UAyaJQLIEOB0krxIqp63kCGAugodbhMEwyAO1DTXVuTbkHDh5zib0SWtU4zo7CheXKFM52aVZvF+3Zux8KrFAaDVEqlyEphpHRtJlst6gTpWeee+C6kfftmdadv3heevaF3d9Id+Q/C/U41pWkqCt6ZTYQpcRxbBBg0DHNOdwMRFEH2TheHtday8JtUFIIn8f117YolUrjSoiyJsuKSA8P4DwoN0eyVqtTWy5NxY7iFDb+XeEJibs+w/RdzdhG1dqvV39q2TOXnHeC/4E+tbxsw/35clX9GKaRXu40HN3YX2jLbDntE4vqjz2//UrUh41Q3zQMg/GeGOUSmRSUNKJbVfWb8Uxqt+n7D2q1Wr5croVlyw+fZga5XMinqQdRdR1/J1WrZzx+z5V7PrR/ebhkw73ZccP/aHFgZkGr1Iq5Qr4ytmvfRG8+uXXTbRdXRb3/2qZOam8709OM9abrLo/wNM+qDTZAHKwY0a8cWdocbajPPnr3FY3D8q+H/2pdfsNDud2DpYVQaJT4SPmCM1fsuGj1CWbrj7yt1Vqt1Vqt1Vqt1Vqt1Vqt1Vqt9T6vfwowAPfq0r4Sq0gWAAAAAElFTkSuQmCC",weather_set2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_4},Symbol.toStringTag,{value:"Module"})),weather_set2_5="/jarvis/assets/weather_set2_5.ecadf35d.png",weather_set2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_5},Symbol.toStringTag,{value:"Module"})),weather_set2_6="/jarvis/assets/weather_set2_6.4b339a16.png",weather_set2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_6},Symbol.toStringTag,{value:"Module"})),weather_set2_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADjJJREFUeNrsWguwXWV1Xmc/z/tx7z33nktu7r25TUIThUqkpYOloH3IY3xVh2qYRIZoaimUccJ0HLElxQxSfGCptGC1ozjEoKDlUZoi1USr44w0phJCySVv7vtxXvvs96Pf+vc5yQ2SGQcjYHr+mZ2cc/be/7++tb71rfX/CVF3dEd3dEd3dEd3dEd3dEd3dEd3dAclXotFb/nik/1BIvH+XDb1+6qirFIUKe24fs33g/2GYT3he/4Tn73hyuavPeCb79150bkjA5tDz9/Qk8+oFEUUhiHZXkCW69Oi6dF80ybHcaueH9zfm5T+/lMfufzwrx3gZ8en6dGfjG8ZGyhuGyxmkhJWdfyAqqZLLceDEYnYEPwRhBE1LIderFpUa1qtjBxdfdcNVz5xpmyRXw3A+fPe/pnL141tLeeSiiwReUFEc4ik5QYkAaWUAGBcFPHTEWmKRPmkQqmkqk21vGsuvWr9gR8/8cC+11WEP3bvzkoqpV+vJfWLMyldZrqalkct25UuW7vskt6MnuDo2YjsXNOiph1HVlgAoFEUUsgUxxWF8cXPNuGUgzMNQ3ft933h5nf/x2sOeMvd/9Y/UC5syqf1WwdKWT2CwUEQkuX5VANlmbZBlKA3nlOkSjFFloNcbTn4LYqxAmwIsNFSsFF0wrhZOKflEdVN53+G+7L3wVE9uO8XU+qk1TSPzy0aE5/f8q7xVwXwTf/weHnVUHnnurHKOlhKrh+K6JkQIJGX7dl9OGC2YVHDCegNAB61qRt1QLc/s6NC8Vv8K9PcC4kURYG4RSRJscEsclUIXA0sqWI9t2X+RHbsz335b96/41cG+M6vfS81MNAz8VtDvSUGxCI0VTfJRA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1ob8t0d4WWOWo3Wu92IFKKEh/nMP24SXDQxBRQU2U9Sa1anSyoeTaXpUw6heZfhUWS2Fq66AMMw6QqgPZhU3/O6LIAivyvmFCDWE1LqvpDv97c9cin1h991c+lr/zzewuh4xZ3/stfisWv2HxPQcunbpVVbROckGfOiz0rHzt6/rSqq3d5M4uPS/2l60Dfj7aqNWlxoS7YEB/bkEiDEiJYXj6A3I32Oa5307fv3Pjd1/U/tWz93OPpPfsPXSink2OalAgC2z3wzj++4OmNf3Jx0Hnm6hv+6Q1OZeBDfYX0W5yW1eKGQkIDoSeTZdNyZ4zJuR2Jofyuxz7+gXE6W8auWePzOw5MbX25e/8+WX/PY0cXdp01YN/xhW+P7DX86OGDs43bf/hs4aX3n5qoHd4924pu/c5P33Ym1pNea8BvffOaW3ijjp4996M9B6495Tj4oe+vz2VSo3wIUW9ZN56J9ZTXGrDhuuXxY1PY7Zik6+op95YP9pT3jh+lDGrubLVBZwVgRPa6p/Yd3Lu8kKlddembvvLwknsfXrfq7tv/cw/vkIqVvsJXuv9h42wZ25+beOjBgzOjvxJGvd7APnRk/tJzzym/FxuE2/5fAG40zFvEf3Sx3Q3bvv+zkTM9v/J6AzzfaP7R8TmVDr04S0bgMa2PntWA/UR03Y+fGd+Yy6aOfPrtF+/uKlp3dEd3LB3/J8AAbyIqLVo/bksAAAAASUVORK5CYII=",weather_set2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_7},Symbol.toStringTag,{value:"Module"})),weather_set2_8="/jarvis/assets/weather_set2_8.60a1d07a.png",weather_set2_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_8},Symbol.toStringTag,{value:"Module"})),weather_set2_9="/jarvis/assets/weather_set2_9.a3f5188a.png",weather_set2_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_9},Symbol.toStringTag,{value:"Module"})),weather_set3_1="/jarvis/assets/weather_set3_1.4a0a1cb8.png",weather_set3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_1},Symbol.toStringTag,{value:"Module"})),weather_set3_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADhpJREFUeNrMWglwlOUZ/nY32SPZ3CcLOTYJAUIIRyIICacMIsOUlrHHADJVixeFaUEttugwtVSt4NiSaUcdBw1U61QURKtY2sE6JAjhvslF7mQ3m+yZaze7fd4/3x//LJtkk2wC38w7++/ut9//Pu/5fN+/MjZGIzMzUzac+bdu3fKwcRiyMQJKooAEQ4KG+IkL4qTX8QAtGwOwBFADCYNEPfTQQzMxlsbExMz2eDxMqVRO7ujoKHO73cxut98ymUzFb7/99j8x1wLpgnjGErgswF5VQSIhCatWrVpZUFDw6IQJEzJpTk9Pz4DidDqbWltb9+zdu/cdTO0YS2/LAuzVaEjatm3bfjdr1qxlCoViUKBSIY8DeOmxY8c2lJSU1JC3Adp9TwGWgA2H6ODN7O3bt+9JSkrSUfj6C1YETK8Y9vLy8oeLior+h+vOQHtaHgCDkWd1kNmbN29+Ra/X6+TykS8L0Nq0tLSP58+fn0zGHG61HzPAXBEVD2P94xhZWVkpgVDK5XJply9ffpAbU0H3EuWuAJaEMhWoNHh1/ooVKxaNxrM+PJ23devWp3AZwSu+hntcPhrgQaMM5QTIlLVr1/4oJCREzMGADKoBWq12+9NPPz0NhnShoF0yGAynDx8+fJ0qOUCPqJLLRuhdIhTxlLcRERFL3nrrrW0iYGkB8lWUhipag0lQUBAD+NKurq5XCgsLvxxJJZePMA1C4AGqxJNzc3PnkSIgE3dIZ2cn6+7uFsCQx0Y7AJTISh4uDz377LO7qYbAAYrh5LdiOJ4FW6L5oVA+CSBmq9VqFNP586Kjo0Op5wo5AvAEUCaTMYfDwcxmc997EhH8aAThTcacv2TJEi169inRcdDPA6FXGRjcyEOaCgWFMW4WCUmB0rmgjE+sXLkye8aMGUHBwcF9eSeK+B4VlzU3N7OWl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COnnoB2QMdSbTw2/ezHugmAIEKBWjYP2rf99h1urilI0V1zl5cXElHdyDCv65PiUlZcHPnn/tF67U+6cZLdXn+By75NXI5/fwMHYFEqy/Z1pu7k2nyLchKQC7cMNrH+zoAFiaVHPmuIFHjFjwxEIWxucXSOdb68vEk4lODkzG7yGThG/Az4P9/XeKhwttcXQI4wUb//Rhn/LUM8GITByg9DdK/sxq7iMv7dsszhdYVHOtTSQQXvdwS67Z3QIs5jvlV/Kv3ijapolLipPSzNLS0lvigbfX/KSd+4p+HpY+J03BKwa1teorpY1eBhqfE85hAqYU0ObPmZ6ij1axYHkvAqfZcBUvFZzMu73WV+VmTdZlgLxQL6cRp5HRXvaKl4HuOcBi2HXfLi+rmTUhlM1IDGFozcxhqG3A5y3SE37x4SO1opqGplvT4jUsd2KosH/uNFSXEkPkhdA9noAVI5ivOXXia+PMufmJugilylJfWf7uri0H2traLnMPe7wKnuurTz+qyZwxR5eeGBPhMjfXHSva92HZ9SsneV8eVw8P928ywbxfUiFKh0zkPfYy34zbfRQbFe/hWfw3tiHm31OARS8rebsJ42HbxnvpQOGp5IYK93P+mI3/CzAAkxYzEa9vHKQAAAAASUVORK5CYII=",weather_set3_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_10},Symbol.toStringTag,{value:"Module"})),weather_set3_11="/jarvis/assets/weather_set3_11.185852f7.png",weather_set3_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_11},Symbol.toStringTag,{value:"Module"})),weather_set3_12="/jarvis/assets/weather_set3_12.6045ff58.png",weather_set3_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_12},Symbol.toStringTag,{value:"Module"})),weather_set3_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADmlJREFUeNrUWgl0VNUZvjPzJvu+ko2sJEZIIKyJRPZyIA0URDhVFk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Ohq+iz/KI4LEjqGA8W4/dVOdlYcoYCWq04NVBDw3ad+4IciG3dqNhwy/RnNvWv1UtM+tN+7d4/7Nbt5pRPLsSVm/aIxN3/PbCnzOQZ5Gsxm/rLiosq81564nUUKaf4Amm/OHOi1Ts8LjImOjrETWdhhsqSyneefuQ1pEOygga1TFpjp3bJCem/0WlvP9m37bY5ltmHz2iOLtkmUdVSzLXVg+DWr7AgMn9KOWP4CZ6Oa6uVgzWKeKCgsIwDpKKmhvdVRcOSA74bAu0mLs6wzKhpYnUA+3uuWWuwjJt1N9dQm+DjCnPv4SB6uS9LCjdT9jGrFaUlO7Sr474b9tQGczZ9v/gh6RkRpGyAVYIWjE1pURbFVcPBWVucxerKvkkNk3b8EiIt0YvSLek/flaXc6VGc1YRpIaa1HATVx2YGlGa+uqe22Je8JePNe/u+USbxyspMtU+Tkq+880eDZMfXQvwsRiW/kT/Kg8mzdyU/y/AjjhKK3zYg9fIIsj0DuK339n2PwEGAJu4s2BmtcmAAAAAAElFTkSuQmCC",weather_set3_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_13},Symbol.toStringTag,{value:"Module"})),weather_set3_14="/jarvis/assets/weather_set3_14.f7e520a5.png",weather_set3_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_14},Symbol.toStringTag,{value:"Module"})),weather_set3_15="/jarvis/assets/weather_set3_15.b285e8bd.png",weather_set3_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_15},Symbol.toStringTag,{value:"Module"})),weather_set3_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADJdJREFUeNrsWntMVOkVv/OAEQaG4aEwIOIDmbWCqCgoD6uuUAXUWFfTdY310Whda4yxtU3T/mOT2hrTuP6xaVNj1RiT9dGltdYHq0W0qIggBKQqCCIgAiIwMiMDzPR3rt9nL9OZYRhm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HcLFyXd1qJ213SG5kjYyM7AfYXljWkpOT822VSkVv/4XY2NhJwPwSVhkNhfwRqyoUAJERERETQHCzTSbTDcRbLQBMGDNmjI6uoY4G8egPK/r6vO4pKxDPDTgnEsdURGR0Dq7txjN78J/SjBEeZbWjm/uL/84OwkoWuOAAFO65cOFCPmddWKoKnqCCJafDig9OnDih3bhx4zZ45o8BIAEW7wPLG3Gu4dq1a+foOuT45vLy8lJMoj8rdO4VFhZ24py206dP/7apqanm3r17t7H9Fe3DHJsxiWKZyMUjnZUL60Y0KbRWGp6ZmZkxbty4uIsXLxbv2rVLi7j8COmhFG6YCpfeSbkZDGw8dOjQhry8vG+MRqMPIz0tPKF/y5YtGnhFKtz1BrylALFsZPcOYQQpMGKiuvgV7uXxZZUhFwDooQBN7VYbGowCuFrZ5s2bx8FS38KxMrBuS1JSkrh4TG4Jq/tjXyfAWtnSKLHxK0xUJI7Fwl1VOPYUudTE7k1E2cqKB4Gxcr83wA5nxcPKRFzlhMLRUDwalr0Gl256+PDhuezs7GQoH1ZcXHwVrN0qIRjVunXrPgaZ0QenoSC7EyUlJS+R0hQ438JA9zGgfJK99qrDVcBirQ0XTNuzZ88fiakfPXr0EAz7NeKN3LICoH7I1rjJqk9ZE06pLXT9+vU/g3WjiIWRvuYA8N/YS7s+bwMcNmDMvoyvbn4HgzM1Kq/JqGe7AcLMioAXbGIGGNg3NTpdw1kY3mFErL+bl1WCC1/isdkn5Y3nz5//RsLUlXDdDmYlMysKDOy3n11Dx9qlLHzq1KmvGDH1vQvALvV1UqbOysoSmRpMXID//2KE02fPLSXXvTUW9ghgprxCUmv7sUpM/FTfmeIMtJLFrNdZ2GOAJcorWCiQwgOuKM54QHgbLOytl1gy4f/jwxj/FmAAoOrzgbj4d3sAAAAASUVORK5CYII=",weather_set3_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_16},Symbol.toStringTag,{value:"Module"})),weather_set3_17="/jarvis/assets/weather_set3_17.15ddf6c3.png",weather_set3_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_17},Symbol.toStringTag,{value:"Module"})),weather_set3_18="/jarvis/assets/weather_set3_18.d28f334f.png",weather_set3_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_18},Symbol.toStringTag,{value:"Module"})),weather_set3_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADTdJREFUeNrUW2lsVNcVfrN4Y7wveME2wRiDTcAsJZCGgAGDsZsgBARUlBAEQVBUqfAjqKhJKxXRKAmJ1CgNUoRAcVSioFQYhYSyNIqpl2JCgRIXGzAWi22M930Ze6bfd3Ov+5h4xvZ4xpArHY1n3rvv3e+ec76zvGeD5qWRkpJikH/y06wTNfp0YucPN27csGteHgYvAaWYIL5SLJDQ7OzsdIvFEmI0Gm2+vr7d5eXlJRcvXqzBsV4p/QTvTeAGL4ClFgMgQZDwl19++Repqamrw8PD5wOoZrfbtf7+/gHp6empaWtr+0dpaemHeXl51zGni1r3FmiDB8Ea8eFHTUKic3JyVi5btmxnVFRUgiPIwYTnNDc3/zU/P39fcXHxXVyjB6BtTyRgHdhISPKrr776q+XLl79kMpmGBKoXm83GzwcVFRWbc3Nzz3sDtMmDYKMgU3ft2vUHaDaHYKk1NyQwLCxsdWJi4oWrV69WRURE9Dc0NHgMsNEDPqs0m7J27drXnn322UUEO5oBTQcmJSV9gWslkhN0jP/4AOsIij6bPGnSpIxVq1atBvt6ZGFWqzVwyZIlByUBmng/vTwODRvkYqIh09asWbMOpujnUYIxGJZs2bLlRfwZIlk/SN7Tba0bRqnd8ZDZCQkJ2e+9995OPz8/Pfn86O9hkpbjbw+h7Wr4NsmrDWHsDHz7i6KionvukNpoNOwPiYAkvvDCC4vNZrPW1dU1IL29vQPhRok7A/PGQ9Oz8Dmnr69vMX7aP3/+/Et7MMgfkjS9x9KKlbGAMHxOxmc6Mq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q8yWlpaclILJpQJITJxpovwFuQSfWw/vbS/T3rw84GfFolLkEoMxuRccUja7IgdQ2Elvthzt0A7INsrOvzzz//JxKTL2USQdbuIy+MyUM6L1zPF7E1HGbL5MKAyshXatdHPqu1wqzDeI7siRt/yhomqKiDBw/+FkVEGsw3EAlFB+K3icCh3W6ADZ44cWKkn59fE8LUBZn4W8dKw572IaaA3fBfM4qFrtu3b98jacGHI1AaWhGLa0laOG5MTEwMlCHJ9lPWsKgTPvvsswLk1F27d+8+OX369JikpKR4Hvjggw++Rb37DUjrP/v37z/MXprKl8dKwx4D7JCMdMJc+fpfZ0ZGRjKIKwalYjMK/38h/BRQJGGxtWQdq5Dk0Tg8SALiq1LLhQsXzkEt21VZWVkuU8smac59YwnWK4B1oBWJ6YuHFhmGescijRwzwA7A9f+C1/c4tKof/xNgAKwiK0tjgugVAAAAAElFTkSuQmCC",weather_set3_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_19},Symbol.toStringTag,{value:"Module"})),weather_set3_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADO5JREFUeNrsWwtwVNUZ/u9j35tskiWbLCQEkpBCTFDEqAioMFhoJbQyTht12s7oYKF2nHZ0hqqtrxZH2/HBFFofaEXbsQ8rVRmttKWgwVAcH4CgkBiBkNfmue/HvXtP/3P33M3NdZMsMYR0ysn8s/e1d893/td3/nPCwcQ3TvepF60Rw6fxO0R3TzE8N2GdO1vty7yfwPl2vp1v59skB63xRvexAhf5XwJsTFPGNMYbgBFDqgLDOZmqgPWA9MC0PtBzEUVgxxRIkokxHys6yTQgIzZ+EsHyDIwJxYpiR3EyyUHJRXGhFDz7Hfdl+Ommxyh57LqLPUefd6BY2Lv4DFYzYhMmESzVnjkDUO2YAs57/QeF315zcc5Tq2usjmf3hT7Dazb2HQrSsaraWtjSIxPW9zM2beEsA9XM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KWwNM9SPq9EqAAk+iQswwefx3tm5gu5nvIcC2czDQHGT+KPA+eypRcW6fhY/GHY/26wc+c7fd3XzLPaF86yePJzuLxAjLIOaGfm3M8ic0znu+ly57C6NIImCFpmoxNlIyVmF5vUvMlhWqPbHehOABHFjEIB5+P1okCUeIOn5b7XD0dPb9kTpJ2zr5lvK91W7VzOl9tSxB+7prQOwMctwd6ar+RM42fnp0rQkgzx9lD8p68Ovt0dTPbg96l/DqyYa+V8weRJptl+HauSDAtSo9fnDNsasgsoiYS6xyMej3N06wOCNOEgWHEwclkZyc1cRNt6pG5y+cu6wpXXLstbCDkmiLSEYnf/tb/p6cZQ2/eXOqdvuq5gia3EYoWgBL/aMfDm/Tv9+5kiBpmPBgzHUeOaMGRYr5jopjmifl+WUwfUygqH9Nw1yy0Uv/sT752xGInd/uf+nTsPRzuZ30FpvmDbsb6w3mnhLXPv79jMwGnsSfPTqL6qoTPjjB2DSQJtZkHRzM4tLD7QnT2uldXWma29stTskyO69V0tNsDqWpsLB0KbCGjsSQOoLYDLmcx4sgDrQWu78DQRYfjGGE3r2mYzWWeSWjCUGUBNm3EYvvCd1TbEyZip63OMPpJrG9ZMOq1reyyNO3A4di4xbWZa4c9qv+W53E1r1DxvAKxxEU53rOj8U4Ez2FR6LgFnAj7Sf76MNdsct7md65ZtP87/p8v5dr79n7f/CjAA63q2fzEcWNQAAAAASUVORK5CYII=",weather_set3_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_2},Symbol.toStringTag,{value:"Module"})),weather_set3_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADP5JREFUeNrsWnlsHNUZ/+bYe73r3bXXdnwk8ZHDmKRWEo7EoQkK5CDQEkGDGtq00KStqJAqQSMgSlApLRShCrVRUgoVAiSklhZKQ2n5g4aSQAQiIdAk5HLi2I6z63vv3bn6fbNv1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ElFTkSuQmCC",weather_set3_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_3},Symbol.toStringTag,{value:"Module"})),weather_set3_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB/RJREFUeNrsWltMFGcUnl12lzss9+WO3ASsUEFELkqMhtYHAmkCxEaS+sCDDQ/GgLGpL7U1fVETE/piE5JCeJMXa9MmvSQUufoEIdEQFAFZFQrLVVhu2++M/5BxGNhlZ4A12ZOc7M7Ozj//95/zf+cyw3FucYtb3OIWt7jloESzF4OmpqbuetzBwUHbRwmYgdVB9ezTnqxBV6HrUNteA9eoDJTUExoIDYH6Xr58uTQuLu60j49Pil6vj1xfX+c2Nja4tbW1+aWlpUGLxfJXe3v7L729veP4/xItwF6C1qhsVW9oMDSxqqqqOj8/v8xoNAbZbDaOgG6ndB7AW9ra2r7v6uoaxfVWgN5wScAAq2VWNUIjTCZTRm1t7c3ExMQke0DFSlbH55uhoaGvmpqa/t0r0B4qWNYLGkqHISEhBfX19TeTk5Nj6TwB3qX6BQUFlcfGxvb29/e/wngbU1NTNpcALHJjcuHU4ODg/OvXr9cnJSWFOwF0U2FpA4GOj4/v6evrGwfodYBWDbBO4XagPRsBTausrKzCIoSSeyoVjOEHKzfg62noFMYlJrepEcK0Cq3rD405ceJE4blz5zLVdD1YO/nKlSvfMQ/yZ0oLrHMmziu1sLB3yboJ58+fL/L09OTUsK4IMOft7f1lTU2NQavVrnl4eGzMz893Njc3/4HTswBtdSZua5y0rgEaBj0G1/v8zp07X3t5eUkZV46F7bG03fCFhX2DGH773r17PzsTt7VOgPUgNoXGYZKHU1JSsmABDknEFl1eXuZWVlZ4MAIpKREaZ2FhwYRxb9fV1TXhpwDK6GhegqrG0izeGjDpYNpfuHkuws9nSC4+Bat6GwwGDtkUWYBXWgRYgpudneWsVisPVqPRcEoYXFCyNkCnF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NE2C4EmgqC00BWEmhCTk5M8UdGcsG/NbW1tjcPDw/9QdskaArYPEo/d1rdCfBTY8SCFKi8KPdhy48+fP38C6cDPz6BD0Blx90NJI57fN9SkI6VQQMAPKmY3NzffhdHe4Cs9jHvFLDvDuh62LamlkMU4C5yuF8Yg8KTOdEV2e1+Rd3bjeBwL/h/bs7J9rc0Zgc0m1JoEAafEn0IZfdKxkLUpGXe7RgE8bBFAR0hxOEn1wnZNvE0Lw+/NWVlZ4WpbQWi0Sa0iTQl3av6Jr5O73mKx9FPnEl8X7TXmycL8Kwft7e2jFGf3Q0RPCmU7l7tp3NN/nj59+pC58Lq9pxBatipTKMPMDx48eKbE7Q5CxsfHBxsbGzczKUcetUwx+h4G03VjtWY/FrDIB5YfPXr0QSZltyimB87c+7doqEAO6OzsnEG6FoMy0cuVwS4sLFjv379/F/P9nYUgqyMP1Qgw+fA6cwcDxVQMMomKxAcFRTCrNlxGaMuhJjY3NDT8NDAw8Dd+Imaeo1OOvCmgEbV26ElcFPQQlYr0iXQzqqysLA1VSXh0dLRxuzi403e5c3JkJHe9+Dcw8cLLly/NHR0dT7q6usSZFMXdZUcfmWpk+ln8a0fUEODev2uldxHjrrLMaUwmk3KYaTWSJt6WF8uE5tcBg7WxbUdFuWWnTMphwDLdS0dfHdxPUfyaoqzllLw0sh+yXy+iusUtbnGLW/Zb/hdgAOiecUZAAVhqAAAAAElFTkSuQmCC",weather_set3_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_4},Symbol.toStringTag,{value:"Module"})),weather_set3_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD3xJREFUeNrsWgtwXNV5/u/du++VVtJaK61lWbYkb4yQDbJREPgBGBNSIhFwmVYhE5iBEttx0yGFGZeSQKA1BWZ4ZGpoDITEwMC4TUIeGtpAamxiR9QuGNtYtmUhLMuSV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o0q8a0iOG9Z3oXdU4a/4l8CR5mXazIVeCOjsSffTdM6q/6TJX5ghWLp8SiuqJZue3bVxzDEOVlO/JA6xUZfYS/UVSP+Va9fdeMP9229JmhzZd1pxKILB4FFKevZ0piIGn5MNJqlNJaPWZQZQ12YqZ+F7Wp8hThew8UuALz2049/vl4sWlnBpNfvkBS4OnnrttfdYlJf02pymOLSGFV/b8kiLZHMJII1b2mjPiUGmtR42UCRnEdv4fpU9Nz3JCv+0vreciYZp5z3Nzc3XVDWsrRMVAr3hNCCVy8yYREJRlspihmBHn+9q+dbGNQtrv1Q4hkpKhNPjhGLg9DAzz1G2BZj4QRkxpEP9uJJHo9NuM/VhDiOsswyJAn1LAjUciGWUOdZz4qwhQk7ohNlRaPXPs8FAJA3DcRmScgZPuLczAOMfk4k5QKdTbc64zeRrWgpkbP/+/QeLeDG9tNQOl893gMuSeUT0zPEOFlAkQ4eopqN9xz846sYa1Y/3rKhwAi1bCy0AR9/fe4ilE9Fgprr/TibqZym8Zro0qIZCIeXTrs7Y8iualgt2l8UmcKAEOs88du9dj7MCJJKbEo5/fGSUM5ntVf66GqfDbuKICmfb2979xSsvvoGnP2GgldmqIM8XjGZyrZktlC9CqbnzzjuvGRkZibe1te3B38dYlZI0ANYjO13dqEQys+T666+v7+rq+vSdd975iE08jOSY85wBrAMQGL8uZoUFYZF5lHVcmeKeAjYAIgtSCTj3A7I5BVi/x/h1O+Skianu0e9T8vHcuQp4snvJDO6bWytyX7Q/o/Z/AgwAuUYe1sLLlg8AAAAASUVORK5CYII=",weather_set3_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_5},Symbol.toStringTag,{value:"Module"})),weather_set3_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD0VJREFUeNrsWwuQFOWd/3f3THfPc2d2Znd2B3Zln4aHCHeggC6hNAS0Nqjcl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+PoJOF19z7y5Krm1V+92QQ73c3Ad3bu3Iu75779RmLLoe5CYvdJacC6av+/h3MnjkciB5qqjC9azFXABAVrBiTZsrWaMVwJ4OJa8a23r1x525Ob12WYYbBeHnt97lwn7YhMX2iuQLau/fKG+5vvfmJZzuIoufhAhlYzZ76/K3UUhj85lC0uxZzqV4ioFGDGolUz+qolA12WKtomoV2iKV9zc/Os1Ru+9UBe9Nrz2HtVNwEzsH///g5LlAea0kJtn7vjtrYHnvx8LK9BThmuyPKJaIqa6EUKxlwsUiydZyzHTU1Ko2hzQt9cTkbDpPO+W265ZUEwVOtWNB0yWHWrytDz410nSKf7qYYVy/Pd85auWBCuEMFukyGeHwY8cLrjAtWWaaImsFKzZCyaK/3gdMIflk4WsNGZaDSaaakUQMJXSwj2VHRIMalIZ8TCWy/pwPVVIrh4FmJoFf2ZofGIdx7rpffkqKnqxYXe0UFMSpvl/HLCfJ3w0tdff/3to0cOdzUi6Jumu6E5IIKAxn5u/+59NHLKls4QZKlX/33Tm2cvRuVZ1U5Ycp0HqpEx1dhy8i9+/pM9VLvmQMkW/x1N1LEi8ITmvyajXfrS3Mk/vfuRbHP5ZUXlMfAkj+/61ZvbfvziNjx3moIeETSSyaRyYt8fenVPdWU+k5GlRDT5Py9+Y2vnmZN76D2JEr+9arP9zGUMEKmsSK1ZA0Of/QKlciaty1sAsyXXe+kzVDowo91zddeeL2eFA4Y/BzZjgGItsse43m4JQPIY90wpwDBKOTPeR9pj/QPH1Fms+rR92j557f8EGADIKEi6pUvdFAAAAABJRU5ErkJggg==",weather_set3_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_6},Symbol.toStringTag,{value:"Module"})),weather_set3_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC1xJREFUeNrkW3tMVFcav/NmmOH9Gl6CODzqA7pCtQo+0m1IJT7WVT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k4NyWT1MJDf/niPYXx9QVSjxejlwlnz579j4R5nsGRh5+75/PzP5eHxY/7itHdUNOCQzvbpGF3UsOZlLD4+TQnJ+dN4/K30sN0SkEpfwZ5wNRpdsA8rQn79YefbAubYwwO9h1vQZbudjP3uDMBdrISJmlp9Xp9WLheLcQGaAS95tny3scNHXbM8zUamUoTmBjiI8TAaNWKZ5vU86j28UyCnQxgHg8txcXF1QbVoDU5zEdIM+gg5acTOuu+echUedR+TVtD7fcGvVJIDNUK88O1AndYZUWXS1iHwjpToBWTkLA4TCbT8JBCq09NTZ2n1mgUGqVC6G6u77j46ftnEFoqpT1gPirLSjpD4pKT5r+SEqVUyAUFcov2qv9Wnv/bZ1+wFNEk2ajp7X954KVDQHOMRuP8zMxM8f8Ybt68ebu2tpa8LUm5U6Km/FMOefYFGRkZKxISEmIRftqvXLlyFfeqQK0swZl1gDloJQs1gYwElvZ1sRRw2I55BduoYFaYaBnAx2xzBpjqC7MRMF8jZ0BUkgR/hAG1TbBRarZuROLgZvQThsyLa21uzpdJ5r6YL+0/pPF/AQYAWohllWiLkR4AAAAASUVORK5CYII=",weather_set3_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_7},Symbol.toStringTag,{value:"Module"})),weather_set3_8="/jarvis/assets/weather_set3_8.3b3851e5.png",weather_set3_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_8},Symbol.toStringTag,{value:"Module"})),weather_set3_9="/jarvis/assets/weather_set3_9.a3e45e75.png",weather_set3_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_9},Symbol.toStringTag,{value:"Module"})),weather_set4_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6c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HfXTHetkRPa3qOlgGulYNvSrmvO+Hfrb1O2KG+58Yex/G/K0HPCfHPGUfupqGvfDt+t1G+ZAGffoHv///zeM51YAAAAhdFJOU///////////////////////////////////////////AJ/B0CEAAAHiSURBVHja7JbrjoIwEIVb2gIFuQqoi576/k+5Lawb0F5Q/+wmTgKGhM8ZpjNnhlzfMPKB/z1MInOPhuEFOKe00mwJiOdhCSCtGn0HuUZtKbfBkYk3BzID4pSBDvqXboNb0PQrBeMxA4vVDrORTbCYX06U4v1OKRWjjnmGr02wRNaP2rG6WaGvA6gUQpAQnKJXD3acwxFeOCeiMRHfG0+Sy/jw4avHM53+P1Z288OdJutLwu2sznvnC9sa8s32QNlGbliidsO7qWxk54JbgLtpdbysq2UJR6Y+jh5YcYbUHjbRbcBOPlYl64STRRMCB64CjqUjYRVstXV3WLRzZFsGvtg0yYpeJawEKwI0AyWvwkWNRXMu4SEY9o4BlTXsNpywNbs8KgSPqoDzqKYiib20FpTo6inPfcC1cHaV8DcGP7GV6zU8YPSk62BasiEuWIu8Vwwgz04xIEaGDifuhCOPDFWzAO6dcO6X3rOwqqeW3qT3q+dkpU0EY+vAsk2MMRnZnRBe9PTTFoQH3JSfT6mLs75QDO3GKalHbIlMHTPUxTxiswe9d8B5Ph/apNJsr2vKnEHzzFqRaqAUP1k6D9bx7IQJzEJDtNP2d9fYvkpV0+sdlW8scXaXn8X1A/99+FuAAQBT6qUcRUZ0vwAAAABJRU5ErkJggg==",weather_set4_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_1},Symbol.toStringTag,{value:"Module"})),weather_set4_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+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M3P0J/a87a4uc/R0qWnqN/z+7W1tcrMzcPFxs/Q0X/O75aXmPDw8Pj4+Onp6TCw5qemp5CSk5WXmLy+v8fJypCPkMbIyb2/wPf4+MLExRCk4r/n96ytrre5ur/Bwr7AwZaYmejp6cDCw8HDxLm7vMXHyMTDxJiam5SWl9HS03DJ7piXmGDD7IuNjqqsrZeZmrS2t5+en8/t+ZOVlpudnp2en0C26LW2t8vLy6Smp7O1trS1tdPS0yCq5LCys9bY2Z6gobK0tc3Oz728vYmLjNXW17HP27CxsqCio4/U8VC86pmbnNfZ2tTW1ziv4MjKy46Qkc7Q0c7P0Kyur7q7vNja2yGh19ra2p6en7u8va+xsri6u9HT1Nna2pGTlK6wsdLT1BGb1VGr0K/h9cLDxKjQ4QCe4IaIiYmIidna2////w4qvhAAAAB8dFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wABatoxAAACuUlEQVR42uzW+VvaMBgH8FqkeCBWHVQrbQUcGxO2yQ43QN10MnXiMe9r933feRv/+aUHbWnTVrZf9uzx+9P7hHyepCFJy5z8RZgz/H9ghWEY6Y+wIuRVLbUpuV0sC6qV/FJ7WJlTnRHkNrBcU1sjtIEzqjtTp8GVlWWAXLzbo6VQ/JOHZuIuXMtklqQALNUBsrOciLnFBcK9o6tbvrjMw8xLbIZLU/WcTMeFHKRFbCdJ1YJCxSXIshi3apWWuYYHMwCRFovZLMS7u6lcceESJLErHHXZ9Q2rtOACgOjGeD+ZTNOXPS87cOEdpDE14gJ94WzMkM0xi31CFi7u2XLa0AaukM3xYd0P47T+7C7OmLgMkIzGunr8sMhxs1n3yk2ZuA77r/piXY98tZZFlzbxJ5hhewhm2SCMIzMtM28YuETWSsfR3uOQsR1YMTBPtpaJOwKnnnUMXTP/KgBs4Y6OHX+853jqNzR8buBZb58P5mwsnNBxZ+dw59eYl26OfLGwYB2MHHAuHImcvzA88DwajRLU97EiPhkZv/vg4YaJm/e4hlfIefLim9zIpevXrly9ON7ff+Py0BDBk/A2k8lsNZyXATnJ4mnwCwDJe4ctQ5o9DsVrn2GFcntKPNHrIfj9U+ALtKtXuzf3NncC8NrGNvBl+qVfrmuHbuHo6BbJHZJJklwud5vkHsk2+XVZ8n1jVEoQFL7EBL9uCszu619MM98fW+Xut/nw9/PgBEqYZWIMjVrNCIW/3EknZFsLHyA0EYo1e9+2qGjU03azP9YsOrQtSul1VSunQ7BujakaFrmb/XFK74R+aPWhXupTLRrNxWA8avTSp2qU047mRDA+0DsZq2qAQRuvhnzEpSbshanakzCaq2FfgPOrCI2Z06s2ByYP7WgO+p9T9h5MFO3+86mzL/1/Av8WYABAz+FidibpbgAAAABJRU5ErkJggg==",weather_set4_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_10},Symbol.toStringTag,{value:"Module"})),weather_set4_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly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yBgpGTlPXy5/TNS/39/vDiJfv7/JJ7e/TKPryfU/fTXPjNQfPpyfbJMfDcnPbflPnVXu7kxK/h9YuNjvDw8fTnvc62tpSTifn5+vTQWfLVdLi5uvj16vLy8pSUfKutrfjhle3t7tRLMebn6Ma+Tfz8/dIyMJuadd7e3/r5+u++HKqrrLS1tbVTU9DR0vvkmPrde8PExY/U8c3ERtrb3JuTc/ftzfPs1/b29t3e3qCflaChovbSW7pMTOx2HXDJ7rCxsvbCFYaIiffoHv////////bFgxEAAADDdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AI5OIL8AAAOXSURBVHja7NbnW9NAGADwHCHEVqSlpaW0tNACWq2oIIqgKEOGKCIKiOIWN05w77333nvvve9t+pd5WW2SplD0i4+P75dL2v5673sjFyr0B0H9x/8Wrs37Pcyz2kYX30zvM3bV20I+5Hfl2eqRrY94DvIjFzIV+hFa6Pf1Ec/zT2svzwwGC8vbgyZkszkccWIHIkGgHC38PeoJe5sMJOxeAZtMmasiOFi4qtDUA15rBinoJoKDUREbMwaC7N5AwGsnf8Ju1cX1pbZaHWw1A72dk6KBhp23o3HLgmYUnjIFZlhgrVw4yG3ZuqBONLt00vaAmeE4lZ6hY6eh0mg8E8CqtFyNm4aiKVO0uB3Ni8YeyFXZ7iXcJH7Yy4r2qXtuRo1ZGswAuFU4w8IxZMbJsJeNUfe9ALmyVJixA6uyL6uli4BZqzPRdFXPM0kHk5S2Ld2iGLjrM4rGKKa6VFXzWgDzw70Ka0lfohh2mq/9gTx05ShLia005H5M3K8suEKZhjXQkEv+oEha4cinxCx4BvRPTEgI/7oa53OaYHIB7or6O5oTwV6gU3ncT9YbcAUXHQ0AfOEtmUg5YB6wcwJOejRALBi36WDOI6w4hEqVNdNkaYnYuDmRLxhn6FnODUAWe7lPtSUBOBmnjjbeq8Z4gy7mDPCGzLIrNq47h2N0zJHleshkWhieqWi8exvGy+qMiVEy4VryT3iGUKMvT4nNEIjgrxhvrFq9fOmoqh11rReTkpJaW43Gs7fu5Iyd+vYJfPNpH71PyX6S8QmM8QcBzxo3KCVlSHLy8IEjBg/NmTB+7NRPNNx3aDHZyW4Jvyd249FlHR17DuJTWnwFDqgPDWGFGYBNFfDVYzgcx7U9P6fhvCMrCpNHBpvK48MRe1mb9qYzYNA9bsjOoJtG9bsZsZc0Nb+6QZ7FjP5ZZSVPbHgXsV2fv3R2Ll68aNGKFfPns+wufk/amZhHrNdzoStsH28Rj431ILdmu7vHw70ybNNrhA+cBWvEb4ZRvb5WlJSUWEJkR2GcL9o0aiLfjiyg0uJ7J1lJ7ErhanIaRb0WLTU3Pkw6rhQtRSJbtNSwuHA+xkfknEkUi1ZMv1dcgSssfFssWFLqGkrKoHecLw/0D8HMDTmFlmQQB87AbfLkiNlmU1IGveMSaZJCEjodCs2mYo+XGp+sDF/yE8UbJ9Gzi+PA3RmKm5HZTvHCmR3Xi+sLy/+X9b8Y/xJgABVj6ysETBn3AAAAAElFTkSuQmCC",weather_set4_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_11},Symbol.toStringTag,{value:"Module"})),weather_set4_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgt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uKKgbpaYmeldHcrMzfTEIehIR0C26H/O7+c6OPCcHdHS09XW19PV1rO1tvnZbbq7vJSWl+Hh4eLWMujOeJ/a89jZ2rCxsvbbHvXPHiCq5POcm9HT1OY3HOG3K/rgiomLjOLTnfK2HuDUqpSUfP3008bIyencK/HELfDw8NLT1PLFLuxlY6Cio7K0tebQhM7P0M3Oz/jRUNXKn22MmffKMpJ7e8jKy87Q0c3ERq/h9bVTU9HQxq2vsLi6u+TRkc62tuDHcdTLrIyBgpKUlc7FptfPsPvkmO3DN3DJ7tHMt/DiJZSTidfFhZiam6mrrO++HNja28LDxOLMgebHW+rHUMHCw+nNbLW2t9/GcOx2HY2Mgp+hovjNQf734qGjpK+xst7WtrpMTFC86rS1tc3P0I/U8fzsttIyMNTSyeHLgNlraZmYjt3XwtRLMebGWryfU+6QHZuTc8/R0vnVXurEQn6JjuHEZOTFWevIUb/AwdjMovbCFYaIiffoHtna2////1cgJUQAAADKdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDP3C3ZAAADm0lEQVR42uzW9V/bQBQA8Fyx0o4CXUuBFi+MucCAISvOcIYNGUPGBswFtmFzd3d3d3e71/S/2qVJ2iRNoWy/7LPP3g9NKt/eu3cvuVC2PwjqP/63cH7472GG5VeayCG/c8zYVK2zGVGcKVxXjXRjxMUoDiGkTCKvS+OMY8R9ce01RSFWa1JRjVWJdJ16vYdYT8ZEBPLRwbxHI+E8cwAJc54dK5Uhy53YmrQ8STkCrg0CLiIvEGx1CffYEACgzvqhUqmy4gHSXsri6nRdvgyeHQnqazQXjWo4+MYVd7wvQ44lE2BDGmg1tCMUWkhZY5WJMpNM2haIV9C0SJfI2HaU7oqbATRCS9/PUUNUbq4U16A+V2yBRJF9vYluY8qeEnVSPHIZqoyRYANAjgjHFtCK1NRUUvaUhdKKm2JE2GAGrchebeFOVPFSHcKXm8PNpDnahHZZRYGgcCtLohYKBk4XzbkWIH6Pr8AWVGwSlF3NzH0lX7oiFCPEpDsS13t7nRdMuFeYhkbVmEj+IIrrcGQU4jTY0Orr7VXn+HUL3ktLQpHo0DdQsRPngVoxjmAF3yMrcC/tGo0ATOYdIQh1OrEFsmg79qlvZSeMl8lgeoO94xBKF845krQWi8cvYVKPxbFyls4BIM1eZBRdkgA0j/39/b1aMF4hi+lU2E5W2eQef/yJ3QxMk3Z9p1QuReFu8a61GA9tW+/tIn0HrtyFnQhVGkU4CFROfBnjt+UaTXJy+eN+Hx8fouqX1A5sDfWbs2BjKTwwSm+9j8j1xOMXGOMTDF49TzVjQuikaVOmzvLzmzg5MJBgNTzTSzG5knNaWXyE2EsHhvZf/3wMH5biW7CFbw9BhwWAtt6On5MJ83FaOnJWD+zTx7jgdZGg7Wfwd6f9Kk37bA8EyG43zH3zXnLdRaf9Jpnz7jPkXmyQ36tmkzs2fHDarlelpUEkmpqa5pI4xFyTZoPbLTbPcqrLYc/dtO8aX4a57WMYgszrRtzcGxw2c5X9g7CZD9lvEqhRHysKCwuzbdmZBGewNpiazxynz6SCPXsm6Sa22362KJiinrCWqvIMk4EbWEuRiGAtleARzsD4NpszY6lo1rLpj4o3483ZzDE6mDFkqlUUl8HoOIMv9HG7qeISIBl4gAfxU35x2GwjKC6D0XEht0g2Du2w2RZT7uslxp8aHKfMQjEmjOjF0R7gO4OCN9MjOBIW4dGD69Hs/w/rfzH+JcAAHbBFBK7h5VoAAAAASUVORK5CYII=",weather_set4_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_12},Symbol.toStringTag,{value:"Module"})),weather_set4_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+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Z/a87W1tdLU1c/Q0ff4+MnLzMfJyre5upaXmBCk4s/t+ba4uZCPkLW3uPj4+J+en7S1tZudntHT1MXHyLi6u+jp6X/O7/i4QNna2sbIybu9vsPFxsDCw8vNzrCxsrS2t7W2t5CSk//68r2/wIuNjr/n97K0tSCq5NvY0f3szOHQsfC9XVC86vvQgO/5/bCys7O1tszOz8rMzf7x2aWnqK6trvzisv715aCio5WXmOnHh9DS07/AwaytrtPU1XWLlDCw5tLLvK/h9fS4SMzNzva1Pq+xsvzepbGztNPS0/3nv8jKy+6/aMrLy/W1PZ2en/a1Pbq7vN/z+4yOj/nBWdbHp97BitjQwdXOv5iam6qVbufJksvMzdLT1MnKy8nGvuGyWs/R0tra2hGb1fG5UuO+dvGwOOLBgZiXmMvLy3DJ7nK31JyVhrS1tsPDxMLExY2LhI6Qka2vsOXLnGDD7JGTlPrGZt7Kory+vyqXxem6Y8/NxtPDpOG/gKyur+jCe7O9wtHS04OrvNrBkvO3R8nGv/rLc66wsamrrNPV1uPCgtzIoTGo2erEfKKkpefBedXW14mLjKqsraGjpPG5UfvZmX6JjuzCcs3P0Om6Yt3VxuOrQ/izM4aIidna24mIif///5gYohQAAACzdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8ADym/6AAAAyBJREFUeNrs1udb00AcB/DUBKXFhkJpWgFrh8hSqRRZBQHZU2TJBhFx77333nvvve6S/oVe9rZB3/iC74vePXn6eS73u8slWPwfgs3h/wXjLhT8bzDp9jNc/G5yttjFKOKaHXYzqrhngzXWRBvgXBw/y+hyIjGmJjZCLsnzNNgfSIQnHFCKjjNMM26OqXXINHURNO0tzkRdvWaaAyaYQnfc5qGFdJUa6qAJRuMW03KITOOxXQcDelwA4UdaGSIKIWMYd0CL22FYISt30bQTVS3ZoG6o9Lgao4GdCjxeiX6a+LobcVyFQzBTYTs62F9PJBJpY1fNYOyAjMmQqlpV/XLfwxZOP7hLwrloc0S98oQ3XNKUXb9njosY2dIznUnS36v7VWX3CFtOrUkeU8juTVow3y5OGFTRmhCbwlqN89gGoXchwu+FCYNq2iDFGi1gB4zYWUwQ/IT1A3PZpF60AIdxCD08zliK5l0NxmnjtCl3XJAvmA2tsIg7u98A8NMEe5VDj4g4LONXAHyjzRKVcTCux9unwGTvgRd2Q0vskLCflHBUwp8BOFZf1OAt8nQnqWDGgDOl/IqIg6T4YCgK9g6AyVssHvMV5jh9Pl/9QNHuhnOp1xctXrJqbbkw5+CI4nl2wCaaw9cAAC+/927Zeufmjyc5zhWpqSvT0lYvT0lZxuFPEOIopOokQZvEaUd42xTCjwGX24U6XPcBhvQHINUOS70IHwZSHvl0ePgCdJAGpyf7UA3uuSfbI2M6/HwzhAWG53ZuO4Q7ZbufHYmtUPlwXd3gs4t334YRdRSYHPqU7fRRyf46zz2CX9cLxz/fhkjzN8aMZPP32dg8PHSKa+/feG0L2R5Qf3hXtbbEYrHWGGsbuQvpGFbGttk92BprXwZXER4VLZbN2iwMy7OEG5FtkSwmWCzdEq4BoEa2PYLlbz8RbgXgKdfpYwmaam0FJtxBYlwDZkq4Dm/y4nlcW2EFl4B83gq4TMCXreAvwiLFeZQVj09zON0CLskflfonkWVNXxZmvspKPNSiuFxbVst3sqctfXsOzX1vz2Hj/BZgAB+JZ+3/ZqtFAAAAAElFTkSuQmCC",weather_set4_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_13},Symbol.toStringTag,{value:"Module"})),weather_set4_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wd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y8/Hx8rS1tdna2utqHfDx8fCcHcLDxOUsKv3x8ehIR+hRHezs7crLy7u8vbO1tfDiJe3t7t/g4d7f4PGOjcPExPrV1POcm+Tk5ezs7ODh4uLi4u/v8I2Ogurq6/a4uN3e3/bbHufn6OQrHO7u7/Sqqt3e3tLS0+xlY++BgKyurtPU1Nzd3uY3HOHh4fvj47CsYfPCHvT09Pz8/JGTlMPFxYmLjO2DHcDBwdvc3drb2+Pk5YuNjtDR0t0lI8XGx+LWMpaYmejo6aytrtjZ2ca+Tec6ONnZ2r+4VJJ7e7eyWqOlpbK0tdTU1Zmbm9rb3OdEHJWWl8zNzvGpHfPz9JCSk9fY2Nra2+fn58jKyrCystLT1Li6us3ERtvc3MzNzeTl5dTKP9jY2fbp6dzd3c/Q0dDQ0c7Oz8HCwsfIyenp6aKgbtbX2NPU1djY2La4uOfo6MDCwuLj5NbY2NfX2OXl5uLj46Smpq+xsrpMTPDw8cnLy/T19dzc3fLy8vr6+5yensw5N+3t7dHS0s3Ozs3Oz/Hx8ex2Hevr7NHS09BeOLq7vJuaddbX17Cxsvn5+dHR0uldHc/P0MvMzencK/XPHvf3+KqrrMTFxt93Ku7u7re5ucrLzMTFxYaIiffoHv///////5gYC5UAAADBdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCINFSNAAADV0lEQVR42uzW91/aQBQA8AtTgVRUcCCogKhYpMPRVq211l1HrVVr3XV277333nvvvfd8iX9aLwS4BAJo+0t/8P2QzyPcN/fuLrkEjf1DoEn8H+LS7L/CjQZ8qEBOrA2FE8WFKKm0FCHkLE1CqHGCeAhx4bDjQznKmwA2GLIL0HuLHTkYxl7vKENZeXnVhePEfKcMU8bwwXWPksJgY65MBaC3Puf+rbfn5DAkPrdZLGFwgwx8oXKNIaH0BnKGwrkYmXNtGk3+cpzpu6UwyqouzJbAVkw1LB9azEe/B2OHvR4hCYz7detYf1QBvJoWrJlFqDq47AZsWWFgvUIC21FFMDaDXifCLC5lZGR3YO/lqCYI2wA0YsvqzJ55bxJzSzlyNgZgK+jZwHDJ3Nyql/SKdNk6frEJzlSBi5UKXT7Wor4dKKtAiI16gPUaVjqMuHM4Oei7gMVrfZj7+2WsPARmXZ6hl+z3Y+E66/SgGo6KXhwKsxqNzQ3+hXvqnW4eZwLY5FHR6tCau+XwyAY9eCNCBoJV4JZzWKEOp3F98AnfYDn4sSQThm8tLY+nvJWH0ypoYpg25DQIbpJMMLNeHPNFHYbnQwk3X3ljIizz4/i4OEVIbgToZcr824EEVsY2x4cY+91OeIE3oiwx1otwSlr6k9iYgAuob9FX1m6G+0NJNaKybWTCfFhbvGD61B/FN5o3paTdSS8+0T9j5ryFSw8DdFcEbL06gHwpPHtucvL8xMRZyy5o5njwGxhFhsB92woqI8YPOgh+tleAl/C4qxOuo6BNHy+guT8q+vc5grdvIfgij0/1gfmgIfiNgUetenj5ESl733lB2T8Pcfh4C65P8nVjw49V7Y7223s6tg4fOHPp9bGe1ad3Vr3rOvLh6OOeXR9/fVvVB4GWbAZa2Zp7/v0eWq6SvLW2lU+supDvZ4Vpg1Xmi9qv/lS28hp3tLq0YV7uA5XkbNEAyZWmyJ8VwjYKk4L8SN0WGdfR5GSloIiMhIgfNLSA0jTpV0krI30NKU0UZVL6Sib5WB1FUUURcCpuQ6V6h8jlN70lczmlDI8TuDbesQlz2oPp8fdcJ8iVHqwIjxW4uwRvGy5v97UvoqizRRFnOyNDsDiCXEFPfm9P4n/CfwQYAFmWukMdsSdjAAAAAElFTkSuQmCC",weather_set4_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_14},Symbol.toStringTag,{value:"Module"})),weather_set4_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZ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TV1tXX2NfY2djZ2tTW177AwdLU1fr6+sTGx9DS09HT1M3P0NfZ2sXHyOvs7MHDxI6PkPX19c/R0upWVfjHxsXGxru9vczOz8rMzcnLzP3x8fK2HutqHbS1tYuNjsvNzs7Q0M7Q0cLDxPDx8bS2t+hRHba4ueUsKrW3uPCcHZCSk7i6u7m7vLy+v7/Bwre5uujp6ZaXmOhIR7K0tfGOjaWnqOLi4qyurvOcm/rV1MLExbGztPa4uJ2en+Y3HLq7vI2Ogvf4+PbbHrCxstna2omLjJudnru8vcjKy8fJyvDiJb/AwbW2t/SqquHh4d3e3s/Q0dPU1OQrHOncK+xlY7u9vrq8ve+BgJWXmPPCHvDw8OLWMsrLy9HS09XW190lI7CsYca+TcbIybq8vOc6OMnKy7eyWre5uZJ7e6Cio6mrrK+xsvvj47+4VMvMze2DHayur9jZ2aqsrb2/wMzNzq2vsKOlpcTGxo+RkqqrrM3ERvGpHdBeOLO1tra4uPbp6bK0tNbX2Jyen5yensnLy993Kufn58jJyq2ur6Kgbsw5N6SmpsDBwcrLzI6QkcDCw8TFxs7P0MXHx/XPHux2HbpMTLCys5uadYyOj77AwNTKP5mbm6iqq83Oz56goZGTlM3Pz4aIiffoHtna2////4VCcQsAAACodFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AJlf7PQAAANPSURBVHja7NbnW9pAGADwC3EgKBVBEAdD6watVRS0VRwgauu21r1Hte7Zvffee7+J/2YvBMgAgtYv/eD7Ic9LuN9z790ld0F7hwh0hP9DXJf1TzhLjy+dyI61vuaguAbp6uoQQvY6HUIrB8RziAmrCV/6UNUBsF6fdQoVGE3ISlGmeqsbFVVV9dfsE7OdUpSbYoPpHukkcHmrTAPgMo8z/9abCgooLt6vG40SuEsGgdCM7SG+9AeyR8KtGNm22pVKz0WcuSbDYVTUX5MVBpsxVdJs9GC++DAUW031CIXBuF8HSQejAeDz2VBNDaP+0LK7sKX5gfWFMNiEOkPxEFSQAkxvAayuXjsnwn1oMAQ3AyiFliZtvnmfEhZv7EP2FRE2QwUtjo4WR4sFoHFUoN317GJzOFcDHXS4ID1YC0q3oqJTfFzu4q2SODJx5/B0OlC80W8DuBw/kUuJcREw3eEbeuO3IOavc5MLLPLYmJhImFYq2x0QXLgP/ulmcS5A+7HYmPi7tET0VABM+/B1hPQc1oAjjsHkhJQmscYTN1yAX0tuwvCj1cPihIQ4KW2BKYpaR3Y97yHJBRvtx0lJ8RLcA43MfFXtCXBLECemppIReSbAKOUObgdh8HGVKjE+Qt1euIE3oiIhrhDg9OyMDNW46CWZePumodICz+Z0g4Ky8StBinBm25nk5Jm2+Z/pO9lrLx+nvD5ZWJxfuQEw2SnaepsAPOGw8nRKSplcfuL8QGmJD9+DRaQX79tmsGRirLrM4ZkBHs5n8a4XPqKQTb9JA7b52JjZNQ7PyjlcwuLaVzB0Wx96YuBRWxr+fOXKfrfAK/tOKYOXvoCmPOxx04xfq2rZkzL59rZviAu1hcXF+TcrK2s/LddW7278+HUFxJbbDEZk3+8H93v4/ZzLvdVeNjE3RTyfFYYdsywQ1VeDqezSMnM1j41IHO6b3dxd5yaXaw3RPyv4bRQGBfcj51F03KvmbnbzishLi/pBo+ZRtZrrV6vWRvsa0hoIwqANlMzle70EQTij4BzchsjxD5HJH/hLZnJCK43TmDb+sfFztQ+r999zLy/X+rBCGitwd2n+Nkz+ItDeSRC3nFFnOy+Ptzi8XKE++t4+wofCfwUYAA45pNrWS569AAAAAElFTkSuQmCC",weather_set4_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_15},Symbol.toStringTag,{value:"Module"})),weather_set4_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh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AwY6PkOfn54eIifDw8MnLzMTDxMHDxMzOz+Li4sTGx/f4+PX19bq8vbS2t7W1tc3P0M7Q0dHT1MvNzsrMzfr6+pCPkJaXmMjKy8nLy8/Q0bK0tYuNjra4ubu9vr2/wLW3uNPU1fj4+NjZ2rS1tZudnujp6cDCw5+en7e5usXHyLW2t9na2sPFxsfJytjZ2aWnqN3e3pWXmLCxstDR0sbIybO1trm7vJCSk6Cio7i6u66trq+xss7Q0Ly+v5OVlra4uOvs7Lq7vJ2en7S2tsrLy6Gjo8nKy8/R0rO1tdLU1aytrtPS07u9vbCys6qsrdPV1r/AwcvMzZaYmb2/v83Oz6utrZ6gobGztL/BwautrszNzsrLzMjKypiXmNXX2NLT1JeZmrq8vI+RktHS08jJybm7u8PFxayurtXW166wsdPU1KaoqcnKyqepqpGTlNra2re5ucLExMvLy46Qkb7AwIaIiYmIidna2////3sZfvkAAACFdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBtaF5CAAACu0lEQVR42uzWeVPaQBgGcGJoghINCASlrQIKeBRBEa0XWA4Rq/WuR+193/d9btYP3l0C2c1FhnY603Z8/uEdJr/s5s1mE8fxb8Rxgv8WzHlRuF/BYigi1xIJia1ir0zF2xoOyZqEWsE6a6FN8DjHeWVDvtljaeMSqKXrlA5HknZ4QwBqDFyWlzhrLF1GZu6IhdAzFUWlUctLSQssoRmXYrCeo4SpzlhgNO4UJGGj5mN7PyeNeBqAQ0iHLQIgm6ax5AheAGmoTQB1rcukb6j1nBajgQM6DOeUvptxToNTIKq3MJbL5Ur4rpmMnSRYTGm7RZ8BN844uFfF42hxJLbMca3txjXzsIGRTfS6nBYYxupLTqtFBUvIbjldj8agZdi1tF5zCmYA8HQ4Xe1vYLNM6XQdCyAHMWbZpnpNe9OSNcwBEFPwuV1nM12iV1xGaRiD77CCz7ZdaXLhHnrovQZOE9y2vdthqYsEZ47N8JnTvrzF8M60iiOiiota3Nfv8eVZ7Qmc+cVqfKWBM2LjwaAapuKBmcVsdmDmhu9e39X++90ThaHR3gvxhIIze9TzLIA5BbdtU/hV4Hx394TbPTLc0zM5ifFHADgUUbOToEUSGMP4a5Zg91OCX8Yxjn8HKeMGKC2AhAfh/Bcy7ex6gODeIYyfAEE02T3xQ1V53P7jAcHV4ayKyzvlyaHKMwCmTfft8QW86d7scY+MVNElFsoFxyjuUPz2wUHl7c7h3VvoAGHaYtOXGAG8/0R2/M1rpF7ZrP2kROs3hvThDqNm/TqpmdcvmBTzXGr6rtoPkn/5VVLPz9p/GdDHrC6TOrwftsd+6hg/NYlgp903iZ/n1WPoOrjMvwvb4FkHSl3MU3X4Iqp5G8xjMFjvFVX7ce0I/kFMT9Xf6rRRkwbVJnVSNWrYbPif+3A9wf8N/inAAITBPKpdXqgxAAAAAElFTkSuQmCC",weather_set4_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_16},Symbol.toStringTag,{value:"Module"})),weather_set4_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBN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7+/Pz8/Ly8v7+/vT09OhIR/3x8fj4+O5zcfvj4/Dw8PjHxri3uOjp6evr6/n5+Y2OgvGOjdzb3PCcHfHx8fX19erq6uHh4fDiJehRHeldHejo6O2DHebl5rKxsry7vO+BgPr6+rS1tcPExPbbHutqHczLzPHw8epWVXt6fN/f3+c6OPf4+Ofn6KOipKqpq/SqqvK2HouKjPPCHtnZ2s3Nzuno6cvLy/GpHdvQObu8venp6ZOSk+Y3HMjHyNLR0pucneXl5eLh4vDv8LOys/Tz9Orp6oiHiedEHOxlY7VTU/rV1LCsYfXPHtna2trZ2sfGx+LWMpuadejo6X6AgdfX1728vuIpHuvq64qMjejn6F9fYfHx8unp6piYmfz7/M7NzpOVlvX09Xh2eJybnfa4uOx2Hca+Tc/Pz72+v9fY2e/v75d0dd3d3d3e3qqSk/f39+Hi4sXFxZ+eoIyBgnBwcf38/fOcm9TT1cbFxuvr7MrJyu3t7a+xsfr6+8HAwcfIyHx7fPPy87m6u7q5utHR0uDf4LGxsrGys4yLjOUsKtTKP7Cvsb+/wPj4+Wttbsw5N/foHv///////6q6lxYAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFfUlEQVR42mL4TwFgGNU8qhkBiijQXFII0l1KsubCntL/tRkZhUWlJRnlJGrenpGRsTWjtT5jOpBRQqLmkoy5EzO2TPhbnzFx58SM0qLyciI1z5kyZcq3tr9/d074+/cvEM/PAAG8mptlgaB5BpBVm9HamlH/FwEudXRMxKO5rE+TEwL6KoGa/2KADtyaZYG6bPv6+5exARnLerBqLrlYhFVzHydnaPM/MCgDsm8cxtQ8txXo7TlYNAPV6/+Dg2ZNzn1/sYG2jFJMzYs5OSv/IYFKTSUGbJoPb8V0dpkmZ1R2cW8mkt2cnEsx9S7JqMXU3MfJZrOnW2paYz5cN9AfnDU70AyYfzijB0OzpoSMm6mGade6HLjmMkis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ZXWtH91koxiyY7RG//9O8Sn/u88nzFQN5cuK576OTObdZrA9aYNqRr/KuLtqhTnaS2/aRGe6PvP+O2FlJvt/nXZeCv3nGl7gA61DvoXZA2ktZ1l9Ey0jUDZyXy2ngHXdfxtkqzOCvN2UKkCLEty75ucWcCx9qCW/j8HJ4dOjoNV2fg1Z67ncgoQlwfaJSAux2Qmcqe3l+X1v/Z/gfzV2dVZBJpSmVXGs4FFaAMQ/js2y21tzv//kxcbx1YYV2USboflCIEiJ/z4vyA2IB3N8Qrok7xOG8EX2UQ04jL3z9Zf9DrY7J+/6pVNV9xZwC7NysnJJKr5WLC6ws7fuuDfRhVpR3vdPNLanlknph1kt/r07+YKw4M267NIbLhmZldP7p7UJeqztjg7k4xWbw6L6QZj3jtkNplzWPMas4dxNwEgwAByIXtaRpUTEwAAAABJRU5ErkJggg==",weather_set4_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_17},Symbol.toStringTag,{value:"Module"})),weather_set4_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xL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Kamp6alp2VkZp6en5ycnZOUlcrLzJCPkYqKjMHCw4CBgq6srquqrGNiZKKho5iXmJaXmJaVlpWUlZOSk5ORk1pZW3d4eWhnaVxbXVtbXeMeHPGOjfPz8/Ly8vz8/PT09Pv6+9jZ2uPj4+UsKuHh4eLi4vv7++hRHcLCw+c6OOY3HPf4+PPCHvbbHv3x8fX19fvj4+tqHehIR+5zcfSqqvCcHYuNjvjHxvDiJeQrHPGpHfa4uJ2en6Kgbu2DHejn6NfY2edEHMjAS9na2sbFxsC/wM3Oz7q5urCwsePi4/39/b69vpuadfrV1NvQOY2OgupWVcTDxPTz9Obl5s3Nzt/f4KKio6Cio8jHyLe5uq2sra2ur5SUfJ+hovr6+svMzeldHe+BgJCQkr/AwampqkdHSLKxspeYmVdWWO6QHaCfoJOTlaanqdLR0qmmaLVTU7ZgU7a2toiHicXFxvDv8NXW119fYHBvceLWMt0lI62GYdXV1m9wcnh3ealgYPLy84KChNHS029vcPOcm2BfYfK2Hj08PsHBwq19fbOztMnKy3x7fbCys7CusLCsYdzb3Mw5N/r6+2NkZdna2/foHv///////wfDqmYAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFgUlEQVR42uyWd1xTVxTHCWKMAVnXAIEwBaLIsGgIBopiAGUVcFBAkQKGChURqSJu+zIIe0RkiqIoKK46qtbgwi2ttmLbT2vtoNbWttpta3LofeEDJGEotn/14++PvPveJ997zj333HuOTte/kM4L+AX838DC2ueDa+u6uuoIorZri7CgapjwMYIoExJ7qokTBQQhHCZ8lfignGioUFYT5TtKCvCHLc8I7xQKhQUlSuWOzUr8o1RuJWoKiBNDwrJCLJkqTATWVmWfrpRUlxCDw7KMRqRSY4YMw0plRYVSQ7sHh1tYmMsJCwvDD1YLCWtrN1FXNTAcgVAyfawCayw9GaFvB4C3NuDw7xwA9kfIUdErd4S+Vg6gzXuIq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4tpgCTVoFPLOYnODHEQ5TYytb4k+5LFhsvK4J352Sfd01b7A0QsglH2zMbp9BBtztD1WeprIlbBGmvGAHNk9sJTEq895r00DfhIH9Ve6AoVK4zZHE/PJMMb+wIWCnAz0WnF8V+SJuBR+ddV8xwi22SDN0ZTHELwFtqCuT5WmXByDMval0TAZaJpaZmVEvZUxqaSqc5gqRlmHw04t7rqYWyS1IvLoiAJpdJx0ie1g2JzwY4AASpLOuv0C3Gf5BPNzq5KL/46a3UYa995PF6CCvX4Wfg7b/xJ9Ep3VZv2bP0YUFHzuaOH50Jsev3tXrPMVN5KikuljxTBzhG9wj3FgXvM2X1H0f2Txlm+1hZSO1cnA+6a2dRzWYWD7f3LB4TNN3hfXPbU7JLkudoXKVNDNeAxzrP2fVKZKJK6f+40/9HgAEAzsV9/h3nkpQAAAAASUVORK5CYII=",weather_set4_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_18},Symbol.toStringTag,{value:"Module"})),weather_set4_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8x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mKi8HBwri6u0xLTW5ucGppa7S2t4CAgVpZW7Kxs7GwsX5+gK2srb+/wHRzdJ+en2xsbpmYmZaVlo+Qko2NjouKjGBgYoiKi2BeYIGCg3t8fnZ3eG9wci0rLoaIiYiIif39/fj4+PX19eHh4fHx8YeIifn5+dra2unp6fv7+52en+Li4vb29s/Q0a6trvz8/PPz8/Ly8piXmPDw8Pv6++Tk5Pf4+PT09NfY2fr6+tXW19PU1dDQ0sC/wMvMzejo6fHw8dHS0+Xl5ZSTlZaWl+Pj4/f399va2+3t7Xh3eby7vMbHx/Dv8NLT1NLR0qGio+jn6MjHyM3Oz8bFxpCSk6enqF5eYOjo6HBvcYuNjmRkZoyMjdna2trZ2mlqa8TGx1BQUdvb3PLx8qimqFhXWGZnac/P0Xx7ferp6qWmp6alp2doaaSjpOXl5t3d3t7d3tDQ0J+gobi4uqyrrbq5unZ4edfX2KGhotDP0Nvc3MPFxt/f36CfoLCys83Nzs7Nzo2Ljb29v729vZ+foEZHSJGQko+Oj5mam5qZmsnJypWWl/T19ejp6WFiZFtbXFxbXeLi49TT1PHx8tvb2+Tk5YyOj19gYdna24mIif///////1CybKMAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFFElEQVR42uzWd1RTVxgA8ABJWBJCwAJiJKwKImWPAnIAyyqKgIpCAQHFWkTr1kLB8ciAhLD3kA0qIuCmoqjddXTXNtTY2mqrle6dfO19SdAXEpaenv7j989775z88n3vu/fde0n/PEKQHuPH+FEwh1bGQGFZOH3MsZSOBoM3TVwYLSWE5bSwspVKQ6eBx1qpdPmUcPV5JpO5TaoSvMlxRxEmj4K8MZjB41VPiH/EqU6SVZKOOi6VVgnGx+cjsLNWRhI8jKzOYpiqVm4cEfNQVjmVcZ1JNQHXRWAhEmKEYJgqljLKaNWq2ANbXbq/gYCNrLECqdoI5YzB1braHw8zzN6hP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kgx1Ddxt09xh8uhECTpRMvEsedkQp1rjCgUh0/fyqw4pAh1VcgBWbw/1aYmrLJ8btdM+jgGbYQWTdjJdRRcU3GGXwxlaXzg9JxYcm2Z9LfLq0l1og2b8vK4ehxeXXHA7lnAHRV9wavnCyzb3+xFoynhmfFW50AR9fWcl3QuMP1kzhQNP3IlJkfdiZga4kGuoQm9umNa+NM5WjVOWtaxBzNwUEOXRv+JrEl00/obB8Soe4xnl0cvSdLQD2lOTbLTPZ0zs+cmup1CN6UBHUIhLMrJnu2VPYyBUtP2Lq113SWP4QB1f2k7NtNX5rZz/cqZfNqajns//X8/Z/i/8VYADcXsw8JjVXsgAAAABJRU5ErkJggg==",weather_set4_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_19},Symbol.toStringTag,{value:"Module"})),weather_set4_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0d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yuTl5YyBgo2PkL/Awd/f4PLy8tTKP6utrvGpHfn5+sBGRe3t7sDAwejo6O/w8Pn4+Zydnt0lI7Gys7y9va2vsJGSk4aIiffoHv///////3UdyrMAAACUdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBFOVEBAAACp0lEQVR42uzW11/TUBQH8FMKSZHEEoimpbYh0FaxirtaFG3pwJa9NwjuvffeW0/iP+xNutMkLfhofw/JS76fe+7NubmBP/8QqOM6LsQnbQn7BHJhAHrITehhNoUFwoRer5sltx4AaVPYAywAuEdk9cayIGwGLy/JEZZYWWbZiBwh1YcYJlQd+yS/ZwhuyKWZADVMdeyBDfJgrAz3TYTD4dqwbJg+a8w5nVvEQZFGEjq5Yoq9/jXBCAd5VXa71OulLkMcm2PdAL4KzImIfIpSSAJRUsCwbJIJCOkxRwZMK/lwA4j3TLDbX1G2iHRAKUm/2djvslWX4pTOatpw3iwM6TBHY0rRRcQ7XQY8EgcpVIZt6NJbhdNeW6LSh8HbW4p57K/AStSlvbbEWf3Y7jLsRFoxDpVGvFWuY0vQWyybS5LWUMwSoDEx9qgEx0ubJEBqmw6YYuWcOvXZ4cLwG95ik5DuePGkqcEcK/1pkTTu7JtCf/sLWETesa2p0Uqrw5PyxnJ6QdtaoK0Vfm4guFGpkoF808QWYDmHRRxoULHdXl1f0N6yG6T8aiNSWdz8ddwac7xa+BxITL49ncgrOdyy/b31xFOYkOWR3L7I4u4ibnPYrTiFSMrO7QsDvHPHlMXKaTgumeNdHa8dzUazb/t4FzFOPkJQwKQUPd5N7d1DdTim7Lk52Fuuf7n47HRn52VEr9+zxhS/nmQ/GeAzJ/YdPXLy8IHW1v0Hj586dKy9neAHeNtfflbZkK8V/8YPnnJMtny0NvwWn3+/qjsl7yPaxmvAPxBXvIL+iA0iXntVDT/9hhg0Op+D5GN1fvrTy/n5KzMz6+s/o5lMZnFxdHT08eDg4OTk6urNXw/JGRQ0/jOgklgtdJIy/6Fx2izjrP8+1vH/g/8KMADHHNXwLyclrwAAAABJRU5ErkJggg==",weather_set4_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_2},Symbol.toStringTag,{value:"Module"})),weather_set4_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkU2MDY3OUIyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkU2MDY3OUMyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRTYwNjc5OTJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyRTYwNjc5QTJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvlVOpAAAAG8UExUReMeHOHh4dTV1snLzNbX2NXX2PjHxtLU1dfY2cXHyNPU1f3x8dHT1MHDxNfZ2tDS087Q0czOz8rMzc/R0s3P0NjZ2o6PkMTGx8vNzouNjujp6fGOje6QHe2DHfrV1PK2Huc6OJWXmOpWVby+v7CsYbm7vMLDxOhRHetqHcbIyba4ucfJyuUsKsDCw6qsrb7AwcLExZOVlux2HZudntHS05iam7u9vu+BgLCxsrq8vfa4uOhIR7W3uL2/wLi6u/f4+JaXmL/BwpeZmr/AwaSmp8a+TaWnqPDiJZaYmeQrHJSWl/CcHbS2t6ytrre5uqKgbrO1tomLjM/Q0eY3HLq7vO5zcaCio7K0tfSqqtXW1/bbHo2OgszNzp2en/Dw8NTKP+ldHbS1tfGpHdna2snKy5CSk5uaddDR0sjJyrW2t/PCHsrLzNbY2ZSUfK9aWeuVlOncK7eyWpucncPFxtIyMKiqq4yBgtLT1Pvj4/Ocm+xlY/XPHqepquLWMtPV1sfIybi5us3Oz72+v8vMzc3ERueKJJKUlZmbnJd0dZyen4+RkudEHKNnZ7VTU5+hosjKy4aIiffoHtna2////1dPl/IAAACUdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBFOVEBAAAC1ElEQVR42uzWaVfTQBQG4NsUAlhRQGlJE5o2QFuxVG2LraC2ymbFiuzIJquAgPu+7/tyE/6wk9AlCUla9Jvyfsk5OXnO3JnczAS2/iKwh/8x3OH4c+yBTkXTu8Ns5wSxIZA1LcDErrAXwBsPAReETgEAhN3gDggEiQmKIrkE+G/gKQ07aPLgKCyIzyIRkSTCi2I/CGxcEBxFMQ1y0qImaeUmXQIeDgQCnBYvcDwfKQk3ioZptMCzMX+m2++3WWD2sTG2dWM2D398MMPk9Y3SO3BSodGxcHSZXKfeG+sbXACgQ4/dTsTlEUqSY+8lvFk0STqkL1u2a1I+QylT3Q+jOpz0IWOXVKHI4D2GeE6pWo3nEV2SNimcum2Eh8Hr0eBZxITOSkMMbg409/Tp8eQcAKvG88hQeiwltl/bnb6ds4a4CjsxvMNK1FgiESX6+gsdDsofeA4nM4h2yThUmGjt2ByEHPmyF8lbYiTTjJDBB5qv5S0PUFiwGKHVG+ZYCitT38zxyeFChy0i+lbLyuvNMeUaSaRULceDN1t20ompisqy8quSdVyqlguSxVawH3HpAMEUVURLuZabJF9WaHu1fdhbr+B9L+uL6ChOkWXn0hBit8t2I3ZlccX+cms8pAwdgbgj29s2RCmPD1ZsWOoxHJDbi83tJH4NPlSzYrVwa4hkN4CnZvhw7eFYmRl+i8hzjeDdKpRNaXFDnb2h5pG+gMqVV03jzxGVrTs351n1guWw/eiRqqrVX9Nvaqen39Wtr99ra2k9fenK+Bf87H1Cewq75wxGJUPsOl5d3Xbu2Jmmk6dazl5WMIM3Wc1ZRTq7q0T8E/H+hPagm0FmqSQcHsTvQGsx2TaZrhLwg0F03hL0R6y86d59XWeJW8PtiE63wfnsnpG/16+f2knOy7lA4iO5SHJCzsdB8kB30vjPIJbBYsnYLP6GbJZx7/177uH/B/8WYADfF8O9pkhA9AAAAABJRU5ErkJggg==",weather_set4_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_3},Symbol.toStringTag,{value:"Module"})),weather_set4_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldC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2IiIidPU1dXX2IeIidDS07q8vba4udfY2dLU1c7Q0cHDxNHT1NfZ2snLzPDw8MvNzs/R0r7AwcTDxMXHyMrMzZCPkLW3uLi6u8jKy8fJysbIybS1tbq7vLm7vLK0tb2/wLCxssPFxtPS05udnsTGx4uNjry+v5CSk/j4+MLDxKWnqOnp6Z+en7W2t9jZ2qytrrS2t7/BwsDCw9HS05iXmMrLy9XW166trs/Q0bu8vZaXmImLjKqsrdna2qSmp6emp87P0LW1tcvLy46PkK+xspaYmff4+LO1tq6wsa2vsJWXmL/AwbCys7e5utTW17GztJ2foKutrr28vZiam6epqpWWl9PV1s3P0Nra2tbY2amrrKyur9LT1J2en5+horu9vsjJyoaIidna24mIif///4iV5KsAAABpdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AKA3ZhoAAAIjSURBVHja7NZZW9pAFAbgiYAgLbbEJhhcSAMNjUQWtQULAuK+Vbvve0+G//8LOpGEmElmDO1l+W644X3mzJzhDGj4D0FT/N/j2qFMgv4G6y08Sks2J8S1OvbSQhPhmoJ90SfAtMX4c3Rcpy1WzKhYxsEcRMUKDouyd2jeitF2PI7Do+hc3NyE6yQZXmfj3efEVcrlru3DuY4YeIfIRsciEdQKWZ1RfBuF4AJAX7DclNgat00abwOo1o1ccnTd9GPxCBqWLypr3yR7flyAskWlCslknHPsYywCdGgsjNoWZy2NvB0HFiaFl0p91rHfwKTDDSs8qhGqkYtP7XuVZWAra4C9eQY+/QFw/sViphF2Y128Ccbv2OwGW1vCZdWgTs7ZMwJYvhObfWZx0yn7dNvBAzi+T7Ag8DVpO/iqtjHpcOIaJz5ucLFQ8ZZ+69ywJunwCN+9xy9dHffswP1hrENpjFMpHhecuhV5GIofZDIv2cV37brrsjhk4ZmZhUwi1H/PnQCixtAudCm8mF1e/JQSYp5r7q9IaU3rgUhhctr7Abyymnv8aH5+NUc+pLmHS+l0fkvrw1Fgeg6gysJPn0jFtTkXn0AhgMkNk6Lg9+CvenS3d8CQbsdverAe9mKQuTlY4OOz10AVPR4GZGLDh2/5YnHtl/3VpRfpfH7rTNNeXV0dn19cfP35rgf0ut4kQc4zw05B5L2SiJvpP8ApnuKI+SPAAGDTDZn0oA9jAAAAAElFTkSuQmCC",weather_set4_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_4},Symbol.toStringTag,{value:"Module"})),weather_set4_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNFNEYxQzkyQTVBMTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNFNEYxQ0EyQTVBMTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0U0RjFDNzJBNUExMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0U0RjFDODJBNUExMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhXpEZQAAAH7UExURQCe4OMeHKSmp/7+/v39/Y6PkPv7/P3x8fn5+fv7+/GOjff4+Pr6+vf39/T09d7f4Pj4+PbbHvX19fDw8OUsKuHh4p2en/b299na2p/a85WXmPLy8/Hx8vPz9PK2HsLDxMrLy+7u7+jp6ejo6dvc3fSqqkC26O+BgLO1te/v8PHx8eQrHOnp6uzs7OhIR+3t7n/O79/g4TCw5sPExLu8ve7u7u/5/epWVex2Hevr7OLj5PPCHlC86u6QHd3e3+Xl5uLi4+fn6Pvj47S1teTk5dHS0+rq6+tqHebm5+Hh4ehRHec6OOdEHNvQOfjHxpSUfL/n96ytrvDiJc/t+d/z+/a4uNDR0vPz89XV1uxlY9jZ2o2OgqKgbuncK+5zcWDD7M3ERtLS07eyWq/h9YWaovGpHfz8/CCq5O2DHdra22WOn+ldHcnKyuvs7fOcm9crKouNjr+4VKNnZ/r6+7a3uOTl5s/Q0RCk4tPT1MrLzOjo6JuadammaNTKP8zNztrb2+zs7cvMzd0lI+/v787P0Lu9vvLy8vj4+dfX2NTU1bW2t9vc3K9aWdLT0+Y3HPXPHqutrdjY2Z1ubqepqr6/wPCcHc7Oz9bW1rCsYZCSk8XGx6Olpp96bs3NzsvLzNbX18DBwtPU1fHy8vn4+bGztIaIiffoHv///////37MJ5gAAACpdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD7b3sWAAADFUlEQVR42uzW51vaQBgA8LwIxoaqTRlFbAFRQIu1tlCxVTu0lIp7z2pdraN777333ru9xD+zlwEkIYHw9Fsf3w+Qe578kvfeu8sdsfwPQazg/w37akjuj8wVT1Dk8gAA1r42KkfcDGANWCEONW34iswNByAeBHjLxABiS+DDTyP1Yd8IRVmBppvqGYZpamAawAoAxzJhb6sn2mrhrih8K8SYVMThWTtQmtgSdiI+nG4zxk0u13NGFi5t7Bagifs1eShwMcpwQWSAVMNmOyZhL4vDVon5qVtqGEckHXO2x8yKYTEg9IVOwww9F4ORdNyDkIeVBH75NKMS9dyIKXAUoRDLKnSHCg4CmYadyC63rBlXfmx8+oDcNgQhQiqwAyGbArNTwrB96JXrdrB2ynFL2otxhBxTYTxul+WaDkJAirnahlj1CCE03iHJnW6HCWnaDvz4z+UamPVwuXed7E1Wu0ZasFY8OY7kG7Uwa+C7PnZVwHPQJimY2YRMl4z5q/JY7eCn3EFBL/FdFnELQuV5GK/OpFmvXRx2uh4gWW384so8Hhdk1HjYu7iFHQQrRSYwHmGLiH/nZ9I2PvE4BCQzzI1HWMRrCu8bM2g7usIw8+LUTmBDCq9bW3hIE4dw3vS8UC51XLShqEDDLyCUWs4J7JTj0vUb1xcVnJY5Y2HZ2YpPGNdQVKcESwqWxFVl2zZvulF1u3Ro6N6vo9XeLcXFOysqHqFXQMq/29xQsWp4+77q8j37d+3dsdsm4I/oiVX50ceTxKsHn0HoeESJuenpzY7vIhRubk7bbriF4TFmxqN/ELKb1fYqbkmaXvwYfnx9wTH68sH398MPf154Gh0cPHfn3ddrN79dfPP6BEIGs/ouaWlB2cLk1t7cLZ4eAx+Ls4ZUzC6KF+GojpNBXSNRm2rNnCdyOFbUbSWI7mSrhCD8+jFniT6JJRp1Y94SUivtQ2Ys2MNSS5ToxZP87WKi/Xwj1YdsWLhdTLRWaOk+xPFZJ4o9wzf8unG3tMvL/ixdVla7r9E/2Z9s1fr9JSvn7RX8V4ABACoxpcsvqONwAAAAAElFTkSuQmCC",weather_set4_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_5},Symbol.toStringTag,{value:"Module"})),weather_set4_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTZGRUE4OTAyQTU0MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTZGRUE4OTEyQTU0MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBNkZFQTg4RTJBNTQxMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBNkZFQTg4RjJBNTQxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtcXNBgAAAHaUExURQCe4OMeHMLDxMnLzMzOz9PU1cXHyNXX2NbX2NfZ2tTW19jZ2ra4udLU1ff4+M7Q0dHT1NDS0/GOje5zccvNzs/t+eHh4RCk4pudns/R0rW3uIuNjri6u46PkMTGx5aXmLq8vcbIyepWVZWXmJCSk8LExehRHfrV1NTV1vPCHutqHbm7vOxlY7u9vr2/wEC26PCcHcjKy7/Bwu/5/b7Awby+v+UsKjCw5sPFxsHDxNXW18DCw/Sqqujp6d/z+42OgrO1tuQrHP3x8fGpHaWnqLK0te2DHfvj4/XPHqytrru8vbCxsp2en+x2HcrLy7W2tyCq5PjHxlC86qKgbqmrrPbbHtPV1vDw8LCys6+xsr/Awb/n962vsJSUfPDiJc/Q0bq7vLCsYWDD7OY3HIyBgtvQObeyWnDJ7s3ERuncK6Smp8zNzuc6OOLWMrS1tbS2t3/O74/U8Z/a8++BgJiamzKWv9bY2edEHJuadfK2HsfIydIyMNna2tfY2ayur6Kkpc3Oz6utrtHS06lgYJu5xrO9ws9UVKqsrXKuyNLT1ImLjN+9Mre5urGztK6wsY6Qkb2+v8TFxqOkpa2ur0ubvMfJypJ7e6Cio9DR0sa+TYaIiffoHtna2////zydvTsAAACedFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8APofj+AAAAvdJREFUeNrs1udf2kAYB/AcCNaqsSUaKQhUQBBqC9UWWysiinXvverW1q3de++92yfhf+0lgGQRQ/uuH39vyPG5b57jLuSOiP9DiAP8n+Emp/evsJdqjcedKOSNt1JUtphCiKpC/mgIX6DWLHHI40fIz/iiyN+MTFlgk8lEoSDTFmQYxtfGMJ6QEwluoIRHaZoO81d4oCjKpNPs8XSr4dEOF3CxbdIYX2SGfYw4mTHZwUGz2WzFH+0kxrIgZ78yJruwnGC56GMAi3cV8E38U6oUMLZWO5uK3gGLb+WYGQ4q4lVw69l0Kh0wfUlBN6N6Oe4Bq9Bi7YY5BexHTXJsg15WHDvA4ODykgR7UFWTFD8BNyvNT37ZBjfEuhuF+iW4XVaYZWfsdvtLK0Q2pLXrRXh0E0DPKgZPXGTpiqgyJRo2bQMYYtmMGmB6OeVvS5YqDOBay83PpO1mM+aRy8mFjq4LJ4y0QSzvUG4dq5IJ7OdSC31VgHXgNmB8WFWzvQCJ2kGEvGlsA3s+hw0jqroTIviJ8y2g9fp0ZRqvcAIXFt5X0w74zdU1Cf9VOoil8JGjhvzMeBZu4cqpRzuFO9P4WNHrvIxrBsAwbcnpUsY5OUUjyuUfASzgv7NTiHuEw+ZwsV5fPGMQzX3drzufWrYAEGXq9woxDVYZPl1uNJ4zfi83rhUbKyqqywoKLI0tQ/ADeaWvXhfMKuKK8xeqz5w6e/L4iQQ2w1Mke2/rwFqpAY8DvHDKMOkCx8i++PEbaFfaMcI2cH++oY6/WKGLVNxuwvhV7xj6auG74r5l7woslq3GlvdjY+MfpqYePLz2EWCVzLBLkh02UI+rR2V/Ju/p+Dy//kyXzrdXyQtay+ZeUko07DVqAsROFscKbNPf1dQSxKR2zNk+oRUMYz/MWSIgtITm0xBviW2hrdWM+7juxG6iscI3BjRjvjtRkmgE+MaOZsyPujTZGBDeSQPe5bqvCCegL4vj4+RAYHuv0TAfmG84OG8f4D8CDAD15Do+yTnrxgAAAABJRU5ErkJggg==",weather_set4_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_6},Symbol.toStringTag,{value:"Module"})),weather_set4_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2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dGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pr7FBFoAAAGMUExURQCe4OHh4cTGx9bX2NXX2NPU1YiIidjZ2tTW14eIidLU1dfZ2tDS09HT1Pf4+Lq8vcHDxL7AwcXHyI6PkM7Q0cTDxMnLzM/R0s3P0MzOz5udntHS08vNzouNjsfJysrMzfj4+JWXmKemp/Dw8MjKy7q7vJeZmpiXmJiam7u9vqCio9TV1p2en8DCw7e5us/Q0cLExaytrpCPkLi6u72/wH/O77W3uJCSk5SWl7a4uZaYmUC26DCw5rW1tZaXmLW2t9ra2hCk4pOVlr28vbS2t+jp6d/z+4mLjKqsrWDD7M/t+dfY2bO1tr/n95/a8+/5/bCxsunp6SCq5J+en7S1tczNztPS08LDxK/h9dXW17K0tdPV1svLy8PFxr/AwdDR0pKUlXHA4dLT1KWnqNja26Smp7y+v36JjlyPpJLD2NHb3zmm062vsL6/wHDJ7lSQqp+hoq6trsTFxo/U8cnKy6qrrJmbnNbY2cjJynWLlNna2qiqq1C86gid256en83Oz4aIidna24mIif///1amgyUAAACEdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AJfSNr4AAAKZSURBVHja7NbZYtJAFAbgSSitVZouFLRBFIhIBRRBEaVsFSkULEtrF7V13/d9107Ci3uSAEnIJAR74wX/FdPm4wyTk5mg9gGCRvi/wa0tl6vQ+hfMZROClJDLNyx2CUoShaGwLyBokh0Gbwh9KVrHRUGXwmDMeOJODJkc78cJ3yC8LUk5Oi4Eipwx5qJgwnmapvNhsbp+7tqfrsYlKBuO8XJiIifoDTJmoG6QVxIk185SHAHf0FpDrbScgimMK7w2FXHVx4m8pcVxnIr04YhXWnZi+YIaMxjn+f40WTZHvmtCglMwA784xpMSaZJ1tod/wF1K8QZxw+wn9S3HdbAHvvzzphHm7xBbbkvGsNC5T7axmqGm6aa+5Vwy9sNCH7GNHZrgTRJj+7SMYdL0hIgjppp/qJ25jOOY5SVsP2wz1TlNt1MSFtuyg6dumxWn1aVD0q2C9qB72OEw4ykV3pUwpcFH549NfTXCrLJkgTahMuCF45uOm3pZ299TcMDX6W0ndLUWn3SfOuFemH9gl7/D7ol923ty7fqtdGfaCVfvkYzjHAHPzdHnZ2bOzs5ePDM9feHclUuAvfhPIBR4v+tTNgO4z8FHVvA77GR0e1gUe90WcKWMt/W7J+x83g+1QfhnGUcZwtbrgSeSfX3XDL9axNhZIm76Jb/4zHm/LEJOi0mn037IZchVyL0y/PsxY3RieKLdk+LtU+XUwN+fdT/FKbPjhqHEvHiJKCXPf9/vfLJyxDYySPWnOkJJ6+8k1XWElnqjNwihNcu4ugyX/+qOVmGAqlZxQ7S9iSbFAbL8KpWRLt+RBzvSIGMVr0mXoxV5tCQNVofDy201/mh52uvqWnX1NCzgFaiWaXRHSVi++uh9e4QPhv8KMADDCSvJwO839gAAAABJRU5ErkJggg==",weather_set4_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_7},Symbol.toStringTag,{value:"Module"})),weather_set4_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6e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tTV1svNzva4uKmmaPK2HsDBwtPT1POcm+Y3HNvQOe/v8EubvOldHSCq5HDJ7vXPHuncK/bbHtra2u/v79bX14Sir+3JJNvb3NXW1rCsYcrLzJGTlMnKy9bX2M3Oz5d0db+4VKCio3ybqLK0td3d3dcrKqKgbvT09I/U8drb28a+TcbHyEOTtcvMzdDQ0a9aWdjY2dHR0vDiJc/P0Nzc3fLy8ubm5vv7+90lI8zNzpmCgtTU1d/g4eLWMp1ubvj4+PrV1GyVpuXm587P0Pf3+Pr6+42OgqutrZyen/Hy8vz8/dfY2e6QHdnZ2tDR0ry9vgCe4IaIiffoHv///////9i6EXwAAACvdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wB/tAOBAAADJklEQVR42uzWV1caQRQA4EEhbtAIBsRQIqAGIUgISmISLFFDqt3YY28xvffee++9l727/MbMLttgC5q85JzkPsCcYT7u3JlhFpT4g0D/8d+HvW7vb+G6MW/CG0IhbyLutswXu1HE4kYNKORGKDJP7EXRKEIN1Hb8YkWxeWCLJWZB9dTwN4qi6sMUNR7pCaE6bez3+7lPcYxTYlhrop1amGh2ARNGJ4E/tYaHw1RK7EYWNWxoZqHOyLw5MaZkgdriytiAkc5OM2HXATx5pIBrEOrYpIANLtCbaT7sejh5QI6psBW5FbARjAQtRtAF1QoY79oOOXaCPkhLI6iHUwp4OiKv2aAHB50aXfDhwtCVXbKq5TV3gYtOj+S2Hb6TulvTKBRPwzpZYpo2m82ORoDqtOSdyaoFTNQCELRiMAv3XGobuHnzGO8LfKRVAq8Gzr6Nt/VpW+UH+PTgixrGJ4bhLRNJPIt6pBh/dVNWzoIsWj0MDrx4XHIrGpPgWjDmYrwwl9biTQAT3CmJeAVsAPCzOFsrN003QQtzPDtRR0zM3A1GOokXPdTMrWcmbuXPSBI7oZXHi19qJW+FIWax66S4ER8PHi8peJejis3MvGeF60ABFy4tVKv9PUAU/57b1KbN4PziZfcL0r8gu6/y2QAAarPEXkmxZMF4TJQuX7FycjL/Yn5+3+fivcE3eXnrKypG4AVKv3rFrUrFqzdXblizbsvWVRvNa1l8Gm52yO5tfEjoOeCrAOd7ZJjAxzM3Ix7sh+ZEXP7EsONbszQD/tkPRoPi46Yb/2waR87dO3h5z/dbX4/vOzTwdHTUcfvHjbtvTzwevH7k2NmjkG4ll4EOMoTeqfF8JrpqdbozUzohru0Xmq+nnPaMD3cT6eObAQ/Zq9Ctjm0k2c41q2ZIspxrF5HkzowYDyJtnC3BbXm3OmYGkSbReiTdvRmwjRRGlTOWq4C1QgUquIwdRHJrRfJTNYndGtjHDvJIQBnTnmGbvjnhIglmp8oWoLzYEpws2SSW7JGUXJYBB9rFBTaVCCDgE7u1tqrKJiQImC6VK3T//7P+T+JfAgwA9jUefwIa+d4AAAAASUVORK5CYII=",weather_set4_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_8},Symbol.toStringTag,{value:"Module"})),weather_set4_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxu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2vsO+BgNvQObu8ve6QHayur+LWMtXW12yVpqytrrW2t7/AwcjJyrm7vJGTlNDR0tPV1srLy4yOj90lI5iam0ubvEOTtbm6u6+wsYSir6GjpK+xssw5N8+YP+ldHe2DHcnKy1C86sDCw46QkcvMza6wsdBeOJWgpcTFxtna2qKkpc1GRY+RkpJ7e5SUfOc6OLeyWszNzpuadc3ERkOcwex2Hc7P0LpMTACe4IaIiffoHtna2////7cQS0IAAACidFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AEVMlGgAAAMuSURBVHja7Nb3X9pAFADwA20FBxa1INQBghTQFlGBUixaRYqIu627dVetq3vvvfduXsJ/2ksgIQkkqe1P7cf3033uc1/eu5fjEpT8i0A7+D/DS8E/wxMdyaQToWCy1Tm2XRxEaMKJYh405UZofJs45GtDKJZw+ZBnyBfaBg46p0ZRGxleSZCka4gk25BWi0LyOGAwxJmBFuFwkVy4kMXi00pjfVQFdBh7DRhbwpEIKQyLNH5txLDTbqe9Kq61kFlh+dgvgXux3DRRODR9OPvbHPgBQu5QRw6MbQ/FhskGcD8bk+EhjztH5kmAJooXfTByPIdOoIlsHBBZirLBdA68gvqzsQpahJYyWWF6eviMCOOn3SrGcQCTCFM9zGP7claoHyL3qAhfzkqMUzdVbfVZAb4K9ff0MePwpFG8YzbULQCC0iNorJWP9SfwE9ZQEoE1fPjEdj7scwv2jK31Zn6eFFbbOzEfGU7rmFtwSDbA+igvf9duSjq28JE9zf4/tDxsANAUYbxGycUmQCq3y4N43d6Ant00VqvlclNNAHjfCXw5OHkNw084hQuK5+R0C114BGk7eCfMADaKxXsKZJJrYARXjZaSAmzP4Iq9xUWS2gr4sMW0MnhfecWl3OnV1+CFB99MSamyaVxZrSm/KGre2o8qXfcFuDfmnBrnYz2vYSxurC8trWqsryz/XPms+lzZkwP7Dx492Q1wNSi+elX4AsmFj5WVHSopOdKg0x1m8Bt4L7j3GRwFq+Y38OAV+ImyL30V2NSKeP4pzOj7s7HeCNZXc/J49R0YAzlfNwH8l7TdmqWXzjY06M7TmegOdc8PDt59vri4emcGsix3GegnjaAQvXrp97M+uqxSrV9XsfHyxm1uvP5tORpXern7iTp2ONBOeNmxIzMtjQsJojA9rKklCHNmulkR40XsKtoSvGmHEqYXEV0ZW8eb9ipgZhFRw9n0DlLTZnnsZxYxpZpPMcPmVK/oqFX4DkuBdt7vMKUyNUg0W4wXMtlSpRKZImTwAsH1ayBTRHrLXgVsruNA0l/L9Z2Zfqz87Vnj6OJ+ye8Y4KabvTsf6/88/iXAAPjgh2LNWibaAAAAAElFTkSuQmCC",weather_set4_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_9},Symbol.toStringTag,{value:"Module"})),weather_set5_1="/jarvis/assets/weather_set5_1.45344d2e.png",weather_set5_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_1},Symbol.toStringTag,{value:"Module"})),weather_set5_10="/jarvis/assets/weather_set5_10.14df39e3.png",weather_set5_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_10},Symbol.toStringTag,{value:"Module"})),weather_set5_11="/jarvis/assets/weather_set5_11.264d6da1.png",weather_set5_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_11},Symbol.toStringTag,{value:"Module"})),weather_set5_12="/jarvis/assets/weather_set5_12.cb88b66f.png",weather_set5_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_12},Symbol.toStringTag,{value:"Module"})),weather_set5_13="/jarvis/assets/weather_set5_13.d74ae026.png",weather_set5_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_13},Symbol.toStringTag,{value:"Module"})),weather_set5_14="/jarvis/assets/weather_set5_14.894b9d30.png",weather_set5_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_14},Symbol.toStringTag,{value:"Module"})),weather_set5_15="/jarvis/assets/weather_set5_15.557cf300.png",weather_set5_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_15},Symbol.toStringTag,{value:"Module"})),weather_set5_16="/jarvis/assets/weather_set5_16.f5a6b645.png",weather_set5_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_16},Symbol.toStringTag,{value:"Module"})),weather_set5_17="/jarvis/assets/weather_set5_17.ce646bd5.png",weather_set5_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_17},Symbol.toStringTag,{value:"Module"})),weather_set5_18="/jarvis/assets/weather_set5_18.3bc46fdf.png",weather_set5_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_18},Symbol.toStringTag,{value:"Module"})),weather_set5_19="/jarvis/assets/weather_set5_19.c78c9ae8.png",weather_set5_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_19},Symbol.toStringTag,{value:"Module"})),weather_set5_2="/jarvis/assets/weather_set5_2.e34b1142.png",weather_set5_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_2},Symbol.toStringTag,{value:"Module"})),weather_set5_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAXcSURBVGiB7ZprbBRVFMd/s9MXFfqAgmCNLpKCKISCrKv7gUf0k4kRSBiJiVAj0X4Tg1H8ohBMjIkaTDQpQZPWqCTXR0j0g5KIFciGUh+tENJAoANK2jRUt9RKYdmOH+5sO+3OPrp7Z5da/8lm994598z5z5177jlnr2ZZFtMJvkIbkG/8T/i/jmlHmKnitGLt/uZYu39DLjosy0KzLAtN01TZlRNi7X4/0A20ADv0gBmx+5uBbcAAUK8HTDMb/bci4WYkMZDkdgMNwAqHWKceMOvth9Ngfw7pAXNHOv0FJRxr99cDVXrAbLXb64AfMhzeyfiHcFE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cQl4APmKD7jJFBjDwAfAskzWrROZlGlnItOrdcC9wAJAz9rU7HAdGRt3AceBLw3D+DPTwc6jWbfUKR6v4CQ87U7iKSccDFt1wbDVFQxba9NLu6AptoOmWNozV9lCyRmPYNiqA54E3gVqgSXAymDYOo6sJx1tC2ntKZU0xaqAfciDaXtSyuYAVTMcAvYC3wDldp8OfAy8jdzbk0OSbWXsFJ6pyK4EKJnhtpDWEgxbS4FXgMV29y6gBvgM+S+GO8bIOjM1U4VdbsjZSwfD1v1AwG7uBJY5Ll8GXkcmJV1tIe3EuMHuZAGqadRdSzTZwOmlVczwAeDhJNdqgQ/t373IPdyJQySSjagkOxEqCG8BViHX7FvAIse1K8gTcv8AZ8eNaortY+yspROdCmxKipydVltIu4QsHmxCkj1tXzqPXMPbgcNtIe3MhKENSVS25mpTKqjy0s8CTyEdVHwPfR854+uB11zGdCfRlfJEbK5QRfhbZD66FUfVpC2k7bL7PnEZ47bXRmjUE4rnKqE8lg6GLT/wKfBiW0g7mVK4KbYB6cXrkTP7DI268hlOSB6mE6Zd8vAvLm77PyK5DwMAAAAASUVORK5CYII=",weather_set5_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_20},Symbol.toStringTag,{value:"Module"})),weather_set5_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAXsSURBVGiB7ZpdbBRVFMd/s9MC5atAKBaqYUARxBIRWDfug23RFzRGwBjRB6yBmL5Z4mYXXwSiidnNSjDRWILEIsiDnxB9EBOlBbKyrmIBNUjFrqQNBRHaBmxrO1wf7m6ZtrMf3ZkpLfBLNtmZOffO+efOPed+KUIIbiVcN9qB4ea24Jud24JvekZLlNZjWrke0zQrdQ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XAD4kut7NaOSjs6Cvao7vi6djTEP7wR0Z11ynNpMBn2Cw6FgHNjuoDNO8104FDycyWjgbOlV4Iwz/jiHooirQFU2tv0Eh0PBDuSSTosDfjlFjxDK0+FQsDEb40Hz4XAoeBo5zDxpt2cO0Ao8Gg4FD2RbwHRNKxwKngWWIj/xdnt8s5Uu4F2gNJt+K4ToO7yTzTLtROTguxxYAMxE7ggOJ93IlYtTwBHgs3AoeCnbwsaTSiPmjIeTGAWPqGNLw4Htgj0RMc8TEac8EZHbuY0avZoavTqzYW7YcqjFExHzgGeBrUAJMB940BMRR5BrSoeiXiWWtpIafQpyDvsChs0vu7Grhb3A68BXwPjEPRX4EAgjc3tqpNg6pFhIMfC3A1taOOpVdnki4j4gANybuL0RmA7sRe5imHNdrHHiErfDLzMsR2lPRNwPuBOXrwClhsctyM1oHTgV9SpH+xU2FwswlSrVtoMvxihtRwvvAB5O8awEeD/xvxWZw43sY7DYNjvFDsQOwWuAJcg+GwSM+5sXgZeBf4HT/UrV6NswP4F33AafUmI5aEW9ylnk4sFqpNhfEo/OIPvweuCbqFf5bUDRyhRV1ln1KR12Rel1wPPIAJXMoe8gW7wCeM2kTFOKuhpS3LcFuwR/jZyPrsWwahL1KhsT9/aYlDHLtW1UqZYPgafD9rG0JyI04CNgQ9Sr/JDWuEZfiYziyWPEL1Kl2t7CgyYPtxK33OThf2ul5YK9BkrrAAAAAElFTkSuQmCC",weather_set5_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_21},Symbol.toStringTag,{value:"Module"})),weather_set5_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAW7SURBVGiB7ZpfbFNVHMc/t92oFpB2G4gO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9QRe8zE4ylcCc2bNxOPIOQQf3Bjt69RfdoqYSpOyEoii4XK7c4iiwNbtAF5yoACfb4Zwa4T5gU+5Wr25hOkO/GpC6tKQMARvybQjoqeVPwNLK0LINWiKR2AO8m734z4Uu+GvgqUqwshFHO/bsfq2Ykd6lPwcs22e5QvioFCMHgKqqcTKriWsU2Rv2BZE9rHUD39vBxmakgecyQSuKScGqqqaBJ4GfbSJmF7arqvptqcZTJi5VVQeBDcA3VrOyAf8Bm1VV7TZS6bJcTFXV0VQqtRF5znvWInJWQgM+BVarqvqx0crFdi1nAY8ADwONwCLA1PlIGUgg95lPAUeAL1RVNZQoVeRSy9WEsg7TrhdYKtgX1ub4wlqfL6w9U5aDntQWelKGTwSNwPQdD19YqwO2Iefx2cgdwnuAD31hbTPwT8SvHC7qSAp9mazdCTtgRYSXIXc7vwPm64W+sLYTme5tLuqhJxVCigW5rLMNpgVH/MpRZIQbgS8zxU8AbwA/Ai8UdCDFZl91iprlVAimBPvCWr0vrDUDceSBeX3mp/pM2SfAJl9YezSvg8vFgs2CTU1LvrD2HvBsiea1Eb8yNPmWXyyAlxanbVcPzQ5arcBhQEGeI2/I+i2O/C4vAOdyxDaRX2zUarG5MNWlI35lOOJXDgErkWJPZn46BdyM/BOORPxKJKfqjmlcHjPDpxSYHrR8YW0dlwaoxzPFX3FpIMt3XSI6jbtes3yKwYpp6RdgOzLfHtULI36lG3gMecsmF/vJOv7Igq0XxcHiXNoX1tzI6HZH/MpnBY17UmuRd6qbkBHfRYszZAmRHFy2eJhJmHGLh/8BFY0JkFWtv+wAAAAASUVORK5CYII=",weather_set5_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_22},Symbol.toStringTag,{value:"Module"})),weather_set5_3="/jarvis/assets/weather_set5_3.b84a9f92.png",weather_set5_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_3},Symbol.toStringTag,{value:"Module"})),weather_set5_4="/jarvis/assets/weather_set5_4.82b43eb8.png",weather_set5_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_4},Symbol.toStringTag,{value:"Module"})),weather_set5_5="/jarvis/assets/weather_set5_5.81d4329b.png",weather_set5_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_5},Symbol.toStringTag,{value:"Module"})),weather_set5_6="/jarvis/assets/weather_set5_6.2c556b53.png",weather_set5_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_6},Symbol.toStringTag,{value:"Module"})),weather_set5_7="/jarvis/assets/weather_set5_7.d160e542.png",weather_set5_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_7},Symbol.toStringTag,{value:"Module"})),weather_set5_8="/jarvis/assets/weather_set5_8.e89dc01f.png",weather_set5_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_8},Symbol.toStringTag,{value:"Module"})),weather_set5_9="/jarvis/assets/weather_set5_9.41bc0bd6.png",weather_set5_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_9},Symbol.toStringTag,{value:"Module"})),weather_set5White_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAATSSURBVGiB7ZpfiFRVHMe/Z2da3SzEhbWdRTc3ZSl1002KFYksIvqDVBQZgfUQgg+hD72UGQkR9NBDjxpRURA9VKCFWvTH/iEZ5oOFSJHtamVuLunDqtuMnx7Oubtnr7Oz9969c3d3dr5wmTnn3nN/v885vzl/xwCaSWqYbAeyVh241lUHrnXVgWtdMw5YwLhXFW0/BlyTwnsiX1UFBgrAQeDWMve2Y/UFkKsV4FcZ0VtAC5AH3mC0XipT9nqgbdoAA+3AUAhsAPiO8rrXQT4PHHF5z05JYGATsAVYC8xzeTvH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MCCUPlMgXPYU76xtEkaHr8fx+5YLPTKL8KeGw8B7wN3AW965Te4Z/yrMeRDdsDO4F+eg+eA7710H3AL8K2XdxJYDswGDlWorEEi7KxMBvAG7Al+u5e3rwII2K2aPV663KRi17jGJwN4DCd6ygD8wsgZka/z2M5vHXbDPThM3zhtgJ0je53jg8Bz2BOEq4FPQsBPhMoVgK1AYboBd2P/x3FtKL8ReMfBTngzcMoAV5LrtZ/CHt1MSHGAI/3loZY04/5rWQeuddWBa1114FrXjAP+H1sW5zKh1BWdAAAAAElFTkSuQmCC",weather_set5White_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_1},Symbol.toStringTag,{value:"Module"})),weather_set5White_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAVuSURBVGiB7ZptiBVVGMf/41vm6raFFUmKmUFvpkSJCdZqBVaE0YeIgloioSIiSir6ohBYJpRFH0KKNogiUiqCPljpkqSFZdpCWIYKG6n5Wtmau9d+fTjntmfmnnNn7r1z71129w/Lzs48z3POb877MxsBGk4a1ewKNFojwENdI8BDXSPAQ10jwENdY9w/oijKvQBgsqS7JS2WdJWkCyRFko5K6pb0paR3oyjanXvhpvzSG8WfnAtqBV4GTpJN64GZuVZCcT5AkQuaVwsDcyWtkzTVuf2PpK2SeiSdlGnpeZLOc2x6JT0aRdFbuVREdWphYBywEFgJbAVOOy13BHgemJD06+/vj4AbgY2J1n626sqU1i3OWAsw0AI8BezP0GX3AY8AYwOxOhLdv6NWWBs3H2BgPrA7ANcL/B149gNwZSDmIuuLhb94UAAD9wJ9DkQf8AZwC9Dq2J0N3A68DxQSL+TmQOwHHLvtwEvA48A8oOJltGZg4C7iY/RTYF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ORl9ipmKzgy2bZjEOtUC+8ZwVcAJ2EyOxNMyZQEsrJsL78hcuXic2oGTsMDeDD4ubFkADyyVDJlErNqAPbAAXSk+SdggQAAWMn4azRUYM0ElYaHMBISZcEpUxv4jj/mxamDzAPZWnkD3tK3l0/cB+zkB+648gStZlo4H7ldaoZ0V2lcav7wqaOHpxE8qkDJhBXrFHWXsN3nsMy15gXi5TFrFz5mbslQGWA7stS9reYptm7U/Zn06suN545XfSw8HDbt/Hx4BHuoadsD/AZjbufmlSsgwAAAAAElFTkSuQmCC",weather_set5White_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_10},Symbol.toStringTag,{value:"Module"})),weather_set5White_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB5ZttiBVVGMf/Z10tRZRStBcltT4YorhSQfmSSaUfChKlDI00w4owCorCIiIiEYQEs4Uos5bsk4RUZpAmJKUiiAhFZJS1rZVvu1a66d399eGc2Xt27sy9M/fOnbvgHwZnz5zzPM/vnjPnPGdmNIAuJTU1OoC8dckBC+g7Gi1geETZFGBFjXaLjAMFGFgAHAce9MpmAWeAi8DsUP1mYGhC2wMSeB9F7QaeBM55ZR3AVcDVwMtAO/BYQtuNBQamA/cA493fC4jXSeCCO//V9XagzxL6azjw617QZ4AT7vwosMpBAhwDJgNPxfwY54FhCfw1HPidGIAl7vooYC1wrddmq+vhjaEfoBV4AliCHSlRE1/DgXe4YL8CngG2ANuB2GUSaC4UCsadN3mjIqyJEW37juYMIUZImiVpkqTRkjol/S7poDHmZ9dbMyS1SLrJNTtojHkjiX1jTME778Xevw9HVD1eKdCqe7hQKBjgXuysWoj5xQH+iCl/LrXTYtwj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7SdX7qBb4EZlYCLQccO6QjGo+UdLukG2XfFeXxBVCnpG5JP0raa4z5M01jIjoxMXC1wr6GiXrWvMsY83fmDvv7ji6kzJCu0WEL0a9R92b1XqmC//T3cA3OmoD9EbA9wPRMncXHkCvw4zGTz1uZOiofQz7AwBjsI6I0au3t7c10mOcJ3JYS9v2sYV0c9QcG7kgJ+yEZfg0QiqW+wMAQ4PsUsNvqBeviqT7xSOhgpOxnSVHaLMl/zfqJpMWxH59koMhOzHpIxzieGurZz4EhdXNY9JvfshRyvNGD3U2CxD8jv/kDYz80CR4o7MkL1vluCPByB7ufnF/dNAr4m0bAOt/5ArvJ6ggwOnPjyfyXHPXe094qaZ4x5mTFmjmprvthYEg919kE/kvKTL3u3YGqS+4/av0P2pcfWmWAkb4AAAAASUVORK5CYII=",weather_set5White_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_11},Symbol.toStringTag,{value:"Module"})),weather_set5White_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB5ZttiBVVGMf/Z10tRZRStBcltT4YorhSQfmSSaUfChKlDI00w4owCorCIiIiEYQEs4Uos5bsk4RUZpAmJKUiiAhFZJS1rZVvu1a66d399eGc2Xt27sy9M/fOnbvgHwZnz5zzPM/vnjPnPGdmNIAuJTU1OoC8dckBC+g7Gi1geETZFGBFjXaLjAMFGFgAHAce9MpmAWeAi8DsUP1mYGhC2wMSeB9F7QaeBM55ZR3AVcDVwMtAO/BYQtuNBQamA/cA493fC4jXSeCCO//V9XagzxL6azjw617QZ4AT7vwosMpBAhwDJgNPxfwY54FhCfw1HPidGIAl7vooYC1wrddmq+vhjaEfoBV4AliCHSlRE1/D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1ymtl6lYGdhWXeAaDzcPgXIjKCPvQ/7gX2wHgsjL1Sw7jgxpj/MovSFrrtW+X1CbpgOxrlLw0XNI0SYtkX9UEOizpLmPMibiGPlu/wnAPe9dWYPeWA01tpHxNSrkhHWp0HXYHdS7SdX7qBb4EZlYCLQccO6QjGo+UdLukG2XfFeXxBVCnpG5JP0raa4z5M01jIjoxMXC1wr6GiXrWvMsY83fmDvv7ji6kzJCu0WEL0a9R92b1XqmC//T3cA3OmoD9EbA9wPRMncXHkCvw4zGTz1uZOiofQz7AwBjsI6I0au3t7c10mOcJ3JYS9v2sYV0c9QcG7kgJ+yEZfg0QiqW+wMAQ4PsUsNvqBeviqT7xSOhgpOxnSVHaLMl/zfqJpMWxH59koMhOzHpIxzieGurZz4EhdXNY9JvfshRyvNGD3U2CxD8jv/kDYz80CR4o7MkL1vluCPByB7ufnF/dNAr4m0bAOt/5ArvJ6ggwOnPjyfyXHPXe094qaZ4x5mTFmjmprvthYEg919kE/kvKTL3u3YGqS+4/av0P2pcfWmWAkb4AAAAASUVORK5CYII=",weather_set5White_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_12},Symbol.toStringTag,{value:"Module"})),weather_set5White_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAVbSURBVGiB7ZpbbBVVFIbX7oWWFioSK4I20oCoNUTKg6YPxIrxxcZ7QqJGxBiNJvoixhgR4wPRxBdSY6LyoMZoiFYfDKgBEYwXIraaKDUo1EugiPECKoViPaefD3vGrjPdM53TM5cG+JOTnjOz117rm71mz5q9awA5lVSVdwBZ6zTwya7TwCe7TjngGv3DGJOKE6BORDpEZImIzBF7oQ+LSL+I7DTGHEnFsf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qbEOhUEhn02kSwtYKr6j4viSkXgjCRgG3YBfPfW3CUahnLeBC4EMV1xDQFtF+3MdoUL17CFwuIltFxF+oOy4iPSKyXUT2pwEUomlin7HXiEiXiPgvMkdF5AZjzPYwQ81WcjA4wurcUuBbx+SQt3YDiya6UsRN6YBRPfAYpcV6XtoH3EXMnQjKSWmHcY2MbWq3iE21tHVMRIZF5KCI9Bpj+ssxxjGIsYEnK2zquSaWfmNMqvW6C3jClK7QYR3wnSM1jwGpl66ulE4beG3Ivfho4s7c/rMDBhYwtp0SnHjGVURpKGvgLRGzrUu7geaEY8gGGFiRN6wXR/rA2D3k4G5F5rBeLJkAd4eROTRABduuMWKZfOFRhpNlMlbvat0tIreq39+LSKcxZtDRNhE5BzHpEQ5xXMXYCqM/suel5nDMb7bPYeW4S8H+mAWs5zc34E0e7CAJ/pddDL/ZA2M3vYtZw3q+cwFelwes5zvzWroW+DoPWM9/5sBXAosT7zi+//SfwwGHVcaY3LZsXINo0hjZqawpu/+blv4D+AtKV5V87w8AAAAASUVORK5CYII=",weather_set5White_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_13},Symbol.toStringTag,{value:"Module"})),weather_set5White_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB7Zt7iBVVHMe/Z100H/gold2e6JqPIjSNrKzQIsINIkJBDP8JKcOIqOiPyqCiiB60vSSC0DIICgwSFbHyj4w0snzQAy3LrSxbM121re3ufvpjzt0999yZe2fm3tm7Pr4w7NyZ3/md3+eeOb9z7jmzBtCppLpaB9DXOg18suuUAxbQc/RHAQOA8yr00cvYX4CBRuBZYLhzbQjwPrDbvZ7Cd78EbiHQr8ACY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LLTPfsxzlN2d8KdtB53zUVWIK2t12r9Ialfhykqo/Bbe7ZzPqFJQmQgYpGBhUJK2GWNGGmNmeTZFM0gfeJN6+8P8LAKtouYqWDeTpM9il6J44rHeyXpzqh9n5QLqgR1OnFdG2BUdYcDXOo72kXAZpy8EvOTEuKmEXXlga+hO3HcRsn1RCxFss7hrYseBySXsYwMPA7Z6jh8HLugTsuLAxxBMin5yYuqizEJ+GLBxQY0xrvEISeskXeX5aZPdIukDGUlj7eEm2EOSFhhjNpYq7Gfonot+Czv36oGHbQv3B3UTLPrHeueDJC3sFRwhaZGCDbNJ6t3ayFo5SYcl7ZW0WdI7xpg9cQsT0oixgE9UhQFn9p4WMDWh/VBgQlbx5FV1YILfqi2SHk1QZrKkLZIyBy6ZtFL4Op/e9y9aypeQCF5Ryu9CTKk4iELf8cbhlM7nAoecjHpfGftBwHIvC1d1sTATYII1pqdChpB5JcqMA7Z59odSk0XXkwnweyGwAJdH2E+keIEfYHtFdOF1FR3VSFoXRlxvjbh+tqSRCeyrqqyGpU7gQMIyJzTwF3V1dUn6SLekbRnFUqBqA2+Q1Ix9mSSGDkt6TlKTMWZFlWMJVxWS1maCLc5JMe1nE7wFtKTaw1BIXZlk6aS79APzryJkrTBgkxb0RNUp908ep4FPdv0PPNUHGptaRiwAAAAASUVORK5CYII=",weather_set5White_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_14},Symbol.toStringTag,{value:"Module"})),weather_set5White_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB7Zt7iBVVHMe/Z100H/gold2e6JqPIjSNrKzQIsINIkJBDP8JKcOIqOiPyqCiiB60vSSC0DIICgwSF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xAAx4HR9l44cHd3t98PLqstYrEIhpmVToyfAi9Q2AUBDgDX2zLhwMA0p8CHtYaLEkG320W4tgCLcMbwUsB3OgWXlqq01gJuDYFdHWHbc/iLX+4Kf58MQRVovaR/7Hm3/Vs23/jA7vh2pApBZSa7LLTPfsxzlN2d8KdtB53zUVWIK2t12r9Ialfhykqo/Bbe7ZzPqFJQmQgYpGBhUJK2GWNGGmNmeTZFM0gfeJN6+8P8LAKtouYqWDeTpM9il6J44rHeyXpzqh9n5QLqgR1OnFdG2BUdYcDXOo72kXAZpy8EvOTEuKmEXXlga+hO3HcRsn1RCxFss7hrYseBySXsYwMPA7Z6jh8HLugTsuLAxxBMin5yYuqizEJ+GLBxQY0xrvEISeskXeX5aZPdIukDGUlj7eEm2EOSFhhjNpYq7Gfonot+Czv36oGHbQv3B3UTLPrHeueDJC3sFRwhaZGCDbNJ6t3ayFo5SYcl7ZW0WdI7xpg9cQsT0oixgE9UhQFn9p4WMDWh/VBgQlbx5FV1YILfqi2SHk1QZrKkLZIyBy6ZtFL4Op/e9y9aypeQCF5Ryu9CTKk4iELf8cbhlM7nAoecjHpfGftBwHIvC1d1sTATYII1pqdChpB5JcqMA7Z59odSk0XXkwnweyGwAJdH2E+keIEfYHtFdOF1FR3VSFoXRlxvjbh+tqSRCeyrqqyGpU7gQMIyJzTwF3V1dUn6SLekbRnFUqBqA2+Q1Ix9mSSGDkt6TlKTMWZFlWMJVxWS1maCLc5JMe1nE7wFtKTaw1BIXZlk6aS79APzryJkrTBgkxb0RNUp908ep4FPdv0PPNUHGptaRiwAAAAASUVORK5CYII=",weather_set5White_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_15},Symbol.toStringTag,{value:"Module"})),weather_set5White_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLz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Wsd4Za2hkghY4sR4Cjtru/fvdO5fVw74sG/YQUpr0iwErHKgngncu9+5NycSGJjoGH7cWzBJhF0/n/ZjPRi4t8m/fta362IMbtNe4hx/l33YlcsY0yLpM/90CnChJAHXSLrFv75DUovrFwQe5hyfzCDOtLXfOZ4ATJa0UXYbWJKagw5B4FbneEy6sWWinHO8UNK3kib5568bY7aVeATG8Ai616qfZh9vdQLeI1wbgCG+TXziQfeeUgcwtleJYgSMdCatglqBFZ7nGceuLPByp4DVvUZURsALTpxHgYeAkmGYBPg8unc2PGBezWnKCLuPXRh6bcDFMbaJculFztNrB+bXhCSBsDugble+L8a2R8vDFwPj4x1s1lLzT6zYdfnNwLZATK+W8Sv5xe54AM9KeiJQTrukQ5K8dHDKaqRsQjTEDU3S057nNdfV1UXuTQUbsetiWAs79xuAQ/x3tBO4NsmToqct7DgOljRf0mJJV8t+1K5V126V9IekXZI2ep63Pa5VXRHSiImA/68KA86slYAbgGHlLbvszwEayltWKcqM4QrKG4T9htTWA5+JwFfA2lSC6C43+WupwgrGAlv8yeVAQp8G4Ljv01R1EMVlZweMfUcfcWbTrWXsB2O/Mbv7U41VBVFaR/rAnucZ7BZuZ+D18UZMIBdRmkSA/cKRmjIBpvhLoKunYnx+jvAZH+VTYWwlvzRm6aiNvt9jfMKWnTljzJ8pxBOrLJOHOOAwHc4kioCyAt6n4v2mcvIkbcooliKlCYykDyXd6HneDGPMsQQ+xyU9L2mSMebhFGOJVgqT1oPAS/TgIzn2r0330INMrMLY4hcP/UH97v/SA8B9Xf0O+F9KhezbqHct7wAAAABJRU5ErkJggg==",weather_set5White_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_16},Symbol.toStringTag,{value:"Module"})),weather_set5White_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE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U13wt7rROh1AAbY9HCfsP2uitLLwb/CL0uO8QXY3VNCvXLgJbwHpwVFOsImX6L/N1w8LZ3vuOAI/wclzU06B4zhJgAAAABJRU5ErkJggg==",weather_set5White_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_17},Symbol.toStringTag,{value:"Module"})),weather_set5White_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAZoSURBVGiB7Zp7iFVVFMa/rTOWWTrK5JipSQ45PhvKskJKNMwKIjHCMFCSUkgkqSgoVBQksrJ/RKQgkyTIUpMKevjIQposn71oGhzTykxJbRxN5/rrj7OPZ8/xnnvPuY+5k/rBZfbZe6211zf7vfY2gC4kdCi1A22Ni4TPewBnf6UG0ClN3kDggTztBhzbC2HgFuAXYHwo7y/gBHB9HrbbJeGVBHgXmAo0O3kNQIWV7W/Lr41pu7SEgR7APUAf+10FnCI9jgEpm94NNDplL8asr+SEax2nDwP1Nr0TeBo4br/3A0OBuRH/jN+ArBNveyPsYpQt7wssAfra7w7AR1amEdjh6NwZo76zP+MSNcYUjWTIgVpJ2yW9KemQpOGSfjbGzMyg09lz0TTjDYV9tuiApD8d0TnGmHUh3bPpsoIwCAxXSKqR1F3ScUkHJdUbY1K261VLqpU0xqpsMsYsj2PbGHPCSe8HdlhbvezPR49MdvImDFRKmi5pgqQbJIW7SROwWdJYSZfkW5+DRZLG2fQYSX1jaeU6hoFyYB7QFDEeo3Ac2AwsBgYlqjTal7WO/beBq6M45tTCdgy9L69FfZyW9KWkrfK6crmk/pJGSxroyHWWtCmVSs0tKysrxkw5SdJEYJWkV40xW8POJ2phYADejshHk23pygw6I4FPQy29tKWlpSCzJLAQb3kLY9U5HJM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DrAkg15vgjvmdfbvh3hb2Trg8rxIBfUkX4djGE0XsM962Q30ofXFOpZs4ivYDHXkvg6HDFVIWq3gxUw/eS93fOyShKQzkp4yxmxwdF+XNMJ+9lDrxygNkvx1drMxZlZcchF+npOX6y1gSl50xJ8D+oXKj1mZk5KOhsoOSTpi011DZc1O2T4VAwXo0pMJYsQ+VgIds+gNIziG+tiNvdMtBAo+hoEHLdmVeBv6jQSB/LdSqVTUObXGkk3hnYIAluJFWXYDGR+XJfCv4ITX+q2JXYeBbpb0aeCKCL3ZluxknHUY77XPUaAgy1IxCHeh9cZjtU13wt7rROh1AAbY9HCfsP2uitLLwb/CL0uO8QXY3VNCvXLgJbwHpwVFOsImX6L/N1w8LZ3vuOAI/wclzU06B4zhJgAAAABJRU5ErkJggg==",weather_set5White_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_18},Symbol.toStringTag,{value:"Module"})),weather_set5White_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYZSURBVGiB7ZpZbFZFGIbfobUoVFBWIy2i0RAXQBaVAFEEE5UAiYrRBDWoF0avMBLjmggXWMMiIokaDRIJF1RQUEFDDCCbYrQhVsQIQVCQpaBUhRa6PF7M/HZ6es6/nr9tSt/kpHNmvveb7+3MP+sxgM4ndGnrAFobnYI7OjoFd3R0Cu7oKIzboTEmNB8olHSdpEGSukuqlnRQ0h5jTGPccXj1tsyI8wmpcAywAjhFOKqBZcDofAluFl++BAMDgLURIqOwGuifT8HGDzKqO2bgvKukwZImSnpFUg+veIekdZJ+knRKUrGkoZImSRrr2VVJmmKM2ZlTME0xtcyI6o5pOiwEpgPrgTMhrdYI7AZmApdE+BgBbPU4Z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jcCHwOCIWFM+ad8eAr0lTZN0k6RSSV0jjeNDnaTTssvDCknrjTG/JYkxpUOTjlFHwnn3jUfWgo0xLR5JsyVNiChLxntB0h3JeLEhnR962OPxB3jpRmCRSxfjXYmG8Pri7omxF2wfu3QR3q1DtvFFPTl1aeyadT9Q5rKMyy+RtEtSeRJ6uaTlNG1QDPaOaKukvYRcmseBnD5bMsacAxZIet5rvRJJmyUNlDQzCX2hpMT2rUBST0kbJN0saW7ePmXKtUs7H2WB+fIcMDWsnkDeVGfroyyMF9eTy7Q0WdIcNQ18Q7z035J+dekjkqZIqnfvV0haKSmxPL1STV/7NEqq9NKzJG3MNsAw5NKlD0s6KXvqUKDmI76R/TRJkg6p6RRFkv6S9Ifs+VnC1ke1JCTVunS8iGGULsBeUQYxI6yeQN6TIby3/Jv9uLt0HII/cIF+4v5uAKqw+9UHowQDjzv7jdgLsgrsjgxgSbsUjL10a3Rii1ywi7DXG1V4B+Qhgrc7sd2w8/Aa4Gonuh43XcUtONdp6Sxwq6Rv3RSVyK8ExkpqSEKfIanKGHPG4+3DXsdeZYxJxs0aOX8+bIzZ5r2WS/rG5f+SgrfXe90iaZPLPyrpaK5xRdbrd7PzAZ27pY6O807wf0u0OF43WdFiAAAAAElFTkSuQmCC",weather_set5White_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_19},Symbol.toStringTag,{value:"Module"})),weather_set5White_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAUJSURBVGiB7ZptiFRVGMf/R2fNaste1HZzo0LTEMWNFCJEZEPKPpSQlYEFfVqyD2UUiEJfCgKjFyT8UpaC2IfCiD5YZGAhZKzZWiaWRSaSpbkV6Yrtj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+/S4KOylFtRwEBiYSvewQTSGHrTxGgyge0k5RmCPkNUS0kpvu8weBe4zR5gZzlRTwPsN1BHgO6IjlDQLbjuKRRsFUIqLxNa6XA3kvHPEl3RRz/uPFC7d25XK5vZIGYsnXl7OLA9sNsLO1BnUxlclkkPRbLLlsnxMHPm7OuzT61eZ/T0vaIunLshaxd3iJeR/quQVTdxHtQ+fX1TsDeYYd8RreLemMP3+UGta8I6CVKrTQXRVbMXzisdHU8lN1D7MOIlrBDZgx98ZAvmFHEvANFDbpzgGLRxKmnIgW+ntNpWwokbc8sM/4pHE4CDyeZv+q3gLmA4dMbIcosahJAnYW1P4DAHhF0jPG/htJb0vqk/RH3WnCmixpjqIvC3bz4aikHufczyFDy1aUGK9hc28dxRP10aKd+A9rpUSlTTpm1A3soLDsaqQOAMvj6+BqgINNOsH4Zkn3KPp8clUlBdZJA5KOSPrCOddfjSEJleiSEptZY+5/Wi3gZlcLuNnVAm52tYCbXWMO+H8E5sGJD4rkgwAAAABJRU5ErkJggg==",weather_set5White_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_2},Symbol.toStringTag,{value:"Module"})),weather_set5White_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYQSURBVGiB7ZpbiFVVHMa/pTOVD9VJJkcrScryXkNRZkgXDbELotiDUOCQlEUSRURBoaIgkpC+hEgPqRBBRppQUCmMFpIZqd1pEsfUMtOymlEbz/TrYa09e82evc/Z+1zmTOoHm9ln7f//v75v1v1iAJ1LGFBrAn2N84LPegDdT60BXBCTNgp4sMy4ocb+Ihi4DfgRmB5J+w04BdxYRux+KfgNQrwNNAMnvbR9QM7ZjnDfr0kZu7aCgcHAf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FmM+gb7szpEBR/z3oeUx6VP4M/pP5bUVtQj0oZHeu1hfbVYVgJunP7JcT1SyLbYsLTP6+5zhQLVEthJSYC3Emx6PXGC/eVVv+ypsYv9zzye9yfYpRKcwx5Rgh3c7+1TNUXgqvIaT+zOpM3AVIKd4RwvYCcwr1I7jOUAuxHhTx/bKbBJkFqwM15KT+wA5mK3afvkqoQrzUZgMrACu+wLcDqpKnsa0gt2Ds8Sbu30JxwkxUYEWQU7pyagpUbCovgbWELK7WFiBKc+LsW2lZmSxkkapr65AXRSdsZ3QPYY5wNjTHtaZ2IKsSbnw32FOMHn3D2tigvG9qpbyHDm1JeomGDCM6Jhsoffk4J04LoMcWZWilNSBgV76ZQx6rGzsuWEF1aagYdc+vaUcdZSDpHe8bIPSxmCL3NCN7u/7zmxncADRXxzhDdzWsoi0jNu9QS7DJZHxs1OYEYRH18swKayiYSxKy8YuBvY5UjvIdxNBLvEDNK3EVluxoiFhH2pErn1eipxbem0pN9lb+gMVM+O0Eg64d4Py94DCcjkJLVIil4abasAp2RUsA0PpOcF0QBPJNivirEFe2mtIqhqGwbWueq8whFf7ao0eNcPPHt/5dONskj0zqM6grHnUR3YYcgfliY60VtifHbH6G0pR2BMHlUt4SHubyB4bpAOXBxj34S9i+GjuSwSvfOo7rDkMslhb/s0prAdgb0avIgqzLDiBJtKCf2/4Pxq6WzHOSf4P3zNWb9Rvs7XAAAAAElFTkSuQmCC",weather_set5White_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_20},Symbol.toStringTag,{value:"Module"})),weather_set5White_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYQSURBVGiB7ZpbiFVVHMa/pTOVD9VJ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4Lz1ZMFCHnVAE2EDM5lq14XrdO4ExwO3A88C3EdFrfB9gEGFzWOulFxTc7AX8kozDQzXhqu1T9NwOetR9Gw2846V3Em4hFRS803O6o4b6EgHMIuyc/gTWA3mPdzvwCtDo7OMFA0M8p921FlYI2C2gKI4CLwKXRWwTBU/3nJfVSkwaAFcA/0YEL06wTZx4+FslX1eNbQVgjPlZdl8sE6KC/TH2dFmM+gb7szpEBR/z3oeUx6VP4M/pP5bUVtQj0oZHeu1hfbVYVgJunP7JcT1SyLbYsLTP6+5zhQLVEthJSYC3Emx6PXGC/eVVv+ypsYv9zzye9yfYpRKcwx5Rgh3c7+1TNUXgqvIaT+zOpM3AVIKd4RwvYCcwr1I7jOUAuxHhTx/bKbBJkFqwM15KT+wA5mK3afvkqoQrzUZgMrACu+wLcDqpKnsa0gt2Ds8Sbu30JxwkxUYEWQU7pyagpUbCovgbWELK7WFiBKc+LsW2lZmSxkkapr65AXRSdsZ3QPYY5wNjTHtaZ2IKsSbnw32FOMHn3D2tigvG9qpbyHDm1JeomGDCM6Jhsoffk4J04LoMcWZWilNSBgV76ZQx6rGzsuWEF1aagYdc+vaUcdZSDpHe8bIPSxmCL3NCN7u/7zmxncADRXxzhDdzWsoi0jNu9QS7DJZHxs1OYEYRH18swKayiYSxKy8YuBvY5UjvIdxNBLvEDNK3EVluxoiFhH2pErn1eipxbem0pN9lb+gMVM+O0Eg64d4Py94DCcjkJLVIil4abasAp2RUsA0PpOcF0QBPJNivirEFe2mtIqhqGwbWueq8whFf7ao0eNcPPHt/5dONskj0zqM6grHnUR3YYcgfliY60VtifHbH6G0pR2BMHlUt4SHubyB4bpAOXBxj34S9i+GjuSwSvfOo7rDkMslhb/s0prAdgb0avIgqzLDiBJtKCf2/4Pxq6WzHOSf4P3zNWb9Rvs7XAAAAAElFTkSuQmCC",weather_set5White_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_21},Symbol.toStringTag,{value:"Module"})),weather_set5White_22="data:image/png;base64,iV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AAElFTkSuQmCC",weather_set5White_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_22},Symbol.toStringTag,{value:"Module"})),weather_set5White_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAUJSURBVGiB7ZptiFRVGMf/R2fNaste1HZzo0LTEMWNFCJEZEPKPpSQlYEFfVqyD2UUiEJfCgKjFyT8UpaC2IfCiD5YZGAhZKzZWiaWRSaSpbkV6YrtjL8+3DPOM3fvmZc7484yO3+4zL3nnuc5z++ec8/bHQdoLGlcowMYabWAm10t4GZXC7jZ1QJudo054Iy9cM41Ko6ggGmSLnPOHa7BR/FF/mikgLuBTcBkk3Yr8CtwALi8Bt8FxtEAnM1mHdBHpAGgF1gInKKgbT748cB9wMfA3Er8NxwY6AAmmutlVKZ3fY3nta7C8hoOvA3IAgc9xGEP8APwqQH6C1gM7Ao8gD0Vltdw4M8CACv8/YeBr4DZ/roDOA78B3wAvOnzn/cPZCYwFZgwWoEP+oD7gE88zHdAcJgEbgGu9eddgQeWA8Yn2F44MsNdp4YYJ2mepJmSLpU0KOm4pH3OuTM+zxRJt0nq8mbvOOc2+nttzrnzIf92WHLOHQP6JXXHsp10zuVKxVkzMDBf0tOSlkq6JiFLDjgi6eqE+yfyJ865oSqLXiGp05+vkvSgpN8rCThVk/bv1YeBplVOJ4k6p1lVQoZi2eT9fg9MLcWYqoaBHknvqbjGjknaIalf0klJ7ZJmSeqRtMCaS9rgnHshTdkBTfG/syUdBbZKetU5dzAp+KpqGFgKDJra+glYUabDmUfxcAOwPgVYyP9DwNcJHViXv5+ulwbmAmeM061AexWBrSIaWvLqrYEzyf9CoqEKYLtJrx4YyAD7TbBvZbPZqlcbvjXkvI+zwPQUbCHfq0x8t5v0VMC9xlkfkLqHB140vr4lmkg8DywBLknpsw046n3uj92rDhgYB/zinZ0H5qQJyvjLEL37SToBrMXMtSv0eSWwz/h5LZfLubTAi4yj7cGM1QX4WAA4rwPAjCp9TgI+Nz62EK2uKgcGrgM+Mk7urRPwBOBOYBpwE7A8Vg7AMaCzvLciv/cb+0FgQcXAwErgX+MgSxW9choRbQTYdfCfwG7gdeCOoaGhYEcJPEBhFPgHWOjTywMDa2JP+2/gpYsJa8ruBk6TrH3AogSbScA585C6zb3SwL5mrTYCV4wErInh2QBwXmvznZKx2WyA2016GBjopLgZrx5JUBNkhujdbifa23oC6I9Br4/ZzKAw8Vhj0ksCv2EcbhlhzpIiGh5XA0MmxmU+/S4KOylFtRwEBiYSvewQTSGHrTxGgyge0k5RmCPkNUS0kpvu8weBe4zR5gZzlRTwPsN1BHgO6IjlDQLbjuKRRsFUIqLxNa6XA3kvHPEl3RRz/uPFC7d25XK5vZIGYsnXl7OLA9sNsLO1BnUxlclkkPRbLLlsnxMHPm7OuzT61eZ/T0vaIunLshaxd3iJeR/quQVTdxHtQ+fX1TsDeYYd8RreLemMP3+UGta8I6CVKrTQXRVbMXzisdHU8lN1D7MOIlrBDZgx98ZAvmFHEvANFDbpzgGLRxKmnIgW+ntNpWwokbc8sM/4pHE4CDyeZv+q3gLmA4dMbIcosahJAnYW1P4DAHhF0jPG/htJb0vqk/RH3WnCmixpjqIvC3bz4aikHufczyFDy1aUGK9hc28dxRP10aKd+A9rpUSlTTpm1A3soLDsaqQOAMvj6+BqgINNOsH4Zkn3KPp8clUlBdZJA5KOSPrCOddfjSEJleiSEptZY+5/Wi3gZlcLuNnVAm52tYCbXWMO+H8E5sGJD4rkgwAAAABJRU5ErkJggg==",weather_set5White_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_3},Symbol.toStringTag,{value:"Module"})),weather_set5White_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8C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Px3sNwW/MJ2gEwk4H/ggAF8VsXvH3D+1EvBtxrgPaBtXc8aiPNyHCEZy4EFz/wrLGAvTu8zxM865QmObP3k553okbUxO50laF5gMmeOyGVzsCR82PVeXfNsIAScBx5K2HsUMpsm7X9J5qSENdBrD7VkCVSP8bKyk5ZJULBYd8LXtiIlCusscH5q+pk9ZX5njxZKUy+UekXRhcm2zpKJ1CIFt7B+34Ww0bI478WmqJzk/KunZcR6Rd/i3JBx2Nbq1tQp43IT0AXM8Alyb2FTMw9sSpwLQNVGFWQs/+ws1AFxtbCoC32Oc12dGU0H4ZaLVMPBy+JCqAT6BsdQ0TGQ/OWsBpwD7DOwGIguKxLaqufRqU9h+gkV1lsLvq9nl6va0raYQNhU4WXW8Zwr9Bb9VmtnXxiTy7k/e0ZIOAgsn8Bn3cxbUfj3Ez7J6Jdlt0Z8kfSTpgIL81iDlJC2TtEjSlZLsTmWfpG7n3A9pzpat7GL4hM29dvznkdhiPCvlgVeAzkq9RbUhHXG8GHgX+DcTRK/vgJeAJZVAJwJODemUAjokXSDpDEn1/3o+XnlJ+yQNOueGKhmHIvIQXexiM2vG/cejBdzsagE3u1rAza4WcLNrxgH/DwjGKmoxrQ+XAAAAAElFTkSuQmCC",weather_set5White_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_4},Symbol.toStringTag,{value:"Module"})),weather_set5White_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXGSURBVGiB7Zt7iBVlGMafb10sTfRYKrtUZBppRbRpYGUXLSIyiIgEMQQJ6YJRQdEfldCFIIrIbhJBtGUQ9IdBohJWChlpUN7ogpaplV3WUldty87urz/mO3u+852ZOXM5Z8/m+sC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xUSAYdtsJx0ZgAc4aHif4Tqfi4rigzQZwS4jYFRG2/Yef/HIz/AOyBOXAGkl/2/M++7fmfOMLdte3Q3Ug1TDYtNAe+7Oko+bbCX/btt85H1sHXo3GMfsXSd2qzKyEwm/hHc759DqRagiAkxQkBiXpC2NMwRgz07Op2kH6gtepPB7mNoJoHXGDgryZJH2WuBbVG481zqw3u/488wNoBbY6PC+LsKs6wgRf5TjaQ8o0zkAAeNHhuC7GrrZga+hu3LcT8vqiGSB4zeLmxI4CU2PsEwseBWzyHD8BnDUgyqqJjyfYFO12OPVSI5EfJti4Qo0xrvEYSaslXe756ZJ9RTIAMJIm2MOdYP+UNM8Yszausj9D9xf6LexcawUesS08GNBHkPRP9M0HaVrYqzhG0gIFL8ymqPxqo9EoSjooaZekDZLeMcbsTFqZkEZMJPj/ijDBDflOiyBpvzCFfYHgGTd1Pjo1iBnDGf0ttOOtM6H9RILMCkChLiTKvpMtSzkCuJmIxxLYdxC8FoF63fFK/40T7ImF2mtkhVhgcy4C4TEaIzhELMCsGHtfLMD6zASi49RfsDNmKxBjX6Byx5R4CGTgVl/BlnwYIrtnRG+AOn3v4cWqOvIuSxMjyrdGlMfV2ZKLSULkEmyM2aJwoutjqnWGlO02xuzOwyUx6jCGC1R+JBb5fOrUuY/yi7oDjejONk5Dl6UOYGIK+wJwda6gtWPEPzwMBQy5/3k4Ifh4x5AT/B/EJ37JXkgRkgAAAABJRU5ErkJggg==",weather_set5White_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_5},Symbol.toStringTag,{value:"Module"})),weather_set5White_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXGSURBVGiB7Zt7iBVlG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Cbp20eHVg7dbozJzstQpjxV8r+N0C3DyAGuNBHAOsNbhdwSYYq+NAu4meIAAOAqMs9fCBff19fnj4JLmSqwGwTLT6XD8FHieyiEI8Btwra0TLhjocCp82GxxUSAYdtsJx0ZgAc4aHif4Tqfi4rigzQZwS4jYFRG2/Yef/HIz/AOyBOXAGkl/2/M++7fmfOMLdte3Q3Ug1TDYtNAe+7Oko+bbCX/btt85H1sHXo3GMfsXSd2qzKyEwm/hHc759DqRagiAkxQkBiXpC2NMwRgz07Op2kH6gtepPB7mNoJoHXGDgryZJH2WuBbVG481zqw3u/488wNoBbY6PC+LsKs6wgRf5TjaQ8o0zkAAeNHhuC7GrrZga+hu3LcT8vqiGSB4zeLmxI4CU2PsEwseBWzyHD8BnDUgyqqJjyfYFO12OPVSI5EfJti4Qo0xrvEYSaslXe756ZJ9RTIAMJIm2MOdYP+UNM8Yszausj9D9xf6LexcawUesS08GNBHkPRP9M0HaVrYqzhG0gIFL8ymqPxqo9EoSjooaZekDZLeMcbsTFqZkEZMJPj/ijDBDflOiyBpvzCFfYHgGTd1Pjo1iBnDGf0ttOOtM6H9RILMCkChLiTKvpMtSzkCuJmIxxLYdxC8FoF63fFK/40T7ImF2mtkhVhgcy4C4TEaIzhELMCsGHtfLMD6zASi49RfsDNmKxBjX6Byx5R4CGTgVl/BlnwYIrtnRG+AOn3v4cWqOvIuSxMjyrdGlMfV2ZKLSULkEmyM2aJwoutjqnWGlO02xuzOwyUx6jCGC1R+JBb5fOrUuY/yi7oDjejONk5Dl6UOYGIK+wJwda6gtWPEPzwMBQy5/3k4Ifh4x5AT/B/EJ37JXkgRkgAAAABJRU5ErkJggg==",weather_set5White_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_6},Symbol.toStringTag,{value:"Module"})),weather_set5White_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB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7wO/OOAr0io0w/4Ob7eTJQZ+oGBMXTmyIfwfOXUQ0Qz9FNECwcdKptTgKfN9YvTgFca46W1hsoi4BYT4wHgXOf63eb6lDTg32PDw8CQxBZPABElGh163Llmn+OrvcDA+cZwbb1gsggYHD9yAL8611YbjqGW0c1Bh5vzr4sPu/sKgqBF0bKRJI0EhkrR61TSbXH5dkl7bT0X+BRzvq+AOPPWDnM+DDhV0ruSBsVlz7oVXOD95vzMfGMrRG3mfKykzyVNiX+vDcPwnbIazjM8kM5v1XXFx1udgA9I1lbiNNThS5ylvzCz9Fl1Jaogovz5kAMaAi8S7XJ02KUCLzAOnq8bUYqAZ0ych4CXSVjzygJ8Gp0rGyFwXc1pUgTcYB69g8CwCraZcuk55u61AtNrQpJBRCugdijfZ66lHpU+D59zno+3iHYYar7FSvRdPg3Y4MS02rFLPSqueABPSnrEab9V0i5JYTF4ZRqkKCGyWy9Ieqy9vX1ZQ0PDMQC30xLl62Fz/XpgFyeOtgKT01h8R9Y1rQZJ0yXNlTRe0jDV7t8D+yX9KWmbpPfb29s32V514kx1FmQxquggZYvV9d9V+7xVSC8B44GmLtZZCcwrIh6r3IHjoDdJyrT/Q/SZt13SIkmJOw95Ktc/tcSwr8U/N2ewH6zo5lweF23PM54k5dbDDqwktaTYu7CS1JRXPD7lApwAK1XoLQ+sgiBoyiOeSqoaGJiiclip8vBcIwc2xT435dHDSz3liQDATElJicM3OcSSqqKSh5YKw9M3E580PbwmoezDFPumjH7yV5b8s9IR+5hH557tRsxOvsf+QjqXZ/bZhKPaeLqUS3dHJ1tqWTXwyaZe93/pPuCerl4H/D8aSLSTzRcSzQAAAABJRU5ErkJggg==",weather_set5White_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_7},Symbol.toStringTag,{value:"Module"})),weather_set5White_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/A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kh+gAAAABJRU5ErkJggg==",weather_set5White_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_8},Symbol.toStringTag,{value:"Module"})),weather_set5White_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYCSURBVGiB7ZttiFRVGMf/Z100TdyxVHapyCzSisg0sLJSi4gMIiJBDGEJ6QUjhKIPlfRGEEVkbxJBuGUQ9MEiUQmrNTLSoFqVXtAytbKXtVxXbctm99eHe2b3zJl779x7Z3Zmc/3DZWfOec5znt89r/fcWQNoOKmh3gHUWieAj3cNO2AB/ddQFDACOKNCHwOMQwUYaAGeBsY5aWOAt4GdbnoG30MSeAWBfgYWAuOBzQxoTT6fN9b2dOBR4MqEvusLDIzwvrcAPRTrMKV6DlgD5O33lQnrqzvwA8BPwHrgSWCtBegBPvMglwPvhcAD/JiwvroDvxQBsAJoAG4HOoHbrP0EYJ+16Qa2OGVmA7GrzVAAfssGux/4Bui1rdvi2Pjd/iJgPjCKYHz/692sbntTpoTUN3jAwGjgFGB0RH4z8KUNcqVT5uyU9bRH9JJTQ2z7r8ZsWEXOGiXdImm+pKslnebkdUvaKukHSWdLukBSs1N8vyQZY3okfZ+y6qckbbOfz5d0raRjxpg/ygWcqYXz+bwBljhjK61+BW5KCRnFcK/12QmMjWPM1MLAREmrJV3nZf0iabukTkljJE2TdJ4k49gckbTIGLM2S90RKnTjCZL2AS9LetEYsz8s+FQtTLDof+W0VB54DZhZ2Bh49s3AQ8Ahp8xfwPwKAP067iSYtFwdA64oYUwDDIwjmFUL2g1cmjCoicA6D3pGhayu/9HAAuCg9b8PGGnzMgO/4QS8w3btNEE1AK94N2xMRsYw/zMc30ud9PTAwFzH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Vp4ZA7H9s9Cc6Tw9QaYd8WYT+3WmyJW9jeff/OS9JHMcWiZuLQFpY0OaV9ZpUFNsZ0KehuvsLSCnonJG2PMSYKoC0krcPWXV0l7NI5in8I1m5bPq5MKwMv4w5GdWfH/mHPvuINR1iXTrssTU4bCDCn3M1xbHPAnDT+y/iLf3gYDhp2//NwAvh417AD/g/gf8md+vkh+gAAAABJRU5ErkJggg==",weather_set5White_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_9},Symbol.toStringTag,{value:"Module"})),wind_set1_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZ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lbmQ9InIiPz4vNxn+AAAAwUlEQVRIx2P8//8/Az7AyMiIwre2ts4GUi5AXHH06NGbMHFC5oAAEwPpwBWIA4BYk1SN5FhGNhi1bNSyUctGLRu1bNSyQWQZKz0t4yfXMhZCCoBtDgUgtQCIC4BtjgtY5EFNBJCaCdTw2Qcg1gfiA0CDDdAsSgBS64E4nirBCPQNyDJHUAMKZCFSMDoB8XwgvgCVp06cQYMPZiGs+ZYLswjqIIKAkZR2IzQYYb5DsYjq7UaoDx2gFiYS6yOifUZNAAAfkz+DG/wkZAAAAABJRU5ErkJggg==",wind_set1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_1},Symbol.toStringTag,{value:"Module"})),wind_set1_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2J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3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4VPzIPAAAA8ElEQVRIx2P8//8/A70AEwMdAV0tY0EXYGRkpMhAKysroBGMyUDmxiNHjrymmc8sLS1BFk0DMmcD8TKCPqPQRyCLMoD4NxBPpkmcWVhYoFsUcvTo0U1UtwxkETMzM0GLKLaMFIsosoxUi8i2jByLyLKMXItItowSi0iyjFKLiLaMGhZhtcza2joBiBdQ2yJcPksA4ngki+ZSwyJ8wXgByaJEIP5HqUX4LPuIZBGoKo+h1CJ8pb42ENtDLYoGWrScljW1CJSeB8TPgQnGAYRp3SwA1bj7YRhooQG1gxGUGuWxxSMwOC9QYhnjaFNuyFkGALsGc4moyuEOAAAAAElFTkSuQmCC",wind_set1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_10},Symbol.toStringTag,{value:"Module"})),wind_set1_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zO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GUtYTBlZi1jOGI3ZmY5NDdlY2QiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6m6fRnAAABkklEQVRIx+WVyysFURyAnWa8VoisLGwll+WtuUWUnVKsbFiTYmUl/AeyssPCxk4k5Z256VpRHn8AdWV1F5S4Gt/UuXWazox53LEx9fWb85s5v+885iEcx6n5q0P8H1kul2sm9GnuLeXz+ZuoArW+TrZJmPTpO49wtZqyZcKSbN7DHFjuzGALWSkN2Qc0wAUMI/mMs09hZRm4TioMJaOwsCyrRxHuwXhUYWiZ25bCU2iLI/xNNkDop+BKJZdEGCgTQmg7xRXGkmmEJzCK8C0VmSK8hCYoQmfQDJPKBgkHUC9TgUuaZBld0T40wg4MQWuQMO4DoorWYQEeZbvFTxhZ5hWVy+Vp0zRHON+FV6j1E0aS6USFQsEhv0Z7Vt7mKwwto2Av4corktceCF1KV60wiszd/DOwEc0oog7Ck2ZrvcIx27a/oiyjwQi/PbkpwobPQ1sRGtCN7Dn2eyZl24QJn8vuTA5hkUHeJnqps9msMAzjhdN2JX0Hx5JzJO/V+oJk5MjdwkdupHgxrc9VXdX+Z2keP4udVNq8cRKJAAAAAElFTkSuQmCC",wind_set1_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_100},Symbol.toStringTag,{value:"Module"})),wind_set1_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSL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cq9Y8UyxixtYAZGRkJZQdlIKUNxI+BjjiP3iLGBQApp4TOrcMs9wAAAABJRU5ErkJggg==",wind_set1_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_101},Symbol.toStringTag,{value:"Module"})),wind_set1_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bX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RJqmVlUl/rG/iwkhfrWA7/s1tBXpp0EO1VEURTsmMVr4Cql1GG4CqxvDMjAtcojMd41h8hRaFMfxSxHkuq5wHKcNfSAt5EkLA7SAdoCcIbMqsANED7lOY7rYEFoTGVCBDO3hchl5R6ZxXwPzQ22MwWG0MA/MQK883uC5CVrS1QbJA1UQz6szlvzAgiAYQXvAhDsNcA7ZzIPkkg8NGVtE20eukVNO2H5tGfCGuxJSYf1ot5l735Bz5ITzjFwivRbvOhWUi9E3w9PTvxpVzL1AJpBPZBXQlgoqwrat7+ecXHQkjVkar04Xm8HlsSmoCKNv8Yj0mICUGBVAOjUmTUA62BrahglIB6PdtouMl4UKMQZpVy6VhbQwz/OEbdt9gO7LQLlYFVUp9gXXZi3ajO3KLAAAAABJRU5ErkJggg==",wind_set1_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_102},Symbol.toStringTag,{value:"Module"})),wind_set1_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLy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mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4Qz+CnAAABIklEQVRIx2P8//8/A70AEwMdwahlQ88yDGBhYcFobW3djC4OFBME4ttAvINqPmNmZo4HUjVAQ33RpPiBWAWINahiGdACXiDVBuX2AvlstIyzKiCWhLJVgTifJpYBfaEEpArR5EHBKU4Ln/UAMTuaPB8Qt5BiINBxDkD8H4gXYLUMKOEEpAJx6E8GyhsRa9nRo0cPACmQRfHoFjIBBViA9AQ8+hmh8owkWJiIzUJQnnKGBhUhwx4AcTgQfwbieTjUyCCxQVHiCqUXAh2QALIsAciZT4fyQhEUhPuwpEJcickSiL8C8QUi1EuD4huIBYE4EeizB4y08AIwtAyAFCih/IdatIGBlEgn0yJHoEUXaFnqKwDxeXSLwD4bbYOMWjYyLQMAk75JeNa146QAAAAASUVORK5CYII=",wind_set1_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_103},Symbol.toStringTag,{value:"Module"})),wind_set1_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh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jVjNDY3Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo4MWY0NjI4ZS1jMDViLWFmNDQtYWNjNy0xNGQ3YWNiNWM0NjciIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4l0E+TAAABdElEQVRIx93Wu0oDQRTGcccbiIIJBFttRBsR0SKwW3i3URRL38BeQfAJBPEVtBMhhZWFRUyxuxBsBEF9AhtTKyK4/ke2GGR2xs3Oqhj4OHCynB+ZSxIRx3HHT73Er2FCCOPDnud1UWZITxiGgelZ3YewYgCjlCWySObJINkCO82NMbySDF1OgGHNrCGwp1yY7/trlD1SJZ0pc26Apmz78x3sgTJG7sh4CngItqsscy9lnTm1KIriLNgEpU4qBnAF7FKBauRzRegfZN0zE/hKygx9+QK15D7Tv818Gg1gnYELNijz0U8B98mRDWrrnmnAbbJjg/JcahVsKTUVahtTwCbpI2+yBXTt/OtKATcpZ6SbXJFVwOdCMM2SGsHcWBbQCWYDee9c1iAINpxgGlCeyqoE6TcSbNYZpoARGSD3yQ/rRSFYCijv4HshmAaU9/ARbMTlnslhJ0qrn0zLMckyCpdYiXJMSkq7TCZJA2zu7/yV+1fYB2kzItoS6EzjAAAAAElFTkSuQmCC",wind_set1_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_104},Symbol.toStringTag,{value:"Module"})),wind_set1_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAA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7DL8Xf039gD8tf7Le9H6gQAAAABJRU5ErkJggg==",wind_set1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_12},Symbol.toStringTag,{value:"Module"})),wind_set1_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi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D7I8glIQYsXsBBSADTwAZByxCNfSNU4QwMfGMgEg94yhlHLRi0btWzUslHLRi0bBpY9hOK7pGpkJKZxSS0AAF9qOYyZ/24PAAAAAElFTkSuQmCC",wind_set1_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_13},Symbol.toStringTag,{value:"Module"})),wind_set1_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIy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zE/EB8A4ndIDnEgOhiJAcCgEkQyvAbqy99AzArEAjRJIECL1IFUI5RbDKUNqG4Z0CKQL/ZBzdkI9O1kmlkGBHVALAWNrwSo2EFcwUhJarQCUlVADErjwUBffcCXEsFZClt+IJTPgBbxAKmLQKwExD1Ai0rR1WAzl9xgnAi16BIQ1xCriWSfQTPzeiD+CcSmQF9dxqaOYp8BLZIEUnOg3CpcFlFcEFtYWIC8Ow+IhUHJ/e/fv/00K/WZmZmzgJQHEINSXfyJEydIrpuIijNg8GkAqXNAzAnEkcDgW0HIYLLiDFpKLIVatIwYiygJxgYgNgLix0CcTUlxgzcYgb6yBlKHQEJA7AT01QFiDSYpGIH28AKpxVA1vaRYRE4wgkoJRVJLCZKD0cbGxhNIbSNUSpAajLhK/ftAfBWIZ5JjEUk+GxbtRrpaBgDHU4bh+y+TeAAAAABJRU5ErkJggg==",wind_set1_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_14},Symbol.toStringTag,{value:"Module"})),wind_set1_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOm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MjE1Y2YiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz44c9EEAAAApklEQVRIx2P8//8/A70A46hlo5aNUMuobaC1tbUAkDIA4gtHjx79QGvLAoDUeiC+CMQOyBYy0iK4gBYmAKn56BYy0ip+gBY2AKl6ZAsZgYIOQM4EKpjPDMSiaGIiUPGLQMsMQJbFAjmLaJwQLwCxI8gyNiBDiwYW+AFxIxBfAmJ7cDDSOIGAfUSzBIKU9FEsopVloAztD8QTMTL1aEE8atmoZcPLMgBGOmiqz5w9eQAAAABJRU5ErkJggg==",wind_set1_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_15},Symbol.toStringTag,{value:"Module"})),wind_set1_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4b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VJRD0ieG1wLmlpZDoxYmRlNGJlYi0zNmZjLWNjNGItODVkOS1iOWE3ZmE5NDI2ZTUiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5JYfOrAAAA5UlEQVRIie3RIQ7CMBQG4NVAggHFCcBjUG1I4CQcAYOHE3CFHQKBnGgPAASHRiFmUeVvsiVANuj6XjHwkj9/l5f0yzZhrU2+NeI3MCFEIqUc4miNMWfq5a8v8oQppfqoU/E4A3iMibVQO2SKXKngW6z4jB0ctxzgR8wNF+iFcYHeGAfYCKOCjTEKGISFgsFYCEjCmoJkzAfEPkWlWuuMjFWAOTIpQezcpWtgKxasArwhYwdGwR7AzEEliByiYDVgmx0D0kPNEdcXZIkMijU7tkBtatZR/tkI1a1Y7YHltVjs+WMscwfYAPjLDSYjfwAAAABJRU5ErkJggg==",wind_set1_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_16},Symbol.toStringTag,{value:"Module"})),wind_set1_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICA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MzQ3LTk0MGMtOGJkYTk2NjU1YTU0Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphYWJlYzViMy00NGI4LTgzNDctOTQwYy04YmRhOTY2NTVhNTQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6o2iheAAAA2klEQVRIx2P8//8/Az7AyMgIZ1tbWzMDKVkgfn306NGv6GoJmkWiZVFAaikQzwZalkZryxKA1HwgXgi0LGHUMkot2wnEL9CUXjpy5EgfLSw7DcSmaEoPAi1zoIVl64B4M5rSB0DLDowmkFHLRi0btWwEW7YZaJkf1S2zsbERABr8Ab2KAYp50MKyC1AmqPoIQLYMyXJDIP8CNSyDGXgRiGcB8VRo5bkCKg5yjCPI91SJMyQfPIY25e4CsTKyRVRNIEgWwgCKRbRMjRgWUd0yqIWgRHIA3SJiLAMAzj042l0A2lkAAAAASUVORK5CYII=",wind_set1_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_17},Symbol.toStringTag,{value:"Module"})),wind_set1_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4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EMg/oZNknG0WTBq2ahlNAcAT85GVwi/HiUAAAAASUVORK5CYII=",wind_set1_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_19},Symbol.toStringTag,{value:"Module"})),wind_set1_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0i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LyLKMXItItowSi0iyjFKLiLaMGhZhtcza2joBiBdQ2yJcPksA4ngki+ZSwyJ8wXgByaJEIP5HqUX4LPuIZBGoKo+h1CJ8pb42ENtDLYoGWrScljW1CJSeB8TPgQnGAYRp3SwA1bj7YRhooQG1gxGUGuWxxSMwOC9QYhnjaFNuyFkGALsGc4moyuEOAAAAAElFTkSuQmCC",wind_set1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_2},Symbol.toStringTag,{value:"Module"})),wind_set1_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG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9InIiPz5BFt7fAAABDklEQVRIx2P8//8/A70A48ixzMbGRgBIGQDxh6NHj16gxHB0s7FZdgBI2ePQb0iKA0i1bCsQn0aSngi07AO1LTMDYk6oUBbQgum0DEYQuAjEeZRYSLRlQMMdrK2tJ1JiIUmWgWighZ1AqowcC4mxrAFICQANLYCJAS2sAFLtpFpI0DJGRkasGsmxkGzLyLGQIstItZBiy0ixkCqWEWsh1SwjxkKqWkbIQlpYZg6kekBZFN1CagcjyKJdQMwHxOuBOBDZQmomEGSLNgNxCBAXIQfpkSNHplMj6SsCqQvIFgF98gstDp8DLZOihmWsQGoNSDmyRUjyMUDqPNCyq9QKRiaQcqBFf8kuQUbbjeQAACOuC9qtEsNZAAAAAElFTkSuQmCC",wind_set1_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_20},Symbol.toStringTag,{value:"Module"})),wind_set1_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wP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6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6QCqg8AAAA5klEQVRIx2P8//8/Ay7AyMiIIWZtbS0ApBYAccPRo0cvIMvhMwtsHimWQS06AMT6QPwRiB2QLaS2ZSAfxSMJoVhINcuQLNoExH5A/AyIuUDKYBZSxTKgRROAVD40riYC8XkgvgvEIUC8H2qhwZEjRx5Qw7IGIMUPdH0hkG0AswzIV4Hy+4G4EGjZBarFGdRiFMtolhrRLLsOtEyLXpZdBFpmMGrZqGWjlo1aNggss7Gx0QFSJWjCf4E4iRaWBQCp9WjCz4FYkhaWiQEpLzRhPmgFOppAho5lMkBqHxCfBFoWSzXLqA0A6xYt2rtq/B4AAAAASUVORK5CYII=",wind_set1_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_21},Symbol.toStringTag,{value:"Module"})),wind_set1_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW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Y3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmN2VhNmMyNC04ZmEwLWJhNDktOGE3OC02YTlmNmQ4M2JhOTUiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz41d4kUAAABFUlEQVRIx2P8//8/A70AEwMdwfC1jAWZw8jISJJma2trASA1AYgVsEgvOHLkyAKclpEBQJb4A7EADnnqWXb06NELQEoQ6ks2IHUSiA1oGmdoFn2hmWVYLLKiiWVQi9YgWwQM2stUtwzJIl8gfoPFogt4kz4FFjmhWeQIxA/Q9TEil43E5DMiLIID9HKXCYth3FZWVoyUWkQwzoCGKQKpG0AfTgOyGalpETafgUoEcSDOAGK4hdSwCGucAQ32gxrMCsQzgLgAiFeTYxF6nGFNIGgWHgJiO3J8RJRlUAtBBWwDNMOSFXQEUyNSHCVTYhFRJQi1EgOxxdUKWliEy7JPtLAIV9mYBMR8QIs+ULsNwjjabqQGAADOMI+NTqAMqQAAAABJRU5ErkJggg==",wind_set1_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_22},Symbol.toStringTag,{value:"Module"})),wind_set1_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIg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Tk2ZGYtYThhMDZmNjdiMzgxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZjlhYzEwZWYtODgwYy00YTQwLTk2ZGYtYThhMDZmNjdiMzgxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmOWFjMTBlZi04ODBjLTRhNDAtOTZkZi1hOGEwNmY2N2IzODEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6tYBUdAAAAxElEQVRIx2P8//8/A70A46hlo5YNHsuwCVpbW8sCKUEgvnb06NE/tLbsAJCyB2JDoGUXBq1lQL0CQKoAiDeg66WFZQpA6jzUbAdk/TQJRqB+AyC1H91CRqgkL5BiRlK/AWqZFRBfJzOKdIF4M5QNtpARaJE5kHOCxqn+IxAbgCwzBDL24QpSEgE7Gp8VGmKgYHRkpJVXgJ5IAFLzYRYBg/EDI70sYqBS0GFLiefRLaKVZaBMrQ/EF5EtGq1iRi0btYw+AAA4LniBR+AgJwAAAABJRU5ErkJggg==",wind_set1_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_23},Symbol.toStringTag,{value:"Module"})),wind_set1_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLv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FTkSuQmCC",wind_set1_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_24},Symbol.toStringTag,{value:"Module"})),wind_set1_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1MDoyNiswMTowMCIgeG1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Axq4x0AYgmomDSUDxJ3BDYRHlDFMqBBINc7Qg2OhwqDLOIH4kKoPMmAEVsjFdZuhAYbzBIQSMTX6CHU4MWbGqE+cADiD4QsIgYAAEopQHxHFb+mAAAAAElFTkSuQmCC",wind_set1_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_25},Symbol.toStringTag,{value:"Module"})),wind_set1_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHht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jIyMlJikR+QWgfEzED8D4gDjx49uonqPoNatAZq0XloGlgDFadeAkGyiBWIZwBdbgykO6F8rBYyUcMiIM46duzYf2DwVeCzkIkaFgEtgSdpfBaSlEDQLfr371/W8ePH/+NQ2wGkyoH4NxD7HzlyZDsTBXGE0yIsPhQm2mek+AiLXg2gxTfA9hCyjBKLSMpn1LIIJTUCDVUAYVpaBAIsUHoBlHaglUXI+cwezUfrqW0RRqZGsghcxlHTInTLhNEsCqOmReiWqdPSInimtrGxQTb4IhB/gLI/ADNkALVaBLDUuAGIBbCoeU91nw3L1tWoZVQBAI15zImLnp9bAAAAAElFTkSuQmCC",wind_set1_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_26},Symbol.toStringTag,{value:"Module"})),wind_set1_27="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxu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DQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5vwVv9AAAAuUlEQVRIx2P8//8/A70A46hlo5bhtQxdwNraegGQigdix6NHjx6gmWVIFi0AWpRIE58BLREAUiBf6NPKIrBlaBa9BOIXSPJ/gPgLhXYoAzEXENuCLAsAMtbTIX2EwoJxPpBKAOK7QFxABd8ggzlQ3xkzIiWOeiDVAMQXgdgBGG8fqGET0NwL0CgyRE+NIN+BfHkRaJkBTS1DshCU/AOp4Tu8llEbjFo2JC0rBFKaQFw2WnmOWjZCLQMAo6VhoG+o+KgAAAAASUVORK5CYII=",wind_set1_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_27},Symbol.toStringTag,{value:"Module"})),wind_set1_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudH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MTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7k/P8wAAABJElEQVRIx73Wr08DMRTA8W9BMcP+BvQEaqYnLiQYEgIKyb+BZW4OyX+AZUsIgrBs4j1FsgSPxSDAIUaWw3QJone79lrq2uTlk/b9SE1VVfzXMj7MGIO19hDob85UdRGLbAwvVhRFCcxrYqeqep4L+wFugU+3f1XVSQ7sG+gBX8BQVd9yPuMYuAAOuoBtsRFwAywd+AHYULA1pqrX1tp9QIAB8A6UIeA2rA/cO2wB4MAnYBgKNmLGGG9QLBiFxYLRWAzYCQsFO2MhYBKsLZgMawMmxbaBybEmMAvmAVfAiYjMsmAOPAUmwA7wLCLHuW52BDwAe8ALUIjIKkfO/kJ3wKWqrnNUoxfK0We1UOoJUgKPdVBqbAxc1UGpsV3gzP0n101T/xcW6Tzax9KylQAAAABJRU5ErkJggg==",wind_set1_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_28},Symbol.toStringTag,{value:"Module"})),wind_set1_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA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OC02ZTRmLWI3NTItYmI2MGI4NzU5MDU4Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0YjAzNDhkZi01MWU4LTZlNGYtYjc1Mi1iYjYwYjg3NTkwNTgiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4JJUplAAAAu0lEQVRIx2P4//8/AzZMDLC2tlbAJo7LTCYGMgHQIgMgdR9ILyBWDxMFFh2AcuOJtZCJAosYoULfibWQiUyLQJEaCRV+BsQLiLGQVJ9NgFrkCMTXYIJHjx5NRLLQgVqWJQCxIdDwC0hibEgWgiy6gEszCyk2AQ18QED+INVTIxp4R9OkTy4YtWzUslHLRi0btWwkWcaCp70Bqvrj8ejlgdJiFFsGBPYELIMBAWpYBmrAPCAQBWZAfINYywB/kFBeU+tN8QAAAABJRU5ErkJggg==",wind_set1_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_29},Symbol.toStringTag,{value:"Module"})),wind_set1_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB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LWEwY2UtMWFlZjViYTQzZGE2IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZGYwMDkxZWQtY2RjZC1kMTQwLWEwY2UtMWFlZjViYTQzZGE2Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpkZjAwOTFlZC1jZGNkLWQxNDAtYTBjZS0xYWVmNWJhNDNkYTYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz62ZiFvAAAAlUlEQVRIx2P8//8/A70A46hlo5aNUMvQBaytrQWAlAEQXzh69OgHmlkGtegAEOsDsSHQsgs0sQzNokSgRQtoEoxAixSA1AZaWgS2DGoRKLj4aZg2/gKxOsyy80AsQEPL/gCxBiwYQalvPzRYHaidMLAlEJpbiJ70kS00AFr4gNaZGmShPxBPpHqmHi2IRy0btWx4WQYAEX5gkXjEFKEAAAAASUVORK5CYII=",wind_set1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_3},Symbol.toStringTag,{value:"Module"})),wind_set1_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bW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aWQ6MGM0MzM4NmMtYmY3Mi05NzQ3LWE2NTQtNzZhNDI0MWEwMTAzIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MGM0MzM4NmMtYmY3Mi05NzQ3LWE2NTQtNzZhNDI0MWEwMTAzIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowYzQzMzg2Yy1iZjcyLTk3NDctYTY1NC03NmE0MjQxYTAxMDMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5cJiedAAABFUlEQVRIx2P8//8/A70A46hlo5bhtYxaBllbWy8AUvE4pBWPHDnygJqWJQApeZjhQBwCxNxQviPQsgOM1A4qoKXMQGozEHsC8X9o6FHfMjSL/gLxUiCOO3r0KDhtMNLQIjcgtgPieqpaBrVoERBHAfFvIPYAWrAPKN5AVcvQLPoOxD4gi6ByBVDLBCm2DJ9F6IAiy0ixiCLLSLUIxTKg5nAgdQSo4SktLIJbBtTsB2RvBOK7QOwA1PiE2hYhW8YPZO8CYjN8FlJiEXow4rWQUoswEgguC6lhEdbUiMVCZyBuo9QinEkfzcIvQMxDqUV48xnUwovQ+ukfELtSYhHBTA20UBZIHQfifqBFvZSWoWDLhm2DBwBIUd7LFBjtVwAAAABJRU5ErkJggg==",wind_set1_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_30},Symbol.toStringTag,{value:"Module"})),wind_set1_31="data:image/png;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(Object.defineProperty({__proto__:null,default:wind_set1_31},Symbol.toStringTag,{value:"Module"})),wind_set1_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1NDoxNCswMTowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAy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ubSkGbt1EM2n5nIpDzB2GD3H8jC2RhXJCNcUARZguKMRvQCVYHYu2ONkmS5OgEK4FvZABwr+dpwwWwuTOsBNImfQK9YRpc0bXlILLzhn0BlXMMQBOtV5jqIi09do4RdKhY/o39o/6KfQBw5yPaP4ueUAAAAABJRU5ErkJggg==",wind_set1_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_32},Symbol.toStringTag,{value:"Module"})),wind_set1_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90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RkZGONva2noxkIoA4g9A/BWPWSePHDkSTrJlaEAaqk4EinGBV2T5DA0cAWJHIG4G4nl41L2jhmX/YIYdPXr0AdXjDAcwA8ZfAhL/G9DyVbSyLBKKYeAjENPMstNAfA2J/56WwbgMGGwTKIkzJgY6glHLRi0btWwEW8ZJT8ukaWIZsN56AMQTcMglAPEBIBagVqm/H4jzgQZeQLcISM0H4gvAGuADVXwGNCgRZCDUYANYTQ2zCNomoWqcOUIN9ofyTWEWkeMrcBMRWyMV1m6Exst+qO9AFhjia/QQavDitQzJwnwg3gi06AI+wwhZBgADUVL2c9UPdAAAAABJRU5ErkJggg==",wind_set1_33$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_33},Symbol.toStringTag,{value:"Module"})),wind_set1_34="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4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ChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/fhUAAAABQklEQVRIx2P8//8/A70AEwM9AbV8Zm1tnWtlZcWEzx4mKlm0H0hNYmRkPGVpaclIs2AEWtQBpBygXGMmJqZpuCxkooJF5UD8G4hboXQGyEJgkDJSzTIki/4AccjRo0drQDTMQmCQYljIRKFF/6D4C0gcaOEmdAuBahnJtgwt6I4AMRsQbwGKO2GzEIjhFjJRYBHIQJAFy4CYk4CFZSRZhm4RyEAg/gtkxyFZGABTj2ThPSDeBhJjBGU2YNiSbBGaPDOQigJZCnUA1kxN0DJCFpFSUjFR4iOyCmKgoQEgTEuLQIAFSjcA8Qcg3kAri5BToz6Sj/qRMizVLMJI+lCLCkDxCcQx1LQIORhBQBOI7aEWRQMtWk7LmloMSoPi6znQlw5ALEArn8FAJRTDACO1LQPFEzZfXKSmzxiHbetq1DKqAABg2py8Gq2o6AAAAABJRU5ErkJggg==",wind_set1_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_34},Symbol.toStringTag,{value:"Module"})),wind_set1_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMD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nk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OTM3ZmY5Mi1hNmI1LTcyNDAtYTdmMC0wZTUwOWQ3NGZhOTkiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz518y/3AAAA40lEQVRIx2P8//8/A70A46hlQ9MyRkZGFEFra+sCIHXg6NGjF2hqGdCiBUAqHogLgZZNoIllQEsEgPwJUIsWAC1KpEkw2tjYgCw6AMT6QDwdiKuoaQcQ8wEd/xBm2QWoRbQES2GWnQdyDIAYlDT/IikA8X8A8T8SDOWG6vsG5XMAMTuyZaBg3A+1MBHo5QXkOh8Y9yCLPgLNEIDyG4BUPSjBoScQii0kyjKoBLKFgUANG2hmGZKF+UC8kZxMTZJllAKg4TlA6ifQstk0twyL5aOWUcUyaSBlCsTHRmvqUctGqGUA1HOxcfz448gAAAAASUVORK5CYII=",wind_set1_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_35},Symbol.toStringTag,{value:"Module"})),wind_set1_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0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=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_36},Symbol.toStringTag,{value:"Module"})),wind_set1_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1NDoxMiswMTowMCIgeG1wOk1ldGFkYXRhRGF0Z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PSFHMxEBHMGrZqGWjlg0zy0gqG4Glviy03oIBXppYBrQIZPAjevnsDxDfQ/OZILSmpq5lwOrjO5BSRvPtBCCVP/QSCNDlrUBKGo8SMygtR41gzAJiASLMUaCGZZFALIFHXhyIVYF4CjGWAQAQUU7Q8BdQ1QAAAABJRU5ErkJggg==",wind_set1_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_37},Symbol.toStringTag,{value:"Module"})),wind_set1_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZ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A46hlo5bhtYxaBllbWy8AUvE4pBWPHDnygJqWJQApeZjhQBwCxNxQviPQsgOM1A4qoKXMQGozEHsC8X9o6FHfMjSL/gLxUiCOO3r0KDhtMNLQIjcgtgPieqpaBrVoERBHAfFvIPYAWrAPKN5AVcvQLPoOxD4gi6ByBVDLBCm2DJ9F6IAiy0ixiCLLSLUIxTKg5nAgdQSo4SmSgcpAahcQ1wHFl1JiEdwyoGY/IHsjEN8FYgegxidQQ7OB1BQg/gfNK0vJtQjZMn6oD8ywWNgBpMqhFoKKIw9yLEIPRmIshBU9JFuEkUBwWQgNunNArEeuRVhTIxYLnYG4jdygI5j00Sz8AsQ8lFqEN59BLbwIrZ9AicOVEosIZmqghbJA6jgQ9wMt6qW0DAVbNmwbPABjM+zLYXv/bAAAAABJRU5ErkJggg==",wind_set1_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_38},Symbol.toStringTag,{value:"Module"})),wind_set1_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlb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JUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7mivcJAAAA3UlEQVRIx2P8//8/A70AEwMdwahlo5bhB9bW1iFA/B+IJ9DDZzxQtsDwjzNgkCoAsSa9fHYAiK8BLZQnIw0IALEDOcHISIYHDIB4P9DCBTSPs6NHj4JCBWRRPLqFNEkgQAsTsVnICOTUA+kGIH4MxOeg4i5AzA3EO4H4Bwn2yAExF5T9Boh1gJgfiBcCHZAAsmwOkJNM41T/AYgNWYBEOxC/BuJHQPycihYoAnELEP8GYkegzx4w0sIbwNAygGaf/1CLLpCbtMmyiFapUQGIz6NbBPbZaINn1LJBYxkAR95CC0OzDSMAAAAASUVORK5CYII=",wind_set1_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_39},Symbol.toStringTag,{value:"Module"})),wind_set1_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB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vbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NjVjYWU5Zi1mM2FjLTk1NDEtODFmZS1iMWM3NGQ0NmQxYjYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz481gl7AAAA1klEQVRIx+3WPQrCMBgGYDO6eQNv4ZKAvYg9gjiJo5s49hBde4YOySio4AU8Qb2A8Q0oSInmy58gNPDyQn6+BzqVaa1Hv1pswLJgQogWNbfcvSGFUupIHd6f7cIa5Px2XAHrUmMzZGzuIwsAdchno2JmnZBlDEjGMLzgnFcxoBdmGuAetUbuSOkDUrAtaoKhq9cewA1q5ws6McaY9WEIGIyFgFGYLxiN+YBJMCqYDKOASTEXmBz7BmbBPoHZMBsopayzYT3wCmyaFXuCJeoA7DL8Xf039gD8tf7Le9H6gQAAAABJRU5ErkJggg==",wind_set1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_4},Symbol.toStringTag,{value:"Module"})),wind_set1_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLT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E8kFIAYkNsiYIiy2gBAO5PG9owJKcyAAAAAElFTkSuQmCC",wind_set1_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_41},Symbol.toStringTag,{value:"Module"})),wind_set1_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMj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3FAuyG3bsg8YEsrJm+0T1slHRIAg+SSLIXBUhg3qvDfI+0kaQfDyTu5JkMqWBiTNzqjXZRbewytBY1t21NRYCFMebovUpF1laEncWBuTIG6T2eR7TQwFxYFMfhCDt5NAbM/YxLUXQngWGYsC5QG/hhpWB4oAmxydiQTVgQKgZuUB86//MIcxxmnPJMJDjTKQHErjE1TbsmM53n3QIf067qgOGyWrEgo+LgMdFoWUrE1yhG5InO6IRWrU3bkvnYoCXslb6FzdeA7ndgC5TzizAfZAjvWhvVi9bE+lri+AVSwAaC0qMBdAAAAAElFTkSuQmCC",wind_set1_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_42},Symbol.toStringTag,{value:"Module"})),wind_set1_43="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFk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L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6F46TyAAAA4klEQVRIx2P8//8/A70A46hlQ88yZI61tbUAkFoAxA5Hjx4VoKZFIE8xoll0AIj1gbgQaNkEmliGZlEi0KIF1A5CsGVoFh0F4kdALARV8w6If5FgphQQKwHxDSB+A40mUyD+cOTIESuQZQ1ATj2N08Z/oGVMMJ/tB2IDIN4IxBsoMDQKiF2BeDkQ7wJiLiCeCsTfgJZxI8cZzEKy4wxoDihR5cMSGNTc90D8EWiZAHpqpMhCoi1Ds1AAqFiRppZRCkYtG5KWRQKpdCBuBVq2G8hnBbLXQy2LHq08Ry0btYz2AACujrTLUycrgQAAAABJRU5ErkJggg==",wind_set1_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_43},Symbol.toStringTag,{value:"Module"})),wind_set1_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vc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GMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/NaL+AAABb0lEQVRIx73VvysGYQDAcedHZLCKJKvFJuVuoJRFUt5BBmW9yaCMLwaLQQZlVgwykJQMMtwvJotikX9C8tbd+V49b53cz+eec/Xted9733s+3dO9z6uFYdjxX4eWhBmGscFwkHLNjm3b22WQtpGGRZM1xdtXOqdRGqNDsMs6sIA66YJWQHyZ5SuKbdEeddEVLcuARbFZ6qZbAUrdYWGMiR90XZ/j9TX10RmtlQHzsBmBrTPpR3QOcIrhjgbKgpmYpmmJF8mCUpgsKI3JgJWwsmBlrAyoBCsKKsMSwHcaB2zVhUW7yw3Ni1PRRt1o36HKZYygE1qlb4qA/viSqnpA4tAXLdBnbEnfaMKyrFbVR/8PxF3ci882GfbFV3fBmlV+1FnQovh36KFHmgYLqmCnBaBj5jYdxwmr7I29DC80nAUFQWC6rhuq2BuHGAaBnvMg1Y/+L8j3fdPzvLCu7eqJYTINUo2NMCwBHSVBuVhdxw8nXmXa/4F1sQAAAABJRU5ErkJggg==",wind_set1_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_44},Symbol.toStringTag,{value:"Module"})),wind_set1_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxu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5kaWQ6YmJlMGIwYTItMDFiOS01NDQxLTlhZmItYzMwODQzZjYzZjJmIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YmJlMGIwYTItMDFiOS01NDQxLTlhZmItYzMwODQzZjYzZjJmIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiYmUwYjBhMi0wMWI5LTU0NDEtOWFmYi1jMzA4NDNmNjNmMmYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4GOY1fAAAA9UlEQVRIx2P8//8/A70ACz5JRkZGvJqtra0XAKl4IE48evToApg4Lg8wketKJItAYD6Qn0BIDxOZFiVALfoBFXpBjIVMZFo0H4gvAPFGqPBCKH8CUN6AKpYBDVJAssgRyWcgOhAUXUB8gCqWARPBAyDlALIIyP6ARc4QKk96asRh4UECjqFuAkECD0hRzMRARzBq2ahlo5YNM8tYCJTy/EBKEI8SAVIcTagg3gvExsTUPtSw7D4QixDwGcj3Xyi2DFhlhBII5gYgVQ/E54dcAikGUrp4lMDaG/LUiLNYINYnwhxFalgG8pksHnlQ4tEA4sXEWAYA/sc+2twOELgAAAAASUVORK5CYII=",wind_set1_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_45},Symbol.toStringTag,{value:"Module"})),wind_set1_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAA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cW6sDij4zgh2g/66ygLiwFnOT7HRXonYo2kBbrAVbpVLS37pVWgc5toJ6YBnyhUZFj6zJhCfCaRuiN5vNCqZgE1xh7tJ5n67TYv33h+QKYtfDLXj+b2AAAAABJRU5ErkJggg==",wind_set1_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_46},Symbol.toStringTag,{value:"Module"})),wind_set1_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIH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MpWFH8R7KAgigrH5gZAuki8if6tddmceuzvslul06rdaabEW+ztYRGzjCM+Z+QAR0ccOLjLzY5XYAJe4ysxBjVXo4CAzqxb731hE7GKIyWJsU9gjCnrz8Y0cY0R0cbsIzmM3OK7X32MPh3j64RXt47ru9zKzKhExwrjhx+MV3RIRpzjDJ97ryU2s4Q1fSyTdWBiv13kq9EtTW4mIIc5nUGa+lIagMUbzkLpaVg3NCm6CkxnUFLaFTmbetT91iy3VvgGoXauKXkJ6FwAAAABJRU5ErkJggg==",wind_set1_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_47},Symbol.toStringTag,{value:"Module"})),wind_set1_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM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9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4SaO7nAAABYElEQVRIx73WvUoDQRSG4fcklZ03IFpbpczmpBCx0i7YBUSwsRERsQgptJJUQVJYaaGCjVaSTss55g68AG9Aewlrs4EQ1s3OZNevmxmYhznzw0gcxwCICGmp1+tSrVZXzOyTnJnMORvJwhLoGjgAdszstRRsCjoEfoBtM3srHEuBds3sBSCKIhmNRnEhWBakqpvAM7BnZsOFsEajISKSBQ2BJaBvZqfBmKpWROQJaM2BHpOVjYOxZrP5DkTAGGiFQnmxAXCU9HfMrBcC5d4zVd0HboEKcAO0fSGv06iqbeA+AfGFvO+ZqvaBk6TZNbNLPOL9gqjqGdBLVtgxs16pb+NMSXODQVgoGIyFgAthvuDCmA9YCDYPVNUasOGcuyoEywJV9QI4d85JYdgU+AAIMDCz49KwNBD4Kg1LAT+A9TLKWAOWk+YW0J2MlYH9+ekpA1sDVme6a8C3c+4uE/uP/AKQczva4pO85wAAAABJRU5ErkJggg==",wind_set1_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_48},Symbol.toStringTag,{value:"Module"})),wind_set1_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bn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pIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MTAzYzQyMy04MDcxLThiNDMtOGMwYi1iYzk5NjJmMWM3YjkiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6aWGWZAAAA80lEQVRIx2P8//8/AzbAyMiIwre2tp4LpLiB+AQDfrDmyJEjT7CaSYJl/xmIA4lAyxZQy7JGApYtAlp2jyqWHT16lJGQ13CaOagtA4KPBOyKAQbjFnolkGCgZetG44xQMOYBMTOa8tlAR3ylhWXYgCLQsge0sKweiJnQlPcCLfs8tONs1LJRy4a5ZTY2NgZAygFo+ARslgH5DkDqAXLJQYllBUCqH4gXAg1MQLYMyE4AMucD8UYgP4AqwQg0FGQgyOCFQBwPa9BALboAxI5Ayz5QLc6QLEQGOC2iOIGgWYjXImqlxvNASgGIDbElCoosowUAABqcINpdV9juAAAAAElFTkSuQmCC",wind_set1_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_49},Symbol.toStringTag,{value:"Module"})),wind_set1_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENv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jYzcxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZWRiOWRhNWQtNDM1Mi1iNTRmLWFlODItYjYxOWJkMWNjYzcxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplZGI5ZGE1ZC00MzUyLWI1NGYtYWU4Mi1iNjE5YmQxY2NjNzEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4V+2DvAAAAt0lEQVRIx2P8//8/Az7AyMiIwre2tjYAUgFAPOHo0aMfYOKEzAGbRYplUIsOADE/EF8EYgeYhcRYxsRAJABaJIBkEQjoA/ECBhIAExkWXYQKnwRif6DcAqpZhmQRyCeJQHwBKrUD6rN4Yi0kxmcgy96DLALGD4qhQD7I8glIQYsXsBBSADTwAZByxCNfSNU4QwMfGMgEg94yhlHLRi0btWzUslHLRi0bBpY9hOK7pGpkJKZxSS0AAF9qOYyZ/24PAAAAAElFTkSuQmCC",wind_set1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_5},Symbol.toStringTag,{value:"Module"})),wind_set1_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjem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14DX2Ti1qmrywqBuTYk9S5X/eQfpYH2sUv18VBqlBaU+CAAAAAElFTkSuQmCC",wind_set1_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_50},Symbol.toStringTag,{value:"Module"})),wind_set1_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaW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fhSDLBICM/UAMsvQ1EB9EUvALKoYLqAGxIBBfAeKvQCwDxMHQEFoDVRMCxNJAHAgLRpCF/dBUuBAYXwnEOBWo7wCQsofG8QEg3wHq8INAvgO6GvTUOJ8UCymyDM1CQ0L5jGLLSAH0tqwWSBkDcSnQ8Ns0tQyL5cPXMl2oZduAlsVBxRYCKR8gdhitPEctG6GWAQDBvKpYLo5wbAAAAABJRU5ErkJggg==",wind_set1_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_51},Symbol.toStringTag,{value:"Module"})),wind_set1_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zV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/eHBhY2tldCBlbmQ9InIiPz6Eg50sAAABhElEQVRIx8XWPWsUURQG4GdshCCSJjY2FrZBsElxt4h9QMRGEBZEf4BWNkH8QLASIf9A1MbGwkoIpphTiIUfnRDERpAQMFUQJLs2dyXI7uzu3FFvdweGh/PeM+dONRwO/atV/Xes1+udwha+jHnnfURcnwcZGZOwVbzO2x94i4O834uIC38DG+BIxlYjYr9NfNOwRXzHBq5ioQRsxKqqklIa4g6e4EMJODMWEbdTSqfxDsdyvGvzgLNiNyLiEWRwCyfnBadi41ZbsBXWFmyNtQGLsHnBYiyD93ENJ5rALip7gJvYwc+mCkvPbAQN0MebQ5F+w3JE7HbRjbfyZBmgHxFP8/OLeI4Kn3B2VGEJdgmPceUQtIJXOI79PNp+R1oa42JE7I2BnuEuNnOkn7FS1/VuF934J9SPiIOU0nIe2kfxsa7rM6XdOAlawEucyxfvWl3XmyUxzgJ9zdfRdumZvcD5WaAuvrMlXMbGNKizcZXhRqhr7B7WJ0FdY0t4mH8htpum/i9zomraGIMNSgAAAABJRU5ErkJggg==",wind_set1_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_52},Symbol.toStringTag,{value:"Module"})),wind_set1_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmR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0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo4NjFlNDA3ZC1jODk5LWFhNDMtYjcxOC0zZDM5NDk0YWQ3N2MiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7RGpBUAAABG0lEQVRIx2P4//8/AzZMDLC2tlbAJo7LTEZcBjMyMhKyyABIHQDiB0DscPTo0Q/IlmEDTAxkACSL+IFYH4gnEKOPiUKLwB4B4nig+AKqWoZkEcgCO6jwLyBeQIyFpPpsAtQiRyC+DBMExlcikoUF1LIsAYgNgYZfQJeAWpgAtRR7oqMgNQoAqfdA/BNoEQd60qdaakQDP4hVSA3LGEYtG7WMKoCFyGJKAkh1oAn/pYllQACyLJ4uPgOCe0CciCUK5pJiGTWKq4/A4kqAmOKKBY9hIJfL4bGPD+YuagRjOhBPI8IMXmpY9gqIHxLINrKkpEq6xtngyNRAlxsDqVw8etmgNAc14syWyIzMRg3LVgPxBwL6zYH4BbGWAQAlPnzUjxew6AAAAABJRU5ErkJggg==",wind_set1_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_53},Symbol.toStringTag,{value:"Module"})),wind_set1_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4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wB98XkcuiMjNUKRWISFA1xR9pIH1D1Nx/qT6zx7yqL7QOUShbaG65G9gAAAABJRU5ErkJggg==",wind_set1_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_54},Symbol.toStringTag,{value:"Module"})),wind_set1_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4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5jBZcppSuIMXYxh7OU0kudzlZwgr3S/gFOsVB3jK0PIm01EfP4MId6vV4IIczgIaX01GhBQgiruMFx484wVlk/VYxxFls4SildN139Weygn1vdHCy7WUSBizJwWFhRWb8C9rGGmTIwxBi3sYtn3Ofz7TyfAV5LFyu+AE5VDIwh4A7dckEm8k3KateU7g1uQ27QPB6zO5jM8MEPAOvYRx/LKaV3WN2KMW7gsAyS86wbtITzKmioR/pddTqd2zySzTIIwujDM4L9Gdgbs8pUNWQxot8AAAAASUVORK5CYII=",wind_set1_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_55},Symbol.toStringTag,{value:"Module"})),wind_set1_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sb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gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz79V3RqAAABgUlEQVRIx73UP0vDQBjH8UZEHBwUHBR0EKeCooPg0CAuCqKCm4MvwNGOgq/A0d1JHQXd3PwDSUBRkC4ugqKIjhrRNX4fuUIol+SaXFr48SS55D7Nk0ucKIoqnfo5TcxxHO0JtVqth3JE3jm3HgSB0b/T3UQqpqBjskpCMur7fmgd00CLQNemLTPG0iDG1ilTXLeT1lIjLAPaoByQLtnleJAbawPa5fh27ja6rttLeSJD5Jss5IVMsDHKo5rwjswx6W8eyLSNy2wekgFyobb3WyHOG6Z0s/9adIFMUs7JoFwjQy3QCOWSSNtnOf5WdOkLeK/u6IVUVUub0Di5Uc81tPFSr6k29qmWbpKzGCQr9cvm5yre0gaZILdZUC5MA0prl4A+rH+IE0Bp6Yo8w1KwPGAhrF2wMGYCMj5NefY877MwlgUyJhPugdWtYBrwgcyoF18mvAKbt4bFwEC9+P8g+SkFSwCrpWEasGIdU9/Ok4Rh61g/ZSt2KD65rMbTRKwTvz+HwVjaNmkYAwAAAABJRU5ErkJggg==",wind_set1_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_56},Symbol.toStringTag,{value:"Module"})),wind_set1_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0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Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo5ZDIzNGIyMC0zMGJmLWE1NGUtYjhiYS1mYzI0NDBjYTQwODIiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6QEdPBAAABFklEQVRIx2P8//8/A70ACzZBRkZGFL61tfVBIGUFxG+A+Cce89YdOXKkiCTLsABJqFoJAupkSPYZFnASiFWBOB2Id+FR94oalv2FGXb06NEHVI0zLEAISjsB408Aj7prQHyKUsu0oHQuAXUbgTiAUsseA7EyEO8H4kd41O2hRjA+hNKTgHG2gdw4Y2KgIyDWZwZQehYwgUzAl6mBmOJMzQWlRUcz9YAnkFHLhq9lPMPDMmCRpADEB4A4AYd8AhBvoIpl0IzLD8Tz0S2E8ucDsTw1g9ERiC9ADVaBivlC+Reg8iQBRmztRlhTDtoE2I9U6jPALAL6/gM2A/G1Q/EmEKiBMB8StIginyEnGCAVD8QTCVmEz2cAdOlaRdoGpzYAAAAASUVORK5CYII=",wind_set1_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_57},Symbol.toStringTag,{value:"Module"})),wind_set1_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBD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KIw2Rb0qugTJrjxJOFhl7NX9u9RnEwObHdaUeqXp8qkSL0GV/pbkqaYlSxYXpDl6i1b1qdCsJxXj0NjfvD8yxpG9gVG3yjypnf07wAAAABJRU5ErkJggg==",wind_set1_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_58},Symbol.toStringTag,{value:"Module"})),wind_set1_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGV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JUIsWAC1KpEkw2tjYgCw6AMT6QDwdiKuI1Q/EfED8EUmMA4hBCeEnshqg4x/CLLsAtYiWYCnMsvNAjgHURX+RFID4P4D4Hw4DQL5gh6qB+YQfqu8TmpqlyMG4H2phItDLC4hxKjCeG4BUPXJiAoqBLPoI5Augq0FPICRZSLZlUAlkCwOBGjbQzDIkC/OBeCOhTE2xZaSAUcuGpGXSQMoUiI8BDX8FFXMGUr+B/EPoakZr6lHLRqhlAJ4u93HI8t6FAAAAAElFTkSuQmCC",wind_set1_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_59},Symbol.toStringTag,{value:"Module"})),wind_set1_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3R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yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz702M8SAAABiklEQVRIx2P8//8/A70AEwMdAQs2QUZGRpINsra2NgBSCiB89OjRCdhCjIVcVwINDwBSDkAMssQeTXoCtYNxPhDnAzE/EB8A4ndIDnEgOhiJAcCgEkQyvAbqy99AzArEAjRJIECL1IFUI5RbDKUNqG4Z0CKQL/ZBzdkI9O1kmlkGBHVALAWNrwSo2EFcwUhJarQCUlVADErjwUBffcCXEsFZClt+IJTPgBbxAKmLQKwExD1Ai0rR1WAzl9xgnAi16BIQ1xCriWSfQTPzeiD+CcSmQF9dxqaOYp8BLZIEUnOg3CpcFlFcEFtYWIC8Ow+IhUHJ/e/fv/00K/WZmZmzgJQHEINSXfyJEydIrpuIijNg8GkAqXNAzAnEkcDgW0HIYLLiDFpKLIVatIwYiygJxgYgNgLix0CcTUlxgzcYgb6yBlKHQEJA7AT01QFiDSYpGIH28AKpxVA1vaRYRE4wgkoJRVJLCZKD0cbGxhNIbSNUSpAajLhK/ftAfBWIZ5JjEUk+GxbtRrpaBgDHU4bh+y+TeAAAAABJRU5ErkJggg==",wind_set1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_6},Symbol.toStringTag,{value:"Module"})),wind_set1_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczp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Property({__proto__:null,default:wind_set1_60},Symbol.toStringTag,{value:"Module"})),wind_set1_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1MzoyMiswMTowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMS0xMi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vod+WrUWA3tLKDhbb0BUZANcZi7I8wwzDqaBsk+cXLIQmkA2wngzXRjlqw6gLbSr1GvKa8uPNPdUAqkZuzLH2BfeZsipSQBrCzDEbfrl3AOesB4zIY3fHEZ85GYkU2gZ3iTR2pTe0e48Lc1GlxIr4GORE/AenjMNrLEfnbAAAAAElFTkSuQmCC",wind_set1_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_61},Symbol.toStringTag,{value:"Module"})),wind_set1_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb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EQVRIie3WP0vDQBjH8au+gU4uLh10cHPPoksXVxdbVFyEgkMdrP9ArYO0KCgIVRcFwRfgKzBDUtDJqe/AzUXdjd/QR0ljkruE0EEMPPzSp3f34a4pbcHzPDWsq/CP5YLluZhlWdNEMdx3Xdf2N5UbBlQnTmPeXncc5yxPrEQsB1pValLum2AHuR5jAL4mVgItM4yJI5z5ZwbIf/KOqF0jjIkLxDk1B/hoALWITYEWqRfqQZl8Zkz2oTXqnSongQHIP4Ulxt7RmxFsFszWYaPELVVJAqMg6ZeIG9nZ8y+MARVZvMqkNx0YB4WvyO8Zk3vEFPUkC8eCplASNkHY1LgGvFf9h0ALDWAsNE+MMaGTAlSm0A/GAkXuXyl/oW0mtjRgm/uGrHFCb0MHhXdWIzrSTwK7VF12tMW4YxNoAEsBKpXi6GIxDXhFrEp/n/5hGigSiwJV//fp+/FuA+2khWKxCFCpjEdnhAm4RzTlZQ3oMiukxQS8ID6AGknjjLG/++9qmNgXCG8S2nkX+jQAAAAASUVORK5CYII=",wind_set1_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_62},Symbol.toStringTag,{value:"Module"})),wind_set1_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZ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gc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MmVlZTkxMi1kM2RlLTA4NDUtYjk1YS05Y2U1YjY0MzY5MTciIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6+CkJSAAAA+ElEQVRIx+3VoUpEQRQG4O9WFTQbVhaDgobdfMoa7AYfYEG7+gRu8AXswmL2EQxuOVU2+ACLBoMGk8VwLVeQ5YIg3GXDPXX+4ZtzBmaKsiwtqooWa7HlwSLiGHe4zsxziIgn7GAzM9/qMv/FhhjjNjOHFTbDFrqZOavLtFijWERsoJeZk0VgAzzUZRsZY0SMMZzPN3ZndWAREZcY4QWPVfYQK7jHJzroz2XqqlPtg3fsY/0HLCLiBicNPx4f6BcRsY1TPOO1WtzFatVFiTXszWX+qi6u8IVBZk6LJtqIiB4m1UEPMnMKxaKgprAjnOHiN9R+ni22XNg37r7dxv4sCwMAAAAASUVORK5CYII=",wind_set1_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_63},Symbol.toStringTag,{value:"Module"})),wind_set1_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIg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UVORK5CYII=",wind_set1_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_64},Symbol.toStringTag,{value:"Module"})),wind_set1_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1MzoxOSswMTowMCIgeG1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QvwTiHXgs+gbERUDLfgyZOKOrZQlAaj40U78czdRDKoEcA+LZaEo/AB2wgRaWXQVibTSlD4GWKdDCstNAfA1N6VOgZdVDNp8NiGUXgZYZ0MsyjMRAFctsbGwmACmQLwKgNNwyoOUgPkh+AnqyJ9cyWHl4EYhrgHgzyDKo5QdAZgKxI9CyC1QJRqQCeCcQuwPxGyBmBWJ+IDbEZhFFcQa0EBRc+WjSiUCLFtAqgYB8l0CMRRRbBrWwHpr0N1CSGgGRWC3aAl6DFAAAAABJRU5ErkJggg==",wind_set1_65$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_65},Symbol.toStringTag,{value:"Module"})),wind_set1_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyI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dG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7JrVqwAAABxElEQVRIie3UvUtCURjHcW9ym9vtZag/oDkFtSEIetmitz1oKWgJKoqCIIhoCpcCa4qktrbIQeUWtLVXQ5NLCb2K2ffoEeR0rvf6khB04Me59znX54PnHjXy+bynWcNoOmYYRt2N/H7/BJOVTCbvdOsFpxEY0ALTNnknnYDpX8GARphixJSlW9KvgnVjQNNMBxI6In2kWwfWhQGtMK3L20gul5v1er0+ruM6sGZMbt0p8crSFk0X5Vq7DqwJU97RBQmTFicwkUikq8JossG0RMQHItlsdtY0zUmuDx3AFJjfNSa/0Zls+kmCNLbk2lQF8JzsgUVcYcrWPZAukiEDNL6qBJaGq3emQBEyT07IsAO4RH3TNaY5DKM0eKHeKut2YJTMUNv/gQUCgV7uQyzu2kApT/EHe0mGeO7VAWzj+km7jWBr3K/ygGGzdTsS8jmA4jd1o9slLaacusI/g2VZeeo9nuJRLoGDPP+hgOPUjp0wsX1z4p2UQTGgMQGVbW0JfJTb/ibrAuzl/loHqZhoECRfdlAZ2MH0TOOMXWO3mBjiMCyLdXJP0/tqmlaLqSMMGG8kFrLBnkhUPcZ1Yc0a/9jfw74BkmB72kw5hDMAAAAASUVORK5CYII=",wind_set1_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_66},Symbol.toStringTag,{value:"Module"})),wind_set1_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWM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cmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6NTM1ZDU4NjgtYzRjZS1lMTQyLThjZmUtYjg4ZThhMTRiOTA3Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1MzVkNTg2OC1jNGNlLWUxNDItOGNmZS1iODhlOGExNGI5MDciIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xZndKAAAA/UlEQVRIx2P8//8/A70A46hlo5bhtQxdwNraOgFIgfHRo0cf0MwyqEXzgfgCEDsCLftAE8tobRHcMqBFE4BUPhA/BeKpQPydSP06QCwIxMeB+A8Q8wKxERA/BuJ7SGr4gDiNEWhRAJCxng7pIwJkmQCQsR+IDYD4NRAfRFLwCyoGAiB1GlD+XahYNBCLAPEyqLgyEPtAfbUZTY01LBiRLSwExtcELKkUFgIbgfIBUDFQ/OoDsSFQ7AIhNcgJBK+FVLUMi4WCyCmS6pbhA/S2DKShEeRzoEETaWoZDgcMX8tWASljIHYAGv4YyLeC5rlVQH4ZuprRynPUshFqGQDNgtWeR+ZEQwAAAABJRU5ErkJggg==",wind_set1_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_67},Symbol.toStringTag,{value:"Module"})),wind_set1_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2J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WxYZwJCJuNEGzqRXe41fa4QIORcSHvgukBfQO46g1tUUdExEx3281/gNFxNLo6GhWqVTu4HwauoQDjUh7qcaW0MjISDYwMHATF9IX4jN2NrdF2TOr4E0X0OlUNI1IazhaFMVM2Z3dxZ50Ho3o/oIi4nEaewzT2IDnRVEc7uXMKhFR7wCN4wk24RWqRVHUeqrGtOAULnaA7uFsRNR7Lv206G2c6wbqq8+aCmZ7RHzqBPWNrYDH8LQdtNbYJC61g9Yaq+BE+p+sr/bW/wP5W4zaxA27jQAAAABJRU5ErkJggg==",wind_set1_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_68},Symbol.toStringTag,{value:"Module"})),wind_set1_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS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IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7OjZLwAAABIklEQVRIx2P8//8/A70ACz5JRkZGvJqtra0TgNR8IF549OjRBGQ5bJ5gIteVSBaBQDyQv4CQHiYKLfoCFfoCtXACVS1DsugCEEdChe8CMchn+VB5qvlsAtQiRySfgUAhVHw+0EIDalnmALIImCA+IAtC+SAHOADZF0hOjdgALoOQLDxI1QSCBXwgRhETAx0BCwmpkBNIiaMJC9DEMiBIAuIpaGK3aGXZGyB+iCb2HIjViDWAEV9BTETZCMoG+0EpEJgSHWhWNlI9gQBdHgKkfPAokYDSktSIM5BF8USYI0YNy7qB+AAeeQ0gLgfie4MugRCKMy4CQQSLM2ZqBCOoOkklwhwtalj2EEtGRgYc0CLs+2imHs3U2AA7EJsA8SFiLAMAxxdmualfqbgAAAAASUVORK5CYII=",wind_set1_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_69},Symbol.toStringTag,{value:"Module"})),wind_set1_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Im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0ieG1wLmlpZDo3YjRiZTIwNy1mNWY5LWFjNDAtOTlhOS0zNzE4NjdkNzhkZWMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4fLtr0AAAApklEQVRIx2P8//8/A70A46hlo5aNUMuobaC1tbUAkDIA4gtHjx79QGvLAoDUeiC+CMQOyBYy0iK4gBYmAKn56BYy0ip+gBY2AKl6ZAsZgYIOQM4EKpjPDMSiaGIiUPGLQMsMQJbFAjmLaJwQLwCxI8gyNiBDiwYW+AFxIxBfAmJ7cDDSOIGAfUSzBIKU9FEsopVloAztD8QTMTL1aEE8atmoZcPLMgBGOmiqz5w9eQAAAABJRU5ErkJggg==",wind_set1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_7},Symbol.toStringTag,{value:"Module"})),wind_set1_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1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HN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxNTY0MWYzZS04ZTAwLWI0NGItYWNhNC03MjI1MDE5NGZhOWMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4O0H2cAAABsElEQVRIie2WOyxDYRSA/0YsiMfQUcTIZGJoIkpKJWJqkA40VosmQkxMYvHYjETSGCwEi0hjuDdmJDaJgUWMEkGo77rnVqv31UcM0pt8Obd/zzlfe/4/tw1kMhn1V1egKqvKXGWVahQKhXYIUw5vt2uadldJWYLQZjWHGNTL6zCy84rJcqQ1hCMYBmOPAiXLaBYkbMOiruvXLqIPSMEked9nw1VG8RyhC6YpeJO1dUISnqDfEtqIBqEXljxlFNcSHqFZmsQMIet13B9D2BLCDexCHN4hSm6a3GVfMhH2EE6h0UOYhjF4gRFDJPWzImuxlZEwY3wjEvZ9CA8gKKPOE/2+CmQ06JCRfCpzY1NOQmXuizU6V5GtTBqvEhY8hMYIn2HCjyhPRqNxgkbBQxFC5VeUldFglPtDuIU+Cu+dhHK8T2BIesRZ3/MS5cqa5NN2ewgTEFXmHr1CkrwtP6KsTJr6EVqPHt+js5W5CWV0V9ApqRHWz4oRFcgchAOwon6eDPOINosV2cpshMbxblAljs5TliO8VObvk3E4IuWIXGUibCVcwAaitXJEWdm//cPzBYtBKNqWfyQzAAAAAElFTkSuQmCC",wind_set1_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_70},Symbol.toStringTag,{value:"Module"})),wind_set1_71="data:image/png;base64,iVBORw0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q6vEbMUi67sUzKVhBRVP1Gq4ztdhC83FmQYmUyBDliaVXFP48Q9lvye7qgO3HisaluAAAAABJRU5ErkJggg==",wind_set1_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_71},Symbol.toStringTag,{value:"Module"})),wind_set1_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzA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s227IKZpWiHIdF0v4+5N07wtRDSnrtu0MBigWdwWekNdAH9ygblAYkuA1nL5siAQ+R5cO+OnTGANQL24c4GhIvnXVLAIoG50jUaY+0wMo+A24UwEUIm5OvkW4g7i91gwwzBKuFOV36FAJQTUKutkLI+Te4j7ZReEQ+gbydm6CwFNog95hvxNkn8mrVtAcp7qqDMEJPmrNLtxAzevho+oPw4oyTmzcAOulp5EBSW9QZyWCvASDXtBrBmTl6JO1bIsO+3d6ADFvtT5coP2UZt6gbNUMFXUxA2qTTNB0WMPaJ3cYupb3wXcxM2pllbRahAoNcznHz6jIz9QJjAfYFlamhssDMjci7S7VqsdZgLzAH/RNMA9lZeCK8CWM4N5gFJkSoC5wTy79B+IdnOD+QC1zGEAirhxV2oU9ak4c5iADgKmG8OaYU2F/QGiwnfa0Fbc3QAAAABJRU5ErkJggg==",wind_set1_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_72},Symbol.toStringTag,{value:"Module"})),wind_set1_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8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U0NzYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5fbIYAAAABN0lEQVRIx2P8//8/AzpgZGSEs62trVmAVAAQvwfitwy4wa+jR49ew2YeDLAwEAYpQDydCHUgh8kAqaeUWPYFib6LR91PJLVkW/YESp8FBpMDAwWAiYGOgBifiUFpbWCcbMCXQIA4EYi/UmKZBJQWAWJ/AmpLKLXsOpS+CsQ1+BLIv3//HlMajL+h9BtgAtlA6ziD5XAeYJwZEMrUlFqmDaWNgfg8rTP1h9FMPZqpqZKpgXXZ4MnUdE0gpFgmQRPLgKlOAITRhDlo5TNQ3DzAVhYCxRKA+D8QF1DLMpBBoGbSASBWQbYISM0H4gtAvIBUyxhxNeWgvtoPxKxAzA0t93igFjkCU+YHbAbia8rhTCBAw8CGAvFfWBVDyCKKUiPUwnyk0j+RXIvg3kbHWBKFAxArkGseDAMA7CGeGAUwHrwAAAAASUVORK5CYII=",wind_set1_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_73},Symbol.toStringTag,{value:"Module"})),wind_set1_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDI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D2P4pjlywDFpuli/K4SmPWpUJUgZinFHTYRWhl7cvOqs8NaaPsVcx4xe6jF/8c37O/+Xf3DvJZPEySC2pUCp0gAAAAASUVORK5CYII=",wind_set1_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_74},Symbol.toStringTag,{value:"Module"})),wind_set1_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEy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Pwdi1peIDYC4sdAfA8qpgPEgkB8HIj/4FHDB8RpjECLAoCM9XRIHxEgywSAjP1AbADEr4H4IJKCX1AxEFAGYh+oizdDxaKBWASIl0HV4VNjDQtGZAsLgfE1AUsqhYXARqB8AFQMFL/6QGwIFLtASA1yAsFrIVUtw2KhIHKKpLpl+MCoZUPSMitofloFNKgMKrYKSBkDsQNQ7DEhNaOV56hlI9QyAEBU5p5IMo00AAAAAElFTkSuQmCC",wind_set1_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_75},Symbol.toStringTag,{value:"Module"})),wind_set1_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5j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vcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5hSfroAAABvklEQVRIx8WUTygEURjAjdKGUCQXtUqbSHITu4mUCw7KTeHg5OLo4ELtQRy4KAdH7ooT+T97WRyUnFYtaw8of1NI1m/qm5rW7s6b2cXUr2/mezPv1/vmvU9LJBJ5f3Vp/y4LBAJRghcOwPpCNBQKjTgRWOdPJzOT73AEn/L8iKz/N2RfkA9nRgrJk5vSqcrmYRRKshGqyqZhGc6zESrLmHjK7/dXc38K5RCGbidCFdmDyBaMZxHuQS0cQw9jtzmRaZr2IyfCQ6iBV0OM8Oa3ZJUiq5PUCXTZldSxTEQ70AiXkvaq/ENHsiTRBXTIkPkPX6AB4XVWslQic1LGFglj8olxPNpSrVBJZiOaIUxIl7mDqnQlVdn6HtnidqIh2LeU9B6aeTfmRFZA0KEik4j8quT7CGvSS6+gyVyhahmN1Xn46NlG1ELYhFI5f8XWkrrZ+kHCpI1oHcZhS0oah1Zd12NOZbuEdhvRAGMf5H3SSwshgsznVGZ0/XomC9uIirjfgE54g15k247blUWsIorLxoq46o0W2QphUEXkuhFbZGWEYViyE2UtSxJnFOVaZhyHYDpRrmVGSedgNpUoWfYNWd2V2iL5x0UAAAAASUVORK5CYII=",wind_set1_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_76},Symbol.toStringTag,{value:"Module"})),wind_set1_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAx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6NGQ2ZGNkYTAtOGI2YS0zOTRmLTg2M2UtYTRmMDViNjQzN2MyIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ZDZkY2RhMC04YjZhLTM5NGYtODYzZS1hNGYwNWI2NDM3YzIiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7pf2UAAAABAUlEQVRIx2P8//8/AzbAyMjIQAhYW1sLgOijR49+QBbHZSYTA5kAatEBIH4AZCsQo4eJQov0gZgfiDfCfElVy9As+gUV1gOJEbKQiQKLEoH4O1SqFCqG10JSfVYAswiYKBYgia+BWg6Sa6CWZROA2BDNIgZoigSJOULVYE/hFCb9D9AEogi07AHNkj4UfCBFMaWWkQRYCASTLJBiJlc/0YqBFukAqctEmiMBKkko8dkXIL5LQI00VP4HMS6iNDWCfCNPr9TIQK04EwFSnQQSiDCU5qI0NcoAcRKRjhai1LIbQBxLQE0P1HfPBl0CGc3Uo5l6NFOTlak1gZgbiE8QYxkAncJp8Cx/C0AAAAAASUVORK5CYII=",wind_set1_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_77},Symbol.toStringTag,{value:"Module"})),wind_set1_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luP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cmAHKFpsARjRRRcEe8V7UZ6i+xpgmucbFEdPgIZ0oGbYMr4p7SqgG9uFRFeiQEYVXeCaGQJt2epG0Sk3iALo3gQHMvYO0FgrINVu/AFEL56bocGkYdPotDAf4AfqCBOdEUyAa+6dJl/PAM2EBWlhAnTPXQ8DB8NE5wv7ty88n89zVtq/fcbQAAAAAElFTkSuQmCC",wind_set1_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_78},Symbol.toStringTag,{value:"Module"})),wind_set1_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1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z5rTlPQAAAA8UlEQVRIx2P8//8/A70AEwMdwahlo5bhBYzW1tYgC1OB+O3Ro0fXgASBYoZAyh6I1wDFnhCjhlifyQHxDCDuQRLPB+J+IHaB8olRM5pAhrBlwMSzAYgD6OUzeSBeD7QwgR6WOQLxBSCej2whC7LFQAkBKJsNSnNBxfiIUIMOQMG4GWohAzAvLgBlamOgwBk6pI9AkM/eAfE/KP4KleCAuvwbEP8BlTRAzAvEf/GoAQFWtKhhhop9AOIHjLTyBjSu5kMtcgQG4wUmGlsESiSGIIsYoMFDbYsUgNR9qEUgH32gaUoAWmiPLYUyjrauRi3DBwCdqU/vbCrBxQAAAABJRU5ErkJggg==",wind_set1_79$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_79},Symbol.toStringTag,{value:"Module"})),wind_set1_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc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JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz44VKQbAAAA5UlEQVRIie3RIQ7CMBQG4NVAggHFCcBjUG1I4CQcAYOHE3CFHQKBnGgPAASHRiFmUeVvsiVANuj6XjHwkj9/l5f0yzZhrU2+NeI3MCFEIqUc4miNMWfq5a8v8oQppfqoU/E4A3iMibVQO2SKXKngW6z4jB0ctxzgR8wNF+iFcYHeGAfYCKOCjTEKGISFgsFYCEjCmoJkzAfEPkWlWuuMjFWAOTIpQezcpWtgKxasArwhYwdGwR7AzEEliByiYDVgmx0D0kPNEdcXZIkMijU7tkBtatZR/tkI1a1Y7YHltVjs+WMscwfYAPjLDSYjfwAAAABJRU5ErkJggg==",wind_set1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_8},Symbol.toStringTag,{value:"Module"})),wind_set1_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy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WI1YS02NGE5LTQ0NDMtYmZmZS0zZTNkNTBmNzE2MGQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lgf1PAAABv0lEQVRIx72VSyhEURiA7/Uo8kjZIc2CIgvLKTNlJCzU2EiyYmnHgqhhRRkLsZGskIWFHSHPUTPJ2LBmb6W8VhPGd+of3TRzr3vvXKe+/nP+M3O++s/j6ul0WlNN13UtVwsEAo2JROJes9Ey6xqbbiVDNEpYhRmEc57JDCLVxpCteCL7JZpGtCD5IvofeZOZiBoIF7BJLuJaZiGKQS1ckg+5krFglO6khSgJ3cy9OJYFg8ElwrjkIyw2byYiX0h/DR4Zz9qVDRG2VQ72oB/qTURboP7zCnXk3+yWMUD3ACrhHJqgxkKk8tdOD4ifcArl8psb6LISMddLaGG8aPfoDxB2pKRH0AefJqIwYReKwU8+afdSh2UPK2Af3mHQQhQlP+X0uVIlPZY91P4qcvMQ9xAOpaRx6GTRlJnIsUyEap/WoUyuxYbsaVaRK1mWkn5BQS6Ra5lBeCUlfZCjnvJEJsIReahLMi9NRsicjzAMy/F4/Nm1LEtJf4TkQ/IJ6kAWy4vMIDyTQ3OrLjO0eSIzCNXipSKcgBNPZFmET1DtRRnVYfDJsBlW5N5pXsjUYu05pvMuqyK05pi+Mz36/9G+AfK+dNoFvWQcAAAAAElFTkSuQmCC",wind_set1_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_80},Symbol.toStringTag,{value:"Module"})),wind_set1_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXB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kd8+GsAO0AYGwJaHUmC1kmTOOcysCOKPcrNl0EQF8WAKLPpbfWBJ0mOoNjZ8QnyiNFj1CwmjskTjsB/OXVHaf1Z2MwAAAABJRU5ErkJggg==",wind_set1_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_81},Symbol.toStringTag,{value:"Module"})),wind_set1_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPS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sw2KRBhDLA8XVqWoZDotgZrpSzTICFmG1jBGWEhkZGalpEQh8AmLho0eP/oHZwUQDH8EAHxCbkR2MaBYdBuLrQPwRjxZXsixDs2g/EHsAgygESItCfVANlf+FpM2F5DjDYpEP0KJvONRyASk7qK/sQfjIkSNfibKMFIvwFYkYwQg0+AAQB1DTIqxxBjTYAeptAySLjlLLIhBgwRN0p4BYEIhPU8MiXKlRCMkiUNJ2oIZFuHyWBsTsUItMqGURLp+BLPoCxBNA+QcYpA1ArEArn4EADxDPROKDEk0ApZah5DOgD+xxqLsIDM4PlDQ9UCwbbcoNGcsAV9SKOkw8i9gAAAAASUVORK5CYII=",wind_set1_82$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_82},Symbol.toStringTag,{value:"Module"})),wind_set1_83="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjA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2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7xyw0MAAABL0lEQVRIx2P8//8/A70A46hlo5YNHsvQBaytrQWAVAEQLzh69OgDmlkGtMgASG0AYnkgNgRadoEmlkEtOgDEoHANBFp0gCbBCLXoIFQsEoivUdmef0D8mBFokQKQAQoufhqnD2uYZeeBGJQwfgHxNzRFHwkYwgTELATU/AViP+Rg3A+1MBEYXwuIdi7EsdeBmAOPsttArIOeQMi1sAlI1eJR4gs0bwsjFleuB2KQxYrE5jOgPm4gdROIpbFI7wKa444vU+sD8UWgog8k+C4aSC3BEle6QHOuY7WMXGBhYcHIzMx8FMi0RBKeBLQoH2dxRVHatrY2A1InoOa+A2IVoGXvaWIZ1EJQwooH4iygRdPxFsRUsEwSSK0FYjugZX9oahnUQk6gRd9Ha+pRy0gCAHc6gC5RzHniAAAAAElFTkSuQmCC",wind_set1_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_83},Symbol.toStringTag,{value:"Module"})),wind_set1_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnR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mRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjM1ZTYwMy00ZDUwLTRjNGMtOWIxMi1jZmJjMDkzZjA3ZmEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5J3FhzAAABNUlEQVRIx+XWuy4FQRjA8f9EJKIi8QZaCo1mt9hCJFrhDRQaoVdJPIhEJ+ecRqLgxCWZz4ZI8AZqpzkqcopdzUg2a4edCwXTze37ZW5fRpVlyW8V9X+wNE13gKmGsU8icuASvB67CftqqQsi8vBT2BWwLCIjn21ri90Bc8BECNgGuwdegC3gNgRsg10CiEiWJMl8BTwG1lxAJwzAgOfAjCvYBsuAYfXW+YLfYkqpxok+oDfmAwZhrmAw5gJGwQy4BBwB0zYwJrYJ7AHjNjAm1gVWgWcbGOvMxoCBAbCBsbBF4KbW/AnUWo9iYLvAfkNXFexorddjYBdAZun+AA+11tuhj3oSGJqA9TIA+kBHRHoxMsgKcGKqr4AGToF+URSPeZ6XMdPVBjALnAHXIvLmnRv/zL/xHQ9sJdpZmwGPAAAAAElFTkSuQmCC",wind_set1_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_84},Symbol.toStringTag,{value:"Module"})),wind_set1_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXN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$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_85},Symbol.toStringTag,{value:"Module"})),wind_set1_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1MyswMTowMCIgeG1wOk1ldGFkYXRhRGF0ZT0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AjaAZlDMQZfACfAJ7KhqZoxpBcUGoA9gV1UzNzQt4NRau1Ab80HFFHv8i6VpugwcAF2gp6rfdSEfNgO8AbPAK5ABd0BXVZ/GgUZiIoIx5tZN0mAeHXwPbAPHVaAy7Ay48Jx9ANaqQmXYKtALBXkx9x4vwGIIyIu5frSBwxBQFawBXIWAqmBLwHMIqBRzYMcVvBZUFVsB2sB5HWgkNv1d1ckPDokA2kGw70gAAAAASUVORK5CYII=",wind_set1_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_86},Symbol.toStringTag,{value:"Module"})),wind_set1_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS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gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7gHonwAAABF0lEQVRIx2P8//8/A70A46hlo5bhtQxdwMLCgpGZmbnp6NGjtTS3zNraOgFIzQdiP6CFm2lmGdAiXiB1E4glgfg2EOsALfxFK8vagVQFklAZ0LJuqlsGtEgJSF0DYnYk+U9ArAa08CW1LVsHpAKxqJkDtCyVWAOB5jgAqf1AvBCoLwHDMqACJyC1F4d+UN4wAWo8R4KFoASWgG4hI1CCBUiDDNLFo/8wMD/aHzt27D8lFoIscwbSLdiyARq4DMRfCaiRQWKD4t4VSoMtZETKV7QGiiDL5ICMIBoYLg3EyUAsCMSJQJ8tYKSFF4AeMABSB6CJC2TRBgYi4olSixyBFl3AWTZSwbIAIJUPxIXIFo1WnqOWjWDLANyDgsadU8xkAAAAAElFTkSuQmCC",wind_set1_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_87},Symbol.toStringTag,{value:"Module"})),wind_set1_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5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RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6KfkRXAAABJUlEQVRIx2P8//8/A70AEwMdAQuMwcjISFCxtbU1D5ByAOJLR48efYRPLbYQYyFgODOQMgNiVyB2AWILIAaJiVDkMyQL1JAMdwJiPjQlp4C+ek+RZZaWloxMTExdUAuM8OjZTXECAVqkAqSKoBZdoKllwKC5DaTigPgfEBvgsPAbEB+nStIHWriUgIUHgWp+US2fEbBwN9UzNR4L99CkBMFi4WFgRr1Cs+IKzUJbYClTTtOyEc3CdmCmr6BpQUwtC4ku9alhIUlVDKUWklyfEbIQyP8AxAVUqzyxWDgRSZofiAWoWlMjWQiqJfPQLKR+swBqYSyxFlLcBkG3kKSamlgA9EUAkEJOCDeAWJNWPvsA9Q0MvwTiB1C5B9g0MA7bdiNdLQMArXKGB+3eohYAAAAASUVORK5CYII=",wind_set1_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_88},Symbol.toStringTag,{value:"Module"})),wind_set1_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM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Y2Y1Y2MtNWZjNS02ZjRiLTgxMzctOWY5YzE4NGZlMTI4Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MmNjZjVjYy01ZmM1LTZmNGItODEzNy05ZjljMTg0ZmUxMjgiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ncEIPAAABUUlEQVRIx+2WPUrEQBSAJwhWKmlV0D3CWlkkCJbeQk+gIIqFsGuzCIIXsBBsLD2CFomFWEQ8gC7+bCXsarH+oPF7MIG4rFnBean2wcdkJsN8POZlJl6apqZfeJ73ox8EwRLNO1zEcfxiCuLXNf8iQzRD04RHGIEtOEL6pSGr0NxACybt8CWsIjwvQ5bFMWwivS9DJtGFXdhD2tWWZXEFC1EUPWvKPuEAtsnsSTOzU1so15p7Jv11JCea1TgODdhH9Kb5nd3BPJKW5gmSyeQEmeqZKqfImJS8a9kDTPdM/YAJZK+uZU0WrZgBMZQNZaXIOsh857IwDEXgs3jST2bH2vTbLmR1mhqswFlehmiZ50PYoV93IfPt9VGFDbmFRQZrVpTAopPMZM/IIC809ldutEj0rwKxQll81r4SwRyiW61qrNoMjc0oUSv9XIZ+UUaDZN+nKFXadLOUvAAAAABJRU5ErkJggg==",wind_set1_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_89},Symbol.toStringTag,{value:"Module"})),wind_set1_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAA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9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_9},Symbol.toStringTag,{value:"Module"})),wind_set1_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1Mjo1OCswMTowMCIgeG1wOk1ldGFkYXRhRG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QHGdoFu2HOtIeiJ8CsQMwXu4gqeUCUnZQX4HU2B85cuQrUZZhscgHiFmBeBfURxgWYiuuMIIRaPABIA7AZxHQ0G9ADIonNyA+BZWbR1KpDzTYAeptAySLjqJbBFOPZOFKIM4mxjIWPEEHcrUgEJ9GtwjNwghK6jMhJIuuQ+PjGzUKbGw+SwNidqhFJtSyCJfPQBZ9AeIJoNQGDNIGIFaglc9AgAeIZyLxQYkmgFLLUPIZ0Af2ONRdBAbnB0qaHiiWjTblhoxlANONmDXv3ax3AAAAAElFTkSuQmCC",wind_set1_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_90},Symbol.toStringTag,{value:"Module"})),wind_set1_91="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS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DwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6KX/3uAAABSElEQVRIx+3VsS/EYBjH8W9TEmLQTcTgJEbiLFJ5EquJxCgGsVr4Byz+BIu1g1UYTBZn+CU2Z3ERi8TOWQhxankvuTS9XsVVDH2Xpm9+7efJ2+d968VxzF8Nr8RK7P9gyQkzC4BdIJL0UBhmZlXgFJgE5iXVC8EcVANiYE1SrZBldNClm1sHbvvsfAGPnplVgDowWnB/WBu7BgLgA3hNhF66PDzori1goAfUAlY7l/HCgVuSop5lmsWukCrQAIYy4vfATLJBcoNtTFJgZvvAXkZ8RdJZsvUrwImrdiprnyWwEeAOmEiJnktaztrUc8CNpGYezN1vAEcp32pWUiMVy91aZu9AU9IYQBiGnu/7AhY7YgeSdroeV7/qbbMF4Mq99wmYlvRcCObACNgEtiUdZh7EfcDGgWNgSdJnoZgDhyW9lX/qEvvR+AYNA5cu5F8iggAAAABJRU5ErkJggg==",wind_set1_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_91},Symbol.toStringTag,{value:"Module"})),wind_set1_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPi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0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2ZjE1OGUyOS0yYjNhLTQwNGEtYWQ0YS1lOWY4NDE2ODNjMmMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7gpI/4AAABeklEQVRIx93WvWsUQRQA8N9eo40krR+FaGljIco5B8b0gmnsbQT/BzvbNDaCiNhbiFpqwAj7IFopiIWmECE2wRAlFiKyNlMs5u6S27lTcLt9s7M/5s2bj6ppGn/rqf4pVlWVlNJpzGM7Il6XAO3/78IGg8ECno/o+zgiLs8K+4Y7+J7f30TEo1lgP3AA6zgfEZuzTOMV3MOhEnC/2MWMvMvgewwmBfeNRcRqSukYXuII3mJxEnAv7Dju42pEfIQMruLkpOBYrKqqoZ26gp2wrmBnrAtYis3hAU7h6F5gSRrn8BRn85I4iBPjwK4F0oY2sIBlnBk3wq7YE1xqQZ+whQZfR4FdsUXcwlJErKeULuRCgZ1RYFGBtPCbuNEKDQWnha3h3B/hXWBd15tFWEppHl/QG9LcBq/VdX23FFvCwzGfbOT5Xa7ruinFbuN6K/QTa3iGFbyKiF9TKZCU0od8kq9k4EVE7Ex9u+r3+1Wv1zscEZ+Lj5j/5pL6G138PNrQnWLbAAAAAElFTkSuQmCC",wind_set1_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_92},Symbol.toStringTag,{value:"Module"})),wind_set1_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAA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W4BLaj1UzSHHAG7FXqFRZrt9sN4BFY/uGoBc0sBY6AQ/uUxG99SYvWGN2xnDNDt4ArYDU6ZmAN2AXOrWniX8SSWsAGUPPe3//1j/gb2SE92p9wY1YAAAAASUVORK5CYII=",wind_set1_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_93},Symbol.toStringTag,{value:"Module"})),wind_set1_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHh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Bp+ITKJRCNKLRiPIIzW6joVKcaLggNKcQGlnPJO/J5rJj525nVTfJk9/uzs48eWc2k1VRFHX8V1NtmVOZUqrlSTzP6ycmE7pqQRDcuJbViL6kPmTKtaxIzMltN6xCVy6ymHSQuIYCfGhxLjIRVUDvXxWOYS2PZYxX9ApTsAKbTctkT0qwHobhd4LoAiakolneqfJ8q1XZIzEMR7BUFzaI7qGoRdK3TCwgKzUrmybK0FsXwoBJFG/xQ+NX5vv+KLELZ3AOV/ElaxDuwUyayChjMopTL1wOSd87XIq4zGR3IjyBTxhJExllehmZ7JDLRcO4B6laVzRuI0qT6U09MIz7gmfbimxkBfl8nYj+lMne3RJjLkQ2sh05SDOLbGTzxKkLkY2sh3iCt6yiVJkIt/WJnVVkK+skNmA/i8goa//KZWk/BG0Y2iaDIHIAAAAASUVORK5CYII=",wind_set1_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_94},Symbol.toStringTag,{value:"Module"})),wind_set1_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC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WNhOTEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6URkn3AAABKElEQVRIx2P8//8/A70AEwMdwahltAPW1tac9PTZAqCFRtS2jBGLrxyA1H4gPgLMFnbHjh37TxOfAS1iBlIToFwbRkbGMFoGYwoQ6yPxu5HjD8g+CsR/gFiTIsuABggAqWY0eVkgLkPicwMxyPfsBBJYARAb4PNZHRCLYtFbDtQoQ6In6oH4ALqFTFCXqAOpXBwaQcHYTaJljkD8H91CmM/6gZgFj+YIoCYrYm06evToBWwWMgIZQkD6GAHLQOA3NKuA4uwb1CB0ADKLDYnPAcT8QPwRiB1YoJGtTuNCCWShAiM0ztSAFBeVLQB5YA4Q8wBxIjBoFzDSqGwFxdEBaFAHAi06gLW4ooJFCkDqAtQiR2hioVkV8wGaulEsAvtstA0yatnItAwAToJJp+ZoEHEAAAAASUVORK5CYII=",wind_set1_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_95},Symbol.toStringTag,{value:"Module"})),wind_set1_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3L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Ep9IY7jnSiKtK1N3Ue4TDbzaZuO9AFTVGOtiGww2Ut5xhCyYxPLKIUw1kb0KQ+F7N2ErE5ROJ1SM1Ug/7K/J7tHVi1L9ois27jM87w5wjIMw0OzDLkIj5JOv2lCNkA4lGtgHA5EBk4i6odRZHtGlpEMUqF0+16QnxvpDl0w2SqrQu8M4Qhh99fpTJGJAplIPpQdRYVlTRlWWr2jvLIvR/5F2tP5blYAAAAASUVORK5CYII=",wind_set1_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_97},Symbol.toStringTag,{value:"Module"})),wind_set1_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb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C94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/HJ93AAABhUlEQVRIx+3WO0vDUBiH8QZdFCmKNxxEUXD2ghZMEBVdnCo4uLsK+hF0cXB3dXfzNulgC0lWCw4O4tK1anUTL8TnhaOEmDSnJgqKB/68JefyS056Sg3P8zI/1Yy/jxmGkXgx0zSbKP2O41z6r38YaWFAzZRjYpF5wOK3YD5ohlRJCWw2dSwEeiadpBuwkhoWAXWp7mWwvVSwGEjaLthKYkwDklYG60uEaULvbQjw6ksYUBvlmki9JQ9koMaUVbCdujH1RKdkUl2Sc7RARsmcnC2SIw2+aftgi3Vhga27J42khRyRJRZ8UuOylGkFyw30kHbbtl+1sAB0Q+SwyrUTkg2Cgbm9lArY4yeMznU+FphYioLou1B9OR0w9NtoWdYw5ZxsMmmjFuS7cy0wDJO9PhOMbMsTknH1jqaCUAR4yHp513U9XWxLvWCBZK8noqAQsExGGP+ii8mWdehCPnCQcsf4aj3bmFG/CmO6UFyLw4LtADifJtZKWYsYXwQrpIb9/5X7NdgbLVo72hetcO8AAAAASUVORK5CYII=",wind_set1_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_98},Symbol.toStringTag,{value:"Module"})),wind_set1_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN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U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpkMmZiZmFkYy1kYjE1LWRhNGEtYjgxYy01MzZmZTIxMDUyMGUiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5ieFXjAAABP0lEQVRIx2P8//8/A70AEwMdwahlo5aRDqytrR3o4jOgRQuA1H5aWMiCZIkAkAJZ5A+ijx49eoDaljEiWQQyXB+IG4AWNdIiGBnRLHoHxO+hcpxA/Bcqhg2oAPE/IL5HhD2gMjESFIwKUItAQAiKkYEsAYP0ifSYECwYE4DUfCD+DMQ2QPyJCM33oeoToHGND3wBYj1GpAQCs/AiEDsA4+0DgewBCpqPQHUCQPY6IDsQj/IKoLpOeNIHckCuS4QGywFoXBILSoD4Jw45UJxOwMhnSBaCEgnRlgH1gQzsxyFdDJT/iZLP0CxcQEbKbgPieCCWRBLbCzRvA9XLRqChoMRShSQEyjaFNCuI//79uxBInYZyZwIdcJlmlp04cQKUQvOhBUEdNauYMiCuxhKcx4GUI5B+i1FcjbauRi3DBwBkh2vXGGZwlAAAAABJRU5ErkJggg==",wind_set1_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_99},Symbol.toStringTag,{value:"Module"})),wind_set2_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgUlEQVR4AWMgFVjvOp4NxOuBWJ1UveRYtgGI/wNxwKhlxIFRy0YtG7Vs1LJRy0Yt20pPy47ALKOF4QpAfACIDbBZBqKBuIBalgkA8Xsg/gCyENkyIE6Ass9T03cGSBZehlowCWYRyEEgdbSwcA3EEkyLaGHhB9pahGnhfnCCGcwAAN9w8YksaiKWAAAAAElFTkSuQmCC",wind_set2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_1},Symbol.toStringTag,{value:"Module"})),wind_set2_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWMYlGAUWO08xmi963gKEIvS1CLLHUdBFk0H4v9AvJu2PkJY9AuI/WhikcX2I4PVolGLRi0atQhoUAIQL6CtRQjLDoAMRrJoHrpF1LbsPJpFf2EW0cKyA0gW/QPiSJAcrSx7TUOLMOMMiucAsQMM09YyTGxAbcsUgNgeHYMtGnFgFAAA7eMBngOY+d4AAAAASUVORK5CYII=",wind_set2_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_10},Symbol.toStringTag,{value:"Module"})),wind_set2_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBklEQVR4Ae3TJVQEURSH8VnctWA9YQl3SFgPWC/Qy9IDLhG3iLtbRnvA3R0e/zBycXsXv+f8dse/mRXlf1gmsm/aDeIeEcwRqwbxhDzZsXwQqnlIAjPkghtX7FR9HwEbRR2uWABvkMTUZRpsAxu2GAlusgTVn7lZwfAH6Xyj4AA4sQdhTw2ugA1nLAHOQLB+pGroRI20wBYNcoUqwQWWYYcGpYdCu8ZNeE8HAev3g1JD6vYSEB8OklDQ/RDZtwjio0Ea84RZqLgX8iOR54LWbw1aPrItB8QLwX3wk/GDaXgmdgFtEPThUFj3hEm9e0HMQSGkgKPM/1sgrEAtZIK3wjXqr+z7zy34Pr0RAkwUNwAAAABJRU5ErkJggg==",wind_set2_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_100},Symbol.toStringTag,{value:"Module"})),wind_set2_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6UlEQVR4Ae3RJVQEURjF8YfTsEbBaVjCJeFOw3ugQz/0RMR6o5FoJFwKrpH13Th7w31rwOr7Js13zn985rczq7Kd3uPTdiU9hNaRhfbtgnT70pCX66AGpaALNM7tR7RnFCT2SqgctWuM5zQ4ZAqrReXcjsN4bFBJzG+MI4xdOpiDyWF82CZyJ8lHzGMC20ZWGvlNYPmoPElLxK4k/6tqdIi+iF1KIKVoC/mJfBvHCC2gF2QxsxiRVnSiARGMUBcKxQOyb9aMjuSxeHQE3duCESxEG8gli8WjVWgHfRA7VxxJtAFNow6VwYQB/ledlQdMq9IAAAAASUVORK5CYII=",wind_set2_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_101},Symbol.toStringTag,{value:"Module"})),wind_set2_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA/UlEQVR4Ae3UJVAGYRDGcS7iJCTh2nF36TN4j1jDe+AilU7H3V37oBl3e3nwxXYW2XY780uv/D+7z8UZ1XEmuW/aB1qJDhh5Vv3fsSDYB/OFEc13aUEnE2MP54GbZG9C9wQN3cAKjEhDJWBgiASloSwYAXEsFHa5IAm1g4FryHo+L4uRYBgXpCE4gyxydpOJyYNciJzLgKDvLo0Bf2HQnQmJ3kElGFiDNigCt2+Cu0xIFAsAA9QVjEADxEEUnNBf3V8eynUwjBkwcAt1f/0HsJnQkvyjk8WKtEM05g5X2iEaHNUO0VijdojG4mFeO0SDNgnpTmLPpIWQn3S/M/cr5K8775zWPwAAAABJRU5ErkJggg==",wind_set2_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_102},Symbol.toStringTag,{value:"Module"})),wind_set2_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA3UlEQVR4Ae3TJVBDARzHcTyhiYT2O6TgXrGe1gve73CHjDfc3V0yDSfR0LTEny8Oc3vz391ne3v2TfPxznnnXerygW/G2nGd5nnOReACKzaL8TIVBEUa52MhuLVVKAR3EJwjSMlYE+SPGkVivCQeao3YMyKViE1BdOg1J8b1XAiG9N2QD9HjFcmaMSPBQZ1BTgTgFGLAHuI0Y2YH+VGAY5wYMQLBC7r1mPhjHuqfoMb/Smmx77FolJugEuMYMvH+NjxAoPJRarw8EU94RKm9Qok+TMlYKbZ/Qt55590bWh2hV8wuM7wAAAAASUVORK5CYII=",wind_set2_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_103},Symbol.toStringTag,{value:"Module"})),wind_set2_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6klEQVR4Ae3UJVAFURSA4YtLwTMet+EWSbjTG30GeqU3ekMT7u4O8WXcHQ4/7n5P4p2Z78nav7tPzM24J719xAvJyNAKxKMKDdiBoNLWwcNRhjq4IO+IsBHKxRAuIR+YsXVVqxAsfRKsfbWPL0rT2oY9fhpzsP5FMPtVqAWCasPYDJ4g4J3QOhzD2Ax2WQ19EayxHvokmKUS+iC4rhV6HTyC4AyJ2v+LRTiHoBuB2kEH6/8zyOumG5rB+Ycgz703tK5wH4JlBL6KqQf7X8VUg2dw2Q5EofeZCVxBbtiOBaMRPc/MQtBjtMY919vhrJLjluJmAAAAAElFTkSuQmCC",wind_set2_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_104},Symbol.toStringTag,{value:"Module"})),wind_set2_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAWElEQVR4AWOgPxgFo2AUWO86LgDEDiCaHhZdAOL/QGxAL4sSaGmRAj0t+gCyiIb4DxArwyx7T2PLfoMsg/nOAGrhB3DCoC0YeAsV6GVhPcFMPQpGwSgYBQA2ZNJIHB5ANgAAAABJRU5ErkJggg==",wind_set2_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_11},Symbol.toStringTag,{value:"Module"})),wind_set2_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaklEQVR4AWMY+mAUWO86fgCI/2PBH4DYgJaWrQXieiQsQAvLvkEt+wfE0TQNRiieSGMLEZaB2LS2EGEZgt8JtfAvyEJqW9YAxBPQxCpoZCECDJiFoxaOWjhq4aiFD+lV28cBsTbDkAejAAA2NNwCOafNJAAAAABJRU5ErkJggg==",wind_set2_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_12},Symbol.toStringTag,{value:"Module"})),wind_set2_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAe0lEQVR4AWMgFVjvOm4AxA1ALECKPnIt+gDE/4H4As0sBBkMtwiBN9DKogtgCxD0CSi9gFYWJYAMB7Gh8TYfZiG1LFMA4v0giyB8hGVQfj8Qr6dBzGFaRusUOYGeljWMWkYaGLVs1LJRy0YtG7Vs1LJEIH4AxLEMgxkAAPXh7uXslnyNAAAAAElFTkSuQmCC",wind_set2_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_13},Symbol.toStringTag,{value:"Module"})),wind_set2_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae2UJVAAUQBEcbeIZdwaLpV2kR5xqLgVvM9Ao5Nw14JDxCVhCde9mcUKvofuzDv/977bvJT/JPZMxgAD5Ct+boBmMARuHqOQHfLns2AQ7D8Spim7sJiSc54NlSgYXFGSw3O5QuQIdiho5zNef76sij/fBz58NmTy2aIEdt81SHs8S00+U+QBVtiqOvUCbqFoHjgrRQZFpyBSKfIDe5QVykRxnWO2EHRS1G/eK1uVRdEhCFSKQsAxZRlKkSOYpqhNPc1rKNoEPkpR4uNdQinyBKtW7RKtVu0S6fpd4ulUXwI5Nt8t/7kFvoj0R2tADjEAAAAASUVORK5CYII=",wind_set2_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_14},Symbol.toStringTag,{value:"Module"})),wind_set2_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaUlEQVR4AWMYemAUjIJRYL3ruAAQO4BoelgWAMT/gfgCvSxMoLeFDRgWQsP3AhXwZSB+gYb/wCyEWRYLEqAxPg/2HZBgA2IDGuA6qEUXQRbRI4Gcp7VFATS2CAGgQVgPtmh4g1EwCkYBAHid9zsgYszKAAAAAElFTkSuQmCC",wind_set2_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_15},Symbol.toStringTag,{value:"Module"})),wind_set2_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWOgCRgF1ruOqwKxCj0sEgPi11CsS2vL2IB4HxD/p5eFXNajFo5aOGrhqIVo8guA2IFWFr5HthAq1kBLH/4AWYhuGS0sPIVsIbJlNLeQVsEoAMQFIIOBOA2Ib4MsopVlBQjDEZiWcWYAxPZYsADDkAejAAAvtgWRBd1vcgAAAABJRU5ErkJggg==",wind_set2_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_16},Symbol.toStringTag,{value:"Module"})),wind_set2_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAh0lEQVR4AWMgBVjvOs4MxApAzM1AM4CwLAqI/wPxLHpYlgC1bAE1zBu1bAfIQjRcRCvLToFoNHyAVpatBbHRsMMITyCjlo1aNmrZqGWbaGWBALYqhlaWXYBiAXTLkPgGVA06qIVZMMuQxM/DfE9tCx9B6TvYLKKFhf9paBEC4Ao6WloYQK5FAJgoF3W9K8rSAAAAAElFTkSuQmCC",wind_set2_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_17},Symbol.toStringTag,{value:"Module"})),wind_set2_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWMYlGAUWO86LgXEnvSwSAaI7wDxfyB2ppdFl4FYhF4WiQ4ri+4B8Q0gVqGHj/ZB2U9AFtI06ICYH4hPIltI0zhCs/AszSxCs3A9EJuPtOSNMFQAiBcAsQHtLEIY7AA1tIF2FmFaVgC16CWUfxtmES0sC0Wy6AnMIlpZ9gndIppZBsXvgTgAJAbFArSzDBMfwNRBedLPB+J6II4HYnskrMAw4sAoAADAtzMHsyutUwAAAABJRU5ErkJggg==",wind_set2_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_18},Symbol.toStringTag,{value:"Module"})),wind_set2_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWOgPxgFo2AUWO863gDEBfSwaAEQ/wfiCfSyaD4tLREA4g1Qi7YDsQMNsDzYMphFNMbrYZYVIAk+BuL7SPgMEB8gAZ8F4stAfAhNvBw5KBOgll0ABSsFUXIAao4BNnmCFlJuGWELN9DQMgSAph4F2ltGeTZaAsQPgFiNYUDAKBgFowAAKAwQp9FvMKUAAAAASUVORK5CYII=",wind_set2_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_19},Symbol.toStringTag,{value:"Module"})),wind_set2_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWMYlGAUWO08xmi963gKEIvS1CLLHUdBFk0H4v9AvJu2PkJY9AuI/WhikcX2I4PVolGLRi0atQhoUAIQL6CtRQjLDoAMRrJoHrpF1LbsPJpFf2EW0cKyA0gW/QPiSJAcrSx7TUOLMOMMiucAsQMM09YyTGxAbcsUgNgeHYMtGnFgFAAA7eMBngOY+d4AAAAASUVORK5CYII=",wind_set2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_2},Symbol.toStringTag,{value:"Module"})),wind_set2_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlElEQVR4AWOgCRgF1ruOCwCxAxAb0MOyA0D8Hwc2oKVlW4C4HgkL0MKyb0gWZtI0GKF4Io0tRFgGYtPaQoRlCH4n9S1EGN4AxBPQxCpoHqSjFo5aOGohPsvMgfgwbS1EWPQRask6ZAtpadEmIGajbpAiLFJEtwhLHD6jlmWsQLwRbhGmfAwQa1MzGJmAmJmB3mAUAAC8zA91kz1OcQAAAABJRU5ErkJggg==",wind_set2_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_20},Symbol.toStringTag,{value:"Module"})),wind_set2_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlklEQVR4AWMgFVjvOi4AxBuA2IAUfeRadAGI/wPxB5CFtLRsAdSi/8gW0tKijVD6KRC/h1lITYsmQC2YDzIYyr4DZiMsVKCWZQ1A3A9hIyxD4u+nVXAiLEMDtLTsGj0tuzBq2ahlo5aRD0Yto7bBOqB6DA3PpZVlASCD0fAzWlkmBsQJaDhvyMXZqGUyQHwLiBczDGYAAOc4Epsh2YUZAAAAAElFTkSuQmCC",wind_set2_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_21},Symbol.toStringTag,{value:"Module"})),wind_set2_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWMYWWAUWO86LgDEC4D4ABacQG3LDID4PRD/x4IP0NKXbEB8Htkyelj0GWYZPSzShVlGC4s2IVsEEodZRiuLXsMsQrJsAm0tQsg7ALECTSyixDBuq53HGOlhkSIQPwbi6UDMSBuLEAY6AvEvkIEwCwlZRKmFfmgWsuOyiBYWHiRsEeUW+oNKBhpbhIijYWIRwrJ1tLcIYdkC2luEsIwJiAUYBisYBQCeMycTGmRNmQAAAABJRU5ErkJggg==",wind_set2_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_22},Symbol.toStringTag,{value:"Module"})),wind_set2_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgklEQVR4AWOAg1EwCkaB9a7jskCsB8Qs9LDsABD/B2KDwWkZQq8AEDeA9NLDMgUgfg/EH0D6aR6MIH2YFiIkeUHeh2OEZZYgPpnYFmoZwkIgwxxkMC0x1EIFkGWGcC9Tjr+j4T9Qy86DfEvLFJ0w7CwyoK1FmJnaHmwR3cEoGAWjAABWbRqpa2HB2gAAAABJRU5ErkJggg==",wind_set2_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_23},Symbol.toStringTag,{value:"Module"})),wind_set2_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWOgKxgFljuOMlrvOm5JNQOBhskA8U4gNkcTB1k0HYj/A3EWtSwrgxr4EWah1c5jyBb9AmJfalnGDMRLkSy0QLPID6aWVhY+RreIlhZ+AuIMdDW09qH5qIWYYNTCUQsRcglQcQNaWfgDiF2g4g1QMQda+HAD1PA/IAvRLaO1hbORLaOVhauhlvyjVTBOAOIDUHwQiN+BLKKVZQVAvB8HVmAY8mAUAAB+iSdSu0WIKQAAAABJRU5ErkJggg==",wind_set2_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_24},Symbol.toStringTag,{value:"Module"})),wind_set2_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAkUlEQVR4AWMYVMB61/FCIL4DxFuAeAEeXEgNyw4A8X8i8AVqWDYJatgyIE7Agx2oYVkD1LICOsTZqGWjlo1aRmswatmoZaOWTaGVBROA2ADdMihfASRGTcvuA/EHkIXIloH4UPH3IEupZZkByECowTOglq1HssgAppbaFn6HWpYPpRNoE3eIYPtPU4swfUi5RQDSmipHxCtLHwAAAABJRU5ErkJggg==",wind_set2_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_25},Symbol.toStringTag,{value:"Module"})),wind_set2_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAsUlEQVR4AWMgBEaB9a7jbPSyqBGI/wFxM60t8gPiP0D8H4j/gvi0tOgX1KJzIBrK96OlRdOtdh5jBNIdyBbSxCIgZoTJoVtIM4vwWEi5RZY7jsItImChJ8VxBJckbGEMRT4iQa8GPSyiPI6oYagCCNPWIoTBB0CYLkEHNfQAkkV/0S2iumVoFq2GWUQLyy7TziJMy37R2iKEZQh8ARSkULyBFpatB+L9WPB8BnqBUTAKALnQMrRsOoSqAAAAAElFTkSuQmCC",wind_set2_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_26},Symbol.toStringTag,{value:"Module"})),wind_set2_27="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgElEQVR4AWMYvGAUjALrXccXAPF/IHagl0XzaWmJABBfoLdFL8BsBD4DxAcoxI+B+C0Qa4EsCwBZRAccAvPdfKjAHSD2ASUOKuI7ULONkIOzHiQIDT4BqkUTIooM0CUSYBbSzjJMC/eDfEdDyzDBiLVs1LJCIJ4FTnAjE4yCUQAAt3sppiG2HPMAAAAASUVORK5CYII=",wind_set2_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_27},Symbol.toStringTag,{value:"Module"})),wind_set2_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAoElEQVR4AWMYFMB613EDIHaAYZpZBLXgPw68gZaW/QLiiUBcD8UBtLLsK5R+B8QqtA7GdiC+i2whLS1rAGJ+JAtfgiykmWUgPtTCy1CxJyALqWmZABDvhyd5hIUnUSykJRi1cNTCUQtHLfwJxM60ttAXiP9CLdxNS4ucgPgb1KJTQMxGD4uWAjHzqEVEV7S0twhhWQftLUJYxgzEQcRYBABVqExB5lmGTAAAAABJRU5ErkJggg==",wind_set2_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_28},Symbol.toStringTag,{value:"Module"})),wind_set2_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlklEQVR4AWOgBFjvOq5ArFpKLTIA4v9AvIAeFn0AWQazkNYWfYRa9A1mIa0seg/EXlBL7gDxfJiF1LTsAMgiqKUKMMvAcggLHahlmQIsBSJZ9ghJ3h6IBWgRdwjL0AAtLbsw6CwbtWzUslHLRi0btWzUMoRhjkC8AA9eA7XsGTUsawAbRhh/o1YwJeDBSUA8A4gLiDUTAPnnKaIKCQCXAAAAAElFTkSuQmCC",wind_set2_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_29},Symbol.toStringTag,{value:"Module"})),wind_set2_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAWElEQVR4AWOgPxgFo2AUWO86LgDEDiCaHhZdAOL/QGxAL4sSaGmRAj0t+gCyiIb4DxArwyx7T2PLfoMsg/nOAGrhB3DCoC0YeAsV6GVhPcFMPQpGwSgYBQA2ZNJIHB5ANgAAAABJRU5ErkJggg==",wind_set2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_3},Symbol.toStringTag,{value:"Module"})),wind_set2_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAqUlEQVR4AWMYfmAUjALrXccXAPF/HFiB2pYlAHE9CEMt/oJkmQOtfMgMxNuglvyDWUZri/4A8UIQmx4WOQFxA4hPC4uWQi36BbIIJA6zjFYWfQNbhJArAOL3NLYIAUaCRQjN4UAsTQ+L/KAa7wCxDG0sQhjAD8QnkS0kyyLKLSRsEdUsJGQRtS2Ux2URLSz8TBuLMC18ALXoL7JFtLJQFoifAHExIbWjAABSHjss6hhRBwAAAABJRU5ErkJggg==",wind_set2_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_30},Symbol.toStringTag,{value:"Module"})),wind_set2_31="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWMYoWAUjALrXcfNgXg/ECfRw7IEIP4PxAtGmGWjliHMM4Cal0APywSA+DzMQryW0dRCICcXKngEJEFFnAXED1EsBDLmgATogBVAloUA8R1oKbKAQrwJiLdD8V4g/okzsVA5zi4ME4sQlhXALRq0YBSMAgAZwytG0VNJAgAAAABJRU5ErkJggg==",wind_set2_31$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_31},Symbol.toStringTag,{value:"Module"})),wind_set2_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAhElEQVR4AWMgBljvOh4CxNoMNAMIizKB+D8QvwJiFppbBMUVg9KiUYvm08siNySLFtIjmR+CWvYLiP3oYWHHqIWjFo5aOGohstwDIA6glYV/gDgSJg4Va6ClD/+BLKSdZQgL+5EtRLaM5hbCLKO2BQYgQ5HwaZBFtLIsAG44AiMsG1EAAAYjGQiE0lgPAAAAAElFTkSuQmCC",wind_set2_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_32},Symbol.toStringTag,{value:"Module"})),wind_set2_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAqElEQVR4AWMYVMB61/HFQPwbiF8D8QM8eCU1LNsHxP+JwKeoYVkTyDAorYAH81HDsgaoZQWE1FLTsmVAnICEw2hnGSb+QEvLTgHxAiTcj652yMXZqGWUg1HLRi0btaySnpZNoZUFD4B4AjbLoHXZASAWoJZl86EWJCBbBuJD2eep7bvzUIM3INVn/6HiAtS2TADJwv/YLKKlhe+BWAEmR0sL64HYgFKzAJadRi30o+P9AAAAAElFTkSuQmCC",wind_set2_33$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_33},Symbol.toStringTag,{value:"Module"})),wind_set2_34="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0klEQVR4AWMgBEaB9a7juVY7jzHRw6L9QPwfiM9Y7jjKSEuLOsAWIfB0kIW0tOgXELeAaJiFwCBlpIVFv4HYDyrmh24hNS36C8Q/gdgJIoNpIRAzUivoDkLZ3whZSJFFUAOZgXgpERaWU2QRTBzNwkkgMTQL7wKxLsUWoVkYC6Kpmbz98Cqmv0WEDQ0AYdpahDD4AhAfoEvQQQ0+AGX3wzIszCKaWIZk0T8gjgTJ0cqyl7S2CGEZArcBsQMUC9DQMkxMC8vygbgeCw5goBcYBaMAAFk4T0feyOFXAAAAAElFTkSuQmCC",wind_set2_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_34},Symbol.toStringTag,{value:"Module"})),wind_set2_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAk0lEQVR4AWMgGYyCUWC963gBEBvQw6IFQPwfZCEtLRFAsmg+rS26ALVoGohPRSwIxPJwy2AW0RgvgVl2HirwD4h/I+FfQPwJiD8Qi+H6EPwf6JYJIFmYQGGU/AdZgsRvQEtwmBbSyjJcFgbQxjJMC+tBmZraltEiG+UAcSodLEMAals2apk0KGUDsRjDyASjYBQAAOSmSe4+1DWtAAAAAElFTkSuQmCC",wind_set2_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_35},Symbol.toStringTag,{value:"Module"})),wind_set2_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMYFMB61/EAIG7AggNoYdl/PFiBlpZtB2IHILYHYgNa+ewOEP+FsudZ7jjKCJKjlWUHgNiPxhYiLAOx0SycDrKQ2pa9B1uG4DsB8TcqW4hI+rBkTgcLEWDIWThq4aiFzkD8C2ah1c5jtLEQZDDIAqhFf0A0lE/1kgZuEdRnNUhBuhCImahp2SQki/yQ4vAHVPwCNS2bjGwRFstuUju+VHGkzPVAzEaPLLAUiJmJ1TtqkRHtLUJYpgDET9AtoqWF3MQUTwBwRmlgzkrInQAAAABJRU5ErkJggg==",wind_set2_36$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_36},Symbol.toStringTag,{value:"Module"})),wind_set2_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAApUlEQVR4AWMYMsB61/EFQPwfiBPoYxECB9Daoo9Q+i0QfwBiA1pZNB+I10DZ3UD8HmYhtSxygFkE5iMsKwBZArOQmj6zB9HolkH5ClQPSmyW0SPpTxi1bNSyUcsoB6OW0cJwWSBWQMJzYZZR2yJekMHomFaWcQLxXSB+gIQ/jiYQYgxrBeIFePA1qGV91LDsPdgwwngdNSzzAOIEPLgciOcQ2+4AAKtaSWRwAyCdAAAAAElFTkSuQmCC",wind_set2_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_37},Symbol.toStringTag,{value:"Module"})),wind_set2_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR4AWMYfmAUjALrXccXAPF/HFiB2pYlAHE9CEMt/oJkmQOtfMgMxNuglvyDWUZri/4A8UIQmx4WOQFxA4hPC4uWQi36BbIIJA6zjFYWfQNbhJArAOL3NLYIAUaCRQjN4UAsjSamDMR3gTiamhb5QTXeAWIZJPFsqPhfkIWUWYQwlB+IT+KwsAPJwlhcFtHCwn/4LKLcQkTQXSRsEeUWyuMKOlpY+Jk2FmFa+AApcTjRuuaVBeInQFxMSO0oAABXdVdEbze/mQAAAABJRU5ErkJggg==",wind_set2_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_38},Symbol.toStringTag,{value:"Module"})),wind_set2_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAmklEQVR4AWMYoWAUjALrXcdDgPg/EE+gh2UJUMsWDH/LgGwFINakl2UPoGLyZJgnAMQO5FimQIZlDjDzaGsZQv98mJk0twzTQoRgPVTwERBvgOIvULEdID4J+BwQ34DiI0D8AcVCIGMOSIDG+D04lICEMhC3A3EmEAdQERcC8Veo7wxomXcNoJa8H+oWIQA0CPeDLRq0YBSMAgCm7UyUAw6ESQAAAABJRU5ErkJggg==",wind_set2_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_39},Symbol.toStringTag,{value:"Module"})),wind_set2_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaklEQVR4AWMY+mAUWO86fgCI/2PBH4DYgJaWrQXieiQsQAvLvkEt+wfE0TQNRiieSGMLEZaB2LS2EGEZgt8JtfAvyEJqW9YAxBPQxCpoZCECDJiFoxaOWjhq4aiFD+lV28cBsTbDkAejAAA2NNwCOafNJAAAAABJRU5ErkJggg==",wind_set2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_4},Symbol.toStringTag,{value:"Module"})),wind_set2_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0UlEQVR42u3QOQrCUBCA4eQE2tgpWMQriNsV9Ai2XsQ7WOoNUro0Wrgg2KWwUbQI2AouAQvHv4gkRcAmE1Az8MHLe8VPxvg09cmqCRsZQ3MItPCAoJ1UqAfzt0K18TKZUHW0UAt18XyHKsO56d/nsEEnztgJgitKoZADwTbOWAF7CFyUQ6Ed8nGvMoM1BPeokGbQQyN41Q+6sNJgGvyuIN9ZFBMJch7grPmHF1j+/QyitVIHghusiJhqcB3E9IMHrTUeIb45PIhWrI9pBNv4u3kB+nJcAlxbDu0AAAAASUVORK5CYII=",wind_set2_40$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_40},Symbol.toStringTag,{value:"Module"})),wind_set2_41="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAhklEQVR4AWMgFljvOj4XiFcAcQEBLEPYNMKW/ScSJ1DTsgYCWIlqlhGjduhZBsUfCGAfeiaQoNE4G7WMhmDUslHLRi2jleEGQFyAYRmC7wDECtSyrABqwQJ0y4B0ApS/gZq+mw+zEGYZkkXngVgApI7qFiIwpkW0shBhES0B1JL34EQxFAAAoIw3F7uSVzIAAAAASUVORK5CYII=",wind_set2_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_41},Symbol.toStringTag,{value:"Module"})),wind_set2_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2klEQVR4AWMgBEaBxfYjjNa7jp8D4kdAzE0zi6x2HgNZNAeI/0PxXiBmo5WPpkMt+Q3EX6HsTSALqekjJqCBZ6CG/wJiPyA2B+KPmBZS7qN1SEHXC5PDbSHlQfcXiY6mooUIi9CCroMYCym2CCZHhIWvqWIRERbqALEaxRYRayHlFhG28BFtLMK0MBMUfLgkDaCGGpBtEQkucYAa7AC1aB66RbSwzBHJon9AHAmSp7ZlCVALdtDOIoRlDSBL0C2ih2X3gPgAEnagtmUBYIsw8XtQEDMMKzAKRgEAK/J6DkBdYtsAAAAASUVORK5CYII=",wind_set2_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_42},Symbol.toStringTag,{value:"Module"})),wind_set2_43="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAl0lEQVR4AWMgGoyCUWC967gAEG8A4g/0sOgCEP8H4gJ6WZRAL4uOAPEyIN4BwlD2AhLwLiC+A8RboPyFQHwNiI/BLGsAWURj/A/ZZ+ehghtAwUgB3gU1ZxmUnwXlfwXZhc3CBAqiZAI8gSHM/Q9L3TgtpJ1lmBbep6FlmGDEWDZqWSQQHwBiVyifFVqaLGWgCxgFo2AUAACyZmP9C+e6jgAAAABJRU5ErkJggg==",wind_set2_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_43},Symbol.toStringTag,{value:"Module"})),wind_set2_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA4ElEQVR4AWMYcGC963gBEP/HgRuobVkDkuHXgbgRiOcD8X4gDqCVZX+h9GogZobJ08qyMiD+A2VvAFlIS8scgNgFYiHChzSzDMSHWvgdKraUqhaCLIEmBgUkMXMg/ohiIS3AkLVw1MJRC+8CMRstLWMG4h1Ihfd6kBitLFoKteQHEH9FDlJaWfQNiJ3QgvQGKEhpYhGSXAlSkDbS0iI/IP4FlTsBxEwUWUakRdOtdh5jpNQidiC+Q8giyx1HGamVMCSB2IDGFiEALossth9hpGWGPkV7ixCWyQBxDtiiwQQA5qmHkVU49IEAAAAASUVORK5CYII=",wind_set2_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_44},Symbol.toStringTag,{value:"Module"})),wind_set2_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAq0lEQVR4AWMYMsB61/EFQPwfiBPoZdF/mloIMhhqwXco/RxmIa0sOg/EK6DsDij/AxAbUMsiBSSLBJCCsgEq9x5kITV9Zg+yCC3eGpAcY0DrRNJAj6TfMGrZqGWjllEORi2jhmH8QKyAB0+AWtZEDcvOgA0jjPdSw7LVQPwAD/4AtWwjPnNGE0gxqILEgy9ALZtPsWVwwwjjA9SwzBmIE/DgEiCeA8T2xJgHAP/QZjBrodgXAAAAAElFTkSuQmCC",wind_set2_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_45},Symbol.toStringTag,{value:"Module"})),wind_set2_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAz0lEQVR4AWMYfmAUjALrXccfAPF/LPgDLSzrB+L9UHwYiH/DLKSlD/mB+C7Uor8gmh4WvQPikyA2PSxSAeIDQPyeFhadhFr0BmQRVPwACNPKoidgixByG0AYl0ZmIG4CYl2KLCJScxxU42uQhbSxCGEAGxBvQraQcoswgy4JiLkIW0h50DVBNe7DZyG1gk4XbCBhCy1xWUQLC38TtohyC0VBpQBU/AeyRdS2UAIp6D4BsTNMLS0s/Igt6Ghh4Q+oRZ+RLaKVhUFA/JaYoBsFAKQienuTNb0FAAAAAElFTkSuQmCC",wind_set2_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_46},Symbol.toStringTag,{value:"Module"})),wind_set2_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAoElEQVR4AWMYoWAUjALrXccFgTgBiE2RxByBOA6I2altWQAQ/wfiDUhiF6BiBsPYslHLEHoVgLgBpJdelr0H4g8g/TQPRpA+VAsxLdsKxAJQfBkqZgvik4ltoZYhLAQy6kEG0xJDLVQAWZYFxP+A+CeSS35DxT6B+CTg72j4D9Sy8yDf0rIYTKCXRQ30sQiR4NaDLaIlgKZEe5I1joJRAACYrWvqgz9pLQAAAABJRU5ErkJggg==",wind_set2_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_47},Symbol.toStringTag,{value:"Module"})),wind_set2_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA00lEQVR4AWMgBCy2H2G03nVcjoGmAGHRdCD+BcSu9LDoP9QyF3pZ5AeTs9xxlJEuFgHZTkD8Doh9KLbIaucxQhZ9g8r1UmoRE9CQtURYtBSImcmzBWHgMahhf2hnEcLQSSADobiCsEWUW5gAxH+hhs8mbBHlFkYjLMS0iBYW9iFZVgUTp6WFpUg+rKCHhdGjFlIORi1EyBkAcQFdLASyG0BitPLhP6iFE9Eto7mFyJbRw8Kr1LcMkRgcoLgFVpbSyrL/yJjWlikAsT0azgfieIbBAAB6g22bmdWX4QAAAABJRU5ErkJggg==",wind_set2_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_48},Symbol.toStringTag,{value:"Module"})),wind_set2_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAmElEQVR4AWMgFljvOj4XiFcAcQEBLEPYNMKW/ScSJ1DTsgYCWIlqlhGjduhZBsUfCGAfeiaQIGLMG42zXCwZmZvqluHBCrSyrA5LRuYdrHE2atmoZaOWIQw3AOICDMsQfAeqlRwgi6AWLEC3DEgnQPkbqOm7+TALYZYhWXQeiAVA6qhuIQJjWkQrCxEW0RJALXkPThRDAQAARItgLdDDvB4AAAAASUVORK5CYII=",wind_set2_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_49},Symbol.toStringTag,{value:"Module"})),wind_set2_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAe0lEQVR4AWMgFVjvOm4AxA1ALECKPnIt+gDE/4H4As0sBBkMtwiBN9DKogtgCxD0CSi9gFYWJYAMB7Gh8TYfZiG1LFMA4v0giyB8hGVQfj8Qr6dBzGFaRusUOYGeljWMWkYaGLVs1LJRy0YtG7Vs1LJEIH4AxLEMgxkAAPXh7uXslnyNAAAAAElFTkSuQmCC",wind_set2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_5},Symbol.toStringTag,{value:"Module"})),wind_set2_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA1UlEQVR4AWMgBEaB9a7jm4H4LRDL0NqiCiD+D8XXgZifHha9h9InQRZS26JNSBZlArEKED/BtJByi9qQLNoAE6eyhYigQ8MV+C2k3KJMECbSQh5KLKqEixO28BsQa5Br0UUgfg3EukRYKA/ExuRalA3E+0BsQhZSHEdQMS5CFkKDjpt8i2AA08IuNLkIILbFZagBVFMCQYswLcwHYmZSfOAAswzKb0C3iHKAaZkDmkVFIHlaWTYL3SKaWYZuET0sewzEB5BwAhWtQqRGHLiBYdiBUTAKAHwekL+qvQoKAAAAAElFTkSuQmCC",wind_set2_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_50},Symbol.toStringTag,{value:"Module"})),wind_set2_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAr0lEQVR4AWMYvGAUjALrXccTgPgAEBvQw6L/QHweiAWGlUVPgLgSiAvIxOVAvBaIpyGJTQXi1UAsDbLIAGQRHXAByDIBUNBBBV6BXYHAS4F4Ah68DYiPA/FsKH8NPIQQap5AxQJAoQizcD5UcAEJwX8AqscByneA8g/gUIMAyBbS1jJMCw1oaBkmGGyW1QLxBiBWpaFlmGDYW6YLxG+AeBGS2EIgfguSYxiZYBSMAgDck4mcU0p7BQAAAABJRU5ErkJggg==",wind_set2_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_51},Symbol.toStringTag,{value:"Module"})),wind_set2_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6klEQVR4Ae3VJVAFURTGcaTdgmccEhV3esGl9+0zuDakJyRDxV0bCXdvuD77wgnnud2D35n/W9/f3H0W8rdG3sRqAjpGczyqTzdWjKzUC1pAs9SoFGam5QZSUo8xkpAB9CQOEtCCUkRBjtF6CnqgfTNISWAG205B5zIgG78K/Ac70Y0oSFAPITeSM+SQGTU4PNIrFKsLauIQ21+BLHRsGykdWC16d4Cy0B1BT+yRagEj3UAjKJ090gOdj9QRCqf9GeiV9m9KQgrNsD/eMnGIHmWKjlmNiUMMi0OGOMSHZ0gGa5eGHB/pkC+QDVDWoXmTwFBwAAAAAElFTkSuQmCC",wind_set2_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_52},Symbol.toStringTag,{value:"Module"})),wind_set2_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwElEQVR4AWOgBFjvOq5ArFpKLTIA4g9AfAGIBehh0X8oXkAvi/7BLKSVRe+B2BZqyQ8gng+zkJqWHQBZBLVUAGYZWA5hYQG1LFOApUAUyxDy8TRJLJiWIQAtLfsw3CwbtWzUMoTBEqCiCA3PpZVlBiCD0TGtLOMD4gQ0nDTE4gxhGBMQK+DBelDLPlLDskywYYTxP2pYFgzED/DgR1DLfo9manyGGYMyLx68jGqVJ6gtQc8EIg3KvATwdCCuJ9ZMABVji418sWmAAAAAAElFTkSuQmCC",wind_set2_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_53},Symbol.toStringTag,{value:"Module"})),wind_set2_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+0lEQVR4Ae3UA0xFARTG8Zc555qNMGXbmt28pjir2UYza2rKtjU1Zs3K1vd8dnl2cq+z/Z/v+11b/ud/vmQyxpZr0YyiV0cNH43lomnSJsE6PnMrU9CDDJNDMwJMDEUwMDF0TiB/lCvCsEA9imNAfVbI8XmS47NmvT+NQ42pwwteitP6Fe1SUA9SfJ9ktAULjgU7nSBeh6MtCnIgzu6qRg8MsFwJcYFIlKAHpo0sKsFTdCGBfNAOukH5DLBIAlGwC72agSiVtesYW9fNAO/lEB9sJ/e5dRnEABWn9yEKFQMm4B26lu86PthDdt2EHOKBfo5L4hSFWP7np8wb6ZStynlHsw8AAAAASUVORK5CYII=",wind_set2_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_54},Symbol.toStringTag,{value:"Module"})),wind_set2_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAzUlEQVR4AWMYPGAUjALrXce5gNgPiNWQxAyA2AuIWahqGdSi/0C8DknsHFRMj9qWBUAN3oAkdgEqZkB3y6x2HmMEsgWAmJ3mlgFpXyh/LT0sQ6ghAKAh0ADECvSwTAGq9gNIP80sQ8s672EWkmqZP5S/noToccDwIZBRCRX8BZKA4j9Qsc9IYp+A+COIjQf/BOLfSPgfkoUKcMtojO+DEg7Md7JALAoSgGJxIJYBsSnAWVCLzoP4tCxvE+hlkQNtLcLM1PVgiwYtGAWjAACJy6AXDgt9HAAAAABJRU5ErkJggg==",wind_set2_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_55},Symbol.toStringTag,{value:"Module"})),wind_set2_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA60lEQVR4Ae3QpVZFQRSAYdyt4Q4NS+gb4AlNPAkJifAaRBIOBXctuLvny/DjG2nMPuis9R295/5rttu3WgVdwz5oQ2t+55C7dqgdBpcIcSqU43iI60o0ipGqhWrhgkG+U6Hmz4b8sA+DK42QjCWKP5xAgEpIBItwBoM+1H0U4joSsTaC6TiGwc0HoRisYAfRVoJiR5sIkCEYjCLE1kjLcS1GmgoZCpW/tz3SWbg+CKkFpxEhXqsH+xCgGvwPcp+FMEeCj89aNHe4hAARG9Aa6bUMyph+UMb0gxZjIlAOI2nGwlAv9Avlbl+9bgETT6V15cW34AAAAABJRU5ErkJggg==",wind_set2_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_56},Symbol.toStringTag,{value:"Module"})),wind_set2_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArUlEQVR4AWMYdMB61/GDQPwbiJ8D8QM8uI8alt0C4v9E4FXUsGwx1LA0IFbAg7moYdkCqGUB9IizTVDLJgFxAh5sRg3L7hAZZxuoYdl+qGH7QEGKB8fQNc6GnGUXoJa9Gs3UwyOBjFo2atkaelq2g2aWQTPoASBOwGYZtO7aQE0Lz0MtSEC2DMSHss9T0zIBuIWIynMuzCKQPEgdrSz8TyOLMC2krUWYCaaeUosAc5WfANASCB0AAAAASUVORK5CYII=",wind_set2_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_57},Symbol.toStringTag,{value:"Module"})),wind_set2_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA90lEQVR42u3SoQ6CUBiG4bOJJILdhJ1MsBC8CC9BLZqcTY1eiIlZiFaCt8AMJBoBGcHi1C/8buBk/8GzQ+Lb3o25wTM4im7cxueLiRZtQD10RS900g0dCfq00QH1kU9Ajg5aQHqjmB5cIJd+nzOg8qfLkCMwBlSCchTSdcqDzc8oLkEuMlEgAU6bvpFfujlEpsAYcIYiNPrn0xUoo+uAAZXPyEUOSiVAWwkSNAkwQcO6B6+QJwNJgAayRN3ohh0L8aAhaCz29a+7VyAeTJAli+1L0ANNGpyvXT0jHos4SH2EUU+0Rh410ILVdNOBLdH2R57o1q2NvQHQKMFQhtJwAAAAAABJRU5ErkJggg==",wind_set2_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_58},Symbol.toStringTag,{value:"Module"})),wind_set2_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAnUlEQVR4AWMgGYyCUWC963gBEBvQw6IFQPwfZCEtLRFAsmg+rS26ALVoGohPJBYEYnk0MQkgFkdXA7cMZhGN8RKYZeehAv+A+DcS/gXEn4D4Aw78A6rvO0wMYQ5CDbplAkgWJpAQ/A3oiQnK/4BHDaaFtLIMl4UBtLEM08J6UKamoWWYYFhaNmqZNCjVArEYkpgzENthVTMywSgYBQAWLJ5MATJ/gAAAAABJRU5ErkJggg==",wind_set2_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_59},Symbol.toStringTag,{value:"Module"})),wind_set2_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae2UJVAAUQBEcbeIZdwaLpV2kR5xqLgVvM9Ao5Nw14JDxCVhCde9mcUKvofuzDv/977bvJT/JPZMxgAD5Ct+boBmMARuHqOQHfLns2AQ7D8Spim7sJiSc54NlSgYXFGSw3O5QuQIdiho5zNef76sij/fBz58NmTy2aIEdt81SHs8S00+U+QBVtiqOvUCbqFoHjgrRQZFpyBSKfIDe5QVykRxnWO2EHRS1G/eK1uVRdEhCFSKQsAxZRlKkSOYpqhNPc1rKNoEPkpR4uNdQinyBKtW7RKtVu0S6fpd4ulUXwI5Nt8t/7kFvoj0R2tADjEAAAAASUVORK5CYII=",wind_set2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_6},Symbol.toStringTag,{value:"Module"})),wind_set2_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBElEQVR4AeXUpVZEURyFcVzzzWhHCu4ZfRI6+hYk3AvuBYeCU7BIJ8G47DO6x/U/2FnrG5/5rTly037EaDi47EGjQeqRwGxhKpbEdlErakGVUv/sDVlcjyfq9s7Tkw4RdoS6ZEHCXI8ZHEsaSNiHwuh5O/oSAdUWp20uD/L4t+Bp/f5FhjTYR7v0RPIcaugR2aSPBUOPqI+mdFNNqRSkuV7vQCbX69cA00UgNXVqCpGNUs/TkwrV7p4xZESDNKXTKCMebDkKqIuOhd71+l08WDladENYk6BQEOw50bULC9E0rqKcRLH+KKB5lJmIw1P6KA7x+A6oWhpirBi9S0MMFkZzebIDsm/JRR6o5ZQAAAAASUVORK5CYII=",wind_set2_60$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_60},Symbol.toStringTag,{value:"Module"})),wind_set2_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAtElEQVR4AWOgBFjvOu4AwsSopdQiAyD+AMT/gTiBPhYhsAEtLXoPxF+hFn2EihnQxCI033mBxGAWUsuyAphFYD7CMgWQGFRuAo3iDmEZlC9Ay4TyBmYZPZL/g+Fi2ahlo5YhDFKG5qMPePBfqGWGlFqmCTKISGxGjWDiA2IBPPjRkIwzbiDOAeICPPgd1DJliusuEuLMhlLLBIG4D1Q/4cGfoJZpDLlMPZqpDeiRqcVBmFjzABiLrVh9xfTGAAAAAElFTkSuQmCC",wind_set2_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_61},Symbol.toStringTag,{value:"Module"})),wind_set2_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7klEQVR4AWMY2WAUWO86bgDEDuiYFhYVAPF/HLiA2pYpAHE9Er6FZFkDLYNzHprPGojVyESmRf+AuAVhGWGNkUD8BojNibSoA8miaFDiQMQZYc2ToYo/wi0kbNFfkEVgMYRlDsRYxgzES1EtJGwRWqLZD8oSuCyIAuItQMxP2EJMi0hNSdegmk/is5AyixCWqQDxEyIsXESWRUDFIUCcRYqF5FokAMR/oJoriLCwE8mybnKCLhOsmbCF/Ug+KoWpo5GFmEFHCwtnIonXwcSpbiFa8m6DqaORhZhBRwsL65Asy6BHNT8diLsYBhMYBQBOUbAH/HtRCwAAAABJRU5ErkJggg==",wind_set2_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_62},Symbol.toStringTag,{value:"Module"})),wind_set2_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArUlEQVR4AWMYoWAUjALrXcdDgPg/EE9AErsCxL+BWBRdDaWWJUANWoAk9gAqpoCuhraWjVqG0CsAxA70sswBppa2liH0z4epp7llmBYiBOuhgo+AeAMUf4WK7YLyz6GpwcQIdTeg+AgQf0CxEMiYAxKgMX4PDiUgoQzE7UCcCcQBUFwBxM1AHAjlx2CoIYwLQSEE9Z0BLYtAA6gl74e6RQgADcL9YIsGLRgFowAAHZmgWzJRfGAAAAAASUVORK5CYII=",wind_set2_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_63},Symbol.toStringTag,{value:"Module"})),wind_set2_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+0lEQVR4AeXQNVYDYRRH8ckGcCrcloCzBdLS0bIQ3OkoYQW4u0udEncq3O1xcYhN7A32nfOLTuae/A2zkz80X4h2hBuah4AdNxAUWxVqhs2SUN7gnO3181jUIlwllDsw+znkgKAp5KGc/hl3oWXEBxsqw4M/IV4XITyQ2B4EZ8jwIVQFQVcgsQSsQLCNLB9CN7AHOmU4FiG40Qo5B98mvUWBSshp0v1Pk6arhDxMeqIVcg4uQ/CAEpWQ06SHnyfVDb5O+n+DvI9AsiVBXrfiSPMfnr4FeZ6AaE3qgOAc6U4x9eCiU0w1uKY14zrk1QwuIVqxFoy70W78u/MICx62oX0dgAIAAAAASUVORK5CYII=",wind_set2_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_64},Symbol.toStringTag,{value:"Module"})),wind_set2_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAy0lEQVR4AWMYVMB613F/IP4NxJ+B+AEefBuIhSi1LBOI/xOJJSi1zAFq0AkgVsCDxRG6KLfsAD3izANq2Q0gTsCDo4GYiVLLCkiIMwVKLQuEGvQCiBfgwdOAmIOucTakLEuAWvZ9NFMPuQRyFEtGDqCVZVewxNEDWll2CktGbqVrPhsWll2gp2UPaGXBBFCwAbEAumVA2gAqF0Dt8vACEPvALINa9AGI34PYtCiAd0Dp1yCLoGwD2gQnZkZOoGUCmU9bizAtrKdGggAAdOfNZIpKemoAAAAASUVORK5CYII=",wind_set2_65$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_65},Symbol.toStringTag,{value:"Module"})),wind_set2_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABIklEQVR4AWMgBEaB9a7jkUCsSA+LioH4PxB/B2JRWlrkB8S/QJZB8WWQhbSwKAbJokVAfIe6FiIsqkXyzXSL7UcYgbQMdS1EBN0fJMs6EHKYFlIrjvYA8V+aWAjU1AzE/2BBZ7b1ECjooomw8CjpPkIY+hOILWByBCy8BMQZ5AbdAyj9EYjNcVtIeRxNB2J2IN5EhIVVlCYGbqg4Gz4LoSk1GZehBkBcgMeio1B6HxBzEWGhAD4fNIA04Qk6VSB+QoSFxnBDCVuGSHXIJQNUXAXNQnYsFoYTY9kEkGI0i1aDLYICNAtPAjEnWBBhoRmxCeEA1AJMizDVygIxHzY50ixDJAZHIHYAYgV8+ii3DBM7UNUyqC/qseB8cDKmBxgFowAAnKLjQIC1bfoAAAAASUVORK5CYII=",wind_set2_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_66},Symbol.toStringTag,{value:"Module"})),wind_set2_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAtUlEQVR4AWMYvGAUjALrXccTgPgAECvQw6L/QHweiAWGhUUToBY9AeJKIC4gEs8B4rVAXALl1wLxeiCehKZmFdgDQCIAZBEdcDgDyEZQ0EEFXgHxaiS8FORrKF4AxCeAeDOS2GuwPoS6zVD+XSxqrEChiG5hAdagRoTABiSxC1AxA2LVYLWQVpbhslCAhpZhgoG0TB9kCBDn09AyTDAiLFsFzVOyUL4VED8A4i6sakYmGAWjAACCA8e1OjDfqgAAAABJRU5ErkJggg==",wind_set2_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_67},Symbol.toStringTag,{value:"Module"})),wind_set2_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABKklEQVR4Ac3VA2hFcRTH8TfmeRmzlWYvN2fbXuYWhjSEeWHIWJht2wqz0+xz63fr9KxTu/Udrj7bHz3NvzhSBufiqEw1MQjAr4G6JbEPqo4qRYVS2DO+P1JB0sNYSZ2Iggwro9wZeANQBlN+B7iFc+cA7YZ5UGN8yQNc0ALlDoDL4iCwfKzQA1EQ0AeQCjakl1SiFFTFhnQF574A2gU74xDO+VK7OK/+h0H2wKKoEi1oS0EArrA5DLMZNABt4Xe+Lb6oDBFIOZ/YN+1AP7exIb2lguwOJfROKVAD+4Q4tHpbAHIyE8rXGtJ3KscasIPa5EOnDbF786hvXBuydiidzICyqRdcW6RcbV0oNWZAXeofZyvWIg1pLxh/MyCRT3V5CFiVOKQ1pMXmQH+Y0+9oTGfD2QAAAABJRU5ErkJggg==",wind_set2_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_68},Symbol.toStringTag,{value:"Module"})),wind_set2_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMYMsB61/EEIP4PxAvoYxECL6C1RZ/R6Am0sug8EPtA2ReAeD6UnUBNyz5ALRIAYgeYZVD+eSjfgFqWGYAMhrARloH4UAvtaRV3CMuQAK0tOzAELUMYzAnECmg4gFaWZYMMRsM3aWVZOBA/QMMHYJaNJhB8hoWAClg8eAcs7ii2DGrgfyLwe2pYpg3ECXhwB9Sys0MuzrhAmRcPjoBadpgals0iMs7eUsOyalDmxYNfQC17MpqpsYHRTJ0OxLOBOJYY8wD3eMR66vJg/gAAAABJRU5ErkJggg==",wind_set2_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_69},Symbol.toStringTag,{value:"Module"})),wind_set2_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaUlEQVR4AWMYemAUjIJRYL3ruAAQO4BoelgWAMT/gfgCvSxMoLeFDRgWQsP3AhXwZSB+gYb/wCyEWRYLEqAxPg/2HZBgA2IDGuA6qEUXQRbRI4Gcp7VFATS2CAGgQVgPtmh4g1EwCkYBAHid9zsgYszKAAAAAElFTkSuQmCC",wind_set2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_7},Symbol.toStringTag,{value:"Module"})),wind_set2_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABGElEQVR4Ae3UJVQEURSHcdwlUfCIVtwhk3CPuHc2kugNt4g7EUkkEi4Jd7d/uGFl5o7j75xvbfbNb9zu943/8T8SZ5e70LtIoXpjFaiN6kI3ZliaUXvoiCYJedOEYaIfGkfREtAL6kbvclfcivqQi9lvHbSyYxTNQBnIZIaxkDM6p8mjyIV+90CL5iBB/fTbE8qg/5qU7FksupQBDtPnO5RhNr8RnXNADcqVCc6iNWtI7p6E08RXVMyB5oeOh3iwXQY4hgbV7lE+ClACqoWyaeImCuRAOnTTZlih0sPmi1ZlgKVm5+gBVclXlINvzKHTB6RDt47eqSwNDAuGWD0ZGrUJPHjNHDpdwV2CXhlINzAIHaIWqf/+jw+3Rdgf7w5DFAAAAABJRU5ErkJggg==",wind_set2_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_70},Symbol.toStringTag,{value:"Module"})),wind_set2_71="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAt0lEQVR4AWMYoWAUjALrXce5gXgbEM9AEksE4v1AbImuhlLLFID4PxA/QBJbABVLQFcz/C0Dst2BuAGItehgGULNwFiGkPsAkqeXZfOhcgtobhmmhQhBRajgG5BGKD4CFZsD5Zegq4Eadg6IW0F8HPgwioVAhjVIgA44AWSZABBfA+LzIBdA8T4gvgPEm6D8xUB8E6YGD14GxNuR8FuQRVB9AgxUB5hxOh/EHxYWGcAtGrRgFIwCAOAxvUsYH7x2AAAAAElFTkSuQmCC",wind_set2_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_71},Symbol.toStringTag,{value:"Module"})),wind_set2_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBElEQVR4AeXSJVxDURTHcSzh0pCEOwnN0HDviYzGl3DpBadnSLh2rKAFd5nvH04425BnB72fz2++fXfPfX5qVsncWh3K9JNeQFqQC52jIHGI6vpSiF5PQEnyEBB0ii5QnDhEr2+gEKPQmEoogl4PQDF6oDIGTaiAAtEMjTRVD7hIP2pFFSogF7pDOXpH2Us/YkOXKqACo2fXz0a6LwYxcJWPVAziI2XgwlsQ/ZGe4tlVf9NA6ukNyErvlZq1wxV20VS8AfWaPdIRNtI2EeiDM9zhkDxII/02EM8PUZUUaEfN7HUXUiR36CRQCmNXKQM5Jg+ajRGQhxTWFkEiWBVyvR2wf7Xcl27G417tQr4AAAAASUVORK5CYII=",wind_set2_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_72},Symbol.toStringTag,{value:"Module"})),wind_set2_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMgBKx3HWcB4hAgdgZiAzxYi5BZxFiWAcT/icTSlFoWAzXoMxBfwINPAjE/pZY5QC07QIz6IWVZGNSy10C8AQ9eBcTclFqWR0ICkaPUMleoQVeAOAAP9rTccZRxSMWZI9SyM/TI1DlDL1OPZurRTG218xh9M/WQtOwGrSwQAGE0yx7QyrIDQPwBiA3QLQPSCVB+AVUsg1ryHmphCswyJIvOw3xObQu/IMpGTIuobeFHqCUIi2gDEHEE9aUBvZK/AqXmAAAigPGasTQY1wAAAABJRU5ErkJggg==",wind_set2_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_73},Symbol.toStringTag,{value:"Module"})),wind_set2_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABE0lEQVR42u3Vrw8BcRjH8RvBJqmaQCMLAn/BTREUm2SaKCo2myAKBEWQmEYwCpm/QbBJqh93PuEJ35nvnsdjpHu2986dudfu2W6cYLjJLXdTVP0HNEE+8lD2l1CHoAcdLwyohmYEXFERjRlQDS2M1ZXoWpgH9avz6LhCUQZUQUNjdTV01IE8tKEb3JFL15ICcK9anVGTvuLANsp8AnWN1fWloGZ1W7rBzVhdXQAOvlndxVgHB66tq6MXcmaBruhAn888yD9BC/nGec+AXBRFKwFYEWMvkIdch0YAnlBago2Q/wKVHRohGJKucY18C8SBSV6wY3PUohooZgMJS6n+KiwVLL+JoLjmxY2h/JsSTjDB/GueujbucYQ6KUIAAAAASUVORK5CYII=",wind_set2_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_74},Symbol.toStringTag,{value:"Module"})),wind_set2_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAApElEQVR4AWMYvGAUjALrXccTgPgAECvQw6L/QHweiAWGhUUToBY9AeJKIC7AgmuBeD0QT0ISmwPEa4G4hICaVWAPAIkAkEV0wOEMIBtBQQcVeAXEq5HwUpCvoXgzVM1dJLHXULGlRKixAoUiuoUFWIMaEQIbkMQuQMUMiFWD1UJaWYbLQgEaWoYJhrxlo5ZZAfEDIO5CElsFzVOyRKkZmWAUjAIAgGjehn1HpAcAAAAASUVORK5CYII=",wind_set2_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_75},Symbol.toStringTag,{value:"Module"})),wind_set2_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABHklEQVR4AeXUJVBEURTGcdzhFdy1JzyS6YEekYw7JBJe0Iw13J2Eu7u7w+MLJ5zG5c6exM78dt/qf/aa1f+6JfZM7oIJwzDENErETPIKozBI2qViX2DCAhiSw2hCBdyLBymQD4GyQRaj60C4otemwbB07AYy2PNA2KTgLHhLb4dA2KHgI/hIxrxgFUwyB4ZUaIEiu4TPoUhoEwL5HMI9BIqE2HtVYJIlMKRC5eyUOdUZUh5yVAyl8CGFKwj6a8wepn8LsdeT6TUT9sDQ+XceCqFYuGP7T2tIebhYIdQFYWxIDyFIJzaoEHKg16PgmV7f0Im5Q4xCyAUG6PUXSNLfeOqhQ4i0xEZvFQ+xmAFp+iH9sHyIxbLEQ3xIoV419ANv9/ZESByP5gAAAABJRU5ErkJggg==",wind_set2_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_76},Symbol.toStringTag,{value:"Module"})),wind_set2_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAuUlEQVR4AWOgBFjvOi4AwsSpptyiC0D8AYgV6GHRfyi+CBKjtUU/YRZCxQRoZVECKAih7BJMCym3rAFmEZiPsEwBJAZlT6CmzwwQfIRlUL4DDRILpmX0SP4PhphlCMNkQQbhwU9gllFqkQ7IICKxBUWWQV1+BxRUePBvqGUGowkEl0EiQDwXiBfgwZ+hlmlRapkBCQnEhlLLOIA4BogT8OA3UMuUhkemHs3Uo5l6NFN3AvEUIGYhxkwAIT7z7kQyqjgAAAAASUVORK5CYII=",wind_set2_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_77},Symbol.toStringTag,{value:"Module"})),wind_set2_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABFElEQVR4AWMYemAUjALrXceZ8cgFAPF/HLiAVIuUgPgREFfgkDcA4nokfBvJsgZSLfMA4r9QzRUE1Poh1CIsI9XCaBQLCVs0j7BlCI0qQHwYiM3xWoiQc0KziJEUy7qgij/itRBh0TeYRVY7jzGCxEmxjA2INxFh4Wwki6Zb7jgKtgjJsgJ8QTcRiLmItPAfUkKYbrH9CCMpiWAfVOM+vBYigu4nVPwizCJSLNMF4tdEWJiNFHTLgXHEREqGDSDFQkqC7iFUYyYRFroB8R+o+Elygq4CrJmwhZ5IQbcLOehoYeFfwkFHuYXJSEl8D7JFVLUQrWQ4gRx0tLDwF+Ggo9zCOiQLVyJbRCsLNwDxaWKCbhQAAH8Z7zClUxfoAAAAAElFTkSuQmCC",wind_set2_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_78},Symbol.toStringTag,{value:"Module"})),wind_set2_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAq0lEQVR4AWMYoWAUjALrXceZgDgdiEOQxAyBuACIZYhRQ4plCkD8H4gfIIktgIolEKNmCFs2ahlCbgMQB9DLsvMwOXpYJoBqIaZlj0CKoHgZVCwLytcjqAYTywPxJRQLgQxjkAAdcADIMkUg/gvEv4H4AxT/AOJ/QPwFyv8I4uNTA8Vfgfg7Ev4Fteg9EBvQshhMoKtF0ESiQEuLFJAsEqBHTWJPskWjYBQAAGw/3XJYww2rAAAAAElFTkSuQmCC",wind_set2_79$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_79},Symbol.toStringTag,{value:"Module"})),wind_set2_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWOgCRgF1ruOqwKxCj0sEgPi11CsS2vL2IB4HxD/p5eFXNajFo5aOGrhqIVo8guA2IFWFr5HthAq1kBLH/4AWYhuGS0sPIVsIbJlNLeQVsEoAMQFIIOBOA2Ib4MsopVlBQjDEZiWcWYAxPZYsADDkAejAAAvtgWRBd1vcgAAAABJRU5ErkJggg==",wind_set2_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_8},Symbol.toStringTag,{value:"Module"})),wind_set2_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABGklEQVR4AcXTA2iFURjG8TlN2c3ZNdu2F5dvWpptL3O5Idds21mLQ5rtvXvmN36nc3e+nfpd7u5fTx0TkeM7vuJmosdByAAEZbqEvuTpFSpin1voFXKFfajTI3QABLN/EWoWCK2BnbGhDhYq1Qrh2Rw6oUYmlgOvQNAPVhqhbiC4ABuZoC9cAMEUHAqEPI2Z0xOu2KTrIiG8joUCmWAGm3QErDRCCfAIBB4ywQS4BIIB6BUINRk76QWQyhAPRrJJF8BKPiR+La7ZtUiRDklM+qIsxINs0t3vSVUGc+GOTWrFvnOEKrBXMykL4jkICIJUTHoNBDtgpSzGgrcsGMZjqoPHqmZ0hKAvBnbvlMRmgTiVMXsIZDh7k/8+bwSC+fypdZdrAAAAAElFTkSuQmCC",wind_set2_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_80},Symbol.toStringTag,{value:"Module"})),wind_set2_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAy0lEQVR42u3TMQrCQBBG4WAjFkrAShDJBYTUWlpZeoMcwsZGcgtv4CEsbC0s4gkkCIpdBEEQhPUVGwhTCebvMvA1m+IxZDf4daa7wxwzdAPlEBjB4Yo7ErRUsQgONzjviIk8ZmwxVMasF9boKGPWCT117IMN+urN9hir/9kZC/VtfGKFtvqdXTAoz9WxPGCaWBNrYtLYQxmIbcx8D+uKpXBIbMyfOaR1xUJkcFiWsUooM5vVF/TeipAN5pVggUh5G2MUXiyJ2A3/3egLVIl7eDrWwXEAAAAASUVORK5CYII=",wind_set2_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_81},Symbol.toStringTag,{value:"Module"})),wind_set2_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwElEQVR4AWMYdGAUWO86rgLEGfSy6AkQ/wfiHHpZdBWIH9DLor9QtjpdLIIFJe0tQuCNtLcIgT8CMQvtLUJgK2pZdAiI1wDxOzyW1VPDon1AzAUVZwZiUyCuAuL9QPwTybLDVLEIj1ouIPYA4l4gPgPE3FS3iBwfHADiAHpY5AA1tAHJopfoFlHdMrBFiFR2CmYRLSybhGTRNZhFtLLsB7pFNLMMij8DcRpIDBqsCrSzDBNvoIXv7HFgAYYRCUYBAF6Ue1Jk7fSiAAAAAElFTkSuQmCC",wind_set2_82$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_82},Symbol.toStringTag,{value:"Module"})),wind_set2_83="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAxUlEQVR4AWMAg1EwCkaB9a7jAkDcAMQKtLbIAIgfAPF/EJvWFn0A4vdA7EBriz5CsRcoCKmM5YCYkQHEgfroP42xFcyy91CBnyA2Gn5AAD8C4mcE8GMgNkQEI8LCBBJiAObY7wR8dQuI2SA6KLewiYBlPrhceR6qQIEEy7iB+AkOi3YSytT2IJpE30VjsegPEGtSPftYbD/CCDT4GJplE2mZX82A+B/UordALEjrIm8B1LJMehTkktDgZKFXzcFJsqZRMAoAfoh82Lcw504AAAAASUVORK5CYII=",wind_set2_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_83},Symbol.toStringTag,{value:"Module"})),wind_set2_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR42u3SoQoCQRjE8RVBxHcRLgliEbFYfYILhosGm8Vm9iUsYjHJFS1yweBzeAcXFSw6C8Ic4pp2iuzAv34/FtaESdZLsylafClWYM8fRUrsiBpGMmJndNeBxC5voC0H7WGbwT7AHUEBVgELCYhjff46OcgF8O/AISq1ILEEXbUgsa1FdCChOgEVSKxDSAUSmxNxghtf2IGAE1z5gFro4YBytEZjX68aVY7fUIpmKOruTzXfP3GClmiAmiYMewHztnHlBNXhvAAAAABJRU5ErkJggg==",wind_set2_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_84},Symbol.toStringTag,{value:"Module"})),wind_set2_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0ElEQVR4Ae3RJZQCURTGcdZ325Z17WkK3guJRqVHGk4kkyBBojek4G6ZSKJOgrLIN+dc7CXsLvrO+Y/P+42o9n4Yk6UIGiHrf0EUQGaoT+vuDOSBwnPbftTaGkjQ7wQSYB96JFDe5ptJylrElH0CJa5/F5xhzENBztgZO2Os0CUKsGIEGVANlVkwQj5RlAC0ZYyQB+RBPTRiwfTxwgUmsqDODGDCMIlDBNgwAk2ozYmJ4A2yIZkTE9FnFEIDTkxEJZRGJcK8LJCAapAZva9y3xhZ5WbldP6EOwAAAABJRU5ErkJggg==",wind_set2_85$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_85},Symbol.toStringTag,{value:"Module"})),wind_set2_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR42u3SQQqBQRjG8WHlEpIcQFmJ3XcEN5AryJZLSJY2Chs7fTY2IhsXcAMWZGEhGU+ar3dqZqPpKYt56r+cfk0zKi6OvuZ6v0Ta042B9dHG6p6BirVGussBWBjoTcPqq60NvdBEMC6UoAHSDGhkoCdKFCYYB3pkkIVdadAv37eMeqiG8hxIsII5qNEFzVAHlcIhP5gi7emEhqiFxmGQYF0BvB3DIcGqXMh9jzMPcm835UOCtfmQYEUu5IJzPiRYBR2+UNy/7QPLU2WEIUNUPgAAAABJRU5ErkJggg==",wind_set2_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_86},Symbol.toStringTag,{value:"Module"})),wind_set2_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAu0lEQVR4AWMYvGAUjAKL7UcYrXcdb6aLZUCLEoD4PxD70toiXiB+BrXsFhCz0dKydrBFCFxKK4uUgPgHmmUfgVicFpatA1uAiWeTaI4DVN8CXAqcQApw4H9AbESihfNhFqJLsADxJZAkHnzIaucxRootBHKcgfg4EJ8ggGcD8QQCeA0S3oyUBhag5Cs6YAWQZXJAXEAD3A3E76AWJdAyvxoA8Qcgfg/EAfSyyIDWRV4AEO+HWzQKRsEoAABJJ2iIVFOnGwAAAABJRU5ErkJggg==",wind_set2_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_87},Symbol.toStringTag,{value:"Module"})),wind_set2_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR4AWMAgVFgves4DxD7ALEcLQxnBmJLIK4D4kNA/AuI/wKxILUsUAPibCBeD8Qfgfg/Gj5JsSWWO44yAg3qBuKzIEPx4BZq+EgVFERQA8/jscyeWkEYTcDCr0DMBlJLDwu3wdTRw8JCkDy9LNQFydHDwkNWO48xgsTpZWEFRYaNWjhqIZD/AYgLaGnhRJg4lN9AKx/+g1mIbhnNLUS2jOYWwiyjtgUBQHwACV+jpWUOQLwfDd+HWpZAs2AcBQCpIl3b31q6IAAAAABJRU5ErkJggg==",wind_set2_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_88},Symbol.toStringTag,{value:"Module"})),wind_set2_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2ElEQVR4Ae3TtVUEARRGYdydBIcCsBhCIkI6mB5wpws6oAc0xK0BXCPc7XHR3X0J+mfzzvl2x+/MStx3p3FsphlNyI5TDoEKGPZwiAAJqlgVDPuwdwtokMecEZQpY94VBpCujHmryFHHHjCMQvWTTaFG/Z2to0X9azxHN1LV/7NtFH9sV8f2YM4j0hWxXZhzhzRFbDNOO2Hs+xPGTpSBeh9z+/P+KzYEQ+Bj79sMQ/8Vy8MKDG0fsajQyseTKYKGW0nIBTejgseoUv4a63H8rl4S8U/41yd6BrSfmlHBS4oZAAAAAElFTkSuQmCC",wind_set2_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_89},Symbol.toStringTag,{value:"Module"})),wind_set2_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgUlEQVR4AWMgFVjvOp4NxOuBWJ1UveRYtgGI/wNxwKhlxIFRy0YtG7Vs1LJRy0Yt20pPy47ALKOF4QpAfACIDbBZBqKBuIBalgkA8Xsg/gCyENkyIE6Ass9T03cGSBZehlowCWYRyEEgdbSwcA3EEkyLaGHhB9pahGnhfnCCGcwAAN9w8YksaiKWAAAAAElFTkSuQmCC",wind_set2_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_9},Symbol.toStringTag,{value:"Module"})),wind_set2_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA20lEQVR4AWMYdGAUWO86rgLEGfSy6AkQ/wfiHHpZdBWIH9DLor9QtjpdLIIFJe0tQuCNtLcIgT8CMQvtLUJgK2pZdAiI1wDxOzyW1VPLR/egYsxAbArEVUC8H4h/Ill2mFKL9gHxARAbKqaCppYLiD2AuBeIzwAxN9kWQQ3jB+KTKBaSCqAuDsBnEUwOzcJDpFrkANXYgGTRS2wWoVm4Aoh1ybYMbBEilZ2CWUQ5wLRsEpJF12AW0cqyH+gW0cwyKP4MxGkgMWiwKtDOMky8gRa+s8eBBRhGJBgFAE5FoTpqUh7HAAAAAElFTkSuQmCC",wind_set2_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_90},Symbol.toStringTag,{value:"Module"})),wind_set2_91="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2ElEQVR4AWMAg1EwCkaB9a7jAkDcAMQKtLbIAIgfAPF/EJvWFn0A4vdA7EBriz5CsRcoCKmM5YCYkQHEgfroP42xFcyy91CBnyA2Gn6AAz+F4kdA/IwAfgzEhohgRFiYQEzQQ9V+gDr2OwFf3QJiNpA+MixEWAZlNxGwzAddPyxIz0MVKJBgGTcQP8Fh0U5CmdoeRBNlGYIfjcWiP0CsSXF2gSamlzC+xfYjjED+MTTLJtIyv5oB8T+oRW+BWJDWRd4CqGWZ9CjIJaHByUKvmoOTZE2jYBQAACXsl9g34JhfAAAAAElFTkSuQmCC",wind_set2_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_91},Symbol.toStringTag,{value:"Module"})),wind_set2_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae3RJVQEURSA4Vms4O5OPxtxi7j2RE80nEYi0XtBCu5ecW1Lxx0ef7gB13cTe8/5xmf+nVnnf03e2LIbxXCrhiRiPjCgGTtBD9pFjVbsWtb7iNb+jI04fR5Ui8k66VlwV4I6MYeR4BEM1iVoLZaGaaQ5zLPggUrw+XiDWrFQjMKjGpTQqkQ2cfg8qBXyIAsD1t9QYkOvQgE4x5nVoMRK5WFZsl8kASgEX8W7YdSDEluBUQ1KKAwPMF8Em2zEamE+IrFmuGzE+mCeucUcWpEDX5v/1z420ItyBDkakzOy6OLhCc+PeecJ50ygvP9OD4wAAAAASUVORK5CYII=",wind_set2_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_92},Symbol.toStringTag,{value:"Module"})),wind_set2_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6ElEQVR4Ae3SJ0wEQQCFYXrvPqEbuqb3ovAOCz7BrsMneO/w4IOkO7yiDKs4+i9ub19G0Z7bSb7re/+UrfrtmDk+7UNXlXsQmULAuS0oKwr4LLtAlyPUhfNy5EOC5RV6Qjt4xSf2/i0osSQLVTEk1lWOfyL5z5X1Ze81Vn6/iD7XjVLSmPv2D/5YESti0Z+24B5BPCJ1xFrxGbPEysF2dIlhPFliEm3APlJdmSO0jVvLNkpkFCeWM5NIDw7xZrlBJNSJmzjgXFk7DlByxzQ6gCN7LIou48od02AddnGP4IxptBtr2PrJdV9YW6EUHftM/gAAAABJRU5ErkJggg==",wind_set2_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_93},Symbol.toStringTag,{value:"Module"})),wind_set2_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR42u3RoQrCUBTG8cnAJlhMrgpGm6hlL+A72H0Gmdkw0KpR87JGgz6AYhJBJojJicLi/BgXzoU7B95xQHAH/unC/XE4Rj7/OZ3VtozshBocWICipDgwGzmiEQoVjAGtoIuAXoTxQHcB+cgljG+jG7LQEEW6Nxkj8wO0kzayDEwWzBefLQhUoGMM0VsPeTpYEz1kMAn65sM6WqMBaiEzBZxqQDTt5aYgjhuJAuShPqpJ4BWdNCBluzlhSmc0Q/uMEB01BQuzbaRiVV5IBQ/8EGETfoiwLj9EWAk9+SAVdPkhworIiaF8fm3eXKuaemC3hR8AAAAASUVORK5CYII=",wind_set2_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_94},Symbol.toStringTag,{value:"Module"})),wind_set2_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA10lEQVR4Ae3UJVDHYBzGcSQtIQmHgrX3aDg90VZpVHpZL/QekH5oROsoeFrB3fXHF9/+Ok/vc/eZb8+8REcncHoX1400y6bRlUbREATLPQtrpUkWlcOG/DCTLBuFuDgwXOtX8YrOqEWVOIZksEp+4rpqVeRYY1CFNhiH5HCPhoBlF7iEyrWyHS+QPCYDlqm8hSyYhRTRU7ysSCET1djGfhFb2MYeNmDn4ODQ5RLyV8igFpKC4d+ra4OKmYkbCEaS/F4VLnGBoSSLWlxFKul/ayWsvyIdHZ0PmFiaCxNJGyQAAAAASUVORK5CYII=",wind_set2_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_95},Symbol.toStringTag,{value:"Module"})),wind_set2_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA00lEQVR4Ae3QJVAGURRAYdyldxIOCfeC9Rlc+kAiYj3RE42MOwntPeDuLo+D7/66dvE3863vnrkb8L9yJxbCUIBeNEgEktCOIZxBvSpzKlCNfmxAeXCFCCdCfdjHNpQXk05NNQqFAx/BDqdiUZjxE8zUvCIa3EXQ63MJqJAMDmhCa7hHgVSwVRNSWEK81C+tFQn5mtBLSCS4j2yBjNfgLlL+VpDzdBR9SpDjuSeSE14hRSymCS5rg15iYsEVTUw4CBw5HUiH8kZiojZ0edAUILX+1yN7QZf1cBmRXgAAAABJRU5ErkJggg==",wind_set2_96$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_96},Symbol.toStringTag,{value:"Module"})),wind_set2_97="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA4UlEQVR4Ae3TA2hAURSA4dlmHHILs5mbF4d0s2tpWcu2p9wyZzO3tDDbNs/+2d6ZX33d+P5Li2/3JTb0+mAfg6hGoGYsCIJpCHZQCif92LVJFCXU91hqxu7qQbRm7K5jVMFFPYZB5GivbB0lsNPcxmOUw1/7NnYhQvudTaIgrrbLUvNRh0Cwg7YnNCH4vbE4yAulfNQ2ziLtCSmw/ajY6Lt+9B/79bHFz4ytagWKsYqwuzFGD/TBfFQsDCtYRcZl7EZIkPcRrbvBfgi2sAqB0djOPMgdRvOCGPXQ3RW+94xOAONNsJmvm9tCAAAAAElFTkSuQmCC",wind_set2_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_97},Symbol.toStringTag,{value:"Module"})),wind_set2_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+klEQVR4Ae3RJVTEABzHcdxdIgV3SLj1QKVXvAecHsj0hiXcPaIFbbi73i/M/W6+3f+9z3z73nYB/rHcVE9vREKeEaEomIcvqDci9A93MG9U6BL+INWI0D+hyZAQYdiQEOHckBBDlppQIhH4hxs4hn8JLWreaI3xoEXiWA30EOd+OLFRtZ/uHp6J7QkIY1wXB40wBIfwAMG+hq6hCMrhkRkUuTcNIsQe3AmlUiHGOUVBsVApcWOPXEh1EBc2kDEitM34j5ghqeB41dR6oDexQUboXSokENyFEG9i11IhifszINGrz0j4IkLqRyomYkzrWAJ0i2gI8I8rxwPS5cDax62QggAAAABJRU5ErkJggg==",wind_set2_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_98},Symbol.toStringTag,{value:"Module"})),wind_set2_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2UlEQVR4AWOAg1EwCkaB9a7jDvSyaAEQ/wdZSEtLBIB4A9Si+bS26ALUonp6WfQWiO9A8VMgfgSSw4G/APEnMJswPg/EGiDLDEAW0QFbwXyXABKAulQPiBUIYoT6IBBNAD8DYhGQXSgWQr0tQCj4oWo/QNnrCPiqHKaPsIWELVMC4h84LLoLxOwInZgW7gcFFVGWIfjtOCwLoDwVY1rGC4obNIv2gOSoaBlmNEDxHyDWpZllFtuPMALFTkHlpoLEaGMZQtwSWjgIU9OyUiDOxiGnR7KBo2AUAABf75OzomqTwgAAAABJRU5ErkJggg==",wind_set2_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_99},Symbol.toStringTag,{value:"Module"})),wind_set5White_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAVklEQVR4AWPABv5v/l/AQCz4////ArorHlU8qvgIMcoS/huAFV8AkgZANl7FE/5/ACoCKv5vAGRNIGT2/v8fgIpfAMn5hB0i8P/8fyCAKyWsHKiUUgAAViFnalMQC9wAAAAASUVORK5CYII=",wind_set5White_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_1},Symbol.toStringTag,{value:"Module"})),wind_set5White_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXElEQVR4AWMYSPBfmHilTv+//c8nXunH/2bEKzUfVYpPicH/BKJN/d/w/wBY6Q+IUoKKgUr/ACFQKWHFF8BKXUA8worP///3v+y/w38DYhQjgABh5fYQCFQ62AEAW6F5Bnq7f3QAAAAASUVORK5CYII=",wind_set5White_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_10},Symbol.toStringTag,{value:"Module"})),wind_set5White_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAqklEQVR4Ac3StVXFUBwH4HcYAGmQPg3OAowAA2AVUj42gIoOHwCZBatZAXd3eB9+y/xzqPjFk+96Sv8qxgFc6orwJJgxoaw2xtxhJIAJZ1+8vxD+OGcuvYVcl/LXNbObeJy/8Iq5onxMhUK16/Xs0FHqTEB3ZbYSD2kTznO5Hl/0426IgFv8oh+xSsBVqfm524fE1/N63kbKtil10d+9Z9mAhlIU3VpCFOUdc6fMF0R1fsEAAAAASUVORK5CYII=",wind_set5White_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_100},Symbol.toStringTag,{value:"Module"})),wind_set5White_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArElEQVR4Ac2QpUKFMRhAh+Y16l9w7bwACTKZd4CHQN8EKk7H4bbrFy1owTn87vJFznw727dNpYOBoWQwwbOZJqSqiVkbEnWda1455QydLx9watYNntGmvpEr22fZstVHS+59xr2SwgGN/y8zxVooXfOYJy8R5StP7kL7qY8jmpLbdrPAKyXBA5mhgkmhzDDbmAhkJnnHRnryllS2YVp4Z/835iW/4UMPc8yqBH9ga8eyqfWMAQAAAABJRU5ErkJggg==",wind_set5White_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_101},Symbol.toStringTag,{value:"Module"})),wind_set5White_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsUlEQVR4Ad3OJVjEQRBA8UESlYhDopHxTqZ/H+4Qif+GQ6dHvONW4ayc9XLWTt/5zSnbsLdxf7Oz8r+iFyt3HrhiyIwvueeJGGCJOdpwAbBVfTGLi8469ASYrMXgUZ6hT2SoCIo1lpVn6B2wK5kI1sHKlVaVauIGixFaS9zLaxXVOAcgwg3rDLIJwL7UjyW0JJ/AszSKAZQ6G3xAw2+kGqdGqjFtpBrtvBupxhTb8mOlAe2zyaSqqldFAAAAAElFTkSuQmCC",wind_set5White_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_102},Symbol.toStringTag,{value:"Module"})),wind_set5White_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4AWMYyuAPI4z1n+c/E16l/9n/L4Uo/y/1/9//SvyKy////x8HZikAWQ34lEr8/wRU8uw/DzGK5/2HgDaCiv+bAF0JAT/+K6IrBvMToJy/jP+P/keAtZgm/08AikyAMH3+30GBxUCpBf8dUGAHSAykuP4/scCB4b/2/wJkCDR5zf8ONLFlQKXzcXoaw839xCk1AIcGBhgFAMfO0JwSKRcCAAAAAElFTkSuQmCC",wind_set5White_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_103},Symbol.toStringTag,{value:"Module"})),wind_set5White_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsElEQVR4Ab3MJVAGARRFYSzh7taHvEQkUpCE901YRCvaC9orBW9ELOPWcLfDzO7+uq7ntTff3ISgIo0m5tglxQglIzDCDl8ArBrRctZ5J9KAEW4DTqJ4jfQVGNLmYhS/lT61PPJGkRlfCdPGaKHNe01pFO+wQMP8l3cLVOIL0npBgrXoB46sczHCyabaMmeCHWvr9xRYwBIflPiUhC3yHwuYfeCMS7CC6xlXriXB9/4BrGvK1fY8N00AAAAASUVORK5CYII=",wind_set5White_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_104},Symbol.toStringTag,{value:"Module"})),wind_set5White_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAUklEQVR4AWOgEIyC/wn///8XIF5pAnFKC4FKO/47EIRcIFOJBQEM/wX+XwAy1v2fDISV/wtwwvz/EgwMIOXn/3/4b0CMk+HKEXzCyu1pGDOjAAB9s3w9adHgEAAAAABJRU5ErkJggg==",wind_set5White_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_11},Symbol.toStringTag,{value:"Module"})),wind_set5White_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAX0lEQVR4AWMYVOB/wv+D/4/8PwCEG/4rEFLc8P///1//J/6vB0IBwoofAJW/+69CjDMagA5IhSsnrBhIpv7/9/8JUDlBD04A09H//4KVEwYDrHxU+Xzik6/1f/5BlZ8Alil1Z+Kag7QAAAAASUVORK5CYII=",wind_set5White_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_12},Symbol.toStringTag,{value:"Module"})),wind_set5White_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABv43/A9gIA78X/AfBBKIUZoAVPjt/x8gGUCEUiB+AYTz/3/4b4Bf8QSQ9SDFQLL/fwNBh8AUE+vFa/8vE6/4wv8LlCseVTyq+Oz/08Qr5vzPiU0cANMDZ5PxiheLAAAAAElFTkSuQmCC",wind_set5White_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_13},Symbol.toStringTag,{value:"Module"})),wind_set5White_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVQoz8XRIa+BcRjG4f/ZOIWZIqmSDyCaDyCcottMNZpkoiiK5iOYJL3hbKJ+0qkCSTjhPbs09X0Sd7722549Kb18eobWMpl6EZ2Cb9CL1c+4G0boHAeZZTFtyd3UbGVFtOTkXzclX4VlC6xih3Xkzj4jtOLHn3asu8EkRvs45h8R2nBx1Yx19xjE6Bi7GG25+1WL0OfPIngU/llKqmbK6U17ADGkd2nrXp+MAAAAAElFTkSuQmCC",wind_set5White_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_14},Symbol.toStringTag,{value:"Module"})),wind_set5White_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAATUlEQVR4AWOgGRgF/xX+//+fQLzy+XDl/1n+CxCES6HK/9f8JxYYMPy3/T8BD5z+fzUQHgAqnU+cmxP+fyBWqQHcVMIA6D17isN/FAAA3SV5VCiNzrwAAAAASUVORK5CYII=",wind_set5White_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_15},Symbol.toStringTag,{value:"Module"})),wind_set5White_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWOgNfjL+J+ZaMX/F/w/8Z+fWMUt////P0m88g6qKx9V/r/gvwLRyoF0AmHT+4HK7v7nB5INQC5xyolS/N8BCNcClRJW/D/gPwIUEBsuBv/tGQYXAAAv63eIsb0xtgAAAABJRU5ErkJggg==",wind_set5White_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_16},Symbol.toStringTag,{value:"Module"})),wind_set5White_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAbklEQVR4AWPABP/l//v8Z2IgDvzv////vzyxiicAFSvQTPHC/wvAUIcYxe//Q4AHxc6gv+JRxdNJUbyGKMX/A/5/+G8AUfw/4f8B/IoF/p8HKt8FVFwCxPOBQgSV/wAqhColrPwiTClxyu2xywAAbGKKAKZgj0QAAAAASUVORK5CYII=",wind_set5White_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_17},Symbol.toStringTag,{value:"Module"})),wind_set5White_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfElEQVR4AWMYSPCfi3ilHf9f/5chVun//yf/8xCvlJ9YpVf/KxOr9Pz/X/8v/xcl0gH/K4A0TDlht4KV9xLtrf/e/7nID4H/Cf8ViA4soJIGINkPU0pIcQFY6S2QUsKK1wLxXeJiCwSeQJQSVowAGwgrNvhvD4UCDIMdAACHf4kD8gFYAwAAAABJRU5ErkJggg==",wind_set5White_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_18},Symbol.toStringTag,{value:"Module"})),wind_set5White_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAZ0lEQVR4AWPABKPgv8B/BWKVGvz/8H8D8UrP/xcgTumn/7f/V/4vIADjQYoP/CcOvIc54uZ/WyCNDSb9f/o/AcxShznk/f8L2N38PwBoZgCMh1A+gaBiRDgTNplwWEkAXSyBTWYUAABMXI7DEHFDmQAAAABJRU5ErkJggg==",wind_set5White_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_19},Symbol.toStringTag,{value:"Module"})),wind_set5White_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXElEQVR4AWMYSPBfmHilTv+//c8nXunH/2bEKzUfVYpPicH/BKJN/d/w/wBY6Q+IUoKKgUr/ACFQKWHFF8BKXUA8worP///3v+y/w38DYhQjgABh5fYQCFQ62AEAW6F5Bnq7f3QAAAAASUVORK5CYII=",wind_set5White_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_2},Symbol.toStringTag,{value:"Module"})),wind_set5White_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAg0lEQVR4AeXOtQHCUBSFYbyFEViAkgEYACvTZRMyAhUtvgAL4ENgE9Dh/kdrDh127vP3RUIfFUyGTBl4lVbYAq7UqDiV0njFgy0ZAQM8wHD4QXMPO6PBjbXkmFjeXOAScJ3/4uWXOQl6zAm4ptCliOY0PBoN/r37HOeoOtQLWZKhT4oNvTOJICcZHYYAAAAASUVORK5CYII=",wind_set5White_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_20},Symbol.toStringTag,{value:"Module"})),wind_set5White_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAZ0lEQVR4AWPABv4n/J+AKYpLKQgsJFbpKyD+8H8BIaUBQGXz/68BkrZAPIGQ4nogCVIsALRjPUGHwBQT68UJg0bxqOL/mv8dwHAOMYoP/IeAE8QodvmfAIaLB0dodAMV8xKrmAW7UgBm0orjHQL8TwAAAABJRU5ErkJggg==",wind_set5White_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_21},Symbol.toStringTag,{value:"Module"})),wind_set5White_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAf0lEQVR4AdXMsR0BMBSEcT0wggHADGqDKLW6lGktYA4VAFRqMIGa9nNAA67kXpK8JP9fEj8fGoRbVb7RPD3VEoXg/d4WPQibdM3YwETRHVn6wgZdkFUn7FGFCjmTvgh1qi5Nseco/p1eSPHKDfrgM4teeMun0adNmwrX6Ij+R04GV4l4McAvrgAAAABJRU5ErkJggg==",wind_set5White_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_22},Symbol.toStringTag,{value:"Module"})),wind_set5White_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABkbB//z/bcQrPvD/AQ4Zh/8CxCt+//8CTDlhxQZw5f9V/xeA4br/O4EkOqz8PwUI1///D1b+P/c/sSCA4T/3fwOCsA6oNIG4cGogXqkCWCllYBQAAFODibb2K2nZAAAAAElFTkSuQmCC",wind_set5White_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_23},Symbol.toStringTag,{value:"Module"})),wind_set5White_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAe0lEQVR4AWMYVOB/7n8VKCv6/9X/kviUyv3/9f8JUDlI6d//d0CK8Sn3AyvPAiuVAYkQVv7y/1GEUmJMV8GtYlT5f4P//4lR/vv/5/8q/x0gigkr//v/6/9ouGLCyoHO+f9fgZDChP8HgPDyfxBwIKTY4X89HAoMqvwEAHaZhkgRz6mOAAAAAElFTkSuQmCC",wind_set5White_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_24},Symbol.toStringTag,{value:"Module"})),wind_set5White_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAaElEQVR4AWMgG/xX/f/r/9v/D5CgLW7Fev//AxUcQIKmuBUrABU3oIqRp3hU8ajiBcQoLPhvAFP8P+C/AX7F+/9/+O8FUvw/AUgG4Fcs8P/8/2tAZReAOAEkQkj5RaBCJKWETS/ALQ8AZWqSWVcw3V0AAAAASUVORK5CYII=",wind_set5White_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_25},Symbol.toStringTag,{value:"Module"})),wind_set5White_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfUlEQVR4Ad3KFwACUByE8SzNm05Z2HR3aS+XnHNOc8hdw7y9x9f+6732uHv7/TyfCWWarjTFFii60RljekDehQ6JEaB74pqezsYlNQ45TY3TVtSCD6+mlnsoA6KKWoDEga6ZnqjEdTaHZjRNAFujGgMtGocmFI7QsRr+n+wBxVSU1Rsy5lYAAAAASUVORK5CYII=",wind_set5White_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_26},Symbol.toStringTag,{value:"Module"})),wind_set5White_27="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXklEQVR4AWMYyuC/A/FKF/x/T5xCAZDS/wbEKb34/9v/7v8FeGH9//X/TRmADGJBG8js+UBGyn8DvLAQqCaEgQGi/AN+N/8PACoOADJgyolQjABDQbELULErssgoAAAGmZT+bqXEvAAAAABJRU5ErkJggg==",wind_set5White_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_27},Symbol.toStringTag,{value:"Module"})),wind_set5White_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAbklEQVR4AWMgC/xX+N8AhwqEFDv8////9/8T//cDYQBhxSDw7r8KhE9YcSpcOWHFQBKk/DlQOWHFYDr6/9//T4hyDLWVjyp/+t+SKMXQWP3zn40Ypfz/TwIVbyJeaQX9lSIUz0YoJaxY5n80qggAT+mVAPkRjiAAAAAASUVORK5CYII=",wind_set5White_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_28},Symbol.toStringTag,{value:"Module"})),wind_set5White_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAcElEQVR4AWPABf4b/BdAFcGn9P//CxDlhJV+ACr+BVFOWOn8/9//X/l/n6Dy/w/+zweS34EKDf6//99A0CEQxUBSgDh3v/p/AplPyDEHRhWPKoZKC/5XQIJP/h/Bp3j9f1TwDp9i//8NSHDz/y50FQCcjYrX6XUJFAAAAABJRU5ErkJggg==",wind_set5White_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_29},Symbol.toStringTag,{value:"Module"})),wind_set5White_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAUklEQVR4AWOgEIyC/wn///8XIF5pAnFKC4FKO/47EIRcIFOJBQEM/wX+XwAy1v2fDISV/wtwwvz/EgwMIOXn/3/4b0CMk+HKEXzCyu1pGDOjAAB9s3w9adHgEAAAAABJRU5ErkJggg==",wind_set5White_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_3},Symbol.toStringTag,{value:"Module"})),wind_set5White_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgklEQVR4Ad3KsQGBQQxHcUBrBRsAoAG0drABoLeMPUygtQZogOfffdclUHnN5ZJf7F8jR8dGBaJWHt5mydODFQPuXNk6MHVEqbMRNumBM3VNwjY9iCpGFJw0zE/JMiXpoYoJsBY3qSIpGvCQGjykFm+G1OJXgwZ8x5NhzBcZyrHf9QJnMZmGOPLT1AAAAABJRU5ErkJggg==",wind_set5White_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_30},Symbol.toStringTag,{value:"Module"})),wind_set5White_31="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWMY9uA/y38+4hXX/P//X5pYxQ1AxQqDXvF/A6D8AqJN/p8AV/6/B8iM+O+AF3ZAlf8/8J9Y4MDw3/X/zP/J/xPwwjlApf1wdxF0cwJxSg3ASkcGAAC+5JZBDwvHzQAAAABJRU5ErkJggg==",wind_set5White_31$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_31},Symbol.toStringTag,{value:"Module"})),wind_set5White_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfklEQVQoz+XMoQ3CABBA0SuimhFYgKQbVGMwDMIIJWEIHAvgmKAoZKdAYbCQlIcgCFQPDIKvX37EW2YWkcvczSlPz6a/o2t9kkY4olWm8H1ki32SK2w+4P2/chPjNNda5e6dMoEj+sIOnUMCR3jy6yBWuXg1fFarLTUaVXzTA/dRoBMjR903AAAAAElFTkSuQmCC",wind_set5White_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_32},Symbol.toStringTag,{value:"Module"})),wind_set5White_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgElEQVR4AWNABf+N/6v/V0CCTAg5TKXowA+3YnWg9IH/DUhQGbdiBaDiBlQx/Iq3/y8AQ0HCihHAgBjF0/8bgCErRIxyN1OueFRxBymKFxCjcMP/BJji/xP+B+BXPAGoMAKkGAjfE05G8/9/Aip+AVNKSPkCoOKPMKWElffjcy0AfYGqJSBohgYAAAAASUVORK5CYII=",wind_set5White_33$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_33},Symbol.toStringTag,{value:"Module"})),wind_set5White_34="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAl0lEQVR4AWMYGPB/w/8z/xiJU1rxHwRmQpQTVnrl/w4gOf0/I2GlD/+L/mf7vwmiHL/SD0CcCWTDleNWevm/BhAjK5+IW6kokCUKpF/95wIrX/u/CadSKE/kvyKEhddU3EoMCCpFAKASB2SlBBX/bwCFK2GlAkBli4D4HVApIQA09T9MKbGKj/4/AIQJhJ1RD4cGDMMOAADjLqlfu8kPcAAAAABJRU5ErkJggg==",wind_set5White_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_34},Symbol.toStringTag,{value:"Module"})),wind_set5White_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgUlEQVR4AWMYyuB/wX8FYpUu+P+eKMX/Bf5vACo1IE7phf///1/+fwQI9wO1YYeb/j/9P43hv8L/90DFf/7/BsIf/z9gwO9g0Y9ANcdAZhsAlS/AafOB/w9A9gMVTwByEcoJK4YqB7rXgJBiwgGQ878BrpgYQFPF7P93/U9EFhkFACnSl2xahBP3AAAAAElFTkSuQmCC",wind_set5White_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_35},Symbol.toStringTag,{value:"Module"})),wind_set5White_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAg0lEQVR4AWMgE/zf8P/g/wNgmEBYMQgc+V8PhAHEKH4NxA0QHmHF3v+fwJQTVuzwnx+svIKw4vv/DYAk//+TUOWEwUhTfoFo5f9V/j/7/4O4cFcBRtCv/xFgxywjpPggUKkfkJb9/wWoPAS/YqX/TnBvLiEhROivFKE4FKaUOOU6qHwADQSeMIEQun4AAAAASUVORK5CYII=",wind_set5White_36$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_36},Symbol.toStringTag,{value:"Module"})),wind_set5White_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAeklEQVR4AWPABf4L/DdAFcGn9ML///8TiFO8AKj0H0Q5YaXv/68HKt1IUPn/BKBSg/9T/v8HkvP/fyDCISDFxHuxiRTFBYNG8aji/0L/z/+/AIRPyVJMuTP+M/1XQEBwQjLCrdjmPzoIxa1Y9H/9/wY4nPZ/3395VBUATICmiVlJt/IAAAAASUVORK5CYII=",wind_set5White_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_37},Symbol.toStringTag,{value:"Module"})),wind_set5White_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4Ad3Ot5nCMABAYV1svQIbkNFHQ25ZgIoNyKFkCUbwHi7JFWENUgMHPDJ0cqzuNVb4JVn81/CRMkcB3nWs8CQNTub4FjkO7JlgjpE3KjFMMZIVW6QQN2xKV8jbuEjAClWkpmhU+LqNChhoylspA/qVUwX6aIof4Av9xdvA7E3NeJf9m6p5/H2rOX/fasoXnMgLa/FLWHjXGWZTqGvafIaZAAAAAElFTkSuQmCC",wind_set5White_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_38},Symbol.toStringTag,{value:"Module"})),wind_set5White_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAeElEQVR4AeXKNwFCMRhFYYoAykiX8K9sGMADUiIhO1UAApjAQlTAGBwcen29Uc8d75f7+WjTpxgWK6CTJaZFPTw2GNe/TI9yWNzBYiiHwfuQK2cEaBQb1ijHNLP9FnDkLAmb5KjSpROwOVsGuTAxwyLhqLDa0/9oB/kmq4CVsQoiAAAAAElFTkSuQmCC",wind_set5White_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_39},Symbol.toStringTag,{value:"Module"})),wind_set5White_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAX0lEQVR4AWMYVOB/wv+D/4/8PwCEG/4rEFLc8P///1//J/6vB0IBwoofAJW/+69CjDMagA5IhSsnrBhIpv7/9/8JUDlBD04A09H//4KVEwYDrHxU+Xzik6/1f/5BlZ8Alil1Z+Kag7QAAAAASUVORK5CYII=",wind_set5White_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_4},Symbol.toStringTag,{value:"Module"})),wind_set5White_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAj0lEQVQoz+XOsQ1BARSF4ZvoNF6nkWgVCht4vZjAIjZAaQM7aOX1RiBMoNJK+BQIFTei89dfTk7ES1oq3cikZedsmKejH9P2g6p9oh0nF6MIdZXFe9x0xFhdhcmn7YY1NphmXt/4KnLd+fjPuEKZ47MIJZn1LeYpHKFhj2VmuVAaOJDBC8+KzJGevr5efNcVuv+le43gK8sAAAAASUVORK5CYII=",wind_set5White_40$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_40},Symbol.toStringTag,{value:"Module"})),wind_set5White_41="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAjElEQVR4Ae3OtRUCQRjE8cXyLWFLoBEKoQ0qICQkxgvAKkALuMtw9+jPF57iEDHz3kS/FeUNRRpkHU2p8HDEndwtPGCIdjRxC/foqUfDhgu2o5lbeMaOtqPp97/xxz/FFtYjzGBkx4xlNeY2zmMLEizbo3Yba7qCZtIeK7RS93kFhCZvOQd/gDp46Aeurj+nADTd3hAAAAAASUVORK5CYII=",wind_set5White_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_41},Symbol.toStringTag,{value:"Module"})),wind_set5White_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAo0lEQVR4AeXONUIDQQBA0aDXwK3G3aHDO46CH4YWh5qKEucASI1LQuSvu0uX3+zIm5nNpBi1rISlVdwA6+HoLvBHkdXgH3gAjujgJYBTxT6QZ0gcN/ty9Qcu+OWDXl+u0iNqmcDM/32oPDN4I7O+1MS7Am418S/mjek2C05qRI15ci7yKs4M6pOId2R6JdKguOE5gBoB8MQUY9QH4ze0DjLlnABDlbkskwv3cAAAAABJRU5ErkJggg==",wind_set5White_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_42},Symbol.toStringTag,{value:"Module"})),wind_set5White_43="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAhUlEQVR4Ae2KIQIBYRBGB+5A3KqtCDgCgOomu1H8TwBJdYQ9EQDxAQCYBHhfmJlvnnwuGLpatQXUdGqbEVXsq4lSIr6ccXL4BYOWuGAzZE6H5jJ13LMYwFtOD4iIrPQ+LbkKFuAupwtYIjvdKOR9aavlFS+QneV0NHKQDOHlDC1n8PjzZwETLroUpsM8agAAAABJRU5ErkJggg==",wind_set5White_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_43},Symbol.toStringTag,{value:"Module"})),wind_set5White_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmElEQVR4AWOAgf8C/x2g0ICBEPjf8B8BHIhT3P/fnjiTP/y/BlIO4hFWfOA/F1h5B1GKgSTX/1NEKP8vAHIrWPk+sHLCYJgo306scrn/X4DK5xKjVPT/ZaDSmzDHEFaaCXTMASB9mAilQBbb/61A1nnilG4Csqb/Y8St2P//P2Sl/xnxu1gB01T8GlYglBJWnPa/F6iUXAAAcv24Ta5+UPkAAAAASUVORK5CYII=",wind_set5White_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_44},Symbol.toStringTag,{value:"Module"})),wind_set5White_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAdUlEQVR4AWOgCvi/4P///wnEK/0HUU5Y6fv/HUClHQSV/3cAKjUAKQSyJgBJAYKmQxQT68EsUhQnDALFo4r/y/w/+/8CHD7Cm4j+y/0/j6Y4iWJnIMxWgMMSoGJH3Ep1/qODPNyK+f/X/W+Aw0n/D/zXQ1UBAPNUrgJjPjzKAAAAAElFTkSuQmCC",wind_set5White_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_45},Symbol.toStringTag,{value:"Module"})),wind_set5White_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnklEQVR4AWMY0eB/wH8EcCCs3B4I+2CKCStPBSp8h1BMWKkKEYr/R///+//lfxUgC1nxf57/TFiVPgEqBbHr/wvAhLn/3/m/9D8zNqWY1jEBlf4HKSeg9L/M/1ggyQxTjt/U2UBFFcjKEUoxFfP/P4mi/ChCKSHlR4GsTxClBJSDHABU6gwSI6z8H8wBhJV//P/nvzqxCVL8vw4V0zcAqMO32OVFTGIAAAAASUVORK5CYII=",wind_set5White_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_46},Symbol.toStringTag,{value:"Module"})),wind_set5White_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAdElEQVR4AWNABqPgf+D/c//lgfSU/6sJKy74//+/AZA+8P/BIFb8X+D/h/8JRJv8PwGoIoFoZ/xvgCr/v+o/scCB4X/W/9v/V/xf8P/U/wtAEh2u+b8dCE8ClZ7/L0BMtBn8/0CsUgWg0vWElCKCzn4oJ2cAbICkD0t5txIAAAAASUVORK5CYII=",wind_set5White_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_47},Symbol.toStringTag,{value:"Module"})),wind_set5White_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4AeXQJXADURRA0T+zXra2XFcbFfYBHfATPyG1XkaHvIpXibfrVZiZ4S6ocl9re589H9Xb8KApWaSAvJwaXP2KEqSAJqUbhlx/TUvv6MvX9Bk44BJQh2c40CIpoA4Pc+TCxKKS0C3c51HJIsyB1j/j3AK3kn9f8ogf8Et2P7MmjoNl/CDARGlYY4AE+9GpUremxq36SyaxvbW5esLclAAAAABJRU5ErkJggg==",wind_set5White_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_48},Symbol.toStringTag,{value:"Module"})),wind_set5White_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVR4Ad3OJQxCURjF8Yv129PtiUqjb/SNRKX3Qg9EIhnvw3rhWUMb7p4ODs89cf7bl35PiHooooGsrAQxHk5QLmeGBYigsiJmmANH7A5bXDGSlTHDc+zRlpX27Tc4CIg/i9nBPbxnB0tIPUvawLJ//ks8xNAOY2D3O8HkfimYOc5jdEd3fL8cauaYogMO83sc1qCEWPMKcKdREybnMmqDG/7ADUTCuXWRIN3oAAAAAElFTkSuQmCC",wind_set5White_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_49},Symbol.toStringTag,{value:"Module"})),wind_set5White_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABv43/A9gIA78X/AfBBKIUZoAVPjt/x8gGUCEUiB+AYTz/3/4b4Bf8QSQ9SDFQLL/fwNBh8AUE+vFa/8vE6/4wv8LlCseVTyq+Oz/08Qr5vzPiU0cANMDZ5PxiheLAAAAAElFTkSuQmCC",wind_set5White_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_5},Symbol.toStringTag,{value:"Module"})),wind_set5White_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAt0lEQVR4AeXOtV0EQRhA8Q/t4CK8AErACsAhOlIawBMkI8JroAFogBJw9wx3l8f+1t3uMl6yI/+ZWcljdFMal44BaxTFoVl+eAYWIzkL/HJIDUuRnCwAkyKURnD1B07YBUYiuEoPKSfDhoN3+tNzLmkRcfCenwL/W5u44hOL94f8gAi1Kq/X+bRF2phwUCWVL5NRRyVixQQrIvTyq1K/nFih8BhJVXxm0WgM73TTSGM0nsXoTv53f8RXxc2bVjsgAAAAAElFTkSuQmCC",wind_set5White_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_50},Symbol.toStringTag,{value:"Module"})),wind_set5White_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAj0lEQVR4AWMYIeB/wv///wWIV5pAvNK6/wY4oO9/dyBp8j/8vzjD/4D/xILZDP8F/p8HMtb9nwyElf8L4HD+/2P/S4D09/93gOQUoJpSBgaI8g//DdAcNwHiZaDMASDpAPEVXDkximHK7Qkrxh1Ggf9n/WdHU4wfkKr43f99QNKeOMX6/5WBJBtQOd+wT/UABN/HX45jd4UAAAAASUVORK5CYII=",wind_set5White_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_51},Symbol.toStringTag,{value:"Module"})),wind_set5White_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApklEQVR4AWMgE/x3gEFilCJAA3GKL//nh/AJK14LxHfBygkrBpLzoKYTVgympwOVnySs3B5Kd0CVEwJ0Ud5NtPL/osAwOQNVTlgpUGEm2DGP/8viUfqP8f8lkFKgJrb/t4Gs+3hN/5/7Pw2sdBNQ6TmCjoErnf6HEeyYz/95iFAKDca3MMWEle77z4XbXLn/HwkrRSgXx1SKX0MJQilhxWb/l6AqBQBmDczgJn1RqgAAAABJRU5ErkJggg==",wind_set5White_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_52},Symbol.toStringTag,{value:"Module"})),wind_set5White_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlklEQVR4Ad2OtQFCMQAFswAyQgbAxmAb6HAZgZIKRoARmAB3LXGpfvu+u0vFu3guQuwCiiTxFuTwwxRJryoAD7qgDvDkmLjqGKHPtTeOJC7oOMuUawSZa5PczD244Ei8BlNM/1JGAUWBpRdZzsGLnEZOYBbdn1HGVAODt5PccJDDfSMOqmGNhZPcgz6Mk5xHW8MQXaPBAuFxt3QXrZgkAAAAAElFTkSuQmCC",wind_set5White_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_53},Symbol.toStringTag,{value:"Module"})),wind_set5White_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuElEQVR4Ad3OJUAEYRBA4cHd6XjvjR7ojYhLhILTt23BXRJScacn3NpdPZd3h7O+CXt//f6Zkf8XU+y+PcUZN9LPADfAvjgXTWEV8LDnlp4zyq4zVV9oLgOmmHZqNXSbXBG6UT5JPZsUiVBNmCdqtVQXzcDZC2944XUWlGoyROjR8CNzWomfdTI/eTiFOasD0pgHDR/XUmveC8CuhlrwLFTAS5EF1PA7/QHWfB+41FJrnski5fIjJQAD3s7SmPNkhgAAAABJRU5ErkJggg==",wind_set5White_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_54},Symbol.toStringTag,{value:"Module"})),wind_set5White_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAh0lEQVR4AeXKtYECURiF0S1hNiOcDpCSaGDogGmAGMqBCPcC0AR3l48fd4fVe5+/8/HngwUHn7Jb0a5jG2CS3U36nRgDRbRbsQroB0LHdDuOUhdxI1Y2HBcQElqjJ6uHJD7Z142RluZhwXEypSnHISNZD9umJ+0zoSb4elCIvZxKULEL/R+ZASxvuLDwGhc9AAAAAElFTkSuQmCC",wind_set5White_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_55},Symbol.toStringTag,{value:"Module"})),wind_set5White_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuUlEQVR4Ac3QJVBEURSA4YO7Qw+8SEYy/VXc+wx9sEhDeqXP0J81NJFxNq6np//u4s6BxJ+/e869V95GDc2ii3r2OaNOS2HvF5QaEZbo09JNYPdr2or7hh7S8TU+BTwNLccoBQLMF/rtB2JwR/xMpygy9B0fICJh/J7G3NEv38UIKQJW76nxnXy5TID9QjXcFPlnnA3mNTxiQgSXbc30DAkTuLgiWn6hwCyzwS4B/IjpxMHhEoBt+UslDevJxh6HyTwAAAAASUVORK5CYII=",wind_set5White_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_56},Symbol.toStringTag,{value:"Module"})),wind_set5White_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApklEQVR4Ae3OJUJEUQBG4Yu7VNqlksgkFsAecC24ayRRcGcJ00dXMFoGl8QuDv7c34ucv35XhD7q6aETqaxD2McJxlrs8Rpww46yDars8QDQK7zFInDAjLIpKu3xOcZa7fE4MEK3si4hIvrzLpAnoyxBnT3eA955UXZLQwTf+MdKSDLIH0w7MaSwj3Zy5JkC+siTo92WKvwNeHChCi8BBVeq8G17+gGmPdYIOOgfBgAAAABJRU5ErkJggg==",wind_set5White_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_57},Symbol.toStringTag,{value:"Module"})),wind_set5White_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAu0lEQVR4Ad3QJVAAQQBAUdyt4tqHhLtnKj2QoBfolR6vD+7uRCLuEHGHz7lbwtblrUb8TCCJfQbC0TjGgU+6gmkK08AQZ3wEcOI4AiaIpiSAi3QIeOeGcrHnx0lhFxBo4dHCO912XQHuyBfbTSa+TYf7BbaAPXIM7n1XgWi6LfzKh0o9E6+mxUANYKcmnmXdsRdEumClKn+h2or7QabrInV8o1jYsYVaght+ZpEFMRYE4VL61NhDRsQ/C1+di9n6iiswPAAAAABJRU5ErkJggg==",wind_set5White_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_58},Symbol.toStringTag,{value:"Module"})),wind_set5White_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAm0lEQVR4Ae2NtUFDURSGb0fLBugAbwMYBTZgBxagouVtgHRoPG08Xdy6uNuXE/dwO/S4/r/6ycIVh7qnJgWtY/Z5kFND79QLBHCKWniYqZ0cr5LDRCU+keFWcUgB6NIRbVKcaR2oSu7Qk1gC3IKNIefmGuMFcC7ZSnzEDzdKzc41j0fnFgzN47F8x+MzLJxKvuZO4h4vXC7u/2UARM3DDb+OdLYAAAAASUVORK5CYII=",wind_set5White_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_59},Symbol.toStringTag,{value:"Module"})),wind_set5White_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVQoz8XRIa+BcRjG4f/ZOIWZIqmSDyCaDyCcottMNZpkoiiK5iOYJL3hbKJ+0qkCSTjhPbs09X0Sd7722549Kb18eobWMpl6EZ2Cb9CL1c+4G0boHAeZZTFtyd3UbGVFtOTkXzclX4VlC6xih3Xkzj4jtOLHn3asu8EkRvs45h8R2nBx1Yx19xjE6Bi7GG25+1WL0OfPIngU/llKqmbK6U17ADGkd2nrXp+MAAAAAElFTkSuQmCC",wind_set5White_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_6},Symbol.toStringTag,{value:"Module"})),wind_set5White_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAtElEQVR4AWMgE/zf8P/g/wNgmEBYMQgc+V8PhAHEKH4NxA0QHmHF3v+fwJQTVuzwnx+svIKw4vv/DYAk//+TUOWEAZ2UbyRWue//v0DltcQodfr/7f+b/5eByquJUfr6vy7QMReByjcRoRTIUvn/7P8/PF7974hQCoygX/8jwF5dhl1xFopSPyBL9v8XoPIQ7Mo5EUrhgbgEt6tZ0ZRW4A+P3P8+CKXUjvT/oTClxCnXQeUDAI8byb8D7QZaAAAAAElFTkSuQmCC",wind_set5White_60$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_60},Symbol.toStringTag,{value:"Module"})),wind_set5White_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4AWPABf4H/A9gIA78N/j/8f///wnEKf3w/9f/vxDlhJXO/3/j/w8gSUj5/wn/+4EkUDGQnP9/A0GHwBQT68Vd/z8Rr3jD/w/DTPF/P6ACBHz+/yc+xRn/P8AgJLqp5gym/wJIcOv/j/gUV/xHBf/wKbb7PwEJ3v3/g2puVvmfgATP/f+KT3EdKW4W/e+ABCP/x6KrAABHZcDof98LnQAAAABJRU5ErkJggg==",wind_set5White_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_61},Symbol.toStringTag,{value:"Module"})),wind_set5White_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsUlEQVR4Ad3MtVUFARRF0Zsi6dSAewHkaANYF7h0ghNDBXzrYMLfAR7hcBh3i7Dz1sv2uvp/8YBfrRyPMsk8T0Bd5WFwD7RSy6wxnaI3wJ51cUw317wyF6MmFpU4iGE6JYY8HqVrsmKFlZBuWGwowiM0FTMWifJFsikrGBJzEX7LZzadAMwox6ANnCsr1mL8FouyKasyvsgnsCGrMt5rPVzIqpw/AWuqEmfAiarGtH6oL6Ozy60UyGnfAAAAAElFTkSuQmCC",wind_set5White_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_62},Symbol.toStringTag,{value:"Module"})),wind_set5White_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVQoz93RsQ1BURTH4ZNI1C9ahavSXoWCygLMYAQjvBGUCsUbwAAqRvDG0LHBpxGFRNxKwu/ffsVJTsS/Z2ChE2FqEqFrqf8e10gRWucIGesS3H4Xq8xVpTi5ah/88xnyk9tho3ZxUdvioH5uo9E4oFWFo9Jy6JlKkrEsGZoZSS/bu1mV/bhxlctodiqkv98daPHWt6AomusAAAAASUVORK5CYII=",wind_set5White_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_63},Symbol.toStringTag,{value:"Module"})),wind_set5White_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuUlEQVQoz53OMUoDARiE0QFB0MJdLLRJsLVQyA2yvXgCLxK0Fy0FD5DGC2gfbHMFMaVVKsFK0GdpFhL4yVc/hklWMjBzlkoG3v24rNOrxJ5hle6bWTrYTE96lLvN9NS33z6149b5OnzsE5MefcLj+u3GHIsefba76UrjA68FmiSGFrgu0JUzFZokDn3hJrUcmWNS5c3WXKur8ftER2X9DQ8lnGgs8FJZbnUuLKngqf/aypGRsbFRtusPGU3XP7j1MXsAAAAASUVORK5CYII=",wind_set5White_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_64},Symbol.toStringTag,{value:"Module"})),wind_set5White_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAqklEQVR4Aa3OJVpFURhG4Z3JJFwj0uiMgBngGSfvCSBDOiS03Xhd0nXHWTgc/Z9j66vvFmWNWeaZMG1AeccT1k4lXCOHNm1ZwjkM5TcqpNg1bUnCz1g7k3CJOxZNG4ztzx0aGKZtS7jPPTnTDmP7Ro4LJr427Acn+K7pB1+hv3asTMXw5wJX/nGTnB+mOf/FrKFlvALsfmLWgDUl94Ue6VipyH1QE99Vnr0Dg8/TNZEPPe4AAAAASUVORK5CYII=",wind_set5White_65$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_65},Symbol.toStringTag,{value:"Module"})),wind_set5White_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAz0lEQVR4Ad3QJUDGYBSGUdyt49LoSMQTVukJJ20NesE72uMiltZwq1jE+RUeLj7fEvZ+5cqZJvxMGOGComC0kSiwRb4/7eGBa2YB3YcLhSj1Uqk+nEYehMIyyT6cEYHX1As18wynu8aBWamSDVxBI9XpBW7YA1QTlzjRa2rJRzfxvi9SRoHhrsd0SG3kfWR94VXGPu/azSlRA1fekRELjROmVroqhNP2zjUrvmJeaJzm976KDapfqwz7H4CnL+oTAI5ZlTPhj4cYfT9dCf8uz69G5n8Ov5ImAAAAAElFTkSuQmCC",wind_set5White_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_66},Symbol.toStringTag,{value:"Module"})),wind_set5White_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAoklEQVR4AeWOJYICARSGp62UdbvALjRuAI2EpKk4JOQSWKbiEpFr4Haf+Xi4W2X/5/6UfwKccGlrBHBe1poHEph2SCUwsz5U0WZCvMtWLkVM4ZkBUCElFBFK0hKJiGYWw1h0ZvGotPdl4HnxlB2wz5+bxdBYZ1ftlzXP240XN6/BH1n+Lmxe4MrmHNrMatREWwHb8eYf9DOr40f0PQYelVvHBNnD4DsoyoD/AAAAAElFTkSuQmCC",wind_set5White_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_67},Symbol.toStringTag,{value:"Module"})),wind_set5White_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAxklEQVR4AZ3PtUEFQRDHYSJSEtxlUwogQkI8vwynAzI8pAK6oADcXUrA3Z8/fgzO+cB/7la/Pcn4Vyhn6LvKw3AdkGSVGal2DYYbTACy4W4lF4y0wjnFaLAEizRHqo/5M6efHSUXCgd0C7+gLph2vtMcGY0DcUwQbmLhnTYQ4UH1Me/0kmos4THqFVRGhhuQsdHQIxJMkOaYGm+8YqOtMuoGUmR64XyqbDSLNWDK/6tL7JSBoF/MY1tHv6OnEibVVHAxln3lFcC54tvbLSQUAAAAAElFTkSuQmCC",wind_set5White_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_68},Symbol.toStringTag,{value:"Module"})),wind_set5White_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAoUlEQVR4AWPADf47MBAL/i/4////AuKUFvyHgAWElSYAldUB8TIgnoBfqQJQScJ/AyBZANZmQNB0iGIQDeQQqRgOKFf8n/O/Ahi6EKM4HhpoT4lRrP2/AQzbqOnm/8X/G+BwBlBxJz7F//6jgnX4FEv9V4BDL6DiEqq5+dj/C3B4E6h4Lj7Fx9EUzyfDGZR78P9fUoKuBClS2v/v/x+EKg8AbS7ch9ji7bEAAAAASUVORK5CYII=",wind_set5White_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_69},Symbol.toStringTag,{value:"Module"})),wind_set5White_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAATUlEQVR4AWOgGRgF/xX+//+fQLzy+XDl/1n+CxCES6HK/9f8JxYYMPy3/T8BD5z+fzUQHgAqnU+cmxP+fyBWqQHcVMIA6D17isN/FAAA3SV5VCiNzrwAAAAASUVORK5CYII=",wind_set5White_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_7},Symbol.toStringTag,{value:"Module"})),wind_set5White_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA2ElEQVR4Ad3QtUFuMQCG4VzcGQF3d3dKHCqcCXApWYIe3QM63GUBOhrc4SX/QSK4VPc7FnliR/yvIZTSz1EqKqNf4SUMcv8BJo6Cl3Ilt1yzamGCmCDSKW1yTrlTynFoDrM2zuKafRcniQMXl+iIU3KEMDA++Mp3jcH3JD2SVIZOUhWeY4Fggzdx/EytMAwGb+ToDUowvbjL74jGb7jnRFGFe4AZnZPDmcQtyijsLqnOd5y95inxPh8DbswNvMfzOOKCrnehwa/VH/iM73FPtfha8CJD/F0eACuH54Uw9ndaAAAAAElFTkSuQmCC",wind_set5White_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_70},Symbol.toStringTag,{value:"Module"})),wind_set5White_71="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAq0lEQVR4AeWMJVREQRhGB3dJRKSX19GE90BBM9Jxj7hbx0n0Qz+Q6QX3uHe/dQXmNeTOzK/3jPkHUEyqYgb5RpBH1udqFdCmvIGHPOVbDj6X64AO5T3lYuUnTlzKlNBPha0cmPrBcSM/ckmx9c9hnQZgVstz5VblNy4UO7lmQDlwenjlSjr92DJqKGOTPjoYYoUOnXkmFWPPMB+c6efvweGJXWOHvSpwzC/GC6h/5co3fIboAAAAAElFTkSuQmCC",wind_set5White_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_71},Symbol.toStringTag,{value:"Module"})),wind_set5White_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAz0lEQVR4AZ3OJVBFURRG4Y3dihe8D9YD7i69RyoJ7QFv0HFun8Eh4dID7pCww3pyyvO3h/XX74gERzO9oosOvrnW00dKREjU0xJu6NXSR75pik5HMUG0Q4RsaiPjfWADJ4ieYciNgP8SmfXxIAr94dLyBD839MSl9nYOAZfcONT2m8AM8GEpDi5zsfkOcInjpzAjEvszy4DLso+aBN1njhm3VMddHPFGEWlqzgZDutuPcOJjyxf8fFOBRYzlX3Ex5bxhQ3Ezld71MehdufwnD5Dv7IlvX2KgAAAAAElFTkSuQmCC",wind_set5White_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_72},Symbol.toStringTag,{value:"Module"})),wind_set5White_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmElEQVR4AdXRtQHCQBgF4JuFkiojMAK0VGxBiUvJCBkhI9DjTpkG9wrn4RB3fa/97v4Twg/iyCHGaZDIB2fwU1LCE3QR5jSghFmUidZghwUYTqNK+IAztpwmdR3DMnwCP0UlvMUUNKcRy44xxdB33z1GVTvegtXCGDS/GDQYZUxh80APDBobUISo8yvOypTLt4Aq5fAQkc0dZF/a4zFGOQQAAAAASUVORK5CYII=",wind_set5White_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_73},Symbol.toStringTag,{value:"Module"})),wind_set5White_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAy0lEQVR4Ad3PISDAQBSA4QcA4kVoAHSApEGTJb2sQQEFIAIkAFAAepmeAFBAmh/gdtsAkv/q997dyR9G7NfpNA7lX6MW4HBG9ud0HLCp5obTTzjtwC1pIpR9wrGAfcBGfcKZB3ZR1GHyhOCtsEKkCJqXYvlpF2AzCMwZ3B9DwAnKCaHf4LWaVJL39oAroEXEzY2vsUGDCA2ATRJrBp98YxrTABygRIh95XchdNLkxbADXLx+Q/OAQFODFwRh3Ybm1EhQ5FH8clLk33UPAdDvNedzc8sAAAAASUVORK5CYII=",wind_set5White_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_74},Symbol.toStringTag,{value:"Module"})),wind_set5White_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnklEQVR4AWMYIeB/wv//xCot+P//fwJxShcAlXb8d4BC9/95QOzwP+x/OpifCmRBREVAphIL2hj+C/y/AGQs/T8ZCAuAcC6QNxdInwLSBWCjLoNEIQ4FKT8P1CAAdVQAUDgA4jgQH8jbgBCFKydGMUy5PRGKEYDmiv2Awv5Aev7/f2D+v//rYKKYijn+G/znAtKS/zXBfI3/knDR4Q4A7rDt+yYrT/8AAAAASUVORK5CYII=",wind_set5White_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_75},Symbol.toStringTag,{value:"Module"})),wind_set5White_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAzUlEQVQokZ3QPQ4BARDF8RcSicJHszdwApFQbuhFdOIcQqvBNRQShcoJtCoJnUpBKxqKtfavICyxTMy0v0nmPemfwX1s9jd+zsyG9+Rsb0CPwMgBlwYBBwMHXIkGHtufnNqtBap4nKgYnpFw2Bij4rAChnjsKFhoR6LOBZ+8hSaYApfIqKTf6IgaHoePUcmwoB2icYkJcIyM+kIHwPpL73Rf6JwMVXx8Sp9DtsJUoknAmWJ0L/0Qje5EkoixNFJJIkXSSO8HZTOVcBi/0ysTG/Uhaasq6AAAAABJRU5ErkJggg==",wind_set5White_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_76},Symbol.toStringTag,{value:"Module"})),wind_set5White_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkUlEQVR4AWPABf4r/FdgIA78F/j/AQgNiFN64f///38hygkrPf//7v8fQJKQ8v8LgIoE/t8AKhYAsg4QMBlEghQzEAv+H/n/hXjFG/5/wCfN9V8BCe76/xGf4pr/qOAfPsVG/xsQEOjB71RzswGayd/IdDPh0PhENTdH/7+ABD/8/41PcQy64iEX3Uv/r0NXAQBDjuPUMb9iSQAAAABJRU5ErkJggg==",wind_set5White_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_77},Symbol.toStringTag,{value:"Module"})),wind_set5White_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA30lEQVR4Ad3PtUHFQADGcdy1xG0BaHB3HYSKKZjhMQDuDe7uVuHU0PFw/xPXS0fFl+T0d5KA/xoqyRRP5BJltMcxIqI5fLCocxKooIprD/wdiA8sPJgt4MCFaaPzO/DLwiW6AkxS7cZDgM/CY+lRaDCVNkyi9EVJQOI/Or8FiQdLM5l0mLSUd9pNLt08hAtgV6LOkMwVWHgXPcAaYU5YT6lUplr4EugXcOI7Xqg2OcEMADcCKqEC/Da+C/Sa1Jtn8AjMmNSb19IDnLh+S8i/xL8l4i38cCamIp4nXeDv8gvW2vxOELHzQAAAAABJRU5ErkJggg==",wind_set5White_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_78},Symbol.toStringTag,{value:"Module"})),wind_set5White_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAhElEQVR4AWNABqPgv+7/C/9dgXTF/9P/2YH0rv/tMFFMxQ7///9PANILgLQAkP7wfwNMdBApBotMIF5xApC9gAjFaMr/Z/8nFhQw/Lf6f/v/JqC5B/7f+L8QSF/+fxRIroGKLvu/HQj3/v8JFDcgJtoEgBF0HuhEYgBMKXGK7YFKhywAALZs4vRT15OvAAAAAElFTkSuQmCC",wind_set5White_79$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_79},Symbol.toStringTag,{value:"Module"})),wind_set5White_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWOgNfjL+J+ZaMX/F/w/8Z+fWMUt////P0m88g6qKx9V/r/gvwLRyoF0AmHT+4HK7v7nB5INQC5xyolS/N8BCNcClRJW/D/gPwIUEBsuBv/tGQYXAAAv63eIsb0xtgAAAABJRU5ErkJggg==",wind_set5White_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_8},Symbol.toStringTag,{value:"Module"})),wind_set5White_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA20lEQVR4AZ3QJVBGQRSG4cUdEp0+uBbcCt7jrWRcep/BpSGVPlgl0v8+uDu8XHf/Tll5VoUztFEh4oVRvtiPT6+pSUSp4ZCKuPRabrcE02W+HXRUbpVT4o+/+UNy0EouOffHw9zxhuSgMB10kRqZ//FtozNyK58F36cywi+f9DroETAZtPs172QcdPUvK/gyn8CmRX9lGhgmeOaNwQjquMwPMv2RaWTo5Zdv+kS80ME1b/Sq7Qfqoy9zp/86dAcgB3/nl9Eo7OAxMN2cynUBcXA9y3LtciJXlUiTf11y8uZEdlwVAAAAAElFTkSuQmCC",wind_set5White_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_80},Symbol.toStringTag,{value:"Module"})),wind_set5White_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVR4AWNAB//j/8f952cgDvz/8P/c/1f/0/8zEasYBC78tydOMQys/q9AWDECfPqvR6zibf/ViTP5xn9PotwMxAX/WYkLjT3/RYkP5w1wzqjiL/+PEKNMAEz++H+DGMUHgMlSAKT4vwCQtQC/YoP/7/9vACq++/8CkGUAFCKo/N//5XClhJUjlBJWroA7dwAAzRqnOeZQvR0AAAAASUVORK5CYII=",wind_set5White_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_81},Symbol.toStringTag,{value:"Module"})),wind_set5White_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVR4AWMYOPBfjnilmf///Y8iVun///f+XyJe6XcgKUusUhBIJE4pBCwjRikMvPrHiE/p5f91/w/8/wVXro9PqSiYzf3f638fkPf/fwkepWiiEv9NEJyA/w4oSvEBoOsagGQRTClBxWClb0BKCSveB1T6DqSUsOKDQKXfQS7/r0CMyTDwnrBigf/2QDOHCgAAmR+tZ2HY7AgAAAAASUVORK5CYII=",wind_set5White_82$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_82},Symbol.toStringTag,{value:"Module"})),wind_set5White_83="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAh0lEQVR4AWPABKPgf8L/A/8FiFX6//984pWW/FcgCDkY/gf8JxbEMfwX+H8eyFj/fz4QTvjfgATn/D+BAl0ZGCDKL2B67z/3/6dI5p75zwQUhCnH4ptYJMVWIBGYcntMxX8ZgZZDwHJiQsocrPTbfxniAnYRUHE9sXEr9f/af07ik4LgUE7IAMTKterSeZ3TAAAAAElFTkSuQmCC",wind_set5White_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_83},Symbol.toStringTag,{value:"Module"})),wind_set5White_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlklEQVR4Ac3MJXADURhF4X/qxdaWyRd9602ZVdDb+PU23ob9TMAmXsaF0UVuTjiteVDuufabKz8dDhfzOWZc4C3HBg9xOWfH5rnIAAgZ4BwXOJjyVzPOUBDhgCqekXPElYg1n/fveNOas0ufliUnDNacOFhyVujBO/6gw2cAS17Hr8OROfQo4XIqushRJsoNq2KOdfl6I2UPswMYIZrsAAAAAElFTkSuQmCC",wind_set5White_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_84},Symbol.toStringTag,{value:"Module"})),wind_set5White_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfElEQVR4Ae3Qpx3CYBCG8aP5KDQjfBMwAFPE09kGFQZggMyAwjJFWIDfH4WhplgefW+7eI8ki3rIcZbVPVXrXI4CJ5XDr2OKCJSSyiZ+gzLCJOqAY9SFR9//sVTz2NjercaxkZ0r/Dw2c4EaxzYAXZzrd67/jXpIFqbxwh0Mq6idVxfFNwAAAABJRU5ErkJggg==",wind_set5White_85$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_85},Symbol.toStringTag,{value:"Module"})),wind_set5White_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAk0lEQVR4Ad3KJaJCQRhA4WlPd/AWwgaodBrsgEbEtSCNCNvAN4DLGsi4H/6Ew0xC3rnj91P/LarIRwvw6bELLyFGQFXp45s+MMBnSpNU8elpGaFyEmxCY0oii/Pw4+cePYscdeJY+dRRCQcAMKOAG8ttKvHHoQ29A70aPVMqkTalEjZTKvHLXEsPkTGlEt/Y1dPaAZtyqh9LaI7tAAAAAElFTkSuQmCC",wind_set5White_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_86},Symbol.toStringTag,{value:"Module"})),wind_set5White_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgElEQVR4AWMYyuAPI9FK/7P/X0q08v/l////jyNOqcT/T0DFz/7zEKN43n8IaCOs1OT/P6jiH/8VMWQVgOIJUM5fxv9H/yPAWiyGJQDFJ0CYPv/voMD4/w4YsAOofAFIcf1/YoEDw3/t/wUE4TKg0vmE/I5wcz9xSg3AoYEBRgEAfUuxbCA4NksAAAAASUVORK5CYII=",wind_set5White_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_87},Symbol.toStringTag,{value:"Module"})),wind_set5White_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAjklEQVR4AWOgF/gv9j/q//z/8/Er4vrv/r/n/8X/EFCBT6nT/0P/kYExPsUTgQrOw5W+/c+ETzHz/6VIylchZAgrT0WIE1auCOQSqfzof2Ygh2jlSweh8v8K/wWIVv7/wP8G4kw/DqTBigkr3wZWfhChmLDyn3gVQ731Aajw4v9PQJIIZ8T/r4dCA9pnOgCy/rlNo0LJdQAAAABJRU5ErkJggg==",wind_set5White_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_88},Symbol.toStringTag,{value:"Module"})),wind_set5White_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAo0lEQVR4Ac3TJUCEMQDF8WEJWy84JKQXMr1DpNLpnZ5IuCUSDvGsnV8/d0n3P3fkRd63Lf3m+8xwOGCfeaOFDC5iHDKuYgAPuzoGuGZRx5BjS8WPbGgj+9jT1pzhiCntNJ5ZxWKZUbCTViIKfuWk+R0r+MEI+Ve4wJfCbLOt4FPwGx5sA2PxcPo73iHNQx2H8ZBmx5i/eZXzDhW4SBth8ee/owZa77icLm57wwAAAABJRU5ErkJggg==",wind_set5White_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_89},Symbol.toStringTag,{value:"Module"})),wind_set5White_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAVklEQVR4AWPABv5v/l/AQCz4////ArorHlU8qvgIMcoS/huAFV8AkgZANl7FE/5/ACoCKv5vAGRNIGT2/v8fgIpfAMn5hB0i8P/8fyCAKyWsHKiUUgAAViFnalMQC9wAAAAASUVORK5CYII=",wind_set5White_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_9},Symbol.toStringTag,{value:"Module"})),wind_set5White_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAq0lEQVQoz83QoQ6CYBSG4c+KQYubReYdWOySTWSbwWBlZmdyJC/Dy2BwCxIMbl6AcxrZDLwm0OCPp+kbz5594Ug/C99Ol5TMrBTOHOy0AAZ2CnM7hb2dwqVsNdEja1IeNR+56YmCWKLNlB05sHLRHJ8EiOtrn/GLhARvtCfhkQCLT3spG4moopKEx5aOAxMB14o2vSolAW4GKpEBBSEBQ8ty1f077jIxbP5LT8XPvusxvoBvAAAAAElFTkSuQmCC",wind_set5White_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_90},Symbol.toStringTag,{value:"Module"})),wind_set5White_91="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlElEQVR4AWPABKPgf8L/A/8FiFX6//984pWW/FcgCDkY/gf8JxbEMfwX+H8eyFj/fz4QTvjfAIWr/h/9P+f/CRToysAAUX4B1Xv/FwAN4P7/FMncM/+ZgBIw5eiKgWQskmIrkDhMuT2m4r+MQMshYDm+EEqCSP83Byv99l+GuIBdBFRcT2zcSv2/9p+T+KQgOJQTMgChA8Q3pbP4gAAAAABJRU5ErkJggg==",wind_set5White_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_91},Symbol.toStringTag,{value:"Module"})),wind_set5White_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArklEQVQoz73OIU7CYRyA4R+BQnKzsvkPNOcV5DuBw+zmFQhewMEdgGMQzEC0EwxWhrNQ0CDCHgMBEt9X8M1PeCPOnMrYzMzYs5TDCcxNTXVK8MbOXclGwoPvIi4haVn7zXIVqggtC5uimYiz8xsfhVzDxMqygGuYYKjvM8uNMNzWvFpluaanbc2FHQU8IsK9fSXcgCP+4/IUfnfozeMpegW+vOi6zh239dyqx7/1B22mxQHHq39LAAAAAElFTkSuQmCC",wind_set5White_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_92},Symbol.toStringTag,{value:"Module"})),wind_set5White_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAl0lEQVR4AdXOITAAQRSA4S2gAVR9BnrSI00BXY/X0yUAQNMHAIB2erners+YDzYBXvVv/fa9l75Pp9EUS6cnTMcpjEVo5RD7mj+OUah02sKgTU3glIxTLKU4VvwfbE75/vYi+ETuLoI7dOo0YDV4swm1xwA27BL+xPoseSaA9auB6ORFebLozRdBnDOuDuGcdpPmtaZPvQDeFcX00CIq5AAAAABJRU5ErkJggg==",wind_set5White_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_93},Symbol.toStringTag,{value:"Module"})),wind_set5White_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArUlEQVR4AdXKJVQGURBAYbRCP7hXEgXthc5mMk7CoRd63Iz1g9MT/eD8ijtc1l0mIbe8eTNfyT+KRglyW0/HnfQzxJsIa7yVR744ZkFKFXYiMbXMUu7QMz4Z1qYYvAKolDtUMbajDLiki2prKkc1eIdLA7HKB0cs0kulwQtcxlAND2J3zxaTXMRSDVfx4fAC1w6N4YdiquFFMdVwj5hquIJTITX4tJgavLnk1/oGUArARNtj6q0AAAAASUVORK5CYII=",wind_set5White_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_94},Symbol.toStringTag,{value:"Module"})),wind_set5White_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnUlEQVR4Ae3KJUCDURhG4Q93yaQ/UpBe6AmpaC9Iwh16ICId6STcvQd0q3O3M3e7EXvecuXIT0aTqPKVcEm7qGEAOFZL69AD0Be5rTNRKF4l6o1qEd45kRT00Jy8aDiJm8qOeeYlkbNHko2WrLg5kmsiQit3advmkAPGYptiI7QtHJjpFLpQNSaU00Fnkc0DO6KCEWBB1GBkRLL8CwJUVsMen8hRAQAAAABJRU5ErkJggg==",wind_set5White_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_95},Symbol.toStringTag,{value:"Module"})),wind_set5White_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArElEQVR4AWOgGPwX+s9MWBHHf6f/bf/P/H/+jxGfMqX/Jf93/v/2HwKW4lNq/f/5/yf/ESABn2IroJmfkZTL4HetE5Lya2ARFuKUTwLyMv+//K9KjHK//5lALXf+SxPjmDqQUpi7CSvfh1BKWPnH/+ZAJo2V/zf4H0Cc212ArIb/B4gx/ff/P/9dYIoJK/8DhCuIMVnhvwNY+UtiFD+ApSpiFAv8t4dCBQaaAwC/1sWjRnx5iAAAAABJRU5ErkJggg==",wind_set5White_96$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_96},Symbol.toStringTag,{value:"Module"})),wind_set5White_97="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4Ac3RIQKBMRxA8UHUXADQvkO4wXcBOIEzaOqS7AJQQRNBgRNoQAF4AAD+mrf627Zt6jEC+JU0BtQoY8jwiDqwIolTivcNiWGX4n1tDCnuEVlbJHhGAofszBncsteoEFSyWO5482ZEf8Hhz8fIKUF/hScU5HhGV8Jy6DNGE/+Mo4DeY1KAqdR3vmIBp38T8D2Vhfn+AFveqL20TQsj2gAAAABJRU5ErkJggg==",wind_set5White_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_97},Symbol.toStringTag,{value:"Module"})),wind_set5White_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAtElEQVR4AdXOJXBDQRRA0XUFU/BT9mUyZVvmVtZ72ap60bB3sfE/Pl6EyU+YkxumzzK9696c3bfiX8QhQbbN0jRZPOZpkjrzZinAvXkKFj16PEqBgDb9pEEeNwWGLWt9IEuDKjdMc8EvPhrAl9Zf0zySpMJNb7bIMy9DssXWCD0Ugo0hl4XEzyhtJeMyzCEVqj06yg+U2EWFGley+QYOZuXYS0NONUOCXlFjfMY3p52zJSa/JtDOzIaZAJ3IAAAAAElFTkSuQmCC",wind_set5White_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_98},Symbol.toStringTag,{value:"Module"})),wind_set5White_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4Ae3OJUJFYQAF4XMjTsa2gMsSaBDxfeCsBNsIbgXPuCWc9/DBrnvE5tTvFwX7jypGKE5LL1lLT8fS0iteuf/cLZfm7nnh0reWD3wBHLL7vnWmzZ0BK2x71ip98XF5YhyoIIPTMflSkJtYYgSnHvfPh4OYXA5MuowhTwEs0W7iJikRvxjMA5NSCixRyzWl8biZPplRrR/cG/Dlv3E0Kf6tAAAAAElFTkSuQmCC",wind_set5White_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_99},Symbol.toStringTag,{value:"Module"}))});export default _o(); + */(function(t,r){(function(o,a){a(r)})(commonjsGlobal$1,function(o){var a="1.9.4";function u(Y){var q,fe,Ie,Me;for(fe=1,Ie=arguments.length;fe0?Math.floor(Y):Math.ceil(Y)};J.prototype={clone:function(){return new J(this.x,this.y)},add:function(Y){return this.clone()._add(te(Y))},_add:function(Y){return this.x+=Y.x,this.y+=Y.y,this},subtract:function(Y){return this.clone()._subtract(te(Y))},_subtract:function(Y){return this.x-=Y.x,this.y-=Y.y,this},divideBy:function(Y){return this.clone()._divideBy(Y)},_divideBy:function(Y){return this.x/=Y,this.y/=Y,this},multiplyBy:function(Y){return this.clone()._multiplyBy(Y)},_multiplyBy:function(Y){return this.x*=Y,this.y*=Y,this},scaleBy:function(Y){return new J(this.x*Y.x,this.y*Y.y)},unscaleBy:function(Y){return new J(this.x/Y.x,this.y/Y.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ne(this.x),this.y=ne(this.y),this},distanceTo:function(Y){Y=te(Y);var q=Y.x-this.x,fe=Y.y-this.y;return Math.sqrt(q*q+fe*fe)},equals:function(Y){return Y=te(Y),Y.x===this.x&&Y.y===this.y},contains:function(Y){return Y=te(Y),Math.abs(Y.x)<=Math.abs(this.x)&&Math.abs(Y.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function te(Y,q,fe){return Y instanceof J?Y:O(Y)?new J(Y[0],Y[1]):Y==null?Y:typeof Y=="object"&&"x"in Y&&"y"in Y?new J(Y.x,Y.y):new J(Y,q,fe)}function ce(Y,q){if(!!Y)for(var fe=q?[Y,q]:Y,Ie=0,Me=fe.length;Ie=this.min.x&&fe.x<=this.max.x&&q.y>=this.min.y&&fe.y<=this.max.y},intersects:function(Y){Y=se(Y);var q=this.min,fe=this.max,Ie=Y.min,Me=Y.max,$e=Me.x>=q.x&&Ie.x<=fe.x,Ke=Me.y>=q.y&&Ie.y<=fe.y;return $e&&Ke},overlaps:function(Y){Y=se(Y);var q=this.min,fe=this.max,Ie=Y.min,Me=Y.max,$e=Me.x>q.x&&Ie.xq.y&&Ie.y=q.lat&&Me.lat<=fe.lat&&Ie.lng>=q.lng&&Me.lng<=fe.lng},intersects:function(Y){Y=he(Y);var q=this._southWest,fe=this._northEast,Ie=Y.getSouthWest(),Me=Y.getNorthEast(),$e=Me.lat>=q.lat&&Ie.lat<=fe.lat,Ke=Me.lng>=q.lng&&Ie.lng<=fe.lng;return $e&&Ke},overlaps:function(Y){Y=he(Y);var q=this._southWest,fe=this._northEast,Ie=Y.getSouthWest(),Me=Y.getNorthEast(),$e=Me.lat>q.lat&&Ie.latq.lng&&Ie.lng1,Je=function(){var Y=!1;try{var q=Object.defineProperty({},"passive",{get:function(){Y=!0}});window.addEventListener("testPassiveEventSupport",_,q),window.removeEventListener("testPassiveEventSupport",_,q)}catch(fe){}return Y}(),st=function(){return!!document.createElement("canvas").getContext}(),At=!!(document.createElementNS&&Ee("svg").createSVGRect),bt=!!At&&function(){var Y=document.createElement("div");return Y.innerHTML="",(Y.firstChild&&Y.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Le=!At&&function(){try{var Y=document.createElement("div");Y.innerHTML='';var q=Y.firstChild;return q.style.behavior="url(#default#VML)",q&&typeof q.adj=="object"}catch(fe){return!1}}(),Fe=navigator.platform.indexOf("Mac")===0,it=navigator.platform.indexOf("Linux")===0;function It(Y){return navigator.userAgent.toLowerCase().indexOf(Y)>=0}var Ne={ie:ue,ielt9:be,edge:ie,webkit:oe,android:me,android23:Se,androidStock:De,opera:Pe,chrome:Be,gecko:ot,safari:ct,phantom:_t,opera12:He,win:Ve,ie3d:ke,webkit3d:Qe,gecko3d:yt,any3d:Ct,mobile:Xe,mobileWebkit:dt,mobileWebkit3d:Re,msPointer:Ye,pointer:at,touch:St,touchNative:mt,mobileOpera:Rt,mobileGecko:Oe,retina:We,passiveEvents:Je,canvas:st,svg:At,vml:Le,inlineSvg:bt,mac:Fe,linux:it},Ge=Ne.msPointer?"MSPointerDown":"pointerdown",ze=Ne.msPointer?"MSPointerMove":"pointermove",et=Ne.msPointer?"MSPointerUp":"pointerup",nt=Ne.msPointer?"MSPointerCancel":"pointercancel",Bt={touchstart:Ge,touchmove:ze,touchend:et,touchcancel:nt},Wt={touchstart:Ot,touchmove:kt,touchend:kt,touchcancel:kt},jt={},qt=!1;function dn(Y,q,fe){return q==="touchstart"&&Ue(),Wt[q]?(fe=Wt[q].bind(this,fe),Y.addEventListener(Bt[q],fe,!1),fe):(console.warn("wrong event specified:",q),_)}function Qt(Y,q,fe){if(!Bt[q]){console.warn("wrong event specified:",q);return}Y.removeEventListener(Bt[q],fe,!1)}function an(Y){jt[Y.pointerId]=Y}function ln(Y){jt[Y.pointerId]&&(jt[Y.pointerId]=Y)}function Ht(Y){delete jt[Y.pointerId]}function Ue(){qt||(document.addEventListener(Ge,an,!0),document.addEventListener(ze,ln,!0),document.addEventListener(et,Ht,!0),document.addEventListener(nt,Ht,!0),qt=!0)}function kt(Y,q){if(q.pointerType!==(q.MSPOINTER_TYPE_MOUSE||"mouse")){q.touches=[];for(var fe in jt)q.touches.push(jt[fe]);q.changedTouches=[q],Y(q)}}function Ot(Y,q){q.MSPOINTER_TYPE_TOUCH&&q.pointerType===q.MSPOINTER_TYPE_TOUCH&&sn(q),kt(Y,q)}function Ft(Y){var q={},fe,Ie;for(Ie in Y)fe=Y[Ie],q[Ie]=fe&&fe.bind?fe.bind(Y):fe;return Y=q,q.type="dblclick",q.detail=2,q.isTrusted=!1,q._simulated=!0,q}var Jt=200;function Xt(Y,q){Y.addEventListener("dblclick",q);var fe=0,Ie;function Me($e){if($e.detail!==1){Ie=$e.detail;return}if(!($e.pointerType==="mouse"||$e.sourceCapabilities&&!$e.sourceCapabilities.firesTouchEvents)){var Ke=Rn($e);if(!(Ke.some(function(vt){return vt instanceof HTMLLabelElement&&vt.attributes.for})&&!Ke.some(function(vt){return vt instanceof HTMLInputElement||vt instanceof HTMLSelectElement}))){var ht=Date.now();ht-fe<=Jt?(Ie++,Ie===2&&q(Ft($e))):Ie=1,fe=ht}}}return Y.addEventListener("click",Me),{dblclick:q,simDblclick:Me}}function cn(Y,q){Y.removeEventListener("dblclick",q.dblclick),Y.removeEventListener("click",q.simDblclick)}var rn=ii(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),mn=ii(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Tn=mn==="webkitTransition"||mn==="OTransition"?mn+"End":"transitionend";function Pn(Y){return typeof Y=="string"?document.getElementById(Y):Y}function wn(Y,q){var fe=Y.style[q]||Y.currentStyle&&Y.currentStyle[q];if((!fe||fe==="auto")&&document.defaultView){var Ie=document.defaultView.getComputedStyle(Y,null);fe=Ie?Ie[q]:null}return fe==="auto"?null:fe}function Kt(Y,q,fe){var Ie=document.createElement(Y);return Ie.className=q||"",fe&&fe.appendChild(Ie),Ie}function un(Y){var q=Y.parentNode;q&&q.removeChild(Y)}function Mn(Y){for(;Y.firstChild;)Y.removeChild(Y.firstChild)}function xn(Y){var q=Y.parentNode;q&&q.lastChild!==Y&&q.appendChild(Y)}function On(Y){var q=Y.parentNode;q&&q.firstChild!==Y&&q.insertBefore(Y,q.firstChild)}function Vn(Y,q){if(Y.classList!==void 0)return Y.classList.contains(q);var fe=ni(Y);return fe.length>0&&new RegExp("(^|\\s)"+q+"(\\s|$)").test(fe)}function Yt(Y,q){if(Y.classList!==void 0)for(var fe=C(q),Ie=0,Me=fe.length;Ie0?2*window.devicePixelRatio:1;function bn(Y){return Ne.edge?Y.wheelDeltaY/2:Y.deltaY&&Y.deltaMode===0?-Y.deltaY/vn:Y.deltaY&&Y.deltaMode===1?-Y.deltaY*20:Y.deltaY&&Y.deltaMode===2?-Y.deltaY*60:Y.deltaX||Y.deltaZ?0:Y.wheelDelta?(Y.wheelDeltaY||Y.wheelDelta)/2:Y.detail&&Math.abs(Y.detail)<32765?-Y.detail*20:Y.detail?Y.detail/-32765*60:0}function ri(Y,q){var fe=q.relatedTarget;if(!fe)return!0;try{for(;fe&&fe!==Y;)fe=fe.parentNode}catch(Ie){return!1}return fe!==Y}var gi={__proto__:null,on:wt,off:Tt,stopPropagation:Ut,disableScrollPropagation:gn,disableClickPropagation:pn,preventDefault:sn,stop:yn,getPropagationPath:Rn,getMousePosition:kn,getWheelDelta:bn,isExternalTarget:ri,addListener:wt,removeListener:Tt},oi=X.extend({run:function(Y,q,fe,Ie){this.stop(),this._el=Y,this._inProgress=!0,this._duration=fe||.25,this._easeOutPower=1/Math.max(Ie||.5,.2),this._startPos=$n(Y),this._offset=q.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){!this._inProgress||(this._step(!0),this._complete())},_animate:function(){this._animId=Z(this._animate,this),this._step()},_step:function(Y){var q=+new Date-this._startTime,fe=this._duration*1e3;qthis.options.maxZoom)?this.setZoom(Y):this},panInsideBounds:function(Y,q){this._enforcingBounds=!0;var fe=this.getCenter(),Ie=this._limitCenter(fe,this._zoom,he(Y));return fe.equals(Ie)||this.panTo(Ie,q),this._enforcingBounds=!1,this},panInside:function(Y,q){q=q||{};var fe=te(q.paddingTopLeft||q.padding||[0,0]),Ie=te(q.paddingBottomRight||q.padding||[0,0]),Me=this.project(this.getCenter()),$e=this.project(Y),Ke=this.getPixelBounds(),ht=se([Ke.min.add(fe),Ke.max.subtract(Ie)]),vt=ht.getSize();if(!ht.contains($e)){this._enforcingBounds=!0;var Mt=$e.subtract(ht.getCenter()),zt=ht.extend($e).getSize().subtract(vt);Me.x+=Mt.x<0?-zt.x:zt.x,Me.y+=Mt.y<0?-zt.y:zt.y,this.panTo(this.unproject(Me),q),this._enforcingBounds=!1}return this},invalidateSize:function(Y){if(!this._loaded)return this;Y=u({animate:!1,pan:!0},Y===!0?{animate:!0}:Y);var q=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var fe=this.getSize(),Ie=q.divideBy(2).round(),Me=fe.divideBy(2).round(),$e=Ie.subtract(Me);return!$e.x&&!$e.y?this:(Y.animate&&Y.pan?this.panBy($e):(Y.pan&&this._rawPanBy($e),this.fire("move"),Y.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(g(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:q,newSize:fe}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(Y){if(Y=this._locateOptions=u({timeout:1e4,watch:!1},Y),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var q=g(this._handleGeolocationResponse,this),fe=g(this._handleGeolocationError,this);return Y.watch?this._locationWatchId=navigator.geolocation.watchPosition(q,fe,Y):navigator.geolocation.getCurrentPosition(q,fe,Y),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(Y){if(!!this._container._leaflet_id){var q=Y.code,fe=Y.message||(q===1?"permission denied":q===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:q,message:"Geolocation error: "+fe+"."})}},_handleGeolocationResponse:function(Y){if(!!this._container._leaflet_id){var q=Y.coords.latitude,fe=Y.coords.longitude,Ie=new ye(q,fe),Me=Ie.toBounds(Y.coords.accuracy*2),$e=this._locateOptions;if($e.setView){var Ke=this.getBoundsZoom(Me);this.setView(Ie,$e.maxZoom?Math.min(Ke,$e.maxZoom):Ke)}var ht={latlng:Ie,bounds:Me,timestamp:Y.timestamp};for(var vt in Y.coords)typeof Y.coords[vt]=="number"&&(ht[vt]=Y.coords[vt]);this.fire("locationfound",ht)}},addHandler:function(Y,q){if(!q)return this;var fe=this[Y]=new q(this);return this._handlers.push(fe),this.options[Y]&&fe.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(q){this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),un(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(H(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var Y;for(Y in this._layers)this._layers[Y].remove();for(Y in this._panes)un(this._panes[Y]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(Y,q){var fe="leaflet-pane"+(Y?" leaflet-"+Y.replace("Pane","")+"-pane":""),Ie=Kt("div",fe,q||this._mapPane);return Y&&(this._panes[Y]=Ie),Ie},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var Y=this.getPixelBounds(),q=this.unproject(Y.getBottomLeft()),fe=this.unproject(Y.getTopRight());return new ge(q,fe)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(Y,q,fe){Y=he(Y),fe=te(fe||[0,0]);var Ie=this.getZoom()||0,Me=this.getMinZoom(),$e=this.getMaxZoom(),Ke=Y.getNorthWest(),ht=Y.getSouthEast(),vt=this.getSize().subtract(fe),Mt=se(this.project(ht,Ie),this.project(Ke,Ie)).getSize(),zt=Ne.any3d?this.options.zoomSnap:1,Zt=vt.x/Mt.x,nn=vt.y/Mt.y,En=q?Math.max(Zt,nn):Math.min(Zt,nn);return Ie=this.getScaleZoom(En,Ie),zt&&(Ie=Math.round(Ie/(zt/100))*(zt/100),Ie=q?Math.ceil(Ie/zt)*zt:Math.floor(Ie/zt)*zt),Math.max(Me,Math.min($e,Ie))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new J(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(Y,q){var fe=this._getTopLeftPoint(Y,q);return new ce(fe,fe.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(Y){return this.options.crs.getProjectedBounds(Y===void 0?this.getZoom():Y)},getPane:function(Y){return typeof Y=="string"?this._panes[Y]:Y},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(Y,q){var fe=this.options.crs;return q=q===void 0?this._zoom:q,fe.scale(Y)/fe.scale(q)},getScaleZoom:function(Y,q){var fe=this.options.crs;q=q===void 0?this._zoom:q;var Ie=fe.zoom(Y*fe.scale(q));return isNaN(Ie)?1/0:Ie},project:function(Y,q){return q=q===void 0?this._zoom:q,this.options.crs.latLngToPoint(ee(Y),q)},unproject:function(Y,q){return q=q===void 0?this._zoom:q,this.options.crs.pointToLatLng(te(Y),q)},layerPointToLatLng:function(Y){var q=te(Y).add(this.getPixelOrigin());return this.unproject(q)},latLngToLayerPoint:function(Y){var q=this.project(ee(Y))._round();return q._subtract(this.getPixelOrigin())},wrapLatLng:function(Y){return this.options.crs.wrapLatLng(ee(Y))},wrapLatLngBounds:function(Y){return this.options.crs.wrapLatLngBounds(he(Y))},distance:function(Y,q){return this.options.crs.distance(ee(Y),ee(q))},containerPointToLayerPoint:function(Y){return te(Y).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(Y){return te(Y).add(this._getMapPanePos())},containerPointToLatLng:function(Y){var q=this.containerPointToLayerPoint(te(Y));return this.layerPointToLatLng(q)},latLngToContainerPoint:function(Y){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ee(Y)))},mouseEventToContainerPoint:function(Y){return kn(Y,this._container)},mouseEventToLayerPoint:function(Y){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(Y))},mouseEventToLatLng:function(Y){return this.layerPointToLatLng(this.mouseEventToLayerPoint(Y))},_initContainer:function(Y){var q=this._container=Pn(Y);if(q){if(q._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");wt(q,"scroll",this._onScroll,this),this._containerId=y(q)},_initLayout:function(){var Y=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ne.any3d,Yt(Y,"leaflet-container"+(Ne.touch?" leaflet-touch":"")+(Ne.retina?" leaflet-retina":"")+(Ne.ielt9?" leaflet-oldie":"")+(Ne.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var q=wn(Y,"position");q!=="absolute"&&q!=="relative"&&q!=="fixed"&&q!=="sticky"&&(Y.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var Y=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),An(this._mapPane,new J(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Yt(Y.markerPane,"leaflet-zoom-hide"),Yt(Y.shadowPane,"leaflet-zoom-hide"))},_resetView:function(Y,q,fe){An(this._mapPane,new J(0,0));var Ie=!this._loaded;this._loaded=!0,q=this._limitZoom(q),this.fire("viewprereset");var Me=this._zoom!==q;this._moveStart(Me,fe)._move(Y,q)._moveEnd(Me),this.fire("viewreset"),Ie&&this.fire("load")},_moveStart:function(Y,q){return Y&&this.fire("zoomstart"),q||this.fire("movestart"),this},_move:function(Y,q,fe,Ie){q===void 0&&(q=this._zoom);var Me=this._zoom!==q;return this._zoom=q,this._lastCenter=Y,this._pixelOrigin=this._getNewPixelOrigin(Y),Ie?fe&&fe.pinch&&this.fire("zoom",fe):((Me||fe&&fe.pinch)&&this.fire("zoom",fe),this.fire("move",fe)),this},_moveEnd:function(Y){return Y&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return H(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(Y){An(this._mapPane,this._getMapPanePos().subtract(Y))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(Y){this._targets={},this._targets[y(this._container)]=this;var q=Y?Tt:wt;q(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&q(window,"resize",this._onResize,this),Ne.any3d&&this.options.transform3DLimit&&(Y?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){H(this._resizeRequest),this._resizeRequest=Z(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var Y=this._getMapPanePos();Math.max(Math.abs(Y.x),Math.abs(Y.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(Y,q){for(var fe=[],Ie,Me=q==="mouseout"||q==="mouseover",$e=Y.target||Y.srcElement,Ke=!1;$e;){if(Ie=this._targets[y($e)],Ie&&(q==="click"||q==="preclick")&&this._draggableMoved(Ie)){Ke=!0;break}if(Ie&&Ie.listens(q,!0)&&(Me&&!ri($e,Y)||(fe.push(Ie),Me))||$e===this._container)break;$e=$e.parentNode}return!fe.length&&!Ke&&!Me&&this.listens(q,!0)&&(fe=[this]),fe},_isClickDisabled:function(Y){for(;Y&&Y!==this._container;){if(Y._leaflet_disable_click)return!0;Y=Y.parentNode}},_handleDOMEvent:function(Y){var q=Y.target||Y.srcElement;if(!(!this._loaded||q._leaflet_disable_events||Y.type==="click"&&this._isClickDisabled(q))){var fe=Y.type;fe==="mousedown"&&ut(q),this._fireDOMEvent(Y,fe)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(Y,q,fe){if(Y.type==="click"){var Ie=u({},Y);Ie.type="preclick",this._fireDOMEvent(Ie,Ie.type,fe)}var Me=this._findEventTargets(Y,q);if(fe){for(var $e=[],Ke=0;Ke0?Math.round(Y-q)/2:Math.max(0,Math.ceil(Y))-Math.max(0,Math.floor(q))},_limitZoom:function(Y){var q=this.getMinZoom(),fe=this.getMaxZoom(),Ie=Ne.any3d?this.options.zoomSnap:1;return Ie&&(Y=Math.round(Y/Ie)*Ie),Math.max(q,Math.min(fe,Y))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){hn(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(Y,q){var fe=this._getCenterOffset(Y)._trunc();return(q&&q.animate)!==!0&&!this.getSize().contains(fe)?!1:(this.panBy(fe,q),!0)},_createAnimProxy:function(){var Y=this._proxy=Kt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(Y),this.on("zoomanim",function(q){var fe=rn,Ie=this._proxy.style[fe];jn(this._proxy,this.project(q.center,q.zoom),this.getZoomScale(q.zoom,1)),Ie===this._proxy.style[fe]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){un(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var Y=this.getCenter(),q=this.getZoom();jn(this._proxy,this.project(Y,q),this.getZoomScale(q,1))},_catchTransitionEnd:function(Y){this._animatingZoom&&Y.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(Y,q,fe){if(this._animatingZoom)return!0;if(fe=fe||{},!this._zoomAnimated||fe.animate===!1||this._nothingToAnimate()||Math.abs(q-this._zoom)>this.options.zoomAnimationThreshold)return!1;var Ie=this.getZoomScale(q),Me=this._getCenterOffset(Y)._divideBy(1-1/Ie);return fe.animate!==!0&&!this.getSize().contains(Me)?!1:(Z(function(){this._moveStart(!0,fe.noMoveStart||!1)._animateZoom(Y,q,!0)},this),!0)},_animateZoom:function(Y,q,fe,Ie){!this._mapPane||(fe&&(this._animatingZoom=!0,this._animateToCenter=Y,this._animateToZoom=q,Yt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:Y,zoom:q,noUpdate:Ie}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(g(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){!this._animatingZoom||(this._mapPane&&hn(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function qn(Y,q){return new tn(Y,q)}var In=z.extend({options:{position:"topright"},initialize:function(Y){T(this,Y)},getPosition:function(){return this.options.position},setPosition:function(Y){var q=this._map;return q&&q.removeControl(this),this.options.position=Y,q&&q.addControl(this),this},getContainer:function(){return this._container},addTo:function(Y){this.remove(),this._map=Y;var q=this._container=this.onAdd(Y),fe=this.getPosition(),Ie=Y._controlCorners[fe];return Yt(q,"leaflet-control"),fe.indexOf("bottom")!==-1?Ie.insertBefore(q,Ie.firstChild):Ie.appendChild(q),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(un(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(Y){this._map&&Y&&Y.screenX>0&&Y.screenY>0&&this._map.getContainer().focus()}}),Gn=function(Y){return new In(Y)};tn.include({addControl:function(Y){return Y.addTo(this),this},removeControl:function(Y){return Y.remove(),this},_initControlPos:function(){var Y=this._controlCorners={},q="leaflet-",fe=this._controlContainer=Kt("div",q+"control-container",this._container);function Ie(Me,$e){var Ke=q+Me+" "+q+$e;Y[Me+$e]=Kt("div",Ke,fe)}Ie("top","left"),Ie("top","right"),Ie("bottom","left"),Ie("bottom","right")},_clearControlPos:function(){for(var Y in this._controlCorners)un(this._controlCorners[Y]);un(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var si=In.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(Y,q,fe,Ie){return fe1,this._baseLayersList.style.display=Y?"":"none"),this._separator.style.display=q&&Y?"":"none",this},_onLayerChange:function(Y){this._handlingClick||this._update();var q=this._getLayer(y(Y.target)),fe=q.overlay?Y.type==="add"?"overlayadd":"overlayremove":Y.type==="add"?"baselayerchange":null;fe&&this._map.fire(fe,q)},_createRadioElement:function(Y,q){var fe='",Ie=document.createElement("div");return Ie.innerHTML=fe,Ie.firstChild},_addItem:function(Y){var q=document.createElement("label"),fe=this._map.hasLayer(Y.layer),Ie;Y.overlay?(Ie=document.createElement("input"),Ie.type="checkbox",Ie.className="leaflet-control-layers-selector",Ie.defaultChecked=fe):Ie=this._createRadioElement("leaflet-base-layers_"+y(this),fe),this._layerControlInputs.push(Ie),Ie.layerId=y(Y.layer),wt(Ie,"click",this._onInputClick,this);var Me=document.createElement("span");Me.innerHTML=" "+Y.name;var $e=document.createElement("span");q.appendChild($e),$e.appendChild(Ie),$e.appendChild(Me);var Ke=Y.overlay?this._overlaysList:this._baseLayersList;return Ke.appendChild(q),this._checkDisabledLayers(),q},_onInputClick:function(){if(!this._preventClick){var Y=this._layerControlInputs,q,fe,Ie=[],Me=[];this._handlingClick=!0;for(var $e=Y.length-1;$e>=0;$e--)q=Y[$e],fe=this._getLayer(q.layerId).layer,q.checked?Ie.push(fe):q.checked||Me.push(fe);for($e=0;$e=0;Me--)q=Y[Me],fe=this._getLayer(q.layerId).layer,q.disabled=fe.options.minZoom!==void 0&&Iefe.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var Y=this._section;this._preventClick=!0,wt(Y,"click",sn),this.expand();var q=this;setTimeout(function(){Tt(Y,"click",sn),q._preventClick=!1})}}),Tr=function(Y,q,fe){return new si(Y,q,fe)},Pi=In.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(Y){var q="leaflet-control-zoom",fe=Kt("div",q+" leaflet-bar"),Ie=this.options;return this._zoomInButton=this._createButton(Ie.zoomInText,Ie.zoomInTitle,q+"-in",fe,this._zoomIn),this._zoomOutButton=this._createButton(Ie.zoomOutText,Ie.zoomOutTitle,q+"-out",fe,this._zoomOut),this._updateDisabled(),Y.on("zoomend zoomlevelschange",this._updateDisabled,this),fe},onRemove:function(Y){Y.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(Y){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(Y.shiftKey?3:1))},_createButton:function(Y,q,fe,Ie,Me){var $e=Kt("a",fe,Ie);return $e.innerHTML=Y,$e.href="#",$e.title=q,$e.setAttribute("role","button"),$e.setAttribute("aria-label",q),pn($e),wt($e,"click",yn),wt($e,"click",Me,this),wt($e,"click",this._refocusOnMap,this),$e},_updateDisabled:function(){var Y=this._map,q="leaflet-disabled";hn(this._zoomInButton,q),hn(this._zoomOutButton,q),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||Y._zoom===Y.getMinZoom())&&(Yt(this._zoomOutButton,q),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||Y._zoom===Y.getMaxZoom())&&(Yt(this._zoomInButton,q),this._zoomInButton.setAttribute("aria-disabled","true"))}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Pi,this.addControl(this.zoomControl))});var Er=function(Y){return new Pi(Y)},Hi=In.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(Y){var q="leaflet-control-scale",fe=Kt("div",q),Ie=this.options;return this._addScales(Ie,q+"-line",fe),Y.on(Ie.updateWhenIdle?"moveend":"move",this._update,this),Y.whenReady(this._update,this),fe},onRemove:function(Y){Y.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(Y,q,fe){Y.metric&&(this._mScale=Kt("div",q,fe)),Y.imperial&&(this._iScale=Kt("div",q,fe))},_update:function(){var Y=this._map,q=Y.getSize().y/2,fe=Y.distance(Y.containerPointToLatLng([0,q]),Y.containerPointToLatLng([this.options.maxWidth,q]));this._updateScales(fe)},_updateScales:function(Y){this.options.metric&&Y&&this._updateMetric(Y),this.options.imperial&&Y&&this._updateImperial(Y)},_updateMetric:function(Y){var q=this._getRoundNum(Y),fe=q<1e3?q+" m":q/1e3+" km";this._updateScale(this._mScale,fe,q/Y)},_updateImperial:function(Y){var q=Y*3.2808399,fe,Ie,Me;q>5280?(fe=q/5280,Ie=this._getRoundNum(fe),this._updateScale(this._iScale,Ie+" mi",Ie/fe)):(Me=this._getRoundNum(q),this._updateScale(this._iScale,Me+" ft",Me/q))},_updateScale:function(Y,q,fe){Y.style.width=Math.round(this.options.maxWidth*fe)+"px",Y.innerHTML=q},_getRoundNum:function(Y){var q=Math.pow(10,(Math.floor(Y)+"").length-1),fe=Y/q;return fe=fe>=10?10:fe>=5?5:fe>=3?3:fe>=2?2:1,q*fe}}),Mr=function(Y){return new Hi(Y)},xr='',Li=In.extend({options:{position:"bottomright",prefix:''+(Ne.inlineSvg?xr+" ":"")+"Leaflet"},initialize:function(Y){T(this,Y),this._attributions={}},onAdd:function(Y){Y.attributionControl=this,this._container=Kt("div","leaflet-control-attribution"),pn(this._container);for(var q in Y._layers)Y._layers[q].getAttribution&&this.addAttribution(Y._layers[q].getAttribution());return this._update(),Y.on("layeradd",this._addAttribution,this),this._container},onRemove:function(Y){Y.off("layeradd",this._addAttribution,this)},_addAttribution:function(Y){Y.layer.getAttribution&&(this.addAttribution(Y.layer.getAttribution()),Y.layer.once("remove",function(){this.removeAttribution(Y.layer.getAttribution())},this))},setPrefix:function(Y){return this.options.prefix=Y,this._update(),this},addAttribution:function(Y){return Y?(this._attributions[Y]||(this._attributions[Y]=0),this._attributions[Y]++,this._update(),this):this},removeAttribution:function(Y){return Y?(this._attributions[Y]&&(this._attributions[Y]--,this._update()),this):this},_update:function(){if(!!this._map){var Y=[];for(var q in this._attributions)this._attributions[q]&&Y.push(q);var fe=[];this.options.prefix&&fe.push(this.options.prefix),Y.length&&fe.push(Y.join(", ")),this._container.innerHTML=fe.join(' ')}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook(function(){this.options.attributionControl&&new Li().addTo(this)});var Or=function(Y){return new Li(Y)};In.Layers=si,In.Zoom=Pi,In.Scale=Hi,In.Attribution=Li,Gn.layers=Tr,Gn.zoom=Er,Gn.scale=Mr,Gn.attribution=Or;var zn=z.extend({initialize:function(Y){this._map=Y},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});zn.addTo=function(Y,q){return Y.addHandler(q,this),this};var Rr={Events:Q},Zi=Ne.touch?"touchstart mousedown":"mousedown",ei=X.extend({options:{clickTolerance:3},initialize:function(Y,q,fe,Ie){T(this,Ie),this._element=Y,this._dragStartTarget=q||Y,this._preventOutline=fe},enable:function(){this._enabled||(wt(this._dragStartTarget,Zi,this._onDown,this),this._enabled=!0)},disable:function(){!this._enabled||(ei._dragging===this&&this.finishDrag(!0),Tt(this._dragStartTarget,Zi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(Y){if(!!this._enabled&&(this._moved=!1,!Vn(this._element,"leaflet-zoom-anim"))){if(Y.touches&&Y.touches.length!==1){ei._dragging===this&&this.finishDrag();return}if(!(ei._dragging||Y.shiftKey||Y.which!==1&&Y.button!==1&&!Y.touches)&&(ei._dragging=this,this._preventOutline&&ut(this._element),pi(),Hn(),!this._moving)){this.fire("down");var q=Y.touches?Y.touches[0]:Y,fe=Dt(this._element);this._startPoint=new J(q.clientX,q.clientY),this._startPos=$n(this._element),this._parentScale=xt(fe);var Ie=Y.type==="mousedown";wt(document,Ie?"mousemove":"touchmove",this._onMove,this),wt(document,Ie?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(Y){if(!!this._enabled){if(Y.touches&&Y.touches.length>1){this._moved=!0;return}var q=Y.touches&&Y.touches.length===1?Y.touches[0]:Y,fe=new J(q.clientX,q.clientY)._subtract(this._startPoint);!fe.x&&!fe.y||Math.abs(fe.x)+Math.abs(fe.y)$e&&(Ke=ht,$e=vt);$e>fe&&(q[Ke]=1,Ni(Y,q,fe,Ie,Ke),Ni(Y,q,fe,Ke,Me))}function Lr(Y,q){for(var fe=[Y[0]],Ie=1,Me=0,$e=Y.length;Ie<$e;Ie++)$r(Y[Ie],Y[Me])>q&&(fe.push(Y[Ie]),Me=Ie);return Me<$e-1&&fe.push(Y[$e-1]),fe}var Xi;function Ki(Y,q,fe,Ie,Me){var $e=Ie?Xi:ai(Y,fe),Ke=ai(q,fe),ht,vt,Mt;for(Xi=Ke;;){if(!($e|Ke))return[Y,q];if($e&Ke)return!1;ht=$e||Ke,vt=wi(Y,q,ht,fe,Me),Mt=ai(vt,fe),ht===$e?(Y=vt,$e=Mt):(q=vt,Ke=Mt)}}function wi(Y,q,fe,Ie,Me){var $e=q.x-Y.x,Ke=q.y-Y.y,ht=Ie.min,vt=Ie.max,Mt,zt;return fe&8?(Mt=Y.x+$e*(vt.y-Y.y)/Ke,zt=vt.y):fe&4?(Mt=Y.x+$e*(ht.y-Y.y)/Ke,zt=ht.y):fe&2?(Mt=vt.x,zt=Y.y+Ke*(vt.x-Y.x)/$e):fe&1&&(Mt=ht.x,zt=Y.y+Ke*(ht.x-Y.x)/$e),new J(Mt,zt,Me)}function ai(Y,q){var fe=0;return Y.xq.max.x&&(fe|=2),Y.yq.max.y&&(fe|=8),fe}function $r(Y,q){var fe=q.x-Y.x,Ie=q.y-Y.y;return fe*fe+Ie*Ie}function mi(Y,q,fe,Ie){var Me=q.x,$e=q.y,Ke=fe.x-Me,ht=fe.y-$e,vt=Ke*Ke+ht*ht,Mt;return vt>0&&(Mt=((Y.x-Me)*Ke+(Y.y-$e)*ht)/vt,Mt>1?(Me=fe.x,$e=fe.y):Mt>0&&(Me+=Ke*Mt,$e+=ht*Mt)),Ke=Y.x-Me,ht=Y.y-$e,Ie?Ke*Ke+ht*ht:new J(Me,$e)}function Nn(Y){return!O(Y[0])||typeof Y[0][0]!="object"&&typeof Y[0][0]!="undefined"}function qi(Y){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Nn(Y)}function er(Y,q){var fe,Ie,Me,$e,Ke,ht,vt,Mt;if(!Y||Y.length===0)throw new Error("latlngs not passed");Nn(Y)||(console.warn("latlngs are not flat! Only the first ring will be used"),Y=Y[0]);var zt=ee([0,0]),Zt=he(Y),nn=Zt.getNorthWest().distanceTo(Zt.getSouthWest())*Zt.getNorthEast().distanceTo(Zt.getNorthWest());nn<1700&&(zt=$i(Y));var En=Y.length,Cn=[];for(fe=0;feIe){vt=($e-Ie)/Me,Mt=[ht.x-vt*(ht.x-Ke.x),ht.y-vt*(ht.y-Ke.y)];break}var Dn=q.unproject(te(Mt));return ee([Dn.lat+zt.lat,Dn.lng+zt.lng])}var Nr={__proto__:null,simplify:Qi,pointToSegmentDistance:Ji,closestPointOnSegment:Dr,clipSegment:Ki,_getEdgeIntersection:wi,_getBitCode:ai,_sqClosestPointOnSegment:mi,isFlat:Nn,_flat:qi,polylineCenter:er},Bi={project:function(Y){return new J(Y.lng,Y.lat)},unproject:function(Y){return new ye(Y.y,Y.x)},bounds:new ce([-180,-90],[180,90])},Vi={R:6378137,R_MINOR:6356752314245179e-9,bounds:new ce([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(Y){var q=Math.PI/180,fe=this.R,Ie=Y.lat*q,Me=this.R_MINOR/fe,$e=Math.sqrt(1-Me*Me),Ke=$e*Math.sin(Ie),ht=Math.tan(Math.PI/4-Ie/2)/Math.pow((1-Ke)/(1+Ke),$e/2);return Ie=-fe*Math.log(Math.max(ht,1e-10)),new J(Y.lng*q*fe,Ie)},unproject:function(Y){for(var q=180/Math.PI,fe=this.R,Ie=this.R_MINOR/fe,Me=Math.sqrt(1-Ie*Ie),$e=Math.exp(-Y.y/fe),Ke=Math.PI/2-2*Math.atan($e),ht=0,vt=.1,Mt;ht<15&&Math.abs(vt)>1e-7;ht++)Mt=Me*Math.sin(Ke),Mt=Math.pow((1-Mt)/(1+Mt),Me/2),vt=Math.PI/2-2*Math.atan($e*Mt)-Ke,Ke+=vt;return new ye(Ke*q,Y.x*q/fe)}},Br={__proto__:null,LonLat:Bi,Mercator:Vi,SphericalMercator:we},Vr=u({},ae,{code:"EPSG:3395",projection:Vi,transformation:function(){var Y=.5/(Math.PI*Vi.R);return Te(Y,.5,-Y,.5)}()}),tr=u({},ae,{code:"EPSG:4326",projection:Bi,transformation:Te(1/180,1,-1/180,.5)}),Gr=u({},pe,{projection:Bi,transformation:Te(1,0,-1,0),scale:function(Y){return Math.pow(2,Y)},zoom:function(Y){return Math.log(Y)/Math.LN2},distance:function(Y,q){var fe=q.lng-Y.lng,Ie=q.lat-Y.lat;return Math.sqrt(fe*fe+Ie*Ie)},infinite:!0});pe.Earth=ae,pe.EPSG3395=Vr,pe.EPSG3857=Ce,pe.EPSG900913=Ae,pe.EPSG4326=tr,pe.Simple=Gr;var Wn=X.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(Y){return Y.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(Y){return Y&&Y.removeLayer(this),this},getPane:function(Y){return this._map.getPane(Y?this.options[Y]||Y:this.options.pane)},addInteractiveTarget:function(Y){return this._map._targets[y(Y)]=this,this},removeInteractiveTarget:function(Y){return delete this._map._targets[y(Y)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(Y){var q=Y.target;if(!!q.hasLayer(this)){if(this._map=q,this._zoomAnimated=q._zoomAnimated,this.getEvents){var fe=this.getEvents();q.on(fe,this),this.once("remove",function(){q.off(fe,this)},this)}this.onAdd(q),this.fire("add"),q.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(Y){if(!Y._layerAdd)throw new Error("The provided object is not a Layer.");var q=y(Y);return this._layers[q]?this:(this._layers[q]=Y,Y._mapToAdd=this,Y.beforeAdd&&Y.beforeAdd(this),this.whenReady(Y._layerAdd,Y),this)},removeLayer:function(Y){var q=y(Y);return this._layers[q]?(this._loaded&&Y.onRemove(this),delete this._layers[q],this._loaded&&(this.fire("layerremove",{layer:Y}),Y.fire("remove")),Y._map=Y._mapToAdd=null,this):this},hasLayer:function(Y){return y(Y)in this._layers},eachLayer:function(Y,q){for(var fe in this._layers)Y.call(q,this._layers[fe]);return this},_addLayers:function(Y){Y=Y?O(Y)?Y:[Y]:[];for(var q=0,fe=Y.length;qthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&q[0]instanceof ye&&q[0].equals(q[fe-1])&&q.pop(),q},_setLatLngs:function(Y){Yn.prototype._setLatLngs.call(this,Y),Nn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Nn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var Y=this._renderer._bounds,q=this.options.weight,fe=new J(q,q);if(Y=new ce(Y.min.subtract(fe),Y.max.add(fe)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(Y))){if(this.options.noClip){this._parts=this._rings;return}for(var Ie=0,Me=this._rings.length,$e;IeY.y!=Me.y>Y.y&&Y.x<(Me.x-Ie.x)*(Y.y-Ie.y)/(Me.y-Ie.y)+Ie.x&&(q=!q);return q||Yn.prototype._containsPoint.call(this,Y,!0)}});function Ur(Y,q){return new ui(Y,q)}var Un=Zn.extend({initialize:function(Y,q){T(this,q),this._layers={},Y&&this.addData(Y)},addData:function(Y){var q=O(Y)?Y:Y.features,fe,Ie,Me;if(q){for(fe=0,Ie=q.length;fe0&&Me.push(Me[0].slice()),Me}function di(Y,q){return Y.feature?u({},Y.feature,{geometry:q}):Mi(q)}function Mi(Y){return Y.type==="Feature"||Y.type==="FeatureCollection"?Y:{type:"Feature",properties:{},geometry:Y}}var zi={toGeoJSON:function(Y){return di(this,{type:"Point",coordinates:ji(this.getLatLng(),Y)})}};Si.include(zi),Gi.include(zi),Ci.include(zi),Yn.include({toGeoJSON:function(Y){var q=!Nn(this._latlngs),fe=Ei(this._latlngs,q?1:0,!1,Y);return di(this,{type:(q?"Multi":"")+"LineString",coordinates:fe})}}),ui.include({toGeoJSON:function(Y){var q=!Nn(this._latlngs),fe=q&&!Nn(this._latlngs[0]),Ie=Ei(this._latlngs,fe?2:q?1:0,!0,Y);return q||(Ie=[Ie]),di(this,{type:(fe?"Multi":"")+"Polygon",coordinates:Ie})}}),li.include({toMultiPoint:function(Y){var q=[];return this.eachLayer(function(fe){q.push(fe.toGeoJSON(Y).geometry.coordinates)}),di(this,{type:"MultiPoint",coordinates:q})},toGeoJSON:function(Y){var q=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(q==="MultiPoint")return this.toMultiPoint(Y);var fe=q==="GeometryCollection",Ie=[];return this.eachLayer(function(Me){if(Me.toGeoJSON){var $e=Me.toGeoJSON(Y);if(fe)Ie.push($e.geometry);else{var Ke=Mi($e);Ke.type==="FeatureCollection"?Ie.push.apply(Ie,Ke.features):Ie.push(Ke)}}}),fe?di(this,{geometries:Ie,type:"GeometryCollection"}):{type:"FeatureCollection",features:Ie}}});function rr(Y,q){return new Un(Y,q)}var Qr=rr,xi=Wn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(Y,q,fe){this._url=Y,this._bounds=he(q),T(this,fe)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Yt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){un(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(Y){return this.options.opacity=Y,this._image&&this._updateOpacity(),this},setStyle:function(Y){return Y.opacity&&this.setOpacity(Y.opacity),this},bringToFront:function(){return this._map&&xn(this._image),this},bringToBack:function(){return this._map&&On(this._image),this},setUrl:function(Y){return this._url=Y,this._image&&(this._image.src=Y),this},setBounds:function(Y){return this._bounds=he(Y),this._map&&this._reset(),this},getEvents:function(){var Y={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(Y.zoomanim=this._animateZoom),Y},setZIndex:function(Y){return this.options.zIndex=Y,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var Y=this._url.tagName==="IMG",q=this._image=Y?this._url:Kt("img");if(Yt(q,"leaflet-image-layer"),this._zoomAnimated&&Yt(q,"leaflet-zoom-animated"),this.options.className&&Yt(q,this.options.className),q.onselectstart=_,q.onmousemove=_,q.onload=g(this.fire,this,"load"),q.onerror=g(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(q.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),Y){this._url=q.src;return}q.src=this._url,q.alt=this.options.alt},_animateZoom:function(Y){var q=this._map.getZoomScale(Y.zoom),fe=this._map._latLngBoundsToNewLayerBounds(this._bounds,Y.zoom,Y.center).min;jn(this._image,fe,q)},_reset:function(){var Y=this._image,q=new ce(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),fe=q.getSize();An(Y,q.min),Y.style.width=fe.x+"px",Y.style.height=fe.y+"px"},_updateOpacity:function(){Sn(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var Y=this.options.errorOverlayUrl;Y&&this._url!==Y&&(this._url=Y,this._image.src=Y)},getCenter:function(){return this._bounds.getCenter()}}),Jr=function(Y,q,fe){return new xi(Y,q,fe)},or=xi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var Y=this._url.tagName==="VIDEO",q=this._image=Y?this._url:Kt("video");if(Yt(q,"leaflet-image-layer"),this._zoomAnimated&&Yt(q,"leaflet-zoom-animated"),this.options.className&&Yt(q,this.options.className),q.onselectstart=_,q.onmousemove=_,q.onloadeddata=g(this.fire,this,"load"),Y){for(var fe=q.getElementsByTagName("source"),Ie=[],Me=0;Me0?Ie:[q.src];return}O(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(q.style,"objectFit")&&(q.style.objectFit="fill"),q.autoplay=!!this.options.autoplay,q.loop=!!this.options.loop,q.muted=!!this.options.muted,q.playsInline=!!this.options.playsInline;for(var $e=0;$eMe?(q.height=Me+"px",Yt(Y,$e)):hn(Y,$e),this._containerWidth=this._container.offsetWidth},_animateZoom:function(Y){var q=this._map._latLngToNewLayerPoint(this._latlng,Y.zoom,Y.center),fe=this._getAnchor();An(this._container,q.add(fe))},_adjustPan:function(){if(!!this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var Y=this._map,q=parseInt(wn(this._container,"marginBottom"),10)||0,fe=this._container.offsetHeight+q,Ie=this._containerWidth,Me=new J(this._containerLeft,-fe-this._containerBottom);Me._add($n(this._container));var $e=Y.layerPointToContainerPoint(Me),Ke=te(this.options.autoPanPadding),ht=te(this.options.autoPanPaddingTopLeft||Ke),vt=te(this.options.autoPanPaddingBottomRight||Ke),Mt=Y.getSize(),zt=0,Zt=0;$e.x+Ie+vt.x>Mt.x&&(zt=$e.x+Ie-Mt.x+vt.x),$e.x-zt-ht.x<0&&(zt=$e.x-ht.x),$e.y+fe+vt.y>Mt.y&&(Zt=$e.y+fe-Mt.y+vt.y),$e.y-Zt-ht.y<0&&(Zt=$e.y-ht.y),(zt||Zt)&&(this.options.keepInView&&(this._autopanning=!0),Y.fire("autopanstart").panBy([zt,Zt]))}},_getAnchor:function(){return te(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),qr=function(Y,q){return new Oi(Y,q)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(Y,q,fe){return this._initOverlay(Oi,Y,q,fe).openOn(this),this},closePopup:function(Y){return Y=arguments.length?Y:this._popup,Y&&Y.close(),this}}),Wn.include({bindPopup:function(Y,q){return this._popup=this._initOverlay(Oi,this._popup,Y,q),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(Y){return this._popup&&(this instanceof Zn||(this._popup._source=this),this._popup._prepareOpen(Y||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(Y){return this._popup&&this._popup.setContent(Y),this},getPopup:function(){return this._popup},_openPopup:function(Y){if(!(!this._popup||!this._map)){yn(Y);var q=Y.layer||Y.target;if(this._popup._source===q&&!(q instanceof ti)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(Y.latlng);return}this._popup._source=q,this.openPopup(Y.latlng)}},_movePopup:function(Y){this._popup.setLatLng(Y.latlng)},_onKeyPress:function(Y){Y.originalEvent.keyCode===13&&this._openPopup(Y)}});var Ri=Fn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(Y){Fn.prototype.onAdd.call(this,Y),this.setOpacity(this.options.opacity),Y.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(Y){Fn.prototype.onRemove.call(this,Y),Y.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var Y=Fn.prototype.getEvents.call(this);return this.options.permanent||(Y.preclick=this.close),Y},_initLayout:function(){var Y="leaflet-tooltip",q=Y+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Kt("div",q),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+y(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(Y){var q,fe,Ie=this._map,Me=this._container,$e=Ie.latLngToContainerPoint(Ie.getCenter()),Ke=Ie.layerPointToContainerPoint(Y),ht=this.options.direction,vt=Me.offsetWidth,Mt=Me.offsetHeight,zt=te(this.options.offset),Zt=this._getAnchor();ht==="top"?(q=vt/2,fe=Mt):ht==="bottom"?(q=vt/2,fe=0):ht==="center"?(q=vt/2,fe=Mt/2):ht==="right"?(q=0,fe=Mt/2):ht==="left"?(q=vt,fe=Mt/2):Ke.x<$e.x?(ht="right",q=0,fe=Mt/2):(ht="left",q=vt+(zt.x+Zt.x)*2,fe=Mt/2),Y=Y.subtract(te(q,fe,!0)).add(zt).add(Zt),hn(Me,"leaflet-tooltip-right"),hn(Me,"leaflet-tooltip-left"),hn(Me,"leaflet-tooltip-top"),hn(Me,"leaflet-tooltip-bottom"),Yt(Me,"leaflet-tooltip-"+ht),An(Me,Y)},_updatePosition:function(){var Y=this._map.latLngToLayerPoint(this._latlng);this._setPosition(Y)},setOpacity:function(Y){this.options.opacity=Y,this._container&&Sn(this._container,Y)},_animateZoom:function(Y){var q=this._map._latLngToNewLayerPoint(this._latlng,Y.zoom,Y.center);this._setPosition(q)},_getAnchor:function(){return te(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),eo=function(Y,q){return new Ri(Y,q)};tn.include({openTooltip:function(Y,q,fe){return this._initOverlay(Ri,Y,q,fe).openOn(this),this},closeTooltip:function(Y){return Y.close(),this}}),Wn.include({bindTooltip:function(Y,q){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Ri,this._tooltip,Y,q),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(Y){if(!(!Y&&this._tooltipHandlersAdded)){var q=Y?"off":"on",fe={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?fe.add=this._openTooltip:(fe.mouseover=this._openTooltip,fe.mouseout=this.closeTooltip,fe.click=this._openTooltip,this._map?this._addFocusListeners():fe.add=this._addFocusListeners),this._tooltip.options.sticky&&(fe.mousemove=this._moveTooltip),this[q](fe),this._tooltipHandlersAdded=!Y}},openTooltip:function(Y){return this._tooltip&&(this instanceof Zn||(this._tooltip._source=this),this._tooltip._prepareOpen(Y)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(Y){return this._tooltip&&this._tooltip.setContent(Y),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(Y){var q=typeof Y.getElement=="function"&&Y.getElement();q&&(wt(q,"focus",function(){this._tooltip._source=Y,this.openTooltip()},this),wt(q,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(Y){var q=typeof Y.getElement=="function"&&Y.getElement();q&&q.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(Y){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var q=this;this._map.once("moveend",function(){q._openOnceFlag=!1,q._openTooltip(Y)});return}this._tooltip._source=Y.layer||Y.target,this.openTooltip(this._tooltip.options.sticky?Y.latlng:void 0)}},_moveTooltip:function(Y){var q=Y.latlng,fe,Ie;this._tooltip.options.sticky&&Y.originalEvent&&(fe=this._map.mouseEventToContainerPoint(Y.originalEvent),Ie=this._map.containerPointToLayerPoint(fe),q=this._map.layerPointToLatLng(Ie)),this._tooltip.setLatLng(q)}});var sr=ci.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(Y){var q=Y&&Y.tagName==="DIV"?Y:document.createElement("div"),fe=this.options;if(fe.html instanceof Element?(Mn(q),q.appendChild(fe.html)):q.innerHTML=fe.html!==!1?fe.html:"",fe.bgPos){var Ie=te(fe.bgPos);q.style.backgroundPosition=-Ie.x+"px "+-Ie.y+"px"}return this._setIconStyles(q,"icon"),q},createShadow:function(){return null}});function no(Y){return new sr(Y)}ci.Default=vi;var yi=Wn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ne.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(Y){T(this,Y)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(Y){Y._addZoomLimit(this)},onRemove:function(Y){this._removeAllTiles(),un(this._container),Y._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(xn(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(On(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(Y){return this.options.opacity=Y,this._updateOpacity(),this},setZIndex:function(Y){return this.options.zIndex=Y,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var Y=this._clampZoom(this._map.getZoom());Y!==this._tileZoom&&(this._tileZoom=Y,this._updateLevels()),this._update()}return this},getEvents:function(){var Y={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=A(this._onMoveEnd,this.options.updateInterval,this)),Y.move=this._onMove),this._zoomAnimated&&(Y.zoomanim=this._animateZoom),Y},createTile:function(){return document.createElement("div")},getTileSize:function(){var Y=this.options.tileSize;return Y instanceof J?Y:new J(Y,Y)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(Y){for(var q=this.getPane().children,fe=-Y(-1/0,1/0),Ie=0,Me=q.length,$e;Iethis.options.maxZoom||feIe?this._retainParent(Me,$e,Ke,Ie):!1)},_retainChildren:function(Y,q,fe,Ie){for(var Me=2*Y;Me<2*Y+2;Me++)for(var $e=2*q;$e<2*q+2;$e++){var Ke=new J(Me,$e);Ke.z=fe+1;var ht=this._tileCoordsToKey(Ke),vt=this._tiles[ht];if(vt&&vt.active){vt.retain=!0;continue}else vt&&vt.loaded&&(vt.retain=!0);fe+1this.options.maxZoom||this.options.minZoom!==void 0&&Me1){this._setView(Y,fe);return}for(var Zt=Me.min.y;Zt<=Me.max.y;Zt++)for(var nn=Me.min.x;nn<=Me.max.x;nn++){var En=new J(nn,Zt);if(En.z=this._tileZoom,!!this._isValidTile(En)){var Cn=this._tiles[this._tileCoordsToKey(En)];Cn?Cn.current=!0:Ke.push(En)}}if(Ke.sort(function(Dn,fi){return Dn.distanceTo($e)-fi.distanceTo($e)}),Ke.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Bn=document.createDocumentFragment();for(nn=0;nnfe.max.x)||!q.wrapLat&&(Y.yfe.max.y))return!1}if(!this.options.bounds)return!0;var Ie=this._tileCoordsToBounds(Y);return he(this.options.bounds).overlaps(Ie)},_keyToBounds:function(Y){return this._tileCoordsToBounds(this._keyToTileCoords(Y))},_tileCoordsToNwSe:function(Y){var q=this._map,fe=this.getTileSize(),Ie=Y.scaleBy(fe),Me=Ie.add(fe),$e=q.unproject(Ie,Y.z),Ke=q.unproject(Me,Y.z);return[$e,Ke]},_tileCoordsToBounds:function(Y){var q=this._tileCoordsToNwSe(Y),fe=new ge(q[0],q[1]);return this.options.noWrap||(fe=this._map.wrapLatLngBounds(fe)),fe},_tileCoordsToKey:function(Y){return Y.x+":"+Y.y+":"+Y.z},_keyToTileCoords:function(Y){var q=Y.split(":"),fe=new J(+q[0],+q[1]);return fe.z=+q[2],fe},_removeTile:function(Y){var q=this._tiles[Y];!q||(un(q.el),delete this._tiles[Y],this.fire("tileunload",{tile:q.el,coords:this._keyToTileCoords(Y)}))},_initTile:function(Y){Yt(Y,"leaflet-tile");var q=this.getTileSize();Y.style.width=q.x+"px",Y.style.height=q.y+"px",Y.onselectstart=_,Y.onmousemove=_,Ne.ielt9&&this.options.opacity<1&&Sn(Y,this.options.opacity)},_addTile:function(Y,q){var fe=this._getTilePos(Y),Ie=this._tileCoordsToKey(Y),Me=this.createTile(this._wrapCoords(Y),g(this._tileReady,this,Y));this._initTile(Me),this.createTile.length<2&&Z(g(this._tileReady,this,Y,null,Me)),An(Me,fe),this._tiles[Ie]={el:Me,coords:Y,current:!0},q.appendChild(Me),this.fire("tileloadstart",{tile:Me,coords:Y})},_tileReady:function(Y,q,fe){q&&this.fire("tileerror",{error:q,tile:fe,coords:Y});var Ie=this._tileCoordsToKey(Y);fe=this._tiles[Ie],fe&&(fe.loaded=+new Date,this._map._fadeAnimated?(Sn(fe.el,0),H(this._fadeFrame),this._fadeFrame=Z(this._updateOpacity,this)):(fe.active=!0,this._pruneTiles()),q||(Yt(fe.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:fe.el,coords:Y})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ne.ielt9||!this._map._fadeAnimated?Z(this._pruneTiles,this):setTimeout(g(this._pruneTiles,this),250)))},_getTilePos:function(Y){return Y.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(Y){var q=new J(this._wrapX?b(Y.x,this._wrapX):Y.x,this._wrapY?b(Y.y,this._wrapY):Y.y);return q.z=Y.z,q},_pxBoundsToTileRange:function(Y){var q=this.getTileSize();return new ce(Y.min.unscaleBy(q).floor(),Y.max.unscaleBy(q).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var Y in this._tiles)if(!this._tiles[Y].loaded)return!1;return!0}});function io(Y){return new yi(Y)}var hi=yi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(Y,q){this._url=Y,q=T(this,q),q.detectRetina&&Ne.retina&&q.maxZoom>0?(q.tileSize=Math.floor(q.tileSize/2),q.zoomReverse?(q.zoomOffset--,q.minZoom=Math.min(q.maxZoom,q.minZoom+1)):(q.zoomOffset++,q.maxZoom=Math.max(q.minZoom,q.maxZoom-1)),q.minZoom=Math.max(0,q.minZoom)):q.zoomReverse?q.minZoom=Math.min(q.maxZoom,q.minZoom):q.maxZoom=Math.max(q.minZoom,q.maxZoom),typeof q.subdomains=="string"&&(q.subdomains=q.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(Y,q){return this._url===Y&&q===void 0&&(q=!0),this._url=Y,q||this.redraw(),this},createTile:function(Y,q){var fe=document.createElement("img");return wt(fe,"load",g(this._tileOnLoad,this,q,fe)),wt(fe,"error",g(this._tileOnError,this,q,fe)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(fe.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(fe.referrerPolicy=this.options.referrerPolicy),fe.alt="",fe.src=this.getTileUrl(Y),fe},getTileUrl:function(Y){var q={r:Ne.retina?"@2x":"",s:this._getSubdomain(Y),x:Y.x,y:Y.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var fe=this._globalTileRange.max.y-Y.y;this.options.tms&&(q.y=fe),q["-y"]=fe}return F(this._url,u(q,this.options))},_tileOnLoad:function(Y,q){Ne.ielt9?setTimeout(g(Y,this,null,q),0):Y(null,q)},_tileOnError:function(Y,q,fe){var Ie=this.options.errorTileUrl;Ie&&q.getAttribute("src")!==Ie&&(q.src=Ie),Y(fe,q)},_onTileRemove:function(Y){Y.tile.onload=null},_getZoomForUrl:function(){var Y=this._tileZoom,q=this.options.maxZoom,fe=this.options.zoomReverse,Ie=this.options.zoomOffset;return fe&&(Y=q-Y),Y+Ie},_getSubdomain:function(Y){var q=Math.abs(Y.x+Y.y)%this.options.subdomains.length;return this.options.subdomains[q]},_abortLoading:function(){var Y,q;for(Y in this._tiles)if(this._tiles[Y].coords.z!==this._tileZoom&&(q=this._tiles[Y].el,q.onload=_,q.onerror=_,!q.complete)){q.src=x;var fe=this._tiles[Y].coords;un(q),delete this._tiles[Y],this.fire("tileabort",{tile:q,coords:fe})}},_removeTile:function(Y){var q=this._tiles[Y];if(!!q)return q.el.setAttribute("src",x),yi.prototype._removeTile.call(this,Y)},_tileReady:function(Y,q,fe){if(!(!this._map||fe&&fe.getAttribute("src")===x))return yi.prototype._tileReady.call(this,Y,q,fe)}});function lr(Y,q){return new hi(Y,q)}var cr=hi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(Y,q){this._url=Y;var fe=u({},this.defaultWmsParams);for(var Ie in q)Ie in this.options||(fe[Ie]=q[Ie]);q=T(this,q);var Me=q.detectRetina&&Ne.retina?2:1,$e=this.getTileSize();fe.width=$e.x*Me,fe.height=$e.y*Me,this.wmsParams=fe},onAdd:function(Y){this._crs=this.options.crs||Y.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var q=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[q]=this._crs.code,hi.prototype.onAdd.call(this,Y)},getTileUrl:function(Y){var q=this._tileCoordsToNwSe(Y),fe=this._crs,Ie=se(fe.project(q[0]),fe.project(q[1])),Me=Ie.min,$e=Ie.max,Ke=(this._wmsVersion>=1.3&&this._crs===tr?[Me.y,Me.x,$e.y,$e.x]:[Me.x,Me.y,$e.x,$e.y]).join(","),ht=hi.prototype.getTileUrl.call(this,Y);return ht+I(this.wmsParams,ht,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+Ke},setParams:function(Y,q){return u(this.wmsParams,Y),q||this.redraw(),this}});function ro(Y,q){return new cr(Y,q)}hi.WMS=cr,lr.wms=ro;var Qn=Wn.extend({options:{padding:.1},initialize:function(Y){T(this,Y),y(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Yt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var Y={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(Y.zoomanim=this._onAnimZoom),Y},_onAnimZoom:function(Y){this._updateTransform(Y.center,Y.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(Y,q){var fe=this._map.getZoomScale(q,this._zoom),Ie=this._map.getSize().multiplyBy(.5+this.options.padding),Me=this._map.project(this._center,q),$e=Ie.multiplyBy(-fe).add(Me).subtract(this._map._getNewPixelOrigin(Y,q));Ne.any3d?jn(this._container,$e,fe):An(this._container,$e)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var Y in this._layers)this._layers[Y]._reset()},_onZoomEnd:function(){for(var Y in this._layers)this._layers[Y]._project()},_updatePaths:function(){for(var Y in this._layers)this._layers[Y]._update()},_update:function(){var Y=this.options.padding,q=this._map.getSize(),fe=this._map.containerPointToLayerPoint(q.multiplyBy(-Y)).round();this._bounds=new ce(fe,fe.add(q.multiplyBy(1+Y*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ur=Qn.extend({options:{tolerance:0},getEvents:function(){var Y=Qn.prototype.getEvents.call(this);return Y.viewprereset=this._onViewPreReset,Y},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Qn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var Y=this._container=document.createElement("canvas");wt(Y,"mousemove",this._onMouseMove,this),wt(Y,"click dblclick mousedown mouseup contextmenu",this._onClick,this),wt(Y,"mouseout",this._handleMouseOut,this),Y._leaflet_disable_events=!0,this._ctx=Y.getContext("2d")},_destroyContainer:function(){H(this._redrawRequest),delete this._ctx,un(this._container),Tt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var Y;this._redrawBounds=null;for(var q in this._layers)Y=this._layers[q],Y._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Qn.prototype._update.call(this);var Y=this._bounds,q=this._container,fe=Y.getSize(),Ie=Ne.retina?2:1;An(q,Y.min),q.width=Ie*fe.x,q.height=Ie*fe.y,q.style.width=fe.x+"px",q.style.height=fe.y+"px",Ne.retina&&this._ctx.scale(2,2),this._ctx.translate(-Y.min.x,-Y.min.y),this.fire("update")}},_reset:function(){Qn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(Y){this._updateDashArray(Y),this._layers[y(Y)]=Y;var q=Y._order={layer:Y,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=q),this._drawLast=q,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(Y){this._requestRedraw(Y)},_removePath:function(Y){var q=Y._order,fe=q.next,Ie=q.prev;fe?fe.prev=Ie:this._drawLast=Ie,Ie?Ie.next=fe:this._drawFirst=fe,delete Y._order,delete this._layers[y(Y)],this._requestRedraw(Y)},_updatePath:function(Y){this._extendRedrawBounds(Y),Y._project(),Y._update(),this._requestRedraw(Y)},_updateStyle:function(Y){this._updateDashArray(Y),this._requestRedraw(Y)},_updateDashArray:function(Y){if(typeof Y.options.dashArray=="string"){var q=Y.options.dashArray.split(/[, ]+/),fe=[],Ie,Me;for(Me=0;Me')}}catch(Y){}return function(Y){return document.createElement("<"+Y+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),oo={_initContainer:function(){this._container=Kt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Qn.prototype._update.call(this),this.fire("update"))},_initPath:function(Y){var q=Y._container=Ai("shape");Yt(q,"leaflet-vml-shape "+(this.options.className||"")),q.coordsize="1 1",Y._path=Ai("path"),q.appendChild(Y._path),this._updateStyle(Y),this._layers[y(Y)]=Y},_addPath:function(Y){var q=Y._container;this._container.appendChild(q),Y.options.interactive&&Y.addInteractiveTarget(q)},_removePath:function(Y){var q=Y._container;un(q),Y.removeInteractiveTarget(q),delete this._layers[y(Y)]},_updateStyle:function(Y){var q=Y._stroke,fe=Y._fill,Ie=Y.options,Me=Y._container;Me.stroked=!!Ie.stroke,Me.filled=!!Ie.fill,Ie.stroke?(q||(q=Y._stroke=Ai("stroke")),Me.appendChild(q),q.weight=Ie.weight+"px",q.color=Ie.color,q.opacity=Ie.opacity,Ie.dashArray?q.dashStyle=O(Ie.dashArray)?Ie.dashArray.join(" "):Ie.dashArray.replace(/( *, *)/g," "):q.dashStyle="",q.endcap=Ie.lineCap.replace("butt","flat"),q.joinstyle=Ie.lineJoin):q&&(Me.removeChild(q),Y._stroke=null),Ie.fill?(fe||(fe=Y._fill=Ai("fill")),Me.appendChild(fe),fe.color=Ie.fillColor||Ie.color,fe.opacity=Ie.fillOpacity):fe&&(Me.removeChild(fe),Y._fill=null)},_updateCircle:function(Y){var q=Y._point.round(),fe=Math.round(Y._radius),Ie=Math.round(Y._radiusY||fe);this._setPath(Y,Y._empty()?"M0 0":"AL "+q.x+","+q.y+" "+fe+","+Ie+" 0,"+65535*360)},_setPath:function(Y,q){Y._path.v=q},_bringToFront:function(Y){xn(Y._container)},_bringToBack:function(Y){On(Y._container)}},ki=Ne.vml?Ai:Ee,bi=Qn.extend({_initContainer:function(){this._container=ki("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ki("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){un(this._container),Tt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Qn.prototype._update.call(this);var Y=this._bounds,q=Y.getSize(),fe=this._container;(!this._svgSize||!this._svgSize.equals(q))&&(this._svgSize=q,fe.setAttribute("width",q.x),fe.setAttribute("height",q.y)),An(fe,Y.min),fe.setAttribute("viewBox",[Y.min.x,Y.min.y,q.x,q.y].join(" ")),this.fire("update")}},_initPath:function(Y){var q=Y._path=ki("path");Y.options.className&&Yt(q,Y.options.className),Y.options.interactive&&Yt(q,"leaflet-interactive"),this._updateStyle(Y),this._layers[y(Y)]=Y},_addPath:function(Y){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(Y._path),Y.addInteractiveTarget(Y._path)},_removePath:function(Y){un(Y._path),Y.removeInteractiveTarget(Y._path),delete this._layers[y(Y)]},_updatePath:function(Y){Y._project(),Y._update()},_updateStyle:function(Y){var q=Y._path,fe=Y.options;!q||(fe.stroke?(q.setAttribute("stroke",fe.color),q.setAttribute("stroke-opacity",fe.opacity),q.setAttribute("stroke-width",fe.weight),q.setAttribute("stroke-linecap",fe.lineCap),q.setAttribute("stroke-linejoin",fe.lineJoin),fe.dashArray?q.setAttribute("stroke-dasharray",fe.dashArray):q.removeAttribute("stroke-dasharray"),fe.dashOffset?q.setAttribute("stroke-dashoffset",fe.dashOffset):q.removeAttribute("stroke-dashoffset")):q.setAttribute("stroke","none"),fe.fill?(q.setAttribute("fill",fe.fillColor||fe.color),q.setAttribute("fill-opacity",fe.fillOpacity),q.setAttribute("fill-rule",fe.fillRule||"evenodd")):q.setAttribute("fill","none"))},_updatePoly:function(Y,q){this._setPath(Y,le(Y._parts,q))},_updateCircle:function(Y){var q=Y._point,fe=Math.max(Math.round(Y._radius),1),Ie=Math.max(Math.round(Y._radiusY),1)||fe,Me="a"+fe+","+Ie+" 0 1,0 ",$e=Y._empty()?"M0 0":"M"+(q.x-fe)+","+q.y+Me+fe*2+",0 "+Me+-fe*2+",0 ";this._setPath(Y,$e)},_setPath:function(Y,q){Y._path.setAttribute("d",q)},_bringToFront:function(Y){xn(Y._path)},_bringToBack:function(Y){On(Y._path)}});Ne.vml&&bi.include(oo);function fr(Y){return Ne.svg||Ne.vml?new bi(Y):null}tn.include({getRenderer:function(Y){var q=Y.options.renderer||this._getPaneRenderer(Y.options.pane)||this.options.renderer||this._renderer;return q||(q=this._renderer=this._createRenderer()),this.hasLayer(q)||this.addLayer(q),q},_getPaneRenderer:function(Y){if(Y==="overlayPane"||Y===void 0)return!1;var q=this._paneRenderers[Y];return q===void 0&&(q=this._createRenderer({pane:Y}),this._paneRenderers[Y]=q),q},_createRenderer:function(Y){return this.options.preferCanvas&&dr(Y)||fr(Y)}});var pr=ui.extend({initialize:function(Y,q){ui.prototype.initialize.call(this,this._boundsToLatLngs(Y),q)},setBounds:function(Y){return this.setLatLngs(this._boundsToLatLngs(Y))},_boundsToLatLngs:function(Y){return Y=he(Y),[Y.getSouthWest(),Y.getNorthWest(),Y.getNorthEast(),Y.getSouthEast()]}});function ao(Y,q){return new pr(Y,q)}bi.create=ki,bi.pointsToPath=le,Un.geometryToLayer=Ii,Un.coordsToLatLng=Wi,Un.coordsToLatLngs=Ti,Un.latLngToCoords=ji,Un.latLngsToCoords=Ei,Un.getFeature=di,Un.asFeature=Mi,tn.mergeOptions({boxZoom:!0});var gr=zn.extend({initialize:function(Y){this._map=Y,this._container=Y._container,this._pane=Y._panes.overlayPane,this._resetStateTimeout=0,Y.on("unload",this._destroy,this)},addHooks:function(){wt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Tt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){un(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(Y){if(!Y.shiftKey||Y.which!==1&&Y.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Hn(),pi(),this._startPoint=this._map.mouseEventToContainerPoint(Y),wt(document,{contextmenu:yn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(Y){this._moved||(this._moved=!0,this._box=Kt("div","leaflet-zoom-box",this._container),Yt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(Y);var q=new ce(this._point,this._startPoint),fe=q.getSize();An(this._box,q.min),this._box.style.width=fe.x+"px",this._box.style.height=fe.y+"px"},_finish:function(){this._moved&&(un(this._box),hn(this._container,"leaflet-crosshair")),Jn(),je(),Tt(document,{contextmenu:yn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(Y){if(!(Y.which!==1&&Y.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(g(this._resetState,this),0);var q=new ge(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(q).fire("boxzoomend",{boxZoomBounds:q})}},_onKeyDown:function(Y){Y.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});tn.addInitHook("addHandler","boxZoom",gr),tn.mergeOptions({doubleClickZoom:!0});var mr=zn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(Y){var q=this._map,fe=q.getZoom(),Ie=q.options.zoomDelta,Me=Y.originalEvent.shiftKey?fe-Ie:fe+Ie;q.options.doubleClickZoom==="center"?q.setZoom(Me):q.setZoomAround(Y.containerPoint,Me)}});tn.addInitHook("addHandler","doubleClickZoom",mr),tn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var vr=zn.extend({addHooks:function(){if(!this._draggable){var Y=this._map;this._draggable=new ei(Y._mapPane,Y._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),Y.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),Y.on("zoomend",this._onZoomEnd,this),Y.whenReady(this._onZoomEnd,this))}Yt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){hn(this._map._container,"leaflet-grab"),hn(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var Y=this._map;if(Y._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var q=he(this._map.options.maxBounds);this._offsetLimit=se(this._map.latLngToContainerPoint(q.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(q.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;Y.fire("movestart").fire("dragstart"),Y.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(Y){if(this._map.options.inertia){var q=this._lastTime=+new Date,fe=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(fe),this._times.push(q),this._prunePositions(q)}this._map.fire("move",Y).fire("drag",Y)},_prunePositions:function(Y){for(;this._positions.length>1&&Y-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var Y=this._map.getSize().divideBy(2),q=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=q.subtract(Y).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(Y,q){return Y-(Y-q)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var Y=this._draggable._newPos.subtract(this._draggable._startPos),q=this._offsetLimit;Y.xq.max.x&&(Y.x=this._viscousLimit(Y.x,q.max.x)),Y.y>q.max.y&&(Y.y=this._viscousLimit(Y.y,q.max.y)),this._draggable._newPos=this._draggable._startPos.add(Y)}},_onPreDragWrap:function(){var Y=this._worldWidth,q=Math.round(Y/2),fe=this._initialWorldOffset,Ie=this._draggable._newPos.x,Me=(Ie-q+fe)%Y+q-fe,$e=(Ie+q+fe)%Y-q-fe,Ke=Math.abs(Me+fe)0?$e:-$e))-q;this._delta=0,this._startTime=null,Ke&&(Y.options.scrollWheelZoom==="center"?Y.setZoom(q+Ke):Y.setZoomAround(this._lastMousePos,q+Ke))}});tn.addInitHook("addHandler","scrollWheelZoom",Ar);var so=600;tn.mergeOptions({tapHold:Ne.touchNative&&Ne.safari&&Ne.mobile,tapTolerance:15});var _r=zn.extend({addHooks:function(){wt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Tt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(Y){if(clearTimeout(this._holdTimeout),Y.touches.length===1){var q=Y.touches[0];this._startPos=this._newPos=new J(q.clientX,q.clientY),this._holdTimeout=setTimeout(g(function(){this._cancel(),this._isTapValid()&&(wt(document,"touchend",sn),wt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",q))},this),so),wt(document,"touchend touchcancel contextmenu",this._cancel,this),wt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function Y(){Tt(document,"touchend",sn),Tt(document,"touchend touchcancel",Y)},_cancel:function(){clearTimeout(this._holdTimeout),Tt(document,"touchend touchcancel contextmenu",this._cancel,this),Tt(document,"touchmove",this._onMove,this)},_onMove:function(Y){var q=Y.touches[0];this._newPos=new J(q.clientX,q.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(Y,q){var fe=new MouseEvent(Y,{bubbles:!0,cancelable:!0,view:window,screenX:q.screenX,screenY:q.screenY,clientX:q.clientX,clientY:q.clientY});fe._simulated=!0,q.target.dispatchEvent(fe)}});tn.addInitHook("addHandler","tapHold",_r),tn.mergeOptions({touchZoom:Ne.touch,bounceAtZoomLimits:!0});var wr=zn.extend({addHooks:function(){Yt(this._map._container,"leaflet-touch-zoom"),wt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){hn(this._map._container,"leaflet-touch-zoom"),Tt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(Y){var q=this._map;if(!(!Y.touches||Y.touches.length!==2||q._animatingZoom||this._zooming)){var fe=q.mouseEventToContainerPoint(Y.touches[0]),Ie=q.mouseEventToContainerPoint(Y.touches[1]);this._centerPoint=q.getSize()._divideBy(2),this._startLatLng=q.containerPointToLatLng(this._centerPoint),q.options.touchZoom!=="center"&&(this._pinchStartLatLng=q.containerPointToLatLng(fe.add(Ie)._divideBy(2))),this._startDist=fe.distanceTo(Ie),this._startZoom=q.getZoom(),this._moved=!1,this._zooming=!0,q._stop(),wt(document,"touchmove",this._onTouchMove,this),wt(document,"touchend touchcancel",this._onTouchEnd,this),sn(Y)}},_onTouchMove:function(Y){if(!(!Y.touches||Y.touches.length!==2||!this._zooming)){var q=this._map,fe=q.mouseEventToContainerPoint(Y.touches[0]),Ie=q.mouseEventToContainerPoint(Y.touches[1]),Me=fe.distanceTo(Ie)/this._startDist;if(this._zoom=q.getScaleZoom(Me,this._startZoom),!q.options.bounceAtZoomLimits&&(this._zoomq.getMaxZoom()&&Me>1)&&(this._zoom=q._limitZoom(this._zoom)),q.options.touchZoom==="center"){if(this._center=this._startLatLng,Me===1)return}else{var $e=fe._add(Ie)._divideBy(2)._subtract(this._centerPoint);if(Me===1&&$e.x===0&&$e.y===0)return;this._center=q.unproject(q.project(this._pinchStartLatLng,this._zoom).subtract($e),this._zoom)}this._moved||(q._moveStart(!0,!1),this._moved=!0),H(this._animRequest);var Ke=g(q._move,q,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=Z(Ke,this,!0),sn(Y)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,H(this._animRequest),Tt(document,"touchmove",this._onTouchMove,this),Tt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});tn.addInitHook("addHandler","touchZoom",wr),tn.BoxZoom=gr,tn.DoubleClickZoom=mr,tn.Drag=vr,tn.Keyboard=yr,tn.ScrollWheelZoom=Ar,tn.TapHold=_r,tn.TouchZoom=wr,o.Bounds=ce,o.Browser=Ne,o.CRS=pe,o.Canvas=ur,o.Circle=Gi,o.CircleMarker=Ci,o.Class=z,o.Control=In,o.DivIcon=sr,o.DivOverlay=Fn,o.DomEvent=gi,o.DomUtil=Et,o.Draggable=ei,o.Evented=X,o.FeatureGroup=Zn,o.GeoJSON=Un,o.GridLayer=yi,o.Handler=zn,o.Icon=ci,o.ImageOverlay=xi,o.LatLng=ye,o.LatLngBounds=ge,o.Layer=Wn,o.LayerGroup=li,o.LineUtil=Nr,o.Map=tn,o.Marker=Si,o.Mixin=Rr,o.Path=ti,o.Point=J,o.PolyUtil=kr,o.Polygon=ui,o.Polyline=Yn,o.Popup=Oi,o.PosAnimation=oi,o.Projection=Br,o.Rectangle=pr,o.Renderer=Qn,o.SVG=bi,o.SVGOverlay=ar,o.TileLayer=hi,o.Tooltip=Ri,o.Transformation=_e,o.Util=B,o.VideoOverlay=or,o.bind=g,o.bounds=se,o.canvas=dr,o.circle=Zr,o.circleMarker=Hr,o.control=Gn,o.divIcon=no,o.extend=u,o.featureGroup=jr,o.geoJSON=rr,o.geoJson=Qr,o.gridLayer=io,o.icon=zr,o.imageOverlay=Jr,o.latLng=ee,o.latLngBounds=he,o.layerGroup=Wr,o.map=qn,o.marker=Fr,o.point=te,o.polygon=Ur,o.polyline=Yr,o.popup=qr,o.rectangle=ao,o.setOptions=T,o.stamp=y,o.svg=fr,o.svgOverlay=Kr,o.tileLayer=lr,o.tooltip=eo,o.transformation=Te,o.version=a,o.videoOverlay=Xr;var lo=window.L;o.noConflict=function(){return window.L=lo,this},window.L=o})})(leafletSrc,leafletSrc.exports);const domUtilProto=L.extend({},L.DomUtil);L.extend(L.DomUtil,{setTransform:function(t,r,o,a,u){var d=r||new L.Point(0,0);if(!a)return r=d._round(),domUtilProto.setTransform.apply(this,arguments);d=d.rotateFrom(a,u),t.style[L.DomUtil.TRANSFORM]="translate3d("+d.x+"px,"+d.y+"px,0)"+(o?" scale("+o+")":"")+" rotate("+a+"rad)"},setPosition:function(t,r,o,a,u){if(!o)return domUtilProto.setPosition.apply(this,arguments);t._leaflet_pos=r,L.Browser.any3d?L.DomUtil.setTransform(t,r,u,o,a):(t.style.left=r.x+"px",t.style.top=r.y+"px")},DEG_TO_RAD:Math.PI/180,RAD_TO_DEG:180/Math.PI});L.Draggable.include({});L.extend(L.Point.prototype,{rotate:function(t){return this.rotateFrom(t,new L.Point(0,0))},rotateFrom:function(t,r){if(!t)return this;var o=Math.sin(t),a=Math.cos(t),u=r.x,d=r.y,g=this.x-u,v=this.y-d;return new L.Point(g*a-v*o+u,g*o+v*a+d)}});const divOverlayProto=L.extend({},L.DivOverlay.prototype);L.DivOverlay.include({getEvents:function(){return L.extend(divOverlayProto.getEvents.apply(this,arguments),{rotate:this._updatePosition})},_updatePosition:function(){if(!!this._map&&(divOverlayProto._updatePosition.apply(this,arguments),this._map&&this._map._rotate&&this._zoomAnimated)){var t=this._getAnchor(),r=L.DomUtil.getPosition(this._container).subtract(t);L.DomUtil.setPosition(this._container,this._map.rotatedPointToMapPanePoint(r).add(t))}}});const popupProto=L.extend({},L.Popup.prototype);L.Popup.include({_animateZoom:function(t){if(popupProto._animateZoom.apply(this,arguments),this._map&&this._map._rotate){var r=this._getAnchor(),o=L.DomUtil.getPosition(this._container).subtract(r);L.DomUtil.setPosition(this._container,this._map.rotatedPointToMapPanePoint(o).add(r))}},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){if(this._autopanning){this._autopanning=!1;return}var t=this._map,r=parseInt(L.DomUtil.getStyle(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+r,a=this._containerWidth,u=new L.Point(this._containerLeft,-o-this._containerBottom);u._add(L.DomUtil.getPosition(this._container));var d=u._add(this._map._getMapPanePos()),g=L.point(this.options.autoPanPadding),v=L.point(this.options.autoPanPaddingTopLeft||g),y=L.point(this.options.autoPanPaddingBottomRight||g),A=t.getSize(),b=0,_=0;d.x+a+y.x>A.x&&(b=d.x+a-A.x+y.x),d.x-b-v.x<0&&(b=d.x-v.x),d.y+o+y.y>A.y&&(_=d.y+o-A.y+y.y),d.y-_-v.y<0&&(_=d.y-v.y),(b||_)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([b,_]))}}});const tooltipProto=L.extend({},L.Tooltip.prototype);L.Tooltip.include({_animateZoom:function(t){if(!this._map._rotate)return tooltipProto._animateZoom.apply(this,arguments);var r=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);r=this._map.rotatedPointToMapPanePoint(r),this._setPosition(r)},_updatePosition:function(){if(!this._map._rotate)return tooltipProto._updatePosition.apply(this,arguments);var t=this._map.latLngToLayerPoint(this._latlng);t=this._map.rotatedPointToMapPanePoint(t),this._setPosition(t)}});L.extend({},L.Icon.prototype);L.Icon.include({_setIconStyles:function(t,r){var o=this.options,a=o[r+"Size"];typeof a=="number"&&(a=[a,a]);var u=L.point(a),d=L.point(r==="shadow"&&o.shadowAnchor||o.iconAnchor||u&&u.divideBy(2,!0));t.className="leaflet-marker-"+r+" "+(o.className||""),d&&(t.style.marginLeft=-d.x+"px",t.style.marginTop=-d.y+"px",t.style[L.DomUtil.TRANSFORM+"Origin"]=d.x+"px "+d.y+"px 0px"),u&&(t.style.width=u.x+"px",t.style.height=u.y+"px")}});const markerProto=L.extend({},L.Marker.prototype);L.Marker.mergeOptions({rotation:0,rotateWithView:!1,scale:void 0});var markerDragProto,MarkerDrag={_onDrag:function(t){var r=this._marker,o=r.options.rotation||r.options.rotateWithView,a=r._shadow,u=L.DomUtil.getPosition(r._icon);!o&&a&&L.DomUtil.setPosition(a,u),r._map._rotate&&(u=r._map.mapPanePointToRotatedPoint(u));var d=r._map.layerPointToLatLng(u);r._latlng=d,t.latlng=d,t.oldLatLng=this._oldLatLng,o?r.setLatLng(d):r.fire("move",t),r.fire("drag",t)},_onDragEnd:function(t){this._marker._map._rotate&&this._marker.update(),markerDragProto._onDragEnd.apply(this,arguments)}};L.Marker.include({getEvents:function(){return L.extend(markerProto.getEvents.apply(this,arguments),{rotate:this.update})},_initInteraction:function(){var t=markerProto._initInteraction.apply(this,arguments);return this.dragging&&this.dragging.enabled()&&this._map&&this._map._rotate&&(markerDragProto=markerDragProto||Object.getPrototypeOf(this.dragging),this.dragging.disable(),Object.assign(this.dragging,{_onDrag:MarkerDrag._onDrag.bind(this.dragging),_onDragEnd:MarkerDrag._onDragEnd.bind(this.dragging)}),this.dragging.enable()),t},_setPos:function(t){this._map._rotate&&(t=this._map.rotatedPointToMapPanePoint(t));var r=this.options.rotation||0;this.options.rotateWithView&&(r+=this._map._bearing),this._icon&&L.DomUtil.setPosition(this._icon,t,r,t,this.options.scale),this._shadow&&L.DomUtil.setPosition(this._shadow,t,r,t,this.options.scale),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},setRotation:function(t){this.options.rotation=t,this.update()}});const gridLayerProto=L.extend({},L.GridLayer.prototype);L.GridLayer.include({getEvents:function(){var t=gridLayerProto.getEvents.apply(this,arguments);return this._map._rotate&&!this.options.updateWhenIdle&&(this._onRotate||(this._onRotate=L.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),t.rotate=this._onRotate),t},_getTiledPixelBounds:function(t){return this._map._rotate?this._map._getNewPixelBounds(t,this._tileZoom):gridLayerProto._getTiledPixelBounds.apply(this,arguments)}});const rendererProto=L.extend({},L.Renderer.prototype);L.Renderer.include({getEvents:function(){return L.extend(rendererProto.getEvents.apply(this,arguments),{rotate:this._update})},onAdd:function(){rendererProto.onAdd.apply(this,arguments),L.version<="1.9.3"&&this._container.classList.add("leaflet-zoom-animated")},_updateTransform:function(t,r){if(!this._map._rotate)return rendererProto._updateTransform.apply(this,arguments);var o=this._map.getZoomScale(r,this._zoom),a=this._map._latLngToNewLayerPoint(this._topLeft,r,t);L.DomUtil.setTransform(this._container,a,o)},_update:function(){if(!this._map._rotate)return rendererProto._update.apply(this,arguments);this._bounds=this._map._getPaddedPixelBounds(this.options.padding),this._topLeft=this._map.layerPointToLatLng(this._bounds.min),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}});const mapProto=L.extend({},L.Map.prototype);L.Map.mergeOptions({rotate:!1,bearing:0});L.Map.include({initialize:function(t,r){r.rotate&&(this._rotate=!0,this._bearing=0),mapProto.initialize.apply(this,arguments),this.options.rotate&&this.setBearing(this.options.bearing)},containerPointToLayerPoint:function(t){return this._rotate?L.point(t).subtract(this._getMapPanePos()).rotateFrom(-this._bearing,this._getRotatePanePos()).subtract(this._getRotatePanePos()):mapProto.containerPointToLayerPoint.apply(this,arguments)},layerPointToContainerPoint:function(t){return this._rotate?L.point(t).add(this._getRotatePanePos()).rotateFrom(this._bearing,this._getRotatePanePos()).add(this._getMapPanePos()):mapProto.layerPointToContainerPoint.apply(this,arguments)},rotatedPointToMapPanePoint:function(t){return L.point(t).rotate(this._bearing)._add(this._getRotatePanePos())},mapPanePointToRotatedPoint:function(t){return L.point(t)._subtract(this._getRotatePanePos()).rotate(-this._bearing)},mapBoundsToContainerBounds:function(t){if(!this._rotate&&mapProto.mapBoundsToContainerBounds)return mapProto.mapBoundsToContainerBounds.apply(this,arguments);const r=this.getPixelOrigin(),o=this.layerPointToContainerPoint(this.project(t.getNorthWest())._subtract(r)),a=this.layerPointToContainerPoint(this.project(t.getNorthEast())._subtract(r)),u=this.layerPointToContainerPoint(this.project(t.getSouthWest())._subtract(r)),d=this.layerPointToContainerPoint(this.project(t.getSouthEast())._subtract(r));return L.bounds([L.point(Math.min(o.x,a.x,d.x,u.x),Math.min(o.y,a.y,d.y,u.y)),L.point(Math.max(o.x,a.x,d.x,u.x),Math.max(o.y,a.y,d.y,u.y))])},getBounds:function(){if(!this._rotate)return mapProto.getBounds.apply(this,arguments);var t=this.getSize();return new L.LatLngBounds([this.containerPointToLatLng([0,0]),this.containerPointToLatLng([t.x,0]),this.containerPointToLatLng([t.x,t.y]),this.containerPointToLatLng([0,t.y])])},setBearing:function(t){if(!(!L.Browser.any3d||!this._rotate)){var r=L.Util.wrapNum(t,[0,360])*L.DomUtil.DEG_TO_RAD,o=this._getPixelCenter(),a=this._getRotatePanePos().rotateFrom(-this._bearing,o),u=a.rotateFrom(r,o);L.DomUtil.setPosition(this._rotatePane,a,r,o),this._pivot=o,this._bearing=r,this._rotatePanePos=u,this.fire("rotate")}},getBearing:function(){return this._bearing*L.DomUtil.RAD_TO_DEG},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),L.DomUtil.setPosition(this._mapPane,new L.Point(0,0)),this._rotate?(this._rotatePane=this.createPane("rotatePane",this._mapPane),this._norotatePane=this.createPane("norotatePane",this._mapPane),this.createPane("tilePane",this._rotatePane),this.createPane("overlayPane",this._rotatePane),this.createPane("shadowPane",this._norotatePane),this.createPane("markerPane",this._norotatePane),this.createPane("tooltipPane",this._norotatePane),this.createPane("popupPane",this._norotatePane)):(this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane")),this.options.markerZoomAnimation||(L.DomUtil.addClass(t.markerPane,"leaflet-zoom-hide"),L.DomUtil.addClass(t.shadowPane,"leaflet-zoom-hide"))},panInside(t,r){if(!this._rotate||Math.abs(this._bearing).toFixed(1)<.1)return mapProto.panInside.apply(this,arguments);r=r||{};const o=L.point(r.paddingTopLeft||r.padding||[0,0]),a=L.point(r.paddingBottomRight||r.padding||[0,0]),u=this._container.getBoundingClientRect(),d=this.latLngToContainerPoint(t),g=L.bounds([L.point(u),L.point(u).add(this.getSize())]),v=g.getCenter(),y=L.bounds([g.min.add(o),g.max.subtract(a)]),A=y.getSize();if(!y.contains(d)){this._enforcingBounds=!0;const b=d.subtract(y.getCenter()),_=y.extend(d).getSize().subtract(A);v.x+=b.x<0?-_.x:_.x,v.y+=b.y<0?-_.y:_.y,this.panTo(this.containerPointToLatLng(v),r),this._enforcingBounds=!1}return this},getBoundsZoom(t,r,o){if(!this._rotate||Math.abs(this._bearing).toFixed(1)<.1)return mapProto.getBoundsZoom.apply(this,arguments);t=L.latLngBounds(t),o=L.point(o||[0,0]);let a=this.getZoom()||0;const u=this.getMinZoom(),d=this.getMaxZoom(),g=this.getSize().subtract(o),v=this.mapBoundsToContainerBounds(t).getSize(),y=this.options.zoomSnap,A=g.x/v.x,b=g.y/v.y,_=r?Math.max(A,b):Math.min(A,b);return a=this.getScaleZoom(_,a),y&&(a=Math.round(a/(y/100))*(y/100),a=r?Math.ceil(a/y)*y:Math.floor(a/y)*y),Math.max(u,Math.min(d,a))},_getCenterOffset:function(t){var r=mapProto._getCenterOffset.apply(this,arguments);return this._rotate&&(r=r.rotate(this._bearing)),r},_getRotatePanePos:function(){return this._rotatePanePos||new L.Point(0,0)},_getNewPixelOrigin:function(t,r){if(!this._rotate)return mapProto._getNewPixelOrigin.apply(this,arguments);var o=this.getSize()._divideBy(2);return this.project(t,r).rotate(this._bearing)._subtract(o)._add(this._getMapPanePos())._add(this._getRotatePanePos()).rotate(-this._bearing)._round()},_getNewPixelBounds:function(t,r){if(t=t||this.getCenter(),r=r||this.getZoom(),!this._rotate&&mapProto._getNewPixelBounds)return mapProto._getNewPixelBounds.apply(this,arguments);var o=this._animatingZoom?Math.max(this._animateToZoom,this.getZoom()):this.getZoom(),a=this.getZoomScale(o,r),u=this.project(t,r).floor(),d=this.getSize(),g=new L.Bounds([this.containerPointToLayerPoint([0,0]).floor(),this.containerPointToLayerPoint([d.x,0]).floor(),this.containerPointToLayerPoint([0,d.y]).floor(),this.containerPointToLayerPoint([d.x,d.y]).floor()]).getSize().divideBy(a*2);return new L.Bounds(u.subtract(g),u.add(g))},_getPixelCenter:function(){return!this._rotate&&mapProto._getPixelCenter?mapProto._getPixelCenter.apply(this,arguments):this.getSize()._divideBy(2)._subtract(this._getMapPanePos())},_getPaddedPixelBounds:function(t){if(!this._rotate&&mapProto._getPaddedPixelBounds)return mapProto._getPaddedPixelBounds.apply(this,arguments);var r=t,o=this.getSize(),a=o.multiplyBy(-r),u=o.multiplyBy(1+r);return new L.Bounds([this.containerPointToLayerPoint([a.x,a.y]).floor(),this.containerPointToLayerPoint([a.x,u.y]).floor(),this.containerPointToLayerPoint([u.x,a.y]).floor(),this.containerPointToLayerPoint([u.x,u.y]).floor()])},_handleGeolocationResponse:function(t){if(!!this._container._leaflet_id){var r=t.coords.latitude,o=t.coords.longitude,a=t.coords.heading,u=new L.LatLng(r,o),d=u.toBounds(t.coords.accuracy),g=this._locateOptions;if(g.setView){var v=this.getBoundsZoom(d);this.setView(u,g.maxZoom?Math.min(v,g.maxZoom):v)}var y={latlng:u,bounds:d,timestamp:t.timestamp,heading:a};for(var A in t.coords)typeof t.coords[A]=="number"&&(y[A]=t.coords[A]);this.fire("locationfound",y)}}});L.Map.CompassBearing=L.Handler.extend({initialize:function(t){this._map=t,"ondeviceorientationabsolute"in window?this.__deviceOrientationEvent="deviceorientationabsolute":"ondeviceorientation"in window&&(this.__deviceOrientationEvent="deviceorientation"),this._throttled=L.Util.throttle(this._onDeviceOrientation,100,this)},addHooks:function(){this._map._rotate&&this.__deviceOrientationEvent?L.DomEvent.on(window,this.__deviceOrientationEvent,this._throttled,this):this.disable()},removeHooks:function(){this._map._rotate&&this.__deviceOrientationEvent&&L.DomEvent.off(window,this.__deviceOrientationEvent,this._throttled,this)},_onDeviceOrientation:function(t){var r=t.webkitCompassHeading||t.alpha,o=0;!t.absolute&&t.webkitCompassHeading&&(r=360-r),!t.absolute&&typeof window.orientation!="undefined"&&(o=window.orientation),this._map.setBearing(r-o)}});L.Map.addInitHook("addHandler","compassBearing",L.Map.CompassBearing);L.Map.mergeOptions({trackContainerMutation:!1});L.Map.ContainerMutation=L.Handler.extend({addHooks:function(){this._observer||(this._observer=new MutationObserver(L.Util.bind(this._map.invalidateSize,this._map))),this._observer.observe(this._map.getContainer(),{childList:!1,attributes:!0,characterData:!1,subtree:!1,attributeFilter:["style"]})},removeHooks:function(){this._observer.disconnect()}});L.Map.addInitHook("addHandler","trackContainerMutation",L.Map.ContainerMutation);L.Map.mergeOptions({bounceAtZoomLimits:!0});L.Map.TouchGestures=L.Handler.extend({initialize:function(t){this._map=t,this.rotate=!!this._map.options.touchRotate,this.zoom=!!this._map.options.touchZoom},addHooks:function(){L.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){L.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var r=this._map;if(!(!t.touches||t.touches.length!==2||r._animatingZoom||this._zooming||this._rotating)){var o=r.mouseEventToContainerPoint(t.touches[0]),a=r.mouseEventToContainerPoint(t.touches[1]),u=o.subtract(a);this._centerPoint=r.getSize()._divideBy(2),this._startLatLng=r.containerPointToLatLng(this._centerPoint),this.zoom?(r.options.touchZoom!=="center"&&(this._pinchStartLatLng=r.containerPointToLatLng(o.add(a)._divideBy(2))),this._startDist=o.distanceTo(a),this._startZoom=r.getZoom(),this._zooming=!0):this._zooming=!1,this.rotate?(this._startTheta=Math.atan(u.x/u.y),this._startBearing=r.getBearing(),u.y<0&&(this._startBearing+=180),this._rotating=!0):this._rotating=!1,this._moved=!1,r._stop(),L.DomEvent.on(document,"touchmove",this._onTouchMove,this).on(document,"touchend touchcancel",this._onTouchEnd,this),L.DomEvent.preventDefault(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!(this._zooming||this._rotating))){var r=this._map,o=r.mouseEventToContainerPoint(t.touches[0]),a=r.mouseEventToContainerPoint(t.touches[1]),u=o.subtract(a),d=o.distanceTo(a)/this._startDist,g;if(this._rotating){var v=Math.atan(u.x/u.y),y=(v-this._startTheta)*L.DomUtil.RAD_TO_DEG;u.y<0&&(y+=180),y&&r.setBearing(this._startBearing-y)}if(this._zooming)if(this._zoom=r.getScaleZoom(d,this._startZoom),!r.options.bounceAtZoomLimits&&(this._zoomr.getMaxZoom()&&d>1)&&(this._zoom=r._limitZoom(this._zoom)),r.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{if(g=o._add(a)._divideBy(2)._subtract(this._centerPoint),d===1&&g.x===0&&g.y===0)return;var A=-r.getBearing()*L.DomUtil.DEG_TO_RAD;this._center=r.unproject(r.project(this._pinchStartLatLng).subtract(g.rotate(A)))}this._moved||(r._moveStart(!0,!1),this._moved=!0),L.Util.cancelAnimFrame(this._animRequest);var b=r._move.bind(r,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=L.Util.requestAnimFrame(b,this,!0),L.DomEvent.preventDefault(t)}},_onTouchEnd:function(){if(!this._moved||!(this._zooming||this._rotating)){this._zooming=!1;return}this._zooming=!1,this._rotating=!1,L.Util.cancelAnimFrame(this._animRequest),L.DomEvent.off(document,"touchmove",this._onTouchMove,this).off(document,"touchend touchcancel",this._onTouchEnd,this),this.zoom&&(this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))}});L.Map.addInitHook("addHandler","touchGestures",L.Map.TouchGestures);L.Map.mergeOptions({touchRotate:!1});L.Map.TouchRotate=L.Handler.extend({addHooks:function(){this._map.touchGestures.enable(),this._map.touchGestures.rotate=!0},removeHooks:function(){this._map.touchGestures.rotate=!1}});L.Map.addInitHook("addHandler","touchRotate",L.Map.TouchRotate);L.Map.mergeOptions({shiftKeyRotate:!0});L.Map.ShiftKeyRotate=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"wheel",this._handleShiftScroll,this),this._map.shiftKeyRotate.rotate=!0},removeHooks:function(){L.DomEvent.off(this._map._container,"wheel",this._handleShiftScroll,this),this._map.shiftKeyRotate.rotate=!1},_handleShiftScroll:function(t){t.shiftKey?(t.preventDefault(),this._map.scrollWheelZoom.disable(),this._map.setBearing(this._map._bearing*L.DomUtil.RAD_TO_DEG+Math.sign(t.deltaY)*5)):this._map.scrollWheelZoom.enable()}});L.Map.addInitHook("addHandler","shiftKeyRotate",L.Map.ShiftKeyRotate);L.Map.addInitHook(function(){this.scrollWheelZoom.enabled()&&this.shiftKeyRotate.enabled()&&(this.scrollWheelZoom.disable(),this.scrollWheelZoom.enable())});L.Map.mergeOptions({touchZoom:L.Browser.touch,bounceAtZoomLimits:!1});L.Map.TouchZoom=L.Handler.extend({addHooks:function(){L.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),this._map.touchGestures.enable(),this._map.touchGestures.zoom=!0},removeHooks:function(){L.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),this._map.touchGestures.zoom=!1}});L.Map.addInitHook("addHandler","touchZoom",L.Map.TouchZoom);L.Control.Rotate=L.Control.extend({options:{position:"topleft",closeOnZeroBearing:!0},onAdd:function(t){var r=this._container=L.DomUtil.create("div","leaflet-control-rotate leaflet-bar"),o=this._arrow=L.DomUtil.create("span","leaflet-control-rotate-arrow");o.style.backgroundImage=`url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")`,o.style.cursor="grab",o.style.display="block",o.style.width="100%",o.style.height="100%",o.style.backgroundRepeat="no-repeat",o.style.backgroundPosition="50%";var a=this._link=L.DomUtil.create("a","leaflet-control-rotate-toggle",r);return a.appendChild(o),a.href="#",a.title="Rotate map",L.DomEvent.on(a,"dblclick",L.DomEvent.stopPropagation).on(a,"mousedown",this._handleMouseDown,this).on(a,"click",L.DomEvent.stop).on(a,"click",this._cycleState,this).on(a,"click",this._refocusOnMap,this),L.Browser.any3d||L.DomUtil.addClass(a,"leaflet-disabled"),this._restyle(),t.on("rotate",this._restyle,this),this._follow=!1,this._canFollow=!1,this.options.closeOnZeroBearing&&t.getBearing()===0&&(r.style.display="none"),r},onRemove:function(t){t.off("rotate",this._restyle,this)},_handleMouseDown:function(t){L.DomEvent.stop(t),this.dragging=!0,this.dragstartX=t.pageX,this.dragstartY=t.pageY,L.DomEvent.on(document,"mousemove",this._handleMouseDrag,this).on(document,"mouseup",this._handleMouseUp,this)},_handleMouseUp:function(t){L.DomEvent.stop(t),this.dragging=!1,L.DomEvent.off(document,"mousemove",this._handleMouseDrag,this).off(document,"mouseup",this._handleMouseUp,this)},_handleMouseDrag:function(t){if(!!this.dragging){var r=t.clientX-this.dragstartX;this._map.setBearing(r)}},_cycleState:function(t){if(!!this._map){var r=this._map;!r.touchRotate.enabled()&&!r.compassBearing.enabled()?r.touchRotate.enable():r.compassBearing.enabled()?(r.compassBearing.disable(),r.setBearing(0),this.options.closeOnZeroBearing&&r.touchRotate.enable()):(r.touchRotate.disable(),r.compassBearing.enable()),this._restyle()}},_restyle:function(){if(!this._map.options.rotate)L.DomUtil.addClass(this._link,"leaflet-disabled");else{var t=this._map,r=t.getBearing();this._arrow.style.transform="rotate("+r+"deg)",r&&this.options.closeOnZeroBearing&&(this._container.style.display="block"),t.compassBearing.enabled()?this._link.style.backgroundColor="orange":t.touchRotate.enabled()?this._link.style.backgroundColor=null:(this._link.style.backgroundColor="grey",r===0&&this.options.closeOnZeroBearing&&(this._container.style.display="none"))}}});L.control.rotate=function(t){return new L.Control.Rotate(t)};L.Map.mergeOptions({rotateControl:!0});L.Map.addInitHook(function(){if(this.options.rotateControl){var t=typeof this.options.rotateControl=="object"?this.options.rotateControl:{};this.rotateControl=L.control.rotate(t),this.addControl(this.rotateControl)}});var leaflet1_9_3="",Map_vue_vue_type_style_index_0_lang="";const _sfc_main$5=defineComponent({name:"ModuleMap",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0},options:{type:Object,required:!0}},setup(t){const r=useI18n();useQuasar();const o=useIoBroker(),a=ref({}),u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$6),tooltipPermanent:u.value.tooltipPermanent!==void 0?u.value.tooltipPermanent:!0})),g=ref(null);let v=null;const y=ref({}),A=(M,N)=>{y.value[M]=N,F(M,N)};watch(g,()=>{v=L.map(g.value,{center:_.value,zoom:b.value,rotate:!0,touchRotate:!0,bearing:d.value.rotation||0}),L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:"\xA9 OpenStreetMap"}).addTo(v),Object.keys(y.value).forEach(M=>F(M,y.value[M])),window.dispatchEvent(new Event("resize"))});const b=computed(()=>parseInt(d.value.defaultZoom)||4),_=computed(()=>{const{latitude:M,longitude:N}=o.meta;let V=d.value.defaultPosition&&d.value.defaultPosition.split(",")||M&&N&&[M,N]||null;return Array.isArray(V)&&V[0]&&V[1]&&(V[0]=parseFloat(V[0])||null,V[1]=parseFloat(V[1])||null),(V===null||Number.isNaN(V)||!V[0]||!V[1]||Number.isNaN(V[0])||Number.isNaN(V[1]))&&(console.warn("Map","Coordinates invalid!",d.value.defaultPosition,[M,N]),V=[53.550745,9.992992]),V});watch(b,M=>b.value&&v&&v.setZoom(b.value)),watch(_,M=>_.value&&v&&v.flyTo(_.value));const w=M=>{if(M&&typeof M=="string"&&M.indexOf("{")>-1)try{M=JSON.parse(M)}catch(N){console.error("Map",N)}else if(M&&typeof M=="string"&&M.indexOf(",")>-1)return M.split(",");return M&&typeof M=="object"&&M.lat&&(M.lng||M.lon)?[M.lat,M.lng||M.lon]:M},S=ref({}),C=ref(),T=(M,N,V,Z)=>{if(S.value[N.id+"#"+V]=!0,M||!Z){console.warn("Map",M),C.value=M||"No valid State";return}const H=w(Z.val),B=icon$n(Z.configUser&&Z.configUser.icon||N.icon||Z.icon);a.value[N.id+"#"+V]={...a.value[N.id+"#"+V],marker:{...Z,icon:B,coordinates:H},device:N},N.id===d.value.followDevice&&v.flyTo(H)},I={};let E={};const F=(M,N)=>{const V=a.value[M].marker;if(v&&V.coordinates&&N&&!N.isEqualNode(E[M])){const Z={riseOnHover:!0,icon:L.divIcon({html:N.innerHTML,iconSize:[48,48],iconAnchor:[24,24],className:"jarvis-map-marker "+(V.icon&&V.icon.indexOf("data:image/")>-1?"jarvis-map-marker-avatar":"jarvis-map-marker-icon")})};I[M]&&I[M].remove();const H=L.marker(V.coordinates,Z);I[M]=H,H.addTo(v),H.on("mouseover",D),H.on("mouseout",x),H.bindTooltip(V.label||a.value[M].device.label||a.value[M].device.name,{offset:[0,28],direction:"bottom",permanent:d.value.tooltipPermanent}),D({target:H})}};let O=null;const D=M=>{const N=typeof M=="string"?I[M]||null:M.target;O&&(O.setZIndexOffset(201),O._tooltip._container.style.zIndex=200),N&&N.openTooltip(),N.setZIndexOffset(100000001),N._tooltip._container.style.zIndex=1e8,O=N},x=M=>{const N=typeof M=="string"?I[M]||null:M.target;N&&!d.value.tooltipPermanent&&N.closeTooltip()},P=M=>M&&v&&v.flyTo(M);let G=[];return t.widget.items&&watch(t.widget.items,()=>{t.widget.items.forEach(M=>{if(M&&M.type==="device"){const N=Devices.get(M.deviceId||null);N&&M.primaryStateKey?(a.value[N.id+"#"+M.primaryStateKey]={item:M,device:N,marker:{}},G=Devices.listen(N.id,M.primaryStateKey,T)):console.error("Map",r.t("No device or state key specified"))}else M&&M.id&&(a.value[M.id]={item:M,device:{},marker:{}})})},{immediate:!0}),onBeforeUnmount(()=>Devices.unlisten(G)),{setRef:A,elMap:g,bringMarkerToFront:D,bringMarkerToBack:x,jumpToMarker:P,markers:a,loaded:S}}}),_hoisted_1$5={class:"jarvis-map-jumper-container"},_hoisted_2$4={class:"jarvis-map-jumper-label"},_hoisted_3$2=["onMouseover","onMouseout","onClick"],_hoisted_4$2=["src"],_hoisted_5$2={class:"jarvis-map-marker-caption"};function _sfc_render$5(t,r,o,a,u,d){const g=resolveComponent("icon");return t.widgetSize.height!=="100%"?(openBlock(),createElementBlock("div",{key:0,class:"jarvis-Map",onTouchstart:r[0]||(r[0]=withModifiers(()=>{},["stop"]))},[withDirectives(createBaseVNode("div",_hoisted_1$5,[createBaseVNode("div",_hoisted_2$4,toDisplayString$1(t.$t("Jump to"))+": ",1),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.markers,({device:v,item:y,marker:A},b)=>(openBlock(),createElementBlock(Fragment,null,[y.type==="divider"?(openBlock(),createBlock(QSeparator,{key:"separator-"+y.id,class:"jarvis-map-jumper-separator",vertical:"",inset:""})):createCommentVNode("",!0),y.type==="device"?(openBlock(),createElementBlock("div",{key:"jumper-"+b,ref_for:!0,ref:_=>t.setRef(b,_),class:"jarvis-map-jumper",style:{margin:"0 8px"},onMouseover:_=>t.bringMarkerToFront(b),onMouseout:_=>t.bringMarkerToBack(b),onClick:_=>t.jumpToMarker(A.coordinates)},[t.loaded[b]===void 0?(openBlock(),createBlock(QSpinner,{key:0,class:"jarvis-map-marker"})):createCommentVNode("",!0),t.loaded[b]===!0&&A.icon&&A.icon.indexOf("data:image/")!==-1?(openBlock(),createBlock(QAvatar,{key:1,class:"jarvis-map-marker jarvis-map-marker-avatar",round:""},{default:withCtx(()=>[createBaseVNode("img",{src:A.icon.replace("img:","")},null,8,_hoisted_4$2)]),_:2},1024)):createCommentVNode("",!0),t.loaded[b]===!0&&A.icon&&A.icon.indexOf("data:image/")===-1?(openBlock(),createBlock(g,{key:2,styles:{fontSize:"2rem"},class:"jarvis-map-marker jarvis-map-marker-icon",color:"primary",name:A.icon},null,8,["name"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$2,toDisplayString$1(A.label||v.label||v.name),1)],40,_hoisted_3$2)):createCommentVNode("",!0)],64))),256))],512),[[vShow,Object.keys(t.markers).length>0]]),createBaseVNode("div",{ref:"elMap",style:normalizeStyle$1(t.widgetSize)},null,4)],32)):createCommentVNode("",!0)}var Map$1=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5]]),Map$2=Object.freeze(Object.defineProperty({__proto__:null,default:Map$1},Symbol.toStringTag,{value:"Module"})),MediaControl_vue_vue_type_style_index_0_lang="";const{getPaletteColor,changeAlpha}=colors,imports={"./adapters/alexa2.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return alexa2$1}),void 0),"./adapters/musiccast.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return musiccast$1}),void 0),"./adapters/plex.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return plex$1}),void 0),"./adapters/spotify-premium.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return spotifyPremium$1}),void 0),"./adapters/yamaha.js":()=>__vitePreload(()=>Promise.resolve().then(function(){return yamaha$1}),void 0)},_sfc_main$4=defineComponent({name:"ModuleMediaControl",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=computed(()=>t.widget.config),o=computed(()=>({...Modules.joinConfig(r.value,ConfigFile$5)})),a=computed(()=>o.value.adapter.substr(0,o.value.adapter.indexOf("."))),u=ref([]),d=ref(null),g=computed(()=>u.value.find(N=>N.id===d.value)||{}),v=reactive({}),y=computed(()=>({height:parseInt(t.widgetSize.height.toString().replace("px",""))-50+"px","background-image":v.cover?"url('"+o.value.coverUrl+v.cover+"')":"none","background-size":o.value.coverMode?"auto 100%":"100% auto",paddingTop:parseInt(t.widgetSize.height.toString().replace("px",""))-50-50-6+"px"})),A=computed(()=>({background:changeAlpha(getPaletteColor("primary"),.8)})),b=computed(()=>({width:(Math.floor(v.progress/v.duration*t.widgetSize.width)||0)+"px"})),_=ref(0),w=ref(0),S=M=>O("progress",Math.round(M.layerX/t.widgetSize.width*v.duration)),C=M=>{_.value=Math.round(M.layerX/t.widgetSize.width*100),w.value=secondsToHoursMinutesSeconds(_.value/100*v.duration)},T=ref({}),I=ref({}),E=(M="",N=null)=>(N=N||d.value||"",N?(o.value.adapter+I.value[a.value]._namespace+M).replace("{PLAYER}",N||""):null),F=({val:M})=>{T.value[a.value]&&T.value[a.value].setPlayer&&T.value[a.value].setPlayer(N=>E(N,M),N=>E(N)),d.value=M,Cache$1.set("MediaControl.player."+t.widget.id,M)},O=(M,N=!0)=>{if(M==="play"&&g.value?(v.play=!0,F({val:g.value.id})):M==="pause"&&(v.play=!1),I.value[a.value][M]&&I.value[a.value][M].action){const V=E(I.value[a.value][M].action);V&&Connection.getConnection.setState(V,I.value[a.value][M].setter?I.value[a.value][M].setter(N,E):N).catch(H=>{console.error(H)})}},D=ref([]),x=M=>{if(!D.value.includes(M)){D.value.push(M);const N=Connection.getConnection;for(const V in I.value[a.value]){let Z=I.value[a.value][V];Z=typeof Z=="string"?{state:Z}:Z,Z&&Z.state&&(Z.stateKey=V,N.subscribeState(E(Z.state),({err:H,state:B})=>{!H&&B&&B.val!==void 0&&(B.val=Z.display&&Z.display[B.val]||B.val,v[V]=Z.convert?Z.convert(B.val):B.val)}))}}},P=()=>{T.value[a.value]&&T.value[a.value].getPlayers(o.value.adapter).then(M=>{if(M.length>0){u.value=M;const N=Cache$1.get("MediaControl.player."+t.widget.id)||M[0].id,V=N&&M[M.findIndex(Z=>Z.id===N)];d.value=V?V.id:M[0].id,x(d.value)}})};let G=null;return onBeforeMount(()=>{const M=[];for(const N in imports){const V=imports[N]().then(Z=>{const H=N.substr(N.lastIndexOf("/")+1).replace(".js","");return T.value[H]=Z,I.value[H]=Z.default,!0});M.push(V)}Promise.allSettled(M).then(()=>{P(),G=setInterval(()=>{P()},60*1e3)})}),onBeforeUnmount(()=>G&&clearInterval(G)),{secondsToHoursMinutesSeconds,media:v,cover:y,trackInformation:A,trackProgress:b,updateProgressSetter:C,setProgress:S,setProgressToTime:w,setProgressToPercent:_,selectPlayer:F,players:u,player:g,set:O,adapterKey:a,adapterStates:I}}}),_hoisted_1$4={class:"full-height"},_hoisted_2$3={class:"row"},_hoisted_3$1={class:"col nowrap ellipsis"},_hoisted_4$1={class:"row"},_hoisted_5$1={class:"col-grow",style:{overflow:"hidden"}},_hoisted_6$1={class:"col-shrink",style:{"text-align":"right"}},_hoisted_7$1={class:"track-duration disabled"},_hoisted_8$1={class:"controls q-pa-sm"},_hoisted_9$1={class:"controlsLeft"},_hoisted_10$1={class:"controlsCenter"},_hoisted_11$1={class:"controlsRight"};function _sfc_render$4(t,r,o,a,u,d){const g=resolveComponent("inputs");return openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("div",{class:"cover",style:normalizeStyle$1(t.cover)},[createBaseVNode("div",{class:"track-information q-pa-sm",style:normalizeStyle$1(t.trackInformation)},[createBaseVNode("div",_hoisted_2$3,[createBaseVNode("div",_hoisted_3$1,[createTextVNode(toDisplayString$1((t.media.artist||"")+(t.media.album?" - "+t.media.album:""))+" ",1),withDirectives(createBaseVNode("span",null,"("+toDisplayString$1(t.media.year)+")",513),[[vShow,t.media.align==="top"&&t.media.year]])])]),createBaseVNode("div",_hoisted_4$1,[createBaseVNode("div",_hoisted_5$1,[createTextVNode(toDisplayString$1(t.media.track)+" ",1),withDirectives(createBaseVNode("span",null,"("+toDisplayString$1(t.media.year)+")",513),[[vShow,t.media.align==="bottom"&&t.media.year]])]),withDirectives(createBaseVNode("div",_hoisted_6$1,[createTextVNode(toDisplayString$1(t.secondsToHoursMinutesSeconds(t.media.progress))+" ",1),withDirectives(createBaseVNode("span",null,"/ "+toDisplayString$1(t.secondsToHoursMinutesSeconds(t.media.duration)),513),[[vShow,t.media.progress&&t.media.duration]])],512),[[vShow,t.media.progress||t.media.duration]])])],4),withDirectives(createBaseVNode("div",{class:"track-duration",onMousemove:r[1]||(r[1]=(...v)=>t.updateProgressSetter&&t.updateProgressSetter(...v)),onClick:r[2]||(r[2]=(...v)=>t.setProgress&&t.setProgress(...v))},[createVNode$1(QTooltip,{anchor:"top middle"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.setProgressToTime)+" ("+toDisplayString$1(t.setProgressToPercent)+"%) ",1)]),_:1}),createBaseVNode("div",{class:"track-progress",style:normalizeStyle$1(t.trackProgress),onClick:r[0]||(r[0]=(...v)=>t.setProgress&&t.setProgress(...v))},null,4)],544),[[vShow,t.media.progress]]),withDirectives(createBaseVNode("div",_hoisted_7$1,null,512),[[vShow,!t.media.progress]])],4),createBaseVNode("div",_hoisted_8$1,[createBaseVNode("div",_hoisted_9$1,[t.media.type!=="RADIO"?(openBlock(),createBlock(g,{key:0,type:"button",color:"accent",icon:"mdi-monitor-cellphone-star",tooltip:t.player.name,items:t.players,selected:t.player.id,onOnSelect:t.selectPlayer},null,8,["tooltip","items","selected","onOnSelect"])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10$1,[createVNode$1(QBtnGroup,null,{default:withCtx(()=>[t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].previous&&t.adapterStates[t.adapterKey].previous.action?withDirectives((openBlock(),createBlock(QBtn,{key:0,color:"primary",icon:"mdi-skip-previous",onClick:r[3]||(r[3]=v=>t.set("previous"))},null,512)),[[vShow,t.media.type!=="RADIO"]]):createCommentVNode("",!0),createVNode$1(QBtn,{color:"primary",icon:t.media.play?"mdi-pause":"mdi-play",onClick:r[4]||(r[4]=v=>t.set(t.media.play?"pause":"play"))},null,8,["icon"]),t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].next&&t.adapterStates[t.adapterKey].next.action?withDirectives((openBlock(),createBlock(QBtn,{key:1,color:"primary",icon:"mdi-skip-next",onClick:r[5]||(r[5]=v=>t.set("next"))},null,512)),[[vShow,t.media.type!=="RADIO"]]):createCommentVNode("",!0)]),_:1})]),createBaseVNode("div",_hoisted_11$1,[t.media.type!=="RADIO"?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-shuffle-disabled",tooltip:"shuffle is off",onOnClick:r[6]||(r[6]=v=>t.set("shuffle","on"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].shuffle&&t.media.shuffle==="off"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-shuffle-variant",tooltip:"shuffle is on",onOnClick:r[7]||(r[7]=v=>t.set("shuffle","off"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].shuffle&&t.media.shuffle==="on"]])],64)):createCommentVNode("",!0),t.media.type!=="RADIO"?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat-off",tooltip:"repeat off",onOnClick:r[8]||(r[8]=v=>t.set("repeat","once"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="off"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat-once",tooltip:"repeat once",onOnClick:r[9]||(r[9]=v=>t.set("repeat","all"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="once"]]),withDirectives(createVNode$1(g,{round:"",type:"button",color:"secondary",icon:"mdi-repeat",tooltip:"repeat all",onOnClick:r[10]||(r[10]=v=>t.set("repeat","off"))},null,512),[[vShow,t.adapterStates[t.adapterKey]&&t.adapterStates[t.adapterKey].repeat&&t.media.repeat==="all"]])],64)):createCommentVNode("",!0)])])])}var MediaControl=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),MediaControl$1=Object.freeze(Object.defineProperty({__proto__:null,default:MediaControl},Symbol.toStringTag,{value:"Module"})),js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMS4xYyqcSwAAB8xJREFUaEPtmflzVFUWx+ePsYQk3e/1ls7rTu/pdHrvFivOsAlBE2IQUAajjiw6iqhYoowgg1gzLKXEsSQ6YhDDMk4CcTQJhWAgCdmgZlyKfZOZX+bz+nY63Z2gI4F5UtVV3wrd75177vmec89ym1+d70vemUic74vxFwJ8ukMR5y8E+OdORJrGHR0BFQUCWqNAQGsUCGiNAgGtUSCgNQoEtEaBgNYoENAaBQJao0BAaxQIaI0CAa1x6wmc601cOgnilwcSgA98Fc+zxTJPLvQjhnD822Ox3o7wsbbQSHf0PA+HkpcGcuQnxG2JwJKH7fdPt86ZYZ07s2zmr61LF9r3Nwcu9ufIpHkOJI63R9avcdfPU35TbY1HLdGw+d6kpWZW2cpGR8sOv8rkR2ncegJ4NBgw6yVJkiXZIBcVS+GQuXlrhYiDwLne+NWhBJ7eusE7e7q1wmc0mWW9LJfogaSTJINRttsM98TNyx8r79obvFEMwW0hEA6aZQNGSEaTXKKTcKpKYNSRqu8HEsOdkU2vuKsqTVOLJdhiMcImswEYTUCWDOpaS6nc8KDS2Ro8e0L9Qfdc7l7gthCIhCwZg3R6ORaxfLDNn3Wg4xdPJra/4VOtL9JjrrCbJZKsxoG4ibW8whE6nbRkga2nPaz+KD0uCBoQ4Dwc/SxcO1e5awrWC0Nl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TuSKQBuID60csgWKonipA69cWi3uMFy81yUcMufbzAVW1Mmzm/NsZqGtK2/ILLR2Cq0dQuZn/lBn3lBnvq0zz96ZZ+u84DAL7V0XrF25sMTWmW835zLIg4U2OL0rz9ottHXnw0JbV6Gt89Joz/kXoye3Hws/mNC+xHajr12hJ5co7+ch9+GtycMhZyo1kUJNHqGcKW9dR16OnrC25V+punkOIjTZBs6XQeqh1Kmsq/DeZb12poZch2n3IdpzlHYdpZyHtlyfbLk/Dbk+DbsOh12H6MlDtBNwmJo8DP/S7s/CMBnGYbLrEOX6jEJ/HYL5W65PQ859UJOfUNDCv+7PYP+QMyXkPAKdyNzFWPSgmPtIYu9j0e03Hvqpkl6T08Hb2yuNkWBDGDBbFHEdo1xH54f4NfXibHhQUnlB1KhRFP8wfIZyH6f9Z8KB+vCKPLzSEAk2RYKNqL/aQAcb6OXGcKAxjEaaIgjN0NKB23RQjgYDTZHVRkAYAMcdAPoI8dMZwFZUELSS0yu36R864AseNP4dgX8s8D4/2aj5fPikfOpIu9cmMOoKPP38n10poZk0alnCfF7EP5T/Uvm3CSABzhuRjWZ65hzlOkK5jtPu1NDD7PCPlr2d0P6Uv1z+FAEkUM3uvHJGn5mjz83RzY6dd3Oxvcj+f4mQP00ASWz3/d72PhJhNh/Lf0Tgf0mSBBItSQKJliSBREuSQKIlSSDRkiSQaEkSSLQkCSRW3r//O89RIR0Kq6AfAAAAAElFTkSuQmCC",rules="/jarvis/assets/rules.73e4a511.png",ScriptStatus_vue_vue_type_style_index_0_lang="";const images={js,ts,blockly,rules},_sfc_main$3=defineComponent({name:"ModuleScriptStatus",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=Connection.getConnection;useIoBroker();const o=computed(()=>t.widget.config),a=computed(()=>({...Modules.joinConfig(o.value,ConfigFile$4),list:o.value.list?o.value.list.replace(/, /g,",").split(","):null,blacklist:o.value.blacklist?o.value.blacklist.replace(/, /g,",").split(","):null})),u=ref(null),d=(_,w)=>!(a.value.list&&!a.value.list.some(C=>RegExp("^"+C.toLowerCase().replace(/\./g,".").replace(/\*/g,".*")+"$").test(_.id.toLowerCase()))||a.value.blacklist&&a.value.blacklist.some(C=>RegExp("^"+C.toLowerCase().replace(/\./g,".").replace(/\*/g,".*")+"$").test(_.id.toLowerCase())));onMounted(()=>{u.value="*"});const g=ref(null),v=({scripts:_})=>{g.value=_};r.subscribeSpecial("ScriptStatuses",v);const y=_=>{let w="mdi-help-box";switch(_&&_.toLowerCase()){case"javascript/js":w="img:"+images.js;break;case"blockly":w="img:"+images.blockly;break;case"rules":w="img:"+images.rules;break;case"typescript/ts":w="img:"+images.ts;break;default:w="mdi-help-box"}return w},A=ref({}),b=(_,w)=>{A.value[_]=!0,r.setScript(_,w).catch(S=>{console.error(S)}).finally(()=>{A.value[_]=!1})};return onUnmounted(()=>r.unsubscribeSpecial("ScriptStatuses",v)),{moduleConfig:a,format:format$2,getIcon:y,loading:A,scripts:g,set:b,filter:u,onFilter:d}}}),_hoisted_1$3={class:"jarvis-ScriptStatus-Item-Title"},_hoisted_2$2={key:0,style:{"font-size":"70%"}};function _sfc_render$3(t,r,o,a,u,d){return openBlock(),createElementBlock("div",{class:"jarvis-ScriptStatus",style:normalizeStyle$1({"max-height":t.widgetSize.maxHeight})},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,t.scripts===null]]),t.scripts!==null?(openBlock(),createBlock(QTree,{key:0,nodes:t.scripts,"node-key":"id","label-key":"id","default-expand-all":t.moduleConfig.expanded,"filter-method":t.onFilter,filter:t.filter,dense:""},{"default-header":withCtx(g=>[createBaseVNode("div",{class:normalizeClass(["jarvis-ScriptStatus-Item row items-center",{"cursor-pointer":t.moduleConfig.switch,folder:g.node.type==="folder",item:g.node.type==="file",disable:g.node.type==="file"&&!g.node.enabled,enable:g.node.type==="file"&&g.node.enabled}])},[t.loading[g.node.id]===!0?(openBlock(),createBlock(QSpinner,{key:0,class:"q-mr-sm jarvis-ScriptStatus-Item-Loading",color:"primary",size:"21px"})):(openBlock(),createBlock(QIcon,{key:1,class:"q-mr-sm jarvis-ScriptStatus-Item-Icon",name:g.node.engineType?t.getIcon(g.node.engineType):g.expanded?"mdi-folder-open":"mdi-folder",color:g.node.engineType?"secondary":"primary"},null,8,["name","color"])),createBaseVNode("div",_hoisted_1$3,[createTextVNode(toDisplayString$1(g.node.name||g.node.id.substr(g.node.id.lastIndexOf(".")+1))+" "+toDisplayString$1(g.node.engineType?"":"("+g.node.children.length+")")+" ",1),g.node.type==="file"?(openBlock(),createElementBlock("span",_hoisted_2$2," ("+toDisplayString$1(t.format(g.node.created,"dd.MM.yyyy HH:mm:ss"))+") ",1)):createCommentVNode("",!0)]),t.moduleConfig.switch&&t.loading[g.node.id]!==!0&&g.node.type==="file"?(openBlock(),createBlock(QMenu,{key:2,ref:"menu",fit:""},{default:withCtx(()=>[createVNode$1(QList,{style:{"min-width":"120px"},class:"full-width body"},{default:withCtx(()=>[createVNode$1(QItem,{class:normalizeClass("bg-"+(g.node.enabled?"positive":"negative"))},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""}),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(g.node.enabled?"Currently running":"Currently stopped")),1)]),_:2},1024)]),_:2},1032,["class"]),withDirectives((openBlock(),createBlock(QItem,{clickable:"",onClick:v=>t.set(g.node.id,!g.node.enabled)},{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:""},{default:withCtx(()=>[createVNode$1(QIcon,{color:g.node.enabled?"negative":"positive",name:g.node.enabled?"mdi-pause":"mdi-play"},null,8,["color","name"])]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t(g.node.enabled?"Stop":"Start")+" "+t.$t("Script")),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[ClosePopup]])]),_:2},1024)]),_:2},1536)):createCommentVNode("",!0)],2)]),_:1},8,["nodes","default-expand-all","filter-method","filter"])):createCommentVNode("",!0)],4)}var ScriptStatus=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3]]),ScriptStatus$1=Object.freeze(Object.defineProperty({__proto__:null,default:ScriptStatus},Symbol.toStringTag,{value:"Module"})),StateHTML_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2=defineComponent({name:"ModuleStateHTML",props:{widget:{type:Object,required:!0},widgetSize:{type:Object,required:!0}},setup(t){const r=useI18n(),o=computed(()=>t.widget.config);computed(()=>({...Modules.joinConfig(o.value,ConfigFile$3)}));const a=ref(!1),u=ref(null),d=ref(),g=(w,S,C,T)=>{if(a.value=!0,w)return u.value=w&&w.message||w,u.value;d.value=T},v=computed(()=>{let w=d.value&&d.value.val||"";return w=!Pro.isPro()&&w.indexOf(")/gi,""):w,w=!Pro.isPro()&&w.indexOf(")/g,""):w,w}),y=computed(()=>Pro.isPro()&&v.value&&typeof v.value=="string"&&v.value.indexOf("Devices.unlisten(_)),{loaded:a,error:u,html:v,hasScript:y}}}),_hoisted_1$2=["innerHTML"],_hoisted_2$1=["srcdoc"];function _sfc_render$2(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{class:"jarvis-StateHTML-Container",style:normalizeStyle$1(t.widgetSize)},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives(createBaseVNode("div",null,[t.hasScript?(openBlock(),createElementBlock("iframe",{key:1,class:"jarvis-StateHTML-iFrame",style:normalizeStyle$1({border:0,height:t.widgetSize.height}),srcdoc:t.html},null,12,_hoisted_2$1)):(openBlock(),createElementBlock("div",{key:0,class:"jarvis-StateHTML",innerHTML:t.html},null,8,_hoisted_1$2))],512),[[vShow,t.loaded&&!t.error]])],4)}var StateHTML=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-6e70eb24"]]),StateHTML$1=Object.freeze(Object.defineProperty({__proto__:null,default:StateHTML},Symbol.toStringTag,{value:"Module"})),Weather_vue_vue_type_style_index_0_lang="";const _sfc_main$1=defineComponent({name:"ModuleWeather",props:{widgetSize:{type:Object,required:!0},widget:{type:Object,required:!0}},setup(t){const r=useQuasar(),o={"./icons/moon/moon_0.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_0$1}),void 0),"./icons/moon/moon_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_1$1}),void 0),"./icons/moon/moon_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_10$1}),void 0),"./icons/moon/moon_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_11$1}),void 0),"./icons/moon/moon_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_12$1}),void 0),"./icons/moon/moon_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_13$1}),void 0),"./icons/moon/moon_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_14$1}),void 0),"./icons/moon/moon_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_15$1}),void 0),"./icons/moon/moon_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_16$1}),void 0),"./icons/moon/moon_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_17$1}),void 0),"./icons/moon/moon_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_18$1}),void 0),"./icons/moon/moon_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_19$1}),void 0),"./icons/moon/moon_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_2$1}),void 0),"./icons/moon/moon_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_20$1}),void 0),"./icons/moon/moon_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_21$1}),void 0),"./icons/moon/moon_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_22$1}),void 0),"./icons/moon/moon_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_23$1}),void 0),"./icons/moon/moon_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_24$1}),void 0),"./icons/moon/moon_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_25$1}),void 0),"./icons/moon/moon_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_26$1}),void 0),"./icons/moon/moon_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_27$1}),void 0),"./icons/moon/moon_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_28$1}),void 0),"./icons/moon/moon_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_29$1}),void 0),"./icons/moon/moon_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_3$1}),void 0),"./icons/moon/moon_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_4$1}),void 0),"./icons/moon/moon_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_5$1}),void 0),"./icons/moon/moon_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_6$1}),void 0),"./icons/moon/moon_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_7$1}),void 0),"./icons/moon/moon_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_8$1}),void 0),"./icons/moon/moon_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return moon_9$1}),void 0),"./icons/weather/set1/weather_set1_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_1$1}),void 0),"./icons/weather/set1/weather_set1_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_10$1}),void 0),"./icons/weather/set1/weather_set1_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_11$1}),void 0),"./icons/weather/set1/weather_set1_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_12$1}),void 0),"./icons/weather/set1/weather_set1_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_13$1}),void 0),"./icons/weather/set1/weather_set1_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_14$1}),void 0),"./icons/weather/set1/weather_set1_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_15$1}),void 0),"./icons/weather/set1/weather_set1_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_16$1}),void 0),"./icons/weather/set1/weather_set1_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_17$1}),void 0),"./icons/weather/set1/weather_set1_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_18$1}),void 0),"./icons/weather/set1/weather_set1_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_19$1}),void 0),"./icons/weather/set1/weather_set1_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_2$1}),void 0),"./icons/weather/set1/weather_set1_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_3$1}),void 0),"./icons/weather/set1/weather_set1_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_4$1}),void 0),"./icons/weather/set1/weather_set1_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_5$1}),void 0),"./icons/weather/set1/weather_set1_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_6$1}),void 0),"./icons/weather/set1/weather_set1_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_7$1}),void 0),"./icons/weather/set1/weather_set1_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_8$1}),void 0),"./icons/weather/set1/weather_set1_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set1_9$1}),void 0),"./icons/weather/set2/weather_set2_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_1$1}),void 0),"./icons/weather/set2/weather_set2_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_10$1}),void 0),"./icons/weather/set2/weather_set2_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_11$1}),void 0),"./icons/weather/set2/weather_set2_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_12$1}),void 0),"./icons/weather/set2/weather_set2_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_13$1}),void 0),"./icons/weather/set2/weather_set2_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_14$1}),void 0),"./icons/weather/set2/weather_set2_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_15$1}),void 0),"./icons/weather/set2/weather_set2_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_16$1}),void 0),"./icons/weather/set2/weather_set2_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_17$1}),void 0),"./icons/weather/set2/weather_set2_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_18$1}),void 0),"./icons/weather/set2/weather_set2_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_19$1}),void 0),"./icons/weather/set2/weather_set2_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_2$1}),void 0),"./icons/weather/set2/weather_set2_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_3$1}),void 0),"./icons/weather/set2/weather_set2_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_4$1}),void 0),"./icons/weather/set2/weather_set2_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_5$1}),void 0),"./icons/weather/set2/weather_set2_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_6$1}),void 0),"./icons/weather/set2/weather_set2_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_7$1}),void 0),"./icons/weather/set2/weather_set2_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_8$1}),void 0),"./icons/weather/set2/weather_set2_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set2_9$1}),void 0),"./icons/weather/set3/weather_set3_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_1$1}),void 0),"./icons/weather/set3/weather_set3_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_10$1}),void 0),"./icons/weather/set3/weather_set3_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_11$1}),void 0),"./icons/weather/set3/weather_set3_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_12$1}),void 0),"./icons/weather/set3/weather_set3_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_13$1}),void 0),"./icons/weather/set3/weather_set3_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_14$1}),void 0),"./icons/weather/set3/weather_set3_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_15$1}),void 0),"./icons/weather/set3/weather_set3_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_16$1}),void 0),"./icons/weather/set3/weather_set3_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_17$1}),void 0),"./icons/weather/set3/weather_set3_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_18$1}),void 0),"./icons/weather/set3/weather_set3_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_19$1}),void 0),"./icons/weather/set3/weather_set3_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_2$1}),void 0),"./icons/weather/set3/weather_set3_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_3$1}),void 0),"./icons/weather/set3/weather_set3_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_4$1}),void 0),"./icons/weather/set3/weather_set3_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_5$1}),void 0),"./icons/weather/set3/weather_set3_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_6$1}),void 0),"./icons/weather/set3/weather_set3_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_7$1}),void 0),"./icons/weather/set3/weather_set3_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_8$1}),void 0),"./icons/weather/set3/weather_set3_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set3_9$1}),void 0),"./icons/weather/set4/weather_set4_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_1$1}),void 0),"./icons/weather/set4/weather_set4_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_10$1}),void 0),"./icons/weather/set4/weather_set4_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_11$1}),void 0),"./icons/weather/set4/weather_set4_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_12$1}),void 0),"./icons/weather/set4/weather_set4_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_13$1}),void 0),"./icons/weather/set4/weather_set4_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_14$1}),void 0),"./icons/weather/set4/weather_set4_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_15$1}),void 0),"./icons/weather/set4/weather_set4_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_16$1}),void 0),"./icons/weather/set4/weather_set4_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_17$1}),void 0),"./icons/weather/set4/weather_set4_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_18$1}),void 0),"./icons/weather/set4/weather_set4_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_19$1}),void 0),"./icons/weather/set4/weather_set4_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_2$1}),void 0),"./icons/weather/set4/weather_set4_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_3$1}),void 0),"./icons/weather/set4/weather_set4_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_4$1}),void 0),"./icons/weather/set4/weather_set4_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_5$1}),void 0),"./icons/weather/set4/weather_set4_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_6$1}),void 0),"./icons/weather/set4/weather_set4_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_7$1}),void 0),"./icons/weather/set4/weather_set4_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_8$1}),void 0),"./icons/weather/set4/weather_set4_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set4_9$1}),void 0),"./icons/weather/set5/weather_set5_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_1$1}),void 0),"./icons/weather/set5/weather_set5_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_10$1}),void 0),"./icons/weather/set5/weather_set5_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_11$1}),void 0),"./icons/weather/set5/weather_set5_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_12$1}),void 0),"./icons/weather/set5/weather_set5_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_13$1}),void 0),"./icons/weather/set5/weather_set5_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_14$1}),void 0),"./icons/weather/set5/weather_set5_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_15$1}),void 0),"./icons/weather/set5/weather_set5_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_16$1}),void 0),"./icons/weather/set5/weather_set5_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_17$1}),void 0),"./icons/weather/set5/weather_set5_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_18$1}),void 0),"./icons/weather/set5/weather_set5_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_19$1}),void 0),"./icons/weather/set5/weather_set5_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_2$1}),void 0),"./icons/weather/set5/weather_set5_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_20$1}),void 0),"./icons/weather/set5/weather_set5_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_21$1}),void 0),"./icons/weather/set5/weather_set5_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_22$1}),void 0),"./icons/weather/set5/weather_set5_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_3$1}),void 0),"./icons/weather/set5/weather_set5_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_4$1}),void 0),"./icons/weather/set5/weather_set5_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_5$1}),void 0),"./icons/weather/set5/weather_set5_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_6$1}),void 0),"./icons/weather/set5/weather_set5_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_7$1}),void 0),"./icons/weather/set5/weather_set5_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_8$1}),void 0),"./icons/weather/set5/weather_set5_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5_9$1}),void 0),"./icons/weather/set5-white/weather_set5-white_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_1$1}),void 0),"./icons/weather/set5-white/weather_set5-white_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_10$1}),void 0),"./icons/weather/set5-white/weather_set5-white_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_11$1}),void 0),"./icons/weather/set5-white/weather_set5-white_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_12$1}),void 0),"./icons/weather/set5-white/weather_set5-white_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_13$1}),void 0),"./icons/weather/set5-white/weather_set5-white_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_14$1}),void 0),"./icons/weather/set5-white/weather_set5-white_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_15$1}),void 0),"./icons/weather/set5-white/weather_set5-white_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_16$1}),void 0),"./icons/weather/set5-white/weather_set5-white_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_17$1}),void 0),"./icons/weather/set5-white/weather_set5-white_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_18$1}),void 0),"./icons/weather/set5-white/weather_set5-white_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_19$1}),void 0),"./icons/weather/set5-white/weather_set5-white_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_2$1}),void 0),"./icons/weather/set5-white/weather_set5-white_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_20$1}),void 0),"./icons/weather/set5-white/weather_set5-white_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_21$1}),void 0),"./icons/weather/set5-white/weather_set5-white_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_22$1}),void 0),"./icons/weather/set5-white/weather_set5-white_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_3$1}),void 0),"./icons/weather/set5-white/weather_set5-white_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_4$1}),void 0),"./icons/weather/set5-white/weather_set5-white_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_5$1}),void 0),"./icons/weather/set5-white/weather_set5-white_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_6$1}),void 0),"./icons/weather/set5-white/weather_set5-white_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_7$1}),void 0),"./icons/weather/set5-white/weather_set5-white_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_8$1}),void 0),"./icons/weather/set5-white/weather_set5-white_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return weather_set5White_9$1}),void 0),"./icons/wind/set1/wind_set1_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_1$1}),void 0),"./icons/wind/set1/wind_set1_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_10$1}),void 0),"./icons/wind/set1/wind_set1_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_100$1}),void 0),"./icons/wind/set1/wind_set1_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_101$1}),void 0),"./icons/wind/set1/wind_set1_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_102$1}),void 0),"./icons/wind/set1/wind_set1_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_103$1}),void 0),"./icons/wind/set1/wind_set1_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_104$1}),void 0),"./icons/wind/set1/wind_set1_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_11$1}),void 0),"./icons/wind/set1/wind_set1_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_12$1}),void 0),"./icons/wind/set1/wind_set1_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_13$1}),void 0),"./icons/wind/set1/wind_set1_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_14$1}),void 0),"./icons/wind/set1/wind_set1_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_15$1}),void 0),"./icons/wind/set1/wind_set1_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_16$1}),void 0),"./icons/wind/set1/wind_set1_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_17$1}),void 0),"./icons/wind/set1/wind_set1_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_18$1}),void 0),"./icons/wind/set1/wind_set1_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_19$1}),void 0),"./icons/wind/set1/wind_set1_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_2$1}),void 0),"./icons/wind/set1/wind_set1_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_20$1}),void 0),"./icons/wind/set1/wind_set1_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_21$1}),void 0),"./icons/wind/set1/wind_set1_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_22$1}),void 0),"./icons/wind/set1/wind_set1_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_23$1}),void 0),"./icons/wind/set1/wind_set1_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_24$1}),void 0),"./icons/wind/set1/wind_set1_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_25$1}),void 0),"./icons/wind/set1/wind_set1_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_26$1}),void 0),"./icons/wind/set1/wind_set1_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_27$1}),void 0),"./icons/wind/set1/wind_set1_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_28$1}),void 0),"./icons/wind/set1/wind_set1_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_29$1}),void 0),"./icons/wind/set1/wind_set1_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_3$1}),void 0),"./icons/wind/set1/wind_set1_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_30$1}),void 0),"./icons/wind/set1/wind_set1_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_31$1}),void 0),"./icons/wind/set1/wind_set1_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_32$1}),void 0),"./icons/wind/set1/wind_set1_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_33$1}),void 0),"./icons/wind/set1/wind_set1_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_34$1}),void 0),"./icons/wind/set1/wind_set1_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_35$1}),void 0),"./icons/wind/set1/wind_set1_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_36$1}),void 0),"./icons/wind/set1/wind_set1_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_37$1}),void 0),"./icons/wind/set1/wind_set1_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_38$1}),void 0),"./icons/wind/set1/wind_set1_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_39$1}),void 0),"./icons/wind/set1/wind_set1_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_4$1}),void 0),"./icons/wind/set1/wind_set1_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_40$1}),void 0),"./icons/wind/set1/wind_set1_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_41$1}),void 0),"./icons/wind/set1/wind_set1_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_42$1}),void 0),"./icons/wind/set1/wind_set1_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_43$1}),void 0),"./icons/wind/set1/wind_set1_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_44$1}),void 0),"./icons/wind/set1/wind_set1_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_45$1}),void 0),"./icons/wind/set1/wind_set1_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_46$1}),void 0),"./icons/wind/set1/wind_set1_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_47$1}),void 0),"./icons/wind/set1/wind_set1_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_48$1}),void 0),"./icons/wind/set1/wind_set1_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_49$1}),void 0),"./icons/wind/set1/wind_set1_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_5$1}),void 0),"./icons/wind/set1/wind_set1_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_50$1}),void 0),"./icons/wind/set1/wind_set1_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_51$1}),void 0),"./icons/wind/set1/wind_set1_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_52$1}),void 0),"./icons/wind/set1/wind_set1_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_53$1}),void 0),"./icons/wind/set1/wind_set1_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_54$1}),void 0),"./icons/wind/set1/wind_set1_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_55$1}),void 0),"./icons/wind/set1/wind_set1_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_56$1}),void 0),"./icons/wind/set1/wind_set1_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_57$1}),void 0),"./icons/wind/set1/wind_set1_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_58$1}),void 0),"./icons/wind/set1/wind_set1_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_59$1}),void 0),"./icons/wind/set1/wind_set1_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_6$1}),void 0),"./icons/wind/set1/wind_set1_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_60$1}),void 0),"./icons/wind/set1/wind_set1_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_61$1}),void 0),"./icons/wind/set1/wind_set1_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_62$1}),void 0),"./icons/wind/set1/wind_set1_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_63$1}),void 0),"./icons/wind/set1/wind_set1_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_64$1}),void 0),"./icons/wind/set1/wind_set1_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_65$1}),void 0),"./icons/wind/set1/wind_set1_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_66$1}),void 0),"./icons/wind/set1/wind_set1_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_67$1}),void 0),"./icons/wind/set1/wind_set1_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_68$1}),void 0),"./icons/wind/set1/wind_set1_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_69$1}),void 0),"./icons/wind/set1/wind_set1_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_7$1}),void 0),"./icons/wind/set1/wind_set1_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_70$1}),void 0),"./icons/wind/set1/wind_set1_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_71$1}),void 0),"./icons/wind/set1/wind_set1_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_72$1}),void 0),"./icons/wind/set1/wind_set1_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_73$1}),void 0),"./icons/wind/set1/wind_set1_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_74$1}),void 0),"./icons/wind/set1/wind_set1_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_75$1}),void 0),"./icons/wind/set1/wind_set1_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_76$1}),void 0),"./icons/wind/set1/wind_set1_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_77$1}),void 0),"./icons/wind/set1/wind_set1_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_78$1}),void 0),"./icons/wind/set1/wind_set1_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_79$1}),void 0),"./icons/wind/set1/wind_set1_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_8$1}),void 0),"./icons/wind/set1/wind_set1_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_80$1}),void 0),"./icons/wind/set1/wind_set1_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_81$1}),void 0),"./icons/wind/set1/wind_set1_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_82$1}),void 0),"./icons/wind/set1/wind_set1_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_83$1}),void 0),"./icons/wind/set1/wind_set1_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_84$1}),void 0),"./icons/wind/set1/wind_set1_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_85$1}),void 0),"./icons/wind/set1/wind_set1_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_86$1}),void 0),"./icons/wind/set1/wind_set1_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_87$1}),void 0),"./icons/wind/set1/wind_set1_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_88$1}),void 0),"./icons/wind/set1/wind_set1_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_89$1}),void 0),"./icons/wind/set1/wind_set1_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_9$1}),void 0),"./icons/wind/set1/wind_set1_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_90$1}),void 0),"./icons/wind/set1/wind_set1_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_91$1}),void 0),"./icons/wind/set1/wind_set1_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_92$1}),void 0),"./icons/wind/set1/wind_set1_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_93$1}),void 0),"./icons/wind/set1/wind_set1_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_94$1}),void 0),"./icons/wind/set1/wind_set1_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_95$1}),void 0),"./icons/wind/set1/wind_set1_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_96$1}),void 0),"./icons/wind/set1/wind_set1_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_97$1}),void 0),"./icons/wind/set1/wind_set1_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_98$1}),void 0),"./icons/wind/set1/wind_set1_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set1_99$1}),void 0),"./icons/wind/set2/wind_set2_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_1$1}),void 0),"./icons/wind/set2/wind_set2_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_10$1}),void 0),"./icons/wind/set2/wind_set2_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_100$1}),void 0),"./icons/wind/set2/wind_set2_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_101$1}),void 0),"./icons/wind/set2/wind_set2_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_102$1}),void 0),"./icons/wind/set2/wind_set2_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_103$1}),void 0),"./icons/wind/set2/wind_set2_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_104$1}),void 0),"./icons/wind/set2/wind_set2_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_11$1}),void 0),"./icons/wind/set2/wind_set2_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_12$1}),void 0),"./icons/wind/set2/wind_set2_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_13$1}),void 0),"./icons/wind/set2/wind_set2_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_14$1}),void 0),"./icons/wind/set2/wind_set2_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_15$1}),void 0),"./icons/wind/set2/wind_set2_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_16$1}),void 0),"./icons/wind/set2/wind_set2_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_17$1}),void 0),"./icons/wind/set2/wind_set2_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_18$1}),void 0),"./icons/wind/set2/wind_set2_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_19$1}),void 0),"./icons/wind/set2/wind_set2_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_2$1}),void 0),"./icons/wind/set2/wind_set2_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_20$1}),void 0),"./icons/wind/set2/wind_set2_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_21$1}),void 0),"./icons/wind/set2/wind_set2_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_22$1}),void 0),"./icons/wind/set2/wind_set2_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_23$1}),void 0),"./icons/wind/set2/wind_set2_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_24$1}),void 0),"./icons/wind/set2/wind_set2_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_25$1}),void 0),"./icons/wind/set2/wind_set2_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_26$1}),void 0),"./icons/wind/set2/wind_set2_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_27$1}),void 0),"./icons/wind/set2/wind_set2_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_28$1}),void 0),"./icons/wind/set2/wind_set2_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_29$1}),void 0),"./icons/wind/set2/wind_set2_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_3$1}),void 0),"./icons/wind/set2/wind_set2_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_30$1}),void 0),"./icons/wind/set2/wind_set2_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_31$1}),void 0),"./icons/wind/set2/wind_set2_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_32$1}),void 0),"./icons/wind/set2/wind_set2_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_33$1}),void 0),"./icons/wind/set2/wind_set2_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_34$1}),void 0),"./icons/wind/set2/wind_set2_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_35$1}),void 0),"./icons/wind/set2/wind_set2_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_36$1}),void 0),"./icons/wind/set2/wind_set2_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_37$1}),void 0),"./icons/wind/set2/wind_set2_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_38$1}),void 0),"./icons/wind/set2/wind_set2_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_39$1}),void 0),"./icons/wind/set2/wind_set2_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_4$1}),void 0),"./icons/wind/set2/wind_set2_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_40$1}),void 0),"./icons/wind/set2/wind_set2_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_41$1}),void 0),"./icons/wind/set2/wind_set2_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_42$1}),void 0),"./icons/wind/set2/wind_set2_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_43$1}),void 0),"./icons/wind/set2/wind_set2_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_44$1}),void 0),"./icons/wind/set2/wind_set2_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_45$1}),void 0),"./icons/wind/set2/wind_set2_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_46$1}),void 0),"./icons/wind/set2/wind_set2_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_47$1}),void 0),"./icons/wind/set2/wind_set2_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_48$1}),void 0),"./icons/wind/set2/wind_set2_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_49$1}),void 0),"./icons/wind/set2/wind_set2_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_5$1}),void 0),"./icons/wind/set2/wind_set2_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_50$1}),void 0),"./icons/wind/set2/wind_set2_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_51$1}),void 0),"./icons/wind/set2/wind_set2_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_52$1}),void 0),"./icons/wind/set2/wind_set2_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_53$1}),void 0),"./icons/wind/set2/wind_set2_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_54$1}),void 0),"./icons/wind/set2/wind_set2_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_55$1}),void 0),"./icons/wind/set2/wind_set2_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_56$1}),void 0),"./icons/wind/set2/wind_set2_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_57$1}),void 0),"./icons/wind/set2/wind_set2_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_58$1}),void 0),"./icons/wind/set2/wind_set2_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_59$1}),void 0),"./icons/wind/set2/wind_set2_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_6$1}),void 0),"./icons/wind/set2/wind_set2_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_60$1}),void 0),"./icons/wind/set2/wind_set2_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_61$1}),void 0),"./icons/wind/set2/wind_set2_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_62$1}),void 0),"./icons/wind/set2/wind_set2_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_63$1}),void 0),"./icons/wind/set2/wind_set2_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_64$1}),void 0),"./icons/wind/set2/wind_set2_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_65$1}),void 0),"./icons/wind/set2/wind_set2_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_66$1}),void 0),"./icons/wind/set2/wind_set2_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_67$1}),void 0),"./icons/wind/set2/wind_set2_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_68$1}),void 0),"./icons/wind/set2/wind_set2_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_69$1}),void 0),"./icons/wind/set2/wind_set2_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_7$1}),void 0),"./icons/wind/set2/wind_set2_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_70$1}),void 0),"./icons/wind/set2/wind_set2_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_71$1}),void 0),"./icons/wind/set2/wind_set2_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_72$1}),void 0),"./icons/wind/set2/wind_set2_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_73$1}),void 0),"./icons/wind/set2/wind_set2_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_74$1}),void 0),"./icons/wind/set2/wind_set2_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_75$1}),void 0),"./icons/wind/set2/wind_set2_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_76$1}),void 0),"./icons/wind/set2/wind_set2_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_77$1}),void 0),"./icons/wind/set2/wind_set2_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_78$1}),void 0),"./icons/wind/set2/wind_set2_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_79$1}),void 0),"./icons/wind/set2/wind_set2_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_8$1}),void 0),"./icons/wind/set2/wind_set2_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_80$1}),void 0),"./icons/wind/set2/wind_set2_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_81$1}),void 0),"./icons/wind/set2/wind_set2_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_82$1}),void 0),"./icons/wind/set2/wind_set2_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_83$1}),void 0),"./icons/wind/set2/wind_set2_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_84$1}),void 0),"./icons/wind/set2/wind_set2_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_85$1}),void 0),"./icons/wind/set2/wind_set2_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_86$1}),void 0),"./icons/wind/set2/wind_set2_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_87$1}),void 0),"./icons/wind/set2/wind_set2_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_88$1}),void 0),"./icons/wind/set2/wind_set2_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_89$1}),void 0),"./icons/wind/set2/wind_set2_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_9$1}),void 0),"./icons/wind/set2/wind_set2_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_90$1}),void 0),"./icons/wind/set2/wind_set2_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_91$1}),void 0),"./icons/wind/set2/wind_set2_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_92$1}),void 0),"./icons/wind/set2/wind_set2_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_93$1}),void 0),"./icons/wind/set2/wind_set2_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_94$1}),void 0),"./icons/wind/set2/wind_set2_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_95$1}),void 0),"./icons/wind/set2/wind_set2_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_96$1}),void 0),"./icons/wind/set2/wind_set2_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_97$1}),void 0),"./icons/wind/set2/wind_set2_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_98$1}),void 0),"./icons/wind/set2/wind_set2_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set2_99$1}),void 0),"./icons/wind/set5-white/wind_set5-white_1.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_1$1}),void 0),"./icons/wind/set5-white/wind_set5-white_10.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_10$1}),void 0),"./icons/wind/set5-white/wind_set5-white_100.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_100$1}),void 0),"./icons/wind/set5-white/wind_set5-white_101.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_101$1}),void 0),"./icons/wind/set5-white/wind_set5-white_102.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_102$1}),void 0),"./icons/wind/set5-white/wind_set5-white_103.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_103$1}),void 0),"./icons/wind/set5-white/wind_set5-white_104.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_104$1}),void 0),"./icons/wind/set5-white/wind_set5-white_11.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_11$1}),void 0),"./icons/wind/set5-white/wind_set5-white_12.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_12$1}),void 0),"./icons/wind/set5-white/wind_set5-white_13.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_13$1}),void 0),"./icons/wind/set5-white/wind_set5-white_14.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_14$1}),void 0),"./icons/wind/set5-white/wind_set5-white_15.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_15$1}),void 0),"./icons/wind/set5-white/wind_set5-white_16.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_16$1}),void 0),"./icons/wind/set5-white/wind_set5-white_17.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_17$1}),void 0),"./icons/wind/set5-white/wind_set5-white_18.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_18$1}),void 0),"./icons/wind/set5-white/wind_set5-white_19.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_19$1}),void 0),"./icons/wind/set5-white/wind_set5-white_2.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_2$1}),void 0),"./icons/wind/set5-white/wind_set5-white_20.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_20$1}),void 0),"./icons/wind/set5-white/wind_set5-white_21.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_21$1}),void 0),"./icons/wind/set5-white/wind_set5-white_22.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_22$1}),void 0),"./icons/wind/set5-white/wind_set5-white_23.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_23$1}),void 0),"./icons/wind/set5-white/wind_set5-white_24.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_24$1}),void 0),"./icons/wind/set5-white/wind_set5-white_25.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_25$1}),void 0),"./icons/wind/set5-white/wind_set5-white_26.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_26$1}),void 0),"./icons/wind/set5-white/wind_set5-white_27.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_27$1}),void 0),"./icons/wind/set5-white/wind_set5-white_28.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_28$1}),void 0),"./icons/wind/set5-white/wind_set5-white_29.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_29$1}),void 0),"./icons/wind/set5-white/wind_set5-white_3.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_3$1}),void 0),"./icons/wind/set5-white/wind_set5-white_30.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_30$1}),void 0),"./icons/wind/set5-white/wind_set5-white_31.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_31$1}),void 0),"./icons/wind/set5-white/wind_set5-white_32.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_32$1}),void 0),"./icons/wind/set5-white/wind_set5-white_33.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_33$1}),void 0),"./icons/wind/set5-white/wind_set5-white_34.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_34$1}),void 0),"./icons/wind/set5-white/wind_set5-white_35.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_35$1}),void 0),"./icons/wind/set5-white/wind_set5-white_36.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_36$1}),void 0),"./icons/wind/set5-white/wind_set5-white_37.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_37$1}),void 0),"./icons/wind/set5-white/wind_set5-white_38.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_38$1}),void 0),"./icons/wind/set5-white/wind_set5-white_39.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_39$1}),void 0),"./icons/wind/set5-white/wind_set5-white_4.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_4$1}),void 0),"./icons/wind/set5-white/wind_set5-white_40.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_40$1}),void 0),"./icons/wind/set5-white/wind_set5-white_41.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_41$1}),void 0),"./icons/wind/set5-white/wind_set5-white_42.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_42$1}),void 0),"./icons/wind/set5-white/wind_set5-white_43.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_43$1}),void 0),"./icons/wind/set5-white/wind_set5-white_44.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_44$1}),void 0),"./icons/wind/set5-white/wind_set5-white_45.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_45$1}),void 0),"./icons/wind/set5-white/wind_set5-white_46.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_46$1}),void 0),"./icons/wind/set5-white/wind_set5-white_47.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_47$1}),void 0),"./icons/wind/set5-white/wind_set5-white_48.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_48$1}),void 0),"./icons/wind/set5-white/wind_set5-white_49.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_49$1}),void 0),"./icons/wind/set5-white/wind_set5-white_5.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_5$1}),void 0),"./icons/wind/set5-white/wind_set5-white_50.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_50$1}),void 0),"./icons/wind/set5-white/wind_set5-white_51.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_51$1}),void 0),"./icons/wind/set5-white/wind_set5-white_52.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_52$1}),void 0),"./icons/wind/set5-white/wind_set5-white_53.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_53$1}),void 0),"./icons/wind/set5-white/wind_set5-white_54.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_54$1}),void 0),"./icons/wind/set5-white/wind_set5-white_55.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_55$1}),void 0),"./icons/wind/set5-white/wind_set5-white_56.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_56$1}),void 0),"./icons/wind/set5-white/wind_set5-white_57.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_57$1}),void 0),"./icons/wind/set5-white/wind_set5-white_58.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_58$1}),void 0),"./icons/wind/set5-white/wind_set5-white_59.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_59$1}),void 0),"./icons/wind/set5-white/wind_set5-white_6.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_6$1}),void 0),"./icons/wind/set5-white/wind_set5-white_60.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_60$1}),void 0),"./icons/wind/set5-white/wind_set5-white_61.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_61$1}),void 0),"./icons/wind/set5-white/wind_set5-white_62.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_62$1}),void 0),"./icons/wind/set5-white/wind_set5-white_63.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_63$1}),void 0),"./icons/wind/set5-white/wind_set5-white_64.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_64$1}),void 0),"./icons/wind/set5-white/wind_set5-white_65.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_65$1}),void 0),"./icons/wind/set5-white/wind_set5-white_66.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_66$1}),void 0),"./icons/wind/set5-white/wind_set5-white_67.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_67$1}),void 0),"./icons/wind/set5-white/wind_set5-white_68.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_68$1}),void 0),"./icons/wind/set5-white/wind_set5-white_69.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_69$1}),void 0),"./icons/wind/set5-white/wind_set5-white_7.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_7$1}),void 0),"./icons/wind/set5-white/wind_set5-white_70.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_70$1}),void 0),"./icons/wind/set5-white/wind_set5-white_71.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_71$1}),void 0),"./icons/wind/set5-white/wind_set5-white_72.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_72$1}),void 0),"./icons/wind/set5-white/wind_set5-white_73.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_73$1}),void 0),"./icons/wind/set5-white/wind_set5-white_74.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_74$1}),void 0),"./icons/wind/set5-white/wind_set5-white_75.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_75$1}),void 0),"./icons/wind/set5-white/wind_set5-white_76.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_76$1}),void 0),"./icons/wind/set5-white/wind_set5-white_77.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_77$1}),void 0),"./icons/wind/set5-white/wind_set5-white_78.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_78$1}),void 0),"./icons/wind/set5-white/wind_set5-white_79.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_79$1}),void 0),"./icons/wind/set5-white/wind_set5-white_8.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_8$1}),void 0),"./icons/wind/set5-white/wind_set5-white_80.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_80$1}),void 0),"./icons/wind/set5-white/wind_set5-white_81.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_81$1}),void 0),"./icons/wind/set5-white/wind_set5-white_82.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_82$1}),void 0),"./icons/wind/set5-white/wind_set5-white_83.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_83$1}),void 0),"./icons/wind/set5-white/wind_set5-white_84.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_84$1}),void 0),"./icons/wind/set5-white/wind_set5-white_85.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_85$1}),void 0),"./icons/wind/set5-white/wind_set5-white_86.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_86$1}),void 0),"./icons/wind/set5-white/wind_set5-white_87.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_87$1}),void 0),"./icons/wind/set5-white/wind_set5-white_88.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_88$1}),void 0),"./icons/wind/set5-white/wind_set5-white_89.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_89$1}),void 0),"./icons/wind/set5-white/wind_set5-white_9.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_9$1}),void 0),"./icons/wind/set5-white/wind_set5-white_90.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_90$1}),void 0),"./icons/wind/set5-white/wind_set5-white_91.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_91$1}),void 0),"./icons/wind/set5-white/wind_set5-white_92.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_92$1}),void 0),"./icons/wind/set5-white/wind_set5-white_93.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_93$1}),void 0),"./icons/wind/set5-white/wind_set5-white_94.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_94$1}),void 0),"./icons/wind/set5-white/wind_set5-white_95.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_95$1}),void 0),"./icons/wind/set5-white/wind_set5-white_96.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_96$1}),void 0),"./icons/wind/set5-white/wind_set5-white_97.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_97$1}),void 0),"./icons/wind/set5-white/wind_set5-white_98.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_98$1}),void 0),"./icons/wind/set5-white/wind_set5-white_99.png":()=>__vitePreload(()=>Promise.resolve().then(function(){return wind_set5White_99$1}),void 0)},a={};Object.keys(o).map(F=>{const O=o[F];O().then(D=>{a[F]=D.default})});const u=computed(()=>t.widget.config),d=computed(()=>({...Modules.joinConfig(u.value,ConfigFile$1)})),g=ref(null),v=ref(!1),y=ref(null),A=computed(()=>r.platform.is.mobile||t.widgetSize&&t.widgetSize!==0&&t.widgetSize.width<=350),b=computed(()=>g.value&&g.value[1]||null),_=computed(()=>b.value&&b.value.hour&&b.value.hour[parseInt(new Date().getHours()/3)]||null),w=computed(()=>g.value?[i18n.global.t("today"),i18n.global.t("tomorrow"),format$2(g.value[3].date,"EEEE"),format$2(g.value[4].date,"EEEE"),format$2(g.value[5].date,"EEEE")]:[]),S=computed(()=>g.value?[i18n.global.t("TDY"),i18n.global.t("TMRW"),format$2(g.value[3].date,"E"),format$2(g.value[4].date,"E"),format$2(g.value[5].date,"E")]:[]),C=(F=0)=>{const O={url:"http://api.daswetter.com/index.php?v=3.0&api_lang="+i18n.global.locale.value.substr(0,2)+"&localidad="+d.value.localid+"&affiliate_id="+d.value.apikey,responseType:"json"};Connection.getConnection.send("request",_default(O),({err:x,data:P})=>{if(!x&&P&&P.day){g.value=P.day;const G=P.day[1];if(G)for(const M in G){const N=G[M];if(!Array.isArray(N)&&typeof N=="object")for(const V in N){const Z=N[V];document.body.style.setProperty("--jarvis--weather--"+M+"-"+V,'"'+Z+'"')}else Array.isArray(N)||document.body.style.setProperty("--jarvis--weather--"+M,'"'+N.toString()+'"')}}else console.warn("Weather","Error requesting data! Retry #"+F+"..."),F++,setTimeout(()=>C(F),60*1e3)})},T=(F,O,D="weather")=>{try{return a["./icons/"+D+"/"+O+"/"+D+"_"+O+"_"+F+".png"]}catch(x){console.error("Weather",x)}return null};let I=null,E=null;return onMounted(()=>{C(),I||(I=setInterval(()=>C(),60*60*1e3)),E||(E=nodeSchedule.scheduleJob("0 0 * * *",()=>C()))}),onUnmounted(()=>{I&&clearInterval(I),E&&E.cancel()}),{format:format$2,moduleConfig:d,weather:g,error:v,selectedDay:y,today:b,now:_,isMobile:A,daysCaption:w,daysCaptionSmall:S,getIcon:T}}}),_hoisted_1$1={key:0,class:"row items-center"},_hoisted_2={class:"col",style:{"text-align":"right"}},_hoisted_3=["src"],_hoisted_4={class:"col weather-current-temperature"},_hoisted_5={class:"text-h3 primary",style:{margin:"0"}},_hoisted_6={class:"text-caption"},_hoisted_7={class:"col",style:{display:"flex"}},_hoisted_8={class:"weather-details"},_hoisted_9={class:"nowrap"},_hoisted_10={class:"nowrap"},_hoisted_11={class:"nowrap"},_hoisted_12={class:"nowrap"},_hoisted_13={key:1,class:"row"},_hoisted_14=["onClick"],_hoisted_15={class:"text-caption"},_hoisted_16={key:0,class:"q-pa-sm"},_hoisted_17={class:"text-subtitle2 nowrap"},_hoisted_18={key:1,class:"q-pa-sm"},_hoisted_19=["src"],_hoisted_20={key:0,class:"text-caption"},_hoisted_21={key:1,class:"text-caption"},_hoisted_22={key:2,class:"q-pa-sm"},_hoisted_23=["src"],_hoisted_24={class:"text-caption"},_hoisted_25={class:"text-h6"},_hoisted_26=["src"],_hoisted_27={class:"nowrap"},_hoisted_28={class:"nowrap"},_hoisted_29={class:"nowrap"},_hoisted_30=["src"];function _sfc_render$1(t,r,o,a,u,d){const g=resolveComponent("alert"),v=resolveComponent("icon");return openBlock(),createElementBlock("div",{key:t.widget.revision},[withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.weather&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(typeof t.error=="string"?t.error:t.$t("Incorrect localidad or affiliate_id given! Please provide exact localidad and affiliate_id in module config!")),1)]),_:1},512),[[vShow,t.error]]),!t.error&&(t.moduleConfig.display==="both"||t.moduleConfig.display==="overview")&&t.now&&t.today?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("div",_hoisted_2,[createTextVNode(toDisplayString$1(t.now.symbol_description),1),r[2]||(r[2]=createBaseVNode("br",null,null,-1)),createBaseVNode("img",{src:t.getIcon(t.now.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"60"},null,8,_hoisted_3)]),createBaseVNode("div",_hoisted_4,[createBaseVNode("h3",_hoisted_5,toDisplayString$1(t.now.temp)+" "+toDisplayString$1(t.today.units.temp),1),createBaseVNode("span",_hoisted_6,toDisplayString$1(t.$t("Feels like"))+" "+toDisplayString$1(t.now.windchill)+" "+toDisplayString$1(t.today.units.temp),1)]),withDirectives(createBaseVNode("div",_hoisted_7,[createVNode$1(QSeparator,{vertical:"",inset:""}),createBaseVNode("ul",_hoisted_8,[createBaseVNode("li",_hoisted_9,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Rain")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-umbrella"}),createTextVNode(" "+toDisplayString$1(t.now.rain)+" "+toDisplayString$1(t.today.units.rain),1)]),createBaseVNode("li",_hoisted_10,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Wind")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-weather-windy"}),createTextVNode(" "+toDisplayString$1(t.now.wind.speed)+"-"+toDisplayString$1(t.now.wind.gusts)+" "+toDisplayString$1(t.today.units.wind),1)]),createBaseVNode("li",_hoisted_11,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Pressure")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-shore"}),createTextVNode(" "+toDisplayString$1(t.now.pressure)+" "+toDisplayString$1(t.today.units.pressure),1)]),createBaseVNode("li",_hoisted_12,[createVNode$1(QTooltip,{anchor:"center left"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("Snowline")),1)]),_:1}),createVNode$1(v,{color:"primary",name:"mdi-snowflake-melt"}),createTextVNode(" "+toDisplayString$1(t.now.snowline)+" "+toDisplayString$1(t.today.units.snowline),1)])])],512),[[vShow,!t.isMobile]])])):createCommentVNode("",!0),!t.error&&(t.moduleConfig.display==="both"||t.moduleConfig.display==="preview")&&t.weather?(openBlock(),createElementBlock("div",_hoisted_13,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.weather,(y,A)=>withDirectives((openBlock(),createElementBlock("div",{key:y.date,class:"col weather-day relative-position q-item--clickable q-link cursor-pointer q-focusable q-hoverable",style:normalizeStyle$1(A>1&&{borderLeft:"1px solid rgba(0, 0, 0, 0.12)"}),onClick:b=>t.selectedDay=y},[r[5]||(r[5]=createBaseVNode("div",{class:"q-focus-helper"},null,-1)),withDirectives(createBaseVNode("div",{class:"text-overline",style:{"line-height":"auto"}},toDisplayString$1(t.daysCaption&&t.daysCaption[A-1]||""),513),[[vShow,!t.isMobile]]),withDirectives(createBaseVNode("div",{class:"text-overline",style:{"line-height":"auto"}},toDisplayString$1(t.daysCaptionSmall&&t.daysCaptionSmall[A-1]||""),513),[[vShow,t.isMobile]]),createBaseVNode("div",_hoisted_15,toDisplayString$1(t.format(y.date,"d. MMM")),1),t.moduleConfig.forecastTemperature!==!1?(openBlock(),createElementBlock("div",_hoisted_16,[createBaseVNode("span",_hoisted_17,[createVNode$1(v,{color:"primary",name:"mdi-thermometer"}),createTextVNode(" "+toDisplayString$1(y.tempmax)+" / "+toDisplayString$1(y.tempmin+" "+y.units.temp),1)])])):createCommentVNode("",!0),t.moduleConfig.forecastSunRain!==!1?(openBlock(),createElementBlock("div",_hoisted_18,[createBaseVNode("img",{src:t.getIcon(y.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"50"},null,8,_hoisted_19),r[3]||(r[3]=createBaseVNode("br",null,null,-1)),y.rain>0?(openBlock(),createElementBlock("span",_hoisted_20,toDisplayString$1(y.rain)+" mm",1)):(openBlock(),createElementBlock("span",_hoisted_21,"-"))])):createCommentVNode("",!0),t.moduleConfig.forecastWind!==!1?(openBlock(),createElementBlock("div",_hoisted_22,[createBaseVNode("img",{src:t.getIcon(y.wind.symbol,t.moduleConfig.iconSetWind,"wind"),alt:"",height:"25"},null,8,_hoisted_23),r[4]||(r[4]=createBaseVNode("br",null,null,-1)),createBaseVNode("span",_hoisted_24,toDisplayString$1(y.wind.speed+" - "+y.wind.gusts+" "+y.units.wind),1)])):createCommentVNode("",!0)],12,_hoisted_14)),[[vShow,t.isMobile&&A<5||!t.isMobile],[Ripple]])),128))])):createCommentVNode("",!0),createVNode$1(QDialog,{"model-value":t.selectedDay!==null,onHide:r[1]||(r[1]=y=>t.selectedDay=null)},{default:withCtx(()=>[t.selectedDay!==null?(openBlock(),createBlock(QCard,{key:0,style:{width:"600px","max-width":"80vw"}},{default:withCtx(()=>[createVNode$1(QCardSection,{class:"row items-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_25,toDisplayString$1(t.$t("Weather Forecast"))+", "+toDisplayString$1(t.format(t.selectedDay.date,"d. MMM")),1),createVNode$1(QSpace),createVNode$1(QBtn,{flat:"",round:"",color:"grey",icon:"mdi-close",onClick:r[0]||(r[0]=y=>t.selectedDay=null)})]),_:1}),createVNode$1(QSeparator),createVNode$1(QCardSection,{class:"col q-pa-none scroll body"},{default:withCtx(()=>[createVNode$1(QList,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.selectedDay.hour,y=>(openBlock(),createElementBlock(Fragment,{key:"item-"+y.interval},[createVNode$1(QItem,null,{default:withCtx(()=>[createVNode$1(QItemSection,{avatar:"",class:"items-center",style:{"flex-direction":"row"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.interval)+" ",1),createBaseVNode("img",{src:t.getIcon(y.symbol_value,t.moduleConfig.iconSetWeather),alt:"",height:"30",style:{"margin-left":"8px"}},null,8,_hoisted_26)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.symbol_description),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createBaseVNode("span",_hoisted_27,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-thermometer"}),createTextVNode(" "+toDisplayString$1(y.temp)+" "+toDisplayString$1(t.today.units.temp),1)]),r[6]||(r[6]=createTextVNode(", ")),createBaseVNode("span",_hoisted_28,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-umbrella",style:{"margin-left":"4px"}}),createTextVNode(" "+toDisplayString$1(y.rain)+" "+toDisplayString$1(t.today.units.rain),1)]),r[7]||(r[7]=createTextVNode(", ")),createBaseVNode("span",_hoisted_29,[createVNode$1(v,{color:"primary",size:"xs",name:"mdi-cloud",style:{"margin-left":"4px"}}),createTextVNode(" "+toDisplayString$1(y.clouds),1)])]),_:2},1024)]),_:2},1024),createVNode$1(QItemSection,{avatar:"",style:{padding:"0 4px"}},{default:withCtx(()=>[createBaseVNode("img",{src:t.getIcon(y.wind.symbolB,t.moduleConfig.iconSetWind,"wind"),alt:"",height:"20"},null,8,_hoisted_30)]),_:2},1024),createVNode$1(QItemSection,null,{default:withCtx(()=>[createVNode$1(QItemLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.$t("WindDirection#"+y.wind.dir)+" ("+y.wind.dir+")"),1)]),_:2},1024),createVNode$1(QItemLabel,{caption:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.wind.speed)+"-"+toDisplayString$1(y.wind.gusts)+" "+toDisplayString$1(t.today.units.wind),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),createVNode$1(QSeparator)],64))),128))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1},8,["model-value"])])}var Weather=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),Weather$1=Object.freeze(Object.defineProperty({__proto__:null,default:Weather},Symbol.toStringTag,{value:"Module"})),iFrame_vue_vue_type_style_index_0_lang="";const _sfc_main=defineComponent({name:"ModuleiFrame",props:{widgetSize:{type:Object,required:!0},widget:{type:Object,required:!0},options:{type:Object,required:!0}},setup(t){const r=useI18n(),o=useJarvis(),a=ref(!1),u=ref(!1),d=computed(()=>t.widget.config),g=computed(()=>({...Modules.joinConfig(d.value,ConfigFile)})),v=ref(null),y=(x,P,G,M)=>{x||(v.value!==M.val&&A(M.val||""),a.value=!0)},A=x=>{const P=Cache$1.get("settings",{});x.indexOf("{")>-1&&x.indexOf("}")>-1&&Object.keys(P).forEach(G=>{x=x.replace(RegExp("{"+G+"}","g"),P[G])}),v.value=x};let b=null;const _=()=>{g.value.refresh&&g.value.refresh>0&&(b=setInterval(()=>{v.value!==null&&A(v.value+" ")},g.value.refresh*1e3))},w=ref(null),S=x=>{g.value.keepalive&&(w.value?t.options&&t.options.tabId===x?F(w.value):(w.value.style.zIndex=-1,w.value.style.visibility="hidden"):setTimeout(()=>S(x),500))},C=()=>{g.value.keepalive&&F(w.value)},T=()=>{console.error(g.value.keepalive,w.value,t.widgetSize,w.value&&t.widgetSize.intWidth>0&&t.widgetSize.intHeight>0),g.value.keepalive&&(w.value&&t.widgetSize.intWidth>0&&t.widgetSize.intHeight>0?(F(w.value),document.querySelector("#iframes").append(w.value)):setTimeout(()=>T(),500))},I=ref(null);let E=null;const F=x=>{I.value?(clearTimeout(E),E=setTimeout(()=>{const{top:P,left:G}=I.value.getBoundingClientRect(),M=window.pageYOffset||document.documentElement.scrollTop,N=window.pageXOffset||document.documentElement.scrollLeft;P&&G&&(x.style.zIndex=9,x.style.visibility="visible",x.style.top=P+M+"px",x.style.left=G+N+"px",x.style.position="absolute"),setTimeout(()=>F(x),500)},50)):setTimeout(()=>F(x),500)};watch(()=>o.selectedTabId,x=>S(x));const O=computed(()=>t.widget.items&&t.widget.items[0]||{});let D=null;return watch(O.value,x=>{g.value.url?(A(g.value.url),a.value=!0):(D=Devices.get(O.value.deviceId),D?Devices.listen(D.id,O.value.primaryStateKey,y):(u.value="iFrame: "+r.t("Device {deviceId} not found").replace("{deviceId}",O.value.deviceId),a.value=!0))},{immediate:!0}),onMounted(()=>{_(),T()}),onBeforeUnmount(()=>{g.value.keepalive&&w.value&&w.value.remove(),b&&clearInterval(b),E&&clearInterval(E),D&&!g.value.url&&Devices.unlisten(D.id,O.value.primaryStateKey,y)}),{moduleConfig:g,url:v,eliFrameContainer:I,eliFrame:w,onResize:C,loaded:a,error:u,sandbox:computed(()=>g.value.sandbox!==!0?"":g.value.sandboxOptions.join(" "))}}}),_hoisted_1=["src","title","sandbox"];function _sfc_render(t,r,o,a,u,d){const g=resolveComponent("alert");return openBlock(),createElementBlock("div",{key:t.widget.revision,ref:"eliFrameContainer",class:"jarvis-iFrame-Container",style:normalizeStyle$1(t.widgetSize)},[t.moduleConfig.keepalive===!0?(openBlock(),createBlock(QResizeObserver,{key:0,onResize:t.onResize},null,8,["onResize"])):createCommentVNode("",!0),withDirectives(createVNode$1(QLinearProgress,{indeterminate:""},null,512),[[vShow,!t.loaded&&!t.error]]),withDirectives(createVNode$1(g,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.error),1)]),_:1},512),[[vShow,t.loaded&&t.error]]),withDirectives((openBlock(),createElementBlock("iframe",{ref:"eliFrame",key:t.widget.id,class:"jarvis-iFrame iFrame",src:t.url,style:normalizeStyle$1({"pointer-events":t.moduleConfig.interaction?"auto":"none",...t.widgetSize}),title:t.widget.title,sandbox:t.sandbox},null,12,_hoisted_1)),[[vShow,t.loaded&&!t.error]])],4)}var iFrame=_export_sfc$1(_sfc_main,[["render",_sfc_render]]),iFrame$1=Object.freeze(Object.defineProperty({__proto__:null,default:iFrame},Symbol.toStringTag,{value:"Module"}));function setPlayer$4(t,r){const o=Connection.getConnection,a=t(".controlPlay"),u=r(".controlPause");a&&o.setState(a,!0).catch(d=>console.warn("MediaControl.Alexa2",d&&d.message||d)),u&&o.setState(u,!0).catch(d=>console.warn("MediaControl.Alexa2",d&&d.message||d))}function getPlayers$4(t){const r=t+".Echo-Devices";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","device",{startkey:r+".",endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+".Player.currentState"]&&A[g.id+".online"]&&A[g.id+".online"].val===!0?v({id:g.id.replace(r+".",""),name:g.value.common.name+" ("+A[g.id+".Info.deviceTypeString"].val+")"}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}var alexa2={_namespace:".Echo-Devices.{PLAYER}.Player",type:{state:".contentType",convert:t=>t==="LIVE_STATION"||t==="PODCASTS"?"RADIO":t},artist:".currentArtist",album:".currentAlbum",track:".currentTitle",year:null,cover:".mainArtUrl",play:{state:".currentState",action:".controlPlay"},pause:{action:".controlPause"},resume:{action:".controlPlay"},stop:{action:null},previous:{action:".controlPrevious"},next:{action:".controlNext"},progress:{state:".mediaProgress"},duration:{state:".mediaLength"},repeat:{state:".controlRepeat",action:".controlRepeat",display:{false:"off",true:"context"}},shuffle:{state:".controlShuffle",action:".controlShuffle",display:{false:"off",true:"on"}},volume:{state:".volume",action:".volume"}},alexa2$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$4,getPlayers:getPlayers$4,default:alexa2},Symbol.toStringTag,{value:"Module"}));function setPlayer$3(t){}function getPlayers$3(t){const r=t;return new Promise(o=>{Connection.getConnection.getObjectView("system","device",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push({id:g.id.replace(r+".",""),name:g.value.common.name});o(d)})})}var musiccast={_namespace:".{PLAYER}",artist:".netusb.artist",album:".netusb.album",track:".netusb.track",year:null,cover:".netusb.albumart_url",play:{state:".netusb.playback",convert:t=>t==="play",action:".netusb.playPause"},pause:{action:".netusb.playPause"},resume:{action:".netsub.playPause"},stop:{action:".netsub.stop"},previous:{action:".netsub.prev"},next:{action:".netsub.next"},progress:{state:null,convert:null,action:null,setter:null},duration:{state:".netusb.total_time"},repeat:{state:".netsub.repeat_stat",action:".netsub.repeat"},shuffle:{state:".netsub.shuffle_stat",action:".netsub.shuffle"},volume:{state:".main.volume",action:".main.volume",display:{off:0}}},musiccast$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$3,getPlayers:getPlayers$3,default:musiccast},Symbol.toStringTag,{value:"Module"}));function setPlayer$2(t){}function getPlayers$2(t){const r=t+"._playing";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","channel",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+"._Controls.playback.play"]&&A[g.id+".player"]&&A[g.id+".player"].val?v({id:g.id.replace(r+".",""),name:A[g.id+".player"].val}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}function convertToSeconds$1(t){return parseInt(t)*60}var plex={_namespace:"",align:{state:"._playing.{PLAYER}.Metadata.type",convert:t=>t==="movie"?"bottom":"top"},artist:"._playing.{PLAYER}.Metadata.grandparentTitle",album:"._playing.{PLAYER}.Metadata.parentTitle",track:"._playing.{PLAYER}.Metadata.title",year:"._playing.{PLAYER}.Metadata.year",cover:".events.thumb",play:{state:"._playing.{PLAYER}.playing",action:"._playing.{PLAYER}._Controls.playback.play"},pause:{action:"._playing.{PLAYER}._Controls.playback.pause"},resume:{action:"._playing.{PLAYER}._Controls.playback.play"},stop:{action:"._playing.{PLAYER}._Controls.playback.stop"},previous:{action:"._playing.{PLAYER}._Controls.playback.skipPrevious"},next:{action:"._playing.{PLAYER}._Controls.playback.skipNext"},progress:{state:null},duration:{state:"._playing.{PLAYER}.Metadata.duration",convert:convertToSeconds$1},repeat:{state:"._playing.{PLAYER}._Controls.playback.setRepeat",action:"._playing.{PLAYER}._Controls.playback.setRepeat",display:{off:"off",item:"item",all:"all"}},shuffle:{state:"._playing.{PLAYER}._Controls.playback.setShuffle",action:"._playing.{PLAYER}._Controls.playback.setShuffle",display:{off:"0",on:"1"}},volume:{state:"._playing.{PLAYER}._Controls.playback.setVolume",action:"._playing.{PLAYER}._Controls.playback.setVolume"}},plex$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$2,getPlayers:getPlayers$2,default:plex},Symbol.toStringTag,{value:"Module"}));function setPlayer$1(t){const r=t(".devices.{PLAYER}.useForPlayback");r&&Connection.getConnection.setState(r,!0).catch(a=>console.warn("MediaControl.Spotify",a.message||a))}function getPlayers$1(t){const r=Connection.getConnection,o=t+".devices";return r.setState(t+".getDevices",!0).catch(a=>console.warn("MediaControl.Spotify",a.message||a)),new Promise(a=>{r.getObjectView("system","device",{startkey:o,endkey:o+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{r.getStates(g.id+".*").then(A=>{A&&A[g.id+".id"]!==null&&A[g.id+".id"]!==void 0&&A[g.id+".isAvailable"]!==null&&A[g.id+".isAvailable"]!==void 0&&A[g.id+".isAvailable"].val===!0&&A[g.id+".id"].val!==A[g.id+".name"].val?v({id:g.id.replace(o+".",""),name:A[g.id+".name"].val}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),a(v)})})})}function convertToSeconds(t){const[r,o]=t.split(":");return parseInt(r)*60+parseInt(o)}var spotifyPremium={_namespace:"",player:".player.device.id",artist:".player.artistName",album:".player.album",track:".player.trackName",year:null,cover:".player.albumImageUrl",play:{state:".player.isPlaying",action:".player.play",setter:(t,r)=>t},pause:{action:".player.pause"},resume:{action:".player.play"},stop:{action:null},previous:{action:".player.skipMinus"},next:{action:".player.skipPlus"},progress:{state:".player.progress",convert:convertToSeconds,action:".player.progressMs",setter:t=>t*1e3},duration:{state:".player.duration",convert:convertToSeconds},repeat:{state:".player.repeat",action:".player.repeat",display:{off:"off",track:"once",context:"all"},setter:t=>t==="once"?"track":t==="all"?"context":t},shuffle:{state:".player.shuffle",action:".player.shuffle",display:{off:"off",on:"on"}},volume:{state:".player.device.volume",action:".player.device.volume",display:{off:0}}},spotifyPremium$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer:setPlayer$1,getPlayers:getPlayers$1,default:spotifyPremium},Symbol.toStringTag,{value:"Module"}));function setPlayer(t){}function getPlayers(t){const r=t+".Realtime";return new Promise(o=>{const a=Connection.getConnection;a.getObjectView("system","channel",{startkey:r,endkey:r+".\u9999"}).then(u=>{const d=[];for(const g of u)d.push(new Promise((v,y)=>{a.getStates(g.id+".*").then(A=>{A[g.id+".NETRADIO.PLAYBACKINFO"]!==null?v({id:g.id.replace(r+".",""),name:g.value.common.name}):y()})}));allSettled(d).then(g=>{const v=[];g.forEach(y=>y.status==="fulfilled"&&v.push(y.value)),o(v)})})})}var yamaha={_namespace:"",artist:".Realtime.{PLAYER}.ARTIST",album:".Realtime.{PLAYER}.ALBUM",track:".Realtime.{PLAYER}.SONG",year:null,cover:null,play:{state:".Realtime.{PLAYER}.PLAYBACKINFO",action:".Commands.pause"},pause:{action:".Commands.pause"},resume:{action:".Commands.pause"},stop:{action:".Commands.stop"},previous:{action:".Commands.rewind"},next:{action:".Commands.skip"},progress:{state:".Realtime.{PLAYER}.ELAPSEDTIME"},duration:{state:".Realtime.{PLAYER}.TOTALTIME"},repeat:{state:null},shuffle:{state:null},volume:{state:".Commands.adjustVolume",action:".Commands.adjustVolume",display:{off:0}}},yamaha$1=Object.freeze(Object.defineProperty({__proto__:null,setPlayer,getPlayers,default:yamaha},Symbol.toStringTag,{value:"Module"})),moon_0="/jarvis/assets/moon_0.0437dc68.png",moon_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_0},Symbol.toStringTag,{value:"Module"})),moon_1="/jarvis/assets/moon_1.66401943.png",moon_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_1},Symbol.toStringTag,{value:"Module"})),moon_10="/jarvis/assets/moon_10.bac5a687.png",moon_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_10},Symbol.toStringTag,{value:"Module"})),moon_11="/jarvis/assets/moon_11.a1a5f37b.png",moon_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_11},Symbol.toStringTag,{value:"Module"})),moon_12="/jarvis/assets/moon_12.4bdf2b5b.png",moon_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_12},Symbol.toStringTag,{value:"Module"})),moon_13="/jarvis/assets/moon_13.3d046201.png",moon_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_13},Symbol.toStringTag,{value:"Module"})),moon_14="/jarvis/assets/moon_14.e1e5a929.png",moon_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_14},Symbol.toStringTag,{value:"Module"})),moon_15="/jarvis/assets/moon_15.b170cb06.png",moon_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_15},Symbol.toStringTag,{value:"Module"})),moon_16="/jarvis/assets/moon_16.8869ca98.png",moon_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_16},Symbol.toStringTag,{value:"Module"})),moon_17="/jarvis/assets/moon_17.a73697fd.png",moon_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_17},Symbol.toStringTag,{value:"Module"})),moon_18="/jarvis/assets/moon_18.9d450edd.png",moon_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_18},Symbol.toStringTag,{value:"Module"})),moon_19="/jarvis/assets/moon_19.47c97c66.png",moon_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_19},Symbol.toStringTag,{value:"Module"})),moon_2="/jarvis/assets/moon_2.2dc0e6dc.png",moon_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_2},Symbol.toStringTag,{value:"Module"})),moon_20="/jarvis/assets/moon_20.1a496357.png",moon_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_20},Symbol.toStringTag,{value:"Module"})),moon_21="/jarvis/assets/moon_21.d4e4be14.png",moon_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_21},Symbol.toStringTag,{value:"Module"})),moon_22="/jarvis/assets/moon_22.fc4bfedf.png",moon_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_22},Symbol.toStringTag,{value:"Module"})),moon_23="/jarvis/assets/moon_23.6cc94fcd.png",moon_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_23},Symbol.toStringTag,{value:"Module"})),moon_24="/jarvis/assets/moon_24.84b7b6d3.png",moon_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_24},Symbol.toStringTag,{value:"Module"})),moon_25="/jarvis/assets/moon_25.cdca190e.png",moon_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_25},Symbol.toStringTag,{value:"Module"})),moon_26="/jarvis/assets/moon_26.6d395d8f.png",moon_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_26},Symbol.toStringTag,{value:"Module"})),moon_27="/jarvis/assets/moon_27.d8029260.png",moon_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_27},Symbol.toStringTag,{value:"Module"})),moon_28="/jarvis/assets/moon_28.0515bbd7.png",moon_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_28},Symbol.toStringTag,{value:"Module"})),moon_29="/jarvis/assets/moon_29.89b52e31.png",moon_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_29},Symbol.toStringTag,{value:"Module"})),moon_3="/jarvis/assets/moon_3.7759e7e2.png",moon_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_3},Symbol.toStringTag,{value:"Module"})),moon_4="/jarvis/assets/moon_4.49ed2475.png",moon_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_4},Symbol.toStringTag,{value:"Module"})),moon_5="/jarvis/assets/moon_5.c2b11054.png",moon_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_5},Symbol.toStringTag,{value:"Module"})),moon_6="/jarvis/assets/moon_6.3b36a24e.png",moon_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_6},Symbol.toStringTag,{value:"Module"})),moon_7="/jarvis/assets/moon_7.e84d4d0b.png",moon_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_7},Symbol.toStringTag,{value:"Module"})),moon_8="/jarvis/assets/moon_8.274f030c.png",moon_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_8},Symbol.toStringTag,{value:"Module"})),moon_9="/jarvis/assets/moon_9.5247cc21.png",moon_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:moon_9},Symbol.toStringTag,{value:"Module"})),weather_set1_1="/jarvis/assets/weather_set1_1.1593123e.png",weather_set1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_1},Symbol.toStringTag,{value:"Module"})),weather_set1_10="/jarvis/assets/weather_set1_10.1bf79e0d.png",weather_set1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_10},Symbol.toStringTag,{value:"Module"})),weather_set1_11="/jarvis/assets/weather_set1_11.a71e756f.png",weather_set1_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_11},Symbol.toStringTag,{value:"Module"})),weather_set1_12="/jarvis/assets/weather_set1_12.3731f595.png",weather_set1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_12},Symbol.toStringTag,{value:"Module"})),weather_set1_13="/jarvis/assets/weather_set1_13.93bdc8be.png",weather_set1_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_13},Symbol.toStringTag,{value:"Module"})),weather_set1_14="/jarvis/assets/weather_set1_14.398f08ba.png",weather_set1_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_14},Symbol.toStringTag,{value:"Module"})),weather_set1_15="/jarvis/assets/weather_set1_15.44efe6ac.png",weather_set1_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_15},Symbol.toStringTag,{value:"Module"})),weather_set1_16="/jarvis/assets/weather_set1_16.4e2ec397.png",weather_set1_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_16},Symbol.toStringTag,{value:"Module"})),weather_set1_17="/jarvis/assets/weather_set1_17.e4641af3.png",weather_set1_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_17},Symbol.toStringTag,{value:"Module"})),weather_set1_18="/jarvis/assets/weather_set1_18.2d4dc498.png",weather_set1_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_18},Symbol.toStringTag,{value:"Module"})),weather_set1_19="/jarvis/assets/weather_set1_19.f2ba7626.png",weather_set1_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_19},Symbol.toStringTag,{value:"Module"})),weather_set1_2="/jarvis/assets/weather_set1_2.3ce1bd13.png",weather_set1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_2},Symbol.toStringTag,{value:"Module"})),weather_set1_3="/jarvis/assets/weather_set1_3.18dabff4.png",weather_set1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_3},Symbol.toStringTag,{value:"Module"})),weather_set1_4="/jarvis/assets/weather_set1_4.d4f0b684.png",weather_set1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_4},Symbol.toStringTag,{value:"Module"})),weather_set1_5="/jarvis/assets/weather_set1_5.f12977d3.png",weather_set1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_5},Symbol.toStringTag,{value:"Module"})),weather_set1_6="/jarvis/assets/weather_set1_6.e94a1cb3.png",weather_set1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_6},Symbol.toStringTag,{value:"Module"})),weather_set1_7="/jarvis/assets/weather_set1_7.a66b1d69.png",weather_set1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_7},Symbol.toStringTag,{value:"Module"})),weather_set1_8="/jarvis/assets/weather_set1_8.ab353fcb.png",weather_set1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_8},Symbol.toStringTag,{value:"Module"})),weather_set1_9="/jarvis/assets/weather_set1_9.e686e2b4.png",weather_set1_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set1_9},Symbol.toStringTag,{value:"Module"})),weather_set2_1="/jarvis/assets/weather_set2_1.f0d1b789.png",weather_set2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_1},Symbol.toStringTag,{value:"Module"})),weather_set2_10="/jarvis/assets/weather_set2_10.5f3c3990.png",weather_set2_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_10},Symbol.toStringTag,{value:"Module"})),weather_set2_11="/jarvis/assets/weather_set2_11.527cf530.png",weather_set2_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_11},Symbol.toStringTag,{value:"Module"})),weather_set2_12="/jarvis/assets/weather_set2_12.a694b41c.png",weather_set2_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_12},Symbol.toStringTag,{value:"Module"})),weather_set2_13="/jarvis/assets/weather_set2_13.f38fcdd2.png",weather_set2_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_13},Symbol.toStringTag,{value:"Module"})),weather_set2_14="/jarvis/assets/weather_set2_14.f49ab746.png",weather_set2_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_14},Symbol.toStringTag,{value:"Module"})),weather_set2_15="/jarvis/assets/weather_set2_15.e21ebe64.png",weather_set2_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_15},Symbol.toStringTag,{value:"Module"})),weather_set2_16="/jarvis/assets/weather_set2_16.05e9d3a8.png",weather_set2_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_16},Symbol.toStringTag,{value:"Module"})),weather_set2_17="/jarvis/assets/weather_set2_17.6f8b3ae2.png",weather_set2_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_17},Symbol.toStringTag,{value:"Module"})),weather_set2_18="/jarvis/assets/weather_set2_18.53e2ceff.png",weather_set2_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_18},Symbol.toStringTag,{value:"Module"})),weather_set2_19="/jarvis/assets/weather_set2_19.2f8d04c6.png",weather_set2_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_19},Symbol.toStringTag,{value:"Module"})),weather_set2_2="/jarvis/assets/weather_set2_2.59ab0aa1.png",weather_set2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_2},Symbol.toStringTag,{value:"Module"})),weather_set2_3="/jarvis/assets/weather_set2_3.cb40b66b.png",weather_set2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_3},Symbol.toStringTag,{value:"Module"})),weather_set2_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADW1JREFUeNrsWQmsXGUVPvfOnX17b+b1LX3te4+uFtqCpRWEIikCYgTEsjS1IEu0IkJkKRqigsFQMEaURJBQlkCgRkEMmxhU0LgkpoZYhJaW0pa+vnXem3mz3H3zO/+980opKrIoTeZPb2cy899/znfOd75zzn1ErdVardVardVardVardVardVarXXokv4fP9rb8UX51PWrju9oy/TL8diSeELp9jzyNcMupcjbOjhe3SMNlrc89PBV7mENmIGevn7Vqf39nRtn9RSOTadiJEtsgk+q6VBFM2m0ZlB5SiOzob0sq/q3f3ffH54cmrjXO+wAr7n0ruyi4+Y9cMzC3nMKuWTE930yHJcqqkmW400b4+PSLJsm6iaNlBv+1Hj16ZRjf2XTxnVDhw3gtdc9OPvoxX2Pr1zavzwRi5Dj+VTTAaqhk+P6wggpjLTnB5fjeoi6TYMVnUrD5Rc7MtFzf3DN2Xvfqy3K+wnsvMvu7C72z1iTy6ePl6NKp+/5nmtau1PJeP9py+cuj8gS2UhWkyML+roAKygtsB4Ai/tIBvhMVKHubJzk3uKy4cHSfdj1yQ9FhL9w/UOLe/tm/HjhnK6Tc+kEMQYLoOqGTWVQtqxaVMgkacVAkaIRSXzGEZ7+9WmwngDLdPf94Csb59SQ34MTKjVGJm7H7SOxqJJwXc9IJmOvVavaiw/ceuHg/wzwpd/avG7lsfPumN/XUZRE/jkiL03XxeGSAO8xhQ2LxmsmzS5mqC0ZJRuU9UOwAZl9sc9luQ7R8ueRSIR02xOU5+8jEVnc14DDqqpBjbrml2rmNmOq9kTUcTY/c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FAaDVEqlyEphpHRtJlst6gTpWeee+C6kfftmdadv3heevaF3d9Id+Q/C/U41pWkqCt6ZTYQpcRxbBBg0DHNOdwMRFEH2TheHtday8JtUFIIn8f117YolUrjSoiyJsuKSA8P4DwoN0eyVqtTWy5NxY7iFDb+XeEJibs+w/RdzdhG1dqvV39q2TOXnHeC/4E+tbxsw/35clX9GKaRXu40HN3YX2jLbDntE4vqjz2//UrUh41Q3zQMg/GeGOUSmRSUNKJbVfWb8Uxqt+n7D2q1Wr5croVlyw+fZga5XMinqQdRdR1/J1WrZzx+z5V7PrR/ebhkw73ZccP/aHFgZkGr1Iq5Qr4ytmvfRG8+uXXTbRdXRb3/2qZOam8709OM9abrLo/wNM+qDTZAHKwY0a8cWdocbajPPnr3FY3D8q+H/2pdfsNDud2DpYVQaJT4SPmCM1fsuGj1CWbrj7yt1Vqt1Vqt1Vqt1Vqt1Vqt1Vqt9T6vfwowAPfq0r4Sq0gWAAAAAElFTkSuQmCC",weather_set2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_4},Symbol.toStringTag,{value:"Module"})),weather_set2_5="/jarvis/assets/weather_set2_5.ecadf35d.png",weather_set2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_5},Symbol.toStringTag,{value:"Module"})),weather_set2_6="/jarvis/assets/weather_set2_6.4b339a16.png",weather_set2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_6},Symbol.toStringTag,{value:"Module"})),weather_set2_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADjJJREFUeNrsWguwXWV1Xmc/z/tx7z33nktu7r25TUIThUqkpYOloH3IY3xVh2qYRIZoaimUccJ0HLElxQxSfGCptGC1ozjEoKDlUZoi1USr44w0phJCySVv7vtxXvvs96Pf+vc5yQ2SGQcjYHr+mZ2cc/be/7++tb71rfX/CVF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/hs4aX3n5qoHd4924pu/c5P33Ym1pNea8BvffOaW3ijjp4996M9B6495Tj4oe+vz2VSo3wIUW9ZN56J9ZTXGrDhuuXxY1PY7Zik6+op95YP9pT3jh+lDGrubLVBZwVgRPa6p/Yd3Lu8kKlddembvvLwknsfXrfq7tv/cw/vkIqVvsJXuv9h42wZ25+beOjBgzOjvxJGvd7APnRk/tJzzym/FxuE2/5fAG40zFvEf3Sx3Q3bvv+zkTM9v/J6AzzfaP7R8TmVDr04S0bgMa2PntWA/UR03Y+fGd+Yy6aOfPrtF+/uKlp3dEd3LB3/J8AAbyIqLVo/bksAAAAASUVORK5CYII=",weather_set2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_7},Symbol.toStringTag,{value:"Module"})),weather_set2_8="/jarvis/assets/weather_set2_8.60a1d07a.png",weather_set2_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_8},Symbol.toStringTag,{value:"Module"})),weather_set2_9="/jarvis/assets/weather_set2_9.a3f5188a.png",weather_set2_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set2_9},Symbol.toStringTag,{value:"Module"})),weather_set3_1="/jarvis/assets/weather_set3_1.4a0a1cb8.png",weather_set3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_1},Symbol.toStringTag,{value:"Module"})),weather_set3_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADhpJREFUeNrMWglwlOUZ/nY32SPZ3CcLOTYJAUIIRyIICacMIsOUlrHHADJVixeFaUEttugwtVSt4NiSaUcdBw1U61QURKtY2sE6JAjhvslF7mQ3m+yZaze7fd4/3x//LJtkk2wC38w7++/ut9//Pu/5fN+/MjZGIzMzUzac+bdu3fKwcRiyMQJKooAEQ4KG+IkL4qTX8QAtGwOwBFADCYNEPfTQQzMxlsbExMz2eDxMqVRO7ujoKH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mTUhlM1IDGFozcxhqG3A5y3SE37x4SO1opqGplvT4jUsd2KosH/uNFSXEkPkhdA9noAVI5ivOXXia+PMufmJugilylJfWf7uri0H2traLnMPe7wKnuurTz+qyZwxR5eeGBPhMjfXHSva92HZ9SsneV8eVw8P928ywbxfUiFKh0zkPfYy34zbfRQbFe/hWfw3tiHm31OARS8rebsJ42HbxnvpQOGp5IYK93P+mI3/CzAAkxYzEa9vHKQAAAAASUVORK5CYII=",weather_set3_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_10},Symbol.toStringTag,{value:"Module"})),weather_set3_11="/jarvis/assets/weather_set3_11.185852f7.png",weather_set3_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_11},Symbol.toStringTag,{value:"Module"})),weather_set3_12="/jarvis/assets/weather_set3_12.6045ff58.png",weather_set3_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_12},Symbol.toStringTag,{value:"Module"})),weather_set3_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADmlJREFUeNrUWgl0VNUZvjPzJvu+ko2sJEZIIKyJRPZyIA0URDhVFkWLR4qCCj1aW6W1ldZ6qqZHsWrdIlXLYluktQRroUQ2kRAgQoKB7Ps2GbJOJtPvf94LL+NkmZkXtfec/7w3M/e9e7/7b99/72iYyi0xMVHDb+kqKcRW64OYIGaIpaSkxMJGuWlGASyBc+HiCfFbvHjxxKSkpKmurq7eFouFkaD119bWHtu1a9ch3BshXbQAow1aoyJYLS6uEF9IYHR0dOTy5cvvjo2N/Z6np2cg9TGbzV8Tk8l0De2Tixcv/nrfvn0X0K1nNLWtURlsECRh6dKlt2dlZa339vZ2twXSllAzGo0v7NixY/toalunIthgSNKaNWs2L1u2bK2Hh4demO9IpL+/n+l0uvTMzMz0vr6+TysrKzsCAwPNzc3NqgLWqgg2EWAf+AGai4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3b8EiIt0YvSLek/flaXc6VGc1YRpIaa1HATVx2YGlGa+uqe22Je8JePNe/u+USbxyspMtU+Tkq+880eDZMfXQvwsRiW/kT/Kg8mzdyU/y/AjjhKK3zYg9fIIsj0DuK339n2PwEGAJu4s2BmtcmAAAAAAElFTkSuQmCC",weather_set3_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_13},Symbol.toStringTag,{value:"Module"})),weather_set3_14="/jarvis/assets/weather_set3_14.f7e520a5.png",weather_set3_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_14},Symbol.toStringTag,{value:"Module"})),weather_set3_15="/jarvis/assets/weather_set3_15.b285e8bd.png",weather_set3_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_15},Symbol.toStringTag,{value:"Module"})),weather_set3_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADJdJREFUeNrsWntMVOkVv/OAEQaG4aEwIOIDmbWCqCgoD6uuUAXUWFfTdY310Whda4yxtU3T/mOT2hrTuP6xaVNj1RiT9dGltdYHq0W0qIggBKQqCCIgAiIwMiMDzPR3rt9nL9OZYRhmfKT9kpO5c5/n951zfuec715B+B8bMm/ePC4uzqX7P3jwwPrBApaApF+lROyNfkgfZABifRvAZV4AS+B8magh2iVLliTq9fpZKpUq0Gq1CiQYlqdPnxYdP348H9sGyCs2AV4FLvMgWDl+VJAgSGhMTMzYFStWrJ8wYUKmWq0OpXMGBgb+S/r6+l5iXKmsrPx1Xl5eNU4zEXBvgZZ5GGwYJHbZsmWfZGdnbwgMDPSzB9Ke0Hj+/Pnv9+/fvwebnZBegLZ4GrDCg2BHQ/SbN2/+aU5Ozvf8/f19uPu6IhaLRfD19Z2Vlpb2sdFo/Edzc7MhNDR0AJPgUcByD4KNA9ifZGZmZkFx9y2gUExHzOdR7BMfuMr0XrcwU2QUc2M9X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ZPcOYQQpMGKiuvgV7uXxZZUhFwDooQBN7VYbGowCuFrZ5s2bx8FS38KxMrBuS1JSkrh4TG4Jq/tjXyfAWtnSKLHxK0xUJI7Fwl1VOPYUudTE7k1E2cqKB4Gxcr83wA5nxcPKRFzlhMLRUDwalr0Gl256+PDhuezs7GQoH1ZcXHwVrN0qIRjVunXrPgaZ0QenoSC7EyUlJS+R0hQ438JA9zGgfJK99qrDVcBirQ0XTNuzZ88fiakfPXr0EAz7NeKN3LICoH7I1rjJqk9ZE06pLXT9+vU/g3WjiIWRvuYA8N/YS7s+bwMcNmDMvoyvbn4HgzM1Kq/JqGe7AcLMioAXbGIGGNg3NTpdw1kY3mFErL+bl1WCC1/isdkn5Y3nz5//RsLUlXDdDmYlMysKDOy3n11Dx9qlLHzq1KmvGDH1vQvALvV1UqbOysoSmRpMXID//2KE02fPLSXXvTUW9ghgprxCUmv7sUpM/FTfmeIMtJLFrNdZ2GOAJcorWCiQwgOuKM54QHgbLOytl1gy4f/jwxj/FmAAoOrzgbj4d3sAAAAASUVORK5CYII=",weather_set3_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_16},Symbol.toStringTag,{value:"Module"})),weather_set3_17="/jarvis/assets/weather_set3_17.15ddf6c3.png",weather_set3_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_17},Symbol.toStringTag,{value:"Module"})),weather_set3_18="/jarvis/assets/weather_set3_18.d28f334f.png",weather_set3_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_18},Symbol.toStringTag,{value:"Module"})),weather_set3_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADTdJREFUeNrUW2lsVNcVfrN4Y7wveME2wRiDTcAsJZCGgAGDsZsgBARUlBAEQVBUqfAjqKhJKxXRKAmJ1CgNUoRAcVSioFQYhYSyNIqpl2JCgRIXGz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VZWVkuU8smac59YwnWK4B1oBWJ6YuHFhmGescijRwzwA7A9f+C1/c4tKof/xNgAKwiK0tjgugVAAAAAElFTkSuQmCC",weather_set3_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_19},Symbol.toStringTag,{value:"Module"})),weather_set3_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADO5JREFUeNrsWwtwVNUZ/u9j35tskiWbLCQEkpBCTFDEqAioMFhoJbQyTht12s7oYKF2nHZ0hqqtrxZH2/HBFFofaEXbsQ8rVRmttKWgwVAcH4CgkBiBkNfmue/HvXtP/3P33M3NdZMsMYR0ysn8s/e1d893/td3/nPCwcQ3TvepF60Rw6fxO0R3TzE8N2GdO1vty7yfwPl2vp1v59skB63xRvexAhf5XwJsTFPGNMYbgBFDqgLDOZmqgPWA9MC0PtBzEUVgxxRIkokxHys6yTQgIzZ+EsHyDIwJxYpiR3EyyUHJRXGhFDz7Hfdl+Ommxyh57LqLPUefd6BY2Lv4DFYzYhMmESzVnjkDUO2YAs57/QeF315zcc5Tq2usjmf3hT7Dazb2HQrSsaraWtjSIxPW9zM2beEsA9XM08TAOhiwghObZvy2tECUdh2NyXieTzW6bolzwbpl7rus1XPMRTayYJZDjr92KBqgA1Mz3VT88q2F3/vhstyHF1dYoi+9F/k8gz+P6abiRCCrqqpSfyQSiUAgEOBkWabCJxIJTbMWpimq0YKXbpm2tnhmwVW3oVy/wH7qtUOR3XuPx3t/eb37NlvFDBvHERBLiuCmFfKG/kjSLfKcdOPlOavyZhS4+Rwn1EY+/wa+p5ENJH1/CCWGIun8njAf//JBSwOoe4dICBEVRREkSeLj8TiEw2EuGo3yeE0Fi/edzCc9H93jvat6adVFnNkEJJEApW8AlEAYxDIvcFZLWl9ESULydLd6jS9wAcenQo7c1gXrnmy7//cHwu/jaQ+KXwc6jpIwAB+/STOweq3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BpmPBgzHUeOaMGRYr5jopjmifl+WUwfUygqH9Nw1yy0Uv/sT752xGInd/uf+nTsPRzuZ30FpvmDbsb6w3mnhLXPv79jMwGnsSfPTqL6qoTPjjB2DSQJtZkHRzM4tLD7QnT2uldXWma29stTskyO69V0tNsDqWpsLB0KbCGjsSQOoLYDLmcx4sgDrQWu78DQRYfjGGE3r2mYzWWeSWjCUGUBNm3EYvvCd1TbEyZip63OMPpJrG9ZMOq1reyyNO3A4di4xbWZa4c9qv+W53E1r1DxvAKxxEU53rOj8U4Ez2FR6LgFnAj7Sf76MNdsct7md65ZtP87/p8v5dr79n7f/CjAA63q2fzEcWNQAAAAASUVORK5CYII=",weather_set3_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_2},Symbol.toStringTag,{value:"Module"})),weather_set3_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADP5JREFUeNrsWnlsHNUZ/+bYe73r3bXXdnwk8ZHDmKRWEo7EoQkK5CDQEkGDGtq00KStqJAqQSMgSlApLRShCrVRUgoVAiSklhZKQ2n5g4aSQAQiIdAk5HLi2I6z63vv3bn6fbNv1uNlHds5HFfyS36amTfj2fm9737vAUy1qTbVptpUm7yNm4TfYv4mbYRntf8nwlze73J5/XweMTPy+8dNnrsKRPk8YsY30LWIENg5EVEY1DxiqgmFBmTExk8gWZ6RsSDsCCfCzVCE8CC8CP+L3wlcj8cAnSOKWb+XPUfPuxA29i6+gNaM2IQJJEvSsxYgapwT4eKXvxdYu/56zx/XNtldL+6LncI+B/sbIula1WgvPdkta+zbx63awhUmaqinhZF1MWL+M09W7qz2i9K7R1IyXvtIopta3M0P3lqy3d7YYC1zaM0zXHL6rc+TERqYpmmW8tc3l278yXLPU0vqbMnXPkmcLmDPo5qpeDmYzZo1S/+RRCIBkUiEk2WZwGcyGUOyNiYpkqj/tftL1pXX+L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zwQxb0FfEFUdSGiUXnUyd+5gjTplsVy24XIqkNSQts9FJspESxxpTkRyHNkbbHWgngIiwIoiwD/vLIkmtItoh9/79i2TH7/ZE6eOcd8xzVL/Q6L6Zr3VkE3/8NLW1H/57MtrTNLuohJ+OCibgAEgypDtj6a1/G/hPKKp049+TffavmGPnwlGljUm2z5RVSXkLUnk6U3i5ZVyNYjjt8cAsiqOtD0jSgoNgx8HwsGmkADMRY+uRvsnlz5tKV962vHgBFFkgcTKWevQvfR89vzfW/sOl7mlP3ulvcVTZ7BCV4Jk3+t95fPfgfiaIAWajkbxzg+ywhfBRCV/qtBMM7eIx9mW5TUTtbOKQrr0zAkL5hz+reCiV0VIP/qlv9+4vkl3M7qDaJzje+FHp7W4bb5vz+LnnGDkjezLsNGme1TCpccEPgwkibWVO0cqubcw/0M4e78pGe01rjyydCMsJ0/qu4Rtg7bUOLw6EUQgY2ZNB0FgAlwup8UQRNpM2duEZEGH4xhhD6sZmM9mkkoYzlBlBQ5ppGL7wPaZtiBNRrJpjjNmTGxvWLCapG3ss83fgcOxaYtIstMI/pv2WV3M3bb7k+TzCxkoZZzpXTfapwjg2lV5NwoWIj7Ak+NXoB+PcPTuZCF/Md0yulYCpNtWm2oS3/wkwAMJOyE/CUR3CAAAAAElFTkSuQmCC",weather_set3_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_3},Symbol.toStringTag,{value:"Module"})),weather_set3_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB/RJREFUeNrsWltMFGcUnl12lzss9+WO3ASsUEFELkqMhtYHAmkCxEaS+sCDDQ/GgLGpL7U1fVETE/piE5JCeJMXa9MmvSQUufoEIdEQFAFZFQrLVVhu2++M/5BxGNhlZ4A12ZOc7M7Ozj//95/zf+cyw3FucYtb3OIWt7jloESzF4OmpqbuetzBwUHbRwmYgdVB9ez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4G03VjtWY/FrDIB5YfPXr0QSZltyimB87c+7doqEAO6OzsnEG6FoMy0cuVwS4sLFjv379/F/P9nYUgqyMP1Qgw+fA6cwcDxVQMMomKxAcFRTCrNlxGaMuhJjY3NDT8NDAw8Dd+Imaeo1OOvCmgEbV26ElcFPQQlYr0iXQzqqysLA1VSXh0dLRxuzi403e5c3JkJHe9+Dcw8cLLly/NHR0dT7q6usSZFMXdZUcfmWpk+ln8a0fUEODev2uldxHjrrLMaUwmk3KYaTWSJt6WF8uE5tcBg7WxbUdFuWWnTMphwDLdS0dfHdxPUfyaoqzllLw0sh+yXy+iusUtbnGLW/Zb/hdgAOiecUZAAVhqAAAAAElFTkSuQmCC",weather_set3_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_4},Symbol.toStringTag,{value:"Module"})),weather_set3_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD3xJREFUeNrsWgtwXNV5/u/du++VVtJaK61lWbYkb4yQDbJREPgBGBNSIhFwmVYhE5iBEttx0yGFGZeSQKA1BWZ4ZGpoDITEwMC4TUIeGtpAamxiR9QuGNtYtmUhLMuSVitppX3f3fs4/c/dc1dX65UsGZmoGY70z717n+c7/+v7z7kAX7Qv2p9V4+ZgX4x9IpNcS/4/AeZy3svlHOdzgBkl9/iMwXN/AqB8DjC9D/S3gGJi+xSIwkTNAaYaJN+ATNr4zxEsz8CYUWwoDhQXkwKUQhQ3SslPvuW5Erceuo9SxI672XX0eieKlT2Lz2M1kzbT5wiWas+SB6i+TwEX/fY7pX9984qCHc31NudP9sc+wWN2dg8F6fxqna20a0gmrO8zNm3TRQaqm6eZgXUyYCWnt1X8W2WJIL3dIcr4u5hq9J7VroZ71pc+YFtaaymzk4ZFTjn1myPJCB2Y+vnm8p9/u/TOv72u8PFVNdbkGwcTn+bx5/O6qTAbyPx+v/aSRCIBk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qwhQk7ohNlRaPXPs8FAJA3DcRmScgZPuLczAOMfk4k5QKdTbc64zeRrWgpkbP/+/QeLeDG9tNQOl893gMuSeUT0zPEOFlAkQ4eopqN9xz846sYa1Y/3rKhwAi1bCy0AR9/fe4ilE9Fgprr/TibqZym8Zro0qIZCIeXTrs7Y8iualgt2l8UmcKAEOs88du9dj7MCJJKbEo5/fGSUM5ntVf66GqfDbuKICmfb2979xSsvvoGnP2GgldmqIM8XjGZyrZktlC9CqbnzzjuvGRkZibe1te3B38dYlZI0ANYjO13dqEQys+T666+v7+rq+vSdd975iE08jOSY85wBrAMQGL8uZoUFYZF5lHVcmeKeAjYAIgtSCTj3A7I5BVi/x/h1O+Skianu0e9T8vHcuQp4snvJDO6bWytyX7Q/o/Z/AgwAuUYe1sLLlg8AAAAASUVORK5CYII=",weather_set3_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_5},Symbol.toStringTag,{value:"Module"})),weather_set3_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD0VJREFUeNrsWwuQFOWd/3f3THfPc2d2Znd2B3Zln4aHCHeggC6hNAS0NqjclYBKypSlZ9RUzgt6V0FN6u7KuhhCJZHkcpeYpOQuxZ1JKZwXSk2CJIJRgcAKyBt22YWd3Z3Zec/09Ov+X+/Xs73Dzj5AyHrlt/Wv7unn9/v+r9//+3oBPm2ftv9XjZmCfbH2SS+z/4kCzJQBaQpbApKINsYA6FMVsPkutgSgFagNhaP7BIhqEb1kEMyBsP4et3HXECxD30dA8VTsdCugOFBcRFbNdYSORxSOHrePItzlKou7RmBN7dkpMKcJjoobxYvi33hHxV9s/mv/K4saBWnbvmyEghYt94kloCdl2txVBspZwPK00x4U38GNtX+Xk/XsoW6ZHK9ECd4xW5y5eU3Vdx0tDe5Gl7K00Qf5HR25OL3Hu+mv/It++sXAP7WG7PHXP8z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aK/3gdMIflk4WsNGZaDSaaakUQMJXSwj2VHRIMalIZ8TCWy/pwPVVIrh4FmJoFf2ZofGIdx7rpffkqKnqxYXe0UFMSpvl/HLCfJ3w0tdff/3to0cOdzUi6Jumu6E5IIKAxn5u/+59NHLKls4QZKlX/33Tm2cvRuVZ1U5Ycp0HqpEx1dhy8i9+/pM9VLvmQMkW/x1N1LEi8ITmvyajXfrS3Mk/vfuRbHP5ZUXlMfAkj+/61ZvbfvziNjx3moIeETSSyaRyYt8fenVPdWU+k5GlRDT5Py9+Y2vnmZN76D2JEr+9arP9zGUMEKmsSK1ZA0Of/QKlciaty1sAsyXXe+kzVDowo91zddeeL2eFA4Y/BzZjgGItsse43m4JQPIY90wpwDBKOTPeR9pj/QPH1Fms+rR92j557f8EGADIKEi6pUvdFAAAAABJRU5ErkJggg==",weather_set3_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_6},Symbol.toStringTag,{value:"Module"})),weather_set3_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC1xJREFUeNrkW3tMVFcav/NmmOH9Gl6CODzqA7pCtQo+0m1IJT7WVTGVjbX+sbu6uhoTDW262+422UdqurauRrMbq4nb1FdKzMZkkY1mo6ygLGihBgoVAQFBXjPAAAPM/r7rOXgZZ5hhGBDTk3y5D8659/ud7/3dQRB+YEM2nQ9PSkpy6/k1NTW2lxawBCQdlRJyNIZBVtAIyDYTwGXTAJbAqRnpQIG5ublZc+fOzaA5er0+0WKxtFitVlNPT883FRUVRaWlpY/wpwG2AdMKXOZFsHIcNKAAUEhcXFzMxo0bd+D+eh8fH9/R0VFhZGTkOaL7AH65srLyDwUFBfex1kLApwu0zMtgQ0HG9evXb87JyXnXz89P6wikI6LR0dFx4vDhw7/HaTdoEKBHvQ1Y4UWwYaDk/fv3f5idnb3Z19dXZbPZBHeJJK1WqzMy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954KVDQHOMRuP8zMxM8f8Ybt68ebu2tpa8LUm5U6Km/FMOefYFGRkZKxISEmIRftqvXLlyFfeqQK0swZl1gDloJQs1gYwElvZ1sRRw2I55BduoYFaYaBnAx2xzBpjqC7MRMF8jZ0BUkgR/hAG1TbBRarZuROLgZvQThsyLa21uzpdJ5r6YL+0/pPF/AQYAWohllWiLkR4AAAAASUVORK5CYII=",weather_set3_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_7},Symbol.toStringTag,{value:"Module"})),weather_set3_8="/jarvis/assets/weather_set3_8.3b3851e5.png",weather_set3_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_8},Symbol.toStringTag,{value:"Module"})),weather_set3_9="/jarvis/assets/weather_set3_9.a3e45e75.png",weather_set3_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set3_9},Symbol.toStringTag,{value:"Module"})),weather_set4_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2Jl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tpdbysq2UJR6Y+jh5YcYbUHjbRbcBOPlYl64STRRMCB64CjqUjYRVstXV3WLRzZFsGvtg0yYpeJawEKwI0AyWvwkWNRXMu4SEY9o4BlTXsNpywNbs8KgSPqoDzqKYiib20FpTo6inPfcC1cHaV8DcGP7GV6zU8YPSk62BasiEuWIu8Vwwgz04xIEaGDifuhCOPDFWzAO6dcO6X3rOwqqeW3qT3q+dkpU0EY+vAsk2MMRnZnRBe9PTTFoQH3JSfT6mLs75QDO3GKalHbIlMHTPUxTxiswe9d8B5Ph/apNJsr2vKnEHzzFqRaqAUP1k6D9bx7IQJzEJDtNP2d9fYvkpV0+sdlW8scXaXn8X1A/99+FuAAQBT6qUcRUZ0vwAAAABJRU5ErkJggg==",weather_set4_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_1},Symbol.toStringTag,{value:"Module"})),weather_set4_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21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1VGr0K/h9cLDxKjQ4QCe4IaIiYmIidna2////w4qvhAAAAB8dFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wABatoxAAACuUlEQVR42uzW+VvaMBgH8FqkeCBWHVQrbQUcGxO2yQ43QN10MnXiMe9r933feRv/+aUHbWnTVrZf9uzx+9P7hHyepCFJy5z8RZgz/H9ghWEY6Y+wIuRVLbUpuV0sC6qV/FJ7WJlTnRHkNrBcU1sjtIEzqjtTp8GVlWWAXLzbo6VQ/JOHZuIuXMtklqQALNUBsrOciLnFBcK9o6tbvrjMw8xLbIZLU/WcTMeFHKRFbCdJ1YJCxSXIshi3apWWuYYHMwCRFovZLMS7u6lcceESJLErHHXZ9Q2rtOACgOjGeD+ZTNOXPS87cOEdpDE14gJ94WzMkM0xi31CFi7u2XLa0AaukM3xYd0P47T+7C7OmLgMkIzGunr8sMhxs1n3yk2ZuA77r/piXY98tZZFlzbxJ5hhewhm2SCMIzMtM28YuETWSsfR3uOQsR1YMTBPtpaJOwKnnnUMXTP/KgBs4Y6OHX+853jqNzR8buBZb58P5mwsnNBxZ+dw59eYl26OfLGwYB2MHHAuHImcvzA88DwajRLU97EiPhkZv/vg4YaJm/e4hlfIefLim9zIpevXrly9ON7ff+Py0BDBk/A2k8lsNZyXATnJ4mnwCwDJe4ctQ5o9DsVrn2GFcntKPNHrIfj9U+ALtKtXuzf3NncC8NrGNvBl+qVfrmuHbuHo6BbJHZJJklwud5vkHsk2+XVZ8n1jVEoQFL7EBL9uCszu619MM98fW+Xut/nw9/PgBEqYZWIMjVrNCIW/3EknZFsLHyA0EYo1e9+2qGjU03azP9YsOrQtSul1VSunQ7BujakaFrmb/XFK74R+aPWhXupTLRrNxWA8avTSp2qU047mRDA+0DsZq2qAQRuvhnzEpSbshanakzCaq2FfgPOrCI2Z06s2ByYP7WgO+p9T9h5MFO3+86mzL/1/Av8WYABAz+FidibpbgAAAABJRU5ErkJggg==",weather_set4_10$1=Object.freeze(Object.definePro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4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2MjUyNDlFNzJBNUIxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqVcFM8AAAJJUExURQCe4OMeHPv7+46PkPz8/Pf4+Pn5+Z2en/r6+qSmp/j4+P39/ebm5/7+/unp6u2DHZWXmPf39/778Ojp6RCk4vSqqru8vffGJPGOjfjRUM/t+eUsKutqHfDw8Kytrvvj47/n99na2upWVd/g4bO1tfrV1OPk5evr7OQrHOLi4+jo6eHh4uDh4vzop2DD7OXl5uLj5DCw5vPCHu/5/b+4VO7u7vb299/z++LWMv3wxO5zcdzd3uzs7I2Ogt3e397f4OdEHPfKMvnZbfHx8n/O7/vhiv300/3x8fX19cPExOc6OJ/a89vQOdLS09vc3ehIR/bbHsLDxPOcm6KgbuldHfXPHvj4+eHh4fzstuzs7SCq5PCcHfa4uEC26OxlY52foO6QHeY3HJ6goZ+gofPZg/vkme7u7/Llu+/v8J6foPrgivK2Hp+hovHx8VC86tHS0+ncK22Mmf3wxeG3K/734vXUaMvMzff3+I2MgtlrafbIMcrLy/T09IyBgpGTlPXy5/TNS/39/vDiJfv7/JJ7e/TKPryfU/fTXPjNQfPpyfbJMfDcnPbflPnVXu7kxK/h9YuNjvDw8fTnvc62tpSTifn5+vTQWfLVdLi5uvj16vLy8pSUfKutrfjhle3t7tRLMebn6Ma+Tfz8/dIyMJuadd7e3/r5+u++HKqrrLS1tbVTU9DR0vvkmPrde8PExY/U8c3ERtrb3JuTc/ftzfPs1/b29t3e3qCflaChovbSW7pMTOx2HXDJ7rCxsvbCFYaIiffoHv////////bFgxEAAADDdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AI5OIL8AAAOXSURBVHja7NbnW9NAGADwHCH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knEkUi1ZMv1dcgSssfFssWFLqGkrKoHecLw/0D8HMDTmFlmQQB87AbfLkiNlmU1IGveMSaZJCEjodCs2mYo+XGp+sDF/yE8UbJ9Gzi+PA3RmKm5HZTvHCmR3Xi+sLy/+X9b8Y/xJgABVj6ysETBn3AAAAAElFTkSuQmCC",weather_set4_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_11},Symbol.toStringTag,{value:"Module"})),weather_set4_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjI1MjQ5RTQyQTVCMTFFMTk2MDg4MEY1QTJEO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FC86rS1tc3P0I/U8fzsttIyMNTSyeHLgNlraZmYjt3XwtRLMebGWryfU+6QHZuTc8/R0vnVXurEQn6JjuHEZOTFWevIUb/AwdjMovbCFYaIiffoHtna2////1cgJUQAAADKdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDP3C3ZAAADm0lEQVR42uzW9V/bQBQA8Fyx0o4CXUuBFi+MucCAISvOcIYNGUPGBswFtmFzd3d3d3e71/S/2qVJ2iRNoWy/7LPP3g9NKt/eu3cvuVC2PwjqP/63cH7472GG5VeayCG/c8zYVK2zGVGcKVxXjXRjxMUoDiGkTCKvS+OMY8R9ce01RSFWa1JRjVWJdJ16vYdYT8ZEBPLRwbxHI+E8cwAJc54dK5Uhy53YmrQ8STkCrg0CLiIvEGx1CffYEACgzvqhUqmy4gHSXsri6nRdvgyeHQnqazQXjWo4+MYVd7wvQ44lE2BDGmg1tCMUWkhZY5WJMpNM2haIV9C0SJfI2HaU7oqbATRCS9/PUUNUbq4U16A+V2yBRJF9vYluY8qeEnVSPHIZqoyRYANAjgjHFtCK1NRUUvaUhdKKm2JE2GAGrchebeFOVPFSHcKXm8PNpDnahHZZRYGgcCtLohYKBk4XzbkWIH6Pr8AWVGwSlF3NzH0lX7oiFCPEpDsS13t7nRdMuFeYhkbVmEj+IIrrcGQU4jTY0Orr7VXn+HUL3ktLQpHo0DdQsRPngVoxjmAF3yMrcC/tGo0ATOYdIQh1OrEFsmg79qlvZSeMl8lgeoO94xBKF845krQWi8cvYVKPxbFyls4BIM1eZBRdkgA0j/39/b1aMF4hi+lU2E5W2eQef/yJ3QxMk3Z9p1QuReFu8a61GA9tW+/tIn0HrtyFnQhVGkU4CFROfBnjt+UaTXJy+eN+Hx8fouqX1A5sDfWbs2BjKTwwSm+9j8j1xOMXGOMTDF49TzVjQuikaVOmzvLzmzg5MJBgNTzTSzG5knNaWXyE2EsHhvZf/3wMH5biW7CFbw9BhwWAtt6On5MJ83FaOnJWD+zTx7jgdZGg7Wfwd6f9Kk37bA8EyG43zH3zXnLdRaf9Jpnz7jPkXmyQ36tmkzs2fHDarlelpUEkmpqa5pI4xFyTZoPbLTbPcqrLYc/dtO8aX4a57WMYgszrRtzcGxw2c5X9g7CZD9lvEqhRHysKCwuzbdmZBGewNpiazxynz6SCPXsm6Sa22362KJiinrCWqvIMk4EbWEuRiGAtleARzsD4NpszY6lo1rLpj4o3483ZzDE6mDFkqlUUl8HoOIMv9HG7qeISIBl4gAfxU35x2GwjKC6D0XEht0g2Du2w2RZT7uslxp8aHKfMQjEmjOjF0R7gO4OCN9MjOBIW4dGD69Hs/w/rfzH+JcAAHbBFBK7h5VoAAAAASUVORK5CYII=",weather_set4_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_12},Symbol.toStringTag,{value:"Module"})),weather_set4_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21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b1fG5UuO+dvGwOOLBgZiXmMvLy3DJ7nK31JyVhrS1tsPDxMLExY2LhI6Qka2vsOXLnGDD7JGTlPrGZt7Kory+vyqXxem6Y8/NxtPDpOG/gKyur+jCe7O9wtHS04OrvNrBkvO3R8nGv/rLc66wsamrrNPV1uPCgtzIoTGo2erEfKKkpefBedXW14mLjKqsraGjpPG5UfvZmX6JjuzCcs3P0Om6Yt3VxuOrQ/izM4aIidna24mIif///5gYohQAAACzdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8ADym/6AAAAyBJREFUeNrs1udb00AcB/DUBKXFhkJpWgFrh8hSqRRZBQHZU2TJBhFx77333nvvve6S/oVe9rZB3/iC74vePXn6eS73u8slWPwfgs3h/wXjLhT8bzDp9jNc/G5yttjFKOKaHXYzqrhngzXWRBvgXBw/y+hyIjGmJjZCLsnzNNgfSIQnHFCKjjNMM26OqXXINHURNO0tzkRdvWaaAyaYQnfc5qGFdJUa6qAJRuMW03KITOOxXQcDelwA4UdaGSIKIWMYd0CL22FYISt30bQTVS3ZoG6o9Lgao4GdCjxeiX6a+LobcVyFQzBTYTs62F9PJBJpY1fNYOyAjMmQqlpV/XLfwxZOP7hLwrloc0S98oQ3XNKUXb9njosY2dIznUnS36v7VWX3CFtOrUkeU8juTVow3y5OGFTRmhCbwlqN89gGoXchwu+FCYNq2iDFGi1gB4zYWUwQ/IT1A3PZpF60AIdxCD08zliK5l0NxmnjtCl3XJAvmA2tsIg7u98A8NMEe5VDj4g4LONXAHyjzRKVcTCux9unwGTvgRd2Q0vskLCflHBUwp8BOFZf1OAt8nQnqWDGgDOl/IqIg6T4YCgK9g6AyVssHvMV5jh9Pl/9QNHuhnOp1xctXrJqbbkw5+CI4nl2wCaaw9cAAC+/927Zeufmjyc5zhWpqSvT0lYvT0lZxuFPEOIopOokQZvEaUd42xTCjwGX24U6XPcBhvQHINUOS70IHwZSHvl0ePgCdJAGpyf7UA3uuSfbI2M6/HwzhAWG53ZuO4Q7ZbufHYmtUPlwXd3gs4t334YRdRSYHPqU7fRRyf46zz2CX9cLxz/fhkjzN8aMZPP32dg8PHSKa+/feG0L2R5Qf3hXtbbEYrHWGGsbuQvpGFbGttk92BprXwZXER4VLZbN2iwMy7OEG5FtkSwmWCzdEq4BoEa2PYLlbz8RbgXgKdfpYwmaam0FJtxBYlwDZkq4Dm/y4nlcW2EFl4B83gq4TMCXreAvwiLFeZQVj09zON0CLskflfonkWVNXxZmvspKPNSiuFxbVst3sqctfXsOzX1vz2Hj/BZgAB+JZ+3/ZqtFAAAAAElFTkSuQmCC",weather_set4_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_13},Symbol.toStringTag,{value:"Module"})),weather_set4_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuM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zNzeTl5dTKP9jY2fbp6dzd3c/Q0dDQ0c7Oz8HCwsfIyenp6aKgbtbX2NPU1djY2La4uOfo6MDCwuLj5NbY2NfX2OXl5uLj46Smpq+xsrpMTPDw8cnLy/T19dzc3fLy8vr6+5yensw5N+3t7dHS0s3Ozs3Oz/Hx8ex2Hevr7NHS09BeOLq7vJuaddbX17Cxsvn5+dHR0uldHc/P0MvMzencK/XPHvf3+KqrrMTFxt93Ku7u7re5ucrLzMTFxYaIiffoHv///////5gYC5UAAADBdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCINFSNAAADV0lEQVR42uzW91/aQBQA8AtTgVRUcCCogKhYpMPRVq211l1HrVVr3XV277333nvvvfd8iX9aLwS4BAJo+0t/8P2QzyPcN/fuLrkEjf1DoEn8H+LS7L/CjQZ8qEBOrA2FE8WFKKm0FCHkLE1CqHGCeAhx4bDjQznKmwA2GLIL0HuLHTkYxl7vKENZeXnVhePEfKcMU8bwwXWPksJgY65MBaC3Puf+rbfn5DAkPrdZLGFwgwx8oXKNIaH0BnKGwrkYmXNtGk3+cpzpu6UwyqouzJbAVkw1LB9azEe/B2OHvR4hCYz7detYf1QBvJoWrJlFqDq47AZsWWFgvUIC21FFMDaDXifCLC5lZGR3YO/lqCYI2wA0YsvqzJ55bxJzSzlyNgZgK+jZwHDJ3Nyql/SKdNk6frEJzlSBi5UKXT7Wor4dKKtAiI16gPUaVjqMuHM4Oei7gMVrfZj7+2WsPARmXZ6hl+z3Y+E66/SgGo6KXhwKsxqNzQ3+hXvqnW4eZwLY5FHR6tCau+XwyAY9eCNCBoJV4JZzWKEOp3F98AnfYDn4sSQThm8tLY+nvJWH0ypoYpg25DQIbpJMMLNeHPNFHYbnQwk3X3ljIizz4/i4OEVIbgToZcr824EEVsY2x4cY+91OeIE3oiwx1otwSlr6k9iYgAuob9FX1m6G+0NJNaKybWTCfFhbvGD61B/FN5o3paTdSS8+0T9j5ryFSw8DdFcEbL06gHwpPHtucvL8xMRZyy5o5njwGxhFhsB92woqI8YPOgh+tleAl/C4qxOuo6BNHy+guT8q+vc5grdvIfgij0/1gfmgIfiNgUetenj5ESl733lB2T8Pcfh4C65P8nVjw49V7Y7223s6tg4fOHPp9bGe1ad3Vr3rOvLh6OOeXR9/fVvVB4GWbAZa2Zp7/v0eWq6SvLW2lU+supDvZ4Vpg1Xmi9qv/lS28hp3tLq0YV7uA5XkbNEAyZWmyJ8VwjYKk4L8SN0WGdfR5GSloIiMhIgfNLSA0jTpV0krI30NKU0UZVL6Sib5WB1FUUURcCpuQ6V6h8jlN70lczmlDI8TuDbesQlz2oPp8fdcJ8iVHqwIjxW4uwRvGy5v97UvoqizRRFnOyNDsDiCXEFPfm9P4n/CfwQYAFmWukMdsSdjAAAAAElFTkSuQmCC",weather_set4_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_14},Symbol.toStringTag,{value:"Module"})),weather_set4_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIi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ca+TcbIybq8vOc6OMnKy7eyWre5uZJ7e6Cio6mrrK+xsvvj47+4VMvMze2DHayur9jZ2aqsrb2/wMzNzq2vsKOlpcTGxo+RkqqrrM3ERvGpHdBeOLO1tra4uPbp6bK0tNbX2Jyen5yensnLy993Kufn58jJyq2ur6Kgbsw5N6SmpsDBwcrLzI6QkcDCw8TFxs7P0MXHx/XPHux2HbpMTLCys5uadYyOj77AwNTKP5mbm6iqq83Oz56goZGTlM3Pz4aIiffoHtna2////4VCcQsAAACodFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AJlf7PQAAANPSURBVHja7NbnW9pAGADwC3EgKBVBEAdD6watVRS0VRwgauu21r1Hte7Zvffee7+J/2YvBMgAgtYv/eD7Ic9LuN9z790ld0F7hwh0hP9DXJf1TzhLjy+dyI61vuaguAbp6uoQQvY6HUIrB8RziAmrCV/6UNUBsF6fdQoVGE3ISlGmeqsbFVVV9dfsE7OdUpSbYoPpHukkcHmrTAPgMo8z/9abCgooLt6vG40SuEsGgdCM7SG+9AeyR8KtGNm22pVKz0WcuSbDYVTUX5MVBpsxVdJs9GC++DAUW031CIXBuF8HSQejAeDz2VBNDaP+0LK7sKX5gfWFMNiEOkPxEFSQAkxvAayuXjsnwn1oMAQ3AyiFliZtvnmfEhZv7EP2FRE2QwUtjo4WR4sFoHFUoN317GJzOFcDHXS4ID1YC0q3oqJTfFzu4q2SODJx5/B0OlC80W8DuBw/kUuJcREw3eEbeuO3IOavc5MLLPLYmJhImFYq2x0QXLgP/ulmcS5A+7HYmPi7tET0VABM+/B1hPQc1oAjjsHkhJQmscYTN1yAX0tuwvCj1cPihIQ4KW2BKYpaR3Y97yHJBRvtx0lJ8RLcA43MfFXtCXBLECemppIReSbAKOUObgdh8HGVKjE+Qt1euIE3oiIhrhDg9OyMDNW46CWZePumodICz+Z0g4Ky8StBinBm25nk5Jm2+Z/pO9lrLx+nvD5ZWJxfuQEw2SnaepsAPOGw8nRKSplcfuL8QGmJD9+DRaQX79tmsGRirLrM4ZkBHs5n8a4XPqKQTb9JA7b52JjZNQ7PyjlcwuLaVzB0Wx96YuBRWxr+fOXKfrfAK/tOKYOXvoCmPOxx04xfq2rZkzL59rZviAu1hcXF+TcrK2s/LddW7278+HUFxJbbDEZk3+8H93v4/ZzLvdVeNjE3RTyfFYYdsywQ1VeDqezSMnM1j41IHO6b3dxd5yaXaw3RPyv4bRQGBfcj51F03KvmbnbzishLi/pBo+ZRtZrrV6vWRvsa0hoIwqANlMzle70EQTij4BzchsjxD5HJH/hLZnJCK43TmDb+sfFztQ+r999zLy/X+rBCGitwd2n+Nkz+ItDeSRC3nFFnOy+Ptzi8XKE++t4+wofCfwUYAA45pNrWS569AAAAAElFTkSuQmCC",weather_set4_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_15},Symbol.toStringTag,{value:"Module"})),weather_set4_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2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mrq8vI+RktHS08jJybm7u8PFxayurtXW166wsdPU1KaoqcnKyqepqpGTlNra2re5ucLExMvLy46Qkb7AwIaIiYmIidna2////3sZfvkAAACFdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBtaF5CAAACu0lEQVR42uzWeVPaQBgGcGJoghINCASlrQIKeBRBEa0XWA4Rq/WuR+193/d9btYP3l0C2c1FhnY603Z8/uEdJr/s5s1mE8fxb8Rxgv8WzHlRuF/BYigi1xIJia1ir0zF2xoOyZqEWsE6a6FN8DjHeWVDvtljaeMSqKXrlA5HknZ4QwBqDFyWlzhrLF1GZu6IhdAzFUWlUctLSQssoRmXYrCeo4SpzlhgNO4UJGGj5mN7PyeNeBqAQ0iHLQIgm6ax5AheAGmoTQB1rcukb6j1nBajgQM6DOeUvptxToNTIKq3MJbL5Ur4rpmMnSRYTGm7RZ8BN844uFfF42hxJLbMca3txjXzsIGRTfS6nBYYxupLTqtFBUvIbjldj8agZdi1tF5zCmYA8HQ4Xe1vYLNM6XQdCyAHMWbZpnpNe9OSNcwBEFPwuV1nM12iV1xGaRiD77CCz7ZdaXLhHnrovQZOE9y2vdthqYsEZ47N8JnTvrzF8M60iiOiiota3Nfv8eVZ7Qmc+cVqfKWBM2LjwaAapuKBmcVsdmDmhu9e39X++90ThaHR3gvxhIIze9TzLIA5BbdtU/hV4Hx394TbPTLc0zM5ifFHADgUUbOToEUSGMP4a5Zg91OCX8Yxjn8HKeMGKC2AhAfh/Bcy7ex6gODeIYyfAEE02T3xQ1V53P7jAcHV4ayKyzvlyaHKMwCmTfft8QW86d7scY+MVNElFsoFxyjuUPz2wUHl7c7h3VvoAGHaYtOXGAG8/0R2/M1rpF7ZrP2kROs3hvThDqNm/TqpmdcvmBTzXGr6rtoPkn/5VVLPz9p/GdDHrC6TOrwftsd+6hg/NYlgp903iZ/n1WPoOrjMvwvb4FkHSl3MU3X4Iqp5G8xjMFjvFVX7ce0I/kFMT9Xf6rRRkwbVJnVSNWrYbPif+3A9wf8N/inAAITBPKpdXqgxAAAAAElFTkSuQmCC",weather_set4_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_16},Symbol.toStringTag,{value:"Module"})),weather_set4_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjI1MDMxRDYyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjI1MDMxRDcyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc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xh2eJybnfa4uOx2Hca+Tc/Pz72+v9fY2e/v75d0dd3d3d3e3qqSk/f39+Hi4sXFxZ+eoIyBgnBwcf38/fOcm9TT1cbFxuvr7MrJyu3t7a+xsfr6+8HAwcfIyHx7fPPy87m6u7q5utHR0uDf4LGxsrGys4yLjOUsKtTKP7Cvsb+/wPj4+Wttbsw5N/foHv///////6q6lxYAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFfUlEQVR42mL4TwFgGNU8qhkBiijQXFII0l1KsubCntL/tRkZhUWlJRnlJGrenpGRsTWjtT5jOpBRQqLmkoy5EzO2TPhbnzFx58SM0qLyciI1z5kyZcq3tr9/d074+/cvEM/PAAG8mptlgaB5BpBVm9HamlH/FwEudXRMxKO5rE+TEwL6KoGa/2KADtyaZYG6bPv6+5exARnLerBqLrlYhFVzHydnaPM/MCgDsm8cxtQ8txXo7TlYNAPV6/+Dg2ZNzn1/sYG2jFJMzYs5OSv/IYFKTSUGbJoPb8V0dpkmZ1R2cW8mkt2cnEsx9S7JqMXU3MfJZrOnW2paYz5cN9AfnDU70AyYfzijB0OzpoSMm6mGade6HLjmMkis8bSg6J7QllFYhKp5F2fEqjyght36xf9QfA60fh+q7npYIodqbvzCyZmwRzn3H0esQ/G/zNNZ+cgBx8lzeSmyp6EWQzRn3dJMOnB1bZTP2n9rpRVYs180s+Q9QtINcnsNA8z6lahR1SQZvsaEV2RPE1DlpFXLm7sP+k6ajGS3fr+RLVD7XvTgBmm+I530byOfuZ4ps+A/HU2u17Om/mOdp3AHxev/dtnCdbdmbEdobj5+5d8/ln8CKYx2/+RmOb8Gsv/Z6ynmo+qeYcRZA3Z5/UqkAMt0iQTLik6V1PsnEbv5CIjT6VyFpvnfDDbOHUC9WzKmI6dtW0tHlXtA2QKtC/+YUkDqVvj/AMcbKgCmOKDVKwtRsqSS+urAwO6pVrlg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Jeqztjg7k4xWbw6L6QZj3jtkNplzWPMas4dxNwEgwAByIXtaRpUTEwAAAABJRU5ErkJggg==",weather_set4_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_17},Symbol.toStringTag,{value:"Module"})),weather_set4_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNFNEYxQzUyQTVBMTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNFNEYxQzYyQTVBMTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wT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e+BgJCQkr/AwampqkdHSLKxspeYmVdWWO6QHaCfoJOTlaanqdLR0qmmaLVTU7ZgU7a2toiHicXFxvDv8NXW119fYHBvceLWMt0lI62GYdXV1m9wcnh3ealgYPLy84KChNHS029vcPOcm2BfYfK2Hj08PsHBwq19fbOztMnKy3x7fbCys7CusLCsYdzb3Mw5N/r6+2NkZdna2/foHv///////wfDqmYAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFgUlEQVR42uyWd1xTVxTHCWKMAVnXAIEwBaLIsGgIBopiAGUVcFBAkQKGChURqSJu+zIIe0RkiqIoKK46qtbgwi2ttmLbT2vtoNbWttpta3LofeEDJGEotn/14++PvPveJ997zj333HuOTte/kM4L+AX838DC2ueDa+u6uuoIorZri7CgapjwMYIoExJ7qokTBQQhHCZ8lfignGioUFYT5TtKCvCHLc8I7xQKhQUlSuWOzUr8o1RuJWoKiBNDwrJCLJkqTATWVmWfrpRUlxCDw7KMRqRSY4YMw0plRYVSQ7sHh1tYmMsJCwvDD1YLCWtrN1FXNTAcgVAyfawCayw9GaFvB4C3NuDw7xwA9kfIUdErd4S+Vg6gzXuIqv7w9wjRFWqiI7R3ILq8pr/bMhaa+rlvZ7O67ePb+7M/ET/0hxeiBeHtLmmRznm9dBi6sGvXXq0JdhAF/dfM4hhOSznENaKP6oV5ql07ruX85nLiqhZciFiHqAAwa6Jvn+M8Ho+Ot+1PrYgTNRqwZDkLdViHioH64wxfRV7zqD7fFR4IjXxH3XJD2RZ12Iu1wYB13T2LCvk+qU7UA6WP5M0aNEIf9fINxDH1Nd95dYE+M5LRVorddssOHJ8a/kv7ATXbhmE5GN+1vSfJ1AMmTX0ignlLctIEB8F2o3F2midA3CEH9T1XRLnXo6PddEV5gZrbTfMZAPmgT8mMA77BrWg8BrnF5TwNWpGRg472pFhtH+zvl4v9Bfkb9gLQY39xm3zR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XPbU7JLkudoXKVNDNeAxzrP2fVKZKJK6f+40/9HgAEAzsV9/h3nkpQAAAAASUVORK5CYII=",weather_set4_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_18},Symbol.toStringTag,{value:"Module"})),weather_set4_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTZGRUE4OEMyQTU0MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTZGRUE4OEQyQTU0MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1w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BQUdvb3PLx8qimqFhXWGZnac/P0Xx7ferp6qWmp6alp2doaaSjpOXl5t3d3t7d3tDQ0J+gobi4uqyrrbq5unZ4edfX2KGhotDP0Nvc3MPFxt/f36CfoLCys83Nzs7Nzo2Ljb29v729vZ+foEZHSJGQko+Oj5mam5qZmsnJypWWl/T19ejp6WFiZFtbXFxbXeLi49TT1PHx8tvb2+Tk5YyOj19gYdna24mIif///////1CybKMAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAFFElEQVR42uzWd1RTVxgA8ABJWBJCwAJiJKwKImWPAnIAyyqKgIpCAQHFWkTr1kLB8ciAhLD3kA0qIuCmoqjddXTXNtTY2mqrle6dfO19SdAXEpaenv7j989775z88n3vu/fde0n/PEKQHuPH+FEwh1bGQGFZOH3MsZSOBoM3TVwYLSWE5bSwspVKQ6eBx1qpdPmUcPV5JpO5TaoSvMlxRxEmj4K8MZjB41VPiH/EqU6SVZKOOi6VVgnGx+cjsLNWRhI8jKzOYpiqVm4cEfNQVjmVcZ1JNQHXRWAhEmKEYJgqljLKaNWq2ANbXbq/gYCNrLECqdoI5YzB1braHw8zzN6hPtA0TH3fUOcKlbGZu9McK4dF9CblwvFQw6M5SjjNKwYA+gaaCbjUSEJbf1qtLruPy4VUa12vSwKo1F5SKrFpMLQhvjrKn6fKCxWYe3xgd9TLzhQq5O9IPmnYrLm2lURsu466d18uxyUiT9tXdq2dMxuV/WuwWNM23mxRrIhYvY7OaZwrD5kMC+elVUC2efKVZ8nwx9ZjyRrnLkPV8EkbpTGXlIaM0XJ86BTq1EGgY0Hp4JfgHAG/A9yIYjZIxoSZcuPkuH7jB6heOL590ADeS8mwxB+gy1ckUaOV5ynC/M25ARQc0DPBLq8Q3dBSNAIX2Khg1DhC4T4yzPb3MshiZhY8IUtZGeekMZx+TdNbAQybW1s7FK/gS0hdpRhn/9yw5E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Object.defineProperty({__proto__:null,default:weather_set4_19},Symbol.toStringTag,{value:"Module"})),weather_set4_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUNBM0E2N0YyQTU1MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUNBM0E2ODAyQTU1MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBNkZFQTg5NjJBNTQxMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1Q0EzQTY3RTJBNTUxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg0gub0AAAG8UExUReMeHMLDxP7+/vr6+vv7+/v7/PDw8I6PkPb29vn5+fz8/Pj4+PjHxutqHff39+Hh4ebm5/f4+Pb2997f4JWXmPPz9PT09fvj452en+QrHPLy8/GOjfPz8+UsKvSqqqytrtvc3epWVdvQOaSmp+xlY+jp6dHS0/Hx8e7u7+5zce/v8P3x8ezs7OTk5frV1Ofn6OPk5eDh4ujo6erq6+vr7N/g4e2DHeLj5Ozs7fXPHvK2Hunp6uLi49LS093e3+7u7ru8vfbbHrO1tehRHammaLS1tcrLy7a3uPDiJcPExLq7vO+BgL+4VPPCHri5us3ERv39/eldHbW2t/f3+LKztL2+v42OgvCcHb6/wOx2Hbm6u+dEHOc6OM13d7S1tvOcm+Hh4ry9vuY3HJWXl5SUfOrr7Jd0ddXW176/v/a4uKSmpvX29u6QHbO1tpuadZ1ubqKgbuHi4rCsYdna2rq8vZaYmeLWMre4ud/f38jJyuTl5YyBgo2PkL/Awd/f4PLy8tTKP6utrvGpHfn5+sBGRe3t7sDAwejo6O/w8Pn4+Zydnt0lI7Gys7y9va2vsJGSk4aIiffoHv///////3UdyrMAAACUdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBFOVEBAAACp0lEQVR42uzW11/TUBQH8FMKSZHEEoimpbYh0FaxirtaFG3pwJa9NwjuvffeW0/iP+xNutMkLfhofw/JS76fe+7NubmBP/8QqOM6LsQnbQn7BHJhAHrITehhNoUFwoRer5sltx4AaVPYAywAuEdk9cayIGwGLy/JEZZYWWbZiBwh1YcYJlQd+yS/ZwhuyKWZADVMdeyBDfJgrAz3TYTD4dqwbJg+a8w5nVvEQZFGEjq5Yoq9/jXBCAd5VXa71OulLkMcm2PdAL4KzImIfIpSSAJRUsCwbJIJCOkxRwZMK/lwA4j3TLDbX1G2iHRAKUm/2djvslWX4pTOatpw3iwM6TBHY0rRRcQ7XQY8EgcpVIZt6NJbhdNeW6LSh8HbW4p57K/AStSlvbbEWf3Y7jLsRFoxDpVGvFWuY0vQWyybS5LWUMwSoDEx9qgEx0ubJEBqmw6YYuWcOvXZ4cLwG95ik5DuePGkqcEcK/1pkTTu7JtCf/sLWETesa2p0Uqrw5PyxnJ6QdtaoK0Vfm4guFGpkoF808QWYDmHRRxoULHdXl1f0N6yG6T8aiNSWdz8ddwac7xa+BxITL49ncgrOdyy/b31xFOYkOWR3L7I4u4ibnPYrTiFSMrO7QsDvHPHlMXKaTgumeNdHa8dzUazb/t4FzFOPkJQwKQUPd5N7d1DdTim7Lk52Fuuf7n47HRn52VEr9+zxhS/nmQ/GeAzJ/YdPXLy8IHW1v0Hj586dKy9neAHeNtfflbZkK8V/8YPnnJMtny0NvwWn3+/qjsl7yPaxmvAPxBXvIL+iA0iXntVDT/9hhg0Op+D5GN1fvrTy/n5KzMz6+s/o5lMZnFxdHT08eDg4OTk6urNXw/JGRQ0/jOgklgtdJIy/6Fx2izjrP8+1vH/g/8KMADHHNXwLyclrwAAAABJRU5ErkJggg==",weather_set4_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_2},Symbol.toStringTag,{value:"Module"})),weather_set4_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wd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2Huc6OJWXmOpWVby+v7CsYbm7vMLDxOhRHetqHcbIyba4ucfJyuUsKsDCw6qsrb7AwcLExZOVlux2HZudntHS05iam7u9vu+BgLCxsrq8vfa4uOhIR7W3uL2/wLi6u/f4+JaXmL/BwpeZmr/AwaSmp8a+TaWnqPDiJZaYmeQrHJSWl/CcHbS2t6ytrre5uqKgbrO1tomLjM/Q0eY3HLq7vO5zcaCio7K0tfSqqtXW1/bbHo2OgszNzp2en/Dw8NTKP+ldHbS1tfGpHdna2snKy5CSk5uaddDR0sjJyrW2t/PCHsrLzNbY2ZSUfK9aWeuVlOncK7eyWpucncPFxtIyMKiqq4yBgtLT1Pvj4/Ocm+xlY/XPHqepquLWMtPV1sfIybi5us3Oz72+v8vMzc3ERueKJJKUlZmbnJd0dZyen4+RkudEHKNnZ7VTU5+hosjKy4aIiffoHtna2////1dPl/IAAACUdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBFOVEBAAAC1ElEQVR42uzWaVfTQBQG4NsUAlhRQGlJE5o2QFuxVG2LraC2ymbFiuzIJquAgPu+7/tyE/6wk9AlCUla9Jvyfsk5OXnO3JnczAS2/iKwh/8x3OH4c+yBTkXTu8Ns5wSxIZA1LcDErrAXwBsPAReETgEAhN3gDggEiQmKIrkE+G/gKQ07aPLgKCyIzyIRkSTCi2I/CGxcEBxFMQ1y0qImaeUmXQIeDgQCnBYvcDwfKQk3ioZptMCzMX+m2++3WWD2sTG2dWM2D398MMPk9Y3SO3BSodGxcHSZXKfeG+sbXACgQ4/dTsTlEUqSY+8lvFk0STqkL1u2a1I+QylT3Q+jOpz0IWOXVKHI4D2GeE6pWo3nEV2SNimcum2Eh8Hr0eBZxITOSkMMbg409/Tp8eQcAKvG88hQeiwltl/bnb6ds4a4CjsxvMNK1FgiESX6+gsdDsofeA4nM4h2yThUmGjt2ByEHPmyF8lbYiTTjJDBB5qv5S0PUFiwGKHVG+ZYCitT38zxyeFChy0i+lbLyuvNMeUaSaRULceDN1t20ompisqy8quSdVyqlguSxVawH3HpAMEUVURLuZabJF9WaHu1fdhbr+B9L+uL6ChOkWXn0hBit8t2I3ZlccX+cms8pAwdgbgj29s2RCmPD1ZsWOoxHJDbi83tJH4NPlSzYrVwa4hkN4CnZvhw7eFYmRl+i8hzjeDdKpRNaXFDnb2h5pG+gMqVV03jzxGVrTs351n1guWw/eiRqqrVX9Nvaqen39Wtr99ra2k9fenK+Bf87H1Cewq75wxGJUPsOl5d3Xbu2Jmmk6dazl5WMIM3Wc1ZRTq7q0T8E/H+hPagm0FmqSQcHsTvQGsx2TaZrhLwg0F03hL0R6y86d59XWeJW8PtiE63wfnsnpG/16+f2knOy7lA4iO5SHJCzsdB8kB30vjPIJbBYsnYLP6GbJZx7/177uH/B/8WYADfF8O9pkhA9AAAAABJRU5ErkJggg==",weather_set4_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_3},Symbol.toStringTag,{value:"Module"})),weather_set4_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjA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sAAABpdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AKA3ZhoAAAIjSURBVHja7NZZW9pAFAbgiYAgLbbEJhhcSAMNjUQWtQULAuK+Vbvve0+G//8LOpGEmElmDO1l+W644X3mzJzhDGj4D0FT/N/j2qFMgv4G6y08Sks2J8S1OvbSQhPhmoJ90SfAtMX4c3Rcpy1WzKhYxsEcRMUKDouyd2jeitF2PI7Do+hc3NyE6yQZXmfj3efEVcrlru3DuY4YeIfIRsciEdQKWZ1RfBuF4AJAX7DclNgat00abwOo1o1ccnTd9GPxCBqWLypr3yR7flyAskWlCslknHPsYywCdGgsjNoWZy2NvB0HFiaFl0p91rHfwKTDDSs8qhGqkYtP7XuVZWAra4C9eQY+/QFw/sViphF2Y128Ccbv2OwGW1vCZdWgTs7ZMwJYvhObfWZx0yn7dNvBAzi+T7Ag8DVpO/iqtjHpcOIaJz5ucLFQ8ZZ+69ywJunwCN+9xy9dHffswP1hrENpjFMpHhecuhV5GIofZDIv2cV37brrsjhk4ZmZhUwi1H/PnQCixtAudCm8mF1e/JQSYp5r7q9IaU3rgUhhctr7Abyymnv8aH5+NUc+pLmHS+l0fkvrw1Fgeg6gysJPn0jFtTkXn0AhgMkNk6Lg9+CvenS3d8CQbsdverAe9mKQuTlY4OOz10AVPR4GZGLDh2/5YnHtl/3VpRfpfH7rTNNeXV0dn19cfP35rgf0ut4kQc4zw05B5L2SiJvpP8ApnuKI+SPAAGDTDZn0oA9jAAAAAElFTkSuQmCC",weather_set4_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_4},Symbol.toStringTag,{value:"Module"})),weather_set4_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2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jff4+Pr6+vf39/T09d7f4Pj4+PbbHvX19fDw8OUsKuHh4p2en/b299na2p/a85WXmPLy8/Hx8vPz9PK2HsLDxMrLy+7u7+jp6ejo6dvc3fSqqkC26O+BgLO1te/v8PHx8eQrHOnp6uzs7OhIR+3t7n/O79/g4TCw5sPExLu8ve7u7u/5/epWVex2Hevr7OLj5PPCHlC86u6QHd3e3+Xl5uLi4+fn6Pvj47S1teTk5dHS0+rq6+tqHebm5+Hh4ehRHec6OOdEHNvQOfjHxpSUfL/n96ytrvDiJc/t+d/z+/a4uNDR0vPz89XV1uxlY9jZ2o2OgqKgbuncK+5zcWDD7M3ERtLS07eyWq/h9YWaovGpHfz8/CCq5O2DHdra22WOn+ldHcnKyuvs7fOcm9crKouNjr+4VKNnZ/r6+7a3uOTl5s/Q0RCk4tPT1MrLzOjo6JuadammaNTKP8zNztrb2+zs7cvMzd0lI+/v787P0Lu9vvLy8vj4+dfX2NTU1bW2t9vc3K9aWdLT0+Y3HPXPHqutrdjY2Z1ubqepqr6/wPCcHc7Oz9bW1rCsYZCSk8XGx6Olpp96bs3NzsvLzNbX18DBwtPU1fHy8vn4+bGztIaIiffoHv///////37MJ5gAAACpdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD7b3sWAAADFUlEQVR42uzW51vaQBgA8LwIxoaqTRlFbAFRQIu1tlCxVTu0lIp7z2pdraN777333ru9xD+zlwEkIYHw9Fsf3w+Qe578kvfeu8sdsfwPQazg/w37akjuj8wVT1Dk8gAA1r42KkfcDGANWCEONW34iswNByAeBHjLxABiS+DDTyP1Yd8IRVmBppvqGYZpamAawAoAxzJhb6sn2mrhrih8K8SYVMThWTtQmtgSdiI+nG4zxk0u13NGFi5t7Bagifs1eShwMcpwQWSAVMNmOyZhL4vDVon5qVtqGEckHXO2x8yKYTEg9IVOwww9F4ORdNyDkIeVBH75NKMS9dyIKXAUoRDLKnSHCg4CmYadyC63rBlXfmx8+oDcNgQhQiqwAyGbArNTwrB96JXrdrB2ynFL2otxhBxTYTxul+WaDkJAirnahlj1CCE03iHJnW6HCWnaDvz4z+UamPVwuXed7E1Wu0ZasFY8OY7kG7Uwa+C7PnZVwHPQJimY2YRMl4z5q/JY7eCn3EFBL/FdFnELQuV5GK/OpFmvXRx2uh4gWW384so8Hhdk1HjYu7iFHQQrRSYwHmGLiH/nZ9I2PvE4BCQzzI1HWMRrCu8bM2g7usIw8+LUTmBDCq9bW3hIE4dw3vS8UC51XLShqEDDLyCUWs4J7JTj0vUb1xcVnJY5Y2HZ2YpPGNdQVKcESwqWxFVl2zZvulF1u3Ro6N6vo9XeLcXFOysqHqFXQMq/29xQsWp4+77q8j37d+3dsdsm4I/oiVX50ceTxKsHn0HoeESJuenpzY7vIhRubk7bbriF4TFmxqN/ELKb1fYqbkmaXvwYfnx9wTH68sH398MPf154Gh0cPHfn3ddrN79dfPP6BEIGs/ouaWlB2cLk1t7cLZ4eAx+Ls4ZUzC6KF+GojpNBXSNRm2rNnCdyOFbUbSWI7mSrhCD8+jFniT6JJRp1Y94SUivtQ2Ys2MNSS5ToxZP87WKi/Xwj1YdsWLhdTLRWaOk+xPFZJ4o9wzf8unG3tMvL/ixdVla7r9E/2Z9s1fr9JSvn7RX8V4ABACoxpcsvqONwAAAAAElFTkSuQmCC",weather_set4_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_5},Symbol.toStringTag,{value:"Module"})),weather_set4_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlI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ZWXmJCSk8LExehRHfrV1NTV1vPCHutqHbm7vOxlY7u9vr2/wEC26PCcHcjKy7/Bwu/5/b7Awby+v+UsKjCw5sPFxsHDxNXW18DCw/Sqqujp6d/z+42OgrO1tuQrHP3x8fGpHaWnqLK0te2DHfvj4/XPHqytrru8vbCxsp2en+x2HcrLy7W2tyCq5PjHxlC86qKgbqmrrPbbHtPV1vDw8LCys6+xsr/Awb/n962vsJSUfPDiJc/Q0bq7vLCsYWDD7OY3HIyBgtvQObeyWnDJ7s3ERuncK6Smp8zNzuc6OOLWMrS1tbS2t3/O74/U8Z/a8++BgJiamzKWv9bY2edEHJuadfK2HsfIydIyMNna2tfY2ayur6Kkpc3Oz6utrtHS06lgYJu5xrO9ws9UVKqsrXKuyNLT1ImLjN+9Mre5urGztK6wsY6Qkb2+v8TFxqOkpa2ur0ubvMfJypJ7e6Cio9DR0sa+TYaIiffoHtna2////zydvTsAAACedFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8APofj+AAAAvdJREFUeNrs1udf2kAYB/AcCNaqsSUaKQhUQBBqC9UWWysiinXvverW1q3de++92yfhf+0lgGQRQ/uuH39vyPG5b57jLuSOiP9DiAP8n+Emp/evsJdqjcedKOSNt1JUtphCiKpC/mgIX6DWLHHI40fIz/iiyN+MTFlgk8lEoSDTFmQYxtfGMJ6QEwluoIRHaZoO81d4oCjKpNPs8XSr4dEOF3CxbdIYX2SGfYw4mTHZwUGz2WzFH+0kxrIgZ78yJruwnGC56GMAi3cV8E38U6oUMLZWO5uK3gGLb+WYGQ4q4lVw69l0Kh0wfUlBN6N6Oe4Bq9Bi7YY5BexHTXJsg15WHDvA4ODykgR7UFWTFD8BNyvNT37ZBjfEuhuF+iW4XVaYZWfsdvtLK0Q2pLXrRXh0E0DPKgZPXGTpiqgyJRo2bQMYYtmMGmB6OeVvS5YqDOBay83PpO1mM+aRy8mFjq4LJ4y0QSzvUG4dq5IJ7OdSC31VgHXgNmB8WFWzvQCJ2kGEvGlsA3s+hw0jqroTIviJ8y2g9fp0ZRqvcAIXFt5X0w74zdU1Cf9VOoil8JGjhvzMeBZu4cqpRzuFO9P4WNHrvIxrBsAwbcnpUsY5OUUjyuUfASzgv7NTiHuEw+ZwsV5fPGMQzX3drzufWrYAEGXq9woxDVYZPl1uNJ4zfi83rhUbKyqqywoKLI0tQ/ADeaWvXhfMKuKK8xeqz5w6e/L4iQQ2w1Mke2/rwFqpAY8DvHDKMOkCx8i++PEbaFfaMcI2cH++oY6/WKGLVNxuwvhV7xj6auG74r5l7woslq3GlvdjY+MfpqYePLz2EWCVzLBLkh02UI+rR2V/Ju/p+Dy//kyXzrdXyQtay+ZeUko07DVqAsROFscKbNPf1dQSxKR2zNk+oRUMYz/MWSIgtITm0xBviW2hrdWM+7juxG6iscI3BjRjvjtRkmgE+MaOZsyPujTZGBDeSQPe5bqvCCegL4vj4+RAYHuv0TAfmG84OG8f4D8CDAD15Do+yTnrxgAAAABJRU5ErkJggg==",weather_set4_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_6},Symbol.toStringTag,{value:"Module"})),weather_set4_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZ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tr/n95/a8+/5/bCxsunp6SCq5J+en7S1tczNztPS08LDxK/h9dXW17K0tdPV1svLy8PFxr/AwdDR0pKUlXHA4dLT1KWnqNja26Smp7y+v36JjlyPpJLD2NHb3zmm062vsL6/wHDJ7lSQqp+hoq6trsTFxo/U8cnKy6qrrJmbnNbY2cjJynWLlNna2qiqq1C86gid256en83Oz4aIidna24mIif///1amgyUAAACEdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AJfSNr4AAAKZSURBVHja7NbZYtJAFAbgSSitVZouFLRBFIhIBRRBEaVsFSkULEtrF7V13/d9107Ci3uSAEnIJAR74wX/FdPm4wyTk5mg9gGCRvi/wa0tl6vQ+hfMZROClJDLNyx2CUoShaGwLyBokh0Gbwh9KVrHRUGXwmDMeOJODJkc78cJ3yC8LUk5Oi4Eipwx5qJgwnmapvNhsbp+7tqfrsYlKBuO8XJiIifoDTJmoG6QVxIk185SHAHf0FpDrbScgimMK7w2FXHVx4m8pcVxnIr04YhXWnZi+YIaMxjn+f40WTZHvmtCglMwA784xpMSaZJ1tod/wF1K8QZxw+wn9S3HdbAHvvzzphHm7xBbbkvGsNC5T7axmqGm6aa+5Vwy9sNCH7GNHZrgTRJj+7SMYdL0hIgjppp/qJ25jOOY5SVsP2wz1TlNt1MSFtuyg6dumxWn1aVD0q2C9qB72OEw4ykV3pUwpcFH549NfTXCrLJkgTahMuCF45uOm3pZ299TcMDX6W0ndLUWn3SfOuFemH9gl7/D7ol923ty7fqtdGfaCVfvkYzjHAHPzdHnZ2bOzs5ePDM9feHclUuAvfhPIBR4v+tTNgO4z8FHVvA77GR0e1gUe90WcKWMt/W7J+x83g+1QfhnGUcZwtbrgSeSfX3XDL9axNhZIm76Jb/4zHm/LEJOi0mn037IZchVyL0y/PsxY3RieKLdk+LtU+XUwN+fdT/FKbPjhqHEvHiJKCXPf9/vfLJyxDYySPWnOkJJ6+8k1XWElnqjNwihNcu4ugyX/+qOVmGAqlZxQ7S9iSbFAbL8KpWRLt+RBzvSIGMVr0mXoxV5tCQNVofDy201/mh52uvqWnX1NCzgFaiWaXRHSVi++uh9e4QPhv8KMADDCSvJwO839gAAAABJRU5ErkJggg==",weather_set4_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_7},Symbol.toStringTag,{value:"Module"})),weather_set4_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzZFQjBBQjQyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzZFQjBBQjUyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRTYwNjc5RDJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyRTYwNjc5RTJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqlpFNIAAAINUExUReMeHKSmp/39/fn5+Y6PkPf4+Pv7/Pz8/PDw8Pr6+p2en/7+/t7f4Pn4+fPz85/a8+Hh4vb29vf39/GOje2DHfT09X/O72DD7Pb299na2tLS08LDxJWXmPPz9PHx8u5zcTCw5v3x8RCk4u7u76/h9fHx8UC26N/z++Hh4e/5/e7u7ujp6dvc3ehIR+3t7vPCHuzs7eUsKunp6s/t+ehRHePk5evr7Juadefn6ODh4ubm5/SqquQrHLS1tfjHxvGpHd3e3+tqHaytrrO1tejo6fvj4+Li4++BgOrq6+Xl5uTk5c3ERru8vZSUfMPExOxlY1C86uc6OOdEHMrLy/CcHdHS0+pWVb/n9/Ly84uNjtTV1svNzva4uKmmaPK2HsDBwtPT1POcm+Y3HNvQOe/v8EubvOldHSCq5HDJ7vXPHuncK/bbHtra2u/v79bX14Sir+3JJNvb3NXW1rCsYcrLzJGTlMnKy9bX2M3Oz5d0db+4VKCio3ybqLK0td3d3dcrKqKgbvT09I/U8drb28a+TcbHyEOTtcvMzdDQ0a9aWdjY2dHR0vDiJc/P0Nzc3fLy8ubm5vv7+90lI8zNzpmCgtTU1d/g4eLWMp1ubvj4+PrV1GyVpuXm587P0Pf3+Pr6+42OgqutrZyen/Hy8vz8/dfY2e6QHdnZ2tDR0ry9vgCe4IaIiffoHv///////9i6EXwAAACvdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wB/tAOBAAADJklEQVR42uzWV1caQRQA4EEhbtAIBsRQIqAGIUgISmISLFFDqt3YY28xvffee++9l727/MbMLttgC5q85JzkPsCcYT7u3JlhFpT4g0D/8d+HvW7vb+G6MW/CG0IhbyLutswXu1HE4kYNKORGKDJP7EXRKEIN1Hb8YkWxeWCLJWZB9dTwN4qi6sMUNR7pCaE6bez3+7lPcYxTYlhrop1amGh2ARNGJ4E/tYaHw1RK7EYWNWxoZqHOyLw5MaZkgdriytiAkc5OM2HXATx5pIBrEOrYpIANLtCbaT7sejh5QI6psBW5FbARjAQtRtAF1QoY79oOOXaCPkhLI6iHUwp4OiKv2aAHB50aXfDhwtCVXbKq5TV3gYtOj+S2Hb6TulvTKBRPwzpZYpo2m82ORoDqtOSdyaoFTNQCELRiMAv3XGobuHnzGO8LfKRVAq8Gzr6Nt/VpW+UH+PTgixrGJ4bhLRNJPIt6pBh/dVNWzoIsWj0MDrx4XHIrGpPgWjDmYrwwl9biTQAT3CmJeAVsAPCzOFsrN003QQtzPDtRR0zM3A1GOokXPdTMrWcmbuXPSBI7oZXHi19qJW+FIWax66S4ER8PHi8peJejis3MvGeF60ABFy4tVKv9PUAU/57b1KbN4PziZfcL0r8gu6/y2QAAarPEXkmxZMF4TJQuX7FycjL/Yn5+3+fivcE3eXnrKypG4AVKv3rFrUrFqzdXblizbsvWVRvNa1l8Gm52yO5tfEjoOeCrAOd7ZJjAxzM3Ix7sh+ZEXP7EsONbszQD/tkPRoPi46Yb/2waR87dO3h5z/dbX4/vOzTwdHTUcfvHjbtvTzwevH7k2NmjkG4ll4EOMoTeqfF8JrpqdbozUzohru0Xmq+nnPaMD3cT6eObAQ/Zq9Ctjm0k2c41q2ZIspxrF5HkzowYDyJtnC3BbXm3OmYGkSbReiTdvRmwjRRGlTOWq4C1QgUquIwdRHJrRfJTNYndGtjHDvJIQBnTnmGbvjnhIglmp8oWoLzYEpws2SSW7JGUXJYBB9rFBTaVCCDgE7u1tqrKJiQImC6VK3T//7P+T+JfAgwA9jUefwIa+d4AAAAASUVORK5CYII=",weather_set4_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_8},Symbol.toStringTag,{value:"Module"})),weather_set4_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjI1MDMxREUyQTU5MTFFMTk2MDg4MEY1QTJEOEMzM0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTg2ODZCQUMyQTVBMTFFMTk2MDg4MEY1QTJEOEMzM0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMjUwMzFEQzJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMjUwMzFERDJBNTkxMUUxOTYwODgwRjVBMkQ4QzMzQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PipxGDsAAAHmUExUReMeHKSmp9TV1tfY2dXX2NTW19jZ2tLU1cnLzOpWVWDD7NfZ2tHT1L7Awbq8vcXHyNDS0/f4+MHDxMzOz8/R0s7Q0eHh4Y6PkMvNzs/Q0e/5/c3P0MTGx8rMzc/t+RCk4uhRHYuNjkC26JaXmJudnsfJyo/U8ba4ufGOjfPCHuUsKru9vsjKy7e5urW3uOY3HLq7vL/n93/O76Cio/3x8eQrHJ/a8+jp6b/BwvSqqri6u+xlY+tqHb2/wPXPHjCw5vvj47S2t5CSk6/h9fK2HrK0tdHS08LExedEHLCxsvDw8LS1tfbbHqWnqPrV1N/z+7Cys/CcHb+4VI2OguncK52en7O1tva4uOhIR/jHxu5zccLDxPOcm6KgbiCq5LCsYZWXmLy+v9bY2bGztHDJ7q2vsO+BgNvQObu8ve6QHayur+LWMtXW12yVpqytrrW2t7/AwcjJyrm7vJGTlNDR0tPV1srLy4yOj90lI5iam0ubvEOTtbm6u6+wsYSir6GjpK+xssw5N8+YP+ldHe2DHcnKy1C86sDCw46QkcvMza6wsdBeOJWgpcTFxtna2qKkpc1GRY+RkpJ7e5SUfOc6OLeyWszNzpuadc3ERkOcwex2Hc7P0LpMTACe4IaIiffoHtna2////7cQS0IAAACidFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AEVMlGgAAAMuSURBVHja7Nb3X9pAFADwA20FBxa1INQBghTQFlGBUixaRYqIu627dVetq3vvvfduXsJ/2ksgIQkkqe1P7cf3033uc1/eu5fjEpT8i0A7+D/DS8E/wxMdyaQToWCy1Tm2XRxEaMKJYh405UZofJs45GtDKJZw+ZBnyBfaBg46p0ZRGxleSZCka4gk25BWi0LyOGAwxJmBFuFwkVy4kMXi00pjfVQFdBh7DRhbwpEIKQyLNH5txLDTbqe9Kq61kFlh+dgvgXux3DRRODR9OPvbHPgBQu5QRw6MbQ/FhskGcD8bk+EhjztH5kmAJooXfTByPIdOoIlsHBBZirLBdA68gvqzsQpahJYyWWF6eviMCOOn3SrGcQCTCFM9zGP7claoHyL3qAhfzkqMUzdVbfVZAb4K9ff0MePwpFG8YzbULQCC0iNorJWP9SfwE9ZQEoE1fPjEdj7scwv2jK31Zn6eFFbbOzEfGU7rmFtwSDbA+igvf9duSjq28JE9zf4/tDxsANAUYbxGycUmQCq3y4N43d6Ant00VqvlclNNAHjfCXw5OHkNw084hQuK5+R0C114BGk7eCfMADaKxXsKZJJrYARXjZaSAmzP4Iq9xUWS2gr4sMW0MnhfecWl3OnV1+CFB99MSamyaVxZrSm/KGre2o8qXfcFuDfmnBrnYz2vYSxurC8trWqsryz/XPms+lzZkwP7Dx492Q1wNSi+elX4AsmFj5WVHSopOdKg0x1m8Bt4L7j3GRwFq+Y38OAV+ImyL30V2NSKeP4pzOj7s7HeCNZXc/J49R0YAzlfNwH8l7TdmqWXzjY06M7TmegOdc8PDt59vri4emcGsix3GegnjaAQvXrp97M+uqxSrV9XsfHyxm1uvP5tORpXern7iTp2ONBOeNmxIzMtjQsJojA9rKklCHNmulkR40XsKtoSvGmHEqYXEV0ZW8eb9ipgZhFRw9n0DlLTZnnsZxYxpZpPMcPmVK/oqFX4DkuBdt7vMKUyNUg0W4wXMtlSpRKZImTwAsH1ayBTRHrLXgVsruNA0l/L9Z2Zfqz87Vnj6OJ+ye8Y4KabvTsf6/88/iXAAPjgh2LNWibaAAAAAElFTkSuQmCC",weather_set4_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set4_9},Symbol.toStringTag,{value:"Module"})),weather_set5_1="/jarvis/assets/weather_set5_1.45344d2e.png",weather_set5_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_1},Symbol.toStringTag,{value:"Module"})),weather_set5_10="/jarvis/assets/weather_set5_10.14df39e3.png",weather_set5_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_10},Symbol.toStringTag,{value:"Module"})),weather_set5_11="/jarvis/assets/weather_set5_11.264d6da1.png",weather_set5_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_11},Symbol.toStringTag,{value:"Module"})),weather_set5_12="/jarvis/assets/weather_set5_12.cb88b66f.png",weather_set5_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_12},Symbol.toStringTag,{value:"Module"})),weather_set5_13="/jarvis/assets/weather_set5_13.d74ae026.png",weather_set5_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_13},Symbol.toStringTag,{value:"Module"})),weather_set5_14="/jarvis/assets/weather_set5_14.894b9d30.png",weather_set5_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_14},Symbol.toStringTag,{value:"Module"})),weather_set5_15="/jarvis/assets/weather_set5_15.557cf300.png",weather_set5_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_15},Symbol.toStringTag,{value:"Module"})),weather_set5_16="/jarvis/assets/weather_set5_16.f5a6b645.png",weather_set5_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_16},Symbol.toStringTag,{value:"Module"})),weather_set5_17="/jarvis/assets/weather_set5_17.ce646bd5.png",weather_set5_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_17},Symbol.toStringTag,{value:"Module"})),weather_set5_18="/jarvis/assets/weather_set5_18.3bc46fdf.png",weather_set5_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_18},Symbol.toStringTag,{value:"Module"})),weather_set5_19="/jarvis/assets/weather_set5_19.c78c9ae8.png",weather_set5_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_19},Symbol.toStringTag,{value:"Module"})),weather_set5_2="/jarvis/assets/weather_set5_2.e34b1142.png",weather_set5_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_2},Symbol.toStringTag,{value:"Module"})),weather_set5_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAXcSURBVGiB7ZprbBRVFMd/s9MXFfqAgmCNLpKCKISCrKv7gUf0k4kRSBiJiVAj0X4Tg1H8ohBMjIkaTDQpQZPWqCTXR0j0g5KIFciGUh+tENJAoANK2jRUt9RKYdmOH+5sO+3OPrp7Z5da/8lm994598z5z5177jlnr2ZZFtMJvkIbkG/8T/i/jmlHmKnitGLt/uZYu39DLjosy0KzLAtN01TZlRNi7X4/0A20ADv0gBmx+5uBbcAAUK8HTDMb/bci4WYkMZDkdgMNwAqHWKceMOvth9Ngfw7pAXNHOv0FJRxr99cDVXrAbLXb64AfMhzeyfiHcFEPmP50gwpNuBVYazcv2t9356BypR4wO1IJFJpwBKhUqPI94JCjHZn4ACzLKui2pJIswAvIJRH/uHr0IlV3E0KUAMuRr2UFcBXoAX4zDGPIKZvr9pILciIshNCBjUhP+ShQ6iIW++Lzgz8vqTxSurjyaHWR7/pdudwzV2S9hoUQa4AmYGmmY8r0Qe6rPszCWScBzwOejXrAdK7p7JyWPatvAi8BWXm7+eVdBOYepMR3LZvhk0ELsDseqEyasL1OBfBErpZUlPSyZv5+SvWh9MK540dgg291d2SyXvoACsgCXL0xn+O924lZxSrUpYMVD1MzJiyE2A5sVWlF5EYtHf1Knl867In/yIiwEGIe8I4XlpiDD3JleKEXquNojYevkPm2tAu5t3qCY73PoWtRyvRB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spROdCmxKipydVltIu4QsHmxCkj1tXzqPXMPbgcNtIe3MhKENSVS25mpTKqjy0s8CTyEdVHwPfR854+uB11zGdCfRlfJEbK5QRfhbZD66FUfVpC2k7bL7PnEZ47bXRmjUE4rnKqE8lg6GLT/wKfBiW0g7mVK4KbYB6cXrkTP7DI268hlOSB6mE6Zd8vAvLm77PyK5DwMAAAAASUVORK5CYII=",weather_set5_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_20},Symbol.toStringTag,{value:"Module"})),weather_set5_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAXsSURBVGiB7ZpdbBRVFMd/s9MC5atAKBaqYUARxBIRWDfug23RFzRGwBjRB6yBmL5Z4mYXXwSiidnNSjDRWILEIsiDnxB9EBOlBbKyrmIBNUjFrqQNBRHaBmxrO1wf7m6ZtrMf3ZkpLfBLNtmZOffO+efOPed+KUIIbiVcN9qB4ea24Jud24JvekZLlNZjWrke0zQrdQghRlYL6zFtih7T6vSYtnLA/UrgILDP6jsUIQSKolitxxb0mLYZ2JS4rAcqE79NBrNdqjtembBfDFQDdao7XpupfiHEyBGsx7QpQBwozML8baAceCBxfVx1xxdnKnRDBesxrQ5YDDQAyf9PWahyquqOt6UzEEKQZ+EFVtGQrVmW+FllJVCbyci2Fvb5A2OARcBsYDLQAZwDToRDwasD7fWY5nR66OvrSSy3sM8fUIFVyMDyGDDWxEz3+QNRYDewJxwKXrHyziEQN7uZc1ry+QOPACeBT4AnMBcLoAJe4L1x+T3nv9294vfemJa2rznJkD/pRKu+CfiAnPrCgpnnWPPQUQrG/JdL8WxZpbrj/fL2kKN0op9+jLVoCkBxYTsvlR1kwthuq1Wloh6oN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pVdnki4j4gANybuL0RmA7sRe5imHNdrHHiErfDLzMsR2lPRNwPuBOXrwClhsctyM1oHTgV9SpH+xU2FwswlSrVtoMvxihtRwvvAB5O8awEeD/xvxWZw43sY7DYNjvFDsQOwWuAJcg+GwSM+5sXgZeBf4HT/UrV6NswP4F33AafUmI5aEW9ylnk4sFqpNhfEo/OIPvweuCbqFf5bUDRyhRV1ln1KR12Rel1wPPIAJXMoe8gW7wCeM2kTFOKuhpS3LcFuwR/jZyPrsWwahL1KhsT9/aYlDHLtW1UqZYPgafD9rG0JyI04CNgQ9Sr/JDWuEZfiYziyWPEL1Kl2t7CgyYPtxK33OThf2ul5YK9BkrrAAAAAElFTkSuQmCC",weather_set5_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_21},Symbol.toStringTag,{value:"Module"})),weather_set5_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMTMvMS8xNmF4GFwAAAW7SURBVGiB7ZpfbFNVHMc/t92oFpB2G4gOZeGfJAwhJqamSgQfVB5MRtSrD8SB/7IQojzMlUQTxwO4jhHxxS1RY9Vo8MQ/gL74oM4HGmpMHMYYESGdBJjA/ulss/XP9eH0jq50bW/vveXP+D7de/o7v/P99nfuOb/zR9E0jZkEx5UmUGncEHy944bg6x0zTnAVgKIotjXQ2hZYCzQB6wEPsAY4BowAfUBvV2fwoG0EgOypV9E0zRbBrW2B9UA78GAJ5v1Ae1dnMGQ5ESoguLUt0A68XkbVH4Cmrs7giJV8bBXc2hYIAc0mXIwC67s6g33WMLJRsAVidYwCDVZFOltwlRUOhRDOE3+e3K2hNVdVVZFOpUkmk8RiMZKpVDku5wEHkQOdpTAVYSHEQ8CLwEbglnw2sXicwcEhLly8SD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wSNwPQdD19YqwO2Iefx2cgdwnuAD31hbTPwT8SvHC7qSAp9mazdCTtgRYSXIXc7vwPm64W+sLYTme5tLuqhJxVCigW5rLMNpgVH/MpRZIQbgS8zxU8AbwA/Ai8UdCDFZl91iprlVAimBPvCWr0vrDUDceSBeX3mp/pM2SfAJl9YezSvg8vFgs2CTU1LvrD2HvBsiea1Eb8yNPmWXyyAlxanbVcPzQ5arcBhQEGeI2/I+i2O/C4vAOdyxDaRX2zUarG5MNWlI35lOOJXDgErkWJPZn46BdyM/BOORPxKJKfqjmlcHjPDpxSYHrR8YW0dlwaoxzPFX3FpIMt3XSI6jbtes3yKwYpp6RdgOzLfHtULI36lG3gMecsmF/vJOv7Igq0XxcHiXNoX1tzI6HZH/MpnBY17UmuRd6qbkBHfRYszZAmRHFy2eJhJmHGLh/8BFY0JkFWtv+wAAAAASUVORK5CYII=",weather_set5_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_22},Symbol.toStringTag,{value:"Module"})),weather_set5_3="/jarvis/assets/weather_set5_3.b84a9f92.png",weather_set5_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_3},Symbol.toStringTag,{value:"Module"})),weather_set5_4="/jarvis/assets/weather_set5_4.82b43eb8.png",weather_set5_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_4},Symbol.toStringTag,{value:"Module"})),weather_set5_5="/jarvis/assets/weather_set5_5.81d4329b.png",weather_set5_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_5},Symbol.toStringTag,{value:"Module"})),weather_set5_6="/jarvis/assets/weather_set5_6.2c556b53.png",weather_set5_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_6},Symbol.toStringTag,{value:"Module"})),weather_set5_7="/jarvis/assets/weather_set5_7.d160e542.png",weather_set5_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_7},Symbol.toStringTag,{value:"Module"})),weather_set5_8="/jarvis/assets/weather_set5_8.e89dc01f.png",weather_set5_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_8},Symbol.toStringTag,{value:"Module"})),weather_set5_9="/jarvis/assets/weather_set5_9.41bc0bd6.png",weather_set5_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5_9},Symbol.toStringTag,{value:"Module"})),weather_set5White_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAATSSURBVGiB7ZpfiFRVHMe/Z2da3SzEhbWdRTc3ZSl1002KFYksIvqDVBQZgfUQgg+hD72UGQkR9NBDjxpRURA9VKCFWvTH/iEZ5oOFSJHtamVuLunDqtuMnx7Oubtnr7Oz9969c3d3dr5wmTnn3nN/v885vzl/xwCaSWqYbAeyVh241lUHrnXVgWtdMw5YwLhXFW0/BlyTwnsiX1UFBgrAQeDWMve2Y/UFkKsV4FcZ0VtAC5AH3mC0XipT9nqgbdoAA+3AUAhsAPiO8rrXQT4PHHF5z05JYGATsAVYC8xzeTvHAAs0BHzgpYtlnvl6qgIfCDl6wgM4B3QB73r3zwK3F4tFA+yuUCklXAVONeC+Ck5v9567E/gcuNHLmwccBy4BnwIPAS945denCWyiABljKhlrkHRRUl5Sv6SjklZImitpQNJiY8y/4zjcKalojPnNpVdKOuxu/y3pVKjIk8aYQz5wZE20hYFWrzV2e/ntwLLonozIhfqfFaJm1HvjtHA+rjPYiUK3pJXuWuXd/iP4YozpSwIrSfl8HuxQdbOXfbekYJLSn/TdsVsY+KhCzW9N7Mj4fh52NkrFYtGE7kW+ksylPwulL0j6QdJrkvYk5ImiVvc5kMvlxu5UxlOCFl7qteg3QOyfRUI///Ps/o6dmi6KyjDMEhfYGTjpDA8CszOAnQXswg5dvi5hh7m2qoU0MEtSr0s2SVqTKl0ZGWMuGmPul3SDpJ2yPyNJMpIKunzYGltxWhi4AzgWquUX00OL7PN+z/6jqYc0MB94OwRaBF4B5mQMu9bz4RjQUA3g9SHYH4EVWYJ6wH7rbnR56XdawOueoSNA0yTANmMXHr4frdUCngP87BnbkTWw86Mb6Pf8+BXoSB3YGesCLnjGHp4k6E5Ghkbc92VRWOIOSwVJje57SXGGg3R1VtI/XrpZ0oJIJWOEdBtw2qvVZ1LHiObvYhfGgc4APamGNJADvvKM7A1P4DOCbQFOhUJ5aVTYOMCbGa1e4J6sgd06+SfPj0dcRaQOfAWwjdEdFsB7pLCRHkfYmVWg/VUB9ox1Al+GoJ/OGLiB0b/hNVUDlobD6qBncHmGsB3Ay9iOKtC+qgIDTcB5Z+xERqBzgY+5fHkIdm3cHBU4yY7HbZKCNfBRoLXSwykpJ+k+2eWgJCG7u7JO0nWyu6PRlKCF/fOiQH3Ah0BXKnjl/Qx2PHqBjrgME2nhnjJ5CyU9KGl1EpiIOuM+McYcT/qS2PtRpVJpdS6XWyK7PbtKNsSD7dTUwhvYJmmJl3Wl+2yZ6ItjhXSZ8jd5ob3D5V2Fne4lWjNjV2bhMd9XU+j56vXSZZwreI6cxvaagXqBxoov0PAqbL6XfqACLMCCUPlMgXPYU76xtEkaHr8fx+5YLPTKL8KeGw8B7wN3AW965Te4Z/yrMeRDdsDO4F+eg+eA7710H3AL8K2XdxJYDswGDlWorEEi7KxMBvAG7Al+u5e3rwII2K2aPV663KRi17jGJwN4DCd6ygD8wsgZka/z2M5vHXbDPThM3zhtgJ0je53jg8Bz2BOEq4FPQsBPhMoVgK1AYboBd2P/x3FtKL8ReMfBTngzcMoAV5LrtZ/CHt1MSHGAI/3loZY04/5rWQeuddWBa1114FrXjAP+H1sW5zKh1BWdAAAAAElFTkSuQmCC",weather_set5White_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_1},Symbol.toStringTag,{value:"Module"})),weather_set5White_10="data:image/png;base64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B2QE/d9l7JhOwfYvum32oEZCJip+J2dR8YH//noD+C7jV49eGObAA/JwKbLvBISfwg42G9QkYBSy2rVvUSeBaj+2bjs2UNOAnHeN1DSdLEeYo2unUcReJmRx42Hm+IA3YfYOXNoUqRZgJyt1vL008v8951h4Ett35X2u4rVlAWYTZ1xe1JfHsOefZJeWAr3YM1zQLJquAr21dTwMt9t4YBs7p+4HIZUwuMa3O9f7GVb1qfWt/j5J0kb1eIamYDFwrKbbextK0kvqc65acK1cPHXauJwGrJS2zf/dIWp10SAL/4lznnjKtg9ys6HqZTKgk/SlpSRRFJ4qT8f/yzNJ7bP8/nJzuB5Mw6/JvlGo3cIVjl7rxeNFx7mgWUJqI7wbBnJyeJpEUyAI8jYEE3SFgSlOIygiYChxwYJcS2OOnAlujVU6wbjx5p2YJmAH86NSvs4xtZuAziOevDgD3EEiiN0LABEy69phTr50EzsnWp+Qn+G0JOEvSBklznRgHJW2W9JOkQt5QAZ0jaYakhZLczzVbZWbiQyFHly12M9nCzrOJwGsMbDcHg05hhlzqCkLWLu1xnI05WB9tCqLRPsxXiNSkfzngij6XYmbCaZIuVOmmpR46JfNptSeKoiOVOuNpxLp8Hx4s8gHXlJ8CpmMymu0V+KyggpMYsAZYUU39QgFTx3DAbw5w3I6vORl9ipmKzgy2bZjEOtUC+8ZwVcAJ2EyOxNMyZQEsrJsL78hcuXic2oGTsMDeDD4ubFkADyyVDJlErNqAPbAAXSk+SdggQAAWMn4azRUYM0ElYaHMBISZcEpUxv4jj/mxamDzAPZWnkD3tK3l0/cB+zkB+648gStZlo4H7ldaoZ0V2lcav7wqaOHpxE8qkDJhBXrFHWXsN3nsMy15gXi5TFrFz5mbslQGWA7stS9reYptm7U/Zn06suN545XfSw8HDbt/Hx4BHuoadsD/AZjbufmlSsgwAAAAAElFTkSuQmCC",weather_set5White_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_10},Symbol.toStringTag,{value:"Module"})),weather_set5White_11="data:image/png;base64,iVBORw0K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vKTL3u3YGqS+4/av0P2pcfWmWAkb4AAAAASUVORK5CYII=",weather_set5White_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_11},Symbol.toStringTag,{value:"Module"})),weather_set5White_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB5ZttiBVVGMf/Z10tRZRStBcltT4YorhSQfmSSaUfChKlDI00w4owCorCIiIiEYQEs4Uos5bsk4RUZpAmJKUiiAhFZJS1rZVvu1a66d399eGc2Xt27sy9M/fOnbvgHwZnz5zzPM/vnjPnPGdmNIAuJTU1OoC8dckBC+g7Gi1geETZFGBFjXaLjAMFGFgAHAce9MpmAWeAi8DsUP1mYGhC2wMSeB9F7QaeBM55ZR3AVcDVwMtAO/BYQtuNBQamA/cA493fC4jXSeCCO//V9XagzxL6azjw617QZ4AT7vwosMpBAhwDJgNPxfwY54FhCfw1HPidGIAl7vooYC1wrddmq+vhjaEfoBV4AliCHSlRE1/DgXe4YL8CngG2ANuB2GUSaC4UCsadN3mjIqyJEW37juYMIUZImiVpkqTRkjol/S7poDHmZ9dbMyS1SLrJNTtojHkjiX1jTME778Xevw9HVD1eKdCqe7hQKBjgXuysWoj5xQH+iCl/LrXTYtwjgAnuWOPsdVZirLqHgcmSPpB0c4LqY73zLklfSzok6eNq/Rtjzko662IJeqsZWC5pqzHmQmTDanoYuB/oDvXWQeAVYBEwG5iPnVy2038pAXgTGFQtbEQ860P2O1yvX1HCmBYYWAr0eMb3AXMqtLkG2BwKqi2YhGoVMA3YBPwV8tHirlcHDMykmAQAbAAS3xbAQvpnTy/WwBllfxhw2tne4ZWnBwaGAj95wa6rMqh5wH/ORgGYVo2dGNsrvfhu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MWxH59koMhOzHpIxzieGurZz4EhdXNY9JvfshRyvNGD3U2CxD8jv/kDYz80CR4o7MkL1vluCPByB7ufnF/dNAr4m0bAOt/5ArvJ6ggwOnPjyfyXHPXe094qaZ4x5mTFmjmprvthYEg919kE/kvKTL3u3YGqS+4/av0P2pcfWmWAkb4AAAAASUVORK5CYII=",weather_set5White_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_12},Symbol.toStringTag,{value:"Module"})),weather_set5White_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAVbSURBVGiB7ZpbbBVVFIbX7oWWFioSK4I20oCoNUTKg6YPxIrxxcZ7QqJGxBiNJvoixhgR4wPRxBdSY6LyoMZoiFYfDKgBEYwXIraaKDUo1EugiPECKoViPaefD3vGrjPdM53TM5cG+JOTnjOz117rm71mz5q9awA5lVSVdwBZ6zTwya7TwCe7TjngGv3DGJOKE6BORDpEZImIzBF7oQ+LSL+I7DTGHEnFsfU9/oD/ScFZK/ACcJRw/Qu8DXQkHoCU8gHpAAPVwBPASASoSxuBWYkFIikCe5AdwP3A3gDIV8BDQDvQDDQCi4DbgXeBUdV2AFiYEG/ywEAb8BLwV8TI/QE8CywI6WMp0KfaDwLzKiId6zsZYGAGsCEqPx0aAZ7GTmLB/uqwKe1rF1Dj8p05MLAQ+CEAcxB4DrgNWA5cBaz0LsrhQNsvgLMd/VZjU9zXGmBeJeAVA2PvvUEV1G/AKqA2wqYeeBD4W9kNAHMcbZuB3x2Z8QnwADAjM2CgCdinAvmIMu41LzO+UfYfuy6Ud3HCdAi4Pivg55Xjz4GmuI5VH83AHtXPw442jdjbYw2wFngTGAqA35cqMHY29h8fR4Bzy4VVf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xZtDRNhE5BzHpEQ5xXMXYCqM/suel5nDMb7bPYeW4S8H+mAWs5zc34E0e7CAJ/pddDL/ZA2M3vYtZw3q+cwFelwes5zvzWroW+DoPWM9/5sBXAosT7zi+//SfwwGHVcaY3LZsXINo0hjZqawpu/+blv4D+AtKV5V87w8AAAAASUVORK5CYII=",weather_set5White_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_13},Symbol.toStringTag,{value:"Module"})),weather_set5White_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB7Zt7iBVVHMe/Z100H/gold2e6JqPIjSNrKzQIsINIkJBDP8JKcOIqOiPyqCiiB60vSSC0DIICgwSFbHyj4w0snzQAy3LrSxbM121re3ufvpjzt0999yZe2fm3tm7Pr4w7NyZ3/md3+eeOb9z7jmzBtCppLpaB9DXOg18suuUAxbQc/RHAQOA8yr00cvYX4CBRuBZYLhzbQjwPrDbvZ7Cd78EbiHQr8ACYBSwmV6tzuVyxtqeCzwGXBPTd22BgQHe50agg0IdpVgvAquBnP28PGZ9NQd+CPgFWAc8DayxAB3A5x7kMmBDCDzAzzHrqznwqxEALUAdcAfQBtxu7UcDrdamHdjilJkFlBxt+gPwuzbY/cC3QJdt3UbHxn/spwLNwCCC/v2f92W12y9lfEh92QEDg4EzgcER9xuAr2yQy50yTQnr2RTxlJwVYttz1KfDKnBWL2mepGZJ10k6x7nXLmmrpB8lNUm6WFKDU3y/JBljOiT9kLDqZyTtsOcXSbpBUqcx5s9yAadq4VwuZ4DFTt9Kqt+BWxJCRjHcb322AcNKMaZqYWCMpFWSbvRu/SZpp6Q2SUMkTZY0RZJxbI5JWmiMWZOm7gjlH+PRklq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fqi2SHk1QZrKkLZIyBy6ZtFL4Op/e9y9aypeQCF5Ryu9CTKk4iELf8cbhlM7nAoecjHpfGftBwHIvC1d1sTATYII1pqdChpB5JcqMA7Z59odSk0XXkwnweyGwAJdH2E+keIEfYHtFdOF1FR3VSFoXRlxvjbh+tqSRCeyrqqyGpU7gQMIyJzTwF3V1dUn6SLekbRnFUqBqA2+Q1Ix9mSSGDkt6TlKTMWZFlWMJVxWS1maCLc5JMe1nE7wFtKTaw1BIXZlk6aS79APzryJkrTBgkxb0RNUp908ep4FPdv0PPNUHGptaRiwAAAAASUVORK5CYII=",weather_set5White_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_14},Symbol.toStringTag,{value:"Module"})),weather_set5White_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXZSURBVGiB7Zt7iBVVHMe/Z100H/gold2e6JqPIjSNrKzQIsINIkJBDP8JKcOIqOiPyqCiiB60vSSC0DIICgwSFbHyj4w0snzQAy3LrSxbM121re3ufvpjzt0999yZe2fm3tm7Pr4w7NyZ3/md3+eeOb9z7jmzBtCppLpaB9DXOg18suuUAxbQc/RHAQOA8yr00cvYX4CBRuBZYLhzbQjwPrDbvZ7Cd78EbiHQr8ACYBSwmV6tzuVyxtqeCzwGXBPTd22BgQHe50agg0IdpVgvAquBnP28PGZ9NQd+CPgFWAc8DayxAB3A5x7kMmBDCDzAzzHrqznwqxEALUAdcAfQBtxu7UcDrdamHdjilJkFlBxt+gPwuzbY/cC3QJdt3UbHxn/spwLNwCCC/v2f92W12y9lfEh92QEDg4EzgcER9xuAr2yQy50yTQnr2RTxlJwVYttz1KfDKnBWL2mepGZJ10k6x7nXLmmrp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skXeX5aZPdIukDGUlj7eEm2EOSFhhjNpYq7Gfonot+Czv36oGHbQv3B3UTLPrHeueDJC3sFRwhaZGCDbNJ6t3ayFo5SYcl7ZW0WdI7xpg9cQsT0oixgE9UhQFn9p4WMDWh/VBgQlbx5FV1YILfqi2SHk1QZrKkLZIyBy6ZtFL4Op/e9y9aypeQCF5Ryu9CTKk4iELf8cbhlM7nAoecjHpfGftBwHIvC1d1sTATYII1pqdChpB5JcqMA7Z59odSk0XXkwnweyGwAJdH2E+keIEfYHtFdOF1FR3VSFoXRlxvjbh+tqSRCeyrqqyGpU7gQMIyJzTwF3V1dUn6SLekbRnFUqBqA2+Q1Ix9mSSGDkt6TlKTMWZFlWMJVxWS1maCLc5JMe1nE7wFtKTaw1BIXZlk6aS79APzryJkrTBgkxb0RNUp908ep4FPdv0PPNUHGptaRiwAAAAASUVORK5CYII=",weather_set5White_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_15},Symbol.toStringTag,{value:"Module"})),weather_set5White_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAV7SURBVGiB7ZptiBVVGMf/RzdNE9PUMpPyJaXAlgIR/SBF5UKJFbaKXyoiRDJK2t4oImyjF0JNCiyiD1EfUgKzkjLLMiRKEosUtUh7UbMPpru2revdO/76cObunjt3Zu7svTN3a3f/cGFenuec5zfnZZ5z5hpA/UmDejuAWmsAuK9rALivawC4r6vfAde5J8aYzCoCpkuqlzRBkpF0QtJeSXuMMfkM6y29UPhlUNkoYCXwK9E6AawDLk89ABXzAdkBA0uBlhjQoPLAamBoynFkCwwMB9YHYI4Ba4D5wFXAdGAu8BjwfcB2NzAulWCUETAwxwfaA3gBgN/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QTrukQ5K8dHDKaqRsQjTEDU3S057nNdfV1UXuTQUbsetiWAs79xuAQ/x3tBO4NsmToqct7DgOljRf0mJJV8t+1K5V126V9IekXZI2ep63Pa5VXRHSiImA/68KA86slYAbgGHlLbvszwEayltWKcqM4QrKG4T9htTWA5+JwFfA2lSC6C43+WupwgrGAlv8yeVAQp8G4Ljv01R1EMVlZweMfUcfcWbTrWXsB2O/Mbv7U41VBVFaR/rAnucZ7BZuZ+D18UZMIBdRmkSA/cKRmjIBpvhLoKunYnx+jvAZH+VTYWwlvzRm6aiNvt9jfMKWnTljzJ8pxBOrLJOHOOAwHc4kioCyAt6n4v2mcvIkbcooliKlCYykDyXd6HneDGPMsQQ+xyU9L2mSMebhFGOJVgqT1oPAS/TgIzn2r0330INMrMLY4hcP/UH97v/SA8B9Xf0O+F9KhezbqHct7wAAAABJRU5ErkJggg==",weather_set5White_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_16},Symbol.toStringTag,{value:"Module"})),weather_set5White_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAZoSURBVGiB7Zp7iFVVFMa/rTOWWTrK5JipSQ45PhvKskJKNMwKIjHCMFCSUkgkqSgoVBQksrJ/RKQgkyTIUpMKevjIQposn71oGhzTykxJbRxN5/rrj7OPZ8/xnnvPuY+5k/rBZfbZe6211zf7vfY2gC4kdCi1A22Ni4TPewBnf6UG0ClN3kDggTztBhzbC2HgFuAXYHwo7y/gBHB9HrbbJeGVBHgXmAo0O3kNQIWV7W/Lr41pu7SEgR7APUAf+10FnCI9jgEpm94NNDplL8asr+SEax2nDwP1Nr0TeBo4br/3A0OBuRH/jN+ArBNveyPsYpQt7wssAf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qXMzXeYf9rx897I+RiEa7Au6IEb3G/u03ZZIHtysscsnVRwcBYhK3gJMfgKWBaoSKM+QAvEOFuH5vIECSITdgKL6A1tgBT8MK0bfJUwrZmFTAKWIR37PNxMqorOxziE7YKTxKEdtoT9hEjEEFSwlapFthUImJh/APMJ2Z4mDSEY1+X4o2V+yUNkXSV2uYFULO8Hd9eedc4HxtjmuIqk6YRS3I/3FZIR/iCe6dVMMJ41zAP5aDXBXiPtgo2kGXSyqJbA1xm043AWpuuAkZn0OsKjLVp/73HVPs9ggLF0NJNWvm28MuSPvBJ20qqJX0raWOG2XSGpM+AF0IOTpZUJ+muPP2KRp4tPBovnLsBL/C9DS9wDrAkg15vgjvmdfbvh3hb2Trg8rxIBfUkX4djGE0XsM962Q30ofXFOpZs4ivYDHXkvg6HDFVIWq3gxUw/eS93fOyShKQzkp4yxmxwdF+XNMJ+9lDrxygNkvx1drMxZlZcchF+npOX6y1gSl50xJ8D+oXKj1mZk5KOhsoOSTpi011DZc1O2T4VAwXo0pMJYsQ+VgIds+gNIziG+tiNvdMtBAo+hoEHLdmVeBv6jQSB/LdSqVTUObXGkk3hnYIAluJFWXYDGR+XJfCv4ITX+q2JXYeBbpb0aeCKCL3ZluxknHUY77XPUaAgy1IxCHeh9cZjtU13wt7rROh1AAbY9HCfsP2uitLLwb/CL0uO8QXY3VNCvXLgJbwHpwVFOsImX6L/N1w8LZ3vuOAI/wclzU06B4zhJgAAAABJRU5ErkJggg==",weather_set5White_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_17},Symbol.toStringTag,{value:"Module"})),weather_set5White_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAZoSURBVGi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3vuOAI/wclzU06B4zhJgAAAABJRU5ErkJggg==",weather_set5White_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_18},Symbol.toStringTag,{value:"Module"})),weather_set5White_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYZSURBVGiB7ZpZbFZFGIbfobUoVFBWIy2i0RAXQBaVAFEEE5UAiYrRBDWoF0avMBLjmggXWMMiIokaDRIJF1RQUEFDDCCbYrQhVsQIQVCQpaBUhRa6PF7M/HZ6es6/nr9tSt/kpHNmvveb7+3MP+sxgM4ndGnrAFobnYI7OjoFd3R0Cu7oKIzboTEmNB8olHSdpEGSukuqlnRQ0h5jTGPccXj1tsyI8wmpcAywAjhFOKqBZcDofAluFl++BAMDgLURIqOwGuifT8HGDzKqO2bgvKukwZImSnpFUg+veIekdZJ+knRKUrGkoZImSRrr2VVJmmKM2ZlTME0xtcyI6o5pOiwEpgPrgTMhrdYI7AZmApdE+BgBbPU4Z4AxWQXU0nd0l87C2WTgYAZd9k8nvMXsABQAr3q2x4CSdiHYBfd2iKAfgSXAc8AzwDxgC9AQsPsySWvP9+zWtLlgoAj4KCCgHLg+CacUeB2o8ziVQJ8Q2wJgm2d3AtgDrAQeAi5sbcHvesFUA/dlUPkI4IDH3wxcEGI3vGXn+R9HgOmtIhi4NyD2lnQr9nyUAPs8Py9H2C0FvsD2pl0hwpfU19ennFayFoztyv4ANS1TsZ6vG4Aa56cWKAOeBSYB3SM41wKfBkTPB0YDPfMh+DGvolXZivX8vRjSamCnpPeIGKGBl0I4ddhpcUKcgv15clgMgouxA1IU/gEeiOAuS8JbAXTLSTBwG01Ty9e5ivX8jgNuxw5S97iWraE5Hgnh9Q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9Ifs+VnC1ke1JCTVunS8iGGULsBeUQYxI6yeQN6TIby3/Jv9uLt0HII/cIF+4v5uAKqw+9UHowQDjzv7jdgLsgrsjgxgSbsUjL10a3Rii1ywi7DXG1V4B+Qhgrc7sd2w8/Aa4Gonuh43XcUtONdp6Sxwq6Rv3RSVyK8ExkpqSEKfIanKGHPG4+3DXsdeZYxJxs0aOX8+bIzZ5r2WS/rG5f+SgrfXe90iaZPLPyrpaK5xRdbrd7PzAZ27pY6O807wf0u0OF43WdFiAAAAAElFTkSuQmCC",weather_set5White_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_19},Symbol.toStringTag,{value:"Module"})),weather_set5White_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAUJSURBVGiB7ZptiFRVGMf/R2fNaste1HZzo0LTEMWNFCJEZEPKPpSQlYEFfVqyD2UUiEJfCgKjFyT8UpaC2IfCiD5YZGAhZKzZWiaWRSaSpbkV6YrtjL8+3DPOM3fvmZc7484yO3+4zL3nnuc5z++ec8/bHQdoLGlcowMYabWAm10t4GZXC7jZ1QJudo054Iy9cM41Ko6ggGmSLnPOHa7BR/FF/mikgLuBTcBkk3Yr8CtwALi8Bt8FxtEAnM1mHdBHpAGgF1gInKKgbT748cB9wMfA3Er8NxwY6AAmmutlVKZ3fY3nta7C8hoOvA3IAgc9xGEP8APwqQH6C1gM7Ao8gD0Vltdw4M8CACv8/YeBr4DZ/roDOA78B3wAvOnzn/cPZCYwFZgwWoEP+oD7gE88zHdAcJgEbgGu9eddgQeWA8Yn2F44MsNdp4YYJ2mepJmSLpU0KOm4pH3OuTM+zxRJt0nq8mbvOOc2+nttzrnzIf92WHLOHQP6J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Dy1aUGK9hc28dxRP10aKd+A9rpUSlTTpm1A3soLDsaqQOAMvj6+BqgINNOsH4Zkn3KPp8clUlBdZJA5KOSPrCOddfjSEJleiSEptZY+5/Wi3gZlcLuNnVAm52tYCbXWMO+H8E5sGJD4rkgwAAAABJRU5ErkJggg==",weather_set5White_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_2},Symbol.toStringTag,{value:"Module"})),weather_set5White_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYQSURBVGiB7ZpbiFVVHMa/pTOVD9VJJkcrScryXkNRZkgXDbELotiDUOCQlEUSRURBoaIgkpC+hEgPqRBBRppQUCmMFpIZqd1pEsfUMtOymlEbz/TrYa09e82evc/Z+1zmTOoHm9ln7f//v75v1v1iAJ1LGFBrAn2N84LPegDdT60BXBCTNgp4sMy4ocb+Ihi4DfgRmB5J+w04BdxYRux+KfgNQrwNNAMnvbR9QM7ZjnDfr0kZu7aCgcHAfcBV7ncj0Ek8/gK63PtXQJv37eWU+dVccJNH+jjQ6t73As8BHe73IWA8sCjhn3EYKNrx9jfBPia778OBV4Hh7vcA4H1n0wbs8XzuSZFf92N8ocaYqomMEGiStFvSOknHJN0g6QdjzIICPoMsRXMS2xQOuk9HJP3qmS40xmyO+Ha/11VEQRg4J2m0pMskdUg6KqnVGNPlqt5ISU2SpjiXFmPM2jSxjTGnvPdDwB4Xa6h7AgwuFKdswUCDpPmSZkm6SVK0mrQD2yVNlXRhufl5WCFpmnufIml4Kq9S2zBQDywG2hPaYxI6gO3ASmBMpkyTuWzy4r8JXJmksaQSdm3oXdkSDXBG0ieSdslW5XpJIyTdJWmUZzdIUktXV9eiurq6avSUcyTNB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1aagYdc+vaUcdZSDpHe8bIPSxmCL3NCN7u/7zmxncADRXxzhDdzWsoi0jNu9QS7DJZHxs1OYEYRH18swKayiYSxKy8YuBvY5UjvIdxNBLvEDNK3EVluxoiFhH2pErn1eipxbem0pN9lb+gMVM+O0Eg64d4Py94DCcjkJLVIil4abasAp2RUsA0PpOcF0QBPJNivirEFe2mtIqhqGwbWueq8whFf7ao0eNcPPHt/5dONskj0zqM6grHnUR3YYcgfliY60VtifHbH6G0pR2BMHlUt4SHubyB4bpAOXBxj34S9i+GjuSwSvfOo7rDkMslhb/s0prAdgb0avIgqzLDiBJtKCf2/4Pxq6WzHOSf4P3zNWb9Rvs7XAAAAAElFTkSuQmCC",weather_set5White_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_20},Symbol.toStringTag,{value:"Module"})),weather_set5White_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYQSURBVGiB7ZpbiFVVHMa/pTOVD9VJJkcrScryXkNRZkgXDbELotiDUOCQlEUSRURBoaIgkpC+hEgPqRBBRppQUCmMFpIZqd1pEsfUMtOymlEbz/TrYa09e82evc/Z+1zmTOoHm9ln7f//v75v1v1iAJ1LGFBrAn2N84LPegDdT60BXBCTNgp4sMy4ocb+Ihi4DfgRmB5J+w04BdxYRux+KfgNQrwNNAMnvbR9QM7ZjnDfr0kZu7aCgcHAfcBV7ncj0Ek8/gK63PtXQJv37eWU+dVccJNH+jjQ6t73As8BHe73IWA8sCjhn3EYKNrx9jfBPia778OBV4Hh7vcA4H1n0wbs8XzuSZFf92N8ocaYqomMEGiStFvSOknHJN0g6QdjzIICPoMsRXMS2xQOuk9HJP3qmS40xmyO+Ha/11VE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hTx/bKbBJkFqwM15KT+wA5mK3afvkqoQrzUZgMrACu+wLcDqpKnsa0gt2Ds8Sbu30JxwkxUYEWQU7pyagpUbCovgbWELK7WFiBKc+LsW2lZmSxkkapr65AXRSdsZ3QPYY5wNjTHtaZ2IKsSbnw32FOMHn3D2tigvG9qpbyHDm1JeomGDCM6Jhsoffk4J04LoMcWZWilNSBgV76ZQx6rGzsuWEF1aagYdc+vaUcdZSDpHe8bIPSxmCL3NCN7u/7zmxncADRXxzhDdzWsoi0jNu9QS7DJZHxs1OYEYRH18swKayiYSxKy8YuBvY5UjvIdxNBLvEDNK3EVluxoiFhH2pErn1eipxbem0pN9lb+gMVM+O0Eg64d4Py94DCcjkJLVIil4abasAp2RUsA0PpOcF0QBPJNivirEFe2mtIqhqGwbWueq8whFf7ao0eNcPPHt/5dONskj0zqM6grHnUR3YYcgfliY60VtifHbH6G0pR2BMHlUt4SHubyB4bpAOXBxj34S9i+GjuSwSvfOo7rDkMslhb/s0prAdgb0avIgqzLDiBJtKCf2/4Pxq6WzHOSf4P3zNWb9Rvs7XAAAAAElFTkSuQmCC",weather_set5White_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_21},Symbol.toStringTag,{value:"Module"})),weather_set5White_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAWwSURBVGiB7ZpZbFVFGMf/B2pRWQUEI9T0QYMbO0YCJBZ4UInEDTWmLuiLiU8YjTFRk+qDS1iMiFGjwRrsgwiERkBjDEVUDIkUFBEfjIJiEERTVGihpT8fZq537lnu0nPOvbX0n5x07jnf9u/M+eabmeMBOpswoNIBlBv9hPs6+gn3dfQT7uuocn94npeaI6BK0pWSaiUNln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AVwWIldUabneMbayrEyKAGYpmVmutpOnXiiWcA3ZehTg7cw7UUlg6uTHgC4ntofzyJe0PKwj9yThEGZbZiolbpXGATAMswf2CGZ56mJFAd2SNwBmk7u+7C04TZ6e7TFhqzQKsxfdEe67rOgG3gcmFDk6AlfRp4fAKEmLJF0jqUbSoGKcxkSnpBMy5WGrpC2e5/1crDIhnZjocWlvQxjhs+4bj1QIY6axu9OwHRsUSFol2Lmc7F7wAexRJ2Ynsa4EO7VEHKX2IKbAlWQPL5e0idxd/0sl7ZLUQp7zH0d+saSfJE1JMK6Ak6R6OFOobMXsHbdiihWAV4vQb3Cmn9pYwWRtlj4Pl+hgHsHvPF4rtJ+N76wodiBZu8kTBkbYXt1jL7cGB/ja3m8l/HSv0Se/OzbTrO3AVVVYrSDOyOyUZPKBf+Xyl5XpkPn6zg2oQdL9PvmDCcQUjYSHdD3BD1iaCD8HuoVwNMQOJOsjvXcYuNOSbcKcDLSQ3eN+1/8ehwzlDOpiBZLrI1XCGzO9iZ2HMcetOzFbL0N98ksiCCcyB1sfqRIeTG7hscG2qwn5fAGT7Hb7yDbGCiLoI5WkJUnyPO+E83ONpG32/mlJh0Lk24C5km6W+aS4TdI7ScUTGWfcnv2/oX+11Ndx1hH+F50FnCORhWW4AAAAAElFTkSuQmCC",weather_set5White_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_22},Symbol.toStringTag,{value:"Module"})),weather_set5White_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAUJSURBVGiB7ZptiFRVGMf/R2fNaste1HZzo0LTEMWNFCJEZEPKPpSQlYEFfVqyD2UUiEJfCgKjFyT8UpaC2IfCiD5YZGAhZKzZ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lhzpIiGh5XA0MmxmU+/S4KOylFtRwEBiYSvewQTSGHrTxGgyge0k5RmCPkNUS0kpvu8weBe4zR5gZzlRTwPsN1BHgO6IjlDQLbjuKRRsFUIqLxNa6XA3kvHPEl3RRz/uPFC7d25XK5vZIGYsnXl7OLA9sNsLO1BnUxlclkkPRbLLlsnxMHPm7OuzT61eZ/T0vaIunLshaxd3iJeR/quQVTdxHtQ+fX1TsDeYYd8RreLemMP3+UGta8I6CVKrTQXRVbMXzisdHU8lN1D7MOIlrBDZgx98ZAvmFHEvANFDbpzgGLRxKmnIgW+ntNpWwokbc8sM/4pHE4CDyeZv+q3gLmA4dMbIcosahJAnYW1P4DAHhF0jPG/htJb0vqk/RH3WnCmixpjqIvC3bz4aikHufczyFDy1aUGK9hc28dxRP10aKd+A9rpUSlTTpm1A3soLDsaqQOAMvj6+BqgINNOsH4Zkn3KPp8clUlBdZJA5KOSPrCOddfjSEJleiSEptZY+5/Wi3gZlcLuNnVAm52tYCbXWMO+H8E5sGJD4rkgwAAAABJRU5ErkJggg==",weather_set5White_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_3},Symbol.toStringTag,{value:"Module"})),weather_set5White_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAASKSURBVGiB7ZpbaFxFGMf/s03T2FjRFGvFC5W2FC9oi6Di/QIqaAm+qEgFKYKIt0otomBBH8QLKWJRRKxU0FI1+GIfVChYipWqD9U0UFvx0iLVpK2aeM3u5ufDnCXfTuZkN9ndnLLZPyycy/fNzG/Od+abmbMO0ExSLusGTLdawM2uFnCzqwXc7GoBN7tawM2uFnCza8YBt9kT51zdKwDmSLpV0s2SLpK0IKn3iKR+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QNhU4WXW8Zwr9Bb9VmtnXxiTy7k/e0ZIOAgsn8Bn3cxbUfj3Ez7J6Jdlt0Z8kfSTpgIL81iDlJC2TtEjSlZLsTmWfpG7n3A9pzpat7GL4hM29dvznkdhiPCvlgVeAzkq9RbUhHXG8GHgX+DcTRK/vgJeAJZVAJwJODemUAjokXSDpDEn1/3o+XnlJ+yQNOueGKhmHIvIQXexiM2vG/cejBdzsagE3u1rAza4WcLNrxgH/DwjGKmoxrQ+XAAAAAElFTkSuQmCC",weather_set5White_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_4},Symbol.toStringTag,{value:"Module"})),weather_set5White_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXGSURBVGiB7Zt7iBVlGMafb10sTfRYKrtUZBppRbRpYGUXLSIyiIgEMQQJ6YJRQdEfldCFIIrIbhJBtGUQ9IdBohJWChlpUN7ogpaplV3WUldty87urz/mO3u+852ZOXM5Z8/m+sCwc755v/d9nvmu886sATSU0NJsAgONE4KPdww5wQL6j8EIYBhwZk4fZY2DRTDQDjwLjHbKRgLvATvc8gy+B6XgpQT4GZgHjAU2UMaKYrForO0ZwOPAlQl9N1cwMMz73Q70UInDVOMFYAVQtL+XJYzXdMEPAz8Bq4GngZVWQA/wuSdyCfBBiHiAHxPGa7rgVyIELAVagDuALuB2az8O2GttuoGNTp2ZQOxqMxgEv2vJ7gO+AXpt67Y7Nn63vwiYA5xEML7/9W5Wt70pk0LiNU4wMAI4FRgRcb0N2GxJLnPqTE4ZZ11ELzktxLb/aM0mq8JZq6RbJc2RdI2k051r3ZI2SfpB0mRJF0hqc6rvkyRjTI+k71OGfkbSVnt+vqTrJB0zxvx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HaVrYqzhG0gIFL8ymqPxqo9EoSjooaZekDZLeMcbsTFqZkEZMJPj/ijDBDflOiyBpvzCFfYHgGTd1Pjo1iBnDGf0ttOOtM6H9RILMCkChLiTKvpMtSzkCuJmIxxLYdxC8FoF63fFK/40T7ImF2mtkhVhgcy4C4TEaIzhELMCsGHtfLMD6zASi49RfsDNmKxBjX6Byx5R4CGTgVl/BlnwYIrtnRG+AOn3v4cWqOvIuSxMjyrdGlMfV2ZKLSULkEmyM2aJwoutjqnWGlO02xuzOwyUx6jCGC1R+JBb5fOrUuY/yi7oDjejONk5Dl6UOYGIK+wJwda6gtWPEPzwMBQy5/3k4Ifh4x5AT/B/EJ37JXkgRkgAAAABJRU5ErkJggg==",weather_set5White_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_5},Symbol.toStringTag,{value:"Module"})),weather_set5White_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAXGSURBVGiB7Zt7iBVlGMafb10sTfRYKrtUZBppRbRpYGUXLSIyiIgEMQQJ6YJRQdEfldCFIIrIbhJBtGUQ9IdBohJWChlpUN7ogpaplV3WUldty87urz/mO3u+852ZOXM5Z8/m+sCwc755v/d9nvmu886sATSU0NJsAgONE4KPdww5wQL6j8EIYBhwZk4fZY2DRTDQDjwLjHbKRgLvATvc8gy+B6XgpQT4GZgHjAU2UMaKYrForO0ZwOPAlQl9N1cwMMz73Q70UInDVOMFYAVQtL+XJYzXdMEPAz8Bq4GngZVWQA/wuSdyCfBBiHiAHxPGa7rgVyIELAVagDuALuB2az8O2GttuoGNTp2ZQOxqMxgEv2vJ7gO+AXpt67Y7Nn63vwiYA5xEML7/9W5Wt70pk0LiNU4w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2PsEwseBWzyHD8BnDUgyqqJjyfYFO12OPVSI5EfJti4Qo0xrvEYSaslXe756ZJ9RTIAMJIm2MOdYP+UNM8Yszausj9D9xf6LexcawUesS08GNBHkPRP9M0HaVrYqzhG0gIFL8ymqPxqo9EoSjooaZekDZLeMcbsTFqZkEZMJPj/ijDBDflOiyBpvzCFfYHgGTd1Pjo1iBnDGf0ttOOtM6H9RILMCkChLiTKvpMtSzkCuJmIxxLYdxC8FoF63fFK/40T7ImF2mtkhVhgcy4C4TEaIzhELMCsGHtfLMD6zASi49RfsDNmKxBjX6Byx5R4CGTgVl/BlnwYIrtnRG+AOn3v4cWqOvIuSxMjyrdGlMfV2ZKLSULkEmyM2aJwoutjqnWGlO02xuzOwyUx6jCGC1R+JBb5fOrUuY/yi7oDjejONk5Dl6UOYGIK+wJwda6gtWPEPzwMBQy5/3k4Ifh4x5AT/B/EJ37JXkgRkgAAAABJRU5ErkJggg==",weather_set5White_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_6},Symbol.toStringTag,{value:"Module"})),weather_set5White_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAVsSURBVGiB7ZptiBVVGMf/4150KzOlstLI8KUXSLMvpZCpQUGKZKZSQWURSAZaQhEhZPYeJn6wrCCK+tALVEaRkJqKRAlS9moZ6VJWILWulqsuzv76MLPu47lz7szunblXd/cPA3PPPOc5z2/OmTPPnHMDQL1J/eodQK3VB9zT1Qfc09UH3NPV64BLeTsMgiCxHGiUdImkcxTd6GZJPwZB8G/eMTjtlhfkeTi+S8CtwKfAYcrVDmwDHgBOLwr4uPiKAgamAjsSIH36G5hfNHBgg/QNxy42UJL0qKQlpviIpPW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wCraZcuk55u61AtNrQpJBRCugdijfZ66lHpU+D59zno+3iHYYar7FSvRdPg3Y4MS02rFLPSqueABPSnrEab9V0i5JYTF4ZRqkKCGyWy9Ieqy9vX1ZQ0PDMQC30xLl62Fz/XpgFyeOtgKT01h8R9Y1rQZJ0yXNlTRe0jDV7t8D+yX9KWmbpPfb29s32V514kx1FmQxquggZYvV9d9V+7xVSC8B44GmLtZZCcwrIh6r3IHjoDdJyrT/Q/SZt13SIkmJOw95Ktc/tcSwr8U/N2ewH6zo5lweF23PM54k5dbDDqwktaTYu7CS1JRXPD7lApwAK1XoLQ+sgiBoyiOeSqoaGJiiclip8vBcIwc2xT435dHDSz3liQDATElJicM3OcSSqqKSh5YKw9M3E580PbwmoezDFPumjH7yV5b8s9IR+5hH557tRsxOvsf+QjqXZ/bZhKPaeLqUS3dHJ1tqWTXwyaZe93/pPuCerl4H/D8aSLSTzRcSzQAAAABJRU5ErkJggg==",weather_set5White_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_7},Symbol.toStringTag,{value:"Module"})),weather_set5White_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYCSURBVGiB7ZttiFRVGMf/Z100TdyxVHapyCzSisg0sLJSi4gMIiJBDGEJ6QUjhKIPlfRGEEVkbxJBuGUQ9MEiUQmrNTLSoFqVXtAytbKXtVxXbctm99eHe2b3zJl779x7Z3Zmc/3DZWfOec5znt89r/fcWQNoOKmh3gHUWieAj3cNO2AB/ddQFDACOKNCHwOMQwUYaAGeBsY5aWOAt4GdbnoG30MSeAWBfgYWAuOBzQxoTT6fN9b2dOBR4MqEvusLDIzwvrcAPRTrMKV6DlgD5O33lQnrqzvwA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gFB4OS9LkxJmeMme3ZlOwgfeB2DYyHBYMRaBV1vYJzM0n6NHEpSjceG5xZb17146xcQCOwzYnzsgi7kisM+CrH0V5SHuPUQsDzToztMXblga2hu3HfQcjri3qI4DWLeyZ2FJgWY58YeCyw1XP8GHBmTchKA59IsCna48TUS5mD/DBg44IaY1zjJknrJV3u+emUfUVSAxlJk+zlTrB/SlpojNkYV9ifofsT/RZ28hqBB20LDwX1ERz6J/rNB2la2CvYJGmxghdmUzXwamOwlZfUJWm3pM2S3jTG7EpamJBGTAT8f1UYcObfaRE8SramsM8RHMEkOnO29m1J7ROLmDEcU6bVjqlNCe1zBKcnJAGwN7ODNEGF+0m2LJVxUoAFeCSBvQtbthIL22XNDyYKKtpXZcAeLMCyMvZFsOUAPNjEPSjGX3bgEFiAuTH2OS/4WIAQWIC2rLDWZ8mVaNIimJxWhWTtibDPSdokqcnL6khpH+q/IiVp4ZA7H9s9Cc6Tw9QaYd8WYT+3WmyJW9jeff/OS9JHMcWiZuLQFpY0OaV9ZpUFNsZ0KehuvsLSCnonJG2PMSYKoC0krcPWXV0l7NI5in8I1m5bPq5MKwMv4w5GdWfH/mHPvuINR1iXTrssTU4bCDCn3M1xbHPAnDT+y/iLf3gYDhp2//NwAvh417AD/g/gf8md+vkh+gAAAABJRU5ErkJggg==",weather_set5White_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_8},Symbol.toStringTag,{value:"Module"})),weather_set5White_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQAxMy8xLzE2YXgYXAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAYCSURBVGiB7ZttiFRVGMf/Z100TdyxVHapyCzSisg0sLJSi4gMIiJBDGEJ6QUjhKIPlfRGEEVkbxJBuGUQ9MEiUQmr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MsHnhwH19ff44uKS+iKUiWGbanBg/AZ6leAgC/AZcY8uEAwPTnQLv1xsuSgTDbgfh2gIsxlnD44DvcAoujau03gJuDoFdE2Hbf/mHX+4Jf02WoAq0QdLf9nOf/Vt2vvGB3fXtUBWCGjTZY6G99muBo+zbCX/bdsD5PL4KcQ22jtm/SOpW8clKqPwW3ul8nlmloAZFwCgFB4OS9LkxJmeMme3ZlOwgfeB2DYyHBYMRaBV1vYJzM0n6NHEpSjceG5xZb17146xcQCOwzYnzsgi7kisM+CrH0V5SHuPUQsDzToztMXblga2hu3HfQcjri3qI4DWLeyZ2FJgWY58YeCyw1XP8GHBmTchKA59IsCna48TUS5mD/DBg44IaY1zjJknrJV3u+emUfUVSAxlJk+zlTrB/SlpojNkYV9ifofsT/RZ28hqBB20LDwX1ERz6J/rNB2la2CvYJGmxghdmUzXwamOwlZfUJWm3pM2S3jTG7EpamJBGTAT8f1UYcObfaRE8SramsM8RHMEkOnO29m1J7ROLmDEcU6bVjqlNCe1zBKcnJAGwN7ODNEGF+0m2LJVxUoAFeCSBvQtbthIL22XNDyYKKtpXZcAeLMCyMvZFsOUAPNjEPSjGX3bgEFiAuTH2OS/4WIAQWIC2rLDWZ8mVaNIimJxWhWTtibDPSdokqcnL6khpH+q/IiVp4ZA7H9s9Cc6Tw9QaYd8WYT+3WmyJW9jeff/OS9JHMcWiZuLQFpY0OaV9ZpUFNsZ0KehuvsLSCnonJG2PMSYKoC0krcPWXV0l7NI5in8I1m5bPq5MKwMv4w5GdWfH/mHPvuINR1iXTrssTU4bCDCn3M1xbHPAnDT+y/iLf3gYDhp2//NwAvh417AD/g/gf8md+vkh+gAAAABJRU5ErkJggg==",weather_set5White_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:weather_set5White_9},Symbol.toStringTag,{value:"Module"})),wind_set1_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYT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8TPgQnGAYRp3SwA1bj7YRhooQG1gxGUGuWxxSMwOC9QYhnjaFNuyFkGALsGc4moyuEOAAAAAElFTkSuQmCC",wind_set1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_10},Symbol.toStringTag,{value:"Module"})),wind_set1_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzK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x9fWb85s5v+885iEcx6n5q0P8H1kul2sm9GnuLeXz+ZuoArW+TrZJmPTpO49wtZqyZcKSbN7DHFjuzGALWSkN2Qc0wAUMI/mMs09hZRm4TioMJaOwsCyrRxHuwXhUYWiZ25bCU2iLI/xNNkDop+BKJZdEGCgTQmg7xRXGkmmEJzCK8C0VmSK8hCYoQmfQDJPKBgkHUC9TgUuaZBld0T40wg4MQWuQMO4DoorWYQEeZbvFTxhZ5hWVy+Vp0zRHON+FV6j1E0aS6USFQsEhv0Z7Vt7mKwwto2Av4corktceCF1KV60wiszd/DOwEc0oog7Ck2ZrvcIx27a/oiyjwQi/PbkpwobPQ1sRGtCN7Dn2eyZl24QJn8vuTA5hkUHeJnqps9msMAzjhdN2JX0Hx5JzJO/V+oJk5MjdwkdupHgxrc9VXdX+Z2keP4udVNq8cRKJAAAAAElFTkSuQmCC",wind_set1_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_100},Symbol.toStringTag,{value:"Module"})),wind_set1_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPS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k0ZjVmNGEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7hXb1bAAABS0lEQVRIx2P4//8/AzomBlhbWxtgE8dmHgwzMZABgBYlAKnzQHoBKfqYyLRoPpQbT4qFTGRa9Bkq9J0UC5nIsOgCEEdAhZ8B8QJiLSTFZw1QixyhloDB0aNHE5EsdKCWZSCDHIGGf0CXgFroAKQP4DOAhVibgAY9ICB/kOqpEQ18oWnSpwSMWjb0LGPBUVpUAqlyPPqYobQixZYBAS8Q8xOhn5kawVgDxIJ4cAxU3V2KfQYsDf4BqQ9YglcKSHUAsTOsrqRGMKJbwgGkioC4Coi5gfg51RIImkXBQKoHiBVokhqhlugBqUlAbE/rpG8BpPYDMQfNMzUwgZwAUvpAvIUuJQjQwltA7AtkegDxdboUV0ALdwIpUPzlY8sOVC8bgRb+AWJQYlEB4ulA/Bcq9Y8UyxixtYAZGRkJZQdlIKUNxI+BjjiP3iLGBQApp4TOrcMs9wAAAABJRU5ErkJggg==",wind_set1_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_101},Symbol.toStringTag,{value:"Module"})),wind_set1_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4b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FVUp9gXXZi3ajO3KLAAAAABJRU5ErkJggg==",wind_set1_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_102},Symbol.toStringTag,{value:"Module"})),wind_set1_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xM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4gXYLUMKOEEpAJx6E8GyhsRa9nRo0cPACmQRfHoFjIBBViA9AQ8+hmh8owkWJiIzUJQnnKGBhUhwx4AcTgQfwbieTjUyCCxQVHiCqUXAh2QALIsAciZT4fyQhEUhPuwpEJcickSiL8C8QUi1EuD4huIBYE4EeizB4y08AIwtAyAFCih/IdatIGBlEgn0yJHoEUXaFnqKwDxeXSLwD4bbYOMWjYyLQMAk75JeNa146QAAAAASUVORK5CYII=",wind_set1_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_103},Symbol.toStringTag,{value:"Module"})),wind_set1_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb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mOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4l0E+TAAABdElEQVRIx93Wu0oDQRTGcccbiIIJBFttRBsR0SKwW3i3URRL38BeQfAJBPEVtBMhhZWFRUyxuxBsBEF9AhtTKyK4/ke2GGR2xs3Oqhj4OHCynB+ZSxIRx3HHT73Er2FCCOPDnud1UWZITxiGgelZ3YewYgCjlCWySObJINkCO82NMbySDF1OgGHNrCGwp1yY7/trlD1SJZ0pc26Apmz78x3sgTJG7sh4CngItqsscy9lnTm1KIriLNgEpU4qBnAF7FKBauRzRegfZN0zE/hKygx9+QK15D7Tv818Gg1gnYELNijz0U8B98mRDWrrnmnAbbJjg/JcahVsKTUVahtTwCbpI2+yBXTt/OtKATcpZ6SbXJFVwOdCMM2SGsHcWBbQCWYDee9c1iAINpxgGlCeyqoE6TcSbNYZpoARGSD3yQ/rRSFYCijv4HshmAaU9/ARbMTlnslhJ0qrn0zLMckyCpdYiXJMSkq7TCZJA2zu7/yV+1fYB2kzItoS6EzjAAAAAElFTkSuQmCC",wind_set1_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_104},Symbol.toStringTag,{value:"Module"})),wind_set1_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8c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0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MDE4NzBhMi0xZjhiLWM2NDUtYTNmYS0yYmVkZjY2NDIyNjYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6jf0C6AAAAlUlEQVRIx2P8//8/A70A46hlo5aNUMvQBaytrQWAlAEQXzh69OgHmlkGtegAEOsDsSHQsgs0sQzNokSgRQtoEoxAixSA1AZaWgS2DGoRKLj4aZg2/gKxOsyy80AsQEPL/gCxBiwYQalvPzRYHaidMLAlEJpbiJ70kS00AFr4gNaZGmShPxBPpHqmHi2IRy0btWx4WQYAEX5gkXjEFKEAAAAASUVORK5CYII=",wind_set1_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_11},Symbol.toStringTag,{value:"Module"})),wind_set1_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvM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DxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphMDYzYjQ4ZS05NWExLWVkNDUtYTUwNi00YjQxNTZiYTM0NjkiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz68W99yAAAA1klEQVRIx+3WPQrCMBgGYDO6eQNv4ZKAvYg9gjiJo5s49hBde4YOySio4AU8Qb2A8Q0oSInmy58gNPDyQn6+BzqVaa1Hv1pswLJgQogWNbfcvSGFUupIHd6f7cIa5Px2XAHrUmMzZGzuIwsAdchno2JmnZBlDEjGMLzgnFcxoBdmGuAetUbuSOkDUrAtaoKhq9cewA1q5ws6McaY9WEIGIyFgFGYLxiN+YBJMCqYDKOASTEXmBz7BmbBPoHZMBsopayzYT3wCmyaFXuCJeoA7DL8Xf039gD8tf7Le9H6gQAAAABJRU5ErkJggg==",wind_set1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_12},Symbol.toStringTag,{value:"Module"})),wind_set1_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LW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cmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MTczMjhhZWYtMmI5Ni04ZjQ5LTk1YjgtNTFiMmI0MGI4ZThlIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxNzMyOGFlZi0yYjk2LThmNDktOTViOC01MWIyYjQwYjhlOGUiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4X/su6AAAAt0lEQVRIx2P8//8/Az7AyMiIwre2tjYAUgFAPOHo0aMfYOKEzAGbRYplUIsOADE/EF8EYgeYhcRYxsRAJABaJIBkEQjoA/ECBhIAExkWXYQKnwRif6DcAqpZhmQRyCeJQHwBKrUD6rN4Yi0kxmcgy96DLALGD4qhQD7I8glIQYsXsBBSADTwAZByxCNfSNU4QwMfGMgEg94yhlHLRi0btWzUslHLRi0bBpY9hOK7pGpkJKZxSS0AAF9qOYyZ/24PAAAAAElFTkSuQmCC",wind_set1_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_13},Symbol.toStringTag,{value:"Module"})),wind_set1_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0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LCZKD0cbGxhNIbSNUSpAajLhK/ftAfBWIZ5JjEUk+GxbtRrpaBgDHU4bh+y+TeAAAAABJRU5ErkJggg==",wind_set1_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_14},Symbol.toStringTag,{value:"Module"})),wind_set1_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKz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DMSiaGIiUPGLQMsMQJbFAjmLaJwQLwCxI8gyNiBDiwYW+AFxIxBfAmJ7cDDSOIGAfUSzBIKU9FEsopVloAztD8QTMTL1aEE8atmoZcPLMgBGOmiqz5w9eQAAAABJRU5ErkJggg==",wind_set1_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_15},Symbol.toStringTag,{value:"Module"})),wind_set1_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93c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nGgPAASHRiFmUeVvsiVANuj6XjHwkj9/l5f0yzZhrU2+NeI3MCFEIqUc4miNMWfq5a8v8oQppfqoU/E4A3iMibVQO2SKXKngW6z4jB0ctxzgR8wNF+iFcYHeGAfYCKOCjTEKGISFgsFYCEjCmoJkzAfEPkWlWuuMjFWAOTIpQezcpWtgKxasArwhYwdGwR7AzEEliByiYDVgmx0D0kPNEdcXZIkMijU7tkBtatZR/tkI1a1Y7YHltVjs+WMscwfYAPjLDSYjfwAAAABJRU5ErkJggg==",wind_set1_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_16},Symbol.toStringTag,{value:"Module"})),wind_set1_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3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3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6o2iheAAAA2klEQVRIx2P8//8/Az7AyMgIZ1tbWzMDKVkgfn306NGv6GoJmkWiZVFAaikQzwZalkZryxKA1HwgXgi0LGHUMkot2wnEL9CUXjpy5EgfLSw7DcSmaEoPAi1zoIVl64B4M5rSB0DLDowmkFHLRi0btWwEW7YZaJkf1S2zsbERABr8Ab2KAYp50MKyC1AmqPoIQLYMyXJDIP8CNSyDGXgRiGcB8VRo5bkCKg5yjCPI91SJMyQfPIY25e4CsTKyRVRNIEgWwgCKRbRMjRgWUd0yqIWgRHIA3SJiLAMAzj042l0A2lkAAAAASUVORK5CYII=",wind_set1_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_17},Symbol.toStringTag,{value:"Module"})),wind_set1_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRw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nNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4EvSixAAABH0lEQVRIx+2WsQrCMBCGG9FRdHJQNwUHF13tIgqCmz6Buzj4KL6AD+Ckk7MKXQShgqOgDk461Ceo/0GEUGNFey0IHnwkTWk+7nKECtd1jagiZkQYkcoMKuMDjjBNMwva3r0J1swgyWNYgTnmzdDKKEULUAA7sA1FphE1LMu6ssteiC7s3egRHUACpNhbX5PREZRoDe+KbDJd6UAXrEHulTDGdUbghnlLEU4Cyd41gyKcgb73e6HeHEIIlq5Tb6ePM/tGpIu4Z9M0hhGBzWxOkS6zCuiBDrfoKTMlHCnagAzYBxX5ndlZEdG8FlTkl9kYJKWoyiHyk5HIAQNQRklpzYbUCUNGQZ05VZ6XoM4po3YfStFR8ohT0DKK/6/cz8nuYhOUc4XpGO8AAAAASUVORK5CYII=",wind_set1_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_18},Symbol.toStringTag,{value:"Module"})),wind_set1_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLz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cnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MTQwN2FiMS00ZGYyLTQxNDUtOTY3OS0wZGExNTdlYzUxNGMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz45b2qcAAAA2klEQVRIx2P8//8/A70AEwMdwahlo5YNHsswgLW1dQMQF1DbXFB+ZkKzaAGQqgdiBVr7aAEQ/wfi+bQwH+QzRqDhAkA2yEf+QLwDiDtpYNf9I0eOPGRBsggEPKCY2mADEAeCLDuAZNkTIP6DpOgtEH8hwVBeIGYD4vdA/A9J/ASIYITGVwKQAsXVRSB2OHr06Acy4x3kcHsgNgSacQFragRKgIIyEYj1QT6FxiPtMjWahQtoXoJALXQE4gJaWMaCLgC08AAF5oES2EMg/oZNknG0WTBq2ahlNAcAT85GVwi/HiUAAAAASUVORK5CYII=",wind_set1_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_19},Symbol.toStringTag,{value:"Module"})),wind_set1_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIEN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ZjIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6M2Y2OGViYzgtODdhYi1mYTQzLWFhMmItNDExMTA1N2ZkY2ZjIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozZjY4ZWJjOC04N2FiLWZhNDMtYWEyYi00MTExMDU3ZmRjZmMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7DimUJAAAA8ElEQVRIx2P8//8/A70AEwMdAV0tY0EXYGRkpMhAKysroBGMyUDmxiNHjrymmc8sLS1BFk0DMmcD8TKCPqPQRyCLMoD4NxBPpkmcWVhYoFsUcvTo0U1UtwxkETMzM0GLKLaMFIsosoxUi8i2jByLyLKMXItItowSi0iyjFKLiLaMGhZhtcza2joBiBdQ2yJcPksA4ngki+ZSwyJ8wXgByaJEIP5HqUX4LPuIZBGoKo+h1CJ8pb42ENtDLYoGWrScljW1CJSeB8TPgQnGAYRp3SwA1bj7YRhooQG1gxGUGuWxxSMwOC9QYhnjaFNuyFkGALsGc4moyuEOAAAAAElFTkSuQmCC",wind_set1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_2},Symbol.toStringTag,{value:"Module"})),wind_set1_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcA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ElFTkSuQmCC",wind_set1_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_20},Symbol.toStringTag,{value:"Module"})),wind_set1_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0xMi0xMlQyMTo1MDo1MCswMTowMCIgeG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IV4Hy+4G4EGjZBarFGdRiFMtolhrRLLsOtEyLXpZdBFpmMGrZqGWjlo1aNggss7Gx0QFSJWjCf4E4iRaWBQCp9WjCz4FYkhaWiQEpLzRhPmgFOppAho5lMkBqHxCfBFoWSzXLqA0A6xYt2rtq/B4AAAAASUVORK5CYII=",wind_set1_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_21},Symbol.toStringTag,{value:"Module"})),wind_set1_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90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fC1jAWZw8jISJJma2trASA1AYgVsEgvOHLkyAKclpEBQJb4A7EADnnqWXb06NELQEoQ6ks2IHUSiA1oGmdoFn2hmWVYLLKiiWVQi9YgWwQM2stUtwzJIl8gfoPFogt4kz4FFjmhWeQIxA/Q9TEil43E5DMiLIID9HKXCYth3FZWVoyUWkQwzoCGKQKpG0AfTgOyGalpETafgUoEcSDOAGK4hdSwCGucAQ32gxrMCsQzgLgAiFeTYxF6nGFNIGgWHgJiO3J8RJRlUAtBBWwDNMOSFXQEUyNSHCVTYhFRJQi1EgOxxdUKWliEy7JPtLAIV9mYBMR8QIs+ULsNwjjabqQGAADOMI+NTqAMqQAAAABJRU5ErkJggg==",wind_set1_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_22},Symbol.toStringTag,{value:"Module"})),wind_set1_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3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IFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6tYBUdAAAAxElEQVRIx2P8//8/A70A46hlo5YNHsuwCVpbW8sCKUEgvnb06NE/tLbsAJCyB2JDoGUXBq1lQL0CQKoAiDeg66WFZQpA6jzUbAdk/TQJRqB+AyC1H91CRqgkL5BiRlK/AWqZFRBfJzOKdIF4M5QNtpARaJE5kHOCxqn+IxAbgCwzBDL24QpSEgE7Gp8VGmKgYHRkpJVXgJ5IAFLzYRYBg/EDI70sYqBS0GFLiefRLaKVZaBMrQ/EF5EtGq1iRi0btYw+AAA4LniBR+AgJwAAAABJRU5ErkJggg==",wind_set1_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_23},Symbol.toStringTag,{value:"Module"})),wind_set1_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJ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0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4Y9NnIAAABL0lEQVRIie3Rv07CQACAca4+AROLr0CiG/2zuKADiQNMLmLCYOLCxIisbE7ExZgwubjI6uDQxrDxCDyDTMSY+l2gpjZt6PWuLnjJl4NruR+9ijAMK381xH5gQojMG23bFpZlNYIgeM+7efJBfmGe5x0yPdCQTefRuuu68l9M6JpuuDYxgQ2YxvRBTQk6jsMDiwj6pDbrMxPYAdOULrbgKV3GoA7QSx5oJybfGUeWBGU1VSgXJkcCXNEA6F4Fyo2lgD/vsBTMBKiE6YLKmA5YCCsKFsaKgFqYKqiN7QK51mV6pGPf9xfaWAq4phbgK+sjPt/SCdibESwGPtM5fdEZeaVgGaA8wl4pWAx8og7JDYVxDOSO6Sj6OdWpuv1uHOtXNseXNq7AlplY2eMfMzK+AfA7BNqLnZ+LAAAAAElFTkSuQmCC",wind_set1_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_24},Symbol.toStringTag,{value:"Module"})),wind_set1_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3L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9InhtcC5kaWQ6NDI2NTc5OTctMzRmYy00ZDRjLWFkZmMtZGU3OTEwNDQwODcxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MjY1Nzk5Ny0zNGZjLTRkNGMtYWRmYy1kZTc5MTA0NDA4NzEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5+vSapAAAA2ElEQVRIx2P8//8/A70ACzZBRkZGONva2roQSGUD8Q0gfoPHrItHjhzpJ9kyNOAPxMpQjA9cBGKKLbsExPZAvById+FR94CsYEQD76D0qaNHjy6gJM6YGOgIRi0btWzUslHLRi0btQw7UKGJZcB2xwQgNsAhpwDEDdT0GajdcQDdQij/AhDngyyllmWBQAxq4x0AYgmomDSUDxJ3BDYRHlDFMqBBINc7Qg2OhwqDLOIH4kKoPMmAEVsjFdZuhAYbzBIQSMTX6CHU4MWbGqE+cADiD4QsIgYAAEopQHxHFb+mAAAAAElFTkSuQmCC",wind_set1_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_25},Symbol.toStringTag,{value:"Module"})),wind_set1_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtj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QFw2WnmOWjZCLQMAo6VhoG+o+KgAAAAASUVORK5CYII=",wind_set1_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_27},Symbol.toStringTag,{value:"Module"})),wind_set1_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyM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FugU+3f1XVSQ7sG+gBX8BQVd9yPuMYuAAOuoBtsRFwAywd+AHYULA1pqrX1tp9QIAB8A6UIeA2rA/cO2wB4MAnYBgKNmLGGG9QLBiFxYLRWAzYCQsFO2MhYBKsLZgMawMmxbaBybEmMAvmAVfAiYjMsmAOPAUmwA7wLCLHuW52BDwAe8ALUIjIKkfO/kJ3wKWqrnNUoxfK0We1UOoJUgKPdVBqbAxc1UGpsV3gzP0n101T/xcW6Tzax9KylQAAAABJRU5ErkJggg==",wind_set1_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_28},Symbol.toStringTag,{value:"Module"})),wind_set1_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9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Y6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4JJUplAAAAu0lEQVRIx2P4//8/AzZMDLC2tlbAJo7LTCYGMgHQIgMgdR9ILyBWDxMFFh2AcuOJtZCJAosYoULfibWQiUyLQJEaCRV+BsQLiLGQVJ9NgFrkCMTXYIJHjx5NRLLQgVqWJQCxIdDwC0hibEgWgiy6gEszCyk2AQ18QED+INVTIxp4R9OkTy4YtWzUslHLRi0btWwkWcaCp70Bqvrj8ejlgdJiFFsGBPYELIMBAWpYBmrAPCAQBWZAfINYywB/kFBeU+tN8QAAAABJRU5ErkJggg==",wind_set1_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_29},Symbol.toStringTag,{value:"Module"})),wind_set1_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc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b2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz62ZiFvAAAAlUlEQVRIx2P8//8/A70A46hlo5aNUMvQBaytrQWAlAEQXzh69OgHmlkGtegAEOsDsSHQsgs0sQzNokSgRQtoEoxAixSA1AZaWgS2DGoRKLj4aZg2/gKxOsyy80AsQEPL/gCxBiwYQalvPzRYHaidMLAlEJpbiJ70kS00AFr4gNaZGmShPxBPpHqmHi2IRy0btWx4WQYAEX5gkXjEFKEAAAAASUVORK5CYII=",wind_set1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_3},Symbol.toStringTag,{value:"Module"})),wind_set1_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPS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XZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5cJiedAAABFUlEQVRIx2P8//8/A70A46hlo5bhtYxaBllbWy8AUvE4pBWPHDnygJqWJQApeZjhQBwCxNxQviPQsgOM1A4qoKXMQGozEHsC8X9o6FHfMjSL/gLxUiCOO3r0KDhtMNLQIjcgtgPieqpaBrVoERBHAfFvIPYAWrAPKN5AVcvQLPoOxD4gi6ByBVDLBCm2DJ9F6IAiy0ixiCLLSLUIxTKg5nAgdQSo4SktLIJbBtTsB2RvBOK7QOwA1PiE2hYhW8YPZO8CYjN8FlJiEXow4rWQUoswEgguC6lhEdbUiMVCZyBuo9QinEkfzcIvQMxDqUV48xnUwovQ+ukfELtSYhHBTA20UBZIHQfifqBFvZSWoWDLhm2DBwBIUd7LFBjtVwAAAABJRU5ErkJggg==",wind_set1_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_30},Symbol.toStringTag,{value:"Module"})),wind_set1_31="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMD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+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2N2YwZGE0Ni1iYTJkLWQ2NDAtYWY3NS04ZWU2ODQwZTkxNGYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz48e6AyAAAAqUlEQVRIx2P8//8/A70A46hlo5YNHsusra3NgXQHEC8+evToPFpblgCk5wPxQqBlCaOWjTzLgOYZAKnzQJwING8BrS0TAFL7gdgA3UKaBCMuC0GW5QLpSUB8FIjnUDGKuIC4HIjlYBaCLANZkEyHAkQRZFkItAR5DMQPKTRQCIhZoWw2ILaB0hCf0cIL0Dg7AMT6KHFGL4toZVkBkOrHms9GK89RywaNZQBxsXzGMEMyJAAAAABJRU5ErkJggg==",wind_set1_31$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_31},Symbol.toStringTag,{value:"Module"})),wind_set1_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAg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Y4MC02ZjRlLWE4MGMtZWE1ZDE4ODY5NjUwIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiOWM1NDFkYy0wNjgwLTZmNGUtYTgwYy1lYTVkMTg4Njk2NTAiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz57cT8JAAABBklEQVRIx73UvwrCMBAG8OY1fAoHt9bVxcWhm4iubm7ippubm6vgoKPi5irtI4iru4+gUr+DFEqxNrlLPPi4kEB+JP2jsiwLqJRSQVWFYRij3dI0vQaGle9bLFWHARqjrZEH0gD48oIVIKoZoKWXk0kgK0wKGWMuICMM0AbDkRSqxaIo6qCd9fwW0DAQlMnJLhi2kScSAzx5w/Qzo6ubSkGbt1EM2n5nIpDzB2GD3H8jC2RhXJCNcUARZguKMRvQCVYHYu2ONkmS5OgEK4FvZABwr+dpwwWwuTOsBNImfQK9YRpc0bXlILLzhn0BlXMMQBOtV5jqIi09do4RdKhY/o39o/6KfQBw5yPaP4ueUAAAAABJRU5ErkJggg==",wind_set1_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_32},Symbol.toStringTag,{value:"Module"})),wind_set1_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iI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BGU2YNiSbBGaPDOQigJZCnUA1kxN0DJCFpFSUjFR4iOyCmKgoQEgTEuLQIAFSjcA8Qcg3kAri5BToz6Sj/qRMizVLMJI+lCLCkDxCcQx1LQIORhBQBOI7aEWRQMtWk7LmloMSoPi6znQlw5ALEArn8FAJRTDACO1LQPFEzZfXKSmzxiHbetq1DKqAABg2py8Gq2o6AAAAABJRU5ErkJggg==",wind_set1_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_34},Symbol.toStringTag,{value:"Module"})),wind_set1_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJj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eHBhY2tldCBlbmQ9InIiPz518y/3AAAA40lEQVRIx2P8//8/A70A46hlQ9MyRkZGFEFra+sCIHXg6NGjF2hqGdCiBUAqHogLgZZNoIllQEsEgPwJUIsWAC1KpEkw2tjYgCw6AMT6QDwdiKuoaQcQ8wEd/xBm2QWoRbQES2GWnQdyDIAYlDT/IikA8X8A8T8SDOWG6vsG5XMAMTuyZaBg3A+1MBHo5QXkOh8Y9yCLPgLNEIDyG4BUPSjBoScQii0kyjKoBLKFgUANG2hmGZKF+UC8kZxMTZJllAKg4TlA6ifQstk0twyL5aOWUcUyaSBlCsTHRmvqUctGqGUA1HOxcfz448gAAAAASUVORK5CYII=",wind_set1_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_35},Symbol.toStringTag,{value:"Module"})),wind_set1_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hv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IFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7h+8gUAAABXklEQVRIx73UsUoDQRSF4X8UEfElDAi2wTKbImgvKQQ7QSyUgC9gaWdjoSDpBAtbg4jaBuYkbdIqgm8gNhZKZmx2IcIm7m5mnXKm+Lj3nrnGe89/HTMJq9frTaCa8jSQ1MmDJMY0bFrJFUlvZWFPwCnggQ9JgzIqewUqwBxw5Zzb7/f7uYecFesCZ8DtLGBmTFIjiqKtMbDtnGvlAbNg78BQUgMgiqIN4B5YygtmwZoA4zEvCv6JGWNS74uAhbEi4ExYXnBmLA8YBMsKBsOygEGxGNwEHoEFoO29b/V6PR8cq9VqxhhzCRwCI2AeaAMtST7kzAyQQN/ACXAct/Qa2LPWulDYOXAUQ9uS7uIZPgCLwNBaWw2FXQAHCTQWmAR7ttauBcHiea1KeklJZgfYsdZ+BU1jCnQD7EoalRH9VKjsT/0LCr2u1gE7CQqNrcRYNw0qo43L3vvPZD1Nwn4A/wl12lXt0VcAAAAASUVORK5CYII=",wind_set1_36$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_36},Symbol.toStringTag,{value:"Module"})),wind_set1_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5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EwNmQ0N2ItY2RhMi0yZDQ3LTgzMzctZTA1MGMyMDUxOTBhIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmMTA2ZDQ3Yi1jZGEyLTJkNDctODMzNy1lMDUwYzIwNTE5MGEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5LIf/zAAABAElEQVRIx2P8//8/A70ACz5JRkZGvJqtra0XAKl4IE48evToApg4Lg8w4vMZPsuQLIKBQKCFG6huGZJFn4CYD4jfATEzEDsALbyAy0wmUsMdySIQvRsqPA/kISA+AJQ3wKWXiUSLHGAWAX2QiCT1FIgdYRZSxTKgBQegQZWIRe4CkDIEyZOVGnFYeBCP3AN8epkozDpPSFHMxEBHMGrZqGWjlg0zy0gqG4Glviy03oIBXppYBrQIZPAjevnsDxDfQ/OZILSmpq5lwOrjO5BSRvPtBCCVP/QSCNDlrUBKGo8SMygtR41gzAJiASLMUaCGZZFALIFHXhyIVYF4CjGWAQAQUU7Q8BdQ1QAAAABJRU5ErkJggg==",wind_set1_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_37},Symbol.toStringTag,{value:"Module"})),wind_set1_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPS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9wMt6qW0DAVbNmwbPABjM+zLYXv/bAAAAABJRU5ErkJggg==",wind_set1_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_38},Symbol.toStringTag,{value:"Module"})),wind_set1_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iM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g4i5AzA3EO4H4Bwn2yAExF5T9Boh1gJgfiBcCHZAAsmwOkJNM41T/AYgNWYBEOxC/BuJHQPycihYoAnELEP8GYkegzx4w0sIbwNAygGaf/1CLLpCbtMmyiFapUQGIz6NbBPbZaINn1LJBYxkAR95CC0OzDSMAAAAASUVORK5CYII=",wind_set1_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_39},Symbol.toStringTag,{value:"Module"})),wind_set1_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQ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BgGYDO6eQNv4ZKAvYg9gjiJo5s49hBde4YOySio4AU8Qb2A8Q0oSInmy58gNPDyQn6+BzqVaa1Hv1pswLJgQogWNbfcvSGFUupIHd6f7cIa5Px2XAHrUmMzZGzuIwsAdchno2JmnZBlDEjGMLzgnFcxoBdmGuAetUbuSOkDUrAtaoKhq9cewA1q5ws6McaY9WEIGIyFgFGYLxiN+YBJMCqYDKOASTEXmBz7BmbBPoHZMBsopayzYT3wCmyaFXuCJeoA7DL8Xf039gD8tf7Le9H6gQAAAABJRU5ErkJggg==",wind_set1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_4},Symbol.toStringTag,{value:"Module"})),wind_set1_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL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+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7JbXLiAAABXklEQVRIx73UvUrFMByH4WYQdLKL4CKKmyCICC4t6OKoqDegOPYSnL0IRUVxdhccxKFfF+AgeAQHD64Kfi1tfQMRSqnHNk1O4Mf/JIE8J20aURSFI5sQwqlrnuetU/bIbhRFb06D9rtmtYlBGNAG5ZKMkB2wCytYBTokAVhhHOsCtcKqEPNBHMeNocZYFcrzPEiSpBXUCPN9/4CyL8cklGVZkKZpwR+YoH9FjnmUR6awF8ok+SCLLPygoBsyT+4ZmzOFTVFuySzpk21yqqBHsgr2bPKdjfPzmiyTLzLWFmp7GsvgN1kDCo2fxtJ3Vgb7amc9K1hXUPdu1AK1MF1QG9MBO2Ftwc5YE5B5l+KGYfjUGfsPZO6csgnmGsFqwHd1l/YYl9fdCpgwhpXAUN2dn2SBnFjB/gDv5G6tYDWgPBgzNh6jXHhadSOyREZlxwZ2JndRM/UKtjUQG0YbKvYDEgc22rDtQMQAAAAASUVORK5CYII=",wind_set1_40$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_40},Symbol.toStringTag,{value:"Module"})),wind_set1_41="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3J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pc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmNWJlNDYxNy1jNzc3LWMyNGItYjZhMS0xOTVhMTAzYmI3ZGQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6z4Y8TAAAA0klEQVRIx2P8//8/AzbAyMiIwre2tp4LpLiB+AQDfrDmyJEjT7CaSYJl/xmIA4lAyxZQy7JGApYtAlp2jyqWHT16lJGQ13CaOagtA4KPBOyKAQbjFnolkGCgZetG42zUslHLRi0btWwoWWZjY2MApByAhk/AZhmQ7wCkHgD5D6hhWQGQ6gfihUADE5AtA7ITgMz5QLwRyA+gSjACDQUZCDJ4IRDHwxo0UIsuALEj0LIPVIszJAuRAU6LKE4gaBbitYhaqfE8kFIAYkNsiYIiy2gBAO5PG9owJKcyAAAAAElFTkSuQmCC",wind_set1_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_41},Symbol.toStringTag,{value:"Module"})),wind_set1_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvc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B4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6OTkyZTQyNDktZDZjNC1kYzQxLWExYWUtNTIzYWQ2YjBkNjMwIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo5OTJlNDI0OS1kNmM0LWRjNDEtYTFhZS01MjNhZDZiMGQ2MzAiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz46R9bMAAABUElEQVRIie3QLUgEQRjGcee2GUxmu2BQDC67G9QiNgWbKIrljHLB6EWT0SKiRUwiaNLgB7JFEC/YBS/ZLJa7W9f/yhws437veJYbeHhfZmffHzPC9/2BXi3xL5gQotQg0zSFYRhPtMNk1HXdzz/BLMvid3FAuyG3bsg8YEsrJm+0T1slHRIAg+SSLIXBUhg3qvDfI+0kaQfDyTu5JkMqWBiTNzqjXZRbewytBY1t21NRYCFMebovUpF1laEncWBuTIG6T2eR7TQwFxYFMfhCDt5NAbM/YxLUXQngWGYsC5QG/hhpWB4oAmxydiQTVgQKgZuUB86//MIcxxmnPJMJDjTKQHErjE1TbsmM53n3QIf067qgOGyWrEgo+LgMdFoWUrE1yhG5InO6IRWrU3bkvnYoCXslb6FzdeA7ndgC5TzizAfZAjvWhvVi9bE+lri+AVSwAaC0qMBdAAAAAElFTkSuQmCC",wind_set1_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_42},Symbol.toStringTag,{value:"Module"})),wind_set1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5KWRQKpdCBuBVq2G8hnBbLXQy2LHq08Ry0btYz2AACujrTLUycrgQAAAABJRU5ErkJggg==",wind_set1_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_43},Symbol.toStringTag,{value:"Module"})),wind_set1_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6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GscFwkHLNjm3b22WQtpGGRZM1xdtXOqdRGqNDsMs6sIA66YJWQHyZ5SuKbdEeddEVLcuARbFZ6qZbAUrdYWGMiR90XZ/j9TX10RmtlQHzsBmBrTPpR3QOcIrhjgbKgpmYpmmJF8mCUpgsKI3JgJWwsmBlrAyoBCsKKsMSwHcaB2zVhUW7yw3Ni1PRRt1o36HKZYygE1qlb4qA/viSqnpA4tAXLdBnbEnfaMKyrFbVR/8PxF3ci882GfbFV3fBmlV+1FnQovh36KFHmgYLqmCnBaBj5jYdxwmr7I29DC80nAUFQWC6rhuq2BuHGAaBnvMg1Y/+L8j3fdPzvLCu7eqJYTINUo2NMCwBHSVBuVhdxw8nXmXa/4F1sQAAAABJRU5ErkJggg==",wind_set1_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_44},Symbol.toStringTag,{value:"Module"})),wind_set1_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJod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NvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4GOY1fAAAA9UlEQVRIx2P8//8/A70ACz5JRkZGvJqtra0XAKl4IE48evToApg4Lg8wketKJItAYD6Qn0BIDxOZFiVALfoBFXpBjIVMZFo0H4gvAPFGqPBCKH8CUN6AKpYBDVJAssgRyWcgOhAUXUB8gCqWARPBAyDlALIIyP6ARc4QKk96asRh4UECjqFuAkECD0hRzMRARzBq2ahlo5YNM8tYCJTy/EBKEI8SAVIcTagg3gvExsTUPtSw7D4QixDwGcj3Xyi2DFhlhBII5gYgVQ/E54dcAikGUrp4lMDaG/LUiLNYINYnwhxFalgG8pksHnlQ4tEA4sXEWAYA/sc+2twOELgAAAAASUVORK5CYII=",wind_set1_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_45},Symbol.toStringTag,{value:"Module"})),wind_set1_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjph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lZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1MTAxNDFjYy1kYWI3LTk1NDQtOTM3Yi03Y2EzYjk0MGI2MDkiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4DffpdAAABRUlEQVRIie3WPUvDQByA8YuKblpBZ8G5oi6lkKU4q6iDQwf7SUTwC+iui5ugg66CL0MyCS5u6uDiVilVKQhifEJPSK/XSy6eDtLA03/TI/3BQUK8KIrEXx1eH+tjRszVH/m+/8iY0iw1gyAouMZ2GHPydIjKcgowzymWQMcYNzRNnzTwK5gCNeieSs4xDVSifZoFG3eGSehMAs9UDsPwgd+v4nWwihNMgZ6oEkNy7URiK10Yi4OMLTrigtufQMnj+15WsQ3GAdVpwQRmhUzYMOOYlkygDdSBya2r0SEXtNJAW0jFtpmbdEmLJjAPpGIzzAuaSAGXadcW6sDij4zgh2g/66ygLiwFnOT7HRXonYo2kBbrAVbpVLS37pVWgc5toJ6YBnyhUZFj6zJhCfCaRuiN5vNCqZgE1xh7tJ5n67TYv33h+QKYtfDLXj+b2AAAAABJRU5ErkJggg==",wind_set1_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_46},Symbol.toStringTag,{value:"Module"})),wind_set1_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjem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iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N2YzZWIwNDQtNGMzYS01ZjRjLTljMDAtMDM2MjIxNTliOTgyIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6N2YzZWIwNDQtNGMzYS01ZjRjLTljMDAtMDM2MjIxNTliOTgyIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo3ZjNlYjA0NC00YzNhLTVmNGMtOWMwMC0wMzYyMjE1OWI5ODIiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz52s66oAAAA7klEQVRIx+3VMUpDQRAA0LeIWNjoAQQPoCTWA5KcwPQ2sfUSySHsra2MCLYiMpWFH8R7KAgigrH5gZAuki8if6tddmceuzvslul06rdaabEW+ztYRGzjCM+Z+QAR0ccOLjLzY5XYAJe4ysxBjVXo4CAzqxb731hE7GKIyWJsU9gjCnrz8Y0cY0R0cbsIzmM3OK7X32MPh3j64RXt47ru9zKzKhExwrjhx+MV3RIRpzjDJ97ryU2s4Q1fSyTdWBiv13kq9EtTW4mIIc5nUGa+lIagMUbzkLpaVg3NCm6CkxnUFLaFTmbetT91iy3VvgGoXauKXkJ6FwAAAABJRU5ErkJggg==",wind_set1_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_47},Symbol.toStringTag,{value:"Module"})),wind_set1_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA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+AfGFvO+ZqvaBk6TZNbNLPOL9gqjqGdBLVtgxs16pb+NMSXODQVgoGIyFgAthvuDCmA9YCDYPVNUasOGcuyoEywJV9QI4d85JYdgU+AAIMDCz49KwNBD4Kg1LAT+A9TLKWAOWk+YW0J2MlYH9+ekpA1sDVme6a8C3c+4uE/uP/AKQczva4pO85wAAAABJRU5ErkJggg==",wind_set1_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_48},Symbol.toStringTag,{value:"Module"})),wind_set1_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1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80lEQVRIx2P8//8/AzbAyMiIwre2tp4LpLiB+AQDfrDmyJEjT7CaSYJl/xmIA4lAyxZQy7JGApYtAlp2jyqWHT16lJGQ13CaOagtA4KPBOyKAQbjFnolkGCgZetG44xQMOYBMTOa8tlAR3ylhWXYgCLQsge0sKweiJnQlPcCLfs8tONs1LJRy4a5ZTY2NgZAygFo+ARslgH5DkDqAXLJQYllBUCqH4gXAg1MQLYMyE4AMucD8UYgP4AqwQg0FGQgyOCFQBwPa9BALboAxI5Ayz5QLc6QLEQGOC2iOIGgWYjXImqlxvNASgGIDbElCoosowUAABqcINpdV9juAAAAAElFTkSuQmCC",wind_set1_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_49},Symbol.toStringTag,{value:"Module"})),wind_set1_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxu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BDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4V+2DvAAAAt0lEQVRIx2P8//8/Az7AyMiIwre2tjYAUgFAPOHo0aMfYOKEzAGbRYplUIsOADE/EF8EYgeYhcRYxsRAJABaJIBkEQjoA/ECBhIAExkWXYQKnwRif6DcAqpZhmQRyCeJQHwBKrUD6rN4Yi0kxmcgy96DLALGD4qhQD7I8glIQYsXsBBSADTwAZByxCNfSNU4QwMfGMgEg94yhlHLRi0btWzUslHLRi0bBpY9hOK7pGpkJKZxSS0AAF9qOYyZ/24PAAAAAElFTkSuQmCC",wind_set1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_5},Symbol.toStringTag,{value:"Module"})),wind_set1_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS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MTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz50C9EOAAABXElEQVRIx+3Wr0sEQRjG8e9Wk4gWDRa7YhLfDXcKNkGwWA0GD5sgnsWzeIJgEg2W+xf80QwK8hRBBC0W29kMGsQka9mFZdy73bvbOxDuLcv7zjIfZvZldrwgCOhVeD3HPM/reCIzuwRmgUlJ9a5hZrYNVMP0BZiR9Jk75kAfwCBwDyy4YEeYmV0Ai2FaAq6BW2AsCWwbM7N9oBym55KWwvpEI7AtzNm6KMqSDpqBLWMOVAqfJxnA+ZYwB9qRVA3r6yngEDCdGXOgJ2AUmJP0nAKOA8OSHjJhDrQBLANF4D0LmLkb3W8k6dTMBoCrFPAbGJH0lQlLgmJjcfBQ0lZsbAV4k3T3Z2W+708Bj8CqpFoa5IBrwLGkn0wHse/7BeAmwsysAuw2g9o+9WNYESjEoE1JR7n+YmLYWbgtuUNJGN2CGmF14DX2Ti1qmrywqBuTYk9S5X/eQfpYH2sUv18VBqlBaU+CAAAAAElFTkSuQmCC",wind_set1_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_50},Symbol.toStringTag,{value:"Module"})),wind_set1_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQW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ctNWQxNTliNWRhNzI4IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YjUwMzhjMjYtZGY4Ni1jZDQ3LWExYTctNWQxNTliNWRhNzI4Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiNTAzOGMyNi1kZjg2LWNkNDctYTFhNy01ZDE1OWI1ZGE3MjgiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5RsQ8mAAAA8UlEQVRIx2P8//8/A70A46hlo5bhtQxdwNraOgFIgXDB0aNHL9DMMqhF84EYZIkj0LIPNLGM1hbBLUOy6CkQTwXi72Saxw7EZkD8EohvQcVUgVgMFC2MQIsMgIzzdEgfhSDLBICM/UAMsvQ1EB9EUvALKoYLqAGxIBBfAeKvQCwDxMHQEFoDVRMCxNJAHAgLRpCF/dBUuBAYXwnEOBWo7wCQsofG8QEg3wHq8INAvgO6GvTUOJ8UCymyDM1CQ0L5jGLLSAH0tqwWSBkDcSnQ8Ns0tQyL5cPXMl2oZduAlsVBxRYCKR8gdhitPEctG6GWAQDBvKpYLo5wbAAAAABJRU5ErkJggg==",wind_set1_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_51},Symbol.toStringTag,{value:"Module"})),wind_set1_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFH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gmPceUQtIJXOI79PNp+R1oa42JE7I2BnuEuNnOkn7FS1/VuF934J9SPiIOU0nIe2kfxsa7rM6XdOAlawEucyxfvWl3XmyUxzgJ9zdfRdumZvcD5WaAuvrMlXMbGNKizcZXhRqhr7B7WJ0FdY0t4mH8htpum/i9zomraGIMNSgAAAABJRU5ErkJggg==",wind_set1_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_52},Symbol.toStringTag,{value:"Module"})),wind_set1_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29s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RIx2P4//8/AzZMDLC2tlbAJo7LTEZcBjMyMhKyyABIHQDiB0DscPTo0Q/IlmEDTAxkACSL+IFYH4gnEKOPiUKLwB4B4nig+AKqWoZkEcgCO6jwLyBeQIyFpPpsAtQiRyC+DBMExlcikoUF1LIsAYgNgYZfQJeAWpgAtRR7oqMgNQoAqfdA/BNoEQd60qdaakQDP4hVSA3LGEYtG7WMKoCFyGJKAkh1oAn/pYllQACyLJ4uPgOCe0CciCUK5pJiGTWKq4/A4kqAmOKKBY9hIJfL4bGPD+YuagRjOhBPI8IMXmpY9gqIHxLINrKkpEq6xtngyNRAlxsDqVw8etmgNAc14syWyIzMRg3LVgPxBwL6zYH4BbGWAQAlPnzUjxew6AAAAABJRU5ErkJggg==",wind_set1_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_53},Symbol.toStringTag,{value:"Module"})),wind_set1_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9w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0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6BQeD4AAABiklEQVRIx+3WPygGcRzHcZcoijLoGdgthieLcoNnYRCSZGCyPoMoO2aL8RmRYiCDifJIz113SZFBFoOy2D2Jujvvn37p59zfxz1KPVefvne/5+736n73vevRPM9r+qtNa2D/D8tqIl3XpyhLvuFhWRcMw9jKEitQVpWhTjIg99fB1rR6LBfwIKVCWuqK+aALuZTZYwHQLHnOHJPQqXxWAholQ+Q8NcZk05RL0zSfYqBjMsN574zn2b8my2CbWsCFvZQJx3FKtm17SlsfkQdSUMEwSPk9z/GNeJ+DMEMUUgIsCpCxbo7LpF8F4yB1C8MmKQfyIUeBi2QvCfQNY6IcJcfJt0Gg67pFy7JUsEsiHUmgL4wJmtm/Jz1knIvKMeAIx4dpIP+d7VLmyWsUSLbJSdKlC8PE3e2QuRhQTNyaFvrRIDHgCmVDnnolhtJAgd0YBJKq0t6PohuBXtJ+YcJaXwXfiEPaa1m6WEwB98XkcuiMjNUKRWISFA1xR9pIH1D1Nx/qT6zx7yqL7QOUShbaG65G9gAAAABJRU5ErkJggg==",wind_set1_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_54},Symbol.toStringTag,{value:"Module"})),wind_set1_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp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zNjItMzg2NjY0ZjUwOTYzIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MDg1N2I3ZGMtYTliNC1lMzRhLTkzNjItMzg2NjY0ZjUwOTYzIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowODU3YjdkYy1hOWI0LWUzNGEtOTM2Mi0zODY2NjRmNTA5NjMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5RUoXVAAABJUlEQVRIx+3Wr0pEQRzF8c+siigLmgX3AUxr3SkKRovVZLVZTTbxBaxqshssFi3TN4rJN1Bh8Q8q1+CEy0VxxXtFYU8ZGAa+c87vDEwoisJvqeUXNYL9P1iIMU5jBZcppSuIMXYxh7OU0kudzlZwgr3S/gFOsVB3jK0PIm01EfP4MId6vV4IIczgIaX01GhBQgiruMFx484wVlk/VYxxFls4SildN139Weygn1vdHCy7WUSBizJwWFhRWb8C9rGGmTIwxBi3sYtn3Ofz7TyfAV5LFyu+AE5VDIwh4A7dckEm8k3KateU7g1uQ27QPB6zO5jM8MEPAOvYRx/LKaV3WN2KMW7gsAyS86wbtITzKmioR/pddTqd2zySzTIIwujDM4L9Gdgbs8pUNWQxot8AAAAASUVORK5CYII=",wind_set1_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_55},Symbol.toStringTag,{value:"Module"})),wind_set1_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEU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y3QCOWSSNtnOf5WdOkLeK/u6IVUVUub0Di5Uc81tPFSr6k29qmWbpKzGCQr9cvm5yre0gaZILdZUC5MA0prl4A+rH+IE0Bp6Yo8w1KwPGAhrF2wMGYCMj5NefY877MwlgUyJhPugdWtYBrwgcyoF18mvAKbt4bFwEC9+P8g+SkFSwCrpWEasGIdU9/Ok4Rh61g/ZSt2KD65rMbTRKwTvz+HwVjaNmkYAwAAAABJRU5ErkJggg==",wind_set1_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_56},Symbol.toStringTag,{value:"Module"})),wind_set1_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20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PC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6QEdPBAAABFklEQVRIx2P8//8/A70ACzZBRkZGFL61tfVBIGUFxG+A+Cce89YdOXKkiCTLsABJqFoJAupkSPYZFnASiFWBOB2Id+FR94oalv2FGXb06NEHVI0zLEAISjsB408Aj7prQHyKUsu0oHQuAXUbgTiAUsseA7EyEO8H4kd41O2hRjA+hNKTgHG2gdw4Y2KgIyDWZwZQehYwgUzAl6mBmOJMzQWlRUcz9YAnkFHLhq9lPMPDMmCRpADEB4A4AYd8AhBvoIpl0IzLD8Tz0S2E8ucDsTw1g9ERiC9ADVaBivlC+Reg8iQBRmztRlhTDtoE2I9U6jPALAL6/gM2A/G1Q/EmEKiBMB8StIginyEnGCAVD8QTCVmEz2cAdOlaRdoGpzYAAAAASUVORK5CYII=",wind_set1_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_57},Symbol.toStringTag,{value:"Module"})),wind_set1_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcv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jIwMjEtMTItMTJUMjE6MzQ6NDcrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7S2KRxAAABiklEQVRIx+2WPS8EQRiAbXxEeYU/oBAi0SgodiOCiEg0aKgVVFRC56PxCy5qhShEoxUhsQXNCYWIQqVTHLkIl5P1vMl7yWbNfp1bcolJnszczO48N++8s7uW53lNv1WsP5FZlvWjiWzbbqNacF03n6kMUTPVHXTBEcKZTGQq2oN5X/c6wp26yhC1Uu3DLLzCLqyGCWuW6YoeoBNKMMbkl/Qv0c6bhDXJDKErwhAT3+q4UZhaFhBJ6G7AgWcYiRKmkuke3WvoRDQOBTiEqRjhXGKZruhAk0HKBYwycVnPWJhwkWoFJhPJAqGTZKhADo5FHidMnCCGPZLQvcEpdMQIB+h/TCQziSS9dawvRtgPg/Q9fZM5jiNxvWbwLE7k+zNhwhba7bRLxjAik8YmF2wkEUUIp7m2EvlsrMpg25d17zAcJjIIP6AnuKIw2Rb0qugTJrjxJOFhl7NX9u9RnEwObHdaUeqXp8qkSL0GV/pbkqaYlSxYXpDl6i1b1qdCsJxXj0NjfvD8yxpG9gVG3yjypnf07wAAAABJRU5ErkJggg==",wind_set1_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_58},Symbol.toStringTag,{value:"Module"})),wind_set1_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg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W50SUQ9InhtcC5kaWQ6ZTUyMzIwYzEtNDdhMy0zMDRmLWE0YmItNmEwY2UyNTRiZDNjIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZTUyMzIwYzEtNDdhMy0zMDRmLWE0YmItNmEwY2UyNTRiZDNjIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplNTIzMjBjMS00N2EzLTMwNGYtYTRiYi02YTBjZTI1NGJkM2MiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4dBvlVAAAA80lEQVRIx2P8//8/A70A46hlQ9MyRkZGFEFra+sCIHXg6NGjF2hqGdCiBUAqHogLgZZNoIllQEsEgPwJUIsWAC1KpEkw2tjYgCw6AMT6QDwdiKuI1Q/EfED8EUmMA4hBCeEnshqg4x/CLLsAtYiWYCnMsvNAjgHURX+RFID4P4D4Hw4DQL5gh6qB+YQfqu8TmpqlyMG4H2phItDLC4hxKjCeG4BUPXJiAoqBLPoI5Augq0FPICRZSLZlUAlkCwOBGjbQzDIkC/OBeCOhTE2xZaSAUcuGpGXSQMoUiI8BDX8FFXMGUr+B/EPoakZr6lHLRqhlAJ4u93HI8t6FAAAAAElFTkSuQmCC",wind_set1_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_59},Symbol.toStringTag,{value:"Module"})),wind_set1_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsA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lFcEFtYWIC8Ow+IhUHJ/e/fv/00K/WZmZmzgJQHEINSXfyJEydIrpuIijNg8GkAqXNAzAnEkcDgW0HIYLLiDFpKLIVatIwYiygJxgYgNgLix0CcTUlxgzcYgb6yBlKHQEJA7AT01QFiDSYpGIH28AKpxVA1vaRYRE4wgkoJRVJLCZKD0cbGxhNIbSNUSpAajLhK/ftAfBWIZ5JjEUk+GxbtRrpaBgDHU4bh+y+TeAAAAABJRU5ErkJggg==",wind_set1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_6},Symbol.toStringTag,{value:"Module"})),wind_set1_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZ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cmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5nlFmkAAABqUlEQVRIx73VPUjEMBgG4EtPEHF2VzhwcTjEoX9wcu4qIroJ4iI3iLMOgk4uusltgoggDooc4iQc9meTE5wEwd1BXBwUW99AClGbtmlaD14+2vTykDRJSRiGlf/6ERFm2/YsSj2mqee67oUMEhlJWNKQRwA+l4VdI7v0f8gboF4ZI3uio0A05DAIghXf96Vfclasi+wh5ypgZgxTNmlZ1jQHtgG2ZMAs2CvKPcXoNcAmSgcZkAWzYHTpV/hlnhdMxQghsffzgLmxPKASFgM66KfheV5QCsbAOZQztkpvMcJG3AiLGNkQyg0yhgRJ20L1nfHQA7KFHLMp7aDPGX5KVVbjb6iJ7fGC+1PsDO1D7tDvBMAwNyaCDMMgmqYd4HqVe7yNtNAeSmMiSNd1Uq1WI+gT2UY22JQeIcuO4wSy2CnKQgo0j/uXbFtcIf30yANWl8VqKDvIGoVM08Qj5A/E7cEIewQ2qrIaaWMSFG12eq4uAvtQwdZR9lOgE2QJbV+q+6zGvm+baVBhx5XgnPwBFYoBGqcHsQgqGhtmWDcOKmMaB9HPe3Q8ibBvrw+i2v2MBpQAAAAASUVORK5CYII=",wind_set1_60$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_60},Symbol.toStringTag,{value:"Module"})),wind_set1_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA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hLWJhMTMtNTBlZjFjODQ2NzI0Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpkY2VmYjAyYi1jNmUzLTYxNGEtYmExMy01MGVmMWM4NDY3MjQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5Ny41MAAABHUlEQVRIx+3WPwrCMBQG8EZEQfEfziKii5u6OLRCnT2FnsALqFfRwXPokA66KA7iIrgKDuIF6vcgLUXUFpMOlT74eESov7ZJaJht29q7YoxpfqXrukndsqy19/eP//krBqiFRkgBGQKch4K9QE61Ae6VYh6ILkwhGeQhxiaBSrAXqO95ugGypMsI5JzvVWBjtBlB9AQY3wVWQ4rIClkAGytdIAJ3MeAXjIvod+WrUWA3tLKDhbb0BUZANcZi7I8wwzDqaBsk+cXLIQmkA2wngzXRjlqw6gLbSr1GvKa8uPNPdUAqkZuzLH2BfeZsipSQBrCzDEbfrl3AOesB4zIY3fHEZ85GYkU2gZ3iTR2pTe0e48Lc1GlxIr4GORE/AenjMNrLEfnbAAAAAElFTkSuQmCC",wind_set1_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_61},Symbol.toStringTag,{value:"Module"})),wind_set1_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V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m/uGrHFCb0MHhXdWIzrSTwK7VF12tMW4YxNoAEsBKpXi6GIxDXhFrEp/n/5hGigSiwJV//fp+/FuA+2khWKxCFCpjEdnhAm4RzTlZQ3oMiukxQS8ID6AGknjjLG/++9qmNgXCG8S2nkX+jQAAAAASUVORK5CYII=",wind_set1_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_62},Symbol.toStringTag,{value:"Module"})),wind_set1_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3A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gobdfMoa7AYfYEG7+gRu8AXswmL2EQxuOVU2+ACLBoMGk8VwLVeQ5YIg3GXDPXX+4ZtzBmaKsiwtqooWa7HlwSLiGHe4zsxziIgn7GAzM9/qMv/FhhjjNjOHFTbDFrqZOavLtFijWERsoJeZk0VgAzzUZRsZY0SMMZzPN3ZndWAREZcY4QWPVfYQK7jHJzroz2XqqlPtg3fsY/0HLCLiBicNPx4f6BcRsY1TPOO1WtzFatVFiTXszWX+qi6u8IVBZk6LJtqIiB4m1UEPMnMKxaKgprAjnOHiN9R+ni22XNg37r7dxv4sCwMAAAAASUVORK5CYII=",wind_set1_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_63},Symbol.toStringTag,{value:"Module"})),wind_set1_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0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vPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5/+1bxAAABmklEQVRIx73Uv0vDQBjG8WYouIhdRBdRdBVEBJcWrH+ARUVwVMTFTE4Kzh1c3RQUxdlJF3EQh6QtiIs4CFZwUFwVfyzaxu8LKZQjNpek14OHt3dX7kPepmd5npeSYVlWKmhks9kZygpZdl33PaUxGmeqw2qFARUoJyRNlsCOjWAKtEtsMK/tmArxHbtUKnms9zLfIMVWLdXGVKher9vlcrkBXZJRsgO2nghToVqtZlcqFRV6JHmw59hYLpcrUrZkTRdib5FyrrZUB3ul9JMvMs4BDyHQNmWTnLFWiIoNUK7IMHkh8+QgBPohC6yfxvnNevh4QSb9g9JRoahvo4D3fkt/yTQHOrpQnP+ZtPSa9PktzZNVHSjuDdLc0g/SrQMluRsFvCEjcgZZA9ozchE3tfSWZBotBawawQJaGgomwqKCiTEdkH1pdcZxnKfEWBjI3hFlFizTFiwA/PTv0irrct1NgVltw5pAx787v8kY2TeC/QPeydMawQJAeTGGTLRRDh70py6ZIF0yMYEdylMEbL2BzbXEOjE6iv0BoZZq2idZp/UAAAAASUVORK5CYII=",wind_set1_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_64},Symbol.toStringTag,{value:"Module"})),wind_set1_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3L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a/0Zls+kmCNLbk2lQF8JzsgUVcYcrWPZAukiEDNL6qBJaGq3emQBEyT07IsAO4RH3TNaY5DKM0eKHeKut2YJTMUNv/gQUCgV7uQyzu2kApT/EHe0mGeO7VAWzj+km7jWBr3K/ygGGzdTsS8jmA4jd1o9slLaacusI/g2VZeeo9nuJRLoGDPP+hgOPUjp0wsX1z4p2UQTGgMQGVbW0JfJTb/ibrAuzl/loHqZhoECRfdlAZ2MH0TOOMXWO3mBjiMCyLdXJP0/tqmlaLqSMMGG8kFrLBnkhUPcZ1Yc0a/9jfw74BkmB72kw5hDMAAAAASUVORK5CYII=",wind_set1_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_66},Symbol.toStringTag,{value:"Module"})),wind_set1_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0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KSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xZndKAAAA/UlEQVRIx2P8//8/A70A46hlo5bhtQxdwNraOgFIgfHRo0cf0MwyqEXzgfgCEDsCLftAE8tobRHcMqBFE4BUPhA/BeKpQPydSP06QCwIxMeB+A8Q8wKxERA/BuJ7SGr4gDiNEWhRAJCxng7pIwJkmQCQsR+IDYD4NRAfRFLwCyoGAiB1GlD+XahYNBCLAPEyqLgyEPtAfbUZTY01LBiRLSwExtcELKkUFgIbgfIBUDFQ/OoDsSFQ7AIhNcgJBK+FVLUMi4WCyCmS6pbhA/S2DKShEeRzoEETaWoZDgcMX8tWASljIHYAGv4YyLeC5rlVQH4ZuprRynPUshFqGQDNgtWeR+ZEQwAAAABJRU5ErkJggg==",wind_set1_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_67},Symbol.toStringTag,{value:"Module"})),wind_set1_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG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YTNkMy1iMTM2LWEyNGItYjQyMS0xOTM3ZDExZDM5NDEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4K5cviAAAB3klEQVRIx73WP2gUQRQH4G+9WGhjGjuxEBSEgKKQBPeQkKiF4B9ELBWsLO201MrYmE4L7QRtBKOIhZiYwD4QBFEQtBAUNAQMaKdwcsRmDs54l7u9S9xul5n5mN+8t7vZ8vKy/3VlrbAsy+R5vheDjWcRMdcr0jBaYtVqdQwv2sx9FBEn1wv7jVv4nu7fRsT0emA/sRk/MBwRH9czxkmcwY5+wG6xq5jC6wR+Q14W7BqLiCt5nm9BgSEsYKwM2AkbxMOEzUECn2G4LLgqlmVZy0kJnMH+MmCv2HHcx1fs6hYsjSXoATbiGiZSpIs4FREv1wRbAV2PiMsp0lnsQx3VdmBZ7Au2NaD0bCvmsTsNW8TBVpGWxYZwJCJuNEGzqRXe41fa4QIORcSHvgukBfQO46g1tUUdExEx3281/gNFxNLo6GhWqVTu4HwauoQDjUh7qcaW0MjISDYwMHATF9IX4jN2NrdF2TOr4E0X0OlUNI1IazhaFMVM2Z3dxZ50Ho3o/oIi4nEaewzT2IDnRVEc7uXMKhFR7wCN4wk24RWqRVHUeqrGtOAULnaA7uFsRNR7Lv206G2c6wbqq8+aCmZ7RHzqBPWNrYDH8LQdtNbYJC61g9Yaq+BE+p+sr/bW/wP5W4zaxA27jQAAAABJRU5ErkJggg==",wind_set1_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_68},Symbol.toStringTag,{value:"Module"})),wind_set1_69="data:image/png;base64,iVBORw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YDSktSIM5BF8USYI0YNy7qB+AAeeQ0gLgfie4MugRCKMy4CQQSLM2ZqBCOoOkklwhwtalj2EEtGRgYc0CLs+2imHs3U2AA7EJsA8SFiLAMAxxdmualfqbgAAAAASUVORK5CYII=",wind_set1_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_69},Symbol.toStringTag,{value:"Module"})),wind_set1_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHh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C+CMQOyBYy0iK4gBYmAKn56BYy0ip+gBY2AKl6ZAsZgYIOQM4EKpjPDMSiaGIiUPGLQMsMQJbFAjmLaJwQLwCxI8gyNiBDiwYW+AFxIxBfAmJ7cDDSOIGAfUSzBIKU9FEsopVloAztD8QTMTL1aEE8atmoZcPLMgBGOmiqz5w9eQAAAABJRU5ErkJggg==",wind_set1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_7},Symbol.toStringTag,{value:"Module"})),wind_set1_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNy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QVRIie2WOyxDYRSA/0YsiMfQUcTIZGJoIkpKJWJqkA40VosmQkxMYvHYjETSGCwEi0hjuDdmJDaJgUWMEkGo77rnVqv31UcM0pt8Obd/zzlfe/4/tw1kMhn1V1egKqvKXGWVahQKhXYIUw5vt2uadldJWYLQZjWHGNTL6zCy84rJcqQ1hCMYBmOPAiXLaBYkbMOiruvXLqIPSMEked9nw1VG8RyhC6YpeJO1dUISnqDfEtqIBqEXljxlFNcSHqFZmsQMIet13B9D2BLCDexCHN4hSm6a3GVfMhH2EE6h0UOYhjF4gRFDJPWzImuxlZEwY3wjEvZ9CA8gKKPOE/2+CmQ06JCRfCpzY1NOQmXuizU6V5GtTBqvEhY8hMYIn2HCjyhPRqNxgkbBQxFC5VeUldFglPtDuIU+Cu+dhHK8T2BIesRZ3/MS5cqa5NN2ewgTEFXmHr1CkrwtP6KsTJr6EVqPHt+js5W5CWV0V9ApqRHWz4oRFcgchAOwon6eDPOINosV2cpshMbxblAljs5TliO8VObvk3E4IuWIXGUibCVcwAaitXJEWdm//cPzBYtBKNqWfyQzAAAAAElFTkSuQmCC",wind_set1_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_70},Symbol.toStringTag,{value:"Module"})),wind_set1_71="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRm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ZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpkOGFmMWJiYy0wYzgwLTk0NDUtYTMyZS0yMjZmMGE0MjhmM2YiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7KrVo4AAAA+klEQVRIx+2VsQ7BQByHNRKLBTFLPQGTRCoRk7dAw+ABTF7BM4haWWxeQBmxWCSEnZgkpvpOTlJNLZIrkV7y5df+79/70rsm1RzHiQQ1tFAWyn5HZhhGnBzD0bbttihSM4kadKkt/Ho+lenkHg4spEuZRdTBpGb59fyvjFqVKMKI2ka17KXnazLmLsSEeiMI2YAQoqFbqGwb/YRCliV3cIKO7G2JfujDDNLQ8/SUIQdT2L45piaUnkIhM+SCqocpZAku5nCDtZzISMQnfYYoFODq6vEbMUi67sUzKVhBRVP1Gq4ztdhC83FmQYmUyBDliaVXFP48Q9lvye7qgO3HisaluAAAAABJRU5ErkJggg==",wind_set1_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_71},Symbol.toStringTag,{value:"Module"})),wind_set1_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZX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OD+QC1zGEAirhxV2oU9ak4c5iADgKmG8OaYU2F/QGiwnfa0Fbc3QAAAABJRU5ErkJggg==",wind_set1_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_72},Symbol.toStringTag,{value:"Module"})),wind_set1_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bX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FpbWCcbMCXQIA4EYi/UmKZBJQWAWJ/AmpLKLXsOpS+CsQ1+BLIv3//HlMajL+h9BtgAtlA6ziD5XAeYJwZEMrUlFqmDaWNgfg8rTP1h9FMPZqpqZKpgXXZ4MnUdE0gpFgmQRPLgKlOAITRhDlo5TNQ3DzAVhYCxRKA+D8QF1DLMpBBoGbSASBWQbYISM0H4gtAvIBUyxhxNeWgvtoPxKxAzA0t93igFjkCU+YHbAbia8rhTCBAw8CGAvFfWBVDyCKKUiPUwnyk0j+RXIvg3kbHWBKFAxArkGseDAMA7CGeGAUwHrwAAAAASUVORK5CYII=",wind_set1_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_73},Symbol.toStringTag,{value:"Module"})),wind_set1_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR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zKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7G2iF4AAAByklEQVRIx+2WPUjDQBiGTR0EJ3F1dZXO2qBUxEmw+As6KIigQ8FBEAepOBUcdHKqWLqoOCjVRRCs0ApdHKyDoINOLg7FwUVtfU4uEss1lza1g3jw8t3v+yRf7pIYxWKxoV7FqDvMMAzPRoFA4JCQzGQyO6rxL04tYID2CWPCE3UCzP4KDFCUsIQKyIdeUH8p0DMM0BFhEL3JOxtFEyqgJxigU2EoUzeO8QF9jdQTKmDVMFvqBEgsPkcDGL+WA1YFwyxGmJGpC6MV1KYDptPpbEUwTC4I3egDDWGcpK+dekoDvAbmdw2zpc4qy5hG5ZgTcA3tAcu5grFonbAoU7eN5twCK9qNmFyKg4re0bBM3Tz1LQ0wRv+sa1hJ6sSDNjHIyTEnoNhEYWvuD5hpmiHa0wyGFCCRulvUgZ5Rrw7o+G4Etko7wmRDmmwQFiRoBJ2hExTUAKfoT7iG2UDiwIbEM5KmzRpgBPXRd6ODxcVVoU0baJKFuyXP0Anoo15wk0axg3qsfhXIASg+Kfe6c1oOdoyuZD2P4pjlywDFpuli/K4SmPWpUJUgZinFHTYRWhl7cvOqs8NaaPsVcx4xe6jF/8c37O/+Xf3DvJZPEySC2pUCp0gAAAAASUVORK5CYII=",wind_set1_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_74},Symbol.toStringTag,{value:"Module"})),wind_set1_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxu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5kaWQ6YzljNGY1YzktZTRmOS1iMTQyLTljN2UtMDViYTk4OWNiZmU0IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YzljNGY1YzktZTRmOS1iMTQyLTljN2UtMDViYTk4OWNiZmU0Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpjOWM0ZjVjOS1lNGY5LWIxNDItOWM3ZS0wNWJhOTg5Y2JmZTQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4y0Q0xAAAA6klEQVRIx2P8//8/A70A46hlo5bhtQxdwNraOgFIgfHRo0cf0MwyqEXzgfgCEDsCLftAE8tobRHcMqBFE4BUPhA/BeKpQPwdi1peIDYC4sdAfA8qpgPEgkB8HIj/4FHDB8RpjECLAoCM9XRIHxEgywSAjP1AbADEr4H4IJKCX1AxEFAGYh+oizdDxaKBWASIl0HV4VNjDQtGZAsLgfE1AUsqhYXARqB8AFQMFL/6QGwIFLtASA1yAsFrIVUtw2KhIHKKpLpl+MCoZUPSMitofloFNKgMKrYKSBkDsQNQ7DEhNaOV56hlI9QyAEBU5p5IMo00AAAAAElFTkSuQmCC",wind_set1_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_75},Symbol.toStringTag,{value:"Module"})),wind_set1_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTA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X6AB4XVWslQic1LGFglj8olxPNpSrVBJZiOaIUxIl7mDqnQlVdn6HtnidqIh2LeU9B6aeTfmRFZA0KEik4j8quT7CGvSS6+gyVyhahmN1Xn46NlG1ELYhFI5f8XWkrrZ+kHCpI1oHcZhS0oah1Zd12NOZbuEdhvRAGMf5H3SSwshgsznVGZ0/XomC9uIirjfgE54g15k247blUWsIorLxoq46o0W2QphUEXkuhFbZGWEYViyE2UtSxJnFOVaZhyHYDpRrmVGSedgNpUoWfYNWd2V2iL5x0UAAAAASUVORK5CYII=",wind_set1_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_76},Symbol.toStringTag,{value:"Module"})),wind_set1_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21t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SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7pf2UAAAABAUlEQVRIx2P8//8/AzbAyMjIQAhYW1sLgOijR49+QBbHZSYTA5kAatEBIH4AZCsQo4eJQov0gZgfiDfCfElVy9As+gUV1gOJEbKQiQKLEoH4O1SqFCqG10JSfVYAswiYKBYgia+BWg6Sa6CWZROA2BDNIgZoigSJOULVYE/hFCb9D9AEogi07AHNkj4UfCBFMaWWkQRYCASTLJBiJlc/0YqBFukAqctEmiMBKkko8dkXIL5LQI00VP4HMS6iNDWCfCNPr9TIQK04EwFSnQQSiDCU5qI0NcoAcRKRjhai1LIbQBxLQE0P1HfPBl0CGc3Uo5l6NFOTlak1gZgbiE8QYxkAncJp8Cx/C0AAAAAASUVORK5CYII=",wind_set1_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_77},Symbol.toStringTag,{value:"Module"})),wind_set1_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRj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mU4NGQiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4XqQuxAAABrUlEQVRIx+2WOUsDURSFs6BgbydYSFolnWIqBUMKt1KIjaQLWAgKaiFaKdpYaUBB0EZEMYVLEVyKrJZ2lv4FCxuZGb+Bq4xx5r2XKSwkgcOZvOV+yXkLE3UcJ/JXn2gb1oYpYaYDU6lUvFKpWAF909hlwNSFcrm8awyjWB/2iPYAbvn0J7EpT9MsSsjzBrD1VmAZ7BrF0Iof0DN2Uv5lLBRMimSxYxWwCXSE5oxgTEzIhEUKN3RA+kaxkgeUQ7YpbBtbQm8orQIK6Ap1uSB2eK5arTq0O6awTuwcTWiAhygroIJt2/larebIOCdwN0p08/KL3w2AJ54aBcuy8vV6/dfB/TrLzbB7bAQ9oHEVUKK7RW7/M6CkH0gF68dcYLcGuIp2JLpTimVZIztoSb5hcmAHKFpsARjRRRcEe8V7UZ6i+xpgmucbFEdPgIZ0oGbYMr4p7SqgG9uFRFeiQEYVXeCaGQJt2epG0Sk3iALo3gQHMvYO0FgrINVu/AFEL56bocGkYdPotDAf4AfqCBOdEUyAa+6dJl/PAM2EBWlhAnTPXQ8DB8NE5wv7ty88n89zVtq/fcbQAAAAAElFTkSuQmCC",wind_set1_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_78},Symbol.toStringTag,{value:"Module"})),wind_set1_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAA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FWAOTIpQezcpWtgKxasArwhYwdGwR7AzEEliByiYDVgmx0D0kPNEdcXZIkMijU7tkBtatZR/tkI1a1Y7YHltVjs+WMscwfYAPjLDSYjfwAAAABJRU5ErkJggg==",wind_set1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_8},Symbol.toStringTag,{value:"Module"})),wind_set1_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVE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2LBmb6W8VhPGd+of3TRzr3vvXKe+/nP+M3O++s/j6ul0WlNN13UtVwsEAo2JROJes9Ey6xqbbiVDNEpYhRmEc57JDCLVxpCteCL7JZpGtCD5IvofeZOZiBoIF7BJLuJaZiGKQS1ckg+5krFglO6khSgJ3cy9OJYFg8ElwrjkIyw2byYiX0h/DR4Zz9qVDRG2VQ72oB/qTURboP7zCnXk3+yWMUD3ACrhHJqgxkKk8tdOD4ifcArl8psb6LISMddLaGG8aPfoDxB2pKRH0AefJqIwYReKwU8+afdSh2UPK2Af3mHQQhQlP+X0uVIlPZY91P4qcvMQ9xAOpaRx6GTRlJnIsUyEap/WoUyuxYbsaVaRK1mWkn5BQS6Ra5lBeCUlfZCjnvJEJsIReahLMi9NRsicjzAMy/F4/Nm1LEtJf4TkQ/IJ6kAWy4vMIDyTQ3OrLjO0eSIzCNXipSKcgBNPZFmET1DtRRnVYfDJsBlW5N5pXsjUYu05pvMuqyK05pi+Mz36/9G+AfK+dNoFvWQcAAAAAElFTkSuQmCC",wind_set1_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_80},Symbol.toStringTag,{value:"Module"})),wind_set1_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uI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lZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoyODk0YzE2NS0wYzIxLTdiNDAtOTY0NS01NzBkZTVkODAxNzYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz54laLiAAABNklEQVRIx+3WsUrDUBjF8f9FcBOyumgeoU4OXxEcfQt9AgVRHATrIkLBF3AQXBx9BB1yHMQh4gPUothJaHUoChqXG4hQU6G5nfJtuYH8OOQk97osyxg1zrlf12a2BnwCt5LeKZk/n/kfzMwWgC7wAswAe8C5pO8QWAx0gB4w75fvgE1JN9PA8rkAdiU9TwMDGALHQFvSMDSWzz2wkiTJW0jsCzgF9iW9hkx25YvyEPKddYBtSZch2zgHHAEnkj5CfmdPwLKkXsg/SI51JcWMmRqrsRqbCBtIiirHms1mDESS0lGYX+tL6leBtYADYAO4LmJmtg6cAYeSWlVgkd8+GsAO0AYGwJaHUmC1kmTOOcysCOKPcrNl0EQF8WAKLPpbfWBJ0mOoNjZ8QnyiNFj1CwmjskTjsB/OXVHaf1Z2MwAAAABJRU5ErkJggg==",wind_set1_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_81},Symbol.toStringTag,{value:"Module"})),wind_set1_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbW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YrE5jOgPm4gdROIpbFI7wKa444vU+sD8UWgog8k+C4aSC3BEle6QHOuY7WMXGBhYcHIzMx8FMi0RBKeBLQoH2dxRVHatrY2A1InoOa+A2IVoGXvaWIZ1EJQwooH4iygRdPxFsRUsEwSSK0FYjugZX9oahnUQk6gRd9Ha+pRy0gCAHc6gC5RzHniAAAAAElFTkSuQmCC",wind_set1_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_83},Symbol.toStringTag,{value:"Module"})),wind_set1_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1w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5J3FhzAAABNUlEQVRIx+XWuy4FQRjA8f9EJKIi8QZaCo1mt9hCJFrhDRQaoVdJPIhEJ+ecRqLgxCWZz4ZI8AZqpzkqcopdzUg2a4edCwXTze37ZW5fRpVlyW8V9X+wNE13gKmGsU8icuASvB67CftqqQsi8vBT2BWwLCIjn21ri90Bc8BECNgGuwdegC3gNgRsg10CiEiWJMl8BTwG1lxAJwzAgOfAjCvYBsuAYfXW+YLfYkqpxok+oDfmAwZhrmAw5gJGwQy4BBwB0zYwJrYJ7AHjNjAm1gVWgWcbGOvMxoCBAbCBsbBF4KbW/AnUWo9iYLvAfkNXFexorddjYBdAZun+AA+11tuhj3oSGJqA9TIA+kBHRHoxMsgKcGKqr4AGToF+URSPeZ6XMdPVBjALnAHXIvLmnRv/zL/xHQ9sJdpZmwGPAAAAAElFTkSuQmCC",wind_set1_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_84},Symbol.toStringTag,{value:"Module"})),wind_set1_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVyb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ndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7R4vhQAAABLUlEQVRIx2P8//8/A70ACzZBRkZGvJqsra0XAKl4IE48evToApg4IYczkeo6JItAYD6Qn0CsXiYyLfoBFXpBioVMZFgEoldChRcC8QViLWQi0iIFmEXAOEpEkgL50BFq4QSqWAa04AGQMkSzCCb3AWqhA1mpEYeFF9B8hG7hBaomECTwghxNTAx0BKOWjVo2hC0DFl0gPUI0twxokRWQOgnEZlSrPLFYIgOkuoA4Eip0kuqWAS3hBFKlQFwBxJw0aRZYWloyMjExhUF9I0fTBAK0qBJIraCmRTgtA1YZbUDKG4hv0SXpAy3cBqR0gLgYiD/SPJ8BLfwNxH1AphoQzwLifzTP1EALXwFxOpBpDMQHQU1EWFORFMsYsTUsiWikgjK1FBCfAjriGbGNVAAs3GIMN7v+wwAAAABJRU5ErkJggg==",wind_set1_85$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_85},Symbol.toStringTag,{value:"Module"})),wind_set1_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2Oj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tNjg4Ni1iODRiLTkwZGQtNDI3NjI4MWUzZDY1Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo3Zjg5YTBjYS02ODg2LWI4NGItOTBkZC00Mjc2MjgxZTNkNjUiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz48jzxPAAABN0lEQVRIx+3WIUsEQRjG8f/LFg2CBqNB/AAilmVnEZMaBIsGi3BFbBaL6a7bjTYvXLIq56Z5s/cBLNoEEUwG0bXMyXLczS63o3BwT5xh5hfmfWAkz3P+KzLFJhcTkbEvMcbcAHtDtt6ttfOhsSawWVhaB+YArLUSFOsnSRIRkQ6wD+SA/AkWx7FEUdSHvoBr4Cg4NgTaAjaAZlDMQZfACfAJ7KhqZoxpBcUGoA9gV1UzNzQt4NRau1Ab80HFFHv8i6VpugwcAF2gp6rfdSEfNgO8AbPAK5ABd0BXVZ/GgUZiIoIx5tZN0mAeHXwPbAPHVaAy7Ay48Jx9ANaqQmXYKtALBXkx9x4vwGIIyIu5frSBwxBQFawBXIWAqmBLwHMIqBRzYMcVvBZUFVsB2sB5HWgkNv1d1ckPDokA2kGw70gAAAAASUVORK5CYII=",wind_set1_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_86},Symbol.toStringTag,{value:"Module"})),wind_set1_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAs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yBFl3AWTZSwbIAIJUPxIXIFo1WnqOWjWDLANyDgsadU8xkAAAAAElFTkSuQmCC",wind_set1_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_87},Symbol.toStringTag,{value:"Module"})),wind_set1_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9ka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ZTXECAVqkAqSKoBZdoKllwKC5DaTigPgfEBvgsPAbEB+nStIHWriUgIUHgWp+US2fEbBwN9UzNR4L99CkBMFi4WFgRr1Cs+IKzUJbYClTTtOyEc3CdmCmr6BpQUwtC4ku9alhIUlVDKUWklyfEbIQyP8AxAVUqzyxWDgRSZofiAWoWlMjWQiqJfPQLKR+swBqYSyxFlLcBkG3kKSamlgA9EUAkEJOCDeAWJNWPvsA9Q0MvwTiB1C5B9g0MA7bdiNdLQMArXKGB+3eohYAAAAASUVORK5CYII=",wind_set1_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_88},Symbol.toStringTag,{value:"Module"})),wind_set1_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1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9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ncEIPAAABUUlEQVRIx+2WPUrEQBSAJwhWKmlV0D3CWlkkCJbeQk+gIIqFsGuzCIIXsBBsLD2CFomFWEQ8gC7+bCXsarH+oPF7MIG4rFnBean2wcdkJsN8POZlJl6apqZfeJ73ox8EwRLNO1zEcfxiCuLXNf8iQzRD04RHGIEtOEL6pSGr0NxACybt8CWsIjwvQ5bFMWwivS9DJtGFXdhD2tWWZXEFC1EUPWvKPuEAtsnsSTOzU1so15p7Jv11JCea1TgODdhH9Kb5nd3BPJKW5gmSyeQEmeqZKqfImJS8a9kDTPdM/YAJZK+uZU0WrZgBMZQNZaXIOsh857IwDEXgs3jST2bH2vTbLmR1mhqswFlehmiZ50PYoV93IfPt9VGFDbmFRQZrVpTAopPMZM/IIC809ldutEj0rwKxQll81r4SwRyiW61qrNoMjc0oUSv9XIZ+UUaDZN+nKFXadLOUvAAAAABJRU5ErkJggg==",wind_set1_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_89},Symbol.toStringTag,{value:"Module"})),wind_set1_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cm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RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2ZDYxYjU1OS03YzYzLWQyNDQtYmM4Yy02NDFhNDcyMDUzZDYiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7yAMFqAAAAwUlEQVRIx2P8//8/Az7AyMiIwre2ts4GUi5AXHH06NGbMHFC5oAAEwPpwBWIA4BYk1SN5FhGNhi1bNSyUctGLRu1bNSyQWQZKz0t4yfXMhZCCoBtDgUgtQCIC4BtjgtY5EFNBJCaCdTw2Qcg1gfiA0CDDdAsSgBS64E4nirBCPQNyDJHUAMKZCFSMDoB8XwgvgCVp06cQYMPZiGs+ZYLswjqIIKAkZR2IzQYYb5DsYjq7UaoDx2gFiYS6yOifUZNAAAfkz+DG/wkZAAAAABJRU5ErkJggg==",wind_set1_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_9},Symbol.toStringTag,{value:"Module"})),wind_set1_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2O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NGFmMjctMDUyMy1kODRjLTk3N2YtMjZiZjMzZDg4MzczIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowMzI0YWYyNy0wNTIzLWQ4NGMtOTc3Zi0yNmJmMzNkODgzNzMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7QKIUDAAABX0lEQVRIx2P8//8/A70AEwMdAV0tYwAFI7WC0traWgWIM3DZQTWfgSwCUgeAeDqQnUOzYESySBqIrwFxCU0sw2KRBhDLA8XVqWoZDotgZrpSzTICFmG1jBGWEhkZGalpEQh8AmLho0eP/oHZwUQDH8EAHxCbkR2MaBYdBuLrQPwRjxZXsizD4iMZIK4AYlGoD6qh8r+QtLmQHGdoFu2HOtIeiJ8CsQMwXu4gqeUCUnZQX4HU2B85cuQrUZZhscgHiFmBeBfURxgWYiuuMIIRaPABIA7AZxHQ0G9ADIonNyA+BZWbR1KpDzTYAeptAySLjqJbBFOPZOFKIM4mxjIWPEEHcrUgEJ9GtwjNwghK6jMhJIuuQ+PjGzUKbGw+SwNidqhFJtSyCJfPQBZ9AeIJoNQGDNIGIFaglc9AgAeIZyLxQYkmgFLLUPIZ0Af2ONRdBAbnB0qaHiiWjTblhoxlANONmDXv3ax3AAAAAElFTkSuQmCC",wind_set1_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_90},Symbol.toStringTag,{value:"Module"})),wind_set1_91="data:image/png;base64,iVBORw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kZ8RdJZsvUrwImrdiprnyWwEeAOmEiJnktaztrUc8CNpGYezN1vAEcp32pWUiMVy91aZu9AU9IYQBiGnu/7AhY7YgeSdroeV7/qbbMF4Mq99wmYlvRcCObACNgEtiUdZh7EfcDGgWNgSdJnoZgDhyW9lX/qEvvR+AYNA5cu5F8iggAAAABJRU5ErkJggg==",wind_set1_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_91},Symbol.toStringTag,{value:"Module"})),wind_set1_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3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RIx93WvWsUQRQA8N9eo40krR+FaGljIco5B8b0gmnsbQT/BzvbNDaCiNhbiFpqwAj7IFopiIWmECE2wRAlFiKyNlMs5u6S27lTcLt9s7M/5s2bj6ppGn/rqf4pVlWVlNJpzGM7Il6XAO3/78IGg8ECno/o+zgiLs8K+4Y7+J7f30TEo1lgP3AA6zgfEZuzTOMV3MOhEnC/2MWMvMvgewwmBfeNRcRqSukYXuII3mJxEnAv7Dju42pEfIQMruLkpOBYrKqqoZ26gp2wrmBnrAtYis3hAU7h6F5gSRrn8BRn85I4iBPjwK4F0oY2sIBlnBk3wq7YE1xqQZ+whQZfR4FdsUXcwlJErKeULuRCgZ1RYFGBtPCbuNEKDQWnha3h3B/hXWBd15tFWEppHl/QG9LcBq/VdX23FFvCwzGfbOT5Xa7ruinFbuN6K/QTa3iGFbyKiF9TKZCU0od8kq9k4EVE7Ex9u+r3+1Wv1zscEZ+Lj5j/5pL6G138PNrQnWLbAAAAAElFTkSuQmCC",wind_set1_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_92},Symbol.toStringTag,{value:"Module"})),wind_set1_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp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Y2VJRD0ieG1wLmlpZDphYTUxNDhiOC04MWZlLWM2NDMtYjFiMC04NmU4ZTE3ZTBjOWEiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7J2H/XAAABVUlEQVRIx+3WsUoDQRDG8f9hSKGcSQR70U4FLey+gEHszSukEAQrLbUwiq2ghZWFvoWtxa6VhfoEB77AgTZicTZzIRxBRXZTZbsd7vbH7MzuXVIUBdWRJAm/DUkLQO69z4fjo9YbrPsfTNI68ABkQGcYDIpZRs9Aw0KvwGYJBsMkNS2jNaAAygdfygyDYBWoB9wANWAfuC5B51weAusDJ0DPe38n6cuwFtAFboFT51w/VGZN731m8wHmvc8ldYDMOZcF7UbDPoF6iUVrfcNy68gJNsHGhEmaBt6AqeHL3eZpaGwG+Bjx7ntwzMC0ktk88ATMRquZpDpwABxbKI2CSdoBLoClaNsoaQW4BLaj1UzSHHAG7FXqFRZrt9sN4BFY/uGoBc0sBY6AQ/uUxG99SYvWGN2xnDNDt4ArYDU6ZmAN2AXOrWniX8SSWsAGUPPe3//1j/gb2SE92p9wY1YAAAAASUVORK5CYII=",wind_set1_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_93},Symbol.toStringTag,{value:"Module"})),wind_set1_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemt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Ct6yiVJkIt/WJnVVkK+skNmA/i8goa//KZWk/BG0Y2iaDIHIAAAAASUVORK5CYII=",wind_set1_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_94},Symbol.toStringTag,{value:"Module"})),wind_set1_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTEyLTEyVDIxOjM5OjMzKzAxOjAwIiB4bXA6TW9k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TIsuABggAqWY0eVkgLkPicwMxyPfsBBJYARAb4PNZHRCLYtFbDtQoQ6In6oH4ALqFTFCXqAOpXBwaQcHYTaJljkD8H91CmM/6gZgFj+YIoCYrYm06evToBWwWMgIZQkD6GAHLQOA3NKuA4uwb1CB0ADKLDYnPAcT8QPwRiB1YoJGtTuNCCWShAiM0ztSAFBeVLQB5YA4Q8wBxIjBoFzDSqGwFxdEBaFAHAi06gLW4ooJFCkDqAtQiR2hioVkV8wGaulEsAvtstA0yatnItAwAToJJp+ZoEHEAAAAASUVORK5CYII=",wind_set1_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_95},Symbol.toStringTag,{value:"Module"})),wind_set1_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAv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XE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4aizRrAAABVklEQVRIid3VsUrEQBDG8dvGQptUitiKjY0gB0JS3IkRCy3Fwmc4LAXfQEt9AbG0Fm2uOCVBsNDC1kJ7Ua4QFMX4X11BcHfuzGYVXPiYJRPmR5KFqKIoar+11J9hSinnjXEcD1BmyBy5yvN8TxpsewgRA5ikpAZokCHTSsHa3hjAEttlA4xa5jyRCOzRC0uSZJuySl7IsGNOGyiVoH6xI8oCuSfPDnAdbKsKbJByQJoCOA127o2ZbyaBt2QE7JX7xtlPsD8sjeklgPsMXzFQp/ZxgJpcOymNCeAGOTbQGDkj82BdL8wBtshmL6gUJjzhtQSVxizgHVkEOnVBXpgF1KdyFvAyCPZT0BvrB6Q/RYmyLOt4Y71Aeu8IWKMSzALqP0Fdg0GwL6AeXv8EyU4QzAHq1/kQBLOAenXBosowc+ouXH2wb8N8v9kaJbK0bsB2RSz0+r/YG5fXG9qVPIHhAAAAAElFTkSuQmCC",wind_set1_96$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_96},Symbol.toStringTag,{value:"Module"})),wind_set1_97="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OT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3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1ZGI2YjY0YS1hMjI2LWQ0NDEtOThmNi1hNDc4MjA1OGZhNGMiIHN0RXZ0OndoZW49IjIwMjEtMTItMTJUMjE6Mzk6MzMrMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7jiuFGAAABXklEQVRIx+2WsUrEQBBAb79Ai2vs0mqjpZCAfoJ2YqWFnaiIWFhZWAg2/oFiI1aKYK1IEiOinaUcJ3hiISiKiBrXN5LIIZe7QHYDgguPCSTZl9nMTqK01pWyhsqSKaV+jl3XrRIacA3nsBgEQT1r0sw5c8ocQg1uoQdeYQ1Wkb7YlqXjRrJkju0wDLVtWTpOYJYsz8qQfTtgC6Z933+2LbuCebLbt5nZE6zAOqI3W8soN27AEpI7m9UYwAySC5v7TEp9IY7jnSiKtK1N3Ue4TDbzaZuO9AFTVGOtiGww2Ut5xhCyYxPLKIUw1kb0KQ+F7N2ErE5ROJ1SM1Ug/7K/J7tHVi1L9ois27jM87w5wjIMw0OzDLkIj5JOv2lCNkA4lGtgHA5EBk4i6odRZHtGlpEMUqF0+16QnxvpDl0w2SqrQu8M4Qhh99fpTJGJAplIPpQdRYVlTRlWWr2jvLIvR/5F2tP5blYAAAAASUVORK5CYII=",wind_set1_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_97},Symbol.toStringTag,{value:"Module"})),wind_set1_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAA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kg2Cgbm9lArY4yeMznU+FphYioLou1B9OR0w9NtoWdYw5ZxsMmmjFuS7cy0wDJO9PhOMbMsTknH1jqaCUAR4yHp513U9XWxLvWCBZK8noqAQsExGGP+ii8mWdehCPnCQcsf4aj3bmFG/CmO6UFyLw4LtADifJtZKWYsYXwQrpIb9/5X7NdgbLVo72hetcO8AAAAASUVORK5CYII=",wind_set1_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_98},Symbol.toStringTag,{value:"Module"})),wind_set1_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIg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9InIiPz5ieFXjAAABP0lEQVRIx2P8//8/A70AEwMdwahlo5aRDqytrR3o4jOgRQuA1H5aWMiCZIkAkAJZ5A+ijx49eoDaljEiWQQyXB+IG4AWNdIiGBnRLHoHxO+hcpxA/Bcqhg2oAPE/IL5HhD2gMjESFIwKUItAQAiKkYEsAYP0ifSYECwYE4DUfCD+DMQ2QPyJCM33oeoToHGND3wBYj1GpAQCs/AiEDsA4+0DgewBCpqPQHUCQPY6IDsQj/IKoLpOeNIHckCuS4QGywFoXBILSoD4Jw45UJxOwMhnSBaCEgnRlgH1gQzsxyFdDJT/iZLP0CxcQEbKbgPieCCWRBLbCzRvA9XLRqChoMRShSQEyjaFNCuI//79uxBInYZyZwIdcJlmlp04cQKUQvOhBUEdNauYMiCuxhKcx4GUI5B+i1FcjbauRi3DBwBkh2vXGGZwlAAAAABJRU5ErkJggg==",wind_set1_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set1_99},Symbol.toStringTag,{value:"Module"})),wind_set2_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgUlEQVR4AWMgFVjvOp4NxOuBWJ1UveRYtgGI/wNxwKhlxIFRy0YtG7Vs1LJRy0Yt20pPy47ALKOF4QpAfACIDbBZBqKBuIBalgkA8Xsg/gCyENkyIE6Ass9T03cGSBZehlowCWYRyEEgdbSwcA3EEkyLaGHhB9pahGnhfnCCGcwAAN9w8YksaiKWAAAAAElFTkSuQmCC",wind_set2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_1},Symbol.toStringTag,{value:"Module"})),wind_set2_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWMYlGAUWO08xmi963gKEIvS1CLLHUdBFk0H4v9AvJu2PkJY9AuI/WhikcX2I4PVolGLRi0atQhoUAIQL6CtRQjLDoAMRrJoHrpF1LbsPJpFf2EW0cKyA0gW/QPiSJAcrSx7TUOLMOMMiucAsQMM09YyTGxAbcsUgNgeHYMtGnFgFAAA7eMBngOY+d4AAAAASUVORK5CYII=",wind_set2_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_10},Symbol.toStringTag,{value:"Module"})),wind_set2_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBklEQVR4Ae3TJVQEURSH8VnctWA9YQl3SFgPWC/Qy9IDLhG3iLtbRnvA3R0e/zBycXsXv+f8dse/mRXlf1gmsm/aDeIeEcwRqwbxhDzZsXwQqnlIAjPkghtX7FR9HwEbRR2uWABvkMTUZRpsAxu2GAlusgTVn7lZwfAH6Xyj4AA4sQdhTw2ugA1nLAHOQLB+pGroRI20wBYNcoUqwQWWYYcGpYdCu8ZNeE8HAev3g1JD6vYSEB8OklDQ/RDZtwjio0Ea84RZqLgX8iOR54LWbw1aPrItB8QLwX3wk/GDaXgmdgFtEPThUFj3hEm9e0HMQSGkgKPM/1sgrEAtZIK3wjXqr+z7zy34Pr0RAkwUNwAAAABJRU5ErkJggg==",wind_set2_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_100},Symbol.toStringTag,{value:"Module"})),wind_set2_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6UlEQVR4Ae3RJVQEURjF8YfTsEbBaVjCJeFOw3ugQz/0RMR6o5FoJFwKrpH13Th7w31rwOr7Js13zn985rczq7Kd3uPTdiU9hNaRhfbtgnT70pCX66AGpaALNM7tR7RnFCT2SqgctWuM5zQ4ZAqrReXcjsN4bFBJzG+MI4xdOpiDyWF82CZyJ8lHzGMC20ZWGvlNYPmoPElLxK4k/6tqdIi+iF1KIKVoC/mJfBvHCC2gF2QxsxiRVnSiARGMUBcKxQOyb9aMjuSxeHQE3duCESxEG8gli8WjVWgHfRA7VxxJtAFNow6VwYQB/ledlQdMq9IAAAAASUVORK5CYII=",wind_set2_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_101},Symbol.toStringTag,{value:"Module"})),wind_set2_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA/UlEQVR4Ae3UJVAGYRDGcS7iJCTh2nF36TN4j1jDe+AilU7H3V37oBl3e3nwxXYW2XY780uv/D+7z8UZ1XEmuW/aB1qJDhh5Vv3fsSDYB/OFEc13aUEnE2MP54GbZG9C9wQN3cAKjEhDJWBgiASloSwYAXEsFHa5IAm1g4FryHo+L4uRYBgXpCE4gyxydpOJyYNciJzLgKDvLo0Bf2HQnQmJ3kElGFiDNigCt2+Cu0xIFAsAA9QVjEADxEEUnNBf3V8eynUwjBkwcAt1f/0HsJnQkvyjk8WKtEM05g5X2iEaHNUO0VijdojG4mFeO0SDNgnpTmLPpIWQn3S/M/cr5K8775zWPwAAAABJRU5ErkJggg==",wind_set2_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_102},Symbol.toStringTag,{value:"Module"})),wind_set2_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA3UlEQVR4Ae3TJVBDARzHcTyhiYT2O6TgXrGe1gve73CHjDfc3V0yDSfR0LTEny8Oc3vz391ne3v2TfPxznnnXerygW/G2nGd5nnOReACKzaL8TIVBEUa52MhuLVVKAR3EJwjSMlYE+SPGkVivCQeao3YMyKViE1BdOg1J8b1XAiG9N2QD9HjFcmaMSPBQZ1BTgTgFGLAHuI0Y2YH+VGAY5wYMQLBC7r1mPhjHuqfoMb/Smmx77FolJugEuMYMvH+NjxAoPJRarw8EU94RKm9Qok+TMlYKbZ/Qt55590bWh2hV8wuM7wAAAAASUVORK5CYII=",wind_set2_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_103},Symbol.toStringTag,{value:"Module"})),wind_set2_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6klEQVR4Ae3UJVAFURSA4YtLwTMet+EWSbjTG30GeqU3ekMT7u4O8WXcHQ4/7n5P4p2Z78nav7tPzM24J719xAvJyNAKxKMKDdiBoNLWwcNRhjq4IO+IsBHKxRAuIR+YsXVVqxAsfRKsfbWPL0rT2oY9fhpzsP5FMPtVqAWCasPYDJ4g4J3QOhzD2Ax2WQ19EayxHvokmKUS+iC4rhV6HTyC4AyJ2v+LRTiHoBuB2kEH6/8zyOumG5rB+Ycgz703tK5wH4JlBL6KqQf7X8VUg2dw2Q5EofeZCVxBbtiOBaMRPc/MQtBjtMY919vhrJLjluJmAAAAAElFTkSuQmCC",wind_set2_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_104},Symbol.toStringTag,{value:"Module"})),wind_set2_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAWElEQVR4AWOgPxgFo2AUWO86LgDEDiCaHhZdAOL/QGxAL4sSaGmRAj0t+gCyiIb4DxArwyx7T2PLfoMsg/nOAGrhB3DCoC0YeAsV6GVhPcFMPQpGwSgYBQA2ZNJIHB5ANgAAAABJRU5ErkJggg==",wind_set2_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_11},Symbol.toStringTag,{value:"Module"})),wind_set2_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaklEQVR4AWMY+mAUWO86fgCI/2PBH4DYgJaWrQXieiQsQAvLvkEt+wfE0TQNRiieSGMLEZaB2LS2EGEZgt8JtfAvyEJqW9YAxBPQxCpoZCECDJiFoxaOWjhq4aiFD+lV28cBsTbDkAejAAA2NNwCOafNJAAAAABJRU5ErkJggg==",wind_set2_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_12},Symbol.toStringTag,{value:"Module"})),wind_set2_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAe0lEQVR4AWMgFVjvOm4AxA1ALECKPnIt+gDE/4H4As0sBBkMtwiBN9DKogtgCxD0CSi9gFYWJYAMB7Gh8TYfZiG1LFMA4v0giyB8hGVQfj8Qr6dBzGFaRusUOYGeljWMWkYaGLVs1LJRy0YtG7Vs1LJEIH4AxLEMgxkAAPXh7uXslnyNAAAAAElFTkSuQmCC",wind_set2_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_13},Symbol.toStringTag,{value:"Module"})),wind_set2_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae2UJVAAUQBEcbeIZdwaLpV2kR5xqLgVvM9Ao5Nw14JDxCVhCde9mcUKvofuzDv/977bvJT/JPZMxgAD5Ct+boBmMARuHqOQHfLns2AQ7D8Spim7sJiSc54NlSgYXFGSw3O5QuQIdiho5zNef76sij/fBz58NmTy2aIEdt81SHs8S00+U+QBVtiqOvUCbqFoHjgrRQZFpyBSKfIDe5QVykRxnWO2EHRS1G/eK1uVRdEhCFSKQsAxZRlKkSOYpqhNPc1rKNoEPkpR4uNdQinyBKtW7RKtVu0S6fpd4ulUXwI5Nt8t/7kFvoj0R2tADjEAAAAASUVORK5CYII=",wind_set2_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_14},Symbol.toStringTag,{value:"Module"})),wind_set2_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaUlEQVR4AWMYemAUjIJRYL3ruAAQO4BoelgWAMT/gfgCvSxMoLeFDRgWQsP3AhXwZSB+gYb/wCyEWRYLEqAxPg/2HZBgA2IDGuA6qEUXQRbRI4Gcp7VFATS2CAGgQVgPtmh4g1EwCkYBAHid9zsgYszKAAAAAElFTkSuQmCC",wind_set2_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_15},Symbol.toStringTag,{value:"Module"})),wind_set2_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWOgCRgF1ruOqwKxCj0sEgPi11CsS2vL2IB4HxD/p5eFXNajFo5aOGrhqIVo8guA2IFWFr5HthAq1kBLH/4AWYhuGS0sPIVsIbJlNLeQVsEoAMQFIIOBOA2Ib4MsopVlBQjDEZiWcWYAxPZYsADDkAejAAAvtgWRBd1vcgAAAABJRU5ErkJggg==",wind_set2_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_16},Symbol.toStringTag,{value:"Module"})),wind_set2_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAh0lEQVR4AWMgBVjvOs4MxApAzM1AM4CwLAqI/wPxLHpYlgC1bAE1zBu1bAfIQjRcRCvLToFoNHyAVpatBbHRsMMITyCjlo1aNmrZqGWbaGWBALYqhlaWXYBiAXTLkPgGVA06qIVZMMuQxM/DfE9tCx9B6TvYLKKFhf9paBEC4Ao6WloYQK5FAJgoF3W9K8rSAAAAAElFTkSuQmCC",wind_set2_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_17},Symbol.toStringTag,{value:"Module"})),wind_set2_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWMYlGAUWO86LgXEnvSwSAaI7wDxfyB2ppdFl4FYhF4WiQ4ri+4B8Q0gVqGHj/ZB2U9AFtI06ICYH4hPIltI0zhCs/AszSxCs3A9EJuPtOSNMFQAiBcAsQHtLEIY7AA1tIF2FmFaVgC16CWUfxtmES0sC0Wy6AnMIlpZ9gndIppZBsXvgTgAJAbFArSzDBMfwNRBedLPB+J6II4HYnskrMAw4sAoAADAtzMHsyutUwAAAABJRU5ErkJggg==",wind_set2_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_18},Symbol.toStringTag,{value:"Module"})),wind_set2_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWOgPxgFo2AUWO863gDEBfSwaAEQ/wfiCfSyaD4tLREA4g1Qi7YDsQMNsDzYMphFNMbrYZYVIAk+BuL7SPgMEB8gAZ8F4stAfAhNvBw5KBOgll0ABSsFUXIAao4BNnmCFlJuGWELN9DQMgSAph4F2ltGeTZaAsQPgFiNYUDAKBgFowAAKAwQp9FvMKUAAAAASUVORK5CYII=",wind_set2_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_19},Symbol.toStringTag,{value:"Module"})),wind_set2_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAiUlEQVR4AWMYlGAUWO08xmi963gKEIvS1CLLHUdBFk0H4v9AvJu2PkJY9AuI/WhikcX2I4PVolGLRi0atQhoUAIQL6CtRQjLDoAMRrJoHrpF1LbsPJpFf2EW0cKyA0gW/QPiSJAcrSx7TUOLMOMMiucAsQMM09YyTGxAbcsUgNgeHYMtGnFgFAAA7eMBngOY+d4AAAAASUVORK5CYII=",wind_set2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_2},Symbol.toStringTag,{value:"Module"})),wind_set2_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlElEQVR4AWOgCRgF1ruOCwCxAxAb0MOyA0D8Hwc2oKVlW4C4HgkL0MKyb0gWZtI0GKF4Io0tRFgGYtPaQoRlCH4n9S1EGN4AxBPQxCpoHqSjFo5aOGohPsvMgfgwbS1EWPQRask6ZAtpadEmIGajbpAiLFJEtwhLHD6jlmWsQLwRbhGmfAwQa1MzGJmAmJmB3mAUAAC8zA91kz1OcQAAAABJRU5ErkJggg==",wind_set2_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_20},Symbol.toStringTag,{value:"Module"})),wind_set2_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlklEQVR4AWMgFVjvOi4AxBuA2IAUfeRadAGI/wPxB5CFtLRsAdSi/8gW0tKijVD6KRC/h1lITYsmQC2YDzIYyr4DZiMsVKCWZQ1A3A9hIyxD4u+nVXAiLEMDtLTsGj0tuzBq2ahlo5aRD0Yto7bBOqB6DA3PpZVlASCD0fAzWlkmBsQJaDhvyMXZqGUyQHwLiBczDGYAAOc4Epsh2YUZAAAAAElFTkSuQmCC",wind_set2_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_21},Symbol.toStringTag,{value:"Module"})),wind_set2_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWMYWWAUWO86LgDEC4D4ABacQG3LDID4PRD/x4IP0NKXbEB8Htkyelj0GWYZPSzShVlGC4s2IVsEEodZRiuLXsMsQrJsAm0tQsg7ALECTSyixDBuq53HGOlhkSIQPwbi6UDMSBuLEAY6AvEvkIEwCwlZRKmFfmgWsuOyiBYWHiRsEeUW+oNKBhpbhIijYWIRwrJ1tLcIYdkC2luEsIwJiAUYBisYBQCeMycTGmRNmQAAAABJRU5ErkJggg==",wind_set2_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_22},Symbol.toStringTag,{value:"Module"})),wind_set2_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgklEQVR4AWOAg1EwCkaB9a7jskCsB8Qs9LDsABD/B2KDwWkZQq8AEDeA9NLDMgUgfg/EH0D6aR6MIH2YFiIkeUHeh2OEZZYgPpnYFmoZwkIgwxxkMC0x1EIFkGWGcC9Tjr+j4T9Qy86DfEvLFJ0w7CwyoK1FmJnaHmwR3cEoGAWjAABWbRqpa2HB2gAAAABJRU5ErkJggg==",wind_set2_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_23},Symbol.toStringTag,{value:"Module"})),wind_set2_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArElEQVR4AWOgKxgFljuOMlrvOm5JNQOBhskA8U4gNkcTB1k0HYj/A3EWtSwrgxr4EWah1c5jyBb9AmJfalnGDMRLkSy0QLPID6aWVhY+RreIlhZ+AuIMdDW09qH5qIWYYNTCUQsRcglQcQNaWfgDiF2g4g1QMQda+HAD1PA/IAvRLaO1hbORLaOVhauhlvyjVTBOAOIDUHwQiN+BLKKVZQVAvB8HVmAY8mAUAAB+iSdSu0WIKQAAAABJRU5ErkJggg==",wind_set2_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_24},Symbol.toStringTag,{value:"Module"})),wind_set2_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAkUlEQVR4AWMYVMB61/FCIL4DxFuAeAEeXEgNyw4A8X8i8AVqWDYJatgyIE7Agx2oYVkD1LICOsTZqGWjlo1aRmswatmoZaOWTaGVBROA2ADdMihfASRGTcvuA/EHkIXIloH4UPH3IEupZZkByECowTOglq1HssgAppbaFn6HWpYPpRNoE3eIYPtPU4swfUi5RQDSmipHxCtLHwAAAABJRU5ErkJggg==",wind_set2_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_25},Symbol.toStringTag,{value:"Module"})),wind_set2_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAsUlEQVR4AWMgBEaB9a7jbPSyqBGI/wFxM60t8gPiP0D8H4j/gvi0tOgX1KJzIBrK96OlRdOtdh5jBNIdyBbSxCIgZoTJoVtIM4vwWEi5RZY7jsItImChJ8VxBJckbGEMRT4iQa8GPSyiPI6oYagCCNPWIoTBB0CYLkEHNfQAkkV/0S2iumVoFq2GWUQLyy7TziJMy37R2iKEZQh8ARSkULyBFpatB+L9WPB8BnqBUTAKALnQMrRsOoSqAAAAAElFTkSuQmCC",wind_set2_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_26},Symbol.toStringTag,{value:"Module"})),wind_set2_27="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgElEQVR4AWMYvGAUjALrXccXAPF/IHagl0XzaWmJABBfoLdFL8BsBD4DxAcoxI+B+C0Qa4EsCwBZRAccAvPdfKjAHSD2ASUOKuI7ULONkIOzHiQIDT4BqkUTIooM0CUSYBbSzjJMC/eDfEdDyzDBiLVs1LJCIJ4FTnAjE4yCUQAAt3sppiG2HPMAAAAASUVORK5CYII=",wind_set2_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_27},Symbol.toStringTag,{value:"Module"})),wind_set2_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAoElEQVR4AWMYFMB613EDIHaAYZpZBLXgPw68gZaW/QLiiUBcD8UBtLLsK5R+B8QqtA7GdiC+i2whLS1rAGJ+JAtfgiykmWUgPtTCy1CxJyALqWmZABDvhyd5hIUnUSykJRi1cNTCUQtHLfwJxM60ttAXiP9CLdxNS4ucgPgb1KJTQMxGD4uWAjHzqEVEV7S0twhhWQftLUJYxgzEQcRYBABVqExB5lmGTAAAAABJRU5ErkJggg==",wind_set2_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_28},Symbol.toStringTag,{value:"Module"})),wind_set2_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAlklEQVR4AWOgBFjvOq5ArFpKLTIA4v9AvIAeFn0AWQazkNYWfYRa9A1mIa0seg/EXlBL7gDxfJiF1LTsAMgiqKUKMMvAcggLHahlmQIsBSJZ9ghJ3h6IBWgRdwjL0AAtLbsw6CwbtWzUslHLRi0btWzUMoRhjkC8AA9eA7XsGTUsawAbRhh/o1YwJeDBSUA8A4gLiDUTAPnnKaIKCQCXAAAAAElFTkSuQmCC",wind_set2_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_29},Symbol.toStringTag,{value:"Module"})),wind_set2_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAWElEQVR4AWOgPxgFo2AUWO86LgDEDiCaHhZdAOL/QGxAL4sSaGmRAj0t+gCyiIb4DxArwyx7T2PLfoMsg/nOAGrhB3DCoC0YeAsV6GVhPcFMPQpGwSgYBQA2ZNJIHB5ANgAAAABJRU5ErkJggg==",wind_set2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_3},Symbol.toStringTag,{value:"Module"})),wind_set2_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAqUlEQVR4AWMYfmAUjALrXccXAPF/HFiB2pYlAHE9CEMt/oJkmQOtfMgMxNuglvyDWUZri/4A8UIQmx4WOQFxA4hPC4uWQi36BbIIJA6zjFYWfQNbhJArAOL3NLYIAUaCRQjN4UAsTQ+L/KAa7wCxDG0sQhjAD8QnkS0kyyLKLSRsEdUsJGQRtS2Ux2URLSz8TBuLMC18ALXoL7JFtLJQFoifAHExIbWjAABSHjss6hhRBwAAAABJRU5ErkJggg==",wind_set2_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_30},Symbol.toStringTag,{value:"Module"})),wind_set2_31="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWMYoWAUjALrXcfNgXg/ECfRw7IEIP4PxAtGmGWjliHMM4Cal0APywSA+DzMQryW0dRCICcXKngEJEFFnAXED1EsBDLmgATogBVAloUA8R1oKbKAQrwJiLdD8V4g/okzsVA5zi4ME4sQlhXALRq0YBSMAgAZwytG0VNJAgAAAABJRU5ErkJggg==",wind_set2_31$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_31},Symbol.toStringTag,{value:"Module"})),wind_set2_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAhElEQVR4AWMgBljvOh4CxNoMNAMIizKB+D8QvwJiFppbBMUVg9KiUYvm08siNySLFtIjmR+CWvYLiP3oYWHHqIWjFo5aOGohstwDIA6glYV/gDgSJg4Va6ClD/+BLKSdZQgL+5EtRLaM5hbCLKO2BQYgQ5HwaZBFtLIsAG44AiMsG1EAAAYjGQiE0lgPAAAAAElFTkSuQmCC",wind_set2_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_32},Symbol.toStringTag,{value:"Module"})),wind_set2_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAqElEQVR4AWMYVMB61/HFQPwbiF8D8QM8eCU1LNsHxP+JwKeoYVkTyDAorYAH81HDsgaoZQWE1FLTsmVAnICEw2hnGSb+QEvLTgHxAiTcj652yMXZqGWUg1HLRi0btaySnpZNoZUFD4B4AjbLoHXZASAWoJZl86EWJCBbBuJD2eep7bvzUIM3INVn/6HiAtS2TADJwv/YLKKlhe+BWAEmR0sL64HYgFKzAJadRi30o+P9AAAAAElFTkSuQmCC",wind_set2_33$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_33},Symbol.toStringTag,{value:"Module"})),wind_set2_34="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0klEQVR4AWMgBEaB9a7juVY7jzHRw6L9QPwfiM9Y7jjKSEuLOsAWIfB0kIW0tOgXELeAaJiFwCBlpIVFv4HYDyrmh24hNS36C8Q/gdgJIoNpIRAzUivoDkLZ3whZSJFFUAOZgXgpERaWU2QRTBzNwkkgMTQL7wKxLsUWoVkYC6Kpmbz98Cqmv0WEDQ0AYdpahDD4AhAfoEvQQQ0+AGX3wzIszCKaWIZk0T8gjgTJ0cqyl7S2CGEZArcBsQMUC9DQMkxMC8vygbgeCw5goBcYBaMAAFk4T0feyOFXAAAAAElFTkSuQmCC",wind_set2_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_34},Symbol.toStringTag,{value:"Module"})),wind_set2_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAk0lEQVR4AWMgGYyCUWC963gBEBvQw6IFQPwfZCEtLRFAsmg+rS26ALVoGohPRSwIxPJwy2AW0RgvgVl2HirwD4h/I+FfQPwJiD8Qi+H6EPwf6JYJIFmYQGGU/AdZgsRvQEtwmBbSyjJcFgbQxjJMC+tBmZraltEiG+UAcSodLEMAals2apk0KGUDsRjDyASjYBQAAOSmSe4+1DWtAAAAAElFTkSuQmCC",wind_set2_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_35},Symbol.toStringTag,{value:"Module"})),wind_set2_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMYFMB61/EAIG7AggNoYdl/PFiBlpZtB2IHILYHYgNa+ewOEP+FsudZ7jjKCJKjlWUHgNiPxhYiLAOx0SycDrKQ2pa9B1uG4DsB8TcqW4hI+rBkTgcLEWDIWThq4aiFzkD8C2ah1c5jtLEQZDDIAqhFf0A0lE/1kgZuEdRnNUhBuhCImahp2SQki/yQ4vAHVPwCNS2bjGwRFstuUju+VHGkzPVAzEaPLLAUiJmJ1TtqkRHtLUJYpgDET9AtoqWF3MQUTwBwRmlgzkrInQAAAABJRU5ErkJggg==",wind_set2_36$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_36},Symbol.toStringTag,{value:"Module"})),wind_set2_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAApUlEQVR4AWMYMsB61/EFQPwfiBPoYxECB9Daoo9Q+i0QfwBiA1pZNB+I10DZ3UD8HmYhtSxygFkE5iMsKwBZArOQmj6zB9HolkH5ClQPSmyW0SPpTxi1bNSyUcsoB6OW0cJwWSBWQMJzYZZR2yJekMHomFaWcQLxXSB+gIQ/jiYQYgxrBeIFePA1qGV91LDsPdgwwngdNSzzAOIEPLgciOcQ2+4AAKtaSWRwAyCdAAAAAElFTkSuQmCC",wind_set2_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_37},Symbol.toStringTag,{value:"Module"})),wind_set2_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR4AWMYfmAUjALrXccXAPF/HFiB2pYlAHE9CEMt/oJkmQOtfMgMxNuglvyDWUZri/4A8UIQmx4WOQFxA4hPC4uWQi36BbIIJA6zjFYWfQNbhJArAOL3NLYIAUaCRQjN4UAsjSamDMR3gTiamhb5QTXeAWIZJPFsqPhfkIWUWYQwlB+IT+KwsAPJwlhcFtHCwn/4LKLcQkTQXSRsEeUWyuMKOlpY+Jk2FmFa+AApcTjRuuaVBeInQFxMSO0oAABXdVdEbze/mQAAAABJRU5ErkJggg==",wind_set2_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_38},Symbol.toStringTag,{value:"Module"})),wind_set2_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAmklEQVR4AWMYoWAUjALrXcdDgPg/EE+gh2UJUMsWDH/LgGwFINakl2UPoGLyZJgnAMQO5FimQIZlDjDzaGsZQv98mJk0twzTQoRgPVTwERBvgOIvULEdID4J+BwQ34DiI0D8AcVCIGMOSIDG+D04lICEMhC3A3EmEAdQERcC8Veo7wxomXcNoJa8H+oWIQA0CPeDLRq0YBSMAgCm7UyUAw6ESQAAAABJRU5ErkJggg==",wind_set2_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_39},Symbol.toStringTag,{value:"Module"})),wind_set2_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaklEQVR4AWMY+mAUWO86fgCI/2PBH4DYgJaWrQXieiQsQAvLvkEt+wfE0TQNRiieSGMLEZaB2LS2EGEZgt8JtfAvyEJqW9YAxBPQxCpoZCECDJiFoxaOWjhq4aiFD+lV28cBsTbDkAejAAA2NNwCOafNJAAAAABJRU5ErkJggg==",wind_set2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_4},Symbol.toStringTag,{value:"Module"})),wind_set2_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0UlEQVR42u3QOQrCUBCA4eQE2tgpWMQriNsV9Ai2XsQ7WOoNUro0Wrgg2KWwUbQI2AouAQvHv4gkRcAmE1Az8MHLe8VPxvg09cmqCRsZQ3MItPCAoJ1UqAfzt0K18TKZUHW0UAt18XyHKsO56d/nsEEnztgJgitKoZADwTbOWAF7CFyUQ6Ed8nGvMoM1BPeokGbQQyN41Q+6sNJgGvyuIN9ZFBMJch7grPmHF1j+/QyitVIHghusiJhqcB3E9IMHrTUeIb45PIhWrI9pBNv4u3kB+nJcAlxbDu0AAAAASUVORK5CYII=",wind_set2_40$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_40},Symbol.toStringTag,{value:"Module"})),wind_set2_41="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAhklEQVR4AWMgFljvOj4XiFcAcQEBLEPYNMKW/ScSJ1DTsgYCWIlqlhGjduhZBsUfCGAfeiaQoNE4G7WMhmDUslHLRi2jleEGQFyAYRmC7wDECtSyrABqwQJ0y4B0ApS/gZq+mw+zEGYZkkXngVgApI7qFiIwpkW0shBhES0B1JL34EQxFAAAoIw3F7uSVzIAAAAASUVORK5CYII=",wind_set2_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_41},Symbol.toStringTag,{value:"Module"})),wind_set2_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2klEQVR4AWMgBEaBxfYjjNa7jp8D4kdAzE0zi6x2HgNZNAeI/0PxXiBmo5WPpkMt+Q3EX6HsTSALqekjJqCBZ6CG/wJiPyA2B+KPmBZS7qN1SEHXC5PDbSHlQfcXiY6mooUIi9CCroMYCym2CCZHhIWvqWIRERbqALEaxRYRayHlFhG28BFtLMK0MBMUfLgkDaCGGpBtEQkucYAa7AC1aB66RbSwzBHJon9AHAmSp7ZlCVALdtDOIoRlDSBL0C2ih2X3gPgAEnagtmUBYIsw8XtQEDMMKzAKRgEAK/J6DkBdYtsAAAAASUVORK5CYII=",wind_set2_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_42},Symbol.toStringTag,{value:"Module"})),wind_set2_43="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAl0lEQVR4AWMgGoyCUWC967gAEG8A4g/0sOgCEP8H4gJ6WZRAL4uOAPEyIN4BwlD2AhLwLiC+A8RboPyFQHwNiI/BLGsAWURj/A/ZZ+ehghtAwUgB3gU1ZxmUnwXlfwXZhc3CBAqiZAI8gSHM/Q9L3TgtpJ1lmBbep6FlmGDEWDZqWSQQHwBiVyifFVqaLGWgCxgFo2AUAACyZmP9C+e6jgAAAABJRU5ErkJggg==",wind_set2_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_43},Symbol.toStringTag,{value:"Module"})),wind_set2_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA4ElEQVR4AWMYcGC963gBEP/HgRuobVkDkuHXgbgRiOcD8X4gDqCVZX+h9GogZobJ08qyMiD+A2VvAFlIS8scgNgFYiHChzSzDMSHWvgdKraUqhaCLIEmBgUkMXMg/ohiIS3AkLVw1MJRC+8CMRstLWMG4h1Ihfd6kBitLFoKteQHEH9FDlJaWfQNiJ3QgvQGKEhpYhGSXAlSkDbS0iI/IP4FlTsBxEwUWUakRdOtdh5jpNQidiC+Q8giyx1HGamVMCSB2IDGFiEALossth9hpGWGPkV7ixCWyQBxDtiiwQQA5qmHkVU49IEAAAAASUVORK5CYII=",wind_set2_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_44},Symbol.toStringTag,{value:"Module"})),wind_set2_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAq0lEQVR4AWMYMsB61/EFQPwfiBPoZdF/mloIMhhqwXco/RxmIa0sOg/EK6DsDij/AxAbUMsiBSSLBJCCsgEq9x5kITV9Zg+yCC3eGpAcY0DrRNJAj6TfMGrZqGWjllEORi2jhmH8QKyAB0+AWtZEDcvOgA0jjPdSw7LVQPwAD/4AtWwjPnNGE0gxqILEgy9ALZtPsWVwwwjjA9SwzBmIE/DgEiCeA8T2xJgHAP/QZjBrodgXAAAAAElFTkSuQmCC",wind_set2_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_45},Symbol.toStringTag,{value:"Module"})),wind_set2_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAz0lEQVR4AWMYfmAUjALrXccfAPF/LPgDLSzrB+L9UHwYiH/DLKSlD/mB+C7Uor8gmh4WvQPikyA2PSxSAeIDQPyeFhadhFr0BmQRVPwACNPKoidgixByG0AYl0ZmIG4CYl2KLCJScxxU42uQhbSxCGEAGxBvQraQcoswgy4JiLkIW0h50DVBNe7DZyG1gk4XbCBhCy1xWUQLC38TtohyC0VBpQBU/AeyRdS2UAIp6D4BsTNMLS0s/Igt6Ghh4Q+oRZ+RLaKVhUFA/JaYoBsFAKQienuTNb0FAAAAAElFTkSuQmCC",wind_set2_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_46},Symbol.toStringTag,{value:"Module"})),wind_set2_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAoElEQVR4AWMYoWAUjALrXccFgTgBiE2RxByBOA6I2altWQAQ/wfiDUhiF6BiBsPYslHLEHoVgLgBpJdelr0H4g8g/TQPRpA+VAsxLdsKxAJQfBkqZgvik4ltoZYhLAQy6kEG0xJDLVQAWZYFxP+A+CeSS35DxT6B+CTg72j4D9Sy8yDf0rIYTKCXRQ30sQiR4NaDLaIlgKZEe5I1joJRAACYrWvqgz9pLQAAAABJRU5ErkJggg==",wind_set2_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_47},Symbol.toStringTag,{value:"Module"})),wind_set2_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA00lEQVR4AWMgBCy2H2G03nVcjoGmAGHRdCD+BcSu9LDoP9QyF3pZ5AeTs9xxlJEuFgHZTkD8Doh9KLbIaucxQhZ9g8r1UmoRE9CQtURYtBSImcmzBWHgMahhf2hnEcLQSSADobiCsEWUW5gAxH+hhs8mbBHlFkYjLMS0iBYW9iFZVgUTp6WFpUg+rKCHhdGjFlIORi1EyBkAcQFdLASyG0BitPLhP6iFE9Eto7mFyJbRw8Kr1LcMkRgcoLgFVpbSyrL/yJjWlikAsT0azgfieIbBAAB6g22bmdWX4QAAAABJRU5ErkJggg==",wind_set2_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_48},Symbol.toStringTag,{value:"Module"})),wind_set2_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAmElEQVR4AWMgFljvOj4XiFcAcQEBLEPYNMKW/ScSJ1DTsgYCWIlqlhGjduhZBsUfCGAfeiaQIGLMG42zXCwZmZvqluHBCrSyrA5LRuYdrHE2atmoZaOWIQw3AOICDMsQfAeqlRwgi6AWLEC3DEgnQPkbqOm7+TALYZYhWXQeiAVA6qhuIQJjWkQrCxEW0RJALXkPThRDAQAARItgLdDDvB4AAAAASUVORK5CYII=",wind_set2_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_49},Symbol.toStringTag,{value:"Module"})),wind_set2_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAe0lEQVR4AWMgFVjvOm4AxA1ALECKPnIt+gDE/4H4As0sBBkMtwiBN9DKogtgCxD0CSi9gFYWJYAMB7Gh8TYfZiG1LFMA4v0giyB8hGVQfj8Qr6dBzGFaRusUOYGeljWMWkYaGLVs1LJRy0YtG7Vs1LJEIH4AxLEMgxkAAPXh7uXslnyNAAAAAElFTkSuQmCC",wind_set2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_5},Symbol.toStringTag,{value:"Module"})),wind_set2_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA1UlEQVR4AWMgBEaB9a7jm4H4LRDL0NqiCiD+D8XXgZifHha9h9InQRZS26JNSBZlArEKED/BtJByi9qQLNoAE6eyhYigQ8MV+C2k3KJMECbSQh5KLKqEixO28BsQa5Br0UUgfg3EukRYKA/ExuRalA3E+0BsQhZSHEdQMS5CFkKDjpt8i2AA08IuNLkIILbFZagBVFMCQYswLcwHYmZSfOAAswzKb0C3iHKAaZkDmkVFIHlaWTYL3SKaWYZuET0sewzEB5BwAhWtQqRGHLiBYdiBUTAKAHwekL+qvQoKAAAAAElFTkSuQmCC",wind_set2_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_50},Symbol.toStringTag,{value:"Module"})),wind_set2_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAr0lEQVR4AWMYvGAUjALrXccTgPgAEBvQw6L/QHweiAWGlUVPgLgSiAvIxOVAvBaIpyGJTQXi1UAsDbLIAGQRHXAByDIBUNBBBV6BXYHAS4F4Ah68DYiPA/FsKH8NPIQQap5AxQJAoQizcD5UcAEJwX8AqscByneA8g/gUIMAyBbS1jJMCw1oaBkmGGyW1QLxBiBWpaFlmGDYW6YLxG+AeBGS2EIgfguSYxiZYBSMAgDck4mcU0p7BQAAAABJRU5ErkJggg==",wind_set2_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_51},Symbol.toStringTag,{value:"Module"})),wind_set2_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6klEQVR4Ae3VJVAFURTGcaTdgmccEhV3esGl9+0zuDakJyRDxV0bCXdvuD77wgnnud2D35n/W9/f3H0W8rdG3sRqAjpGczyqTzdWjKzUC1pAs9SoFGam5QZSUo8xkpAB9CQOEtCCUkRBjtF6CnqgfTNISWAG205B5zIgG78K/Ac70Y0oSFAPITeSM+SQGTU4PNIrFKsLauIQ21+BLHRsGykdWC16d4Cy0B1BT+yRagEj3UAjKJ090gOdj9QRCqf9GeiV9m9KQgrNsD/eMnGIHmWKjlmNiUMMi0OGOMSHZ0gGa5eGHB/pkC+QDVDWoXmTwFBwAAAAAElFTkSuQmCC",wind_set2_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_52},Symbol.toStringTag,{value:"Module"})),wind_set2_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwElEQVR4AWOgBFjvOq5ArFpKLTIA4g9AfAGIBehh0X8oXkAvi/7BLKSVRe+B2BZqyQ8gng+zkJqWHQBZBLVUAGYZWA5hYQG1LFOApUAUyxDy8TRJLJiWIQAtLfsw3CwbtWzUMoTBEqCiCA3PpZVlBiCD0TGtLOMD4gQ0nDTE4gxhGBMQK+DBelDLPlLDskywYYTxP2pYFgzED/DgR1DLfo9manyGGYMyLx68jGqVJ6gtQc8EIg3KvATwdCCuJ9ZMABVji418sWmAAAAAAElFTkSuQmCC",wind_set2_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_53},Symbol.toStringTag,{value:"Module"})),wind_set2_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+0lEQVR4Ae3UA0xFARTG8Zc555qNMGXbmt28pjir2UYza2rKtjU1Zs3K1vd8dnl2cq+z/Z/v+11b/ud/vmQyxpZr0YyiV0cNH43lomnSJsE6PnMrU9CDDJNDMwJMDEUwMDF0TiB/lCvCsEA9imNAfVbI8XmS47NmvT+NQ42pwwteitP6Fe1SUA9SfJ9ktAULjgU7nSBeh6MtCnIgzu6qRg8MsFwJcYFIlKAHpo0sKsFTdCGBfNAOukH5DLBIAlGwC72agSiVtesYW9fNAO/lEB9sJ/e5dRnEABWn9yEKFQMm4B26lu86PthDdt2EHOKBfo5L4hSFWP7np8wb6ZStynlHsw8AAAAASUVORK5CYII=",wind_set2_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_54},Symbol.toStringTag,{value:"Module"})),wind_set2_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAzUlEQVR4AWMYPGAUjALrXce5gNgPiNWQxAyA2AuIWahqGdSi/0C8DknsHFRMj9qWBUAN3oAkdgEqZkB3y6x2HmMEsgWAmJ3mlgFpXyh/LT0sQ6ghAKAh0ADECvSwTAGq9gNIP80sQ8s672EWkmqZP5S/noToccDwIZBRCRX8BZKA4j9Qsc9IYp+A+COIjQf/BOLfSPgfkoUKcMtojO+DEg7Md7JALAoSgGJxIJYBsSnAWVCLzoP4tCxvE+hlkQNtLcLM1PVgiwYtGAWjAACJy6AXDgt9HAAAAABJRU5ErkJggg==",wind_set2_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_55},Symbol.toStringTag,{value:"Module"})),wind_set2_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA60lEQVR4Ae3QpVZFQRSAYdyt4Q4NS+gb4AlNPAkJifAaRBIOBXctuLvny/DjG2nMPuis9R295/5rttu3WgVdwz5oQ2t+55C7dqgdBpcIcSqU43iI60o0ipGqhWrhgkG+U6Hmz4b8sA+DK42QjCWKP5xAgEpIBItwBoM+1H0U4joSsTaC6TiGwc0HoRisYAfRVoJiR5sIkCEYjCLE1kjLcS1GmgoZCpW/tz3SWbg+CKkFpxEhXqsH+xCgGvwPcp+FMEeCj89aNHe4hAARG9Aa6bUMyph+UMb0gxZjIlAOI2nGwlAv9Avlbl+9bgETT6V15cW34AAAAABJRU5ErkJggg==",wind_set2_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_56},Symbol.toStringTag,{value:"Module"})),wind_set2_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArUlEQVR4AWMYdMB61/GDQPwbiJ8D8QM8uI8alt0C4v9E4FXUsGwx1LA0IFbAg7moYdkCqGUB9IizTVDLJgFxAh5sRg3L7hAZZxuoYdl+qGH7QEGKB8fQNc6GnGUXoJa9Gs3UwyOBjFo2atkaelq2g2aWQTPoASBOwGYZtO7aQE0Lz0MtSEC2DMSHss9T0zIBuIWIynMuzCKQPEgdrSz8TyOLMC2krUWYCaaeUosAc5WfANASCB0AAAAASUVORK5CYII=",wind_set2_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_57},Symbol.toStringTag,{value:"Module"})),wind_set2_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA90lEQVR42u3SoQ6CUBiG4bOJJILdhJ1MsBC8CC9BLZqcTY1eiIlZiFaCt8AMJBoBGcHi1C/8buBk/8GzQ+Lb3o25wTM4im7cxueLiRZtQD10RS900g0dCfq00QH1kU9Ajg5aQHqjmB5cIJd+nzOg8qfLkCMwBlSCchTSdcqDzc8oLkEuMlEgAU6bvpFfujlEpsAYcIYiNPrn0xUoo+uAAZXPyEUOSiVAWwkSNAkwQcO6B6+QJwNJgAayRN3ohh0L8aAhaCz29a+7VyAeTJAli+1L0ANNGpyvXT0jHos4SH2EUU+0Rh410ILVdNOBLdH2R57o1q2NvQHQKMFQhtJwAAAAAABJRU5ErkJggg==",wind_set2_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_58},Symbol.toStringTag,{value:"Module"})),wind_set2_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAnUlEQVR4AWMgGYyCUWC963gBEBvQw6IFQPwfZCEtLRFAsmg+rS26ALVoGohPJBYEYnk0MQkgFkdXA7cMZhGN8RKYZeehAv+A+DcS/gXEn4D4Aw78A6rvO0wMYQ5CDbplAkgWJpAQ/A3oiQnK/4BHDaaFtLIMl4UBtLEM08J6UKamoWWYYFhaNmqZNCjVArEYkpgzENthVTMywSgYBQAWLJ5MATJ/gAAAAABJRU5ErkJggg==",wind_set2_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_59},Symbol.toStringTag,{value:"Module"})),wind_set2_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae2UJVAAUQBEcbeIZdwaLpV2kR5xqLgVvM9Ao5Nw14JDxCVhCde9mcUKvofuzDv/977bvJT/JPZMxgAD5Ct+boBmMARuHqOQHfLns2AQ7D8Spim7sJiSc54NlSgYXFGSw3O5QuQIdiho5zNef76sij/fBz58NmTy2aIEdt81SHs8S00+U+QBVtiqOvUCbqFoHjgrRQZFpyBSKfIDe5QVykRxnWO2EHRS1G/eK1uVRdEhCFSKQsAxZRlKkSOYpqhNPc1rKNoEPkpR4uNdQinyBKtW7RKtVu0S6fpd4ulUXwI5Nt8t/7kFvoj0R2tADjEAAAAASUVORK5CYII=",wind_set2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_6},Symbol.toStringTag,{value:"Module"})),wind_set2_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBElEQVR4AeXUpVZEURyFcVzzzWhHCu4ZfRI6+hYk3AvuBYeCU7BIJ8G47DO6x/U/2FnrG5/5rTly037EaDi47EGjQeqRwGxhKpbEdlErakGVUv/sDVlcjyfq9s7Tkw4RdoS6ZEHCXI8ZHEsaSNiHwuh5O/oSAdUWp20uD/L4t+Bp/f5FhjTYR7v0RPIcaugR2aSPBUOPqI+mdFNNqRSkuV7vQCbX69cA00UgNXVqCpGNUs/TkwrV7p4xZESDNKXTKCMebDkKqIuOhd71+l08WDladENYk6BQEOw50bULC9E0rqKcRLH+KKB5lJmIw1P6KA7x+A6oWhpirBi9S0MMFkZzebIDsm/JRR6o5ZQAAAAASUVORK5CYII=",wind_set2_60$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_60},Symbol.toStringTag,{value:"Module"})),wind_set2_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAtElEQVR4AWOgBFjvOu4AwsSopdQiAyD+AMT/gTiBPhYhsAEtLXoPxF+hFn2EihnQxCI033mBxGAWUsuyAphFYD7CMgWQGFRuAo3iDmEZlC9Ay4TyBmYZPZL/g+Fi2ahlo5YhDFKG5qMPePBfqGWGlFqmCTKISGxGjWDiA2IBPPjRkIwzbiDOAeICPPgd1DJliusuEuLMhlLLBIG4D1Q/4cGfoJZpDLlMPZqpDeiRqcVBmFjzABiLrVh9xfTGAAAAAElFTkSuQmCC",wind_set2_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_61},Symbol.toStringTag,{value:"Module"})),wind_set2_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7klEQVR4AWMY2WAUWO86bgDEDuiYFhYVAPF/HLiA2pYpAHE9Er6FZFkDLYNzHprPGojVyESmRf+AuAVhGWGNkUD8BojNibSoA8miaFDiQMQZYc2ToYo/wi0kbNFfkEVgMYRlDsRYxgzES1EtJGwRWqLZD8oSuCyIAuItQMxP2EJMi0hNSdegmk/is5AyixCWqQDxEyIsXESWRUDFIUCcRYqF5FokAMR/oJoriLCwE8mybnKCLhOsmbCF/Ug+KoWpo5GFmEFHCwtnIonXwcSpbiFa8m6DqaORhZhBRwsL65Asy6BHNT8diLsYBhMYBQBOUbAH/HtRCwAAAABJRU5ErkJggg==",wind_set2_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_62},Symbol.toStringTag,{value:"Module"})),wind_set2_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAArUlEQVR4AWMYoWAUjALrXcdDgPg/EE9AErsCxL+BWBRdDaWWJUANWoAk9gAqpoCuhraWjVqG0CsAxA70sswBppa2liH0z4epp7llmBYiBOuhgo+AeAMUf4WK7YLyz6GpwcQIdTeg+AgQf0CxEMiYAxKgMX4PDiUgoQzE7UCcCcQBUFwBxM1AHAjlx2CoIYwLQSEE9Z0BLYtAA6gl74e6RQgADcL9YIsGLRgFowAAHZmgWzJRfGAAAAAASUVORK5CYII=",wind_set2_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_63},Symbol.toStringTag,{value:"Module"})),wind_set2_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+0lEQVR4AeXQNVYDYRRH8ckGcCrcloCzBdLS0bIQ3OkoYQW4u0udEncq3O1xcYhN7A32nfOLTuae/A2zkz80X4h2hBuah4AdNxAUWxVqhs2SUN7gnO3181jUIlwllDsw+znkgKAp5KGc/hl3oWXEBxsqw4M/IV4XITyQ2B4EZ8jwIVQFQVcgsQSsQLCNLB9CN7AHOmU4FiG40Qo5B98mvUWBSshp0v1Pk6arhDxMeqIVcg4uQ/CAEpWQ06SHnyfVDb5O+n+DvI9AsiVBXrfiSPMfnr4FeZ6AaE3qgOAc6U4x9eCiU0w1uKY14zrk1QwuIVqxFoy70W78u/MICx62oX0dgAIAAAAASUVORK5CYII=",wind_set2_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_64},Symbol.toStringTag,{value:"Module"})),wind_set2_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAy0lEQVR4AWMYVMB613F/IP4NxJ+B+AEefBuIhSi1LBOI/xOJJSi1zAFq0AkgVsCDxRG6KLfsAD3izANq2Q0gTsCDo4GYiVLLCkiIMwVKLQuEGvQCiBfgwdOAmIOucTakLEuAWvZ9NFMPuQRyFEtGDqCVZVewxNEDWll2CktGbqVrPhsWll2gp2UPaGXBBFCwAbEAumVA2gAqF0Dt8vACEPvALINa9AGI34PYtCiAd0Dp1yCLoGwD2gQnZkZOoGUCmU9bizAtrKdGggAAdOfNZIpKemoAAAAASUVORK5CYII=",wind_set2_65$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_65},Symbol.toStringTag,{value:"Module"})),wind_set2_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABIklEQVR4AWMgBEaB9a7jkUCsSA+LioH4PxB/B2JRWlrkB8S/QJZB8WWQhbSwKAbJokVAfIe6FiIsqkXyzXSL7UcYgbQMdS1EBN0fJMs6EHKYFlIrjvYA8V+aWAjU1AzE/2BBZ7b1ECjooomw8CjpPkIY+hOILWByBCy8BMQZ5AbdAyj9EYjNcVtIeRxNB2J2IN5EhIVVlCYGbqg4Gz4LoSk1GZehBkBcgMeio1B6HxBzEWGhAD4fNIA04Qk6VSB+QoSFxnBDCVuGSHXIJQNUXAXNQnYsFoYTY9kEkGI0i1aDLYICNAtPAjEnWBBhoRmxCeEA1AJMizDVygIxHzY50ixDJAZHIHYAYgV8+ii3DBM7UNUyqC/qseB8cDKmBxgFowAAnKLjQIC1bfoAAAAASUVORK5CYII=",wind_set2_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_66},Symbol.toStringTag,{value:"Module"})),wind_set2_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAtUlEQVR4AWMYvGAUjALrXccTgPgAECvQw6L/QHweiAWGhUUToBY9AeJKIC4gEs8B4rVAXALl1wLxeiCehKZmFdgDQCIAZBEdcDgDyEZQ0EEFXgHxaiS8FORrKF4AxCeAeDOS2GuwPoS6zVD+XSxqrEChiG5hAdagRoTABiSxC1AxA2LVYLWQVpbhslCAhpZhgoG0TB9kCBDn09AyTDAiLFsFzVOyUL4VED8A4i6sakYmGAWjAACCA8e1OjDfqgAAAABJRU5ErkJggg==",wind_set2_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_67},Symbol.toStringTag,{value:"Module"})),wind_set2_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABKklEQVR4Ac3VA2hFcRTH8TfmeRmzlWYvN2fbXuYWhjSEeWHIWJht2wqz0+xz63fr9KxTu/Udrj7bHz3NvzhSBufiqEw1MQjAr4G6JbEPqo4qRYVS2DO+P1JB0sNYSZ2Iggwro9wZeANQBlN+B7iFc+cA7YZ5UGN8yQNc0ALlDoDL4iCwfKzQA1EQ0AeQCjakl1SiFFTFhnQF574A2gU74xDO+VK7OK/+h0H2wKKoEi1oS0EArrA5DLMZNABt4Xe+Lb6oDBFIOZ/YN+1AP7exIb2lguwOJfROKVAD+4Q4tHpbAHIyE8rXGtJ3KscasIPa5EOnDbF786hvXBuydiidzICyqRdcW6RcbV0oNWZAXeofZyvWIg1pLxh/MyCRT3V5CFiVOKQ1pMXmQH+Y0+9oTGfD2QAAAABJRU5ErkJggg==",wind_set2_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_68},Symbol.toStringTag,{value:"Module"})),wind_set2_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMYMsB61/EEIP4PxAvoYxECL6C1RZ/R6Am0sug8EPtA2ReAeD6UnUBNyz5ALRIAYgeYZVD+eSjfgFqWGYAMhrARloH4UAvtaRV3CMuQAK0tOzAELUMYzAnECmg4gFaWZYMMRsM3aWVZOBA/QMMHYJaNJhB8hoWAClg8eAcs7ii2DGrgfyLwe2pYpg3ECXhwB9Sys0MuzrhAmRcPjoBadpgals0iMs7eUsOyalDmxYNfQC17MpqpsYHRTJ0OxLOBOJYY8wD3eMR66vJg/gAAAABJRU5ErkJggg==",wind_set2_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_69},Symbol.toStringTag,{value:"Module"})),wind_set2_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAaUlEQVR4AWMYemAUjIJRYL3ruAAQO4BoelgWAMT/gfgCvSxMoLeFDRgWQsP3AhXwZSB+gYb/wCyEWRYLEqAxPg/2HZBgA2IDGuA6qEUXQRbRI4Gcp7VFATS2CAGgQVgPtmh4g1EwCkYBAHid9zsgYszKAAAAAElFTkSuQmCC",wind_set2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_7},Symbol.toStringTag,{value:"Module"})),wind_set2_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABGElEQVR4Ae3UJVQEURSHcdwlUfCIVtwhk3CPuHc2kugNt4g7EUkkEi4Jd7d/uGFl5o7j75xvbfbNb9zu943/8T8SZ5e70LtIoXpjFaiN6kI3ZliaUXvoiCYJedOEYaIfGkfREtAL6kbvclfcivqQi9lvHbSyYxTNQBnIZIaxkDM6p8mjyIV+90CL5iBB/fTbE8qg/5qU7FksupQBDtPnO5RhNr8RnXNADcqVCc6iNWtI7p6E08RXVMyB5oeOh3iwXQY4hgbV7lE+ClACqoWyaeImCuRAOnTTZlih0sPmi1ZlgKVm5+gBVclXlINvzKHTB6RDt47eqSwNDAuGWD0ZGrUJPHjNHDpdwV2CXhlINzAIHaIWqf/+jw+3Rdgf7w5DFAAAAABJRU5ErkJggg==",wind_set2_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_70},Symbol.toStringTag,{value:"Module"})),wind_set2_71="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAt0lEQVR4AWMYoWAUjALrXce5gXgbEM9AEksE4v1AbImuhlLLFID4PxA/QBJbABVLQFcz/C0Dst2BuAGItehgGULNwFiGkPsAkqeXZfOhcgtobhmmhQhBRajgG5BGKD4CFZsD5Zegq4Eadg6IW0F8HPgwioVAhjVIgA44AWSZABBfA+LzIBdA8T4gvgPEm6D8xUB8E6YGD14GxNuR8FuQRVB9AgxUB5hxOh/EHxYWGcAtGrRgFIwCAOAxvUsYH7x2AAAAAElFTkSuQmCC",wind_set2_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_71},Symbol.toStringTag,{value:"Module"})),wind_set2_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABBElEQVR4AeXSJVxDURTHcSzh0pCEOwnN0HDviYzGl3DpBadnSLh2rKAFd5nvH04425BnB72fz2++fXfPfX5qVsncWh3K9JNeQFqQC52jIHGI6vpSiF5PQEnyEBB0ii5QnDhEr2+gEKPQmEoogl4PQDF6oDIGTaiAAtEMjTRVD7hIP2pFFSogF7pDOXpH2Us/YkOXKqACo2fXz0a6LwYxcJWPVAziI2XgwlsQ/ZGe4tlVf9NA6ukNyErvlZq1wxV20VS8AfWaPdIRNtI2EeiDM9zhkDxII/02EM8PUZUUaEfN7HUXUiR36CRQCmNXKQM5Jg+ajRGQhxTWFkEiWBVyvR2wf7Xcl27G417tQr4AAAAASUVORK5CYII=",wind_set2_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_72},Symbol.toStringTag,{value:"Module"})),wind_set2_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR4AWMgBKx3HWcB4hAgdgZiAzxYi5BZxFiWAcT/icTSlFoWAzXoMxBfwINPAjE/pZY5QC07QIz6IWVZGNSy10C8AQ9eBcTclFqWR0ICkaPUMleoQVeAOAAP9rTccZRxSMWZI9SyM/TI1DlDL1OPZurRTG218xh9M/WQtOwGrSwQAGE0yx7QyrIDQPwBiA3QLQPSCVB+AVUsg1ryHmphCswyJIvOw3xObQu/IMpGTIuobeFHqCUIi2gDEHEE9aUBvZK/AqXmAAAigPGasTQY1wAAAABJRU5ErkJggg==",wind_set2_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_73},Symbol.toStringTag,{value:"Module"})),wind_set2_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABE0lEQVR42u3Vrw8BcRjH8RvBJqmaQCMLAn/BTREUm2SaKCo2myAKBEWQmEYwCpm/QbBJqh93PuEJ35nvnsdjpHu2986dudfu2W6cYLjJLXdTVP0HNEE+8lD2l1CHoAcdLwyohmYEXFERjRlQDS2M1ZXoWpgH9avz6LhCUQZUQUNjdTV01IE8tKEb3JFL15ICcK9anVGTvuLANsp8AnWN1fWloGZ1W7rBzVhdXQAOvlndxVgHB66tq6MXcmaBruhAn888yD9BC/nGec+AXBRFKwFYEWMvkIdch0YAnlBago2Q/wKVHRohGJKucY18C8SBSV6wY3PUohooZgMJS6n+KiwVLL+JoLjmxY2h/JsSTjDB/GueujbucYQ6KUIAAAAASUVORK5CYII=",wind_set2_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_74},Symbol.toStringTag,{value:"Module"})),wind_set2_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAApElEQVR4AWMYvGAUjALrXccTgPgAECvQw6L/QHweiAWGhUUToBY9AeJKIC7AgmuBeD0QT0ISmwPEa4G4hICaVWAPAIkAkEV0wOEMIBtBQQcVeAXEq5HwUpCvoXgzVM1dJLHXULGlRKixAoUiuoUFWIMaEQIbkMQuQMUMiFWD1UJaWYbLQgEaWoYJhrxlo5ZZAfEDIO5CElsFzVOyRKkZmWAUjAIAgGjehn1HpAcAAAAASUVORK5CYII=",wind_set2_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_75},Symbol.toStringTag,{value:"Module"})),wind_set2_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABHklEQVR4AeXUJVBEURTGcdzhFdy1JzyS6YEekYw7JBJe0Iw13J2Eu7u7w+MLJ5zG5c6exM78dt/qf/aa1f+6JfZM7oIJwzDENErETPIKozBI2qViX2DCAhiSw2hCBdyLBymQD4GyQRaj60C4otemwbB07AYy2PNA2KTgLHhLb4dA2KHgI/hIxrxgFUwyB4ZUaIEiu4TPoUhoEwL5HMI9BIqE2HtVYJIlMKRC5eyUOdUZUh5yVAyl8CGFKwj6a8wepn8LsdeT6TUT9sDQ+XceCqFYuGP7T2tIebhYIdQFYWxIDyFIJzaoEHKg16PgmV7f0Im5Q4xCyAUG6PUXSNLfeOqhQ4i0xEZvFQ+xmAFp+iH9sHyIxbLEQ3xIoV419ANv9/ZESByP5gAAAABJRU5ErkJggg==",wind_set2_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_76},Symbol.toStringTag,{value:"Module"})),wind_set2_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAuUlEQVR4AWOgBFjvOi4AwsSpptyiC0D8AYgV6GHRfyi+CBKjtUU/YRZCxQRoZVECKAih7BJMCym3rAFmEZiPsEwBJAZlT6CmzwwQfIRlUL4DDRILpmX0SP4PhphlCMNkQQbhwU9gllFqkQ7IICKxBUWWQV1+BxRUePBvqGUGowkEl0EiQDwXiBfgwZ+hlmlRapkBCQnEhlLLOIA4BogT8OA3UMuUhkemHs3Uo5l6NFN3AvEUIGYhxkwAIT7z7kQyqjgAAAAASUVORK5CYII=",wind_set2_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_77},Symbol.toStringTag,{value:"Module"})),wind_set2_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABFElEQVR4AWMYemAUjALrXceZ8cgFAPF/HLiAVIuUgPgREFfgkDcA4nokfBvJsgZSLfMA4r9QzRUE1Poh1CIsI9XCaBQLCVs0j7BlCI0qQHwYiM3xWoiQc0KziJEUy7qgij/itRBh0TeYRVY7jzGCxEmxjA2INxFh4Wwki6Zb7jgKtgjJsgJ8QTcRiLmItPAfUkKYbrH9CCMpiWAfVOM+vBYigu4nVPwizCJSLNMF4tdEWJiNFHTLgXHEREqGDSDFQkqC7iFUYyYRFroB8R+o+Elygq4CrJmwhZ5IQbcLOehoYeFfwkFHuYXJSEl8D7JFVLUQrWQ4gRx0tLDwF+Ggo9zCOiQLVyJbRCsLNwDxaWKCbhQAAH8Z7zClUxfoAAAAAElFTkSuQmCC",wind_set2_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_78},Symbol.toStringTag,{value:"Module"})),wind_set2_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAq0lEQVR4AWMYoWAUjALrXceZgDgdiEOQxAyBuACIZYhRQ4plCkD8H4gfIIktgIolEKNmCFs2ahlCbgMQB9DLsvMwOXpYJoBqIaZlj0CKoHgZVCwLytcjqAYTywPxJRQLgQxjkAAdcADIMkUg/gvEv4H4AxT/AOJ/QPwFyv8I4uNTA8Vfgfg7Ev4Fteg9EBvQshhMoKtF0ESiQEuLFJAsEqBHTWJPskWjYBQAAGw/3XJYww2rAAAAAElFTkSuQmCC",wind_set2_79$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_79},Symbol.toStringTag,{value:"Module"})),wind_set2_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAeUlEQVR4AWOgCRgF1ruOqwKxCj0sEgPi11CsS2vL2IB4HxD/p5eFXNajFo5aOGrhqIVo8guA2IFWFr5HthAq1kBLH/4AWYhuGS0sPIVsIbJlNLeQVsEoAMQFIIOBOA2Ib4MsopVlBQjDEZiWcWYAxPZYsADDkAejAAAvtgWRBd1vcgAAAABJRU5ErkJggg==",wind_set2_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_8},Symbol.toStringTag,{value:"Module"})),wind_set2_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAABGklEQVR4AcXTA2iFURjG8TlN2c3ZNdu2F5dvWpptL3O5Idds21mLQ5rtvXvmN36nc3e+nfpd7u5fTx0TkeM7vuJmosdByAAEZbqEvuTpFSpin1voFXKFfajTI3QABLN/EWoWCK2BnbGhDhYq1Qrh2Rw6oUYmlgOvQNAPVhqhbiC4ABuZoC9cAMEUHAqEPI2Z0xOu2KTrIiG8joUCmWAGm3QErDRCCfAIBB4ywQS4BIIB6BUINRk76QWQyhAPRrJJF8BKPiR+La7ZtUiRDklM+qIsxINs0t3vSVUGc+GOTWrFvnOEKrBXMykL4jkICIJUTHoNBDtgpSzGgrcsGMZjqoPHqmZ0hKAvBnbvlMRmgTiVMXsIZDh7k/8+bwSC+fypdZdrAAAAAElFTkSuQmCC",wind_set2_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_80},Symbol.toStringTag,{value:"Module"})),wind_set2_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAy0lEQVR42u3TMQrCQBBG4WAjFkrAShDJBYTUWlpZeoMcwsZGcgtv4CEsbC0s4gkkCIpdBEEQhPUVGwhTCebvMvA1m+IxZDf4daa7wxwzdAPlEBjB4Yo7ErRUsQgONzjviIk8ZmwxVMasF9boKGPWCT117IMN+urN9hir/9kZC/VtfGKFtvqdXTAoz9WxPGCaWBNrYtLYQxmIbcx8D+uKpXBIbMyfOaR1xUJkcFiWsUooM5vVF/TeipAN5pVggUh5G2MUXiyJ2A3/3egLVIl7eDrWwXEAAAAASUVORK5CYII=",wind_set2_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_81},Symbol.toStringTag,{value:"Module"})),wind_set2_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwElEQVR4AWMYdGAUWO86rgLEGfSy6AkQ/wfiHHpZdBWIH9DLor9QtjpdLIIFJe0tQuCNtLcIgT8CMQvtLUJgK2pZdAiI1wDxOzyW1VPDon1AzAUVZwZiUyCuAuL9QPwTybLDVLEIj1ouIPYA4l4gPgPE3FS3iBwfHADiAHpY5AA1tAHJopfoFlHdMrBFiFR2CmYRLSybhGTRNZhFtLLsB7pFNLMMij8DcRpIDBqsCrSzDBNvoIXv7HFgAYYRCUYBAF6Ue1Jk7fSiAAAAAElFTkSuQmCC",wind_set2_82$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_82},Symbol.toStringTag,{value:"Module"})),wind_set2_83="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAxUlEQVR4AWMAg1EwCkaB9a7jAkDcAMQKtLbIAIgfAPF/EJvWFn0A4vdA7EBriz5CsRcoCKmM5YCYkQHEgfroP42xFcyy91CBnyA2Gn5AAD8C4mcE8GMgNkQEI8LCBBJiAObY7wR8dQuI2SA6KLewiYBlPrhceR6qQIEEy7iB+AkOi3YSytT2IJpE30VjsegPEGtSPftYbD/CCDT4GJplE2mZX82A+B/UordALEjrIm8B1LJMehTkktDgZKFXzcFJsqZRMAoAfoh82Lcw504AAAAASUVORK5CYII=",wind_set2_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_83},Symbol.toStringTag,{value:"Module"})),wind_set2_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR42u3SoQoCQRjE8RVBxHcRLgliEbFYfYILhosGm8Vm9iUsYjHJFS1yweBzeAcXFSw6C8Ic4pp2iuzAv34/FtaESdZLsylafClWYM8fRUrsiBpGMmJndNeBxC5voC0H7WGbwT7AHUEBVgELCYhjff46OcgF8O/AISq1ILEEXbUgsa1FdCChOgEVSKxDSAUSmxNxghtf2IGAE1z5gFro4YBytEZjX68aVY7fUIpmKOruTzXfP3GClmiAmiYMewHztnHlBNXhvAAAAABJRU5ErkJggg==",wind_set2_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_84},Symbol.toStringTag,{value:"Module"})),wind_set2_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA0ElEQVR4Ae3RJZQCURTGcdZ325Z17WkK3guJRqVHGk4kkyBBojek4G6ZSKJOgrLIN+dc7CXsLvrO+Y/P+42o9n4Yk6UIGiHrf0EUQGaoT+vuDOSBwnPbftTaGkjQ7wQSYB96JFDe5ptJylrElH0CJa5/F5xhzENBztgZO2Os0CUKsGIEGVANlVkwQj5RlAC0ZYyQB+RBPTRiwfTxwgUmsqDODGDCMIlDBNgwAk2ozYmJ4A2yIZkTE9FnFEIDTkxEJZRGJcK8LJCAapAZva9y3xhZ5WbldP6EOwAAAABJRU5ErkJggg==",wind_set2_85$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_85},Symbol.toStringTag,{value:"Module"})),wind_set2_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAyklEQVR42u3SQQqBQRjG8WHlEpIcQFmJ3XcEN5AryJZLSJY2Chs7fTY2IhsXcAMWZGEhGU+ar3dqZqPpKYt56r+cfk0zKi6OvuZ6v0Ta042B9dHG6p6BirVGussBWBjoTcPqq60NvdBEMC6UoAHSDGhkoCdKFCYYB3pkkIVdadAv37eMeqiG8hxIsII5qNEFzVAHlcIhP5gi7emEhqiFxmGQYF0BvB3DIcGqXMh9jzMPcm835UOCtfmQYEUu5IJzPiRYBR2+UNy/7QPLU2WEIUNUPgAAAABJRU5ErkJggg==",wind_set2_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_86},Symbol.toStringTag,{value:"Module"})),wind_set2_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAu0lEQVR4AWMYvGAUjAKL7UcYrXcdb6aLZUCLEoD4PxD70toiXiB+BrXsFhCz0dKydrBFCFxKK4uUgPgHmmUfgVicFpatA1uAiWeTaI4DVN8CXAqcQApw4H9AbESihfNhFqJLsADxJZAkHnzIaucxRootBHKcgfg4EJ8ggGcD8QQCeA0S3oyUBhag5Cs6YAWQZXJAXEAD3A3E76AWJdAyvxoA8Qcgfg/EAfSyyIDWRV4AEO+HWzQKRsEoAABJJ2iIVFOnGwAAAABJRU5ErkJggg==",wind_set2_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_87},Symbol.toStringTag,{value:"Module"})),wind_set2_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAwUlEQVR4AWMAgVFgves4DxD7ALEcLQxnBmJLIK4D4kNA/AuI/wKxILUsUAPibCBeD8Qfgfg/Gj5JsSWWO44yAg3qBuKzIEPx4BZq+EgVFERQA8/jscyeWkEYTcDCr0DMBlJLDwu3wdTRw8JCkDy9LNQFydHDwkNWO48xgsTpZWEFRYaNWjhqIZD/AYgLaGnhRJg4lN9AKx/+g1mIbhnNLUS2jOYWwiyjtgUBQHwACV+jpWUOQLwfDd+HWpZAs2AcBQCpIl3b31q6IAAAAABJRU5ErkJggg==",wind_set2_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_88},Symbol.toStringTag,{value:"Module"})),wind_set2_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2ElEQVR4Ae3TtVUEARRGYdydBIcCsBhCIkI6mB5wpws6oAc0xK0BXCPc7XHR3X0J+mfzzvl2x+/MStx3p3FsphlNyI5TDoEKGPZwiAAJqlgVDPuwdwtokMecEZQpY94VBpCujHmryFHHHjCMQvWTTaFG/Z2to0X9azxHN1LV/7NtFH9sV8f2YM4j0hWxXZhzhzRFbDNOO2Hs+xPGTpSBeh9z+/P+KzYEQ+Bj79sMQ/8Vy8MKDG0fsajQyseTKYKGW0nIBTejgseoUv4a63H8rl4S8U/41yd6BrSfmlHBS4oZAAAAAElFTkSuQmCC",wind_set2_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_89},Symbol.toStringTag,{value:"Module"})),wind_set2_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAgUlEQVR4AWMgFVjvOp4NxOuBWJ1UveRYtgGI/wNxwKhlxIFRy0YtG7Vs1LJRy0Yt20pPy47ALKOF4QpAfACIDbBZBqKBuIBalgkA8Xsg/gCyENkyIE6Ass9T03cGSBZehlowCWYRyEEgdbSwcA3EEkyLaGHhB9pahGnhfnCCGcwAAN9w8YksaiKWAAAAAElFTkSuQmCC",wind_set2_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_9},Symbol.toStringTag,{value:"Module"})),wind_set2_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA20lEQVR4AWMYdGAUWO86rgLEGfSy6AkQ/wfiHHpZdBWIH9DLor9QtjpdLIIFJe0tQuCNtLcIgT8CMQvtLUJgK2pZdAiI1wDxOzyW1VPLR/egYsxAbArEVUC8H4h/Ill2mFKL9gHxARAbKqaCppYLiD2AuBeIzwAxN9kWQQ3jB+KTKBaSCqAuDsBnEUwOzcJDpFrkANXYgGTRS2wWoVm4Aoh1ybYMbBEilZ2CWUQ5wLRsEpJF12AW0cqyH+gW0cwyKP4MxGkgMWiwKtDOMky8gRa+s8eBBRhGJBgFAE5FoTpqUh7HAAAAAElFTkSuQmCC",wind_set2_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_90},Symbol.toStringTag,{value:"Module"})),wind_set2_91="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2ElEQVR4AWMAg1EwCkaB9a7jAkDcAMQKtLbIAIgfAPF/EJvWFn0A4vdA7EBriz5CsRcoCKmM5YCYkQHEgfroP42xFcyy91CBnyA2Gn6AAz+F4kdA/IwAfgzEhohgRFiYQEzQQ9V+gDr2OwFf3QJiNpA+MixEWAZlNxGwzAddPyxIz0MVKJBgGTcQP8Fh0U5CmdoeRBNlGYIfjcWiP0CsSXF2gSamlzC+xfYjjED+MTTLJtIyv5oB8T+oRW+BWJDWRd4CqGWZ9CjIJaHByUKvmoOTZE2jYBQAACXsl9g34JhfAAAAAElFTkSuQmCC",wind_set2_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_91},Symbol.toStringTag,{value:"Module"})),wind_set2_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR4Ae3RJVQEURSA4Vms4O5OPxtxi7j2RE80nEYi0XtBCu5ecW1Lxx0ef7gB13cTe8/5xmf+nVnnf03e2LIbxXCrhiRiPjCgGTtBD9pFjVbsWtb7iNb+jI04fR5Ui8k66VlwV4I6MYeR4BEM1iVoLZaGaaQ5zLPggUrw+XiDWrFQjMKjGpTQqkQ2cfg8qBXyIAsD1t9QYkOvQgE4x5nVoMRK5WFZsl8kASgEX8W7YdSDEluBUQ1KKAwPMF8Em2zEamE+IrFmuGzE+mCeucUcWpEDX5v/1z420ItyBDkakzOy6OLhCc+PeecJ50ygvP9OD4wAAAAASUVORK5CYII=",wind_set2_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_92},Symbol.toStringTag,{value:"Module"})),wind_set2_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA6ElEQVR4Ae3SJ0wEQQCFYXrvPqEbuqb3ovAOCz7BrsMneO/w4IOkO7yiDKs4+i9ub19G0Z7bSb7re/+UrfrtmDk+7UNXlXsQmULAuS0oKwr4LLtAlyPUhfNy5EOC5RV6Qjt4xSf2/i0osSQLVTEk1lWOfyL5z5X1Ze81Vn6/iD7XjVLSmPv2D/5YESti0Z+24B5BPCJ1xFrxGbPEysF2dIlhPFliEm3APlJdmSO0jVvLNkpkFCeWM5NIDw7xZrlBJNSJmzjgXFk7DlByxzQ6gCN7LIou48od02AddnGP4IxptBtr2PrJdV9YW6EUHftM/gAAAABJRU5ErkJggg==",wind_set2_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_93},Symbol.toStringTag,{value:"Module"})),wind_set2_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA7ElEQVR42u3RoQrCUBTG8cnAJlhMrgpGm6hlL+A72H0Gmdkw0KpR87JGgz6AYhJBJojJicLi/BgXzoU7B95xQHAH/unC/XE4Rj7/OZ3VtozshBocWICipDgwGzmiEQoVjAGtoIuAXoTxQHcB+cgljG+jG7LQEEW6Nxkj8wO0kzayDEwWzBefLQhUoGMM0VsPeTpYEz1kMAn65sM6WqMBaiEzBZxqQDTt5aYgjhuJAuShPqpJ4BWdNCBluzlhSmc0Q/uMEB01BQuzbaRiVV5IBQ/8EGETfoiwLj9EWAk9+SAVdPkhworIiaF8fm3eXKuaemC3hR8AAAAASUVORK5CYII=",wind_set2_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_94},Symbol.toStringTag,{value:"Module"})),wind_set2_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA10lEQVR4Ae3UJVDHYBzGcSQtIQmHgrX3aDg90VZpVHpZL/QekH5oROsoeFrB3fXHF9/+Ok/vc/eZb8+8REcncHoX1400y6bRlUbREATLPQtrpUkWlcOG/DCTLBuFuDgwXOtX8YrOqEWVOIZksEp+4rpqVeRYY1CFNhiH5HCPhoBlF7iEyrWyHS+QPCYDlqm8hSyYhRTRU7ysSCET1djGfhFb2MYeNmDn4ODQ5RLyV8igFpKC4d+ra4OKmYkbCEaS/F4VLnGBoSSLWlxFKul/ayWsvyIdHZ0PmFiaCxNJGyQAAAAASUVORK5CYII=",wind_set2_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_95},Symbol.toStringTag,{value:"Module"})),wind_set2_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA00lEQVR4Ae3QJVAGURRAYdyldxIOCfeC9Rlc+kAiYj3RE42MOwntPeDuLo+D7/66dvE3863vnrkb8L9yJxbCUIBeNEgEktCOIZxBvSpzKlCNfmxAeXCFCCdCfdjHNpQXk05NNQqFAx/BDqdiUZjxE8zUvCIa3EXQ63MJqJAMDmhCa7hHgVSwVRNSWEK81C+tFQn5mtBLSCS4j2yBjNfgLlL+VpDzdBR9SpDjuSeSE14hRSymCS5rg15iYsEVTUw4CBw5HUiH8kZiojZ0edAUILX+1yN7QZf1cBmRXgAAAABJRU5ErkJggg==",wind_set2_96$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_96},Symbol.toStringTag,{value:"Module"})),wind_set2_97="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA4UlEQVR4Ae3TA2hAURSA4dlmHHILs5mbF4d0s2tpWcu2p9wyZzO3tDDbNs/+2d6ZX33d+P5Li2/3JTb0+mAfg6hGoGYsCIJpCHZQCif92LVJFCXU91hqxu7qQbRm7K5jVMFFPYZB5GivbB0lsNPcxmOUw1/7NnYhQvudTaIgrrbLUvNRh0Cwg7YnNCH4vbE4yAulfNQ2ziLtCSmw/ajY6Lt+9B/79bHFz4ytagWKsYqwuzFGD/TBfFQsDCtYRcZl7EZIkPcRrbvBfgi2sAqB0djOPMgdRvOCGPXQ3RW+94xOAONNsJmvm9tCAAAAAElFTkSuQmCC",wind_set2_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_97},Symbol.toStringTag,{value:"Module"})),wind_set2_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA+klEQVR4Ae3RJVTEABzHcdxdIgV3SLj1QKVXvAecHsj0hiXcPaIFbbi73i/M/W6+3f+9z3z73nYB/rHcVE9vREKeEaEomIcvqDci9A93MG9U6BL+INWI0D+hyZAQYdiQEOHckBBDlppQIhH4hxs4hn8JLWreaI3xoEXiWA30EOd+OLFRtZ/uHp6J7QkIY1wXB40wBIfwAMG+hq6hCMrhkRkUuTcNIsQe3AmlUiHGOUVBsVApcWOPXEh1EBc2kDEitM34j5ghqeB41dR6oDexQUboXSokENyFEG9i11IhifszINGrz0j4IkLqRyomYkzrWAJ0i2gI8I8rxwPS5cDax62QggAAAABJRU5ErkJggg==",wind_set2_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_98},Symbol.toStringTag,{value:"Module"})),wind_set2_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAA2UlEQVR4AWOAg1EwCkaB9a7jDvSyaAEQ/wdZSEtLBIB4A9Si+bS26ALUonp6WfQWiO9A8VMgfgSSw4G/APEnMJswPg/EGiDLDEAW0QFbwXyXABKAulQPiBUIYoT6IBBNAD8DYhGQXSgWQr0tQCj4oWo/QNnrCPiqHKaPsIWELVMC4h84LLoLxOwInZgW7gcFFVGWIfjtOCwLoDwVY1rGC4obNIv2gOSoaBlmNEDxHyDWpZllFtuPMALFTkHlpoLEaGMZQtwSWjgIU9OyUiDOxiGnR7KBo2AUAABf75OzomqTwgAAAABJRU5ErkJggg==",wind_set2_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set2_99},Symbol.toStringTag,{value:"Module"})),wind_set5White_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAVklEQVR4AWPABv5v/l/AQCz4////ArorHlU8qvgIMcoS/huAFV8AkgZANl7FE/5/ACoCKv5vAGRNIGT2/v8fgIpfAMn5hB0i8P/8fyCAKyWsHKiUUgAAViFnalMQC9wAAAAASUVORK5CYII=",wind_set5White_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_1},Symbol.toStringTag,{value:"Module"})),wind_set5White_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXElEQVR4AWMYSPBfmHilTv+//c8nXunH/2bEKzUfVYpPicH/BKJN/d/w/wBY6Q+IUoKKgUr/ACFQKWHFF8BKXUA8worP///3v+y/w38DYhQjgABh5fYQCFQ62AEAW6F5Bnq7f3QAAAAASUVORK5CYII=",wind_set5White_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_10},Symbol.toStringTag,{value:"Module"})),wind_set5White_100="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAqklEQVR4Ac3StVXFUBwH4HcYAGmQPg3OAowAA2AVUj42gIoOHwCZBatZAXd3eB9+y/xzqPjFk+96Sv8qxgFc6orwJJgxoaw2xtxhJIAJZ1+8vxD+OGcuvYVcl/LXNbObeJy/8Iq5onxMhUK16/Xs0FHqTEB3ZbYSD2kTznO5Hl/0426IgFv8oh+xSsBVqfm524fE1/N63kbKtil10d+9Z9mAhlIU3VpCFOUdc6fMF0R1fsEAAAAASUVORK5CYII=",wind_set5White_100$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_100},Symbol.toStringTag,{value:"Module"})),wind_set5White_101="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArElEQVR4Ac2QpUKFMRhAh+Y16l9w7bwACTKZd4CHQN8EKk7H4bbrFy1owTn87vJFznw727dNpYOBoWQwwbOZJqSqiVkbEnWda1455QydLx9watYNntGmvpEr22fZstVHS+59xr2SwgGN/y8zxVooXfOYJy8R5StP7kL7qY8jmpLbdrPAKyXBA5mhgkmhzDDbmAhkJnnHRnryllS2YVp4Z/835iW/4UMPc8yqBH9ga8eyqfWMAQAAAABJRU5ErkJggg==",wind_set5White_101$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_101},Symbol.toStringTag,{value:"Module"})),wind_set5White_102="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsUlEQVR4Ad3OJVjEQRBA8UESlYhDopHxTqZ/H+4Qif+GQ6dHvONW4ayc9XLWTt/5zSnbsLdxf7Oz8r+iFyt3HrhiyIwvueeJGGCJOdpwAbBVfTGLi8469ASYrMXgUZ6hT2SoCIo1lpVn6B2wK5kI1sHKlVaVauIGixFaS9zLaxXVOAcgwg3rDLIJwL7UjyW0JJ/AszSKAZQ6G3xAw2+kGqdGqjFtpBrtvBupxhTb8mOlAe2zyaSqqldFAAAAAElFTkSuQmCC",wind_set5White_102$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_102},Symbol.toStringTag,{value:"Module"})),wind_set5White_103="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4AWMYyuAPI4z1n+c/E16l/9n/L4Uo/y/1/9//SvyKy////x8HZikAWQ34lEr8/wRU8uw/DzGK5/2HgDaCiv+bAF0JAT/+K6IrBvMToJy/jP+P/keAtZgm/08AikyAMH3+30GBxUCpBf8dUGAHSAykuP4/scCB4b/2/wJkCDR5zf8ONLFlQKXzcXoaw839xCk1AIcGBhgFAMfO0JwSKRcCAAAAAElFTkSuQmCC",wind_set5White_103$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_103},Symbol.toStringTag,{value:"Module"})),wind_set5White_104="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsElEQVR4Ab3MJVAGARRFYSzh7taHvEQkUpCE901YRCvaC9orBW9ELOPWcLfDzO7+uq7ntTff3ISgIo0m5tglxQglIzDCDl8ArBrRctZ5J9KAEW4DTqJ4jfQVGNLmYhS/lT61PPJGkRlfCdPGaKHNe01pFO+wQMP8l3cLVOIL0npBgrXoB46sczHCyabaMmeCHWvr9xRYwBIflPiUhC3yHwuYfeCMS7CC6xlXriXB9/4BrGvK1fY8N00AAAAASUVORK5CYII=",wind_set5White_104$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_104},Symbol.toStringTag,{value:"Module"})),wind_set5White_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAUklEQVR4AWOgEIyC/wn///8XIF5pAnFKC4FKO/47EIRcIFOJBQEM/wX+XwAy1v2fDISV/wtwwvz/EgwMIOXn/3/4b0CMk+HKEXzCyu1pGDOjAAB9s3w9adHgEAAAAABJRU5ErkJggg==",wind_set5White_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_11},Symbol.toStringTag,{value:"Module"})),wind_set5White_12="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAX0lEQVR4AWMYVOB/wv+D/4/8PwCEG/4rEFLc8P///1//J/6vB0IBwoofAJW/+69CjDMagA5IhSsnrBhIpv7/9/8JUDlBD04A09H//4KVEwYDrHxU+Xzik6/1f/5BlZ8Alil1Z+Kag7QAAAAASUVORK5CYII=",wind_set5White_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_12},Symbol.toStringTag,{value:"Module"})),wind_set5White_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABv43/A9gIA78X/AfBBKIUZoAVPjt/x8gGUCEUiB+AYTz/3/4b4Bf8QSQ9SDFQLL/fwNBh8AUE+vFa/8vE6/4wv8LlCseVTyq+Oz/08Qr5vzPiU0cANMDZ5PxiheLAAAAAElFTkSuQmCC",wind_set5White_13$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_13},Symbol.toStringTag,{value:"Module"})),wind_set5White_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVQoz8XRIa+BcRjG4f/ZOIWZIqmSDyCaDyCcottMNZpkoiiK5iOYJL3hbKJ+0qkCSTjhPbs09X0Sd7722549Kb18eobWMpl6EZ2Cb9CL1c+4G0boHAeZZTFtyd3UbGVFtOTkXzclX4VlC6xih3Xkzj4jtOLHn3asu8EkRvs45h8R2nBx1Yx19xjE6Bi7GG25+1WL0OfPIngU/llKqmbK6U17ADGkd2nrXp+MAAAAAElFTkSuQmCC",wind_set5White_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_14},Symbol.toStringTag,{value:"Module"})),wind_set5White_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAATUlEQVR4AWOgGRgF/xX+//+fQLzy+XDl/1n+CxCES6HK/9f8JxYYMPy3/T8BD5z+fzUQHgAqnU+cmxP+fyBWqQHcVMIA6D17isN/FAAA3SV5VCiNzrwAAAAASUVORK5CYII=",wind_set5White_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_15},Symbol.toStringTag,{value:"Module"})),wind_set5White_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWOgNfjL+J+ZaMX/F/w/8Z+fWMUt////P0m88g6qKx9V/r/gvwLRyoF0AmHT+4HK7v7nB5INQC5xyolS/N8BCNcClRJW/D/gPwIUEBsuBv/tGQYXAAAv63eIsb0xtgAAAABJRU5ErkJggg==",wind_set5White_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_16},Symbol.toStringTag,{value:"Module"})),wind_set5White_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAbklEQVR4AWPABP/l//v8Z2IgDvzv////vzyxiicAFSvQTPHC/wvAUIcYxe//Q4AHxc6gv+JRxdNJUbyGKMX/A/5/+G8AUfw/4f8B/IoF/p8HKt8FVFwCxPOBQgSV/wAqhColrPwiTClxyu2xywAAbGKKAKZgj0QAAAAASUVORK5CYII=",wind_set5White_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_17},Symbol.toStringTag,{value:"Module"})),wind_set5White_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfElEQVR4AWMYSPCfi3ilHf9f/5chVun//yf/8xCvlJ9YpVf/KxOr9Pz/X/8v/xcl0gH/K4A0TDlht4KV9xLtrf/e/7nID4H/Cf8ViA4soJIGINkPU0pIcQFY6S2QUsKK1wLxXeJiCwSeQJQSVowAGwgrNvhvD4UCDIMdAACHf4kD8gFYAwAAAABJRU5ErkJggg==",wind_set5White_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_18},Symbol.toStringTag,{value:"Module"})),wind_set5White_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAZ0lEQVR4AWPABKPgv8B/BWKVGvz/8H8D8UrP/xcgTumn/7f/V/4vIADjQYoP/CcOvIc54uZ/WyCNDSb9f/o/AcxShznk/f8L2N38PwBoZgCMh1A+gaBiRDgTNplwWEkAXSyBTWYUAABMXI7DEHFDmQAAAABJRU5ErkJggg==",wind_set5White_19$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_19},Symbol.toStringTag,{value:"Module"})),wind_set5White_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXElEQVR4AWMYSPBfmHilTv+//c8nXunH/2bEKzUfVYpPicH/BKJN/d/w/wBY6Q+IUoKKgUr/ACFQKWHFF8BKXUA8worP///3v+y/w38DYhQjgABh5fYQCFQ62AEAW6F5Bnq7f3QAAAAASUVORK5CYII=",wind_set5White_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_2},Symbol.toStringTag,{value:"Module"})),wind_set5White_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAg0lEQVR4AeXOtQHCUBSFYbyFEViAkgEYACvTZRMyAhUtvgAL4ENgE9Dh/kdrDh127vP3RUIfFUyGTBl4lVbYAq7UqDiV0njFgy0ZAQM8wHD4QXMPO6PBjbXkmFjeXOAScJ3/4uWXOQl6zAm4ptCliOY0PBoN/r37HOeoOtQLWZKhT4oNvTOJICcZHYYAAAAASUVORK5CYII=",wind_set5White_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_20},Symbol.toStringTag,{value:"Module"})),wind_set5White_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAZ0lEQVR4AWPABv4n/J+AKYpLKQgsJFbpKyD+8H8BIaUBQGXz/68BkrZAPIGQ4nogCVIsALRjPUGHwBQT68UJg0bxqOL/mv8dwHAOMYoP/IeAE8QodvmfAIaLB0dodAMV8xKrmAW7UgBm0orjHQL8TwAAAABJRU5ErkJggg==",wind_set5White_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_21},Symbol.toStringTag,{value:"Module"})),wind_set5White_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAf0lEQVR4AdXMsR0BMBSEcT0wggHADGqDKLW6lGktYA4VAFRqMIGa9nNAA67kXpK8JP9fEj8fGoRbVb7RPD3VEoXg/d4WPQibdM3YwETRHVn6wgZdkFUn7FGFCjmTvgh1qi5Nseco/p1eSPHKDfrgM4teeMun0adNmwrX6Ij+R04GV4l4McAvrgAAAABJRU5ErkJggg==",wind_set5White_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_22},Symbol.toStringTag,{value:"Module"})),wind_set5White_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABkbB//z/bcQrPvD/AQ4Zh/8CxCt+//8CTDlhxQZw5f9V/xeA4br/O4EkOqz8PwUI1///D1b+P/c/sSCA4T/3fwOCsA6oNIG4cGogXqkCWCllYBQAAFODibb2K2nZAAAAAElFTkSuQmCC",wind_set5White_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_23},Symbol.toStringTag,{value:"Module"})),wind_set5White_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAe0lEQVR4AWMYVOB/7n8VKCv6/9X/kviUyv3/9f8JUDlI6d//d0CK8Sn3AyvPAiuVAYkQVv7y/1GEUmJMV8GtYlT5f4P//4lR/vv/5/8q/x0gigkr//v/6/9ouGLCyoHO+f9fgZDChP8HgPDyfxBwIKTY4X89HAoMqvwEAHaZhkgRz6mOAAAAAElFTkSuQmCC",wind_set5White_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_24},Symbol.toStringTag,{value:"Module"})),wind_set5White_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAaElEQVR4AWMgG/xX/f/r/9v/D5CgLW7Fev//AxUcQIKmuBUrABU3oIqRp3hU8ajiBcQoLPhvAFP8P+C/AX7F+/9/+O8FUvw/AUgG4Fcs8P/8/2tAZReAOAEkQkj5RaBCJKWETS/ALQ8AZWqSWVcw3V0AAAAASUVORK5CYII=",wind_set5White_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_25},Symbol.toStringTag,{value:"Module"})),wind_set5White_26="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfUlEQVR4Ad3KFwACUByE8SzNm05Z2HR3aS+XnHNOc8hdw7y9x9f+6732uHv7/TyfCWWarjTFFii60RljekDehQ6JEaB74pqezsYlNQ45TY3TVtSCD6+mlnsoA6KKWoDEga6ZnqjEdTaHZjRNAFujGgMtGocmFI7QsRr+n+wBxVSU1Rsy5lYAAAAASUVORK5CYII=",wind_set5White_26$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_26},Symbol.toStringTag,{value:"Module"})),wind_set5White_27="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXklEQVR4AWMYyuC/A/FKF/x/T5xCAZDS/wbEKb34/9v/7v8FeGH9//X/TRmADGJBG8js+UBGyn8DvLAQqCaEgQGi/AN+N/8PACoOADJgyolQjABDQbELULErssgoAAAGmZT+bqXEvAAAAABJRU5ErkJggg==",wind_set5White_27$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_27},Symbol.toStringTag,{value:"Module"})),wind_set5White_28="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAbklEQVR4AWMgC/xX+N8AhwqEFDv8////9/8T//cDYQBhxSDw7r8KhE9YcSpcOWHFQBKk/DlQOWHFYDr6/9//T4hyDLWVjyp/+t+SKMXQWP3zn40Ypfz/TwIVbyJeaQX9lSIUz0YoJaxY5n80qggAT+mVAPkRjiAAAAAASUVORK5CYII=",wind_set5White_28$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_28},Symbol.toStringTag,{value:"Module"})),wind_set5White_29="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAcElEQVR4AWPABf4b/BdAFcGn9P//CxDlhJV+ACr+BVFOWOn8/9//X/l/n6Dy/w/+zweS34EKDf6//99A0CEQxUBSgDh3v/p/AplPyDEHRhWPKoZKC/5XQIJP/h/Bp3j9f1TwDp9i//8NSHDz/y50FQCcjYrX6XUJFAAAAABJRU5ErkJggg==",wind_set5White_29$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_29},Symbol.toStringTag,{value:"Module"})),wind_set5White_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAUklEQVR4AWOgEIyC/wn///8XIF5pAnFKC4FKO/47EIRcIFOJBQEM/wX+XwAy1v2fDISV/wtwwvz/EgwMIOXn/3/4b0CMk+HKEXzCyu1pGDOjAAB9s3w9adHgEAAAAABJRU5ErkJggg==",wind_set5White_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_3},Symbol.toStringTag,{value:"Module"})),wind_set5White_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgklEQVR4Ad3KsQGBQQxHcUBrBRsAoAG0drABoLeMPUygtQZogOfffdclUHnN5ZJf7F8jR8dGBaJWHt5mydODFQPuXNk6MHVEqbMRNumBM3VNwjY9iCpGFJw0zE/JMiXpoYoJsBY3qSIpGvCQGjykFm+G1OJXgwZ8x5NhzBcZyrHf9QJnMZmGOPLT1AAAAABJRU5ErkJggg==",wind_set5White_30$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_30},Symbol.toStringTag,{value:"Module"})),wind_set5White_31="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWMY9uA/y38+4hXX/P//X5pYxQ1AxQqDXvF/A6D8AqJN/p8AV/6/B8iM+O+AF3ZAlf8/8J9Y4MDw3/X/zP/J/xPwwjlApf1wdxF0cwJxSg3ASkcGAAC+5JZBDwvHzQAAAABJRU5ErkJggg==",wind_set5White_31$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_31},Symbol.toStringTag,{value:"Module"})),wind_set5White_32="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfklEQVQoz+XMoQ3CABBA0SuimhFYgKQbVGMwDMIIJWEIHAvgmKAoZKdAYbCQlIcgCFQPDIKvX37EW2YWkcvczSlPz6a/o2t9kkY4olWm8H1ki32SK2w+4P2/chPjNNda5e6dMoEj+sIOnUMCR3jy6yBWuXg1fFarLTUaVXzTA/dRoBMjR903AAAAAElFTkSuQmCC",wind_set5White_32$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_32},Symbol.toStringTag,{value:"Module"})),wind_set5White_33="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgElEQVR4AWNABf+N/6v/V0CCTAg5TKXowA+3YnWg9IH/DUhQGbdiBaDiBlQx/Iq3/y8AQ0HCihHAgBjF0/8bgCErRIxyN1OueFRxBymKFxCjcMP/BJji/xP+B+BXPAGoMAKkGAjfE05G8/9/Aip+AVNKSPkCoOKPMKWElffjcy0AfYGqJSBohgYAAAAASUVORK5CYII=",wind_set5White_33$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_33},Symbol.toStringTag,{value:"Module"})),wind_set5White_34="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAl0lEQVR4AWMYGPB/w/8z/xiJU1rxHwRmQpQTVnrl/w4gOf0/I2GlD/+L/mf7vwmiHL/SD0CcCWTDleNWevm/BhAjK5+IW6kokCUKpF/95wIrX/u/CadSKE/kvyKEhddU3EoMCCpFAKASB2SlBBX/bwCFK2GlAkBli4D4HVApIQA09T9MKbGKj/4/AIQJhJ1RD4cGDMMOAADjLqlfu8kPcAAAAABJRU5ErkJggg==",wind_set5White_34$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_34},Symbol.toStringTag,{value:"Module"})),wind_set5White_35="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgUlEQVR4AWMYyuB/wX8FYpUu+P+eKMX/Bf5vACo1IE7phf///1/+fwQI9wO1YYeb/j/9P43hv8L/90DFf/7/BsIf/z9gwO9g0Y9ANcdAZhsAlS/AafOB/w9A9gMVTwByEcoJK4YqB7rXgJBiwgGQ878BrpgYQFPF7P93/U9EFhkFACnSl2xahBP3AAAAAElFTkSuQmCC",wind_set5White_35$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_35},Symbol.toStringTag,{value:"Module"})),wind_set5White_36="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAg0lEQVR4AWMgE/zf8P/g/wNgmEBYMQgc+V8PhAHEKH4NxA0QHmHF3v+fwJQTVuzwnx+svIKw4vv/DYAk//+TUOWEwUhTfoFo5f9V/j/7/4O4cFcBRtCv/xFgxywjpPggUKkfkJb9/wWoPAS/YqX/TnBvLiEhROivFKE4FKaUOOU6qHwADQSeMIEQun4AAAAASUVORK5CYII=",wind_set5White_36$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_36},Symbol.toStringTag,{value:"Module"})),wind_set5White_37="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAeklEQVR4AWPABf4L/DdAFcGn9ML///8TiFO8AKj0H0Q5YaXv/68HKt1IUPn/BKBSg/9T/v8HkvP/fyDCISDFxHuxiRTFBYNG8aji/0L/z/+/AIRPyVJMuTP+M/1XQEBwQjLCrdjmPzoIxa1Y9H/9/wY4nPZ/3395VBUATICmiVlJt/IAAAAASUVORK5CYII=",wind_set5White_37$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_37},Symbol.toStringTag,{value:"Module"})),wind_set5White_38="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4Ad3Ot5nCMABAYV1svQIbkNFHQ25ZgIoNyKFkCUbwHi7JFWENUgMHPDJ0cqzuNVb4JVn81/CRMkcB3nWs8CQNTub4FjkO7JlgjpE3KjFMMZIVW6QQN2xKV8jbuEjAClWkpmhU+LqNChhoylspA/qVUwX6aIof4Av9xdvA7E3NeJf9m6p5/H2rOX/fasoXnMgLa/FLWHjXGWZTqGvafIaZAAAAAElFTkSuQmCC",wind_set5White_38$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_38},Symbol.toStringTag,{value:"Module"})),wind_set5White_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAeElEQVR4AeXKNwFCMRhFYYoAykiX8K9sGMADUiIhO1UAApjAQlTAGBwcen29Uc8d75f7+WjTpxgWK6CTJaZFPTw2GNe/TI9yWNzBYiiHwfuQK2cEaBQb1ijHNLP9FnDkLAmb5KjSpROwOVsGuTAxwyLhqLDa0/9oB/kmq4CVsQoiAAAAAElFTkSuQmCC",wind_set5White_39$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_39},Symbol.toStringTag,{value:"Module"})),wind_set5White_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAX0lEQVR4AWMYVOB/wv+D/4/8PwCEG/4rEFLc8P///1//J/6vB0IBwoofAJW/+69CjDMagA5IhSsnrBhIpv7/9/8JUDlBD04A09H//4KVEwYDrHxU+Xzik6/1f/5BlZ8Alil1Z+Kag7QAAAAASUVORK5CYII=",wind_set5White_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_4},Symbol.toStringTag,{value:"Module"})),wind_set5White_40="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAj0lEQVQoz+XOsQ1BARSF4ZvoNF6nkWgVCht4vZjAIjZAaQM7aOX1RiBMoNJK+BQIFTei89dfTk7ES1oq3cikZedsmKejH9P2g6p9oh0nF6MIdZXFe9x0xFhdhcmn7YY1NphmXt/4KnLd+fjPuEKZ47MIJZn1LeYpHKFhj2VmuVAaOJDBC8+KzJGevr5efNcVuv+le43gK8sAAAAASUVORK5CYII=",wind_set5White_40$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_40},Symbol.toStringTag,{value:"Module"})),wind_set5White_41="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAjElEQVR4Ae3OtRUCQRjE8cXyLWFLoBEKoQ0qICQkxgvAKkALuMtw9+jPF57iEDHz3kS/FeUNRRpkHU2p8HDEndwtPGCIdjRxC/foqUfDhgu2o5lbeMaOtqPp97/xxz/FFtYjzGBkx4xlNeY2zmMLEizbo3Yba7qCZtIeK7RS93kFhCZvOQd/gDp46Aeurj+nADTd3hAAAAAASUVORK5CYII=",wind_set5White_41$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_41},Symbol.toStringTag,{value:"Module"})),wind_set5White_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAo0lEQVR4AeXONUIDQQBA0aDXwK3G3aHDO46CH4YWh5qKEucASI1LQuSvu0uX3+zIm5nNpBi1rISlVdwA6+HoLvBHkdXgH3gAjujgJYBTxT6QZ0gcN/ty9Qcu+OWDXl+u0iNqmcDM/32oPDN4I7O+1MS7Am418S/mjek2C05qRI15ci7yKs4M6pOId2R6JdKguOE5gBoB8MQUY9QH4ze0DjLlnABDlbkskwv3cAAAAABJRU5ErkJggg==",wind_set5White_42$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_42},Symbol.toStringTag,{value:"Module"})),wind_set5White_43="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAhUlEQVR4Ae2KIQIBYRBGB+5A3KqtCDgCgOomu1H8TwBJdYQ9EQDxAQCYBHhfmJlvnnwuGLpatQXUdGqbEVXsq4lSIr6ccXL4BYOWuGAzZE6H5jJ13LMYwFtOD4iIrPQ+LbkKFuAupwtYIjvdKOR9aavlFS+QneV0NHKQDOHlDC1n8PjzZwETLroUpsM8agAAAABJRU5ErkJggg==",wind_set5White_43$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_43},Symbol.toStringTag,{value:"Module"})),wind_set5White_44="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmElEQVR4AWOAgf8C/x2g0ICBEPjf8B8BHIhT3P/fnjiTP/y/BlIO4hFWfOA/F1h5B1GKgSTX/1NEKP8vAHIrWPk+sHLCYJgo306scrn/X4DK5xKjVPT/ZaDSmzDHEFaaCXTMASB9mAilQBbb/61A1nnilG4Csqb/Y8St2P//P2Sl/xnxu1gB01T8GlYglBJWnPa/F6iUXAAAcv24Ta5+UPkAAAAASUVORK5CYII=",wind_set5White_44$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_44},Symbol.toStringTag,{value:"Module"})),wind_set5White_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAdUlEQVR4AWOgCvi/4P///wnEK/0HUU5Y6fv/HUClHQSV/3cAKjUAKQSyJgBJAYKmQxQT68EsUhQnDALFo4r/y/w/+/8CHD7Cm4j+y/0/j6Y4iWJnIMxWgMMSoGJH3Ep1/qODPNyK+f/X/W+Aw0n/D/zXQ1UBAPNUrgJjPjzKAAAAAElFTkSuQmCC",wind_set5White_45$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_45},Symbol.toStringTag,{value:"Module"})),wind_set5White_46="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnklEQVR4AWMY0eB/wH8EcCCs3B4I+2CKCStPBSp8h1BMWKkKEYr/R///+//lfxUgC1nxf57/TFiVPgEqBbHr/wvAhLn/3/m/9D8zNqWY1jEBlf4HKSeg9L/M/1ggyQxTjt/U2UBFFcjKEUoxFfP/P4mi/ChCKSHlR4GsTxClBJSDHABU6gwSI6z8H8wBhJV//P/nvzqxCVL8vw4V0zcAqMO32OVFTGIAAAAASUVORK5CYII=",wind_set5White_46$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_46},Symbol.toStringTag,{value:"Module"})),wind_set5White_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAdElEQVR4AWNABqPgf+D/c//lgfSU/6sJKy74//+/AZA+8P/BIFb8X+D/h/8JRJv8PwGoIoFoZ/xvgCr/v+o/scCB4X/W/9v/V/xf8P/U/wtAEh2u+b8dCE8ClZ7/L0BMtBn8/0CsUgWg0vWElCKCzn4oJ2cAbICkD0t5txIAAAAASUVORK5CYII=",wind_set5White_47$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_47},Symbol.toStringTag,{value:"Module"})),wind_set5White_48="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4AeXQJXADURRA0T+zXra2XFcbFfYBHfATPyG1XkaHvIpXibfrVZiZ4S6ocl9re589H9Xb8KApWaSAvJwaXP2KEqSAJqUbhlx/TUvv6MvX9Bk44BJQh2c40CIpoA4Pc+TCxKKS0C3c51HJIsyB1j/j3AK3kn9f8ogf8Et2P7MmjoNl/CDARGlYY4AE+9GpUremxq36SyaxvbW5esLclAAAAABJRU5ErkJggg==",wind_set5White_48$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_48},Symbol.toStringTag,{value:"Module"})),wind_set5White_49="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVR4Ad3OJQxCURjF8Yv129PtiUqjb/SNRKX3Qg9EIhnvw3rhWUMb7p4ODs89cf7bl35PiHooooGsrAQxHk5QLmeGBYigsiJmmANH7A5bXDGSlTHDc+zRlpX27Tc4CIg/i9nBPbxnB0tIPUvawLJ//ks8xNAOY2D3O8HkfimYOc5jdEd3fL8cauaYogMO83sc1qCEWPMKcKdREybnMmqDG/7ADUTCuXWRIN3oAAAAAElFTkSuQmCC",wind_set5White_49$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_49},Symbol.toStringTag,{value:"Module"})),wind_set5White_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAXUlEQVR4AWPABv43/A9gIA78X/AfBBKIUZoAVPjt/x8gGUCEUiB+AYTz/3/4b4Bf8QSQ9SDFQLL/fwNBh8AUE+vFa/8vE6/4wv8LlCseVTyq+Oz/08Qr5vzPiU0cANMDZ5PxiheLAAAAAElFTkSuQmCC",wind_set5White_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_5},Symbol.toStringTag,{value:"Module"})),wind_set5White_50="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAt0lEQVR4AeXOtV0EQRhA8Q/t4CK8AErACsAhOlIawBMkI8JroAFogBJw9wx3l8f+1t3uMl6yI/+ZWcljdFMal44BaxTFoVl+eAYWIzkL/HJIDUuRnCwAkyKURnD1B07YBUYiuEoPKSfDhoN3+tNzLmkRcfCenwL/W5u44hOL94f8gAi1Kq/X+bRF2phwUCWVL5NRRyVixQQrIvTyq1K/nFih8BhJVXxm0WgM73TTSGM0nsXoTv53f8RXxc2bVjsgAAAAAElFTkSuQmCC",wind_set5White_50$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_50},Symbol.toStringTag,{value:"Module"})),wind_set5White_51="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAj0lEQVR4AWMYIeB/wv///wWIV5pAvNK6/wY4oO9/dyBp8j/8vzjD/4D/xILZDP8F/p8HMtb9nwyElf8L4HD+/2P/S4D09/93gOQUoJpSBgaI8g//DdAcNwHiZaDMASDpAPEVXDkximHK7Qkrxh1Ggf9n/WdHU4wfkKr43f99QNKeOMX6/5WBJBtQOd+wT/UABN/HX45jd4UAAAAASUVORK5CYII=",wind_set5White_51$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_51},Symbol.toStringTag,{value:"Module"})),wind_set5White_52="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApklEQVR4AWMgE/x3gEFilCJAA3GKL//nh/AJK14LxHfBygkrBpLzoKYTVgympwOVnySs3B5Kd0CVEwJ0Ud5NtPL/osAwOQNVTlgpUGEm2DGP/8viUfqP8f8lkFKgJrb/t4Gs+3hN/5/7Pw2sdBNQ6TmCjoErnf6HEeyYz/95iFAKDca3MMWEle77z4XbXLn/HwkrRSgXx1SKX0MJQilhxWb/l6AqBQBmDczgJn1RqgAAAABJRU5ErkJggg==",wind_set5White_52$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_52},Symbol.toStringTag,{value:"Module"})),wind_set5White_53="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlklEQVR4Ad2OtQFCMQAFswAyQgbAxmAb6HAZgZIKRoARmAB3LXGpfvu+u0vFu3guQuwCiiTxFuTwwxRJryoAD7qgDvDkmLjqGKHPtTeOJC7oOMuUawSZa5PczD244Ei8BlNM/1JGAUWBpRdZzsGLnEZOYBbdn1HGVAODt5PccJDDfSMOqmGNhZPcgz6Mk5xHW8MQXaPBAuFxt3QXrZgkAAAAAElFTkSuQmCC",wind_set5White_53$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_53},Symbol.toStringTag,{value:"Module"})),wind_set5White_54="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuElEQVR4Ad3OJUAEYRBA4cHd6XjvjR7ojYhLhILTt23BXRJScacn3NpdPZd3h7O+CXt//f6Zkf8XU+y+PcUZN9LPADfAvjgXTWEV8LDnlp4zyq4zVV9oLgOmmHZqNXSbXBG6UT5JPZsUiVBNmCdqtVQXzcDZC2944XUWlGoyROjR8CNzWomfdTI/eTiFOasD0pgHDR/XUmveC8CuhlrwLFTAS5EF1PA7/QHWfB+41FJrnski5fIjJQAD3s7SmPNkhgAAAABJRU5ErkJggg==",wind_set5White_54$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_54},Symbol.toStringTag,{value:"Module"})),wind_set5White_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAh0lEQVR4AeXKtYECURiF0S1hNiOcDpCSaGDogGmAGMqBCPcC0AR3l48fd4fVe5+/8/HngwUHn7Jb0a5jG2CS3U36nRgDRbRbsQroB0LHdDuOUhdxI1Y2HBcQElqjJ6uHJD7Z142RluZhwXEypSnHISNZD9umJ+0zoSb4elCIvZxKULEL/R+ZASxvuLDwGhc9AAAAAElFTkSuQmCC",wind_set5White_55$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_55},Symbol.toStringTag,{value:"Module"})),wind_set5White_56="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuUlEQVR4Ac3QJVBEURSA4YO7Qw+8SEYy/VXc+wx9sEhDeqXP0J81NJFxNq6np//u4s6BxJ+/e869V95GDc2ii3r2OaNOS2HvF5QaEZbo09JNYPdr2or7hh7S8TU+BTwNLccoBQLMF/rtB2JwR/xMpygy9B0fICJh/J7G3NEv38UIKQJW76nxnXy5TID9QjXcFPlnnA3mNTxiQgSXbc30DAkTuLgiWn6hwCyzwS4B/IjpxMHhEoBt+UslDevJxh6HyTwAAAAASUVORK5CYII=",wind_set5White_56$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_56},Symbol.toStringTag,{value:"Module"})),wind_set5White_57="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApklEQVR4Ae3OJUJEUQBG4Yu7VNqlksgkFsAecC24ayRRcGcJ00dXMFoGl8QuDv7c34ucv35XhD7q6aETqaxD2McJxlrs8Rpww46yDars8QDQK7zFInDAjLIpKu3xOcZa7fE4MEK3si4hIvrzLpAnoyxBnT3eA955UXZLQwTf+MdKSDLIH0w7MaSwj3Zy5JkC+siTo92WKvwNeHChCi8BBVeq8G17+gGmPdYIOOgfBgAAAABJRU5ErkJggg==",wind_set5White_57$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_57},Symbol.toStringTag,{value:"Module"})),wind_set5White_58="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAu0lEQVR4Ad3QJVAAQQBAUdyt4tqHhLtnKj2QoBfolR6vD+7uRCLuEHGHz7lbwtblrUb8TCCJfQbC0TjGgU+6gmkK08AQZ3wEcOI4AiaIpiSAi3QIeOeGcrHnx0lhFxBo4dHCO912XQHuyBfbTSa+TYf7BbaAPXIM7n1XgWi6LfzKh0o9E6+mxUANYKcmnmXdsRdEumClKn+h2or7QabrInV8o1jYsYVaght+ZpEFMRYE4VL61NhDRsQ/C1+di9n6iiswPAAAAABJRU5ErkJggg==",wind_set5White_58$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_58},Symbol.toStringTag,{value:"Module"})),wind_set5White_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAm0lEQVR4Ae2NtUFDURSGb0fLBugAbwMYBTZgBxagouVtgHRoPG08Xdy6uNuXE/dwO/S4/r/6ycIVh7qnJgWtY/Z5kFND79QLBHCKWniYqZ0cr5LDRCU+keFWcUgB6NIRbVKcaR2oSu7Qk1gC3IKNIefmGuMFcC7ZSnzEDzdKzc41j0fnFgzN47F8x+MzLJxKvuZO4h4vXC7u/2UARM3DDb+OdLYAAAAASUVORK5CYII=",wind_set5White_59$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_59},Symbol.toStringTag,{value:"Module"})),wind_set5White_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAApUlEQVQoz8XRIa+BcRjG4f/ZOIWZIqmSDyCaDyCcottMNZpkoiiK5iOYJL3hbKJ+0qkCSTjhPbs09X0Sd7722549Kb18eobWMpl6EZ2Cb9CL1c+4G0boHAeZZTFtyd3UbGVFtOTkXzclX4VlC6xih3Xkzj4jtOLHn3asu8EkRvs45h8R2nBx1Yx19xjE6Bi7GG25+1WL0OfPIngU/llKqmbK6U17ADGkd2nrXp+MAAAAAElFTkSuQmCC",wind_set5White_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_6},Symbol.toStringTag,{value:"Module"})),wind_set5White_60="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAtElEQVR4AWMgE/zf8P/g/wNgmEBYMQgc+V8PhAHEKH4NxA0QHmHF3v+fwJQTVuzwnx+svIKw4vv/DYAk//+TUOWEAZ2UbyRWue//v0DltcQodfr/7f+b/5eByquJUfr6vy7QMReByjcRoRTIUvn/7P8/PF7974hQCoygX/8jwF5dhl1xFopSPyBL9v8XoPIQ7Mo5EUrhgbgEt6tZ0ZRW4A+P3P8+CKXUjvT/oTClxCnXQeUDAI8byb8D7QZaAAAAAElFTkSuQmCC",wind_set5White_60$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_60},Symbol.toStringTag,{value:"Module"})),wind_set5White_61="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4AWPABf4H/A9gIA78N/j/8f///wnEKf3w/9f/vxDlhJXO/3/j/w8gSUj5/wn/+4EkUDGQnP9/A0GHwBQT68Vd/z8Rr3jD/w/DTPF/P6ACBHz+/yc+xRn/P8AgJLqp5gym/wJIcOv/j/gUV/xHBf/wKbb7PwEJ3v3/g2puVvmfgATP/f+KT3EdKW4W/e+ABCP/x6KrAABHZcDof98LnQAAAABJRU5ErkJggg==",wind_set5White_61$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_61},Symbol.toStringTag,{value:"Module"})),wind_set5White_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAsUlEQVR4Ad3MtVUFARRF0Zsi6dSAewHkaANYF7h0ghNDBXzrYMLfAR7hcBh3i7Dz1sv2uvp/8YBfrRyPMsk8T0Bd5WFwD7RSy6wxnaI3wJ51cUw317wyF6MmFpU4iGE6JYY8HqVrsmKFlZBuWGwowiM0FTMWifJFsikrGBJzEX7LZzadAMwox6ANnCsr1mL8FouyKasyvsgnsCGrMt5rPVzIqpw/AWuqEmfAiarGtH6oL6Ozy60UyGnfAAAAAElFTkSuQmCC",wind_set5White_62$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_62},Symbol.toStringTag,{value:"Module"})),wind_set5White_63="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVQoz93RsQ1BURTH4ZNI1C9ahavSXoWCygLMYAQjvBGUCsUbwAAqRvDG0LHBpxGFRNxKwu/ffsVJTsS/Z2ChE2FqEqFrqf8e10gRWucIGesS3H4Xq8xVpTi5ah/88xnyk9tho3ZxUdvioH5uo9E4oFWFo9Jy6JlKkrEsGZoZSS/bu1mV/bhxlctodiqkv98daPHWt6AomusAAAAASUVORK5CYII=",wind_set5White_63$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_63},Symbol.toStringTag,{value:"Module"})),wind_set5White_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAuUlEQVQoz53OMUoDARiE0QFB0MJdLLRJsLVQyA2yvXgCLxK0Fy0FD5DGC2gfbHMFMaVVKsFK0GdpFhL4yVc/hklWMjBzlkoG3v24rNOrxJ5hle6bWTrYTE96lLvN9NS33z6149b5OnzsE5MefcLj+u3GHIsefba76UrjA68FmiSGFrgu0JUzFZokDn3hJrUcmWNS5c3WXKur8ftER2X9DQ8lnGgs8FJZbnUuLKngqf/aypGRsbFRtusPGU3XP7j1MXsAAAAASUVORK5CYII=",wind_set5White_64$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_64},Symbol.toStringTag,{value:"Module"})),wind_set5White_65="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAqklEQVR4Aa3OJVpFURhG4Z3JJFwj0uiMgBngGSfvCSBDOiS03Xhd0nXHWTgc/Z9j66vvFmWNWeaZMG1AeccT1k4lXCOHNm1ZwjkM5TcqpNg1bUnCz1g7k3CJOxZNG4ztzx0aGKZtS7jPPTnTDmP7Ro4LJr427Acn+K7pB1+hv3asTMXw5wJX/nGTnB+mOf/FrKFlvALsfmLWgDUl94Ue6VipyH1QE99Vnr0Dg8/TNZEPPe4AAAAASUVORK5CYII=",wind_set5White_65$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_65},Symbol.toStringTag,{value:"Module"})),wind_set5White_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAz0lEQVR4Ad3QJUDGYBSGUdyt49LoSMQTVukJJ20NesE72uMiltZwq1jE+RUeLj7fEvZ+5cqZJvxMGOGComC0kSiwRb4/7eGBa2YB3YcLhSj1Uqk+nEYehMIyyT6cEYHX1As18wynu8aBWamSDVxBI9XpBW7YA1QTlzjRa2rJRzfxvi9SRoHhrsd0SG3kfWR94VXGPu/azSlRA1fekRELjROmVroqhNP2zjUrvmJeaJzm976KDapfqwz7H4CnL+oTAI5ZlTPhj4cYfT9dCf8uz69G5n8Ov5ImAAAAAElFTkSuQmCC",wind_set5White_66$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_66},Symbol.toStringTag,{value:"Module"})),wind_set5White_67="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAoklEQVR4AeWOJYICARSGp62UdbvALjRuAI2EpKk4JOQSWKbiEpFr4Haf+Xi4W2X/5/6UfwKccGlrBHBe1poHEph2SCUwsz5U0WZCvMtWLkVM4ZkBUCElFBFK0hKJiGYWw1h0ZvGotPdl4HnxlB2wz5+bxdBYZ1ftlzXP240XN6/BH1n+Lmxe4MrmHNrMatREWwHb8eYf9DOr40f0PQYelVvHBNnD4DsoyoD/AAAAAElFTkSuQmCC",wind_set5White_67$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_67},Symbol.toStringTag,{value:"Module"})),wind_set5White_68="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAxklEQVR4AZ3PtUEFQRDHYSJSEtxlUwogQkI8vwynAzI8pAK6oADcXUrA3Z8/fgzO+cB/7la/Pcn4Vyhn6LvKw3AdkGSVGal2DYYbTACy4W4lF4y0wjnFaLAEizRHqo/5M6efHSUXCgd0C7+gLph2vtMcGY0DcUwQbmLhnTYQ4UH1Me/0kmos4THqFVRGhhuQsdHQIxJMkOaYGm+8YqOtMuoGUmR64XyqbDSLNWDK/6tL7JSBoF/MY1tHv6OnEibVVHAxln3lFcC54tvbLSQUAAAAAElFTkSuQmCC",wind_set5White_68$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_68},Symbol.toStringTag,{value:"Module"})),wind_set5White_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAoUlEQVR4AWPADf47MBAL/i/4////AuKUFvyHgAWElSYAldUB8TIgnoBfqQJQScJ/AyBZANZmQNB0iGIQDeQQqRgOKFf8n/O/Ahi6EKM4HhpoT4lRrP2/AQzbqOnm/8X/G+BwBlBxJz7F//6jgnX4FEv9V4BDL6DiEqq5+dj/C3B4E6h4Lj7Fx9EUzyfDGZR78P9fUoKuBClS2v/v/x+EKg8AbS7ch9ji7bEAAAAASUVORK5CYII=",wind_set5White_69$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_69},Symbol.toStringTag,{value:"Module"})),wind_set5White_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAATUlEQVR4AWOgGRgF/xX+//+fQLzy+XDl/1n+CxCES6HK/9f8JxYYMPy3/T8BD5z+fzUQHgAqnU+cmxP+fyBWqQHcVMIA6D17isN/FAAA3SV5VCiNzrwAAAAASUVORK5CYII=",wind_set5White_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_7},Symbol.toStringTag,{value:"Module"})),wind_set5White_70="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA2ElEQVR4Ad3QtUFuMQCG4VzcGQF3d3dKHCqcCXApWYIe3QM63GUBOhrc4SX/QSK4VPc7FnliR/yvIZTSz1EqKqNf4SUMcv8BJo6Cl3Ilt1yzamGCmCDSKW1yTrlTynFoDrM2zuKafRcniQMXl+iIU3KEMDA++Mp3jcH3JD2SVIZOUhWeY4Fggzdx/EytMAwGb+ToDUowvbjL74jGb7jnRFGFe4AZnZPDmcQtyijsLqnOd5y95inxPh8DbswNvMfzOOKCrnehwa/VH/iM73FPtfha8CJD/F0eACuH54Uw9ndaAAAAAElFTkSuQmCC",wind_set5White_70$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_70},Symbol.toStringTag,{value:"Module"})),wind_set5White_71="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAq0lEQVR4AeWMJVREQRhGB3dJRKSX19GE90BBM9Jxj7hbx0n0Qz+Q6QX3uHe/dQXmNeTOzK/3jPkHUEyqYgb5RpBH1udqFdCmvIGHPOVbDj6X64AO5T3lYuUnTlzKlNBPha0cmPrBcSM/ckmx9c9hnQZgVstz5VblNy4UO7lmQDlwenjlSjr92DJqKGOTPjoYYoUOnXkmFWPPMB+c6efvweGJXWOHvSpwzC/GC6h/5co3fIboAAAAAElFTkSuQmCC",wind_set5White_71$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_71},Symbol.toStringTag,{value:"Module"})),wind_set5White_72="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAz0lEQVR4AZ3OJVBFURRG4Y3dihe8D9YD7i69RyoJ7QFv0HFun8Eh4dID7pCww3pyyvO3h/XX74gERzO9oosOvrnW00dKREjU0xJu6NXSR75pik5HMUG0Q4RsaiPjfWADJ4ieYciNgP8SmfXxIAr94dLyBD839MSl9nYOAZfcONT2m8AM8GEpDi5zsfkOcInjpzAjEvszy4DLso+aBN1njhm3VMddHPFGEWlqzgZDutuPcOJjyxf8fFOBRYzlX3Ex5bxhQ3Ezld71MehdufwnD5Dv7IlvX2KgAAAAAElFTkSuQmCC",wind_set5White_72$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_72},Symbol.toStringTag,{value:"Module"})),wind_set5White_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmElEQVR4AdXRtQHCQBgF4JuFkiojMAK0VGxBiUvJCBkhI9DjTpkG9wrn4RB3fa/97v4Twg/iyCHGaZDIB2fwU1LCE3QR5jSghFmUidZghwUYTqNK+IAztpwmdR3DMnwCP0UlvMUUNKcRy44xxdB33z1GVTvegtXCGDS/GDQYZUxh80APDBobUISo8yvOypTLt4Aq5fAQkc0dZF/a4zFGOQQAAAAASUVORK5CYII=",wind_set5White_73$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_73},Symbol.toStringTag,{value:"Module"})),wind_set5White_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAy0lEQVR4Ad3PISDAQBSA4QcA4kVoAHSApEGTJb2sQQEFIAIkAFAAepmeAFBAmh/gdtsAkv/q997dyR9G7NfpNA7lX6MW4HBG9ud0HLCp5obTTzjtwC1pIpR9wrGAfcBGfcKZB3ZR1GHyhOCtsEKkCJqXYvlpF2AzCMwZ3B9DwAnKCaHf4LWaVJL39oAroEXEzY2vsUGDCA2ATRJrBp98YxrTABygRIh95XchdNLkxbADXLx+Q/OAQFODFwRh3Ybm1EhQ5FH8clLk33UPAdDvNedzc8sAAAAASUVORK5CYII=",wind_set5White_74$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_74},Symbol.toStringTag,{value:"Module"})),wind_set5White_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnklEQVR4AWMYIeB/wv//xCot+P//fwJxShcAlXb8d4BC9/95QOzwP+x/OpifCmRBREVAphIL2hj+C/y/AGQs/T8ZCAuAcC6QNxdInwLSBWCjLoNEIQ4FKT8P1CAAdVQAUDgA4jgQH8jbgBCFKydGMUy5PRGKEYDmiv2Awv5Aev7/f2D+v//rYKKYijn+G/znAtKS/zXBfI3/knDR4Q4A7rDt+yYrT/8AAAAASUVORK5CYII=",wind_set5White_75$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_75},Symbol.toStringTag,{value:"Module"})),wind_set5White_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAzUlEQVQokZ3QPQ4BARDF8RcSicJHszdwApFQbuhFdOIcQqvBNRQShcoJtCoJnUpBKxqKtfavICyxTMy0v0nmPemfwX1s9jd+zsyG9+Rsb0CPwMgBlwYBBwMHXIkGHtufnNqtBap4nKgYnpFw2Bij4rAChnjsKFhoR6LOBZ+8hSaYApfIqKTf6IgaHoePUcmwoB2icYkJcIyM+kIHwPpL73Rf6JwMVXx8Sp9DtsJUoknAmWJ0L/0Qje5EkoixNFJJIkXSSO8HZTOVcBi/0ysTG/Uhaasq6AAAAABJRU5ErkJggg==",wind_set5White_76$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_76},Symbol.toStringTag,{value:"Module"})),wind_set5White_77="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkUlEQVR4AWPABf4r/FdgIA78F/j/AQgNiFN64f///38hygkrPf//7v8fQJKQ8v8LgIoE/t8AKhYAsg4QMBlEghQzEAv+H/n/hXjFG/5/wCfN9V8BCe76/xGf4pr/qOAfPsVG/xsQEOjB71RzswGayd/IdDPh0PhENTdH/7+ABD/8/41PcQy64iEX3Uv/r0NXAQBDjuPUMb9iSQAAAABJRU5ErkJggg==",wind_set5White_77$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_77},Symbol.toStringTag,{value:"Module"})),wind_set5White_78="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA30lEQVR4Ad3PtUHFQADGcdy1xG0BaHB3HYSKKZjhMQDuDe7uVuHU0PFw/xPXS0fFl+T0d5KA/xoqyRRP5BJltMcxIqI5fLCocxKooIprD/wdiA8sPJgt4MCFaaPzO/DLwiW6AkxS7cZDgM/CY+lRaDCVNkyi9EVJQOI/Or8FiQdLM5l0mLSUd9pNLt08hAtgV6LOkMwVWHgXPcAaYU5YT6lUplr4EugXcOI7Xqg2OcEMADcCKqEC/Da+C/Sa1Jtn8AjMmNSb19IDnLh+S8i/xL8l4i38cCamIp4nXeDv8gvW2vxOELHzQAAAAABJRU5ErkJggg==",wind_set5White_78$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_78},Symbol.toStringTag,{value:"Module"})),wind_set5White_79="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAhElEQVR4AWNABqPgv+7/C/9dgXTF/9P/2YH0rv/tMFFMxQ7///9PANILgLQAkP7wfwNMdBApBotMIF5xApC9gAjFaMr/Z/8nFhQw/Lf6f/v/JqC5B/7f+L8QSF/+fxRIroGKLvu/HQj3/v8JFDcgJtoEgBF0HuhEYgBMKXGK7YFKhywAALZs4vRT15OvAAAAAElFTkSuQmCC",wind_set5White_79$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_79},Symbol.toStringTag,{value:"Module"})),wind_set5White_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAW0lEQVR4AWOgNfjL+J+ZaMX/F/w/8Z+fWMUt////P0m88g6qKx9V/r/gvwLRyoF0AmHT+4HK7v7nB5INQC5xyolS/N8BCNcClRJW/D/gPwIUEBsuBv/tGQYXAAAv63eIsb0xtgAAAABJRU5ErkJggg==",wind_set5White_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_8},Symbol.toStringTag,{value:"Module"})),wind_set5White_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAA20lEQVR4AZ3QJVBGQRSG4cUdEp0+uBbcCt7jrWRcep/BpSGVPlgl0v8+uDu8XHf/Tll5VoUztFEh4oVRvtiPT6+pSUSp4ZCKuPRabrcE02W+HXRUbpVT4o+/+UNy0EouOffHw9zxhuSgMB10kRqZ//FtozNyK58F36cywi+f9DroETAZtPs172QcdPUvK/gyn8CmRX9lGhgmeOaNwQjquMwPMv2RaWTo5Zdv+kS80ME1b/Sq7Qfqoy9zp/86dAcgB3/nl9Eo7OAxMN2cynUBcXA9y3LtciJXlUiTf11y8uZEdlwVAAAAAElFTkSuQmCC",wind_set5White_80$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_80},Symbol.toStringTag,{value:"Module"})),wind_set5White_81="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVR4AWNAB//j/8f952cgDvz/8P/c/1f/0/8zEasYBC78tydOMQys/q9AWDECfPqvR6zibf/ViTP5xn9PotwMxAX/WYkLjT3/RYkP5w1wzqjiL/+PEKNMAEz++H+DGMUHgMlSAKT4vwCQtQC/YoP/7/9vACq++/8CkGUAFCKo/N//5XClhJUjlBJWroA7dwAAzRqnOeZQvR0AAAAASUVORK5CYII=",wind_set5White_81$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_81},Symbol.toStringTag,{value:"Module"})),wind_set5White_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAkklEQVR4AWMYOPBfjnilmf///Y8iVun///f+XyJe6XcgKUusUhBIJE4pBCwjRikMvPrHiE/p5f91/w/8/wVXro9PqSiYzf3f638fkPf/fwkepWiiEv9NEJyA/w4oSvEBoOsagGQRTClBxWClb0BKCSveB1T6DqSUsOKDQKXfQS7/r0CMyTDwnrBigf/2QDOHCgAAmR+tZ2HY7AgAAAAASUVORK5CYII=",wind_set5White_82$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_82},Symbol.toStringTag,{value:"Module"})),wind_set5White_83="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAh0lEQVR4AWPABKPgf8L/A/8FiFX6//984pWW/FcgCDkY/gf8JxbEMfwX+H8eyFj/fz4QTvjfgATn/D+BAl0ZGCDKL2B67z/3/6dI5p75zwQUhCnH4ptYJMVWIBGYcntMxX8ZgZZDwHJiQsocrPTbfxniAnYRUHE9sXEr9f/af07ik4LgUE7IAMTKterSeZ3TAAAAAElFTkSuQmCC",wind_set5White_83$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_83},Symbol.toStringTag,{value:"Module"})),wind_set5White_84="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlklEQVR4Ac3MJXADURhF4X/qxdaWyRd9602ZVdDb+PU23ob9TMAmXsaF0UVuTjiteVDuufabKz8dDhfzOWZc4C3HBg9xOWfH5rnIAAgZ4BwXOJjyVzPOUBDhgCqekXPElYg1n/fveNOas0ufliUnDNacOFhyVujBO/6gw2cAS17Hr8OROfQo4XIqushRJsoNq2KOdfl6I2UPswMYIZrsAAAAAElFTkSuQmCC",wind_set5White_84$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_84},Symbol.toStringTag,{value:"Module"})),wind_set5White_85="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAfElEQVR4Ae3Qpx3CYBCG8aP5KDQjfBMwAFPE09kGFQZggMyAwjJFWIDfH4WhplgefW+7eI8ki3rIcZbVPVXrXI4CJ5XDr2OKCJSSyiZ+gzLCJOqAY9SFR9//sVTz2NjercaxkZ0r/Dw2c4EaxzYAXZzrd67/jXpIFqbxwh0Mq6idVxfFNwAAAABJRU5ErkJggg==",wind_set5White_85$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_85},Symbol.toStringTag,{value:"Module"})),wind_set5White_86="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAk0lEQVR4Ad3KJaJCQRhA4WlPd/AWwgaodBrsgEbEtSCNCNvAN4DLGsi4H/6Ew0xC3rnj91P/LarIRwvw6bELLyFGQFXp45s+MMBnSpNU8elpGaFyEmxCY0oii/Pw4+cePYscdeJY+dRRCQcAMKOAG8ttKvHHoQ29A70aPVMqkTalEjZTKvHLXEsPkTGlEt/Y1dPaAZtyqh9LaI7tAAAAAElFTkSuQmCC",wind_set5White_86$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_86},Symbol.toStringTag,{value:"Module"})),wind_set5White_87="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAgElEQVR4AWMYyuAPI9FK/7P/X0q08v/l////jyNOqcT/T0DFz/7zEKN43n8IaCOs1OT/P6jiH/8VMWQVgOIJUM5fxv9H/yPAWiyGJQDFJ0CYPv/voMD4/w4YsAOofAFIcf1/YoEDw3/t/wUE4TKg0vmE/I5wcz9xSg3AoYEBRgEAfUuxbCA4NksAAAAASUVORK5CYII=",wind_set5White_87$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_87},Symbol.toStringTag,{value:"Module"})),wind_set5White_88="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAjklEQVR4AWOgF/gv9j/q//z/8/Er4vrv/r/n/8X/EFCBT6nT/0P/kYExPsUTgQrOw5W+/c+ETzHz/6VIylchZAgrT0WIE1auCOQSqfzof2Ygh2jlSweh8v8K/wWIVv7/wP8G4kw/DqTBigkr3wZWfhChmLDyn3gVQ731Aajw4v9PQJIIZ8T/r4dCA9pnOgCy/rlNo0LJdQAAAABJRU5ErkJggg==",wind_set5White_88$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_88},Symbol.toStringTag,{value:"Module"})),wind_set5White_89="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAo0lEQVR4Ac3TJUCEMQDF8WEJWy84JKQXMr1DpNLpnZ5IuCUSDvGsnV8/d0n3P3fkRd63Lf3m+8xwOGCfeaOFDC5iHDKuYgAPuzoGuGZRx5BjS8WPbGgj+9jT1pzhiCntNJ5ZxWKZUbCTViIKfuWk+R0r+MEI+Ve4wJfCbLOt4FPwGx5sA2PxcPo73iHNQx2H8ZBmx5i/eZXzDhW4SBth8ee/owZa77icLm57wwAAAABJRU5ErkJggg==",wind_set5White_89$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_89},Symbol.toStringTag,{value:"Module"})),wind_set5White_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAVklEQVR4AWPABv5v/l/AQCz4////ArorHlU8qvgIMcoS/huAFV8AkgZANl7FE/5/ACoCKv5vAGRNIGT2/v8fgIpfAMn5hB0i8P/8fyCAKyWsHKiUUgAAViFnalMQC9wAAAAASUVORK5CYII=",wind_set5White_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_9},Symbol.toStringTag,{value:"Module"})),wind_set5White_90="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAq0lEQVQoz83QoQ6CYBSG4c+KQYubReYdWOySTWSbwWBlZmdyJC/Dy2BwCxIMbl6AcxrZDLwm0OCPp+kbz5594Ug/C99Ol5TMrBTOHOy0AAZ2CnM7hb2dwqVsNdEja1IeNR+56YmCWKLNlB05sHLRHJ8EiOtrn/GLhARvtCfhkQCLT3spG4moopKEx5aOAxMB14o2vSolAW4GKpEBBSEBQ8ty1f077jIxbP5LT8XPvusxvoBvAAAAAElFTkSuQmCC",wind_set5White_90$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_90},Symbol.toStringTag,{value:"Module"})),wind_set5White_91="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAlElEQVR4AWPABKPgf8L/A/8FiFX6//984pWW/FcgCDkY/gf8JxbEMfwX+H8eyFj/fz4QTvjfAIWr/h/9P+f/CRToysAAUX4B1Xv/FwAN4P7/FMncM/+ZgBIw5eiKgWQskmIrkDhMuT2m4r+MQMshYDm+EEqCSP83Byv99l+GuIBdBFRcT2zcSv2/9p+T+KQgOJQTMgChA8Q3pbP4gAAAAABJRU5ErkJggg==",wind_set5White_91$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_91},Symbol.toStringTag,{value:"Module"})),wind_set5White_92="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArklEQVQoz73OIU7CYRyA4R+BQnKzsvkPNOcV5DuBw+zmFQhewMEdgGMQzEC0EwxWhrNQ0CDCHgMBEt9X8M1PeCPOnMrYzMzYs5TDCcxNTXVK8MbOXclGwoPvIi4haVn7zXIVqggtC5uimYiz8xsfhVzDxMqygGuYYKjvM8uNMNzWvFpluaanbc2FHQU8IsK9fSXcgCP+4/IUfnfozeMpegW+vOi6zh239dyqx7/1B22mxQHHq39LAAAAAElFTkSuQmCC",wind_set5White_92$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_92},Symbol.toStringTag,{value:"Module"})),wind_set5White_93="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAl0lEQVR4AdXOITAAQRSA4S2gAVR9BnrSI00BXY/X0yUAQNMHAIB2erners+YDzYBXvVv/fa9l75Pp9EUS6cnTMcpjEVo5RD7mj+OUah02sKgTU3glIxTLKU4VvwfbE75/vYi+ETuLoI7dOo0YDV4swm1xwA27BL+xPoseSaA9auB6ORFebLozRdBnDOuDuGcdpPmtaZPvQDeFcX00CIq5AAAAABJRU5ErkJggg==",wind_set5White_93$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_93},Symbol.toStringTag,{value:"Module"})),wind_set5White_94="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArUlEQVR4AdXKJVQGURBAYbRCP7hXEgXthc5mMk7CoRd63Iz1g9MT/eD8ijtc1l0mIbe8eTNfyT+KRglyW0/HnfQzxJsIa7yVR744ZkFKFXYiMbXMUu7QMz4Z1qYYvAKolDtUMbajDLiki2prKkc1eIdLA7HKB0cs0kulwQtcxlAND2J3zxaTXMRSDVfx4fAC1w6N4YdiquFFMdVwj5hquIJTITX4tJgavLnk1/oGUArARNtj6q0AAAAASUVORK5CYII=",wind_set5White_94$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_94},Symbol.toStringTag,{value:"Module"})),wind_set5White_95="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnUlEQVR4Ae3KJUCDURhG4Q93yaQ/UpBe6AmpaC9Iwh16ICId6STcvQd0q3O3M3e7EXvecuXIT0aTqPKVcEm7qGEAOFZL69AD0Be5rTNRKF4l6o1qEd45kRT00Jy8aDiJm8qOeeYlkbNHko2WrLg5kmsiQit3advmkAPGYptiI7QtHJjpFLpQNSaU00Fnkc0DO6KCEWBB1GBkRLL8CwJUVsMen8hRAQAAAABJRU5ErkJggg==",wind_set5White_95$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_95},Symbol.toStringTag,{value:"Module"})),wind_set5White_96="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAArElEQVR4AWOgGPwX+s9MWBHHf6f/bf/P/H/+jxGfMqX/Jf93/v/2HwKW4lNq/f/5/yf/ESABn2IroJmfkZTL4HetE5Lya2ARFuKUTwLyMv+//K9KjHK//5lALXf+SxPjmDqQUpi7CSvfh1BKWPnH/+ZAJo2V/zf4H0Cc212ArIb/B4gx/ff/P/9dYIoJK/8DhCuIMVnhvwNY+UtiFD+ApSpiFAv8t4dCBQaaAwC/1sWjRnx5iAAAAABJRU5ErkJggg==",wind_set5White_96$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_96},Symbol.toStringTag,{value:"Module"})),wind_set5White_97="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAmklEQVR4Ac3RIQKBMRxA8UHUXADQvkO4wXcBOIEzaOqS7AJQQRNBgRNoQAF4AAD+mrf627Zt6jEC+JU0BtQoY8jwiDqwIolTivcNiWGX4n1tDCnuEVlbJHhGAofszBncsteoEFSyWO5482ZEf8Hhz8fIKUF/hScU5HhGV8Jy6DNGE/+Mo4DeY1KAqdR3vmIBp38T8D2Vhfn+AFveqL20TQsj2gAAAABJRU5ErkJggg==",wind_set5White_97$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_97},Symbol.toStringTag,{value:"Module"})),wind_set5White_98="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAtElEQVR4AdXOJXBDQRRA0XUFU/BT9mUyZVvmVtZ72ap60bB3sfE/Pl6EyU+YkxumzzK9696c3bfiX8QhQbbN0jRZPOZpkjrzZinAvXkKFj16PEqBgDb9pEEeNwWGLWt9IEuDKjdMc8EvPhrAl9Zf0zySpMJNb7bIMy9DssXWCD0Ugo0hl4XEzyhtJeMyzCEVqj06yg+U2EWFGley+QYOZuXYS0NONUOCXlFjfMY3p52zJSa/JtDOzIaZAJ3IAAAAAElFTkSuQmCC",wind_set5White_98$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_98},Symbol.toStringTag,{value:"Module"})),wind_set5White_99="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAQAAABuvaSwAAAAnElEQVR4Ae3OJUJFYQAF4XMjTsa2gMsSaBDxfeCsBNsIbgXPuCWc9/DBrnvE5tTvFwX7jypGKE5LL1lLT8fS0iteuf/cLZfm7nnh0reWD3wBHLL7vnWmzZ0BK2x71ip98XF5YhyoIIPTMflSkJtYYgSnHvfPh4OYXA5MuowhTwEs0W7iJikRvxjMA5NSCixRyzWl8biZPplRrR/cG/Dlv3E0Kf6tAAAAAElFTkSuQmCC",wind_set5White_99$1=Object.freeze(Object.defineProperty({__proto__:null,default:wind_set5White_99},Symbol.toStringTag,{value:"Module"}))});export default _o(); diff --git a/www/js/app.hash.json b/www/js/app.hash.json index 04affe6a..6a101a59 100644 --- a/www/js/app.hash.json +++ b/www/js/app.hash.json @@ -1 +1 @@ -{"index-8e6349ca.js":"RGROaVP1bbv/Vw4DzfjniJjyWugSsThJRZPlUo35IhabPR1GjCpIBZ6ZK9Ags53xfjyFCib58dSyHZjUbJEqUhgnO1FjnHbqkls10cqCXNHzCFu2bluPp6EkFVqBfPW087fpYBnHakEfkSIMj1XJZqlfebAKU49GuC+DYTHADpUldbfnUM1Q38dlEidw0TblzrYs5YIEbdOsBKUqlJs6mk8kcBjpxnOyE3cgFM4oRbk2WPJfc9mSelRxbCQ5cz43OE2cV1zNB8hW/AOckcAhqF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fqdf/3uMNREcanpQL4wiaP4jC6iSYRyKSsmYnaulaRrRoTo6P7V+xax8Ez1GILaSR7A==","../../lib/jarvis.converter.v3.js":"Zf37uuVygVWBKyXZ99zmvd9uaMYvV6PsXfZqrphyEj6zXxRLZ9sZECHj5jtW4bPuC66Oxb43tors+VXvZTGFy03mx9Bh1nWI+KH4zBWNdtxbB/hJ2/OIFY7vkfoE7UabQk8op7ZD6JCEInCe13efIBp1mH3kaR3r++z1/SQZjFm79MPhkW212jLdnIMkW719PnA8BpO/7H8WdSDY0UWOdHrfF9vrys/PUePelewZw3iZpgyASOPwnDOeG1iEY5qd6Wdb6S3ZASVpgPfNyDw4r/Y0/K0NyD+zmS2lMnNwM+QJWU5QzKhLbApnbDxOOr08ARzsJeCbBafAAPKMQRGaew==","../../lib/jarvis.proxy.js":"ZBpYe74KGYx3fL9RteU71kCCaa1x+4wUCGGgNh73JawtLuGYrualNfqfZ5K+LnaChjCsrz7Pga8BD/2hoU1bNVh80jswKcKHrR+omDq77VueRyGGfVeVReEe4DpmxeACumS7Nj+3whMNkFb3JF3kmkwFQNsIFWPcMxN2Jzya1RNAPordZ0N054jq7bVeUsB/qTExYyiYYCB1tUkLYpV1PFLGsX2tp25qnQx1HPaQV3ef4bHKDFggf6oAJhQYfgdcRPQdobqZZcIqVy2GLR9HHbvJsgI4D6hbOZFXKJLReyzMl2H6pfBIDOLHdJLp8g7Ifbk8qNMQ9Lcdm2zLkiJD1w==","../../lib/jarvis.server.adapters.js":"K93+5CubSr5+tty/gxDWaiKotgRSFdkKWqnRb9U5iiZIpFSh0ez+3vurSrX+R9EYIN70ilcQ0sO25rut1uxuJ39B+2OYKbTnnc3NtEXGpkY73n0TxjvjiH9IvZivNwUtBIUYhrSltnbSdc/pTMG2cjdGzoNryNis+8c8+WLhUX5eA0GUXYHbaVAhDRb7qCJme3QybLA5EBrfwbYpMcDO0iK/MfMFONIoBpb37FWSquZRge/39mswwmgg1K0r7gX91aLiPvZsp6S2E2H1QwNS6IhQtUzj4x6wBoRM/OGZTO5v/fjNc5Eug/0t/wDm5OF1UqGaXOjpTh9tFLZc+y4uZA==","../../lib/jarvis.server.backup.js":"GJmjyZZU3pq6Uxpu49IssgG1mSpVo8rME7U9CDW7NWXFH+YAP9K7dHgS/DVNHqGXT8f7OaK93IiRS/vHmZ5YZIo4PWU6clp+nGmkGU4s5LwlIZBv3Bg3AjmRM0BLFnBAwmRWYJ7B30azb21nN7KTQHDU3Ctdt8p5iKT7ie3RFy7+W3zJdlcmVQiR4GAW/CX4SeICisWPO9tT93ck9E2ixlaipI6XFH4/Lb35HsNLrtPBFy6j69kNppTFqBTbBx2ioVC4G8c/38Bp0NtuqFxYND1gbf1ihe/8MQSLHxDasYA5sjoYQgGAJfdXFIBx99S4kKtUjr9w/2gZ4ltdlA8PFQ==","../../lib/jarvis.server.calendars.js":"VIh9/MRdQuRpqe2hYSWU/DrJ19RXfbYB08EHoJNUO9I42s2/YQLOF0xXTz8BBfrxo32Kh9qoqfIBKGK3P/jGnY6UQly5ZpJ5btJRDv8Q/ILpd1iVw5pKz43fhYS59iiD/MsH5PpTIjFxzqQusgW4XtXnbXEAsMc9LGOIz7+yrSMG/PHcD3BSzjVPa58TPnYFChlMVvWRQavKfa463RKz9BLp0wruNJkaXhHbgsqttfBu9lh4kRhz1aHKA8sAiJeifb5gHoJcTU0b4q4Q95MNAr/i4aOLoqtvl7MXdTtUAc4NoWIERpJ9loaYSXMXGxVzRdIelTGfYlNk3qukb9IDeQ==","../../lib/jarvis.server.client.js":"aWemIe+TqomGwC52dq3xhJuv+hA9H+3oGNBi555BiDsjcA6X77CahO8fPF0+hJB5jpnkcZ+ys58HOW+EXAccn/xsIXdVD3sJgpO0IcB/bnmf1FwiCQcFkQsIRXLxT0VL6s4NlOfDDOJ3qpSiUhDsvQLFVJAHMstQX6BTPhaQ38xO2Esp0AJPHRry/LY30Kie897tpEb403HXadZKv0mb/aHdEIlO62vYxWYhc/cG8aMKnDMm8ilRy1Hhw65BO2SSwa1vt0WzhKvHmxIVPLo3umIy3mGsH1y2Ak4dkXEJOs5YLNVWCSAT2fI5ChXJg7n1WCyFH0gQUXM6UQuLat0WdA==","../../lib/jarvis.server.cloud.js":"S4wlfqwl72EWiy4BftS5D0CxB7f6N6+VgqxqjF/NaqHfRgG9Te5Kd1rtuwWxKgI0KbBrW4RwgMV8ClafPZFUCrebKjKpgulTGc5SuTm3XPO84kV+Qmr29kqh/0/43obEti4tvclqZSGv/WKY0AkbXnR1TiPahngx3IDfwobHRJyaqRVjX8hwSYeLRwqRMK/n8uYdUZT/ouG+9R5LBx0lgvLFC6xjZyLmX0DrHBn1q/RQGv/74U92Upu/ekRjL8MztokkmxqgIgkYz35Vcxh8SnRbQ+0bxsVlM6CDUbOMAyL47b515SXfpaKbOvvPCeZWKfOqLeNJFZyQfHVcNBWEVA==","../../lib/jarvis.server.getter.js":"TdMEzWkr2H/XQH9gQT+fdYmYlc4rTi03NVC+dcYB5Kw5zkHoo0pFPFe/MEqKGHl53PFVCHfDGDT2Oy7P38F0MMgD+N+GokUePWwWVeBQ1vaYEYwY9UJ879KYGAxpJcILJA5N3y7WeBl24TEuY6MbBcl3BkoNU8Tm4oZJXbG/tEGwdL3svwPVVVO8uD321XXbvGbNL3BcUwqHsPrazZe6hpQP+WctZuUjdJS68FzB8eBcpdHydWuoviWO1ybQTkwXtc/c72MQ8904iZxXcplcOBwW3ubSJfPzQFph04hfZdWGqK1HmFJh4usxSUslvzRrrytvlfjS13sZ+eHfj75LMg==","../../lib/jarvis.server.history.js":"KYz8gT2kXHPj+yzpyHzmzQVC99uuVg+Tqo9fohGhsz/wgW2u1Hlm6pclxGxM4PJzvUvSLybDm4RKkAz4hzcg8RewAP9HSb7GvQduA3T4Qx82d4VG2pe7zmEnCOHFg+EDoyEItyWIZat2sXizwr4Lhd7vN4WslZsuKhujl00/YEqcflBBLPFGyPC5cEAK/Y1GGh5tmMRwFKug1M5EmQqUsU1vfHZ8ERhEl/tblnZwEouFvoFKJn1039XEG/JgP7scOZ5P0ckuqAKqdwy0/Gv0SoBk1U+dQeZqWn4qS4OG7EcTgiTcT3rrVFDoZyebT4nebTluxgywLytp0hkkgHuX6g==","../../lib/jarvis.server.instance.js":"WA8Z6LylC46+HW5Jh1A8i/MM4GLl4X4WotQph/6+4aqD9OKXmiUKNolx4YSJVIi9endChLBHxBZZC0CC//VoK8IeQb5DlGWnekRlufX9BmmT1sruOX44g589Y70KNhPbEk/nlulfk+X3Kixt7u5dZ6G41LjASaWqBHgh5OhuimEwwulzv7fOxW6yJwDh2cw2P/sS1HMwy8SRx13T6Sd3C9oLSBLfrgqJBRJ0559SVuKTbervc+drSbyyKTZ7l1CL47GDBOCDTHsyGGWMtdqh7D32wWd9Fvn0X9vp0eoo+Eg33CeGfwq/c8DNU4LD9ZpeGNSqtNZp13AnslenpyfAvA==","../../lib/jarvis.server.js":"TNGK8a7uTN7f68ymNPLuLAnMfK47nzkqbMQaXz3bVVMGML4CzHYBa/JL7ByjhczD/So1ys28zI+vdyGarZXQxYCkS2ATodtBdaubmREKIIQGoToCTdchydXySXNe4G62FIahskUHtoPoxS/m4HzSJ3OFzUu6CuQPcsu4jd6ditF8gLb9/EbtbHFCSJ4eKojPAVV/MV4y56L3XZpzXI7zHmytTVUikpX8elsAEtcBicKw5w0QJ/BHRsN1EQGKR4ifqth+O3cJXZyNP9uQqJMN7RUQAKtjWG7tD93E9Es7N3HP5uUNUBwTwpcsj/Bz98eS+mhovlq4uPe9aCvb/GYOrA==","../../lib/jarvis.server.pro.js":"AoO0KS5S5pbyPi78zvfRHuLe3PTrUcq+GkX2bZDzim9hFAoBcpF6trEjGMr2JiDcY713r6RsAzehjDzZYlXvDjGKdXxcPaIqKwc8ZAObhP7QSXgBDCHQhwklfOVLb/ue9m9SMZd6WSVZnuKfP8gaZrZkdmcByYErkxlQhKaxpxy4pXMb6Jhsib8tNzifJ3xQf2R/8WAzGsMTdCitxLOlRrCBoaQ1/6PiPpCilHqFl5dXrWGKBJZbCVuut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GX2z1W4F+eS4I6ft753KpSYM/e9aIaLg8UCUTkO1zkbr1qqW+5HHtoFSgfDnMJoxp9RE6RAo/BFvi6IX5JYB1m5mL4+rWEzUgtg=="} \ No newline at end of file +{"index-1599f158.js":"NX6UFPPdno/bRUgKWTTFZcTRy8dj6d/5RoYBerpLENL3vHj+neF6pilGIvvVCXmP+IUeqKyOHVwJsqlr1d4sO1bS/WwwgQud/iilWp+582I/fIAfc+T41EhQS8IH3Ccpu6ddflGSX7QpznR01P+QlTZSJl0lG0BKpK6xGcnUonmXz/nnNFQcDBYuO8Elzz15F3n69cklAcgtp4vAXhxnqa7DkhKgVW0GFxjzKxpbrP/smdaMmLAaZdVwD9a3QhFl7bhgnOuAt3Pc47iGD/zRqJd2y0wsvdrdV8mS8Vy/1/MQdu233j8/cfxR2SH7nnDOUNOkH0CpU7xetaRqJ9Fmgw==","../../jarvis.min.js":"ZVl18thO/3iiI+rtLg6awXBBxeU+zbv0I4vnUddCDbJVlABfN8c/Cxl52ajXU7uv9/dqgh7mJKtnFQq/DW2j75hgrtILhbeQZzR4nRXLRjimsycg8wFY7pasGf8ip9pyT5tDGVmS6ng7MqHf42tc+HzGQQ+QcHhv6KtpPO2Hc0fztYRVEVDKxWvhsMJwvQwHkBvSZsa3lYBFdsle0sD9oPVcNX8xeKmNWx486dACEO7LEPMod08qOhBrDVyInLPbUE86Dk40/1nI1a+Ph7d5eTzOa+PEn6Ee3Qbz+Q/Y1foMbpJ959pXMOR+awplL124GWGjdmCbyPcXTxyibBMIpQ==","../../lib/jarvis.client.js":"F1805BGilRxIjgY/y6wHzlXP9bsVU5FvyzyssItTo5DWTCuw49qhDy5Bv5eZ0+ICCRRxtD+EFJ4ds6svdhKjdw8s5m/pp0DFMQXNjPpY3nY5IqTILeK6BBESarEUujyqcpDUxKAPwJ5iiAW715K3+oMrPgx8dUAwFl62edrkJviwkTZrsAsqKAnuh+rsh2Hwf2s65xZCqxk0IpMxNITByAhPwEC9m39aqQYCzQ2jbJG6ZXx9xJDf7mWFUblK4r1+ZEGzVFiwLAJ6O+y5os5ZG+/7s9ljMgJBfP4PfkFHt+gL9bJNSDyI5q1UDEQOZnYPINaDQZx8cuIynBwp3gDhSw==","../../lib/jarvis.converter.js":"QkwbS3EZUfsXbKOLWDcOgugaFa+56y4QZ0Q82z4RtNw25QCS80FRJ4Yxe7FqMFhYEdEiy1988U38O8gDJDn6IWdPpcYVQ2GmF0HuYBnGJecQBJT7tlKdbSiVxzghOHV1S+KPPodycBihTu0cA1o6/u7scORaY6v0X4chxFUV/q0DQwahSvBTDMW1ZQ/Pu5O3it9LudB35E24oeCZqF2uLeC2Z8mB6YZkRR784arEZbWrT8JFOweLP1ZgIKmbbVdG4PFlCpJ03ngBu4+lYZmfqdf/3uMNREcanpQL4wiaP4jC6iSYRyKSsmYnaulaRrRoTo6P7V+xax8Ez1GILaSR7A==","../../lib/jarvis.converter.v3.js":"Zf37uuVygVWBKyXZ99zmvd9uaMYvV6PsXfZqrphyEj6zXxRLZ9sZECHj5jtW4bPuC66Oxb43tors+VXvZTGFy03mx9Bh1nWI+KH4zBWNdtxbB/hJ2/OIFY7vkfoE7UabQk8op7ZD6JCEInCe13efIBp1mH3kaR3r++z1/SQZjFm79MPhkW212jLdnIMkW719PnA8BpO/7H8WdSDY0UWOdHrfF9vrys/PUePelewZw3iZpgyASOPwnDOeG1iEY5qd6Wdb6S3ZASVpgPfNyDw4r/Y0/K0NyD+zmS2lMnNwM+QJWU5QzKhLbApnbDxOOr08ARzsJeCbBafAAPKMQRGaew==","../../lib/jarvis.proxy.js":"ZBpYe74KGYx3fL9RteU71kCCaa1x+4wUCGGgNh73JawtLuGYrualNfqfZ5K+LnaChjCsrz7Pga8BD/2hoU1bNVh80jswKcKHrR+omDq77VueRyGGfVeVReEe4DpmxeACumS7Nj+3whMNkFb3JF3kmkwFQNsIFWPcMxN2Jzya1RNAPordZ0N054jq7bVeUsB/qTExYyiYYCB1tUkLYpV1PFLGsX2tp25qnQx1HPaQV3ef4bHKDFggf6oAJhQYfgdcRPQdobqZZcIqVy2GLR9HHbvJsgI4D6hbOZFXKJLReyzMl2H6pfBIDOLHdJLp8g7Ifbk8qNMQ9Lcdm2zLkiJD1w==","../../lib/jarvis.server.adapters.js":"K93+5CubSr5+tty/gxDWaiKotgRSFdkKWqnRb9U5iiZIpFSh0ez+3vurSrX+R9EYIN70ilcQ0sO25rut1uxuJ39B+2OYKbTnnc3NtEXGpkY73n0TxjvjiH9IvZivNwUtBIUYhrSltnbSdc/pTMG2cjdGzoNryNis+8c8+WLhUX5eA0GUXYHbaVAhDRb7qCJme3QybLA5EBrfwbYpMcDO0iK/MfMFONIoBpb37FWSquZRge/39mswwmgg1K0r7gX91aLiPvZsp6S2E2H1QwNS6IhQtUzj4x6wBoRM/OGZTO5v/fjNc5Eug/0t/wDm5OF1UqGaXOjpTh9tFLZc+y4uZA==","../../lib/jarvis.server.backup.js":"GJmjyZZU3pq6Uxpu49IssgG1mSpVo8rME7U9CDW7NWXFH+YAP9K7dHgS/DVNHqGXT8f7OaK93IiRS/vHmZ5YZIo4PWU6clp+nGmkGU4s5LwlIZBv3Bg3AjmRM0BLFnBAwmRWYJ7B30azb21nN7KTQHDU3Ctdt8p5iKT7ie3RFy7+W3zJdlcmVQiR4GAW/CX4SeICisWPO9tT93ck9E2ixlaipI6XFH4/Lb35HsNLrtPBFy6j69kNppTFqBTbBx2ioVC4G8c/38Bp0NtuqFxYND1gbf1ihe/8MQSLHxDasYA5sjoYQgGAJfdXFIBx99S4kKtUjr9w/2gZ4ltdlA8PFQ==","../../lib/jarvis.server.calendars.js":"VIh9/MRdQuRpqe2hYSWU/DrJ19RXfbYB08EHoJNUO9I42s2/YQLOF0xXTz8BBfrxo32Kh9qoqfIBKGK3P/jGnY6UQly5ZpJ5btJRDv8Q/ILpd1iVw5pKz43fhYS59iiD/MsH5PpTIjFxzqQusgW4XtXnbXEAsMc9LGOIz7+yrSMG/PHcD3BSzjVPa58TPnYFChlMVvWRQavKfa463RKz9BLp0wruNJkaXhHbgsqttfBu9lh4kRhz1aHKA8sAiJeifb5gHoJcTU0b4q4Q95MNAr/i4aOLoqtvl7MXdTtUAc4NoWIERpJ9loaYSXMXGxVzRdIelTGfYlNk3qukb9IDeQ==","../../lib/jarvis.server.client.js":"aWemIe+TqomGwC52dq3xhJuv+hA9H+3oGNBi555BiDsjcA6X77CahO8fPF0+hJB5jpnkcZ+ys58HOW+EXAccn/xsIXdVD3sJgpO0IcB/bnmf1FwiCQcFkQsIRXLxT0VL6s4NlOfDDOJ3qpSiUhDsvQLFVJAHMstQX6BTPhaQ38xO2Esp0AJPHRry/LY30Kie897tpEb403HXadZKv0mb/aHdEIlO62vYxWYhc/cG8aMKnDMm8ilRy1Hhw65BO2SSwa1vt0WzhKvHmxIVPLo3umIy3mGsH1y2Ak4dkXEJOs5YLNVWCSAT2fI5ChXJg7n1WCyFH0gQUXM6UQuLat0WdA==","../../lib/jarvis.server.cloud.js":"S4wlfqwl72EWiy4BftS5D0CxB7f6N6+VgqxqjF/NaqHfRgG9Te5Kd1rtuwWxKgI0KbBrW4RwgMV8ClafPZFUCrebKjKpgulTGc5SuTm3XPO84kV+Qmr29kqh/0/43obEti4tvclqZSGv/WKY0AkbXnR1TiPahngx3IDfwobHRJyaqRVjX8hwSYeLRwqRMK/n8uYdUZT/ouG+9R5LBx0lgvLFC6xjZyLmX0DrHBn1q/RQGv/74U92Upu/ekRjL8MztokkmxqgIgkYz35Vcxh8SnRbQ+0bxsVlM6CDUbOMAyL47b515SXfpaKbOvvPCeZWKfOqLeNJFZyQfHVcNBWEVA==","../../lib/jarvis.server.getter.js":"TdMEzWkr2H/XQH9gQT+fdYmYlc4rTi03NVC+dcYB5Kw5zkHoo0pFPFe/MEqKGHl53PFVCHfDGDT2Oy7P38F0MMgD+N+GokUePWwWVeBQ1vaYEYwY9UJ879KYGAxpJcILJA5N3y7WeBl24TEuY6MbBcl3BkoNU8Tm4oZJXbG/tEGwdL3svwPVVVO8uD321XXbvGbNL3BcUwqHsPrazZe6hpQP+WctZuUjdJS68FzB8eBcpdHydWuoviWO1ybQTkwXtc/c72MQ8904iZxXcplcOBwW3ubSJfPzQFph04hfZdWGqK1HmFJh4usxSUslvzRrrytvlfjS13sZ+eHfj75LMg==","../../lib/jarvis.server.history.js":"KYz8gT2kXHPj+yzpyHzmzQVC99uuVg+Tqo9fohGhsz/wgW2u1Hlm6pclxGxM4PJzvUvSLybDm4RKkAz4hzcg8RewAP9HSb7GvQduA3T4Qx82d4VG2pe7zmEnCOHFg+EDoyEItyWIZat2sXizwr4Lhd7vN4WslZsuKhujl00/YEqcflBBLPFGyPC5cEAK/Y1GGh5tmMRwFKug1M5EmQqUsU1vfHZ8ERhEl/tblnZwEouFvoFKJn1039XEG/JgP7scOZ5P0ckuqAKqdwy0/Gv0SoBk1U+dQeZqWn4qS4OG7EcTgiTcT3rrVFDoZyebT4nebTluxgywLytp0hkkgHuX6g==","../../lib/jarvis.server.instance.js":"EeWIWFUN/iQ8YVoCxxz5Kpk3ftn56meVDj26DyZIv9apSlOU0JBa1f6F5FCGd8i4G9BAQvuYFdiDDAu59s0ndGVt+pri0smCoj1s05tPEa+Po4P2PSar6tQ3IQQyuQjYhIulDXwVuBpm9ddKXnjen4IHQU5McaGWPTn6Oxp3X2Ojr5vHZ4NfZvNAoU6jq35L7wZeNMBEun4dTgo6jebuYk5iHqABfxwNdL8O/zpTvbZUeAMt+t+zIr9TyYdwwipgnP/iaU9xvxNqAbHWaiC1yqR5ZZ1zGu5JM/ApUpofxk6gb4bXMLe9VootT0SaCDSHrM0SWZcgjIBmdFUZP1ULsw==","../../lib/jarvis.server.js":"TNGK8a7uTN7f68ymNPLuLAnMfK47nzkqbMQaXz3bVVMGML4CzHYBa/JL7ByjhczD/So1ys28zI+vdyGarZXQxYCkS2ATodtBdaubmREKIIQGoToCTdchydXySXNe4G62FIahskUHtoPoxS/m4HzSJ3OFzUu6CuQPcsu4jd6ditF8gLb9/EbtbHFCSJ4eKojPAVV/MV4y56L3XZpzXI7zHmytTVUikpX8elsAEtcBicKw5w0QJ/BHRsN1EQGKR4ifqth+O3cJXZyNP9uQqJMN7RUQAKtjWG7tD93E9Es7N3HP5uUNUBwTwpcsj/Bz98eS+mhovlq4uPe9aCvb/GYOrA==","../../lib/jarvis.server.pro.js":"AoO0KS5S5pbyPi78zvfRHuLe3PTrUcq+GkX2bZDzim9hFAoBcpF6trEjGMr2JiDcY713r6RsAzehjDzZYlXvDjGKdXxcPaIqKwc8ZAObhP7QSXgBDCHQhwklfOVLb/ue9m9SMZd6WSVZnuKfP8gaZrZkdmcByYErkxlQhKaxpxy4pXMb6Jhsib8tNzifJ3xQf2R/8WAzGsMTdCitxLOlRrCBoaQ1/6PiPpCilHqFl5dXrWGKBJZbCVuutoHORJXAb+QEbO+ftb1p7g4F+FgYqnJghUYf9CldfWDByuiTweL09uTIukaXREloqKhdak2YZote5rk+/yxPSaeokcRK2w==","../../lib/jarvis.server.setter.js":"JCXX7Cjq18ZZnHZ0p6VnPE+ENBlvMlTJ1CsSNuR7Rriwf5zLWIj5QPXFLfzym3SVZgledgeUiB09wG5M+R6BU+wL77F02xQlPaIbtW/L4S4d8HaY2qnTm1KiyOMU95RRKBaKFtVn8MxlRpmaa3cgXS7pKh/J+keeqq5iE8elZ4jEfWeYGej9loGz8+oI8ZjxAE4rrgeeO6ESI0id5npzzX2+KTUOEKdWV0jwEdeUHXdn1ohGPf1zVWI0I+1gF3PNIgh/KJj+dqZCIToD8iNVYk3GeNmtJLqx3RgZ8un915ANgzRgQP8qYzZaXVVsXRonK/zOKQtaxXibFltDxRYTVQ==","../../lib/jarvis.server.states.js":"XXbfFTzSkfrfIrrTBXC3MUba5pRE6XpYYIhH2YuwMJyYfDE+GE3179MIHkOqBAiQOxtdBUvshXNGUAEwnpWtetMZsVJTWoJsdt7paNEONB6cvS96Kn1DF3KYw4EcCnNKHROJWl9aDtrZETrkIFhxySuNaoz/mVz9LRuEwmypsFHkKiNCH32BsXQ8Lrje/ZI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