@bentoproject/accordion
Advanced tools
Comparing version 1.2201141909.3 to 1.2201141909.4
@@ -1,1 +0,1 @@ | ||
var n,r=Object.create,t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,a=function(n){return t(n,"__esModule",{value:!0})},c=function(n){return function(n,r,o){if(r&&"object"==typeof r||"function"==typeof r)for(var a,c=i(r),f=0,l=c.length;f<l;f++)a=c[f],u.call(n,a)||"default"===a||t(n,a,{get:function(n){return r[n]}.bind(null,a),enumerable:!(o=e(r,a))||o.enumerable});return n}(a(t(null!=n?r(o(n)):{},"default",n&&n.__esModule&&"default"in n?{get:function(){return n.default},enumerable:!0}:{value:n,enumerable:!0})),n)};function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(n){var r=function(n,r){if("object"!==f(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!==f(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===f(r)?r:String(r)}function v(n,r){(null==r||r>n.length)&&(r=n.length);for(var t=0,e=new Array(r);t<r;t++)e[t]=n[t];return e}function d(){return n||(n=Promise.resolve(void 0))}function b(n,r,t){return r in n?Object.defineProperty(n,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[r]=t,n}function y(n,r){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),t.push.apply(t,e)}return t}function h(n){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?y(Object(t),!0).forEach((function(r){b(n,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))}))}return n}function p(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,r){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var e,i,o=[],u=!0,a=!1;try{for(t=t.call(n);!(u=(e=t.next()).done)&&(o.push(e.value),!r||o.length!==r);u=!0);}catch(n){a=!0,i=n}finally{try{u||null==t.return||t.return()}finally{if(a)throw i}}return o}}(n,r)||function(n,r){if(n){if("string"==typeof n)return v(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(n,r):void 0}}(n,r)||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 s(n,r){if(null==n)return{};var t,e,i={},o=Object.keys(n);for(e=0;e<o.length;e++)t=o[e],r.indexOf(t)>=0||(i[t]=n[t]);return i}!function(n,r){for(var e in a(n),r)t(n,e,{get:r[e],enumerable:!0})}(exports,{BentoAccordion:function(){return Z},BentoAccordionContent:function(){return en},BentoAccordionHeader:function(){return tn},BentoAccordionSection:function(){return rn}});var m=Object.prototype;function g(n,r){return Object.keys(n).reduce((function(t,e){return r.includes(e)||(t[e]=n[e]),t}),{})}m.hasOwnProperty,m.toString,c(require("preact"));var j,O,S=c(require("preact")),w=c(require("preact/hooks")),x=c(require("preact")),A=["ref"],M="undefined"!=typeof Symbol&&(null===(j=Symbol.for)||void 0===j?void 0:j.call(Symbol,"react.forward_ref"))||3911,z=x.options.__b;x.options.__b=function(n){var r;null!==(r=n.type)&&void 0!==r&&r.Wl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==z||z(n)};var I,Y=["auto","lazy","eager","unload"],C=(b(O={},"auto",0),b(O,"lazy",1),b(O,"eager",2),b(O,"unload",3),O);function E(n,r){var t=C[n]||0,e=C[r]||0,i=Math.max(t,e);return Y[i]}function k(){return I||(I=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}))}function q(n){var r=n.children,t=n.loading,e=void 0===t?"auto":t,i=n.notify,o=n.playable,u=void 0===o||o,a=n.renderable,c=void 0===a||a,f=function(){var n=k();return(0,w.useContext)(n)}(),l=c&&f.renderable,v=l&&u&&f.playable,d=E(l?"auto":"lazy",E(e,f.loading)),b=i||f.notify,y=(0,w.useMemo)((function(){return{renderable:l,playable:v,loading:d,notify:b}}),[l,v,d,b]),h=k();return S.createElement(h.Provider,{children:r,value:y})}function B(n){var r,t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null!==(r=null!==(t=n.tabindex)&&void 0!==t?t:n.tabIndex)&&void 0!==r?r:e}Array.isArray;var H,_=["Webkit","webkit","Moz","moz","ms","O","o"];function P(n,r,t){if($(r))return r;var e;H||(e=Object.create(null),H=e);var i=H[r];if(!i||t){if(i=r,void 0===n[r]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(r),u=function(n,r){for(var t=0;t<_.length;t++){var e=_[t]+r;if(void 0!==n[e])return e}return""}(n,o);void 0!==n[u]&&(i=u)}t||(H[r]=i)}return i}function T(n,r,t,e,i){var o=P(n.style,r,i);if(o){var u=e?t+e:t;$(o)?n.style.setProperty(o,u):n.style[o]=u}}function U(n,r,t){var e=P(n.style,r,t);if(e)return $(e)?n.style.getPropertyValue(e):n.style[e]}function W(n,r){for(var t in r)T(n,t,r[t])}function $(n){return n.startsWith("--")}function D(n,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var e=r();return e.onfinish=e.oncancel=function(){e=null,t&&t(),n.classList.remove("i-amphtml-animating")},function(){e&&e.cancel()}}function F(n){var r=window.innerHeight,t=Math.abs(n)/r*500;return Math.min(Math.max(t,200),500)}var G,J=["animate","as","children","expandSingleSection","id"],K=["animate","as","children","expanded","id","onExpandStateChange"],L=S.createContext({}),N=S.createContext({}),Q={},R={},V=(G=0,function(){return String(++G)}),X=function(){return String(Math.floor(1e5*Math.random()))},Z=function(n){function r(n){var r=n.ref;return function(n,r){var t=n.animate,e=void 0!==t&&t,i=n.as,o=void 0===i?"section":i,u=n.children,a=n.expandSingleSection,c=void 0!==a&&a,f=n.id,l=s(n,J),v=p((0,w.useState)(Q),2),y=v[0],m=v[1],j=(0,w.useRef)(R),O=p((0,w.useState)(X),1)[0],x=f||"a".concat(O);(0,w.useEffect)((function(){c&&m((function(n){var r={},t=0;for(var e in n)r[e]=n[e]&&0==t++;return r}))}),[c]);var A=(0,w.useCallback)((function(n,r,t){var e=t.current;return m((function(t){return nn(n,r,t,c)})),j.current=h(h({},j.current),{},b({},n,e)),function(){m((function(r){return g(r,n)})),j.current=g(j.current,n)}}),[c]),M=(0,w.useCallback)((function(n,r){m((function(t){var e=null!=r?r:!t[n],i=nn(n,e,t,c);return d().then((function(){for(var n in t){var r=j.current[n];r&&t[n]!=i[n]&&r(i[n])}})),i}))}),[c]),z=(0,w.useCallback)((function(n,r){var t;return null!==(t=y[n])&&void 0!==t?t:r}),[y]),I=(0,w.useCallback)((function(n){if(n)n in y&&M(n);else if(!c)for(var r in y)M(r)}),[y,M,c]),Y=(0,w.useCallback)((function(n){if(n)z(n,!0)||M(n);else if(!c)for(var r in y)z(r,!0)||M(r)}),[y,M,z,c]),C=(0,w.useCallback)((function(n){if(n)z(n,!1)&&M(n);else for(var r in y)z(r,!1)&&M(r)}),[y,M,z]);(0,w.useImperativeHandle)(r,(function(){return{toggle:I,expand:Y,collapse:C}}),[I,C,Y]);var E=(0,w.useMemo)((function(){return{registerSection:A,toggleExpanded:M,isExpanded:z,animate:e,prefix:x}}),[A,M,z,e,x]);return S.createElement(o,h({id:f},l),S.createElement(L.Provider,{value:E},u))}(s(n,A),r)}return r.$$typeof=M,r.render=r,r.prototype.isReactComponent=!0,r.Wl=!0,r}();function nn(n,r,t,e){var i;if(e&&r)for(var o in i=b({},n,r),t)o!=n&&(i[o]=!1);else i=h(h({},t),{},b({},n,r));return i}function rn(n){var r=n.animate,t=void 0!==r&&r,e=n.as,i=void 0===e?"section":e,o=n.children,u=n.expanded,a=void 0!==u&&u,c=n.id,f=n.onExpandStateChange,l=s(n,K),v=p((0,w.useState)(V),1)[0],b=c||v,y=p((0,w.useState)(X),1)[0],m=p((0,w.useState)(a),2),g=m[0],j=m[1],O=p((0,w.useState)(null),2),x=O[0],A=O[1],M=p((0,w.useState)(null),2),z=M[0],I=M[1],Y=(0,w.useContext)(L),C=Y.animate,E=Y.isExpanded,k=Y.prefix,q=Y.registerSection,B=Y.toggleExpanded,H=E?E(b,a):g,_=null!=C?C:t,P=x||"".concat(k||"a","-content-").concat(b,"-").concat(y),T=z||"".concat(k||"a","-header-").concat(b,"-").concat(y),U=(0,w.useRef)(null);U.current=f,(0,w.useLayoutEffect)((function(){if(q)return q(b,a,U)}),[q,b,a]);var W=(0,w.useCallback)((function(n){B?B(b,n):j((function(r){var t=null!=n?n:!r;return d().then((function(){var n=U.current;n&&n(t)})),t}))}),[b,B]),$=(0,w.useMemo)((function(){return{animate:_,contentId:P,headerId:T,expanded:H,toggleHandler:W,setContentId:A,setHeaderId:I}}),[_,P,T,H,W]);return S.createElement(i,h({},l),S.createElement(N.Provider,{value:$},o))}function tn(n){var r="class",t=n.as,e=void 0===t?"div":t,i=n.children,o=n.id,u=n.role,a=void 0===u?"button":u,c=n[r],f=void 0===c?"":c,v=s(n,["as","children","id","role",r].map(l)),d=(0,w.useContext)(N),b=d.contentId,y=d.expanded,p=d.headerId,m=d.setHeaderId,g=d.toggleHandler;return(0,w.useLayoutEffect)((function(){m&&m(o)}),[m,o]),S.createElement(e,h(h({},v),{},{id:p,role:a,class:"".concat(f," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:B(v),"aria-controls":b,onClick:function(){return g()},"aria-expanded":String(y)}),i)}function en(n){var r="class",t=n.as,e=void 0===t?"div":t,i=n.children,o=n.id,u=n.role,a=void 0===u?"region":u,c=n[r],f=void 0===c?"":c,v=s(n,["as","children","id","role",r].map(l)),d=(0,w.useRef)(null),b=(0,w.useRef)(!1),y=(0,w.useContext)(N),p=y.animate,m=y.contentId,g=y.expanded,j=y.headerId,O=y.setContentId;return(0,w.useEffect)((function(){return b.current=!0,function(){return b.current=!1}}),[]),(0,w.useLayoutEffect)((function(){O&&O(o)}),[O,o]),(0,w.useLayoutEffect)((function(){var n=b.current,r=d.current;if(p&&n&&r&&r.animate)return g?function(n){return D(n,(function(){var r=U(n,"height"),t=U(n,"opacity"),e=U(n,"overflowY");W(n,{height:0,opacity:0,overflowY:"auto"});var i=n.scrollHeight;W(n,{height:r,opacity:t,overflowY:e});var o=F(i);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:o})}))}(r):function(n){return D(n,(function(){var r=n.offsetHeight,t=F(r);return n.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:t})}))}(r)}),[g,p]),S.createElement(q,{renderable:g},S.createElement(e,h(h({},v),{},{ref:d,class:f+" section-child-00fce3c"+(g?"":" content-hidden-00fce3c"),id:m,"aria-labelledby":j,role:a}),i))}Z.displayName="Accordion"; | ||
var n,r=Object.create,t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,a=function(n){return t(n,"__esModule",{value:!0})},c=function(n){return function(n,r,o){if(r&&"object"==typeof r||"function"==typeof r)for(var a,c=i(r),f=0,l=c.length;f<l;f++)a=c[f],u.call(n,a)||"default"===a||t(n,a,{get:function(n){return r[n]}.bind(null,a),enumerable:!(o=e(r,a))||o.enumerable});return n}(a(t(null!=n?r(o(n)):{},"default",n&&n.__esModule&&"default"in n?{get:function(){return n.default},enumerable:!0}:{value:n,enumerable:!0})),n)};function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(n){var r=function(n,r){if("object"!==f(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!==f(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===f(r)?r:String(r)}function v(n,r){(null==r||r>n.length)&&(r=n.length);for(var t=0,e=new Array(r);t<r;t++)e[t]=n[t];return e}function d(){return n||(n=Promise.resolve(void 0))}function b(n,r,t){return r in n?Object.defineProperty(n,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[r]=t,n}function y(n,r){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),t.push.apply(t,e)}return t}function h(n){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?y(Object(t),!0).forEach((function(r){b(n,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))}))}return n}function p(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,r){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var e,i,o=[],u=!0,a=!1;try{for(t=t.call(n);!(u=(e=t.next()).done)&&(o.push(e.value),!r||o.length!==r);u=!0);}catch(n){a=!0,i=n}finally{try{u||null==t.return||t.return()}finally{if(a)throw i}}return o}}(n,r)||function(n,r){if(n){if("string"==typeof n)return v(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(n,r):void 0}}(n,r)||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 s(n,r){if(null==n)return{};var t,e,i={},o=Object.keys(n);for(e=0;e<o.length;e++)t=o[e],r.indexOf(t)>=0||(i[t]=n[t]);return i}!function(n,r){for(var e in a(n),r)t(n,e,{get:r[e],enumerable:!0})}(exports,{BentoAccordion:function(){return Z},BentoAccordionContent:function(){return en},BentoAccordionHeader:function(){return tn},BentoAccordionSection:function(){return rn}});var m=Object.prototype;function g(n,r){return Object.keys(n).reduce((function(t,e){return r.includes(e)||(t[e]=n[e]),t}),{})}m.hasOwnProperty,m.toString,c(require("preact"));var j,O,S=c(require("preact")),w=c(require("preact/hooks")),x=c(require("preact")),A=["ref"],M="undefined"!=typeof Symbol&&(null===(j=Symbol.for)||void 0===j?void 0:j.call(Symbol,"react.forward_ref"))||3911,z=x.options.__b;x.options.__b=function(n){var r;null!==(r=n.type)&&void 0!==r&&r.Dl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==z||z(n)};var I,Y=["auto","lazy","eager","unload"],C=(b(O={},"auto",0),b(O,"lazy",1),b(O,"eager",2),b(O,"unload",3),O);function E(n,r){var t=C[n]||0,e=C[r]||0,i=Math.max(t,e);return Y[i]}function k(){return I||(I=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}))}function q(n){var r=n.children,t=n.loading,e=void 0===t?"auto":t,i=n.notify,o=n.playable,u=void 0===o||o,a=n.renderable,c=void 0===a||a,f=function(){var n=k();return(0,w.useContext)(n)}(),l=c&&f.renderable,v=l&&u&&f.playable,d=E(l?"auto":"lazy",E(e,f.loading)),b=i||f.notify,y=(0,w.useMemo)((function(){return{renderable:l,playable:v,loading:d,notify:b}}),[l,v,d,b]),h=k();return S.createElement(h.Provider,{children:r,value:y})}function B(n){var r,t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null!==(r=null!==(t=n.tabindex)&&void 0!==t?t:n.tabIndex)&&void 0!==r?r:e}Array.isArray;var H,_=["Webkit","webkit","Moz","moz","ms","O","o"];function P(n,r,t){if($(r))return r;var e;H||(e=Object.create(null),H=e);var i=H[r];if(!i||t){if(i=r,void 0===n[r]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(r),u=function(n,r){for(var t=0;t<_.length;t++){var e=_[t]+r;if(void 0!==n[e])return e}return""}(n,o);void 0!==n[u]&&(i=u)}t||(H[r]=i)}return i}function T(n,r,t,e,i){var o=P(n.style,r,i);if(o){var u=e?t+e:t;$(o)?n.style.setProperty(o,u):n.style[o]=u}}function U(n,r,t){var e=P(n.style,r,t);if(e)return $(e)?n.style.getPropertyValue(e):n.style[e]}function W(n,r){for(var t in r)T(n,t,r[t])}function $(n){return n.startsWith("--")}function D(n,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var e=r();return e.onfinish=e.oncancel=function(){e=null,t&&t(),n.classList.remove("i-amphtml-animating")},function(){e&&e.cancel()}}function F(n){var r=window.innerHeight,t=Math.abs(n)/r*500;return Math.min(Math.max(t,200),500)}var G,J=["animate","as","children","expandSingleSection","id"],K=["animate","as","children","expanded","id","onExpandStateChange"],L=S.createContext({}),N=S.createContext({}),Q={},R={},V=(G=0,function(){return String(++G)}),X=function(){return String(Math.floor(1e5*Math.random()))},Z=function(n){function r(n){var r=n.ref;return function(n,r){var t=n.animate,e=void 0!==t&&t,i=n.as,o=void 0===i?"section":i,u=n.children,a=n.expandSingleSection,c=void 0!==a&&a,f=n.id,l=s(n,J),v=p((0,w.useState)(Q),2),y=v[0],m=v[1],j=(0,w.useRef)(R),O=p((0,w.useState)(X),1)[0],x=f||"a".concat(O);(0,w.useEffect)((function(){c&&m((function(n){var r={},t=0;for(var e in n)r[e]=n[e]&&0==t++;return r}))}),[c]);var A=(0,w.useCallback)((function(n,r,t){var e=t.current;return m((function(t){return nn(n,r,t,c)})),j.current=h(h({},j.current),{},b({},n,e)),function(){m((function(r){return g(r,n)})),j.current=g(j.current,n)}}),[c]),M=(0,w.useCallback)((function(n,r){m((function(t){var e=null!=r?r:!t[n],i=nn(n,e,t,c);return d().then((function(){for(var n in t){var r=j.current[n];r&&t[n]!=i[n]&&r(i[n])}})),i}))}),[c]),z=(0,w.useCallback)((function(n,r){var t;return null!==(t=y[n])&&void 0!==t?t:r}),[y]),I=(0,w.useCallback)((function(n){if(n)n in y&&M(n);else if(!c)for(var r in y)M(r)}),[y,M,c]),Y=(0,w.useCallback)((function(n){if(n)z(n,!0)||M(n);else if(!c)for(var r in y)z(r,!0)||M(r)}),[y,M,z,c]),C=(0,w.useCallback)((function(n){if(n)z(n,!1)&&M(n);else for(var r in y)z(r,!1)&&M(r)}),[y,M,z]);(0,w.useImperativeHandle)(r,(function(){return{toggle:I,expand:Y,collapse:C}}),[I,C,Y]);var E=(0,w.useMemo)((function(){return{registerSection:A,toggleExpanded:M,isExpanded:z,animate:e,prefix:x}}),[A,M,z,e,x]);return S.createElement(o,h({id:f},l),S.createElement(L.Provider,{value:E},u))}(s(n,A),r)}return r.$$typeof=M,r.render=r,r.prototype.isReactComponent=!0,r.Dl=!0,r}();function nn(n,r,t,e){var i;if(e&&r)for(var o in i=b({},n,r),t)o!=n&&(i[o]=!1);else i=h(h({},t),{},b({},n,r));return i}function rn(n){var r=n.animate,t=void 0!==r&&r,e=n.as,i=void 0===e?"section":e,o=n.children,u=n.expanded,a=void 0!==u&&u,c=n.id,f=n.onExpandStateChange,l=s(n,K),v=p((0,w.useState)(V),1)[0],b=c||v,y=p((0,w.useState)(X),1)[0],m=p((0,w.useState)(a),2),g=m[0],j=m[1],O=p((0,w.useState)(null),2),x=O[0],A=O[1],M=p((0,w.useState)(null),2),z=M[0],I=M[1],Y=(0,w.useContext)(L),C=Y.animate,E=Y.isExpanded,k=Y.prefix,q=Y.registerSection,B=Y.toggleExpanded,H=E?E(b,a):g,_=null!=C?C:t,P=x||"".concat(k||"a","-content-").concat(b,"-").concat(y),T=z||"".concat(k||"a","-header-").concat(b,"-").concat(y),U=(0,w.useRef)(null);U.current=f,(0,w.useLayoutEffect)((function(){if(q)return q(b,a,U)}),[q,b,a]);var W=(0,w.useCallback)((function(n){B?B(b,n):j((function(r){var t=null!=n?n:!r;return d().then((function(){var n=U.current;n&&n(t)})),t}))}),[b,B]),$=(0,w.useMemo)((function(){return{animate:_,contentId:P,headerId:T,expanded:H,toggleHandler:W,setContentId:A,setHeaderId:I}}),[_,P,T,H,W]);return S.createElement(i,h({},l),S.createElement(N.Provider,{value:$},o))}function tn(n){var r="class",t=n.as,e=void 0===t?"div":t,i=n.children,o=n.id,u=n.role,a=void 0===u?"button":u,c=n[r],f=void 0===c?"":c,v=s(n,["as","children","id","role",r].map(l)),d=(0,w.useContext)(N),b=d.contentId,y=d.expanded,p=d.headerId,m=d.setHeaderId,g=d.toggleHandler;return(0,w.useLayoutEffect)((function(){m&&m(o)}),[m,o]),S.createElement(e,h(h({},v),{},{id:p,role:a,class:"".concat(f," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:B(v),"aria-controls":b,onClick:function(){return g()},"aria-expanded":String(y)}),i)}function en(n){var r="class",t=n.as,e=void 0===t?"div":t,i=n.children,o=n.id,u=n.role,a=void 0===u?"region":u,c=n[r],f=void 0===c?"":c,v=s(n,["as","children","id","role",r].map(l)),d=(0,w.useRef)(null),b=(0,w.useRef)(!1),y=(0,w.useContext)(N),p=y.animate,m=y.contentId,g=y.expanded,j=y.headerId,O=y.setContentId;return(0,w.useEffect)((function(){return b.current=!0,function(){return b.current=!1}}),[]),(0,w.useLayoutEffect)((function(){O&&O(o)}),[O,o]),(0,w.useLayoutEffect)((function(){var n=b.current,r=d.current;if(p&&n&&r&&r.animate)return g?function(n){return D(n,(function(){var r=U(n,"height"),t=U(n,"opacity"),e=U(n,"overflowY");W(n,{height:0,opacity:0,overflowY:"auto"});var i=n.scrollHeight;W(n,{height:r,opacity:t,overflowY:e});var o=F(i);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:o})}))}(r):function(n){return D(n,(function(){var r=n.offsetHeight,t=F(r);return n.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:t})}))}(r)}),[g,p]),S.createElement(q,{renderable:g},S.createElement(e,h(h({},v),{},{ref:d,class:f+" section-child-00fce3c"+(g?"":" content-hidden-00fce3c"),id:m,"aria-labelledby":j,role:a}),i))}Z.displayName="Accordion"; |
@@ -181,3 +181,3 @@ var __create = Object.create; | ||
// src/preact/context.js | ||
// src/preact/context.tsx | ||
var context; | ||
@@ -184,0 +184,0 @@ function getAmpContext() { |
@@ -137,3 +137,3 @@ // extensions/amp-accordion/1.0/component.jss.js | ||
// src/preact/context.js | ||
// src/preact/context.tsx | ||
var context; | ||
@@ -140,0 +140,0 @@ function getAmpContext() { |
@@ -1,1 +0,1 @@ | ||
var n;function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function t(n){var t=function(n,t){if("object"!==e(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var o=r.call(n,"string");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===e(t)?t:String(t)}function r(){return n||(n=Promise.resolve(void 0))}function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function i(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function c(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){o(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function a(n,e){if(null==n)return{};var t,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{hasOwnProperty:l,toString:u}=Object.prototype;function d(n,e){return Object.keys(n).reduce(((t,r)=>(e.includes(r)||(t[r]=n[r]),t)),{})}import{hydrate as f,render as s}from"preact";import{createElement as b,cloneElement as p,createRef as h,createContext as v}from"preact";import{useState as g,useRef as m,useEffect as y,useLayoutEffect as S,useContext as x,useMemo as j,useCallback as O,useImperativeHandle as w}from"preact/hooks";import{options as I,toChildArray as $}from"preact";var z,E=["ref"],M="undefined"!=typeof Symbol&&(null===(z=Symbol.for)||void 0===z?void 0:z.call(Symbol,"react.forward_ref"))||3911,Y=I.__b;I.__b=function(n){var e;null!==(e=n.type)&&void 0!==e&&e._f&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Y||Y(n)};var C,k,H=["auto","lazy","eager","unload"],P={auto:0,lazy:1,eager:2,unload:3};function A(n,e){const t=P[n]||0,r=P[e]||0,o=Math.max(t,r);return H[o]}function T(){return C||(C=v({renderable:!0,playable:!0,loading:"auto"}))}function W({children:n,loading:e="auto",notify:t,playable:r=!0,renderable:o=!0}){const i=function(){const n=T();return x(n)}(),c=o&&i.renderable,a=c&&r&&i.playable,l=A(c?"auto":"lazy",A(e,i.loading)),u=t||i.notify,d=j((()=>({renderable:c,playable:a,loading:l,notify:u})),[c,a,l,u]),f=T();return b(f.Provider,{children:n,value:d})}function _(n,e=0){var t,r;return null!==(t=null!==(r=n.tabindex)&&void 0!==r?r:n.tabIndex)&&void 0!==t?t:e}var q=["Webkit","webkit","Moz","moz","ms","O","o"];function B(n,e,t){if(J(e))return e;k||(k=Object.create(null));let r=k[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<q.length;t++){const r=q[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(k[e]=r)}return r}function D(n,e,t,r,o){const i=B(n.style,e,o);if(!i)return;const c=r?t+r:t;J(i)?n.style.setProperty(i,c):n.style[i]=c}function F(n,e,t){const r=B(n.style,e,t);if(r)return J(r)?n.style.getPropertyValue(r):n.style[r]}function G(n,e){for(const t in e)D(n,t,e[t])}function J(n){return n.startsWith("--")}function K(n,e,t){n.classList.add("i-amphtml-animating");let r=e();return r.onfinish=r.oncancel=()=>{r=null,t&&t(),n.classList.remove("i-amphtml-animating")},()=>{r&&r.cancel()}}function L(n){const e=window.innerHeight,t=Math.abs(n)/e*500;return Math.min(Math.max(t,200),500)}var N=["animate","as","children","expandSingleSection","id"],Q=["animate","as","children","expanded","id","onExpandStateChange"],R=v({}),U=v({}),V={},X={},Z=function(){let n=0;return()=>String(++n)}(),nn=()=>String(Math.floor(1e5*Math.random())),en=function(n){function e(n){const{ref:e}=n;return function(n,e){let{animate:t=!1,as:o="section",children:i,expandSingleSection:l=!1,id:u}=n,f=a(n,N);const[s,p]=g(V),h=m(X),[v]=g(nn),S=u||`a${v}`;y((()=>{l&&p((n=>{const e={};let t=0;for(const r in n)e[r]=n[r]&&0==t++;return e}))}),[l]);const x=O(((n,e,{current:t})=>(p((t=>tn(n,e,t,l))),h.current=c(c({},h.current),{},{[n]:t}),()=>{p((e=>d(e,n))),h.current=d(h.current,n)})),[l]),I=O(((n,e)=>{p((t=>{const o=null!=e?e:!t[n],i=tn(n,o,t,l);return r().then((()=>{for(const n in t){const e=h.current[n];e&&t[n]!=i[n]&&e(i[n])}})),i}))}),[l]),$=O(((n,e)=>{var t;return null!==(t=s[n])&&void 0!==t?t:e}),[s]),z=O((n=>{if(n)n in s&&I(n);else if(!l)for(const n in s)I(n)}),[s,I,l]),E=O((n=>{if(n)$(n,!0)||I(n);else if(!l)for(const n in s)$(n,!0)||I(n)}),[s,I,$,l]),M=O((n=>{if(n)$(n,!1)&&I(n);else for(const n in s)$(n,!1)&&I(n)}),[s,I,$]);w(e,(()=>({toggle:z,expand:E,collapse:M})),[z,M,E]);const Y=j((()=>({registerSection:x,toggleExpanded:I,isExpanded:$,animate:t,prefix:S})),[x,I,$,t,S]);return b(o,c({id:u},f),b(R.Provider,{value:Y},i))}(a(n,E),e)}return e.$$typeof=M,e.render=e,e.prototype.isReactComponent=!0,e._f=!0,e}();function tn(n,e,t,r){let o;if(r&&e){o={[n]:e};for(const e in t)e!=n&&(o[e]=!1)}else o=c(c({},t),{},{[n]:e});return o}function rn(n){let{animate:e=!1,as:t="section",children:o,expanded:i=!1,id:l,onExpandStateChange:u}=n,d=a(n,Q);const[f]=g(Z),s=l||f,[p]=g(nn),[h,v]=g(i),[y,w]=g(null),[I,$]=g(null),{animate:z,isExpanded:E,prefix:M,registerSection:Y,toggleExpanded:C}=x(R),k=E?E(s,i):h,H=null!=z?z:e,P=y||`${M||"a"}-content-${s}-${p}`,A=I||`${M||"a"}-header-${s}-${p}`,T=m(null);T.current=u,S((()=>{if(Y)return Y(s,i,T)}),[Y,s,i]);const W=O((n=>{C?C(s,n):v((e=>{const t=null!=n?n:!e;return r().then((()=>{const n=T.current;n&&n(t)})),t}))}),[s,C]),_=j((()=>({animate:H,contentId:P,headerId:A,expanded:k,toggleHandler:W,setContentId:w,setHeaderId:$})),[H,P,A,k,W]);return b(t,c({},d),b(U.Provider,{value:_},o))}function on(n){let e="class",{as:r="div",children:o,id:i,role:l="button",[e]:u=""}=n,d=a(n,["as","children","id","role",e].map(t));const{contentId:f,expanded:s,headerId:p,setHeaderId:h,toggleHandler:v}=x(U);return S((()=>{h&&h(i)}),[h,i]),b(r,c(c({},d),{},{id:p,role:l,class:`${u} section-child-00fce3c header-00fce3c`,tabindex:_(d),"aria-controls":f,onClick:()=>v(),"aria-expanded":String(s)}),o)}function cn(n){let e="class",{as:r="div",children:o,id:i,role:l="region",[e]:u=""}=n,d=a(n,["as","children","id","role",e].map(t));const f=m(null),s=m(!1),{animate:p,contentId:h,expanded:v,headerId:g,setContentId:j}=x(U);return y((()=>(s.current=!0,()=>s.current=!1)),[]),S((()=>{j&&j(i)}),[j,i]),S((()=>{const n=s.current,e=f.current;if(p&&n&&e&&e.animate)return v?function(n){return K(n,(()=>{const e=F(n,"height"),t=F(n,"opacity"),r=F(n,"overflowY");G(n,{height:0,opacity:0,overflowY:"auto"});const o=n.scrollHeight;G(n,{height:e,opacity:t,overflowY:r});const i=L(o);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:i})}))}(e):function(n){return K(n,(()=>{const e=n.offsetHeight,t=L(e);return n.animate([{height:e+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:t})}))}(e)}),[v,p]),b(W,{renderable:v},b(r,c(c({},d),{},{ref:f,class:u+" section-child-00fce3c"+(v?"":" content-hidden-00fce3c"),id:h,"aria-labelledby":g,role:l}),o))}en.displayName="Accordion";export{en as BentoAccordion,cn as BentoAccordionContent,on as BentoAccordionHeader,rn as BentoAccordionSection}; | ||
var n;function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function t(n){var t=function(n,t){if("object"!==e(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var o=r.call(n,"string");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===e(t)?t:String(t)}function r(){return n||(n=Promise.resolve(void 0))}function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function i(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function c(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){o(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function a(n,e){if(null==n)return{};var t,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{hasOwnProperty:l,toString:u}=Object.prototype;function d(n,e){return Object.keys(n).reduce(((t,r)=>(e.includes(r)||(t[r]=n[r]),t)),{})}import{hydrate as f,render as s}from"preact";import{createElement as b,cloneElement as p,createRef as h,createContext as v}from"preact";import{useState as g,useRef as m,useEffect as y,useLayoutEffect as S,useContext as x,useMemo as j,useCallback as O,useImperativeHandle as w}from"preact/hooks";import{options as I,toChildArray as $}from"preact";var z,E=["ref"],M="undefined"!=typeof Symbol&&(null===(z=Symbol.for)||void 0===z?void 0:z.call(Symbol,"react.forward_ref"))||3911,Y=I.__b;I.__b=function(n){var e;null!==(e=n.type)&&void 0!==e&&e.gf&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Y||Y(n)};var C,k,H=["auto","lazy","eager","unload"],P={auto:0,lazy:1,eager:2,unload:3};function A(n,e){const t=P[n]||0,r=P[e]||0,o=Math.max(t,r);return H[o]}function T(){return C||(C=v({renderable:!0,playable:!0,loading:"auto"}))}function W({children:n,loading:e="auto",notify:t,playable:r=!0,renderable:o=!0}){const i=function(){const n=T();return x(n)}(),c=o&&i.renderable,a=c&&r&&i.playable,l=A(c?"auto":"lazy",A(e,i.loading)),u=t||i.notify,d=j((()=>({renderable:c,playable:a,loading:l,notify:u})),[c,a,l,u]),f=T();return b(f.Provider,{children:n,value:d})}function _(n,e=0){var t,r;return null!==(t=null!==(r=n.tabindex)&&void 0!==r?r:n.tabIndex)&&void 0!==t?t:e}var q=["Webkit","webkit","Moz","moz","ms","O","o"];function B(n,e,t){if(J(e))return e;k||(k=Object.create(null));let r=k[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<q.length;t++){const r=q[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(k[e]=r)}return r}function D(n,e,t,r,o){const i=B(n.style,e,o);if(!i)return;const c=r?t+r:t;J(i)?n.style.setProperty(i,c):n.style[i]=c}function F(n,e,t){const r=B(n.style,e,t);if(r)return J(r)?n.style.getPropertyValue(r):n.style[r]}function G(n,e){for(const t in e)D(n,t,e[t])}function J(n){return n.startsWith("--")}function K(n,e,t){n.classList.add("i-amphtml-animating");let r=e();return r.onfinish=r.oncancel=()=>{r=null,t&&t(),n.classList.remove("i-amphtml-animating")},()=>{r&&r.cancel()}}function L(n){const e=window.innerHeight,t=Math.abs(n)/e*500;return Math.min(Math.max(t,200),500)}var N=["animate","as","children","expandSingleSection","id"],Q=["animate","as","children","expanded","id","onExpandStateChange"],R=v({}),U=v({}),V={},X={},Z=function(){let n=0;return()=>String(++n)}(),nn=()=>String(Math.floor(1e5*Math.random())),en=function(n){function e(n){const{ref:e}=n;return function(n,e){let{animate:t=!1,as:o="section",children:i,expandSingleSection:l=!1,id:u}=n,f=a(n,N);const[s,p]=g(V),h=m(X),[v]=g(nn),S=u||`a${v}`;y((()=>{l&&p((n=>{const e={};let t=0;for(const r in n)e[r]=n[r]&&0==t++;return e}))}),[l]);const x=O(((n,e,{current:t})=>(p((t=>tn(n,e,t,l))),h.current=c(c({},h.current),{},{[n]:t}),()=>{p((e=>d(e,n))),h.current=d(h.current,n)})),[l]),I=O(((n,e)=>{p((t=>{const o=null!=e?e:!t[n],i=tn(n,o,t,l);return r().then((()=>{for(const n in t){const e=h.current[n];e&&t[n]!=i[n]&&e(i[n])}})),i}))}),[l]),$=O(((n,e)=>{var t;return null!==(t=s[n])&&void 0!==t?t:e}),[s]),z=O((n=>{if(n)n in s&&I(n);else if(!l)for(const n in s)I(n)}),[s,I,l]),E=O((n=>{if(n)$(n,!0)||I(n);else if(!l)for(const n in s)$(n,!0)||I(n)}),[s,I,$,l]),M=O((n=>{if(n)$(n,!1)&&I(n);else for(const n in s)$(n,!1)&&I(n)}),[s,I,$]);w(e,(()=>({toggle:z,expand:E,collapse:M})),[z,M,E]);const Y=j((()=>({registerSection:x,toggleExpanded:I,isExpanded:$,animate:t,prefix:S})),[x,I,$,t,S]);return b(o,c({id:u},f),b(R.Provider,{value:Y},i))}(a(n,E),e)}return e.$$typeof=M,e.render=e,e.prototype.isReactComponent=!0,e.gf=!0,e}();function tn(n,e,t,r){let o;if(r&&e){o={[n]:e};for(const e in t)e!=n&&(o[e]=!1)}else o=c(c({},t),{},{[n]:e});return o}function rn(n){let{animate:e=!1,as:t="section",children:o,expanded:i=!1,id:l,onExpandStateChange:u}=n,d=a(n,Q);const[f]=g(Z),s=l||f,[p]=g(nn),[h,v]=g(i),[y,w]=g(null),[I,$]=g(null),{animate:z,isExpanded:E,prefix:M,registerSection:Y,toggleExpanded:C}=x(R),k=E?E(s,i):h,H=null!=z?z:e,P=y||`${M||"a"}-content-${s}-${p}`,A=I||`${M||"a"}-header-${s}-${p}`,T=m(null);T.current=u,S((()=>{if(Y)return Y(s,i,T)}),[Y,s,i]);const W=O((n=>{C?C(s,n):v((e=>{const t=null!=n?n:!e;return r().then((()=>{const n=T.current;n&&n(t)})),t}))}),[s,C]),_=j((()=>({animate:H,contentId:P,headerId:A,expanded:k,toggleHandler:W,setContentId:w,setHeaderId:$})),[H,P,A,k,W]);return b(t,c({},d),b(U.Provider,{value:_},o))}function on(n){let e="class",{as:r="div",children:o,id:i,role:l="button",[e]:u=""}=n,d=a(n,["as","children","id","role",e].map(t));const{contentId:f,expanded:s,headerId:p,setHeaderId:h,toggleHandler:v}=x(U);return S((()=>{h&&h(i)}),[h,i]),b(r,c(c({},d),{},{id:p,role:l,class:`${u} section-child-00fce3c header-00fce3c`,tabindex:_(d),"aria-controls":f,onClick:()=>v(),"aria-expanded":String(s)}),o)}function cn(n){let e="class",{as:r="div",children:o,id:i,role:l="region",[e]:u=""}=n,d=a(n,["as","children","id","role",e].map(t));const f=m(null),s=m(!1),{animate:p,contentId:h,expanded:v,headerId:g,setContentId:j}=x(U);return y((()=>(s.current=!0,()=>s.current=!1)),[]),S((()=>{j&&j(i)}),[j,i]),S((()=>{const n=s.current,e=f.current;if(p&&n&&e&&e.animate)return v?function(n){return K(n,(()=>{const e=F(n,"height"),t=F(n,"opacity"),r=F(n,"overflowY");G(n,{height:0,opacity:0,overflowY:"auto"});const o=n.scrollHeight;G(n,{height:e,opacity:t,overflowY:r});const i=L(o);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:i})}))}(e):function(n){return K(n,(()=>{const e=n.offsetHeight,t=L(e);return n.animate([{height:e+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:t})}))}(e)}),[v,p]),b(W,{renderable:v},b(r,c(c({},d),{},{ref:f,class:u+" section-child-00fce3c"+(v?"":" content-hidden-00fce3c"),id:h,"aria-labelledby":g,role:l}),o))}en.displayName="Accordion";export{en as BentoAccordion,cn as BentoAccordionContent,on as BentoAccordionHeader,rn as BentoAccordionSection}; |
@@ -133,3 +133,3 @@ var __create = Object.create; | ||
// src/preact/context.js | ||
// src/preact/context.tsx | ||
var context; | ||
@@ -136,0 +136,0 @@ function getAmpContext() { |
@@ -87,3 +87,3 @@ // extensions/amp-accordion/1.0/component.jss.js | ||
// src/preact/context.js | ||
// src/preact/context.tsx | ||
var context; | ||
@@ -90,0 +90,0 @@ function getAmpContext() { |
@@ -1,2 +0,2 @@ | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return wr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,g=Object.prototype,w=g.hasOwnProperty;function S(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function _(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function j(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function O(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function k(n){return 1==(null==n?void 0:n.nodeType)}function x(n,t,i,r,u,e,o,l,f,a,c){return n}function M(n){return(n.ownerDocument||n).defaultView}function A(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function z(n){x(/^[\w-]+$/.test(n))}function T(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=P(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function C(n,t){if(A(n))return n.querySelector(P(t,":scope"));var i=T(n,t)[0];return void 0===i?null:i}function E(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function I(n,t){return z(t),C(n,"> [".concat(t,"]"))}function R(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)!H(r)&&i.push(r);return i}(n)}function H(n){return"string"==typeof(t=n)?i=t:k(t)&&(i=t.tagName),!(!i||!i.toLowerCase().startsWith("i-"))||n.nodeType===Node.ELEMENT_NODE&&(n.hasAttribute("placeholder")||n.hasAttribute("fallback")||n.hasAttribute("overflow"));var t,i}g.toString;var N,D={bubbles:!0,cancelable:!0};function F(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function L(n,t,i,r){var u=i||{};x(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||D,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function Y(){return N||(N=Promise.resolve(void 0))}var V,$,q,B,W,Z,U,X,G,J,K=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},Q={},nn=[],tn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rn(n,t){for(var i in t)n[i]=t[i];return n}function un(n){var t=n.parentNode;t&&t.removeChild(n)}function en(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?V.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return on(n,o,r,u,null)}function on(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++q:u};return null==u&&null!=$.vnode&&$.vnode(e),e}function ln(n){return n.children}function fn(n,t){this.props=n,this.context=t}function an(n,t){if(null==t)return n.__?an(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?an(n):null}function cn(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return cn(n)}}function sn(n){(!n.__d&&(n.__d=!0)&&B.push(n)&&!vn.__r++||Z!==$.debounceRendering)&&((Z=$.debounceRendering)||W)(vn)}function vn(){for(var n;vn.__r=B.length;)n=B.sort((function(n,t){return n.__v.__b-t.__v.__b})),B=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=rn({},u)).__v=u.__v+1,wn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?an(u):e,u.__h),Sn(i,u),u.__e!=e&&cn(u)))}))}function hn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||nn,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?on(null,h,null,null,h):Array.isArray(h)?on(ln,{children:h},null,null,null):h.__b>0?on(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}wn(n,h,v=v||Q,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=dn(h,f,n):f=pn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=an(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=an(r,c+1)),jn(m[c],m[c]));if(y)for(c=0;c<y.length;c++)_n(y[c],y[++c],y[++c])}function dn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?dn(r,t,i):pn(i,r,r,u,r.__e,t));return t}function pn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function yn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||tn.test(t)?i:i+"px"}function mn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||yn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||yn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?gn:bn,e):n.removeEventListener(t,e?gn:bn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function bn(n){this.l[n.type+!1]($.event?$.event(n):n)}function gn(n){this.l[n.type+!0]($.event?$.event(n):n)}function wn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=$.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new fn(y,b),c.constructor=w,c.render=On),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=rn({},c.__s)),rn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=$.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=rn(rn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===ln&&null==a.key?a.props.children:a,hn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&V.call(n.childNodes),a=(s=i.props||Q).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||mn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||mn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,hn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&an(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&un(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&mn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&mn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=$.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),$.__e(n,t,i)}}function Sn(n,t){$.__c&&$.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){$.__e(n,t.__v)}}))}function _n(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){$.__e(n,i)}}function jn(n,t,i){var r,u;if($.unmount&&$.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||_n(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){$.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&jn(r[u],t,"function"!=typeof n.type);i||null==n.__e||un(n.__e),n.__e=n.__d=void 0}function On(n,t,i){return this.constructor(n,i)}function kn(n,t,i){var r,u,e;$.__&&$.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],wn(t,n=(!r&&i||t).__k=en(ln,null,[n]),u||Q,Q,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?V.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),Sn(e,n)}function xn(n,t){kn(n,t,xn)}function Mn(n,t){var i={__c:t="__cC"+U++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(sn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}V=nn.slice,$={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},q=0,fn.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=rn({},this.state),"function"==typeof n&&(n=n(rn({},i),this.props)),n&&rn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),sn(this))},fn.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),sn(this))},fn.prototype.render=ln,B=[],W="function"==typeof Promise?Promise.prototype.then.bind(Y()):setTimeout,vn.__r=0,U=0;var An=0,Pn=[],zn=$.__b,Tn=$.__r,Cn=$.diffed,En=$.__c,In=$.unmount;function Rn(n,t){$.__h&&$.__h(G,n,An||t),An=0;var i=G.__H||(G.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Hn(n){return An=1,function(n,t,i){var r=Rn(X++,2);return r.t=n,r.__c||(r.__=[Xn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=G),r.__}(Xn,n)}function Nn(n,t){var i=Rn(X++,3);!$.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__H.__h.push(i))}function Dn(n,t){var i=Rn(X++,4);!$.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__h.push(i))}function Fn(n){return An=5,Yn((function(){return{current:n}}),[])}function Ln(n,t,i){An=6,Dn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Yn(n,t){var i=Rn(X++,7);return Un(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function Vn(n,t){return An=8,Yn((function(){return n}),t)}function $n(n){var t=G.context[n.__c],i=Rn(X++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(G)),t.props.value):n.__}function qn(){Pn.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Wn),n.__H.__h.forEach(Zn),n.__H.__h=[]}catch(t){n.__H.__h=[],$.__e(t,n.__v)}})),Pn=[]}$.__b=function(n){G=null,zn&&zn(n)},$.__r=function(n){Tn&&Tn(n),X=0;var t=(G=n.__c).__H;t&&(t.__h.forEach(Wn),t.__h.forEach(Zn),t.__h=[])},$.diffed=function(n){Cn&&Cn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==Pn.push(t)&&J===$.requestAnimationFrame||((J=$.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Bn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Bn&&(t=requestAnimationFrame(i))})(qn)),G=null},$.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Wn),n.__h=n.__h.filter((function(n){return!n.__||Zn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],$.__e(i,n.__v)}})),En&&En(n,t)},$.unmount=function(n){In&&In(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Wn)}catch(n){$.__e(n,t.__v)}};var Bn="function"==typeof requestAnimationFrame;function Wn(n){var t=G;"function"==typeof n.__c&&n.__c(),G=t}function Zn(n){var t=G;n.__c=n.__(),G=t}function Un(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Xn(n,t){return"function"==typeof t?t(n):t}var Gn,Jn=["auto","lazy","eager","unload"],Kn=(t(Gn={},"auto",0),t(Gn,"lazy",1),t(Gn,"eager",2),t(Gn,"unload",3),Gn);function Qn(n,t){var i=Kn[n]||0,r=Kn[t]||0,u=Math.max(i,r);return Jn[u]}function nt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function tt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function it(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=tt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function rt(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ut(n){var t=it.apply(null,arguments);setTimeout((function(){throw rt(t),t}))}function et(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){ut(n)}}function ot(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&ot(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;ot(f,t,i,r,!0)}}var lt=[],ft=function(){},at=function(){function n(n){this.Nh=n,this.v=null,this.m=null,this.nl=nt(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){x(t),x(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),ht(n)&&ot(this.Nh,ct,n,!0,!1))},t.remove=function(n,t){x(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){x(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),ot(this.Nh,ct,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;dt(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&ot(this.Nh,st,void 0,lt)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){ht(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ht(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Nh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(ft):lt,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):lt,pingParent:ht(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.Fi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return ut("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){ut(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.Fi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;x(this.Fi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,vt,e,!1):null;this.rl(n,s)}var v=dt(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(dt)&&(!c||dt(v))){var d=this.Nh.node;a&&!o?h=a[0]:ht(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||lt,v,u):dt(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||lt,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,x(r),i&&i.values.unsubscribe(u,r),t&&(x(r),t.values.subscribe(u,r)))},n}();function ct(n,t){return n.values.scan(t)}function st(n,t,i){return n.values.scanAll(i)}function vt(n,t){return n.values.has(t)}function ht(n){return!!n.recursive}function dt(n){return void 0!==n}var pt=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new at(this),this.ll=null,this.fl=!1,this.al=nt(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(yt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(mt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||k(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,yt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,yt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(mt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(mt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){x(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(mt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),x(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(x(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function yt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=pt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,mt)}function mt(n){n.discover()}var bt=[];function gt(n,t){var i=r({key:n,deps:bt,recursive:!1},t);return x(0==i.deps.length||i.compute),i}var wt=[],St=function(){};function _t(n,t,i){t=v(t);var r=i;pt.get(n).subscribe(r,jt,i,t)}var jt=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(St):wt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):wt,this.Yn=!1,this.ml=null,this.yl=nt(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.Fi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.yl()},t.Fi=function(){return!!this.contextNode.root},t.yl=function(){this.Fi()&&(this.dl.every(Ot)?(this.Yn=!0,this.bl()):this.Yn&&(this.Yn=!1,this.Se()))},t.bl=function(){this.Se();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t.Se=function(){this.ml&&(et(this.ml),this.ml=null)},n}();function Ot(n){return void 0!==n}function kt(n){pt.get(n).discover()}function xt(n,t,i,r){pt.get(n).values.set(t,i,r)}function Mt(n,t,i){pt.get(n).values.remove(t,i)}var At,Pt=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,zt,"1")},t.resolveListQuery=function(n){return this.kt(n,Tt,"")},t.complete=function(){for(var n in this._t)n in this.St||Ct(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)Ct(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(x(this._t),r=this._t[n]),r||Ct(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function zt(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function Tt(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function Ct(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Et=["Webkit","webkit","Moz","moz","ms","O","o"],It={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function Rt(n,t,i){if(Ft(t))return t;At||(At=S());var r=At[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Et.length;i++){var r=Et[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(At[t]=r)}return r}function Ht(n,t,i,r,u){var e=Rt(n.style,t,u);if(e){var o=r?i+r:i;Ft(e)?n.style.setProperty(e,o):n.style[e]=o}}function Nt(n,t,i){var r=Rt(n.style,t,i);if(r)return Ft(r)?n.style.getPropertyValue(r):n.style[r]}function Dt(n,t){for(var i in t)Ht(n,i,t[i])}function Ft(n){return n.startsWith("--")}var Lt=/vertical/,Yt=new WeakMap,Vt=new WeakMap,$t=new WeakMap;function qt(n){var t=Yt.get(n);return t||(t=new n.ResizeObserver(Bt),Yt.set(n,t)),t}function Bt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=Vt.get(u);if(e){$t.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Wt(l.type,f,r)}}}}}function Wt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;et(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=M(a),s=Lt.test(function(n,t){return n.getComputedStyle(t)||It}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}et(t,e)}}var Zt,Ut,Xt,Gt,Jt=function(){function n(n){this.gl=n,this.wl=!1,this.Sl=!1,this._l=this._l.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this.Sl=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=Vt.get(n);if(u||(u=[],Vt.set(n,u),qt(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=$t.get(n);e&&setTimeout((function(){return Wt(1,i,e)}))}}}(this.gl,0,this._l)):function(n,t){!function(n,t,i){var r=Vt.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){Vt.delete(n),$t.delete(n);var u=n.ownerDocument.defaultView;u&&qt(u).unobserve(n)}}(n,0,t)}(this.gl,this._l))},t._l=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.Sl){this.Sl=i;var r=this.gl;i||r.pause()}},n}();function Kt(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}function Qt(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:self;return Ut&&Xt===t||(Ut=Kt((Xt=t).HTMLElement)),function(t){e(r,Ut);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()}function ni(){return Gt||(Gt=Mn({renderable:!0,playable:!0,loading:"auto"}))}function ti(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=ii(),c=f&&a.renderable,s=c&&o&&a.playable,v=Qn(c?"auto":"lazy",Qn(r,a.loading)),h=u||a.notify,d=Yn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return en(ni().Provider,{children:t,value:d})}function ii(){return $n(ni())}Zt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=M(n)}var t=n.prototype;return t.mutateElement=function(n){Y().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var ri=gt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(oi)},compute:function(n,t,i){return i&&t.reduce(oi,!0)||!1}}),ui=gt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(oi)},deps:[ri],compute:function(n,t,i,r){return r&&i&&t.reduce(oi,!0)||!1}}),ei=gt("Loading",{defaultValue:"auto",recursive:!0,deps:[ri],compute:function(n,t,i,r){return Qn(r?"auto":"lazy",Qn(i||"auto",t.reduce(Qn,"auto")))}}),oi=function(n,t){return n&&t};function li(){var n=0;return function(){return String(++n)}}var fi=function(n){return n.ensureLoaded()},ai=function(n){return n.pause()},ci=function(n){return n.unmount()};function si(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!1,fi)}function vi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!0,ai)}function hi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!0,ci)}function di(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)pi(u[e],t,i,r)}function pi(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(et(r,u),!i){var e=u.getPlaceholder();return void(e&&pi(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)et(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),et(r,a))}}}var yi={},mi=new WeakMap;function bi(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return en(gi,r(r({},i||yi),{},{name:t}));var e=mi.get(n);if(e&&j(e.oldProps,i))return e.component;function o(n){return en(gi,r(r({},i||yi),{},{name:t},n))}return mi.set(n,{oldProps:i,component:o}),o}function gi(n){var t=Fn(null);return wi(t,n),Nn((function(){n.postRender&&n.postRender()})),en("slot",r(r({},n),{},{ref:t}))}function wi(n,t){var i=null==t?void 0:t.loading,r=ii();Dn((function(){var t=n.current;return x(k(t)),xt(t,ri,gi,r.renderable),xt(t,ui,gi,r.playable),xt(t,ei,gi,r.loading),r.playable||Si(t,vi,!0),function(){var n;Mt(t,ri,gi),Mt(t,ui,gi),Mt(t,ei,gi),n=t,pt.rediscoverChildren(n)}}),[n,r]),Dn((function(){var t=n.current;return x(k(t)),"lazy"!=i&&Si(t,si,!0),function(){Si(t,hi,!1)}}),[n,i])}function Si(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var _i={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ji=li();function Oi(n,t){return Object.values(n).some(t)}var ki=function(n){return"string"==typeof n||!!n.selector},xi=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function Mi(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=_i:a.class="i-amphtml-fill-content"),Ai(n,a,f,t,e),e&&e.complete(),a}function Ai(n,t,i,r,u){if(Oi(i,ki))for(var e=function(n){return function(n,t){for(var i=[],r=n.firstElementChild;r;r=r.nextElementSibling)!H(r)&&i.push(r);return i}(n)}(r),o=0;o<e.length;o++){var l=e[o],f=zi(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;x(p||n.usesShadowDom);var b={};if(Ai(n,b,m,l,u),v)t[d]=bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);x(!s),g.push(p?Pi(l):bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(ji()),b))}}}for(var w in i){var S=i[w];x([S.attr,S.attrs,S.attrMatches,S.selector,S.passthrough,S.passthroughNonEmpty].filter(Boolean).length<=1);var _=void 0;if(S.passthrough?(x(n.usesShadowDom),_=[en(gi,{loading:"lazy"})]):S.passthroughNonEmpty?(x(n.usesShadowDom),_=R(r).every(xi)?null:[en(gi,{loading:"lazy"})]):S.attr?(_=r.getAttribute(S.attr),S.media&&null!=_&&(x(u),_=u.resolveListQuery(String(_)))):S.parseAttrs&&(x(S.attrs||S.attrMatches),_=S.parseAttrs(r)),null==_)null!=S.default&&(t[w]=S.default);else{var j="number"==S.type?parseFloat(_):"boolean"==S.type?null==(O=_)?void 0:"false"!==O:_;t[w]=j}}var O}function Pi(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return en(r,t)}function zi(n,t){for(var i in t){var r=t[i],u="string"==typeof r?r:r.selector;if(u&&E(n,u))return i}return null}var Ti={childList:!0},Ci={childList:!0,characterData:!0},Ei={childList:!0},Ii={"style":"display: contents; background: inherit;","part":"c"},Ri={"name":"i-amphtml-svc"},Hi={"i-amphtml-rendered":""},Ni=function(){return!0},Di=function(n){return!!n.media},Fi=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Li=function(n){e(u,n);var t=c(u);u.R1=function(){return!0},u.requiresShadowDom=function(){return this.usesShadowDom},u.usesLoading=function(){return this.loadable},u.prerenderAllowed=function(){return!this.usesLoading()},u.Component=function(){x(!1)};var i=u.prototype;function u(n){var i;return(i=t.call(this,n)).jl=i.getDefaultProps(),i.Ol={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.kl=!1,i.xl=null,i.Ml=null,i.Al=function(n){null!==n&&(i.xl?i.Pl(n):i.zl(n)),i.Ml=n,i.Tl()},i.Cl=null,i.El=null,i.Il=null,i.Rl=!1,i.Hl=null,i.Nl=function(){i.Rl=!1,i.Dl()},i.Fl=!1,i.Bi=!1,i.observer=null,i.Ll=new Jt(n),i.un=null,i}return i.getDefaultProps=function(){var n=this;return{"loading":"auto","onReadyState":function(t,i){n.Yl(t,i)},"onPlayingState":function(t){n.Vl(t)}}},i.init=function(){},i.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},i.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.$l(t)}));var i=t.props,u=Oi(i,ki)?Ti:null,e=Oi(i,Fi)?Ci:null,o=t.usesTemplate?Ei:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.un=Oi(i,Di)?new Pt(this.win,(function(){return n.ql()})):null;var l=t.staticProps,f=this.init();Object.assign(this.jl,l,f),this.checkPropsPostMutations(),_t(this.element,[],(function(){return function(){n.Bi=!1,n.Il&&kn(null,n.Il)}})),_t(this.element,[ri,ui,ei],(function(t,i,r){n.Ol.renderable=t,n.Ol.playable=i,n.Ol.loading=r,n.Bi=!0,n.ql()}));var a,c=t.useContexts;return 0!=c.length&&_t(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.El=i,n.ql()})),this.Hl=new K,this.ql(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Tl(),this.Hl.promise},i.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.kl=!0)},i.mountCallback=function(){kt(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.kl=!1)},i.unmountCallback=function(){var n;kt(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Vl(!1),null===(n=this.un)||void 0===n||n.dispose()},i.mutateProps=function(n){Object.assign(this.jl,n),this.ql()},i.api=function(){var n=this.Ml;return x(n),n},i.mutationObserverCallback=function(n){},i.checkPropsPostMutations=function(){},i.updatePropsForRendering=function(n){},i.isReady=function(n){return!0},i.$l=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o,l=r[u],f=t.attributeName;if(x(f),f==l.attr||null!==(e=l.attrs)&&void 0!==e&&e.includes(f)||null!==(o=l.attrMatches)&&void 0!==o&&o.call(l,f))return!0}return!1}return"childList"==i&&(Yi(t.addedNodes)||Yi(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.ql())},i.ql=function(){this.Rl||(this.Rl=!0,this.mutateElement(this.Nl))},i.Tl=function(){var n=this.Ml,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Yl(t)},i.Yl=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Vl("complete"==n),this.kl&&(this.kl=!1,this.mutateProps({"loading":"auto"}))},i.Dl=function(){var n,t,i,u=this;if(this.Bi){var e,o=this.constructor,l=o.detached,f=o.usesShadowDom,a=f?null:o.lightDomTag;if(!this.Il){var c=this.win.document;if(f){x(!l);var s=this.element.shadowRoot,v=s&&(e=s,z("c"),C(e,"> ".concat("c")));if(v)this.Fl=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||(x((o=new u.CSSStyleSheet).replaceSync),o.replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=F(c,"c",Ii),s.appendChild(v);var w=F(c,"slot",Ri);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Il=v,x(s),function(n,t){pt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;pt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Ni,-1),n=this.element,t=ri,this,null===(i=pt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var S=this.element;this.Il=S;var _=I(S,"i-amphtml-rendered")||F(c,a,Hi);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Il.appendChild(_)}else{var j=c.createElement("i-amphtml-c");this.Il=j,j.classList.add("i-amphtml-fill-content"),l||this.element.appendChild(j)}}var O=this.Il;x(O);var k=o.useContexts,M=this.El;if(0==k.length||null!=M){var A=Mi(o,this.element,this.Al,this.jl,this.un);if(this.updatePropsForRendering(A),this.isReady(A)){for(var P=en(o.Component,A),T=0;T<k.length;T++){x(M);var E=k[T].type,R=M[T];R&&(P=en(E.Provider,{value:R},P))}var H=en(ti,r({},this.Ol),P);if(this.Fl)this.Fl=!1,xn(H,O);else{var N=a?I(O,"i-amphtml-rendered"):null;N&&(N.__AMP_RENDERED=!0),kn(H,O,null!=N?N:void 0)}f||l||this.mutateElement((function(){return L(u.element,"amp:dom-update",void 0)})),this.Hl&&(this.Hl.resolve(void 0),this.Hl=null)}}}},i.getProp=function(n,t){return i=this.jl,r=n,w.call(i,r)?this.jl[n]:t;var i,r},i.getApi=function(){var n=this.xl;return n?Promise.resolve(n):(this.Cl||(this.Cl=new K),this.Cl.promise)},i.zl=function(n){for(var t=S(),i=Object.keys(n),r=0;r<i.length;r++){var u=i[r];this.Bl(t,u)}this.xl=t,this.Cl&&(this.Cl.resolve(t),this.Cl=null)},i.Pl=function(n){},i.triggerEvent=function(n,t,i){L(n,t,i)},i.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.kl=!0;else{var n,t=this.Ml;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},i.Vl=function(n){this.Ll.updatePlaying(n)},i.Bl=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.Ml;return x(n),n[t]},set:function(n){var r=i.Ml;x(r),r[t]=n}})},u}(Zt);function Yi(n){for(var t=0;t<n.length;t++){var i=n[t];if(k(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function Vi(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}t(Li,"staticProps",void 0),t(Li,"useContexts",[]),t(Li,"loadable",!1),t(Li,"unloadOnPause",!1),t(Li,"layoutSizeDefined",!1),t(Li,"lightDomTag",""),t(Li,"usesTemplate",!1),t(Li,"shadowCss",null),t(Li,"usesShadowDom",!1),t(Li,"detached",!1),t(Li,"delegatesFocus",!1),t(Li,"props",{});var $i,qi=["ref"],Bi="undefined"!=typeof Symbol&&(null===($i=Symbol.for)||void 0===$i?void 0:$i.call(Symbol,"react.forward_ref"))||3911,Wi=$.__b;function Zi(n){function t(t){var i=t.ref,r=Vi(t,qi);return n(r,i)}return t.$$typeof=Bi,t.render=t,t.prototype.isReactComponent=!0,t.Wl=!0,t}function Ui(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}function Xi(n){var t,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null!==(t=null!==(i=n.tabindex)&&void 0!==i?i:n.tabIndex)&&void 0!==t?t:r}$.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Wl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Wi||Wi(n)};var Gi=[null,"paint","layout","content","size","size paint","size layout","strict"],Ji={"position":"relative","width":"100%","height":"100%"};function Ki(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qi(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function nr(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}Zi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,S=n.wrapperStyle,_=n[i],j=(b?4:0)+(d?2:0)+(y?1:0);return en(e,r(r({},Vi(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(Ui))),{},{ref:t,class:"".concat(_||""," ").concat(w||"").trim()||null,style:r(r(r({},g),S),{},{contain:Gi[j]})}),en(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Ji),{},{"overflow":y?"hidden":"visible"},v)}),o))})),Zi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return en(e,r(r({},Vi(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(Ui))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var tr=["animate","as","children","expandSingleSection","id"],ir=["animate","as","children","expanded","id","onExpandStateChange"],rr=Mn({}),ur=Mn({}),er={},or={},lr=li(),fr=function(){return String(Math.floor(1e5*Math.random()))},ar=Zi((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=Vi(n,tr),h=Ki(Hn(er),2),d=h[0],p=h[1],y=Fn(or),m=Ki(Hn(fr),1)[0],b=s||"a".concat(m);Nn((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=Vn((function(n,i,u){var e=u.current;return p((function(t){return cr(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return _(t,n)})),y.current=_(y.current,n)}}),[c]),w=Vn((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=cr(n,r,i,c);return Y().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),S=Vn((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),j=Vn((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),O=Vn((function(n){if(n)S(n,!0)||w(n);else if(!c)for(var t in d)S(t,!0)||w(t)}),[d,w,S,c]),k=Vn((function(n){if(n)S(n,!1)&&w(n);else for(var t in d)S(t,!1)&&w(t)}),[d,w,S]);Ln(i,(function(){return{toggle:j,expand:O,collapse:k}}),[j,k,O]);var x=Yn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:S,animate:e,prefix:b}}),[g,w,S,e,b]);return en(l,r({id:s},v),en(rr.Provider,{value:x},f))}));function cr(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function sr(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=Vi(n,ir),v=Ki(Hn(lr),1)[0],h=a||v,d=Ki(Hn(fr),1)[0],p=Ki(Hn(f),2),y=p[0],m=p[1],b=Ki(Hn(null),2),g=b[0],w=b[1],S=Ki(Hn(null),2),_=S[0],j=S[1],O=$n(rr),k=O.animate,x=O.isExpanded,M=O.prefix,A=O.registerSection,P=O.toggleExpanded,z=x?x(h,f):y,T=null!=k?k:i,C=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),E=_||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Fn(null);I.current=c,Dn((function(){if(A)return A(h,f,I)}),[A,h,f]);var R=Vn((function(n){P?P(h,n):m((function(t){var i=null!=n?n:!t;return Y().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,P]),H=Yn((function(){return{animate:T,contentId:C,headerId:E,expanded:z,toggleHandler:R,setContentId:w,setHeaderId:j}}),[T,C,E,z,R]);return en(e,r({},s),en(ur.Provider,{value:H},o))}function vr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"button":l,a=n[t],c=void 0===a?"":a,s=Vi(n,["as","children","id","role",t].map(Ui)),v=$n(ur),h=v.contentId,d=v.expanded,p=v.headerId,y=v.setHeaderId,m=v.toggleHandler;return Dn((function(){y&&y(o)}),[y,o]),en(u,r(r({},s),{},{id:p,role:f,class:"".concat(c," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:Xi(s),"aria-controls":h,onClick:function(){return m()},"aria-expanded":String(d)}),e)}function hr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=Vi(n,["as","children","id","role",t].map(Ui)),v=Fn(null),h=Fn(!1),d=$n(ur),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Nn((function(){return h.current=!0,function(){return h.current=!1}}),[]),Dn((function(){g&&g(o)}),[g,o]),Dn((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Qi(n,(function(){var t=Nt(n,"height"),i=Nt(n,"opacity"),r=Nt(n,"overflowY");Dt(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Dt(n,{height:t,opacity:i,overflowY:r});var e=nr(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Qi(n,(function(){var t=n.offsetHeight,i=nr(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),en(ti,{renderable:m},en(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}ar.displayName="Accordion";var dr=function(n){e(i,Li);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(pr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),{"children":pr(i,r,t).children}},i}();function pr(n,t,i){var u,e,o,l,f;return{"children":(e=n,o="section",z(o),l=e,f="> ".concat(o),(u=A(l)?l.querySelectorAll(P(f,":scope")):T(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=O(n,"__AMP_H_SHIM",mr),e=O(n,"__AMP_C_SHIM",gr),o=O(n,"__AMP_EXPAND_STATE_SHIM",i),l={"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o},f={"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0},a={"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0};return en(sr,r({},l),en(vr,r({},f)),en(hr,r({},a)))}))}}function yr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Dn((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",x(e))}}),[n,l,u,o,e,i,r]),en("header",null)}var mr=function(n){return yr.bind(null,n)};function br(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Fn();return l.current=o,wi(l),function(n,t){Ln(n,(function(){return t}),[t])}(i,o),Dn((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),en("div",null)}var gr=function(n){return Zi(br.bind(null,n))};function wr(){!function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:self;i.customElements.define(n,Qt(t,i))}("bento-accordion",dr)} | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return wr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,g=Object.prototype,w=g.hasOwnProperty;function S(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function _(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function j(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function O(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function k(n){return 1==(null==n?void 0:n.nodeType)}function x(n,t,i,r,u,e,o,l,f,a,c){return n}function M(n){return(n.ownerDocument||n).defaultView}function A(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function z(n){x(/^[\w-]+$/.test(n))}function E(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=P(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function T(n,t){if(A(n))return n.querySelector(P(t,":scope"));var i=E(n,t)[0];return void 0===i?null:i}function C(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function I(n,t){return z(t),T(n,"> [".concat(t,"]"))}function R(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)!H(r)&&i.push(r);return i}(n)}function H(n){return"string"==typeof(t=n)?i=t:k(t)&&(i=t.tagName),!(!i||!i.toLowerCase().startsWith("i-"))||n.nodeType===Node.ELEMENT_NODE&&(n.hasAttribute("placeholder")||n.hasAttribute("fallback")||n.hasAttribute("overflow"));var t,i}g.toString;var N,L={bubbles:!0,cancelable:!0};function Y(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function F(n,t,i,r){var u=i||{};x(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||L,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function V(){return N||(N=Promise.resolve(void 0))}var $,q,B,W,D,Z,U,X,G,J,K=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},Q={},nn=[],tn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rn(n,t){for(var i in t)n[i]=t[i];return n}function un(n){var t=n.parentNode;t&&t.removeChild(n)}function en(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?$.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return on(n,o,r,u,null)}function on(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++B:u};return null==u&&null!=q.vnode&&q.vnode(e),e}function ln(n){return n.children}function fn(n,t){this.props=n,this.context=t}function an(n,t){if(null==t)return n.__?an(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?an(n):null}function cn(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return cn(n)}}function sn(n){(!n.__d&&(n.__d=!0)&&W.push(n)&&!vn.__r++||Z!==q.debounceRendering)&&((Z=q.debounceRendering)||D)(vn)}function vn(){for(var n;vn.__r=W.length;)n=W.sort((function(n,t){return n.__v.__b-t.__v.__b})),W=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=rn({},u)).__v=u.__v+1,wn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?an(u):e,u.__h),Sn(i,u),u.__e!=e&&cn(u)))}))}function hn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||nn,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?on(null,h,null,null,h):Array.isArray(h)?on(ln,{children:h},null,null,null):h.__b>0?on(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}wn(n,h,v=v||Q,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=dn(h,f,n):f=pn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=an(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=an(r,c+1)),jn(m[c],m[c]));if(y)for(c=0;c<y.length;c++)_n(y[c],y[++c],y[++c])}function dn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?dn(r,t,i):pn(i,r,r,u,r.__e,t));return t}function pn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function yn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||tn.test(t)?i:i+"px"}function mn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||yn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||yn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?gn:bn,e):n.removeEventListener(t,e?gn:bn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function bn(n){this.l[n.type+!1](q.event?q.event(n):n)}function gn(n){this.l[n.type+!0](q.event?q.event(n):n)}function wn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=q.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new fn(y,b),c.constructor=w,c.render=On),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=rn({},c.__s)),rn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=q.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=rn(rn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===ln&&null==a.key?a.props.children:a,hn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&$.call(n.childNodes),a=(s=i.props||Q).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||mn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||mn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,hn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&an(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&un(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&mn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&mn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=q.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),q.__e(n,t,i)}}function Sn(n,t){q.__c&&q.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){q.__e(n,t.__v)}}))}function _n(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){q.__e(n,i)}}function jn(n,t,i){var r,u;if(q.unmount&&q.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||_n(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){q.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&jn(r[u],t,"function"!=typeof n.type);i||null==n.__e||un(n.__e),n.__e=n.__d=void 0}function On(n,t,i){return this.constructor(n,i)}function kn(n,t,i){var r,u,e;q.__&&q.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],wn(t,n=(!r&&i||t).__k=en(ln,null,[n]),u||Q,Q,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?$.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),Sn(e,n)}function xn(n,t){kn(n,t,xn)}function Mn(n,t){var i={__c:t="__cC"+U++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(sn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}$=nn.slice,q={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},B=0,fn.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=rn({},this.state),"function"==typeof n&&(n=n(rn({},i),this.props)),n&&rn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),sn(this))},fn.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),sn(this))},fn.prototype.render=ln,W=[],D="function"==typeof Promise?Promise.prototype.then.bind(V()):setTimeout,vn.__r=0,U=0;var An=0,Pn=[],zn=q.__b,En=q.__r,Tn=q.diffed,Cn=q.__c,In=q.unmount;function Rn(n,t){q.__h&&q.__h(G,n,An||t),An=0;var i=G.__H||(G.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Hn(n){return An=1,function(n,t,i){var r=Rn(X++,2);return r.t=n,r.__c||(r.__=[Xn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=G),r.__}(Xn,n)}function Nn(n,t){var i=Rn(X++,3);!q.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__H.__h.push(i))}function Ln(n,t){var i=Rn(X++,4);!q.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__h.push(i))}function Yn(n){return An=5,Vn((function(){return{current:n}}),[])}function Fn(n,t,i){An=6,Ln((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Vn(n,t){var i=Rn(X++,7);return Un(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function $n(n,t){return An=8,Vn((function(){return n}),t)}function qn(n){var t=G.context[n.__c],i=Rn(X++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(G)),t.props.value):n.__}function Bn(){Pn.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Dn),n.__H.__h.forEach(Zn),n.__H.__h=[]}catch(t){n.__H.__h=[],q.__e(t,n.__v)}})),Pn=[]}q.__b=function(n){G=null,zn&&zn(n)},q.__r=function(n){En&&En(n),X=0;var t=(G=n.__c).__H;t&&(t.__h.forEach(Dn),t.__h.forEach(Zn),t.__h=[])},q.diffed=function(n){Tn&&Tn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==Pn.push(t)&&J===q.requestAnimationFrame||((J=q.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Wn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Wn&&(t=requestAnimationFrame(i))})(Bn)),G=null},q.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Dn),n.__h=n.__h.filter((function(n){return!n.__||Zn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],q.__e(i,n.__v)}})),Cn&&Cn(n,t)},q.unmount=function(n){In&&In(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Dn)}catch(n){q.__e(n,t.__v)}};var Wn="function"==typeof requestAnimationFrame;function Dn(n){var t=G;"function"==typeof n.__c&&n.__c(),G=t}function Zn(n){var t=G;n.__c=n.__(),G=t}function Un(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Xn(n,t){return"function"==typeof t?t(n):t}var Gn,Jn=["auto","lazy","eager","unload"],Kn=(t(Gn={},"auto",0),t(Gn,"lazy",1),t(Gn,"eager",2),t(Gn,"unload",3),Gn);function Qn(n,t){var i=Kn[n]||0,r=Kn[t]||0,u=Math.max(i,r);return Jn[u]}function nt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function tt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function it(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=tt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function rt(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ut(n){var t=it.apply(null,arguments);setTimeout((function(){throw rt(t),t}))}function et(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){ut(n)}}function ot(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&ot(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;ot(f,t,i,r,!0)}}var lt=[],ft=function(){},at=function(){function n(n){this.Nh=n,this.v=null,this.m=null,this.nl=nt(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){x(t),x(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),ht(n)&&ot(this.Nh,ct,n,!0,!1))},t.remove=function(n,t){x(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){x(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),ot(this.Nh,ct,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;dt(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&ot(this.Nh,st,void 0,lt)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){ht(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ht(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Nh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(ft):lt,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):lt,pingParent:ht(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.Fi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return ut("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){ut(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.Fi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;x(this.Fi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,vt,e,!1):null;this.rl(n,s)}var v=dt(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(dt)&&(!c||dt(v))){var d=this.Nh.node;a&&!o?h=a[0]:ht(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||lt,v,u):dt(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||lt,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,x(r),i&&i.values.unsubscribe(u,r),t&&(x(r),t.values.subscribe(u,r)))},n}();function ct(n,t){return n.values.scan(t)}function st(n,t,i){return n.values.scanAll(i)}function vt(n,t){return n.values.has(t)}function ht(n){return!!n.recursive}function dt(n){return void 0!==n}var pt=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new at(this),this.ll=null,this.fl=!1,this.al=nt(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(yt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(mt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||k(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,yt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,yt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(mt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(mt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){x(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(mt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),x(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(x(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function yt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=pt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,mt)}function mt(n){n.discover()}var bt=[];function gt(n,t){var i=r({key:n,deps:bt,recursive:!1},t);return x(0==i.deps.length||i.compute),i}var wt=[],St=function(){};function _t(n,t,i){t=v(t);var r=i;pt.get(n).subscribe(r,jt,i,t)}var jt=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(St):wt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):wt,this.Yn=!1,this.ml=null,this.yl=nt(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.Fi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.yl()},t.Fi=function(){return!!this.contextNode.root},t.yl=function(){this.Fi()&&(this.dl.every(Ot)?(this.Yn=!0,this.bl()):this.Yn&&(this.Yn=!1,this.Se()))},t.bl=function(){this.Se();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t.Se=function(){this.ml&&(et(this.ml),this.ml=null)},n}();function Ot(n){return void 0!==n}function kt(n){pt.get(n).discover()}function xt(n,t,i,r){pt.get(n).values.set(t,i,r)}function Mt(n,t,i){pt.get(n).values.remove(t,i)}var At,Pt=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,zt,"1")},t.resolveListQuery=function(n){return this.kt(n,Et,"")},t.complete=function(){for(var n in this._t)n in this.St||Tt(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)Tt(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(x(this._t),r=this._t[n]),r||Tt(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function zt(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function Et(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function Tt(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Ct=["Webkit","webkit","Moz","moz","ms","O","o"],It={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function Rt(n,t,i){if(Yt(t))return t;At||(At=S());var r=At[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Ct.length;i++){var r=Ct[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(At[t]=r)}return r}function Ht(n,t,i,r,u){var e=Rt(n.style,t,u);if(e){var o=r?i+r:i;Yt(e)?n.style.setProperty(e,o):n.style[e]=o}}function Nt(n,t,i){var r=Rt(n.style,t,i);if(r)return Yt(r)?n.style.getPropertyValue(r):n.style[r]}function Lt(n,t){for(var i in t)Ht(n,i,t[i])}function Yt(n){return n.startsWith("--")}var Ft=/vertical/,Vt=new WeakMap,$t=new WeakMap,qt=new WeakMap;function Bt(n){var t=Vt.get(n);return t||(t=new n.ResizeObserver(Wt),Vt.set(n,t)),t}function Wt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=$t.get(u);if(e){qt.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Dt(l.type,f,r)}}}}}function Dt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;et(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=M(a),s=Ft.test(function(n,t){return n.getComputedStyle(t)||It}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}et(t,e)}}var Zt,Ut,Xt,Gt,Jt=function(){function n(n){this.gl=n,this.wl=!1,this.Sl=!1,this._l=this._l.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this.Sl=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=$t.get(n);if(u||(u=[],$t.set(n,u),Bt(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=qt.get(n);e&&setTimeout((function(){return Dt(1,i,e)}))}}}(this.gl,0,this._l)):function(n,t){!function(n,t,i){var r=$t.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){$t.delete(n),qt.delete(n);var u=n.ownerDocument.defaultView;u&&Bt(u).unobserve(n)}}(n,0,t)}(this.gl,this._l))},t._l=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.Sl){this.Sl=i;var r=this.gl;i||r.pause()}},n}();function Kt(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}function Qt(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:self;return Ut&&Xt===t||(Ut=Kt((Xt=t).HTMLElement)),function(t){e(r,Ut);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()}function ni(){return Gt||(Gt=Mn({renderable:!0,playable:!0,loading:"auto"}))}function ti(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=ii(),c=f&&a.renderable,s=c&&o&&a.playable,v=Qn(c?"auto":"lazy",Qn(r,a.loading)),h=u||a.notify,d=Vn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return en(ni().Provider,{children:t,value:d})}function ii(){return qn(ni())}Zt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=M(n)}var t=n.prototype;return t.mutateElement=function(n){V().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var ri=gt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(oi)},compute:function(n,t,i){return i&&t.reduce(oi,!0)||!1}}),ui=gt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(oi)},deps:[ri],compute:function(n,t,i,r){return r&&i&&t.reduce(oi,!0)||!1}}),ei=gt("Loading",{defaultValue:"auto",recursive:!0,deps:[ri],compute:function(n,t,i,r){return Qn(r?"auto":"lazy",Qn(i||"auto",t.reduce(Qn,"auto")))}}),oi=function(n,t){return n&&t};function li(){var n=0;return function(){return String(++n)}}var fi=function(n){return n.ensureLoaded()},ai=function(n){return n.pause()},ci=function(n){return n.unmount()};function si(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!1,fi)}function vi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!0,ai)}function hi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];di(n,t,!0,ci)}function di(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)pi(u[e],t,i,r)}function pi(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(et(r,u),!i){var e=u.getPlaceholder();return void(e&&pi(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)et(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),et(r,a))}}}var yi={},mi=new WeakMap;function bi(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return en(gi,r(r({},i||yi),{},{name:t}));var e=mi.get(n);if(e&&j(e.oldProps,i))return e.component;function o(n){return en(gi,r(r({},i||yi),{},{name:t},n))}return mi.set(n,{oldProps:i,component:o}),o}function gi(n){var t=Yn(null);return wi(t,n),Nn((function(){n.postRender&&n.postRender()})),en("slot",r(r({},n),{},{ref:t}))}function wi(n,t){var i=null==t?void 0:t.loading,r=ii();Ln((function(){var t=n.current;return x(k(t)),xt(t,ri,gi,r.renderable),xt(t,ui,gi,r.playable),xt(t,ei,gi,r.loading),r.playable||Si(t,vi,!0),function(){var n;Mt(t,ri,gi),Mt(t,ui,gi),Mt(t,ei,gi),n=t,pt.rediscoverChildren(n)}}),[n,r]),Ln((function(){var t=n.current;return x(k(t)),"lazy"!=i&&Si(t,si,!0),function(){Si(t,hi,!1)}}),[n,i])}function Si(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var _i={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ji=li();function Oi(n,t){return Object.values(n).some(t)}var ki=function(n){return"string"==typeof n||!!n.selector},xi=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function Mi(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=_i:a.class="i-amphtml-fill-content"),Ai(n,a,f,t,e),e&&e.complete(),a}function Ai(n,t,i,r,u){if(Oi(i,ki))for(var e=function(n){return function(n,t){for(var i=[],r=n.firstElementChild;r;r=r.nextElementSibling)!H(r)&&i.push(r);return i}(n)}(r),o=0;o<e.length;o++){var l=e[o],f=zi(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;x(p||n.usesShadowDom);var b={};if(Ai(n,b,m,l,u),v)t[d]=bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);x(!s),g.push(p?Pi(l):bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(ji()),b))}}}for(var w in i){var S=i[w];x([S.attr,S.attrs,S.attrMatches,S.selector,S.passthrough,S.passthroughNonEmpty].filter(Boolean).length<=1);var _=void 0;if(S.passthrough?(x(n.usesShadowDom),_=[en(gi,{loading:"lazy"})]):S.passthroughNonEmpty?(x(n.usesShadowDom),_=R(r).every(xi)?null:[en(gi,{loading:"lazy"})]):S.attr?(_=r.getAttribute(S.attr),S.media&&null!=_&&(x(u),_=u.resolveListQuery(String(_)))):S.parseAttrs&&(x(S.attrs||S.attrMatches),_=S.parseAttrs(r)),null==_)null!=S.default&&(t[w]=S.default);else{var j="number"==S.type?parseFloat(_):"boolean"==S.type?null==(O=_)?void 0:"false"!==O:_;t[w]=j}}var O}function Pi(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return en(r,t)}function zi(n,t){for(var i in t){var r=t[i],u="string"==typeof r?r:r.selector;if(u&&C(n,u))return i}return null}var Ei={childList:!0},Ti={childList:!0,characterData:!0},Ci={childList:!0},Ii={"style":"display: contents; background: inherit;","part":"c"},Ri={"name":"i-amphtml-svc"},Hi={"i-amphtml-rendered":""},Ni=function(){return!0},Li=function(n){return!!n.media},Yi=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Fi=function(n){e(u,n);var t=c(u);u.R1=function(){return!0},u.requiresShadowDom=function(){return this.usesShadowDom},u.usesLoading=function(){return this.loadable},u.prerenderAllowed=function(){return!this.usesLoading()},u.Component=function(){x(!1)};var i=u.prototype;function u(n){var i;return(i=t.call(this,n)).jl=i.getDefaultProps(),i.Ol={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.kl=!1,i.xl=null,i.Ml=null,i.Al=function(n){null!==n&&(i.xl?i.Pl(n):i.zl(n)),i.Ml=n,i.El()},i.Tl=null,i.Cl=null,i.Il=null,i.Rl=!1,i.Hl=null,i.Nl=function(){i.Rl=!1,i.Ll()},i.Yl=!1,i.Bi=!1,i.observer=null,i.Fl=new Jt(n),i.un=null,i}return i.getDefaultProps=function(){var n=this;return{"loading":"auto","onReadyState":function(t,i){n.Vl(t,i)},"onPlayingState":function(t){n.$l(t)}}},i.init=function(){},i.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},i.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.ql(t)}));var i=t.props,u=Oi(i,ki)?Ei:null,e=Oi(i,Yi)?Ti:null,o=t.usesTemplate?Ci:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.un=Oi(i,Li)?new Pt(this.win,(function(){return n.Bl()})):null;var l=t.staticProps,f=this.init();Object.assign(this.jl,l,f),this.checkPropsPostMutations(),_t(this.element,[],(function(){return function(){n.Bi=!1,n.Il&&kn(null,n.Il)}})),_t(this.element,[ri,ui,ei],(function(t,i,r){n.Ol.renderable=t,n.Ol.playable=i,n.Ol.loading=r,n.Bi=!0,n.Bl()}));var a,c=t.useContexts;return 0!=c.length&&_t(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Cl=i,n.Bl()})),this.Hl=new K,this.Bl(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.El(),this.Hl.promise},i.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.kl=!0)},i.mountCallback=function(){kt(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.kl=!1)},i.unmountCallback=function(){var n;kt(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.$l(!1),null===(n=this.un)||void 0===n||n.dispose()},i.mutateProps=function(n){Object.assign(this.jl,n),this.Bl()},i.api=function(){var n=this.Ml;return x(n),n},i.mutationObserverCallback=function(n){},i.checkPropsPostMutations=function(){},i.updatePropsForRendering=function(n){},i.isReady=function(n){return!0},i.ql=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o,l=r[u],f=t.attributeName;if(x(f),f==l.attr||null!==(e=l.attrs)&&void 0!==e&&e.includes(f)||null!==(o=l.attrMatches)&&void 0!==o&&o.call(l,f))return!0}return!1}return"childList"==i&&(Vi(t.addedNodes)||Vi(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.Bl())},i.Bl=function(){this.Rl||(this.Rl=!0,this.mutateElement(this.Nl))},i.El=function(){var n=this.Ml,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Vl(t)},i.Vl=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.$l("complete"==n),this.kl&&(this.kl=!1,this.mutateProps({"loading":"auto"}))},i.Ll=function(){var n,t,i,u=this;if(this.Bi){var e,o=this.constructor,l=o.detached,f=o.usesShadowDom,a=f?null:o.lightDomTag;if(!this.Il){var c=this.win.document;if(f){x(!l);var s=this.element.shadowRoot,v=s&&(e=s,z("c"),T(e,"> ".concat("c")));if(v)this.Yl=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||(x((o=new u.CSSStyleSheet).replaceSync),o.replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=Y(c,"c",Ii),s.appendChild(v);var w=Y(c,"slot",Ri);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Il=v,x(s),function(n,t){pt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;pt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Ni,-1),n=this.element,t=ri,this,null===(i=pt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var S=this.element;this.Il=S;var _=I(S,"i-amphtml-rendered")||Y(c,a,Hi);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Il.appendChild(_)}else{var j=c.createElement("i-amphtml-c");this.Il=j,j.classList.add("i-amphtml-fill-content"),l||this.element.appendChild(j)}}var O=this.Il;x(O);var k=o.useContexts,M=this.Cl;if(0==k.length||null!=M){var A=Mi(o,this.element,this.Al,this.jl,this.un);if(this.updatePropsForRendering(A),this.isReady(A)){for(var P=en(o.Component,A),E=0;E<k.length;E++){x(M);var C=k[E].type,R=M[E];R&&(P=en(C.Provider,{value:R},P))}var H=en(ti,r({},this.Ol),P);try{if(this.Yl)this.Yl=!1,xn(H,O);else{var N=a?I(O,"i-amphtml-rendered"):null;N&&(N.__AMP_RENDERED=!0),kn(H,O,null!=N?N:void 0)}}catch(n){var L;throw null===(L=this.Hl)||void 0===L||L.reject(n),n}f||l||this.mutateElement((function(){return F(u.element,"amp:dom-update",void 0)})),this.Hl&&(this.Hl.resolve(void 0),this.Hl=null)}}}},i.getProp=function(n,t){return i=this.jl,r=n,w.call(i,r)?this.jl[n]:t;var i,r},i.getApi=function(){var n=this.xl;return n?Promise.resolve(n):(this.Tl||(this.Tl=new K),this.Tl.promise)},i.zl=function(n){for(var t=S(),i=Object.keys(n),r=0;r<i.length;r++){var u=i[r];this.Wl(t,u)}this.xl=t,this.Tl&&(this.Tl.resolve(t),this.Tl=null)},i.Pl=function(n){},i.triggerEvent=function(n,t,i){F(n,t,i)},i.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.kl=!0;else{var n,t=this.Ml;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},i.$l=function(n){this.Fl.updatePlaying(n)},i.Wl=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.Ml;return x(n),n[t]},set:function(n){var r=i.Ml;x(r),r[t]=n}})},u}(Zt);function Vi(n){for(var t=0;t<n.length;t++){var i=n[t];if(k(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function $i(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}Fi.staticProps=void 0,Fi.useContexts=[],Fi.loadable=!1,Fi.unloadOnPause=!1,Fi.layoutSizeDefined=!1,Fi.lightDomTag="",Fi.usesTemplate=!1,Fi.shadowCss=null,Fi.usesShadowDom=!1,Fi.detached=!1,Fi.delegatesFocus=!1,Fi.props={};var qi,Bi=["ref"],Wi="undefined"!=typeof Symbol&&(null===(qi=Symbol.for)||void 0===qi?void 0:qi.call(Symbol,"react.forward_ref"))||3911,Di=q.__b;function Zi(n){function t(t){var i=t.ref,r=$i(t,Bi);return n(r,i)}return t.$$typeof=Wi,t.render=t,t.prototype.isReactComponent=!0,t.Dl=!0,t}function Ui(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}function Xi(n){var t,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null!==(t=null!==(i=n.tabindex)&&void 0!==i?i:n.tabIndex)&&void 0!==t?t:r}q.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Dl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Di||Di(n)};var Gi=[null,"paint","layout","content","size","size paint","size layout","strict"],Ji={"position":"relative","width":"100%","height":"100%"};function Ki(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qi(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function nr(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}Zi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,S=n.wrapperStyle,_=n[i],j=(b?4:0)+(d?2:0)+(y?1:0);return en(e,r(r({},$i(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(Ui))),{},{ref:t,class:"".concat(_||""," ").concat(w||"").trim()||null,style:r(r(r({},g),S),{},{contain:Gi[j]})}),en(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Ji),{},{"overflow":y?"hidden":"visible"},v)}),o))})),Zi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return en(e,r(r({},$i(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(Ui))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var tr=["animate","as","children","expandSingleSection","id"],ir=["animate","as","children","expanded","id","onExpandStateChange"],rr=Mn({}),ur=Mn({}),er={},or={},lr=li(),fr=function(){return String(Math.floor(1e5*Math.random()))},ar=Zi((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=$i(n,tr),h=Ki(Hn(er),2),d=h[0],p=h[1],y=Yn(or),m=Ki(Hn(fr),1)[0],b=s||"a".concat(m);Nn((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=$n((function(n,i,u){var e=u.current;return p((function(t){return cr(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return _(t,n)})),y.current=_(y.current,n)}}),[c]),w=$n((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=cr(n,r,i,c);return V().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),S=$n((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),j=$n((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),O=$n((function(n){if(n)S(n,!0)||w(n);else if(!c)for(var t in d)S(t,!0)||w(t)}),[d,w,S,c]),k=$n((function(n){if(n)S(n,!1)&&w(n);else for(var t in d)S(t,!1)&&w(t)}),[d,w,S]);Fn(i,(function(){return{toggle:j,expand:O,collapse:k}}),[j,k,O]);var x=Vn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:S,animate:e,prefix:b}}),[g,w,S,e,b]);return en(l,r({id:s},v),en(rr.Provider,{value:x},f))}));function cr(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function sr(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=$i(n,ir),v=Ki(Hn(lr),1)[0],h=a||v,d=Ki(Hn(fr),1)[0],p=Ki(Hn(f),2),y=p[0],m=p[1],b=Ki(Hn(null),2),g=b[0],w=b[1],S=Ki(Hn(null),2),_=S[0],j=S[1],O=qn(rr),k=O.animate,x=O.isExpanded,M=O.prefix,A=O.registerSection,P=O.toggleExpanded,z=x?x(h,f):y,E=null!=k?k:i,T=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),C=_||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Yn(null);I.current=c,Ln((function(){if(A)return A(h,f,I)}),[A,h,f]);var R=$n((function(n){P?P(h,n):m((function(t){var i=null!=n?n:!t;return V().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,P]),H=Vn((function(){return{animate:E,contentId:T,headerId:C,expanded:z,toggleHandler:R,setContentId:w,setHeaderId:j}}),[E,T,C,z,R]);return en(e,r({},s),en(ur.Provider,{value:H},o))}function vr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"button":l,a=n[t],c=void 0===a?"":a,s=$i(n,["as","children","id","role",t].map(Ui)),v=qn(ur),h=v.contentId,d=v.expanded,p=v.headerId,y=v.setHeaderId,m=v.toggleHandler;return Ln((function(){y&&y(o)}),[y,o]),en(u,r(r({},s),{},{id:p,role:f,class:"".concat(c," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabindex:Xi(s),"aria-controls":h,onClick:function(){return m()},"aria-expanded":String(d)}),e)}function hr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=$i(n,["as","children","id","role",t].map(Ui)),v=Yn(null),h=Yn(!1),d=qn(ur),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Nn((function(){return h.current=!0,function(){return h.current=!1}}),[]),Ln((function(){g&&g(o)}),[g,o]),Ln((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Qi(n,(function(){var t=Nt(n,"height"),i=Nt(n,"opacity"),r=Nt(n,"overflowY");Lt(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Lt(n,{height:t,opacity:i,overflowY:r});var e=nr(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Qi(n,(function(){var t=n.offsetHeight,i=nr(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),en(ti,{renderable:m},en(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}ar.displayName="Accordion";var dr=function(n){e(i,Fi);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(pr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),{"children":pr(i,r,t).children}},i}();function pr(n,t,i){var u,e,o,l,f;return{"children":(e=n,o="section",z(o),l=e,f="> ".concat(o),(u=A(l)?l.querySelectorAll(P(f,":scope")):E(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=O(n,"__AMP_H_SHIM",mr),e=O(n,"__AMP_C_SHIM",gr),o=O(n,"__AMP_EXPAND_STATE_SHIM",i),l={"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o},f={"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0},a={"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0};return en(sr,r({},l),en(vr,r({},f)),en(hr,r({},a)))}))}}function yr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Ln((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",x(e))}}),[n,l,u,o,e,i,r]),en("header",null)}var mr=function(n){return yr.bind(null,n)};function br(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Yn();return l.current=o,wi(l),function(n,t){Fn(n,(function(){return t}),[t])}(i,o),Ln((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),en("div",null)}var gr=function(n){return Zi(br.bind(null,n))};function wr(){!function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:self;i.customElements.define(n,Qt(t,i))}("bento-accordion",dr)} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */dr.Component=ar,dr.detached=!0,dr.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}}; |
@@ -1,2 +0,2 @@ | ||
function t(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function n(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function i(i){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(n){t(i,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))}))}return i}var{isArray:e}=Array;function r(t){return e(t)?t:[t]}function o(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function u(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var{hasOwnProperty:c,toString:a}=Object.prototype;function f(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function h(t,n){return Object.keys(t).reduce(((i,e)=>(n.includes(e)||(i[e]=t[e]),i)),{})}function d(t,n,i){let e=t[n];return void 0===e&&(e=i(t,n),t[n]=e),e}function p(t){return 1==(null==t?void 0:t.nodeType)}function v(t,n,i,e,r,o,s,l,u,c,a){return t}function y(t){return(t.ownerDocument||t).defaultView}function m(t,n){return t.replace(/^|,/g,`$&${n} `)}function b(t){v(/^[\w-]+$/.test(t))}function g(t,n){return t.querySelector(m(n,":scope"))}function _(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function P(t,n){return b(n),g(t,`> [${n}]`)}function A(t){return function(t,n){const i=[];for(let n=t.firstChild;n;n=n.nextSibling)!w(n)&&i.push(n);return i}(t)}function w(t){return!!function(t){let n;return"string"==typeof t?n=t:p(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var S,k={bubbles:!0,cancelable:!0};function M(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function x(t,n,i,e){const r=i||{};v(t.ownerDocument);const o=t.ownerDocument.createEvent("Event");o.data=r;const{bubbles:s,cancelable:l}=e||k;o.initEvent(n,s,l),t.dispatchEvent(o)}function I(){return S||(S=Promise.resolve(void 0))}var T,E,R,C,V,O,j,z,$,N,D=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},L={},H=[],U=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(t,n){for(var i in n)t[i]=n[i];return t}function q(t){var n=t.parentNode;n&&n.removeChild(t)}function F(t,n,i){var e,r,o,s={};for(o in n)"key"==o?e=n[o]:"ref"==o?r=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?T.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===s[o]&&(s[o]=t.defaultProps[o]);return Y(t,s,e,r,null)}function Y(t,n,i,e,r){var o={type:t,props:n,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++R:r};return null==r&&null!=E.vnode&&E.vnode(o),o}function B(t){return t.children}function G(t,n){this.props=t,this.context=n}function Q(t,n){if(null==n)return t.__?Q(t.__,t.__.__k.indexOf(t)+1):null;for(var i;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e)return i.__e;return"function"==typeof t.type?Q(t):null}function Z(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return Z(t)}}function X(t){(!t.__d&&(t.__d=!0)&&C.push(t)&&!J.__r++||O!==E.debounceRendering)&&((O=E.debounceRendering)||V)(J)}function J(){for(var t;J.__r=C.length;)t=C.sort((function(t,n){return t.__v.__b-n.__v.__b})),C=[],t.some((function(t){var n,i,e,r,o,s;t.__d&&(o=(r=(n=t).__v).__e,(s=n.__P)&&(i=[],(e=W({},r)).__v=r.__v+1,st(s,r,e,n.__n,void 0!==s.ownerSVGElement,null!=r.__h?[o]:null,i,null==o?Q(r):o,r.__h),lt(i,r),r.__e!=o&&Z(r)))}))}function K(t,n,i,e,r,o,s,l,u,c){var a,f,h,d,p,v,y,m=e&&e.__k||H,b=m.length;for(i.__k=[],a=0;a<n.length;a++)if(null!=(d=i.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?Y(null,d,null,null,d):Array.isArray(d)?Y(B,{children:d},null,null,null):d.__b>0?Y(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(h=m[a])||h&&d.key==h.key&&d.type===h.type)m[a]=void 0;else for(f=0;f<b;f++){if((h=m[f])&&d.key==h.key&&d.type===h.type){m[f]=void 0;break}h=null}st(t,d,h=h||L,r,o,s,l,u,c),p=d.__e,(f=d.ref)&&h.ref!=f&&(y||(y=[]),h.ref&&y.push(h.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=tt(d,u,t):u=nt(t,d,h,m,p,u),"function"==typeof i.type&&(i.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=Q(h))}for(i.__e=v,a=b;a--;)null!=m[a]&&("function"==typeof i.type&&null!=m[a].__e&&m[a].__e==i.__d&&(i.__d=Q(e,a+1)),ct(m[a],m[a]));if(y)for(a=0;a<y.length;a++)ut(y[a],y[++a],y[++a])}function tt(t,n,i){for(var e,r=t.__k,o=0;r&&o<r.length;o++)(e=r[o])&&(e.__=t,n="function"==typeof e.type?tt(e,n,i):nt(i,e,e,r,e.__e,n));return n}function nt(t,n,i,e,r,o){var s,l,u;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==i||r!=o||null==r.parentNode)t:if(null==o||o.parentNode!==t)t.appendChild(r),s=null;else{for(l=o,u=0;(l=l.nextSibling)&&u<e.length;u+=2)if(l==r)break t;t.insertBefore(r,o),s=o}return void 0!==s?s:r.nextSibling}function it(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||U.test(n)?i:i+"px"}function et(t,n,i,e,r){var o;t:if("style"===n)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof e&&(t.style.cssText=e=""),e)for(n in e)i&&n in i||it(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||it(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+o]=i,i?e||t.addEventListener(n,o?ot:rt,o):t.removeEventListener(n,o?ot:rt,o);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null!=i&&(!1!==i||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,i):t.removeAttribute(n))}}function rt(t){this.l[t.type+!1](E.event?E.event(t):t)}function ot(t){this.l[t.type+!0](E.event?E.event(t):t)}function st(t,n,i,e,r,o,s,l,u){var c,a,f,h,d,p,v,y,m,b,g,_=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(u=i.__h,l=n.__e=i.__e,n.__h=null,o=[l]),(c=E.__b)&&c(n);try{t:if("function"==typeof _){if(y=n.props,m=(c=_.contextType)&&e[c.__c],b=c?m?m.props.value:c.__:e,i.__c?v=(a=n.__c=i.__c).__=a.__E:("prototype"in _&&_.prototype.render?n.__c=a=new _(y,b):(n.__c=a=new G(y,b),a.constructor=_,a.render=at),m&&m.sub(a),a.props=y,a.state||(a.state={}),a.context=b,a.__n=e,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=_.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=W({},a.__s)),W(a.__s,_.getDerivedStateFromProps(y,a.__s))),h=a.props,d=a.state,f)null==_.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==_.getDerivedStateFromProps&&y!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(y,b),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(y,a.__s,b)||n.__v===i.__v){a.props=y,a.state=a.__s,n.__v!==i.__v&&(a.__d=!1),a.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),a.__h.length&&s.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(y,a.__s,b),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(h,d,p)}))}a.context=b,a.props=y,a.state=a.__s,(c=E.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=t,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(e=W(W({},e),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(p=a.getSnapshotBeforeUpdate(h,d)),g=null!=c&&c.type===B&&null==c.key?c.props.children:c,K(t,Array.isArray(g)?g:[g],n,i,e,r,o,s,l,u),a.base=n.__e,n.__h=null,a.__h.length&&s.push(a),v&&(a.__E=a.__=null),a.__e=!1}else null==o&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,r,o,s,l){var u,c,a,f=i.props,h=n.props,d=n.type,p=0;if("svg"===d&&(r=!0),null!=o)for(;p<o.length;p++)if((u=o[p])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,o[p]=null;break}if(null==t){if(null===d)return document.createTextNode(h);t=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),o=null,l=!1}if(null===d)f===h||l&&t.data===h||(t.data=h);else{if(o=o&&T.call(t.childNodes),c=(f=i.props||L).dangerouslySetInnerHTML,a=h.dangerouslySetInnerHTML,!l){if(null!=o)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===t.innerHTML)||(t.innerHTML=a&&a.__html||""))}if(function(t,n,i,e,r){var o;for(o in i)"children"===o||"key"===o||o in n||et(t,o,null,i[o],e);for(o in n)r&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||i[o]===n[o]||et(t,o,n[o],i[o],e)}(t,h,f,r,l),a)n.__k=[];else if(p=n.props.children,K(t,Array.isArray(p)?p:[p],n,i,e,r&&"foreignObject"!==d,o,s,o?o[0]:i.__k&&Q(i,0),l),null!=o)for(p=o.length;p--;)null!=o[p]&&q(o[p]);l||("value"in h&&void 0!==(p=h.value)&&(p!==t.value||"progress"===d&&!p)&&et(t,"value",p,f.value,!1),"checked"in h&&void 0!==(p=h.checked)&&p!==t.checked&&et(t,"checked",p,f.checked,!1))}return t}(i.__e,n,i,e,r,o,s,u);(c=E.diffed)&&c(n)}catch(t){n.__v=null,(u||null!=o)&&(n.__e=l,n.__h=!!u,o[o.indexOf(l)]=null),E.__e(t,n,i)}}function lt(t,n){E.__c&&E.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){E.__e(t,n.__v)}}))}function ut(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){E.__e(t,i)}}function ct(t,n,i){var e,r;if(E.unmount&&E.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||ut(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){E.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(r=0;r<e.length;r++)e[r]&&ct(e[r],n,"function"!=typeof t.type);i||null==t.__e||q(t.__e),t.__e=t.__d=void 0}function at(t,n,i){return this.constructor(t,i)}function ft(t,n,i){var e,r,o;E.__&&E.__(t,n),r=(e="function"==typeof i)?null:i&&i.__k||n.__k,o=[],st(n,t=(!e&&i||n).__k=F(B,null,[t]),r||L,L,void 0!==n.ownerSVGElement,!e&&i?[i]:r?null:n.firstChild?T.call(n.childNodes):null,o,!e&&i?i:r?r.__e:n.firstChild,e),lt(o,t)}function ht(t,n){ft(t,n,ht)}function dt(t,n){var i={__c:n="__cC"+j++,__:t,Consumer:function(t,n){return t.children(n)},Provider:function(t){var i,e;return this.getChildContext||(i=[],(e={})[n]=this,this.getChildContext=function(){return e},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&i.some(X)},this.sub=function(t){i.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){i.splice(i.indexOf(t),1),n&&n.call(t)}}),t.children}};return i.Provider.__=i.Consumer.contextType=i}T=H.slice,E={__e:function(t,n){for(var i,e,r;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),r=i.__d),r)return i.__E=i}catch(n){t=n}throw t}},R=0,G.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof t&&(t=t(W({},i),this.props)),t&&W(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),X(this))},G.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),X(this))},G.prototype.render=B,C=[],V="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,J.__r=0,j=0;var pt=0,vt=[],yt=E.__b,mt=E.__r,bt=E.diffed,gt=E.__c,_t=E.unmount;function Pt(t,n){E.__h&&E.__h($,t,pt||n),pt=0;var i=$.__H||($.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function At(t){return pt=1,function(t,n,i){var e=Pt(z++,2);return e.t=t,e.__c||(e.__=[jt(void 0,n),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=$),e.__}(jt,t)}function wt(t,n){var i=Pt(z++,3);!E.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,$.__H.__h.push(i))}function St(t,n){var i=Pt(z++,4);!E.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,$.__h.push(i))}function kt(t){return pt=5,xt((function(){return{current:t}}),[])}function Mt(t,n,i){pt=6,St((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==i?i:i.concat(t))}function xt(t,n){var i=Pt(z++,7);return Ot(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function It(t,n){return pt=8,xt((function(){return t}),n)}function Tt(t){var n=$.context[t.__c],i=Pt(z++,9);return i.c=t,n?(null==i.__&&(i.__=!0,n.sub($)),n.props.value):t.__}function Et(){vt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Ct),t.__H.__h.forEach(Vt),t.__H.__h=[]}catch(n){t.__H.__h=[],E.__e(n,t.__v)}})),vt=[]}E.__b=function(t){$=null,yt&&yt(t)},E.__r=function(t){mt&&mt(t),z=0;var n=($=t.__c).__H;n&&(n.__h.forEach(Ct),n.__h.forEach(Vt),n.__h=[])},E.diffed=function(t){bt&&bt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&N===E.requestAnimationFrame||((N=E.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Rt&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Rt&&(n=requestAnimationFrame(i))})(Et)),$=null},E.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Ct),t.__h=t.__h.filter((function(t){return!t.__||Vt(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],E.__e(i,t.__v)}})),gt&>(t,n)},E.unmount=function(t){_t&&_t(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Ct)}catch(t){E.__e(t,n.__v)}};var Rt="function"==typeof requestAnimationFrame;function Ct(t){var n=$;"function"==typeof t.__c&&t.__c(),$=n}function Vt(t){var n=$;t.__c=t.__(),$=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function jt(t,n){return"function"==typeof n?n(t):n}var zt=["auto","lazy","eager","unload"],$t={auto:0,lazy:1,eager:2,unload:3};function Nt(t,n){const i=$t[t]||0,e=$t[n]||0,r=Math.max(i,e);return zt[r]}function Dt(t,n){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Lt(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,r=new Error(i);for(const n in t)r[n]=t[n];return r.stack=e,r}function Ht(t){let n=null,i="";for(var e,r=u(arguments,!0);!(e=r()).done;){const t=e.value;t instanceof Error&&!n?n=Lt(t):(i&&(i+=" "),i+=t)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function Ut(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Wt(t){const n=Ht.apply(null,arguments);setTimeout((()=>{throw Ut(n),n}))}function qt(t,...n){try{return t.apply(null,n)}catch(t){Wt(t)}}function Ft(t,n,i,e=!0,r=!0){if(r){const r=n(t,i,e);r&&Ft(t,n,i,r,!1)}else if(t.children)for(var o,s=u(t.children,!0);!(o=s()).done;)Ft(o.value,n,i,e,!0)}var Yt=[],Bt=()=>{};function Gt(t,n){return t.values.scan(n)}function Qt(t,n,i){return t.values.scanAll(i)}function Zt(t,n){return t.values.has(n)}function Xt(t){return!!t.recursive}function Jt(t){return void 0!==t}var Kt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Kt(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let i=t;for(;i;){if(i!=t||n){if(i.__AMP_NODE)return i.__AMP_NODE;const{nodeType:t}=i;if(9==t||11==t||p(i)&&i.tagName.startsWith("AMP-"))return Kt.get(i)}i=i.__AMP_ASSIGNED_SLOT||i.assignedSlot||i.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,tn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,tn(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(nn)}constructor(t,n){this.node=t,this.name=n,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.Ze=t,this.v=null,this.m=null,this.el=Dt(this.el.bind(this),setTimeout)}set(t,n,i){v(n),v(void 0!==i);const{key:e}=t,r=this.v||(this.v=new Map);let o=r.get(e);o||(o={values:[],setters:[]},r.set(e,o));const s=o.setters.indexOf(n),l=-1==s||o.values[s]!==i;-1==s?(o.setters.push(n),o.values.push(i)):l&&(o.values[s]=i),l&&(this.ping(t,!1),Xt(t)&&Ft(this.Ze,Gt,t,!0,!1))}remove(t,n){v(n);const{key:i}=t,e=this.v,r=null==e?void 0:e.get(i);if(r){v(e);const o=r.setters.indexOf(n);-1!=o&&(r.setters.splice(o,1),r.values.splice(o,1),0==r.setters.length&&e.delete(i),Ft(this.Ze,Gt,t))}}has(t){var n;return!(null===(n=this.v)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.Sa(t);if(!o(i.subscribers,n))return;const e=i.value;Jt(e)&&this.hi()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.m)||void 0===i?void 0:i.get(t.key);e&&s(e.subscribers,n)&&this.ka(e)}ping(t,n){var i,e;null===(i=this.m)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.hi()&&Ft(this.Ze,Qt,void 0,Yt)}rootUpdated(){const t=this.m;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Xt(n)&&this.Ia(t,null)})))}scan(t){return this.ping(t,!0),!!Xt(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.m;return i&&i.forEach((i=>{const{prop:e}=i,{key:r}=e;-1==(n||t).indexOf(r)&&(this.ping(e,!0),this.Ze.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(r)))})),n||t}hi(){return!!this.Ze.root}Sa(t){const{deps:n,key:i}=t,e=this.m||(this.m=new Map);let r=e.get(i);return r||(r={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(Bt):Yt,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;r.pending=Math.max(r.pending,n),this.el()}},pingDep:n.length>0?n.map(((t,n)=>t=>{r.depValues[n]=t,r.ping()})):Yt,pingParent:Xt(t)?t=>{r.parentValue=t,r.ping()}:null},e.set(i,r),n.forEach(((t,n)=>this.subscribe(t,r.pingDep[n]))),r.ping(!1)),r}ka(t){var n;if(t.subscribers.length>0)return;const{pingDep:i,prop:e}=t,{deps:r,key:o}=e;null===(n=this.m)||void 0===n||n.delete(o),this.Ia(t,null),r.length>0&&r.forEach(((t,n)=>{this.unsubscribe(t,i[n])}))}el(){if(!this.hi())return;const t=this.m;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:i}=t.prop;if(t.counter++,t.counter>5)return Wt(`cyclical prop: ${i}`),void(t.pending=0);n++,this.Ra(t)}}))}while(n>0)}Ra(t){const n=2==t.pending;let i;try{i=this.Ca(t,n)}catch(t){Wt(t)}t.pending=0,this.Va(t,i)}Va(t,n){const{prop:i,value:e}=t,{key:r}=i,o=this.m;if(e===n||t!==(null==o?void 0:o.get(r))||!this.hi())return;t.value=n;const{subscribers:s}=t;for(var l,c=u(s,!0);!(l=c()).done;)(0,l.value)(n)}Ca(t,n){var i,e;v(this.hi());const{depValues:r,prop:o}=t,{compute:s,defaultValue:l,key:u}=o,c=null===(i=this.v)||void 0===i||null===(e=i.get(u))||void 0===e?void 0:e.values,a=function(t,n){const{compute:i,recursive:e}=t;return"function"==typeof e?!n||e(n):!(e&&n&&!i)&&e}(o,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let r=e?t:t.parent;r;r=r.parent)if(n(r,i))return r;return null}(this.Ze,Zt,o,!1):null;this.Ia(t,n)}const f=Jt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?l:void 0;let h;if(r.every(Jt)&&(!a||Jt(f))){const{node:t}=this.Ze;c&&!s?h=c[0]:Xt(o)?c||r.length>0?h=function(t,n,i,e,r){switch(r.length){case 0:return t(n,i,e);case 1:return t(n,i,e,r[0]);case 2:return t(n,i,e,r[0],r[1]);case 3:return t(n,i,e,r[0],r[1],r[2]);default:return t.apply(null,[n,i,e].concat(r))}}(s,t,c||Yt,f,r):Jt(f)&&(h=f):s&&(h=function(t,n,i,e){switch(e.length){case 0:return t(n,i);case 1:return t(n,i,e[0]);case 2:return t(n,i,e[0],e[1]);case 3:return t(n,i,e[0],e[1],e[2]);default:return t.apply(null,[n,i].concat(e))}}(s,t,c||Yt,r))}return h}Ia(t,n){const{parentContextNode:i,pingParent:e,prop:r}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,v(e),i&&i.values.unsubscribe(r,e),n&&(v(e),n.values.subscribe(r,e)))}}(this),this.Oa=null,this.ja=!1,this.za=Dt(this.$a.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(tn),null===(n=Kt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(nn)})),this.discover()}discover(){this.isDiscoverable()?this.za():this.name&&this.children&&this.children.forEach(nn)}isDiscoverable(){return!this.isRoot&&!this.ja}setParent(t){const n=null!=t&&t.nodeType?Kt.get(t):t;this.Na(n,null!=t)}setIsRoot(t){var n,i;this.isRoot=t;const e=t?this:null!==(n=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==n?n:null;this.updateRoot(e)}updateRoot(t){v(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.Oa)||void 0===i||i.forEach((t=>t.rootUpdated())),null===(e=this.children)||void 0===e||e.forEach((n=>n.updateRoot(t))))}addGroup(t,n,i){const e=this.groups||(this.groups=new Map),{children:r,node:o}=this,s=new Kt(o,t);return e.set(t,{cn:s,match:n,weight:i}),s.setParent(this),null==r||r.forEach(nn),s}group(t){var n,i;return(null===(n=this.groups)||void 0===n||null===(i=n.get(t))||void 0===i?void 0:i.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let i=null,e=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:r,weight:o})=>{r(t,this.node)&&o>e&&(i=n,e=o)})),i}subscribe(t,n,i,e){const r=this.Oa||(this.Oa=new Map);let o=r.get(t);o||(o=new n(this,i,e),r.set(t,o))}unsubscribe(t){const n=this.Oa,i=null==n?void 0:n.get(t);i&&(i.dispose(),v(n),n.delete(t))}$a(){if(!this.isDiscoverable())return;const t=Kt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.Na(n,!1)}Na(t,n){var i;this.ja=n;const e=this.parent;if(t!=e){if(this.parent=t,null!=e&&e.children&&(v(e.children),s(e.children,this)),t){const n=t.children||(t.children=[]);o(n,this);for(var r,l=u(n,!0);!(r=l()).done;){const t=r.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==t?void 0:t.root)&&void 0!==i?i:null)}};function tn(t){!function(t,n,i=!0){const e=Kt.closest(t,i);if(e)if(e.node==t)n(e);else if(e.children)for(var r,o=u(e.children,!0);!(r=o()).done;){const i=r.value;t.contains(i.node)&&n(i)}}(t,nn)}function nn(t){t.discover()}var en=[];function rn(t,n){const e=i({key:t,deps:en,recursive:!1},n);return v(0==e.deps.length||e.compute),e}var on=[],sn=()=>{};function ln(t,n,i){n=r(n);const e=i;Kt.get(t).subscribe(e,cn,i,n)}var un,cn=class{constructor(t,n,i){if(this.contextNode=t,this.Da=n,this.La=i,this.Ha=i.length>0?i.map(sn):on,this.Ua=i.length>0?i.map(((t,n)=>t=>{this.Ha[n]=t,this.Wa()})):on,this._s=!1,this.qa=null,this.Wa=Dt(this.Wa.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.Ua[i])))}this.hi()&&this.Wa()}dispose(){if(this.La.length>0){const{values:t}=this.contextNode;this.La.forEach(((n,i)=>t.unsubscribe(n,this.Ua[i])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.Wa()}hi(){return!!this.contextNode.root}Wa(){this.hi()&&(this.Ha.every(an)?(this._s=!0,this.Fa()):this._s&&(this._s=!1,this.de()))}Fa(){this.de();const t=this.Da;this.qa=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.Ha)}de(){this.qa&&(qt(this.qa),this.qa=null)}};function an(t){return void 0!==t}function fn(t){Kt.get(t).discover()}function hn(t,n,i,e){Kt.get(t).values.set(n,i,e)}function dn(t,n,i){Kt.get(t).values.remove(n,i)}function pn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function vn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,r;if(")"==n.charAt(n.length-1)){let t=1;for(r=n.length-2;r>=0;r--){const i=n.charAt(r);if("("==i?t--:")"==i&&t++,0==t)break}const i=r-1;if(r>0)for(r--;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(r>=i)return null}else for(r=n.length-2;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return r>=0?(i=n.substring(0,r+1).trim(),e=n.substring(r+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function yn(t,n,i){for(let e=0;e<t.length;e++){const{query:r}=t[e];r&&(void 0!==r.onchange?r.onchange=i?n:null:i?r.addListener(n):r.removeListener(n))}}var mn=["Webkit","webkit","Moz","moz","ms","O","o"],bn={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function gn(t,n,i){if(wn(n))return n;un||(un=f());let e=un[n];if(!e||i){if(e=n,void 0===t[n]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),r=function(t,n){for(let i=0;i<mn.length;i++){const e=mn[i]+n;if(void 0!==t[e])return e}return""}(t,i);void 0!==t[r]&&(e=r)}i||(un[n]=e)}return e}function _n(t,n,i,e,r){const o=gn(t.style,n,r);if(!o)return;const s=e?i+e:i;wn(o)?t.style.setProperty(o,s):t.style[o]=s}function Pn(t,n,i){const e=gn(t.style,n,i);if(e)return wn(e)?t.style.getPropertyValue(e):t.style[e]}function An(t,n){for(const i in n)_n(t,i,n[i])}function wn(t){return t.startsWith("--")}var Sn,kn,Mn,xn,In=/vertical/,Tn=new WeakMap,En=new WeakMap,Rn=new WeakMap;function Cn(t){let n=Tn.get(t);return n||(n=new t.ResizeObserver(Vn),Tn.set(t,n)),n}function Vn(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:r}=e;if(n.has(r))continue;n.add(r);const o=En.get(r);if(o){Rn.set(r,e);for(let t=0;t<o.length;t++){const{callback:n,type:i}=o[t];On(i,n,e)}}}}function On(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:r}=t;qt(n,{width:r,height:e})}else if(1==t){const{borderBoxSize:t}=i;let e;if(t)e=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=i,n=y(t),r=In.test(function(t,n){return t.getComputedStyle(n)||bn}(n,t).writingMode),{offsetHeight:o,offsetWidth:s}=t;let l,u;r?(u=s,l=o):(l=s,u=o),e={inlineSize:l,blockSize:u}}qt(n,e)}}if("undefined"!=typeof AMP&&.BaseElement)Sn=AMP.BaseElement;else{class t{constructor(t){this.element=t,this.win=y(t)}mutateElement(t){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Sn=t}function jn(){return xn||(xn=dt({renderable:!0,playable:!0,loading:"auto"}))}function zn({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:r=!0}){const o=$n(),s=r&&o.renderable,l=s&&e&&o.playable,u=Nt(s?"auto":"lazy",Nt(n,o.loading)),c=i||o.notify,a=xt((()=>({renderable:s,playable:l,loading:u,notify:c})),[s,l,u,c]);return F(jn().Provider,{children:t,value:a})}function $n(){return Tt(jn())}var Nn=rn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(Hn),compute:(t,n,i)=>i&&n.reduce(Hn,!0)||!1}),Dn=rn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(Hn),deps:[Nn],compute:(t,n,i,e)=>e&&i&&n.reduce(Hn,!0)||!1}),Ln=rn("Loading",{defaultValue:"auto",recursive:!0,deps:[Nn],compute:(t,n,i,e)=>Nt(e?"auto":"lazy",Nt(i||"auto",n.reduce(Nt,"auto")))}),Hn=(t,n)=>t&&n;function Un(){let t=0;return()=>String(++t)}var Wn=t=>t.ensureLoaded(),qn=t=>t.pause(),Fn=t=>t.unmount();function Yn(t,n=!0){Qn(t,n,!1,Wn)}function Bn(t,n=!0){Qn(t,n,!0,qn)}function Gn(t,n=!0){Qn(t,n,!0,Fn)}function Qn(t,n,i,e){const o=r(t);for(let t=0;t<o.length;t++)Zn(o[t],n,i,e)}function Zn(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(qt(e,n),!i){const t=n.getPlaceholder();return void(t&&Zn(t,!0,!1,e))}}const r=t.getElementsByClassName("i-amphtml-element");let o=null;for(let t=0;t<r.length;t++){const n=r[t];if(i)qt(e,n);else{o=o||[];let t=!1;for(let i=0;i<o.length;i++)if(o[i].contains(n)){t=!0;break}t||(o.push(n),qt(e,n))}}}var Xn={},Jn=new WeakMap;function Kn(t,n,e,r=!1){if(t.setAttribute("slot",n),!r)return F(ti,i(i({},e||Xn),{},{name:n}));const o=Jn.get(t);if(o&&function(t,n){if(null==t||null==n)return t===n;for(const i in t)if(t[i]!==n[i])return!1;for(const i in n)if(n[i]!==t[i])return!1;return!0}(o.oldProps,e))return o.component;function s(t){return F(ti,i(i({},e||Xn),{},{name:n},t))}return Jn.set(t,{oldProps:e,component:s}),s}function ti(t){const n=kt(null);return ni(n,t),wt((()=>{t.postRender&&t.postRender()})),F("slot",i(i({},t),{},{ref:n}))}function ni(t,n){const i=null==n?void 0:n.loading,e=$n();St((()=>{const n=t.current;return v(p(n)),hn(n,Nn,ti,e.renderable),hn(n,Dn,ti,e.playable),hn(n,Ln,ti,e.loading),e.playable||ii(n,Bn,!0),()=>{var t;dn(n,Nn,ti),dn(n,Dn,ti),dn(n,Ln,ti),t=n,Kt.rediscoverChildren(t)}}),[t,e]),St((()=>{const n=t.current;return v(p(n)),"lazy"!=i&&ii(n,Yn,!0),()=>{ii(n,Gn,!1)}}),[t,i])}function ii(t,n,i){const e=t.assignedElements?t.assignedElements():t;if(Array.isArray(e)&&0==e.length)return;if(!i)return void n(e);const r=t.ownerDocument.defaultView;r&&(r.requestIdleCallback||r.setTimeout)((()=>n(e)))}var ei={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ri=Un();function oi(t,n){return Object.values(t).some(n)}var si=t=>"string"==typeof t||!!t.selector,li=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function ui(t,n,e,r,o){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;o&&o.start();const c=i(i({},r),{},{ref:e});return l&&(c["i-amphtml-rendered"]=!0,c.__AMP_RENDERED=!0,c.as=l),s&&(t.usesShadowDom?c.style=ei:c.class="i-amphtml-fill-content"),ci(t,c,u,n,o),o&&o.complete(),c}function ci(t,n,i,e,r){if(oi(i,si)){const o=function(t){return function(t,n){const i=[];for(let n=t.firstElementChild;n;n=n.nextElementSibling)!w(n)&&i.push(n);return i}(t)}(e);for(let e=0;e<o.length;e++){const s=o[e],l=fi(s,i);if(!l)continue;const u=i[l],{as:c=!1,single:a,name:f=l,clone:h,props:d={}}=u;v(h||t.usesShadowDom);const p={};if(ci(t,p,d,s,r),a)n[f]=Kn(s,s.getAttribute("slot")||`i-amphtml-${f}`,p,c);else{const t=n[f]||(n[f]=[]);v(!c),t.push(h?ai(s):Kn(s,s.getAttribute("slot")||`i-amphtml-${f}-${ri()}`,p))}}}for(const s in i){const l=i[s];let u;if(v([l.attr,l.attrs,l.attrMatches,l.selector,l.passthrough,l.passthroughNonEmpty].filter(Boolean).length<=1),l.passthrough?(v(t.usesShadowDom),u=[F(ti,{loading:"lazy"})]):l.passthroughNonEmpty?(v(t.usesShadowDom),u=A(e).every(li)?null:[F(ti,{loading:"lazy"})]):l.attr?(u=e.getAttribute(l.attr),l.media&&null!=u&&(v(r),u=r.resolveListQuery(String(u)))):l.parseAttrs&&(v(l.attrs||l.attrMatches),u=l.parseAttrs(e)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(o=u)?void 0:"false"!==o:u;n[s]=t}}var o}function ai(t){const n={"key":t},{attributes:i,localName:e}=t,{length:r}=i;for(let t=0;t<r;t++){const{name:e,value:r}=i[t];n[e]=r}return F(e,n)}function fi(t,n){for(const i in n){const e=n[i],r="string"==typeof e?e:e.selector;if(r&&_(t,r))return i}return null}var hi={childList:!0},di={childList:!0,characterData:!0},pi={childList:!0},vi={"style":"display: contents; background: inherit;","part":"c"},yi={"name":"i-amphtml-svc"},mi={"i-amphtml-rendered":""},bi=()=>!0,gi=t=>!!t.media,_i=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Pi=class extends Sn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){v(!1)}getDefaultProps(){return{"loading":"auto","onReadyState":(t,n)=>{this.Ya(t,n)},"onPlayingState":t=>{this.Ba(t)}}}constructor(t){super(t),this.Ga=this.getDefaultProps(),this.Qa={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Za=!1,this.Xa=null,this.Ja=null,this.Ka=t=>{null!==t&&(this.Xa?this.tf(t):this.nf(t)),this.Ja=t,this.if()},this.ef=null,this.rf=null,this.sf=null,this.lf=!1,this.uf=null,this.cf=()=>{this.lf=!1,this.af()},this.ff=!1,this.ui=!1,this.observer=null,this.hf=new class{constructor(t){this.df=t,this.pf=!1,this.vf=!1,this.yf=this.yf.bind(this)}updatePlaying(t){t!==this.pf&&(this.pf=t,t?(this.vf=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let r=En.get(t);if(r||(r=[],En.set(t,r),Cn(e).observe(t)),!r.some((t=>t.callback===i&&1===t.type))){r.push({type:1,callback:i});const n=Rn.get(t);n&&setTimeout((()=>On(1,i,n)))}}(t,0,n)}(this.df,this.yf)):function(t,n){!function(t,n,i){const e=En.get(t);if(e&&(function(t,n){const e=[];let r=0;for(let n=0;n<t.length;n++){const s=t[n];(o=s).callback===i&&1===o.type?e.push(s):(r<n&&(t[r]=s),r++)}var o;r<t.length&&(t.length=r)}(e),0==e.length)){En.delete(t),Rn.delete(t);const n=t.ownerDocument.defaultView;n&&Cn(n).unobserve(t)}}(t,0,n)}(this.df,this.yf))}yf({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.vf)return;this.vf=i;const e=this.df;i||e.pause()}}(t),this.Ti=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.mf(t)));const{props:n}=t,e=oi(n,si)?hi:null,r=oi(n,_i)?di:null,o=t.usesTemplate?pi:null;this.observer.observe(this.element,i(i(i({attributes:!0},e),r),o)),this.Ti=oi(n,gi)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,pn,"1")}resolveListQuery(t){return this.$i(t,vn,"")}complete(){for(const t in this.Ui)t in this.Li||yn(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)yn(this.Li[t],this.o,!1);this.Li={}}$i(t,n,i){if(!t.trim())return i;let e=this.Li[t];return e||(v(this.Ui),e=this.Ui[t]),e||(e=n(this.Wt,t),yn(e,this.o,!0)),this.Li[t]=e,function(t){for(let n=0;n<t.length;n++){const{query:i,value:e}=t[n];if(!i||i.matches)return e}return""}(e)}}(this.win,(()=>this.bf())):null;const{staticProps:s}=t,l=this.init();Object.assign(this.Ga,s,l),this.checkPropsPostMutations(),ln(this.element,[],(()=>()=>{this.ui=!1,this.sf&&ft(null,this.sf)})),ln(this.element,[Nn,Dn,Ln],((t,n,i)=>{this.Qa.renderable=t,this.Qa.playable=n,this.Qa.loading=i,this.ui=!0,this.bf()}));const{useContexts:u}=t;var c;return 0!=u.length&&ln(this.element,u,((...t)=>{this.rf=t,this.bf()})),this.uf=new D,this.bf(),t.loadable&&(null===(c=this.setReadyState)||void 0===c||c.call(this,"loading")),this.if(),this.uf.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Za=!0)}mountCallback(){fn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Za=!1)}unmountCallback(){var t;fn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ba(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutateProps(t){Object.assign(this.Ga,t),this.bf()}api(){const t=this.Ja;return v(t),t}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}mf(t){const n=this.constructor;this.mutationObserverCallback(t);const i=t.some((t=>function(t,n){const{type:i}=n;if("attributes"==i){if(t.usesTemplate&&"template"==n.attributeName)return!0;const{props:i}=t;for(const t in i){var e,r;const o=i[t],s=n.attributeName;if(v(s),s==o.attr||null!==(e=o.attrs)&&void 0!==e&&e.includes(s)||null!==(r=o.attrMatches)&&void 0!==r&&r.call(o,s))return!0}return!1}return"childList"==i&&(Ai(n.addedNodes)||Ai(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.bf())}bf(){this.lf||(this.lf=!0,this.mutateElement(this.cf))}if(){const{Ja:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.Ya(n)}Ya(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.Ba("complete"==t),this.Za&&(this.Za=!1,this.mutateProps({"loading":"auto"}))}af(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:e}=t,r=e?null:t.lightDomTag;if(!this.sf){const i=this.win.document;if(e){v(!n);let{shadowRoot:e}=this.element,r=e&&(p=e,b("c"),g(p,"> c"));if(r)this.ff=!0;else{var o,s,l,u,c,a;e=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,i){const e=t.ownerDocument,r=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==r.CSSStyleSheet.prototype.replaceSync){const e=r.__AMP_SHADOW_CSS||(r.__AMP_SHADOW_CSS={});let o=e[n];o||(o=new r.CSSStyleSheet,v(o.replaceSync),o.replaceSync(i),e[n]=o),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(o)}else{const r=e.createElement("style");r.setAttribute("data-name",n),r.textContent=i,t.appendChild(r)}}(e,this.element.tagName,n),r=M(i,"c",vi),e.appendChild(r);const f=M(i,"slot",yi);e.appendChild(f),null===(o=this.getPlaceholder)||void 0===o||null===(s=o.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(c=this.getOverflowElement)||void 0===c||null===(a=c.call(this))||void 0===a||a.setAttribute("slot","i-amphtml-svc")}this.sf=r,v(e),function(t,n){Kt.get(t).setParent(n)}(e,this.element),function(t,n,i,e=0){Kt.get(t).addGroup(n,i,e)}(this.element,"unslotted",bi,-1),f=this.element,h=Nn,null===(d=Kt.get(f).group("unslotted"))||void 0===d||d.values.set(h,this,!1)}else if(r){const n=this.element;this.sf=n;const e=P(n,"i-amphtml-rendered")||M(i,r,mi);e.__AMP_RENDERED=!0,t.layoutSizeDefined&&e.classList.add("i-amphtml-fill-content"),this.sf.appendChild(e)}else{const t=i.createElement("i-amphtml-c");this.sf=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var f,h,d,p;const y=this.sf;v(y);const{useContexts:m}=t,_=this.rf;if(0!=m.length&&null==_)return;const A=ui(t,this.element,this.Ka,this.Ga,this.Ti);if(this.updatePropsForRendering(A),!this.isReady(A))return;let w=F(t.Component,A);for(let t=0;t<m.length;t++){v(_);const n=m[t].type,i=_[t];i&&(w=F(n.Provider,{value:i},w))}const S=F(zn,i({},this.Qa),w);if(this.ff)this.ff=!1,ht(S,y);else{const t=r?P(y,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ft(S,y,null!=t?t:void 0)}e||n||this.mutateElement((()=>x(this.element,"amp:dom-update",void 0))),this.uf&&(this.uf.resolve(void 0),this.uf=null)}getProp(t,n){return i=this.Ga,e=t,c.call(i,e)?this.Ga[t]:n;var i,e}getApi(){const t=this.Xa;return t?Promise.resolve(t):(this.ef||(this.ef=new D),this.ef.promise)}nf(t){const n=f(),i=Object.keys(t);for(let t=0;t<i.length;t++){const e=i[t];this.gf(n,e)}this.Xa=n,this.ef&&(this.ef.resolve(n),this.ef=null)}tf(t){}triggerEvent(t,n,i){x(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Za=!0;else{var t;const{Ja:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}Ba(t){this.hf.updatePlaying(t)}gf(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.Ja;return v(t),t[n]},set:t=>{const i=this.Ja;v(i),i[n]=t}})}};function Ai(t){for(let n=0;n<t.length;n++){const i=t[n];if(p(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function wi(t,n){if(null==t)return{};var i,e,r={},o=Object.keys(t);for(e=0;e<o.length;e++)i=o[e],n.indexOf(i)>=0||(r[i]=t[i]);return r}t(Pi,"staticProps",void 0),t(Pi,"useContexts",[]),t(Pi,"loadable",!1),t(Pi,"unloadOnPause",!1),t(Pi,"layoutSizeDefined",!1),t(Pi,"lightDomTag",""),t(Pi,"usesTemplate",!1),t(Pi,"shadowCss",null),t(Pi,"usesShadowDom",!1),t(Pi,"detached",!1),t(Pi,"delegatesFocus",!1),t(Pi,"props",{});var Si,ki=["ref"],Mi="undefined"!=typeof Symbol&&(null===(Si=Symbol.for)||void 0===Si?void 0:Si.call(Symbol,"react.forward_ref"))||3911,xi=E.__b;function Ii(t){function n(n){const{ref:i}=n,e=wi(n,ki);return t(e,i)}return n.$$typeof=Mi,n.render=n,n.prototype.isReactComponent=!0,n._f=!0,n}function Ti(t){return(Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ei(t){var n=function(t,n){if("object"!==Ti(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var e=i.call(t,"string");if("object"!==Ti(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ti(n)?n:String(n)}function Ri(t,n=0){var i,e;return null!==(i=null!==(e=t.tabindex)&&void 0!==e?e:t.tabIndex)&&void 0!==i?i:n}E.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n._f&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==xi||xi(t)};var Ci=[null,"paint","layout","content","size","size paint","size layout","strict"],Vi={"position":"relative","width":"100%","height":"100%"};function Oi(t,n,i){t.classList.add("i-amphtml-animating");let e=n();return e.onfinish=e.oncancel=()=>{e=null,i&&i(),t.classList.remove("i-amphtml-animating")},()=>{e&&e.cancel()}}function ji(t){const n=window.innerHeight,i=Math.abs(t)/n*500;return Math.min(Math.max(i,200),500)}Ii((function(t,n){let e="class",{as:r="div",children:o,contentAs:s="div",contentClassName:l,contentProps:u,contentRef:c,contentStyle:a,layout:f=!1,paint:h=!1,size:d=!1,"style":p,wrapperClassName:v,wrapperStyle:y,[e]:m}=t;const b=(d?4:0)+(f?2:0)+(h?1:0);return F(r,i(i({},wi(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",e].map(Ei))),{},{ref:n,class:`${m||""} ${v||""}`.trim()||null,style:i(i(i({},p),y),{},{contain:Ci[b]})}),F(s,i(i({},u),{},{ref:c,class:l,style:i(i({},d&&Vi),{},{"overflow":h?"hidden":"visible"},a)}),o))})),Ii((function(t,n){let e="class",{as:r="div",children:o,"style":s,wrapperClassName:l,wrapperStyle:u,[e]:c}=t;return F(r,i(i({},wi(t,["as","children","style","wrapperClassName","wrapperStyle",e].map(Ei))),{},{ref:n,class:`${c||""} ${l||""}`.trim()||null,style:i(i({},s),u)}),o)}));var zi=["animate","as","children","expandSingleSection","id"],$i=["animate","as","children","expanded","id","onExpandStateChange"],Ni=dt({}),Di=dt({}),Li={},Hi={},Ui=Un(),Wi=()=>String(Math.floor(1e5*Math.random())),qi=Ii((function(t,n){let{animate:e=!1,as:r="section",children:o,expandSingleSection:s=!1,id:l}=t,u=wi(t,zi);const[c,a]=At(Li),f=kt(Hi),[d]=At(Wi),p=l||`a${d}`;wt((()=>{s&&a((t=>{const n={};let i=0;for(const e in t)n[e]=t[e]&&0==i++;return n}))}),[s]);const v=It(((t,n,{current:e})=>(a((i=>Fi(t,n,i,s))),f.current=i(i({},f.current),{},{[t]:e}),()=>{a((n=>h(n,t))),f.current=h(f.current,t)})),[s]),y=It(((t,n)=>{a((i=>{const e=null!=n?n:!i[t],r=Fi(t,e,i,s);return I().then((()=>{for(const t in i){const n=f.current[t];n&&i[t]!=r[t]&&n(r[t])}})),r}))}),[s]),m=It(((t,n)=>{var i;return null!==(i=c[t])&&void 0!==i?i:n}),[c]),b=It((t=>{if(t)t in c&&y(t);else if(!s)for(const t in c)y(t)}),[c,y,s]),g=It((t=>{if(t)m(t,!0)||y(t);else if(!s)for(const t in c)m(t,!0)||y(t)}),[c,y,m,s]),_=It((t=>{if(t)m(t,!1)&&y(t);else for(const t in c)m(t,!1)&&y(t)}),[c,y,m]);Mt(n,(()=>({toggle:b,expand:g,collapse:_})),[b,_,g]);const P=xt((()=>({registerSection:v,toggleExpanded:y,isExpanded:m,animate:e,prefix:p})),[v,y,m,e,p]);return F(r,i({id:l},u),F(Ni.Provider,{value:P},o))}));function Fi(t,n,e,r){let o;if(r&&n){o={[t]:n};for(const n in e)n!=t&&(o[n]=!1)}else o=i(i({},e),{},{[t]:n});return o}function Yi(t){let{animate:n=!1,as:e="section",children:r,expanded:o=!1,id:s,onExpandStateChange:l}=t,u=wi(t,$i);const[c]=At(Ui),a=s||c,[f]=At(Wi),[h,d]=At(o),[p,v]=At(null),[y,m]=At(null),{animate:b,isExpanded:g,prefix:_,registerSection:P,toggleExpanded:A}=Tt(Ni),w=g?g(a,o):h,S=null!=b?b:n,k=p||`${_||"a"}-content-${a}-${f}`,M=y||`${_||"a"}-header-${a}-${f}`,x=kt(null);x.current=l,St((()=>{if(P)return P(a,o,x)}),[P,a,o]);const T=It((t=>{A?A(a,t):d((n=>{const i=null!=t?t:!n;return I().then((()=>{const t=x.current;t&&t(i)})),i}))}),[a,A]),E=xt((()=>({animate:S,contentId:k,headerId:M,expanded:w,toggleHandler:T,setContentId:v,setHeaderId:m})),[S,k,M,w,T]);return F(e,i({},u),F(Di.Provider,{value:E},r))}function Bi(t){let n="class",{as:e="div",children:r,id:o,role:s="button",[n]:l=""}=t,u=wi(t,["as","children","id","role",n].map(Ei));const{contentId:c,expanded:a,headerId:f,setHeaderId:h,toggleHandler:d}=Tt(Di);return St((()=>{h&&h(o)}),[h,o]),F(e,i(i({},u),{},{id:f,role:s,class:`${l} section-child-00fce3c header-00fce3c`,tabindex:Ri(u),"aria-controls":c,onClick:()=>d(),"aria-expanded":String(a)}),r)}function Gi(t){let n="class",{as:e="div",children:r,id:o,role:s="region",[n]:l=""}=t,u=wi(t,["as","children","id","role",n].map(Ei));const c=kt(null),a=kt(!1),{animate:f,contentId:h,expanded:d,headerId:p,setContentId:v}=Tt(Di);return wt((()=>(a.current=!0,()=>a.current=!1)),[]),St((()=>{v&&v(o)}),[v,o]),St((()=>{const t=a.current,n=c.current;if(f&&t&&n&&n.animate)return d?function(t){return Oi(t,(()=>{const n=Pn(t,"height"),i=Pn(t,"opacity"),e=Pn(t,"overflowY");An(t,{height:0,opacity:0,overflowY:"auto"});const r=t.scrollHeight;An(t,{height:n,opacity:i,overflowY:e});const o=ji(r);return t.animate([{height:0,opacity:0,overflowY:"hidden"},{height:r+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:o})}))}(n):function(t){return Oi(t,(()=>{const n=t.offsetHeight,i=ji(n);return t.animate([{height:n+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(n)}),[d,f]),F(zn,{renderable:d},F(e,i(i({},u),{},{ref:c,class:l+" section-child-00fce3c"+(d?"":" content-hidden-00fce3c"),id:h,"aria-labelledby":p,role:s}),r))}qi.displayName="Accordion";var Qi=class extends Pi{init(){const t=t=>n=>{var i;!function(t,n,i){const e=t.hasAttribute(n),r=void 0!==i?i:!e;r!==e&&(r?t.setAttribute(n,""):t.removeAttribute(n))}(t,"expanded",n),null===(i=t.__AMP_PR)||void 0===i||i.call(t),this.triggerEvent(t,n?"expand":"collapse")},{element:n}=this,i=new MutationObserver((()=>{this.mutateProps(Zi(n,i,t))}));i.observe(n,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":e}=Zi(n,i,t);return{"children":e}}};function Zi(t,n,e){var r,o,s;return{"children":(o=t,s="section",b(s),"> section",(r=o.querySelectorAll(m("> section",":scope")))?Array.prototype.slice.call(r):[]).map((t=>{t.__AMP_PR||(t.__AMP_PR=()=>n.takeRecords());const r=d(t,"__AMP_H_SHIM",Ji),o=d(t,"__AMP_C_SHIM",te),s=d(t,"__AMP_EXPAND_STATE_SHIM",e),l={"key":t,"expanded":t.hasAttribute("expanded"),"id":t.getAttribute("id"),"onExpandStateChange":s},u={"as":r,"id":t.firstElementChild.getAttribute("id"),"role":t.firstElementChild.getAttribute("role")||void 0},c={"as":o,"id":t.lastElementChild.getAttribute("id"),"role":t.lastElementChild.getAttribute("role")||void 0};return F(Yi,i({},l),F(Bi,i({},u)),F(Gi,i({},c)))}))}}function Xi(t,{"aria-controls":n,"aria-expanded":i,id:e,onClick:r,role:o}){const s=t.firstElementChild;return St((()=>{if(s&&r)return s.setAttribute("id",e),s.classList.add("i-amphtml-accordion-header"),s.addEventListener("click",r),s.hasAttribute("tabindex")||s.setAttribute("tabindex",0),s.setAttribute("aria-expanded",i),s.setAttribute("aria-controls",n),s.setAttribute("role",o),t.__AMP_PR&&t.__AMP_PR(),()=>{s.removeEventListener("click",v(r))}}),[t,s,e,o,r,n,i]),F("header",null)}var Ji=t=>Xi.bind(null,t);function Ki(t,{"aria-labelledby":n,id:i,role:e},r){const o=t.lastElementChild,s=kt();return s.current=o,ni(s),function(t,n){Mt(t,(()=>n),[n])}(r,o),St((()=>{o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",i),o.setAttribute("role",e),o.setAttribute("aria-labelledby",n),t.__AMP_PR&&t.__AMP_PR())}),[t,o,i,e,n]),F("div",null)}var te=t=>Ii(Ki.bind(null,t));function ne(){!function(t,n,i=self){i.customElements.define(t,function(t,n=self){return kn&&Mn===n||(kn=(Mn=n).HTMLElement),class extends kn{constructor(){super(),this.implementation=new t(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}(n,i))}("bento-accordion",Qi)}Qi.Component=qi,Qi.detached=!0,Qi.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{ne as defineElement}; | ||
function t(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function n(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function i(i){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(n){t(i,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))}))}return i}var{isArray:e}=Array;function r(t){return e(t)?t:[t]}function o(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function u(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var{hasOwnProperty:c,toString:a}=Object.prototype;function f(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function h(t,n){return Object.keys(t).reduce(((i,e)=>(n.includes(e)||(i[e]=t[e]),i)),{})}function d(t,n,i){let e=t[n];return void 0===e&&(e=i(t,n),t[n]=e),e}function p(t){return 1==(null==t?void 0:t.nodeType)}function v(t,n,i,e,r,o,s,l,u,c,a){return t}function y(t){return(t.ownerDocument||t).defaultView}function m(t,n){return t.replace(/^|,/g,`$&${n} `)}function b(t){v(/^[\w-]+$/.test(t))}function _(t,n){return t.querySelector(m(n,":scope"))}function g(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function P(t,n){return b(n),_(t,`> [${n}]`)}function A(t){return function(t,n){const i=[];for(let n=t.firstChild;n;n=n.nextSibling)!w(n)&&i.push(n);return i}(t)}function w(t){return!!function(t){let n;return"string"==typeof t?n=t:p(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var k,S={bubbles:!0,cancelable:!0};function M(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function x(t,n,i,e){const r=i||{};v(t.ownerDocument);const o=t.ownerDocument.createEvent("Event");o.data=r;const{bubbles:s,cancelable:l}=e||S;o.initEvent(n,s,l),t.dispatchEvent(o)}function I(){return k||(k=Promise.resolve(void 0))}var E,R,T,C,V,O,j,z,$,N,L=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},H={},D=[],U=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(t,n){for(var i in n)t[i]=n[i];return t}function q(t){var n=t.parentNode;n&&n.removeChild(t)}function F(t,n,i){var e,r,o,s={};for(o in n)"key"==o?e=n[o]:"ref"==o?r=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?E.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===s[o]&&(s[o]=t.defaultProps[o]);return Y(t,s,e,r,null)}function Y(t,n,i,e,r){var o={type:t,props:n,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++T:r};return null==r&&null!=R.vnode&&R.vnode(o),o}function B(t){return t.children}function G(t,n){this.props=t,this.context=n}function Q(t,n){if(null==n)return t.__?Q(t.__,t.__.__k.indexOf(t)+1):null;for(var i;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e)return i.__e;return"function"==typeof t.type?Q(t):null}function Z(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return Z(t)}}function X(t){(!t.__d&&(t.__d=!0)&&C.push(t)&&!J.__r++||O!==R.debounceRendering)&&((O=R.debounceRendering)||V)(J)}function J(){for(var t;J.__r=C.length;)t=C.sort((function(t,n){return t.__v.__b-n.__v.__b})),C=[],t.some((function(t){var n,i,e,r,o,s;t.__d&&(o=(r=(n=t).__v).__e,(s=n.__P)&&(i=[],(e=W({},r)).__v=r.__v+1,st(s,r,e,n.__n,void 0!==s.ownerSVGElement,null!=r.__h?[o]:null,i,null==o?Q(r):o,r.__h),lt(i,r),r.__e!=o&&Z(r)))}))}function K(t,n,i,e,r,o,s,l,u,c){var a,f,h,d,p,v,y,m=e&&e.__k||D,b=m.length;for(i.__k=[],a=0;a<n.length;a++)if(null!=(d=i.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?Y(null,d,null,null,d):Array.isArray(d)?Y(B,{children:d},null,null,null):d.__b>0?Y(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(h=m[a])||h&&d.key==h.key&&d.type===h.type)m[a]=void 0;else for(f=0;f<b;f++){if((h=m[f])&&d.key==h.key&&d.type===h.type){m[f]=void 0;break}h=null}st(t,d,h=h||H,r,o,s,l,u,c),p=d.__e,(f=d.ref)&&h.ref!=f&&(y||(y=[]),h.ref&&y.push(h.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=tt(d,u,t):u=nt(t,d,h,m,p,u),"function"==typeof i.type&&(i.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=Q(h))}for(i.__e=v,a=b;a--;)null!=m[a]&&("function"==typeof i.type&&null!=m[a].__e&&m[a].__e==i.__d&&(i.__d=Q(e,a+1)),ct(m[a],m[a]));if(y)for(a=0;a<y.length;a++)ut(y[a],y[++a],y[++a])}function tt(t,n,i){for(var e,r=t.__k,o=0;r&&o<r.length;o++)(e=r[o])&&(e.__=t,n="function"==typeof e.type?tt(e,n,i):nt(i,e,e,r,e.__e,n));return n}function nt(t,n,i,e,r,o){var s,l,u;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==i||r!=o||null==r.parentNode)t:if(null==o||o.parentNode!==t)t.appendChild(r),s=null;else{for(l=o,u=0;(l=l.nextSibling)&&u<e.length;u+=2)if(l==r)break t;t.insertBefore(r,o),s=o}return void 0!==s?s:r.nextSibling}function it(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||U.test(n)?i:i+"px"}function et(t,n,i,e,r){var o;t:if("style"===n)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof e&&(t.style.cssText=e=""),e)for(n in e)i&&n in i||it(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||it(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+o]=i,i?e||t.addEventListener(n,o?ot:rt,o):t.removeEventListener(n,o?ot:rt,o);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null!=i&&(!1!==i||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,i):t.removeAttribute(n))}}function rt(t){this.l[t.type+!1](R.event?R.event(t):t)}function ot(t){this.l[t.type+!0](R.event?R.event(t):t)}function st(t,n,i,e,r,o,s,l,u){var c,a,f,h,d,p,v,y,m,b,_,g=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(u=i.__h,l=n.__e=i.__e,n.__h=null,o=[l]),(c=R.__b)&&c(n);try{t:if("function"==typeof g){if(y=n.props,m=(c=g.contextType)&&e[c.__c],b=c?m?m.props.value:c.__:e,i.__c?v=(a=n.__c=i.__c).__=a.__E:("prototype"in g&&g.prototype.render?n.__c=a=new g(y,b):(n.__c=a=new G(y,b),a.constructor=g,a.render=at),m&&m.sub(a),a.props=y,a.state||(a.state={}),a.context=b,a.__n=e,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=g.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=W({},a.__s)),W(a.__s,g.getDerivedStateFromProps(y,a.__s))),h=a.props,d=a.state,f)null==g.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==g.getDerivedStateFromProps&&y!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(y,b),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(y,a.__s,b)||n.__v===i.__v){a.props=y,a.state=a.__s,n.__v!==i.__v&&(a.__d=!1),a.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),a.__h.length&&s.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(y,a.__s,b),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(h,d,p)}))}a.context=b,a.props=y,a.state=a.__s,(c=R.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=t,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(e=W(W({},e),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(p=a.getSnapshotBeforeUpdate(h,d)),_=null!=c&&c.type===B&&null==c.key?c.props.children:c,K(t,Array.isArray(_)?_:[_],n,i,e,r,o,s,l,u),a.base=n.__e,n.__h=null,a.__h.length&&s.push(a),v&&(a.__E=a.__=null),a.__e=!1}else null==o&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,r,o,s,l){var u,c,a,f=i.props,h=n.props,d=n.type,p=0;if("svg"===d&&(r=!0),null!=o)for(;p<o.length;p++)if((u=o[p])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,o[p]=null;break}if(null==t){if(null===d)return document.createTextNode(h);t=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),o=null,l=!1}if(null===d)f===h||l&&t.data===h||(t.data=h);else{if(o=o&&E.call(t.childNodes),c=(f=i.props||H).dangerouslySetInnerHTML,a=h.dangerouslySetInnerHTML,!l){if(null!=o)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===t.innerHTML)||(t.innerHTML=a&&a.__html||""))}if(function(t,n,i,e,r){var o;for(o in i)"children"===o||"key"===o||o in n||et(t,o,null,i[o],e);for(o in n)r&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||i[o]===n[o]||et(t,o,n[o],i[o],e)}(t,h,f,r,l),a)n.__k=[];else if(p=n.props.children,K(t,Array.isArray(p)?p:[p],n,i,e,r&&"foreignObject"!==d,o,s,o?o[0]:i.__k&&Q(i,0),l),null!=o)for(p=o.length;p--;)null!=o[p]&&q(o[p]);l||("value"in h&&void 0!==(p=h.value)&&(p!==t.value||"progress"===d&&!p)&&et(t,"value",p,f.value,!1),"checked"in h&&void 0!==(p=h.checked)&&p!==t.checked&&et(t,"checked",p,f.checked,!1))}return t}(i.__e,n,i,e,r,o,s,u);(c=R.diffed)&&c(n)}catch(t){n.__v=null,(u||null!=o)&&(n.__e=l,n.__h=!!u,o[o.indexOf(l)]=null),R.__e(t,n,i)}}function lt(t,n){R.__c&&R.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){R.__e(t,n.__v)}}))}function ut(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){R.__e(t,i)}}function ct(t,n,i){var e,r;if(R.unmount&&R.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||ut(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){R.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(r=0;r<e.length;r++)e[r]&&ct(e[r],n,"function"!=typeof t.type);i||null==t.__e||q(t.__e),t.__e=t.__d=void 0}function at(t,n,i){return this.constructor(t,i)}function ft(t,n,i){var e,r,o;R.__&&R.__(t,n),r=(e="function"==typeof i)?null:i&&i.__k||n.__k,o=[],st(n,t=(!e&&i||n).__k=F(B,null,[t]),r||H,H,void 0!==n.ownerSVGElement,!e&&i?[i]:r?null:n.firstChild?E.call(n.childNodes):null,o,!e&&i?i:r?r.__e:n.firstChild,e),lt(o,t)}function ht(t,n){ft(t,n,ht)}function dt(t,n){var i={__c:n="__cC"+j++,__:t,Consumer:function(t,n){return t.children(n)},Provider:function(t){var i,e;return this.getChildContext||(i=[],(e={})[n]=this,this.getChildContext=function(){return e},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&i.some(X)},this.sub=function(t){i.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){i.splice(i.indexOf(t),1),n&&n.call(t)}}),t.children}};return i.Provider.__=i.Consumer.contextType=i}E=D.slice,R={__e:function(t,n){for(var i,e,r;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),r=i.__d),r)return i.__E=i}catch(n){t=n}throw t}},T=0,G.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof t&&(t=t(W({},i),this.props)),t&&W(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),X(this))},G.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),X(this))},G.prototype.render=B,C=[],V="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,J.__r=0,j=0;var pt=0,vt=[],yt=R.__b,mt=R.__r,bt=R.diffed,_t=R.__c,gt=R.unmount;function Pt(t,n){R.__h&&R.__h($,t,pt||n),pt=0;var i=$.__H||($.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function At(t){return pt=1,function(t,n,i){var e=Pt(z++,2);return e.t=t,e.__c||(e.__=[jt(void 0,n),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=$),e.__}(jt,t)}function wt(t,n){var i=Pt(z++,3);!R.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,$.__H.__h.push(i))}function kt(t,n){var i=Pt(z++,4);!R.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,$.__h.push(i))}function St(t){return pt=5,xt((function(){return{current:t}}),[])}function Mt(t,n,i){pt=6,kt((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==i?i:i.concat(t))}function xt(t,n){var i=Pt(z++,7);return Ot(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function It(t,n){return pt=8,xt((function(){return t}),n)}function Et(t){var n=$.context[t.__c],i=Pt(z++,9);return i.c=t,n?(null==i.__&&(i.__=!0,n.sub($)),n.props.value):t.__}function Rt(){vt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Ct),t.__H.__h.forEach(Vt),t.__H.__h=[]}catch(n){t.__H.__h=[],R.__e(n,t.__v)}})),vt=[]}R.__b=function(t){$=null,yt&&yt(t)},R.__r=function(t){mt&&mt(t),z=0;var n=($=t.__c).__H;n&&(n.__h.forEach(Ct),n.__h.forEach(Vt),n.__h=[])},R.diffed=function(t){bt&&bt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&N===R.requestAnimationFrame||((N=R.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Tt&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Tt&&(n=requestAnimationFrame(i))})(Rt)),$=null},R.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Ct),t.__h=t.__h.filter((function(t){return!t.__||Vt(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],R.__e(i,t.__v)}})),_t&&_t(t,n)},R.unmount=function(t){gt&>(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Ct)}catch(t){R.__e(t,n.__v)}};var Tt="function"==typeof requestAnimationFrame;function Ct(t){var n=$;"function"==typeof t.__c&&t.__c(),$=n}function Vt(t){var n=$;t.__c=t.__(),$=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function jt(t,n){return"function"==typeof n?n(t):n}var zt=["auto","lazy","eager","unload"],$t={auto:0,lazy:1,eager:2,unload:3};function Nt(t,n){const i=$t[t]||0,e=$t[n]||0,r=Math.max(i,e);return zt[r]}function Lt(t,n){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Ht(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,r=new Error(i);for(const n in t)r[n]=t[n];return r.stack=e,r}function Dt(t){let n=null,i="";for(var e,r=u(arguments,!0);!(e=r()).done;){const t=e.value;t instanceof Error&&!n?n=Ht(t):(i&&(i+=" "),i+=t)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function Ut(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Wt(t){const n=Dt.apply(null,arguments);setTimeout((()=>{throw Ut(n),n}))}function qt(t,...n){try{return t.apply(null,n)}catch(t){Wt(t)}}function Ft(t,n,i,e=!0,r=!0){if(r){const r=n(t,i,e);r&&Ft(t,n,i,r,!1)}else if(t.children)for(var o,s=u(t.children,!0);!(o=s()).done;)Ft(o.value,n,i,e,!0)}var Yt=[],Bt=()=>{};function Gt(t,n){return t.values.scan(n)}function Qt(t,n,i){return t.values.scanAll(i)}function Zt(t,n){return t.values.has(n)}function Xt(t){return!!t.recursive}function Jt(t){return void 0!==t}var Kt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Kt(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let i=t;for(;i;){if(i!=t||n){if(i.__AMP_NODE)return i.__AMP_NODE;const{nodeType:t}=i;if(9==t||11==t||p(i)&&i.tagName.startsWith("AMP-"))return Kt.get(i)}i=i.__AMP_ASSIGNED_SLOT||i.assignedSlot||i.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,tn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,tn(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(nn)}constructor(t,n){this.node=t,this.name=n,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.Ze=t,this.v=null,this.m=null,this.el=Lt(this.el.bind(this),setTimeout)}set(t,n,i){v(n),v(void 0!==i);const{key:e}=t,r=this.v||(this.v=new Map);let o=r.get(e);o||(o={values:[],setters:[]},r.set(e,o));const s=o.setters.indexOf(n),l=-1==s||o.values[s]!==i;-1==s?(o.setters.push(n),o.values.push(i)):l&&(o.values[s]=i),l&&(this.ping(t,!1),Xt(t)&&Ft(this.Ze,Gt,t,!0,!1))}remove(t,n){v(n);const{key:i}=t,e=this.v,r=null==e?void 0:e.get(i);if(r){v(e);const o=r.setters.indexOf(n);-1!=o&&(r.setters.splice(o,1),r.values.splice(o,1),0==r.setters.length&&e.delete(i),Ft(this.Ze,Gt,t))}}has(t){var n;return!(null===(n=this.v)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.ka(t);if(!o(i.subscribers,n))return;const e=i.value;Jt(e)&&this.hi()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.m)||void 0===i?void 0:i.get(t.key);e&&s(e.subscribers,n)&&this.Sa(e)}ping(t,n){var i,e;null===(i=this.m)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.hi()&&Ft(this.Ze,Qt,void 0,Yt)}rootUpdated(){const t=this.m;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Xt(n)&&this.Ia(t,null)})))}scan(t){return this.ping(t,!0),!!Xt(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.m;return i&&i.forEach((i=>{const{prop:e}=i,{key:r}=e;-1==(n||t).indexOf(r)&&(this.ping(e,!0),this.Ze.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(r)))})),n||t}hi(){return!!this.Ze.root}ka(t){const{deps:n,key:i}=t,e=this.m||(this.m=new Map);let r=e.get(i);return r||(r={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(Bt):Yt,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;r.pending=Math.max(r.pending,n),this.el()}},pingDep:n.length>0?n.map(((t,n)=>t=>{r.depValues[n]=t,r.ping()})):Yt,pingParent:Xt(t)?t=>{r.parentValue=t,r.ping()}:null},e.set(i,r),n.forEach(((t,n)=>this.subscribe(t,r.pingDep[n]))),r.ping(!1)),r}Sa(t){var n;if(t.subscribers.length>0)return;const{pingDep:i,prop:e}=t,{deps:r,key:o}=e;null===(n=this.m)||void 0===n||n.delete(o),this.Ia(t,null),r.length>0&&r.forEach(((t,n)=>{this.unsubscribe(t,i[n])}))}el(){if(!this.hi())return;const t=this.m;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:i}=t.prop;if(t.counter++,t.counter>5)return Wt(`cyclical prop: ${i}`),void(t.pending=0);n++,this.Ra(t)}}))}while(n>0)}Ra(t){const n=2==t.pending;let i;try{i=this.Ca(t,n)}catch(t){Wt(t)}t.pending=0,this.Va(t,i)}Va(t,n){const{prop:i,value:e}=t,{key:r}=i,o=this.m;if(e===n||t!==(null==o?void 0:o.get(r))||!this.hi())return;t.value=n;const{subscribers:s}=t;for(var l,c=u(s,!0);!(l=c()).done;)(0,l.value)(n)}Ca(t,n){var i,e;v(this.hi());const{depValues:r,prop:o}=t,{compute:s,defaultValue:l,key:u}=o,c=null===(i=this.v)||void 0===i||null===(e=i.get(u))||void 0===e?void 0:e.values,a=function(t,n){const{compute:i,recursive:e}=t;return"function"==typeof e?!n||e(n):!(e&&n&&!i)&&e}(o,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let r=e?t:t.parent;r;r=r.parent)if(n(r,i))return r;return null}(this.Ze,Zt,o,!1):null;this.Ia(t,n)}const f=Jt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?l:void 0;let h;if(r.every(Jt)&&(!a||Jt(f))){const{node:t}=this.Ze;c&&!s?h=c[0]:Xt(o)?c||r.length>0?h=function(t,n,i,e,r){switch(r.length){case 0:return t(n,i,e);case 1:return t(n,i,e,r[0]);case 2:return t(n,i,e,r[0],r[1]);case 3:return t(n,i,e,r[0],r[1],r[2]);default:return t.apply(null,[n,i,e].concat(r))}}(s,t,c||Yt,f,r):Jt(f)&&(h=f):s&&(h=function(t,n,i,e){switch(e.length){case 0:return t(n,i);case 1:return t(n,i,e[0]);case 2:return t(n,i,e[0],e[1]);case 3:return t(n,i,e[0],e[1],e[2]);default:return t.apply(null,[n,i].concat(e))}}(s,t,c||Yt,r))}return h}Ia(t,n){const{parentContextNode:i,pingParent:e,prop:r}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,v(e),i&&i.values.unsubscribe(r,e),n&&(v(e),n.values.subscribe(r,e)))}}(this),this.Oa=null,this.ja=!1,this.za=Lt(this.$a.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(tn),null===(n=Kt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(nn)})),this.discover()}discover(){this.isDiscoverable()?this.za():this.name&&this.children&&this.children.forEach(nn)}isDiscoverable(){return!this.isRoot&&!this.ja}setParent(t){const n=null!=t&&t.nodeType?Kt.get(t):t;this.Na(n,null!=t)}setIsRoot(t){var n,i;this.isRoot=t;const e=t?this:null!==(n=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==n?n:null;this.updateRoot(e)}updateRoot(t){v(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.Oa)||void 0===i||i.forEach((t=>t.rootUpdated())),null===(e=this.children)||void 0===e||e.forEach((n=>n.updateRoot(t))))}addGroup(t,n,i){const e=this.groups||(this.groups=new Map),{children:r,node:o}=this,s=new Kt(o,t);return e.set(t,{cn:s,match:n,weight:i}),s.setParent(this),null==r||r.forEach(nn),s}group(t){var n,i;return(null===(n=this.groups)||void 0===n||null===(i=n.get(t))||void 0===i?void 0:i.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let i=null,e=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:r,weight:o})=>{r(t,this.node)&&o>e&&(i=n,e=o)})),i}subscribe(t,n,i,e){const r=this.Oa||(this.Oa=new Map);let o=r.get(t);o||(o=new n(this,i,e),r.set(t,o))}unsubscribe(t){const n=this.Oa,i=null==n?void 0:n.get(t);i&&(i.dispose(),v(n),n.delete(t))}$a(){if(!this.isDiscoverable())return;const t=Kt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.Na(n,!1)}Na(t,n){var i;this.ja=n;const e=this.parent;if(t!=e){if(this.parent=t,null!=e&&e.children&&(v(e.children),s(e.children,this)),t){const n=t.children||(t.children=[]);o(n,this);for(var r,l=u(n,!0);!(r=l()).done;){const t=r.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==t?void 0:t.root)&&void 0!==i?i:null)}};function tn(t){!function(t,n,i=!0){const e=Kt.closest(t,i);if(e)if(e.node==t)n(e);else if(e.children)for(var r,o=u(e.children,!0);!(r=o()).done;){const i=r.value;t.contains(i.node)&&n(i)}}(t,nn)}function nn(t){t.discover()}var en=[];function rn(t,n){const e=i({key:t,deps:en,recursive:!1},n);return v(0==e.deps.length||e.compute),e}var on=[],sn=()=>{};function ln(t,n,i){n=r(n);const e=i;Kt.get(t).subscribe(e,cn,i,n)}var un,cn=class{constructor(t,n,i){if(this.contextNode=t,this.La=n,this.Ha=i,this.Da=i.length>0?i.map(sn):on,this.Ua=i.length>0?i.map(((t,n)=>t=>{this.Da[n]=t,this.Wa()})):on,this._s=!1,this.qa=null,this.Wa=Lt(this.Wa.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.Ua[i])))}this.hi()&&this.Wa()}dispose(){if(this.Ha.length>0){const{values:t}=this.contextNode;this.Ha.forEach(((n,i)=>t.unsubscribe(n,this.Ua[i])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.Wa()}hi(){return!!this.contextNode.root}Wa(){this.hi()&&(this.Da.every(an)?(this._s=!0,this.Fa()):this._s&&(this._s=!1,this.de()))}Fa(){this.de();const t=this.La;this.qa=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.Da)}de(){this.qa&&(qt(this.qa),this.qa=null)}};function an(t){return void 0!==t}function fn(t){Kt.get(t).discover()}function hn(t,n,i,e){Kt.get(t).values.set(n,i,e)}function dn(t,n,i){Kt.get(t).values.remove(n,i)}function pn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function vn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,r;if(")"==n.charAt(n.length-1)){let t=1;for(r=n.length-2;r>=0;r--){const i=n.charAt(r);if("("==i?t--:")"==i&&t++,0==t)break}const i=r-1;if(r>0)for(r--;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(r>=i)return null}else for(r=n.length-2;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return r>=0?(i=n.substring(0,r+1).trim(),e=n.substring(r+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function yn(t,n,i){for(let e=0;e<t.length;e++){const{query:r}=t[e];r&&(void 0!==r.onchange?r.onchange=i?n:null:i?r.addListener(n):r.removeListener(n))}}var mn=["Webkit","webkit","Moz","moz","ms","O","o"],bn={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function _n(t,n,i){if(wn(n))return n;un||(un=f());let e=un[n];if(!e||i){if(e=n,void 0===t[n]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),r=function(t,n){for(let i=0;i<mn.length;i++){const e=mn[i]+n;if(void 0!==t[e])return e}return""}(t,i);void 0!==t[r]&&(e=r)}i||(un[n]=e)}return e}function gn(t,n,i,e,r){const o=_n(t.style,n,r);if(!o)return;const s=e?i+e:i;wn(o)?t.style.setProperty(o,s):t.style[o]=s}function Pn(t,n,i){const e=_n(t.style,n,i);if(e)return wn(e)?t.style.getPropertyValue(e):t.style[e]}function An(t,n){for(const i in n)gn(t,i,n[i])}function wn(t){return t.startsWith("--")}var kn,Sn,Mn,xn,In=/vertical/,En=new WeakMap,Rn=new WeakMap,Tn=new WeakMap;function Cn(t){let n=En.get(t);return n||(n=new t.ResizeObserver(Vn),En.set(t,n)),n}function Vn(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:r}=e;if(n.has(r))continue;n.add(r);const o=Rn.get(r);if(o){Tn.set(r,e);for(let t=0;t<o.length;t++){const{callback:n,type:i}=o[t];On(i,n,e)}}}}function On(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:r}=t;qt(n,{width:r,height:e})}else if(1==t){const{borderBoxSize:t}=i;let e;if(t)e=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=i,n=y(t),r=In.test(function(t,n){return t.getComputedStyle(n)||bn}(n,t).writingMode),{offsetHeight:o,offsetWidth:s}=t;let l,u;r?(u=s,l=o):(l=s,u=o),e={inlineSize:l,blockSize:u}}qt(n,e)}}if("undefined"!=typeof AMP&&.BaseElement)kn=AMP.BaseElement;else{class t{constructor(t){this.element=t,this.win=y(t)}mutateElement(t){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}kn=t}function jn(){return xn||(xn=dt({renderable:!0,playable:!0,loading:"auto"}))}function zn({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:r=!0}){const o=$n(),s=r&&o.renderable,l=s&&e&&o.playable,u=Nt(s?"auto":"lazy",Nt(n,o.loading)),c=i||o.notify,a=xt((()=>({renderable:s,playable:l,loading:u,notify:c})),[s,l,u,c]);return F(jn().Provider,{children:t,value:a})}function $n(){return Et(jn())}var Nn=rn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(Dn),compute:(t,n,i)=>i&&n.reduce(Dn,!0)||!1}),Ln=rn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(Dn),deps:[Nn],compute:(t,n,i,e)=>e&&i&&n.reduce(Dn,!0)||!1}),Hn=rn("Loading",{defaultValue:"auto",recursive:!0,deps:[Nn],compute:(t,n,i,e)=>Nt(e?"auto":"lazy",Nt(i||"auto",n.reduce(Nt,"auto")))}),Dn=(t,n)=>t&&n;function Un(){let t=0;return()=>String(++t)}var Wn=t=>t.ensureLoaded(),qn=t=>t.pause(),Fn=t=>t.unmount();function Yn(t,n=!0){Qn(t,n,!1,Wn)}function Bn(t,n=!0){Qn(t,n,!0,qn)}function Gn(t,n=!0){Qn(t,n,!0,Fn)}function Qn(t,n,i,e){const o=r(t);for(let t=0;t<o.length;t++)Zn(o[t],n,i,e)}function Zn(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(qt(e,n),!i){const t=n.getPlaceholder();return void(t&&Zn(t,!0,!1,e))}}const r=t.getElementsByClassName("i-amphtml-element");let o=null;for(let t=0;t<r.length;t++){const n=r[t];if(i)qt(e,n);else{o=o||[];let t=!1;for(let i=0;i<o.length;i++)if(o[i].contains(n)){t=!0;break}t||(o.push(n),qt(e,n))}}}var Xn={},Jn=new WeakMap;function Kn(t,n,e,r=!1){if(t.setAttribute("slot",n),!r)return F(ti,i(i({},e||Xn),{},{name:n}));const o=Jn.get(t);if(o&&function(t,n){if(null==t||null==n)return t===n;for(const i in t)if(t[i]!==n[i])return!1;for(const i in n)if(n[i]!==t[i])return!1;return!0}(o.oldProps,e))return o.component;function s(t){return F(ti,i(i({},e||Xn),{},{name:n},t))}return Jn.set(t,{oldProps:e,component:s}),s}function ti(t){const n=St(null);return ni(n,t),wt((()=>{t.postRender&&t.postRender()})),F("slot",i(i({},t),{},{ref:n}))}function ni(t,n){const i=null==n?void 0:n.loading,e=$n();kt((()=>{const n=t.current;return v(p(n)),hn(n,Nn,ti,e.renderable),hn(n,Ln,ti,e.playable),hn(n,Hn,ti,e.loading),e.playable||ii(n,Bn,!0),()=>{var t;dn(n,Nn,ti),dn(n,Ln,ti),dn(n,Hn,ti),t=n,Kt.rediscoverChildren(t)}}),[t,e]),kt((()=>{const n=t.current;return v(p(n)),"lazy"!=i&&ii(n,Yn,!0),()=>{ii(n,Gn,!1)}}),[t,i])}function ii(t,n,i){const e=t.assignedElements?t.assignedElements():t;if(Array.isArray(e)&&0==e.length)return;if(!i)return void n(e);const r=t.ownerDocument.defaultView;r&&(r.requestIdleCallback||r.setTimeout)((()=>n(e)))}var ei={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ri=Un();function oi(t,n){return Object.values(t).some(n)}var si=t=>"string"==typeof t||!!t.selector,li=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function ui(t,n,e,r,o){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;o&&o.start();const c=i(i({},r),{},{ref:e});return l&&(c["i-amphtml-rendered"]=!0,c.__AMP_RENDERED=!0,c.as=l),s&&(t.usesShadowDom?c.style=ei:c.class="i-amphtml-fill-content"),ci(t,c,u,n,o),o&&o.complete(),c}function ci(t,n,i,e,r){if(oi(i,si)){const o=function(t){return function(t,n){const i=[];for(let n=t.firstElementChild;n;n=n.nextElementSibling)!w(n)&&i.push(n);return i}(t)}(e);for(let e=0;e<o.length;e++){const s=o[e],l=fi(s,i);if(!l)continue;const u=i[l],{as:c=!1,single:a,name:f=l,clone:h,props:d={}}=u;v(h||t.usesShadowDom);const p={};if(ci(t,p,d,s,r),a)n[f]=Kn(s,s.getAttribute("slot")||`i-amphtml-${f}`,p,c);else{const t=n[f]||(n[f]=[]);v(!c),t.push(h?ai(s):Kn(s,s.getAttribute("slot")||`i-amphtml-${f}-${ri()}`,p))}}}for(const s in i){const l=i[s];let u;if(v([l.attr,l.attrs,l.attrMatches,l.selector,l.passthrough,l.passthroughNonEmpty].filter(Boolean).length<=1),l.passthrough?(v(t.usesShadowDom),u=[F(ti,{loading:"lazy"})]):l.passthroughNonEmpty?(v(t.usesShadowDom),u=A(e).every(li)?null:[F(ti,{loading:"lazy"})]):l.attr?(u=e.getAttribute(l.attr),l.media&&null!=u&&(v(r),u=r.resolveListQuery(String(u)))):l.parseAttrs&&(v(l.attrs||l.attrMatches),u=l.parseAttrs(e)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(o=u)?void 0:"false"!==o:u;n[s]=t}}var o}function ai(t){const n={"key":t},{attributes:i,localName:e}=t,{length:r}=i;for(let t=0;t<r;t++){const{name:e,value:r}=i[t];n[e]=r}return F(e,n)}function fi(t,n){for(const i in n){const e=n[i],r="string"==typeof e?e:e.selector;if(r&&g(t,r))return i}return null}var hi={childList:!0},di={childList:!0,characterData:!0},pi={childList:!0},vi={"style":"display: contents; background: inherit;","part":"c"},yi={"name":"i-amphtml-svc"},mi={"i-amphtml-rendered":""},bi=()=>!0,_i=t=>!!t.media,gi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Pi=class extends kn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){v(!1)}getDefaultProps(){return{"loading":"auto","onReadyState":(t,n)=>{this.Ya(t,n)},"onPlayingState":t=>{this.Ba(t)}}}constructor(t){super(t),this.Ga=this.getDefaultProps(),this.Qa={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Za=!1,this.Xa=null,this.Ja=null,this.Ka=t=>{null!==t&&(this.Xa?this.tf(t):this.nf(t)),this.Ja=t,this.if()},this.ef=null,this.rf=null,this.sf=null,this.lf=!1,this.uf=null,this.cf=()=>{this.lf=!1,this.af()},this.ff=!1,this.ui=!1,this.observer=null,this.hf=new class{constructor(t){this.df=t,this.pf=!1,this.vf=!1,this.yf=this.yf.bind(this)}updatePlaying(t){t!==this.pf&&(this.pf=t,t?(this.vf=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let r=Rn.get(t);if(r||(r=[],Rn.set(t,r),Cn(e).observe(t)),!r.some((t=>t.callback===i&&1===t.type))){r.push({type:1,callback:i});const n=Tn.get(t);n&&setTimeout((()=>On(1,i,n)))}}(t,0,n)}(this.df,this.yf)):function(t,n){!function(t,n,i){const e=Rn.get(t);if(e&&(function(t,n){const e=[];let r=0;for(let n=0;n<t.length;n++){const s=t[n];(o=s).callback===i&&1===o.type?e.push(s):(r<n&&(t[r]=s),r++)}var o;r<t.length&&(t.length=r)}(e),0==e.length)){Rn.delete(t),Tn.delete(t);const n=t.ownerDocument.defaultView;n&&Cn(n).unobserve(t)}}(t,0,n)}(this.df,this.yf))}yf({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.vf)return;this.vf=i;const e=this.df;i||e.pause()}}(t),this.Ti=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.mf(t)));const{props:n}=t,e=oi(n,si)?hi:null,r=oi(n,gi)?di:null,o=t.usesTemplate?pi:null;this.observer.observe(this.element,i(i(i({attributes:!0},e),r),o)),this.Ti=oi(n,_i)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,pn,"1")}resolveListQuery(t){return this.$i(t,vn,"")}complete(){for(const t in this.Ui)t in this.Li||yn(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)yn(this.Li[t],this.o,!1);this.Li={}}$i(t,n,i){if(!t.trim())return i;let e=this.Li[t];return e||(v(this.Ui),e=this.Ui[t]),e||(e=n(this.Wt,t),yn(e,this.o,!0)),this.Li[t]=e,function(t){for(let n=0;n<t.length;n++){const{query:i,value:e}=t[n];if(!i||i.matches)return e}return""}(e)}}(this.win,(()=>this.bf())):null;const{staticProps:s}=t,l=this.init();Object.assign(this.Ga,s,l),this.checkPropsPostMutations(),ln(this.element,[],(()=>()=>{this.ui=!1,this.sf&&ft(null,this.sf)})),ln(this.element,[Nn,Ln,Hn],((t,n,i)=>{this.Qa.renderable=t,this.Qa.playable=n,this.Qa.loading=i,this.ui=!0,this.bf()}));const{useContexts:u}=t;var c;return 0!=u.length&&ln(this.element,u,((...t)=>{this.rf=t,this.bf()})),this.uf=new L,this.bf(),t.loadable&&(null===(c=this.setReadyState)||void 0===c||c.call(this,"loading")),this.if(),this.uf.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Za=!0)}mountCallback(){fn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Za=!1)}unmountCallback(){var t;fn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ba(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutateProps(t){Object.assign(this.Ga,t),this.bf()}api(){const t=this.Ja;return v(t),t}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}mf(t){const n=this.constructor;this.mutationObserverCallback(t);const i=t.some((t=>function(t,n){const{type:i}=n;if("attributes"==i){if(t.usesTemplate&&"template"==n.attributeName)return!0;const{props:i}=t;for(const t in i){var e,r;const o=i[t],s=n.attributeName;if(v(s),s==o.attr||null!==(e=o.attrs)&&void 0!==e&&e.includes(s)||null!==(r=o.attrMatches)&&void 0!==r&&r.call(o,s))return!0}return!1}return"childList"==i&&(Ai(n.addedNodes)||Ai(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.bf())}bf(){this.lf||(this.lf=!0,this.mutateElement(this.cf))}if(){const{Ja:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.Ya(n)}Ya(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.Ba("complete"==t),this.Za&&(this.Za=!1,this.mutateProps({"loading":"auto"}))}af(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:e}=t,r=e?null:t.lightDomTag;if(!this.sf){const i=this.win.document;if(e){v(!n);let{shadowRoot:e}=this.element,r=e&&(p=e,b("c"),_(p,"> c"));if(r)this.ff=!0;else{var o,s,l,u,c,a;e=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,i){const e=t.ownerDocument,r=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==r.CSSStyleSheet.prototype.replaceSync){const e=r.__AMP_SHADOW_CSS||(r.__AMP_SHADOW_CSS={});let o=e[n];o||(o=new r.CSSStyleSheet,v(o.replaceSync),o.replaceSync(i),e[n]=o),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(o)}else{const r=e.createElement("style");r.setAttribute("data-name",n),r.textContent=i,t.appendChild(r)}}(e,this.element.tagName,n),r=M(i,"c",vi),e.appendChild(r);const f=M(i,"slot",yi);e.appendChild(f),null===(o=this.getPlaceholder)||void 0===o||null===(s=o.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(c=this.getOverflowElement)||void 0===c||null===(a=c.call(this))||void 0===a||a.setAttribute("slot","i-amphtml-svc")}this.sf=r,v(e),function(t,n){Kt.get(t).setParent(n)}(e,this.element),function(t,n,i,e=0){Kt.get(t).addGroup(n,i,e)}(this.element,"unslotted",bi,-1),f=this.element,h=Nn,null===(d=Kt.get(f).group("unslotted"))||void 0===d||d.values.set(h,this,!1)}else if(r){const n=this.element;this.sf=n;const e=P(n,"i-amphtml-rendered")||M(i,r,mi);e.__AMP_RENDERED=!0,t.layoutSizeDefined&&e.classList.add("i-amphtml-fill-content"),this.sf.appendChild(e)}else{const t=i.createElement("i-amphtml-c");this.sf=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var f,h,d,p;const y=this.sf;v(y);const{useContexts:m}=t,g=this.rf;if(0!=m.length&&null==g)return;const A=ui(t,this.element,this.Ka,this.Ga,this.Ti);if(this.updatePropsForRendering(A),!this.isReady(A))return;let w=F(t.Component,A);for(let t=0;t<m.length;t++){v(g);const n=m[t].type,i=g[t];i&&(w=F(n.Provider,{value:i},w))}const k=F(zn,i({},this.Qa),w);try{if(this.ff)this.ff=!1,ht(k,y);else{const t=r?P(y,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ft(k,y,null!=t?t:void 0)}}catch(t){var S;throw null===(S=this.uf)||void 0===S||S.reject(t),t}e||n||this.mutateElement((()=>x(this.element,"amp:dom-update",void 0))),this.uf&&(this.uf.resolve(void 0),this.uf=null)}getProp(t,n){return i=this.Ga,e=t,c.call(i,e)?this.Ga[t]:n;var i,e}getApi(){const t=this.Xa;return t?Promise.resolve(t):(this.ef||(this.ef=new L),this.ef.promise)}nf(t){const n=f(),i=Object.keys(t);for(let t=0;t<i.length;t++){const e=i[t];this._f(n,e)}this.Xa=n,this.ef&&(this.ef.resolve(n),this.ef=null)}tf(t){}triggerEvent(t,n,i){x(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Za=!0;else{var t;const{Ja:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}Ba(t){this.hf.updatePlaying(t)}_f(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.Ja;return v(t),t[n]},set:t=>{const i=this.Ja;v(i),i[n]=t}})}};function Ai(t){for(let n=0;n<t.length;n++){const i=t[n];if(p(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}function wi(t,n){if(null==t)return{};var i,e,r={},o=Object.keys(t);for(e=0;e<o.length;e++)i=o[e],n.indexOf(i)>=0||(r[i]=t[i]);return r}Pi.staticProps=void 0,Pi.useContexts=[],Pi.loadable=!1,Pi.unloadOnPause=!1,Pi.layoutSizeDefined=!1,Pi.lightDomTag="",Pi.usesTemplate=!1,Pi.shadowCss=null,Pi.usesShadowDom=!1,Pi.detached=!1,Pi.delegatesFocus=!1,Pi.props={};var ki,Si=["ref"],Mi="undefined"!=typeof Symbol&&(null===(ki=Symbol.for)||void 0===ki?void 0:ki.call(Symbol,"react.forward_ref"))||3911,xi=R.__b;function Ii(t){function n(n){const{ref:i}=n,e=wi(n,Si);return t(e,i)}return n.$$typeof=Mi,n.render=n,n.prototype.isReactComponent=!0,n.gf=!0,n}function Ei(t){return(Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ri(t){var n=function(t,n){if("object"!==Ei(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var e=i.call(t,"string");if("object"!==Ei(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ei(n)?n:String(n)}function Ti(t,n=0){var i,e;return null!==(i=null!==(e=t.tabindex)&&void 0!==e?e:t.tabIndex)&&void 0!==i?i:n}R.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n.gf&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==xi||xi(t)};var Ci=[null,"paint","layout","content","size","size paint","size layout","strict"],Vi={"position":"relative","width":"100%","height":"100%"};function Oi(t,n,i){t.classList.add("i-amphtml-animating");let e=n();return e.onfinish=e.oncancel=()=>{e=null,i&&i(),t.classList.remove("i-amphtml-animating")},()=>{e&&e.cancel()}}function ji(t){const n=window.innerHeight,i=Math.abs(t)/n*500;return Math.min(Math.max(i,200),500)}Ii((function(t,n){let e="class",{as:r="div",children:o,contentAs:s="div",contentClassName:l,contentProps:u,contentRef:c,contentStyle:a,layout:f=!1,paint:h=!1,size:d=!1,"style":p,wrapperClassName:v,wrapperStyle:y,[e]:m}=t;const b=(d?4:0)+(f?2:0)+(h?1:0);return F(r,i(i({},wi(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",e].map(Ri))),{},{ref:n,class:`${m||""} ${v||""}`.trim()||null,style:i(i(i({},p),y),{},{contain:Ci[b]})}),F(s,i(i({},u),{},{ref:c,class:l,style:i(i({},d&&Vi),{},{"overflow":h?"hidden":"visible"},a)}),o))})),Ii((function(t,n){let e="class",{as:r="div",children:o,"style":s,wrapperClassName:l,wrapperStyle:u,[e]:c}=t;return F(r,i(i({},wi(t,["as","children","style","wrapperClassName","wrapperStyle",e].map(Ri))),{},{ref:n,class:`${c||""} ${l||""}`.trim()||null,style:i(i({},s),u)}),o)}));var zi=["animate","as","children","expandSingleSection","id"],$i=["animate","as","children","expanded","id","onExpandStateChange"],Ni=dt({}),Li=dt({}),Hi={},Di={},Ui=Un(),Wi=()=>String(Math.floor(1e5*Math.random())),qi=Ii((function(t,n){let{animate:e=!1,as:r="section",children:o,expandSingleSection:s=!1,id:l}=t,u=wi(t,zi);const[c,a]=At(Hi),f=St(Di),[d]=At(Wi),p=l||`a${d}`;wt((()=>{s&&a((t=>{const n={};let i=0;for(const e in t)n[e]=t[e]&&0==i++;return n}))}),[s]);const v=It(((t,n,{current:e})=>(a((i=>Fi(t,n,i,s))),f.current=i(i({},f.current),{},{[t]:e}),()=>{a((n=>h(n,t))),f.current=h(f.current,t)})),[s]),y=It(((t,n)=>{a((i=>{const e=null!=n?n:!i[t],r=Fi(t,e,i,s);return I().then((()=>{for(const t in i){const n=f.current[t];n&&i[t]!=r[t]&&n(r[t])}})),r}))}),[s]),m=It(((t,n)=>{var i;return null!==(i=c[t])&&void 0!==i?i:n}),[c]),b=It((t=>{if(t)t in c&&y(t);else if(!s)for(const t in c)y(t)}),[c,y,s]),_=It((t=>{if(t)m(t,!0)||y(t);else if(!s)for(const t in c)m(t,!0)||y(t)}),[c,y,m,s]),g=It((t=>{if(t)m(t,!1)&&y(t);else for(const t in c)m(t,!1)&&y(t)}),[c,y,m]);Mt(n,(()=>({toggle:b,expand:_,collapse:g})),[b,g,_]);const P=xt((()=>({registerSection:v,toggleExpanded:y,isExpanded:m,animate:e,prefix:p})),[v,y,m,e,p]);return F(r,i({id:l},u),F(Ni.Provider,{value:P},o))}));function Fi(t,n,e,r){let o;if(r&&n){o={[t]:n};for(const n in e)n!=t&&(o[n]=!1)}else o=i(i({},e),{},{[t]:n});return o}function Yi(t){let{animate:n=!1,as:e="section",children:r,expanded:o=!1,id:s,onExpandStateChange:l}=t,u=wi(t,$i);const[c]=At(Ui),a=s||c,[f]=At(Wi),[h,d]=At(o),[p,v]=At(null),[y,m]=At(null),{animate:b,isExpanded:_,prefix:g,registerSection:P,toggleExpanded:A}=Et(Ni),w=_?_(a,o):h,k=null!=b?b:n,S=p||`${g||"a"}-content-${a}-${f}`,M=y||`${g||"a"}-header-${a}-${f}`,x=St(null);x.current=l,kt((()=>{if(P)return P(a,o,x)}),[P,a,o]);const E=It((t=>{A?A(a,t):d((n=>{const i=null!=t?t:!n;return I().then((()=>{const t=x.current;t&&t(i)})),i}))}),[a,A]),R=xt((()=>({animate:k,contentId:S,headerId:M,expanded:w,toggleHandler:E,setContentId:v,setHeaderId:m})),[k,S,M,w,E]);return F(e,i({},u),F(Li.Provider,{value:R},r))}function Bi(t){let n="class",{as:e="div",children:r,id:o,role:s="button",[n]:l=""}=t,u=wi(t,["as","children","id","role",n].map(Ri));const{contentId:c,expanded:a,headerId:f,setHeaderId:h,toggleHandler:d}=Et(Li);return kt((()=>{h&&h(o)}),[h,o]),F(e,i(i({},u),{},{id:f,role:s,class:`${l} section-child-00fce3c header-00fce3c`,tabindex:Ti(u),"aria-controls":c,onClick:()=>d(),"aria-expanded":String(a)}),r)}function Gi(t){let n="class",{as:e="div",children:r,id:o,role:s="region",[n]:l=""}=t,u=wi(t,["as","children","id","role",n].map(Ri));const c=St(null),a=St(!1),{animate:f,contentId:h,expanded:d,headerId:p,setContentId:v}=Et(Li);return wt((()=>(a.current=!0,()=>a.current=!1)),[]),kt((()=>{v&&v(o)}),[v,o]),kt((()=>{const t=a.current,n=c.current;if(f&&t&&n&&n.animate)return d?function(t){return Oi(t,(()=>{const n=Pn(t,"height"),i=Pn(t,"opacity"),e=Pn(t,"overflowY");An(t,{height:0,opacity:0,overflowY:"auto"});const r=t.scrollHeight;An(t,{height:n,opacity:i,overflowY:e});const o=ji(r);return t.animate([{height:0,opacity:0,overflowY:"hidden"},{height:r+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:o})}))}(n):function(t){return Oi(t,(()=>{const n=t.offsetHeight,i=ji(n);return t.animate([{height:n+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(n)}),[d,f]),F(zn,{renderable:d},F(e,i(i({},u),{},{ref:c,class:l+" section-child-00fce3c"+(d?"":" content-hidden-00fce3c"),id:h,"aria-labelledby":p,role:s}),r))}qi.displayName="Accordion";var Qi=class extends Pi{init(){const t=t=>n=>{var i;!function(t,n,i){const e=t.hasAttribute(n),r=void 0!==i?i:!e;r!==e&&(r?t.setAttribute(n,""):t.removeAttribute(n))}(t,"expanded",n),null===(i=t.__AMP_PR)||void 0===i||i.call(t),this.triggerEvent(t,n?"expand":"collapse")},{element:n}=this,i=new MutationObserver((()=>{this.mutateProps(Zi(n,i,t))}));i.observe(n,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":e}=Zi(n,i,t);return{"children":e}}};function Zi(t,n,e){var r,o,s;return{"children":(o=t,s="section",b(s),"> section",(r=o.querySelectorAll(m("> section",":scope")))?Array.prototype.slice.call(r):[]).map((t=>{t.__AMP_PR||(t.__AMP_PR=()=>n.takeRecords());const r=d(t,"__AMP_H_SHIM",Ji),o=d(t,"__AMP_C_SHIM",te),s=d(t,"__AMP_EXPAND_STATE_SHIM",e),l={"key":t,"expanded":t.hasAttribute("expanded"),"id":t.getAttribute("id"),"onExpandStateChange":s},u={"as":r,"id":t.firstElementChild.getAttribute("id"),"role":t.firstElementChild.getAttribute("role")||void 0},c={"as":o,"id":t.lastElementChild.getAttribute("id"),"role":t.lastElementChild.getAttribute("role")||void 0};return F(Yi,i({},l),F(Bi,i({},u)),F(Gi,i({},c)))}))}}function Xi(t,{"aria-controls":n,"aria-expanded":i,id:e,onClick:r,role:o}){const s=t.firstElementChild;return kt((()=>{if(s&&r)return s.setAttribute("id",e),s.classList.add("i-amphtml-accordion-header"),s.addEventListener("click",r),s.hasAttribute("tabindex")||s.setAttribute("tabindex",0),s.setAttribute("aria-expanded",i),s.setAttribute("aria-controls",n),s.setAttribute("role",o),t.__AMP_PR&&t.__AMP_PR(),()=>{s.removeEventListener("click",v(r))}}),[t,s,e,o,r,n,i]),F("header",null)}var Ji=t=>Xi.bind(null,t);function Ki(t,{"aria-labelledby":n,id:i,role:e},r){const o=t.lastElementChild,s=St();return s.current=o,ni(s),function(t,n){Mt(t,(()=>n),[n])}(r,o),kt((()=>{o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",i),o.setAttribute("role",e),o.setAttribute("aria-labelledby",n),t.__AMP_PR&&t.__AMP_PR())}),[t,o,i,e,n]),F("div",null)}var te=t=>Ii(Ki.bind(null,t));function ne(){!function(t,n,i=self){i.customElements.define(t,function(t,n=self){return Sn&&Mn===n||(Sn=(Mn=n).HTMLElement),class extends Sn{constructor(){super(),this.implementation=new t(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}(n,i))}("bento-accordion",Qi)}Qi.Component=qi,Qi.detached=!0,Qi.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{ne as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
{ | ||
"name": "@bentoproject/accordion", | ||
"version": "1.2201141909.3", | ||
"version": "1.2201141909.4", | ||
"description": "Displays content sections that can be collapsed and expanded.", | ||
@@ -5,0 +5,0 @@ "author": "Bento Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
984432
10969