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