@ampproject/amp-facebook
Advanced tools
Comparing version 1.2106141722.0 to 1.2106160500.0
@@ -1,3 +0,3 @@ | ||
var Fr=Object.create,ee=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Nr=Object.getOwnPropertyNames,Dr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty,we=function(e){return ee(e,"__esModule",{value:!0})},Mr=function(e,r){for(var t in r)ee(e,t,{get:r[t],enumerable:!0})},Tr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Nr(r),a=0,i=o.length;a<i;a++)n=o[a],!wr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Ir(r,n))||t.enumerable});return e},re=function(e){return Tr(we(ee(null!=e?Fr(Dr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};we(exports),Mr(exports,{Facebook:function(){return _r}});var d=re(require("preact/hooks")),W=re(require("preact")),Me=re(require("preact"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function Te(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function L(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("preact/compat"));function w(e){return oe.forwardRef(e)}var Cr=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function je(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 T(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){jr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function jr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lr(e,r){if(null==e)return{};var t,n,o=Ur(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ur(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}var kr=[null,"paint","layout","content","size","size paint","size layout","strict"],Br={position:"relative",width:"100%",height:"100%"};function Hr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,h=e.wrapperClassName,g=e.wrapperStyle,w=(v?4:0)+(y?2:0)+(b?1:0);return A(n,T(T({},Lr(e,Cr)),{},{ref:r,className:"".concat(a||""," ").concat(h||"").trim()||null,style:T(T(T({},m),g),{},{contain:kr[w]})}),A(c,T(T({},u),{},{ref:s,className:l,style:T(T({},v&&Br),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=w(Hr),Gr=["as","children","className","style","wrapperClassName","wrapperStyle"];function Le(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 ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){Vr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Wr(e,r){if(null==e)return{};var t,n,o=$r(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function $r(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}function zr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Wr(e,Gr)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Xr=w(zr);function ve(e){var r=L(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var F={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},qr=[F.AUTO,F.LAZY,F.EAGER,F.UNLOAD],Ue=(ae(Y={},F.AUTO,0),ae(Y,F.LAZY,1),ae(Y,F.EAGER,2),ae(Y,F.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return qr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Jr(){return Be||(Be=Te({renderable:!0,playable:!0,loading:F.AUTO}))}function de(){return Ce(Jr())}function He(e){return ke(e,de().loading)}var Yr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ge(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 ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ge(Object(t),!0).forEach((function(r){Kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ge(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Zr(e,r){if(null==e)return{};var t,n,o=Qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Qr(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}var et=function(){return!1},rt="about:blank",tt=function(e){return e&&e!=rt&&!e.includes("#")};function nt(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?et:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=Zr(e,Yr),m=de().playable,h=He(y),g=h!==F.UNLOAD,w=L(!1),j=ve(d),P=ne((function(e){if(e!==w.current){w.current=e;var r=j.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[j]),S=L(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return S.current}}}),[]),U((function(){g||P(!1)}),[g,P]),te((function(){var e=S.current;if(!m&&e){var r=e.src;if(tt(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=S.current;if(e&&g){var r=function(e){var r=S.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,g,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),g&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:h,name:i,onLoad:function(){return P(!0)},part:"iframe",ref:S,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=w(nt);ge.displayName="IframeEmbed";var Ve=Object.prototype,jn=Ve.hasOwnProperty,Ln=Ve.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function M(e){return e||{}}function ot(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function it(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ot(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return it(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var at=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Xe(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=at.exec(e);){var n=Xe(r[1],r[1]),o=r[2]?Xe(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},st=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,qe=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Je(e){if(!self.document||!self.document.head||self.location&&qe.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:st,cdn:O.cdnUrl||Je("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:qe,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Je("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,or=null;function $(){if(xe.dev)return xe.dev;if(!or)throw new Error("failed to call initLogConstructor");return xe.dev=new or(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,ar,Ho=M({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),ar=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),pt(Ee,e,r?null:ar)}function pt(e,r,t){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=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=xt(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function xt(e,r){if(e){if("string"==typeof e)return sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sr(e,r)}}function sr(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 cr(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 lr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?cr(Object(t),!0).forEach((function(r){Et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var bt="EXPERIMENTS",St="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function fr(e,r){return!!pr(e)[r]}function pr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=lr(lr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,At(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var h=O.value,g=v["e-".concat(h)];"1"==g&&(i[h]=!0),"0"==g&&(i[h]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function At(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(St))}catch(e){$().warn(bt,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function mr(e,r){return fr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106141722000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106141722000","/f.js")}function vr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Ot(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106141722000","/")+"".concat(t,".html")}function Ot(e){return"d-"+dr(e)}function dr(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 gr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+dr(e)}function yr(){var e=0;return function(){return String(++e)}}var _t=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function hr(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 Pt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?hr(Object(t),!0).forEach((function(r){Rt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Rt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ft(e,r){return wt(e)||Dt(e,r)||Nt(e,r)||It()}function It(){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 Nt(e,r){if(e){if("string"==typeof e)return xr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xr(e,r)}}function xr(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 Dt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function wt(e){if(Array.isArray(e))return e}function Mt(e,r){if(null==e)return{};var t,n,o=Tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Tt(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}var Pe={},Er={EMBED_SIZE:"embed-size"},Re="sync-xhr 'none'",Ct=Oe().join(" ")+" "+_e().join(" ");function jt(e,r){var t=e.allow,n=void 0===t?Re:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?Ct:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=Mt(e,_t);if(!ye(n,Re))throw new Error("'allow' prop must contain \"".concat(Re,'". Found "').concat(n,'".'));var v=L(null),m=L(null),h=pe((function(){return Pe[y]||(Pe[y]=yr()),Pe[y]()}),[y]),g=Ft(J({name:c,src:p}),2),w=g[0],j=w.name,P=w.src,S=g[1];return U((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!=p?p:t?vr(t):"about:blank";if(c)S({name:c,src:n});else if(t){var i=Object.assign(M({location:{href:t.location.href},sentinel:gr(t)}),a),l=Object.assign(M({title:b,type:y,_context:i}),u);S({name:JSON.stringify(M({host:be(n).hostname,bootstrap:null!=o?o:mr(y,t),type:y,count:h,attributes:l})),src:n})}}),[o,a,h,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[j]),K(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}}}),[]),A(ge,Pt({allow:n,contentRef:v,messageHandler:l,name:j,ref:m,ready:!!j,sandbox:i?void 0:f,src:P,title:b},O))}var Fe=w(jt);Fe.displayName="ProxyIframeEmbed";var Lt="amp-";function br(e){if(!Ut(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Ut(e){return"string"==typeof e&&0==e.indexOf(Lt)&&-1!=e.indexOf("{")}var kt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function Sr(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 fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Sr(Object(t),!0).forEach((function(r){Bt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Bt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ar(e,r){return Wt(e)||Vt(e,r)||Gt(e,r)||Ht()}function Ht(){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 Gt(e,r){if(e){if("string"==typeof e)return Or(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Or(e,r)}}function Or(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 Vt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Wt(e){if(Array.isArray(e))return e}function $t(e,r){if(null==e)return{};var t,n,o=zt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function zt(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}var Xt="facebook",qt="100%",Jt=function(){return!0},Yt="Facebook comments";function Kt(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,h=e.showText,g=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?Yt:S,_=$t(e,kt),x=Ar(J(null),2),F=x[0],R=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:br(e.data);if("ready"==t.action&&(null==y||y()),t.type==Er.EMBED_SIZE){var n=t.height;O?(O(n),R(qt)):R(n)}}),[O,y]),N=Ar(J(f),2),M=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Fe,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:M,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:h,size:g,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Jt,messageHandler:D,type:Xt,style:F?fe(fe({},j),{},{height:F}):j}))}var _r=w(Kt);_r.displayName="Facebook"; | ||
var Fr=Object.create,ee=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Nr=Object.getOwnPropertyNames,Dr=Object.getPrototypeOf,Tr=Object.prototype.hasOwnProperty,Te=function(e){return ee(e,"__esModule",{value:!0})},wr=function(e,r){for(var t in r)ee(e,t,{get:r[t],enumerable:!0})},Mr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Nr(r),a=0,i=o.length;a<i;a++)n=o[a],!Tr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Ir(r,n))||t.enumerable});return e},re=function(e){return Mr(Te(ee(null!=e?Fr(Dr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Te(exports),wr(exports,{Facebook:function(){return _r}});var d=re(require("preact/hooks")),W=re(require("preact")),we=re(require("preact"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function Me(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function L(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("preact/compat"));function T(e){return oe.forwardRef(e)}var Cr=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function je(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 M(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){jr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function jr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lr(e,r){if(null==e)return{};var t,n,o=Ur(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ur(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}var kr=[null,"paint","layout","content","size","size paint","size layout","strict"],Br={position:"relative",width:"100%",height:"100%"};function Hr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,h=e.wrapperClassName,g=e.wrapperStyle,w=(v?4:0)+(y?2:0)+(b?1:0);return A(n,M(M({},Lr(e,Cr)),{},{ref:r,className:"".concat(a||""," ").concat(h||"").trim()||null,style:M(M(M({},m),g),{},{contain:kr[w]})}),A(c,M(M({},u),{},{ref:s,className:l,style:M(M({},v&&Br),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=T(Hr),Gr=["as","children","className","style","wrapperClassName","wrapperStyle"];function Le(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 ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){Vr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Wr(e,r){if(null==e)return{};var t,n,o=$r(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function $r(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}function zr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Wr(e,Gr)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Xr=T(zr);function ve(e){var r=L(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var F={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},qr=[F.AUTO,F.LAZY,F.EAGER,F.UNLOAD],Ue=(ae(Y={},F.AUTO,0),ae(Y,F.LAZY,1),ae(Y,F.EAGER,2),ae(Y,F.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return qr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Jr(){return Be||(Be=Me({renderable:!0,playable:!0,loading:F.AUTO}))}function de(){return Ce(Jr())}function He(e){return ke(e,de().loading)}var Yr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ge(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 ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ge(Object(t),!0).forEach((function(r){Kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ge(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Zr(e,r){if(null==e)return{};var t,n,o=Qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Qr(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}var et=function(){return!1},rt="about:blank",tt=function(e){return e&&e!=rt&&!e.includes("#")};function nt(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?et:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=Zr(e,Yr),m=de().playable,h=He(y),g=h!==F.UNLOAD,w=L(!1),j=ve(d),P=ne((function(e){if(e!==w.current){w.current=e;var r=j.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[j]),S=L(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return S.current}}}),[]),U((function(){g||P(!1)}),[g,P]),te((function(){var e=S.current;if(!m&&e){var r=e.src;if(tt(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=S.current;if(e&&g){var r=function(e){var r=S.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,g,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),g&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:h,name:i,onLoad:function(){return P(!0)},part:"iframe",ref:S,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=T(nt);ge.displayName="IframeEmbed";var Ve=Object.prototype,jn=Ve.hasOwnProperty,Ln=Ve.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function w(e){return e||{}}function ot(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function it(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ot(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return it(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var at=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Xe(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=at.exec(e);){var n=Xe(r[1],r[1]),o=r[2]?Xe(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},st=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,qe=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Je(e){if(!self.document||!self.document.head||self.location&&qe.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:st,cdn:O.cdnUrl||Je("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:qe,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Je("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,or=null;function $(){if(xe.dev)return xe.dev;if(!or)throw new Error("failed to call initLogConstructor");return xe.dev=new or(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,ar,Ho=w({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),ar=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),pt(Ee,e,r?null:ar)}function pt(e,r,t){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=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=xt(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function xt(e,r){if(e){if("string"==typeof e)return sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sr(e,r)}}function sr(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 cr(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 lr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?cr(Object(t),!0).forEach((function(r){Et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var bt="EXPERIMENTS",St="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function fr(e,r){return!!pr(e)[r]}function pr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=lr(lr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,At(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var h=O.value,g=v["e-".concat(h)];"1"==g&&(i[h]=!0),"0"==g&&(i[h]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function At(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(St))}catch(e){$().warn(bt,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function mr(e,r){return fr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106160500000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106160500000","/f.js")}function vr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Ot(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106160500000","/")+"".concat(t,".html")}function Ot(e){return"d-"+dr(e)}function dr(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 gr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+dr(e)}function yr(){var e=0;return function(){return String(++e)}}var _t=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function hr(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 Pt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?hr(Object(t),!0).forEach((function(r){Rt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Rt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ft(e,r){return Tt(e)||Dt(e,r)||Nt(e,r)||It()}function It(){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 Nt(e,r){if(e){if("string"==typeof e)return xr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xr(e,r)}}function xr(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 Dt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Tt(e){if(Array.isArray(e))return e}function wt(e,r){if(null==e)return{};var t,n,o=Mt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Mt(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}var Pe={},Er={EMBED_SIZE:"embed-size"},Re="sync-xhr 'none'",Ct=Oe().join(" ")+" "+_e().join(" ");function jt(e,r){var t=e.allow,n=void 0===t?Re:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?Ct:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=wt(e,_t);if(!ye(n,Re))throw new Error("'allow' prop must contain \"".concat(Re,'". Found "').concat(n,'".'));var v=L(null),m=L(null),h=pe((function(){return Pe[y]||(Pe[y]=yr()),Pe[y]()}),[y]),g=Ft(J({name:c,src:p}),2),j=g[0],P=j.name,S=j.src,E=g[1];return U((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!=p?p:t?vr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(w({location:{href:t.location.href},sentinel:gr(t)}),a),l=Object.assign(w({title:b,type:y,_context:i}),u);E({name:JSON.stringify(w({host:be(n).hostname,bootstrap:null!=o?o:mr(y,t),type:y,count:h,attributes:l})),src:n})}}),[o,a,h,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),K(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}}}),[]),A(ge,Pt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Fe=T(jt);Fe.displayName="ProxyIframeEmbed";var Lt="amp-";function br(e){if(!Ut(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Ut(e){return"string"==typeof e&&0==e.indexOf(Lt)&&-1!=e.indexOf("{")}var kt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function Sr(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 fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Sr(Object(t),!0).forEach((function(r){Bt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Bt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ar(e,r){return Wt(e)||Vt(e,r)||Gt(e,r)||Ht()}function Ht(){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 Gt(e,r){if(e){if("string"==typeof e)return Or(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Or(e,r)}}function Or(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 Vt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Wt(e){if(Array.isArray(e))return e}function $t(e,r){if(null==e)return{};var t,n,o=zt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function zt(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}var Xt="facebook",qt="100%",Jt=function(){return!0},Yt="Facebook comments";function Kt(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,h=e.showText,g=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?Yt:S,_=$t(e,kt),x=Ar(J(null),2),M=x[0],F=x[1],R=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:br(e.data);if("ready"==t.action&&(null==y||y()),t.type==Er.EMBED_SIZE){var n=t.height;O?(O(n),F(qt)):F(n)}}),[O,y]),D=Ar(J(f),2),N=D[0],I=D[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Fe,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:N,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:h,size:g,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Jt,messageHandler:R,type:Xt,style:M?fe(fe({},j),{},{height:M}):j}))}var _r=T(Kt);_r.displayName="Facebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-preact.js.map |
@@ -477,3 +477,3 @@ var __create = Object.create; | ||
function internalRuntimeVersion() { | ||
return "2106141722000"; | ||
return "2106160500000"; | ||
} | ||
@@ -480,0 +480,0 @@ |
@@ -417,3 +417,3 @@ // src/preact/index.js | ||
function internalRuntimeVersion() { | ||
return "2106141722000"; | ||
return "2106160500000"; | ||
} | ||
@@ -420,0 +420,0 @@ |
@@ -1,3 +0,3 @@ | ||
import{useCallback as ft,useContext as lt,useEffect as at,useImperativeHandle as mt,useLayoutEffect as ut,useMemo as pt,useRef as ct,useState as st}from"preact/hooks";import{Fragment as Nr,cloneElement as Ar,createContext as it,createElement as ot,createRef as Ir}from"preact";import{hydrate as Rr,render as Pr}from"preact";function E(e,t,r){return ot.apply(void 0,arguments)}function ye(e){return it(e,void 0)}function V(e){return st(e)}function F(e){return ct(e)}function X(e,t){at(e,t)}function D(e,t){ut(e,t)}function _e(e){return lt(e)}function te(e,t){return pt(e,t)}function z(e,t){return ft(e,t)}function H(e,t,r){return mt(e,t,r)}import{Children as Tr,createPortal as Dr,forwardRef as dt}from"preact/compat";function A(e){return dt(e)}var gt=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e,t){if(null==e)return{};var r,n,o=Et(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Et(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yt=[null,"paint","layout","content","size","size paint","size layout","strict"],_t={position:"relative",width:"100%",height:"100%"};function vt(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},xt(e,gt)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:yt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&_t),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(vt),Ot=["as","children","className","style","wrapperClassName","wrapperStyle"];function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){if(null==e)return{};var r,n,o=At(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function At(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function Pt(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},St(e,Ot)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Rt=A(Pt);function ne(e){let t=F(null);return t.current=e,t}var v={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Nt=[v.AUTO,v.LAZY,v.EAGER,v.UNLOAD],be={[v.AUTO]:0,[v.LAZY]:1,[v.EAGER]:2,[v.UNLOAD]:3};function Se(e,t){let r=be[e]||0,n=be[t]||0,o=Math.max(r,n);return Nt[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function It(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:v.AUTO}))}function oe(){return _e(It())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Mt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){if(null==e)return{};var r,n,o=Tt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Tt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ct=()=>!1,wt="about:blank",Lt=e=>e&&e!=wt&&!e.includes("#");function jt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=Ct,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=Dt(e,Mt),{playable:O}=oe(),m=Pe(f),g=m!==v.UNLOAD,h=F(!1),P=ne(p),j=z((e=>{if(e!==h.current){h.current=e;let t=P.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[P]),w=F(null);return H(t,(()=>({get readyState(){return h.current?k.COMPLETE:k.LOADING},get node(){return w.current}})),[]),D((()=>{g||j(!1)}),[g,j]),X((()=>{let e=w.current;if(!O&&e){let{src:t}=e;Lt(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),D((()=>{let e=w.current;if(!e||!g)return;let t=e=>{let t=w.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>j(!0),part:"iframe",ref:w,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(jt);ie.displayName="IframeEmbed";var{hasOwnProperty:gn,toString:hn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var $t=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ie(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=$t.exec(e);){let e=Ie(t[1],t[1]),n=t[2]?Ie(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:T}=Array,y=self.AMP_CONFIG||{},Bt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Me=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Fe(e){if(!self.document||!self.document.head||self.location&&Me.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:Bt,cdn:y.cdnUrl||Fe("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Me,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Fe("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,Be=null;function K(){if(ae.dev)return ae.dev;if(!Be)throw new Error("failed to call initLogConstructor");return ae.dev=new Be(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,kt,vo=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),kt=null),Wt(ue,e,null)}function Wt(e,t,r){return e.href="",new URL(t,e.href)}function pe(e){return JSON.parse(e)}function W(e,t){try{return pe(e)}catch(e){return null==t||t(e),null}}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qt="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function We(e,t){return!!Xe(e)[t]}function Xe(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ke(ke({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:pe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(T(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,er(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(T(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function er(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(Qt))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var fe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function ze(e,t){return We(t,"3p-vendor-split")?`${C.thirdParty}/2106141722000/vendor/${e}.mjs`:`${C.thirdParty}/2106141722000/f.js`}function qe(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||tr(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106141722000/${r}.html`}function tr(e){return"d-"+Je(e)}function Je(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Ye(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Je(e)}function Ke(){let e=0;return()=>String(++e)}var rr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){or(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e,t){if(null==e)return{};var r,n,o=sr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function sr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},Qe={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",cr=fe().join(" ")+" "+me().join(" ");function ar(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=cr,src:s,type:f,title:p=f}=e,y=ir(e,rr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=Ke()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return D((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?qe(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Ye(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:ze(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,nr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(ar);he.displayName="ProxyIframeEmbed";var ur="amp-";function et(e){if(!lr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function lr(e){return"string"==typeof e&&0==e.indexOf(ur)&&-1!=e.indexOf("{")}var pr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){fr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t){if(null==e)return{};var r,n,o=dr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function dr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var gr="facebook",hr="100%",xr=()=>!0,Er="Facebook comments";function yr(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=Er}=e,A=mr(e,pr),{0:x,1:N}=V(null),R=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:et(e.data);if("ready"==r.action&&(null==y||y()),r.type==Qe.EMBED_SIZE){let e=r.height;O?(O(e),N(hr)):N(e)}}),[O,y]),{0:_,1:F}=V(f);return D((()=>{var e,r;if(f)return void F(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||F(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:_,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:xr,messageHandler:R,type:gr,style:x?ee(ee({},j),{},{height:x}):j}))}var _r=A(yr);_r.displayName="Facebook";export{_r as Facebook}; | ||
import{useCallback as ft,useContext as lt,useEffect as at,useImperativeHandle as mt,useLayoutEffect as ut,useMemo as pt,useRef as ct,useState as st}from"preact/hooks";import{Fragment as Nr,cloneElement as Ar,createContext as it,createElement as ot,createRef as Ir}from"preact";import{hydrate as Rr,render as Pr}from"preact";function E(e,t,r){return ot.apply(void 0,arguments)}function ye(e){return it(e,void 0)}function V(e){return st(e)}function F(e){return ct(e)}function X(e,t){at(e,t)}function D(e,t){ut(e,t)}function _e(e){return lt(e)}function te(e,t){return pt(e,t)}function z(e,t){return ft(e,t)}function H(e,t,r){return mt(e,t,r)}import{Children as Tr,createPortal as Dr,forwardRef as dt}from"preact/compat";function A(e){return dt(e)}var gt=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e,t){if(null==e)return{};var r,n,o=Et(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Et(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yt=[null,"paint","layout","content","size","size paint","size layout","strict"],_t={position:"relative",width:"100%",height:"100%"};function vt(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},xt(e,gt)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:yt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&_t),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(vt),bt=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){if(null==e)return{};var r,n,o=At(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function At(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function Pt(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},St(e,bt)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Rt=A(Pt);function ne(e){let t=F(null);return t.current=e,t}var v={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Nt=[v.AUTO,v.LAZY,v.EAGER,v.UNLOAD],Oe={[v.AUTO]:0,[v.LAZY]:1,[v.EAGER]:2,[v.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Nt[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function It(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:v.AUTO}))}function oe(){return _e(It())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Mt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){if(null==e)return{};var r,n,o=Tt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Tt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ct=()=>!1,wt="about:blank",Lt=e=>e&&e!=wt&&!e.includes("#");function jt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=Ct,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=Dt(e,Mt),{playable:O}=oe(),m=Pe(f),g=m!==v.UNLOAD,h=F(!1),P=ne(p),j=z((e=>{if(e!==h.current){h.current=e;let t=P.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[P]),w=F(null);return H(t,(()=>({get readyState(){return h.current?k.COMPLETE:k.LOADING},get node(){return w.current}})),[]),D((()=>{g||j(!1)}),[g,j]),X((()=>{let e=w.current;if(!O&&e){let{src:t}=e;Lt(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),D((()=>{let e=w.current;if(!e||!g)return;let t=e=>{let t=w.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>j(!0),part:"iframe",ref:w,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(jt);ie.displayName="IframeEmbed";var{hasOwnProperty:gn,toString:hn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var $t=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ie(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=$t.exec(e);){let e=Ie(t[1],t[1]),n=t[2]?Ie(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:T}=Array,y=self.AMP_CONFIG||{},Bt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Me=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Fe(e){if(!self.document||!self.document.head||self.location&&Me.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:Bt,cdn:y.cdnUrl||Fe("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Me,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Fe("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,Be=null;function K(){if(ae.dev)return ae.dev;if(!Be)throw new Error("failed to call initLogConstructor");return ae.dev=new Be(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,kt,vo=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),kt=null),Wt(ue,e,null)}function Wt(e,t,r){return e.href="",new URL(t,e.href)}function pe(e){return JSON.parse(e)}function W(e,t){try{return pe(e)}catch(e){return null==t||t(e),null}}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qt="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function We(e,t){return!!Xe(e)[t]}function Xe(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ke(ke({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:pe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(T(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,er(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(T(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function er(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(Qt))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var fe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function ze(e,t){return We(t,"3p-vendor-split")?`${C.thirdParty}/2106160500000/vendor/${e}.mjs`:`${C.thirdParty}/2106160500000/f.js`}function qe(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||tr(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106160500000/${r}.html`}function tr(e){return"d-"+Je(e)}function Je(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Ye(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Je(e)}function Ke(){let e=0;return()=>String(++e)}var rr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){or(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e,t){if(null==e)return{};var r,n,o=sr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function sr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},Qe={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",cr=fe().join(" ")+" "+me().join(" ");function ar(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=cr,src:s,type:f,title:p=f}=e,y=ir(e,rr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=Ke()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return D((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?qe(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Ye(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:ze(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,nr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(ar);he.displayName="ProxyIframeEmbed";var ur="amp-";function et(e){if(!lr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function lr(e){return"string"==typeof e&&0==e.indexOf(ur)&&-1!=e.indexOf("{")}var pr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){fr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t){if(null==e)return{};var r,n,o=dr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function dr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var gr="facebook",hr="100%",xr=()=>!0,Er="Facebook comments";function yr(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=Er}=e,A=mr(e,pr),{0:x,1:N}=V(null),R=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:et(e.data);if("ready"==r.action&&(null==y||y()),r.type==Qe.EMBED_SIZE){let e=r.height;O?(O(e),N(hr)):N(e)}}),[O,y]),{0:_,1:F}=V(f);return D((()=>{var e,r;if(f)return void F(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||F(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:_,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:xr,messageHandler:R,type:gr,style:x?ee(ee({},j),{},{height:x}):j}))}var _r=A(yr);_r.displayName="Facebook";export{_r as Facebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-preact.module.js.map |
@@ -1,3 +0,3 @@ | ||
var Fr=Object.create,ee=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Nr=Object.getOwnPropertyNames,Dr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty,we=function(e){return ee(e,"__esModule",{value:!0})},Mr=function(e,r){for(var t in r)ee(e,t,{get:r[t],enumerable:!0})},Tr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Nr(r),a=0,i=o.length;a<i;a++)n=o[a],!wr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Ir(r,n))||t.enumerable});return e},re=function(e){return Tr(we(ee(null!=e?Fr(Dr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};we(exports),Mr(exports,{Facebook:function(){return _r}});var d=re(require("react")),W=re(require("react")),Me=re(require("react-dom"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function Te(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function L(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("react"));function w(e){return oe.forwardRef(e)}var Cr=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function je(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 T(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){jr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function jr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lr(e,r){if(null==e)return{};var t,n,o=Ur(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ur(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}var kr=[null,"paint","layout","content","size","size paint","size layout","strict"],Br={position:"relative",width:"100%",height:"100%"};function Hr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,w=(v?4:0)+(y?2:0)+(b?1:0);return A(n,T(T({},Lr(e,Cr)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:T(T(T({},m),h),{},{contain:kr[w]})}),A(c,T(T({},u),{},{ref:s,className:l,style:T(T({},v&&Br),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=w(Hr),Gr=["as","children","className","style","wrapperClassName","wrapperStyle"];function Le(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 ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){Vr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Wr(e,r){if(null==e)return{};var t,n,o=$r(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function $r(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}function zr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Wr(e,Gr)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Xr=w(zr);function ve(e){var r=L(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var F={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},qr=[F.AUTO,F.LAZY,F.EAGER,F.UNLOAD],Ue=(ae(Y={},F.AUTO,0),ae(Y,F.LAZY,1),ae(Y,F.EAGER,2),ae(Y,F.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return qr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Jr(){return Be||(Be=Te({renderable:!0,playable:!0,loading:F.AUTO}))}function de(){return Ce(Jr())}function He(e){return ke(e,de().loading)}var Yr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ge(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 ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ge(Object(t),!0).forEach((function(r){Kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ge(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Zr(e,r){if(null==e)return{};var t,n,o=Qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Qr(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}var et=function(){return!1},rt="about:blank",tt=function(e){return e&&e!=rt&&!e.includes("#")};function nt(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?et:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=Zr(e,Yr),m=de().playable,g=He(y),h=g!==F.UNLOAD,w=L(!1),j=ve(d),P=ne((function(e){if(e!==w.current){w.current=e;var r=j.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[j]),S=L(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return S.current}}}),[]),U((function(){h||P(!1)}),[h,P]),te((function(){var e=S.current;if(!m&&e){var r=e.src;if(tt(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=S.current;if(e&&h){var r=function(e){var r=S.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return P(!0)},part:"iframe",ref:S,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=w(nt);ge.displayName="IframeEmbed";var Ve=Object.prototype,jn=Ve.hasOwnProperty,Ln=Ve.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function M(e){return e||{}}function ot(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function it(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ot(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return it(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var at=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Xe(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=at.exec(e);){var n=Xe(r[1],r[1]),o=r[2]?Xe(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},st=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,qe=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Je(e){if(!self.document||!self.document.head||self.location&&qe.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:st,cdn:O.cdnUrl||Je("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:qe,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Je("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,or=null;function $(){if(xe.dev)return xe.dev;if(!or)throw new Error("failed to call initLogConstructor");return xe.dev=new or(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,ar,Ho=M({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),ar=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),pt(Ee,e,r?null:ar)}function pt(e,r,t){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=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=xt(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function xt(e,r){if(e){if("string"==typeof e)return sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sr(e,r)}}function sr(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 cr(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 lr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?cr(Object(t),!0).forEach((function(r){Et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var bt="EXPERIMENTS",St="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function fr(e,r){return!!pr(e)[r]}function pr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=lr(lr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,At(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function At(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(St))}catch(e){$().warn(bt,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function mr(e,r){return fr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106141722000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106141722000","/f.js")}function vr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Ot(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106141722000","/")+"".concat(t,".html")}function Ot(e){return"d-"+dr(e)}function dr(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 gr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+dr(e)}function yr(){var e=0;return function(){return String(++e)}}var _t=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function hr(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 Pt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?hr(Object(t),!0).forEach((function(r){Rt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Rt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ft(e,r){return wt(e)||Dt(e,r)||Nt(e,r)||It()}function It(){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 Nt(e,r){if(e){if("string"==typeof e)return xr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xr(e,r)}}function xr(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 Dt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function wt(e){if(Array.isArray(e))return e}function Mt(e,r){if(null==e)return{};var t,n,o=Tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Tt(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}var Pe={},Er={EMBED_SIZE:"embed-size"},Re="sync-xhr 'none'",Ct=Oe().join(" ")+" "+_e().join(" ");function jt(e,r){var t=e.allow,n=void 0===t?Re:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?Ct:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=Mt(e,_t);if(!ye(n,Re))throw new Error("'allow' prop must contain \"".concat(Re,'". Found "').concat(n,'".'));var v=L(null),m=L(null),g=pe((function(){return Pe[y]||(Pe[y]=yr()),Pe[y]()}),[y]),h=Ft(J({name:c,src:p}),2),w=h[0],j=w.name,P=w.src,S=h[1];return U((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!=p?p:t?vr(t):"about:blank";if(c)S({name:c,src:n});else if(t){var i=Object.assign(M({location:{href:t.location.href},sentinel:gr(t)}),a),l=Object.assign(M({title:b,type:y,_context:i}),u);S({name:JSON.stringify(M({host:be(n).hostname,bootstrap:null!=o?o:mr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[j]),K(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}}}),[]),A(ge,Pt({allow:n,contentRef:v,messageHandler:l,name:j,ref:m,ready:!!j,sandbox:i?void 0:f,src:P,title:b},O))}var Fe=w(jt);Fe.displayName="ProxyIframeEmbed";var Lt="amp-";function br(e){if(!Ut(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Ut(e){return"string"==typeof e&&0==e.indexOf(Lt)&&-1!=e.indexOf("{")}var kt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function Sr(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 fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Sr(Object(t),!0).forEach((function(r){Bt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Bt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ar(e,r){return Wt(e)||Vt(e,r)||Gt(e,r)||Ht()}function Ht(){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 Gt(e,r){if(e){if("string"==typeof e)return Or(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Or(e,r)}}function Or(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 Vt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Wt(e){if(Array.isArray(e))return e}function $t(e,r){if(null==e)return{};var t,n,o=zt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function zt(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}var Xt="facebook",qt="100%",Jt=function(){return!0},Yt="Facebook comments";function Kt(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?Yt:S,_=$t(e,kt),x=Ar(J(null),2),F=x[0],R=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:br(e.data);if("ready"==t.action&&(null==y||y()),t.type==Er.EMBED_SIZE){var n=t.height;O?(O(n),R(qt)):R(n)}}),[O,y]),N=Ar(J(f),2),M=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Fe,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:M,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Jt,messageHandler:D,type:Xt,style:F?fe(fe({},j),{},{height:F}):j}))}var _r=w(Kt);_r.displayName="Facebook"; | ||
var Fr=Object.create,ee=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Nr=Object.getOwnPropertyNames,Dr=Object.getPrototypeOf,Tr=Object.prototype.hasOwnProperty,Te=function(e){return ee(e,"__esModule",{value:!0})},wr=function(e,r){for(var t in r)ee(e,t,{get:r[t],enumerable:!0})},Mr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Nr(r),a=0,i=o.length;a<i;a++)n=o[a],!Tr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Ir(r,n))||t.enumerable});return e},re=function(e){return Mr(Te(ee(null!=e?Fr(Dr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Te(exports),wr(exports,{Facebook:function(){return _r}});var d=re(require("react")),W=re(require("react")),we=re(require("react-dom"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function Me(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function L(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("react"));function T(e){return oe.forwardRef(e)}var Cr=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function je(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 M(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){jr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function jr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lr(e,r){if(null==e)return{};var t,n,o=Ur(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ur(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}var kr=[null,"paint","layout","content","size","size paint","size layout","strict"],Br={position:"relative",width:"100%",height:"100%"};function Hr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,w=(v?4:0)+(y?2:0)+(b?1:0);return A(n,M(M({},Lr(e,Cr)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:M(M(M({},m),h),{},{contain:kr[w]})}),A(c,M(M({},u),{},{ref:s,className:l,style:M(M({},v&&Br),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=T(Hr),Gr=["as","children","className","style","wrapperClassName","wrapperStyle"];function Le(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 ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){Vr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Wr(e,r){if(null==e)return{};var t,n,o=$r(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function $r(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}function zr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Wr(e,Gr)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Xr=T(zr);function ve(e){var r=L(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var F={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},qr=[F.AUTO,F.LAZY,F.EAGER,F.UNLOAD],Ue=(ae(Y={},F.AUTO,0),ae(Y,F.LAZY,1),ae(Y,F.EAGER,2),ae(Y,F.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return qr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Jr(){return Be||(Be=Me({renderable:!0,playable:!0,loading:F.AUTO}))}function de(){return Ce(Jr())}function He(e){return ke(e,de().loading)}var Yr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ge(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 ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ge(Object(t),!0).forEach((function(r){Kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ge(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Zr(e,r){if(null==e)return{};var t,n,o=Qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Qr(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}var et=function(){return!1},rt="about:blank",tt=function(e){return e&&e!=rt&&!e.includes("#")};function nt(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?et:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=Zr(e,Yr),m=de().playable,g=He(y),h=g!==F.UNLOAD,w=L(!1),j=ve(d),P=ne((function(e){if(e!==w.current){w.current=e;var r=j.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[j]),S=L(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return S.current}}}),[]),U((function(){h||P(!1)}),[h,P]),te((function(){var e=S.current;if(!m&&e){var r=e.src;if(tt(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=S.current;if(e&&h){var r=function(e){var r=S.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return P(!0)},part:"iframe",ref:S,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=T(nt);ge.displayName="IframeEmbed";var Ve=Object.prototype,jn=Ve.hasOwnProperty,Ln=Ve.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function w(e){return e||{}}function ot(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function it(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ot(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return it(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var at=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Xe(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=at.exec(e);){var n=Xe(r[1],r[1]),o=r[2]?Xe(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},st=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,qe=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Je(e){if(!self.document||!self.document.head||self.location&&qe.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:st,cdn:O.cdnUrl||Je("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:qe,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Je("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,or=null;function $(){if(xe.dev)return xe.dev;if(!or)throw new Error("failed to call initLogConstructor");return xe.dev=new or(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,ar,Ho=w({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),ar=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),pt(Ee,e,r?null:ar)}function pt(e,r,t){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=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=xt(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function xt(e,r){if(e){if("string"==typeof e)return sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sr(e,r)}}function sr(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 cr(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 lr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?cr(Object(t),!0).forEach((function(r){Et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var bt="EXPERIMENTS",St="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function fr(e,r){return!!pr(e)[r]}function pr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=lr(lr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,At(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function At(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(St))}catch(e){$().warn(bt,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function mr(e,r){return fr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106160500000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106160500000","/f.js")}function vr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Ot(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106160500000","/")+"".concat(t,".html")}function Ot(e){return"d-"+dr(e)}function dr(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 gr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+dr(e)}function yr(){var e=0;return function(){return String(++e)}}var _t=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function hr(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 Pt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?hr(Object(t),!0).forEach((function(r){Rt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Rt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ft(e,r){return Tt(e)||Dt(e,r)||Nt(e,r)||It()}function It(){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 Nt(e,r){if(e){if("string"==typeof e)return xr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xr(e,r)}}function xr(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 Dt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Tt(e){if(Array.isArray(e))return e}function wt(e,r){if(null==e)return{};var t,n,o=Mt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Mt(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}var Pe={},Er={EMBED_SIZE:"embed-size"},Re="sync-xhr 'none'",Ct=Oe().join(" ")+" "+_e().join(" ");function jt(e,r){var t=e.allow,n=void 0===t?Re:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?Ct:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=wt(e,_t);if(!ye(n,Re))throw new Error("'allow' prop must contain \"".concat(Re,'". Found "').concat(n,'".'));var v=L(null),m=L(null),g=pe((function(){return Pe[y]||(Pe[y]=yr()),Pe[y]()}),[y]),h=Ft(J({name:c,src:p}),2),j=h[0],P=j.name,S=j.src,E=h[1];return U((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!=p?p:t?vr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(w({location:{href:t.location.href},sentinel:gr(t)}),a),l=Object.assign(w({title:b,type:y,_context:i}),u);E({name:JSON.stringify(w({host:be(n).hostname,bootstrap:null!=o?o:mr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),K(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}}}),[]),A(ge,Pt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Fe=T(jt);Fe.displayName="ProxyIframeEmbed";var Lt="amp-";function br(e){if(!Ut(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Ut(e){return"string"==typeof e&&0==e.indexOf(Lt)&&-1!=e.indexOf("{")}var kt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function Sr(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 fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Sr(Object(t),!0).forEach((function(r){Bt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Bt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ar(e,r){return Wt(e)||Vt(e,r)||Gt(e,r)||Ht()}function Ht(){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 Gt(e,r){if(e){if("string"==typeof e)return Or(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Or(e,r)}}function Or(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 Vt(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Wt(e){if(Array.isArray(e))return e}function $t(e,r){if(null==e)return{};var t,n,o=zt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function zt(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}var Xt="facebook",qt="100%",Jt=function(){return!0},Yt="Facebook comments";function Kt(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?Yt:S,_=$t(e,kt),x=Ar(J(null),2),M=x[0],F=x[1],R=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:br(e.data);if("ready"==t.action&&(null==y||y()),t.type==Er.EMBED_SIZE){var n=t.height;O?(O(n),F(qt)):F(n)}}),[O,y]),D=Ar(J(f),2),N=D[0],I=D[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Fe,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:N,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Jt,messageHandler:R,type:Xt,style:M?fe(fe({},j),{},{height:M}):j}))}var _r=T(Kt);_r.displayName="Facebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-react.js.map |
@@ -477,3 +477,3 @@ var __create = Object.create; | ||
function internalRuntimeVersion() { | ||
return "2106141722000"; | ||
return "2106160500000"; | ||
} | ||
@@ -480,0 +480,0 @@ |
@@ -417,3 +417,3 @@ // src/preact/index.js | ||
function internalRuntimeVersion() { | ||
return "2106141722000"; | ||
return "2106160500000"; | ||
} | ||
@@ -420,0 +420,0 @@ |
@@ -1,3 +0,3 @@ | ||
import{useCallback as ft,useContext as lt,useEffect as at,useImperativeHandle as mt,useLayoutEffect as ut,useMemo as pt,useRef as ct,useState as st}from"react";import{Fragment as Nr,cloneElement as Ar,createContext as it,createElement as ot,createRef as Ir}from"react";import{hydrate as Rr,render as Pr}from"react-dom";function E(e,t,r){return ot.apply(void 0,arguments)}function ye(e){return it(e,void 0)}function V(e){return st(e)}function F(e){return ct(e)}function X(e,t){at(e,t)}function D(e,t){ut(e,t)}function _e(e){return lt(e)}function te(e,t){return pt(e,t)}function z(e,t){return ft(e,t)}function H(e,t,r){return mt(e,t,r)}import{Children as Tr,createPortal as Dr,forwardRef as dt}from"react";function A(e){return dt(e)}var gt=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e,t){if(null==e)return{};var r,n,o=Et(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Et(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yt=[null,"paint","layout","content","size","size paint","size layout","strict"],_t={position:"relative",width:"100%",height:"100%"};function vt(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:d,wrapperClassName:y,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},xt(e,gt)),{},{ref:t,className:`${o||""} ${y||""}`.trim()||null,style:N(N(N({},d),b),{},{contain:yt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&_t),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(vt),Ot=["as","children","className","style","wrapperClassName","wrapperStyle"];function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){if(null==e)return{};var r,n,o=At(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function At(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function Pt(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},St(e,Ot)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Rt=A(Pt);function ne(e){let t=F(null);return t.current=e,t}var v={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Nt=[v.AUTO,v.LAZY,v.EAGER,v.UNLOAD],be={[v.AUTO]:0,[v.LAZY]:1,[v.EAGER]:2,[v.UNLOAD]:3};function Se(e,t){let r=be[e]||0,n=be[t]||0,o=Math.max(r,n);return Nt[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function It(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:v.AUTO}))}function oe(){return _e(It())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Mt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){if(null==e)return{};var r,n,o=Tt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Tt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ct=()=>!1,wt="about:blank",Lt=e=>e&&e!=wt&&!e.includes("#");function jt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=Ct,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:d,src:y}=e,b=Dt(e,Mt),{playable:O}=oe(),m=Pe(f),g=m!==v.UNLOAD,h=F(!1),P=ne(p),j=z((e=>{if(e!==h.current){h.current=e;let t=P.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[P]),w=F(null);return H(t,(()=>({get readyState(){return h.current?k.COMPLETE:k.LOADING},get node(){return w.current}})),[]),D((()=>{g||j(!1)}),[g,j]),X((()=>{let e=w.current;if(!O&&e){let{src:t}=e;Lt(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),D((()=>{let e=w.current;if(!e||!g)return;let t=e=>{let t=w.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>j(!0),part:"iframe",ref:w,sandbox:d,scrolling:"no",src:y,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(jt);ie.displayName="IframeEmbed";var{hasOwnProperty:gn,toString:hn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var $t=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ie(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=$t.exec(e);){let e=Ie(t[1],t[1]),n=t[2]?Ie(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:T}=Array,y=self.AMP_CONFIG||{},Bt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Me=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Fe(e){if(!self.document||!self.document.head||self.location&&Me.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:Bt,cdn:y.cdnUrl||Fe("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Me,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Fe("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,Be=null;function K(){if(ae.dev)return ae.dev;if(!Be)throw new Error("failed to call initLogConstructor");return ae.dev=new Be(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,kt,vo=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),kt=null),Wt(ue,e,null)}function Wt(e,t,r){return e.href="",new URL(t,e.href)}function pe(e){return JSON.parse(e)}function W(e,t){try{return pe(e)}catch(e){return null==t||t(e),null}}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qt="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function We(e,t){return!!Xe(e)[t]}function Xe(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ke(ke({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:pe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(T(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,er(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(T(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function er(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(Qt))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var fe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function ze(e,t){return We(t,"3p-vendor-split")?`${C.thirdParty}/2106141722000/vendor/${e}.mjs`:`${C.thirdParty}/2106141722000/f.js`}function qe(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||tr(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106141722000/${r}.html`}function tr(e){return"d-"+Je(e)}function Je(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Ye(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Je(e)}function Ke(){let e=0;return()=>String(++e)}var rr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){or(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e,t){if(null==e)return{};var r,n,o=sr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function sr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},Qe={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",cr=fe().join(" ")+" "+me().join(" ");function ar(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=cr,src:s,type:f,title:p=f}=e,d=ir(e,rr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let y=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=Ke()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return D((()=>{var e,t;let r=null===(e=y.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?qe(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Ye(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:ze(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,nr({allow:r,contentRef:y,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},d))}var he=A(ar);he.displayName="ProxyIframeEmbed";var ur="amp-";function et(e){if(!lr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function lr(e){return"string"==typeof e&&0==e.indexOf(ur)&&-1!=e.indexOf("{")}var pr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){fr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t){if(null==e)return{};var r,n,o=dr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function dr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var gr="facebook",hr="100%",xr=()=>!0,Er="Facebook comments";function yr(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:d,orderBy:y,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=Er}=e,A=mr(e,pr),{0:x,1:N}=V(null),R=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:et(e.data);if("ready"==r.action&&(null==d||d()),r.type==Qe.EMBED_SIZE){let e=r.height;O?(O(e),N(hr)):N(e)}}),[O,d]),{0:_,1:F}=V(f);return D((()=>{var e,r;if(f)return void F(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||F(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:_,numPosts:p,orderBy:y,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:xr,messageHandler:R,type:gr,style:x?ee(ee({},j),{},{height:x}):j}))}var _r=A(yr);_r.displayName="Facebook";export{_r as Facebook}; | ||
import{useCallback as ft,useContext as lt,useEffect as at,useImperativeHandle as mt,useLayoutEffect as ut,useMemo as pt,useRef as ct,useState as st}from"react";import{Fragment as Nr,cloneElement as Ar,createContext as it,createElement as ot,createRef as Ir}from"react";import{hydrate as Rr,render as Pr}from"react-dom";function E(e,t,r){return ot.apply(void 0,arguments)}function ye(e){return it(e,void 0)}function V(e){return st(e)}function F(e){return ct(e)}function X(e,t){at(e,t)}function D(e,t){ut(e,t)}function _e(e){return lt(e)}function te(e,t){return pt(e,t)}function z(e,t){return ft(e,t)}function H(e,t,r){return mt(e,t,r)}import{Children as Tr,createPortal as Dr,forwardRef as dt}from"react";function A(e){return dt(e)}var gt=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e,t){if(null==e)return{};var r,n,o=Et(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Et(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yt=[null,"paint","layout","content","size","size paint","size layout","strict"],_t={position:"relative",width:"100%",height:"100%"};function vt(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:d,wrapperClassName:y,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},xt(e,gt)),{},{ref:t,className:`${o||""} ${y||""}`.trim()||null,style:N(N(N({},d),b),{},{contain:yt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&_t),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(vt),bt=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){if(null==e)return{};var r,n,o=At(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function At(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function Pt(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},St(e,bt)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Rt=A(Pt);function ne(e){let t=F(null);return t.current=e,t}var v={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Nt=[v.AUTO,v.LAZY,v.EAGER,v.UNLOAD],Oe={[v.AUTO]:0,[v.LAZY]:1,[v.EAGER]:2,[v.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Nt[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function It(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:v.AUTO}))}function oe(){return _e(It())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Mt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){if(null==e)return{};var r,n,o=Tt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Tt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ct=()=>!1,wt="about:blank",Lt=e=>e&&e!=wt&&!e.includes("#");function jt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=Ct,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:d,src:y}=e,b=Dt(e,Mt),{playable:O}=oe(),m=Pe(f),g=m!==v.UNLOAD,h=F(!1),P=ne(p),j=z((e=>{if(e!==h.current){h.current=e;let t=P.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[P]),w=F(null);return H(t,(()=>({get readyState(){return h.current?k.COMPLETE:k.LOADING},get node(){return w.current}})),[]),D((()=>{g||j(!1)}),[g,j]),X((()=>{let e=w.current;if(!O&&e){let{src:t}=e;Lt(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),D((()=>{let e=w.current;if(!e||!g)return;let t=e=>{let t=w.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>j(!0),part:"iframe",ref:w,sandbox:d,scrolling:"no",src:y,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(jt);ie.displayName="IframeEmbed";var{hasOwnProperty:gn,toString:hn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var $t=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ie(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=$t.exec(e);){let e=Ie(t[1],t[1]),n=t[2]?Ie(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:T}=Array,y=self.AMP_CONFIG||{},Bt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Me=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Fe(e){if(!self.document||!self.document.head||self.location&&Me.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:Bt,cdn:y.cdnUrl||Fe("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Me,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Fe("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,Be=null;function K(){if(ae.dev)return ae.dev;if(!Be)throw new Error("failed to call initLogConstructor");return ae.dev=new Be(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,kt,vo=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),kt=null),Wt(ue,e,null)}function Wt(e,t,r){return e.href="",new URL(t,e.href)}function pe(e){return JSON.parse(e)}function W(e,t){try{return pe(e)}catch(e){return null==t||t(e),null}}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qt="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function We(e,t){return!!Xe(e)[t]}function Xe(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ke(ke({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:pe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(T(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,er(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(T(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function er(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(Qt))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var fe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function ze(e,t){return We(t,"3p-vendor-split")?`${C.thirdParty}/2106160500000/vendor/${e}.mjs`:`${C.thirdParty}/2106160500000/f.js`}function qe(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||tr(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106160500000/${r}.html`}function tr(e){return"d-"+Je(e)}function Je(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Ye(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Je(e)}function Ke(){let e=0;return()=>String(++e)}var rr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){or(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e,t){if(null==e)return{};var r,n,o=sr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function sr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},Qe={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",cr=fe().join(" ")+" "+me().join(" ");function ar(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=cr,src:s,type:f,title:p=f}=e,d=ir(e,rr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let y=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=Ke()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return D((()=>{var e,t;let r=null===(e=y.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?qe(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Ye(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:ze(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,nr({allow:r,contentRef:y,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},d))}var he=A(ar);he.displayName="ProxyIframeEmbed";var ur="amp-";function et(e){if(!lr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function lr(e){return"string"==typeof e&&0==e.indexOf(ur)&&-1!=e.indexOf("{")}var pr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){fr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t){if(null==e)return{};var r,n,o=dr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function dr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var gr="facebook",hr="100%",xr=()=>!0,Er="Facebook comments";function yr(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:d,orderBy:y,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=Er}=e,A=mr(e,pr),{0:x,1:N}=V(null),R=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:et(e.data);if("ready"==r.action&&(null==d||d()),r.type==Qe.EMBED_SIZE){let e=r.height;O?(O(e),N(hr)):N(e)}}),[O,d]),{0:_,1:F}=V(f);return D((()=>{var e,r;if(f)return void F(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||F(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:_,numPosts:p,orderBy:y,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:xr,messageHandler:R,type:gr,style:x?ee(ee({},j),{},{height:x}):j}))}var _r=A(yr);_r.displayName="Facebook";export{_r as Facebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-react.module.js.map |
{ | ||
"name": "@ampproject/amp-facebook", | ||
"version": "1.2106141722.0", | ||
"version": "1.2106160500.0", | ||
"description": "AMP HTML amp-facebook Component", | ||
@@ -5,0 +5,0 @@ "author": "The AMP HTML Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package