@axa-ch/icon
Advanced tools
Comparing version 6.1.1 to 7.0.0
@@ -0,1 +1,5 @@ | ||
## 7.0.0 | ||
Migrate to lit. #2207 | ||
## 6.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -1,1 +0,1 @@ | ||
var window=function(){"use strict";function t(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}function h(t,e){for(var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;e!==r;){var n=e.nextSibling;t.removeChild(e),e=n}}function L(t,e){A(this,L),this.parts=[],this.element=e;for(var r=[],n=[],o=document.createTreeWalker(e.content,133,null,!1),i=0,s=-1,a=0,u=t.strings,l=t.values.length;a<l;){var c=o.nextNode();if(null!==c){if(s++,1===c.nodeType){if(c.hasAttributes()){for(var h=c.attributes,f=h.length,p=0,d=0;d<f;d++)R(h[d].name,j)&&p++;for(;0<p--;){var v=u[a],y=z.exec(v)[2],g=y.toLowerCase()+j,v=c.getAttribute(g);c.removeAttribute(g);v=v.split(T);this.parts.push({type:"attribute",index:s,name:y,strings:v}),a+=v.length-1}}"TEMPLATE"===c.tagName&&(n.push(c),o.currentNode=c.content)}else if(3===c.nodeType){var m=c.data;if(0<=m.indexOf(N)){for(var w=c.parentNode,x=m.split(T),_=x.length-1,b=0;b<_;b++){var S,k=void 0,C=x[b],k=""===C?V():(null!==(S=z.exec(C))&&R(S[2],j)&&(C=C.slice(0,S.index)+S[1]+S[2].slice(0,-j.length)+S[3]),document.createTextNode(C));w.insertBefore(k,c),this.parts.push({type:"node",index:++s})}""===x[_]?(w.insertBefore(V(),c),r.push(c)):c.data=x[_],a+=_}}else if(8===c.nodeType)if(c.data===N){m=c.parentNode;null!==c.previousSibling&&s!==i||(s++,m.insertBefore(V(),c)),i=s,this.parts.push({type:"node",index:s}),null===c.nextSibling?c.data="":(r.push(c),s--),a++}else for(var M=-1;-1!==(M=c.data.indexOf(N,M+1));)this.parts.push({type:"node",index:-1}),a++}else o.currentNode=n.pop()}for(var P=0,O=r;P<O.length;P++){var E=O[P];E.parentNode.removeChild(E)}}function l(t){return-1!==t.index}var n=t(function(t){t.exports=function(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.default=t.exports,t.exports.__esModule=!0}),A=t(function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0}),i=t(function(t){function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t},t.exports.default=t.exports,t.exports.__esModule=!0}),o=t(function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0}),s=t(function(r){function n(t,e){return r.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r.exports.default=r.exports,r.exports.__esModule=!0,n(t,e)}r.exports=n,r.exports.default=r.exports,r.exports.__esModule=!0}),a=t(function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0}),O=t(function(e){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(t){return typeof t}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}),u=t(function(t){var r=O.default;t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?o(t):e},t.exports.default=t.exports,t.exports.__esModule=!0}),c=t(function(e){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}),f=t(function(t){t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0}),p=t(function(n){function o(t,e,r){return"undefined"!=typeof Reflect&&Reflect.get?n.exports=o=Reflect.get:n.exports=o=function(t,e,r){t=f(t,e);if(t){e=Object.getOwnPropertyDescriptor(t,e);return e.get?e.get.call(r):e.value}},n.exports.default=n.exports,n.exports.__esModule=!0,o(t,e,r||t)}n.exports=o,n.exports.default=n.exports,n.exports.__esModule=!0}),d=void 0!==window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,N="{{lit-".concat(String(Math.random()).slice(2),"}}"),v="\x3c!--".concat(N,"--\x3e"),T=new RegExp("".concat(N,"|").concat(v)),j="$lit$",R=function(t,e){var r=t.length-e.length;return 0<=r&&t.slice(r)===e},V=function(){return document.createComment("")},z=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function y(t,e){for(var r=t.element.content,n=t.parts,o=document.createTreeWalker(r,133,null,!1),i=g(n),s=n[i],a=-1,u=0,l=[],c=null;o.nextNode();){a++;var h=o.currentNode;for(h.previousSibling===c&&(c=null),e.has(h)&&(l.push(h),null===c&&(c=h)),null!==c&&u++;void 0!==s&&s.index===a;)s.index=null!==c?-1:s.index-u,s=n[i=g(n,i)]}l.forEach(function(t){return t.parentNode.removeChild(t)})}function g(t){for(var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1)+1;e<t.length;e++){var r=t[e];if(l(r))return e}return-1}function m(t,e,r){var n=2<arguments.length&&void 0!==r?r:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),s=g(o),a=0,u=-1;i.nextNode();)for(u++,i.currentNode===n&&(a=function(t){for(var e=11===t.nodeType?0:1,r=document.createTreeWalker(t,133,null,!1);r.nextNode();)e++;return e}(e),n.parentNode.insertBefore(e,n));-1!==s&&o[s].index===u;){if(0<a){for(;-1!==s;)o[s].index+=a,s=g(o,s);return}s=g(o,s)}else r.appendChild(e)}function w(t){return"function"==typeof t&&e.has(t)}var e=new WeakMap,x={},r={},_=t(function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0}),b=t(function(t){t.exports=function(t){if(Array.isArray(t))return _(t)},t.exports.default=t.exports,t.exports.__esModule=!0}),S=t(function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0}),k=t(function(t){t.exports=function(t,e){if(t){if("string"==typeof t)return _(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0}),C=t(function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0}),M=t(function(t){t.exports=function(t){return b(t)||S(t)||k(t)||C()},t.exports.default=t.exports,t.exports.__esModule=!0});function P(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var B=function(){function n(t,e,r){A(this,n),this.__parts=[],this.template=t,this.processor=e,this.options=r}return i(n,[{key:"update",value:function(t){var e,r=0,n=P(this.__parts);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[r]),r++}}catch(t){n.e(t)}finally{n.f()}var i,s=P(this.__parts);try{for(s.s();!(i=s.n()).done;){var a=i.value;void 0!==a&&a.commit()}}catch(t){s.e(t)}finally{s.f()}}},{key:"_clone",value:function(){for(var t,e,r=d?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],o=this.template.parts,i=document.createTreeWalker(r,133,null,!1),s=0,a=0,u=i.nextNode();s<o.length;)if(t=o[s],l(t)){for(;a<t.index;)a++,"TEMPLATE"===u.nodeName&&(n.push(u),i.currentNode=u.content),null===(u=i.nextNode())&&(i.currentNode=n.pop(),u=i.nextNode());"node"===t.type?((e=this.processor.handleTextExpression(this.options)).insertAfterNode(u.previousSibling),this.__parts.push(e)):(e=this.__parts).push.apply(e,M(this.processor.handleAttributeExpressions(u,t.name,t.strings,this.options))),s++}else this.__parts.push(void 0),s++;return d&&(document.adoptNode(r),customElements.upgrade(r)),r}}]),n}();function H(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}var U=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),I=" ".concat(N," "),F=function(){function o(t,e,r,n){A(this,o),this.strings=t,this.values=e,this.type=r,this.processor=n}return i(o,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",r=!1,n=0;n<t;n++){var o=this.strings[n],i=o.lastIndexOf("\x3c!--"),r=(-1<i||r)&&-1===o.indexOf("--\x3e",i+1),i=z.exec(o);e+=null===i?o+(r?I:v):o.substr(0,i.index)+i[1]+i[2]+j+i[3]+N}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==U&&(e=U.createHTML(e)),t.innerHTML=e,t}}]),o}(),q=function(){a(n,F);var t=H(n);function n(){return A(this,n),t.apply(this,arguments)}return i(n,[{key:"getHTML",value:function(){return"<svg>".concat(p(c(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=p(c(n.prototype),"getTemplateElement",this).call(this),e=t.content,r=e.firstChild;return e.removeChild(r),function(t,e){for(var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;e!==r;){var o=e.nextSibling;t.insertBefore(e,n),e=o}}(e,r.firstChild),t}}]),n}();function W(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}function Z(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return G(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function D(t){return null===t||!("object"===O(t)||"function"==typeof t)}function J(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])}var $=function(){function o(t,e,r){A(this,o),this.dirty=!0,this.element=t,this.name=e,this.strings=r,this.parts=[];for(var n=0;n<r.length-1;n++)this.parts[n]=this._createPart()}return i(o,[{key:"_createPart",value:function(){return new Y(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,r=this.parts;if(1==e&&""===t[0]&&""===t[1]){var n=r[0].value;if("symbol"===O(n))return String(n);if("string"==typeof n||!J(n))return n}for(var o="",i=0;i<e;i++){o+=t[i];var s=r[i];if(void 0!==s){s=s.value;if(D(s)||!J(s))o+="string"==typeof s?s:String(s);else{var a,u=Z(s);try{for(u.s();!(a=u.n()).done;){var l=a.value;o+="string"==typeof l?l:String(l)}}catch(t){u.e(t)}finally{u.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),o}(),Y=function(){function e(t){A(this,e),this.value=void 0,this.committer=t}return i(e,[{key:"setValue",value:function(t){t===x||D(t)&&t===this.value||(this.value=t,w(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;w(this.value);){var t=this.value;this.value=x,t(this)}this.value!==x&&this.committer.commit()}}]),e}(),X=function(){function a(t){A(this,a),this.value=void 0,this.__pendingValue=void 0,this.options=t}return i(a,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(V()),this.endNode=t.appendChild(V())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=V()),t.__insert(this.endNode=V())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=V()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;w(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=x,t(this)}var e=this.__pendingValue;e!==x&&(D(e)?e!==this.value&&this.__commitText(e):e instanceof F?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):J(e)?this.__commitIterable(e):e===r?(this.value=r,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,r="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=r:this.__commitNode(document.createTextNode(r)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e,r=this.options.templateFactory(t);this.value instanceof B&&this.value.template===r?this.value.update(t.values):(r=(e=new B(r,t.processor,this.options))._clone(),e.update(t.values),this.__commitNode(r),this.value=e)}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,r=this.value,n=0,o=Z(t);try{for(o.s();!(e=o.n()).done;){var i,s=e.value;void 0===(i=r[n])&&(i=new a(this.options),r.push(i),0===n?i.appendIntoPart(this):i.insertAfterPart(r[n-1])),i.setValue(s),i.commit(),n++}}catch(t){o.e(t)}finally{o.f()}n<r.length&&(r.length=n,this.clear(i&&i.endNode))}},{key:"clear",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.startNode;h(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),a}(),K=function(){function n(t,e,r){if(A(this,n),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=r}return i(n,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;w(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=x,t(this)}var e;this.__pendingValue!==x&&(e=!!this.__pendingValue,this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=x)}}]),n}(),Q=function(){a(o,$);var n=W(o);function o(t,e,r){return A(this,o),(e=n.call(this,t,e,r)).single=2===r.length&&""===r[0]&&""===r[1],e}return i(o,[{key:"_createPart",value:function(){return new tt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:p(c(o.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),o}(),tt=function(){a(e,Y);var t=W(e);function e(){return A(this,e),t.apply(this,arguments)}return e}(),et=!1;!function(){try{var t={get capture(){return!(et=!0)}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var rt=function(){function o(t,e,r){var n=this;A(this,o),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=r,this.__boundHandleEvent=function(t){return n.handleEvent(t)}}return i(o,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;w(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=x,t(this)}var e,r,n;this.__pendingValue!==x&&(e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),n=null!=e&&(null==n||r),r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),n&&(this.__options=nt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=x)}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),o}(),nt=function(t){return t&&(et?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function ot(t){var e=it.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},it.set(t.type,e));var r=e.stringsArray.get(t.strings);if(void 0!==r)return r;var n=t.strings.join(N);return void 0===(r=e.keyString.get(n))&&(r=new L(t,t.getTemplateElement()),e.keyString.set(n,r)),e.stringsArray.set(t.strings,r),r}var it=new Map,st=new WeakMap,at=new(function(){function t(){A(this,t)}return i(t,[{key:"handleAttributeExpressions",value:function(t,e,r,n){var o=e[0];return"."===o?new Q(t,e.slice(1),r).parts:"@"===o?[new rt(t,e.slice(1),n.eventContext)]:"?"===o?[new K(t,e.slice(1),r)]:new $(t,e,r).parts}},{key:"handleTextExpression",value:function(t){return new X(t)}}]),t}());void 0!==window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");function ut(t,e){return"".concat(t,"--").concat(e)}var lt=!0;void 0===window.ShadyCSS?lt=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),lt=!1);function ct(t,e,r){ft.add(t);var n=r?r.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var s,a=document.createElement("style"),u=0;u<i;u++){var l=o[u];l.parentNode.removeChild(l),a.textContent+=l.textContent}s=t,ht.forEach(function(t){t=it.get(ut(t,s));void 0!==t&&t.keyString.forEach(function(t){var e=t.element.content,r=new Set;Array.from(e.querySelectorAll("style")).forEach(function(t){r.add(t)}),y(t,r)})});var c=n.content;r?m(r,a,c.firstChild):c.insertBefore(a,c.firstChild),window.ShadyCSS.prepareTemplateStyles(n,t);var h=c.querySelector("style");window.ShadyCSS.nativeShadow&&null!==h?e.insertBefore(h.cloneNode(!0),e.firstChild):r&&(c.insertBefore(a,c.firstChild),(c=new Set).add(a),y(r,c))}else window.ShadyCSS.prepareTemplateStyles(n,t)}var ht=["html","svg"],ft=new Set,pt=t(function(t){function u(t,e,r,n,o,i,s){try{var a=t[i](s),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(a){return function(){var t=this,s=arguments;return new Promise(function(e,r){var n=a.apply(t,s);function o(t){u(n,e,r,o,i,"next",t)}function i(t){u(n,e,r,o,i,"throw",t)}o(void 0)})}},t.exports.default=t.exports,t.exports.__esModule=!0}),dt=t(function(t){t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},t.exports.default=t.exports,t.exports.__esModule=!0}),vt=t(function(t){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0}),yt=t(function(n){function o(t,e,r){return vt()?n.exports=o=Reflect.construct:n.exports=o=function(t,e,r){var n=[null];n.push.apply(n,e);n=new(Function.bind.apply(t,n));return r&&s(n,r.prototype),n},n.exports.default=n.exports,n.exports.__esModule=!0,o.apply(null,arguments)}n.exports=o,n.exports.default=n.exports,n.exports.__esModule=!0}),gt=t(function(e){function n(t){var r="function"==typeof Map?new Map:void 0;return e.exports=n=function(t){if(null===t||!dt(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return yt(t,arguments,c(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),s(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0}),mt=t(function(e){e=function(s){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(t){i=function(t,e,r){return t[e]=r}}function a(t,e,r,n){var o,i,s,a,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype),n=new C(n||[]);return e._invoke=(o=t,i=r,s=n,a=h,function(t,e){if(a===p)throw new Error("Generator is already running");if(a===d){if("throw"===t)throw e;return P()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r){var n=function t(e,r){var n=e.iterator[r.method];if(n===u){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=c(n,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;n=n.arg;if(!n)return r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v;{if(!n.done)return n;r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u)}r.delegate=null;return v}(r,s);if(n){if(n===v)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(a===h)throw a=d,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);a=p;n=c(o,i,s);if("normal"===n.type){if(a=s.done?d:f,n.arg!==v)return{value:n.arg,done:s.done}}else"throw"===n.type&&(a=d,s.method="throw",s.arg=n.arg)}}),e}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}s.wrap=a;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};w[n]=function(){return this};e=Object.getPrototypeOf,e=e&&e(e(M([])));e&&e!==t&&l.call(e,n)&&(w=e);var x=m.prototype=y.prototype=Object.create(w);function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function b(s,a){var e;this._invoke=function(r,n){function t(){return new a(function(t,e){!function e(t,r,n,o){t=c(s[t],s,r);if("throw"!==t.type){var i=t.arg;return(r=i.value)&&"object"===O(r)&&l.call(r,"__await")?a.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):a.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)})}o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function M(e){if(e){var t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,t=function t(){for(;++r<e.length;)if(l.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t};return t.next=t}}return{next:P}}function P(){return{value:u,done:!0}}return((g.prototype=x.constructor=m).constructor=g).displayName=i(m,o,"GeneratorFunction"),s.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(x),t},s.awrap=function(t){return{__await:t}},_(b.prototype),b.prototype[r]=function(){return this},s.AsyncIterator=b,s.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new b(a(t,e,r,n),o);return s.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(x),i(x,o,"Generator"),x[n]=function(){return this},x.toString=function(){return"[object Generator]"},s.keys=function(r){var t,n=[];for(t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},s.values=M,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=l.call(o,"catchLoc"),a=l.call(o,"finallyLoc");if(s&&a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n,o=r.completion;return"throw"===o.type&&(n=o.arg,k(r)),n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:M(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),v}},s}(e.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function wt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return xt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xt(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _t(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}window.JSCompiler_renameProperty=function(t,e){return t};function bt(t,e){return e!==t&&(e==e||t==t)}var St={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},kt={attribute:!0,type:String,converter:St,reflect:!1,hasChanged:bt},Ct="finalized",Mt=function(t){a(n,t);var e,r=_t(n);function n(){var t;return A(this,n),(t=r.call(this)).initialize(),t}return i(n,[{key:"initialize",value:function(){var e=this;this._updateState=0,this._updatePromise=new Promise(function(t){return e._enableUpdatingResolver=t}),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var n=this;this.constructor._classProperties.forEach(function(t,e){var r;n.hasOwnProperty(e)&&(r=n[e],delete n[e],n._instanceProperties||(n._instanceProperties=new Map),n._instanceProperties.set(e,r))})}},{key:"_applyInstanceProperties",value:function(){var r=this;this._instanceProperties.forEach(function(t,e){return r[e]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,r){e!==r&&this._attributeToProperty(t,r)}},{key:"_propertyToAttribute",value:function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:kt,n=this.constructor,t=n._attributeNameForProperty(t,r);void 0===t||void 0!==(r=n._propertyValueToAttribute(e,r))&&(this._updateState=8|this._updateState,null==r?this.removeAttribute(t):this.setAttribute(t,r),this._updateState=-9&this._updateState)}},{key:"_attributeToProperty",value:function(t,e){var r,n;8&this._updateState||void 0!==(n=(r=this.constructor)._attributeToPropertyMap.get(t))&&(t=r.getPropertyOptions(n),this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(e,t),this._updateState=-17&this._updateState)}},{key:"requestUpdateInternal",value:function(t,e,r){var n,o=!0;void 0!==t&&(n=this.constructor,r=r||n.getPropertyOptions(t),n._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):o=!1),!this._hasRequestedUpdate&&o&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=pt(mt.mark(function t(){var e;return mt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null!=(e=this.performUpdate()))return t.next=12,e;t.next=12;break;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}},t,this,[[1,6]])})),function(){return e.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var r=this;void 0!==this._reflectingProperties&&0<this._reflectingProperties.size&&(this._reflectingProperties.forEach(function(t,e){return r._propertyToAttribute(e,r[e],t)}),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var r=this;this.finalize();var n=[];return this._classProperties.forEach(function(t,e){t=r._attributeNameForProperty(e,t);void 0!==t&&(r._attributeToPropertyMap.set(t,e),n.push(t))}),n}},{key:"_ensureClassProperties",value:function(){var t,r=this;this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))||(this._classProperties=new Map,void 0!==(t=Object.getPrototypeOf(this)._classProperties)&&t.forEach(function(t,e){return r._classProperties.set(e,t)}))}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:kt;this._ensureClassProperties(),this._classProperties.set(t,r),r.noAccessor||this.prototype.hasOwnProperty(t)||(e="symbol"===O(t)?Symbol():"__".concat(t),void 0!==(r=this.getPropertyDescriptor(t,e,r))&&Object.defineProperty(this.prototype,t,r))}},{key:"getPropertyDescriptor",value:function(r,n,o){return{get:function(){return this[n]},set:function(t){var e=this[r];this[n]=t,this.requestUpdateInternal(r,e,o)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||kt}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(Ct)||t.finalize(),this[Ct]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,r=this.properties,n=wt([].concat(M(Object.getOwnPropertyNames(r)),M("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r):[])));try{for(n.s();!(e=n.n()).done;){var o=e.value;this.createProperty(o,r[o])}}catch(t){n.e(t)}finally{n.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:bt)(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var r=e.type,e=e.converter||St,e="function"==typeof e?e:e.fromAttribute;return e?e(t,r):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var r=e.type,e=e.converter;return(e&&e.toAttribute||St.toAttribute)(t,r)}}}]),n}(gt(HTMLElement));Mt.finalized=!0;function Pt(t){return new At(String(t),Lt)}function Ot(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=e.reduce(function(t,e,r){return t+function(t){if(t instanceof At)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))}(e)+n[r+1]},n[0]);return new At(o,Lt)}var Et=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lt=Symbol(),At=function(){function r(t,e){if(A(this,r),e!==Lt)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return i(r,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(Et?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),r}();function Nt(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");var Tt={},jt=function(){a(n,Mt);var t=Nt(n);function n(){return A(this,n),t.apply(this,arguments)}return i(n,[{key:"initialize",value:function(){p(c(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow(this.constructor.shadowRootOptions)}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Et?this.renderRoot.adoptedStyleSheets=t.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(function(t){return t.cssText}),this.localName))}},{key:"connectedCallback",value:function(){p(c(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var r=this,e=this.render();p(c(n.prototype),"update",this).call(this,t),e!==Tt&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(function(t){var e=document.createElement("style");e.textContent=t.cssText,r.renderRoot.appendChild(e)}))}},{key:"render",value:function(){return Tt}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){var t,e,r;this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))||(t=this.getStyles(),Array.isArray(t)?(e=function r(t,e){return t.reduceRight(function(t,e){return Array.isArray(e)?r(e,t):(t.add(e),t)},e)}(t,new Set),r=[],e.forEach(function(t){return r.unshift(t)}),this._styles=r):this._styles=void 0===t?[]:[t],this._styles=this._styles.map(function(t){if(t instanceof CSSStyleSheet&&!Et){var e=Array.prototype.slice.call(t.cssRules).reduce(function(t,e){return t+e.cssText},"");return Pt(e)}return t}))}}]),n}();jt.finalized=!0,jt.render=function(t,e,r){if(!r||"object"!==O(r)||!r.scopeName)throw new Error("The `scopeName` option is required.");var n,o,i,s=r.scopeName,a=st.has(e),u=lt&&11===e.nodeType&&!!e.host,l=u&&!ft.has(s),c=l?document.createDocumentFragment():e;n=t,o=c,t=Object.assign({templateFactory:(i=s,function(t){var e=ut(t.type,i),r=it.get(e);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},it.set(e,r));var n=r.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(N);return void 0===(n=r.keyString.get(o))&&(e=t.getTemplateElement(),lt&&window.ShadyCSS.prepareTemplateDom(e,i),n=new L(t,e),r.keyString.set(o,n)),r.stringsArray.set(t.strings,n),n})},r),void 0===(r=st.get(o))&&(h(o,o.firstChild),st.set(o,r=new X(Object.assign({templateFactory:ot},t))),r.appendInto(o)),r.setValue(n),r.commit(),l&&(r=st.get(c),st.delete(c),l=r.value instanceof B?r.value.template:void 0,ct(s,c,l),h(e,e.firstChild),e.appendChild(c),st.set(e,r)),!a&&u&&window.ShadyCSS.styleElement(e.host)},jt.shadowRootOptions={mode:"open"};function Rt(t,e){return t=t.toLowerCase(),window.customElements.get(t)||window.customElements.define(t,e),t}var Vt=t(function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0}),zt=t(function(t){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(t){a=!0,o=t}finally{try{s||null==r.return||r.return()}finally{if(a)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0}),Bt=t(function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0}),Ht=t(function(t){t.exports=function(t,e){return Vt(t)||zt(t,e)||k(t,e)||Bt()},t.exports.default=t.exports,t.exports.__esModule=!0});function Ut(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}t(function(t){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0});var It=t(function(t){t.exports=function(t,e){if(null==t)return{};for(var r,n={},o=Object.keys(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||(n[r]=t[r]);return n},t.exports.default=t.exports,t.exports.__esModule=!0});t(function(t){t.exports=function(t,e){if(null==t)return{};var r,n=It(t,e);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r]);return n},t.exports.default=t.exports,t.exports.__esModule=!0}),t(function(t,e){var r;r=function(){return r=[function(t,e,r){function c(t,e){var r,n={};for(r in t)0<=e.indexOf(r)||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o,r.d(e,"h",function(){return i});var a=new Map,h=new WeakMap;function u(t){var s,a,u,l,e=t||{},r=e.attrs,n=e.events,o=e.ref,i=e.key,t=e.dangerouslySetInnerHTML,e=c(e,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(o={attrs:r,events:n,props:e,ref:o}).attrs,a=o.events,u=o.props,l=o.ref,function(t){var e,r,n,o,i;t&&(n=t,(o=s)&&Object.keys(o).forEach(function(t){var e=o[t];null==e?n.removeAttribute(t):n.setAttribute(t,e)}),function(e,t){var r=1<arguments.length&&void 0!==t?t:{},n=h.get(e)||{};h.set(e,r),Object.keys(n).forEach(function(t){n[t]&&n[t]!==r[t]&&e.removeEventListener(t,n[t])}),Object.keys(r).forEach(function(t){r[t]!==n[t]&&e.addEventListener(t,r[t])})}(t,a),e=t,r=u,Object.keys(r||{}).forEach(function(t){e[t]=r[t]})),i=t,(t=l)&&t(i)}),key:i,dangerouslySetInnerHTML:t}}function n(t,e){var r=e.ref;c(e,["ref"]);var n="function"==typeof t?new t:document.createElement(t);r&&r(n);for(var o=arguments.length,i=Array(2<o?o-2:0),s=2;s<o;s++)i[s-2]=arguments[s];return i.forEach(function(t){return n.appendChild("string"==typeof t?document.createTextNode(t):t)}),n}function o(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:n;return function(t,e){var r;r=t,t=a.get(r)||r,e=u(e);for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return s.apply(void 0,[t,e].concat(o))}}var i=o()},function(t,e,r){t.exports=r(0)}],o={},n.m=r,n.c=o,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1);function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var r,o},t.exports=r()});function Ft(t){return!(null==t)}var qt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=Ht(t,2),t=e[0],e=e[1];qt.set(t,e)});function Wt(){}var Zt,Gt=function(a){var u=a.constructor.properties;Object.keys(u).forEach(function(t){var e=u[t],r=e.type,n=e.converter,o=e.defaultValue;if(r){var i,s=a[t];Ft(s)||(s=r===Boolean?a.hasAttribute(t):a.getAttribute(t),Ft(s)?a[t]=(i=s,(s=r)===Number?parseFloat(i):s===Function?Wt:s===Array||s===Object?JSON.parse(i):i):void 0===o&&"defaultValue"in e||(a[t]="defaultValue"in e?o:qt.get(r)))}else if(!n)throw new Error("<".concat(a.nodeName,'> property "').concat(t,'" is missing a type!'))})};function Dt(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=c(r);return e=n?(t=c(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),u(this,e)}}var Jt,$t,Yt,Xt,Kt=function(){a(r,jt);var e=Dt(r);function r(){var t;return A(this,r),t=e.call(this),Gt(o(t)),t}return i(r,[{key:"updated",value:function(){var n,e=this,t=this.icon;/\.svg/.test(t)?(n=t,new Promise(function(t,e){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){return t(r.responseText)},r.onerror=function(){return e(r.statusText)},r.send()}).then(function(t){e._loadedSvg=t})):/<svg/.test(t)?this._loadedSvg=t:this._loadedSvg=r.iconsMapping[t]||""}},{key:"render",value:function(){return this._loadedSvg&&function(t){for(var e=arguments.length,r=new Array(1<e?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new q(t,r,"svg",at)}([this._loadedSvg])}}],[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return Ot(Zt=Zt||n(["\n ","\n "]),Pt(":host(:not([size=original])) svg {\n width: 24px;\n height: 24px;\n}\n\n:host([size=small]) svg {\n width: 20px;\n height: 20px;\n}\n\n:host([size=large]) svg {\n width: 32px;\n height: 32px;\n}"))}},{key:"iconsMapping",get:function(){return{"arrow-left":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.078 12.5a1 1 0 01-1 1h-10.5a1 1 0 110-2h10.5a1 1 0 011 1z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M10.202 8.219a1 1 0 01.157 1.405L8.06 12.5l2.3 2.876a1 1 0 01-1.563 1.248L5.5 12.5l3.297-4.124a1 1 0 011.405-.157z" fill="currentColor"/></svg>',"arrow-right":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.922 11.5a1 1 0 011-1h10.5a1 1 0 110 2h-10.5a1 1 0 01-1-1z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.798 15.781a1 1 0 01-.157-1.405L15.94 11.5l-2.3-2.876a1 1 0 011.563-1.248L18.5 11.5l-3.297 4.124a1 1 0 01-1.405.157z" fill="currentColor"/></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>',document:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>',mobile:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>',add:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"/></svg>',"cloud-upload":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"/></svg>',"axa-logo":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.467 283.467"><path fill="#00008f" d="M.003.003h283.464v283.464H.003z"/><path fill="#ff1721" d="M175.659 139.99L283.467 0h-15.923L159.38 139.99h16.279z"/><path fill="#fff" d="M216.597 202.461c4.941 13.823 15.122 49.795 19.17 52.661h-26.729a44.571 44.571 0 00-1.254-9.434c-1.153-4.111-10.821-35.214-10.821-35.214h-42.456l-6.675 9.463s8.018 25.097 8.515 26.327c.865 2.217 4.693 8.858 4.693 8.858h-25.615s-.664-3.833-.913-5.43c-.2-1.289-2.427-8.349-2.427-8.349s-5.806 6.362-7.388 9.312c-1.596 2.943-2.304 4.467-2.304 4.467h-20.04s-.668-3.833-.917-5.43c-.196-1.289-2.647-8.916-2.647-8.916s-5.61 6.812-7.207 9.756c-1.587 2.95-2.27 4.59-2.27 4.59h-19.82s5.601-5.332 7.559-7.622c3.3-3.882 15.6-19.956 15.6-19.956l-4.931-17.07H45.586s-24.023 31.567-24.97 32.543c-.957.962-7.96 11.011-8.116 12.105H0v-7.949a5.987 5.987 0 01.493-.479c.386-.283 18.213-22.412 34.59-44.233 14.717-19.029 28.526-37.535 29.737-39.297 2.934-4.263 7.163-13.467 7.163-13.467h21.781s.675 8.467 1.31 10.522c.565 1.817 13.837 45.362 14.15 45.831l7.338-9.385-12.543-38.614s-2.94-7.265-3.897-8.354h25.445a22.166 22.166 0 00.83 6.919c1.034 3.184 6.489 22.866 6.489 22.866s17.354-21.753 18.369-23.315a14.1 14.1 0 002.143-6.47H174.6s-3.881 2.837-10.683 11.44c-2.285 2.896-24.673 31.348-24.673 31.348s1.953 6.66 2.905 9.976c.26.952.44 1.597.44 1.665 0 .03.493-.576 1.343-1.665 5.776-7.32 32.05-41.772 33.643-44.722 1.284-2.382 3.173-5.092 4.282-8.041h20.683s.478 6.176 1.109 7.885zm-31.475-32.612c-3.037 6.533-20.913 28.296-20.913 28.296h28.31s-5.488-16.9-6.445-20.709a30.233 30.233 0 01-.557-7.402c0-.346-.063-.908-.395-.185zm-108.775 0c-3.036 6.533-20.912 28.296-20.912 28.296h28.31s-5.483-16.9-6.44-20.709a30.233 30.233 0 01-.557-7.402c0-.346-.068-.908-.4-.185zm42.623 65.986l7.793-10.703c-.718-.772-5.107-14.082-5.107-14.082l-7.535 9.775z"/></svg>',"axa-logo-open":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path fill="#FF1721" d="M49.026 39.457L77.948 1.9h-4.272L44.658 39.457z"/><path d="M0 0v79.85h79.85V0H0zm77.948 77.948H1.901v-7.604h3.353c.042-.293 1.92-2.99 2.177-3.247.254-.262 6.7-8.731 6.7-8.731h11.303l1.323 4.58s-3.3 4.312-4.186 5.353c-.525.615-2.027 2.045-2.027 2.045h5.317s.183-.44.609-1.231c.428-.79 1.933-2.618 1.933-2.618s.658 2.047.71 2.392c.067.429.247 1.457.247 1.457h5.376s.19-.409.618-1.199c.424-.79 1.982-2.498 1.982-2.498s.597 1.895.65 2.24c.068.429.246 1.457.246 1.457h6.872s-1.027-1.781-1.26-2.376c-.133-.33-2.284-7.063-2.284-7.063l1.791-2.54h11.39s2.594 8.345 2.903 9.448c.202.83.315 1.678.336 2.531h7.171c-1.086-.769-3.817-10.42-5.143-14.128l-3.474-12.04c-.169-.458-.297-2.115-.297-2.115h-5.549c-.297.791-.804 1.518-1.149 2.157-.427.792-7.476 10.035-9.025 11.998-.228.292-.36.455-.36.447 0-.018-.049-.191-.118-.447-.256-.89-.78-2.676-.78-2.676s6.006-7.633 6.62-8.41c1.824-2.308 2.865-3.069 2.865-3.069h-5.687a3.783 3.783 0 01-.575 1.736c-.273.419-4.928 6.255-4.928 6.255s-1.464-5.28-1.741-6.135a5.947 5.947 0 01-.223-1.856h-6.826c.257.292 1.045 2.241 1.045 2.241l3.365 10.36-1.968 2.517c-.084-.126-3.645-11.808-3.797-12.295-.17-.551-.35-2.823-.35-2.823h-5.844s-1.135 2.47-1.922 3.613c-.325.473-4.03 5.437-7.978 10.542-4.393 5.854-9.176 11.791-9.28 11.867a1.6 1.6 0 00-.13.128V1.9h76.046v76.047zM22.64 49.503c.256 1.022 1.727 5.555 1.727 5.555h-7.595s4.796-5.838 5.61-7.59c.09-.195.108-.044.108.049a8.11 8.11 0 00.15 1.986zm9.876 11.64l2.022-2.622s1.177 3.57 1.37 3.777l-2.09 2.872-1.302-4.027zm19.304-11.64c.257 1.022 1.729 5.555 1.729 5.555h-7.595s4.796-5.838 5.61-7.59c.09-.195.106-.044.106.049a8.111 8.111 0 00.15 1.986z" fill="#00008F"/></svg>',"check-circle":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>',check:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>',"info-outline":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/></svg>',"warning-amber":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 21.5L12 2.5L23 21.5H1ZM19.53 19.5L12 6.49L4.47 19.5H19.53ZM11 16.5V18.5H13V16.5H11ZM11 10.5H13V14.5H11V10.5Z" fill="currentColor"/></svg>',cloudy:'<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.34278 4.04C6.59226 1.64 9.11121 0 12 0C15.6385 0 18.6672 2.59 19.3569 6.04C21.9459 6.22 23.995 8.36 23.995 11C23.995 13.76 21.7559 16 18.9971 16H6.00251C2.69388 16 0.00500488 13.31 0.00500488 10C0.00500488 6.91 2.34403 4.36 5.34278 4.04ZM17.3978 6.43C16.888 3.86 14.6089 2 12 2C9.94086 2 8.07164 3.14 7.13204 4.97L6.63224 5.92L5.56269 6.03C3.53353 6.24 2.00417 7.95 2.00417 10C2.00417 12.21 3.79343 14 6.00251 14H18.9971C20.6464 14 21.9958 12.65 21.9958 11C21.9958 9.45 20.7764 8.15 19.217 8.04L17.6976 7.93L17.3978 6.43Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.70521 22.7053L3.99997 19L5.41418 17.5858L9.11942 21.2911L7.70521 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.7052 22.7053L14 19L15.4142 17.5858L19.1194 21.2911L17.7052 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7052 22.7053L8.99997 19L10.4142 17.5858L14.1194 21.2911L12.7052 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22.7052 22.7053L19 19L20.4142 17.5858L24.1194 21.2911L22.7052 22.7053Z" fill="currentColor"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String},size:{type:String,reflect:!0,defaultValue:"medium"},_loadedSvg:{type:String}}}}]),r}();return Yt="string"==typeof(Jt={"axa-icon":{"axa-icon":"6.1.1"}})&&Jt,Xt="",[Kt].forEach(function(t){var r=t instanceof HTMLElement?t.constructor:t,e=r.tagName,t=!Yt&&Jt[e];if(t){if(!window.customElements.get(e)&&r.versions)throw Error("'versions' is a reserved class property, but was found in ".concat(e,"'s class"));r.versions=t,Rt(e,r)}t=r.versions;!t&&$t&&((t=Jt[$t.constructor.tagName])[e]=Object.values(t)[0]);t=Yt||t[e];t=t,Xt="".concat(e,"-").concat("".concat(t).replace(/\./g,"-").replace(/[^A-Za-z0-9-]/g,"")),Rt(Xt,function(){a(e,r);var t=Ut(e);function e(){return A(this,e),t.apply(this,arguments)}return e}())}),Kt}(); | ||
var window=function(){"use strict";function t(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var n=t(function(t){t.exports=function(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.default=t.exports,t.exports.__esModule=!0}),E=t(function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0}),o=t(function(t){function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t},t.exports.default=t.exports,t.exports.__esModule=!0}),i=t(function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0}),s=t(function(r){function n(t,e){return r.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r.exports.default=r.exports,r.exports.__esModule=!0,n(t,e)}r.exports=n,r.exports.default=r.exports,r.exports.__esModule=!0}),u=t(function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0}),M=t(function(e){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(t){return typeof t}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}),l=t(function(t){var r=M.default;t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?i(t):e},t.exports.default=t.exports,t.exports.__esModule=!0}),a=t(function(e){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}),c=t(function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0}),e=t(function(t){t.exports=function(t){if(Array.isArray(t))return c(t)},t.exports.default=t.exports,t.exports.__esModule=!0}),r=t(function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0}),f=t(function(t){t.exports=function(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0}),h=t(function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0}),S=t(function(t){t.exports=function(t){return e(t)||r(t)||f(t)||h()},t.exports.default=t.exports,t.exports.__esModule=!0}),p=t(function(t){function l(t,e,r,n,o,i,s){try{var u=t[i](s),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,o)}t.exports=function(u){return function(){var t=this,s=arguments;return new Promise(function(e,r){var n=u.apply(t,s);function o(t){l(n,e,r,o,i,"next",t)}function i(t){l(n,e,r,o,i,"throw",t)}o(void 0)})}},t.exports.default=t.exports,t.exports.__esModule=!0}),d=t(function(t){t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},t.exports.default=t.exports,t.exports.__esModule=!0}),v=t(function(t){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0}),y=t(function(n){function o(t,e,r){return v()?n.exports=o=Reflect.construct:n.exports=o=function(t,e,r){var n=[null];n.push.apply(n,e);n=new(Function.bind.apply(t,n));return r&&s(n,r.prototype),n},n.exports.default=n.exports,n.exports.__esModule=!0,o.apply(null,arguments)}n.exports=o,n.exports.default=n.exports,n.exports.__esModule=!0}),g=t(function(e){function n(t){var r="function"==typeof Map?new Map:void 0;return e.exports=n=function(t){if(null===t||!d(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return y(t,arguments,a(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),s(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0}),m=t(function(e){e=function(s){var l,t=Object.prototype,a=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(t){i=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o,i,s,u,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype),n=new E(n||[]);return e._invoke=(o=t,i=r,s=n,u=f,function(t,e){if(u===p)throw new Error("Generator is already running");if(u===d){if("throw"===t)throw e;return C()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r){var n=function t(e,r){var n=e.iterator[r.method];if(n===l){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=l,t(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=c(n,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;n=n.arg;if(!n)return r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v;{if(!n.done)return n;r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=l)}r.delegate=null;return v}(r,s);if(n){if(n===v)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===f)throw u=d,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=p;n=c(o,i,s);if("normal"===n.type){if(u=s.done?d:h,n.arg!==v)return{value:n.arg,done:s.done}}else"throw"===n.type&&(u=d,s.method="throw",s.arg=n.arg)}}),e}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}s.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};w[n]=function(){return this};e=Object.getPrototypeOf,e=e&&e(e(S([])));e&&e!==t&&a.call(e,n)&&(w=e);var x=m.prototype=y.prototype=Object.create(w);function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function b(s,u){var e;this._invoke=function(r,n){function t(){return new u(function(t,e){!function e(t,r,n,o){t=c(s[t],s,r);if("throw"!==t.type){var i=t.arg;return(r=i.value)&&"object"===M(r)&&a.call(r,"__await")?u.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):u.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)})}o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function S(e){if(e){var t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,t=function t(){for(;++r<e.length;)if(a.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=l,t.done=!0,t};return t.next=t}}return{next:C}}function C(){return{value:l,done:!0}}return((g.prototype=x.constructor=m).constructor=g).displayName=i(m,o,"GeneratorFunction"),s.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(x),t},s.awrap=function(t){return{__await:t}},_(b.prototype),b.prototype[r]=function(){return this},s.AsyncIterator=b,s.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new b(u(t,e,r,n),o);return s.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(x),i(x,o,"Generator"),x[n]=function(){return this},x.toString=function(){return"[object Generator]"},s.keys=function(r){var t,n=[];for(t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},s.values=S,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=l)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=l),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n,o=r.completion;return"throw"===o.type&&(n=o.arg,A(r)),n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=l),v}},s}(e.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function w(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _(t){return new C("string"==typeof t?t:t+"",$)}var b=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$=Symbol(),A=new Map,C=function(){function r(t,e){if(E(this,r),this._$cssResult$=!0,e!==$)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return o(r,[{key:"styleSheet",get:function(){var t=A.get(this.cssText);return b&&void 0===t&&(A.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}},{key:"toString",value:function(){return this.cssText}}]),r}(),k=b?function(t){return t}:function(n){return n instanceof CSSStyleSheet?function(){var t,e="",r=w(n.cssRules);try{for(r.s();!(t=r.n()).done;)e+=t.value.cssText}catch(t){r.e(t)}finally{r.f()}return _(e)}():n};function L(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return O(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function R(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}var T=window.trustedTypes,P=T?T.emptyScript:"",T=window.reactiveElementPolyfillSupport,H={toAttribute:function(t,e){switch(e){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},j=function(t,e){return e!==t&&(e==e||t==t)},z={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:j},N=function(t){u(n,t);var e,r=R(n);function n(){var t;return E(this,n),(t=r.call(this))._$Et=new Map,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Ei=null,t.o(),t}return o(n,[{key:"o",value:function(){var t,e=this;this._$Ep=new Promise(function(t){return e.enableUpdating=t}),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(function(t){return t(e)})}},{key:"addController",value:function(t){var e;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}},{key:"removeController",value:function(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}},{key:"_$Em",value:function(){var r=this;this.constructor.elementProperties.forEach(function(t,e){r.hasOwnProperty(e)&&(r._$Et.set(e,r[e]),delete r[e])})}},{key:"createRenderRoot",value:function(){var n,t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return n=e,t=this.constructor.elementStyles,b?n.adoptedStyleSheets=t.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}):t.forEach(function(t){var e=document.createElement("style"),r=window.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=t.cssText,n.appendChild(e)}),e}},{key:"connectedCallback",value:function(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach(function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$Eg)||void 0===t||t.forEach(function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function(t,e,r){this._$AK(t,r)}},{key:"_$ES",value:function(t,e){var r,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:z,o=this.constructor._$Eh(t,n);void 0!==o&&!0===n.reflect&&(n=(null!==(r=null===(r=n.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==r?r:H.toAttribute)(e,n.type),this._$Ei=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Ei=null)}},{key:"_$AK",value:function(t,e){var r,n=this.constructor,o=n._$Eu.get(t);void 0!==o&&this._$Ei!==o&&(t=null!==(t=null!==(n=null===(t=(r=n.getPropertyOptions(o)).converter)||void 0===t?void 0:t.fromAttribute)&&void 0!==n?n:"function"==typeof t?t:null)&&void 0!==t?t:H.fromAttribute,this._$Ei=o,this[o]=t(e,r.type),this._$Ei=null)}},{key:"requestUpdate",value:function(t,e,r){var n=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||j)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$E_())}},{key:"_$E_",value:(e=p(m.mark(function t(){var e;return m.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$Ep;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,t.t1)return t.next=14,e;t.next=14;break;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}},t,this,[[1,6]])})),function(){return e.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var t,r=this;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach(function(t,e){return r[e]=t}),this._$Et=void 0);var e=!1,n=this._$AL;try{(e=this.shouldUpdate(n))?(this.willUpdate(n),null===(t=this._$Eg)||void 0===t||t.forEach(function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach(function(t){var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{key:"_$EU",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$Ep}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var r=this;void 0!==this._$EC&&(this._$EC.forEach(function(t,e){return r._$ES(e,r[e],t)}),this._$EC=void 0),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}},{key:"observedAttributes",get:function(){var r=this;this.finalize();var n=[];return this.elementProperties.forEach(function(t,e){t=r._$Eh(e,t);void 0!==t&&(r._$Eu.set(t,e),n.push(t))}),n}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:z;r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),r.noAccessor||this.prototype.hasOwnProperty(t)||(e="symbol"==M(t)?Symbol():"__"+t,void 0!==(r=this.getPropertyDescriptor(t,e,r))&&Object.defineProperty(this.prototype,t,r))}},{key:"getPropertyDescriptor",value:function(r,n,o){return{get:function(){return this[n]},set:function(t){var e=this[r];this[n]=t,this.requestUpdate(r,e,o)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this.elementProperties.get(t)||z}},{key:"finalize",value:function(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var e,r=this.properties,n=L([].concat(S(Object.getOwnPropertyNames(r)),S(Object.getOwnPropertySymbols(r))));try{for(n.s();!(e=n.n()).done;){var o=e.value;this.createProperty(o,r[o])}}catch(t){n.e(t)}finally{n.f()}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var r,n=L(new Set(t.flat(1/0).reverse()));try{for(n.s();!(r=n.n()).done;){var o=r.value;e.unshift(k(o))}}catch(t){n.e(t)}finally{n.f()}}else void 0!==t&&e.push(k(t));return e}},{key:"_$Eh",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}}]),n}(g(HTMLElement));N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRootOptions={mode:"open"},null==T||T({ReactiveElement:N}),(null!==(T=globalThis.reactiveElementVersions)&&void 0!==T?T:globalThis.reactiveElementVersions=[]).push("1.3.1");var B=t(function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0}),U=t(function(t){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],s=!0,u=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{s||null==r.return||r.return()}finally{if(u)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0}),I=t(function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0}),V=t(function(t){t.exports=function(t,e){return B(t)||U(t,e)||f(t,e)||I()},t.exports.default=t.exports,t.exports.__esModule=!0});function D(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}function F(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var G=globalThis.trustedTypes,W=G?G.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,q="lit$".concat((Math.random()+"").slice(9),"$"),J="?"+q,Y="<".concat(J,">"),K=document,X=function(){return K.createComment(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"")},Q=function(t){return null===t||"object"!=M(t)&&"function"!=typeof t},tt=Array.isArray,et=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rt=/-->/g,nt=/>/g,ot=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,it=/'/g,st=/"/g,ut=/^(?:script|style|textarea|title)$/i,lt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),ct=new WeakMap,ft=K.createTreeWalker(K,129,null,!1),ht=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":"",s=et,u=0;u<n;u++){for(var l=t[u],a=void 0,c=void 0,f=-1,h=0;h<l.length&&(s.lastIndex=h,null!==(c=s.exec(l)));)h=s.lastIndex,s===et?"!--"===c[1]?s=rt:void 0!==c[1]?s=nt:void 0!==c[2]?(ut.test(c[2])&&(r=RegExp("</"+c[2],"g")),s=ot):void 0!==c[3]&&(s=ot):s===ot?">"===c[0]?(s=null!=r?r:et,f=-1):void 0===c[1]?f=-2:(f=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?ot:'"'===c[3]?st:it):s===st||s===it?s=ot:s===rt||s===nt?s=et:(s=ot,r=void 0);var p=s===ot&&t[u+1].startsWith("/>")?" ":"";i+=s===et?l+Y:0<=f?(o.push(a),l.slice(0,f)+"$lit$"+l.slice(f)+q+p):l+q+(-2===f?(o.push(void 0),u):p)}e=i+(t[n]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==W?W.createHTML(e):e,o]},pt=function(){function A(t,e){var r,n=t.strings,o=t._$litType$;E(this,A),this.parts=[];var i=0,s=0,u=n.length-1,l=this.parts,t=ht(n,o),n=V(t,2),t=n[0],a=n[1];for(this.el=A.createElement(t,e),ft.currentNode=this.el.content,2===o&&((o=(e=this.el.content).firstChild).remove(),e.append.apply(e,S(o.childNodes)));null!==(r=ft.nextNode())&&l.length<u;){if(1===r.nodeType){if(r.hasAttributes()){var c,f=[],h=F(r.getAttributeNames());try{for(h.s();!(c=h.n()).done;){var p,d,v,y=c.value;(y.endsWith("$lit$")||y.startsWith(q))&&(p=a[s++],f.push(y),void 0!==p?(d=r.getAttribute(p.toLowerCase()+"$lit$").split(q),v=/([.?@])?(.*)/.exec(p),l.push({type:1,index:i,name:v[2],strings:d,ctor:"."===v[1]?mt:"?"===v[1]?xt:"@"===v[1]?_t:gt})):l.push({type:6,index:i}))}}catch(t){h.e(t)}finally{h.f()}for(var g=0,m=f;g<m.length;g++){var w=m[g];r.removeAttribute(w)}}if(ut.test(r.tagName)){var x=r.textContent.split(q),_=x.length-1;if(0<_){r.textContent=G?G.emptyScript:"";for(var b=0;b<_;b++)r.append(x[b],X()),ft.nextNode(),l.push({type:2,index:++i});r.append(x[_],X())}}}else if(8===r.nodeType)if(r.data===J)l.push({type:2,index:i});else for(var $=-1;-1!==($=r.data.indexOf(q,$+1));)l.push({type:7,index:i}),$+=q.length-1;i++}}return o(A,null,[{key:"createElement",value:function(t,e){var r=K.createElement("template");return r.innerHTML=t,r}}]),A}();function dt(t,e,r,n){var o,i=2<arguments.length&&void 0!==r?r:t,s=3<arguments.length?n:void 0;if(e===lt)return e;var r=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu,n=Q(e)?void 0:e._$litDirective$;return(null==r?void 0:r.constructor)!==n&&(null===(o=null==r?void 0:r._$AO)||void 0===o||o.call(r,!1),void 0===n?r=void 0:(r=new n(t))._$AT(t,i,s),void 0!==s?(null!==(n=i._$Cl)&&void 0!==n?n:i._$Cl=[])[s]=r:i._$Cu=r),e=void 0!==r?dt(t,r._$AS(t,e.values),r,s):e}var vt=function(){function r(t,e){E(this,r),this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}return o(r,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"p",value:function(t){var e=this._$AD,r=e.el.content,n=e.parts,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:K).importNode(r,!0);ft.currentNode=r;for(var o,i=ft.nextNode(),s=0,u=0,l=n[0];void 0!==l;)s===l.index&&(o=void 0,2===l.type?o=new yt(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new bt(i,this,t)),this.v.push(o),l=n[++u]),s!==(null==l?void 0:l.index)&&(i=ft.nextNode(),s++);return r}},{key:"m",value:function(t){var e,r=0,n=F(this.v);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}}catch(t){n.e(t)}finally{n.f()}}}]),r}(),yt=function(){function u(t,e,r,n){E(this,u),this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cg=null===(n=null==n?void 0:n.isConnected)||void 0===n||n}return o(u,[{key:"_$AU",get:function(){var t;return null!==(t=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==t?t:this._$Cg}},{key:"parentNode",get:function(){var t=this._$AA.parentNode,e=this._$AM;return t=void 0!==e&&11===t.nodeType?e.parentNode:t}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){var e;t=dt(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this),Q(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==lt&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):tt(e=t)||"function"==typeof(null===e||void 0===e?void 0:e[Symbol.iterator])?this.S(t):this.$(t)}},{key:"A",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(t,e)}},{key:"k",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}},{key:"$",value:function(t){this._$AH!==at&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.k(K.createTextNode(t)),this._$AH=t}},{key:"T",value:function(t){var e=t.values,r=t._$litType$,t="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=pt.createElement(r.h,this.options)),r);(null===(r=this._$AH)||void 0===r?void 0:r._$AD)===t?this._$AH.m(e):(t=(r=new vt(t,this)).p(this.options),r.m(e),this.k(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=ct.get(t.strings);return void 0===e&&ct.set(t.strings,e=new pt(t)),e}},{key:"S",value:function(t){tt(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=F(t);try{for(i.s();!(r=i.n()).done;){var s=r.value;o===n.length?n.push(e=new u(this.A(X()),this.A(X()),this,this.options)):e=n[o],e._$AI(s),o++}}catch(t){i.e(t)}finally{i.f()}o<n.length&&(this._$AR(e&&e._$AB.nextSibling,o),n.length=o)}},{key:"_$AR",value:function(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,1<arguments.length?arguments[1]:void 0);e&&e!==this._$AB;){var r=e.nextSibling;e.remove(),e=r}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}]),u}(),gt=function(){function i(t,e,r,n,o){E(this,i),this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,2<r.length||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=at}return o(i,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0,o=this.strings,i=!1;if(void 0===o)t=dt(this,t,e,0),(i=!Q(t)||t!==this._$AH&&t!==lt)&&(this._$AH=t);else{var s,u,l=t;for(t=o[0],s=0;s<o.length-1;s++)(u=dt(this,l[r+s],e,s))===lt&&(u=this._$AH[s]),i=i||(!Q(u)||u!==this._$AH[s]),u===at?t=at:t!==at&&(t+=(null!=u?u:"")+o[s+1]),this._$AH[s]=u}i&&!n&&this.C(t)}},{key:"C",value:function(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}]),i}(),mt=function(){u(r,gt);var e=D(r);function r(){var t;return E(this,r),(t=e.apply(this,arguments)).type=3,t}return o(r,[{key:"C",value:function(t){this.element[this.name]=t===at?void 0:t}}]),r}(),wt=G?G.emptyScript:"",xt=function(){u(r,gt);var e=D(r);function r(){var t;return E(this,r),(t=e.apply(this,arguments)).type=4,t}return o(r,[{key:"C",value:function(t){t&&t!==at?this.element.setAttribute(this.name,wt):this.element.removeAttribute(this.name)}}]),r}(),_t=function(){u(s,gt);var i=D(s);function s(t,e,r,n,o){return E(this,s),(o=i.call(this,t,e,r,n,o)).type=5,o}return o(s,[{key:"_$AI",value:function(t){var e,r,n;(t=null!==(n=dt(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==n?n:at)!==lt&&(e=this._$AH,r=t===at&&e!==at||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==at&&(e===at||r),r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t)}},{key:"handleEvent",value:function(t){var e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}]),s}(),bt=function(){function n(t,e,r){E(this,n),this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}return o(n,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){dt(this,t)}}]),n}(),T=window.litHtmlPolyfillSupport;null==T||T(pt,yt),(null!==(T=globalThis.litHtmlVersions)&&void 0!==T?T:globalThis.litHtmlVersions=[]).push("2.2.1");var $t=t(function(t){t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0}),At=t(function(n){function o(t,e,r){return"undefined"!=typeof Reflect&&Reflect.get?n.exports=o=Reflect.get:n.exports=o=function(t,e,r){t=$t(t,e);if(t){e=Object.getOwnPropertyDescriptor(t,e);return e.get?e.get.call(r):e.value}},n.exports.default=n.exports,n.exports.__esModule=!0,o(t,e,r||t)}n.exports=o,n.exports.default=n.exports,n.exports.__esModule=!0});function Et(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}var St=function(){u(s,N);var e=Et(s);function s(){var t;return E(this,s),(t=e.apply(this,arguments)).renderOptions={host:i(t)},t._$Dt=void 0,t}return o(s,[{key:"createRenderRoot",value:function(){var t,e,r=At(a(s.prototype),"createRenderRoot",this).call(this);return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}},{key:"update",value:function(t){var e,r,n,o,i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),At(a(s.prototype),"update",this).call(this,t),this._$Dt=(e=i,r=this.renderRoot,n=this.renderOptions,t=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:r,void 0===(i=t._$litPart$)&&(o=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null,t._$litPart$=i=new yt(r.insertBefore(X(),o),o,void 0,null!=n?n:{})),i._$AI(e),i)}},{key:"connectedCallback",value:function(){var t;At(a(s.prototype),"connectedCallback",this).call(this),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;At(a(s.prototype),"disconnectedCallback",this).call(this),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return lt}}]),s}();St.finalized=!0,St._$litElement$=!0,null===(T=globalThis.litElementHydrateSupport)||void 0===T||T.call(globalThis,{LitElement:St});T=globalThis.litElementPolyfillSupport;null==T||T({LitElement:St}),(null!==(T=globalThis.litElementVersions)&&void 0!==T?T:globalThis.litElementVersions=[]).push("3.2.0");var Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Mt=function(){function e(t){E(this,e)}return o(e,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AT",value:function(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}},{key:"_$AS",value:function(t,e){return this.update(t,e)}},{key:"update",value:function(t,e){return this.render.apply(this,S(e))}}]),e}();function kt(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}T=function(){u(n,Mt);var r=kt(n);function n(t){var e;if(E(this,n),(e=r.call(this,t)).it=at,t.type!==Ct.CHILD)throw Error(e.constructor.directiveName+"() can only be used in child bindings");return l(e)}return o(n,[{key:"render",value:function(t){if(t===at||null==t)return this.ft=void 0,this.it=t;if(t===lt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;t=[this.it=t];return t.raw=t,this.ft={_$litType$:this.constructor.resultType,strings:t,values:[]}}}]),n}();T.directiveName="unsafeHTML",T.resultType=1;function Lt(t,e){return t=t.toLowerCase(),window.customElements.get(t)||window.customElements.define(t,e),t}var Ot,Rt=(Ot=T,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return{_$litDirective$:Ot,values:e}});function Tt(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}t(function(t){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0});var Pt=t(function(t){t.exports=function(t,e){if(null==t)return{};for(var r,n={},o=Object.keys(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||(n[r]=t[r]);return n},t.exports.default=t.exports,t.exports.__esModule=!0});t(function(t){t.exports=function(t,e){if(null==t)return{};var r,n=Pt(t,e);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r]);return n},t.exports.default=t.exports,t.exports.__esModule=!0}),t(function(t,e){var r;r=function(){return r=[function(t,e,r){function c(t,e){var r,n={};for(r in t)0<=e.indexOf(r)||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o,r.d(e,"h",function(){return i});var u=new Map,f=new WeakMap;function l(t){var s,u,l,a,e=t||{},r=e.attrs,n=e.events,o=e.ref,i=e.key,t=e.dangerouslySetInnerHTML,e=c(e,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(o={attrs:r,events:n,props:e,ref:o}).attrs,u=o.events,l=o.props,a=o.ref,function(t){var e,r,n,o,i;t&&(n=t,(o=s)&&Object.keys(o).forEach(function(t){var e=o[t];null==e?n.removeAttribute(t):n.setAttribute(t,e)}),function(e,t){var r=1<arguments.length&&void 0!==t?t:{},n=f.get(e)||{};f.set(e,r),Object.keys(n).forEach(function(t){n[t]&&n[t]!==r[t]&&e.removeEventListener(t,n[t])}),Object.keys(r).forEach(function(t){r[t]!==n[t]&&e.addEventListener(t,r[t])})}(t,u),e=t,r=l,Object.keys(r||{}).forEach(function(t){e[t]=r[t]})),i=t,(t=a)&&t(i)}),key:i,dangerouslySetInnerHTML:t}}function n(t,e){var r=e.ref;c(e,["ref"]);var n="function"==typeof t?new t:document.createElement(t);r&&r(n);for(var o=arguments.length,i=Array(2<o?o-2:0),s=2;s<o;s++)i[s-2]=arguments[s];return i.forEach(function(t){return n.appendChild("string"==typeof t?document.createTextNode(t):t)}),n}function o(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:n;return function(t,e){var r;r=t,t=u.get(r)||r,e=l(e);for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return s.apply(void 0,[t,e].concat(o))}}var i=o()},function(t,e,r){t.exports=r(0)}],o={},n.m=r,n.c=o,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1);function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var r,o},t.exports=r()});function Ht(t){return!(null==t)}var jt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=V(t,2),t=e[0],e=e[1];jt.set(t,e)});function zt(){}var Nt=function(u){var l=u.constructor.properties;Object.keys(l).forEach(function(t){var e=l[t],r=e.type,n=e.converter,o=e.defaultValue;if(r){var i,s=u[t];Ht(s)||(s=r===Boolean?u.hasAttribute(t):u.getAttribute(t),Ht(s)?u[t]=(i=s,(s=r)===Number?parseFloat(i):s===Function?zt:s===Array||s===Object?JSON.parse(i):i):void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:jt.get(r)))}else if(!n)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})};var Bt;function Ut(r){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(r);return e=n?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),l(this,e)}}var It,Vt,Dt,Ft,Zt=function(){u(r,St);var e=Ut(r);function r(){var t;return E(this,r),t=e.call(this),Nt(i(t)),t}return o(r,[{key:"updated",value:function(){var n,e=this,t=this.icon;/\.svg/.test(t)?(n=t,new Promise(function(t,e){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){return t(r.responseText)},r.onerror=function(){return e(r.statusText)},r.send()}).then(function(t){e._loadedSvg=t})):/<svg/.test(t)?this._loadedSvg=t:this._loadedSvg=r.iconsMapping[t]||""}},{key:"render",value:function(){return this._loadedSvg&&Rt(function(t){var e=document.createElement("div");e.innerHTML=t;e=e.firstElementChild;if(!e||"svg"!==e.tagName.toLowerCase())return"";if(e.getElementsByTagName("script").length)return"";for(var r=0,n=e.attributes,o=n.length;r<o;r++)if(n[r].name.startsWith("on"))return"";return t}(this._loadedSvg))}}],[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return function(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=1===n.length?n[0]:e.reduce(function(t,e,r){return t+function(){if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}()+n[r+1]},n[0]);return new C(o,$)}(Bt=Bt||n(["\n ","\n "]),_(":host(:not([size=original])) svg {\n width: 24px;\n height: 24px;\n}\n\n:host([size=small]) svg {\n width: 20px;\n height: 20px;\n}\n\n:host([size=large]) svg {\n width: 32px;\n height: 32px;\n}"))}},{key:"iconsMapping",get:function(){return{"arrow-left":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.078 12.5a1 1 0 01-1 1h-10.5a1 1 0 110-2h10.5a1 1 0 011 1z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M10.202 8.219a1 1 0 01.157 1.405L8.06 12.5l2.3 2.876a1 1 0 01-1.563 1.248L5.5 12.5l3.297-4.124a1 1 0 011.405-.157z" fill="currentColor"/></svg>',"arrow-right":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.922 11.5a1 1 0 011-1h10.5a1 1 0 110 2h-10.5a1 1 0 01-1-1z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.798 15.781a1 1 0 01-.157-1.405L15.94 11.5l-2.3-2.876a1 1 0 011.563-1.248L18.5 11.5l-3.297 4.124a1 1 0 01-1.405.157z" fill="currentColor"/></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>',document:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>',mobile:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>',add:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"/></svg>',"cloud-upload":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"/></svg>',"axa-logo":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.467 283.467"><path fill="#00008f" d="M.003.003h283.464v283.464H.003z"/><path fill="#ff1721" d="M175.659 139.99L283.467 0h-15.923L159.38 139.99h16.279z"/><path fill="#fff" d="M216.597 202.461c4.941 13.823 15.122 49.795 19.17 52.661h-26.729a44.571 44.571 0 00-1.254-9.434c-1.153-4.111-10.821-35.214-10.821-35.214h-42.456l-6.675 9.463s8.018 25.097 8.515 26.327c.865 2.217 4.693 8.858 4.693 8.858h-25.615s-.664-3.833-.913-5.43c-.2-1.289-2.427-8.349-2.427-8.349s-5.806 6.362-7.388 9.312c-1.596 2.943-2.304 4.467-2.304 4.467h-20.04s-.668-3.833-.917-5.43c-.196-1.289-2.647-8.916-2.647-8.916s-5.61 6.812-7.207 9.756c-1.587 2.95-2.27 4.59-2.27 4.59h-19.82s5.601-5.332 7.559-7.622c3.3-3.882 15.6-19.956 15.6-19.956l-4.931-17.07H45.586s-24.023 31.567-24.97 32.543c-.957.962-7.96 11.011-8.116 12.105H0v-7.949a5.987 5.987 0 01.493-.479c.386-.283 18.213-22.412 34.59-44.233 14.717-19.029 28.526-37.535 29.737-39.297 2.934-4.263 7.163-13.467 7.163-13.467h21.781s.675 8.467 1.31 10.522c.565 1.817 13.837 45.362 14.15 45.831l7.338-9.385-12.543-38.614s-2.94-7.265-3.897-8.354h25.445a22.166 22.166 0 00.83 6.919c1.034 3.184 6.489 22.866 6.489 22.866s17.354-21.753 18.369-23.315a14.1 14.1 0 002.143-6.47H174.6s-3.881 2.837-10.683 11.44c-2.285 2.896-24.673 31.348-24.673 31.348s1.953 6.66 2.905 9.976c.26.952.44 1.597.44 1.665 0 .03.493-.576 1.343-1.665 5.776-7.32 32.05-41.772 33.643-44.722 1.284-2.382 3.173-5.092 4.282-8.041h20.683s.478 6.176 1.109 7.885zm-31.475-32.612c-3.037 6.533-20.913 28.296-20.913 28.296h28.31s-5.488-16.9-6.445-20.709a30.233 30.233 0 01-.557-7.402c0-.346-.063-.908-.395-.185zm-108.775 0c-3.036 6.533-20.912 28.296-20.912 28.296h28.31s-5.483-16.9-6.44-20.709a30.233 30.233 0 01-.557-7.402c0-.346-.068-.908-.4-.185zm42.623 65.986l7.793-10.703c-.718-.772-5.107-14.082-5.107-14.082l-7.535 9.775z"/></svg>',"axa-logo-open":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path fill="#FF1721" d="M49.026 39.457L77.948 1.9h-4.272L44.658 39.457z"/><path d="M0 0v79.85h79.85V0H0zm77.948 77.948H1.901v-7.604h3.353c.042-.293 1.92-2.99 2.177-3.247.254-.262 6.7-8.731 6.7-8.731h11.303l1.323 4.58s-3.3 4.312-4.186 5.353c-.525.615-2.027 2.045-2.027 2.045h5.317s.183-.44.609-1.231c.428-.79 1.933-2.618 1.933-2.618s.658 2.047.71 2.392c.067.429.247 1.457.247 1.457h5.376s.19-.409.618-1.199c.424-.79 1.982-2.498 1.982-2.498s.597 1.895.65 2.24c.068.429.246 1.457.246 1.457h6.872s-1.027-1.781-1.26-2.376c-.133-.33-2.284-7.063-2.284-7.063l1.791-2.54h11.39s2.594 8.345 2.903 9.448c.202.83.315 1.678.336 2.531h7.171c-1.086-.769-3.817-10.42-5.143-14.128l-3.474-12.04c-.169-.458-.297-2.115-.297-2.115h-5.549c-.297.791-.804 1.518-1.149 2.157-.427.792-7.476 10.035-9.025 11.998-.228.292-.36.455-.36.447 0-.018-.049-.191-.118-.447-.256-.89-.78-2.676-.78-2.676s6.006-7.633 6.62-8.41c1.824-2.308 2.865-3.069 2.865-3.069h-5.687a3.783 3.783 0 01-.575 1.736c-.273.419-4.928 6.255-4.928 6.255s-1.464-5.28-1.741-6.135a5.947 5.947 0 01-.223-1.856h-6.826c.257.292 1.045 2.241 1.045 2.241l3.365 10.36-1.968 2.517c-.084-.126-3.645-11.808-3.797-12.295-.17-.551-.35-2.823-.35-2.823h-5.844s-1.135 2.47-1.922 3.613c-.325.473-4.03 5.437-7.978 10.542-4.393 5.854-9.176 11.791-9.28 11.867a1.6 1.6 0 00-.13.128V1.9h76.046v76.047zM22.64 49.503c.256 1.022 1.727 5.555 1.727 5.555h-7.595s4.796-5.838 5.61-7.59c.09-.195.108-.044.108.049a8.11 8.11 0 00.15 1.986zm9.876 11.64l2.022-2.622s1.177 3.57 1.37 3.777l-2.09 2.872-1.302-4.027zm19.304-11.64c.257 1.022 1.729 5.555 1.729 5.555h-7.595s4.796-5.838 5.61-7.59c.09-.195.106-.044.106.049a8.111 8.111 0 00.15 1.986z" fill="#00008F"/></svg>',"check-circle":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>',check:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>',"info-outline":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/></svg>',"warning-amber":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 21.5L12 2.5L23 21.5H1ZM19.53 19.5L12 6.49L4.47 19.5H19.53ZM11 16.5V18.5H13V16.5H11ZM11 10.5H13V14.5H11V10.5Z" fill="currentColor"/></svg>',cloudy:'<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.34278 4.04C6.59226 1.64 9.11121 0 12 0C15.6385 0 18.6672 2.59 19.3569 6.04C21.9459 6.22 23.995 8.36 23.995 11C23.995 13.76 21.7559 16 18.9971 16H6.00251C2.69388 16 0.00500488 13.31 0.00500488 10C0.00500488 6.91 2.34403 4.36 5.34278 4.04ZM17.3978 6.43C16.888 3.86 14.6089 2 12 2C9.94086 2 8.07164 3.14 7.13204 4.97L6.63224 5.92L5.56269 6.03C3.53353 6.24 2.00417 7.95 2.00417 10C2.00417 12.21 3.79343 14 6.00251 14H18.9971C20.6464 14 21.9958 12.65 21.9958 11C21.9958 9.45 20.7764 8.15 19.217 8.04L17.6976 7.93L17.3978 6.43Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.70521 22.7053L3.99997 19L5.41418 17.5858L9.11942 21.2911L7.70521 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.7052 22.7053L14 19L15.4142 17.5858L19.1194 21.2911L17.7052 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7052 22.7053L8.99997 19L10.4142 17.5858L14.1194 21.2911L12.7052 22.7053Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22.7052 22.7053L19 19L20.4142 17.5858L24.1194 21.2911L22.7052 22.7053Z" fill="currentColor"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String},size:{type:String,reflect:!0,defaultValue:"medium"},_loadedSvg:{type:String}}}}]),r}();return Dt="string"==typeof(It={"axa-icon":{"axa-icon":"7.0.0"}})&&It,Ft="",[Zt].forEach(function(t){var r=t instanceof HTMLElement?t.constructor:t,e=r.tagName,t=!Dt&&It[e];if(t){if(!window.customElements.get(e)&&r.versions)throw Error("'versions' is a reserved class property, but was found in ".concat(e,"'s class"));r.versions=t,Lt(e,r)}t=r.versions;!t&&Vt&&((t=It[Vt.constructor.tagName])[e]=Object.values(t)[0]);t=Dt||t[e];t=t,Ft="".concat(e,"-").concat("".concat(t).replace(/\./g,"-").replace(/[^A-Za-z0-9-]/g,"")),Lt(Ft,function(){u(e,r);var t=Tt(e);function e(){return E(this,e),t.apply(this,arguments)}return e}())}),Zt}(); |
@@ -1,2 +0,3 @@ | ||
import { LitElement, css, unsafeCSS, svg } from 'lit-element'; | ||
import { LitElement, css, unsafeCSS } from 'lit'; | ||
import { unsafeHTML } from 'lit/directives/unsafe-html'; | ||
import { Expand_lessSvg, Insert_drive_fileSvg, File_downloadSvg, EmailSvg, Expand_moreSvg, Phone_iphoneSvg, Local_phoneSvg, AddSvg, SearchSvg, File_uploadSvg, Cloud_uploadSvg, Check_circleSvg, CheckSvg, Info_outlineSvg, Warning_amberSvg, CloudySvg, CloseSvg } from '@axa-ch/materials/icons/material-design'; | ||
@@ -207,2 +208,25 @@ import { ArrowLeftSvg, ArrowRightSvg } from '@axa-ch/materials/icons'; | ||
// sanitize SVG, preventing XSS attacks etc. | ||
// (uses ideas from https://github.com/mattkrick/sanitize-svg/blob/master/src/sanitizeSVG.ts#L19) | ||
var sanitizeSVG = svgText => { | ||
// create a container, which will remain disconnected from live DOM | ||
var root = document.createElement('div'); // parse putative <svg>....</svg> | ||
root.innerHTML = svgText; // this does *not* execute scripts | ||
// get <svg> DOM node | ||
var svg = root.firstElementChild; // reject anything non-SVG | ||
if (!svg || svg.tagName.toLowerCase() !== 'svg') return ''; // no embeded <script>s | ||
if (svg.getElementsByTagName('script').length) return ''; | ||
for (var i = 0, attrs = svg.attributes, n = attrs.length; i < n; i++) { | ||
// no embedded event handlers | ||
if (attrs[i].name.startsWith('on')) return ''; | ||
} | ||
return svgText; | ||
}; | ||
var _templateObject; | ||
@@ -283,3 +307,3 @@ | ||
render() { | ||
return this._loadedSvg && svg([this._loadedSvg]); | ||
return this._loadedSvg && unsafeHTML(sanitizeSVG(this._loadedSvg)); | ||
} | ||
@@ -291,3 +315,3 @@ | ||
"axa-icon": { | ||
"axa-icon": "6.1.1" | ||
"axa-icon": "7.0.0" | ||
} | ||
@@ -294,0 +318,0 @@ }); |
import val from '@skatejs/val'; | ||
import { LitElement, css, unsafeCSS, svg } from 'lit-element'; | ||
import { LitElement, css, unsafeCSS } from 'lit'; | ||
import { unsafeHTML } from 'lit/directives/unsafe-html'; | ||
import { Expand_lessSvg, Insert_drive_fileSvg, File_downloadSvg, EmailSvg, Expand_moreSvg, Phone_iphoneSvg, Local_phoneSvg, AddSvg, SearchSvg, File_uploadSvg, Cloud_uploadSvg, Check_circleSvg, CheckSvg, Info_outlineSvg, Warning_amberSvg, CloudySvg, CloseSvg } from '@axa-ch/materials/icons/material-design'; | ||
@@ -391,2 +392,25 @@ import { ArrowLeftSvg, ArrowRightSvg } from '@axa-ch/materials/icons'; | ||
// sanitize SVG, preventing XSS attacks etc. | ||
// (uses ideas from https://github.com/mattkrick/sanitize-svg/blob/master/src/sanitizeSVG.ts#L19) | ||
var sanitizeSVG = svgText => { | ||
// create a container, which will remain disconnected from live DOM | ||
var root = document.createElement('div'); // parse putative <svg>....</svg> | ||
root.innerHTML = svgText; // this does *not* execute scripts | ||
// get <svg> DOM node | ||
var svg = root.firstElementChild; // reject anything non-SVG | ||
if (!svg || svg.tagName.toLowerCase() !== 'svg') return ''; // no embeded <script>s | ||
if (svg.getElementsByTagName('script').length) return ''; | ||
for (var i = 0, attrs = svg.attributes, n = attrs.length; i < n; i++) { | ||
// no embedded event handlers | ||
if (attrs[i].name.startsWith('on')) return ''; | ||
} | ||
return svgText; | ||
}; | ||
var _templateObject; | ||
@@ -467,3 +491,3 @@ | ||
render() { | ||
return this._loadedSvg && svg([this._loadedSvg]); | ||
return this._loadedSvg && unsafeHTML(sanitizeSVG(this._loadedSvg)); | ||
} | ||
@@ -475,3 +499,3 @@ | ||
"axa-icon": { | ||
"axa-icon": "6.1.1" | ||
"axa-icon": "7.0.0" | ||
} | ||
@@ -478,0 +502,0 @@ }); |
{ | ||
"name": "@axa-ch/icon", | ||
"version": "6.1.1", | ||
"version": "7.0.0", | ||
"description": "The icon component for the AXA Pattern Library", | ||
@@ -33,9 +33,8 @@ "author": "Pattern Warriors", | ||
"dependencies": { | ||
"@axa-ch/materials": "14.4.1", | ||
"@axa-ch/materials": "15.0.0", | ||
"@skatejs/val": "^0.4.0", | ||
"lit-element": "^2.2.0", | ||
"lit-html": "^1.1.0" | ||
"lit": "^2.2.1" | ||
}, | ||
"gitHead": "def3484947fe3d78405866d3745a12a568b55d0c", | ||
"gitHead": "b96ceb2b666e0d02a373bd647ef70786f9756991", | ||
"main": "lib/index.js" | ||
} |
3
882
85997
+ Addedlit@^2.2.1
+ Added@axa-ch/materials@15.0.0(transitive)
+ Added@lit-labs/ssr-dom-shim@1.3.0(transitive)
+ Added@lit/reactive-element@1.6.3(transitive)
+ Added@types/trusted-types@2.0.7(transitive)
+ Addedlit@2.8.0(transitive)
+ Addedlit-element@3.3.3(transitive)
+ Addedlit-html@2.8.0(transitive)
- Removedlit-element@^2.2.0
- Removedlit-html@^1.1.0
- Removed@axa-ch/materials@14.4.1(transitive)
- Removedlit-element@2.5.1(transitive)
- Removedlit-html@1.4.1(transitive)
Updated@axa-ch/materials@15.0.0