New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axa-ch/button

Package Overview
Dependencies
Maintainers
36
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axa-ch/button - npm Package Compare versions

Comparing version 3.0.1 to 4.0.0

CHANGELOG.md

2

dist/index.js

@@ -1,1 +0,1 @@

var window=function(){"use strict";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 t(t,e){return t(e={exports:{}},e.exports),e.exports}var A=t(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=t(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=t(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 c=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 l=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};var h=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t},f=t(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=h(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}),n=new WeakMap,p=function(t){return"function"==typeof t&&n.has(t)},d=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),"}}"),x="\x3c!--".concat(j,"--\x3e"),V=new RegExp("".concat(j,"|").concat(x)),R="$lit$",S=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,c=e.strings,l=e.values.length;u<l;){var h=i.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var f=h.attributes,p=f.length,d=0,v=0;v<p;v++)H(f[v].name,R)&&d++;for(;0<d--;){var y=c[u],g=F.exec(y)[2],m=g.toLowerCase()+R,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 x=h.parentNode,S=_.split(V),k=S.length-1,P=0;P<k;P++){var C=void 0,E=S[P];if(""===E)C=B();else{var N=F.exec(E);null!==N&&H(N[2],R)&&(E=E.slice(0,N.index)+N[1]+N[2].slice(0,-R.length)+N[3]),C=document.createTextNode(E)}x.insertBefore(C,h),this.parts.push({type:"node",index:++s})}""===S[k]?(x.insertBefore(B(),h),r.push(h)):h.data=S[k],u+=k}}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)}},H=function(t,e){var n=t.length-e.length;return 0<=n&&t.slice(n)===e},k=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,c=!1,l=void 0;try{for(var h,f=this.__parts[Symbol.iterator]();!(u=(h=f.next()).done);u=!0){var p=h.value;void 0!==p&&p.commit()}}catch(t){c=!0,l=t}finally{try{u||null==f.return||f.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){for(var t,e=d?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],k(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 c;(c=this.__parts).push.apply(c,_(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return d&&(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:x):o.substr(0,a.index)+a[1]+a[2]+R+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 c(r,C),s(r,[{key:"getHTML",value:function(){return"<svg>".concat(f(a(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=f(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 c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var h=c.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.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,p(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;p(this.value);){var t=this.value;this.value=y,t(this)}this.value!==y&&this.committer.commit()}}]),e}(),M=function(){function l(t){L(this,l),this.value=void 0,this.__pendingValue=void 0,this.options=t}return s(l,[{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(;p(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 c=s.value;void 0===(e=n[r])&&(e=new l(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(c),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)}}]),l}(),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(;p(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 c(o,T),s(o,[{key:"_createPart",value:function(){return new q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:f(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 c(e,z),e}(),W=!1;try{var G={get capture(){return!(W=!0)}};window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch(t){}var J=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(;p(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=D(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}(),D=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 J(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 X(t){var e=$.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},$.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 S(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var $=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,c=[],l=null;o.nextNode();){s++;var h=o.currentNode;for(h.previousSibling===l&&(l=null),e.has(h)&&(c.push(h),null===l&&(l=h)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[i=et(r,i)]}c.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(k(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=$.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 c=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,c.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n);var l=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)t.insertBefore(l.cloneNode(!0),t.firstChild);else{c.insertBefore(a,c.firstChild);var h=new Set;h.add(a),Z(e,h)}}else window.ShadyCSS.prepareTemplateStyles(e.element,n)},st=t(function(t){var e=function(i){var u,t=Object.prototype,c=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,c=Object.create(o.prototype),l=new E(r||[]);return c._invoke=(i=t,a=n,s=l,u=f,function(t,e){if(u===d)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=k(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=d;var o=h(i,a,s);if("normal"===o.type){if(u=s.done?v:p,o.arg===y)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(u=v,s.method="throw",s.arg=o.arg)}}),c}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",p="suspendedYield",d="executing",v="completed",y={};function g(){}function s(){}function l(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==t&&c.call(w,o)&&(m=w);var _=l.prototype=g.prototype=Object.create(m);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(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)&&c.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 k(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,k(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(c.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=l,l.constructor=s,l[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,l):(t.__proto__=l,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(_),t},i.awrap=function(t){return{__await:t}},x(S.prototype),S.prototype[n]=function(){return this},i.AsyncIterator=S,i.async=function(t,e,n,r){var o=new S(a(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},x(_),_[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)&&c.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=c.call(o,"catchLoc"),s=c.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&&c.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 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){ut(r,e,n,o,i,"next",t)}function i(t){ut(r,e,n,o,i,"throw",t)}o(void 0)})}};var lt=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},ht=t(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=t(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!lt(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 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}},dt=function(t,e){return e!==t&&(e==e||t==t)},vt={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:dt},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 c(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=ct(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]:dt)(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}(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)},xt=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 St=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)},kt=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return c(r,gt),s(r,[{key:"initialize",value:function(){f(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(){f(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;f(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(){f(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)?St(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}();kt.finalized=!0,kt.render=function(t,e,n){var r,o,i,a,s,u=n.scopeName,c=K.has(e),l=rt&&11===e.nodeType&&!!e.host&&t instanceof C,h=l&&!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=$.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},$.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 S(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:X},i))),a.appendInto(o)),a.setValue(r),a.commit(),h){var p=K.get(f);K.delete(f),p.value instanceof P&&at(f,p.value.template,u),v(e,e.firstChild),e.appendChild(f),K.set(e,p)}!c&&l&&window.ShadyCSS.styleElement(e.host)};var Pt,Ct,Et=new WeakMap,Nt=(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;Et.has(t)||(n.className=e.strings.join(" "));var r=n.classList,o=Et.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)}Et.set(t,u)}},function(){var t=Pt.apply(void 0,arguments);return n.set(t,!0),t}),Ot=t(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 p(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 c});var r=window.customElements,s=new Map,d=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,c,l,n=t||{},r=n.attrs,o=n.events,i=n.ref,a=n.key,h=n.dangerouslySetInnerHTML,f=p(n,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(e={attrs:r,events:o,props:f,ref:i}).attrs,u=e.events,c=e.props,l=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=d.get(e)||{};d.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=c,Object.keys(n||{}).forEach(function(t){e[t]=n[t]})),i=t,(a=l)&&a(i)}),key:a,dangerouslySetInnerHTML:h}}function i(t,e){var n=e.ref,r=(p(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 c=a()},function(t,e,n){t.exports=n(0)}])},t.exports=n()});(Ct=Ot)&&Ct.__esModule&&Object.prototype.hasOwnProperty.call(Ct,"default")&&Ct.default;Ot.val;var At=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}"),Tt=function(t){return!(null==t)},zt=new Map([[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]]),Mt=function(u){var c=u.constructor.properties;Object.keys(c).forEach(function(t){var e=c[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){if(!u.isReact){var i=u[t];if(Tt(i))return;if(i=n===Boolean?u.hasAttribute(t):u.getAttribute(t),Tt(i))return void(u[t]=(a=i,(s=n)===Number?parseFloat(a):s===Array||s===Object?JSON.parse(a):a))}var a,s;u[t]="defaultValue"in e?o:zt.get(n)}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})};function Lt(){var t,e,n=(t=["\n ","\n "],e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));return Lt=function(){return n},n}var jt,Vt,Rt=function(t){function n(){var t;return L(this,n),t=i(this,a(n).call(this)),Mt(r(t)),t}return c(n,kt),s(n,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return xt(Lt(),_t(At))}},{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}();jt=Rt.tagName,Vt=Rt,window.customElements.get(jt)||window.customElements.define(jt,Vt);var Ht=function(t){return!(null==t)},Bt=new Map([[String,""],[Boolean,!1],[Object,{}],[Array,[]],[Number,0],[Function,function(){}]]),Ft=function(u){var c=u.constructor.properties;Object.keys(c).forEach(function(t){var e=c[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){if(!u.isReact){var i=u[t];if(Ht(i))return;if(i=n===Boolean?u.hasAttribute(t):u.getAttribute(t),Ht(i))return void(u[t]=(a=i,(s=n)===Number?parseFloat(a):s===Array||s===Object?JSON.parse(a):a))}var a,s;u[t]="defaultValue"in e?o:Bt.get(n)}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})},Ut=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}}('.a-button {\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 box-sizing: border-box;\n padding: 0 30px;\n margin: 0;\n min-height: 30px;\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n overflow-wrap: break-word;\n word-wrap: break-word;\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 {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n min-height: 40px;\n }\n}\n.a-button:hover, .a-button:active, .a-button:focus {\n cursor: pointer;\n text-decoration: none;\n background-color: #00005b;\n border-color: #00005b;\n}\n.a-button:disabled {\n color: #999;\n background-color: #e5e5e5;\n border-color: #e5e5e5;\n border-bottom-color: #ccc;\n pointer-events: none;\n}\n.a-button__flex-wrapper {\n display: -webkit-box;\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n}\n.a-button__icon {\n display: -webkit-box;\n display: flex;\n margin-right: 10px;\n}\n.a-button__arrow {\n display: -webkit-box;\n display: flex;\n margin-left: 10px;\n}\n\n.a-button--large {\n min-height: 40px;\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n}\n@media (min-width: 36em) {\n .a-button--large {\n min-height: 50px;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n }\n}\n\n.a-button--small {\n min-height: 30px;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n}\n\n.a-button--motion {\n z-index: 0;\n overflow: hidden;\n -webkit-transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n}\n.a-button--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 -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);\n transform: translateX(-50%) translateY(-50%) rotate(45deg);\n -webkit-transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n background-color: #00005b;\n}\n.a-button--motion:hover, .a-button--motion:focus {\n background-color: #00008f;\n color: #fff;\n}\n.a-button--motion:hover::after, .a-button--motion:focus::after {\n width: 110%;\n background-color: #00005b;\n}\n\n.a-button--red {\n background-color: #f07662;\n border-color: #f07662;\n border-bottom-color: #ec4d33;\n}\n.a-button--red:hover, .a-button--red:active, .a-button--red:focus {\n background-color: #ec4d33;\n border-color: #ec4d33;\n}\n.a-button--red.a-button--motion::after {\n background-color: #ec4d33;\n}\n.a-button--red.a-button--motion:hover, .a-button--red.a-button--motion:focus {\n background-color: #f07662;\n color: #fff;\n}\n.a-button--red.a-button--motion:hover::after, .a-button--red.a-button--motion:focus::after {\n background-color: #ec4d33;\n}\n\n.a-button--secondary {\n background-color: transparent;\n border-bottom-color: #00008f;\n color: #00008f;\n}\n.a-button--secondary:hover, .a-button--secondary:active, .a-button--secondary:focus {\n color: #fff;\n}\n.a-button--secondary.a-button--motion {\n background-color: transparent;\n}\n\n.a-button--inverted {\n background-color: transparent;\n border-color: #fff;\n color: #fff;\n}\n.a-button--inverted:hover, .a-button--inverted:active, .a-button--inverted:focus {\n background-color: #fff;\n border-color: #fff;\n color: #00005b;\n}\n.a-button--inverted.a-button--motion {\n background-color: transparent;\n}\n.a-button--inverted.a-button--motion::after {\n background-color: #fff;\n}\n\n.a-button--inverted-blue-ocean:hover, .a-button--inverted-blue-ocean:active, .a-button--inverted-blue-ocean:focus {\n color: #4976ba;\n}\n\n.a-button--inverted-red-tosca:hover, .a-button--inverted-red-tosca:active, .a-button--inverted-red-tosca:focus {\n color: #914146;\n}\n\n.a-button--inverted-purple-logan:hover, .a-button--inverted-purple-logan:active, .a-button--inverted-purple-logan:focus {\n color: #9190ac;\n}\n\n.a-button--inverted-green-viridian:hover, .a-button--inverted-green-viridian:active, .a-button--inverted-green-viridian:focus {\n color: #668980;\n}\n\n.a-button--inverted-blue-teal:hover, .a-button--inverted-blue-teal:active, .a-button--inverted-blue-teal:focus {\n color: #027180;\n}');function It(){var t=e(['\n <axa-icon class="a-button__arrow" icon="arrow-right"></axa-icon>\n ']);return It=function(){return t},t}function qt(){var t=e(['\n <axa-icon class="a-button__icon" icon="','"></axa-icon>\n ']);return qt=function(){return t},t}function Wt(){var t=e(['\n <button\n type="','"\n class="','"\n ?disabled="','"\n @click="','"\n >\n <span class="a-button__flex-wrapper">\n ',"\n <slot></slot>\n ","\n </span>\n </button>\n "]);return Wt=function(){return t},t}function Gt(){var t=e(["\n ","\n "]);return Gt=function(){return t},t}var Jt,Dt,Yt="arrow-right",Xt=-1<ShadowRoot.toString().indexOf("native code"),$t=function(t){function e(){var n;return L(this,e),n=i(this,a(e).call(this)),l(r(n),"handleClick",function(t){var e;((e=t).screenX||e.screenY||e.clientX||e.clientY)&&Xt&&n.isTypeSubmitOrReset&&(t.stopPropagation(),n.fakeButton.click())}),Ft(r(n)),n}return c(e,kt),s(e,null,[{key:"tagName",get:function(){return"axa-button"}},{key:"styles",get:function(){return xt(Gt(),_t(Ut))}},{key:"properties",get:function(){return{type:{type:String,reflect:!0,defaultValue:"button"},variant:{type:String},icon:{type:String},size:{type:String},motionOff:{type:Boolean},disabled:{type:Boolean,reflect:!0}}}}]),s(e,[{key:"firstUpdated",value:function(){var e=this,t=this.style;if(Xt&&this.isTypeSubmitOrReset){var n=document.createElement("button");n.type=this.type,n.style.display="none",this.appendChild(n),this.fakeButton=n}t.appearance="none",t.mozAppearance="none",t.webkitAppearance="none",t.msAppearance="none",t.oAppearance="none",this.onclick=function(t){e.handleClick(t)}}},{key:"render",value:function(){var t=this.type,e=this.motionOff,n=this.disabled,r=this.variant,o=void 0===r?"":r,i=this.icon,a=void 0===i?"":i,s=this.size,u=void 0===s?"":s,c={"a-button":!0,"a-button--large":"large"===u,"a-button--small":"small"===u,"a-button--motion":!e,"a-button--secondary":"secondary"===o,"a-button--red":"red"===o,"a-button--inverted":o.includes("inverted"),"a-button--inverted-blue-ocean":"inverted-blue-ocean"===o,"a-button--inverted-red-tosca":"inverted-red-tosca"===o,"a-button--inverted-purple-logan":"inverted-purple-logan"===o,"a-button--inverted-green-viridian":"inverted-green-viridian"===o,"a-button--inverted-blue-teal":"inverted-blue-teal"===o};return Q(Wt(),t,Nt(c),n,this.handleClick,this.showIcon?Q(qt(),a):"",this.showArrow?Q(It()):"")}},{key:"isTypeSubmitOrReset",get:function(){return"submit"===this.type||"reset"===this.type}},{key:"showIcon",get:function(){return this.icon&&this.icon!==Yt}},{key:"showArrow",get:function(){return this.icon===Yt}}]),e}();return Jt=$t.tagName,Dt=$t,window.customElements.get(Jt)||window.customElements.define(Jt,Dt),$t}();
var window=function(){"use strict";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 t(t,e){return t(e={exports:{}},e.exports),e.exports}var A=t(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=t(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=t(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 c=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 l=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};var h=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t},f=t(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=h(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}),n=new WeakMap,p=function(t){return"function"==typeof t&&n.has(t)},d=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()},V="{{lit-".concat(String(Math.random()).slice(2),"}}"),x="\x3c!--".concat(V,"--\x3e"),j=new RegExp("".concat(V,"|").concat(x)),R="$lit$",S=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,c=e.strings,l=e.values.length;u<l;){var h=i.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var f=h.attributes,p=f.length,d=0,v=0;v<p;v++)H(f[v].name,R)&&d++;for(;0<d--;){var y=c[u],g=F.exec(y)[2],m=g.toLowerCase()+R,b=h.getAttribute(m);h.removeAttribute(m);var w=b.split(j);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(V)){for(var x=h.parentNode,S=_.split(j),k=S.length-1,P=0;P<k;P++){var E=void 0,C=S[P];if(""===C)E=B();else{var N=F.exec(C);null!==N&&H(N[2],R)&&(C=C.slice(0,N.index)+N[1]+N[2].slice(0,-R.length)+N[3]),E=document.createTextNode(C)}x.insertBefore(E,h),this.parts.push({type:"node",index:++s})}""===S[k]?(x.insertBefore(B(),h),r.push(h)):h.data=S[k],u+=k}}else if(8===h.nodeType)if(h.data===V){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(V,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)}},H=function(t,e){var n=t.length-e.length;return 0<=n&&t.slice(n)===e},k=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,c=!1,l=void 0;try{for(var h,f=this.__parts[Symbol.iterator]();!(u=(h=f.next()).done);u=!0){var p=h.value;void 0!==p&&p.commit()}}catch(t){c=!0,l=t}finally{try{u||null==f.return||f.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){for(var t,e=d?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],k(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 c;(c=this.__parts).push.apply(c,_(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return d&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),r}(),E=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?V:x):o.substr(0,a.index)+a[1]+a[2]+R+a[3]+V}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),o}(),C=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return c(r,E),s(r,[{key:"getHTML",value:function(){return"<svg>".concat(f(a(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=f(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 c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var h=c.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.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,p(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;p(this.value);){var t=this.value;this.value=y,t(this)}this.value!==y&&this.committer.commit()}}]),e}(),M=function(){function l(t){L(this,l),this.value=void 0,this.__pendingValue=void 0,this.options=t}return s(l,[{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(;p(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 E?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 c=s.value;void 0===(e=n[r])&&(e=new l(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(c),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)}}]),l}(),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(;p(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 c(o,T),s(o,[{key:"_createPart",value:function(){return new q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:f(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 c(e,z),e}(),W=!1;try{var G={get capture(){return!(W=!0)}};window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch(t){}var J=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(;p(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=D(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}(),D=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 J(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 X(t){var e=$.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},$.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(V);return void 0===(n=e.keyString.get(r))&&(n=new S(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var $=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 E(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,c=[],l=null;o.nextNode();){s++;var h=o.currentNode;for(h.previousSibling===l&&(l=null),e.has(h)&&(c.push(h),null===l&&(l=h)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[i=et(r,i)]}c.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(k(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=$.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 c=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,c.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n);var l=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)t.insertBefore(l.cloneNode(!0),t.firstChild);else{c.insertBefore(a,c.firstChild);var h=new Set;h.add(a),Z(e,h)}}else window.ShadyCSS.prepareTemplateStyles(e.element,n)},st=t(function(t){var e=function(i){var u,t=Object.prototype,c=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,c=Object.create(o.prototype),l=new C(r||[]);return c._invoke=(i=t,a=n,s=l,u=f,function(t,e){if(u===d)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=k(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=d;var o=h(i,a,s);if("normal"===o.type){if(u=s.done?v:p,o.arg===y)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(u=v,s.method="throw",s.arg=o.arg)}}),c}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",p="suspendedYield",d="executing",v="completed",y={};function g(){}function s(){}function l(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==t&&c.call(w,o)&&(m=w);var _=l.prototype=g.prototype=Object.create(m);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(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)&&c.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 k(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,k(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(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(c.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=l,l.constructor=s,l[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,l):(t.__proto__=l,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(_),t},i.awrap=function(t){return{__await:t}},x(S.prototype),S.prototype[n]=function(){return this},i.AsyncIterator=S,i.async=function(t,e,n,r){var o=new S(a(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},x(_),_[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,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&c.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=c.call(o,"catchLoc"),s=c.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&&c.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 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 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){ut(r,e,n,o,i,"next",t)}function i(t){ut(r,e,n,o,i,"throw",t)}o(void 0)})}};var lt=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},ht=t(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=t(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!lt(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 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}},dt=function(t,e){return e!==t&&(e==e||t==t)},vt={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:dt},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 c(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=ct(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]:dt)(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}(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)},xt=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 St=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)},kt=function(t){function r(){return L(this,r),i(this,a(r).apply(this,arguments))}return c(r,gt),s(r,[{key:"initialize",value:function(){f(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(){f(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;f(a(r.prototype),"update",this).call(this,t);var e=this.render();e instanceof E&&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(){f(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)?St(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}();kt.finalized=!0,kt.render=function(t,e,n){var r,o,i,a,s,u=n.scopeName,c=K.has(e),l=rt&&11===e.nodeType&&!!e.host&&t instanceof E,h=l&&!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=$.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},$.set(e,n));var r=n.stringsArray.get(t.strings);if(void 0!==r)return r;var o=t.strings.join(V);if(void 0===(r=n.keyString.get(o))){var i=t.getTemplateElement();rt&&window.ShadyCSS.prepareTemplateDom(i,s),r=new S(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:X},i))),a.appendInto(o)),a.setValue(r),a.commit(),h){var p=K.get(f);K.delete(f),p.value instanceof P&&at(f,p.value.template,u),v(e,e.firstChild),e.appendChild(f),K.set(e,p)}!c&&l&&window.ShadyCSS.styleElement(e.host)};var Pt,Et=new WeakMap,Ct=(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;Et.has(t)||(n.className=e.strings.join(" "));var r=n.classList,o=Et.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)}Et.set(t,u)}},function(){var t=Pt.apply(void 0,arguments);return n.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=t(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 p(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 c});var r=window.customElements,s=new Map,d=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,c,l,n=t||{},r=n.attrs,o=n.events,i=n.ref,a=n.key,h=n.dangerouslySetInnerHTML,f=p(n,["attrs","events","ref","key","dangerouslySetInnerHTML"]);return{ref:(s=(e={attrs:r,events:o,props:f,ref:i}).attrs,u=e.events,c=e.props,l=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=d.get(e)||{};d.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=c,Object.keys(n||{}).forEach(function(t){e[t]=n[t]})),i=t,(a=l)&&a(i)}),key:a,dangerouslySetInnerHTML:h}}function i(t,e){var n=e.ref,r=(p(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 c=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}"),Vt=function(t){return!(null==t)},jt=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];jt.set(n,r)});var Rt=function(u){var c=u.constructor.properties;Object.keys(c).forEach(function(t){var e=c[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!Vt(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),Vt(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:jt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})};function Ht(){var t,e,n=(t=["\n ","\n "],e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));return Ht=function(){return n},n}var Bt,Ft,Ut=function(t){function n(){var t;return L(this,n),t=i(this,a(n).call(this)),Rt(r(t)),t}return c(n,kt),s(n,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"styles",get:function(){return xt(Ht(),_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 C(t,n,"svg",Y)}([this._loadedSvg])}}]),n}();Bt=Ut.tagName,Ft=Ut,window.customElements.get(Bt)||window.customElements.define(Bt,Ft);var It=function(t){return!(null==t)},qt=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];qt.set(n,r)});var Wt=function(u){var c=u.constructor.properties;Object.keys(c).forEach(function(t){var e=c[t],n=e.type,r=e.converter,o=e.defaultValue;if(n){var i,a,s=u[t];if(!It(s))if(s=n===Boolean?u.hasAttribute(t):u.getAttribute(t),It(s))u[t]=(i=s,(a=n)===Number?parseFloat(i):a===Array||a===Object?JSON.parse(i):i);else void 0===o&&"defaultValue"in e||(u[t]="defaultValue"in e?o:qt.get(n))}else if(!r)throw new Error("<".concat(u.nodeName,'> property "').concat(t,'" is missing a type!'))})},Gt=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}}('.a-button {\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 box-sizing: border-box;\n padding: 0 30px;\n margin: 0;\n min-height: 30px;\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n overflow-wrap: break-word;\n word-wrap: break-word;\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 {\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n min-height: 40px;\n }\n}\n.a-button:hover, .a-button:active, .a-button:focus {\n cursor: pointer;\n text-decoration: none;\n background-color: #00005b;\n border-color: #00005b;\n}\n.a-button:disabled {\n color: #999;\n background-color: #e5e5e5;\n border-color: #e5e5e5;\n border-bottom-color: #ccc;\n pointer-events: none;\n}\n.a-button__flex-wrapper {\n display: -webkit-box;\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n}\n.a-button__icon {\n display: -webkit-box;\n display: flex;\n margin-right: 10px;\n}\n.a-button__arrow {\n display: -webkit-box;\n display: flex;\n margin-left: 10px;\n}\n\n.a-button--large {\n min-height: 40px;\n font-size: 14px;\n line-height: 17px;\n letter-spacing: 0.02em;\n}\n@media (min-width: 36em) {\n .a-button--large {\n min-height: 50px;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n }\n}\n\n.a-button--small {\n min-height: 30px;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0.02em;\n}\n\n.a-button--motion {\n z-index: 0;\n overflow: hidden;\n -webkit-transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n}\n.a-button--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 -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);\n transform: translateX(-50%) translateY(-50%) rotate(45deg);\n -webkit-transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n transition: width 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;\n background-color: #00005b;\n}\n.a-button--motion:hover, .a-button--motion:focus {\n background-color: #00008f;\n color: #fff;\n}\n.a-button--motion:hover::after, .a-button--motion:focus::after {\n width: 110%;\n background-color: #00005b;\n}\n\n.a-button--red {\n background-color: #f07662;\n border-color: #f07662;\n border-bottom-color: #ec4d33;\n}\n.a-button--red:hover, .a-button--red:active, .a-button--red:focus {\n background-color: #ec4d33;\n border-color: #ec4d33;\n}\n.a-button--red.a-button--motion::after {\n background-color: #ec4d33;\n}\n.a-button--red.a-button--motion:hover, .a-button--red.a-button--motion:focus {\n background-color: #f07662;\n color: #fff;\n}\n.a-button--red.a-button--motion:hover::after, .a-button--red.a-button--motion:focus::after {\n background-color: #ec4d33;\n}\n\n.a-button--secondary {\n background-color: transparent;\n border-bottom-color: #00008f;\n color: #00008f;\n}\n.a-button--secondary:hover, .a-button--secondary:active, .a-button--secondary:focus {\n color: #fff;\n}\n.a-button--secondary.a-button--motion {\n background-color: transparent;\n}\n\n.a-button--inverted {\n background-color: transparent;\n border-color: #fff;\n color: #fff;\n}\n.a-button--inverted:hover, .a-button--inverted:active, .a-button--inverted:focus {\n background-color: #fff;\n border-color: #fff;\n color: #00005b;\n}\n.a-button--inverted.a-button--motion {\n background-color: transparent;\n}\n.a-button--inverted.a-button--motion::after {\n background-color: #fff;\n}\n\n.a-button--inverted-blue-ocean:hover, .a-button--inverted-blue-ocean:active, .a-button--inverted-blue-ocean:focus {\n color: #4976ba;\n}\n\n.a-button--inverted-red-tosca:hover, .a-button--inverted-red-tosca:active, .a-button--inverted-red-tosca:focus {\n color: #914146;\n}\n\n.a-button--inverted-purple-logan:hover, .a-button--inverted-purple-logan:active, .a-button--inverted-purple-logan:focus {\n color: #9190ac;\n}\n\n.a-button--inverted-green-viridian:hover, .a-button--inverted-green-viridian:active, .a-button--inverted-green-viridian:focus {\n color: #668980;\n}\n\n.a-button--inverted-blue-teal:hover, .a-button--inverted-blue-teal:active, .a-button--inverted-blue-teal:focus {\n color: #027180;\n}');function Jt(){var t=e(['\n <axa-icon class="a-button__arrow" icon="arrow-right"></axa-icon>\n ']);return Jt=function(){return t},t}function Dt(){var t=e(['\n <axa-icon class="a-button__icon" icon="','"></axa-icon>\n ']);return Dt=function(){return t},t}function Yt(){var t=e(['\n <button\n type="','"\n class="','"\n ?disabled="','"\n @click="','"\n >\n <span class="a-button__flex-wrapper">\n ',"\n <slot></slot>\n ","\n </span>\n </button>\n "]);return Yt=function(){return t},t}function Xt(){var t=e(["\n ","\n "]);return Xt=function(){return t},t}var $t,Kt,Qt="arrow-right",Zt=-1<ShadowRoot.toString().indexOf("native code"),te=function(t){function e(){var n;return L(this,e),n=i(this,a(e).call(this)),l(r(n),"handleClick",function(t){var e;((e=t).screenX||e.screenY||e.clientX||e.clientY)&&Zt&&n.isTypeSubmitOrReset&&(t.stopPropagation(),n.fakeButton.click())}),Wt(r(n)),n}return c(e,kt),s(e,null,[{key:"tagName",get:function(){return"axa-button"}},{key:"styles",get:function(){return xt(Xt(),_t(Gt))}},{key:"properties",get:function(){return{type:{type:String,reflect:!0,defaultValue:"button"},variant:{type:String},icon:{type:String},size:{type:String},motionOff:{type:Boolean},disabled:{type:Boolean,reflect:!0}}}}]),s(e,[{key:"firstUpdated",value:function(){var e=this,t=this.style;if(Zt&&this.isTypeSubmitOrReset){var n=document.createElement("button");n.type=this.type,n.style.display="none",this.appendChild(n),this.fakeButton=n}t.appearance="none",t.mozAppearance="none",t.webkitAppearance="none",t.msAppearance="none",t.oAppearance="none",this.onclick=function(t){e.handleClick(t)}}},{key:"render",value:function(){var t=this.type,e=this.motionOff,n=this.disabled,r=this.variant,o=void 0===r?"":r,i=this.icon,a=void 0===i?"":i,s=this.size,u=void 0===s?"":s,c={"a-button":!0,"a-button--large":"large"===u,"a-button--small":"small"===u,"a-button--motion":!e,"a-button--secondary":"secondary"===o,"a-button--red":"red"===o,"a-button--inverted":o.includes("inverted"),"a-button--inverted-blue-ocean":"inverted-blue-ocean"===o,"a-button--inverted-red-tosca":"inverted-red-tosca"===o,"a-button--inverted-purple-logan":"inverted-purple-logan"===o,"a-button--inverted-green-viridian":"inverted-green-viridian"===o,"a-button--inverted-blue-teal":"inverted-blue-teal"===o};return Q(Yt(),t,Ct(c),n,this.handleClick,this.showIcon?Q(Dt(),a):"",this.showArrow?Q(Jt()):"")}},{key:"isTypeSubmitOrReset",get:function(){return"submit"===this.type||"reset"===this.type}},{key:"showIcon",get:function(){return this.icon&&this.icon!==Qt}},{key:"showArrow",get:function(){return this.icon===Qt}}]),e}();return $t=te.tagName,Kt=te,window.customElements.get($t)||window.customElements.define($t,Kt),te}();

@@ -49,6 +49,12 @@ function ___$insertStyle(css) {

const isDefined = value => !(value === undefined || value === null); // generic defaults (will be applied in the absence of explicit 'defaultValue')
const isDefined = value => !(value === undefined || value === null);
// (IE11 does not support new Map([iterable]), so we have to initialize the map
// with .set calls for each key)
const DEFAULT_VALUE_OF_TYPE = new Map([[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]]);
const DEFAULT_VALUE_OF_TYPE = new Map();
[[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]].forEach((_ref) => {
let [key, value] = _ref;
DEFAULT_VALUE_OF_TYPE.set(key, value);
});

@@ -88,22 +94,28 @@ const convert = (value, type) => {

if (!ceInst.isReact) {
let value = ceInst[property];
let value = ceInst[property];
if (isDefined(value)) {
return;
} // Boolean attributes in HTML are true if present, false otherwise.
// For all other types, get their value as string...
if (isDefined(value)) {
return;
} // Boolean attributes in HTML are true if present, false otherwise.
// For all other types, get their value as string...
value = type === Boolean ? ceInst.hasAttribute(property) : ceInst.getAttribute(property); // .. and if defined
value = type === Boolean ? ceInst.hasAttribute(property) : ceInst.getAttribute(property); // .. and if defined
if (isDefined(value)) {
// convert it
ceInst[property] = convert(value, type);
return;
}
if (isDefined(value)) {
// convert it
ceInst[property] = convert(value, type);
return;
} // otherwise, apply default
// component author explicitly specified a default value for this property?
// make sure the set value() function is never triggered when defaultValue
// is undefined otherwise the isControlled flag and firstTime flag are messed up in
// some components containing controldness. Writing undefined again on value counts as change
if (defaultValue === undefined && 'defaultValue' in propertyValue) {
return;
} // component author explicitly specified a default value for this property?
// (This allows *all* values as defaults, *including* undefined. The latter is
// the proper default for 'value' properties in React's controlled-component mode.)
// no, derive it from general per-type defaults

@@ -113,3 +125,3 @@

? defaultValue // yes, apply it
: DEFAULT_VALUE_OF_TYPE.get(type); // no, derive it from general per-type defaults
: DEFAULT_VALUE_OF_TYPE.get(type);
});

@@ -175,3 +187,3 @@ };

const eventIsTrusted = e => !(!e.screenX && !e.screenY && !e.clientX && !e.clientY);
const eventIsTrusted = e => e.screenX || e.screenY || e.clientX || e.clientY;

@@ -222,4 +234,4 @@ class AXAButton extends LitElement {

// form behaviour works (submit, reset, etc). The reason why it works with fake button is
// that fake button is NOT inside a shadow dom. The event instead
// bubbles out of shadow dom, hence the stop propagation trick
// that fake button is NOT inside a ShadowDOM. The event instead
// bubbles out of ShadowDOM, hence the stop propagation trick
if (eventIsTrusted(e) && isNativeShadowDOM && this.isTypeSubmitOrReset) {

@@ -264,3 +276,3 @@ e.stopPropagation();

style.msAppearance = 'none';
style.oAppearance = 'none'; // If someone fires a click on the button and is submit then trigger fake button
style.oAppearance = 'none'; // If someone fires a click on the button and its type is submit then trigger fake button
// press

@@ -267,0 +279,0 @@

@@ -22,7 +22,97 @@ function ___$insertStyle(css) {

const isDefined = value => !(value === undefined || value === null); // generic defaults (will be applied in the absence of explicit 'defaultValue')
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
const DEFAULT_VALUE_OF_TYPE = new Map([[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]]);
function _objectSpread(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;
}));
}
ownKeys.forEach(function (key) {
_defineProperty(target, key, source[key]);
});
}
return target;
}
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = _objectWithoutPropertiesLoose(source, excluded);
var key, i;
if (Object.getOwnPropertySymbols) {
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
for (i = 0; i < sourceSymbolKeys.length; i++) {
key = sourceSymbolKeys[i];
if (excluded.indexOf(key) >= 0) continue;
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
target[key] = source[key];
}
}
return target;
}
function _taggedTemplateLiteral(strings, raw) {
if (!raw) {
raw = strings.slice(0);
}
return Object.freeze(Object.defineProperties(strings, {
raw: {
value: Object.freeze(raw)
}
}));
}
const 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')
// (IE11 does not support new Map([iterable]), so we have to initialize the map
// with .set calls for each key)
const DEFAULT_VALUE_OF_TYPE = new Map();
[[String, ''], [Boolean, false], [Object, {}], [Array, []], [Number, 0], [Function, () => {}]].forEach((_ref) => {
let [key, value] = _ref;
DEFAULT_VALUE_OF_TYPE.set(key, value);
});
const convert = (value, type) => {

@@ -61,22 +151,28 @@ if (type === Number) {

if (!ceInst.isReact) {
let value = ceInst[property];
let value = ceInst[property];
if (isDefined(value)) {
return;
} // Boolean attributes in HTML are true if present, false otherwise.
// For all other types, get their value as string...
if (isDefined(value)) {
return;
} // Boolean attributes in HTML are true if present, false otherwise.
// For all other types, get their value as string...
value = type === Boolean ? ceInst.hasAttribute(property) : ceInst.getAttribute(property); // .. and if defined
value = type === Boolean ? ceInst.hasAttribute(property) : ceInst.getAttribute(property); // .. and if defined
if (isDefined(value)) {
// convert it
ceInst[property] = convert(value, type);
return;
}
if (isDefined(value)) {
// convert it
ceInst[property] = convert(value, type);
return;
} // otherwise, apply default
// component author explicitly specified a default value for this property?
// make sure the set value() function is never triggered when defaultValue
// is undefined otherwise the isControlled flag and firstTime flag are messed up in
// some components containing controldness. Writing undefined again on value counts as change
if (defaultValue === undefined && 'defaultValue' in propertyValue) {
return;
} // component author explicitly specified a default value for this property?
// (This allows *all* values as defaults, *including* undefined. The latter is
// the proper default for 'value' properties in React's controlled-component mode.)
// no, derive it from general per-type defaults

@@ -86,34 +182,86 @@

? defaultValue // yes, apply it
: DEFAULT_VALUE_OF_TYPE.get(type); // no, derive it from general per-type defaults
: DEFAULT_VALUE_OF_TYPE.get(type);
});
};
var withReact = (createElement => val(createElement));
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
const distributeProperties = (properties, componentClass) => {
// initialize
const attrs = {};
const props = {};
let map; // iterate over all properties
return obj;
}
Object.keys(properties).forEach(name => {
let 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)
function _taggedTemplateLiteral(strings, raw) {
if (!raw) {
raw = strings.slice(0);
}
let type;
const declaredProperty = componentClass.properties[name] || {};
const {
type: declaredType
} = declaredProperty;
const looksLikeAnEventHandler = name.indexOf('on') === 0 && // starts with on...
name.charAt(2) === name.charAt(2).toUpperCase(); // continues with uppercase-letter, i.e. camelCase
return Object.freeze(Object.defineProperties(strings, {
raw: {
value: Object.freeze(raw)
if (looksLikeAnEventHandler) {
type = Function;
} else if (name === 'className') {
type = 'className';
} else {
type = declaredType;
}
}));
}
switch (type) {
case 'className':
case Array:
case Object:
case Function:
map = props;
break;
case Boolean:
map = attrs;
value = value ? '' : null; // ''/null: canonicalize Boolean values s.t. val(...) sets or removes the attribute
break;
default:
map = declaredType ? props : attrs;
} // map property name to value
map[name] = value;
});
return {
attrs,
props
};
};
var withReact = ((createElement, componentClass) => {
const {
tagName
} = componentClass;
const displayName = pascalCase(tagName);
const reactStatelessComponent = (_ref2) => {
let {
children
} = _ref2,
properties = _objectWithoutProperties(_ref2, ["children"]);
const {
attrs,
props
} = distributeProperties(properties, componentClass);
return val(createElement)(tagName, _objectSpread({
isReact: true,
attrs
}, props), children);
}; // displayName is important for React testing (e.g. enzyme) and Chrome DevTools plugins
reactStatelessComponent.displayName = displayName;
return reactStatelessComponent;
});
var defineOnce = ((name, customElementClass) => {

@@ -176,3 +324,3 @@ // custom element not already registered?

const eventIsTrusted = e => !(!e.screenX && !e.screenY && !e.clientX && !e.clientY);
const eventIsTrusted = e => e.screenX || e.screenY || e.clientX || e.clientY;

@@ -223,4 +371,4 @@ class AXAButton extends LitElement {

// form behaviour works (submit, reset, etc). The reason why it works with fake button is
// that fake button is NOT inside a shadow dom. The event instead
// bubbles out of shadow dom, hence the stop propagation trick
// that fake button is NOT inside a ShadowDOM. The event instead
// bubbles out of ShadowDOM, hence the stop propagation trick
if (eventIsTrusted(e) && isNativeShadowDOM && this.isTypeSubmitOrReset) {

@@ -265,3 +413,3 @@ e.stopPropagation();

style.msAppearance = 'none';
style.oAppearance = 'none'; // If someone fires a click on the button and is submit then trigger fake button
style.oAppearance = 'none'; // If someone fires a click on the button and its type is submit then trigger fake button
// press

@@ -304,28 +452,4 @@

var index_react = (createElement => (_ref) => {
let {
type = 'button',
icon = '',
size = '',
variant = '',
motionOff = false,
disabled = false,
onClick,
children,
className = '',
slot = ''
} = _ref;
return withReact(createElement)(AXAButton.tagName, {
type,
icon,
size,
variant,
motionOff,
disabled,
onClick,
className,
slot
}, children);
});
var index_react = (createElement => withReact(createElement, AXAButton));
export default index_react;
{
"name": "@axa-ch/button",
"version": "3.0.1",
"version": "4.0.0",
"description": "The button component for the AXA Pattern Library",

@@ -31,3 +31,3 @@ "author": "Pattern Warriors",

"dependencies": {
"@axa-ch/icon": "^1.3.3",
"@axa-ch/icon": "^2.0.0",
"@skatejs/val": "^0.4.0",

@@ -37,3 +37,3 @@ "lit-element": "^2.2.0",

},
"gitHead": "443caabdfed5cadbc6b095650ae4a14862a5c8da"
"gitHead": "53dce93438e88aa51516dff4f5a747dfdbc6c7d9"
}

@@ -109,9 +109,1 @@ # AXA Button

With this string attribute you can set a CSS class to the component.
### Migration version 1 to 2
The large property is obsolete, use size property like `size="large"`
### Migration version 2 to 3
All attributes now accept a default value BEFORE custom element is defined. Also all attributes are set with default values. This can have breaking changes where the consumer expects that attributes are not evaluated before custom element is defined.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc