(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-12f6ced8"],{
/***/"07ac4":
/***/function(e,t,a){"use strict";
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 2 modules
var n=a("ade3"),u=a("c7eb"),i=a("1da1"),o=a("5530"),r=(a("7db0"),a("caad"),a("a15b"),a("14d9"),a("b0c0"),a("b64b"),a("d3b7"),a("4d63"),a("c607"),a("ac1f"),a("2c3e"),a("25f0"),a("2532"),a("5319"),a("9911"),a("0643"),a("fffc"),a("4e3e"),a("159b"),a("cf45")),s=a("8e71"),c=a("6c65"),l=a("4360"),D=a("2f62"),d=a("600d"),p=a("fb13"),f=a("c67c"),C=a.n(f),F=a("1d40"),g=a("b775"),v=a("a026"),h=a("e5d9"),m=(a("41fe"),a("b0bf"),a("5728")),A=a("3e2f"),E=a("4d3f"),b=a("15fd"),y=a("3835"),S=a("b85c"),w=(a("d28b"),a("d9e2"),a("99af"),a("4de4"),a("a630"),a("d81d"),a("fb6a"),a("4e82"),a("4ec9"),a("f00c"),a("4fad"),a("820e"),a("00b4"),a("6062"),a("1e70"),a("79a4"),a("c1a1"),a("8b00"),a("a4e7"),a("1e5a"),a("72c3"),a("3ca3"),a("466d"),a("a1f0"),a("2ca0"),a("498a"),a("10d17"),a("76d6"),a("2382"),a("a573"),a("9a9a"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),["format","filename","backgroundColor"]),B={image:new Map,background:new Map,resource:new Map,defaultStyle:new Map,baseStyle:new Map,computedStyle:new WeakMap,font:new Set,snapshot:new WeakMap,snapshotKey:new Map,preStyleMap:new Map,preStyle:new WeakMap,preNodeMap:new Map,reset:function(){B.computedStyle=new WeakMap,B.snapshot=new WeakMap,B.snapshotKey.clear(),B.preStyleMap.clear(),B.preStyle=new WeakMap,B.preNodeMap.clear()}
// src/utils/cssTools.js
};
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/ISMDisPlay/ISMRender.vue?vue&type=template&id=48f425c2&scoped=true
function P(e){if(B.defaultStyle.has(e))return B.defaultStyle.get(e);if(new Set(["script","style","meta","link","noscript","template"]).has(e)){var t={};return B.defaultStyle.set(e,t),t}var a=document.getElementById("snapdom-sandbox");a||((a=document.createElement("div")).id="snapdom-sandbox",a.style.position="absolute",a.style.left="-9999px",a.style.top="-9999px",a.style.width="0",a.style.height="0",a.style.overflow="hidden",document.body.appendChild(a));var n=document.createElement(e);n.style.all="initial",a.appendChild(n);var u,i=getComputedStyle(n),o={},r=Object(S.a)(i);try{for(r.s();!(u=r.n()).done;){var s=u.value;o[s]=i.getPropertyValue(s)}}catch(e){r.e(e)}finally{r.f()}return a.removeChild(n),B.defaultStyle.set(e,o),o}function x(e,t){for(var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=[],u=P(t),i=0,o=Object.entries(e);i<o.length;i++){var r=Object(y.a)(o[i],2),s=r[0],c=r[1];if(a){var l=u[s];c&&c!==l&&n.push("".concat(s,":").concat(c))}else c&&n.push("".concat(s,":").concat(c))}return n.sort().join(";")}function U(e){var t=new Set;return e.nodeType!==Node.ELEMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?[]:(e.tagName&&t.add(e.tagName.toLowerCase()),"function"==typeof e.querySelectorAll&&e.querySelectorAll("*").forEach((function(e){return t.add(e.tagName.toLowerCase())})),Array.from(t))}function k(e){var t,a=new Map,n=Object(S.a)(e);try{for(n.s();!(t=n.n()).done;){var u=t.value,i=B.defaultStyle.get(u);if(i){var o=Object.entries(i).map((function(e){var t=Object(y.a)(e,2),a=t[0],n=t[1];return"".concat(a,":").concat(n,";")})).sort().join("");a.has(o)||a.set(o,[]),a.get(o).push(u)}}}catch(e){n.e(e)}finally{n.f()}var r,s="",c=Object(S.a)(a.entries());try{for(c.s();!(r=c.n()).done;){var l=Object(y.a)(r.value,2),D=l[0],d=l[1];s+="".concat(d.join(",")," { ").concat(D," }\n")}}catch(e){c.e(e)}finally{c.f()}return s}function I(){var e,t=new Set(B.preStyleMap.values()),a=new Map,n=1,u=Object(S.a)(t);try{for(u.s();!(e=u.n()).done;){var i=e.value;a.set(i,"c".concat(n++))}}catch(e){u.e(e)}finally{u.f()}return a}
// src/utils/helpers.js
function M(e){return $.apply(this,arguments)}function $(){return $=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=s.length>1&&void 0!==s[1]?s[1]:{},n=V(t),i=/^((repeating-)?(linear|radial|conic)-gradient)\(/i.test(t),!n){e.next=14;break}if(o=z(n),!B.background.has(o)){e.next=9;break}return e.abrupt("return",a.skipInline?void 0:"url(".concat(B.background.get(o),")"));case 9:return e.next=11,L(o,{useProxy:a.useProxy});case 11:return r=e.sent,B.background.set(o,r),e.abrupt("return",a.skipInline?void 0:'url("'.concat(r,'")'));case 14:if(!i&&"none"!==t){e.next=16;break}return e.abrupt("return",t);case 16:return e.abrupt("return",t);case 17:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function R(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).fast;if(void 0!==t&&t)return e();"requestIdleCallback"in window?requestIdleCallback(e,{timeout:50}):setTimeout(e,1)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(e instanceof Element))return window.getComputedStyle(e,t);var a=B.computedStyle.get(e);if(a||(a=new Map,B.computedStyle.set(e,a)),!a.has(t)){var n=window.getComputedStyle(e,t);a.set(t,n)}return a.get(t)}function j(e){var t=e.replace(/^['"]|['"]$/g,"");if(t.startsWith("\\"))try{return String.fromCharCode(parseInt(t.replace("\\",""),16))}catch(e){return t}return t}function V(e){var t=e.match(/url\((['"]?)(.*?)(\1)\)/);if(!t)return null;var a=t[2].trim();return a.startsWith("#")?null:a}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.timeout,n=void 0===a?3e3:a,o=t.useProxy,r=void 0===o?"":o;function s(e){try{return new URL(e,window.location.href).origin===window.location.origin?"use-credentials":"anonymous"}catch(e){return"anonymous"}}function c(e){return l.apply(this,arguments)}function l(){return(l=Object(i.a)(Object(u.a)().mark((function e(t){var a,n;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(e){return fetch(e,{mode:"cors",credentials:"use-credentials"===s(e)?"include":"omit"}).then((function(e){return e.blob()})).then((function(e){return new Promise((function(t,a){var n=new FileReader;n.onloadend=function(){var e=n.result;"string"==typeof e&&e.startsWith("data:image/")?t(e):a(new Error("Invalid image data URL"))},n.onerror=function(){return a(new Error("FileReader error"))},n.readAsDataURL(e)}))}))},e.prev=1,e.next=4,a(t);case 4:case 14:return e.abrupt("return",e.sent);case 7:if(e.prev=7,e.t0=e.catch(1),!r||"string"!=typeof r){e.next=22;break}return n=r.replace(/\/$/,"")+z(t),e.prev=11,e.next=14,a(n);case 17:throw e.prev=17,e.t1=e.catch(11),new Error("[SnapDOM - fetchImage] CORS restrictions prevented image capture (even via proxy)");case 20:e.next=23;break;case 22:throw new Error("[SnapDOM - fetchImage] Fetch fallback failed and no proxy provided");case 23:case"end":return e.stop()}}),e,null,[[1,7],[11,17]])})))).apply(this,arguments)}var D=s(e);return B.image.has(e)?Promise.resolve(B.image.get(e)):e.startsWith("data:image/")?(B.image.set(e,e),Promise.resolve(e)):/\.svg(\?.*)?$/i.test(e)?Object(i.a)(Object(u.a)().mark((function t(){var a,n,i;return Object(u.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e,{mode:"cors",credentials:"use-credentials"===D?"include":"omit"});case 3:return a=t.sent,t.next=6,a.text();case 6:return n=t.sent,i="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(n)),B.image.set(e,i),t.abrupt("return",i);case 12:return t.prev=12,t.t0=t.catch(0),t.abrupt("return",c(e));case 15:case"end":return t.stop()}}),t,null,[[0,12]])})))():new Promise((function(t,a){var o=setTimeout((function(){a(new Error("[SnapDOM - fetchImage] Image load timed out"))}),n),r=new Image;r.crossOrigin=D,r.onload=Object(i.a)(Object(u.a)().mark((function n(){var i,s,l;return Object(u.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return clearTimeout(o),n.prev=1,n.next=4,r.decode();case 4:(i=document.createElement("canvas")).width=r.width,i.height=r.height,i.getContext("2d").drawImage(r,0,0,i.width,i.height),s=i.toDataURL("image/png"),B.image.set(e,s),t(s),n.next=27;break;case 14:return n.prev=14,n.t0=n.catch(1),n.prev=16,n.next=19,c(e);case 19:l=n.sent,B.image.set(e,l),t(l),n.next=27;break;case 24:n.prev=24,n.t1=n.catch(16),a(n.t1);case 27:case"end":return n.stop()}}),n,null,[[1,14],[16,24]])}))),r.onerror=Object(i.a)(Object(u.a)().mark((function n(){var i;return Object(u.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return clearTimeout(o),n.prev=1,n.next=4,c(e);case 4:i=n.sent,B.image.set(e,i),t(i),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(1),a(n.t0);case 12:case"end":return n.stop()}}),n,null,[[1,9]])}))),r.src=e}))}function N(e){var t,a={},n=Object(S.a)(e);try{for(n.s();!(t=n.n()).done;){var u=t.value;a[u]=e.getPropertyValue(u)}}catch(e){n.e(e)}finally{n.f()}return a}function T(e){if(!e||"none"===e)return"";var t=e.replace(/translate[XY]?\([^)]*\)/g,"");return(t=(t=t.replace(/matrix\(([^)]+)\)/g,(function(e,t){var a=t.split(",").map((function(e){return e.trim()}));return 6!==a.length?"matrix(".concat(t,")"):(a[4]="0",a[5]="0","matrix(".concat(a.join(", "),")"))}))).replace(/matrix3d\(([^)]+)\)/g,(function(e,t){var a=t.split(",").map((function(e){return e.trim()}));return 16!==a.length?"matrix3d(".concat(t,")"):(a[12]="0",a[13]="0","matrix3d(".concat(a.join(", "),")"))}))).trim().replace(/\s{2,}/g," ")}function z(e){if(/%[0-9A-Fa-f]{2}/.test(e))return e;try{return encodeURI(e)}catch(t){return e}}function _(e){for(var t=[],a=0,n=0,u=0;u<e.length;u++){var i=e[u];"("===i&&a++,")"===i&&a--,","===i&&0===a&&(t.push(e.slice(n,u).trim()),n=u+1)}return t.push(e.slice(n).trim()),t}
// src/modules/styles.js
function W(e,t,a){var n;if("STYLE"!==e.tagName){B.preStyle.has(e)||B.preStyle.set(e,O(e));var u=B.preStyle.get(e);if(!B.snapshot.has(e)){var i=function(e){for(var t={},a=0;a<e.length;a++){var n=e[a],u=e.getPropertyValue(n);"background-image"!==n&&"content"!==n||!u.includes("url(")||u.includes("data:")||(u="none"),t[n]=u}return t}(u);B.snapshot.set(e,i)}var o=B.snapshot.get(e),r=Object.entries(o).sort((function(e,t){var a=Object(y.a)(e,1)[0],n=Object(y.a)(t,1)[0];return a.localeCompare(n)})).map((function(e){var t=Object(y.a)(e,2),a=t[0],n=t[1];return"".concat(a,":").concat(n)})).join(";");if(B.snapshotKey.has(r))B.preStyleMap.set(t,B.snapshotKey.get(r));else{var s=x(o,(null===(n=e.tagName)||void 0===n?void 0:n.toLowerCase())||"div",a);B.snapshotKey.set(r,s),B.preStyleMap.set(t,s)}}}
// src/core/clone.js
function K(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!e)throw new Error("Invalid node");var u,i=new Set,o=null;if(e.nodeType===Node.TEXT_NODE)return e.cloneNode(!0);if(e.nodeType!==Node.ELEMENT_NODE)return e.cloneNode(!0);if("exclude"===e.getAttribute("data-capture")){var r=document.createElement("div"),s=e.getBoundingClientRect();return r.style.cssText="display:inline-block;width:".concat(s.width,"px;height:").concat(s.height,"px;visibility:hidden;"),r}if(a.exclude&&Array.isArray(a.exclude)){var c,l=Object(S.a)(a.exclude);try{for(l.s();!(c=l.n()).done;){var D=c.value;try{var d;if(null!==(d=e.matches)&&void 0!==d&&d.call(e,D)){var p=document.createElement("div"),f=e.getBoundingClientRect();return p.style.cssText="display:inline-block;width:".concat(f.width,"px;height:").concat(f.height,"px;visibility:hidden;"),p}}catch(e){}}}catch(e){l.e(e)}finally{l.f()}}if("function"==typeof a.filter)try{if(!a.filter(e,n||e)){var C=document.createElement("div"),F=e.getBoundingClientRect();return C.style.cssText="display:inline-block;width:".concat(F.width,"px;height:").concat(F.height,"px;visibility:hidden;"),C}}catch(e){}if("IFRAME"===e.tagName){var g=document.createElement("div");return g.style.cssText="width:".concat(e.offsetWidth,"px;height:").concat(e.offsetHeight,"px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;"),g}if("placeholder"===e.getAttribute("data-capture")){var v=e.cloneNode(!1);B.preNodeMap.set(v,e),W(e,v,t);var h=document.createElement("div");return h.textContent=e.getAttribute("data-placeholder-text")||"",h.style.cssText="color:#666;font-size:12px;text-align:center;line-height:1.4;padding:0.5em;box-sizing:border-box;",v.appendChild(h),v}if("CANVAS"===e.tagName){var m=e.toDataURL(),A=document.createElement("img");return A.src=m,A.width=e.width,A.height=e.height,B.preNodeMap.set(A,e),W(e,A,t),A}try{u=e.cloneNode(!1),B.preNodeMap.set(u,e)}catch(e){throw e}if(e instanceof HTMLTextAreaElement){u.textContent=e.value,u.value=e.value;var E=e.getBoundingClientRect();return u.style.width="".concat(E.width,"px"),u.style.height="".concat(E.height,"px"),u}if(e instanceof HTMLInputElement&&(u.value=e.value,u.setAttribute("value",e.value),void 0!==e.checked&&(u.checked=e.checked,e.checked&&u.setAttribute("checked",""),e.indeterminate&&(u.indeterminate=e.indeterminate))),e instanceof HTMLSelectElement&&(o=e.value),W(e,u,t),e.shadowRoot)if(Array.from(e.shadowRoot.querySelectorAll("slot")).length>0){var b,y=Object(S.a)(e.shadowRoot.childNodes);try{for(y.s();!(b=y.n()).done;){var w=b.value;if(w.nodeType===Node.ELEMENT_NODE&&"STYLE"===w.tagName){var P=w.textContent||"";P.trim()&&t&&(B.preStyle||(B.preStyle=new WeakMap),B.preStyle.set(w,P))}}}catch(e){y.e(e)}finally{y.f()}}else{var x,U=document.createDocumentFragment(),k=Object(S.a)(e.shadowRoot.childNodes);try{for(k.s();!(x=k.n()).done;){var I=x.value;if(I.nodeType!==Node.ELEMENT_NODE||"STYLE"!==I.tagName){var M=K(I,t,a,n||e);M&&U.appendChild(M)}else{var $=I.textContent||"";$.trim()&&t&&(B.preStyle||(B.preStyle=new WeakMap),B.preStyle.set(I,$))}}}catch(e){k.e(e)}finally{k.f()}u.appendChild(U)}if("SLOT"===e.tagName){var R,O,j=(null===(R=e.assignedNodes)||void 0===R?void 0:R.call(e,{flatten:!0}))||[],V=j.length>0?j:Array.from(e.childNodes),L=document.createDocumentFragment(),N=Object(S.a)(V);try{for(N.s();!(O=N.n()).done;){var T=K(O.value,t,a,n||e);T&&L.appendChild(T)}}catch(e){N.e(e)}finally{N.f()}return L}var z,_=Object(S.a)(e.childNodes);try{for(_.s();!(z=_.n()).done;){var q=z.value;if(!i.has(q)){var H=K(q,t,a,n||e);H&&u.appendChild(H)}}}catch(e){_.e(e)}finally{_.f()}if(null!==o&&u instanceof HTMLSelectElement){u.value=o;var Y,Z=Object(S.a)(u.options);try{for(Z.s();!(Y=Z.n()).done;){var J=Y.value;J.value===o?J.setAttribute("selected",""):J.removeAttribute("selected")}}catch(e){Z.e(e)}finally{Z.f()}}return u}
// src/modules/iconFonts.js
var q=[
// /uicons/i,
/font\s*awesome/i,/material\s*icons/i,/ionicons/i,/glyphicons/i,/feather/i,/bootstrap\s*icons/i,/remix\s*icons/i,/heroicons/i,/layui/i,/lucide/i],H=[];function Y(e){var t,a=Array.isArray(e)?e:[e],n=Object(S.a)(a);try{for(n.s();!(t=n.n()).done;){var u=t.value;u instanceof RegExp?H.push(u):"string"==typeof u&&H.push(new RegExp(u,"i"))}}catch(e){n.e(e)}finally{n.f()}}function Z(e){var t,a="string"==typeof e?e:"",n=[].concat(q,H),u=Object(S.a)(n);try{for(u.s();!(t=u.n()).done;){var i=t.value;if(i instanceof RegExp&&i.test(a))return!0}}catch(e){u.e(e)}finally{u.f()}return!!(/icon/i.test(a)||/glyph/i.test(a)||/symbols/i.test(a)||/feather/i.test(a)||/fontawesome/i.test(a))}
// src/modules/fonts.js
function J(e,t,a){return X.apply(this,arguments)}function X(){return X=Object(i.a)(Object(u.a)().mark((function e(t,a,n){var i,o,r,s,c,l,D,d,p,f,C,F,g=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.length>3&&void 0!==g[3]?g[3]:32,o=g.length>4&&void 0!==g[4]?g[4]:"#000",a=a.replace(/^['"]+|['"]+$/g,""),r=window.devicePixelRatio||1,s=document.createElement("canvas"),(c=s.getContext("2d")).font=n?"".concat(n," ").concat(i,'px "').concat(a,'"'):"".concat(i,'px "').concat(a,'"'),l=c.measureText(t),D=l.actualBoundingBoxAscent||.8*i,d=l.actualBoundingBoxDescent||.2*i,p=D+d,f=l.width,(C=document.createElement("canvas")).width=Math.ceil(f*r),C.height=Math.ceil(p*r),(F=C.getContext("2d")).scale(r,r),F.font=c.font,F.textAlign="left",F.textBaseline="alphabetic",F.fillStyle=o,F.fillText(t,0,D),e.abrupt("return",C.toDataURL());case 23:case"end":return e.stop()}}),e)}))),X.apply(this,arguments)}function G(e){return Array.from(document.styleSheets).some((function(t){return t.href===e}))}function Q(e){return new Promise((function(t){if(G(e))return t(null);var a=document.createElement("link");a.rel="stylesheet",a.href=e,a.setAttribute("data-snapdom","injected-import"),a.onload=function(){return t(a)},a.onerror=function(){return t(null)},document.head.appendChild(a)}))}function ee(){return te.apply(this,arguments)}// src/modules/pseudo.js
function te(){return te=Object(i.a)(Object(u.a)().mark((function e(){var t,a,n,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E,b,y,w,P,x,U,k=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(k.length>0&&void 0!==k[0]?k[0]:{}).preCached,a=void 0!==t&&t,!B.resource.has("fonts-embed-css")){e.next=4;break}return a&&((n=document.createElement("style")).setAttribute("data-snapdom","embedFonts"),n.textContent=B.resource.get("fonts-embed-css"),document.head.appendChild(n)),e.abrupt("return",B.resource.get("fonts-embed-css"));case 4:o=/@import\s+url\(["']?([^"')]+)["']?\)/g,r=[],s=Object(S.a)(document.querySelectorAll("style")),e.prev=7,s.s();case 9:if((c=s.n()).done){e.next=25;break}l=c.value,D=l.textContent||"",d=Array.from(D.matchAll(o)),p=0,f=d;case 14:if(!(p<f.length)){e.next=23;break}if(C=f[p],!Z(F=C[1])){e.next=19;break}return e.abrupt("continue",20);case 19:G(F)||r.push(F);case 20:p++,e.next=14;break;case 23:e.next=9;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(7),s.e(e.t0);case 30:return e.prev=30,s.f(),e.finish(30);case 33:return e.next=35,Promise.all(r.map(Q));case 35:g=Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((function(e){return e.href})),v="",h=Object(S.a)(g),e.prev=38,A=Object(u.a)().mark((function e(){var t,a,n,o,r,s,c,l,D;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=m.value,e.prev=1,e.next=4,fetch(t.href);case 4:return a=e.sent,e.next=7,a.text();case 7:if(n=e.sent,!Z(t.href)&&!Z(n)){e.next=10;break}return e.abrupt("return",1);case 10:return o=/url\((["']?)([^"')]+)\1\)/g,e.next=13,Promise.all(Array.from(n.matchAll(o)).map(function(){var e=Object(i.a)(Object(u.a)().mark((function e(a){var n,i,o,r,s;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=V(a[0])){e.next=3;break}return e.abrupt("return",null);case 3:if((i=n).startsWith("http")||i.startsWith("data:")||(i=new URL(i,t.href).href),!Z(i)){e.next=7;break}return e.abrupt("return",null);case 7:if(!B.resource.has(i)){e.next=10;break}return B.font.add(i),e.abrupt("return",{original:a[0],inlined:"url(".concat(B.resource.get(i),")")});case 10:if(!B.font.has(i)){e.next=12;break}return e.abrupt("return",null);case 12:return e.prev=12,e.next=15,fetch(i);case 15:return o=e.sent,e.next=18,o.blob();case 18:return r=e.sent,e.next=21,new Promise((function(e){var t=new FileReader;t.onload=function(){return e(t.result)},t.readAsDataURL(r)}));case 21:return s=e.sent,B.resource.set(i,s),B.font.add(i),e.abrupt("return",{original:a[0],inlined:"url(".concat(s,")")});case 27:return e.prev=27,e.t0=e.catch(12),e.abrupt("return",null);case 30:case"end":return e.stop()}}),e,null,[[12,27]])})));return function(t){return e.apply(this,arguments)}}()));case 13:r=e.sent,s=n,c=Object(S.a)(r);try{for(c.s();!(l=c.n()).done;)(D=l.value)&&(s=s.replace(D.original,D.inlined))}catch(e){c.e(e)}finally{c.f()}v+=s+"\n",e.next=22;break;case 20:e.prev=20,e.t0=e.catch(1);case 22:case"end":return e.stop()}}),e,null,[[1,20]])})),h.s();case 41:if((m=h.n()).done){e.next=47;break}return e.delegateYield(A(),"t1",43);case 43:if(!e.t1){e.next=45;break}return e.abrupt("continue",45);case 45:e.next=41;break;case 47:e.next=52;break;case 49:e.prev=49,e.t2=e.catch(38),h.e(e.t2);case 52:return e.prev=52,h.f(),e.finish(52);case 55:E=Object(S.a)(document.styleSheets),e.prev=56,y=Object(u.a)().mark((function e(){var t,a,n,i,o,r,s,c,l,D,d,p,f,C,F;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=b.value,e.prev=1,t.href&&!g.every((function(e){return e.href!==t.href}))){e.next=43;break}a=Object(S.a)(t.cssRules),e.prev=4,a.s();case 6:if((n=a.n()).done){e.next=35;break}if((i=n.value).type!==CSSRule.FONT_FACE_RULE){e.next=33;break}if(o=i.style.getPropertyValue("src"),r=i.style.getPropertyValue("font-family"),o&&!Z(r)){e.next=13;break}return e.abrupt("continue",33);case 13:if(s=/url\((["']?)([^"')]+)\1\)/g,c=/local\((["']?)[^)]+?\1\)/g,l=!!o.match(s),D=!!o.match(c),l||!D){e.next=20;break}return v+="@font-face{font-family:".concat(r,";src:").concat(o,";font-style:").concat(i.style.getPropertyValue("font-style")||"normal",";font-weight:").concat(i.style.getPropertyValue("font-weight")||"normal",";}"),e.abrupt("continue",33);case 20:d=o,p=Array.from(o.matchAll(s)),f=Object(u.a)().mark((function e(){var a,n,i,o,r,s;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=F[C],n=a[2].trim()){e.next=4;break}return e.abrupt("return",0);case 4:if((i=n).startsWith("http")||i.startsWith("data:")||(i=new URL(i,t.href||location.href).href),!Z(i)){e.next=8;break}return e.abrupt("return",0);case 8:if(!B.resource.has(i)){e.next=12;break}return B.font.add(i),d=d.replace(a[0],"url(".concat(B.resource.get(i),")")),e.abrupt("return",0);case 12:if(!B.font.has(i)){e.next=14;break}return e.abrupt("return",0);case 14:return e.prev=14,e.next=17,fetch(i);case 17:return o=e.sent,e.next=20,o.blob();case 20:return r=e.sent,e.next=23,new Promise((function(e){var t=new FileReader;t.onload=function(){return e(t.result)},t.readAsDataURL(r)}));case 23:s=e.sent,B.resource.set(i,s),B.font.add(i),d=d.replace(a[0],"url(".concat(s,")")),e.next=31;break;case 29:e.prev=29,e.t0=e.catch(14);case 31:case"end":return e.stop()}}),e,null,[[14,29]])})),C=0,F=p;case 24:if(!(C<F.length)){e.next=32;break}return e.delegateYield(f(),"t0",26);case 26:if(0!==e.t0){e.next=29;break}return e.abrupt("continue",29);case 29:C++,e.next=24;break;case 32:v+="@font-face{font-family:".concat(r,";src:").concat(d,";font-style:").concat(i.style.getPropertyValue("font-style")||"normal",";font-weight:").concat(i.style.getPropertyValue("font-weight")||"normal",";}");case 33:e.next=6;break;case 35:e.next=40;break;case 37:e.prev=37,e.t1=e.catch(4),a.e(e.t1);case 40:return e.prev=40,a.f(),e.finish(40);case 43:e.next=47;break;case 45:e.prev=45,e.t2=e.catch(1);case 47:case"end":return e.stop()}}),e,null,[[1,45],[4,37,40,43]])})),E.s();case 59:if((b=E.n()).done){e.next=63;break}return e.delegateYield(y(),"t3",61);case 61:e.next=59;break;case 63:e.next=68;break;case 65:e.prev=65,e.t4=e.catch(56),E.e(e.t4);case 68:return e.prev=68,E.f(),e.finish(68);case 71:w=Object(S.a)(document.fonts),e.prev=72,x=Object(u.a)().mark((function e(){var t,a,n,i;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=P.value).family||"loaded"!==t.status||!t._snapdomSrc){e.next=30;break}if(!Z(t.family)){e.next=4;break}return e.abrupt("return",0);case 4:if((a=t._snapdomSrc).startsWith("data:")){e.next=29;break}if(!B.resource.has(t._snapdomSrc)){e.next=11;break}a=B.resource.get(t._snapdomSrc),B.font.add(t._snapdomSrc),e.next=29;break;case 11:if(B.font.has(t._snapdomSrc)){e.next=29;break}return e.prev=12,e.next=15,fetch(t._snapdomSrc);case 15:return n=e.sent,e.next=18,n.blob();case 18:return i=e.sent,e.next=21,new Promise((function(e){var t=new FileReader;t.onload=function(){return e(t.result)},t.readAsDataURL(i)}));case 21:a=e.sent,B.resource.set(t._snapdomSrc,a),B.font.add(t._snapdomSrc),e.next=29;break;case 26:return e.prev=26,e.t0=e.catch(12),e.abrupt("return",0);case 29:v+="@font-face{font-family:'".concat(t.family,"';src:url(").concat(a,");font-style:").concat(t.style||"normal",";font-weight:").concat(t.weight||"normal",";}");case 30:case"end":return e.stop()}}),e,null,[[12,26]])})),w.s();case 75:if((P=w.n()).done){e.next=82;break}return e.delegateYield(x(),"t5",77);case 77:if(0!==e.t5){e.next=80;break}return e.abrupt("continue",80);case 80:e.next=75;break;case 82:e.next=87;break;case 84:e.prev=84,e.t6=e.catch(72),w.e(e.t6);case 87:return e.prev=87,w.f(),e.finish(87);case 90:return v&&(B.resource.set("fonts-embed-css",v),a&&((U=document.createElement("style")).setAttribute("data-snapdom","embedFonts"),U.textContent=v,document.head.appendChild(U))),e.abrupt("return",v);case 92:case"end":return e.stop()}}),e,null,[[7,27,30,33],[38,49,52,55],[56,65,68,71],[72,84,87,90]])}))),te.apply(this,arguments)}function ae(e,t,a){return ne.apply(this,arguments)}// src/modules/svgDefs.js
function ne(){return ne=Object(i.a)(Object(u.a)().mark((function e(t,a,n){var i,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E,b,y,S,w,P,U,k,I,$,R,T,W,K,q,H,Y,X,G,Q,ee,te,ne,ue,ie,oe,re,se,ce,le,De,de,pe=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=pe.length>3&&void 0!==pe[3]&&pe[3],o=pe.length>4?pe[4]:void 0,t instanceof Element&&a instanceof Element){e.next=4;break}return e.abrupt("return");case 4:r=0,s=["::before","::after","::first-letter"];case 5:if(!(r<s.length)){e.next=116;break}if(c=s[r],e.prev=7,(l=O(t,c))&&"function"==typeof l[Symbol.iterator]){e.next=11;break}return e.abrupt("continue",113);case 11:if("::first-letter"!==c){e.next=35;break}if(D=getComputedStyle(t),l.color!==D.color||l.fontSize!==D.fontSize||l.fontWeight!==D.fontWeight){e.next=16;break}return e.abrupt("continue",113);case 16:if(d=Array.from(a.childNodes).find((function(e){return e.nodeType===Node.TEXT_NODE&&e.textContent&&e.textContent.trim().length>0}))){e.next=19;break}return e.abrupt("continue",113);case 19:if(p=d.textContent,f=p.match(/^((?:[\0-\x08\x0E-\x1F!-\/:-@\[-`\{-\x9F\xA1-\xA9\xAB-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u0530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u2FFF\u3001-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6F0-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA802\uA806\uA80B\uA823-\uA82F\uA836-\uA83F\uA874-\uA881\uA8B4-\uA8CF\uA8DA-\uA8F1\uA8F8-\uA8FA\uA8FC\uA8FF\uA926-\uA92F\uA947-\uA95F\uA97D-\uA983\uA9B3-\uA9CE\uA9DA-\uA9DF\uA9E5\uA9FF\uAA29-\uAA3F\uAA43\uAA4C-\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAC3-\uAADA\uAADE\uAADF\uAAEB-\uAAF1\uAAF5-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABE3-\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB1E\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFE6F\uFE75\uFEFD\uFEFE\uFF00-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD06\uDD34-\uDD3F\uDD79-\uDD89\uDD8C-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEE0\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF76-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6F\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDBF\uDDF4-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC57\uDC77\uDC78\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE01-\uDE0F\uDE14\uDE18\uDE36-\uDE3F\uDE49-\uDE5F\uDE7F\uDEA0-\uDEBF\uDEC8\uDEE5-\uDEEA\uDEF0-\uDEFF\uDF36-\uDF3F\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD24-\uDD2F\uDD3A-\uDD3F\uDD66-\uDD6E\uDD86-\uDE5F\uDE7F\uDEAA-\uDEAF\uDEB2-\uDEC1\uDEC5-\uDEFF\uDF28-\uDF2F\uDF46-\uDF50\uDF55-\uDF6F\uDF82-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC00-\uDC02\uDC38-\uDC51\uDC70\uDC73\uDC74\uDC76-\uDC82\uDCB0-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDD02\uDD27-\uDD35\uDD40-\uDD43\uDD45\uDD46\uDD48-\uDD4F\uDD73-\uDD75\uDD77-\uDD82\uDDB3-\uDDC0\uDDC5-\uDDCF\uDDDB\uDDDD-\uDDE0\uDDF5-\uDDFF\uDE12\uDE2C-\uDE3E\uDE41-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEDF-\uDEEF\uDEFA-\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A-\uDF3C\uDF3E-\uDF4F\uDF51-\uDF5C\uDF62-\uDF7F\uDF8A\uDF8C\uDF8D\uDF8F\uDFB6\uDFB8-\uDFD0\uDFD2\uDFD4-\uDFFF]|\uD805[\uDC35-\uDC46\uDC4B-\uDC4F\uDC5A-\uDC5E\uDC62-\uDC7F\uDCB0-\uDCC3\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDAF-\uDDD7\uDDDC-\uDDFF\uDE30-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEAB-\uDEB7\uDEB9-\uDEBF\uDECA-\uDECF\uDEE4-\uDEFF\uDF1B-\uDF2F\uDF3C-\uDF3F\uDF47-\uDFFF]|\uD806[\uDC2C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD30-\uDD3E\uDD40\uDD42-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD1-\uDDE0\uDDE2\uDDE4-\uDDFF\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE4F\uDE51-\uDE5B\uDE8A-\uDE9C\uDE9E-\uDEAF\uDEF9-\uDFBF\uDFE1-\uDFEF\uDFFA-\uDFFF]|\uD807[\uDC09\uDC2F-\uDC3F\uDC41-\uDC4F\uDC6D-\uDC71\uDC90-\uDCFF\uDD07\uDD0A\uDD31-\uDD45\uDD47-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8A-\uDD97\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF3-\uDF01\uDF03\uDF11\uDF34-\uDF4F\uDF5A-\uDFAF\uDFB1-\uDFBF\uDFD5-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD812-\uD817\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD836\uD83D\uD83F\uD87C\uD87D\uD87F\uD889-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF1-\uDFFF]|\uD80D[\uDC30-\uDC40\uDC47-\uDC5F]|\uD810[\uDFFB-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD818[\uDC00-\uDCFF\uDD1E-\uDD2F\uDD3A-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6F\uDEBF\uDECA-\uDECF\uDEEE-\uDEFF\uDF30-\uDF3F\uDF44-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDD3F\uDD6D-\uDD6F\uDD7A-\uDE3F\uDE97-\uDEFF\uDF4B-\uDF4F\uDF51-\uDF92\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFE\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD31\uDD33-\uDD4F\uDD53\uDD54\uDD56-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDFFF]|\uD833[\uDC00-\uDCEF\uDCFA-\uDFFF]|\uD834[\uDC00-\uDEBF\uDED4-\uDEDF\uDEF4-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD837[\uDC00-\uDEFF\uDF1F-\uDF24\uDF2B-\uDFFF]|\uD838[\uDC00-\uDC2F\uDC6E-\uDCFF\uDD2D-\uDD36\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDE8F\uDEAE-\uDEBF\uDEEC-\uDEEF\uDEFA-\uDFFF]|\uD839[\uDC00-\uDCCF\uDCEC-\uDCEF\uDCFA-\uDDCF\uDDEE\uDDEF\uDDFB-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD0-\uDCFF\uDD44-\uDD4A\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCAC\uDCB0\uDCB5-\uDD00\uDD2E\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:['\u2019])?)/),C=null==f?void 0:f[0],F=p.slice((null==C?void 0:C.length)||0),C&&!/[\uD800-\uDFFF]/.test(C)){e.next=25;break}return e.abrupt("continue",113);case 25:return(g=document.createElement("span")).textContent=C,g.dataset.snapdomPseudo="::first-letter",v=N(l),h=x(v,"span",n),B.preStyleMap.set(g,h),m=document.createTextNode(F),a.replaceChild(m,d),a.insertBefore(g,m),e.abrupt("continue",113);case 35:if(A=l.getPropertyValue("content"),E=l.getPropertyValue("background-image"),b=l.getPropertyValue("background-color"),y=l.getPropertyValue("font-family"),S=parseInt(l.getPropertyValue("font-size"))||32,w=parseInt(l.getPropertyValue("font-weight"))||!1,P=l.getPropertyValue("color")||"#000",U=l.getPropertyValue("display"),k=parseFloat(l.getPropertyValue("width")),I=parseFloat(l.getPropertyValue("height")),$=l.getPropertyValue("border-style"),R=l.getPropertyValue("transform"),T=Z(y),W=void 0,W=/counter\s*\(|counters\s*\(/.test(A)?"- ":j(A),q=E&&"none"!==E,H=b&&"transparent"!==b&&"rgba(0, 0, 0, 0)"!==b,Y="inline"!==U&&(k>0||I>0),X=$&&"none"!==$,G=R&&"none"!==R,(K="none"!==A&&""!==W)||q||H||Y||X||G){e.next=60;break}return e.abrupt("continue",113);case 60:if((Q=document.createElement("span")).dataset.snapdomPseudo=c,ee=N(l),te=x(ee,"span",n),B.preStyleMap.set(Q,te),!T||1!==W.length){e.next=74;break}return ne=document.createElement("img"),e.next=69,J(W,y,w,S,P);case 69:ne.src=e.sent,ne.style="width:".concat(S,"px;height:auto;object-fit:contain;"),Q.appendChild(ne),e.next=92;break;case 74:if(!W.startsWith("url(")){e.next=91;break}if(!(ue=V(W))||""===ue.trim()){e.next=89;break}return e.prev=77,ie=document.createElement("img"),e.next=81,L(z(ue));case 81:oe=e.sent,ie.src=oe,ie.style="width:".concat(S,"px;height:auto;object-fit:contain;"),Q.appendChild(ie),e.next=89;break;case 87:e.prev=87,e.t0=e.catch(77);case 89:e.next=92;break;case 91:!T&&K&&(Q.textContent=W);case 92:if(!q){e.next=103;break}return e.prev=93,re=_(E),e.next=97,Promise.all(re.map((function(e){return M(e)})));case 97:se=e.sent,Q.style.backgroundImage=se.join(", "),e.next=103;break;case 101:e.prev=101,e.t1=e.catch(93);case 103:if(H&&(Q.style.backgroundColor=b),ce=Q.childNodes.length>0||Q.textContent&&""!==Q.textContent.trim(),ce||q||H||Y||X||G){e.next=108;break}return e.abrupt("continue",113);case 108:"::before"===c?a.insertBefore(Q,a.firstChild):a.appendChild(Q),e.next=113;break;case 111:e.prev=111,e.t2=e.catch(7);case 113:r++,e.next=5;break;case 116:le=Array.from(t.children),De=Array.from(a.children).filter((function(e){return!e.dataset.snapdomPseudo})),de=0;case 119:if(!(de<Math.min(le.length,De.length))){e.next=125;break}return e.next=122,ae(le[de],De[de],n,i,o);case 122:de++,e.next=119;break;case 125:case"end":return e.stop()}}),e,null,[[7,111],[77,87],[93,101]])}))),ne.apply(this,arguments)}function ue(e){if(e){var t=document.querySelectorAll("svg > defs");t.length&&e.querySelectorAll("svg").forEach((function(e){var a=e.querySelectorAll("use");if(a.length){var n=new Set;if(a.forEach((function(e){var t=e.getAttribute("xlink:href")||e.getAttribute("href");t&&t.startsWith("#")&&n.add(t.slice(1))})),n.size){var u,i=document.createElementNS("http://www.w3.org/2000/svg","defs"),o=Object(S.a)(n);try{for(o.s();!(u=o.n()).done;){var r,s=u.value,c=Object(S.a)(t);try{for(c.s();!(r=c.n()).done;){var l=r.value.querySelector("#".concat(CSS.escape(s)));if(l){i.appendChild(l.cloneNode(!0));break}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}i.childNodes.length&&e.insertBefore(i,e.firstChild)}}}))}}
// src/core/prepare.js
function ie(e){return oe.apply(this,arguments)}// src/modules/images.js
function oe(){return oe=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E,b,w,P,x,U,k,M,$,R,O,j,V,L,N=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=N.length>1&&void 0!==N[1]&&N[1],n=N.length>2&&void 0!==N[2]&&N[2],i=N.length>3&&void 0!==N[3]?N[3]:{},r="",e.prev=4,o=K(t,a,i,t),e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(4),e.t0;case 11:return e.prev=11,e.next=14,ae(t,o,a,n,i.useProxy);case 14:e.next=18;break;case 16:e.prev=16,e.t1=e.catch(11);case 18:try{ue(o)}catch(e){}if(!a){e.next=46;break}s=I(),r=Array.from(s.entries()).map((function(e){var t=Object(y.a)(e,2),a=t[0],n=t[1];return".".concat(n,"{").concat(a,"}")})).join(""),c=Object(S.a)(B.preStyleMap.entries()),e.prev=23,c.s();case 25:if((l=c.n()).done){e.next=36;break}if(d=Object(y.a)(l.value,2),p=d[0],f=d[1],"STYLE"!==p.tagName){e.next=29;break}return e.abrupt("continue",34);case 29:(C=s.get(f))&&p.classList.add(C),F=null===(D=p.style)||void 0===D?void 0:D.backgroundImage,p.removeAttribute("style"),F&&"none"!==F&&(p.style.backgroundImage=F);case 34:e.next=25;break;case 36:e.next=41;break;case 38:e.prev=38,e.t2=e.catch(23),c.e(e.t2);case 41:return e.prev=41,c.f(),e.finish(41);case 44:e.next=64;break;case 46:g=Object(S.a)(B.preStyleMap.entries()),e.prev=47,g.s();case 49:if((v=g.n()).done){e.next=56;break}if(h=Object(y.a)(v.value,2),m=h[0],A=h[1],"STYLE"!==m.tagName){e.next=53;break}return e.abrupt("continue",54);case 53:m.setAttribute("style",A.replace(/;/g,"; "));case 54:e.next=49;break;case 56:e.next=61;break;case 58:e.prev=58,e.t3=e.catch(47),g.e(e.t3);case 61:return e.prev=61,g.f(),e.finish(61);case 64:E=Object(S.a)(B.preNodeMap.entries());try{for(E.s();!(b=E.n()).done;)if(w=Object(y.a)(b.value,2),P=w[0],x=w[1],U=x.scrollLeft,k=x.scrollTop,(U||k)&&P instanceof HTMLElement){for(P.style.overflow="hidden",P.style.scrollbarWidth="none",P.style.msOverflowStyle="none",(M=document.createElement("div")).style.transform="translate(".concat(-U,"px, ").concat(-k,"px)"),M.style.willChange="transform",M.style.display="inline-block",M.style.width="100%";P.firstChild;)M.appendChild(P.firstChild);P.appendChild(M)}}catch(e){E.e(e)}finally{E.f()}t===B.preNodeMap.get(o)&&($=B.preStyle.get(t)||window.getComputedStyle(t),B.preStyle.set(t,$),R=T($.transform),o.style.margin="0",o.style.position="static",o.style.top="auto",o.style.left="auto",o.style.right="auto",o.style.bottom="auto",o.style.zIndex="auto",o.style.float="none",o.style.clear="none",o.style.transform=R||""),O=Object(S.a)(B.preNodeMap.entries());try{for(O.s();!(j=O.n()).done;)V=Object(y.a)(j.value,2),L=V[0],"PRE"===V[1].tagName&&(L.style.marginTop="0",L.style.marginBlockStart="0")}catch(e){O.e(e)}finally{O.f()}return e.abrupt("return",{clone:o,classCSS:r});case 70:case"end":return e.stop()}}),e,null,[[4,8],[11,16],[23,38,41,44],[47,58,61,64]])}))),oe.apply(this,arguments)}function re(e){return se.apply(this,arguments)}// src/modules/background.js
function se(){return se=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,o,r,s,c=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=c.length>1&&void 0!==c[1]?c[1]:{},n=Array.from(t.querySelectorAll("img")),o=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t){var n,i,o;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.src,e.prev=1,e.next=4,L(n,{useProxy:a.useProxy});case 4:i=e.sent,t.src=i,t.width||(t.width=t.naturalWidth||100),t.height||(t.height=t.naturalHeight||100),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),(o=document.createElement("div")).style="width: ".concat(t.width||100,"px; height: ").concat(t.height||100,"px; background: #ccc; display: inline-block; text-align: center; line-height: ").concat(t.height||100,"px; color: #666; font-size: 12px;"),o.innerText="img",t.replaceWith(o);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),r=0;case 4:if(!(r<n.length)){e.next=11;break}return s=n.slice(r,r+4).map(o),e.next=8,Promise.allSettled(s);case 8:r+=4,e.next=4;break;case 11:case"end":return e.stop()}}),e)}))),se.apply(this,arguments)}function ce(e,t){return le.apply(this,arguments)}// src/core/capture.js
function le(){return le=Object(i.a)(Object(u.a)().mark((function e(t,a){var n,i,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=E.length>2&&void 0!==E[2]?E[2]:{},i=[[t,a]],o=["background-image","mask","mask-image","-webkit-mask-image","mask-source","mask-box-image-source","mask-border-source","-webkit-mask-box-image-source"];case 3:if(!i.length){e.next=37;break}r=i.shift(),s=Object(y.a)(r,2),c=s[0],l=s[1],D=B.preStyle.get(c)||O(c),B.preStyle.has(c)||B.preStyle.set(c,D),d=Object(S.a)(o),e.prev=8,d.s();case 10:if((p=d.n()).done){e.next=22;break}if(f=p.value,(C=D.getPropertyValue(f))&&"none"!==C){e.next=15;break}return e.abrupt("continue",20);case 15:return F=_(C),e.next=18,Promise.all(F.map((function(e){return M(e,n)})));case 18:(g=e.sent).some((function(e){return e&&"none"!==e&&!/^url\(undefined/.test(e)}))&&l.style.setProperty(f,g.join(", "));case 20:e.next=10;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(8),d.e(e.t0);case 27:return e.prev=27,d.f(),e.finish(27);case 30:for((v=D.getPropertyValue("background-color"))&&"transparent"!==v&&"rgba(0, 0, 0, 0)"!==v&&(l.style.backgroundColor=v),h=Array.from(c.children),m=Array.from(l.children),A=0;A<Math.min(h.length,m.length);A++)i.push([h[A],m[A]]);e.next=3;break;case 37:case"end":return e.stop()}}),e,null,[[8,24,27,30]])}))),le.apply(this,arguments)}function De(e){return de.apply(this,arguments)}// src/api/snapdom.js
function de(){return de=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E,b=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=b.length>1&&void 0!==b[1]?b[1]:{},t){e.next=3;break}throw new Error("Element cannot be null or undefined");case 3:return B.reset(),n=a.compress,o=void 0===n||n,r=a.embedFonts,s=void 0!==r&&r,c=a.fast,l=void 0===c||c,D=a.scale,d=void 0===D?1:D,p=a.useProxy,F="",g="",e.next=9,ie(t,o,s,a);case 9:return h=e.sent,f=h.clone,C=h.classCSS,e.next=14,new Promise((function(e){R(Object(i.a)(Object(u.a)().mark((function t(){return Object(u.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,re(f,a);case 2:e();case 3:case"end":return t.stop()}}),t)}))),{fast:l})}));case 14:return e.next=16,new Promise((function(e){R(Object(i.a)(Object(u.a)().mark((function n(){return Object(u.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ce(t,f,a);case 2:e();case 3:case"end":return n.stop()}}),n)}))),{fast:l})}));case 16:if(!s){e.next=19;break}return e.next=19,new Promise((function(e){R(Object(i.a)(Object(u.a)().mark((function t(){return Object(u.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ee();case 2:F=t.sent,e();case 4:case"end":return t.stop()}}),t)}))),{fast:l})}));case 19:if(!o){e.next=28;break}if(m=U(f).sort(),A=m.join(","),!B.baseStyle.has(A)){e.next=26;break}g=B.baseStyle.get(A),e.next=28;break;case 26:return e.next=28,new Promise((function(e){R((function(){g=k(m),B.baseStyle.set(A,g),e()}),{fast:l})}));case 28:return e.next=30,new Promise((function(e){R((function(){var n=t.getBoundingClientRect(),u=n.width,i=n.height,o=Number.isFinite(a.width),r=Number.isFinite(a.height),s="number"==typeof d&&1!==d;if(!s){var c=n.width/n.height;o&&r?(u=a.width,i=a.height):o?i=(u=a.width)/c:r&&(u=(i=a.height)*c)}if(u=Math.ceil(u),i=Math.ceil(i),f.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),f.style.transformOrigin="top left",!s&&(o||r)){var l=u/n.width,D=i/n.height,p=f.style.transform||"",h="scale(".concat(l,", ").concat(D,")");f.style.transform="".concat(h," ").concat(p).trim()}var m="http://www.w3.org/2000/svg",A=document.createElementNS(m,"foreignObject");A.setAttribute("width","100%"),A.setAttribute("height","100%");var E=document.createElement("style");E.textContent=g+F+"svg{overflow:visible;}"+C,A.appendChild(E),A.appendChild(f);var b=(new XMLSerializer).serializeToString(A),y='<svg xmlns="'.concat(m,'" width="').concat(u,'" height="').concat(i,'" viewBox="0 0 ').concat(u," ").concat(i,'">');v="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(y+b+"</svg>")),e()}),{fast:l})}));case 30:return(E=document.getElementById("snapdom-sandbox"))&&"absolute"===E.style.position&&E.remove(),e.abrupt("return",v);case 33:case"end":return e.stop()}}),e)}))),de.apply(this,arguments)}function pe(e,t){return fe.apply(this,arguments)}function fe(){return(fe=Object(i.a)(Object(u.a)().mark((function e(t,a){var n,i,o,r;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.dpr,i=a.scale,o=void 0===i?1:i,(r=new Image).src=t,e.next=5,r.decode();case 5:return r.width=r.width*o,r.height=r.height*o,e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ce(e){return Fe.apply(this,arguments)}function Fe(){return Fe=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s,c,l,D,d,p,f,C=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(a=C.length>1&&void 0!==C[1]?C[1]:{}).dpr,i=void 0===n?1:n,o=a.scale,r=void 0===o?1:o,(s=new Image).src=t,s.crossOrigin="anonymous",s.loading="eager",s.decoding="sync",c=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),l=!1,c&&(document.body.appendChild(s),l=!0),e.next=11,s.decode();case 11:if(!c){e.next=14;break}return e.next=14,new Promise((function(e){return setTimeout(e,100)}));case 14:if(0!==s.width&&0!==s.height){e.next=17;break}throw l&&s.remove(),new Error("Image failed to load or has no dimensions");case 17:return D=s.width*r,d=s.height*r,(p=document.createElement("canvas")).width=Math.ceil(D*i),p.height=Math.ceil(d*i),p.style.width="".concat(D,"px"),p.style.height="".concat(d,"px"),(f=p.getContext("2d")).scale(i,i),f.drawImage(s,0,0,D,d),l&&s.remove(),e.abrupt("return",p);case 29:case"end":return e.stop()}}),e)}))),Fe.apply(this,arguments)}function ge(e){return ve.apply(this,arguments)}function ve(){return ve=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s,c,l,D,d,p,f=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(a=f.length>1&&void 0!==f[1]?f[1]:{}).type,i=void 0===n?"svg":n,o=a.scale,r=void 0===o?1:o,s=a.backgroundColor,c=void 0===s?"#fff":s,l=a.quality,D={jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",webp:"image/webp"}[i]||"image/png","svg"!==i){e.next=5;break}return d=decodeURIComponent(t.split(",")[1]),e.abrupt("return",new Blob([d],{type:"image/svg+xml"}));case 5:return e.next=7,he(t,{dpr:1,scale:r},c);case 7:return p=e.sent,e.abrupt("return",new Promise((function(e){p.toBlob((function(t){return e(t)}),"".concat(D),l)})));case 9:case"end":return e.stop()}}),e)}))),ve.apply(this,arguments)}function he(e,t,a){return me.apply(this,arguments)}function me(){return(me=Object(i.a)(Object(u.a)().mark((function e(t,a,n){var i,o,r,s,c,l,D;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.dpr,o=void 0===i?1:i,r=a.scale,s=void 0===r?1:r,e.next=3,Ce(t,{dpr:o,scale:s});case 3:if(c=e.sent,n){e.next=6;break}return e.abrupt("return",c);case 6:return(l=document.createElement("canvas")).width=c.width,l.height=c.height,(D=l.getContext("2d")).fillStyle=n,D.fillRect(0,0,l.width,l.height),D.drawImage(c,0,0),e.abrupt("return",l);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ae(e,t){return Ee.apply(this,arguments)}function Ee(){return Ee=Object(i.a)(Object(u.a)().mark((function e(t,a){var n,i,o,r,s,c,l,D,d,p,f,C=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.dpr,i=void 0===n?1:n,o=a.scale,r=void 0===o?1:o,s=a.backgroundColor,c=a.quality,D=["jpg","jpeg","webp"].includes(l=C.length>2&&void 0!==C[2]?C[2]:"png")?"#fff":void 0,d=null!=s?s:D,e.next=6,he(t,{dpr:i,scale:r},d);case 6:return p=e.sent,(f=new Image).src=p.toDataURL("image/".concat(l),c),e.next=11,f.decode();case 11:return f.style.width="".concat(p.width/i,"px"),f.style.height="".concat(p.height/i,"px"),e.abrupt("return",f);case 14:case"end":return e.stop()}}),e)}))),Ee.apply(this,arguments)}function be(e){return ye.apply(this,arguments)}function ye(){return ye=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s,c,l,D,d,p,f,C,F,g,v,h,m,A,E=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(a=E.length>1&&void 0!==E[1]?E[1]:{}).dpr,i=void 0===n?1:n,o=a.scale,r=void 0===o?1:o,s=a.backgroundColor,c=a.format,l=void 0===c?"png":c,D=a.filename,d=void 0===D?"snapDOM":D,"svg"!==l){e.next=12;break}return e.next=4,ge(t);case 4:return p=e.sent,f=URL.createObjectURL(p),(C=document.createElement("a")).href=f,C.download="".concat(d,".svg"),C.click(),URL.revokeObjectURL(f),e.abrupt("return");case 12:return F=["jpg","jpeg","webp"].includes(l)?"#fff":void 0,g=null!=s?s:F,e.next=16,he(t,{dpr:i,scale:r},g);case 16:v=e.sent,h={jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",webp:"image/webp"}[l]||"image/png",m=v.toDataURL(h),(A=document.createElement("a")).href=m,A.download="".concat(d,".").concat(l),A.click();case 23:case"end":return e.stop()}}),e)}))),ye.apply(this,arguments)}function Se(e){return we.apply(this,arguments)}function we(){return we=Object(i.a)(Object(u.a)().mark((function e(t){var a,n=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=n.length>1&&void 0!==n[1]?n[1]:{},a=Object(o.a)({scale:1},a),t){e.next=4;break}throw new Error("Element cannot be null or undefined");case 4:return a.iconFonts&&Y(a.iconFonts),e.next=7,Se.capture(t,a);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)}))),we.apply(this,arguments)}Se.capture=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,r,s=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},e.next=3,De(t,a);case 3:return n=e.sent,i=window.devicePixelRatio||1,r=a.scale||1,e.abrupt("return",{url:n,options:a,toRaw:function(){return n},toImg:function(){return pe(n,{dpr:i,scale:r})},toCanvas:function(){return Ce(n,{dpr:i,scale:r})},toBlob:function(e){return ge(n,Object(o.a)({dpr:i,scale:r},e))},toPng:function(e){return Ae(n,Object(o.a)({dpr:i,scale:r},e),"png")},toJpg:function(e){return Ae(n,Object(o.a)({dpr:i,scale:r},e),"jpeg")},toWebp:function(e){return Ae(n,Object(o.a)({dpr:i,scale:r},e),"webp")},download:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.format,a=void 0===t?"png":t,u=e.filename,o=void 0===u?"capture":u,s=e.backgroundColor;return be(n,{dpr:i,scale:r,backgroundColor:s,format:a,filename:o})}});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Se.toRaw=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toRaw());case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toImg=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toImg());case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toCanvas=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toCanvas());case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toBlob=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toBlob(a));case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toPng=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toPng(a));case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toJpg=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toJpg(a));case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.toWebp=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t,a){return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.capture(t,a);case 2:return e.abrupt("return",e.sent.toWebp(a));case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),Se.download=function(){var e=Object(i.a)(Object(u.a)().mark((function e(t){var a,n,i,o,r,s,c,l,D=arguments;return Object(u.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(a=D.length>1&&void 0!==D[1]?D[1]:{}).format,i=void 0===n?"png":n,o=a.filename,r=void 0===o?"capture":o,s=a.backgroundColor,c=Object(b.a)(a,w),e.next=4,Se.capture(t,c);case 4:return l=e.sent,e.next=7,l.download({format:i,filename:r,backgroundColor:s});case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/lockScreen/LockScreen.vue?vue&type=template&id=5ee486a6&scoped=true
var Be=a("93d6"),Pe=a("8237"),xe=a.n(Pe),Ue=(a("edad"),{name:"LockScreen",i18n:a("89fe"),data:function(){return{inputPassword:"",errorMsg:"",focused:!1}},computed:{visible:function(){return this.$store.state.ISMDisPlayEditorTool.isLocked}},methods:Object(o.a)(Object(o.a)({},Object(D.b)("ISMDisPlayEditorTool",["unLockScreen"])),{},{handleUnlock:function(){var e=this;return Object(i.a)(Object(u.a)().mark((function t(){var a,n,i;return Object(u.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.inputPassword){t.next=3;break}return e.$message.warning({content:"请输入密码",style:{backgroundColor:"#1e293b",color:"#e2e8f0"}}),t.abrupt("return");case 3:try{a=e,e.errorMsg="",n={Password:xe()(e.inputPassword)},Object(Be.j)(n).then((function(e){200==e.data.code?(a.$message.success({content:"解锁成功，系统正在恢复",style:{backgroundColor:"#0f172a",color:"#00e5ff"}}),a.unLockScreen()):a.$message.error({content:"解锁失败",style:{backgroundColor:"#0f172a",color:"#00e5ff"}})})).catch((function(){a.logging=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))}catch(t){e.errorMsg=t.message,e.inputPassword="",(
// 错误时密码框抖动效果
i=_t.$el.querySelector(".tech-input")).classList.add("shake-animation"),setTimeout((function(){return i.classList.remove("shake-animation")}),600)}case 4:case"end":return t.stop()}}),t)})))()}})}),ke=(a("f9e8"),a("2877")),Ie=Object(ke.a)(Ue,(function(){var e=this,t=e._self._c;return t("a-modal",{staticClass:"lock-screen-modal",attrs:{width:360,closable:!1,"mask-closable":!1,footer:null,title:"","mask-style":{backgroundColor:"rgba(10, 15, 30, 0.95)"}},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[t("div",{staticClass:"grid-bg"}),t("div",{staticClass:"glow-effect"}),t("div",{staticClass:"particles-container"},e._l(12,(function(e){return t("div",{key:e,staticClass:"particle",style:{top:"".concat(100*Math.random(),"%"),left:"".concat(100*Math.random(),"%"),animationDelay:"".concat(5*Math.random(),"s"),animationDuration:"".concat(5+10*Math.random(),"s")}})})),0),t("div",{staticClass:"tech-container"},[t("div",{staticClass:"tech-header"},[t("div",{staticClass:"glow-line"})]),t("div",{staticClass:"lock-icon"},[t("a-icon",{staticClass:"pulse-animation",staticStyle:{"font-size":"56px",color:"#00e5ff"},attrs:{type:"lock",theme:"filled"}})],1),t("div",{staticClass:"lock-title"},[t("span",{staticClass:"title-glow"},[e._v("屏幕已锁定")]),t("p",[e._v("请输入密码解锁系统")])]),t("div",{staticClass:"password-container"},[t("a-input-password",{staticClass:"tech-input",class:{"tech-input-focused":e.focused},attrs:{placeholder:"输入解锁密码"},on:{"press-enter":e.handleUnlock,focus:function(t){e.focused=!0},blur:function(t){e.focused=!1}},model:{value:e.inputPassword,callback:function(t){e.inputPassword=t},expression:"inputPassword"}})],1),t("a-button",{staticClass:"unlock-btn",attrs:{type:"primary",block:""},on:{click:e.handleUnlock}},[t("span",[e._v("解锁系统")]),t("a-icon",{staticStyle:{"margin-left":"8px"},attrs:{type:"arrow-right"}})],1),e.errorMsg?t("a-alert",{staticClass:"error-alert",attrs:{type:"error",message:"验证失败",description:"密码错误，请重新输入","show-icon":""}}):e._e(),t("div",{staticClass:"status-bar"},[t("span",{staticClass:"status-indicator"}),t("span",{staticClass:"system-status"},[e._v("SYSTEM LOCKED - SECURE MODE")])])],1)])}),[],!1,null,"5ee486a6",null)
/* harmony default export */.exports,Me=a("c8b5"),$e=a.n(Me),Re="updatable";v.default.use(h.a);
/* harmony default export */var Oe={name:"ISMRender",extends:c.a,i18n:a("89fe"),components:{SimpleKeyboard:s.a,LockScreen:Ie},props:{showUuid:{type:String,required:!0},showToken:{type:String,required:!0},showDeviceUuid:{type:String,required:!0}},watch:{showUuid:{handler:function(e,t){if(""!=e){var a=this,n={pageType:1,displayUUID:e,pageUuid:this.showPageUUID};a.chargePage=!0,this.$message.loading({content:"Loading...",loadingKey:Re,duration:0}),this.CurrentRealUUIDList=[],this.CurrentModelUUIDList=[],this.CurrentPagerRealDataUuidList=[],this.CurrentPagerRealDeviceUuidList=[],this.selectDisplayPageDataStruct({page:n,callback:function(e,t){a.$message.destroy(),a.chargePage=!1,a.CurrentPagerRealDataUuidList=e,a.CurrentPagerRealDeviceUuidList=t,a.RunCavasContainerInit(a.configData.layer.autoSize,a.configData.layer.Padding)}}),this.showUuid=e}},deep:!0},fullScreen:{handler:function(e,t){var a=this;0==e&&(document.getElementById("popContainer").style.overflow="visible");1==this.configData.layer.autoSize&&setTimeout((function(){a.setScale()}),1e3)},deep:!0}},computed:Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},Object(D.e)("setting",["langList","isMobile","lang"])),Object(D.c)("account",["user"])),Object(D.e)({selectedValue:function(e){return l.a.state.ISMDisPlayEditorTool.selectedValue},configData:function(e){return l.a.state.ISMDisPlayEditorTool.LayerData},PopUpConfigData:function(e){return l.a.state.ISMDisPlayEditorTool.PopUpConfigData}})),{},{nodeMouseStyleVar:function(){return{"--NodeMouseStyle":null!=this.SelectCurrentNodeData&&void 0!==this.SelectCurrentNodeData.action&&this.SelectCurrentNodeData.action.length>0?"pointer":""}},layerStyle:function(){var e=["transform:scale(".concat(1,")")];return this.configData.layer.backColor&&e.push("background-color: ".concat(this.configData.layer.backColor)),this.configData.layer.backgroundImage&&(e.push('background-image: url("'.concat(this.configData.layer.backgroundImage,'")')),e.push("background-size:100% 100%")),this.configData.layer.width>0&&e.push("width: ".concat(this.configData.layer.width,"px")),this.configData.layer.height>0&&e.push("height: ".concat(this.configData.layer.height,"px")),e.join(";")},popUpStyle:function(){var e=["transform:scale(".concat(1,")")];return this.PopUpConfigData.layer.backColor&&e.push("background-color: ".concat(this.PopUpConfigData.layer.backColor)),this.PopUpConfigData.layer.backgroundImage&&(e.push('background-image: url("'.concat(this.PopUpConfigData.layer.backgroundImage,'")')),e.push("background-size:100% 100%")),this.PopUpConfigData.layer.width>0&&e.push("width: ".concat(this.PopUpConfigData.layer.width,"px")),this.PopUpConfigData.layer.height>0&&e.push("height: ".concat(this.PopUpConfigData.layer.height,"px")),e.join(";")},stylePopUpVar:function(){return{"--popUpBackColor":this.PopUpConfigData.layer.backColor}}}),data:function(){return{hammerManager:null,tempAutoSizePager:!1,CurrentPagerRealDataUuidList:[],CurrentPagerRealDeviceUuidList:[],CurrentPagerPopRealDataUuidList:[],CurrentPagerPopRealDeviceUuidList:[],tempAutoSize:0,tempAutoPadding:0,SelectCurrentNodeData:null,ISMPopUpRunningContainer:null,ISMRuningCavasContainer:null,settingDialog:!1,IsConfirm:!1,showKeyboard:!1,changeIpt:"",
//选择了哪个输入框
setPasswordDialog:!1,actionPasswordDialog:!1,PopUpDialog:!1,chargePage:!1,IsAutoClose:!1,Zoom:100,SetPasswordFormValue:"",SetAutoPasswordFormValue:"",ActionPasswordValue:"",ActionPasswordSet:"",ActionComponent:null,ActionEvent:null,SetValueFormValue:"",clickTimer:null,linkInfoExternal:{url:"",width:1024,height:768},chargePagePopUp:!1,isExternUrl:!1,isPopUpOpen:!1,SelectDeviceUuid:"",showPageUUID:"",showAppUUID:"",deviceUuid:"",SetPassword:"",AutoSetValue:"",setDataUuid:"",settingVisible:!1,settingLoading:!1,SetForm:this.$form.createForm(this),ActionFormPassword:this.$form.createForm(this),SetFormPassword:this.$form.createForm(this),fullScreen:!1,CurrentRealUUIDList:[],CurrentRealDataNameList:[],CurrentModelUUIDList:[],CurrentPopRealUUIDList:[],CurrentPopModelUUIDList:[]}},created:function(){this.addListener()},methods:Object(o.a)(Object(o.a)(Object(o.a)({},Object(D.d)("ISMDisPlayEditorTool",["setlayerZoom"])),Object(D.b)("ISMDisPlayEditorTool",["getLayerDataStruct","lockScreen","getLayerDataStructByTokenData","selectDisplayPageDataStruct","selectPopUpDisplayPageDataStruct"])),{},{exportPng:function(){var e=this;return Object(i.a)(Object(u.a)().mark((function t(){var a,n,i;return Object(u.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$refs.ISMRunningContainer,t.next=3,Se(a,{scale:2});case 3:return n=t.sent,t.next=6,n.toPng();case 6:return i=t.sent,document.body.appendChild(i),t.next=10,n.download({format:"png",filename:e.configData.name});case 10:case"end":return t.stop()}}),t)})))()},InitPagerRealData:function(){var e=this,t=this.CurrentPagerRealDataUuidList,a=this.CurrentPagerRealDeviceUuidList;e.CurrentRealUUIDList=[],e.CurrentModelUUIDList=[],setTimeout((function(){for(var n=[],u=0;u<t.length;u++)void 0!==t[u]&&t[u].length>0&&n.push(t[u]);for(var i=[],o=0;o<a.length;o++)void 0!==a[o]&&a[o].length>0&&i.push(a[o]);Object(d.l)({uuid:n,devices:i}).then((function(t){if(e.settingLoading=!1,0==t.data.code)for(var a=0;a<t.data.realData.length;a++)if(""!=t.data.realData[a].value){var n={DeviceUuid:t.data.realData[a].duid,ProjectUuid:t.data.realData[a].project_uuid,Cmd:"RealData",Data:[]};e.CurrentRealUUIDList.push(t.data.realData[a].uuid),e.CurrentModelUUIDList.push(t.data.realData[a].mduid);var u={Uuid:t.data.realData[a].uuid,ModelDataUuid:t.data.realData[a].mduid,Value:t.data.realData[a].value};n.Data.push(u),e.$EventBus.$emit("readDataPush",n)}}))}),50)},InitPopUpPagerRealData:function(){var e=this,t=this.CurrentPagerPopRealDataUuidList,a=this.CurrentPagerPopRealDeviceUuidList;e.CurrentPopRealUUIDList=[],e.CurrentPopModelUUIDList=[],setTimeout((function(){if(t.length>0){for(var n=[],u=0;u<t.length;u++)void 0!==t[u]&&t[u].length>0&&n.push(t[u]);for(var i=[],o=0;o<a.length;o++)void 0!==a[o]&&a[o].length>0&&i.push(a[o]);Object(d.l)({uuid:n,devices:i}).then((function(t){if(e.settingLoading=!1,0==t.data.code)for(var a=0,n=t.data.realData.length;a<n;a++){var u={DeviceUuid:t.data.realData[a].duid,ProjectUuid:t.data.realData[a].project_uuid,Cmd:"RealData",Data:[]};e.CurrentPopRealUUIDList.push(t.data.realData[a].uuid),e.CurrentPopModelUUIDList.push(t.data.realData[a].mduid);var i={Uuid:t.data.realData[a].uuid,ModelDataUuid:t.data.realData[a].mduid,Value:t.data.realData[a].value};u.Data.push(i),e.$EventBus.$emit("readDataPush",u)}}))}}),50)},loadPager:function(){var e=this;""!=this.showUuid&&(""!=this.showToken?(this.chargePage=!0,this.$message.loading({content:"Loading...",loadingKey:Re,duration:0}),this.CurrentRealUUIDList=[],this.CurrentModelUUIDList=[],e.CurrentPagerRealDataUuidList=[],e.CurrentPagerRealDeviceUuidList=[],this.getLayerDataStructByTokenData({pageType:this.isMobile,token:this.showToken,uuid:this.showUuid,cb:function(t,a,n,u,i,o){if(document.title=e.configData.AppName,e.$message.destroy(),e.chargePage=!1,0==t)Object(g.h)({token:a},g.a.AUTH1),Object(g.h)({token:u,expireAt:n}),Object(g.h)({token:e.showToken},g.a.AUTH3);else{if(-5==t)return document.title=e.$t("displayConfig.Properties.NoAuth"),void e.$message.warn(e.$t("displayConfig.Properties.NoAuth"));if(-4==t)return document.title=e.$t("displayConfig.Properties.NoToken"),void e.$message.warn(e.$t("displayConfig.Properties.NoToken"))}e.CurrentPagerRealDataUuidList=i,e.CurrentPagerRealDeviceUuidList=o,e.RunCavasContainerInit(e.configData.layer.autoSize,e.configData.layer.Padding)}})):(this.$message.loading({content:"Loading...",loadingKey:Re,duration:0}),this.CurrentRealUUIDList=[],this.CurrentModelUUIDList=[],this.CurrentPagerRealDataUuidList=[],this.CurrentPagerRealDeviceUuidList=[],this.getLayerDataStruct({pageType:this.isMobile,uuid:this.showUuid,cb:function(t,a,n,u){document.title=e.configData.AppName,0==t?Object(g.c)(g.a.AUTH1)||Object(g.h)({token:a},g.a.AUTH1):e.$router.push("/login"),e.$message.destroy(),e.CurrentPagerRealDataUuidList=n,e.CurrentPagerRealDeviceUuidList=u,e.RunCavasContainerInit(e.configData.layer.autoSize,e.configData.layer.Padding)}})))},onKeyPress:function(e){"{enter}"!==e&&"{close}"!==e||this.closekeyboard()},
// inpuit获取焦点显示虚拟键盘
onInputFocus:function(e){this.showKeyboard=!0,this.changeIpt=e,
// 父组件调用子组件的方法
this.$refs.SimpleKeyboard.onKeyPress("{clear}")},
// 给输入框赋值
onChangeKeyboard:function(e){"SetPassword"==this.changeIpt?this.SetPasswordFormValue=e:"SetValue"==this.changeIpt?this.SetValueFormValue=e:"SetAutoPassword"==this.changeIpt?this.SetAutoPasswordFormValue=e:"SetActionPassword"==this.changeIpt&&(this.ActionPasswordValue=e)},
// 点击关闭隐藏键盘
closekeyboard:function(){this.showKeyboard=!1},onContextLayerMenu:function(e){var t=this,a=this;if(!this.isCommentRightClick)return this.$contextmenu({items:[{label:a.$t("Render.FullScreen"),icon:"el-icon-full-screen",onClick:function(){a.inFullScreen()}},{label:a.$t("Render.ExitFullScreen"),icon:"el-icon-tuichuquanping",onClick:function(){a.outFullScreen()}},{label:a.$t("Render.Reload"),icon:"el-icon-lunxun",onClick:function(){a.loadPager()}},{label:a.$t("Render.LockScreen"),icon:"el-icon-suoping",onClick:function(){a.lockScreen()}},{label:1==a.tempAutoSize?a.$t("Render.ScreenUndo"):a.$t("Render.AutoSize"),icon:"el-icon-agora_zishiyingshipinfenbianshuai",onClick:function(){a.tempAutoSize=!a.tempAutoSize,a.setScale()}},{label:a.tempAutoPadding?a.$t("Render.NodeDragDisable"):a.$t("Render.NodeDragEnable"),icon:a.tempAutoPadding?"el-icon-jinzhi":"el-icon-tuodong",onClick:function(){a.tempAutoPadding=!a.tempAutoPadding,t.ISMRuningCavasContainer.togglePanning(a.tempAutoPadding),t.ISMRuningCavasContainer.toggleMouseWheel(a.tempAutoPadding)}},{label:a.$t("Render.ExportPng"),icon:"el-icon-daochupng",onClick:function(){a.exportPng()}}],event:e,
// 鼠标事件信息
divided:!0,customClass:"custom-class",
// 自定义菜单 class
zIndex:1e4,
// 菜单样式 z-index
minWidth:230}),!1},alarmSoundSpeech:function(){var e=new SpeechSynthesisUtterance;return{start:function(t,a){var n=localStorage.getItem("Speech");if("null"==n||null==n||""==n?((n={}).enable=!0,n.speed=1):n=JSON.parse(n),n.enable){void 0===t.Lang||t.Lang;""!=a&&(e.text=a,e.lang="zh-CN",e.pitch=2,e.rate=n.speed,speechSynthesis.speak(e))}}}},formatDateTime:function(e){var t=new Date(e);return Object(r.a)(t,"yyyy-MM-dd hh:mm:ss")},inFullScreen:function(){var e=document.body;return document.getElementById("popContainer").style.overflow="auto",e.requestFullscreen?(e.requestFullscreen(),!0):e.webkitRequestFullScreen?(e.webkitRequestFullScreen(),!0):e.mozRequestFullScreen?(e.mozRequestFullScreen(),!0):e.msRequestFullscreen?(e.msRequestFullscreen(),!0):(this.$message.warn("对不起，您的浏览器不支持全屏模式"),!1)},outFullScreen:function(){var e=document.body;document.getElementById("popContainer").style.overflow="visible",e.exitFullscreen?e.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.$refs.ismrender.classList.remove("beauty-scroll")},addListener:function(){document.addEventListener("fullscreenchange",this.fullScreenListener),document.addEventListener("webkitfullscreenchange",this.fullScreenListener),document.addEventListener("mozfullscreenchange",this.fullScreenListener),document.addEventListener("msfullscreenchange",this.fullScreenListener)},removeListener:function(){document.removeEventListener("fullscreenchange",this.fullScreenListener),document.removeEventListener("webkitfullscreenchange",this.fullScreenListener),document.removeEventListener("mozfullscreenchange",this.fullScreenListener),document.removeEventListener("msfullscreenchange",this.fullScreenListener)},fullScreenListener:function(e){(
// const el = document.body
this.fullScreen=document.body.fullScreen||document.mozFullScreen||document.webkitIsFullScreen,this.fullScreen)||(document.getElementById("popContainer").style.overflow="visible")},componentRightClick:function(e){
//this.$refs.componentMenu.showContextMenu($event.pageX,$event.pageY)
},componentRightDialogClick:function(e){
//this.$refs.componentMenuDialog.showContextMenu($event.pageX,$event.pageY)
},setScreenUndoDialog:function(){var e=this.$refs.ismrender1,t=this.getScale();t[0]=1,t[1]=1,e.style.transform="scale("+t[0]+","+t[1]+")"},
// 设置比例
setScale:function(){if(1==this.tempAutoSize){this.ISMRuningCavasContainer.resize(window.innerWidth,window.innerHeight);var e=window.innerWidth/this.configData.layer.width,t=window.innerHeight/this.configData.layer.height;this.ISMRuningCavasContainer.scale(e,t)}else this.ISMRuningCavasContainer.resize(this.configData.layer.width,this.configData.layer.height),this.ISMRuningCavasContainer.scale(1,1)},ActionSoundSpeech:function(){var e=new SpeechSynthesisUtterance;return{start:function(t,a){var n=localStorage.getItem("Speech");if("null"==n||null==n||""==n?((n={}).enable=!0,n.speed=1):n=JSON.parse(n),n.enable){void 0===t.Lang||t.Lang;""!=a&&(e.text=a,e.lang="zh-CN",e.pitch=2,e.rate=n.speed,speechSynthesis.speak(e))}}}},setScaleDialog:function(){var e=this.$refs.ismrender1,t=this.getScale();e.style.transform="scale("+t[0]+","+t[1]+")"},getScale:function(){return[window.innerWidth/this.configData.layer.width,window.innerHeight/this.configData.layer.height]},doComponentAction:function(e,t){var a=this,n=this;if("click"==t)return clearTimeout(this.clickTimer),void(//首先清除计时器
this.clickTimer=setTimeout((function(){if(void 0!==e.action&&e.action.length)for(var u=0,i=e.action.length;u<i;u++){var o=e.action[u];o.type==t&&(void 0!==o.actionVoice&&o.actionVoice.length&&a.ActionSoundSpeech().start({container:"#ActionSppekContent",Lang:a.$i18n.locale,rate:1},o.actionVoice),a.handleComponentAction(e,o))}else if(void 0!==e.active&&e.active.length&&"click"==t)for(var r=function(){var t=e.active[s];1==t.isSwitch&&(void 0!==t.condition.actionVoice&&t.condition.actionVoice.length&&a.ActionSoundSpeech().start({container:"#ActionSppekContent",Lang:a.$i18n.locale,rate:1},t.condition.actionVoice),void 0!==t.condition.ConfirmationDialog&&1==t.condition.ConfirmationDialog?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){n.handleComponentSwitchActive(t)},onCancel:function(){},class:"test"}):n.handleComponentSwitchActive(t))},s=0,c=e.active.length;s<c;s++)r()}),300));if("dblclick"==t&&clearTimeout(this.clickTimer),void 0!==e.action&&e.action.length)for(var u=0,i=e.action.length;u<i;u++){var o=e.action[u];o.type==t&&(void 0!==o.actionVoice&&o.actionVoice.length&&this.ActionSoundSpeech().start({container:"#ActionSppekContent",Lang:this.$i18n.locale,rate:1},o.actionVoice),this.handleComponentAction(e,o))}else if(void 0!==e.active&&e.active.length&&"click"==t)for(var r=function(){var t=e.active[s];1==t.isSwitch&&(void 0!==t.condition.actionVoice&&t.condition.actionVoice.length&&a.ActionSoundSpeech().start({container:"#ActionSppekContent",Lang:a.$i18n.locale,rate:1},t.condition.actionVoice),n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){n.handleComponentSwitchActive(t)},onCancel:function(){},class:"test"}))},s=0;s<e.active.length;s++)r()},handleComponentSwitchActive:function(e){var t=this;try{if(""==this.showToken)if(void 0!==this.user.Role&&"Admin"!=this.user.Role)if(void 0!==e.condition.actionAuth&&e.condition.actionAuth.length>0)if(e.condition.actionAuth.find((function(e){return e===t.user.Role}))!=this.user.Role)return void this.$message.error(this.$t("displayModel.NoAuthentication"),3)}catch(e){return void this.$message.error(this.$t("displayModel.NoAuthentication"),3)}var a=e.condition;if(a.isBandDevice?this.deviceUuid=a.deviceSN:this.deviceUuid=this.SelectDeviceUuid,this.setDataUuid=a.dataID,a.IsManual)this.SetPasswordFormValue="",this.settingDialog=!0,this.settingVisible=!0;else{var n=0;if(void 0!==a.AutoSet&&a.AutoSet.length<=0)return void this.$message.error(this.$t("component.public.ParamsConfigError"));for(var u=0,i=a.AutoSet.length;u<i;u++)if(e.result==a.AutoSet[u].value){a.AutoSetValue=0==u?a.AutoSet[1].value:a.AutoSet[0].value,n=1,this.AutoSetValue=a.AutoSetValue,void 0===a.SetPassword||""==a.SetPassword?this.AutoSetData(a.AutoSetValue):(this.SetPassword=a.SetPassword,this.SetAutoPasswordFormValue="",this.setPasswordDialog=!0);break}n||(a.AutoSetValue=a.AutoSet[0].value,this.AutoSetValue=a.AutoSetValue,void 0===a.SetPassword||""==a.SetPassword?this.AutoSetData(a.AutoSetValue):(this.SetPassword=a.SetPassword,this.SetAutoPasswordFormValue="",this.setPasswordDialog=!0))}},ClosePopDialog:function(){this.PopUpDialog=!1,null!=this.ISMPopUpRunningContainer&&(this.ISMPopUpRunningContainer.dispose(),this.ISMPopUpRunningContainer=null)},PopUpDialogClick:function(){this.IsAutoClose&&(this.PopUpDialog=!1,null!=this.ISMPopUpRunningContainer&&(this.ISMPopUpRunningContainer.dispose(),this.ISMPopUpRunningContainer=null))},doLoopSetValue:function(e,t,a){var n=this,u=t[e];void 0!==u&&(void 0!==u.isBandDevice&&u.isBandDevice?this.deviceUuid=u.deviceSN:this.deviceUuid=this.SelectDeviceUuid,this.setDataUuid=u.dataID,this.SetPassword=u.SetPassword?u.SetPassword:"",u.IsManual?(this.SetPasswordFormValue="",this.settingDialog=!0,this.settingVisible=!0):(this.AutoSetValue=u.AutoSetValue,void 0===u.SetPassword||""==u.SetPassword?n.AutoSetData(u.AutoSetValue):(this.SetAutoPasswordFormValue="",this.setPasswordDialog=!0)),e<t.length&&setTimeout((function(){n.doLoopSetValue(e+1,t,a)}),a))},handleComponentAction:function(e,t){var a=this;if(void 0!==t.action){var n=this;try{if(""==this.showToken)if(void 0!==this.user.Role&&"Admin"!=this.user.Role)if(void 0!==t.actionAuth&&t.actionAuth.length>0)if(t.actionAuth.find((function(e){return e===a.user.Role}))!=this.user.Role)return void this.$message.error(this.$t("displayModel.NoAuthentication"),3)}catch(e){return void this.$message.error(this.$t("displayModel.NoAuthentication"),3)}if(void 0===t.ActionPassword||""==t.ActionPassword)if("visible"==t.action)t.showItems.length>0&&t.showItems.forEach((function(e){n.showComponent(e,!0)})),t.hideItems.length>0&&t.hideItems.forEach((function(e){n.showComponent(e,!1)}));else if("RestApi"==t.action){var u="<div>".concat(t.RestApi.Params,"</div>"),i=C.a.render(u,{data:{msg:"hello"}}).outerHTML,o=new RegExp("<div>","g"),r=new RegExp("</div>","g");i=(i=i.replace(o,"")).replace(r,""),void 0!==t.actionConfirm&&t.actionConfirm?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){Object(p.a)(t.RestApi.Type,t.RestApi.Url,t.RestApi.Params).then((function(e){})).catch((function(){}))},onCancel:function(){},class:"test"}):Object(p.a)(t.RestApi.Type,t.RestApi.Url,t.RestApi.Params).then((function(e){})).catch((function(){}))}else if("link"==t.action)void 0!==t.actionConfirm&&t.actionConfirm?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){n.showPage(t.link)},onCancel:function(){},class:"test"}):n.showPage(t.link);else if("SetValue"==t.action)(void 0===t.SetDelay||""==t.SetDelay)&&(t.SetDelay=1e3),void 0!==t.actionConfirm&&t.actionConfirm?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){n.doLoopSetValue(0,t.setValue,t.SetDelay)},onCancel:function(){},class:"test"}):n.doLoopSetValue(0,t.setValue,t.SetDelay);else if("DeviceView"==t.action){var s={key:t.DeviceView.key,showUUID:t.DeviceView.showUUID,showPageUUID:t.DeviceView.showPageUUID,type:t.DeviceView.type,isPopUp:t.DeviceView.isPopUp?t.DeviceView.isPopUp:null,selectKey:t.DeviceView.key,isContainer:t.DeviceView.isContainer};this.PopUpDialog=!1,void 0!==t.actionConfirm&&t.actionConfirm?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){"undefined"!=s.isContainer&&s.isContainer?n.$EventBus.$emit("onContainerSelectDevice",s):n.$EventBus.$emit("onSelectDevice",s)},onCancel:function(){},class:"test"}):"undefined"!=s.isContainer&&s.isContainer?n.$EventBus.$emit("onContainerSelectDevice",s):n.$EventBus.$emit("onSelectDevice",s)}else"SysScript"==t.action?void 0!==t.actionConfirm&&t.actionConfirm?n.$confirm({title:n.$t("displayConfig.Properties.SecondConfirm"),content:n.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){n.doSysScript(t.ScriptList)},onCancel:function(){},class:"test"}):n.doSysScript(t.ScriptList):"Animation"==t.action&&("start"==t.animationStatus?this.$EventBus.$emit(e.identifier+"animateEvent",1):this.$EventBus.$emit(e.identifier+"animateEvent",0));else this.ActionComponent=e,this.ActionEvent=t,this.ActionPasswordSet=t.ActionPassword,this.ActionPasswordValue="",this.actionPasswordDialog=!0}},doSysScript:function(e){var t=this,a={Script:e};Object(F.c)(a).then((function(e){t.settingLoading=!1,0==e.data.code?(t.$message.success(t.$t(e.data.msg)),t.settingVisible=!1):t.$message.error(t.$t(e.data.msg))})).catch((function(e){t.settingLoading=!1,t.$message.error(t.$t("readData.SetFailed"))})).finally((function(e){t.settingLoading=!1}))},ManualSetData:function(){var e=this;if(this.showKeyboard=!1,""==this.SetPassword||this.SetPasswordFormValue==this.SetPassword){var t={deviceUuid:e.deviceUuid,dataUuid:e.setDataUuid,value:e.SetValueFormValue};e.IsConfirm?e.$confirm({title:e.$t("displayConfig.Properties.SecondConfirm"),content:e.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){e.settingLoading=!0,Object(d.n)(t).then((function(t){e.settingLoading=!1,0==t.data.code?(e.$message.success(e.$t("readData.SetSuccess")),e.settingVisible=!1,e.settingDialog=!1):e.$message.error(e.$t("readData.SetFailed"))})).catch((function(t){e.settingLoading=!1,e.$message.error(e.$t("readData.SetFailed"))})).finally((function(t){e.settingLoading=!1}))},onCancel:function(){},class:"test"}):(e.settingLoading=!0,Object(d.n)(t).then((function(t){e.settingLoading=!1,0==t.data.code?(e.$message.success(e.$t("readData.SetSuccess")),e.settingVisible=!1,e.settingDialog=!1):e.$message.error(e.$t("readData.SetFailed"))})).catch((function(t){e.settingLoading=!1,e.$message.error(e.$t("readData.SetFailed"))})).finally((function(t){e.settingLoading=!1})))}else e.$message.error(e.$t("readData.SetPasswordError"))},PasswordSetAction:function(){var e=this,t=this;if(this.ActionPasswordSet==this.ActionPasswordValue){var a=this.ActionEvent,n=this.ActionComponent;if(this.actionPasswordDialog=!1,this.ActionEvent=null,this.ActionComponent=null,"visible"==a.action)a.showItems.length>0&&a.showItems.forEach((function(e){t.showComponent(e,!0)})),a.hideItems.length>0&&a.hideItems.forEach((function(e){t.showComponent(e,!1)}));else if("RestApi"==a.action){var u="<div>".concat(a.RestApi.Params,"</div>"),i=C.a.render(u,{data:{msg:"hello"}}).outerHTML,o=new RegExp("<div>","g"),r=new RegExp("</div>","g");i=(i=i.replace(o,"")).replace(r,""),void 0!==a.actionConfirm&&a.actionConfirm?t.$confirm({title:t.$t("displayConfig.Properties.SecondConfirm"),content:t.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){Object(p.a)(a.RestApi.Type,a.RestApi.Url,a.RestApi.Params).then((function(e){})).catch((function(){}))},onCancel:function(){},class:"test"}):Object(p.a)(a.RestApi.Type,a.RestApi.Url,a.RestApi.Params).then((function(e){})).catch((function(){}))}else if("link"==a.action)void 0!==a.actionConfirm&&a.actionConfirm?t.$confirm({title:t.$t("displayConfig.Properties.SecondConfirm"),content:t.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){t.showPage(a.link)},onCancel:function(){},class:"test"}):t.showPage(a.link);else if("SetValue"==a.action)for(var s=function(){var n=a.setValue[c];n.isBandDevice?e.deviceUuid=n.deviceSN:e.deviceUuid=e.SelectDeviceUuid,void 0!==a.actionConfirm&&a.actionConfirm?e.IsConfirm=!0:e.IsConfirm=!1,e.setDataUuid=n.dataID,e.SetPassword=n.SetPassword?n.SetPassword:"",n.IsManual?(e.SetPasswordFormValue="",e.settingDialog=!0,e.settingVisible=!0):(e.AutoSetValue=n.AutoSetValue,void 0===n.SetPassword||""==n.SetPassword?void 0!==a.actionConfirm&&a.actionConfirm?t.$confirm({title:t.$t("displayConfig.Properties.SecondConfirm"),content:t.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){t.AutoSetData(n.AutoSetValue)},onCancel:function(){},class:"test"}):t.AutoSetData(n.AutoSetValue):(e.SetAutoPasswordFormValue="",e.setPasswordDialog=!0))},c=0,l=a.setValue.length;c<l;c++)s();else if("DeviceView"==a.action){var D={key:a.DeviceView.key,showUUID:a.DeviceView.showUUID,showPageUUID:a.DeviceView.showPageUUID,type:a.DeviceView.type,isPopUp:a.DeviceView.isPopUp?a.DeviceView.isPopUp:null,selectKey:a.DeviceView.key,isContainer:a.DeviceView.isContainer};this.PopUpDialog=!1,void 0!==a.actionConfirm&&a.actionConfirm?t.$confirm({title:t.$t("displayConfig.Properties.SecondConfirm"),content:t.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){"undefined"!=D.isContainer&&D.isContainer?t.$EventBus.$emit("onContainerSelectDevice",D):t.$EventBus.$emit("onSelectDevice",D)},onCancel:function(){},class:"test"}):"undefined"!=D.isContainer&&D.isContainer?t.$EventBus.$emit("onContainerSelectDevice",D):t.$EventBus.$emit("onSelectDevice",D)}else"SysScript"==a.action?void 0!==a.actionConfirm&&a.actionConfirm?t.$confirm({title:t.$t("displayConfig.Properties.SecondConfirm"),content:t.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){t.doSysScript(a.ScriptList)},onCancel:function(){},class:"test"}):t.doSysScript(a.ScriptList):"Animation"==a.action&&("start"==a.animationStatus?this.$EventBus.$emit(n.identifier+"animateEvent",1):this.$EventBus.$emit(n.identifier+"animateEvent",0))}else this.$message.error(this.$t("displayModel.NoAuthentication"),3)},PasswordSetData:function(){var e=this;if(this.showKeyboard=!1,this.SetAutoPasswordFormValue==this.SetPassword){var t={deviceUuid:e.deviceUuid,dataUuid:e.setDataUuid,value:this.AutoSetValue.toString()};e.IsConfirm?e.$confirm({title:e.$t("displayConfig.Properties.SecondConfirm"),content:e.$t("displayConfig.Properties.SecondConfirmContent"),onOk:function(){e.settingLoading=!0,Object(d.n)(t).then((function(t){e.settingLoading=!1,0==t.data.code?(e.$message.success(e.$t("readData.SetSuccess")),e.settingVisible=!1,e.setPasswordDialog=!1):e.$message.error(e.$t("readData.SetFailed"))})).catch((function(t){e.settingLoading=!1,e.$message.error(e.$t("readData.SetFailed"))})).finally((function(t){e.settingLoading=!1}))},onCancel:function(){},class:"test"}):(e.settingLoading=!0,Object(d.n)(t).then((function(t){e.settingLoading=!1,0==t.data.code?(e.$message.success(e.$t("readData.SetSuccess")),e.settingVisible=!1,e.setPasswordDialog=!1):e.$message.error(e.$t("readData.SetFailed"))})).catch((function(t){e.settingLoading=!1,e.$message.error(e.$t("readData.SetFailed"))})).finally((function(t){e.settingLoading=!1})))}else e.$message.error(e.$t("readData.SetPasswordError"))},AutoSetData:function(e){var t=this;this.settingLoading=!0;var a={deviceUuid:t.deviceUuid,dataUuid:t.setDataUuid,value:e.toString()};t.$message.loading({content:"Loading..."}),Object(d.n)(a).then((function(e){t.settingLoading=!1,0==e.data.code?(t.$message.success(t.$t("readData.SetSuccess")),t.settingVisible=!1):t.$message.error(t.$t("readData.SetFailed"))})).catch((function(e){t.settingLoading=!1,t.$message.error(t.$t("readData.SetFailed"))})).finally((function(e){t.settingLoading=!1,setTimeout((function(){t.$message.destroy()}),500)}))},DealWithUpdateData:function(e){for(var t=this,a=this,n=0,u=e.Data.length;n<u;n++)if(-1!=a.CurrentRealUUIDList.indexOf(e.Data[n].Uuid)||-1!=a.CurrentModelUUIDList.indexOf(e.Data[n].ModelDataUuid)){if(void 0===a.configData.components||!a.configData.components.cells)return;var i=a.configData.components.cells;if(!Array.isArray(i)||0===i.length)return;for(var o=function(){if(void 0!==a.configData.components.cells[r].data.detail.animate&&void 0!==a.configData.components.cells[r].data.detail.animate.condition){var u=a.configData.components.cells[r].data.detail.animate.condition,i=a.configData.components.cells[r].data.detail.animate.selected,o=a.configData.components.cells[r].data.detail.animate.isExpression;
//动画
if(u.isBandDevice){var s=!1;if(e.DeviceUuid==u.deviceSN&&(u.dataID==e.Data[n].ModelDataUuid||u.dataID==e.Data[n].Uuid)){var c=parseFloat(e.Data[n].Value);if(o){var l=parseFloat(u.OperatorValue);switch(u.operator){case"==":s=c==l;break;case">":s=c>l;break;case">=":s=c>=l;break;case"<":s=c<l;break;case"<=":s=c<=l;break;case"!=":s=c!=l;break;case"<>":var D=parseFloat(u.OperatorMaxValue);s=c>=l&&c<=D;break;case"<!>":var d=parseFloat(u.OperatorMaxValue);s=c<=l||c>=d}if(i.includes("visible")){var p=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id);s?(p.setVisible(!0),a.configData.components.cells[r].data.detail.style.visible=!0):(a.configData.components.cells[r].data.detail.style.visible=!1,p.setVisible(!1))}a.$EventBus.$emit(a.configData.components.cells[r].data.detail.identifier+"animateEvent",s)}}}else if(e.DeviceUuid==a.SelectDeviceUuid){var f=!1;if(u.dataID==e.Data[n].ModelDataUuid||u.dataID==e.Data[n].Uuid){var C=parseFloat(e.Data[n].Value);if(o){var F=parseFloat(u.OperatorValue);switch(u.operator){case"==":f=C==F;break;case">":f=C>F;break;case">=":f=C>=F;break;case"<":f=C<F;break;case"<=":f=C<=F;break;case"!=":f=C!=F;break;case"<>":var g=parseFloat(u.OperatorMaxValue);f=C>=F&&C<=g;break;case"<!>":var v=parseFloat(u.OperatorMaxValue);f=C<=F||C>=v}if(i.includes("visible")){var h=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id);f?(h.setVisible(!0),a.configData.components.cells[r].data.detail.style.visible=!0):(a.configData.components.cells[r].data.detail.style.visible=!1,h.setVisible(!1))}t.$EventBus.$emit(a.configData.components.cells[r].data.detail.identifier+"animateEvent",f)}}}}
//位移动画
if(void 0!==a.configData.components.cells[r].data.detail.animate&&void 0!==a.configData.components.cells[r].data.detail.animate.move&&a.configData.components.cells[r].data.detail.animate.selected.includes("animateMove")){var m=a.configData.components.cells[r].data.detail.animate.move.x,A=a.configData.components.cells[r].data.detail.animate.move.y;
//动画
if(m.isBandDevice){if(e.DeviceUuid==m.deviceSN&&(m.dataID==e.Data[n].ModelDataUuid||m.dataID==e.Data[n].Uuid)){var E=parseFloat(e.Data[n].Value),b=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id),y=b.getParent();y&&y.getChildren().forEach((function(e){var t=b.position();e.translate(E,t.y)}));var S=b.position();b.position(E,S.y)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(m.dataID==e.Data[n].ModelDataUuid||m.dataID==e.Data[n].Uuid)){var w=parseFloat(e.Data[n].Value),B=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id),P=B.getParent();P&&P.getChildren().forEach((function(e){var t=B.position();e.translate(w,t.y)}));var x=B.position();B.position(w,x.y)}
//动画
if(A.isBandDevice){if(e.DeviceUuid==A.deviceSN&&(A.dataID==e.Data[n].ModelDataUuid||A.dataID==e.Data[n].Uuid)){var U=parseFloat(e.Data[n].Value),k=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id),I=k.getParent();I&&I.getChildren().forEach((function(e){var t=k.position();e.translate(t.x,U)}));var M=k.position();k.position(M.x,U)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(A.dataID==e.Data[n].ModelDataUuid||A.dataID==e.Data[n].Uuid)){var $=parseFloat(e.Data[n].Value),R=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id),O=R.getParent();O&&O.getChildren().forEach((function(e){var t=R.position();e.translate(t.x,$)}));var j=R.position();R.position(j.x,$)}}if(void 0!==a.configData.components.cells[r].data.detail.active)for(var V=a.configData.components.cells[r].data.detail.active,L="",N=0
//动作
;N<V.length;N++)if(V[N].condition.isBandDevice){if(e.DeviceUuid==V[N].condition.deviceSN&&(V[N].condition.dataID==e.Data[n].ModelDataUuid||V[N].condition.dataID==e.Data[n].Uuid)){if(void 0!==V[N].isExpression&&V[N].isExpression){var T=parseFloat(e.Data[n].Value),z=parseFloat(V[N].condition.OperatorValue);switch(V[N].condition.operator){case"==":L=T==z;break;case">":L=T>z;break;case">=":L=T>=z;break;case"<":L=T<z;break;case"<=":L=T<=z;break;case"!=":L=T!=z;break;case"<>":var _=parseFloat(V[N].condition.OperatorMaxValue);L=T>=z&&T<=_;break;case"<!>":var W=parseFloat(V[N].condition.OperatorMaxValue);L=T<=z||T>=W}}else L=e.Data[n].Value;V[N].result=L;var K={ID:V[N].id,DeviceSN:V[N].condition.deviceSN,dataID:V[N].condition.dataID,index:N,result:L},q=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id);if(q.isEdge()){var H="";"Forward"==K.ID?a.configData.components.cells[r].data.detail.active[N].ForwardResult=K.result:"Reverse"==K.ID&&(a.configData.components.cells[r].data.detail.active[N].ReverseResult=K.result);var Y=a.configData.components.cells[r].data.detail.active[0].ForwardResult,Z=a.configData.components.cells[r].data.detail.active[1].ReverseResult;H=Y?"ant-line-forward 30s infinite linear":Z?"ant-line-inverse 30s infinite linear":"none",q.setAttrs({line:{style:{animation:H}}})}else a.$EventBus.$emit(a.configData.components.cells[r].data.detail.identifier+"activeEvent",K)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(V[N].condition.dataID==e.Data[n].ModelDataUuid||V[N].condition.dataID==e.Data[n].Uuid)){if(void 0!==V[N].isExpression&&V[N].isExpression){var J=parseFloat(e.Data[n].Value),X=parseFloat(V[N].condition.OperatorValue);switch(V[N].condition.operator){case"==":L=J==X;break;case">":L=J>X;break;case">=":L=J>=X;break;case"<":L=J<X;break;case"<=":L=J<=X;break;case"!=":L=J!=X;break;case"<>":var G=parseFloat(V[N].condition.OperatorMaxValue);L=J>=X&&J<=G;break;case"<!>":var Q=parseFloat(V[N].condition.OperatorMaxValue);L=J<=X||J>=Q}}else L=e.Data[n].Value;V[N].result=L;var ee={ID:V[N].id,DeviceSN:V[N].condition.deviceSN,dataID:V[N].condition.dataID,index:N,result:L},te=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[r].id);if(te.isEdge()){var ae="";"Forward"==ee.ID?a.configData.components.cells[r].data.detail.active[N].ForwardResult=ee.result:"Reverse"==ee.ID&&(a.configData.components.cells[r].data.detail.active[N].ReverseResult=ee.result);var ne=a.configData.components.cells[r].data.detail.active[0].ForwardResult,ue=a.configData.components.cells[r].data.detail.active[1].ReverseResult;ae=ne?"ant-line-forward 30s infinite linear":ue?"ant-line-inverse 30s infinite linear":"none",te.setAttrs({line:{style:{animation:ae}}})}else a.$EventBus.$emit(a.configData.components.cells[r].data.detail.identifier+"activeEvent",ee)}},r=0,s=a.configData.components.cells.length;r<s;r++)o()}if(!a.chargePagePopUp&&a.PopUpDialog)for(var c=0,l=e.Data.length;c<l;c++)if(-1!=a.CurrentPopRealUUIDList.indexOf(e.Data[c].Uuid)||-1!=a.CurrentPopModelUUIDList.indexOf(e.Data[c].ModelDataUuid)){if(void 0===a.PopUpConfigData.components||!a.PopUpConfigData.components.cells)return;var D=a.PopUpConfigData.components.cells;if(!Array.isArray(D)||0===D.length)return;for(var d=function(){if(void 0!==a.PopUpConfigData.components.cells[p].data.detail.animate&&void 0!==a.PopUpConfigData.components.cells[p].data.detail.animate.condition){var t=a.PopUpConfigData.components.cells[p].data.detail.animate.condition,n=a.PopUpConfigData.components.cells[p].data.detail.animate.selected,u=a.PopUpConfigData.components.cells[p].data.detail.animate.isExpression;
//动画
if(t.isBandDevice){var i=!1;if(e.DeviceUuid==t.deviceSN&&(t.dataID==e.Data[c].ModelDataUuid||t.dataID==e.Data[c].Uuid)){var o=parseFloat(e.Data[c].Value);if(u){var r=parseFloat(t.OperatorValue);switch(t.operator){case"==":i=o==r;break;case">":i=o>r;break;case">=":i=o>=r;break;case"<":i=o<r;break;case"<=":i=o<=r;break;case"!=":i=o!=r;break;case"<>":var s=parseFloat(t.OperatorMaxValue);i=o>=r&&o<=s;break;case"<!>":var l=parseFloat(t.OperatorMaxValue);i=o<=r||o>=l}if(n.includes("visible")){var D=a.ISMPopUpRunningContainer.getCellById(a.PopUpConfigData.components.cells[p].id);i?(D.setVisible(!0),a.PopUpConfigData.components.cells[p].data.detail.style.visible=!0):(a.PopUpConfigData.components.cells[p].data.detail.style.visible=!1,D.setVisible(!1))}a.$EventBus.$emit(a.PopUpConfigData.components.cells[p].data.detail.identifier+"animateEvent",i)}}}else if(e.DeviceUuid==a.SelectDeviceUuid){var d=!1;if(t.dataID==e.Data[c].ModelDataUuid||t.dataID==e.Data[c].Uuid){var f=parseFloat(e.Data[c].Value);if(u){var C=parseFloat(t.OperatorValue);switch(t.operator){case"==":d=f==C;break;case">":d=f>C;break;case">=":d=f>=C;break;case"<":d=f<C;break;case"<=":d=f<=C;break;case"!=":d=f!=C;break;case"<>":var F=parseFloat(t.OperatorMaxValue);d=f>=C&&f<=F;break;case"<!>":var g=parseFloat(t.OperatorMaxValue);d=f<=C||f>=g}if(n.includes("visible")){var v=a.ISMPopUpRunningContainer.getCellById(a.PopUpConfigData.components.cells[p].id);d?(v.setVisible(!0),a.PopUpConfigData.components.cells[p].data.detail.style.visible=!0):(a.PopUpConfigData.components.cells[p].data.detail.style.visible=!1,v.setVisible(!1))}a.$EventBus.$emit(a.PopUpConfigData.components.cells[p].data.detail.identifier+"animateEvent",d)}}}}
//位移动画
if(void 0!==a.PopUpConfigData.components.cells[p].data.detail.animate&&void 0!==a.PopUpConfigData.components.cells[p].data.detail.animate.move&&a.PopUpConfigData.components.cells[p].data.detail.animate.selected.includes("animateMove")){var h=a.PopUpConfigData.components.cells[p].data.detail.animate.move.x,m=a.PopUpConfigData.components.cells[p].data.detail.animate.move.y;
//动画
if(h.isBandDevice){if(e.DeviceUuid==h.deviceSN&&(h.dataID==e.Data[c].ModelDataUuid||h.dataID==e.Data[c].Uuid)){var A=parseFloat(e.Data[c].Value),E=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[p].id),b=E.getParent();b&&b.getChildren().forEach((function(e){var t=E.position();e.translate(A,t.y)}));var y=E.position();E.position(A,y.y)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(h.dataID==e.Data[c].ModelDataUuid||h.dataID==e.Data[c].Uuid)){var S=parseFloat(e.Data[c].Value),w=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[p].id),B=w.getParent();B&&B.getChildren().forEach((function(e){var t=w.position();e.translate(S,t.y)}));var P=w.position();w.position(S,P.y)}
//动画
if(m.isBandDevice){if(e.DeviceUuid==m.deviceSN&&(m.dataID==e.Data[c].ModelDataUuid||m.dataID==e.Data[c].Uuid)){var x=parseFloat(e.Data[c].Value),U=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[p].id),k=U.getParent();k&&k.getChildren().forEach((function(e){var t=U.position();e.translate(t.x,x)}));var I=U.position();U.position(I.x,x)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(m.dataID==e.Data[c].ModelDataUuid||m.dataID==e.Data[c].Uuid)){var M=parseFloat(e.Data[c].Value),$=a.ISMRuningCavasContainer.getCellById(a.configData.components.cells[p].id),R=$.getParent();R&&R.getChildren().forEach((function(e){var t=$.position();e.translate(t.x,M)}));var O=$.position();$.position(O.x,M)}}if(void 0!==a.PopUpConfigData.components.cells[p].data.detail.active)for(var j=a.PopUpConfigData.components.cells[p].data.detail.active,V="",L=0;L<j.length;L++)if(j[L].condition.isBandDevice){if(e.DeviceUuid==j[L].condition.deviceSN&&(j[L].condition.dataID==e.Data[c].ModelDataUuid||j[L].condition.dataID==e.Data[c].Uuid)){if(void 0!==j[L].isExpression&&j[L].isExpression){var N=parseFloat(e.Data[c].Value),T=parseFloat(j[L].condition.OperatorValue);switch(j[L].condition.operator){case"==":V=N==T;break;case">":V=N>T;break;case">=":V=N>=T;break;case"<":V=N<T;break;case"<=":V=N<=T;break;case"!=":V=N!=T;break;case"<>":var z=parseFloat(j[L].condition.OperatorMaxValue);V=N>=T&&N<=z;break;case"<!>":var _=parseFloat(j[L].condition.OperatorMaxValue);V=N<=T||N>=_}}else V=e.Data[c].Value;j[L].result=V;var W={ID:j[L].id,DeviceSN:j[L].condition.deviceSN,dataID:j[L].condition.dataID,index:L,result:V},K=a.ISMPopUpRunningContainer.getCellById(a.PopUpConfigData.components.cells[p].id);if(K.isEdge()){var q="";"Forward"==W.ID?a.configData.components.cells[p].data.detail.active[L].ForwardResult=W.result:"Reverse"==W.ID&&(a.configData.components.cells[p].data.detail.active[L].ReverseResult=W.result);var H=a.configData.components.cells[p].data.detail.active[0].ForwardResult,Y=a.configData.components.cells[p].data.detail.active[1].ReverseResult;q=H?"ant-line-forward 30s infinite linear":Y?"ant-line-inverse 30s infinite linear":"none",K.setAttrs({line:{style:{animation:q}}})}else a.$EventBus.$emit(a.PopUpConfigData.components.cells[p].data.detail.identifier+"activeEvent",W)}}else if(e.DeviceUuid==a.SelectDeviceUuid&&(j[L].condition.dataID==e.Data[c].ModelDataUuid||j[L].condition.dataID==e.Data[c].Uuid)){if(void 0!==j[L].isExpression&&j[L].isExpression){var Z=parseFloat(e.Data[c].Value),J=parseFloat(j[L].condition.OperatorValue);switch(j[L].condition.operator){case"==":V=Z==J;break;case">":V=Z>J;break;case">=":V=Z>=J;break;case"<":V=Z<J;break;case"<=":V=Z<=J;break;case"!=":V=Z!=J;break;case"<>":var X=parseFloat(j[L].condition.OperatorMaxValue);V=Z>=J&&Z<=X;break;case"<!>":var G=parseFloat(j[L].condition.OperatorMaxValue);V=Z<=J||Z>=G}}else V=e.Data[c].Value;j[L].result=V;var Q={ID:j[L].id,DeviceSN:j[L].condition.deviceSN,dataID:j[L].condition.dataID,index:L,result:V},ee=a.ISMPopUpRunningContainer.getCellById(a.PopUpConfigData.components.cells[p].id);if(ee)if(ee.isEdge()){var te="";"Forward"==Q.ID?a.configData.components.cells[p].data.detail.active[L].ForwardResult=Q.result:"Reverse"==Q.ID&&(a.configData.components.cells[p].data.detail.active[L].ReverseResult=Q.result);var ae=a.configData.components.cells[p].data.detail.active[0].ForwardResult,ne=a.configData.components.cells[p].data.detail.active[1].ReverseResult;te=ae?"ant-line-forward 30s infinite linear":ne?"ant-line-inverse 30s infinite linear":"none",ee.setAttrs({line:{style:{animation:te}}})}else a.$EventBus.$emit(a.PopUpConfigData.components.cells[p].data.detail.identifier+"activeEvent",Q)}},p=0,f=a.PopUpConfigData.components.cells.length;p<f;p++)d()}a.$EventBus.$emit("DealWithRealDataFinish",!0)},showComponent:function(e,t){var a=this.ISMRuningCavasContainer.getCellById(e);a.setVisible(t);var n=a.getChildren();null!=n&&n.forEach((function(e){e.setVisible(t);var a=e.getData();a.UpdateNodeFlag=(new Date).getTime(),a.detail.style.visible=t,e.setData(a,{overwrite:!0})}));var u=a.getData();u.UpdateNodeFlag=(new Date).getTime(),u.detail.style.visible=t,a.setData(u,{overwrite:!0})},showPage:function(e){
//  this.PopUpDialog = false
if(void 0!==e.isPopUp&&1==e.isPopUp){var t=this;if(this.IsAutoClose=e.autoClose,"Inside"==e.linkType){var a={pageType:1,displayUUID:e.Inside.displayUUID,pageUuid:e.Inside.pageUUID};t.isExternUrl=!1,t.chargePagePopUp=!0,this.CurrentPopRealUUIDList=[],this.CurrentPopModelUUIDList=[],this.CurrentPagerPopRealDataUuidList=[],this.CurrentPagerPopRealDeviceUuidList=[],
// this.$message.loading({content: 'Loading...', loadingKey, duration: 0});
this.selectPopUpDisplayPageDataStruct({page:a,callback:function(e,a,n){0==e?(t.$message.destroy(),t.chargePagePopUp=!1,t.PopUpDialog=!0,t.CurrentPagerPopRealDataUuidList=a,t.CurrentPagerPopRealDeviceUuidList=n,t.$message.loading({content:"Loading...",loadingKey:Re,duration:0}),setTimeout((function(){t.$message.destroy(),t.RunPopUpCavasContainerInit(t.PopUpConfigData.layer.autoSize,t.PopUpConfigData.layer.Padding)}),10)):(t.$message.error(t.$t("readData.NotFindPage")),setTimeout((function(){t.$message.destroy()}),1e3))}})}else t.chargePagePopUp=!1,t.isExternUrl=!0,t.linkInfoExternal.width=e.width,t.linkInfoExternal.height=e.height,t.linkInfoExternal.url=e.External,
// _t.$refs.PopUpDialog.vcenter()
t.PopUpDialog=!0,void 0!==e.title?""==e.title?this.PopUpConfigData.PageName="外部网页":this.PopUpConfigData.PageName=e.title:this.PopUpConfigData.PageName="外部网页"}else if("Inside"==e.linkType){var n=this,u={pageType:1,displayUUID:e.Inside.displayUUID,pageUuid:e.Inside.pageUUID};n.CurrentRealUUIDList=[],n.CurrentModelUUIDList=[],this.CurrentPagerRealDataUuidList=[],this.CurrentPagerRealDeviceUuidList=[],
// this.$message.loading({content: 'Loading...', loadingKey, duration: 0});
this.selectDisplayPageDataStruct({page:u,callback:function(e,t){n.$message.destroy(),n.CurrentPagerRealDataUuidList=e,n.CurrentPagerRealDeviceUuidList=t,n.RunCavasContainerInit(n.configData.layer.autoSize,n.configData.layer.Padding)}})}else"External"==e.linkType&&(void 0===e.OpenExternalType?window.open(e.External,"_blank"):"self"==e.OpenExternalType?window.open(e.External,"_self"):"new"==e.OpenExternalType&&window.open(e.External,"_blank"))},initPinchZoom:function(){var e=this;try{var t={MIN_ZOOM:.1,MAX_ZOOM:3,DEBOUNCE_TIME:30,PINCH_THRESHOLD:.1},a=this.$refs.ISMRunningContainer,n=this.ISMRuningCavasContainer;// X6 Graph 实例
if(!a||!n)return;
// 手动维护缩放比例（初始值 1，不受 X6 API 影响）
this.currentAbsoluteZoom=this.currentAbsoluteZoom||1;var u=1,i=null,o=a.getBoundingClientRect(),r=new $e.a.Manager(a,{touchAction:"manipulation",recognizers:[[$e.a.Pinch,{pointers:2,threshold:t.PINCH_THRESHOLD}]]});
// 捏合事件
r.on("pinch",(function(a){var r=a.scale/u;u=a.scale;
// 计算新的绝对缩放比例（手动维护，不依赖 X6 API）
var s=e.currentAbsoluteZoom*r;s=Math.max(t.MIN_ZOOM,Math.min(s,t.MAX_ZOOM));
// 缩放中心点
var c,l,D=(c=a.center.x,l=a.center.y,{x:c-o.left,y:l-o.top});
// 防抖执行缩放
clearTimeout(i),i=setTimeout((function(){
// X6 缩放：v1.x 和 v2.x 都支持的调用方式
n.zoom(s,{x:D.x,y:D.y,absolute:!0}),
// 更新手动维护的缩放比例
e.currentAbsoluteZoom=s}),t.DEBOUNCE_TIME)})),
// 捏合结束重置
r.on("pinchend pinchcancel",(function(){u=1,clearTimeout(i)})),this.hammerManager=r}catch(e){}},RunCavasContainerInit:function(e,t){var a=this,n=this,u=1==e,i=1==t;this.rebuildRef=!0,this.tempAutoSizePager!=u&&(this.tempAutoSizePager=u,null!=this.ISMRuningCavasContainer&&(this.ISMRuningCavasContainer.clearCells(),
// 移除事件
this.ISMRuningCavasContainer.off(),this.ISMRuningCavasContainer.dispose(),this.ISMRuningCavasContainer=null),this.rebuildRef=!1);var o=n.configData.layer.width,r=n.configData.layer.height;Object(A.a)({shape:"view-ism-group-node",width:100,height:100,component:E.a,data:{locked:!1,UpdateNodeFlag:!0,editMode:!0,showDeviceUuid:"",IsToolBox:!1,detail:E.a}}),u&&(o=window.innerWidth,r=window.innerHeight),null!=this.ISMRuningCavasContainer?(this.ISMRuningCavasContainer.resize(o,r),this.ISMRuningCavasContainer.drawBackground({color:n.configData.layer.backColor,
// 背景底色（可选）
image:n.configData.layer.backgroundImage,size:"100% 100%",repeat:"no-repeat",quality:1}),i?(this.ISMRuningCavasContainer.enablePanning(),this.ISMRuningCavasContainer.enableMouseWheel()):(this.ISMRuningCavasContainer.disablePanning(),this.ISMRuningCavasContainer.disableMouseWheel())):(this.ISMRuningCavasContainer=new m.d({container:this.$refs.ISMRunningContainer,width:n.configData.layer.width,height:n.configData.layer.height,panning:i,mousewheel:i,autoResize:!1,grid:!1,virtual:!1,async:!1,connecting:{router:"manhattan",connector:{name:"rounded",args:{radius:8}},anchor:"center",connectionPoint:"anchor",allowBlank:!1,snap:!1},background:{color:n.configData.layer.backColor,
// 背景底色（可选）
image:n.configData.layer.backgroundImage,size:"100% 100%",repeat:"no-repeat",quality:1},interacting:function(e){return{nodeMovable:!1,magnetConnectable:!1,
// 禁止节点移动
edgeMovable:!1,
// 禁止边移动
edgeLabelMovable:!1,
// 禁止箭头移动
arrowheadMovable:!1,
// 禁止顶点移动
vertexMovable:!1,
// 禁止添加顶点
vertexAddable:!1,
// 禁止删除顶点
vertexDeletable:!1}}}),this.initPinchZoom(),this.ISMRuningCavasContainer.use(new m.f({enabled:!0,global:!0})),i?(this.ISMRuningCavasContainer.enablePanning(),this.ISMRuningCavasContainer.enableMouseWheel()):(this.ISMRuningCavasContainer.disablePanning(),this.ISMRuningCavasContainer.disableMouseWheel())),this.tempAutoSize=this.configData.layer.autoSize,u?this.setScale():(this.ISMRuningCavasContainer.resize(o,r),this.ISMRuningCavasContainer.scale(1,1)),this.ISMRuningCavasContainer.clearCells(),this.ISMRuningCavasContainer.off("node:click"),this.ISMRuningCavasContainer.off("node:dblclick"),this.ISMRuningCavasContainer.off("node:mousedown"),this.ISMRuningCavasContainer.off("node:mouseup"),this.ISMRuningCavasContainer.off("node:mouseenter"),this.ISMRuningCavasContainer.off("node:mouseleave"),this.ISMRuningCavasContainer.off("render:done"),this.ISMRuningCavasContainer.off("blank:contextmenu"),this.ISMRuningCavasContainer.off("cell:contextmenu"),this.ISMRuningCavasContainer.off("scale"),window.removeEventListener("resize",this.setScale),window.addEventListener("resize",this.setScale),this.ISMRuningCavasContainer.on("scale",(function(e){})),
this.ISMRuningCavasContainer.on("node:click",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"click")}catch(e){}})),this.ISMRuningCavasContainer.on("node:dblclick",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"dblclick")}catch(e){}})),this.ISMRuningCavasContainer.on("node:mousedown",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"mousedown")}catch(e){}})),this.ISMRuningCavasContainer.on("node:mouseup",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseup")}catch(e){}})),this.ISMRuningCavasContainer.on("node:mouseenter",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseenter")}catch(e){}})),this.ISMRuningCavasContainer.on("node:mouseleave",(function(e){e.e,e.x,e.y;var t=e.node;e.view;try{var a=t.prop().data.detail;n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseleave")}catch(e){}})),
//页面空白处右键菜单
this.ISMRuningCavasContainer.on("blank:contextmenu",(function(e){var t=e.e;e.x,e.y,e.cell,e.view;a.onContextLayerMenu(t)})),this.ISMRuningCavasContainer.on("cell:contextmenu",(function(e){var t=e.e;e.x,e.y,e.cell,e.view;a.onContextLayerMenu(t)})),this.ISMRuningCavasContainer.bindKey("ctrl+l",(function(){return a.lockScreen(),!1})),
//==============================
//监听页面是否渲染完成，完成后就发广播给节点，告诉节点是在编辑模式
this.ISMRuningCavasContainer.on("render:done",(function(){a.tempAutoSize=a.configData.layer.autoSize,
// this.setScale()
a.$EventBus.$emit("cell-editMode",{edit:!1,toolbox:!1}),a.$EventBus.$emit("cell-vuex",{PMapState:D.e,PMapActions:D.b,PMapMutations:D.d,PStore:a.$store,PRouter:a.$router}),a.InitPagerRealData()}));try{n.ISMRuningCavasContainer.fromJSON(n.configData.components)}catch(e){n.$message.error(n.$t("Render.GetPageError"))}},RunPopUpCavasContainerInit:function(e,t){var a=this,n=this,u=1==e,i=1==t;null!=this.ISMPopUpRunningContainer&&(this.ISMPopUpRunningContainer.dispose(),this.ISMPopUpRunningContainer=null),Object(A.a)({shape:"view-ism-group-node",width:100,height:100,component:E.a,data:{locked:!1,UpdateNodeFlag:!0,editMode:!0,showDeviceUuid:"",IsToolBox:!1,detail:E.a}}),this.ISMPopUpRunningContainer=new m.d({container:this.$refs.ISMPopUpRunningContainer,width:n.PopUpConfigData.layer.width,height:n.PopUpConfigData.layer.height,panning:i,mousewheel:i,autoResize:u,grid:!1,virtual:!1,async:!1,background:{color:n.PopUpConfigData.layer.backColor,
// 背景底色（可选）
image:n.PopUpConfigData.layer.backgroundImage,size:"100% 100%",repeat:"no-repeat",quality:1},interacting:function(e){return{nodeMovable:!1,magnetConnectable:!1,
// 禁止节点移动
edgeMovable:!1,
// 禁止边移动
edgeLabelMovable:!1,
// 禁止箭头移动
arrowheadMovable:!1,
// 禁止顶点移动
vertexMovable:!1,
// 禁止添加顶点
vertexAddable:!1,
// 禁止删除顶点
vertexDeletable:!1}}}),this.ISMPopUpRunningContainer.on("scale",(function(e){})),
this.ISMPopUpRunningContainer.on("node:click",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"click")})),this.ISMPopUpRunningContainer.on("node:dblclick",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"dblclick")})),this.ISMPopUpRunningContainer.on("node:mousedown",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"mousedown")})),this.ISMPopUpRunningContainer.on("node:mouseup",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseup")})),this.ISMPopUpRunningContainer.on("node:mouseenter",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseenter")})),this.ISMPopUpRunningContainer.on("node:mouseleave",(function(e){e.e,e.x,e.y;var t=e.node,a=(e.view,t.prop().data.detail);n.SelectCurrentNodeData=a,n.doComponentAction(a,"mouseleave")})),
//页面空白处右键菜单
this.ISMPopUpRunningContainer.on("blank:contextmenu",(function(e){e.node;a.onContextLayerMenu()})),this.ISMPopUpRunningContainer.on("render:done",(function(){a.$EventBus.$emit("cell-editMode",{edit:!1,toolbox:!1}),a.$EventBus.$emit("cell-vuex",{PMapState:D.e,PMapActions:D.b,PMapMutations:D.d,PStore:a.$store,PRouter:a.$router}),a.InitPopUpPagerRealData()}));
//==============================
try{n.ISMPopUpRunningContainer.fromJSON(n.PopUpConfigData.components)}catch(e){n.$message.error(n.$t("Render.GetPageError"))}}}),mounted:function(){var e=this.$createElement;this.setPasswordDialog=!1,this.settingDialog=!1,this.PopUpDialog=!1;var t=this,a=this;this.$nextTick((function(){var n=this;t.loadPager(),t.$EventBus.$off("readDataPush"),t.$EventBus.$off("onSelectDevice"),t.$EventBus.$off("SystemData"),t.$EventBus.$off("StaticData"),t.$EventBus.$off("RealAlarm"),t.$EventBus.$off("ChargePage"),t.$EventBus.$off("PlayVoice"),t.$EventBus.$on("PlayVoice",(function(e){var t=e;a.alarmSoundSpeech().start({container:"#sppekContent",Lang:a.$i18n.locale,rate:1},t.VoiceString)})),t.$EventBus.$off("GoPage"),t.$EventBus.$on("GoPage",(function(e){var a=localStorage.getItem("JumpWindow"),n=!1;if("null"==a||null==a||""==a)n=!0;else try{n=(a=JSON.parse(a)).enable}catch(e){n=!0}if(n){var u=e,i={isPopUp:u.IsPopUp,autoClose:u.AutoClose,linkType:void 0!==u.linkType?u.linkType:"Inside",Inside:{displayUUID:u.ModelId,pageUUID:u.PageUuid},width:u.width,height:u.height,External:u.External,title:u.External,OpenExternalType:u.OpenExternalType};t.showPage(i)}})),t.$EventBus.$on("onSelectDevice",(function(e){if(1==e.type){t.showAppUUID=e.showUUID,t.showPageUUID=e.showPageUUID,t.SelectDeviceUuid=e.key;var a={pageType:1,displayUUID:t.showAppUUID,pageUuid:t.showPageUUID};void 0!==e.isPopUp&&e.isPopUp?(t.chargePagePopUp=!0,
// _t.$message.loading({content: 'Loading...', loadingKey, duration: 0});
t.selectPopUpDisplayPageDataStruct({page:a,callback:function(e,a,n){t.$message.destroy(),t.chargePagePopUp=!1,0==e?(t.PopUpDialog=!0,t.$message.loading({content:"Loading...",loadingKey:Re,duration:0}),t.CurrentPagerPopRealDataUuidList=a,t.CurrentPagerPopRealDeviceUuidList.push(t.SelectDeviceUuid),setTimeout((function(){t.$message.destroy(),t.RunPopUpCavasContainerInit(t.PopUpConfigData.layer.autoSize,t.PopUpConfigData.layer.Padding)}),10)):t.$message.error(t.$t("Render.GetPageError"))}})):(t.chargePage=!0,
// _t.$message.loading({content: 'Loading...', loadingKey, duration: 0});
t.CurrentRealUUIDList=[],t.CurrentModelUUIDList=[],t.CurrentPagerRealDataUuidList=[],t.CurrentPagerRealDeviceUuidList=[],t.selectDisplayPageDataStruct({page:a,callback:function(e,a){t.$message.destroy(),t.CurrentPagerRealDataUuidList=e,t.CurrentPagerRealDeviceUuidList[0]=t.SelectDeviceUuid,t.RunCavasContainerInit(t.configData.layer.autoSize,t.configData.layer.Padding)}}))}})),t.$EventBus.$on("readDataPush",(function(e){t.DealWithUpdateData(e)})),t.$EventBus.$on("StaticData",(function(e){t.DealWithUpdateData(e)})),t.$EventBus.$on("SystemData",(function(e){if(!t.chargePage){var a=e,u=Object(g.d)(g.a.AUTH1);if(void 0===t.configData.components||!t.configData.components.cells)return;var i=t.configData.components.cells;if(!Array.isArray(i)||0===i.length)return;for(var o=0;o<a.Data.length;o++)for(var r=0;r<t.configData.components.cells.length;r++){if(void 0!==t.configData.components.cells[r].data.detail.animate&&void 0!==t.configData.components.cells[r].data.detail.animate.condition){var s=t.configData.components.cells[r].data.detail.animate.condition,c=t.configData.components.cells[r].data.detail.animate.isExpression;
//动画
if(void 0!==s&&a.ProjectUuid==u){var l=!1;if(s.dataID==a.Data[o].Uuid){var D=parseFloat(a.Data[o].Value);if(c){var d=parseFloat(s.OperatorValue);switch(s.operator){case"==":l=D==d;break;case">":l=D>d;break;case">=":l=D>=d;break;case"<":l=D<d;break;case"<=":l=D<=d;break;case"!=":l=D!=d;break;case"<>":var p=parseFloat(s.OperatorMaxValue);l=D>=d&&D<=p}t.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"animateEvent",l)}}}}if(void 0!==t.configData.components.cells[r].data.detail.animate&&void 0!==t.configData.components.cells[r].data.detail.animate.move&&t.configData.components.cells[r].data.detail.animate.selected.includes("animateMove")){var f=t.configData.components.cells[r].data.detail.animate.move.x,C=t.configData.components.cells[r].data.detail.animate.move.y;
//动画
if(f.isBandDevice){if(a.DeviceUuid==f.deviceSN&&(f.dataID==a.Data[o].ModelDataUuid||f.dataID==a.Data[o].Uuid)){var F=parseFloat(a.Data[o].Value),v={ID:"animateMoveX",DeviceSN:f.deviceSN,dataID:f.dataID,result:F};t.configData.components.cells[r].data.detail.style.position.x=F,n.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"animateMove",v)}}else if(a.DeviceUuid==t.SelectDeviceUuid&&(f.dataID==a.Data[o].ModelDataUuid||f.dataID==a.Data[o].Uuid)){var h=parseFloat(a.Data[o].Value),m={ID:"animateMoveX",DeviceSN:f.deviceSN,dataID:f.dataID,result:h};t.configData.components.cells[r].data.detail.style.position.x=h,n.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"animateMove",m)}
//动画
if(C.isBandDevice){if(a.DeviceUuid==C.deviceSN&&(C.dataID==a.Data[o].ModelDataUuid||C.dataID==a.Data[o].Uuid)){var A=parseFloat(a.Data[o].Value),E={ID:"animateMoveY",DeviceSN:C.deviceSN,dataID:C.dataID,result:A};t.configData.components.cells[r].data.detail.style.position.y=A,n.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"animateMove",E)}}else if(a.DeviceUuid==t.SelectDeviceUuid&&(C.dataID==a.Data[o].ModelDataUuid||C.dataID==a.Data[o].Uuid)){var b=parseFloat(a.Data[o].Value),y={ID:"animateMoveY",DeviceSN:C.deviceSN,dataID:C.dataID,result:b};t.configData.components.cells[r].data.detail.style.position.y=b,n.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"animateMove",y)}}if(void 0!==t.configData.components.cells[r].data.detail.active){var S=t.configData.components.cells[r].data.detail.active;
//动作
if(void 0!==S)for(var w="",B=0;B<S.length;B++)if(a.ProjectUuid==u&&S[B].condition.dataID==a.Data[o].Uuid){if(void 0!==S[B].isExpression&&S[B].isExpression){var P=parseFloat(a.Data[o].Value),x=parseFloat(S[B].condition.OperatorValue);switch(S[B].condition.operator){case"==":w=P==x;break;case">":w=P>x;break;case">=":w=P>=x;break;case"<":w=P<x;break;case"<=":w=P<=x;break;case"!=":w=P!=x;break;case"<>":var U=parseFloat(S[B].condition.OperatorMaxValue);w=P>=x&&P<=U}}else w=a.Data[o].Value;S[B].result=w;var k={ID:S[B].id,dataID:S[B].condition.dataID,index:B,result:w};t.$EventBus.$emit(t.configData.components.cells[r].data.detail.identifier+"activeEvent",k)}}}}if(!t.chargePagePopUp){var I=e,M=Object(g.d)(g.a.AUTH1);if(void 0===t.PopUpConfigData.components||!t.PopUpConfigData.components.cells)return;var $=t.PopUpConfigData.components.cells;if(!Array.isArray($)||0===$.length)return;for(var R=0;R<I.Data.length;R++)for(var O=0;O<t.PopUpConfigData.components.cells.length;O++){if(void 0!==t.PopUpConfigData.components.cells[O].data.detail.animate&&void 0!==t.PopUpConfigData.components.cells[O].data.detail.animate.condition){var j=t.PopUpConfigData.components.cells[O].data.detail.animate.condition,V=t.PopUpConfigData.components.cells[O].data.detail.animate.isExpression;
//动画
if(void 0!==j&&I.ProjectUuid==M){var L=!1;if(j.dataID==I.Data[R].Uuid){var N=parseFloat(I.Data[R].Value);if(V){var T=parseFloat(j.OperatorValue);switch(j.operator){case"==":L=N==T;break;case">":L=N>T;break;case">=":L=N>=T;break;case"<":L=N<T;break;case"<=":L=N<=T;break;case"!=":L=N!=T;break;case"<>":var z=parseFloat(j.OperatorMaxValue);L=N>=T&&N<=z}t.$EventBus.$emit(t.PopUpConfigData.components.cells[O].data.detail.identifier+"animateEvent",L)}}}}
//位移动画
if(void 0!==t.PopUpConfigData.components.cells[O].data.detail.animate&&void 0!==t.PopUpConfigData.components.cells[O].data.detail.animate.move&&t.PopUpConfigData.components.cells[O].data.detail.animate.selected.includes("animateMove")){var _=t.PopUpConfigData.components.cells[O].data.detail.animate.move.x,W=t.PopUpConfigData.components.cells[O].data.detail.animate.move.y;
//动画
if(_.isBandDevice){if(I.DeviceUuid==_.deviceSN&&(_.dataID==I.Data[R].ModelDataUuid||_.dataID==I.Data[R].Uuid)){var K=parseFloat(I.Data[R].Value),q={ID:"animateMoveX",DeviceSN:_.deviceSN,dataID:_.dataID,result:K};t.configData.components.cells[O].data.detail.style.position.x=K,n.$EventBus.$emit(t.PopUpConfigData.components.cells[O].data.detail.identifier+"animateMove",q)}}else if(I.DeviceUuid==t.SelectDeviceUuid&&(_.dataID==I.Data[R].ModelDataUuid||_.dataID==I.Data[R].Uuid)){var H=parseFloat(I.Data[R].Value),Y={ID:"animateMoveX",DeviceSN:_.deviceSN,dataID:_.dataID,result:H};t.configData.components.cells[O].data.detail.style.position.x=H,n.$EventBus.$emit(t.PopUpConfigData.components.cells[O].data.detail.identifier+"animateMove",Y)}
//动画
if(W.isBandDevice){if(I.DeviceUuid==W.deviceSN&&(W.dataID==I.Data[R].ModelDataUuid||W.dataID==I.Data[R].Uuid)){var Z=parseFloat(I.Data[R].Value),J={ID:"animateMoveY",DeviceSN:W.deviceSN,dataID:W.dataID,result:Z};t.PopUpConfigData.components.cells[O].data.detail.style.position.y=Z,n.$EventBus.$emit(t.PopUpConfigData.components.cells[O].data.detail.identifier+"animateMove",J)}}else if(I.DeviceUuid==t.SelectDeviceUuid&&(W.dataID==I.Data[R].ModelDataUuid||W.dataID==I.Data[R].Uuid)){var X=parseFloat(I.Data[R].Value),G={ID:"animateMoveY",DeviceSN:W.deviceSN,dataID:W.dataID,result:X};t.PopUpConfigData.components.cells[O].data.detail.style.position.y=X,n.$EventBus.$emit(t.configData.components.cells[O].data.detail.identifier+"animateMove",G)}}if(void 0!==t.PopUpConfigData.components.cells[O].data.detail.active){var Q=t.PopUpConfigData.components.cells[O].data.detail.active;
//动作
if(void 0!==Q)for(var ee="",te=0;te<Q.length;te++)if(I.ProjectUuid==M&&Q[te].condition.dataID==I.Data[R].Uuid){if(void 0!==Q[te].isExpression&&Q[te].isExpression){var ae=parseFloat(I.Data[R].Value),ne=parseFloat(Q[te].condition.OperatorValue);switch(Q[te].condition.operator){case"==":ee=ae==ne;break;case">":ee=ae>ne;break;case">=":ee=ae>=ne;break;case"<":ee=ae<ne;break;case"<=":ee=ae<=ne;break;case"!=":ee=ae!=ne;break;case"<>":var ue=parseFloat(Q[te].condition.OperatorMaxValue);ee=ae>=ne&&ae<=ue}}else ee=I.Data[R].Value;Q[te].result=ee;var ie={ID:Q[te].id,dataID:Q[te].condition.dataID,index:te,result:ee};t.$EventBus.$emit(t.PopUpConfigData.components.cells[O].data.detail.identifier+"activeEvent",ie)}}}}})),t.$EventBus.$on("RealAlarm",(function(t){var u=t,i="",o="",r="",s="",c=a.formatDateTime(u.HappenTime);"1"==u.Value?(i=a.$t("monitor.Notification.MessageAlarmTitle"),o=n.$t(u.AlarmMessage),s=a.$t("alarm.Speech.tips")):(i=a.$t("monitor.Notification.MessageClearAlarmTitle"),o=n.$t(u.AlarmClearMessage)),
//此为摄像头的特殊数据ID需要单独处理
"videoConnectStatusAlarm"==u.DataUuid&&(u.AlarmLevel=3,u.DataName=a.$t("monitor.Notification.public.videoDataName"),o="1"==u.Value?a.$t("monitor.Notification.public.videoOffline"):a.$t("monitor.Notification.public.videoOnline")),0==u.AlarmLevel?r=a.$t("dataModel.alarm.Tips"):1==u.AlarmLevel?r=a.$t("dataModel.alarm.Minor"):2==u.AlarmLevel?r=a.$t("dataModel.alarm.Importance"):3==u.AlarmLevel?r=a.$t("dataModel.alarm.Urgency"):4==u.AlarmLevel&&(r=a.$t("dataModel.alarm.Deadly")),s+=a.$t("monitor.Notification.DeviceTitle"),s+=a.$t(u.DeviceName),s+=a.$t("monitor.Notification.DataTitle"),s+=a.$t(u.DataName),s+=a.$t("dataModel.AlarmLevel"),s+=r,s+=a.$t("monitor.Notification.HappenTime"),s+=c,s+=a.$t("monitor.Notification.Message"),s+=o;var l=localStorage.getItem("AlarmWindow");if("null"==l||null==l||""==l?((l={}).enable=!0,l.isClose=!0):l=JSON.parse(l),l.enable){var D=!1;void 0!==l.Level?(D=l.Level.find((function(e){return e==u.AlarmLevel})),0==l.Level.length&&(D=!0)):D=!0,D&&(a.$notification.warning({message:e("span",[i]),description:e("div",[e("span",{style:"font-size: 14px;font-weight: bold;"},[a.$t("monitor.Notification.DeviceTitle"),":"]),e("span",[a.$t(u.DeviceName)]),e("br"),e("span",{style:"font-size: 14px;font-weight: bold;"},[a.$t("monitor.Notification.DataTitle"),":"]),e("span",[a.$t(u.DataName)]),e("br"),e("span",{style:"font-size: 14px;font-weight: bold;"},[a.$t("dataModel.AlarmLevel"),":"]),e("span",[r]),e("br"),e("span",{style:"font-size: 14px;font-weight: bold;"},[a.$t("monitor.Notification.HappenTime"),":"]),e("span",[c]),e("br"),e("span",{style:"font-size: 14px;font-weight: bold;"},[a.$t("monitor.Notification.Message"),":"]),e("span",[o]),e("br")]),class:"fancy-notification",placement:"bottomRight",duration:l.isClose?5:null,icon:e("a-icon",{attrs:{type:"alert",theme:"filled"},style:{position:"absolute","margin-left":"4px","font-size":"24px","line-height":"24px",color:"red"}}),style:{padding:"10px 5px"}}),a.alarmSoundSpeech().start({container:"#sppekContent",Lang:a.$i18n.locale,rate:1},s))}})),t.$EventBus.$on("ChargePage",(function(e){var a={isPopUp:e.IsPopUp,linkType:"Inside",Inside:{}};""!=e.PageID&&(null!=e.DisPlayID&&""!=e.DisPlayID?a.Inside.displayUUID=e.DisPlayID:a.Inside.displayUUID=n.$route.params.uid,a.Inside.pageUUID=e.PageID,t.showPage(a))}))}))},beforeDestroy:function(){this.hammerManager&&(this.hammerManager.destroy(),this.hammerManager=null)}},je=Oe,Ve=(a("aa3f"),a("96f2"),Object(ke.a)(je,(function(){var e=this,t=e._self._c;return t("div",{ref:"ismrender",style:e.nodeMouseStyleVar},[t("div",{staticClass:"run-graph-container",class:Object(n.a)({animated:!0},"".concat(e.configData.layer.animate),!0)},[t("div",{ref:"ISMRunningContainer"})]),t("a-modal",{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],attrs:{maskClosable:!1,visible:e.settingDialog,footer:null,width:e.isMobile?250:300,destroyOnClose:!0,title:e.$t("monitor.Set")},on:{cancel:function(t){e.settingDialog=!1}}},[t("div",{staticStyle:{padding:"5px"}},[t("a-form",{attrs:{form:e.SetForm}},[""!=e.SetPassword?t("a-form-item",{staticStyle:{"margin-top":"1px","margin-bottom":"2px"},attrs:{label:e.$t("displayConfig.Properties.SetPassword"),labelCol:{span:e.isMobile?8:6},wrapperCol:{span:e.isMobile?16:18}}},[t("a-input",{style:{"text-security":"disc","-webkit-text-security":"disc"},on:{focus:function(t){return e.onInputFocus("SetPassword")}},model:{value:e.SetPasswordFormValue,callback:function(t){e.SetPasswordFormValue=t},expression:"SetPasswordFormValue"}})],1):e._e(),t("a-form-item",{staticStyle:{"margin-top":"2px","margin-bottom":"2px"},attrs:{label:e.$t("monitor.SetValue"),labelCol:{span:e.isMobile?8:6},wrapperCol:{span:e.isMobile?16:18}}},[t("a-textarea",{attrs:{"auto-size":""},on:{focus:function(t){return e.onInputFocus("SetValue")}},model:{value:e.SetValueFormValue,callback:function(t){e.SetValueFormValue=t},expression:"SetValueFormValue"}})],1)],1)],1),t("a-divider"),t("div",{staticClass:"dialog-button"},[t("a-button",{key:"submit",attrs:{type:"primary",loading:e.settingLoading},on:{click:e.ManualSetData}},[e._v(" "+e._s(e.$t("component.deviceDataModel.submit"))+" ")]),t("a-button",{key:"back",staticStyle:{"margin-left":"10px"},on:{click:function(t){e.settingDialog=!1,e.showKeyboard=!1}}},[e._v(" "+e._s(e.$t("component.deviceDataModel.cancel"))+" ")])],1)],1),t("a-modal",{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],attrs:{maskClosable:!1,visible:e.setPasswordDialog,footer:null,width:e.isMobile?250:300,destroyOnClose:!0,title:e.$t("displayConfig.Properties.SetPasswordTips"),draggable:!0,resizable:!0,modal:!1},on:{cancel:function(t){e.setPasswordDialog=!1}}},[t("div",{staticClass:"f-full",staticStyle:{padding:"5px"}},[t("a-form",{attrs:{form:e.SetFormPassword}},[t("a-form-item",{staticStyle:{"margin-top":"15px"},attrs:{label:e.$t("displayConfig.Properties.SetPassword"),labelCol:{span:e.isMobile?8:6},wrapperCol:{span:e.isMobile?16:18}}},[t("a-input",{style:{"text-security":"disc","-webkit-text-security":"disc"},attrs:{type:"text",autocomplete:"off"},on:{focus:function(t){return e.onInputFocus("SetAutoPassword")}},model:{value:e.SetAutoPasswordFormValue,callback:function(t){e.SetAutoPasswordFormValue=t},expression:"SetAutoPasswordFormValue"}})],1)],1)],1),t("a-divider"),t("div",{staticClass:"dialog-button"},[t("a-button",{key:"submit",attrs:{type:"primary",loading:e.settingLoading},on:{click:e.PasswordSetData}},[e._v(" "+e._s(e.$t("component.deviceDataModel.submit"))+" ")]),t("a-button",{key:"back",staticStyle:{"margin-left":"10px"},on:{click:function(t){e.setPasswordDialog=!1,e.showKeyboard=!1}}},[e._v(" "+e._s(e.$t("component.deviceDataModel.cancel"))+" ")])],1)],1),t("a-modal",{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],attrs:{maskClosable:!1,visible:e.actionPasswordDialog,footer:null,width:e.isMobile?250:300,destroyOnClose:!0,title:e.$t("displayConfig.Properties.SetPasswordTips"),draggable:!0,resizable:!0,modal:!1},on:{cancel:function(t){e.actionPasswordDialog=!1}}},[t("div",{staticClass:"f-full",staticStyle:{padding:"5px"}},[t("a-form",{attrs:{form:e.ActionFormPassword}},[t("a-form-item",{staticStyle:{"margin-top":"15px"},attrs:{label:e.$t("displayConfig.Properties.SetPassword"),labelCol:{span:e.isMobile?8:6},wrapperCol:{span:e.isMobile?16:18}}},[t("a-input",{style:{"text-security":"disc","-webkit-text-security":"disc"},attrs:{type:"text",autocomplete:"off"},on:{focus:function(t){return e.onInputFocus("SetActionPassword")}},model:{value:e.ActionPasswordValue,callback:function(t){e.ActionPasswordValue=t},expression:"ActionPasswordValue"}})],1)],1)],1),t("a-divider"),t("div",{staticClass:"dialog-button"},[t("a-button",{key:"submit",attrs:{type:"primary",loading:e.settingLoading},on:{click:e.PasswordSetAction}},[e._v(" "+e._s(e.$t("component.deviceDataModel.submit"))+" ")]),t("a-button",{key:"back",staticStyle:{"margin-left":"10px"},on:{click:function(t){e.actionPasswordDialog=!1,e.showKeyboard=!1}}},[e._v(" "+e._s(e.$t("component.deviceDataModel.cancel"))+" ")])],1)],1),t("a-modal",{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],style:e.stylePopUpVar,attrs:{visible:e.PopUpDialog,centered:!0,forceRender:!0,destroyOnClose:!0,width:(e.isExternUrl?e.linkInfoExternal.width:e.PopUpConfigData.layer.width)+"px",title:void 0!==e.PopUpConfigData.PageName&&""!=e.PopUpConfigData.PageName?e.PopUpConfigData.PageName:"对话框",footer:null,modal:!1},on:{cancel:e.ClosePopDialog}},[t("div",{on:{click:e.PopUpDialogClick}},[e.isExternUrl?t("div",[t("iframe",{attrs:{scrolling:"auto",src:e.linkInfoExternal.url,width:e.linkInfoExternal.width+"px",height:e.linkInfoExternal.height+"px",frameborder:"0"}})]):t("div",[e.PopUpConfigData.layer?t("div",{ref:"ismrender1",staticClass:"ism-popup-render",style:e.popUpStyle,on:{contextmenu:function(t){return t.preventDefault(),e.componentRightDialogClick.apply(null,arguments)}}},[t("div",{staticClass:"run-graph-container",class:Object(n.a)({animated:!0},"".concat(e.PopUpConfigData.layer.animate),!0)},[t("div",{ref:"ISMPopUpRunningContainer"})])]):e._e()])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showKeyboard&&e.configData.layer.virtuallyKey,expression:"showKeyboard&&configData.layer.virtuallyKey"}]},[t("SimpleKeyboard",{ref:"SimpleKeyboard",on:{onChange:e.onChangeKeyboard,onKeyPress:e.onKeyPress}})],1),t("LockScreen")],1)}),[],!1,null,"48f425c2",null)
/* harmony default export */);
// CONCATENATED MODULE: ./src/pages/ISMDisPlay/ISMRender.vue?vue&type=script&lang=js
/* harmony default export */t.a=Ve.exports},
/***/"1fc1":
/***/function(e,t,a){"use strict";
// ESM COMPAT FLAG
a.r(t);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/ISMDisPlay/ShareApp.vue?vue&type=template&id=06a617d2
var n={name:"AppRun",components:{ISMRender:a("07ac4").a},methods:{},created:function(){},mounted:function(){}},u=(a("3589"),a("2877")),i=Object(u.a)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"ism-pageview"},[t("ISMRender",{attrs:{showUuid:e.$route.params.uid,showDeviceUuid:"",showToken:e.$route.params.token}})],1)}),[],!1,null,null,null)
/* harmony default export */;t.default=i.exports},
/***/"2f70":
/***/function(e,t,a){
// extracted by mini-css-extract-plugin
/***/},
/***/3589:
/***/function(e,t,a){"use strict";
/* harmony import */a("2f70");
/* harmony import */},
/***/"361e":
/***/function(e,t,a){
// extracted by mini-css-extract-plugin
/***/},
/***/"94d8":
/***/function(e,t,a){
// extracted by mini-css-extract-plugin
/***/},
/***/"96f2":
/***/function(e,t,a){"use strict";
/* harmony import */a("c778");
/* harmony import */},
/***/aa3f:
/***/function(e,t,a){"use strict";
/* harmony import */a("361e");
/* harmony import */},
/***/c778:
/***/function(e,t,a){
// extracted by mini-css-extract-plugin
/***/},
/***/f9e8:
/***/function(e,t,a){"use strict";
/* harmony import */a("94d8");
/* harmony import */}}]);