@huaweicloud/km-preview-component
Version:
KooMessage 模板预览组件
1 lines • 1.91 MB
JavaScript
(()=>{var t,e,n,o,i,r,a,s,c,l,p={};p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),(()=>{"use strict";var t,e={},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,i,r)=>{if(!n){var a=1/0;for(p=0;p<t.length;p++){for(var[n,i,r]=t[p],s=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every((t=>o.O[t](n[c])))?n.splice(c--,1):(s=!1,r<a&&(a=r));if(s){t.splice(p--,1);var l=i();void 0!==l&&(e=l)}}return e}r=r||0;for(var p=t.length;p>0&&t[p-1][2]>r;p--)t[p]=t[p-1];t[p]=[n,i,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={666:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var i,r,[a,s,c]=n,l=0;if(a.some((e=>0!==t[e]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(c)var p=c(o)}for(e&&e(n);l<a.length;l++)o.o(t,r=a[l])&&t[r]&&t[r][0](),t[r]=0;return o.O(p)},n=self.webpackChunkangular_demo=self.webpackChunkangular_demo||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})()})(),(()=>{"use strict";(self.webpackChunkangular_demo=self.webpackChunkangular_demo||[]).push([[429],{5320:(t,e,n)=>{n.d(e,{N:()=>o});const o={production:!1,baseUrl:""}},9771:(t,e,n)=>{function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},o.apply(this,arguments)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},o=Array.isArray(t)?t:[t],i=Array.apply(null,Array(o.length)).map((function(t){return null}));function r(){return!("<"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().charAt(0))}function a(t,e){n.onError(t,o[e],e)}function s(t,e){var r=n.onSuccess(t,o[e],e);i[e]=t=!1===r?"":r||t,-1===i.indexOf(null)&&n.onComplete(i)}var c=document.createElement("a");o.forEach((function(t,e){if(c.setAttribute("href",t),c.href=String(c.href),Boolean(document.all&&!window.atob)&&c.host.split(":")[0]!==location.host.split(":")[0])if(c.protocol===location.protocol){var o=new XDomainRequest;o.open("GET",t),o.timeout=0,o.onprogress=Function.prototype,o.ontimeout=Function.prototype,o.onload=function(){r(o.responseText)?s(o.responseText,e):a(o,e)},o.onerror=function(t){a(o,e)},setTimeout((function(){o.send()}),0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),a(null,e);else{var i=new XMLHttpRequest;i.open("GET",t),n.mimeType&&i.overrideMimeType&&i.overrideMimeType(n.mimeType),n.onBeforeSend(i,t,e),i.onreadystatechange=function(){4===i.readyState&&(200===i.status&&r(i.responseText)?s(i.responseText,e):a(i,e))},i.send()}}))}function r(t){var e=/\/\*[\s\S]+?\*\//g,n=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,o={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.apply(null,o.rootElement.querySelectorAll(o.include)).filter((function(t){return!function(t,e){return(t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector).call(t,e)}(t,o.exclude)})),s=Array.apply(null,Array(r.length)).map((function(t){return null}));function c(){if(-1===s.indexOf(null)){var t=s.join("");o.onComplete(t,s,r)}}function l(t,e,n,i){var r=o.onSuccess(t,n,i);d(t=void 0!==r&&!1===Boolean(r)?"":r||t,n,i,(function(t,i){null===s[e]&&(i.forEach((function(t){return o.onError(t.xhr,n,t.url)})),s[e]=!o.filter||o.filter.test(t)?t:"",c())}))}function p(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r={};return r.rules=(t.replace(e,"").match(n)||[]).filter((function(t){return-1===i.indexOf(t)})),r.urls=r.rules.map((function(t){return t.replace(n,"$1")})),r.absoluteUrls=r.urls.map((function(t){return a(t,o)})),r.absoluteRules=r.rules.map((function(t,e){var n=r.urls[e],i=a(r.absoluteUrls[e],o);return t.replace(n,i)})),r}function d(t,e,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],c=p(t,n,s);c.rules.length?i(c.absoluteUrls,{onBeforeSend:function(t,n,i){o.onBeforeSend(t,e,n)},onSuccess:function(t,n,i){var r=o.onSuccess(t,e,n),a=p(t=!1===r?"":r||t,n,s);return a.rules.forEach((function(e,n){t=t.replace(e,a.absoluteRules[n])})),t},onError:function(o,i,l){a.push({xhr:o,url:i}),s.push(c.rules[l]),d(t,e,n,r,a,s)},onComplete:function(o){o.forEach((function(e,n){t=t.replace(c.rules[n],e)})),d(t,e,n,r,a,s)}}):r(t,a)}r.length?r.forEach((function(t,e){var n=t.getAttribute("href"),r=t.getAttribute("rel"),p="LINK"===t.nodeName&&n&&r&&"stylesheet"===r.toLowerCase(),d="STYLE"===t.nodeName;if(p)i(n,{mimeType:"text/css",onBeforeSend:function(e,n,i){o.onBeforeSend(e,t,n)},onSuccess:function(o,i,r){var s=a(n,location.href);l(o,e,t,s)},onError:function(n,i,r){s[e]="",o.onError(n,t,i),c()}});else if(d){var g=t.textContent;o.useCSSOM&&(g=Array.apply(null,t.sheet.cssRules).map((function(t){return t.cssText})).join("")),l(g,e,t,location.href)}else s[e]="",c()})):o.onComplete("",[])}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),o=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(o),n.body.appendChild(i),o.href=e,i.href=t,i.href}n(609);var s=c;function c(t,e,n){t instanceof RegExp&&(t=l(t,n)),e instanceof RegExp&&(e=l(e,n));var o=p(t,e,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+t.length,o[1]),post:n.slice(o[1]+e.length)}}function l(t,e){var n=e.match(t);return n?n[0]:null}function p(t,e,n){var o,i,r,a,s,c=n.indexOf(t),l=n.indexOf(e,c+1),p=c;if(c>=0&&l>0){for(o=[],r=n.length;p>=0&&!s;)p==c?(o.push(p),c=n.indexOf(t,p+1)):1==o.length?s=[o.pop(),l]:((i=o.pop())<r&&(r=i,a=l),l=n.indexOf(e,p+1)),p=c<l&&c>=0?c:l;o.length&&(s=[r,a])}return s}function d(t){var e=o({},{preserveStatic:!0,removeComments:!1},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});function n(t){throw new Error("CSS parse error: ".concat(t))}function i(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function r(){return i(/^{\s*/)}function a(){return i(/^}/)}function c(){i(/^\s*/)}function l(){if(c(),"/"===t[0]&&"*"===t[1]){for(var e=2;t[e]&&("*"!==t[e]||"/"!==t[e+1]);)e++;if(!t[e])return n("end of comment is missing");var o=t.slice(2,e);return t=t.slice(e+2),{type:"comment",comment:o}}}function p(){for(var t,n=[];t=l();)n.push(t);return e.removeComments?[]:n}function d(){for(c();"}"===t[0];)n("extra closing bracket");var e=i(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(t){return t.replace(/,/g,"")})).split(/\s*(?![^(]*\)),\s*/).map((function(t){return t.replace(/\u200C/g,",")}))}function g(){i(/^([;\s]*)+/);var t=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,e=i(/^(\*?[-#\/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(e){if(e=e[0].trim(),!i(/^:\s*/))return n("property missing ':'");var o=i(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),r={type:"declaration",property:e.replace(t,""),value:o?o[0].replace(t,"").trim():""};return i(/^[;\s]*/),r}}function u(){if(!r())return n("missing '{'");for(var t,e=p();t=g();)e.push(t),e=e.concat(p());return a()?e:n("missing '}'")}function m(){c();for(var t,e=[];t=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),i(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:u()}}function h(){if(c(),"@"===t[0]){var o=function(){var t=i(/^@([-\w]+)?keyframes\s*/);if(t){var e=t[1];if(!(t=i(/^([-\w]+)\s*/)))return n("@keyframes missing name");var o=t[1];if(!r())return n("@keyframes missing '{'");for(var s,c=p();s=m();)c.push(s),c=c.concat(p());return a()?{type:"keyframes",name:o,vendor:e,keyframes:c}:n("@keyframes missing '}'")}}()||function(){var t=i(/^@supports *([^{]+)/);if(t)return{type:"supports",supports:t[1].trim(),rules:v()}}()||function(){if(i(/^@host\s*/))return{type:"host",rules:v()}}()||function(){var t=i(/^@media([^{]+)*/);if(t)return{type:"media",media:(t[1]||"").trim(),rules:v()}}()||function(){var t=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return{type:"custom-media",name:t[1].trim(),media:t[2].trim()}}()||function(){if(i(/^@page */))return{type:"page",selectors:d()||[],declarations:u()}}()||function(){var t=i(/^@([-\w]+)?document *([^{]+)/);if(t)return{type:"document",document:t[2].trim(),vendor:t[1]?t[1].trim():null,rules:v()}}()||function(){if(i(/^@font-face\s*/))return{type:"font-face",declarations:u()}}()||function(){var t=i(/^@(import|charset|namespace)\s*([^;]+);/);if(t)return{type:t[1],name:t[2].trim()}}();return o&&!e.preserveStatic?(o.declarations?o.declarations.some((function(t){return/var\(/.test(t.value)})):(o.keyframes||o.rules||[]).some((function(t){return(t.declarations||[]).some((function(t){return/var\(/.test(t.value)}))})))?o:{}:o}}function f(){if(!e.preserveStatic){var o=s("{","}",t);if(o){var i=/:(?:root|host)(?![.:#(])/.test(o.pre)&&/--\S*\s*:/.test(o.body),r=/var\(/.test(o.body);if(!i&&!r)return t=t.slice(o.end+1),{}}}var a=d()||[],c=e.preserveStatic?u():u().filter((function(t){var e=a.some((function(t){return/:(?:root|host)(?![.:#(])/.test(t)}))&&/^--\S/.test(t.property),n=/var\(/.test(t.value);return e||n}));return a.length||n("selector missing"),{type:"rule",selectors:a,declarations:c}}function v(e){if(!e&&!r())return n("missing '{'");for(var o,i=p();t.length&&(e||"}"!==t[0])&&(o=h()||f());)o.type&&i.push(o),i=i.concat(p());return e||a()?i:n("missing '}'")}return{type:"stylesheet",stylesheet:{rules:v(!0),errors:[]}}}function g(t){var e=o({},{parseHost:!1,store:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=new RegExp(":".concat(e.parseHost?"host":"root","(?![.:#(])"));return"string"==typeof t&&(t=d(t,e)),t.stylesheet.rules.forEach((function(t){"rule"!==t.type||!t.selectors.some((function(t){return n.test(t)}))||t.declarations.forEach((function(t,n){var o=t.property,i=t.value;o&&0===o.indexOf("--")&&(e.store[o]=i)}))})),e.store}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o={charset:function(t){return"@charset "+t.name+";"},comment:function(t){return 0===t.comment.indexOf("__CSSVARSPONYFILL")?"/*"+t.comment+"*/":""},"custom-media":function(t){return"@custom-media "+t.name+" "+t.media+";"},declaration:function(t){return t.property+":"+t.value+";"},document:function(t){return"@"+(t.vendor||"")+"document "+t.document+"{"+i(t.rules)+"}"},"font-face":function(t){return"@font-face{"+i(t.declarations)+"}"},host:function(t){return"@host{"+i(t.rules)+"}"},import:function(t){return"@import "+t.name+";"},keyframe:function(t){return t.values.join(",")+"{"+i(t.declarations)+"}"},keyframes:function(t){return"@"+(t.vendor||"")+"keyframes "+t.name+"{"+i(t.keyframes)+"}"},media:function(t){return"@media "+t.media+"{"+i(t.rules)+"}"},namespace:function(t){return"@namespace "+t.name+";"},page:function(t){return"@page "+(t.selectors.length?t.selectors.join(", "):"")+"{"+i(t.declarations)+"}"},rule:function(t){var e=t.declarations;if(e.length)return t.selectors.join(",")+"{"+i(e)+"}"},supports:function(t){return"@supports "+t.supports+"{"+i(t.rules)+"}"}};function i(t){for(var i="",r=0;r<t.length;r++){var a=t[r];n&&n(a);var s=o[a.type](a);s&&(i+=s,s.length&&a.selectors&&(i+=e))}return i}return i(t.stylesheet.rules)}function m(t,e){t.rules.forEach((function(n){n.rules?m(n,e):n.keyframes?n.keyframes.forEach((function(t){"keyframe"===t.type&&e(t.declarations,n)})):!n.declarations||e(n.declarations,t)}))}function h(t){var e=o({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return"string"==typeof t&&(t=d(t,e)),m(t.stylesheet,(function(t,n){for(var o=0;o<t.length;o++){var i=t[o],r=i.type,a=i.property,s=i.value;if("declaration"===r){if(!e.preserveVars&&a&&0===a.indexOf("--")){t.splice(o,1),o--;continue}if(-1!==s.indexOf("var(")){var c=v(s,e);c!==i.value&&(c=f(c),e.preserveVars?(t.splice(o,0,{type:r,property:a,value:c}),o++):i.value=c)}}}})),u(t)}function f(t){return(t.match(/calc\(([^)]+)\)/g)||[]).forEach((function(e){var n="calc".concat(e.split("calc").join(""));t=t.replace(e,n)})),t}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var o,i,r,a,c,l,p=s("(",")",t);return p?"var"===p.pre.slice(-3)?0===p.body.trim().length?(e.onWarning("var() must contain a non-whitespace string"),t):p.pre.slice(0,-3)+(i=(o=p.body).split(",")[0].replace(/[\s\n\t]/g,""),r=(o.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],c=(a=Object.prototype.hasOwnProperty.call(e.variables,i)?String(e.variables[i]):void 0)||(r?String(r):void 0),l=n||o,a||e.onWarning('variable "'.concat(i,'" is undefined')),c&&"undefined"!==c&&c.length>0?v(c,e,l):"var(".concat(l,")"))+v(p.post,e):p.pre+"(".concat(v(p.body,e),")")+v(p.post,e):(-1!==t.indexOf("var(")&&e.onWarning('missing closing ")" in the value "'.concat(t,'"')),t)}c.range=p;var _,b="undefined"!=typeof window,w=b&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),y={group:0,job:0},C={rootElement:b?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onWarning:function(){},onError:function(){},onSuccess:function(){},onComplete:function(){}},O={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},M={dom:{},job:{},user:{}},x=!1,P=null,A=0,k=null,E=!1;function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="cssVars(): ",n=o({},C,t);function i(t,o,i,r){!n.silent&&window.console&&console.error("".concat(e).concat(t,"\n"),o),n.onError(t,o,i,r)}function a(t){!n.silent&&window.console&&console.warn("".concat(e).concat(t)),n.onWarning(t)}if(b){if(n.watch)return n.watch=C.watch,function(t){function e(t){return"LINK"===t.tagName&&-1!==(t.getAttribute("rel")||"").indexOf("stylesheet")&&!t.disabled}!window.MutationObserver||(P&&(P.disconnect(),P=null),(P=new MutationObserver((function(n){n.some((function(n){var o=!1;return"attributes"===n.type?o=e(n.target):"childList"===n.type&&(o=function(t){return Array.apply(null,t).some((function(t){var n=1===t.nodeType&&t.hasAttribute("data-cssvars"),o=function(t){return"STYLE"===t.tagName&&!t.disabled}(t)&&O.cssVars.test(t.textContent);return!n&&(e(t)||o)}))}(n.addedNodes)||function(e){return Array.apply(null,e).some((function(e){var n=1===e.nodeType,o=n&&"out"===e.getAttribute("data-cssvars"),i=n&&"src"===e.getAttribute("data-cssvars"),r=i;if(i||o){var a=e.getAttribute("data-cssvars-group"),s=t.rootElement.querySelector('[data-cssvars-group="'.concat(a,'"]'));i&&(D(t.rootElement),M.dom={}),s&&s.parentNode.removeChild(s)}return r}))}(n.removedNodes)),o}))&&S(t)}))).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0}))}(n),void S(n);if(!1===n.watch&&P&&(P.disconnect(),P=null),!n.__benchmark){if(x===n.rootElement)return void function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(k),k=setTimeout((function(){t.__benchmark=null,S(t)}),e)}(t);if(n.__benchmark=I(),n.exclude=[P?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',n.exclude].filter((function(t){return t})).join(","),n.variables=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=/^-{2}/;return Object.keys(t).reduce((function(n,o){return n[e.test(o)?o:"--".concat(o.replace(/^-+/,""))]=t[o],n}),{})}(n.variables),!P&&(Array.apply(null,n.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach((function(t){var e=t.getAttribute("data-cssvars-group");e&&n.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]'))||t.parentNode.removeChild(t)})),A)){var s=n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])');s.length<A&&(A=s.length,M.dom={})}}if("loading-修改"!==document.readyState)if(w&&n.onlyLegacy){if(n.updateDOM){var c=n.rootElement.host||(n.rootElement===document?document.documentElement:n.rootElement);Object.keys(n.variables).forEach((function(t){c.style.setProperty(t,n.variables[t])}))}}else!E&&(n.shadowDOM||n.rootElement.shadowRoot||n.rootElement.host)?r({rootElement:C.rootElement,include:C.include,exclude:n.exclude,onSuccess:function(t,e,n){return(t=((t=t.replace(O.cssComments,"").replace(O.cssMediaQueries,"")).match(O.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(t,e,o){g(t,{store:M.dom,onWarning:a}),E=!0,S(n)}}):(x=n.rootElement,r({rootElement:n.rootElement,include:n.include,exclude:n.exclude,onBeforeSend:n.onBeforeSend,onError:function(t,e,n){var o=t.responseURL||T(n,location.href),r=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":"");i("CSS XHR Error: ".concat(o," ").concat(t.status," ").concat(r),e,t,o)},onSuccess:function(t,e,o){var i=n.onSuccess(t,e,o);return t=void 0!==i&&!1===Boolean(i)?"":i||t,n.updateURLs&&(t=function(t,e){return(t.replace(O.cssComments,"").match(O.cssUrls)||[]).forEach((function(n){var o=n.replace(O.cssUrls,"$1"),i=T(o,e);t=t.replace(n,n.replace(o,i))})),t}(t,o)),t},onComplete:function(t,e){var r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c={},l=n.updateDOM?M.dom:Object.keys(M.job).length?M.job:M.job=JSON.parse(JSON.stringify(M.dom));if(s.forEach((function(t,o){if(O.cssVars.test(e[o]))try{var r=d(e[o],{preserveStatic:n.preserveStatic,removeComments:!0});g(r,{parseHost:Boolean(n.rootElement.host),store:c,onWarning:a}),t.__cssVars={tree:r}}catch(e){i(e.message,t)}})),n.updateDOM&&o(M.user,n.variables),o(c,n.variables),r=Boolean((document.querySelector("[data-cssvars]")||Object.keys(M.dom).length)&&Object.keys(c).some((function(t){return c[t]!==l[t]}))),o(l,M.user,c),r)D(n.rootElement),S(n);else{var p=[],m=[],f=!1;if(M.job={},n.updateDOM&&y.job++,s.forEach((function(t){var e=!t.__cssVars;if(t.__cssVars)try{h(t.__cssVars.tree,o({},n,{variables:l,onWarning:a}));var r=u(t.__cssVars.tree);if(n.updateDOM){if(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),r.length){var s=t.getAttribute("data-cssvars-group")||++y.group,c=r.replace(/\s/g,""),d=n.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(s,'"]'))||document.createElement("style");f=f||O.cssKeyframes.test(r),d.hasAttribute("data-cssvars")||d.setAttribute("data-cssvars","out"),c===t.textContent.replace(/\s/g,"")?(e=!0,d&&d.parentNode&&(t.removeAttribute("data-cssvars-group"),d.parentNode.removeChild(d))):c!==d.textContent.replace(/\s/g,"")&&([t,d].forEach((function(t){t.setAttribute("data-cssvars-job",y.job),t.setAttribute("data-cssvars-group",s)})),d.textContent=r,p.push(r),m.push(d),d.parentNode||t.parentNode.insertBefore(d,t.nextSibling))}}else t.textContent.replace(/\s/g,"")!==r&&p.push(r)}catch(e){i(e.message,t)}e&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",y.job)})),A=n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,n.shadowDOM)for(var v,_=[n.rootElement].concat(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(n.rootElement.querySelectorAll("*"))),b=0;v=_[b];++b)v.shadowRoot&&v.shadowRoot.querySelector("style")&&S(o({},n,{rootElement:v.shadowRoot}));n.updateDOM&&f&&function(t){var e=["animation-name","-moz-animation-name","-webkit-animation-name"].filter((function(t){return getComputedStyle(document.body)[t]}))[0];if(e){for(var n=t.getElementsByTagName("*"),o=[],i="__CSSVARSPONYFILL-KEYFRAMES__",r=0,a=n.length;r<a;r++){var s=n[r];"none"!==getComputedStyle(s)[e]&&(s.style[e]+=i,o.push(s))}document;for(var c=0,l=o.length;c<l;c++){var p=o[c].style;p[e]=p[e].replace(i,"")}}}(n.rootElement),x=!1,n.onComplete(p.join(""),m,JSON.parse(JSON.stringify(l)),I()-n.__benchmark)}}}));else document.addEventListener("DOMContentLoaded",(function e(n){S(t),document.removeEventListener("DOMContentLoaded",e)}))}}function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),o=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(o),n.body.appendChild(i),o.href=e,i.href=t,i.href}function I(){return b&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function D(t){Array.apply(null,t.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach((function(t){return t.setAttribute("data-cssvars","")}))}S.reset=function(){for(var t in x=!1,P&&(P.disconnect(),P=null),A=0,k=null,E=!1,M)M[t]={}},_=n(5320).N.production,w||(_?S():document.addEventListener("DOMContentLoaded",(function t(){S(),document.removeEventListener("DOMContentLoaded",t)})))},609:function(t,e,n){var o,i,r=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)(o||!(i in e))&&(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))};o=function(){!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function o(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var i=t.__Zone_symbol_prefix||"__zone_symbol__";function r(t){return i+t}var a=!0===t[r("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return I.zone},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return D},enumerable:!1,configurable:!0}),e.__load_patch=function(i,r,s){if(void 0===s&&(s=!1),S.hasOwnProperty(i)){if(!s&&a)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var c="Zone:"+i;n(c),S[i]=r(t,e,T),o(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),o=this;return function(){return o.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,o){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,o)}finally{I=I.parent}},e.prototype.runGuarded=function(t,e,n,o){void 0===e&&(e=null),I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,o)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{I=I.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");if(t.state!==y||t.type!==E&&t.type!==k){var o=t.state!=M;o&&t._transitionTo(M,O),t.runCount++;var i=D;D=t,I={parent:I,zone:this};try{t.type==k&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==y&&t.state!==P&&(t.type==E||t.data&&t.data.isPeriodic?o&&t._transitionTo(O,M):(t.runCount=0,this._updateTaskCount(t,-1),o&&t._transitionTo(y,M,y))),I=I.parent,D=i}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(C,y);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(P,C,y),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==C&&t._transitionTo(O,C),t},e.prototype.scheduleMicroTask=function(t,e,n,o){return this.scheduleTask(new d(A,t,e,n,o,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,o,i){return this.scheduleTask(new d(k,t,e,n,o,i))},e.prototype.scheduleEventTask=function(t,e,n,o,i){return this.scheduleTask(new d(E,t,e,n,o,i))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");t._transitionTo(x,O,M);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(P,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(y,x),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var o=0;o<n.length;o++)n[o]._updateTaskCount(t.type,e)},e}();s.__symbol__=r;var c,l={name:"",onHasTask:function(t,e,n,o){return t.hasTask(n,o)},onScheduleTask:function(t,e,n,o){return t.scheduleTask(n,o)},onInvokeTask:function(t,e,n,o,i,r){return t.invokeTask(n,o,i,r)},onCancelTask:function(t,e,n,o){return t.cancelTask(n,o)}},p=function(){function t(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var o=n&&n.onHasTask;(o||e&&e._hasTaskZS)&&(this._hasTaskZS=o?n:l,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e},t.prototype.invoke=function(t,e,n,o,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,o,i):e.apply(n,o)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)},t.prototype.scheduleTask=function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");_(e)}return n},t.prototype.invokeTask=function(t,e,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,o):e.callback.apply(n,o)},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n},t.prototype.hasTask=function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,o=n[t],i=n[t]=o+e;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),d=function(){function e(n,o,i,r,a,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=o,this.data=r,this.scheduleFn=a,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;var c=this;this.invoke=n===E&&r&&r.useG?e.invokeTask:function(){return e.invokeTask.call(t,c,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),z++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==z&&b(),z--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(y,C)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==y&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),g=r("setTimeout"),u=r("Promise"),m=r("then"),h=[],f=!1;function v(e){if(c||t[u]&&(c=t[u].resolve(0)),c){var n=c[m];n||(n=c.then),n.call(c,e)}else t[g](e,0)}function _(t){0===z&&0===h.length&&v(b),t&&h.push(t)}function b(){if(!f){for(f=!0;h.length;){var t=h;h=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(t){T.onUnhandledError(t)}}}T.microtaskDrainDone(),f=!1}}var w={name:"NO ZONE"},y="notScheduled",C="scheduling",O="scheduled",M="running",x="canceling",P="unknown",A="microTask",k="macroTask",E="eventTask",S={},T={symbol:r,currentZoneFrame:function(){return I},onUnhandledError:B,microtaskDrainDone:B,scheduleMicroTask:_,showUncaughtError:function(){return!s[r("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:B,patchMethod:function(){return B},bindArguments:function(){return[]},patchThen:function(){return B},patchMacroTask:function(){return B},patchEventPrototype:function(){return B},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return B},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return B},wrapWithCurrentZone:function(){return B},filterProperties:function(){return[]},attachOriginToPatched:function(){return B},_redefineProperty:function(){return B},patchCallbacks:function(){return B},nativeScheduleMicroTask:v},I={parent:null,zone:new s(null,null)},D=null,z=0;function B(){}o("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||p.g);var t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",s="removeEventListener",c=Zone.__symbol__(a),l=Zone.__symbol__(s),d="true",g="false",u=Zone.__symbol__("");function m(t,e){return Zone.current.wrap(t,e)}function h(t,e,n,o,i){return Zone.current.scheduleMacroTask(t,e,n,o,i)}var f=Zone.__symbol__,v="undefined"!=typeof window,_=v?window:void 0,b=v&&_||"object"==typeof self&&self||p.g;function w(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=m(t[n],e+"_"+n));return t}function y(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var C="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,O=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),M=!O&&!C&&!(!v||!_.HTMLElement),x=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!C&&!(!v||!_.HTMLElement),P={},A=function(t){if(t=t||b.event){var e=P[t.type];e||(e=P[t.type]=f("ON_PROPERTY"+t.type));var n,o=this||t.target||b,i=o[e];return M&&o===_&&"error"===t.type?!0===(n=i&&i.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null!=(n=i&&i.apply(this,arguments))&&!n&&t.preventDefault(),n}};function k(n,o,i){var r=t(n,o);if(!r&&i&&t(i,o)&&(r={enumerable:!0,configurable:!0}),r&&r.configurable){var a=f("on"+o+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete r.writable,delete r.value;var s=r.get,c=r.set,l=o.slice(2),p=P[l];p||(p=P[l]=f("ON_PROPERTY"+l)),r.set=function(t){var e=this;!e&&n===b&&(e=b),e&&("function"==typeof e[p]&&e.removeEventListener(l,A),c&&c.call(e,null),e[p]=t,"function"==typeof t&&e.addEventListener(l,A,!1))},r.get=function(){var t=this;if(!t&&n===b&&(t=b),!t)return null;var e=t[p];if(e)return e;if(s){var i=s.call(this);if(i)return r.set.call(this,i),"function"==typeof t.removeAttribute&&t.removeAttribute(o),i}return null},e(n,o,r),n[a]=!0}}}function E(t,e,n){if(e)for(var o=0;o<e.length;o++)k(t,"on"+e[o],n);else{var i=[];for(var r in t)"on"==r.slice(0,2)&&i.push(r);for(var a=0;a<i.length;a++)k(t,i[a],n)}}var S=f("originalInstance");function T(t){var n=b[t];if(n){b[f(t)]=n,b[t]=function(){var e=w(arguments,t);switch(e.length){case 0:this[S]=new n;break;case 1:this[S]=new n(e[0]);break;case 2:this[S]=new n(e[0],e[1]);break;case 3:this[S]=new n(e[0],e[1],e[2]);break;case 4:this[S]=new n(e[0],e[1],e[2],e[3]);break;default:throw new Error("Arg list too long.")}},z(b[t],n);var o,i=new n((function(){}));for(o in i)"XMLHttpRequest"===t&&"responseBlob"===o||function(n){"function"==typeof i[n]?b[t].prototype[n]=function(){return this[S][n].apply(this[S],arguments)}:e(b[t].prototype,n,{set:function(e){"function"==typeof e?(this[S][n]=m(e,t+"."+n),z(this[S][n],e)):this[S][n]=e},get:function(){return this[S][n]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(b[t][o]=n[o])}}function I(e,o,i){for(var r=e;r&&!r.hasOwnProperty(o);)r=n(r);!r&&e[o]&&(r=e);var a=f(o),s=null;if(r&&(!(s=r[a])||!r.hasOwnProperty(a))&&(s=r[a]=r[o],y(r&&t(r,o)))){var c=i(s,a,o);r[o]=function(){return c(this,arguments)},z(r[o],s)}return s}function D(t,e,n){var o=null;function i(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},o.apply(e.target,e.args),t}o=I(t,e,(function(t){return function(e,o){var r=n(e,o);return r.cbIdx>=0&&"function"==typeof o[r.cbIdx]?h(r.name,o[r.cbIdx],r,i):t.apply(e,o)}}))}function z(t,e){t[f("OriginalDelegate")]=e}var B=!1,R=!1;function F(){if(B)return R;B=!0;try{var t=_.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(R=!0)}catch(t){}return R}Zone.__load_patch("ZoneAwarePromise",(function(t,e,n){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,r=n.symbol,a=[],s=!0===t[r("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=r("Promise"),l=r("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded((function(){throw t.throwOriginal?t.rejection:t}))}catch(t){!function(t){n.onUnhandledError(t);try{var o=e[p];"function"==typeof o&&o.call(this,t)}catch(t){}}(t)}};a.length;)t()};var p=r("unhandledPromiseRejectionHandler");function d(t){return t&&t.then}function g(t){return t}function u(t){return S.reject(t)}var m=r("state"),h=r("value"),f=r("finally"),v=r("parentPromiseValue"),_=r("parentPromiseState"),b=null,w=!1;function y(t,e){return function(n){try{M(t,e,n)}catch(e){M(t,!1,e)}}}var C=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},O=r("currentTaskTrace");function M(t,o,r){var c=C();if(t===r)throw new TypeError("Promise resolved with itself");if(t[m]===b){var l=null;try{("object"==typeof r||"function"==typeof r)&&(l=r&&r.then)}catch(e){return c((function(){M(t,!1,e)}))(),t}if(o!==w&&r instanceof S&&r.hasOwnProperty(m)&&r.hasOwnProperty(h)&&r[m]!==b)P(r),M(t,r[m],r[h]);else if(o!==w&&"function"==typeof l)try{l.call(r,c(y(t,o)),c(y(t,!1)))}catch(e){c((function(){M(t,!1,e)}))()}else{t[m]=o;var p=t[h];if(t[h]=r,t[f]===f&&!0===o&&(t[m]=t[_],t[h]=t[v]),o===w&&r instanceof Error){var d=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;d&&i(r,O,{configurable:!0,enumerable:!1,writable:!0,value:d})}for(var g=0;g<p.length;)A(t,p[g++],p[g++],p[g++],p[g++]);if(0==p.length&&o==w){t[m]=0;var u=r;try{throw new Error("Uncaught (in promise): "+function(t){return t&&t.toString===Object.prototype.toString?(t.constructor&&t.constructor.name||"")+": "+JSON.stringify(t):t?t.toString():Object.prototype.toString.call(t)}(r)+(r&&r.stack?"\n"+r.stack:""))}catch(t){u=t}s&&(u.throwOriginal=!0),u.rejection=r,u.promise=t,u.zone=e.current,u.task=e.currentTask,a.push(u),n.scheduleMicroTask()}}}return t}var x=r("rejectionHandledHandler");function P(t){if(0===t[m]){try{var n=e[x];n&&"function"==typeof n&&n.call(this,{rejection:t[h],promise:t})}catch(t){}t[m]=w;for(var o=0;o<a.length;o++)t===a[o].promise&&a.splice(o,1)}}function A(t,e,n,o,i){P(t);var r=t[m],a=r?"function"==typeof o?o:g:"function"==typeof i?i:u;e.scheduleMicroTask("Promise.then",(function(){try{var o=t[h],i=!!n&&f===n[f];i&&(n[v]=o,n[_]=r);var s=e.run(a,void 0,i&&a!==u&&a!==g?[]:[o]);M(n,!0,s)}catch(t){M(n,!1,t)}}),n)}var k=function(){},E=t.AggregateError,S=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[m]=b,n[h]=[];try{var o=C();e&&e(o(y(n,!0)),o(y(n,w)))}catch(t){M(n,!1,t)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(t){return M(new this(null),!0,t)},t.reject=function(t){return M(new this(null),w,t)},t.any=function(e){if(!e||"function"!=typeof e[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));var n=[],o=0;try{for(var i=0,r=e;i<r.length;i++)o++,n.push(t.resolve(r[i]))}catch(t){return Promise.reject(new E([],"All promises were rejected"))}if(0===o)return Promise.reject(new E([],"All promises were rejected"));var a=!1,s=[];return new t((function(t,e){for(var i=0;i<n.length;i++)n[i].then((function(e){a||(a=!0,t(e))}),(function(t){s.push(t),0==--o&&(a=!0,e(new E(s,"All promises were rejected")))}))}))},t.race=function(t){var e,n,o=new this((function(t,o){e=t,n=o}));function i(t){e(t)}function r(t){n(t)}for(var a=0,s=t;a<s.length;a++){var c=s[a];d(c)||(c=this.resolve(c)),c.then(i,r)}return o},t.all=function(e){return t.allWithCallback(e)},t.allSettled=function(e){return(this&&this.prototype instanceof t?this:t).allWithCallback(e,{thenCallback:function(t){return{status:"fulfilled",value:t}},errorCallback:function(t){return{status:"rejected",reason:t}}})},t.allWithCallback=function(t,e){for(var n,o,i=new this((function(t,e){n=t,o=e})),r=2,a=0,s=[],c=function(t){d(t)||(t=l.resolve(t));var i=a;try{t.then((function(t){s[i]=e?e.thenCallback(t):t,0==--r&&n(s)}),(function(t){e?(s[i]=e.errorCallback(t),0==--r&&n(s)):o(t)}))}catch(t){o(t)}r++,a++},l=this,p=0,g=t;p<g.length;p++)c(g[p]);return 0==(r-=2)&&n(s),i},Object.defineProperty(t.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.then=function(n,o){var i,r=null===(i=this.constructor)||void 0===i?void 0:i[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||t);var a=new r(k),s=e.current;return this[m]==b?this[h].push(s,a,n,o):A(this,s,a,n,o),a},t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(n){var o,i=null===(o=this.constructor)||void 0===o?void 0:o[Symbol.species];(!i||"function"!=typeof i)&&(i=t);var r=new i(k);r[f]=f;var a=e.current;return this[m]==b?this[h].push(a,r,n,n):A(this,a,r,n,n),r},t}();S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;var T=t[c]=t.Promise;t.Promise=S;var D=r("thenPatched");function z(t){var e=t.prototype,n=o(e,"then");if(!n||!1!==n.writable&&n.configurable){var i=e.then;e[l]=i,t.prototype.then=function(t,e){var n=this;return new S((function(t,e){i.call(n,t,e)})).then(t,e)},t[D]=!0}}return n.patchThen=z,T&&(z(T),I(t,"fetch",(function(t){return function(t){return function(e,n){var o=t.apply(e,n);if(o instanceof S)return o;var i=o.constructor;return i[D]||z(i),o}}(t)}))),Promise[e.__symbol__("uncaughtPromiseErrors")]=a,S})),Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=f("OriginalDelegate"),o=f("Promise"),i=f("Error"),r=function(){if("function"==typeof this){var r=this[n];if(r)return"function"==typeof r?e.call(r):Object.prototype.toString.call(r);if(this===Promise){var a=t[o];if(a)return e.call(a)}if(this===Error){var s=t[i];if(s)return e.call(s)}}return e.call(this)};r[n]=e,Function.prototype.toString=r;var a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}}));var N=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(ct){N=!1}var H,U,j,Y,V,Q={useG:!0},G={},W={},K=new RegExp("^"+u+"(\\w+)(true|false)$"),q=f("propagationStopped");function $(t,e){var n=(e?e(t):t)+g,o=(e?e(t):t)+d,i=u+n,r=u+o;G[t]={},G[t][g]=i,G[t][d]=r}function J(t,e,o,i){var r=i&&i.add||a,c=i&&i.rm||s,l=i&&i.listeners||"eventListeners",p=i&&i.rmAll||"removeAllListeners",m=f(r),h="."+r+":",v=function(t,e,n){if(!t.isRemoved){var o,i=t.callback;"object"==typeof i&&i.handleEvent&&(t.callback=function(t){return i.handleEvent(t)},t.originalDelegate=i);try{t.invoke(t,e,[n])}catch(t){o=t}var r=t.options;return r&&"object"==typeof r&&r.once&&e[c].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,r),o}};function _(n,o,i){if(o=o||t.event){var r=n||o.target||t,a=r[G[o.type][i?d:g]];if(a){var s=[];if(1===a.length)(p=v(a[0],r,o))&&s.push(p);else for(var c=a.slice(),l=0;l<c.length&&(!o||!0!==o[q]);l++){var p;(p=v(c[l],r,o))&&s.push(p)}if(1===s.length)throw s[0];var u=function(t){var n=s[t];e.nativeScheduleMicroTask((function(){throw n}))};for(l=0;l<s.length;l++)u(l)}}}var b=function(t){return _(this,t,!1)},w=function(t){return _(this,t,!0)};function y(e,o){if(!e)return!1;var i=!0;o&&void 0!==o.useG&&(i=o.useG);var a=o&&o.vh,s=!0;o&&void 0!==o.chkDup&&(s=o.chkDup);var v=!1;o&&void 0!==o.rt&&(v=o.rt);for(var _=e;_&&!_.hasOwnProperty(r);)_=n(_);if(!_&&e[r]&&(_=e),!_||_[m])return!1;var y,C=o&&o.eventNameToString,M={},x=_[m]=_[r],P=_[f(c)]=_[c],A=_[f(l)]=_[l],k=_[f(p)]=_[p];o&&o.prepend&&(y=_[f(o.prepend)]=_[o.prepend]);var E=i?function(t){if(!M.isExisting)return x.call(M.target,M.eventName,M.capture?w:b,M.options)}:function(t){return x.call(M.target,M.eventName,t.invoke,M.options)},S=i?function(t){if(!t.isRemoved){var e=G[t.eventName],n=void 0;e&&(n=e[t.capture?d:g]);var o=n&&t.target[n];if(o)for(var i=0;i<o.length;i++)if(o[i]===t){o.splice(i,1),t.isRemoved=!0,0===o.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return P.call(t.target,t.eventName,t.capture?w:b,t.options)}:function(t){return P.call(t.target,t.eventName,t.invoke,t.options)},T=o&&o.diff?o.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},I=Zone[f("UNPATCHED_EVENTS")],D=t[f("PASSIVE_EVENTS")],B=function(e,n,r,c,l,p){return void 0===l&&(l=!1),void 0===p&&(p=!1),function(){var u=this||t,m=arguments[0];o&&o.transferEventName&&(m=o.transferEventName(m));var h=arguments[1];if(!h)return e.apply(this,arguments);if(O&&"uncaughtException"===m)return e.apply(this,arguments);var f=!1;if("function"!=typeof h){if(!h.handleEvent)return e.apply(this,arguments);f=!0}if(!a||a(e,h,u,arguments)){var v=N&&!!D&&-1!==D.indexOf(m),_=function(t,e){return!N&&"object"==typeof t&&t?!!t.capture:N&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}(arguments[2],v);if(I)for(var b=0;b<I.length;b++)if(m===I[b])return v?e.call(u,m,h,_):e.apply(this,arguments);var w=!!_&&("boolean"==typeof _||_.capture),y=!(!_||"object"!=typeof _)&&_.once,x=Zone.current,P=G[m];P||($(m,C),P=G[m]);var A=P[w?d:g],k=u[A],E=!1;if(k){if(E=!0,s)for(b=0;b<k.length;b++)if(T(k[b],h))return}else k=u[A]=[];var S,z=u.constructor.name,B=W[z];B&&(S=B[m]),S||(S=z+n+(C?C(m):m)),M.options=_,y&&(M.options.once=!1),M.target=u,M.capture=w,M.eventName=m,M.isExisting=E;var R=i?Q:void 0;R&&(R.taskData=M);var F=x.scheduleEventTask(S,h,R,r,c);if(M.target=null,R&&(R.taskData=null),y&&(_.once=!0),!N&&"boolean"==typeof F.options||(F.options=_),F.target=u,F.capture=w,F.eventName=m,f&&(F.originalDelegate=h),p?k.unshift(F):k.push(F),l)return u}}};return _[r]=B(x,h,E,S,v),y&&(_.prependListener=B(y,".prependListener:",(function(t){return y.call(M.target,M.eventName,t.invoke,M.options)}),S,v,!0)),_[c]=function(){var e=this||t,n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));var i=arguments[2],r=!!i&&("boolean"==typeof i||i.capture),s=arguments[1];if(!s)return P.apply(this,arguments);if(!a||a(P,s,e,arguments)){var c,l=G[n];l&&(c=l[r?d:g]);var p=c&&e[c];if(p)for(var m=0;m<p.length;m++){var h=p[m];if(T(h,s))return p.splice(m,1),h.isRemoved=!0,0===p.length&&(h.allRemoved=!0,e[c]=null,"string"==typeof n)&&(e[u+"ON_PROPERTY"+n]=null),h.zone.cancelTask(h),v?e:void 0}return P.apply(this,arguments)}},_[l]=function(){var e=this||t,n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));for(var i=[],r=X(e,C?C(n):n),a=0;a<r.length;a++){var s=r[a];i.push(s.originalDelegate?s.originalDelegate:s.callback)}return i},_[p]=function(){var e=this||t,n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));var i=G[n];if(i){var r=e[i[g]],a=e[i[d]];if(r)for(var s=r.slice(),l=0;l<s.length;l++)this[c].call(this,n,(u=s[l]).originalDelegate?u.originalDelegate:u.callback,u.options);if(a)for(s=a.slice(),l=0;l<s.length;l++){var u;this[c].call(this,n,(u=s[l]).originalDelegate?u.originalDelegate:u.callback,u.options)}}}else{var m=Object.keys(e);for(l=0;l<m.length;l++){var h=K.exec(m[l]),f=h&&h[1];f&&"removeListener"!==f&&this[p].call(this,f)}this[p].call(this,"removeListener")}if(v)return this},z(_[r],x),z(_[c],P),k&&z(_[p],k),A&&z(_[l],A),!0}for(var C=[],M=0;M<o.length;M++)C[M]=y(o[M],i);return C}function X(t,e){if(!e){var n=[];for(var o in t){var i=K.exec(o),r=i&&i[1];if(r&&(!e||r===e)){var a=t[o];if(a)for(var s=0;s<a.length;s++)n.push(a[s])}}return n}var c=G[e];c||($(e),c=G[e]);var l=t[c[g]],p=t[c[d]];return l?p?l.concat(p):l.slice():p?p.slice