Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ampproject/amp-accordion

Package Overview
Dependencies
Maintainers
16
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ampproject/amp-accordion - npm Package Compare versions

Comparing version 1.2107082341.0 to 1.2107092322.0

2

dist/component-preact.js

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

var Be=Object.create,Z=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyNames,tr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,Se=function(e){return Z(e,"__esModule",{value:!0})},or=function(e,r){for(var n in Se(e),r)Z(e,n,{get:r[n],enumerable:!0})},ir=function(e,r,n){if(r&&"object"==typeof r||"function"==typeof r)for(var t,o=rr(r),i=0,a=o.length;i<a;i++)t=o[i],!nr.call(e,t)&&"default"!==t&&Z(e,t,{get:function(e){return r[e]}.bind(null,t),enumerable:!(n=er(r,t))||n.enumerable});return e},q=function(e){return ir(Se(Z(null!=e?Be(tr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};or(exports,{Accordion:function(){return qe},AccordionContent:function(){return Ur},AccordionHeader:function(){return Lr},AccordionSection:function(){return Hr}});var K,J="section-child-00fce3c",Ee="header-00fce3c",_e="content-hidden-00fce3c";function Q(){return K||(K=Promise.resolve(void 0))}var H,N=q(require("preact")),Oe=q(require("preact")),v=q(require("preact/hooks"));function C(e,r,n){return N.createElement.apply(void 0,arguments)}function F(e){return N.createContext(e,void 0)}function T(e){return v.useState(e)}function Y(e){return v.useRef(e)}function ce(e,r){v.useEffect(e,r)}function k(e,r){v.useLayoutEffect(e,r)}function D(e){return v.useContext(e)}function G(e,r){return v.useMemo(e,r)}function M(e,r){return v.useCallback(e,r)}function Pe(e,r,n){return v.useImperativeHandle(e,r,n)}function B(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Ce,S={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ar=[S.AUTO,S.LAZY,S.EAGER,S.UNLOAD],Ie=(B(H={},S.AUTO,0),B(H,S.LAZY,1),B(H,S.EAGER,2),B(H,S.UNLOAD,3),H);function de(e,r){var n=Ie[e]||0,t=Ie[r]||0,o=Math.max(n,t);return ar[o]}function we(){return Ce||(Ce=F({renderable:!0,playable:!0,loading:S.AUTO}))}function Te(e){var r=e.children,n=e.loading,t=void 0===n?"auto":n,o=e.notify,i=e.playable,a=void 0===i||i,u=e.renderable,c=void 0===u||u,l=ur(),f=c&&l.renderable,d=f&&a&&l.playable,v=de(f?S.AUTO:S.LAZY,de(t,l.loading)),s=o||l.notify,p=G((function(){return{renderable:f,playable:d,loading:v,notify:s}}),[f,d,v,s]);return C(we().Provider,{children:r,value:p})}function ur(){return D(we())}var Re=Array.isArray,Ne=Object.prototype,dt=Ne.hasOwnProperty,lt=Ne.toString;function je(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function le(e,r){return Object.keys(e).reduce((function(n,t){return r.includes(t)||(n[t]=e[t]),n}),{})}var ee,$e=["Webkit","webkit","Moz","moz","ms","O","o"];function gr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function yr(e,r){for(var n=0;n<$e.length;n++){var t=$e[n]+r;if(void 0!==e[t])return t}return""}function De(e,r,n){if(me(r))return r;ee||(ee=je());var t=ee[r];if(!t||n){if(t=r,void 0===e[r]){var o=yr(e,gr(r));void 0!==e[o]&&(t=o)}n||(ee[r]=t)}return t}function br(e,r,n,t,o){var i=De(e.style,r,o);if(i){var a=t?n+t:n;me(i)?e.style.setProperty(i,a):e.style[i]=a}}function re(e,r,n){var t=De(e.style,r,n);if(t)return me(t)?e.style.getPropertyValue(t):e.style[t]}function pe(e,r){for(var n in r)br(e,n,r[n])}function me(e){return e.startsWith("--")}var He=500,Ar=200,Sr="cubic-bezier(0.47, 0, 0.745, 0.715)",Er="cubic-bezier(0.39, 0.575, 0.565, 1)";function Le(e){return Fe(e,(function(){var r=re(e,"height"),n=re(e,"opacity"),t=re(e,"overflowY");pe(e,{height:0,opacity:0,overflowY:"auto"});var o=e.scrollHeight;pe(e,{height:r,opacity:n,overflowY:t});var i=Ye(o);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:Sr,duration:i})}))}function Ue(e){return Fe(e,(function(){var r=e.offsetHeight,n=Ye(r);return e.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Er,duration:n})}))}function Fe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;e.classList.add("i-amphtml-animating");var t=r();return t.onfinish=t.oncancel=function(){t=null,n&&n(),e.classList.remove("i-amphtml-animating")},function(){t&&t.cancel()}}function Ye(e){var r=window.innerHeight,n=Math.abs(e)/r*He;return Math.min(Math.max(n,Ar),He)}var te=q(require("preact/compat"));function ke(e){return te.forwardRef(e)}function Ge(){var e=0;return function(){return String(++e)}}function Ve(e){return function(){return String(Math.floor(Math.random()*e))}}var _r=["animate","as","children","expandSingleSection","id"],Or=["animate","as","children","expanded","id","onExpandStateChange"],Pr=["as","children","className","id","role","tabIndex"],Ir=["as","children","className","id","role"];function We(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function _(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?We(Object(n),!0).forEach((function(r){ne(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function ne(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e,r){return Mr(e)||Tr(e,r)||wr(e,r)||Cr()}function Cr(){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 wr(e,r){if(e){if("string"==typeof e)return ze(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,r)}}function ze(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Tr(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){u=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(u)throw o}}return i}}function Mr(e){if(Array.isArray(e))return e}function oe(e,r){if(null==e)return{};var n,t,o=Rr(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(o[n]=e[n]))}return o}function Rr(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(o[n]=e[n]);return o}var Xe=F({}),ve=F({}),Nr={},jr={},$r=Ge(),Ze=Ve(1e5);function Dr(e,r){var n=e.animate,t=void 0!==n&&n,o=e.as,i=void 0===o?"section":o,a=e.children,u=e.expandSingleSection,c=void 0!==u&&u,l=e.id,f=oe(e,_r),d=j(T(Nr),2),v=d[0],s=d[1],p=Y(jr),b=j(T(Ze),1)[0],y=l||"a".concat(b);ce((function(){!c||s((function(e){var r={},n=0;for(var t in e)r[t]=e[t]&&0==n++;return r}))}),[c]);var h=M((function(e,r,n){var t=n.current;return s((function(n){return Je(e,r,n,c)})),p.current=_(_({},p.current),{},ne({},e,t)),function(){s((function(r){return le(r,e)})),p.current=le(p.current,e)}}),[c]),g=M((function(e,r){s((function(n){var t=null!=r?r:!n[e],o=Je(e,t,n,c);return Q().then((function(){for(var e in n){var r=p.current[e];r&&n[e]!=o[e]&&r(o[e])}})),o}))}),[c]),m=M((function(e,r){var n;return null!==(n=v[e])&&void 0!==n?n:r}),[v]),O=M((function(e){if(e)e in v&&g(e);else if(!c)for(var r in v)g(r)}),[v,g,c]),S=M((function(e){if(e)m(e,!0)||g(e);else if(!c)for(var r in v)m(r,!0)||g(r)}),[v,g,m,c]),w=M((function(e){if(e)m(e,!1)&&g(e);else for(var r in v)m(r,!1)&&g(r)}),[v,g,m]);Pe(r,(function(){return{toggle:O,expand:S,collapse:w}}),[O,w,S]);var x=G((function(){return{registerSection:h,toggleExpanded:g,isExpanded:m,animate:t,prefix:y}}),[h,g,m,t,y]);return C(i,_({id:l},f),C(Xe.Provider,{value:x},a))}var qe=ke(Dr);function Je(e,r,n,t){var o;if(t&&r)for(var i in o=ne({},e,r),n)i!=e&&(o[i]=!1);else o=_(_({},n),{},ne({},e,r));return o}function Hr(e){var r=e.animate,n=void 0!==r&&r,t=e.as,o=void 0===t?"section":t,i=e.children,a=e.expanded,u=void 0!==a&&a,c=e.id,l=e.onExpandStateChange,f=oe(e,Or),d=j(T($r),1)[0],v=c||d,s=j(T(Ze),1)[0],p=j(T(u),2),b=p[0],y=p[1],h=j(T(null),2),g=h[0],m=h[1],O=j(T(null),2),S=O[0],w=O[1],x=D(Xe),A=x.animate,P=x.isExpanded,E=x.prefix,I=x.registerSection,H=x.toggleExpanded,N=P?P(v,u):b,L=null!=A?A:n,U=g||"".concat(E||"a","-content-").concat(v,"-").concat(s),q=S||"".concat(E||"a","-header-").concat(v,"-").concat(s),Z=Y(null);Z.current=l,k((function(){if(I)return I(v,u,Z)}),[I,v,u]);var z=M((function(e){H?H(v,e):y((function(r){var n=null!=e?e:!r;return Q().then((function(){var e=Z.current;e&&e(n)})),n}))}),[v,H]),R=G((function(){return{animate:L,contentId:U,headerId:q,expanded:N,toggleHandler:z,setContentId:m,setHeaderId:w}}),[L,U,q,N,z]);return C(o,_(_({},f),{},{expanded:N}),C(ve.Provider,{value:R},i))}function Lr(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"button":u,l=e.tabIndex,f=void 0===l?0:l,d=oe(e,Pr),v=D(ve),s=v.contentId,p=v.expanded,b=v.headerId,y=v.setHeaderId,h=v.toggleHandler;return k((function(){y&&y(a)}),[y,a]),C(n,_(_({},d),{},{id:b,role:c,className:"".concat(i," ").concat(J," ").concat(Ee),tabIndex:f,"aria-controls":s,onClick:function(){return h()},"aria-expanded":String(p)}),t)}function Ur(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"region":u,l=oe(e,Ir),f=Y(null),d=Y(!1),v=D(ve),s=v.animate,p=v.contentId,b=v.expanded,y=v.headerId,h=v.setContentId;return ce((function(){return d.current=!0,function(){return d.current=!1}}),[]),k((function(){h&&h(a)}),[h,a]),k((function(){var e=d.current,r=f.current;if(s&&e&&r&&r.animate)return b?Le(r):Ue(r)}),[b,s]),C(Te,{renderable:b},C(n,_(_({},l),{},{ref:f,className:i+(" "+J)+(b?"":" "+_e),id:p,"aria-labelledby":y,role:c}),t))}
var Be=Object.create,Z=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyNames,tr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,Se=function(e){return Z(e,"__esModule",{value:!0})},or=function(e,r){for(var n in Se(e),r)Z(e,n,{get:r[n],enumerable:!0})},ir=function(e,r,n){if(r&&"object"==typeof r||"function"==typeof r)for(var t,o=rr(r),i=0,a=o.length;i<a;i++)t=o[i],!nr.call(e,t)&&"default"!==t&&Z(e,t,{get:function(e){return r[e]}.bind(null,t),enumerable:!(n=er(r,t))||n.enumerable});return e},q=function(e){return ir(Se(Z(null!=e?Be(tr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};or(exports,{Accordion:function(){return qe},AccordionContent:function(){return Ur},AccordionHeader:function(){return Lr},AccordionSection:function(){return Hr}});var K,J="section-child-00fce3c",Ee="header-00fce3c",_e="content-hidden-00fce3c";function Q(){return K||(K=Promise.resolve(void 0))}var H,N=q(require("preact")),Oe=q(require("preact")),v=q(require("preact/hooks"));function I(e,r,n){return N.createElement.apply(void 0,arguments)}function F(e){return N.createContext(e,void 0)}function M(e){return v.useState(e)}function Y(e){return v.useRef(e)}function ce(e,r){v.useEffect(e,r)}function k(e,r){v.useLayoutEffect(e,r)}function D(e){return v.useContext(e)}function G(e,r){return v.useMemo(e,r)}function R(e,r){return v.useCallback(e,r)}function Pe(e,r,n){return v.useImperativeHandle(e,r,n)}function B(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Ie,S={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ar=[S.AUTO,S.LAZY,S.EAGER,S.UNLOAD],Ce=(B(H={},S.AUTO,0),B(H,S.LAZY,1),B(H,S.EAGER,2),B(H,S.UNLOAD,3),H);function de(e,r){var n=Ce[e]||0,t=Ce[r]||0,o=Math.max(n,t);return ar[o]}function we(){return Ie||(Ie=F({renderable:!0,playable:!0,loading:S.AUTO}))}function Me(e){var r=e.children,n=e.loading,t=void 0===n?"auto":n,o=e.notify,i=e.playable,a=void 0===i||i,u=e.renderable,c=void 0===u||u,l=ur(),f=c&&l.renderable,d=f&&a&&l.playable,v=de(f?S.AUTO:S.LAZY,de(t,l.loading)),s=o||l.notify,p=G((function(){return{renderable:f,playable:d,loading:v,notify:s}}),[f,d,v,s]);return I(we().Provider,{children:r,value:p})}function ur(){return D(we())}var Te=Array.isArray,Ne=Object.prototype,dt=Ne.hasOwnProperty,lt=Ne.toString;function je(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function le(e,r){return Object.keys(e).reduce((function(n,t){return r.includes(t)||(n[t]=e[t]),n}),{})}var ee,$e=["Webkit","webkit","Moz","moz","ms","O","o"];function gr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function yr(e,r){for(var n=0;n<$e.length;n++){var t=$e[n]+r;if(void 0!==e[t])return t}return""}function De(e,r,n){if(me(r))return r;ee||(ee=je());var t=ee[r];if(!t||n){if(t=r,void 0===e[r]){var o=yr(e,gr(r));void 0!==e[o]&&(t=o)}n||(ee[r]=t)}return t}function br(e,r,n,t,o){var i=De(e.style,r,o);if(i){var a=t?n+t:n;me(i)?e.style.setProperty(i,a):e.style[i]=a}}function re(e,r,n){var t=De(e.style,r,n);if(t)return me(t)?e.style.getPropertyValue(t):e.style[t]}function pe(e,r){for(var n in r)br(e,n,r[n])}function me(e){return e.startsWith("--")}var He=500,Ar=200,Sr="cubic-bezier(0.47, 0, 0.745, 0.715)",Er="cubic-bezier(0.39, 0.575, 0.565, 1)";function Le(e){return Fe(e,(function(){var r=re(e,"height"),n=re(e,"opacity"),t=re(e,"overflowY");pe(e,{height:0,opacity:0,overflowY:"auto"});var o=e.scrollHeight;pe(e,{height:r,opacity:n,overflowY:t});var i=Ye(o);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:Sr,duration:i})}))}function Ue(e){return Fe(e,(function(){var r=e.offsetHeight,n=Ye(r);return e.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Er,duration:n})}))}function Fe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;e.classList.add("i-amphtml-animating");var t=r();return t.onfinish=t.oncancel=function(){t=null,n&&n(),e.classList.remove("i-amphtml-animating")},function(){t&&t.cancel()}}function Ye(e){var r=window.innerHeight,n=Math.abs(e)/r*He;return Math.min(Math.max(n,Ar),He)}var te=q(require("preact/compat"));function ke(e){return te.forwardRef(e)}function Ge(){var e=0;return function(){return String(++e)}}function Ve(e){return function(){return String(Math.floor(Math.random()*e))}}var _r=["animate","as","children","expandSingleSection","id"],Or=["animate","as","children","expanded","id","onExpandStateChange"],Pr=["as","children","className","id","role","tabIndex"],Cr=["as","children","className","id","role"];function We(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function _(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?We(Object(n),!0).forEach((function(r){ne(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function ne(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e,r){return Rr(e)||Mr(e,r)||wr(e,r)||Ir()}function Ir(){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 wr(e,r){if(e){if("string"==typeof e)return ze(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,r)}}function ze(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Mr(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){u=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(u)throw o}}return i}}function Rr(e){if(Array.isArray(e))return e}function oe(e,r){if(null==e)return{};var n,t,o=Tr(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(o[n]=e[n]))}return o}function Tr(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(o[n]=e[n]);return o}var Xe=F({}),ve=F({}),Nr={},jr={},$r=Ge(),Ze=Ve(1e5);function Dr(e,r){var n=e.animate,t=void 0!==n&&n,o=e.as,i=void 0===o?"section":o,a=e.children,u=e.expandSingleSection,c=void 0!==u&&u,l=e.id,f=oe(e,_r),d=j(M(Nr),2),v=d[0],s=d[1],p=Y(jr),b=j(M(Ze),1)[0],y=l||"a".concat(b);ce((function(){!c||s((function(e){var r={},n=0;for(var t in e)r[t]=e[t]&&0==n++;return r}))}),[c]);var h=R((function(e,r,n){var t=n.current;return s((function(n){return Je(e,r,n,c)})),p.current=_(_({},p.current),{},ne({},e,t)),function(){s((function(r){return le(r,e)})),p.current=le(p.current,e)}}),[c]),g=R((function(e,r){s((function(n){var t=null!=r?r:!n[e],o=Je(e,t,n,c);return Q().then((function(){for(var e in n){var r=p.current[e];r&&n[e]!=o[e]&&r(o[e])}})),o}))}),[c]),m=R((function(e,r){var n;return null!==(n=v[e])&&void 0!==n?n:r}),[v]),O=R((function(e){if(e)e in v&&g(e);else if(!c)for(var r in v)g(r)}),[v,g,c]),S=R((function(e){if(e)m(e,!0)||g(e);else if(!c)for(var r in v)m(r,!0)||g(r)}),[v,g,m,c]),w=R((function(e){if(e)m(e,!1)&&g(e);else for(var r in v)m(r,!1)&&g(r)}),[v,g,m]);Pe(r,(function(){return{toggle:O,expand:S,collapse:w}}),[O,w,S]);var x=G((function(){return{registerSection:h,toggleExpanded:g,isExpanded:m,animate:t,prefix:y}}),[h,g,m,t,y]);return I(i,_({id:l},f),I(Xe.Provider,{value:x},a))}var qe=ke(Dr);function Je(e,r,n,t){var o;if(t&&r)for(var i in o=ne({},e,r),n)i!=e&&(o[i]=!1);else o=_(_({},n),{},ne({},e,r));return o}function Hr(e){var r=e.animate,n=void 0!==r&&r,t=e.as,o=void 0===t?"section":t,i=e.children,a=e.expanded,u=void 0!==a&&a,c=e.id,l=e.onExpandStateChange,f=oe(e,Or),d=j(M($r),1)[0],v=c||d,s=j(M(Ze),1)[0],p=j(M(u),2),b=p[0],y=p[1],h=j(M(null),2),g=h[0],m=h[1],O=j(M(null),2),S=O[0],w=O[1],x=D(Xe),A=x.animate,P=x.isExpanded,E=x.prefix,H=x.registerSection,N=x.toggleExpanded,C=P?P(v,u):b,L=null!=A?A:n,U=g||"".concat(E||"a","-content-").concat(v,"-").concat(s),q=S||"".concat(E||"a","-header-").concat(v,"-").concat(s),Z=Y(null);Z.current=l,k((function(){if(H)return H(v,u,Z)}),[H,v,u]);var T=R((function(e){N?N(v,e):y((function(r){var n=null!=e?e:!r;return Q().then((function(){var e=Z.current;e&&e(n)})),n}))}),[v,N]),z=G((function(){return{animate:L,contentId:U,headerId:q,expanded:C,toggleHandler:T,setContentId:m,setHeaderId:w}}),[L,U,q,C,T]);return I(o,_(_({},f),{},{expanded:C}),I(ve.Provider,{value:z},i))}function Lr(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"button":u,l=e.tabIndex,f=void 0===l?0:l,d=oe(e,Pr),v=D(ve),s=v.contentId,p=v.expanded,b=v.headerId,y=v.setHeaderId,h=v.toggleHandler;return k((function(){y&&y(a)}),[y,a]),I(n,_(_({},d),{},{id:b,role:c,className:"".concat(i," ").concat(J," ").concat(Ee),tabIndex:f,"aria-controls":s,onClick:function(){return h()},"aria-expanded":String(p)}),t)}function Ur(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"region":u,l=oe(e,Cr),f=Y(null),d=Y(!1),v=D(ve),s=v.animate,p=v.contentId,b=v.expanded,y=v.headerId,h=v.setContentId;return ce((function(){return d.current=!0,function(){return d.current=!1}}),[]),k((function(){h&&h(a)}),[h,a]),k((function(){var e=d.current,r=f.current;if(s&&e&&r&&r.animate)return b?Le(r):Ue(r)}),[b,s]),I(Me,{renderable:b},I(n,_(_({},l),{},{ref:f,className:i+(" "+J)+(b?"":" "+_e),id:p,"aria-labelledby":y,role:c}),t))}
//# sourceMappingURL=component-preact.js.map
qe.displayName="Accordion";

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

var L,H="section-child-00fce3c",B="header-00fce3c",ee="content-hidden-00fce3c";function U(){return L||(L=Promise.resolve(void 0))}import{Fragment as bt,cloneElement as gt,createContext as _e,createElement as Oe,createRef as Et}from"preact";import{hydrate as At,render as yt}from"preact";import{useCallback as Me,useContext as Ne,useEffect as Ie,useImperativeHandle as je,useLayoutEffect as we,useMemo as Re,useRef as ve,useState as Ce}from"preact/hooks";function P(e,t,n){return Oe.apply(void 0,arguments)}function R(e){return _e(e,void 0)}function S(e){return Ce(e)}function M(e){return ve(e)}function G(e,t){Ie(e,t)}function j(e,t){we(e,t)}function w(e){return Ne(e)}function $(e,t){return Re(e,t)}function O(e,t){return Me(e,t)}function te(e,t,n){return je(e,t,n)}var ne,h={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},$e=[h.AUTO,h.LAZY,h.EAGER,h.UNLOAD],re={[h.AUTO]:0,[h.LAZY]:1,[h.EAGER]:2,[h.UNLOAD]:3};function z(e,t){let n=re[e]||0,r=re[t]||0,i=Math.max(n,r);return $e[i]}function oe(){return ne||(ne=R({renderable:!0,playable:!0,loading:h.AUTO}))}function ie({children:e,loading:t="auto",notify:n,playable:r=!0,renderable:i=!0}){let a=t,o=r,l=i,c=Te(),u=l&&c.renderable,d=u&&o&&c.playable,f=z(u?h.AUTO:h.LAZY,z(a,c.loading)),s=n||c.notify,p=$((()=>({renderable:u,playable:d,loading:f,notify:s})),[u,d,f,s]);return P(oe().Provider,{children:e,value:p})}function Te(){return w(oe())}var{hasOwnProperty:Yt,toString:Gt}=Object.prototype;function ce(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function W(e,t){return Object.keys(e).reduce(((n,r)=>(t.includes(r)||(n[r]=e[r]),n)),{})}var F,ae=["Webkit","webkit","Moz","moz","ms","O","o"];function Xe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function qe(e,t){for(let n=0;n<ae.length;n++){let r=ae[n]+t;if(void 0!==e[r])return r}return""}function ue(e,t,n){if(q(t))return t;F||(F=ce());let r=F[t];if(!r||n){if(r=t,void 0===e[t]){let n=qe(e,Xe(t));void 0!==e[n]&&(r=n)}n||(F[t]=r)}return r}function Ze(e,t,n,r,i){let a=ue(e.style,t,i);if(!a)return;let o=r?n+r:n;q(a)?e.style.setProperty(a,o):e.style[a]=o}function V(e,t,n){let r=ue(e.style,t,n);if(r)return q(r)?e.style.getPropertyValue(r):e.style[r]}function X(e,t){for(let n in t)Ze(e,n,t[n])}function q(e){return e.startsWith("--")}var fe=500,Je=200,Ke="cubic-bezier(0.47, 0, 0.745, 0.715)",Qe="cubic-bezier(0.39, 0.575, 0.565, 1)";function pe(e){return le(e,(()=>{let t=V(e,"height"),n=V(e,"opacity"),r=V(e,"overflowY");X(e,{height:0,opacity:0,overflowY:"auto"});let i=e.scrollHeight;X(e,{height:t,opacity:n,overflowY:r});let a=me(i);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:Ke,duration:a})}))}function de(e){return le(e,(()=>{let t=e.offsetHeight,n=me(t);return e.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Qe,duration:n})}))}function le(e,t,n){let r=n;e.classList.add("i-amphtml-animating");let i=t();return i.onfinish=i.oncancel=()=>{i=null,r&&r(),e.classList.remove("i-amphtml-animating")},()=>{i&&i.cancel()}}function me(e){let t=window.innerHeight,n=Math.abs(e)/t*fe;return Math.min(Math.max(n,Je),fe)}import{Children as Cr,createPortal as _r,forwardRef as Be}from"preact/compat";function xe(e){return Be(e)}function he(){let e=0;return()=>String(++e)}function ge(e){return()=>String(Math.floor(Math.random()*e))}var et=["animate","as","children","expandSingleSection","id"],tt=["animate","as","children","expanded","id","onExpandStateChange"],rt=["as","children","className","id","role","tabIndex"],nt=["as","children","className","id","role"];function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t){if(null==e)return{};var n,r,i=it(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(i[n]=e[n]))}return i}function it(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}var Ae=R({}),Z=R({}),st={},ct={},at=he(),be=ge(1e5);function ut(e,t){let{animate:n=!1,as:r="section",children:i,expandSingleSection:a=!1,id:o}=e,l=Y(e,et),{0:c,1:u}=S(st),d=M(ct),{0:f}=S(be),s=o||`a${f}`;G((()=>{!a||u((e=>{let t={},n=0;for(let r in e)t[r]=e[r]&&0==n++;return t}))}),[a]);let p=O(((e,t,{current:n})=>(u((n=>Ee(e,t,n,a))),d.current=A(A({},d.current),{},{[e]:n}),()=>{u((t=>W(t,e))),d.current=W(d.current,e)})),[a]),h=O(((e,t)=>{u((n=>{let r=null!=t?t:!n[e],i=Ee(e,r,n,a);return U().then((()=>{for(let e in n){let t=d.current[e];t&&n[e]!=i[e]&&t(i[e])}})),i}))}),[a]),g=O(((e,t)=>{var n;return null!==(n=c[e])&&void 0!==n?n:t}),[c]),b=O((e=>{if(e)e in c&&h(e);else if(!a)for(let e in c)h(e)}),[c,h,a]),m=O((e=>{if(e)g(e,!0)||h(e);else if(!a)for(let e in c)g(e,!0)||h(e)}),[c,h,g,a]),y=O((e=>{if(e)g(e,!1)&&h(e);else for(let e in c)g(e,!1)&&h(e)}),[c,h,g]);te(t,(()=>({toggle:b,expand:m,collapse:y})),[b,y,m]);let v=$((()=>({registerSection:p,toggleExpanded:h,isExpanded:g,animate:n,prefix:s})),[p,h,g,n,s]);return P(r,A({id:o},l),P(Ae.Provider,{value:v},i))}var ft=xe(ut);function Ee(e,t,n,r){let i;if(r&&t){i={[e]:t};for(let t in n)t!=e&&(i[t]=!1)}else i=A(A({},n),{},{[e]:t});return i}function Wr(e){let{animate:t=!1,as:n="section",children:r,expanded:i=!1,id:a,onExpandStateChange:o}=e,l=Y(e,tt),{0:c}=S(at),u=a||c,{0:d}=S(be),{0:f,1:s}=S(i),{0:p,1:h}=S(null),{0:g,1:b}=S(null),{animate:m,isExpanded:y,prefix:v,registerSection:x,toggleExpanded:E}=w(Ae),I=y?y(u,i):f,C=null!=m?m:t,L=p||`${v||"a"}-content-${u}-${d}`,H=g||`${v||"a"}-header-${u}-${d}`,N=M(null);N.current=o,j((()=>{if(x)return x(u,i,N)}),[x,u,i]);let R=O((e=>{E?E(u,e):s((t=>{let n=null!=e?e:!t;return U().then((()=>{let e=N.current;e&&e(n)})),n}))}),[u,E]),k=$((()=>({animate:C,contentId:L,headerId:H,expanded:I,toggleHandler:R,setContentId:h,setHeaderId:b})),[C,L,H,I,R]);return P(n,A(A({},l),{},{expanded:I}),P(Z.Provider,{value:k},r))}function Xr(e){let{as:t="div",children:n,className:r="",id:i,role:a="button",tabIndex:o=0}=e,l=Y(e,rt),{contentId:c,expanded:u,headerId:d,setHeaderId:f,toggleHandler:s}=w(Z);return j((()=>{f&&f(i)}),[f,i]),P(t,A(A({},l),{},{id:d,role:a,className:`${r} ${H} ${B}`,tabIndex:o,"aria-controls":c,onClick:()=>s(),"aria-expanded":String(u)}),n)}function qr(e){let{as:t="div",children:n,className:r="",id:i,role:a="region"}=e,o=Y(e,nt),l=M(null),c=M(!1),{animate:u,contentId:d,expanded:f,headerId:s,setContentId:p}=w(Z);return G((()=>(c.current=!0,()=>c.current=!1)),[]),j((()=>{p&&p(i)}),[p,i]),j((()=>{let e=c.current,t=l.current;if(u&&e&&t&&t.animate)return f?pe(t):de(t)}),[f,u]),P(ie,{renderable:f},P(t,A(A({},o),{},{ref:l,className:r+(" "+H)+(f?"":" "+ee),id:d,"aria-labelledby":s,role:a}),n))}ft.displayName="Accordion";export{ft as Accordion,qr as AccordionContent,Xr as AccordionHeader,Wr as AccordionSection};
var L,H="section-child-00fce3c",B="header-00fce3c",ee="content-hidden-00fce3c";function U(){return L||(L=Promise.resolve(void 0))}import{Fragment as bt,cloneElement as gt,createContext as Ce,createElement as Se,createRef as Et}from"preact";import{hydrate as At,render as yt}from"preact";import{useCallback as Me,useContext as Ne,useEffect as Ie,useImperativeHandle as je,useLayoutEffect as we,useMemo as Re,useRef as ve,useState as _e}from"preact/hooks";function P(e,t,n){return Se.apply(void 0,arguments)}function R(e){return Ce(e,void 0)}function O(e){return _e(e)}function M(e){return ve(e)}function G(e,t){Ie(e,t)}function j(e,t){we(e,t)}function w(e){return Ne(e)}function $(e,t){return Re(e,t)}function S(e,t){return Me(e,t)}function te(e,t,n){return je(e,t,n)}var ne,h={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},$e=[h.AUTO,h.LAZY,h.EAGER,h.UNLOAD],re={[h.AUTO]:0,[h.LAZY]:1,[h.EAGER]:2,[h.UNLOAD]:3};function z(e,t){let n=re[e]||0,r=re[t]||0,i=Math.max(n,r);return $e[i]}function oe(){return ne||(ne=R({renderable:!0,playable:!0,loading:h.AUTO}))}function ie({children:e,loading:t="auto",notify:n,playable:r=!0,renderable:i=!0}){let a=t,o=r,l=i,c=Te(),u=l&&c.renderable,d=u&&o&&c.playable,f=z(u?h.AUTO:h.LAZY,z(a,c.loading)),s=n||c.notify,p=$((()=>({renderable:u,playable:d,loading:f,notify:s})),[u,d,f,s]);return P(oe().Provider,{children:e,value:p})}function Te(){return w(oe())}var{hasOwnProperty:Ft,toString:Gt}=Object.prototype;function ce(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function W(e,t){return Object.keys(e).reduce(((n,r)=>(t.includes(r)||(n[r]=e[r]),n)),{})}var V,ae=["Webkit","webkit","Moz","moz","ms","O","o"];function Xe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function qe(e,t){for(let n=0;n<ae.length;n++){let r=ae[n]+t;if(void 0!==e[r])return r}return""}function ue(e,t,n){if(q(t))return t;V||(V=ce());let r=V[t];if(!r||n){if(r=t,void 0===e[t]){let n=qe(e,Xe(t));void 0!==e[n]&&(r=n)}n||(V[t]=r)}return r}function Ze(e,t,n,r,i){let a=ue(e.style,t,i);if(!a)return;let o=r?n+r:n;q(a)?e.style.setProperty(a,o):e.style[a]=o}function Y(e,t,n){let r=ue(e.style,t,n);if(r)return q(r)?e.style.getPropertyValue(r):e.style[r]}function X(e,t){for(let n in t)Ze(e,n,t[n])}function q(e){return e.startsWith("--")}var fe=500,Je=200,Ke="cubic-bezier(0.47, 0, 0.745, 0.715)",Qe="cubic-bezier(0.39, 0.575, 0.565, 1)";function pe(e){return le(e,(()=>{let t=Y(e,"height"),n=Y(e,"opacity"),r=Y(e,"overflowY");X(e,{height:0,opacity:0,overflowY:"auto"});let i=e.scrollHeight;X(e,{height:t,opacity:n,overflowY:r});let a=me(i);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:Ke,duration:a})}))}function de(e){return le(e,(()=>{let t=e.offsetHeight,n=me(t);return e.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Qe,duration:n})}))}function le(e,t,n){let r=n;e.classList.add("i-amphtml-animating");let i=t();return i.onfinish=i.oncancel=()=>{i=null,r&&r(),e.classList.remove("i-amphtml-animating")},()=>{i&&i.cancel()}}function me(e){let t=window.innerHeight,n=Math.abs(e)/t*fe;return Math.min(Math.max(n,Je),fe)}import{Children as _r,createPortal as Cr,forwardRef as Be}from"preact/compat";function xe(e){return Be(e)}function he(){let e=0;return()=>String(++e)}function ge(e){return()=>String(Math.floor(Math.random()*e))}var et=["animate","as","children","expandSingleSection","id"],tt=["animate","as","children","expanded","id","onExpandStateChange"],rt=["as","children","className","id","role","tabIndex"],nt=["as","children","className","id","role"];function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t){if(null==e)return{};var n,r,i=it(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(i[n]=e[n]))}return i}function it(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}var Ae=R({}),Z=R({}),st={},ct={},at=he(),be=ge(1e5);function ut(e,t){let{animate:n=!1,as:r="section",children:i,expandSingleSection:a=!1,id:o}=e,l=F(e,et),{0:c,1:u}=O(st),d=M(ct),{0:f}=O(be),s=o||`a${f}`;G((()=>{!a||u((e=>{let t={},n=0;for(let r in e)t[r]=e[r]&&0==n++;return t}))}),[a]);let p=S(((e,t,{current:n})=>(u((n=>Ee(e,t,n,a))),d.current=A(A({},d.current),{},{[e]:n}),()=>{u((t=>W(t,e))),d.current=W(d.current,e)})),[a]),h=S(((e,t)=>{u((n=>{let r=null!=t?t:!n[e],i=Ee(e,r,n,a);return U().then((()=>{for(let e in n){let t=d.current[e];t&&n[e]!=i[e]&&t(i[e])}})),i}))}),[a]),g=S(((e,t)=>{var n;return null!==(n=c[e])&&void 0!==n?n:t}),[c]),b=S((e=>{if(e)e in c&&h(e);else if(!a)for(let e in c)h(e)}),[c,h,a]),m=S((e=>{if(e)g(e,!0)||h(e);else if(!a)for(let e in c)g(e,!0)||h(e)}),[c,h,g,a]),y=S((e=>{if(e)g(e,!1)&&h(e);else for(let e in c)g(e,!1)&&h(e)}),[c,h,g]);te(t,(()=>({toggle:b,expand:m,collapse:y})),[b,y,m]);let v=$((()=>({registerSection:p,toggleExpanded:h,isExpanded:g,animate:n,prefix:s})),[p,h,g,n,s]);return P(r,A({id:o},l),P(Ae.Provider,{value:v},i))}var ft=xe(ut);function Ee(e,t,n,r){let i;if(r&&t){i={[e]:t};for(let t in n)t!=e&&(i[t]=!1)}else i=A(A({},n),{},{[e]:t});return i}function Wr(e){let{animate:t=!1,as:n="section",children:r,expanded:i=!1,id:a,onExpandStateChange:o}=e,l=F(e,tt),{0:c}=O(at),u=a||c,{0:d}=O(be),{0:f,1:s}=O(i),{0:p,1:h}=O(null),{0:g,1:b}=O(null),{animate:m,isExpanded:y,prefix:v,registerSection:x,toggleExpanded:E}=w(Ae),I=y?y(u,i):f,Y=null!=m?m:t,C=p||`${v||"a"}-content-${u}-${d}`,L=g||`${v||"a"}-header-${u}-${d}`,H=M(null);H.current=o,j((()=>{if(x)return x(u,i,H)}),[x,u,i]);let N=S((e=>{E?E(u,e):s((t=>{let n=null!=e?e:!t;return U().then((()=>{let e=H.current;e&&e(n)})),n}))}),[u,E]),R=$((()=>({animate:Y,contentId:C,headerId:L,expanded:I,toggleHandler:N,setContentId:h,setHeaderId:b})),[Y,C,L,I,N]);return P(n,A(A({},l),{},{expanded:I}),P(Z.Provider,{value:R},r))}function Xr(e){let{as:t="div",children:n,className:r="",id:i,role:a="button",tabIndex:o=0}=e,l=F(e,rt),{contentId:c,expanded:u,headerId:d,setHeaderId:f,toggleHandler:s}=w(Z);return j((()=>{f&&f(i)}),[f,i]),P(t,A(A({},l),{},{id:d,role:a,className:`${r} ${H} ${B}`,tabIndex:o,"aria-controls":c,onClick:()=>s(),"aria-expanded":String(u)}),n)}function qr(e){let{as:t="div",children:n,className:r="",id:i,role:a="region"}=e,o=F(e,nt),l=M(null),c=M(!1),{animate:u,contentId:d,expanded:f,headerId:s,setContentId:p}=w(Z);return G((()=>(c.current=!0,()=>c.current=!1)),[]),j((()=>{p&&p(i)}),[p,i]),j((()=>{let e=c.current,t=l.current;if(u&&e&&t&&t.animate)return f?pe(t):de(t)}),[f,u]),P(ie,{renderable:f},P(t,A(A({},o),{},{ref:l,className:r+(" "+H)+(f?"":" "+ee),id:d,"aria-labelledby":s,role:a}),n))}ft.displayName="Accordion";export{ft as Accordion,qr as AccordionContent,Xr as AccordionHeader,Wr as AccordionSection};
//# sourceMappingURL=component-preact.module.js.map

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

var Be=Object.create,Z=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyNames,tr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,Se=function(e){return Z(e,"__esModule",{value:!0})},or=function(e,r){for(var n in Se(e),r)Z(e,n,{get:r[n],enumerable:!0})},ir=function(e,r,n){if(r&&"object"==typeof r||"function"==typeof r)for(var t,o=rr(r),i=0,a=o.length;i<a;i++)t=o[i],!nr.call(e,t)&&"default"!==t&&Z(e,t,{get:function(e){return r[e]}.bind(null,t),enumerable:!(n=er(r,t))||n.enumerable});return e},q=function(e){return ir(Se(Z(null!=e?Be(tr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};or(exports,{Accordion:function(){return qe},AccordionContent:function(){return Ur},AccordionHeader:function(){return Lr},AccordionSection:function(){return Hr}});var K,J="section-child-00fce3c",Ee="header-00fce3c",_e="content-hidden-00fce3c";function Q(){return K||(K=Promise.resolve(void 0))}var H,N=q(require("react")),Oe=q(require("react-dom")),v=q(require("react"));function C(e,r,n){return N.createElement.apply(void 0,arguments)}function F(e){return N.createContext(e,void 0)}function T(e){return v.useState(e)}function Y(e){return v.useRef(e)}function ce(e,r){v.useEffect(e,r)}function k(e,r){v.useLayoutEffect(e,r)}function D(e){return v.useContext(e)}function G(e,r){return v.useMemo(e,r)}function M(e,r){return v.useCallback(e,r)}function Pe(e,r,n){return v.useImperativeHandle(e,r,n)}function B(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Ce,S={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ar=[S.AUTO,S.LAZY,S.EAGER,S.UNLOAD],Ie=(B(H={},S.AUTO,0),B(H,S.LAZY,1),B(H,S.EAGER,2),B(H,S.UNLOAD,3),H);function de(e,r){var n=Ie[e]||0,t=Ie[r]||0,o=Math.max(n,t);return ar[o]}function we(){return Ce||(Ce=F({renderable:!0,playable:!0,loading:S.AUTO}))}function Te(e){var r=e.children,n=e.loading,t=void 0===n?"auto":n,o=e.notify,i=e.playable,a=void 0===i||i,u=e.renderable,c=void 0===u||u,l=ur(),f=c&&l.renderable,d=f&&a&&l.playable,v=de(f?S.AUTO:S.LAZY,de(t,l.loading)),s=o||l.notify,p=G((function(){return{renderable:f,playable:d,loading:v,notify:s}}),[f,d,v,s]);return C(we().Provider,{children:r,value:p})}function ur(){return D(we())}var Re=Array.isArray,Ne=Object.prototype,dt=Ne.hasOwnProperty,lt=Ne.toString;function je(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function le(e,r){return Object.keys(e).reduce((function(n,t){return r.includes(t)||(n[t]=e[t]),n}),{})}var ee,$e=["Webkit","webkit","Moz","moz","ms","O","o"];function gr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function yr(e,r){for(var n=0;n<$e.length;n++){var t=$e[n]+r;if(void 0!==e[t])return t}return""}function De(e,r,n){if(me(r))return r;ee||(ee=je());var t=ee[r];if(!t||n){if(t=r,void 0===e[r]){var o=yr(e,gr(r));void 0!==e[o]&&(t=o)}n||(ee[r]=t)}return t}function br(e,r,n,t,o){var i=De(e.style,r,o);if(i){var a=t?n+t:n;me(i)?e.style.setProperty(i,a):e.style[i]=a}}function re(e,r,n){var t=De(e.style,r,n);if(t)return me(t)?e.style.getPropertyValue(t):e.style[t]}function pe(e,r){for(var n in r)br(e,n,r[n])}function me(e){return e.startsWith("--")}var He=500,Ar=200,Sr="cubic-bezier(0.47, 0, 0.745, 0.715)",Er="cubic-bezier(0.39, 0.575, 0.565, 1)";function Le(e){return Fe(e,(function(){var r=re(e,"height"),n=re(e,"opacity"),t=re(e,"overflowY");pe(e,{height:0,opacity:0,overflowY:"auto"});var o=e.scrollHeight;pe(e,{height:r,opacity:n,overflowY:t});var i=Ye(o);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:Sr,duration:i})}))}function Ue(e){return Fe(e,(function(){var r=e.offsetHeight,n=Ye(r);return e.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Er,duration:n})}))}function Fe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;e.classList.add("i-amphtml-animating");var t=r();return t.onfinish=t.oncancel=function(){t=null,n&&n(),e.classList.remove("i-amphtml-animating")},function(){t&&t.cancel()}}function Ye(e){var r=window.innerHeight,n=Math.abs(e)/r*He;return Math.min(Math.max(n,Ar),He)}var te=q(require("react"));function ke(e){return te.forwardRef(e)}function Ge(){var e=0;return function(){return String(++e)}}function Ve(e){return function(){return String(Math.floor(Math.random()*e))}}var _r=["animate","as","children","expandSingleSection","id"],Or=["animate","as","children","expanded","id","onExpandStateChange"],Pr=["as","children","className","id","role","tabIndex"],Ir=["as","children","className","id","role"];function We(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function _(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?We(Object(n),!0).forEach((function(r){ne(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function ne(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e,r){return Mr(e)||Tr(e,r)||wr(e,r)||Cr()}function Cr(){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 wr(e,r){if(e){if("string"==typeof e)return ze(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,r)}}function ze(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Tr(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){u=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(u)throw o}}return i}}function Mr(e){if(Array.isArray(e))return e}function oe(e,r){if(null==e)return{};var n,t,o=Rr(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(o[n]=e[n]))}return o}function Rr(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(o[n]=e[n]);return o}var Xe=F({}),ve=F({}),Nr={},jr={},$r=Ge(),Ze=Ve(1e5);function Dr(e,r){var n=e.animate,t=void 0!==n&&n,o=e.as,i=void 0===o?"section":o,a=e.children,u=e.expandSingleSection,c=void 0!==u&&u,l=e.id,f=oe(e,_r),d=j(T(Nr),2),v=d[0],s=d[1],p=Y(jr),b=j(T(Ze),1)[0],y=l||"a".concat(b);ce((function(){!c||s((function(e){var r={},n=0;for(var t in e)r[t]=e[t]&&0==n++;return r}))}),[c]);var h=M((function(e,r,n){var t=n.current;return s((function(n){return Je(e,r,n,c)})),p.current=_(_({},p.current),{},ne({},e,t)),function(){s((function(r){return le(r,e)})),p.current=le(p.current,e)}}),[c]),g=M((function(e,r){s((function(n){var t=null!=r?r:!n[e],o=Je(e,t,n,c);return Q().then((function(){for(var e in n){var r=p.current[e];r&&n[e]!=o[e]&&r(o[e])}})),o}))}),[c]),m=M((function(e,r){var n;return null!==(n=v[e])&&void 0!==n?n:r}),[v]),O=M((function(e){if(e)e in v&&g(e);else if(!c)for(var r in v)g(r)}),[v,g,c]),S=M((function(e){if(e)m(e,!0)||g(e);else if(!c)for(var r in v)m(r,!0)||g(r)}),[v,g,m,c]),w=M((function(e){if(e)m(e,!1)&&g(e);else for(var r in v)m(r,!1)&&g(r)}),[v,g,m]);Pe(r,(function(){return{toggle:O,expand:S,collapse:w}}),[O,w,S]);var x=G((function(){return{registerSection:h,toggleExpanded:g,isExpanded:m,animate:t,prefix:y}}),[h,g,m,t,y]);return C(i,_({id:l},f),C(Xe.Provider,{value:x},a))}var qe=ke(Dr);function Je(e,r,n,t){var o;if(t&&r)for(var i in o=ne({},e,r),n)i!=e&&(o[i]=!1);else o=_(_({},n),{},ne({},e,r));return o}function Hr(e){var r=e.animate,n=void 0!==r&&r,t=e.as,o=void 0===t?"section":t,i=e.children,a=e.expanded,u=void 0!==a&&a,c=e.id,l=e.onExpandStateChange,f=oe(e,Or),d=j(T($r),1)[0],v=c||d,s=j(T(Ze),1)[0],p=j(T(u),2),b=p[0],y=p[1],h=j(T(null),2),g=h[0],m=h[1],O=j(T(null),2),S=O[0],w=O[1],x=D(Xe),A=x.animate,P=x.isExpanded,E=x.prefix,I=x.registerSection,H=x.toggleExpanded,N=P?P(v,u):b,L=null!=A?A:n,U=g||"".concat(E||"a","-content-").concat(v,"-").concat(s),q=S||"".concat(E||"a","-header-").concat(v,"-").concat(s),Z=Y(null);Z.current=l,k((function(){if(I)return I(v,u,Z)}),[I,v,u]);var z=M((function(e){H?H(v,e):y((function(r){var n=null!=e?e:!r;return Q().then((function(){var e=Z.current;e&&e(n)})),n}))}),[v,H]),R=G((function(){return{animate:L,contentId:U,headerId:q,expanded:N,toggleHandler:z,setContentId:m,setHeaderId:w}}),[L,U,q,N,z]);return C(o,_(_({},f),{},{expanded:N}),C(ve.Provider,{value:R},i))}function Lr(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"button":u,l=e.tabIndex,f=void 0===l?0:l,d=oe(e,Pr),v=D(ve),s=v.contentId,p=v.expanded,b=v.headerId,y=v.setHeaderId,h=v.toggleHandler;return k((function(){y&&y(a)}),[y,a]),C(n,_(_({},d),{},{id:b,role:c,className:"".concat(i," ").concat(J," ").concat(Ee),tabIndex:f,"aria-controls":s,onClick:function(){return h()},"aria-expanded":String(p)}),t)}function Ur(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"region":u,l=oe(e,Ir),f=Y(null),d=Y(!1),v=D(ve),s=v.animate,p=v.contentId,b=v.expanded,y=v.headerId,h=v.setContentId;return ce((function(){return d.current=!0,function(){return d.current=!1}}),[]),k((function(){h&&h(a)}),[h,a]),k((function(){var e=d.current,r=f.current;if(s&&e&&r&&r.animate)return b?Le(r):Ue(r)}),[b,s]),C(Te,{renderable:b},C(n,_(_({},l),{},{ref:f,className:i+(" "+J)+(b?"":" "+_e),id:p,"aria-labelledby":y,role:c}),t))}
var Be=Object.create,Z=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyNames,tr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,Se=function(e){return Z(e,"__esModule",{value:!0})},or=function(e,r){for(var n in Se(e),r)Z(e,n,{get:r[n],enumerable:!0})},ir=function(e,r,n){if(r&&"object"==typeof r||"function"==typeof r)for(var t,o=rr(r),i=0,a=o.length;i<a;i++)t=o[i],!nr.call(e,t)&&"default"!==t&&Z(e,t,{get:function(e){return r[e]}.bind(null,t),enumerable:!(n=er(r,t))||n.enumerable});return e},q=function(e){return ir(Se(Z(null!=e?Be(tr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};or(exports,{Accordion:function(){return qe},AccordionContent:function(){return Ur},AccordionHeader:function(){return Lr},AccordionSection:function(){return Hr}});var K,J="section-child-00fce3c",Ee="header-00fce3c",_e="content-hidden-00fce3c";function Q(){return K||(K=Promise.resolve(void 0))}var H,N=q(require("react")),Oe=q(require("react-dom")),v=q(require("react"));function I(e,r,n){return N.createElement.apply(void 0,arguments)}function F(e){return N.createContext(e,void 0)}function M(e){return v.useState(e)}function Y(e){return v.useRef(e)}function ce(e,r){v.useEffect(e,r)}function k(e,r){v.useLayoutEffect(e,r)}function D(e){return v.useContext(e)}function G(e,r){return v.useMemo(e,r)}function R(e,r){return v.useCallback(e,r)}function Pe(e,r,n){return v.useImperativeHandle(e,r,n)}function B(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Ie,S={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ar=[S.AUTO,S.LAZY,S.EAGER,S.UNLOAD],Ce=(B(H={},S.AUTO,0),B(H,S.LAZY,1),B(H,S.EAGER,2),B(H,S.UNLOAD,3),H);function de(e,r){var n=Ce[e]||0,t=Ce[r]||0,o=Math.max(n,t);return ar[o]}function we(){return Ie||(Ie=F({renderable:!0,playable:!0,loading:S.AUTO}))}function Me(e){var r=e.children,n=e.loading,t=void 0===n?"auto":n,o=e.notify,i=e.playable,a=void 0===i||i,u=e.renderable,c=void 0===u||u,l=ur(),f=c&&l.renderable,d=f&&a&&l.playable,v=de(f?S.AUTO:S.LAZY,de(t,l.loading)),s=o||l.notify,p=G((function(){return{renderable:f,playable:d,loading:v,notify:s}}),[f,d,v,s]);return I(we().Provider,{children:r,value:p})}function ur(){return D(we())}var Te=Array.isArray,Ne=Object.prototype,dt=Ne.hasOwnProperty,lt=Ne.toString;function je(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function le(e,r){return Object.keys(e).reduce((function(n,t){return r.includes(t)||(n[t]=e[t]),n}),{})}var ee,$e=["Webkit","webkit","Moz","moz","ms","O","o"];function gr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function yr(e,r){for(var n=0;n<$e.length;n++){var t=$e[n]+r;if(void 0!==e[t])return t}return""}function De(e,r,n){if(me(r))return r;ee||(ee=je());var t=ee[r];if(!t||n){if(t=r,void 0===e[r]){var o=yr(e,gr(r));void 0!==e[o]&&(t=o)}n||(ee[r]=t)}return t}function br(e,r,n,t,o){var i=De(e.style,r,o);if(i){var a=t?n+t:n;me(i)?e.style.setProperty(i,a):e.style[i]=a}}function re(e,r,n){var t=De(e.style,r,n);if(t)return me(t)?e.style.getPropertyValue(t):e.style[t]}function pe(e,r){for(var n in r)br(e,n,r[n])}function me(e){return e.startsWith("--")}var He=500,Ar=200,Sr="cubic-bezier(0.47, 0, 0.745, 0.715)",Er="cubic-bezier(0.39, 0.575, 0.565, 1)";function Le(e){return Fe(e,(function(){var r=re(e,"height"),n=re(e,"opacity"),t=re(e,"overflowY");pe(e,{height:0,opacity:0,overflowY:"auto"});var o=e.scrollHeight;pe(e,{height:r,opacity:n,overflowY:t});var i=Ye(o);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:Sr,duration:i})}))}function Ue(e){return Fe(e,(function(){var r=e.offsetHeight,n=Ye(r);return e.animate([{height:r+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Er,duration:n})}))}function Fe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;e.classList.add("i-amphtml-animating");var t=r();return t.onfinish=t.oncancel=function(){t=null,n&&n(),e.classList.remove("i-amphtml-animating")},function(){t&&t.cancel()}}function Ye(e){var r=window.innerHeight,n=Math.abs(e)/r*He;return Math.min(Math.max(n,Ar),He)}var te=q(require("react"));function ke(e){return te.forwardRef(e)}function Ge(){var e=0;return function(){return String(++e)}}function Ve(e){return function(){return String(Math.floor(Math.random()*e))}}var _r=["animate","as","children","expandSingleSection","id"],Or=["animate","as","children","expanded","id","onExpandStateChange"],Pr=["as","children","className","id","role","tabIndex"],Cr=["as","children","className","id","role"];function We(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function _(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?We(Object(n),!0).forEach((function(r){ne(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function ne(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e,r){return Rr(e)||Mr(e,r)||wr(e,r)||Ir()}function Ir(){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 wr(e,r){if(e){if("string"==typeof e)return ze(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,r)}}function ze(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Mr(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){u=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(u)throw o}}return i}}function Rr(e){if(Array.isArray(e))return e}function oe(e,r){if(null==e)return{};var n,t,o=Tr(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(o[n]=e[n]))}return o}function Tr(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],!(r.indexOf(n)>=0)&&(o[n]=e[n]);return o}var Xe=F({}),ve=F({}),Nr={},jr={},$r=Ge(),Ze=Ve(1e5);function Dr(e,r){var n=e.animate,t=void 0!==n&&n,o=e.as,i=void 0===o?"section":o,a=e.children,u=e.expandSingleSection,c=void 0!==u&&u,l=e.id,f=oe(e,_r),d=j(M(Nr),2),v=d[0],s=d[1],p=Y(jr),b=j(M(Ze),1)[0],y=l||"a".concat(b);ce((function(){!c||s((function(e){var r={},n=0;for(var t in e)r[t]=e[t]&&0==n++;return r}))}),[c]);var h=R((function(e,r,n){var t=n.current;return s((function(n){return Je(e,r,n,c)})),p.current=_(_({},p.current),{},ne({},e,t)),function(){s((function(r){return le(r,e)})),p.current=le(p.current,e)}}),[c]),g=R((function(e,r){s((function(n){var t=null!=r?r:!n[e],o=Je(e,t,n,c);return Q().then((function(){for(var e in n){var r=p.current[e];r&&n[e]!=o[e]&&r(o[e])}})),o}))}),[c]),m=R((function(e,r){var n;return null!==(n=v[e])&&void 0!==n?n:r}),[v]),O=R((function(e){if(e)e in v&&g(e);else if(!c)for(var r in v)g(r)}),[v,g,c]),S=R((function(e){if(e)m(e,!0)||g(e);else if(!c)for(var r in v)m(r,!0)||g(r)}),[v,g,m,c]),w=R((function(e){if(e)m(e,!1)&&g(e);else for(var r in v)m(r,!1)&&g(r)}),[v,g,m]);Pe(r,(function(){return{toggle:O,expand:S,collapse:w}}),[O,w,S]);var x=G((function(){return{registerSection:h,toggleExpanded:g,isExpanded:m,animate:t,prefix:y}}),[h,g,m,t,y]);return I(i,_({id:l},f),I(Xe.Provider,{value:x},a))}var qe=ke(Dr);function Je(e,r,n,t){var o;if(t&&r)for(var i in o=ne({},e,r),n)i!=e&&(o[i]=!1);else o=_(_({},n),{},ne({},e,r));return o}function Hr(e){var r=e.animate,n=void 0!==r&&r,t=e.as,o=void 0===t?"section":t,i=e.children,a=e.expanded,u=void 0!==a&&a,c=e.id,l=e.onExpandStateChange,f=oe(e,Or),d=j(M($r),1)[0],v=c||d,s=j(M(Ze),1)[0],p=j(M(u),2),b=p[0],y=p[1],h=j(M(null),2),g=h[0],m=h[1],O=j(M(null),2),S=O[0],w=O[1],x=D(Xe),A=x.animate,P=x.isExpanded,E=x.prefix,H=x.registerSection,N=x.toggleExpanded,C=P?P(v,u):b,L=null!=A?A:n,U=g||"".concat(E||"a","-content-").concat(v,"-").concat(s),q=S||"".concat(E||"a","-header-").concat(v,"-").concat(s),Z=Y(null);Z.current=l,k((function(){if(H)return H(v,u,Z)}),[H,v,u]);var T=R((function(e){N?N(v,e):y((function(r){var n=null!=e?e:!r;return Q().then((function(){var e=Z.current;e&&e(n)})),n}))}),[v,N]),z=G((function(){return{animate:L,contentId:U,headerId:q,expanded:C,toggleHandler:T,setContentId:m,setHeaderId:w}}),[L,U,q,C,T]);return I(o,_(_({},f),{},{expanded:C}),I(ve.Provider,{value:z},i))}function Lr(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"button":u,l=e.tabIndex,f=void 0===l?0:l,d=oe(e,Pr),v=D(ve),s=v.contentId,p=v.expanded,b=v.headerId,y=v.setHeaderId,h=v.toggleHandler;return k((function(){y&&y(a)}),[y,a]),I(n,_(_({},d),{},{id:b,role:c,className:"".concat(i," ").concat(J," ").concat(Ee),tabIndex:f,"aria-controls":s,onClick:function(){return h()},"aria-expanded":String(p)}),t)}function Ur(e){var r=e.as,n=void 0===r?"div":r,t=e.children,o=e.className,i=void 0===o?"":o,a=e.id,u=e.role,c=void 0===u?"region":u,l=oe(e,Cr),f=Y(null),d=Y(!1),v=D(ve),s=v.animate,p=v.contentId,b=v.expanded,y=v.headerId,h=v.setContentId;return ce((function(){return d.current=!0,function(){return d.current=!1}}),[]),k((function(){h&&h(a)}),[h,a]),k((function(){var e=d.current,r=f.current;if(s&&e&&r&&r.animate)return b?Le(r):Ue(r)}),[b,s]),I(Me,{renderable:b},I(n,_(_({},l),{},{ref:f,className:i+(" "+J)+(b?"":" "+_e),id:p,"aria-labelledby":y,role:c}),t))}
//# sourceMappingURL=component-react.js.map
qe.displayName="Accordion";

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

var L,H="section-child-00fce3c",B="header-00fce3c",ee="content-hidden-00fce3c";function U(){return L||(L=Promise.resolve(void 0))}import{Fragment as bt,cloneElement as gt,createContext as _e,createElement as Oe,createRef as Et}from"react";import{hydrate as At,render as yt}from"react-dom";import{useCallback as Me,useContext as Ne,useEffect as Ie,useImperativeHandle as je,useLayoutEffect as we,useMemo as Re,useRef as ve,useState as Ce}from"react";function P(e,t,n){return Oe.apply(void 0,arguments)}function R(e){return _e(e,void 0)}function S(e){return Ce(e)}function M(e){return ve(e)}function G(e,t){Ie(e,t)}function j(e,t){we(e,t)}function w(e){return Ne(e)}function $(e,t){return Re(e,t)}function O(e,t){return Me(e,t)}function te(e,t,n){return je(e,t,n)}var ne,h={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},$e=[h.AUTO,h.LAZY,h.EAGER,h.UNLOAD],re={[h.AUTO]:0,[h.LAZY]:1,[h.EAGER]:2,[h.UNLOAD]:3};function z(e,t){let n=re[e]||0,r=re[t]||0,i=Math.max(n,r);return $e[i]}function oe(){return ne||(ne=R({renderable:!0,playable:!0,loading:h.AUTO}))}function ie({children:e,loading:t="auto",notify:n,playable:r=!0,renderable:i=!0}){let a=t,o=r,l=i,c=Te(),u=l&&c.renderable,d=u&&o&&c.playable,f=z(u?h.AUTO:h.LAZY,z(a,c.loading)),s=n||c.notify,p=$((()=>({renderable:u,playable:d,loading:f,notify:s})),[u,d,f,s]);return P(oe().Provider,{children:e,value:p})}function Te(){return w(oe())}var{hasOwnProperty:Yt,toString:Gt}=Object.prototype;function ce(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function W(e,t){return Object.keys(e).reduce(((n,r)=>(t.includes(r)||(n[r]=e[r]),n)),{})}var F,ae=["Webkit","webkit","Moz","moz","ms","O","o"];function Xe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function qe(e,t){for(let n=0;n<ae.length;n++){let r=ae[n]+t;if(void 0!==e[r])return r}return""}function ue(e,t,n){if(q(t))return t;F||(F=ce());let r=F[t];if(!r||n){if(r=t,void 0===e[t]){let n=qe(e,Xe(t));void 0!==e[n]&&(r=n)}n||(F[t]=r)}return r}function Ze(e,t,n,r,i){let a=ue(e.style,t,i);if(!a)return;let o=r?n+r:n;q(a)?e.style.setProperty(a,o):e.style[a]=o}function V(e,t,n){let r=ue(e.style,t,n);if(r)return q(r)?e.style.getPropertyValue(r):e.style[r]}function X(e,t){for(let n in t)Ze(e,n,t[n])}function q(e){return e.startsWith("--")}var fe=500,Je=200,Ke="cubic-bezier(0.47, 0, 0.745, 0.715)",Qe="cubic-bezier(0.39, 0.575, 0.565, 1)";function pe(e){return le(e,(()=>{let t=V(e,"height"),n=V(e,"opacity"),r=V(e,"overflowY");X(e,{height:0,opacity:0,overflowY:"auto"});let i=e.scrollHeight;X(e,{height:t,opacity:n,overflowY:r});let a=me(i);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:Ke,duration:a})}))}function de(e){return le(e,(()=>{let t=e.offsetHeight,n=me(t);return e.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Qe,duration:n})}))}function le(e,t,n){let r=n;e.classList.add("i-amphtml-animating");let i=t();return i.onfinish=i.oncancel=()=>{i=null,r&&r(),e.classList.remove("i-amphtml-animating")},()=>{i&&i.cancel()}}function me(e){let t=window.innerHeight,n=Math.abs(e)/t*fe;return Math.min(Math.max(n,Je),fe)}import{Children as Cr,createPortal as _r,forwardRef as Be}from"react";function xe(e){return Be(e)}function he(){let e=0;return()=>String(++e)}function ge(e){return()=>String(Math.floor(Math.random()*e))}var et=["animate","as","children","expandSingleSection","id"],tt=["animate","as","children","expanded","id","onExpandStateChange"],rt=["as","children","className","id","role","tabIndex"],nt=["as","children","className","id","role"];function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t){if(null==e)return{};var n,r,i=it(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(i[n]=e[n]))}return i}function it(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}var Ae=R({}),Z=R({}),st={},ct={},at=he(),be=ge(1e5);function ut(e,t){let{animate:n=!1,as:r="section",children:i,expandSingleSection:a=!1,id:o}=e,l=Y(e,et),{0:c,1:u}=S(st),d=M(ct),{0:f}=S(be),s=o||`a${f}`;G((()=>{!a||u((e=>{let t={},n=0;for(let r in e)t[r]=e[r]&&0==n++;return t}))}),[a]);let h=O(((e,t,{current:n})=>(u((n=>Ee(e,t,n,a))),d.current=A(A({},d.current),{},{[e]:n}),()=>{u((t=>W(t,e))),d.current=W(d.current,e)})),[a]),p=O(((e,t)=>{u((n=>{let r=null!=t?t:!n[e],i=Ee(e,r,n,a);return U().then((()=>{for(let e in n){let t=d.current[e];t&&n[e]!=i[e]&&t(i[e])}})),i}))}),[a]),g=O(((e,t)=>{var n;return null!==(n=c[e])&&void 0!==n?n:t}),[c]),b=O((e=>{if(e)e in c&&p(e);else if(!a)for(let e in c)p(e)}),[c,p,a]),m=O((e=>{if(e)g(e,!0)||p(e);else if(!a)for(let e in c)g(e,!0)||p(e)}),[c,p,g,a]),y=O((e=>{if(e)g(e,!1)&&p(e);else for(let e in c)g(e,!1)&&p(e)}),[c,p,g]);te(t,(()=>({toggle:b,expand:m,collapse:y})),[b,y,m]);let v=$((()=>({registerSection:h,toggleExpanded:p,isExpanded:g,animate:n,prefix:s})),[h,p,g,n,s]);return P(r,A({id:o},l),P(Ae.Provider,{value:v},i))}var ft=xe(ut);function Ee(e,t,n,r){let i;if(r&&t){i={[e]:t};for(let t in n)t!=e&&(i[t]=!1)}else i=A(A({},n),{},{[e]:t});return i}function Wr(e){let{animate:t=!1,as:n="section",children:r,expanded:i=!1,id:a,onExpandStateChange:o}=e,l=Y(e,tt),{0:c}=S(at),u=a||c,{0:d}=S(be),{0:f,1:s}=S(i),{0:h,1:p}=S(null),{0:g,1:b}=S(null),{animate:m,isExpanded:y,prefix:v,registerSection:x,toggleExpanded:E}=w(Ae),I=y?y(u,i):f,C=null!=m?m:t,L=h||`${v||"a"}-content-${u}-${d}`,H=g||`${v||"a"}-header-${u}-${d}`,N=M(null);N.current=o,j((()=>{if(x)return x(u,i,N)}),[x,u,i]);let R=O((e=>{E?E(u,e):s((t=>{let n=null!=e?e:!t;return U().then((()=>{let e=N.current;e&&e(n)})),n}))}),[u,E]),q=$((()=>({animate:C,contentId:L,headerId:H,expanded:I,toggleHandler:R,setContentId:p,setHeaderId:b})),[C,L,H,I,R]);return P(n,A(A({},l),{},{expanded:I}),P(Z.Provider,{value:q},r))}function Xr(e){let{as:t="div",children:n,className:r="",id:i,role:a="button",tabIndex:o=0}=e,l=Y(e,rt),{contentId:c,expanded:u,headerId:d,setHeaderId:f,toggleHandler:s}=w(Z);return j((()=>{f&&f(i)}),[f,i]),P(t,A(A({},l),{},{id:d,role:a,className:`${r} ${H} ${B}`,tabIndex:o,"aria-controls":c,onClick:()=>s(),"aria-expanded":String(u)}),n)}function qr(e){let{as:t="div",children:n,className:r="",id:i,role:a="region"}=e,o=Y(e,nt),l=M(null),c=M(!1),{animate:u,contentId:d,expanded:f,headerId:s,setContentId:h}=w(Z);return G((()=>(c.current=!0,()=>c.current=!1)),[]),j((()=>{h&&h(i)}),[h,i]),j((()=>{let e=c.current,t=l.current;if(u&&e&&t&&t.animate)return f?pe(t):de(t)}),[f,u]),P(ie,{renderable:f},P(t,A(A({},o),{},{ref:l,className:r+(" "+H)+(f?"":" "+ee),id:d,"aria-labelledby":s,role:a}),n))}ft.displayName="Accordion";export{ft as Accordion,qr as AccordionContent,Xr as AccordionHeader,Wr as AccordionSection};
var L,H="section-child-00fce3c",B="header-00fce3c",ee="content-hidden-00fce3c";function U(){return L||(L=Promise.resolve(void 0))}import{Fragment as bt,cloneElement as gt,createContext as Ce,createElement as Se,createRef as Et}from"react";import{hydrate as At,render as yt}from"react-dom";import{useCallback as Me,useContext as Ne,useEffect as Ie,useImperativeHandle as je,useLayoutEffect as we,useMemo as Re,useRef as ve,useState as _e}from"react";function P(e,t,n){return Se.apply(void 0,arguments)}function R(e){return Ce(e,void 0)}function O(e){return _e(e)}function M(e){return ve(e)}function G(e,t){Ie(e,t)}function j(e,t){we(e,t)}function w(e){return Ne(e)}function $(e,t){return Re(e,t)}function S(e,t){return Me(e,t)}function te(e,t,n){return je(e,t,n)}var ne,h={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},$e=[h.AUTO,h.LAZY,h.EAGER,h.UNLOAD],re={[h.AUTO]:0,[h.LAZY]:1,[h.EAGER]:2,[h.UNLOAD]:3};function z(e,t){let n=re[e]||0,r=re[t]||0,i=Math.max(n,r);return $e[i]}function oe(){return ne||(ne=R({renderable:!0,playable:!0,loading:h.AUTO}))}function ie({children:e,loading:t="auto",notify:n,playable:r=!0,renderable:i=!0}){let a=t,o=r,l=i,c=Te(),u=l&&c.renderable,d=u&&o&&c.playable,f=z(u?h.AUTO:h.LAZY,z(a,c.loading)),s=n||c.notify,p=$((()=>({renderable:u,playable:d,loading:f,notify:s})),[u,d,f,s]);return P(oe().Provider,{children:e,value:p})}function Te(){return w(oe())}var{hasOwnProperty:Ft,toString:Gt}=Object.prototype;function ce(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function W(e,t){return Object.keys(e).reduce(((n,r)=>(t.includes(r)||(n[r]=e[r]),n)),{})}var V,ae=["Webkit","webkit","Moz","moz","ms","O","o"];function Xe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function qe(e,t){for(let n=0;n<ae.length;n++){let r=ae[n]+t;if(void 0!==e[r])return r}return""}function ue(e,t,n){if(q(t))return t;V||(V=ce());let r=V[t];if(!r||n){if(r=t,void 0===e[t]){let n=qe(e,Xe(t));void 0!==e[n]&&(r=n)}n||(V[t]=r)}return r}function Ze(e,t,n,r,i){let a=ue(e.style,t,i);if(!a)return;let o=r?n+r:n;q(a)?e.style.setProperty(a,o):e.style[a]=o}function Y(e,t,n){let r=ue(e.style,t,n);if(r)return q(r)?e.style.getPropertyValue(r):e.style[r]}function X(e,t){for(let n in t)Ze(e,n,t[n])}function q(e){return e.startsWith("--")}var fe=500,Je=200,Ke="cubic-bezier(0.47, 0, 0.745, 0.715)",Qe="cubic-bezier(0.39, 0.575, 0.565, 1)";function pe(e){return le(e,(()=>{let t=Y(e,"height"),n=Y(e,"opacity"),r=Y(e,"overflowY");X(e,{height:0,opacity:0,overflowY:"auto"});let i=e.scrollHeight;X(e,{height:t,opacity:n,overflowY:r});let a=me(i);return e.animate([{height:0,opacity:0,overflowY:"hidden"},{height:i+"px",opacity:1,overflowY:"hidden"}],{easing:Ke,duration:a})}))}function de(e){return le(e,(()=>{let t=e.offsetHeight,n=me(t);return e.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:Qe,duration:n})}))}function le(e,t,n){let r=n;e.classList.add("i-amphtml-animating");let i=t();return i.onfinish=i.oncancel=()=>{i=null,r&&r(),e.classList.remove("i-amphtml-animating")},()=>{i&&i.cancel()}}function me(e){let t=window.innerHeight,n=Math.abs(e)/t*fe;return Math.min(Math.max(n,Je),fe)}import{Children as _r,createPortal as Cr,forwardRef as Be}from"react";function xe(e){return Be(e)}function he(){let e=0;return()=>String(++e)}function ge(e){return()=>String(Math.floor(Math.random()*e))}var et=["animate","as","children","expandSingleSection","id"],tt=["animate","as","children","expanded","id","onExpandStateChange"],rt=["as","children","className","id","role","tabIndex"],nt=["as","children","className","id","role"];function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t){if(null==e)return{};var n,r,i=it(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(i[n]=e[n]))}return i}function it(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}var Ae=R({}),Z=R({}),st={},ct={},at=he(),be=ge(1e5);function ut(e,t){let{animate:n=!1,as:r="section",children:i,expandSingleSection:a=!1,id:o}=e,l=F(e,et),{0:c,1:u}=O(st),d=M(ct),{0:f}=O(be),s=o||`a${f}`;G((()=>{!a||u((e=>{let t={},n=0;for(let r in e)t[r]=e[r]&&0==n++;return t}))}),[a]);let h=S(((e,t,{current:n})=>(u((n=>Ee(e,t,n,a))),d.current=A(A({},d.current),{},{[e]:n}),()=>{u((t=>W(t,e))),d.current=W(d.current,e)})),[a]),p=S(((e,t)=>{u((n=>{let r=null!=t?t:!n[e],i=Ee(e,r,n,a);return U().then((()=>{for(let e in n){let t=d.current[e];t&&n[e]!=i[e]&&t(i[e])}})),i}))}),[a]),g=S(((e,t)=>{var n;return null!==(n=c[e])&&void 0!==n?n:t}),[c]),b=S((e=>{if(e)e in c&&p(e);else if(!a)for(let e in c)p(e)}),[c,p,a]),m=S((e=>{if(e)g(e,!0)||p(e);else if(!a)for(let e in c)g(e,!0)||p(e)}),[c,p,g,a]),y=S((e=>{if(e)g(e,!1)&&p(e);else for(let e in c)g(e,!1)&&p(e)}),[c,p,g]);te(t,(()=>({toggle:b,expand:m,collapse:y})),[b,y,m]);let v=$((()=>({registerSection:h,toggleExpanded:p,isExpanded:g,animate:n,prefix:s})),[h,p,g,n,s]);return P(r,A({id:o},l),P(Ae.Provider,{value:v},i))}var ft=xe(ut);function Ee(e,t,n,r){let i;if(r&&t){i={[e]:t};for(let t in n)t!=e&&(i[t]=!1)}else i=A(A({},n),{},{[e]:t});return i}function Wr(e){let{animate:t=!1,as:n="section",children:r,expanded:i=!1,id:a,onExpandStateChange:o}=e,l=F(e,tt),{0:c}=O(at),u=a||c,{0:d}=O(be),{0:f,1:s}=O(i),{0:h,1:p}=O(null),{0:g,1:b}=O(null),{animate:m,isExpanded:y,prefix:v,registerSection:x,toggleExpanded:E}=w(Ae),I=y?y(u,i):f,Y=null!=m?m:t,C=h||`${v||"a"}-content-${u}-${d}`,L=g||`${v||"a"}-header-${u}-${d}`,H=M(null);H.current=o,j((()=>{if(x)return x(u,i,H)}),[x,u,i]);let N=S((e=>{E?E(u,e):s((t=>{let n=null!=e?e:!t;return U().then((()=>{let e=H.current;e&&e(n)})),n}))}),[u,E]),R=$((()=>({animate:Y,contentId:C,headerId:L,expanded:I,toggleHandler:N,setContentId:p,setHeaderId:b})),[Y,C,L,I,N]);return P(n,A(A({},l),{},{expanded:I}),P(Z.Provider,{value:R},r))}function Xr(e){let{as:t="div",children:n,className:r="",id:i,role:a="button",tabIndex:o=0}=e,l=F(e,rt),{contentId:c,expanded:u,headerId:d,setHeaderId:f,toggleHandler:s}=w(Z);return j((()=>{f&&f(i)}),[f,i]),P(t,A(A({},l),{},{id:d,role:a,className:`${r} ${H} ${B}`,tabIndex:o,"aria-controls":c,onClick:()=>s(),"aria-expanded":String(u)}),n)}function qr(e){let{as:t="div",children:n,className:r="",id:i,role:a="region"}=e,o=F(e,nt),l=M(null),c=M(!1),{animate:u,contentId:d,expanded:f,headerId:s,setContentId:h}=w(Z);return G((()=>(c.current=!0,()=>c.current=!1)),[]),j((()=>{h&&h(i)}),[h,i]),j((()=>{let e=c.current,t=l.current;if(u&&e&&t&&t.animate)return f?pe(t):de(t)}),[f,u]),P(ie,{renderable:f},P(t,A(A({},o),{},{ref:l,className:r+(" "+H)+(f?"":" "+ee),id:d,"aria-labelledby":s,role:a}),n))}ft.displayName="Accordion";export{ft as Accordion,qr as AccordionContent,Xr as AccordionHeader,Wr as AccordionSection};
//# sourceMappingURL=component-react.module.js.map
{
"name": "@ampproject/amp-accordion",
"version": "1.2107082341.0",
"version": "1.2107092322.0",
"description": "AMP HTML amp-accordion Component",

@@ -5,0 +5,0 @@ "author": "The AMP HTML 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc