@bentoproject/accordion
Advanced tools
Comparing version 1.2111060251.9 to 1.2111152338.2
@@ -1,1 +0,1 @@ | ||
var $,A=Object.create,B=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,E=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,G=function($){return B($,"__esModule",{value:!0})},H=function($){return function($,A,E){if(A&&"object"==typeof A||"function"==typeof A)for(var G,H=D(A),I=0,J=H.length;I<J;I++)G=H[I],F.call($,G)||"default"===G||B($,G,{get:function($){return A[$]}.bind(null,G),enumerable:!(E=C(A,G))||E.enumerable});return $}(G(B(null!=$?A(E($)):{},"default",$&&$.__esModule&&"default"in $?{get:function(){return $.default},enumerable:!0}:{value:$,enumerable:!0})),$)};function I($){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function J($){var A=function($,A){if("object"!==I($)||null===$)return $;var B=$[Symbol.toPrimitive];if(void 0!==B){var C=B.call($,"string");if("object"!==I(C))return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===I(A)?A:String(A)}function K($,A){(null==A||A>$.length)&&(A=$.length);for(var B=0,C=new Array(A);B<A;B++)C[B]=$[B];return C}function L(){return $||($=Promise.resolve(void 0))}function M($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function N($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function O($){for(var A=1;A<arguments.length;A++){var B=null!=arguments[A]?arguments[A]:{};A%2?N(Object(B),!0).forEach((function(A){M($,A,B[A])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(B)):N(Object(B)).forEach((function(A){Object.defineProperty($,A,Object.getOwnPropertyDescriptor(B,A))}))}return $}function P($,A){return function($){if(Array.isArray($))return $}($)||function($,A){var B=null==$?null:"undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(null!=B){var C,D,E=[],F=!0,G=!1;try{for(B=B.call($);!(F=(C=B.next()).done)&&(E.push(C.value),!A||E.length!==A);F=!0);}catch($){G=!0,D=$}finally{try{F||null==B.return||B.return()}finally{if(G)throw D}}return E}}($,A)||function($,A){if($){if("string"==typeof $)return K($,A);var B=Object.prototype.toString.call($).slice(8,-1);return"Object"===B&&$.constructor&&(B=$.constructor.name),"Map"===B||"Set"===B?Array.from($):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?K($,A):void 0}}($,A)||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 Q($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}!function($,A){for(var C in G($),A)B($,C,{get:A[C],enumerable:!0})}(exports,{BentoAccordion:function(){return AG},BentoAccordionContent:function(){return AK},BentoAccordionHeader:function(){return AJ},BentoAccordionSection:function(){return AI}});var R=Object.prototype;function S($,A){return Object.keys($).reduce((function(B,C){return A.includes(C)||(B[C]=$[C]),B}),{})}R.hasOwnProperty,R.toString;var T=H(require("preact")),U=(H(require("preact")),H(require("preact/hooks")));function V($,A,B){return T.createElement.apply(void 0,arguments)}function W($){return T.createContext($,void 0)}function X($){return U.useState($)}function Y($){return U.useRef($)}function Z($,A){U.useEffect($,A)}function _($,A){U.useLayoutEffect($,A)}function a($){return U.useContext($)}function b($,A){return U.useMemo($,A)}function c($,A){return U.useCallback($,A)}var d,e,f=H(require("preact")),g=["ref"],h="undefined"!=typeof Symbol&&(null===(d=Symbol.for)||void 0===d?void 0:d.call(Symbol,"react.forward_ref"))||3911,i=f.options.__b;f.options.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==i||i($)};var j,k=["auto","lazy","eager","unload"],l=(M(e={},"auto",0),M(e,"lazy",1),M(e,"eager",2),M(e,"unload",3),e);function m($,A){var B=l[$]||0,C=l[A]||0,D=Math.max(B,C);return k[D]}function n(){return j||(j=W({renderable:!0,playable:!0,loading:"auto"}))}function o($){var A=$.children,B=$.loading,C=void 0===B?"auto":B,D=$.notify,E=$.playable,F=void 0===E||E,G=$.renderable,H=void 0===G||G,I=a(n()),J=H&&I.renderable,K=J&&F&&I.playable,L=m(J?"auto":"lazy",m(C,I.loading)),M=D||I.notify,N=b((function(){return{renderable:J,playable:K,loading:L,notify:M}}),[J,K,L,M]);return V(n().Provider,{children:A,value:N})}Array.isArray;var p,q=["Webkit","webkit","Moz","moz","ms","O","o"];function r($,A,B){if(v(A))return A;var C;p||(C=Object.create(null),p=C);var D=p[A];if(!D||B){if(D=A,void 0===$[A]){var E=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),F=function($,A){for(var B=0;B<q.length;B++){var C=q[B]+A;if(void 0!==$[C])return C}return""}($,E);void 0!==$[F]&&(D=F)}B||(p[A]=D)}return D}function s($,A,B,C,D){var E=r($.style,A,D);if(E){var F=C?B+C:B;v(E)?$.style.setProperty(E,F):$.style[E]=F}}function t($,A,B){var C=r($.style,A,B);if(C)return v(C)?$.style.getPropertyValue(C):$.style[C]}function u($,A){for(var B in A)s($,B,A[B])}function v($){return $.startsWith("--")}function w($,A){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;$.classList.add("i-amphtml-animating");var C=A();return C.onfinish=C.oncancel=function(){C=null,B&&B(),$.classList.remove("i-amphtml-animating")},function(){C&&C.cancel()}}function x($){var A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}var y,z=["animate","as","children","expandSingleSection","id"],A$=["animate","as","children","expanded","id","onExpandStateChange"],AA=W({}),AB=W({}),AC={},AD={},AE=(y=0,function(){return String(++y)}),AF=function(){return String(Math.floor(1e5*Math.random()))},AG=function($){function A($){var A=$.ref;return function($,A){var B=$.animate,C=void 0!==B&&B,D=$.as,E=void 0===D?"section":D,F=$.children,G=$.expandSingleSection,H=void 0!==G&&G,I=$.id,J=Q($,z),K=P(X(AC),2),N=K[0],R=K[1],T=Y(AD),W=P(X(AF),1)[0],_=I||"a".concat(W);Z((function(){H&&R((function($){var A={},B=0;for(var C in $)A[C]=$[C]&&0==B++;return A}))}),[H]);var a=c((function($,A,B){var C=B.current;return R((function(B){return AH($,A,B,H)})),T.current=O(O({},T.current),{},M({},$,C)),function(){R((function(A){return S(A,$)})),T.current=S(T.current,$)}}),[H]),d=c((function($,A){R((function(B){var C=null!=A?A:!B[$],D=AH($,C,B,H);return L().then((function(){for(var $ in B){var A=T.current[$];A&&B[$]!=D[$]&&A(D[$])}})),D}))}),[H]),e=c((function($,A){var B;return null!==(B=N[$])&&void 0!==B?B:A}),[N]),f=c((function($){if($)$ in N&&d($);else if(!H)for(var A in N)d(A)}),[N,d,H]),g=c((function($){if($)e($,!0)||d($);else if(!H)for(var A in N)e(A,!0)||d(A)}),[N,d,e,H]),h=c((function($){if($)e($,!1)&&d($);else for(var A in N)e(A,!1)&&d(A)}),[N,d,e]);!function($,A,B){U.useImperativeHandle($,(function(){return{toggle:f,expand:g,collapse:h}}),B)}(A,0,[f,h,g]);var i=b((function(){return{registerSection:a,toggleExpanded:d,isExpanded:e,animate:C,prefix:_}}),[a,d,e,C,_]);return V(E,O({id:I},J),V(AA.Provider,{value:i},F))}(Q($,g),A)}return A.$$typeof=h,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}();function AH($,A,B,C){var D;if(C&&A)for(var E in D=M({},$,A),B)E!=$&&(D[E]=!1);else D=O(O({},B),{},M({},$,A));return D}function AI($){var A=$.animate,B=void 0!==A&&A,C=$.as,D=void 0===C?"section":C,E=$.children,F=$.expanded,G=void 0!==F&&F,H=$.id,I=$.onExpandStateChange,J=Q($,A$),K=P(X(AE),1)[0],M=H||K,N=P(X(AF),1)[0],R=P(X(G),2),S=R[0],T=R[1],U=P(X(null),2),W=U[0],Z=U[1],d=P(X(null),2),e=d[0],f=d[1],g=a(AA),h=g.animate,i=g.isExpanded,j=g.prefix,k=g.registerSection,l=g.toggleExpanded,m=i?i(M,G):S,n=null!=h?h:B,o=W||"".concat(j||"a","-content-").concat(M,"-").concat(N),p=e||"".concat(j||"a","-header-").concat(M,"-").concat(N),q=Y(null);q.current=I,_((function(){if(k)return k(M,G,q)}),[k,M,G]);var r=c((function($){l?l(M,$):T((function(A){var B=null!=$?$:!A;return L().then((function(){var $=q.current;$&&$(B)})),B}))}),[M,l]),s=b((function(){return{animate:n,contentId:o,headerId:p,expanded:m,toggleHandler:r,setContentId:Z,setHeaderId:f}}),[n,o,p,m,r]);return V(D,O({},J),V(AB.Provider,{value:s},E))}function AJ($){var A="class",B="tabIndex",C=$.as,D=void 0===C?"div":C,E=$.children,F=$.id,G=$.role,H=void 0===G?"button":G,I=$[A],K=void 0===I?"":I,L=$[B],M=void 0===L?0:L,N=Q($,["as","children","id","role",A,B].map(J)),P=a(AB),R=P.contentId,S=P.expanded,T=P.headerId,U=P.setHeaderId,W=P.toggleHandler;return _((function(){U&&U(F)}),[U,F]),V(D,O(O({},N),{},{id:T,role:H,class:"".concat(K," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:M,"aria-controls":R,onClick:function(){return W()},"aria-expanded":String(S)}),E)}function AK($){var A="class",B=$.as,C=void 0===B?"div":B,D=$.children,E=$.id,F=$.role,G=void 0===F?"region":F,H=$[A],I=void 0===H?"":H,K=Q($,["as","children","id","role",A].map(J)),L=Y(null),M=Y(!1),N=a(AB),P=N.animate,R=N.contentId,S=N.expanded,T=N.headerId,U=N.setContentId;return Z((function(){return M.current=!0,function(){return M.current=!1}}),[]),_((function(){U&&U(E)}),[U,E]),_((function(){var $=M.current,A=L.current;if(P&&$&&A&&A.animate)return S?function($){return w($,(function(){var A=t($,"height"),B=t($,"opacity"),C=t($,"overflowY");u($,{height:0,opacity:0,overflowY:"auto"});var D=$.scrollHeight;u($,{height:A,opacity:B,overflowY:C});var E=x(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return w($,(function(){var A=$.offsetHeight,B=x(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[S,P]),V(o,{renderable:S},V(C,O(O({},K),{},{ref:L,class:I+" section-child-00fce3c"+(S?"":" content-hidden-00fce3c"),id:R,"aria-labelledby":T,role:G}),D))}AG.displayName="Accordion"; | ||
var a,b=Object.create,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,f=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,h=function(a){return c(a,"__esModule",{value:!0})},i=function(a){return function(a,b,f){if(b&&"object"==typeof b||"function"==typeof b)for(var h,i=e(b),j=0,k=i.length;j<k;j++)h=i[j],g.call(a,h)||"default"===h||c(a,h,{get:function(a){return b[a]}.bind(null,h),enumerable:!(f=d(b,h))||f.enumerable});return a}(h(c(null!=a?b(f(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function j(a){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function k(a){var b=function(a,b){if("object"!==j(a)||null===a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,"string");if("object"!==j(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===j(b)?b:String(b)}function l(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function m(){return a||(a=Promise.resolve(void 0))}function n(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function o(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function p(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?o(Object(c),!0).forEach((function(b){n(a,b,c[b])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):o(Object(c)).forEach((function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))}))}return a}function q(a,b){return function(a){if(Array.isArray(a))return a}(a)||function(a,b){var c=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=c){var d,e,f=[],g=!0,h=!1;try{for(c=c.call(a);!(g=(d=c.next()).done)&&(f.push(d.value),!b||f.length!==b);g=!0);}catch(a){h=!0,e=a}finally{try{g||null==c.return||c.return()}finally{if(h)throw e}}return f}}(a,b)||function(a,b){if(a){if("string"==typeof a)return l(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?l(a,b):void 0}}(a,b)||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 r(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}!function(a,b){for(var d in h(a),b)c(a,d,{get:b[d],enumerable:!0})}(exports,{BentoAccordion:function(){return bh},BentoAccordionContent:function(){return bl},BentoAccordionHeader:function(){return bk},BentoAccordionSection:function(){return bj}});var s=Object.prototype;function t(a,b){return Object.keys(a).reduce((function(c,d){return b.includes(d)||(c[d]=a[d]),c}),{})}s.hasOwnProperty,s.toString;var u=i(require("preact")),v=(i(require("preact")),i(require("preact/hooks")));function w(a,b,c){return u.createElement.apply(void 0,arguments)}function x(a){return u.createContext(a,void 0)}function y(a){return v.useState(a)}function z(a){return v.useRef(a)}function A(a,b){v.useEffect(a,b)}function B(a,b){v.useLayoutEffect(a,b)}function C(a){return v.useContext(a)}function D(a,b){return v.useMemo(a,b)}function E(a,b){return v.useCallback(a,b)}var F,G,H=i(require("preact")),I=["ref"],J="undefined"!=typeof Symbol&&(null===(F=Symbol.for)||void 0===F?void 0:F.call(Symbol,"react.forward_ref"))||3911,K=H.options.__b;H.options.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==K||K(a)};var L,M=["auto","lazy","eager","unload"],N=(n(G={},"auto",0),n(G,"lazy",1),n(G,"eager",2),n(G,"unload",3),G);function O(a,b){var c=N[a]||0,d=N[b]||0,e=Math.max(c,d);return M[e]}function P(){return L||(L=x({renderable:!0,playable:!0,loading:"auto"}))}function Q(a){var b=a.children,c=a.loading,d=void 0===c?"auto":c,e=a.notify,f=a.playable,g=void 0===f||f,h=a.renderable,i=void 0===h||h,j=C(P()),k=i&&j.renderable,l=k&&g&&j.playable,m=O(k?"auto":"lazy",O(d,j.loading)),n=e||j.notify,o=D((function(){return{renderable:k,playable:l,loading:m,notify:n}}),[k,l,m,n]);return w(P().Provider,{children:b,value:o})}Array.isArray;var R,S=["Webkit","webkit","Moz","moz","ms","O","o"];function T(a,b,c){if(X(b))return b;var d;R||(d=Object.create(null),R=d);var e=R[b];if(!e||c){if(e=b,void 0===a[b]){var f=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),g=function(a,b){for(var c=0;c<S.length;c++){var d=S[c]+b;if(void 0!==a[d])return d}return""}(a,f);void 0!==a[g]&&(e=g)}c||(R[b]=e)}return e}function U(a,b,c,d,e){var f=T(a.style,b,e);if(f){var g=d?c+d:c;X(f)?a.style.setProperty(f,g):a.style[f]=g}}function V(a,b,c){var d=T(a.style,b,c);if(d)return X(d)?a.style.getPropertyValue(d):a.style[d]}function W(a,b){for(var c in b)U(a,c,b[c])}function X(a){return a.startsWith("--")}function Y(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a.classList.add("i-amphtml-animating");var d=b();return d.onfinish=d.oncancel=function(){d=null,c&&c(),a.classList.remove("i-amphtml-animating")},function(){d&&d.cancel()}}function Z(a){var b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}var $,_=["animate","as","children","expandSingleSection","id"],ba=["animate","as","children","expanded","id","onExpandStateChange"],bb=x({}),bc=x({}),bd={},be={},bf=($=0,function(){return String(++$)}),bg=function(){return String(Math.floor(1e5*Math.random()))},bh=function(a){function b(a){var b=a.ref;return function(a,b){var c=a.animate,d=void 0!==c&&c,e=a.as,f=void 0===e?"section":e,g=a.children,h=a.expandSingleSection,i=void 0!==h&&h,j=a.id,k=r(a,_),l=q(y(bd),2),o=l[0],s=l[1],u=z(be),x=q(y(bg),1)[0],B=j||"a".concat(x);A((function(){i&&s((function(a){var b={},c=0;for(var d in a)b[d]=a[d]&&0==c++;return b}))}),[i]);var C=E((function(a,b,c){var d=c.current;return s((function(c){return bi(a,b,c,i)})),u.current=p(p({},u.current),{},n({},a,d)),function(){s((function(b){return t(b,a)})),u.current=t(u.current,a)}}),[i]),F=E((function(a,b){s((function(c){var d=null!=b?b:!c[a],e=bi(a,d,c,i);return m().then((function(){for(var a in c){var b=u.current[a];b&&c[a]!=e[a]&&b(e[a])}})),e}))}),[i]),G=E((function(a,b){var c;return null!==(c=o[a])&&void 0!==c?c:b}),[o]),H=E((function(a){if(a)a in o&&F(a);else if(!i)for(var b in o)F(b)}),[o,F,i]),I=E((function(a){if(a)G(a,!0)||F(a);else if(!i)for(var b in o)G(b,!0)||F(b)}),[o,F,G,i]),J=E((function(a){if(a)G(a,!1)&&F(a);else for(var b in o)G(b,!1)&&F(b)}),[o,F,G]);!function(a,b,c){v.useImperativeHandle(a,(function(){return{toggle:H,expand:I,collapse:J}}),c)}(b,0,[H,J,I]);var K=D((function(){return{registerSection:C,toggleExpanded:F,isExpanded:G,animate:d,prefix:B}}),[C,F,G,d,B]);return w(f,p({id:j},k),w(bb.Provider,{value:K},g))}(r(a,I),b)}return b.$$typeof=J,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}();function bi(a,b,c,d){var e;if(d&&b)for(var f in e=n({},a,b),c)f!=a&&(e[f]=!1);else e=p(p({},c),{},n({},a,b));return e}function bj(a){var b=a.animate,c=void 0!==b&&b,d=a.as,e=void 0===d?"section":d,f=a.children,g=a.expanded,h=void 0!==g&&g,i=a.id,j=a.onExpandStateChange,k=r(a,ba),l=q(y(bf),1)[0],n=i||l,o=q(y(bg),1)[0],s=q(y(h),2),t=s[0],u=s[1],v=q(y(null),2),x=v[0],A=v[1],F=q(y(null),2),G=F[0],H=F[1],I=C(bb),J=I.animate,K=I.isExpanded,L=I.prefix,M=I.registerSection,N=I.toggleExpanded,O=K?K(n,h):t,P=null!=J?J:c,Q=x||"".concat(L||"a","-content-").concat(n,"-").concat(o),R=G||"".concat(L||"a","-header-").concat(n,"-").concat(o),S=z(null);S.current=j,B((function(){if(M)return M(n,h,S)}),[M,n,h]);var T=E((function(a){N?N(n,a):u((function(b){var c=null!=a?a:!b;return m().then((function(){var a=S.current;a&&a(c)})),c}))}),[n,N]),U=D((function(){return{animate:P,contentId:Q,headerId:R,expanded:O,toggleHandler:T,setContentId:A,setHeaderId:H}}),[P,Q,R,O,T]);return w(e,p({},k),w(bc.Provider,{value:U},f))}function bk(a){var b="class",c="tabIndex",d=a.as,e=void 0===d?"div":d,f=a.children,g=a.id,h=a.role,i=void 0===h?"button":h,j=a[b],l=void 0===j?"":j,m=a[c],n=void 0===m?0:m,o=r(a,["as","children","id","role",b,c].map(k)),q=C(bc),s=q.contentId,t=q.expanded,u=q.headerId,v=q.setHeaderId,x=q.toggleHandler;return B((function(){v&&v(g)}),[v,g]),w(e,p(p({},o),{},{id:u,role:i,class:"".concat(l," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:n,"aria-controls":s,onClick:function(){return x()},"aria-expanded":String(t)}),f)}function bl(a){var b="class",c=a.as,d=void 0===c?"div":c,e=a.children,f=a.id,g=a.role,h=void 0===g?"region":g,i=a[b],j=void 0===i?"":i,l=r(a,["as","children","id","role",b].map(k)),m=z(null),n=z(!1),o=C(bc),q=o.animate,s=o.contentId,t=o.expanded,u=o.headerId,v=o.setContentId;return A((function(){return n.current=!0,function(){return n.current=!1}}),[]),B((function(){v&&v(f)}),[v,f]),B((function(){var a=n.current,b=m.current;if(q&&a&&b&&b.animate)return t?function(a){return Y(a,(function(){var b=V(a,"height"),c=V(a,"opacity"),d=V(a,"overflowY");W(a,{height:0,opacity:0,overflowY:"auto"});var e=a.scrollHeight;W(a,{height:b,opacity:c,overflowY:d});var f=Z(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return Y(a,(function(){var b=a.offsetHeight,c=Z(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[t,q]),w(Q,{renderable:t},w(d,p(p({},l),{},{ref:m,class:j+" section-child-00fce3c"+(t?"":" content-hidden-00fce3c"),id:s,"aria-labelledby":u,role:h}),e))}bh.displayName="Accordion"; |
@@ -1,1 +0,1 @@ | ||
var $;function A($){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function B($){var B=function($,B){if("object"!==A($)||null===$)return $;var C=$[Symbol.toPrimitive];if(void 0!==C){var D=C.call($,"string");if("object"!==A(D))return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===A(B)?B:String(B)}function C(){return $||($=Promise.resolve(void 0))}function D($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function E($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function F($){for(var A=1;A<arguments.length;A++){var B=null!=arguments[A]?arguments[A]:{};A%2?E(Object(B),!0).forEach((function(A){D($,A,B[A])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(B)):E(Object(B)).forEach((function(A){Object.defineProperty($,A,Object.getOwnPropertyDescriptor(B,A))}))}return $}function G($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}var{hasOwnProperty:H,toString:I}=Object.prototype;function J($,A){return Object.keys($).reduce(((B,C)=>(A.includes(C)||(B[C]=$[C]),B)),{})}import{cloneElement as K,createContext as L,createElement as M,createRef as N,toChildArray as O}from"preact";import{hydrate as P,render as Q}from"preact";import{useCallback as R,useContext as S,useEffect as T,useImperativeHandle as U,useLayoutEffect as V,useMemo as W,useRef as X,useState as Y}from"preact/hooks";function Z($,A,B){return M.apply(void 0,arguments)}function _($){return L($,void 0)}function a($){return Y($)}function b($){return X($)}function c($,A){T($,A)}function d($,A){V($,A)}function e($){return S($)}function f($,A){return W($,A)}function g($,A){return R($,A)}import{options as h}from"preact";var i,j=["ref"],k="undefined"!=typeof Symbol&&(null===(i=Symbol.for)||void 0===i?void 0:i.call(Symbol,"react.forward_ref"))||3911,l=h.__b;h.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==l||l($)};var m,n,o=["auto","lazy","eager","unload"],p={auto:0,lazy:1,eager:2,unload:3};function q($,A){const B=p[$]||0,C=p[A]||0,D=Math.max(B,C);return o[D]}function r(){return m||(m=_({renderable:!0,playable:!0,loading:"auto"}))}function s({children:$,loading:A="auto",notify:B,playable:C=!0,renderable:D=!0}){const E=e(r()),F=D&&E.renderable,G=F&&C&&E.playable,H=q(F?"auto":"lazy",q(A,E.loading)),I=B||E.notify,J=f((()=>({renderable:F,playable:G,loading:H,notify:I})),[F,G,H,I]);return Z(r().Provider,{children:$,value:J})}var t=["Webkit","webkit","Moz","moz","ms","O","o"];function u($,A,B){if(y(A))return A;n||(n=Object.create(null));let C=n[A];if(!C||B){if(C=A,void 0===$[A]){const B=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),D=function($,A){for(let B=0;B<t.length;B++){const C=t[B]+A;if(void 0!==$[C])return C}return""}($,B);void 0!==$[D]&&(C=D)}B||(n[A]=C)}return C}function v($,A,B,C,D){const E=u($.style,A,D);if(!E)return;const F=C?B+C:B;y(E)?$.style.setProperty(E,F):$.style[E]=F}function w($,A,B){const C=u($.style,A,B);if(C)return y(C)?$.style.getPropertyValue(C):$.style[C]}function x($,A){for(const B in A)v($,B,A[B])}function y($){return $.startsWith("--")}function z($,A,B){$.classList.add("i-amphtml-animating");let C=A();return C.onfinish=C.oncancel=()=>{C=null,B&&B(),$.classList.remove("i-amphtml-animating")},()=>{C&&C.cancel()}}function A$($){const A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}var AA=["animate","as","children","expandSingleSection","id"],AB=["animate","as","children","expanded","id","onExpandStateChange"],AC=_({}),AD=_({}),AE={},AF={},AG=function(){let $=0;return()=>String(++$)}(),AH=()=>String(Math.floor(1e5*Math.random())),AI=function($){function A($){const{ref:A}=$;return function($,A){let{animate:B=!1,as:D="section",children:E,expandSingleSection:H=!1,id:I}=$,K=G($,AA);const[L,M]=a(AE),N=b(AF),[O]=a(AH),P=I||`a${O}`;c((()=>{H&&M(($=>{const A={};let B=0;for(const C in $)A[C]=$[C]&&0==B++;return A}))}),[H]);const Q=g((($,A,{current:B})=>(M((B=>AJ($,A,B,H))),N.current=F(F({},N.current),{},{[$]:B}),()=>{M((A=>J(A,$))),N.current=J(N.current,$)})),[H]),R=g((($,A)=>{M((B=>{const D=null!=A?A:!B[$],E=AJ($,D,B,H);return C().then((()=>{for(const $ in B){const A=N.current[$];A&&B[$]!=E[$]&&A(E[$])}})),E}))}),[H]),S=g((($,A)=>{var B;return null!==(B=L[$])&&void 0!==B?B:A}),[L]),T=g(($=>{if($)$ in L&&R($);else if(!H)for(const $ in L)R($)}),[L,R,H]),V=g(($=>{if($)S($,!0)||R($);else if(!H)for(const $ in L)S($,!0)||R($)}),[L,R,S,H]),W=g(($=>{if($)S($,!1)&&R($);else for(const $ in L)S($,!1)&&R($)}),[L,R,S]);!function($,A,B){U($,(()=>({toggle:T,expand:V,collapse:W})),B)}(A,0,[T,W,V]);const X=f((()=>({registerSection:Q,toggleExpanded:R,isExpanded:S,animate:B,prefix:P})),[Q,R,S,B,P]);return Z(D,F({id:I},K),Z(AC.Provider,{value:X},E))}(G($,j),A)}return A.$$typeof=k,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}();function AJ($,A,B,C){let D;if(C&&A){D={[$]:A};for(const A in B)A!=$&&(D[A]=!1)}else D=F(F({},B),{},{[$]:A});return D}function AK($){let{animate:A=!1,as:B="section",children:D,expanded:E=!1,id:H,onExpandStateChange:I}=$,J=G($,AB);const[K]=a(AG),L=H||K,[M]=a(AH),[N,O]=a(E),[P,Q]=a(null),[R,S]=a(null),{animate:T,isExpanded:U,prefix:V,registerSection:W,toggleExpanded:X}=e(AC),Y=U?U(L,E):N,_=null!=T?T:A,c=P||`${V||"a"}-content-${L}-${M}`,h=R||`${V||"a"}-header-${L}-${M}`,i=b(null);i.current=I,d((()=>{if(W)return W(L,E,i)}),[W,L,E]);const j=g(($=>{X?X(L,$):O((A=>{const B=null!=$?$:!A;return C().then((()=>{const $=i.current;$&&$(B)})),B}))}),[L,X]),k=f((()=>({animate:_,contentId:c,headerId:h,expanded:Y,toggleHandler:j,setContentId:Q,setHeaderId:S})),[_,c,h,Y,j]);return Z(B,F({},J),Z(AD.Provider,{value:k},D))}function AL($){let A="class",C="tabIndex",{as:D="div",children:E,id:H,role:I="button",[A]:J="",[C]:K=0}=$,L=G($,["as","children","id","role",A,C].map(B));const{contentId:M,expanded:N,headerId:O,setHeaderId:P,toggleHandler:Q}=e(AD);return d((()=>{P&&P(H)}),[P,H]),Z(D,F(F({},L),{},{id:O,role:I,class:`${J} section-child-00fce3c header-00fce3c`,tabIndex:K,"aria-controls":M,onClick:()=>Q(),"aria-expanded":String(N)}),E)}function AM($){let A="class",{as:C="div",children:D,id:E,role:H="region",[A]:I=""}=$,J=G($,["as","children","id","role",A].map(B));const K=b(null),L=b(!1),{animate:M,contentId:N,expanded:O,headerId:P,setContentId:Q}=e(AD);return c((()=>(L.current=!0,()=>L.current=!1)),[]),d((()=>{Q&&Q(E)}),[Q,E]),d((()=>{const $=L.current,A=K.current;if(M&&$&&A&&A.animate)return O?function($){return z($,(()=>{const A=w($,"height"),B=w($,"opacity"),C=w($,"overflowY");x($,{height:0,opacity:0,overflowY:"auto"});const D=$.scrollHeight;x($,{height:A,opacity:B,overflowY:C});const E=A$(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return z($,(()=>{const A=$.offsetHeight,B=A$(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[O,M]),Z(s,{renderable:O},Z(C,F(F({},J),{},{ref:K,class:I+" section-child-00fce3c"+(O?"":" content-hidden-00fce3c"),id:N,"aria-labelledby":P,role:H}),D))}AI.displayName="Accordion";export{AI as BentoAccordion,AM as BentoAccordionContent,AL as BentoAccordionHeader,AK as BentoAccordionSection}; | ||
var a;function b(a){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function c(a){var c=function(a,c){if("object"!==b(a)||null===a)return a;var d=a[Symbol.toPrimitive];if(void 0!==d){var e=d.call(a,"string");if("object"!==b(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===b(c)?c:String(c)}function d(){return a||(a=Promise.resolve(void 0))}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function g(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?f(Object(c),!0).forEach((function(b){e(a,b,c[b])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):f(Object(c)).forEach((function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))}))}return a}function h(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}var{hasOwnProperty:i,toString:j}=Object.prototype;function k(a,b){return Object.keys(a).reduce(((c,d)=>(b.includes(d)||(c[d]=a[d]),c)),{})}import{cloneElement as l,createContext as m,createElement as n,createRef as o,toChildArray as p}from"preact";import{hydrate as q,render as r}from"preact";import{useCallback as s,useContext as t,useEffect as u,useImperativeHandle as v,useLayoutEffect as w,useMemo as x,useRef as y,useState as z}from"preact/hooks";function A(a,b,c){return n.apply(void 0,arguments)}function B(a){return m(a,void 0)}function C(a){return z(a)}function D(a){return y(a)}function E(a,b){u(a,b)}function F(a,b){w(a,b)}function G(a){return t(a)}function H(a,b){return x(a,b)}function I(a,b){return s(a,b)}import{options as J}from"preact";var K,L=["ref"],M="undefined"!=typeof Symbol&&(null===(K=Symbol.for)||void 0===K?void 0:K.call(Symbol,"react.forward_ref"))||3911,N=J.__b;J.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==N||N(a)};var O,P,Q=["auto","lazy","eager","unload"],R={auto:0,lazy:1,eager:2,unload:3};function S(a,b){const c=R[a]||0,d=R[b]||0,e=Math.max(c,d);return Q[e]}function T(){return O||(O=B({renderable:!0,playable:!0,loading:"auto"}))}function U({children:a,loading:b="auto",notify:c,playable:d=!0,renderable:e=!0}){const f=G(T()),g=e&&f.renderable,h=g&&d&&f.playable,i=S(g?"auto":"lazy",S(b,f.loading)),j=c||f.notify,k=H((()=>({renderable:g,playable:h,loading:i,notify:j})),[g,h,i,j]);return A(T().Provider,{children:a,value:k})}var V=["Webkit","webkit","Moz","moz","ms","O","o"];function W(a,b,c){if($(b))return b;P||(P=Object.create(null));let d=P[b];if(!d||c){if(d=b,void 0===a[b]){const c=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),e=function(a,b){for(let c=0;c<V.length;c++){const d=V[c]+b;if(void 0!==a[d])return d}return""}(a,c);void 0!==a[e]&&(d=e)}c||(P[b]=d)}return d}function X(a,b,c,d,e){const f=W(a.style,b,e);if(!f)return;const g=d?c+d:c;$(f)?a.style.setProperty(f,g):a.style[f]=g}function Y(a,b,c){const d=W(a.style,b,c);if(d)return $(d)?a.style.getPropertyValue(d):a.style[d]}function Z(a,b){for(const c in b)X(a,c,b[c])}function $(a){return a.startsWith("--")}function _(a,b,c){a.classList.add("i-amphtml-animating");let d=b();return d.onfinish=d.oncancel=()=>{d=null,c&&c(),a.classList.remove("i-amphtml-animating")},()=>{d&&d.cancel()}}function ba(a){const b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}var bb=["animate","as","children","expandSingleSection","id"],bc=["animate","as","children","expanded","id","onExpandStateChange"],bd=B({}),be=B({}),bf={},bg={},bh=function(){let a=0;return()=>String(++a)}(),bi=()=>String(Math.floor(1e5*Math.random())),bj=function(a){function b(a){const{ref:b}=a;return function(a,b){let{animate:c=!1,as:e="section",children:f,expandSingleSection:i=!1,id:j}=a,l=h(a,bb);const[m,n]=C(bf),o=D(bg),[p]=C(bi),q=j||`a${p}`;E((()=>{i&&n((a=>{const b={};let c=0;for(const d in a)b[d]=a[d]&&0==c++;return b}))}),[i]);const r=I(((a,b,{current:c})=>(n((c=>bk(a,b,c,i))),o.current=g(g({},o.current),{},{[a]:c}),()=>{n((b=>k(b,a))),o.current=k(o.current,a)})),[i]),s=I(((a,b)=>{n((c=>{const e=null!=b?b:!c[a],f=bk(a,e,c,i);return d().then((()=>{for(const a in c){const b=o.current[a];b&&c[a]!=f[a]&&b(f[a])}})),f}))}),[i]),t=I(((a,b)=>{var c;return null!==(c=m[a])&&void 0!==c?c:b}),[m]),u=I((a=>{if(a)a in m&&s(a);else if(!i)for(const a in m)s(a)}),[m,s,i]),w=I((a=>{if(a)t(a,!0)||s(a);else if(!i)for(const a in m)t(a,!0)||s(a)}),[m,s,t,i]),x=I((a=>{if(a)t(a,!1)&&s(a);else for(const a in m)t(a,!1)&&s(a)}),[m,s,t]);!function(a,b,c){v(a,(()=>({toggle:u,expand:w,collapse:x})),c)}(b,0,[u,x,w]);const y=H((()=>({registerSection:r,toggleExpanded:s,isExpanded:t,animate:c,prefix:q})),[r,s,t,c,q]);return A(e,g({id:j},l),A(bd.Provider,{value:y},f))}(h(a,L),b)}return b.$$typeof=M,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}();function bk(a,b,c,d){let e;if(d&&b){e={[a]:b};for(const b in c)b!=a&&(e[b]=!1)}else e=g(g({},c),{},{[a]:b});return e}function bl(a){let{animate:b=!1,as:c="section",children:e,expanded:f=!1,id:i,onExpandStateChange:j}=a,k=h(a,bc);const[l]=C(bh),m=i||l,[n]=C(bi),[o,p]=C(f),[q,r]=C(null),[s,t]=C(null),{animate:u,isExpanded:v,prefix:w,registerSection:x,toggleExpanded:y}=G(bd),z=v?v(m,f):o,B=null!=u?u:b,E=q||`${w||"a"}-content-${m}-${n}`,J=s||`${w||"a"}-header-${m}-${n}`,K=D(null);K.current=j,F((()=>{if(x)return x(m,f,K)}),[x,m,f]);const L=I((a=>{y?y(m,a):p((b=>{const c=null!=a?a:!b;return d().then((()=>{const a=K.current;a&&a(c)})),c}))}),[m,y]),M=H((()=>({animate:B,contentId:E,headerId:J,expanded:z,toggleHandler:L,setContentId:r,setHeaderId:t})),[B,E,J,z,L]);return A(c,g({},k),A(be.Provider,{value:M},e))}function bm(a){let b="class",d="tabIndex",{as:e="div",children:f,id:i,role:j="button",[b]:k="",[d]:l=0}=a,m=h(a,["as","children","id","role",b,d].map(c));const{contentId:n,expanded:o,headerId:p,setHeaderId:q,toggleHandler:r}=G(be);return F((()=>{q&&q(i)}),[q,i]),A(e,g(g({},m),{},{id:p,role:j,class:`${k} section-child-00fce3c header-00fce3c`,tabIndex:l,"aria-controls":n,onClick:()=>r(),"aria-expanded":String(o)}),f)}function bn(a){let b="class",{as:d="div",children:e,id:f,role:i="region",[b]:j=""}=a,k=h(a,["as","children","id","role",b].map(c));const l=D(null),m=D(!1),{animate:n,contentId:o,expanded:p,headerId:q,setContentId:r}=G(be);return E((()=>(m.current=!0,()=>m.current=!1)),[]),F((()=>{r&&r(f)}),[r,f]),F((()=>{const a=m.current,b=l.current;if(n&&a&&b&&b.animate)return p?function(a){return _(a,(()=>{const b=Y(a,"height"),c=Y(a,"opacity"),d=Y(a,"overflowY");Z(a,{height:0,opacity:0,overflowY:"auto"});const e=a.scrollHeight;Z(a,{height:b,opacity:c,overflowY:d});const f=ba(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return _(a,(()=>{const b=a.offsetHeight,c=ba(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[p,n]),A(U,{renderable:p},A(d,g(g({},k),{},{ref:l,class:j+" section-child-00fce3c"+(p?"":" content-hidden-00fce3c"),id:o,"aria-labelledby":q,role:i}),e))}bj.displayName="Accordion";export{bj as BentoAccordion,bn as BentoAccordionContent,bm as BentoAccordionHeader,bl as BentoAccordionSection}; |
@@ -1,1 +0,1 @@ | ||
var $,A=Object.create,B=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,E=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,G=function($){return B($,"__esModule",{value:!0})},H=function($){return function($,A,E){if(A&&"object"==typeof A||"function"==typeof A)for(var G,H=D(A),I=0,J=H.length;I<J;I++)G=H[I],F.call($,G)||"default"===G||B($,G,{get:function($){return A[$]}.bind(null,G),enumerable:!(E=C(A,G))||E.enumerable});return $}(G(B(null!=$?A(E($)):{},"default",$&&$.__esModule&&"default"in $?{get:function(){return $.default},enumerable:!0}:{value:$,enumerable:!0})),$)};function I($){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function J($){var A=function($,A){if("object"!==I($)||null===$)return $;var B=$[Symbol.toPrimitive];if(void 0!==B){var C=B.call($,"string");if("object"!==I(C))return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===I(A)?A:String(A)}function K($,A){(null==A||A>$.length)&&(A=$.length);for(var B=0,C=new Array(A);B<A;B++)C[B]=$[B];return C}function L(){return $||($=Promise.resolve(void 0))}function M($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function N($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function O($){for(var A=1;A<arguments.length;A++){var B=null!=arguments[A]?arguments[A]:{};A%2?N(Object(B),!0).forEach((function(A){M($,A,B[A])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(B)):N(Object(B)).forEach((function(A){Object.defineProperty($,A,Object.getOwnPropertyDescriptor(B,A))}))}return $}function P($,A){return function($){if(Array.isArray($))return $}($)||function($,A){var B=null==$?null:"undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(null!=B){var C,D,E=[],F=!0,G=!1;try{for(B=B.call($);!(F=(C=B.next()).done)&&(E.push(C.value),!A||E.length!==A);F=!0);}catch($){G=!0,D=$}finally{try{F||null==B.return||B.return()}finally{if(G)throw D}}return E}}($,A)||function($,A){if($){if("string"==typeof $)return K($,A);var B=Object.prototype.toString.call($).slice(8,-1);return"Object"===B&&$.constructor&&(B=$.constructor.name),"Map"===B||"Set"===B?Array.from($):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?K($,A):void 0}}($,A)||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 Q($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}!function($,A){for(var C in G($),A)B($,C,{get:A[C],enumerable:!0})}(exports,{BentoAccordion:function(){return AG},BentoAccordionContent:function(){return AK},BentoAccordionHeader:function(){return AJ},BentoAccordionSection:function(){return AI}});var R=Object.prototype;function S($,A){return Object.keys($).reduce((function(B,C){return A.includes(C)||(B[C]=$[C]),B}),{})}R.hasOwnProperty,R.toString;var T=H(require("react")),U=(H(require("react-dom")),H(require("react")));function V($,A,B){return T.createElement.apply(void 0,arguments)}function W($){return T.createContext($,void 0)}function X($){return U.useState($)}function Y($){return U.useRef($)}function Z($,A){U.useEffect($,A)}function _($,A){U.useLayoutEffect($,A)}function a($){return U.useContext($)}function b($,A){return U.useMemo($,A)}function c($,A){return U.useCallback($,A)}var d,e,f=H(require("react")),g=["ref"],h="undefined"!=typeof Symbol&&(null===(d=Symbol.for)||void 0===d?void 0:d.call(Symbol,"react.forward_ref"))||3911,i=f.options.__b;f.options.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==i||i($)};var j,k=["auto","lazy","eager","unload"],l=(M(e={},"auto",0),M(e,"lazy",1),M(e,"eager",2),M(e,"unload",3),e);function m($,A){var B=l[$]||0,C=l[A]||0,D=Math.max(B,C);return k[D]}function n(){return j||(j=W({renderable:!0,playable:!0,loading:"auto"}))}function o($){var A=$.children,B=$.loading,C=void 0===B?"auto":B,D=$.notify,E=$.playable,F=void 0===E||E,G=$.renderable,H=void 0===G||G,I=a(n()),J=H&&I.renderable,K=J&&F&&I.playable,L=m(J?"auto":"lazy",m(C,I.loading)),M=D||I.notify,N=b((function(){return{renderable:J,playable:K,loading:L,notify:M}}),[J,K,L,M]);return V(n().Provider,{children:A,value:N})}Array.isArray;var p,q=["Webkit","webkit","Moz","moz","ms","O","o"];function r($,A,B){if(v(A))return A;var C;p||(C=Object.create(null),p=C);var D=p[A];if(!D||B){if(D=A,void 0===$[A]){var E=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),F=function($,A){for(var B=0;B<q.length;B++){var C=q[B]+A;if(void 0!==$[C])return C}return""}($,E);void 0!==$[F]&&(D=F)}B||(p[A]=D)}return D}function s($,A,B,C,D){var E=r($.style,A,D);if(E){var F=C?B+C:B;v(E)?$.style.setProperty(E,F):$.style[E]=F}}function t($,A,B){var C=r($.style,A,B);if(C)return v(C)?$.style.getPropertyValue(C):$.style[C]}function u($,A){for(var B in A)s($,B,A[B])}function v($){return $.startsWith("--")}function w($,A){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;$.classList.add("i-amphtml-animating");var C=A();return C.onfinish=C.oncancel=function(){C=null,B&&B(),$.classList.remove("i-amphtml-animating")},function(){C&&C.cancel()}}function x($){var A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}var y,z=["animate","as","children","expandSingleSection","id"],A$=["animate","as","children","expanded","id","onExpandStateChange"],AA=W({}),AB=W({}),AC={},AD={},AE=(y=0,function(){return String(++y)}),AF=function(){return String(Math.floor(1e5*Math.random()))},AG=function($){function A($){var A=$.ref;return function($,A){var B=$.animate,C=void 0!==B&&B,D=$.as,E=void 0===D?"section":D,F=$.children,G=$.expandSingleSection,H=void 0!==G&&G,I=$.id,J=Q($,z),K=P(X(AC),2),N=K[0],R=K[1],T=Y(AD),W=P(X(AF),1)[0],_=I||"a".concat(W);Z((function(){H&&R((function($){var A={},B=0;for(var C in $)A[C]=$[C]&&0==B++;return A}))}),[H]);var a=c((function($,A,B){var C=B.current;return R((function(B){return AH($,A,B,H)})),T.current=O(O({},T.current),{},M({},$,C)),function(){R((function(A){return S(A,$)})),T.current=S(T.current,$)}}),[H]),d=c((function($,A){R((function(B){var C=null!=A?A:!B[$],D=AH($,C,B,H);return L().then((function(){for(var $ in B){var A=T.current[$];A&&B[$]!=D[$]&&A(D[$])}})),D}))}),[H]),e=c((function($,A){var B;return null!==(B=N[$])&&void 0!==B?B:A}),[N]),f=c((function($){if($)$ in N&&d($);else if(!H)for(var A in N)d(A)}),[N,d,H]),g=c((function($){if($)e($,!0)||d($);else if(!H)for(var A in N)e(A,!0)||d(A)}),[N,d,e,H]),h=c((function($){if($)e($,!1)&&d($);else for(var A in N)e(A,!1)&&d(A)}),[N,d,e]);!function($,A,B){U.useImperativeHandle($,(function(){return{toggle:f,expand:g,collapse:h}}),B)}(A,0,[f,h,g]);var i=b((function(){return{registerSection:a,toggleExpanded:d,isExpanded:e,animate:C,prefix:_}}),[a,d,e,C,_]);return V(E,O({id:I},J),V(AA.Provider,{value:i},F))}(Q($,g),A)}return A.$$typeof=h,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}();function AH($,A,B,C){var D;if(C&&A)for(var E in D=M({},$,A),B)E!=$&&(D[E]=!1);else D=O(O({},B),{},M({},$,A));return D}function AI($){var A=$.animate,B=void 0!==A&&A,C=$.as,D=void 0===C?"section":C,E=$.children,F=$.expanded,G=void 0!==F&&F,H=$.id,I=$.onExpandStateChange,J=Q($,A$),K=P(X(AE),1)[0],M=H||K,N=P(X(AF),1)[0],R=P(X(G),2),S=R[0],T=R[1],U=P(X(null),2),W=U[0],Z=U[1],d=P(X(null),2),e=d[0],f=d[1],g=a(AA),h=g.animate,i=g.isExpanded,j=g.prefix,k=g.registerSection,l=g.toggleExpanded,m=i?i(M,G):S,n=null!=h?h:B,o=W||"".concat(j||"a","-content-").concat(M,"-").concat(N),p=e||"".concat(j||"a","-header-").concat(M,"-").concat(N),q=Y(null);q.current=I,_((function(){if(k)return k(M,G,q)}),[k,M,G]);var r=c((function($){l?l(M,$):T((function(A){var B=null!=$?$:!A;return L().then((function(){var $=q.current;$&&$(B)})),B}))}),[M,l]),s=b((function(){return{animate:n,contentId:o,headerId:p,expanded:m,toggleHandler:r,setContentId:Z,setHeaderId:f}}),[n,o,p,m,r]);return V(D,O({},J),V(AB.Provider,{value:s},E))}function AJ($){var A="className",B="tabindex",C=$.as,D=void 0===C?"div":C,E=$.children,F=$.id,G=$.role,H=void 0===G?"button":G,I=$[A],K=void 0===I?"":I,L=$[B],M=void 0===L?0:L,N=Q($,["as","children","id","role",A,B].map(J)),P=a(AB),R=P.contentId,S=P.expanded,T=P.headerId,U=P.setHeaderId,W=P.toggleHandler;return _((function(){U&&U(F)}),[U,F]),V(D,O(O({},N),{},{id:T,role:H,className:"".concat(K," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:M,"aria-controls":R,onClick:function(){return W()},"aria-expanded":String(S)}),E)}function AK($){var A="className",B=$.as,C=void 0===B?"div":B,D=$.children,E=$.id,F=$.role,G=void 0===F?"region":F,H=$[A],I=void 0===H?"":H,K=Q($,["as","children","id","role",A].map(J)),L=Y(null),M=Y(!1),N=a(AB),P=N.animate,R=N.contentId,S=N.expanded,T=N.headerId,U=N.setContentId;return Z((function(){return M.current=!0,function(){return M.current=!1}}),[]),_((function(){U&&U(E)}),[U,E]),_((function(){var $=M.current,A=L.current;if(P&&$&&A&&A.animate)return S?function($){return w($,(function(){var A=t($,"height"),B=t($,"opacity"),C=t($,"overflowY");u($,{height:0,opacity:0,overflowY:"auto"});var D=$.scrollHeight;u($,{height:A,opacity:B,overflowY:C});var E=x(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return w($,(function(){var A=$.offsetHeight,B=x(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[S,P]),V(o,{renderable:S},V(C,O(O({},K),{},{ref:L,className:I+" section-child-00fce3c"+(S?"":" content-hidden-00fce3c"),id:R,"aria-labelledby":T,role:G}),D))}AG.displayName="Accordion"; | ||
var a,b=Object.create,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,f=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,h=function(a){return c(a,"__esModule",{value:!0})},i=function(a){return function(a,b,f){if(b&&"object"==typeof b||"function"==typeof b)for(var h,i=e(b),j=0,k=i.length;j<k;j++)h=i[j],g.call(a,h)||"default"===h||c(a,h,{get:function(a){return b[a]}.bind(null,h),enumerable:!(f=d(b,h))||f.enumerable});return a}(h(c(null!=a?b(f(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function j(a){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function k(a){var b=function(a,b){if("object"!==j(a)||null===a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,"string");if("object"!==j(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===j(b)?b:String(b)}function l(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function m(){return a||(a=Promise.resolve(void 0))}function n(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function o(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function p(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?o(Object(c),!0).forEach((function(b){n(a,b,c[b])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):o(Object(c)).forEach((function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))}))}return a}function q(a,b){return function(a){if(Array.isArray(a))return a}(a)||function(a,b){var c=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=c){var d,e,f=[],g=!0,h=!1;try{for(c=c.call(a);!(g=(d=c.next()).done)&&(f.push(d.value),!b||f.length!==b);g=!0);}catch(a){h=!0,e=a}finally{try{g||null==c.return||c.return()}finally{if(h)throw e}}return f}}(a,b)||function(a,b){if(a){if("string"==typeof a)return l(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?l(a,b):void 0}}(a,b)||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 r(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}!function(a,b){for(var d in h(a),b)c(a,d,{get:b[d],enumerable:!0})}(exports,{BentoAccordion:function(){return bh},BentoAccordionContent:function(){return bl},BentoAccordionHeader:function(){return bk},BentoAccordionSection:function(){return bj}});var s=Object.prototype;function t(a,b){return Object.keys(a).reduce((function(c,d){return b.includes(d)||(c[d]=a[d]),c}),{})}s.hasOwnProperty,s.toString;var u=i(require("react")),v=(i(require("react-dom")),i(require("react")));function w(a,b,c){return u.createElement.apply(void 0,arguments)}function x(a){return u.createContext(a,void 0)}function y(a){return v.useState(a)}function z(a){return v.useRef(a)}function A(a,b){v.useEffect(a,b)}function B(a,b){v.useLayoutEffect(a,b)}function C(a){return v.useContext(a)}function D(a,b){return v.useMemo(a,b)}function E(a,b){return v.useCallback(a,b)}var F,G,H=i(require("react")),I=["ref"],J="undefined"!=typeof Symbol&&(null===(F=Symbol.for)||void 0===F?void 0:F.call(Symbol,"react.forward_ref"))||3911,K=H.options.__b;H.options.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==K||K(a)};var L,M=["auto","lazy","eager","unload"],N=(n(G={},"auto",0),n(G,"lazy",1),n(G,"eager",2),n(G,"unload",3),G);function O(a,b){var c=N[a]||0,d=N[b]||0,e=Math.max(c,d);return M[e]}function P(){return L||(L=x({renderable:!0,playable:!0,loading:"auto"}))}function Q(a){var b=a.children,c=a.loading,d=void 0===c?"auto":c,e=a.notify,f=a.playable,g=void 0===f||f,h=a.renderable,i=void 0===h||h,j=C(P()),k=i&&j.renderable,l=k&&g&&j.playable,m=O(k?"auto":"lazy",O(d,j.loading)),n=e||j.notify,o=D((function(){return{renderable:k,playable:l,loading:m,notify:n}}),[k,l,m,n]);return w(P().Provider,{children:b,value:o})}Array.isArray;var R,S=["Webkit","webkit","Moz","moz","ms","O","o"];function T(a,b,c){if(X(b))return b;var d;R||(d=Object.create(null),R=d);var e=R[b];if(!e||c){if(e=b,void 0===a[b]){var f=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),g=function(a,b){for(var c=0;c<S.length;c++){var d=S[c]+b;if(void 0!==a[d])return d}return""}(a,f);void 0!==a[g]&&(e=g)}c||(R[b]=e)}return e}function U(a,b,c,d,e){var f=T(a.style,b,e);if(f){var g=d?c+d:c;X(f)?a.style.setProperty(f,g):a.style[f]=g}}function V(a,b,c){var d=T(a.style,b,c);if(d)return X(d)?a.style.getPropertyValue(d):a.style[d]}function W(a,b){for(var c in b)U(a,c,b[c])}function X(a){return a.startsWith("--")}function Y(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a.classList.add("i-amphtml-animating");var d=b();return d.onfinish=d.oncancel=function(){d=null,c&&c(),a.classList.remove("i-amphtml-animating")},function(){d&&d.cancel()}}function Z(a){var b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}var $,_=["animate","as","children","expandSingleSection","id"],ba=["animate","as","children","expanded","id","onExpandStateChange"],bb=x({}),bc=x({}),bd={},be={},bf=($=0,function(){return String(++$)}),bg=function(){return String(Math.floor(1e5*Math.random()))},bh=function(a){function b(a){var b=a.ref;return function(a,b){var c=a.animate,d=void 0!==c&&c,e=a.as,f=void 0===e?"section":e,g=a.children,h=a.expandSingleSection,i=void 0!==h&&h,j=a.id,k=r(a,_),l=q(y(bd),2),o=l[0],s=l[1],u=z(be),x=q(y(bg),1)[0],B=j||"a".concat(x);A((function(){i&&s((function(a){var b={},c=0;for(var d in a)b[d]=a[d]&&0==c++;return b}))}),[i]);var C=E((function(a,b,c){var d=c.current;return s((function(c){return bi(a,b,c,i)})),u.current=p(p({},u.current),{},n({},a,d)),function(){s((function(b){return t(b,a)})),u.current=t(u.current,a)}}),[i]),F=E((function(a,b){s((function(c){var d=null!=b?b:!c[a],e=bi(a,d,c,i);return m().then((function(){for(var a in c){var b=u.current[a];b&&c[a]!=e[a]&&b(e[a])}})),e}))}),[i]),G=E((function(a,b){var c;return null!==(c=o[a])&&void 0!==c?c:b}),[o]),H=E((function(a){if(a)a in o&&F(a);else if(!i)for(var b in o)F(b)}),[o,F,i]),I=E((function(a){if(a)G(a,!0)||F(a);else if(!i)for(var b in o)G(b,!0)||F(b)}),[o,F,G,i]),J=E((function(a){if(a)G(a,!1)&&F(a);else for(var b in o)G(b,!1)&&F(b)}),[o,F,G]);!function(a,b,c){v.useImperativeHandle(a,(function(){return{toggle:H,expand:I,collapse:J}}),c)}(b,0,[H,J,I]);var K=D((function(){return{registerSection:C,toggleExpanded:F,isExpanded:G,animate:d,prefix:B}}),[C,F,G,d,B]);return w(f,p({id:j},k),w(bb.Provider,{value:K},g))}(r(a,I),b)}return b.$$typeof=J,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}();function bi(a,b,c,d){var e;if(d&&b)for(var f in e=n({},a,b),c)f!=a&&(e[f]=!1);else e=p(p({},c),{},n({},a,b));return e}function bj(a){var b=a.animate,c=void 0!==b&&b,d=a.as,e=void 0===d?"section":d,f=a.children,g=a.expanded,h=void 0!==g&&g,i=a.id,j=a.onExpandStateChange,k=r(a,ba),l=q(y(bf),1)[0],n=i||l,o=q(y(bg),1)[0],s=q(y(h),2),t=s[0],u=s[1],v=q(y(null),2),x=v[0],A=v[1],F=q(y(null),2),G=F[0],H=F[1],I=C(bb),J=I.animate,K=I.isExpanded,L=I.prefix,M=I.registerSection,N=I.toggleExpanded,O=K?K(n,h):t,P=null!=J?J:c,Q=x||"".concat(L||"a","-content-").concat(n,"-").concat(o),R=G||"".concat(L||"a","-header-").concat(n,"-").concat(o),S=z(null);S.current=j,B((function(){if(M)return M(n,h,S)}),[M,n,h]);var T=E((function(a){N?N(n,a):u((function(b){var c=null!=a?a:!b;return m().then((function(){var a=S.current;a&&a(c)})),c}))}),[n,N]),U=D((function(){return{animate:P,contentId:Q,headerId:R,expanded:O,toggleHandler:T,setContentId:A,setHeaderId:H}}),[P,Q,R,O,T]);return w(e,p({},k),w(bc.Provider,{value:U},f))}function bk(a){var b="className",c="tabindex",d=a.as,e=void 0===d?"div":d,f=a.children,g=a.id,h=a.role,i=void 0===h?"button":h,j=a[b],l=void 0===j?"":j,m=a[c],n=void 0===m?0:m,o=r(a,["as","children","id","role",b,c].map(k)),q=C(bc),s=q.contentId,t=q.expanded,u=q.headerId,v=q.setHeaderId,x=q.toggleHandler;return B((function(){v&&v(g)}),[v,g]),w(e,p(p({},o),{},{id:u,role:i,className:"".concat(l," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:n,"aria-controls":s,onClick:function(){return x()},"aria-expanded":String(t)}),f)}function bl(a){var b="className",c=a.as,d=void 0===c?"div":c,e=a.children,f=a.id,g=a.role,h=void 0===g?"region":g,i=a[b],j=void 0===i?"":i,l=r(a,["as","children","id","role",b].map(k)),m=z(null),n=z(!1),o=C(bc),q=o.animate,s=o.contentId,t=o.expanded,u=o.headerId,v=o.setContentId;return A((function(){return n.current=!0,function(){return n.current=!1}}),[]),B((function(){v&&v(f)}),[v,f]),B((function(){var a=n.current,b=m.current;if(q&&a&&b&&b.animate)return t?function(a){return Y(a,(function(){var b=V(a,"height"),c=V(a,"opacity"),d=V(a,"overflowY");W(a,{height:0,opacity:0,overflowY:"auto"});var e=a.scrollHeight;W(a,{height:b,opacity:c,overflowY:d});var f=Z(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return Y(a,(function(){var b=a.offsetHeight,c=Z(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[t,q]),w(Q,{renderable:t},w(d,p(p({},l),{},{ref:m,className:j+" section-child-00fce3c"+(t?"":" content-hidden-00fce3c"),id:s,"aria-labelledby":u,role:h}),e))}bh.displayName="Accordion"; |
@@ -1,1 +0,1 @@ | ||
var $;function A($){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function B($){var B=function($,B){if("object"!==A($)||null===$)return $;var C=$[Symbol.toPrimitive];if(void 0!==C){var D=C.call($,"string");if("object"!==A(D))return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===A(B)?B:String(B)}function C(){return $||($=Promise.resolve(void 0))}function D($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function E($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function F($){for(var A=1;A<arguments.length;A++){var B=null!=arguments[A]?arguments[A]:{};A%2?E(Object(B),!0).forEach((function(A){D($,A,B[A])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(B)):E(Object(B)).forEach((function(A){Object.defineProperty($,A,Object.getOwnPropertyDescriptor(B,A))}))}return $}function G($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}var{hasOwnProperty:H,toString:I}=Object.prototype;function J($,A){return Object.keys($).reduce(((B,C)=>(A.includes(C)||(B[C]=$[C]),B)),{})}import{cloneElement as K,createContext as L,createElement as M,createRef as N,toChildArray as O}from"react";import{hydrate as P,render as Q}from"react-dom";import{useCallback as R,useContext as S,useEffect as T,useImperativeHandle as U,useLayoutEffect as V,useMemo as W,useRef as X,useState as Y}from"react";function Z($,A,B){return M.apply(void 0,arguments)}function _($){return L($,void 0)}function a($){return Y($)}function b($){return X($)}function c($,A){T($,A)}function d($,A){V($,A)}function e($){return S($)}function f($,A){return W($,A)}function g($,A){return R($,A)}import{options as h}from"react";var i,j=["ref"],k="undefined"!=typeof Symbol&&(null===(i=Symbol.for)||void 0===i?void 0:i.call(Symbol,"react.forward_ref"))||3911,l=h.__b;h.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==l||l($)};var m,n,o=["auto","lazy","eager","unload"],p={auto:0,lazy:1,eager:2,unload:3};function q($,A){const B=p[$]||0,C=p[A]||0,D=Math.max(B,C);return o[D]}function r(){return m||(m=_({renderable:!0,playable:!0,loading:"auto"}))}function s({children:$,loading:A="auto",notify:B,playable:C=!0,renderable:D=!0}){const E=e(r()),F=D&&E.renderable,G=F&&C&&E.playable,H=q(F?"auto":"lazy",q(A,E.loading)),I=B||E.notify,J=f((()=>({renderable:F,playable:G,loading:H,notify:I})),[F,G,H,I]);return Z(r().Provider,{children:$,value:J})}var t=["Webkit","webkit","Moz","moz","ms","O","o"];function u($,A,B){if(y(A))return A;n||(n=Object.create(null));let C=n[A];if(!C||B){if(C=A,void 0===$[A]){const B=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),D=function($,A){for(let B=0;B<t.length;B++){const C=t[B]+A;if(void 0!==$[C])return C}return""}($,B);void 0!==$[D]&&(C=D)}B||(n[A]=C)}return C}function v($,A,B,C,D){const E=u($.style,A,D);if(!E)return;const F=C?B+C:B;y(E)?$.style.setProperty(E,F):$.style[E]=F}function w($,A,B){const C=u($.style,A,B);if(C)return y(C)?$.style.getPropertyValue(C):$.style[C]}function x($,A){for(const B in A)v($,B,A[B])}function y($){return $.startsWith("--")}function z($,A,B){$.classList.add("i-amphtml-animating");let C=A();return C.onfinish=C.oncancel=()=>{C=null,B&&B(),$.classList.remove("i-amphtml-animating")},()=>{C&&C.cancel()}}function A$($){const A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}var AA=["animate","as","children","expandSingleSection","id"],AB=["animate","as","children","expanded","id","onExpandStateChange"],AC=_({}),AD=_({}),AE={},AF={},AG=function(){let $=0;return()=>String(++$)}(),AH=()=>String(Math.floor(1e5*Math.random())),AI=function($){function A($){const{ref:A}=$;return function($,A){let{animate:B=!1,as:D="section",children:E,expandSingleSection:H=!1,id:I}=$,K=G($,AA);const[L,M]=a(AE),N=b(AF),[O]=a(AH),P=I||`a${O}`;c((()=>{H&&M(($=>{const A={};let B=0;for(const C in $)A[C]=$[C]&&0==B++;return A}))}),[H]);const Q=g((($,A,{current:B})=>(M((B=>AJ($,A,B,H))),N.current=F(F({},N.current),{},{[$]:B}),()=>{M((A=>J(A,$))),N.current=J(N.current,$)})),[H]),R=g((($,A)=>{M((B=>{const D=null!=A?A:!B[$],E=AJ($,D,B,H);return C().then((()=>{for(const $ in B){const A=N.current[$];A&&B[$]!=E[$]&&A(E[$])}})),E}))}),[H]),S=g((($,A)=>{var B;return null!==(B=L[$])&&void 0!==B?B:A}),[L]),T=g(($=>{if($)$ in L&&R($);else if(!H)for(const $ in L)R($)}),[L,R,H]),V=g(($=>{if($)S($,!0)||R($);else if(!H)for(const $ in L)S($,!0)||R($)}),[L,R,S,H]),W=g(($=>{if($)S($,!1)&&R($);else for(const $ in L)S($,!1)&&R($)}),[L,R,S]);!function($,A,B){U($,(()=>({toggle:T,expand:V,collapse:W})),B)}(A,0,[T,W,V]);const X=f((()=>({registerSection:Q,toggleExpanded:R,isExpanded:S,animate:B,prefix:P})),[Q,R,S,B,P]);return Z(D,F({id:I},K),Z(AC.Provider,{value:X},E))}(G($,j),A)}return A.$$typeof=k,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}();function AJ($,A,B,C){let D;if(C&&A){D={[$]:A};for(const A in B)A!=$&&(D[A]=!1)}else D=F(F({},B),{},{[$]:A});return D}function AK($){let{animate:A=!1,as:B="section",children:D,expanded:E=!1,id:H,onExpandStateChange:I}=$,J=G($,AB);const[K]=a(AG),L=H||K,[M]=a(AH),[N,O]=a(E),[P,Q]=a(null),[R,S]=a(null),{animate:T,isExpanded:U,prefix:V,registerSection:W,toggleExpanded:X}=e(AC),Y=U?U(L,E):N,_=null!=T?T:A,c=P||`${V||"a"}-content-${L}-${M}`,h=R||`${V||"a"}-header-${L}-${M}`,i=b(null);i.current=I,d((()=>{if(W)return W(L,E,i)}),[W,L,E]);const j=g(($=>{X?X(L,$):O((A=>{const B=null!=$?$:!A;return C().then((()=>{const $=i.current;$&&$(B)})),B}))}),[L,X]),k=f((()=>({animate:_,contentId:c,headerId:h,expanded:Y,toggleHandler:j,setContentId:Q,setHeaderId:S})),[_,c,h,Y,j]);return Z(B,F({},J),Z(AD.Provider,{value:k},D))}function AL($){let A="className",C="tabindex",{as:D="div",children:E,id:H,role:I="button",[A]:J="",[C]:K=0}=$,L=G($,["as","children","id","role",A,C].map(B));const{contentId:M,expanded:N,headerId:O,setHeaderId:P,toggleHandler:Q}=e(AD);return d((()=>{P&&P(H)}),[P,H]),Z(D,F(F({},L),{},{id:O,role:I,className:`${J} section-child-00fce3c header-00fce3c`,tabindex:K,"aria-controls":M,onClick:()=>Q(),"aria-expanded":String(N)}),E)}function AM($){let A="className",{as:C="div",children:D,id:E,role:H="region",[A]:I=""}=$,J=G($,["as","children","id","role",A].map(B));const K=b(null),L=b(!1),{animate:M,contentId:N,expanded:O,headerId:P,setContentId:Q}=e(AD);return c((()=>(L.current=!0,()=>L.current=!1)),[]),d((()=>{Q&&Q(E)}),[Q,E]),d((()=>{const $=L.current,A=K.current;if(M&&$&&A&&A.animate)return O?function($){return z($,(()=>{const A=w($,"height"),B=w($,"opacity"),C=w($,"overflowY");x($,{height:0,opacity:0,overflowY:"auto"});const D=$.scrollHeight;x($,{height:A,opacity:B,overflowY:C});const E=A$(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return z($,(()=>{const A=$.offsetHeight,B=A$(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[O,M]),Z(s,{renderable:O},Z(C,F(F({},J),{},{ref:K,className:I+" section-child-00fce3c"+(O?"":" content-hidden-00fce3c"),id:N,"aria-labelledby":P,role:H}),D))}AI.displayName="Accordion";export{AI as BentoAccordion,AM as BentoAccordionContent,AL as BentoAccordionHeader,AK as BentoAccordionSection}; | ||
var a;function b(a){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function c(a){var c=function(a,c){if("object"!==b(a)||null===a)return a;var d=a[Symbol.toPrimitive];if(void 0!==d){var e=d.call(a,"string");if("object"!==b(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===b(c)?c:String(c)}function d(){return a||(a=Promise.resolve(void 0))}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function g(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?f(Object(c),!0).forEach((function(b){e(a,b,c[b])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):f(Object(c)).forEach((function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))}))}return a}function h(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}var{hasOwnProperty:i,toString:j}=Object.prototype;function k(a,b){return Object.keys(a).reduce(((c,d)=>(b.includes(d)||(c[d]=a[d]),c)),{})}import{cloneElement as l,createContext as m,createElement as n,createRef as o,toChildArray as p}from"react";import{hydrate as q,render as r}from"react-dom";import{useCallback as s,useContext as t,useEffect as u,useImperativeHandle as v,useLayoutEffect as w,useMemo as x,useRef as y,useState as z}from"react";function A(a,b,c){return n.apply(void 0,arguments)}function B(a){return m(a,void 0)}function C(a){return z(a)}function D(a){return y(a)}function E(a,b){u(a,b)}function F(a,b){w(a,b)}function G(a){return t(a)}function H(a,b){return x(a,b)}function I(a,b){return s(a,b)}import{options as J}from"react";var K,L=["ref"],M="undefined"!=typeof Symbol&&(null===(K=Symbol.for)||void 0===K?void 0:K.call(Symbol,"react.forward_ref"))||3911,N=J.__b;J.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==N||N(a)};var O,P,Q=["auto","lazy","eager","unload"],R={auto:0,lazy:1,eager:2,unload:3};function S(a,b){const c=R[a]||0,d=R[b]||0,e=Math.max(c,d);return Q[e]}function T(){return O||(O=B({renderable:!0,playable:!0,loading:"auto"}))}function U({children:a,loading:b="auto",notify:c,playable:d=!0,renderable:e=!0}){const f=G(T()),g=e&&f.renderable,h=g&&d&&f.playable,i=S(g?"auto":"lazy",S(b,f.loading)),j=c||f.notify,k=H((()=>({renderable:g,playable:h,loading:i,notify:j})),[g,h,i,j]);return A(T().Provider,{children:a,value:k})}var V=["Webkit","webkit","Moz","moz","ms","O","o"];function W(a,b,c){if($(b))return b;P||(P=Object.create(null));let d=P[b];if(!d||c){if(d=b,void 0===a[b]){const c=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),e=function(a,b){for(let c=0;c<V.length;c++){const d=V[c]+b;if(void 0!==a[d])return d}return""}(a,c);void 0!==a[e]&&(d=e)}c||(P[b]=d)}return d}function X(a,b,c,d,e){const f=W(a.style,b,e);if(!f)return;const g=d?c+d:c;$(f)?a.style.setProperty(f,g):a.style[f]=g}function Y(a,b,c){const d=W(a.style,b,c);if(d)return $(d)?a.style.getPropertyValue(d):a.style[d]}function Z(a,b){for(const c in b)X(a,c,b[c])}function $(a){return a.startsWith("--")}function _(a,b,c){a.classList.add("i-amphtml-animating");let d=b();return d.onfinish=d.oncancel=()=>{d=null,c&&c(),a.classList.remove("i-amphtml-animating")},()=>{d&&d.cancel()}}function ba(a){const b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}var bb=["animate","as","children","expandSingleSection","id"],bc=["animate","as","children","expanded","id","onExpandStateChange"],bd=B({}),be=B({}),bf={},bg={},bh=function(){let a=0;return()=>String(++a)}(),bi=()=>String(Math.floor(1e5*Math.random())),bj=function(a){function b(a){const{ref:b}=a;return function(a,b){let{animate:c=!1,as:e="section",children:f,expandSingleSection:i=!1,id:j}=a,l=h(a,bb);const[m,n]=C(bf),o=D(bg),[p]=C(bi),q=j||`a${p}`;E((()=>{i&&n((a=>{const b={};let c=0;for(const d in a)b[d]=a[d]&&0==c++;return b}))}),[i]);const r=I(((a,b,{current:c})=>(n((c=>bk(a,b,c,i))),o.current=g(g({},o.current),{},{[a]:c}),()=>{n((b=>k(b,a))),o.current=k(o.current,a)})),[i]),s=I(((a,b)=>{n((c=>{const e=null!=b?b:!c[a],f=bk(a,e,c,i);return d().then((()=>{for(const a in c){const b=o.current[a];b&&c[a]!=f[a]&&b(f[a])}})),f}))}),[i]),t=I(((a,b)=>{var c;return null!==(c=m[a])&&void 0!==c?c:b}),[m]),u=I((a=>{if(a)a in m&&s(a);else if(!i)for(const a in m)s(a)}),[m,s,i]),w=I((a=>{if(a)t(a,!0)||s(a);else if(!i)for(const a in m)t(a,!0)||s(a)}),[m,s,t,i]),x=I((a=>{if(a)t(a,!1)&&s(a);else for(const a in m)t(a,!1)&&s(a)}),[m,s,t]);!function(a,b,c){v(a,(()=>({toggle:u,expand:w,collapse:x})),c)}(b,0,[u,x,w]);const y=H((()=>({registerSection:r,toggleExpanded:s,isExpanded:t,animate:c,prefix:q})),[r,s,t,c,q]);return A(e,g({id:j},l),A(bd.Provider,{value:y},f))}(h(a,L),b)}return b.$$typeof=M,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}();function bk(a,b,c,d){let e;if(d&&b){e={[a]:b};for(const b in c)b!=a&&(e[b]=!1)}else e=g(g({},c),{},{[a]:b});return e}function bl(a){let{animate:b=!1,as:c="section",children:e,expanded:f=!1,id:i,onExpandStateChange:j}=a,k=h(a,bc);const[l]=C(bh),m=i||l,[n]=C(bi),[o,p]=C(f),[q,r]=C(null),[s,t]=C(null),{animate:u,isExpanded:v,prefix:w,registerSection:x,toggleExpanded:y}=G(bd),z=v?v(m,f):o,B=null!=u?u:b,E=q||`${w||"a"}-content-${m}-${n}`,J=s||`${w||"a"}-header-${m}-${n}`,K=D(null);K.current=j,F((()=>{if(x)return x(m,f,K)}),[x,m,f]);const L=I((a=>{y?y(m,a):p((b=>{const c=null!=a?a:!b;return d().then((()=>{const a=K.current;a&&a(c)})),c}))}),[m,y]),M=H((()=>({animate:B,contentId:E,headerId:J,expanded:z,toggleHandler:L,setContentId:r,setHeaderId:t})),[B,E,J,z,L]);return A(c,g({},k),A(be.Provider,{value:M},e))}function bm(a){let b="className",d="tabindex",{as:e="div",children:f,id:i,role:j="button",[b]:k="",[d]:l=0}=a,m=h(a,["as","children","id","role",b,d].map(c));const{contentId:n,expanded:o,headerId:p,setHeaderId:q,toggleHandler:r}=G(be);return F((()=>{q&&q(i)}),[q,i]),A(e,g(g({},m),{},{id:p,role:j,className:`${k} section-child-00fce3c header-00fce3c`,tabindex:l,"aria-controls":n,onClick:()=>r(),"aria-expanded":String(o)}),f)}function bn(a){let b="className",{as:d="div",children:e,id:f,role:i="region",[b]:j=""}=a,k=h(a,["as","children","id","role",b].map(c));const l=D(null),m=D(!1),{animate:n,contentId:o,expanded:p,headerId:q,setContentId:r}=G(be);return E((()=>(m.current=!0,()=>m.current=!1)),[]),F((()=>{r&&r(f)}),[r,f]),F((()=>{const a=m.current,b=l.current;if(n&&a&&b&&b.animate)return p?function(a){return _(a,(()=>{const b=Y(a,"height"),c=Y(a,"opacity"),d=Y(a,"overflowY");Z(a,{height:0,opacity:0,overflowY:"auto"});const e=a.scrollHeight;Z(a,{height:b,opacity:c,overflowY:d});const f=ba(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return _(a,(()=>{const b=a.offsetHeight,c=ba(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[p,n]),A(U,{renderable:p},A(d,g(g({},k),{},{ref:l,className:j+" section-child-00fce3c"+(p?"":" content-hidden-00fce3c"),id:o,"aria-labelledby":q,role:i}),e))}bj.displayName="Accordion";export{bj as BentoAccordion,bn as BentoAccordionContent,bm as BentoAccordionHeader,bl as BentoAccordionSection}; |
@@ -1,2 +0,2 @@ | ||
var $=Object.defineProperty;function A($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function B($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function C($){for(var C=1;C<arguments.length;C++){var D=null!=arguments[C]?arguments[C]:{};C%2?B(Object(D),!0).forEach((function(B){A($,B,D[B])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(D)):B(Object(D)).forEach((function(A){Object.defineProperty($,A,Object.getOwnPropertyDescriptor(D,A))}))}return $}function D($,A){return(D=Object.setPrototypeOf||function($,A){return $.__proto__=A,$})($,A)}function E($,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(A&&A.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),A&&D($,A)}function F($){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)})($)}function G($){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function H($){if(void 0===$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function I($,A){if(A&&("object"===G(A)||"function"==typeof A))return A;if(void 0!==A)throw new TypeError("Derived constructors may only return object or undefined");return H($)}function J($){var A=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($){return!1}}();return function(){var B,C=F($);if(A){var D=F(this).constructor;B=Reflect.construct(C,arguments,D)}else B=C.apply(this,arguments);return I(this,B)}}!function(A,B){for(var C in function(A){$(A,"__esModule",{value:!0})}(A),B)$(A,C,{get:B[C],enumerable:!0})}(exports,{defineElement:function(){return D_}});var K=Array.isArray;function L($){return K($)?$:[$]}function M($,A){return $.indexOf(A)<0&&($.push(A),!0)}function N($,A){var B=$.indexOf(A);return-1!=B&&($.splice(B,1),!0)}function O($,A){(null==A||A>$.length)&&(A=$.length);for(var B=0,C=new Array(A);B<A;B++)C[B]=$[B];return C}function P($,A){if($){if("string"==typeof $)return O($,A);var B=Object.prototype.toString.call($).slice(8,-1);return"Object"===B&&$.constructor&&(B=$.constructor.name),"Map"===B||"Set"===B?Array.from($):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?O($,A):void 0}}function Q($,A){var B="undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(B)return(B=B.call($)).next.bind(B);if(Array.isArray($)||(B=P($))||A&&$&&"number"==typeof $.length){B&&($=B);var C=0;return function(){return C>=$.length?{done:!0}:{done:!1,value:$[C++]}}}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 R,S=Object.prototype,T=S.hasOwnProperty;function U($){var A=Object.create(null);return $&&Object.assign(A,$),A}function V($){return $||{}}function W($,A){return Object.keys($).reduce((function(B,C){return A.includes(C)||(B[C]=$[C]),B}),{})}function X($,A){if(null==$||null==A)return $===A;for(var B in $)if($[B]!==A[B])return!1;for(var C in A)if(A[C]!==$[C])return!1;return!0}function Y($,A,B){var C=$[A];return void 0===C&&(C=B($,A),$[A]=C),C}function Z($){return 1==(null==$?void 0:$.nodeType)}function _($,A,B,C,D,E,F,G,H,I,J){return $}function a($,A){return $}function b($){return($.ownerDocument||$).defaultView}function c($){return void 0!==R?R:R=function($){try{var A=$.ownerDocument,B=A.createElement("div"),C=A.createElement("div");return B.appendChild(C),B.querySelector(":scope div")===C}catch($){return!1}}($)}function d($,A){return $.replace(/^|,/g,"$&".concat(A," "))}function e($){_(/^[\w-]+$/.test($))}function f($,A){var B="i-amphtml-scoped";$.classList.add(B);var C=d(A,".".concat(B)),D=$.querySelectorAll(C);return $.classList.remove(B),D}function g($,A){if(c($))return $.querySelector(d(A,":scope"));var B=f($,A);return void 0===B[0]?null:B[0]}function h($,A){return e(A),g($,"> [".concat(A,"]"))}function i($){return function($,A){for(var B=[],C=$.firstChild;C;C=C.nextSibling)E=void 0,F=void 0,"string"==typeof(E=D=C)?F=E:E.nodeType===Node.ELEMENT_NODE&&(F=a(E).tagName),!(F&&F.toLowerCase().startsWith("i-")||D.nodeType===Node.ELEMENT_NODE&&(a(D),D.hasAttribute("placeholder")||D.hasAttribute("fallback")||D.hasAttribute("overflow")))&&B.push(C);var D,E,F;return B}($)}S.toString;var j,k={bubbles:!0,cancelable:!0};function l($,A,B){return function($,A){for(var B in A)$.setAttribute(B,A[B]);return $}($.createElement(A),B)}function m($,A,B,C){var D=B||{},E=$.ownerDocument.createEvent("Event");E.data=D;var F=C||k,G=F.bubbles,H=F.cancelable;E.initEvent(A,G,H),$.dispatchEvent(E)}function n(){return j||(j=Promise.resolve(void 0))}var o,p,q,r,s,t,u,v,w,x,y=function(){var $=this;this.promise=new Promise((function(A,B){$.resolve=A,$.reject=B}))},z={},A$=[],AA=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function AB($,A){for(var B in A)$[B]=A[B];return $}function AC($){var A=$.parentNode;A&&A.removeChild($)}function AD($,A,B){var C,D,E,F={};for(E in A)"key"==E?C=A[E]:"ref"==E?D=A[E]:F[E]=A[E];if(arguments.length>2&&(F.children=arguments.length>3?o.call(arguments,2):B),"function"==typeof $&&null!=$.defaultProps)for(E in $.defaultProps)void 0===F[E]&&(F[E]=$.defaultProps[E]);return AE($,F,C,D,null)}function AE($,A,B,C,D){var E={type:$,props:A,key:B,ref:C,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==D?++q:D};return null==D&&null!=p.vnode&&p.vnode(E),E}function AF($){return $.children}function AG($,A){this.props=$,this.context=A}function AH($,A){if(null==A)return $.__?AH($.__,$.__.__k.indexOf($)+1):null;for(var B;A<$.__k.length;A++)if(null!=(B=$.__k[A])&&null!=B.__e)return B.__e;return"function"==typeof $.type?AH($):null}function AI($){var A,B;if(null!=($=$.__)&&null!=$.__c){for($.__e=$.__c.base=null,A=0;A<$.__k.length;A++)if(null!=(B=$.__k[A])&&null!=B.__e){$.__e=$.__c.base=B.__e;break}return AI($)}}function AJ($){(!$.__d&&($.__d=!0)&&r.push($)&&!AK.__r++||t!==p.debounceRendering)&&((t=p.debounceRendering)||s)(AK)}function AK(){for(var $;AK.__r=r.length;)$=r.sort((function($,A){return $.__v.__b-A.__v.__b})),r=[],$.some((function($){var A,B,C,D,E,F;$.__d&&(E=(D=(A=$).__v).__e,(F=A.__P)&&(B=[],(C=AB({},D)).__v=D.__v+1,AS(F,D,C,A.__n,void 0!==F.ownerSVGElement,null!=D.__h?[E]:null,B,null==E?AH(D):E,D.__h),AT(B,D),D.__e!=E&&AI(D)))}))}function AL($,A,B,C,D,E,F,G,H,I){var J,K,L,M,N,O,P,Q=C&&C.__k||A$,R=Q.length;for(B.__k=[],J=0;J<A.length;J++)if(null!=(M=B.__k[J]=null==(M=A[J])||"boolean"==typeof M?null:"string"==typeof M||"number"==typeof M||"bigint"==typeof M?AE(null,M,null,null,M):Array.isArray(M)?AE(AF,{children:M},null,null,null):M.__b>0?AE(M.type,M.props,M.key,null,M.__v):M)){if(M.__=B,M.__b=B.__b+1,null===(L=Q[J])||L&&M.key==L.key&&M.type===L.type)Q[J]=void 0;else for(K=0;K<R;K++){if((L=Q[K])&&M.key==L.key&&M.type===L.type){Q[K]=void 0;break}L=null}AS($,M,L=L||z,D,E,F,G,H,I),N=M.__e,(K=M.ref)&&L.ref!=K&&(P||(P=[]),L.ref&&P.push(L.ref,null,M),P.push(K,M.__c||N,M)),null!=N?(null==O&&(O=N),"function"==typeof M.type&&M.__k===L.__k?M.__d=H=AM(M,H,$):H=AN($,M,L,Q,N,H),"function"==typeof B.type&&(B.__d=H)):H&&L.__e==H&&H.parentNode!=$&&(H=AH(L))}for(B.__e=O,J=R;J--;)null!=Q[J]&&("function"==typeof B.type&&null!=Q[J].__e&&Q[J].__e==B.__d&&(B.__d=AH(C,J+1)),AV(Q[J],Q[J]));if(P)for(J=0;J<P.length;J++)AU(P[J],P[++J],P[++J])}function AM($,A,B){for(var C,D=$.__k,E=0;D&&E<D.length;E++)(C=D[E])&&(C.__=$,A="function"==typeof C.type?AM(C,A,B):AN(B,C,C,D,C.__e,A));return A}function AN($,A,B,C,D,E){var F,G,H;if(void 0!==A.__d)F=A.__d,A.__d=void 0;else if(null==B||D!=E||null==D.parentNode)$:if(null==E||E.parentNode!==$)$.appendChild(D),F=null;else{for(G=E,H=0;(G=G.nextSibling)&&H<C.length;H+=2)if(G==D)break $;$.insertBefore(D,E),F=E}return void 0!==F?F:D.nextSibling}function AO($,A,B){"-"===A[0]?$.setProperty(A,B):$[A]=null==B?"":"number"!=typeof B||AA.test(A)?B:B+"px"}function AP($,A,B,C,D){var E;$:if("style"===A)if("string"==typeof B)$.style.cssText=B;else{if("string"==typeof C&&($.style.cssText=C=""),C)for(A in C)B&&A in B||AO($.style,A,"");if(B)for(A in B)C&&B[A]===C[A]||AO($.style,A,B[A])}else if("o"===A[0]&&"n"===A[1])E=A!==(A=A.replace(/Capture$/,"")),A=A.toLowerCase()in $?A.toLowerCase().slice(2):A.slice(2),$.l||($.l={}),$.l[A+E]=B,B?C||$.addEventListener(A,E?AR:AQ,E):$.removeEventListener(A,E?AR:AQ,E);else if("dangerouslySetInnerHTML"!==A){if(D)A=A.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==A&&"list"!==A&&"form"!==A&&"tabIndex"!==A&&"download"!==A&&A in $)try{$[A]=null==B?"":B;break $}catch($){}"function"==typeof B||(null!=B&&(!1!==B||"a"===A[0]&&"r"===A[1])?$.setAttribute(A,B):$.removeAttribute(A))}}function AQ($){this.l[$.type+!1](p.event?p.event($):$)}function AR($){this.l[$.type+!0](p.event?p.event($):$)}function AS($,A,B,C,D,E,F,G,H){var I,J,K,L,M,N,O,P,Q,R,S,T=A.type;if(void 0!==A.constructor)return null;null!=B.__h&&(H=B.__h,G=A.__e=B.__e,A.__h=null,E=[G]),(I=p.__b)&&I(A);try{$:if("function"==typeof T){if(P=A.props,Q=(I=T.contextType)&&C[I.__c],R=I?Q?Q.props.value:I.__:C,B.__c?O=(J=A.__c=B.__c).__=J.__E:("prototype"in T&&T.prototype.render?A.__c=J=new T(P,R):(A.__c=J=new AG(P,R),J.constructor=T,J.render=AW),Q&&Q.sub(J),J.props=P,J.state||(J.state={}),J.context=R,J.__n=C,K=J.__d=!0,J.__h=[]),null==J.__s&&(J.__s=J.state),null!=T.getDerivedStateFromProps&&(J.__s==J.state&&(J.__s=AB({},J.__s)),AB(J.__s,T.getDerivedStateFromProps(P,J.__s))),L=J.props,M=J.state,K)null==T.getDerivedStateFromProps&&null!=J.componentWillMount&&J.componentWillMount(),null!=J.componentDidMount&&J.__h.push(J.componentDidMount);else{if(null==T.getDerivedStateFromProps&&P!==L&&null!=J.componentWillReceiveProps&&J.componentWillReceiveProps(P,R),!J.__e&&null!=J.shouldComponentUpdate&&!1===J.shouldComponentUpdate(P,J.__s,R)||A.__v===B.__v){J.props=P,J.state=J.__s,A.__v!==B.__v&&(J.__d=!1),J.__v=A,A.__e=B.__e,A.__k=B.__k,A.__k.forEach((function($){$&&($.__=A)})),J.__h.length&&F.push(J);break $}null!=J.componentWillUpdate&&J.componentWillUpdate(P,J.__s,R),null!=J.componentDidUpdate&&J.__h.push((function(){J.componentDidUpdate(L,M,N)}))}J.context=R,J.props=P,J.state=J.__s,(I=p.__r)&&I(A),J.__d=!1,J.__v=A,J.__P=$,I=J.render(J.props,J.state,J.context),J.state=J.__s,null!=J.getChildContext&&(C=AB(AB({},C),J.getChildContext())),K||null==J.getSnapshotBeforeUpdate||(N=J.getSnapshotBeforeUpdate(L,M)),S=null!=I&&I.type===AF&&null==I.key?I.props.children:I,AL($,Array.isArray(S)?S:[S],A,B,C,D,E,F,G,H),J.base=A.__e,A.__h=null,J.__h.length&&F.push(J),O&&(J.__E=J.__=null),J.__e=!1}else null==E&&A.__v===B.__v?(A.__k=B.__k,A.__e=B.__e):A.__e=function($,A,B,C,D,E,F,G){var H,I,J,K=B.props,L=A.props,M=A.type,N=0;if("svg"===M&&(D=!0),null!=E)for(;N<E.length;N++)if((H=E[N])&&(H===$||(M?H.localName==M:3==H.nodeType))){$=H,E[N]=null;break}if(null==$){if(null===M)return document.createTextNode(L);$=D?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M,L.is&&L),E=null,G=!1}if(null===M)K===L||G&&$.data===L||($.data=L);else{if(E=E&&o.call($.childNodes),I=(K=B.props||z).dangerouslySetInnerHTML,J=L.dangerouslySetInnerHTML,!G){if(null!=E)for(K={},N=0;N<$.attributes.length;N++)K[$.attributes[N].name]=$.attributes[N].value;(J||I)&&(J&&(I&&J.__html==I.__html||J.__html===$.innerHTML)||($.innerHTML=J&&J.__html||""))}if(function($,A,B,C,D){var E;for(E in B)"children"===E||"key"===E||E in A||AP($,E,null,B[E],C);for(E in A)D&&"function"!=typeof A[E]||"children"===E||"key"===E||"value"===E||"checked"===E||B[E]===A[E]||AP($,E,A[E],B[E],C)}($,L,K,D,G),J)A.__k=[];else if(N=A.props.children,AL($,Array.isArray(N)?N:[N],A,B,C,D&&"foreignObject"!==M,E,F,E?E[0]:B.__k&&AH(B,0),G),null!=E)for(N=E.length;N--;)null!=E[N]&&AC(E[N]);G||("value"in L&&void 0!==(N=L.value)&&(N!==$.value||"progress"===M&&!N)&&AP($,"value",N,K.value,!1),"checked"in L&&void 0!==(N=L.checked)&&N!==$.checked&&AP($,"checked",N,K.checked,!1))}return $}(B.__e,A,B,C,D,E,F,H);(I=p.diffed)&&I(A)}catch($){A.__v=null,(H||null!=E)&&(A.__e=G,A.__h=!!H,E[E.indexOf(G)]=null),p.__e($,A,B)}}function AT($,A){p.__c&&p.__c(A,$),$.some((function(A){try{$=A.__h,A.__h=[],$.some((function($){$.call(A)}))}catch($){p.__e($,A.__v)}}))}function AU($,A,B){try{"function"==typeof $?$(A):$.current=A}catch($){p.__e($,B)}}function AV($,A,B){var C,D;if(p.unmount&&p.unmount($),(C=$.ref)&&(C.current&&C.current!==$.__e||AU(C,null,A)),null!=(C=$.__c)){if(C.componentWillUnmount)try{C.componentWillUnmount()}catch($){p.__e($,A)}C.base=C.__P=null}if(C=$.__k)for(D=0;D<C.length;D++)C[D]&&AV(C[D],A,"function"!=typeof $.type);B||null==$.__e||AC($.__e),$.__e=$.__d=void 0}function AW($,A,B){return this.constructor($,B)}function AX($,A,B){var C,D,E;p.__&&p.__($,A),D=(C="function"==typeof B)?null:B&&B.__k||A.__k,E=[],AS(A,$=(!C&&B||A).__k=AD(AF,null,[$]),D||z,z,void 0!==A.ownerSVGElement,!C&&B?[B]:D?null:A.firstChild?o.call(A.childNodes):null,E,!C&&B?B:D?D.__e:A.firstChild,C),AT(E,$)}function AY($,A){AX($,A,AY)}o=A$.slice,p={__e:function($,A){for(var B,C,D;A=A.__;)if((B=A.__c)&&!B.__)try{if((C=B.constructor)&&null!=C.getDerivedStateFromError&&(B.setState(C.getDerivedStateFromError($)),D=B.__d),null!=B.componentDidCatch&&(B.componentDidCatch($),D=B.__d),D)return B.__E=B}catch(A){$=A}throw $}},q=0,AG.prototype.setState=function($,A){var B;B=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=AB({},this.state),"function"==typeof $&&($=$(AB({},B),this.props)),$&&AB(B,$),null!=$&&this.__v&&(A&&this.__h.push(A),AJ(this))},AG.prototype.forceUpdate=function($){this.__v&&(this.__e=!0,$&&this.__h.push($),AJ(this))},AG.prototype.render=AF,r=[],s="function"==typeof Promise?Promise.prototype.then.bind(n()):setTimeout,AK.__r=0,u=0;var AZ=0,A_=[],Aa=p.__b,Ab=p.__r,Ac=p.diffed,Ad=p.__c,Ae=p.unmount;function Af($,A){p.__h&&p.__h(w,$,AZ||A),AZ=0;var B=w.__H||(w.__H={__:[],__h:[]});return $>=B.__.length&&B.__.push({}),B.__[$]}function Ag($,A){var B=Af(v++,4);!p.__s&&Am(B.__H,A)&&(B.__=$,B.__H=A,w.__h.push(B))}function Ah($,A){var B=Af(v++,7);return Am(B.__H,A)&&(B.__=$(),B.__H=A,B.__h=$),B.__}function Ai(){A_.forEach((function($){if($.__P)try{$.__H.__h.forEach(Ak),$.__H.__h.forEach(Al),$.__H.__h=[]}catch(A){$.__H.__h=[],p.__e(A,$.__v)}})),A_=[]}p.__b=function($){w=null,Aa&&Aa($)},p.__r=function($){Ab&&Ab($),v=0;var A=(w=$.__c).__H;A&&(A.__h.forEach(Ak),A.__h.forEach(Al),A.__h=[])},p.diffed=function($){Ac&&Ac($);var A=$.__c;A&&A.__H&&A.__H.__h.length&&(1!==A_.push(A)&&x===p.requestAnimationFrame||((x=p.requestAnimationFrame)||function($){var A,B=function(){clearTimeout(C),Aj&&cancelAnimationFrame(A),setTimeout($)},C=setTimeout(B,100);Aj&&(A=requestAnimationFrame(B))})(Ai)),w=null},p.__c=function($,A){A.some((function($){try{$.__h.forEach(Ak),$.__h=$.__h.filter((function($){return!$.__||Al($)}))}catch(B){A.some((function($){$.__h&&($.__h=[])})),A=[],p.__e(B,$.__v)}})),Ad&&Ad($,A)},p.unmount=function($){Ae&&Ae($);var A=$.__c;if(A&&A.__H)try{A.__H.__.forEach(Ak)}catch($){p.__e($,A.__v)}};var Aj="function"==typeof requestAnimationFrame;function Ak($){var A=w;"function"==typeof $.__c&&$.__c(),w=A}function Al($){var A=w;$.__c=$.__(),w=A}function Am($,A){return!$||$.length!==A.length||A.some((function(A,B){return A!==$[B]}))}function An($,A){return"function"==typeof A?A($):A}function Ao($,A,B){return AD.apply(void 0,arguments)}function Ap($,A,B){AX($,A,B)}function Aq($){return(B={__c:A="__cC"+u++,__:$,Consumer:function($,A){return $.children(A)},Provider:function($){var B,C;return this.getChildContext||(B=[],(C={})[A]=this,this.getChildContext=function(){return C},this.shouldComponentUpdate=function($){this.props.value!==$.value&&B.some(AJ)},this.sub=function($){B.push($);var A=$.componentWillUnmount;$.componentWillUnmount=function(){B.splice(B.indexOf($),1),A&&A.call($)}}),$.children}}).Provider.__=B.Consumer.contextType=B;var A,B}function Ar($){return AZ=1,A=An,B=$,(C=Af(v++,2)).t=A,C.__c||(C.__=[An(void 0,B),function($){var A=C.t(C.__[0],$);C.__[0]!==A&&(C.__=[A,C.__[1]],C.__c.setState({}))}],C.__c=w),C.__;var A,B,C}function As($){return A=$,AZ=5,Ah((function(){return{current:A}}),[]);var A}function At($,A){var B,C,D;B=$,C=A,D=Af(v++,3),!p.__s&&Am(D.__H,C)&&(D.__=B,D.__H=C,w.__H.__h.push(D))}function Au($,A){Ag($,A)}function Av($){return A=$,B=w.context[A.__c],(C=Af(v++,9)).c=A,B?(null==C.__&&(C.__=!0,B.sub(w)),B.props.value):A.__;var A,B,C}function Aw($,A){return Ah($,A)}function Ax($,A){return B=$,AZ=8,Ah((function(){return B}),A);var B}function Ay($,A,B){return C=$,D=A,AZ=6,void Ag((function(){"function"==typeof C?C(D()):C&&(C.current=D())}),null==(E=B)?E:E.concat(C));var C,D,E}var Az,B$=["auto","lazy","eager","unload"],BA=(A(Az={},"auto",0),A(Az,"lazy",1),A(Az,"eager",2),A(Az,"unload",3),Az);function BB($,A){var B=BA[$]||0,C=BA[A]||0,D=Math.max(B,C);return B$[D]}function BC(){}function BD($){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,B=!1,C=function(){B=!1,$()},D=function($){B||(B=!0,($||A)(C))};return D}function BE($){var A=Object.getOwnPropertyDescriptor($,"message");if(null!=A&&A.writable)return $;var B=$.message,C=$.stack,D=new Error(B);for(var E in $)D[E]=$[E];return D.stack=C,D}function BF($){for(var A,B=null,C="",D=Q(arguments,!0);!(A=D()).done;){var E=A.value;E instanceof Error&&!B?B=BE(E):(C&&(C+=" "),C+=E)}return B?C&&(B.message=C+": "+B.message):B=new Error(C),B}function BG($){var A,B;null===(A=(B=self).__AMP_REPORT_ERROR)||void 0===A||A.call(B,$)}function BH($){var A=BF.apply(null,arguments);setTimeout((function(){throw BG(A),A}))}function BI($){try{for(var A=arguments.length,B=new Array(A>1?A-1:0),C=1;C<A;C++)B[C-1]=arguments[C];return $.apply(null,B)}catch($){BH($)}}function BJ($,A){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],D=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(D){var E=A($,B,C);E&&BJ($,A,B,E,!1)}else if($.children)for(var F,G=Q($.children,!0);!(F=G()).done;){var H=F.value;BJ(H,A,B,C,!0)}}BC.prototype.key,BC.prototype.type,BC.prototype.deps,BC.prototype.recursive,BC.prototype.compute,BC.prototype.defaultValue;var BK=[],BL=function(){};function BM(){}function BN(){}BM.prototype.values,BM.prototype.setters,BN.prototype.prop,BN.prototype.subscribers,BN.prototype.value,BN.prototype.pending,BN.prototype.counter,BN.prototype.depValues,BN.prototype.parentValue,BN.prototype.parentContextNode,BN.prototype.ping,BN.prototype.pingDep,BN.prototype.pingParent;var BO=function(){function $($){this.$=$,this.A=null,this.B=null,this.C=BD(this.C.bind(this),setTimeout)}var A=$.prototype;return A.set=function($,A,B){_(A),_(void 0!==B);var C=$.key,D=this.A||(this.A=new Map),E=D.get(C);E||(E={values:[],setters:[]},D.set(C,E));var F=E.setters.indexOf(A),G=-1==F||E.values[F]!==B;-1==F?(E.setters.push(A),E.values.push(B)):G&&(E.values[F]=B),G&&(this.ping($,!1),BS($)&&BJ(this.$,BP,$,!0,!1))},A.remove=function($,A){_(A);var B=$.key,C=this.A,D=null==C?void 0:C.get(B);if(D){var E=D.setters.indexOf(A);-1!=E&&(D.setters.splice(E,1),D.values.splice(E,1),0==D.setters.length&&C.delete(B),BJ(this.$,BP,$))}},A.has=function($){var A;return!(null===(A=this.A)||void 0===A||!A.has($.key))},A.subscribe=function($,A){var B=this.D($);if(M(B.subscribers,A)){var C=B.value;BT(C)&&this.F()&&A(C)}},A.unsubscribe=function($,A){var B,C=null===(B=this.B)||void 0===B?void 0:B.get($.key);C&&N(C.subscribers,A)&&this.G(C)},A.ping=function($,A){var B,C;null===(B=this.B)||void 0===B||null===(C=B.get($.key))||void 0===C||C.ping(A)},A.parentUpdated=function(){this.F()&&BJ(this.$,BQ,void 0,BK)},A.rootUpdated=function(){var $=this,A=this.B;A&&(this.F()?A.forEach((function(A){var B=A.prop;$.ping(B,!0)})):A.forEach((function(A){BS(A.prop)&&$.H(A,null)})))},A.scan=function($){return this.ping($,!0),!!BS($)&&!this.has($)},A.scanAll=function($){var A=this,B=null,C=this.B;return C&&C.forEach((function(C){var D=C.prop,E=D.key;-1==(B||$).indexOf(E)&&(A.ping(D,!0),A.$.children&&A.has(D)&&(B||(B=$.slice(0)),B.push(E)))})),B||$},A.F=function(){return!!this.$.root},A.D=function($){var A=this,B=$.deps,C=$.key,D=this.B||(this.B=new Map),E=D.get(C);return E||(E={prop:$,subscribers:[],value:void 0,pending:0,counter:0,depValues:B.length>0?B.map(BL):BK,parentValue:void 0,parentContextNode:null,ping:function($){if(A.F()){var B=$?2:1;E.pending=Math.max(E.pending,B),A.C()}},pingDep:B.length>0?B.map((function($,A){return function($){E.depValues[A]=$,E.ping()}})):BK,pingParent:BS($)?function($){E.parentValue=$,E.ping()}:null},D.set(C,E),B.forEach((function($,B){return A.subscribe($,E.pingDep[B])})),E.ping(!1)),E},A.G=function($){var A=this;if(!($.subscribers.length>0)){var B=$.pingDep,C=$.prop,D=C.deps,E=C.key;this.B.delete(E),this.H($,null),D.length>0&&D.forEach((function($,C){A.unsubscribe($,B[C])}))}},A.C=function(){var $=this;if(this.F()){var A=this.B;if(A){var B;A.forEach((function($){$.counter=0}));do{B=0,A.forEach((function(A){if(0!=A.pending){var C=A.prop.key;if(A.counter++,A.counter>5)return BH("cyclical prop: ".concat(C)),void(A.pending=0);B++,$.I(A)}}))}while(B>0)}}},A.I=function($){var A,B=2==$.pending;try{A=this.J($,B)}catch($){BH($)}$.pending=0,this.K($,A)},A.K=function($,A){var B=$.prop,C=$.value,D=B.key,E=this.B;if(C!==A&&$===(null==E?void 0:E.get(D))&&this.F()){$.value=A;for(var F,G=Q($.subscribers,!0);!(F=G()).done;)(0,F.value)(A)}},A.J=function($,A){var B,C;_(this.F());var D=$.depValues,E=$.prop,F=E.compute,G=E.defaultValue,H=E.key,I=null===(B=this.A)||void 0===B||null===(C=B.get(H))||void 0===C?void 0:C.values,J=function($,A){var B=$.compute,C=$.recursive;return"function"==typeof C?!A||C(A):!(C&&A&&!B)&&C}(E,I);if(A||J!=Boolean($.parentContextNode)){var K=J?function($,A){for(var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,C=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?$.parent:$;C;C=C.parent)if(A(C,B))return C;return null}(this.$,BR,E,!1):null;this.H($,K)}var L=BT($.parentValue)?$.parentValue:J&&!$.parentContextNode?G:void 0,M=void 0;if(D.every(BT)&&(!J||BT(L))){var N=this.$.node;I&&!F?M=I[0]:BS(E)?I||D.length>0?M=function($,A,B,C,D){switch(D.length){case 0:return $(A,B,C);case 1:return $(A,B,C,D[0]);case 2:return $(A,B,C,D[0],D[1]);case 3:return $(A,B,C,D[0],D[1],D[2]);default:return $.apply(null,[A,B,C].concat(D))}}(F,N,I||BK,L,D):BT(L)&&(M=L):F&&(M=function($,A,B,C){switch(C.length){case 0:return $(A,B);case 1:return $(A,B,C[0]);case 2:return $(A,B,C[0],C[1]);case 3:return $(A,B,C[0],C[1],C[2]);default:return $.apply(null,[A,B].concat(C))}}(F,N,I||BK,D))}return M},A.H=function($,A){var B=$.parentContextNode,C=$.pingParent,D=$.prop;A!=B&&($.parentContextNode=A,$.parentValue=void 0,B&&B.values.unsubscribe(D,_(C)),A&&A.values.subscribe(D,_(C)))},$}();function BP($,A){return $.values.scan(A)}function BQ($,A,B){return $.values.scanAll(B)}function BR($,A){return $.values.has(A)}function BS($){return!!$.recursive}function BT($){return void 0!==$}var BU=function(){function $(A,B){this.node=A,this.name=B,this.isRoot=9==A.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new BO(this),this.L=null,this.M=!1,this.N=BD(this.O.bind(this),setTimeout),11==A.nodeType&&A.addEventListener("slotchange",(function(A){var B,C,D=A.target;D.assignedNodes().forEach(BV),null===(B=$.closest(D))||void 0===B||null===(C=B.children)||void 0===C||C.forEach(BW)})),this.discover()}$.get=function(A){var B=A.__AMP_NODE;return B||(B=new $(A,null),A.__AMP_NODE=B),B},$.closest=function(A){for(var B=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],C=A;C;){if(C!=A||B){if(C.__AMP_NODE)return C.__AMP_NODE;var D=C,E=D.nodeType;if(9==E||11==E||1==E&&a(C).tagName.startsWith("AMP-"))return $.get(C)}var F=C.__AMP_ASSIGNED_SLOT||C.assignedSlot;C=F||C.parentNode}return null},$.assignSlot=function($,A){$.__AMP_ASSIGNED_SLOT!=A&&($.__AMP_ASSIGNED_SLOT=A,BV($))},$.unassignSlot=function($,A){$.__AMP_ASSIGNED_SLOT==A&&($.__AMP_ASSIGNED_SLOT=void 0,BV($))},$.rediscoverChildren=function($){var A,B=$.__AMP_NODE;null==B||null===(A=B.children)||void 0===A||A.forEach(BW)};var A=$.prototype;return A.discover=function(){this.isDiscoverable()?this.N():this.name&&this.children&&this.children.forEach(BW)},A.isDiscoverable=function(){return!this.isRoot&&!this.M},A.setParent=function(A){var B=null!=A&&A.nodeType?$.get(A):A;this.P(B,null!=A)},A.setIsRoot=function($){var A,B;this.isRoot=$;var C=$?this:null!==(A=null===(B=this.parent)||void 0===B?void 0:B.root)&&void 0!==A?A:null;this.updateRoot(C)},A.updateRoot=function($){_(!$||$.isRoot);var A,B,C=this.root;$!=C&&(this.root=$,this.values.rootUpdated(),null===(A=this.L)||void 0===A||A.forEach((function($){return $.rootUpdated()})),null===(B=this.children)||void 0===B||B.forEach((function(A){return A.updateRoot($)})))},A.addGroup=function(A,B,C){var D=this.groups||(this.groups=new Map),E=this.children,F=new $(this.node,A);return D.set(A,{cn:F,match:B,weight:C}),F.setParent(this),null==E||E.forEach(BW),F},A.group=function($){var A,B;return(null===(A=this.groups)||void 0===A||null===(B=A.get($))||void 0===B?void 0:B.cn)||null},A.findGroup=function($){var A=this,B=this.groups;if(!B)return null;var C=null,D=Number.NEGATIVE_INFINITY;return B.forEach((function(B){var E=B.cn,F=B.match,G=B.weight;F($,A.node)&&G>D&&(C=E,D=G)})),C},A.subscribe=function($,A,B,C){var D=this.L||(this.L=new Map),E=D.get($);E||(E=new A(this,B,C),D.set($,E))},A.unsubscribe=function($){var A=this.L,B=null==A?void 0:A.get($);B&&(B.dispose(),A.delete($))},A.O=function(){if(this.isDiscoverable()){var A=$.closest(this.node,!1),B=(null==A?void 0:A.findGroup(this.node))||A;this.P(B,!1)}},A.P=function($,A){var B;this.M=A;var C=this.parent;if($!=C){if(this.parent=$,null!=C&&C.children&&N(_(C.children),this),$){var D=$.children||($.children=[]);M(D,this);for(var E,F=Q(D,!0);!(E=F()).done;){var G=E.value;G!=this&&G.isDiscoverable()&&G.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(B=null==$?void 0:$.root)&&void 0!==B?B:null)},$}();function BV($){!function($,A){var B=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=BU.closest($,B);if(C)if(C.node==$)A(C);else if(C.children)for(var D,E=Q(C.children,!0);!(D=E()).done;){var F=D.value;$.contains(F.node)&&A(F)}}($,BW)}function BW($){$.discover()}var BX=[];function BY($,A){var B=C({key:$,type:null,deps:BX,recursive:!1,compute:null,defaultValue:void 0},A);return _(0==B.deps.length||B.compute),B}var BZ=[],B_=function(){};function Ba($,A,B){A=L(A);var C=B;BU.get($).subscribe(C,Bb,B,A)}var Bb=function(){function $($,A,B){var C=this;if(this.contextNode=$,this.R=A,this.S=B,this.T=B.length>0?B.map(B_):BZ,this.U=B.length>0?B.map((function($,A){return function($){C.T[A]=$,C.V()}})):BZ,this.W=!1,this.X=null,this.V=BD(this.V.bind(this),setTimeout),B.length>0){var D=this.contextNode.values;B.forEach((function($,A){return D.subscribe($,C.U[A])}))}this.F()&&this.V()}var A=$.prototype;return A.dispose=function(){var $=this;if(this.S.length>0){var A=this.contextNode.values;this.S.forEach((function(B,C){return A.unsubscribe(B,$.U[C])}))}this.Y()},A.rootUpdated=function(){var $=this.F();this.Y(),$&&this.V()},A.F=function(){return!!this.contextNode.root},A.V=function(){this.F()&&(this.T.every(Bc)?(this.W=!0,this.Z()):this.W&&(this.W=!1,this.Y()))},A.Z=function(){this.X&&(BI(this.X),this.X=null);var $=this.R;this.X=function($,A){switch(A.length){case 0:return $();case 1:return $(A[0]);case 2:return $(A[0],A[1]);case 3:return $(A[0],A[1],A[2]);default:return $.apply(null,A)}}($,this.T)},A.Y=function(){this.X&&(BI(this.X),this.X=null)},$}();function Bc($){return void 0!==$}function Bd($){BU.get($).discover()}function Be($,A,B,C){BU.get($).values.set(A,B,C)}function Bf($,A,B){BU.get($).values.remove(A,B)}var Bg,Bh=function(){function $($,A){this._=$,this.g=A,this.h={},this.i=null}var A=$.prototype;return A.start=function(){this.i=this.h,this.h={}},A.resolveMatchQuery=function($){return"1"===this.j($,Bi,"1")},A.resolveListQuery=function($){return this.j($,Bj,"")},A.complete=function(){for(var $ in this.i)$ in this.h||Bk(this.i[$],this.g,!1);this.i=null},A.dispose=function(){for(var $ in this.h)Bk(this.h[$],this.g,!1);this.h={}},A.j=function($,A,B){if(!$.trim())return B;var C=this.h[$]||this.i[$];return C||Bk(C=A(this._,$),this.g,!0),this.h[$]=C,function($){for(var A=0;A<$.length;A++){var B=$[A],C=B.query,D=B.value;if(!C||C.matches)return D}return""}(C)},$}();function Bi($,A){return[{query:$.matchMedia(A),value:"1"},{query:null,value:""}]}function Bj($,A){return A.split(",").map((function(A){if(0!=(A=A.replace(/\s+/g," ").trim()).length){var B,C,D;if(")"==A.charAt(A.length-1)){var E=1;for(D=A.length-2;D>=0;D--){var F=A.charAt(D);if("("==F?E--:")"==F&&E++,0==E)break}var G=D-1;if(D>0)for(D--;D>=0;D--){var H=A.charAt(D);if(!("%"==H||"-"==H||"_"==H||H>="a"&&H<="z"||H>="A"&&H<="Z"||H>="0"&&H<="9"))break}if(D>=G)return null}else for(D=A.length-2;D>=0;D--){var I=A.charAt(D);if(!("%"==I||"."==I||I>="a"&&I<="z"||I>="A"&&I<="Z"||I>="0"&&I<="9"))break}return D>=0?(B=A.substring(0,D+1).trim(),C=A.substring(D+1).trim()):(C=A,B=void 0),C?{query:B?$.matchMedia(B):null,value:C}:null}})).filter(Boolean)}function Bk($,A,B){for(var C=0;C<$.length;C++){var D=$[C].query;D&&(void 0!==D.onchange?D.onchange=B?A:null:B?D.addListener(A):D.removeListener(A))}}var Bl=["Webkit","webkit","Moz","moz","ms","O","o"],Bm={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function Bn($,A,B){if(Br(A))return A;Bg||(Bg=U());var C=Bg[A];if(!C||B){if(C=A,void 0===$[A]){var D=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),E=function($,A){for(var B=0;B<Bl.length;B++){var C=Bl[B]+A;if(void 0!==$[C])return C}return""}($,D);void 0!==$[E]&&(C=E)}B||(Bg[A]=C)}return C}function Bo($,A,B,C,D){var E=Bn($.style,A,D);if(E){var F=C?B+C:B;Br(E)?$.style.setProperty(E,F):$.style[E]=F}}function Bp($,A,B){var C=Bn($.style,A,B);if(C)return Br(C)?$.style.getPropertyValue(C):$.style[C]}function Bq($,A){for(var B in A)Bo($,B,A[B])}function Br($){return $.startsWith("--")}var Bs=/vertical/,Bt=new WeakMap,Bu=new WeakMap,Bv=new WeakMap;function Bw($){var A=Bt.get($);return A||(A=new $.ResizeObserver(Bx),Bt.set($,A)),A}function Bx($){for(var A=new Set,B=$.length-1;B>=0;B--){var C=$[B],D=C.target;if(!A.has(D)){A.add(D);var E=Bu.get(D);if(E){Bv.set(D,C);for(var F=0;F<E.length;F++){var G=E[F],H=G.callback;By(G.type,H,C)}}}}}function By($,A,B){if(0==$){var C=B.contentRect,D=C.height;BI(A,{width:C.width,height:D})}else if(1==$){var E,F=B.borderBoxSize;if(F)E=F.length>0?F[0]:{inlineSize:0,blockSize:0};else{var G,H,I=B.target,J=b(I),K=Bs.test(function($,A){return $.getComputedStyle(A)||Bm}(J,I)["writing-mode"]),L=I,M=L.offsetHeight,N=L.offsetWidth;K?(H=N,G=M):(G=N,H=M),E={inlineSize:G,blockSize:H}}BI(A,E)}}var Bz,C$,CA,CB=function(){function $($){this.k=$,this.m=!1,this.o=!1,this.p=this.p.bind(this)}var A=$.prototype;return A.updatePlaying=function($){$!==this.m&&(this.m=$,$?(this.o=!1,function($,A,B){var C=$.ownerDocument.defaultView;if(C){var D=Bu.get($);if(D||(D=[],Bu.set($,D),Bw(C).observe($)),!D.some((function($){return $.callback===B&&1===$.type}))){D.push({type:1,callback:B});var E=Bv.get($);E&&setTimeout((function(){return By(1,B,E)}))}}}(this.k,0,this.p)):function($,A){!function($,A,B){var C=Bu.get($);if(C&&(function($,A){for(var C=[],D=0,E=0;E<$.length;E++){var F=$[E];(G=F).callback===B&&1===G.type?C.push(F):(D<E&&($[D]=F),D++)}var G;D<$.length&&($.length=D)}(C),0==C.length)){Bu.delete($),Bv.delete($);var D=$.ownerDocument.defaultView;D&&Bw(D).unobserve($)}}($,0,A)}(this.k,this.p))},A.p=function($){var A=$.blockSize,B=$.inlineSize>0&&A>0;if(B!==this.o){this.o=B;var C=this.k;B||C.pause()}},$}();function CC(){return CA||(CA=Aq({renderable:!0,playable:!0,loading:"auto"}))}function CD($){var A=$.children,B=$.loading,C=void 0===B?"auto":B,D=$.notify,E=$.playable,F=void 0===E||E,G=$.renderable,H=void 0===G||G,I=CE(),J=H&&I.renderable,K=J&&F&&I.playable,L=BB(J?"auto":"lazy",BB(C,I.loading)),M=D||I.notify,N=Aw((function(){return{renderable:J,playable:K,loading:L,notify:M}}),[J,K,L,M]);return Ao(CC().Provider,{children:A,value:N})}function CE(){return Av(CC())}"undefined"!=typeof AMP&&.BaseElement?Bz=AMP.BaseElement:(C$=function($){if("object"!==("undefined"==typeof Reflect?"undefined":G(Reflect))||!Reflect.construct)return $;function A(){return Reflect.construct($,arguments,this.constructor)}return A.prototype=Object.create($.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(A,$)}(HTMLElement),Bz=function(){function $($){this.element=$,this.win=b($)}$.CustomElement=function($){return function(A){E(C,C$);var B=J(C);function C(){var A;return(A=B.call(this)).implementation=new $(H(A)),A}var D=C.prototype;return D.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},D.disconnectedCallback=function(){this.implementation.unmountCallback()},D.getApi=function(){return this.implementation.getApi()},C}()};var A=$.prototype;return A.mutateElement=function($){n().then($)},A.isLayoutSupported=function(){return!0},A.mountCallback=function(){},A.unmountCallback=function(){},A.buildCallback=function(){},$}());var CF=BY("CanRender",{defaultValue:!0,recursive:function($){return $.reduce(CI)},compute:function($,A,B){return B&&A.reduce(CI,!0)||!1}}),CG=BY("CanPlay",{defaultValue:!0,recursive:function($){return $.reduce(CI)},deps:[CF],compute:function($,A,B,C){return C&&B&&A.reduce(CI,!0)||!1}}),CH=BY("Loading",{defaultValue:"auto",recursive:!0,deps:[CF],compute:function($,A,B,C){return BB(C?"auto":"lazy",BB(B||"auto",A.reduce(BB,"auto")))}}),CI=function($,A){return $&&A};function CJ(){var $=0;return function(){return String(++$)}}var CK=function($){return $.ensureLoaded()},CL=function($){return $.pause()},CM=function($){return $.unmount()};function CN($){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];CQ($,A,!1,CK)}function CO($){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];CQ($,A,!0,CL)}function CP($){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];CQ($,A,!0,CM)}function CQ($,A,B,C){for(var D=L($),E=0;E<D.length;E++)CR(D[E],A,B,C)}function CR($,A,B,C){if(A&&$.classList.contains("i-amphtml-element")){var D=$;if(BI(C,D),!B){var E=D.getPlaceholder();return void(E&&CR(E,!0,!1,C))}}for(var F=$.getElementsByClassName("i-amphtml-element"),G=null,H=0;H<F.length;H++){var I=F[H];if(B)BI(C,I);else{G=G||[];for(var J=!1,K=0;K<G.length;K++)if(G[K].contains(I)){J=!0;break}J||(G.push(I),BI(C,I))}}}var CS={},CT=new WeakMap;function CU($,A,B){var D=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if($.setAttribute("slot",A),!D)return Ao(CV,C(C({},B||CS),{},{name:A}));var E=CT.get($);if(E&&X(E.oldProps,B))return E.component;function F($){return Ao(CV,C(C({},B||CS),{},{name:A},$))}return CT.set($,{oldProps:B,component:F}),F}function CV($){var A=As(null);return CW(A,$),At((function(){$.postRender&&$.postRender()})),Ao("slot",C(C({},$),{},{ref:A}))}function CW($,A){var B=(A||CS).loading,C=CE();Au((function(){var A=$.current;return _(Z(A)),Be(A,CF,CV,C.renderable),Be(A,CG,CV,C.playable),Be(A,CH,CV,C.loading),C.playable||CX(A,CO,!0),function(){var $;Bf(A,CF,CV),Bf(A,CG,CV),Bf(A,CH,CV),$=A,BU.rediscoverChildren($)}}),[$,C]),Au((function(){var A=$.current;return _(Z(A)),"lazy"!=B&&CX(A,CN,!0),function(){CX(A,CP,!1)}}),[$,B])}function CX($,A,B){var C=$.assignedElements?$.assignedElements():$;if(!Array.isArray(C)||0!=C.length)if(B){var D=$.ownerDocument.defaultView;D&&(D.requestIdleCallback||D.setTimeout)((function(){return A(C)}))}else A(C)}var CY={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},CZ=CJ();function C_($,A){return Object.values($).some(A)}var Ca=function($){return"string"==typeof $||!!$.selector},Cb=function($){return 3===$.nodeType&&0===$.nodeValue.trim().length};function Cc($,A,B,D,E){var F=$.layoutSizeDefined,G=$.lightDomTag,H=$.props;E&&E.start();var I=C(C({},D),{},{ref:B});return G&&(I["i-amphtml-rendered"]=!0,I.__AMP_RENDERED=!0,I.as=G),F&&($.usesShadowDom?I.style=CY:I.class="i-amphtml-fill-content"),Cd($,I,H,A,E),E&&E.complete(),I}function Cd($,A,B,C,D){if(C_(B,Ca))for(var E=i(C),F=0;F<E.length;F++){var G=E[F],H=Cf(G,B);if(H){var I=B[H],J=I.as,K=void 0!==J&&J,L=I.single,M=I.name,N=void 0===M?H:M,O=I.clone,P=I.props,Q=void 0===P?{}:P;_(O||$.usesShadowDom);var R={};if(Cd($,R,Q,G,D),L)A[N]=CU(G,G.getAttribute("slot")||"i-amphtml-".concat(N),R,K);else{var S=A[N]||(A[N]=[]);_(!K),S.push(O?Ce(G):CU(G,G.getAttribute("slot")||"i-amphtml-".concat(N,"-").concat(CZ()),R))}}}for(var T in B){var U=B[T];_(!!U.attr+!!U.attrs+!!U.attrMatches+!!U.selector+!!U.passthrough+!!U.passthroughNonEmpty<=1);var V=void 0;if(U.passthrough?(_($.usesShadowDom),V=[Ao(CV,{loading:"lazy"})]):U.passthroughNonEmpty?(_($.usesShadowDom),V=i(C).every(Cb)?null:[Ao(CV,{loading:"lazy"})]):U.attr?(V=C.getAttribute(U.attr),U.media&&null!=V&&(V=D.resolveListQuery(String(V)))):U.parseAttrs&&(_(U.attrs||U.attrMatches),V=U.parseAttrs(C)),null==V)null!=U.default&&(A[T]=U.default);else{var W="number"==U.type?parseFloat(V):"boolean"==U.type?null==(X=V)?void 0:"false"!==X:V;A[T]=W}}var X}function Ce($){for(var A={"key":$},B=$.attributes,C=$.localName,D=B.length,E=0;E<D;E++){var F=B[E],G=F.name,H=F.value;A[G]=H}return Ao(C,A)}function Cf($,A){for(var B in A){var C=A[B];if(D=$,E="string"==typeof C?C:C.selector,F=void 0,(F=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.msMatchesSelector||D.oMatchesSelector)&&F.call(D,E))return B}var D,E,F;return null}var Cg=self.AMP_CONFIG||{},Ch=("string"==typeof Cg.thirdPartyFrameRegex?new RegExp(Cg.thirdPartyFrameRegex):Cg.thirdPartyFrameRegex,("string"==typeof Cg.cdnProxyRegex?new RegExp(Cg.cdnProxyRegex):Cg.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Ci($){if(!self.document||!self.document.head)return null;if(self.location&&Ch.test(self.location.origin))return null;var A=self.document.head.querySelector('meta[name="'.concat($,'"]'));return A&&A.getAttribute("content")||null}Cg.thirdPartyUrl,Cg.thirdPartyFrameHost,Cg.cdnUrl||Ci("runtime-host"),Cg.errorReportingUrl,Cg.betaErrorReportingUrl,Cg.localDev,Cg.geoApiUrl||Ci("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Cj=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+Cj,"gim"),new RegExp("(-shadowcsscontext"+Cj,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var Ck={childList:!0},Cl={childList:!0,characterData:!0},Cm={childList:!0},Cn=V({"style":"display: contents; background: inherit;","part":"c"}),Co=V({"name":"i-amphtml-svc"}),Cp=V({"i-amphtml-rendered":""}),Cq=function(){return!0},Cr=function($){return!!$.media},Cs=function($){return!(!$.passthrough&&!$.passthroughNonEmpty)},Ct=function($){E(B,$);var A=J(B);function B($){var B;return(B=A.call(this,$)).q=V({"loading":"auto","onReadyState":function($,A){B.u($,A)},"onPlayingState":function($){B.v($)},"onLoading":function(){B.handleOnLoading()},"onLoad":function(){B.handleOnLoad()},"onError":function(){B.handleOnError()}}),B.A$={renderable:!1,playable:!0,loading:"auto",notify:function(){return B.mutateElement((function(){}))}},B.AA=!1,B.AB=null,B.AC=null,B.AD=function($){null!==$&&(B.AB?B.AE($):B.AF($)),B.AC=$,B.AG()},B.AH=null,B.AI=null,B.AJ=null,B.AK=!1,B.AL=null,B.AM=function(){B.AK=!1,B.AN()},B.AO=!1,B.AP=!1,B.observer=null,B.AQ=new CB($),B.AR=null,B}B.R1=function(){return!0},B.requiresShadowDom=function(){return this.usesShadowDom},B.usesLoading=function(){return this.loadable},B.prerenderAllowed=function(){return!this.usesLoading()};var D=B.prototype;return D.init=function(){},D.isLayoutSupported=function(A){return this.constructor.layoutSizeDefined?function($){return"fixed"==$||"fixed-height"==$||"responsive"==$||"fill"==$||"flex-item"==$||"fluid"==$||"intrinsic"==$}(A)||"container"==A:$.prototype.isLayoutSupported.call(this,A)},D.buildCallback=function(){var $=this,A=this.constructor;this.observer=new MutationObserver((function(A){return $.AS(A)}));var B=A.props,D=C_(B,Ca)?Ck:null,E=C_(B,Cs)?Cl:null,F=A.usesTemplate?Cm:null;this.observer.observe(this.element,C(C(C({attributes:!0},D),E),F)),this.AR=C_(B,Cr)?new Bh(this.win,(function(){return $.AT()})):null;var G=A.staticProps,H=this.init();Object.assign(this.q,G,H),this.checkPropsPostMutations(),Ba(this.element,[],(function(){return function(){$.AP=!1,$.AJ&&Ap(null,$.AJ)}})),Ba(this.element,[CF,CG,CH],(function(A,B,C){$.A$.renderable=A,$.A$.playable=B,$.A$.loading=C,$.AP=!0,$.AT()}));var I,J=A.useContexts;return 0!=J.length&&Ba(this.element,J,(function(){for(var A=arguments.length,B=new Array(A),C=0;C<A;C++)B[C]=arguments[C];$.AI=B,$.AT()})),this.AL=new y,this.AT(),A.loadable&&(null===(I=this.setReadyState)||void 0===I||I.call(this,"loading")),this.AG(),this.AL.promise},D.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(V({"loading":"eager"})),this.AA=!0)},D.mountCallback=function(){Bd(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.AA=!1)},D.unmountCallback=function(){var $;Bd(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.v(!1),null===($=this.AR)||void 0===$||$.dispose()},D.mutatedAttributesCallback=function(){this.AJ&&this.AT()},D.attemptChangeHeight=function(A){var B=this;return $.prototype.attemptChangeHeight.call(this,A).catch((function($){throw B.getOverflowElement&&!B.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",B.element),$}))},D.mutateProps=function($){Object.assign(this.q,$),this.AT()},D.api=function(){return _(this.AC)},D.registerApiAction=function($,A){var B,C=this,D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(B=this.registerAction)||void 0===B||B.call(this,$,(function($){return A(C.api(),$)}),D)},D.mutationObserverCallback=function($){},D.checkPropsPostMutations=function(){},D.updatePropsForRendering=function($){},D.isReady=function($){return!0},D.AS=function($){var A=this.constructor;this.mutationObserverCallback($);var B=$.some((function($){return function($,A){var B=A.type;if("attributes"==B){if($.usesTemplate&&"template"==A.attributeName)return!0;var C=$.props;for(var D in C){var E,F=C[D];if(A.attributeName==F.attr||F.attrs&&F.attrs.includes(_(A.attributeName))||null!==(E=F.attrMatches)&&void 0!==E&&E.call(F,A.attributeName))return!0}return!1}return"childList"==B&&(Cv(A.addedNodes)||Cv(A.removedNodes))}(A,$)}));B&&(this.checkPropsPostMutations(),this.AT())},D.AT=function(){this.AK||(this.AK=!0,this.mutateElement(this.AM))},D.AG=function(){var $=this.AC,A=null==$?void 0:$.readyState;A&&A!==this.element.readyState&&this.u(A)},D.u=function($,A){var B;null===(B=this.setReadyState)||void 0===B||B.call(this,$,A),this.constructor.unloadOnPause&&this.v("complete"==$),this.AA&&(this.AA=!1,this.mutateProps({"loading":"auto"}))},D.handleOnLoad=function(){var $,A,B;null===($=this.toggleLoading)||void 0===$||$.call(this,!1),null===(A=this.toggleFallback)||void 0===A||A.call(this,!1),null===(B=this.togglePlaceholder)||void 0===B||B.call(this,!1)},D.handleOnLoading=function(){var $;null===($=this.toggleLoading)||void 0===$||$.call(this,!0)},D.handleOnError=function(){var $,A,B,C,D;null===($=this.toggleLoading)||void 0===$||$.call(this,!1),null!==(A=this.getFallback)&&void 0!==A&&A.call(this)?(null===(B=this.toggleFallback)||void 0===B||B.call(this,!0),null===(C=this.togglePlaceholder)||void 0===C||C.call(this,!1)):null===(D=this.togglePlaceholder)||void 0===D||D.call(this,!0)},D.AN=function(){var $,A,B=this;if(this.AP){var D,E=this.constructor,F=E.usesShadowDom,G=F?null:E.lightDomTag,H=E.detached;if(!this.AJ){var I=this.win.document;if(F){_(!H);var J=this.element.shadowRoot,K=J&&(D=J,e("c"),g(D,"> ".concat("c")));if(K)this.AO=!0;else{var L,M,N,O,P,Q;J=this.element.attachShadow({mode:"open",delegatesFocus:E.delegatesFocus});var R=E.shadowCss;R&&function($,A,B){var C=$.ownerDocument,D=C.defaultView;if(void 0!==$.adoptedStyleSheets&&void 0!==D.CSSStyleSheet.prototype.replaceSync){var E=D.__AMP_SHADOW_CSS||(D.__AMP_SHADOW_CSS={}),F=E[A];F||((F=new D.CSSStyleSheet).replaceSync(B),E[A]=F),$.adoptedStyleSheets=$.adoptedStyleSheets.concat(F)}else{var G=C.createElement("style");G.setAttribute("data-name",A),G.textContent=B,$.appendChild(G)}}(J,this.element.tagName,R),K=l(I,"c",Cn),J.appendChild(K);var S=l(I,"slot",Co);J.appendChild(S),null===(L=this.getPlaceholder)||void 0===L||null===(M=L.call(this))||void 0===M||M.setAttribute("slot","i-amphtml-svc"),null===(N=this.getFallback)||void 0===N||null===(O=N.call(this))||void 0===O||O.setAttribute("slot","i-amphtml-svc"),null===(P=this.getOverflowElement)||void 0===P||null===(Q=P.call(this))||void 0===Q||Q.setAttribute("slot","i-amphtml-svc")}this.AJ=K,function($,A){BU.get($).setParent(A)}(J,this.element),function($,A,B){var C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;BU.get($).addGroup(A,B,C)}(this.element,"unslotted",Cq,-1),$=this.element,A=CF,this,BU.get($).group("unslotted").values.set(A,this,!1)}else if(G){this.AJ=this.element;var T=h(this.AJ,"i-amphtml-rendered")||l(I,G,Cp);T.__AMP_RENDERED=!0,E.layoutSizeDefined&&T.classList.add("i-amphtml-fill-content"),this.AJ.appendChild(T)}else{var U=I.createElement("i-amphtml-c");this.AJ=U,U.classList.add("i-amphtml-fill-content"),H||this.element.appendChild(U)}}var V=E.useContexts,W=this.AI;if(0==V.length||null!=W){var X=Cc(E,this.element,this.AD,this.q,this.AR);if(this.updatePropsForRendering(X),this.isReady(X)){for(var Y=Ao(E.Component,X),Z=0;Z<V.length;Z++){var a=V[Z].type,b=W[Z];b&&(Y=Ao(a.Provider,{value:b},Y))}var c=Ao(CD,C({},this.A$),Y);if(this.AO)this.AO=!1,function($,A){AY($,A)}(c,this.AJ);else{var d=G?h(this.AJ,"i-amphtml-rendered"):null;d&&(d.__AMP_RENDERED=!0),Ap(c,this.AJ,d)}F||H||this.mutateElement((function(){return m(B.element,"amp:dom-update",null)})),this.AL&&(this.AL.resolve(),this.AL=null)}}}},D.getProp=function($,A){return B=this.q,C=$,T.call(B,C)?this.q[$]:A;var B,C},D.getApi=function(){var $=this.AB;return $?Promise.resolve($):(this.AH||(this.AH=new y),this.AH.promise)},D.AF=function($){for(var A=U(),B=Object.keys($),C=0;C<B.length;C++)Cu(this,A,B[C]);this.AB=A,this.AH&&(this.AH.resolve(A),this.AH=null)},D.AE=function($){},D.triggerEvent=function($,A,B){m($,A,B)},D.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(V({"loading":"unload"})),this.AA=!0;else{var $,A=this.AC;null==A||null===($=A.pause)||void 0===$||$.call(A)}},D.v=function($){this.AQ.updatePlaying($)},B}(Bz);function Cu($,A,B){Object.defineProperty(A,B,{configurable:!0,get:function(){return $.AC[B]},set:function(A){$.AC[B]=A}})}function Cv($){for(var A=0;A<$.length;A++){var B=$[A];if(Z(B)){if(B.__AMP_RENDERED||B.tagName.startsWith("I-")||"i-amphtml-svc"==B.getAttribute("slot"))continue;return!0}if(3==B.nodeType)return!0}return!1}function Cw($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}Ct.Component=function(){_(!1)},Ct.staticProps=void 0,Ct.useContexts=[],Ct.loadable=!1,Ct.unloadOnPause=!1,Ct.layoutSizeDefined=!1,Ct.lightDomTag="",Ct.usesTemplate=!1,Ct.shadowCss=null,Ct.usesShadowDom=!1,Ct.detached=!1,Ct.delegatesFocus=!1,Ct.props={};var Cx,Cy=["ref"],Cz="undefined"!=typeof Symbol&&(null===(Cx=Symbol.for)||void 0===Cx?void 0:Cx.call(Symbol,"react.forward_ref"))||3911,D$=p.__b;function DA($){function A(A){var B=A.ref,C=Cw(A,Cy);return $(C,B)}return A.$$typeof=Cz,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}function DB($){var A=function($,A){if("object"!==G($)||null===$)return $;var B=$[Symbol.toPrimitive];if(void 0!==B){var C=B.call($,"string");if("object"!==G(C))return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===G(A)?A:String(A)}p.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==D$||D$($)};var DC=[null,"paint","layout","content","size","size paint","size layout","strict"],DD={"position":"relative","width":"100%","height":"100%"};function DE($,A){return function($){if(Array.isArray($))return $}($)||function($,A){var B=null==$?null:"undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(null!=B){var C,D,E=[],F=!0,G=!1;try{for(B=B.call($);!(F=(C=B.next()).done)&&(E.push(C.value),!A||E.length!==A);F=!0);}catch($){G=!0,D=$}finally{try{F||null==B.return||B.return()}finally{if(G)throw D}}return E}}($,A)||P($,A)||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 DF($,A){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;$.classList.add("i-amphtml-animating");var C=A();return C.onfinish=C.oncancel=function(){C=null,B&&B(),$.classList.remove("i-amphtml-animating")},function(){C&&C.cancel()}}function DG($){var A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}DA((function($,A){var B="class",D=$.as,E=void 0===D?"div":D,F=$.children,G=$.contentAs,H=void 0===G?"div":G,I=$.contentClassName,J=$.contentProps,K=$.contentRef,L=$.contentStyle,M=$.layout,N=void 0!==M&&M,O=$.paint,P=void 0!==O&&O,Q=$.size,R=void 0!==Q&&Q,S=$.style,T=$.wrapperClassName,U=$.wrapperStyle,V=$[B],W=(R?4:0)+(N?2:0)+(P?1:0);return Ao(E,C(C({},Cw($,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",B].map(DB))),{},{ref:A,class:"".concat(V||""," ").concat(T||"").trim()||null,style:C(C(C({},S),U),{},{contain:DC[W]})}),Ao(H,C(C({},J),{},{ref:K,class:I,style:C(C({},R&&DD),{},{"overflow":P?"hidden":"visible"},L)}),F))})),DA((function($,A){var B="class",D=$.as,E=void 0===D?"div":D,F=$.children,G=$.style,H=$.wrapperClassName,I=$.wrapperStyle,J=$[B];return Ao(E,C(C({},Cw($,["as","children","style","wrapperClassName","wrapperStyle",B].map(DB))),{},{ref:A,class:"".concat(J||""," ").concat(H||"").trim()||null,style:C(C({},G),I)}),F)})),new WeakMap,new WeakMap;var DH=["animate","as","children","expandSingleSection","id"],DI=["animate","as","children","expanded","id","onExpandStateChange"],DJ=Aq({}),DK=Aq({}),DL={},DM={},DN=CJ(),DO=function(){return String(Math.floor(1e5*Math.random()))},DP=DA((function($,B){var D=$.animate,E=void 0!==D&&D,F=$.as,G=void 0===F?"section":F,H=$.children,I=$.expandSingleSection,J=void 0!==I&&I,K=$.id,L=Cw($,DH),M=DE(Ar(DL),2),N=M[0],O=M[1],P=As(DM),Q=DE(Ar(DO),1)[0],R=K||"a".concat(Q);At((function(){J&&O((function($){var A={},B=0;for(var C in $)A[C]=$[C]&&0==B++;return A}))}),[J]);var S=Ax((function($,B,D){var E=D.current;return O((function(A){return DQ($,B,A,J)})),P.current=C(C({},P.current),{},A({},$,E)),function(){O((function(A){return W(A,$)})),P.current=W(P.current,$)}}),[J]),T=Ax((function($,A){O((function(B){var C=null!=A?A:!B[$],D=DQ($,C,B,J);return n().then((function(){for(var $ in B){var A=P.current[$];A&&B[$]!=D[$]&&A(D[$])}})),D}))}),[J]),U=Ax((function($,A){var B;return null!==(B=N[$])&&void 0!==B?B:A}),[N]),V=Ax((function($){if($)$ in N&&T($);else if(!J)for(var A in N)T(A)}),[N,T,J]),X=Ax((function($){if($)U($,!0)||T($);else if(!J)for(var A in N)U(A,!0)||T(A)}),[N,T,U,J]),Y=Ax((function($){if($)U($,!1)&&T($);else for(var A in N)U(A,!1)&&T(A)}),[N,T,U]);Ay(B,(function(){return{toggle:V,expand:X,collapse:Y}}),[V,Y,X]);var Z=Aw((function(){return{registerSection:S,toggleExpanded:T,isExpanded:U,animate:E,prefix:R}}),[S,T,U,E,R]);return Ao(G,C({id:K},L),Ao(DJ.Provider,{value:Z},H))}));function DQ($,B,D,E){var F;if(E&&B)for(var G in F=A({},$,B),D)G!=$&&(F[G]=!1);else F=C(C({},D),{},A({},$,B));return F}function DR($){var A=$.animate,B=void 0!==A&&A,D=$.as,E=void 0===D?"section":D,F=$.children,G=$.expanded,H=void 0!==G&&G,I=$.id,J=$.onExpandStateChange,K=Cw($,DI),L=DE(Ar(DN),1)[0],M=I||L,N=DE(Ar(DO),1)[0],O=DE(Ar(H),2),P=O[0],Q=O[1],R=DE(Ar(null),2),S=R[0],T=R[1],U=DE(Ar(null),2),V=U[0],W=U[1],X=Av(DJ),Y=X.animate,Z=X.isExpanded,_=X.prefix,a=X.registerSection,b=X.toggleExpanded,c=Z?Z(M,H):P,d=null!=Y?Y:B,e=S||"".concat(_||"a","-content-").concat(M,"-").concat(N),f=V||"".concat(_||"a","-header-").concat(M,"-").concat(N),g=As(null);g.current=J,Au((function(){if(a)return a(M,H,g)}),[a,M,H]);var h=Ax((function($){b?b(M,$):Q((function(A){var B=null!=$?$:!A;return n().then((function(){var $=g.current;$&&$(B)})),B}))}),[M,b]),i=Aw((function(){return{animate:d,contentId:e,headerId:f,expanded:c,toggleHandler:h,setContentId:T,setHeaderId:W}}),[d,e,f,c,h]);return Ao(E,C({},K),Ao(DK.Provider,{value:i},F))}function DS($){var A="class",B="tabIndex",D=$.as,E=void 0===D?"div":D,F=$.children,G=$.id,H=$.role,I=void 0===H?"button":H,J=$[A],K=void 0===J?"":J,L=$[B],M=void 0===L?0:L,N=Cw($,["as","children","id","role",A,B].map(DB)),O=Av(DK),P=O.contentId,Q=O.expanded,R=O.headerId,S=O.setHeaderId,T=O.toggleHandler;return Au((function(){S&&S(G)}),[S,G]),Ao(E,C(C({},N),{},{id:R,role:I,class:"".concat(K," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:M,"aria-controls":P,onClick:function(){return T()},"aria-expanded":String(Q)}),F)}function DT($){var A="class",B=$.as,D=void 0===B?"div":B,E=$.children,F=$.id,G=$.role,H=void 0===G?"region":G,I=$[A],J=void 0===I?"":I,K=Cw($,["as","children","id","role",A].map(DB)),L=As(null),M=As(!1),N=Av(DK),O=N.animate,P=N.contentId,Q=N.expanded,R=N.headerId,S=N.setContentId;return At((function(){return M.current=!0,function(){return M.current=!1}}),[]),Au((function(){S&&S(F)}),[S,F]),Au((function(){var $=M.current,A=L.current;if(O&&$&&A&&A.animate)return Q?function($){return DF($,(function(){var A=Bp($,"height"),B=Bp($,"opacity"),C=Bp($,"overflowY");Bq($,{height:0,opacity:0,overflowY:"auto"});var D=$.scrollHeight;Bq($,{height:A,opacity:B,overflowY:C});var E=DG(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return DF($,(function(){var A=$.offsetHeight,B=DG(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[Q,O]),Ao(CD,{renderable:Q},Ao(D,C(C({},K),{},{ref:L,class:J+" section-child-00fce3c"+(Q?"":" content-hidden-00fce3c"),id:P,"aria-labelledby":R,role:H}),E))}DP.displayName="Accordion";var DU=function($){E(B,Ct);var A=J(B);function B(){return A.apply(this,arguments)}return B.prototype.init=function(){var $=this,A=function(A){return function(B){var C;!function($,A,B){var C=$.hasAttribute(A),D=void 0!==B?B:!C;D!==C&&(D?$.setAttribute(A,""):$.removeAttribute(A))}(A,"expanded",B),null===(C=A.__AMP_PR)||void 0===C||C.call(A),$.triggerEvent(A,B?"expand":"collapse")}},B=this.element,C=new MutationObserver((function(){$.mutateProps(DV(B,C,A))}));return C.observe(B,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),V({"children":DV(B,C,A).children})},B}();function DV($,A,B){var D,E,F,G,H,I=(E=$,F="section",e(F),G=E,H="> ".concat(F),(D=c(G)?G.querySelectorAll(d(H,":scope")):f(G,H))?Array.prototype.slice.call(D):[]).map((function($){$.__AMP_PR||($.__AMP_PR=function(){return A.takeRecords()});var D=Y($,"__AMP_H_SHIM",DX),E=Y($,"__AMP_C_SHIM",DZ),F=Y($,"__AMP_EXPAND_STATE_SHIM",B),G=V({"key":$,"expanded":$.hasAttribute("expanded"),"id":$.getAttribute("id"),"onExpandStateChange":F}),H=V({"as":D,"id":$.firstElementChild.getAttribute("id"),"role":$.firstElementChild.getAttribute("role")||void 0}),I=V({"as":E,"id":$.lastElementChild.getAttribute("id"),"role":$.lastElementChild.getAttribute("role")||void 0});return Ao(DR,C({},G),Ao(DS,C({},H)),Ao(DT,C({},I)))}));return V({"children":I})}function DW($,A){var B=A["aria-controls"],C=A["aria-expanded"],D=A.id,E=A.onClick,F=A.role,G=$.firstElementChild;return Au((function(){if(G&&E)return G.setAttribute("id",D),G.classList.add("i-amphtml-accordion-header"),G.addEventListener("click",E),G.hasAttribute("tabindex")||G.setAttribute("tabindex",0),G.setAttribute("aria-expanded",C),G.setAttribute("aria-controls",B),G.setAttribute("role",F),$.__AMP_PR&&$.__AMP_PR(),function(){G.removeEventListener("click",_(E))}}),[$,G,D,F,E,B,C]),Ao("header",null)}var DX=function($){return DW.bind(null,$)};function DY($,A,B){var C=A["aria-labelledby"],D=A.id,E=A.role,F=$.lastElementChild,G=As();return G.current=F,CW(G),function($,A){Ay($,(function(){return A}),[A])}(B,F),Au((function(){F&&(F.classList.add("i-amphtml-accordion-content"),F.setAttribute("id",D),F.setAttribute("role",E),F.setAttribute("aria-labelledby",C),$.__AMP_PR&&$.__AMP_PR())}),[$,F,D,E,C]),Ao("div",null)}var DZ=function($){return DA(DY.bind(null,$))};function D_(){customElements.define("bento-accordion",DU.CustomElement(DU))} | ||
var a=Object.defineProperty;function b(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function c(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function d(a){for(var d=1;d<arguments.length;d++){var e=null!=arguments[d]?arguments[d]:{};d%2?c(Object(e),!0).forEach((function(c){b(a,c,e[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(e,b))}))}return a}function e(a,b){return(e=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),b&&e(a,b)}function g(a){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function h(a){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function i(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function j(a,b){if(b&&("object"===h(b)||"function"==typeof b))return b;if(void 0!==b)throw new TypeError("Derived constructors may only return object or undefined");return i(a)}function k(a){var b=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(a){return!1}}();return function(){var c,d=g(a);if(b){var e=g(this).constructor;c=Reflect.construct(d,arguments,e)}else c=d.apply(this,arguments);return j(this,c)}}!function(b,c){for(var d in function(b){a(b,"__esModule",{value:!0})}(b),c)a(b,d,{get:c[d],enumerable:!0})}(exports,{defineElement:function(){return eC}});var l=Array.isArray;function m(a){return l(a)?a:[a]}function n(a,b){return a.indexOf(b)<0&&(a.push(b),!0)}function o(a,b){var c=a.indexOf(b);return-1!=c&&(a.splice(c,1),!0)}function p(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function q(a,b){if(a){if("string"==typeof a)return p(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?p(a,b):void 0}}function r(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(c)return(c=c.call(a)).next.bind(c);if(Array.isArray(a)||(c=q(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0;return function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}}}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 s,t=Object.prototype,u=t.hasOwnProperty;function v(a){var b=Object.create(null);return a&&Object.assign(b,a),b}function w(a){return a||{}}function x(a,b){return Object.keys(a).reduce((function(c,d){return b.includes(d)||(c[d]=a[d]),c}),{})}function y(a,b){if(null==a||null==b)return a===b;for(var c in a)if(a[c]!==b[c])return!1;for(var d in b)if(b[d]!==a[d])return!1;return!0}function z(a,b,c){var d=a[b];return void 0===d&&(d=c(a,b),a[b]=d),d}function A(a){return 1==(null==a?void 0:a.nodeType)}function B(a,b,c,d,e,f,g,h,i,j,k){return a}function C(a,b){return a}function D(a){return(a.ownerDocument||a).defaultView}function E(a){return void 0!==s?s:s=function(a){try{var b=a.ownerDocument,c=b.createElement("div"),d=b.createElement("div");return c.appendChild(d),c.querySelector(":scope div")===d}catch(a){return!1}}(a)}function F(a,b){return a.replace(/^|,/g,"$&".concat(b," "))}function G(a){B(/^[\w-]+$/.test(a))}function H(a,b){var c="i-amphtml-scoped";a.classList.add(c);var d=F(b,".".concat(c)),e=a.querySelectorAll(d);return a.classList.remove(c),e}function I(a,b){if(E(a))return a.querySelector(F(b,":scope"));var c=H(a,b);return void 0===c[0]?null:c[0]}function J(a,b){return G(b),I(a,"> [".concat(b,"]"))}function K(a){return function(a,b){for(var c=[],d=a.firstChild;d;d=d.nextSibling)f=void 0,g=void 0,"string"==typeof(f=e=d)?g=f:f.nodeType===Node.ELEMENT_NODE&&(g=C(f).tagName),!(g&&g.toLowerCase().startsWith("i-")||e.nodeType===Node.ELEMENT_NODE&&(C(e),e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&c.push(d);var e,f,g;return c}(a)}t.toString;var L,M={bubbles:!0,cancelable:!0};function N(a,b,c){return function(a,b){for(var c in b)a.setAttribute(c,b[c]);return a}(a.createElement(b),c)}function O(a,b,c,d){var e=c||{},f=a.ownerDocument.createEvent("Event");f.data=e;var g=d||M,h=g.bubbles,i=g.cancelable;f.initEvent(b,h,i),a.dispatchEvent(f)}function P(){return L||(L=Promise.resolve(void 0))}var Q,R,S,T,U,V,W,X,Y,Z,$=function(){var a=this;this.promise=new Promise((function(b,c){a.resolve=b,a.reject=c}))},_={},ba=[],bb=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function bc(a,b){for(var c in b)a[c]=b[c];return a}function bd(a){var b=a.parentNode;b&&b.removeChild(a)}function be(a,b,c){var d,e,f,g={};for(f in b)"key"==f?d=b[f]:"ref"==f?e=b[f]:g[f]=b[f];if(arguments.length>2&&(g.children=arguments.length>3?Q.call(arguments,2):c),"function"==typeof a&&null!=a.defaultProps)for(f in a.defaultProps)void 0===g[f]&&(g[f]=a.defaultProps[f]);return bf(a,g,d,e,null)}function bf(a,b,c,d,e){var f={type:a,props:b,key:c,ref:d,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++S:e};return null==e&&null!=R.vnode&&R.vnode(f),f}function bg(a){return a.children}function bh(a,b){this.props=a,this.context=b}function bi(a,b){if(null==b)return a.__?bi(a.__,a.__.__k.indexOf(a)+1):null;for(var c;b<a.__k.length;b++)if(null!=(c=a.__k[b])&&null!=c.__e)return c.__e;return"function"==typeof a.type?bi(a):null}function bj(a){var b,c;if(null!=(a=a.__)&&null!=a.__c){for(a.__e=a.__c.base=null,b=0;b<a.__k.length;b++)if(null!=(c=a.__k[b])&&null!=c.__e){a.__e=a.__c.base=c.__e;break}return bj(a)}}function bk(a){(!a.__d&&(a.__d=!0)&&T.push(a)&&!bl.__r++||V!==R.debounceRendering)&&((V=R.debounceRendering)||U)(bl)}function bl(){for(var a;bl.__r=T.length;)a=T.sort((function(a,b){return a.__v.__b-b.__v.__b})),T=[],a.some((function(a){var b,c,d,e,f,g;a.__d&&(f=(e=(b=a).__v).__e,(g=b.__P)&&(c=[],(d=bc({},e)).__v=e.__v+1,bt(g,e,d,b.__n,void 0!==g.ownerSVGElement,null!=e.__h?[f]:null,c,null==f?bi(e):f,e.__h),bu(c,e),e.__e!=f&&bj(e)))}))}function bm(a,b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r=d&&d.__k||ba,s=r.length;for(c.__k=[],k=0;k<b.length;k++)if(null!=(n=c.__k[k]=null==(n=b[k])||"boolean"==typeof n?null:"string"==typeof n||"number"==typeof n||"bigint"==typeof n?bf(null,n,null,null,n):Array.isArray(n)?bf(bg,{children:n},null,null,null):n.__b>0?bf(n.type,n.props,n.key,null,n.__v):n)){if(n.__=c,n.__b=c.__b+1,null===(m=r[k])||m&&n.key==m.key&&n.type===m.type)r[k]=void 0;else for(l=0;l<s;l++){if((m=r[l])&&n.key==m.key&&n.type===m.type){r[l]=void 0;break}m=null}bt(a,n,m=m||_,e,f,g,h,i,j),o=n.__e,(l=n.ref)&&m.ref!=l&&(q||(q=[]),m.ref&&q.push(m.ref,null,n),q.push(l,n.__c||o,n)),null!=o?(null==p&&(p=o),"function"==typeof n.type&&n.__k===m.__k?n.__d=i=bn(n,i,a):i=bo(a,n,m,r,o,i),"function"==typeof c.type&&(c.__d=i)):i&&m.__e==i&&i.parentNode!=a&&(i=bi(m))}for(c.__e=p,k=s;k--;)null!=r[k]&&("function"==typeof c.type&&null!=r[k].__e&&r[k].__e==c.__d&&(c.__d=bi(d,k+1)),bw(r[k],r[k]));if(q)for(k=0;k<q.length;k++)bv(q[k],q[++k],q[++k])}function bn(a,b,c){for(var d,e=a.__k,f=0;e&&f<e.length;f++)(d=e[f])&&(d.__=a,b="function"==typeof d.type?bn(d,b,c):bo(c,d,d,e,d.__e,b));return b}function bo(a,b,c,d,e,f){var g,h,i;if(void 0!==b.__d)g=b.__d,b.__d=void 0;else if(null==c||e!=f||null==e.parentNode)a:if(null==f||f.parentNode!==a)a.appendChild(e),g=null;else{for(h=f,i=0;(h=h.nextSibling)&&i<d.length;i+=2)if(h==e)break a;a.insertBefore(e,f),g=f}return void 0!==g?g:e.nextSibling}function bp(a,b,c){"-"===b[0]?a.setProperty(b,c):a[b]=null==c?"":"number"!=typeof c||bb.test(b)?c:c+"px"}function bq(a,b,c,d,e){var f;a:if("style"===b)if("string"==typeof c)a.style.cssText=c;else{if("string"==typeof d&&(a.style.cssText=d=""),d)for(b in d)c&&b in c||bp(a.style,b,"");if(c)for(b in c)d&&c[b]===d[b]||bp(a.style,b,c[b])}else if("o"===b[0]&&"n"===b[1])f=b!==(b=b.replace(/Capture$/,"")),b=b.toLowerCase()in a?b.toLowerCase().slice(2):b.slice(2),a.l||(a.l={}),a.l[b+f]=c,c?d||a.addEventListener(b,f?bs:br,f):a.removeEventListener(b,f?bs:br,f);else if("dangerouslySetInnerHTML"!==b){if(e)b=b.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==b&&"list"!==b&&"form"!==b&&"tabIndex"!==b&&"download"!==b&&b in a)try{a[b]=null==c?"":c;break a}catch(a){}"function"==typeof c||(null!=c&&(!1!==c||"a"===b[0]&&"r"===b[1])?a.setAttribute(b,c):a.removeAttribute(b))}}function br(a){this.l[a.type+!1](R.event?R.event(a):a)}function bs(a){this.l[a.type+!0](R.event?R.event(a):a)}function bt(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u=b.type;if(void 0!==b.constructor)return null;null!=c.__h&&(i=c.__h,h=b.__e=c.__e,b.__h=null,f=[h]),(j=R.__b)&&j(b);try{a:if("function"==typeof u){if(q=b.props,r=(j=u.contextType)&&d[j.__c],s=j?r?r.props.value:j.__:d,c.__c?p=(k=b.__c=c.__c).__=k.__E:("prototype"in u&&u.prototype.render?b.__c=k=new u(q,s):(b.__c=k=new bh(q,s),k.constructor=u,k.render=bx),r&&r.sub(k),k.props=q,k.state||(k.state={}),k.context=s,k.__n=d,l=k.__d=!0,k.__h=[]),null==k.__s&&(k.__s=k.state),null!=u.getDerivedStateFromProps&&(k.__s==k.state&&(k.__s=bc({},k.__s)),bc(k.__s,u.getDerivedStateFromProps(q,k.__s))),m=k.props,n=k.state,l)null==u.getDerivedStateFromProps&&null!=k.componentWillMount&&k.componentWillMount(),null!=k.componentDidMount&&k.__h.push(k.componentDidMount);else{if(null==u.getDerivedStateFromProps&&q!==m&&null!=k.componentWillReceiveProps&&k.componentWillReceiveProps(q,s),!k.__e&&null!=k.shouldComponentUpdate&&!1===k.shouldComponentUpdate(q,k.__s,s)||b.__v===c.__v){k.props=q,k.state=k.__s,b.__v!==c.__v&&(k.__d=!1),k.__v=b,b.__e=c.__e,b.__k=c.__k,b.__k.forEach((function(a){a&&(a.__=b)})),k.__h.length&&g.push(k);break a}null!=k.componentWillUpdate&&k.componentWillUpdate(q,k.__s,s),null!=k.componentDidUpdate&&k.__h.push((function(){k.componentDidUpdate(m,n,o)}))}k.context=s,k.props=q,k.state=k.__s,(j=R.__r)&&j(b),k.__d=!1,k.__v=b,k.__P=a,j=k.render(k.props,k.state,k.context),k.state=k.__s,null!=k.getChildContext&&(d=bc(bc({},d),k.getChildContext())),l||null==k.getSnapshotBeforeUpdate||(o=k.getSnapshotBeforeUpdate(m,n)),t=null!=j&&j.type===bg&&null==j.key?j.props.children:j,bm(a,Array.isArray(t)?t:[t],b,c,d,e,f,g,h,i),k.base=b.__e,b.__h=null,k.__h.length&&g.push(k),p&&(k.__E=k.__=null),k.__e=!1}else null==f&&b.__v===c.__v?(b.__k=c.__k,b.__e=c.__e):b.__e=function(a,b,c,d,e,f,g,h){var i,j,k,l=c.props,m=b.props,n=b.type,o=0;if("svg"===n&&(e=!0),null!=f)for(;o<f.length;o++)if((i=f[o])&&(i===a||(n?i.localName==n:3==i.nodeType))){a=i,f[o]=null;break}if(null==a){if(null===n)return document.createTextNode(m);a=e?document.createElementNS("http://www.w3.org/2000/svg",n):document.createElement(n,m.is&&m),f=null,h=!1}if(null===n)l===m||h&&a.data===m||(a.data=m);else{if(f=f&&Q.call(a.childNodes),j=(l=c.props||_).dangerouslySetInnerHTML,k=m.dangerouslySetInnerHTML,!h){if(null!=f)for(l={},o=0;o<a.attributes.length;o++)l[a.attributes[o].name]=a.attributes[o].value;(k||j)&&(k&&(j&&k.__html==j.__html||k.__html===a.innerHTML)||(a.innerHTML=k&&k.__html||""))}if(function(a,b,c,d,e){var f;for(f in c)"children"===f||"key"===f||f in b||bq(a,f,null,c[f],d);for(f in b)e&&"function"!=typeof b[f]||"children"===f||"key"===f||"value"===f||"checked"===f||c[f]===b[f]||bq(a,f,b[f],c[f],d)}(a,m,l,e,h),k)b.__k=[];else if(o=b.props.children,bm(a,Array.isArray(o)?o:[o],b,c,d,e&&"foreignObject"!==n,f,g,f?f[0]:c.__k&&bi(c,0),h),null!=f)for(o=f.length;o--;)null!=f[o]&&bd(f[o]);h||("value"in m&&void 0!==(o=m.value)&&(o!==a.value||"progress"===n&&!o)&&bq(a,"value",o,l.value,!1),"checked"in m&&void 0!==(o=m.checked)&&o!==a.checked&&bq(a,"checked",o,l.checked,!1))}return a}(c.__e,b,c,d,e,f,g,i);(j=R.diffed)&&j(b)}catch(a){b.__v=null,(i||null!=f)&&(b.__e=h,b.__h=!!i,f[f.indexOf(h)]=null),R.__e(a,b,c)}}function bu(a,b){R.__c&&R.__c(b,a),a.some((function(b){try{a=b.__h,b.__h=[],a.some((function(a){a.call(b)}))}catch(a){R.__e(a,b.__v)}}))}function bv(a,b,c){try{"function"==typeof a?a(b):a.current=b}catch(a){R.__e(a,c)}}function bw(a,b,c){var d,e;if(R.unmount&&R.unmount(a),(d=a.ref)&&(d.current&&d.current!==a.__e||bv(d,null,b)),null!=(d=a.__c)){if(d.componentWillUnmount)try{d.componentWillUnmount()}catch(a){R.__e(a,b)}d.base=d.__P=null}if(d=a.__k)for(e=0;e<d.length;e++)d[e]&&bw(d[e],b,"function"!=typeof a.type);c||null==a.__e||bd(a.__e),a.__e=a.__d=void 0}function bx(a,b,c){return this.constructor(a,c)}function by(a,b,c){var d,e,f;R.__&&R.__(a,b),e=(d="function"==typeof c)?null:c&&c.__k||b.__k,f=[],bt(b,a=(!d&&c||b).__k=be(bg,null,[a]),e||_,_,void 0!==b.ownerSVGElement,!d&&c?[c]:e?null:b.firstChild?Q.call(b.childNodes):null,f,!d&&c?c:e?e.__e:b.firstChild,d),bu(f,a)}function bz(a,b){by(a,b,bz)}Q=ba.slice,R={__e:function(a,b){for(var c,d,e;b=b.__;)if((c=b.__c)&&!c.__)try{if((d=c.constructor)&&null!=d.getDerivedStateFromError&&(c.setState(d.getDerivedStateFromError(a)),e=c.__d),null!=c.componentDidCatch&&(c.componentDidCatch(a),e=c.__d),e)return c.__E=c}catch(b){a=b}throw a}},S=0,bh.prototype.setState=function(a,b){var c;c=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=bc({},this.state),"function"==typeof a&&(a=a(bc({},c),this.props)),a&&bc(c,a),null!=a&&this.__v&&(b&&this.__h.push(b),bk(this))},bh.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),bk(this))},bh.prototype.render=bg,T=[],U="function"==typeof Promise?Promise.prototype.then.bind(P()):setTimeout,bl.__r=0,W=0;var bA=0,bB=[],bC=R.__b,bD=R.__r,bE=R.diffed,bF=R.__c,bG=R.unmount;function bH(a,b){R.__h&&R.__h(Y,a,bA||b),bA=0;var c=Y.__H||(Y.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function bI(a,b){var c=bH(X++,4);!R.__s&&bO(c.__H,b)&&(c.__=a,c.__H=b,Y.__h.push(c))}function bJ(a,b){var c=bH(X++,7);return bO(c.__H,b)&&(c.__=a(),c.__H=b,c.__h=a),c.__}function bK(){bB.forEach((function(a){if(a.__P)try{a.__H.__h.forEach(bM),a.__H.__h.forEach(bN),a.__H.__h=[]}catch(b){a.__H.__h=[],R.__e(b,a.__v)}})),bB=[]}R.__b=function(a){Y=null,bC&&bC(a)},R.__r=function(a){bD&&bD(a),X=0;var b=(Y=a.__c).__H;b&&(b.__h.forEach(bM),b.__h.forEach(bN),b.__h=[])},R.diffed=function(a){bE&&bE(a);var b=a.__c;b&&b.__H&&b.__H.__h.length&&(1!==bB.push(b)&&Z===R.requestAnimationFrame||((Z=R.requestAnimationFrame)||function(a){var b,c=function(){clearTimeout(d),bL&&cancelAnimationFrame(b),setTimeout(a)},d=setTimeout(c,100);bL&&(b=requestAnimationFrame(c))})(bK)),Y=null},R.__c=function(a,b){b.some((function(a){try{a.__h.forEach(bM),a.__h=a.__h.filter((function(a){return!a.__||bN(a)}))}catch(c){b.some((function(a){a.__h&&(a.__h=[])})),b=[],R.__e(c,a.__v)}})),bF&&bF(a,b)},R.unmount=function(a){bG&&bG(a);var b=a.__c;if(b&&b.__H)try{b.__H.__.forEach(bM)}catch(a){R.__e(a,b.__v)}};var bL="function"==typeof requestAnimationFrame;function bM(a){var b=Y;"function"==typeof a.__c&&a.__c(),Y=b}function bN(a){var b=Y;a.__c=a.__(),Y=b}function bO(a,b){return!a||a.length!==b.length||b.some((function(b,c){return b!==a[c]}))}function bP(a,b){return"function"==typeof b?b(a):b}function bQ(a,b,c){return be.apply(void 0,arguments)}function bR(a,b,c){by(a,b,c)}function bS(a){return(c={__c:b="__cC"+W++,__:a,Consumer:function(a,b){return a.children(b)},Provider:function(a){var c,d;return this.getChildContext||(c=[],(d={})[b]=this,this.getChildContext=function(){return d},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&c.some(bk)},this.sub=function(a){c.push(a);var b=a.componentWillUnmount;a.componentWillUnmount=function(){c.splice(c.indexOf(a),1),b&&b.call(a)}}),a.children}}).Provider.__=c.Consumer.contextType=c;var b,c}function bT(a){return bA=1,b=bP,c=a,(d=bH(X++,2)).t=b,d.__c||(d.__=[bP(void 0,c),function(a){var b=d.t(d.__[0],a);d.__[0]!==b&&(d.__=[b,d.__[1]],d.__c.setState({}))}],d.__c=Y),d.__;var b,c,d}function bU(a){return b=a,bA=5,bJ((function(){return{current:b}}),[]);var b}function bV(a,b){var c,d,e;c=a,d=b,e=bH(X++,3),!R.__s&&bO(e.__H,d)&&(e.__=c,e.__H=d,Y.__H.__h.push(e))}function bW(a,b){bI(a,b)}function bX(a){return b=a,c=Y.context[b.__c],(d=bH(X++,9)).c=b,c?(null==d.__&&(d.__=!0,c.sub(Y)),c.props.value):b.__;var b,c,d}function bY(a,b){return bJ(a,b)}function bZ(a,b){return c=a,bA=8,bJ((function(){return c}),b);var c}function b$(a,b,c){return d=a,e=b,bA=6,void bI((function(){"function"==typeof d?d(e()):d&&(d.current=e())}),null==(f=c)?f:f.concat(d));var d,e,f}var b_,ca=["auto","lazy","eager","unload"],cb=(b(b_={},"auto",0),b(b_,"lazy",1),b(b_,"eager",2),b(b_,"unload",3),b_);function cc(a,b){var c=cb[a]||0,d=cb[b]||0,e=Math.max(c,d);return ca[e]}function cd(){}function ce(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=!1,d=function(){c=!1,a()},e=function(a){c||(c=!0,(a||b)(d))};return e}function cf(a){var b=Object.getOwnPropertyDescriptor(a,"message");if(null!=b&&b.writable)return a;var c=a.message,d=a.stack,e=new Error(c);for(var f in a)e[f]=a[f];return e.stack=d,e}function cg(a){for(var b,c=null,d="",e=r(arguments,!0);!(b=e()).done;){var f=b.value;f instanceof Error&&!c?c=cf(f):(d&&(d+=" "),d+=f)}return c?d&&(c.message=d+": "+c.message):c=new Error(d),c}function ch(a){var b,c;null===(b=(c=self).__AMP_REPORT_ERROR)||void 0===b||b.call(c,a)}function ci(a){var b=cg.apply(null,arguments);setTimeout((function(){throw ch(b),b}))}function cj(a){try{for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return a.apply(null,c)}catch(a){ci(a)}}function ck(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,d=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],e=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(e){var f=b(a,c,d);f&&ck(a,b,c,f,!1)}else if(a.children)for(var g,h=r(a.children,!0);!(g=h()).done;){var i=g.value;ck(i,b,c,d,!0)}}cd.prototype.key,cd.prototype.type,cd.prototype.deps,cd.prototype.recursive,cd.prototype.compute,cd.prototype.defaultValue;var cl=[],cm=function(){};function cn(){}function co(){}cn.prototype.values,cn.prototype.setters,co.prototype.prop,co.prototype.subscribers,co.prototype.value,co.prototype.pending,co.prototype.counter,co.prototype.depValues,co.prototype.parentValue,co.prototype.parentContextNode,co.prototype.ping,co.prototype.pingDep,co.prototype.pingParent;var cp=function(){function a(a){this.g=a,this.h=null,this.i=null,this.j=ce(this.j.bind(this),setTimeout)}var b=a.prototype;return b.set=function(a,b,c){B(b),B(void 0!==c);var d=a.key,e=this.h||(this.h=new Map),f=e.get(d);f||(f={values:[],setters:[]},e.set(d,f));var g=f.setters.indexOf(b),h=-1==g||f.values[g]!==c;-1==g?(f.setters.push(b),f.values.push(c)):h&&(f.values[g]=c),h&&(this.ping(a,!1),ct(a)&&ck(this.g,cq,a,!0,!1))},b.remove=function(a,b){B(b);var c=a.key,d=this.h,e=null==d?void 0:d.get(c);if(e){var f=e.setters.indexOf(b);-1!=f&&(e.setters.splice(f,1),e.values.splice(f,1),0==e.setters.length&&d.delete(c),ck(this.g,cq,a))}},b.has=function(a){var b;return!(null===(b=this.h)||void 0===b||!b.has(a.key))},b.subscribe=function(a,b){var c=this.k(a);if(n(c.subscribers,b)){var d=c.value;cu(d)&&this.m()&&b(d)}},b.unsubscribe=function(a,b){var c,d=null===(c=this.i)||void 0===c?void 0:c.get(a.key);d&&o(d.subscribers,b)&&this.o(d)},b.ping=function(a,b){var c,d;null===(c=this.i)||void 0===c||null===(d=c.get(a.key))||void 0===d||d.ping(b)},b.parentUpdated=function(){this.m()&&ck(this.g,cr,void 0,cl)},b.rootUpdated=function(){var a=this,b=this.i;b&&(this.m()?b.forEach((function(b){var c=b.prop;a.ping(c,!0)})):b.forEach((function(b){ct(b.prop)&&a.p(b,null)})))},b.scan=function(a){return this.ping(a,!0),!!ct(a)&&!this.has(a)},b.scanAll=function(a){var b=this,c=null,d=this.i;return d&&d.forEach((function(d){var e=d.prop,f=e.key;-1==(c||a).indexOf(f)&&(b.ping(e,!0),b.g.children&&b.has(e)&&(c||(c=a.slice(0)),c.push(f)))})),c||a},b.m=function(){return!!this.g.root},b.k=function(a){var b=this,c=a.deps,d=a.key,e=this.i||(this.i=new Map),f=e.get(d);return f||(f={prop:a,subscribers:[],value:void 0,pending:0,counter:0,depValues:c.length>0?c.map(cm):cl,parentValue:void 0,parentContextNode:null,ping:function(a){if(b.m()){var c=a?2:1;f.pending=Math.max(f.pending,c),b.j()}},pingDep:c.length>0?c.map((function(a,b){return function(a){f.depValues[b]=a,f.ping()}})):cl,pingParent:ct(a)?function(a){f.parentValue=a,f.ping()}:null},e.set(d,f),c.forEach((function(a,c){return b.subscribe(a,f.pingDep[c])})),f.ping(!1)),f},b.o=function(a){var b=this;if(!(a.subscribers.length>0)){var c=a.pingDep,d=a.prop,e=d.deps,f=d.key;this.i.delete(f),this.p(a,null),e.length>0&&e.forEach((function(a,d){b.unsubscribe(a,c[d])}))}},b.j=function(){var a=this;if(this.m()){var b=this.i;if(b){var c;b.forEach((function(a){a.counter=0}));do{c=0,b.forEach((function(b){if(0!=b.pending){var d=b.prop.key;if(b.counter++,b.counter>5)return ci("cyclical prop: ".concat(d)),void(b.pending=0);c++,a.q(b)}}))}while(c>0)}}},b.q=function(a){var b,c=2==a.pending;try{b=this.u(a,c)}catch(a){ci(a)}a.pending=0,this.v(a,b)},b.v=function(a,b){var c=a.prop,d=a.value,e=c.key,f=this.i;if(d!==b&&a===(null==f?void 0:f.get(e))&&this.m()){a.value=b;for(var g,h=r(a.subscribers,!0);!(g=h()).done;)(0,g.value)(b)}},b.u=function(a,b){var c,d;B(this.m());var e=a.depValues,f=a.prop,g=f.compute,h=f.defaultValue,i=f.key,j=null===(c=this.h)||void 0===c||null===(d=c.get(i))||void 0===d?void 0:d.values,k=function(a,b){var c=a.compute,d=a.recursive;return"function"==typeof d?!b||d(b):!(d&&b&&!c)&&d}(f,j);if(b||k!=Boolean(a.parentContextNode)){var l=k?function(a,b){for(var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,d=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?a.parent:a;d;d=d.parent)if(b(d,c))return d;return null}(this.g,cs,f,!1):null;this.p(a,l)}var m=cu(a.parentValue)?a.parentValue:k&&!a.parentContextNode?h:void 0,n=void 0;if(e.every(cu)&&(!k||cu(m))){var o=this.g.node;j&&!g?n=j[0]:ct(f)?j||e.length>0?n=function(a,b,c,d,e){switch(e.length){case 0:return a(b,c,d);case 1:return a(b,c,d,e[0]);case 2:return a(b,c,d,e[0],e[1]);case 3:return a(b,c,d,e[0],e[1],e[2]);default:return a.apply(null,[b,c,d].concat(e))}}(g,o,j||cl,m,e):cu(m)&&(n=m):g&&(n=function(a,b,c,d){switch(d.length){case 0:return a(b,c);case 1:return a(b,c,d[0]);case 2:return a(b,c,d[0],d[1]);case 3:return a(b,c,d[0],d[1],d[2]);default:return a.apply(null,[b,c].concat(d))}}(g,o,j||cl,e))}return n},b.p=function(a,b){var c=a.parentContextNode,d=a.pingParent,e=a.prop;b!=c&&(a.parentContextNode=b,a.parentValue=void 0,c&&c.values.unsubscribe(e,B(d)),b&&b.values.subscribe(e,B(d)))},a}();function cq(a,b){return a.values.scan(b)}function cr(a,b,c){return a.values.scanAll(c)}function cs(a,b){return a.values.has(b)}function ct(a){return!!a.recursive}function cu(a){return void 0!==a}var cv=function(){function a(b,c){this.node=b,this.name=c,this.isRoot=9==b.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new cp(this),this.A=null,this.B=!1,this.C=ce(this.D.bind(this),setTimeout),11==b.nodeType&&b.addEventListener("slotchange",(function(b){var c,d,e=b.target;e.assignedNodes().forEach(cw),null===(c=a.closest(e))||void 0===c||null===(d=c.children)||void 0===d||d.forEach(cx)})),this.discover()}a.get=function(b){var c=b.__AMP_NODE;return c||(c=new a(b,null),b.__AMP_NODE=c),c},a.closest=function(b){for(var c=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],d=b;d;){if(d!=b||c){if(d.__AMP_NODE)return d.__AMP_NODE;var e=d,f=e.nodeType;if(9==f||11==f||1==f&&C(d).tagName.startsWith("AMP-"))return a.get(d)}var g=d.__AMP_ASSIGNED_SLOT||d.assignedSlot;d=g||d.parentNode}return null},a.assignSlot=function(a,b){a.__AMP_ASSIGNED_SLOT!=b&&(a.__AMP_ASSIGNED_SLOT=b,cw(a))},a.unassignSlot=function(a,b){a.__AMP_ASSIGNED_SLOT==b&&(a.__AMP_ASSIGNED_SLOT=void 0,cw(a))},a.rediscoverChildren=function(a){var b,c=a.__AMP_NODE;null==c||null===(b=c.children)||void 0===b||b.forEach(cx)};var b=a.prototype;return b.discover=function(){this.isDiscoverable()?this.C():this.name&&this.children&&this.children.forEach(cx)},b.isDiscoverable=function(){return!this.isRoot&&!this.B},b.setParent=function(b){var c=null!=b&&b.nodeType?a.get(b):b;this.F(c,null!=b)},b.setIsRoot=function(a){var b,c;this.isRoot=a;var d=a?this:null!==(b=null===(c=this.parent)||void 0===c?void 0:c.root)&&void 0!==b?b:null;this.updateRoot(d)},b.updateRoot=function(a){B(!a||a.isRoot);var b,c,d=this.root;a!=d&&(this.root=a,this.values.rootUpdated(),null===(b=this.A)||void 0===b||b.forEach((function(a){return a.rootUpdated()})),null===(c=this.children)||void 0===c||c.forEach((function(b){return b.updateRoot(a)})))},b.addGroup=function(b,c,d){var e=this.groups||(this.groups=new Map),f=this.children,g=new a(this.node,b);return e.set(b,{cn:g,match:c,weight:d}),g.setParent(this),null==f||f.forEach(cx),g},b.group=function(a){var b,c;return(null===(b=this.groups)||void 0===b||null===(c=b.get(a))||void 0===c?void 0:c.cn)||null},b.findGroup=function(a){var b=this,c=this.groups;if(!c)return null;var d=null,e=Number.NEGATIVE_INFINITY;return c.forEach((function(c){var f=c.cn,g=c.match,h=c.weight;g(a,b.node)&&h>e&&(d=f,e=h)})),d},b.subscribe=function(a,b,c,d){var e=this.A||(this.A=new Map),f=e.get(a);f||(f=new b(this,c,d),e.set(a,f))},b.unsubscribe=function(a){var b=this.A,c=null==b?void 0:b.get(a);c&&(c.dispose(),b.delete(a))},b.D=function(){if(this.isDiscoverable()){var b=a.closest(this.node,!1),c=(null==b?void 0:b.findGroup(this.node))||b;this.F(c,!1)}},b.F=function(a,b){var c;this.B=b;var d=this.parent;if(a!=d){if(this.parent=a,null!=d&&d.children&&o(B(d.children),this),a){var e=a.children||(a.children=[]);n(e,this);for(var f,g=r(e,!0);!(f=g()).done;){var h=f.value;h!=this&&h.isDiscoverable()&&h.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(c=null==a?void 0:a.root)&&void 0!==c?c:null)},a}();function cw(a){!function(a,b){var c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=cv.closest(a,c);if(d)if(d.node==a)b(d);else if(d.children)for(var e,f=r(d.children,!0);!(e=f()).done;){var g=e.value;a.contains(g.node)&&b(g)}}(a,cx)}function cx(a){a.discover()}var cy=[];function cz(a,b){var c=d({key:a,type:null,deps:cy,recursive:!1,compute:null,defaultValue:void 0},b);return B(0==c.deps.length||c.compute),c}var cA=[],cB=function(){};function cC(a,b,c){b=m(b);var d=c;cv.get(a).subscribe(d,cD,c,b)}var cD=function(){function a(a,b,c){var d=this;if(this.contextNode=a,this.G=b,this.H=c,this.I=c.length>0?c.map(cB):cA,this.J=c.length>0?c.map((function(a,b){return function(a){d.I[b]=a,d.K()}})):cA,this.L=!1,this.M=null,this.K=ce(this.K.bind(this),setTimeout),c.length>0){var e=this.contextNode.values;c.forEach((function(a,b){return e.subscribe(a,d.J[b])}))}this.m()&&this.K()}var b=a.prototype;return b.dispose=function(){var a=this;if(this.H.length>0){var b=this.contextNode.values;this.H.forEach((function(c,d){return b.unsubscribe(c,a.J[d])}))}this.N()},b.rootUpdated=function(){var a=this.m();this.N(),a&&this.K()},b.m=function(){return!!this.contextNode.root},b.K=function(){this.m()&&(this.I.every(cE)?(this.L=!0,this.O()):this.L&&(this.L=!1,this.N()))},b.O=function(){this.M&&(cj(this.M),this.M=null);var a=this.G;this.M=function(a,b){switch(b.length){case 0:return a();case 1:return a(b[0]);case 2:return a(b[0],b[1]);case 3:return a(b[0],b[1],b[2]);default:return a.apply(null,b)}}(a,this.I)},b.N=function(){this.M&&(cj(this.M),this.M=null)},a}();function cE(a){return void 0!==a}function cF(a){cv.get(a).discover()}function cG(a,b,c,d){cv.get(a).values.set(b,c,d)}function cH(a,b,c){cv.get(a).values.remove(b,c)}var cI,cJ=function(){function a(a,b){this.P=a,this.R=b,this.S={},this.T=null}var b=a.prototype;return b.start=function(){this.T=this.S,this.S={}},b.resolveMatchQuery=function(a){return"1"===this.U(a,cK,"1")},b.resolveListQuery=function(a){return this.U(a,cL,"")},b.complete=function(){for(var a in this.T)a in this.S||cM(this.T[a],this.R,!1);this.T=null},b.dispose=function(){for(var a in this.S)cM(this.S[a],this.R,!1);this.S={}},b.U=function(a,b,c){if(!a.trim())return c;var d=this.S[a]||this.T[a];return d||cM(d=b(this.P,a),this.R,!0),this.S[a]=d,function(a){for(var b=0;b<a.length;b++){var c=a[b],d=c.query,e=c.value;if(!d||d.matches)return e}return""}(d)},a}();function cK(a,b){return[{query:a.matchMedia(b),value:"1"},{query:null,value:""}]}function cL(a,b){return b.split(",").map((function(b){if(0!=(b=b.replace(/\s+/g," ").trim()).length){var c,d,e;if(")"==b.charAt(b.length-1)){var f=1;for(e=b.length-2;e>=0;e--){var g=b.charAt(e);if("("==g?f--:")"==g&&f++,0==f)break}var h=e-1;if(e>0)for(e--;e>=0;e--){var i=b.charAt(e);if(!("%"==i||"-"==i||"_"==i||i>="a"&&i<="z"||i>="A"&&i<="Z"||i>="0"&&i<="9"))break}if(e>=h)return null}else for(e=b.length-2;e>=0;e--){var j=b.charAt(e);if(!("%"==j||"."==j||j>="a"&&j<="z"||j>="A"&&j<="Z"||j>="0"&&j<="9"))break}return e>=0?(c=b.substring(0,e+1).trim(),d=b.substring(e+1).trim()):(d=b,c=void 0),d?{query:c?a.matchMedia(c):null,value:d}:null}})).filter(Boolean)}function cM(a,b,c){for(var d=0;d<a.length;d++){var e=a[d].query;e&&(void 0!==e.onchange?e.onchange=c?b:null:c?e.addListener(b):e.removeListener(b))}}var cN=["Webkit","webkit","Moz","moz","ms","O","o"],cO={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function cP(a,b,c){if(cT(b))return b;cI||(cI=v());var d=cI[b];if(!d||c){if(d=b,void 0===a[b]){var e=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),f=function(a,b){for(var c=0;c<cN.length;c++){var d=cN[c]+b;if(void 0!==a[d])return d}return""}(a,e);void 0!==a[f]&&(d=f)}c||(cI[b]=d)}return d}function cQ(a,b,c,d,e){var f=cP(a.style,b,e);if(f){var g=d?c+d:c;cT(f)?a.style.setProperty(f,g):a.style[f]=g}}function cR(a,b,c){var d=cP(a.style,b,c);if(d)return cT(d)?a.style.getPropertyValue(d):a.style[d]}function cS(a,b){for(var c in b)cQ(a,c,b[c])}function cT(a){return a.startsWith("--")}var cU=/vertical/,cV=new WeakMap,cW=new WeakMap,cX=new WeakMap;function cY(a){var b=cV.get(a);return b||(b=new a.ResizeObserver(cZ),cV.set(a,b)),b}function cZ(a){for(var b=new Set,c=a.length-1;c>=0;c--){var d=a[c],e=d.target;if(!b.has(e)){b.add(e);var f=cW.get(e);if(f){cX.set(e,d);for(var g=0;g<f.length;g++){var h=f[g],i=h.callback;c$(h.type,i,d)}}}}}function c$(a,b,c){if(0==a){var d=c.contentRect,e=d.height;cj(b,{width:d.width,height:e})}else if(1==a){var f,g=c.borderBoxSize;if(g)f=g.length>0?g[0]:{inlineSize:0,blockSize:0};else{var h,i,j=c.target,k=D(j),l=cU.test(function(a,b){return a.getComputedStyle(b)||cO}(k,j)["writing-mode"]),m=j,n=m.offsetHeight,o=m.offsetWidth;l?(i=o,h=n):(h=o,i=n),f={inlineSize:h,blockSize:i}}cj(b,f)}}var c_,da,db,dc=function(){function a(a){this.V=a,this.W=!1,this.X=!1,this.Y=this.Y.bind(this)}var b=a.prototype;return b.updatePlaying=function(a){a!==this.W&&(this.W=a,a?(this.X=!1,function(a,b,c){var d=a.ownerDocument.defaultView;if(d){var e=cW.get(a);if(e||(e=[],cW.set(a,e),cY(d).observe(a)),!e.some((function(a){return a.callback===c&&1===a.type}))){e.push({type:1,callback:c});var f=cX.get(a);f&&setTimeout((function(){return c$(1,c,f)}))}}}(this.V,0,this.Y)):function(a,b){!function(a,b,c){var d=cW.get(a);if(d&&(function(a,b){for(var d=[],e=0,f=0;f<a.length;f++){var g=a[f];(h=g).callback===c&&1===h.type?d.push(g):(e<f&&(a[e]=g),e++)}var h;e<a.length&&(a.length=e)}(d),0==d.length)){cW.delete(a),cX.delete(a);var e=a.ownerDocument.defaultView;e&&cY(e).unobserve(a)}}(a,0,b)}(this.V,this.Y))},b.Y=function(a){var b=a.blockSize,c=a.inlineSize>0&&b>0;if(c!==this.X){this.X=c;var d=this.V;c||d.pause()}},a}();function dd(){return db||(db=bS({renderable:!0,playable:!0,loading:"auto"}))}function de(a){var b=a.children,c=a.loading,d=void 0===c?"auto":c,e=a.notify,f=a.playable,g=void 0===f||f,h=a.renderable,i=void 0===h||h,j=df(),k=i&&j.renderable,l=k&&g&&j.playable,m=cc(k?"auto":"lazy",cc(d,j.loading)),n=e||j.notify,o=bY((function(){return{renderable:k,playable:l,loading:m,notify:n}}),[k,l,m,n]);return bQ(dd().Provider,{children:b,value:o})}function df(){return bX(dd())}"undefined"!=typeof AMP&&.BaseElement?c_=AMP.BaseElement:(da=function(a){if("object"!==("undefined"==typeof Reflect?"undefined":h(Reflect))||!Reflect.construct)return a;function b(){return Reflect.construct(a,arguments,this.constructor)}return b.prototype=Object.create(a.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(b,a)}(HTMLElement),c_=function(){function a(a){this.element=a,this.win=D(a)}a.CustomElement=function(a){return function(b){f(d,da);var c=k(d);function d(){var b;return(b=c.call(this)).implementation=new a(i(b)),b}var e=d.prototype;return e.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},e.disconnectedCallback=function(){this.implementation.unmountCallback()},e.getApi=function(){return this.implementation.getApi()},d}()};var b=a.prototype;return b.mutateElement=function(a){P().then(a)},b.isLayoutSupported=function(){return!0},b.mountCallback=function(){},b.unmountCallback=function(){},b.buildCallback=function(){},a}());var dg=cz("CanRender",{defaultValue:!0,recursive:function(a){return a.reduce(dj)},compute:function(a,b,c){return c&&b.reduce(dj,!0)||!1}}),dh=cz("CanPlay",{defaultValue:!0,recursive:function(a){return a.reduce(dj)},deps:[dg],compute:function(a,b,c,d){return d&&c&&b.reduce(dj,!0)||!1}}),di=cz("Loading",{defaultValue:"auto",recursive:!0,deps:[dg],compute:function(a,b,c,d){return cc(d?"auto":"lazy",cc(c||"auto",b.reduce(cc,"auto")))}}),dj=function(a,b){return a&&b};function dk(){var a=0;return function(){return String(++a)}}var dl=function(a){return a.ensureLoaded()},dm=function(a){return a.pause()},dn=function(a){return a.unmount()};function dp(a){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ds(a,b,!1,dl)}function dq(a){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ds(a,b,!0,dm)}function dr(a){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ds(a,b,!0,dn)}function ds(a,b,c,d){for(var e=m(a),f=0;f<e.length;f++)dt(e[f],b,c,d)}function dt(a,b,c,d){if(b&&a.classList.contains("i-amphtml-element")){var e=a;if(cj(d,e),!c){var f=e.getPlaceholder();return void(f&&dt(f,!0,!1,d))}}for(var g=a.getElementsByClassName("i-amphtml-element"),h=null,i=0;i<g.length;i++){var j=g[i];if(c)cj(d,j);else{h=h||[];for(var k=!1,l=0;l<h.length;l++)if(h[l].contains(j)){k=!0;break}k||(h.push(j),cj(d,j))}}}var du={},dv=new WeakMap;function dw(a,b,c){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(a.setAttribute("slot",b),!e)return bQ(dx,d(d({},c||du),{},{name:b}));var f=dv.get(a);if(f&&y(f.oldProps,c))return f.component;function g(a){return bQ(dx,d(d({},c||du),{},{name:b},a))}return dv.set(a,{oldProps:c,component:g}),g}function dx(a){var b=bU(null);return dy(b,a),bV((function(){a.postRender&&a.postRender()})),bQ("slot",d(d({},a),{},{ref:b}))}function dy(a,b){var c=(b||du).loading,d=df();bW((function(){var b=a.current;return B(A(b)),cG(b,dg,dx,d.renderable),cG(b,dh,dx,d.playable),cG(b,di,dx,d.loading),d.playable||dz(b,dq,!0),function(){var a;cH(b,dg,dx),cH(b,dh,dx),cH(b,di,dx),a=b,cv.rediscoverChildren(a)}}),[a,d]),bW((function(){var b=a.current;return B(A(b)),"lazy"!=c&&dz(b,dp,!0),function(){dz(b,dr,!1)}}),[a,c])}function dz(a,b,c){var d=a.assignedElements?a.assignedElements():a;if(!Array.isArray(d)||0!=d.length)if(c){var e=a.ownerDocument.defaultView;e&&(e.requestIdleCallback||e.setTimeout)((function(){return b(d)}))}else b(d)}var dA={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},dB=dk();function dC(a,b){return Object.values(a).some(b)}var dD=function(a){return"string"==typeof a||!!a.selector},dE=function(a){return 3===a.nodeType&&0===a.nodeValue.trim().length};function dF(a,b,c,e,f){var g=a.layoutSizeDefined,h=a.lightDomTag,i=a.props;f&&f.start();var j=d(d({},e),{},{ref:c});return h&&(j["i-amphtml-rendered"]=!0,j.__AMP_RENDERED=!0,j.as=h),g&&(a.usesShadowDom?j.style=dA:j.class="i-amphtml-fill-content"),dG(a,j,i,b,f),f&&f.complete(),j}function dG(a,b,c,d,e){if(dC(c,dD))for(var f=K(d),g=0;g<f.length;g++){var h=f[g],i=dI(h,c);if(i){var j=c[i],k=j.as,l=void 0!==k&&k,m=j.single,n=j.name,o=void 0===n?i:n,p=j.clone,q=j.props,r=void 0===q?{}:q;B(p||a.usesShadowDom);var s={};if(dG(a,s,r,h,e),m)b[o]=dw(h,h.getAttribute("slot")||"i-amphtml-".concat(o),s,l);else{var t=b[o]||(b[o]=[]);B(!l),t.push(p?dH(h):dw(h,h.getAttribute("slot")||"i-amphtml-".concat(o,"-").concat(dB()),s))}}}for(var u in c){var v=c[u];B(!!v.attr+!!v.attrs+!!v.attrMatches+!!v.selector+!!v.passthrough+!!v.passthroughNonEmpty<=1);var w=void 0;if(v.passthrough?(B(a.usesShadowDom),w=[bQ(dx,{loading:"lazy"})]):v.passthroughNonEmpty?(B(a.usesShadowDom),w=K(d).every(dE)?null:[bQ(dx,{loading:"lazy"})]):v.attr?(w=d.getAttribute(v.attr),v.media&&null!=w&&(w=e.resolveListQuery(String(w)))):v.parseAttrs&&(B(v.attrs||v.attrMatches),w=v.parseAttrs(d)),null==w)null!=v.default&&(b[u]=v.default);else{var x="number"==v.type?parseFloat(w):"boolean"==v.type?null==(y=w)?void 0:"false"!==y:w;b[u]=x}}var y}function dH(a){for(var b={"key":a},c=a.attributes,d=a.localName,e=c.length,f=0;f<e;f++){var g=c[f],h=g.name,i=g.value;b[h]=i}return bQ(d,b)}function dI(a,b){for(var c in b){var d=b[c];if(e=a,f="string"==typeof d?d:d.selector,g=void 0,(g=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector)&&g.call(e,f))return c}var e,f,g;return null}var dJ=self.AMP_CONFIG||{},dK=("string"==typeof dJ.thirdPartyFrameRegex?new RegExp(dJ.thirdPartyFrameRegex):dJ.thirdPartyFrameRegex,("string"==typeof dJ.cdnProxyRegex?new RegExp(dJ.cdnProxyRegex):dJ.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function dL(a){if(!self.document||!self.document.head)return null;if(self.location&&dK.test(self.location.origin))return null;var b=self.document.head.querySelector('meta[name="'.concat(a,'"]'));return b&&b.getAttribute("content")||null}dJ.thirdPartyUrl,dJ.thirdPartyFrameHost,dJ.cdnUrl||dL("runtime-host"),dJ.errorReportingUrl,dJ.betaErrorReportingUrl,dJ.localDev,dJ.geoApiUrl||dL("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var dM=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+dM,"gim"),new RegExp("(-shadowcsscontext"+dM,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var dN={childList:!0},dO={childList:!0,characterData:!0},dP={childList:!0},dQ=w({"style":"display: contents; background: inherit;","part":"c"}),dR=w({"name":"i-amphtml-svc"}),dS=w({"i-amphtml-rendered":""}),dT=function(){return!0},dU=function(a){return!!a.media},dV=function(a){return!(!a.passthrough&&!a.passthroughNonEmpty)},dW=function(a){f(c,a);var b=k(c);function c(a){var c;return(c=b.call(this,a)).Z=w({"loading":"auto","onReadyState":function(a,b){c.$(a,b)},"onPlayingState":function(a){c._(a)},"onLoading":function(){c.handleOnLoading()},"onLoad":function(){c.handleOnLoad()},"onError":function(){c.handleOnError()}}),c.ba={renderable:!1,playable:!0,loading:"auto",notify:function(){return c.mutateElement((function(){}))}},c.bb=!1,c.bc=null,c.bd=null,c.be=function(a){null!==a&&(c.bc?c.bf(a):c.bg(a)),c.bd=a,c.bh()},c.bi=null,c.bj=null,c.bk=null,c.bl=!1,c.bm=null,c.bn=function(){c.bl=!1,c.bo()},c.bp=!1,c.bq=!1,c.observer=null,c.br=new dc(a),c.bs=null,c}c.R1=function(){return!0},c.requiresShadowDom=function(){return this.usesShadowDom},c.usesLoading=function(){return this.loadable},c.prerenderAllowed=function(){return!this.usesLoading()};var e=c.prototype;return e.init=function(){},e.isLayoutSupported=function(b){return this.constructor.layoutSizeDefined?function(a){return"fixed"==a||"fixed-height"==a||"responsive"==a||"fill"==a||"flex-item"==a||"fluid"==a||"intrinsic"==a}(b)||"container"==b:a.prototype.isLayoutSupported.call(this,b)},e.buildCallback=function(){var a=this,b=this.constructor;this.observer=new MutationObserver((function(b){return a.bt(b)}));var c=b.props,e=dC(c,dD)?dN:null,f=dC(c,dV)?dO:null,g=b.usesTemplate?dP:null;this.observer.observe(this.element,d(d(d({attributes:!0},e),f),g)),this.bs=dC(c,dU)?new cJ(this.win,(function(){return a.bu()})):null;var h=b.staticProps,i=this.init();Object.assign(this.Z,h,i),this.checkPropsPostMutations(),cC(this.element,[],(function(){return function(){a.bq=!1,a.bk&&bR(null,a.bk)}})),cC(this.element,[dg,dh,di],(function(b,c,d){a.ba.renderable=b,a.ba.playable=c,a.ba.loading=d,a.bq=!0,a.bu()}));var j,k=b.useContexts;return 0!=k.length&&cC(this.element,k,(function(){for(var b=arguments.length,c=new Array(b),d=0;d<b;d++)c[d]=arguments[d];a.bj=c,a.bu()})),this.bm=new $,this.bu(),b.loadable&&(null===(j=this.setReadyState)||void 0===j||j.call(this,"loading")),this.bh(),this.bm.promise},e.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(w({"loading":"eager"})),this.bb=!0)},e.mountCallback=function(){cF(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.bb=!1)},e.unmountCallback=function(){var a;cF(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this._(!1),null===(a=this.bs)||void 0===a||a.dispose()},e.mutatedAttributesCallback=function(){this.bk&&this.bu()},e.attemptChangeHeight=function(b){var c=this;return a.prototype.attemptChangeHeight.call(this,b).catch((function(a){throw c.getOverflowElement&&!c.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",c.element),a}))},e.mutateProps=function(a){Object.assign(this.Z,a),this.bu()},e.api=function(){return B(this.bd)},e.registerApiAction=function(a,b){var c,d=this,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(c=this.registerAction)||void 0===c||c.call(this,a,(function(a){return b(d.api(),a)}),e)},e.mutationObserverCallback=function(a){},e.checkPropsPostMutations=function(){},e.updatePropsForRendering=function(a){},e.isReady=function(a){return!0},e.bt=function(a){var b=this.constructor;this.mutationObserverCallback(a);var c=a.some((function(a){return function(a,b){var c=b.type;if("attributes"==c){if(a.usesTemplate&&"template"==b.attributeName)return!0;var d=a.props;for(var e in d){var f,g=d[e];if(b.attributeName==g.attr||g.attrs&&g.attrs.includes(B(b.attributeName))||null!==(f=g.attrMatches)&&void 0!==f&&f.call(g,b.attributeName))return!0}return!1}return"childList"==c&&(dY(b.addedNodes)||dY(b.removedNodes))}(b,a)}));c&&(this.checkPropsPostMutations(),this.bu())},e.bu=function(){this.bl||(this.bl=!0,this.mutateElement(this.bn))},e.bh=function(){var a=this.bd,b=null==a?void 0:a.readyState;b&&b!==this.element.readyState&&this.$(b)},e.$=function(a,b){var c;null===(c=this.setReadyState)||void 0===c||c.call(this,a,b),this.constructor.unloadOnPause&&this._("complete"==a),this.bb&&(this.bb=!1,this.mutateProps({"loading":"auto"}))},e.handleOnLoad=function(){var a,b,c;null===(a=this.toggleLoading)||void 0===a||a.call(this,!1),null===(b=this.toggleFallback)||void 0===b||b.call(this,!1),null===(c=this.togglePlaceholder)||void 0===c||c.call(this,!1)},e.handleOnLoading=function(){var a;null===(a=this.toggleLoading)||void 0===a||a.call(this,!0)},e.handleOnError=function(){var a,b,c,d,e;null===(a=this.toggleLoading)||void 0===a||a.call(this,!1),null!==(b=this.getFallback)&&void 0!==b&&b.call(this)?(null===(c=this.toggleFallback)||void 0===c||c.call(this,!0),null===(d=this.togglePlaceholder)||void 0===d||d.call(this,!1)):null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!0)},e.bo=function(){var a,b,c=this;if(this.bq){var e,f=this.constructor,g=f.usesShadowDom,h=g?null:f.lightDomTag,i=f.detached;if(!this.bk){var j=this.win.document;if(g){B(!i);var k=this.element.shadowRoot,l=k&&(e=k,G("c"),I(e,"> ".concat("c")));if(l)this.bp=!0;else{var m,n,o,p,q,r;k=this.element.attachShadow({mode:"open",delegatesFocus:f.delegatesFocus});var s=f.shadowCss;s&&function(a,b,c){var d=a.ownerDocument,e=d.defaultView;if(void 0!==a.adoptedStyleSheets&&void 0!==e.CSSStyleSheet.prototype.replaceSync){var f=e.__AMP_SHADOW_CSS||(e.__AMP_SHADOW_CSS={}),g=f[b];g||((g=new e.CSSStyleSheet).replaceSync(c),f[b]=g),a.adoptedStyleSheets=a.adoptedStyleSheets.concat(g)}else{var h=d.createElement("style");h.setAttribute("data-name",b),h.textContent=c,a.appendChild(h)}}(k,this.element.tagName,s),l=N(j,"c",dQ),k.appendChild(l);var t=N(j,"slot",dR);k.appendChild(t),null===(m=this.getPlaceholder)||void 0===m||null===(n=m.call(this))||void 0===n||n.setAttribute("slot","i-amphtml-svc"),null===(o=this.getFallback)||void 0===o||null===(p=o.call(this))||void 0===p||p.setAttribute("slot","i-amphtml-svc"),null===(q=this.getOverflowElement)||void 0===q||null===(r=q.call(this))||void 0===r||r.setAttribute("slot","i-amphtml-svc")}this.bk=l,function(a,b){cv.get(a).setParent(b)}(k,this.element),function(a,b,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;cv.get(a).addGroup(b,c,d)}(this.element,"unslotted",dT,-1),a=this.element,b=dg,this,cv.get(a).group("unslotted").values.set(b,this,!1)}else if(h){this.bk=this.element;var u=J(this.bk,"i-amphtml-rendered")||N(j,h,dS);u.__AMP_RENDERED=!0,f.layoutSizeDefined&&u.classList.add("i-amphtml-fill-content"),this.bk.appendChild(u)}else{var v=j.createElement("i-amphtml-c");this.bk=v,v.classList.add("i-amphtml-fill-content"),i||this.element.appendChild(v)}}var w=f.useContexts,x=this.bj;if(0==w.length||null!=x){var y=dF(f,this.element,this.be,this.Z,this.bs);if(this.updatePropsForRendering(y),this.isReady(y)){for(var z=bQ(f.Component,y),A=0;A<w.length;A++){var C=w[A].type,D=x[A];D&&(z=bQ(C.Provider,{value:D},z))}var E=bQ(de,d({},this.ba),z);if(this.bp)this.bp=!1,function(a,b){bz(a,b)}(E,this.bk);else{var F=h?J(this.bk,"i-amphtml-rendered"):null;F&&(F.__AMP_RENDERED=!0),bR(E,this.bk,F)}g||i||this.mutateElement((function(){return O(c.element,"amp:dom-update",null)})),this.bm&&(this.bm.resolve(),this.bm=null)}}}},e.getProp=function(a,b){return c=this.Z,d=a,u.call(c,d)?this.Z[a]:b;var c,d},e.getApi=function(){var a=this.bc;return a?Promise.resolve(a):(this.bi||(this.bi=new $),this.bi.promise)},e.bg=function(a){for(var b=v(),c=Object.keys(a),d=0;d<c.length;d++)dX(this,b,c[d]);this.bc=b,this.bi&&(this.bi.resolve(b),this.bi=null)},e.bf=function(a){},e.triggerEvent=function(a,b,c){O(a,b,c)},e.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(w({"loading":"unload"})),this.bb=!0;else{var a,b=this.bd;null==b||null===(a=b.pause)||void 0===a||a.call(b)}},e._=function(a){this.br.updatePlaying(a)},c}(c_);function dX(a,b,c){Object.defineProperty(b,c,{configurable:!0,get:function(){return a.bd[c]},set:function(b){a.bd[c]=b}})}function dY(a){for(var b=0;b<a.length;b++){var c=a[b];if(A(c)){if(c.__AMP_RENDERED||c.tagName.startsWith("I-")||"i-amphtml-svc"==c.getAttribute("slot"))continue;return!0}if(3==c.nodeType)return!0}return!1}function dZ(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}dW.Component=function(){B(!1)},dW.staticProps=void 0,dW.useContexts=[],dW.loadable=!1,dW.unloadOnPause=!1,dW.layoutSizeDefined=!1,dW.lightDomTag="",dW.usesTemplate=!1,dW.shadowCss=null,dW.usesShadowDom=!1,dW.detached=!1,dW.delegatesFocus=!1,dW.props={};var d$,d_=["ref"],ea="undefined"!=typeof Symbol&&(null===(d$=Symbol.for)||void 0===d$?void 0:d$.call(Symbol,"react.forward_ref"))||3911,eb=R.__b;function ec(a){function b(b){var c=b.ref,d=dZ(b,d_);return a(d,c)}return b.$$typeof=ea,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}function ed(a){var b=function(a,b){if("object"!==h(a)||null===a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,"string");if("object"!==h(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===h(b)?b:String(b)}R.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==eb||eb(a)};var ee=[null,"paint","layout","content","size","size paint","size layout","strict"],ef={"position":"relative","width":"100%","height":"100%"};function eg(a,b){return function(a){if(Array.isArray(a))return a}(a)||function(a,b){var c=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=c){var d,e,f=[],g=!0,h=!1;try{for(c=c.call(a);!(g=(d=c.next()).done)&&(f.push(d.value),!b||f.length!==b);g=!0);}catch(a){h=!0,e=a}finally{try{g||null==c.return||c.return()}finally{if(h)throw e}}return f}}(a,b)||q(a,b)||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 eh(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a.classList.add("i-amphtml-animating");var d=b();return d.onfinish=d.oncancel=function(){d=null,c&&c(),a.classList.remove("i-amphtml-animating")},function(){d&&d.cancel()}}function ei(a){var b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}ec((function(a,b){var c="class",e=a.as,f=void 0===e?"div":e,g=a.children,h=a.contentAs,i=void 0===h?"div":h,j=a.contentClassName,k=a.contentProps,l=a.contentRef,m=a.contentStyle,n=a.layout,o=void 0!==n&&n,p=a.paint,q=void 0!==p&&p,r=a.size,s=void 0!==r&&r,t=a.style,u=a.wrapperClassName,v=a.wrapperStyle,w=a[c],x=(s?4:0)+(o?2:0)+(q?1:0);return bQ(f,d(d({},dZ(a,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",c].map(ed))),{},{ref:b,class:"".concat(w||""," ").concat(u||"").trim()||null,style:d(d(d({},t),v),{},{contain:ee[x]})}),bQ(i,d(d({},k),{},{ref:l,class:j,style:d(d({},s&&ef),{},{"overflow":q?"hidden":"visible"},m)}),g))})),ec((function(a,b){var c="class",e=a.as,f=void 0===e?"div":e,g=a.children,h=a.style,i=a.wrapperClassName,j=a.wrapperStyle,k=a[c];return bQ(f,d(d({},dZ(a,["as","children","style","wrapperClassName","wrapperStyle",c].map(ed))),{},{ref:b,class:"".concat(k||""," ").concat(i||"").trim()||null,style:d(d({},h),j)}),g)})),new WeakMap,new WeakMap;var ej=["animate","as","children","expandSingleSection","id"],ek=["animate","as","children","expanded","id","onExpandStateChange"],el=bS({}),em=bS({}),en={},eo={},ep=dk(),eq=function(){return String(Math.floor(1e5*Math.random()))},er=ec((function(a,c){var e=a.animate,f=void 0!==e&&e,g=a.as,h=void 0===g?"section":g,i=a.children,j=a.expandSingleSection,k=void 0!==j&&j,l=a.id,m=dZ(a,ej),n=eg(bT(en),2),o=n[0],p=n[1],q=bU(eo),r=eg(bT(eq),1)[0],s=l||"a".concat(r);bV((function(){k&&p((function(a){var b={},c=0;for(var d in a)b[d]=a[d]&&0==c++;return b}))}),[k]);var t=bZ((function(a,c,e){var f=e.current;return p((function(b){return es(a,c,b,k)})),q.current=d(d({},q.current),{},b({},a,f)),function(){p((function(b){return x(b,a)})),q.current=x(q.current,a)}}),[k]),u=bZ((function(a,b){p((function(c){var d=null!=b?b:!c[a],e=es(a,d,c,k);return P().then((function(){for(var a in c){var b=q.current[a];b&&c[a]!=e[a]&&b(e[a])}})),e}))}),[k]),v=bZ((function(a,b){var c;return null!==(c=o[a])&&void 0!==c?c:b}),[o]),w=bZ((function(a){if(a)a in o&&u(a);else if(!k)for(var b in o)u(b)}),[o,u,k]),y=bZ((function(a){if(a)v(a,!0)||u(a);else if(!k)for(var b in o)v(b,!0)||u(b)}),[o,u,v,k]),z=bZ((function(a){if(a)v(a,!1)&&u(a);else for(var b in o)v(b,!1)&&u(b)}),[o,u,v]);b$(c,(function(){return{toggle:w,expand:y,collapse:z}}),[w,z,y]);var A=bY((function(){return{registerSection:t,toggleExpanded:u,isExpanded:v,animate:f,prefix:s}}),[t,u,v,f,s]);return bQ(h,d({id:l},m),bQ(el.Provider,{value:A},i))}));function es(a,c,e,f){var g;if(f&&c)for(var h in g=b({},a,c),e)h!=a&&(g[h]=!1);else g=d(d({},e),{},b({},a,c));return g}function et(a){var b=a.animate,c=void 0!==b&&b,e=a.as,f=void 0===e?"section":e,g=a.children,h=a.expanded,i=void 0!==h&&h,j=a.id,k=a.onExpandStateChange,l=dZ(a,ek),m=eg(bT(ep),1)[0],n=j||m,o=eg(bT(eq),1)[0],p=eg(bT(i),2),q=p[0],r=p[1],s=eg(bT(null),2),t=s[0],u=s[1],v=eg(bT(null),2),w=v[0],x=v[1],y=bX(el),z=y.animate,A=y.isExpanded,B=y.prefix,C=y.registerSection,D=y.toggleExpanded,E=A?A(n,i):q,F=null!=z?z:c,G=t||"".concat(B||"a","-content-").concat(n,"-").concat(o),H=w||"".concat(B||"a","-header-").concat(n,"-").concat(o),I=bU(null);I.current=k,bW((function(){if(C)return C(n,i,I)}),[C,n,i]);var J=bZ((function(a){D?D(n,a):r((function(b){var c=null!=a?a:!b;return P().then((function(){var a=I.current;a&&a(c)})),c}))}),[n,D]),K=bY((function(){return{animate:F,contentId:G,headerId:H,expanded:E,toggleHandler:J,setContentId:u,setHeaderId:x}}),[F,G,H,E,J]);return bQ(f,d({},l),bQ(em.Provider,{value:K},g))}function eu(a){var b="class",c="tabIndex",e=a.as,f=void 0===e?"div":e,g=a.children,h=a.id,i=a.role,j=void 0===i?"button":i,k=a[b],l=void 0===k?"":k,m=a[c],n=void 0===m?0:m,o=dZ(a,["as","children","id","role",b,c].map(ed)),p=bX(em),q=p.contentId,r=p.expanded,s=p.headerId,t=p.setHeaderId,u=p.toggleHandler;return bW((function(){t&&t(h)}),[t,h]),bQ(f,d(d({},o),{},{id:s,role:j,class:"".concat(l," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:n,"aria-controls":q,onClick:function(){return u()},"aria-expanded":String(r)}),g)}function ev(a){var b="class",c=a.as,e=void 0===c?"div":c,f=a.children,g=a.id,h=a.role,i=void 0===h?"region":h,j=a[b],k=void 0===j?"":j,l=dZ(a,["as","children","id","role",b].map(ed)),m=bU(null),n=bU(!1),o=bX(em),p=o.animate,q=o.contentId,r=o.expanded,s=o.headerId,t=o.setContentId;return bV((function(){return n.current=!0,function(){return n.current=!1}}),[]),bW((function(){t&&t(g)}),[t,g]),bW((function(){var a=n.current,b=m.current;if(p&&a&&b&&b.animate)return r?function(a){return eh(a,(function(){var b=cR(a,"height"),c=cR(a,"opacity"),d=cR(a,"overflowY");cS(a,{height:0,opacity:0,overflowY:"auto"});var e=a.scrollHeight;cS(a,{height:b,opacity:c,overflowY:d});var f=ei(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return eh(a,(function(){var b=a.offsetHeight,c=ei(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[r,p]),bQ(de,{renderable:r},bQ(e,d(d({},l),{},{ref:m,class:k+" section-child-00fce3c"+(r?"":" content-hidden-00fce3c"),id:q,"aria-labelledby":s,role:i}),f))}er.displayName="Accordion";var ew=function(a){f(c,dW);var b=k(c);function c(){return b.apply(this,arguments)}return c.prototype.init=function(){var a=this,b=function(b){return function(c){var d;!function(a,b,c){var d=a.hasAttribute(b),e=void 0!==c?c:!d;e!==d&&(e?a.setAttribute(b,""):a.removeAttribute(b))}(b,"expanded",c),null===(d=b.__AMP_PR)||void 0===d||d.call(b),a.triggerEvent(b,c?"expand":"collapse")}},c=this.element,d=new MutationObserver((function(){a.mutateProps(ex(c,d,b))}));return d.observe(c,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),w({"children":ex(c,d,b).children})},c}();function ex(a,b,c){var e,f,g,h,i,j=(f=a,g="section",G(g),h=f,i="> ".concat(g),(e=E(h)?h.querySelectorAll(F(i,":scope")):H(h,i))?Array.prototype.slice.call(e):[]).map((function(a){a.__AMP_PR||(a.__AMP_PR=function(){return b.takeRecords()});var e=z(a,"__AMP_H_SHIM",ez),f=z(a,"__AMP_C_SHIM",eB),g=z(a,"__AMP_EXPAND_STATE_SHIM",c),h=w({"key":a,"expanded":a.hasAttribute("expanded"),"id":a.getAttribute("id"),"onExpandStateChange":g}),i=w({"as":e,"id":a.firstElementChild.getAttribute("id"),"role":a.firstElementChild.getAttribute("role")||void 0}),j=w({"as":f,"id":a.lastElementChild.getAttribute("id"),"role":a.lastElementChild.getAttribute("role")||void 0});return bQ(et,d({},h),bQ(eu,d({},i)),bQ(ev,d({},j)))}));return w({"children":j})}function ey(a,b){var c=b["aria-controls"],d=b["aria-expanded"],e=b.id,f=b.onClick,g=b.role,h=a.firstElementChild;return bW((function(){if(h&&f)return h.setAttribute("id",e),h.classList.add("i-amphtml-accordion-header"),h.addEventListener("click",f),h.hasAttribute("tabindex")||h.setAttribute("tabindex",0),h.setAttribute("aria-expanded",d),h.setAttribute("aria-controls",c),h.setAttribute("role",g),a.__AMP_PR&&a.__AMP_PR(),function(){h.removeEventListener("click",B(f))}}),[a,h,e,g,f,c,d]),bQ("header",null)}var ez=function(a){return ey.bind(null,a)};function eA(a,b,c){var d=b["aria-labelledby"],e=b.id,f=b.role,g=a.lastElementChild,h=bU();return h.current=g,dy(h),function(a,b){b$(a,(function(){return b}),[b])}(c,g),bW((function(){g&&(g.classList.add("i-amphtml-accordion-content"),g.setAttribute("id",e),g.setAttribute("role",f),g.setAttribute("aria-labelledby",d),a.__AMP_PR&&a.__AMP_PR())}),[a,g,e,f,d]),bQ("div",null)}var eB=function(a){return ec(eA.bind(null,a))};function eC(){customElements.define("bento-accordion",ew.CustomElement(ew))} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
@@ -9,2 +9,2 @@ /** | ||
* https://developers.google.com/open-source/licenses/bsd | ||
*/DU.Component=DP,DU.detached=!0,DU.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}}; | ||
*/ew.Component=er,ew.detached=!0,ew.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}}; |
@@ -1,2 +0,2 @@ | ||
function $($,A,B){return A in $?Object.defineProperty($,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):$[A]=B,$}function A($,A){var B=Object.keys($);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols($);A&&(C=C.filter((function(A){return Object.getOwnPropertyDescriptor($,A).enumerable}))),B.push.apply(B,C)}return B}function B(B){for(var C=1;C<arguments.length;C++){var D=null!=arguments[C]?arguments[C]:{};C%2?A(Object(D),!0).forEach((function(A){$(B,A,D[A])})):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(D)):A(Object(D)).forEach((function($){Object.defineProperty(B,$,Object.getOwnPropertyDescriptor(D,$))}))}return B}var{isArray:C}=Array;function D($){return C($)?$:[$]}function E($,A){return $.indexOf(A)<0&&($.push(A),!0)}function F($,A){const B=$.indexOf(A);return-1!=B&&($.splice(B,1),!0)}function G($,A){(null==A||A>$.length)&&(A=$.length);for(var B=0,C=new Array(A);B<A;B++)C[B]=$[B];return C}function H($,A){var B="undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(B)return(B=B.call($)).next.bind(B);if(Array.isArray($)||(B=function($,A){if($){if("string"==typeof $)return G($,A);var B=Object.prototype.toString.call($).slice(8,-1);return"Object"===B&&$.constructor&&(B=$.constructor.name),"Map"===B||"Set"===B?Array.from($):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?G($,A):void 0}}($))||A&&$&&"number"==typeof $.length){B&&($=B);var C=0;return function(){return C>=$.length?{done:!0}:{done:!1,value:$[C++]}}}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:I,toString:J}=Object.prototype;function K($){const A=Object.create(null);return $&&Object.assign(A,$),A}function L($){return $||{}}function M($,A){return Object.keys($).reduce(((B,C)=>(A.includes(C)||(B[C]=$[C]),B)),{})}function N($,A,B){let C=$[A];return void 0===C&&(C=B($,A),$[A]=C),C}function O($){return 1==(null==$?void 0:$.nodeType)}function P($,A,B,C,D,E,F,G,H,I,J){return $}function Q($,A){return $}function R($){return($.ownerDocument||$).defaultView}function S($,A){return $.replace(/^|,/g,`$&${A} `)}function T($){P(/^[\w-]+$/.test($))}function U($,A){return $.querySelector(S(A,":scope"))}function V($,A){const B=$.matches||$.webkitMatchesSelector||$.mozMatchesSelector||$.msMatchesSelector||$.oMatchesSelector;return!!B&&B.call($,A)}function W($,A){return T(A),U($,`> [${A}]`)}function X($){return function($,A){const B=[];for(let A=$.firstChild;A;A=A.nextSibling)!(function($){let A;return"string"==typeof $?A=$:$.nodeType===Node.ELEMENT_NODE&&(A=Q($).tagName),!!A&&A.toLowerCase().startsWith("i-")}(C=A)||C.nodeType===Node.ELEMENT_NODE&&(Q(C),C.hasAttribute("placeholder")||C.hasAttribute("fallback")||C.hasAttribute("overflow")))&&B.push(A);var C;return B}($)}var Y,Z={bubbles:!0,cancelable:!0};function _($,A,B){return function($,A){for(const B in A)$.setAttribute(B,A[B]);return $}($.createElement(A),B)}function a($,A,B,C){const D=B||{},E=$.ownerDocument.createEvent("Event");E.data=D;const{bubbles:F,cancelable:G}=C||Z;E.initEvent(A,F,G),$.dispatchEvent(E)}function b(){return Y||(Y=Promise.resolve(void 0))}var c,d,e,f,g,h,i,j,k,l,m=class{constructor(){this.promise=new Promise((($,A)=>{this.resolve=$,this.reject=A}))}},n={},o=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function q($,A){for(var B in A)$[B]=A[B];return $}function r($){var A=$.parentNode;A&&A.removeChild($)}function s($,A,B){var C,D,E,F={};for(E in A)"key"==E?C=A[E]:"ref"==E?D=A[E]:F[E]=A[E];if(arguments.length>2&&(F.children=arguments.length>3?c.call(arguments,2):B),"function"==typeof $&&null!=$.defaultProps)for(E in $.defaultProps)void 0===F[E]&&(F[E]=$.defaultProps[E]);return t($,F,C,D,null)}function t($,A,B,C,D){var E={type:$,props:A,key:B,ref:C,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==D?++e:D};return null==D&&null!=d.vnode&&d.vnode(E),E}function u($){return $.children}function v($,A){this.props=$,this.context=A}function w($,A){if(null==A)return $.__?w($.__,$.__.__k.indexOf($)+1):null;for(var B;A<$.__k.length;A++)if(null!=(B=$.__k[A])&&null!=B.__e)return B.__e;return"function"==typeof $.type?w($):null}function x($){var A,B;if(null!=($=$.__)&&null!=$.__c){for($.__e=$.__c.base=null,A=0;A<$.__k.length;A++)if(null!=(B=$.__k[A])&&null!=B.__e){$.__e=$.__c.base=B.__e;break}return x($)}}function y($){(!$.__d&&($.__d=!0)&&f.push($)&&!z.__r++||h!==d.debounceRendering)&&((h=d.debounceRendering)||g)(z)}function z(){for(var $;z.__r=f.length;)$=f.sort((function($,A){return $.__v.__b-A.__v.__b})),f=[],$.some((function($){var A,B,C,D,E,F;$.__d&&(E=(D=(A=$).__v).__e,(F=A.__P)&&(B=[],(C=q({},D)).__v=D.__v+1,AG(F,D,C,A.__n,void 0!==F.ownerSVGElement,null!=D.__h?[E]:null,B,null==E?w(D):E,D.__h),AH(B,D),D.__e!=E&&x(D)))}))}function A$($,A,B,C,D,E,F,G,H,I){var J,K,L,M,N,O,P,Q=C&&C.__k||o,R=Q.length;for(B.__k=[],J=0;J<A.length;J++)if(null!=(M=B.__k[J]=null==(M=A[J])||"boolean"==typeof M?null:"string"==typeof M||"number"==typeof M||"bigint"==typeof M?t(null,M,null,null,M):Array.isArray(M)?t(u,{children:M},null,null,null):M.__b>0?t(M.type,M.props,M.key,null,M.__v):M)){if(M.__=B,M.__b=B.__b+1,null===(L=Q[J])||L&&M.key==L.key&&M.type===L.type)Q[J]=void 0;else for(K=0;K<R;K++){if((L=Q[K])&&M.key==L.key&&M.type===L.type){Q[K]=void 0;break}L=null}AG($,M,L=L||n,D,E,F,G,H,I),N=M.__e,(K=M.ref)&&L.ref!=K&&(P||(P=[]),L.ref&&P.push(L.ref,null,M),P.push(K,M.__c||N,M)),null!=N?(null==O&&(O=N),"function"==typeof M.type&&M.__k===L.__k?M.__d=H=AA(M,H,$):H=AB($,M,L,Q,N,H),"function"==typeof B.type&&(B.__d=H)):H&&L.__e==H&&H.parentNode!=$&&(H=w(L))}for(B.__e=O,J=R;J--;)null!=Q[J]&&("function"==typeof B.type&&null!=Q[J].__e&&Q[J].__e==B.__d&&(B.__d=w(C,J+1)),AJ(Q[J],Q[J]));if(P)for(J=0;J<P.length;J++)AI(P[J],P[++J],P[++J])}function AA($,A,B){for(var C,D=$.__k,E=0;D&&E<D.length;E++)(C=D[E])&&(C.__=$,A="function"==typeof C.type?AA(C,A,B):AB(B,C,C,D,C.__e,A));return A}function AB($,A,B,C,D,E){var F,G,H;if(void 0!==A.__d)F=A.__d,A.__d=void 0;else if(null==B||D!=E||null==D.parentNode)$:if(null==E||E.parentNode!==$)$.appendChild(D),F=null;else{for(G=E,H=0;(G=G.nextSibling)&&H<C.length;H+=2)if(G==D)break $;$.insertBefore(D,E),F=E}return void 0!==F?F:D.nextSibling}function AC($,A,B){"-"===A[0]?$.setProperty(A,B):$[A]=null==B?"":"number"!=typeof B||p.test(A)?B:B+"px"}function AD($,A,B,C,D){var E;$:if("style"===A)if("string"==typeof B)$.style.cssText=B;else{if("string"==typeof C&&($.style.cssText=C=""),C)for(A in C)B&&A in B||AC($.style,A,"");if(B)for(A in B)C&&B[A]===C[A]||AC($.style,A,B[A])}else if("o"===A[0]&&"n"===A[1])E=A!==(A=A.replace(/Capture$/,"")),A=A.toLowerCase()in $?A.toLowerCase().slice(2):A.slice(2),$.l||($.l={}),$.l[A+E]=B,B?C||$.addEventListener(A,E?AF:AE,E):$.removeEventListener(A,E?AF:AE,E);else if("dangerouslySetInnerHTML"!==A){if(D)A=A.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==A&&"list"!==A&&"form"!==A&&"tabIndex"!==A&&"download"!==A&&A in $)try{$[A]=null==B?"":B;break $}catch($){}"function"==typeof B||(null!=B&&(!1!==B||"a"===A[0]&&"r"===A[1])?$.setAttribute(A,B):$.removeAttribute(A))}}function AE($){this.l[$.type+!1](d.event?d.event($):$)}function AF($){this.l[$.type+!0](d.event?d.event($):$)}function AG($,A,B,C,D,E,F,G,H){var I,J,K,L,M,N,O,P,Q,R,S,T=A.type;if(void 0!==A.constructor)return null;null!=B.__h&&(H=B.__h,G=A.__e=B.__e,A.__h=null,E=[G]),(I=d.__b)&&I(A);try{$:if("function"==typeof T){if(P=A.props,Q=(I=T.contextType)&&C[I.__c],R=I?Q?Q.props.value:I.__:C,B.__c?O=(J=A.__c=B.__c).__=J.__E:("prototype"in T&&T.prototype.render?A.__c=J=new T(P,R):(A.__c=J=new v(P,R),J.constructor=T,J.render=AK),Q&&Q.sub(J),J.props=P,J.state||(J.state={}),J.context=R,J.__n=C,K=J.__d=!0,J.__h=[]),null==J.__s&&(J.__s=J.state),null!=T.getDerivedStateFromProps&&(J.__s==J.state&&(J.__s=q({},J.__s)),q(J.__s,T.getDerivedStateFromProps(P,J.__s))),L=J.props,M=J.state,K)null==T.getDerivedStateFromProps&&null!=J.componentWillMount&&J.componentWillMount(),null!=J.componentDidMount&&J.__h.push(J.componentDidMount);else{if(null==T.getDerivedStateFromProps&&P!==L&&null!=J.componentWillReceiveProps&&J.componentWillReceiveProps(P,R),!J.__e&&null!=J.shouldComponentUpdate&&!1===J.shouldComponentUpdate(P,J.__s,R)||A.__v===B.__v){J.props=P,J.state=J.__s,A.__v!==B.__v&&(J.__d=!1),J.__v=A,A.__e=B.__e,A.__k=B.__k,A.__k.forEach((function($){$&&($.__=A)})),J.__h.length&&F.push(J);break $}null!=J.componentWillUpdate&&J.componentWillUpdate(P,J.__s,R),null!=J.componentDidUpdate&&J.__h.push((function(){J.componentDidUpdate(L,M,N)}))}J.context=R,J.props=P,J.state=J.__s,(I=d.__r)&&I(A),J.__d=!1,J.__v=A,J.__P=$,I=J.render(J.props,J.state,J.context),J.state=J.__s,null!=J.getChildContext&&(C=q(q({},C),J.getChildContext())),K||null==J.getSnapshotBeforeUpdate||(N=J.getSnapshotBeforeUpdate(L,M)),S=null!=I&&I.type===u&&null==I.key?I.props.children:I,A$($,Array.isArray(S)?S:[S],A,B,C,D,E,F,G,H),J.base=A.__e,A.__h=null,J.__h.length&&F.push(J),O&&(J.__E=J.__=null),J.__e=!1}else null==E&&A.__v===B.__v?(A.__k=B.__k,A.__e=B.__e):A.__e=function($,A,B,C,D,E,F,G){var H,I,J,K=B.props,L=A.props,M=A.type,N=0;if("svg"===M&&(D=!0),null!=E)for(;N<E.length;N++)if((H=E[N])&&(H===$||(M?H.localName==M:3==H.nodeType))){$=H,E[N]=null;break}if(null==$){if(null===M)return document.createTextNode(L);$=D?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M,L.is&&L),E=null,G=!1}if(null===M)K===L||G&&$.data===L||($.data=L);else{if(E=E&&c.call($.childNodes),I=(K=B.props||n).dangerouslySetInnerHTML,J=L.dangerouslySetInnerHTML,!G){if(null!=E)for(K={},N=0;N<$.attributes.length;N++)K[$.attributes[N].name]=$.attributes[N].value;(J||I)&&(J&&(I&&J.__html==I.__html||J.__html===$.innerHTML)||($.innerHTML=J&&J.__html||""))}if(function($,A,B,C,D){var E;for(E in B)"children"===E||"key"===E||E in A||AD($,E,null,B[E],C);for(E in A)D&&"function"!=typeof A[E]||"children"===E||"key"===E||"value"===E||"checked"===E||B[E]===A[E]||AD($,E,A[E],B[E],C)}($,L,K,D,G),J)A.__k=[];else if(N=A.props.children,A$($,Array.isArray(N)?N:[N],A,B,C,D&&"foreignObject"!==M,E,F,E?E[0]:B.__k&&w(B,0),G),null!=E)for(N=E.length;N--;)null!=E[N]&&r(E[N]);G||("value"in L&&void 0!==(N=L.value)&&(N!==$.value||"progress"===M&&!N)&&AD($,"value",N,K.value,!1),"checked"in L&&void 0!==(N=L.checked)&&N!==$.checked&&AD($,"checked",N,K.checked,!1))}return $}(B.__e,A,B,C,D,E,F,H);(I=d.diffed)&&I(A)}catch($){A.__v=null,(H||null!=E)&&(A.__e=G,A.__h=!!H,E[E.indexOf(G)]=null),d.__e($,A,B)}}function AH($,A){d.__c&&d.__c(A,$),$.some((function(A){try{$=A.__h,A.__h=[],$.some((function($){$.call(A)}))}catch($){d.__e($,A.__v)}}))}function AI($,A,B){try{"function"==typeof $?$(A):$.current=A}catch($){d.__e($,B)}}function AJ($,A,B){var C,D;if(d.unmount&&d.unmount($),(C=$.ref)&&(C.current&&C.current!==$.__e||AI(C,null,A)),null!=(C=$.__c)){if(C.componentWillUnmount)try{C.componentWillUnmount()}catch($){d.__e($,A)}C.base=C.__P=null}if(C=$.__k)for(D=0;D<C.length;D++)C[D]&&AJ(C[D],A,"function"!=typeof $.type);B||null==$.__e||r($.__e),$.__e=$.__d=void 0}function AK($,A,B){return this.constructor($,B)}function AL($,A,B){var C,D,E;d.__&&d.__($,A),D=(C="function"==typeof B)?null:B&&B.__k||A.__k,E=[],AG(A,$=(!C&&B||A).__k=s(u,null,[$]),D||n,n,void 0!==A.ownerSVGElement,!C&&B?[B]:D?null:A.firstChild?c.call(A.childNodes):null,E,!C&&B?B:D?D.__e:A.firstChild,C),AH(E,$)}function AM($,A){AL($,A,AM)}c=o.slice,d={__e:function($,A){for(var B,C,D;A=A.__;)if((B=A.__c)&&!B.__)try{if((C=B.constructor)&&null!=C.getDerivedStateFromError&&(B.setState(C.getDerivedStateFromError($)),D=B.__d),null!=B.componentDidCatch&&(B.componentDidCatch($),D=B.__d),D)return B.__E=B}catch(A){$=A}throw $}},e=0,v.prototype.setState=function($,A){var B;B=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=q({},this.state),"function"==typeof $&&($=$(q({},B),this.props)),$&&q(B,$),null!=$&&this.__v&&(A&&this.__h.push(A),y(this))},v.prototype.forceUpdate=function($){this.__v&&(this.__e=!0,$&&this.__h.push($),y(this))},v.prototype.render=u,f=[],g="function"==typeof Promise?Promise.prototype.then.bind(b()):setTimeout,z.__r=0,i=0;var AN=0,AO=[],AP=d.__b,AQ=d.__r,AR=d.diffed,AS=d.__c,AT=d.unmount;function AU($,A){d.__h&&d.__h(k,$,AN||A),AN=0;var B=k.__H||(k.__H={__:[],__h:[]});return $>=B.__.length&&B.__.push({}),B.__[$]}function AV($,A){var B=AU(j++,4);!d.__s&&Aa(B.__H,A)&&(B.__=$,B.__H=A,k.__h.push(B))}function AW($,A){var B=AU(j++,7);return Aa(B.__H,A)&&(B.__=$(),B.__H=A,B.__h=$),B.__}function AX(){AO.forEach((function($){if($.__P)try{$.__H.__h.forEach(AZ),$.__H.__h.forEach(A_),$.__H.__h=[]}catch(A){$.__H.__h=[],d.__e(A,$.__v)}})),AO=[]}d.__b=function($){k=null,AP&&AP($)},d.__r=function($){AQ&&AQ($),j=0;var A=(k=$.__c).__H;A&&(A.__h.forEach(AZ),A.__h.forEach(A_),A.__h=[])},d.diffed=function($){AR&&AR($);var A=$.__c;A&&A.__H&&A.__H.__h.length&&(1!==AO.push(A)&&l===d.requestAnimationFrame||((l=d.requestAnimationFrame)||function($){var A,B=function(){clearTimeout(C),AY&&cancelAnimationFrame(A),setTimeout($)},C=setTimeout(B,100);AY&&(A=requestAnimationFrame(B))})(AX)),k=null},d.__c=function($,A){A.some((function($){try{$.__h.forEach(AZ),$.__h=$.__h.filter((function($){return!$.__||A_($)}))}catch(B){A.some((function($){$.__h&&($.__h=[])})),A=[],d.__e(B,$.__v)}})),AS&&AS($,A)},d.unmount=function($){AT&&AT($);var A=$.__c;if(A&&A.__H)try{A.__H.__.forEach(AZ)}catch($){d.__e($,A.__v)}};var AY="function"==typeof requestAnimationFrame;function AZ($){var A=k;"function"==typeof $.__c&&$.__c(),k=A}function A_($){var A=k;$.__c=$.__(),k=A}function Aa($,A){return!$||$.length!==A.length||A.some((function(A,B){return A!==$[B]}))}function Ab($,A){return"function"==typeof A?A($):A}function Ac($,A,B){return s.apply(void 0,arguments)}function Ad($,A,B){AL($,A,B)}function Ae($){return(B={__c:A="__cC"+i++,__:$,Consumer:function($,A){return $.children(A)},Provider:function($){var B,C;return this.getChildContext||(B=[],(C={})[A]=this,this.getChildContext=function(){return C},this.shouldComponentUpdate=function($){this.props.value!==$.value&&B.some(y)},this.sub=function($){B.push($);var A=$.componentWillUnmount;$.componentWillUnmount=function(){B.splice(B.indexOf($),1),A&&A.call($)}}),$.children}}).Provider.__=B.Consumer.contextType=B;var A,B}function Af($){return AN=1,A=Ab,B=$,(C=AU(j++,2)).t=A,C.__c||(C.__=[Ab(void 0,B),function($){var A=C.t(C.__[0],$);C.__[0]!==A&&(C.__=[A,C.__[1]],C.__c.setState({}))}],C.__c=k),C.__;var A,B,C}function Ag($){return A=$,AN=5,AW((function(){return{current:A}}),[]);var A}function Ah($,A){var B,C,D;B=$,C=A,D=AU(j++,3),!d.__s&&Aa(D.__H,C)&&(D.__=B,D.__H=C,k.__H.__h.push(D))}function Ai($,A){AV($,A)}function Aj($){return A=$,B=k.context[A.__c],(C=AU(j++,9)).c=A,B?(null==C.__&&(C.__=!0,B.sub(k)),B.props.value):A.__;var A,B,C}function Ak($,A){return AW($,A)}function Al($,A){return B=$,AN=8,AW((function(){return B}),A);var B}function Am($,A,B){return C=$,D=A,AN=6,void AV((function(){"function"==typeof C?C(D()):C&&(C.current=D())}),null==(E=B)?E:E.concat(C));var C,D,E}var An=["auto","lazy","eager","unload"],Ao={auto:0,lazy:1,eager:2,unload:3};function Ap($,A){const B=Ao[$]||0,C=Ao[A]||0,D=Math.max(B,C);return An[D]}function Aq(){}function Ar($,A=null){let B=!1;const C=()=>{B=!1,$()};return $=>{B||(B=!0,($||A)(C))}}function As($){const A=Object.getOwnPropertyDescriptor($,"message");if(null!=A&&A.writable)return $;const{message:B,stack:C}=$,D=new Error(B);for(const A in $)D[A]=$[A];return D.stack=C,D}function At($){let A=null,B="";for(var C,D=H(arguments,!0);!(C=D()).done;){const $=C.value;$ instanceof Error&&!A?A=As($):(B&&(B+=" "),B+=$)}return A?B&&(A.message=B+": "+A.message):A=new Error(B),A}function Au($){var A,B;null===(A=(B=self).__AMP_REPORT_ERROR)||void 0===A||A.call(B,$)}function Av($){const A=At.apply(null,arguments);setTimeout((()=>{throw Au(A),A}))}function Aw($,...A){try{return $.apply(null,A)}catch($){Av($)}}function Ax($,A,B,C=!0,D=!0){if(D){const D=A($,B,C);D&&Ax($,A,B,D,!1)}else if($.children)for(var E,F=H($.children,!0);!(E=F()).done;)Ax(E.value,A,B,C,!0)}Aq.prototype.key,Aq.prototype.type,Aq.prototype.deps,Aq.prototype.recursive,Aq.prototype.compute,Aq.prototype.defaultValue;var Ay=[],Az=()=>{};function B$(){}function BA(){}function BB($,A){return $.values.scan(A)}function BC($,A,B){return $.values.scanAll(B)}function BD($,A){return $.values.has(A)}function BE($){return!!$.recursive}function BF($){return void 0!==$}B$.prototype.values,B$.prototype.setters,BA.prototype.prop,BA.prototype.subscribers,BA.prototype.value,BA.prototype.pending,BA.prototype.counter,BA.prototype.depValues,BA.prototype.parentValue,BA.prototype.parentContextNode,BA.prototype.ping,BA.prototype.pingDep,BA.prototype.pingParent;var BG=class{static get($){let A=$.__AMP_NODE;return A||(A=new BG($,null),$.__AMP_NODE=A),A}static closest($,A=!0){let B=$;for(;B;){if(B!=$||A){if(B.__AMP_NODE)return B.__AMP_NODE;const{nodeType:$}=B;if(9==$||11==$||1==$&&Q(B).tagName.startsWith("AMP-"))return BG.get(B)}B=B.__AMP_ASSIGNED_SLOT||B.assignedSlot||B.parentNode}return null}static assignSlot($,A){$.__AMP_ASSIGNED_SLOT!=A&&($.__AMP_ASSIGNED_SLOT=A,BH($))}static unassignSlot($,A){$.__AMP_ASSIGNED_SLOT==A&&($.__AMP_ASSIGNED_SLOT=void 0,BH($))}static rediscoverChildren($){var A;const B=$.__AMP_NODE;null==B||null===(A=B.children)||void 0===A||A.forEach(BI)}constructor($,A){this.node=$,this.name=A,this.isRoot=9==$.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor($){this.$=$,this.A=null,this.B=null,this.C=Ar(this.C.bind(this),setTimeout)}set($,A,B){P(A),P(void 0!==B);const{key:C}=$,D=this.A||(this.A=new Map);let E=D.get(C);E||(E={values:[],setters:[]},D.set(C,E));const F=E.setters.indexOf(A),G=-1==F||E.values[F]!==B;-1==F?(E.setters.push(A),E.values.push(B)):G&&(E.values[F]=B),G&&(this.ping($,!1),BE($)&&Ax(this.$,BB,$,!0,!1))}remove($,A){P(A);const{key:B}=$,C=this.A,D=null==C?void 0:C.get(B);if(D){const E=D.setters.indexOf(A);-1!=E&&(D.setters.splice(E,1),D.values.splice(E,1),0==D.setters.length&&C.delete(B),Ax(this.$,BB,$))}}has($){var A;return!(null===(A=this.A)||void 0===A||!A.has($.key))}subscribe($,A){const B=this.D($);if(!E(B.subscribers,A))return;const C=B.value;BF(C)&&this.F()&&A(C)}unsubscribe($,A){var B;const C=null===(B=this.B)||void 0===B?void 0:B.get($.key);C&&F(C.subscribers,A)&&this.G(C)}ping($,A){var B,C;null===(B=this.B)||void 0===B||null===(C=B.get($.key))||void 0===C||C.ping(A)}parentUpdated(){this.F()&&Ax(this.$,BC,void 0,Ay)}rootUpdated(){const $=this.B;$&&(this.F()?$.forEach(($=>{const{prop:A}=$;this.ping(A,!0)})):$.forEach(($=>{const{prop:A}=$;BE(A)&&this.H($,null)})))}scan($){return this.ping($,!0),!!BE($)&&!this.has($)}scanAll($){let A=null;const B=this.B;return B&&B.forEach((B=>{const{prop:C}=B,{key:D}=C;-1==(A||$).indexOf(D)&&(this.ping(C,!0),this.$.children&&this.has(C)&&(A||(A=$.slice(0)),A.push(D)))})),A||$}F(){return!!this.$.root}D($){const{deps:A,key:B}=$,C=this.B||(this.B=new Map);let D=C.get(B);return D||(D={prop:$,subscribers:[],value:void 0,pending:0,counter:0,depValues:A.length>0?A.map(Az):Ay,parentValue:void 0,parentContextNode:null,ping:$=>{if(this.F()){const A=$?2:1;D.pending=Math.max(D.pending,A),this.C()}},pingDep:A.length>0?A.map((($,A)=>$=>{D.depValues[A]=$,D.ping()})):Ay,pingParent:BE($)?$=>{D.parentValue=$,D.ping()}:null},C.set(B,D),A.forEach((($,A)=>this.subscribe($,D.pingDep[A]))),D.ping(!1)),D}G($){if($.subscribers.length>0)return;const{pingDep:A,prop:B}=$,{deps:C,key:D}=B;this.B.delete(D),this.H($,null),C.length>0&&C.forEach((($,B)=>{this.unsubscribe($,A[B])}))}C(){if(!this.F())return;const $=this.B;if(!$)return;let A;$.forEach(($=>{$.counter=0}));do{A=0,$.forEach(($=>{if(0!=$.pending){const{key:B}=$.prop;if($.counter++,$.counter>5)return Av(`cyclical prop: ${B}`),void($.pending=0);A++,this.I($)}}))}while(A>0)}I($){const A=2==$.pending;let B;try{B=this.J($,A)}catch($){Av($)}$.pending=0,this.K($,B)}K($,A){const{prop:B,value:C}=$,{key:D}=B,E=this.B;if(C===A||$!==(null==E?void 0:E.get(D))||!this.F())return;$.value=A;const{subscribers:F}=$;for(var G,I=H(F,!0);!(G=I()).done;)(0,G.value)(A)}J($,A){var B,C;P(this.F());const{depValues:D,prop:E}=$,{compute:F,defaultValue:G,key:H}=E,I=null===(B=this.A)||void 0===B||null===(C=B.get(H))||void 0===C?void 0:C.values,J=function($,A){const{compute:B,recursive:C}=$;return"function"==typeof C?!A||C(A):!(C&&A&&!B)&&C}(E,I);if(A||J!=Boolean($.parentContextNode)){const A=J?function($,A,B,C=!0){for(let D=C?$:$.parent;D;D=D.parent)if(A(D,B))return D;return null}(this.$,BD,E,!1):null;this.H($,A)}const K=BF($.parentValue)?$.parentValue:J&&!$.parentContextNode?G:void 0;let L;if(D.every(BF)&&(!J||BF(K))){const{node:$}=this.$;I&&!F?L=I[0]:BE(E)?I||D.length>0?L=function($,A,B,C,D){switch(D.length){case 0:return $(A,B,C);case 1:return $(A,B,C,D[0]);case 2:return $(A,B,C,D[0],D[1]);case 3:return $(A,B,C,D[0],D[1],D[2]);default:return $.apply(null,[A,B,C].concat(D))}}(F,$,I||Ay,K,D):BF(K)&&(L=K):F&&(L=function($,A,B,C){switch(C.length){case 0:return $(A,B);case 1:return $(A,B,C[0]);case 2:return $(A,B,C[0],C[1]);case 3:return $(A,B,C[0],C[1],C[2]);default:return $.apply(null,[A,B].concat(C))}}(F,$,I||Ay,D))}return L}H($,A){const{parentContextNode:B,pingParent:C,prop:D}=$;A!=B&&($.parentContextNode=A,$.parentValue=void 0,B&&B.values.unsubscribe(D,P(C)),A&&A.values.subscribe(D,P(C)))}}(this),this.L=null,this.M=!1,this.N=Ar(this.O.bind(this),setTimeout),11==$.nodeType&&$.addEventListener("slotchange",($=>{var A,B;const C=$.target;C.assignedNodes().forEach(BH),null===(A=BG.closest(C))||void 0===A||null===(B=A.children)||void 0===B||B.forEach(BI)})),this.discover()}discover(){this.isDiscoverable()?this.N():this.name&&this.children&&this.children.forEach(BI)}isDiscoverable(){return!this.isRoot&&!this.M}setParent($){const A=null!=$&&$.nodeType?BG.get($):$;this.P(A,null!=$)}setIsRoot($){var A,B;this.isRoot=$;const C=$?this:null!==(A=null===(B=this.parent)||void 0===B?void 0:B.root)&&void 0!==A?A:null;this.updateRoot(C)}updateRoot($){P(!$||$.isRoot);const A=this.root;var B,C;$!=A&&(this.root=$,this.values.rootUpdated(),null===(B=this.L)||void 0===B||B.forEach(($=>$.rootUpdated())),null===(C=this.children)||void 0===C||C.forEach((A=>A.updateRoot($))))}addGroup($,A,B){const C=this.groups||(this.groups=new Map),{children:D,node:E}=this,F=new BG(E,$);return C.set($,{cn:F,match:A,weight:B}),F.setParent(this),null==D||D.forEach(BI),F}group($){var A,B;return(null===(A=this.groups)||void 0===A||null===(B=A.get($))||void 0===B?void 0:B.cn)||null}findGroup($){const{groups:A}=this;if(!A)return null;let B=null,C=Number.NEGATIVE_INFINITY;return A.forEach((({cn:A,match:D,weight:E})=>{D($,this.node)&&E>C&&(B=A,C=E)})),B}subscribe($,A,B,C){const D=this.L||(this.L=new Map);let E=D.get($);E||(E=new A(this,B,C),D.set($,E))}unsubscribe($){const A=this.L,B=null==A?void 0:A.get($);B&&(B.dispose(),A.delete($))}O(){if(!this.isDiscoverable())return;const $=BG.closest(this.node,!1),A=(null==$?void 0:$.findGroup(this.node))||$;this.P(A,!1)}P($,A){var B;this.M=A;const C=this.parent;if($!=C){if(this.parent=$,null!=C&&C.children&&F(P(C.children),this),$){const A=$.children||($.children=[]);E(A,this);for(var D,G=H(A,!0);!(D=G()).done;){const $=D.value;$!=this&&$.isDiscoverable()&&$.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(B=null==$?void 0:$.root)&&void 0!==B?B:null)}};function BH($){!function($,A,B=!0){const C=BG.closest($,B);if(C)if(C.node==$)A(C);else if(C.children)for(var D,E=H(C.children,!0);!(D=E()).done;){const B=D.value;$.contains(B.node)&&A(B)}}($,BI)}function BI($){$.discover()}var BJ=[];function BK($,A){const C=B({key:$,type:null,deps:BJ,recursive:!1,compute:null,defaultValue:void 0},A);return P(0==C.deps.length||C.compute),C}var BL=[],BM=()=>{};function BN($,A,B){A=D(A);const C=B;BG.get($).subscribe(C,BP,B,A)}var BO,BP=class{constructor($,A,B){if(this.contextNode=$,this.R=A,this.S=B,this.T=B.length>0?B.map(BM):BL,this.U=B.length>0?B.map((($,A)=>$=>{this.T[A]=$,this.V()})):BL,this.W=!1,this.X=null,this.V=Ar(this.V.bind(this),setTimeout),B.length>0){const{values:$}=this.contextNode;B.forEach(((A,B)=>$.subscribe(A,this.U[B])))}this.F()&&this.V()}dispose(){if(this.S.length>0){const{values:$}=this.contextNode;this.S.forEach(((A,B)=>$.unsubscribe(A,this.U[B])))}this.Y()}rootUpdated(){const $=this.F();this.Y(),$&&this.V()}F(){return!!this.contextNode.root}V(){this.F()&&(this.T.every(BQ)?(this.W=!0,this.Z()):this.W&&(this.W=!1,this.Y()))}Z(){this.X&&(Aw(this.X),this.X=null);const $=this.R;this.X=function($,A){switch(A.length){case 0:return $();case 1:return $(A[0]);case 2:return $(A[0],A[1]);case 3:return $(A[0],A[1],A[2]);default:return $.apply(null,A)}}($,this.T)}Y(){this.X&&(Aw(this.X),this.X=null)}};function BQ($){return void 0!==$}function BR($){BG.get($).discover()}function BS($,A,B,C){BG.get($).values.set(A,B,C)}function BT($,A,B){BG.get($).values.remove(A,B)}function BU($,A){return[{query:$.matchMedia(A),value:"1"},{query:null,value:""}]}function BV($,A){return A.split(",").map((A=>{if(0==(A=A.replace(/\s+/g," ").trim()).length)return;let B,C,D;if(")"==A.charAt(A.length-1)){let $=1;for(D=A.length-2;D>=0;D--){const B=A.charAt(D);if("("==B?$--:")"==B&&$++,0==$)break}const B=D-1;if(D>0)for(D--;D>=0;D--){const $=A.charAt(D);if(!("%"==$||"-"==$||"_"==$||$>="a"&&$<="z"||$>="A"&&$<="Z"||$>="0"&&$<="9"))break}if(D>=B)return null}else for(D=A.length-2;D>=0;D--){const $=A.charAt(D);if(!("%"==$||"."==$||$>="a"&&$<="z"||$>="A"&&$<="Z"||$>="0"&&$<="9"))break}return D>=0?(B=A.substring(0,D+1).trim(),C=A.substring(D+1).trim()):(C=A,B=void 0),C?{query:B?$.matchMedia(B):null,value:C}:null})).filter(Boolean)}function BW($,A,B){for(let C=0;C<$.length;C++){const{query:D}=$[C];D&&(void 0!==D.onchange?D.onchange=B?A:null:B?D.addListener(A):D.removeListener(A))}}var BX=["Webkit","webkit","Moz","moz","ms","O","o"],BY={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function BZ($,A,B){if(Bc(A))return A;BO||(BO=K());let C=BO[A];if(!C||B){if(C=A,void 0===$[A]){const B=function($){return $.charAt(0).toUpperCase()+$.slice(1)}(A),D=function($,A){for(let B=0;B<BX.length;B++){const C=BX[B]+A;if(void 0!==$[C])return C}return""}($,B);void 0!==$[D]&&(C=D)}B||(BO[A]=C)}return C}function B_($,A,B,C,D){const E=BZ($.style,A,D);if(!E)return;const F=C?B+C:B;Bc(E)?$.style.setProperty(E,F):$.style[E]=F}function Ba($,A,B){const C=BZ($.style,A,B);if(C)return Bc(C)?$.style.getPropertyValue(C):$.style[C]}function Bb($,A){for(const B in A)B_($,B,A[B])}function Bc($){return $.startsWith("--")}var Bd,Be,Bf=/vertical/,Bg=new WeakMap,Bh=new WeakMap,Bi=new WeakMap;function Bj($){let A=Bg.get($);return A||(A=new $.ResizeObserver(Bk),Bg.set($,A)),A}function Bk($){const A=new Set;for(let B=$.length-1;B>=0;B--){const C=$[B],{target:D}=C;if(A.has(D))continue;A.add(D);const E=Bh.get(D);if(E){Bi.set(D,C);for(let $=0;$<E.length;$++){const{callback:A,type:B}=E[$];Bl(B,A,C)}}}}function Bl($,A,B){if(0==$){const{contentRect:$}=B,{height:C,width:D}=$;Aw(A,{width:D,height:C})}else if(1==$){const{borderBoxSize:$}=B;let C;if($)C=$.length>0?$[0]:{inlineSize:0,blockSize:0};else{const{target:$}=B,A=R($),D=Bf.test(function($,A){return $.getComputedStyle(A)||BY}(A,$)["writing-mode"]),{offsetHeight:E,offsetWidth:F}=$;let G,H;D?(H=F,G=E):(G=F,H=E),C={inlineSize:G,blockSize:H}}Aw(A,C)}}if("undefined"!=typeof AMP&&.BaseElement)Bd=AMP.BaseElement;else{const $=HTMLElement;class A{constructor($){this.element=$,this.win=R($)}static"CustomElement"(A){return class extends ${constructor(){super(),this.implementation=new A(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement($){b().then($)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Bd=A}function Bm(){return Be||(Be=Ae({renderable:!0,playable:!0,loading:"auto"}))}function Bn({children:$,loading:A="auto",notify:B,playable:C=!0,renderable:D=!0}){const E=Bo(),F=D&&E.renderable,G=F&&C&&E.playable,H=Ap(F?"auto":"lazy",Ap(A,E.loading)),I=B||E.notify,J=Ak((()=>({renderable:F,playable:G,loading:H,notify:I})),[F,G,H,I]);return Ac(Bm().Provider,{children:$,value:J})}function Bo(){return Aj(Bm())}var Bp=BK("CanRender",{defaultValue:!0,recursive:$=>$.reduce(Bs),compute:($,A,B)=>B&&A.reduce(Bs,!0)||!1}),Bq=BK("CanPlay",{defaultValue:!0,recursive:$=>$.reduce(Bs),deps:[Bp],compute:($,A,B,C)=>C&&B&&A.reduce(Bs,!0)||!1}),Br=BK("Loading",{defaultValue:"auto",recursive:!0,deps:[Bp],compute:($,A,B,C)=>Ap(C?"auto":"lazy",Ap(B||"auto",A.reduce(Ap,"auto")))}),Bs=($,A)=>$&&A;function Bt(){let $=0;return()=>String(++$)}var Bu=$=>$.ensureLoaded(),Bv=$=>$.pause(),Bw=$=>$.unmount();function Bx($,A=!0){C$($,A,!1,Bu)}function By($,A=!0){C$($,A,!0,Bv)}function Bz($,A=!0){C$($,A,!0,Bw)}function C$($,A,B,C){const E=D($);for(let $=0;$<E.length;$++)CA(E[$],A,B,C)}function CA($,A,B,C){if(A&&$.classList.contains("i-amphtml-element")){const A=$;if(Aw(C,A),!B){const $=A.getPlaceholder();return void($&&CA($,!0,!1,C))}}const D=$.getElementsByClassName("i-amphtml-element");let E=null;for(let $=0;$<D.length;$++){const A=D[$];if(B)Aw(C,A);else{E=E||[];let $=!1;for(let B=0;B<E.length;B++)if(E[B].contains(A)){$=!0;break}$||(E.push(A),Aw(C,A))}}}var CB={},CC=new WeakMap;function CD($,A,C,D=!1){if($.setAttribute("slot",A),!D)return Ac(CE,B(B({},C||CB),{},{name:A}));const E=CC.get($);if(E&&function($,A){if(null==$||null==A)return $===A;for(const B in $)if($[B]!==A[B])return!1;for(const B in A)if(A[B]!==$[B])return!1;return!0}(E.oldProps,C))return E.component;function F($){return Ac(CE,B(B({},C||CB),{},{name:A},$))}return CC.set($,{oldProps:C,component:F}),F}function CE($){const A=Ag(null);return CF(A,$),Ah((()=>{$.postRender&&$.postRender()})),Ac("slot",B(B({},$),{},{ref:A}))}function CF($,A){const{"loading":B}=A||CB,C=Bo();Ai((()=>{const A=$.current;return P(O(A)),BS(A,Bp,CE,C.renderable),BS(A,Bq,CE,C.playable),BS(A,Br,CE,C.loading),C.playable||CG(A,By,!0),()=>{var $;BT(A,Bp,CE),BT(A,Bq,CE),BT(A,Br,CE),$=A,BG.rediscoverChildren($)}}),[$,C]),Ai((()=>{const A=$.current;return P(O(A)),"lazy"!=B&&CG(A,Bx,!0),()=>{CG(A,Bz,!1)}}),[$,B])}function CG($,A,B){const C=$.assignedElements?$.assignedElements():$;if(Array.isArray(C)&&0==C.length)return;if(!B)return void A(C);const D=$.ownerDocument.defaultView;D&&(D.requestIdleCallback||D.setTimeout)((()=>A(C)))}var CH={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},CI=Bt();function CJ($,A){return Object.values($).some(A)}var CK=$=>"string"==typeof $||!!$.selector,CL=$=>3===$.nodeType&&0===$.nodeValue.trim().length;function CM($,A,C,D,E){const{"layoutSizeDefined":F,"lightDomTag":G,"props":H}=$;E&&E.start();const I=B(B({},D),{},{ref:C});return G&&(I["i-amphtml-rendered"]=!0,I.__AMP_RENDERED=!0,I.as=G),F&&($.usesShadowDom?I.style=CH:I.class="i-amphtml-fill-content"),CN($,I,H,A,E),E&&E.complete(),I}function CN($,A,B,C,D){if(CJ(B,CK)){const E=X(C);for(let C=0;C<E.length;C++){const F=E[C],G=CP(F,B);if(!G)continue;const H=B[G],{as:I=!1,single:J,name:K=G,clone:L,props:M={}}=H;P(L||$.usesShadowDom);const N={};if(CN($,N,M,F,D),J)A[K]=CD(F,F.getAttribute("slot")||`i-amphtml-${K}`,N,I);else{const $=A[K]||(A[K]=[]);P(!I),$.push(L?CO(F):CD(F,F.getAttribute("slot")||`i-amphtml-${K}-${CI()}`,N))}}}for(const F in B){const G=B[F];let H;if(P(!!G.attr+!!G.attrs+!!G.attrMatches+!!G.selector+!!G.passthrough+!!G.passthroughNonEmpty<=1),G.passthrough?(P($.usesShadowDom),H=[Ac(CE,{loading:"lazy"})]):G.passthroughNonEmpty?(P($.usesShadowDom),H=X(C).every(CL)?null:[Ac(CE,{loading:"lazy"})]):G.attr?(H=C.getAttribute(G.attr),G.media&&null!=H&&(H=D.resolveListQuery(String(H)))):G.parseAttrs&&(P(G.attrs||G.attrMatches),H=G.parseAttrs(C)),null==H)null!=G.default&&(A[F]=G.default);else{const $="number"==G.type?parseFloat(H):"boolean"==G.type?null==(E=H)?void 0:"false"!==E:H;A[F]=$}}var E}function CO($){const A={"key":$},{attributes:B,localName:C}=$,{length:D}=B;for(let $=0;$<D;$++){const{name:C,value:D}=B[$];A[C]=D}return Ac(C,A)}function CP($,A){for(const B in A){const C=A[B];if(V($,"string"==typeof C?C:C.selector))return B}return null}var CQ=self.AMP_CONFIG||{},CR=("string"==typeof CQ.thirdPartyFrameRegex?new RegExp(CQ.thirdPartyFrameRegex):CQ.thirdPartyFrameRegex,("string"==typeof CQ.cdnProxyRegex?new RegExp(CQ.cdnProxyRegex):CQ.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function CS($){if(!self.document||!self.document.head)return null;if(self.location&&CR.test(self.location.origin))return null;const A=self.document.head.querySelector(`meta[name="${$}"]`);return A&&A.getAttribute("content")||null}CQ.thirdPartyUrl,CQ.thirdPartyFrameHost,CQ.cdnUrl||CS("runtime-host"),CQ.errorReportingUrl,CQ.betaErrorReportingUrl,CQ.localDev,CQ.geoApiUrl||CS("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var CT=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+CT,"gim"),new RegExp("(-shadowcsscontext"+CT,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var CU={childList:!0},CV={childList:!0,characterData:!0},CW={childList:!0},CX=L({"style":"display: contents; background: inherit;","part":"c"}),CY=L({"name":"i-amphtml-svc"}),CZ=L({"i-amphtml-rendered":""}),C_=()=>!0,Ca=$=>!!$.media,Cb=$=>!(!$.passthrough&&!$.passthroughNonEmpty),Cc=class extends Bd{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor($){super($),this._=L({"loading":"auto","onReadyState":($,A)=>{this.g($,A)},"onPlayingState":$=>{this.h($)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.i={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.j=!1,this.k=null,this.m=null,this.o=$=>{null!==$&&(this.k?this.p($):this.q($)),this.m=$,this.u()},this.v=null,this.A$=null,this.AA=null,this.AB=!1,this.AC=null,this.AD=()=>{this.AB=!1,this.AE()},this.AF=!1,this.AG=!1,this.observer=null,this.AH=new class{constructor($){this.AI=$,this.AJ=!1,this.AK=!1,this.AL=this.AL.bind(this)}updatePlaying($){$!==this.AJ&&(this.AJ=$,$?(this.AK=!1,function($,A){!function($,A,B){const C=$.ownerDocument.defaultView;if(!C)return;let D=Bh.get($);if(D||(D=[],Bh.set($,D),Bj(C).observe($)),!D.some(($=>$.callback===B&&1===$.type))){D.push({type:1,callback:B});const A=Bi.get($);A&&setTimeout((()=>Bl(1,B,A)))}}($,0,A)}(this.AI,this.AL)):function($,A){!function($,A,B){const C=Bh.get($);if(C&&(function($,A){const C=[];let D=0;for(let A=0;A<$.length;A++){const F=$[A];(E=F).callback===B&&1===E.type?C.push(F):(D<A&&($[D]=F),D++)}var E;D<$.length&&($.length=D)}(C),0==C.length)){Bh.delete($),Bi.delete($);const A=$.ownerDocument.defaultView;A&&Bj(A).unobserve($)}}($,0,A)}(this.AI,this.AL))}AL({blockSize:$,inlineSize:A}){const B=A>0&&$>0;if(B===this.AK)return;this.AK=B;const C=this.AI;B||C.pause()}}($),this.AM=null}init(){}isLayoutSupported($){return this.constructor.layoutSizeDefined?function($){return"fixed"==$||"fixed-height"==$||"responsive"==$||"fill"==$||"flex-item"==$||"fluid"==$||"intrinsic"==$}($)||"container"==$:super.isLayoutSupported($)}buildCallback(){const $=this.constructor;this.observer=new MutationObserver(($=>this.AN($)));const A=$.props,C=CJ(A,CK)?CU:null,D=CJ(A,Cb)?CV:null,E=$.usesTemplate?CW:null;this.observer.observe(this.element,B(B(B({attributes:!0},C),D),E)),this.AM=CJ(A,Ca)?new class{constructor($,A){this.AO=$,this.AP=A,this.AQ={},this.AR=null}start(){this.AR=this.AQ,this.AQ={}}resolveMatchQuery($){return"1"===this.AS($,BU,"1")}resolveListQuery($){return this.AS($,BV,"")}complete(){for(const $ in this.AR)$ in this.AQ||BW(this.AR[$],this.AP,!1);this.AR=null}dispose(){for(const $ in this.AQ)BW(this.AQ[$],this.AP,!1);this.AQ={}}AS($,A,B){if(!$.trim())return B;let C=this.AQ[$]||this.AR[$];return C||(C=A(this.AO,$),BW(C,this.AP,!0)),this.AQ[$]=C,function($){for(let A=0;A<$.length;A++){const{query:B,value:C}=$[A];if(!B||B.matches)return C}return""}(C)}}(this.win,(()=>this.AT())):null;const F=$.staticProps,G=this.init();Object.assign(this._,F,G),this.checkPropsPostMutations(),BN(this.element,[],(()=>()=>{this.AG=!1,this.AA&&Ad(null,this.AA)})),BN(this.element,[Bp,Bq,Br],(($,A,B)=>{this.i.renderable=$,this.i.playable=A,this.i.loading=B,this.AG=!0,this.AT()}));const H=$.useContexts;var I;return 0!=H.length&&BN(this.element,H,((...$)=>{this.A$=$,this.AT()})),this.AC=new m,this.AT(),$.loadable&&(null===(I=this.setReadyState)||void 0===I||I.call(this,"loading")),this.u(),this.AC.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(L({"loading":"eager"})),this.j=!0)}mountCallback(){BR(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.j=!1)}unmountCallback(){var $;BR(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.h(!1),null===($=this.AM)||void 0===$||$.dispose()}mutatedAttributesCallback(){this.AA&&this.AT()}attemptChangeHeight($){return super.attemptChangeHeight($).catch(($=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),$}))}mutateProps($){Object.assign(this._,$),this.AT()}api(){return P(this.m)}registerApiAction($,A,B=2){var C;null===(C=this.registerAction)||void 0===C||C.call(this,$,($=>A(this.api(),$)),B)}mutationObserverCallback($){}checkPropsPostMutations(){}updatePropsForRendering($){}isReady($){return!0}AN($){const A=this.constructor;this.mutationObserverCallback($);const B=$.some(($=>function($,A){const{type:B}=A;if("attributes"==B){if($.usesTemplate&&"template"==A.attributeName)return!0;const B=$.props;for(const $ in B){var C;const D=B[$];if(A.attributeName==D.attr||D.attrs&&D.attrs.includes(P(A.attributeName))||null!==(C=D.attrMatches)&&void 0!==C&&C.call(D,A.attributeName))return!0}return!1}return"childList"==B&&(Ce(A.addedNodes)||Ce(A.removedNodes))}(A,$)));B&&(this.checkPropsPostMutations(),this.AT())}AT(){this.AB||(this.AB=!0,this.mutateElement(this.AD))}u(){const{m:$}=this,A=null==$?void 0:$.readyState;A&&A!==this.element.readyState&&this.g(A)}g($,A){var B;null===(B=this.setReadyState)||void 0===B||B.call(this,$,A),this.constructor.unloadOnPause&&this.h("complete"==$),this.j&&(this.j=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var $,A,B;null===($=this.toggleLoading)||void 0===$||$.call(this,!1),null===(A=this.toggleFallback)||void 0===A||A.call(this,!1),null===(B=this.togglePlaceholder)||void 0===B||B.call(this,!1)}handleOnLoading(){var $;null===($=this.toggleLoading)||void 0===$||$.call(this,!0)}handleOnError(){var $,A,B,C,D;null===($=this.toggleLoading)||void 0===$||$.call(this,!1),null!==(A=this.getFallback)&&void 0!==A&&A.call(this)?(null===(B=this.toggleFallback)||void 0===B||B.call(this,!0),null===(C=this.togglePlaceholder)||void 0===C||C.call(this,!1)):null===(D=this.togglePlaceholder)||void 0===D||D.call(this,!0)}AE(){if(!this.AG)return;const $=this.constructor,A=$.usesShadowDom,C=A?null:$.lightDomTag,D=$.detached;if(!this.AA){const B=this.win.document;if(A){P(!D);let{shadowRoot:A}=this.element,C=A&&(M=A,T("c"),U(M,"> c"));if(C)this.AF=!0;else{var E,F,G,H,I,J;A=this.element.attachShadow({mode:"open",delegatesFocus:$.delegatesFocus});const D=$.shadowCss;D&&function($,A,B){const C=$.ownerDocument,D=C.defaultView;if(void 0!==$.adoptedStyleSheets&&void 0!==D.CSSStyleSheet.prototype.replaceSync){const C=D.__AMP_SHADOW_CSS||(D.__AMP_SHADOW_CSS={});let E=C[A];E||(E=new D.CSSStyleSheet,E.replaceSync(B),C[A]=E),$.adoptedStyleSheets=$.adoptedStyleSheets.concat(E)}else{const D=C.createElement("style");D.setAttribute("data-name",A),D.textContent=B,$.appendChild(D)}}(A,this.element.tagName,D),C=_(B,"c",CX),A.appendChild(C);const K=_(B,"slot",CY);A.appendChild(K),null===(E=this.getPlaceholder)||void 0===E||null===(F=E.call(this))||void 0===F||F.setAttribute("slot","i-amphtml-svc"),null===(G=this.getFallback)||void 0===G||null===(H=G.call(this))||void 0===H||H.setAttribute("slot","i-amphtml-svc"),null===(I=this.getOverflowElement)||void 0===I||null===(J=I.call(this))||void 0===J||J.setAttribute("slot","i-amphtml-svc")}this.AA=C,function($,A){BG.get($).setParent(A)}(A,this.element),function($,A,B,C=0){BG.get($).addGroup(A,B,C)}(this.element,"unslotted",C_,-1),K=this.element,L=Bp,BG.get(K).group("unslotted").values.set(L,this,!1)}else if(C){this.AA=this.element;const A=W(this.AA,"i-amphtml-rendered")||_(B,C,CZ);A.__AMP_RENDERED=!0,$.layoutSizeDefined&&A.classList.add("i-amphtml-fill-content"),this.AA.appendChild(A)}else{const $=B.createElement("i-amphtml-c");this.AA=$,$.classList.add("i-amphtml-fill-content"),D||this.element.appendChild($)}}var K,L,M;const N=$.useContexts,O=this.A$;if(0!=N.length&&null==O)return;const Q=CM($,this.element,this.o,this._,this.AM);if(this.updatePropsForRendering(Q),!this.isReady(Q))return;let R=Ac($.Component,Q);for(let $=0;$<N.length;$++){const A=N[$].type,B=O[$];B&&(R=Ac(A.Provider,{value:B},R))}const S=Ac(Bn,B({},this.i),R);if(this.AF)this.AF=!1,AM(S,this.AA);else{const $=C?W(this.AA,"i-amphtml-rendered"):null;$&&($.__AMP_RENDERED=!0),Ad(S,this.AA,$)}A||D||this.mutateElement((()=>a(this.element,"amp:dom-update",null))),this.AC&&(this.AC.resolve(),this.AC=null)}getProp($,A){return B=this._,C=$,I.call(B,C)?this._[$]:A;var B,C}getApi(){const $=this.k;return $?Promise.resolve($):(this.v||(this.v=new m),this.v.promise)}q($){const A=K(),B=Object.keys($);for(let $=0;$<B.length;$++)Cd(this,A,B[$]);this.k=A,this.v&&(this.v.resolve(A),this.v=null)}p($){}triggerEvent($,A,B){a($,A,B)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(L({"loading":"unload"})),this.j=!0;else{var $;const{m:A}=this;null==A||null===($=A.pause)||void 0===$||$.call(A)}}h($){this.AH.updatePlaying($)}};function Cd($,A,B){Object.defineProperty(A,B,{configurable:!0,get:()=>$.m[B],set(A){$.m[B]=A}})}function Ce($){for(let A=0;A<$.length;A++){const B=$[A];if(O(B)){if(B.__AMP_RENDERED||B.tagName.startsWith("I-")||"i-amphtml-svc"==B.getAttribute("slot"))continue;return!0}if(3==B.nodeType)return!0}return!1}function Cf($,A){if(null==$)return{};var B,C,D={},E=Object.keys($);for(C=0;C<E.length;C++)B=E[C],A.indexOf(B)>=0||(D[B]=$[B]);return D}Cc.Component=function(){P(!1)},Cc.staticProps=void 0,Cc.useContexts=[],Cc.loadable=!1,Cc.unloadOnPause=!1,Cc.layoutSizeDefined=!1,Cc.lightDomTag="",Cc.usesTemplate=!1,Cc.shadowCss=null,Cc.usesShadowDom=!1,Cc.detached=!1,Cc.delegatesFocus=!1,Cc.props={};var Cg,Ch=["ref"],Ci="undefined"!=typeof Symbol&&(null===(Cg=Symbol.for)||void 0===Cg?void 0:Cg.call(Symbol,"react.forward_ref"))||3911,Cj=d.__b;function Ck($){function A(A){const{ref:B}=A,C=Cf(A,Ch);return $(C,B)}return A.$$typeof=Ci,A.render=A,A.prototype.isReactComponent=!0,A.AU=!0,A}function Cl($){return(Cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})($)}function Cm($){var A=function($,A){if("object"!==Cl($)||null===$)return $;var B=$[Symbol.toPrimitive];if(void 0!==B){var C=B.call($,"string");if("object"!==Cl(C))return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}($);return"symbol"===Cl(A)?A:String(A)}d.__b=function($){var A;null!==(A=$.type)&&void 0!==A&&A.AU&&$.ref&&($.props.ref=$.ref,$.ref=null),null==Cj||Cj($)};var Cn=[null,"paint","layout","content","size","size paint","size layout","strict"],Co={"position":"relative","width":"100%","height":"100%"};function Cp($,A,B){$.classList.add("i-amphtml-animating");let C=A();return C.onfinish=C.oncancel=()=>{C=null,B&&B(),$.classList.remove("i-amphtml-animating")},()=>{C&&C.cancel()}}function Cq($){const A=window.innerHeight,B=Math.abs($)/A*500;return Math.min(Math.max(B,200),500)}Ck((function($,A){let C="class",{as:D="div",children:E,contentAs:F="div",contentClassName:G,contentProps:H,contentRef:I,contentStyle:J,layout:K=!1,paint:L=!1,size:M=!1,"style":N,wrapperClassName:O,wrapperStyle:P,[C]:Q}=$;const R=(M?4:0)+(K?2:0)+(L?1:0);return Ac(D,B(B({},Cf($,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",C].map(Cm))),{},{ref:A,class:`${Q||""} ${O||""}`.trim()||null,style:B(B(B({},N),P),{},{contain:Cn[R]})}),Ac(F,B(B({},H),{},{ref:I,class:G,style:B(B({},M&&Co),{},{"overflow":L?"hidden":"visible"},J)}),E))})),Ck((function($,A){let C="class",{as:D="div",children:E,"style":F,wrapperClassName:G,wrapperStyle:H,[C]:I}=$;return Ac(D,B(B({},Cf($,["as","children","style","wrapperClassName","wrapperStyle",C].map(Cm))),{},{ref:A,class:`${I||""} ${G||""}`.trim()||null,style:B(B({},F),H)}),E)})),new WeakMap,new WeakMap;var Cr=["animate","as","children","expandSingleSection","id"],Cs=["animate","as","children","expanded","id","onExpandStateChange"],Ct=Ae({}),Cu=Ae({}),Cv={},Cw={},Cx=Bt(),Cy=()=>String(Math.floor(1e5*Math.random())),Cz=Ck((function($,A){let{animate:C=!1,as:D="section",children:E,expandSingleSection:F=!1,id:G}=$,H=Cf($,Cr);const[I,J]=Af(Cv),K=Ag(Cw),[L]=Af(Cy),N=G||`a${L}`;Ah((()=>{F&&J(($=>{const A={};let B=0;for(const C in $)A[C]=$[C]&&0==B++;return A}))}),[F]);const O=Al((($,A,{current:C})=>(J((B=>D$($,A,B,F))),K.current=B(B({},K.current),{},{[$]:C}),()=>{J((A=>M(A,$))),K.current=M(K.current,$)})),[F]),P=Al((($,A)=>{J((B=>{const C=null!=A?A:!B[$],D=D$($,C,B,F);return b().then((()=>{for(const $ in B){const A=K.current[$];A&&B[$]!=D[$]&&A(D[$])}})),D}))}),[F]),Q=Al((($,A)=>{var B;return null!==(B=I[$])&&void 0!==B?B:A}),[I]),R=Al(($=>{if($)$ in I&&P($);else if(!F)for(const $ in I)P($)}),[I,P,F]),S=Al(($=>{if($)Q($,!0)||P($);else if(!F)for(const $ in I)Q($,!0)||P($)}),[I,P,Q,F]),T=Al(($=>{if($)Q($,!1)&&P($);else for(const $ in I)Q($,!1)&&P($)}),[I,P,Q]);Am(A,(()=>({toggle:R,expand:S,collapse:T})),[R,T,S]);const U=Ak((()=>({registerSection:O,toggleExpanded:P,isExpanded:Q,animate:C,prefix:N})),[O,P,Q,C,N]);return Ac(D,B({id:G},H),Ac(Ct.Provider,{value:U},E))}));function D$($,A,C,D){let E;if(D&&A){E={[$]:A};for(const A in C)A!=$&&(E[A]=!1)}else E=B(B({},C),{},{[$]:A});return E}function DA($){let{animate:A=!1,as:C="section",children:D,expanded:E=!1,id:F,onExpandStateChange:G}=$,H=Cf($,Cs);const[I]=Af(Cx),J=F||I,[K]=Af(Cy),[L,M]=Af(E),[N,O]=Af(null),[P,Q]=Af(null),{animate:R,isExpanded:S,prefix:T,registerSection:U,toggleExpanded:V}=Aj(Ct),W=S?S(J,E):L,X=null!=R?R:A,Y=N||`${T||"a"}-content-${J}-${K}`,Z=P||`${T||"a"}-header-${J}-${K}`,_=Ag(null);_.current=G,Ai((()=>{if(U)return U(J,E,_)}),[U,J,E]);const a=Al(($=>{V?V(J,$):M((A=>{const B=null!=$?$:!A;return b().then((()=>{const $=_.current;$&&$(B)})),B}))}),[J,V]),c=Ak((()=>({animate:X,contentId:Y,headerId:Z,expanded:W,toggleHandler:a,setContentId:O,setHeaderId:Q})),[X,Y,Z,W,a]);return Ac(C,B({},H),Ac(Cu.Provider,{value:c},D))}function DB($){let A="class",C="tabIndex",{as:D="div",children:E,id:F,role:G="button",[A]:H="",[C]:I=0}=$,J=Cf($,["as","children","id","role",A,C].map(Cm));const{contentId:K,expanded:L,headerId:M,setHeaderId:N,toggleHandler:O}=Aj(Cu);return Ai((()=>{N&&N(F)}),[N,F]),Ac(D,B(B({},J),{},{id:M,role:G,class:`${H} section-child-00fce3c header-00fce3c`,tabIndex:I,"aria-controls":K,onClick:()=>O(),"aria-expanded":String(L)}),E)}function DC($){let A="class",{as:C="div",children:D,id:E,role:F="region",[A]:G=""}=$,H=Cf($,["as","children","id","role",A].map(Cm));const I=Ag(null),J=Ag(!1),{animate:K,contentId:L,expanded:M,headerId:N,setContentId:O}=Aj(Cu);return Ah((()=>(J.current=!0,()=>J.current=!1)),[]),Ai((()=>{O&&O(E)}),[O,E]),Ai((()=>{const $=J.current,A=I.current;if(K&&$&&A&&A.animate)return M?function($){return Cp($,(()=>{const A=Ba($,"height"),B=Ba($,"opacity"),C=Ba($,"overflowY");Bb($,{height:0,opacity:0,overflowY:"auto"});const D=$.scrollHeight;Bb($,{height:A,opacity:B,overflowY:C});const E=Cq(D);return $.animate([{height:0,opacity:0,overflowY:"hidden"},{height:D+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:E})}))}(A):function($){return Cp($,(()=>{const A=$.offsetHeight,B=Cq(A);return $.animate([{height:A+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:B})}))}(A)}),[M,K]),Ac(Bn,{renderable:M},Ac(C,B(B({},H),{},{ref:I,class:G+" section-child-00fce3c"+(M?"":" content-hidden-00fce3c"),id:L,"aria-labelledby":N,role:F}),D))}Cz.displayName="Accordion";var DD=class extends Cc{init(){const $=$=>A=>{var B;!function($,A,B){const C=$.hasAttribute(A),D=void 0!==B?B:!C;D!==C&&(D?$.setAttribute(A,""):$.removeAttribute(A))}($,"expanded",A),null===(B=$.__AMP_PR)||void 0===B||B.call($),this.triggerEvent($,A?"expand":"collapse")},{element:A}=this,B=new MutationObserver((()=>{this.mutateProps(DE(A,B,$))}));B.observe(A,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":C}=DE(A,B,$);return L({"children":C})}};function DE($,A,C){var D;const E=(F=$,G="section",T(G),"> section",(D=F.querySelectorAll(S("> section",":scope")))?Array.prototype.slice.call(D):[]).map(($=>{$.__AMP_PR||($.__AMP_PR=()=>A.takeRecords());const D=N($,"__AMP_H_SHIM",DG),E=N($,"__AMP_C_SHIM",DI),F=N($,"__AMP_EXPAND_STATE_SHIM",C),G=L({"key":$,"expanded":$.hasAttribute("expanded"),"id":$.getAttribute("id"),"onExpandStateChange":F}),H=L({"as":D,"id":$.firstElementChild.getAttribute("id"),"role":$.firstElementChild.getAttribute("role")||void 0}),I=L({"as":E,"id":$.lastElementChild.getAttribute("id"),"role":$.lastElementChild.getAttribute("role")||void 0});return Ac(DA,B({},G),Ac(DB,B({},H)),Ac(DC,B({},I)))}));var F,G;return L({"children":E})}function DF($,{"aria-controls":A,"aria-expanded":B,id:C,onClick:D,role:E}){const F=$.firstElementChild;return Ai((()=>{if(F&&D)return F.setAttribute("id",C),F.classList.add("i-amphtml-accordion-header"),F.addEventListener("click",D),F.hasAttribute("tabindex")||F.setAttribute("tabindex",0),F.setAttribute("aria-expanded",B),F.setAttribute("aria-controls",A),F.setAttribute("role",E),$.__AMP_PR&&$.__AMP_PR(),()=>{F.removeEventListener("click",P(D))}}),[$,F,C,E,D,A,B]),Ac("header",null)}var DG=$=>DF.bind(null,$);function DH($,{"aria-labelledby":A,id:B,role:C},D){const E=$.lastElementChild,F=Ag();return F.current=E,CF(F),function($,A){Am($,(()=>A),[A])}(D,E),Ai((()=>{E&&(E.classList.add("i-amphtml-accordion-content"),E.setAttribute("id",B),E.setAttribute("role",C),E.setAttribute("aria-labelledby",A),$.__AMP_PR&&$.__AMP_PR())}),[$,E,B,C,A]),Ac("div",null)}var DI=$=>Ck(DH.bind(null,$));function DJ(){customElements.define("bento-accordion",DD.CustomElement(DD))}DD.Component=Cz,DD.detached=!0,DD.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{DJ as defineElement}; | ||
function a(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function b(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter((function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}))),c.push.apply(c,d)}return c}function c(c){for(var d=1;d<arguments.length;d++){var e=null!=arguments[d]?arguments[d]:{};d%2?b(Object(e),!0).forEach((function(b){a(c,b,e[b])})):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(a){Object.defineProperty(c,a,Object.getOwnPropertyDescriptor(e,a))}))}return c}var{isArray:d}=Array;function e(a){return d(a)?a:[a]}function f(a,b){return a.indexOf(b)<0&&(a.push(b),!0)}function g(a,b){const c=a.indexOf(b);return-1!=c&&(a.splice(c,1),!0)}function h(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function i(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(c)return(c=c.call(a)).next.bind(c);if(Array.isArray(a)||(c=function(a,b){if(a){if("string"==typeof a)return h(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?h(a,b):void 0}}(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0;return function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}}}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:j,toString:k}=Object.prototype;function l(a){const b=Object.create(null);return a&&Object.assign(b,a),b}function m(a){return a||{}}function n(a,b){return Object.keys(a).reduce(((c,d)=>(b.includes(d)||(c[d]=a[d]),c)),{})}function o(a,b,c){let d=a[b];return void 0===d&&(d=c(a,b),a[b]=d),d}function p(a){return 1==(null==a?void 0:a.nodeType)}function q(a,b,c,d,e,f,g,h,i,j,k){return a}function r(a,b){return a}function s(a){return(a.ownerDocument||a).defaultView}function t(a,b){return a.replace(/^|,/g,`$&${b} `)}function u(a){q(/^[\w-]+$/.test(a))}function v(a,b){return a.querySelector(t(b,":scope"))}function w(a,b){const c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector;return!!c&&c.call(a,b)}function x(a,b){return u(b),v(a,`> [${b}]`)}function y(a){return function(a,b){const c=[];for(let b=a.firstChild;b;b=b.nextSibling)!(function(a){let b;return"string"==typeof a?b=a:a.nodeType===Node.ELEMENT_NODE&&(b=r(a).tagName),!!b&&b.toLowerCase().startsWith("i-")}(d=b)||d.nodeType===Node.ELEMENT_NODE&&(r(d),d.hasAttribute("placeholder")||d.hasAttribute("fallback")||d.hasAttribute("overflow")))&&c.push(b);var d;return c}(a)}var z,A={bubbles:!0,cancelable:!0};function B(a,b,c){return function(a,b){for(const c in b)a.setAttribute(c,b[c]);return a}(a.createElement(b),c)}function C(a,b,c,d){const e=c||{},f=a.ownerDocument.createEvent("Event");f.data=e;const{bubbles:g,cancelable:h}=d||A;f.initEvent(b,g,h),a.dispatchEvent(f)}function D(){return z||(z=Promise.resolve(void 0))}var E,F,G,H,I,J,K,L,M,N,O=class{constructor(){this.promise=new Promise(((a,b)=>{this.resolve=a,this.reject=b}))}},P={},Q=[],R=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function S(a,b){for(var c in b)a[c]=b[c];return a}function T(a){var b=a.parentNode;b&&b.removeChild(a)}function U(a,b,c){var d,e,f,g={};for(f in b)"key"==f?d=b[f]:"ref"==f?e=b[f]:g[f]=b[f];if(arguments.length>2&&(g.children=arguments.length>3?E.call(arguments,2):c),"function"==typeof a&&null!=a.defaultProps)for(f in a.defaultProps)void 0===g[f]&&(g[f]=a.defaultProps[f]);return V(a,g,d,e,null)}function V(a,b,c,d,e){var f={type:a,props:b,key:c,ref:d,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++G:e};return null==e&&null!=F.vnode&&F.vnode(f),f}function W(a){return a.children}function X(a,b){this.props=a,this.context=b}function Y(a,b){if(null==b)return a.__?Y(a.__,a.__.__k.indexOf(a)+1):null;for(var c;b<a.__k.length;b++)if(null!=(c=a.__k[b])&&null!=c.__e)return c.__e;return"function"==typeof a.type?Y(a):null}function Z(a){var b,c;if(null!=(a=a.__)&&null!=a.__c){for(a.__e=a.__c.base=null,b=0;b<a.__k.length;b++)if(null!=(c=a.__k[b])&&null!=c.__e){a.__e=a.__c.base=c.__e;break}return Z(a)}}function $(a){(!a.__d&&(a.__d=!0)&&H.push(a)&&!_.__r++||J!==F.debounceRendering)&&((J=F.debounceRendering)||I)(_)}function _(){for(var a;_.__r=H.length;)a=H.sort((function(a,b){return a.__v.__b-b.__v.__b})),H=[],a.some((function(a){var b,c,d,e,f,g;a.__d&&(f=(e=(b=a).__v).__e,(g=b.__P)&&(c=[],(d=S({},e)).__v=e.__v+1,bh(g,e,d,b.__n,void 0!==g.ownerSVGElement,null!=e.__h?[f]:null,c,null==f?Y(e):f,e.__h),bi(c,e),e.__e!=f&&Z(e)))}))}function ba(a,b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r=d&&d.__k||Q,s=r.length;for(c.__k=[],k=0;k<b.length;k++)if(null!=(n=c.__k[k]=null==(n=b[k])||"boolean"==typeof n?null:"string"==typeof n||"number"==typeof n||"bigint"==typeof n?V(null,n,null,null,n):Array.isArray(n)?V(W,{children:n},null,null,null):n.__b>0?V(n.type,n.props,n.key,null,n.__v):n)){if(n.__=c,n.__b=c.__b+1,null===(m=r[k])||m&&n.key==m.key&&n.type===m.type)r[k]=void 0;else for(l=0;l<s;l++){if((m=r[l])&&n.key==m.key&&n.type===m.type){r[l]=void 0;break}m=null}bh(a,n,m=m||P,e,f,g,h,i,j),o=n.__e,(l=n.ref)&&m.ref!=l&&(q||(q=[]),m.ref&&q.push(m.ref,null,n),q.push(l,n.__c||o,n)),null!=o?(null==p&&(p=o),"function"==typeof n.type&&n.__k===m.__k?n.__d=i=bb(n,i,a):i=bc(a,n,m,r,o,i),"function"==typeof c.type&&(c.__d=i)):i&&m.__e==i&&i.parentNode!=a&&(i=Y(m))}for(c.__e=p,k=s;k--;)null!=r[k]&&("function"==typeof c.type&&null!=r[k].__e&&r[k].__e==c.__d&&(c.__d=Y(d,k+1)),bk(r[k],r[k]));if(q)for(k=0;k<q.length;k++)bj(q[k],q[++k],q[++k])}function bb(a,b,c){for(var d,e=a.__k,f=0;e&&f<e.length;f++)(d=e[f])&&(d.__=a,b="function"==typeof d.type?bb(d,b,c):bc(c,d,d,e,d.__e,b));return b}function bc(a,b,c,d,e,f){var g,h,i;if(void 0!==b.__d)g=b.__d,b.__d=void 0;else if(null==c||e!=f||null==e.parentNode)a:if(null==f||f.parentNode!==a)a.appendChild(e),g=null;else{for(h=f,i=0;(h=h.nextSibling)&&i<d.length;i+=2)if(h==e)break a;a.insertBefore(e,f),g=f}return void 0!==g?g:e.nextSibling}function bd(a,b,c){"-"===b[0]?a.setProperty(b,c):a[b]=null==c?"":"number"!=typeof c||R.test(b)?c:c+"px"}function be(a,b,c,d,e){var f;a:if("style"===b)if("string"==typeof c)a.style.cssText=c;else{if("string"==typeof d&&(a.style.cssText=d=""),d)for(b in d)c&&b in c||bd(a.style,b,"");if(c)for(b in c)d&&c[b]===d[b]||bd(a.style,b,c[b])}else if("o"===b[0]&&"n"===b[1])f=b!==(b=b.replace(/Capture$/,"")),b=b.toLowerCase()in a?b.toLowerCase().slice(2):b.slice(2),a.l||(a.l={}),a.l[b+f]=c,c?d||a.addEventListener(b,f?bg:bf,f):a.removeEventListener(b,f?bg:bf,f);else if("dangerouslySetInnerHTML"!==b){if(e)b=b.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==b&&"list"!==b&&"form"!==b&&"tabIndex"!==b&&"download"!==b&&b in a)try{a[b]=null==c?"":c;break a}catch(a){}"function"==typeof c||(null!=c&&(!1!==c||"a"===b[0]&&"r"===b[1])?a.setAttribute(b,c):a.removeAttribute(b))}}function bf(a){this.l[a.type+!1](F.event?F.event(a):a)}function bg(a){this.l[a.type+!0](F.event?F.event(a):a)}function bh(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u=b.type;if(void 0!==b.constructor)return null;null!=c.__h&&(i=c.__h,h=b.__e=c.__e,b.__h=null,f=[h]),(j=F.__b)&&j(b);try{a:if("function"==typeof u){if(q=b.props,r=(j=u.contextType)&&d[j.__c],s=j?r?r.props.value:j.__:d,c.__c?p=(k=b.__c=c.__c).__=k.__E:("prototype"in u&&u.prototype.render?b.__c=k=new u(q,s):(b.__c=k=new X(q,s),k.constructor=u,k.render=bl),r&&r.sub(k),k.props=q,k.state||(k.state={}),k.context=s,k.__n=d,l=k.__d=!0,k.__h=[]),null==k.__s&&(k.__s=k.state),null!=u.getDerivedStateFromProps&&(k.__s==k.state&&(k.__s=S({},k.__s)),S(k.__s,u.getDerivedStateFromProps(q,k.__s))),m=k.props,n=k.state,l)null==u.getDerivedStateFromProps&&null!=k.componentWillMount&&k.componentWillMount(),null!=k.componentDidMount&&k.__h.push(k.componentDidMount);else{if(null==u.getDerivedStateFromProps&&q!==m&&null!=k.componentWillReceiveProps&&k.componentWillReceiveProps(q,s),!k.__e&&null!=k.shouldComponentUpdate&&!1===k.shouldComponentUpdate(q,k.__s,s)||b.__v===c.__v){k.props=q,k.state=k.__s,b.__v!==c.__v&&(k.__d=!1),k.__v=b,b.__e=c.__e,b.__k=c.__k,b.__k.forEach((function(a){a&&(a.__=b)})),k.__h.length&&g.push(k);break a}null!=k.componentWillUpdate&&k.componentWillUpdate(q,k.__s,s),null!=k.componentDidUpdate&&k.__h.push((function(){k.componentDidUpdate(m,n,o)}))}k.context=s,k.props=q,k.state=k.__s,(j=F.__r)&&j(b),k.__d=!1,k.__v=b,k.__P=a,j=k.render(k.props,k.state,k.context),k.state=k.__s,null!=k.getChildContext&&(d=S(S({},d),k.getChildContext())),l||null==k.getSnapshotBeforeUpdate||(o=k.getSnapshotBeforeUpdate(m,n)),t=null!=j&&j.type===W&&null==j.key?j.props.children:j,ba(a,Array.isArray(t)?t:[t],b,c,d,e,f,g,h,i),k.base=b.__e,b.__h=null,k.__h.length&&g.push(k),p&&(k.__E=k.__=null),k.__e=!1}else null==f&&b.__v===c.__v?(b.__k=c.__k,b.__e=c.__e):b.__e=function(a,b,c,d,e,f,g,h){var i,j,k,l=c.props,m=b.props,n=b.type,o=0;if("svg"===n&&(e=!0),null!=f)for(;o<f.length;o++)if((i=f[o])&&(i===a||(n?i.localName==n:3==i.nodeType))){a=i,f[o]=null;break}if(null==a){if(null===n)return document.createTextNode(m);a=e?document.createElementNS("http://www.w3.org/2000/svg",n):document.createElement(n,m.is&&m),f=null,h=!1}if(null===n)l===m||h&&a.data===m||(a.data=m);else{if(f=f&&E.call(a.childNodes),j=(l=c.props||P).dangerouslySetInnerHTML,k=m.dangerouslySetInnerHTML,!h){if(null!=f)for(l={},o=0;o<a.attributes.length;o++)l[a.attributes[o].name]=a.attributes[o].value;(k||j)&&(k&&(j&&k.__html==j.__html||k.__html===a.innerHTML)||(a.innerHTML=k&&k.__html||""))}if(function(a,b,c,d,e){var f;for(f in c)"children"===f||"key"===f||f in b||be(a,f,null,c[f],d);for(f in b)e&&"function"!=typeof b[f]||"children"===f||"key"===f||"value"===f||"checked"===f||c[f]===b[f]||be(a,f,b[f],c[f],d)}(a,m,l,e,h),k)b.__k=[];else if(o=b.props.children,ba(a,Array.isArray(o)?o:[o],b,c,d,e&&"foreignObject"!==n,f,g,f?f[0]:c.__k&&Y(c,0),h),null!=f)for(o=f.length;o--;)null!=f[o]&&T(f[o]);h||("value"in m&&void 0!==(o=m.value)&&(o!==a.value||"progress"===n&&!o)&&be(a,"value",o,l.value,!1),"checked"in m&&void 0!==(o=m.checked)&&o!==a.checked&&be(a,"checked",o,l.checked,!1))}return a}(c.__e,b,c,d,e,f,g,i);(j=F.diffed)&&j(b)}catch(a){b.__v=null,(i||null!=f)&&(b.__e=h,b.__h=!!i,f[f.indexOf(h)]=null),F.__e(a,b,c)}}function bi(a,b){F.__c&&F.__c(b,a),a.some((function(b){try{a=b.__h,b.__h=[],a.some((function(a){a.call(b)}))}catch(a){F.__e(a,b.__v)}}))}function bj(a,b,c){try{"function"==typeof a?a(b):a.current=b}catch(a){F.__e(a,c)}}function bk(a,b,c){var d,e;if(F.unmount&&F.unmount(a),(d=a.ref)&&(d.current&&d.current!==a.__e||bj(d,null,b)),null!=(d=a.__c)){if(d.componentWillUnmount)try{d.componentWillUnmount()}catch(a){F.__e(a,b)}d.base=d.__P=null}if(d=a.__k)for(e=0;e<d.length;e++)d[e]&&bk(d[e],b,"function"!=typeof a.type);c||null==a.__e||T(a.__e),a.__e=a.__d=void 0}function bl(a,b,c){return this.constructor(a,c)}function bm(a,b,c){var d,e,f;F.__&&F.__(a,b),e=(d="function"==typeof c)?null:c&&c.__k||b.__k,f=[],bh(b,a=(!d&&c||b).__k=U(W,null,[a]),e||P,P,void 0!==b.ownerSVGElement,!d&&c?[c]:e?null:b.firstChild?E.call(b.childNodes):null,f,!d&&c?c:e?e.__e:b.firstChild,d),bi(f,a)}function bn(a,b){bm(a,b,bn)}E=Q.slice,F={__e:function(a,b){for(var c,d,e;b=b.__;)if((c=b.__c)&&!c.__)try{if((d=c.constructor)&&null!=d.getDerivedStateFromError&&(c.setState(d.getDerivedStateFromError(a)),e=c.__d),null!=c.componentDidCatch&&(c.componentDidCatch(a),e=c.__d),e)return c.__E=c}catch(b){a=b}throw a}},G=0,X.prototype.setState=function(a,b){var c;c=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=S({},this.state),"function"==typeof a&&(a=a(S({},c),this.props)),a&&S(c,a),null!=a&&this.__v&&(b&&this.__h.push(b),$(this))},X.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),$(this))},X.prototype.render=W,H=[],I="function"==typeof Promise?Promise.prototype.then.bind(D()):setTimeout,_.__r=0,K=0;var bo=0,bp=[],bq=F.__b,br=F.__r,bs=F.diffed,bt=F.__c,bu=F.unmount;function bv(a,b){F.__h&&F.__h(M,a,bo||b),bo=0;var c=M.__H||(M.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function bw(a,b){var c=bv(L++,4);!F.__s&&bC(c.__H,b)&&(c.__=a,c.__H=b,M.__h.push(c))}function bx(a,b){var c=bv(L++,7);return bC(c.__H,b)&&(c.__=a(),c.__H=b,c.__h=a),c.__}function by(){bp.forEach((function(a){if(a.__P)try{a.__H.__h.forEach(bA),a.__H.__h.forEach(bB),a.__H.__h=[]}catch(b){a.__H.__h=[],F.__e(b,a.__v)}})),bp=[]}F.__b=function(a){M=null,bq&&bq(a)},F.__r=function(a){br&&br(a),L=0;var b=(M=a.__c).__H;b&&(b.__h.forEach(bA),b.__h.forEach(bB),b.__h=[])},F.diffed=function(a){bs&&bs(a);var b=a.__c;b&&b.__H&&b.__H.__h.length&&(1!==bp.push(b)&&N===F.requestAnimationFrame||((N=F.requestAnimationFrame)||function(a){var b,c=function(){clearTimeout(d),bz&&cancelAnimationFrame(b),setTimeout(a)},d=setTimeout(c,100);bz&&(b=requestAnimationFrame(c))})(by)),M=null},F.__c=function(a,b){b.some((function(a){try{a.__h.forEach(bA),a.__h=a.__h.filter((function(a){return!a.__||bB(a)}))}catch(c){b.some((function(a){a.__h&&(a.__h=[])})),b=[],F.__e(c,a.__v)}})),bt&&bt(a,b)},F.unmount=function(a){bu&&bu(a);var b=a.__c;if(b&&b.__H)try{b.__H.__.forEach(bA)}catch(a){F.__e(a,b.__v)}};var bz="function"==typeof requestAnimationFrame;function bA(a){var b=M;"function"==typeof a.__c&&a.__c(),M=b}function bB(a){var b=M;a.__c=a.__(),M=b}function bC(a,b){return!a||a.length!==b.length||b.some((function(b,c){return b!==a[c]}))}function bD(a,b){return"function"==typeof b?b(a):b}function bE(a,b,c){return U.apply(void 0,arguments)}function bF(a,b,c){bm(a,b,c)}function bG(a){return(c={__c:b="__cC"+K++,__:a,Consumer:function(a,b){return a.children(b)},Provider:function(a){var c,d;return this.getChildContext||(c=[],(d={})[b]=this,this.getChildContext=function(){return d},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&c.some($)},this.sub=function(a){c.push(a);var b=a.componentWillUnmount;a.componentWillUnmount=function(){c.splice(c.indexOf(a),1),b&&b.call(a)}}),a.children}}).Provider.__=c.Consumer.contextType=c;var b,c}function bH(a){return bo=1,b=bD,c=a,(d=bv(L++,2)).t=b,d.__c||(d.__=[bD(void 0,c),function(a){var b=d.t(d.__[0],a);d.__[0]!==b&&(d.__=[b,d.__[1]],d.__c.setState({}))}],d.__c=M),d.__;var b,c,d}function bI(a){return b=a,bo=5,bx((function(){return{current:b}}),[]);var b}function bJ(a,b){var c,d,e;c=a,d=b,e=bv(L++,3),!F.__s&&bC(e.__H,d)&&(e.__=c,e.__H=d,M.__H.__h.push(e))}function bK(a,b){bw(a,b)}function bL(a){return b=a,c=M.context[b.__c],(d=bv(L++,9)).c=b,c?(null==d.__&&(d.__=!0,c.sub(M)),c.props.value):b.__;var b,c,d}function bM(a,b){return bx(a,b)}function bN(a,b){return c=a,bo=8,bx((function(){return c}),b);var c}function bO(a,b,c){return d=a,e=b,bo=6,void bw((function(){"function"==typeof d?d(e()):d&&(d.current=e())}),null==(f=c)?f:f.concat(d));var d,e,f}var bP=["auto","lazy","eager","unload"],bQ={auto:0,lazy:1,eager:2,unload:3};function bR(a,b){const c=bQ[a]||0,d=bQ[b]||0,e=Math.max(c,d);return bP[e]}function bS(){}function bT(a,b=null){let c=!1;const d=()=>{c=!1,a()};return a=>{c||(c=!0,(a||b)(d))}}function bU(a){const b=Object.getOwnPropertyDescriptor(a,"message");if(null!=b&&b.writable)return a;const{message:c,stack:d}=a,e=new Error(c);for(const b in a)e[b]=a[b];return e.stack=d,e}function bV(a){let b=null,c="";for(var d,e=i(arguments,!0);!(d=e()).done;){const a=d.value;a instanceof Error&&!b?b=bU(a):(c&&(c+=" "),c+=a)}return b?c&&(b.message=c+": "+b.message):b=new Error(c),b}function bW(a){var b,c;null===(b=(c=self).__AMP_REPORT_ERROR)||void 0===b||b.call(c,a)}function bX(a){const b=bV.apply(null,arguments);setTimeout((()=>{throw bW(b),b}))}function bY(a,...b){try{return a.apply(null,b)}catch(a){bX(a)}}function bZ(a,b,c,d=!0,e=!0){if(e){const e=b(a,c,d);e&&bZ(a,b,c,e,!1)}else if(a.children)for(var f,g=i(a.children,!0);!(f=g()).done;)bZ(f.value,b,c,d,!0)}bS.prototype.key,bS.prototype.type,bS.prototype.deps,bS.prototype.recursive,bS.prototype.compute,bS.prototype.defaultValue;var b$=[],b_=()=>{};function ca(){}function cb(){}function cc(a,b){return a.values.scan(b)}function cd(a,b,c){return a.values.scanAll(c)}function ce(a,b){return a.values.has(b)}function cf(a){return!!a.recursive}function cg(a){return void 0!==a}ca.prototype.values,ca.prototype.setters,cb.prototype.prop,cb.prototype.subscribers,cb.prototype.value,cb.prototype.pending,cb.prototype.counter,cb.prototype.depValues,cb.prototype.parentValue,cb.prototype.parentContextNode,cb.prototype.ping,cb.prototype.pingDep,cb.prototype.pingParent;var ch=class{static get(a){let b=a.__AMP_NODE;return b||(b=new ch(a,null),a.__AMP_NODE=b),b}static closest(a,b=!0){let c=a;for(;c;){if(c!=a||b){if(c.__AMP_NODE)return c.__AMP_NODE;const{nodeType:a}=c;if(9==a||11==a||1==a&&r(c).tagName.startsWith("AMP-"))return ch.get(c)}c=c.__AMP_ASSIGNED_SLOT||c.assignedSlot||c.parentNode}return null}static assignSlot(a,b){a.__AMP_ASSIGNED_SLOT!=b&&(a.__AMP_ASSIGNED_SLOT=b,ci(a))}static unassignSlot(a,b){a.__AMP_ASSIGNED_SLOT==b&&(a.__AMP_ASSIGNED_SLOT=void 0,ci(a))}static rediscoverChildren(a){var b;const c=a.__AMP_NODE;null==c||null===(b=c.children)||void 0===b||b.forEach(cj)}constructor(a,b){this.node=a,this.name=b,this.isRoot=9==a.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(a){this.g=a,this.h=null,this.i=null,this.j=bT(this.j.bind(this),setTimeout)}set(a,b,c){q(b),q(void 0!==c);const{key:d}=a,e=this.h||(this.h=new Map);let f=e.get(d);f||(f={values:[],setters:[]},e.set(d,f));const g=f.setters.indexOf(b),h=-1==g||f.values[g]!==c;-1==g?(f.setters.push(b),f.values.push(c)):h&&(f.values[g]=c),h&&(this.ping(a,!1),cf(a)&&bZ(this.g,cc,a,!0,!1))}remove(a,b){q(b);const{key:c}=a,d=this.h,e=null==d?void 0:d.get(c);if(e){const f=e.setters.indexOf(b);-1!=f&&(e.setters.splice(f,1),e.values.splice(f,1),0==e.setters.length&&d.delete(c),bZ(this.g,cc,a))}}has(a){var b;return!(null===(b=this.h)||void 0===b||!b.has(a.key))}subscribe(a,b){const c=this.k(a);if(!f(c.subscribers,b))return;const d=c.value;cg(d)&&this.m()&&b(d)}unsubscribe(a,b){var c;const d=null===(c=this.i)||void 0===c?void 0:c.get(a.key);d&&g(d.subscribers,b)&&this.o(d)}ping(a,b){var c,d;null===(c=this.i)||void 0===c||null===(d=c.get(a.key))||void 0===d||d.ping(b)}parentUpdated(){this.m()&&bZ(this.g,cd,void 0,b$)}rootUpdated(){const a=this.i;a&&(this.m()?a.forEach((a=>{const{prop:b}=a;this.ping(b,!0)})):a.forEach((a=>{const{prop:b}=a;cf(b)&&this.p(a,null)})))}scan(a){return this.ping(a,!0),!!cf(a)&&!this.has(a)}scanAll(a){let b=null;const c=this.i;return c&&c.forEach((c=>{const{prop:d}=c,{key:e}=d;-1==(b||a).indexOf(e)&&(this.ping(d,!0),this.g.children&&this.has(d)&&(b||(b=a.slice(0)),b.push(e)))})),b||a}m(){return!!this.g.root}k(a){const{deps:b,key:c}=a,d=this.i||(this.i=new Map);let e=d.get(c);return e||(e={prop:a,subscribers:[],value:void 0,pending:0,counter:0,depValues:b.length>0?b.map(b_):b$,parentValue:void 0,parentContextNode:null,ping:a=>{if(this.m()){const b=a?2:1;e.pending=Math.max(e.pending,b),this.j()}},pingDep:b.length>0?b.map(((a,b)=>a=>{e.depValues[b]=a,e.ping()})):b$,pingParent:cf(a)?a=>{e.parentValue=a,e.ping()}:null},d.set(c,e),b.forEach(((a,b)=>this.subscribe(a,e.pingDep[b]))),e.ping(!1)),e}o(a){if(a.subscribers.length>0)return;const{pingDep:b,prop:c}=a,{deps:d,key:e}=c;this.i.delete(e),this.p(a,null),d.length>0&&d.forEach(((a,c)=>{this.unsubscribe(a,b[c])}))}j(){if(!this.m())return;const a=this.i;if(!a)return;let b;a.forEach((a=>{a.counter=0}));do{b=0,a.forEach((a=>{if(0!=a.pending){const{key:c}=a.prop;if(a.counter++,a.counter>5)return bX(`cyclical prop: ${c}`),void(a.pending=0);b++,this.q(a)}}))}while(b>0)}q(a){const b=2==a.pending;let c;try{c=this.u(a,b)}catch(a){bX(a)}a.pending=0,this.v(a,c)}v(a,b){const{prop:c,value:d}=a,{key:e}=c,f=this.i;if(d===b||a!==(null==f?void 0:f.get(e))||!this.m())return;a.value=b;const{subscribers:g}=a;for(var h,j=i(g,!0);!(h=j()).done;)(0,h.value)(b)}u(a,b){var c,d;q(this.m());const{depValues:e,prop:f}=a,{compute:g,defaultValue:h,key:i}=f,j=null===(c=this.h)||void 0===c||null===(d=c.get(i))||void 0===d?void 0:d.values,k=function(a,b){const{compute:c,recursive:d}=a;return"function"==typeof d?!b||d(b):!(d&&b&&!c)&&d}(f,j);if(b||k!=Boolean(a.parentContextNode)){const b=k?function(a,b,c,d=!0){for(let e=d?a:a.parent;e;e=e.parent)if(b(e,c))return e;return null}(this.g,ce,f,!1):null;this.p(a,b)}const l=cg(a.parentValue)?a.parentValue:k&&!a.parentContextNode?h:void 0;let m;if(e.every(cg)&&(!k||cg(l))){const{node:a}=this.g;j&&!g?m=j[0]:cf(f)?j||e.length>0?m=function(a,b,c,d,e){switch(e.length){case 0:return a(b,c,d);case 1:return a(b,c,d,e[0]);case 2:return a(b,c,d,e[0],e[1]);case 3:return a(b,c,d,e[0],e[1],e[2]);default:return a.apply(null,[b,c,d].concat(e))}}(g,a,j||b$,l,e):cg(l)&&(m=l):g&&(m=function(a,b,c,d){switch(d.length){case 0:return a(b,c);case 1:return a(b,c,d[0]);case 2:return a(b,c,d[0],d[1]);case 3:return a(b,c,d[0],d[1],d[2]);default:return a.apply(null,[b,c].concat(d))}}(g,a,j||b$,e))}return m}p(a,b){const{parentContextNode:c,pingParent:d,prop:e}=a;b!=c&&(a.parentContextNode=b,a.parentValue=void 0,c&&c.values.unsubscribe(e,q(d)),b&&b.values.subscribe(e,q(d)))}}(this),this.A=null,this.B=!1,this.C=bT(this.D.bind(this),setTimeout),11==a.nodeType&&a.addEventListener("slotchange",(a=>{var b,c;const d=a.target;d.assignedNodes().forEach(ci),null===(b=ch.closest(d))||void 0===b||null===(c=b.children)||void 0===c||c.forEach(cj)})),this.discover()}discover(){this.isDiscoverable()?this.C():this.name&&this.children&&this.children.forEach(cj)}isDiscoverable(){return!this.isRoot&&!this.B}setParent(a){const b=null!=a&&a.nodeType?ch.get(a):a;this.F(b,null!=a)}setIsRoot(a){var b,c;this.isRoot=a;const d=a?this:null!==(b=null===(c=this.parent)||void 0===c?void 0:c.root)&&void 0!==b?b:null;this.updateRoot(d)}updateRoot(a){q(!a||a.isRoot);const b=this.root;var c,d;a!=b&&(this.root=a,this.values.rootUpdated(),null===(c=this.A)||void 0===c||c.forEach((a=>a.rootUpdated())),null===(d=this.children)||void 0===d||d.forEach((b=>b.updateRoot(a))))}addGroup(a,b,c){const d=this.groups||(this.groups=new Map),{children:e,node:f}=this,g=new ch(f,a);return d.set(a,{cn:g,match:b,weight:c}),g.setParent(this),null==e||e.forEach(cj),g}group(a){var b,c;return(null===(b=this.groups)||void 0===b||null===(c=b.get(a))||void 0===c?void 0:c.cn)||null}findGroup(a){const{groups:b}=this;if(!b)return null;let c=null,d=Number.NEGATIVE_INFINITY;return b.forEach((({cn:b,match:e,weight:f})=>{e(a,this.node)&&f>d&&(c=b,d=f)})),c}subscribe(a,b,c,d){const e=this.A||(this.A=new Map);let f=e.get(a);f||(f=new b(this,c,d),e.set(a,f))}unsubscribe(a){const b=this.A,c=null==b?void 0:b.get(a);c&&(c.dispose(),b.delete(a))}D(){if(!this.isDiscoverable())return;const a=ch.closest(this.node,!1),b=(null==a?void 0:a.findGroup(this.node))||a;this.F(b,!1)}F(a,b){var c;this.B=b;const d=this.parent;if(a!=d){if(this.parent=a,null!=d&&d.children&&g(q(d.children),this),a){const b=a.children||(a.children=[]);f(b,this);for(var e,h=i(b,!0);!(e=h()).done;){const a=e.value;a!=this&&a.isDiscoverable()&&a.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(c=null==a?void 0:a.root)&&void 0!==c?c:null)}};function ci(a){!function(a,b,c=!0){const d=ch.closest(a,c);if(d)if(d.node==a)b(d);else if(d.children)for(var e,f=i(d.children,!0);!(e=f()).done;){const c=e.value;a.contains(c.node)&&b(c)}}(a,cj)}function cj(a){a.discover()}var ck=[];function cl(a,b){const d=c({key:a,type:null,deps:ck,recursive:!1,compute:null,defaultValue:void 0},b);return q(0==d.deps.length||d.compute),d}var cm=[],cn=()=>{};function co(a,b,c){b=e(b);const d=c;ch.get(a).subscribe(d,cq,c,b)}var cp,cq=class{constructor(a,b,c){if(this.contextNode=a,this.G=b,this.H=c,this.I=c.length>0?c.map(cn):cm,this.J=c.length>0?c.map(((a,b)=>a=>{this.I[b]=a,this.K()})):cm,this.L=!1,this.M=null,this.K=bT(this.K.bind(this),setTimeout),c.length>0){const{values:a}=this.contextNode;c.forEach(((b,c)=>a.subscribe(b,this.J[c])))}this.m()&&this.K()}dispose(){if(this.H.length>0){const{values:a}=this.contextNode;this.H.forEach(((b,c)=>a.unsubscribe(b,this.J[c])))}this.N()}rootUpdated(){const a=this.m();this.N(),a&&this.K()}m(){return!!this.contextNode.root}K(){this.m()&&(this.I.every(cr)?(this.L=!0,this.O()):this.L&&(this.L=!1,this.N()))}O(){this.M&&(bY(this.M),this.M=null);const a=this.G;this.M=function(a,b){switch(b.length){case 0:return a();case 1:return a(b[0]);case 2:return a(b[0],b[1]);case 3:return a(b[0],b[1],b[2]);default:return a.apply(null,b)}}(a,this.I)}N(){this.M&&(bY(this.M),this.M=null)}};function cr(a){return void 0!==a}function cs(a){ch.get(a).discover()}function ct(a,b,c,d){ch.get(a).values.set(b,c,d)}function cu(a,b,c){ch.get(a).values.remove(b,c)}function cv(a,b){return[{query:a.matchMedia(b),value:"1"},{query:null,value:""}]}function cw(a,b){return b.split(",").map((b=>{if(0==(b=b.replace(/\s+/g," ").trim()).length)return;let c,d,e;if(")"==b.charAt(b.length-1)){let a=1;for(e=b.length-2;e>=0;e--){const c=b.charAt(e);if("("==c?a--:")"==c&&a++,0==a)break}const c=e-1;if(e>0)for(e--;e>=0;e--){const a=b.charAt(e);if(!("%"==a||"-"==a||"_"==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}if(e>=c)return null}else for(e=b.length-2;e>=0;e--){const a=b.charAt(e);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return e>=0?(c=b.substring(0,e+1).trim(),d=b.substring(e+1).trim()):(d=b,c=void 0),d?{query:c?a.matchMedia(c):null,value:d}:null})).filter(Boolean)}function cx(a,b,c){for(let d=0;d<a.length;d++){const{query:e}=a[d];e&&(void 0!==e.onchange?e.onchange=c?b:null:c?e.addListener(b):e.removeListener(b))}}var cy=["Webkit","webkit","Moz","moz","ms","O","o"],cz={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function cA(a,b,c){if(cE(b))return b;cp||(cp=l());let d=cp[b];if(!d||c){if(d=b,void 0===a[b]){const c=function(a){return a.charAt(0).toUpperCase()+a.slice(1)}(b),e=function(a,b){for(let c=0;c<cy.length;c++){const d=cy[c]+b;if(void 0!==a[d])return d}return""}(a,c);void 0!==a[e]&&(d=e)}c||(cp[b]=d)}return d}function cB(a,b,c,d,e){const f=cA(a.style,b,e);if(!f)return;const g=d?c+d:c;cE(f)?a.style.setProperty(f,g):a.style[f]=g}function cC(a,b,c){const d=cA(a.style,b,c);if(d)return cE(d)?a.style.getPropertyValue(d):a.style[d]}function cD(a,b){for(const c in b)cB(a,c,b[c])}function cE(a){return a.startsWith("--")}var cF,cG,cH=/vertical/,cI=new WeakMap,cJ=new WeakMap,cK=new WeakMap;function cL(a){let b=cI.get(a);return b||(b=new a.ResizeObserver(cM),cI.set(a,b)),b}function cM(a){const b=new Set;for(let c=a.length-1;c>=0;c--){const d=a[c],{target:e}=d;if(b.has(e))continue;b.add(e);const f=cJ.get(e);if(f){cK.set(e,d);for(let a=0;a<f.length;a++){const{callback:b,type:c}=f[a];cN(c,b,d)}}}}function cN(a,b,c){if(0==a){const{contentRect:a}=c,{height:d,width:e}=a;bY(b,{width:e,height:d})}else if(1==a){const{borderBoxSize:a}=c;let d;if(a)d=a.length>0?a[0]:{inlineSize:0,blockSize:0};else{const{target:a}=c,b=s(a),e=cH.test(function(a,b){return a.getComputedStyle(b)||cz}(b,a)["writing-mode"]),{offsetHeight:f,offsetWidth:g}=a;let h,i;e?(i=g,h=f):(h=g,i=f),d={inlineSize:h,blockSize:i}}bY(b,d)}}if("undefined"!=typeof AMP&&.BaseElement)cF=AMP.BaseElement;else{const a=HTMLElement;class b{constructor(a){this.element=a,this.win=s(a)}static"CustomElement"(b){return class extends a{constructor(){super(),this.implementation=new b(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(a){D().then(a)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}cF=b}function cO(){return cG||(cG=bG({renderable:!0,playable:!0,loading:"auto"}))}function cP({children:a,loading:b="auto",notify:c,playable:d=!0,renderable:e=!0}){const f=cQ(),g=e&&f.renderable,h=g&&d&&f.playable,i=bR(g?"auto":"lazy",bR(b,f.loading)),j=c||f.notify,k=bM((()=>({renderable:g,playable:h,loading:i,notify:j})),[g,h,i,j]);return bE(cO().Provider,{children:a,value:k})}function cQ(){return bL(cO())}var cR=cl("CanRender",{defaultValue:!0,recursive:a=>a.reduce(cU),compute:(a,b,c)=>c&&b.reduce(cU,!0)||!1}),cS=cl("CanPlay",{defaultValue:!0,recursive:a=>a.reduce(cU),deps:[cR],compute:(a,b,c,d)=>d&&c&&b.reduce(cU,!0)||!1}),cT=cl("Loading",{defaultValue:"auto",recursive:!0,deps:[cR],compute:(a,b,c,d)=>bR(d?"auto":"lazy",bR(c||"auto",b.reduce(bR,"auto")))}),cU=(a,b)=>a&&b;function cV(){let a=0;return()=>String(++a)}var cW=a=>a.ensureLoaded(),cX=a=>a.pause(),cY=a=>a.unmount();function cZ(a,b=!0){da(a,b,!1,cW)}function c$(a,b=!0){da(a,b,!0,cX)}function c_(a,b=!0){da(a,b,!0,cY)}function da(a,b,c,d){const f=e(a);for(let a=0;a<f.length;a++)db(f[a],b,c,d)}function db(a,b,c,d){if(b&&a.classList.contains("i-amphtml-element")){const b=a;if(bY(d,b),!c){const a=b.getPlaceholder();return void(a&&db(a,!0,!1,d))}}const e=a.getElementsByClassName("i-amphtml-element");let f=null;for(let a=0;a<e.length;a++){const b=e[a];if(c)bY(d,b);else{f=f||[];let a=!1;for(let c=0;c<f.length;c++)if(f[c].contains(b)){a=!0;break}a||(f.push(b),bY(d,b))}}}var dc={},dd=new WeakMap;function de(a,b,d,e=!1){if(a.setAttribute("slot",b),!e)return bE(df,c(c({},d||dc),{},{name:b}));const f=dd.get(a);if(f&&function(a,b){if(null==a||null==b)return a===b;for(const c in a)if(a[c]!==b[c])return!1;for(const c in b)if(b[c]!==a[c])return!1;return!0}(f.oldProps,d))return f.component;function g(a){return bE(df,c(c({},d||dc),{},{name:b},a))}return dd.set(a,{oldProps:d,component:g}),g}function df(a){const b=bI(null);return dg(b,a),bJ((()=>{a.postRender&&a.postRender()})),bE("slot",c(c({},a),{},{ref:b}))}function dg(a,b){const{"loading":c}=b||dc,d=cQ();bK((()=>{const b=a.current;return q(p(b)),ct(b,cR,df,d.renderable),ct(b,cS,df,d.playable),ct(b,cT,df,d.loading),d.playable||dh(b,c$,!0),()=>{var a;cu(b,cR,df),cu(b,cS,df),cu(b,cT,df),a=b,ch.rediscoverChildren(a)}}),[a,d]),bK((()=>{const b=a.current;return q(p(b)),"lazy"!=c&&dh(b,cZ,!0),()=>{dh(b,c_,!1)}}),[a,c])}function dh(a,b,c){const d=a.assignedElements?a.assignedElements():a;if(Array.isArray(d)&&0==d.length)return;if(!c)return void b(d);const e=a.ownerDocument.defaultView;e&&(e.requestIdleCallback||e.setTimeout)((()=>b(d)))}var di={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},dj=cV();function dk(a,b){return Object.values(a).some(b)}var dl=a=>"string"==typeof a||!!a.selector,dm=a=>3===a.nodeType&&0===a.nodeValue.trim().length;function dn(a,b,d,e,f){const{"layoutSizeDefined":g,"lightDomTag":h,"props":i}=a;f&&f.start();const j=c(c({},e),{},{ref:d});return h&&(j["i-amphtml-rendered"]=!0,j.__AMP_RENDERED=!0,j.as=h),g&&(a.usesShadowDom?j.style=di:j.class="i-amphtml-fill-content"),dp(a,j,i,b,f),f&&f.complete(),j}function dp(a,b,c,d,e){if(dk(c,dl)){const f=y(d);for(let d=0;d<f.length;d++){const g=f[d],h=dr(g,c);if(!h)continue;const i=c[h],{as:j=!1,single:k,name:l=h,clone:m,props:n={}}=i;q(m||a.usesShadowDom);const o={};if(dp(a,o,n,g,e),k)b[l]=de(g,g.getAttribute("slot")||`i-amphtml-${l}`,o,j);else{const a=b[l]||(b[l]=[]);q(!j),a.push(m?dq(g):de(g,g.getAttribute("slot")||`i-amphtml-${l}-${dj()}`,o))}}}for(const g in c){const h=c[g];let i;if(q(!!h.attr+!!h.attrs+!!h.attrMatches+!!h.selector+!!h.passthrough+!!h.passthroughNonEmpty<=1),h.passthrough?(q(a.usesShadowDom),i=[bE(df,{loading:"lazy"})]):h.passthroughNonEmpty?(q(a.usesShadowDom),i=y(d).every(dm)?null:[bE(df,{loading:"lazy"})]):h.attr?(i=d.getAttribute(h.attr),h.media&&null!=i&&(i=e.resolveListQuery(String(i)))):h.parseAttrs&&(q(h.attrs||h.attrMatches),i=h.parseAttrs(d)),null==i)null!=h.default&&(b[g]=h.default);else{const a="number"==h.type?parseFloat(i):"boolean"==h.type?null==(f=i)?void 0:"false"!==f:i;b[g]=a}}var f}function dq(a){const b={"key":a},{attributes:c,localName:d}=a,{length:e}=c;for(let a=0;a<e;a++){const{name:d,value:e}=c[a];b[d]=e}return bE(d,b)}function dr(a,b){for(const c in b){const d=b[c];if(w(a,"string"==typeof d?d:d.selector))return c}return null}var ds=self.AMP_CONFIG||{},dt=("string"==typeof ds.thirdPartyFrameRegex?new RegExp(ds.thirdPartyFrameRegex):ds.thirdPartyFrameRegex,("string"==typeof ds.cdnProxyRegex?new RegExp(ds.cdnProxyRegex):ds.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function du(a){if(!self.document||!self.document.head)return null;if(self.location&&dt.test(self.location.origin))return null;const b=self.document.head.querySelector(`meta[name="${a}"]`);return b&&b.getAttribute("content")||null}ds.thirdPartyUrl,ds.thirdPartyFrameHost,ds.cdnUrl||du("runtime-host"),ds.errorReportingUrl,ds.betaErrorReportingUrl,ds.localDev,ds.geoApiUrl||du("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var dv=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+dv,"gim"),new RegExp("(-shadowcsscontext"+dv,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var dw={childList:!0},dx={childList:!0,characterData:!0},dy={childList:!0},dz=m({"style":"display: contents; background: inherit;","part":"c"}),dA=m({"name":"i-amphtml-svc"}),dB=m({"i-amphtml-rendered":""}),dC=()=>!0,dD=a=>!!a.media,dE=a=>!(!a.passthrough&&!a.passthroughNonEmpty),dF=class extends cF{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor(a){super(a),this.P=m({"loading":"auto","onReadyState":(a,b)=>{this.R(a,b)},"onPlayingState":a=>{this.S(a)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.T={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.U=!1,this.V=null,this.W=null,this.X=a=>{null!==a&&(this.V?this.Y(a):this.Z(a)),this.W=a,this.$()},this._=null,this.ba=null,this.bb=null,this.bc=!1,this.bd=null,this.be=()=>{this.bc=!1,this.bf()},this.bg=!1,this.bh=!1,this.observer=null,this.bi=new class{constructor(a){this.bj=a,this.bk=!1,this.bl=!1,this.bm=this.bm.bind(this)}updatePlaying(a){a!==this.bk&&(this.bk=a,a?(this.bl=!1,function(a,b){!function(a,b,c){const d=a.ownerDocument.defaultView;if(!d)return;let e=cJ.get(a);if(e||(e=[],cJ.set(a,e),cL(d).observe(a)),!e.some((a=>a.callback===c&&1===a.type))){e.push({type:1,callback:c});const b=cK.get(a);b&&setTimeout((()=>cN(1,c,b)))}}(a,0,b)}(this.bj,this.bm)):function(a,b){!function(a,b,c){const d=cJ.get(a);if(d&&(function(a,b){const d=[];let e=0;for(let b=0;b<a.length;b++){const g=a[b];(f=g).callback===c&&1===f.type?d.push(g):(e<b&&(a[e]=g),e++)}var f;e<a.length&&(a.length=e)}(d),0==d.length)){cJ.delete(a),cK.delete(a);const b=a.ownerDocument.defaultView;b&&cL(b).unobserve(a)}}(a,0,b)}(this.bj,this.bm))}bm({blockSize:a,inlineSize:b}){const c=b>0&&a>0;if(c===this.bl)return;this.bl=c;const d=this.bj;c||d.pause()}}(a),this.bn=null}init(){}isLayoutSupported(a){return this.constructor.layoutSizeDefined?function(a){return"fixed"==a||"fixed-height"==a||"responsive"==a||"fill"==a||"flex-item"==a||"fluid"==a||"intrinsic"==a}(a)||"container"==a:super.isLayoutSupported(a)}buildCallback(){const a=this.constructor;this.observer=new MutationObserver((a=>this.bo(a)));const b=a.props,d=dk(b,dl)?dw:null,e=dk(b,dE)?dx:null,f=a.usesTemplate?dy:null;this.observer.observe(this.element,c(c(c({attributes:!0},d),e),f)),this.bn=dk(b,dD)?new class{constructor(a,b){this.bp=a,this.bq=b,this.br={},this.bs=null}start(){this.bs=this.br,this.br={}}resolveMatchQuery(a){return"1"===this.bt(a,cv,"1")}resolveListQuery(a){return this.bt(a,cw,"")}complete(){for(const a in this.bs)a in this.br||cx(this.bs[a],this.bq,!1);this.bs=null}dispose(){for(const a in this.br)cx(this.br[a],this.bq,!1);this.br={}}bt(a,b,c){if(!a.trim())return c;let d=this.br[a]||this.bs[a];return d||(d=b(this.bp,a),cx(d,this.bq,!0)),this.br[a]=d,function(a){for(let b=0;b<a.length;b++){const{query:c,value:d}=a[b];if(!c||c.matches)return d}return""}(d)}}(this.win,(()=>this.bu())):null;const g=a.staticProps,h=this.init();Object.assign(this.P,g,h),this.checkPropsPostMutations(),co(this.element,[],(()=>()=>{this.bh=!1,this.bb&&bF(null,this.bb)})),co(this.element,[cR,cS,cT],((a,b,c)=>{this.T.renderable=a,this.T.playable=b,this.T.loading=c,this.bh=!0,this.bu()}));const i=a.useContexts;var j;return 0!=i.length&&co(this.element,i,((...a)=>{this.ba=a,this.bu()})),this.bd=new O,this.bu(),a.loadable&&(null===(j=this.setReadyState)||void 0===j||j.call(this,"loading")),this.$(),this.bd.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(m({"loading":"eager"})),this.U=!0)}mountCallback(){cs(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.U=!1)}unmountCallback(){var a;cs(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.S(!1),null===(a=this.bn)||void 0===a||a.dispose()}mutatedAttributesCallback(){this.bb&&this.bu()}attemptChangeHeight(a){return super.attemptChangeHeight(a).catch((a=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),a}))}mutateProps(a){Object.assign(this.P,a),this.bu()}api(){return q(this.W)}registerApiAction(a,b,c=2){var d;null===(d=this.registerAction)||void 0===d||d.call(this,a,(a=>b(this.api(),a)),c)}mutationObserverCallback(a){}checkPropsPostMutations(){}updatePropsForRendering(a){}isReady(a){return!0}bo(a){const b=this.constructor;this.mutationObserverCallback(a);const c=a.some((a=>function(a,b){const{type:c}=b;if("attributes"==c){if(a.usesTemplate&&"template"==b.attributeName)return!0;const c=a.props;for(const a in c){var d;const e=c[a];if(b.attributeName==e.attr||e.attrs&&e.attrs.includes(q(b.attributeName))||null!==(d=e.attrMatches)&&void 0!==d&&d.call(e,b.attributeName))return!0}return!1}return"childList"==c&&(dH(b.addedNodes)||dH(b.removedNodes))}(b,a)));c&&(this.checkPropsPostMutations(),this.bu())}bu(){this.bc||(this.bc=!0,this.mutateElement(this.be))}$(){const{W:a}=this,b=null==a?void 0:a.readyState;b&&b!==this.element.readyState&&this.R(b)}R(a,b){var c;null===(c=this.setReadyState)||void 0===c||c.call(this,a,b),this.constructor.unloadOnPause&&this.S("complete"==a),this.U&&(this.U=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var a,b,c;null===(a=this.toggleLoading)||void 0===a||a.call(this,!1),null===(b=this.toggleFallback)||void 0===b||b.call(this,!1),null===(c=this.togglePlaceholder)||void 0===c||c.call(this,!1)}handleOnLoading(){var a;null===(a=this.toggleLoading)||void 0===a||a.call(this,!0)}handleOnError(){var a,b,c,d,e;null===(a=this.toggleLoading)||void 0===a||a.call(this,!1),null!==(b=this.getFallback)&&void 0!==b&&b.call(this)?(null===(c=this.toggleFallback)||void 0===c||c.call(this,!0),null===(d=this.togglePlaceholder)||void 0===d||d.call(this,!1)):null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!0)}bf(){if(!this.bh)return;const a=this.constructor,b=a.usesShadowDom,d=b?null:a.lightDomTag,e=a.detached;if(!this.bb){const c=this.win.document;if(b){q(!e);let{shadowRoot:b}=this.element,d=b&&(n=b,u("c"),v(n,"> c"));if(d)this.bg=!0;else{var f,g,h,i,j,k;b=this.element.attachShadow({mode:"open",delegatesFocus:a.delegatesFocus});const e=a.shadowCss;e&&function(a,b,c){const d=a.ownerDocument,e=d.defaultView;if(void 0!==a.adoptedStyleSheets&&void 0!==e.CSSStyleSheet.prototype.replaceSync){const d=e.__AMP_SHADOW_CSS||(e.__AMP_SHADOW_CSS={});let f=d[b];f||(f=new e.CSSStyleSheet,f.replaceSync(c),d[b]=f),a.adoptedStyleSheets=a.adoptedStyleSheets.concat(f)}else{const e=d.createElement("style");e.setAttribute("data-name",b),e.textContent=c,a.appendChild(e)}}(b,this.element.tagName,e),d=B(c,"c",dz),b.appendChild(d);const l=B(c,"slot",dA);b.appendChild(l),null===(f=this.getPlaceholder)||void 0===f||null===(g=f.call(this))||void 0===g||g.setAttribute("slot","i-amphtml-svc"),null===(h=this.getFallback)||void 0===h||null===(i=h.call(this))||void 0===i||i.setAttribute("slot","i-amphtml-svc"),null===(j=this.getOverflowElement)||void 0===j||null===(k=j.call(this))||void 0===k||k.setAttribute("slot","i-amphtml-svc")}this.bb=d,function(a,b){ch.get(a).setParent(b)}(b,this.element),function(a,b,c,d=0){ch.get(a).addGroup(b,c,d)}(this.element,"unslotted",dC,-1),l=this.element,m=cR,ch.get(l).group("unslotted").values.set(m,this,!1)}else if(d){this.bb=this.element;const b=x(this.bb,"i-amphtml-rendered")||B(c,d,dB);b.__AMP_RENDERED=!0,a.layoutSizeDefined&&b.classList.add("i-amphtml-fill-content"),this.bb.appendChild(b)}else{const a=c.createElement("i-amphtml-c");this.bb=a,a.classList.add("i-amphtml-fill-content"),e||this.element.appendChild(a)}}var l,m,n;const o=a.useContexts,p=this.ba;if(0!=o.length&&null==p)return;const r=dn(a,this.element,this.X,this.P,this.bn);if(this.updatePropsForRendering(r),!this.isReady(r))return;let s=bE(a.Component,r);for(let a=0;a<o.length;a++){const b=o[a].type,c=p[a];c&&(s=bE(b.Provider,{value:c},s))}const t=bE(cP,c({},this.T),s);if(this.bg)this.bg=!1,bn(t,this.bb);else{const a=d?x(this.bb,"i-amphtml-rendered"):null;a&&(a.__AMP_RENDERED=!0),bF(t,this.bb,a)}b||e||this.mutateElement((()=>C(this.element,"amp:dom-update",null))),this.bd&&(this.bd.resolve(),this.bd=null)}getProp(a,b){return c=this.P,d=a,j.call(c,d)?this.P[a]:b;var c,d}getApi(){const a=this.V;return a?Promise.resolve(a):(this._||(this._=new O),this._.promise)}Z(a){const b=l(),c=Object.keys(a);for(let a=0;a<c.length;a++)dG(this,b,c[a]);this.V=b,this._&&(this._.resolve(b),this._=null)}Y(a){}triggerEvent(a,b,c){C(a,b,c)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(m({"loading":"unload"})),this.U=!0;else{var a;const{W:b}=this;null==b||null===(a=b.pause)||void 0===a||a.call(b)}}S(a){this.bi.updatePlaying(a)}};function dG(a,b,c){Object.defineProperty(b,c,{configurable:!0,get:()=>a.W[c],set(b){a.W[c]=b}})}function dH(a){for(let b=0;b<a.length;b++){const c=a[b];if(p(c)){if(c.__AMP_RENDERED||c.tagName.startsWith("I-")||"i-amphtml-svc"==c.getAttribute("slot"))continue;return!0}if(3==c.nodeType)return!0}return!1}function dI(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}dF.Component=function(){q(!1)},dF.staticProps=void 0,dF.useContexts=[],dF.loadable=!1,dF.unloadOnPause=!1,dF.layoutSizeDefined=!1,dF.lightDomTag="",dF.usesTemplate=!1,dF.shadowCss=null,dF.usesShadowDom=!1,dF.detached=!1,dF.delegatesFocus=!1,dF.props={};var dJ,dK=["ref"],dL="undefined"!=typeof Symbol&&(null===(dJ=Symbol.for)||void 0===dJ?void 0:dJ.call(Symbol,"react.forward_ref"))||3911,dM=F.__b;function dN(a){function b(b){const{ref:c}=b,d=dI(b,dK);return a(d,c)}return b.$$typeof=dL,b.render=b,b.prototype.isReactComponent=!0,b.bv=!0,b}function dO(a){return(dO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function dP(a){var b=function(a,b){if("object"!==dO(a)||null===a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,"string");if("object"!==dO(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}(a);return"symbol"===dO(b)?b:String(b)}F.__b=function(a){var b;null!==(b=a.type)&&void 0!==b&&b.bv&&a.ref&&(a.props.ref=a.ref,a.ref=null),null==dM||dM(a)};var dQ=[null,"paint","layout","content","size","size paint","size layout","strict"],dR={"position":"relative","width":"100%","height":"100%"};function dS(a,b,c){a.classList.add("i-amphtml-animating");let d=b();return d.onfinish=d.oncancel=()=>{d=null,c&&c(),a.classList.remove("i-amphtml-animating")},()=>{d&&d.cancel()}}function dT(a){const b=window.innerHeight,c=Math.abs(a)/b*500;return Math.min(Math.max(c,200),500)}dN((function(a,b){let d="class",{as:e="div",children:f,contentAs:g="div",contentClassName:h,contentProps:i,contentRef:j,contentStyle:k,layout:l=!1,paint:m=!1,size:n=!1,"style":o,wrapperClassName:p,wrapperStyle:q,[d]:r}=a;const s=(n?4:0)+(l?2:0)+(m?1:0);return bE(e,c(c({},dI(a,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",d].map(dP))),{},{ref:b,class:`${r||""} ${p||""}`.trim()||null,style:c(c(c({},o),q),{},{contain:dQ[s]})}),bE(g,c(c({},i),{},{ref:j,class:h,style:c(c({},n&&dR),{},{"overflow":m?"hidden":"visible"},k)}),f))})),dN((function(a,b){let d="class",{as:e="div",children:f,"style":g,wrapperClassName:h,wrapperStyle:i,[d]:j}=a;return bE(e,c(c({},dI(a,["as","children","style","wrapperClassName","wrapperStyle",d].map(dP))),{},{ref:b,class:`${j||""} ${h||""}`.trim()||null,style:c(c({},g),i)}),f)})),new WeakMap,new WeakMap;var dU=["animate","as","children","expandSingleSection","id"],dV=["animate","as","children","expanded","id","onExpandStateChange"],dW=bG({}),dX=bG({}),dY={},dZ={},d$=cV(),d_=()=>String(Math.floor(1e5*Math.random())),ea=dN((function(a,b){let{animate:d=!1,as:e="section",children:f,expandSingleSection:g=!1,id:h}=a,i=dI(a,dU);const[j,k]=bH(dY),l=bI(dZ),[m]=bH(d_),o=h||`a${m}`;bJ((()=>{g&&k((a=>{const b={};let c=0;for(const d in a)b[d]=a[d]&&0==c++;return b}))}),[g]);const p=bN(((a,b,{current:d})=>(k((c=>eb(a,b,c,g))),l.current=c(c({},l.current),{},{[a]:d}),()=>{k((b=>n(b,a))),l.current=n(l.current,a)})),[g]),q=bN(((a,b)=>{k((c=>{const d=null!=b?b:!c[a],e=eb(a,d,c,g);return D().then((()=>{for(const a in c){const b=l.current[a];b&&c[a]!=e[a]&&b(e[a])}})),e}))}),[g]),r=bN(((a,b)=>{var c;return null!==(c=j[a])&&void 0!==c?c:b}),[j]),s=bN((a=>{if(a)a in j&&q(a);else if(!g)for(const a in j)q(a)}),[j,q,g]),t=bN((a=>{if(a)r(a,!0)||q(a);else if(!g)for(const a in j)r(a,!0)||q(a)}),[j,q,r,g]),u=bN((a=>{if(a)r(a,!1)&&q(a);else for(const a in j)r(a,!1)&&q(a)}),[j,q,r]);bO(b,(()=>({toggle:s,expand:t,collapse:u})),[s,u,t]);const v=bM((()=>({registerSection:p,toggleExpanded:q,isExpanded:r,animate:d,prefix:o})),[p,q,r,d,o]);return bE(e,c({id:h},i),bE(dW.Provider,{value:v},f))}));function eb(a,b,d,e){let f;if(e&&b){f={[a]:b};for(const b in d)b!=a&&(f[b]=!1)}else f=c(c({},d),{},{[a]:b});return f}function ec(a){let{animate:b=!1,as:d="section",children:e,expanded:f=!1,id:g,onExpandStateChange:h}=a,i=dI(a,dV);const[j]=bH(d$),k=g||j,[l]=bH(d_),[m,n]=bH(f),[o,p]=bH(null),[q,r]=bH(null),{animate:s,isExpanded:t,prefix:u,registerSection:v,toggleExpanded:w}=bL(dW),x=t?t(k,f):m,y=null!=s?s:b,z=o||`${u||"a"}-content-${k}-${l}`,A=q||`${u||"a"}-header-${k}-${l}`,B=bI(null);B.current=h,bK((()=>{if(v)return v(k,f,B)}),[v,k,f]);const C=bN((a=>{w?w(k,a):n((b=>{const c=null!=a?a:!b;return D().then((()=>{const a=B.current;a&&a(c)})),c}))}),[k,w]),E=bM((()=>({animate:y,contentId:z,headerId:A,expanded:x,toggleHandler:C,setContentId:p,setHeaderId:r})),[y,z,A,x,C]);return bE(d,c({},i),bE(dX.Provider,{value:E},e))}function ed(a){let b="class",d="tabIndex",{as:e="div",children:f,id:g,role:h="button",[b]:i="",[d]:j=0}=a,k=dI(a,["as","children","id","role",b,d].map(dP));const{contentId:l,expanded:m,headerId:n,setHeaderId:o,toggleHandler:p}=bL(dX);return bK((()=>{o&&o(g)}),[o,g]),bE(e,c(c({},k),{},{id:n,role:h,class:`${i} section-child-00fce3c header-00fce3c`,tabIndex:j,"aria-controls":l,onClick:()=>p(),"aria-expanded":String(m)}),f)}function ee(a){let b="class",{as:d="div",children:e,id:f,role:g="region",[b]:h=""}=a,i=dI(a,["as","children","id","role",b].map(dP));const j=bI(null),k=bI(!1),{animate:l,contentId:m,expanded:n,headerId:o,setContentId:p}=bL(dX);return bJ((()=>(k.current=!0,()=>k.current=!1)),[]),bK((()=>{p&&p(f)}),[p,f]),bK((()=>{const a=k.current,b=j.current;if(l&&a&&b&&b.animate)return n?function(a){return dS(a,(()=>{const b=cC(a,"height"),c=cC(a,"opacity"),d=cC(a,"overflowY");cD(a,{height:0,opacity:0,overflowY:"auto"});const e=a.scrollHeight;cD(a,{height:b,opacity:c,overflowY:d});const f=dT(e);return a.animate([{height:0,opacity:0,overflowY:"hidden"},{height:e+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:f})}))}(b):function(a){return dS(a,(()=>{const b=a.offsetHeight,c=dT(b);return a.animate([{height:b+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:c})}))}(b)}),[n,l]),bE(cP,{renderable:n},bE(d,c(c({},i),{},{ref:j,class:h+" section-child-00fce3c"+(n?"":" content-hidden-00fce3c"),id:m,"aria-labelledby":o,role:g}),e))}ea.displayName="Accordion";var ef=class extends dF{init(){const a=a=>b=>{var c;!function(a,b,c){const d=a.hasAttribute(b),e=void 0!==c?c:!d;e!==d&&(e?a.setAttribute(b,""):a.removeAttribute(b))}(a,"expanded",b),null===(c=a.__AMP_PR)||void 0===c||c.call(a),this.triggerEvent(a,b?"expand":"collapse")},{element:b}=this,c=new MutationObserver((()=>{this.mutateProps(eg(b,c,a))}));c.observe(b,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":d}=eg(b,c,a);return m({"children":d})}};function eg(a,b,d){var e;const f=(g=a,h="section",u(h),"> section",(e=g.querySelectorAll(t("> section",":scope")))?Array.prototype.slice.call(e):[]).map((a=>{a.__AMP_PR||(a.__AMP_PR=()=>b.takeRecords());const e=o(a,"__AMP_H_SHIM",ei),f=o(a,"__AMP_C_SHIM",ek),g=o(a,"__AMP_EXPAND_STATE_SHIM",d),h=m({"key":a,"expanded":a.hasAttribute("expanded"),"id":a.getAttribute("id"),"onExpandStateChange":g}),i=m({"as":e,"id":a.firstElementChild.getAttribute("id"),"role":a.firstElementChild.getAttribute("role")||void 0}),j=m({"as":f,"id":a.lastElementChild.getAttribute("id"),"role":a.lastElementChild.getAttribute("role")||void 0});return bE(ec,c({},h),bE(ed,c({},i)),bE(ee,c({},j)))}));var g,h;return m({"children":f})}function eh(a,{"aria-controls":b,"aria-expanded":c,id:d,onClick:e,role:f}){const g=a.firstElementChild;return bK((()=>{if(g&&e)return g.setAttribute("id",d),g.classList.add("i-amphtml-accordion-header"),g.addEventListener("click",e),g.hasAttribute("tabindex")||g.setAttribute("tabindex",0),g.setAttribute("aria-expanded",c),g.setAttribute("aria-controls",b),g.setAttribute("role",f),a.__AMP_PR&&a.__AMP_PR(),()=>{g.removeEventListener("click",q(e))}}),[a,g,d,f,e,b,c]),bE("header",null)}var ei=a=>eh.bind(null,a);function ej(a,{"aria-labelledby":b,id:c,role:d},e){const f=a.lastElementChild,g=bI();return g.current=f,dg(g),function(a,b){bO(a,(()=>b),[b])}(e,f),bK((()=>{f&&(f.classList.add("i-amphtml-accordion-content"),f.setAttribute("id",c),f.setAttribute("role",d),f.setAttribute("aria-labelledby",b),a.__AMP_PR&&a.__AMP_PR())}),[a,f,c,d,b]),bE("div",null)}var ek=a=>dN(ej.bind(null,a));function el(){customElements.define("bento-accordion",ef.CustomElement(ef))}ef.Component=ea,ef.detached=!0,ef.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{el as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@bentoproject/accordion", | ||
"version": "1.2111060251.9", | ||
"version": "1.2111152338.2", | ||
"description": "Displays content sections that can be collapsed and expanded.", | ||
@@ -5,0 +5,0 @@ "author": "Bento Authors", |
@@ -84,2 +84,61 @@ # Bento Accordion | ||
</bento-accordion> | ||
</body> | ||
</html> | ||
``` | ||
### Interactivity and API usage | ||
Bento components are highly interactive through their API. The `bento-accordion` component API is accessible by including the following script tag in your document: | ||
```javascript | ||
await customElements.whenDefined('bento-accordion'); | ||
const api = await accordion.getApi(); | ||
``` | ||
#### API Example | ||
<!--% example %--> | ||
```html | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script | ||
type="module" | ||
async | ||
src="https://cdn.ampproject.org/bento.mjs" | ||
></script> | ||
<script nomodule src="https://cdn.ampproject.org/bento.js"></script> | ||
<script | ||
type="module" | ||
async | ||
src="https://cdn.ampproject.org/v0/bento-accordion-1.0.mjs" | ||
></script> | ||
<script | ||
nomodule | ||
async | ||
src="https://cdn.ampproject.org/v0/bento-accordion-1.0.js" | ||
></script> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="https://cdn.ampproject.org/v0/bento-accordion-1.0.css" | ||
/> | ||
</head> | ||
<body> | ||
<bento-accordion id="my-accordion"> | ||
<section> | ||
<h2>Section 1</h2> | ||
<div>Content in section 1.</div> | ||
</section> | ||
<section> | ||
<h2>Section 2</h2> | ||
<div>Content in section 2.</div> | ||
</section> | ||
<!-- Expanded on page load due to attribute: --> | ||
<section expanded> | ||
<h2>Section 3</h2> | ||
<div>Content in section 3.</div> | ||
</section> | ||
</bento-accordion> | ||
<script> | ||
@@ -101,11 +160,2 @@ (async () => { | ||
### Interactivity and API usage | ||
Bento enabled components in standalone use are highly interactive through their API. The `bento-accordion` component API is accessible by including the following script tag in your document: | ||
```javascript | ||
await customElements.whenDefined('bento-accordion'); | ||
const api = await accordion.getApi(); | ||
``` | ||
#### Actions | ||
@@ -112,0 +162,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1894579
721