/*1773842210,,JIT Construction: v1035377905,en_US*/ /** * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As with any software that integrates with the Facebook platform, your use of * this software is subject to the Facebook Platform Policy * [http://developers.facebook.com/policy/]. This copyright notice shall be * included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ try {(window.FB && !window.FB.__buffer) || (function() { var apply = Function.prototype.apply; function bindContext(fn, thisArg) { return function _sdkBound() { return apply.call(fn, thisArg, arguments); }; } var global = { __type: 'JS_SDK_SANDBOX', window: window, document: window.document }; var sandboxSafelist = [ 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval' ]; for (var i = 0; i < sandboxSafelist.length; i++) { global[sandboxSafelist[i]] = bindContext( window[sandboxSafelist[i]], window ); } (function() { var self = window; var globalThis = this; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; with (this) { (function(e){var t={},n=function(t,n){if(!t&&!n)return null;var e={};return typeof t!="undefined"&&(e.type=t),typeof n!="undefined"&&(e.signature=n),e},r=function(t,r){return n(t&&/^[A-Z]/.test(t)?t:void 0,r&&(r.params&&r.params.length||r.returns)?"function("+(r.params?r.params.map(function(e){return/\?/.test(e)?"?"+e.replace("?",""):e}).join(","):"")+")"+(r.returns?":"+r.returns:""):void 0)},o=function(t,n,r){return t},a=function(t,n,o){if("typechecks"in __transform_includes){var e=r(n?n.name:void 0,o);e&&__w(t,e)}return t},i=function(t,n,r){return r.apply(t,n)},l=function(n,r,o,a,i){if(i){i.callId||(i.callId=i.module+":"+(i.line||0)+":"+(i.column||0));var e=i.callId;t[e]=(t[e]||0)+1}return o.apply(n,r)};typeof __transform_includes=="undefined"?(e.__annotator=o,e.__bodyWrapper=i):(e.__annotator=a,"codeusage"in __transform_includes?(e.__annotator=o,e.__bodyWrapper=l,e.__bodyWrapper.getCodeUsage=function(){return t},e.__bodyWrapper.clearCodeUsage=function(){t={}}):e.__bodyWrapper=i)})(typeof globalThis!="undefined"?globalThis:typeof global!="undefined"?global:typeof window!="undefined"?window:typeof this!="undefined"?this:typeof self!="undefined"?self:{}); (function(e){e.__t=function(e){return e[0]},e.__w=function(e){return e}})(typeof globalThis!="undefined"?globalThis:typeof global!="undefined"?global:typeof window!="undefined"?window:typeof this!="undefined"?this:typeof self!="undefined"?self:{}); (function(e){var t={},n=["global","require","requireDynamic","requireLazy","module","exports"],r=["global","require","importDefault","importNamespace","requireLazy","module","exports"],o=1,a=32,i=64,l=256,s={},u=Object.prototype.hasOwnProperty;function c(o,l){if(!u.call(t,o)){if(l===!0)return null;throw new Error("Module "+o+" has not been defined")}var s=t[o];if(s.resolved)return s;for(var c=s.special,_=s.factory.length,f=c&a?r.concat(s.deps):n.concat(s.deps),g=[],h,y=0;y<_;y++){switch(f[y]){case"module":h=s;break;case"exports":h=s.exports;break;case"global":h=e;break;case"require":h=d;break;case"requireDynamic":h=null;break;case"requireLazy":h=null;break;case"importDefault":h=m;break;case"importNamespace":h=p;break;default:typeof f[y]=="string"&&(h=d.call(null,f[y]))}g.push(h)}var C=s.factory.apply(e,g);return C&&(s.exports=C),c&i?s.exports!=null&&u.call(s.exports,"default")&&(s.defaultExport=s.exports.default):s.defaultExport=s.exports,s.resolved=!0,s}function d(e,t){var n=c(e,t);if(n)return n.defaultExport!==s?n.defaultExport:n.exports}function m(e){var t=c(e);if(t)return t.defaultExport!==s?t.defaultExport:null}function p(e){var t=c(e);if(t)return t.exports}function _(e,n,r,a){if(u.call(t,e)){var i=t[e].special||0;if(i&l)return}typeof r=="function"?(t[e]={factory:r,deps:n,defaultExport:s,exports:{},special:a||0,resolved:!1},a!=null&&a&o&&d.call(null,e)):t[e]={defaultExport:r,exports:r,resolved:!0}}function f(e,t,n){var r=c(e,!0);if(r){if(typeof t=="function")return t(d(e))}else if(typeof n=="function")return n()}_("ifRequireable",[],function(){return f},l),e.__d=_,e.require=d,e.importDefault=m,e.importNamespace=p,e.$RefreshReg$=function(){},e.$RefreshSig$=function(){return function(e){return e}}})(this); __d("ES5FunctionPrototype",[],(function(t,n,r,o,a,i){var e={bind:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1?Number(arguments[1]):0;isNaN(n)&&(n=0);var r=Math.min(Math.max(n,0),e.length);return e.indexOf(String(t),n)==r},endsWith:function(t){var e=String(this);if(this==null)throw new TypeError("String.prototype.endsWith called on null or undefined");var n=e.length,r=String(t),o=arguments.length>1?Number(arguments[1]):n;isNaN(o)&&(o=0);var a=Math.min(Math.max(o,0),n),i=a-r.length;return i<0?!1:e.lastIndexOf(r,i)==i},includes:function(t){if(this==null)throw new TypeError("String.prototype.contains called on null or undefined");var e=String(this),n=arguments.length>1?Number(arguments[1]):0;return isNaN(n)&&(n=0),e.indexOf(String(t),n)!==-1},repeat:function(t){if(this==null)throw new TypeError("String.prototype.repeat called on null or undefined");var e=String(this),n=t?Number(t):0;if(isNaN(n)&&(n=0),n<0||n===1/0)throw RangeError();if(n===1)return e;if(n===0)return"";for(var r="";n;)n&1&&(r+=e),(n>>=1)&&(e+=e);return r}},l=e;i.default=l}),66); __d("ES6Array",[],(function(t,n,r,o,a,i){"use strict";function e(e){if(e==null)throw new TypeError("Object is null or undefined");var t=arguments[1],n=arguments[2],r=this,o=Object(e),a=typeof Symbol=="function"&&navigator.userAgent.indexOf("Trident/7.0")===-1&&typeof Symbol=="function"?Symbol.iterator:"@@iterator",i=typeof t=="function",l=typeof o[a]=="function",s=0,u,c;if(l){u=typeof r=="function"?new r:[];for(var d=o[a](),m;!(m=d.next()).done;)c=m.value,i&&(c=t.call(n,c,s)),u[s]=c,s+=1;return u.length=s,u}var p=o.length;for((isNaN(p)||p<0)&&(p=0),u=typeof r=="function"?new r(p):new Array(p);s>>0,o=0;o>>0,a=arguments[1],i=a>>0,l=i<0?Math.max(o+i,0):Math.min(i,o),s=arguments[2],u=s===void 0?o:s>>0,c=u<0?Math.max(o+u,0):Math.min(u,o);l=s&&t<=l&&Math.floor(t)===t},EPSILON:e,MAX_SAFE_INTEGER:l,MIN_SAFE_INTEGER:s},c=u;i.default=c}),66); __d("ES6Object",[],(function(t,n,r,o,a,i){var e={}.hasOwnProperty,l={assign:function(n){if(n==null)throw new TypeError("Object.assign target cannot be null or undefined");n=Object(n);for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];if(r!=null){r=Object(r);for(var o in r)e.call(r,o)&&(n[o]=r[o])}}return n},is:function(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}},s=l;i.default=s}),66); __d("ES5Array",[],(function(t,n,r,o,a,i){var e={isArray:function(t){return Array.isArray(t)}},l=e;i.default=l}),66); __d("ES5ArrayPrototype",[],(function(t,n,r,o,a,i){var e={indexOf:function(t,n){var e=n,r=this.length;for(e|=0,e<0&&(e+=r);e=0?1:-1}function d(t){"use strict";if(t!==void 0&&e(this)&&!(typeof t=="number"&&isNaN(t)))return l.apply(this,arguments)!==-1;var n=Object(this),r=n.length?s(n.length):0;if(r===0)return!1;for(var o=arguments.length>1?u(arguments[1]):0,a=o<0?Math.max(r+o,0):o,i=isNaN(t)&&typeof t=="number";a1)))/4)-I((e-1901+t)/100)+I((e-1601+t)/400)};if((f=p.hasOwnProperty)||(f=function(e){var t={},n;return(t.__proto__=null,t.__proto__={toString:1},t).toString!=_?f=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(n=t.constructor,f=function(e){var t=(this.constructor||n).prototype;return e in this&&!(e in t&&this[e]===t[e])}),t=null,f.call(this,e)}),g=function(e,t){var n=0,o,a,i;(o=function(){this.valueOf=0}).prototype.valueOf=0,a=new o;for(i in a)f.call(a,i)&&n++;return o=a=null,n?n==2?g=function(e,t){var n={},r=_.call(e)==b,o;for(o in e)!(r&&o=="prototype")&&!f.call(n,o)&&(n[o]=1)&&f.call(e,o)&&t(o)}:g=function(e,t){var n=_.call(e)==b,r,o;for(r in e)!(n&&r=="prototype")&&f.call(e,r)&&!(o=r==="constructor")&&t(r);(o||f.call(e,r="constructor"))&&t(r)}:(a=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(e,t){var n=_.call(e)==b,o,i,l=!n&&typeof e.constructor!="function"&&r[typeof e.hasOwnProperty]&&e.hasOwnProperty||f;for(o in e)!(n&&o=="prototype")&&l.call(e,o)&&t(o);for(i=a.length;o=a[--i];l.call(e,o)&&t(o));}),g(e,t)},!C("json-stringify")){var x={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},$="000000",P=function(e,t){return($+(t||0)).slice(-e)},N="\\u00",M=function(e){for(var t='"',n=0,r=e.length,o=!k||r>10,a=o&&(k?e.split(""):e);n-1/0&&l<1/0){if(D){for(m=I(l/864e5),u=I(m/365.2425)+1970-1;D(u+1,0)<=m;u++);for(d=I((m-D(u,0))/30.42);D(u,d+1)<=m;d++);m=1+m-D(u,d),p=(l%864e5+864e5)%864e5,y=I(p/36e5)%24,C=I(p/6e4)%60,b=I(p/1e3)%60,k=p%1e3}else u=l.getUTCFullYear(),d=l.getUTCMonth(),m=l.getUTCDate(),y=l.getUTCHours(),C=l.getUTCMinutes(),b=l.getUTCSeconds(),k=l.getUTCMilliseconds();l=(u<=0||u>=1e4?(u<0?"-":"+")+P(6,u<0?-u:u):P(4,u))+"-"+P(2,d+1)+"-"+P(2,m)+"T"+P(2,y)+":"+P(2,C)+":"+P(2,b)+"."+P(3,k)+"Z"}else l=null;else typeof l.toJSON=="function"&&(s!=S&&s!=R&&s!=L||f.call(l,"toJSON"))&&(l=l.toJSON(e));if(n&&(l=n.call(t,e,l)),l===null)return"null";if(s=_.call(l),s==E)return""+l;if(s==S)return l>-1/0&&l<1/0?""+l:"null";if(s==R)return M(""+l);if(typeof l=="object"){for(N=i.length;N--;)if(i[N]===l)throw c();if(i.push(l),T=[],A=a,a+=o,s==L){for($=0,N=l.length;$0)for(o="",n>10&&(n=10);o.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||W();n+=A("0x"+e.slice(r,O));break;default:W()}else{if(i==34)break;for(i=e.charCodeAt(O),r=O;i>=32&&i!=92&&i!=34;)i=e.charCodeAt(++O);n+=e.slice(r,O)}if(e.charCodeAt(O)==34)return O++,n;W();default:if(r=O,i==45&&(a=!0,i=e.charCodeAt(++O)),i>=48&&i<=57){for(i==48&&(i=e.charCodeAt(O+1),i>=48&&i<=57)&&W(),a=!1;O=48&&i<=57);O++);if(e.charCodeAt(O)==46){for(o=++O;o=48&&i<=57);o++);o==O&&W(),O=o}if(i=e.charCodeAt(O),i==101||i==69){for(i=e.charCodeAt(++O),(i==43||i==45)&&O++,o=O;o=48&&i<=57);o++);o==O&&W(),O=o}return+e.slice(r,O)}if(a&&W(),e.slice(O,O+4)=="true")return O+=4,!0;if(e.slice(O,O+5)=="false")return O+=5,!1;if(e.slice(O,O+4)=="null")return O+=4,null;W()}return"$"},U=function(e){var t,n;if(e=="$"&&W(),typeof e=="string"){if((k?e.charAt(0):e[0])=="@")return e.slice(1);if(e=="["){for(t=[];e=q(),e!="]";n||(n=!0))n&&(e==","?(e=q(),e=="]"&&W()):W()),e==","&&W(),t.push(U(e));return t}else if(e=="{"){for(t={};e=q(),e!="}";n||(n=!0))n&&(e==","?(e=q(),e=="}"&&W()):W()),(e==","||typeof e!="string"||(k?e.charAt(0):e[0])!="@"||q()!=":")&&W(),t[e.slice(1)]=U(q());return t}W()}return e},V=function(e,t,n){var r=H(e,t,n);r===h?delete e[t]:e[t]=r},H=function(e,t,n){var r=e[t],o;if(typeof r=="object"&&r)if(_.call(r)==L)for(o=r.length;o--;)V(r,o,n);else g(r,function(e){V(r,e,n)});return n.call(e,t,r)};t.parse=function(e,t){var n,r;return O=0,B=""+e,n=U(q()),q()!="$"&&W(),O=B=null,t&&_.call(t)==b?H((r={},r[""]=n,r),"",t):n}}}return t.runInContext=u,t}if(o&&!n)u(a,o);else{var c=a.JSON,d=a.JSON3,m=!1,p=u(a,a.JSON3={noConflict:function(){return m||(m=!0,a.JSON=c,a.JSON3=d,c=d=null),p}});a.JSON={parse:p.parse,stringify:p.stringify}}}).call(this)}var c=!1;function d(){return c||(c=!0,u()),l.exports}function m(e){switch(e){case void 0:return d()}}a.exports=m}),null); __d("json3",["json3-3.3.2"],(function(t,n,r,o,a,i){a.exports=n("json3-3.3.2")()}),null); __d("ES",["ES5FunctionPrototype","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(t,n,r,o,a,i,l){var e={}.toString,s={"JSON.stringify":r("json3").stringify,"JSON.parse":r("json3").parse},u={"Function.prototype":r("ES5FunctionPrototype"),"String.prototype":r("ES5StringPrototype")},c={Object:r("ES6Object"),"Array.prototype":r("ES6ArrayPrototype"),Number:r("ES6Number"),Array:r("ES6Array")},d={Object:r("ES7Object"),"String.prototype":r("ES7StringPrototype"),"Array.prototype":r("ES7ArrayPrototype")};function m(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t],r=t.split(".");if(r.length===2){var o=r[0],a=r[1];if(!o||!a||!window[o]||!window[o][a]){var i=o?window[o]:"-",l=o&&window[o]&&a?window[o][a]:"-";throw new Error("Unexpected state (t11975770): "+(o+", "+a+", "+i+", "+l+", "+t))}}var u=r.length===2?window[r[0]][r[1]]:window[t];for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)){if(typeof n[c]!="function"){s[t+"."+c]=n[c];continue}var d=u[c];s[t+"."+c]=d&&/\{\s+\[native code\]\s\}/.test(d)?d:n[c]}}}m(u),m(c),m(d);function p(t,n,r){var o=r?e.call(t).slice(8,-1)+".prototype":t,a;if(Array.isArray(t))if(typeof o=="string")a=s[o+"."+n];else throw new Error("Can't polyfill "+n+" directly on an Array.");else if(typeof o=="string")a=s[o+"."+n];else{if(typeof t=="string")throw new Error("Can't polyfill "+n+" directly on a string.");a=t[n]}if(typeof a=="function"){for(var i=arguments.length,l=new Array(i>3?i-3:0),u=3;u=0||(n[r]=e[r]);return n},e.objectWithoutProperties=e.objectWithoutPropertiesLoose,e.taggedTemplateLiteralLoose=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},e.bind=n("ES5FunctionPrototype").bind,a.exports=e}),null);var ES=require('ES');var babelHelpers=require('sdk.babelHelpers');(function(e,t){var n="keys",r="values",o="entries",a=(function(){var e=l(Array),a;return e||(a=(function(){"use strict";function e(e,t){this.$1=e,this.$2=t,this.$3=0}var a=e.prototype;return a.next=function(){if(this.$1==null)return{value:t,done:!0};var e=this.$1,a=this.$1.length,i=this.$3,l=this.$2;if(i>=a)return this.$1=t,{value:t,done:!0};if(this.$3=i+1,l===n)return{value:i,done:!1};if(l===r)return{value:e[i],done:!1};if(l===o)return{value:[i,e[i]],done:!1}},a[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})()),{keys:e?function(e){return e.keys()}:function(e){return new a(e,n)},values:e?function(e){return e.values()}:function(e){return new a(e,r)},entries:e?function(e){return e.entries()}:function(e){return new a(e,o)}}})(),i=(function(){var e=l(String),n;return e||(n=(function(){"use strict";function e(e){this.$1=e,this.$2=0}var n=e.prototype;return n.next=function(){if(this.$1==null)return{value:t,done:!0};var e=this.$2,n=this.$1,r=n.length;if(e>=r)return this.$1=t,{value:t,done:!0};var o,a=n.charCodeAt(e);if(a<55296||a>56319||e+1===r)o=n[e];else{var i=n.charCodeAt(e+1);i<56320||i>57343?o=n[e]:o=n[e]+n[e+1]}return this.$2=e+o.length,{value:o,done:!1}},n[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})()),{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:e?function(e){return e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]()}:function(e){return new n(e)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}})();function l(e){return typeof e.prototype[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=="function"&&typeof e.prototype.values=="function"&&typeof e.prototype.keys=="function"&&typeof e.prototype.entries=="function"}var s=(function(){"use strict";function e(e,t){this.$1=e,this.$2=t,this.$3=Object.keys(e),this.$4=0}var a=e.prototype;return a.next=function(){var e=this.$3.length,a=this.$4,i=this.$2,l=this.$3[a];if(a>=e)return this.$1=t,{value:t,done:!0};if(this.$4=a+1,i===n)return{value:l,done:!1};if(i===r)return{value:this.$1[l],done:!1};if(i===o)return{value:[l,this.$1[l]],done:!1}},a[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})(),u={keys:function(t){return new s(t,n)},values:function(t){return new s(t,r)},entries:function(t){return new s(t,o)}};function c(e,t){return typeof e=="string"?i[t||r](e):Array.isArray(e)?a[t||r](e):e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]?e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]():u[t||o](e)}ES("Object","assign",!1,c,{KIND_KEYS:n,KIND_VALUES:r,KIND_ENTRIES:o,keys:function(t){return c(t,n)},values:function(t){return c(t,r)},entries:function(t){return c(t,o)},generic:u.entries}),e.FB_enumerate=c})(typeof global=="object"?global:typeof this=="object"?this:typeof window=="object"?window:typeof self=="object"?self:{}); (function(e,t){var n=e.window||e;function r(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}function o(e){var t=e?e.ownerDocument||e:document,r=t.defaultView||n;return!!(e&&(typeof r.Node=="function"?e instanceof r.Node:typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"))}function a(e){var t=n[e];if(t==null||typeof n.Symbol!="function")return!0;var r=t.prototype;return t==null||typeof t!="function"||typeof r.clear!="function"||new t().size!==0||typeof r.keys!="function"||typeof r.forEach!="function"}var i=e.FB_enumerate,l=(function(){if(!a("Map"))return n.Map;var e="key",l="value",s="key+value",u="$map_",c,d="IE_HASH_",m=(function(){"use strict";function n(e){if(!h(this))throw new TypeError("Wrong map object type.");if(g(this),e!=null)for(var t=i(e),n;!(n=t.next()).done;){if(!h(n.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(n.value[0],n.value[1])}}var r=n.prototype;return r.clear=function(){g(this)},r.has=function(t){var e=_(this,t);return!!(e!=null&&this._mapData[e])},r.set=function(t,n){var e=_(this,t);return e!=null&&this._mapData[e]?this._mapData[e][1]=n:(e=this._mapData.push([t,n])-1,f(this,t,e),this.size+=1),this},r.get=function(n){var e=_(this,n);return e==null?t:this._mapData[e][1]},r.delete=function(n){var e=_(this,n);return e!=null&&this._mapData[e]?(f(this,n,t),this._mapData[e]=t,this.size-=1,!0):!1},r.entries=function(){return new p(this,s)},r.keys=function(){return new p(this,e)},r.values=function(){return new p(this,l)},r.forEach=function(n,r){if(typeof n!="function")throw new TypeError("Callback must be callable.");for(var e=ES(n,"bind",!0,r||t),o=this._mapData,a=0;a1?n-1:0),o=1;ob+h){var r=t-y;for(var o of C){var a=o[0],i=o[1];i.lastAccessed":"",I;function T(e){var t,n=e.error!=null?E(e.error):s(e.message||"");n.fileName==null&&e.filename!=null&&(n.fileName=e.filename),n.line==null&&e.lineno!=null&&(n.line=e.lineno),n.column==null&&e.colno!=null&&(n.column=e.colno),n.guardList=[k],n.loggingSource="ONERROR",(t=I)===null||t===void 0||t.reportError(n)}var D={setup:function(n){typeof t.addEventListener=="function"&&I==null&&(I=n,t.addEventListener("error",T))}},x=[],$={pushGuard:function(t){x.unshift(t)},popGuard:function(){x.shift()},inGuard:function(){return x.length!==0},cloneGuardList:function(){return x.map(function(e){return e.name})},findDeferredSource:function(){for(var e of x)if(e.deferredSource!=null)return e.deferredSource}};function P(e){return e.type!=null?e.type:e.loggingSource=="GUARDED"||e.loggingSource=="ERROR_BOUNDARY"||e.name=="SyntaxError"?"fatal":e.loggingSource=="ONERROR"&&e.message.indexOf("ResizeObserver loop")>=0||e.stack!=null&&e.stack.indexOf("chrome-extension://")>=0?"warn":"error"}var N=[],M=(function(){function e(){this.metadata=[].concat(N)}var t=e.prototype;return t.addEntries=function(){var e;return(e=this.metadata).push.apply(e,arguments),this},t.addEntry=function(t,n,r){return this.metadata.push([t,n,r]),this},t.isEmpty=function(){return this.metadata.length===0},t.clearEntries=function(){this.metadata=[]},t.format=function(){var e=[];return this.metadata.forEach(function(t){if(t&&t.length){var n=t.map(function(e){return e!=null?String(e).replace(/:/g,"_"):""}).join(":");e.push(n)}}),e},t.getAll=function(){return this.metadata},e.addGlobalMetadata=function(t,n,r){N.push([t,n,r])},e.getGlobalMetadata=function(){return N},e.unsetGlobalMetadata=function(t,n){N=N.filter(function(e){return!(Array.isArray(e)&&e[0]===t&&e[1]===n)})},e})(),w={debug:1,info:2,warn:3,error:4,fatal:5};function A(e,t){var n,r;if(!Object.isFrozen(e)){t.type&&(!e.type||w[e.type]>w[t.type])&&(e.type=t.type);var o=t.metadata;if(o!=null){var a,i=(a=e.metadata)!==null&&a!==void 0?a:new M;o!=null&&i.addEntries.apply(i,o.getAll()),e.metadata=i}t.project!=null&&(e.project=t.project),t.errorName!=null&&(e.errorName=t.errorName),t.componentStack!=null&&(e.componentStack=t.componentStack),t.deferredSource!=null&&(e.deferredSource=t.deferredSource),t.blameModule!=null&&(e.blameModule=t.blameModule),t.loggingSource!=null&&(e.loggingSource=t.loggingSource);var l=(n=e.messageFormat)!==null&&n!==void 0?n:e.message,s=(r=e.messageParams)!==null&&r!==void 0?r:[];if(l!==t.messageFormat&&t.messageFormat!=null){var u;l+=" [Caught in: "+t.messageFormat+"]",s.push.apply(s,(u=t.messageParams)!==null&&u!==void 0?u:[])}e.messageFormat=l,e.messageParams=s;var c=t.forcedKey,d=e.forcedKey,m=c!=null&&d!=null?c+"_"+d:c!=null?c:d;e.forcedKey=m}}function F(e){var t;return O((t=e.messageFormat)!==null&&t!==void 0?t:e.message,e.messageParams||[])}function O(e,t){var n=0,r=String(e),o=r.replace(/%s/g,function(){return nq&&U.shift()}function H(e){var t=e.getAllResponseHeaders();if(t!=null&&t.indexOf("X-FB-Debug")>=0){var n=e.getResponseHeader("X-FB-Debug");n&&V(n)}}function G(){return U}var z={add:V,addFromXHR:H,getAll:G},j="abcdefghijklmnopqrstuvwxyz012345";function K(){for(var e=0,t=arguments.length,n=new Array(t),r=0;r>=5;return l}var Q=[/\(([^\s\)\()]+):(\d+):(\d+)\)$/,/@([^\s\)\()]+):(\d+):(\d+)$/,/^([^\s\)\()]+):(\d+):(\d+)$/,/^at ([^\s\)\()]+):(\d+):(\d+)$/],X=/^\w+:\s.*?\n/g;Error.stackTraceLimit!=null&&Error.stackTraceLimit<80&&(Error.stackTraceLimit=80);function Y(e){var t=e.message,n=e.name,r=e.stack;if(r==null)return null;if(n!=null&&t!=null&&t!==""){var o=n+": "+t+"\n";if(ES(r,"startsWith",!0,o))return r.substr(o.length);if(r===n+": "+t)return null}if(n!=null){var a=n+"\n";if(ES(r,"startsWith",!0,a))return r.substr(a.length)}if(t!=null&&t!==""){var i=": "+t+"\n",l=r.indexOf(i),s=r.substring(0,l);if(/^\w+$/.test(s))return r.substring(l+i.length)}return r.replace(X,"")}function J(e){var t=e.trim(),n=t,r,o,a;if(ES(t,"includes",!0,"charset=utf-8;base64,"))n="";else{var i;for(var l of Q)if(i=t.match(l),i!=null)break;i!=null&&i.length===4?(r=i[1],o=parseInt(i[2],10),a=parseInt(i[3],10),n=t.substring(0,t.length-i[0].length)):n=t,n=n.replace(/^at /,"").trim()}var s={identifier:n,script:r,line:o,column:a};return s.text=ne(s),s}function Z(e){return e==null||e===""?[]:e.split(/\n\n/)[0].split("\n").map(J)}function ee(e){var t=Y(e);return Z(t)}function te(e){if(e==null||e==="")return null;var t=e.split("\n");return t.splice(0,1),t.map(function(e){return e.trim()})}function ne(e){var t=e.column,n=e.identifier,r=e.line,o=e.script,a=" at "+(n!=null?n:"");return o!=null&&r!=null&&t!=null&&(a+=" ("+o+":"+r+":"+t+")"),a}function re(r){var o,a,i,s,u,c,d,m,p,_,f=ee(r),g=(o=r.taalOpcodes)!==null&&o!==void 0?o:[],h=r.framesToPop;if(h!=null)for(h=Math.min(h,f.length);h-- >0;)g.unshift(l.PREVIOUS_FRAME);var y=(a=r.messageFormat)!==null&&a!==void 0?a:r.message,C=((i=r.messageParams)!==null&&i!==void 0?i:[]).map(function(e){return String(e)}),b=te(r.componentStack),v=b==null?null:b.map(J),S=r.metadata?r.metadata.format():new M().format();S.length===0&&(S=void 0);var R=f.map(function(e){return e.text}).join("\n"),L=(s=r.errorName)!==null&&s!==void 0?s:r.name,E=P(r),k=r.loggingSource,I=r.project,T=(u=r.lineNumber)!==null&&u!==void 0?u:r.line,D=(c=r.columnNumber)!==null&&c!==void 0?c:r.column,x=(d=r.fileName)!==null&&d!==void 0?d:r.sourceURL,$=f.length>0;$&&T==null&&(T=f[0].line),$&&D==null&&(D=f[0].column),$&&x==null&&(x=f[0].script);var N={blameModule:r.blameModule,cause:r.cause,column:D==null?null:String(D),clientTime:Math.floor(Date.now()/1e3),componentStackFrames:v,deferredSource:r.deferredSource!=null?re(r.deferredSource):null,extra:(m=r.extra)!==null&&m!==void 0?m:{},fbtrace_id:r.fbtrace_id,guardList:(p=r.guardList)!==null&&p!==void 0?p:[],hash:K(L,R,E,I,k),isNormalizedError:!0,line:T==null?null:String(T),loggingSource:k,message:W.toReadableMessage(r),messageFormat:y,messageParams:C,metadata:S,name:L,page_time:Math.floor((e||(e=n("performanceNow")))()),project:I,reactComponentStack:b,script:x,serverHash:r.serverHash,stack:R,stackFrames:f,type:E,xFBDebug:z.getAll(),tags:(_=r.tags)!==null&&_!==void 0?_:[],operation:r.operation};r.forcedKey!=null&&(N.forcedKey=r.forcedKey),g.length>0&&(N.taalOpcodes=g);var w=t.location;w&&(N.windowLocationURL=w.href);for(var A in N)N[A]==null&&delete N[A];return N}function oe(e){return e!=null&&typeof e=="object"&&e.isNormalizedError===!0?e:null}var ae={formatStackFrame:ne,normalizeError:re,ifNormalizedError:oe},ie="",le=[],se=[],ue=50,ce=!1,de={history:se,addListener:function(t,n){n===void 0&&(n=!1),le.push(t),n||se.forEach(function(e){var n;return t(e,(n=e.loggingSource)!==null&&n!==void 0?n:"DEPRECATED")})},unshiftListener:function(t){le.unshift(t)},removeListener:function(t){n("removeFromArray")(le,t)},reportError:function(t){var e=ae.normalizeError(t);de.reportNormalizedError(e)},reportNormalizedError:function(t){if(ce)return!1;var e=$.cloneGuardList();if(t.componentStackFrames&&e.unshift(ie),e.length>0&&(t.guardList=e),t.deferredSource==null){var n=$.findDeferredSource();n!=null&&(t.deferredSource=ae.normalizeError(n))}se.length>ue&&se.splice(ue/2,1),se.push(t),ce=!0;for(var r=0;rfe?t.substring(0,fe-3)+"...":t}function Re(e,t){var n,r,o,a,i={appId:Ce(t.appId),cavalry_lid:t.cavalry_lid,access_token:f.access_token,ancestor_hash:e.hash,bundle_variant:(n=t.bundle_variant)!==null&&n!==void 0?n:null,clientTime:ye(e.clientTime),column:e.column,componentStackFrames:ve(e.componentStackFrames),events:e.events,extra:be(e.extra,t.extra),forcedKey:e.forcedKey,frontend_env:(r=t.frontend_env)!==null&&r!==void 0?r:null,guardList:e.guardList,line:e.line,loggingFramework:t.loggingFramework,messageFormat:Se(e.messageFormat),messageParams:e.messageParams.map(Se),name:e.name,sample_weight:Ce(t.sample_weight),script:e.script,site_category:t.site_category,stackFrames:ve(e.stackFrames),type:e.type,page_time:Ce(e.page_time),project:e.project,push_phase:t.push_phase,report_source:t.report_source,report_source_ref:t.report_source_ref,rollout_hash:(o=t.rollout_hash)!==null&&o!==void 0?o:null,script_path:t.script_path,server_revision:Ce(t.server_revision),spin:Ce(t.spin),svn_rev:String(t.client_revision),additional_client_revisions:ES("Array","from",!1,(a=t.additional_client_revisions)!==null&&a!==void 0?a:[]).map(ye),taalOpcodes:e.taalOpcodes==null?null:e.taalOpcodes.map(function(e){return e}),web_session_id:t.web_session_id,version:"3",xFBDebug:e.xFBDebug,tags:e.tags},l=e.blameModule,s=e.deferredSource;return l!=null&&(i.blameModule=String(l)),s&&s.stackFrames&&(i.deferredSource={stackFrames:ve(s.stackFrames)}),e.metadata&&(i.metadata=e.metadata),e.loadingUrls&&(i.loadingUrls=e.loadingUrls),e.serverHash!=null&&(i.serverHash=e.serverHash),e.windowLocationURL!=null&&(i.windowLocationURL=e.windowLocationURL),e.loggingSource!=null&&(i.loggingSource=e.loggingSource),i}function Le(e,t,n){var r;if(he++,t.sample_weight===0)return!1;var o=R.shouldLog(e);if(o==null||(r=t.projectBlocklist)!==null&&r!==void 0&&ES(r,"includes",!0,e.project))return!1;var a=Re(e,t);return ES("Object","assign",!1,a,{ancestors:ge.slice(),clientWeight:ye(o),page_position:ye(he)}),ge.length<15&&ES(["fatal","error"],"includes",!0,e.type)&&ge.push(e.hash),n(a),!0}var Ee={createErrorPayload:Re,postError:Le},ke=null,Ie=!1;function Te(e){if(ke!=null){var t=ke,n=e.reason,r,o=E(n),a=null;if(n!==o&&typeof n=="object"&&n!==null){if(r=Object.keys(n).sort().slice(0,3),typeof n.message!="string"&&typeof n.messageFormat=="string"&&(n.message=n.messageFormat,o=E(n)),typeof n.message!="string"&&typeof n.errorMsg=="string")if(/^\s*\([^<]+)<\/title>(?:(?:.|\n)*

([^<]+)<\/h1>)?/im.exec(n.errorMsg);if(i){var l,u;o=s('HTML document with title="%s" and h1="%s"',(l=i[1])!==null&&l!==void 0?l:"",(u=i[2])!==null&&u!==void 0?u:"")}else o=s("HTML document sanitized")}else/^\s*<\?xml/i.test(n.errorMsg)?o=s("XML document sanitized"):(n.message=n.errorMsg,o=E(n));o!==n&&typeof n.name=="string"&&(a=n.name),typeof n.name!="string"&&typeof n.errorCode=="string"&&(a="UnhandledRejectionWith_errorCode_"+n.errorCode),typeof n.name!="string"&&typeof n.error=="number"&&(a="UnhandledRejectionWith_error_"+String(n.error))}o.loggingSource="ONUNHANDLEDREJECTION";try{a=o===n&&a!=null&&a!==""?a:typeof(n==null?void 0:n.name)=="string"&&n.name!==""?n.name:r!=null&&r.length>0?"UnhandledRejectionWith_"+r.join("_"):"UnhandledRejection_"+(n===null?"null":typeof n),o.name=a}catch(e){}try{var c=n==null?void 0:n.stack;(typeof c!="string"||c==="")&&(c=o.stack),(typeof c!="string"||c==="")&&(c=s("").stack),o.stack=o.name+": "+o.message+"\n"+c.split("\n").slice(1).join("\n")}catch(e){}try{var d=e.promise;o.stack=o.stack+(d!=null&&typeof d.settledStack=="string"?"\n at \n"+d.settledStack:"")+(d!=null&&typeof d.createdStack=="string"?"\n at \n"+d.createdStack:"")}catch(e){}try{var m=e.promise;"__isPromiseWithTracing"in m&&m.__isPromiseWithTracing===!0&&m.deferredError!=null&&(o.deferredSource=E(m.deferredError))}catch(e){}t.reportError(o),e.preventDefault()}}function De(e){ke=e,typeof t.addEventListener=="function"&&!Ie&&(Ie=!0,t.addEventListener("unhandledrejection",Te))}var xe={onunhandledrejection:Te,setup:De},$e={preSetup:function(t){(t==null||t.ignoreOnError!==!0)&&D.setup(de),(t==null||t.ignoreOnUnahndledRejection!==!0)&&xe.setup(de)},setup:function(t,n,r){de.addListener(function(e){var o,a=babelHelpers.extends({},t,(o=r==null?void 0:r())!==null&&o!==void 0?o:{});Ee.postError(e,a,n)})}},Pe=20,Ne=(function(){function e(e,t){var n=this;t===void 0&&(t=[]),this.FATAL=function(e){for(var t=e.join("%s"),r=arguments.length,o=new Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a2?m-2:0),_=2;_0&&new e("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching"),W.aggregateError(c,{messageFormat:t,messageParams:W.toStringParams(p),errorName:c.name,forcedKey:i,project:u,type:n,loggingSource:"FBLOGGER"}),d=ae.normalizeError(c);else{if(c=new Error(t),c.stack===void 0)try{throw c}catch(e){}c.messageFormat=t,c.messageParams=W.toStringParams(p),c.blameModule=o,c.forcedKey=i,c.project=u,c.type=n,c.loggingSource="FBLOGGER",c.taalOpcodes=[l.PREVIOUS_FRAME,l.PREVIOUS_FRAME].concat(this.taalOpcodes),d=ae.normalizeError(c),d.name="FBLogger"}if(!s.isEmpty())if(d.metadata==null)d.metadata=s.format();else{var f=d.metadata.concat(s.format()),g=new Set(f);d.metadata=ES("Array","from",!1,g.values())}if(a.length>0){if(d.events!=null){var h;(h=d.events).push.apply(h,a)}else d.events=[].concat(a);if(d.events!=null&&d.events.length>Pe){var y=d.events.length-Pe;d.events.splice(0,y+1,"")}}return d.tags=ES("Array","from",!1,this.loggerTags),de.reportNormalizedError(d),c},t.fatal=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r0?"["+ES("Array","from",!1,this.loggerTags).join("|")+"] ":"";return e},e})(),Me=function(t,n){var e=new Ne(t);return n!=null?e.event(t+"."+n):e};Me.addGlobalMetadata=function(e,t,n){M.addGlobalMetadata(e,t,n)};var we="";function Fe(e,t){if(e!=null&&t!=null)try{Object.defineProperty(e,"name",{value:we+" "+t+Ae})}catch(e){}return e}var Oe={blameToPreviousFile:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_FILE),t},blameToPreviousFrame:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_FRAME),t},blameToPreviousDirectory:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_DIR),t}},Be={err:s,ErrorBrowserConsole:c,ErrorConfig:m,ErrorDynamicData:f,ErrorFilter:R,ErrorGlobalEventHandler:D,ErrorGuard:_e,ErrorGuardState:$,ErrorMetadata:M,ErrorNormalizeUtils:ae,ErrorPoster:Ee,ErrorPubSub:de,ErrorSerializer:W,ErrorSetup:$e,ErrorXFBDebug:z,FBLogger:Me,getErrorSafe:E,getSimpleHash:K,TAAL:Oe,TAALOpcode:l,renameFunction:Fe};a.exports=Be},null); __d("FBLogger",["fb-error"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("fb-error").FBLogger}),98); __d("SimpleHook",[],function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.__callbacks=[],this.call=this.$2}var t=e.prototype;return t.hasCallback=function(t){var e=this.__callbacks;return e.length>0&&(t==null||e.some(function(e){return e===t||e.$1===t}))},t.add=function(t,n){var e=this,r;if((n==null?void 0:n.once)===!0){var o=function(){e.remove(r),t.apply(null,arguments)};o.$1=t,r=o}else r=t;return this.__callbacks.push(r),r},t.removeLast=function(){return this.__callbacks.pop()},t.remove=function(t){return this.removeIf(function(e){return e===t})},t.removeIf=function(t){var e=this.__callbacks;return this.__callbacks=e.filter(function(e){return!t(e)}),e.length>this.__callbacks.length},t.clear=function(){this.__callbacks=[]},t.$2=function(){for(var e=this.__callbacks,t=0,n=e.length;t1?r-1:0),a=1;a1?t-1:0),r=1;r2?o-2:0),i=2;i0&&(o+=" Params: "+n.map(function(e){return"%s"}).join(", "));var a=(e||(e=r("Env"))).show_invariant_decoder===!0?"visit "+c(t,n)+" to see the full message.":"";return{message:o,decoderLink:a}}function c(e,t){var n="https://www.internalfb.com/intern/invariant/"+e+"/";return t.length>0&&(n+="?"+t.map(function(e,t){return"args["+t+"]="+encodeURIComponent(String(e))}).join("&")),n}l.default=s},98); __d("gkx",["invariant","BanzaiLazyQueue","ExecutionEnvironment","emptyFunction"],function(t,n,r,o,a,i,l,s){"use strict";var e,u={},c={};function d(t){var n=u[t];return n!=null||s(0,11797,t),c[t]||(c[t]=!0,n.hash!=null&&((e||(e=r("ExecutionEnvironment"))).canUseDOM||(e||(e=r("ExecutionEnvironment"))).isInWorker)&&o("BanzaiLazyQueue").queuePost("gk2_exposure",{identifier:t,hash:n.hash})),n.result}d.add=function(e,t){for(var n in e)t&&t.entry++,n in u?t&&t.dup_entry++:u[n]=e[n]},d.addLoggedInternal=function(e){d.add(e);for(var t in e)c[t]=!0};var m=r("emptyFunction");d.getGKs=function(){return null},d.getLogged=function(){return Object.keys(c).map(function(e){return{identifier:e,hash:u[e].hash}})},d.setPass=m,d.setFail=m,d.clear=m;var p=d;l.default=p},98); __d("unexpectedUseInComet",["FBLogger","gkx"],(function(t,n,r,o,a,i,l){"use strict";function e(e){if(r("gkx")("20935")){var t=e+" called unexpectedly. This is not supported in Comet!",n=r("FBLogger")("comet_infra").blameToPreviousFrame().blameToPreviousFrame();n.mustfix(t)}}l.default=e}),98); __d("PolarisEmbedSDKContext",[],(function(t,n,r,o,a,i){"use strict";window.instgrm||(window.instgrm={Embeds:{}});function e(){return window.instgrm.Embeds}i.getGlobalContext=e}),66); __d("SecurePostMessage",["invariant"],(function(t,n,r,o,a,i,l){"use strict";var e="*",s={sendMessageToSpecificOrigin:function(n,r,o,a){o!==e||l(0,21157),n.postMessage(r,o,a)},sendMessageForCurrentOrigin:function(t,n){t.postMessage(n)},sendMessageAllowAnyOrigin_UNSAFE:function(n,r,o){n.postMessage(r,e,o)}};a.exports=s}),null); __d("BaseDeserializePHPQueryData",[],(function(t,n,r,o,a,i){"use strict";var e=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function l(e){return e==="hasOwnProperty"||e==="__proto__"?"\uD83D\uDF56":e}function s(t,n){if(t==null||t==="")return{};for(var r={},o=t.replace(/%5B/gi,"[").replace(/%5D/gi,"]"),a=o.split("&"),i=Object.prototype.hasOwnProperty,s=0,u=a.length;s0||this.getFragment())},n.toString=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!1,!1,t,n)},n.toStringRawQuery=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!0,!1,t,n)},n.toStringPreserveQuery=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!1,!0,t,n)},n.toStringStrictQueryEncoding=function(t){return t===void 0&&(t=function(){return!1}),this.$15(!0,!1,t,c)},n.$15=function(t,n,r,o){t===void 0&&(t=!1),n===void 0&&(n=!1),r===void 0&&(r=function(){return!1}),o===void 0&&(o=null);for(var e=this,a=0;a0&&e[e.length-1]!=="/"&&this.setPath(e+"/"),this},l.valueOf=function(){return this.toString()},l.getRegisteredDomain=function(){if(!this.getDomain())return"";if(!r("isFacebookURI")(this))return null;var e=this.getDomain().split("."),t=e.indexOf("facebook");return t===-1&&(t=e.indexOf("workplace")),e.slice(t).join(".")},l.getUnqualifiedURI=function(){return r("unqualifyURI")(new i(this))},l.getQualifiedURI=function(){return new i(this).qualify()},l.isSameOrigin=function(t){var e=t;return e==null?e=c():e instanceof i||(e=new i(e.toString())),a.prototype.isSameOrigin.call(this,e)},i.goURIOnNewWindow=function(t){i.goURIOnWindow(t,window.open("","_blank"),!0)},i.goURIOnWindow=function(t,n,r,o){r===void 0&&(r=!1),o===void 0&&(o=!1),i.goURIOnWindowWithReference(t,n,r,o)},i.goURIOnWindowWithReference=function(n,a,l,u){l===void 0&&(l=!1),u===void 0&&(u=!1);var e=new i(n),c=l,d=!a||a===window;if((s||(s=r("Env"))).isCQuick&&r("isFacebookURI")(e)&&d){var m={cquick:(s||(s=r("Env"))).iframeKey,ctarget:s.iframeTarget,cquick_token:s.iframeToken};e.addQueryData(m),c=!1}var p=e.toString(),_=a||window,f=window.location.href===p&&_===window;return!c&&t.PageTransitions?t.PageTransitions.go(p,u):f?o("ReloadPage").now():u?_.location.replace(p):_.location.href=p,_},l.go=function(t,r){if(n("cr:1078")){n("cr:1078")(this,t,r);return}n("cr:1080")&&n("cr:1080")("uri.go"),i.go(this,t,r)},i.tryParseURI=function(n){var t=(u||(u=r("URIBase"))).tryParse(n,e||(e=r("PHPQuerySerializer")));return t?new i(t):null},i.isValidURI=function(n){return(u||(u=r("URIBase"))).isValid(n,e||(e=r("PHPQuerySerializer")))},i.getRequestURI=function(t,n){if(t===void 0&&(t=!0),n===void 0&&(n=!1),t){var e=d();if(e)return e.getCurrentURI(!!n).getQualifiedURI()}return new i(window.location.href)},i.getMostRecentURI=function(){var e=d();return e?e.getMostRecentURI().getQualifiedURI():new i(window.location.href)},i.getNextURI=function(){var e=d();return e?e.getNextURI().getQualifiedURI():new i(window.location.href)},i.encodeComponent=function(t){return encodeURIComponent(t).replace(/%5D/g,"]").replace(/%5B/g,"[")},i.decodeComponent=function(t){return decodeURIComponent(t.replace(/\+/g," "))},i.normalize=function(t){return t!=null&&typeof t=="string"?this.normalizeString(t):new i(t).toString()},i})(u||(u=r("URIBase")));m.go=function(e,t,r){n("cr:1080")&&n("cr:1080")("URI.go"),m.goURIOnWindow(e,window,t,r)},m.normalizeString=r("memoizeStringOnly")(function(e){return new m(e).toString()}),m.expression=/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,m.arrayQueryExpression=/^(\w+)((?:\[\w*\])+)=?(.*)/,l.default=m},98); __d("SecureMessageListener",["SecurePostMessage","URI","getErrorSafe"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(function(){function t(e,t){var n=this;this.$3=null,this.$4=!1,this.$1=e,this.$6=t,this.$5=function(e){n.run(e)}}var n=t.prototype;return n.setEventHandler=function(t){return this.$2=t,this},n.setSupportedOrigins=function(t){return this.$3=t,this},n.skipOriginCheck_UNSAFE=function(){return this.$4=!0,this},n.beginListening=function(){return this.$1.addEventListener("message",this.$5),this},n.stopListening=function(){try{this.$1.removeEventListener("message",this.$5)}catch(t){var e=r("getErrorSafe")(t);if(!(e instanceof TypeError))throw e}return this},n.run=function(t){if(this.$3==null||this.$3.length===0){if(!this.$4&&t.origin!==this.$1.location.origin)return}else if(!this.isSupportedOrigin(this.$3,t.origin))return;if(this.$2){var e=function(n){o("SecurePostMessage").sendMessageToSpecificOrigin(t.source,n,t.origin)};this.$2(t,e)}},n.isSupportedOrigin=function(n,o){if(!new RegExp("^https://").test(o))return!1;var t=new(e||(e=r("URI")))(o);return n.some(function(e){return t.isSubdomainOfDomain(e)})},t})();l.default=s}),98); __d("CometEventListener",["FBLogger"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o){if(e.addEventListener)return e.addEventListener(t,n,o),{remove:function(){e.removeEventListener(t,n,typeof o!="boolean"?o.capture:o)}};throw r("FBLogger")("comet_infra").mustfixThrow('Attempted to listen to eventType "%s" on a target that does not have addEventListener.',t)}var s={addListenerWithOptions:function(n,r,o,a){return e(n,r,o,a)},bubbleWithPassiveFlag:function(n,r,o,a){return e(n,r,o,{capture:!1,passive:a})},capture:function(n,r,o){return e(n,r,o,!0)},captureWithPassiveFlag:function(n,r,o,a){return e(n,r,o,{capture:!0,passive:a})},listen:function(n,r,o){return e(n,r,o,!1)},registerDefault:function(t,n){throw r("FBLogger")("comet_infra").mustfixThrow("EventListener.registerDefault is not implemented.")},suppress:function(t){t.preventDefault(),t.stopPropagation()}};l.default=s}),98); __d("polarisOnDOMReady",["CometEventListener","ExecutionEnvironment"],(function(t,n,r,o,a,i,l){"use strict";var e,s=null;function u(){if(s){for(var e;e=s.shift();)e();s=null}}function c(e){s?s.push(e):e()}if((e||(e=r("ExecutionEnvironment"))).canUseDOM){var d="readyState"in document?document.readyState==="complete"||document.readyState!=="loading":!!document.body;d||(s=[],r("CometEventListener").listen(document,"DOMContentLoaded",u),r("CometEventListener").listen(window,"load",u))}l.default=c}),98); __d("PolarisBarcelonaEmbedSDKImpl",["PolarisEmbedSDKContext","SecureMessageListener","polarisOnDOMReady"],(function(t,n,r,o,a,i,l){"use strict";var e=["instagram\\.com","instagr\\.am","www\\.threads\\.com","www\\.threads\\.net"],s=3;function u(e){return"\nbackground: "+e+";\nmax-width:{{max_width}}px;\nmin-width:270px;\npadding:0;\nwidth:99.375%;\nwidth:-webkit-calc(100% - 2px);\nwidth:calc(100% - 2px);\nborder:none;\nborder-radius:12px;\nheight:0;\n"}var c=/^(.*?)\/?(\?.*|#|$)/,d=!1,m={},p=0,_=!1;function f(e,t){e.className+=" "+t}function g(e,t){e.className=e.className.replace(t,"")}function h(e){for(var t=document.getElementsByTagName("iframe"),n,r=t.length-1;r>=0;r--){var o=t[r];if(o.contentWindow===e.source){n=o;break}}return n}function y(e){var t=h(e);if(t!=null){var n=t.id,r=document.getElementById(t.getAttribute("data-text-app-payload-id"));r!=null&&r.parentNode&&r.parentNode.removeChild(r),b(n),t.style.height=String(e.data)+"px"}}function C(){for(var e=document.getElementsByClassName("text-post-media"),t=function(){var t=Object.keys(m).length;if(t>=s)return 1;var r=e[n];if(r.tagName==="BLOCKQUOTE"){var o=r.getAttribute("data-text-post-permalink"),a=r.getAttribute("data-theme");if(o!=null){var i=c.exec(o);if(i){var l=i[1]+"/embed/"+(i[2]||"");if(a==="dark"||a==="auto"){var d=l.includes("?")?"&":"?";l+=d+"theme="+encodeURIComponent(a)}var _=p++,h="text-post-embed-"+_,y=a==="dark"||a==="auto"?"transparent":"#FFF",C=document.createElement("iframe");C.className=r.className,C.id=h,C.src=l,C.setAttribute("allowTransparency","true"),C.setAttribute("allowfullscreen","true"),C.setAttribute("frameBorder","0"),C.setAttribute("height","0"),C.setAttribute("data-text-app-payload-id",r.id),C.setAttribute("scrolling","no"),C.setAttribute("style",r.style.cssText+";"+u(y)),r.parentNode.insertBefore(C,r),f(r,"text-post-media-registered"),g(r,"text-post-media"),m[h]=!0,window.setTimeout(function(){b(h)},1e4)}}}},n=0;n