@bentoproject/accordion
Advanced tools
Comparing version 1.2201052144.0 to 1.2201061922.0
@@ -1,2 +0,2 @@ | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return wr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,g=Object.prototype,w=g.hasOwnProperty;function _(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function S(n){return n||{}}function x(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function j(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function O(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function k(n){return 1==(null==n?void 0:n.nodeType)}function M(n,t,i,r,u,e,o,l,f,a,c){return n}function A(n){return(n.ownerDocument||n).defaultView}function E(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function z(n){M(/^[\w-]+$/.test(n))}function R(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=P(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function T(n,t){if(E(n))return n.querySelector(P(t,":scope"));var i=R(n,t)[0];return void 0===i?null:i}function I(n,t){return z(t),T(n,"> [".concat(t,"]"))}function C(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)e=void 0,o=void 0,"string"==typeof(e=u=r)?o=e:k(e)&&(o=e.tagName),!(o&&o.toLowerCase().startsWith("i-")||u.nodeType===Node.ELEMENT_NODE&&(u.hasAttribute("placeholder")||u.hasAttribute("fallback")||u.hasAttribute("overflow")))&&i.push(r);var u,e,o;return i}(n)}g.toString;var L,H={bubbles:!0,cancelable:!0};function N(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function F(n,t,i,r){var u=i||{};M(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||H,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function Y(){return L||(L=Promise.resolve(void 0))}var $,V,q,W,B,D,Z,U,X,G,J=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},K={},Q=[],nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function tn(n,t){for(var i in t)n[i]=t[i];return n}function rn(n){var t=n.parentNode;t&&t.removeChild(n)}function un(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?$.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return en(n,o,r,u,null)}function en(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++q:u};return null==u&&null!=V.vnode&&V.vnode(e),e}function on(n){return n.children}function ln(n,t){this.props=n,this.context=t}function fn(n,t){if(null==t)return n.__?fn(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fn(n):null}function an(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return an(n)}}function cn(n){(!n.__d&&(n.__d=!0)&&W.push(n)&&!sn.__r++||D!==V.debounceRendering)&&((D=V.debounceRendering)||B)(sn)}function sn(){for(var n;sn.__r=W.length;)n=W.sort((function(n,t){return n.__v.__b-t.__v.__b})),W=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=tn({},u)).__v=u.__v+1,gn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?fn(u):e,u.__h),wn(i,u),u.__e!=e&&an(u)))}))}function vn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||Q,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?en(null,h,null,null,h):Array.isArray(h)?en(on,{children:h},null,null,null):h.__b>0?en(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}gn(n,h,v=v||K,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=hn(h,f,n):f=dn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=fn(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=fn(r,c+1)),Sn(m[c],m[c]));if(y)for(c=0;c<y.length;c++)_n(y[c],y[++c],y[++c])}function hn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?hn(r,t,i):dn(i,r,r,u,r.__e,t));return t}function dn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function pn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||nn.test(t)?i:i+"px"}function yn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||pn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||pn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?bn:mn,e):n.removeEventListener(t,e?bn:mn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function mn(n){this.l[n.type+!1](V.event?V.event(n):n)}function bn(n){this.l[n.type+!0](V.event?V.event(n):n)}function gn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=V.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new ln(y,b),c.constructor=w,c.render=xn),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=tn({},c.__s)),tn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=V.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=tn(tn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===on&&null==a.key?a.props.children:a,vn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&$.call(n.childNodes),a=(s=i.props||K).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||yn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||yn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,vn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&fn(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&rn(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&yn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&yn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=V.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),V.__e(n,t,i)}}function wn(n,t){V.__c&&V.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){V.__e(n,t.__v)}}))}function _n(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){V.__e(n,i)}}function Sn(n,t,i){var r,u;if(V.unmount&&V.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||_n(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){V.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&Sn(r[u],t,"function"!=typeof n.type);i||null==n.__e||rn(n.__e),n.__e=n.__d=void 0}function xn(n,t,i){return this.constructor(n,i)}function jn(n,t,i){var r,u,e;V.__&&V.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],gn(t,n=(!r&&i||t).__k=un(on,null,[n]),u||K,K,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?$.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),wn(e,n)}function On(n,t){jn(n,t,On)}function kn(n,t){var i={__c:t="__cC"+Z++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(cn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}$=Q.slice,V={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},q=0,ln.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=tn({},this.state),"function"==typeof n&&(n=n(tn({},i),this.props)),n&&tn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),cn(this))},ln.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),cn(this))},ln.prototype.render=on,W=[],B="function"==typeof Promise?Promise.prototype.then.bind(Y()):setTimeout,sn.__r=0,Z=0;var Mn=0,An=[],En=V.__b,Pn=V.__r,zn=V.diffed,Rn=V.__c,Tn=V.unmount;function In(n,t){V.__h&&V.__h(X,n,Mn||t),Mn=0;var i=X.__H||(X.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Cn(n){return Mn=1,function(n,t,i){var r=In(U++,2);return r.t=n,r.__c||(r.__=[Un(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=X),r.__}(Un,n)}function Ln(n,t){var i=In(U++,3);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__H.__h.push(i))}function Hn(n,t){var i=In(U++,4);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__h.push(i))}function Nn(n){return Mn=5,Yn((function(){return{current:n}}),[])}function Fn(n,t,i){Mn=6,Hn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Yn(n,t){var i=In(U++,7);return Zn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function $n(n,t){return Mn=8,Yn((function(){return n}),t)}function Vn(n){var t=X.context[n.__c],i=In(U++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(X)),t.props.value):n.__}function qn(){An.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Bn),n.__H.__h.forEach(Dn),n.__H.__h=[]}catch(t){n.__H.__h=[],V.__e(t,n.__v)}})),An=[]}V.__b=function(n){X=null,En&&En(n)},V.__r=function(n){Pn&&Pn(n),U=0;var t=(X=n.__c).__H;t&&(t.__h.forEach(Bn),t.__h.forEach(Dn),t.__h=[])},V.diffed=function(n){zn&&zn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==An.push(t)&&G===V.requestAnimationFrame||((G=V.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Wn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Wn&&(t=requestAnimationFrame(i))})(qn)),X=null},V.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter((function(n){return!n.__||Dn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],V.__e(i,n.__v)}})),Rn&&Rn(n,t)},V.unmount=function(n){Tn&&Tn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Bn)}catch(n){V.__e(n,t.__v)}};var Wn="function"==typeof requestAnimationFrame;function Bn(n){var t=X;"function"==typeof n.__c&&n.__c(),X=t}function Dn(n){var t=X;n.__c=n.__(),X=t}function Zn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Un(n,t){return"function"==typeof t?t(n):t}var Xn,Gn=["auto","lazy","eager","unload"],Jn=(t(Xn={},"auto",0),t(Xn,"lazy",1),t(Xn,"eager",2),t(Xn,"unload",3),Xn);function Kn(n,t){var i=Jn[n]||0,r=Jn[t]||0,u=Math.max(i,r);return Gn[u]}function Qn(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function nt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function tt(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=nt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function it(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function rt(n){var t=tt.apply(null,arguments);setTimeout((function(){throw it(t),t}))}function ut(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){rt(n)}}function et(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&et(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;et(f,t,i,r,!0)}}var ot=[],lt=function(){},ft=function(){function n(n){this.Dh=n,this.v=null,this.m=null,this.nl=Qn(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){M(t),M(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),vt(n)&&et(this.Dh,at,n,!0,!1))},t.remove=function(n,t){M(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){M(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),et(this.Dh,at,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;ht(r)&&this.qi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.qi()&&et(this.Dh,ct,void 0,ot)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.qi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){vt(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!vt(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Dh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.qi=function(){return!!this.Dh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(lt):ot,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.qi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):ot,pingParent:vt(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.qi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return rt("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){rt(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.qi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;M(this.qi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Dh,st,e,!1):null;this.rl(n,s)}var v=ht(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(ht)&&(!c||ht(v))){var d=this.Dh.node;a&&!o?h=a[0]:vt(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||ot,v,u):ht(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||ot,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,M(r),i&&i.values.unsubscribe(u,r),t&&(M(r),t.values.subscribe(u,r)))},n}();function at(n,t){return n.values.scan(t)}function ct(n,t,i){return n.values.scanAll(i)}function st(n,t){return n.values.has(t)}function vt(n){return!!n.recursive}function ht(n){return void 0!==n}var dt=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new ft(this),this.ll=null,this.fl=!1,this.al=Qn(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(pt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(yt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||k(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,pt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,pt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(yt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(yt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){M(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(yt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),M(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(M(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function pt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=dt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,yt)}function yt(n){n.discover()}var mt=[];function bt(n,t){var i=r({key:n,deps:mt,recursive:!1},t);return M(0==i.deps.length||i.compute),i}var gt=[],wt=function(){};function _t(n,t,i){t=v(t);var r=i;dt.get(n).subscribe(r,St,i,t)}var St=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(wt):gt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):gt,this.Kn=!1,this.ml=null,this.yl=Qn(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.qi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this._e()},t.rootUpdated=function(){var n=this.qi();this._e(),n&&this.yl()},t.qi=function(){return!!this.contextNode.root},t.yl=function(){this.qi()&&(this.dl.every(xt)?(this.Kn=!0,this.bl()):this.Kn&&(this.Kn=!1,this._e()))},t.bl=function(){this._e();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t._e=function(){this.ml&&(ut(this.ml),this.ml=null)},n}();function xt(n){return void 0!==n}function jt(n){dt.get(n).discover()}function Ot(n,t,i,r){dt.get(n).values.set(t,i,r)}function kt(n,t,i){dt.get(n).values.remove(t,i)}var Mt,At=function(){function n(n,t){this.o=n,this.J=t,this._t={},this.kt=null}var t=n.prototype;return t.start=function(){this.kt=this._t,this._t={}},t.resolveMatchQuery=function(n){return"1"===this.Rt(n,Et,"1")},t.resolveListQuery=function(n){return this.Rt(n,Pt,"")},t.complete=function(){for(var n in this.kt)n in this._t||zt(this.kt[n],this.J,!1);this.kt=null},t.dispose=function(){for(var n in this._t)zt(this._t[n],this.J,!1);this._t={}},t.Rt=function(n,t,i){if(!n.trim())return i;var r=this._t[n];return r||(M(this.kt),r=this.kt[n]),r||zt(r=t(this.o,n),this.J,!0),this._t[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function Et(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function Pt(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function zt(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Rt=["Webkit","webkit","Moz","moz","ms","O","o"],Tt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function It(n,t,i){if(Nt(t))return t;Mt||(Mt=_());var r=Mt[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Rt.length;i++){var r=Rt[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(Mt[t]=r)}return r}function Ct(n,t,i,r,u){var e=It(n.style,t,u);if(e){var o=r?i+r:i;Nt(e)?n.style.setProperty(e,o):n.style[e]=o}}function Lt(n,t,i){var r=It(n.style,t,i);if(r)return Nt(r)?n.style.getPropertyValue(r):n.style[r]}function Ht(n,t){for(var i in t)Ct(n,i,t[i])}function Nt(n){return n.startsWith("--")}var Ft=/vertical/,Yt=new WeakMap,$t=new WeakMap,Vt=new WeakMap;function qt(n){var t=Yt.get(n);return t||(t=new n.ResizeObserver(Wt),Yt.set(n,t)),t}function Wt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=$t.get(u);if(e){Vt.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Bt(l.type,f,r)}}}}}function Bt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;ut(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=A(a),s=Ft.test(function(n,t){return n.getComputedStyle(t)||Tt}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}ut(t,e)}}var Dt,Zt,Ut,Xt=function(){function n(n){this.gl=n,this.wl=!1,this._l=!1,this.Sl=this.Sl.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this._l=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=$t.get(n);if(u||(u=[],$t.set(n,u),qt(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=Vt.get(n);e&&setTimeout((function(){return Bt(1,i,e)}))}}}(this.gl,0,this.Sl)):function(n,t){!function(n,t,i){var r=$t.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){$t.delete(n),Vt.delete(n);var u=n.ownerDocument.defaultView;u&&qt(u).unobserve(n)}}(n,0,t)}(this.gl,this.Sl))},t.Sl=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this._l){this._l=i;var r=this.gl;i||r.pause()}},n}();function Gt(){return Ut||(Ut=kn({renderable:!0,playable:!0,loading:"auto"}))}function Jt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=Kt(),c=f&&a.renderable,s=c&&o&&a.playable,v=Kn(c?"auto":"lazy",Kn(r,a.loading)),h=u||a.notify,d=Yn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return un(Gt().Provider,{children:t,value:d})}function Kt(){return Vn(Gt())}Dt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=A(n)}n.CustomElement=function(n){return Zt||(Zt=function(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}(HTMLElement)),function(t){e(r,Zt);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()};var t=n.prototype;return t.mutateElement=function(n){Y().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var Qt=bt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},compute:function(n,t,i){return i&&t.reduce(ii,!0)||!1}}),ni=bt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},deps:[Qt],compute:function(n,t,i,r){return r&&i&&t.reduce(ii,!0)||!1}}),ti=bt("Loading",{defaultValue:"auto",recursive:!0,deps:[Qt],compute:function(n,t,i,r){return Kn(r?"auto":"lazy",Kn(i||"auto",t.reduce(Kn,"auto")))}}),ii=function(n,t){return n&&t};function ri(){var n=0;return function(){return String(++n)}}var ui=function(n){return n.ensureLoaded()},ei=function(n){return n.pause()},oi=function(n){return n.unmount()};function li(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!1,ui)}function fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,ei)}function ai(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,oi)}function ci(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)si(u[e],t,i,r)}function si(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(ut(r,u),!i){var e=u.getPlaceholder();return void(e&&si(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)ut(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),ut(r,a))}}}var vi={},hi=new WeakMap;function di(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return un(pi,r(r({},i||vi),{},{name:t}));var e=hi.get(n);if(e&&j(e.oldProps,i))return e.component;function o(n){return un(pi,r(r({},i||vi),{},{name:t},n))}return hi.set(n,{oldProps:i,component:o}),o}function pi(n){var t=Nn(null);return yi(t,n),Ln((function(){n.postRender&&n.postRender()})),un("slot",r(r({},n),{},{ref:t}))}function yi(n,t){var i=(t||vi).loading,r=Kt();Hn((function(){var t=n.current;return M(k(t)),Ot(t,Qt,pi,r.renderable),Ot(t,ni,pi,r.playable),Ot(t,ti,pi,r.loading),r.playable||mi(t,fi,!0),function(){var n;kt(t,Qt,pi),kt(t,ni,pi),kt(t,ti,pi),n=t,dt.rediscoverChildren(n)}}),[n,r]),Hn((function(){var t=n.current;return M(k(t)),"lazy"!=i&&mi(t,li,!0),function(){mi(t,ai,!1)}}),[n,i])}function mi(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var bi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},gi=ri();function wi(n,t){return Object.values(n).some(t)}var _i=function(n){return"string"==typeof n||!!n.selector},Si=function(n){return 3===n.nodeType&&0===n.nodeValue.trim().length};function xi(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=bi:a.class="i-amphtml-fill-content"),ji(n,a,f,t,e),e&&e.complete(),a}function ji(n,t,i,r,u){if(wi(i,_i))for(var e=C(r),o=0;o<e.length;o++){var l=e[o],f=ki(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;M(p||n.usesShadowDom);var b={};if(ji(n,b,m,l,u),v)t[d]=di(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);M(!s),g.push(p?Oi(l):di(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(gi()),b))}}}for(var w in i){var _=i[w];M(!!_.attr+!!_.attrs+!!_.attrMatches+!!_.selector+!!_.passthrough+!!_.passthroughNonEmpty<=1);var S=void 0;if(_.passthrough?(M(n.usesShadowDom),S=[un(pi,{loading:"lazy"})]):_.passthroughNonEmpty?(M(n.usesShadowDom),S=C(r).every(Si)?null:[un(pi,{loading:"lazy"})]):_.attr?(S=r.getAttribute(_.attr),_.media&&null!=S&&(S=u.resolveListQuery(String(S)))):_.parseAttrs&&(M(_.attrs||_.attrMatches),S=_.parseAttrs(r)),null==S)null!=_.default&&(t[w]=_.default);else{var x="number"==_.type?parseFloat(S):"boolean"==_.type?null==(j=S)?void 0:"false"!==j:S;t[w]=x}}var j}function Oi(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return un(r,t)}function ki(n,t){for(var i in t){var r=t[i];if(u=n,e="string"==typeof r?r:r.selector,o=void 0,(o=u.matches||u.webkitMatchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector)&&o.call(u,e))return i}var u,e,o;return null}var Mi=self.AMP_CONFIG||{},Ai=("string"==typeof Mi.thirdPartyFrameRegex?new RegExp(Mi.thirdPartyFrameRegex):Mi.thirdPartyFrameRegex,("string"==typeof Mi.cdnProxyRegex?new RegExp(Mi.cdnProxyRegex):Mi.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Ei(n){if(!self.document||!self.document.head)return null;if(self.location&&Ai.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Mi.thirdPartyUrl,Mi.thirdPartyFrameHost,Mi.cdnUrl||Ei("runtime-host"),Mi.errorReportingUrl,Mi.betaErrorReportingUrl,Mi.localDev,Mi.geoApiUrl||Ei("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Pi=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+Pi,"gim"),new RegExp("(-shadowcsscontext"+Pi,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var zi={childList:!0},Ri={childList:!0,characterData:!0},Ti={childList:!0},Ii=S({"style":"display: contents; background: inherit;","part":"c"}),Ci=S({"name":"i-amphtml-svc"}),Li=S({"i-amphtml-rendered":""}),Hi=function(){return!0},Ni=function(n){return!!n.media},Fi=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Yi=function(n){e(i,n);var t=c(i);function i(n){var i;return(i=t.call(this,n)).xl=S({"loading":"auto","onReadyState":function(n,t){i.jl(n,t)},"onPlayingState":function(n){i.Ol(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}}),i.kl={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Ml=!1,i.Al=null,i.El=null,i.Pl=function(n){null!==n&&(i.Al?i.zl(n):i.Rl(n)),i.El=n,i.Tl()},i.Il=null,i.Cl=null,i.Ll=null,i.Hl=!1,i.Nl=null,i.Fl=function(){i.Hl=!1,i.Yl()},i.$l=!1,i.$i=!1,i.observer=null,i.Vl=new Xt(n),i.on=null,i}i.R1=function(){return!0},i.requiresShadowDom=function(){return this.usesShadowDom},i.usesLoading=function(){return this.loadable},i.prerenderAllowed=function(){return!this.usesLoading()};var u=i.prototype;return u.init=function(){},u.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},u.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.ql(t)}));var i=t.props,u=wi(i,_i)?zi:null,e=wi(i,Fi)?Ri:null,o=t.usesTemplate?Ti:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.on=wi(i,Ni)?new At(this.win,(function(){return n.Wl()})):null;var l=t.staticProps,f=this.init();Object.assign(this.xl,l,f),this.checkPropsPostMutations(),_t(this.element,[],(function(){return function(){n.$i=!1,n.Ll&&jn(null,n.Ll)}})),_t(this.element,[Qt,ni,ti],(function(t,i,r){n.kl.renderable=t,n.kl.playable=i,n.kl.loading=r,n.$i=!0,n.Wl()}));var a,c=t.useContexts;return 0!=c.length&&_t(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Cl=i,n.Wl()})),this.Nl=new J,this.Wl(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Tl(),this.Nl.promise},u.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(S({"loading":"eager"})),this.Ml=!0)},u.mountCallback=function(){jt(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Ml=!1)},u.unmountCallback=function(){var n;jt(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ol(!1),null===(n=this.on)||void 0===n||n.dispose()},u.mutatedAttributesCallback=function(){this.Ll&&this.Wl()},u.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},u.mutateProps=function(n){Object.assign(this.xl,n),this.Wl()},u.api=function(){return M(this.El)},u.registerApiAction=function(n,t){var i,r=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){return t(r.api(),n)}),u)},u.mutationObserverCallback=function(n){},u.checkPropsPostMutations=function(){},u.updatePropsForRendering=function(n){},u.isReady=function(n){return!0},u.ql=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o=r[u];if(t.attributeName==o.attr||o.attrs&&o.attrs.includes(M(t.attributeName))||null!==(e=o.attrMatches)&&void 0!==e&&e.call(o,t.attributeName))return!0}return!1}return"childList"==i&&(Vi(t.addedNodes)||Vi(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.Wl())},u.Wl=function(){this.Hl||(this.Hl=!0,this.mutateElement(this.Fl))},u.Tl=function(){var n=this.El,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.jl(t)},u.jl=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Ol("complete"==n),this.Ml&&(this.Ml=!1,this.mutateProps({"loading":"auto"}))},u.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},u.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},u.handleOnError=function(){var n,t,i,r,u;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(u=this.togglePlaceholder)||void 0===u||u.call(this,!0)},u.Yl=function(){var n,t,i,u=this;if(this.$i){var e,o=this.constructor,l=o.usesShadowDom,f=l?null:o.lightDomTag,a=o.detached;if(!this.Ll){var c=this.win.document;if(l){M(!a);var s=this.element.shadowRoot,v=s&&(e=s,z("c"),T(e,"> ".concat("c")));if(v)this.$l=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||((o=new u.CSSStyleSheet).replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=N(c,"c",Ii),s.appendChild(v);var w=N(c,"slot",Ci);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Ll=v,function(n,t){dt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;dt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Hi,-1),n=this.element,t=Qt,this,null===(i=dt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(f){this.Ll=this.element;var _=I(this.Ll,"i-amphtml-rendered")||N(c,f,Li);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Ll.appendChild(_)}else{var S=c.createElement("i-amphtml-c");this.Ll=S,S.classList.add("i-amphtml-fill-content"),a||this.element.appendChild(S)}}var x=o.useContexts,j=this.Cl;if(0==x.length||null!=j){var O=xi(o,this.element,this.Pl,this.xl,this.on);if(this.updatePropsForRendering(O),this.isReady(O)){for(var k=un(o.Component,O),A=0;A<x.length;A++){var E=x[A].type,P=j[A];P&&(k=un(E.Provider,{value:P},k))}var R=un(Jt,r({},this.kl),k);if(this.$l)this.$l=!1,On(R,this.Ll);else{var C=f?I(this.Ll,"i-amphtml-rendered"):null;C&&(C.__AMP_RENDERED=!0),jn(R,this.Ll,C)}l||a||this.mutateElement((function(){return F(u.element,"amp:dom-update",null)})),this.Nl&&(this.Nl.resolve(),this.Nl=null)}}}},u.getProp=function(n,t){return i=this.xl,r=n,w.call(i,r)?this.xl[n]:t;var i,r},u.getApi=function(){var n=this.Al;return n?Promise.resolve(n):(this.Il||(this.Il=new J),this.Il.promise)},u.Rl=function(n){for(var t=_(),i=Object.keys(n),r=0;r<i.length;r++)$i(this,t,i[r]);this.Al=t,this.Il&&(this.Il.resolve(t),this.Il=null)},u.zl=function(n){},u.triggerEvent=function(n,t,i){F(n,t,i)},u.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(S({"loading":"unload"})),this.Ml=!0;else{var n,t=this.El;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},u.Ol=function(n){this.Vl.updatePlaying(n)},i}(Dt);function $i(n,t,i){Object.defineProperty(t,i,{configurable:!0,get:function(){return n.El[i]},set:function(t){n.El[i]=t}})}function Vi(n){for(var t=0;t<n.length;t++){var i=n[t];if(k(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function qi(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}Yi.Component=function(){M(!1)},Yi.staticProps=void 0,Yi.useContexts=[],Yi.loadable=!1,Yi.unloadOnPause=!1,Yi.layoutSizeDefined=!1,Yi.lightDomTag="",Yi.usesTemplate=!1,Yi.shadowCss=null,Yi.usesShadowDom=!1,Yi.detached=!1,Yi.delegatesFocus=!1,Yi.props={};var Wi,Bi=["ref"],Di="undefined"!=typeof Symbol&&(null===(Wi=Symbol.for)||void 0===Wi?void 0:Wi.call(Symbol,"react.forward_ref"))||3911,Zi=V.__b;function Ui(n){function t(t){var i=t.ref,r=qi(t,Bi);return n(r,i)}return t.$$typeof=Di,t.render=t,t.prototype.isReactComponent=!0,t.Bl=!0,t}function Xi(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}V.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Bl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Zi||Zi(n)};var Gi=[null,"paint","layout","content","size","size paint","size layout","strict"],Ji={"position":"relative","width":"100%","height":"100%"};function Ki(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qi(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function nr(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}Ui((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,_=n.wrapperStyle,S=n[i],x=(b?4:0)+(d?2:0)+(y?1:0);return un(e,r(r({},qi(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(Xi))),{},{ref:t,class:"".concat(S||""," ").concat(w||"").trim()||null,style:r(r(r({},g),_),{},{contain:Gi[x]})}),un(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Ji),{},{"overflow":y?"hidden":"visible"},v)}),o))})),Ui((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return un(e,r(r({},qi(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(Xi))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var tr=["animate","as","children","expandSingleSection","id"],ir=["animate","as","children","expanded","id","onExpandStateChange"],rr=kn({}),ur=kn({}),er={},or={},lr=ri(),fr=function(){return String(Math.floor(1e5*Math.random()))},ar=Ui((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=qi(n,tr),h=Ki(Cn(er),2),d=h[0],p=h[1],y=Nn(or),m=Ki(Cn(fr),1)[0],b=s||"a".concat(m);Ln((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=$n((function(n,i,u){var e=u.current;return p((function(t){return cr(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return x(t,n)})),y.current=x(y.current,n)}}),[c]),w=$n((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=cr(n,r,i,c);return Y().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),_=$n((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),S=$n((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),j=$n((function(n){if(n)_(n,!0)||w(n);else if(!c)for(var t in d)_(t,!0)||w(t)}),[d,w,_,c]),O=$n((function(n){if(n)_(n,!1)&&w(n);else for(var t in d)_(t,!1)&&w(t)}),[d,w,_]);Fn(i,(function(){return{toggle:S,expand:j,collapse:O}}),[S,O,j]);var k=Yn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:_,animate:e,prefix:b}}),[g,w,_,e,b]);return un(l,r({id:s},v),un(rr.Provider,{value:k},f))}));function cr(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function sr(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=qi(n,ir),v=Ki(Cn(lr),1)[0],h=a||v,d=Ki(Cn(fr),1)[0],p=Ki(Cn(f),2),y=p[0],m=p[1],b=Ki(Cn(null),2),g=b[0],w=b[1],_=Ki(Cn(null),2),S=_[0],x=_[1],j=Vn(rr),O=j.animate,k=j.isExpanded,M=j.prefix,A=j.registerSection,E=j.toggleExpanded,P=k?k(h,f):y,z=null!=O?O:i,R=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),T=S||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Nn(null);I.current=c,Hn((function(){if(A)return A(h,f,I)}),[A,h,f]);var C=$n((function(n){E?E(h,n):m((function(t){var i=null!=n?n:!t;return Y().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,E]),L=Yn((function(){return{animate:z,contentId:R,headerId:T,expanded:P,toggleHandler:C,setContentId:w,setHeaderId:x}}),[z,R,T,P,C]);return un(e,r({},s),un(ur.Provider,{value:L},o))}function vr(n){var t="class",i="tabIndex",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.id,f=n.role,a=void 0===f?"button":f,c=n[t],s=void 0===c?"":c,v=n[i],h=void 0===v?0:v,d=qi(n,["as","children","id","role",t,i].map(Xi)),p=Vn(ur),y=p.contentId,m=p.expanded,b=p.headerId,g=p.setHeaderId,w=p.toggleHandler;return Hn((function(){g&&g(l)}),[g,l]),un(e,r(r({},d),{},{id:b,role:a,class:"".concat(s," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:h,"aria-controls":y,onClick:function(){return w()},"aria-expanded":String(m)}),o)}function hr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=qi(n,["as","children","id","role",t].map(Xi)),v=Nn(null),h=Nn(!1),d=Vn(ur),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Ln((function(){return h.current=!0,function(){return h.current=!1}}),[]),Hn((function(){g&&g(o)}),[g,o]),Hn((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Qi(n,(function(){var t=Lt(n,"height"),i=Lt(n,"opacity"),r=Lt(n,"overflowY");Ht(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Ht(n,{height:t,opacity:i,overflowY:r});var e=nr(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Qi(n,(function(){var t=n.offsetHeight,i=nr(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),un(Jt,{renderable:m},un(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}ar.displayName="Accordion";var dr=function(n){e(i,Yi);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(pr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),S({"children":pr(i,r,t).children})},i}();function pr(n,t,i){var u,e,o,l,f,a=(e=n,o="section",z(o),l=e,f="> ".concat(o),(u=E(l)?l.querySelectorAll(P(f,":scope")):R(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=O(n,"__AMP_H_SHIM",mr),e=O(n,"__AMP_C_SHIM",gr),o=O(n,"__AMP_EXPAND_STATE_SHIM",i),l=S({"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o}),f=S({"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0}),a=S({"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0});return un(sr,r({},l),un(vr,r({},f)),un(hr,r({},a)))}));return S({"children":a})}function yr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Hn((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",M(e))}}),[n,l,u,o,e,i,r]),un("header",null)}var mr=function(n){return yr.bind(null,n)};function br(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Nn();return l.current=o,yi(l),function(n,t){Fn(n,(function(){return t}),[t])}(i,o),Hn((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),un("div",null)}var gr=function(n){return Ui(br.bind(null,n))};function wr(){customElements.define("bento-accordion",dr.CustomElement(dr))} | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return wr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,g=Object.prototype,w=g.hasOwnProperty;function _(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function S(n){return n||{}}function x(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function j(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function O(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function k(n){return 1==(null==n?void 0:n.nodeType)}function M(n,t,i,r,u,e,o,l,f,a,c){return n}function A(n){return(n.ownerDocument||n).defaultView}function E(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function z(n){M(/^[\w-]+$/.test(n))}function R(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=P(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function T(n,t){if(E(n))return n.querySelector(P(t,":scope"));var i=R(n,t)[0];return void 0===i?null:i}function I(n,t){return z(t),T(n,"> [".concat(t,"]"))}function C(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)e=void 0,o=void 0,"string"==typeof(e=u=r)?o=e:k(e)&&(o=e.tagName),!(o&&o.toLowerCase().startsWith("i-")||u.nodeType===Node.ELEMENT_NODE&&(u.hasAttribute("placeholder")||u.hasAttribute("fallback")||u.hasAttribute("overflow")))&&i.push(r);var u,e,o;return i}(n)}g.toString;var L,H={bubbles:!0,cancelable:!0};function N(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function F(n,t,i,r){var u=i||{};M(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||H,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function Y(){return L||(L=Promise.resolve(void 0))}var $,V,q,W,B,D,Z,U,X,G,J=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},K={},Q=[],nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function tn(n,t){for(var i in t)n[i]=t[i];return n}function rn(n){var t=n.parentNode;t&&t.removeChild(n)}function un(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?$.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return en(n,o,r,u,null)}function en(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++q:u};return null==u&&null!=V.vnode&&V.vnode(e),e}function on(n){return n.children}function ln(n,t){this.props=n,this.context=t}function fn(n,t){if(null==t)return n.__?fn(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fn(n):null}function an(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return an(n)}}function cn(n){(!n.__d&&(n.__d=!0)&&W.push(n)&&!sn.__r++||D!==V.debounceRendering)&&((D=V.debounceRendering)||B)(sn)}function sn(){for(var n;sn.__r=W.length;)n=W.sort((function(n,t){return n.__v.__b-t.__v.__b})),W=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=tn({},u)).__v=u.__v+1,gn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?fn(u):e,u.__h),wn(i,u),u.__e!=e&&an(u)))}))}function vn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||Q,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?en(null,h,null,null,h):Array.isArray(h)?en(on,{children:h},null,null,null):h.__b>0?en(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}gn(n,h,v=v||K,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=hn(h,f,n):f=dn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=fn(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=fn(r,c+1)),Sn(m[c],m[c]));if(y)for(c=0;c<y.length;c++)_n(y[c],y[++c],y[++c])}function hn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?hn(r,t,i):dn(i,r,r,u,r.__e,t));return t}function dn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function pn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||nn.test(t)?i:i+"px"}function yn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||pn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||pn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?bn:mn,e):n.removeEventListener(t,e?bn:mn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function mn(n){this.l[n.type+!1](V.event?V.event(n):n)}function bn(n){this.l[n.type+!0](V.event?V.event(n):n)}function gn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=V.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new ln(y,b),c.constructor=w,c.render=xn),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=tn({},c.__s)),tn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=V.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=tn(tn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===on&&null==a.key?a.props.children:a,vn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&$.call(n.childNodes),a=(s=i.props||K).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||yn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||yn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,vn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&fn(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&rn(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&yn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&yn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=V.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),V.__e(n,t,i)}}function wn(n,t){V.__c&&V.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){V.__e(n,t.__v)}}))}function _n(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){V.__e(n,i)}}function Sn(n,t,i){var r,u;if(V.unmount&&V.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||_n(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){V.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&Sn(r[u],t,"function"!=typeof n.type);i||null==n.__e||rn(n.__e),n.__e=n.__d=void 0}function xn(n,t,i){return this.constructor(n,i)}function jn(n,t,i){var r,u,e;V.__&&V.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],gn(t,n=(!r&&i||t).__k=un(on,null,[n]),u||K,K,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?$.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),wn(e,n)}function On(n,t){jn(n,t,On)}function kn(n,t){var i={__c:t="__cC"+Z++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(cn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}$=Q.slice,V={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},q=0,ln.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=tn({},this.state),"function"==typeof n&&(n=n(tn({},i),this.props)),n&&tn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),cn(this))},ln.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),cn(this))},ln.prototype.render=on,W=[],B="function"==typeof Promise?Promise.prototype.then.bind(Y()):setTimeout,sn.__r=0,Z=0;var Mn=0,An=[],En=V.__b,Pn=V.__r,zn=V.diffed,Rn=V.__c,Tn=V.unmount;function In(n,t){V.__h&&V.__h(X,n,Mn||t),Mn=0;var i=X.__H||(X.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Cn(n){return Mn=1,function(n,t,i){var r=In(U++,2);return r.t=n,r.__c||(r.__=[Un(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=X),r.__}(Un,n)}function Ln(n,t){var i=In(U++,3);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__H.__h.push(i))}function Hn(n,t){var i=In(U++,4);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__h.push(i))}function Nn(n){return Mn=5,Yn((function(){return{current:n}}),[])}function Fn(n,t,i){Mn=6,Hn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Yn(n,t){var i=In(U++,7);return Zn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function $n(n,t){return Mn=8,Yn((function(){return n}),t)}function Vn(n){var t=X.context[n.__c],i=In(U++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(X)),t.props.value):n.__}function qn(){An.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Bn),n.__H.__h.forEach(Dn),n.__H.__h=[]}catch(t){n.__H.__h=[],V.__e(t,n.__v)}})),An=[]}V.__b=function(n){X=null,En&&En(n)},V.__r=function(n){Pn&&Pn(n),U=0;var t=(X=n.__c).__H;t&&(t.__h.forEach(Bn),t.__h.forEach(Dn),t.__h=[])},V.diffed=function(n){zn&&zn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==An.push(t)&&G===V.requestAnimationFrame||((G=V.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Wn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Wn&&(t=requestAnimationFrame(i))})(qn)),X=null},V.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter((function(n){return!n.__||Dn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],V.__e(i,n.__v)}})),Rn&&Rn(n,t)},V.unmount=function(n){Tn&&Tn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Bn)}catch(n){V.__e(n,t.__v)}};var Wn="function"==typeof requestAnimationFrame;function Bn(n){var t=X;"function"==typeof n.__c&&n.__c(),X=t}function Dn(n){var t=X;n.__c=n.__(),X=t}function Zn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Un(n,t){return"function"==typeof t?t(n):t}var Xn,Gn=["auto","lazy","eager","unload"],Jn=(t(Xn={},"auto",0),t(Xn,"lazy",1),t(Xn,"eager",2),t(Xn,"unload",3),Xn);function Kn(n,t){var i=Jn[n]||0,r=Jn[t]||0,u=Math.max(i,r);return Gn[u]}function Qn(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function nt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function tt(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=nt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function it(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function rt(n){var t=tt.apply(null,arguments);setTimeout((function(){throw it(t),t}))}function ut(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){rt(n)}}function et(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&et(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;et(f,t,i,r,!0)}}var ot=[],lt=function(){},ft=function(){function n(n){this.Nh=n,this.v=null,this.m=null,this.nl=Qn(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){M(t),M(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),vt(n)&&et(this.Nh,at,n,!0,!1))},t.remove=function(n,t){M(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){M(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),et(this.Nh,at,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;ht(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&et(this.Nh,ct,void 0,ot)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){vt(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!vt(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Nh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(lt):ot,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):ot,pingParent:vt(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.Fi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return rt("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){rt(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.Fi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;M(this.Fi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,st,e,!1):null;this.rl(n,s)}var v=ht(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(ht)&&(!c||ht(v))){var d=this.Nh.node;a&&!o?h=a[0]:vt(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||ot,v,u):ht(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||ot,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,M(r),i&&i.values.unsubscribe(u,r),t&&(M(r),t.values.subscribe(u,r)))},n}();function at(n,t){return n.values.scan(t)}function ct(n,t,i){return n.values.scanAll(i)}function st(n,t){return n.values.has(t)}function vt(n){return!!n.recursive}function ht(n){return void 0!==n}var dt=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new ft(this),this.ll=null,this.fl=!1,this.al=Qn(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(pt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(yt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||k(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,pt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,pt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(yt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(yt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){M(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(yt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),M(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(M(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function pt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=dt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,yt)}function yt(n){n.discover()}var mt=[];function bt(n,t){var i=r({key:n,deps:mt,recursive:!1},t);return M(0==i.deps.length||i.compute),i}var gt=[],wt=function(){};function _t(n,t,i){t=v(t);var r=i;dt.get(n).subscribe(r,St,i,t)}var St=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(wt):gt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):gt,this.Yn=!1,this.ml=null,this.yl=Qn(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.Fi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.yl()},t.Fi=function(){return!!this.contextNode.root},t.yl=function(){this.Fi()&&(this.dl.every(xt)?(this.Yn=!0,this.bl()):this.Yn&&(this.Yn=!1,this.Se()))},t.bl=function(){this.Se();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t.Se=function(){this.ml&&(ut(this.ml),this.ml=null)},n}();function xt(n){return void 0!==n}function jt(n){dt.get(n).discover()}function Ot(n,t,i,r){dt.get(n).values.set(t,i,r)}function kt(n,t,i){dt.get(n).values.remove(t,i)}var Mt,At=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,Et,"1")},t.resolveListQuery=function(n){return this.kt(n,Pt,"")},t.complete=function(){for(var n in this._t)n in this.St||zt(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)zt(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(M(this._t),r=this._t[n]),r||zt(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function Et(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function Pt(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function zt(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Rt=["Webkit","webkit","Moz","moz","ms","O","o"],Tt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function It(n,t,i){if(Nt(t))return t;Mt||(Mt=_());var r=Mt[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Rt.length;i++){var r=Rt[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(Mt[t]=r)}return r}function Ct(n,t,i,r,u){var e=It(n.style,t,u);if(e){var o=r?i+r:i;Nt(e)?n.style.setProperty(e,o):n.style[e]=o}}function Lt(n,t,i){var r=It(n.style,t,i);if(r)return Nt(r)?n.style.getPropertyValue(r):n.style[r]}function Ht(n,t){for(var i in t)Ct(n,i,t[i])}function Nt(n){return n.startsWith("--")}var Ft=/vertical/,Yt=new WeakMap,$t=new WeakMap,Vt=new WeakMap;function qt(n){var t=Yt.get(n);return t||(t=new n.ResizeObserver(Wt),Yt.set(n,t)),t}function Wt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=$t.get(u);if(e){Vt.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Bt(l.type,f,r)}}}}}function Bt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;ut(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=A(a),s=Ft.test(function(n,t){return n.getComputedStyle(t)||Tt}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}ut(t,e)}}var Dt,Zt,Ut,Xt=function(){function n(n){this.gl=n,this.wl=!1,this._l=!1,this.Sl=this.Sl.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this._l=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=$t.get(n);if(u||(u=[],$t.set(n,u),qt(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=Vt.get(n);e&&setTimeout((function(){return Bt(1,i,e)}))}}}(this.gl,0,this.Sl)):function(n,t){!function(n,t,i){var r=$t.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){$t.delete(n),Vt.delete(n);var u=n.ownerDocument.defaultView;u&&qt(u).unobserve(n)}}(n,0,t)}(this.gl,this.Sl))},t.Sl=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this._l){this._l=i;var r=this.gl;i||r.pause()}},n}();function Gt(){return Ut||(Ut=kn({renderable:!0,playable:!0,loading:"auto"}))}function Jt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=Kt(),c=f&&a.renderable,s=c&&o&&a.playable,v=Kn(c?"auto":"lazy",Kn(r,a.loading)),h=u||a.notify,d=Yn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return un(Gt().Provider,{children:t,value:d})}function Kt(){return Vn(Gt())}Dt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=A(n)}n.CustomElement=function(n){return Zt||(Zt=function(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}(HTMLElement)),function(t){e(r,Zt);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()};var t=n.prototype;return t.mutateElement=function(n){Y().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var Qt=bt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},compute:function(n,t,i){return i&&t.reduce(ii,!0)||!1}}),ni=bt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},deps:[Qt],compute:function(n,t,i,r){return r&&i&&t.reduce(ii,!0)||!1}}),ti=bt("Loading",{defaultValue:"auto",recursive:!0,deps:[Qt],compute:function(n,t,i,r){return Kn(r?"auto":"lazy",Kn(i||"auto",t.reduce(Kn,"auto")))}}),ii=function(n,t){return n&&t};function ri(){var n=0;return function(){return String(++n)}}var ui=function(n){return n.ensureLoaded()},ei=function(n){return n.pause()},oi=function(n){return n.unmount()};function li(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!1,ui)}function fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,ei)}function ai(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,oi)}function ci(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)si(u[e],t,i,r)}function si(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(ut(r,u),!i){var e=u.getPlaceholder();return void(e&&si(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)ut(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),ut(r,a))}}}var vi={},hi=new WeakMap;function di(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return un(pi,r(r({},i||vi),{},{name:t}));var e=hi.get(n);if(e&&j(e.oldProps,i))return e.component;function o(n){return un(pi,r(r({},i||vi),{},{name:t},n))}return hi.set(n,{oldProps:i,component:o}),o}function pi(n){var t=Nn(null);return yi(t,n),Ln((function(){n.postRender&&n.postRender()})),un("slot",r(r({},n),{},{ref:t}))}function yi(n,t){var i=(t||vi).loading,r=Kt();Hn((function(){var t=n.current;return M(k(t)),Ot(t,Qt,pi,r.renderable),Ot(t,ni,pi,r.playable),Ot(t,ti,pi,r.loading),r.playable||mi(t,fi,!0),function(){var n;kt(t,Qt,pi),kt(t,ni,pi),kt(t,ti,pi),n=t,dt.rediscoverChildren(n)}}),[n,r]),Hn((function(){var t=n.current;return M(k(t)),"lazy"!=i&&mi(t,li,!0),function(){mi(t,ai,!1)}}),[n,i])}function mi(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var bi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},gi=ri();function wi(n,t){return Object.values(n).some(t)}var _i=function(n){return"string"==typeof n||!!n.selector},Si=function(n){return 3===n.nodeType&&0===n.nodeValue.trim().length};function xi(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=bi:a.class="i-amphtml-fill-content"),ji(n,a,f,t,e),e&&e.complete(),a}function ji(n,t,i,r,u){if(wi(i,_i))for(var e=C(r),o=0;o<e.length;o++){var l=e[o],f=ki(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;M(p||n.usesShadowDom);var b={};if(ji(n,b,m,l,u),v)t[d]=di(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);M(!s),g.push(p?Oi(l):di(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(gi()),b))}}}for(var w in i){var _=i[w];M(!!_.attr+!!_.attrs+!!_.attrMatches+!!_.selector+!!_.passthrough+!!_.passthroughNonEmpty<=1);var S=void 0;if(_.passthrough?(M(n.usesShadowDom),S=[un(pi,{loading:"lazy"})]):_.passthroughNonEmpty?(M(n.usesShadowDom),S=C(r).every(Si)?null:[un(pi,{loading:"lazy"})]):_.attr?(S=r.getAttribute(_.attr),_.media&&null!=S&&(S=u.resolveListQuery(String(S)))):_.parseAttrs&&(M(_.attrs||_.attrMatches),S=_.parseAttrs(r)),null==S)null!=_.default&&(t[w]=_.default);else{var x="number"==_.type?parseFloat(S):"boolean"==_.type?null==(j=S)?void 0:"false"!==j:S;t[w]=x}}var j}function Oi(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return un(r,t)}function ki(n,t){for(var i in t){var r=t[i];if(u=n,e="string"==typeof r?r:r.selector,o=void 0,(o=u.matches||u.webkitMatchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector)&&o.call(u,e))return i}var u,e,o;return null}var Mi=self.AMP_CONFIG||{},Ai=("string"==typeof Mi.thirdPartyFrameRegex?new RegExp(Mi.thirdPartyFrameRegex):Mi.thirdPartyFrameRegex,("string"==typeof Mi.cdnProxyRegex?new RegExp(Mi.cdnProxyRegex):Mi.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Ei(n){if(!self.document||!self.document.head)return null;if(self.location&&Ai.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Mi.thirdPartyUrl,Mi.thirdPartyFrameHost,Mi.cdnUrl||Ei("runtime-host"),Mi.errorReportingUrl,Mi.betaErrorReportingUrl,Mi.localDev,Mi.geoApiUrl||Ei("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Pi=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+Pi,"gim"),new RegExp("(-shadowcsscontext"+Pi,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var zi={childList:!0},Ri={childList:!0,characterData:!0},Ti={childList:!0},Ii=S({"style":"display: contents; background: inherit;","part":"c"}),Ci=S({"name":"i-amphtml-svc"}),Li=S({"i-amphtml-rendered":""}),Hi=function(){return!0},Ni=function(n){return!!n.media},Fi=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Yi=function(n){e(i,n);var t=c(i);function i(n){var i;return(i=t.call(this,n)).xl=S({"loading":"auto","onReadyState":function(n,t){i.jl(n,t)},"onPlayingState":function(n){i.Ol(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}}),i.kl={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Ml=!1,i.Al=null,i.El=null,i.Pl=function(n){null!==n&&(i.Al?i.zl(n):i.Rl(n)),i.El=n,i.Tl()},i.Il=null,i.Cl=null,i.Ll=null,i.Hl=!1,i.Nl=null,i.Fl=function(){i.Hl=!1,i.Yl()},i.$l=!1,i.Bi=!1,i.observer=null,i.Vl=new Xt(n),i.un=null,i}i.R1=function(){return!0},i.requiresShadowDom=function(){return this.usesShadowDom},i.usesLoading=function(){return this.loadable},i.prerenderAllowed=function(){return!this.usesLoading()};var u=i.prototype;return u.init=function(){},u.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},u.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.ql(t)}));var i=t.props,u=wi(i,_i)?zi:null,e=wi(i,Fi)?Ri:null,o=t.usesTemplate?Ti:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.un=wi(i,Ni)?new At(this.win,(function(){return n.Wl()})):null;var l=t.staticProps,f=this.init();Object.assign(this.xl,l,f),this.checkPropsPostMutations(),_t(this.element,[],(function(){return function(){n.Bi=!1,n.Ll&&jn(null,n.Ll)}})),_t(this.element,[Qt,ni,ti],(function(t,i,r){n.kl.renderable=t,n.kl.playable=i,n.kl.loading=r,n.Bi=!0,n.Wl()}));var a,c=t.useContexts;return 0!=c.length&&_t(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Cl=i,n.Wl()})),this.Nl=new J,this.Wl(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Tl(),this.Nl.promise},u.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(S({"loading":"eager"})),this.Ml=!0)},u.mountCallback=function(){jt(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Ml=!1)},u.unmountCallback=function(){var n;jt(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ol(!1),null===(n=this.un)||void 0===n||n.dispose()},u.mutatedAttributesCallback=function(){this.Ll&&this.Wl()},u.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},u.mutateProps=function(n){Object.assign(this.xl,n),this.Wl()},u.api=function(){return M(this.El)},u.registerApiAction=function(n,t){var i,r=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){return t(r.api(),n)}),u)},u.mutationObserverCallback=function(n){},u.checkPropsPostMutations=function(){},u.updatePropsForRendering=function(n){},u.isReady=function(n){return!0},u.ql=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o=r[u];if(t.attributeName==o.attr||o.attrs&&o.attrs.includes(M(t.attributeName))||null!==(e=o.attrMatches)&&void 0!==e&&e.call(o,t.attributeName))return!0}return!1}return"childList"==i&&(Vi(t.addedNodes)||Vi(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.Wl())},u.Wl=function(){this.Hl||(this.Hl=!0,this.mutateElement(this.Fl))},u.Tl=function(){var n=this.El,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.jl(t)},u.jl=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Ol("complete"==n),this.Ml&&(this.Ml=!1,this.mutateProps({"loading":"auto"}))},u.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},u.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},u.handleOnError=function(){var n,t,i,r,u;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(u=this.togglePlaceholder)||void 0===u||u.call(this,!0)},u.Yl=function(){var n,t,i,u=this;if(this.Bi){var e,o=this.constructor,l=o.usesShadowDom,f=l?null:o.lightDomTag,a=o.detached;if(!this.Ll){var c=this.win.document;if(l){M(!a);var s=this.element.shadowRoot,v=s&&(e=s,z("c"),T(e,"> ".concat("c")));if(v)this.$l=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||((o=new u.CSSStyleSheet).replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=N(c,"c",Ii),s.appendChild(v);var w=N(c,"slot",Ci);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Ll=v,function(n,t){dt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;dt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Hi,-1),n=this.element,t=Qt,this,null===(i=dt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(f){this.Ll=this.element;var _=I(this.Ll,"i-amphtml-rendered")||N(c,f,Li);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Ll.appendChild(_)}else{var S=c.createElement("i-amphtml-c");this.Ll=S,S.classList.add("i-amphtml-fill-content"),a||this.element.appendChild(S)}}var x=o.useContexts,j=this.Cl;if(0==x.length||null!=j){var O=xi(o,this.element,this.Pl,this.xl,this.un);if(this.updatePropsForRendering(O),this.isReady(O)){for(var k=un(o.Component,O),A=0;A<x.length;A++){var E=x[A].type,P=j[A];P&&(k=un(E.Provider,{value:P},k))}var R=un(Jt,r({},this.kl),k);if(this.$l)this.$l=!1,On(R,this.Ll);else{var C=f?I(this.Ll,"i-amphtml-rendered"):null;C&&(C.__AMP_RENDERED=!0),jn(R,this.Ll,C)}l||a||this.mutateElement((function(){return F(u.element,"amp:dom-update",null)})),this.Nl&&(this.Nl.resolve(),this.Nl=null)}}}},u.getProp=function(n,t){return i=this.xl,r=n,w.call(i,r)?this.xl[n]:t;var i,r},u.getApi=function(){var n=this.Al;return n?Promise.resolve(n):(this.Il||(this.Il=new J),this.Il.promise)},u.Rl=function(n){for(var t=_(),i=Object.keys(n),r=0;r<i.length;r++)$i(this,t,i[r]);this.Al=t,this.Il&&(this.Il.resolve(t),this.Il=null)},u.zl=function(n){},u.triggerEvent=function(n,t,i){F(n,t,i)},u.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(S({"loading":"unload"})),this.Ml=!0;else{var n,t=this.El;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},u.Ol=function(n){this.Vl.updatePlaying(n)},i}(Dt);function $i(n,t,i){Object.defineProperty(t,i,{configurable:!0,get:function(){return n.El[i]},set:function(t){n.El[i]=t}})}function Vi(n){for(var t=0;t<n.length;t++){var i=n[t];if(k(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function qi(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}Yi.Component=function(){M(!1)},Yi.staticProps=void 0,Yi.useContexts=[],Yi.loadable=!1,Yi.unloadOnPause=!1,Yi.layoutSizeDefined=!1,Yi.lightDomTag="",Yi.usesTemplate=!1,Yi.shadowCss=null,Yi.usesShadowDom=!1,Yi.detached=!1,Yi.delegatesFocus=!1,Yi.props={};var Wi,Bi=["ref"],Di="undefined"!=typeof Symbol&&(null===(Wi=Symbol.for)||void 0===Wi?void 0:Wi.call(Symbol,"react.forward_ref"))||3911,Zi=V.__b;function Ui(n){function t(t){var i=t.ref,r=qi(t,Bi);return n(r,i)}return t.$$typeof=Di,t.render=t,t.prototype.isReactComponent=!0,t.Bl=!0,t}function Xi(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}V.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Bl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Zi||Zi(n)};var Gi=[null,"paint","layout","content","size","size paint","size layout","strict"],Ji={"position":"relative","width":"100%","height":"100%"};function Ki(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qi(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function nr(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}Ui((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,_=n.wrapperStyle,S=n[i],x=(b?4:0)+(d?2:0)+(y?1:0);return un(e,r(r({},qi(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(Xi))),{},{ref:t,class:"".concat(S||""," ").concat(w||"").trim()||null,style:r(r(r({},g),_),{},{contain:Gi[x]})}),un(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Ji),{},{"overflow":y?"hidden":"visible"},v)}),o))})),Ui((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return un(e,r(r({},qi(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(Xi))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var tr=["animate","as","children","expandSingleSection","id"],ir=["animate","as","children","expanded","id","onExpandStateChange"],rr=kn({}),ur=kn({}),er={},or={},lr=ri(),fr=function(){return String(Math.floor(1e5*Math.random()))},ar=Ui((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=qi(n,tr),h=Ki(Cn(er),2),d=h[0],p=h[1],y=Nn(or),m=Ki(Cn(fr),1)[0],b=s||"a".concat(m);Ln((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=$n((function(n,i,u){var e=u.current;return p((function(t){return cr(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return x(t,n)})),y.current=x(y.current,n)}}),[c]),w=$n((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=cr(n,r,i,c);return Y().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),_=$n((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),S=$n((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),j=$n((function(n){if(n)_(n,!0)||w(n);else if(!c)for(var t in d)_(t,!0)||w(t)}),[d,w,_,c]),O=$n((function(n){if(n)_(n,!1)&&w(n);else for(var t in d)_(t,!1)&&w(t)}),[d,w,_]);Fn(i,(function(){return{toggle:S,expand:j,collapse:O}}),[S,O,j]);var k=Yn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:_,animate:e,prefix:b}}),[g,w,_,e,b]);return un(l,r({id:s},v),un(rr.Provider,{value:k},f))}));function cr(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function sr(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=qi(n,ir),v=Ki(Cn(lr),1)[0],h=a||v,d=Ki(Cn(fr),1)[0],p=Ki(Cn(f),2),y=p[0],m=p[1],b=Ki(Cn(null),2),g=b[0],w=b[1],_=Ki(Cn(null),2),S=_[0],x=_[1],j=Vn(rr),O=j.animate,k=j.isExpanded,M=j.prefix,A=j.registerSection,E=j.toggleExpanded,P=k?k(h,f):y,z=null!=O?O:i,R=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),T=S||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Nn(null);I.current=c,Hn((function(){if(A)return A(h,f,I)}),[A,h,f]);var C=$n((function(n){E?E(h,n):m((function(t){var i=null!=n?n:!t;return Y().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,E]),L=Yn((function(){return{animate:z,contentId:R,headerId:T,expanded:P,toggleHandler:C,setContentId:w,setHeaderId:x}}),[z,R,T,P,C]);return un(e,r({},s),un(ur.Provider,{value:L},o))}function vr(n){var t="class",i="tabIndex",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.id,f=n.role,a=void 0===f?"button":f,c=n[t],s=void 0===c?"":c,v=n[i],h=void 0===v?0:v,d=qi(n,["as","children","id","role",t,i].map(Xi)),p=Vn(ur),y=p.contentId,m=p.expanded,b=p.headerId,g=p.setHeaderId,w=p.toggleHandler;return Hn((function(){g&&g(l)}),[g,l]),un(e,r(r({},d),{},{id:b,role:a,class:"".concat(s," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:h,"aria-controls":y,onClick:function(){return w()},"aria-expanded":String(m)}),o)}function hr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=qi(n,["as","children","id","role",t].map(Xi)),v=Nn(null),h=Nn(!1),d=Vn(ur),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Ln((function(){return h.current=!0,function(){return h.current=!1}}),[]),Hn((function(){g&&g(o)}),[g,o]),Hn((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Qi(n,(function(){var t=Lt(n,"height"),i=Lt(n,"opacity"),r=Lt(n,"overflowY");Ht(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Ht(n,{height:t,opacity:i,overflowY:r});var e=nr(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Qi(n,(function(){var t=n.offsetHeight,i=nr(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),un(Jt,{renderable:m},un(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}ar.displayName="Accordion";var dr=function(n){e(i,Yi);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(pr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),S({"children":pr(i,r,t).children})},i}();function pr(n,t,i){var u,e,o,l,f,a=(e=n,o="section",z(o),l=e,f="> ".concat(o),(u=E(l)?l.querySelectorAll(P(f,":scope")):R(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=O(n,"__AMP_H_SHIM",mr),e=O(n,"__AMP_C_SHIM",gr),o=O(n,"__AMP_EXPAND_STATE_SHIM",i),l=S({"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o}),f=S({"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0}),a=S({"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0});return un(sr,r({},l),un(vr,r({},f)),un(hr,r({},a)))}));return S({"children":a})}function yr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Hn((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",M(e))}}),[n,l,u,o,e,i,r]),un("header",null)}var mr=function(n){return yr.bind(null,n)};function br(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Nn();return l.current=o,yi(l),function(n,t){Fn(n,(function(){return t}),[t])}(i,o),Hn((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),un("div",null)}var gr=function(n){return Ui(br.bind(null,n))};function wr(){customElements.define("bento-accordion",dr.CustomElement(dr))} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@bentoproject/accordion", | ||
"version": "1.2201052144.0", | ||
"version": "1.2201061922.0", | ||
"description": "Displays content sections that can be collapsed and expanded.", | ||
@@ -5,0 +5,0 @@ "author": "Bento Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1015854