@axa-ch/button-link
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -5,3 +5,3 @@ ## 3.0.2 | ||
## Migration to version 3 | ||
## 3.0.0 | ||
@@ -19,4 +19,4 @@ - The implementation of the wrapper to make a component React-ready has | ||
## Migration to version 2 | ||
## 2.0.0 | ||
- The `large` property is obsolete, use `size` property instead, like `size="large". |
@@ -1,1 +0,1 @@ | ||
var window=function(){"use strict";function t(t){if(t&&void 0!==window){var e=document.createElement("style");return e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e),t}}var e=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))};var L=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};"undefined"!=typeof globalThis?globalThis:void 0!==window||("undefined"!=typeof global?global:"undefined"!=typeof self&&self);function n(t,e){return t(e={exports:{}},e.exports),e.exports}var A=n(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r});var r=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var i=function(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?r(t):e},a=n(function(e){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}e.exports=n});function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t},u=n(function(n){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r});var l=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&&u(t,e)};var c=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t},h=n(function(r){function o(t,e,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=o=Reflect.get:r.exports=o=function(t,e,n){var r=c(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}},o(t,e,n||t)}r.exports=o}),f=new WeakMap,d=function(t){return"function"==typeof t&&f.has(t)},p=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,v=function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},y={},g={};var m=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var b=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var w=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var _=function(t){return m(t)||b(t)||w()},j="{{lit-".concat(String(Math.random()).slice(2),"}}"),k="\x3c!--".concat(j,"--\x3e"),V=new RegExp("".concat(j,"|").concat(k)),H="$lit$",x=function t(e,n){L(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,l=e.strings,c=e.values.length;u<c;){var h=i.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var f=h.attributes,d=f.length,p=0,v=0;v<d;v++)R(f[v].name,H)&&p++;for(;0<p--;){var y=l[u],g=F.exec(y)[2],m=g.toLowerCase()+H,b=h.getAttribute(m);h.removeAttribute(m);var w=b.split(V);this.parts.push({type:"attribute",index:s,name:g,strings:w}),u+=w.length-1}}"TEMPLATE"===h.tagName&&(o.push(h),i.currentNode=h.content)}else if(3===h.nodeType){var _=h.data;if(0<=_.indexOf(j)){for(var k=h.parentNode,x=_.split(V),S=x.length-1,P=0;P<S;P++){var C=void 0,E=x[P];if(""===E)C=B();else{var N=F.exec(E);null!==N&&R(N[2],H)&&(E=E.slice(0,N.index)+N[1]+N[2].slice(0,-H.length)+N[3]),C=document.createTextNode(E)}k.insertBefore(C,h),this.parts.push({type:"node",index:++s})}""===x[S]?(k.insertBefore(B(),h),r.push(h)):h.data=x[S],u+=S}}else if(8===h.nodeType)if(h.data===j){var O=h.parentNode;null!==h.previousSibling&&s!==a||(s++,O.insertBefore(B(),h)),a=s,this.parts.push({type:"node",index:s}),null===h.nextSibling?h.data="":(r.push(h),s--),u++}else for(var A=-1;-1!==(A=h.data.indexOf(j,A+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var T=0,z=r;T<z.length;T++){var M=z[T];M.parentNode.removeChild(M)}},R=function(t,e){var n=t.length-e.length;return 0<=n&&t.slice(n)===e},S=function(t){return-1!==t.index},B=function(){return document.createComment("")},F=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,P=function(){function r(t,e,n){L(this,r),this.__parts=[],this.template=t,this.processor=e,this.options=n}return s(r,[{key:"update",value:function(t){var e=0,n=!0,r=!1,o=void 0;try{for(var i,a=this.__parts[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}var u=!0,l=!1,c=void 0;try{for(var h,f=this.__parts[Symbol.iterator]();!(u=(h=f.next()).done);u=!0){var d=h.value;void 0!==d&&d.commit()}}catch(t){l=!0,c=t}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}}},{key:"_clone",value:function(){for(var t,e=p?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],S(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var l;(l=this.__parts).push.apply(l,_(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return p&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),r}(),C=function(){function o(t,e,n,r){L(this,o),this.strings=t,this.values=e,this.type=n,this.processor=r}return s(o,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(-1<i||n)&&-1===o.indexOf("--\x3e",i+1);var a=F.exec(o);e+=null===a?o+(n?j:k):o.substr(0,a.index)+a[1]+a[2]+H+a[3]+j}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),o}(),E=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return l(r,C),s(r,[{key:"getHTML",value:function(){return"<svg>".concat(h(a(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=h(a(r.prototype),"getTemplateElement",this).call(this),e=t.content,n=e.firstChild;return e.removeChild(n),function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}}(e,n.firstChild),t}}]),r}(),N=function(t){return null===t||!("object"===A(t)||"function"==typeof t)},O=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},T=function(){function o(t,e,n){L(this,o),this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}return s(o,[{key:"_createPart",value:function(){return new z(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(N(i)||!O(i))n+="string"==typeof i?i:String(i);else{var a=!0,s=!1,u=void 0;try{for(var l,c=i[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var h=l.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==c.return||c.return()}finally{if(s)throw u}}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),o}(),z=function(){function e(t){L(this,e),this.value=void 0,this.committer=t}return s(e,[{key:"setValue",value:function(t){t===y||N(t)&&t===this.value||(this.value=t,d(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;d(this.value);){var t=this.value;this.value=y,t(this)}this.value!==y&&this.committer.commit()}}]),e}(),M=function(){function c(t){L(this,c),this.value=void 0,this.__pendingValue=void 0,this.options=t}return s(c,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(B()),this.endNode=t.appendChild(B())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=B()),t.__insert(this.endNode=B())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=B()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}var e=this.__pendingValue;e!==y&&(N(e)?e!==this.value&&this.__commitText(e):e instanceof C?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):O(e)?this.__commitIterable(e):e===g?(this.value=g,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;t=null==t?"":t,e===this.endNode.previousSibling&&3===e.nodeType?e.data=t:this.__commitNode(document.createTextNode("string"==typeof t?t:String(t))),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof P&&this.value.template===e)this.value.update(t.values);else{var n=new P(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n=this.value,r=0,o=!0,i=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var l=s.value;void 0===(e=n[r])&&(e=new c(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(l),e.commit(),r++}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}r<n.length&&(n.length=r,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.startNode;v(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),c}(),U=function(){function r(t,e,n){if(L(this,r),this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}return s(r,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}if(this.__pendingValue!==y){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=y}}}]),r}(),I=function(t){function o(t,e,n){var r;return L(this,o),(r=i(this,a(o).call(this,t,e,n))).single=2===n.length&&""===n[0]&&""===n[1],r}return l(o,T),s(o,[{key:"_createPart",value:function(){return new q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h(a(o.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),o}(),q=function(t){function e(){return L(this,e),i(this,a(e).apply(this,arguments))}return l(e,z),e}(),W=!1;try{var D={get capture(){return!(W=!0)}};window.addEventListener("test",D,D),window.removeEventListener("test",D,D)}catch(t){}var G=function(){function o(t,e,n){var r=this;L(this,o),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=function(t){return r.handleEvent(t)}}return s(o,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}if(this.__pendingValue!==y){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=J(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=y}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),o}(),J=function(t){return t&&(W?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},Y=new(function(){function t(){L(this,t)}return s(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new I(t,e.slice(1),n).parts:"@"===o?[new G(t,e.slice(1),r.eventContext)]:"?"===o?[new U(t,e.slice(1),n)]:new T(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new M(t)}}]),t}());function $(t){var e=X.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},X.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(j);return void 0===(n=e.keyString.get(r))&&(n=new x(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var X=new Map,K=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var Q=function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new C(t,n,"html",Y)};function Z(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=et(r),a=r[i],s=-1,u=0,l=[],c=null;o.nextNode();){s++;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!==a&&a.index===s;)a.index=null!==c?-1:a.index-u,a=r[i=et(r,i)]}l.forEach(function(t){return t.parentNode.removeChild(t)})}var tt=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},et=function(t){for(var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1)+1;e<t.length;e++){var n=t[e];if(S(n))return e}return-1};var nt=function(t,e){return"".concat(t,"--").concat(e)},rt=!0;void 0===window.ShadyCSS?rt=!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."),rt=!1);var ot=["html","svg"],it=new Set,at=function(t,e,n){it.add(n);var r=t.querySelectorAll("style"),o=r.length;if(0!==o){for(var i,a=document.createElement("style"),s=0;s<o;s++){var u=r[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}i=n,ot.forEach(function(t){var e=X.get(nt(t,i));void 0!==e&&e.keyString.forEach(function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(function(t){n.add(t)}),Z(t,n)})});var l=e.element.content;!function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),a=et(o),s=0,u=-1;i.nextNode();)for(u++,i.currentNode===n&&(s=tt(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(0<s){for(;-1!==a;)o[a].index+=s,a=et(o,a);return}a=et(o,a)}else r.appendChild(e)}(e,a,l.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n);var c=l.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==c)t.insertBefore(c.cloneNode(!0),t.firstChild);else{l.insertBefore(a,l.firstChild);var h=new Set;h.add(a),Z(e,h)}}else window.ShadyCSS.prepareTemplateStyles(e.element,n)},st=n(function(t){var e=function(i){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function a(t,e,n,r){var i,a,s,u,o=e&&e.prototype instanceof g?e:g,l=Object.create(o.prototype),c=new E(r||[]);return l._invoke=(i=t,a=n,s=c,u=f,function(t,e){if(u===p)throw new Error("Generator is already running");if(u===v){if("throw"===t)throw e;return O()}for(s.method=t,s.arg=e;;){var n=s.delegate;if(n){var r=S(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===f)throw u=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=p;var o=h(i,a,s);if("normal"===o.type){if(u=s.done?v:d,o.arg===y)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(u=v,s.method="throw",s.arg=o.arg)}}),l}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}i.wrap=a;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function g(){}function s(){}function c(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==t&&l.call(w,o)&&(m=w);var _=c.prototype=g.prototype=Object.create(m);function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,o){var i=h(u[t],u,n);if("throw"!==i.type){var a=i.arg,s=a.value;return s&&"object"===A(s)&&l.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,r,o)},function(t){e("throw",t,r,o)}):Promise.resolve(s).then(function(t){a.value=t,r(a)},function(t){return e("throw",t,r,o)})}o(i.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function S(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,S(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function P(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:u,done:!0}}return s.prototype=_.constructor=c,c.constructor=s,c[r]=s.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===s||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(_),t},i.awrap=function(t){return{__await:t}},k(x.prototype),x.prototype[n]=function(){return this},i.AsyncIterator=x,i.async=function(t,e,n,r){var o=new x(a(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(_),_[r]="Generator",_[o]=function(){return this},_.toString=function(){return"[object Generator]"},i.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},i.values=N,E.prototype={constructor:E,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(C),!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(n){if(this.done)throw n;var r=this;function t(t,e){return i.type="throw",i.arg=n,r.next=t,e&&(r.method="next",r.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 a=l.call(o,"catchLoc"),s=l.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):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),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}},i}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function ut(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}var lt=function(s){return function(){var t=this,a=arguments;return new Promise(function(e,n){var r=s.apply(t,a);function o(t){ut(r,e,n,o,i,"next",t)}function i(t){ut(r,e,n,o,i,"throw",t)}o(void 0)})}};var ct=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},ht=n(function(r){function o(t,e,n){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?r.exports=o=function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o}:r.exports=o=Reflect.construct,o.apply(null,arguments)}r.exports=o}),ft=n(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!ct(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return ht(t,arguments,a(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u(e,t)},r(t)}e.exports=r});window.JSCompiler_renameProperty=function(t,e){return t};var dt={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}},pt=function(t,e){return e!==t&&(e==e||t==t)},vt={attribute:!0,type:String,converter:dt,reflect:!1,hasChanged:pt},yt=Promise.resolve(!0),gt=function(t){function e(){var t;return L(this,e),(t=i(this,a(e).call(this)))._updateState=0,t._instanceProperties=void 0,t._updatePromise=yt,t._hasConnectedResolver=void 0,t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}var n;return l(e,t),s(e,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var r=this;this.constructor._classProperties.forEach(function(t,e){if(r.hasOwnProperty(e)){var n=r[e];delete r[e],r._instanceProperties||(r._instanceProperties=new Map),r._instanceProperties.set(e,n)}})}},{key:"_applyInstanceProperties",value:function(){var n=this;this._instanceProperties.forEach(function(t,e){return n[e]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:vt,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n._classProperties.get(r)||vt;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,o=r._classProperties.get(t)||vt;r._valueHasChanged(this[t],e,o.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,o))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=lt(st.mark(function t(){var n,r,e,o,i=this;return st.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,e=this._updatePromise,this._updatePromise=new Promise(function(t,e){n=t,r=e}),t.prev=3,t.next=6,e;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:if(this._hasConnected){t.next=13;break}return t.next=13,new Promise(function(t){return i._hasConnectedResolver=t});case 13:if(t.prev=13,null!=(o=this.performUpdate()))return t.next=18,o;t.next=18;break;case 18:t.next=23;break;case 20:t.prev=20,t.t1=t.catch(13),r(t.t1);case 23:n(!this._hasRequestedUpdate);case 24:case"end":return t.stop()}},t,this,[[3,8],[13,20]])})),function(){return n.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}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:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var n=this;void 0!==this._reflectingProperties&&0<this._reflectingProperties.size&&(this._reflectingProperties.forEach(function(t,e){return n._propertyToAttribute(e,n[e],t)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var n=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,e){return n._classProperties.set(e,t)})}}},{key:"createProperty",value:function(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:vt;if(this._ensureClassProperties(),this._classProperties.set(n,t),!t.noAccessor&&!this.prototype.hasOwnProperty(n)){var r="symbol"===A(n)?Symbol():"__".concat(n);Object.defineProperty(this.prototype,n,{get:function(){return this[r]},set:function(t){var e=this[n];this[r]=t,this._requestUpdate(n,e)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var t=Object.getPrototypeOf(this);if("function"==typeof t.finalize&&t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[].concat(_(Object.getOwnPropertyNames(e)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])),r=!0,o=!1,i=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,e[u])}}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:pt)(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||dt,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||dt.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var r=this;this.finalize();var o=[];return this._classProperties.forEach(function(t,e){var n=r._attributeNameForProperty(e,t);void 0!==n&&(r._attributeToPropertyMap.set(n,e),o.push(n))}),o}}]),e}(ft(HTMLElement));gt.finalized=!0;var mt="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),wt=function(){function n(t,e){if(L(this,n),e!==bt)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return s(n,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(mt?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),n}(),_t=function(t){return new wt(String(t),bt)},kt=function(r){for(var t=arguments.length,e=new Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];var o=e.reduce(function(t,e,n){return t+function(t){if(t instanceof wt)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)+r[n+1]},r[0]);return new wt(o,bt)};(window.litElementVersions||(window.litElementVersions=[])).push("2.2.0");var xt=function(t){return t.flat?t.flat(1/0):function t(e){for(var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=0,o=e.length;r<o;r++){var i=e[r];Array.isArray(i)?t(i,n):n.push(i)}return n}(t)},St=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return l(r,gt),s(r,[{key:"initialize",value:function(){h(a(r.prototype),"initialize",this).call(this),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?mt?this.renderRoot.adoptedStyleSheets=t.map(function(t){return t.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(function(t){return t.cssText}),this.localName))}},{key:"connectedCallback",value:function(){h(a(r.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this;h(a(r.prototype),"update",this).call(this,t);var e=this.render();e instanceof C&&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,n.renderRoot.appendChild(e)}))}},{key:"render",value:function(){}}],[{key:"finalize",value:function(){h(a(r),"finalize",this).call(this),this._styles=this.hasOwnProperty(JSCompiler_renameProperty("styles",this))?this._getUniqueStyles():this._styles||[]}},{key:"_getUniqueStyles",value:function(){var t=this.styles,e=[];Array.isArray(t)?xt(t).reduceRight(function(t,e){return t.add(e),t},new Set).forEach(function(t){return e.unshift(t)}):t&&e.push(t);return e}}]),r}();St.finalized=!0,St.render=function(t,e,n){var r,o,i,a,s,u=n.scopeName,l=K.has(e),c=rt&&11===e.nodeType&&!!e.host&&t instanceof C,h=c&&!it.has(u),f=h?document.createDocumentFragment():e;if(r=t,o=f,i=Object.assign({templateFactory:(s=u,function(t){var e=nt(t.type,s),n=X.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},X.set(e,n));var r=n.stringsArray.get(t.strings);if(void 0!==r)return r;var o=t.strings.join(j);if(void 0===(r=n.keyString.get(o))){var i=t.getTemplateElement();rt&&window.ShadyCSS.prepareTemplateDom(i,s),r=new x(t,i),n.keyString.set(o,r)}return n.stringsArray.set(t.strings,r),r})},n),void 0===(a=K.get(o))&&(v(o,o.firstChild),K.set(o,a=new M(Object.assign({templateFactory:$},i))),a.appendInto(o)),a.setValue(r),a.commit(),h){var d=K.get(f);K.delete(f),d.value instanceof P&&at(f,d.value.template,u),v(e,e.firstChild),e.appendChild(f),K.set(e,d)}!l&&c&&window.ShadyCSS.styleElement(e.host)};var Pt,Ct=new WeakMap,Et=(Pt=function(u){return function(t){if(!(t instanceof z)||t instanceof q||"class"!==t.committer.name||1<t.committer.parts.length)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var e=t.committer,n=e.element;Ct.has(t)||(n.className=e.strings.join(" "));var r=n.classList,o=Ct.get(t);for(var i in o)i in u||r.remove(i);for(var a in u){var s=u[a];if(!o||s!==o[a])r[s?"add":"remove"](a)}Ct.set(t,u)}},function(){var t=Pt.apply(void 0,arguments);return f.set(t,!0),t});var Nt=function(t){if(Array.isArray(t))return t};var Ot=function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n};var At=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var Tt,zt=function(t,e){return Nt(t)||Ot(t,e)||At()},Mt=n(function(t,e){var n;n=function(){return function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=n,o.c=r,o.i=function(t){return t},o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=1)}([function(t,e,n){function d(t,e){var n={};for(var 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=a,n.d(e,"h",function(){return l});var r=window.customElements,s=new Map,p=new WeakMap;if(r){var o=r.define;r.define=function(t,e){return s.set(e,t),o.call(r,t,e)}}function u(t){var e,s,u,l,c,n=t||{},r=n.attrs,o=n.events,i=n.ref,a=n.key,h=n.dangerouslySetInnerHTML,f=d(n,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(e={attrs:r,events:o,props:f,ref:i}).attrs,u=e.events,l=e.props,c=e.ref,function(t){var e,n,r,o,i,a;t&&(r=t,(o=s)&&Object.keys(o).forEach(function(t){var e=o[t];null==e?r.removeAttribute(t):r.setAttribute(t,e)}),function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=p.get(e)||{};p.set(e,n),Object.keys(r).forEach(function(t){r[t]&&r[t]!==n[t]&&e.removeEventListener(t,r[t])}),Object.keys(n).forEach(function(t){n[t]!==r[t]&&e.addEventListener(t,n[t])})}(t,u),e=t,n=l,Object.keys(n||{}).forEach(function(t){e[t]=n[t]})),i=t,(a=c)&&a(i)}),key:a,dangerouslySetInnerHTML:h}}function i(t,e){var n=e.ref,r=(d(e,["ref"]),"function"==typeof t?new t:document.createElement(t));n&&n(r);for(var o=arguments.length,i=Array(2<o?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return i.forEach(function(t){return r.appendChild("string"==typeof t?document.createTextNode(t):t)}),r}function a(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:i;return function(t,e){var n;n=t,t=s.get(n)||n,e=u(e);for(var r=arguments.length,o=Array(2<r?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return a.apply(void 0,[t,e].concat(o))}}var l=a()},function(t,e,n){t.exports=n(0)}])},t.exports=n()});(Tt=Mt)&&Tt.__esModule&&Object.prototype.hasOwnProperty.call(Tt,"default")&&Tt.default;Mt.val;var Lt=function(t){if(t&&void 0!==window){var e=document.createElement("style");return e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e),t}}(":host(:not([size=auto])) svg {\n width: 16px;\n height: 16px;\n}"),jt=function(t){return!(null==t)},Vt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=zt(t,2),n=e[0],r=e[1];Vt.set(n,r)});var Ht=function(){},Rt=function(u){var l=u.constructor.properties;Object.keys(l).forEach(function(t){var e=l[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!jt(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),jt(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Function?Ht:a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:Vt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})};function Bt(){var t,e,n=(t=["\n ","\n "],e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));return Bt=function(){return n},n}var Ft,Ut,It=function(t){function n(){var t;return L(this,n),t=i(this,a(n).call(this)),Rt(r(t)),t}return l(n,St),s(n,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return kt(Bt(),_t(Lt))}},{key:"iconsMapping",get:function(){return{"arrow-left":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M4.6,11.7h16.1c0.9,0,1.5,0.6,1.5,1.5s-0.6,1.5-1.5,1.5H4.6c-0.9,0-1.5-0.6-1.5-1.5S3.7,11.7,4.6,11.7z"/><path d="M7.7,6.5c0.3,0,0.6,0.1,0.9,0.3c0.6,0.5,0.8,1.5,0.3,2.1l-3.5,4.4l3.5,4.4c0.5,0.6,0.5,1.5-0.3,2.1c-0.6,0.4-1.7,0.4-2.1-0.3l-5.1-6.1l5.1-6.2C6.7,6.6,7.2,6.5,7.7,6.5z"/></g></svg>',"arrow-right":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M19.013 14.75h-16.1c-.92 0-1.533-.6-1.533-1.5s.613-1.5 1.533-1.5h16.1c.92 0 1.534.6 1.534 1.5s-.614 1.5-1.534 1.5z"/><path d="M15.947 20c-.307 0-.614-.15-.92-.3-.614-.45-.767-1.5-.307-2.1l3.527-4.35L14.72 8.9c-.46-.6-.46-1.5.307-2.1.613-.45 1.686-.45 2.146.3l5.06 6.15-5.06 6.15c-.306.45-.766.6-1.226.6z"/></g></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3.64 19L12 10.983 20.36 19 23 16.617 12 6 1 16.617z" fill="currentColor"/></svg>',document:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.167 1.519c-.562 0-1.1.222-1.495.617a2.082 2.082 0 0 0-.611 1.488v16.752a2.082 2.082 0 0 0 .611 1.488c.395.395.933.617 1.495.617h12.666a2.114 2.114 0 0 0 2.106-2.09V7.82l-6.333-6.286-8.44-.015zm7.394 7.338V3.09l5.795 5.767H13.56z" fill="currentColor"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.46 8.883H15.6V1.55H8.4v7.333H3.54L12 17.5zm-16.92 11v2.384h16.74v-2.384z" fill="currentColor"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.329 4.108H3.67c-1.257 0-2.2.95-2.2 2.059v12.666c0 1.109.943 2.059 2.043 2.059H20.33c1.1 0 2.042-.95 2.042-2.059V6.167c.158-1.109-.785-2.059-2.042-2.059zm0 4.117L12 13.608 3.671 8.225V6.167L12 11.392l8.329-5.225v2.058z" fill="currentColor"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3.64 6L12 14.017 20.36 6 23 8.383 12 19 1 8.383z" fill="currentColor"/></svg>',mobile:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.402 1.005h-8.29c-1.43 0-2.59 1.112-2.599 2.49v17.01c.009 1.378 1.17 2.49 2.598 2.49h8.291c1.429 0 2.59-1.112 2.598-2.49V3.495c-.009-1.378-1.17-2.49-2.598-2.49zm-4.153 21c-.86 0-1.556-.672-1.556-1.5s.697-1.5 1.556-1.5c.859 0 1.555.672 1.555 1.5 0 .823-.687 1.492-1.54 1.5h-.015zM16.916 18H7.582V4.005h9.334V18z" fill="currentColor"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5.4 10.533a19.028 19.028 0 0 0 8.067 8.067l2.75-2.75c.366-.367.916-.367 1.283-.183 1.467.55 2.933.733 4.4.733.55 0 1.1.55 1.1 1.1v4.217C23 22.45 22.45 23 21.717 23 10.35 23 1 13.65 1 2.283 1 1.55 1.55 1 2.283 1H6.5c.733 0 1.283.55 1.283 1.283 0 1.467.184 2.75.55 4.217.184.367 0 .917-.366 1.283L5.4 10.533z" fill="currentColor"/></svg>',plus:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22.34 13.54h-8.8v8.8h-3.08v-8.8h-8.8v-3.08h8.8v-8.8h2.86v8.8h8.8v3.08z" fill="currentColor"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.833 15.046H15l-.333-.338c2.5-3.046 2.333-7.446-.5-10.154-2.834-2.708-7.334-2.539-10 .17C1.5 7.43 1.333 12 4 14.876c2.667 2.877 7 3.215 10 .508l.333.338v.846l5.5 5.585 1.667-1.692-5.667-5.416zm-6.666 0c-2.834 0-5-2.2-5-5.077s2.166-5.077 5-5.077c2.833 0 5 2.2 5 5.077s-2.167 5.077-5 5.077z" fill="currentColor"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8.4 17.5h7.2v-7.333h4.86L12 1.55l-8.46 8.617H8.4V17.5zm-4.86 2.383h16.74v2.384H3.54v-2.384z" fill="currentColor"/></svg>',"cloud-upload":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path 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" fill="currentColor"/></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 0 0-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 0 1 .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 0 0 .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 0 0 2.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 0 1-.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 0 1-.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 0 1-.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 0 1-.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 0 0-.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 0 0 .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 0 0 .15 1.986z" fill="#00008F"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String},size:{type:String,reflect:!0},_loadedSvg:{type:String}}}}]),s(n,[{key:"updated",value:function(){var r,e=this,t=this.icon;/\.svg/.test(t)?(r=t,new Promise(function(t,e){var n=new XMLHttpRequest;n.open("GET",r),n.onload=function(){return t(n.responseText)},n.onerror=function(){return e(n.statusText)},n.send()})).then(function(t){e.size="auto",e._loadedSvg=t}):/<svg/.test(t)?(this.size="auto",this._loadedSvg=t):this._loadedSvg=n.iconsMapping[t]||""}},{key:"render",value:function(){return this._loadedSvg&&function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new E(t,n,"svg",Y)}([this._loadedSvg])}}]),n}();Ft=It.tagName,Ut=It,window.customElements.get(Ft)||window.customElements.define(Ft,Ut);var qt=function(t){return!(null==t)},Wt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=zt(t,2),n=e[0],r=e[1];Wt.set(n,r)});var Dt=function(){},Gt=function(u){var l=u.constructor.properties;Object.keys(l).forEach(function(t){var e=l[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!qt(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),qt(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Function?Dt:a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:Wt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})},Jt=t('.a-button-link {\n font-family: "Source Sans Pro", Arial, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n padding: 0 30px;\n margin: 0;\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n overflow-wrap: break-word;\n word-wrap: break-word;\n text-decoration: none;\n text-transform: uppercase;\n color: #fff;\n background-color: #00008f;\n border: solid 2px #00008f;\n border-bottom-color: #00005b;\n}\n@media (min-width: 36em) {\n .a-button-link {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n }\n}\n.a-button-link:hover, .a-button-link:active, .a-button-link:focus {\n cursor: pointer;\n text-decoration: none;\n background-color: #00005b;\n border-color: #00005b;\n}\n.a-button-link[aria-disabled=true] {\n color: #999;\n background-color: #e5e5e5;\n border-color: #e5e5e5;\n border-bottom-color: #ccc;\n pointer-events: none;\n}\n.a-button-link__flex-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n min-height: 26px;\n height: 25px;\n box-sizing: border-box;\n}\n@media (min-width: 36em) {\n .a-button-link__flex-wrapper {\n min-height: 36px;\n }\n}\n.a-button-link__icon {\n display: flex;\n margin-right: 10px;\n}\n.a-button-link__arrow {\n display: flex;\n margin-left: 10px;\n}\n\n.a-button-link--large {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n}\n@media (min-width: 36em) {\n .a-button-link--large {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n }\n}\n\n.a-button-link--large .a-button-link__flex-wrapper {\n min-height: 36px;\n}\n@media (min-width: 36em) {\n .a-button-link--large .a-button-link__flex-wrapper {\n min-height: 46px;\n }\n}\n\n.a-button-link--small .a-button-link__flex-wrapper {\n min-height: 26px;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n}\n\n.a-button-link--motion {\n z-index: 0;\n overflow: hidden;\n transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n}\n.a-button-link--motion::after {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: -1;\n display: block;\n width: 0.001px;\n height: 550px;\n content: "";\n transform: translateX(-50%) translateY(-50%) rotate(45deg);\n transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n background-color: #00005b;\n}\n.a-button-link--motion:hover, .a-button-link--motion:focus {\n background-color: #00008f;\n color: #fff;\n}\n.a-button-link--motion:hover::after, .a-button-link--motion:focus::after {\n width: 110%;\n background-color: #00005b;\n}\n\n.a-button-link--red {\n background-color: #f07662;\n border-color: #f07662;\n border-bottom-color: #ec4d33;\n}\n.a-button-link--red:hover, .a-button-link--red:active, .a-button-link--red:focus {\n background-color: #ec4d33;\n border-color: #ec4d33;\n}\n.a-button-link--red.a-button-link--motion::after {\n background-color: #ec4d33;\n}\n.a-button-link--red.a-button-link--motion:hover, .a-button-link--red.a-button-link--motion:focus {\n background-color: #f07662;\n color: #fff;\n}\n.a-button-link--red.a-button-link--motion:hover::after, .a-button-link--red.a-button-link--motion:focus::after {\n background-color: #ec4d33;\n}\n\n.a-button-link--secondary {\n background-color: transparent;\n border-bottom-color: #00008f;\n color: #00008f;\n}\n.a-button-link--secondary:hover, .a-button-link--secondary:active, .a-button-link--secondary:focus {\n color: #fff;\n}\n.a-button-link--secondary.a-button-link--motion {\n background-color: transparent;\n}\n\n.a-button-link--inverted {\n background-color: transparent;\n border-color: #fff;\n color: #fff;\n}\n.a-button-link--inverted:hover, .a-button-link--inverted:active, .a-button-link--inverted:focus {\n color: #00005b;\n background-color: #fff;\n border-color: #fff;\n}\n.a-button-link--inverted.a-button-link--motion {\n background-color: transparent;\n}\n.a-button-link--inverted.a-button-link--motion::after {\n background-color: #fff;\n}\n\n.a-button-link--inverted-blue-ocean:hover, .a-button-link--inverted-blue-ocean:active, .a-button-link--inverted-blue-ocean:focus {\n color: #4976ba;\n}\n\n.a-button-link--inverted-red-tosca:hover, .a-button-link--inverted-red-tosca:active, .a-button-link--inverted-red-tosca:focus {\n color: #914146;\n}\n\n.a-button-link--inverted-purple-logan:hover, .a-button-link--inverted-purple-logan:active, .a-button-link--inverted-purple-logan:focus {\n color: #9190ac;\n}\n\n.a-button-link--inverted-green-viridian:hover, .a-button-link--inverted-green-viridian:active, .a-button-link--inverted-green-viridian:focus {\n color: #668980;\n}\n\n.a-button-link--inverted-blue-teal:hover, .a-button-link--inverted-blue-teal:active, .a-button-link--inverted-blue-teal:focus {\n color: #027180;\n}'),Yt=t("axa-button-link {\n position: relative;\n}\naxa-button-link[disabled] {\n pointer-events: none;\n}"),$t={},Xt=null,Kt=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return l(r,St),s(r,[{key:"inlineStyles",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"styles",e=this.getRootNode(),n=$t[this.tagName]||new WeakMap,r=1+(0|n.get(e));if(n.set(e,r),$t[this.tagName]=n,1===r){this.ownerDocument!==e&&(this._rootNode=e);var o=document.createElement("style");o.textContent=this.constructor[t],(e instanceof ShadowRoot?e:document.head).appendChild(o),Xt=o}}},{key:"disconnectedCallback",value:function(){h(a(r.prototype),"disconnectedCallback",this).call(this);var t=$t[this.tagName];if(t){var e=this._rootNode||this.ownerDocument,n=(0|t.get(e))-1;n<1?(t.delete(e),Xt&&Xt.parentNode&&Xt.parentNode.removeChild(Xt)):t.set(e,n)}}}]),r}();function Qt(){var t=e(['\n <axa-icon\n class="a-button-link__arrow"\n icon="arrow-right"\n ></axa-icon>\n ']);return Qt=function(){return t},t}function Zt(){var t=e(['\n <axa-icon class="a-button-link__icon" icon="','"></axa-icon>\n ']);return Zt=function(){return t},t}function te(){var t=e(['\n <a\n class="','"\n href="','"\n target="','"\n rel="','"\n aria-disabled="','"\n @click="','"\n >\n <span class="a-button-link__flex-wrapper">\n ',"\n <slot></slot>\n ","\n </span>\n </a>\n "]);return te=function(){return t},t}function ee(){var t=e(["\n ","\n "]);return ee=function(){return t},t}var ne,re,oe="arrow-right",ie=function(t){function e(){var t;return L(this,e),t=i(this,a(e).call(this)),Gt(r(t)),t}return l(e,Kt),s(e,null,[{key:"tagName",get:function(){return"axa-button-link"}},{key:"styles",get:function(){return kt(ee(),_t(Jt))}},{key:"blockMouseEventsCss",get:function(){return Yt}},{key:"properties",get:function(){return{href:{type:String},external:{type:Boolean},variant:{type:String},icon:{type:String},size:{type:String},motionOff:{type:Boolean},disabled:{type:Boolean,reflect:!0},onClick:{type:Function,attribute:!1}}}}]),s(e,[{key:"render",value:function(){var t=this.href,e=this.external,n=this.size,r=void 0===n?"":n,o=this.motionOff,i=this.disabled,a=this.variant,s=void 0===a?"":a,u=this.icon,l=void 0===u?"":u,c={"a-button-link":!0,"a-button-link--large":"large"===r,"a-button-link--small":"small"===r,"a-button-link--motion":!o&&!i,"a-button-link--secondary":"secondary"===s,"a-button-link--red":"red"===s,"a-button-link--inverted":s.includes("inverted"),"a-button-link--inverted-blue-ocean":"inverted-blue-ocean"===s,"a-button-link--inverted-red-tosca":"inverted-red-tosca"===s,"a-button-link--inverted-purple-logan":"inverted-purple-logan"===s,"a-button-link--inverted-green-viridian":"inverted-green-viridian"===s,"a-button-link--inverted-blue-teal":"inverted-blue-teal"===s};return Q(te(),Et(c),t,e?"_blank":"_top",e?"noreferrer noopener":"",i,this.onClick,this.showIcon?Q(Zt(),l):"",this.showArrow?Q(Qt()):"")}},{key:"firstUpdated",value:function(){this.inlineStyles("blockMouseEventsCss")}},{key:"showIcon",get:function(){return this.icon&&this.icon!==oe}},{key:"showArrow",get:function(){return this.icon===oe}}]),e}();return ne=ie.tagName,re=ie,window.customElements.get(ne)||window.customElements.define(ne,re),ie}(); | ||
var window=function(){"use strict";function t(t){if(t&&void 0!==window){var e=document.createElement("style");return e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e),t}}var e=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))};var j=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};"undefined"!=typeof globalThis?globalThis:void 0!==window||("undefined"!=typeof global?global:"undefined"!=typeof self&&self);function n(t,e){return t(e={exports:{}},e.exports),e.exports}var A=n(function(e){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(t){return typeof t}:e.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}e.exports=n});var r=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var i=function(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?r(t):e},a=n(function(e){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}e.exports=n});function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t},u=n(function(n){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r});var l=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&&u(t,e)};var c=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t},h=n(function(r){function o(t,e,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=o=Reflect.get:r.exports=o=function(t,e,n){var r=c(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}},o(t,e,n||t)}r.exports=o}),f=new WeakMap,d=function(t){return"function"==typeof t&&f.has(t)},p=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,v=function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},y={},g={};var m=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var b=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var w=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var _=function(t){return m(t)||b(t)||w()},L="{{lit-".concat(String(Math.random()).slice(2),"}}"),k="\x3c!--".concat(L,"--\x3e"),V=new RegExp("".concat(L,"|").concat(k)),H="$lit$",x=function t(e,n){j(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,l=e.strings,c=e.values.length;u<c;){var h=i.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var f=h.attributes,d=f.length,p=0,v=0;v<d;v++)R(f[v].name,H)&&p++;for(;0<p--;){var y=l[u],g=F.exec(y)[2],m=g.toLowerCase()+H,b=h.getAttribute(m);h.removeAttribute(m);var w=b.split(V);this.parts.push({type:"attribute",index:s,name:g,strings:w}),u+=w.length-1}}"TEMPLATE"===h.tagName&&(o.push(h),i.currentNode=h.content)}else if(3===h.nodeType){var _=h.data;if(0<=_.indexOf(L)){for(var k=h.parentNode,x=_.split(V),S=x.length-1,C=0;C<S;C++){var E=void 0,P=x[C];if(""===P)E=B();else{var N=F.exec(P);null!==N&&R(N[2],H)&&(P=P.slice(0,N.index)+N[1]+N[2].slice(0,-H.length)+N[3]),E=document.createTextNode(P)}k.insertBefore(E,h),this.parts.push({type:"node",index:++s})}""===x[S]?(k.insertBefore(B(),h),r.push(h)):h.data=x[S],u+=S}}else if(8===h.nodeType)if(h.data===L){var O=h.parentNode;null!==h.previousSibling&&s!==a||(s++,O.insertBefore(B(),h)),a=s,this.parts.push({type:"node",index:s}),null===h.nextSibling?h.data="":(r.push(h),s--),u++}else for(var A=-1;-1!==(A=h.data.indexOf(L,A+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var T=0,M=r;T<M.length;T++){var z=M[T];z.parentNode.removeChild(z)}},R=function(t,e){var n=t.length-e.length;return 0<=n&&t.slice(n)===e},S=function(t){return-1!==t.index},B=function(){return document.createComment("")},F=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,C=function(){function r(t,e,n){j(this,r),this.__parts=[],this.template=t,this.processor=e,this.options=n}return s(r,[{key:"update",value:function(t){var e=0,n=!0,r=!1,o=void 0;try{for(var i,a=this.__parts[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}var u=!0,l=!1,c=void 0;try{for(var h,f=this.__parts[Symbol.iterator]();!(u=(h=f.next()).done);u=!0){var d=h.value;void 0!==d&&d.commit()}}catch(t){l=!0,c=t}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}}},{key:"_clone",value:function(){for(var t,e=p?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],S(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var l;(l=this.__parts).push.apply(l,_(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return p&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),r}(),E=" ".concat(L," "),P=function(){function o(t,e,n,r){j(this,o),this.strings=t,this.values=e,this.type=n,this.processor=r}return s(o,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(-1<i||n)&&-1===o.indexOf("--\x3e",i+1);var a=F.exec(o);e+=null===a?o+(n?E:k):o.substr(0,a.index)+a[1]+a[2]+H+a[3]+L}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),o}(),N=function(t){function r(){return j(this,r),i(this,a(r).apply(this,arguments))}return l(r,P),s(r,[{key:"getHTML",value:function(){return"<svg>".concat(h(a(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=h(a(r.prototype),"getTemplateElement",this).call(this),e=t.content,n=e.firstChild;return e.removeChild(n),function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}}(e,n.firstChild),t}}]),r}(),O=function(t){return null===t||!("object"===A(t)||"function"==typeof t)},T=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},M=function(){function o(t,e,n){j(this,o),this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}return s(o,[{key:"_createPart",value:function(){return new z(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(O(i)||!T(i))n+="string"==typeof i?i:String(i);else{var a=!0,s=!1,u=void 0;try{for(var l,c=i[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var h=l.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==c.return||c.return()}finally{if(s)throw u}}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),o}(),z=function(){function e(t){j(this,e),this.value=void 0,this.committer=t}return s(e,[{key:"setValue",value:function(t){t===y||O(t)&&t===this.value||(this.value=t,d(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;d(this.value);){var t=this.value;this.value=y,t(this)}this.value!==y&&this.committer.commit()}}]),e}(),U=function(){function c(t){j(this,c),this.value=void 0,this.__pendingValue=void 0,this.options=t}return s(c,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(B()),this.endNode=t.appendChild(B())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=B()),t.__insert(this.endNode=B())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=B()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}var e=this.__pendingValue;e!==y&&(O(e)?e!==this.value&&this.__commitText(e):e instanceof P?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):T(e)?this.__commitIterable(e):e===g?(this.value=g,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,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof C&&this.value.template===e)this.value.update(t.values);else{var n=new C(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n=this.value,r=0,o=!0,i=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var l=s.value;void 0===(e=n[r])&&(e=new c(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(l),e.commit(),r++}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}r<n.length&&(n.length=r,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.startNode;v(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),c}(),I=function(){function r(t,e,n){if(j(this,r),this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}return s(r,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}if(this.__pendingValue!==y){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=y}}}]),r}(),q=function(t){function o(t,e,n){var r;return j(this,o),(r=i(this,a(o).call(this,t,e,n))).single=2===n.length&&""===n[0]&&""===n[1],r}return l(o,M),s(o,[{key:"_createPart",value:function(){return new W(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h(a(o.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),o}(),W=function(t){function e(){return j(this,e),i(this,a(e).apply(this,arguments))}return l(e,z),e}(),D=!1;try{var G={get capture(){return!(D=!0)}};window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch(t){}var J=function(){function o(t,e,n){var r=this;j(this,o),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=function(t){return r.handleEvent(t)}}return s(o,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;d(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=y,t(this)}if(this.__pendingValue!==y){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=Y(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=y}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),o}(),Y=function(t){return t&&(D?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},$=new(function(){function t(){j(this,t)}return s(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new q(t,e.slice(1),n).parts:"@"===o?[new J(t,e.slice(1),r.eventContext)]:"?"===o?[new I(t,e.slice(1),n)]:new M(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new U(t)}}]),t}());function X(t){var e=K.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},K.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(L);return void 0===(n=e.keyString.get(r))&&(n=new x(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var K=new Map,Q=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");var Z=function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new P(t,n,"html",$)};function tt(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=nt(r),a=r[i],s=-1,u=0,l=[],c=null;o.nextNode();){s++;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!==a&&a.index===s;)a.index=null!==c?-1:a.index-u,a=r[i=nt(r,i)]}l.forEach(function(t){return t.parentNode.removeChild(t)})}var et=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},nt=function(t){for(var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1)+1;e<t.length;e++){var n=t[e];if(S(n))return e}return-1};var rt=function(t,e){return"".concat(t,"--").concat(e)},ot=!0;void 0===window.ShadyCSS?ot=!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."),ot=!1);var it=["html","svg"],at=new Set,st=function(t,e,n){at.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a,s=document.createElement("style"),u=0;u<i;u++){var l=o[u];l.parentNode.removeChild(l),s.textContent+=l.textContent}a=t,it.forEach(function(t){var e=K.get(rt(t,a));void 0!==e&&e.keyString.forEach(function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(function(t){n.add(t)}),tt(t,n)})});var c=r.content;n?function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),a=nt(o),s=0,u=-1;i.nextNode();)for(u++,i.currentNode===n&&(s=et(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(0<s){for(;-1!==a;)o[a].index+=s,a=nt(o,a);return}a=nt(o,a)}else r.appendChild(e)}(n,s,c.firstChild):c.insertBefore(s,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var h=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==h)e.insertBefore(h.cloneNode(!0),e.firstChild);else if(n){c.insertBefore(s,c.firstChild);var f=new Set;f.add(s),tt(n,f)}}else window.ShadyCSS.prepareTemplateStyles(r,t)},ut=n(function(t){var e=function(i){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function a(t,e,n,r){var i,a,s,u,o=e&&e.prototype instanceof g?e:g,l=Object.create(o.prototype),c=new P(r||[]);return l._invoke=(i=t,a=n,s=c,u=f,function(t,e){if(u===p)throw new Error("Generator is already running");if(u===v){if("throw"===t)throw e;return O()}for(s.method=t,s.arg=e;;){var n=s.delegate;if(n){var r=S(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===f)throw u=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=p;var o=h(i,a,s);if("normal"===o.type){if(u=s.done?v:d,o.arg===y)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(u=v,s.method="throw",s.arg=o.arg)}}),l}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}i.wrap=a;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function g(){}function s(){}function c(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==t&&l.call(w,o)&&(m=w);var _=c.prototype=g.prototype=Object.create(m);function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,o){var i=h(u[t],u,n);if("throw"!==i.type){var a=i.arg,s=a.value;return s&&"object"===A(s)&&l.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,r,o)},function(t){e("throw",t,r,o)}):Promise.resolve(s).then(function(t){a.value=t,r(a)},function(t){return e("throw",t,r,o)})}o(i.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function S(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,S(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function C(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function N(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:u,done:!0}}return s.prototype=_.constructor=c,c.constructor=s,c[r]=s.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===s||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(_),t},i.awrap=function(t){return{__await:t}},k(x.prototype),x.prototype[n]=function(){return this},i.AsyncIterator=x,i.async=function(t,e,n,r){var o=new x(a(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(_),_[r]="Generator",_[o]=function(){return this},_.toString=function(){return"[object Generator]"},i.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},i.values=N,P.prototype={constructor:P,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(E),!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(n){if(this.done)throw n;var r=this;function t(t,e){return i.type="throw",i.arg=n,r.next=t,e&&(r.method="next",r.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 a=l.call(o,"catchLoc"),s=l.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):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),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}},i}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function lt(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}var ct=function(s){return function(){var t=this,a=arguments;return new Promise(function(e,n){var r=s.apply(t,a);function o(t){lt(r,e,n,o,i,"next",t)}function i(t){lt(r,e,n,o,i,"throw",t)}o(void 0)})}};var ht=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},ft=n(function(r){function o(t,e,n){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?r.exports=o=function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o}:r.exports=o=Reflect.construct,o.apply(null,arguments)}r.exports=o}),dt=n(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!ht(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return ft(t,arguments,a(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u(e,t)},r(t)}e.exports=r});window.JSCompiler_renameProperty=function(t,e){return t};var pt={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}},vt=function(t,e){return e!==t&&(e==e||t==t)},yt={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:vt},gt=Promise.resolve(!0),mt="finalized",bt=function(t){function e(){var t;return j(this,e),(t=i(this,a(e).call(this)))._updateState=0,t._instanceProperties=void 0,t._updatePromise=gt,t._hasConnectedResolver=void 0,t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}var n;return l(e,t),s(e,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var r=this;this.constructor._classProperties.forEach(function(t,e){if(r.hasOwnProperty(e)){var n=r[e];delete r[e],r._instanceProperties||(r._instanceProperties=new Map),r._instanceProperties.set(e,n)}})}},{key:"_applyInstanceProperties",value:function(){var n=this;this._instanceProperties.forEach(function(t,e){return n[e]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:yt,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n._classProperties.get(r)||yt;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,o=r._classProperties.get(t)||yt;r._valueHasChanged(this[t],e,o.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,o))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=ct(ut.mark(function t(){var n,r,e,o,i=this;return ut.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,e=this._updatePromise,this._updatePromise=new Promise(function(t,e){n=t,r=e}),t.prev=3,t.next=6,e;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:if(this._hasConnected){t.next=13;break}return t.next=13,new Promise(function(t){return i._hasConnectedResolver=t});case 13:if(t.prev=13,null!=(o=this.performUpdate()))return t.next=18,o;t.next=18;break;case 18:t.next=23;break;case 20:t.prev=20,t.t1=t.catch(13),r(t.t1);case 23:n(!this._hasRequestedUpdate);case 24:case"end":return t.stop()}},t,this,[[3,8],[13,20]])})),function(){return n.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}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:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var n=this;void 0!==this._reflectingProperties&&0<this._reflectingProperties.size&&(this._reflectingProperties.forEach(function(t,e){return n._propertyToAttribute(e,n[e],t)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],[{key:"_ensureClassProperties",value:function(){var n=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,e){return n._classProperties.set(e,t)})}}},{key:"createProperty",value:function(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:yt;if(this._ensureClassProperties(),this._classProperties.set(n,t),!t.noAccessor&&!this.prototype.hasOwnProperty(n)){var r="symbol"===A(n)?Symbol():"__".concat(n);Object.defineProperty(this.prototype,n,{get:function(){return this[r]},set:function(t){var e=this[n];this[r]=t,this._requestUpdate(n,e)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(mt)||t.finalize(),this[mt]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[].concat(_(Object.getOwnPropertyNames(e)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])),r=!0,o=!1,i=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,e[u])}}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:vt)(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||pt,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||pt.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var r=this;this.finalize();var o=[];return this._classProperties.forEach(function(t,e){var n=r._attributeNameForProperty(e,t);void 0!==n&&(r._attributeToPropertyMap.set(n,e),o.push(n))}),o}}]),e}(dt(HTMLElement));bt.finalized=!0;var wt="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),kt=function(){function n(t,e){if(j(this,n),e!==_t)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return s(n,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(wt?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),n}(),xt=function(t){return new kt(String(t),_t)},St=function(r){for(var t=arguments.length,e=new Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];var o=e.reduce(function(t,e,n){return t+function(t){if(t instanceof kt)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)+r[n+1]},r[0]);return new kt(o,_t)};(window.litElementVersions||(window.litElementVersions=[])).push("2.2.1");var Ct=function(t){return t.flat?t.flat(1/0):function t(e){for(var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=0,o=e.length;r<o;r++){var i=e[r];Array.isArray(i)?t(i,n):n.push(i)}return n}(t)},Et=function(t){function r(){return j(this,r),i(this,a(r).apply(this,arguments))}return l(r,bt),s(r,[{key:"initialize",value:function(){h(a(r.prototype),"initialize",this).call(this),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?wt?this.renderRoot.adoptedStyleSheets=t.map(function(t){return t.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(function(t){return t.cssText}),this.localName))}},{key:"connectedCallback",value:function(){h(a(r.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this;h(a(r.prototype),"update",this).call(this,t);var e=this.render();e instanceof P&&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,n.renderRoot.appendChild(e)}))}},{key:"render",value:function(){}}],[{key:"finalize",value:function(){h(a(r),"finalize",this).call(this),this._styles=this.hasOwnProperty(JSCompiler_renameProperty("styles",this))?this._getUniqueStyles():this._styles||[]}},{key:"_getUniqueStyles",value:function(){var t=this.styles,e=[];Array.isArray(t)?Ct(t).reduceRight(function(t,e){return t.add(e),t},new Set).forEach(function(t){return e.unshift(t)}):t&&e.push(t);return e}}]),r}();Et.finalized=!0,Et.render=function(t,e,n){if(!n||"object"!==A(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r,o,i,a,s,u=n.scopeName,l=Q.has(e),c=ot&&11===e.nodeType&&!!e.host,h=c&&!at.has(u),f=h?document.createDocumentFragment():e;if(r=t,o=f,i=Object.assign({templateFactory:(s=u,function(t){var e=rt(t.type,s),n=K.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},K.set(e,n));var r=n.stringsArray.get(t.strings);if(void 0!==r)return r;var o=t.strings.join(L);if(void 0===(r=n.keyString.get(o))){var i=t.getTemplateElement();ot&&window.ShadyCSS.prepareTemplateDom(i,s),r=new x(t,i),n.keyString.set(o,r)}return n.stringsArray.set(t.strings,r),r})},n),void 0===(a=Q.get(o))&&(v(o,o.firstChild),Q.set(o,a=new U(Object.assign({templateFactory:X},i))),a.appendInto(o)),a.setValue(r),a.commit(),h){var d=Q.get(f);Q.delete(f);var p=d.value instanceof C?d.value.template:void 0;st(u,f,p),v(e,e.firstChild),e.appendChild(f),Q.set(e,d)}!l&&c&&window.ShadyCSS.styleElement(e.host)};var Pt,Nt=new WeakMap,Ot=(Pt=function(u){return function(t){if(!(t instanceof z)||t instanceof W||"class"!==t.committer.name||1<t.committer.parts.length)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var e=t.committer,n=e.element;Nt.has(t)||(n.className=e.strings.join(" "));var r=n.classList,o=Nt.get(t);for(var i in o)i in u||r.remove(i);for(var a in u){var s=u[a];if(!o||s!==o[a])r[s?"add":"remove"](a)}Nt.set(t,u)}},function(){var t=Pt.apply(void 0,arguments);return f.set(t,!0),t});var At=function(t){if(Array.isArray(t))return t};var Tt=function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}};var Mt=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var zt,jt=function(t,e){return At(t)||Tt(t,e)||Mt()},Lt=n(function(t,e){var n;n=function(){return function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=n,o.c=r,o.i=function(t){return t},o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=1)}([function(t,e,n){function d(t,e){var n={};for(var 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=a,n.d(e,"h",function(){return l});var r=window.customElements,s=new Map,p=new WeakMap;if(r){var o=r.define;r.define=function(t,e){return s.set(e,t),o.call(r,t,e)}}function u(t){var e,s,u,l,c,n=t||{},r=n.attrs,o=n.events,i=n.ref,a=n.key,h=n.dangerouslySetInnerHTML,f=d(n,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(e={attrs:r,events:o,props:f,ref:i}).attrs,u=e.events,l=e.props,c=e.ref,function(t){var e,n,r,o,i,a;t&&(r=t,(o=s)&&Object.keys(o).forEach(function(t){var e=o[t];null==e?r.removeAttribute(t):r.setAttribute(t,e)}),function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=p.get(e)||{};p.set(e,n),Object.keys(r).forEach(function(t){r[t]&&r[t]!==n[t]&&e.removeEventListener(t,r[t])}),Object.keys(n).forEach(function(t){n[t]!==r[t]&&e.addEventListener(t,n[t])})}(t,u),e=t,n=l,Object.keys(n||{}).forEach(function(t){e[t]=n[t]})),i=t,(a=c)&&a(i)}),key:a,dangerouslySetInnerHTML:h}}function i(t,e){var n=e.ref,r=(d(e,["ref"]),"function"==typeof t?new t:document.createElement(t));n&&n(r);for(var o=arguments.length,i=Array(2<o?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return i.forEach(function(t){return r.appendChild("string"==typeof t?document.createTextNode(t):t)}),r}function a(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:i;return function(t,e){var n;n=t,t=s.get(n)||n,e=u(e);for(var r=arguments.length,o=Array(2<r?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return a.apply(void 0,[t,e].concat(o))}}var l=a()},function(t,e,n){t.exports=n(0)}])},t.exports=n()});(zt=Lt)&&zt.__esModule&&Object.prototype.hasOwnProperty.call(zt,"default")&&zt.default;Lt.val;var Vt=function(t){if(t&&void 0!==window){var e=document.createElement("style");return e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e),t}}(":host(:not([size=auto])) svg {\n width: 16px;\n height: 16px;\n}"),Ht=function(t){return!(null==t)},Rt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=jt(t,2),n=e[0],r=e[1];Rt.set(n,r)});var Bt=function(){},Ft=function(u){var l=u.constructor.properties;Object.keys(l).forEach(function(t){var e=l[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!Ht(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),Ht(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Function?Bt:a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:Rt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})};function Ut(){var t,e,n=(t=["\n ","\n "],e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));return Ut=function(){return n},n}var It,qt,Wt=function(t){function n(){var t;return j(this,n),t=i(this,a(n).call(this)),Ft(r(t)),t}return l(n,Et),s(n,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return St(Ut(),xt(Vt))}},{key:"iconsMapping",get:function(){return{"arrow-left":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M4.6,11.7h16.1c0.9,0,1.5,0.6,1.5,1.5s-0.6,1.5-1.5,1.5H4.6c-0.9,0-1.5-0.6-1.5-1.5S3.7,11.7,4.6,11.7z"/><path d="M7.7,6.5c0.3,0,0.6,0.1,0.9,0.3c0.6,0.5,0.8,1.5,0.3,2.1l-3.5,4.4l3.5,4.4c0.5,0.6,0.5,1.5-0.3,2.1c-0.6,0.4-1.7,0.4-2.1-0.3l-5.1-6.1l5.1-6.2C6.7,6.6,7.2,6.5,7.7,6.5z"/></g></svg>',"arrow-right":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M19.013 14.75h-16.1c-.92 0-1.533-.6-1.533-1.5s.613-1.5 1.533-1.5h16.1c.92 0 1.534.6 1.534 1.5s-.614 1.5-1.534 1.5z"/><path d="M15.947 20c-.307 0-.614-.15-.92-.3-.614-.45-.767-1.5-.307-2.1l3.527-4.35L14.72 8.9c-.46-.6-.46-1.5.307-2.1.613-.45 1.686-.45 2.146.3l5.06 6.15-5.06 6.15c-.306.45-.766.6-1.226.6z"/></g></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3.64 19L12 10.983 20.36 19 23 16.617 12 6 1 16.617z" fill="currentColor"/></svg>',document:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.167 1.519c-.562 0-1.1.222-1.495.617a2.082 2.082 0 0 0-.611 1.488v16.752a2.082 2.082 0 0 0 .611 1.488c.395.395.933.617 1.495.617h12.666a2.114 2.114 0 0 0 2.106-2.09V7.82l-6.333-6.286-8.44-.015zm7.394 7.338V3.09l5.795 5.767H13.56z" fill="currentColor"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.46 8.883H15.6V1.55H8.4v7.333H3.54L12 17.5zm-16.92 11v2.384h16.74v-2.384z" fill="currentColor"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.329 4.108H3.67c-1.257 0-2.2.95-2.2 2.059v12.666c0 1.109.943 2.059 2.043 2.059H20.33c1.1 0 2.042-.95 2.042-2.059V6.167c.158-1.109-.785-2.059-2.042-2.059zm0 4.117L12 13.608 3.671 8.225V6.167L12 11.392l8.329-5.225v2.058z" fill="currentColor"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3.64 6L12 14.017 20.36 6 23 8.383 12 19 1 8.383z" fill="currentColor"/></svg>',mobile:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.402 1.005h-8.29c-1.43 0-2.59 1.112-2.599 2.49v17.01c.009 1.378 1.17 2.49 2.598 2.49h8.291c1.429 0 2.59-1.112 2.598-2.49V3.495c-.009-1.378-1.17-2.49-2.598-2.49zm-4.153 21c-.86 0-1.556-.672-1.556-1.5s.697-1.5 1.556-1.5c.859 0 1.555.672 1.555 1.5 0 .823-.687 1.492-1.54 1.5h-.015zM16.916 18H7.582V4.005h9.334V18z" fill="currentColor"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5.4 10.533a19.028 19.028 0 0 0 8.067 8.067l2.75-2.75c.366-.367.916-.367 1.283-.183 1.467.55 2.933.733 4.4.733.55 0 1.1.55 1.1 1.1v4.217C23 22.45 22.45 23 21.717 23 10.35 23 1 13.65 1 2.283 1 1.55 1.55 1 2.283 1H6.5c.733 0 1.283.55 1.283 1.283 0 1.467.184 2.75.55 4.217.184.367 0 .917-.366 1.283L5.4 10.533z" fill="currentColor"/></svg>',plus:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22.34 13.54h-8.8v8.8h-3.08v-8.8h-8.8v-3.08h8.8v-8.8h2.86v8.8h8.8v3.08z" fill="currentColor"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.833 15.046H15l-.333-.338c2.5-3.046 2.333-7.446-.5-10.154-2.834-2.708-7.334-2.539-10 .17C1.5 7.43 1.333 12 4 14.876c2.667 2.877 7 3.215 10 .508l.333.338v.846l5.5 5.585 1.667-1.692-5.667-5.416zm-6.666 0c-2.834 0-5-2.2-5-5.077s2.166-5.077 5-5.077c2.833 0 5 2.2 5 5.077s-2.167 5.077-5 5.077z" fill="currentColor"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8.4 17.5h7.2v-7.333h4.86L12 1.55l-8.46 8.617H8.4V17.5zm-4.86 2.383h16.74v2.384H3.54v-2.384z" fill="currentColor"/></svg>',"cloud-upload":'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path 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" fill="currentColor"/></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 0 0-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 0 1 .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 0 0 .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 0 0 2.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 0 1-.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 0 1-.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 0 1-.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 0 1-.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 0 0-.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 0 0 .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 0 0 .15 1.986z" fill="#00008F"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String},size:{type:String,reflect:!0},_loadedSvg:{type:String}}}}]),s(n,[{key:"updated",value:function(){var r,e=this,t=this.icon;/\.svg/.test(t)?(r=t,new Promise(function(t,e){var n=new XMLHttpRequest;n.open("GET",r),n.onload=function(){return t(n.responseText)},n.onerror=function(){return e(n.statusText)},n.send()})).then(function(t){e.size="auto",e._loadedSvg=t}):/<svg/.test(t)?(this.size="auto",this._loadedSvg=t):this._loadedSvg=n.iconsMapping[t]||""}},{key:"render",value:function(){return this._loadedSvg&&function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new N(t,n,"svg",$)}([this._loadedSvg])}}]),n}();It=Wt.tagName,qt=Wt,window.customElements.get(It)||window.customElements.define(It,qt);var Dt=function(t){return!(null==t)},Gt=new Map;[[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]].forEach(function(t){var e=jt(t,2),n=e[0],r=e[1];Gt.set(n,r)});var Jt=function(){},Yt=function(u){var l=u.constructor.properties;Object.keys(l).forEach(function(t){var e=l[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!Dt(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),Dt(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Function?Jt:a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:Gt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})},$t=t('.a-button-link {\n font-family: "Source Sans Pro", Arial, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n padding: 0 30px;\n margin: 0;\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n overflow-wrap: break-word;\n word-wrap: break-word;\n text-decoration: none;\n text-transform: uppercase;\n color: #fff;\n background-color: #00008f;\n border: solid 2px #00008f;\n border-bottom-color: #00005b;\n}\n@media (min-width: 36em) {\n .a-button-link {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n }\n}\n.a-button-link:hover, .a-button-link:active, .a-button-link:focus {\n cursor: pointer;\n text-decoration: none;\n background-color: #00005b;\n border-color: #00005b;\n}\n.a-button-link[aria-disabled=true] {\n color: #999;\n background-color: #e5e5e5;\n border-color: #e5e5e5;\n border-bottom-color: #ccc;\n pointer-events: none;\n}\n.a-button-link__flex-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n min-height: 26px;\n height: 25px;\n box-sizing: border-box;\n}\n@media (min-width: 36em) {\n .a-button-link__flex-wrapper {\n min-height: 36px;\n }\n}\n.a-button-link__icon {\n display: flex;\n margin-right: 10px;\n}\n.a-button-link__arrow {\n display: flex;\n margin-left: 10px;\n}\n\n.a-button-link--large {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n}\n@media (min-width: 36em) {\n .a-button-link--large {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n }\n}\n\n.a-button-link--large .a-button-link__flex-wrapper {\n min-height: 36px;\n}\n@media (min-width: 36em) {\n .a-button-link--large .a-button-link__flex-wrapper {\n min-height: 46px;\n }\n}\n\n.a-button-link--small .a-button-link__flex-wrapper {\n min-height: 26px;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n}\n\n.a-button-link--motion {\n z-index: 0;\n overflow: hidden;\n transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n}\n.a-button-link--motion::after {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: -1;\n display: block;\n width: 0.001px;\n height: 550px;\n content: "";\n transform: translateX(-50%) translateY(-50%) rotate(45deg);\n transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n background-color: #00005b;\n}\n.a-button-link--motion:hover, .a-button-link--motion:focus {\n background-color: #00008f;\n color: #fff;\n}\n.a-button-link--motion:hover::after, .a-button-link--motion:focus::after {\n width: 110%;\n background-color: #00005b;\n}\n\n.a-button-link--red {\n background-color: #f07662;\n border-color: #f07662;\n border-bottom-color: #ec4d33;\n}\n.a-button-link--red:hover, .a-button-link--red:active, .a-button-link--red:focus {\n background-color: #ec4d33;\n border-color: #ec4d33;\n}\n.a-button-link--red.a-button-link--motion::after {\n background-color: #ec4d33;\n}\n.a-button-link--red.a-button-link--motion:hover, .a-button-link--red.a-button-link--motion:focus {\n background-color: #f07662;\n color: #fff;\n}\n.a-button-link--red.a-button-link--motion:hover::after, .a-button-link--red.a-button-link--motion:focus::after {\n background-color: #ec4d33;\n}\n\n.a-button-link--secondary {\n background-color: transparent;\n border-bottom-color: #00008f;\n color: #00008f;\n}\n.a-button-link--secondary:hover, .a-button-link--secondary:active, .a-button-link--secondary:focus {\n color: #fff;\n}\n.a-button-link--secondary.a-button-link--motion {\n background-color: transparent;\n}\n\n.a-button-link--inverted {\n background-color: transparent;\n border-color: #fff;\n color: #fff;\n}\n.a-button-link--inverted:hover, .a-button-link--inverted:active, .a-button-link--inverted:focus {\n color: #00005b;\n background-color: #fff;\n border-color: #fff;\n}\n.a-button-link--inverted.a-button-link--motion {\n background-color: transparent;\n}\n.a-button-link--inverted.a-button-link--motion::after {\n background-color: #fff;\n}\n\n.a-button-link--inverted-blue-ocean:hover, .a-button-link--inverted-blue-ocean:active, .a-button-link--inverted-blue-ocean:focus {\n color: #4976ba;\n}\n\n.a-button-link--inverted-red-tosca:hover, .a-button-link--inverted-red-tosca:active, .a-button-link--inverted-red-tosca:focus {\n color: #914146;\n}\n\n.a-button-link--inverted-purple-logan:hover, .a-button-link--inverted-purple-logan:active, .a-button-link--inverted-purple-logan:focus {\n color: #9190ac;\n}\n\n.a-button-link--inverted-green-viridian:hover, .a-button-link--inverted-green-viridian:active, .a-button-link--inverted-green-viridian:focus {\n color: #668980;\n}\n\n.a-button-link--inverted-blue-teal:hover, .a-button-link--inverted-blue-teal:active, .a-button-link--inverted-blue-teal:focus {\n color: #027180;\n}'),Xt=t("axa-button-link {\n position: relative;\n}\naxa-button-link[disabled] {\n pointer-events: none;\n}"),Kt={},Qt=null,Zt=function(t){function r(){return j(this,r),i(this,a(r).apply(this,arguments))}return l(r,Et),s(r,[{key:"inlineStyles",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"styles",e=this.getRootNode(),n=Kt[this.tagName]||new WeakMap,r=1+(0|n.get(e));if(n.set(e,r),Kt[this.tagName]=n,1===r){this.ownerDocument!==e&&(this._rootNode=e);var o=document.createElement("style");o.textContent=this.constructor[t],(e instanceof ShadowRoot?e:document.head).appendChild(o),Qt=o}}},{key:"disconnectedCallback",value:function(){h(a(r.prototype),"disconnectedCallback",this).call(this);var t=Kt[this.tagName];if(t){var e=this._rootNode||this.ownerDocument,n=(0|t.get(e))-1;n<1?(t.delete(e),Qt&&Qt.parentNode&&Qt.parentNode.removeChild(Qt)):t.set(e,n)}}}]),r}();function te(){var t=e(['\n <axa-icon\n class="a-button-link__arrow"\n icon="arrow-right"\n ></axa-icon>\n ']);return te=function(){return t},t}function ee(){var t=e(['\n <axa-icon class="a-button-link__icon" icon="','"></axa-icon>\n ']);return ee=function(){return t},t}function ne(){var t=e(['\n <a\n class="','"\n href="','"\n target="','"\n rel="','"\n aria-disabled="','"\n @click="','"\n >\n <span class="a-button-link__flex-wrapper">\n ',"\n <slot></slot>\n ","\n </span>\n </a>\n "]);return ne=function(){return t},t}function re(){var t=e(["\n ","\n "]);return re=function(){return t},t}var oe,ie,ae="arrow-right",se=function(t){function e(){var t;return j(this,e),t=i(this,a(e).call(this)),Yt(r(t)),t}return l(e,Zt),s(e,null,[{key:"tagName",get:function(){return"axa-button-link"}},{key:"styles",get:function(){return St(re(),xt($t))}},{key:"blockMouseEventsCss",get:function(){return Xt}},{key:"properties",get:function(){return{href:{type:String},external:{type:Boolean},variant:{type:String},icon:{type:String},size:{type:String},motionOff:{type:Boolean},disabled:{type:Boolean,reflect:!0},onClick:{type:Function,attribute:!1}}}}]),s(e,[{key:"render",value:function(){var t=this.href,e=this.external,n=this.size,r=void 0===n?"":n,o=this.motionOff,i=this.disabled,a=this.variant,s=void 0===a?"":a,u=this.icon,l=void 0===u?"":u,c={"a-button-link":!0,"a-button-link--large":"large"===r,"a-button-link--small":"small"===r,"a-button-link--motion":!o&&!i,"a-button-link--secondary":"secondary"===s,"a-button-link--red":"red"===s,"a-button-link--inverted":s.includes("inverted"),"a-button-link--inverted-blue-ocean":"inverted-blue-ocean"===s,"a-button-link--inverted-red-tosca":"inverted-red-tosca"===s,"a-button-link--inverted-purple-logan":"inverted-purple-logan"===s,"a-button-link--inverted-green-viridian":"inverted-green-viridian"===s,"a-button-link--inverted-blue-teal":"inverted-blue-teal"===s};return Z(ne(),Ot(c),t,e?"_blank":"_top",e?"noreferrer noopener":"",i,this.onClick,this.showIcon?Z(ee(),l):"",this.showArrow?Z(te()):"")}},{key:"firstUpdated",value:function(){this.inlineStyles("blockMouseEventsCss")}},{key:"showIcon",get:function(){return this.icon&&this.icon!==ae}},{key:"showArrow",get:function(){return this.icon===ae}}]),e}();return oe=se.tagName,ie=se,window.customElements.get(oe)||window.customElements.define(oe,ie),se}(); |
@@ -34,3 +34,3 @@ function ___$insertStyle(css) { | ||
const isDefined = value => !(value === undefined || value === null); | ||
var isDefined = value => !(value === undefined || value === null); | ||
// (IE11 does not support new Map([iterable]), so we have to initialize the map | ||
@@ -40,12 +40,12 @@ // with .set calls for each key) | ||
const DEFAULT_VALUE_OF_TYPE = new Map(); | ||
var DEFAULT_VALUE_OF_TYPE = new Map(); | ||
[[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]].forEach((_ref) => { | ||
let [key, value] = _ref; | ||
var [key, value] = _ref; | ||
DEFAULT_VALUE_OF_TYPE.set(key, value); | ||
}); | ||
const emptyFunction = () => {}; // convert *attribute* value | ||
var emptyFunction = () => {}; // convert *attribute* value | ||
const convert = (value, type) => { | ||
var convert = (value, type) => { | ||
if (type === Number) { | ||
@@ -66,4 +66,4 @@ return parseFloat(value); | ||
const applyDefaults = ceInst => { | ||
const { | ||
var applyDefaults = ceInst => { | ||
var { | ||
constructor: { | ||
@@ -76,4 +76,4 @@ properties | ||
// extract default value and property type | ||
const propertyValue = properties[property]; | ||
const { | ||
var propertyValue = properties[property]; | ||
var { | ||
type, | ||
@@ -93,3 +93,3 @@ converter, | ||
let value = ceInst[property]; | ||
var value = ceInst[property]; | ||
@@ -146,4 +146,4 @@ if (isDefined(value)) { | ||
const crossTagReferenceCounts = {}; | ||
let styleTagNode = null; // BASE CLASS | ||
var crossTagReferenceCounts = {}; | ||
var styleTagNode = null; // BASE CLASS | ||
@@ -153,3 +153,3 @@ class InlineStyles extends LitElement { | ||
inlineStyles() { | ||
let staticProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'styles'; | ||
var staticProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'styles'; | ||
// get this node's document or ShadowRoot, to be used as map key to attach | ||
@@ -159,3 +159,3 @@ // reference-count metadata to | ||
// (https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode) | ||
const root = this.getRootNode(); // retrieve all reference counts by tag name, initializing as needed | ||
var root = this.getRootNode(); // retrieve all reference counts by tag name, initializing as needed | ||
// with WeakMap(). WeakMap (supported by IE11) acts as defense-in-depth | ||
@@ -165,5 +165,5 @@ // against memory leaks if disconnectedCallback is never called | ||
const referenceCounts = crossTagReferenceCounts[this.tagName] || new WeakMap(); // one more reference, caused by this instance (undefined | 0 === 0) | ||
var referenceCounts = crossTagReferenceCounts[this.tagName] || new WeakMap(); // one more reference, caused by this instance (undefined | 0 === 0) | ||
const referenceCount = (referenceCounts.get(root) | 0) + 1; // persist reference-count metadata | ||
var referenceCount = (referenceCounts.get(root) | 0) + 1; // persist reference-count metadata | ||
@@ -182,7 +182,7 @@ referenceCounts.set(root, referenceCount); | ||
const style = document.createElement('style'); | ||
var style = document.createElement('style'); | ||
style.textContent = this.constructor[staticProps]; // append it at the right place, *outside* of this instance's children | ||
// eslint-disable-next-line no-undef | ||
const parent = root instanceof ShadowRoot ? root : document.head; | ||
var parent = root instanceof ShadowRoot ? root : document.head; | ||
parent.appendChild(style); | ||
@@ -198,3 +198,3 @@ styleTagNode = style; | ||
const referenceCounts = crossTagReferenceCounts[this.tagName]; | ||
var referenceCounts = crossTagReferenceCounts[this.tagName]; | ||
@@ -205,4 +205,4 @@ if (!referenceCounts) { | ||
const root = this._rootNode || this.ownerDocument; | ||
const referenceCount = (referenceCounts.get(root) | 0) - 1; // remove or update reference-count metadata | ||
var root = this._rootNode || this.ownerDocument; | ||
var referenceCount = (referenceCounts.get(root) | 0) - 1; // remove or update reference-count metadata | ||
@@ -223,3 +223,3 @@ if (referenceCount < 1) { | ||
function _templateObject4() { | ||
const data = _taggedTemplateLiteral(["\n <axa-icon\n class=\"a-button-link__arrow\"\n icon=\"arrow-right\"\n ></axa-icon>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <axa-icon\n class=\"a-button-link__arrow\"\n icon=\"arrow-right\"\n ></axa-icon>\n "]); | ||
@@ -234,3 +234,3 @@ _templateObject4 = function _templateObject4() { | ||
function _templateObject3() { | ||
const data = _taggedTemplateLiteral(["\n <axa-icon class=\"a-button-link__icon\" icon=\"", "\"></axa-icon>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <axa-icon class=\"a-button-link__icon\" icon=\"", "\"></axa-icon>\n "]); | ||
@@ -245,3 +245,3 @@ _templateObject3 = function _templateObject3() { | ||
function _templateObject2() { | ||
const data = _taggedTemplateLiteral(["\n <a\n class=\"", "\"\n href=\"", "\"\n target=\"", "\"\n rel=\"", "\"\n aria-disabled=\"", "\"\n @click=\"", "\"\n >\n <span class=\"a-button-link__flex-wrapper\">\n ", "\n <slot></slot>\n ", "\n </span>\n </a>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <a\n class=\"", "\"\n href=\"", "\"\n target=\"", "\"\n rel=\"", "\"\n aria-disabled=\"", "\"\n @click=\"", "\"\n >\n <span class=\"a-button-link__flex-wrapper\">\n ", "\n <slot></slot>\n ", "\n </span>\n </a>\n "]); | ||
@@ -256,3 +256,3 @@ _templateObject2 = function _templateObject2() { | ||
function _templateObject() { | ||
const data = _taggedTemplateLiteral(["\n ", "\n "]); | ||
var data = _taggedTemplateLiteral(["\n ", "\n "]); | ||
@@ -265,3 +265,3 @@ _templateObject = function _templateObject() { | ||
} | ||
const ARROW_RIGHT = 'arrow-right'; | ||
var ARROW_RIGHT = 'arrow-right'; | ||
@@ -329,3 +329,3 @@ class AXAButtonLink extends InlineStyles { | ||
render() { | ||
const { | ||
var { | ||
href, | ||
@@ -339,3 +339,3 @@ external, | ||
} = this; | ||
const classes = { | ||
var classes = { | ||
'a-button-link': true, | ||
@@ -342,0 +342,0 @@ 'a-button-link--large': size === 'large', |
@@ -37,16 +37,31 @@ function ___$insertStyle(css) { | ||
function _objectSpread(target) { | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
keys.push.apply(keys, symbols); | ||
} | ||
return keys; | ||
} | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
if (i % 2) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else if (Object.getOwnPropertyDescriptors) { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
@@ -105,5 +120,5 @@ | ||
const isDefined = value => !(value === undefined || value === null); | ||
var isDefined = value => !(value === undefined || value === null); | ||
const pascalCase = hyphenatedName => hyphenatedName.split('-').map(part => part.charAt(0).toUpperCase() + part.slice(1)).join(''); // generic defaults (will be applied in the absence of explicit 'defaultValue') | ||
var pascalCase = hyphenatedName => hyphenatedName.split('-').map(part => part.charAt(0).toUpperCase() + part.slice(1)).join(''); // generic defaults (will be applied in the absence of explicit 'defaultValue') | ||
// (IE11 does not support new Map([iterable]), so we have to initialize the map | ||
@@ -113,12 +128,12 @@ // with .set calls for each key) | ||
const DEFAULT_VALUE_OF_TYPE = new Map(); | ||
var DEFAULT_VALUE_OF_TYPE = new Map(); | ||
[[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]].forEach((_ref) => { | ||
let [key, value] = _ref; | ||
var [key, value] = _ref; | ||
DEFAULT_VALUE_OF_TYPE.set(key, value); | ||
}); | ||
const emptyFunction = () => {}; // convert *attribute* value | ||
var emptyFunction = () => {}; // convert *attribute* value | ||
const convert = (value, type) => { | ||
var convert = (value, type) => { | ||
if (type === Number) { | ||
@@ -139,4 +154,4 @@ return parseFloat(value); | ||
const applyDefaults = ceInst => { | ||
const { | ||
var applyDefaults = ceInst => { | ||
var { | ||
constructor: { | ||
@@ -149,4 +164,4 @@ properties | ||
// extract default value and property type | ||
const propertyValue = properties[property]; | ||
const { | ||
var propertyValue = properties[property]; | ||
var { | ||
type, | ||
@@ -166,3 +181,3 @@ converter, | ||
let value = ceInst[property]; | ||
var value = ceInst[property]; | ||
@@ -201,18 +216,18 @@ if (isDefined(value)) { | ||
const distributeProperties = (properties, componentClass) => { | ||
var distributeProperties = (properties, componentClass) => { | ||
// initialize | ||
const attrs = {}; | ||
const props = {}; | ||
let map; // iterate over all properties | ||
var attrs = {}; | ||
var props = {}; | ||
var map; // iterate over all properties | ||
Object.keys(properties).forEach(name => { | ||
let value = properties[name]; // classify property by type to select correct map object | ||
var value = properties[name]; // classify property by type to select correct map object | ||
// (note that unregistered properties are classified as attr(ibute)s via their undefined .type) | ||
let type; | ||
const declaredProperty = componentClass.properties[name] || {}; | ||
const { | ||
var type; | ||
var declaredProperty = componentClass.properties[name] || {}; | ||
var { | ||
type: declaredType | ||
} = declaredProperty; | ||
const looksLikeAnEventHandler = name.indexOf('on') === 0 && // starts with on... | ||
var looksLikeAnEventHandler = name.indexOf('on') === 0 && // starts with on... | ||
name.charAt(2) === name.charAt(2).toUpperCase(); // continues with uppercase-letter, i.e. camelCase | ||
@@ -258,9 +273,9 @@ | ||
var withReact = ((createElement, componentClass) => { | ||
const { | ||
var { | ||
tagName | ||
} = componentClass; | ||
const displayName = pascalCase(tagName); | ||
var displayName = pascalCase(tagName); | ||
const reactStatelessComponent = (_ref2) => { | ||
let { | ||
var reactStatelessComponent = (_ref2) => { | ||
var { | ||
children | ||
@@ -270,7 +285,7 @@ } = _ref2, | ||
const { | ||
var { | ||
attrs, | ||
props | ||
} = distributeProperties(properties, componentClass); | ||
return val(createElement)(tagName, _objectSpread({ | ||
return val(createElement)(tagName, _objectSpread2({ | ||
isReact: true, | ||
@@ -304,4 +319,4 @@ attrs | ||
const crossTagReferenceCounts = {}; | ||
let styleTagNode = null; // BASE CLASS | ||
var crossTagReferenceCounts = {}; | ||
var styleTagNode = null; // BASE CLASS | ||
@@ -311,3 +326,3 @@ class InlineStyles extends LitElement { | ||
inlineStyles() { | ||
let staticProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'styles'; | ||
var staticProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'styles'; | ||
// get this node's document or ShadowRoot, to be used as map key to attach | ||
@@ -317,3 +332,3 @@ // reference-count metadata to | ||
// (https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode) | ||
const root = this.getRootNode(); // retrieve all reference counts by tag name, initializing as needed | ||
var root = this.getRootNode(); // retrieve all reference counts by tag name, initializing as needed | ||
// with WeakMap(). WeakMap (supported by IE11) acts as defense-in-depth | ||
@@ -323,5 +338,5 @@ // against memory leaks if disconnectedCallback is never called | ||
const referenceCounts = crossTagReferenceCounts[this.tagName] || new WeakMap(); // one more reference, caused by this instance (undefined | 0 === 0) | ||
var referenceCounts = crossTagReferenceCounts[this.tagName] || new WeakMap(); // one more reference, caused by this instance (undefined | 0 === 0) | ||
const referenceCount = (referenceCounts.get(root) | 0) + 1; // persist reference-count metadata | ||
var referenceCount = (referenceCounts.get(root) | 0) + 1; // persist reference-count metadata | ||
@@ -340,7 +355,7 @@ referenceCounts.set(root, referenceCount); | ||
const style = document.createElement('style'); | ||
var style = document.createElement('style'); | ||
style.textContent = this.constructor[staticProps]; // append it at the right place, *outside* of this instance's children | ||
// eslint-disable-next-line no-undef | ||
const parent = root instanceof ShadowRoot ? root : document.head; | ||
var parent = root instanceof ShadowRoot ? root : document.head; | ||
parent.appendChild(style); | ||
@@ -356,3 +371,3 @@ styleTagNode = style; | ||
const referenceCounts = crossTagReferenceCounts[this.tagName]; | ||
var referenceCounts = crossTagReferenceCounts[this.tagName]; | ||
@@ -363,4 +378,4 @@ if (!referenceCounts) { | ||
const root = this._rootNode || this.ownerDocument; | ||
const referenceCount = (referenceCounts.get(root) | 0) - 1; // remove or update reference-count metadata | ||
var root = this._rootNode || this.ownerDocument; | ||
var referenceCount = (referenceCounts.get(root) | 0) - 1; // remove or update reference-count metadata | ||
@@ -381,3 +396,3 @@ if (referenceCount < 1) { | ||
function _templateObject4() { | ||
const data = _taggedTemplateLiteral(["\n <axa-icon\n class=\"a-button-link__arrow\"\n icon=\"arrow-right\"\n ></axa-icon>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <axa-icon\n class=\"a-button-link__arrow\"\n icon=\"arrow-right\"\n ></axa-icon>\n "]); | ||
@@ -392,3 +407,3 @@ _templateObject4 = function _templateObject4() { | ||
function _templateObject3() { | ||
const data = _taggedTemplateLiteral(["\n <axa-icon class=\"a-button-link__icon\" icon=\"", "\"></axa-icon>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <axa-icon class=\"a-button-link__icon\" icon=\"", "\"></axa-icon>\n "]); | ||
@@ -403,3 +418,3 @@ _templateObject3 = function _templateObject3() { | ||
function _templateObject2() { | ||
const data = _taggedTemplateLiteral(["\n <a\n class=\"", "\"\n href=\"", "\"\n target=\"", "\"\n rel=\"", "\"\n aria-disabled=\"", "\"\n @click=\"", "\"\n >\n <span class=\"a-button-link__flex-wrapper\">\n ", "\n <slot></slot>\n ", "\n </span>\n </a>\n "]); | ||
var data = _taggedTemplateLiteral(["\n <a\n class=\"", "\"\n href=\"", "\"\n target=\"", "\"\n rel=\"", "\"\n aria-disabled=\"", "\"\n @click=\"", "\"\n >\n <span class=\"a-button-link__flex-wrapper\">\n ", "\n <slot></slot>\n ", "\n </span>\n </a>\n "]); | ||
@@ -414,3 +429,3 @@ _templateObject2 = function _templateObject2() { | ||
function _templateObject() { | ||
const data = _taggedTemplateLiteral(["\n ", "\n "]); | ||
var data = _taggedTemplateLiteral(["\n ", "\n "]); | ||
@@ -423,3 +438,3 @@ _templateObject = function _templateObject() { | ||
} | ||
const ARROW_RIGHT = 'arrow-right'; | ||
var ARROW_RIGHT = 'arrow-right'; | ||
@@ -487,3 +502,3 @@ class AXAButtonLink extends InlineStyles { | ||
render() { | ||
const { | ||
var { | ||
href, | ||
@@ -497,3 +512,3 @@ external, | ||
} = this; | ||
const classes = { | ||
var classes = { | ||
'a-button-link': true, | ||
@@ -500,0 +515,0 @@ 'a-button-link--large': size === 'large', |
{ | ||
"name": "@axa-ch/button-link", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "The button-link component for the AXA Pattern Library", | ||
@@ -37,4 +37,4 @@ "author": "Pattern Warriors", | ||
}, | ||
"gitHead": "f26094fa5a3033c6b99f99bcaf1b079ee1102a2a", | ||
"gitHead": "8fcfa93d3208cac8dd1466c0aca5a1eca654f7ab", | ||
"main": "lib/index.js" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
99542
958
0