@ampproject/amp-facebook
Advanced tools
Comparing version 1.2110212130.0 to 1.2110252343.0
@@ -1,2 +0,2 @@ | ||
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__markAsModule=function(e){return __defProp(e,"__esModule",{value:!0})},__export=function(e,r){for(var t in __markAsModule(e),r)__defProp(e,t,{get:r[t],enumerable:!0})},__reExport=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=__getOwnPropNames(r),a=0,i=o.length;a<i;a++)n=o[a],__hasOwnProp.call(e,n)||"default"===n||__defProp(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=__getOwnPropDesc(r,n))||t.enumerable});return e},__toModule=function(e){return __reExport(__markAsModule(__defProp(null!=e?__create(__getProtoOf(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _nonIterableRest(){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 _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _objectWithoutPropertiesLoose(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}__export(exports,{BentoFacebook:function(){return BentoFacebook}});var preact=__toModule(require("preact")),preactDOM=__toModule(require("preact")),hooks=__toModule(require("preact/hooks"));function createElement2(e,r,t){return preact.createElement.apply(void 0,arguments)}function createContext2(e){return preact.createContext(e,void 0)}function useState2(e){return hooks.useState(e)}function useRef2(e){return hooks.useRef(e)}function useEffect2(e,r){hooks.useEffect(e,r)}function useLayoutEffect2(e,r){hooks.useLayoutEffect(e,r)}function useContext2(e){return hooks.useContext(e)}function useMemo2(e,r){return hooks.useMemo(e,r)}function useCallback2(e,r){return hooks.useCallback(e,r)}function useImperativeHandle2(e,r,t){return hooks.useImperativeHandle(e,r,t)}var getRequiredSandboxFlags=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},getOptionalSandboxFlags=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function sequentialIdGenerator(){var e=0;return function(){return String(++e)}}function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 _Object$prototype=Object.prototype,hasOwn_=_Object$prototype.hasOwnProperty,toString_=_Object$prototype.toString;function map(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function dict(e){return e||{}}function dashToUnderline(e){return e.replace("-","_")}function includes(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}function isString(e){return"string"==typeof e}var _MAP,compat=__toModule(require("preact/compat"));function forwardRef2(e){return compat.forwardRef(e)}var Loading={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ORDER=[Loading.AUTO,Loading.LAZY,Loading.EAGER,Loading.UNLOAD],MAP=(_defineProperty(_MAP={},Loading.AUTO,0),_defineProperty(_MAP,Loading.LAZY,1),_defineProperty(_MAP,Loading.EAGER,2),_defineProperty(_MAP,Loading.UNLOAD,3),_MAP);function reducer(e,r){var t=MAP[e]||0,n=MAP[r]||0,o=Math.max(t,n);return ORDER[o]}var ReadyState={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"},_excluded=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],CONTAIN=[null,"paint","layout","content","size","size paint","size layout","strict"],SIZE_CONTENT_STYLE={"position":"relative","width":"100%","height":"100%"};function ContainWrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.contentAs,s=void 0===i?"div":i,u=e.contentClassName,l=e.contentProps,c=e.contentRef,d=e.contentStyle,f=e.layout,p=void 0!==f&&f,_=e.paint,v=void 0!==_&&_,m=e.size,E=void 0!==m&&m,b=e.style,h=e.wrapperClassName,y=e.wrapperStyle,S=(E?4:0)+(p?2:0)+(v?1:0);return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded)),{},{ref:r,class:"".concat(a||""," ").concat(h||"").trim()||null,style:_objectSpread2(_objectSpread2(_objectSpread2({},b),y),{},{contain:CONTAIN[S]})}),createElement2(s,_objectSpread2(_objectSpread2({},l),{},{ref:c,class:u,style:_objectSpread2(_objectSpread2({},E&&SIZE_CONTENT_STYLE),{},{"overflow":v?"hidden":"visible"},d)}),o))}var ContainWrapper=forwardRef2(ContainWrapperWithRef),_excluded2=["as","children","class","style","wrapperClassName","wrapperStyle"];function WrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.style,s=e.wrapperClassName,u=e.wrapperStyle;return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded2)),{},{ref:r,class:"".concat(a||""," ").concat(s||"").trim()||null,style:_objectSpread2(_objectSpread2({},i),u)}),o)}var Wrapper=forwardRef2(WrapperWithRef);function useValueRef(e){var r=useRef2(null);return r.current=e,r}function isProd(){return!0}function isTest(e){var r;if(isProd())return!1;var t=e||self;return!!(null!==(r=t.AMP_CONFIG)&&void 0!==r&&r.test||t.__AMP_TEST||t.__karma__)}function isMinified(){return!0}function version(){return"2110212204000"}function isEsm(){var e,r,t;return!isProd()&&null!==(e=null===(r=self)||void 0===r||null===(t=r.__AMP_MODE)||void 0===t?void 0:t.esm)&&void 0!==e&&e}var isArray=Array.isArray;function remove(e,r){for(var t=[],n=0,o=0;o<e.length;o++){var a=e[o];r(a,o,e)?t.push(a):(n<o&&(e[n]=a),n++)}return n<e.length&&(e.length=n),t}function parseJson(e){return JSON.parse(e)}function tryParseJson(e,r){try{return parseJson(e)}catch(e){return null==r||r(e),null}}function isElement(e){return 1==(null==e?void 0:e.nodeType)}function elementStringOrPassThru(e){return isElement(e)?(e=e).tagName.toLowerCase()+(e.id?"#".concat(e.id):""):e}function assert(e,r){var t,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(r)return r;e&&-1==o.indexOf(e)&&(o+=e);for(var a=3,i=o.split("%s"),s=i.shift(),u=[s];i.length;){var l=arguments[a++],c=i.shift();s+=elementStringOrPassThru(l)+c,u.push(l,c.trim())}var d=new Error(s);throw d.messageArray=remove(u,(function(e){return""!==e})),null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,d),d}function assertType_(e,r,t,n,o){return isArray(o)?e(t,o.concat([r])):e(t,"".concat(o||n,": %s"),r),r}function assertString(e,r,t){return assertType_(e,r,isString(r),"String expected",t)}function devAssertDceCheck(){self.__AMP_ASSERTION_CHECK&&console.log("__devAssert_sentinel__")}function devAssert(e,r,t,n,o,a,i,s,u,l,c){return isMinified()?e:(devAssertDceCheck(),assert("",e,r,t,n,o,a,i,s,u,l,c))}function devAssertString(e,r){return isMinified()?e:(devAssertDceCheck(),assertString(devAssert,e,r))}var context,viewportObservers=new WeakMap,viewportCallbacks=new WeakMap;function getAmpContext(){return context||(context=createContext2({renderable:!0,playable:!0,loading:Loading.AUTO}))}function useAmpContext(){return useContext2(getAmpContext())}function useLoading(e){return reducer(e,useAmpContext().loading)}var _excluded3=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],DEFAULT_MATCHES_MESSAGING_ORIGIN=function(){return!1},ABOUT_BLANK="about:blank",canResetSrc=function(e){return e&&e!=ABOUT_BLANK&&!e.includes("#")};function IframeEmbedWithRef(e,r){var t=e.allow,n=e.allowFullScreen,o=e.iframeStyle,a=e.name,i=e.title,s=e.matchesMessagingOrigin,u=void 0===s?DEFAULT_MATCHES_MESSAGING_ORIGIN:s,l=e.messageHandler,c=e.ready,d=void 0===c||c,f=e.loading,p=e.onReadyState,_=e.sandbox,v=e.src,m=_objectWithoutPropertiesLoose(e,_excluded3),E=useAmpContext().playable,b=useLoading(f),h=b!==Loading.UNLOAD,y=useRef2(!1),S=useValueRef(p),g=useCallback2((function(e){if(e!==y.current){y.current=e;var r=S.current;null==r||r(e?ReadyState.COMPLETE:ReadyState.LOADING)}}),[S]),A=useRef2(null);return useImperativeHandle2(r,(function(){return{get readyState(){return y.current?ReadyState.COMPLETE:ReadyState.LOADING},get node(){return A.current}}}),[]),useLayoutEffect2((function(){h||g(!1)}),[h,g]),useEffect2((function(){var e=A.current;if(!E&&e){var r=e.src;canResetSrc(r)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[E]),useLayoutEffect2((function(){var e=A.current;if(e&&h){var r=function(e){var r=A.current;r&&e.source==r.contentWindow&&u(e.origin)&&l(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,l,h,d]),createElement2(ContainWrapper,_objectSpread2(_objectSpread2({},m),{},{layout:!0,size:!0,paint:!0}),h&&d&&createElement2("iframe",{allow:t,allowFullScreen:n,frameborder:"0",loading:b,name:a,onLoad:function(){return g(!0)},part:"iframe",ref:A,sandbox:_,scrolling:"no",src:v,style:_objectSpread2(_objectSpread2({},o),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var IframeEmbed=forwardRef2(IframeEmbedWithRef);function duplicateErrorIfNecessary(e){var r=Object.getOwnPropertyDescriptor(e,"message");if(null!=r&&r.writable)return e;var t=e.message,n=e.stack,o=new Error(t);for(var a in e)o[a]=e[a];return o.stack=n,o}function createError(e){for(var r,t=null,n="",o=_createForOfIteratorHelperLoose(arguments,!0);!(r=o()).done;){var a=r.value;a instanceof Error&&!t?t=duplicateErrorIfNecessary(a):(n&&(n+=" "),n+=a)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function maybeReportError(e){var r,t;null===(r=(t=self).__AMP_REPORT_ERROR)||void 0===r||r.call(t,e)}function rethrowAsync(e){var r=createError.apply(null,arguments);setTimeout((function(){throw maybeReportError(r),r}))}IframeEmbed.displayName="IframeEmbed";var env=self.AMP_CONFIG||{},thirdPartyFrameRegex=("string"==typeof env.thirdPartyFrameRegex?new RegExp(env.thirdPartyFrameRegex):env.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,cdnProxyRegex=("string"==typeof env.cdnProxyRegex?new RegExp(env.cdnProxyRegex):env.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function getMetaUrl(e){if(!self.document||!self.document.head)return null;if(self.location&&cdnProxyRegex.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var urls={thirdParty:env.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:env.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:thirdPartyFrameRegex,cdn:env.cdnUrl||getMetaUrl("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:cdnProxyRegex,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:env.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:env.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:env.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:env.geoApiUrl||getMetaUrl("amp-geo-api")};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var cachedAnchorEl,urlCache,overrideBootstrapBaseUrl,logs=self.__AMP_LOG,LruCache=function(){function e(e){this.i=e,this.v=0,this.h=0,this.p=map()}var r=e.prototype;return r.has=function(e){return!!this.p[e]},r.get=function(e){var r=this.p[e];if(r)return r.access=++this.h,r.payload},r.put=function(e,r){this.has(e)||this.v++,this.p[e]={payload:r,access:this.h},this.m()},r.m=function(){if(!(this.v<=this.i)){var e,r=this.p,t=this.h+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.v--)}},e}(),SERVING_TYPE_PREFIX=new Set(["c","v","a","ad"]);function parseUrlDeprecated(e,r){return cachedAnchorEl||(cachedAnchorEl=self.document.createElement("a"),urlCache=isEsm()?null:self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new LruCache(100))),parseUrlWithA(cachedAnchorEl,e,isEsm()||r?null:urlCache)}function parseUrlWithA(e,r,t){if(isEsm())return e.href="",new URL(r,e.href);if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=isTest()&&Object.freeze?Object.freeze(o):o;return t&&t.put(r,a),a}function getBootstrapUrl(e){var r=isEsm()?".mjs":".js";return isProd()?"".concat(urls.thirdParty,"/").concat(version(),"/vendor/").concat(e).concat(r):(isMinified()?"./vendor/".concat(e):"./vendor/".concat(e,".max"))+r}function getDefaultBootstrapBaseUrl(e,r){var t=r||"frame";return isProd()?(e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||getSubDomain(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(urls.thirdPartyFrameHost,"/").concat(version(),"/")+"".concat(t,".html")):getDevelopmentBootstrapBaseUrl(e,t)}function getDevelopmentBootstrapBaseUrl(e,r){return overrideBootstrapBaseUrl||getAdsLocalhost(e)+"/dist.3p/"+(isMinified()?"".concat(version(),"/").concat(r):"current/".concat(r,".max"))+".html"}function getAdsLocalhost(e){var r,t=urls.thirdParty;return"https://3p.ampproject.net"==t&&(t="http://ads.localhost"),t+":"+((null===(r=new URL(e.document.baseURI))||void 0===r?void 0:r.port)||e.location.port||e.parent.location.port)}function getSubDomain(e){return"d-"+getRandom(e)}function getRandom(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function generateSentinel(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+getRandom(e)}var _excluded4=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],countGenerators={},BLOCK_SYNC_XHR="sync-xhr 'none'",DEFAULT_SANDBOX=getRequiredSandboxFlags().join(" ")+" "+getOptionalSandboxFlags().join(" ");function ProxyIframeEmbedWithRef(e,r){var t=e.allow,n=void 0===t?BLOCK_SYNC_XHR:t,o=e.excludeSandbox,a=e.name,i=e.messageHandler,s=e.options,u=e.sandbox,l=void 0===u?DEFAULT_SANDBOX:u,c=e.src,d=e.type,f=e.title,p=void 0===f?d:f,_=_objectWithoutPropertiesLoose(e,_excluded4);if(!includes(n,BLOCK_SYNC_XHR))throw new Error("'allow' prop must contain \"".concat(BLOCK_SYNC_XHR,'". Found "').concat(n,'".'));var v=useRef2(null),m=useRef2(null),E=useMemo2((function(){return countGenerators[d]||(countGenerators[d]=sequentialIdGenerator()),countGenerators[d]()}),[d]),b=_slicedToArray(useState2({name:a,src:c}),2),h=b[0],y=b[1],S=h.name,g=h.src,A=useRef2(null);return useLayoutEffect2((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=c?c:t?getDefaultBootstrapBaseUrl(t):"about:blank";if(a)y({name:a,src:n});else if(t){A.current||(A.current=generateSentinel(t));var o=Object.assign(dict({"location":{"href":t.location.href},"sentinel":A.current})),i=Object.assign(dict({"title":p,"type":d,"_context":o}),s);y({name:JSON.stringify(dict({"host":parseUrlDeprecated(n).hostname,"bootstrap":getBootstrapUrl(d),"type":d,"count":E,"attributes":i})),src:n})}}),[E,a,s,c,p,d]),useEffect2((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[S]),useImperativeHandle2(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),createElement2(IframeEmbed,_objectSpread2({allow:n,contentRef:v,messageHandler:i,name:S,ref:m,ready:!!S,sandbox:o?void 0:l,src:g,title:p},_))}var ProxyIframeEmbed=forwardRef2(ProxyIframeEmbedWithRef);ProxyIframeEmbed.displayName="ProxyIframeEmbed";var AMP_MESSAGE_PREFIX="amp-",MessageType={SEND_EMBED_STATE:"send-embed-state",EMBED_STATE:"embed-state",SEND_EMBED_CONTEXT:"send-embed-context",EMBED_CONTEXT:"embed-context",SEND_INTERSECTIONS:"send-intersections",INTERSECTION:"intersection",EMBED_SIZE:"embed-size",EMBED_SIZE_CHANGED:"embed-size-changed",EMBED_SIZE_DENIED:"embed-size-denied",NO_CONTENT:"no-content",GET_HTML:"get-html",GET_CONSENT_STATE:"get-consent-state",SIGNAL_INTERACTIVE:"signal-interactive",FULL_OVERLAY_FRAME:"full-overlay-frame",FULL_OVERLAY_FRAME_RESPONSE:"full-overlay-frame-response",CANCEL_FULL_OVERLAY_FRAME:"cancel-full-overlay-frame",CANCEL_FULL_OVERLAY_FRAME_RESPONSE:"cancel-full-overlay-frame-response",SEND_POSITIONS:"send-positions",POSITION:"position",SEND_IFRAME_TRANSPORT_EVENTS:"send-iframe-transport-events",IFRAME_TRANSPORT_EVENTS:"iframe-transport-events",IFRAME_TRANSPORT_RESPONSE:"iframe-transport-response",USER_ERROR_IN_IFRAME:"user-error-in-iframe",SEND_CONSENT_DATA:"send-consent-data",CONSENT_DATA:"consent-data"};function deserializeMessage(e){if(!isAmpMessage(e))return null;var r=devAssertString(e).indexOf("{");return devAssert(-1!=r),tryParseJson(devAssertString(e).substr(r),(function(r){rethrowAsync(new Error("MESSAGING: Failed to parse message: ".concat(e,"\n").concat(r.message)))}))}function isAmpMessage(e){return"string"==typeof e&&e.startsWith(AMP_MESSAGE_PREFIX)&&-1!=e.indexOf("{")}var _excluded5=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],TYPE="facebook",FULL_HEIGHT="100%",MATCHES_MESSAGING_ORIGIN=function(){return!0},DEFAULT_TITLE="Facebook comments";function BentoFacebookWithRef(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,s=e.href,u=e.includeCommentParent,l=e.kdSite,c=e.layout,d=e.locale,f=e.numPosts,p=e.onLoad,_=e.orderBy,v=e.refLabel,m=e.requestResize,E=e.share,b=e.showFacepile,h=e.showText,y=e.size,S=e.smallHeader,g=e.style,A=e.tabs,R=e.title,O=void 0===R?DEFAULT_TITLE:R,T=_objectWithoutPropertiesLoose(e,_excluded5),P=_slicedToArray(useState2(null),2),I=P[0],L=P[1],N=useValueRef(p),M=useCallback2((function(e){var r,t,n=null!==(r=tryParseJson(e.data))&&void 0!==r?r:deserializeMessage(e.data);if("ready"==n.action&&(null===(t=N.current)||void 0===t||t.call(N)),n.type==MessageType.EMBED_SIZE){var o=n.height;m?(m(o),L(FULL_HEIGHT)):L(o)}}),[m,N]),j=_slicedToArray(useState2(d),2),w=j[0],x=j[1];useLayoutEffect2((function(){var e,t;if(d)x(d);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;n&&x(dashToUnderline(n.navigator.language))}}),[d,r]);var C=useMemo2((function(){return{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:s,includeCommentParent:u,"kd_site":l,layout:c,locale:w,numPosts:f,orderBy:_,ref:v,share:E,showFacepile:b,showText:h,size:y,smallHeader:S,tabs:A}}),[t,n,o,a,i,s,u,l,c,w,f,_,v,E,b,h,y,S,A]);return createElement2(ProxyIframeEmbed,_objectSpread2(_objectSpread2({options:C,ref:r,title:O},T),{},{excludeSandbox:!0,matchesMessagingOrigin:MATCHES_MESSAGING_ORIGIN,messageHandler:M,type:TYPE,style:I?_objectSpread2(_objectSpread2({},g),{},{height:I}):g}))}var BentoFacebook=forwardRef2(BentoFacebookWithRef);BentoFacebook.displayName="BentoFacebook"; | ||
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__markAsModule=function(e){return __defProp(e,"__esModule",{value:!0})},__export=function(e,r){for(var t in __markAsModule(e),r)__defProp(e,t,{get:r[t],enumerable:!0})},__reExport=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=__getOwnPropNames(r),a=0,i=o.length;a<i;a++)n=o[a],__hasOwnProp.call(e,n)||"default"===n||__defProp(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=__getOwnPropDesc(r,n))||t.enumerable});return e},__toModule=function(e){return __reExport(__markAsModule(__defProp(null!=e?__create(__getProtoOf(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _nonIterableRest(){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 _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _objectWithoutPropertiesLoose(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}__export(exports,{BentoFacebook:function(){return BentoFacebook}});var preact=__toModule(require("preact")),preactDOM=__toModule(require("preact")),hooks=__toModule(require("preact/hooks"));function createElement2(e,r,t){return preact.createElement.apply(void 0,arguments)}function createContext2(e){return preact.createContext(e,void 0)}function useState2(e){return hooks.useState(e)}function useRef2(e){return hooks.useRef(e)}function useEffect2(e,r){hooks.useEffect(e,r)}function useLayoutEffect2(e,r){hooks.useLayoutEffect(e,r)}function useContext2(e){return hooks.useContext(e)}function useMemo2(e,r){return hooks.useMemo(e,r)}function useCallback2(e,r){return hooks.useCallback(e,r)}function useImperativeHandle2(e,r,t){return hooks.useImperativeHandle(e,r,t)}var getRequiredSandboxFlags=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},getOptionalSandboxFlags=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function sequentialIdGenerator(){var e=0;return function(){return String(++e)}}function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 _Object$prototype=Object.prototype,hasOwn_=_Object$prototype.hasOwnProperty,toString_=_Object$prototype.toString;function map(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function dict(e){return e||{}}function dashToUnderline(e){return e.replace("-","_")}function includes(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}function isString(e){return"string"==typeof e}var _MAP,compat=__toModule(require("preact/compat"));function forwardRef2(e){return compat.forwardRef(e)}var Loading={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ORDER=[Loading.AUTO,Loading.LAZY,Loading.EAGER,Loading.UNLOAD],MAP=(_defineProperty(_MAP={},Loading.AUTO,0),_defineProperty(_MAP,Loading.LAZY,1),_defineProperty(_MAP,Loading.EAGER,2),_defineProperty(_MAP,Loading.UNLOAD,3),_MAP);function reducer(e,r){var t=MAP[e]||0,n=MAP[r]||0,o=Math.max(t,n);return ORDER[o]}var ReadyState={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"},_excluded=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],CONTAIN=[null,"paint","layout","content","size","size paint","size layout","strict"],SIZE_CONTENT_STYLE={"position":"relative","width":"100%","height":"100%"};function ContainWrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.contentAs,s=void 0===i?"div":i,u=e.contentClassName,l=e.contentProps,c=e.contentRef,d=e.contentStyle,f=e.layout,p=void 0!==f&&f,_=e.paint,v=void 0!==_&&_,m=e.size,E=void 0!==m&&m,b=e.style,h=e.wrapperClassName,y=e.wrapperStyle,S=(E?4:0)+(p?2:0)+(v?1:0);return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded)),{},{ref:r,class:"".concat(a||""," ").concat(h||"").trim()||null,style:_objectSpread2(_objectSpread2(_objectSpread2({},b),y),{},{contain:CONTAIN[S]})}),createElement2(s,_objectSpread2(_objectSpread2({},l),{},{ref:c,class:u,style:_objectSpread2(_objectSpread2({},E&&SIZE_CONTENT_STYLE),{},{"overflow":v?"hidden":"visible"},d)}),o))}var ContainWrapper=forwardRef2(ContainWrapperWithRef),_excluded2=["as","children","class","style","wrapperClassName","wrapperStyle"];function WrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.style,s=e.wrapperClassName,u=e.wrapperStyle;return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded2)),{},{ref:r,class:"".concat(a||""," ").concat(s||"").trim()||null,style:_objectSpread2(_objectSpread2({},i),u)}),o)}var Wrapper=forwardRef2(WrapperWithRef);function useValueRef(e){var r=useRef2(null);return r.current=e,r}function isProd(){return!0}function isTest(e){var r;if(isProd())return!1;var t=e||self;return!!(null!==(r=t.AMP_CONFIG)&&void 0!==r&&r.test||t.__AMP_TEST||t.__karma__)}function isMinified(){return!0}function version(){return"2110260219000"}function isEsm(){var e,r,t;return!isProd()&&null!==(e=null===(r=self)||void 0===r||null===(t=r.__AMP_MODE)||void 0===t?void 0:t.esm)&&void 0!==e&&e}var isArray=Array.isArray;function remove(e,r){for(var t=[],n=0,o=0;o<e.length;o++){var a=e[o];r(a,o,e)?t.push(a):(n<o&&(e[n]=a),n++)}return n<e.length&&(e.length=n),t}function parseJson(e){return JSON.parse(e)}function tryParseJson(e,r){try{return parseJson(e)}catch(e){return null==r||r(e),null}}function isElement(e){return 1==(null==e?void 0:e.nodeType)}function elementStringOrPassThru(e){return isElement(e)?(e=e).tagName.toLowerCase()+(e.id?"#".concat(e.id):""):e}function assert(e,r){var t,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(r)return r;e&&-1==o.indexOf(e)&&(o+=e);for(var a=3,i=o.split("%s"),s=i.shift(),u=[s];i.length;){var l=arguments[a++],c=i.shift();s+=elementStringOrPassThru(l)+c,u.push(l,c.trim())}var d=new Error(s);throw d.messageArray=remove(u,(function(e){return""!==e})),null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,d),d}function assertType_(e,r,t,n,o){return isArray(o)?e(t,o.concat([r])):e(t,"".concat(o||n,": %s"),r),r}function assertString(e,r,t){return assertType_(e,r,isString(r),"String expected",t)}function devAssertDceCheck(){self.__AMP_ASSERTION_CHECK&&console.log("__devAssert_sentinel__")}function devAssert(e,r,t,n,o,a,i,s,u,l,c){return isMinified()?e:(devAssertDceCheck(),assert("",e,r,t,n,o,a,i,s,u,l,c))}function devAssertString(e,r){return isMinified()?e:(devAssertDceCheck(),assertString(devAssert,e,r))}var context,viewportObservers=new WeakMap,viewportCallbacks=new WeakMap;function getAmpContext(){return context||(context=createContext2({renderable:!0,playable:!0,loading:Loading.AUTO}))}function useAmpContext(){return useContext2(getAmpContext())}function useLoading(e){return reducer(e,useAmpContext().loading)}var _excluded3=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],DEFAULT_MATCHES_MESSAGING_ORIGIN=function(){return!1},ABOUT_BLANK="about:blank",canResetSrc=function(e){return e&&e!=ABOUT_BLANK&&!e.includes("#")};function IframeEmbedWithRef(e,r){var t=e.allow,n=e.allowFullScreen,o=e.iframeStyle,a=e.name,i=e.title,s=e.matchesMessagingOrigin,u=void 0===s?DEFAULT_MATCHES_MESSAGING_ORIGIN:s,l=e.messageHandler,c=e.ready,d=void 0===c||c,f=e.loading,p=e.onReadyState,_=e.sandbox,v=e.src,m=_objectWithoutPropertiesLoose(e,_excluded3),E=useAmpContext().playable,b=useLoading(f),h=b!==Loading.UNLOAD,y=useRef2(!1),S=useValueRef(p),g=useCallback2((function(e){if(e!==y.current){y.current=e;var r=S.current;null==r||r(e?ReadyState.COMPLETE:ReadyState.LOADING)}}),[S]),A=useRef2(null);return useImperativeHandle2(r,(function(){return{get readyState(){return y.current?ReadyState.COMPLETE:ReadyState.LOADING},get node(){return A.current}}}),[]),useLayoutEffect2((function(){h||g(!1)}),[h,g]),useEffect2((function(){var e=A.current;if(!E&&e){var r=e.src;canResetSrc(r)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[E]),useLayoutEffect2((function(){var e=A.current;if(e&&h){var r=function(e){var r=A.current;r&&e.source==r.contentWindow&&u(e.origin)&&l(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,l,h,d]),createElement2(ContainWrapper,_objectSpread2(_objectSpread2({},m),{},{layout:!0,size:!0,paint:!0}),h&&d&&createElement2("iframe",{allow:t,allowFullScreen:n,frameborder:"0",loading:b,name:a,onLoad:function(){return g(!0)},part:"iframe",ref:A,sandbox:_,scrolling:"no",src:v,style:_objectSpread2(_objectSpread2({},o),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var IframeEmbed=forwardRef2(IframeEmbedWithRef);function duplicateErrorIfNecessary(e){var r=Object.getOwnPropertyDescriptor(e,"message");if(null!=r&&r.writable)return e;var t=e.message,n=e.stack,o=new Error(t);for(var a in e)o[a]=e[a];return o.stack=n,o}function createError(e){for(var r,t=null,n="",o=_createForOfIteratorHelperLoose(arguments,!0);!(r=o()).done;){var a=r.value;a instanceof Error&&!t?t=duplicateErrorIfNecessary(a):(n&&(n+=" "),n+=a)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function maybeReportError(e){var r,t;null===(r=(t=self).__AMP_REPORT_ERROR)||void 0===r||r.call(t,e)}function rethrowAsync(e){var r=createError.apply(null,arguments);setTimeout((function(){throw maybeReportError(r),r}))}IframeEmbed.displayName="IframeEmbed";var env=self.AMP_CONFIG||{},thirdPartyFrameRegex=("string"==typeof env.thirdPartyFrameRegex?new RegExp(env.thirdPartyFrameRegex):env.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,cdnProxyRegex=("string"==typeof env.cdnProxyRegex?new RegExp(env.cdnProxyRegex):env.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function getMetaUrl(e){if(!self.document||!self.document.head)return null;if(self.location&&cdnProxyRegex.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var urls={thirdParty:env.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:env.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:thirdPartyFrameRegex,cdn:env.cdnUrl||getMetaUrl("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:cdnProxyRegex,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:env.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:env.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:env.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:env.geoApiUrl||getMetaUrl("amp-geo-api")};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var cachedAnchorEl,urlCache,overrideBootstrapBaseUrl,logs=self.__AMP_LOG,LruCache=function(){function e(e){this.i=e,this.v=0,this.h=0,this.p=map()}var r=e.prototype;return r.has=function(e){return!!this.p[e]},r.get=function(e){var r=this.p[e];if(r)return r.access=++this.h,r.payload},r.put=function(e,r){this.has(e)||this.v++,this.p[e]={payload:r,access:this.h},this.m()},r.m=function(){if(!(this.v<=this.i)){var e,r=this.p,t=this.h+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.v--)}},e}(),SERVING_TYPE_PREFIX=new Set(["c","v","a","ad"]);function parseUrlDeprecated(e,r){return cachedAnchorEl||(cachedAnchorEl=self.document.createElement("a"),urlCache=isEsm()?null:self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new LruCache(100))),parseUrlWithA(cachedAnchorEl,e,isEsm()||r?null:urlCache)}function parseUrlWithA(e,r,t){if(isEsm())return e.href="",new URL(r,e.href);if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=isTest()&&Object.freeze?Object.freeze(o):o;return t&&t.put(r,a),a}function getBootstrapUrl(e){var r=isEsm()?".mjs":".js";return isProd()?"".concat(urls.thirdParty,"/").concat(version(),"/vendor/").concat(e).concat(r):(isMinified()?"./vendor/".concat(e):"./vendor/".concat(e,".max"))+r}function getDefaultBootstrapBaseUrl(e,r){var t=r||"frame";return isProd()?(e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||getSubDomain(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(urls.thirdPartyFrameHost,"/").concat(version(),"/")+"".concat(t,".html")):getDevelopmentBootstrapBaseUrl(e,t)}function getDevelopmentBootstrapBaseUrl(e,r){return overrideBootstrapBaseUrl||getAdsLocalhost(e)+"/dist.3p/"+(isMinified()?"".concat(version(),"/").concat(r):"current/".concat(r,".max"))+".html"}function getAdsLocalhost(e){var r,t=urls.thirdParty;return"https://3p.ampproject.net"==t&&(t="http://ads.localhost"),t+":"+((null===(r=new URL(e.document.baseURI))||void 0===r?void 0:r.port)||e.location.port||e.parent.location.port)}function getSubDomain(e){return"d-"+getRandom(e)}function getRandom(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function generateSentinel(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+getRandom(e)}var _excluded4=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],countGenerators={},BLOCK_SYNC_XHR="sync-xhr 'none'",DEFAULT_SANDBOX=getRequiredSandboxFlags().join(" ")+" "+getOptionalSandboxFlags().join(" ");function ProxyIframeEmbedWithRef(e,r){var t=e.allow,n=void 0===t?BLOCK_SYNC_XHR:t,o=e.excludeSandbox,a=e.name,i=e.messageHandler,s=e.options,u=e.sandbox,l=void 0===u?DEFAULT_SANDBOX:u,c=e.src,d=e.type,f=e.title,p=void 0===f?d:f,_=_objectWithoutPropertiesLoose(e,_excluded4);if(!includes(n,BLOCK_SYNC_XHR))throw new Error("'allow' prop must contain \"".concat(BLOCK_SYNC_XHR,'". Found "').concat(n,'".'));var v=useRef2(null),m=useRef2(null),E=useMemo2((function(){return countGenerators[d]||(countGenerators[d]=sequentialIdGenerator()),countGenerators[d]()}),[d]),b=_slicedToArray(useState2({name:a,src:c}),2),h=b[0],y=b[1],S=h.name,g=h.src,A=useRef2(null);return useLayoutEffect2((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=c?c:t?getDefaultBootstrapBaseUrl(t):"about:blank";if(a)y({name:a,src:n});else if(t){A.current||(A.current=generateSentinel(t));var o=Object.assign(dict({"location":{"href":t.location.href},"sentinel":A.current})),i=Object.assign(dict({"title":p,"type":d,"_context":o}),s);y({name:JSON.stringify(dict({"host":parseUrlDeprecated(n).hostname,"bootstrap":getBootstrapUrl(d),"type":d,"count":E,"attributes":i})),src:n})}}),[E,a,s,c,p,d]),useEffect2((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[S]),useImperativeHandle2(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),createElement2(IframeEmbed,_objectSpread2({allow:n,contentRef:v,messageHandler:i,name:S,ref:m,ready:!!S,sandbox:o?void 0:l,src:g,title:p},_))}var ProxyIframeEmbed=forwardRef2(ProxyIframeEmbedWithRef);ProxyIframeEmbed.displayName="ProxyIframeEmbed";var AMP_MESSAGE_PREFIX="amp-",MessageType={SEND_EMBED_STATE:"send-embed-state",EMBED_STATE:"embed-state",SEND_EMBED_CONTEXT:"send-embed-context",EMBED_CONTEXT:"embed-context",SEND_INTERSECTIONS:"send-intersections",INTERSECTION:"intersection",EMBED_SIZE:"embed-size",EMBED_SIZE_CHANGED:"embed-size-changed",EMBED_SIZE_DENIED:"embed-size-denied",NO_CONTENT:"no-content",GET_HTML:"get-html",GET_CONSENT_STATE:"get-consent-state",SIGNAL_INTERACTIVE:"signal-interactive",FULL_OVERLAY_FRAME:"full-overlay-frame",FULL_OVERLAY_FRAME_RESPONSE:"full-overlay-frame-response",CANCEL_FULL_OVERLAY_FRAME:"cancel-full-overlay-frame",CANCEL_FULL_OVERLAY_FRAME_RESPONSE:"cancel-full-overlay-frame-response",SEND_POSITIONS:"send-positions",POSITION:"position",SEND_IFRAME_TRANSPORT_EVENTS:"send-iframe-transport-events",IFRAME_TRANSPORT_EVENTS:"iframe-transport-events",IFRAME_TRANSPORT_RESPONSE:"iframe-transport-response",USER_ERROR_IN_IFRAME:"user-error-in-iframe",SEND_CONSENT_DATA:"send-consent-data",CONSENT_DATA:"consent-data"};function deserializeMessage(e){if(!isAmpMessage(e))return null;var r=devAssertString(e).indexOf("{");return devAssert(-1!=r),tryParseJson(devAssertString(e).substr(r),(function(r){rethrowAsync(new Error("MESSAGING: Failed to parse message: ".concat(e,"\n").concat(r.message)))}))}function isAmpMessage(e){return"string"==typeof e&&e.startsWith(AMP_MESSAGE_PREFIX)&&-1!=e.indexOf("{")}var _excluded5=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],TYPE="facebook",FULL_HEIGHT="100%",MATCHES_MESSAGING_ORIGIN=function(){return!0},DEFAULT_TITLE="Facebook comments";function BentoFacebookWithRef(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,s=e.href,u=e.includeCommentParent,l=e.kdSite,c=e.layout,d=e.locale,f=e.numPosts,p=e.onLoad,_=e.orderBy,v=e.refLabel,m=e.requestResize,E=e.share,b=e.showFacepile,h=e.showText,y=e.size,S=e.smallHeader,g=e.style,A=e.tabs,R=e.title,O=void 0===R?DEFAULT_TITLE:R,T=_objectWithoutPropertiesLoose(e,_excluded5),P=_slicedToArray(useState2(null),2),I=P[0],L=P[1],N=useValueRef(p),M=useCallback2((function(e){var r,t,n=null!==(r=tryParseJson(e.data))&&void 0!==r?r:deserializeMessage(e.data);if("ready"==n.action&&(null===(t=N.current)||void 0===t||t.call(N)),n.type==MessageType.EMBED_SIZE){var o=n.height;m?(m(o),L(FULL_HEIGHT)):L(o)}}),[m,N]),j=_slicedToArray(useState2(d),2),w=j[0],x=j[1];useLayoutEffect2((function(){var e,t;if(d)x(d);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;n&&x(dashToUnderline(n.navigator.language))}}),[d,r]);var C=useMemo2((function(){return{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:s,includeCommentParent:u,"kd_site":l,layout:c,locale:w,numPosts:f,orderBy:_,ref:v,share:E,showFacepile:b,showText:h,size:y,smallHeader:S,tabs:A}}),[t,n,o,a,i,s,u,l,c,w,f,_,v,E,b,h,y,S,A]);return createElement2(ProxyIframeEmbed,_objectSpread2(_objectSpread2({options:C,ref:r,title:O},T),{},{excludeSandbox:!0,matchesMessagingOrigin:MATCHES_MESSAGING_ORIGIN,messageHandler:M,type:TYPE,style:I?_objectSpread2(_objectSpread2({},g),{},{height:I}):g}))}var BentoFacebook=forwardRef2(BentoFacebookWithRef);BentoFacebook.displayName="BentoFacebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -298,3 +298,3 @@ var __create = Object.create; | ||
function version() { | ||
return "2110212204000"; | ||
return "2110260219000"; | ||
} | ||
@@ -301,0 +301,0 @@ |
@@ -302,3 +302,3 @@ // src/preact/index.js | ||
function version() { | ||
return "2110212204000"; | ||
return "2110260219000"; | ||
} | ||
@@ -305,0 +305,0 @@ |
@@ -1,2 +0,2 @@ | ||
function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(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 e(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}import{cloneElement as er,createContext as tr,createElement as at,createRef as nr}from"preact";import{hydrate as rr,render as ct}from"preact";import{useCallback as mt,useContext as or,useEffect as dt,useImperativeHandle as bt,useLayoutEffect as vt,useMemo as pt,useRef as ht,useState as ft}from"preact/hooks";function ar(e,t,n){return at.apply(void 0,arguments)}function lr(e){return ft(e)}function ir(e){return ht(e)}function sr(e,t){dt(e,t)}function cr(e,t){vt(e,t)}function ur(e,t){return pt(e,t)}function fr(e,t){return mt(e,t)}function dr(e,t,n){return bt(e,t,n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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{hasOwnProperty:gt,toString:wt}=Object.prototype;function _t(e){return e||{}}import{Children as mr,createPortal as pr,forwardRef as Dt}from"preact/compat";function yr(e){return Dt(e)}var Zt=["auto","lazy","eager","unload"],Gt={auto:0,lazy:1,eager:2,unload:3},Qt=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Kt=[null,"paint","layout","content","size","size paint","size layout","strict"],Xt={"position":"relative","width":"100%","height":"100%"},Yt=yr((function(t,n){let{as:r="div",children:o,"class":a,contentAs:l="div",contentClassName:s,contentProps:c,contentRef:u,contentStyle:f,layout:d=!1,paint:m=!1,size:p=!1,"style":y,wrapperClassName:b,wrapperStyle:v}=t;const g=(p?4:0)+(d?2:0)+(m?1:0);return ar(r,e(e({},i(t,Qt)),{},{ref:n,class:`${a||""} ${b||""}`.trim()||null,style:e(e(e({},y),v),{},{contain:Kt[g]})}),ar(l,e(e({},c),{},{ref:u,class:s,style:e(e({},p&&Xt),{},{"overflow":m?"hidden":"visible"},f)}),o))})),tn=["as","children","class","style","wrapperClassName","wrapperStyle"];function nn(e){const t=ir(null);return t.current=e,t}yr((function(t,n){let{as:r="div",children:o,"class":a,"style":l,wrapperClassName:s,wrapperStyle:c}=t;return ar(r,e(e({},i(t,tn)),{},{ref:n,class:`${a||""} ${s||""}`.trim()||null,style:e(e({},l),c)}),o)}));var yn,{isArray:en}=Array;function sn(e,t){try{return function(e){return JSON.parse(e)}(e)}catch(e){return null==t||t(e),null}}function hn(e,t){return e}function Pn(){const e=yn||(yn=tr({renderable:!0,playable:!0,loading:"auto"},void 0));return or(e)}new WeakMap,new WeakMap;var Sn=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],Rn=()=>!1,Mn=yr((function(t,n){let{allow:r,allowFullScreen:o,iframeStyle:a,name:l,title:s,matchesMessagingOrigin:c=Rn,messageHandler:u,ready:f=!0,loading:d,onReadyState:m,sandbox:p,src:y}=t,b=i(t,Sn);const{playable:v}=Pn(),g=function(e){const{loading:t}=Pn();return function(e,t){const n=Gt[e]||0,r=Gt[t]||0,o=Math.max(n,r);return Zt[o]}(e,t)}(d),h="unload"!==g,w=ir(!1),S=nn(m),O=fr((e=>{if(e!==w.current){w.current=e;const t=S.current;null==t||t(e?"complete":"loading")}}),[S]),j=ir(null);return dr(n,(()=>({get readyState(){return w.current?"complete":"loading"},get node(){return j.current}})),[]),cr((()=>{h||O(!1)}),[h,O]),sr((()=>{const e=j.current;if(!v&&e){const{src:t}=e;(e=>e&&"about:blank"!=e&&!e.includes("#"))(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[v]),cr((()=>{const e=j.current;if(!e||!h)return;const t=e=>{const t=j.current;t&&e.source==t.contentWindow&&c(e.origin)&&u(e)},{defaultView:n}=e.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[c,u,h,f]),ar(Yt,e(e({},b),{},{layout:!0,size:!0,paint:!0}),h&&f&&ar("iframe",{allow:r,allowFullScreen:o,frameborder:"0",loading:g,name:l,onLoad:()=>O(!0),part:"iframe",ref:j,sandbox:p,scrolling:"no",src:y,style:e(e({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:s}))}));function En(e){const t=Object.getOwnPropertyDescriptor(e,"message");if(null!=t&&t.writable)return e;const{message:n,stack:r}=e,o=new Error(n);for(const t in e)o[t]=e[t];return o.stack=r,o}function xn(e){let t=null,n="";for(var o,a=r(arguments,!0);!(o=a()).done;){const e=o.value;e instanceof Error&&!t?t=En(e):(n&&(n+=" "),n+=e)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function Tn(e){var t,n;null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,e)}Mn.displayName="IframeEmbed";var In=self.AMP_CONFIG||{},zn=("string"==typeof In.thirdPartyFrameRegex?new RegExp(In.thirdPartyFrameRegex):In.thirdPartyFrameRegex,("string"==typeof In.cdnProxyRegex?new RegExp(In.cdnProxyRegex):In.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function jn(e){if(!self.document||!self.document.head)return null;if(self.location&&zn.test(self.location.origin))return null;const t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var Ln,$n=In.thirdPartyUrl||"https://3p.ampproject.net",Nn=In.thirdPartyFrameHost||"ampproject.net";function Fn(e){return`${$n}/2110212204000/vendor/${e}.mjs`}function Un(e){let t;if(e.crypto&&e.crypto.getRandomValues){const n=new Uint32Array(2);e.crypto.getRandomValues(n),t=String(n[0])+n[1]}else t=String(e.Math.random()).substr(2)+"0";return t}In.cdnUrl||jn("runtime-host"),In.errorReportingUrl,In.betaErrorReportingUrl,In.localDev,In.geoApiUrl||jn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var Hn=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],Wn={},qn="sync-xhr 'none'",Bn=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),Dn=yr((function(t,n){let{allow:r=qn,excludeSandbox:o,name:a,messageHandler:l,options:s,sandbox:c=Bn,src:u,type:f,title:d=f}=t,m=i(t,Hn);if(p=r,"number"!=typeof b&&(b=0),b+(y=qn).length>p.length||-1===p.indexOf(y,b))throw new Error(`'allow' prop must contain "${qn}". Found "${r}".`);var p,y,b;const v=ir(null),g=ir(null),h=ur((()=>(Wn[f]||(Wn[f]=function(){let e=0;return()=>String(++e)}()),Wn[f]())),[f]),[w,S]=lr({name:a,src:u}),{name:O,src:j}=w,x=ir(null);return cr((()=>{var e,t;const n=null===(e=v.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,r=null!=u?u:n?((o=n).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Un(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Nn}/2110212204000/frame.html`):"about:blank";var o;if(a)return void S({name:a,src:r});if(!n)return;x.current||(x.current=function(e){let t=0;for(let n=e;n&&n!=n.parent;n=n.parent)t++;return String(t)+"-"+Un(e)}(n));const l=Object.assign(_t({"location":{"href":n.location.href},"sentinel":x.current})),i=Object.assign(_t({"title":d,"type":f,"_context":l}),s);var c;S({name:JSON.stringify(_t({"host":(c=r,Ln||(Ln=self.document.createElement("a")),function(e,t,n){return e.href="",new URL(t,e.href)}(Ln,c)).hostname,"bootstrap":Fn(f),"type":f,"count":h,"attributes":i})),src:r})}),[h,a,s,u,d,f]),sr((()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[O]),dr(n,(()=>({get readyState(){var e;return null===(e=g.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=g.current)||void 0===e?void 0:e.node}})),[]),ar(Mn,e({allow:r,contentRef:v,messageHandler:l,name:O,ref:g,ready:!!O,sandbox:o?void 0:c,src:j,title:d},m))}));Dn.displayName="ProxyIframeEmbed";var Zn=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],Gn=()=>!0,Jn="Facebook comments",Qn=yr((function(t,n){let{action:r,colorscheme:o,embedAs:a,hideCover:l,hideCta:s,href:c,includeCommentParent:u,kdSite:f,layout:d,locale:m,numPosts:p,onLoad:y,orderBy:b,refLabel:v,requestResize:g,share:h,showFacepile:w,showText:S,size:O,smallHeader:j,style:x,tabs:C,title:z=Jn}=t,A=i(t,Zn);const[$,k]=lr(null),E=nn(y),F=fr((e=>{var t;const n=null!==(t=sn(e.data))&&void 0!==t?t:function(e){if(!function(e){return"string"==typeof e&&e.startsWith("amp-")&&-1!=e.indexOf("{")}(e))return null;const t=hn(e).indexOf("{");return sn(hn(e).substr(t),(t=>{!function(e){const t=xn.apply(null,arguments);setTimeout((()=>{throw Tn(t),t}))}(new Error(`MESSAGING: Failed to parse message: ${e}\n${t.message}`))}))}(e.data);var r;if("ready"==n.action&&(null===(r=E.current)||void 0===r||r.call(E)),"embed-size"==n.type){const e=n.height;g?(g(e),k("100%")):k(e)}}),[g,E]),[P,R]=lr(m);cr((()=>{var e,t;if(m)return void R(m);const r=null==n||null===(e=n.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;r&&R(r.navigator.language.replace("-","_"))}),[m,n]);const H=ur((()=>({action:r,colorscheme:o,embedAs:a,hideCover:l,hideCta:s,href:c,includeCommentParent:u,"kd_site":f,layout:d,locale:P,numPosts:p,orderBy:b,ref:v,share:h,showFacepile:w,showText:S,size:O,smallHeader:j,tabs:C})),[r,o,a,l,s,c,u,f,d,P,p,b,v,h,w,S,O,j,C]);return ar(Dn,e(e({options:H,ref:n,title:z},A),{},{excludeSandbox:!0,matchesMessagingOrigin:Gn,messageHandler:F,type:"facebook",style:$?e(e({},x),{},{height:$}):x}))}));Qn.displayName="BentoFacebook";export{Qn as BentoFacebook}; | ||
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(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 n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}import{cloneElement as o,createContext as a,createElement as l,createRef as i}from"preact";import{hydrate as s,render as c}from"preact";import{useCallback as u,useContext as f,useEffect as d,useImperativeHandle as m,useLayoutEffect as p,useMemo as y,useRef as b,useState as v}from"preact/hooks";function g(e,t,n){return l.apply(void 0,arguments)}function h(e){return v(e)}function w(e){return b(e)}function S(e,t){d(e,t)}function O(e,t){p(e,t)}function j(e,t){return y(e,t)}function x(e,t){return u(e,t)}function C(e,t,n){return m(e,t,n)}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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{hasOwnProperty:$,toString:k}=Object.prototype;function E(e){return e||{}}import{Children as F,createPortal as P,forwardRef as R}from"preact/compat";function H(e){return R(e)}var N=["auto","lazy","eager","unload"],M={auto:0,lazy:1,eager:2,unload:3},I=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],L=[null,"paint","layout","content","size","size paint","size layout","strict"],T={"position":"relative","width":"100%","height":"100%"},B=H((function(e,t){let{as:o="div",children:a,"class":l,contentAs:i="div",contentClassName:s,contentProps:c,contentRef:u,contentStyle:f,layout:d=!1,paint:m=!1,size:p=!1,"style":y,wrapperClassName:b,wrapperStyle:v}=e;const h=(p?4:0)+(d?2:0)+(m?1:0);return g(o,n(n({},r(e,I)),{},{ref:t,class:`${l||""} ${b||""}`.trim()||null,style:n(n(n({},y),v),{},{contain:L[h]})}),g(i,n(n({},c),{},{ref:u,class:s,style:n(n({},p&&T),{},{"overflow":m?"hidden":"visible"},f)}),a))})),_=["as","children","class","style","wrapperClassName","wrapperStyle"];function U(e){const t=w(null);return t.current=e,t}H((function(e,t){let{as:o="div",children:a,"class":l,"style":i,wrapperClassName:s,wrapperStyle:c}=e;return g(o,n(n({},r(e,_)),{},{ref:t,class:`${l||""} ${s||""}`.trim()||null,style:n(n({},i),c)}),a)}));var q,{isArray:G}=Array;function J(e,t){try{return function(e){return JSON.parse(e)}(e)}catch(e){return null==t||t(e),null}}function V(e,t){return e}function W(){const e=q||(q=a({renderable:!0,playable:!0,loading:"auto"},void 0));return f(e)}new WeakMap,new WeakMap;var Z=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],D=()=>!1,K=H((function(e,t){let{allow:o,allowFullScreen:a,iframeStyle:l,name:i,title:s,matchesMessagingOrigin:c=D,messageHandler:u,ready:f=!0,loading:d,onReadyState:m,sandbox:p,src:y}=e,b=r(e,Z);const{playable:v}=W(),h=function(e){const{loading:t}=W();return function(e,t){const n=M[e]||0,r=M[t]||0,o=Math.max(n,r);return N[o]}(e,t)}(d),j="unload"!==h,z=w(!1),A=U(m),$=x((e=>{if(e!==z.current){z.current=e;const t=A.current;null==t||t(e?"complete":"loading")}}),[A]),k=w(null);return C(t,(()=>({get readyState(){return z.current?"complete":"loading"},get node(){return k.current}})),[]),O((()=>{j||$(!1)}),[j,$]),S((()=>{const e=k.current;if(!v&&e){const{src:t}=e;(e=>e&&"about:blank"!=e&&!e.includes("#"))(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[v]),O((()=>{const e=k.current;if(!e||!j)return;const t=e=>{const t=k.current;t&&e.source==t.contentWindow&&c(e.origin)&&u(e)},{defaultView:n}=e.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[c,u,j,f]),g(B,n(n({},b),{},{layout:!0,size:!0,paint:!0}),j&&f&&g("iframe",{allow:o,allowFullScreen:a,frameborder:"0",loading:h,name:i,onLoad:()=>$(!0),part:"iframe",ref:k,sandbox:p,scrolling:"no",src:y,style:n(n({},l),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:s}))}));function Q(e){const t=Object.getOwnPropertyDescriptor(e,"message");if(null!=t&&t.writable)return e;const{message:n,stack:r}=e,o=new Error(n);for(const t in e)o[t]=e[t];return o.stack=r,o}function X(e){let t=null,n="";for(var r,o=A(arguments,!0);!(r=o()).done;){const e=r.value;e instanceof Error&&!t?t=Q(e):(n&&(n+=" "),n+=e)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function Y(e){var t,n;null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,e)}K.displayName="IframeEmbed";var ee=self.AMP_CONFIG||{},te=("string"==typeof ee.thirdPartyFrameRegex?new RegExp(ee.thirdPartyFrameRegex):ee.thirdPartyFrameRegex,("string"==typeof ee.cdnProxyRegex?new RegExp(ee.cdnProxyRegex):ee.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function ne(e){if(!self.document||!self.document.head)return null;if(self.location&&te.test(self.location.origin))return null;const t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var re,oe=ee.thirdPartyUrl||"https://3p.ampproject.net",ae=ee.thirdPartyFrameHost||"ampproject.net";function le(e){return`${oe}/2110260219000/vendor/${e}.mjs`}function ie(e){let t;if(e.crypto&&e.crypto.getRandomValues){const n=new Uint32Array(2);e.crypto.getRandomValues(n),t=String(n[0])+n[1]}else t=String(e.Math.random()).substr(2)+"0";return t}ee.cdnUrl||ne("runtime-host"),ee.errorReportingUrl,ee.betaErrorReportingUrl,ee.localDev,ee.geoApiUrl||ne("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var se=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],ce={},ue="sync-xhr 'none'",fe=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),de=H((function(e,t){let{allow:o=ue,excludeSandbox:a,name:l,messageHandler:i,options:s,sandbox:c=fe,src:u,type:f,title:d=f}=e,m=r(e,se);if(p=o,"number"!=typeof b&&(b=0),b+(y=ue).length>p.length||-1===p.indexOf(y,b))throw new Error(`'allow' prop must contain "${ue}". Found "${o}".`);var p,y,b;const v=w(null),x=w(null),z=j((()=>(ce[f]||(ce[f]=function(){let e=0;return()=>String(++e)}()),ce[f]())),[f]),[A,$]=h({name:l,src:u}),{name:k,src:F}=A,P=w(null);return O((()=>{var e,t;const n=null===(e=v.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,r=null!=u?u:n?((o=n).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+ie(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${ae}/2110260219000/frame.html`):"about:blank";var o;if(l)return void $({name:l,src:r});if(!n)return;P.current||(P.current=function(e){let t=0;for(let n=e;n&&n!=n.parent;n=n.parent)t++;return String(t)+"-"+ie(e)}(n));const a=Object.assign(E({"location":{"href":n.location.href},"sentinel":P.current})),i=Object.assign(E({"title":d,"type":f,"_context":a}),s);var c;$({name:JSON.stringify(E({"host":(c=r,re||(re=self.document.createElement("a")),function(e,t,n){return e.href="",new URL(t,e.href)}(re,c)).hostname,"bootstrap":le(f),"type":f,"count":z,"attributes":i})),src:r})}),[z,l,s,u,d,f]),S((()=>{var e;const t=null===(e=x.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[k]),C(t,(()=>({get readyState(){var e;return null===(e=x.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=x.current)||void 0===e?void 0:e.node}})),[]),g(K,n({allow:o,contentRef:v,messageHandler:i,name:k,ref:x,ready:!!k,sandbox:a?void 0:c,src:F,title:d},m))}));de.displayName="ProxyIframeEmbed";var me=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],pe=()=>!0,ye="Facebook comments",be=H((function(e,t){let{action:o,colorscheme:a,embedAs:l,hideCover:i,hideCta:s,href:c,includeCommentParent:u,kdSite:f,layout:d,locale:m,numPosts:p,onLoad:y,orderBy:b,refLabel:v,requestResize:w,share:S,showFacepile:C,showText:z,size:A,smallHeader:$,style:k,tabs:E,title:F=ye}=e,P=r(e,me);const[R,H]=h(null),N=U(y),M=x((e=>{var t;const n=null!==(t=J(e.data))&&void 0!==t?t:function(e){if(!function(e){return"string"==typeof e&&e.startsWith("amp-")&&-1!=e.indexOf("{")}(e))return null;const t=V(e).indexOf("{");return J(V(e).substr(t),(t=>{!function(e){const t=X.apply(null,arguments);setTimeout((()=>{throw Y(t),t}))}(new Error(`MESSAGING: Failed to parse message: ${e}\n${t.message}`))}))}(e.data);var r;if("ready"==n.action&&(null===(r=N.current)||void 0===r||r.call(N)),"embed-size"==n.type){const e=n.height;w?(w(e),H("100%")):H(e)}}),[w,N]),[I,L]=h(m);O((()=>{var e,n;if(m)return void L(m);const r=null==t||null===(e=t.current)||void 0===e||null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView;r&&L(r.navigator.language.replace("-","_"))}),[m,t]);const T=j((()=>({action:o,colorscheme:a,embedAs:l,hideCover:i,hideCta:s,href:c,includeCommentParent:u,"kd_site":f,layout:d,locale:I,numPosts:p,orderBy:b,ref:v,share:S,showFacepile:C,showText:z,size:A,smallHeader:$,tabs:E})),[o,a,l,i,s,c,u,f,d,I,p,b,v,S,C,z,A,$,E]);return g(de,n(n({options:T,ref:t,title:F},P),{},{excludeSandbox:!0,matchesMessagingOrigin:pe,messageHandler:M,type:"facebook",style:R?n(n({},k),{},{height:R}):k}))}));be.displayName="BentoFacebook";export{be as BentoFacebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -1,2 +0,2 @@ | ||
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__markAsModule=function(e){return __defProp(e,"__esModule",{value:!0})},__export=function(e,r){for(var t in __markAsModule(e),r)__defProp(e,t,{get:r[t],enumerable:!0})},__reExport=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=__getOwnPropNames(r),a=0,i=o.length;a<i;a++)n=o[a],__hasOwnProp.call(e,n)||"default"===n||__defProp(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=__getOwnPropDesc(r,n))||t.enumerable});return e},__toModule=function(e){return __reExport(__markAsModule(__defProp(null!=e?__create(__getProtoOf(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _nonIterableRest(){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 _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _objectWithoutPropertiesLoose(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}__export(exports,{BentoFacebook:function(){return BentoFacebook}});var preact=__toModule(require("react")),preactDOM=__toModule(require("react-dom")),hooks=__toModule(require("react"));function createElement2(e,r,t){return preact.createElement.apply(void 0,arguments)}function createContext2(e){return preact.createContext(e,void 0)}function useState2(e){return hooks.useState(e)}function useRef2(e){return hooks.useRef(e)}function useEffect2(e,r){hooks.useEffect(e,r)}function useLayoutEffect2(e,r){hooks.useLayoutEffect(e,r)}function useContext2(e){return hooks.useContext(e)}function useMemo2(e,r){return hooks.useMemo(e,r)}function useCallback2(e,r){return hooks.useCallback(e,r)}function useImperativeHandle2(e,r,t){return hooks.useImperativeHandle(e,r,t)}var getRequiredSandboxFlags=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},getOptionalSandboxFlags=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function sequentialIdGenerator(){var e=0;return function(){return String(++e)}}function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 _Object$prototype=Object.prototype,hasOwn_=_Object$prototype.hasOwnProperty,toString_=_Object$prototype.toString;function map(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function dict(e){return e||{}}function dashToUnderline(e){return e.replace("-","_")}function includes(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}function isString(e){return"string"==typeof e}var _MAP,compat=__toModule(require("react"));function forwardRef2(e){return compat.forwardRef(e)}var Loading={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ORDER=[Loading.AUTO,Loading.LAZY,Loading.EAGER,Loading.UNLOAD],MAP=(_defineProperty(_MAP={},Loading.AUTO,0),_defineProperty(_MAP,Loading.LAZY,1),_defineProperty(_MAP,Loading.EAGER,2),_defineProperty(_MAP,Loading.UNLOAD,3),_MAP);function reducer(e,r){var t=MAP[e]||0,n=MAP[r]||0,o=Math.max(t,n);return ORDER[o]}var ReadyState={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"},_excluded=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],CONTAIN=[null,"paint","layout","content","size","size paint","size layout","strict"],SIZE_CONTENT_STYLE={"position":"relative","width":"100%","height":"100%"};function ContainWrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.contentAs,s=void 0===i?"div":i,u=e.contentClassName,l=e.contentProps,c=e.contentRef,d=e.contentStyle,f=e.layout,p=void 0!==f&&f,_=e.paint,v=void 0!==_&&_,m=e.size,E=void 0!==m&&m,b=e.style,h=e.wrapperClassName,y=e.wrapperStyle,S=(E?4:0)+(p?2:0)+(v?1:0);return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded)),{},{ref:r,class:"".concat(a||""," ").concat(h||"").trim()||null,style:_objectSpread2(_objectSpread2(_objectSpread2({},b),y),{},{contain:CONTAIN[S]})}),createElement2(s,_objectSpread2(_objectSpread2({},l),{},{ref:c,class:u,style:_objectSpread2(_objectSpread2({},E&&SIZE_CONTENT_STYLE),{},{"overflow":v?"hidden":"visible"},d)}),o))}var ContainWrapper=forwardRef2(ContainWrapperWithRef),_excluded2=["as","children","class","style","wrapperClassName","wrapperStyle"];function WrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.style,s=e.wrapperClassName,u=e.wrapperStyle;return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded2)),{},{ref:r,class:"".concat(a||""," ").concat(s||"").trim()||null,style:_objectSpread2(_objectSpread2({},i),u)}),o)}var Wrapper=forwardRef2(WrapperWithRef);function useValueRef(e){var r=useRef2(null);return r.current=e,r}function isProd(){return!0}function isTest(e){var r;if(isProd())return!1;var t=e||self;return!!(null!==(r=t.AMP_CONFIG)&&void 0!==r&&r.test||t.__AMP_TEST||t.__karma__)}function isMinified(){return!0}function version(){return"2110212204000"}function isEsm(){var e,r,t;return!isProd()&&null!==(e=null===(r=self)||void 0===r||null===(t=r.__AMP_MODE)||void 0===t?void 0:t.esm)&&void 0!==e&&e}var isArray=Array.isArray;function remove(e,r){for(var t=[],n=0,o=0;o<e.length;o++){var a=e[o];r(a,o,e)?t.push(a):(n<o&&(e[n]=a),n++)}return n<e.length&&(e.length=n),t}function parseJson(e){return JSON.parse(e)}function tryParseJson(e,r){try{return parseJson(e)}catch(e){return null==r||r(e),null}}function isElement(e){return 1==(null==e?void 0:e.nodeType)}function elementStringOrPassThru(e){return isElement(e)?(e=e).tagName.toLowerCase()+(e.id?"#".concat(e.id):""):e}function assert(e,r){var t,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(r)return r;e&&-1==o.indexOf(e)&&(o+=e);for(var a=3,i=o.split("%s"),s=i.shift(),u=[s];i.length;){var l=arguments[a++],c=i.shift();s+=elementStringOrPassThru(l)+c,u.push(l,c.trim())}var d=new Error(s);throw d.messageArray=remove(u,(function(e){return""!==e})),null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,d),d}function assertType_(e,r,t,n,o){return isArray(o)?e(t,o.concat([r])):e(t,"".concat(o||n,": %s"),r),r}function assertString(e,r,t){return assertType_(e,r,isString(r),"String expected",t)}function devAssertDceCheck(){self.__AMP_ASSERTION_CHECK&&console.log("__devAssert_sentinel__")}function devAssert(e,r,t,n,o,a,i,s,u,l,c){return isMinified()?e:(devAssertDceCheck(),assert("",e,r,t,n,o,a,i,s,u,l,c))}function devAssertString(e,r){return isMinified()?e:(devAssertDceCheck(),assertString(devAssert,e,r))}var context,viewportObservers=new WeakMap,viewportCallbacks=new WeakMap;function getAmpContext(){return context||(context=createContext2({renderable:!0,playable:!0,loading:Loading.AUTO}))}function useAmpContext(){return useContext2(getAmpContext())}function useLoading(e){return reducer(e,useAmpContext().loading)}var _excluded3=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],DEFAULT_MATCHES_MESSAGING_ORIGIN=function(){return!1},ABOUT_BLANK="about:blank",canResetSrc=function(e){return e&&e!=ABOUT_BLANK&&!e.includes("#")};function IframeEmbedWithRef(e,r){var t=e.allow,n=e.allowFullScreen,o=e.iframeStyle,a=e.name,i=e.title,s=e.matchesMessagingOrigin,u=void 0===s?DEFAULT_MATCHES_MESSAGING_ORIGIN:s,l=e.messageHandler,c=e.ready,d=void 0===c||c,f=e.loading,p=e.onReadyState,_=e.sandbox,v=e.src,m=_objectWithoutPropertiesLoose(e,_excluded3),E=useAmpContext().playable,b=useLoading(f),h=b!==Loading.UNLOAD,y=useRef2(!1),S=useValueRef(p),g=useCallback2((function(e){if(e!==y.current){y.current=e;var r=S.current;null==r||r(e?ReadyState.COMPLETE:ReadyState.LOADING)}}),[S]),A=useRef2(null);return useImperativeHandle2(r,(function(){return{get readyState(){return y.current?ReadyState.COMPLETE:ReadyState.LOADING},get node(){return A.current}}}),[]),useLayoutEffect2((function(){h||g(!1)}),[h,g]),useEffect2((function(){var e=A.current;if(!E&&e){var r=e.src;canResetSrc(r)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[E]),useLayoutEffect2((function(){var e=A.current;if(e&&h){var r=function(e){var r=A.current;r&&e.source==r.contentWindow&&u(e.origin)&&l(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,l,h,d]),createElement2(ContainWrapper,_objectSpread2(_objectSpread2({},m),{},{layout:!0,size:!0,paint:!0}),h&&d&&createElement2("iframe",{allow:t,allowFullScreen:n,frameborder:"0",loading:b,name:a,onLoad:function(){return g(!0)},part:"iframe",ref:A,sandbox:_,scrolling:"no",src:v,style:_objectSpread2(_objectSpread2({},o),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var IframeEmbed=forwardRef2(IframeEmbedWithRef);function duplicateErrorIfNecessary(e){var r=Object.getOwnPropertyDescriptor(e,"message");if(null!=r&&r.writable)return e;var t=e.message,n=e.stack,o=new Error(t);for(var a in e)o[a]=e[a];return o.stack=n,o}function createError(e){for(var r,t=null,n="",o=_createForOfIteratorHelperLoose(arguments,!0);!(r=o()).done;){var a=r.value;a instanceof Error&&!t?t=duplicateErrorIfNecessary(a):(n&&(n+=" "),n+=a)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function maybeReportError(e){var r,t;null===(r=(t=self).__AMP_REPORT_ERROR)||void 0===r||r.call(t,e)}function rethrowAsync(e){var r=createError.apply(null,arguments);setTimeout((function(){throw maybeReportError(r),r}))}IframeEmbed.displayName="IframeEmbed";var env=self.AMP_CONFIG||{},thirdPartyFrameRegex=("string"==typeof env.thirdPartyFrameRegex?new RegExp(env.thirdPartyFrameRegex):env.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,cdnProxyRegex=("string"==typeof env.cdnProxyRegex?new RegExp(env.cdnProxyRegex):env.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function getMetaUrl(e){if(!self.document||!self.document.head)return null;if(self.location&&cdnProxyRegex.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var urls={thirdParty:env.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:env.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:thirdPartyFrameRegex,cdn:env.cdnUrl||getMetaUrl("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:cdnProxyRegex,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:env.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:env.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:env.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:env.geoApiUrl||getMetaUrl("amp-geo-api")};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var cachedAnchorEl,urlCache,overrideBootstrapBaseUrl,logs=self.__AMP_LOG,LruCache=function(){function e(e){this.i=e,this.v=0,this.h=0,this.p=map()}var r=e.prototype;return r.has=function(e){return!!this.p[e]},r.get=function(e){var r=this.p[e];if(r)return r.access=++this.h,r.payload},r.put=function(e,r){this.has(e)||this.v++,this.p[e]={payload:r,access:this.h},this.m()},r.m=function(){if(!(this.v<=this.i)){var e,r=this.p,t=this.h+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.v--)}},e}(),SERVING_TYPE_PREFIX=new Set(["c","v","a","ad"]);function parseUrlDeprecated(e,r){return cachedAnchorEl||(cachedAnchorEl=self.document.createElement("a"),urlCache=isEsm()?null:self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new LruCache(100))),parseUrlWithA(cachedAnchorEl,e,isEsm()||r?null:urlCache)}function parseUrlWithA(e,r,t){if(isEsm())return e.href="",new URL(r,e.href);if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=isTest()&&Object.freeze?Object.freeze(o):o;return t&&t.put(r,a),a}function getBootstrapUrl(e){var r=isEsm()?".mjs":".js";return isProd()?"".concat(urls.thirdParty,"/").concat(version(),"/vendor/").concat(e).concat(r):(isMinified()?"./vendor/".concat(e):"./vendor/".concat(e,".max"))+r}function getDefaultBootstrapBaseUrl(e,r){var t=r||"frame";return isProd()?(e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||getSubDomain(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(urls.thirdPartyFrameHost,"/").concat(version(),"/")+"".concat(t,".html")):getDevelopmentBootstrapBaseUrl(e,t)}function getDevelopmentBootstrapBaseUrl(e,r){return overrideBootstrapBaseUrl||getAdsLocalhost(e)+"/dist.3p/"+(isMinified()?"".concat(version(),"/").concat(r):"current/".concat(r,".max"))+".html"}function getAdsLocalhost(e){var r,t=urls.thirdParty;return"https://3p.ampproject.net"==t&&(t="http://ads.localhost"),t+":"+((null===(r=new URL(e.document.baseURI))||void 0===r?void 0:r.port)||e.location.port||e.parent.location.port)}function getSubDomain(e){return"d-"+getRandom(e)}function getRandom(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function generateSentinel(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+getRandom(e)}var _excluded4=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],countGenerators={},BLOCK_SYNC_XHR="sync-xhr 'none'",DEFAULT_SANDBOX=getRequiredSandboxFlags().join(" ")+" "+getOptionalSandboxFlags().join(" ");function ProxyIframeEmbedWithRef(e,r){var t=e.allow,n=void 0===t?BLOCK_SYNC_XHR:t,o=e.excludeSandbox,a=e.name,i=e.messageHandler,s=e.options,u=e.sandbox,l=void 0===u?DEFAULT_SANDBOX:u,c=e.src,d=e.type,f=e.title,p=void 0===f?d:f,_=_objectWithoutPropertiesLoose(e,_excluded4);if(!includes(n,BLOCK_SYNC_XHR))throw new Error("'allow' prop must contain \"".concat(BLOCK_SYNC_XHR,'". Found "').concat(n,'".'));var v=useRef2(null),m=useRef2(null),E=useMemo2((function(){return countGenerators[d]||(countGenerators[d]=sequentialIdGenerator()),countGenerators[d]()}),[d]),b=_slicedToArray(useState2({name:a,src:c}),2),h=b[0],y=b[1],S=h.name,g=h.src,A=useRef2(null);return useLayoutEffect2((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=c?c:t?getDefaultBootstrapBaseUrl(t):"about:blank";if(a)y({name:a,src:n});else if(t){A.current||(A.current=generateSentinel(t));var o=Object.assign(dict({"location":{"href":t.location.href},"sentinel":A.current})),i=Object.assign(dict({"title":p,"type":d,"_context":o}),s);y({name:JSON.stringify(dict({"host":parseUrlDeprecated(n).hostname,"bootstrap":getBootstrapUrl(d),"type":d,"count":E,"attributes":i})),src:n})}}),[E,a,s,c,p,d]),useEffect2((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[S]),useImperativeHandle2(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),createElement2(IframeEmbed,_objectSpread2({allow:n,contentRef:v,messageHandler:i,name:S,ref:m,ready:!!S,sandbox:o?void 0:l,src:g,title:p},_))}var ProxyIframeEmbed=forwardRef2(ProxyIframeEmbedWithRef);ProxyIframeEmbed.displayName="ProxyIframeEmbed";var AMP_MESSAGE_PREFIX="amp-",MessageType={SEND_EMBED_STATE:"send-embed-state",EMBED_STATE:"embed-state",SEND_EMBED_CONTEXT:"send-embed-context",EMBED_CONTEXT:"embed-context",SEND_INTERSECTIONS:"send-intersections",INTERSECTION:"intersection",EMBED_SIZE:"embed-size",EMBED_SIZE_CHANGED:"embed-size-changed",EMBED_SIZE_DENIED:"embed-size-denied",NO_CONTENT:"no-content",GET_HTML:"get-html",GET_CONSENT_STATE:"get-consent-state",SIGNAL_INTERACTIVE:"signal-interactive",FULL_OVERLAY_FRAME:"full-overlay-frame",FULL_OVERLAY_FRAME_RESPONSE:"full-overlay-frame-response",CANCEL_FULL_OVERLAY_FRAME:"cancel-full-overlay-frame",CANCEL_FULL_OVERLAY_FRAME_RESPONSE:"cancel-full-overlay-frame-response",SEND_POSITIONS:"send-positions",POSITION:"position",SEND_IFRAME_TRANSPORT_EVENTS:"send-iframe-transport-events",IFRAME_TRANSPORT_EVENTS:"iframe-transport-events",IFRAME_TRANSPORT_RESPONSE:"iframe-transport-response",USER_ERROR_IN_IFRAME:"user-error-in-iframe",SEND_CONSENT_DATA:"send-consent-data",CONSENT_DATA:"consent-data"};function deserializeMessage(e){if(!isAmpMessage(e))return null;var r=devAssertString(e).indexOf("{");return devAssert(-1!=r),tryParseJson(devAssertString(e).substr(r),(function(r){rethrowAsync(new Error("MESSAGING: Failed to parse message: ".concat(e,"\n").concat(r.message)))}))}function isAmpMessage(e){return"string"==typeof e&&e.startsWith(AMP_MESSAGE_PREFIX)&&-1!=e.indexOf("{")}var _excluded5=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],TYPE="facebook",FULL_HEIGHT="100%",MATCHES_MESSAGING_ORIGIN=function(){return!0},DEFAULT_TITLE="Facebook comments";function BentoFacebookWithRef(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,s=e.href,u=e.includeCommentParent,l=e.kdSite,c=e.layout,d=e.locale,f=e.numPosts,p=e.onLoad,_=e.orderBy,v=e.refLabel,m=e.requestResize,E=e.share,b=e.showFacepile,h=e.showText,y=e.size,S=e.smallHeader,g=e.style,A=e.tabs,R=e.title,O=void 0===R?DEFAULT_TITLE:R,T=_objectWithoutPropertiesLoose(e,_excluded5),P=_slicedToArray(useState2(null),2),I=P[0],L=P[1],N=useValueRef(p),M=useCallback2((function(e){var r,t,n=null!==(r=tryParseJson(e.data))&&void 0!==r?r:deserializeMessage(e.data);if("ready"==n.action&&(null===(t=N.current)||void 0===t||t.call(N)),n.type==MessageType.EMBED_SIZE){var o=n.height;m?(m(o),L(FULL_HEIGHT)):L(o)}}),[m,N]),j=_slicedToArray(useState2(d),2),w=j[0],x=j[1];useLayoutEffect2((function(){var e,t;if(d)x(d);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;n&&x(dashToUnderline(n.navigator.language))}}),[d,r]);var C=useMemo2((function(){return{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:s,includeCommentParent:u,"kd_site":l,layout:c,locale:w,numPosts:f,orderBy:_,ref:v,share:E,showFacepile:b,showText:h,size:y,smallHeader:S,tabs:A}}),[t,n,o,a,i,s,u,l,c,w,f,_,v,E,b,h,y,S,A]);return createElement2(ProxyIframeEmbed,_objectSpread2(_objectSpread2({options:C,ref:r,title:O},T),{},{excludeSandbox:!0,matchesMessagingOrigin:MATCHES_MESSAGING_ORIGIN,messageHandler:M,type:TYPE,style:I?_objectSpread2(_objectSpread2({},g),{},{height:I}):g}))}var BentoFacebook=forwardRef2(BentoFacebookWithRef);BentoFacebook.displayName="BentoFacebook"; | ||
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__markAsModule=function(e){return __defProp(e,"__esModule",{value:!0})},__export=function(e,r){for(var t in __markAsModule(e),r)__defProp(e,t,{get:r[t],enumerable:!0})},__reExport=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=__getOwnPropNames(r),a=0,i=o.length;a<i;a++)n=o[a],__hasOwnProp.call(e,n)||"default"===n||__defProp(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=__getOwnPropDesc(r,n))||t.enumerable});return e},__toModule=function(e){return __reExport(__markAsModule(__defProp(null!=e?__create(__getProtoOf(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _nonIterableRest(){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 _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _objectWithoutPropertiesLoose(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}__export(exports,{BentoFacebook:function(){return BentoFacebook}});var preact=__toModule(require("react")),preactDOM=__toModule(require("react-dom")),hooks=__toModule(require("react"));function createElement2(e,r,t){return preact.createElement.apply(void 0,arguments)}function createContext2(e){return preact.createContext(e,void 0)}function useState2(e){return hooks.useState(e)}function useRef2(e){return hooks.useRef(e)}function useEffect2(e,r){hooks.useEffect(e,r)}function useLayoutEffect2(e,r){hooks.useLayoutEffect(e,r)}function useContext2(e){return hooks.useContext(e)}function useMemo2(e,r){return hooks.useMemo(e,r)}function useCallback2(e,r){return hooks.useCallback(e,r)}function useImperativeHandle2(e,r,t){return hooks.useImperativeHandle(e,r,t)}var getRequiredSandboxFlags=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},getOptionalSandboxFlags=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function sequentialIdGenerator(){var e=0;return function(){return String(++e)}}function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 _Object$prototype=Object.prototype,hasOwn_=_Object$prototype.hasOwnProperty,toString_=_Object$prototype.toString;function map(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function dict(e){return e||{}}function dashToUnderline(e){return e.replace("-","_")}function includes(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}function isString(e){return"string"==typeof e}var _MAP,compat=__toModule(require("react"));function forwardRef2(e){return compat.forwardRef(e)}var Loading={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},ORDER=[Loading.AUTO,Loading.LAZY,Loading.EAGER,Loading.UNLOAD],MAP=(_defineProperty(_MAP={},Loading.AUTO,0),_defineProperty(_MAP,Loading.LAZY,1),_defineProperty(_MAP,Loading.EAGER,2),_defineProperty(_MAP,Loading.UNLOAD,3),_MAP);function reducer(e,r){var t=MAP[e]||0,n=MAP[r]||0,o=Math.max(t,n);return ORDER[o]}var ReadyState={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"},_excluded=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],CONTAIN=[null,"paint","layout","content","size","size paint","size layout","strict"],SIZE_CONTENT_STYLE={"position":"relative","width":"100%","height":"100%"};function ContainWrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.contentAs,s=void 0===i?"div":i,u=e.contentClassName,l=e.contentProps,c=e.contentRef,d=e.contentStyle,f=e.layout,p=void 0!==f&&f,_=e.paint,v=void 0!==_&&_,m=e.size,E=void 0!==m&&m,b=e.style,h=e.wrapperClassName,y=e.wrapperStyle,S=(E?4:0)+(p?2:0)+(v?1:0);return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded)),{},{ref:r,class:"".concat(a||""," ").concat(h||"").trim()||null,style:_objectSpread2(_objectSpread2(_objectSpread2({},b),y),{},{contain:CONTAIN[S]})}),createElement2(s,_objectSpread2(_objectSpread2({},l),{},{ref:c,class:u,style:_objectSpread2(_objectSpread2({},E&&SIZE_CONTENT_STYLE),{},{"overflow":v?"hidden":"visible"},d)}),o))}var ContainWrapper=forwardRef2(ContainWrapperWithRef),_excluded2=["as","children","class","style","wrapperClassName","wrapperStyle"];function WrapperWithRef(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.class,i=e.style,s=e.wrapperClassName,u=e.wrapperStyle;return createElement2(n,_objectSpread2(_objectSpread2({},_objectWithoutPropertiesLoose(e,_excluded2)),{},{ref:r,class:"".concat(a||""," ").concat(s||"").trim()||null,style:_objectSpread2(_objectSpread2({},i),u)}),o)}var Wrapper=forwardRef2(WrapperWithRef);function useValueRef(e){var r=useRef2(null);return r.current=e,r}function isProd(){return!0}function isTest(e){var r;if(isProd())return!1;var t=e||self;return!!(null!==(r=t.AMP_CONFIG)&&void 0!==r&&r.test||t.__AMP_TEST||t.__karma__)}function isMinified(){return!0}function version(){return"2110260219000"}function isEsm(){var e,r,t;return!isProd()&&null!==(e=null===(r=self)||void 0===r||null===(t=r.__AMP_MODE)||void 0===t?void 0:t.esm)&&void 0!==e&&e}var isArray=Array.isArray;function remove(e,r){for(var t=[],n=0,o=0;o<e.length;o++){var a=e[o];r(a,o,e)?t.push(a):(n<o&&(e[n]=a),n++)}return n<e.length&&(e.length=n),t}function parseJson(e){return JSON.parse(e)}function tryParseJson(e,r){try{return parseJson(e)}catch(e){return null==r||r(e),null}}function isElement(e){return 1==(null==e?void 0:e.nodeType)}function elementStringOrPassThru(e){return isElement(e)?(e=e).tagName.toLowerCase()+(e.id?"#".concat(e.id):""):e}function assert(e,r){var t,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(r)return r;e&&-1==o.indexOf(e)&&(o+=e);for(var a=3,i=o.split("%s"),s=i.shift(),u=[s];i.length;){var l=arguments[a++],c=i.shift();s+=elementStringOrPassThru(l)+c,u.push(l,c.trim())}var d=new Error(s);throw d.messageArray=remove(u,(function(e){return""!==e})),null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,d),d}function assertType_(e,r,t,n,o){return isArray(o)?e(t,o.concat([r])):e(t,"".concat(o||n,": %s"),r),r}function assertString(e,r,t){return assertType_(e,r,isString(r),"String expected",t)}function devAssertDceCheck(){self.__AMP_ASSERTION_CHECK&&console.log("__devAssert_sentinel__")}function devAssert(e,r,t,n,o,a,i,s,u,l,c){return isMinified()?e:(devAssertDceCheck(),assert("",e,r,t,n,o,a,i,s,u,l,c))}function devAssertString(e,r){return isMinified()?e:(devAssertDceCheck(),assertString(devAssert,e,r))}var context,viewportObservers=new WeakMap,viewportCallbacks=new WeakMap;function getAmpContext(){return context||(context=createContext2({renderable:!0,playable:!0,loading:Loading.AUTO}))}function useAmpContext(){return useContext2(getAmpContext())}function useLoading(e){return reducer(e,useAmpContext().loading)}var _excluded3=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],DEFAULT_MATCHES_MESSAGING_ORIGIN=function(){return!1},ABOUT_BLANK="about:blank",canResetSrc=function(e){return e&&e!=ABOUT_BLANK&&!e.includes("#")};function IframeEmbedWithRef(e,r){var t=e.allow,n=e.allowFullScreen,o=e.iframeStyle,a=e.name,i=e.title,s=e.matchesMessagingOrigin,u=void 0===s?DEFAULT_MATCHES_MESSAGING_ORIGIN:s,l=e.messageHandler,c=e.ready,d=void 0===c||c,f=e.loading,p=e.onReadyState,_=e.sandbox,v=e.src,m=_objectWithoutPropertiesLoose(e,_excluded3),E=useAmpContext().playable,b=useLoading(f),h=b!==Loading.UNLOAD,y=useRef2(!1),S=useValueRef(p),g=useCallback2((function(e){if(e!==y.current){y.current=e;var r=S.current;null==r||r(e?ReadyState.COMPLETE:ReadyState.LOADING)}}),[S]),A=useRef2(null);return useImperativeHandle2(r,(function(){return{get readyState(){return y.current?ReadyState.COMPLETE:ReadyState.LOADING},get node(){return A.current}}}),[]),useLayoutEffect2((function(){h||g(!1)}),[h,g]),useEffect2((function(){var e=A.current;if(!E&&e){var r=e.src;canResetSrc(r)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[E]),useLayoutEffect2((function(){var e=A.current;if(e&&h){var r=function(e){var r=A.current;r&&e.source==r.contentWindow&&u(e.origin)&&l(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,l,h,d]),createElement2(ContainWrapper,_objectSpread2(_objectSpread2({},m),{},{layout:!0,size:!0,paint:!0}),h&&d&&createElement2("iframe",{allow:t,allowFullScreen:n,frameborder:"0",loading:b,name:a,onLoad:function(){return g(!0)},part:"iframe",ref:A,sandbox:_,scrolling:"no",src:v,style:_objectSpread2(_objectSpread2({},o),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var IframeEmbed=forwardRef2(IframeEmbedWithRef);function duplicateErrorIfNecessary(e){var r=Object.getOwnPropertyDescriptor(e,"message");if(null!=r&&r.writable)return e;var t=e.message,n=e.stack,o=new Error(t);for(var a in e)o[a]=e[a];return o.stack=n,o}function createError(e){for(var r,t=null,n="",o=_createForOfIteratorHelperLoose(arguments,!0);!(r=o()).done;){var a=r.value;a instanceof Error&&!t?t=duplicateErrorIfNecessary(a):(n&&(n+=" "),n+=a)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function maybeReportError(e){var r,t;null===(r=(t=self).__AMP_REPORT_ERROR)||void 0===r||r.call(t,e)}function rethrowAsync(e){var r=createError.apply(null,arguments);setTimeout((function(){throw maybeReportError(r),r}))}IframeEmbed.displayName="IframeEmbed";var env=self.AMP_CONFIG||{},thirdPartyFrameRegex=("string"==typeof env.thirdPartyFrameRegex?new RegExp(env.thirdPartyFrameRegex):env.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,cdnProxyRegex=("string"==typeof env.cdnProxyRegex?new RegExp(env.cdnProxyRegex):env.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function getMetaUrl(e){if(!self.document||!self.document.head)return null;if(self.location&&cdnProxyRegex.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var urls={thirdParty:env.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:env.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:thirdPartyFrameRegex,cdn:env.cdnUrl||getMetaUrl("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:cdnProxyRegex,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:env.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:env.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:env.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:env.geoApiUrl||getMetaUrl("amp-geo-api")};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var cachedAnchorEl,urlCache,overrideBootstrapBaseUrl,logs=self.__AMP_LOG,LruCache=function(){function e(e){this.i=e,this.v=0,this.h=0,this.p=map()}var r=e.prototype;return r.has=function(e){return!!this.p[e]},r.get=function(e){var r=this.p[e];if(r)return r.access=++this.h,r.payload},r.put=function(e,r){this.has(e)||this.v++,this.p[e]={payload:r,access:this.h},this.m()},r.m=function(){if(!(this.v<=this.i)){var e,r=this.p,t=this.h+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.v--)}},e}(),SERVING_TYPE_PREFIX=new Set(["c","v","a","ad"]);function parseUrlDeprecated(e,r){return cachedAnchorEl||(cachedAnchorEl=self.document.createElement("a"),urlCache=isEsm()?null:self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new LruCache(100))),parseUrlWithA(cachedAnchorEl,e,isEsm()||r?null:urlCache)}function parseUrlWithA(e,r,t){if(isEsm())return e.href="",new URL(r,e.href);if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=isTest()&&Object.freeze?Object.freeze(o):o;return t&&t.put(r,a),a}function getBootstrapUrl(e){var r=isEsm()?".mjs":".js";return isProd()?"".concat(urls.thirdParty,"/").concat(version(),"/vendor/").concat(e).concat(r):(isMinified()?"./vendor/".concat(e):"./vendor/".concat(e,".max"))+r}function getDefaultBootstrapBaseUrl(e,r){var t=r||"frame";return isProd()?(e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||getSubDomain(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(urls.thirdPartyFrameHost,"/").concat(version(),"/")+"".concat(t,".html")):getDevelopmentBootstrapBaseUrl(e,t)}function getDevelopmentBootstrapBaseUrl(e,r){return overrideBootstrapBaseUrl||getAdsLocalhost(e)+"/dist.3p/"+(isMinified()?"".concat(version(),"/").concat(r):"current/".concat(r,".max"))+".html"}function getAdsLocalhost(e){var r,t=urls.thirdParty;return"https://3p.ampproject.net"==t&&(t="http://ads.localhost"),t+":"+((null===(r=new URL(e.document.baseURI))||void 0===r?void 0:r.port)||e.location.port||e.parent.location.port)}function getSubDomain(e){return"d-"+getRandom(e)}function getRandom(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function generateSentinel(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+getRandom(e)}var _excluded4=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],countGenerators={},BLOCK_SYNC_XHR="sync-xhr 'none'",DEFAULT_SANDBOX=getRequiredSandboxFlags().join(" ")+" "+getOptionalSandboxFlags().join(" ");function ProxyIframeEmbedWithRef(e,r){var t=e.allow,n=void 0===t?BLOCK_SYNC_XHR:t,o=e.excludeSandbox,a=e.name,i=e.messageHandler,s=e.options,u=e.sandbox,l=void 0===u?DEFAULT_SANDBOX:u,c=e.src,d=e.type,f=e.title,p=void 0===f?d:f,_=_objectWithoutPropertiesLoose(e,_excluded4);if(!includes(n,BLOCK_SYNC_XHR))throw new Error("'allow' prop must contain \"".concat(BLOCK_SYNC_XHR,'". Found "').concat(n,'".'));var v=useRef2(null),m=useRef2(null),E=useMemo2((function(){return countGenerators[d]||(countGenerators[d]=sequentialIdGenerator()),countGenerators[d]()}),[d]),b=_slicedToArray(useState2({name:a,src:c}),2),h=b[0],y=b[1],S=h.name,g=h.src,A=useRef2(null);return useLayoutEffect2((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=c?c:t?getDefaultBootstrapBaseUrl(t):"about:blank";if(a)y({name:a,src:n});else if(t){A.current||(A.current=generateSentinel(t));var o=Object.assign(dict({"location":{"href":t.location.href},"sentinel":A.current})),i=Object.assign(dict({"title":p,"type":d,"_context":o}),s);y({name:JSON.stringify(dict({"host":parseUrlDeprecated(n).hostname,"bootstrap":getBootstrapUrl(d),"type":d,"count":E,"attributes":i})),src:n})}}),[E,a,s,c,p,d]),useEffect2((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[S]),useImperativeHandle2(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),createElement2(IframeEmbed,_objectSpread2({allow:n,contentRef:v,messageHandler:i,name:S,ref:m,ready:!!S,sandbox:o?void 0:l,src:g,title:p},_))}var ProxyIframeEmbed=forwardRef2(ProxyIframeEmbedWithRef);ProxyIframeEmbed.displayName="ProxyIframeEmbed";var AMP_MESSAGE_PREFIX="amp-",MessageType={SEND_EMBED_STATE:"send-embed-state",EMBED_STATE:"embed-state",SEND_EMBED_CONTEXT:"send-embed-context",EMBED_CONTEXT:"embed-context",SEND_INTERSECTIONS:"send-intersections",INTERSECTION:"intersection",EMBED_SIZE:"embed-size",EMBED_SIZE_CHANGED:"embed-size-changed",EMBED_SIZE_DENIED:"embed-size-denied",NO_CONTENT:"no-content",GET_HTML:"get-html",GET_CONSENT_STATE:"get-consent-state",SIGNAL_INTERACTIVE:"signal-interactive",FULL_OVERLAY_FRAME:"full-overlay-frame",FULL_OVERLAY_FRAME_RESPONSE:"full-overlay-frame-response",CANCEL_FULL_OVERLAY_FRAME:"cancel-full-overlay-frame",CANCEL_FULL_OVERLAY_FRAME_RESPONSE:"cancel-full-overlay-frame-response",SEND_POSITIONS:"send-positions",POSITION:"position",SEND_IFRAME_TRANSPORT_EVENTS:"send-iframe-transport-events",IFRAME_TRANSPORT_EVENTS:"iframe-transport-events",IFRAME_TRANSPORT_RESPONSE:"iframe-transport-response",USER_ERROR_IN_IFRAME:"user-error-in-iframe",SEND_CONSENT_DATA:"send-consent-data",CONSENT_DATA:"consent-data"};function deserializeMessage(e){if(!isAmpMessage(e))return null;var r=devAssertString(e).indexOf("{");return devAssert(-1!=r),tryParseJson(devAssertString(e).substr(r),(function(r){rethrowAsync(new Error("MESSAGING: Failed to parse message: ".concat(e,"\n").concat(r.message)))}))}function isAmpMessage(e){return"string"==typeof e&&e.startsWith(AMP_MESSAGE_PREFIX)&&-1!=e.indexOf("{")}var _excluded5=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],TYPE="facebook",FULL_HEIGHT="100%",MATCHES_MESSAGING_ORIGIN=function(){return!0},DEFAULT_TITLE="Facebook comments";function BentoFacebookWithRef(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,s=e.href,u=e.includeCommentParent,l=e.kdSite,c=e.layout,d=e.locale,f=e.numPosts,p=e.onLoad,_=e.orderBy,v=e.refLabel,m=e.requestResize,E=e.share,b=e.showFacepile,h=e.showText,y=e.size,S=e.smallHeader,g=e.style,A=e.tabs,R=e.title,O=void 0===R?DEFAULT_TITLE:R,T=_objectWithoutPropertiesLoose(e,_excluded5),P=_slicedToArray(useState2(null),2),I=P[0],L=P[1],N=useValueRef(p),M=useCallback2((function(e){var r,t,n=null!==(r=tryParseJson(e.data))&&void 0!==r?r:deserializeMessage(e.data);if("ready"==n.action&&(null===(t=N.current)||void 0===t||t.call(N)),n.type==MessageType.EMBED_SIZE){var o=n.height;m?(m(o),L(FULL_HEIGHT)):L(o)}}),[m,N]),j=_slicedToArray(useState2(d),2),w=j[0],x=j[1];useLayoutEffect2((function(){var e,t;if(d)x(d);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;n&&x(dashToUnderline(n.navigator.language))}}),[d,r]);var C=useMemo2((function(){return{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:s,includeCommentParent:u,"kd_site":l,layout:c,locale:w,numPosts:f,orderBy:_,ref:v,share:E,showFacepile:b,showText:h,size:y,smallHeader:S,tabs:A}}),[t,n,o,a,i,s,u,l,c,w,f,_,v,E,b,h,y,S,A]);return createElement2(ProxyIframeEmbed,_objectSpread2(_objectSpread2({options:C,ref:r,title:O},T),{},{excludeSandbox:!0,matchesMessagingOrigin:MATCHES_MESSAGING_ORIGIN,messageHandler:M,type:TYPE,style:I?_objectSpread2(_objectSpread2({},g),{},{height:I}):g}))}var BentoFacebook=forwardRef2(BentoFacebookWithRef);BentoFacebook.displayName="BentoFacebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -298,3 +298,3 @@ var __create = Object.create; | ||
function version() { | ||
return "2110212204000"; | ||
return "2110260219000"; | ||
} | ||
@@ -301,0 +301,0 @@ |
@@ -302,3 +302,3 @@ // src/preact/index.js | ||
function version() { | ||
return "2110212204000"; | ||
return "2110260219000"; | ||
} | ||
@@ -305,0 +305,0 @@ |
@@ -1,2 +0,2 @@ | ||
function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(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 e(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}import{cloneElement as er,createContext as tr,createElement as at,createRef as nr}from"react";import{hydrate as rr,render as ct}from"react-dom";import{useCallback as mt,useContext as or,useEffect as dt,useImperativeHandle as bt,useLayoutEffect as vt,useMemo as pt,useRef as ht,useState as ft}from"react";function ar(e,t,n){return at.apply(void 0,arguments)}function lr(e){return ft(e)}function ir(e){return ht(e)}function sr(e,t){dt(e,t)}function cr(e,t){vt(e,t)}function ur(e,t){return pt(e,t)}function fr(e,t){return mt(e,t)}function dr(e,t,n){return bt(e,t,n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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{hasOwnProperty:gt,toString:wt}=Object.prototype;function _t(e){return e||{}}import{Children as mr,createPortal as pr,forwardRef as Dt}from"react";function yr(e){return Dt(e)}var Zt=["auto","lazy","eager","unload"],Gt={auto:0,lazy:1,eager:2,unload:3},Qt=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Kt=[null,"paint","layout","content","size","size paint","size layout","strict"],Xt={"position":"relative","width":"100%","height":"100%"},Yt=yr((function(t,n){let{as:r="div",children:o,"class":a,contentAs:l="div",contentClassName:s,contentProps:c,contentRef:u,contentStyle:f,layout:d=!1,paint:m=!1,size:p=!1,"style":y,wrapperClassName:b,wrapperStyle:v}=t;const g=(p?4:0)+(d?2:0)+(m?1:0);return ar(r,e(e({},i(t,Qt)),{},{ref:n,class:`${a||""} ${b||""}`.trim()||null,style:e(e(e({},y),v),{},{contain:Kt[g]})}),ar(l,e(e({},c),{},{ref:u,class:s,style:e(e({},p&&Xt),{},{"overflow":m?"hidden":"visible"},f)}),o))})),tn=["as","children","class","style","wrapperClassName","wrapperStyle"];function nn(e){const t=ir(null);return t.current=e,t}yr((function(t,n){let{as:r="div",children:o,"class":a,"style":l,wrapperClassName:s,wrapperStyle:c}=t;return ar(r,e(e({},i(t,tn)),{},{ref:n,class:`${a||""} ${s||""}`.trim()||null,style:e(e({},l),c)}),o)}));var yn,{isArray:en}=Array;function sn(e,t){try{return function(e){return JSON.parse(e)}(e)}catch(e){return null==t||t(e),null}}function hn(e,t){return e}function Pn(){const e=yn||(yn=tr({renderable:!0,playable:!0,loading:"auto"},void 0));return or(e)}new WeakMap,new WeakMap;var Sn=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],Rn=()=>!1,Mn=yr((function(t,n){let{allow:r,allowFullScreen:o,iframeStyle:a,name:l,title:s,matchesMessagingOrigin:c=Rn,messageHandler:u,ready:f=!0,loading:d,onReadyState:m,sandbox:p,src:y}=t,b=i(t,Sn);const{playable:v}=Pn(),g=function(e){const{loading:t}=Pn();return function(e,t){const n=Gt[e]||0,r=Gt[t]||0,o=Math.max(n,r);return Zt[o]}(e,t)}(d),w="unload"!==g,h=ir(!1),S=nn(m),O=fr((e=>{if(e!==h.current){h.current=e;const t=S.current;null==t||t(e?"complete":"loading")}}),[S]),j=ir(null);return dr(n,(()=>({get readyState(){return h.current?"complete":"loading"},get node(){return j.current}})),[]),cr((()=>{w||O(!1)}),[w,O]),sr((()=>{const e=j.current;if(!v&&e){const{src:t}=e;(e=>e&&"about:blank"!=e&&!e.includes("#"))(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[v]),cr((()=>{const e=j.current;if(!e||!w)return;const t=e=>{const t=j.current;t&&e.source==t.contentWindow&&c(e.origin)&&u(e)},{defaultView:n}=e.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[c,u,w,f]),ar(Yt,e(e({},b),{},{layout:!0,size:!0,paint:!0}),w&&f&&ar("iframe",{allow:r,allowFullScreen:o,frameborder:"0",loading:g,name:l,onLoad:()=>O(!0),part:"iframe",ref:j,sandbox:p,scrolling:"no",src:y,style:e(e({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:s}))}));function En(e){const t=Object.getOwnPropertyDescriptor(e,"message");if(null!=t&&t.writable)return e;const{message:n,stack:r}=e,o=new Error(n);for(const t in e)o[t]=e[t];return o.stack=r,o}function xn(e){let t=null,n="";for(var o,a=r(arguments,!0);!(o=a()).done;){const e=o.value;e instanceof Error&&!t?t=En(e):(n&&(n+=" "),n+=e)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function Tn(e){var t,n;null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,e)}Mn.displayName="IframeEmbed";var In=self.AMP_CONFIG||{},zn=("string"==typeof In.thirdPartyFrameRegex?new RegExp(In.thirdPartyFrameRegex):In.thirdPartyFrameRegex,("string"==typeof In.cdnProxyRegex?new RegExp(In.cdnProxyRegex):In.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function jn(e){if(!self.document||!self.document.head)return null;if(self.location&&zn.test(self.location.origin))return null;const t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var Ln,$n=In.thirdPartyUrl||"https://3p.ampproject.net",Nn=In.thirdPartyFrameHost||"ampproject.net";function Fn(e){return`${$n}/2110212204000/vendor/${e}.mjs`}function Un(e){let t;if(e.crypto&&e.crypto.getRandomValues){const n=new Uint32Array(2);e.crypto.getRandomValues(n),t=String(n[0])+n[1]}else t=String(e.Math.random()).substr(2)+"0";return t}In.cdnUrl||jn("runtime-host"),In.errorReportingUrl,In.betaErrorReportingUrl,In.localDev,In.geoApiUrl||jn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var Hn=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],Wn={},qn="sync-xhr 'none'",Bn=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),Dn=yr((function(t,n){let{allow:r=qn,excludeSandbox:o,name:a,messageHandler:l,options:s,sandbox:c=Bn,src:u,type:f,title:d=f}=t,m=i(t,Hn);if(p=r,"number"!=typeof b&&(b=0),b+(y=qn).length>p.length||-1===p.indexOf(y,b))throw new Error(`'allow' prop must contain "${qn}". Found "${r}".`);var p,y,b;const v=ir(null),g=ir(null),w=ur((()=>(Wn[f]||(Wn[f]=function(){let e=0;return()=>String(++e)}()),Wn[f]())),[f]),[h,S]=lr({name:a,src:u}),{name:O,src:j}=h,x=ir(null);return cr((()=>{var e,t;const n=null===(e=v.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,r=null!=u?u:n?((o=n).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Un(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Nn}/2110212204000/frame.html`):"about:blank";var o;if(a)return void S({name:a,src:r});if(!n)return;x.current||(x.current=function(e){let t=0;for(let n=e;n&&n!=n.parent;n=n.parent)t++;return String(t)+"-"+Un(e)}(n));const l=Object.assign(_t({"location":{"href":n.location.href},"sentinel":x.current})),i=Object.assign(_t({"title":d,"type":f,"_context":l}),s);var c;S({name:JSON.stringify(_t({"host":(c=r,Ln||(Ln=self.document.createElement("a")),function(e,t,n){return e.href="",new URL(t,e.href)}(Ln,c)).hostname,"bootstrap":Fn(f),"type":f,"count":w,"attributes":i})),src:r})}),[w,a,s,u,d,f]),sr((()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[O]),dr(n,(()=>({get readyState(){var e;return null===(e=g.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=g.current)||void 0===e?void 0:e.node}})),[]),ar(Mn,e({allow:r,contentRef:v,messageHandler:l,name:O,ref:g,ready:!!O,sandbox:o?void 0:c,src:j,title:d},m))}));Dn.displayName="ProxyIframeEmbed";var Zn=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],Gn=()=>!0,Jn="Facebook comments",Qn=yr((function(t,n){let{action:r,colorscheme:o,embedAs:a,hideCover:l,hideCta:s,href:c,includeCommentParent:u,kdSite:f,layout:d,locale:m,numPosts:p,onLoad:y,orderBy:b,refLabel:v,requestResize:g,share:w,showFacepile:h,showText:S,size:O,smallHeader:j,style:x,tabs:C,title:z=Jn}=t,A=i(t,Zn);const[$,k]=lr(null),E=nn(y),F=fr((e=>{var t;const n=null!==(t=sn(e.data))&&void 0!==t?t:function(e){if(!function(e){return"string"==typeof e&&e.startsWith("amp-")&&-1!=e.indexOf("{")}(e))return null;const t=hn(e).indexOf("{");return sn(hn(e).substr(t),(t=>{!function(e){const t=xn.apply(null,arguments);setTimeout((()=>{throw Tn(t),t}))}(new Error(`MESSAGING: Failed to parse message: ${e}\n${t.message}`))}))}(e.data);var r;if("ready"==n.action&&(null===(r=E.current)||void 0===r||r.call(E)),"embed-size"==n.type){const e=n.height;g?(g(e),k("100%")):k(e)}}),[g,E]),[P,R]=lr(m);cr((()=>{var e,t;if(m)return void R(m);const r=null==n||null===(e=n.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;r&&R(r.navigator.language.replace("-","_"))}),[m,n]);const H=ur((()=>({action:r,colorscheme:o,embedAs:a,hideCover:l,hideCta:s,href:c,includeCommentParent:u,"kd_site":f,layout:d,locale:P,numPosts:p,orderBy:b,ref:v,share:w,showFacepile:h,showText:S,size:O,smallHeader:j,tabs:C})),[r,o,a,l,s,c,u,f,d,P,p,b,v,w,h,S,O,j,C]);return ar(Dn,e(e({options:H,ref:n,title:z},A),{},{excludeSandbox:!0,matchesMessagingOrigin:Gn,messageHandler:F,type:"facebook",style:$?e(e({},x),{},{height:$}):x}))}));Qn.displayName="BentoFacebook";export{Qn as BentoFacebook}; | ||
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(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 n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}import{cloneElement as o,createContext as a,createElement as l,createRef as i}from"react";import{hydrate as s,render as c}from"react-dom";import{useCallback as u,useContext as f,useEffect as d,useImperativeHandle as m,useLayoutEffect as p,useMemo as y,useRef as b,useState as v}from"react";function g(e,t,n){return l.apply(void 0,arguments)}function w(e){return v(e)}function h(e){return b(e)}function S(e,t){d(e,t)}function O(e,t){p(e,t)}function j(e,t){return y(e,t)}function x(e,t){return u(e,t)}function C(e,t,n){return m(e,t,n)}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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{hasOwnProperty:$,toString:k}=Object.prototype;function E(e){return e||{}}import{Children as F,createPortal as P,forwardRef as R}from"react";function H(e){return R(e)}var N=["auto","lazy","eager","unload"],M={auto:0,lazy:1,eager:2,unload:3},I=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],L=[null,"paint","layout","content","size","size paint","size layout","strict"],T={"position":"relative","width":"100%","height":"100%"},B=H((function(e,t){let{as:o="div",children:a,"class":l,contentAs:i="div",contentClassName:s,contentProps:c,contentRef:u,contentStyle:f,layout:d=!1,paint:m=!1,size:p=!1,"style":y,wrapperClassName:b,wrapperStyle:v}=e;const w=(p?4:0)+(d?2:0)+(m?1:0);return g(o,n(n({},r(e,I)),{},{ref:t,class:`${l||""} ${b||""}`.trim()||null,style:n(n(n({},y),v),{},{contain:L[w]})}),g(i,n(n({},c),{},{ref:u,class:s,style:n(n({},p&&T),{},{"overflow":m?"hidden":"visible"},f)}),a))})),_=["as","children","class","style","wrapperClassName","wrapperStyle"];function U(e){const t=h(null);return t.current=e,t}H((function(e,t){let{as:o="div",children:a,"class":l,"style":i,wrapperClassName:s,wrapperStyle:c}=e;return g(o,n(n({},r(e,_)),{},{ref:t,class:`${l||""} ${s||""}`.trim()||null,style:n(n({},i),c)}),a)}));var q,{isArray:G}=Array;function J(e,t){try{return function(e){return JSON.parse(e)}(e)}catch(e){return null==t||t(e),null}}function V(e,t){return e}function W(){const e=q||(q=a({renderable:!0,playable:!0,loading:"auto"},void 0));return f(e)}new WeakMap,new WeakMap;var Z=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],D=()=>!1,K=H((function(e,t){let{allow:o,allowFullScreen:a,iframeStyle:l,name:i,title:s,matchesMessagingOrigin:c=D,messageHandler:u,ready:f=!0,loading:d,onReadyState:m,sandbox:p,src:y}=e,b=r(e,Z);const{playable:v}=W(),w=function(e){const{loading:t}=W();return function(e,t){const n=M[e]||0,r=M[t]||0,o=Math.max(n,r);return N[o]}(e,t)}(d),j="unload"!==w,z=h(!1),A=U(m),$=x((e=>{if(e!==z.current){z.current=e;const t=A.current;null==t||t(e?"complete":"loading")}}),[A]),k=h(null);return C(t,(()=>({get readyState(){return z.current?"complete":"loading"},get node(){return k.current}})),[]),O((()=>{j||$(!1)}),[j,$]),S((()=>{const e=k.current;if(!v&&e){const{src:t}=e;(e=>e&&"about:blank"!=e&&!e.includes("#"))(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[v]),O((()=>{const e=k.current;if(!e||!j)return;const t=e=>{const t=k.current;t&&e.source==t.contentWindow&&c(e.origin)&&u(e)},{defaultView:n}=e.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[c,u,j,f]),g(B,n(n({},b),{},{layout:!0,size:!0,paint:!0}),j&&f&&g("iframe",{allow:o,allowFullScreen:a,frameborder:"0",loading:w,name:i,onLoad:()=>$(!0),part:"iframe",ref:k,sandbox:p,scrolling:"no",src:y,style:n(n({},l),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:s}))}));function Q(e){const t=Object.getOwnPropertyDescriptor(e,"message");if(null!=t&&t.writable)return e;const{message:n,stack:r}=e,o=new Error(n);for(const t in e)o[t]=e[t];return o.stack=r,o}function X(e){let t=null,n="";for(var r,o=A(arguments,!0);!(r=o()).done;){const e=r.value;e instanceof Error&&!t?t=Q(e):(n&&(n+=" "),n+=e)}return t?n&&(t.message=n+": "+t.message):t=new Error(n),t}function Y(e){var t,n;null===(t=(n=self).__AMP_REPORT_ERROR)||void 0===t||t.call(n,e)}K.displayName="IframeEmbed";var ee=self.AMP_CONFIG||{},te=("string"==typeof ee.thirdPartyFrameRegex?new RegExp(ee.thirdPartyFrameRegex):ee.thirdPartyFrameRegex,("string"==typeof ee.cdnProxyRegex?new RegExp(ee.cdnProxyRegex):ee.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function ne(e){if(!self.document||!self.document.head)return null;if(self.location&&te.test(self.location.origin))return null;const t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var re,oe=ee.thirdPartyUrl||"https://3p.ampproject.net",ae=ee.thirdPartyFrameHost||"ampproject.net";function le(e){return`${oe}/2110260219000/vendor/${e}.mjs`}function ie(e){let t;if(e.crypto&&e.crypto.getRandomValues){const n=new Uint32Array(2);e.crypto.getRandomValues(n),t=String(n[0])+n[1]}else t=String(e.Math.random()).substr(2)+"0";return t}ee.cdnUrl||ne("runtime-host"),ee.errorReportingUrl,ee.betaErrorReportingUrl,ee.localDev,ee.geoApiUrl||ne("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var se=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],ce={},ue="sync-xhr 'none'",fe=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),de=H((function(e,t){let{allow:o=ue,excludeSandbox:a,name:l,messageHandler:i,options:s,sandbox:c=fe,src:u,type:f,title:d=f}=e,m=r(e,se);if(p=o,"number"!=typeof b&&(b=0),b+(y=ue).length>p.length||-1===p.indexOf(y,b))throw new Error(`'allow' prop must contain "${ue}". Found "${o}".`);var p,y,b;const v=h(null),x=h(null),z=j((()=>(ce[f]||(ce[f]=function(){let e=0;return()=>String(++e)}()),ce[f]())),[f]),[A,$]=w({name:l,src:u}),{name:k,src:F}=A,P=h(null);return O((()=>{var e,t;const n=null===(e=v.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,r=null!=u?u:n?((o=n).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+ie(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${ae}/2110260219000/frame.html`):"about:blank";var o;if(l)return void $({name:l,src:r});if(!n)return;P.current||(P.current=function(e){let t=0;for(let n=e;n&&n!=n.parent;n=n.parent)t++;return String(t)+"-"+ie(e)}(n));const a=Object.assign(E({"location":{"href":n.location.href},"sentinel":P.current})),i=Object.assign(E({"title":d,"type":f,"_context":a}),s);var c;$({name:JSON.stringify(E({"host":(c=r,re||(re=self.document.createElement("a")),function(e,t,n){return e.href="",new URL(t,e.href)}(re,c)).hostname,"bootstrap":le(f),"type":f,"count":z,"attributes":i})),src:r})}),[z,l,s,u,d,f]),S((()=>{var e;const t=null===(e=x.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[k]),C(t,(()=>({get readyState(){var e;return null===(e=x.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=x.current)||void 0===e?void 0:e.node}})),[]),g(K,n({allow:o,contentRef:v,messageHandler:i,name:k,ref:x,ready:!!k,sandbox:a?void 0:c,src:F,title:d},m))}));de.displayName="ProxyIframeEmbed";var me=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],pe=()=>!0,ye="Facebook comments",be=H((function(e,t){let{action:o,colorscheme:a,embedAs:l,hideCover:i,hideCta:s,href:c,includeCommentParent:u,kdSite:f,layout:d,locale:m,numPosts:p,onLoad:y,orderBy:b,refLabel:v,requestResize:h,share:S,showFacepile:C,showText:z,size:A,smallHeader:$,style:k,tabs:E,title:F=ye}=e,P=r(e,me);const[R,H]=w(null),N=U(y),M=x((e=>{var t;const n=null!==(t=J(e.data))&&void 0!==t?t:function(e){if(!function(e){return"string"==typeof e&&e.startsWith("amp-")&&-1!=e.indexOf("{")}(e))return null;const t=V(e).indexOf("{");return J(V(e).substr(t),(t=>{!function(e){const t=X.apply(null,arguments);setTimeout((()=>{throw Y(t),t}))}(new Error(`MESSAGING: Failed to parse message: ${e}\n${t.message}`))}))}(e.data);var r;if("ready"==n.action&&(null===(r=N.current)||void 0===r||r.call(N)),"embed-size"==n.type){const e=n.height;h?(h(e),H("100%")):H(e)}}),[h,N]),[I,L]=w(m);O((()=>{var e,n;if(m)return void L(m);const r=null==t||null===(e=t.current)||void 0===e||null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView;r&&L(r.navigator.language.replace("-","_"))}),[m,t]);const T=j((()=>({action:o,colorscheme:a,embedAs:l,hideCover:i,hideCta:s,href:c,includeCommentParent:u,"kd_site":f,layout:d,locale:I,numPosts:p,orderBy:b,ref:v,share:S,showFacepile:C,showText:z,size:A,smallHeader:$,tabs:E})),[o,a,l,i,s,c,u,f,d,I,p,b,v,S,C,z,A,$,E]);return g(de,n(n({options:T,ref:t,title:F},P),{},{excludeSandbox:!0,matchesMessagingOrigin:pe,messageHandler:M,type:"facebook",style:R?n(n({},k),{},{height:R}):k}))}));be.displayName="BentoFacebook";export{be as BentoFacebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -1,2 +0,2 @@ | ||
function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function e(e){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(t,n){if(null==t)return{};var e,i,o={},r=Object.keys(t);for(i=0;i<r.length;i++)e=r[i],n.indexOf(e)>=0||(o[e]=t[e]);return o}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function r(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return o(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}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 l;function s(){return l||(l=Promise.resolve(void 0))}var u,a,c,f,h,d,v,p,m,b,y=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},g={},w=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function A(t,n){for(var e in n)t[e]=n[e];return t}function k(t){var n=t.parentNode;n&&n.removeChild(t)}function P(t,n,e){var i,o,r,l={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:l[r]=n[r];if(arguments.length>2&&(l.children=arguments.length>3?u.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===l[r]&&(l[r]=t.defaultProps[r]);return S(t,l,i,o,null)}function S(t,n,e,i,o){var r={type:t,props:n,key:e,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++c:o};return null!=a.vnode&&a.vnode(r),r}function R(t){return t.children}function M(t,n){this.props=t,this.context=n}function E(t,n){if(null==n)return t.__?E(t.__,t.__.__k.indexOf(t)+1):null;for(var e;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof t.type?E(t):null}function x(t){var n,e;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e){t.__e=t.__c.base=e.__e;break}return x(t)}}function T(t){(!t.__d&&(t.__d=!0)&&f.push(t)&&!C.__r++||d!==a.debounceRendering)&&((d=a.debounceRendering)||h)(C)}function C(){for(var t;C.__r=f.length;)t=f.sort((function(t,n){return t.__v.__b-n.__v.__b})),f=[],t.some((function(t){var n,e,i,o,r,l;t.__d&&(r=(o=(n=t).__v).__e,(l=n.__P)&&(e=[],(i=A({},o)).__v=o.__v+1,F(l,o,i,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,e,null==r?E(o):r,o.__h),U(e,o),o.__e!=r&&x(o)))}))}function O(t,n,e,i,o,r,l,s,u,a){var c,f,h,d,v,p,m,b=i&&i.__k||w,y=b.length;for(e.__k=[],c=0;c<n.length;c++)if(null!=(d=e.__k[c]=null==(d=n[c])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?S(null,d,null,null,d):Array.isArray(d)?S(R,{children:d},null,null,null):d.__b>0?S(d.type,d.props,d.key,null,d.__v):d)){if(d.__=e,d.__b=e.__b+1,null===(h=b[c])||h&&d.key==h.key&&d.type===h.type)b[c]=void 0;else for(f=0;f<y;f++){if((h=b[f])&&d.key==h.key&&d.type===h.type){b[f]=void 0;break}h=null}F(t,d,h=h||g,o,r,l,s,u,a),v=d.__e,(f=d.ref)&&h.ref!=f&&(m||(m=[]),h.ref&&m.push(h.ref,null,d),m.push(f,d.__c||v,d)),null!=v?(null==p&&(p=v),"function"==typeof d.type&&null!=d.__k&&d.__k===h.__k?d.__d=u=V(d,u,t):u=z(t,d,h,b,v,u),a||"option"!==e.type?"function"==typeof e.type&&(e.__d=u):t.value=""):u&&h.__e==u&&u.parentNode!=t&&(u=E(h))}for(e.__e=p,c=y;c--;)null!=b[c]&&("function"==typeof e.type&&null!=b[c].__e&&b[c].__e==e.__d&&(e.__d=E(i,c+1)),W(b[c],b[c]));if(m)for(c=0;c<m.length;c++)H(m[c],m[++c],m[++c])}function V(t,n,e){var i,o;for(i=0;i<t.__k.length;i++)(o=t.__k[i])&&(o.__=t,n="function"==typeof o.type?V(o,n,e):z(e,o,o,t.__k,o.__e,n));return n}function I(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){I(t,n)})):n.push(t)),n}function z(t,n,e,i,o,r){var l,s,u;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==e||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),l=null;else{for(s=r,u=0;(s=s.nextSibling)&&u<i.length;u+=2)if(s==o)break t;t.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function j(t,n,e){"-"===n[0]?t.setProperty(n,e):t[n]=null==e?"":"number"!=typeof e||_.test(n)?e:e+"px"}function L(t,n,e,i,o){var r;t:if("style"===n)if("string"==typeof e)t.style.cssText=e;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(n in i)e&&n in e||j(t.style,n,"");if(e)for(n in e)i&&e[n]===i[n]||j(t.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=e,e?i||t.addEventListener(n,r?N:$,r):t.removeEventListener(n,r?N:$,r);else if("dangerouslySetInnerHTML"!==n){if(o)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==e?"":e;break t}catch(t){}"function"==typeof e||(null!=e&&(!1!==e||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,e):t.removeAttribute(n))}}function $(t){this.l[t.type+!1](a.event?a.event(t):t)}function N(t){this.l[t.type+!0](a.event?a.event(t):t)}function F(t,n,e,i,o,r,l,s,c){var f,h,d,v,p,m,b,y,w,_,P,S=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(c=e.__h,s=n.__e=e.__e,n.__h=null,r=[s]),(f=a.__b)&&f(n);try{t:if("function"==typeof S){if(y=n.props,w=(f=S.contextType)&&i[f.__c],_=f?w?w.props.value:f.__:i,e.__c?b=(h=n.__c=e.__c).__=h.__E:("prototype"in S&&S.prototype.render?n.__c=h=new S(y,_):(n.__c=h=new M(y,_),h.constructor=S,h.render=q),w&&w.sub(h),h.props=y,h.state||(h.state={}),h.context=_,h.__n=i,d=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=S.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=A({},h.__s)),A(h.__s,S.getDerivedStateFromProps(y,h.__s))),v=h.props,p=h.state,d)null==S.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==S.getDerivedStateFromProps&&y!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(y,_),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(y,h.__s,_)||n.__v===e.__v){h.props=y,h.state=h.__s,n.__v!==e.__v&&(h.__d=!1),h.__v=n,n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(t){t&&(t.__=n)})),h.__h.length&&l.push(h);break t}null!=h.componentWillUpdate&&h.componentWillUpdate(y,h.__s,_),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,p,m)}))}h.context=_,h.props=y,h.state=h.__s,(f=a.__r)&&f(n),h.__d=!1,h.__v=n,h.__P=t,f=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(i=A(A({},i),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(v,p)),P=null!=f&&f.type===R&&null==f.key?f.props.children:f,O(t,Array.isArray(P)?P:[P],n,e,i,o,r,l,s,c),h.base=n.__e,n.__h=null,h.__h.length&&l.push(h),b&&(h.__E=h.__=null),h.__e=!1}else null==r&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=function(t,n,e,i,o,r,l,s){var a,c,f,h=e.props,d=n.props,v=n.type,p=0;if("svg"===v&&(o=!0),null!=r)for(;p<r.length;p++)if((a=r[p])&&(a===t||(v?a.localName==v:3==a.nodeType))){t=a,r[p]=null;break}if(null==t){if(null===v)return document.createTextNode(d);t=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,d.is&&d),r=null,s=!1}if(null===v)h===d||s&&t.data===d||(t.data=d);else{if(r=r&&u.call(t.childNodes),c=(h=e.props||g).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!s){if(null!=r)for(h={},p=0;p<t.attributes.length;p++)h[t.attributes[p].name]=t.attributes[p].value;(f||c)&&(f&&(c&&f.__html==c.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(t,n,e,i,o){var r;for(r in e)"children"===r||"key"===r||r in n||L(t,r,null,e[r],i);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||e[r]===n[r]||L(t,r,n[r],e[r],i)}(t,d,h,o,s),f)n.__k=[];else if(p=n.props.children,O(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==v,r,l,r?r[0]:e.__k&&E(e,0),s),null!=r)for(p=r.length;p--;)null!=r[p]&&k(r[p]);s||("value"in d&&void 0!==(p=d.value)&&(p!==t.value||"progress"===v&&!p)&&L(t,"value",p,h.value,!1),"checked"in d&&void 0!==(p=d.checked)&&p!==t.checked&&L(t,"checked",p,h.checked,!1))}return t}(e.__e,n,e,i,o,r,l,c);(f=a.diffed)&&f(n)}catch(t){n.__v=null,(c||null!=r)&&(n.__e=s,n.__h=!!c,r[r.indexOf(s)]=null),a.__e(t,n,e)}}function U(t,n){a.__c&&a.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){a.__e(t,n.__v)}}))}function H(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){a.__e(t,e)}}function W(t,n,e){var i,o;if(a.unmount&&a.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||H(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){a.__e(t,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&W(i[o],n,"function"!=typeof t.type);e||null==t.__e||k(t.__e),t.__e=t.__d=void 0}function q(t,n,e){return this.constructor(t,e)}function B(t,n,e){var i,o,r;a.__&&a.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],F(n,t=(!i&&e||n).__k=P(R,null,[t]),o||g,g,void 0!==n.ownerSVGElement,!i&&e?[e]:o?null:n.firstChild?u.call(n.childNodes):null,r,!i&&e?e:o?o.__e:n.firstChild,i),U(r,t)}function D(t,n){B(t,n,D)}u=w.slice,a={__e:function(t,n){for(var e,i,o;n=n.__;)if((e=n.__c)&&!e.__)try{if((i=e.constructor)&&null!=i.getDerivedStateFromError&&(e.setState(i.getDerivedStateFromError(t)),o=e.__d),null!=e.componentDidCatch&&(e.componentDidCatch(t),o=e.__d),o)return e.__E=e}catch(n){t=n}throw t}},c=0,M.prototype.setState=function(t,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=A({},this.state),"function"==typeof t&&(t=t(A({},e),this.props)),t&&A(e,t),null!=t&&this.__v&&(n&&this.__h.push(n),T(this))},M.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),T(this))},M.prototype.render=R,f=[],h="function"==typeof Promise?Promise.prototype.then.bind(s()):setTimeout,C.__r=0,v=0;var Z=0,G=[],J=a.__b,Q=a.__r,K=a.diffed,X=a.__c,Y=a.unmount;function tt(t,n){a.__h&&a.__h(m,t,Z||n),Z=0;var e=m.__H||(m.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function nt(t,n){var e=tt(p++,4);!a.__s&&st(e.__H,n)&&(e.__=t,e.__H=n,m.__h.push(e))}function et(t,n){var e=tt(p++,7);return st(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function it(){G.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(rt),t.__H.__h.forEach(lt),t.__H.__h=[]}catch(n){t.__H.__h=[],a.__e(n,t.__v)}})),G=[]}a.__b=function(t){m=null,J&&J(t)},a.__r=function(t){Q&&Q(t),p=0;var n=(m=t.__c).__H;n&&(n.__h.forEach(rt),n.__h.forEach(lt),n.__h=[])},a.diffed=function(t){K&&K(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==G.push(n)&&b===a.requestAnimationFrame||((b=a.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),ot&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);ot&&(n=requestAnimationFrame(e))})(it)),m=void 0},a.__c=function(t,n){n.some((function(t){try{t.__h.forEach(rt),t.__h=t.__h.filter((function(t){return!t.__||lt(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],a.__e(e,t.__v)}})),X&&X(t,n)},a.unmount=function(t){Y&&Y(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(rt)}catch(t){a.__e(t,n.__v)}};var ot="function"==typeof requestAnimationFrame;function rt(t){var n=m;"function"==typeof t.__c&&t.__c(),m=n}function lt(t){var n=m;t.__c=t.__(),m=n}function st(t,n){return!t||t.length!==n.length||n.some((function(n,e){return n!==t[e]}))}function ut(t,n){return"function"==typeof n?n(t):n}function at(t,n,e){return P.apply(void 0,arguments)}function ct(t,n,e){B(t,n,e)}function ft(t){return Z=1,n=ut,e=t,(i=tt(p++,2)).t=n,i.__c||(i.__=[ut(void 0,e),function(t){var n=i.t(i.__[0],t);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=m),i.__;var n,e,i}function ht(t){return n=t,Z=5,et((function(){return{current:n}}),[]);var n}function dt(t,n){var e,i,o;e=t,i=n,o=tt(p++,3),!a.__s&&st(o.__H,i)&&(o.__=e,o.__H=i,m.__H.__h.push(o))}function vt(t,n){nt(t,n)}function pt(t,n){return et(t,n)}function mt(t,n){return e=t,Z=8,et((function(){return e}),n);var e}function bt(t,n,e){return i=t,o=n,Z=6,void nt((function(){"function"==typeof i?i(o()):i&&(i.current=o())}),null==(r=e)?r:r.concat(i));var i,o,r}function yt(){let t=0;return()=>String(++t)}var{hasOwnProperty:gt,toString:wt}=Object.prototype;function _t(t){return t||{}}function At(t,n){return n.toUpperCase()}function kt(t){return t.replace(/-([a-z])/g,At)}function Pt(t){return t.replace("-","_")}function St(t,n){for(var e in n)t[e]=n[e];return t}function Rt(t,n){for(var e in t)if("__source"!==e&&!(e in n))return!0;for(var i in n)if("__source"!==i&&t[i]!==n[i])return!0;return!1}function Mt(t){this.props=t}(Mt.prototype=new M).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(t,n){return Rt(this.props,t)||Rt(this.state,n)};var Et=a.__b;a.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Et&&Et(t)};var xt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Tt=a.__e;a.__e=function(t,n,e){if(t.then)for(var i,o=n;o=o.__;)if((i=o.__c)&&i.__c)return null==n.__e&&(n.__e=e.__e,n.__k=e.__k),i.__c(t,n);Tt(t,n,e)};var Ct=a.unmount;function Ot(){this.__u=0,this.t=null,this.__b=null}function Vt(t){var n=t.__.__c;return n&&n.__e&&n.__e(t)}function It(){this.u=null,this.o=null}a.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&!0===t.__h&&(t.type=null),Ct&&Ct(t)},(Ot.prototype=new M).__c=function(t,n){var e=n.__c,i=this;null==i.t&&(i.t=[]),i.t.push(e);var o=Vt(i.__v),r=!1,l=function(){r||(r=!0,e.__R=null,o?o(s):s())};e.__R=l;var s=function(){if(!--i.__u){if(i.state.__e){var t=i.state.__e;i.__v.__k[0]=function t(n,e,i){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return t(n,e,i)})),n.__c&&n.__c.__P===e&&(n.__e&&i.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=i)),n}(t,t.__c.__P,t.__c.__O)}var n;for(i.setState({__e:i.__b=null});n=i.t.pop();)n.forceUpdate()}},u=!0===n.__h;i.__u++||u||i.setState({__e:i.__b=i.__v.__k[0]}),t.then(l,l)},Ot.prototype.componentWillUnmount=function(){this.t=[]},Ot.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function t(n,e,i){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),n.__c.__H=null),null!=(n=St({},n)).__c&&(n.__c.__P===i&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return t(n,e,i)}))),n}(this.__b,e,i.__O=i.__P)}this.__b=null}var o=n.__e&&P(R,null,t.fallback);return o&&(o.__h=null),[P(R,null,n.__e?null:t.children),o]};var zt=function(t,n,e){if(++e[1]===e[0]&&t.o.delete(n),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(e=t.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;t.u=e=e[2]}};(It.prototype=new M).__e=function(t){var n=this,e=Vt(n.__v),i=n.o.get(t);return i[0]++,function(o){var r=function(){n.props.revealOrder?(i.push(o),zt(n,t,i)):o()};e?e(r):r()}},It.prototype.render=function(t){this.u=null,this.o=new Map;var n=I(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&n.reverse();for(var e=n.length;e--;)this.o.set(n[e],this.u=[1,0,this.u]);return t.children},It.prototype.componentDidUpdate=It.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(n,e){zt(t,e,n)}))};var jt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Lt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$t=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};M.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(M.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var Nt=a.event;function Ft(){}function Ut(){return this.cancelBubble}function Ht(){return this.defaultPrevented}a.event=function(t){return Nt&&(t=Nt(t)),t.persist=Ft,t.isPropagationStopped=Ut,t.isDefaultPrevented=Ht,t.nativeEvent=t};var Wt={configurable:!0,get:function(){return this.class}},qt=a.vnode;a.vnode=function(t){var n=t.type,e=t.props,i=e;if("string"==typeof n){for(var o in i={},e){var r=e[o];"value"===o&&"defaultValue"in e&&null==r||("defaultValue"===o&&"value"in e&&null==e.value?o="value":"download"===o&&!0===r?r="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!$t(e.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():Lt.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===r&&(r=void 0),i[o]=r)}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=I(e.children).forEach((function(t){t.props.selected=-1!=i.value.indexOf(t.props.value)}))),"select"==n&&null!=i.defaultValue&&(i.value=I(e.children).forEach((function(t){t.props.selected=i.multiple?-1!=i.defaultValue.indexOf(t.props.value):i.defaultValue==t.props.value}))),t.props=i}n&&e.class!=e.className&&(Wt.enumerable="className"in e,null!=e.className&&(i.class=e.className),Object.defineProperty(i,"className",Wt)),t.$$typeof=jt,qt&&qt(t)};var Bt=a.__r;function Dt(t){return function(t){function n(n,e){var i=St({},n);return delete i.ref,t(i,(e=n.ref||e)&&("object"!=typeof e||"current"in e)?e:null)}return n.$$typeof=xt,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n}(t)}a.__r=function(t){Bt&&Bt(t),t.__c};var Zt=["auto","lazy","eager","unload"],Gt={auto:0,lazy:1,eager:2,unload:3};function Jt(t,n){const e=Gt[t]||0,i=Gt[n]||0,o=Math.max(e,i);return Zt[o]}var Qt=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Kt=[null,"paint","layout","content","size","size paint","size layout","strict"],Xt={"position":"relative","width":"100%","height":"100%"},Yt=Dt((function(t,n){let{as:o="div",children:r,"class":l,contentAs:s="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:v=!1,"style":p,wrapperClassName:m,wrapperStyle:b}=t;const y=(v?4:0)+(h?2:0)+(d?1:0);return at(o,e(e({},i(t,Qt)),{},{ref:n,class:`${l||""} ${m||""}`.trim()||null,style:e(e(e({},p),b),{},{contain:Kt[y]})}),at(s,e(e({},a),{},{ref:c,class:u,style:e(e({},v&&Xt),{},{"overflow":d?"hidden":"visible"},f)}),r))})),tn=["as","children","class","style","wrapperClassName","wrapperStyle"];function nn(t){const n=ht(null);return n.current=t,n}Dt((function(t,n){let{as:o="div",children:r,"class":l,"style":s,wrapperClassName:u,wrapperStyle:a}=t;return at(o,e(e({},i(t,tn)),{},{ref:n,class:`${l||""} ${u||""}`.trim()||null,style:e(e({},s),a)}),r)}));var{isArray:en}=Array;function on(t){return en(t)?t:[t]}function rn(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function ln(t,n){const e=t.indexOf(n);return-1!=e&&(t.splice(e,1),!0)}function sn(t,n){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null==n||n(t),null}}function un(t){return(t.ownerDocument||t).defaultView}function an(t){return 1==(null==t?void 0:t.nodeType)}function cn(t,n,e,i,o,r,l,s,u,a,c){return t}function fn(t,n){return t}function hn(t,n){return t}function dn(t){cn(/^[\w-]+$/.test(t))}function vn(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function pn(t,n){const e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!e&&e.call(t,n)}function mn(t,n){return dn(n),vn(t,`> [${n}]`)}function bn(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:t.nodeType===Node.ELEMENT_NODE&&(n=fn(t).tagName),!!n&&n.toLowerCase().startsWith("i-")}(i=n)||i.nodeType===Node.ELEMENT_NODE&&(fn(i),i.hasAttribute("placeholder")||i.hasAttribute("fallback")||i.hasAttribute("overflow")))&&e.push(n);var i;return e}(t)}var yn,gn={bubbles:!0,cancelable:!0};function wn(t,n,e){return function(t,n){for(const e in n)t.setAttribute(e,n[e]);return t}(t.createElement(n),e)}function _n(t,n,e,i){const o=e||{},r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:l,cancelable:s}=i||gn;r.initEvent(n,l,s),t.dispatchEvent(r)}function An(){return yn||(yn=(n={__c:t="__cC"+v++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(t,n){return t.children(n)},Provider:function(n){var e,i;return this.getChildContext||(e=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&e.some(T)},this.sub=function(t){e.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){e.splice(e.indexOf(t),1),n&&n.call(t)}}),n.children}}).Provider.__=n.Consumer.contextType=n);var t,n}function kn({children:t,loading:n="auto",notify:e,playable:i=!0,renderable:o=!0}){const r=Pn(),l=o&&r.renderable,s=l&&i&&r.playable,u=Jt(l?"auto":"lazy",Jt(n,r.loading)),a=e||r.notify,c=pt((()=>({renderable:l,playable:s,loading:u,notify:a})),[l,s,u,a]);return at(An().Provider,{children:t,value:c})}function Pn(){return t=An(),n=m.context[t.__c],(e=tt(p++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub(m)),n.props.value):t.__;var t,n,e}new WeakMap,new WeakMap;var Sn=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],Rn=()=>!1,Mn=Dt((function(t,n){let{allow:o,allowFullScreen:r,iframeStyle:l,name:s,title:u,matchesMessagingOrigin:a=Rn,messageHandler:c,ready:f=!0,loading:h,onReadyState:d,sandbox:v,src:p}=t,m=i(t,Sn);const{playable:b}=Pn(),y=function(t){const{loading:n}=Pn();return Jt(t,n)}(h),g="unload"!==y,w=ht(!1),_=nn(d),A=mt((t=>{if(t!==w.current){w.current=t;const n=_.current;null==n||n(t?"complete":"loading")}}),[_]),k=ht(null);return bt(n,(()=>({get readyState(){return w.current?"complete":"loading"},get node(){return k.current}})),[]),vt((()=>{g||A(!1)}),[g,A]),dt((()=>{const t=k.current;if(!b&&t){const{src:n}=t;(t=>t&&"about:blank"!=t&&!t.includes("#"))(n)?t.src=t.src:t.parentNode.insertBefore(t,t.nextSibling)}}),[b]),vt((()=>{const t=k.current;if(!t||!g)return;const n=t=>{const n=k.current;n&&t.source==n.contentWindow&&a(t.origin)&&c(t)},{defaultView:e}=t.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[a,c,g,f]),at(Yt,e(e({},m),{},{layout:!0,size:!0,paint:!0}),g&&f&&at("iframe",{allow:o,allowFullScreen:r,frameborder:"0",loading:y,name:s,onLoad:()=>A(!0),part:"iframe",ref:k,sandbox:v,scrolling:"no",src:p,style:e(e({},l),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:u}))}));function En(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:e,stack:i}=t,o=new Error(e);for(const n in t)o[n]=t[n];return o.stack=i,o}function xn(t){let n=null,e="";for(var i,o=r(arguments,!0);!(i=o()).done;){const t=i.value;t instanceof Error&&!n?n=En(t):(e&&(e+=" "),e+=t)}return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function Tn(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function Cn(t){const n=xn.apply(null,arguments);setTimeout((()=>{throw Tn(n),n}))}function On(t,...n){try{return t.apply(null,n)}catch(t){Cn(t)}}Mn.displayName="IframeEmbed";var Vn={"getPropertyPriority":()=>"","getPropertyValue":()=>""},In=self.AMP_CONFIG||{},zn=("string"==typeof In.thirdPartyFrameRegex?new RegExp(In.thirdPartyFrameRegex):In.thirdPartyFrameRegex,("string"==typeof In.cdnProxyRegex?new RegExp(In.cdnProxyRegex):In.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function jn(t){if(!self.document||!self.document.head)return null;if(self.location&&zn.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}var Ln,$n=In.thirdPartyUrl||"https://3p.ampproject.net",Nn=In.thirdPartyFrameHost||"ampproject.net";function Fn(t){return`${$n}/2110212204000/vendor/${t}.mjs`}function Un(t){let n;if(t.crypto&&t.crypto.getRandomValues){const e=new Uint32Array(2);t.crypto.getRandomValues(e),n=String(e[0])+e[1]}else n=String(t.Math.random()).substr(2)+"0";return n}In.cdnUrl||jn("runtime-host"),In.errorReportingUrl,In.betaErrorReportingUrl,In.localDev,In.geoApiUrl||jn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var Hn=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],Wn={},qn="sync-xhr 'none'",Bn=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),Dn=Dt((function(t,n){let{allow:o=qn,excludeSandbox:r,name:l,messageHandler:s,options:u,sandbox:a=Bn,src:c,type:f,title:h=f}=t,d=i(t,Hn);if(v=o,"number"!=typeof m&&(m=0),m+(p=qn).length>v.length||-1===v.indexOf(p,m))throw new Error(`'allow' prop must contain "${qn}". Found "${o}".`);var v,p,m;const b=ht(null),y=ht(null),g=pt((()=>(Wn[f]||(Wn[f]=yt()),Wn[f]())),[f]),[w,_]=ft({name:l,src:c}),{name:A,src:k}=w,P=ht(null);return vt((()=>{var t,n;const e=null===(t=b.current)||void 0===t||null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView,i=null!=c?c:e?((o=e).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Un(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Nn}/2110212204000/frame.html`):"about:blank";var o;if(l)return void _({name:l,src:i});if(!e)return;P.current||(P.current=function(t){let n=0;for(let e=t;e&&e!=e.parent;e=e.parent)n++;return String(n)+"-"+Un(t)}(e));const r=Object.assign(_t({"location":{"href":e.location.href},"sentinel":P.current})),s=Object.assign(_t({"title":h,"type":f,"_context":r}),u);var a;_({name:JSON.stringify(_t({"host":(a=i,Ln||(Ln=self.document.createElement("a")),function(t,n,e){return t.href="",new URL(n,t.href)}(Ln,a)).hostname,"bootstrap":Fn(f),"type":f,"count":g,"attributes":s})),src:i})}),[g,l,u,c,h,f]),dt((()=>{var t;const n=null===(t=y.current)||void 0===t?void 0:t.node;n&&n.parentNode.insertBefore(n,n.nextSibling)}),[A]),bt(n,(()=>({get readyState(){var t;return null===(t=y.current)||void 0===t?void 0:t.readyState},get node(){var t;return null===(t=y.current)||void 0===t?void 0:t.node}})),[]),at(Mn,e({allow:o,contentRef:b,messageHandler:s,name:A,ref:y,ready:!!A,sandbox:r?void 0:a,src:k,title:h},d))}));Dn.displayName="ProxyIframeEmbed";var Zn=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],Gn=()=>!0,Jn="Facebook comments",Qn=Dt((function(t,n){let{action:o,colorscheme:r,embedAs:l,hideCover:s,hideCta:u,href:a,includeCommentParent:c,kdSite:f,layout:h,locale:d,numPosts:v,onLoad:p,orderBy:m,refLabel:b,requestResize:y,share:g,showFacepile:w,showText:_,size:A,smallHeader:k,style:P,tabs:S,title:R=Jn}=t,M=i(t,Zn);const[E,x]=ft(null),T=nn(p),C=mt((t=>{var n;const e=null!==(n=sn(t.data))&&void 0!==n?n:function(t){if(!function(t){return"string"==typeof t&&t.startsWith("amp-")&&-1!=t.indexOf("{")}(t))return null;const n=hn(t).indexOf("{");return cn(-1!=n),sn(hn(t).substr(n),(n=>{Cn(new Error(`MESSAGING: Failed to parse message: ${t}\n${n.message}`))}))}(t.data);var i;if("ready"==e.action&&(null===(i=T.current)||void 0===i||i.call(T)),"embed-size"==e.type){const t=e.height;y?(y(t),x("100%")):x(t)}}),[y,T]),[O,V]=ft(d);vt((()=>{var t,e;if(d)return void V(d);const i=null==n||null===(t=n.current)||void 0===t||null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView;i&&V(Pt(i.navigator.language))}),[d,n]);const I=pt((()=>({action:o,colorscheme:r,embedAs:l,hideCover:s,hideCta:u,href:a,includeCommentParent:c,"kd_site":f,layout:h,locale:O,numPosts:v,orderBy:m,ref:b,share:g,showFacepile:w,showText:_,size:A,smallHeader:k,tabs:S})),[o,r,l,s,u,a,c,f,h,O,v,m,b,g,w,_,A,k,S]);return at(Dn,e(e({options:I,ref:n,title:R},M),{},{excludeSandbox:!0,matchesMessagingOrigin:Gn,messageHandler:C,type:"facebook",style:E?e(e({},P),{},{height:E}):P}))}));function Kn(){}function Xn(t,n=null){let e=!1;const i=()=>{e=!1,t()};return t=>{e||(e=!0,(t||n)(i))}}function Yn(t,n,e,i=!0,o=!0){if(o){const o=n(t,e,i);o&&Yn(t,n,e,o,!1)}else if(t.children)for(var l,s=r(t.children,!0);!(l=s()).done;)Yn(l.value,n,e,i,!0)}Qn.displayName="BentoFacebook",Kn.prototype.key,Kn.prototype.type,Kn.prototype.deps,Kn.prototype.recursive,Kn.prototype.compute,Kn.prototype.defaultValue;var te=[],ne=()=>{};function ee(){}function ie(){}function oe(t,n){return t.values.scan(n)}function re(t,n,e){return t.values.scanAll(e)}function le(t,n){return t.values.has(n)}function se(t){return!!t.recursive}function ue(t){return void 0!==t}ee.prototype.values,ee.prototype.setters,ie.prototype.prop,ie.prototype.subscribers,ie.prototype.value,ie.prototype.pending,ie.prototype.counter,ie.prototype.depValues,ie.prototype.parentValue,ie.prototype.parentContextNode,ie.prototype.ping,ie.prototype.pingDep,ie.prototype.pingParent;var ae=class{static get(t){let n=t.__AMP_NODE;return n||(n=new ae(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let e=t;for(;e;){if(e!=t||n){if(e.__AMP_NODE)return e.__AMP_NODE;const{nodeType:t}=e;if(9==t||11==t||1==t&&fn(e).tagName.startsWith("AMP-"))return ae.get(e)}e=e.__AMP_ASSIGNED_SLOT||e.assignedSlot||e.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,ce(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,ce(t))}static rediscoverChildren(t){var n;const e=t.__AMP_NODE;null==e||null===(n=e.children)||void 0===n||n.forEach(fe)}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.i=t,this.h=null,this.v=null,this.p=Xn(this.p.bind(this),setTimeout)}set(t,n,e){cn(n),cn(void 0!==e);const{key:i}=t,o=this.h||(this.h=new Map);let r=o.get(i);r||(r={values:[],setters:[]},o.set(i,r));const l=r.setters.indexOf(n),s=-1==l||r.values[l]!==e;-1==l?(r.setters.push(n),r.values.push(e)):s&&(r.values[l]=e),s&&(this.ping(t,!1),se(t)&&Yn(this.i,oe,t,!0,!1))}remove(t,n){cn(n);const{key:e}=t,i=this.h,o=null==i?void 0:i.get(e);if(o){const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&i.delete(e),Yn(this.i,oe,t))}}has(t){var n;return!(null===(n=this.h)||void 0===n||!n.has(t.key))}subscribe(t,n){const e=this.m(t);if(!rn(e.subscribers,n))return;const i=e.value;ue(i)&&this.g()&&n(i)}unsubscribe(t,n){var e;const i=null===(e=this.v)||void 0===e?void 0:e.get(t.key);i&&ln(i.subscribers,n)&&this._(i)}ping(t,n){var e,i;null===(e=this.v)||void 0===e||null===(i=e.get(t.key))||void 0===i||i.ping(n)}parentUpdated(){this.g()&&Yn(this.i,re,void 0,te)}rootUpdated(){const t=this.v;t&&(this.g()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;se(n)&&this.A(t,null)})))}scan(t){return this.ping(t,!0),!!se(t)&&!this.has(t)}scanAll(t){let n=null;const e=this.v;return e&&e.forEach((e=>{const{prop:i}=e,{key:o}=i;-1==(n||t).indexOf(o)&&(this.ping(i,!0),this.i.children&&this.has(i)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}g(){return!!this.i.root}m(t){const{deps:n,key:e}=t,i=this.v||(this.v=new Map);let o=i.get(e);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(ne):te,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.g()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.p()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):te,pingParent:se(t)?t=>{o.parentValue=t,o.ping()}:null},i.set(e,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}_(t){if(t.subscribers.length>0)return;const{pingDep:n,prop:e}=t,{deps:i,key:o}=e;this.v.delete(o),this.A(t,null),i.length>0&&i.forEach(((t,e)=>{this.unsubscribe(t,n[e])}))}p(){if(!this.g())return;const t=this.v;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:e}=t.prop;if(t.counter++,t.counter>5)return Cn(`cyclical prop: ${e}`),void(t.pending=0);n++,this.k(t)}}))}while(n>0)}k(t){const n=2==t.pending;let e;try{e=this.P(t,n)}catch(t){Cn(t)}t.pending=0,this.S(t,e)}S(t,n){const{prop:e,value:i}=t,{key:o}=e,l=this.v;if(i===n||t!==(null==l?void 0:l.get(o))||!this.g())return;t.value=n;const{subscribers:s}=t;for(var u,a=r(s,!0);!(u=a()).done;)(0,u.value)(n)}P(t,n){var e,i;cn(this.g());const{depValues:o,prop:r}=t,{compute:l,defaultValue:s,key:u}=r,a=null===(e=this.h)||void 0===e||null===(i=e.get(u))||void 0===i?void 0:i.values,c=function(t,n){const{compute:e,recursive:i}=t;return"function"==typeof i?!n||i(n):!(i&&n&&!e)&&i}(r,a);if(n||c!=Boolean(t.parentContextNode)){const n=c?function(t,n,e,i=!0){for(let o=i?t:t.parent;o;o=o.parent)if(n(o,e))return o;return null}(this.i,le,r,!1):null;this.A(t,n)}const f=ue(t.parentValue)?t.parentValue:c&&!t.parentContextNode?s:void 0;let h;if(o.every(ue)&&(!c||ue(f))){const{node:t}=this.i;a&&!l?h=a[0]:se(r)?a||o.length>0?h=function(t,n,e,i,o){switch(o.length){case 0:return t(n,e,i);case 1:return t(n,e,i,o[0]);case 2:return t(n,e,i,o[0],o[1]);case 3:return t(n,e,i,o[0],o[1],o[2]);default:return t.apply(null,[n,e,i].concat(o))}}(l,t,a||te,f,o):ue(f)&&(h=f):l&&(h=function(t,n,e,i){switch(i.length){case 0:return t(n,e);case 1:return t(n,e,i[0]);case 2:return t(n,e,i[0],i[1]);case 3:return t(n,e,i[0],i[1],i[2]);default:return t.apply(null,[n,e].concat(i))}}(l,t,a||te,o))}return h}A(t,n){const{parentContextNode:e,pingParent:i,prop:o}=t;n!=e&&(t.parentContextNode=n,t.parentValue=void 0,e&&e.values.unsubscribe(o,cn(i)),n&&n.values.subscribe(o,cn(i)))}}(this),this.R=null,this.M=!1,this.T=Xn(this.C.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,e;const i=t.target;i.assignedNodes().forEach(ce),null===(n=ae.closest(i))||void 0===n||null===(e=n.children)||void 0===e||e.forEach(fe)})),this.discover()}discover(){this.isDiscoverable()?this.T():this.name&&this.children&&this.children.forEach(fe)}isDiscoverable(){return!this.isRoot&&!this.M}setParent(t){const n=null!=t&&t.nodeType?ae.get(t):t;this.O(n,null!=t)}setIsRoot(t){var n,e;this.isRoot=t;const i=t?this:null!==(n=null===(e=this.parent)||void 0===e?void 0:e.root)&&void 0!==n?n:null;this.updateRoot(i)}updateRoot(t){cn(!t||t.isRoot);const n=this.root;var e,i;t!=n&&(this.root=t,this.values.rootUpdated(),null===(e=this.R)||void 0===e||e.forEach((t=>t.rootUpdated())),null===(i=this.children)||void 0===i||i.forEach((n=>n.updateRoot(t))))}addGroup(t,n,e){const i=this.groups||(this.groups=new Map),{children:o,node:r}=this,l=new ae(r,t);return i.set(t,{cn:l,match:n,weight:e}),l.setParent(this),null==o||o.forEach(fe),l}group(t){var n,e;return(null===(n=this.groups)||void 0===n||null===(e=n.get(t))||void 0===e?void 0:e.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let e=null,i=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:o,weight:r})=>{o(t,this.node)&&r>i&&(e=n,i=r)})),e}subscribe(t,n,e,i){const o=this.R||(this.R=new Map);let r=o.get(t);r||(r=new n(this,e,i),o.set(t,r))}unsubscribe(t){const n=this.R,e=null==n?void 0:n.get(t);e&&(e.dispose(),n.delete(t))}C(){if(!this.isDiscoverable())return;const t=ae.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.O(n,!1)}O(t,n){var e;this.M=n;const i=this.parent;if(t!=i){if(this.parent=t,null!=i&&i.children&&ln(cn(i.children),this),t){const n=t.children||(t.children=[]);rn(n,this);for(var o,l=r(n,!0);!(o=l()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function ce(t){!function(t,n,e=!0){const i=ae.closest(t,e);if(i)if(i.node==t)n(i);else if(i.children)for(var o,l=r(i.children,!0);!(o=l()).done;){const e=o.value;t.contains(e.node)&&n(e)}}(t,fe)}function fe(t){t.discover()}var he=[];function de(t,n){const i=e({key:t,type:null,deps:he,recursive:!1,compute:null,defaultValue:void 0},n);return cn(0==i.deps.length||i.compute),i}var ve=[],pe=()=>{};function me(t,n,e){n=on(n);const i=e;ae.get(t).subscribe(i,be,e,n)}var be=class{constructor(t,n,e){if(this.contextNode=t,this.V=n,this.I=e,this.j=e.length>0?e.map(pe):ve,this.L=e.length>0?e.map(((t,n)=>t=>{this.j[n]=t,this.$()})):ve,this.N=!1,this.F=null,this.$=Xn(this.$.bind(this),setTimeout),e.length>0){const{values:t}=this.contextNode;e.forEach(((n,e)=>t.subscribe(n,this.L[e])))}this.g()&&this.$()}dispose(){if(this.I.length>0){const{values:t}=this.contextNode;this.I.forEach(((n,e)=>t.unsubscribe(n,this.L[e])))}this.U()}rootUpdated(){const t=this.g();this.U(),t&&this.$()}g(){return!!this.contextNode.root}$(){this.g()&&(this.j.every(ye)?(this.N=!0,this.H()):this.N&&(this.N=!1,this.U()))}H(){this.F&&(On(this.F),this.F=null);const t=this.V;this.F=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.j)}U(){this.F&&(On(this.F),this.F=null)}};function ye(t){return void 0!==t}function ge(t){ae.get(t).discover()}function we(t,n,e,i){ae.get(t).values.set(n,e,i)}function _e(t,n,e){ae.get(t).values.remove(n,e)}function Ae(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function ke(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let e,i,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const e=n.charAt(o);if("("==e?t--:")"==e&&t++,0==t)break}const e=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=e)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(e=n.substring(0,o+1).trim(),i=n.substring(o+1).trim()):(i=n,e=void 0),i?{query:e?t.matchMedia(e):null,value:i}:null})).filter(Boolean)}function Pe(t,n,e){for(let i=0;i<t.length;i++){const{query:o}=t[i];o&&(void 0!==o.onchange?o.onchange=e?n:null:e?o.addListener(n):o.removeListener(n))}}var Se,Re=/vertical/,Me=new WeakMap,Ee=new WeakMap,xe=new WeakMap;function Te(t){let n=Me.get(t);return n||(n=new t.ResizeObserver(Ce),Me.set(t,n)),n}function Ce(t){const n=new Set;for(let e=t.length-1;e>=0;e--){const i=t[e],{target:o}=i;if(n.has(o))continue;n.add(o);const r=Ee.get(o);if(r){xe.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];Oe(e,n,i)}}}}function Oe(t,n,e){if(0==t){const{contentRect:t}=e,{height:i,width:o}=t;On(n,{width:o,height:i})}else if(1==t){const{borderBoxSize:t}=e;let i;if(t)i=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=e,n=un(t),o=Re.test(function(t,n){return t.getComputedStyle(n)||Vn}(n,t)["writing-mode"]),{offsetHeight:r,offsetWidth:l}=t;let s,u;o?(u=l,s=r):(s=l,u=r),i={inlineSize:s,blockSize:u}}On(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)Se=AMP.BaseElement;else{const t=HTMLElement;class n{constructor(t){this.element=t,this.win=un(t)}static"CustomElement"(n){return class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){s().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Se=n}var Ve=de("CanRender",{defaultValue:!0,recursive:t=>t.reduce(je),compute:(t,n,e)=>e&&n.reduce(je,!0)||!1}),Ie=de("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(je),deps:[Ve],compute:(t,n,e,i)=>i&&e&&n.reduce(je,!0)||!1}),ze=de("Loading",{defaultValue:"auto",recursive:!0,deps:[Ve],compute:(t,n,e,i)=>Jt(i?"auto":"lazy",Jt(e||"auto",n.reduce(Jt,"auto")))}),je=(t,n)=>t&&n;function Le(t){return t?"number"==typeof t?t:"string"==typeof t?function(t){if(!t)return null;if("now"===t.toLowerCase())return Date.now();const n=Date.parse(t);return isNaN(n)?null:n}(t):(t=t).getTime():null}var $e=t=>t.ensureLoaded(),Ne=t=>t.pause(),Fe=t=>t.unmount();function Ue(t,n=!0){qe(t,n,!1,$e)}function He(t,n=!0){qe(t,n,!0,Ne)}function We(t,n=!0){qe(t,n,!0,Fe)}function qe(t,n,e,i){const o=on(t);for(let t=0;t<o.length;t++)Be(o[t],n,e,i)}function Be(t,n,e,i){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(On(i,n),!e){const t=n.getPlaceholder();return void(t&&Be(t,!0,!1,i))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(e)On(i,n);else{r=r||[];let t=!1;for(let e=0;e<r.length;e++)if(r[e].contains(n)){t=!0;break}t||(r.push(n),On(i,n))}}}var De={},Ze=new WeakMap;function Ge(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return at(Je,e(e({},i||De),{},{name:n}));const r=Ze.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const e in t)if(t[e]!==n[e])return!1;for(const e in n)if(n[e]!==t[e])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return at(Je,e(e({},i||De),{},{name:n},t))}return Ze.set(t,{oldProps:i,component:l}),l}function Je(t){const n=ht(null);return function(t,n){const{"loading":e}=n||De,i=Pn();vt((()=>{const n=t.current;return cn(an(n)),we(n,Ve,Je,i.renderable),we(n,Ie,Je,i.playable),we(n,ze,Je,i.loading),i.playable||Qe(n,He,!0),()=>{var t;_e(n,Ve,Je),_e(n,Ie,Je),_e(n,ze,Je),t=n,ae.rediscoverChildren(t)}}),[t,i]),vt((()=>{const n=t.current;return cn(an(n)),"lazy"!=e&&Qe(n,Ue,!0),()=>{Qe(n,We,!1)}}),[t,e])}(n,t),dt((()=>{t.postRender&&t.postRender()})),at("slot",e(e({},t),{},{ref:n}))}function Qe(t,n,e){const i=t.assignedElements?t.assignedElements():t;if(Array.isArray(i)&&0==i.length)return;if(!e)return void n(i);const o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(i)))}var Ke={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Xe=yt(),Ye=t=>"string"==typeof t||!!t.selector,ti=t=>3===t.nodeType&&0===t.nodeValue.trim().length;function ni(t,n,i,o,r){const{"layoutSizeDefined":l,"lightDomTag":s,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return s&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=s),l&&(t.usesShadowDom?a.style=Ke:a.class="i-amphtml-fill-content"),ei(t,a,u,n,r),r&&r.complete(),a}function ei(t,n,e,i,o){if(function(t,n){return Object.values(t).some(n)}(e,Ye)){const r=bn(i);for(let i=0;i<r.length;i++){const l=r[i],s=oi(l,e);if(!s)continue;const u=e[s],{as:a=!1,single:c,name:f=s,clone:h,props:d={}}=u;cn(h||t.usesShadowDom);const v={};if(ei(t,v,d,l,o),c)n[f]=Ge(l,l.getAttribute("slot")||`i-amphtml-${f}`,v,a);else{const t=n[f]||(n[f]=[]);cn(!a),t.push(h?ii(l):Ge(l,l.getAttribute("slot")||`i-amphtml-${f}-${Xe()}`,v))}}}for(const u in e){const a=e[u];let c;if(cn(!!a.attr+!!a.attrs+!!a.attrPrefix+!!a.selector+!!a.passthrough+!!a.passthroughNonEmpty<=1),a.passthrough)cn(t.usesShadowDom),c=[at(Je,{loading:"lazy"})];else if(a.passthroughNonEmpty)cn(t.usesShadowDom),c=bn(i).every(ti)?null:[at(Je,{loading:"lazy"})];else if(a.attr)c=i.getAttribute(a.attr),a.media&&null!=c&&(c=o.resolveListQuery(String(c)));else if(a.parseAttrs)cn(a.attrs),c=a.parseAttrs(i);else if(a.attrPrefix){const t={};let n=!1;const e=i.attributes;for(let i=0;i<e.length;i++){const o=e[i];l=o.name,s=a.attrPrefix,null!==l&&void 0!==s&&l.startsWith(s)&&l!==s&&(t[kt(o.name.slice(a.attrPrefix.length))]=o.value,n=!0)}n&&(c=t)}if(null==c)null!=a.default&&(n[u]=a.default);else{const t="number"==a.type?parseFloat(c):"boolean"==a.type?null==(r=c)?void 0:"false"!==r:"date"==a.type?Le(c):c;n[u]=t}}var r,l,s}function ii(t){const n={"key":t},{attributes:e,localName:i}=t,{length:o}=e;for(let t=0;t<o;t++){const{name:i,value:o}=e[t];n[i]=o}return at(i,n)}function oi(t,n){for(const e in n){const i=n[e];if(pn(t,"string"==typeof i?i:i.selector))return e}return null}var ri=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+ri,"gim"),new RegExp("(-shadowcsscontext"+ri,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var li={childList:!0},si={childList:!0,characterData:!0},ui={childList:!0},ai=_t({"style":"display: contents; background: inherit;","part":"c"}),ci=_t({"name":"i-amphtml-svc"}),fi=_t({"i-amphtml-rendered":""}),hi=()=>!0;function di(t,n){return Object.values(t).some(n)}var vi=t=>!!t.media,pi=t=>"string"==typeof t||!!t.selector,mi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),bi=class extends Se{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor(t){super(t),this.W=_t({"loading":"auto","onReadyState":(t,n)=>{this.q(t,n)},"onPlayingState":t=>{this.B(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.D={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Z=!1,this.G=null,this.J=null,this.K=t=>{null!==t&&(this.G?this.X(t):this.Y(t)),this.J=t,this.tt()},this.nt=null,this.et=null,this.it=null,this.ot=!1,this.rt=null,this.lt=()=>{this.ot=!1,this.st()},this.ut=!1,this.at=!1,this.observer=null,this.ct=new class{constructor(t){this.ft=t,this.ht=!1,this.dt=!1,this.vt=this.vt.bind(this)}updatePlaying(t){t!==this.ht&&(this.ht=t,t?(this.dt=!1,function(t,n){!function(t,n,e){const i=t.ownerDocument.defaultView;if(!i)return;let o=Ee.get(t);if(o||(o=[],Ee.set(t,o),Te(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=xe.get(t);n&&setTimeout((()=>Oe(1,e,n)))}}(t,0,n)}(this.ft,this.vt)):function(t,n){!function(t,n,e){const i=Ee.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const l=t[n];(r=l).callback===e&&1===r.type?i.push(l):(o<n&&(t[o]=l),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){Ee.delete(t),xe.delete(t);const n=t.ownerDocument.defaultView;n&&Te(n).unobserve(t)}}(t,0,n)}(this.ft,this.vt))}vt({blockSize:t,inlineSize:n}){const e=n>0&&t>0;if(e===this.dt)return;this.dt=e;const i=this.ft;e||i.pause()}}(t),this.bt=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.yt(t)));const n=t.props,i=di(n,pi)?li:null,o=di(n,mi)?si:null,r=t.usesTemplate?ui:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.bt=di(n,vi)?new class{constructor(t,n){this.gt=t,this.wt=n,this._t={},this.At=null}start(){this.At=this._t,this._t={}}resolveMatchQuery(t){return"1"===this.kt(t,Ae,"1")}resolveListQuery(t){return this.kt(t,ke,"")}complete(){for(const t in this.At)t in this._t||Pe(this.At[t],this.wt,!1);this.At=null}dispose(){for(const t in this._t)Pe(this._t[t],this.wt,!1);this._t={}}kt(t,n,e){if(!t.trim())return e;let i=this._t[t]||this.At[t];return i||(i=n(this.gt,t),Pe(i,this.wt,!0)),this._t[t]=i,function(t){for(let n=0;n<t.length;n++){const{query:e,value:i}=t[n];if(!e||e.matches)return i}return""}(i)}}(this.win,(()=>this.Pt())):null;const l=t.staticProps,s=this.init();Object.assign(this.W,l,s),this.checkPropsPostMutations(),me(this.element,[],(()=>()=>{this.at=!1,this.it&&ct(null,this.it)})),me(this.element,[Ve,Ie,ze],((t,n,e)=>{this.D.renderable=t,this.D.playable=n,this.D.loading=e,this.at=!0,this.Pt()}));const u=t.useContexts;var a;return 0!=u.length&&me(this.element,u,((...t)=>{this.et=t,this.Pt()})),this.rt=new y,this.Pt(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.tt(),this.rt.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(_t({"loading":"eager"})),this.Z=!0)}mountCallback(){ge(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Z=!1)}unmountCallback(){var t;ge(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.B(!1),null===(t=this.bt)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.it&&this.Pt()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this.W,t),this.Pt()}api(){return cn(this.J)}registerApiAction(t,n,e=2){var i;null===(i=this.registerAction)||void 0===i||i.call(this,t,(t=>n(this.api(),t)),e)}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}yt(t){const n=this.constructor;this.mutationObserverCallback(t);const e=t.some((t=>function(t,n){const{type:e}=n;if("attributes"==e){if(t.usesTemplate&&"template"==n.attributeName)return!0;const e=t.props;for(const t in e){const r=e[t];if(n.attributeName==r.attr||r.attrs&&r.attrs.includes(cn(n.attributeName))||(i=n.attributeName,o=r.attrPrefix,null!==i&&void 0!==o&&i.startsWith(o)&&i!==o))return!0}return!1}var i,o;return"childList"==e&&(gi(n.addedNodes)||gi(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Pt())}Pt(){this.ot||(this.ot=!0,this.mutateElement(this.lt))}tt(){const{J:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.q(n)}q(t,n){var e;null===(e=this.setReadyState)||void 0===e||e.call(this,t,n),this.constructor.unloadOnPause&&this.B("complete"==t),this.Z&&(this.Z=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,e;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,e,i,o;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(e=this.toggleFallback)||void 0===e||e.call(this,!0),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)):null===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}st(){if(!this.at)return;const t=this.constructor,n=t.usesShadowDom,i=n?null:t.lightDomTag,o=t.detached;if(!this.it){const e=this.win.document;if(n){cn(!o);let{shadowRoot:n}=this.element,i=n&&(d=n,dn("c"),vn(d,"> c"));if(i)this.ut=!0;else{var r,l,s,u,a,c;n=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const o=t.shadowCss;o&&function(t,n,e){const i=t.ownerDocument,o=i.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const i=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=i[n];r||(r=new o.CSSStyleSheet,r.replaceSync(e),i[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=i.createElement("style");o.setAttribute("data-name",n),o.textContent=e,t.appendChild(o)}}(n,this.element.tagName,o),i=wn(e,"c",ai),n.appendChild(i);const f=wn(e,"slot",ci);n.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(s=this.getFallback)||void 0===s||null===(u=s.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(a=this.getOverflowElement)||void 0===a||null===(c=a.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.it=i,function(t,n){ae.get(t).setParent(n)}(n,this.element),function(t,n,e,i=0){ae.get(t).addGroup(n,e,i)}(this.element,"unslotted",hi,-1),f=this.element,h=Ve,ae.get(f).group("unslotted").values.set(h,this,!1)}else if(i){this.it=this.element;const n=mn(this.it,"i-amphtml-rendered")||wn(e,i,fi);n.__AMP_RENDERED=!0,t.layoutSizeDefined&&n.classList.add("i-amphtml-fill-content"),this.it.appendChild(n)}else{const t=e.createElement("i-amphtml-c");this.it=t,t.classList.add("i-amphtml-fill-content"),o||this.element.appendChild(t)}}var f,h,d;const v=t.useContexts,p=this.et;if(0!=v.length&&null==p)return;const m=ni(t,this.element,this.K,this.W,this.bt);if(this.updatePropsForRendering(m),!this.isReady(m))return;let b=at(t.Component,m);for(let t=0;t<v.length;t++){const n=v[t].type,e=p[t];e&&(b=at(n.Provider,{value:e},b))}const y=at(kn,e({},this.D),b);if(this.ut)this.ut=!1,D(y,this.it);else{const t=i?mn(this.it,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ct(y,this.it,t)}n||o||this.mutateElement((()=>_n(this.element,"amp:dom-update",null))),this.rt&&(this.rt.resolve(),this.rt=null)}getProp(t,n){return e=this.W,i=t,gt.call(e,i)?this.W[t]:n;var e,i}getApi(){const t=this.G;return t?Promise.resolve(t):(this.nt||(this.nt=new y),this.nt.promise)}Y(t){const n=function(t){const n=Object.create(null);return n}(),e=Object.keys(t);for(let t=0;t<e.length;t++)yi(this,n,e[t]);this.G=n,this.nt&&(this.nt.resolve(n),this.nt=null)}X(t){}triggerEvent(t,n,e){_n(t,n,e)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(_t({"loading":"unload"})),this.Z=!0;else{var t;const{J:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}B(t){this.ct.updatePlaying(t)}};function yi(t,n,e){Object.defineProperty(n,e,{configurable:!0,get:()=>t.J[e],set(n){t.J[e]=n}})}function gi(t){for(let n=0;n<t.length;n++){const e=t[n];if(an(e)){if(e.__AMP_RENDERED||e.tagName.startsWith("I-")||"i-amphtml-svc"==e.getAttribute("slot"))continue;return!0}if(3==e.nodeType)return!0}return!1}bi.Component=function(){cn(!1)},bi.staticProps=void 0,bi.useContexts=[],bi.loadable=!1,bi.unloadOnPause=!1,bi.layoutSizeDefined=!1,bi.lightDomTag="",bi.usesTemplate=!1,bi.shadowCss=null,bi.usesShadowDom=!1,bi.detached=!1,bi.delegatesFocus=!1,bi.props={};var wi=class extends bi{};function _i(){{const t=document.createElement("style");t.textContent="bento-facebook,bento-facebook-comments,bento-facebook-like,bento-facebook-page{display:block;overflow:hidden;position:relative}bento-facebook-comments:not(.i-amphtml-built),bento-facebook-like:not(.i-amphtml-built),bento-facebook-page:not(.i-amphtml-built),bento-facebook:not(.i-amphtml-built){color:transparent!important}bento-facebook-comments:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook-like:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook-pagee:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]){display:none;content-visibility:hidden}\n/*# sourceURL=/extensions/amp-facebook/1.0/amp-facebook.css*/",document.head.appendChild(t)}customElements.define("bento-facebook",wi.CustomElement(wi))}wi.Component=Qn,wi.props={"title":{attr:"title"},"href":{attr:"data-href"},"locale":{attr:"data-locale",default:Pt(window.navigator.language)},"allowFullScreen":{attr:"data-allowfullscreen"},"embedAs":{attr:"data-embed-as"},"includeCommentParent":{attr:"data-include-comment-parent",type:"boolean",default:!1},"showText":{attr:"data-show-text"},"numPosts":{attr:"data-numposts"},"orderBy":{attr:"data-order-by"},"colorscheme":{attr:"data-colorscheme"},"action":{attr:"data-action"},"kdSite":{attr:"data-kd_site"},"layout":{attr:"data-layout"},"refLabel":{attr:"data-ref"},"share":{attr:"data-share"},"size":{attr:"data-size"},"hideCover":{attr:"data-hide-cover"},"hideCta":{attr:"data-hide-cta"},"showFacepile":{attr:"data-show-facepile"},"smallHeader":{attr:"data-small-header"},"tabs":{attr:"data-tabs"}},wi.layoutSizeDefined=!0,wi.usesShadowDom=!0;export{_i as defineElement}; | ||
function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function e(e){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(t,n){if(null==t)return{};var e,i,o={},r=Object.keys(t);for(i=0;i<r.length;i++)e=r[i],n.indexOf(e)>=0||(o[e]=t[e]);return o}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function r(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return o(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}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 l;function s(){return l||(l=Promise.resolve(void 0))}var u,a,c,f,h,d,v,p,m,b,y=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},g={},w=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function A(t,n){for(var e in n)t[e]=n[e];return t}function k(t){var n=t.parentNode;n&&n.removeChild(t)}function P(t,n,e){var i,o,r,l={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:l[r]=n[r];if(arguments.length>2&&(l.children=arguments.length>3?u.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===l[r]&&(l[r]=t.defaultProps[r]);return S(t,l,i,o,null)}function S(t,n,e,i,o){var r={type:t,props:n,key:e,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++c:o};return null==o&&null!=a.vnode&&a.vnode(r),r}function R(t){return t.children}function M(t,n){this.props=t,this.context=n}function E(t,n){if(null==n)return t.__?E(t.__,t.__.__k.indexOf(t)+1):null;for(var e;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof t.type?E(t):null}function x(t){var n,e;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e){t.__e=t.__c.base=e.__e;break}return x(t)}}function T(t){(!t.__d&&(t.__d=!0)&&f.push(t)&&!C.__r++||d!==a.debounceRendering)&&((d=a.debounceRendering)||h)(C)}function C(){for(var t;C.__r=f.length;)t=f.sort((function(t,n){return t.__v.__b-n.__v.__b})),f=[],t.some((function(t){var n,e,i,o,r,l;t.__d&&(r=(o=(n=t).__v).__e,(l=n.__P)&&(e=[],(i=A({},o)).__v=o.__v+1,F(l,o,i,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,e,null==r?E(o):r,o.__h),U(e,o),o.__e!=r&&x(o)))}))}function O(t,n,e,i,o,r,l,s,u,a){var c,f,h,d,v,p,m,b=i&&i.__k||w,y=b.length;for(e.__k=[],c=0;c<n.length;c++)if(null!=(d=e.__k[c]=null==(d=n[c])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?S(null,d,null,null,d):Array.isArray(d)?S(R,{children:d},null,null,null):d.__b>0?S(d.type,d.props,d.key,null,d.__v):d)){if(d.__=e,d.__b=e.__b+1,null===(h=b[c])||h&&d.key==h.key&&d.type===h.type)b[c]=void 0;else for(f=0;f<y;f++){if((h=b[f])&&d.key==h.key&&d.type===h.type){b[f]=void 0;break}h=null}F(t,d,h=h||g,o,r,l,s,u,a),v=d.__e,(f=d.ref)&&h.ref!=f&&(m||(m=[]),h.ref&&m.push(h.ref,null,d),m.push(f,d.__c||v,d)),null!=v?(null==p&&(p=v),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=V(d,u,t):u=z(t,d,h,b,v,u),"function"==typeof e.type&&(e.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=E(h))}for(e.__e=p,c=y;c--;)null!=b[c]&&("function"==typeof e.type&&null!=b[c].__e&&b[c].__e==e.__d&&(e.__d=E(i,c+1)),W(b[c],b[c]));if(m)for(c=0;c<m.length;c++)H(m[c],m[++c],m[++c])}function V(t,n,e){for(var i,o=t.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=t,n="function"==typeof i.type?V(i,n,e):z(e,i,i,o,i.__e,n));return n}function I(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){I(t,n)})):n.push(t)),n}function z(t,n,e,i,o,r){var l,s,u;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==e||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),l=null;else{for(s=r,u=0;(s=s.nextSibling)&&u<i.length;u+=2)if(s==o)break t;t.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function j(t,n,e){"-"===n[0]?t.setProperty(n,e):t[n]=null==e?"":"number"!=typeof e||_.test(n)?e:e+"px"}function L(t,n,e,i,o){var r;t:if("style"===n)if("string"==typeof e)t.style.cssText=e;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(n in i)e&&n in e||j(t.style,n,"");if(e)for(n in e)i&&e[n]===i[n]||j(t.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=e,e?i||t.addEventListener(n,r?N:$,r):t.removeEventListener(n,r?N:$,r);else if("dangerouslySetInnerHTML"!==n){if(o)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==e?"":e;break t}catch(t){}"function"==typeof e||(null!=e&&(!1!==e||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,e):t.removeAttribute(n))}}function $(t){this.l[t.type+!1](a.event?a.event(t):t)}function N(t){this.l[t.type+!0](a.event?a.event(t):t)}function F(t,n,e,i,o,r,l,s,c){var f,h,d,v,p,m,b,y,w,_,P,S=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(c=e.__h,s=n.__e=e.__e,n.__h=null,r=[s]),(f=a.__b)&&f(n);try{t:if("function"==typeof S){if(y=n.props,w=(f=S.contextType)&&i[f.__c],_=f?w?w.props.value:f.__:i,e.__c?b=(h=n.__c=e.__c).__=h.__E:("prototype"in S&&S.prototype.render?n.__c=h=new S(y,_):(n.__c=h=new M(y,_),h.constructor=S,h.render=q),w&&w.sub(h),h.props=y,h.state||(h.state={}),h.context=_,h.__n=i,d=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=S.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=A({},h.__s)),A(h.__s,S.getDerivedStateFromProps(y,h.__s))),v=h.props,p=h.state,d)null==S.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==S.getDerivedStateFromProps&&y!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(y,_),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(y,h.__s,_)||n.__v===e.__v){h.props=y,h.state=h.__s,n.__v!==e.__v&&(h.__d=!1),h.__v=n,n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(t){t&&(t.__=n)})),h.__h.length&&l.push(h);break t}null!=h.componentWillUpdate&&h.componentWillUpdate(y,h.__s,_),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,p,m)}))}h.context=_,h.props=y,h.state=h.__s,(f=a.__r)&&f(n),h.__d=!1,h.__v=n,h.__P=t,f=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(i=A(A({},i),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(v,p)),P=null!=f&&f.type===R&&null==f.key?f.props.children:f,O(t,Array.isArray(P)?P:[P],n,e,i,o,r,l,s,c),h.base=n.__e,n.__h=null,h.__h.length&&l.push(h),b&&(h.__E=h.__=null),h.__e=!1}else null==r&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=function(t,n,e,i,o,r,l,s){var a,c,f,h=e.props,d=n.props,v=n.type,p=0;if("svg"===v&&(o=!0),null!=r)for(;p<r.length;p++)if((a=r[p])&&(a===t||(v?a.localName==v:3==a.nodeType))){t=a,r[p]=null;break}if(null==t){if(null===v)return document.createTextNode(d);t=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,d.is&&d),r=null,s=!1}if(null===v)h===d||s&&t.data===d||(t.data=d);else{if(r=r&&u.call(t.childNodes),c=(h=e.props||g).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!s){if(null!=r)for(h={},p=0;p<t.attributes.length;p++)h[t.attributes[p].name]=t.attributes[p].value;(f||c)&&(f&&(c&&f.__html==c.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(t,n,e,i,o){var r;for(r in e)"children"===r||"key"===r||r in n||L(t,r,null,e[r],i);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||e[r]===n[r]||L(t,r,n[r],e[r],i)}(t,d,h,o,s),f)n.__k=[];else if(p=n.props.children,O(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==v,r,l,r?r[0]:e.__k&&E(e,0),s),null!=r)for(p=r.length;p--;)null!=r[p]&&k(r[p]);s||("value"in d&&void 0!==(p=d.value)&&(p!==t.value||"progress"===v&&!p)&&L(t,"value",p,h.value,!1),"checked"in d&&void 0!==(p=d.checked)&&p!==t.checked&&L(t,"checked",p,h.checked,!1))}return t}(e.__e,n,e,i,o,r,l,c);(f=a.diffed)&&f(n)}catch(t){n.__v=null,(c||null!=r)&&(n.__e=s,n.__h=!!c,r[r.indexOf(s)]=null),a.__e(t,n,e)}}function U(t,n){a.__c&&a.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){a.__e(t,n.__v)}}))}function H(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){a.__e(t,e)}}function W(t,n,e){var i,o;if(a.unmount&&a.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||H(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){a.__e(t,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&W(i[o],n,"function"!=typeof t.type);e||null==t.__e||k(t.__e),t.__e=t.__d=void 0}function q(t,n,e){return this.constructor(t,e)}function B(t,n,e){var i,o,r;a.__&&a.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],F(n,t=(!i&&e||n).__k=P(R,null,[t]),o||g,g,void 0!==n.ownerSVGElement,!i&&e?[e]:o?null:n.firstChild?u.call(n.childNodes):null,r,!i&&e?e:o?o.__e:n.firstChild,i),U(r,t)}function D(t,n){B(t,n,D)}u=w.slice,a={__e:function(t,n){for(var e,i,o;n=n.__;)if((e=n.__c)&&!e.__)try{if((i=e.constructor)&&null!=i.getDerivedStateFromError&&(e.setState(i.getDerivedStateFromError(t)),o=e.__d),null!=e.componentDidCatch&&(e.componentDidCatch(t),o=e.__d),o)return e.__E=e}catch(n){t=n}throw t}},c=0,M.prototype.setState=function(t,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=A({},this.state),"function"==typeof t&&(t=t(A({},e),this.props)),t&&A(e,t),null!=t&&this.__v&&(n&&this.__h.push(n),T(this))},M.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),T(this))},M.prototype.render=R,f=[],h="function"==typeof Promise?Promise.prototype.then.bind(s()):setTimeout,C.__r=0,v=0;var Z=0,G=[],J=a.__b,Q=a.__r,K=a.diffed,X=a.__c,Y=a.unmount;function tt(t,n){a.__h&&a.__h(m,t,Z||n),Z=0;var e=m.__H||(m.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function nt(t,n){var e=tt(p++,4);!a.__s&&st(e.__H,n)&&(e.__=t,e.__H=n,m.__h.push(e))}function et(t,n){var e=tt(p++,7);return st(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function it(){G.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(rt),t.__H.__h.forEach(lt),t.__H.__h=[]}catch(n){t.__H.__h=[],a.__e(n,t.__v)}})),G=[]}a.__b=function(t){m=null,J&&J(t)},a.__r=function(t){Q&&Q(t),p=0;var n=(m=t.__c).__H;n&&(n.__h.forEach(rt),n.__h.forEach(lt),n.__h=[])},a.diffed=function(t){K&&K(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==G.push(n)&&b===a.requestAnimationFrame||((b=a.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),ot&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);ot&&(n=requestAnimationFrame(e))})(it)),m=null},a.__c=function(t,n){n.some((function(t){try{t.__h.forEach(rt),t.__h=t.__h.filter((function(t){return!t.__||lt(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],a.__e(e,t.__v)}})),X&&X(t,n)},a.unmount=function(t){Y&&Y(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(rt)}catch(t){a.__e(t,n.__v)}};var ot="function"==typeof requestAnimationFrame;function rt(t){var n=m;"function"==typeof t.__c&&t.__c(),m=n}function lt(t){var n=m;t.__c=t.__(),m=n}function st(t,n){return!t||t.length!==n.length||n.some((function(n,e){return n!==t[e]}))}function ut(t,n){return"function"==typeof n?n(t):n}function at(t,n,e){return P.apply(void 0,arguments)}function ct(t,n,e){B(t,n,e)}function ft(t){return Z=1,n=ut,e=t,(i=tt(p++,2)).t=n,i.__c||(i.__=[ut(void 0,e),function(t){var n=i.t(i.__[0],t);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=m),i.__;var n,e,i}function ht(t){return n=t,Z=5,et((function(){return{current:n}}),[]);var n}function dt(t,n){var e,i,o;e=t,i=n,o=tt(p++,3),!a.__s&&st(o.__H,i)&&(o.__=e,o.__H=i,m.__H.__h.push(o))}function vt(t,n){nt(t,n)}function pt(t,n){return et(t,n)}function mt(t,n){return e=t,Z=8,et((function(){return e}),n);var e}function bt(t,n,e){return i=t,o=n,Z=6,void nt((function(){"function"==typeof i?i(o()):i&&(i.current=o())}),null==(r=e)?r:r.concat(i));var i,o,r}function yt(){let t=0;return()=>String(++t)}var{hasOwnProperty:gt,toString:wt}=Object.prototype;function _t(t){return t||{}}function At(t,n){return n.toUpperCase()}function kt(t){return t.replace(/-([a-z])/g,At)}function Pt(t){return t.replace("-","_")}function St(t,n){for(var e in n)t[e]=n[e];return t}function Rt(t,n){for(var e in t)if("__source"!==e&&!(e in n))return!0;for(var i in n)if("__source"!==i&&t[i]!==n[i])return!0;return!1}function Mt(t){this.props=t}(Mt.prototype=new M).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(t,n){return Rt(this.props,t)||Rt(this.state,n)};var Et=a.__b;a.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Et&&Et(t)};var xt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Tt=a.__e;a.__e=function(t,n,e){if(t.then)for(var i,o=n;o=o.__;)if((i=o.__c)&&i.__c)return null==n.__e&&(n.__e=e.__e,n.__k=e.__k),i.__c(t,n);Tt(t,n,e)};var Ct=a.unmount;function Ot(){this.__u=0,this.t=null,this.__b=null}function Vt(t){var n=t.__.__c;return n&&n.__e&&n.__e(t)}function It(){this.u=null,this.o=null}a.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&!0===t.__h&&(t.type=null),Ct&&Ct(t)},(Ot.prototype=new M).__c=function(t,n){var e=n.__c,i=this;null==i.t&&(i.t=[]),i.t.push(e);var o=Vt(i.__v),r=!1,l=function(){r||(r=!0,e.__R=null,o?o(s):s())};e.__R=l;var s=function(){if(!--i.__u){if(i.state.__e){var t=i.state.__e;i.__v.__k[0]=function t(n,e,i){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return t(n,e,i)})),n.__c&&n.__c.__P===e&&(n.__e&&i.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=i)),n}(t,t.__c.__P,t.__c.__O)}var n;for(i.setState({__e:i.__b=null});n=i.t.pop();)n.forceUpdate()}},u=!0===n.__h;i.__u++||u||i.setState({__e:i.__b=i.__v.__k[0]}),t.then(l,l)},Ot.prototype.componentWillUnmount=function(){this.t=[]},Ot.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function t(n,e,i){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),n.__c.__H=null),null!=(n=St({},n)).__c&&(n.__c.__P===i&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return t(n,e,i)}))),n}(this.__b,e,i.__O=i.__P)}this.__b=null}var o=n.__e&&P(R,null,t.fallback);return o&&(o.__h=null),[P(R,null,n.__e?null:t.children),o]};var zt=function(t,n,e){if(++e[1]===e[0]&&t.o.delete(n),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(e=t.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;t.u=e=e[2]}};(It.prototype=new M).__e=function(t){var n=this,e=Vt(n.__v),i=n.o.get(t);return i[0]++,function(o){var r=function(){n.props.revealOrder?(i.push(o),zt(n,t,i)):o()};e?e(r):r()}},It.prototype.render=function(t){this.u=null,this.o=new Map;var n=I(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&n.reverse();for(var e=n.length;e--;)this.o.set(n[e],this.u=[1,0,this.u]);return t.children},It.prototype.componentDidUpdate=It.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(n,e){zt(t,e,n)}))};var jt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Lt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$t="undefined"!=typeof document,Nt=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};M.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(M.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var Ft=a.event;function Ut(){}function Ht(){return this.cancelBubble}function Wt(){return this.defaultPrevented}a.event=function(t){return Ft&&(t=Ft(t)),t.persist=Ut,t.isPropagationStopped=Ht,t.isDefaultPrevented=Wt,t.nativeEvent=t};var qt={configurable:!0,get:function(){return this.class}},Bt=a.vnode;a.vnode=function(t){var n=t.type,e=t.props,i=e;if("string"==typeof n){var o=-1===n.indexOf("-");for(var r in i={},e){var l=e[r];$t&&"children"===r&&"noscript"===n||"value"===r&&"defaultValue"in e&&null==l||("defaultValue"===r&&"value"in e&&null==e.value?r="value":"download"===r&&!0===l?l="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+n)&&!Nt(e.type)?r="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(r)?r=r.toLowerCase():o&&Lt.test(r)?r=r.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===l&&(l=void 0),i[r]=l)}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=I(e.children).forEach((function(t){t.props.selected=-1!=i.value.indexOf(t.props.value)}))),"select"==n&&null!=i.defaultValue&&(i.value=I(e.children).forEach((function(t){t.props.selected=i.multiple?-1!=i.defaultValue.indexOf(t.props.value):i.defaultValue==t.props.value}))),t.props=i}n&&e.class!=e.className&&(qt.enumerable="className"in e,null!=e.className&&(i.class=e.className),Object.defineProperty(i,"className",qt)),t.$$typeof=jt,Bt&&Bt(t)};var Dt=a.__r;function Zt(t){return function(t){function n(n,e){var i=St({},n);return delete i.ref,t(i,(e=n.ref||e)&&("object"!=typeof e||"current"in e)?e:null)}return n.$$typeof=xt,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n}(t)}a.__r=function(t){Dt&&Dt(t),t.__c};var Gt=["auto","lazy","eager","unload"],Jt={auto:0,lazy:1,eager:2,unload:3};function Qt(t,n){const e=Jt[t]||0,i=Jt[n]||0,o=Math.max(e,i);return Gt[o]}var Kt=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Xt=[null,"paint","layout","content","size","size paint","size layout","strict"],Yt={"position":"relative","width":"100%","height":"100%"},tn=Zt((function(t,n){let{as:o="div",children:r,"class":l,contentAs:s="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:v=!1,"style":p,wrapperClassName:m,wrapperStyle:b}=t;const y=(v?4:0)+(h?2:0)+(d?1:0);return at(o,e(e({},i(t,Kt)),{},{ref:n,class:`${l||""} ${m||""}`.trim()||null,style:e(e(e({},p),b),{},{contain:Xt[y]})}),at(s,e(e({},a),{},{ref:c,class:u,style:e(e({},v&&Yt),{},{"overflow":d?"hidden":"visible"},f)}),r))})),nn=["as","children","class","style","wrapperClassName","wrapperStyle"];function en(t){const n=ht(null);return n.current=t,n}Zt((function(t,n){let{as:o="div",children:r,"class":l,"style":s,wrapperClassName:u,wrapperStyle:a}=t;return at(o,e(e({},i(t,nn)),{},{ref:n,class:`${l||""} ${u||""}`.trim()||null,style:e(e({},s),a)}),r)}));var{isArray:on}=Array;function rn(t){return on(t)?t:[t]}function ln(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function sn(t,n){const e=t.indexOf(n);return-1!=e&&(t.splice(e,1),!0)}function un(t,n){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null==n||n(t),null}}function an(t){return(t.ownerDocument||t).defaultView}function cn(t){return 1==(null==t?void 0:t.nodeType)}function fn(t,n,e,i,o,r,l,s,u,a,c){return t}function hn(t,n){return t}function dn(t,n){return t}function vn(t){fn(/^[\w-]+$/.test(t))}function pn(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function mn(t,n){const e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!e&&e.call(t,n)}function bn(t,n){return vn(n),pn(t,`> [${n}]`)}function yn(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:t.nodeType===Node.ELEMENT_NODE&&(n=hn(t).tagName),!!n&&n.toLowerCase().startsWith("i-")}(i=n)||i.nodeType===Node.ELEMENT_NODE&&(hn(i),i.hasAttribute("placeholder")||i.hasAttribute("fallback")||i.hasAttribute("overflow")))&&e.push(n);var i;return e}(t)}var gn,wn={bubbles:!0,cancelable:!0};function _n(t,n,e){return function(t,n){for(const e in n)t.setAttribute(e,n[e]);return t}(t.createElement(n),e)}function An(t,n,e,i){const o=e||{},r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:l,cancelable:s}=i||wn;r.initEvent(n,l,s),t.dispatchEvent(r)}function kn(){return gn||(gn=(n={__c:t="__cC"+v++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(t,n){return t.children(n)},Provider:function(n){var e,i;return this.getChildContext||(e=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&e.some(T)},this.sub=function(t){e.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){e.splice(e.indexOf(t),1),n&&n.call(t)}}),n.children}}).Provider.__=n.Consumer.contextType=n);var t,n}function Pn({children:t,loading:n="auto",notify:e,playable:i=!0,renderable:o=!0}){const r=Sn(),l=o&&r.renderable,s=l&&i&&r.playable,u=Qt(l?"auto":"lazy",Qt(n,r.loading)),a=e||r.notify,c=pt((()=>({renderable:l,playable:s,loading:u,notify:a})),[l,s,u,a]);return at(kn().Provider,{children:t,value:c})}function Sn(){return t=kn(),n=m.context[t.__c],(e=tt(p++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub(m)),n.props.value):t.__;var t,n,e}new WeakMap,new WeakMap;var Rn=["allow","allowFullScreen","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"],Mn=()=>!1,En=Zt((function(t,n){let{allow:o,allowFullScreen:r,iframeStyle:l,name:s,title:u,matchesMessagingOrigin:a=Mn,messageHandler:c,ready:f=!0,loading:h,onReadyState:d,sandbox:v,src:p}=t,m=i(t,Rn);const{playable:b}=Sn(),y=function(t){const{loading:n}=Sn();return Qt(t,n)}(h),g="unload"!==y,w=ht(!1),_=en(d),A=mt((t=>{if(t!==w.current){w.current=t;const n=_.current;null==n||n(t?"complete":"loading")}}),[_]),k=ht(null);return bt(n,(()=>({get readyState(){return w.current?"complete":"loading"},get node(){return k.current}})),[]),vt((()=>{g||A(!1)}),[g,A]),dt((()=>{const t=k.current;if(!b&&t){const{src:n}=t;(t=>t&&"about:blank"!=t&&!t.includes("#"))(n)?t.src=t.src:t.parentNode.insertBefore(t,t.nextSibling)}}),[b]),vt((()=>{const t=k.current;if(!t||!g)return;const n=t=>{const n=k.current;n&&t.source==n.contentWindow&&a(t.origin)&&c(t)},{defaultView:e}=t.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[a,c,g,f]),at(tn,e(e({},m),{},{layout:!0,size:!0,paint:!0}),g&&f&&at("iframe",{allow:o,allowFullScreen:r,frameborder:"0",loading:y,name:s,onLoad:()=>A(!0),part:"iframe",ref:k,sandbox:v,scrolling:"no",src:p,style:e(e({},l),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:u}))}));function xn(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:e,stack:i}=t,o=new Error(e);for(const n in t)o[n]=t[n];return o.stack=i,o}function Tn(t){let n=null,e="";for(var i,o=r(arguments,!0);!(i=o()).done;){const t=i.value;t instanceof Error&&!n?n=xn(t):(e&&(e+=" "),e+=t)}return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function Cn(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function On(t){const n=Tn.apply(null,arguments);setTimeout((()=>{throw Cn(n),n}))}function Vn(t,...n){try{return t.apply(null,n)}catch(t){On(t)}}En.displayName="IframeEmbed";var In={"getPropertyPriority":()=>"","getPropertyValue":()=>""},zn=self.AMP_CONFIG||{},jn=("string"==typeof zn.thirdPartyFrameRegex?new RegExp(zn.thirdPartyFrameRegex):zn.thirdPartyFrameRegex,("string"==typeof zn.cdnProxyRegex?new RegExp(zn.cdnProxyRegex):zn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Ln(t){if(!self.document||!self.document.head)return null;if(self.location&&jn.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}var $n,Nn=zn.thirdPartyUrl||"https://3p.ampproject.net",Fn=zn.thirdPartyFrameHost||"ampproject.net";function Un(t){return`${Nn}/2110260219000/vendor/${t}.mjs`}function Hn(t){let n;if(t.crypto&&t.crypto.getRandomValues){const e=new Uint32Array(2);t.crypto.getRandomValues(e),n=String(e[0])+e[1]}else n=String(t.Math.random()).substr(2)+"0";return n}zn.cdnUrl||Ln("runtime-host"),zn.errorReportingUrl,zn.betaErrorReportingUrl,zn.localDev,zn.geoApiUrl||Ln("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG,new Set(["c","v","a","ad"]);var Wn=["allow","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"],qn={},Bn="sync-xhr 'none'",Dn=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"].join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" "),Zn=Zt((function(t,n){let{allow:o=Bn,excludeSandbox:r,name:l,messageHandler:s,options:u,sandbox:a=Dn,src:c,type:f,title:h=f}=t,d=i(t,Wn);if(v=o,"number"!=typeof m&&(m=0),m+(p=Bn).length>v.length||-1===v.indexOf(p,m))throw new Error(`'allow' prop must contain "${Bn}". Found "${o}".`);var v,p,m;const b=ht(null),y=ht(null),g=pt((()=>(qn[f]||(qn[f]=yt()),qn[f]())),[f]),[w,_]=ft({name:l,src:c}),{name:A,src:k}=w,P=ht(null);return vt((()=>{var t,n;const e=null===(t=b.current)||void 0===t||null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView,i=null!=c?c:e?((o=e).__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Hn(o),"https://"+o.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Fn}/2110260219000/frame.html`):"about:blank";var o;if(l)return void _({name:l,src:i});if(!e)return;P.current||(P.current=function(t){let n=0;for(let e=t;e&&e!=e.parent;e=e.parent)n++;return String(n)+"-"+Hn(t)}(e));const r=Object.assign(_t({"location":{"href":e.location.href},"sentinel":P.current})),s=Object.assign(_t({"title":h,"type":f,"_context":r}),u);var a;_({name:JSON.stringify(_t({"host":(a=i,$n||($n=self.document.createElement("a")),function(t,n,e){return t.href="",new URL(n,t.href)}($n,a)).hostname,"bootstrap":Un(f),"type":f,"count":g,"attributes":s})),src:i})}),[g,l,u,c,h,f]),dt((()=>{var t;const n=null===(t=y.current)||void 0===t?void 0:t.node;n&&n.parentNode.insertBefore(n,n.nextSibling)}),[A]),bt(n,(()=>({get readyState(){var t;return null===(t=y.current)||void 0===t?void 0:t.readyState},get node(){var t;return null===(t=y.current)||void 0===t?void 0:t.node}})),[]),at(En,e({allow:o,contentRef:b,messageHandler:s,name:A,ref:y,ready:!!A,sandbox:r?void 0:a,src:k,title:h},d))}));Zn.displayName="ProxyIframeEmbed";var Gn=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onLoad","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"],Jn=()=>!0,Qn="Facebook comments",Kn=Zt((function(t,n){let{action:o,colorscheme:r,embedAs:l,hideCover:s,hideCta:u,href:a,includeCommentParent:c,kdSite:f,layout:h,locale:d,numPosts:v,onLoad:p,orderBy:m,refLabel:b,requestResize:y,share:g,showFacepile:w,showText:_,size:A,smallHeader:k,style:P,tabs:S,title:R=Qn}=t,M=i(t,Gn);const[E,x]=ft(null),T=en(p),C=mt((t=>{var n;const e=null!==(n=un(t.data))&&void 0!==n?n:function(t){if(!function(t){return"string"==typeof t&&t.startsWith("amp-")&&-1!=t.indexOf("{")}(t))return null;const n=dn(t).indexOf("{");return fn(-1!=n),un(dn(t).substr(n),(n=>{On(new Error(`MESSAGING: Failed to parse message: ${t}\n${n.message}`))}))}(t.data);var i;if("ready"==e.action&&(null===(i=T.current)||void 0===i||i.call(T)),"embed-size"==e.type){const t=e.height;y?(y(t),x("100%")):x(t)}}),[y,T]),[O,V]=ft(d);vt((()=>{var t,e;if(d)return void V(d);const i=null==n||null===(t=n.current)||void 0===t||null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView;i&&V(Pt(i.navigator.language))}),[d,n]);const I=pt((()=>({action:o,colorscheme:r,embedAs:l,hideCover:s,hideCta:u,href:a,includeCommentParent:c,"kd_site":f,layout:h,locale:O,numPosts:v,orderBy:m,ref:b,share:g,showFacepile:w,showText:_,size:A,smallHeader:k,tabs:S})),[o,r,l,s,u,a,c,f,h,O,v,m,b,g,w,_,A,k,S]);return at(Zn,e(e({options:I,ref:n,title:R},M),{},{excludeSandbox:!0,matchesMessagingOrigin:Jn,messageHandler:C,type:"facebook",style:E?e(e({},P),{},{height:E}):P}))}));function Xn(){}function Yn(t,n=null){let e=!1;const i=()=>{e=!1,t()};return t=>{e||(e=!0,(t||n)(i))}}function te(t,n,e,i=!0,o=!0){if(o){const o=n(t,e,i);o&&te(t,n,e,o,!1)}else if(t.children)for(var l,s=r(t.children,!0);!(l=s()).done;)te(l.value,n,e,i,!0)}Kn.displayName="BentoFacebook",Xn.prototype.key,Xn.prototype.type,Xn.prototype.deps,Xn.prototype.recursive,Xn.prototype.compute,Xn.prototype.defaultValue;var ne=[],ee=()=>{};function ie(){}function oe(){}function re(t,n){return t.values.scan(n)}function le(t,n,e){return t.values.scanAll(e)}function se(t,n){return t.values.has(n)}function ue(t){return!!t.recursive}function ae(t){return void 0!==t}ie.prototype.values,ie.prototype.setters,oe.prototype.prop,oe.prototype.subscribers,oe.prototype.value,oe.prototype.pending,oe.prototype.counter,oe.prototype.depValues,oe.prototype.parentValue,oe.prototype.parentContextNode,oe.prototype.ping,oe.prototype.pingDep,oe.prototype.pingParent;var ce=class{static get(t){let n=t.__AMP_NODE;return n||(n=new ce(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let e=t;for(;e;){if(e!=t||n){if(e.__AMP_NODE)return e.__AMP_NODE;const{nodeType:t}=e;if(9==t||11==t||1==t&&hn(e).tagName.startsWith("AMP-"))return ce.get(e)}e=e.__AMP_ASSIGNED_SLOT||e.assignedSlot||e.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,fe(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,fe(t))}static rediscoverChildren(t){var n;const e=t.__AMP_NODE;null==e||null===(n=e.children)||void 0===n||n.forEach(he)}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.i=t,this.h=null,this.v=null,this.p=Yn(this.p.bind(this),setTimeout)}set(t,n,e){fn(n),fn(void 0!==e);const{key:i}=t,o=this.h||(this.h=new Map);let r=o.get(i);r||(r={values:[],setters:[]},o.set(i,r));const l=r.setters.indexOf(n),s=-1==l||r.values[l]!==e;-1==l?(r.setters.push(n),r.values.push(e)):s&&(r.values[l]=e),s&&(this.ping(t,!1),ue(t)&&te(this.i,re,t,!0,!1))}remove(t,n){fn(n);const{key:e}=t,i=this.h,o=null==i?void 0:i.get(e);if(o){const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&i.delete(e),te(this.i,re,t))}}has(t){var n;return!(null===(n=this.h)||void 0===n||!n.has(t.key))}subscribe(t,n){const e=this.m(t);if(!ln(e.subscribers,n))return;const i=e.value;ae(i)&&this.g()&&n(i)}unsubscribe(t,n){var e;const i=null===(e=this.v)||void 0===e?void 0:e.get(t.key);i&&sn(i.subscribers,n)&&this._(i)}ping(t,n){var e,i;null===(e=this.v)||void 0===e||null===(i=e.get(t.key))||void 0===i||i.ping(n)}parentUpdated(){this.g()&&te(this.i,le,void 0,ne)}rootUpdated(){const t=this.v;t&&(this.g()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;ue(n)&&this.A(t,null)})))}scan(t){return this.ping(t,!0),!!ue(t)&&!this.has(t)}scanAll(t){let n=null;const e=this.v;return e&&e.forEach((e=>{const{prop:i}=e,{key:o}=i;-1==(n||t).indexOf(o)&&(this.ping(i,!0),this.i.children&&this.has(i)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}g(){return!!this.i.root}m(t){const{deps:n,key:e}=t,i=this.v||(this.v=new Map);let o=i.get(e);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(ee):ne,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.g()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.p()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):ne,pingParent:ue(t)?t=>{o.parentValue=t,o.ping()}:null},i.set(e,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}_(t){if(t.subscribers.length>0)return;const{pingDep:n,prop:e}=t,{deps:i,key:o}=e;this.v.delete(o),this.A(t,null),i.length>0&&i.forEach(((t,e)=>{this.unsubscribe(t,n[e])}))}p(){if(!this.g())return;const t=this.v;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:e}=t.prop;if(t.counter++,t.counter>5)return On(`cyclical prop: ${e}`),void(t.pending=0);n++,this.k(t)}}))}while(n>0)}k(t){const n=2==t.pending;let e;try{e=this.P(t,n)}catch(t){On(t)}t.pending=0,this.S(t,e)}S(t,n){const{prop:e,value:i}=t,{key:o}=e,l=this.v;if(i===n||t!==(null==l?void 0:l.get(o))||!this.g())return;t.value=n;const{subscribers:s}=t;for(var u,a=r(s,!0);!(u=a()).done;)(0,u.value)(n)}P(t,n){var e,i;fn(this.g());const{depValues:o,prop:r}=t,{compute:l,defaultValue:s,key:u}=r,a=null===(e=this.h)||void 0===e||null===(i=e.get(u))||void 0===i?void 0:i.values,c=function(t,n){const{compute:e,recursive:i}=t;return"function"==typeof i?!n||i(n):!(i&&n&&!e)&&i}(r,a);if(n||c!=Boolean(t.parentContextNode)){const n=c?function(t,n,e,i=!0){for(let o=i?t:t.parent;o;o=o.parent)if(n(o,e))return o;return null}(this.i,se,r,!1):null;this.A(t,n)}const f=ae(t.parentValue)?t.parentValue:c&&!t.parentContextNode?s:void 0;let h;if(o.every(ae)&&(!c||ae(f))){const{node:t}=this.i;a&&!l?h=a[0]:ue(r)?a||o.length>0?h=function(t,n,e,i,o){switch(o.length){case 0:return t(n,e,i);case 1:return t(n,e,i,o[0]);case 2:return t(n,e,i,o[0],o[1]);case 3:return t(n,e,i,o[0],o[1],o[2]);default:return t.apply(null,[n,e,i].concat(o))}}(l,t,a||ne,f,o):ae(f)&&(h=f):l&&(h=function(t,n,e,i){switch(i.length){case 0:return t(n,e);case 1:return t(n,e,i[0]);case 2:return t(n,e,i[0],i[1]);case 3:return t(n,e,i[0],i[1],i[2]);default:return t.apply(null,[n,e].concat(i))}}(l,t,a||ne,o))}return h}A(t,n){const{parentContextNode:e,pingParent:i,prop:o}=t;n!=e&&(t.parentContextNode=n,t.parentValue=void 0,e&&e.values.unsubscribe(o,fn(i)),n&&n.values.subscribe(o,fn(i)))}}(this),this.R=null,this.M=!1,this.T=Yn(this.C.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,e;const i=t.target;i.assignedNodes().forEach(fe),null===(n=ce.closest(i))||void 0===n||null===(e=n.children)||void 0===e||e.forEach(he)})),this.discover()}discover(){this.isDiscoverable()?this.T():this.name&&this.children&&this.children.forEach(he)}isDiscoverable(){return!this.isRoot&&!this.M}setParent(t){const n=null!=t&&t.nodeType?ce.get(t):t;this.O(n,null!=t)}setIsRoot(t){var n,e;this.isRoot=t;const i=t?this:null!==(n=null===(e=this.parent)||void 0===e?void 0:e.root)&&void 0!==n?n:null;this.updateRoot(i)}updateRoot(t){fn(!t||t.isRoot);const n=this.root;var e,i;t!=n&&(this.root=t,this.values.rootUpdated(),null===(e=this.R)||void 0===e||e.forEach((t=>t.rootUpdated())),null===(i=this.children)||void 0===i||i.forEach((n=>n.updateRoot(t))))}addGroup(t,n,e){const i=this.groups||(this.groups=new Map),{children:o,node:r}=this,l=new ce(r,t);return i.set(t,{cn:l,match:n,weight:e}),l.setParent(this),null==o||o.forEach(he),l}group(t){var n,e;return(null===(n=this.groups)||void 0===n||null===(e=n.get(t))||void 0===e?void 0:e.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let e=null,i=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:o,weight:r})=>{o(t,this.node)&&r>i&&(e=n,i=r)})),e}subscribe(t,n,e,i){const o=this.R||(this.R=new Map);let r=o.get(t);r||(r=new n(this,e,i),o.set(t,r))}unsubscribe(t){const n=this.R,e=null==n?void 0:n.get(t);e&&(e.dispose(),n.delete(t))}C(){if(!this.isDiscoverable())return;const t=ce.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.O(n,!1)}O(t,n){var e;this.M=n;const i=this.parent;if(t!=i){if(this.parent=t,null!=i&&i.children&&sn(fn(i.children),this),t){const n=t.children||(t.children=[]);ln(n,this);for(var o,l=r(n,!0);!(o=l()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function fe(t){!function(t,n,e=!0){const i=ce.closest(t,e);if(i)if(i.node==t)n(i);else if(i.children)for(var o,l=r(i.children,!0);!(o=l()).done;){const e=o.value;t.contains(e.node)&&n(e)}}(t,he)}function he(t){t.discover()}var de=[];function ve(t,n){const i=e({key:t,type:null,deps:de,recursive:!1,compute:null,defaultValue:void 0},n);return fn(0==i.deps.length||i.compute),i}var pe=[],me=()=>{};function be(t,n,e){n=rn(n);const i=e;ce.get(t).subscribe(i,ye,e,n)}var ye=class{constructor(t,n,e){if(this.contextNode=t,this.V=n,this.I=e,this.j=e.length>0?e.map(me):pe,this.L=e.length>0?e.map(((t,n)=>t=>{this.j[n]=t,this.$()})):pe,this.N=!1,this.F=null,this.$=Yn(this.$.bind(this),setTimeout),e.length>0){const{values:t}=this.contextNode;e.forEach(((n,e)=>t.subscribe(n,this.L[e])))}this.g()&&this.$()}dispose(){if(this.I.length>0){const{values:t}=this.contextNode;this.I.forEach(((n,e)=>t.unsubscribe(n,this.L[e])))}this.U()}rootUpdated(){const t=this.g();this.U(),t&&this.$()}g(){return!!this.contextNode.root}$(){this.g()&&(this.j.every(ge)?(this.N=!0,this.H()):this.N&&(this.N=!1,this.U()))}H(){this.F&&(Vn(this.F),this.F=null);const t=this.V;this.F=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.j)}U(){this.F&&(Vn(this.F),this.F=null)}};function ge(t){return void 0!==t}function we(t){ce.get(t).discover()}function _e(t,n,e,i){ce.get(t).values.set(n,e,i)}function Ae(t,n,e){ce.get(t).values.remove(n,e)}function ke(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function Pe(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let e,i,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const e=n.charAt(o);if("("==e?t--:")"==e&&t++,0==t)break}const e=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=e)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(e=n.substring(0,o+1).trim(),i=n.substring(o+1).trim()):(i=n,e=void 0),i?{query:e?t.matchMedia(e):null,value:i}:null})).filter(Boolean)}function Se(t,n,e){for(let i=0;i<t.length;i++){const{query:o}=t[i];o&&(void 0!==o.onchange?o.onchange=e?n:null:e?o.addListener(n):o.removeListener(n))}}var Re,Me=/vertical/,Ee=new WeakMap,xe=new WeakMap,Te=new WeakMap;function Ce(t){let n=Ee.get(t);return n||(n=new t.ResizeObserver(Oe),Ee.set(t,n)),n}function Oe(t){const n=new Set;for(let e=t.length-1;e>=0;e--){const i=t[e],{target:o}=i;if(n.has(o))continue;n.add(o);const r=xe.get(o);if(r){Te.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];Ve(e,n,i)}}}}function Ve(t,n,e){if(0==t){const{contentRect:t}=e,{height:i,width:o}=t;Vn(n,{width:o,height:i})}else if(1==t){const{borderBoxSize:t}=e;let i;if(t)i=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=e,n=an(t),o=Me.test(function(t,n){return t.getComputedStyle(n)||In}(n,t)["writing-mode"]),{offsetHeight:r,offsetWidth:l}=t;let s,u;o?(u=l,s=r):(s=l,u=r),i={inlineSize:s,blockSize:u}}Vn(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)Re=AMP.BaseElement;else{const t=HTMLElement;class n{constructor(t){this.element=t,this.win=an(t)}static"CustomElement"(n){return class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){s().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Re=n}var Ie=ve("CanRender",{defaultValue:!0,recursive:t=>t.reduce(Le),compute:(t,n,e)=>e&&n.reduce(Le,!0)||!1}),ze=ve("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(Le),deps:[Ie],compute:(t,n,e,i)=>i&&e&&n.reduce(Le,!0)||!1}),je=ve("Loading",{defaultValue:"auto",recursive:!0,deps:[Ie],compute:(t,n,e,i)=>Qt(i?"auto":"lazy",Qt(e||"auto",n.reduce(Qt,"auto")))}),Le=(t,n)=>t&&n;function $e(t){return t?"number"==typeof t?t:"string"==typeof t?function(t){if(!t)return null;if("now"===t.toLowerCase())return Date.now();const n=Date.parse(t);return isNaN(n)?null:n}(t):(t=t).getTime():null}var Ne=t=>t.ensureLoaded(),Fe=t=>t.pause(),Ue=t=>t.unmount();function He(t,n=!0){Be(t,n,!1,Ne)}function We(t,n=!0){Be(t,n,!0,Fe)}function qe(t,n=!0){Be(t,n,!0,Ue)}function Be(t,n,e,i){const o=rn(t);for(let t=0;t<o.length;t++)De(o[t],n,e,i)}function De(t,n,e,i){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(Vn(i,n),!e){const t=n.getPlaceholder();return void(t&&De(t,!0,!1,i))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(e)Vn(i,n);else{r=r||[];let t=!1;for(let e=0;e<r.length;e++)if(r[e].contains(n)){t=!0;break}t||(r.push(n),Vn(i,n))}}}var Ze={},Ge=new WeakMap;function Je(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return at(Qe,e(e({},i||Ze),{},{name:n}));const r=Ge.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const e in t)if(t[e]!==n[e])return!1;for(const e in n)if(n[e]!==t[e])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return at(Qe,e(e({},i||Ze),{},{name:n},t))}return Ge.set(t,{oldProps:i,component:l}),l}function Qe(t){const n=ht(null);return function(t,n){const{"loading":e}=n||Ze,i=Sn();vt((()=>{const n=t.current;return fn(cn(n)),_e(n,Ie,Qe,i.renderable),_e(n,ze,Qe,i.playable),_e(n,je,Qe,i.loading),i.playable||Ke(n,We,!0),()=>{var t;Ae(n,Ie,Qe),Ae(n,ze,Qe),Ae(n,je,Qe),t=n,ce.rediscoverChildren(t)}}),[t,i]),vt((()=>{const n=t.current;return fn(cn(n)),"lazy"!=e&&Ke(n,He,!0),()=>{Ke(n,qe,!1)}}),[t,e])}(n,t),dt((()=>{t.postRender&&t.postRender()})),at("slot",e(e({},t),{},{ref:n}))}function Ke(t,n,e){const i=t.assignedElements?t.assignedElements():t;if(Array.isArray(i)&&0==i.length)return;if(!e)return void n(i);const o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(i)))}var Xe={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Ye=yt(),ti=t=>"string"==typeof t||!!t.selector,ni=t=>3===t.nodeType&&0===t.nodeValue.trim().length;function ei(t,n,i,o,r){const{"layoutSizeDefined":l,"lightDomTag":s,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return s&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=s),l&&(t.usesShadowDom?a.style=Xe:a.class="i-amphtml-fill-content"),ii(t,a,u,n,r),r&&r.complete(),a}function ii(t,n,e,i,o){if(function(t,n){return Object.values(t).some(n)}(e,ti)){const r=yn(i);for(let i=0;i<r.length;i++){const l=r[i],s=ri(l,e);if(!s)continue;const u=e[s],{as:a=!1,single:c,name:f=s,clone:h,props:d={}}=u;fn(h||t.usesShadowDom);const v={};if(ii(t,v,d,l,o),c)n[f]=Je(l,l.getAttribute("slot")||`i-amphtml-${f}`,v,a);else{const t=n[f]||(n[f]=[]);fn(!a),t.push(h?oi(l):Je(l,l.getAttribute("slot")||`i-amphtml-${f}-${Ye()}`,v))}}}for(const u in e){const a=e[u];let c;if(fn(!!a.attr+!!a.attrs+!!a.attrPrefix+!!a.selector+!!a.passthrough+!!a.passthroughNonEmpty<=1),a.passthrough)fn(t.usesShadowDom),c=[at(Qe,{loading:"lazy"})];else if(a.passthroughNonEmpty)fn(t.usesShadowDom),c=yn(i).every(ni)?null:[at(Qe,{loading:"lazy"})];else if(a.attr)c=i.getAttribute(a.attr),a.media&&null!=c&&(c=o.resolveListQuery(String(c)));else if(a.parseAttrs)fn(a.attrs),c=a.parseAttrs(i);else if(a.attrPrefix){const t={};let n=!1;const e=i.attributes;for(let i=0;i<e.length;i++){const o=e[i];l=o.name,s=a.attrPrefix,null!==l&&void 0!==s&&l.startsWith(s)&&l!==s&&(t[kt(o.name.slice(a.attrPrefix.length))]=o.value,n=!0)}n&&(c=t)}if(null==c)null!=a.default&&(n[u]=a.default);else{const t="number"==a.type?parseFloat(c):"boolean"==a.type?null==(r=c)?void 0:"false"!==r:"date"==a.type?$e(c):c;n[u]=t}}var r,l,s}function oi(t){const n={"key":t},{attributes:e,localName:i}=t,{length:o}=e;for(let t=0;t<o;t++){const{name:i,value:o}=e[t];n[i]=o}return at(i,n)}function ri(t,n){for(const e in n){const i=n[e];if(mn(t,"string"==typeof i?i:i.selector))return e}return null}var li=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+li,"gim"),new RegExp("(-shadowcsscontext"+li,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var si={childList:!0},ui={childList:!0,characterData:!0},ai={childList:!0},ci=_t({"style":"display: contents; background: inherit;","part":"c"}),fi=_t({"name":"i-amphtml-svc"}),hi=_t({"i-amphtml-rendered":""}),di=()=>!0;function vi(t,n){return Object.values(t).some(n)}var pi=t=>!!t.media,mi=t=>"string"==typeof t||!!t.selector,bi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),yi=class extends Re{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor(t){super(t),this.W=_t({"loading":"auto","onReadyState":(t,n)=>{this.q(t,n)},"onPlayingState":t=>{this.B(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.D={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Z=!1,this.G=null,this.J=null,this.K=t=>{null!==t&&(this.G?this.X(t):this.Y(t)),this.J=t,this.tt()},this.nt=null,this.et=null,this.it=null,this.ot=!1,this.rt=null,this.lt=()=>{this.ot=!1,this.st()},this.ut=!1,this.at=!1,this.observer=null,this.ct=new class{constructor(t){this.ft=t,this.ht=!1,this.dt=!1,this.vt=this.vt.bind(this)}updatePlaying(t){t!==this.ht&&(this.ht=t,t?(this.dt=!1,function(t,n){!function(t,n,e){const i=t.ownerDocument.defaultView;if(!i)return;let o=xe.get(t);if(o||(o=[],xe.set(t,o),Ce(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=Te.get(t);n&&setTimeout((()=>Ve(1,e,n)))}}(t,0,n)}(this.ft,this.vt)):function(t,n){!function(t,n,e){const i=xe.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const l=t[n];(r=l).callback===e&&1===r.type?i.push(l):(o<n&&(t[o]=l),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){xe.delete(t),Te.delete(t);const n=t.ownerDocument.defaultView;n&&Ce(n).unobserve(t)}}(t,0,n)}(this.ft,this.vt))}vt({blockSize:t,inlineSize:n}){const e=n>0&&t>0;if(e===this.dt)return;this.dt=e;const i=this.ft;e||i.pause()}}(t),this.bt=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.yt(t)));const n=t.props,i=vi(n,mi)?si:null,o=vi(n,bi)?ui:null,r=t.usesTemplate?ai:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.bt=vi(n,pi)?new class{constructor(t,n){this.gt=t,this.wt=n,this._t={},this.At=null}start(){this.At=this._t,this._t={}}resolveMatchQuery(t){return"1"===this.kt(t,ke,"1")}resolveListQuery(t){return this.kt(t,Pe,"")}complete(){for(const t in this.At)t in this._t||Se(this.At[t],this.wt,!1);this.At=null}dispose(){for(const t in this._t)Se(this._t[t],this.wt,!1);this._t={}}kt(t,n,e){if(!t.trim())return e;let i=this._t[t]||this.At[t];return i||(i=n(this.gt,t),Se(i,this.wt,!0)),this._t[t]=i,function(t){for(let n=0;n<t.length;n++){const{query:e,value:i}=t[n];if(!e||e.matches)return i}return""}(i)}}(this.win,(()=>this.Pt())):null;const l=t.staticProps,s=this.init();Object.assign(this.W,l,s),this.checkPropsPostMutations(),be(this.element,[],(()=>()=>{this.at=!1,this.it&&ct(null,this.it)})),be(this.element,[Ie,ze,je],((t,n,e)=>{this.D.renderable=t,this.D.playable=n,this.D.loading=e,this.at=!0,this.Pt()}));const u=t.useContexts;var a;return 0!=u.length&&be(this.element,u,((...t)=>{this.et=t,this.Pt()})),this.rt=new y,this.Pt(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.tt(),this.rt.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(_t({"loading":"eager"})),this.Z=!0)}mountCallback(){we(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Z=!1)}unmountCallback(){var t;we(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.B(!1),null===(t=this.bt)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.it&&this.Pt()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this.W,t),this.Pt()}api(){return fn(this.J)}registerApiAction(t,n,e=2){var i;null===(i=this.registerAction)||void 0===i||i.call(this,t,(t=>n(this.api(),t)),e)}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}yt(t){const n=this.constructor;this.mutationObserverCallback(t);const e=t.some((t=>function(t,n){const{type:e}=n;if("attributes"==e){if(t.usesTemplate&&"template"==n.attributeName)return!0;const e=t.props;for(const t in e){const r=e[t];if(n.attributeName==r.attr||r.attrs&&r.attrs.includes(fn(n.attributeName))||(i=n.attributeName,o=r.attrPrefix,null!==i&&void 0!==o&&i.startsWith(o)&&i!==o))return!0}return!1}var i,o;return"childList"==e&&(wi(n.addedNodes)||wi(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Pt())}Pt(){this.ot||(this.ot=!0,this.mutateElement(this.lt))}tt(){const{J:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.q(n)}q(t,n){var e;null===(e=this.setReadyState)||void 0===e||e.call(this,t,n),this.constructor.unloadOnPause&&this.B("complete"==t),this.Z&&(this.Z=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,e;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,e,i,o;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(e=this.toggleFallback)||void 0===e||e.call(this,!0),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)):null===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}st(){if(!this.at)return;const t=this.constructor,n=t.usesShadowDom,i=n?null:t.lightDomTag,o=t.detached;if(!this.it){const e=this.win.document;if(n){fn(!o);let{shadowRoot:n}=this.element,i=n&&(d=n,vn("c"),pn(d,"> c"));if(i)this.ut=!0;else{var r,l,s,u,a,c;n=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const o=t.shadowCss;o&&function(t,n,e){const i=t.ownerDocument,o=i.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const i=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=i[n];r||(r=new o.CSSStyleSheet,r.replaceSync(e),i[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=i.createElement("style");o.setAttribute("data-name",n),o.textContent=e,t.appendChild(o)}}(n,this.element.tagName,o),i=_n(e,"c",ci),n.appendChild(i);const f=_n(e,"slot",fi);n.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(s=this.getFallback)||void 0===s||null===(u=s.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(a=this.getOverflowElement)||void 0===a||null===(c=a.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.it=i,function(t,n){ce.get(t).setParent(n)}(n,this.element),function(t,n,e,i=0){ce.get(t).addGroup(n,e,i)}(this.element,"unslotted",di,-1),f=this.element,h=Ie,ce.get(f).group("unslotted").values.set(h,this,!1)}else if(i){this.it=this.element;const n=bn(this.it,"i-amphtml-rendered")||_n(e,i,hi);n.__AMP_RENDERED=!0,t.layoutSizeDefined&&n.classList.add("i-amphtml-fill-content"),this.it.appendChild(n)}else{const t=e.createElement("i-amphtml-c");this.it=t,t.classList.add("i-amphtml-fill-content"),o||this.element.appendChild(t)}}var f,h,d;const v=t.useContexts,p=this.et;if(0!=v.length&&null==p)return;const m=ei(t,this.element,this.K,this.W,this.bt);if(this.updatePropsForRendering(m),!this.isReady(m))return;let b=at(t.Component,m);for(let t=0;t<v.length;t++){const n=v[t].type,e=p[t];e&&(b=at(n.Provider,{value:e},b))}const y=at(Pn,e({},this.D),b);if(this.ut)this.ut=!1,D(y,this.it);else{const t=i?bn(this.it,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ct(y,this.it,t)}n||o||this.mutateElement((()=>An(this.element,"amp:dom-update",null))),this.rt&&(this.rt.resolve(),this.rt=null)}getProp(t,n){return e=this.W,i=t,gt.call(e,i)?this.W[t]:n;var e,i}getApi(){const t=this.G;return t?Promise.resolve(t):(this.nt||(this.nt=new y),this.nt.promise)}Y(t){const n=function(t){const n=Object.create(null);return n}(),e=Object.keys(t);for(let t=0;t<e.length;t++)gi(this,n,e[t]);this.G=n,this.nt&&(this.nt.resolve(n),this.nt=null)}X(t){}triggerEvent(t,n,e){An(t,n,e)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(_t({"loading":"unload"})),this.Z=!0;else{var t;const{J:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}B(t){this.ct.updatePlaying(t)}};function gi(t,n,e){Object.defineProperty(n,e,{configurable:!0,get:()=>t.J[e],set(n){t.J[e]=n}})}function wi(t){for(let n=0;n<t.length;n++){const e=t[n];if(cn(e)){if(e.__AMP_RENDERED||e.tagName.startsWith("I-")||"i-amphtml-svc"==e.getAttribute("slot"))continue;return!0}if(3==e.nodeType)return!0}return!1}yi.Component=function(){fn(!1)},yi.staticProps=void 0,yi.useContexts=[],yi.loadable=!1,yi.unloadOnPause=!1,yi.layoutSizeDefined=!1,yi.lightDomTag="",yi.usesTemplate=!1,yi.shadowCss=null,yi.usesShadowDom=!1,yi.detached=!1,yi.delegatesFocus=!1,yi.props={};var _i=class extends yi{};function Ai(){{const t=document.createElement("style");t.textContent="bento-facebook,bento-facebook-comments,bento-facebook-like,bento-facebook-page{display:block;overflow:hidden;position:relative}bento-facebook-comments:not(.i-amphtml-built),bento-facebook-like:not(.i-amphtml-built),bento-facebook-page:not(.i-amphtml-built),bento-facebook:not(.i-amphtml-built){color:transparent!important}bento-facebook-comments:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook-like:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook-pagee:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-facebook:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]){display:none;content-visibility:hidden}\n/*# sourceURL=/extensions/amp-facebook/1.0/amp-facebook.css*/",document.head.appendChild(t)}customElements.define("bento-facebook",_i.CustomElement(_i))}_i.Component=Kn,_i.props={"title":{attr:"title"},"href":{attr:"data-href"},"locale":{attr:"data-locale",default:Pt(window.navigator.language)},"allowFullScreen":{attr:"data-allowfullscreen"},"embedAs":{attr:"data-embed-as"},"includeCommentParent":{attr:"data-include-comment-parent",type:"boolean",default:!1},"showText":{attr:"data-show-text"},"numPosts":{attr:"data-numposts"},"orderBy":{attr:"data-order-by"},"colorscheme":{attr:"data-colorscheme"},"action":{attr:"data-action"},"kdSite":{attr:"data-kd_site"},"layout":{attr:"data-layout"},"refLabel":{attr:"data-ref"},"share":{attr:"data-share"},"size":{attr:"data-size"},"hideCover":{attr:"data-hide-cover"},"hideCta":{attr:"data-hide-cta"},"showFacepile":{attr:"data-show-facepile"},"smallHeader":{attr:"data-small-header"},"tabs":{attr:"data-tabs"}},_i.layoutSizeDefined=!0,_i.usesShadowDom=!0;export{Ai as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@ampproject/amp-facebook", | ||
"version": "1.2110212130.0", | ||
"version": "1.2110252343.0", | ||
"description": "AMP HTML amp-facebook Component", | ||
"author": "The AMP HTML Authors", | ||
"license": "Apache-2.0", | ||
"main": "./dist/component-preact.js", | ||
"module": "./dist/component-preact.module.js", | ||
"main": "./dist/web-component.js", | ||
"module": "./dist/web-component.module.js", | ||
"exports": { | ||
".": "./preact", | ||
".": "./web-component", | ||
"./web-component": { | ||
"import": "./dist/web-component.module.js", | ||
"require": "./dist/web-component.js" | ||
}, | ||
"./preact": { | ||
@@ -12,0 +16,0 @@ "import": "./dist/component-preact.module.js", |
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 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14338
0
2593521